How Fast is COUNT()

2003-09-19 Thread Dan Anderson
I am creating a script which will grab a random row from a mySQL table. Right now the way it is set up each time it calls COUNT(). I was thinking of creating a script and running it as a cron job to update count once every 10 minutes and store the number as an indexed array in the table. It

Re: How Fast is COUNT()

2003-09-19 Thread Paul DuBois
At 2:37 PM -0400 9/19/03, Dan Anderson wrote: I am creating a script which will grab a random row from a mySQL table. Right now the way it is set up each time it calls COUNT(). I was thinking of creating a script and running it as a cron job to update count once every 10 minutes and store the