TL;DR
- RDS for Oracle (Enterprise Edition) can now patch a replica first, then switch over to it, so the primary only goes offline for the switchover and the final datapatch step. Announced 20 November 2026.
- You get a 48-hour switchover window; miss it and RDS rolls the replica back. A Primary Endpoint DNS name, added the same day, keeps connection strings stable.
- Available in all commercial Regions where RDS for Oracle runs, at no additional charge; you pay for the replica as usual (Active Data Guard needed for a read-only replica).
- Watch out: it needs a same-Region replica, minor versions only, and an automatic minor upgrade in your maintenance window will override it.
- My view: if you run Oracle EE with a replica already, switch your apps to the Primary Endpoint now and use this for the next patch.
Contents
What launched
On 20 November 2026 AWS announced two linked RDS for Oracle features. Replica First Patching lets you apply a minor version upgrade to a replica in the same Region while the primary keeps serving traffic, then switch over when you are ready. The Primary Endpoint is a DNS name that always resolves to the current primary in a replica setup, so a switchover does not mean editing connection strings.
| Item | What AWS states |
|---|---|
| Edition | Enterprise Edition only; Standard Edition 2 is not supported (requirements) |
| Regions | All commercial Regions where RDS for Oracle is available |
| Price | No additional charge; standard pricing applies to the replica |
| Switchover window | 48 hours after the replica reaches replica-patched-pending-switchover
|
| Upgrade type | Minor versions only (RU, MRP or SPB targets) |
| Status | Generally available (no preview wording in the posts) |
The before-and-after is simple. In a standard minor upgrade, per the user guide, RDS takes the primary offline while it replaces the Oracle software. With Replica First Patching the software upgrade happens on the replica, and the primary is unavailable only during the switchover and while RDS finishes the upgrade on the new primary.
How it works
The guide describes three phases:
- Upgrade the replica. You modify the replica to the target minor version. If it is in read-only mode, read traffic to it is briefly interrupted while the software is replaced.
- Switch over. The replica becomes the primary using an Oracle Data Guard switchover, and the old primary becomes a replica. Existing connections to the old primary are dropped, per the performing guide.
- RDS finishes. It runs the data dictionary update (datapatch) on the new primary, then upgrades the old primary and your other replicas, including cross-Region ones.
The commands are the ones you already know. This is from the performing guide, not something I have run:
# 1. Upgrade the replica to the target minor version
aws rds modify-db-instance \
--db-instance-identifier my-oracle-replica \
--engine-version 19.0.0.0.ru-2026-07.rur-2026-07.r1 \
--apply-immediately
# 2. Watch the status until it shows replica-patched-pending-switchover
aws rds describe-db-instances \
--db-instance-identifier my-oracle-replica \
--query 'DBInstances[0].DBInstanceStatus'
# 3. Switch over within the 48-hour window
aws rds switchover-read-replica \
--db-instance-identifier my-oracle-replica
These commands are copied from the AWS docs; I have not run them against AWS.
When the replica reaches replica-patched-pending-switchover you have 48 hours. RDS sends an event (RDS-EVENT-0510) when the window starts and another (RDS-EVENT-0551) halfway through. If you do nothing, it rolls the replica back (RDS-EVENT-0511). You can also roll back yourself by modifying the replica back to its original version, per the rollback page.
The Primary Endpoint
Every Enterprise Edition instance gets one without you creating it, at no charge. It looks like rds-<32 hex characters>.primary.rds.amazonaws.com, uses the same port as the instance, and is shared by the primary and its replicas. It sits alongside the instance endpoint, so nothing existing breaks.
A few behaviours from the docs that matter:
- A switchover closes open connections. The endpoint does not preserve sessions or in-flight work, so your app must reconnect.
- Clients that cache DNS can keep trying the old primary. The docs suggest a low DNS TTL such as 60 seconds.
- Promoting a replica gives it its own new Primary Endpoint, so promotion is not a connection-string-free operation.
- If you switch over to a cross-Region replica, apps left in the original Region will connect across Regions and see extra latency.
What this means for you
Who should care, and what to do first
If you run RDS for Oracle Enterprise Edition with at least one same-Region replica, this is worth adopting straight away. If you run Standard Edition 2, or a single instance with no replica, it does not apply to you. My view: the first job is not the patching, it is moving your applications to the Primary Endpoint, because the docs recommend it for this feature and it removes the change approvals and cross-team coordination that, AWS says, often followed a switchover.
What gets simpler
Planned patching becomes a rehearsal you can control. You patch the replica, test with read traffic if it is read-only, and pick the switchover time inside a 48-hour window. The AWS launch post also notes that disaster-recovery drills to same-Region or cross-Region replicas no longer need connection string changes.
What gets more complex
- You need a same-Region replica. A cross-Region replica cannot be the one you patch first.
- A read-only replica needs the Oracle Active Data Guard option, per the docs. Mounted mode works without it, but then you cannot test with read traffic.
- Your primary is still unavailable during the switchover and the datapatch step. This reduces downtime; it does not remove it. AWS does not state a duration.
- While a replica waits for switchover you cannot change its option group or parameter group.
- Automatic minor version upgrade wins. If it is on and the maintenance window starts before you switch over, RDS rolls the replica back and does a standard upgrade. Turn it off for that primary, or switch over first.
Cost
AWS states no additional charge for either feature. The cost is the replica, which you pay for at standard RDS for Oracle pricing, plus the Oracle Active Data Guard option, which the docs require for a read-only replica (AWS does not state its price on the pages I read). The RDS for Oracle pricing page came back as a templated page without readable rates when I checked it on 29 November 2026, so I am not quoting any prices. If you already keep a replica for DR or reads, the incremental cost of using this is nil by AWS's account.
Getting the best out of it
- Subscribe to the maintenance and notification event categories for the replica so the 48-hour window does not pass unnoticed.
- Use a connection pool that validates connections and does a fresh DNS lookup, and set a low DNS TTL.
- Do not call
promote-read-replicaas part of patching; the guide says promoting rolls the patched replica back first. - Check that the replica has automatic backups on, because the Data Guard switchover requirement list includes it.
- Do a rehearsal on a non-production pair first, including a deliberate rollback.
One thing I cannot answer from the sources: how long the switchover outage typically lasts. AWS does not give a figure, so measure it in your own test.
Related posts
- RDS for PostgreSQL 19 Is in Preview, and 14 Is Nearly Out of Standard Support: the same "plan your minor and major upgrades" theme, for PostgreSQL.
Sources
- RDS for Oracle Replica First Patching (What's New)
- RDS for Oracle Primary Endpoint (What's New)
- Upgrading with Replica First Patching
- Requirements and limitations
- Performing Replica First Patching
- Rolling back Replica First Patching
- Using the Primary Endpoint for RDS for Oracle
- RDS for Oracle pricing
Drafted with AI assistance. I review and edit every post.
Top comments (0)