Skip to content
pvmehta.com

pvmehta.com

  • Home
  • About Me
  • Toggle search form
  • USER_TABLES.Freelists Oracle
  • replacing ^M character when passing files from Windows to Unix Linux/Unix
  • proc.sql Oracle
  • How to stop OCSSD Daemon Oracle
  • UNderstand and eliminate Latch contention. Oracle
  • Jai Shree Ram Oracle
  • Good link for LIO in Oracle ( Logical IOs) Oracle
  • Space padding in korn shell Linux/Unix
  • Running some SQL on multiple databases connecting using monitoring userid and password Linux/Unix
  • setting prompt display with .profile Linux/Unix
  • Check_recovery.sh program to run sqlplus and return its values remotely. Linux/Unix
  • block_ident.sql Oracle
  • find_cons.sql Oracle
  • Changing default shell Linux/Unix
  • How to find where datafile is created dbf_info.sql Oracle

Oracle Identifiers

Posted on 31-May-2006 By Admin No Comments on Oracle Identifiers

Oracle Identifiers:

===================

In order not to make using Oracle confusing, there are some identifiers whose meaning must be totally clear if one want to work on Oracle:

SID (System Identifier):

========================

A SID (almost) uniquely identifies an instance. Actually, $ORACLE_HOME, $ORACLE_SID and $HOSTNAME identify an instance uniquely.

The SID is 64 characters, or less; at least on Oracle 9i.

The system identifier is included in the CONNECT_DATA parts of the connect descriptors in a tnsnames.ora file.

The SID defaults to the database name.

Global database name:

=====================

A database is uniquely identified by a global database name.

Usually, a global database name has the form somename.domain.

The global database name is the composit of db_domain and db_name.

Database Name:

==============

All mounted databases in a network must have a unique database name. This name is specified at the time of the creation of the database and burned into the control files.

The name of the database must correspond to the db_name parameter.

The database name (as well as the database id) can be changed with the nid (DBNEWID) tool.

DBID = Database Identifier:

===========================

The DBID is a unique identifier. It is found in all datafile headers. The DBID is used to identifiy the database a file belongs to.

The DBID is also found in the control files. It can therefore be gotten without access to the datafiles (startup mount, select * from v$database)

The dbid is important when the SPFILE or controlfiles must be recovered.

Oracle, SQL scripts

Post navigation

Previous Post: DETERMINING WHICH INSTANCE OWNS WHICH SHARED MEMORY & SEMAPHORE SEGMENTS
Next Post: how to find OS block size

Related Posts

  • plan10g.sql Oracle
  • Test Case for Inserting Multiple (2.3 Million rows in 26 Seconds) Oracle
  • Renaming the column name Oracle
  • Facts about SCN and Rollback Segment Oracle
  • reset Sequence Oracle
  • Identical Dblink Issue… Oracle

Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *

Categories

  • AWS (2)
  • Azure (1)
  • Linux/Unix (149)
  • Oracle (387)
  • PHP/MYSQL/Wordpress (10)
  • Power-BI (0)
  • Python/PySpark (7)
  • RAC (17)
  • rman-dataguard (26)
  • shell (149)
  • SQL scripts (336)
  • Uncategorized (0)
  • Videos (0)

Recent Posts

  • SQL Tracker by SID sqltrackerbysid.sql22-Apr-2025
  • How to connect to Oracle Database with Wallet with Python.21-Mar-2025
  • JSON/XML Types in Oracle18-Mar-2025
  • CPU Core related projections12-Mar-2025
  • Exadata Basics10-Dec-2024
  • Reading config file from other folder inside class24-Sep-2024
  • Python class import from different folders22-Sep-2024
  • Transfer SQL Profiles from One database to other database.05-Sep-2024
  • Load testing on Oracle 19C RAC with HammerDB18-Jan-2024
  • Add new columns in dataframe30-Sep-2023

Archives

  • 2025
  • 2024
  • 2023
  • 2010
  • 2009
  • 2008
  • 2007
  • 2006
  • 2005
  • sql_plan9i.sql Oracle
  • Finding locked objects Oracle
  • plan10g.sql good Oracle
  • Very Good Oralce Internal Tuning Book Oracle
  • Generate SSH without password authentication. Linux/Unix
  • fuser to check who is using diretory Linux/Unix
  • Restoring a user’s original password 1051962.101 Oracle
  • SQLPLUS COPY command Precautions. Oracle

Copyright © 2025 pvmehta.com.

Powered by PressBook News WordPress theme