Rate Puppies in a Rust app with Sharded MySQL Database
If you are thinking about to move your MySQL databases to the
Cloud but you are still reticent, you can maybe use the “Oracle Cloud
Free Tier” offer to test it.
Oracle Cloud Free Tier offers you 2 Oracle Autonomous Databases
and 2 Oracle Cloud Infrastructure Compute VMs as Always Free
services and in addition a 30-day Free Trial with US$300 in free
credits.
On these VMs instances (provisioned and managed by Oracle Cloud
Infrastructure Compute) you can install your MySQL server. Let’s
see how…
Oracle Cloud account creation
Connect to the Oracle Cloud page and fill in your
credentials:
…
Few weeks ago with a big curiosity I was reading several articles published by Percona about TPCC Benchmark results and MySQL 8.0 "checkpointing" issues..
Unfortunately, in these articles there was no any explanation nor any tentative to understand what is going on, an probably at least try and validate some "first coming in mind" tuning / troubleshooting options.. (And even no any try to show in action so often advertised PMM, and see on what it'll point ?)..
All in all, in the following article I'll try to feel up the "white holes" left in this TPCC testing..
Read more... (22 min remaining to read)
In a blog post I posted on the 16th of January I showed some graphs of CPU
usage, network usage and disk usage. The benchmark that was running was
a modified variant of YCSB (Yahoo Cloud Serving Benchmark) based on version
0.15.0 of YCSB.
In this blog post I will describe the setup of the NVMe drives for this
benchmark using DenseIO machines in the Oracle Cloud.
Oracle Cloud has a variety of machines available. In this benchmark we wanted
to show NDB with a database size of around 20 TByte of user data in a replicated
setup.
There are numerous ways to connect disk drives to Oracle Cloud machines. One
manner is to use block storage. In this case the actual storage is on separate …
[Read more]Disclaimer: the following script only works for Percona Server for MySQL 5.7, and relies on enabling performance schema (PS) instrumentation which can add overhead on high concurrent systems, and is not intended for continuous production usage as it’s a POC (proof of concept).
Introduction
In Percona Support, we frequently receive tickets related to deadlocks and even though the deadlock concept is simple, troubleshooting might not be in all cases.
As explained in How to Deal with MySQL Deadlocks, a deadlock occurs when two or more transactions mutually hold and request for locks, creating a cycle of dependencies. MySQL will detect deadlocks and kill one of the transactions (making it rollback), and the deadlock will be printed in SEIS (show engine innodb status). Limitations of using this approach …
[Read more]I have two talks this week on MySQL 8.0 that you can attend virtually. And another session that is one line also plus an article. Busy week!
First is a follow on to a earlier session I did for the good folks at cPanel want you to register here for MySQL 8.0 changes for DBAs and DevOps on August 12th, 2020 at 2PM CDT. The first talk was mainly for developers and this time I am, heavily covering InnoDB Cluster and features that are of more interest to the folks who keep MySQL instances running.
MergePHP - New MySQL Features That You May Have Missed is on Thursday August 13th at 7:00 Eastern . This is an exciting combination of three MySQL user groups who have joined together for a virtual meeting.
Then on Friday the 14th I am panelist for the …
[Read more]I like bugs. Probably not as much as Valerii Kravchuk (http://mysqlentomologist.blogspot.com/) a former colleague of mine who posted about MySQL bugs for a long time, but I still like bugs. I like finding bugs, I like fixing bugs, and I like analyzing bugs.
While I work on the WARP storage engine, I am filing bugs and feature requests for issues I find with MySQL. I also like to comment on MySQL bugs in the bug database to help the MySQL engineers find root causes, and to help end users with workarounds, or explaining misconceptions as to why something may not be a bug. So here are a few interesting bugs I have encountered recently.
Optimizer gives bad estimates for ICP query plans
resulting in FTS:
https://bugs.mysql.com/bug.php?id=100471 …
In Percona Kubernetes Operator for Percona XtraDB Cluster (PXC) versions prior to 1.5.0, there were two methods for upgrading PXC clusters, and both of these use built-in StatefulSet update strategies. The first one is manual (OnDelete update strategy) and the second one is semi-automatic (RollingUpdate strategy). Since the Kubernetes operator is about automating the database management, and there are use cases to always keep the database up to date, a new smart update strategy was implemented.
Smart Update Strategy
The smart update strategy can be used to enable automatic context-aware upgrades of PXC clusters between minor versions. One of the use cases for automatic upgrades is if you want to get security …
[Read more]Your blogs are really interesting..Keep writing
LikeLike
MySQL has had replication for decades but the various options can be confusing. One social media post I read recently could be summarized with the statement 'there are too many good options but how do I know which is right for me?'
Cluster
Of all the words used in the computer related world, 'cluster' is the one that I wish we could have found a replacement for as the confusion over the word has created it's own cluster. Since MySQL has InnoDB Cluster and NDB cluster with other vendors using the word we end up with a lot of confusion. Add in clustered indexes and other non replication uses of the word to add more confusion. So which is what and where do we apply then for best performance.
MySQL Replication 101
The follow is an overview of MySQL replication offerings and the details are in the manual. And of course there are third party software that …
[Read more]