0

Mysql 几乎每天都卡顿,我需要重新启动 MYSQL.. 自己的 VPS 512MB ram,mysql 日志:

131115 10:03:36 [Note] Plugin 'FEDERATED' is disabled.
131115 10:03:36 InnoDB: The InnoDB memory heap is disabled
131115 10:03:36 InnoDB: Mutexes and rw_locks use GCC atomic builtins
131115 10:03:36 InnoDB: Compressed tables use zlib 1.2.3.4
131115 10:03:36 InnoDB: Initializing buffer pool, size = 128.0M
131115 10:03:36 InnoDB: Completed initialization of buffer pool
131115 10:03:36 InnoDB: highest supported file format is Barracuda.
InnoDB: The log sequence number in ibdata files does not match
InnoDB: the log sequence number in the ib_logfiles!
131115 10:03:36  InnoDB: Database was not shut down normally!
InnoDB: Starting crash recovery.
InnoDB: Reading tablespace information from the .ibd files...
InnoDB: Restoring possible half-written data pages from the doublewrite
InnoDB: buffer...
4

1 回答 1

0

这个日志是关于关闭还是启动?

我想您的机器异常关闭导致日志损坏。因此,您的数据库文件不一致,因为mysqld没有正常停止,并且您的日志文件(持久性记录)也因物理存储损坏而不一致。

于 2013-11-15T10:34:53.957 回答