Tuning Advisor error

Hi all

Oracle 11.2.0.3

IBM Aix box

I ran sql tuning advisor manually by using procedure

sample procedure:

() DBMS_SQLTUNE.create_tuning_task

begin_snap = > 139758,

end_snap = > 139762,

sql_id = > "ct4u2889m1458"

scope = > DBMS_SQLTUNE.scope_comprehensive,

time_limit = > 60,

Task_Name = > 'Settings')

I got the message from PL/SQL procedure successfully completed.

Then I performed the task of tuning created using the procedure

EXEC DBMS_SQLTUNE.execute_tuning_task (TaskName = > 'settings');

Once again received message as PL/SQL procedure successfully completed.

But when I query using SELECT * FROM dba_advisor_log WHERE task_name = "_tuning";

I got this output in the respective, INTERRUPTED, ORA-13639 column: the current operation was interrupted because it has expired.

Any idea or suggestion, why im getting this error, should I get the FINISHED status. I even tried to increase the values of time_limit, but still no go...

Kind regards

I increased the parameter time_limit to half an hour. and his filled and got the sql tuning report...

Thank you

Tags: Database

Similar Questions

  • SQL Tuning Advisor error

    I wanted to use the SQL in the SQL worksheet setting feature. The DBA privilege me ADVISE system. But when I tried to use the feature, I get the following errors:
    An error was encountered performing the requested operation:
    
    ORA-06550: line 20, column 101:
    PLS-00103: Encountered the symbol "ANYDATA" when expecting one of the folllowing:
    
    .(),*%&=-+</> at in is mod remainder not rem
    <an exponenet (**) <> or != or ~= >= <> and or like LIKE2_
    LIKE4_LIKEC_between|| multiset member SUBMULTISET_
    The symbol "." was substituted for "ANYDATA" to continue.
    ORA-6550: line 20, column 140:
    PLS-00103: Encountered the symbol "ANYDATA" when expecting one of the folllowing:
    
    .(),*%&=-+</> at in is mod remainder not rem
    <an exponenet (**) <> or != or ~= >= <> and or like LIKE2_
    LIKE4_LIKEC_between|| mul
    ORA-6550:line 20, column 179:
    PLS-00103: Encountered the symbol "ANYDATA" when expecting one of the folllowing:
    
    .(),*%&=-+</> at in is mod remainder not rem
    <an exponenet (**) <> or != or ~= >= <> and or like LIKE2_
    LIKE4_LIKEC_between|| multiset
    06550,00000 - "line %s, column %s:\n%s"
    *Cause: Usually a PL/SQL compilation error.
    *Action:
    Vendor code 6550
    Then I get this right after the other:
    An error was encountered performing the requested operation:
    
    
    ORA-13605: The specified task or boject staName12325 does not exist for the current user.
    ORA-06512: at "SYS.DBMS_SYS_ERROR", line 86
    ORA-06512: at "SYS.PRVT_ADVISOR", line 4841
    ORA-06512: at "SYS.DBMS_SQLTUNE", line 1093
    ORA-06512: at line 2
    13605.0000 - "The specified task or object %s does not exist for the current user."
    *Cause:   The user attempted to reference an advisor task or object
        using a anme that does not exist in the Advisor repository.
    *Action:  Adjust the name and retry the operation.
    Vendor code 13605
    Can someone help me please? I'm not a DBA, so I confused these error codes.

    Oracle SQL Developer 3.0.04 Build hand - 04.34
    Oracle Database 10g Enterprise Edition Release 10.2.0.5.0

    Robert

    Hi Robert,.

    SQL Setup seems stifling bind variables of your query clause-BETWEEN to_date function. Substitute a literal date string, and it seems to handle well. What is a solution?

    I ping the responsible developer and I hope he has time to investigate and to connect to a bug.

    Kind regards
    Gary Graham
    SQL development team

  • time limit tuning advisor

    Hi all

    can you please, I'm looking for what a sql tuning advisor working time is fixed in my database and how can we increase this time? .i was using sql tuning advisor but after 30 minutes I m getting error like expired .your help will be appreciated.

    Thank you and best regards.

    941949 wrote:

    BEGIN

    DBMS_SQLTUNE. SET_AUTO_TUNING_TASK_PARAMETER (parameter-online 'TIME_LIMIT', value-online '7200');

    END;

    /

    Above a sets the deadline for the work of automatic tuning, this database run by the scheduled window. This will not effect on tuning sql id 14qd246jumhsh.

    941949 wrote:

    Full steps what I m try are below.so, please say where I m made a mistake.

    Set serveroutput on

    set linesize 200

    set of 2000 pages

    Set longchunksize long 1000000 1000;

    Task_Name variable varchar2 (100);

    Start

    : task_name: = dbms_sqltune.create_tuning_task (sql_id => '& SQL_ID');

    dbms_sqltune.execute_tuning_task (task_name =>: task_name);

    end;

    You must mention the time_limit parameter in the above procedure: dbms_sqltune.create_tuning_task - when the task was created. There is an example here: ORACLE-BASE - database Oracle 10 g automatic SQL Tuning and Automatic SQL Tuning as well.

  • 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.

  • 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

  • Tuning Advisor - recommendations

    Dear Experts,

    11.2.0.3 RDBMS - I ran Setup SQL for a statement and see the three recommendations:

    -Collect statistics for a table
    -Implement the SQL - 99% of shows benefits profile
    -Creating an Index - shows about 78% benefit.

    Tuning advisor recommends that a recce to implement. We should I be implemented? Also, with the SQL profile I see 'force match' option, what it means? Appreciate your help...

    Thank you

    Hello

    Profile SQL is generally less preferable because
    (1) fixed single query
    (2) it arranges without understanding the nature of the underlying problem, i.e. There is always risk of returning question in one way or another

    On the option 'force game' - it just means that the profile will apply not only to the sql_id you specify, but also all other sql_id which the SQL text differs only in the values of literals. For example if you create a SQL profile for

    select col1 from tab1 where col2 = 'A'
    

    then by default will not affect the plan of

    select col1 from tab1 where col2 = 'B'
    

    but with strength match option, the profile would apply to these two statements.

    About creating index - you need to evaluate the benefits for this and other queries on the cost (slower DML, increased consumption of disk space). How to set up SQL cannot do this for you.

    Best regards
    Nikolai

  • SQL tuning advisor recommnds to create the function SYS_OP_C2C function index

    I have a large table and an index on it. I use a tool to fill data, this simple tool submits the sql for Oracle DB and it does NOT index to use for requests. When I run the sql tuning advisor, he recommends to create additional indexes and use the SYS_OP_C2C function, which I don't want.

    When I run the query through sql plus picks it up in the index.
    Someone of you came, why its recommend that additional nonsense?

    create index abc.xxxx on this_table (SYS_OP_C2C ("this_column"));

    Thank you

    The internal Oracle SYS_OP_C2C function perform the conversion of a set of characters to another set of characters - C (haracterSet) 2 c (haracterSet). There are situations where you will see this conversion without explicit, as in this case command that should be a sign that the data types are not the same and the implicit conversion takes place and this could also be a problem from the point of view performance because it can disable the use of the index.

    Make sure you the characterset and nls set of all of the database and the tool are the same.
    Make sure that the data type of the column in the index is the same as the database.
    Confirm the ETL vendor for your database support and fixes, etc..

    Optimizer will only advise to use this function when the data type or the character set does not match.

    Thank you
    Kerry

  • Package DBMS_ADVISOR can be used for SQL Tuning Advisor?

    Package DBMS_ADVISOR can be used for SQL Tuning Advisor?

    It seems that the DBMS_ADVISOR package is responsible for the workload and SQL Access Advisor of related tasks. Package DBMS_SQLTUNE is responsible for setting up SQL and SQL set related tasks.

    Jetq

  • SQL Tuning Advisor on a select Question

    Hi all.
    10.2.0.4 RAC
    I have a select sequential reading of file db high. I used sql tuning advisor on OEM, and the Adviser show me these recommendations:
    RECOMMENDATIONS
    ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
    GENERAL INFORMATION SECTION
    -------------------------------------------------------------------------------
    Tuning Task Name                  : SQL_TUNING_1266335308111
    Tuning Task Owner                 : SYSTEM
    Scope                             : COMPREHENSIVE
    Time Limit(seconds)               : 1800
    Completion Status                 : COMPLETED
    Started at                        : 02/16/2010 16:48:44
    Completed at                      : 02/16/2010 16:50:06
    Number of SQL Profile Findings    : 1
    
    -------------------------------------------------------------------------------
    Schema Name: CRM
    SQL ID     : b7cd8jntqpcgu
    SQL Text   : select * from ( select this_.ENVIO_ID as ENVIO1_33_0_,
                 this_.NOMCLIENTE as NOMCLIENTE33_0_, this_.NOMCONTACTO as
                 NOMCONTA3_33_0_, this_.APLICACION_ID as APLICACION4_33_0_,
                 this_.PRIORIDAD as PRIORIDAD33_0_, this_.MEDIO as MEDIO33_0_,
                 this_.MEDIO_VALOR as MEDIO7_33_0_, this_.ESTADO as ESTADO33_0_,
                 this_.ESTADO_DESC as ESTADO9_33_0_, this_.FEC_PREVISTA as
                 FEC10_33_0_, this_.FECHA_ENVIO as FECHA11_33_0_,
                 this_.REC_CLIENTE as REC12_33_0_, this_.FECHACREA as
                 FECHACREA33_0_, this_.FECHAMODIF as FECHAMODIF33_0_,
                 this_.FLAGBLOQUEO as FLAGBLO15_33_0_, this_.FLAGBORRADO as
                 FLAGBOR16_33_0_, this_.COMENTARIOS as COMENTA17_33_0_,
                 this_.HORAENVIO as HORAENVIO33_0_, this_.EMISOR as EMISOR33_0_,
                 this_.IDENTIFICADOR as IDENTIF20_33_0_, this_.MEDIO_VALOR_DESC
                 as MEDIO21_33_0_, this_.DEBUG_TRACE as DEBUG22_33_0_,
                 this_.FORMULARIO_ID as FORMULARIO23_33_0_, this_.CAMPANYA_ID as
                 CAMPANYA24_33_0_, this_.CONTACTO_ID as CONTACTO25_33_0_,
                 this_.USUARIOCREA as USUARIO26_33_0_, this_.USUARIOMODIF as
                 USUARIO27_33_0_, this_.CLIENTE_ID as CLIENTE28_33_0_,
                 this_.CAMPPOS_ID as CAMPPOS29_33_0_, this_.ACTIVIDAD_ID as
                 ACTIVIDAD30_33_0_, this_.TAGCLICONEXT_ID as TAGCLIC31_33_0_ from
                 CRM.CRM_ENVIOS this_ where this_.MEDIO=:1 and this_.ESTADO=:2
                 and this_.FECHA_ENVIO<=:3 order by this_.ENVIO_ID asc ) where
                 rownum <= :4
    
    -------------------------------------------------------------------------------
    FINDINGS SECTION (1 finding)
    -------------------------------------------------------------------------------
    
    1- SQL Profile Finding (see explain plans section below)
    --------------------------------------------------------
      A potentially better execution plan was found for this statement.
    
      Recommendation (estimated benefit: 99.43%)
      ------------------------------------------
      - Consider accepting the recommended SQL profile.
        execute dbms_sqltune.accept_sql_profile(task_name =>
                'SQL_TUNING_1266335308111', replace => TRUE);
    
    -------------------------------------------------------------------------------
    ADDITIONAL INFORMATION SECTION
    -------------------------------------------------------------------------------
    - The optimizer could not merge the view at line ID 2 of the execution plan.
      The optimizer cannot merge a view that contains an "ORDER BY" clause unless
      the statement is a "DELETE" or an "UPDATE" and the parent query is the top
      most query in the statement.
    
    -------------------------------------------------------------------------------
    EXPLAIN PLANS SECTION
    -------------------------------------------------------------------------------
    
    1- Original With Adjusted Cost
    ------------------------------
    Plan hash value: 3505713201
    
    ----------------------------------------------------------------------------------------------
    | Id  | Operation                     | Name         | Rows  | Bytes | Cost (%CPU)| Time     |
    ----------------------------------------------------------------------------------------------
    |   0 | SELECT STATEMENT              |              |     1 |  4416 |   604K  (1)| 02:00:53 |
    |*  1 |  COUNT STOPKEY                |              |       |       |            |          |
    |   2 |   VIEW                        |              |     1 |  4416 |   604K  (1)| 02:00:53 |
    |*  3 |    TABLE ACCESS BY INDEX ROWID| CRM_ENVIOS   |     1 |   352 |   604K  (1)| 02:00:53 |
    |   4 |     INDEX FULL SCAN           | SYS_C0020438 |  2718K|       |  8153   (1)| 00:01:38 |
    ----------------------------------------------------------------------------------------------
    
    Predicate Information (identified by operation id):
    ---------------------------------------------------
    
       1 - filter(ROWNUM<=:4)
       3 - filter("THIS_"."MEDIO"=:1 AND "THIS_"."ESTADO"=:2 AND
                  "THIS_"."FECHA_ENVIO"<=:3)
    
    2- Using SQL Profile
    --------------------
    Plan hash value: 3391889105
    
    ------------------------------------------------------------------------------------------------------
    | Id  | Operation                      | Name                | Rows  | Bytes | Cost (%CPU)| Time     |
    ------------------------------------------------------------------------------------------------------
    |   0 | SELECT STATEMENT               |                     |     1 |  4416 |  3431   (1)| 00:00:42 |
    |*  1 |  COUNT STOPKEY                 |                     |       |       |            |          |
    |   2 |   VIEW                         |                     |     1 |  4416 |  3431   (1)| 00:00:42 |
    |*  3 |    SORT ORDER BY STOPKEY       |                     |     1 |   352 |  3431   (1)| 00:00:42 |
    |*  4 |     TABLE ACCESS BY INDEX ROWID| CRM_ENVIOS          |     1 |   352 |  3430   (1)| 00:00:42 |
    |*  5 |      INDEX SKIP SCAN           | APLICACIONENVIO_IDX |     1 |       |  3429   (1)| 00:00:42 |
    ------------------------------------------------------------------------------------------------------
    
    Predicate Information (identified by operation id):
    ---------------------------------------------------
    
       1 - filter(ROWNUM<=:4)
       3 - filter(ROWNUM<=:4)
       4 - filter("THIS_"."MEDIO"=:1 AND "THIS_"."FECHA_ENVIO"<=:3)
       5 - access("THIS_"."ESTADO"=:2)
           filter("THIS_"."ESTADO"=:2)
    
    -------------------------------------------------------------------------------
    I think the main problem is the order, but when I run autotrace traceonly without order by the plan of the explain command is diferent to advise:
    SELECT *
      2    FROM (SELECT this_.envio_id AS envio1_33_0_,
      3                 this_.nomcliente AS nomcliente33_0_,
      4                 this_.nomcontacto AS nomconta3_33_0_,
      5                 this_.aplicacion_id AS aplicacion4_33_0_,
      6                 this_.prioridad AS prioridad33_0_, this_.medio AS medio33_0_,
      7                 this_.medio_valor AS medio7_33_0_, this_.estado AS estado33_0_,
      8                 this_.estado_desc AS estado9_33_0_,
      9                 this_.fec_prevista AS fec10_33_0_,
     10                 this_.fecha_envio AS fecha11_33_0_,
     11                 this_.rec_cliente AS rec12_33_0_,
     12                 this_.fechacrea AS fechacrea33_0_,
     13                 this_.fechamodif AS fechamodif33_0_,
     14                 this_.flagbloqueo AS flagblo15_33_0_,
     15                 this_.flagborrado AS flagbor16_33_0_,
     16                 this_.comentarios AS comenta17_33_0_,
     17                 this_.horaenvio AS horaenvio33_0_, this_.emisor AS emisor33_0_,
     18                 this_.identificador AS identif20_33_0_,
     19                 this_.medio_valor_desc AS medio21_33_0_,
     20                 this_.debug_trace AS debug22_33_0_,
     21                 this_.formulario_id AS formulario23_33_0_,
     22                 this_.campanya_id AS campanya24_33_0_,
     23                 this_.contacto_id AS contacto25_33_0_,
     24                 this_.usuariocrea AS usuario26_33_0_,
     25                 this_.usuariomodif AS usuario27_33_0_,
     26                 this_.cliente_id AS cliente28_33_0_,
     27                 this_.camppos_id AS camppos29_33_0_,
     28                 this_.actividad_id AS actividad30_33_0_,
     29                 this_.tagcliconext_id AS tagclic31_33_0_
     30            FROM crm.crm_envios this_
     31               where this_.estado = 'Enviado'
     32           and this_.medio = 3482 AND this_.fecha_envio <= '02/04/10 00:00:00')
     33   WHERE ROWNUM <= 500;
    
    no rows selected
    
    
    Execution Plan
    ----------------------------------------------------------
    Plan hash value: 1577868436
    
    ------------------------------------------------------------------------------------------------
    | Id  | Operation                    | Name            | Rows  | Bytes | Cost (%CPU)| Time     |
    ------------------------------------------------------------------------------------------------
    |   0 | SELECT STATEMENT             |                 |   500 |   171K|  2425   (1)| 00:00:30 |
    |*  1 |  COUNT STOPKEY               |                 |       |       |            |          |
    |*  2 |   TABLE ACCESS BY INDEX ROWID| CRM_ENVIOS      |   500 |   171K|  2425   (1)| 00:00:30 |
    |*  3 |    INDEX RANGE SCAN          | ESTADOENVIO_IDX |       |       |   104   (0)| 00:00:02 |
    ------------------------------------------------------------------------------------------------
    
    Predicate Information (identified by operation id):
    ---------------------------------------------------
    
       1 - filter(ROWNUM<=500)
       2 - filter(TO_NUMBER("THIS_"."MEDIO")=3482 AND "THIS_"."FECHA_ENVIO"<='02/04/10
                  00:00:00')
       3 - access("THIS_"."ESTADO"='Enviado')
    
    
    Statistics
    ----------------------------------------------------------
              1  recursive calls
              0  db block gets
         138277  consistent gets
          45240  physical reads
              0  redo size
           2629  bytes sent via SQL*Net to client
            488  bytes received via SQL*Net from client
              2  SQL*Net roundtrips to/from client
              0  sorts (memory)
              0  sorts (disk)
              0  rows processed
    I was looking for a way to see who wear's Advisor using his plan, but didn't see a way of knowing on docs, or at least I have not found it.
    Can someone show me that some light on what changes made Advisor to select to reach that way, or how can I watch this that select uses?
    Any help will be appreciate
    Thank you

    The Adviser does not create a new SQL statement - what it has done is create a SQL profile - to accept SQL profile for the task of tuning above:

        execute dbms_sqltune.accept_sql_profile(task_name =>
                'SQL_TUNING_1266335308111', replace => TRUE);
    

    as mentioned in the above report...

    A sql profile applys tips for change (correct) the cost of certain operations - and, to change the execution path chosen by the optiimizer.

  • HP Advisor error

    Recently, I got an error trying to open HP Advisor:

    An error has

    The object initialization failed (ISupportInitialize.EndInit). Invalid URI: the format of the URI could not be determined. Error at object "Advisor.MainFrame.Windows.DockViewWindow HP" in the file'H{Advisor;component/windows/dockviewwindow.xaml tag '.

    Any suggestions?

    If you have Windows 7 or Vista, download and install this software update.

    http://h10025.www1.HP.com/ewfrf/wc/softwareDownloadIndex?softwareitem=PV-85800-1&cc=us&LC=en&DLC=en

    .

  • 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 '.

  • Tips for Tuning SQL error om

    Hi guys,.

    There is an error when switching to SQL Tuning Tips Top SQL compared to expected.
    the error is:
    ORA-13607: The specified task or object id sql_id_tuning_task_SD already exists 
    Normally this task should be done by SqlDeveloper, ain't it?
    What can I do?

    10 x Florin

    Hi Florin,

    I'm sorry that I misinterpreted your question in my previous answer. Of course, you don't talk about setting SQL as run from a worksheet, but rather discovers reports | Reports of data dictionary. Administration of databases | Top of page SQL | Top of page SQL of Waits. You selected a specific line (SQL statement) of the top SQL grid waits, then tried to pass to the sql tuning tips of the pane tab below.

    The sql_id_tuning_task_SD must have been deleted automatically at the end of the previous call to this tab somehow, it not deleted. Have test you this feature on two copies of the SQL Developer at the same time? Probably not.

    Anyway, as noted above, use dbms_sqltune.drop_tuning_task to work around the problem.

    Kind regards
    Gary

  • Tuning advisor Essbase / statistics Viewer?

    Hello

    Is there a tool that can help me fine tune my calculation scripts / business rules? I would like to know for example, how many blocks is affected with a few patches, or accurate members where a fix calculation will have effect if I used a function such as @Ancestors or @Children within a patch.

    It would be to do some tests and check the time they take calculation.

    Thank you
    I would like to know for example how many blocks is affected with a couple of fixes

    ^ ^ ^ SET MSG SUMMARY or SET of DETAILS of MSG and the application log will tell you that. It's kind of a pain to work with, but that's all what he.

    Kind regards

    Cameron Lackpour

  • Manual sql tuning advisor

    Hi all

    10g R2 on solaris 10

    task created as:
    declare
    my_task_name varchar2(30);
    my_sqltext clob;
    begin
    my_sqltext:='insert   into tabsbgr.PREP_FIRST_CALL_LAT SELECT  MIN(TRUNC(I.TRANSDATE)) "TRANSDATE", c.subno , c.contrno, c.prepost_paid,c.tariff_profile,DECODE(num_type, ''P'',''Platinium'',''G'',''Golden'',''S'',''Silver'',''B'',''Bronze'',''V'',''Regular'',num_type) NUMBER_TYPE, TRUNC(C.CREATION_DATE) "Activation Date",Sysdate "Idate",null,null FROM crm_user_info c, incalls i WHERE c.subno = i.subno AND C.PREPOST_PAID =''PREP'' AND c.subno LIKE ''5%'' AND ( c.subno NOT IN (SELECT subno FROM tabsbgr.PREP_FIRST_CALL_LAT l2 where l2.subno = c.subno and l2.termination_date is null ) or (c.subno in (SELECT subno FROM tabsbgr.PREP_FIRST_CALL_LAT l1  where c.subno = l1.subno and l1.termination_date < trunc(i.transdate) AND TERMINATION_DATE IS NOT NULL AND  L1.SUBNO NOT IN   (SELECT subno FROM tabsbgr.PREP_FIRST_CALL_LAT l3 where l3.subno = L1.subno and l3.termination_date is null ) ))) GROUP  BY c.subno , c.contrno, c.prepost_paid,c.tariff_profile , NUM_TYPE,TRUNC(C.CREATION_DATE)';
    my_task_name := dbms_sqltune.create_tuning_task (
    sql_text  => my_sqltext,
    user_name => 'TABS',
    scope     => 'COMPREHENSIVE',
    time_limit => 60,
    task_name => 'my_sql_tuning_task_feb',
    description => 'Task to tune a query for final');
    end;
    /
    run the same:
    begin  
    dbms_sqltune.execute_tuning_task( task_name => 'my_sql_tuning_task_feb');  
    end;  
    /  
    When selects the data as
    SELECT DBMS_SQLTUNE.REPORT_TUNING_TASK( 'my_sql_tuning_task_feb') from DUAL; 
    It's displaying the below info (with results)
    DBMS_SQLTUNE. REPORT_TUNING_TAS
    --------------------------------------------------------------------------------
    GENERAL INFORMATION SECTION
    ----------------------------------------------------
    When am running thorough db console, it works fine.(recommended to accept the sql profile) though I accepted it,the problem is the optimzer couldn't ifnd the sql profile when it runs the next time. SO iI decided to run it manually to attach the sql profile to the  sql query..
    
    Any idea why SELECT DBMS_SQLTUNE.REPORT_TUNING_TASK( 'my_sql_tuning_task_feb') from DUAL; not displaying any records ?..where as the same in dbconsole is giving the recommendations ?
    
    Thanks
    
    Kai                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    

    Just a guess. Took you LONG to a large enough value?

  • access SQL vs tuning question Advisor

    I am trying to understand a question which is:

    Which of the following identifies and creates an index to reduce the time of the DB for a given SQL statement?

    (a) SQL Tuning Advisor
    (b) SQL Access Advisor

    I think the right answer is a) tuning advisor, because it is for a given SQL statement and it can also be configured to automatically create an index when it runs over the extensible standard maintenance task. However, the marked answer is b) Access Advisor. That which is correct and why?

    Thank you!

    Waldrfm,

    I guess this question of OCP is also asking if STA or SAA make recommendations in terms of DB Time (%) or the cost of the workload (%).

    When you look at the details of STA recommendation, it is show recommendations by times of DB (which includes the DB service time + queue DB time) *, in particular for each SQL statement.

    However, when you look at the details of recommendation of SAA, is show the recommendations by improving Total cost (which is the cost of CBO, SUM (IO + CPU)). * instead of DB self time

    SQL statement.

    For example,.

    When you tune in 10 identified SQL statements using the STA, it tunes indivdual SQL statement acting time of each SQL DB.

    SAA tunes instructions SQL 10 identified as a workload making recommendations based on improving Total cost of the entire workload.

