Oracle Database Architecture and Memory Management
Test your knowledge of Oracle database internals including SGA and PGA memory structures, background processes (DBWR, LGWR, SMON, PMON), buffer cache management, and instance recovery mechanisms.
Questions
Oracle Instance comprises of
- Physical files
- Memory buffers
- Background processes
- Database
SGA size is defined by parameter
- SGA_SIZE
- SGA_TARGET
- SGA_TARGET_SIZE
- SGA_INIT_SIZE
PGA memory is allocated for each server process.
- True
- False
We can access data of database before session has been established.
- True
- False
Application reterieves data from database buffer cache is referred as
- Cache hit
- Cache miss
- Cache init
- Cache success
Various buffers are internally managed by database buffer cache
- free buffers
- dirty buffers
- pinned buffers
- access buffers
How we can configure PGA area in Oracle?
- Specifying size of memory for each server process
- Specifying size of total memory for all server process
- No way to define
- Specifying size of seperate memory and total memory for all server processes
Redo log buffer data is used for recovery.
- True
- False
Which process writes redo log buffer to redo log files?
- DBWR
- LGWR
- CKPT
- ARCH
Shared Pool comprises of following components.
- Library Cache
- Data Buffer Cache
- Data Dictonary Cache
- SQL buffer cache
Transactions throughput is slower when data found from buffer cache.
- True
- False
Following is the optional area of SGA.
- Shared Pool
- Java Pool
- Large Pool
- Redo log buffer
Instance recovery is perfomed by which process?
- SMON
- PMON
- IMON
- INSTMON
Cursor bind information is stored in which area of PGA.
- Cursor and SQL area
- Private SQL area
- Data Dictonary Cache
- Data Buffer Cache
Background process responsible to write contents of database buffer to data files.
- LGWR
- DBWR
- PMON
- CKPT
When SQL query is parsed then it will look first definitions of table exist in following area.
- Shared Pool
- Data Dictionary Cache
- Data Buffer Cache
- Library Cache