25.12.9.2 The session_connect_attrs Table
Application programs can provide key-value connection attributes to be passed to the server at connect time. For descriptions of common attributes, see Section 25.12.9, “Performance Schema Connection Attribute Tables”.
The session_connect_attrs table contains connection attributes for all sessions. To see connection attributes only for the current session, and other sessions associated with the session account, use the session_account_connect_attrs table.
The session_connect_attrs table has these columns:
-
PROCESSLIST_IDThe connection identifier for the session.
-
ATTR_NAMEThe attribute name.
-
ATTR_VALUEThe attribute value.
-
ORDINAL_POSITIONThe order in which the attribute was added to the set of connection attributes.
TRUNCATE TABLE is not permitted for the session_connect_attrs table.
© 2025 Oracle
Licensed under the GPLv2 License.