MySQL Forums
Forum List  »  Optimizer & Parser

Re: is index have expired time?
Posted by: Alpha Centauri
Date: May 09, 2008 12:24PM

No answer here :D maybe my problems is not said clearly,
explain select * from transaksi
where date_succ >= '2008-04-09' order by date_succ;
the result was
id, select_type, table, type, possible_keys, key, key_len, ref, rows, Extra
1, 'SIMPLE', 'transaksi', 'ALL', 'date_s', '', '', '', 747996, 'Using where; Using filesort'
the 2nd query doesn't use key, although it has possible_keys,
it was using the possible_keys on the first query. the differences is just the date range

Options: ReplyQuote


Subject
Views
Written By
Posted
3721
May 05, 2008 11:19AM
Re: is index have expired time?
2310
May 09, 2008 12:24PM
2286
May 09, 2008 05:01PM


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.