Steps for Tunning a SQL Query SQL ID in Oracle Database 1729750354
Steps for Tunning a SQL Query SQL ID in Oracle Database 1729750354
Hostname
Database details
SQL_ID (if available).
Query dba_hist_snapshot and wrh$_sqlstat to check for any plan changes (PHV - Plan Hash Value)
that occurred recently.
If a better execution plan existed in the past, consider creating a SQL Profile for optimizer to use that
efficient plan.
Look for inefficient operations such as Full Table Scans and INDEX FAST FULL SCAN and also
cost(%CPU)
Consider creating indexes on columns used in the WHERE clause or joins to improve performance.