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
3938
January 04, 2007 07:38AM
2368
January 04, 2007 10:21AM
2319
January 04, 2007 11:51AM
2440
January 04, 2007 03:34PM
2442
January 05, 2007 02:40AM
2354
January 05, 2007 05:07AM
2342
January 05, 2007 06:55AM
Re: Make this faster?
2370
January 05, 2007 08:31AM
2362
January 05, 2007 08:33AM
2600
January 05, 2007 08:45AM
2348
January 05, 2007 08:31AM
2433
January 05, 2007 08:45AM
2457
January 05, 2007 03:11PM
2384
January 08, 2007 02:44AM
2286
January 08, 2007 04:28AM
2370
January 08, 2007 04:41AM


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.