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: File created by failed Add Datafile command

RE: File created by failed Add Datafile command

From: Miller, Jay <JayMiller_at_TDWaterhouse.com>
Date: Thu, 24 May 2001 08:27:17 -0700
Message-ID: <F001.0030D662.20010524081131@fatcity.com>

Hi Rachel,

As mentioned, I had checked DBA_DATA_FILES and it wasn't there. Hadn't thought to use fuser, that also showed no one accessing it so I just issued the command with REUSE and it worked fine.

Thanks!

Jay

-----Original Message-----
Sent: Thursday, May 24, 2001 10:51 AM
To: Multiple recipients of list ORACLE-L

couple of things to check before you do anything with this file:

first, select from dba_data_files to see if Oracle thinks the file is in the

database.

second, at the OS level (this is Unix, yes?) go to that directory and do an

fuser on that file. If no processes show up, the file is not being accessed.

I *think* that Oracle creates the physical file before attempting to add it to the database and that's why you see the file there. If you can determine

that it's not being used, you can just add it with the reuse clause.

>From: "Miller, Jay" <JayMiller_at_TDWaterhouse.com>
>Reply-To: ORACLE-L_at_fatcity.com
>To: Multiple recipients of list ORACLE-L <ORACLE-L_at_fatcity.com>
>Subject: File created by failed Add Datafile command
>Date: Thu, 24 May 2001 06:15:25 -0800
>
>Yesterday I went to add a new datafile and the command failed because I
>already had datafiles = db_files value. No problem, I increased the
>parameter and waited until this morning since this database is shut down
>every night.
>I ran the command this morning and discovered that the file was in in fact
>created on the OS even though it didn't appear in dba_data_files. The time
>stamp on the file was the time I created it yesterday (all other files have
>a timestamp of this morning).
>I assume I can just either delete this file and reissue the command or
>issue
>the command with the REUSE option? I was about to do that and decided to
>double check with the experts :) since I've never encountered the specific
>situation before and I still have a week before I really have to worry
>about
>space on this tablespace.
>
>Thanks in advance,
>Jay Miller
>--
>Please see the official ORACLE-L FAQ: http://www.orafaq.com
>--
>Author: Miller, Jay
> INET: JayMiller_at_TDWaterhouse.com
>
>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).



Get your FREE download of MSN Explorer at http://explorer.msn.com
-- 
Please see the official ORACLE-L FAQ: http://www.orafaq.com
-- 
Author: Rachel Carmichael
  INET: carmichr_at_hotmail.com

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).
-- 
Please see the official ORACLE-L FAQ: http://www.orafaq.com
-- 
Author: Miller, Jay
  INET: JayMiller_at_TDWaterhouse.com

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 Thu May 24 2001 - 10:27:17 CDT

Original text of this message

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