Re: Unable to recover datafile - urgent

Unfortunately, there are 85 blocks in that datafile. 

SQL> select * from dba_extents
  2  where file_id=48 and extent_id=225;

OWNER           SEGMENT_NAME         PARTITION_NAME
--------------- -------------------- ------------------------------
SEGMENT_TYPE       TABLESPACE_NAME                 EXTENT_ID    FILE_ID
------------------ ------------------------------ ---------- ----------
  BLOCK_ID      BYTES     BLOCKS RELATIVE_FNO
---------- ---------- ---------- ------------
LAWSON          POLINE
TABLE              LAWDATA01                             225         48
         2     348160         85           48


What would be the best way to get around this situation? We do not
have the archive log required to recover that datafile.

Thanks...


On Wed, 22 Sep 2004 13:25:54 -0400, Powell, Mark D <mark.powell@xxxxxxx> wrote:
> 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
> > --
> > 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
>
--
http://www.freelists.org/webpage/oracle-l

Other related posts: