My Oracle Support Banner

IMPDP WITH REMAP_TABLESPACE PARAMETER DOES NOT WORK FOR SPATIAL/DOMAIN INDEXES CAUSES ORA-00959 (Doc ID 1067594.1)

Last updated on APRIL 24, 2020

Applies to:

Oracle Spatial and Graph - Version 10.1.0.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=xxxxx:xxxxx remap_tablespace=xxxxx:xxxxx ,xxxxx:xxxxx
.
.
ORA-00959: tablespace 'xxxxx' does not exist
Failing sql is:
CREATE INDEX "xxxx"."RESERVE_SP_IDX" ON "xxxx"."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 'xxxx' does not exist

Cause

To view full details, sign in with your My Oracle Support account.

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


In this Document
Symptoms
Cause
Solution
References


My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.