Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Database tables - how many database?

Tags:

database

How many databases are needed for a social website? I have my tech team working on developing a social site but all their tables are in 1 database. I wanted to create separate table sets for user data, temporary tables, etc and thinking maybe have one separate database only for critical data, etc but I am not a tech person and now sure how this works? The site is going to be a local reviews website.

like image 552
Thomas Avatar asked Aug 14 '26 17:08

Thomas


2 Answers

This is what happens when management tries to make tech decisions...

like image 106
Abe Miessler Avatar answered Aug 17 '26 06:08

Abe Miessler


The simple answer, as always, is as few as possible.

The slightly more complicated answer is that once your begin to push the limits of your server and begin to think about multiple servers with master/slave replication then your may want your frequent write tables separated from your seldom write tables which will lower the master-slave update requirements.

like image 34
Phil Avatar answered Aug 17 '26 06:08

Phil



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!