online backup中begin backup的理解

[复制链接]
查看11 | 回复3 | 2007-6-20 10:43:35 | 显示全部楼层 |阅读模式
英文摘自sg,本人理解不够,向大家请教!
When a datafile is placed in backup mode, more redo log entries may be generated because the log writer writes block images of changed blocks of the datafile in backup mode to the redo log instead of just the row information.
为什么当ALTER TABLESPACE users BEGIN BACKUP(online backup)之后,要用images of changed blocks 代替just the row information来写入数据库的,oracle这样做应该是有理由的,但不知道为什么?

Set the datafile or tablespace in backup mode by issuing the ALTER
TABLESPACE...BEGIN BACKUP command. This prevents the sequence number in the datafile header from changing, so that logs are applied in recovery from backup start time. Even if the datafile is in backup mode, it is available for normal transaction.
另外,我理解表空间处于备份状态后直到end backup,它所包含的硬盘上的文件就不会再改变了,这样os cp的文件就是alter ....begin backup时间点后的文件。也就是说开始备份命令执行之后,dbwr不再写data file了。
我理解的对么?
回复

使用道具 举报

千问 | 2007-6-20 10:43:35 | 显示全部楼层
dbwr当然要写文件的, 深入讨论区里面有grassbell的2个精华铁讨论这个问题
回复

使用道具 举报

千问 | 2007-6-20 10:43:35 | 显示全部楼层
online back時,可對datafile進行任何sql操作的,但此狀態的數據文件的scn被凍結,這兒有鏈接
http://www.itpub.net/showthread. ... 974&pagenumber=
回复

使用道具 举报

千问 | 2007-6-20 10:43:35 | 显示全部楼层
不象话,这么晚了,还不睡觉,等着回答新手的问题!
(感激,谢谢你们,不知何以为报,在深圳的话请你们吃饭!)
回复

使用道具 举报

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

本版积分规则

主题

0

回帖

4882万

积分

论坛元老

Rank: 8Rank: 8

积分
48824836
热门排行