SELECT t.owner,
t.table_name AS "Table Name",
t.num_rows AS "Rows",
t.avg_row_len AS "Avg Row Len",
Trunc((t.blocks * p.value)/1024) AS SizeKB,
to_char(t.last_analyzed,'DD/MM/YYYY HH24:MM:SS') AS "Last Analyzed"
FROM dba_tables t,
v$parameter p
WHERE t.owner like '%PROD'
AND p.name = 'db_block_size'
ORDER by t.table_name,t.owner,t.last_analyzed desc,t.table_name
/
No comments:
Post a Comment