Oracle Releases MySQL 9.7.0: A New Era in Database Management
Oracle has officially announced the general availability of MySQL 9.7.0, the inaugural release in the new 9.7 Long-Term Support (LTS) series. This update signifies a significant milestone, especially as it follows the last major release, MySQL 8.4. It arrives at a crucial moment when the community has been voicing concerns regarding the declining pace of MySQL development and Oracle’s ongoing commitment to the project.
Key Features and Innovations
This new release brings a suite of enhancements aimed at improving performance, security, and overall user experience. Highlights from MySQL 9.7.0 include:
- Improved Replication Observability: Enhancements in monitoring tools allow users to track replication processes more effectively.
- Telemetry and Query Optimization: New features streamline query processing and system monitoring.
- MySQL REST Service Enhancements: The REST interface has been significantly improved for better integration and usability.
- Dynamic Data Masking: This feature ensures sensitive data remains protected at query time without requiring adjustments to existing applications.
- OpenID Authentication: Added security measures help safeguard against unauthorized access.
- In-Database JavaScript Support: Developers can now leverage JavaScript for easier data manipulation within the database.
- Support for JSON Duality Views: Adding sophistication to JSON handling and storage.
A Collaborative Future Ahead
Mike Frank, Oracle’s Product Management Director, emphasizes that this release is pivotal not only for establishing the future LTS baseline but also reflects a broader agenda for MySQL development. He stated, “The long-term goal is straightforward: to create a tighter feedback loop with the community and help craft the roadmap together.” This approach aims to build trust and foster a collaborative atmosphere with users and developers alike.
Community Concerns and Oracle’s Commitment
Despite these positive developments, trepidations linger within the MySQL community. A recent analysis of the MySQL repository indicated a decline in development activity and a diminishing contributor base. Compounding these concerns was the recent wave of layoffs at Oracle, which some perceive as a signal of reduced investment in MySQL’s future.
Advanced Tools for DBAs
The new LTS release introduces robust operational capabilities aimed specifically at Database Administrators (DBAs). Some of the key improvements include:
- Flow-Control Monitoring: Provides visibility into cluster throttling.
- Extended Replication Applier Statistics: Aids in tracking lag and throughput during multi-threaded replication.
- Automatic Eviction and Rejoin of Unhealthy Cluster Members: Enhances cluster reliability by managing unhealthy nodes automatically.
- Primary Election Protocols: During failover, it prioritizes the most current eligible node, minimizing downtime.
Introducing the Hypergraph Optimizer
The Hypergraph Optimizer is another standout feature of MySQL 9.7.0. Traditionally, MySQL’s join optimizer functioned through a left-deep search framework. While this method has undergone several improvements, it can still pose limitations. The introduction of the hypergraph optimizer marks a departure from these constraints, making vital optimization choices an integral part of the process rather than an afterthought.
Peter Zaitsev, the founder of Percona and an advocate for open-source databases, cautions users: “Hypergraph optimization in MySQL 9.7 makes many queries run faster, but as with any optimizer changes, not all queries will benefit. It’s essential to rigorously test how it impacts your application rather than assume that newer is better.”
Enterprise Edition Enhancements
For users of the Enterprise Edition, MySQL 9.7.0 brings forth valuable features designed for enhanced data protection. Dynamic Data Masking allows sensitive information to be concealed in real-time, applying masking policies directly to table columns without necessitating any application modifications.
Transitioning from MySQL 8.4
With the official rollout of MySQL 9.7, it is important to note that a bug concerning the mysql-community.repo update inadvertently disabled the 8.4 LTS repository while enabling the new LTS version. This unintended switch could catch users off guard, emphasizing the need for careful monitoring during package updates.
As MySQL 8.4 approaches its projected end-of-life in three years, organizations are encouraged to consider the transition to the newer version to benefit from the latest innovations and support.
As Oracle aims to nurture a brighter future for MySQL, the features of version 9.7.0 signal a commitment to innovation, performance, and community collaboration. Users can look forward to exploring these new capabilities to enhance their database management endeavors.
Inspired by: Source

