Answers for "oracle db get table sizes"

SQL
0

oracle db get table sizes

select segment_name, sum(bytes)/1024 KB 
from user_segments 
where segment_type='TABLE' and segment_name in (SELECT TABLE_NAME FROM ALL_TABLES) 
group by segment_name order by KB desc;
Posted by: Guest on April-28-2021

Code answers related to "SQL"

Browse Popular Code Answers by Language