【发布时间】:2016-09-21 19:30:32
【问题描述】:
我正在尝试使用 RMAN 来备份没有备份目录的 Oracle 数据库。尝试连接到目标数据库时,我收到一条错误消息,指出我的 RMAN 版本与我的数据库版本不兼容。这对我来说似乎很奇怪,因为我的 RMAN 版本是 11.2.0.1,而我的数据库版本是 11.2.0.3,但 RMAN 错误表明我需要使用 RMAN 8.0.4.0 到 11.1.0.7。为什么我的数据库应该报告为 11.2.0.3 时向 RMAN 报告版本 11.1.0.7?
C:\>rman
Recovery Manager: Release 11.2.0.1.0 - Production on Tue May 24 09:48:07 2016
Copyright (c) 1982, 2009, Oracle and/or its affiliates. All rights reserved.
RMAN> connect target SYS/oracle@tnsname
Recovery Manager incompatible with TARGET database: RMAN 8.0.4.0 to 11.1.0.7 req
uired
RMAN-00571: ===========================================================
RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
RMAN-00571: ===========================================================
RMAN-06429: TARGET database is not compatible with this version of RMAN
RMAN> exit
Recovery Manager complete.
C:\>sqlplus SYS/oracle@tnsname
SQL*Plus: Release 11.2.0.1.0 Production on Tue May 24 09:49:24 2016
Copyright (c) 1982, 2010, Oracle. All rights reserved.
Connected to:
Oracle Database 11g Enterprise Edition Release 11.2.0.3.0 - Production
With the Partitioning, OLAP, Data Mining and Real Application Testing options
SQL> select * from v$version;
BANNER
--------------------------------------------------------------------------------
Oracle Database 11g Enterprise Edition Release 11.2.0.3.0 - Production
PL/SQL Release 11.2.0.3.0 - Production
CORE 11.2.0.3.0 Production
TNS for 32-bit Windows: Version 11.2.0.3.0 - Production
NLSRTL Version 11.2.0.3.0 - Production
SQL>
【问题讨论】:
-
show parameters compatible报告什么? -
它以 11.1.0.0 的形式返回。
-
这解释了您收到错误的原因。是否有将 compatible 设置为 11.1.0.0 的原因?
-
我不知道原因。我猜这是先前管理员的草率升级。这个周末有一个维护窗口。我只是更改 pfile 还是比这更复杂?