| 1 |
SET GLOBAL mysqlx_compression_algorithms='DEFLATE_STREAM,LZ4_MESSAGE,ZSTD_STREAM'; |
| 2 |
SET GLOBAL mysqlx_zstd_default_compression_level=4; |
| 3 |
SET GLOBAL mysqlx_zstd_max_client_compression_level=22; |
| 4 |
|
| 5 |
Compression level DEFAULT adjusted to 4 for ZSTD_STREAM |
| 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 4] |
| 9 |
Mysqlx.Ok { |
| 10 |
msg: "bye!" |
| 11 |
} |
| 12 |
ok |
| 13 |
SET GLOBAL mysqlx_zstd_default_compression_level=4; |
| 14 |
SET GLOBAL mysqlx_zstd_max_client_compression_level=22; |
| 15 |
|
| 16 |
Compression level -150000 adjusted to -131072 for ZSTD_STREAM |
| 17 |
============================================================= |
| 18 |
Verify [Status variable "Mysqlx_compression_algorithm" needs to have a value of ZSTD_STREAM] |
| 19 |
Verify [Status variable "Mysqlx_compression_level" needs to have a value of -131072] |
| 20 |
Mysqlx.Ok { |
| 21 |
msg: "bye!" |
| 22 |
} |
| 23 |
ok |
| 24 |
SET GLOBAL mysqlx_zstd_default_compression_level=4; |
| 25 |
SET GLOBAL mysqlx_zstd_max_client_compression_level=DEFAULT; |
| 26 |
|
| 27 |
Compression level 100 adjusted to 11 for ZSTD_STREAM |
| 28 |
==================================================== |
| 29 |
Verify [Status variable "Mysqlx_compression_algorithm" needs to have a value of ZSTD_STREAM] |
| 30 |
Verify [Status variable "Mysqlx_compression_level" needs to have a value of 11] |
| 31 |
Mysqlx.Ok { |
| 32 |
msg: "bye!" |
| 33 |
} |
| 34 |
ok |
| 35 |
SET GLOBAL mysqlx_zstd_default_compression_level=4; |
| 36 |
SET GLOBAL mysqlx_zstd_max_client_compression_level=22; |
| 37 |
|
| 38 |
Compression level 100 adjusted to 22 for ZSTD_STREAM |
| 39 |
==================================================== |
| 40 |
Verify [Status variable "Mysqlx_compression_algorithm" needs to have a value of ZSTD_STREAM] |
| 41 |
Verify [Status variable "Mysqlx_compression_level" needs to have a value of 22] |
| 42 |
Mysqlx.Ok { |
| 43 |
msg: "bye!" |
| 44 |
} |
| 45 |
ok |
| 46 |
SET GLOBAL mysqlx_zstd_default_compression_level=10; |
| 47 |
SET GLOBAL mysqlx_zstd_max_client_compression_level=5; |
| 48 |
|
| 49 |
Compression level DEFAULT adjusted to 5 for ZSTD_STREAM |
| 50 |
======================================================= |
| 51 |
Verify [Status variable "Mysqlx_compression_algorithm" needs to have a value of ZSTD_STREAM] |
| 52 |
Verify [Status variable "Mysqlx_compression_level" needs to have a value of 5] |
| 53 |
Mysqlx.Ok { |
| 54 |
msg: "bye!" |
| 55 |
} |
| 56 |
ok |
| 57 |
SET GLOBAL mysqlx_zstd_default_compression_level=10; |
| 58 |
SET GLOBAL mysqlx_zstd_max_client_compression_level=5; |
| 59 |
|
| 60 |
Compression level 0 adjusted to 1 for ZSTD_STREAM |
| 61 |
================================================= |
| 62 |
Verify [Status variable "Mysqlx_compression_algorithm" needs to have a value of ZSTD_STREAM] |
| 63 |
Verify [Status variable "Mysqlx_compression_level" needs to have a value of 1] |
| 64 |
Mysqlx.Ok { |
| 65 |
msg: "bye!" |
| 66 |
} |
| 67 |
ok |
| 68 |
SET GLOBAL mysqlx_zstd_default_compression_level=10; |
| 69 |
SET GLOBAL mysqlx_zstd_max_client_compression_level=-1; |
| 70 |
|
| 71 |
Compression level 0 adjusted to -1 for ZSTD_STREAM |
| 72 |
================================================== |
| 73 |
Verify [Status variable "Mysqlx_compression_algorithm" needs to have a value of ZSTD_STREAM] |
| 74 |
Verify [Status variable "Mysqlx_compression_level" needs to have a value of -1] |
| 75 |
Mysqlx.Ok { |
| 76 |
msg: "bye!" |
| 77 |
} |
| 78 |
ok |
| 79 |
SET GLOBAL mysqlx_zstd_max_client_compression_level=DEFAULT; |
| 80 |
SET GLOBAL mysqlx_zstd_default_compression_level=DEFAULT; |
| 81 |
SET GLOBAL mysqlx_compression_algorithms=DEFAULT; |