简体   繁体   English

如何使用 Datapump 将模式从 oracle 11g(linux) 导出到 windows(19c)

[英]How to export schemas from oracle 11g(linux) to windows(19c) using Datapump

I am using Oracle 11.2.0.3 version in linux environment i want to import my schemas to oracle 19c windows.我在 linux 环境中使用 Oracle 11.2.0.3 版本我想将我的模式导入到 oracle 19c windows。

I am using below commands我正在使用以下命令

Exported from - schemas in Linux =oracle 11.2.0.3导出自 - Linux =oracle 11.2.0.3 中的模式

expdp username/pwd DUMPFILE=file.dmp LOGFILE=file.log DIRECTORY=TEMPDIR SCHEMAS=A,B,C,D,E

And imported schemas in windows =oracle 19c并在 windows =oracle 19c 中导入模式

impdp username/pwd DUMPFILE=file.dmp LOGFILE=file.log DIRECTORY=TEMPDIR DIRECTORY=NEW FULL=y 

Two ora errors i got我得到了两个 ora 错误

ORA-39083: Object type TABLE:"schema"."table" failed to create with error:
ORA-00904: "SYS_STSX8$DPRIW_E8FERF4S_57KS3": invalid identifier

Let me know any thing i need to change in while taking IMPDP让我知道我在参加 IMPDP 时需要改变的任何事情

Generally speaking, when using data pump between two different database versions, you should一般来说,在两个不同的数据库版本之间使用数据泵时,你应该

  • perform export using source Export Data Pump utility (11g in your case)使用源导出数据泵实用程序执行导出(在您的情况下为 11g)
  • perform import using target Import Data Pump utility (19c in your case)使用目标导入数据泵实用程序执行导入(在您的情况下为 19c)

Did you do that?是你做的吗?

For much more info , read Doc ID 553337.1 on My Oracle Support (quite a lengthy document, but it should answer all questions you might have).有关更多信息,请阅读我的 Oracle 支持上的文档 ID 553337.1(相当冗长的文档,但它应该可以回答您可能遇到的所有问题)。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM