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:
- Flashback Pluggable Database (PDB) in Oracle Database
- Q65. Which are three of the steps taken by Database Configuration Assistant (DBCA) to clone a remote pluggable database (PDB) starting from Oracle 19c.
- Q108 In one of your databases, you create a user, HR, and then execute this command
- Quản trị functions trong Oracle Database
- Q21 You have been tasked to create a table for a banking application
