All Stories

MySQL Group Replication初探

Group Replication为原生MySQL高可用集群架构,shared-nothing结构。

ProxySQL简介

ProxySQL简介,ProxySQL被用作数据库代理,完成读写分离、routing等操作

MySQL Clone Plugin

介绍MySQL clone plugin的用法及使用场景

Linux磁盘监控-diskio_io_time

查看Linux系统的磁盘监控,常常需要关注磁盘的情况,例如:diskio_io_time,能够间接反应磁盘的繁忙情况

MySQL源码-Seconds_Behind_Master的计算

What the Seconds_Behind_Master means? And how to calculate it? MySQL源码-Seconds_Behind_Master的计算

linux-transparent_hugepage

What is transparent_hugepage in Linux and why we should disable it in database instance?

Linux swap 内存溢出

由于磁盘IO较弱的原因,不再在数据库的实例上进行swap的内存溢出,需要进行关闭。

MySQL源码-变量-innodb_flush_log_at_trx_commit

mysq source-code-variables-innodb_flush_log_at_trx_commit

MySQL写入重做日志(redo log files)的顺序

What's the order of writing redo logs in MySQL? 在redo logs中,如果有多个files,那么MySQL会怎么使用这些文件,访问的时间,第一个使用结束再使用第二个依次循环?还是不同的事务访问不同的file?

MySQL Flush Slow Log

慢查较多的时候,慢查日志需要进行定期切换,防止需要分析时,文件过大不便于排查。

MySQL Get Memory Status From Performance_Schema

当MySQL进程mysqld占用了太多内存时,需要定位对应的用户、线程、event等信息,可以使用performance_schema表信息进行查看

Redis Explained

Redis Architecture Notes