| 1 |
SET GLOBAL mysqlx_compression_algorithms='DEFLATE_STREAM,LZ4_MESSAGE,ZSTD_STREAM'; |
| 2 |
SET GLOBAL mysqlx_deflate_default_compression_level=4; |
| 3 |
SET GLOBAL mysqlx_deflate_max_client_compression_level=5; |
| 4 |
|
| 5 |
Compression level DEFAULT adjusted to 4 for DEFLATE_STREAM |
| 6 |
========================================================== |
| 7 |
Verify [Status variable "Mysqlx_compression_algorithm" needs to have a value of DEFLATE_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_deflate_default_compression_level=4; |
| 14 |
SET GLOBAL mysqlx_deflate_max_client_compression_level=5; |
| 15 |
|
| 16 |
Compression level -100 adjusted to 1 for DEFLATE_STREAM |
| 17 |
======================================================= |
| 18 |
Verify [Status variable "Mysqlx_compression_algorithm" needs to have a value of DEFLATE_STREAM] |
| 19 |
Verify [Status variable "Mysqlx_compression_level" needs to have a value of 1] |
| 20 |
Mysqlx.Ok { |
| 21 |
msg: "bye!" |
| 22 |
} |
| 23 |
ok |
| 24 |
SET GLOBAL mysqlx_deflate_default_compression_level=4; |
| 25 |
SET GLOBAL mysqlx_deflate_max_client_compression_level=DEFAULT; |
| 26 |
|
| 27 |
Compression level 100 adjusted to 5 for DEFLATE_STREAM |
| 28 |
====================================================== |
| 29 |
Verify [Status variable "Mysqlx_compression_algorithm" needs to have a value of DEFLATE_STREAM] |
| 30 |
Verify [Status variable "Mysqlx_compression_level" needs to have a value of 5] |
| 31 |
Mysqlx.Ok { |
| 32 |
msg: "bye!" |
| 33 |
} |
| 34 |
ok |
| 35 |
SET GLOBAL mysqlx_deflate_default_compression_level=4; |
| 36 |
SET GLOBAL mysqlx_deflate_max_client_compression_level=9; |
| 37 |
|
| 38 |
Compression level 100 adjusted to 9 for DEFLATE_STREAM |
| 39 |
====================================================== |
| 40 |
Verify [Status variable "Mysqlx_compression_algorithm" needs to have a value of DEFLATE_STREAM] |
| 41 |
Verify [Status variable "Mysqlx_compression_level" needs to have a value of 9] |
| 42 |
Mysqlx.Ok { |
| 43 |
msg: "bye!" |
| 44 |
} |
| 45 |
ok |
| 46 |
SET GLOBAL mysqlx_deflate_default_compression_level=5; |
| 47 |
SET GLOBAL mysqlx_deflate_max_client_compression_level=3; |
| 48 |
|
| 49 |
Compression level DEFAULT adjusted to 3 for DEFLATE_STREAM |
| 50 |
========================================================== |
| 51 |
Verify [Status variable "Mysqlx_compression_algorithm" needs to have a value of DEFLATE_STREAM] |
| 52 |
Verify [Status variable "Mysqlx_compression_level" needs to have a value of 3] |
| 53 |
Mysqlx.Ok { |
| 54 |
msg: "bye!" |
| 55 |
} |
| 56 |
ok |
| 57 |
SET GLOBAL mysqlx_deflate_max_client_compression_level=DEFAULT; |
| 58 |
SET GLOBAL mysqlx_deflate_default_compression_level=DEFAULT; |
| 59 |
SET GLOBAL mysqlx_compression_algorithms=DEFAULT; |