Note that you can run this off or online. When run online the report will contain a warning that it is run online and the statistics are only estimations. Furthermore you can use the report to see how much space each table is using and if you compare it with previous reports you can identify the growth for each table in a given period of time.proutil path_to_your_database -C dbanalys > dbanalys.log
FOR EACH _Area NO-LOCK WHERE _Area._Area-type EQ 6, /* data area */
EACH _StorageObject NO-LOCK
WHERE _StorageObject._Area-number EQ _Area._Area-number
AND _StorageObject._Object-type = 1: /* it's a table */
FIND FIRST _File NO-LOCK
WHERE _File._File-Number EQ _StorageObject._Object-number
AND _File._Tbl-type = "T" NO-ERROR. /* appl. table */
IF AVAILABLE( _File ) THEN
DISPLAY _Area._Area-name column-label "Area name"
_File._File-Name column-label "Table name".
END.
Area name Table name
-------------------------------- -------------------
Info Area item
Info Area monthly
Info Area salesrep
Info Area shipping
Info Area state
Info Area syscontrol
Customer/Order Area agedar
Customer/Order Area customer
Customer/Order Area order
Customer/Order Area order-line
proutil [I]dbname[/I] -C tabanalys area [I]"area name"[/I] > [I]output_file.txt[/I]