IMP-00003

IMP-00003: 遇到 ORACLE 错误 959 ORA-00959: 表空间 '' 不存在 描述 在使用imp命令将dmp文件导入oracle中时,遇到如下错误: IMP-00003: 遇到 ORACLE 错误 959 ORA-00959: 表空间 'TBS_CDUSER' 不存在 IMP命令如下: IMP cduser/cduser123@orcl file=D:\cduser20190417_owner.dmp full=y; 我想将备份文件导... 阅读详情

"BEGIN   SYS.DBMS_SNAPSHOT_UTL.SYNC_UP_LOG('HIS3BZ','MZ_GUAHAODY'); END;"
IMP-00003: 遇到 ORACLE 错误 1435
ORA-01435: 用户不存在
ORA-06512: 在 "SYS.DBMS_ISNAPSHOT", line 108
ORA-06512: 在 "SYS.DBMS_SNAPSHOT_UTL", line 1666
ORA-06512: 在 line 1
IMP-00000: 未成功终止导入


http://forums.oracle.com/forums/thread.jspa?threadID=669940

Import FROMUSER TOUSER errors with ORA-942 (Table does not Exist) in SYS.DBMS_SNAPSHOT_UTL.SYNC_UP_LOG [ID 294625.1]     
________________________________________
     Modified 19-FEB-2009     Type PROBLEM     Status PUBLISHED     

The information in this article applies to:
- Oracle Server - Enterprise Edition - Version: 8.1.7.0 to 10.2.0.0
- Oracle Server - Personal Edition   - Version: 8.1.7.0 to 10.2.0.0
- Oracle Server - Standard Edition   - Version: 8.1.7.0 to 10.2.0.0
This problem can occur on any platform.


ERRORS
------

IMP-00017: following statement failed with ORACLE error 942:
IMP-00003: ORACLE error 942 encountered
ORA-00942: table or view does not exist
ORA-06512: at "SYS.DBMS_SNAPSHOT_UTL", line 1589
ORA-06512: at line 1


SYMPTOMS
--------

You have created a snapshot log:

SQL> connect system/manager
SQL> grant create snapshot to scott;

SQL> connect scott/tiger
SQL> create snapshot my_snap as select * from emp;
SQL> create snapshot log on scott.emp;


You run a user level export:

% exp system/manager file=exp_s.dmp log=exp_s.log owner=scott

Export: Release 9.2.0.6.0 - Production on Tue Dec 28 08:06:12 2004
Copyright (c) 1982, 2002, Oracle Corporation.  All rights reserved.
Connected to: Oracle9i Enterprise Edition Release 9.2.0.6.0 - Production
...
Export terminated successfully without warnings.


You run a user level import, e.g. in a different database:

SQL> connect system/manager
SQL> create user hugo identified by hugo default tablespace
       users temporary tablespace temp
       quota unlimited on users;
SQL> grant create session, create table, create snapshot
     to hugo;

% imp system/manager file=exp_s.dmp log=imp_s.log fromuser=scott touser=hugo

Import: Release 9.2.0.6.0 - Production on Tue Dec 28 08:08:16 2004
Copyright (c) 1982, 2002, Oracle Corporation.  All rights reserved.
Connected to: Oracle9i Enterprise Edition Release 9.2.0.6.0 - Production
...
. importing SCOTT's objects into HUGO
. . importing table                        "BONUS"          0 rows imported
. . importing table                         "DEPT"          4 rows imported
. . importing table                          "EMP"         14 rows imported
. . importing table                    "MLOG$_EMP"          0 rows imported
. . importing table                      "MY_SNAP"         14 rows imported
. . importing table                     "SALGRADE"          5 rows imported
IMP-00017: following statement failed with ORACLE error 942:
 "BEGIN   SYS.DBMS_SNAPSHOT_UTL.SYNC_UP_LOG('SCOTT','EMP'); END;"
IMP-00003: ORACLE error 942 encountered
ORA-00942: table or view does not exist
ORA-06512: at "SYS.DBMS_SNAPSHOT_UTL", line 1589
ORA-06512: at line 1

Note that the line number in the first ORA-6512 error my differ between
versions:
- in  8.1.7.4.0: ORA-06512: at "SYS.DBMS_SNAPSHOT_UTL", line 1033
- in  9.2.0.6.0: ORA-06512: at "SYS.DBMS_SNAPSHOT_UTL", line 1589
- in 10.1.0.3.0: ORA-06512: at "SYS.DBMS_SNAPSHOT_UTL", line 1599
- in 10.2.0.4.0: ORA-06512: at "SYS.DBMS_SNAPSHOT_UTL", line 1666

