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: advice required on partioning

RE: advice required on partioning

From: Christian Antognini <Christian.Antognini_at_trivadis.com>
Date: Wed, 26 Jan 2005 15:24:17 +0100
Message-ID: <2CF83791A616BB4DA203FFD13007824A01E6B32D@MSXVS02.trivadis.com>


Hi John

>1. Partition the table by the date column

Good for the drops.

>2. Create a local partitioned index using that column

According to your description you don't need it.

>3. Create 2 other indexes on the 2 columns used for select statements.
>Should these be non-partitioned or global partitioned?

To drop partitions local indexes should be better.=20

For queries it's important to know if partition pruning will be used or = not:
- If it is used (i.e. if you have a restriction on the partition key) = and you get data from few partitions, go for local indexes. - If it's not used (i.e. if you have no restriction on the partition = key) and/or you have to scan a large amount of partitions, this can lead = to poor performance with local indexes --> global or non partitioned = indexes are better to speedup large range scans without partition = pruning.

HTH
Chris

--
http://www.freelists.org/webpage/oracle-l
Received on Wed Jan 26 2005 - 09:27:17 CST

Original text of this message

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