Sunday, January 6, 2019

How to to manual Failover on physical standby

Failover on Physical Standby


How to do manually Failover on Physical Standby Database step by step.
Do Failover on Physical standby database without DG-Broker. Here is my other post for how to migrate Non-ASM Oracle Database to ASM filesystem. Click here For YouTube video
Once you have done failover, the standby database become Primary, Now you can not switchback to standby database again. so you can perform Failover only one time.
Step-1. Suppose you have lost the primary database for any reason.
On Standby: First of all cancel the standby database recovery using following command.
SQL> ALTER DATABASE RECOVER MANAGED STANDBY DATABASE CANCEL;
Note: The standby redo log information is still required, Therefore issue this command.


Step-2.
SQL> ALTER DATABASE RECOVER MANAGED STANDBY DATABASE FINISH;
If you are not using standby redo logs then run the following Steps.
SQL> ALTER DATABASE RECOVER MANAGED STANDBY DATABASE FINISH SKIP STANDBY LOGFILE;
Step-3. Now converting standby database role in primary role using following commands.
SQL> ALTER DATABASE COMMIT TO SWITCHOVER TO PRIMARY;
Alert: This will only succeed if the correct RECOVER FINISH-statement was issued before. If you forgot the ‘SKIP STANDBY LOGFILE’ although you have no Standby RedoLogs, the COMMIT to Switchover will fail with the error that more Media Recovery is required here. 
If the COMMIT TO SWITCHOVER fails for any reason you have to use the ACTIVATEcommand which forces the Failover.

Step-4.
SQL> ALTER DATABASE ACTIVE STANDBY DATABASE;
SQL> SHU IMMEDIATE
SQL> STARTUP

Hope you Enjoyed this artical, please tell us about your experience just write in comment box.
Thanks Always keep smile ðŸ™‚

Sunday, September 10, 2017

What is MySQL and Why It Is the World’s Most Popular Open Source Database

MySQL? What?







MySQL? What?
My is the daughter’s name of the MySQL’s co-founder, Monty Widenius.
The name of MySQL is the combination of My and SQL, MySQL.
The MySQL is a DBMS (database management system) that allows you to manage RDBMS (relational databases). MySQL is open source Database software backed by Oracle. It means you can use MySQL without paying a money. In addition, if you want, you can change its source code to fullfile your needs.
If you have need any support so you can buy a commercial license version software from Oracle to get a premium support services.
MySQL is very easy to master in comparison with other DB software like Oracle DB, or Microsoft SQL Server.
MySQL support to various platforms like Linux, UNIX, Windows, etc. You can install it in a server or even in a desktop. In addition, MySQL is reliable, scalable, and fast database software.

The legally way to pronounce MySQL is My Ess Que Ell, not My Sequel. However, you can pronounce it whatever you like, who care?

If you develop any type of websites or web applications, MySQL database is a good choice. MySQL is an important component of LAMP stack, which includes Apache, Linux, MySQL, and PHP.

Sunday, August 27, 2017

Tuesday, May 23, 2017

Oracle Tutorial - How to make a Login script for Oracle Database

Hello Friends in this video i'm going to demonstrate you how to make a auto login script for oracle database step by step.



For more detail please visit on following link.



www.ocptechnology.com





Thursday, April 27, 2017

How to import the dumpfile if the Database version are not same

Hello Friends in this video i'm going to show you how to import the dumpfile if the Database version are not same step by step.



oracle training for beginners

www.ocptechnology.com



Sunday, April 9, 2017

How to split the datapump dumpfiles || limit the file size of dumpfile i...

Hello Dosto,



In this video i'm going to demonstrate you how to export dumpfile in multiple files and how to export in multiple directories step by step,

For more detail you can visit on my official website www.ocptechnology.com



How to split the Data-Pump Dump-Files into multiple files and in multiple Directories ?


$expdp dumpfile=DATA_PUMP_DIR:OCP_1.dmp, OCPTECH:OCP_2.dmp logfile=OCPTECH:OCP.log

Use above command to export dumpfile into multiple directories.



Monday, March 27, 2017

How to make a password protected ZIP or RAR file || zip ya rar file par ...

How to make a password protected ZIP or RAR file || zip ya rar file par password Kaise Lagaye



Namaskar Dosto zip ya rar file par password Kaise Lagaye





Please subscribe for support.