Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Mailing Lists -> Oracle-L -> Re: Was: Rebuilding Indexes, Now: KEEP INDEX

Re: Was: Rebuilding Indexes, Now: KEEP INDEX

From: Rachel Carmichael <wisernet100_at_yahoo.com>
Date: Sun, 29 Dec 2002 17:33:41 -0800
Message-ID: <F001.00523F18.20021229173341@fatcity.com>


> unique constraint, unique index:
> - "keep index" redundant because effectively retains
> the constraint anyway (because you still can't insert
> dups)
>

you can insert dups via sqlloader using direct=true

so in my case, this would indeed be helpful and without the "keep index" I lose the index when I do an alter table drop constraint

Keep index sounds like it will help me in this scenario:

primary key constraint with unique index insert dups via sqlloader & direct=true
drop constraint with keep index
recreate constraint with exceptions into exceptions table delete dups
re-enable constraint

this doesn't happen often, and we are working to fix the app so it doesn't put the dups into the input file for the sqlload. However, until it gets fixed, I need to do the above so that we actually have usable indexes on the partitioned fact tables


Do you Yahoo!?
Yahoo! Mail Plus - Powerful. Affordable. Sign up now. http://mailplus.yahoo.com
-- 
Please see the official ORACLE-L FAQ: http://www.orafaq.net
-- 
Author: Rachel Carmichael
  INET: wisernet100_at_yahoo.com

Fat City Network Services    -- 858-538-5051 http://www.fatcity.com
San Diego, California        -- Mailing list and web hosting services
---------------------------------------------------------------------
To REMOVE yourself from this mailing list, send an E-Mail message
to: ListGuru_at_fatcity.com (note EXACT spelling of 'ListGuru') and in
the message BODY, include a line containing: UNSUB ORACLE-L
(or the name of mailing list you want to be removed from).  You may
also send the HELP command for other information (like subscribing).
Received on Sun Dec 29 2002 - 19:33:41 CST

Original text of this message

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