本文由 AI 分析生成
建立時間: 2026-03-26 來源: https://mp.weixin.qq.com/s/BzLUhc1XeEtMbZGv9xq46g
Summary
Analysis of the 2025 StackOverflow global developer survey (50k respondents, 177 countries) through a database lens. PostgreSQL achieved its third consecutive triple crown — #1 in popularity (55.6% usage, +7pp YoY), love (65.5% retention rate), and demand. MySQL usage stagnated; MongoDB is the only top-tier DB with negative usage growth; DuckDB grew 146% YoY.
透過數據庫視角解讀 2025 年 StackOverflow 全球開發者調研(5 萬人,177 個國家)。PostgreSQL 第三年連續三冠王:使用率 55.6%(YoY +7pp)、喜愛度 65.5%、需求度均排第一。MongoDB 是頭部數據庫中唯一使用率負增長者;DuckDB YoY 增長 146%。
Key Points
- PostgreSQL dominance: 55.6% overall usage, 58.2% among professional developers — 15pp gap over #2 MySQL; gap grew significantly YoY
- Supabase is the AI-era winner: exponential growth (2.6% → 3.8% → 6% over 3 years) — “basically Postgres with a wrapper,” benefiting from PG ecosystem adoption
- DuckDB: 0.59% → 1.3% → 3.3% over 3 years (146% YoY) — author predicts this “hockey stick” pattern will produce outsized impact soon
- MongoDB the outlier: only top-DB with negative usage growth (-0.7%) during a period of overall database adoption increase — author attributes this to poor product-market fit in the AI era
- Firebase collapsing (-16.1%) as Supabase (open-source Firebase alternative) rises — direct substitution
- Chinese domestic DBs: TiDB dropped off the leaderboard; bet on distributed + MySQL-compatible was wrong in an era of PostgreSQL ecosystem dominance
Insights
The key structural insight: PostgreSQL isn’t just winning as a database — it’s winning as an ecosystem. Supabase, CockroachDB, and DuckDB are all PG-ecosystem players benefiting from the halo. The “triple crown” framing (popularity + love + demand) is a leading indicator: love/demand predict next year’s popularity, so PostgreSQL’s sustained #1 in all three suggests the dominance will continue to compound.
Connections
Raw Excerpt
如果說兩年前我們說「PostgreSQL 即將主宰數據庫世界」,那麼從今年的數據上來看,PostgreSQL 已經毫無疑問地主宰了數據庫世界。