数据库介质恢复和实例恢复一般都是用什么进程?

[复制链接]
查看11 | 回复4 | 2007-9-26 18:42:10 | 显示全部楼层 |阅读模式
好象是SMON把
回复

使用道具 举报

千问 | 2007-9-26 18:42:10 | 显示全部楼层
UP
回复

使用道具 举报

千问 | 2007-9-26 18:42:10 | 显示全部楼层
After the loss
of the instance, the background process SMON automatically performs instance recovery
when the database is reopened. Instance recovery consists of the following steps:
1. Rolling forward to recover data that has not been recorded in the data files but that has
been recorded in the online redo log. This data has not been written to disk because of
the loss of the SGA during instance failure. During this process, SMON reads the redo
log files and applies the changes recorded in the redo log to the data blocks. Because all
committed transactions have been written to the redo logs, this process completely
recovers these transactions.
2. Opening the database so that users can log on. Any data that is not locked by
unrecovered transactions is immediately available.
3. Rolling back uncommitted transactions. They are rolled back by SMON or by the
individual server processes as they access locked data.
回复

使用道具 举报

千问 | 2007-9-26 18:42:10 | 显示全部楼层
最初由 chenyan995 发布
[B]After the loss
of the instance, the background process SMON automatically performs instance recovery
when the database is reopened. Instance recovery consists of the following steps:
1. Rolling forward to recover data that has not been recorded in the data files but that has
been recorded in the online redo log. This data has not been written to disk because of
the loss of the SGA during instance failure. During this process, SMON reads the redo
log files and applies the changes recorded in the redo log to the data blocks. Because all
committed transactions have been written to the redo logs, this process completely
recovers these transactions.
2. Opening the database so that users can log on. Any data that is not locked by
unrecovered transactions is immediately available.
3. Rolling back uncommitted transactions. They are rolled back by SMON or by the
individual server processes as they access locked data. [/B]

想起来了,这个是SG上的一段话,不过以前就有一点疑问
 是先前滚,然后用户登陆,但是这个时候就有点不明白了,就是有一些用户没有COMMIT的资料,但是这些资料已经写到磁盘,那在系统回滚之前,这些资料就可以被用户查询出来,这样就可能出现一些报表上的错误..............
回复

使用道具 举报

千问 | 2007-9-26 18:42:10 | 显示全部楼层
undo里面记录了之前的数据的,应该不会被查到不一致的数据吧
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

主题

0

回帖

4882万

积分

论坛元老

Rank: 8Rank: 8

积分
48824836
热门排行