I performed the following query on a MyISAM table three times in a row:
mysql> SELECT COUNT(*) FROM tickets WHERE created_time BETWEEN UNIX_TIMESTAMP() - 86400 * 20 AND UNIX_TIMESTAMP() - 86400 * 19;
The tickets table only receives inserts where the created_time column is set to UNIX_TIMESTAMP(), rows are never deleted, and the created_time of a row is never updated. Despite this, the results I got were 154324, 154326, and 154325 (in that order). This leads to me to believe the COUNT() function doesn't return an exact number, but my brief search through MySQL's documentation and the rest of the web didn't yield any mention of this. Does anyone know what COUNT() does, exactly?