|
|
|
|
|
by leemac
3538 days ago
|
|
I second this strategy. It does cause a few more headaches, but overall clients prefer it to a single DB. We're in enterprise finance, so this comes up a lot and the answer is typically well received. Almost all the points above are the precise reason we went database-per-tenant. We also chose this method because our system was self-hosted originally (Single DB, non-multi-tenant) for 4 years or so. Adding columns to each table to separate was not ideal and we didn't want to run the risk of 'forgetting a where clause' at any point. For those wondering, all of our databases have the same schema. We use Visual Studio Database Projects to handle updates to keep it all in sync. |
|