SQL waits


Job details

Name: SQL waits
Platform: Oracle
Category: Performance
Description: Collects SQL wait statistics.
Long description: Task collects SQL wait statistics.
Version: 2.8
Default schedule: 50 0,4,8,12,16,20 * *
Requires engine install: Yes
Compatibility tag: .[type=‘instance’ & databasetype=‘oracle’]/.[hasengine=‘YES’ & (version like ‘10.2′ eleven_and_above = ‘1′)]

Parameters

Name Default value Description
keep data for 14 The amount of days the statistics are kept in the history table.

Job Summary

select * from v$sql_wait;

Job Description

Tables and Indexes Created

Table Name Description
dbw_sql_area_hist Historical record of SQL execution areas including wait times and resources used.
dbw_sql_area_rank Ranking of SQL statements based on wait times.
dbw_sql_daily_waits Daily statistics of waits for SQL statements.
Index Name Table Description
IDX_SQL_AREA_HIST_1 dbw_sql_area_hist Index on history date column.
IDX_SQL_AREA_HIST_2 dbw_sql_area_hist Index on SQL ID column.
INX_DBW_SQL_DAILY_WAITS_1 dbw_sql_daily_waits Index on SQL ID column.
INX_DBW_SQL_DAILY_WAITS_2 dbw_sql_daily_waits Index on history date column.
INX_DBW_SQL_DAILY_WAITS_3 dbw_sql_daily_waits Index on total waits column.

Procedural Implementations and Data Flow

Dependencies

Report Template Configuration

Version: 2

Additional Observations