(Ike Walker) It is easy to set up a replication topology with MySQL Sandbox, and I use it for lots of testing scenarios. For example I used MySQL Sandbox to run the tests for yeterday’s post about the way UUIDs are replicated in row-based replication (RBR) versus statement-based replication (SBR).
Tag: Open Source
Global Counters And Average Patient Temperature
(Baron Schwartz) Our recent blog post on finding wasted prepare/execute/close cycles showed how per-statement analysis can find individual queries that are not being repeatedly executed after being prepared.
How to Safely Replicate UUID Values in MySQL
(Ike Walker) With MySQL replication, when using the UUID() function to insert or update values in your database you need to be careful to assure the UUIDs are replicated properly. This is primarily a problem in statement-based replication.
Write Yourself a Query Rewrite Plugin: Part 2
(Martin Hansson) In my last post I covered how to use the query rewrite framework to write your own pre-parse plugin. The interface is simplistic: a string goes in, a string comes out, and the rest is up to your plugin’s internal workings. It doesn’t interact that much with the server.
How to mess up your data using ONE command in MySQL/Galera.
(Marco Tusa) Or how wsrep_on can bring you to have a cluster with usless data.
Full table scans and MySQL performance
(Vlad Fedorkov) High season is coming, how do you make sure that MySQL will handle the increased load? Stress tests could help with that, but it’s not a good idea to run them in a production environment. In this case Select_scan, Select_full_join and other MySQL counters could quickly give you an id
(More) Secure local passwords in MySQL 5.6 and up
(Jay Janssen) I log into a lot of different servers running MySQL and one of the first things I do is create a file in my home directory called ‘.my.cnf’ with my credentials to that local mysql instance:
Write Yourself a Query Rewrite Plugin: Part 1
(Martin Hansson) With the query rewrite framework in the latest MySQL (Optimizer/InnoDB/Replication) labs release, you get the opportunity to author plugins that can rewrite queries. You can choose whether to rewrite the queries before and/or after parsing.
Alternatives for Chunking Bulk Deletes in Common_schema
(Ike Walker) I’ve blogged about common_schema multiple times in the past, and it’s a tool I use frequently. Last week I had a project to delete millions of rows from multiple rollup tables in a star schema. Since the tables are not partitioned I needed to use DELETE instead of DROP PARTITION, but I
Schema changes in MySQL for OpenStack Trove users
(Stephane Combaudon) People using OpenStack Trove instances can hit a common issue in the MySQL world: how to perform schema change operations while minimizing the impact on the database server? Let’s explore the options that can allow online schema changes.
