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: Unable to recover datafile - urgent

RE: Unable to recover datafile - urgent

From: Powell, Mark D <mark.powell_at_eds.com>
Date: Wed, 22 Sep 2004 13:25:54 -0400
Message-ID: <564DE4477544D411AD2C00508BDF0B6A2133DEF5@usahm018.exmi01.exch.eds.com>


If the job is trying to reference the file that would seem to indicate that some object referenced by the job may be assigned to the file.

Query dba_extents for allocations made to the file in question.

HTH -- Mark D Powell --

-----Original Message-----
From: oracle-l-bounce_at_freelists.org
[mailto:oracle-l-bounce_at_freelists.org]On Behalf Of Jared Still Sent: Wednesday, September 22, 2004 1:12 PM To: oradba.la_at_gmail.com
Cc: oracle-l_at_freelists.org
Subject: Re: Unable to recover datafile - urgent

Why not:

Get the archive logs needed to recover, and recover the file.

Rename the file to go with the TBS it is in.

Shrink the file down to as small as possible.

Just leave the file there.

Jared

On Wed, 22 Sep 2004 11:44:01 -0500, Manjula Krishnan <oradba.la_at_gmail.com> wrote:
> There is one datafile which shows status of "RECOVER". This datafile
> was created in the wrong tablespace and immediately offlined. For some
> reason a batch job is trying to read from this datafile, and it comes
> up with ORA-376 and ORA-1110. I am not able to recover this datafile
> because it needs an old archive log and that archive log does not
> exist on the system.
>
> How can I find out if this datafile has any objects in it? (I am
> pretty sure it does not). And if it does not I would like to remove
> this datafile.
>
> Is exporting tablespace/dropping tablespace and reimporting my only
option?
>
> Thanks,
>
> Manjula
> --
> http://www.freelists.org/webpage/oracle-l
>

-- 
Jared Still
Certifiable Oracle DBA and Part Time Perl Evangelist
--
http://www.freelists.org/webpage/oracle-l
--
http://www.freelists.org/webpage/oracle-l
Received on Wed Sep 22 2004 - 12:22:33 CDT

Original text of this message

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