Author - Agustín

Reclaiming space on your Docker PMM server deployment

reclaiming space Docker PMM

Recently we had a customer that had issues with a filled disk on the server hosting their Docker pmm-server environment. They were not able to access the web UI, or even stop the pmm-server container because they had filled the /var/ mount point.
Setting correct expectations
The best way to avoid these kinds of issues in […]

Read more

Modifying List of Collected Metrics on PMM Linux Exporter

Changing metrics collection with PMM for Linux

Do you need to modify the metrics collected from Linux by Percona Monitoring and Management (PMM)? In this blog post we will see how to enable, disable, and update collected metrics on PMM’s linux:metrics exporter. 
We will assume that the PMM client packages are installed, and they are configured already.
Using a custom list of metrics
Let’s now suppose we […]

Read more

Using dbdeployer to manage MySQL, Percona Server and MariaDB sandboxes

dbdeployer by Giuseppe Maxia

Some years ago, Peter Z wrote a blogpost about using MySQL Sandbox to deploy multiple server versions. Last February, Giuseppe  introduced us to its successor: dbdeployer. In this blogpost we will demonstrate how to use it. There is a lot of information in Giuseppe’s post, so head there if you want a deeper dive.
First step […]

Read more

Insert Random Data into Tables Using mysql_random_data_load

Insert Random Data into Tables

In this short blogpost, we’ll show you how to use the mysql_random_data_load tool to insert random data into tables. This is a great aide in testing when you have empty tables and need them to be populated with data. We’ve all done it manually (the INSERT INTO … VALUES … way), but that is surely […]

Read more

cscope: Searching Code Efficiently


In this post, we will discuss how to search code with the help of cscope. Let’s begin by checking its description and capabilities (quoting directly from
Cscope is a developer’s tool for browsing source code.

Allows searching code for:

all references to a symbol
global definitions
functions called by a function
functions calling a function
text string
regular expression pattern
a file
files […]

Read more

MySQL Triggers and Updatable Views

MySQL Triggers

In this post we’ll review how MySQL triggers can affect queries.
Contrary to what the documentation states, we can activate triggers even while operating on views:
Important: MySQL triggers activate only for changes made to tables by SQL statements. They do not activate for changes in views, nor by changes to tables made by APIs that […]

Read more

ICP Counters in information_schema.INNODB_METRICS

ICP Counters

In this blog, we’ll look at ICP counters in the information_schema.INNODB_METRICS. This is part two of the Index Condition Pushdown (ICP) counters blog post series. 
As mentioned in the previous post, in this blog we will look at how to check on ICP counters on MySQL and Percona Server for MySQL. This also applies to […]

Read more

MariaDB Handler_icp_% Counters: What They Are, and How To Use Them

Handler_icp_% counters

In this post we’ll see how MariaDB’s Handler_icp_% counters status counters (Handler_icp_attempts and Handler_icp_matches) measure ICP-related work done by the server and storage engine layers, and how to see if our queries are getting any gains by using them.
These counters (as seen in SHOW STATUS output) are MariaDB-specific. In a later post, we will […]

Read more