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:RE: dropped datafile problem

Re:RE: dropped datafile problem

From: <dgoulet_at_vicr.com>
Date: Tue, 22 Jan 2002 07:03:50 -0800
Message-ID: <F001.003F6FDE.20020122061019@fatcity.com>

While the damage here has already been done, it should be a point of caution for us all. I make a point of dropping the tablespace in Oracle first followed by judicious use of the 'fuser' command in HP-UX to see that all processes have released the file. Now you know it's deletable. BTW: anyone know of an equivalent to fuser for NT/2000??

Dick Goulet

____________________Reply Separator____________________
Author: "Mercadante; Thomas F" <Thomas.Mercadante_at_Labor.State.Ny.Us>
Date:       1/22/2002 5:20 AM

Andrey,

I agree with Rachel. You need to fix this problem immediately. You are one step short of a complete disaster-recovery scenario.

Your choices are:

Restore the database prior to when you deleted the data file and issued the "drop datafile" command.

or

Export, drop the tablespace, and import the data to a new tablespace

or

Create a new tablespace, and issue "alter table {tablename} move {newtablespace}" and "alter index {indexname} rebuild" for all tables in the old tablespace. When complete, drop the old tablespace.

I would schedule option #3 - by far, the easiest option (if you are running under 8.1.6 and above).

You need to do one of the above ASAP! You have a tablespace that is in a bad situation, and there is no other option (unless Oracle support can perform some magic for you).

Hope this helps.

Tom Mercadante
Oracle Certified Professional

-----Original Message-----
Sent: Monday, January 21, 2002 3:35 PM
To: Multiple recipients of list ORACLE-L

you HAVE to drop the tablespace. You do not have a consistent database, and your database is a disaster recovery scenario waiting to happen.

The question is, why did you drop the datafile without researching the ramifications?


Do You Yahoo!?
Send FREE video emails in Yahoo! Mail!
http://promo.yahoo.com/videomail/
-- 
Please see the official ORACLE-L FAQ: http://www.orafaq.com
-- 
Author: Rachel Carmichael
  INET: wisernet100_at_yahoo.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: Mercadante, Thomas F
  INET: Thomas.Mercadante_at_Labor.State.Ny.Us

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: 
  INET: dgoulet_at_vicr.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 Tue Jan 22 2002 - 09:03:50 CST

Original text of this message

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