Unix Technical Forum

Another index question

This is a discussion on Another index question within the Oracle Database forums, part of the Database Server Software category; --> For tables that have indexes at one column per index (for the columns that have indexes), is there any ...


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-22-2008, 05:38 PM
dsb
 
Posts: n/a
Default Another index question

For tables that have indexes at one column per index (for the columns that
have indexes), is there any benefit (apart from possibly storing data more
efficiently) to combine the columns into one index? Could it save an I/O or
two, for example?

Background - we just stopped supporting Oracle 7 so we haven't (yet)
implmenented bitmap indexes, IOT's, etc.

Thanks,
dsb


Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2 (permalink)  
Old 02-22-2008, 05:38 PM
Sybrand Bakker
 
Posts: n/a
Default Re: Another index question

On Tue, 1 Jul 2003 12:22:18 -0700, "dsb" <dana@iqms.com> wrote:

>For tables that have indexes at one column per index (for the columns that
>have indexes), is there any benefit (apart from possibly storing data more
>efficiently) to combine the columns into one index? Could it save an I/O or
>two, for example?
>
>Background - we just stopped supporting Oracle 7 so we haven't (yet)
>implmenented bitmap indexes, IOT's, etc.
>
>Thanks,
>dsb
>



Oracle is capable of merging indexes on the fly.
So the answer to generic questions like this one is, as usual: it
depends.
The problem with your approach is that you may likely setup an
incorrect column as 'leading', so your index isnt' being used anyway.



Sybrand Bakker, Senior Oracle DBA

To reply remove -verwijderdit from my e-mail address
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 12:09 AM.


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