当前位置:网站首页>MySQL 8.0.30 GA
MySQL 8.0.30 GA
2022-07-31 03:42:00 【jeanron100】
2022年7月26日,MySQL 8.0.30正式发行。在这个版本里,在做了大量的修复的同时,也对一些功能进行了增强和改善,让我们一起快速浏览一下有哪些亮点。
GIPK(Generated Invisible Primary Keys)
当开启GIPK模式后,可以允许没有显示定义主键的InnoDB表,自动生成不可见的主键。生成的主键名称为 ‘my_row_id’ 并且无法更改,用户需要注意该关键字的使用。
XA事务与复制
复制功能支持将XA事务的状态进行复制,解决了以往的复制功能在服务器节点出现异常时,无法保证执行XA PREPARE、XA COMMIT或XA ROLLBACK。
对于任何多服务器复制拓扑(包括组复制), XA事务状态可以一致地传播,以便所有服务器始终处于同一状态。对于任意的拓扑结构(包括单个服务器,只要启用了二进制日志记录),就可以恢复到一致状态。
InnoDB doublewrite buffer
增加了Innodb_doublewrite系统变量,该变量可以设置为DETECT_ONLY 或 DETECT_AND_RECOVER。设置为DETECT_ONLY时,数据库页面内容不会写入doublewrite buffer,恢复时也不使用doublewrite buffer 修复不完整的页面写入。该设置仅用于检测不完整页面写入。设置为DETECT_AND_RECOVER时,与现有的处理保持一致。
动态配置Redo日志容量
Redo日志现在支持动态设置容量。通过系统变量innodb_redo_log_capacity 可以增加或缩小Redo日志所使用的磁盘容量。InnoDB可以维护32个Redo日志,日志的默认大小为100M。用户配置innodb_redo_log_capacity后,变量innodb_log_files_in_group 和 innodb_log_file_size的值将被忽略。
更改MySQL部分系统表主键中的字段顺序
通过更改,以提高执行CREATE USER,DROP USER,RENAME USER 语句的执行性能
mysqldump自定义长查询时间
mysqldump增加一个新的选项 -mysqld-long-query-time ,通过该选项,用户可以增加mysqldump查询所允许的经过时间,以便避免写入慢查询日志,从而减少不必要的日志记录。
Error log组件
错误日志组件现在可以在InnoDB存储引擎可用之前启动。这种加载错误日志组件的控件方法通过log_error_services变量定义。
隐式加载错误日志组件具有如下优点:
InnoDB完全可用之前记录的信息是可用的。
它有助于避免日志信息的丢失启动失败。
显式错误日志组件安装使用不再需要安装组件语法。用户只需要将组件添加到log_error_services设置。
企业版审计
审计日志增加了查询时间选项,可以记录发送和接收的记录数及时间。
加密函数AES_ENCRYPT() 和 AES_DECRYPT() 支持KDF
KDF(key derivation function)通过将秘钥密码或密码短语等信息传递给函数,用来创建密码学上的强密码。派生的密钥用于加密并解密数据,它仍然保存在MySQL服务器中实例,用户无法访问。强烈推荐使用KDF,因为它提供了比用户指定密码等方式更为简单的方法,及更好的安全性。
以上内容是MySQL 8.0.30的简单介绍,关于详细的更改内容,请访问官网。
感谢您关注“MySQL解决方案工程师”!
边栏推荐
- 安全20220715
- Component pass value provide/inject
- STM32 problem collection
- The use of beforeDestroy and destroyed
- (六)枚举、注解
- Problems that need to be solved in distributed system architecture
- 《DeepJIT: An End-To-End Deep Learning Framework for Just-In-Time Defect Prediction》论文笔记
- Use of QML
- A brief introduction to the CheckboxListTile component of the basic components of Flutter
- IDEA common shortcut keys and plug-ins
猜你喜欢

Problems that need to be solved in distributed system architecture

C语言从入门到如土——数据的存储
![[C language] Three-pointed chess (classic solution + list diagram)](/img/64/18ed08b64f9618bbd7f24ee16e6a6f.jpg)
[C language] Three-pointed chess (classic solution + list diagram)

(四)递归、可变参数、访问修饰符、理解 main 方法、代码块
![[Compilation principle] Design principle and implementation of recursive descent parsing](/img/51/cd054a8246dc108520d6ff9ea26c60.png)
[Compilation principle] Design principle and implementation of recursive descent parsing

5. How does the SAP ABAP OData service support the $filter operation

Database implements distributed locks
![[Swift]自定义点击APP图标弹出的快捷方式](/img/d4/84b237995fc3d3700916eb57f6670d.png)
[Swift]自定义点击APP图标弹出的快捷方式

A brief introduction to the showDatePicker method of the basic components of Flutter

The BP neural network
随机推荐
Redis实现分布式锁
$attrs/$listeners
Understanding and Using Unity2D Custom Scriptable Tiles (4) - Start to build a custom tile based on the Tile class (below)
Mysql 45 study notes (twenty-four) MYSQL master-slave consistency
type_traits metaprogramming library learning
type_traits元编程库学习
Day32 LeetCode
立足本土,链接全球 | 施耐德电气“工业SI同盟”携手伙伴共赴未来工业
A brief introduction to the showDatePicker method of the basic components of Flutter
[Godot][GDScript] 2D cave map randomly generated
volatile内存语义以及实现 -volatile写和读对普通变量的影响
Use of QML
interprocess communication
[C language] Three-pointed chess (classic solution + list diagram)
Implementation of a sequence table
Key Technologies of Interface Testing
No qualifying bean of type question
[shell basics] determine whether the directory is empty
endian mode
分布式锁以及实现方式三种