Professional Documents
Culture Documents
Oracle Architectural Components
Oracle Architectural Components
An Oracle server:
• Is a database management Oracle Server
An Oracle Instance:
• Is a means to access an Oracle database
• Always opens one and only one database
• Consists of memory and background process
structures
Instance
Shared Pool SGA
Memory
Library Redo Log structures
Database
Cache Buffer
Buffer Cache
Data Dictionary
Cache Java Pool Large Pool
Background
PMON SMON DBWR LGWR CKPT Others process structures
Database user
An Oracle database:
• Is a collection of data that is treated as a unit
• Consists of three file types
Oracle Database
Redo
Datafiles Control Log
Parameter files files Archived
file Log files
Password
file
Header
Control
files
Datafiles
(includes
Online
Data
Redo Log
Dictionary)
files
• SGA 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
• Used to store:
– Most recently executed SQL statements
– Most recently used data definitions
• It consists of two key performance-related memory
structures:
– Library Cache
– Data Dictionary Cache
Shared Pool
• Sized by the parameter Library
SHARED_POOL_SIZE Cache
Data
ALTER SYSTEM SET Dictionary
SHARED_POOL_SIZE = 64M; Cache
Database Buffer
Cache
Redo Log
Buffer
Server
process
User
process
Connection
established
Database user
Database user
Redo
Datafiles Control Log
files files
Database
Database
Redo ARCn
Datafiles Control Log Archived
files files Redo Log
files
Tablespace
Datafile
Segment Segment
Extent Blocks