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
3729
January 04, 2007 07:38AM
2264
January 04, 2007 10:21AM
2223
January 04, 2007 11:51AM
2329
January 04, 2007 03:34PM
2307
January 05, 2007 02:40AM
2227
January 05, 2007 05:07AM
2224
January 05, 2007 06:55AM
Re: Make this faster?
2256
January 05, 2007 08:31AM
2275
January 05, 2007 08:33AM
2440
January 05, 2007 08:45AM
2238
January 05, 2007 08:31AM
2282
January 05, 2007 08:45AM
2361
January 05, 2007 03:11PM
2260
January 08, 2007 02:44AM
2199
January 08, 2007 04:28AM
2242
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.