> It all started several hours ago when OEM let me mistakenly create a
> new datafile with a name of '.ora'...
you can name a datafile anything you want. OEM didn't make a mistake.
And if all you wanted to do was change the name of the datafile, 'alter
database rename file <oldname> to <newname>;' is a MUCH better option
than dropping a file (which you can't actually do anyway). You can't
have the database open when you do this but then you've already said
you are the only user and you are able to do the shutdown
You started with several mistaken premises:
- that you have to drop a file to change the name
- that you can even drop a file that is part of a tablespace without
dropping the tablespace itself
- that you can directly edit the spfile
May I gently suggest that a review of the concepts and reference guides
is in order?
Rachel
- david wendelken <davewendelken_at_earthlink.net> wrote:
>
> I did a shutdown immediate, but I'm the only one on it.
>
> In recreating the problem, I just figured out why my approach didn't
> work.
> Dropped a digit off the undo tablespace name by mistake.
>
> It all started several hours ago when OEM let me mistakenly create a
> new datafile with a name of '.ora'...
> After beating one's head against the wall long enough...
>
> -----Original Message-----
> From: "Bobak, Mark" <Mark.Bobak_at_il.proquest.com>
> Sent: Mar 16, 2004 10:33 AM
> To: oracle-l_at_freelists.org
> Subject: RE: problem getting rid of an undo tablespace
>
> What kind of shutdown did you do? (Not an abort, I hope!)
>
> Please define "the database would not open up". Error message?
> Error number? Anything in alert.log? Other hints?
>
> -----Original Message-----
> From: david wendelken [mailto:davewendelken_at_earthlink.net]
> Sent: Tuesday, March 16, 2004 1:30 PM
> To: oracle-l_at_freelists.org
> Subject: Re: problem getting rid of an undo tablespace
>
>
>
> I have a problem with one of the files in my undo tablepace.
>
> Given that there are not any transactions to undo, it seemed simplest
> to just drop the file.
> But I haven't been able to get the database to let me do that.
>
> So, I created a 2nd undo tablespace with the intention of taking the
> first off line and then dropping it.
> But I haven't been able to get the database to let me take it off
> line.
>
> I found a parameter in my spfile called "undo_tablespace" which was
> set to the old tablespace.
> I shut down the database, changed the entry to point to the new
> tablespace, but the database would not open up.
>
> Any ideas on how to clear out the corrupted undo tablespace file?
>
> Thanks in advance!
>
> ----------------------------------------------------------------
> Please see the official ORACLE-L FAQ: http://www.orafaq.com
> ----------------------------------------------------------------
> To unsubscribe send email to: oracle-l-request_at_freelists.org
> put 'unsubscribe' in the subject line.
> --
> Archives are at http://www.freelists.org/archives/oracle-l/
> FAQ is at http://www.freelists.org/help/fom-serve/cache/1.html
> -----------------------------------------------------------------
> ----------------------------------------------------------------
> Please see the official ORACLE-L FAQ: http://www.orafaq.com
> ----------------------------------------------------------------
> To unsubscribe send email to: oracle-l-request_at_freelists.org
> put 'unsubscribe' in the subject line.
> --
> Archives are at http://www.freelists.org/archives/oracle-l/
> FAQ is at http://www.freelists.org/help/fom-serve/cache/1.html
> -----------------------------------------------------------------
>
> ----------------------------------------------------------------
> Please see the official ORACLE-L FAQ: http://www.orafaq.com
> ----------------------------------------------------------------
> To unsubscribe send email to: oracle-l-request_at_freelists.org
> put 'unsubscribe' in the subject line.
> --
> Archives are at http://www.freelists.org/archives/oracle-l/
> FAQ is at http://www.freelists.org/help/fom-serve/cache/1.html
> -----------------------------------------------------------------
Do you Yahoo!?
Yahoo! Mail - More reliable, more storage, less spam
http://mail.yahoo.com
Please see the official ORACLE-L FAQ:
http://www.orafaq.com
To unsubscribe send email to: oracle-l-request_at_freelists.org
put 'unsubscribe' in the subject line.
--
Archives are at http://www.freelists.org/archives/oracle-l/
FAQ is at http://www.freelists.org/help/fom-serve/cache/1.html
-----------------------------------------------------------------
Received on Tue Mar 16 2004 - 13:27:43 CST