Basic Diagram
Steps:
High Level: Parse (Check syntax, semantics and privileges )
Execution Plan
Fetch
- Listener established a connection with App Server
- A server process get created by PGA for App server
- Server process act as a proxy between App and DB , it create a HASH Value for corresponding SQL and sent the details to SGA
- if same sql is ran earlier there would be a sql area exist if not then a sql area will be get created
- SQL engine inside SGA will parse the sql based on syntax, semantics and privileges
- Optimizer will create the execution plan
- SP process will read the data files by making I/O and bring it to buffer cache
- if data is already present in buffer cache , no I/O occur
- SP will deliver the data to App server
Useful link
https://docs.oracle.com/database/121/TGDBA/tune_pga.htm#TGDBA363
No comments:
Post a Comment