It sounds crazy, but i started a data intensive project[collecting online store inventories] which later grew to be very big. I currently have about 2000 users and each user has about 100 tables. So in essence, i created the system so that each user had his own mysql database and hosted it on a dedicated server. The problem is, the server becomes very slow and breaks due to the pressure and connections. Is there a tool i can use to optimize the db? or i should redesign to only 1 database, which will mean redesigning the whole system? I need an advice and help
It sounds crazy, but i started a data intensive project[collecting online store inventories] which
Share
4000 databases for one system?! Wowzer, did you invent Google?
I’d definitely say that you need to redesign that setup – unless your ‘system’ is actually database hosting and each user has paid for a private db, of course.
Nothing wrong with having multiple discrete databases, but 2-per-user is the wrong approach.
The ‘right’ approach will depend entirely on what your system is meant to do.
You mention everyone has a dedicated server too – this should prevent contention issues for other users. Are you sure it’s not shared hosting?