Possible Duplicate:
Single or multiple databases
We are developing an application that will have application-wide data and client-owned data that will ideally reside in a database that will be specific to/owned by each client.
So we are confronted by the issue of whether to:
- replicate the application-wide data across all client-owned databases
- keep the application-wide data in a separate 'meta' database and rely mainly on the application level to coordinate between meta and client database data
- keep the application-wide data in a separate 'meta' database and utilize cross-database foreign keys and joins to make the meta database effectively a part of all client databases
I am leaning towards the third option, excited about the flexibility and normalization it could provide. But i don't consider myself an experienced MySQL user, and i'm not sure about the performance, security, and administration ramifications.
Any experience/guidance would be much appreciated!