Bug #3274 | Slow query log and no index log | ||
---|---|---|---|
Submitted: | 23 Mar 2004 14:03 | Modified: | 21 Dec 2005 12:35 |
Reporter: | Donny Simonton | Email Updates: | |
Status: | Won't fix | Impact on me: | |
Category: | MySQL Server | Severity: | S4 (Feature request) |
Version: | 4.1.1 | OS: | Linux (Linux) |
Assigned to: | CPU Architecture: | Any |
[23 Mar 2004 14:03]
Donny Simonton
[21 Dec 2005 12:35]
Valeriy Kravchuk
Thank you for a feature request. Why not just to run EXPLAIN for queries from the slow log? There are may be other reasons for queries to be slow, even when indexes are used (improper index usage, for example). And, by the way, some queries will not use indexes anyway, and are neither slow nor a problem to be written to any log. So, I think, current logs are enough to pinpoint problematic queries.