I'd use a sequential approach - not very elegant, but it should work:
- import only the metadata (into your "table" tablespace)
- move the LOB segments to the LOB tablespace
- move the indices to the index tablespace
- import the contents
Question
I'm facing a new problem about importing data on Oracle.
I've got a dump file of around 40GB, and I'm trying to import this to my Oracle Database 10g Release 10.2.0.4.0.
On our system we have 3 tablespaces (Datalob/Data and Index), one of our Customer is using only one tablespace (MIG).
if I try to import the data (from customer), I get the error ORA-01652 unable to extend segment by ... because i don't have enough space. too bad, I can't make the tablespace bigger/ or is not allowed.
is there a way to import the tablespace for Datalob(all lob fields) to the tablespace DATALOB, all index to INDEX and normal data to DATA?
like Remap_Tablespace=MIG(LOB):DATALOB remap_tablespcae=MIG(IDX):INDEX
Solution
I'd use a sequential approach - not very elegant, but it should work:
OTHER TIPS
Pre-create the table using the tablespaces you want and use TABLE_EXISTS_ACTION=APPEND.