物理DG因为主库新建数据文件同步到从库后从库磁盘空间不足处理

简介:
故障现象:
物理DG因为主库新建数据文件同步到从库后从库磁盘空间不足,报如下错误
Mon Feb  4 08:56:48 2013
Errors in file /u01/app/oracle/admin/port/bdump/port_mrp0_12243.trc:
ORA-01111: name for data file 28 is unknown - rename to correct file
ORA-01110: data file 28: '/u01/app/oracle/db/dbs/UNNAMED00028'
ORA-01157: cannot identify/lock data file 28 - see DBWR trace file
ORA-01111: name for data file 28 is unknown - rename to correct file
ORA-01110: data file 28: '/u01/app/oracle/db/dbs/UNNAMED00028'
 
扩充磁盘空间后
执行alter database recover managed standby database disconnect from session;
再次报如上错误

处理:
alter database create datafile '/u01/app/oracle/db/dbs/UNNAMED00028' as '/oradata/datafile/in_adcphc_data.871.806486893';
执行alter database recover managed standby database disconnect from session;
回复正常的日志应用

Tue Feb  5 14:32:23 2013
alter database create datafile '/u01/app/oracle/db/dbs/UNNAMED00028' as '/oradata/datafile/in_adcphc_data.871.806486893'
Tue Feb  5 14:37:09 2013
Completed: alter database create datafile '/u01/app/oracle/db/dbs/UNNAMED00028' as '/oradata/datafile/in_adcphc_data.871.806486893'
Tue Feb  5 14:38:00 2013
Primary database is in MAXIMUM PERFORMANCE mode
RFS[3]: Successfully opened standby log 5: '/u01/datafile/standbyredo1_1.LOG'
Tue Feb  5 14:38:03 2013
Primary database is in MAXIMUM PERFORMANCE mode
RFS[5]: Successfully opened standby log 6: '/u01/datafile/standbyredo1_2.LOG'
Tue Feb  5 14:39:22 2013
alter database recover managed standby database disconnect from session
Tue Feb  5 14:39:22 2013
Attempt to start background Managed Standby Recovery process (port)
MRP0 started with pid=24, OS id=18443
Tue Feb  5 14:39:22 2013
MRP0: Background Managed Standby Recovery process started (port)
Managed Standby Recovery not using Real Time Apply
 parallel recovery started with 15 processes
Tue Feb  5 14:39:28 2013
Waiting for all non-current ORLs to be archived...
Media Recovery Log /u01/archive/1_24184_697238176.dbf
Media Recovery Log /u01/archive/2_22949_697238176.dbf


本文转自zylhsy 51CTO博客,原文链接:http://blog.51cto.com/yunlongzheng/1132155,如需转载请自行联系原作者
相关文章
|
关系型数据库 数据库
Mairadb数据库的备份和恢复
Mairadb数据库的备份和恢复
209 1
举例:在从库上备份,到主库上恢复
在备库上备份,在主库上恢复 control file和recovery catalog的同步
|
数据库
主库和备库数据库文件名不同时,resync不成功
《Dataguard Concepts and Administration》文档中12.9.3 Standby Database File Names Are Different From Primary Database 有描述对文件名不同时的处理情况
|
SQL 存储 数据库
在DG环境中,主库丢失归档,对主库进行基于SCN的增量备份来恢复物理DG环境
在DG环境中,主库丢失归档,对主库进行基于SCN的增量备份来恢复物理DG环境
447 0
|
NoSQL MongoDB
副本集mogodb 物理备份与恢复
副本集mogodb 物理备份与恢复
214 0
|
数据库
备库数据文件异常,物理DG如何恢复?
备库数据文件异常,物理DG如何恢复?
245 0
|
运维
简单记录一次ADG备库同步故障
这是一套11g的老库,主库3节点,备库1节点。项目上于昨天晚上做某测试扩容了表空间,在其他位置新建了9个数据文件,在备库无法创建这个非标准位置的datafile,从而导致同步中断。
410 0
|
关系型数据库 MySQL 数据库
mysql集群的备份与还原
应用场景 当使用mysql集群数据库的时候,有时候会误删一些数据,那么数据就缺失了完整性,现在需要将数据进行备份,将误删的数据还原出来,这样保证数据的完整性。
1476 0