In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-01-26 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Database >
Share
Shulou(Shulou.com)05/31 Report--
This article focuses on "oracle dg archive log recovery analysis", interested friends may wish to take a look. The method introduced in this paper is simple, fast and practical. Now let the editor take you to learn "oracle dg Archive Log recovery Analysis"!
-- DB 11.2
-- check the protection mode set by the database and the current protection level
Select database_role,GUARD_STATUS,open_mode,protection_mode,protection_level from v$database
-- query whether the archive log is sent to and applied to the DG side in the main database. Log generation time and recovery completion time
Select l. "RECID", l. "NAME", l. "ARCHIVED", l. "APPLIED", l. "NEXT_TIME", l. "COMPLETION_TIME"
From v$archived_log l
Where l. "STANDBY_DEST" = 'YES'
And l. "NEXT_TIME" > (sysdate-0.5)
Order by l. "RECID" desc
-- check the application of archived logs on the DG side, log generation time and recovery time
-- if REGISTRARRFSAPPLIEDNO, the log file has been received but has not been applied.
If REGISTRARRFSAPPLIEDIN-MEMORY, the log file has been applied to memory, but the data has not been updated.
-- if REGISTRARRFSAPPLIEDYES, the log file has been applied and the data has been updated.
Select l. "RECID", l. "NAME", l. "ARCHIVED", l. "APPLIED", l. "NEXT_TIME", l. "COMPLETION_TIME"
From v$archived_log l
Where l. "NEXT_TIME" > (sysdate-0.5)
Order by l. "RECID" desc
At this point, I believe that everyone on the "oracle dg archive log recovery analysis" have a deeper understanding, might as well come to the actual operation! Here is the website, more related content can enter the relevant channels to inquire, follow us, continue to learn!
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.