hironomiu's Blog

こそっと書いていきます。twitter_id:hironomiu

mysql log_errorメッセージでちょっと気になったこと

mysql5.6を評価していてエラーログを見ていたときに、あれっと思ったことが。

120210 9:16:59 [Note] /usr/sbin/mysqld: Shutdown complete

120210 09:16:59 mysqld_safe mysqld from pid file /var/lib/mysql/localhost.localdomain.pid ended
120210 09:16:59 mysqld_safe Starting mysqld daemon with databases from /var/lib/mysql
120210 9:16:59 [Note] Plugin 'FEDERATED' is disabled.
120210 9:16:59 InnoDB: The InnoDB memory heap is disabled
120210 9:16:59 InnoDB: Mutexes and rw_locks use GCC atomic builtins
120210 9:16:59 InnoDB: Compressed tables use zlib 1.2.3
120210 9:16:59 InnoDB: Using Linux native AIO
120210 9:16:59 InnoDB: CPU does not support crc32 instructions
120210 9:16:59 InnoDB: Initializing buffer pool, size = 512.0M
120210 9:16:59 InnoDB: Completed initialization of buffer pool
120210 9:17:00 InnoDB: highest supported file format is Barracuda.
120210 9:17:00 InnoDB: 128 rollback segment(s) are active.
120210 9:17:00 InnoDB: Waiting for the background threads to start
120210 9:17:01 InnoDB: 1.2.4 started; log sequence number 1678378
120210 9:17:01 [Note] Event Scheduler: Loaded 0 events
120210 9:17:01 [Note] /usr/sbin/mysqld: ready for connections.
Version: '5.6.4-m7-log' socket: '/var/lib/mysql/mysql.sock' port: 3306 MySQL Community Server (GPL)

このmysqld_safeの停止、起動のメッセージ部分だけ09:16:59と0パディングされている。

120210 09:16:59 mysqld_safe mysqld from pid file /var/lib/mysql/localhost.localdomain.pid ended
120210 09:16:59 mysqld_safe Starting mysqld daemon with databases from /var/lib/mysql

5.5の環境を覗いてgrepしてみたらやっぱり0パディングされていた。

どうでも良いんだろうけど凄く気になる。