Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
Home -> Community -> Usenet -> c.d.o.server -> Re: Does Ref. Integrity help CBO ?
klabu wrote:
> 10gR2
>
> Does Ref. Integrity help CBO ?
> or maybe my Q should be: Does Statistics take RI into consideration ?
>
> So if say joining n tables....
> Does the fact that these tables have RI amongst them "help" CBO do a
> "better" job
> than if they just have PKs defined ?
>
>
> thanks, hope i'm making sense, I tried ;)
I very much doubt that the CBO does take this into account. Have you though of a test case where RI would help resolve something faster ... you could try it out to see if it makes any difference ...
cheers,
Martin
Received on Wed Oct 25 2006 - 17:11:54 CDT