Les 00 intro

6
I Copyright © 2009, Oracle. All rights reserved. Introduction

Transcript of Les 00 intro

Page 1: Les 00 intro

ICopyright © 2009, Oracle. All rights reserved.

Introduction

Page 2: Les 00 intro

Copyright © 2009, Oracle. All rights reserved.I - 2

Course Objectives

After completing this course, you should be able to:

• Configure the Oracle Database for optimal recovery 

• Back up and recover a database (and its parts) with Recovery Manager (RMAN)

• Use flashback technology to view past states of data and to revert objects to a past state 

• Identify burdensome database sessions and poorly performing SQL 

• Use an appropriate and flexible memory configuration

• Configure resource allocations among sessions and tasks

• Schedule jobs to run inside or outside the database

• Use compression to optimize database storage and duplicate a database

Page 3: Les 00 intro

Copyright © 2009, Oracle. All rights reserved.I - 3

Suggested Schedule

Day Lessons

1 1. Core Concepts and Tools of the Oracle Database

2. Configuring for Recoverability

3. Using the RMAN Recovery Catalog

4. Configuring Backup Settings

2 5. Creating Backups with RMAN

6. Restore and Recovery Tasks

7. Using RMAN to Perform Recovery

8. Monitoring and Tuning RMAN

3 9. Diagnosing the Database

10. Using Flashback Technology I

11. Using Flashback technology II

12. Performing Flashback Database

Day Lessons

4 13. Managing Memory

14. Managing Database Performance

15. Managing Performance by SQL Tuning

16. Managing Resources

17. Automating Tasks with the Scheduler

5 18. Managing Space19. Managing Space for the Database20. Duplicating a Database

Page 4: Les 00 intro

Copyright © 2009, Oracle. All rights reserved.I - 4

Oracle Database 11g: “g” Stands for Grid

• Open Grid Forum (OGF)

• Oracle’s grid infrastructure:– Low cost– High quality of service– Easy to manage

AutomaticStorage

Management

RealApplication

Clusters

ApplicationServer

Clusters

EnterpriseManager

Grid Control

Storagegrid

Databasegrid

Applicationgrid

Gridcontrol

Page 5: Les 00 intro

Copyright © 2009, Oracle. All rights reserved.I - 6

Grid Infrastructure for Single-Instance

Grid Infrastructure for Single-Instance is introduced with Oracle Database 11g Release 2 (11.2)

• Is installed from the clusterware media, separate from the Oracle database software

• Contains Oracle Automatic Storage Management (ASM)

• Contains Oracle Restart—a high availability solution for nonclustered databases– Can monitor and restart the following components:

— Database instances— Oracle Net listener— Database services— ASM instance— ASM disk groups— Oracle Notification Services (ONS/eONS) for Data Guard

Page 6: Les 00 intro

Copyright © 2009, Oracle. All rights reserved.I - 8

Course Examples: HR Sample Schema

REGIONSREGION_ID (PK)REGION_NAME

COUNTRIESCOUNTRY_ID (PK)COUNTRY_NAMEREGION_ID (FK)

LOCATIONSLOCATION_ID (PK)STREET_ADDRESSPOSTAL_CODECITYSTATE_PROVINCECOUNTRY_ID (FK)

DEPARTMENTSDEPARTMENT_ID (PK)DEPARTMENT_NAMEMANAGER_IDLOCATION_ID (FK)

JOBSJOB_ID (PK)JOB_TITLEMIN_SALARYMAX_SALARY

EMPLOYEESEMPLOYEE_ID (PK)FIRST_NAMELAST_NAMEEMAILPHONE_NUMBERHIRE_DATEJOB_ID (FK)SALARYCOMMISION_PCTMANAGER_ID (FK)DEPARTMENT_ID (FK)

JOB_HISTORYEMPLOYEE_ID (PK)START_DATE (PK)END_DATEJOB_ID (FK)DEPARTMENT_ID (FK)

REGIONS

COUNTRIES

LOCATIONS

DEPARTMENTS

JOBS

EMPLOYEES

JOB_HISTORY