EXPERT RESPONSE
You can determine the number of blocks that currently contain data for a table by issuing the following query against the table:
select count (distinct dbms_rowid.rowid_block_number(rowid)) "used blocks" from ;
Multiply the result by your db block size to get the number of bytes required.
You can code a PL/SQL block to construct and execute dynamic SQL for each table of interest, summing the results as each table is queried.
|