Tuning databases for the Event Manager

If the IBM® Business Process Manager Event Manager has poor performance, you can tune the databases by updating optimizer statistics, reorganizing the tables and indexes, providing your database system with a better index, or, on Oracle databases, reducing the contention.

About this task

The Event Manager is one of IBM Business Process Manager core components. It handles the communications between business process definitions (BPD) and services, schedules events, and runs undercover agents (UCA). The Event Manager consists of multiple Java threads and database tables. All events are recorded and tracked in the LSW_EM_TASK and LSW_EM_TASK_KEYWORDS tables. For high workloads, database tuning is essential for the Event Manager to work properly.

Because all events are recorded and tracked in the LSW_EM_TASK and LSW_EM_TASK_KEYWORDS tables, the Event Manager can become a bottleneck for performance, depending on your process models and workload. For heavy workloads, periodically tune the databases to help improve performance. The following symptoms indicate that database tuning is overdue.
  • SQL execution plans that use full table scans
  • High CPU use
  • Fragmented tables and indexes
  • Significant contention on records or data pages

Procedure

To prevent events from affecting how the Event Manager performs, consider completing the following tuning tasks in this order until performance improves.