+ All Categories
Home > Documents > ® Enterprise Manager/Management Packs Conference Call Phone Number: 1(888)791-5525 Pass Code:...

® Enterprise Manager/Management Packs Conference Call Phone Number: 1(888)791-5525 Pass Code:...

Date post: 27-Dec-2015
Category:
Upload: ferdinand-egbert-lane
View: 220 times
Download: 1 times
Share this document with a friend
Popular Tags:
47
® Enterprise Manager/Management Packs Conference Call Phone Number: 1(888)791-5525 Pass Code: CYBER
Transcript

®

Enterprise Manager/Management PacksConference Call Phone Number:

1(888)791-5525Pass Code: CYBER

®

The Performance Management Challenge

Server

®

Server

®

Server

®

Managing many databases & datatypes

Managing many distributedclient/server applications

Optimizing theuse of skilled

DBAs

• Technology outpacing management

• Not enough DBAs with experience

®

Oracle Enterprise Manager Console

®

Oracle Enterprise ManagerStandard Tools for Database Administration

• Schema Manager

• Instance Manager

• Network Manager

• Security Manager

• Storage Manager

• Backup Manager

• Software Manager

• Utilities for Loading, Import and Export

®

Oracle Diagnostics PackTM

Oracle Tuning Pack

Oracle Change Management Pack

all plug into:

Oracle Enterprise Manager

Conference Call Phone Number: 1(888)791-5525Pass Code: CYBER

®

What’s in the Oracle Diagnostics Pack?

• Oracle Capacity Planner

• Oracle Performance Manager

– C++ Version

– Java version

• Oracle Top Sessions

• Oracle Lock Manager

• Trace Manager

• Trace Data Viewer

• Oracle Advanced Events

®

Can You Answer These Questions?

• How is my system performing right now?

• How has my system performed in the past?

• What work have users been doing on the system?

• How will I know if there is a problem at 1AM? How will I fix it !?!

• How can I diagnose and solve the performance problems I have now?

• What can I do to plan for the future and avoid new problems?

®

Oracle Diagnostics PackKey Features

• Powerful built-in:

– data collection

– monitoring

– analysis

– capacity planning

– automatic problem detection

• Easy to Use Wizards

• “Learn While you Work”

®

Oracle Diagnostics PackBenefits

• Anticipates problems before they occur

• Maintains consistent level of service to end users

• Increases DBA productivity

• Increases administrators knowledge of systems, resource limits, and SQL

®

Oracle Capacity PlannerUnderstand the Past, Present & Future

Library Cache Hit%Library Cache Hit%

# Users Logged On# Users Logged On

Buffer Cache Hit%Buffer Cache Hit%

File I/O RateFile I/O Rate

SEPTEMBER 28SEPTEMBER 28

SEPTEMBER 29SEPTEMBER 29

SEPTEMBER 30SEPTEMBER 30

ExtrapolationExtrapolation

AnalysesAnalyses

®

• Host Monitoring

• Multi-database monitoring

• Flexible graphing formats and charts

• Chart ‘record and playback’

• User-set data refresh intervals

• Drilldown for details

Oracle Performance ManagerFlexible, Graphical Monitoring

Oracle TopSessions

File I/O Monitoring

®

Oracle Performance Manager:a flexible, graphical monitor

®13

Oracle TopSessionsInvestigating Resource Usage

• Top ‘n’ sessions: CPU, memory, I/O...

• Drilldown into sessions statistics

– V$: sesstat, open_cursor, locks, sqlarea, etc.

• Sort data based on selected statistic filter

– i.e., sort top 10 sessions for Redo activity by redo blocks written, redo size, redo entry volume

• View open cursors & explain plans

• Eliminate offending sessions

®14

Oracle Lock ManagerMonitoring Database Locks

• Easy access to database locking details

– Who is holding locks?

– What kind of locks are they?

– What objects are locked?

– Who is being blocked?

– How long is the queue?

• Eliminate locked sessions

®15

Oracle Advanced EventsAutomated Problem Detection & Correction

• Eliminate problems before they affect performance

• Event driven problem detection

– identify key events to be monitored

– establish event metric thresholds

