Severalnines Blog
The automation and management blog for open source databases

Planets9s - The complete MySQL Query Tuning Trilogy, scaling & sharding MongoDB and more!

Posted in:

Welcome to this week’s Planets9s, covering all the latest resources and technologies we create around automation and management of open source database infrastructures.

Watch Part 3 of the MySQL Query Tuning Trilogy: working with optimizer and SQL tuning

This week we completed our popular webinar trilogy on MySQL Query Tuning and the three parts are now available for you to watch online. Part 3 this Tuesday focussed on working with the optimizer and SQL tuning. In this session, Krzysztof Książek, Senior Support Engineer at Severalnines, discussed how execution plans are calculated. He also took a closer look at InnoDB statistics, how to hint the optimizer and finally, how to optimize SQL. Watch this last session or indeed all three parts by following the link below.

Watch replays

Sign up for our new webinar on scaling & sharding MongoDB

Join us for our third ‘How to become a MongoDB DBA’ webinar on Tuesday, November 15th, during which we will uncover the secrets and caveats of MongoDB scaling and sharding. Learn with this webinar how to plan your scaling strategy up front and how to prevent ending up with unusable secondary nodes and shards. We’ll also show you how to leverage ClusterControl’s MongoDB scaling and shard management capabilities.

Sign up for the webinar

ClusterControl Developer Studio: Custom database alerts by combining metrics

Following our introduction blogs to the ClusterControl Developer Studio and the ClusterControl Domain Specific Language, we now look at our MongoDB replication window advisor. It was recently added to the Advisors Github repository. Our advisor will not only check on the length of the replication window, but also calculate the lag of its secondaries and warn us if the node would be in any risk of danger. All advisors are open source on Github, so anyone can contribute back to the community!

Read the blog

Schema changes in Galera cluster for MySQL and MariaDB - how to avoid RSU locks

This blog discusses the Rolling Schema Upgrade as the only feasible method to execute schema changes where pt-online-schema-change failed or is not feasible to use. We check how this behaves in real life, in two scenarios. First, we have a single connection to the Galera cluster. We don’t scale out reads, we just use Galera as a way to improve availability of our application. We will simulate it by running a sysbench workload on one of the Galera cluster nodes. We are also going to execute RSU on this node. Check out the blog for the full discussion.

Read the blog

That’s it for this week! Feel free to share these resources with your colleagues and follow us in our social media channels.

Have a good end of the week,

Jean-Jérôme Schmidt
Planets9s Editor
Severalnines AB

Related Post

MySQL on Docker: Composing the Stack

Docker 1.13 introduces a long-awaited feature called Compose-file support. Compose-file defines everything about an application - services, databases, volumes, networks, and dependencies can all be defined in one place.  In this blog, we’ll show you how to use Compose-file to simplify the Docker deployment of MySQL containers.

Posted in:

How to deploy and manage MySQL multi-master replication setups with ClusterControl 1.4

MySQL replication, while simple and popular, may come in different shapes and flavors. Master slave or master master topologies can be configured to suit your environment.  ClusterControl 1.4 brings a list of enhancements to deploy and manage different types of MySQL replication setups. This blog outlines the different topologies that can be deployed, the merits of each topology, and shows how each can be managed in a live environment.

Posted in:

Automatic failover of MySQL Replication - New in ClusterControl 1.4

MySQL replication setups are inevitably related to failovers - what do you do when your master fails and your applications are not able to write to the database anymore? Automated failover is required if you need to quickly recover an environment to keep your database up 24x7. This blog post discusses this new replication feature recently introduced in ClusterControl 1.4.

Posted in:

Automating MySQL Replication with ClusterControl 1.4.0 - what’s new

This blog post will go through new replication features in ClusterControl 1.4.0, including enhanced multi-master deployment, managing replication topology changes, automated failover and handling of replication errors.

Posted in: