copyright © 2004 insight technology, inc. all rights reserved. 1 version 5.2 copyright © 2003...

37
1 Copyright © 2004 Insight Technology, Inc. All Rights Reserved. Version 5.2 Copyright © 2003 Insight Technology, Inc. All Rights Reserved.

Upload: leonard-richardson

Post on 11-Jan-2016

219 views

Category:

Documents


1 download

TRANSCRIPT

Page 1: Copyright © 2004 Insight Technology, Inc. All Rights Reserved. 1 Version 5.2 Copyright © 2003 Insight Technology, Inc. All Rights Reserved

1Copyright © 2004 Insight Technology, Inc. All Rights Reserved.

Version 5.2

Copyright © 2003 Insight Technology, Inc. All Rights Reserved.

Page 2: Copyright © 2004 Insight Technology, Inc. All Rights Reserved. 1 Version 5.2 Copyright © 2003 Insight Technology, Inc. All Rights Reserved

2Copyright © 2004 Insight Technology, Inc. All Rights Reserved.

Main Features

• Kaizen Report based on Quantitative Analysis

• Prioritization of Problems

• Identify the Root Causes of Problems Immediately

• Expert Advices and Suggestions to Solve Problems

• Proactive Management on Collected Data and Real-Time Information

Page 3: Copyright © 2004 Insight Technology, Inc. All Rights Reserved. 1 Version 5.2 Copyright © 2003 Insight Technology, Inc. All Rights Reserved

3Copyright © 2004 Insight Technology, Inc. All Rights Reserved.

Top Minder Minder Console Time Analysis

Alert Minder Auto ThresholdSetting

SQL Minder

Key Functions

Monitoring

Report

Action

Kaizen Report Knowledge Center

DB Scope SQL Categorizer

Object Monitor

Grasp problems

Detect potentialproblems

Tuning

Action Navigator

Page 4: Copyright © 2004 Insight Technology, Inc. All Rights Reserved. 1 Version 5.2 Copyright © 2003 Insight Technology, Inc. All Rights Reserved

4Copyright © 2004 Insight Technology, Inc. All Rights Reserved.

Kaizen Report

Drills down to the details for further investigation

Kaizen Report

Knowledge CenterDetailed instructions and suggestions

to reach out the problemDatabase System At a Glance

Start off the day with Kaizen Report

Page 5: Copyright © 2004 Insight Technology, Inc. All Rights Reserved. 1 Version 5.2 Copyright © 2003 Insight Technology, Inc. All Rights Reserved

5Copyright © 2004 Insight Technology, Inc. All Rights Reserved.

Database System At A Glance

One-click access to the details for further investigation

Page 6: Copyright © 2004 Insight Technology, Inc. All Rights Reserved. 1 Version 5.2 Copyright © 2003 Insight Technology, Inc. All Rights Reserved

6Copyright © 2004 Insight Technology, Inc. All Rights Reserved.

Example - SQL -

Problematic SQL statements

Knowledge Center explains more details about the keyword

SQL Minder provides problematic SQL statements with statistical information and system resource information

Page 7: Copyright © 2004 Insight Technology, Inc. All Rights Reserved. 1 Version 5.2 Copyright © 2003 Insight Technology, Inc. All Rights Reserved

7Copyright © 2004 Insight Technology, Inc. All Rights Reserved.

Example - SGA-

Excessive full-table scans

Page 8: Copyright © 2004 Insight Technology, Inc. All Rights Reserved. 1 Version 5.2 Copyright © 2003 Insight Technology, Inc. All Rights Reserved

8Copyright © 2004 Insight Technology, Inc. All Rights Reserved.

Example - Disk -

Physical write intensive

Page 9: Copyright © 2004 Insight Technology, Inc. All Rights Reserved. 1 Version 5.2 Copyright © 2003 Insight Technology, Inc. All Rights Reserved

9Copyright © 2004 Insight Technology, Inc. All Rights Reserved.

Knowledge Center Quick Access to the detailed

information related the keyword

Description of Shared PoolDescription of REDO log

Page 10: Copyright © 2004 Insight Technology, Inc. All Rights Reserved. 1 Version 5.2 Copyright © 2003 Insight Technology, Inc. All Rights Reserved

