TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

Ask HN: Stories from migrating away from relational databases?

3 pointsby rethabalmost 5 years ago
I am interested in stories from people who started out with a relational db (postgres, mysql, ..), outgrew it in the sense that it could no longer handle the amount of data and&#x2F;or requests and then migrated to a NoSQL db. I am not talking about projects that used mongodb from the beginning &quot;because it needs to scale&quot;, but stories from migrations from one to the other. What triggered the migration? What type of data did you have? How did the migration turn out? Did you get the expected benefits?<p>The reason I&#x27;m interested in this is that I hear it again and again: We need to use a NoSQL db, because postgres is not fast enough. Is it though? Did you try and it was <i>actually</i> not fast enough or are you talking about some hypothetical future performance benefits? I am sure there are cases where this is true, but I am just as sure that there are cases where a relational db is just fine.

2 comments

colesantiagoalmost 5 years ago
Not a migration to NoSQL but checkout these exciting presentations and blogposts on Uber&#x27;s migration, they started out on MySQL then migrated to Postgres [0]<p>Then as they blitzcaled they famously migrated again from Postgres back to MySQL 3 years later. [1] [2]<p>Seems that MySQL is good enough at Uber&#x27;s scale.<p>[0] <a href="https:&#x2F;&#x2F;www.yumpu.com&#x2F;en&#x2F;document&#x2F;view&#x2F;53683323&#x2F;migrating-uber-from-mysql-to-postgresql" rel="nofollow">https:&#x2F;&#x2F;www.yumpu.com&#x2F;en&#x2F;document&#x2F;view&#x2F;53683323&#x2F;migrating-ub...</a><p>[1] <a href="https:&#x2F;&#x2F;eng.uber.com&#x2F;postgres-to-mysql-migration&#x2F;" rel="nofollow">https:&#x2F;&#x2F;eng.uber.com&#x2F;postgres-to-mysql-migration&#x2F;</a><p>[2] <a href="https:&#x2F;&#x2F;use-the-index-luke.com&#x2F;blog&#x2F;2016-07-29&#x2F;on-ubers-choice-of-databases" rel="nofollow">https:&#x2F;&#x2F;use-the-index-luke.com&#x2F;blog&#x2F;2016-07-29&#x2F;on-ubers-choi...</a>
blickentwapftalmost 5 years ago
Some good advice maybe.
评论 #24107586 未加载