Learning from facepalm moments of a MySQL database restore from Percona Xtrabackup.
The post MySQL database restore issues using xtrabackup – facepalm moments first appeared on Change Is Inevitable.
Learning from facepalm moments of a MySQL database restore from Percona Xtrabackup.
The post MySQL database restore issues using xtrabackup – facepalm moments first appeared on Change Is Inevitable.
Docker is quickly becoming mainstream, as a method to package and deploy self-sufficient applications in primarily stateless Linux containers. But for a stateful service like a database, this might be bit of a headache. How do we best configure MySQL in a container environment? What can go wrong? Should we even run our databases in a container environment? How does performance compare with e.g. running on virtual machines or bare-metal servers? How do we manage replicated or clustered setups, where multiple containers need to be created, upgraded and made highly available?
So, welcome to our new blog series - “MySQL on Docker”. We will touch upon swarms, shared volumes, data-only-containers, security and configuration management, multi-host networking, service discovery and implications on monitoring when we move from host-centric to role-centric services with shorter life cycles.
In our first blog post, we are going to cover …
[Read more]Proper MySQL Query Optimization starts with a proper Slow Query Logging session. And MySQL Query Optimization is where I spend 70-80% of my time when doing MySQL performance optimization.
In part 2 here, we will go over the pt-query-digest report, that we have prepared in part 1.
Here’s links to the other two parts:
The post Advanced MySQL Slow Query Logging Part 2: …
[Read more]Percona is glad to announce the new release of Percona XtraDB Cluster 5.6 on June 10, 2016. Binaries are available from the downloads area or our software repositories.
Percona XtraDB Cluster 5.6.30-25.16 is now the current release, based on the following:
…
[Read more]In this post, I’ll discuss how to run Percona XtraDB Cluster in a multi-host Docker network.
With our release of Percona XtraDB Cluster 5.7 beta, we’ve also decided to provide Docker images for both Percona XtraDB Cluster 5.6 and Percona XtraDB Cluster 5.7.
Starting one node is very easy, and not that different from starting Percona Server image. The only an extra requirement is …
[Read more]Percona is glad to announce the release of Percona Monitoring and Management 1.0.1 Beta on 10 June, 2016.
Like prior versions, PMM is distributed through Docker Hub and is free to download. Full instructions for download and installation of the server and client are available in the documentation.
Notable changes to the tool include:
The following is the very basic Python App connecting to MySQL
Database. (01-connect.py)
It connects to the MySQL Database (127.0.0.1:3306 with root and
empty password).
import mysql.connector
import sys
if len(sys.argv) > 1 :
_pass =
sys.argv[1]
else :
_pass = ''
cnx = mysql.connector.connect(user='root', password=_pass,
host='127.0.0.1', port=3306, database='mysql')
cnx.close()
The alternative using Python Dictionary parameter -
This can be useful way to connect to MySQL Database with named
parameters. (02-connect.py)
import mysql.connector
import sys
_pass = ''
if len(sys.argv) > 1 :
_pass =
sys.argv[1]
config = {
…
I would like to share my trip to Romania/Bucharest for User Group
Leaders summit.
It was really great meeting. Great people, talks, discussions,
food and etc.
I want to create same atmosphere in Azerbaijan/Baku next
year
Here are some of the photos:
…
[Read more]Percona is glad to announce the release of Percona XtraDB Cluster 5.7.11-4beta-25.14.2 on June 9, 2016. Binaries are available from the downloads area or our software repositories.
NOTE: This beta release is only available from the testing repository. It is not meant for upgrade from Percona XtraDB Cluster 5.6 and earlier versions. Only a fresh installation is supported.
Percona XtraDB Cluster 5.7.11-4beta-25.14.2 is based on the following:
In this blog post, I’ll discuss how to use MySQL 5.7 Document Store to track data from Internet of Things (IoT) devices.
Using JSON in MySQL 5.7
In my previous blog post, I’ve looked into MySQL 5.7.12 Document Store. This is a brand new feature in MySQL 5.7, and many people are asking when do I need or want to use the JSON or Document Store interface?
Storing data in JSON may be quite useful in some cases, for example: