Skip to content
pvmehta.com

pvmehta.com

  • Home
  • About Me
  • Toggle search form
  • Find nth max and min. Oracle
  • Parallel DML Oracle
  • How does one SELECT a value from a table into a Unix variable? From SQL to Shell Linux/Unix
  • Find Stale DR Physical Standby Oracle
  • how to find VIP from ifconfig Linux/Unix
  • Adding Datafile on Primary Server and Impact on Standby Server Oracle
  • Jai Shree Ram Linux/Unix
  • How to know Number of CPUs on Sun Box Linux/Unix
  • PLSQL Table Syntax 1 Oracle
  • ORA-01220 Oracle
  • Remove duplicate rows from table Oracle
  • find_string_in_database.sql Oracle
  • Proc code Oracle
  • send attachment from unix-shell script Linux/Unix
  • For Perl DBI installation and testing program PHP/MYSQL/Wordpress

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

  • sql_doing_fts.sql Oracle
  • How To Transfer Passwords Between Databases (ref note: 199582.1) Oracle
  • Renaming the column name Oracle
  • oracle Dba site Oracle
  • find_pk.sql /* Find Primary Key */ Oracle
  • Explain Plan Output 2 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
  • find_log_switch.sql Find log switches in graphical manner Oracle
  • send email from unix mailx with attachment. Linux/Unix
  • Configure ssh authentications for RAC Oracle
  • process id based files and processes Linux/Unix
  • default permission on ~/.ssh/authorized_keys2 or authorized_keys Linux/Unix
  • Add new columns in dataframe Python/PySpark
  • Wait Based Tuning Step by step with SQL statement Oracle
  • Oracle Metalink useful notes Oracle

Copyright © 2025 pvmehta.com.

Powered by PressBook News WordPress theme