79696

79696



About the SQL Tuning Advisor

The SQL Tuning Advisor examines a givcn SQL statement or a set of SQL statements and provides rccommendations to improve efficicncy. It can make various types of rccommendations. such as crcating a SQL profile (a collcction of information that enables the query optimizer to create an optimal execution plan for a SQL statement), restructuring SQL statements, and refreshing optimizer statistics. SQL Tuning Advisor also enables you to pick an altcmative cxecution plan (stored in AWR) from the past and use it with the SQL statement, and can also recommend degree of parał lei ism profiles. EM Exprcss enables you to accept and implement many of these rccommendations with just a few mouse clicks.

You use the SQL Tuning Advisor to tune a single SQL statement or multiple SQL statements. Typically. you run the SQL Tuning Advisor in response to an ADDM performance finding that recommends its use. You can also run it periodically on the most resource-intensive SQL statements, and on a SQL workload.

When tuning multiple SQL statements, the SQL Tuning Advisor does not recognize interdependencies between the SQL statements. It solves SQL performance problems by identifying problems with individual SQL statements, such as a poorly performing optimizer plan orthe mistaken use of certain SQL structures.

You can run the SQL Tuning Advisor against the following sources:

■Activity—The most resource-intensive SQL statements executed during the last hour that appear on the Activity tab of the Performance Hub that might have caused recent performance problems.

■Historical SQL—A SQL statement from the last day, week, or month that appear on the Activity tab of the Performance Hub when one of the historical settings is sclcctcd in the Select Tinie Period field. Use this option for proactivc tuning of SQL statements.

■Historical SQL from ADDM—A rcsource-intcnsivc SQL statement from an ADDM task that you discover when analyzing a task on the ADDM tab of the Performance Hub.

■SQL statement in SQL Tuning Advisor—A rcsource-intcnsive SQL statement that appears as a tuning task in SQL Tuning Advisor.

■SQL tuning sets (STS)—A set of SQL statements you provide. An STS can be created from SQL statements captured by AWR snapshots or from a SQL workload.



Wyszukiwarka

Podobne podstrony:
essent?rving?79 ABOUT THE AUTHOR Dick Onians, bom in 1940 in a house fuli of books, folk carvings an
3 Thinking about the IELTS Practice Test 1) O You will hear two different extracts of candidates tak
31857 The Knitters Bible4
About the Automatic SQL Tuning Advisor The SQL Tuning Advisor runs automatically during system maint
MySQL Differences from Standard SQL We try to make MySQL Server follow the ANSI SQL standard and the
Selecting SQL Modes The MySQL server can operate in different SQL modes, and can apply these modes d
About the Memory Advisors Adcquatc physical mcmory has a significant impact on thc performance of yo
To start SQL*Plus and connect to the data hast* from the Windows Start nienu: 1.    C
To start SQL*Plus and connect to the database from the conimand linę: 1.    Open a co
SQL Statement: CREATE TABLE Heroes (id int, name varchar(25), siblings int); Edit the SQL Statement,
SQL Statement: SELECT * FROM Categories; Edit the SQL Statement, and click "Run SQL,T to see th
skanuj0011 2 READING a Quickly read the guidebook extract about the London Eye and answer the ąuesti
f17 4 D_Netscape: quiz.html_Employee Handbook    _ FINAŁ QUIZ Hov much do you remembe
image020 EDITOR S NOTĘ For years John W Campbell łokJ anyonc who asked nim about the la-bołs oi odił
img008 (33) Corporate cultureReading Read the following culture statement from a bank and decide whi

więcej podobnych podstron