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
4057
January 04, 2007 07:38AM
2428
January 04, 2007 10:21AM
2393
January 04, 2007 11:51AM
2505
January 04, 2007 03:34PM
2499
January 05, 2007 02:40AM
2415
January 05, 2007 05:07AM
2436
January 05, 2007 06:55AM
2432
January 05, 2007 08:31AM
2419
January 05, 2007 08:33AM
2668
January 05, 2007 08:45AM
Re: Make this faster?
2412
January 05, 2007 08:31AM
2496
January 05, 2007 08:45AM
2520
January 05, 2007 03:11PM
2436
January 08, 2007 02:44AM
2355
January 08, 2007 04:28AM
2439
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.