Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Mailing Lists -> Oracle-L -> RE: Why DB_Name 4 chars only.

RE: Why DB_Name 4 chars only.

From: Straub, Dan <Dan.Straub_at_McKesson.com>
Date: Tue, 30 Jul 2002 12:50:46 -0800
Message-ID: <F001.004A683B.20020730125046@fatcity.com>


>
> What is the reason behind DB_Name/SID usually 4 chars
> length only. I have a customer who is asking us to
> create instance/db with 6 chars length. We usually
> keep instance name and db_name parameters same in .ora
> file. Can someone please explain the reason behind
> db_name 4 chars only. Is it a common practice to keep
> SID/db_name/instance name parameters same (for example
> PBDS).
>

Only a limitation on NT. We use up to 8 characters for UNIX.

>From Metalink doc 48681.1:

"The SID should consist of four or fewer alphanumeric characters. This is to avoid problems with filename length restrictions on some platforms, e.g. the 8.3 restriction on DOS, which is still present on NT if using DOS-style names (which Oracle requires). So the initialization file for a database called ORCL will be called initORCL.ora, representing the longest possible filename."

HTH,
Dan Straub
McKesson Information Solutions
541-681-8278
44°03'N 123°05'W (or thereabouts)
Confidentiality Notice: This e-mail message, including any attachments, is for the sole use of the intended recipient(s) and may contain confidential and privileged information. Any unauthorized review, use, disclosure or distribution is prohibited. If you are not the intended recipient, please contact the sender by reply e-mail and destroy all copies of the original message.

-- 
Please see the official ORACLE-L FAQ: http://www.orafaq.com
-- 
Author: Straub, Dan
  INET: Dan.Straub_at_McKesson.com

Fat City Network Services    -- (858) 538-5051  FAX: (858) 538-5051
San Diego, California        -- Public Internet access / Mailing Lists
--------------------------------------------------------------------
To REMOVE yourself from this mailing list, send an E-Mail message
to: ListGuru_at_fatcity.com (note EXACT spelling of 'ListGuru') and in
the message BODY, include a line containing: UNSUB ORACLE-L
(or the name of mailing list you want to be removed from).  You may
also send the HELP command for other information (like subscribing).
Received on Tue Jul 30 2002 - 15:50:46 CDT

Original text of this message

HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US