Server System Variables ALL_GTIDS Controls whether the server returns GTIDs to the client, enabling the client to use them to track the server state. Depending on the variable value, at the end of executing each transaction, the server’s GTIDs are captured and returned to the client as part of the acknowledgement. The possible values for session_track_gtids  are as follows: session_track_gtids  cannot be set within transactional context. For more information about session state tracking, see Section 5.1.18, “Server Tracking of Client Session State Changes” . Controls whether the server tracks when the default schema (database) is set within the current session and notifies the client to make the schema name available. If the schema name tracker is enabled, name notification occurs each time the default schema is set, even if the new schema name is the same as the old. For more information about session state tracking, see Section 5.1.18, “Server Tracking of Client Session State Changes” . 874 Command-Line Format --session-track-state-change[={OFF| ON}] System Variable session_track_state_change Scope Global, Session Dynamic Yes • session_track_state_change • session_track_schema • ALL_GTIDS : The server returns the global value of its  gtid_executed  system variable, which it reads at a point after the transaction is successfully committed. As well as the GTID for the transaction just committed, this GTID set includes all transactions committed on the server by any client, and can include transactions committed after the point when the transaction currently being acknowledged was committed. • OWN_GTID : The server returns the GTIDs for all transactions that were successfully committed by this client in its current session since the last acknowledgement. Typically, this is the single GTID for the last transaction committed, but if a single client request resulted in multiple transactions, the server returns a GTID set containing all the relevant GTIDs. • OFF : The server does not return GTIDs to the client. This is the default. Command-Line Format --session-track-schema[={OFF|ON}] System Variable session_track_schema Scope Global, Session Dynamic Yes SET_VAR  Hint Applies No Type Boolean Default Value ON