成都网站建设设计

将想法与焦点和您一起共享

大表count(*)导致宕机

对表做 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上执行没有报错





网站题目:大表count(*)导致宕机
文章源于:http://chengdu.cdxwcx.cn/article/joeccg.html