On Thu, Aug 21, 2003 at 03:36:54PM -0700, Steven Roussey wrote: > > 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.
No, the contents can be of mixed case. Where does that leave things? In a working environment I'd never be querying on this table alone, it would always be joined in to other tables that would limit things in some way, but these don't seem to be affecting things. The suggestions other people have made to try to get it to do the smaller queries first don't seem to be having much effect, unfortunately. Jesse Sheidlower -- MySQL General Mailing List For list archives: http://lists.mysql.com/mysql To unsubscribe: http://lists.mysql.com/[EMAIL PROTECTED]