Presentation is loading. Please wait.

Presentation is loading. Please wait.

1 Copyright © 2005, Oracle. All rights reserved. Introduction.

Similar presentations


Presentation on theme: "1 Copyright © 2005, Oracle. All rights reserved. Introduction."— Presentation transcript:

1 1 Copyright © 2005, Oracle. All rights reserved. Introduction

2 Copyright © 2005, Oracle. All rights reserved. 1-2 Course Objectives After completing this course, you should be able to do the following: Install, create, and administer Oracle Database 10g Configure the database for an application Employ basic monitoring procedures Implement a backup and recovery strategy Move data between databases and files

3 Copyright © 2005, Oracle. All rights reserved. 1-3 Suggested Schedule 1.Introduction 2.Installation 3.DB Creation 4.Instance 5.Storage 6.Users 7.Schema 8.Data & Concurrency 9.Undo 10.Security 11.Network 12.Proactive Maintenance 13.Performance 14.Backup & Recovery Concepts 15.Backup 16.Recovery 17.Flashback 18.Moving Data

4 Copyright © 2005, Oracle. All rights reserved. 1-4 Lesson Objectives After completing this lesson, you should be able to do the following: Describe the course objectives Explain the Oracle Database 10g architecture

5 Copyright © 2005, Oracle. All rights reserved. 1-5 Oracle Products and Services Oracle databases Oracle Application Server Oracle applications Oracle Collaboration Suite Oracle Developer Suite Oracle services

6 Copyright © 2005, Oracle. All rights reserved. 1-6 Oracle Database 10g: “g” Stands for Grid Global Grid Forum (GGF) Oracle’s grid infrastructure: –Low cost –High quality of service –Easy to manage Automatic Storage Management Real Application Clusters Oracle Streams Enterprise Manager Grid Control Storage grid Database grid Application grid Grid control

7 Copyright © 2005, Oracle. All rights reserved. 1-7 Grid Full Notes Page

8 Copyright © 2005, Oracle. All rights reserved. 1-8 Oracle Database Architecture 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

9 Copyright © 2005, Oracle. All rights reserved. 1-9 Database Structures Storage structures Memory structures Process structures Instance System Global Area (SGA) Background processes Database files DB structures - Memory - Process - Storage

10 Copyright © 2005, Oracle. All rights reserved. 1-10 Oracle Memory Structures. Java pool Database buffer cache Redo log buffer Shared pool Large pool SGA Streams pool Server process 1 PGA Server process 2 PGA Background process PGA DB structures >Memory Process Storage

11 Copyright © 2005, Oracle. All rights reserved. 1-11 Oracle Memory Structures Full Notes Page

12 Copyright © 2005, Oracle. All rights reserved. 1-12 Process Structures User process: Is started at the time a database user requests a connection to the Oracle server Server process: Connects to the Oracle instance and is started when a user establishes a session Background processes: Are started when an Oracle instance is started Instance SGA Background processes Server process PGA User process DB structures Memory >Process Storage

13 Copyright © 2005, Oracle. All rights reserved. 1-13 Oracle Instance Management System Monitor (SMON) Database Writer (DBWn) LogWriter (LGWR) Process Monitor (PMON) Archiver (ARCn) SGA Java pool Shared poolLarge poolStreams pool Database buffer cache Redo log buffer Checkpoint (CKPT) Control files Data files Redo log files Archive log files

14 Copyright © 2005, Oracle. All rights reserved. 1-14 Server Process and Database Buffer Cache Buffers: Pinned Clean Free or unused Dirty DBWn Server process SGA Database buffer cache Data files

15 Copyright © 2005, Oracle. All rights reserved. 1-15 Physical Database Structure. Online redo log files Password file Parameter file Archive log files Control files Data files Alert and trace log files Backup files DB structures Memory Process >Storage

16 Copyright © 2005, Oracle. All rights reserved. 1-16 Physical Database Structure Full Notes Page

17 Copyright © 2005, Oracle. All rights reserved. 1-17 Tablespaces and Data Files Tablespaces consist of one or more data files. Data files belong to only one tablespace. USERS tablespace Data file 1 Data file 2

18 Copyright © 2005, Oracle. All rights reserved. 1-18 SYSTEM and SYSAUX Tablespaces The SYSTEM and SYSAUX tablespaces are mandatory tablespaces. They are created at the time of database creation. They must be online. The SYSTEM tablespace is used for core functionality (for example, data dictionary tables). The auxiliary SYSAUX tablespace is used for additional database components (such as the Enterprise Manager Repository).

19 Copyright © 2005, Oracle. All rights reserved. 1-19 Segments, Extents, and Blocks Segments exist within a tablespace. Segments are made up of a collection of extents. Extents are a collection of data blocks. Data blocks are mapped to disk blocks. SegmentExtentsData blocks Disk blocks

20 Copyright © 2005, Oracle. All rights reserved. 1-20 Logical and Physical Database Structures Database LogicalPhysical Tablespace Data file OS block Segment Extent Oracle data block Schema

21 Copyright © 2005, Oracle. All rights reserved. 1-21 Database Structures Full Notes Page

22 Copyright © 2005, Oracle. All rights reserved. 1-22 Course Examples: The HR Schema REGIONS REGION_ID (PK) REGION_NAME COUNTRIES COUNTRY_ID (PK) COUNTRY_NAME REGION_ID (FK) LOCATIONS LOCATION_ID (PK) STREET_ADDRESS POSTAL_CODE CITY STATE_PROVINCE COUNTRY_ID (FK) DEPARTMENTS DEPARTMENT_ID (PK) DEPARTMENT_NAME MANAGER_ID LOCATION_ID (FK) JOBS JOB_ID (PK) JOB_TITLE MIN_SALARY MAX_SALARY EMPLOYEES EMPLOYEE_ID (PK) FIRST_NAME LAST_NAME EMAIL PHONE_NUMBER HIRE_DATE JOB_ID (FK) SALARY COMMISION_PCT MANAGER_ID (FK) DEPARTMENT_ID (FK) JOB_HISTORY EMPLOYEE_ID (PK) START_DATE (PK) END_DATE JOB_ID (FK) DEPARTMENT_ID (FK) REGIONS COUNTRIES LOCATIONS DEPARTMENTS JOBS EMPLOYEES JOB_HISTORY

23 Copyright © 2005, Oracle. All rights reserved. 1-23 Database Architecture: Summary of Structural Components Memory structures: –System Global Area (SGA): Database buffer cache, redo buffer, and various pools –Program Global Area (PGA) Process structures: –User process and Server process –Background processes: SMON, PMON, DBWn, CKPT, LGWR, ARCn, and so on Storage structures: –Logical: Database, schema, tablespace, segment, extent, and Oracle block –Physical: Files for data, parameters, redo, and OS block

24 Copyright © 2005, Oracle. All rights reserved. 1-24 Summary In this lesson, you should have learned how to: Install, create, and administer Oracle Database 10g Configure the database for an application Employ basic monitoring procedures Implement a backup and recovery strategy Move data between databases and files


Download ppt "1 Copyright © 2005, Oracle. All rights reserved. Introduction."

Similar presentations


Ads by Google