Bug #2538 Filesort on merge table with DESC
| Submitted: | 27 Jan 2004 18:49 | Modified: | 29 Jan 2004 13:22 |
|---|---|---|---|
| Reporter: | Nis Peder Bonde | Email Updates: | |
| Status: | Closed | Impact on me: | |
| Category: | MySQL Server | Severity: | S2 (Serious) |
| Version: | 4.0.17 | OS: | Linux (Linux) |
| Assigned to: | Sergei Golubchik | CPU Architecture: | Any |
[27 Jan 2004 18:49]
Nis Peder Bonde
[29 Jan 2004 12:43]
MySQL Verification Team
Nothing to do with MERGE tables. It is behaving the same with MyISAM tables: + explain select * from t1 where num < 50000 order by num limit 1; + id select_type table type possible_keys key key_len ref rows Extra + 1 SIMPLE t1 range PRIMARY PRIMARY 4 NULL 52077 Using where We have on our TODO to fix this in 4.1. or 5.0, but meanhilw you have to help MySQL with USING / FORCE INDEX
[29 Jan 2004 13:22]
Sergei Golubchik
Not a bug. This is an optimization that was added in 4.1 only.
Portions of this website are copyright © 2001, 2002 The PHP Group
Page generated in 0.060 sec. using MySQL 8.4.7-u6-cloud
Timestamp references displayed by the system are UTC.
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.