Maintain your OCI GoldenGate deployments

Learn about GoldenGate versions, how and when to upgrade, receive or snooze notifications, and how to rollback upgrades.

About GoldenGate versions

OCI GoldenGate supports multiple concurrent versions, for example, Oracle GoldenGate, Oracle GoldenGate for Big Data, and Oracle GoldenGate for MySQL, to name a few. Refer to the versions reference for details on the appropriate version for you.

Every release has a build number. There are three types of releases:

Note: All release types can contain security fixes.

Depending on the type of release and whether or not it includes a security fix, you have a specific amount of time to upgrade your deployment when a new version becomes available:

Release type Major Bundle Minor
Non-security fix 365 days 180 days Not applicable
Security fix Not applicable 14 days 14 days

If you don’t upgrade manually within the given timeframe, then your deployment automatically upgrades to the latest version at the end of this timeframe.

Note: You can view the date a version is supported until in the Upgrade deployment screen and Upgrades list.

Deprecation of versions

A GoldenGate version is available from the date it was released to the date it’s deprecated. When a version is deprecated, you can no longer select it for deployment creation or upgrade.

Deprecation periods use the same time frames as version upgrades. For example:

Note: Beginning April 2027, all 21c data replication deployments will auto upgrade to the latest available release version. Release dates may differ between regions.

Schedule upgrades

You can customize maintenance windows that define when to upgrade your deployment. If you don’t define a maintenance window, then OCI GoldenGate calculates the best time to upgrade the deployment based on the latest version’s release date and then automatically upgrade your deployment during the weekend closest to the calculated end of the auto upgrade period.

Note: When a new version of a Major, Bundle, or Minor release is released, OCI GoldenGate schedules an upgrade for you based on its applicable timeline (365 days for Major, 180 days for Bundle, 14 days for Minor with security fix). If a newer version of the same release becomes available, then the service upgrades your deployment using the latest version available, but the scheduled date remains unchanged.

You can customize the OCI GoldenGate maintenance window when you create the deployment or when you edit an existing deployment. When a new GoldenGate version becomes available, the deployment automatically upgrades on the exact day and time chosen. However, it is possible for deployments to automatically upgrade before your chosen day and time, when your chosen upgrade timeframe for manual upgrade falls outside the maintenance window.

For example, let’s say on January 1st, you have 30 days left to upgrade your deployment, then you have until Tuesday, January 31st to manually upgrade. However, your customized maintenance window begins on Sundays at 10PM. With this maintenance window, OCI GoldenGate will upgrade your deployment on the following Sunday at 10PM, because OCI GoldenGate always prioritizes your customized window.

To edit the customized maintenance window:

  1. On the deployment details page, under GoldenGate in the Deployment information area, for Maintenance, select Edit.

  2. In the Edit maintenance parameters dialog:

    1. (Optional) Select Customize maintenance window to change the following fields from their default values.

    2. For Major release auto-upgrade period in days, enter a value between 0 and 365.

    3. For Bundle release auto-upgrade period in days, enter a value between 0 and 180.

    4. For Security path auto-upgrade period in days, enter a value between 0 and 14.

    5. (Optional) Select Enable minor release auto-upgrade, and then enter a value for Minor release auto-upgrade period in days.

  3. Select Save changes.

Before you upgrade

Before upgrading a deployment, ensure that you complete the following tasks and check for long running transactions.

Ensure Archive Logs are available for recovery

Use the following command in Admin Client to determine the oldest archive log that you might need to restore when Extract starts. The Recovery Checkpoint field shows the oldest log needed for recovery.

Admin Client > INFO EXTRACT group_name, SHOWCH

It’s best to perform upgrade activities outside of the peak hours. If there are large and long running transactions, you may consider that on the source system, the new Extract might need to start processing from the normal recovery checkpoint, rather than the bounded recovery checkpoint, if the first record of the oldest open transaction at the time that you stop Extract is in a log that is not on the system.

Clear long running transactions

To clear long running transactions, you have two options:

Synchronize Replicats

For deployments with Parallel Replicats, ensure that you synchronize Replicats before you upgrade:

Admin Client > SYNCHRONIZE REPLICAT group_name

For more information, see SYNCHRONIZE REPLICAT command line interface reference.

Upgrade a deployment

Ensure that you complete the Before you upgrade steps first.

