|
|
|
|
|
by Whitespace
1158 days ago
|
|
The article and the comments here don't make it clear why running it in production shouldn't be done. If slow_query is already running in production, why would running EXPLAIN ANALYZE slow_query be bad? Is the overhead of running EXPLAIN ANALYZE so much worse than running slow_query itself? |
|
The real problem you run into is when the query in question is doing something pathologically bad - locking a bunch of tables and then grinding away for an hour, which effectively is a denial of service attack.