[…] Read More (Community […]
LikeLike
[…] Read More (Community […]
LikeLike
Continuent have been a long term sponsor of the Percona Live conference, and the MySQL conference as it was before that, for many years. We have attended the conference both as a Diamond sponsor, and members of our staff attending and presenting our products and experience at the conference.
The nature of these conferences always changes over time, and we have seen over the last few years how the Percona Live conference has moved from being a pure MySQL conference to an open source database conference. Although Continuent continue to provide open source software and integrate with many open source databases, our core operation still revolves around MySQL clustering and replication for MySQL and Oracle.
Continuent is also evolving and changing and we are increasingly deploying and moving towards pure cloud-based environments, building and developing products that are used on the cloud or …
[Read more]
If you are like me and you spend chilly spring evenings relaxing
by the fire, reading the manual for the upcoming MySQL 8 release,
you may have seen Caching SHA-2 Pluggable
Authentication in section 6.5.1.3.
There are now TWO SHA-256 plugsins for MySQL 8 for hashing user
account passwords and no, I do not know what the title of the
manual pages says SHA-2 when it is SHA-256. We have
sha256_password for basic SHA-256 authentication
and caching_sha2_password that adds
caching for better performance.
The default plugin is caching_sha2_password has
three features not found in its non caching brother. The first
is, predictably, a cache for faster authentication for repeat
customers to the database. Next is a RSA-based password exchange
that is independent of the SSL library you executable is linked.
And it supports Unix socket-files and shared-memory …
With this post, I want to bring your attention to source code improvements in MySQL 8.0. MySQL 8.0 modernizes the code base by using C++11 constructs, being warning-free on more compilers and platforms, being UBSan- and ASan- clean, improving header file dependencies, improving the coding style, and better developer documentation.…
Join Percona Chief Evangelist Colin Charles as he covers happenings, gives pointers and provides musings on the open source database community.
Writing to you on the ground from FOSSASIA 2018, where I gave a track introduction yesterday since we have a pretty awesome database track most Saturday, and generally, all MySQL focused on Sunday. There’s even a list of talks by Oracle MySQL’ers (yes, there’s more than just Oracle folk, but for that, you got to get the schedule).
The Percona Live Community Dinner happens again this year during Percona Live 2018, at Pedro’s on 24 April 2018. It starts at 7 pm, and I highly recommend you purchase the …
[Read more]
MySQL has introduced the PERFORMANCE_SCHEMA (P_S) in MySQL
5.5 and made it really usable in MySQL 5.6 and added some
enhancements in MySQL 5.7 and 8.0.
Unfortunately the PERFORMANCE_SCHEMA was not really
intuitive for the broader audience. Thus Mark Leith created the
sys Schema for an easier access
for the normal DBA and DevOps and Daniel Fischer has enhanced it
further. Fortunately the sys Schema up to version
1.5.1 is available on GitHub.
So we can adapt and use it for MariaDB as well. The version of
the sys Schema in MySQL 8.0 is 1.6.0 and seems not
to be on GitHub yet. But you can extract it from the MySQL 8.0
directory structure: …
MySQL has introduced the PERFORMANCE_SCHEMA (P_S) in MySQL
5.5 and made it really usable in MySQL 5.6 and added some
enhancements in MySQL 5.7 and 8.0.
Unfortunately the PERFORMANCE_SCHEMA was not really
intuitive for the broader audience. Thus Mark Leith created the
sys Schema for an easier access
for the normal DBA and DevOps and Daniel Fischer has enhanced it
further. Fortunately the sys Schema up to version
1.5.1 is available on GitHub.
So we can adapt and use it for MariaDB as well. The version of
the sys Schema in MySQL 8.0 is 1.6.0 and seems not
to be on GitHub yet. But you can extract it from the MySQL 8.0
directory structure: …
Overview
I find far too often that MySQL error and slow query logs are unaccounted for. Setting up log rotation helps make the logs manageable in the event that they start to fill up and can help make your troubleshooting of issues more efficient.
Setup
All steps in the examples below are run as the root user. The first step is to setup a user that will perform the log rotation. It is recommended to only give enough access to the MySQL user for the task that it is performing.
Create Log Rotate MySQL User
mysql > CREATE USER 'log_rotate'@'localhost' IDENTIFIED BY '<ENTER PASSWORD HERE>'; mysql > GRANT RELOAD,SUPER ON *.* to 'log_rotate'@'localhost'; mysql > FLUSH PRIVILEGES;</pre>
The next step is to setup the MySQL authentication config as root. Here are two methods to set this up. The first method will be the more secure method of …
[Read more]In the following we show how InnoDB cluster can be deployed in a container context. In the official documentation (Introducing InnoDB Cluster), InnoDB is described as: MySQL InnoDB cluster provides a complete high availability solution for MySQL. MySQL Shell includes AdminAPI which enables you to easily configure and administer a group of at least three […]
In this blog post, we’ll look at how Percona XtraDB Cluster (PXC) executes FLUSH and LOCK handling.
Introduction
Percona XtraDB Cluster is a multi-master solution that allows parallel execution of the transactions on multiple nodes at the same point in time. Given this semantics, it is important to understand how Percona XtraDB Cluster executes statements regarding FLUSH and LOCK handling (that operate at node level).
The section below enlist different flavors of these statements and their PXC semantics
FLUSH TABLE WITH READ LOCK