Welcome to Oracle Database Administrator Home

24x7 oracle database support and solutions
Oracle DBA Home     Routine Maintenance     PostgreSQL     Unix Commands     CVS     Oracle FAQ     Oracle Concepts     SQLPlus     OEM     ASM     Data Guard     RAC     RMAN     Networking     OAS     Partitioning      
Server Parameter File
Optimizer Statistics
Oracle Expdp
Oracle Database Backup
Oracle Database Tuning
Oracle DBA Scripts
Oracle PLSQL
Oracle Newsletter
Unix Shell Scripts
Perl Scripts
Database Auditing
Oracle Database Patching
Oracle Tools
Changing the sysman passw
Top 20 Monitoring SQL
SOP

Our services

Database Installation and Support

Database migration

Database tuning

Database patching

Database Routine Maintenance

24x7 On-call DBA Support

Schedule Rates


 

What is ORATAB and what is it used for?

 

"oratab" is a file created by Oracle in the /etc or /var/opt/oracle directory when installing database software. It is used to list the databases and software versions installed on a server.

 

This file may contain comments staring with a pound signs (#) in column one, and data lines consisting of entries in the following format:

 

database_sid:oracle_home_dir:Y|N

- database_sid is the system id (SID) of an Oracle instances on the server.

 

- Oracle_home_dir is the ORACLE_HOME directory associated with this instance.

 

- The Y|N flags indicate if the instance should automatically start at boot time (Y=yes, N=no).

 

Besides acting as a registry for what databases and software versions are installed on the server, ORATAB is also used for the following purposes:

 

Oracle's "dbstart" and "dbshut" scripts use this file to figure out which instances are to be start up or shut down (using the third field, Y or N).

 

The "oraenv" utility uses ORATAB to set the correct environment variables.


One can also write Unix shell scripts that cycle through multiple instances using the information in the oratab file.

Books  Music  Movies  Ring Tones  Movie Tickets  Computer and Electronics Cell Phones

  

OracleDBAScripts Blog - Find and Post Scripts for Oracle Database Administrator!


Oracle Database Architecture

 

 

How to check log files location: You can see the log file locations by running the following command.

$sqlplus / as sysdba

SYS@test SQL>show parameter dump_dest

NAME                            TYPE        VALUE
------------------------------------------ ------------------------------
background_dump_dest            string      /u01/app/oracle/admin/test/bdump
core_dump_dest                  string      /u01/app/oracle/admin/test/cdump
user_dump_dest                  string      /u01/app/oracle/admin/test/udump    


Changing Current Schema:

alter session set current_schema=SCHEMA_NAME  /*without quotes*/
Verify: SELECT SYS_CONTEXT('USERENV','CURRENT_SCHEMA') from DUAL; 

Quick Link

Oracle Download 

Oracle Forum 

Oracle Scripts 

Ask Tom  

Metalink 

Oracle Magazine  

Oracle 9i Manual   

Oracle 10g Manual   

Oracle 11g Manual  

OEM 10g 

 

 


 

Basic Tips 1:

When Oracle is trying to open your database, it goes through three distinct stages These stages are:

* Startup (nomount)

* Mount

* Open