Also note that the same errors occur when the export was done with a table
level export.

If the user SCOTT (FROMUSER) does not exist in the target database,
import aborts with:

 "CREATE SNAPSHOT LOG ON "SCOTT"."EMP" WITH PRIMARY KEY EXCLUDING NEW VALUES"
 "USING ("MLOG$_EMP", (...left_out...))"
IMP-00003: ORACLE error 1435 encountered
ORA-01435: user does not exist
IMP-00000: Import terminated unsuccessfully


CAUSE
-----

Snapshots, snapshot logs, and related items are exported with the schema name
explicitly given in the DDL statements; therefore, snapshots and their related
items cannot be imported into a different schema.

If you attempt to use FROMUSER and TOUSER to import snapshot data, an error
will be written to the Import log file and the items will not be imported.


FIX
---

It is expected behavior that the snapshot log cannot be imported with a
FROMUSER and TOUSER import. Therefore the errors should either be prevented
from happening, or be ignored:

1. Either delete the snapshot logs before the export takes place. Then run
the export and import. After import completes, re-create the snapshot logs
manually, and if necessary, perform a refresh of the snapshot.

2. Or ensure that the FROMUSER (SCOTT in this example) exists in the target
database, so the import session does not abort with the IMP-0 error
(Import terminated unsuccessfully). During the import, ignore the errors
that are related to the snapshot logs. After import completes, re-create
the snapshot logs manually, and if necessary, perform a refresh of the
snapshot.


REFERENCE
---------
Manual "Oracle9i Database Utilities Release 2 (9.2)", Chapter 2 "Import",
       section "Materialized Views and Snapshots"
Bug:2517178 "IMP-17 AND ORA-942 ERROR DURING IMPORT"



oracle导入备份DMP报实际值最大值错误 oracle跨版本导入备份DMP报实际值最大值错误 立即下载

相关推荐

FPGA时序约束--实战篇(读懂Vivado时序报告)

本文将详细介绍如何读懂Vivado时序报告,包括报告的基本结构和如何分析报告。

mengzaishenqiu的博客 1万+

oracle IMP EXP的技巧,和解决IMP-00003: 遇到 ORACLE 错误 1435 ORA-01435: 用户不存在

C:/>imp neohkdev1/xml full=y file=c:/neo.20070411.dmp Import: Release 10.2.0.1.0 - Production on 星期四 4月 12 10:06:45 2007 Copyright (c) 1982, 2005, Orac...

Pannahouse的博客 4709

硬件即代码:用软件工程思维拆解F450无人机装配的模块化设计哲学

本文探讨了如何用软件工程思维重构DJI-F450无人机的模块化设计,将硬件装配提升为可编程系统。通过硬件抽象层、控制系统分层架构和扩展槽位设计模式,展示了无人机装配的模块化哲学,并结合实际案例说明如何优化性能与安全性。

weixin_29294975的博客 390

Oracle导数常见问题-IMP-00003: 遇到 ORACLE 错误 20001,导数据出现问题

遇到这个错误是因为exp和imp的版本存在差异,最简单的解决方法是在写的sql语句后加上statistics=none,即: imp 用户名/密码@orcl log=D:\存放log的位置 file=D:\导入文件的位置 full=y ignore=y statistics=none  ...

数据小控 8303

从零到一:用STM32 FOC算法驯服无刷电机的艺术

本文详细介绍了如何使用STM32和FOC算法实现无刷电机的高性能控制。从硬件搭建、参数识别到闭环调节,一步步解析FOC算法的核心原理与调优技巧,帮助开发者掌握电机控制的关键技术,实现从零到一的精准驯服。

kkk56的博客 924

(篇八)C语言在母串删子串、输入位置截取子串

文章目录一、字符串二、删除指定的字符三、从母串中截取子串四、输入位置截取子串 本篇主要介绍C语言字符串中的相关操作,然后分析两个C语言实例——在母串中指定删除子串、在母串中截取子串 一、字符串 了解C 语言的都知道,C语言中没有字符串类型,所以C语言是用字符串常量、字符指针、字符数组来表示字符串。这些字符串都是以 NULL、’\0’或者ASCII==0来结尾。说白了就是一个个字符组成一串有序序列,...

Viewinfinitely的博客 1513

记录一次oracle解决使用imp导入时报错ORA-01435: 用户不存在

oracle解决imp导入报错ORA-01435:用户不存在

xioxi 2880

别再只做游戏了!用虚幻引擎5(UE5)给你的工厂车间做个数字双胞胎(附数据对接教程)

