MySQL 8.0 has been the fastest in uptake of any version of
MySQL. But there are still a few of your still running
5.7. To help you get from 5.7 to 8.0 you can use the new
MySQL Shell or mysql. The mysqlsh program has a built in
upgrade checker to make sure you have an easy upgrade and to warn
you of any potential problems before your smack into them.
The first step is to install mysqlsh and it can be as simple as
using the MySQL apt repo and then running sudo apt-get install
mysql-shell. See A Quick Guide to Using the MySQL Apt Repo.
Second is connecting with the new shell. Now something to note is
that you have to specify the port for the standard protocol as
the new shell wants to default to using the new protocol's port
at 33060. Simply specify the root account, the host, and
that 3306 port.
…
You as a MySQL administrator/developer are really excited about cloning in MySQL 8.0.17. You are reading all the recent blogs. You know that quickly getting a replica up and running is quite important to your dev team.
Besides, ‘cloning’ reminds you of the old classic film ‘Sleeper’ where the actors clone a new leader from the dead leader’s nose.
Thinking of all this puts you in great spirits. Moving from MySQL 5.7 to MySQL 8.0 is high on your agenda.
Suddenly, the CEO walks up to your desk. “We lost millions in sales last quarter,” he yells. “It’s your fault. We sold all of our items at the discounted price rather than the actual price. You need to fix this today if not sooner.”
With that, the CEO reminds you of another reason to move to MySQL 8.0 : check constraints, which came out in 8.0.16.
You know that ensuring that data is …
[Read more]We’re happy to announce that our white paper ‘Tungsten Clustering – Benefits & Configurations’ for MySQL, MariaDB and Percona Server is available to read on our website.
Tungsten Clustering is a one-of-a-kind software solution that provides clustering, disaster recovery and high availability for MySQL, MariaDB & Percona Server databases.
It allows enterprises running business-critical database applications to cost-effectively achieve continuous operations on a global scale with:
- Commercial-grade high availability (HA)
- Geographically redundant disaster recovery (DR)
- Global operations with geographically distributed multi-master
…
[Read more]If you have been around MySQL for any length of time, you are probably aware that choosing the correct data types and optimizing your schema are actually important tasks. A few years back at Percona Live 2016, I gave an introductory talk on schema review and optimization. Here’s the video:
I was thinking about that talk in the context of some of my current clients. Though I had worked on extremely large database deployments during my earlier tenure at Percona, it was often more of an outlier. Now, working as a Technical Account Manager with our largest clients, it is much more common.
The Fundamental Problem
I’d like to expand my thoughts on the “choosing the smallest data type you can” principle from my 2016 slides through the lens of a few of my 2019 …
[Read more]Percona Live is always a great opportunity to learn from the best and brightest in the open-source database community. This time, Percona Live Europe is being held at the Hilton Amsterdam Airport Schiphol, The Netherlands from September 30 to October 2, 2019.
Pythian will be present, as has been the case for the past few years, with some of our technical experts speaking on a variety of subjects and technologies.
Feel free to ping any of us during the conference breaks or community events, as we’ll be happy to answer any questions you have about anything open source, cloud, or data-related.
Here are some sessions you won’t want to miss:
Wednesday, October 2
9:00 AM – …
[Read more]I’ve been away from writing blog posts — the last one was more than two years ago. I decided to write one on this topic, however; I found out that implementing a queue was harder than it should be (in my opinion). Although Magento’s shenanigans don’t really surprise me anymore, the complexity of getting a simple queue up and running caught me (and my estimate) by surprise. There’s a few other blog posts on this topic already, but I found they don’t quite get into the nitty gritty that you potentially can get stuck on.
You might be the first person to mention simple and async in one sentence.
— Fooman (@foomanNZ) July 8, 2019
That said, today I’m going to write about how to create a queue that does additional order processing using Magento 2 and MySQL only — without RabbitMQ.
Why …
[Read more]
When data and concurrency grow, together with queries complexity,
a standard configuration does not fit anymore. This content walks
through the ways MySQL has to adapt to an ever-increasing amount
of data in context of tuning, under the heading
“multiplication”:
—Scaling up through partitioning and how partitioning can help
manage/archive data
—How to relocate binlog, undo, redo, tablespaces, or disk
temporary tables and more on different mount points to take
advantage of multiple storages and tackle I/O bottlenecks
—All improvements to parallel slave replication
—A quick OS approach, to verify swapping and affinity tuning take
the most out of the machine.
All of this with different approaches to monitor the instance to
spot what parts of the system and what queries need to be
considered, mainly using:
— …
When data and concurrency grow, together with queries complexity,
a standard configuration does not fit anymore. This content walks
through the ways MySQL has to adapt to an ever-increasing amount
of data in context of tuning, under the heading
“multiplication”:
—Scaling up through partitioning and how partitioning can help
manage/archive data
—How to relocate binlog, undo, redo, tablespaces, or disk
temporary tables and more on different mount points to take
advantage of multiple storages and tackle I/O bottlenecks
—All improvements to parallel slave replication
—A quick OS approach, to verify swapping and affinity tuning take
the most out of the machine.
All of this with different approaches to monitor the instance to spot what parts of the system and what queries need to be considered, mainly using:
[Read more]Properly planned MySQL Password Management is the first step to protect your database
We at MinervaDB provide MySQL and MariaDB Database Security Audit (Please read about our Security Practice at MinervaDB Consulting Page) for our customers globally, We don’t go easy with password management .. Weaker passwords are serious security threats and we highly recommend stronger passwords. Technically Password Validation is about the policies that every new password must comply and this task is taken care by validate_password component in MySQL, You have several system variables to configure validate_password component and status variables to monitor
To use validate_password component you must install it first:
Verify …
[Read more]Thank you so much for this! It took me hours to find, but fixed my problem in minutes.
Thanks again!