Hello Jared et al, The Oracle Reference Manual for 8i, "schematic diagram" has alter database <database> '<datafile>' offline drop, so that's what I tried (as system). The system came back, 'database altered', but a check of dba_data_files shows that the datafile (#115) is still there. The dba_extents lists no rows selected if I query on bytes where file# = 115, so taking the datafile offline as soon as I realized my error was successful in keepin any user data written to the datafile.
Paul -----Original Message----- Sent: Tuesday, January 29, 2002 7:11 PM To: Multiple recipients of list ORACLE-L You can't safely drop a datafile from the database. When you say 'According to Oracle, I should be able to drop a datafile at has no data written to it', do you have a reference where we can see that. It does not sound familiar to me. Per your situation, since you have the datafile offline, just rename it via 'alter database <YOUR_DB_HERRE> rename file..', then put it back online. Jared On Tuesday 29 January 2002 15:08, Sherman, Paul R. wrote: > Hello list, > > Oracle 8.1.6.3.0, on HP-UX 11.0, using Oracle Parallel Server (OPS) > > According to Oracle, I should be able to drop a datafile that has no data > but I can not. Neither DBA studio (the garbage can stays > 'grayed'), nor the command line (alter tablespace, with the DROP clause) > works. I had immediately taken the datafile offline (I had typed > sbplus_x18.dbf instead of sbplus_x16.dbf for the datafile name to use in > case you are wondering how this turn of events happened in the first > place), and checked all of the books, and Meta-Link. I tried a test on a > non-production machine, no go; even taking the tablespace off-line first > makes no difference. And of course I get errors as one node can not see the > other nodes sbplus_x18.dbf datafile. I tried an 'alter system check > datafiles' to see if this would make the other node happy (as the datafile > is now off-line, this may work), but I need a solution other than exporting > the data, rebuilding the tablespace, then importing the export. > > Anyone ever come across this issue ? > > Thank you, > > Paul Sherman > DBA > voice - 781-501-4143 (office) > fax - 781-278-8341 (office) > email - [EMAIL PROTECTED] -- Please see the official ORACLE-L FAQ: http://www.orafaq.com -- Author: Jared Still INET: [EMAIL PROTECTED] 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: [EMAIL PROTECTED] (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: Sherman, Paul R. INET: [EMAIL PROTECTED] 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: [EMAIL PROTECTED] (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).