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
3820
January 04, 2007 07:38AM
2297
January 04, 2007 10:21AM
2253
January 04, 2007 11:51AM
2354
January 04, 2007 03:34PM
2380
January 05, 2007 02:40AM
2287
January 05, 2007 05:07AM
2280
January 05, 2007 06:55AM
2312
January 05, 2007 08:31AM
2303
January 05, 2007 08:33AM
2525
January 05, 2007 08:45AM
Re: Make this faster?
2268
January 05, 2007 08:31AM
2348
January 05, 2007 08:45AM
2387
January 05, 2007 03:11PM
2322
January 08, 2007 02:44AM
2225
January 08, 2007 04:28AM
2311
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.