MySQL Forums
Forum List  »  Optimizer & Parser

Re: I need help in optimzing a order by clause in a join query
Posted by: George Maharis
Date: October 12, 2013 02:07PM

Hello Mr. James.

innodb_buffer_pool_size ~ 1GB
messages ~ 50 MB
subscriptions ~300 KB

Your query works best in situation 2: Few message entries and/or few, or zero, subscription entries that are relevant

The execution time is: situation1: .15 secs, situation2: .000x secs

Which is better than either/or queries above which takes 1+ seconds and .000x seconds and vice versa.

I'm hoping there is a solution to have .000x seconds in both scenarios.

Options: ReplyQuote


Subject
Views
Written By
Posted
Re: I need help in optimzing a order by clause in a join query
1276
October 12, 2013 02:07PM


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.