Presentation : Handling Schema Changes Via Percona Toolkit

The schema changes in production can cause lock at time and makes the slave to lag. It is more tedious and troublesome with PXC ( Galera ) cluster which can be made smoother with Percona online schema change. Image Courtesy : Photo by Andrew Ruiz on Unsplash

Advertisements

Ensure better defaults with InnoDB Dedicated server.

We have seen with most of the consulting projects where the customer might be having a dedicated DB (MySQL) server ,but running with a default configuration, without any optimisation for underlying hardware, "An idle hardware is similar to idle money will give you no returns". Well again if you are from a non-DBA background and you … Continue reading Ensure better defaults with InnoDB Dedicated server.

Presentation : MySQL Timeout Variables Explained

MySQL has multiple timeout variables these slides helps to give an overview of the different  timeout variables and their purposes briefly.

Fulfilled Tablespace Encryption (TDE) in Percona Cluster

Encryption is a very important form of security and It's becoming a standard from a compliance perspective to ensure PCI, PII and HIPPA compliances. Encryption needs to be performed for Data at Rest, Data over Wire. Data At Rest: Until 5.6, To encrypt the MySQL data files, Only disk level encryption possible (Gazzang, Luks) From … Continue reading Fulfilled Tablespace Encryption (TDE) in Percona Cluster

Invisible Indexes – MySQL 8.0

MySQL 8.0 has a rich set of features. One of the feature which interests DBA's more is invisible index What is an index in MySQL ? The indexes are used to find rows with specific column values quickly. Without an index, MySQL must begin with the first row and then read through the entire table … Continue reading Invisible Indexes – MySQL 8.0

ProxySQL Series: Seamless Replication Switchover Using MHA

This is our second blog in the ProxySQL Series ( Blog I MySQL Replication Read-write Split up ). Will cover how to integrate ProxySQL with MHA to handle failover of Database servers. We already have Master - Slave replication setup behind ProxySQL from previous blog [ProxySQL On MySQL Replication] For this setup we have added one more … Continue reading ProxySQL Series: Seamless Replication Switchover Using MHA

Online Schema Change for Tables with Triggers.

In this post, We will learn how to handle online schema change if the table has triggers. In PXC, an alter can be made directly ( TOI ) on tables with less than a 1G ( by default) , but on a 20GB or 200GB table we need some downtime to do ( RSU ). … Continue reading Online Schema Change for Tables with Triggers.

Investigating a MySQL dead lock

I was involved in one of the development support for MySQL. Here is an interesting case The application needs a Sequence generator as it was not present inbuilt with MySQL ( MariaDB will have it in 10.3 ) they have made sequence generator function with 'select for update' statement. But it tends to cause more locking … Continue reading Investigating a MySQL dead lock

Virtual Columns in MySQL and Use cases.

Introduction: MySQL 5.7 introduces a new feature called virtual/generated column. It is called generated column because the data of this column is computed based on a predefined expression or from other columns. What is Virtual Column ? In general virtual columns appear to be normal table columns, but their values are derived rather than being … Continue reading Virtual Columns in MySQL and Use cases.

MySQL Tablespace Encryption ( TDE )

In this blog we are going to explore about innodb tablespace encryption technique, which will be useful for securing data. In MySQL 5.7, a new feature "Innodb Tablespace Encryption"has been added to protect the data at rest. This is a most awaited feature in security. This encryption supports all file per table tablespaces and it … Continue reading MySQL Tablespace Encryption ( TDE )