Pull out the diagram from here
- User related process
- Instance(Logical memory structure) and
- Physical file structure
- Shared Pool: Caches the recently used sql statements.
- Database Buffer cache: Cashes the data that has been most recently used by the user.
- Redo log buffer: Stores transaction information.
Note: Oracle uses LRU (Least Recently Used) algorithm.
It will caches the most recently used sql statements in shared pool and data in buffer cache. If for example we as a user1 are entering a sql statement (select * from emp). This statement will be cached by the shared pool and the data which is extracted will be cached in Database buffer cache. Now if any other user wants the same data, obviously he is going to use the same sql statement, so the data will be presented to the user directly from the database buffer thus improving the performance.
SGA size can be allocated manually or automatically. This is determined by the settings in a configuration file called parameter initialization file. We will discuss about that in next session.

No comments yet
Comments feed for this article