The MySQL Utilities Team is pleased to announce a new alpha
release of MySQL Utilities. This release includes a number of
improvements for useabilty, stability, and a few enhancements. A
complete list of all improvements can be found in our release notes.
New Enhancements!
This release represents a stable release of the product. Along
with several defect patches, we also include the following
enhancements.
Improved support for MySQL 5.7 early releases
Improved output for mysqldbcompare
Improved SSL support
New Utilities!
This release also has three new utilities for you to try
out:
mysqlslavetrx - skip transactions on one or more slaves to solve
errant transactions and consistency errors - …
The latest from the MySQL community
Ideas, releases, practical guides, and perspectives from the people building with MySQL.
The MySQL Utilities Team is pleased to announce the general
availability (GA) release of MySQL Utilities. This release
includes a number of improvements for useabilty, stability, and a
few enhancements. A complete list of all improvements can be
found in our release notes.
New Enhancements! This release represents a stable release
of the product. Along with several defect patches, we also
include the following enhancements.
- Improved support for MySQL 5.7 early releases
- Improved output for mysqldbcompare
- Improved SSL support
How Can I Download MySQL Utilities?
You can download MySQL Utilities 1.5.2 GA from the following link
using one of the pre-built installation repositories including a
source download.
…
As the systemd integration keeps on getting forward. It is hardly to be ignored by us MySQL folks :)
Lets have a look into a simple problem, you are not going to solve like you used to solve it. (At least on Centos7 installing the MariaDB package)
Increasing table_open_cache was only a configuration
issue. As mysqld was started as root and then
switching to the unix user mysql. On Centos7 this
was not working anymore. As MariaDB/MySQL ist startet with a
service file starting the process as user mysql:
[Service]
Type=simple
User=mysql
Group=mysql
..
As not root (having the right capability) it will be not able to change the open files limit. In the error log you are going to find something like:
150303 11:57:02 [Warning] Changed limits: max_open_files: 1024
max_connections: 214 table_cache: 400
Reading the …
[Read more]
I've completed a new release of the Connector/Arduino! The new
release contains some minor improvements as follows.
- Code has been changed slightly to help with long latency issues over wifi and slow connections.
- A new cleanup method was added to cleanup a final OK packet after a stored procedure call with a result.
- Code now compiles without errors for the latest Beta Arduino IDE (const error).
Enjoy!
Full text is a critical point when it comes to mysql. It used to have that feature in MyISAM but that’s not really maintained anymore nor it is advised to use unless you have a very specific use case in which it might make sense. There are 3rd party solution which takes the problem away (Lucene, Sphinx, Solr, ElasticSearch) but all bring extra complexity to your setup which has its own cost. So do you need to give up on fulltext search if you’re using MySQL + InnoDB? No! Definitely not.
Alternatives for full-text search in MySQL
I have an live database with 9000+ products with category, brand and short description which is perfect to test my searches on. I’m going to run the queries many times and use profile information to collect more granular and accurate timing information.
LIKE
Well… It’s not a real alternative but just for a sec see how well it behaves.
SELECT SQL_NO_CACHE b.name, …[Read more]
Talking with Percona Live attendees last year I heard a couple of common themes. First, people told me that there is a lot of great advanced content at Percona Live but there is not much for people just starting to learn the ropes with MySQL. Second, they would like us to find a way to make such basic content less expensive.
I’m pleased to say we’re able to accommodate both of these wishes this year at Percona Live! We have created a two-day intensive track called “MySQL 101” that runs April 15-16. MySQL 101 is designed for developers, system administrators and DBAs familiar with other databases but not with MySQL. And of course it’s ideal for anyone else who would like to expand their professional experience to include MySQL. The sessions are designed to lay a solid foundation on many aspects of MySQL development, design and …
[Read more]As the need for information grows so does the size of data we need to keep in our databases. SST is unavoidable for spinning up new nodes in a PXC cluster and when datasets reach the “terra-byte” range this becomes ever more cumbersome requiring many hours for a new node to synchronize.
More often that not, it is necessary to implement custom “wsrep_sst” scripts or resort to manual synchronization processes. Luckily cloud providers provide convenient methods to leverage disk snapshots that can be used to quickly transfer data between nodes.
This article deals with the actions needed to perform a snapshot on Google’s Compute Engine (GCE) infrastructure. A similar method can be used on AWS EC2 instances using EBS snapshots or any other form of snapshots such as LVM, ZFS or SAN. The steps described can be …
[Read more]In MySQL Character encoding – part 1 we stated that the myriad of ways in which character encoding can be controlled can lead to many situations where your data may not be available as expected.
UTF8 was designed on a placemat in a New Jersey diner one night in September or so 1992.
Setting MySQL Client and Server Character encoding.
Lets restart MySQL with the correct setting for our purpose, UTF8. Here we can see the setting in the MySQL configuration file, in this case /etc/mysql/my.cnf.
character-set-server = utf8
This change is then reflected in the session and global variables once the instance is restarted with the new configuration parameter.
mysql> SELECT …[Read more]
Technical conferences are flooded with visual
[mis]representations of a particular product's performance,
compression, cost effectiveness, micro-transactions per
flux-capacitor, or whatever two-axis comparison someone dreams
up. Lets be honest, benchmarketers like to believe we all suffer
from innumeracy.
The Merriam-Webster dictionary defines innumeracy as
follows:
innumeracy (noun): marked by an ignorance of mathematics and
the scientific approach Mark
Callaghan has been a long time advocate of explaining benchmark results, but that's not the
point of the bar chart. Oh no, the bar chart only exists to catch
your eye and …
From time to time people wonder how to implement roles in MySQL. This can be useful for companies having to deal with many user accounts or for companies with tight security requirements (PCI or HIPAA for instance). Roles do not exist in regular MySQL but here is an example on how to emulate them using Percona Server, the PAM plugin and proxy users.
The goal
Say we have 2 databases: db1 and db2, and we want to be able to create 3 roles:
- db1_dev: can read and write on db1 only.
- db2_dev: can read and write on db2 only.
- stats: can read on db1 and db2
For each role, we will create one user: joe (db1_dev), mike (db2_dev) and tom (stats).
Setting up the Percona PAM plugin
The Percona PAM plugin is distributed with Percona Server 5.5 and 5.6. I will be using …
[Read more]