Data Guard Question

  • From: Scott Canaan <srcdco@xxxxxxx>
  • To: "'oracle-l@xxxxxxxxxxxxx'" <oracle-l@xxxxxxxxxxxxx>
  • Date: Fri, 2 Jul 2021 15:20:50 +0000

I have a data guard set up where the logs are being shipped to the secondary, 
but not being applied.  I've verified that all the needed logs are there, but 
it won't apply them.  I don't know how to get it to start.

I tried ALTER DATABASE RECOVER MANAGED STANDBY DATABASE CANCEL;, but that did 
nothing.  All I got was an error in the alert log.  I tried bouncing the 
database and got the following:

Completed: ALTER DATABASE RECOVER MANAGED STANDBY DATABASE DISCONNECT  NODELAY
2021-07-02T11:13:24.778232-04:00
ALTER SYSTEM SET fal_server='clawbeta' SCOPE=BOTH;
2021-07-02T11:13:48.721856-04:00
PR00 (PID:29394): FAL: Failed to request gap sequence
PR00 (PID:29394):  GAP - thread 1 sequence 44056-44081
PR00 (PID:29394):  DBID 2700461164 branch 1043824278
PR00 (PID:29394): FAL: All defined FAL servers have been attempted
PR00 (PID:29394): 
-------------------------------------------------------------------------
PR00 (PID:29394): Check that the CONTROL_FILE_RECORD_KEEP_TIME initialization
PR00 (PID:29394): parameter is defined to a value that's sufficiently large
PR00 (PID:29394): enough to maintain adequate log switch information to resolve
PR00 (PID:29394): archived redo log gaps.
PR00 (PID:29394): 
-------------------------------------------------------------------------

Control_file_record_keep_time is 30, which I understand is in days.  The oldest 
log to be applied is from June 25, so that's within the 30 days.

How do I get the secondary to apply the needed logs?

Scott Canaan '88
Sr Database Administrator
Information & Technology Services
Finance & Administration
Rochester Institute of Technology
o: (585) 475-7886 | f: (585) 475-7520
srcdco@xxxxxxx<mailto:srcdco@xxxxxxx> | c: (585) 339-8659

CONFIDENTIALITY NOTE: The information transmitted, including attachments, is 
intended only for the person(s) or entity to which it is addressed and may 
contain confidential and/or privileged material. Any review, retransmission, 
dissemination or other use of, or taking of any action in reliance upon this 
information by persons or entities other than the intended recipient is 
prohibited. If you received this in error, please contact the sender and 
destroy any copies of this information.

Other related posts: