Unix Technical Forum

non-unique index enforcing pk

This is a discussion on non-unique index enforcing pk within the Oracle Database forums, part of the Database Server Software category; --> Are there performance caveats on index access when enforcing a pk with a non-unique index? I see that a ...


Go Back   Unix Technical Forum > Database Server Software > Oracle Database

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 02-25-2008, 02:10 AM
tq
 
Posts: n/a
Default non-unique index enforcing pk


Are there performance caveats on index access when enforcing a pk with
a non-unique index?

I see that a query that specifies a single pk value against such a
table gets an INDEX RANGE SCAN rather than an INDEX UNIQUE SCAN. But
I'm wondering if it is actually more expensive in this case..?

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2 (permalink)  
Old 02-25-2008, 02:11 AM
Mark D Powell
 
Posts: n/a
Default Re: non-unique index enforcing pk

I do not have test runs to support my assertion but from the few times
I played with the feature I did not see any performance difference so I
believe that for most non-unique indexes where few additional columns
not part of the PK are included that only a very minor performance
difference would exist. For non-unique indexes where no extra columns
exist in the index the practical difference should be zero.

IMHO -- Mark D Powell --

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump


All times are GMT. The time now is 11:33 PM.


Powered by vBulletin® Version 3.6.5
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.2.0
www.UnixAdminTalk.com