Updated on 2025-10-28 GMT+08:00

Kernel Version Description

This section describes the kernel version updates of RDS for MySQL.

RDS for MySQL 8.0

Table 1 RDS for MySQL 8.0 version description

Date

Description

2022-12-09

  • New features and performance optimized
    • Connection per thread was supported for killing sessions.
    • Constraints on memory were added for the Performance Schema.
    • The performance of SQL Explorer was optimized based on specific scenarios.
    • Database performance was optimized in specific scenarios when the value of internal_tmp_mem_storage_engine was set to MEMORY.
    • The compiler was upgraded to GCC 10.3.
  • Issues resolved
    • Errors caused by writes to a temporary file were resolved.
    • Unexpected responses to Common Table Expression (CTE) queries were resolved.
  • Security hardening
    • The following security vulnerabilities were fixed: CVE-2021-2417, CVE-2021-2339, CVE-2021-2425, CVE-2021-2426, CVE-2021-2427, CVE-2021-2424, CVE-2021-2383, CVE-2021-2384, and CVE-2021-2410.

2022-09-01

  • New features and performance optimized
    • The kernel version was upgraded to 8.0.25.
    • SQL statement concurrency control was supported.
    • The compiler was upgraded to GCC 9.3.
  • Issues resolved
    • Replication interruption caused by a single oversized binlog was resolved.
    • Inaccurate innodb_row_lock_current_waits statistics were fixed.
    • Unexpected restarts due to the use of BLOB fields were resolved.
  • Security hardening
    • The following security vulnerabilities were fixed: CVE-2021-2307, CVE-2021-2180, and CVE-2021-2194.

2021-11-07

  • New features and performance optimized
    • The static link library for the thread pool improved the performance.
    • Profile-Guided Optimization (PGO) was enabled.
    • The MySQL hash algorithm was optimized.
    • Remarks can be added to a database.
    • Protection from being modified by DDL was provided for the system database.
    • The innodb_total_tablespaces parameter was added to calculate the number of InnoDB tablespaces.
    • The InnoDB lock view was provided in information_schema.
    • The OpenSSL, jemalloc, and curl open-source components were upgraded.
  • Issues resolved
    • The issue that XA transactions may restart abnormally after binlog rotation was resolved.
    • The issue that precompiled SQL statement types were not recorded by SQL Explorer was resolved.
    • Incorrect execution time statistics for FLUSH PRIVILEGES was resolved.
    • The issue that audit logs were incorrectly written into other files was resolved.

2021-07-13

  • The issue that XA transactions may be lost after unexpected database restart was resolved.
  • The adaptive hash segmentation algorithm was optimized.
  • The kernel version was upgraded to 8.0.21.
  • Security hardening

    The following security vulnerabilities were fixed: CVE-2020-14697, CVE-2020-14680, CVE-2020-14678, CVE-2020-14663, CVE-2021-2020, CVE-2020-14619, CVE-2020-14591, CVE-2020-14576, and CVE-2020-14539.

2021-04-26

  • SQL statement concurrency control was optimized.
  • Full SQL collection was optimized.

2021-03-31

  • Performance optimized

    The compiler was upgraded to GCC 9.

2021-03-01

  • Performance optimized

    The efficiency of collecting additional information about slow query logs was improved.

  • Issues resolved

    The issue that replication on the standby DB instance might be interrupted during the rollback of distributed transactions was resolved.

2021-02-06

  • Issues resolved

    Timing error caused by gettimeofday in multiple threads was fixed.

2020-12-21

  • Disconnection details were recorded in error logs.
  • Index hints were supported.

2020-11-03

  • The execution time and waiting time of large transactions were displayed.
  • Independent connection control was used to manage users.
  • SQL filter was used to restrict the execution frequency of SQL statements during peak hours.
  • Kernel performance was optimized.

RDS for MySQL 5.7

Table 2 RDS for MySQL 5.7 version description

Date

Description

2022-12-09

  • New features and performance optimized
    • The kernel version was upgraded to 5.7.38 through backporting.
    • The compiler was upgraded to GCC 10.3.
    • Connection per thread was supported for killing sessions.
    • The threshold for slow query logs can be set based on the lock wait duration.
    • ALT security was hardened.
  • Issues resolved
    • Recovery security of crashed XA transactions on the primary instance was enhanced.
    • Abnormal instance reboot when Database Proxy is enabled was resolved.
    • Abnormal reboot caused by failed memory request for plugins was resolved.
  • Security hardening
    • The following security vulnerabilities were fixed: CVE-2022-21454, CVE-2022-21417, CVE-2022-21427, CVE-2022-21451, CVE-2022-21444, and CVE-2022-21460.

2022-09-01

  • New features and performance optimized
    • The kernel version was upgraded to 5.7.37.
    • The compiler was upgraded to GCC 9.3.
    • The OpenSSL and curl open-source components were upgraded.
  • Issues resolved
    • Replication interruption caused by a single oversized binlog was resolved.
    • Unexpected restarts caused by concurrent playback grants to the slave node were resolved.
    • Replication interruptions caused by hidden auto-increment keys were resolved.
    • Unexpected restarts during rollback of tables with virtual columns were resolved.
    • Unexpected restarts during recovery of encrypted tables were resolved.
    • Inaccurate Seconds Behind Master values in specific scenarios were resolved.
  • Security hardening
    • The following security vulnerabilities were fixed: CVE-2022-21367, CVE-2022-21304, and CVE-2022-21344.

