ORA-10458: standby database requires recovery
2013-02-22 16:34
375 查看
错误描述:
在使用duplicate from active database 创建物理ADG后,启动备库时提示如下信息:
idle> startup pfile=initora11g.ora
ORACLE instance started.
Total System Global Area 368263168 bytes
Fixed Size 1336596 bytes
Variable Size 268438252 bytes
Database Buffers 92274688 bytes
Redo Buffers 6213632 bytes
Database mounted.
ORA-10458: standby database requires recovery
ORA-01152: file 1 was not restored from a sufficiently old backup
ORA-01110: data file 1: '/oradata/ora11g/system01.dbf'
alter 日志中的信息如下:
ARC1: Becoming the heartbeat ARCH
Signalling error 1152 for datafile 1!
Beginning standby crash recovery.
Serial Media Recovery started
Managed Standby Recovery starting Real Time Apply
Media Recovery Waiting for thread 1 sequence 9
Thu Feb 21 13:44:31 2013
FAL[client]: Failed to request gap sequence
GAP - SCN range: 0x0000.000d2255 - 0x0000.000d2255
DBID 4173278619 branch 777078497
FAL[client]: All defined FAL servers have been attempted.
-------------------------------------------------------------
Check that the CONTROL_FILE_RECORD_KEEP_TIME initialization
parameter is defined to a value that is sufficiently large
enough to maintain adequate log switch information to resolve
archivelog gaps.
-------------------------------------------------------------
错误分析:
原来standby 数据库的 FAL_SERVER 和 FAL_CLIENT 的 参数值是 net service name ,不是db_unique_name 。
这两个值只对 standby 角色的数据库起作用,是解决 archive gap的重要参数,因此不能写错了。
The FAL client and server are configured using the FAL_CLIENT and FAL_SERVER initialization parameters that are set on the standby database
FAL_SERVER:Specifies the network service name that the standby database should use to connect to the FAL server. It can consist of multiple values in a list.
FAL_CLIENT:Specifies the network service name that the FAL server should use to connect to the standby database.
另外:
primary 角色数据库的 LOG_ARCHIVE_DEST_2='SERVICE=....... 也是net_service_name
SERVICE=net_service_name
Specifies a valid Oracle Net service name (SERVICE=net_service_name) that identifies the remote Oracle database instance to which redo data will be sent. Each destination must specify either the LOCATION or the SERVICE attribute. There is no default net service
name.
解决方法:
根据备库中tnsname.ora文件中的网络名修改以下两个参数,再重启库。
FAL_SERVER=‘’ --引号内的值写备库tnsname.ora文件中连接主库的连接标识符。
FAL_CLIENT=‘’ --引号内的值写备库tnsname.ora文件中连接备库的连接标识符。
在使用duplicate from active database 创建物理ADG后,启动备库时提示如下信息:
idle> startup pfile=initora11g.ora
ORACLE instance started.
Total System Global Area 368263168 bytes
Fixed Size 1336596 bytes
Variable Size 268438252 bytes
Database Buffers 92274688 bytes
Redo Buffers 6213632 bytes
Database mounted.
ORA-10458: standby database requires recovery
ORA-01152: file 1 was not restored from a sufficiently old backup
ORA-01110: data file 1: '/oradata/ora11g/system01.dbf'
alter 日志中的信息如下:
ARC1: Becoming the heartbeat ARCH
Signalling error 1152 for datafile 1!
Beginning standby crash recovery.
Serial Media Recovery started
Managed Standby Recovery starting Real Time Apply
Media Recovery Waiting for thread 1 sequence 9
Thu Feb 21 13:44:31 2013
FAL[client]: Failed to request gap sequence
GAP - SCN range: 0x0000.000d2255 - 0x0000.000d2255
DBID 4173278619 branch 777078497
FAL[client]: All defined FAL servers have been attempted.
-------------------------------------------------------------
Check that the CONTROL_FILE_RECORD_KEEP_TIME initialization
parameter is defined to a value that is sufficiently large
enough to maintain adequate log switch information to resolve
archivelog gaps.
-------------------------------------------------------------
错误分析:
原来standby 数据库的 FAL_SERVER 和 FAL_CLIENT 的 参数值是 net service name ,不是db_unique_name 。
这两个值只对 standby 角色的数据库起作用,是解决 archive gap的重要参数,因此不能写错了。
The FAL client and server are configured using the FAL_CLIENT and FAL_SERVER initialization parameters that are set on the standby database
FAL_SERVER:Specifies the network service name that the standby database should use to connect to the FAL server. It can consist of multiple values in a list.
FAL_CLIENT:Specifies the network service name that the FAL server should use to connect to the standby database.
另外:
primary 角色数据库的 LOG_ARCHIVE_DEST_2='SERVICE=....... 也是net_service_name
SERVICE=net_service_name
Specifies a valid Oracle Net service name (SERVICE=net_service_name) that identifies the remote Oracle database instance to which redo data will be sent. Each destination must specify either the LOCATION or the SERVICE attribute. There is no default net service
name.
解决方法:
根据备库中tnsname.ora文件中的网络名修改以下两个参数,再重启库。
FAL_SERVER=‘’ --引号内的值写备库tnsname.ora文件中连接主库的连接标识符。
FAL_CLIENT=‘’ --引号内的值写备库tnsname.ora文件中连接备库的连接标识符。
相关文章推荐
- ORA-10458: standby database requires recovery
- ORA-10458: standby database requires recovery
- ORA-10456: cannot open standby database; media recovery session may be in
- ORA-10456: cannot open standby database; media recovery session may be in progress
- ORA-10456: cannot open standby database; media recovery session may be in progress
- ORA-10456:cannot open standby database;media recovery session may be in process
- ORA-10456: cannot open standby database; media recovery session may be in progress
- ORA-10456: cannot open standby database; media recovery session may be in progress
- ORA-00313, ORA-00312, ORA-27037 in Standby Database [ID 601835.1]
- UNNAMED FILE ERROR IN STANDBY AFTER ADDING NEW FILE TO PRIMARY DATABASE – ORA-01111, ORA-01110, ORA-
- ORA-16072: a minimum of one standby database destination is required
- ORA-16072: a minimum of one standby database destination is required
- ORA-16072: a minimum of one standby database destination is required
- ORA-16072: a minimum of one standby database destination is required
- ORA-16003: standby database is restricted to read-only access
- ORA-16136: Managed Standby Recovery not active
- ORA-16795: the standby database needs to be re-created
- Oracle Data Guard ORA-16086: standby database does not contain available standby 处理方法
- ORA-00313, ORA-00312, ORA-27037 in Standby Database [ID 601835.1]
- ORA-16447 Redo apply was not active at the target standby database