您好,欢迎访问一九零五行业门户网

Oracle 11g IMP-00058

把4个.dmp的文件导入oracle 10g数据库,我本机安装的是oracle 11g的数据库,想都没有想就去导了。
把4个.dmp的文件导入oracle 10g数据库,我本机安装的是oracle 11g的数据库,想都没有想就去导了。
用plsql developer工具中的import table功能去导。
1,创建表空间,创建用户,分配权限;
表空间:
create tablespace gportal
logging
datafile 'c:\oracle\product\10.2.0\oradata\orcl\gportal.dbf'
size 50m
autoextend on
next 50m maxsize 20480m
extent management local;
用户:
create user czportal identified by a12345
default tablespace gportal
temporary tablespace temp;
权限:
grant connect,resource,dba to czportal;
2,好啦!开始导数据了。用plsql developer或者imp命令
imp czportal/a12345@192.168.0.23:1521/orcl file=c:\dmp\czportal130311.dmp log=c:\dmp\czportal130312.log full=y ignore=y
结果报错了。
imp-00058: 遇到 oracle 错误 942
ora-00942: 表或视图不存在导入了          0 行
连接到: oracle database 10g enterprise edition release 10.2.0.1.0 - production
with the partitioning, olap and data mining options
经由常规路径由 export:v10.02.01 创建的导出文件
已经完成 zhs16gbk 字符集和 al16utf16 nchar 字符集中的导入
导入服务器使用 al32utf8 字符集 (可能的字符集转换)
. 正在将 gcr 的对象导入到 gcr
. . 正在导入表                    cms_filter导入了          0 行
. . 正在导入表                    ds_backup导入了          0 行
. . 正在导入表                      ds_bkcfg导入了          0 行
. . 正在导入表                      ds_index导入了          0 行
. . 正在导入表                    ds_lexicon导入了          0 行
. . 正在导入表                        ds_log导入了          3 行
. . 正在导入表                        filter导入了          0 行
. . 正在导入表          pm61_default_binval
imp-00058: 遇到 oracle 错误 942
ora-00942: 表或视图不存在导入了          0 行
. . 正在导入表          pm61_default_bundle
imp-00058: 遇到 oracle 错误 942
ora-00942: 表或视图不存在导入了        4144 行
. . 正在导入表            pm61_default_names导入了          0 行
. . 正在导入表            pm61_default_refs
imp-00058: 遇到 oracle 错误 942
ora-00942: 表或视图不存在导入了          0 行
. . 正在导入表          pm61_security_binval
imp-00058: 遇到 oracle 错误 942
ora-00942: 表或视图不存在导入了          0 行
. . 正在导入表          pm61_security_bundle
imp-00058: 遇到 oracle 错误 942
ora-00942: 表或视图不存在导入了          10 行
. . 正在导入表          pm61_security_names导入了          0 行
. . 正在导入表            pm61_security_refs
imp-00058: 遇到 oracle 错误 942
ora-00942: 表或视图不存在导入了          0 行
. . 正在导入表              pm61_ver_binval
imp-00058: 遇到 oracle 错误 942
ora-00942: 表或视图不存在导入了          0 行
. . 正在导入表              pm61_ver_bundle
imp-00058: 遇到 oracle 错误 942
ora-00942: 表或视图不存在导入了          3 行
. . 正在导入表                pm61_ver_names导入了          0 行
. . 正在导入表                pm61_ver_refs
imp-00058: 遇到 oracle 错误 942
ora-00942: 表或视图不存在导入了          0 行
. . 正在导入表                  sys_ldapinit导入了          1 行
. . 正在导入表                sys_namespace导入了          0 行
. . 正在导入表                sys_repmember导入了          0 行
. . 正在导入表                      sys_repw导入了          2 行
成功终止导入, 但出现警告。
检查了一下导出的日志,发现了问题:
一、dmp文件是由10.02.01导出的
二、目标库的版本是10.2.0.1.0
三、导入dmp用的客户端是11.2.0.1.0
估计是版本的问题导致,我直接到目标数据的服务器导数据,,导入一切正常。
为什么有些表能正常导入,有些表有问题呢?检查的结果是,所有不能正常导入的表中都含有clob字段。
其它类似信息

推荐信息