English Deutsch Français Italiano Español Português 繁體中文 Bahasa Indonesia Tiếng Việt ภาษาไทย
All categories

in bytes

2006-06-23 20:54:27 · 1 answers · asked by neelesh s 1 in Computers & Internet Software

1 answers

The size that the table is taking up in storage is found in the dba_segments, or user_segments view:
select segment_name,bytes from user_segments where segment_name = 'EMPLOYEE';

If you want the size of the data in the table, then the table has to be freshly analyzed and you can use the statistics that get populated into the DBA_TABLES or USER_TABLES view.
analyze table EMPLOYEE compute statistics;
select table_name, (num_rows * avg_row_len) from user_tables where table_name = 'EMPLOYEE';

2006-06-29 16:30:14 · answer #1 · answered by oohhbother 7 · 0 0

fedest.com, questions and answers