本文详细介绍了如何利用虚幻引擎5(UE5)构建工业数字孪生系统,实现工厂车间的智能可视化。通过UE5的高质量渲染和实时数据处理能力,结合OPC UA和MQTT协议,打造高效的数据对接方案,提升异常识别和设备管理效率。文章还分享了模型优化、可视化设计及典型工业场景的实战案例,助力企业迈向工业4.0。

weixin_33738555的博客 210

imp导入时遇到IMP-00003报错

其中ORA-06550报错,这个报错通常是因为是Oracle数据库在解析或执行PL/SQL代码时遇到语法或语义错误时抛出的异常。但在询问客户所给的源端数据库版本为11g,而导入的目标库为19c后,基本可以断定该导入告警与源端以及目标端数据库版本有关。在一次协助客户做imp导入操作,导入数据到一半时突然出现了几个IMP-00003、ORA-06550报错。使用exp或imp时加参数禁用统计信息的导出/导入,语句后面添加statistic=none。之后再次导入数据不再出现报错。

冥净的博客 718

头歌平台-云计算与大数据技术应用-docker容器使用-安装docker;创建和应用docker命令操作容器

头歌平台-云计算与大数据技术应用-docker容器使用-安装docker;创建和应用docker命令操作容器

大冬瓜qdq的博客 3479

Stata新手避坑:用reghdfe搞定行业、地区多重固定效应,告别‘共线性’报错

本文详细介绍了如何使用Stata中的reghdfe命令高效处理多重固定效应问题,解决传统方法在面板回归中遇到的共线性报错和低R²问题。通过实战案例和高级技巧,帮助新手快速掌握行业、地区等多维固定效应的控制方法,提升经济学和金融学研究的分析效率。

weixin_30635053的博客 425

imp-00003: 遇到 oracle 错误 604,imp ORA-00604: 递归错误

imp ora-00604 ora-06502错误ptm-c1的是生产库,一直都是10.2.0.4客户端是windows版10.2.0.1pri-1是测试库,之前的版本是10.2.0.1,导出导入都是正常的,上个星期把测试库升级到10.2.0.4就出现了今天无法导入的问题[oracle@pri-1 ~]$ imp test/test fromuser=pdid touser=test file=d...

weixin_39557576的博客 1139

回归预测 | MATLAB实现SVR(支持向量机回归)K折交叉验证

回归预测 | MATLAB实现SVR(支持向量机回归)K折交叉验证 目录回归预测 | MATLAB实现SVR(支持向量机回归)K折交叉验证基本介绍划分原理留一划分交叉验证K折交叉数据下载程序设计参考资料致谢 基本介绍 在机器学习里,通常来说我们不能将全部用于数据训练模型,否则我们将没有数据集对该模型进行验证,从而评估我们的模型的预测效果。为了解决这一问题,有如下常用的方法: 第一种是最简单的,也是很容易就想到的。我们可以把整个数据集分成两部分,一部分用于训练,一部分用于验证,这也就是我们经常提到的训练集

机器学习之心的博客,关注并私信文章链接,获取对应文章源码和数据。 6382

imp-00003:oracle error 959 encountered

imp-00003:oracle error 959 encountered 背景描述:今天imp 导入dmp,dmp中有6张表,且均为同一用户的表,其中四张导入成功,还有两张表导入失败,提示tablespaces does not exits,导入语句为: imp system/oracle123 file=/dmp/dmpfile.dmplog=/dmp/impfile.log fromuser=oracle touser=test 检查导入语句,指定表空间,添加ignore=y 参数后仍然报..

AChinesePaPa的博客 3998

Data-Structures-and-Algorithm-Analysis-in-Java.pdf

作者: Weiss, Mark A. 出版社: Addison Wesley Data Structures and Algorithm Analysis in Java is an “advanced algorithms” book that fits between traditional CS2 and Algorithms Analysis courses. In the old ACM Curriculum Guidelines, this course was known as CS7. This text is for readers who want to learn good programming and algorithm analysis skills simultaneously so that they can develop such programs with the maximum amo...

STM32F407中文手册

STM32f407中文手册 本参考手册面向应用开发人员,提供有关使用 STM32F405xx/07xx、STM32F415xx/17xx、 STM32F42xxx 和 STM32F43xxx 微控制器存储器与外设的完整信息。STM32F405xx/07xx、STM32F415xx/17xx、STM32F42xxx 和 STM32F43xxx 构成一个微 控制器系列,各产品具有不同的存储器大小、封装和外设。有关订购信息以及器件的机械与电气特性,请参见数据手册。有关 ARM Cortex™-M4F 内核的信息,请参见《Cortex™-M4F 技术参考手册》。

IMP-00003: 遇到 ORACLE 错误 6550 解决办法

