Our naming strategy is usually based on the concatenation of 'three letters acronyms' (TLA's) representing the different 'dimensions', of the database, separated by underscores. This rule is applied for sites, applications, clients, etc.
For example, when my app acronym is ABC
, and our United Emirates Office is a suscriber to the ABC database, this database name will then be ABC_UAE
(Using then the offical/ISO TLA of the country is of course a nice choice).
Once you give your clients a TLA identifier, you can use it to build your database name:
ABC_ACM
: for the main/central ABC database for Acme Company
ABC_ACM_CAN
: for its subscriber's in Canada
Now, if you maintain different database versions, you have the choice between:
In case these databases have subcribers, the meaning of ABC_ACM_012_CAN
is then quite obvious. I'd advise you to use a standard 3 digits numbering for version numbers. It makes things really easier!
This rule suffers some exception when talking about development databases. For example, my developer's version of ABC_ACM
database will be ABC_ACM_pgrondier
, if development is maintained by client, or ABC_012_pgrondier
if development is maintained by version. As a matter of fact, having the last 'dimension' of the database name not implementing the TLA rule is also quite common when you come to individual suscribers: