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"
Portions of this website are copyright © 2001, 2002 The PHP Group
Page generated in 0.050 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.