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
3991
January 04, 2007 07:38AM
2396
January 04, 2007 10:21AM
2348
January 04, 2007 11:51AM
2468
January 04, 2007 03:34PM
2464
January 05, 2007 02:40AM
2375
January 05, 2007 05:07AM
2372
January 05, 2007 06:55AM
2392
January 05, 2007 08:31AM
2390
January 05, 2007 08:33AM
2626
January 05, 2007 08:45AM
Re: Make this faster?
2370
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
2397
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.