Skip to main content

Posts

How to configure Logical Standby

Introduction: Oracle Logical Standby database is a type of standby database created and maintained using Oracle Data Guard (ODG), where redo data from the primary database is transformed into SQL statements and applied logically on the standby database. A Logical Standby differs from a Physical Standby by applying redo through SQL apply rather than block-level recovery. This approach keeps the standby database open in read/write mode while it remains in sync with the primary. Logical Standby databases are particularly well suited for environments that require both robust data protection and effective workload offloading, without adding performance overhead to the primary system. In this article, we will configure the Logical Standby. Prerequisites: Oracle Data Guard (Physical Standby) should be configured. For Physical Standby Setup Click here . Verify the unsupported objects for Logical Standby. Tables must have a primary key or unique constraint. Envir...

Bidirectional Golden Gate - Extract and Replicat

Introduction: We are going to configure a Bidirectional Golden Gate setup between two Oracle database environments. We will use Oracle Golden Gate 19c classic version. In the previous article we have done the Golden Gate software installation and prepared the database for replication. Please visit below link. Bidirectional Golden Gate - Installation and Preparation In this article, we will configure the Extract & Replicat for bidirectional replication. Scenario: Suppose there are two bracnhes of a company one in Delhi & one in Noida. Both branches have similar business setup but using different database instances. So both databases are being used for read/write operation, thus in order to make both databases in sync we can use Bidirectional Golden Gate setup. Environment: Server Source Target Hostname delhi.oraeasy.com noida.oraeasy.com OS OEL 8.5 OEL 8.5 ...

Bidirectional Golden Gate - Installation and Preparation

Introduction: We are going to configure a Bidirectional Golden Gate setup between two Oracle database environments. We will use Oracle Golden Gate 19c classic version. In this article, we will install the Golden Gate software and prepare the database for replication. Scenario: Suppose there are two bracnhes of a company one in Delhi & one in Noida. Both branches have similar business setup but using different database instances. So both databases are being used for read/write operation, thus in order to make both databases in sync we can use Bidirectional Golden Gate setup. Prerequisites: Below are the minimum requirements for Bidirectional Golden Gate setup. Databases should be installed & running in source & target. Connectivity between source & target servers. Free Disk space (approx. 15GB) for Golden Gate binary on both servers. Working TNS entry in tnsnames.ora file for database in both servers. Software Download: Oracle GoldenGate 19c on Linu...

How to create a PDB manually using SQL

Introduction: In this article, we will create a PDB manually using SQL command in different ways. We will also see how to rename and drop the PDB manually using SQL. Prerequisites: RMAN backup for rollback purpose. Disk space requirement is depending upon the PDB size. Summary of activities: We will do below acivities with PDB. Creating a clone PDB from an existing PDB. Creating a blank PDB. Creating a clone PDB from an existing PDB of different container database. Renaming a PDB. Dropping a PDB. Now let's proceed to perform manual PDB creation step by step: Clone the existing PDB. 1. We will create a clone PDB "TESTPDB" from existing PDB "ORCLPDB". Take precheck. SQL> show pdbs CON_ID CON_NAME OPEN MODE RESTRICTED ---------- ------------------------------ ---------- ---------- 2 PDB$SEED READ ONLY N...