Skip to content
pvmehta.com

pvmehta.com

  • Home
  • About Me
  • Toggle search form
  • Settting up get_vmstat.sh for colletinf CPU Usage. Oracle
  • Backup and Recovery Scenarios Oracle
  • Monitor Long Running Job Oracle
  • Reclaim temp tablespace for oracle 8, 8i Oracle
  • To see only files and/or folders using LS command Linux/Unix
  • All Hints for Oracle Databases Oracle
  • Check_recovery.sh program to run sqlplus and return its values remotely. Linux/Unix
  • CTAS with LONG Column for 9i and higher Oracle
  • Goldengate document from Porus Oracle
  • Oracle 10g Installation/Applying Patches Tips Oracle
  • How to find where datafile is created dbf_info.sql Oracle
  • This is from Temi Oracle
  • Windows based Command line mailing program like mailx (Sednmail for windows) PHP/MYSQL/Wordpress
  • Search and replace editor command in vi Linux/Unix
  • Oracle Connections expire_time and firewall 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

  • How to specify 2 arch location to avoid any kind of DB hanging. Oracle
  • How to start CRS manually Oracle
  • Roles and Stored Procs II Oracle
  • ORA-00064: object is too large to allocate on this O/S during startup Oracle
  • Oracle Release Explaination Oracle
  • Exadata Basics Oracle

Leave a Reply Cancel reply

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

Categories

  • Ansible (0)
  • AWS (2)
  • Azure (1)
  • Django (0)
  • GIT (1)
  • Linux/Unix (150)
  • MYSQL (5)
  • Oracle (403)
  • PHP/MYSQL/Wordpress (10)
  • POSTGRESQL (1)
  • Power-BI (0)
  • Python/PySpark (7)
  • RAC (18)
  • rman-dataguard (26)
  • shell (151)
  • SQL scripts (349)
  • SQL Server (6)
  • Uncategorized (5)
  • Videos (0)

Recent Posts

  • Key Management in Oracle: The Core Issue: Missing Master Key12-May-2026
  • SAT Mathematics 10 questions and answer at the end.30-Apr-2026
  • top 10 AI news today30-Apr-2026
  • runon_allpdbs_show_conname.sh23-Apr-2026
  • runon_allcdbs_find_pdbs.sh23-Apr-2026
  • Running PDB on single node in RAC09-Apr-2026
  • find_arc.sql09-Apr-2026
  • pvm_pre_change.sql08-Apr-2026
  • find_encr_wallet.sql08-Apr-2026
  • find_pdbs.sql08-Apr-2026

Archives

  • 2026
  • 2025
  • 2024
  • 2023
  • 2010
  • 2009
  • 2008
  • 2007
  • 2006
  • 2005
  • ORA-8031 issue and solution if it is occuring due to truncate. Oracle
  • Running select from V$ views from remote server Linux/Unix
  • Key Management in Oracle: The Core Issue: Missing Master Key Oracle
  • 10g RAC: Troubleshooting CRS Root.sh Problems Oracle
  • get_ratio.sql get the ratio of users from v$session and this uses CASE-WHEN-THEN clause Oracle
  • ORA-3136 Oracle
  • cp_filesystem.sql Oracle
  • Oracle Recommended Patches — Oracle Database ID 756671.1 Oracle

Copyright © 2026 pvmehta.com.

Powered by PressBook News WordPress theme