Enhancing Performance with Parallel Index Rebuild in MySQL 8.0.31
Tag: InnoDB
How to Troubleshoot a MySQL Replica IO Thread that is Stuck in a Connecting State
How to Troubleshoot a MySQL Replica IO Thread that is Stuck in a Connecting State
PostgreSQL 16 brings Load Balancing Support in libpq (psql)
Get ready for PostgreSQL 16's release and learn about the new Connection Load Balancing Support feature in libpq. Discover how it can help scale out read queries and improve PostgreSQL's performance.
Mastering MySQL Group Replication Primary Promotion Techniques
Table of contents: IntroductionCommon reasons for switching the primary nodePrimary Promotion and its importanceMethods for switching the primary nodeSetting up a three-node MySQL group replication cluster for demonstrationAuto-switch method and its implementationAuto-switch by weight of the node method and its implementationManual Primary Promotion method and its implementationConclusion Introduction MySQL's group replication is a powerful feature … Continue reading Mastering MySQL Group Replication Primary Promotion Techniques
Prevent ProxySQL from directing traffic to broken MySQL replica
ProxySQL is an open-source MySQL proxy server, meaning it serves as an intermediary between a MySQL server and the applications that access its databases. ProxySQL can improve performance by distributing traffic among a pool of multiple database servers. Consider 2 slaves are routed under Proxysql , In any one of the slave, if the replication … Continue reading Prevent ProxySQL from directing traffic to broken MySQL replica
Beware of your Backup before upgrading MySQL 8.0.30
MySQL 8.0.30 was released on 26-07-2022. It has a good list of features. Generated Invisible Primary Key Dynamic Redo log Sizing Instruments to monitor group replication memory Support for Ubuntu 22.04 A most notable feature for Database Administrators and database reliability engineers is Dynamic redo logging. The more widely adopted open-source backup tool is Xtrabackup. … Continue reading Beware of your Backup before upgrading MySQL 8.0.30
Troubleshooting XA transactions in MySQL
This is one of the exciting troubleshooting related to XA transactions let’s dive in. Let me provide a few backgrounds. For one of our clients, when we try to drop a table, it is waiting for metadata lock. On debugging it is one of the XA transactions is holding the shared write lock and causing … Continue reading Troubleshooting XA transactions in MySQL
Dynamic InnoDB Redo log Resize MySQL 8.0.30
Tired of downtimes and planning to resize your redo log files in MySQL ( InnoDB)? Here we can find a smile on our faces! The latest release of MySQL 8.0.30 ( 2022-07-26 ) has added the Online resize of the InnoDB Redo log. Summary Need for Redo Log InnoDB Redo log Before 8.0.30InnoDB Redo … Continue reading Dynamic InnoDB Redo log Resize MySQL 8.0.30
MySQL time_zone and CPU Spike another performance troubleshooting
It was a clear day and traffic started to increase as we are in the biggest sale event of the year for one of our Managed services clients. This is one of the interesting troubleshooting let's dive in. Let me provide some background. We were running the Percona version of MySQL (5.7.30), on a 96 … Continue reading MySQL time_zone and CPU Spike another performance troubleshooting
How to Estimate time for Rollback in a cancelled transaction MySQL ?
Rollback is an operation, which changes the current state of the transaction to the previous state. Undo logs are generally required if we want to roll back any of the uncommitted transactions and it plays a major role in Isolation. For any changes made during a transaction, it must be stored priorly, because they are … Continue reading How to Estimate time for Rollback in a cancelled transaction MySQL ?