Post

Visualizzazione dei post da luglio, 2024

SYS_AUTO_SQL_TUNING_TASK - "Process 0x%p appears to be hung in Auto SQL Tuning task"

Vale dalla versione 11 in poi  Occasionalmente, durante l'esecuzione di "SYS_AUTO_SQL_TUNING_TASK", nel alert log potrebbero comparire messaggi di avviso come il seguente: "Process 0x%p appears to be hung in Auto SQL Tuning task" "Current time = %u, process death time = %u" "Attempting to kill process 0x%p with OS pid = %s" "OSD kill skipped for process %p" "OSD kill succeeded for process %p" "OSD kill failed for process %p" Cosa è SYS_AUTO_SQL_TUNING_TASK? è un task automatico eseguito dal database che seglie un set di SQL ad alto carico ( high-load SQL ) da AWR ed esegue SQL Tuning Advisor su questo SQL.  Il pacchetto DBMS_AUTO_SQLTUNE è l'interfaccia per SQL Tuning Advisor (DBMS_SQLTUNE) quando eseguito all'interno del framework Autotask.  Questo task controlla i profili SQL che trova eseguendo sia i vecchi che i nuovi query plan. Automatic SQL Tuning differisce da manual SQL tuning in questo modo:  Se