Skip to content
pvmehta.com

pvmehta.com

  • Home
  • About Me
  • Toggle search form
  • How does one SELECT a value from a table into a Unix variable? From SQL to Shell Linux/Unix
  • Metalink Note: Note:250655.1 : ADDM Basics USING THE AUTOMATIC DATABASE DIAGNOSTIC MONITOR Oracle
  • Goldengate document from Porus Oracle
  • Removing Blank lines from file using grep Linux/Unix
  • Goldengate Tutorial Oracle
  • pvmehta.com SQL scripts
    Find which sessions is accessing object that prevent your session to have exclusive locks in Oracle Oracle
  • Export Import with QUERY Oracle
  • DBMS_JOB all example Oracle
  • longtx.sql with the flag whether session is blocking any DML locks or not. Oracle
  • newupload.html PHP/MYSQL/Wordpress
  • Find_stale_dr.sql finding stale physical DR.. Oracle
  • nfs mount command Linux/Unix
  • Rman Notes -1 Oracle
  • ORA-00064: object is too large to allocate on this O/S during startup Oracle
  • Oracle Identifiers Oracle

Physical Standby switchover with session active

Posted on 30-Dec-2009 By Admin No Comments on Physical Standby switchover with session active

In order to perform a switchover all sessions to the database need to be

disconnected. In version 901 this was a manual process. In version 9.2.0

this process has been automated with the “with session shutdown” clause

that has been added to the alter database commit to switchover command.

If SWITCHOVER_STATUS returns SESSIONS ACTIVE then you should either

disconnect all sessions manually or when performing step 2 you should append

the “with session shutdown” clause. For example:

SQL> alter database commit to switchover to standby with session shutdown;

Read manuls before you do and also metalink note 232240.1

Oracle, rman-dataguard

Post navigation

Previous Post: Monitor Long Running Job
Next Post: switchover for primary database

Related Posts

  • v$event_name Oracle
  • Export Import with QUERY Oracle
  • DBMS_PROFILER for tuning PLSQL programs. Oracle
  • Default User Profile Oracle
  • shr1.sql for MTS or Shared server configuration Oracle
  • To check whether standby is recovering properly or not?? Oracle

Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *

Categories

  • Ansible (0)
  • AWS (2)
  • Azure (1)
  • Linux/Unix (149)
  • MYSQL (5)
  • Oracle (393)
  • PHP/MYSQL/Wordpress (10)
  • POSTGRESQL (0)
  • Power-BI (0)
  • Python/PySpark (7)
  • RAC (17)
  • rman-dataguard (26)
  • shell (149)
  • SQL scripts (342)
  • SQL Server (6)
  • Uncategorized (0)
  • Videos (0)

Recent Posts

  • Trace a SQL session from another session using ORADEBUG30-Sep-2025
  • SQL Server Vs Oracle Architecture difference25-Jul-2025
  • SQL Server: How to see historical transactions25-Jul-2025
  • SQL Server: How to see current transactions or requests25-Jul-2025
  • T-SQL Vs PL/SQL Syntax25-Jul-2025
  • Check SQL Server edition25-Jul-2025
  • Checking SQL Server Version25-Jul-2025
  • Oracle vs MYSQL Architecture differences (For DBAs)24-Jul-2025
  • V$INSTANCE of Oracle in MYSQL24-Jul-2025
  • Day to day MYSQL DBA operations (Compared with Oracle DBA)24-Jul-2025

Archives

  • 2025
  • 2024
  • 2023
  • 2010
  • 2009
  • 2008
  • 2007
  • 2006
  • 2005
  • Kernel Parameter setting explaination for Processes Parameter Linux/Unix
  • rm_backup_arch_file.ksh Linux/Unix
  • Establishing trusted relationship between dbmonitor( central monitoring) and monitoring targets. Linux/Unix
  • Oracle Connections expire_time and firewall Oracle
  • Debugging Shell FIles Linux/Unix
  • Monitor Long Running Job Oracle
  • In Addition to previous note, following grants needed on PERFSTAT user. Oracle
  • Backup and Recovery Scenarios Oracle

Copyright © 2025 pvmehta.com.

Powered by PressBook News WordPress theme