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

Home -> Community -> Usenet -> c.d.o.server -> Re: Filesystem space not freed when drop tablespace

Re: Filesystem space not freed when drop tablespace

From: <Kenneth>
Date: Thu, 23 Mar 2006 17:49:55 GMT
Message-ID: <4422dea8.2098281@news.inet.tele.dk>


On 23 Mar 2006 05:12:46 -0800, schonlinner_at_yahoo.com wrote:

>Hi,
>
>we have a unix server running HP-UX hp-adv-2 B.11.11 U 9000/800.
>4 processors, Oracle 10.1.0.4.0.
>
>When I do a "drop tablespace MY_TBL_10M including contents and
>datafiles", then it sometimes happens that the space in the file
>system does not get freed. Sometimes it lasts a few minutes,
>sometimes one can wait forever.
>
>Ok, this basically means that Oracle still has a valid open
>file pointer to the datafile(s) and thus Unix cannot free
>the space.
>
>Well, but why doesn't Oracle release it? We waited about 18
>hours (expecting that in some idle system phase over night Oracle
>cleans up and closes file pointers), but nothing happened.
>We then finally restarted the database to get the space in the
>file system freed.
>
>Is there anything which we can do to monitor which session
>or Oracle process still holds a reference to a dropped
>datafile in a dropped tablespace?
>
>Restarting the database is a very crude solution and not
>recommended to us...
>
>Best regards,
> Alex
>

Hi Alex,

Look at the "fuser" utility.

The command

"fuser file_in_question.dbf"

 will list the processes currently accessing the file. Most likely you will find an Oracle background process among them, if any.

Received on Thu Mar 23 2006 - 11:49:55 CST

Original text of this message

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