报错:IMP-00003: 遇到 ORACLE 错误 6550 ORA-06550: 第 1 行, 第 190 列: PLS-00103: 出现符号 "涓囬"在需要下列之一时: 解决办法:在导入语句后面加上STATISTICS=NONE 再只执行语句即可

sinat_30257931的博客 4071

Camera2Demo

在Camera2 的基础上进行封装,使得Camera2一堆初始化逻辑与Activity分离,降低耦合度,完成预览拍照并保存的操作

oracle导入视图报错,exp/imp 报错处理(EXP-00003 / IMP-00019 / IMP-00058)

MOS 文章参考OERR: EXP 3 "no storage definition found for segment(%lu, %lu)" (文档 ID 21599.1)EXP-00003 When Exporting From 9.2.0.5.0 Or Any Higher Release With A Pre-9.2.0.5.0 Export Client (文档 ID 274076.1)...

weixin_36422707的博客 1777

老版QQ原生表情gif动态

这是老版的QQ表情,不过全是动态的的,Windows照片查看器是不会动的,可以右击用浏览器打开查看,再说一遍是老版的,只是分享给宁愿用老版也要动态的人。

oracle959错误,imp IMP-00003: ORACLE error 959 encountered ORA-00959 问题解决

exp 导出环境:Oracle Database 11g Enterprise Edition Release 11.2.0.1.0 - 64bit ProductionSQL> select * from nls_database_parameters where parameter=‘NLS_CHARACTERSET‘;PARAMETER VALUE------------------ ...

weixin_34036423的博客 779

IMP-00003:遇到ORACLE错误 27477,调度对象已存在

IMP-00003:遇到ORACLE错误 27477,调度对象已存在

zhouxukun123的专栏 5297

IMP-00003: ORACLE error 3113 encountered ORA-03113: end-of-file on communication channel

IMP-00003: ORACLE error 3113 encountered ORA-03113: end-of-file on communication channel . . importing table "SFP_FILE_6" 11179rows imported IMP-00017: following ...

weixin_33748818的博客 965

IMP-00019 IMP-00003 ORA-00001

IMP-00019 IMP-00003 ORA-00001

qq_44906603的博客 6248

oracle错误2304,IMP-00003: 遇到 ORACLE 错误 2304

环境: window server 2003+oracle 9.2.0.5从正式库导出数据nc31.dmp在测试环境中新建一个用户nc31,导入nc31.dmp出错我第一次成功导入过,不过这次导入就有问题连接到: Oracle9i Enterprise Edition Release 9.2.0.5.0 - ProductionWith the Partitioning, OLAP and Ora...

weixin_32043813的博客 1695

IMP-00003: 遇到 ORACLE 错误 1031

今天在导入数据库的时候(oracle)竟然提示了这样的错误:IMP-00003: 遇到 ORACLE 错误 1031 ORA-01031: 权限不足 IMP-00017: 由于 ORACLE 错误 1031, 以下语句失败:(语句略) 之前都没有遇到过这样的情况,导入语句:imp ncc3.6_smwl/ncc3.6_smwl@orcl E:\topo_20130507...

weixin_33862188的博客 3186

oracle导入报错2304,导入报错,在线等!IMP-00003: 遇到 ORACLE 错误 4071 等

导入时报 IMP-00003: 遇到 ORACLE 错误 4071、ORA-23421: 作业编号21在作业队列中不是一个作业、ORA-06512: 等错误。是什么原因呢?在线等。谢谢Microsoft Windows XP [版本 5.1.2600](C) 版权所有 1985-2001 Microsoft Corp.C:\Documents and Settings\Administrator&...

weixin_34081553的博客 1007

遇到oracle错误20001,IMP-00003: 遇到 ORACLE 错误 20001

今天使用imp导入备份数据的时候出现问题IMP-00003: 遇到 ORACLE 错误 20001ORA-20001: Invalid or inconsistent input valuesORA-06512: at "SYS.DBMS_STATS", line 4194ORA-06512: at line 1GOOGLE了一下,是版本差异引起的问题再去查看exp和imp的版本,果然是有差异,e...

weixin_35578748的博客 998
上一篇: Oracle数据库导入后,表中的数据中文显示正常,包中的中文全为问号
下一篇: Linux下的OpenGL初试
furtherchan
博客等级 码龄19年 31粉丝 65原创
评论
成就一亿技术人!
拼手气红包6.0元
还能输入1000个字符
 
 条评论被折叠 查看
添加红包

请填写红包祝福语或标题

个

红包个数最小为10个

元

红包金额最低5元

当前余额3.43元 前往充值 >
需支付:10.00元
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付元
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值