Add a Replicat for PostgreSQL
Learn to add a Replicat for PostgreSQL Database, Extract for PostgreSQL Database, OCI Database with PostgreSQL, Amazon Aurora PostgreSQL, Amazon RDS for PostgreSQL, Azure Database for PostgreSQL, Azure Cosmos DB for PostgreSQL, and Google Cloud SQL for PostgreSQL, EDB Postgres Advanced Server, and YugabyteDB in OCI GoldenGate.
Ensure that you follow the appropriate instructions for your deployment version.
Add a Replicat for PostgreSQL (26ai)
Before you begin
Ensure that you add a Checkpoint table for the Replicat to restart without recapturing reapplying transactions should a disruption occur.
-
In the OCI GoldenGate deployment console navigation menu, expand DB Connections, and select your target database.
-
Select Add Checkpoint (plus icon).
-
For Checkpoint Table, enter the target schema name, and then select Submit.
Add the Replicat
-
In the OCI GoldenGate deployment console navigation menu, select Replicats.
-
On the Replicats page, select Add Replicat (plus icon).
-
The Add Replicat form consists of four pages. Complete the form as needed:
-
On the Replicat Information page:
-
Select a Replicat type:
-
Classic Replicat
-
Coordinated Replicat
-
Parallel Replicat
Learn about different Replicat types.
-
-
Select Next.
-
-
On the Replicat Options page:
-
Enter the Replicat trail details:
-
Name (can only be two characters)
-
Subdirectory
-
-
Select the Target Credentials:
-
Domain
-
Alias
-
Checkpoint Table
-
(Optional) When to Begin
-
-
Enter the Trail Position Sequence Number and RBA Offset.
-
Select Next.
-
-
On the Managed Options page, complete the optional fields as needed:
-
Select a Profile Name.
-
Enable Critical to deployment health.
-
Enable Auto Start.
-
Enable Auto Restart.
-
Select Next.
-
-
On the Parameter File page, you can configure how the Replicat maps the source and target tables. For example:
MAP table.*, TARGET table.*;
-
-
Select Create and Run to start the Replicat. If you select Create, you can manually start the Replicat later on the Replicats page.
You return to the Replicats page, where you can select the Replicat to view its details.
Add a Replicat for PostgreSQL (21c)
Before you begin
Create a checkpoint table to ensure the Replicat can restart without reapplying transactions should a disruption occur.
-
In the OCI GoldenGate deployment console navigation menu, select Configuration.
-
On the Database tab, select the database connect icon for the target database.
-
Select Add Checkpoint (plus icon).
-
For Checkpoint Table, enter the target schema name, and then select Submit.
Add the Replicat
-
In the deployment console, on the Administration service Overview page, select Add Replicat (plus icon)
-
In the Add Replicat wizard, on the Replicat Type page, select one of the following, and then select Next:
-
Classic Replicat
-
Coordinated Replicat
-
Parallel Replicat
-
-
On the Replicat Options page, complete the following fields, and then select Next:
-
For Process Name, enter name, no more than 5 characters long.
-
(Optional) For Description, enter a brief description to distinguish this Replicat from others.
-
For Intent, select the Replicat's purpose:
-
Disaster Recovery
-
Unidirectional (default)
-
N-Way
-
-
For Credential Domain and Credential Alias, select the target database domain and alias, or create a new one.
-
For Source, select the source of data to process, either Trail or File.
-
If the source is Trail, then for Trail Name, enter the name of the Extract trail. If the source if File, then enter the File Name.
-
(Optional) If the source is Trail and you expect the trail file to be in a location other than the default, then enter the location for Trail Subdirectory.
-
For Begin, select the starting point for data processing:
-
Position in Log (default)
-
Now
-
Custom Time
-
-
For Trail Sequence Number, leave the default value or enter a transaction log sequence number.
-
For Trail RBA Offset, leave the default value or enter an offset value.
-
For Checkpoint Table, select the checkpoint table you created for the target deployment, or enter a two part checkpoint table name.
-
-
Under Encryption Profile, select a profile name. If an encryption profile wasn't created, the Local Wallet is selected by default.
-
On the Parameter File page, add parameters to further configure the Replicat process.
table source.table1;Note:
GoldenGate uses Greenwich Mean Time (GMT) by default. Use SETENV to override the default setting for the Replicat. This change doesn’t apply to deployments. For example:
setenv (TZ="US/Eastern") setenv (TZ="GMT+5") -
Select Create and Run. If you select Create, then you can manually start the Replicat later from the Administration Service Overview page.
You return to the Administration Service Overview page where you can view the creation of the Replicat process and access Replicat Actions.