Home » RDBMS Server » Server Administration » How to find the Size of the Database? - Urgent.
How to find the Size of the Database? - Urgent. [message #372022] Thu, 04 January 2001 12:34 Go to next message
nivetha
Messages: 2
Registered: January 2001
Location: chennai
Junior Member
Hi!

How to find the Size of the Database?.

Thanks
Nivetha
Re: How to find the Size of the Database? - Urgent. [message #372027 is a reply to message #372022] Thu, 04 January 2001 17:05 Go to previous messageGo to next message
SD
Messages: 16
Registered: March 2000
Junior Member
This query would give you the total size allocated for the database

column total format 999,999,999,999
select sum(bytes) Total from sys.dba_Data_files ;

This query would give you the result of the total size allocated to the objects in the database

select sum(bytes) total from sys.dba_extents

For calculating space actually used I have pro*c program. If you need that let me know.
Re: How to find the Size of the Database? - Urgent. [message #372028 is a reply to message #372022] Thu, 04 January 2001 18:28 Go to previous message
nivetha
Messages: 2
Registered: January 2001
Location: chennai
Junior Member
Thanx very much.
Previous Topic: grouping codes that are listed consecutively and assigning them...
Next Topic: Distinct and Order by
Goto Forum:
  


Current Time: Sat May 18 02:47:33 CDT 2024