Description: As we know, we can’t create a function-based index on MySQL, not like PostgreSQL (https://www.postgresql.org/docs/current/indexes-expressional.html). Usually, we should avoid using functions in the where …
Read More »Tag Archives: MySQL
Pay attention when using MySQL User-Defined Variables
Recently, i used a user-defined variable to store some values, and it showed an unexpected result. I updated rows using ‘where a in (@var)’, but this query …
Read More »How to get the network packets between MySQL client and server?
Sometimes when we get ERROR messages such as the communication failure, MySQL server not responds your requests, or we want to know what the …
Read More »What you should know before changing MySQL max_connections variable
Have you tried connecting to your MySQL server only to get the annoying error, “too many connections” ? This means that the number of …
Read More »Tips when using ‘replace into’ and ‘insert … on duplicate key update…’ in MySQL
Sometimes when we want to insert rows into a table which contains duplicate keys, then we consider using ‘replace into’ or ‘insert into … …
Read More »Mysql Incremental Backup using Percona Xtrabackup
Previously i just shared the full backup script. Now we will take incremental backups using last_checkpoints. Basically, what this script will do is that …
Read More »Mysql Database Backup Using Percona Xtrabackup (Automated Bash Script)
Below is the simple script for taking non-blocking Mysql physical backup using percona xtrabackup toolkit. This backup is encrypted using AES256 algorithm. [crayon-6744215807ff0588254709/] –extra-lsndir: save …
Read More »Benchmark performance of MySQL using SysBench
Before installing MySQL instance, we must evaluate the CPU, Memory, Disk IO performance, Disk size, network of the server, also the maximal QPS(Query Per Second), concurrent …
Read More »Installing Percona XtraDB Cluster with three nodes on Ubuntu 16.04 Step By Step
Percona XtraDB Cluster is a active/active database clustering solution for MySQL. It ensures high availability, prevents downtime and data loss, and provides linear scalability …
Read More »Mysql Physical Backup Using Percona Xtrbackup Tool
Percona Xtrabackup is open source backup solution for Percona & mysql server. It will not block the database or very minimal lock while performing …
Read More »