RE: Relocating LOB segment

From: Hameed, Amir <Amir.Hameed_at_xerox.com>
Date: Fri, 6 Feb 2015 11:48:29 +0000
Message-ID: <AF02C941134B1A4AB5F61A726D08DCED0E146CE7_at_USA7109MB012.na.xerox.net>



Thanks Brent. The DB version is 11.2.0.4.

From: Brent Day [mailto:coloradodba_at_gmail.com] Sent: Thursday, February 05, 2015 10:49 PM To: Hameed, Amir
Cc: oracle-l_at_freelists.org
Subject: Re: Relocating LOB segment

Sorry I hit send to soon.

Without knowing your version it is hard to give you correct information but I will give you a couple of thoughts that might help based on tools and methods I have used.

If you are on 11.2 and use SecureFiles then you can export with parallel. I have used this a few times but it does require the lob to already be stored as secure files. See metalink doc 1467662.1 for details.

Another alternative is to use DBMS_REDEFINITION. If you haven't used this tool before it is awesome. You can move the table behind the scenes while allowing transactions to continue (captured via materialize views behind the scene). Once the initial table create and data load is done you can sync the changes, then build your indexes, keys, etc. and then run the finalize procedure.

Hope that helps.
Brent

On Thu, Feb 5, 2015 at 8:34 PM, Brent Day <coloradodba_at_gmail.com<mailto:coloradodba_at_gmail.com>> wrote: Since it is a LOB you can't parallelize it.

http://docs.oracle.com/cd/E11882_01/server.112/e25523/parallel001.htm#CACGFHCC

You can typically use parallel DDL where you use regular DDL. There are, however, some additional details to consider when designing your database. One important restriction is that parallel DDL cannot be used on tables with object or LOB columns.

--
http://www.freelists.org/webpage/oracle-l
Received on Fri Feb 06 2015 - 12:48:29 CET

Original text of this message