![]() |
|< 1 2 >| | ![]() |
13 Einträge, 2 Seiten |
1
2
3
4
5
6
7
mysql> explain select distinct channel from irclog;
+----+-------------+--------+-------+---------------+-------------+---------+------+------+--------------------------+
| id | select_type | table | type | possible_keys | key | key_len | ref | rows | Extra |
+----+-------------+--------+-------+---------------+-------------+---------+------+------+--------------------------+
| 1 | SIMPLE | irclog | range | NULL | channel_idx | 93 | NULL | 5 | Using index for group-by |
+----+-------------+--------+-------+---------------+-------------+---------+------+------+--------------------------+
1 row in set (0.00 sec)
moritz+2007-10-26 11:24:27--Das "Using index for group-by" deutet eher auf gelöstes Problem hin ;)
pq+2007-10-26 11:18:36--rows: 920939 heisst nun mal, dass 920939 zeilen durchsucht werden.
QuoteThe rows column indicates the number of rows MySQL believes it must examine to execute the query.
![]() |
|< 1 2 >| | ![]() |
13 Einträge, 2 Seiten |