Skip to Main Content

Database Software

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Automatically running "alter database recover managed standby database using current logfile disconn

DrummerCA35Jul 27 2015 — edited Jul 27 2015

Hello,

We are running oracle 11gR2 on Windows.

This is probably a bonehead question and apologies if it's been asked already. But, I have the Windows Oracle service start automatically, I have the standby database start automatically. 

But I still have to manually go in and run "alter database recover managed standby database using current logfile disconnect;"

There must be a better way, such that I can have that line run automatically upon DB startup.  But the standby database is in read mode.  I can think of work arounds, but there has to be a way to do this, it's so basic.

Thanks in advance...

Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Aug 24 2015
Added on Jul 27 2015
5 comments
2,063 views