Module 1
Module 1
Architecture
When an instance is started, Oracle Database allocates a memory area
and starts background processes. The memory area stores information
such as the following: Program code, Information about each
connected session, even if it is not currently active; Information
needed during program execution, for example, the current state of
a query from which rows are being fetched; Information such
as lock data that is shared and communicated among processes; and
Cached data, such as data blocks and redo records, that also exists on
disk. All of these scenarios are parts of Oracle Architecture.
2
MODULE OF INSTRUCTION
session lasts from the time a user connects until the user
disconnects or exits the database application.
- Multiple sessions can be created and exist concurrently for
a single Oracle database user using the same username. For
example, a user with the username/password of
ORACLE/ORACLE can connect to the same Oracle
Database instance several times.
1. User process
2. Server process:
4
MODULE OF INSTRUCTION
3. Background processes:
- To maximize performance and accommodate many users, a
multiprocess Oracle Database system uses some additional
Oracle Database processes called background processes.
Are started when an Oracle instance is started.
• Daemon / Application processes
• Networking listeners
• Grid infrastructure daemons
6
MODULE OF INSTRUCTION
Lesson Summary:
Glossary
Archiver Processes (ARCn) - Copy redo log files to a designated storage device
after a log switch has occurred
Background processes – are started when an oracle instance is started.
Checkpoint Process (CKPT) - Records checkpoint information in Control file on
each data file header.
Connection – also known as ommunication between a user process and an
instance.
Database Writer Process (DBWn) - Writes modified (dirty) buffers in the
database buffer cache asynchronously while performing otheprocessing to
advance the checkpoint.
Database server – is the key to solving the problems of information
management.
Data blocks are mapped to disk blocks.
Data Buffer Cache – part of the SGA that holds copies of data blocks that are
read from data file.
Extents are collections of data blocks.
Java Pool – provide memory for Oracle Streams processes
Large Pool – provide large memoryallocations for sessions memory for the
shared server and the Oracle XA I/O server processes.
Log Writer Process (LGWR) - Writes the redo log buffer to a redo log file on
disk
Oracle database - is a collection of data treated as a unit. The purpose of
a database is to store and retrieve related information.
Process Monitor Process (PMON) - Performs process recovery when a user
process fails
Recoverer Process - Used with the distributed database configuration.
Redo Log Buffer – contains redo entries that have information to redo changes
made by operations such as DML and DDL.
RDBMS - or also known as Relational Database Management System provides
an open, comprehensive, integrated approach to information management.
8
MODULE OF INSTRUCTION
References
Textbook:
Oracle Database 11g 2nd Edition K Gopalakrishnan (
2012)
References:
Carlos, Peter (2009). Database Systems
10