MySQL AI  /  Review Performance and Usage  /  Option Tracker

6.2 Option Tracker

The Option Tracker component provides usage information about different features and components of MySQL AI.

For more information, see Option Tracker Component.

The integer flag usedCounter is incremented in real-time and persisted to storage every hour.

  • The option_tracker_usage_get() function returns a value similar to the following:

    mysql> SELECT option_tracker_usage_get('Berry Picker');
    +----------------------------------------------------+
    | option_tracker_usage_get('Berry Picker')           |
    +----------------------------------------------------+
    | {"usedCounter": 30, "usedDate": "2025-14-16T09:14:41Z"} |
    +----------------------------------------------------+
  • The option_tracker_usage_set() function accepts JSON-formatted string similar to the following for the usage_data argument:

    {
      "usedCounter": "integer"
      "usedDate": "ISO8601 date"
    }