• “Fix-it” jobs fix problems automatically as soon as they are detected

• Flexible alerts (console, email, paging, SNMP)

®

Oracle Advanced Events:Proactive database administration

• Monitor several events at once

• Apply events to several destination in one step

• Centralized monitoring

®17

Oracle Advanced EventsServer Monitoring

• Database availability

• Cache hit performance

– buffers, shared pool

• I/O Monitoring

• Resource threshholds

– datafiles, locks, sessions

• Storage problems

– nearing max extents, archive file nearly full

• Monitor any V$sysstat value

®18

Oracle Advanced EventsSystem Monitoring

• System availability

• CPU utilization threshholds

• Paging rates

• Disk full

• Listener down

®

Oracle Diagnostics Pack

Oracle Tuning Pack

Oracle Change Management Pack

all plug into:

Oracle Enterprise Manager

®

Oracle Tuning PackBenefits

• Identify and eliminate performance bottlenecks

• Instill “Consultant Quality” tuning expertise into developers and DBAs

• Increases DBA productivity

• Trains DBAs how to tune

®

Database TuningComplexities

MemoryConfiguration

I/O Operations

DatabaseStructures

ManageDatabase

Space

OptimizerTuning

SQLTuning

DataAccess

Methods

Repeatthe Process!Time? Skills?

Methods?

Consistent Results?

®

The Solution:Oracle Tuning Pack

MemoryConfiguration

I/O Operations

DatabaseStructures

ManageDatabase

Space

OptimizerTuning

SQLTuning

DataAccess

Methods

Repeatthe Process!

Oracle Expert

Oracle SQL Analyze

Oracle Tablespace Manager

®

Oracle Tuning Pack Target Users

• Novice DBAs

– Acquire new tuning skills

– Perform tasks with minimal knowledge

• Senior DBAs

– Customized Tuning Rules

– Advanced Features for problem resolution

• Application Developers

– Test and tune new database code

®

Database Environment Tuning

• Improve DSS query performance

– proper sort area sizing

– use of sort_direct_writes

• Avoid I/O bottlenecks

– optimize database writer processes

• Minimize OPS locking

– Parallel Cache Management

Oracle TuningOracle TuningPackPack

OracleOracleEnterprise ManagerEnterprise Manager

Workload

Operating Environment

DatabaseDatabase

Schema

TuningScripts

DSS Application

®

Application Tuning

• Faster queries by adding new indexes

• Faster updates by eliminating unnecessary indexes

• Pinpoint and Tune high-impact SQL

• Automatically update DB statistics for optimal performance

Oracle TuningOracle TuningPackPack

OracleOracleEnterprise ManagerEnterprise Manager

Workload

Operating Environment

DatabaseDatabase

Schema

TuningScripts

DSS Application

®

Oracle Tuning Pack Oracle Expert

• Automates the tuning process

– data collection and analysis

– tuning recommendations and reports

– implementation scripts

• Uses a Tuning Rules Inference Engine

– Built on advanced internal tuning knowledge

• Applies a consistent set of performance tuning principles, rules & methods

• Customizable, Educational

®

Oracle ExpertMethodology

• Create a “Tuning Session” for the target database

– select session “scope”

– set session Control Parameters

• Collect tuning data

• View and edit data (optional)

• Customize Expert rules settings (optional)

• Analyze data

• Review Tuning Recommendations

• Implement changes

®

Oracle Expert:Server Performance Tuning

®29

Oracle ExpertInference Rules Engine

• Designed by the experts:

– Oracle Server development team

– Consulting and support

– Oracle applications and tools developers

®

Oracle Tuning PackOracle SQL Analyze

• Identifies high impact SQL

• Automates Explain Plan evaluation process

• Compares alternative SQL plans and performance results

• Rewrites SQL

®

SQL AnalyzeProduct Opportunity

• SQL Tuning is complex & time-consuming

– producing plans, gathering stats, etc.

– analyzing explain plans

– testing variations, tracking & comparing results

• SQL Tuning has high payback

– Generally the biggest performance bottleneck

– Greatest return for tuning effort

– Produces tangible, measurable results

®

SQL AnalyzeKey Features

