oracle巡检(转)
1) 数据库session连接数select count(*) from v$session;2) 数据库的并发数select count(*) from v$session where status='ACTIVE';3) 是否存在死锁set linesize 200column oracle_username for a16column os_user_n...
查询表的大小及表空间的使用情况
1、查询表空间的使用情况 select a.a1 表空间名称, c.c2 类型, c.c3 区管理, b.b2/1024/1024 表空间大小M, (b.b2-a.a2)/1024/1024 已使用M, substr((b.b2-a.a2)/b.b2*100,1,5) 利用率 from ...