Copyright  Oracle Corporation, 1998. All rights reserved. 1 Oracle Architectural Components.

Slides:



Advertisements
Similar presentations
The Architecture of Oracle
Advertisements

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.
10 Copyright © 2009, Oracle. All rights reserved. Managing Undo Data.
A Guide to Oracle9i1 Introduction to Oracle9i Database Administration Chapter 11.
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.
M ODULE 1 DBMS S TRATEGY AND ORACLE A RCHITECTURE Database Administration Techniques and Practices 1 ITEC 450 Fall 2012.
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.
5 Copyright © 2008, Oracle. All rights reserved. Configuring the Oracle Network Environment.
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.
Basic Oracle Architecture
DBMS Transactions and Rollback Recovery Helia / Martti Laiho.
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.
March 19981© Dennis Adams Associates Tuning Oracle: Key Considerations Dennis Adams 25 March 1998.
Database Systems Slide 1 Database Systems Lecture 5 Overview of Oracle Database Architecture - Concept Manual : Chapters 1,8 Lecturer : Dr Bela Stantic.
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.
Oracle Database 11g’s Result Cache Rob van Wijk 28 October 2010.
Oracle Tuning Ashok Kapur Hawkeye Technology, Inc.
Copyright © Oracle Corporation, All rights reserved. 1 Oracle Architectural Components.
An Oracle server:  Is a database management system that provides an open, comprehensive, integrated approach to information management.  Consists.
Anton TopurovIT-DB 23 April 2013 Introduction to Oracle2.
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.
7 Copyright © 2005, Oracle. All rights reserved. Managing Undo Data.
D Copyright © Oracle Corporation, All rights reserved. Loading Data into a Database.
Process Architecture Process Architecture - A portion of a program that can run independently of and concurrently with other portions of the program. Some.
1 Copyright © 2005, Oracle. All rights reserved. Introduction.
INTRODUCTION TO ORACLE DATABASE ADMINISTRATION Lynnwood Brown President System Managers LLC Introduction – Lecture 1 Copyright System Managers LLC 2003.
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.
Preface 1Performance Tuning Methodology: A Review Course Structure 1-2 Lesson Objective 1-3 Concepts 1-4 Determining the Worst Bottleneck 1-5 Understanding.
3 Copyright © 2004, Oracle. All rights reserved. Creating an Oracle Database.
7 Copyright © Oracle Corporation, All rights reserved. Instance and Media Recovery Structures.
5 Copyright © Oracle Corporation, All rights reserved. Usage and Configuration of the Oracle Shared Server.
1-1 Copyright © Oracle Corporation, All rights reserved. Redo Logs and Recovery John Hibbard Senior Principal Instructor Minneapolis MN
3 Copyright © 2004, Oracle. All rights reserved. Database Architecture Comparison.
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.
6 Copyright © 2005, Oracle. All rights reserved. Managing Database Storage Structures.
5 Copyright © 2005, Oracle. All rights reserved. Managing the Oracle Instance.
Oracle Database Architectural Components
1 Copyright © 2005, Oracle. All rights reserved. Oracle Database Administration: Overview.
10 Copyright © 2007, Oracle. All rights reserved. Managing Undo Data.
Chapter 21 SGA Architecture and Wait Event Summarized & Presented by Yeon JongHeum IDS Lab., Seoul National University.
Initialization Parameters
Oracle8/8i Database Administration
Oracle Architectural Components
Oracle Memory Internals
Oracle Architectural Components
CS347 Spring 2017 – Quiz 5 Preparation - Solutions UTEID _________
PL/SQL Dynamic SQL and Oracle Architecture.
Database administration
Presentation transcript:

Copyright  Oracle Corporation, All rights reserved. 1 Oracle Architectural Components

1-2 Copyright  Oracle Corporation, All rights reserved. Objectives Listing the structures involved in connecting a user to an Oracle server Listing the stages in processing a query Listing the stages in processing a DML statement Listing the stages in processing COMMITS Listing the structures involved in connecting a user to an Oracle server Listing the stages in processing a query Listing the stages in processing a DML statement Listing the stages in processing COMMITS

1-3 Copyright  Oracle Corporation, All rights reserved. The Oracle Server Server Application/ network server Users Oracle server

1-4 Copyright  Oracle Corporation, All rights reserved. Connecting to a Database User Client Server Server process Oracle server User process

