outraegis
Programmer
- Jun 5, 2007
- 3
I've got a big databases (1.4M records) with about 40 fields. It's doing very enhanced log analysis. One of the fields is the title of an article, defined as a VARCHAR(255). The field is indexed. The engine is InnoDB.
When I do the following query, the process takes forever:
SELECT articleTitle, count(articleTitle) from logdata group by articleTitle order by count(articleTitle) desc
So, what can I do to make this (and all the searches like it) fast enough to be useful? This database is 1.4M records now, but it will eventually grow to 20M records+ shortly.
Thanks in advance!
Raegis
When I do the following query, the process takes forever:
SELECT articleTitle, count(articleTitle) from logdata group by articleTitle order by count(articleTitle) desc
So, what can I do to make this (and all the searches like it) fast enough to be useful? This database is 1.4M records now, but it will eventually grow to 20M records+ shortly.
Thanks in advance!
Raegis