null  null
ORACLE DATA SHEET
ORACLE TUNING PACK FOR ORACLE
DATABASE
ORACLE TUNING PACK FOR
ORACLE DATABASE
SUPPORTS CONTAINER
DATABASES
KEY FEATURES
 Database Operations Monitoring
 Real-Time SQL Monitoring
 SQL Tuning Advisor
 Automatic SQL Tuning
 SQL Access Advisor
 SQL Profiles
 Object Reorganization
KEY BENEFITS
 Comprehensive solution for
application and SQL tuning that
eliminates need for manual
tuning.
 Provides automatic tuning of SQL
statements.
Oracle Tuning Pack for Oracle Database offers an extremely cost effective and
easy-to-use solution that automates the entire application tuning process.
Enhancement of application performance is achieved through real-time monitoring
of database operations and built-in tuning advisors that are seamlessly integrated
into Oracle Database and Oracle Enterprise Manager. Together these database
management solutions provide a comprehensive solution for automating the complex
and time-consuming task of application tuning.
The Need for Optimized Application Performance Tuning
For database administrators and application developers, application tuning is a critically important
area and a considerable amount of their time is spent performing this very important function. A
poorly tuned business application can potentially affect not just a few users but an entire business
operation and for this reason companies invest significant resources to ensure smooth running of
applications vital for their businesses. However database administrators and developers often use
handcrafted scripts to address application performance issues. Although these scripts may resolve
the symptoms manifested by the issue but it seldom addresses the root cause of a performance
problem. The script-based approach has other inherent shortcomings. It is neither scalable nor does
it stand the test of time as newer versions of the Oracle Database are released. As the number of
databases in an organization increases the management of scripts becomes very tedious and error
prone. Coupled with this, after every database upgrade there is a need to revisit the scripts and
modify them to readjust to the changes in the database performance views.
 Enhances system performance
and reliability and significantly
lowers management costs.
Oracle Tuning Pack 12c
delivers maximum benefits
when used with the following
Oracle products:
With ever-increasing data volume and user load, application performance often gets limited by the
hardware it is running on forcing businesses to expensive hardware upgrades. With appropriate
tuning tools and strategies not only the shelf life of the hardware is extended but also the utilization
of the hardware resources is optimized.
The Oracle Tuning Pack for Oracle database addresses these problems and completely automates
the database tuning process and since the tuning capabilities are built inside the database there is no
impact due to database upgrades. The Oracle Tuning Pack also provides a cost effective solution by
reducing the organization’s spending on hardware resources.
RELATED PRODUCTS
 Oracle Diagnostics Pack
SQL and Database Operations Monitoring
 Oracle Database Lifecycle
The first step in SQL tuning is identifying a poor SQL that is consuming excessive system
resources. Real-Time SQL Monitoring, introduced in Oracle Database 11g, provided a very
efficient way to identify and fix performance problems with long running SQL and PL/SQL
statements. Any SQL statement running in parallel, or consuming at least 5 seconds of CPU or I/O
time in a single execution is automatically monitored. Key performance metrics, including the
elapsed time, CPU time, number of reads and writes, I/O wait time and various other wait times are
automatically captured. But the ability to monitor a combination of SQL and PL/SQL running in a
single session was not available.
Management Pack
 Oracle Real Application
Testing
Real-Time Database Operations Monitoring, a new feature in Oracle Database 12c, combines the
capability to monitor both SQL and PL/SQL and allows an administrator to monitor long running
ORACLE DATA SHEET
database tasks such as batch jobs, ETLs etc. as a composite business operation. Live visual displays
track the progress of SQL and PL/SQL queries associated with the business operation being
monitored. Developers or DBAs can define business operations for monitoring by explicitly
specifying the start and end of the operation or implicitly through the use of tags that identify the
operation.
Figure 1: Real Time Database Operations Monitoring
Oracle Database 12c also introduces the capability to save in-memory Real-Time SQL Monitoring,
Database Operations Monitoring and Real-Time ADDM reports into the Automatic Workload
Repository (AWR) which maintains performance statistics inside the database. This feature allows
the administrator to go back in time and review a monitored execution of a query in the past. This is
very useful in determining performance inconsistencies across executions of a particular SQL
query.
Comprehensive and Transparent SQL Tuning
SQL Tuning Advisor is Oracle’s answer to all the pitfalls and challenges of manual SQL tuning. It
automates the SQL tuning process by comprehensively exploring all the possible ways of tuning a
SQL statement. The analysis and tuning is performed by the database engine’s significantly
enhanced query optimizer. Six types of analysis are performed by the SQL Tuning Advisor:

Statistics Analysis: In this analysis, objects with stale or missing statistics are identified
and appropriate recommendations are made to remedy the problem.

SQL Profiling: This feature, introduced in Oracle Database 10g, revolutionizes the
approach to SQL tuning. SQL profiling tunes SQL statements transparently without
requiring any change to the application code.

Access Path Analysis: In this analysis, the Advisor recommends new indexes that can
significantly enhance query performance.

