Free audit

View Audit Scope
JusDBPostgreSQL 17/18 · MySQL 8.4 LTS · MariaDB 11.4 LTS

Open-source database major version upgrades without cutover drama.

Running End-of-Life (EOL) open-source database versions exposes production systems to unpatched CVEs, cloud provider Extended Support surcharges (such as AWS RDS MySQL 8.0 and PostgreSQL 12/13), and query planner stagnation. JusDB engineers low-downtime major version upgrades for PostgreSQL (to 17/18), MySQL (5.7/8.0 to 8.4 LTS), and MariaDB (to 10.11/11.4 LTS) using logical replication, RDS Blue/Green deployments, and hard-link `pg_upgrade`, backed by a 15-minute P1 response SLA.

Upgrades

EOL & LTS Modernization Matrix

MySQL 8.0 EOL -> 8.4 LTS

recommended

Pre-upgrade `util.checkForServerUpgrade()` validation, `caching_sha2_password` migration, and GTID / RDS Blue-Green switchovers.

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

  • Innoviti
  • Blitz
  • Freecharge
  • Nango
  • Recochain
  • Screen Facts
  • Nexora
  • WeCredit

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.

P1 incidents, 24/7

15 mins

Response SLA

P1 response SLA: 15 mins, 24/7.

P2 incidents, 24/7

30 mins

Response SLA

P2 response SLA: 30 mins, 24/7.

P3 incidents, 24/7

60 mins

Response SLA

P3 response SLA: 60 mins, 24/7.

SLA response times by severity (24/7)

P1 · Critical15 mins

Production database down, primary unreachable, data corruption risk, or active failover event.

P2 · High30 mins

Severe latency spike, replication lag climbing rapidly, connection exhaustion, or degraded HA node.

P3 · Medium60 mins

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 Shell · GTID Replication · RDS Blue/Green

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.
pg_upgrade --link --check · Logical CDC · vacuumdb

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-upgrade · Galera Rolling Upgrade · MaxScale

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.
pt-upgrade · ProxySQL Mirroring · pg_stat_statements

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 GTID / Logical Stream · PgBouncer PAUSE

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.
my.cnf · postgresql.conf · 72h Hypercare

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.

Active
  • 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.

Production Upgrade Specimen · PostgreSQL 17 & MySQL 8.4 LTS

Pre-Flight Compatibility Checks, Hard-Link pg_upgrade & Statistics Rebuild

Before: Blind console upgrade · 45m outageAfter: Rehearsed cutover · 18s pause · rollback net

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 PhaseCustomer TeamJusDB DBRE Team
Application Driver & ORM CompatibilityVerify application driver versions (`pg`, `mysql2`, `JDBC`) in stagingAudit auth plugins (`caching_sha2_password` / `scram-sha-256`), SQL modes, and deprecated syntax
Pre-Upgrade Checks & Staging RehearsalProvide read access and staging snapshot environmentExecute `checkForServerUpgrade()` / `pg_upgrade --check`, fix blockers, and time the full rehearsal
Replication Bridge / Blue-Green EnvironmentApprove cloud/VM capacity for the side-by-side target clusterProvision target LTS cluster, configure GTID or logical replication, and validate row parity
Production Cutover & Rollback ReadinessJoin the scheduled cutover bridge and run app smoke testsExecute proxy cutover, rebuild statistics, and maintain reverse-replication rollback stream
Post-Upgrade Hypercare & Old Cluster TeardownSign off on decommission after 48-72h stability windowMonitor 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 VectorJusDB Guided UpgradeCloud Migration / DMSIn-House Generalists
Compatibility Audits & Staging Dry RunsAutomated schema inspection, deprecated feature scanning, stored routine analysis, and full-volume staging dry runs before production touchingAutomated schema converters flagging generic syntax warnings without testing live application workload dependencies or extensionsManual spot checks of release notes with hidden breaking changes discovered only after production application deployment fails
Cutover Strategy & Downtime MinimizationLow-downtime replication-based cutovers (logical replication, blue-green, Galera rolling), designed to shrink the maintenance window to a short, rehearsed switchReplication services (e.g. AWS DMS) frequently dropping table constraints, data types, foreign keys, and sequence alignmentsBrute-force in-place upgrades requiring multi-hour offline maintenance windows and prolonged service downtime
Data Integrity & Consistency VerificationExhaustive row-level checksums, table count validations, LSN synchronization, and transaction boundary integrity audits across versionsBasic high-level table existence checks with no deep row checksumming or LSN replication consistency verificationTrusting basic client smoke tests while silent data truncation or character set encoding corruptions go unnoticed until reports fail
Reversible Rollback & Fallback EngineeringBidirectional replication fallback to the legacy version, rehearsed in staging, with the rollback path agreed in the SOWOne-way migration paths where aborting the cutover requires wiping out new transactions and restoring hours-old cold backupsNo tested rollback plan; once an in-place upgrade script finishes, rolling back requires complete catastrophic disaster recovery
Post-Upgrade Performance BenchmarkingQuery plan regression analysis, pg_stat_statements/slow query comparisons, and dynamic buffer pool and parameter re-tuning for new versionsDefault instance parameters applied without workload calibration, resulting in sub-optimal throughput on upgraded compute nodesEngineers caught off guard by optimizer plan changes causing unexpected CPU spikes, full table scans, and application timeouts
Cutover Support & Incident ResponseA 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 crisesExhausted internal generalist engineers triaging production database crashes at dawn without deep database internals experience
Turnkey Fixed-Scope Project

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.
Managed DBRE Retainer

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 Engineering Entry Point

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, least-privilege credentials in your vault, and security controls aligned with ISO 27001 and SOC 2 Type II. JusDB's security practices are aligned with ISO 27001 and SOC 2 Type II, and JusDB is pursuing both certifications (see Terms, section 12).
  • 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?