10Copyright © 2004 Insight Technology, Inc. All Rights Reserved.

Suggestions for the Current Problems

- Reduce disk I/O

- Reduce the number of full table scans

- Increase buffer size

- Reduce load on the latch related with log buffer

- Application SQL tuning (right index, parallel query, etc)

- Space management

Page 11: Copyright © 2004 Insight Technology, Inc. All Rights Reserved. 1 Version 5.2 Copyright © 2003 Insight Technology, Inc. All Rights Reserved

11Copyright © 2004 Insight Technology, Inc. All Rights Reserved.

Monitoring - Single Console View -

Top Minder

System Info

Target server PI monitors

Oracle instance Info

Ale

rt Level

Page 12: Copyright © 2004 Insight Technology, Inc. All Rights Reserved. 1 Version 5.2 Copyright © 2003 Insight Technology, Inc. All Rights Reserved

12Copyright © 2004 Insight Technology, Inc. All Rights Reserved.

Monitoring - Proactive Management -

Overall view(Top Minder)

View the Real-time performance (Minder Console)

Discern the trend by time-series analysis(Time Analysis)

Check Alerts (Alert Minder)

Detects resource-intensive SQL statements (SQL Minder)

Page 13: Copyright © 2004 Insight Technology, Inc. All Rights Reserved. 1 Version 5.2 Copyright © 2003 Insight Technology, Inc. All Rights Reserved

13Copyright © 2004 Insight Technology, Inc. All Rights Reserved.

Monitoring Categories

Sanity_Check Oracle collects data to analyze the sanity of system

Area_Space Monitoring problems with regarding space which trigger troubles

Buffer_Space Monitoring database buffer of Oracle database

Heavy_SQL Monitoring to examine SQL with high load

Proactive_Check Monitoring to prevent troubles

Process_Check Monitoring important processes on the site

System_Events Monitoring to detect messages of different log files

System_Resource Monitoring overall system resources

Security Monitoring to prevent and detect unauthorized access to system

Wait_Events Monitoring to identify a cause of Oracle wait

Package_Statistics Monitoring to analyze the execution status of Packages and Procedures

Snapshot_Error Monitoring the snap-shot and replication of Oracle functions

Performance Insight Monitoring Categories

Page 14: Copyright © 2004 Insight Technology, Inc. All Rights Reserved. 1 Version 5.2 Copyright © 2003 Insight Technology, Inc. All Rights Reserved

14Copyright © 2004 Insight Technology, Inc. All Rights Reserved.

Alert Notification

Performance Insight supports

the following notifications:

•Syslog/Eventlog•E-mail ( SMTP )•SNMP Trap•Integration with other 3rd vender

software

Top Minder (Overall view)

Alert Minder

Page 15: Copyright © 2004 Insight Technology, Inc. All Rights Reserved. 1 Version 5.2 Copyright © 2003 Insight Technology, Inc. All Rights Reserved

15Copyright © 2004 Insight Technology, Inc. All Rights Reserved.

Auto Threshold Setting

Auto Threshold Values

Threshold values* are automatically derived and set by applying Chebychev’s Theorem to system operation data gathered by Performance Insight

• Optimal value suitable for the system• Updated every day• Manual setting is also available

*To derive suitable threshold value, around 10 days for test operation is needed

Effective Method in Multiple-Server Environment

Page 16: Copyright © 2004 Insight Technology, Inc. All Rights Reserved. 1 Version 5.2 Copyright © 2003 Insight Technology, Inc. All Rights Reserved

16Copyright © 2004 Insight Technology, Inc. All Rights Reserved.

Job Scheduler

設定なし00:00 02:00 04:00 06:00 08:00 10:00 12:00 14:00 16:00 18:00 20:00 22:00

Time

On-lineOff-line Off-lineBatch Batch

Mon

1

Tue Wed Thu Fri Sat Sun

1w

2w

3w

4w

5w

2 3

4 5 6 7 8 9 10

11 12 13 14 15 16 17

18 19 20 21 22 23 24

25 26 27 28 29 30 31

Calendar

Non-Business

Business

Month End

Scheduled Process

