oracle降低高水位操作
查询是否高水位:
SELECT table_name,
ROUND((blocks * 8/1024), 2) "高水位空间 M",
ROUND((num_rows * avg_row_len / 1024/1024), 2) "真实使用空间 M",
ROUND((blocks * 10 / 100) * 8, 2) "预留空间(pctfree) M",
ROUND((blocks * 8 - (num_rows * avg_row_len / 1024) -blocks * 8 * 10 / 100), 2) "浪费空间 M",
((blocks * 8-(num_rows * avg_row_len / 1024))/1024)/(blocks * 8/1024) "浪费空间 %"
FROM user_tables
WHERE table_name = 'OM_SERV_SUMMARY_xxxxxx';
Oracle:alter table shrink space压缩碎片收缩高水位
转自:https://blog.csdn.net/knuuy/article/details/50469823
降低oracle高水位线方法总结
转自:https://blog.csdn.net/qq_29000953/article/details/80983254