Large websites - multiple databases or multiple tables?

I am wondering how websites like youtube / facebook / stackoverflow etc. work. Do they use a single database with many tables or multiple databases? If so (several), why? Is this a faster option?

+5
source share
2 answers

There is nothing to do with performance. Databases share unrelated data domains and member deployments.

If two tables can be associated with the same application, they must be in the same database.

The one exception is when the table is reused in many unrelated applications. It can then have its own database, and then applications can use multiple databases.

+3

:
: Youtube Architecture
Youtube, , , .

+4

All Articles