Skip to content
pvmehta.com

pvmehta.com

  • Home
  • About Me
  • Toggle search form
  • checking connectivity between two servers Linux/Unix
  • CPU speed on Linux Linux/Unix
  • Convert multiple rows to single column Oracle
  • run this before doing any dbchange pvm_pre_change.sql Oracle
  • 276434.1 Modifying the VIP or VIP Hostname of a 10g or 11g Oracle Clusterware Node Oracle
  • changing kernel parameter in Oracle Enterpise Linux Linux/Unix
  • Validating ORACLE_SID againt oratab file. Linux/Unix
  • How to calculate PROCESSES parameter Oracle
  • crontab syntax Linux/Unix
  • backspace in SQL Plus not working then..? Linux/Unix
  • DB Console Mainenance. Oracle
  • Linux CPU info. Linux/Unix
  • handling filenname with space Linux/Unix
  • Standby Database File Management in 10g with STANDBY_FILE_MANAGEMENT Oracle
  • moving lob object to other tablespace lob_mvmt.sql 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

  • DBMS_Shared_pool pinning triggers Oracle
  • Default User Profile Oracle
  • Updated LCK.SQL file. Oracle
  • db_status.sql Oracle
  • Goldengate document from Porus Oracle
  • sess_server.sql Oracle

Leave a Reply Cancel reply

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

Categories

  • Ansible (0)
  • AWS (2)
  • Azure (1)
  • Django (0)
  • GIT (1)
  • Linux/Unix (149)
  • MYSQL (5)
  • Oracle (400)
  • PHP/MYSQL/Wordpress (10)
  • POSTGRESQL (1)
  • Power-BI (0)
  • Python/PySpark (7)
  • RAC (18)
  • rman-dataguard (26)
  • shell (150)
  • SQL scripts (348)
  • SQL Server (6)
  • Uncategorized (3)
  • Videos (0)

Recent Posts

  • Running PDB on single node in RAC09-Apr-2026
  • find_arc.sql09-Apr-2026
  • pvm_pre_change.sql08-Apr-2026
  • find_encr_wallet.sql08-Apr-2026
  • find_pdbs.sql08-Apr-2026
  • Creating a Container Database using dbaascli08-Apr-2026
  • track_autoupgrade_copy_progress.sql01-Apr-2026
  • refre.sql for multitenant01-Apr-2026
  • prepfiles.sh for step by step generating pending statistics files10-Mar-2026
  • tracksqltime.sql05-Mar-2026

Archives

  • 2026
  • 2025
  • 2024
  • 2023
  • 2010
  • 2009
  • 2008
  • 2007
  • 2006
  • 2005
  • On solaris 10, “S” link is not part of $ORACLE_HOME/bin/oracle as default. ( For 9.2.0.8) Oracle
  • 276434.1 Modifying the VIP or VIP Hostname of a 10g or 11g Oracle Clusterware Node Oracle
  • To see only files and/or folders using LS command Linux/Unix
  • Follwoing korn shell is used to move files from source folder to destination folder and gzip it in destination folder. mv_iotto.ksh Linux/Unix
  • mutex in Oracle 10.2.0.2 or Oracle 10g Oracle
  • Python class import from different folders Python/PySpark
  • How to find who is using which Rollback segment and how many rows or blocks in that rollback segments, Oracle
  • Database logon trigger issue Oracle

Copyright © 2026 pvmehta.com.

Powered by PressBook News WordPress theme