How should databases be named

  • Ok we have lots of standards where i work and I have seen lots of other developers and DBA standards but what I want is the naming standard for the actuall Database ..not the tables or other objects.

    Why ?

    Ingress DBA's whish to take over SQL work in our organisation and want everyone to use Ingress standards ie a seven letter code.

    eg

    LAPDDDB

    LA =  Section Owner of Database

    PD = The two letter designation of the application name eg DP Data Products

    D = Development Database

    DB = Database

    Ingres on a Unix system allows for only 8 characters for a database name

    Anything in best practices which discourages using a code instead of meaning full names for databases.

  • there's no good reason to limit yourself to 8 characters on the name of the database. just because that was the limit in older systems, doesn't mean you should handicap yourself with difficult to decipher acronyms.

    a simple name like LADataProductsDev is much more readable and more descriptive....and adding DB to a database name is redundant i think.

     

    LosAngelesDataProductsDev is a better example, but i couldn't guess what LA stood for;

    meaningful names are more valuable than trying to follow an artificial standard i think.

    what happens when you have a general purpose database, like ZipCodes, that would not follow your ownership rules from above?

    Lowell


    --help us help you! If you post a question, make sure you include a CREATE TABLE... statement and INSERT INTO... statement into that table to give the volunteers here representative data. with your description of the problem, we can provide a tested, verifiable solution to your question! asking the question the right way gets you a tested answer the fastest way possible!

  • Here we try and name them this way...

     

    SystemCode, Brand for which this applies if you have several companies, environment...

    IE :

     

    TMX_ABC_PROD

     

    TMX would be the application or package

    ABC is the company or division this product is for

    PROD is Production

    This is what we use here.

     

     

     

  • Please do not cross post ...

    http://www.sqlservercentral.com/forums/shwmessage.aspx?forumid=5&messageid=264367

    RegardsRudy KomacsarSenior Database Administrator"Ave Caesar! - Morituri te salutamus."

Viewing 4 posts - 1 through 3 (of 3 total)

You must be logged in to reply to this topic. Login to reply