| Bug #72243 | Queries where execution time exceeds 'MAX_STATEMENT_TIME' should go to slow log | ||
|---|---|---|---|
| Submitted: | 4 Apr 2014 18:48 | Modified: | 4 Apr 2014 19:32 |
| Reporter: | Peter Laursen (Basic Quality Contributor) | Email Updates: | |
| Status: | Verified | Impact on me: | |
| Category: | MySQL Server: Logging | Severity: | S3 (Non-critical) |
| Version: | 5.7.4 | OS: | Any |
| Assigned to: | CPU Architecture: | Any | |
[4 Apr 2014 18:48]
Peter Laursen
[4 Apr 2014 19:19]
Sveta Smirnova
Thank you for the report.
Why can't you just use option long_query_time={Value of MAX_STATEMENT_TIME}?
[4 Apr 2014 19:27]
Peter Laursen
@Sveta. Because I may use a different MAX_STATEMENT_TIME -clause for different SELECT queries (1 second for one query, 100 seconds for another etc.).
[4 Apr 2014 19:32]
Sveta Smirnova
Thank you for the feedback. Verified as feature request: "please implement option, saying to write all queries, interrupted because option MAX_STATEMENT_TIME, to slow query log"
