Automatic SQL Tuning 11g

Hello

It is a new feature in 11g to tune automatically superior SQL and API - DBMS_SQLTUNE. SET_TUNING_TASK_PARAMETER to specify parameters for it.

I was wondering if there is a view/API where I can see what the current settings are defined (by default after an upgrade).

See you soon,.

Kevin

Hi Kevin

The view dba_advisor_parameters should provide the information you are looking for a...

HTH
Chris Antognini

Troubleshooting Oracle, Apress 2008 performance
http://top.Antognini.ch

Tags: Database

Similar Questions

  • License required for "Automatic SQL Tuning Advisor"?

    I noticed a lot of databases in my company show using a component called "Automatic SQL Tuning Advisor" or "Automatic maintenance - Setup SQL" in DBA_FEATURE_USAGE_STATISTICS.

    Do we know if this component requires a License Pack Tuning or it could be one of the internal out-of-box/system uses that do not require a license?

    Thank you!

    I need a License Pack - Tuning

    Options and Packs

    MOS Doc ID 276103.1

    Best to check with your sales representative

  • Need to learn the code of PL/SQL tuning

    Hi all

    I already asked this question earlier, but the link provided was too difficult to understand, I really grateful if someone suggest me the good and simple link or presentation for mentioned topic question.

    In addition, I just want to learn some basic for this. Appreciate your response. Thank you

    Concerning

    Muzz

    I already asked this question earlier, but the link provided was too difficult to understand, I really grateful if someone suggest me the good and simple link or presentation for mentioned topic question.

    Why PL/SQL tuning?

    The best advice re PL/SQL is to AVOID at all costs. Whenever possible, use SQL.

    It is usually the SQL to be tuned so that sql is autonomous or in code.

    As the major part of PL/SQL uses SQL to get the job done, you will be not successful tuning PL/SQL, unless you set the SQL contained in it.

    Start with the Oracle documentation:

    http://docs.Oracle.com/CD/B28359_01/server.111/b28274/sql_overview.htm

    This chapter deals with the objectives for the development, explains how to identify the high resource SQL statements, which must be collected, offers suggestions of setting and explains how to create SQL test scenarios to solve problems in SQL.

    This chapter contains the following sections:

    Then, learn how to use and interpret what the Wizard Setup of Sql from Oracle can make and provide:

    Update Auto SQL - 11 g Release 2 (11.2)

    17 automatic SQL Tuning

    This chapter examines the SQL Auto setting of the Oracle database features. Automatic tuning of SQL automates the manual process, which is complex, time consuming and repetitive.

    This chapter contains the following sections:

    A lot of questions of PL/SQL, you encounter will be due to one of these things:

    1 poorly written SQL (see SQL tuning above)

    2. use of slow-by-slow (line by line) treatment in a loop

    3. poor use of collections and in bulk of treatment

    4. use of the dynamic sql

    All those who will take you to the SQL itself. The SQL is not set correctly if it is not possible for the PL/SQL to be tuned.

  • That means 1z0-117 oracle 11g sql tuning now say it includes v12 addition v11

    Hello

    I did the 1z0-117 sql tuning review once.

    Not too far away.

    I studied under and turned off for a while.

    I anticipate taking in 1 month.

    However, I just noticed that the oracle site says 1z0-117 also said that v12 is also included for consideration:

    Oracle 11g sql tuning.

    It makes no sense at all.

    Roger

    However, I just noticed that the oracle site says 1z0-117 also said that v12 is also included for consideration:

    Oracle 11g sql tuning.

    Unless you are looking for something I'm not, what actually is the 1Z0-117 page says: "validated against: review has been validated against Oracle Database 11g Release 2 version 11.2.0.1.0 and database Oracle 12 c 12.1.0.1.0"

    What they actually mean by it is that someone went through all the issues and and asked the question "is still a relevant issue for the release of 12 c to Oracle?'." "  If they find issues that are not valid because of an update/change, then the question will be removed from review (or changed) so that someone who has used 12 c but not 11 g will not at a disadvantage.

    This is * No * means that Oracle has added questions to the review of the capabilities that were introduced in version 12 c.

  • There will be a review of certification SQL Tuning 12 c?

    Hello

    I hope soon the SQL Tuning oracle 11g certification exam.

    Certification exam SQL Tuning oracle 12 c comes?

    Thank you


    Sorry - end of the day - my right jumped brain beyond the portion "SQL" to your question.  I seriously doubt that there will be an update to the review of SQL Tuning (1Z0-117) 11 g just for Oracle 12 c.  There is not a lot of change in the way that SQL should be given between 11 billion and 12 c, so a separate trial would be pretty useless.

  • List of the SQL tuning sets without OEM

    Hello.

    I want to know what table is used to store the SQL tuning games/SQL tuning set names. I know that I can easily find the SQL tuning set OEM list, but I want to know about table/dynamic views.

    I Googled it but not able to find the table that stores the sql tuning set of tables.

    Thank you.

    B. Dave

    Try different words in google, I used and had to be included... in google...

    the value SQL tuning oracle dictionary tables

    Auto Tuning SQL

    • Information Advisor views, such as DBA_ADVISOR_TASKS , DBA_ADVISOR_EXECUTIONS , DBA_ADVISOR_FINDINGS , DBA_ADVISOR_RECOMMENDATIONS , and DBA_ADVISOR_RATIONALE views.
    • SQL tuning views of information, such as DBA_SQLTUNE_STATISTICS , DBA_SQLTUNE_BINDS , and DBA_SQLTUNE_PLANS views.
    • SQL Tuning Set views, such as DBA_SQLSET , DBA_SQLSET_BINDS , DBA_SQLSET_STATEMENTS , and DBA_SQLSET_REFERENCES views.
    • Information about captured execution plans for statements in SQL Tuning sets are displayed in the DBA_SQLSET_PLANS and USER_SQLSET_PLANS views.
    • SQL profile information is displayed in the DBA_SQL_PROFILES view. The TYPE parameter indicates if the SQL profile has been created manually by the SQL Setup Assistant (if TYPE = MANUAL ) or automatically by the auto tuning SQL (if TYPE = AUTO ).
    • Progress of enforcement Advisor information are displayed in the V$ADVISOR_PROGRESS view.
  • Setting up automatic SQL point doubt [OCP review]

    Hello

    Sorry for my bad English.


    I am preparing for the review of 11 g OCP.

    To do this, I bought training tools to help me prepare for the exam.

    But, in the chapter on the SQL tuning Advisor, a few explanations really confuse me.

    Excerpt:

    < <

    the auto tuning SQL job runs every night during the maintenance window.

    ( By default, labour made recommendations of profile SQL, them and them if they provide the best performance improvemen automatically implementst test)

    > >

    I was convinced that it was the opposite.

    I check several databases/documentation, and it is still seems to be the opposite.

    By default, the new profile of sql are tested but not automatically implemented (you must set ACCEPT_SQL_PROFILES to TRUE to enable this option)

    But the review is validated on oracle 11.2.0.1, and I 11.2.0.2/11.2.0.3 db available.

    So maybe oracle changed the value of the default setting in the new versions.

    Can someone confirm whether I'm right or not?

    I would rather accept what's in the documentation:

    "If a SQL profile is recommended, the database tests the new profile by running the SQL statement with and without the profile. If improving the performance improves at least three times, then the database accepts SQL profile, but only if the ACCEPT_SQL_PROFILES task parameter is defined on TRUE . Otherwise, automatic tuning reports of SQL simply report the recommendation to create a SQL profile". Auto Tuning SQL

    "If auto execution of SQL Profiler is enabled (only default is disabled), then the database implements all SQL Profiler that promise a great performance benefit. The implementation occurs to the time setting so that the database can immediately benefit from the new plan. You can enable or disable automatic execution using the SET_AUTO_TUNING_TASK_PARAMETER API to set the ACCEPT_SQL_PROFILES parameter. " DBMS_AUTO_SQLTUNE

  • Book for the 1Z0-117 new '11 g SQL Tuning 2'? No mutual FUNDS still available.

    Since 1Z0-117 '11 GR 2 SQL Tuning"is a new review on beta yet, with the exception of Mathew Morris summary is a full review as OPC Oracle Experts corrected reference Guide?

    Is the + "* press of Oracle Database 11g Release 2 Performance Tuning Tips & Techniques *" + sufficient?

    Or I can just look at the topics covered and study them and other resources?

    Thank you

    There is no other specific book tested beyond my guide out yet. Press review of the Oracle that you mention is more adjustment than the setup of SQL server. My site has a bunch of links to articles on the web for relevant topics:

    http://www.oraclecertificationprep.com/Apex/f?p=OCPSG:EXAM_DETAILS:0:no:P2_EXAM:1Z0 - 117

    There is also links to two books, Oracle 11 g R2 database: SQL Tuning and Pro SQL from Oracle. I have not read either, but they were the only books that I could find which seem to cover a reasonable number of subjects ranging from the review.

    The site also contains links to the documentation of oracle, including Performance Tuning Guide VLDB and partitioning Guideand Data Warehousing Guide - which contain significant amounts of the material under test.

  • 1Z0-117: Oracle Certified Expert, Oracle Database 11 g Release 2 SQL Tuning

    Hello

    I failed the exam 1Z0-047 Oracle database SQL Expert"x 3 and will pass the exam in January 2012. I'm sure I'll spend this time :-) to 95%

    Now my question: what's next 1Z0-047? I only know how to leave 1Z0-047. I am SQL scripts to my work, but no DBA work and not of PL/SQL. So I guess that the "Oracle Certified Expert, Oracle Database 11 g Release 2 SQL Tuning" would be the next logical step?

    Is 'Oracle Certified Expert, Oracle Database 11g Release 2 SQL Tuning' too complicated for me (only have knowledge of the exam 1Z0-047). Because I don't have experience with the topics listed in the objectives, for the most part never heard talk about.

    What study guide?

    So I guess that the "Oracle Certified Expert, Oracle Database 11 g Release 2 SQL Tuning" would be the next logical step?

    I agree with you.

    The Oracle 11 g Release 2 database: review SQL Tuning is still in beta at least until November 24, 2012. Beta versions have been known to be extended. Even if this isn't the case, the examination of the production is not available before mid-January 2013 about. I had one experience with a beta. I hated and will never be another. There is little reason to do so, and most importantly (reduced cost) is not important to me because my company reimburses the cost of my essay, so I don't really care about the savings. They take several times longer to complete and I was a mess at the time that I finished that I did with a headache roaring through a large part of the review.

    That said - answering your question:

    1Z0-047 is a really complicated test. The questions and answers are designed to mislead. There is a reason for that. SQL, by its very nature, is a fairly simple language. Part of its appeal, is that it is easy to understand and write. If the people who wrote the essay was not gone to their best to make the deliberately convoluted SQL code, then it would not have required skills 'experts' to pass. It is much more difficult to read and diagnose poorly written SQL as well written SQL.

    I also took the test Application Express Expert: 1Z0-450. The questions that it were not written in a deliberately confusing manner. However, they had need intimate knowledge of the interface of the Apex. Because it was possible to write questions 'hard' without having to make them deliberately more obscure, the questions were simpler. I did not review SQL Tuning (as I said... no more betas for me), but I suspect that it will be similar to 1Z0-450 has enough information "at the level of experts" to write questions on that test will not attempt to write "hard" questions

    Is 'Oracle Certified Expert, Oracle Database 11g Release 2 SQL Tuning' too complicated for me.
    Because I don't have experience with the topics listed in the objectives, for the most part never heard talk about.

    Not sure what is in the test. This is excellent news. Student for the test will teach you a lot of new things about writing and tuning SQL. In my posts, a concept is repeated again and again. The value of certification is not make a piece of paper to stick in a workbook. The value comes to what new skills you gain in is about to pass the test. If you do not know the information and that you are not studying for the test, Yes, you will not pass. If you prepare for the test until you do understand the objectives, then you should be able to pass the test.

    What study guide?

    None does not yet exist. There is no doubt that I will write a review study guide. It won't be until some time after the test is in production. I do not publish guides for which I hold the certification. Do not wait for good. You can use the same exact source, I will use in his creation - the Oracle documentation. I guarantee you that all topics on the unique OE page and every single question that is under review are answered somewhere in the documentation.

  • SQL Tuning for Exadata

    Hello

    I would like to know specific to Oracle exadata SQL Tuning methods so that they could improve the performance of the database?
    I am aware that oracle exadata works with Oracle 11 g, but I would like to know weather there any s w.r.t. to SQL tuning on exadata?

    concerning
    Sunil

    Well, there are some things that are very different on Exadata. Remember all the standard Oracle SQL tuning you have already learned as Exadata runs the code of database 11g standard, but there are many optimizations that were added that you should be aware of. At a high level, if you make the OLTP type work you should try to make sure you enjoy Exadata Smart Flash Cache that will greatly accelerate your small I / O of the but long-running queries are where appear the great benefits. The high level tuning approach for them is the following:

    1. check if you have found smart Scans.
    2. If you are not, difficulty that never prevents them being used.

    We have been involved in somewhere between 25-30 DB now machinery facilities and in many cases, a little bit of effort changes performance considerably. If you get only 2 to 3 X improvement on your previous platform on these long term requests you get probably not all the benefits of the Exadata optimizations. So the first step is to learn how to determine if you've found the smart analysis or not, and what parts of the statement. Wait events, session statistics, V$ SQL, SQL monitoring are viable tools that can show you this information.

  • Automatic SQL (cards), how interrogate?

    Hi everyone, I am trying to use the automatic SQL (cards) instead of the explicit SQL and it is very easy to write and read from the database simply write the column name and binding it... but... How can I query with this type of connection?

    for example, I have a table with

    -DateTime

    -Result (OK, KB)

    and I want to get only the OK value in a date.

    With explicit SQL I would have

    SELECT * FROM [TableName] WHERE DateTime BETWEEN 00.00.00 # #2016-03-01 AND 00.00.00 # #2016-03-02 AND WHERE result = OK

    But how to do it with the automatic SQL (cards)?

    Thank you

    Hi Holly,

    This document is useful? http://zone.NI.com/reference/en-XX/help/370502D-01/cvisqlref/usingautosqlmaps/

    Kind regards.

  • SQL Tuning sets and SQL Tuning Advisor.

    Hello

    We run oracle11g r2 where under win server 2008 R2.

    How can I find out when Tuning SQL and SQL Tuning games advisors are enabled in my database.

    Is Oracle11g has default setting YES for this tuning packs

    Thank you

    It seems you found somone activated of sets and the setting of advisers.  as others have said, theyre part of the D & T and theyre always there but only, you become eligible for a permit after that you use.   This will tell you the first time they have been used if at all, the key here for you field be FIRST_USAGE_DATE that must be completed only if detected_usages > 0

    fixed lines 180

    Col name format a30

    SELECT name, version, detected_usages, FIRST_USAGE_DATE, last_usage_date

    of DBA_FEATURE_USAGE_STATISTICS

    where upper (NAME) like '% % TUNING '.

  • Wonder if I do 1z0-064 12 c perf and tuning instead of 11 g sql tuning?

    Hello

    Wonder if I do 1z0-064 12 c perf and tuning instead of 11 g sql tuning?

    I spent so much time studying from 11 g sql tuning.

    Basically, I used the book of oracle for it certification preparation.

    I don't have the funds that I used to.

    All thoughts.

    I guess there is a lot of overlap between 1z0 - 117 and 1z0 - 064.

    I wonder if Oracle will never provide 20% discount for 12 c perf and tuning.

    Did anyone will ever write a certification for this book.

    Thank you Roger

    user6862024 wrote:

    Wonder if I do 1z0-064 12 c perf and tuning instead of 11 g sql tuning?

    I wonder if Oracle will never provide 20% discount for 12 c perf and tuning.

    Oracle gives RARELY given to reviews.  They can provide a discount on a package bundled (say buy a certification exam voucher and they will dismiss a practical review of 1 of 2 certified vendors: Self Kaplan or transcend.).

    user6862024 wrote:

    Did anyone will ever write a certification for this book.

    Well, the main author who is not written of Oracle Press books, is Matthew Morris who wrote study guides specifically for the Oracle Certification exams.

    His site is here--> Prep of Oracle Certification

    And there you will see that a link for any study of his guide at the top right.

    And it also provides links to study materials to review you're looking for.  --> Oracle Certification Prep: details of the examination and resources in preparation for 1Z0 - 064

    Currently, it is NOT a guide for exam 1Z0-064, but it may be trying to write a.  I don't know that Matthew will respond as it usually check this subforum.

  • additional licenses set forth for the use of Sql Tuning Advisor in SQL Developer 4.0.3

    Hello

    We have the Oracle 11 g Enterprise Edition Release 11.2.0.3.0 database. Do we need to acquire an oracle license extra for using SQL Tuning Advisor Option in SQL Developer 4.0.3

    No, they are installed by default.

    They must be licensed.

    Consult your contract or talk to your account manager Oracle for clarification.

  • Need your help for sql tuning


    Hi gurus

    I really want to learn a few basics against SQL tuning, can you please guide me how will I achieve my goal? Thanks in advance.

    Concerning

    Shu

    I am professional tuner and this for 20 years. Firstly, I think that the best way is always a course with instructor. In other words, you can't ask for books. You have no need to read tuning guide in this case, the instructor he will tell you. If the time and the budget does not allow you a course, you can go online or material and DVD tutorial. As a next steop I would recommend Cary Milsap's "Optimizing Oracle Perforamance". I'll be your right mind game. Jonathan and Chris books you must have if you do practical work. You don't need to read all the chapters in detail from the beginning, but you should check out them if you have any questions when you work on a tuning tasks. If you want to go more advanced subjects discover Wolfgang Breitlings presentation on http://www.centrexcc.com/. Very valuable are also Throw away method of Martin Berg and the SQL Diagraming of Daniel Tow technique.

Maybe you are looking for

  • Impossible to print the web page in Firefox

    Since the evolution of the browser Firefox as my default browser, I can't print. Works very well with Explorer, but not Firefox. I printed a test page and printer removed OK. I made sure that my printer is selected, and I also tried the suggestion of

  • iMac is not deleting the photos after deleting other appliances?

    I've recently upgraded to the 50 GB iCloud account and use it with my iPhone, the iPad, the MBP and iMac. So far when I remove a photo of one of the devices he removes other except my iMac. I have a lot of old photos on my iMac which are no longer in

  • My downloads of file is large, I want to return to small, how can I do?

    I had my downloads folder open to send to someone and I clicked in the middle of the record and it's it's huge. I want to small, but I don't know how. Any help would be appreciated. I tried to do a little myself, but nothing helped.

  • Questions 2 Smartphones blackBerry on PRIV

    Having my new PRIV for about a month now and I really like this phone. I read as much as I could on all related Articles Priv and the available forums. I have two questions: 1. the bar notification icons. At the top right, you get the usual time, bat

  • Login page design need help!

    Hello This is my second thread about this, I am new to the blackberry development. I developed a form with two fields, a field and field a password. which I use as login page. I wonder how I can configure these two fields in the center of the shape a