Hacker Trends

Hacker Trendsmysql vs postgres

mysql vs postgres on Hacker News

Across 2007–2026 of Hacker News, postgres leads mysql vs postgres with 67,235 mentions to mysql’s 56,704, peaking in Oct 2023.

Mention-over-time for mysql vs postgres, overlaid across 20072026 of Hacker News. Each line is a live date-histogram over ~45M posts and comments, computed with Upstash Redis Search.

mysql56,704 mentions, peak Jan 2022postgres67,235 mentions, peak Oct 2023
2008201120142017202020232026

How the lead changed hands

The database lead-swap: MySQL owns the conversation around 2009–11, then goes quiet as Postgres climbs to overtake it by 2017–20.

The stories behind each line

Top mysql stories
  1. Why Uber Engineering Switched from Postgres to MySQL 731 points · 2016
  2. In MySQL, use “utf8mb4” instead of “utf8” (2016) 643 points · 2022
  3. Leaving MySQL 626 points · 2021
  4. Migrating Facebook to MySQL 8.0 521 points · 2021
Top postgres stories
  1. Bye Bye Mongo, Hello Postgres 1,562 points · 2018
  2. Postgres IDE in VS Code 1,040 points · 2025
  3. Postgres gets support for upsert 1,003 points · 2015
  4. Show HN: Ten years of running every day, visualized 958 points · 2025

Each term on its own

More comparisons

Build your own comparison on the main chart, or read how Hacker Trends works.