MySQL Forums
Forum List  »  InnoDB

Re: select count(*) over 20 seconds for 200k rows?? slow!
Posted by: KimSeong Loh
Date: May 23, 2008 01:21AM

It should be able to count the clustered primary key index too.

It needs to count 1 by 1, from 1 row to last row, so the more rows, the longer it takes.

Options: ReplyQuote


Subject
Views
Written By
Posted
Re: select count(*) over 20 seconds for 200k rows?? slow!
1801
May 23, 2008 01:21AM


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.