1.看應用日志報jdbc error,有鎖
2.看MySQL慢日志
throttle: 852 'index not used' warning(s) suppressed.; 需要添加索引
方法:ALTER TABLE `tb_form_item_instances` ADD INDEX `IDX_VALUE_STR`(`value_str`) ;
3.加大緩存 innodb_buffer_pool_size=10G 加到機器內存的一半
4.關掉swap
1.看應用日志報jdbc error,有鎖
2.看MySQL慢日志
throttle: 852 'index not used' warning(s) suppressed.; 需要添加索引
方法:ALTER TABLE `tb_form_item_instances` ADD INDEX `IDX_VALUE_STR`(`value_str`) ;
3.加大緩存 innodb_buffer_pool_size=10G 加到機器內存的一半
4.關掉swap
本站轉載的文章為個人學習借鑒使用,本站對版權不負任何法律責任。如果侵犯了您的隱私權益,請聯系本站郵箱yoyou2525@163.com刪除。