Skip to content
pvmehta.com

pvmehta.com

  • Home
  • About Me
  • Toggle search form
  • shr1.sql for MTS or Shared server configuration Oracle
  • setting prompt display with .profile Linux/Unix
  • To see mem usage and CPU usage system wide. Linux/Unix
  • Set Role explaination. Oracle
  • Search and Replace vi editor command. Linux/Unix
  • Privileges Required to Create Procedures and Functions that uses objects from other schema. Oracle
  • compile_inv.sql Oracle
  • Monitor and Trace Unix processes using truss Linux/Unix
  • Consolidated Reference List Of Notes For Migration / Upgrade Service Requests -ID 762540.1 Oracle
  • alter database backup controlfile to trace Oracle
  • Metalink Note: Note:250655.1 : ADDM Basics USING THE AUTOMATIC DATABASE DIAGNOSTIC MONITOR Oracle
  • Oracle 11g Training on 29JAN1010 Oracle
  • findobj.sql Oracle
  • Jai Shree Ram Oracle
  • Find Command Linux/Unix

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

  • How to find pinned objects from shared pool. (pinned via dbms_shared_pool.keep) Oracle
  • Vivek Tuning for Row Locks. Oracle
  • Trace a SQL session from another session using ORADEBUG Oracle
  • Oracle 10g Installation/Applying Patches Tips Oracle
  • DBMS_PROFILER for tuning PLSQL programs. Oracle
  • How to find password change date for user 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 (394)
  • PHP/MYSQL/Wordpress (10)
  • POSTGRESQL (1)
  • Power-BI (0)
  • Python/PySpark (7)
  • RAC (17)
  • rman-dataguard (26)
  • shell (149)
  • SQL scripts (343)
  • SQL Server (6)
  • Uncategorized (0)
  • Videos (0)

Recent Posts

  • tracksqltime.sql05-Mar-2026
  • Complete Git Tutorial for Beginners25-Dec-2025
  • Postgres DB user and OS user.25-Dec-2025
  • 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

Archives

  • 2026
  • 2025
  • 2024
  • 2023
  • 2010
  • 2009
  • 2008
  • 2007
  • 2006
  • 2005
  • Find_stale_dr.sql finding stale physical DR.. Oracle
  • How To Limit The Access To The Database So That Only One User Per Schema Are Connected (One Concurrent User Per Schema) Oracle
  • Getting started with notebook Python/PySpark
  • Passing from Unix to PLSQL using bind variables Linux/Unix
  • segment_wise_space.sql segspace.sql Segment wise space usage (allocated and used) Oracle
  • MYSQL for Oracle DBA MYSQL
  • catall.sh Linux/Unix
  • Renaming the column name Oracle

Copyright © 2026 pvmehta.com.

Powered by PressBook News WordPress theme