php - Multiple databases vs single db -


in web application, better have datas single db or create database each customer?

single db easier , faster mantain (updates, backups etc etc), if goes bad.. blocked.

maybe can create single tables , grant permissions, i'm not guru..

that depends - i've seen apps used same database hundreds of clients (with 10000s of users in total) run quite smoothly. in opinion, depending on usage scenarios, either have clients use same db (and deal scaling issues accordingly), or have clients use different servers (easier deploy, harder maintain - can end many versions of software, each slightly different other).

multiple databases on same server weird half-breed brings disadvantages of both approaches.


Comments

Popular posts from this blog

asp.net - repeatedly call AddImageUrl(url) to assemble pdf document -

java - Android recognize cell phone with keyboard or not? -

iphone - How would you achieve a LED Scrolling effect? -