Maybe you are looking for

  • can I switch to the rank of Captain of Maverix 10.9.5

    Hello I installed in my mac maverix 10.9.5 and I want to install captin but I don't know if there will be a problem because I have installed the version of Yosemite. There will be a problem if I do not install Yosemite and if yes were can I download

  • iCloud library on Match (vs Apple Music)

    Is there a reason to maintain a subscription Match after Apple signed music to iTunes? the main reason that I had another match was to maintain access continuous songs "incomparable" (especially my own demos and stuff notcommercially available) that

  • NB200 - where to find the facial recognition?

    Hello I have a NB200 part number: PLL20A-002001. Apparently, these things have facial recognition, but I can't.Can someone please show me how to get to the application, if not where to find it. Thank you!

  • Screen freezes and restarts after repair

    Hey guys,. So I just got my HD Motorola Razr Maxx return of repair Motorola Droid. Before he went to repair, this device has been reset to chance the two stock (no new apps on Store) and custom. This device was not docked or altered in any way other

  • Raspberry PI installed correctly on LabVIEW 2014 with LINX 3.0 (yellow warning)

    Hello everyone Well, I create this thread because I can't connect with my RPI with LabView2014, I'll put some different screenshots, as you can see I already install the LINX 3.0 on my computer. My computer sistem -10 64-bit Windows Products already