Documenti di Didattica
Documenti di Professioni
Documenti di Cultura
An Oracle server:
Oracle Server
Is a database management
system that provides an open,
comprehensive, integrated
approach to information
management
Consists of an Oracle
Instance and an Oracle
database
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
Parameter Datafiles Control Log Archived
files files
file Log files
Password
file
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
Cache
SHARED_POOL_SIZE 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
Instance Responsibilities:
SGA Instance recovery
Rolls forward
changes in redo logs
Opens database for
SMON user access
Rolls back
Redo
uncommitted
Datafiles Control Log transactions
files files
Coalesces free space
Database Deallocates temporary
segments
Database
Redo ARCn
Datafiles Control Log Archived
files files Redo Log
files
Tablespace
Datafile
Segment Segment
Extent Blocks