Flexible Threshold and Alert Notification on Business Processes

e.g.  OLTP, Batch

e.g Unique processes on the business day and end month closing etc.

Page 17: Copyright © 2004 Insight Technology, Inc. All Rights Reserved. 1 Version 5.2 Copyright © 2003 Insight Technology, Inc. All Rights Reserved

17Copyright © 2004 Insight Technology, Inc. All Rights Reserved.

Action Tools

SQL Categorizer

Categorize SQL statements by tuning method

Action Navigator

Quick Navigation to resolve problems

Object Monitor

Discern the growth trend andpredict the potential problem

DB Scope

Identify problematic SQLs and improve internal structure of

Oracle DB

Tuning Actions from SQL to the Space Management

SQL Minder

Page 18: Copyright © 2004 Insight Technology, Inc. All Rights Reserved. 1 Version 5.2 Copyright © 2003 Insight Technology, Inc. All Rights Reserved

18Copyright © 2004 Insight Technology, Inc. All Rights Reserved.

SQL Tuning - SQL Categorizer -

Categorize problematic SQL statement by tuning method

Kaizen Report SQL Categorizer

1  SQL statements that may benefit from use of indexes or re-examining of the execution plan

2  SQL statements that may benefit from the use of parallel query or by use of the Recycle buffer pool

3  SQL statements that has heavy load of index range scan, or that which use the index with low cardinality

Tune this SQL statement using the SQL Scope

Page 19: Copyright © 2004 Insight Technology, Inc. All Rights Reserved. 1 Version 5.2 Copyright © 2003 Insight Technology, Inc. All Rights Reserved

19Copyright © 2004 Insight Technology, Inc. All Rights Reserved.

SQL Tuning   - Identify problematic SQL -

SQL Minder Using system performance data

Link to SQL Scope for tuning

Page 20: Copyright © 2004 Insight Technology, Inc. All Rights Reserved. 1 Version 5.2 Copyright © 2003 Insight Technology, Inc. All Rights Reserved

20Copyright © 2004 Insight Technology, Inc. All Rights Reserved.

SQL Tuning   -SQL analysis (Before Tuning)-

Check execution plan

Check object reference list

Analyze SQL statements from SQL ScopeDB Scope

Full scan twice for Table ORDER

No Index is used

Page 21: Copyright © 2004 Insight Technology, Inc. All Rights Reserved. 1 Version 5.2 Copyright © 2003 Insight Technology, Inc. All Rights Reserved

21Copyright © 2004 Insight Technology, Inc. All Rights Reserved.

SQL Tuning   - Statistical Information (Before Tuning) -

Execute SQL statement andanalyze the performance

Obtained row 1 row

Physical Read 3,238 Blocks

DB Scope

It reads more than 26.5MB data from Disk to obtain only 1 record. (Oracle block = 8K)

Page 22: Copyright © 2004 Insight Technology, Inc. All Rights Reserved. 1 Version 5.2 Copyright © 2003 Insight Technology, Inc. All Rights Reserved

22Copyright © 2004 Insight Technology, Inc. All Rights Reserved.

SQL Tuning   - SQL Analysis (After Tuning) -

Solve performance issue by creating an INDEXDB Scope

Full-table scans twice

INDEX Access

Before creating an INDEX  

After creating an INDEX

Before   After

Page 23: Copyright © 2004 Insight Technology, Inc. All Rights Reserved. 1 Version 5.2 Copyright © 2003 Insight Technology, Inc. All Rights Reserved

23Copyright © 2004 Insight Technology, Inc. All Rights Reserved.

SQL Tuning   - Statistical Information (After Tuning)-

Comparison Before and After

Obtained row 1 row

Physical Read 3,238 Blocks

DB Scope

Before creating an INDEX

Obtained row 1 row

Physical Read 2 Blocks

After creating an INDEX

Reduce Physical Reads Blocks to 1/1619

Page 24: Copyright © 2004 Insight Technology, Inc. All Rights Reserved. 1 Version 5.2 Copyright © 2003 Insight Technology, Inc. All Rights Reserved

24Copyright © 2004 Insight Technology, Inc. All Rights Reserved.

Dependency Scope

Related Information for Thorough Investigation

