- MySQL released version 8.0.22 which focused on replacing slave terminology with replica terminology as part of being more inclusive, and addressed 136 bugs.
- Key changes included adding support for periodic synchronization when writing files with SELECT statements, and improving replication performance on multithreaded replicas by disabling session state tracking for worker threads.
- The release notes provide details on changes in areas like account management, configuration, optimizations, and plugins.
This document summarizes the history and capabilities of MySQL's geographic information system (GIS) functions. Key points include:
- MySQL has included basic GIS functions since version 4.1 in 2003, with improvements in versions 5.0, 5.7, and 8.0.
- Version 8.0 added support for over 400 spatial reference systems and over 100 new spatial functions.
- MySQL spatial types include POINT, LINESTRING, POLYGON, and GEOMETRYCOLLECTION, and functions allow operations like distance calculations and coordinate transformations.
Protect Your IoT Data with UbiBot's Private Platform.pptxユビボット 株式会社
?
Our on-premise IoT platform offers a secure and scalable solution for businesses, with features such as real-time monitoring, customizable alerts and open API support, and can be deployed on your own servers to ensure complete data privacy and control.
17. 参考:GENERATED COLUMN
日本語で「生成列」とも。
mysql> CREATE TABLE gentest (a int, b int, c int GENERATED ALWAYS AS (a+b));
mysql> INSERT INTO gentest (a,b) values (3,5),(2,9);
mysql> SELECT * FROM gentest;
+------+------+------+
| a | b | c |
+------+------+------+
| 3 | 5 | 8 |
| 2 | 9 | 11 |
+------+------+------+
mysql> CREATE TABLE gentest2 (a int, b int,
c int GENERATED ALWAYS AS ((a+b)*rand()));
ERROR 3102 (HY000): Expression of generated column 'c' contains a disallowed
function.
randomとか出来るかな?と、イタ
ズラ心で試してみましたが、さすが
にダメでした(笑)
23. 例:
×
SELECT f_id, name, count(*) FROM tbl1
GROUP BY f_id;
○
SELECT f_id, name, count(*) FROM tbl1
GROUP BY f_id, name;
SQL_MODE: ONLY_FULL_GROUP_BY
31. ? MySQL 3.23 (2001)みんなが使い始めた
? MySQL 4.0 (2003)使いやすくなってきた
? MySQL 4.1 (2004)文字コードの扱い拡張(&混乱)
? MySQL 5.0 (2005)大きな進化
? MySQL 5.1 (2008)更に大きな進化
? MySQL 5.5 (2010)Oracle後初のメジャー
? MySQL 5.6 (2013)初の純Oracleバージョン
? MySQL 5.7 (2015)現在の最新バージョン
MySQLの主なバージョン
青字 MySQL AB 時代
黒字 Sun Microsystems 時代
赤字 Oracle 時代
その他、幻の MySQL 6.0, MySQL 5.4 も。