开发者

How does facebook store billions of rows of DB data every month? [closed]

开发者 https://www.devze.com 2023-03-11 08:22 出处:网络
Closed. This question is o开发者_C百科ff-topic. It is not currently accepting answers. Want to improve this question? Update the question so it's on-topic for Stack Overflow.
Closed. This question is o开发者_C百科ff-topic. It is not currently accepting answers.

Want to improve this question? Update the question so it's on-topic for Stack Overflow.

Closed 11 years ago.

Improve this question

I know that they do use MySql for DB. But my question is, what could they use to store billions of rows of status updates etc. in one table. Do they partrition them ? Or do they have another way to store this huge amount of data?


They are likely sharding their data in combination of master-slave replication.

The problem with databases is replication can only take you so far, because writes don't scale nearly as easily as reads. Therefore, writes heavy database servers are generally sharded or functionally partitioned.

0

精彩评论

暂无评论...
验证码 换一张
取 消