五月天青色头像情侣网名,国产亚洲av片在线观看18女人,黑人巨茎大战俄罗斯美女,扒下她的小内裤打屁股

歡迎光臨散文網(wǎng) 會(huì)員登陸 & 注冊(cè)

ORA-39142 ORA-39000 轉(zhuǎn)儲(chǔ)文件不兼容

2022-09-22 17:58 作者:夜灬長(zhǎng)夢(mèng)多  | 我要投稿

數(shù)據(jù)庫(kù):oracle 11.2.0.4
系統(tǒng):centos 7.9
問(wèn)題描述:將dmp文件執(zhí)行impdp導(dǎo)入時(shí)報(bào)錯(cuò)ORA-39142:版本號(hào)5.1 (在轉(zhuǎn)儲(chǔ)文件 "/tmp/DUMP1.DMP" 中)不兼容,如下所示:
[oracle@hisdb1 ~]$ impdp system/oracle_4U@192.168.133.160:1521/orcl directory=imp_dir dumpfile=DUMP1.DMP schemas=rmlis remap_tablespace=%:USERS cluster=n logfile=imprm.log
Import: Release 11.2.0.4.0 - Production on Tue Aug 9 22:36:53 2022
Copyright (c) 1982, 2011, Oracle and/or its affiliates. All rights reserved.
Connected to: Oracle Database 11g Enterprise Edition Release 11.2.0.4.0 - 64bit Production
With the Partitioning, Real Application Clusters, Automatic Storage Management, OLAP,
Data Mining and Real Application Testing options
ORA-39001: invalid argument value
ORA-39000: bad dump file specification
ORA-39142: incompatible version number 5.1 in dump file "/tmp/DUMP1.DMP"
異常原因:導(dǎo)致此錯(cuò)誤的原因?yàn)閛racle高版本導(dǎo)出,低版本導(dǎo)入造成.
解決方案:在源端加上version=版本號(hào)導(dǎo)出,如version=11.2
以下為MOS文檔相關(guān)信息:
Data Pump file version.
=======================
Version Written by Can be imported into Target:
Data Pump database with 10gR1 10gR2 11gR1 11gR2 12cR1 12cR2 18c 19c
Dumpfile Set compatibility 10.1.0.x 10.2.0.x 11.1.0.x 11.2.0.x 12.1.0.x 12.2.0.x 18.x.y.z 19.x.y.z
------------ --------------- ---------- ---------- ---------- ---------- ---------- ---------- ---------- ----------
0.1 10.1.x supported supported supported supported supported supported supported supported
1.1 10.2.x no supported supported supported supported supported supported supported
2.1 11.1.x no no supported supported supported supported supported supported
3.1 11.2.x no no no supported supported supported supported supported
4.1 12.1.x no no no no supported supported supported supported
5.1 12.2.x no no no no no supported supported supported
5.1 18.x.y no no no no no no supported supported
5.1 19.x.y no no no no no no no supported
比如:12.2導(dǎo)出的dmp文件版本位5.1,11.2的dmp版本位3.1,所以在導(dǎo)入時(shí)會(huì)出現(xiàn)ORA-39142:版本號(hào)5.1(在轉(zhuǎn)儲(chǔ)文件"/tmp/DUMP1.DMP"中)不兼容報(bào)錯(cuò)。
Export Use Export Data Pump parameter VERSION=...
From if dumpfile needs to be imported into a
Source Target Database with compatibility level
Database (value of init.ora/spfile parameter COMPATIBLE):
With
COMPATIBLE 10.1.0.x.y 10.2.0.x.y 11.1.0.x.y 11.2.0.x.y 12.1.0.x.y 12.2.0.x.y 18.x.y.z 19.x.y.z
---------- ------------- ------------- ------------- ------------- ------------- ------------- ------------ ------------
10.1.0.x.y - - - - - - - -
---------- ------------- ------------- ------------- ------------- ------------- ------------- ------------ ------------
10.2.0.x.y VERSION=10.1 - - - - - - -
---------- ------------- ------------- ------------- ------------- ------------- ------------- ------------ ------------
11.1.0.x.y VERSION=10.1 VERSION=10.2 - - - - - -
---------- ------------- ------------- ------------- ------------- ------------- ------------- ------------ ------------
11.2.0.x.y VERSION=10.1 VERSION=10.2 VERSION=11.1 - - - - -
---------- ------------- ------------- ------------- ------------- ------------- ------------- ------------ ------------
12.1.0.x.y VERSION=10.1 VERSION=10.2 VERSION=11.1 VERSION=11.2 - - - -
---------- ------------- ------------- ------------- ------------- ------------- ------------- ------------ ------------
12.2.0.x.y VERSION=10.1 VERSION=10.2 VERSION=11.1 VERSION=11.2 VERSION=12.1 - - -
---------- ------------- ------------- ------------- ------------- ------------- ------------- ------------ ------------
18.x.y.z VERSION=10.1 VERSION=10.2 VERSION=11.1 VERSION=11.2 VERSION=12.1 VERSION=12.2 - -
---------- ------------- ------------- ------------- ------------- ------------- ------------- ------------ ------------
19.x.y.z VERSION=10.1 VERSION=10.2 VERSION=11.1 VERSION=11.2 VERSION=12.1 VERSION=12.2 VERSION=18.x -
---------- ------------- ------------- ------------- ------------- ------------- ------------- ------------ ------------
所以12.2導(dǎo)出如果需要在11.2導(dǎo)入的話(huà),需要加入?yún)?shù)VERSION=11.2
[oracle@test ~]$ cat expdptest.sh
expdp sys/******@192.168.133.120:1521/orcl directory=expdpdir dumpfile=DUMP1.DMP logfile=expdp.log schemas=scott CLUSTER=N version=11.2


ORA-39142 ORA-39000 轉(zhuǎn)儲(chǔ)文件不兼容的評(píng)論 (共 條)

分享到微博請(qǐng)遵守國(guó)家法律
紫阳县| 威海市| 岳阳市| 黄龙县| 张家川| 阿克| 屯昌县| 海伦市| 武汉市| 瑞安市| 吴旗县| 长葛市| 雷山县| 吉木萨尔县| 中超| 航空| 依兰县| 应城市| 剑川县| 高雄市| 北安市| 井冈山市| 桃园市| 西藏| 海宁市| 周宁县| 高青县| 汝州市| 衡阳市| 洛阳市| 郧西县| 都匀市| 深水埗区| 阿克苏市| 叶城县| 华亭县| 迭部县| 理塘县| 沂南县| 根河市| 乌鲁木齐市|