12. 怎樣計算一個表佔用的空間的大小?
select owner,table_name,
num_rows,
blocks*aaa/1024/1024 "size m",
empty_blocks,
last_analyzed
from dba_tables
where table_name='xxx';
here: aaa is the value of db_block_size ;
xxx is the table name you want to check
12. 怎樣計算一個表佔用的空間的大小?
select owner,table_name,
num_rows,
blocks*aaa/1024/1024 "size m",
empty_blocks,
last_analyzed
from dba_tables
where table_name='xxx';
here: aaa is the value of db_block_size ;
xxx is the table name you want to check