MySQL Forums
Forum List  »  General

Re: Can anyone help speed this up??
Posted by: Felix Geerinckx
Date: May 10, 2005 08:11AM

Bruce D wrote:

> Here's the breakdown:
> MySQL 4.0.12
> Table: Assignment (indexes are created on proper fields) 419,234 records
> Table: Finders (indexes are created on proper fields) 5,345,657 records

> My user wants to be able to do a wild card search on lastname in the finders
> table. So, I wrote the following query.

Could you post the result of EXPLAIN SELECT ... \G

as well as the output of

SHOW INDEX Finders \G
SHOW INDEX Assignment\G


Did you run

ANALYZE TABLE

on your tables?

Are you using MyISAM or InnoDB?

--
felix
Please use BBCode to format your messages in this forum.

Options: ReplyQuote


Subject
Written By
Posted
Re: Can anyone help speed this up??
May 10, 2005 08:11AM


Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.