(Shlomi Noach) For purposes of auditing anything that goes on our servers we’re looking to parse the binary logs of all servers (masters), as with “Anemomaster”. With Row Based Replication this is problematic since pt-query-digest does not support parsing RBR binary logs (true for 2.2.12, latest at
Tag: Open Source
MySQL table Point-in-Time-Recovery from mysqldump backup
(Shinguz) Sometimes we face the situation where we have a full MySQL database backup done with mysqldump and then we have to restore and recover just one single table out of our huge mysqldump file.
Tracking MySQL query history in long running transactions
(ewen) Long running transactions can be problematic for OLTP workloads, particularly where we would expect most to be completed in less than a second. In some cases a transaction staying open just a few seconds can cause behaviour that is entirely unexpected, with the developers at a loss as to why
How to Use SSL and MySQL Client Library in the Same Binary!
(Venkata Sidagam) We plan to hide (not export) the symbols of the SSL library used by the MySQL client library. As step one in that effort, we plan to hide all of the non-documented symbols because we want to stop polluting the MySQL client program’s namespace.
Importing big tables with large indexes with Myloader MySQL tool
(David Ducos) Mydumper is known as the faster (much faster) mysqldump alternative. So, if you take a logical backup you will choose Mydumper instead of mysqldump. But what about the restore? Well, who needs to restore a logical backup?
MySQL Fuzzy Text Searching Using the SOUNDEX Function
(Rob Gravelle) Fuzzy searching has become a very prominent feature of Web search engines like Google. One of the key factors in Google’s explosive growth was its ability to locate Web pages that are likely to be relevant to your search terms even if they don’t map exactly to the content that you ar
MySQL – The Slotted Counter Pattern
(Sam Lambert) It is a common database pattern to increment an INT column when an event happens, such as a download. Early last year at GitHub we started encountering issues with slow UPDATES to these types of counters.
Identifying useful info from MySQL row-based binary logs
(Alok Pathak) As a MySQL DBA/consultant, it is part of my job to decode the MySQL binary logs – and there are a number of reasons for doing that. In this post, I’ll explain how you can get the important information about your write workload using MySQL row-based binary logs and a simple awk script.
Syncronizing MySQL where tables have triggers and foreign keys defined
(ewen) On a recent consulting engagement, the PSCE team were charged with what can be considered a fairly common task of synchronising tables between master and slave in MySQL Replication. On this occasion the schema contained both foreign key constraints and triggers, this post describes how we av
Impacts of max_allowed_packet size problems on your MySQL database
(Shinguz) We recently run into some troubles with max_allowed_packet size problems during backups with the FromDual Backup/Recovery Manager and thus I investigated a bit more in the symptoms of such problems.
