Our system continuously tests our ability to restore our databases from backups, ensuring that we can quickly and reliably recover from an outage.
After the heady excitement of getting my first MySQL Cluster 7.5.4 set up nicely running in docker, I quickly discovered that I wanted to re-factor most of it, implement the bits I’d left out, and extend it more to meet some of my other testing needs, like being able to run multiple deployments of similar types in parallel for simple CI.
I’ve now released this as v1.0.
The output is a little different to before, but now it’s possible to set up multiple clusters, of different shapes if you like, on different docker networks. You simply provide a unique value for the new –base-network and –name parameters when using the …
[Read more]
MySQL Connector/Net 7.0.6 is the third development release
that expands cross-platform support to Linux and OS X
when using Microsoft’s .NET Core framework. Now,
.NET developers can use the X DevAPI with .NET Core
and Entity Framework Core
(EF Core) 1.0 to create server applications that run on
Windows, Linux and OS X.
We are very excited about this change and really look forward to
your feedback on it!
MySQL Connector/Net 7.0.6 is also the fifth development release
of MySQL Connector/Net to add support for the new X DevAPI.
The X DevAPI enables
application developers to write code that combines the
strengths of the
relational and document models using a modern, NoSQL-like
syntax that
does not assume previous experience writing traditional SQL.
To learn more about how to write applications using the X DevAPI,
see
…
Today I delivered a session related on what is MySQL implementing to take the make the devops life easier.
You can find the slides below:
Thanks to everyone who participated in this week’s webinar on working with 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.
The complete MySQL Query Tuning Trilogy is available to watch online, so if you missed the first two parts, you can now catch up with them on demand.
MySQL Query Tuning Trilogy
An in-depth look into the ins and outs of optimising MySQL queries
When done right, tuning MySQL queries and indexes can significantly increase the performance of your application as well as decrease response times. This is why we’ve covered this complex …
[Read more]MySQL 8.0 has a new feature called “invisible indexes,” which allow you to quickly enable/disable indexes from being used by the MySQL Optimizer.
I wanted to share some of my first experiences and thoughts about this new feature.
Why is it good for us?
There are a couple of use cases. One of them is if you want to drop an index, but want to know the effect beforehand. You can make it invisible to the optimizer. It is a quick metadata change to make an index invisible. Once you are sure there is no performance degradation, you can then drop the index.
The main point is that the invisible index is unavailable for use by the optimizer, but it is still present and kept up-to-date by write operations. The optimizer won’t use it, even if we try to “FORCE INDEX”. I think we should be …
[Read more]Starting with MySQL 8.0, we will drop libmysqld (aka “embedded server”). This change will affect only a handful of users, but for context let me start with an introduction.
Introduction
libmysqld (also referred to as “the embedded server”) is a way of using MySQL without the client server protocol.…
Does InnoDB page size matter? janlindstrom Wed, 10/26/2016 - 23:44
From MariaDB 10.1 there is a feature where the InnoDB page size can be configured to be larger than the default 16K for normal, uncompressed tables. However, there has been little performance results that show whether the page size really effects the transaction performance or response time. In this blog, we study effects of page size on three different storage devices using the same benchmark(s). These devices are:
- Traditional hard disk
- SSD (Tree Intel X25-E Extreme SSDSA2SH032 G1GN 2.5-inch 32GB SATA II SLC Internal Solid State Drive as RAID-0)
- FusionIO NVM device (ioMemory SX300-1600 with VSL driver 4.2.1 build 1137 and NVMFS 1.1.1)
Results from different devices should not be compared to each other, as there are other variables like device bandwidth and different file systems. Instead, we will look at page …
[Read more]In previous blog posts we explained how to perform certain actions in a MySQL database set up as a document store using Connector/Node.js. In this blog post we are going to use some of the examples covered to explain how to start working with an application created with Express.js, AngularJS, Node.js, and MySQL Connector/Node.js.
Required
Optional
- …
A quick look at ProxySQL
There is a lot of buzz in the MySQL community around ProxySQL, an open-source SQL-aware proxy. I was lucky enough to give a ProxySQL Tutorial at PerconaLive Amsterdam 2016 with the creator of ProxySQL, René Cannaò.
Some of ProxySQL’s features include:
- Query rules based on Google’s RE2-style regex
- Failover detection
- Connection multiplexing
ProxySQL’s approach to implementing regex-style query rules opens the door to some pretty fascinating possibilities. Just to name a few examples:
- Read/write splitting between the write master and read slaves
- Query firewall, for those times you wish you could prevent queries from hitting the database. Perhaps you are …