Parameters
| Name | Type | Mode |
|---|---|---|
| in_connection_id | bigint unsigned | IN |
Checks whether the provided connection id is instrumented within Performance Schema.
in_connection_id (BIGINT UNSIGNED): The id of the connection to check.
ENUM(‘YES’, ‘NO’, ‘UNKNOWN’)
mysql> SELECT sys.ps_is_thread_instrumented(CONNECTION_ID()); +————————————————+ | sys.ps_is_thread_instrumented(CONNECTION_ID()) | +————————————————+ | YES | +————————————————+
| Name | Type | Mode |
|---|---|---|
| in_connection_id | bigint unsigned | IN |