A good question for a friday afternoon before a bank-holiday weekend...

Query the data dictionary to get the names and locations of the data files:

     select file_name, tablespace_name, bytes from dba_data_files;

That will give you the size of all the files for data, indexes, rollback
segments, the temporary area, the system tablespace, etc.
There are other bits it won't tell you about (Config files, online redologs,
archived logs) but they're another story.

This doesn't tell you how much of that space actually has data in it if that's
what you meant, just how much space things are taking on the disks.
What all these numbers actually mean is a much longer and more difficult
question, best left 'till next week.

Simon Anderson





Please respond to [EMAIL PROTECTED]

To:   Multiple recipients of list ORACLE-L <[EMAIL PROTECTED]>
cc:    (bcc: Simon Anderson/SSplc)




Hi all,
How could one collect data from an Oracle Server to respond to the question:
"How big is (what is the size of your) Database ?"

Thaking you,

---
CSW
--
Please see the official ORACLE-L FAQ: http://www.orafaq.com
--
Author: Simon Waibale
  INET: [EMAIL PROTECTED]



-- 
Please see the official ORACLE-L FAQ: http://www.orafaq.com
-- 
Author: 
  INET: [EMAIL PROTECTED]

Fat City Network Services    -- (858) 538-5051  FAX: (858) 538-5051
San Diego, California        -- Public Internet access / Mailing Lists
--------------------------------------------------------------------
To REMOVE yourself from this mailing list, send an E-Mail message
to: [EMAIL PROTECTED] (note EXACT spelling of 'ListGuru') and in
the message BODY, include a line containing: UNSUB ORACLE-L
(or the name of mailing list you want to be removed from).  You may
also send the HELP command for other information (like subscribing).

Reply via email to