Showing posts with label SQLPlus Schema Size. Show all posts
Showing posts with label SQLPlus Schema Size. Show all posts

Thursday, October 7, 2010

Finding schema size in Oracle using SQLPlus CLI


To find out the schema size for a particular user, login as the user into the schema using SQLPlus CLI:

sqlplus schemauser/password
Once logged in, execute the below query:
SELECT sum(bytes)/1024/1024 FROM user_segments;
As per the calculation above (1024/1024), the output will be in MB.

Sample output shown below:

SUM(BYTES)/1024/1024
-------------------
12.4375
 

A Linux Admin's WeBlog! Blak Magik is Designed by productive dreams for smashing magazine Bloggerized by Ipiet The Blog Full of Games © 2008