Independent Research · Unvarnished Reviews

PostgreSQL vs. MySQL: The Extended Support Tax on Staying Put

Based on verified user data No sponsored findings No vendor spin

Key finding: Both databases are free and open source, but AWS RDS charges an identical Extended Support surcharge, $0.200 per vCPU-hour, for organizations running major versions past their standard support window (MySQL 5.7 and PostgreSQL 11 both entered Year 3 Extended Support pricing in March 2026). On a modest 4-vCPU instance, that surcharge alone adds roughly $584/month, purely for not having upgraded, on top of whatever the base instance already costs.

Download PDF Report →

Full report with managed hosting cost comparison, Extended Support charge breakdown, and open-source database selection framework.

PostgreSQL vs. MySQL: The Extended Support Tax on Staying Put

Market Position: Big Picture

PostgreSQL and MySQL are the two most-used open-source relational databases, and the comparison most other reports in this database series implicitly assume as the starting point: both are free to run, both have enormous ecosystems, and the real decision most organizations face isn't "which engine costs more," since neither has a license fee, it's which managed hosting path to take and what that path actually costs once real production requirements (high availability, version currency, backup retention) are included.

The finding that should change how any team running either database on a major cloud provider budgets: staying on an older major version carries a real, quantified cost that applies identically to both engines. AWS RDS's Extended Support program charges the same per-vCPU-hour rate whether the aging version is MySQL or PostgreSQL, and it's an easy cost to miss, since it doesn't show up until an organization is already past the standard support window, often the same organizations least inclined to disrupt a stable production database with a major-version upgrade.

Platform Ratings at a Glance

PlatformG2 RatingReviews (G2)Note
MySQL4.4 / 5~1,675More than double PostgreSQL's review base
PostgreSQL4.4 / 5~680Rates identically to MySQL despite the smaller sample

Both engines rate identically in user ratings, and reviewer sentiment tells a consistent story on both sides: praise for reliability, open-source flexibility, and community support, with PostgreSQL reviewers more often citing a steeper learning curve and performance tuning complexity, and MySQL reviewers more often citing difficulty with very large datasets and complex queries. Stack Overflow's 2025 Developer Survey shows PostgreSQL now leading MySQL in developer usage (55.6% to 40.5%), a real shift in the underlying popularity trend that ratings parity alone doesn't capture.

The Real Cost Isn't the Engine, It's the Hosting Path

Neither database has a core licensing fee. MySQL is available under the GPL for most deployments, with Oracle offering a separate, paid MySQL Enterprise Edition carrying additional management tools, security features, and commercial support, relevant primarily to organizations embedding MySQL in a distributed proprietary product, where GPL's copyleft terms would otherwise require releasing the combined work's source. PostgreSQL uses a permissive, BSD-style license with no equivalent commercial-tier fork; there's no PostgreSQL "Enterprise Edition" to license, only third-party support contracts layered on top of the free core.

For the overwhelming majority of buyers, neither licensing model is the real cost driver. Managed hosting is. On identical AWS RDS instance types, the two engines are now priced the same per vCPU-hour at the entry tier (both $0.016/hour on a db.t4g.micro), though some older-generation instance families and independent pricing analyses have shown gaps of up to roughly 10% between the two engines on specific configurations; confirm current rates for your exact instance family and region rather than assuming parity or a fixed gap.

Managed Hosting: A Wide Spread for the Same Open-Source Engine

The real cost variable isn't PostgreSQL versus MySQL, it's which hosting provider and configuration a team chooses. At a comparable mid-tier specification (roughly 16 GB RAM, 100 GB storage), independent 2026 pricing analysis shows managed PostgreSQL running from approximately $86/month (Selfhost.dev) to $475/month (AWS RDS with Multi-AZ and a read replica), a roughly 5.5x spread for materially similar underlying capability. Serverless and usage-based options (Neon, Supabase) add further variability, scaling from a few dollars a month for light, intermittent workloads to several hundred dollars for sustained, always-on usage.

MySQL's managed-hosting landscape follows a similar pattern with a smaller set of specialized providers: AWS RDS, Google Cloud SQL, Azure Database for MySQL, and PlanetScale (MySQL-compatible, with branching-based development workflows) cover most of the market, with PlanetScale's per-branch billing model in particular functioning as a real, easy-to-miss cost multiplier for teams running many development branches simultaneously.

Pricing (July 2026)

ProviderEntry Tier (Monthly)Mid-Tier (Monthly)Enterprise Tier (Monthly)
AWS RDS (either engine)~$12.41~$99.28~$794.24
Google Cloud SQL (either engine)~$11.32~$122.49~$980.03
Azure Database (either engine)~$14.60~$99.28~$794.24
DigitalOcean (PostgreSQL)~$15.00~$60.00~$244.00
Neon (PostgreSQL, usage-based)Free (100 CU-hours)~$0.106/CU-hour~$0.222/CU-hour
PlanetScale (MySQL)~$39~$179~$999

TCO Comparison: The Extended Support Surcharge, 4-vCPU Instance, 1 Year

This scenario models the real, quantified cost of running an out-of-support major version on AWS RDS, applicable identically to either engine.

Cost ComponentBasisMonthlyAnnual
Base instance (current major version)4 vCPU, standard rateVaries by instance type and regionVaries
Extended Support surcharge (Year 3)$0.200/vCPU-hour × 4 vCPUs × 730 hours$584$7,008

This surcharge is additive, layered on top of whatever the base instance already costs, and it applies whether the aging version is MySQL 5.7 or PostgreSQL 11. It's a real, avoidable cost: staying current on major versions eliminates it entirely, but organizations running stable production databases specifically because they're reluctant to disrupt them with an upgrade are, structurally, the ones most likely to be paying it.

Costs the Pricing Table Misses

The Decision Framework

Choose PostgreSQL if: Advanced SQL features, JSONB support, extensibility (PostGIS, pgvector, and similar extensions), and a permissive license with no commercial-tier licensing question matter to your use case. Developer usage trends now favor PostgreSQL, a real signal for hiring and community support depth going forward.

Choose MySQL if: Your team has deep existing MySQL expertise, simpler operational requirements are a priority, or you're building on a MySQL-native platform like PlanetScale. Confirm whether your distribution model triggers GPL's copyleft terms and requires an Enterprise Edition license before assuming the Community Edition is sufficient.

Everyone: Budget for major-version currency explicitly. The Extended Support surcharge documented in this report is a real, quantified, entirely avoidable cost that only exists because an upgrade didn't happen; treat version-currency planning as a cost-management line item, not just an engineering maintenance task.

The Bottom Line

PostgreSQL and MySQL are both credible, well-reviewed, truly free open-source relational databases, and the choice between them increasingly comes down to feature fit and team expertise rather than cost, since neither carries a core licensing fee and managed-hosting rates for both now largely converge on major cloud providers. The real cost story in this comparison isn't PostgreSQL versus MySQL at all, it's the wide spread across hosting providers for the same engine, and the specific, quantified, and entirely avoidable Extended Support surcharge that applies equally to both databases the moment an organization falls behind on major-version upgrades.