Bug #1843 | extremely slow query speeds up when adding apparently unnecessary AND ID>0 | ||
---|---|---|---|
Submitted: | 15 Nov 2003 1:57 | Modified: | 16 Nov 2003 8:47 |
Reporter: | [ name withheld ] | Email Updates: | |
Status: | Not a Bug | Impact on me: | |
Category: | MySQL Server: InnoDB storage engine | Severity: | S2 (Serious) |
Version: | 4.0.16 | OS: | Windows (windows) |
Assigned to: | CPU Architecture: | Any |
[15 Nov 2003 1:57]
[ name withheld ]
[16 Nov 2003 5:20]
Alexander Keremidarski
Sorry, but the bug system is not the appropriate forum for asking support questions. Your problem is not the result of a bug. For a list of more appropriate places to ask for help using MySQL products, please visit http://www.mysql.com/support/ Thank you for your interest in MySQL. Use EXPLAIN and proper indexing to optimize your queries. Btw. with random data entered in your table I got about the same time execution for both queries - about 1 sec for 26K rows
[16 Nov 2003 7:05]
Sergei Golubchik
If you can create a repeatable test case for this strange behaviour, please reopen this bugreport.