Skip to Main Content

Oracle Database Discussions

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Calculating schema size

285909Aug 12 2008 — edited Aug 12 2008
Hello.

I'm trying to calculate the size of a schema.

If I use the following statement:
SELECT SUM(bytes)/1024/1024/1024 AS size_gig FROM DBA_SEGMENTS WHERE OWNER= 'XXX';

then i'm getting a different result compared to calculating the size using EXPDP like this:
c:\expdp estimate_only=y schemas=xxx

The difference is about 10 gigybytes, which is enourmous.

Any ideas how I can get the correct size?


Regards,
Matthias
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Sep 9 2008
Added on Aug 12 2008
4 comments
12,894 views