Skip to content

Latest commit

 

History

History
131 lines (119 loc) · 11.8 KB

mysql57_80_manual_all.md

File metadata and controls

131 lines (119 loc) · 11.8 KB

Aurora MySQL v1(MySQL 5.6.10a)→ v3(MySQL 8.0.23 またはそれ以降)の間に動作が変わった機能(前述のものを除く)一覧

最適化(オプティマイザ)

言語構造(キーワードと予約語を除く)

文字セット・照合順序

データ型

データ型 変更が加わったバージョン 変更の概要・参考リンク
FLOATDECIMALDOUBLE型(シノニム含む)のUNSIGNED属性 8.0.? (D) 非推奨 https://dev.mysql.com/doc/refman/8.0/ja/mysql-nutshell.html#mysql-nutshell-deprecations
FLOATDOUBLE型(シノニム含む)のAUTO_INCREMENT 8.0.? (D) 非推奨 https://dev.mysql.com/doc/refman/8.0/ja/mysql-nutshell.html#mysql-nutshell-deprecations
FLOAT(M,D)DOUBLE(M,D)(シノニム含む) 8.0.? (D) 非推奨 https://dev.mysql.com/doc/refman/8.0/ja/mysql-nutshell.html#mysql-nutshell-deprecations
YEAR(2) 5.7.5 (R) 廃止→ YEAR(4)https://dev.mysql.com/doc/refman/5.7/en/migrating-from-year2.html
YEAR(4) 8.0.19 (D) 非推奨→ YEARhttps://dev.mysql.com/doc/refman/8.0/ja/date-and-time-type-syntax.html
数値データ型の桁数指定・ZEROFILL属性 8.0.? (D) 非推奨 https://dev.mysql.com/doc/refman/8.0/ja/mysql-nutshell.html#mysql-nutshell-deprecations
文字列データ型のBINARY属性 8.0.17 (D) 非推奨 https://dev.mysql.com/doc/refman/8.0/ja/string-type-syntax.html 8.0.28 でASCIIUNICODEも非推奨に https://dev.mysql.com/doc/refman/8.0/en/string-type-syntax.html

SQL ステートメントなど

データ型 変更が加わったバージョン 変更の概要・参考リンク
CHANGE MASTER TO 8.0.23 (D) CHANGE REPLICATION SOURCE TOhttps://dev.mysql.com/doc/refman/8.0/ja/change-replication-source-to.html
CREATE TEMPORARY TABLEでのTABLESPACE = {innodb_file_per_table | innodb_temporary} 8.0.13 (D) 非推奨に https://dev.mysql.com/doc/refman/8.0/ja/create-temporary-table.html
EXPLAIN 8.0.? (R) EXTENDEDPARTITIONSキーワード削除(常に有効)
FLUSH HOSTS 8.0.23 (D) 非推奨 TRUNCATE TABLE performance_schema.host_cache で代替 https://dev.mysql.com/doc/refman/8.0/ja/mysql-nutshell.html#mysql-nutshell-deprecationsDROP権限
GRANT 8.0.? (R) 暗黙のユーザ作成およびユーザ属性のみの変更を廃止 https://dev.mysql.com/doc/refman/8.0/ja/mysql-nutshell.html#mysql-nutshell-removals
GROUP BY 【列名】 ASC/DESC 8.0.13 (R) 廃止(ASCを省略した暗黙の昇順ソートを含む) https://dev.mysql.com/doc/refman/8.0/ja/upgrading-from-previous-series.html#upgrade-sql-changes 8.0.12 でグループ化関数を使用したORDER BYサポート
INSERT DELAYED 5.7.? (R) 廃止 https://dev.mysql.com/doc/refman/5.7/en/insert-delayed.html InnoDB では元から使えない
ORDER BY 【列番号】 8.0.? (D) 非推奨 https://dev.mysql.com/doc/refman/8.0/ja/select.html カッコで囲まれたクエリー式内で発生し外部クエリーにも適用されるORDER BY(動作不定)も非推奨に
REPLACE DELAYED 5.7.? (R) 廃止 https://dev.mysql.com/doc/refman/5.7/en/replace.html InnoDB では元から使えない
RESET SLAVE 8.0.22 (D) RESET REPLICAhttps://dev.mysql.com/doc/refman/8.0/ja/reset-replica.html
RIGHT JOIN 8.0.22 以前のバージョンの実行結果が不正確なケースあり→非互換の可能性 https://dev.mysql.com/doc/refman/8.0/ja/mysql-nutshell.html#mysql-nutshell-additions
SELECT ... INTO ... FROM 8.0.20 (D) 非推奨 SELECT ... FROM ... INTOhttps://dev.mysql.com/doc/relnotes/mysql/8.0/en/news-8-0-20.html
SHOW ENGINE INNODB MUTEX 5.7.2 (R) → 5.7.8 一旦廃止後再導入(仕様変更に注意) https://dev.mysql.com/doc/refman/5.7/en/show-engine.html
SHOW GRANTS 8.0.? 動的権限導入によりALL PRIVILEGESが表示されなくなった https://dev.mysql.com/doc/refman/8.0/ja/show-grants.html
SHOW SLAVE STATUS 8.0.22 (D) SHOW REPLICA STATUShttps://dev.mysql.com/doc/refman/8.0/ja/show-replica-status.html
SQL_CALC_FOUND_ROWS 8.0.17 (D) 非推奨 https://dev.mysql.com/doc/refman/8.0/ja/select.html
START SLAVE 8.0.22 (D) START REPLICAhttps://dev.mysql.com/doc/refman/8.0/ja/start-replica.html
TABLE ... UNION (TABLE)の挙動の変更 8.0.19 https://dev.mysql.com/doc/refman/8.0/ja/union.html#union-table
UNION DISTINCTUNION ALLの挙動の変更 8.0.19 https://dev.mysql.com/doc/refman/8.0/ja/union.html#union-distinct-all
UNIONの制限変更 8.0.20 https://dev.mysql.com/doc/refman/8.0/ja/union.html#union-restrictions

その他