Oracle数据库数据恢复、性能优化

找回密码
注册
搜索
热搜: 活动 交友 discuz
发新帖

0

积分

1

好友

1

主题
1#
发表于 2014-4-17 10:45:45 | 查看: 13190| 回复: 3
OS:Oracle Enterprise Linux 5.7
DB version:11G R2 11.2.0.1 单实例

[oracle@zhp ~]$ expdp  jssi/**** schemas=jssi  directory=data_pump_dir dumpfile=jssi20140416.dmp  CONTENT=METADATA_ONLY

Export: Release 11.2.0.1.0 - Production on Wed Apr 16 22:23:42 2014

Copyright (c) 1982, 2009, Oracle and/or its affiliates.  All rights reserved.
UDE-00018: Data Pump client is incompatible with database version 11.2.0.1.0

[oracle@zhp ~]$ oerr ude 18
00018, 00000, "Data Pump client is incompatible with database version %s"
// *Cause:  The Export utility is at a higher version than the database
//          version and is thereby incompatible.
// *Action: Use the same version of Export utility as the database.
[oracle@zhp ~]$ expdp  jssi/jssi schemas=jssi  directory=data_pump_dir dumpfile=jssi20140416.dmp  CONTENT=METADATA_ONLY version ='11.2.0.1.0'

Export: Release 11.2.0.1.0 - Production on Wed Apr 16 22:24:22 2014

Copyright (c) 1982, 2009, Oracle and/or its affiliates.  All rights reserved.
UDE-00018: Data Pump client is incompatible with database version 11.2.0.1.0

在本机上面导出数据提示客户端版本不一致 。数据库 和导出数据库的操作在同一台及其上面 版本一致,请问从哪里下手解决
4#
发表于 2014-4-17 14:07:55
如2楼的 回复:
@$ORACLE_HOME/rdbms/admin/utlrp

回复 只看该作者 道具 举报

3#
发表于 2014-4-17 14:07:31
ODM FINDING:

UDE-00018: Data Pump client is incompatible with database version 11.2.0.1 (Doc ID 1274439.1)

APPLIES TO:

Oracle Server - Enterprise Edition - Version 10.1.0.2 to 11.2.0.2 [Release 10.1 to 11.2]
Information in this document applies to any platform.
SYMPTOMS

You recently installed a patch into your database. Since then the DataPump export utility (expdp) fails with errors message:

Export: Release 11.2.0.1.0 - Production on Thu Dec 16 10:40:39 2010

Copyright (c) 1982, 2009, Oracle and/or its affiliates. All rights reserved.
UDE-00018: Data Pump client is incompatible with database version 11.2.0.1.0
CAUSE

Invalid packages DBMS_METADATA_INT or/and DBMS_METADATA_UTIL can produce such a behavior.

SOLUTION

1. Verify, if packages DBMS_METADATA_UTIL/DBMS_METADATA_INT are invalid:

SQL> connect / as sysdba
SQL> select owner, object_name, object_type, status from dba_objects where status != 'VALID';
2. Re-compile the invalid objects with:

SQL> connect / as sysdba
SQL> @$ORACLE_HOME/rdbms/admin/utlrp
and retry with DataPump export.

Note: If the packages don't become valid, then check the root cause in view DBA_ERRORS.


UDE-18 (Data Pump client is incompatible with database version xx.yy).

%expdp system/manager@m10102wa DIRECTORY=my_dir \
DUMPFILE=expdp_s.dmp LOGFILE=expdp_s.log SCHEMAS=scott

Export: Release 10.2.0.3.0 - Production on Tuesday, 26 February, 2008 14:46:22
Copyright (c) 2003, 2005, Oracle.  All rights reserved.
Connected to: Oracle Database 10g Enterprise Edition Release 10.1.0.2.0 - Production
With the Partitioning, OLAP and Data Mining options

UDE-00018: Export utility version can not be more recent than the Data Pump server.

or:

%expdp system/manager@m10203wa DIRECTORY=my_dir \
DUMPFILE=expdp_s.dmp LOGFILE=expdp_s.log SCHEMAS=scott

Export: Release 11.1.0.6.0 - Production on Tuesday, 26 February, 2008 14:49:43
Copyright (c) 2003, 2007, Oracle.  All rights reserved.  

UDE-00018: Data Pump client is incompatible with database version 10.2.0.3.0
Cause: An attempt was made to connect with a higher version Export Data Pump client (e.g. 11.1.0.6.0) to a lower version database (e.g. 10.2.0.3.0), where the Export Data Pump client used Oracle Net to connect to the lower version database. This is not supported.
Action: Use the Export Data Pump client that matches the database version of the source database (i.e.: 10.2.0.3.0 in this case, or any other lower release Export Data Pump client).

回复 只看该作者 道具 举报

2#
发表于 2014-4-17 12:38:03
select owner, object_name, object_type, status from dba_objects where status != 'VALID';

@$ORACLE_HOME/rdbms/admin/utlrp

回复 只看该作者 道具 举报

您需要登录后才可以回帖 登录 | 注册

QQ|手机版|Archiver|Oracle数据库数据恢复、性能优化

GMT+8, 2024-12-21 09:51 , Processed in 0.045408 second(s), 21 queries .

Powered by Discuz! X2.5

© 2001-2012 Comsenz Inc.

回顶部
TEL/電話+86 13764045638
Email service@parnassusdata.com
QQ 47079569