2012-08-06 94 views
0

無法從Oracle 11g EE中創建的轉儲中恢復Oracle 11g XE中的方案。無法從Oracle 11g中創建的轉儲中恢復Oracle 11g XE中的方案EE

我用了utility expdp/impdp。

上的Oracle 11g XE的恢復方面,不是所有架構表,這裏有從日誌的一些摘錄 -

... 
ORA-31684: Object type USER:"GAZ" already exists 
... 
ORA-39083: Object type TYPE failed to create with error: 
ORA-02304: invalid object identifier literal 
... 
ORA-39082: Object type TYPE:"GAZ"."T_DATASET_INFO" created with compilation warnings 
ORA-39082: Object type TYPE:"GAZ"."T_DATASET_INFO" created with compilation warnings 
ORA-39082: Object type TYPE:"GAZ"."T_FIELDVALUE_INFO" created with compilation warnings 
ORA-39082: Object type TYPE:"GAZ"."T_FIELDVALUE_INFO" created with compilation warnings 
ORA-39082: Object type TYPE:"GAZ"."STRING_AGG_TYPE" created with compilation warnings 
ORA-39082: Object type TYPE:"GAZ"."STRING_AGG_TYPE" created with compilation warnings 
... 
ORA-39112: Dependent object type OBJECT_GRANT:"GAZ" skipped, base object type TYPE:"GAZ"."PARMS" creation failed 
ORA-39112: Dependent object type OBJECT_GRANT:"GAZ" skipped, base object type TYPE:"GAZ"."T_FIELDVALUE_RECORD" creation failed 
ORA-39112: Dependent object type OBJECT_GRANT:"GAZ" skipped, base object type TYPE:"GAZ"."T_DATASET_RECORD" creation failed 
... 
ORA-00439: feature not enabled: Deferred Segment Creation 
... 
ORA-39083: Object type TABLE:"GAZ"."ACTDOCS" failed to create with error: 
ORA-00439: feature not enabled: Deferred Segment Creation 
... 
ORA-39083: Object type TABLE:"GAZ"."DOCUM_NOTICE" failed to create with error: 
ORA-00439: feature not enabled: Deferred Segment Creation 
... 
ORA-00439: feature not enabled: Fine-grained access control 
... 
ORA-39083: Object type RLS_POLICY failed to create with error: 
ORA-00439: feature not enabled: Fine-grained access control 
... 
ORA-39083: Object type RLS_POLICY failed to create with error: 
ORA-00439: feature not enabled: Fine-grained access control 
... 
ORA-39083: Object type PROCACT_INSTANCE failed to create with error: 
ORA-01403: no data found 
ORA-01403: no data found 
ORA-01403: no data found 
... 
ORA-39083: Object type PROCACT_INSTANCE failed to create with error: 
ORA-01403: no data found 
ORA-01403: no data found 
ORA-01403: no data found 
... 
Job "SYS"."SYS_IMPORT_SCHEMA_01" completed with 3397 error(s) at 17:53:03 

可以在該上的Oracle 11g EE連載的側創建轉儲工具方案不受impdp Oracle 11g XE支持?

回答

3

有幾種類型的錯誤invovled。但是,他們兩個確實與在企業版,但不是在速成版中提供的功能:

ORA-00439: feature not enabled: Deferred Segment Creation 

ORA-00439: feature not enabled: Fine-grained access control 

它的確不可能直接導入這些轉儲。作爲一種解決方法,您可以在導入轉儲之前嘗試自己創建有問題的表。使用源系統中的定義並刪除或替換不支持的功能。一旦表存在,導入將發出一個警告,表已經存在,但是如果模式兼容,它應該導入數據。

有關細粒度訪問控制的錯誤最初可以忽略。但對於生產性用途,您需要想出另一種控制數據訪問的方式。

+0

@ Codo-非常感謝您的回覆!我會試試看。 – 2012-08-06 09:37:36

+0

@ Codo-謝謝!它幫助! – 2012-08-06 16:09:11