Les 13 Memory
Les 13 Memory
Les 13 Memory
Keep
Database buffer pool
Redo log
Shared pool buffer
buffer
cache Recycle
buffer pool
. .
. .
. .
. .
DB_BLOCK_SIZE
DB_CACHE_SIZE
DBWn
Data files
SGA
DB buffer caches
Recycle pool
DB_RECYCLE_CACHE_SIZE
Keep pool
DB_KEEP_CACHE_SIZE
Default pool
DB_CACHE_SIZE
Contents:
• Library cache: Command text, parsed code, and execution
plan
• Data dictionary cache: Definitions for tables, columns, and
privileges from the data dictionary tables
• Result cache: Results from SQL queries and PL/SQL
functions
• User Global Area (UGA): Shared Data dictionary
SQL area cache
Session information for the
Oracle shared server Result cache
Library UGA
cache
Keep
Database buffer pool
Redo log
Shared pool buffer
buffer
cache Recycle
buffer pool
LGWR
300 MB
Memory Target
250 MB
Memory Target
Oracle recommends the use of AMM unless you have special requirements.
MEMORY_MAX_TARGET
SGA_TARGET PGA_AGGREGATE_TARGET
–This enables ASMM.
–Changing
Child parameters:
affects only automatically • Providing minimum values
sized components. Others
• Automatic change of size only
LOG_BUFFER with autotuned parameters
SHARED_POOL_SIZE RESULT_CACHE_SIZE
DB_CACHE_SIZE
LARGE_POOL_SIZE DB_KEEP_CACHE_SIZE
JAVA_POOL_SIZE DB_RECYCLE_CACHE_SIZE
STREAMS_POOL_SIZE DB_nK_CACHE_SIZE
Buffer cache
Buffer cache
Shared
PGA
server Shared pool
or PGA
Shared server large pool
connections
SGA_TARGET = 8G
DB_CACHE_SIZE = 0
JAVA_POOL_SIZE = 0
LARGE_POOL_SIZE = 0
SHARED_POOL_SIZE = 0
STREAMS_POOL_SIZE = 0