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

Home -> Community -> Usenet -> c.d.o.misc -> Re: Newbie - How can I check diskspace usage?

Re: Newbie - How can I check diskspace usage?

From: Lun Wing San (Oracle) <wslun_at_qrcsun.qrc.org>
Date: 1996/12/08
Message-ID: <32AB2821.43AA@qrcsun.qrc.org>#1/1

Earvin C. Lim wrote:
>
> Hi all,
>
> We have created a database in a UNIX file system, and about 400MB is
> allocated to it. But how can I check how many actual diskspace is in
> use?

  You can use SELECT * FROM DBA_FREE_SPACES to check the free space.   You can use V$DATAFILE to check the file size of each tablespace.

  Alternatively, in PL/SQL,

  You can use DBMS_SPACE.UNUSED_SPACE to check the free space.

---
Name   : Lun Wing San
Title  : Oracle Application Developer of Hong Kong Productivity Council
         Oracle Database Administrator and System Administrator of QRC
Phone  : (852)27885841
Received on Sun Dec 08 1996 - 00:00:00 CST

Original text of this message

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