The Defense Information Systems Agency (DISA) has approved and released the Oracle MySQL 9.x Security Technical Implementation Guide (STIG), Version 1, Release 1, supporting MySQL Enterprise Edition 9.7 LTS. Published on November 30, 2026, the guide is available from the DoD Cyber Exchange and is effective immediately upon release. As an author of the MySQL […]
The latest from the MySQL community
Ideas, releases, practical guides, and perspectives from the people building with MySQL.
As part of many conversations I had during Percona Live I was asked why we didn’t use the Percona Operator for MySQL based on Percona XtraDB Cluster. We are currently running hundreds of PXC clusters across many Kubernetes environments all deployed with our own in-house operator. As part of the evaluation I needed to set up a repeatable environment with S3 compatible storage that could run locally so I’ve documented my setup in the hope it will help others.
I’ve tried not to dig too deeply into the operations of PXC cluster as I felt it would add too much complexity to the article and really needs more in-depth explanations than I could give here. There are lots of good articles around explaining the concepts introduced here so I would recommend further research if you are interested.
Parts of this article are the same as the getting started with …
[Read more]Mỗi tuần, đội ngũ của chúng tôi lại nhận được câu hỏi giống nhau từ các bạn mới vào nghề: nên bắt đầu học từ đâu, và cần những công cụ nào để không bị ngợp. Bài viết này là tổng hợp những gì chúng tôi đúc kết được từ các dự án thật, từ website bán hàng nhỏ đến hệ thống quản lý nội bộ cho doanh nghiệp.
Chúng tôi viết với góc nhìn của người đã từng vận hành website sau khi bàn giao. Vì vậy, bạn sẽ thấy nhiều ví dụ thực tế hơn là lý thuyết suông.
Lập trình web thực chất là gì?
Đơn giản nhất, lập trình web là việc viết mã để máy chủ xử lý yêu cầu và trả về trang cho người dùng. Khi khách hàng bấm nút đặt hàng, có một đoạn mã nhận dữ liệu, kiểm tra và lưu lại vào cơ sở dữ liệu. …
[Read more]Here is a sentence I did not expect to hear from a database engineer:
We don’t operate the database server fleet. We try to not interact with it as much as we can.
It comes from Eduardo Ortega Urrego, Staff Software Engineer on the Datastores team at Slack. On December 2 he will explain on our webinar how that works.
The numbers first
Slack sends more than a billion messages a day. Behind it:
In my career I have seen the same pattern many times.
A database grows without control, but not evenly. The live
dataset, the rows the application really works on, stays
relatively small.
Next to it, a few huge tables keep growing, kept only because
someone needs them for reporting or just because they initially
do not care to clean it up. Sometimes a single table holds 80% of
the data or, trust me, even worse.
The worst case I met more than once is reporting run directly on
the OLTP system.
A report that scans months of orders competes with the
application for CPU, memory and I/O, and the buffer pool fills
with old pages nobody else needs.
The application slows down, and the report is slow anyway,
because InnoDB was never built to scan and aggregate hundreds of
millions of rows.
There are several ways to act on this scenario, the most common answer to this impractical situation is my database …
[Read more]Managing MySQL replication filters in a live production environment doesn’t have to mean rebuilding your replicas from scratch. In this post, we’ll walk through how to safely exclude specific tables from replication and cleanly re-sync and add live tables back into the replication stream using mydumper and binlog coordinates, without ever touching the primary server.
Why use replication filters?
In MySQL, the primary-replica (formerly master-slave) architecture is the most widely used deployment pattern. Replication filters let you build replicas that hold only the data a team needs. Some teams need transaction data, others need analytics data, and a multi-source replica may combine data from several sources. Replicating less also reduces resource use.
Needs change over time, so you will often have to update a replica’s filters, either to stop replicating some tables or schemas, or to start replicating them again. …
[Read more]Nếu bạn đang tự học lập trình web, gần như chắc chắn sẽ có lúc phải tự tay kết nối PHP với MySQL. Đội ngũ chúng tôi từng gặp nhiều bạn xem xong cả chục video hướng dẫn mà vẫn chưa tự viết nổi một trang đăng ký. Thường thì vấn đề không nằm ở độ khó của kiến thức, mà ở việc thiếu bài tập PHP và MySQL đúng sức để luyện tay. Vì vậy, chúng tôi gom lại 8 bài thực hành, đi từ kết nối cơ bản đến quan hệ giữa các bảng. Mỗi bài đều có hướng làm và những lỗi mà người mới hay vấp phải.
Bài tập PHP và MySQL là gì và vì sao nên làm?
Nói dễ hiểu, đây là những bài nhỏ trong đó PHP đóng vai người xử lý logic, còn MySQL là nơi cất giữ dữ liệu. Bạn nhập tên một học viên vào form. PHP nhận lấy, kiểm tra, rồi …
[Read more]Spin up MySQL 9.7 or 26.7 with dbdeployer, and keep four-part MySQL correction releases alongside the originals for side-by-side testing.
Welcome back to Village News, our curated roundup of MySQL and database news. This week, Oracle's November CSPU brought 10 security fixes for MySQL, PostgreSQL 19 reached general availability, and MariaDB 13.1 went stable.
If you want to get these updates, just subscribe to the blog.
Enjoy!
MySQL News
Note: Aggregated MySQL news can be found at Planet for MySQL Community and Planet MySQL (Oracle curated)
Oracle’s November CSPU and Percona for
MySQL
Dennis Kittrell, Percona
TL;DR - Oracle's November 2026 CSPU fixes 10 MySQL …
[Read more]We have some exciting news to share: Percona Database Service (PDS) is now open source! The source code is available on GitHub under the Apache 2.0 license, and we’ve also launched a redesigned PDS website to make it easier to explore and get started.
When we first introduced PDS, our goal was simple: make deploying and managing open source databases easier without requiring users to give up control of their infrastructure or data.
Now we’re taking the next step by opening the project to the community.
What’s new? PDS is available on GitHub
You can now explore the source code, experiment with the platform, suggest improvements, and contribute to its development.
PDS is built on OpenEverest and Percona’s database …
[Read more]