How to determine tables size in Oracle

Bers picture Bers · Nov 19, 2014 · Viewed 172.9k times · Source

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?

Answer

user2798256 picture user2798256 · Nov 19, 2014

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'