大量使用 class 重构代码
明面上: 提高了代码安全性、可维护性,优化继承关系,提高可读性
小算盘: 第三方的开源分支受重创,难以跟上8.0的代码结构
DDL重做原子性秒加列
官方文档: https://dev.mysql.com/doc/refman/8.0/en/atomic-ddl.html
MySQL · 源码分析 · 原子DDL的实现过程
https://yq.aliyun.com/articles/560507?spm=a2c4e.11153940.0.0.702a4732VUETGN
Innodb_ddl_log 的sample 参考印风的测试
https://yq.aliyun.com/articles/684418?spm=a2c4e.11153940.0.0.46df39a0mzWlBD
允许Innodb 语法for update nowait/skip locked
窗口函数,支持rank()等多种分析函数
https://dev.mysql.com/doc/refman/8.0/en/window-functions-usage.html
管理上的优化
Performance Schema 加强
增加了Role
默认字符集utf8mb4
验证加密策略调整
允许data mask, redo/undo 加密
增加了check constraint