MySQL Forums
Forum List  »  Optimizer & Parser

Re: Make this faster?
Posted by: Toa Sty
Date: January 05, 2007 08:31AM

Agree with everything Felix and Bjorn have said, just want to ask: How many rows are there where deletes=1? If it's not many then an index on deletes will help MySQL reduce the number of rows it needs to look at (and join on) greatly.

If not and you're not getting the speed you want from Bjorn and Felix's suggestions, another thing to look at is that query profiler tool I mentioned. It will give a good idea whether your query is using various MySQL buffers efficiently or not, which will allow people to advise on any config changes that might help you.

Toasty

-----------------------------------------
email: 'toasty'*3 at gmail

Options: ReplyQuote


Subject
Views
Written By
Posted
3991
January 04, 2007 07:38AM
2396
January 04, 2007 10:21AM
2349
January 04, 2007 11:51AM
2469
January 04, 2007 03:34PM
2464
January 05, 2007 02:40AM
2377
January 05, 2007 05:07AM
2372
January 05, 2007 06:55AM
Re: Make this faster?
2392
January 05, 2007 08:31AM
2390
January 05, 2007 08:33AM
2626
January 05, 2007 08:45AM
2371
January 05, 2007 08:31AM
2452
January 05, 2007 08:45AM
2484
January 05, 2007 03:11PM
2407
January 08, 2007 02:44AM
2323
January 08, 2007 04:28AM
2398
January 08, 2007 04:41AM


Sorry, you can't reply to this topic. It has been closed.
This forum is currently read only. You can not log in or make any changes. This is a temporary situation.

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.