ADM506 Database Administration Oracle II. COURSE OUTLINE Course Version: 15 Course Duration: 2 Day(s)
SAP Copyrights and Trademarks 2016 SAP SE or an SAP affiliate company. All rights reserved. No part of this publication may be reproduced or transmitted in any form or for any purpose without the express permission of SAP SE or an SAP affiliate company. SAP and other SAP products and services mentioned herein as well as their respective logos are trademarks or registered trademarks of SAP SE (or an SAP affiliate company) in Germany and other countries. Please see http://global12.sap.com/corporate-en/legal/ copyright/index.epx for additional trademark information and notices. Some software products marketed by SAP SE and its distributors contain proprietary software components of other software vendors. National product specifications may vary. These materials are provided by SAP SE or an SAP affiliate company for informational purposes only, without representation or warranty of any kind, and SAP SE or its affiliated companies shall not be liable for errors or omissions with respect to the materials. The only warranties for SAP SE or SAP affiliate company products and services are those that are set forth in the express warranty statements accompanying such products and services, if any. Nothing herein should be construed as constituting an additional warranty. In particular, SAP SE or its affiliated companies have no obligation to pursue any course of business outlined in this document or any related presentation, or to develop or release any functionality mentioned therein. This document, or any related presentation, and SAP SE s or its affiliated companies strategy and possible future developments, products, and/or platform directions and functionality are all subject to change and may be changed by SAP SE or its affiliated companies at any time for any reason without notice. The information in this document is not a commitment, promise, or legal obligation to deliver any material, code, or functionality. All forward-looking statements are subject to various risks and uncertainties that could cause actual results to differ materially from expectations. Readers are cautioned not to place undue reliance on these forward-looking statements, which speak only as of their dates, and they should not be relied upon in making purchasing decisions.
Typographic Conventions American English is the standard used in this handbook. The following typographic conventions are also used. This information is displayed in the instructor s presentation Demonstration Procedure Warning or Caution Hint Related or Additional Information Facilitated Discussion User interface control Example text Window title Example text Copyright. All rights reserved. iii
iv Copyright. All rights reserved.
Contents vii Course Overview 1 Unit 1: Oracle Cache Management 1 Lesson: Introducing Oracle System Global Area 1 Lesson: Introducing Automatic Oracle Program Global Area 3 Unit 2: Monitoring of the Database Instance 3 Lesson: Working in the DBA Cockpit Performance Monitor 3 Lesson: Using the DBA Cockpit to Monitor the Database 5 Unit 3: Application Design Analysis 5 Lesson: Understanding the Impact of Expensive SQL Statements 5 Lesson: Using SM50/SM66 to Find Expensive SQL Statements 5 Lesson: Using ST03N/STAD to Find Expensive SQL Statements 5 Lesson: Using DBA Cockpit to Find Expensive SQL Statements 5 Lesson: Using SQL Trace to Find Expensive SQL Statements 5 Lesson: Monitoring Exclusive Lock Waits 7 Unit 4: Index Management and Optimization 7 Lesson: Utilizing Indexes 7 Lesson: Creating an Index 9 Unit 5: Cost-Based Optimizer 9 Lesson: Updating Statistics 9 Lesson: Detecting Problems with Optimizer Statistics 11 Unit 6: Analysis of Physical and Logical Layout 11 Lesson: Defragmenting Indexes 11 Lesson: Working with I/O Contention 13 Unit 7: Memory Configuration Analysis 13 Lesson: Describing Data Buffer Utilization 13 Lesson: Analyzing the Efficiency of Shared Pool 13 Lesson: Monitoring the Automatic Program Global Area 15 Unit 8: Wait Interface and Automatic Workload Repository 15 Lesson: Observing Oracle Wait Interface 15 Lesson: Reviewing the Automatic Workload Repository and Histories Copyright. All rights reserved. v
vi Copyright. All rights reserved.
Course Overview TARGET AUDIENCE This course is intended for the following audiences: Technology Consultant Developer System Administrator IT Support Copyright. All rights reserved. vii
viii Copyright. All rights reserved.
UNIT 1 Oracle Cache Management Lesson 1: Introducing Oracle System Global Area Configure System Global Area (SGA) Lesson 2: Introducing Automatic Oracle Program Global Area Activate automatic Program Global Area (PGA) Copyright. All rights reserved. 1
Unit 1: Oracle Cache Management 2 Copyright. All rights reserved.
UNIT 2 Monitoring of the Database Instance Lesson 1: Working in the DBA Cockpit Performance Monitor Navigate in the DBA Cockpit performance monitor Lesson 2: Using the DBA Cockpit to Monitor the Database Use the DBA Cockpit to monitor the database Copyright. All rights reserved. 3
Unit 2: Monitoring of the Database Instance 4 Copyright. All rights reserved.
UNIT 3 Application Design Analysis Lesson 1: Understanding the Impact of Expensive SQL Statements Understand the impact of expensive SQL statements Lesson 2: Using SM50/SM66 to Find Expensive SQL Statements Find expensive SQL statement with SM50/SM66 Lesson 3: Using ST03N/STAD to Find Expensive SQL Statements Find expensive SQL statement with ST03N/STAD Lesson 4: Using DBA Cockpit to Find Expensive SQL Statements Find expensive SQL statement with the performance monitor of DBA Cockpit Lesson 5: Using SQL Trace to Find Expensive SQL Statements Find expensive SQL statements with SQL trace Lesson 6: Monitoring Exclusive Lock Waits Copyright. All rights reserved. 5
Unit 3: Application Design Analysis Monitor exclusive lock waits 6 Copyright. All rights reserved.
UNIT 4 Index Management and Optimization Lesson 1: Utilizing Indexes Work with index utilization Lesson 2: Creating an Index Create an index Copyright. All rights reserved. 7
Unit 4: Index Management and Optimization 8 Copyright. All rights reserved.
UNIT 5 Cost-Based Optimizer Lesson 1: Updating Statistics Update the cost-based Optimizer statistics Lesson 2: Detecting Problems with Optimizer Statistics Work with Optimizer statistics Copyright. All rights reserved. 9
Unit 5: Cost-Based Optimizer 10 Copyright. All rights reserved.
UNIT 6 Analysis of Physical and Logical Layout Lesson 1: Defragmenting Indexes Detect and resolve fragmentation in indexes Lesson 2: Working with I/O Contention Work with I/O contention Copyright. All rights reserved. 11
Unit 6: Analysis of Physical and Logical Layout 12 Copyright. All rights reserved.
UNIT 7 Memory Configuration Analysis Lesson 1: Describing Data Buffer Utilization Estimate data buffer utilization Lesson 2: Analyzing the Efficiency of Shared Pool Estimate the efficiency of the shared buffer pool Lesson 3: Monitoring the Automatic Program Global Area Monitor the automatic Program Global Area Copyright. All rights reserved. 13
Unit 7: Memory Configuration Analysis 14 Copyright. All rights reserved.
UNIT 8 Wait Interface and Automatic Workload Repository Lesson 1: Observing Oracle Wait Interface Manage the Oracle Wait Interfaces Lesson 2: Reviewing the Automatic Workload Repository and Histories Use the Automatic Workload Repository Copyright. All rights reserved. 15