mysql启动报错
The age of the last checkpoint is 483185156, which exceeds the log group capacity 483180135.
有大神遇到过吗。
当innodb log设置过小的时候,当一个事务产生大量的日志的时候,需要多次切换重做日志文件,会产生类似如下的报警;
130702 12:53:13 InnoDB: ERROR: the age of the last checkpoint is 2863217109,
InnoDB: which exceeds the log group capacity 566222311.
参考:redo日志的理解_我就是大白的技术博客_51CTO博客
160719 13:43:04 InnoDB: ERROR: the age of the last checkpoint is 9448350,
InnoDB: which exceeds the log group capacity 9433498.
InnoDB: If you are using big BLOB or TEXT rows, you must set the
InnoDB: combined size of log files at least 10 times bigger than the
InnoDB: largest such row.
由于 innodb_log_file_size 默认是5M, 不够用引起的.
增大innodb_log_file_size的方法:
service mysqld stop
删除或转移ib_logfile0和ib_logfile1, rm -f /var/lib/mysql/ib_logfile*
编辑my.cnf , 增加 innodb_log_file_size=256M
启动mysql, service mysqld start
您好,我是有问必答小助手,您的问题已经有小伙伴解答了,您看下是否解决,可以追评进行沟通哦~
如果有您比较满意的答案 / 帮您提供解决思路的答案,可以点击【采纳】按钮,给回答的小伙伴一些鼓励哦~~
ps:问答VIP仅需29元,即可享受5次/月 有问必答服务,了解详情>>>https://vip.csdn.net/askvip?utm_source=1146287632