Oracle如何查看归档是否被备库应用

数据库   2024年05月10日 13:59  

这篇文章给大家分享的是有关Oracle如何查看归档是否被备库应用的内容。小编觉得挺实用的,因此分享给大家做个参考,一起跟随小编过来看看吧。

首先是查询v$archived_log视图,然后分析applied字段信息,官方说明如下:

Indicateswhetheranarchivedredologfilehasbeenappliedtothecorrespondingphysicalstandbydatabase.ThevalueisalwaysNOforlocaldestinations.ThiscolumnismeaningfulonaphysicalstandbydatabaseforrowswhereREGISTRAR=RFS:■IfREGISTRAR=RFSandAPPLIED=NO,thenthelogfilehasbeenreceivedbuthasnotyetbeenapplied.■IfREGISTRAR=RFSandAPPLIED=IN-MEMORY,thenthelogfilehasbeenappliedinmemory,butthedatafileshavenotyetbeenupdated.■IfREGISTRAR=RFSandAPPLIED=YES,thenthelogfilehasbeenappliedandthedatafileshavebeenupdated.Thiscolumncanbeusedtoidentifylogfilesthatcanbebackedupanddeleted.Whenusedforthispurpose,thevalueIN-MEMORYshouldbetreatedasifitwereNO.

感谢各位的阅读!关于“Oracle如何查看归档是否被备库应用”这篇文章就分享到这里了,希望以上内容可以对大家有一定的帮助,让大家可以学到更多知识,如果觉得文章不错,可以把它分享出去让更多的人看到吧!

域名注册
购买VPS主机

您或许对下面这些文章有兴趣:                    本月吐槽辛苦排行榜

看贴要回贴有N种理由!看帖不回贴的后果你懂得的!


评论内容 (*必填):
(Ctrl + Enter提交)   

部落快速搜索栏

各类专题梳理

网站导航栏

X
返回顶部