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
4055
January 04, 2007 07:38AM
2423
January 04, 2007 10:21AM
2383
January 04, 2007 11:51AM
2493
January 04, 2007 03:34PM
2496
January 05, 2007 02:40AM
2413
January 05, 2007 05:07AM
2430
January 05, 2007 06:55AM
2429
January 05, 2007 08:31AM
2414
January 05, 2007 08:33AM
2664
January 05, 2007 08:45AM
Re: Make this faster?
2406
January 05, 2007 08:31AM
2491
January 05, 2007 08:45AM
2516
January 05, 2007 03:11PM
2434
January 08, 2007 02:44AM
2352
January 08, 2007 04:28AM
2428
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.