免费注册 查看新帖 |

Chinaunix

  平台 论坛 博客 文库
最近访问板块 发新帖
查看: 3927 | 回复: 2
打印 上一主题 下一主题

控制文件在恢复的时候的作用 [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2008-01-08 13:46 |只看该作者 |倒序浏览
控制文件在恢复的时候的作用!


控制文件纪录了一下内容:
The database name to which the control file belongs. A control file can belong to only one
database.

The database creation time stamp.

The name, location, and online/offline status information of the datafiles.

The name and location of the redo log files.

Redo log archive information.

Tablespace names.

The current log sequence number , which is a unique identifier that is incremented and recorded when an online redo log file is switched.

The most recent checkpoint information.

The beginning and ending of undo segments.

Recovery Manager’s backup information. Recovery Manager (RMAN) is the Oracle utility you use to back up and recover databases.
但是如果控制文件全部损坏了的话,如果用以前的备份的control 的文本文件重建的话(alter database backup controlfile to trace),不是就会丢失上面的信息吗?
但是这些信息对于数据库的恢复,产生重要的作用(
例如:
The current log sequence number , which is a unique identifier that is incremented and recorded when an online redo log file is switched.
The most recent checkpoint information.
The beginning and ending of undo segments.
Recovery Manager’s backup information. Recovery Manager (RMAN) is the Oracle utility you use to back up and recover databases

如果丢失了全部的控制文件,就会丢失上面的信息,那么作数据库恢复的时候怎么来定位数据恢复的位置呢,特别是纪录了rman这种备份与恢复工具的信息?是否意味着,只能作不完全恢复呢?
谢谢指教啊!

论坛徽章:
0
2 [报告]
发表于 2008-01-08 14:01 |只看该作者
但是如果控制文件全部损坏了的话,如果用以前的备份的control 的文本文件重建的话(alter database backup controlfile to trace),

重建控制文件不会丢失信息的,是否做不完全恢复取决你的online和arc log是否完全,如果都在只是控制文件丢失,用trace里的重新建下就可以了.

论坛徽章:
0
3 [报告]
发表于 2008-01-08 14:10 |只看该作者
原帖由 dhhb 于 2008-1-8 14:01 发表
但是如果控制文件全部损坏了的话,如果用以前的备份的control 的文本文件重建的话(alter database backup controlfile to trace),

重建控制文件不会丢失信息的,是否做不完全恢复取决你的online和arc log是 ...

但是控制文件可能包含下面的这些信息:
The current log sequence number , which is a unique identifier that is incremented and recorded when an online redo log file is switched.
The most recent checkpoint information.
The beginning and ending of undo segments.
Recovery Manager’s backup information. Recovery Manager (RMAN) is the Oracle utility you use to back up and recover databases

而这些都是恢复的时候所必须的信息的!oracle在控制文件全部损坏的情况下,作恢复的时候,是怎么确定介质失败点的呢?
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

北京盛拓优讯信息技术有限公司. 版权所有 京ICP备16024965号-6 北京市公安局海淀分局网监中心备案编号:11010802020122 niuxiaotong@pcpop.com 17352615567
未成年举报专区
中国互联网协会会员  联系我们:huangweiwei@itpub.net
感谢所有关心和支持过ChinaUnix的朋友们 转载本站内容请注明原作者名及出处

清除 Cookies - ChinaUnix - Archiver - WAP - TOP