Bug #37132 Logging to slow_log table fails with very slow queries
| Submitted: | 2 Jun 2008 3:48 | Modified: | 19 Jun 2019 1:23 |
|---|---|---|---|
| Reporter: | Omer Barnir (OCA) | Email Updates: | |
| Status: | Closed | Impact on me: | |
| Category: | MySQL Server: Logging | Severity: | S3 (Non-critical) |
| Version: | 5.1.25 | OS: | Any |
| Assigned to: | Assigned Account | CPU Architecture: | Any |
[2 Jun 2008 3:48]
Omer Barnir
[1 Oct 2008 17:16]
Konstantin Osipov
You may fail to write into the log table due to many reasons: out of memory, out of disk space, etc. We should change the code to print the error message into the error log, then re-run the test. Medium effort since the test case is so big.
[22 Mar 2019 16:22]
Yael Goldberg
We see the same issue in MySQL 5.6. Will this bug get fixed?
[19 Jun 2019 1:23]
Paul DuBois
Posted by developer: Fixed in 8.0.17. Logging to the mysql.slow_log system table could fail when values were to large for table columns. Now logging proceeds on a best-effort basis, writing what information can be provided. Otherwise, the row is discarded and a message is written to the error log.
Portions of this website are copyright © 2001, 2002 The PHP Group
Page generated in 0.042 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.