Updated on 2023-10-17 GMT+08:00

Kernel Version Description

This section describes the kernel version updates of RDS.

RDS for MySQL 8.0

Table 1 RDS for MySQL 8.0 version description

Date

Description

2023-03-15

Updates in RDS for MySQL 8.0.25:

  • New features and performance optimized
    • The printing of oversized SQL audit logs was optimized.
    • The security of kernel log printing was enhanced.
  • Issues resolved

    Unexpected restarts due to concurrent DDL and DML operations on DB instances were resolved.

2022-09-09

Updates in RDS for MySQL 8.0.25:

  • 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-06-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-08-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-04-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-01-26

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

2020-12-31

  • Performance optimized

    The compiler was upgraded to GCC 9.

2020-12-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.

2020-11-06

  • Issues resolved

    Timing error caused by gettimeofday in multiple threads was fixed.

2020-09-21

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

2020-08-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.

2020-06-19

  • The kernel version was upgraded to 8.0.20.
  • Kernel performance was optimized.

2020-02-15

  • RDS for MySQL 8.0 was put into commercial use.
  • The Huawei Cloud Kunpeng-powered Arm kernel version was released.

2019-12-15

  • The kernel version was upgraded to 8.0.17.
  • The parallel index creation was 2.5 times faster.

2019-10-15

The issue that the primary/standby replication was abnormal when SQL_MODE was set to PAD_CHAR_TO_FULL_LENGTH was resolved.

2019-09-15

  • Thread pools were supported.
  • OpenSSL was upgraded to 1.1.1a.
  • The Common Type System (CTS) syntax create table xx select was supported.
  • The memory usage and CPU time usage of user threads can be queried through show full processlist.

RDS for MySQL 5.7

Table 2 RDS for MySQL 5.7 version description

Date

Description

2023-06-28

  • New features and performance optimized
    • The kernel version was upgraded to 5.7.41.
    • Compiler security options were added.
  • Issues resolved
    • The replication exception that may occur when an index is added to a reference table and a foreign key is added to another table concurrently was rectified.
    • The replication exception that may occur when a child table is deleted after a foreign key table is deleted was rectified.
  • Security hardening
    • The following security vulnerabilities were fixed: CVE-2023-21963, CVE-2022-32221, CVE-2023-21840, CVE-2022-2097, CVE-2022-21617, CVE-2022-21608, CVE-2022-21592, CVE-2022-21589, CVE-2022-1292, CVE-2022-27778, CVE-2018-25032, and CVE-2022-21515.

2022-09-09

  • New features and performance optimized
    • The kernel version was upgraded to 5.7.38.
    • 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-06-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-01-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.

2021-11-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-08-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-04-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-01-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.

2020-12-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.

2020-12-01

The conflict frequency between fil_sys mutual exclusions was reduced.

2020-11-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-09-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-08-03

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

2020-07-09

  • Kernel performance was optimized.
  • Users' operation history can be recorded in error logs.
  • Distributed transaction stability was improved.

2020-06-30

  • Kernel performance was optimized.
  • Local disk logs whose size exceeds the local disk capacity were stored on cloud disks.
  • The buffer pool memory initialization module was optimized to improve the initialization efficiency.
  • The thread security of some operations on Arm was improved.

2020-05-30

  • New features
    • Index hints were supported.
    • Full SQL logs can be captured.
  • Issues resolved

    Occasional database connection failures were resolved.

2020-04-30

Kernel performance was optimized.

2020-03-30

  • The kernel version was upgraded to 5.7.29.
  • Kernel performance was optimized.
  • Threshold pools supported statistics on I/O waits.

2020-02-15

  • Replication dual-channel: A replication status channel was added to accurately determine the replication status when the primary database crashes, ensuring that transactions are not lost.
  • Optimized ROW_IMAGE mode: The binlog size was reduced, and migration and SQL flashback were supported.

2019-12-15

  • The progress of adding columns or indexes can be obtained through information_schema.innodb_alter_table_progress.
  • Long transactions: The transaction execution time Trx_Executed_Time can be obtained through show processlist.
  • Online extension of the string field length: The VARCHAR field length was changed from COPY to INPLACE by default.
  • Abundant InnoDB deadlock information: The complete onsite information when deadlock occurs at the InnoDB layer can be viewed through show engine innodb status.

2019-10-15

  • Performance optimized
    • The Huawei Cloud Kunpeng-powered Arm kernel version was released.
  • New features
    • The kernel version was upgraded to 5.7.27.
    • Instant Add Column was supported. Columns are quickly added to a table without copying data and without occupying disk space and disk I/Os. Data can be updated in real time during peak hours.
    • Metadata lock (MDL) view was supported. The MDL information held or waited by the thread can be obtained through information_schema.metadata_lock_info.

2019-08-15

For Jemalloc memory management, the glibc memory management module was replaced to reduce memory usage and improve memory allocation efficiency.

2019-06-15

  • The kernel version was upgraded to 5.7.25.

