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: alter index??

RE: alter index??

From: Glenn Travis <c-glenn.travis_at_wcom.com>
Date: Tue, 31 Jul 2001 10:35:09 -0700
Message-ID: <F001.0035A92D.20010731104726@fatcity.com>

Again, I will post that there is a bug in using 'alter index indexname rebuild online;' in 8i.

Metalink Doc 125149.1 (among others, look for them all) says;

"The "ONLINE" option of "ALTER INDEX .. REBUILD ONLINE" was introduced   in Oracle8i. This feature enables an index to be rebuilt whilst DML   continues against the table. This bug can produce a corrupt index when   using the REBUILD ONLINE functionality thus:

    Once an online rebuild has begun, any user transaction that updates the     index will generate corrupt undo which is written to the rollback segment

    and redo log. If this corrupt undo is applied either due to process     death or instance death, or following a point in time recovery, it will     corrupt the index (or IOT). A user session rollback will not introduce     the corruption.

  This problem can result in an index/table data mismatch.   Eg: There may be an index entry with no matching table row.

  The same problem exists when performing a "MOVE ONLINE" of an IOT (index   only table)."

Buyer beware. I always use 'alter index indexname rebuild;'.

-----Original Message-----
Sent: Tuesday, July 31, 2001 12:26 PM
To: Multiple recipients of list ORACLE-L

Use the alter index rebuild command. It uses the existing index to build the new one rather than going to the table.

> -----Original Message-----
> From: Raghu Kota [mailto:raghukota_at_hotmail.com]
> Sent: Tuesday, July 31, 2001 11:23 AM
> To: Multiple recipients of list ORACLE-L
> Subject: alter index??
>
>
>
> Hi Friends
>
> What is the best way of rebuilding of following Index??
>
> Index has total size 5.8Gb But lot of deletions, may be the
> real data around
> 2.5Gb has initial extent 71M, next 197M. So How my doubt
> which is best way
> for setting initial=next or give more space for initial for
> putting more
> data in initial itself and keep next as it is??? Any ideas???
>
> Thanks in advance
> Raghu.
>
>
> _________________________________________________________________
> Get your FREE download of MSN Explorer at
http://explorer.msn.com/intl.asp

--
Please see the official ORACLE-L FAQ: http://www.orafaq.com
--
Author: Raghu Kota
  INET: raghukota_at_hotmail.com

Fat City Network Services    -- (858) 538-5051  FAX: (858) 538-5051
San Diego, California        -- Public Internet access / Mailing Lists
--------------------------------------------------------------------
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).
--
Please see the official ORACLE-L FAQ: http://www.orafaq.com
--
Author: Page, Bruce
  INET: Bruce.Page_at_BellSouth.com

Fat City Network Services    -- (858) 538-5051  FAX: (858) 538-5051
San Diego, California        -- Public Internet access / Mailing Lists
--------------------------------------------------------------------
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).

-- 
Please see the official ORACLE-L FAQ: http://www.orafaq.com
-- 
Author: Glenn Travis
  INET: c-glenn.travis_at_wcom.com

Fat City Network Services    -- (858) 538-5051  FAX: (858) 538-5051
San Diego, California        -- Public Internet access / Mailing Lists
--------------------------------------------------------------------
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 Tue Jul 31 2001 - 12:35:09 CDT

Original text of this message

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