Get info table with FRAGMENTED_SPACE Oracle database:
select owner,table_name,blocks,num_rows,avg_row_len,round(((blocks*8/1024)),0) "TOTAL_SIZE", round((num_rows*avg_row_len
/1024/1024),0) "ACTUAL_SIZE", round(((blocks*8/1024)-(num_rows*avg_row_len/1024/1024)),0) "FRAGMENTED_SPACE" from
dba_tables where owner not in ('SYS','SYSTEM','FDBA','PERFSTAT','DBMON') and round(((blocks*8/1024)-(num_rows*avg_row_len/1024/1024)),2)
> 100 order by 8 desc;
Xem thêm:
- Data Pipeline là gì?
- So sánh Redo Log Bất đồng bộ và Đồng bộ trong Oracle Data Guard
- Cài đặt và cấu hình Grafana trên linux 8 – step by step install Grafana on Linux 8
- Sử dụng RMAN recovery catalog trong Oracle Database
- Q11. A snapshot copy PDB does not depend on an existing storage snapshot of the source PDB?
