Oracle Data Guard - Recover Standby Database Using Incremental Backup - Resolve Log Gap

  Рет қаралды 2,214

YouVolve

YouVolve

Күн бұрын

Пікірлер: 20
@AT-tc4vv
@AT-tc4vv 2 ай бұрын
thanks for clear explaination. nice work !
@YouVolve
@YouVolve 2 ай бұрын
Thanks for your feedback
@Dancewithsaigite
@Dancewithsaigite 4 ай бұрын
Very informative video keed uploading..
@YouVolve
@YouVolve 4 ай бұрын
Thank you, I will
@PavanKumar-ft8eq
@PavanKumar-ft8eq 11 ай бұрын
Good explanation thanks for sharing video.I have one doubt here current scn is not same both primary standby difference is 1276.
@YouVolve
@YouVolve 11 ай бұрын
@PavanKumar-ft8eq - Thanks for your feedback and the question. Yes, your observation is correct. The difference in SCN may be sometimes above 1000. SCN can be incremented by many hundreds or thousands within a few seconds. It is not just the user activities that cause the SCN to get incremented but anything happening including the SYS/background activities. There was almost 50 seconds in between when I executed the statement in the standby and the primary and also in another session (not included in the video) I was extracting an AWR from the primary. That might have caused to increase. But at the end of the day, what we should be more concerned is the time lag between the primary and the standby. You can find that out using the function "scn_to_timestamp" as shown below. SQL> select scn_to_timestamp(250605041) from dual; Output: SCN_TO_TIMESTAMP(250605041) --------------------------------------------------------------------------- 06-NOV-23 09.05.58.000000000 AM I am using an example SCN of 250605041 here. Using the output from this statement executed against both the primary and standby SCN, you can find out by how much time the standby is lagging. For an ideal system in real time apply, there may be a few seconds which is expected. Hope this clears your doubt.
@parvazcse
@parvazcse 11 күн бұрын
Thanks a lot for your effort! log_archive_dest_state_2 was not enabled again after making it differ. Wouldn't that create a problem?
@YouVolve
@YouVolve 10 күн бұрын
@parvazcse - Thanks for your feedback. Yes, you must enable the log_archive_dest_state_2=ENABLE which I did at around 8:30 minute mark of the video. The setting DEFER is just temporarily done for demonstration purpose.
@urso15
@urso15 7 ай бұрын
Very good!
@YouVolve
@YouVolve 7 ай бұрын
Thanks for your feedback.
@babavali1319
@babavali1319 11 ай бұрын
Thanks a lot
@YouVolve
@YouVolve 11 ай бұрын
Most welcome
@ChaitanyaKumbhalkar
@ChaitanyaKumbhalkar 5 ай бұрын
it was very nice explanation, thank you.
@YouVolve
@YouVolve 5 ай бұрын
Thanks for your feedback.
@tariqueazmi514
@tariqueazmi514 9 ай бұрын
Nice practice
@YouVolve
@YouVolve 9 ай бұрын
Thanks for your feedback.
@shashiranjan06cse04
@shashiranjan06cse04 11 ай бұрын
Hello , If i am not correct we need to catalog the backup pieces .. After restoring control file we need to catalog backup pieces then existing datafiles . then we need to recover database. Please confirm on this Recovery of Standby DB Command Sequence ======================================== SQL> shutdown immediate SQL> startup nomount RMAN> RESTORE STANDBY CONTROLFILE FROM '/tmp/bkp/standby_control.ctl'; alter database mount; catalog start with '/u001/app/oracle/oradata/TESTDG2/datafile'; SWITCH DATABASE TO COPY; RMAN> recover database noredo; Check the SCN’s in primary and standby:
@YouVolve
@YouVolve 11 ай бұрын
Hi Shashi, thanks for watching my video and the question. We need to catalog the backup pieces only if the backup location is different in the standby server. As I mentioned in the video, I am maintaining the same backup location in the primary and standby server so we don't have to catalog the backup pieces here. However, you must catalog the datafiles while using the standby control file that you copied from primary as the datafile location in the primary and standby server are different. Hope this explains your doubt.
@shashiranjan06cse04
@shashiranjan06cse04 11 ай бұрын
@@YouVolve thanks for clarifying..
@YouVolve
@YouVolve 11 ай бұрын
@@shashiranjan06cse04 my pleasure
How Many Balloons To Make A Store Fly?
00:22
MrBeast
Рет қаралды 194 МЛН
УДИВИЛ ВСЕХ СВОИМ УХОДОМ!😳 #shorts
00:49
UFC 310 : Рахмонов VS Мачадо Гэрри
05:00
Setanta Sports UFC
Рет қаралды 1,2 МЛН
Oracle Data Guard Manual Failover Steps
22:19
DBA Genesis
Рет қаралды 10 М.
Physical Standby Database recovery using Recover From Service Command
28:30
Oracle DBA Online Training
Рет қаралды 6 М.
Find, Fix, and Validate: Using Enterprise Manager for Database Performance Management
10:45
Oracle Cloud Observability and Management Platform
Рет қаралды 23 М.
Oracle Data Guard Manual Switchover
20:45
DBA Genesis
Рет қаралды 15 М.
Office Hours: Answering Your Database Questions in Zhengzhou, China
24:14
Brent Ozar Unlimited
Рет қаралды 1,5 М.
Oracle Standby Database troubleshooting - Live Demo
24:21
Oracle DBA Online Training
Рет қаралды 3,3 М.