MySQL Forums
Forum List  »  Performance

Re: optimizing count statement
Posted by: Karolis
Date: October 12, 2005 08:22AM

I have noticed that the query you suggested works slower than mine in cases there are little results (less than 3000), but it is still a very good time for both big and small result sets. The question is whether it is going to take longer when the database grows? Say if I have 20 million rows instead of 1 million?

thanks,
Karolis

Options: ReplyQuote


Subject
Views
Written By
Posted
3928
October 11, 2005 11:30AM
1833
October 12, 2005 04:56AM
1758
October 12, 2005 06:31AM
1438
October 12, 2005 07:11AM
1639
October 12, 2005 07:40AM
1556
October 12, 2005 07:53AM
1726
October 12, 2005 07:50AM
1707
October 12, 2005 08:01AM
1698
October 12, 2005 08:05AM
1432
October 12, 2005 08:23AM
Re: optimizing count statement
1719
October 12, 2005 08:22AM
1670
October 12, 2005 08:38AM
1794
October 12, 2005 08:46AM


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.