Greatsql数据库的技术文档中提到,CPU最好用最大性能模式,文章中有如下描述。 确认CPU性能模式设置 先检查当前的设置模式 $ cpupower frequency-info --policy analyzing CPU 0: current policy: frequency should be within 800 MHz and 4.80 GHz.
背景 业务端遇到报错为"Deadlock found when trying to get lock; try restarting transaction"则表明有死锁发生 名称 配置 数据库版本 GreatSQL 8.0.26 隔离级别 Read-Commited innodb status 日志 greatsql> show engine innodb status\G *******