469,088 Members | 1,273 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 469,088 developers. It's quick & easy.

Slow results with simple, well-indexed query

> Executing just the search on the word table, with no joins to the
table with the dates, is still slow:
Then it is not worth while to focus on anything else until you fix that.
Are the contents of this field always in lower case?

Is so, then change the column to a binary type. The explain says:
rows: 318244
Extra: Using where; Using filesort


That means that is sorting all 318,244 (est) records first, then going
down to the 3000th and giving you five records. Just a guess. See if
that helps then we can move on to the join.

--steve-

--
MySQL General Mailing List
For list archives: http://lists.mysql.com/mysql
To unsubscribe: http://lists.mysql.com/my***************@bp.com
__________________________________________________ ______________________
This email has been scanned for all viruses by the MessageLabs Email
Security System. For more information on a proactive email security
service working around the clock, around the globe, visit
http://www.messagelabs.com
__________________________________________________ ______________________

--
MySQL General Mailing List
For list archives: http://lists.mysql.com/mysql
To unsubscribe: http://lists.mysql.com/my***********...ie.nctu.edu.tw

Jul 19 '05 #1
0 1052

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

16 posts views Thread by Jason | last post: by
12 posts views Thread by Neil | last post: by
12 posts views Thread by Albert Grennock | last post: by
8 posts views Thread by Neil | last post: by
2 posts views Thread by Rocky A | last post: by
2 posts views Thread by killy971 | last post: by
1 post views Thread by CARIGAR | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.