I'm trying to estimate the table sizes within my schema (in MB). This is what I have so far:
SELECT table_name, owner, last_analyzed
FROM all_tables
I'm fairly new to SQL so I have no idea how I would go around doing this.
Thank you.
oracle
I'm trying to estimate the table sizes within my schema (in MB). This is what I have so far:
SELECT table_name, owner, last_analyzed
FROM all_tables
I'm fairly new to SQL so I have no idea how I would go around doing this.
Thank you.
Best Answer
Look at the "dba_segments" view (or user_segments if you don't have dba rights). The following query should give you what you're looking for: