RE: Relocating LOB segment

  • From: "Hameed, Amir" <Amir.Hameed@xxxxxxxxx>
  • To: Brent Day <coloradodba@xxxxxxxxx>
  • Date: Fri, 6 Feb 2015 11:48:29 +0000

Thanks Brent. The DB version is 11.2.0.4.

From: Brent Day [mailto:coloradodba@xxxxxxxxx]
Sent: Thursday, February 05, 2015 10:49 PM
To: Hameed, Amir
Cc: oracle-l@xxxxxxxxxxxxx
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@xxxxxxxxx<mailto:coloradodba@xxxxxxxxx>> 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.


Other related posts: