Get info Tablespace usage Oracle database:
With out: SYS, SYSTEM….’SYS’,’SYSTEM’,’FDBA’,’PERFSTAT’,’DBMON’
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:
- Managing Resumable Space Allocation – Quản trị cấp phát không gian lưu trữ liên tục trong Oracle Database
- Q43 Which two statements are true regarding indexes?
- Q92 Choose the minimum required steps in the correct order to recover the database
- Q74 Which three statements are true about sequences in a single instance Oracle database?
- XAMPP là gì?
