DB Architect Query Flow
DB Architect Query Flow
USER PROCESS
5.PARSING 7 Optimizer
User application triggred a SQL
Syntax check It will create multiple execution plan
update statement
and select the best plan for execution
Connectivity with database with the Symantec check
(maximizing the speed and
help of TNS.ora file (which contain Privileges check efficiency )
the information of DB)
DB buffer Cache
DB PROCESS Started 5 Library cache CKPT
Server process pick the copy of data
Server process Listener try to syntax check It will collect current SCN number fro
block and place in the db buffer
connect user application to dB The library cache is a shared pool cache and mark as a lock redo log file and update in control
instance via Dedicated or shared memory structure that stores file and wake up DBWn to update
server process And if there is any update is marked the dirty block to data file header
executable SQL and PL/SQL code.
the block is called as dirty buffer
LGWR
DB instance or System Identifier 4.SHARED POOL write all redo log buffer statements
(SID)= Memory + BG processa) Redu log cache to redo log file when
a) Library cache
Memory alocation Process (SGA and All the information for DDL and DML 1/3 is full
b) Data Dictionary cache
PGA) are stored in Redo buffer
c)Optimizer Commit
Background processes (SMON,
PMON, CKPT, LGWR and DBWn 1 MB is full and log switch