Hello,

I have used this dynamic script (on 8.1.6.x and 8.1.7.x) successfully with
no corruption, for the past two years. The script actually moves the indexes
from where they are originally built on a data tblsp to its index tblsp.
However, dropping the "and tablespace_name = 'TBLSPD'", will result in a
in-situ rebuild, which is probably what you want. Perhaps your environment
is not conducive to index rebuilds ? I have 64-bit HP-UNIX, 32-bit oracle.

set pagesize 0
set lines 120
set verify off
set echo off
set feedback off
set head off
spool move_indexes.sql
select 'alter index '||index_name||' rebuild tablespace TBLSPX; ' from
all_indexes where owner = 'MYSCHEMA' and tablespace_name = 'TBLSPD' order by
index_name;
spool off
start move_indexes

Thank you,

Paul Sherman
DBA
voice -  781-501-4143 (office)
fax    -  781-278-8341 (office)
email - [EMAIL PROTECTED]


-----Original Message-----
Sent: Tuesday, March 05, 2002 11:43 AM
To: Multiple recipients of list ORACLE-L


I'm still back on 8.1.6 and when I tried to use 'alter index rebuild online'
I got corrupted indexes. I saw on metalink that it's supposed to be fixed by
8.1.7.1 - anybody using successfully now?
-- 
Please see the official ORACLE-L FAQ: http://www.orafaq.com
-- 
Author: Shaw John-P55297
  INET: [EMAIL PROTECTED]

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: [EMAIL PROTECTED] (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: Sherman, Paul R.
  INET: [EMAIL PROTECTED]

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: [EMAIL PROTECTED] (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).

Reply via email to