AWS announced on November 20, 2026 that Amazon RDS for Oracle has gained a feature called Replica First Patching. The feature lets Enterprise Edition customers install a new minor engine version on a same-Region replica while the primary keeps running, and then make that replica the new primary through an Oracle Data Guard switchover.
Until now, a standard minor version upgrade on RDS for Oracle took the primary instance offline while the database software was replaced. Now the long software swap happens on the replica, and the primary is down only for the switchover and the final dictionary step. Busy Oracle systems on RDS get a shorter, more predictable patch window.
What changed
Replica First Patching turns an existing Oracle replica into a staging ground for a Release Update or patch bundle. You upgrade the replica first, check it, and only then swap roles. If you never perform the swap, RDS returns the replica to its old version on its own.
- Works with Release Updates (RU), Monthly Recommended Patches (MRP) and Supplemental Patch Bundles (SPB) inside the same major version.
- The primary stays in the available state and serves reads and writes until you start the switchover.
- A 48-hour window opens after the replica finishes its software upgrade.
- No extra charge for the feature itself; the replica is billed at normal rates.
- Offered in every commercial AWS Region that runs RDS for Oracle.
How the three phases work
In the first phase you modify the replica and pick the target minor engine version, from the console, the AWS CLI modify-db-instance command or the ModifyDBInstance API. The replica shows the status upgrading, and a read-only replica briefly drops read traffic while its software is replaced.
When the work is done, the replica moves to a new status, replica-patched-pending-switchover, shown as Patch pending switchover in the console. That marks the start of the 48-hour window. In the second phase you start the switchover, and the upgraded replica becomes the primary while the old primary becomes a replica.
In the third phase RDS runs datapatch on the new primary to update the Oracle data dictionary. Once that finishes and the instance accepts connections, RDS upgrades the former primary and the remaining replicas, including any cross-Region ones, to the same version.
Requirements and limits
The feature is tied to Enterprise Edition. Standard Edition 2 instances cannot use it, and the replica you patch first has to live in the same Region as the primary. It can run in mounted mode or in read-only mode, but read-only mode needs the Oracle Active Data Guard option.
- Only minor version upgrades are allowed; a major version target is rejected.
- Only one Replica First Patching run per primary can be active at a time.
- The replica must meet the normal Data Guard switchover rules, including automatic backups turned on.
- Multi-AZ primaries are supported, and RDS updates the standby during the switchover.
- While the replica waits for the switchover, you cannot change its option group or parameter group.
There is also an interaction with automatic minor version upgrades. If one is scheduled for the primary's maintenance window and that window arrives before you switch over, the automatic upgrade wins. RDS rolls the replica back and patches the whole set the standard way.
Rollback and notifications
Rolling back is built in. If the 48-hour window closes without a switchover, RDS puts the replica back on the engine version it had before, sets it back to available and resumes replication. You can also roll back early by modifying the replica back to its old version and applying the change immediately; there is no separate cancel call.
Other actions also trigger a rollback, such as upgrading the primary directly, promoting the replica, deleting the primary or switching over to a cross-Region replica. RDS publishes event notifications for the key moments, including RDS-EVENT-0510 when the window opens, RDS-EVENT-0551 at the halfway mark and RDS-EVENT-0511 when an expired window causes a rollback.
What it means for developers
The biggest practical change is where you test a patch. If your replica runs in read-only mode, you can point reporting jobs or a slice of read traffic at it and watch for plan changes or errors on the new Release Update before production moves. That is a real step up from patching and hoping.
Connection handling matters just as much. AWS recommends the Primary Endpoint, a DNS name that always points at the current primary. We covered it in Amazon RDS for Oracle Adds a Primary Endpoint That Follows the Primary Through Data Guard Switchovers.
Apps that still use the old primary's instance endpoint need a config change after the switchover, so move them to the Primary Endpoint first.
Plan your monitoring before the first run. Subscribe to RDS events in both the maintenance and notification categories so nobody misses the 48-hour deadline. Also decide whether to switch off automatic minor version upgrades on the primary for the duration, so a scheduled maintenance window does not undo your staged patch.
How to get started
Check that your primary is Enterprise Edition with at least one same-Region replica in the available state and backups enabled. Pick a target minor version of the same major release, apply it to the replica and wait for the Patch pending switchover status.
Use the window to test, then start the switchover during a quiet period from the console pop-up or with the switchover-read-replica CLI command. The Upgrading with Replica First Patching chapter of the RDS User Guide lists every step and event.
Conclusion
Replica First Patching brings a blue-green style patch flow to RDS for Oracle Enterprise Edition. The primary keeps working while the replica is upgraded, testing happens on real read traffic, and an automatic rollback guards against a forgotten switchover. Teams that pair it with the Primary Endpoint can patch with little downtime and no connection string edits.
Sources
- AWS What's New: Amazon RDS for Oracle now supports Replica First Patching
- Amazon RDS User Guide: Upgrading with Replica First Patching
- Amazon RDS User Guide: Requirements and limitations for Replica First Patching
- Amazon RDS User Guide: Performing Replica First Patching
- Amazon RDS User Guide: Rolling back Replica First Patching
See my articles more often when you search Google.
