Re: select count(*) / select count(column) in innodb

2003-11-06 Thread Paul DuBois
At 15:41 -0800 11/6/03, Hsiu-Hui Tseng wrote: Hi, select count(*) is very slow in innodb (because it is a table scan). Is there any difference if I change it to select count(column). I did some test and some times select count(*) is really slow and some time select count(column) is slow. Could any

RE: select count(*) / select count(column) in innodb

2003-11-06 Thread Dathan Vance Pattishall
t: select count(*) / select count(column) in innodb --> -->Hi, --> -->select count(*) is very slow in innodb (because it is a table scan). Is -->there any difference if I change it to select count(column). --> -->I did some test and some times select count(*) is really slow and

select count(*) / select count(column) in innodb

2003-11-06 Thread Hsiu-Hui Tseng
Hi, select count(*) is very slow in innodb (because it is a table scan). Is there any difference if I change it to select count(column). I did some test and some times select count(*) is really slow and some time select count(column) is slow. Could anyone help me? If I need do a select(*) in inn