Mysql:Changes in MySQL 5.7.9 (2015-10-21, General Availability):很重要的版本!

Changes in MySQL 5.7.9 (2015-10-21, General Availability)

Server Administration

  • A new SHUTDOWN SQL statement is available. This provides an SQL-level interface to the same functionality previously available using the mysqladmin shutdown command or the mysql_shutdown() C API function. See SHUTDOWN Statement.

    The mysql_shutdown() function and corresponding COM_SHUTDOWN client/server protocol command are deprecated and will be removed in a future MySQL version. Instead, use mysql_query() to execute a SHUTDOWN statement.

Functionality Added or Changed

  • Incompatible Change; InnoDB: To better manage redo log format changes, the redo log header of the first redo log file (ib_logfile0) now includes a format version identifier and a text string that identifies the MySQL version that created the redo log files.

    A new boolean configuration option, innodb_log_checksums, replaces the innodb_log_checksum_algorithm option. innodb_log_checksums=ON enables a CRC-32C checksum, making it the only supported checksum for redo log pages.

    This patch also removes unused fields from the redo log header and checkpoint pages.

    Due to redo log format changes introduced by this patch, upgrading to or downgrading from MySQL 5.7.9 and higher requires a clean shutdown and, in some cases, removal of existing redo log files. For instructions related to this change, see Changes in MySQL 5.7, and Downgrade Notes. (Bug #21759424, Bug #78275, Bug #21752674)

  • Important Change; InnoDB: DYNAMIC replaces COMPACT as the implicit default row format for InnoDB tables. A new configuration option, innodb_default_row_format, specifies the default InnoDB row format. Permitted values include DYNAMIC (the default), COMPACT, and REDUNDANT.

    The COMPACT row format remained the default row format until this release to ensure compatibility with older versions of InnoDB in MySQL 5.1 and earlier. Now that MySQL 5.1 has reached the end of its product lifecycle, the newer DYNAMIC row format becomes the default. For information about advantages of the DYNAMIC row format, see DYNAMIC Row Format.

    Newly created tables use the row format defined by innodb_default_row_format when a ROW_FORMAT option is not specified explicitly or when ROW_FORMAT=DEFAULT is used.

    Existing tables retain their current row format if a ROW_FORMAT option was specified explicitly. If a ROW_FORMAT option was not specified explicitly or if ROW_FORMAT=DEFAULT was used, any operation that rebuilds a table also silently changes the row format of the table to the format defined by innodb_default_row_format. For more information, see Defining the Row Format of a Table.

  • ...

原文地址:https://www.cnblogs.com/jinzhenshui/p/12584145.html

时间: 2024-07-31 13:20:22

Mysql:Changes in MySQL 5.7.9 (2015-10-21, General Availability):很重要的版本!的相关文章

Clover KextsToPatch 使用方法 2015.10.21

Clover KextsToPatch 使用方法 2015.10.21 前些天,因为 Thinkpad X230 BIOS 白名单限制,给她换了一块 ar9285 无线网卡,只是因为这块网卡正好可以被 Mac OS X 驱动,也正好在 Thinkpad X230 BIOS 白名单之中.给 Clover 配置的时候,为了防止忘记,便记录下来. 因为灵活使用 Clover 成为黑苹果用户的必修课,否则你就只能漫天寻找 kext,寄希望与运气能正确驱动你的硬件了.Clover 中有一个强大的功能 Ke

Daily Scrumming 2015.10.21(Day 2)

今明两天任务表 Member Today’s Task Tomorrow’s Task 江昊 配置ruby与rails环境 配置mysql与数据库用户管理 配置apache2环境 学习rails ActiveRecord 购买.注册域名 杨墨犁 制作新版UI,对首页进行完善 设计logo 付帅 继续学习html,并根据第一版UI做出外观相似的静态网页. 开始学习javascript,将javascript的片段添加到网页中以实现功能,改进网页设计 王若愚 学习HTML 学习CSS 王开 学习ra

求大神改错,程序有问题!!!问老师解决不了2015.10.21

#include<stdio.h> /*宏定义*/ #define m(x) printf("x\n") #define a break main() { int month; m(qing shu ru yue fen); scanf("%d",&month); switch(month) { case 1;m(january);a; case 2;m(february);a; case 3;m(march);a; case 4;m(apria

MySQL Study之--MySQL管理工具sqlyog

MySQL Study之--MySQL管理工具sqlyog SQLyog 是一个易于使用的.快速而简洁的图形化管理MYSQL数据库的工具,它能够在任何地点有效地管理你的数据库! sqlyog可以连接到mysql主机.http管道.ssh隧道以及ssl加密.它是一款功能强大的MYSQL数据库管理工具,内置多个高级工具,可以导入外部数据,SQL调度器和报告工具向导会引导您通过若干步骤调度查询的执行,结果可以发送给多个接收者,您还可以使用该功能执行例如 ANALYZE, REPAIR等维护查询.可视化

【MySQL】设置MySQL密码

// 启动MySQL [[email protected] tools]# systemctl start mysqld // 以root连接到MySQL [[email protected] tools]# mysql -u root Welcome to the MySQL monitor.  Commands end with ; or \g. Your MySQL connection id is 8 Server version: 5.6.25 MySQL Community Serv

MySQL Study之--MySQL innodb引擎备份工具XtraBackup之一(Install)

MySQL Study之--MySQL innodb引擎备份工具XtraBackup之一(Install) Xtrabackup是一个对InnoDB做数据备份的工具,支持在线热备份(备份时不影响数据读写),是商业备份工具InnoDB Hotbackup的一个很好的替代品. Xtrabackup有两个主要的工具:xtrabackup.innobackupex (1)xtrabackup只能备份InnoDB和XtraDB两种数据表,而不能备份MyISAM数据表 (2)innobackupex-1.5

MySQL Study之--MySQL关闭自动commit(autocommit)

MySQL Study之--MySQL关闭自动commit(autocommit)      对于mysql来讲,在事务处理时,默认是在动提交的(autocommit),以下方法可以自动关闭autocommit: 案例分析: 1.在mysql登录环境下修改 [[email protected] soft]# mysql -u root -pEnter password: Welcome to the MySQL monitor.  Commands end with ; or \g.Your M

MYSQL之错误代码----mysql错误代码与JAVA实现

原文地址:MYSQL之错误代码----mysql错误代码与JAVA实现作者:戒定慧 his chapter lists the errors that may appear when you call MySQL from any host language. The first list displays server error messages. The second list displays client program messages. Server error informati

day20——安装客户端、数据库连接、mysql事务、mysql操作数据

python的mysql操作 mysql数据库是最流行的数据库之一,所以对于python操作mysql的了解是必不可少的.Python标准数据库接口为Python DB-API, Python DB-API为开发人员提供了数据库应用 编程接口.参考地址:https://wiki.python.org/moin/DatabaseInterfaces,你可以查看python支持数据库的详细列表.不同的数据库需要下载不同的DB API模块.DB-API是一个规范.它定义了一系列必须的对象和数据库存取方

MySql基础学习-mysql安装

Linux环境下的安装 1检查是否已经安装 sudo service mysql start #若未安装,则提示: mysql: unrecognized service 2安装MySql #安装 MySQL 服务端.核心程序 sudo apt-get install mysql-server #安装 MySQL 客户端 sudo apt-get install mysql-client 安装过程中,提示确实yes即可,并且会提示设置root密码,设置即可. 3检查安装 sudo netstat