2019-05-15

  • New features
    • When sync_binlog and innodb_flush_log_at_trx_commit are set to values other than 1, the crash-safe replication of the standby database is guaranteed. In sysbench high-concurrent write-only request scenarios, the replication delay between primary and standby DB instances is almost zero.
  • Issues resolved
    • The issue that when relay_log_recovery was set to ON, the standby database could not be rebooted after being killed in certain scenarios was resolved.
    • The issue that the primary/standby replication was abnormal when SQL_MODE was set to PAD_CHAR_TO_FULL_LENGTH was resolved.
    • The issue that performance_schema statistics were repeatedly measured was resolved.
    • The issue that when ORDER BY queries were performed on tables related to information replication in Performance_schema, the return value was empty was resolved.

2019-01-15

  • The issue that data was inconsistent and data replication was interrupted after the flush operation was performed on read replicas was resolved.
  • The issue that the replication thread of the standby database was suspended due to statements like REPAIR or OPTIMIZE was resolved.

2018-11-15

  • The kernel version was upgraded to 5.7.23.
  • Temporary tables can be created or deleted in transactions when GTID is enabled.
  • Table-level multi-threaded slaves (MTS) parallel playback was supported.

2018-07-15

  • The kernel version was upgraded to 5.7.22.
  • Thread pools were supported.
  • The Common Type System (CTS) syntax create table xx select was supported.
  • Operator pushdown: The aggregation operator is pushed down to the storage engine layer to improve the execution speed of count() and sum().
  • Kill idle transactions: Transactions that have been idled for a long time are automatically killed after the timeout threshold is reached.
  • The memory usage and CPU time usage of user threads can be queried through show full processlist.

RDS for MySQL 5.6

Table 3 RDS for MySQL 5.6 version description

Date

Description

2023-03-15

Updates in RDS for MySQL 5.6.51:

  • New features and performance optimized
    • The printing of oversized SQL audit logs was optimized.
    • The security of log printing was enhanced.
  • Issues resolved
    • The replication exception that may occur when an index is added to a reference table and a foreign key is added to another table concurrently was rectified.

2022-09-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-06-01

Inaccurate innodb_row_lock_current_waits statistics were fixed.

2021-08-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-04-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-01-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.

2020-12-31

SQL filter was reconstructed to improve usability.

2020-11-06

The kernel version was upgraded to 5.6.50.

2020-09-23

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

2020-08-03

The kernel version was upgraded to 5.6.49.

2020-07-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.

2020-05-30

The buffer pool memory initialization module was optimized to improve the initialization efficiency.

2020-04-30

Occasional database connection failures were resolved.

2020-03-30

  • Full SQL collection was supported.
  • The compiler was upgraded to 7.3.
  • The kernel version was upgraded to 5.6.47.

2020-02-15

  • Replication dual-channel: A replication status channel was added to accurately determine the replication status when the primary database crashes, ensuring that transactions are not lost.
  • Optimized ROW_IMAGE mode: The binlog size was reduced, and migration and SQL flashback were supported.

2019-12-15

  • Long transactions: The transaction execution time Trx_Executed_Time can be obtained through show processlist.
  • Online extension of the string field length: The VARCHAR field length was changed from COPY to INPLACE by default.
  • Abundant InnoDB deadlock information: The complete onsite information when deadlock occurs at the InnoDB layer can be viewed through show engine innodb status.

2019-10-15

  • The kernel version was upgraded to 5.6.45.
  • The memory usage and CPU time usage of user threads can be queried through show full processlist.
  • Kill idle transactions: Transactions that have been idled for a long time are automatically killed after the timeout threshold is reached.

2019-08-15

For Jemalloc memory management, the glibc memory management module was replaced to reduce memory usage and improve memory allocation efficiency.

2019-06-15

  • The kernel version was upgraded to 5.6.43.
  • The audit function was supported.

2019-05-15

  • The issue that the replication delay Seconds_Behind_Master was inaccurate in certain scenarios was resolved.
  • The issue that the primary/standby replication was abnormal when SQL_MODE was set to PAD_CHAR_TO_FULL_LENGTH was resolved.

2019-01-15

  • The issue that data was inconsistent and data replication was interrupted after the flush operation was performed on read replicas was resolved.
  • The issue that the replication thread of the standby database was suspended due to statements like REPAIR or OPTIMIZE was resolved.
  • The issue that an error occurred on the grant select(column_name) statement replication threshold was resolved.

2018-11-15

  • The kernel version was upgraded to 5.6.41.
  • Temporary tables can be created or deleted in transactions when GTID is enabled.
  • Table-level multi-threaded slaves (MTS) parallel playback was supported.

2018-07-15

  • New features
    • The kernel version was upgraded to 5.6.40.
    • Thread pools were supported.
    • The Common Type System (CTS) syntax create table xx select was supported.
  • Issues resolved
    • The issue that binlog and relay log names depended on the PID file names was resolved.
    • The issue that the empty relay_log_basename parameter value resulted in primary/standby replication failures was resolved.
    • The issue that the force index syntax became invalid in the group_by xx order_by xx limit n1,n2 scenario was resolved.

RDS for MariaDB Kernel Version Description

The kernel version of RDS for MariaDB is based on open-source MariaDB 10.5.16, which is a stable (GA) version of MariaDB. By optimizing the performance, security, and storage engine, RDS for MariaDB is suitable for various applications and scenarios.

The following table lists the detailed information about RDS for MariaDB versions.

Table 4 RDS for MariaDB version description

Date

Description

2023-05-01

RDS for MariaDB was released for open beta testing (OBT). The kernel version was based on 10.5.16.