一、支持对DROP COLUMN删除字段采用ALGORITHM=INSTANT算法mysql
例:alter table t1 drop column name,ALGORITHM=INSTANT;算法
MySQL 8.0.17版本不支持该算法sql
二、支持更改字符集utf8->utf8mb4转换采用ALGORITHM=INSTANT算法shell
例:alter table t1 change name name varchar(100) CHARSET utf8mb4,ALGORITHM=INSTANT;数据库
MySQL 8.0.17版本不支持该算法socket
三、增长身份验证插件 - Unix Socketide
unix_socket认证插件容许用户经过本地Unix套接字文件链接到MariaDB的时候使用操做系统的凭证。spa
用法:操作系统
1、建立数据库帐号hechunyang插件
MariaDB [(none)]> GRANT ALL ON *.* TO 'hechunyang' IDENTIFIED VIA
unix_socket;
Query OK, 0 rows affected (0.001 sec)
2、建立操做系统帐号hechunyang
# useradd hechunyang
# passwd hechunyang
以hechunyang用户登陆操做系统
3、登陆MariaDB
[root@localhost ~]# su - hechunyang
Last login: Wed Jul 31 14:18:17 CST 2019 on pts/2
[hechunyang@localhost ~]$
[hechunyang@localhost ~]$ mysql -S /tmp/mysql3306.sock -uhechunyang
Welcome to the MariaDB monitor. Commands end with ; or \g.
Your MariaDB connection id is 45
Server version: 10.4.6-MariaDB-log MariaDB Server
Copyright (c) 2000, 2018, Oracle, MariaDB Corporation Ab and others.
Type 'help;' or '\h' for help. Type '\c' to clear the current input statement.
MariaDB [(none)]> show databases;
+--------------------+
| Database |
+--------------------+
| information_schema |
| test |
+--------------------+
2 rows in set (0.001 sec)
在此示例中,用户hechunyang已登陆操做系统并具备彻底shell访问权限。他已经使用操做系统进行了身份验证,而且他的MariaDB账户已配置为使用unix_socket身份验证插件,所以他无需再次对数据库进行身份验证。MariaDB接受他的操做系统凭证并容许他链接。
四、mysqladmin shutdown命令增长--wait-for-all-slaves参数,意思为在关闭mysqld进程以前等待最后一个binlog事件发送到全部链接的Slave从库.
例:MariaDB [(none)]> SHUTDOWN WAIT FOR ALL SLAVES;
Query OK, 0 rows affected (0.000 sec)