From oracle-l-bounce@freelists.org  Wed Sep 22 12:22:33 2004
Return-Path: <oracle-l-bounce@freelists.org>
Received: from air189.startdedicated.com (root@localhost)
 by orafaq.com (8.11.6/8.11.6) with ESMTP id i8MHMXR16246
 for <oracle-l@orafaq.com>; Wed, 22 Sep 2004 12:22:33 -0500
X-ClientAddr: 206.53.239.180
Received: from turing.freelists.org (freelists-180.iquest.net [206.53.239.180])
 by air189.startdedicated.com (8.11.6/8.11.6) with ESMTP id i8MHMXI16241
 for <oracle-l@orafaq.com>; Wed, 22 Sep 2004 12:22:33 -0500
Received: from localhost (localhost [127.0.0.1])
 by turing.freelists.org (Avenir Technologies Mail Multiplex) with ESMTP
 id 6125772CF37; Wed, 22 Sep 2004 12:28:34 -0500 (EST)
Received: from turing.freelists.org ([127.0.0.1])
 by localhost (turing [127.0.0.1]) (amavisd-new, port 10024) with ESMTP
 id 09775-42; Wed, 22 Sep 2004 12:28:34 -0500 (EST)
Received: from turing (localhost [127.0.0.1])
 by turing.freelists.org (Avenir Technologies Mail Multiplex) with ESMTP
 id C3A9172C9AA; Wed, 22 Sep 2004 12:28:33 -0500 (EST)
Message-ID: <564DE4477544D411AD2C00508BDF0B6A2133DEF5@usahm018.exmi01.exch.eds.com>
From: "Powell, Mark D" <mark.powell@eds.com>
To: oracle-l@freelists.org
Subject: RE: Unable to recover datafile - urgent
Date: Wed, 22 Sep 2004 13:25:54 -0400
MIME-Version: 1.0
Content-type: text/plain
Content-Transfer-Encoding: 8bit
X-archive-position: 9899
X-ecartis-version: Ecartis v1.0.0
Sender: oracle-l-bounce@freelists.org
Errors-To: oracle-l-bounce@freelists.org
X-original-sender: mark.powell@eds.com
Precedence: normal
Reply-To: mark.powell@eds.com
X-list: oracle-l
X-Virus-Scanned: by amavisd-new at freelists.org

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