1-5 Copyright  Oracle Corporation, All rights reserved. User Process Runs on the client machine Is spawned when a tool or an application is invoked Runs the tool or application (SQL*Plus, Server Manager, Oracle Enterprise Manager, Developer/2000) Includes the User Program Interface (UPI) Generates calls to the Oracle server Runs on the client machine Is spawned when a tool or an application is invoked Runs the tool or application (SQL*Plus, Server Manager, Oracle Enterprise Manager, Developer/2000) Includes the User Program Interface (UPI) Generates calls to the Oracle server

1-6 Copyright  Oracle Corporation, All rights reserved. Server Process Runs on the server machine (host) Services a single user process in the dedicated server configuration Uses an exclusive PGA Includes the Oracle Program Interface (OPI) Processes calls generated by the client Returns results to the client Runs on the server machine (host) Services a single user process in the dedicated server configuration Uses an exclusive PGA Includes the Oracle Program Interface (OPI) Processes calls generated by the client Returns results to the client

1-7 Copyright  Oracle Corporation, All rights reserved. Oracle Instance Background processes An Oracle instance: Is a means to access an Oracle database Always opens one and only one database An Oracle instance: Is a means to access an Oracle database Always opens one and only one database Instance SGA

1-8 Copyright  Oracle Corporation, All rights reserved. Oracle Database Control files Redo log files Data files Password file Parameter file Archived log files Database

1-9 Copyright  Oracle Corporation, All rights reserved. Database Other Key Physical Structures Archived log files Password file Parameter file

1-10 Copyright  Oracle Corporation, All rights reserved. User process Server process Processing a Query Parse Statement OK Handle Execute OK Handle Fetch Results SELECT * FROM emp ORDER BY ename; SELECT * FROM emp ORDER BY ename;

1-11 Copyright  Oracle Corporation, All rights reserved. The Shared Pool Size defined by SHARED_POOL_SIZE Library cache contains statement text, parsed code, and an execution plan Data dictionary cache contains table and column definitions and privileges Size defined by SHARED_POOL_SIZE Library cache contains statement text, parsed code, and an execution plan Data dictionary cache contains table and column definitions and privileges Shared pool Library cache Data dictionary cache

1-12 Copyright  Oracle Corporation, All rights reserved. Database Buffer Cache Number of buffers defined by DB_BLOCK_BUFFERS Size of a buffer based on DB_BLOCK_SIZE Stores the most recently used blocks Number of buffers defined by DB_BLOCK_BUFFERS Size of a buffer based on DB_BLOCK_SIZE Stores the most recently used blocks

1-13 Copyright  Oracle Corporation, All rights reserved. Program Global Area (PGA) Not shared and not writable Contains – Sort area – Session information – Cursor state – Stack space Not shared and not writable Contains – Sort area – Session information – Cursor state – Stack space PGA Server process

1-14 Copyright  Oracle Corporation, All rights reserved. Instance SGA Shared pool Library cache Redo log buffer Database buffer cache Data dictionary cache UPDATE emp SET sal=sal*1.1 WHERE empno=7369 UPDATE emp SET sal=sal*1.1 WHERE empno=7369 Processing a DML Statement 1 Server process Control files Redo log files Data files Database

1-15 Copyright  Oracle Corporation, All rights reserved. Rollback Segment DML statement Old image New image Rollback segment Table

1-16 Copyright  Oracle Corporation, All rights reserved. Redo Log Buffer Size defined by LOG_BUFFER Records changes made through the instance Used sequentially Circular buffer Size defined by LOG_BUFFER Records changes made through the instance Used sequentially Circular buffer

1-17 Copyright  Oracle Corporation, All rights reserved. Instance SGA Shared pool DBWR Database buffer cache Database Writer (DBWR) Control files Redo log files Data files

1-18 Copyright  Oracle Corporation, All rights reserved. Instance SGA Shared pool Redo log buffer LGWR Log Writer (LGWR) Control files Redo log files Data files

1-19 Copyright  Oracle Corporation, All rights reserved. Shared pool Redo log buffer LGWR Control files Redo log files Data files Database COMMIT Processing Server process 1 2 User process 3 Database buffer cache 4 SGA Instance

1-20 Copyright  Oracle Corporation, All rights reserved. Instance SGA Shared pool DBWRLGWR Database Control files Data files Redo log files User process Server process PGA Summary Password file Archived log files Parameter file