MySQL 9.0 Reference Manual Including MySQL NDB Cluster 9.0

29.12.22.1 The component_scheduler_tasks Table

The component_scheduler_tasks table contains a row for each scheduled task. Each row contains information about the ongoing progress of a task that applications, components, and plugins can implement, optionally, using the scheduler component (see Section 7.5.5, “Scheduler Component”). For example, the audit_log server plugin utilizes the scheduler component to run a regular, recurring flush of its memory cache:

mysql> select * from performance_schema.component_scheduler_tasks\G
*************************** 1. row ***************************
            NAME: plugin_audit_log_flush_scheduler
          STATUS: WAITING
         COMMENT: Registered by the audit log plugin. Does a periodic refresh of the audit log 
                  in-memory rules cache by calling audit_log_flush
INTERVAL_SECONDS: 100
       TIMES_RUN: 5
    TIMES_FAILED: 0
1 row in set (0.02 sec)

The component_scheduler_tasks table has the following columns: