I tried it with articleTitle (the full title) rather than articleID because, for historical reasons, there's not a universal ID in the database (I could construct one by a concat, but I'm expecting that'd be slow as well).
Also, articleTitle is a key, but not the primary key. The incrementing...
> hmmm, i wonder if two articles are allowed to have the exact same title...
It is possible, but very unlikely. However, there are certainly many instances of the article title in the table since we're looking at number of reads.
Are you implying something here (if so, I'm not gettin' it)...
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...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.