I have a few large databases, greater than 100 million records. They consist of the following:
- A unique key.
- An integer value, not unique, but used for sorting the query.
- A VARCHAR(200).
I have them in a mysql isam table now. My thought was, hey, I'll just set up a covering index on the data, and it should pull out reasonably fast. Queries are of the form...
select valstr,account
from datatable
where account in (12349809, 987987223,...[etc])
order by orderPriority;
This seemed OK in some tests, but on our newer installation, its terribly slow. It seems faster to have no index at all, which seems odd.
In any case, I'm thinking, maybe a different database? We use a datawarehousing db for other parts of the system, but its not well suited for anything in text. Any free, or fairly cheap, db's are an option, as long as they have reasonably useful API access. SQL optional.
Thanks in advance.
-Kevin