| Gaps have occured in the archive logs on my Standby DB (using Dataguard) [message #246566] |
Thu, 21 June 2007 05:51  |
aidi-h Messages: 41 Registered: November 2005 |
Member |
|
|
I currently have a standby DB created using Dataguard which has been running for some time however it appears that at one point, the archive logs were not being applied to the standby server.
Upon investigations, it appears that gaps have occured in the archive logs on the standby server.
I run the following SQL to show whats logs have been applied.,
select sequence#,applied from v$archived_log;, and the important bit of the output says,
.......
SEQUENCE# APP ---------- ---
68447 YES
68448 YES
68449 YES
84718 NO
84719 NO
84720 NO
84721 NO
84722 NO
The alert log on the standby server has the following in it,
"Wed Jun 20 20:40:39 2007
FAL[client]: Failed to request gap sequence
GAP - thread 1 sequence 68450-68549
DBID 1236265471 branch 597634623
FAL[client]: All defined FAL servers have been attempted."
I've checked in the archive dir on both servers and found that the first sequencial file (file: r_49afe9ff_1_68450_597634623.arc') exists on the primary but not the standby server.
I've copied the file from the primary server into the archive dir on the standby server. I need to manually register the files in the standby database. Do you know how this can be done?
The idea that I have is that once this is done, and hopefully, the file is set to applied = 'YES', I can go about transferring the other archive logs.
Or, is there some way to get the DG broker to look for these file and transfer them automatically?
Any thoughts on this would be appreciated.
|
|
|
|
| Re: Gaps have occured in the archive logs on my Standby DB (using Dataguard) [message #246615 is a reply to message #246566 ] |
Thu, 21 June 2007 08:32   |
aidi-h Messages: 41 Registered: November 2005 |
Member |
|
|
Is there some easy method to get Dataguard to automactically pick up the files where gaps exists and then process/register them on the Standby server.
Someone on a different forum suggested killing off the archive process however I would like other peoples thoughts on this.
|
|
|
|
| Re: Gaps have occured in the archive logs on my Standby DB (using Dataguard) [message #246700 is a reply to message #246669 ] |
Thu, 21 June 2007 11:42   |
DreamzZ Messages: 1667 Registered: May 2007 Location: Dreamzland |
Senior Member |
|
|
| Quote: | Is there some easy method to get Dataguard to automactically pick up the files where gaps exists and then process/register them on the Standby server.
Someone on a different forum suggested killing off the archive process however I would like other peoples thoughts on this.
|
How this gap occur ??archiving problem?
Theres no such a option for filling GAP automatically.
|
|
|
| Re: Gaps have occured in the archive logs on my Standby DB (using Dataguard) [message #257042 is a reply to message #246700 ] |
Tue, 07 August 2007 07:58   |
pramodgaree Messages: 22 Registered: August 2007 |
Junior Member |
|
|
|
how about restarting ur standby DB.....ur FAL won't work until current load on RFS is relieved..so if u restart ur standby DB,u can force FAL n those will be applied automatically.....
|
|
|
| Re: Gaps have occured in the archive logs on my Standby DB (using Dataguard) [message #257052 is a reply to message #257042 ] |
Tue, 07 August 2007 08:19   |
Michel Cadot Messages: 15244 Registered: March 2007 Location: Nanterre, France, http://... |
Senior Member |
|
|
I think that if he did not give a feedback for a month and a half he solved his problem.
Don't awake the topic.
Regards
Michel
|
|
|
| Re: Gaps have occured in the archive logs on my Standby DB (using Dataguard) [message #257087 is a reply to message #257042 ] |
Tue, 07 August 2007 10:10   |
DreamzZ Messages: 1667 Registered: May 2007 Location: Dreamzland |
Senior Member |
|
|
| pramodgaree wrote on Tue, 07 August 2007 06:58 | how about restarting ur standby DB.....ur FAL won't work until current load on RFS is relieved..so if u restart ur standby DB,u can force FAL n those will be applied automatically.....
|
Is it a good idea every time you will restart and shutdown your standby??
|
|
|
| Re: Gaps have occured in the archive logs on my Standby DB (using Dataguard) [message #257181 is a reply to message #257087 ] |
Tue, 07 August 2007 13:04   |
pramodgaree Messages: 22 Registered: August 2007 |
Junior Member |
|
|
|
ofcourse it's not a good idea..still,if rfs is fetching the frequent logs and not the logs required for MRP,wat's the use of FAL ..i think there is no other option...
|
|
|
|
|
| Re: Gaps have occured in the archive logs on my Standby DB (using Dataguard) [message #311049 is a reply to message #246566 ] |
Thu, 03 April 2008 05:20  |
aidi-h Messages: 41 Registered: November 2005 |
Member |
|
|
Many thanks for all the replies guys.
I eventually had to reapply the whole dataguard installation to get things up and running again.
Thanks again
|
|
|