Oracle Federation uard FAQs

Source: Internet
Author: User

I. Log transmission problems

1. Generally, use the following statement to check whether the sequence of the archive logs of the primary database and standby database is the same.

Run the following command in the primary database:

SQL> alter system switch logfile;

System altered.

SQL> select max (sequence #) from v $ archived_log;

MAX (SEQUENCE #)
--------------
38

If they are the same, there is no problem. If they are different, the logs are not archived.

First, check whether the log application is enabled for standby.

SQL> alter database recover managed standby database disconnect from session;

If you have enabled

Check whether the archiving location is available. I have encountered this problem because the listener has not listened to the database.

SQL> select dest_name, status, error from v $ archive_dest;

DEST_NAME
Certificate --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
STATUS ERROR
-----------------------------------------------------------------------------------
LOG_ARCHIVE_DEST_1
VALID

LOG_ARCHIVE_DEST_2
VALID

If not

Log on to the Oracle user in the operating system and check whether the listener is started. lsnrctl stauts and lsnrctl start

Check whether the two databases with tnsping are normal. If there is no problem, switch the logs in the primary database once to see if standby has received the archived logs.

If there are no problems with these steps, consider the database startup parameter file configuration. The specific problem is solved.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.