2022-04-26

  • New features and performance optimized
    • Hidden auto-increment keys were supported.
  • Issues resolved
    • Replication exceptions caused by repeated commitment of XA transactions were resolved.
    • Inaccurate innodb_row_lock_current_waits statistics were fixed.

2022-02-26

  • New features and performance optimized
    • Restrictions on the length of a single record for SQL Explorer were removed.
    • Application Lossless and Transparent (ALT) Phase I was supported for RDS for MySQL.
  • Issues resolved
    • Memory problems of the thread pool in extreme scenarios were resolved.
    • Occasional suspension of XA transaction playbacks on a standby node was resolved.

2021-11-07

  • New features and performance optimized
    • The static link library for the thread pool improved the performance.
    • Profile-Guided Optimization (PGO) was enabled.
    • The MySQL hash algorithm was optimized.
    • Remarks can be added to a database.
    • Protection from being modified by DDL was provided for the system database.
    • I/O latency information can be queried in error logs.
    • Minidumps were supported.
    • The kernel version was upgraded to 5.7.33.
    • The OpenSSL, jemalloc, and curl open-source components were upgraded.
  • Issues resolved
    • The issue that the replication on the standby node may be interrupted due to playback order preserving was resolved.
    • The issue that XA transactions may restart abnormally after binlog rotation was resolved.
    • The issue that precompiled SQL statement types may not be recorded by SQL Explorer was resolved.
    • Incorrect execution time statistics for FLUSH PRIVILEGES was resolved.
    • The issue that audit logs were incorrectly written into other files was resolved.
  • Security hardening

    The following security vulnerabilities were fixed: CVE-2021-2011, CVE-2021-2178, and CVE-2021-2202.

2021-07-13

  • The issue that XA transactions may be lost after unexpected database restart was resolved.
  • The adaptive hash segmentation algorithm was optimized.
  • The kernel version was upgraded to 5.7.32.

2021-04-26

  • New features

    The real client address can be displayed when proxy is used.

  • Issues resolved

    Full SQL collection was optimized.

    The issue that revoking permissions might cause permission inconsistency between primary and standby DB instances was resolved.

    MySQL 8.0 optimizations on Instant Add Column was incorporated.

2021-03-31

  • Performance optimized
    • The efficiency of collecting additional information about slow query logs was improved.
    • The compiler was upgraded to GCC 9.
  • Issues resolved

    The issue that replication on the standby DB instance might be interrupted during the rollback of distributed transactions was resolved.

2021-03-01

The conflict frequency between fil_sys mutual exclusions was reduced.

2021-02-06

  • New features
    • The compiler was optimized.
    • The UTF-8 encoding efficiency was improved on non-Arm platforms.
  • Issues resolved

    Timing error caused by gettimeofday in multiple threads was fixed.

2020-12-21

  • The kernel version was upgraded to 5.7.31.
  • SQL filter was used to restrict the execution frequency of SQL statements during peak hours.

2020-11-03

  • Kernel performance was optimized.
  • The recycle bin was supported.
  • Issues that may occur during local disk data cleanup were resolved.

RDS for MySQL 5.6

Table 3 RDS for MySQL 5.6 version description

Date

Description

2022-12-09

  • New features and performance optimized
    • Connection per thread was supported for killing sessions.
  • Issues resolved
    • Abnormal instance reboot when Database Proxy is enabled was resolved.
    • main.proxy_connect buffer overflow issues were resolved.
    • Abnormal reboot caused by failed memory request for plugins was resolved.

2022-09-01

Inaccurate innodb_row_lock_current_waits statistics were fixed.

2021-11-07

  • New features
    • Remarks can be added to a database.
    • Protection from being modified by DDL was provided for the system database.
    • The OpenSSL and jemalloc open-source components were upgraded.
  • Issues resolved
    • The issue that the synchronization may be interrupted after password change was resolved.
    • The issue that audit logs were incorrectly written into other files was resolved.

2021-07-13

  • The issue that the replication on the standby node may be interrupted due to playback order preserving was resolved.
  • The kernel version was upgraded to 5.6.51.
  • Security hardening

    The vulnerability patches for MySQL 5.6 Community Edition are no longer released because the patches for this version are not released anymore.

2021-04-26

  • New features

    The real client address can be displayed when proxy is used.

  • Issues resolved

    The issue that a syntax error was reported during the select 1 for update execution was resolved.

    Full SQL collection was optimized.

2021-03-31

SQL filter was reconstructed to improve usability.

2021-02-06

The kernel version was upgraded to 5.6.50.

2020-12-23

SQL filter was used to restrict the execution frequency of SQL statements during peak hours.

2020-11-03

The kernel version was upgraded to 5.6.49.

2020-10-09

  • Local disk logs whose size exceeds the local disk capacity were stored on cloud disks.
  • Users' operation history can be recorded in error logs.