Blog
IntermediateReferenceDeployments and Upgrades

SQL Server upgrades and patch releases

The CU/GDR/OD servicing model, the exact order of operations for a rolling Always On availability group upgrade, and what Amazon RDS does instead of blue/green for SQL Server.

Applies to
SQL Server2017-20252025 (17.x) is current; CUs ship monthly in year one then every two months through the five-year mainstream lifecycle
matureUpdated Reviewed

The servicing model

SQL Server ships three kinds of updates. The cumulative update (CU) carries every fix and improvement since the release baseline - monthly for the first year after a version ships, then every two months through the rest of the five-year mainstream lifecycle; CUs are cumulative, so the latest one is the whole set. An on-demand (OD) hotfix is a targeted build Microsoft issues for a specific baseline when a problem cannot wait for a CU. A general distribution release (GDR) is a Microsoft-initiated security or broad-impact fix; GDRs ship on either an RTM baseline or a CU baseline, and the latest GDR per baseline is itself cumulative. The practical rule Microsoft states: install the latest CU; if a GDR exists with a build number higher than the current CU, that later CU-line build already includes the GDR fixes. Once a version’s CU volume drops, servicing moves to GDR and OD releases only - SQL Server 2016 and earlier no longer receive CUs at all.

Rolling upgrade of an Always On availability group

This is the order of operations Microsoft documents; each step exists because a specific failure follows from skipping it.

  1. Rehearse a manual failover on a synchronous-commit replica, take a full backup of every availability database, and run DBCC CHECKDB on each.
  2. Remove automatic failover from all synchronous-commit replicas for the duration.
  3. Set the automated backup preference to the primary replica - no backups can run on a database being upgraded, and during a version upgrade no replica is readable.
  4. Upgrade remote secondary replicas first, then local secondaries, then - only after a failover - the former primary.
  5. Fail over the AG to an upgraded synchronous-commit secondary. Never to an asynchronous one: data movement suspends automatically and the databases are exposed to loss.
  6. After the failover, databases on the new primary run through their upgrade - during which there are no readable replicas for them, with a duration proportional to database count.
  7. Upgrade the old primary; re-enable automatic failover and resume synchronisation where needed.

Three rules guard the dangerous middle: never upgrade the primary before failing over to an upgraded secondary (an upgraded primary cannot ship logs to secondaries still on the older version, so data movement suspends); never leave mixed versions for longer than the upgrade takes (it is unsupported outside the rolling procedure); and never use Cluster-Aware Updating for AGs - Windows does not support it here. If the upgrade must avoid the mixed-version window entirely, a distributed availability group between a 2016+ AG pair is the documented alternative.

On Amazon RDS

RDS blue/green does not exist for SQL Server. Upgrades come in the two usual kinds: major version upgrades are manual only (initiate by modifying the instance; --allow-major-version-upgrade on the CLI) and AWS recommends rehearsing on a snapshot-restored instance first. Minor upgrades can be manual or automatic through the maintenance window, and RDS applies them even without auto-upgrade enabled for critical security issues or end-of-support dates. During an engine upgrade RDS also applies the latest operating system updates on both Single-AZ and Multi-AZ. Newer minor builds (16.00.4120.1, 15.00.4365.2, 14.00.3465.1, 13.00.6435.1 and later) disable the TLS 1.0/1.1, RC4, Curve25519 and 3DES protocol parameters by default - connectivity failures after a minor upgrade are usually this, not a regression. Deprecated versions eventually get force-upgraded; restoring a snapshot of a deprecated version only buys time until the automatic upgrade catches up. In a Multi-AZ deployment the standby-first failover pattern still applies, but the engine upgrade itself is an outage - which is precisely the gap blue/green fills on the three engines where it exists.

What breaks, and how to see it

Failure mode Diagnostic
Data movement suspended after a premature primary upgrade Secondary reports not synchronised; the upgraded primary cannot send logs to un-upgraded secondaries
Readable secondaries vanish mid-upgrade Expected during a version upgrade - no replica is readable until the failover completes and databases finish upgrading
Automatic failover fires during the upgrade Guardrail rule broken; remove automatic failover from synchronous-commit replicas before starting
Applications fail with TLS errors after a minor RDS upgrade The newer minor build disabled TLS 1.0/1.1, RC4 and 3DES parameter defaults
Mixed-version AG persists Unsupported outside the rolling window; finish the sequence, do not park it

When blue/green thinking helps anyway

SQL Server has no managed blue/green on AWS, but the same shape exists by hand for major upgrades: a distributed AG or a log-shipped/backup-restored copy on the target version, synchronised, rehearsed, cut over at the application tier. It costs a second environment and manual orchestration for the same reason RDS blue/green costs one on PostgreSQL - the difference is that nothing managed does the renaming and guardrails for you.

SQL Server release support

4 supported
ReleaseLatestReleased
17.017.0.5065.9 CU11Nov 2025
16.016.0.4325.4 CU28Nov 2022
15.015.0.4510.2 CU32+GDRNov 2019
14.014.0.3570.2 CU31+GDRSept 2017

Data as of 2026-11-21 from endoflife.date. Refresh with node scripts/fetch-versions.mjs.