MySQL Forums
Forum List  »  Performance

Re: mysql getting slow after 200,000 records... :(
Posted by: KimSeong Loh
Date: June 05, 2006 10:42AM

You could use a range if you use timestamp, exampe ts >= '2003-01-01' and ts < '2004-01-01', and index can still be used.

However, doing month=3 will not be efficient with timestamp, having month(ts)=3 works, but no index can be used.

Options: ReplyQuote


Subject
Views
Written By
Posted
Re: mysql getting slow after 200,000 records... :(
1185
June 05, 2006 10:42AM


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.