I know if we host several websites on a web hosting account, we are recommended to create a database for each website. I just wonder if we need to create multiple databases for one website, say a database for each directory. Do we need to do that?
I am no expert on this matter but I guess it will depend on your personal preference. You can have as many different databases per website, depending on how you would want to organize your data and backups.
Well, for me, the lesser databases to manage is the better I have a small website and some blogs and I am fine with a database for each website/blog. But what about gigantic websites like Google, Yahoo and Amazon? I am sure their data is too complicated to store in a database.
Well, for me, the lesser databases to manage is the better I have a small website and some blogs and I am fine with a database for each website/blog. But what about gigantic websites like Google, Yahoo and Amazon. I am sure their data is too complicated to store in a database.
Me too, on DB per site/blog, it's way too easier. Since you're mentioning big companies, I can't imagine how organized their data centers must be in order to keep track of everything. It really sounds daunting.
Well, for me, the lesser databases to manage is the better I have a small website and some blogs and I am fine with a database for each website/blog. But what about gigantic websites like Google, Yahoo and Amazon? I am sure their data is too complicated to store in a database.
I believe that less clutter the better it is. But depends on how you would want to organize stored data. Maybe you need some info that should be backed up regularly and some don't. Then you need separate DBs.
Good point Zohann, thanks. I will keep in mind and apply it when my website grows more complicated. Currently it is still simple to manage, and no crucial data needs to be treated differently.
I want to be really focused on being able to find a problem when the database slows down. I was advised to look for bottlenecks. What is the best way to go about doing that?