southbeach
Programmer
OK, working on a project where, I hope, the user base can reach a reasonably high volume.
Each prospective user would have their own data and must be apart from one another (companies can do their billing, project management, etc.).
I have done similar work where every time a company is registered, a unique ID is assigned and this ID is used to mirror the "tables" in the database. This has worked fine and thus far I have not ran into problems.
Fair to say, that the number of unique companies have not really reached a number where one could say: boy, I'm banking it!
Now, I have always asked and debated with myself the question: Would it be better if I mirror the entire database?
Some of the challenges that have kept me using "many tables" in lieu of "many databases" is that often times, the need to a "global" table (one that is shared by all) is needed and I figure it would be best if only for this particular reason.
Time to ask those that likely have been down this path and can offer advise based on identical experience and their personal observation.
What is the best approach: to have many databases or to have many tables?
Thank you all in advance for your kind assistance.
--
SouthBeach
The good thing about not knowing is the opportunity to learn - Yours truly, 2008.
Each prospective user would have their own data and must be apart from one another (companies can do their billing, project management, etc.).
I have done similar work where every time a company is registered, a unique ID is assigned and this ID is used to mirror the "tables" in the database. This has worked fine and thus far I have not ran into problems.
Fair to say, that the number of unique companies have not really reached a number where one could say: boy, I'm banking it!
Now, I have always asked and debated with myself the question: Would it be better if I mirror the entire database?
Some of the challenges that have kept me using "many tables" in lieu of "many databases" is that often times, the need to a "global" table (one that is shared by all) is needed and I figure it would be best if only for this particular reason.
Time to ask those that likely have been down this path and can offer advise based on identical experience and their personal observation.
What is the best approach: to have many databases or to have many tables?
Thank you all in advance for your kind assistance.
--
SouthBeach
The good thing about not knowing is the opportunity to learn - Yours truly, 2008.