数据库该怎么设计?分开多个库还是一个库?
伊谢尔伦2017-04-17 11:34:54
siteId
fields to all main tables, such as article table 伊谢尔伦2017-04-17 11:34:54
There is an article on the Internet that specifically introduces how to expand Facebook. You are probably in the period of having a database now. The next step is probably to split tables, then to split databases, then to do clustering, and finally to synchronize across data centers.
You can also try some Nosql databases, followed by hadoop distributed design and so on.
PHP中文网2017-04-17 11:34:54
At the beginning, it can be done in the same database and using separate tables.