MySQL Forums
Forum List  »  Performance

Re: Subset Query Speed Help from .46 second to 7 minutes!
Posted by: Felix Geerinckx
Date: August 11, 2005 02:36PM

Brian Pilati wrote:

> Hope that helps ... looks Greek to me. :)

I must admit that I don't have enough time to go through it in detail at the moment.
But at first sight, your query 3 might benefit from the following additional indexes:

ALTER TABLE general_ledger ADD INDEX index3 (general_ledger_id);
ALTER TABLE invoices ADD INDEX index2 (date_posted);

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

Options: ReplyQuote




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.