This article will be helpful if you use the Percona Monitoring and Management (PMM) instance and alert notifications, as it is nice to capture the image of the graph when you receive the alert. We will see how to capture and attach the image of the graph when receiving the alert notification (email, telegram, Slack, […]
The latest from the MySQL community
Ideas, releases, practical guides, and perspectives from the people building with MySQL.
Here is part two of my MySQL with Diagrams series (Here’s part one – MySQL with Diagrams Part One: Replication Architecture). We are going to explore how MySQL handles thread termination using the KILL command, as visualized in the provided diagram, and provide sample demonstrations to help you better understand. Many people think they know […]
This blog post is about importing and exporting databases in MySQL or MariaDB. Importing and Exporting are fundamental processes that ...
The post How To Import and Export Databases in MySQL or MariaDB appeared first on RoseHosting.
Did you ever need to determine the performance of a query over time? One of the problems with database query optimizations is that the underlying data is always churning. Add in an increase in the number of users, expanding server demand use, and other items that impact your query. What was optimized is no longer performing as expected.
MySQL added a JSON format option to the output of the EXPLAIN command quite a while ago. More recently, Oracle added the feature of saving the output into a variable (see https://dev.mysql.com/doc/refman/9.0/en/mysql-nutshell.html and https://dev.mysql.com/blog-archive/explain-into-and-explain-for-schema-in-mysql-81-and-82). This provides a way to access the data in that variable and plop it into a database. The saved result can be compared to current or other past responses for analysis.
mysql> explain format=json into @var
SELECT * from …
At Percona, we’ve always prioritized performance, and recent trends in MySQL’s development have been a point of concern for us. In particular, the performance deterioration in the MySQL 8.4.x and 9.y versions caught our attention, as highlighted in Marco Tusa’s insightful blog post, Sakila, Where Are You Going? We’re pleased to report that the latest […]
Percona Toolkit 3.7.0 has been released on Dec 23, 2024. The main feature of this release is MySQL 8.4 support.
In this blog, I will explain what has been changed. A full list of improvements and bug fixes can be found in the release notes.
TLDR;
- Replication statements in 8.4 are fully supported by the Percona Toolkit
-
pt-slave-delayhas been deprecated. -
pt-slave-findhas been renamed topt-replica-find. The old name has been deprecated but exists in the repository as an alias of thept-replica-find. -
pt-slave-restarthas been renamed topt-replica-restart. Old name has been deprecated but exists in the repository as an alias of the …
Used to be that replication lag was as simple as
Seconds_Behind_Master (renamed to
Seconds_Behind_Source). But with multi-threaded
replication (MTR) this is no longer the case. It’s time to
relearn replication lag monitoring using Performance Schema
tables.
For this penultimate article before Christmas, let's announce the 30th anniversary of MySQL!
For the 22nd day of our Advent Calendar of Content, we bring you a summary of all the MySQL Blog posts that demonstrate using the OCI TypeScript SDK
Just before the end of the MySQL Advent Calendar, let me announce (or remind you) that MySQL will turn 30 next year!! The first version of MySQL was released in 1995, three decades ago. That database would become MySQL, the open-source relational database management system that has since transformed how developers build and scale applications. […]