Percona Server for MySQL 9.7.4-4 (2026-12-)¶
Get started with Quickstart Guide for Percona Server for MySQL.
Percona Server for MySQL 9.7.4-4 includes all the features and bug fixes available in the MySQL 9.7.4 Community edition and applicable security fixes from MySQL 9.7.4.1 Critical Security Patch Update (CSPU) notice in addition to enterprise-grade features developed by Percona.
Release highlights¶
MySQL 9.7.4¶
Improvements and bug fixes introduced by Oracle for MySQL 9.7.4 and included in Percona Server for MySQL are the following:
- Stale Adaptive Hash Index (AHI) Data Fix: Resolved an issue where point lookups returned outdated data after a modified table’s tablespace was discarded and replaced with an older imported image. Outdated AHI entries are now safely bypassed as cache misses, forcing the system to perform a standard B-tree traversal.
- Failed Tablespace Import Cleanup: Prevented an assertion error that could occur during page eviction if an
ALTER TABLE ... IMPORT TABLESPACEcommand failed. The cleanup process now correctly preserves the index space identifier so that leftover AHI entries can be properly purged. - Fatal Page Reorganization Mismatches: Addressed a severe vulnerability where InnoDB would ignore size discrepancies during page reorganization without logging the necessary redo data, risking database corruption or recovery failures after a crash. These mismatches are now appropriately classified as fatal errors to prevent inconsistent states from persisting.
- Self-Referencing Foreign Keys: Patched a bug that previously caused problems when attempting to rename columns bound by self-referencing foreign key constraints.
Find the complete list of changes in the MySQL release notes:
-
MySQL 9.7.4.1 release notes : Critical Security Patch Update (CSPU)
New features¶
-
PS-10110: Adds improved MyRocks statistics that the query optimizer can use to choose better query plans. Before, MyRocks could underestimate the number of matching rows, and the optimizer could choose a slow join order.
-
PS-10256: Adds vector indexes as a tech preview feature. A vector index speeds up similarity search on a
VECTORcolumn. Without an index, a query such asORDER BY DISTANCE(...) LIMIT 10computes the distance to every row in the table. With a vector index, the server compares the query vector with only a small part of the table, so the query stays fast on large tables. Percona Server for MySQL implements vector indexes in InnoDB with the Hierarchical Navigable Small World (HNSW) algorithm, so you can store embeddings next to your business data and query both with standard SQL. See Vector indexes. -
PS-11106: Adds the Keyring Encrypted File component (
component_percona_keyring_encrypted_file). -
PS-11419: Adds support for proxied users with long group names or IDs in the OpenID Connect (OIDC) plugin. See OpenID Connect authentication.
Improvements¶
-
PS-10355: Converts query text to UTF-8 (
utf8mb4) in the Audit Log Filter component before writing the text to the audit log. Before, the component wrote the query text in the client character set, so JSON audit logs andaudit_log_read()results could contain invalid UTF-8. -
PS-10452: Adds the
dropping tableandafter dropthread states. Before,DROP TABLEoperations appeared aschecking permissions. See Thread states. -
PS-11118: Supports regular expressions in field conditions of Audit Log Filter component filters. You can match many tables or users with one pattern instead of listing every name in the filter.
-
PS-11495: Reduces contention on internal block mutexes, which improves performance under heavy concurrent workloads.
-
PS-11568: Adds an installation script to the OpenID Connect (OIDC) authentication plugin, so you do not need to install and configure the plugin manually.
-
PS-11750: Adds the
Innodb_hnsw_memory_usedstatus variable. The variable shows the memory that all HNSW vector index graphs use, the same value that Percona Server for MySQL compares with theinnodb_hnsw_max_memorylimit. -
PS-11929: Improves how InnoDB tracks read-write lock holders, which reduces overhead and improves performance under heavy workloads.
-
PS-11936: Returns the snapshot GTID set in the OK packet of
START TRANSACTION WITH CONSISTENT SNAPSHOTwhen you setsession_track_gtidstoALL_GTIDS. Clients, such as change data capture (CDC) tools, get theBinlog_snapshot_gtid_executedvalue without an extra query. (Thank you to Marcelo Altmann for your contribution)
Bug Fixes¶
-
PS-8313: Fixed an issue where stopping replication on a semi-synchronous replica caused the source to log a spurious
[MY-013129]error (“Got an error reading communication packets”, MY-001158) in the error log. -
PS-9704: Fixed an issue where the LDAP authentication plugin could not handle usernames that contain double quotes.
-
PS-11273: Fixed an issue where the server could exit unexpectedly when a startup with the
audit_log_filtercomponent enabled failed or stopped. -
PS-11291: Fixed telemetry tests that failed on macOS.
-
PS-11498: Fixed an issue where the audit log filter recorded each disconnect event twice when you enabled the thread pool. PS-11576
-
PS-11538: Fixed an issue where OpenTelemetry metrics, such as
created.tmp_tables,select_range,sort_rows, and theread_*handler metrics, stayed at0while the matching global status variables increased. -
PS-11547: Fixed an issue where ARM packages included the
libcoredumperlibrary. -
PS-11562: Fixed an issue where
audit_log_read()did not work when you stored audit logs outside the data directory. -
PS-11576: Fixed inaccuracies in the Software Bill of Materials (SBOM) for Percona Server for MySQL.
-
PS-11578: Fixed an issue where a
VECTOR(n) NOT NULLcolumn accepted values with fewer thanndimensions. After such a row existed,ALTER TABLE ... ADD VECTOR KEYfailed with an index corruption error. -
PS-11593: Fixed an issue where the server locked the access control (ACL) cache in write mode even when external roles did not change, which reduced performance. The server now takes the write lock only when external roles change.
-
PS-11614: Fixed an issue where
SELECT ... FOR UPDATEandSELECT ... FOR SHAREon a table with a vector index could lock rows outside the result set. -
PS-11780: Fixed an issue where a vector search with
ORDER BY DISTANCE(...) LIMIT nreturned fewer thannrows when the table contained groups of identical or nearly identical vectors. -
PS-11850: Fixed an issue in InnoDB that could occur when you resized the buffer pool while InnoDB was reading pages.
-
PS-11907: Fixed an issue where a failed
INSERTinto a table with a vector index could leave a reference to a missing node in the saved HNSW graph. After a restart, the server marked the index as corrupt, and every laterINSERTinto the table failed until you rebuilt the index. -
PS-11938: Fixed an issue where the
asynchronous_connection_failover_add_managed()function accepted non-constant values for the managed type and managed name arguments. The function now returns an error. -
PS-11985: Fixed incorrect access to Group Replication flow control status variables.
-
PS-11991: Fixed an issue where the
version_suffixvalue did not appear inVERSION(),VERSION_WITH_UPDATE(), and@@version_with_update. -
PS-12024: Fixed an issue where building a vector index did not write the redo log record that backup tools use to detect changed tablespaces. As a result, Percona XtraBackup could create a backup that failed during
--prepareor that restored an empty vector index.
Builds and packaging¶
-
Percona Server for MySQL releases include a mixture of Profile-Guided Optimization (PGO) and non-PGO builds. Where PGO is enabled, the compiler uses runtime profiling data from representative workloads to guide optimization, which can improve throughput and reduce latency compared with non-PGO builds.
-
See Profile-Guided Optimization (PGO) and non-PGO builds for benefits, considerations, and which build is published for each platform.
Useful links¶
Install Percona Server for MySQL 9.7
Upgrade Percona Server for MySQL
The Percona Server for MySQL GitHub repository
Download product binaries, packages, and tarballs at Percona Software Downloads
Contribute to the documentation
For training, contact Percona Training - Start learning now