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!

Interested in getting your voice heard by members of the Developer Marketing team at Oracle? Check out this post for AppDev or this post for AI focus group information.

database size

shakilshaikhJul 12 2010 — edited Jul 13 2010
how to find the total databas size in single query.

I can use sm$ts_avail, sm$ts_used and sm$ts_ free. also I can use dba_segments , dba_free_space and dba_data_files. But I need a single query which gives

available size= all db files size+ temporary files size
used size = db files used size + temporary used size
free space= dbfile free space + temporary free space.

I would like to have this in single query as i want to create report of space utilization on 25 databases. I want to do minimal formatting work after executing the query.
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Aug 10 2010
Added on Jul 12 2010
9 comments
2,047 views