select table_name,sum(blocks)
as block from dba_tables
group by table_name;
I think if I get block number for each table, then times block size, i will get answer, but I just get return table_name.
have someone have idea about
that?
ANALYZE TABLE owner.table_name COMPUTE STATISTICS;
or
execute DBMS_UTILITY.ANALYZE_SCHEMA('OWNER','COMPUTE');
these should be done on a daily
basis. for up to date data.