You can automate routine tasks by adding an event to a database, and providing a
schedule or conditional trigger for the event. In a multiplex, an event is a global object
that is shared across all nodes participating in the multiplex.
There are three types of events:
- Scheduled events have an associated schedule and execute at specified times.
- Conditional events are associated with a system event, and an optional list of
conditions that is tracked by the database server.
- Manual events can only be fired explicitly.
After each execution of an event handler, a COMMIT occurs if no errors occurred. A
ROLLBACK occurs if there was an error.