I have two databases. One is production and the other is standby on the same host. I do all primary work and if I do anything committed in the production database, one archive log is created which is automatically transferred to the standby database. But the archive log is not updating, even if I shut down the standby database and restart using:
startup nomount pfile=".............../initsid.or"
alter database mount standby database;
recover database managed standby database;
alter database open read only;
I tried all these but the archive log is not updating. Can you please help?

    Requires Free Membership to View

Did you start your standby in managed recovery mode? Try the following in your standby database:
STARTUP NOMOUNT
ALTER DATABASE MOUNT STANDBY DATABASE;
ALTER DATABASE RECOVER MANAGED STANDBY DATABASE DISCONNECT;
I would recommend reading the Data Guard documentation as this is covered in much more detail.

This was first published in June 2006

Join the conversationComment

Share
Comments

    Results

    Contribute to the conversation

    All fields are required. Comments will appear at the bottom of the article.