Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Usenet -> c.d.o.server -> Re: REPOST: Re: global index and local index

Re: REPOST: Re: global index and local index

From: Stefan <sroesch3_at_attbi.com>
Date: Tue, 01 Jan 2002 04:51:59 GMT
Message-ID: <PfbY7.2929$4d5.20591@rwcrnsc54>


Uwe Schneider wrote:

> frank wrote:

>> 
>> Hello,
>> 
>> Does global index and local index concept used only in partition?

>
> I have heard about them only in conjunction with partitions.
>
>> Please give me an explanation on what's the difference of them.

>
> Local indexes are partitioned in the same manner as the table segment,
> i.e. the index data are in the same partition as the corresponding table
> data. Global index segments are unpartitioned.
>

That's plain wrong. Local indexes are partitioned with the same partitioning key (or a subset) as the table. Global partitioned indexes can have
a different partioning key. They can even be partitioned with the same key and still be global partitioned, because local indexes have to be created with the table. The difference is that in a global index one index partition may refer to more than one underlying table partition.

The main difference is in the maintenance/administration overhead between the two.

Hope this helps
Stefan

> Uwe
>
Received on Mon Dec 31 2001 - 22:51:59 CST

Original text of this message

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