Return-Path: <root@fatcity.cts.com>
Received: from ensim.rackshack.net (root@localhost)
 by orafaq.net (8.11.6/8.11.6) with ESMTP id h1M2GBC21770
 for <oracle-l@orafaq.net>; Fri, 21 Feb 2003 20:16:11 -0600
X-ClientAddr: 209.68.248.164
Received: from newsfeed.cts.com (newsfeed.cts.com [209.68.248.164])
 by ensim.rackshack.net (8.11.6/8.11.6) with ESMTP id h1M2GAQ21764
 for <oracle-l@orafaq.net>; Fri, 21 Feb 2003 20:16:10 -0600
Received: from fatcity.UUCP (uucp@localhost)
 by newsfeed.cts.com (8.9.3/8.9.3) with UUCP id OAA46679;
 Fri, 21 Feb 2003 14:59:40 -0800 (PST)
Received: by fatcity.com (26-Feb-2001/v1.0g-b72/bab) via UUCP id 005556BE; Fri, 21 Feb 2003 14:44:29 -0800
Message-ID: <F001.005556BE.20030221144429@fatcity.com>
Date: Fri, 21 Feb 2003 14:44:29 -0800
To: Multiple recipients of list ORACLE-L <ORACLE-L@fatcity.com>
X-Comment: Oracle RDBMS Community Forum
X-Sender: "Darrell Landrum" <DLANDRUM@zalecorp.com>
Sender: root@fatcity.com
Reply-To: ORACLE-L@fatcity.com
Errors-To: ML-ERRORS@fatcity.com
From: "Darrell Landrum" <DLANDRUM@zalecorp.com>
Subject: Re: Partition recovery question
Organization: Fat City Network Services, San Diego, California
X-ListServer: v1.0g, build 72; ListGuru (c) 1996-2001 Bruce A. Bergman
Precedence: bulk
Mime-Version: 1.0
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: 8bit

Alter tablespace ... offline didn't work in testing I did in 8.1.6, as it wants to checkpoint and update the datafiles in that tablespace when taking it to offline status.
First alter database datafile '/missingdatafilename_goes_here' offline drop, then offline the tablespace.

>>> orarup@hotmail.com 02/21/03 04:15PM >>>
Dennis,

How about this strategy?

(1) Find out the tablespace the partition is in.
(2) ALTER TABLESPACE ... OFFLINE;
(3) ALTER TABLE ... DROP PARTITION ...

HTH.

Arup


----- Original Message -----
To: "Multiple recipients of list ORACLE-L" <ORACLE-L@fatcity.com>
Sent: Friday, February 21, 2003 1:55 PM


> Thanks Arup
>    I have tried some experiments on our test system. It is that old
problem
> of Oracle having so much integrity that you can't do something simple like
> that. When you try to just drop the partition, Oracle says "woops I can't
> read the file that partition is stored on".
>    Looks as if my only choice is to move the data to a temporary table,
> rebuild the table and partitions, and move the data back. I'm guessing
that
> will be faster than export/import. Fortunately it isn't an extremely large
> table.
>
> Dennis Williams
> DBA, 40%OCP, 100% DBA
> Lifetouch, Inc.
> dwilliams@lifetouch.com 
>
>
> -----Original Message-----
> Sent: Friday, February 21, 2003 9:50 AM
> To: Multiple recipients of list ORACLE-L
>
>
> Dennis,
>
> Why not just drop the partition?
>
> Arup
>
>
> ----- Original Message -----
> To: "Multiple recipients of list ORACLE-L" <ORACLE-L@fatcity.com>
> Sent: Friday, February 21, 2003 9:19 AM
>
>
> > I lost a data file that contained the tablespace for an empty partition.
I
> > dropped the datafile from Oracle, and the table itself seems okay, but
I'm
> > wondering what I can do with that partition. Can I simply merge that
> > partition with another partition? Any ideas especially if you've
> encountered
> > a similar situation would be welcome.
> >
> > Oracle 8.1.6
> > Alpha Tru64
> > Range partitions
> >
> >
> >
> >
> > Dennis Williams
> > DBA, 40%OCP, 100% DBA
> > Lifetouch, Inc.
> > dwilliams@lifetouch.com 
> >
> > --
> > Please see the official ORACLE-L FAQ: http://www.orafaq.net 
> > --
> > Author: DENNIS WILLIAMS
> >   INET: DWILLIAMS@LIFETOUCH.COM 
> >
> > Fat City Network Services    -- 858-538-5051 http://www.fatcity.com 
> > San Diego, California        -- Mailing list and web hosting services
> > ---------------------------------------------------------------------
> > To REMOVE yourself from this mailing list, send an E-Mail message
> > to: ListGuru@fatcity.com (note EXACT spelling of 'ListGuru') and in
> > the message BODY, include a line containing: UNSUB ORACLE-L
> > (or the name of mailing list you want to be removed from).  You may
> > also send the HELP command for other information (like subscribing).
> >
> --
> Please see the official ORACLE-L FAQ: http://www.orafaq.net 
> --
> Author: Arup Nanda
>   INET: orarup@hotmail.com 
>
> Fat City Network Services    -- 858-538-5051 http://www.fatcity.com 
> San Diego, California        -- Mailing list and web hosting services
> ---------------------------------------------------------------------
> To REMOVE yourself from this mailing list, send an E-Mail message
> to: ListGuru@fatcity.com (note EXACT spelling of 'ListGuru') and in
> the message BODY, include a line containing: UNSUB ORACLE-L
> (or the name of mailing list you want to be removed from).  You may
> also send the HELP command for other information (like subscribing).
> --
> Please see the official ORACLE-L FAQ: http://www.orafaq.net 
> --
> Author: DENNIS WILLIAMS
>   INET: DWILLIAMS@LIFETOUCH.COM 
>
> Fat City Network Services    -- 858-538-5051 http://www.fatcity.com 
> San Diego, California        -- Mailing list and web hosting services
> ---------------------------------------------------------------------
> To REMOVE yourself from this mailing list, send an E-Mail message
> to: ListGuru@fatcity.com (note EXACT spelling of 'ListGuru') and in
> the message BODY, include a line containing: UNSUB ORACLE-L
> (or the name of mailing list you want to be removed from).  You may
> also send the HELP command for other information (like subscribing).
>
-- 
Please see the official ORACLE-L FAQ: http://www.orafaq.net 
-- 
Author: Arup Nanda
  INET: orarup@hotmail.com 

Fat City Network Services    -- 858-538-5051 http://www.fatcity.com 
San Diego, California        -- Mailing list and web hosting services
---------------------------------------------------------------------
To REMOVE yourself from this mailing list, send an E-Mail message
to: ListGuru@fatcity.com (note EXACT spelling of 'ListGuru') and in
the message BODY, include a line containing: UNSUB ORACLE-L
(or the name of mailing list you want to be removed from).  You may
also send the HELP command for other information (like subscribing).

-- 
Please see the official ORACLE-L FAQ: http://www.orafaq.net
-- 
Author: Darrell Landrum
  INET: DLANDRUM@zalecorp.com

Fat City Network Services    -- 858-538-5051 http://www.fatcity.com
San Diego, California        -- Mailing list and web hosting services
---------------------------------------------------------------------
To REMOVE yourself from this mailing list, send an E-Mail message
to: ListGuru@fatcity.com (note EXACT spelling of 'ListGuru') and in
the message BODY, include a line containing: UNSUB ORACLE-L
(or the name of mailing list you want to be removed from).  You may
also send the HELP command for other information (like subscribing).

