分享

Mysql异常The total number of locks exceeds the lock table size解决方案

 pengx 2009-10-13
错误描述:
       存储引擎是innodb,有时mysql 出现如下错误:ERROR 1206 (HY000): The total number of locks exceeds the lock table size
解决办法:
       增加innodb_buffer_pool_size参数的值,Mysql默认这个参数的值为8M;增加max_write_lock_count 参数的值。
       
说明:
       The size in bytes of the memory buffer InnoDB uses to cache data and indexes of its tables. The default value is 8MB. The larger you set this value, the less disk I/O is needed to access data in tables. On a dedicated database server, you may set this to up to 80% of the machine physical memory size. However, do not set it too large because competition for physical memory might cause paging in the operating system.

    本站是提供个人知识管理的网络存储空间,所有内容均由用户发布,不代表本站观点。请注意甄别内容中的联系方式、诱导购买等信息,谨防诈骗。如发现有害或侵权内容,请点击一键举报。
    转藏 分享 献花(0

    0条评论

    发表

    请遵守用户 评论公约

    类似文章 更多