SQL Optima guide

SQL Server 2016 to 2022 Migration Checklist

Phase-gated migration checklist from initiation and discovery through UAT, cutover, stabilization, and rollback.

Migrations fail less from tooling and more from skipped gates. Work the phases in order and keep rollback rehearsed.

Open interactive Migration Checklist

Phase map

PhaseFocus
P0 InitiationScope, owners, success criteria, change window
P1 DiscoveryInventory, dependencies, deprecated features, sizing
P2 Target designHardware/VM, storage, HA/DR, compatibility strategy
P3 Build targetInstall, configure, security, baseline monitoring
P4 UAT pilotRestore rehearsals, app tests, Query Store baselines
P5 Prod prepFreeze plan, communication, rollback authority
P6 CutoverExecute migration, validate apps, watch waits
P7 StabilizationPerformance triage, forced plans, debt tickets
P8 RollbackDocumented reverse path if exit criteria fail

The interactive guide also includes a dashboard and script library for the engagement.

After restore, before compat 160

Keep production at compatibility level 130 until Query Store has a baseline, then remediate regressions in UAT. See the Compat 160 post-migration playbook.

SELECT name, compatibility_level, is_query_store_on
FROM sys.databases
WHERE name = DB_NAME();

Related guides