This document summarizes new features and improvements in MySQL 8.0. Key highlights include utf8mb4 becoming the default character set to support Unicode 9.0, performance improvements for utf8mb4 of up to 1800%, continued enhancements to JSON support including new functions, expanded GIS functionality including spatial reference system support, and new functions for working with UUIDs and bitwise operations. It also provides a brief history of MySQL and outlines performance improvements seen in benchmarks between MySQL versions.
This document summarizes new features and improvements in MySQL 8.0. Key highlights include utf8mb4 becoming the default character set to support Unicode 9.0, performance improvements for utf8mb4 of up to 1800%, continued enhancements to JSON support including new functions, expanded GIS functionality including spatial reference system support, and new functions for working with UUIDs and bitwise operations. It also provides a brief history of MySQL and outlines performance improvements seen in benchmarks between MySQL versions.
MySQL 5.7 was released on October 19, 2015. The document discusses exploring new features in MySQL 5.7 such as the sys schema, full-text search improvements including ngram parsing, and enabling the MeCab plugin for Japanese morphological analysis in full-text searches. It provides steps to install MySQL 5.7 on CentOS, set the initial root password, change validation settings, and optimize the full-text index.
7. MySQL 5.7
2013/04 MySQL 5.7.1 DMR11
2015/03 MySQL 5.7.6 DMR16
2015/04 MySQL 5.7.7 RC
2015/08 MySQL 5.7.8 RC
2015/10 MySQL 5.7.9 GA
2015/12 MySQL 5.7.10 GA
2016/02 MySQL 5.7.11 GA
6/133
8. MySQL 5.7
2015/04 MySQL 5.7.7 RC
ここまではまあいい
2015/08 MySQL 5.7.8 RC
JSON型, virtual generated columnの拡張, InnoDB Page
Compression
2015/10 MySQL 5.7.9 GA
innodb_default_row_format, JSON -> operator,
innodb_numa_interleave
2015/12 MySQL 5.7.10 GA
Bug Fix
2016/02 MySQL 5.7.11 GA
InnoDB Tablespace Encryption 7/133
9. MySQL 5.7
2015/04 MySQL 5.7.7 RC
ここまではまあいい
2015/08 MySQL 5.7.8 RC
新機能!!
2015/10 MySQL 5.7.9 GA
新機能!!
2015/12 MySQL 5.7.10 GA
Bug Fix
2016/02 MySQL 5.7.11 GA
新機能!!
8/133
129. NOW関数とバイナリーログ
安全でないと⾒なされない非決定的関数。 これらの関
数は決定的ではありませんが、ロギングおよびレプリケ
ー シ ョ ン目 的の場 合は安 全と し て処 理さ れ ま す:
CONNECTION̲ID()、CURDATE()、CURRENT̲DATE
()、CURRENT̲TIME()、CURRENT̲TIMESTAMP()、
CURTIME()、LAST̲INSERT̲ID()、LOCALTIME()、
LOCALTIMESTAMP()、NOW()、UNIX̲TIMESTAMP
( )、U T C ̲ D A T E ( )、U T C ̲ T I M E ( )、お よ び
UTC̲TIMESTAMP()。
http://dev.mysql.com/doc/refman/5.6/ja/replication-rbr-
safe-unsafe.html
128/133
130. NOW関数とバイナリーログ
# at 4381
#160212 17:23:20 server id 1056 end_log_pos 4466 Query thread_i
d=43 exec_time=0 error_code=0
SET TIMESTAMP=1455265400/*!*/;
BEGIN
/*!*/;
# at 4466
#160212 17:23:20 server id 1056 end_log_pos 4710 Query thread_i
d=43 exec_time=0 error_code=0
SET TIMESTAMP=1455265400/*!*/;
INSERT INTO t1 VALUES (1691643253,'JBbKOfG7O3qp66Aa5yY8QelD4WL77eKIpneDJ
nCbq2Oo0QM6Pm6jOrxLDASCpgXWS1cnooMXjeJj5ahMCnxTXuqkxIxmyK8QLk52PJZ8ykjvA
P9N46sbtiKq09SqTc')
/*!*/;
# at 4710
#160212 17:23:20 server id 1056 end_log_pos 4737 Xid = 943518
COMMIT/*!*/;
129/133