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.

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.


MYSQL_START_IDLE_WAIT

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

Defined in psi/mysql_idle.h:56

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:71

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

Last updated

Was this helpful?