A         =   St”A”ging

B         =   Data Guard Test or lower level (“B”ackup)

C         =   Crash & Burn or CIT, POC (alternatively)

D         =   “D”evelopment this can be DIT as well

E          =   Training

F          =   Per”F”formance Test

G         =   Data “G”uard Prod (alternate usage)

H         =   Support

I           =   iCert ?

J          =

K         =

L          =

M         =   Model, Demo, Config, Vanilla, etc

N         =

O         =

P          =   “P”roduction

Q         =   QA

R         =   dCert ?

S          =   SIT

T          =   Test

U         =   UAT (User Acceptance Testing)

V         =

W        =  Production Support DEV

X         =

Y         =  Production Support QA

Z          =  Production Support SIT

Over the years I have thought long and hard about an intelligent way of naming databases, this is only for Oracle environments.

Naming of the database instances should identify immediately what database and instance number it is. I have seen many times where the instance number is not identified and makes it difficult when managing a large environment to keep it all straight.

 

Instance naming is as follows:

AAAAAXYYZ

AAAAA = This is a 5 char value for the application naming or suite. This can be something that everyone can recognize for a particular app or collection of apps. I always try to make it 5 characters even if I have to "fill" space. This keeps all names the same length, especially when sorting the names of the databases and instances, plus allows an exact match without the worry of spaces.

X = Database usage type (see post of usage types for environments) this can includes things such as "Test", "Production", etc.

YY = Sequential identifier for multiple databases of the same usage types within a particular cluster. So if you had two or three "Test" databases you'd have T01, T02, T03, etc.

Z = Node sequence as used in RAC databases. This would identify the node number in a cluster.

Ex: MRCXXT011 / MRCXXT012

This would identify an instance as being an instance associated with the MRCXXT01 database, and added a suffix in order to identify this as the “1” instance of this database. Instance name can be up to 16 characters and therefore could have additional characters in the event more than 9 nodes were necessary.

In the case of RAC One Node, an “_1” for current running instance, and “_2” for failover instance, is automatically appended to the instance name and is not an option to change this, as Oracle automatically enforces this. For example:

Ex: MRCXXT01_1 / MRCXXT01_2

This would immediately identify an instances as being a RAC One Node (RON) instances associated with the MRCXXT01 database, and an automatically added a suffix in order to identify this as the “_1” or “_2” instance of this database. Instance name can be up to 16 characters and therefore could have additional characters in the event more than 9 nodes were necessary.

Naming of the database should include a descriptive identifier for the application usage of the database, if there is more than one application, a descriptive term should be applied to the collection of applications being used.

Database naming is as follows:

AAAAAXYY

AAAAA          = This is a 5 char value for the application naming suite.
X                         = Database usage type (see appendix 5 for usage types)
YY                      = Sequential identifier for multiple databases of the
same usage types within a particular cluster.

Ex: MRCXXT01

This would identify a database as MRC in this case, and because there are not 5 chars. We force it to be 5 characters by filling in 2 additional characters (in this case XX) to force all database names to be uniform in size of 8 chars. Since the location is already identified in the cluster name there is no need to replicate it in the databases name, and has been omitted. The database type is ‘Test’ and it is the first MRCXX Test database in this cluster. Note: The sequential number could be extended to make it unique within the enterprise as well.

Ready for Action?

LET'S GO!
Copyright 2024 IT Remote dot com
linkedin facebook pinterest youtube rss twitter instagram facebook-blank rss-blank linkedin-blank pinterest youtube twitter instagram