Skip to content
pvmehta.com

pvmehta.com

  • Home
  • About Me
  • Toggle search form
  • Finding last recovered file on DR and remove all chanracters before any “/” Linux/Unix
  • Another export with Query Oracle
  • How does one SELECT a value from a table into a Unix variable? From SQL to Shell Linux/Unix
  • Zip and unzip with tar Linux/Unix
  • TRUNCATE Privs Oracle
  • CTAS with LONG Column for 7.x and 8 and 8i Oracle
  • scripts to take listener.log backup Linux/Unix
  • findinfo.sql (SQL for getting CPU and Active session info) Oracle
  • rm_backup_arch_file.ksh Linux/Unix
  • SAN Linux/Unix
  • moving lob object to other tablespace lob_mvmt.sql Oracle
  • Search and Replace vi editor command. Linux/Unix
  • Clean up Oracle
  • Restoring a user’s original password 1051962.101 Oracle
  • Does DBMS_JOB recompute the NEXT_DATE interval after or before 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 Modify the statistics collection by MMON for AWR repository Oracle
  • Index Range Scan Oracle
  • 751131.1 New Article Error 2819 While Requesting a Systemstate Dump Oracle
  • 284785.1 How to check RAC Option is currently linked into the Oracle Binary Oracle
  • Configure ssh authentications for RAC Oracle
  • Jai Shree Ram 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 (149)
  • MYSQL (5)
  • Oracle (393)
  • PHP/MYSQL/Wordpress (10)
  • POSTGRESQL (1)
  • Power-BI (0)
  • Python/PySpark (7)
  • RAC (17)
  • rman-dataguard (26)
  • shell (149)
  • SQL scripts (342)
  • SQL Server (6)
  • Uncategorized (0)
  • Videos (0)

Recent Posts

  • Complete Git Tutorial for Beginners25-Dec-2025
  • Postgres DB user and OS user.25-Dec-2025
  • Trace a SQL session from another session using ORADEBUG30-Sep-2025
  • SQL Server Vs Oracle Architecture difference25-Jul-2025
  • SQL Server: How to see historical transactions25-Jul-2025
  • SQL Server: How to see current transactions or requests25-Jul-2025
  • T-SQL Vs PL/SQL Syntax25-Jul-2025
  • Check SQL Server edition25-Jul-2025
  • Checking SQL Server Version25-Jul-2025
  • Oracle vs MYSQL Architecture differences (For DBAs)24-Jul-2025

Archives

  • 2025
  • 2024
  • 2023
  • 2010
  • 2009
  • 2008
  • 2007
  • 2006
  • 2005
  • export import with parameter file. Oracle
  • get_aix_vmstat.ksh Oracle
  • Check_recovery.sh program to run sqlplus and return its values remotely. Linux/Unix
  • How to find Unix server conguraiton including Server Model number and underlying disk sub-system ( On Solaris) Linux/Unix
  • find_idle_cpu.sql Oracle
  • 10g RAC: Troubleshooting CRS Root.sh Problems Oracle
  • Identical Dblink Issue… Oracle
  • move_arch_files.ksh Linux/Unix

Copyright © 2026 pvmehta.com.

Powered by PressBook News WordPress theme