You need to take cache into consideration when doing your testing. Both MySQL cache and the OS cache. That means rebooting between each query that you run to clear the database and OS cache.
-or-
Run each query 3 or 4 times (or 5, or even 10) consecutively and either take the average or the fastest. Doing it this way will make sure that the cache is used equally for all queries.


You should also do and EXPLAIN to see how MySQL is executing each query.


On Dec 4, 2003, at 5:35 AM, Uros Kotnik wrote:


Same result but the speed difference is quite a different, why is that ?

This is only on test DB, I didn't try it on real life DB where I have
~14 mil. rows in tracks table.

--
Brent Baisley
Systems Architect
Landover Associates, Inc.
Search & Advisory Services for Advanced Technology Environments
p: 212.759.6400/800.759.0577


-- MySQL General Mailing List For list archives: http://lists.mysql.com/mysql To unsubscribe: http://lists.mysql.com/[EMAIL PROTECTED]



Reply via email to