| 1 |
SET GLOBAL mysqlx_compression_algorithms='DEFLATE_STREAM,LZ4_MESSAGE,ZSTD_STREAM'; |
| 2 |
CREATE SCHEMA xtest; |
| 3 |
CREATE TABLE xtest.data(val VARCHAR(256)); |
| 4 |
|
| 5 |
Verify ZSTD_STREAM at level 3 |
| 6 |
============================= |
| 7 |
Verify [Status variable "Mysqlx_compression_algorithm" needs to have a value of ZSTD_STREAM] |
| 8 |
Verify [Status variable "Mysqlx_compression_level" needs to have a value of 3] |
| 9 |
Verify [Status variable "Mysqlx_bytes_received_compressed_payload" needs to have a value of 0] |
| 10 |
Verify [Status variable "Mysqlx_bytes_sent_compressed_payload" needs to be lower than "Mysqlx_bytes_sent_uncompressed_frame"] |
| 11 |
Mysqlx.Ok { |
| 12 |
msg: "bye!" |
| 13 |
} |
| 14 |
ok |
| 15 |
SET GLOBAL mysqlx_compression_algorithms=DEFAULT; |