An Oracle server:  Is a database management system that provides an open, comprehensive, integrated approach to information management.  Consists.

Slides:



Advertisements
Similar presentations
The Architecture of Oracle
Advertisements

Introduction to Oracle
Acknowledgments Byron Bush, Scott S. Hilpert and Lee, JeongKyu
Overview of Database Administrator (DBA) Tools
Oracle9i Database Administrator: Implementation and Administration 1 Chapter 2 Overview of Database Administrator (DBA) Tools.
Oracle Architecture. Instances and Databases (1/2)
Page Footer Keed Education Oracle Database Administration Basic Copyright 2009 Keed Education BV Version Concept.
INTRODUCTION TO ORACLE DATABASE ADMINISTRATION Lynnwood Brown System Managers LLC Introduction – Lecture 1 Copyright System Managers LLC 2007 all rights.
15 Copyright © 2004, Oracle. All rights reserved. Monitoring and Managing Memory.
1 - Oracle Server Architecture Overview
Harvard University Oracle Database Administration Session 2 System Level.
Oracle Architectural Components
A Guide to Oracle9i1 Introduction to Oracle9i Database Administration Chapter 11.
Backup and Recovery Part 1.
Introduction History The principles of the relational model were first outlined by Dr. E.F Codd in a June 1970 paper is called “A Relational Model of Data.
Oracle Architecture. Database instance When a database is started the current state of the database is given by the data files, a set of background (BG)
IS 4510 – Database Administration Module – 1 Database Architecture 9/14/20141Compiled by: Zafar Iqbal Khan.
1 Copyright © 2005, Oracle. All rights reserved. Introduction.
1 Copyright © 2009, Oracle. All rights reserved. Exploring the Oracle Database Architecture.
Oracle Overview and Architecture
Oracle Database Workshop 1 Presented to IBRI CAS 27-Nov-2011 By Abdullah Alkalbani.
Oracle Documentation Oracle DBA Course (9i, 10g, 11g) Lecture 1: Oracle Architectural Components.
OTHER DATABASE MODELS OTHER DATABASE MODELS The relational database is not the only database model in use today. Two other common models are distributed.
Chapter Oracle Server An Oracle Server consists of an Oracle database (stored data, control and log files.) The Server will support SQL to define.
Oracle on Windows Server Introduction to Oracle10g on Microsoft Windows Server.
Basic Oracle Architecture
By Lecturer / Aisha Dawood 1.  You can control the number of dispatcher processes in the instance. Unlike the number of shared servers, the number of.
CSE 781 – DATABASE MANAGEMENT SYSTEMS Introduction To Oracle 10g Rajika Tandon.
Database Systems Slide 1 Database Systems Lecture 5 Overview of Oracle Database Architecture - Concept Manual : Chapters 1,8 Lecturer : Dr Bela Stantic.
The protection of the DB against intentional or unintentional threats using computer-based or non- computer-based controls. Database Security – Part 2.
7202ICT – Database Administration
1 Oracle Architectural Components. 1-2 Objectives Listing the structures involved in connecting a user to an Oracle server Listing the stages in processing.
Copyright  Oracle Corporation, All rights reserved. 1 Oracle Architectural Components.
Copyright © Oracle Corporation, All rights reserved. 1 Oracle Architectural Components.
Backup and Recovery Overview Supinfo Oracle Lab. 6.
Database structure and space Management. Database Structure An ORACLE database has both a physical and logical structure. By separating physical and logical.
Introduction to Oracle. Oracle History 1979 Oracle Release client/server relational database 1989 Oracle Oracle 8 (object relational) 1999.
Outline Introduction to Oracle Memory Structures SGA, PGA, SCA The Specifics of the System Global Area (SGA) Structures Overview of Program Global Areas.
Process Architecture Process Architecture - A portion of a program that can run independently of and concurrently with other portions of the program. Some.
14 Copyright © 2005, Oracle. All rights reserved. Backup and Recovery Concepts.
1 Copyright © 2005, Oracle. All rights reserved. Introduction.
11 Copyright © 2006, Oracle. All rights reserved. Checkpoint and Redo Tuning.
Instance and Media Recovery Structures Supinfo Oracle Lab. 7.
Chapter 1Oracle9i DBA II: Backup/Recovery and Network Administration 1 Chapter 1 Backup and Recovery Overview MSCD642 Backup and Recovery.
12 Copyright © Oracle Corporation, All rights reserved. User-Managed Complete Recovery.
18 Copyright © 2004, Oracle. All rights reserved. Backup and Recovery Concepts.
Oracle Architecture - Structure. Oracle Architecture - Structure The Oracle Server architecture 1. Structures are well-defined objects that store the.
3 Copyright © 2004, Oracle. All rights reserved. Creating an Oracle Database.
18 Copyright © 2004, Oracle. All rights reserved. Recovery Concepts.
7 Copyright © Oracle Corporation, All rights reserved. Instance and Media Recovery Structures.
14 Copyright © 2005, Oracle. All rights reserved. Backup and Recovery Concepts.
6 Copyright © Oracle Corporation, All rights reserved. Backup and Recovery Overview.
3 Copyright © 2004, Oracle. All rights reserved. Database Architecture Comparison.
1 Copyright © 2006, Oracle. All rights reserved. Introduction.
What is Oracle ? Oracle is a relational database management system. It is a management system which uses the relational data model. In the relational data.
14 Copyright © 2007, Oracle. All rights reserved. Backup and Recovery Concepts.
4 Copyright © 2004, Oracle. All rights reserved. Managing the Oracle Instance.
5 Copyright © 2005, Oracle. All rights reserved. Managing the Oracle Instance.
Oracle Database Architectural Components
Chapter 21 SGA Architecture and Wait Event Summarized & Presented by Yeon JongHeum IDS Lab., Seoul National University.
Instance and Media Recovery Structures
Oracle Architectural Components
Introduction To Oracle 10g
Oracle Memory Internals
Oracle Architectural Components
Index Index.
PL/SQL Dynamic SQL and Oracle Architecture.
Database administration
Presentation transcript:

