Ora-01093:alter DATABASE CLOSE only permitted with no sessions connected

Source: Internet
Author: User
Tags sessions

DG Master and Standby switch Walkthrough in 10.2.0.3 Environment, after closing the application and restarting the main library, the main library queries switch state:

Sql> select Switchover_status from V$database;

Switchover_status
--------------------
SESSIONS ACTIVE

Execute the following command to try to switch

Sql> ALTER DATABASE COMMIT to switchover to physical STANDBY;

The error is as follows:

Ora-01093:alter DATABASE CLOSE only permitted with no sessions connected

At the same time, the alert log errors many system user processes are not disconnected.

Solve:

By checking MOS discovery, it is because the 10g version of DG will racgimon the process to monitor the instance state, because many racgimon processes can be seen from V$session.program.

Sql> ALTER DATABASE commit to switchover-physical STANDBY withSESSION SHUTDOWN;

The switchover was successful.

Ora-01093:alter DATABASE CLOSE only permitted with no sessions connected

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.