Re: Long select time in big tables
Posted by:
Karolis
Date: October 24, 2005 01:19AM
I also thought you might want to see EXPLAIN of this query:
mysql> explain SELECT ImageID, Width1, Height1, FileName
-> FROM IMAGES
-> WHERE ImageID IN(102116,144855,188030,243406,247262,297552,309613,310700,426370,446944);
+----+-------------+--------+-------+---------------+---------+---------+------+------+-------------+
| id | select_type | table | type | possible_keys | key | key_len | ref | rows | Extra |
+----+-------------+--------+-------+---------------+---------+---------+------+------+-------------+
| 1 | SIMPLE | IMAGES | range | PRIMARY | PRIMARY | 4 | NULL | 10 | Using where |
+----+-------------+--------+-------+---------------+---------+---------+------+------+-------------+
Karolis
Subject
Views
Written By
Posted
2340
October 24, 2005 01:14AM
Re: Long select time in big tables
1407
October 24, 2005 01:19AM
1321
October 24, 2005 05:36AM
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.