温馨提示×

温馨提示×

您好,登录后才能下订单哦!

密码登录×
登录注册×
其他方式登录
点击 登录注册 即表示同意《亿速云用户服务条款》

大表count(*) 导致宕机

发布时间:2020-08-05 04:23:35 来源:ITPUB博客 阅读:400 作者:G8bao7 栏目:MySQL数据库

对表做 select count(*) from tbname;

异常信息如下

点击(此处)折叠或打开

  1. 016-03-24 21:37:28 17887 [ERROR] InnoDB: Tried to read 16384 bytes at offset 50072698880. Was only able to read 8192.
  2. 2016-03-24 21:37:28 7faab67f6700 InnoDB: Operating system error number 11 in a file operation.
  3. InnoDB: Error number 11 means 'Resource temporarily unavailable'.
  4. InnoDB: Some operating system error numbers are described at
  5. InnoDB: http://dev.mysql.com/doc/refman/5.6/en/operating-system-error-codes.html
  6. 2016-03-24 21:37:28 7faab67f6700 InnoDB: File operation call: 'read' returned OS error 111.
  7. 2016-03-24 21:37:28 7faab67f6700 InnoDB: Cannot continue operation.
  8. pure virtual method called
  9. pure virtual method called
  10. terminate called without an active exception
  11. terminate called without an active exception
  12. 13:37:28 UTC - mysqld got signal 6 ;

  13. This could be because you hit a bug. It is also possible that this binary



ulimit -a 没超过限制

可能是表数据文件损坏,在slave上执行没有报错




向AI问一下细节

免责声明:本站发布的内容(图片、视频和文字)以原创、转载和分享为主,文章观点不代表本网站立场,如果涉及侵权请联系站长邮箱:is@yisu.com进行举报,并提供相关证据,一经查实,将立刻删除涉嫌侵权内容。

AI