Keel

Does an RDS minor version upgrade cause downtime?

By the Keel team · Last checked · 6 min read

Short answer

Yes. AWS says database engine upgrades require downtime, and the length depends on the engine and the size of the database. A Multi-AZ DB instance does not avoid it, because RDS upgrades the primary and standby at the same time. Blue/green deployments, or RDS Proxy on a Multi-AZ DB cluster, can shorten the pause.

  • Under 35 seconds

    Typical Multi-AZ DB cluster minor upgrade downtime without RDS Proxy, per AWS

    Source: AWS Database Blog, checked Nov 2026

  • 1 second or less

    Typical downtime with RDS Proxy when readers have no replica lag

    Source: AWS Database Blog, checked Nov 2026

  • Under 1 minute

    Usual blue/green switchover downtime, longer depending on workload

    Source: AWS docs, Nov 2026

Does an RDS minor version upgrade cause downtime?

Yes, plan for it: AWS says database engine upgrades require downtime, and the length depends on the engine and database size.

Yes, plan for it. AWS states that database engine upgrades require downtime, and that automatic upgrades incur downtime too. The length depends on factors including the engine type and the size of the database, and AWS gives no single figure that applies to every database.

A minor version upgrade is the gentler kind: AWS describes it as only including changes that are backward-compatible with existing applications. Gentle for your code does not mean invisible to your users, because connections still drop while the instance is unavailable.

This post covers minor versions. For moving to a new major version, see upgrading RDS PostgreSQL to a new major version.

How long does the interruption last on Single-AZ and Multi-AZ?

A Multi-AZ DB instance upgrades primary and standby together, so both are unavailable until the upgrade completes.

It depends on the deployment, and AWS gives a figure only for some of them. On a Multi-AZ DB instance, an engine upgrade does not use the standby to hide the pause. AWS says RDS modifies both the primary and the secondary at the same time, and both are unavailable until the upgrade completes.

Minor version upgrade interruption by deployment, from AWS documentation
DeploymentWhat AWS says
Single-AZ DB instanceUpgrades require downtime; length depends on engine type and database size
Multi-AZ DB instancePrimary and standby are upgraded together and both are unavailable; duration varies with instance size
Multi-AZ DB instance, RDS for SQL ServerRolling upgrade, so the outage lasts only for a failover
Multi-AZ DB clusterTypically under 35 seconds, and 1 second or less with RDS Proxy when the readers have no replica lag

Do not confuse this with operating system patching. For that, AWS says a short failover on a Multi-AZ instance typically lasts less than a minute. Is RDS Multi-AZ worth it covers what the standby does help with.

What does auto minor version upgrade do, and when does the maintenance window apply?

It lets RDS move you to a recent minor version in your maintenance window, and can apply critical or end-of-support upgrades anyway.

Auto minor version upgrade lets RDS periodically move your database to a recent minor version, scheduled in your maintenance window. AWS notes the target might not be the latest version, and that RDS can apply a minor upgrade even with the option off for critical security issues or when a version reaches end of support.

The maintenance window is a weekly interval, and AWS says an event scheduled for that week starts inside the 30-minute window you choose. The window decides when operations start, not when they end: larger events can run past it. It also cannot overlap the backup window.

AWS itself recommends manual upgrades if you need to keep specific versions at specific times. To stop a queued automatic action, disable the option.

aws rds modify-db-instance \
  --db-instance-identifier my-prod-db \
  --no-auto-minor-version-upgrade

Turning it off does not make the problem go away. You still need a routine, as in how often to patch AWS production, or the instance falls behind.

How can you shorten the downtime?

Use a blue/green deployment, or RDS Proxy on a Multi-AZ DB cluster, after checking your engine and deployment type.

