about the standby redo logfile on physical dataguard

[复制链接]
查看11 | 回复9 | 2007-10-20 08:38:44 | 显示全部楼层 |阅读模式
1. arch进程
On the remote destination, the remote file server process (RFS) will, in turn, write the redo data to an archived redo log file from a standby redo log file. Log apply services use Redo Apply (MRP processFoot 1 ) or SQL Apply (LSP processFoot 2 ) to apply the redo to the standby database.
利用arch进程为什么还要把primary archive log传送到standby redo log file? 不是说直接传到archive_dest中去吗?
而且通过实验,做物理dataguard可以不需要standby log file
请问各位这个怎么理解?
回复

使用道具 举报

千问 | 2007-10-20 08:38:44 | 显示全部楼层
standby redo log file的东西是arch传的或者是lgwr传,默认配置的是最大性能,所以可以不需要standbyredo log file
回复

使用道具 举报

千问 | 2007-10-20 08:38:44 | 显示全部楼层
最初由 棉花糖ONE 发布
[B]standby redo log file的东西是arch传的或者是lgwr传,默认配置的是最大性能,所以可以不需要standbyredo log file [/B]

这个理解不对。
如果real-timeredo apply的话是一定要standby redo log file的。
我现在的疑问是:
当我们执行alter database recover managed stangdby database disconnect from session时,假如这个时候指定了运行LGWR sync,
假如这个时候没有standby log file ,请问lgwr sync 怎么去拿归档?
感觉lgwr sync和 alter database recover managed standby database会矛盾。 我个人觉得这个时候就算指定lgwr sync,其实还是数据库还是去启动arch进程,不知道是否正确?
回复

使用道具 举报

千问 | 2007-10-20 08:38:44 | 显示全部楼层
lgwr 这个是直接写standby log file,最大性能的时候lgwr不起发日志的作用,都是arch起作用
回复

使用道具 举报

千问 | 2007-10-20 08:38:44 | 显示全部楼层
最初由 棉花糖ONE 发布
[B]lgwr 这个是直接写standby log file,最大性能的时候lgwr不起发日志的作用,都是arch起作用 [/B]


那就对了。 ORACLE官方都没讲。
回复

使用道具 举报

千问 | 2007-10-20 08:38:44 | 显示全部楼层
By default, redo transport services use ARCn processes to archive the online redo log
files on the primary database. ARCn archival processing supports only the maximum
performance level of data protection in Data Guard configurations. You must use the
LGWR process to transmit redo data to standby locations that operate in other data
protection modes.
文档有讲啊
回复

使用道具 举报

千问 | 2007-10-20 08:38:44 | 显示全部楼层
最初由 棉花糖ONE 发布
[B]By default, redo transport services use ARCn processes to archive the online redo log
files on the primary database. ARCn archival processing supports only the maximum
performance level of data protection in Data Guard configurations. You must use the
LGWR process to transmit redo data to standby locations that operate in other data
protection modes.
文档有讲啊 [/B]


哈哈,看来我看的还不够仔细。
回复

使用道具 举报

千问 | 2007-10-20 08:38:44 | 显示全部楼层
呵呵,我刚刚特意去找的,小弟昨天下午才开始整的dataguard,前面有没说错,我不确认,楼主有疑问的可以去查下文档
回复

使用道具 举报

千问 | 2007-10-20 08:38:44 | 显示全部楼层
最初由 棉花糖ONE 发布
[B]呵呵,我刚刚特意去找的,小弟昨天下午才开始整的dataguard,前面有没说错,我不确认,楼主有疑问的可以去查下文档 [/B]

没有任何疑问了,全部想的通了。 我已经把官方的dataguard看完了。
个人觉得 sql apply 作用不大,physical data guard才是dataguard的首选吧!
回复

使用道具 举报

千问 | 2007-10-20 08:38:44 | 显示全部楼层
根据不同的业务需求,dataguard的应用方式不同,怎么能说logic data guard用处不大呢? 只是你没有想到如何去应用逻辑的standby
回复

使用道具 举报

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

本版积分规则

主题

0

回帖

4882万

积分

论坛元老

Rank: 8Rank: 8

积分
48824836
热门排行