Skip to content
  • Bharathy Satish's avatar
    fbd4c0af
    WL#12475: Protocol Changes to specify compression configuration for connections · fbd4c0af
    Bharathy Satish authored
    
    
    WL12475 provides a framework to configure compression algorithm and compression
    level to be used with mysql protocol. Different compression algorithms
    supported for mysql protocol compression are zlib and zstd.
    
    MYSQL_OPT_COMPRESSION_ALGORITHMS option can be used to configure compression
    algorithm from a client application. MYSQL_OPT_ZSTD_COMPRESSION_LEVEL option
    can be used to specify compression level for zstd compression algorithm.
    
    This WL also introduces a new server variable "protocol-compression-algorithms"
    which can be used to configure servers compression algorithms. Based on how
    this variable is configured mysql protocol compression algorithm is negotiated
    between client and server accordingly.
    
    This WL also extends CHANGE MASTER TO statement to allow users to configure
    compression algorithm/level on slave replication channels. To view what
    compression algorithm and compression level are configured on a connection
    user can query status variables like compression_algorithm and compression_level.
    
    Reviewed-by: default avatarGeorgi Kodinov <georgi.kodinov@oracle.com>
                 Gleb Shchepa <gleb.shchepa@oracle.com>
                 Sven Sandberg <sven.sandberg@oracle.com>
                 Nuno Carvalho <nuno.carvalho@oracle.com>
    RB: 21705
    fbd4c0af
    WL#12475: Protocol Changes to specify compression configuration for connections
    Bharathy Satish authored
    
    
    WL12475 provides a framework to configure compression algorithm and compression
    level to be used with mysql protocol. Different compression algorithms
    supported for mysql protocol compression are zlib and zstd.
    
    MYSQL_OPT_COMPRESSION_ALGORITHMS option can be used to configure compression
    algorithm from a client application. MYSQL_OPT_ZSTD_COMPRESSION_LEVEL option
    can be used to specify compression level for zstd compression algorithm.
    
    This WL also introduces a new server variable "protocol-compression-algorithms"
    which can be used to configure servers compression algorithms. Based on how
    this variable is configured mysql protocol compression algorithm is negotiated
    between client and server accordingly.
    
    This WL also extends CHANGE MASTER TO statement to allow users to configure
    compression algorithm/level on slave replication channels. To view what
    compression algorithm and compression level are configured on a connection
    user can query status variables like compression_algorithm and compression_level.
    
    Reviewed-by: default avatarGeorgi Kodinov <georgi.kodinov@oracle.com>
                 Gleb Shchepa <gleb.shchepa@oracle.com>
                 Sven Sandberg <sven.sandberg@oracle.com>
                 Nuno Carvalho <nuno.carvalho@oracle.com>
    RB: 21705
Loading