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.

I Don't Want to Shard (MySQL)

27 pointsby siddontangalmost 3 years ago

4 comments

nine_kalmost 3 years ago
Nobody wants it. It would be great if we could just run an arbitrarily large RDBMS as one node.<p>Sadly, hardware has limits, especially if you use cheap(er) virtual hardware. OTOH you can see Stackoverflow pulling just this trick: a single colossal SQL server handles most of the load [1]. They, of course, run two DB servers because they need a hot spare.<p>[1]: <a href="http:&#x2F;&#x2F;highscalability.com&#x2F;blog&#x2F;2011&#x2F;3&#x2F;3&#x2F;stack-overflow-architecture-update-now-at-95-million-page-vi.html" rel="nofollow">http:&#x2F;&#x2F;highscalability.com&#x2F;blog&#x2F;2011&#x2F;3&#x2F;3&#x2F;stack-overflow-arch...</a>
评论 #32042282 未加载
littlecatbirdalmost 3 years ago
Scaling horizontally or vertically, on-premise or with cloud service provider is always debatable. IMHO for the scalability topic especially in the internet industry, China or Indian companies may have more say about it thanks to the largest population.<p>Searching through the mentioned TiDB, it&#x27;s quite interesting to find through its affiliated site <a href="https:&#x2F;&#x2F;ossinsight.io&#x2F;analyze&#x2F;pingcap&#x2F;tidb" rel="nofollow">https:&#x2F;&#x2F;ossinsight.io&#x2F;analyze&#x2F;pingcap&#x2F;tidb</a>, that the popularity (stargazer) seems pretty high in China. The US stars is not bad, comparable to Mongo&#x27;s.<p>Honestly I&#x27;ve not heard about it much. How much of the load these databases can support up to, with a single cluster ?
评论 #32042326 未加载
评论 #32042291 未加载
higeorge13almost 3 years ago
I don’t think sharding is a big issue for application development. It adds overhead to devops&#x2F;sre teams though, especially in the case of resharding. I have seen worst issues and overhead to dev team caused by bad table partitioning schemes, not sharding.<p>Imo the biggest challenge of rdbms in modern saas is hybrid (oltp + olap) query pattern. Any cloud managed service that is going to nail this in a costly efficient manner will become the next mainstream thing.
brianweialmost 3 years ago
Can&#x27;t agree more. Sharding is painful for both DBAs and App developers.