Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Mailing Lists -> Oracle-L -> Re: DB Size

Re: DB Size

From: <Simon.Anderson_at_scisys.co.uk>
Date: Fri, 03 May 2002 07:38:57 -0800
Message-ID: <F001.00457511.20020503073857@fatcity.com>

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 ORACLE-L_at_fatcity.com

To: Multiple recipients of list ORACLE-L <ORACLE-L_at_fatcity.com> 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: waibals_at_mtn.co.ug

--

Please see the official ORACLE-L FAQ: http://www.orafaq.com
--

Author:
  INET: Simon.Anderson_at_scisys.co.uk

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: ListGuru_at_fatcity.com (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). Received on Fri May 03 2002 - 10:38:57 CDT

Original text of this message

HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US