DB Scope

Space Usage of ORDER TABLE

Space Usage of TPC TABLESPACE

Page 25: Copyright © 2004 Insight Technology, Inc. All Rights Reserved. 1 Version 5.2 Copyright © 2003 Insight Technology, Inc. All Rights Reserved

25Copyright © 2004 Insight Technology, Inc. All Rights Reserved.

Drastic Work-time Reduction - Easy trace for troubleshooting

Utilizing Performance Insight for Oracle

5days5daysTrouble

1day

How quickly can you resolve the trouble?

Stable OperationStable OperationCollecting the Data ConstantlyCollecting the Data Constantly

Identify the cause of problem

Tuning

5days ??

Performance Insight for Oracle NOT in place

Trouble 1day 1day

Comparison & Double Check

Collect the data for

Page 26: Copyright © 2004 Insight Technology, Inc. All Rights Reserved. 1 Version 5.2 Copyright © 2003 Insight Technology, Inc. All Rights Reserved

26Copyright © 2004 Insight Technology, Inc. All Rights Reserved.

Operation Management - Quick Detection -

Case: Monitoring Object ExtentsTop Minder

Page 27: Copyright © 2004 Insight Technology, Inc. All Rights Reserved. 1 Version 5.2 Copyright © 2003 Insight Technology, Inc. All Rights Reserved

27Copyright © 2004 Insight Technology, Inc. All Rights Reserved.

Operation ManagementMinder Console (Real-time Database Performance)

Quick Access to Action NavigatorProvide several methods of approachingto an issue and detailed advices

• Respond Quickly• Create own approaches• Execute own scripts

Automated ProceduresAutomated Procedures

Description of the IssueDescription of the Issue

User CustomizationUser Customization

Page 28: Copyright © 2004 Insight Technology, Inc. All Rights Reserved. 1 Version 5.2 Copyright © 2003 Insight Technology, Inc. All Rights Reserved

28Copyright © 2004 Insight Technology, Inc. All Rights Reserved.

Operation Management - Proactive Management -Object Monitor

•Grasp the Growth Trend of Object •Predict the Size of the Object•Predict the Cause of Potential Problem

Extents

Present

Limit

FuturePast

Threshold

DB Scope

Review Table Definition

20K

20K

Page 29: Copyright © 2004 Insight Technology, Inc. All Rights Reserved. 1 Version 5.2 Copyright © 2003 Insight Technology, Inc. All Rights Reserved

29Copyright © 2004 Insight Technology, Inc. All Rights Reserved.

Operation Management - Simple Alert Status

Management -

Managing alerts by three status

Alert Minder

Resolved

Page 30: Copyright © 2004 Insight Technology, Inc. All Rights Reserved. 1 Version 5.2 Copyright © 2003 Insight Technology, Inc. All Rights Reserved

30Copyright © 2004 Insight Technology, Inc. All Rights Reserved.

Advantage of PI Monitoring

Detect a sign of trouble

Difficultto detect

Troubleoccurred

Checking andTuning

UnexpectedFailures

Not in place

Stable Operation

Minder Console

Time AnalysisTop Minder

Alert Minder

Proactive Management

Action tools

Page 31: Copyright © 2004 Insight Technology, Inc. All Rights Reserved. 1 Version 5.2 Copyright © 2003 Insight Technology, Inc. All Rights Reserved

31Copyright © 2004 Insight Technology, Inc. All Rights Reserved.

Oracle

Architecture - Logging System -

Episode Layer(File System)Stores data by

monitoring/logging

XML fileCSV file

Minimum Load on the Database

Oracle Server

Agent Queue System

Monitoring Logging

Since information is collected from one Session by means of Agent Queue System,there is very minimum load on Oracle.

Logging LoadThe information collected from the logging Is stored in the file system called "Episode Layer" and can be accessed from each of PI5 functions.

Episode Layer

Logging Unit

Page 32: Copyright © 2004 Insight Technology, Inc. All Rights Reserved. 1 Version 5.2 Copyright © 2003 Insight Technology, Inc. All Rights Reserved

32Copyright © 2004 Insight Technology, Inc. All Rights Reserved.

Performance Insight - Framework -

