11.10.2008

Parameter file, Password file and Alert log

1. Parameter file
Parameter file Contains a list of initialization parameters that control how certain aspects of the database instance behave. Most parameters can be modified without restarting the instance, while some require that it be shut down and restarted to pick up the new values. Also known as the initialization file.

2. Password file
Password file Stores passwords in an encrypted format for certain privileged users who are allowed to start and stop the database. Normally, when users connect to the database, their privileges are verified from within the database itself. Since the database is unavailable when it is not running, a privileged user who is starting the database must be authenticated by some other means. The password file provides this capability by storing the privileged user’s password outside of the database.

3. Alert log:
Alert log Records all internal errors and information about several database operations. The DBA should check the alert log at least once a day. The alert log entry briefly describes an error and provides the name of a trace file, which contains more detailed information regarding the internal errors.

Control files

The control files record crucial information such as datafile locations, synchronization information, and backup and recovery information. Without these files, the database cannot start up. If anything happens to the control files while the database is running, the database will crash.

Datafiles and Redolog files

The datafiles are files that hold information, whereas the redo log files are files that record all changes made to the data. In the event of file corruption or disk failure.
The DBA can restore datafiles from a backup copy, and then apply the changes listed in the redo log to bring the backup datafiles up to date.

Database components

Oracle Database 10g contains two major components:
1. The physical database and
2. The Oracle instance.

The physical database consists of the files that physically reside on the system, such as datafiles, redo log files, and control files.

The Oracle instance is made up of a large memory area and a set of background processes. The instance provides a means for users to connect to the database to retrieve, add, delete, and modify data.

Some Other Components:
a. Oracle Executables and Library Files
Oracle executables and library files are not considered part of the database.
b. Multiple Instances
Each database will usually have only a single instance, but on some platforms, the DBA can configure multiple instances of a single database.