Mysql 全局操作
查看事务隔离级别:show variables like 'transaction_isolation';
查看超过60s的事务列表:select * from information_schema.innodb_trx where TIME_TO_SEC(timediff(now(),trx_started))>60;
posted on 2021-09-21 16:13 Bloom_1991 阅读(41) 评论(0) 编辑 收藏 举报
查看事务隔离级别:show variables like 'transaction_isolation';
查看超过60s的事务列表:select * from information_schema.innodb_trx where TIME_TO_SEC(timediff(now(),trx_started))>60;
posted on 2021-09-21 16:13 Bloom_1991 阅读(41) 评论(0) 编辑 收藏 举报