*Requires   Microsoft Internet Explorer 5.5 or later

ClientOracle Server

Web browser

Page 33: Copyright © 2004 Insight Technology, Inc. All Rights Reserved. 1 Version 5.2 Copyright © 2003 Insight Technology, Inc. All Rights Reserved

33Copyright © 2004 Insight Technology, Inc. All Rights Reserved.

Flexible Customization - Programming Language -

SQeeL

SQeeL is an open source programming language which can easily structure quick running and memory saving applications. It is especially effective for the development of databases and web applications.

The Web interfaces of PI are written in SQeeL. All sources for monitoring and operation can be accessed publicly.

   http://www.sqeel.org

POPSQL

POPSQL is developed as an interpreter language to be used mainly for batch process. Scheduled jobs in the PI5 are written by POPSQL.

For POPSQL language,

 * SQL interface for the access to database

 * Quasi-SQL interface for sequential files

 * Loading function to database (create new and update), unloading function are prepared.

Since scheduled jobs are available as sources written by POPSQL, they can be customized according to the operation policy of the customer's environment.

“SQeeL” and “POPSQL” are developed by Insight Technology, Inc.

Creating user-defined jobs based on the source codes of PI5.2

Page 34: Copyright © 2004 Insight Technology, Inc. All Rights Reserved. 1 Version 5.2 Copyright © 2003 Insight Technology, Inc. All Rights Reserved

34Copyright © 2004 Insight Technology, Inc. All Rights Reserved.

Requirement - Installation -

Operating Environment

Disk space required for a base installation, per instance   File area   approx. 50MB

   Oracle area     50MB( as

default)

Memory requirements

  Memory capacity within the

condition

on Oracle operation     (Use more than 10MB Memory when creating

a report)

CPU spec   CPU spec within the condition on

Oracle operation

Supporting OS/Oracle

OS   Solaris, HP-UX, AIX,           Windows2000/NT

   Linux

Oracle

   8.1.5

   8.1.6

   8.1.7

   9.0.1

   9.2.0

Please contact us regarding the use of Performance Insight on operating systems not listed above

Page 35: Copyright © 2004 Insight Technology, Inc. All Rights Reserved. 1 Version 5.2 Copyright © 2003 Insight Technology, Inc. All Rights Reserved

35Copyright © 2004 Insight Technology, Inc. All Rights Reserved.

Summary

• Minimum Load on the Database

• Automatic Threshold Monitoring

• Daily Report on Collected Data

• Prioritization of Problems

• Identify the Root Causes of Problems Immediately

• Expert Advices and Suggestions to Solve Problems

• Proactive Management on Historical and Real-time Information

• Manage Multiple Databases using the Single Console View

Page 36: Copyright © 2004 Insight Technology, Inc. All Rights Reserved. 1 Version 5.2 Copyright © 2003 Insight Technology, Inc. All Rights Reserved

36Copyright © 2004 Insight Technology, Inc. All Rights Reserved.

E-zine

< Ora! Ora! Oracle >

Welcome to the world of Oracle enthusiasts- Ora! Ora! Oracle is weekly mail magazine dedicated to Oracle users. This mail magazine contains tips and techniques useful to study Oracle database.Subscription is free. This mail magazine is distributed in HTML format.

http://www.performance-insight.com/html/ora3/index.htmlSubscribe from

Page 37: Copyright © 2004 Insight Technology, Inc. All Rights Reserved. 1 Version 5.2 Copyright © 2003 Insight Technology, Inc. All Rights Reserved

37Copyright © 2004 Insight Technology, Inc. All Rights Reserved.

Development/Sales

Insight Technology, Inc.Nissei-Chigasaki Building 6F 2-1-52 Chigasaki, Chigasaki-shi, KanagawaJapan 253-0041

tel. 0467-59-1527 fax. 0467-82-2663

http://www. performance-insight.com

mail. [email protected]

Development

ITX E-Globaledge CorporationNakameguro GT Tower 7F1-1, Kamimeguro 2, Meguro-kuTokyo, Japan 153-0051

tel. 03-6412-6024 fax. 03-6412-6016

http://www. performance-insight.com

mail. [email protected]

Sales