Two options are documented by AWS. Blue/green deployments upgrade a staging copy while production keeps serving, then switch over. RDS Proxy with a Multi-AZ DB cluster shortens the role change itself. Both have conditions, so check your engine and deployment type first.

  • Blue/green: AWS lists minor engine version upgrades as a use case and says the switchover is usually under one minute, but can be longer depending on your workload. It is supported for RDS for MariaDB, MySQL and PostgreSQL, with support varying by engine version and Region.
  • RDS Proxy on a Multi-AZ DB cluster: the AWS database blog says the cluster alone gives downtime typically under 35 seconds, mostly from DNS propagation, and 1 second or less with RDS Proxy. It covers RDS for PostgreSQL and MySQL with one primary and two readable standbys, and the figure applies when the readers have no replica lag.
  • Not covered by that blog: a single instance, or a Multi-AZ DB instance with one standby. Do not assume the 1 second figure applies there.

AWS says RDS Proxy keeps application connections while connecting to a standby after a failure. It does not give a failover time for that, so test your own app.

How do you rehearse the upgrade on a restored copy first?

Restore your latest snapshot to a new instance, apply the same minor version, time it and run your app against it.

Restore your latest snapshot to a new instance, apply the same minor version to it, time the interruption and run your app against it. You learn how long your database takes and whether your application reconnects cleanly, before production is involved.

aws rds restore-db-instance-from-db-snapshot \
  --db-instance-identifier my-prod-db-rehearsal \
  --db-snapshot-identifier my-recent-snapshot

aws rds modify-db-instance \
  --db-instance-identifier my-prod-db-rehearsal \
  --engine-version <target-minor-version> \
  --apply-immediately

Match the instance class and parameter group to production, or the timing will mislead you. A restored copy has no real traffic, so it understates the pause under load. Testing an RDS restore step by step builds the scratch copy, and how long an RDS restore takes explains why the first queries can be slow.

How do you schedule and run the upgrade?

Choose a quiet period, check pending actions, snapshot first, then queue or apply the change and watch connections.

Choose a quiet period, check what is pending, queue the change for the maintenance window or apply it yourself, and watch connections and errors. AWS notes that applying a change immediately can cause an outage in some cases, so state which you intend.

aws rds describe-pending-maintenance-actions \
  --resource-identifier arn:aws:rds:eu-west-2:123456789012:db:my-prod-db

aws rds modify-db-instance \
  --db-instance-identifier my-prod-db \
  --engine-version <target-minor-version> \
  --no-apply-immediately
  1. Take a manual snapshot before you start.
  2. Tell your team and, if needed, your customers the planned window.
  3. Make sure the app retries database connections.
  4. Run the change in the window and watch error rates.
  5. Record how long the interruption actually lasted.

Does changing storage or instance type cause downtime too?

They are separate changes, so check the AWS documentation for your engine and rehearse them on a copy.

They are separate changes with their own behaviour, so do not assume they match a minor version upgrade. This post did not verify AWS's rules for storage increases or instance class changes, so check the RDS documentation for your engine and rehearse the change on a restored copy.

As for how long an upgrade takes, AWS gives no universal number. Your rehearsal is the best estimate you will get, and the real run on production adds whatever traffic does to it.

Are you ready for the next minor upgrade?

Tick each item that is true today.

  • You know whether auto minor version upgrade is on for each production database.
  • Your maintenance window sits in your quietest period.
  • You rehearsed a minor upgrade on a restored copy and timed it.
  • Your app retries database connections after a drop.
  • A recent manual snapshot exists before any planned upgrade.

Decision point: Five ticks: the next upgrade is a planned event. Three or fewer: it may surprise you, so rehearse on a copy first.

Sources

  1. AWS docs, Upgrading a DB instance engine version (checked November 2026)
  2. AWS docs, Maintaining a DB instance (checked November 2026)
  3. AWS docs, Overview of Amazon RDS Blue/Green Deployments (checked November 2026)
  4. AWS Database Blog, Perform minor version upgrades with a downtime of 1 second or less with Amazon RDS Proxy and Multi-AZ deployments with two readable standbys (checked November 2026)
  5. AWS docs, Amazon RDS Proxy (checked November 2026)

Keep reading

Keel is an AWS release and recovery operations service for SaaS teams of 3 to 15 developers, provided by Bargainn Services Ltd, a UK company registered at Companies House (16497746). Registered office: 3rd Floor, 86-90 Paul Street, London, EC2A 4NE, United Kingdom.