To achieve sub-minute downtime on multi-terabyte databases, we avoid slow dump/restore or in-place binary upgrades and instead build a **side-by-side target cluster** (via PostgreSQL native logical replication, MySQL GTID binlog replication, or AWS RDS Blue/Green Deployments). The new major version cluster syncs continuously in the background while we run data-parity checks and pre-warm its buffer cache. At cutover, we pause writes in PgBouncer or ProxySQL, wait a few seconds for the final transactions to replay, and switch the proxy target to the new cluster.

When is `pg_upgrade --link` better than logical replication for PostgreSQL?

Use **`pg_upgrade --link`** when your database has thousands of tables lacking Primary Keys, relies heavily on large objects (`pg_largeobject`) or specialized extensions that do not support logical decoding, and your business can tolerate a planned 3-to-10-minute maintenance window. By passing `--link`, `pg_upgrade` creates hard links to existing 1 GB heap/index files on the same filesystem instead of copying terabytes of data, completing the binary catalog conversion in seconds (followed immediately by `vacuumdb --analyze-in-stages`).

What are the biggest breaking changes when upgrading from MySQL 8.0 to MySQL 8.4 LTS?

With MySQL 8.0 reaching upstream End of Life in April 2026, upgrading to MySQL 8.4 LTS requires checking four key areas via `util.checkForServerUpgrade()`: (1) legacy `mysql_native_password` authentication is disabled by default in 8.4 (migrate users to `caching_sha2_password` or explicitly load the plugin); (2) deprecated system variables like `innodb_log_file_size` and `binlog_transaction_dependency_tracking` are removed in favor of `innodb_redo_log_capacity` and automatic `WRITESET`; (3) removed SQL syntax (`MASTER_SSL`, `SHOW MASTER STATUS` in favor of `SHOW BINARY LOG STATUS`); and (4) new reserved keywords.

How do you guarantee we can roll back if an application issue appears after cutover?

When using our side-by-side GTID or logical replication upgrade architecture, we do not destroy or modify the old primary cluster at cutover. Instead, as soon as the new major version cluster becomes the active writer, we configure **reverse replication** from the new cluster back to the old cluster. If an unexpected application bug or ORM incompatibility appears hours after cutover, we can flip traffic back to the original version cluster without losing transactions committed since cutover.

How much can we save by upgrading off AWS RDS Extended Support versions?

AWS RDS charges automatic per-vCPU/hour Extended Support fees on major versions past their standard end-of-support date (such as MySQL 5.7, MySQL 8.0 after its RDS standard window, and PostgreSQL 11/12/13), with Year 2 and Year 3 Extended Support rates doubling the surcharge. Completing a Blue/Green or logical replication upgrade to MySQL 8.4 LTS or PostgreSQL 16/17 immediately eliminates all Extended Support surcharges while improving CPU efficiency.

What are JusDB's SLA response times during and after a database upgrade?

24/7 support. SLA response times: P1 – 15 mins | P2 – 30 mins | P3 – 60 mins. P1 covers a critical production outage or post-cutover regression. Response means an on-call engineer is working the incident, not an automated reply.