Hello all. Last months have been busy for me with various tasks, and one of them is finally done and released in MySQL 8.0.14 : LATERAL derived tables. All details are in my post on mysqlserverteam. I think it is a useful addition to our SQL capabilities. Enjoy!
While the PMM team works hard on our PMM 2.0 release, we have been working on a few things in the background which we’d like to show off ! In particular we have developed a new dashboard that displays metrics related to memory usage on Linux systems. The dashboard leverages information collected by node_exporter. The graphs take advantage of /proc filesystem files, specifically:
- meminfo: Provides information about distribution and utilization of memory. This varies by architecture and compile options.
- vmstat: Provides information about block IO and CPU activity in addition to memory.
…
[Read more]In the just-released MySQL 8.0.14 I added a feature called LATERAL derived tables.
The manual describes the syntax and has examples of how the feature can be used to find greatest values in tables. In the present post I’m going to consider a different problem solved by LATERAL: let’s say that we have a bunch of nodes, and want to make a “random graph”, by connecting every node to other nodes.…
Facebook Twitter Google+ LinkedIn
Database Security is important to any MySQL setup. Users are the foundation of any system. In terms of database systems, I generally think of them in two distinct groups:
- Application, service, or program users - basically customers or clients using a service.
- Database developers, administrators, analyst, etc… - Those maintaining, working with or monitoring the database infrastructure.
While each user does need to access the database at some level, those permissions are not all created equal.
Related resources
…
[Read more]The slow query log is the trusted old method of recording slow query, so the database administrator can determine which queries are in the most need for optimization. Since MySQL 5.6, it has to some extend been overshadowed by the Performance Schema which has lower overhead and thus allows collecting statistics about all queries. The slow query log has one major advantage though: the data is persisted. In MySQL 8.0.14 which was recently released, there is an improvement for the slow query log: additional statistics about the recorded queries.
The slow query log with log_slow_extra enabled.
Contribution
Thanks for Facebook for …
[Read more]As you may have noticed by now, we are continuously improving and enhancing the experience of managing a MySQL server. Furthermore, we have also released tools, such as MySQL shell, that make advanced and distributed setups like creating, deploying, and running clusters of InnoDB instances, seamless to the end user.…
Tweet Google Plus Share
We are less than 48h before the more and more popular pre-FOSDEM MySQL Day !
Unfortunately one of our speaker won’t be able to deliver his talk. Indeed, Giuseppe had ton cancel is talk on containers (Automating MySQL operations with containers) but he will be present during the day and during the Community Dinner, so if you have questions, I’m sure he will gladly answer them.
So we have replace this great speaker by another great one: Shlomi Noach !
Shlomi will present a very new session: Un-split brain (aka Move Back in Time) MySQL.
Here is the updated …
[Read more]In a MySQL hosting replication setup, the parameter Seconds_Behind_Master (SBM), as displayed by the SHOW SLAVE STATUS command, is commonly used as an indication of the current replication lag of the slave. In this blog post, we examine how to understand and interpret this value in various situations.
Possible Values of Seconds Behind Master
The value of SBM, as explained in the MySQL documentation, depends on the state of the MySQL slave in general, and the states of MySQL slave SQL_THREAD and IO_THREAD in particular. While IO_THREAD connects with the master and reads the updates, SQL_THREAD applies these updates on the slave. Let’s examine the possible values of SBM during different states of the MySQL Slave.
When SBM Value is Null
- SBM is …
The MariaDB Foundation is pleased to announce the availability of MariaDB 5.5.63, the latest stable release in the MariaDB 5.5 series and MariaDB Connector/ODBC 3.1.0, the first release candidate in the MariaDB Connector/ODBC 3.1 series. See the release notes and changelogs for details. Download MariaDB 5.5.63 Release Notes Changelog What is MariaDB 5.5? MariaDB APT […]
The post MariaDB 5.5.63 and MariaDB Connector/ODBC 3.1.0 now available appeared first on MariaDB.org.
I am a Junior DBA at Mydbops. This is my first blog professionally, I would like to brief my encounter with Log-rotate in first few weeks of my work, Hope it will help other beginners as well. This Blog will cover the following sections.
-
Introduction to Log-rotate
-
Issues Faced
-
Solutions (Fix for the above issues)
-
Best practices
-
How to configure the Log-rotate
-
Operation of Log-rotate
-
Files responsible for the Log_rotate utility.
-
1.0. Introduction to Log-rotate:
-
Log-rotate is a utility and …