MySQL Lock information in MySQL Shell
Last Tuesday, it was the very first session of DB AMA, Morgan Tocker made a nice presentation of MySQL Performance_Schema and illustrated it with some nice queries to get Meta et Data Locks. As those...
View ArticleUse Case: Geo-distributed Multi-master MySQL for Telco Providers
This is our third ‘multi-master MySQL’ blog in our Continuent MySQL Use Case series, with a focus on Telco providers. This blog concludes our multi-master MySQL mini-series along with the following...
View ArticlePercona XtraBackup: Backup and Restore of a Single Table or Database
The backup and restore of a complete database is an extensive exercise. But what if you need to restore just one table which has been mistakenly modified by an incorrect query? Help is at hand with...
View ArticleEvaluating Group Replication Scaling for I/O Bound Workloads
In this post, I want to evaluate Group Replication Scaling capabilities in cases when we increase the number of nodes and increase user connections. While this setup is identical to that in my post...
View ArticleJava & MySQL 8.0.19
It’s the in-between term time and we’re all stuck at home. I decided to update the image for my Fedora 30 virtual machine. I had a work around to the update issue that I had encountered last October...
View ArticleWhy We’re Debugging MySQL Server and How?
Why Debug MySQL? Building MySQL from its source code sounds like something you won't normally do, though it can be useful for several scenarios: When you want to contribute to MySQL with a new feature...
View ArticleMySQL-Shell using the Pluggable Password Store and the API Command-Line...
Early on in the MySQL 8.0 Release series there were a couple of key items related to our everyday use. They are MySQL-Shell‘s establishing the “Pluggable Password Store” in 8.0.12, and its super...
View ArticleNeed to Connect to a Local MySQL Server? Use Unix Domain Socket!
When connecting to a local MySQL instance, you have two commonly used methods: use TCP/IP protocol to connect to local address – “localhost” or 127.0.0.1 – or use Unix Domain Socket. If you have a...
View ArticleUnderstanding InnoDB rw-lock stats
InnoDB uses mutexes for exclusive access and rw-locks for the shared access of the resources. rw-locks are used to control access to the common shared resources like buffer pool pages, tablespaces,...
View ArticleAnnouncing the Release Candidate of MySQL 8.0 + Galera 4
A time for new beginnings beckons upon us, and Codership is pleased to announce the much anticipated Release Candidate of MySQL 8.0 that comes with Galera 4. It comes with MySQL 8.0.19 and includes...
View ArticleMySQL BLACKHOLE Engine as Replication Filter
Today, I am going to tell very interesting use-case where we have used Blackhole engine as replication filter. We have an Aurora Cluster(let's call it C1) where multiple db's are hosted and multiple...
View ArticleBenchmarking: More Stable Results with CPU Affinity Setting
When I run a benchmark and want to measure the CPU efficiency of something, I find it’s often a good choice to run a benchmark program, as well as the database, on the same server. This is in order to...
View ArticleEvaluating Percona XtraDB Cluster 8.0 Scaling Capabilities
Percona XtraDB Cluster 8.0 is on the final stretch before GA release, and we have pre-release packages available for testing. I wanted to see how Percona XtraDB Cluster 8.0 performs in CPU and...
View ArticleMore MySQL Document Store Intro Videos
Last time I shared a video that is an introduction to Using MySQL without the SQL. This time I am adding two more videos -- one on Document Collections and another on simple indexes. The MySQL...
View ArticleMySQL Security – Random Password Generation
MySQL has the capability of generating random passwords for user accounts, as an alternative to requiring explicit administrator-specified literal passwords.
View ArticleWriting MySQL Shell Plugin (REPORT)
MySQL Shell is a powerful tool. It allows Javascript, Python and SQL access to MySQL.Usage of MySQL Shell can be1. As admin tool to MySQL Server2. As Scripting Engine to run Javascript or Python or...
View ArticlePstress: Database Concurrency and Crash Recovery Testing Tool
Databases are complicated software made to handle the concurrent load while making specific guarantees about data consistency and availability. There are many scenarios which should be tested that can...
View ArticleWhat’s the Best Way to Enable (And Test) Encryption at Rest in RDS?
The other day on a call, a client asked me an interesting question. We were discussing some testing they were doing in Amazon Relational Database Service (RDS). The question came up “since RDS is...
View ArticleLogging all MySQL queries into the Slow Log
MySQL logs slow queries into the Slow Log. But it's preferable to log all the queries, not just some of them. This article shows how to log all available information. The post Logging all MySQL...
View ArticleCVE-2020-10997 – Percona XtraBackup information disclosure of command line...
CVE-2020-10997 Percona XtraDB backup >= 2.4.11 suffers an issue whereby the whole command line is captured and output to resulting backup file location, and where –history command line argument...
View Article