首页 > 数据库 >oracle 长事务、大事务监控

oracle 长事务、大事务监控

时间:2023-02-28 18:22:28浏览次数:41  
标签:count 事务 transaction 监控 oracle select

1.监控大事务

select count(*) from v$transaction where status='ACTIVE' AND used_urec>=200000;

2.监控长事务

select count(*) from v$transaction where to_data(start_time,'mm/ddrr hh24:mi:ss')<sysdate-1/96 and BITAND(t.flag,128)<>128;

3.慢查询

 

标签:count,事务,transaction,监控,oracle,select
From: https://www.cnblogs.com/dbahrz/p/17165510.html

相关文章