SQL Structure Analysis: Here, the Advisor suggests re-writes of SQL constructs based
on poorly written SQL that may be the source of performance problems.

Degree of Parallelism: The SQL Tuning Advisor evaluates recommends options to
improve SQL performance by taking advance of the system resources by employing
parallel slaves at certain stages of the execution.

Alternative plans: In this analysis, the SQL Tuning Advisor helps application recover
from SQL query regressions by identifying alternate execution plans using real-time and
historical performance data.
The output of these analyses is in the form of recommendations, along with a rationale for each
recommendation and its expected performance benefit.
2
ORACLE DATA SHEET
The SQL Tuning Advisor offers a powerful, intuitive, and user-friendly way for performing SQL
tuning. Tuning of SQL statements no longer has to be the domain of experts. Oracle has built a
tuning expert inside the database engine to perform this very important function for database
administrators in a fraction of the time and cost needed to carry out the same task manually.
Automatic SQL Tuning
The SQL Tuning Advisor also runs in automatic mode. In this mode, the advisor runs automatically
during system maintenance windows as a maintenance task. During each run, the advisor selects
high-load SQL queries in the system, and generates recommendations on how to tune them.
Figure 2: Automatic SQL Tuning Results Summary
The Automatic SQL Tuning Advisor can be configured to automatically implement SQL profile
recommendations. If you enable automatic implementation, the advisor will create SQL profiles
only for those SQL statements where performance improvement would be at least threefold. Other
types of recommendations such as to create new indexes, refresh optimizer statistics or restructure
SQL can only be implemented manually. DML statements are not considered for tuning by the
Automatic SQL Tuning Advisor.
You can view a summary of the automatic SQL tuning results over a specified period, and can view
a detailed report on recommendations made for all SQL statements processed. A manual process
can then implement the recommendations selectively. You can also view the recommendations that
were automatically implemented.
Optimizing Schema through Access Structure Design
The design of the database schema can have a big impact on overall application performance. SQL
Access Advisor provides comprehensive advice on how to optimize schema design in order to
maximize application performance. The SQL Access and SQL Tuning Advisors together provide a
complete solution for tuning database applications. The SQL Access Advisor accepts input from all
possible sources of interest, such as the database memory i.e. cursor cache, the Automatic
Workload Repository (AWR), any user-defined workload, and will even generate a hypothetical
workload if a schema contains dimensions or primary/foreign key relationships. It
comprehensively analyzes the entire workload and provides recommendations to create new
partitions or indexes, drop any unused indexes, create new materialized views and materialized
view logs. Determining the optimal partitioning or indexing strategy for a particular workload is a
complicated process that requires expertise and time. With Oracle Database 12c SQL Access
Advisor can recommend Range, Hash, Interval and List based partition schemes along with Btree
and Bitmap indexes. SQL Access Advisor considers the cost of insert/update/delete operations in
3
ORACLE DATA SHEET
addition to the queries on the workload and makes appropriate recommendations, accompanied by a
quantifiable measure of expected performance gain as well as scripts needed to implement the
recommendations. The SQL Access Advisor takes the mystery out of access structure design
process. By automating this very critical function; SQL Access Advisor obviates the need for the
error-prone, lengthy, and expensive manual tuning process.
Object Reorganization
Oracle Tuning Pack also provides the ability to reorganize objects. Managing the space usage of
your tablespaces efficiently by removing wasted space is not only a good space management
practice but it also enhances performance by reducing unnecessary disk I/Os. Reorganization is
used for: 1) rebuilding indexes and tables that are fragmented, 2) relocating objects to another
tablespace, and 3) recreating objects with optimal storage attributes.
Contact Us
For more information about [insert product name], visit oracle.com or call +1.800.ORACLE1 to speak to an Oracle representative.
Copyright © 2013, Oracle and/or its affiliates. All rights reserved.
This document is provided for information purposes only, and the contents hereof are subject to change without notice. This document is not warranted to be error-free, nor subject
to any other warranties or conditions, whether expressed orally or implied in law, including implied warranties and conditions of merchantability or fitness for a particular purpose.
We specifically disclaim any liability with respect to this document, and no contractual obligations are formed either directly or indirectly by this document. This document may not
be reproduced or transmitted in any form or by any means, electronic or mechanical, for any purpose, without our prior written permission.
Oracle and Java are registered trademarks of Oracle and/or its affiliates. Other names may be trademarks of their respective owners.
Intel and Intel Xeon are trademarks or registered trademarks of Intel Corporation. All SPARC trademarks are used under license and are trademarks or registered trademarks of
SPARC International, Inc. AMD, Opteron, the AMD logo, and the AMD Opteron logo are trademarks or registered trademarks of Advanced Micro Devices. UNIX is a registered
trademark of The Open Group. 0113
4
Was this manual useful for you? yes no
Thank you for your participation!

* Your assessment is very important for improving the work of artificial intelligence, which forms the content of this project

Download PDF

advertisement