Bug #78844 | InnoDB log recovery is too noisy. | ||
---|---|---|---|
Submitted: | 15 Oct 2015 11:35 | Modified: | 19 Oct 2015 10:26 |
Reporter: | Simon Mudd (OCA) | Email Updates: | |
Status: | Verified | Impact on me: | |
Category: | MySQL Server: InnoDB storage engine | Severity: | S4 (Feature request) |
Version: | 5.7 | OS: | Any |
Assigned to: | CPU Architecture: | Any | |
Tags: | innodb recovery, logging, noise |
[15 Oct 2015 11:35]
Simon Mudd
[16 Oct 2015 9:25]
MySQL Verification Team
Hello Simon, Thank you for the feature request! Thanks, Umesh
[16 Oct 2015 9:25]
MySQL Verification Team
// 5.7.10 2015-10-16T09:21:53.770681Z 0 [Note] InnoDB: Log scan progressed past the checkpoint lsn 198035166 2015-10-16T09:21:53.770702Z 0 [Note] InnoDB: Doing recovery: scanned up to log sequence number 198035175 2015-10-16T09:21:53.771256Z 0 [Note] InnoDB: Doing recovery: scanned up to log sequence number 198035175 2015-10-16T09:21:53.771268Z 0 [Note] InnoDB: Database was not shutdown normally! 2015-10-16T09:21:53.771274Z 0 [Note] InnoDB: Starting crash recovery. . . 2015-10-16T09:21:54.015406Z 0 [Note] bin/mysqld: ready for connections. Version: '5.7.10-enterprise-commercial-advanced' socket: '/tmp/mysql_ushastry.sock' port: 15000 MySQL Enterprise Server - Advanced Edition (Commercial)
[19 Oct 2015 10:26]
Simon Mudd
I notice on a 5.6 server which is recovering from a crash: ... InnoDB: Doing recovery: scanned up to log sequence number 603926961664 InnoDB: Doing recovery: scanned up to log sequence number 603932204544 InnoDB: Doing recovery: scanned up to log sequence number 603936216206 InnoDB: 984 transaction(s) which must be rolled back or cleaned up InnoDB: in total 658474 row operations to undo InnoDB: Trx id counter is 74629376 2015-10-19 12:05:14 722 [Note] InnoDB: Starting an apply batch of log records to the database... InnoDB: Progress in percent: 44 45 46 47 48 49 50 51 52 53 What I miss here, during recovery, is to see more information apart from the sequence number. Something more useful to a DBA such as: - number of "Events" or "transactions" seen/processed - the size of the iblog files processed so far. - timestamp of the time in the iblog file With the noisy logs as they are this information may not be worth adding but if the logs are somewhat less noisy this extra perspective might be helpful.