Oracle database architecture 11g

In this post, we are going to have a brief introduction to Oracle database 11g architecture. We are going to discuss more on the architecture when we discuss complete Oracle 11g  in future posts

Introduction to Oracle 11g Server Architecture

An Oracle server is a combination of Oracle Instance and an Oracle database.

oracle database 11g server architecture
Oracle 11g server architecture

Oracle instance

An instance is nothing but the combination of System Global Area(SGA) and Background processes.

Subcomponents of SGA

SGA is further divided into various subcomponents.

  1. Database Buffer cache
  2. Redo Buffer Cache
  3. Shared pool
    • Library cache
    • Data Dictionary cache
  4. Java pool
  5. Large poo
  6. String pool
  7. Result cache

we will learn about these components in detail when we discuss System Global Area.

Memory Structures

The two memory structures of Oracle are

  • SGA – System Global Area
  • PGA – Program Global Area

Background Processes

There are two types of background processes.

  1. Mandatory background processes.
  2. Optional background processes.

Mandatory Background Processes includes

  1. Database writer DBWR
  2. Log writer LGWR
  3. System monitor SMON
  4. Process monitor PMON
  5. Checkpoint CKPT
  6. Recover RECO

Some of the optional background processes include

  1. Archiver(ARCH)
  2. Change track writer(CTWR)
  3. Recovery writer(RVWR)
  4. Flashback data archive(FBDA) and many more.

For the instance to be up and running all the background processes should be up and running, if any of the mandatory background processes goes down, instance gets terminated.

Learn more about Background processes here.

Oracle database

Oracle database is nothing but the physical files, the following are the three important types of physical files.

  1. Control files
  2. Redo log files
  3. Data files
  • The minimum and mandatory data files that are required to create a database are system.dbf and sysaux.dbf
  • At least one control file is required for the functionality of the database.
  • At least two redo logs are required for the functionality of the database.
  • If we create a database using DBCA(a tool to create a database), Oracle creates online redo log file of size 50MB.

Establishing a connection

The act of connecting creates a communication pathway between a user process and an Oracle Server. The User Process communicates with the Oracle Server through a Server Process. The User Process executes on the client computer, the Server Process executes on the server computer.

Sessions: When a user connects to an Oracle server, this is termed a session.

By default, Listener process listens to the port 1521. If the listener process is down, we cannot establish a connection to the instance.

In the next post, we will discuss System Global Area in detail.

 

Words from dbapath

Thank you for giving your valuable time to read the above information. I hope the content served your purpose in reaching out the blog.
Suggestions for improvement of the blog are highly appreciable. Please contact us for any information/suggestion/feedback.

If you want to be updated with all our articles

please follow us on Facebook | Twitter
Please subscribe to our newsletter.