Skip to content
pvmehta.com

pvmehta.com

  • Home
  • About Me
  • Toggle search form
  • How to change hostname in Linux Linux/Unix
  • sess_server.sql Oracle
  • Useful Solaris Commands on 28-SEP-2005 Linux/Unix
  • get_vmstat.ksh Linux/Unix
  • restarting network in linux Linux/Unix
  • scripts to take listener.log backup Linux/Unix
  • alter database backup controlfile to trace Oracle
  • My FTP Job Scheduling for www.pvmehta.com PHP/MYSQL/Wordpress
  • plan10g.sql good1 Oracle
  • Gather Stats manually using DBMS_STATS after disabling DBMS_SCHEDULER jobs as previous entry Oracle
  • To check whether standby is recovering properly or not?? Oracle
  • How to know current SID Oracle
  • FRA Information. Oracle
  • Kill a session dynanically using execute immediate Oracle
  • scripts to take listener.log backup Linux/Unix

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

  • Best approach for Oracle database patching sequence to latest/required patchset along with CPU/PSU/any-other-one-off patch ID 865255.1 Oracle
  • Insert cause enqueue locks Oracle
  • DBMS_SQL for alter session. Oracle
  • How to find who is using which Rollback segment and how many rows or blocks in that rollback segments, Oracle
  • Goog notes on X$ tables Oracle
  • Important Script Method for tuning 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 (392)
  • PHP/MYSQL/Wordpress (10)
  • Power-BI (0)
  • Python/PySpark (7)
  • RAC (17)
  • rman-dataguard (26)
  • shell (149)
  • SQL scripts (341)
  • Uncategorized (0)
  • Videos (0)

Recent Posts

  • load SPM baseline from cursor cache05-Jun-2025
  • Drop all SPM baselines for SQL handle05-Jun-2025
  • Load SPM baseline from AWR05-Jun-2025
  • Drop specific SQL plan baseline – spm05-Jun-2025
  • findinfo.sql (SQL for getting CPU and Active session info)27-May-2025
  • 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

Archives

  • 2025
  • 2024
  • 2023
  • 2010
  • 2009
  • 2008
  • 2007
  • 2006
  • 2005
  • How to analyze statspack or AWR report. Oracle
  • chk_space_SID.ksh Linux/Unix
  • Rman Notes -1 Oracle
  • find the files that are 1 day old. Linux/Unix
  • For Search and replace unix command. Linux/Unix
  • OEM-troubleshooting on 20-MAY-08 Oracle
  • Find_table_size.sql Oracle
  • Goldengate Tutorial Oracle

Copyright © 2025 pvmehta.com.

Powered by PressBook News WordPress theme