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.

Why Uber Engineering Switched from Postgres to MySQL (2016)

129 pointsby DDerTypalmost 7 years ago

9 comments

hestefiskalmost 7 years ago
If what they wanted was a Schemaless, sharded data store, then perhaps Postgres isn’t the best or most fair comparison. Also the claim of issues with table corruption seems strange / unbelievable— I have used Postgres as my daily driver for data (at scale)!for 12 years now and yet to see it. But again, I haven’t got same scale requirement as Uber.
评论 #17283397 未加载
评论 #17281459 未加载
评论 #17282406 未加载
评论 #17283686 未加载
评论 #17283075 未加载
zaxomialmost 7 years ago
From the article:<p>&gt; <i>MySQL’s replication architecture means that if bugs do cause table corruption, the problem is unlikely to cause a catastrophic failure. Replication happens at the logical layer, so an operation like rebalancing a B-tree can never cause an index to become corrupted. A typical MySQL replication issue is the case of a statement being skipped (or, less frequently, applied twice). This may cause data to be missing or invalid, but it won’t cause a database outage.</i><p>So, data might be invalid or missing, but it will not cause a database outage...
评论 #17281997 未加载
评论 #17282447 未加载
评论 #17282720 未加载
评论 #17281989 未加载
tananaevalmost 7 years ago
A couple of years ago we did a load testing comparison between MySQL and Postgres for our Java-based project. MySQL throughput was 5x better. I&#x27;m not sure if it was JDBC driver issue or just database configuration wasn&#x27;t perfect, but MySQL worked much better for us.
评论 #17281860 未加载
评论 #17281883 未加载
iKSv2almost 7 years ago
Although this is an old article (maybe even posted here earlier), curious to know how&#x27;s does pg10 or upcoming pg11 serve &#x2F; address those issues mentioned....
评论 #17281410 未加载
dotdialmost 7 years ago
Maybe it&#x27;s just me but I find this article has the following TL;DR: we are going against recommendations and common practices and postgres doesn&#x27;t work well.
staticelfalmost 7 years ago
Since I started programming, I have always used MySQL because honestly I think it is the best DB I have used because it has great software support and usability.<p>I have tried Postgres and while I have no issues with it, I usually go with MySQL if I have a choice because I see no real reason to switch out something I know and like.<p>Is there any real reason for a person like me to use postgres or another alternative instead of MySQL?
评论 #17283999 未加载
thirdunclealmost 7 years ago
From 2016 and definitely a repost.
评论 #17281909 未加载
sidcoolalmost 7 years ago
This is a 2016 article, can someone add the timestamp?
samgranierialmost 7 years ago
This is old news and a repost. pass...
评论 #17283285 未加载
评论 #17283797 未加载