Open-source database major version upgrades without cutover drama.
Upgrades
EOL & LTS Modernization Matrix
MySQL 8.0 EOL -> 8.4 LTS
recommendedPre-upgrade `util.checkForServerUpgrade()` validation, `caching_sha2_password` migration, and GTID / RDS Blue-Green switchovers.
PostgreSQL -> 17 / 18
recommendedLow-downtime logical replication (`CREATE PUBLICATION`) or 60-second in-place `pg_upgrade --link` with immediate `vacuumdb --analyze-in-stages`.
MariaDB -> 10.11 / 11.4 LTS
supportedSide-by-side GTID replica upgrades and query-plan regression testing for MariaDB 11.4's new cost model.
Reverse-Stream Rollback
recommendedAfter switching writes to the new major version, we stream changes back to the old version cluster so you can revert in minutes if needed.
We execute major version upgrades across AWS RDS/Aurora, GCP Cloud SQL, Azure, Kubernetes, and Linux VMs.
- P1: 15 min · P2: 30 min
- SLA response times, 24/7 (P3: 60 min). Response means an on-call engineer is working the incident.
- 3 Upgrade Topologies
- Logical/GTID Side-by-Side (<30s cutover), Cloud Blue/Green (<60s cutover), or Hard-Link `pg_upgrade --link` (2-10 min).
- Engine Upgrade Spokes
- Also see our dedicated MySQL 8.4 LTS Upgrade spoke (/databases/mysql/upgrades) and PostgreSQL Migration spoke (/databases/postgresql/migration).
Selected clients
Production Upgrade Risks
Six upgrade traps we eliminate before cutover night.
Clicking 'Modify -> Engine Version' in a cloud console without rehearsing auth plugin changes, optimizer statistics, or glibc collations is the #1 cause of multi-hour upgrade outages.
MySQL 8.0 -> 8.4 LTS upgrade aborts during precheck or startup
mysql_native_password / removed variable error
MySQL 8.4 LTS disables `mysql_native_password` by default and removes deprecated variables such as `binlog_transaction_dependency_tracking`, `innodb_log_file_size`, and `default_authentication_plugin`.
Run MySQL Shell `util.checkForServerUpgrade()` against staging, migrate legacy accounts to `caching_sha2_password`, and modernize `my.cnf` to `innodb_redo_log_capacity`.
PostgreSQL CPU saturates immediately after `pg_upgrade` finishes
Sequential scans across all tables post-cutover
`pg_upgrade` copies schema and heap files (via `--link`) but intentionally does NOT copy `pg_statistic` planner histograms, leaving the new PostgreSQL version blind to data distribution.
Execute `vacuumdb --all --analyze-in-stages --jobs=8` immediately as part of the cutover script before opening PgBouncer/HAProxy traffic.
glibc OS upgrade (Ubuntu 20.04 -> 24.04 / Debian 10 -> 12) corrupts PostgreSQL B-tree indexes
WARNING: database has a collation version mismatch (glibc 2.28 -> 2.35)
Upgrading the host Linux OS or moving `pg_upgrade` across container images with a newer `glibc` changes string sort order, silently invalidating text-based B-tree indexes and unique constraints.
Use logical replication onto a fresh OS/PostgreSQL instance (which rebuilds indexes cleanly), or schedule `REINDEX DATABASE CONCURRENTLY` before cutting over.
AWS RDS Extended Support charges double or triple your monthly database bill
RDS Extended Support Year 1 / Year 2 per-vCPU fee
Instances running RDS PostgreSQL 11/12/13 or RDS MySQL 5.7/8.0 past standard support end dates are automatically enrolled in per-vCPU Extended Support surcharges.
Deploy an RDS Blue/Green deployment (or logical replication standby) targeting MySQL 8.4 LTS or PostgreSQL 17 and cut over during a low-traffic window.
Logical replication upgrade stalls on tables missing a PRIMARY KEY
ERROR: cannot update table because it does not have a replica identity
PostgreSQL `CREATE PUBLICATION ... FOR ALL TABLES` cannot replicate `UPDATE` or `DELETE` operations on legacy tables that lack a Primary Key or `REPLICA IDENTITY USING INDEX`.
Run a pre-upgrade schema audit to add surrogate primary keys or unique not-null replica identities to every table weeks before the cutover.
New optimizer in MySQL 8.4 or MariaDB 11.4 regresses 2% of production queries
Hash join / index merge plan regression on upgraded node
While 98% of queries run faster on the new major release, updated cost models or newly reserved keywords alter execution plans for a handful of complex joins.
Replay real production query digests against the target version in staging (using ProxySQL mirroring or `pt-upgrade`) and pin regressed plans with optimizer hints or covering indexes.
Response SLA & Post-Cutover Hypercare
SLA response times and the first hour of a P1.
Every major version upgrade includes live senior DBRE cutover execution and post-cutover hypercare backed by our published SLA response times.
15 mins
Response SLA
P1 response SLA: 15 mins, 24/7.
30 mins
Response SLA
P2 response SLA: 30 mins, 24/7.
60 mins
Response SLA
P3 response SLA: 60 mins, 24/7.
SLA response times by severity (24/7)
Production database down, primary unreachable, data corruption risk, or active failover event.
Severe latency spike, replication lag climbing rapidly, connection exhaustion, or degraded HA node.
Non-critical slow query regression, staging issue, backup warning, configuration question, or planned operational request.
Our engineering team is in India (IST, UTC+5:30) and provides 24/7 support. Response means an on-call engineer is working the incident, not an automated reply.
01 · Page
0 to 15 minutes (P1 response SLA)
If an in-progress upgrade or post-cutover regression hits production, you reach a senior DBRE directly.
02 · Triage
15 to 30 minutes
We inspect error logs, `pg_stat_statements` / `performance_schema` plan regressions, replication lag, and missing optimizer statistics.
03 · Mitigate
30 to 60 minutes
We either apply targeted index/optimizer-switch fixes, run parallel `ANALYZE`, or trigger our pre-staged reverse-replication rollback to the prior version cluster.
04 · Review
Within 24 hours
We deliver a written post-upgrade report with before/after P95/P99 latency metrics, parameter diffs, and decommission steps for the old cluster.
Upgrade Engineering Scope
Six pillars of a rehearsed, reversible major upgrade.
We treat major database upgrades as deterministic engineering pipelines: audit, rehearse, replicate, shadow-test, cut over, and maintain reverse rollback.
MySQL 5.7 & 8.0 EOL -> 8.4 LTS Upgrades
Eliminate AWS RDS Extended Support fees and April 2026 MySQL 8.0 EOL risk with a rehearsed upgrade to MySQL 8.4 LTS.
- Full `util.checkForServerUpgrade()` remediation (auth plugins, reserved words, removed sysvars).
- GTID side-by-side replica promotion or RDS Blue/Green switchover with reverse binlog fallback.
PostgreSQL 12-16 -> 17 / 18 Major Upgrades
Upgrade multi-terabyte PostgreSQL clusters using logical replication (`pgoutput` / `pglogical`) or hard-link `pg_upgrade --link`.
- Pre-flight extension compatibility audit (`PostGIS`, `pgvector`, `TimescaleDB`, `pg_partman`).
- Automated sequence synchronization and `vacuumdb --analyze-in-stages` execution.
MariaDB 10.x -> 10.11 / 11.4 LTS Upgrades
Transition legacy MariaDB 10.3/10.5/10.6 deployments and Galera clusters to MariaDB 10.11 or 11.4 LTS without downtime.
- Rolling node-by-node Galera `wsrep` upgrades with MaxScale/ProxySQL `OFFLINE_SOFT` draining.
- Validation of MariaDB 11.4 cost-based optimizer plans against production slow logs.
Shadow Traffic Replay & Plan Regression Testing
Catch the 1% to 2% of queries that regress on a new query planner before a single production user sees them.
- Shadow read mirroring via ProxySQL (`mirror_hostgroup`) or query log replay (`pt-upgrade`).
- Side-by-side `EXPLAIN (ANALYZE, BUFFERS)` comparison of your top 100 query digests.
Reverse-Replication Instant Rollback Safety
Never perform a one-way in-place binary upgrade on mission-critical OLTP when a reversible side-by-side topology is possible.
- Keep the old version cluster online and receiving reverse replication after cutover.
- Tested 60-second rollback procedure if an application driver incompatibility surfaces.
Post-Upgrade Parameter Re-Tuning
Take full advantage of new engine capabilities (`innodb_redo_log_capacity`, PG 17 streaming I/O & vacuum memory improvements).
- Custom `my.cnf` or `postgresql.conf` baseline tuned for the target LTS release.
- 72-hour post-cutover DBRE hypercare monitoring latency, locks, and memory.
Interactive Cutover Phases & Reference Runbooks
How we execute rehearsal, live replication sync, and reversible cutover.
Step through our three-phase upgrade methodology, then inspect the exact `pg_upgrade --link` and MySQL Shell 8.4 precheck commands our DBREs run.
Zero-Drama Major Version Upgrade Lifecycle Simulator
Application and routing
We clone production to staging, run `checkForServerUpgrade()` / `pg_upgrade --check`, replay production query digests, and fix incompatibilities.
Production vOld Cluster (MySQL 8.0 / PG 14)
Serves all live production traffic untouched
Snapshots & query digests captured
Staging Upgrade Sandbox
Runs pg_upgrade --check / MySQL Shell
Identifies deprecated sysvars & collations
Shadow Query Replay
Compares vOld vs vNew P99 latency
Regressed queries fixed via indexes/hints
We clone production to staging, run `checkForServerUpgrade()` / `pg_upgrade --check`, replay production query digests, and fix incompatibilities.
Application and routing
We stand up the new major version cluster alongside production and synchronize changes continuously via GTID binlogs or PostgreSQL logical replication.
vOld Primary (MySQL 8.0 / PG 14)
Still serving production writes
Publishes GTID binlog / Logical WAL stream
Replication & Verification Bridge
Continuous CDC + row-count/checksum diff
Sequences & optimizer stats pre-warmed
vNew Target Cluster (MySQL 8.4 / PG 17)
Hot standby · buffer pool pre-warmed
Ready for sub-minute proxy switchover
We stand up the new major version cluster alongside production and synchronize changes continuously via GTID binlogs or PostgreSQL logical replication.
Application and routing
ProxySQL / PgBouncer pauses traffic for <30 seconds, flushes final replication events, flips writes to vNew, and configures reverse replication back to vOld.
ProxySQL / PgBouncer / RDS Blue-Green
Pauses -> Flushes -> Points to vNew
Application connection strings preserved
vNew Primary (Now Active Production)
Serves all production reads & writes
Streams reverse changes to vOld
vOld Cluster (Warm Rollback Standby)
Kept synced for 24-72h safety window
Instant fallback if app issue appears
ProxySQL / PgBouncer pauses traffic for <30 seconds, flushes final replication events, flips writes to vNew, and configures reverse replication back to vOld.
Production Upgrade Specimen · PostgreSQL 17 & MySQL 8.4 LTS
Pre-Flight Compatibility Checks, Hard-Link pg_upgrade & Statistics Rebuild
1. PostgreSQL 14 to 17 hard-link pg_upgrade & staged analyze
pg_upgrade --link + vacuumdb
# 1. Run non-destructive pre-flight compatibility check against the live PostgreSQL 14 cluster /usr/lib/postgresql/17/bin/pg_upgrade \ --old-bindir=/usr/lib/postgresql/14/bin \ --new-bindir=/usr/lib/postgresql/17/bin \ --old-datadir=/var/lib/postgresql/14/main \ --new-datadir=/var/lib/postgresql/17/main \ --link --check # 2. During maintenance window (after clean shutdown), execute hard-link upgrade in seconds /usr/lib/postgresql/17/bin/pg_upgrade \ --old-bindir=/usr/lib/postgresql/14/bin \ --new-bindir=/usr/lib/postgresql/17/bin \ --old-datadir=/var/lib/postgresql/14/main \ --new-datadir=/var/lib/postgresql/17/main \ --link --jobs=8 # 3. MANDATORY: Rebuild optimizer statistics in 3 fast stages before opening app traffic /usr/lib/postgresql/17/bin/vacuumdb --all --analyze-in-stages --jobs=8
2. MySQL 8.0 to 8.4 LTS precheck & auth plugin audit
MySQL Shell checkForServerUpgrade()
# 1. Run MySQL Shell 8.4 upgrade checker against MySQL 8.0 primary or staging clone mysqlsh --uri=admin@10.0.1.11:3306 -- util check-for-server-upgrade \ --target-version=8.4.3 \ --output-format=TEXT # 2. Audit accounts still using legacy mysql_native_password (disabled by default in 8.4 LTS) mysql -h 10.0.1.11 -u admin -p -e " SELECT user, host, plugin FROM mysql.user WHERE plugin = 'mysql_native_password' AND account_locked = 'N'; " # 3. Migrate application accounts to caching_sha2_password prior to cutover # ALTER USER 'app_service'@'%' IDENTIFIED WITH caching_sha2_password BY '...';
Shared Responsibility & Platforms
What your team owns and what JusDB owns.
Managed cloud databases automate much of the infrastructure layer, but your team still owns query performance, capacity, cost, and incident decisions. We execute major version upgrades across AWS RDS, Amazon Aurora, GCP Cloud SQL, Azure Flexible Server, Kubernetes operators, and self-managed Linux.
| Upgrade Phase | Customer Team | JusDB DBRE Team |
|---|---|---|
| Application Driver & ORM Compatibility | Verify application driver versions (`pg`, `mysql2`, `JDBC`) in staging | Audit auth plugins (`caching_sha2_password` / `scram-sha-256`), SQL modes, and deprecated syntax |
| Pre-Upgrade Checks & Staging Rehearsal | Provide read access and staging snapshot environment | Execute `checkForServerUpgrade()` / `pg_upgrade --check`, fix blockers, and time the full rehearsal |
| Replication Bridge / Blue-Green Environment | Approve cloud/VM capacity for the side-by-side target cluster | Provision target LTS cluster, configure GTID or logical replication, and validate row parity |
| Production Cutover & Rollback Readiness | Join the scheduled cutover bridge and run app smoke tests | Execute proxy cutover, rebuild statistics, and maintain reverse-replication rollback stream |
| Post-Upgrade Hypercare & Old Cluster Teardown | Sign off on decommission after 48-72h stability window | Monitor P99 query latency, respond within the response SLA, and safely decommission legacy instances |
Customer Boundary
What stays in your control
- Set business priorities, application requirements, and release plans
- Approve production changes, except routine actions you have pre-approved
- Own your cloud accounts, access policies, and vendor relationships
- Decide when maintenance can happen and how quickly service must recover
- Move the work in-house or to another provider after your agreement's notice period, with your data returned or deleted and the transition help your agreement sets out (Terms, section 8)
JusDB Execution Scope
What our DBREs execute for you
- Monitor database health, investigate alerts, and involve the right people
- Review query performance, replication, capacity, and backup health
- Carry out approved changes and update the operating instructions they affect
- Report completed work, open risks, and recommended next steps
Upgrade Method Comparison & Engagement Paths
Comparing upgrade strategies and how to engage JusDB.
Compare Logical/GTID Side-by-Side Replication, Cloud Blue/Green Deployments, In-Place Binary Upgrades (`pg_upgrade --link`), and Dump/Restore across downtime and rollback safety.
| Evaluation Vector | JusDB Guided Upgrade | Cloud Migration / DMS | In-House Generalists |
|---|---|---|---|
| Compatibility Audits & Staging Dry Runs | Automated schema inspection, deprecated feature scanning, stored routine analysis, and full-volume staging dry runs before production touching | Automated schema converters flagging generic syntax warnings without testing live application workload dependencies or extensions | Manual spot checks of release notes with hidden breaking changes discovered only after production application deployment fails |
| Cutover Strategy & Downtime Minimization | Low-downtime replication-based cutovers (logical replication, blue-green, Galera rolling), designed to shrink the maintenance window to a short, rehearsed switch | Replication services (e.g. AWS DMS) frequently dropping table constraints, data types, foreign keys, and sequence alignments | Brute-force in-place upgrades requiring multi-hour offline maintenance windows and prolonged service downtime |
| Data Integrity & Consistency Verification | Exhaustive row-level checksums, table count validations, LSN synchronization, and transaction boundary integrity audits across versions | Basic high-level table existence checks with no deep row checksumming or LSN replication consistency verification | Trusting basic client smoke tests while silent data truncation or character set encoding corruptions go unnoticed until reports fail |
| Reversible Rollback & Fallback Engineering | Bidirectional replication fallback to the legacy version, rehearsed in staging, with the rollback path agreed in the SOW | One-way migration paths where aborting the cutover requires wiping out new transactions and restoring hours-old cold backups | No tested rollback plan; once an in-place upgrade script finishes, rolling back requires complete catastrophic disaster recovery |
| Post-Upgrade Performance Benchmarking | Query plan regression analysis, pg_stat_statements/slow query comparisons, and dynamic buffer pool and parameter re-tuning for new versions | Default instance parameters applied without workload calibration, resulting in sub-optimal throughput on upgraded compute nodes | Engineers caught off guard by optimizer plan changes causing unexpected CPU spikes, full table scans, and application timeouts |
| Cutover Support & Incident Response | A dedicated senior DBRE bridge during live cutover and a post-upgrade hypercare period. SLA response times: P1 – 15 mins | P2 – 30 mins | P3 – 60 mins. | Opaque support ticket queues with 24-48 hour turnaround times and no direct engineer access during active migration crises | Exhausted internal generalist engineers triaging production database crashes at dawn without deep database internals experience |
End-to-End Major Version Upgrade Engagement
Complete pre-upgrade audit, staging rehearsal, side-by-side replication build, production cutover, and 72-hour post-cutover hypercare.
- PostgreSQL (12-16 -> 17/18), MySQL (5.7/8.0 -> 8.4 LTS), or MariaDB (10.x -> 11.4 LTS).
- Sub-minute cutover via logical/GTID replication, ProxySQL/PgBouncer, or RDS Blue/Green.
- Written rollback runbook with reverse replication back to the prior version.
Ongoing Lifecycle & Continuous Patching
Never fall into an emergency EOL crunch again. Our Remote DBA / DBRE retainer includes planned minor and major version upgrades.
- 24/7 support. SLA response times: P1 – 15 mins | P2 – 30 mins | P3 – 60 mins.
- Quarterly minor patching and proactive LTS major version roadmap execution.
- Continuous query performance tuning and backup restore testing.
Free EOL & Upgrade Compatibility Assessment
Paying AWS RDS Extended Support fees or worried about MySQL 8.0 / Postgres EOL? Start with a read-only readiness check.
- Analysis of your current version, extensions, auth plugins, and table replica identities.
- Selection of the safest upgrade method (Logical CDC vs Blue/Green vs `pg_upgrade --link`).
- 30-minute engineering review with a timeline and cost-savings estimate.
Procurement and security
Ready for legal and security review.
- Mutual NDA before any access
- Named individual accounts only
- Read-only access by default
- ISO 27001 & SOC 2 Type II: aligned, certification in progress
Mutual NDA before any access
We sign a mutual NDA before viewing schemas, logs, slow-query captures, or cloud topology.
Least-privilege, named credentials
Engineers connect through your bastion, VPN, or SSM using named accounts with read-only permissions by default.
Change control & approval gates
Production DDL, parameter changes, and failovers follow your change-management workflow with rollback steps prepared first.
Named leadership & direct escalation
Engagements are led by named senior database reliability engineers in India with direct Slack, Teams, and PagerDuty channels.
Database Upgrade Technical FAQ
Frequently asked database upgrade questions.
Synced 1-to-1 with our structured FAQPage schema. Have a question about MySQL 8.0 EOL, RDS Extended Support fees, or PostgreSQL 17 logical replication? Ask our DBRE team.
Still have a question?
Ask it on a scoping call. No production access needed.
Book a 30-min scoping call (opens Google Calendar in a new tab)How do you upgrade PostgreSQL or MySQL major versions with less than 60 seconds of downtime?
When is `pg_upgrade --link` better than logical replication for PostgreSQL?
What are the biggest breaking changes when upgrading from MySQL 8.0 to MySQL 8.4 LTS?
How do you guarantee we can roll back if an application issue appears after cutover?
How much can we save by upgrading off AWS RDS Extended Support versions?
What are JusDB's SLA response times during and after a database upgrade?
Related Spokes, Tools & Reference Hubs
Explore engine-specific upgrade spokes & calculators.
Jump to our dedicated MySQL 8.4 LTS upgrade spoke, PostgreSQL migration spoke, or free configuration generators.
MySQL 8.0 EOL to 8.4 LTS Upgrades
Dedicated guide to MySQL 8.0 EOL dates, RDS Extended Support fees, and 8.4 LTS cutovers.
PostgreSQL Migration & Upgrade Services
Low-downtime logical replication, pg_upgrade --link, and extension upgrades.
MariaDB 10.x to 11.4 LTS Migration
Rolling Galera cluster upgrades and MariaDB 11.4 optimizer validation.
MySQL Configuration Optimizer
Generate a fresh MySQL 8.4 LTS my.cnf with innodb_redo_log_capacity and buffer pool sizing.
PostgreSQL Configuration Optimizer
Generate tuned postgresql.conf settings for your newly upgraded PostgreSQL 17/18 cluster.
ProxySQL Reference Hub
Use ProxySQL query mirroring (`mirror_hostgroup`) to test MySQL 8.4 LTS with real traffic.
Ready to Upgrade Off an EOL Database?
Get a senior DBRE to plan and rehearse your PostgreSQL, MySQL, or MariaDB upgrade.
Or request a free audit of one database instance, subject to availability: mutual NDA before read-only access, a prioritized report within one week after access is ready, and no obligation.







