dbTalk Databases Forums  

MISSING datafiles

comp.databases.oracle.misc comp.databases.oracle.misc


Discuss MISSING datafiles in the comp.databases.oracle.misc forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
Ana C. Dent
 
Posts: n/a

Default MISSING datafiles - 11-03-2006 , 10:31 PM






V10.2.0.2 Linux
Long story to which I'll spare everyone the details.
Database is open, but reports 40 or so missing files.
How do I convince Oracle to forget it ever knew about these files?
I am will to forgo data retrival that may have been in them.
I just want Oracle to pretend they never existed.

Thanks!

Reply With Quote
  #2  
Old   
Michel Cadot
 
Posts: n/a

Default Re: MISSING datafiles - 11-04-2006 , 06:02 AM







"Ana C. Dent" <anacedent (AT) hotmail (DOT) com> a écrit dans le message de news: Xns9870D0BD15D55anacedenthotmailcom (AT) 69 (DOT) 28.173.186...
Quote:
V10.2.0.2 Linux
Long story to which I'll spare everyone the details.
Database is open, but reports 40 or so missing files.
How do I convince Oracle to forget it ever knew about these files?
I am will to forgo data retrival that may have been in them.
I just want Oracle to pretend they never existed.

Thanks!
drop tablespace ... including contents and datafiles;

Or, if the file is empty:
alter tablespace ... drop datafile ...;

Regards
Michel Cadot




Reply With Quote
  #3  
Old   
Frank van Bortel
 
Posts: n/a

Default Re: MISSING datafiles - 11-04-2006 , 07:11 PM



Michel Cadot schreef:
Quote:
"Ana C. Dent" <anacedent (AT) hotmail (DOT) com> a écrit dans le message de news: Xns9870D0BD15D55anacedenthotmailcom (AT) 69 (DOT) 28.173.186...
| V10.2.0.2 Linux
| Long story to which I'll spare everyone the details.
| Database is open, but reports 40 or so missing files.
| How do I convince Oracle to forget it ever knew about these files?
| I am will to forgo data retrival that may have been in them.
| I just want Oracle to pretend they never existed.
|
| Thanks!

drop tablespace ... including contents and datafiles;

Or, if the file is empty:
alter tablespace ... drop datafile ...;

Regards
Michel Cadot


Don't - not on 10G. Drop tavlespace, offline and drop datafile(s)
The automagical job will keep on trying to collect stats on object in
the dropped tablespace, because it will not have these entries removed
from internal tables.
It's a bug (4707226)... Also, see:
http://vanbortel.blogspot.com/2006/0...ora-20000.html

--
Regards,
Frank van Bortel

Top-posting is one way to shut me up...


Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.3
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.