MySQL 8 Resource Group – introduction and dynamic allocation
This blog post gives an introduction to resource groups in MySQL 8 and dynamical allocation to threads, as well as a related bug report.
This blog post gives an introduction to resource groups in MySQL 8 and dynamical allocation to threads, as well as a related bug report.
In this post we will see a case study of a Galera Cluster migration to AWS Aurora and quick solution to the replication issue. A friend received an error in a Master-Master replication as follows: Could not execute Write_rows event on table _database._table; Duplicate entry ’65eJ8RmzASppBuQD2Iz73AAy8gPKIEmP-2018-08-03 08:30:03′ for key ‘PRIMARY’, Error_code: 1062; handler error HA_ERR_FOUND_DUPP_KEY; […]
How to Restore A Table / Database From Full Backup using MySQL Grants & mysqldump.
Today lets talk a little about converting a MySQL table to CSV (Excel). My friend was looking to export MySQL to Excel, I saw couple of questions for export MySQL tables to CSV on forums. Since I saw the question often, I thought of writing out all the ways I can think of for exporting […]
I’m going to narrate you a story that happened around a crashing MyQL, Corrupted InnoDB table and finally the recovery by table restore. We will see how our database administrator detected the issue and what he did to resolve it. A day in MySQL Database Consultant’s day was taking its shape while a friend called […]
Reset MySQL root password for Galera Cluster ( Percona Xtradb / MariaDB )
This post is a lab experiment learning from migration to the Percona Xtradb Cluster (Galera) and a very unexpected DEADLOCK scenario which took me back to basics. (root@localhost) [test]>insert into app values (1); ERROR 1213 (40001): Deadlock found when trying to get lock; try restarting transaction Little background: We needed to work on migrating the […]
Learning from facepalm moments of a MySQL database restore from Percona Xtrabackup.
This post explains on the usage of mysql_repair_threads for repairing myisam table & the processlist status Repair with N threads
This blog post explores the syncing options for an inconsistent MySQL slave of Galera cluster node using pt-table-sync