Oracle 找出需要回收高水位的表
首先是分析表,以得到最准确的统计,
select round((1-a.used/b.num_total)*100,0) percent from
(SELECT COUNT (DISTINCT SUBSTR(rowid,1,15)) Used FROM 表名) a,
(select blocks num_total from dba_tables where table_name
转载
2016-07-20 14:25:46 ·
1524 阅读 ·
0 评论