Dba Oracle Architecture

  • November 2019
  • PDF

This document was uploaded by user and they confirmed that they have the permission to share it. If you are author or own the copyright of this book, please report to us by using this DMCA report form. Report DMCA


Overview

Download & View Dba Oracle Architecture as PDF for free.

More details

  • Words: 348
  • Pages: 5
Instance = SGA Memory and Background processes,  A Database = physical files (data, redo, and control Processes Memory Structures

Files

Background Processes

Background Processes SMON

SNPn

LCKn

PMON DBWR

Shared Pool

RECO

Snnn

SGA

Database Buffer Cache

LGWR

PMON (Process Monitor) • • •

Cleans up abnormally terminated connections. Rolls back uncommitted transactions. Releases locks held by a terminated process.

Dnnn

Redo Log  Buffer

Pnnn

CKPT

ARCH

• •

Frees SGA resources allocated to the failed process. Restarts failed shared server and dispatcher processes.

SMON (System Monitor) • • •

Performs automatic instance recovery. Reclaims space used by temporary segments no longer in use. Merges contiguous areas of free space in the datafiles.

CKPT (Checkpoint Process) Updates the database status information after changes are permanently written to the database file from the buffer cache.

An Oracle Database

Datafiles

Control Files

Redo Log Files

Database file -Data files -Redo log files -Control files -Parameter file -Password file -Archived redo log files

Control Files • • •

All necessary database files and log files are identified in the control file. The name of the database is stored in the control file. A control file is required to mount, open, and access the database.

• • •

Synchronization information needed for recovery is stored inside the control file. The recommended configuration is a minimum of two control files on different disks. The parameter CONTROL_FILES identifies the control files.

Sumary Oracle Instance PMON

SMON

DBWR

SNPn SNPn

Shared Pool

LCKn LCKn

Snnn

RECO

SGA

Dnnn Pnnn

Database Buffer Cache

Redo Log Buffer

CKPT ARCH

LGWR

Server  Processes

User Processes Oracle Database

Parameter File

Control Files

Datafiles

Redo Log Files

Accessing and Updating Data Overview

 System Global Area (SGA)

Shared Pool

Database Buffer Cache

Shared SQL Areas

DBWR

Server  Processes User Processes

User Request

Redo Log Buffer

Datafiles

SGA

 PGA

 Stack  Space

 User

 Session  Data

Server  Processes

User Processes

User Request

Query Processing  Parse: checks syntax  Execute:  Fetch: returns data to user Shared Pool

SGA

Database Buffer Cache

Shared SQL Areas

Server   Processes

User Processes

SQL> SELECT first_name FROM s_emp;

Related Documents

Dba Oracle Architecture
November 2019 22
Oracle Dba
August 2019 42
Oracle Dba
November 2019 29
Oracle Architecture
October 2019 22
Oracle Architecture
April 2020 11
Oracle Dba Concise Handbook
December 2019 17