Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to determine tables size in Oracle [duplicate]

I use Oracle 11 and want to find out the size of my tables (like in megabytes). What should I do? Should I check the file size on server? Or is there any query to run?

like image 821
Bers Avatar asked Nov 19 '14 08:11

Bers


1 Answers

If you don't have DBA rights then you can use user_segments table:

select bytes/1024/1024 MB from user_segments where segment_name='Table_name' 
like image 139
user2798256 Avatar answered Sep 20 '22 21:09

user2798256