Professional Documents
Culture Documents
Objectives
After completing this lesson, you should be able to: List the major architectural components of Oracle Database Explain the memory structures Describe the background processes Correlate the logical and physical storage structures
1-2
Oracle Database
The Oracle relational database management system (RDBMS) provides an open, comprehensive, integrated approach to information management
1-3
Connecting to a Server
Client
Middle tier
Server
1-4
1-5
SGA
CKPT
1-6
User
SQL> Select
User process
Server process
Session
Connection
Session
1-7
User
1-8
1-9
User process
Server process
Processes
DBWn
CKPT
LGWR
SMON
PMON
Database
Storage structures
Data files
Control files
1 - 10
Background process
PGA
Shared SQL area Library cache Redo log buffer Database buffer cache Java pool Streams pool
SGA
Large pool
1 - 11
1 - 12
DBWn
CKPT
LGWR SMON
PMON
1 - 13
DBWn
CKPT
LGWR
SMON
PMON ARCn
1 - 14
Shared Pool
Is a portion of the SGA Contains:
Library cache
Library cache
Other
DBWn
CKPT
LGWR
SMON
PMON ARCn
1 - 15
1 - 16
Server process
Shared pool
1 - 17
1 - 18
Large Pool
Provides large memory allocations for: Session memory for the shared server and the Oracle XA interface I/O server processes Oracle Database backup and restore operations
Shared pool
Java pool
Streams pool
Large pool
Large pool
1 - 19
Java pool
Streams pool
1 - 20
Process Architecture
User process
Database processes
Server process: Connects to the Oracle instance and is started when a user establishes a session Background processes: Are started when an Oracle instance is started Instance
SGA Shared pool Library cache Data dictionary cache
PGA
User process Server process DBWn
Background processes
CKPT LGWR SMON PMON ARCn RECO Others
1 - 21
Process Structures
Server
Server
Server
Server
Server
Server n processes
SGA Database buffer cache Shared pool Redo log buffer Library cache Data dictionary cache
SGA
CKPT
RECO
PMON
SMON
DBWn
LGWR
ARCn
Others
1 - 23
1 - 24
1 - 25
1 - 26
1 - 27
CKPT
Checkpoint process
Control file
Data files
1 - 28
SMON
System Monitor process
Instance
Temporary segment
1 - 29
Monitors sessions for idle session timeout Dynamically registers database services with listeners
PMON
Process Monitor process
User
Failed user process Database buffer cache
1 - 30
Recoverer Process
Used with the distributed database configuration Automatically connects to other databases involved in in-doubt distributed transactions Automatically resolves all in-doubt transactions Removes any rows that correspond to in-doubt transactions
RECO
1 - 31
ARCn
Archiver process
Archive destination
1 - 32
Other Processes
MMON: Performs manageability-related background tasks MMNL: Performs frequent and lightweight manageability-related tasks MMAN: Performs automatic memory management tasks CJQ0: Runs user jobs used in batch processing QMNC: Monitors the Streams Advanced Queuing message queues
1 - 33
1 - 34
DBWn
Data files
1 - 35
Control files
Data files
Parameter file
Backup files
Password file
1 - 36
1 - 37
Schema
Tablespace
Data file
Segment
Extent
OS block
1 - 38
1 - 39
Data file 1
Data file 2
USERS tablespace
1 - 40
1 - 41
Segment
Extents
Data blocks
Disk blocks
1 - 42
Process structures:
User process and server process Background processes: SMON, PMON, DBWn, CKPT, LGWR, ARCn, and so on
Storage structures:
Logical: Database, schema, tablespace, segment, extent, and Oracle block Physical: Data files, control files, and redo log files
1 - 43
Summary
In this lesson, you should have learned how to: List the major architectural components of Oracle Database Explain the memory structures Describe the background processes Correlate the logical and physical storage structures
1 - 44
Practice 1: Overview
This is a paper practice with questions about: Database architecture Memory Processes File structures
1 - 45
1 - 46