An Oracle server:  Is a database management system that provides an open, comprehensive, integrated approach to information management.  Consists of an Oracle Instance and an Oracle database.

An Oracle Instance:  Is a means to access an Oracle database  Always opens one and only one database.  Consists of memory and background process structures.

Connecting to an Oracle Instance:  Establishing a user connection  Creating a session

An Oracle database:  Is a collection of data that is treated as a unit.  Consists of three file types

The physical structure includes three types of files:  Control files  Datafiles  Redo log files

Oracle’s memory structure consists of two memory areas known as:  System Global Area (SGA): Allocated at instance startup, and is a fundamental component of an Oracle Instance.  Program Global Area (PGA): Allocated when the server process is started.

The SGA consists of several memory structures: – Shared Pool – Database Buffer Cache – Redo Log Buffer – Other structures There are additional memory structures that can be configured within the SGA: – Large Pool

Used to store: – Most recently executed SQL statements – Most recently used data definitions  It consists of two key performance-related memory structures: – Library Cache – Data Dictionary Cache  Sized by the parameter SHARED_POOL_SIZE

 Stores information about the most recently used SQL and PL/SQL statements  Enables the sharing of commonly used statements.  Is managed by a least recently used (LRU) algorithm.  Consists of two structures: – Shared SQL area – Shared PL/SQL area  Size determined by the Shared Pool sizing

 A collection of the most recently used definitions in the database Includes information about database files, tables, indexes, columns, users, privileges, and other database objects.  The server process looks at the data dictionary for information to resolve object names and validate access.  Caching data dictionary information into memory improves response time on queries and DML.  Size determined by the Shared Pool sizing

 Stores copies of data blocks that have been retrieved from the datafiles.  Enables great performance gains when you obtain and update data.  Managed through an LRU algorithm  DB_BLOCK_SIZE determines primary block size

 Records all changes made to the database data blocks  Primary purpose is recovery  Changes recorded within are called redo entries.  Redo entries contain information to reconstruct or redo changes.  Size defined by LOG_BUFFER

 An optional area of memory in the SGA  Relieves the burden placed on the Shared Pool  Used for: – Session memory for the Shared Server – I/O server processes – Backup and restore operations or RMAN  Does not use an LRU list  Sized by LARGE_POOL_SIZE

 Memory reserved for each user process connecting to an Oracle database.  Allocated when a process is created.  Deallocated when the process is terminated.  Used by only one process

 Oracle takes advantage of various types of processes:  User process: Started at the time a database user requests connection to the Oracle server  Server process: Connects to the Oracle Instance and is started when a user establishes a session  Background processes: Started when an Oracle Instance is started

 A program that requests interaction with the Oracle server  Must first establish a connection  Does not interact directly with the Oracle server.

 A program that directly interacts with the Oracle server  Fulfills calls generated and returns results  Can be Dedicated or Shared Server

 Maintains and enforces relationships between physical and memory structures  Mandatory background processes: – DBWn PMON CKPT – LGWR SMON  Optional background processes: – ARCn LMDn RECO – CJQ0 LMON Snnn – Dnnn Pnnn – LCKn QMNn

DBWn writes when:  Checkpoint occurs There are no free buffers Tablespace READ ONLY Table DROP or TRUNCATE Tablespace BEGIN BACKUP

LGWR writes:  At commit  When one-third full  When there is 1 MB of redo  Every three seconds  Before DBWn writes

Responsibilities:  Instance recovery – Rolls forward changes in redo logs – Opens database for user access – Rolls back uncommitted transactions  Coalesces free space  Deallocates temporary segments

Cleans up after failed processes by:  Rolling back the transaction  Releasing locks  Releasing other resources.

 Responsible for:  Signaling DBWn at checkpoints  Updating datafile headers with checkpoint information  Updating control files with checkpoint information

 Optional background process  Automatically archives online redo logs when ARCHIVELOG mode is set.  Preserves the record of all changes made to the database.

 Dictates how the physical space of a database is used.  Hierarchy consisting of tablespaces, segments, extents, and blocks