RE: Miss db files & ORA-03264
Date: Thu, 5 Feb 2009 16:27:49 -0700
Sorry, I forgot to mention that the database was open with resetlog. Here is my plan to fix the issue:
- shutdown immediate;
- startup mount;
- alter tablespace TS_INDEX_00 offline;
- alter tablespace TS_INDEX_00 rename datafile '/oracle/OraHome2/dbs/MISSING00012' to '/SRV_ACEQ/server/database/data/ts_index_00_01.dbf';
- alter tablespace TS_INDEX_00 online;
- alter database datafile 12 offline drop;
- alter database open;
- alter database create datafile 12 as '/SRV_ACEQ/server/database/data/ts_index_00_01.dbf';
- alter database datafile 12 online;
- alter tablespace TS_INDEX_00 drop datafile 12;
From: oracle-l-bounce_at_freelists.org [mailto:oracle-l-bounce_at_freelists.org] On Behalf Of Xu, Roger Sent: Wednesday, February 04, 2009 3:25 PM To: oracle-l_at_freelists.org
Subject: Miss db files
In order to change the SID, we recreated the controlfile but I left 2 dbfiles out - oops!
Now, Oracle KNOWS about the datafile as its in the dictionary so puts a "MISSING" entry in its place.
I know there is no data in these dbfiles. What is the easiest way for me to drop them?
We are on 10g which allows dropping a single dbfile but the status of the dbfile needs to be online?
Thanks in advance,
Please be conscious of the environment and print this email only if absolutely necessary. This e-mail (including any attachments) is confidential and may contain privileged information of Dr Pepper Snapple Group, Inc. and/or its subsidiaries ("Dr Pepper Snapple Group"). If you are not the intended recipient or receive it in error, you may not use, distribute, disclose or copy any of the information contained within it and it may be unlawful to do so. If you are not the intended recipient, please notify us immediately by returning this e-mail to us at mailto:mailerror_at_dpsg.com and destroy all copies. Any views expressed by individuals within this e-mail do not necessarily reflect the views of Dr Pepper Snapple Group. This e-mail does not constitute a binding offer, acceptance, amendment, waiver or other agreement, unless the intent that an e-mail will constitute such is clearly stated in the body of the email. Recipients are advised to subject this e-mail and attachments to their own virus checking, in keeping with good computing practice. Please note that e-mail r eceived by Dr Pepper Snapple Group may be monitored in accordance with applicable law.Received on Thu Feb 05 2009 - 17:27:49 CST