MySQL Forums
Forum List  »  Optimizer & Parser

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

Hi

Ok, I tried to create one index for the month and year columns, but its still slow, and explain says the same (using filesort).

I'll see if I can make the columns shorter as Felix suggested, but it's a "dynamic" database, where tables are created when needed automatically, and the largest column value is not necessary known at the creation time.

Options: ReplyQuote


Subject
Views
Written By
Posted
3752
January 04, 2007 07:38AM
2279
January 04, 2007 10:21AM
2232
January 04, 2007 11:51AM
2338
January 04, 2007 03:34PM
2316
January 05, 2007 02:40AM
2239
January 05, 2007 05:07AM
2240
January 05, 2007 06:55AM
2266
January 05, 2007 08:31AM
2284
January 05, 2007 08:33AM
2452
January 05, 2007 08:45AM
Re: Make this faster?
2252
January 05, 2007 08:31AM
2302
January 05, 2007 08:45AM
2373
January 05, 2007 03:11PM
2275
January 08, 2007 02:44AM
2212
January 08, 2007 04:28AM
2253
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.