Skip to content
pvmehta.com

pvmehta.com

  • Home
  • About Me
  • Toggle search form
  • TNSNAMES entries details Oracle
  • Caching sequence in Memory Oracle
  • Library cahe Latches and internal explaination Oracle
  • Nice notes on wait events Oracle
  • arch_configUOCIOTTO.ora Oracle
  • Changing unix system clock when Oracle database is running. Oracle
  • Oracle 11g Environment Setup Oracle
  • Settting up get_vmstat.sh for colletinf CPU Usage. Oracle
  • Renaming Global Name GLOBAL_NAME Oracle
  • how to find OS block size Oracle
  • Oracle10g – Using SQLAccess Advisor (DBMS_ADVISOR) with the Automatic Workload Repository Oracle
  • Deleting first line and lastline of a file using sed Linux/Unix
  • Handling LOB data in Oracle Oracle
  • All About Trace Fils Oracle
  • True Session Wait Activity in Oracle 10g Verygood 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

  • PLSQL Table Syntax 1 Oracle
  • Rownum with Order by Oracle
  • normal maintenance for exp-imp and renaming table Oracle
  • In Addition to previous note, following grants needed on PERFSTAT user. Oracle
  • Resolving RMAN Hung Jobs Oracle
  • Oracle GoldenGate lag monitoring shell script Linux/Unix

Leave a Reply Cancel reply

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

Categories

  • AWS (2)
  • Azure (1)
  • Linux/Unix (149)
  • Oracle (392)
  • PHP/MYSQL/Wordpress (10)
  • Power-BI (0)
  • Python/PySpark (7)
  • RAC (17)
  • rman-dataguard (26)
  • shell (149)
  • SQL scripts (341)
  • Uncategorized (0)
  • Videos (0)

Recent Posts

  • load SPM baseline from cursor cache05-Jun-2025
  • Drop all SPM baselines for SQL handle05-Jun-2025
  • Load SPM baseline from AWR05-Jun-2025
  • Drop specific SQL plan baseline – spm05-Jun-2025
  • findinfo.sql (SQL for getting CPU and Active session info)27-May-2025
  • SQL Tracker by SID sqltrackerbysid.sql22-Apr-2025
  • How to connect to Oracle Database with Wallet with Python.21-Mar-2025
  • JSON/XML Types in Oracle18-Mar-2025
  • CPU Core related projections12-Mar-2025
  • Exadata Basics10-Dec-2024

Archives

  • 2025
  • 2024
  • 2023
  • 2010
  • 2009
  • 2008
  • 2007
  • 2006
  • 2005
  • Single character replacement in Unix Linux/Unix
  • Oracle Data Direct to TAPE Oracle
  • Implementing Listener Security Oracle
  • Virtual Indexes in Oracle Oracle
  • column level grant syntax Oracle
  • Optimizer_Index init.ora parameter explaination. Oracle
  • export import with parameter file. Oracle
  • USER_TABLES.Freelists Oracle

Copyright © 2025 pvmehta.com.

Powered by PressBook News WordPress theme