Introduction
Many of our Ignite for Oracle customers use other tools that rely on the SQL_ID value to identify a SQL statement. Ignite does not collect it by default, but a few tweaks to the backend can make this easily possible.
When Ignite executes the query to collect active session data, it queries the X$KSUSE table which is actually a synonym in the Ignite schema that points to the SYS.X_$KSUSE view. This synonym can be replaced with a view that substitutes the SQL_ID value for another piece of data Ignite collects. For example, many customers have replaced the MODULE or ACTION data with SQL_ID.
Notes: the following steps assume the SQL_ID data will replace the MODULE data. If you would like to replace another piece of data, email support@confio.com.
Configuration Steps
Ignite can be configured to collect the SQL_ID value by doing the following - perform these steps on each monitored database:
- Stop the monitor for this database.
- Run these SQL statements while logged in as a DBA user on the monitored database.
- Start the monitor for this database.
- After a couple minutes, drill into the Ignite data and ensure the Module tab shows the SQL_ID value for your SQL statements.
Screenshot Showing SQL_ID Values in Module Tab
.jpg)