What is the behavior difference of using a non-unique
index to enforce a unique/primary key constraint when
inserting a duplicate value ?
Index range scan ?
- Brian MacLean <bmaclean_at_vcommerce.com> a écrit : >
ahhhhhhhhhhh, mostly right. I found in v8.1.6 that
> if I use a non-unique
> index to enforce a unique/primary key constraint
> that the index does not
> drop when you drop the constraint.
>
> -----Original Message-----
> Sent: Friday, May 11, 2001 2:56 PM
> To: Multiple recipients of list ORACLE-L
>
>
> Hello, Cherie,
> Short note first - when you drop primary key the
> associated index will be
> dropped too.
> To partition the index you will create this index
> first and then
> alter table <table name> add constraint <index
> name> primary key(<column
> list>);
> HTH
> Vadim Gorbounov
> Brainbench Master Oracle DBA
> www.brainbench.com
>
>
> -----Original Message-----
> Sent: Friday, May 11, 2001 4:51 PM
> To: Multiple recipients of list ORACLE-L
>
>
>
> Oracle will automatically create an index for your
> primary
> key constraint.
>
> I have a lot of large partitioned tables in my data
> warehouse.
> All of my primary key indexes are non-partitioned.
> I would
> like them to be partitioned.
>
> When I drop the constraint and re-enable it, can I
> specify
> at that time that I want the index to be
> partitioned? Or do I
> need to drop my index and rebuild it to be
> partitioned after
> the fact?
>
> Is there any problem with having partitioned primary
> key indexes?
>
> Thanks,
>
> Cherie
>
> --
> Please see the official ORACLE-L FAQ:
> http://www.orafaq.com
> --
> Author:
> INET: Cherie_Machler_at_gelco.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).
> --
> Please see the official ORACLE-L FAQ:
> http://www.orafaq.com
> --
> Author: Vadim Gorbounov
> INET: vgorbounov_at_simplyengineering.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).
>
Stéphane Paquette
DBA Oracle, consultant entrepôt de données
Oracle DBA, datawarehouse consultant
stephane_paquette_at_yahoo.com
Do You Yahoo!? -- Pour faire vos courses sur le Net,
Yahoo! Shopping :
http://fr.shopping.yahoo.com
--
Please see the official ORACLE-L FAQ: http://www.orafaq.com
--
Author: =?iso-8859-1?q?paquette=20stephane?=
INET: stephane_paquette_at_yahoo.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 Tue May 15 2001 - 03:21:08 CDT