IMPDP [message #470760] |
Tue, 10 August 2010 11:30 |
Marnickxs
Messages: 9 Registered: August 2010 Location: The Netherlands
|
Junior Member |
|
|
Hi,
I want to import a schema from one database schema to another schema b
from db STBTST to STATST and from schema CMSSTAGINGB to CMSSTAGINGA
I first want to test this to my own schema (mvanmannekes)
CMSSTAGINGA is filled at the moment.
So i've created a dump from STBTST-CMSTAGINGB
For importing im using this statement:
impdp mvanmannekes/password schemas=cmsstagingb remap_tablespace=cmsliveb_data:cmslivea_data
remap_tablespace=cmsliveb_index:cmslivea_index
remap_schema=cmsstagingb:mvanmannekes directory=expdp_dir dumpfile=cmstagingb.dmp
I'm getting this:
Connected to: Oracle Database 10g Enterprise Edition Release 10.2.0.4.0 - 64bit Production
With the Partitioning, OLAP, Data Mining and Real Application Testing options
Master table "MVANMANNEKES"."SYS_IMPORT_SCHEMA_01" successfully loaded/unloaded
Starting "MVANMANNEKES"."SYS_IMPORT_SCHEMA_01": mvanmannekes/********
schemas=cmsstagingb remap_tablespace=cmsliveb_data:cmslivea_data
remap_tablespace=cmsliveb_index:cmslivea_index
remap_schema=cmsstagingb:mvanmannekes directory=expdp_dir dumpfile=cmstagingb.dmp
Processing object type SCHEMA_EXPORT/PRE_SCHEMA/PROCACT_SCHEMA
Processing object type SCHEMA_EXPORT/TABLE/TABLE
ORA-39083: Object type TABLE failed to create with error:
ORA-00959: tablespace 'CMSSTAGINGB_DATA' does not exist
Failing sql is:
CREATE TABLE "MVANMANNEKES"."BOL_CONTENT_MENU_PROPS" ("ID" VARCHAR2(254)
CONSTRAINT "BOL_CMS_CHK01" NOT NULL ENABLE NOVALIDATE, "TAB_CSS_NAME"
VARCHAR2(254), "TAB_ACCESS_KEY" VARCHAR2(254), "ACL" VARCHAR2(4000))
PCTFREE 10 PCTUSED 0 INITRANS 40 MAXTRANS 255 NOCOMPRESS
LOGGING STORAGE(INITIAL 65536 NEXT 1048576 MINEXTENTS 1
MAXEXTENTS 2147483645 PCTINCREASE 0 FREELISTS 1 FREELIS
Why?
|
|
|
|
Re: IMPDP [message #470763 is a reply to message #470762] |
Tue, 10 August 2010 11:34 |
Marnickxs
Messages: 9 Registered: August 2010 Location: The Netherlands
|
Junior Member |
|
|
Thats true...but why its expecting tablespace CMSSTAGINGB_DATA there is no refer to that tablespace.
|
|
|
|
|