在standby数据库中,初始化参数STANDBY_FILE_MANAGEMENT设置为MANUAL环境中,当主库新建一个数据文件时,它MRP进程中止,后台介质恢复工作失败。这是因为standby数据库不能自动创建新文件,参数配置决定了。
在alert.log中,日志信息如下:
Thu Apr 11 16:44:37 2013
Primary database is in MAXIMUM PERFORMANCE mode
RFS[4]: Successfully opened standby log 51: '+VG1/lbesup/standby_redo51.log'
Thu Apr 11 16:44:40 2013
Media Recovery Log +VG1/lbesupg/archivelog/2013_04_11/thread_1_seq_16122.1412.812479477
File #12 added to control file as 'UNNAMED00012' because
the parameter STANDBY_FILE_MANAGEMENT is set to MANUAL
The file should be manually created to continue.
Errors with log +VG1/lbesupg/archivelog/2013_04_11/thread_1_seq_16122.1412.812479477
MRP0: Background Media Recovery terminated with error 1274
Thu Apr 11 16:44:41 2013
Errors in file /u01/app/oracle/admin/lbesup/bdump/lbesup_mrp0_10220.trc:
ORA-01274: cannot add datafile '+VG1/lbesup/lb_7881_data01.dbf' - file could not be created
Some recovered
在alert.log中,日志信息如下:
Thu Apr 11 16:44:37 2013
Primary database is in MAXIMUM PERFORMANCE mode
RFS[4]: Successfully opened standby log 51: '+VG1/lbesup/standby_redo51.log'
Thu Apr 11 16:44:40 2013
Media Recovery Log +VG1/lbesupg/archivelog/2013_04_11/thread_1_seq_16122.1412.812479477
File #12 added to control file as 'UNNAMED00012' because
the parameter STANDBY_FILE_MANAGEMENT is set to MANUAL
The file should be manually created to continue.
Errors with log +VG1/lbesupg/archivelog/2013_04_11/thread_1_seq_16122.1412.812479477
MRP0: Background Media Recovery terminated with error 1274
Thu Apr 11 16:44:41 2013
Errors in file /u01/app/oracle/admin/lbesup/bdump/lbesup_mrp0_10220.trc:
ORA-01274: cannot add datafile '+VG1/lbesup/lb_7881_data01.dbf' - file could not be created
Some recovered

在Oracle standby数据库中遇到ORA-01274错误,原因是STANDBY_FILE_MANAGEMENT参数设为MANUAL,导致无法自动创建新数据文件。错误信息显示需要手动创建数据文件来继续介质恢复。解决方案是通过SQL命令手动创建数据文件,然后恢复进程即可解决问题。
1193

被折叠的 条评论
为什么被折叠?



