Database Monitor and Database Trigger Events
You can continuously trigger workload based on database activity using Database Monitor or Database Trigger Events.
Note: To use Database Monitor and Trigger Events, your system requires CA WA Agent for UNIX, Linux, or Windows and CA WA Agent for Databases.
A Database Monitor Event can monitor a database table for an increase or decrease in the number of rows. To monitor the database for specific changes, you can add a monitor condition to the Event definition. Whenever the condition is met, the server runs the Application referenced in the Event.
Database Monitor Events count the number of rows that satisfy the monitor condition using a polling interval, which is every 10 seconds by default. Database Monitor Events do not detect other updates to a row or changes to the number of rows that cancel each other out during the polling interval. For example, suppose that within a 10-second interval, a row is added while another row is deleted. Since the total number of rows did not change, the Database Monitor Event does not detect the row addition and deletion.
A Database Trigger Event can monitor a database table for added rows, deleted rows, or updated rows. To monitor the database for specific changes, you can add a trigger condition to the Event definition. Whenever the condition is met, the server runs the Application referenced in the Event.
Each Database Trigger Event creates a database trigger on the database. The database trigger templates that the agent uses are located in the directory where the agent is installed. The template files are named dbtrig
DB_type_name.properties, for example, dbtrigOracle.properties. Contact your database administrator before choosing to use a Database Trigger Event.
Note: A table that is being monitored should not be dropped. The Database Monitor or Database Trigger Event will remain active, even though the table has been dropped.
HTH
Allen Thennes