当前位置:网站首页>MySQL 8.0.30 GA
MySQL 8.0.30 GA
2022-07-28 08:31:00 【开源中国资讯】
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,因为它提供了比用户指定密码等方式更为简单的方法,及更好的安全性。
更多详细内容可访问官网。
稿源:https://mp.weixin.qq.com/s/h5l811FMpZH4xm6ATvU9tA
边栏推荐
- IP protocol of network layer
- No one wants to tell the truth about kubernetes secret
- Path and attribute labels of picture labels
- 51单片机存储篇:EEPROM(I2C)
- Feign调用异常[Running, pool size = 10, active threads = 10, queued tasks = 0, completed tasks = n]
- Principle of line of sight tracking and explanation of the paper
- Design for failure常见的12种设计思想
- After summarizing more than 800 kubectl aliases, I'm no longer afraid that I can't remember commands!
- Linux initializes MySQL with fatal error: could not find my-default.cnf
- Marketing play is changeable, and understanding the rules is the key!
猜你喜欢

An entry artifact tensorflowplayground

Different HR labels

Realize batch data enhancement | use of keras imagedatagenerator

Line generation (matrix)

Image batch processing | necessary skills

Two dimensional array and operation

C language array pointer and pointer array discrimination, analysis of memory leakage

Go interface Foundation
![[592. Fraction addition and subtraction]](/img/3a/1a76a8acd60a6d45eebed612fd3971.png)
[592. Fraction addition and subtraction]

Basic syntax of jquey
随机推荐
Hundreds of billions of it operation and maintenance market has come to the era of speaking by "effect"
Div tags and span Tags
Centralized log management with sentry
[592. Fraction addition and subtraction]
12 common design ideas of design for failure
从开发转测试:我从零开始,一干就是6年的自动化测试历程
一年涨薪三次背后的秘密
Path and attribute labels of picture labels
CSV文件存储
ES6 let and Const
网络层的IP协议
shell 实现harbor v1/v2的备份/恢复/迁移等功能
Dapp安全总结与典型安全事件分析
Dry goods semantic web, Web3.0, Web3, metauniverse, these concepts are still confused? (top)
mysql主从架构 ,主库挂掉重启后,从库怎么自动连接主库
Vrrp+mstp configuration details [Huawei ENSP experiment]
Sentinel
Kubernetes data persistence scheme
阿里云服务器搭建和宝塔面板连接
I use SqlClient normally, and dlink submission will report this error. What should I do?