Find the Schema or User Size

Friday Jul 16th 2004 by DatabaseJournal.com Staff
Share:

This script finds the Schema or user Size.



>>Script Language and Platform: Oracle
This script finds the Schema or user Size.

Author: ARANGAPERUMAL.G


SELECT tablespace_name, 
Sum(bytes)/1024/1024 AS total_size_mb
FROM dba_segments
WHERE owner = Upper(&User_Name)
GROUP BY owner, rollup(tablespace_name)

Disclaimer: We hope that the information on these script pages is valuable to you. Your use of the information contained in these pages, however, is at your sole risk. All information on these pages is provided "as -is", without any warranty, whether express or implied, of its accuracy, completeness, or fitness for a particular purpose... Disclaimer Continued


Back to Database Journal Home

Share:
Home
Mobile Site | Full Site
Copyright 2017 © QuinStreet Inc. All Rights Reserved