Skip to content

Database Drivers 2026: Market Share

Key idea:

Enterno.io scanned open port signatures + API response fingerprints to identify the primary database for top-50k web apps. PostgreSQL — 42% (leader, +5% YoY). MySQL — 31% (-3% YoY, slow decline). MongoDB — 15% (stable). SQLite — 7% (rising for edge). Redis as-primary — 2%. CockroachDB/YugabyteDB (distributed SQL) — 1% but growing.

Below: key findings, platform breakdown, implications, methodology, FAQ.

Key Findings

MetricPass/ValueMedianp75
PostgreSQL42%
MySQL / MariaDB31%
MongoDB15%
SQLite (edge + small)7%
Redis as-primary2%
Microsoft SQL Server1.8%
Oracle0.6%
CockroachDB / YugabyteDB1%

Breakdown by Platform

PlatformShareDetail
PostgreSQL (self-hosted)26%YoY: +2%
AWS RDS Postgres9%YoY: +2%
Supabase (managed Postgres)4%YoY: +1%
Neon (serverless Postgres)3%YoY: +2% (new)
MySQL self-hosted22%YoY: -2%
MongoDB Atlas9%YoY: flat
Turso / LibSQL (edge)2%YoY: +1.5% (edge)

Why It Matters

  • PostgreSQL became the default choice for new projects in 2026 — JSON support + permission system + extensibility
  • MySQL falls behind: Oracle's licence + slower adoption of JSON/CTE features
  • MongoDB stable at 15% — niche for fluid schemas, not universal replacement
  • Serverless Postgres (Neon, Supabase, Vercel Postgres) — new category for edge/serverless apps
  • SQLite rising with Cloudflare D1, Turso — edge-first apps on one region + replication

Methodology

Top-50k sites with a detectable backend (not static). Port scan (5432 Postgres, 3306 MySQL, 27017 Mongo) + HTTP response fingerprints (error pages, X-Powered-By). Cloud DB detection via CNAME patterns (rds.amazonaws.com, supabase.co, neon.tech). YoY vs March 2025.

Learn more

Frequently Asked Questions

Postgres vs MySQL — which in 2026?

Postgres — default for new project (better features, JSON, partial indexes, better defaults). MySQL — if legacy team expertise or simple CRUD.

Is MongoDB still relevant?

For multi-tenant apps with fluid schemas (chat, IoT, analytics). For relational data — Postgres with JSONB is superior.

Serverless Postgres (Neon) — production-ready?

Yes. Neon, Supabase, Vercel Postgres used in production. Main risks — cold start + pricing surprise on spikes.

How to detect a site's DB?

Impossible 100% externally. Indirectly: error messages, response time patterns, admin panel paths. Enterno — API response timing + type of 500 errors.