Professional Documents
Culture Documents
Oracle9i
Server Architecture
By
Mr. Ambasa
Oracle Certified Professional
Redefining Software Services
Objectives
› Oracle Overview
› Memory Structure
› Processes
ORACLE
ORDBMS
RDBMS
DBMS
DATABASE
Oracle Database
Physical Structure
Logical Structure
Data Online
files Control
files Redo Log
(*.dbf) files
(*.ctl)
(*.log)
Database Blocks
File
Database
Stack Space
Instance
}
User SGA
Process Shared Pool Redo
Database
Log
Sessio Buffer Cache Buffer
Server n Library Cache
Server
Server
proces
proces
proces
ss Standard Block Large Pool
sPGA Data
PGA
PGA Dictionary
Cache Non Standard Block Java Pool
PM SM DB LG CK Ot
ON ON WR WR PT her
s
Parameter file
› Is dynamic
› Sized by the SGA_MAX_SIZE parameter
› Allocated and tracked in granules by SGA
components
› Contiguous virtual memory allocation
› Granule size based on total estimated
SGA_MAX_SIZE
Data Dictionary
Cache
ALTER SYSTEM SET (Dicitionary data)
SHARED_POOL_SIZE = 64M;
› A collection of the most recently used
most recently used definitions in
definitions
the database
› Includes information about database files, tables,
indexes, columns, users, privileges, and other
indexes, columns, users, privileges,
database objects
› During the parse phase, the server process looks at
parse phase,
the data dictionary for information to resolve object
names and validate access
› Caching data dictionary information into memory
Caching data dictionary information
improves response time on queries and DML
› Size determined by the Shared Pool sizing
Background
process structures
› Optional Component
› Oracle uses in-built Java components
› Oracle 9i Supports Java Stored Procedures
› Default size 24M
› Reduce load on Shared Pool
› Sized by: Java_pool_size
› Statically Sized memory
Java Pool
Database
DB LG CK Responsible for:
Wn WR PT
› Signaling DBWn at
Redo checkpoints
Data Control Log
files files files › Updating datafile headers
with checkpoint information
Database › Updating control files with
checkpoint information
InHouse Training Redefining Software Services
Redefining Software Services
System Monitor (SMON)
Instance Responsibilities:
› Instance recovery
SGA
› Rolls forward
changes in online
redo log files
› Opens database for
user access
SM
ON › Rolls back
uncommitted
transactions
Redo › Coalesces free space
Data Control Log
files files files › Deallocates temporary
segments
Database
PGA area