IMPDP WITH REMAP_TABLESPACE PARAMETER DOES NOT WORK FOR SPATIAL/DOMAIN INDEXES CAUSES ORA-00959

(Doc ID 1067594.1)

Last updated on FEBRUARY 08, 2017

Applies to:

Oracle Spatial - Version: 10.1.0.1 and later   [Release: 10.1 and later ]
Information in this document applies to any platform.
***Checked for relevance on 31-Mar-2012***

Symptoms

Impdp with REMAP_TABLESPACE parameter does not work for spatial/domain indexes causes error ora-00959

impdp system directory=expdir dumpfile=dcdb.dmp logfile=import_dcdb.log remap_schema=LANDBASE_MAIN:DCDB_MAIN remap_tablespace=LANDBASE_DATA:DCDB_DATA,LANDBASE_INDEXES:DCDB_INDEXES
.
.
ORA-00959: tablespace 'LANDBASE_INDEXES' does not exist
Failing sql is:
CREATE INDEX "DCDB_MAIN"."RESERVE_SP_IDX" ON "DCDB_MAIN"."RESERVE" ("AREA_GEOM") INDEXTYPE IS "MDSYS"."SPATIAL_INDEX" PARAMETERS ('layer_gtype=MULTIPOLYGON TABLESPACE=LANDBASE_INDEXES')PARALLEL 1

It hasn't remapped the TS for this index to remap tablesapce DCDB_INDEXES, hence its failing
ORA-00959: tablespace 'LANDBASE_INDEXES' does not exist

Cause

Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms