25.12.10 Performance Schema User-Defined Variable Tables
The Performance Schema provides a user_variables_by_thread table that exposes user-defined variables. These are variables defined within a specific session and include a @ character preceding the name; see Section 9.4, “User-Defined Variables”.
The user_variables_by_thread table has these columns:
-
THREAD_IDThe thread identifier of the session in which the variable is defined.
-
VARIABLE_NAMEThe variable name, without the leading
@character. -
VARIABLE_VALUEThe variable value.
TRUNCATE TABLE is not permitted for the user_variables_by_thread table.
© 2025 Oracle
Licensed under the GPLv2 License.