MySQL Forums
Forum List  »  Optimizer & Parser

is index have expired time?
Posted by: Alpha Centauri
Date: May 05, 2008 11:19AM

when i do this
explain select * from transaksi
where date_succ >= '2008-04-10' order by date_succ;
the result was
id, select_type, table, type, possible_keys, key, key_len, ref, rows, Extra
1, 'SIMPLE', 'transaksi', 'range', 'date_s', 'date_s', '8', '', 148683, 'Using where'
but when i do
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'

please can someone explain and give some solutions ..thanks

Options: ReplyQuote


Subject
Views
Written By
Posted
is index have expired time?
3721
May 05, 2008 11:19AM
2288
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.