Using the Oracle Performance Analyzer
Oracle Performance Analyzer creates an ADDM task that analyzes database activity between two points in time (represented by AWR snapshots) and displays the results. Sufficient database activity is required to obtain any tuning recommendations and often this requires many minutes of run time. There are different ways to invoke Oracle Performance Analyzer, depending on the length of time you plan to analyze.
This section covers the following topics:
Analyzing Performance Over Short Periods of Time
Oracle Performance Analyzer includes a timer that automatically creates AWR snapshots and an ADDM task and displays the results. This is useful for shorter periods of time where Visual Studio can remain open during the entire analysis. This is also the simplest way to analyze performance and is a good starting point in learning about Oracle performance tuning features.
To use the Oracle Performance Analyzer timer, perform the following steps:
Analyzing Performance Over Longer Periods of Time
If the period of time being analyzed is so long that Visual Studio may need to be closed, or for more flexibility, you can create AWR Snapshots and ADDM Tasks manually. Manually created AWR snapshots can also be configured to include more statistics than the default.
To analyze performance by manually creating AWR snapshots and ADDM tasks, perform the following:
Viewing Past Performance Analyzer Results
Oracle database stores all performance tuning results in the database as ADDM Tasks. These are available in the ADDM Tasks Server Explorer collection.
To view the results of past Performance Analyzer results, do the following:
- In Server Explorer, select a
SYSDBA
database connection that represents the database that was tuned. - Expand the ADDM Tasks node to reveal individual ADDM Tasks.
- Double-click the ADDM Task of interest, to launch Oracle Performance Analyzer and display the tuning results.
See Also: