In this blog, I will provide answers to the Q & A for the MySQL 8.0 Architecture and Enhancement webinar.
First, I want to thank everybody for attending my April 9, 2019, webinar. The recording and slides are available here. Below is the list of your questions that I was unable to answer fully during the webinar.
The MySQL data-at-rest encryption feature supports the Advanced Encryption Standard (AES) block-based encryption algorithm and aes_256_cbc encryption algorithm for data at rest is hard coded.
Here’s an overview:
Using the RESET PERSIST command we can remove persisted global system variable settings from the mysqld-auto.cnf.
Example:
|
1 |
mysql > SET PERSIST binlog_encryption=ON;<br>Query OK, 0 rows affected (0.00 sec)<br><br>$ cat data/mysqld-auto.cnf<br>{ "Version" : 1 , "mysql_server" : { "mysql_server_static_options" : { "binlog_encryption" : { "Value" : "ON" , "Metadata" : { "Timestamp" : 1554896858076255 , "User" : "msandbox" , "Host" : "localhost" } } } } }<br><br>MySQL > RESET PERSIST binlog_encryption;<br>Query OK, 0 rows affected (0.00 sec)<br><br>$ cat data/mysqld-auto.cnf<br>{ "Version" : 1 , "mysql_server" : { } } |
To reset all persistent variables use following command.
|
1 |
mysql > RESET PERSIST;<br>Query OK, 0 rows affected (0.00 sec) |
No, it will not work. Due to config format differences in these files.
|
1 |
$ pt-config-diff ./my.sandbox.cnf data/mysqld-auto.cnf <br>Cannot auto-detect the MySQL config format at /home/lalit/perl5/bin/pt-config-diff line 3010. |
This is not required because in MySQL 8.0, the innodb_undo_log_truncate variable is enabled by default. It will perform an automatic truncate operation on the UNDO tablespace. When undo tablespaces exceed the threshold value defined by innodb_max_undo_log_size (default value is 1024 MiB) they are marked for truncation.
Truncating the undo tablespace performs the following action:
I’ll be happy to respond to this, but I’ll need a little bit more information… feel free to add more detail to the comments section and I’ll see if I can provide some insight.
Thanks for attending this webinar on MySQL 8.0 Architecture and Enhancement Webinar . You can find the slides and a recording here.
Resources
RELATED POSTS