物理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,如需转载请自行联系原作者
相关文章
|
SQL 存储 数据库
在DG环境中,主库丢失归档,对主库进行基于SCN的增量备份来恢复物理DG环境
在DG环境中,主库丢失归档,对主库进行基于SCN的增量备份来恢复物理DG环境
452 0
|
NoSQL MongoDB
副本集mogodb 物理备份与恢复
副本集mogodb 物理备份与恢复
217 0
|
数据库
备库数据文件异常,物理DG如何恢复?
备库数据文件异常,物理DG如何恢复?
247 0
|
关系型数据库 MySQL 数据库
mysql集群的备份与还原
应用场景 当使用mysql集群数据库的时候,有时候会误删一些数据,那么数据就缺失了完整性,现在需要将数据进行备份,将误删的数据还原出来,这样保证数据的完整性。
1481 0
|
SQL 数据库 内存技术