• “TopSQL” - identifies high impact SQL

• Automates Explain Plan creation, walkthrough & step descriptions

• SQL Performance stats and object details

• Easy comparisions of alternative plans and performance results

• Tuning Wizard - evaluates and rewrites SQL

• Saves SQL tuning “work in progress”

• Multi-threaded for multi-DB, multi-user, simultaneous operations

®

Evaluate SQL Execution Performance

• Executes query for selected optimizer mode

• Handles bind variables

• Returns metrics:

– elapsed time, CPU time, memory used

– logical & physical: block reads & sorts

– rows returned, chained rows

– # of database calls & recursive calls

• Averages metrics over # of executes

• View results set

®

Access Index Details from Explain Plans

• What indexes were not used for this query?

• What columns are used by an index?

• Did the query take advantage of a concatenated index, or miss it by not use leading columns?

®

SQL Tuning Wizard - “Rule of Thumb” Tuning

• Initial set of rules

• Examples:

– Enabling indexes

° Moving operations (+, -) from indexed columns

° Using LIKE in place of SUBSTR on indexed columns

– Optimizing anti-joins

° Using NOT EXISTS instead of NOT IN

– Optimizing sorting & grouping

° Using WHERE in place of HAVING

° Using UNION ALL instead of UNION

®

SQL Tuning Wizard - Join Optimization

• SQL Analyze will:

– estimate the cost of different join strategies

° estimate object statistics

° collect typical bind variable values

– propose new new join order & join methods to consider

– create the statement with hints and/or new object ordering

– test the performance of the new statement

®37

Oracle Tuning PackOracle Tablespace Manager

• Graphical view of physical tablespace organization

• Quick access to database structure metrics

• Automated tablespace reorganization

• Automated database statistics generation

®

Oracle Tablespace Manager:Coalesce and View Fragmentation

®

Oracle Tuning Pack Conclusions / Key Points

• Real Oracle tuning “depth & breadth”

• Automated, rule-based tuning

• Built on Oracle’s “internal expertise”

• Covers the major Oracle tuning opportunities

• Value-added for “novice to expert” DBA

• Integrated with Oracle Enterprise Manager

• Logical complement to Oracle Diagnostics Pack

®

Oracle Diagnostics Pack

Oracle Tuning Pack

Oracle Change Management Pack

all plug into:

Oracle Enterprise Manager

®

Oracle Change Management Pack

• Suite to manage complex schema and database changes

• Wizards written in Java

• Integrated with Enterprise Manager

®

Change Management Target Audience

• DBAs:

– Investigate differences between databases

– Upgrade database schemas

– Propagate changes to multiple databases

• Developers:

– Track changes within database

– Upgrade database from development to production

®

Oracle Change Management: Deployment Phase

Define and Plan

Change PlanChange Plan

Select DatabasesSelect Databases

Evaluate Impact

Impact Analysis & Impact Analysis & Script GenerationScript Generation

Implement

ExecutionExecution

®

Oracle Change Management

• Investigate and track changes

– Capture and Compare

• Define and plan changes

– “Super ALTER”; Reproduce; Synchronization

• Evaluate impact

– Impact Analysis reports

• Implement change

– Generate scripts; Execute; Undo changes if necessary

®

Oracle Change Management Pack

Capture the state of a database orschema(s) as a baseline or as DDL

DB Capture

DB Diff

Compare databases, schemas, or baselines. Optionally synchronize objects

Alter single object

DB Quick Change

DB Alter

Alter oneor more objects

Reproduce one or more object definitions

DB Propagate

Plan Manager

Central interface forOracle Change Management Pack

DB Capture

DB Diff

DB Quick Change

DB Alter

DB Propagate

®

Oracle Diagnostics Pack

Oracle Tuning Pack

Oracle Change Management Pack

all plug into:

Oracle Enterprise Manager

®

Download Presentation at:

http://oracle.contigo.com/cyberperf.ppt (Powerpoint 97)

Mike Donlan - [email protected]

Oracle Sales 1.800.633.0584 Ext. 8730

2 for 1 discount on Oracle Management Packs if you mention that you saw this cyber seminar.


Recommended