Presentation Lesson1
Presentation Lesson1
Oracle Database
The Oracle (RDBMS) or also known as Relational Database
Management System provides an open, comprehensive, integrated
approachto information management.
An Oracle database is a collection of data treated as a unit. The
purpose of a databaseis to store and retrieve related information.
A database server is the key to solving the problems of information
management.
Database Instance
Process of Connecting
to the Database
Instance:
1. Connection:
Communication
between a user
process and an
instance.
2. Session: Specific
connection of a user to
an instance through a
user process.
Oracle Memory Structure:
PGA/SGA
Oracle Memory Structure:
System Global Area (SGA)
Is composed of the following:
1. Shared Pool
Contains:
Library Cache
Shared SQL Area
Data Dictionary Cache
Control Structure
2. Data Buffer Cache
Is part of the SGA that
holds copies of data
blocks that are read from
data files.
Is shared by all concurrent users
Oracle Memory Structure:
System Global Area (SGA)
3. Redo Log Buffer
Is a circular buffer in the
SGA
Holds information about changes made to
the database Contains redo entries that
have the information to redo changes
made by operations such as DML and
DDL.
4. Large Pool
Provides large memory allocations for:
Session memory for the shared server
and the Oracle XA I/O server processes
Oracle Database backup and restore
operations
Oracle Memory Structure:
System Global Area (SGA)
5. Java Pool
Java pool memory is used to store all session-specific Java
code and data in the JVM.
Streams pool memory is used exclusively by Oracle
Store buffered queue messages
Provide memory
for Oracle
Streams
processes
Oracle Memory Structure:
Program Global Area (PGA)
Two Types of Process Architecture
1. User process
Is the application or tool that connects to
the Oracle Database Processes
2. Server process:
Connects to the Oracle instance and is
started when a user establishes a session
3. Background processes:
Are started when an Oracle instance is
started.
• Daemon / Application processes
• Networking listeners
• Grid infrastructure daemons
Process Structure
Is composed of:
1. Database Writer Process
(DBWn)
Writes modified (dirty) buffers in the database
buffer cache asynchronously while performing
other processing to advance the checkpoint.