You really teach us in very simple way. Thank you Arun sir.
@dbagenesis Жыл бұрын
It's my pleasure
@sunilkumar-ot6wm5 жыл бұрын
Nice explanation. I see that you are in 12.2 I think there is improved switchover command in 12.2 SQL>ALTER DATABASE SWITCHOVER TO Test_s verify; (To verify if all is good) and then do the actual switchover with one command SQL>ALTER DATABASE SWITCHOVER TO Test_s;
@aniketbanerjee63774 жыл бұрын
Hey Arun , Thanks for posting such informative tutorial video .Just one suggestion would like to put is 1.We can omit the option of WITH SESSION SHUTDOWN as it will work 2.Also as stated below to simply in one command "ALTER DATABASE SWITCHOVER TO Test_s [FORCE] [VERIFY];
@ariaseraj40053 жыл бұрын
Great video
@dbagenesis3 жыл бұрын
Glad you enjoyed it
@basar20303 жыл бұрын
Thank you!
@dbagenesis3 жыл бұрын
Welcome!
@rajatsanwal99193 жыл бұрын
Arun Sir, Can you suggest here, what went wrong ? Database did not shut down after issuing alter database command. SQL> alter database commit to switchover to physical standby with session shutdown; Database altered. SQL> SQL> SQL> startup mount; ORA-01081: cannot start already-running ORACLE - shut it down first SQL>
@devidashalge56013 жыл бұрын
I have doubt ..What i have to do when i got switchover status not allowed.
@dbagenesis3 жыл бұрын
wait for a min and re-query 😜.. It take little time for status to change 👍
@SMRUTI914 жыл бұрын
Could you please suggest which statement is supposed to use to verify the Gap in Standby: 1. select process, status, sequence# from v$managed_standby; or 2. SELECT ARCH.THREAD# "Thread", ARCH.SEQUENCE# "Last Sequence Received", APPL.SEQUENCE# "Last Sequence Applied", (ARCH.SEQUENCE# - APPL.SEQUENCE#) "Difference" FROM (SELECT THREAD# ,SEQUENCE# FROM V$ARCHIVED_LOG WHERE (THREAD#,FIRST_TIME ) IN (SELECT THREAD#,MAX(FIRST_TIME) FROM V$ARCHIVED_LOG GROUP BY THREAD#)) ARCH,(SELECT THREAD# ,SEQUENCE# FROM V$LOG_HISTORY WHERE (THREAD#,FIRST_TIME ) IN (SELECT THREAD#,MAX(FIRST_TIME) FROM V$LOG_HISTORY GROUP BY THREAD#)) APPL WHERE ARCH.THREAD# = APPL.THREAD# ORDER BY 1; Seems the second statement not giving correct result, it's showing difference but the 1st statement shows it's Closed