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: How does dropping a partition affect the rest of the table?

Re: How does dropping a partition affect the rest of the table?

From: Gregory Conron <gconron_at_hfx.andara.com>
Date: Fri, 13 Apr 2001 14:33:12 -0700
Message-ID: <F001.002E97BD.20010413143028@fatcity.com>

On Fri, 13 Apr 2001, Cherie_Machler_at_gelco.com wrote:
> I've looked through the on-line documentation on dropping partitions
> but I have not seen the following question specifically addressed:
>
> How does dropping a date-range partition affect the rest of the
> table/partitions?

New data will be inserted into the next-highest partition. Current data in the partition will be lost.

> Can I drop an unneeded partition on the fly? What is the
> effect on performance of the rest of the table? Does anything
> need to be brought offline before I drop the desired partition?

The hit will be in rebuilding the indexes. Unless you have a large number of extents in the partition, it will drop very quickly - quick enough not to be noticeable unless a user is running a query or transaction against the data in the partition (the query/transaction will fail).

Cheers,
GC

-- 
Please see the official ORACLE-L FAQ: http://www.orafaq.com
-- 
Author: Gregory Conron
  INET: gconron_at_hfx.andara.com

Fat City Network Services    -- (858) 538-5051  FAX: (858) 538-5051
San Diego, California        -- Public Internet access / Mailing Lists
--------------------------------------------------------------------
To REMOVE yourself from this mailing list, send an E-Mail message
to: ListGuru_at_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).
Received on Fri Apr 13 2001 - 16:33:12 CDT

Original text of this message

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