Kernel Version Description

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

MySQL 8.0

Table 1 RDS for MySQL 8.0 version description

Date

Description

2020-12-31

  • Performance optimized

    The compiler was upgraded to GCC 9.

  • Issues resolved

    MySQL start failures in hugepage memory were resolved.

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 may be interrupted during the rollback of distributed transactions was resolved.

2020-11-06

  • New features

    Hugepage memory was supported.

  • 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

  • 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 is 2.5 times faster.

2019-10-15

The issue that the replication delay is abnormal when SQL_MODE is 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.

MySQL 5.7

Table 2 RDS for MySQL 5.7 version description

Date

Description

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 may 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
    • Hugepage memory was supported.
    • Transparent data encryption was supported.
    • 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

    The issue of occasional database connection failures was 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

  • DDL operation progress: The progress of adding columns or indexes was 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: 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: The MDL information held or waited by the thread can be obtained through information_schema.metadata_lock_info.

2019-08-15

Jemalloc memory management: The jlibc 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.
  • Implicit primary key: If a user does not specify a primary key or unique index when creating a table, an implicit primary key is automatically created. The primary/standby replication delay caused by no primary key is resolved.

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 data security 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 is set to ON, the standby database cannot be rebooted after being killed in certain scenarios was resolved.
    • The issue that the replication delay is abnormal when SQL_MODE is set to PAD_CHAR_TO_FULL_LENGTH was resolved.
    • The issue that performance_schema statistics are repeatedly measured was resolved.
    • The issue that when ORDER BY queries are performed on tables about information replication in Performance_schema, the return value is empty was resolved.

2019-01-15

  • The issue that data is inconsistent and data replication is interrupted after the flush operation is performed on read replicas was resolved.
  • The issue that the replication thread of the standby database is suspended due to statements like RREPAIR 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.

MySQL 5.6

Table 3 RDS for MySQL 5.6 version description

Date

Description

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

The issue of occasional database connection failures was 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

Jemalloc memory management: The jlibc 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.
  • Implicit primary key: If a user does not specify a primary key or unique index when creating a table, an implicit primary key is automatically created to resolve the primary/standby replication delay issue.

2019-05-15

  • The issue that the replication delay Second_Behind_Master is inaccurate in certain scenarios was resolved.
  • The issue that the replication delay is abnormal when SQL_MODE is set to PAD_CHAR_TO_FULL_LENGTH was resolved.

2019-01-15

  • The issue that data is inconsistent and data replication is interrupted after the flush operation is performed on read replicas was resolved.
  • The issue that the replication thread of the standby database is suspended due to statements like RREPAIR or OPTIMIZE was resolved.
  • The issue that an error occurs 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 depend on the PID file names was resolved.
    • The issue that the relay_log_basename parameter is not specified, resulting in the failure of primary/standby replication was resolved.
    • The issue that the force index syntax becomes invalid in the group_by xx order_by xx limit n1,n2 scenario was resolved.