We are glad to announce the release of the updated versions of:
This blog post reviews the appropriateness of Docker and other container solutions for your database environment.
A few weeks back, I wrote a fairly high-level blog post about containers. It covered what you should consider when thinking about using Docker, rkt, LXC, etc. I hope you’ve taken the chance to give it a quick read. It’s a good way to understand some of the disciplines you need to consider before moving to a new technology. However, it sparked a conversation in our Solutions Engineering team. Hopefully, the same one that you’re having in your organization: should customers run their database in containers? …
[Read more]Very often MySQL is much less stable than we realize. In this video I explain how to detect and dianose these MySQL stalls that last for 5-10 seconds or more.
The reason nobody knows about these issues is that they’re:
a) rare
b) intermittent
c) monitoring software can’t catch them
You can use pt-stalk to detect and diagnose such issues. All of the tools I have mentioned in this video are part of Percona Toolkit (no wonder they all start with PT), you can find the toolkit here:
Here’s the main commands I have discussed in this video:
Starting pt-stalk in foreground
# pt-stalk
Starting pt-stalk in background with email notification:
# pt-stalk …[Read more]
This release fixes a few issues in the new GUI transactions supporting with specific and uncommon server settings.
Changes as compared to SQLyog MySQL GUI 12.3.1 include:
Bug Fixes:
* If an INIT_CONNECT setting in server configuration specified
SET AUTOCOMMIT = 0 and global AUTOCOMMIT was 1 (or non-existent
as in MySQL 4.1 and 5.0), the ‘transactions’ menu in SQLyog would
incorrectly display AUTOCOMMIT as 1 after connection.
* Same code change as above also fixes a crash that could occur
with 4.1 servers.
* Transactions support would fail to initialize with servers
running global ANSI mode. SQLyog will not work in ANSI mode but
connection and initialization should work, so that user as the
first step may specify a supported session sql_mode (from the
editor or from ‘advanced’ tab in connection …
Join Percona’s Percona XtraDB Cluster Lead Software Engineer Krunal Bauskar for a webinar on Thursday, November 17, 2016, at 7:30 am PST on MySQL High Availability with Percona XtraDB Cluster 5.7.
Percona XtraDB Cluster 5.7 is our brand new MySQL 5.7 compatible Galera-based high availability (HA) solution. Whether you’re new to MySQL clustering technology, or experienced with Galera-based replication, this tutorial provides great insights into working with the software, …
[Read more]NinesControl is a new service from Severalnines which helps you deploy MySQL Galera and MongoDB clusters in the cloud. In this blog post we will show you how you can easily deploy and monitor your databases on AWS and DigitalOcean.
Deployment
At the moment of writing, NinesControl supports two cloud providers - Amazon Web Services and DigitalOcean. Before you attempt to deploy, you need first to configure access credentials to the cloud you’d like to run on. We covered this topic in a blog post.
Once it’s done, you should see in the “Cloud Accounts” tab the credentials defined for the chosen cloud provider.
You’ll see screen below as you do not have any clusters running yet:
You can click on “Deploy your first cluster” to start your first deployment. You will be presented with a screen …
[Read more]
Using Vault with MySQL
In my previous post I discussed using GPG to secure your database credentials. This relies on a local copy of your MySQL client config, but what if you want to keep the credentials stored safely along with other super secret information? Sure, GPG could still be used, but there must be an easier way to do this.
This post will look at a way to use Vault to store your credentials in a central location and use them to access your database. For those of you that have not yet come across Vault, it is a great way to manage your secrets – securing, storing and tightly controlling access. It has the added benefits of being able to handle leasing, key revocation, key rolling and auditing.
During this blog post we’ll accomplish the following …
[Read more]This blog post looks at MongoDB and MySQL, and covers high-level MongoDB strengths, weaknesses, features, and uses from the perspective of an SQL user.
Delving into NoSQL coming from an exclusively SQL background can seem like a daunting task. I have worked with SQL in both small MySQL environments and large Oracle SQL environments.
When is it a good choice?
MongoDB is an incredibly robust, scalable, and operator-friendly database solution. MongoDB is a good choice when your developers will also be responsible for the database environment. In small shops and startups, this might be the case. MongoDB stores information in BSON (binary JSON). BSON is the native JSON (JavaScript Object Notation) language used by MongoDB to retrieve information stored in BSON on the back end. JSON is easily relatable to other programming languages, and many developers will already have experience with it.
…
[Read more]Some days ago we found very interesting bug report with my friend: http://bugs.mysql.com/bug.php?id=71879
Problem is that, if a client moves binlog files to the other folder, stops MySQL server, update in the config file bin_log and bin_log_index values for a new path and starts server again, then the result of SHOW BINARY LOG command will be wrong:
mysql> show binary logs; +-------------------------+-----------+ | Log_name | File_size | +-------------------------+-----------+ | cluster-repo-bin.000001 | 120 | | cluster-repo-bin.000002 | 0 | | cluster-repo-bin.000003 | 0 | | cluster-repo-bin.000004 | 0 | | cluster-repo-bin.000005 | 0 | | cluster-repo-bin.000006 | 120 | +-------------------------+-----------+
As you see, the size of some binlog files are zero. So why?
If you …
[Read more]MySQL Connector/Node.js is a new Node.js driver for use with the X DevAPI. This release, v1.0.5 M4, is the fourth development release of the MySQL Connector/Node.js 1.0 series.
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
http://dev.mysql.com/doc/x-devapi-userguide/en/index.html.
For more information about how the X DevAPI is implemented in
MySQL Connector/Node.js, and its usage, see http://dev.mysql.com/doc/dev/connector-nodejs.
Note
Please note that the X DevAPI …
[Read more]