MySQL 8.0.22 officially released

The latest version of MySQL 8.0.22 was officially released on October 19, 2020. What are the changes in this version, let's take a quick look.

Improvement of audit log : For log files in JSON format, MySQL Enterprise Audit supports the use of audit_log_read() user-defined function for log reading operations. Previously, only by passing a parameter to audit_log_read() could you specify where to start reading. For more flexibility, you can now name a start specifier with a timestamp to start reading from the timestamp or the first event after that.

MySQL Enterprise Edition now includes a keyring_oci plugin , which uses Oracle Cloud Infrastructure Vault as the backend for keyring storage. The key information will not be permanently stored in the local storage of the MySQL server.

Optimizer part :

  • The prepared statement is now only prepared once when PREPARE is executed, instead of once every time it is executed. In addition, the statements in the stored procedure are only prepared once at the first execution.

  • The filesort algorithm now supports sorting joins on multiple tables, not just sorting a single table.

  • In MySQL 8.0.22, the server internally processes all right connection instances as left connections, eliminating some special cases where complete conversion is not performed during parsing.

  • Added support for regular synchronization of SELECT INTO DUMPFILE and SELECT INTO OUTFILE when writing files.

  • MySQL now implements derivation condition pushdown for eligible queries and pushes external where conditions into the derivation table.

SQL syntax : support the conversion of YEAR data type, support TIMESTAMP to use UTC, and support to return JSON value through JSON_VALUE().

Functions and functions:

  • Using the new asynchronous connection failover mechanism of the MySQL server, after the existing connection from the replica to the source fails, an asynchronous (source to replica) replication connection to the new source is automatically established.

  • Through the new variable innodb_extend_and_initialize, it is allowed to configure how InnoDB allocates space for each table file and general table space on Linux.

  • Allows DML and DDL read operations on the MySQL grant table. Before row locks were required, non-locking operations are now adopted.

  • The group_replication_ip_whitelist variable is degraded to use, and the new variable group_replication_ip_allowlist name will be adopted.

  • START SLAVE, STOP SLAVE, SHOW SLAVE STATUS, SHOW SLAVE HOSTS and RESET SLAVE are downgraded and used instead of REPLICA.

  • The ALTER DATABASE statement supports the READ ONLY option to control whether the database and its objects are allowed to be modified.

The above content is an introduction to version 8.0.22. For more detailed content, please visit

https://dev.mysql.com/doc/relnotes/mysql/8.0/en/news-8-0-22.html

Scan QR code to follow MySQL solution engineer

Guess you like

Origin blog.csdn.net/n88Lpo/article/details/109192321