Quantcast
Channel: Blog of (former?) MySQL Entomologist
Browsing all 241 articles
Browse latest View live

Image may be NSFW.
Clik here to view.

Fun with Bugs #96 - On MySQL Bug Reports I am Subscribed to, Part XXX

My weekdays are still busy even during this lockdown period, but weekend is a perfect time for yet another blog post about MySQL bugs I considered interesting. Very few followers read my posts on other...

View Article


Image may be NSFW.
Clik here to view.

What mysql_upgrade really does in MariaDB, Part I

Recently Monty explained that with MariaDB in a general case (backup, proper shutdown, storage engines incompatibilities, Galera, async replication, and maybe few bugs and corner cases aside) it should...

View Article


Image may be NSFW.
Clik here to view.

Fun with Bugs #97 - On MySQL Bug Reports I am Subscribed to, Part XXXI

Time for the next blog post about MySQL bugs! The previous one covered some bugs I considered interesting in March, this one will be about community bug reports that I've picked up since March 26,...

View Article

Image may be NSFW.
Clik here to view.

Fun with Bugs #98 - On MySQL Bug Reports I am Subscribed to, Part XXXII

There are many things to write about MySQL this week. It turned 25 years old, to begin with! Quite successful the first ever Percona Live ONLINE 24 hour conference also happened this week, and I've...

View Article

Fun with Bugs #99 - On MySQL Bug Reports I am Subscribed to, Part XXXIII

In my previous post in this series I've commented on some interesting MySQL bug reports that were added during the second half of April. Time to move on to bugs reported in May, 2020, as we are quickly...

View Article


Image may be NSFW.
Clik here to view.

Dynamic Tracing of Memory Allocations in MySQL: First Steps with perf

I often have to deal with customers claiming there is a memory leak in MySQL affecting their production servers. To prove the leak is real and show where it happens usually running with tcmalloc and...

View Article

Image may be NSFW.
Clik here to view.

The Magic Behind the innodb_dedicated_server=ON

Two days ago I noted this tweet by Mark Callaghan:"This month I learned that innodb_dedicated_server is great. Don't need to set many options beyond it. I have been doing it wrong."and decided to check...

View Article

Fun with Bugs #100 - On MySQL Bug Reports I am Subscribed to, Part XXXIV

I delayed this post #100 in the "Fun with Bugs" series for few weeks - the previous one was published 4 weeks ago. The idea was to make it the last one, and for this I needed something to celebrate....

View Article


Image may be NSFW.
Clik here to view.

Dynamic Tracing of C++ Class Member Functions with perf

I've started to write posts about dynamic tracing on Linux last year, and basic examples presented here and there make it look like in general with perf it's already easy to add dynamic probe for entry...

View Article


Image may be NSFW.
Clik here to view.

MariaDB 10.5 and Memory Instrumentation in Performance Schema - First Steps

Chances are high for me to speak about MariaDB 10.5 at the upcoming MariaDB Server Fest Online Conference (as my related talk was accepted), so it's time to start writing about it. In this post I am...

View Article

Image may be NSFW.
Clik here to view.

MariaDB 10.5 and Memory Instrumentation in Performance Schema - Basic Checks

 My MariaDB 10.5-related talk at upcoming MariaDB Server Fest is already announced, so I have no other option but to continue writing blog posts while preparing for it. In the previous one we enabled...

View Article

BCC Tools for disk I/O Analysis and More

A lot of time passed since I had written about bcc tools in my dynamic tracing series. That post was mostly about building bcc tools from GitHub source on Ubuntu 16.04 and using trace utility to add...

View Article

Image may be NSFW.
Clik here to view.

Dynamic Tracing of pthread_mutex_lock in MariaDB - First Steps

 I've got several comments and questions during my session on dynamic tracing at MariaDB Server Fest 2020. One of them was from a MariaDB developer at Slack and sounded as follows:"Can perf profile...

View Article


Image may be NSFW.
Clik here to view.

Metadata Locks Instrumentation in MariaDB 10.5

There are different ways to study metadata locks in MySQL and MariaDB, as I once described in details. Until recently MariaDB had not provided the performance_schema.metadata_locks table, but it was...

View Article

Image may be NSFW.
Clik here to view.

Stored Procedures Instrumentation in MariaDB 10.5

MariaDB 10.5 added a lot of instrumentation around stored procedures, functions and events along the lines of MySQL WL#5766. In this blog post I'll try to check how it works and provide some details...

View Article


Installing the Latest MariaDB from the Repository on Debian 10 and...

 I had not written any new blog posts here since this one for quite a some time, for two reasons. First of all, I have another project to spend time on, not related to any software at all. Not that it...

View Article

Image may be NSFW.
Clik here to view.

Linux /proc Filesystem for MySQL DBAs - Part I, Basics

Happy New Year 2021, dear readers of my blog!We used to have real winters at this time of the year. Not any more...Among other good things that happened on December 31, 2020, I was informed that my...

View Article


Image may be NSFW.
Clik here to view.

Linux /proc Filesystem for MySQL DBAs - Part II, Threads of the mysqld Process

It's common knowledge that MySQL server (mysqld process) is multi-threaded. Let me quote:"The MySQL Server (mysqld) executes as a single OS process, with multiple threads executing concurrent...

View Article

Image may be NSFW.
Clik here to view.

Linux /proc Filesystem for MySQL DBAs - Part III, 0x.tools by Tanel Poder

In this third post of my "Linux /proc Filesystem for MySQL DBAs" series (see also Part I and Part II for the context and details) I am going to present a useful set of programs to access, summarize and...

View Article

Image may be NSFW.
Clik here to view.

Linux /proc Filesystem for MySQL DBAs - Part IV, Creating Off-CPU Flame Graphs

 My upcoming FOSDEM 2021 MySQL Devroom talk based on this series of blog posts is already prepared and recorded. But in the process I noted that some more details should be shared than one can cover in...

View Article
Browsing all 241 articles
Browse latest View live