For the complete documentation index, see llms.txt. This page is also available as Markdown.

Idle Instrumentation

The MYSQL_START_IDLE_WAIT and MYSQL_END_IDLE_WAIT macros, which mark the start and end of an idle wait event for the Performance Schema.

Plugin API / Services for Plugins / Instrumentation Interface

Macros

Name
Description

Instrumentation helper for table io_waits. This instrumentation marks the start of a wait event. See also: MYSQL_END_IDLE_WAIT.

Instrumentation helper for idle waits. This instrumentation marks the end of a wait event. See also: MYSQL_START_IDLE_WAIT.


PSI_IDLE_CALL

#define PSI_IDLE_CALL(M, M) PSI_DYNAMIC_CALL(M)

Defined in psi/mysql_idle.h:39


MYSQL_START_IDLE_WAIT

#define MYSQL_START_IDLE_WAIT(LOCKER, STATE, LOCKER, STATE) do {} while (0)

Defined in psi/mysql_idle.h:54

Instrumentation helper for table io_waits. This instrumentation marks the start of a wait event. See also: MYSQL_END_IDLE_WAIT.

Parameters

Parameter
Type
Description

LOCKER

the locker

STATE

the locker state

LOCKER

the locker

STATE

the locker state


MYSQL_END_IDLE_WAIT

Defined in psi/mysql_idle.h:69

Instrumentation helper for idle waits. This instrumentation marks the end of a wait event. See also: MYSQL_START_IDLE_WAIT.

Parameters

Parameter
Type
Description

LOCKER

the locker

LOCKER

the locker

This page is licensed: GPLv2

spinner

Last updated

Was this helpful?