Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
Home -> Community -> Usenet -> c.d.o.server -> Re: Local indexes
amerar_at_my-deja.com wrote:
>
> Hello,
>
> I have a question. I am about to partition a very large table. The
> table holds about 5 million records. This table also has a primary key.
> When you define a primary key on a table, it also creates an index.
> Can I make this index local so it is also partitioned?
>
> I am unsure because the index is 'automatically' created when you define
> the primary key constraint.........
>
> Please cc a copy to: amerar_at_ci.chi.il.us
>
> Thanks,
>
> Arthur
> amerar_at_ci.chi.il.us
>
> Sent via Deja.com http://www.deja.com/
> Before you buy.
Include the partition key in the primary key definition.
Then create the index first before adding the constraint.
HTH
-- =========================================== Connor McDonald http://www.oracledba.co.uk We are born naked, wet and hungry...then things get worseReceived on Thu Jun 08 2000 - 00:00:00 CDT