标签:11G rows imported app 备份文件 IMP 12.1 importing table
ORA: ORACLE12C导入11G IMP备份文件
前提:用户传一个ORACLE11G (版本11.2.0.1.0) 的IMP备份文件,需要分析效率。
将其还原到 WIN2012+ ORACLE 12C环境。
还原过程如下:
D:\app\product\12.1.0\dbhome_1\BIN>impDP 'sys/dba密码 as sysdba' directory=DA
TA_DUMP_DIR schemas=system dumpfile=EVCTMSdb.dmp
Import: Release 12.1.0.1.0 - Production on Sat Aug 20 06:35:39 2022
Copyright (c) 1982, 2013, Oracle and/or its affiliates. All rights reserved.
Connected to: Oracle Database 12c Release 12.1.0.1.0 - 64bit Production
ORA-39002: invalid operation
ORA-39070: Unable to open the log file.
ORA-39087: directory name DATA_DUMP_DIR is invalid
原因:
原值: “D:\app/admin/orcl/dpdump/” 表述不正确
解决方式:
重建立有效的备份路径
create OR REPLACE directory DATA_PUMP_DIR as 'D:\app\admin\orcl\dpdump';
D:\app\product\12.1.0\dbhome_1\BIN>
D:\app\product\12.1.0\dbhome_1\BIN>impDP 'sys/dba密码 as sysdba' directory=BA
CKUP_DIR TABLESPACES=CTMS dumpfile=EVCTMSdb.dmp
Import: Release 12.1.0.1.0 - Production on Sat Aug 20 06:47:05 2022
Copyright (c) 1982, 2013, Oracle and/or its affiliates. All rights reserved.
Connected to: Oracle Database 12c Release 12.1.0.1.0 - 64bit Production
ORA-39001: invalid argument value
ORA-39000: bad dump file specification
ORA-39143: dump file "D:\app\admin\orcl\dpdump\EVCTMSdb.dmp" may be an original
export dump file
D:\app\admin\orcl\dpdump>imp system/dba密码 file=EVCTMSdb.dmp grants=no full=y
Import: Release 12.1.0.1.0 - Production on Sat Aug 20 07:08:37 2022
Copyright (c) 1982, 2013, Oracle and/or its affiliates. All rights reserved.
Connected to: Oracle Database 12c Release 12.1.0.1.0 - 64bit Production
Export file created by EXPORT:V11.02.00 via conventional path
Warning: the objects were exported by CTMS, not by you
import done in ZHS16GBK character set and AL16UTF16 NCHAR character set
import server uses AL32UTF8 character set (possible charset conversion)
export client uses WE8ISO8859P1 character set (possible charset conversion)
. importing CTMS's objects into SYSTEM
. . importing table "ACTIVITY" 106 rows imported
. . importing table "ALTER_INFO" 0 rows imported
. . importing table "ALTER_SETTING" 0 rows imported
. . importing table "ARR_RULE_SET" 0 rows imported
. . importing table "ASSIGN_CLASS" 0 rows imported
. . importing table "AUTOGATE_MSG" 966579 rows imported
. . importing table "BACKUP_DOC_INFO" 0 rows imported
. . importing table "BERTH_YARD_LOC" 0 rows imported
. . importing table "BKG_PKE_DTL" 52497 rows imported
. . importing table "BKG_VAN_DTL" 0 rows imported
. . importing table "BL_MATCH" 37 rows imported
. . importing table "BOARDING_INFO" 0 rows imported
Column 163
IMP-00019: row rejected due to ORACLE error 12899
IMP-00003: ORACLE error 12899 encountered
ORA-12899: value too large for column "SYSTEM"."BOOKING_HIST"."PLACE" (actual: 2
2, maximum: 20)
Column 1 PE1905010062
Column 2 1
标签:11G,rows,imported,app,备份文件,IMP,12.1,importing,table 来源: https://www.cnblogs.com/samrv/p/16607078.html
本站声明: 1. iCode9 技术分享网(下文简称本站)提供的所有内容,仅供技术学习、探讨和分享; 2. 关于本站的所有留言、评论、转载及引用,纯属内容发起人的个人观点,与本站观点和立场无关; 3. 关于本站的所有言论和文字,纯属内容发起人的个人观点,与本站观点和立场无关; 4. 本站文章均是网友提供,不完全保证技术分享内容的完整性、准确性、时效性、风险性和版权归属;如您发现该文章侵犯了您的权益,可联系我们第一时间进行删除; 5. 本站为非盈利性的个人网站,所有内容不会用来进行牟利,也不会利用任何形式的广告来间接获益,纯粹是为了广大技术爱好者提供技术内容和技术思想的分享性交流网站。