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: clarification on foreign key constraint and foreign key index

Re: clarification on foreign key constraint and foreign key index

From: Van Messner <vmessner_at_bestweb.net>
Date: Thu, 7 Aug 2003 16:37:59 -0400
Message-ID: <vj5e9f6jq5bsf2@corp.supernews.com>


If you have some typical queries, you can use OEM to create a virtual index with the extra column. Then for each query you can get a side-by-side comparison of the explain plans with the existing index and with the virtual index.

"Ted Chyn" <tedchyn_at_yahoo.com> wrote in message news:44a19320.0308071151.155f6b02_at_posting.google.com...
> Sir,
>
> Can any one shed the light on following FK question.
>
> Table1 primary key c1
> Table2 contain foreign key constraint for c1 from table1
>
> Generally a index need to be created on c1(table2) for many reasons.
> My question is what kind shortcoming and potential problem I may
> encounter, if I create an index on c1 + another column on table2 -
> sort of like partial foreign key index ?
>
>
> thanks a lot
> ted
Received on Thu Aug 07 2003 - 15:37:59 CDT

Original text of this message

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