oracle11g - SYSTEM tables import into other schema in oracle 11g -
i trying take oracle db backup using expdp. have specific case application table resides in system tablespace.
- the backup export of schema created options schemas=system , include=table:"like 'user%'" corresponds application tables.
- i have created schema user impexp has different tablespace allocated it. when try import .dmp file impexp, import unsuccessful stating "system"."user_sys_mast" exists. there way import table in newly created schema. tried using option remap_schema=system:impexp, seems error out saying ora-39013: remapping system schema not supported.
summarizing : want import application tables in system tablespace new tablespace 'impexp'.
please let me know if going wrong somewhere , trying isn't supported.
any appreciated.
this 1 of reasons why putting application tables in sys or system schemas considered bad practice. these schemas vital running of our databases , should not meddled with.
you have compounded bloomer naming tables prefix of user
, same convention data dictionary uses.
what need create new schema hold these tables. grant whatever privileges needs made think had owned system. move tables out of system schema.
to proper job should change application use new schema, temporary fix give system rights on tables , build synonyms them. if have time, change application. cause less grief in long run.
either way, able export data out of old database , target database using new schema.
Comments
Post a Comment