您好,登錄后才能下訂單哦!
Select * From Table(dbms_xplan.display_cursor(sql_id => '9s7pt2ay4t3jg'));
Declare
l_Result_Name Varchar2(30);
l_Task_Name Varchar2(36) := 'Task_Name_9s7pt2ay4t3jg_1';
l_Sqlid Varchar2(36) := '9s7pt2ay4t3jg';
Begin
l_Result_Name := Dbms_Sqltune.Create_Tuning_Task(Sql_Id => l_Sqlid,
Scope => 'COMPREHENSIVE',
Time_Limit => 60,
Task_Name => l_Task_Name,
Description => 'Task to tune a query on a specified table');
Dbms_Sqltune.Set_Tuning_Task_Parameter(Task_Name => l_Task_Name,
Parameter => 'TIME_LIMIT',
Value => 30);
Dbms_Sqltune.Execute_Tuning_Task(Task_Name => l_Task_Name);
End;
Select Dbms_Sqltune.Report_Tuning_Task('Task_Name_4hqjc3gc4dwuy') From Dual;
Select Dbms_Sqltune.Report_Tuning_Task('Task_Name_5k5fc0v3hkmcr') From Dual;
Select Dbms_Sqltune.Report_Tuning_Task('Task_Name_au085h9cz2av0') From Dual;
Select Dbms_Sqltune.Report_Tuning_Task('Task_Name_cwkna4v8r99qu') From Dual;
Select Dbms_Sqltune.Report_Tuning_Task('Task_Name_9s7pt2ay4t3jg_1') From Dual;
Select * From dba_sql_profiles;
Select * From wh_inventory y Where y.isshort ='Y'
免責聲明:本站發布的內容(圖片、視頻和文字)以原創、轉載和分享為主,文章觀點不代表本網站立場,如果涉及侵權請聯系站長郵箱:is@yisu.com進行舉報,并提供相關證據,一經查實,將立刻刪除涉嫌侵權內容。