Sybase IQ tracks several system events. Each system event provides a hook on which you can hang a set of actions. The database server tracks the events for you, and executes the actions (as defined in the event handler) when needed.
See”Understanding system events” in SQL Anywhere Server - SQL Usage.