Replication and Binary Logging Options and Variables server instances are written in their compressed state to the relay log, so they benefit indirectly from compression carried out by other servers in the replication topology. This system variable cannot be changed within the context of a transaction. Setting the session value of this system variable is a restricted operation. The session user must have privileges sufficient to set restricted session variables. See Section 5.1.9.1, “System Variable Privileges” . For more information on binary log transaction compression, including details of what events are and are not compressed, and changes in behavior when transaction compression is in use, see Section 5.4.4.5, “Binary Log Transaction Compression” . • binlog_transaction_compression_level_zstd Command-Line Format --binlog-transaction-compression- level-zstd=# Introduced 8.0.20 System Variable binlog_transaction_compression_level_zstd Scope Global, Session Dynamic Yes SET_VAR  Hint Applies No Type Integer Default Value 3 Minimum Value 1 Maximum Value 22 Sets the compression level for binary log transaction compression on this server, which is enabled by the binlog_transaction_compression  system variable. The value is an integer that determines the compression effort, from 1 (the lowest effort) to 22 (the highest effort). If you do not specify this system variable, the compression level is set to 3. As the compression level increases, the data compression ratio increases, which reduces the storage space and network bandwidth required for the transaction payload. However, the effort required for data compression also increases, taking time and CPU and memory resources on the originating server. Increases in the compression effort do not have a linear relationship to increases in the data compression ratio. This system variable cannot be changed within the context of a transaction. Setting the session value of this system variable is a restricted operation. The session user must have privileges sufficient to set restricted session variables. See Section 5.1.9.1, “System Variable Privileges” . • binlog_transaction_dependency_tracking Command-Line Format --binlog-transaction-dependency- tracking=value System Variable binlog_transaction_dependency_tracking Scope Global Dynamic Yes SET_VAR  Hint Applies No Type Enumeration 3560