MySQL 9.1.0
Source Code Documentation
Event Tracking Services

Introduction

Event tracking services are a group of services that allow implementor to monitor various database activities. Two main actors involved are:

  • Producers: Those who emit one or more events
  • Consumers: Those who are interesting in processing events generated by consumers

Following services are part of this groups of services.

When a consumer component is installed, it registeres its interest in receiving notification for any subset of events by implementing corresponding services.

A producer, as a part of generating an event will inform all consumers who have registered interest of a given event.

Through some of the above mentioned events, a consumer can indicate producer to either generate an error/warning or stop the execution or both.

server component, which is part of MySQL server is one example of producer component. At different point of execution, it emits events of all classes of events mentioned above.

Please take a look at following pages for more details: