Newsgroups: comp.databases.oracle.server
From: Pat <pat.ca...@service-now.com>
Date: Sat, 12 Apr 2008 15:21:54 -0700 (PDT)
Local: Sat, Apr 12 2008 6:21 pm
Subject: Re: Oracle 11 and NLS Indexes
On Apr 12, 11:58 am, "Jonathan Lewis" <jonat...@jlcomp.demon.co.uk>
wrote: > Linguistic indexes do support "like" in11g, although Thanks Jonathan, that helps a bit. I didn't expect we could avoid an > like '%abcx%' > is not something you would expect an efficient path for, as it > has to check every entry anyway, however > like 'abc%' > will do the range scan you would hope for. > A good starting point for a little reading would be Richard Foote's blog: > http://richardfoote.wordpress.com/2008/01/03/introduction-to-linguist...... > -- > Jonathan Lewishttp://jonathanlewis.wordpress.com > Author: Cost Based Oracle: Fundamentalshttp://www.jlcomp.demon.co.uk/cbo_book/ind_book.html > The Co-operative Oracle Users' FAQhttp://www.jlcomp.demon.co.uk/faq/ind_faq.html > "Pat" <pat.ca...@service-now.com> wrote in message > news:85839221-9b90-4c90-baf3-67f376c483bc@l42g2000hsc.googlegroups.com... > > Folks, > > We've got an application that runs right now on Oracle 10g. The app > > ALTER SESSION SET NLS_COMP=LINGUISTIC > > To make this work efficiently, we added a large number of functional > > create index <something> on <table> (nlssort(<field>, > > By and large we've been happy with this result under 10g; it gives the > > There are a couple of issues which thought which, while not critical, > > Issue #1: LIKE operator doesn't seem to benefit from an nls index. I > > SELECT * from dog where breed LIKE '%hound%' > > won't benefit from an NLS index on breed. So for a couple of high > > create index this_is_unnatural on dog(nlssort(breed, > > By having both the nls and binary versions of breed in the index, I > > One of the DBAs I work with mentioned that this wasn't necessary > > Issue #2: NLS indexes just seem "slower" than binary indexes. I don't > > As you can probably tell, we're in the very early stages of looking > > In any event, if anybody has any experience to share with migrating an > > Any insight would be appreciated. > > --- Pat index full scan w/o some form of text index, but its nice to know that I'll at least be able to avoid a table scan w/o adding those bizarre double indexes. You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
| ||||||||||||||