Re: Moving LOB's from tablespace to tablespace

From: <lyallbarbour_at_sanfranmail.com>
Date: Tue, 27 Oct 2009 11:43:22 -0400
Message-Id: <8CC253359128C8B-11B4-518_at_web-mmc-d07.sysops.aol.com>


Thanks for the replies everyone. I rebuilt the indexes and understand the ALTER TABLE command for moving objects around a bit more now. Cheers,
Lyall

-----Original Message-----
From: Rodd Holman <rodd.holman_at_gmail.com> Cc: oracle-l_at_freelists.org
Sent: Tue, Oct 27, 2009 11:04 am
Subject: Re: Moving LOB's from tablespace to tablespace

Add the "update indexes" statement to the end of your alter table move command and Oracle will automatically fix the unusable indexes. I do this all the time works like a charm. It adds some time to your move command, but you're going to spend that time manually rebuilding the indexes anyway,.  

--Rodd
Ric Van Dyke wrote:
>
> That seems expected to me, you just MOVED all the data, the indexes > will have to be rebuild to point at the new location of all the LOBs. >
> -----------------------
>
> Ric Van Dyke
>
> Hotsos Enterprises
>
> -----------------------
>
> *From:* oracle-l-bounce_at_freelists.org > [mailto:oracle-l-bounce_at_freelists.org] *On Behalf Of > *lyallbarbour_at_sanfranmail.com
> ** >
> So, i had to move some LOB's from tablespace to different tablespace > using the ALTER TABLE command. Thing is, after i did this, a bunch of > indexes became UNUSABLE. Also, these indexes weren't on the LOB's... > Anyone know what i did wrong? Or what happened?
>

-- 
http://www.freelists.org/webpage/oracle-l 
 


--
http://www.freelists.org/webpage/oracle-l
Received on Tue Oct 27 2009 - 10:43:22 CDT

Original text of this message