Ask the Expert

Archive log not updating

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

There are Comments. Add yours.

 
TIP: Want to include a code block in your comment? Use <pre> or <code> tags around the desired text. Ex: <code>insert code</code>

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy
Sort by: OldestNewest

Forgot Password?

No problem! Submit your e-mail address below. We'll send you an email containing your password.

Your password has been sent to: