RE: Unable to recover datafile - urgent

  • From: "Powell, Mark D" <mark.powell@xxxxxxx>
  • To: oracle-l@xxxxxxxxxxxxx
  • Date: Wed, 22 Sep 2004 13:25:54 -0400

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@xxxxxxxxxxxxx
[mailto:oracle-l-bounce@xxxxxxxxxxxxx]On Behalf Of Jared Still
Sent: Wednesday, September 22, 2004 1:12 PM
To: oradba.la@xxxxxxxxx
Cc: oracle-l@xxxxxxxxxxxxx
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@xxxxxxxxx> 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
> --
> //www.freelists.org/webpage/oracle-l
> 



-- 
Jared Still
Certifiable Oracle DBA and Part Time Perl Evangelist
--
//www.freelists.org/webpage/oracle-l
--
//www.freelists.org/webpage/oracle-l

Other related posts: