Oracle Instance Architecture
Oracle Instance Architecture
Oracle Instance Architecture
CIS417
Oracle
Architecture
Overview
Oracle Architecture
The Oracle Server
Instance
SGA
Shared pool
Library
Cache
Database Redo
Buffer Log Data
Cache Buffer Dictionary
Cache
Snnn
Oracle Architecture
Instance
An Oracle instance:
– Is a means to access an Oracle database
– Always opens one and only one database
Consists of:
– Internal memory structures
– Processes
Oracle Architecture
Interaction with the Database ( Dedicated Server )
SGA
Shared SQL Redo log Buffer
Pool Database Buffer Cache
Request Response
User
Process
SGA
Shared SQL
Redo log Buffer
Pool Database Buffer Cache
Request Response
Dedicated
Dedicated
Server
Shared
Server DBWR LGWR ARCn
Servers
Dispatcher
User
User
Process
User
Process
User
Process
User
Process
Process Redo Log Files
Database Files
Oracle Architecture
Internal Memory Structures SGA
Rollback SGA
Segment
Redo
Database Log
Shared Pool Buffer
Buffer
Cache
Dedicated
DBWR LGWR
Server
UPDATE table
SET user = ‘SHIPERT’ 1
WHERE id = 12345
User
Process
Rollback SGA
Segment
Redo
Database Log
Shared Pool Buffer
Buffer
Cache
Dedicated 3
DBWR LGWR
Server
User
Process
Rollback SGA
Segment
Redo
Database Log
Shared Pool Buffer
Buffer
Cache
Dedicated
DBWR LGWR
Server
User
Process
Rollback SGA
Segment
Redo
Database Log
Shared Pool Buffer
Buffer
Cache
5
Dedicated
DBWR LGWR
Server
User
Process
Rollback SGA
Segment
Redo
Database Log
Shared Pool Buffer
6 Buffer
Cache
Dedicated
DBWR LGWR
Server
User
Process
Rollback SGA 7
Segment
Redo
Database Log
Shared Pool Buffer
Buffer
Cache
Dedicated
DBWR LGWR
Server
User
Process
Rollback SGA
Segment
Redo
Database Log
Shared Pool Buffer
Buffer
Cache
Dedicated
DBWR LGWR
Server
1 ROW UPDATED 8
User
Process
Rollback SGA
Segment
Redo
Database Log
Shared Pool Buffer
Buffer
Cache
Dedicated
DBWR LGWR
Server
COMMIT 9 10
User
Process
Rollback SGA
Segment
Redo
Database Log
Shared Pool Buffer
Buffer
Cache
Dedicated
DBWR LGWR
Server
COMMIT 11
SUCCESSFUL
User
Process
Rollback SGA
Segment
Redo
Database Log
Shared Pool Buffer
Buffer
Cache
DBWR LGWR
12