When you upgrade a deployment,

To upgrade a deployment:

  1. On the Deployments page, select the deployment you want to upgrade.

  2. On the deployment details page, from the Actions menu, select Upgrade.

  3. In the Upgrade deployment panel, select an available GoldenGate version to upgrade to, and then select Upgrade.

Note: Learn more about versions.

The upgrade takes a few minutes to complete. Select Upgrades on the deployment details page after the upgrade completes to view the upgrade history or if an issue is encountered during the upgrade process.

Upgrade Heartbeat tables

You must also upgrade Heartbeat tables if they’re used in your deployment. After you complete the upgrade, you can either:

Upgrade notifications

OCI GoldenGate sends you event notifications for when an upgrade is available and when an upgrade is scheduled. See GoldenGate Upgrade Event types for more information, or learn more about events.

Time to upgrade < 180 days < 30 days < 7 days
Notification period Every 30 days Every 7 days Every day

Note: OCI GoldenGate sends notification for security fixes every day.

You can also learn about upcoming upgrades from the notification banners that appear on the deployment details page.

Snooze notifications

You can snooze, or delay, event and banner notifications. The snooze period changes as you get closer to the end of the timeframe for manual upgrade.

Time to upgrade < 180 days < 30 days < 7 days
Snooze period 30 days 7 days Not allowed

Note: Snooze for security fixes of Minor or Bundle upgrades is not allowed.

You can cancel snooze at any time.

Rollback upgrades

You can rollback a deployment version to the previous one. Rollback is only allowed for your latest successful upgrade to its previous version.

Note: During rollback, the deployment file system is restored to its last state before upgrading.

Rollback is not allowed when the previous version is deprecated.

To rollback an upgrade:

  1. From the Deployments page, select the deployment you want to rollback.

  2. On the deployment details page, select Upgrades.

  3. In the Upgrades list, locate the most recent previous version, and then from its Action menu, select Rollback.

  4. Select the version to rollback to, and then select Rollback.

Note: Refer to the versions reference for a list of available versions.

Your deployment’s status changes to updating and takes a few minutes to complete.

Reschedule upgrades

You can reschedule your auto scheduled upgrades. You can reschedule the upgrade to a closer date or postpone it to a later date.

Note: Rescheduling doesn’t take maintenance windows into account. Your newly scheduled date can’t be later than OCI GoldenGate’s defined value. See About GoldenGate versions for more information.

To reschedule an upgrade:

  1. From the Deployments page, select the deployment whose upgrade your want to reschedule.

  2. On the deployment details page, select Upgrades.

  3. In the Upgrades list, locate the most recent previous version, and then from its Action menu, select Reschedule.

  4. In the Reschedule deployment upgrade window, select the date and time to perform the upgrade.

  5. Select Save changes.

In the Upgrades list, the Scheduled date and time reflects the changes.

Cancel upgrades

You can only cancel an auto scheduled upgrade if the target version is a minor release.

Note: Canceling an upgrade to a minor release won’t disable the auto upgrades for minor releases implicitly and must be disabled manually. You can disable minor release auto upgrade from the deployment details page. See Schedule upgrades for more information.

To cancel an upgrade:

  1. From the Deployments page, select the deployment whose upgrade you want to cancel.

  2. On the deployment details page, select Upgrades.

  3. In the Upgrades list, locate the most recent previous version, and then from its Action menu, select Cancel.

  4. In the Cancel deployment upgrade window, select Cancel deployment upgrade.

The upgrade’s status is updated to Cancelled.

Known issues

Post-upgrade to Oracle GoldenGate 23.26.x, deployment console 502 Bad Gateway error or fail to list GoldenGate processes after login

Oracle Cloud Infrastructure GoldenGate 23.26 deployments may become unhealthy after upgrading from earlier labels to version 23.26.x, or after performing a stop/start operation on a 23.26.x deployment.

Workaround: Upgrade impacted Oracle deployments to label oggoracle:23.26.1.0.0_260331, to fix this issue.

For Big Data and other non-Oracle labels, a fix will be announced shortly. Contact Support for the interim manual mitigation to prevent impact.

Issues during rollback from 21.15 or 23.x builds to 21.14

When attempting to rollback a 21.15 or 23.x build to one of the following builds:

You may encounter one of the following issues: