我是靠谱客的博主 笨笨芒果,最近开发中收集的这篇文章主要介绍传输表空间导入时遇到ORA-19721,觉得挺不错的,现在分享给大家,希望可以做个参考。

概述

-bash-3.00$ imp 'sys/system as sysdba' transport_tablespace=y file='/u02/exp_userstan.dmp'  log=/u02/imp-trans.log tablespaces=users,tan da
tafiles='/oracle/product/10.2.0/db_1/oradata/tan30/users01.dbf,/oracle/product/10.2.0/db_1/oradata/tan30/tan01.dbf'

Import: Release 10.2.0.2.0 - Production on Thu May 10 15:53:15 2012

Copyright (c) 1982, 2005, Oracle.  All rights reserved.


Connected to: Oracle Database 10g Enterprise Edition Release 10.2.0.2.0 - Production
With the Partitioning, OLAP and Data Mining options

Export file created by EXPORT:V10.02.01 via conventional path
About to import transportable tablespace(s) metadata...
import done in ZHS16GBK character set and AL16UTF16 NCHAR character set
import server uses WE8ISO8859P1 character set (possible charset conversion)
export client uses US7ASCII character set (possible charset conversion)
. importing SYS's objects into SYS
. importing SYS's objects into SYS
IMP-00017: following statement failed with ORACLE error 19721:
 "BEGIN   sys.dbms_plugts.checkDatafile(NULL,3110755274,4,640,4,4,4194302,160"
 ",10566,630349,446075,16777218,NULL,NULL,NULL); END;"
IMP-00003: ORACLE error 19721 encountered
ORA-19721: Cannot find datafile with absolute file number 4 in tablespace USERS
ORA-06512: at "SYS.DBMS_PLUGTS", line 2065
ORA-06512: at line 1
IMP-00000: Import terminated unsuccessfully
-bash-3.00$


在传输表空间导入时,发现上面的错误,可是路径文件名均正确,但就是报错,折腾了不少时间,最后删除重新拷贝正常。

最后

以上就是笨笨芒果为你收集整理的传输表空间导入时遇到ORA-19721的全部内容,希望文章能够帮你解决传输表空间导入时遇到ORA-19721所遇到的程序开发问题。

如果觉得靠谱客网站的内容还不错,欢迎将靠谱客网站推荐给程序员好友。

本图文内容来源于网友提供,作为学习参考使用,或来自网络收集整理,版权属于原作者所有。
点赞(34)

评论列表共有 0 条评论

立即
投稿
返回
顶部