null  User manual
ORACLE DAT A SHEET
Oracle Enterprise Manager 13c
Cloud Control
ORACLE TUNING PACK FOR ORACLE DATABASE
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.
ORACLE TUNING PACK FOR
ORACLE DATABASE
Together these database management solutions provide a comprehensive
solution for automating the complex and time-consuming task of application
tuning.
SUPPORTS CONTAINER
DATABASES
The Need for Optimized Application Performance Tuning
FEATURES
For database administrators and application developers, application tuning is a critically
•
Database Operations Monitoring
•
Real-Time SQL Monitoring
important function. A poorly tuned business application can potentially affect not just a
•
SQL Tuning Advisor
few users but an entire business operation and for this reason companies invest
•
Automatic SQL Tuning
•
SQL Access Advisor
With ever-increasing data volume and user load, application performance often gets
•
SQL Profiles
limited by the hardware it is running on forcing businesses to expensive hardware
•
In-Memory Advisor
•
Object Reorganization
important area and a considerable amount of their time is spent performing this very
significant resources to ensure smooth running of applications vital for their businesses.
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
KEY BENEFITS
•
Comprehensive solution for
application and SQL tuning that
eliminates need for manual tuning.
•
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.
Provides automatic tuning of SQL
statements.
•
automates the database tuning process and since the tuning capabilities are built inside
Enhances system performance and
reliability and significantly lowers
management costs.
SQL and Database Operations Monitoring
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.
ORACLE DAT A SHEET
Key performance metrics, including the elapsed time, CPU time, number of reads and
RELAT ED PRODUCTS
•
Oracle Diagnostics Pack
•
Oracle Database Lifecycle
Management Pack
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.
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
•
Oracle Real Application Testing
monitor long running 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.
Different 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.
2 | ORACLE TUNING PACK FOR ORACLE DATABASE
ORACLE DAT A SHEET

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.

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.
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.
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.
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.
3 | ORACLE TUNING PACK FOR ORACLE DATABASE
ORACLE DAT A SHEET
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 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.
In-Memory Advisor
Database In-Memory, introduced with Oracle Database 12.1.0.2, is an In-Memory
column store which accelerate database performance by orders of magnitude for
analytics, data warehousing, and reporting while also speeding up online transaction
processing. Part of the Oracle Tuning Pack, the Database In-Memory Advisor analyzes
your workload and makes recommendations on which database objects to place in the
In-Memory column store for optimal performance. The In-Memory Advisor reports on
which objects to place In-Memory and the expected benefit, along with the required
commands to implement the recommendations. The Advisor enables a quick and easy
implementation of Database In-Memory.
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:
4 | ORACLE TUNING PACK FOR ORACLE DATABASE

Rebuilding indexes and tables that are fragmented.

Relocating objects to another tablespace.

Recreating objects with optimal storage attributes.
ORACLE DAT A SHEET
CONTACT US
For more information about Oracle Tuning Pack for Oracle Database, visit oracle.com or call
+1.800.ORACLE1 to speak to an Oracle representative.
CONNECT W ITH US
blogs.oracle.com/oracle
facebook.com/oracle
twitter.com/oracle
oracle.com
Copyright © 2015, 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. 0115
5 | ORACLE TUNING PACK FOR ORACLE DATABASE
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