Skip to main content

Database system files

 Data files

Control files: control files are used to save the database physical structure this includes the database file names and their locations the backup files and the database basic information like creation time and last check

 Oracle database instance needs only a single control file to operate. However in most production data bases more than one control files are configured no Oracle database can operate without control files 

 Control files must be there otherwise the instance goes down.

Parameter file: the parameter file is a small file to save the parameter value pairs. The parameter is saved in the file are called installization parameters.

 Installization parameters are configuration parameters that controls the instance behaviour.

Online redolog files: online redo log files are two or more pre allocated files that store changes to the database as they occur.

 The files are used for instance recovery, generating archive redolog files, replication and data guard.

System data files: system data files are data files which contain data used by Oracle internal operations. 

 For example Windows folder in Windows platform are system data files.

 Windows folder contains a set of files that are used solely by Windows operating system. The user should not save their own files in the Windows folder. 

 Going with this analogue as Windows cannot operate if it's Windows folder is gone Oracle database cannot operate if it system data files are deleted. They are mandatory for normal database operation.

Automatic Diagnostic Repository (ADR): ADR is a simple directory structure where the database saves data such as trace files alert log files, DB log files and health monitoring reports.






Comments

Popular posts from this blog

Oracle database single instance architecture

Oracle database single instance architecture  Maine database runs on a single machine we referred to this architecture as the Oracle database single instance architecture this setup involves having one Oracle database instance running on the mission serving its clients   The term Oracle database instance simply refers to the combination of memory structure and database process that collectively represent the database service.  However this Architectire has a significant availability risk.  If anything goes wrong with the mission that database becomes UN available.

Table spaces

 Tablespace consists of one or more data files.  A data file belongs to only one tablespace. Segments, Extents, and Blocks • Segments exist within a tablespace • Segments are made up of a collection of extents • An extents is a collection of logically contiguous data blocks - Cannot span multiple data files • Data blocks are mapped to disk blocks SYSTEM and SYSAUX Tablespaces • The SYSTEM and SYSAUX tablespaces are mandatory tablespaces. • They are created at the time of database creation. • They must be online. • The SYSTEM tablespace is used for core functionality (for example, data dictionary tables). • The auxiliary SYSAUX tablespace is used for additional database components.