Building a Database Monitoring System: From Exporters to Alert Rules in Practice

Overview When the database slows down, the business slows down. Every ops engineer has heard this, but honestly, not many teams do database monitoring right. I’ve seen too many teams whose database monitoring looks like this: Zabbix templates running decade-old metrics, only two alert rules — “CPU over 90%” and “disk full” — while connection count, lock waits, cache hit rate, replication lag, and other metrics that actually provide early warning are not being collected at all....

July 17, 2026 · 21 mins · 4265 words · Xu Baojin

MySQL Performance Optimization: Slow Query Analysis and Index Tuning

Overview MySQL Performance Optimization: Slow Query Analysis and Index Tuning is an essential skill in SRE operations. In production environments, mastering these techniques can significantly improve system stability and operational efficiency. Why MySQL Performance Optimization Matters As systems grow in scale and complexity, traditional operations approaches struggle to meet the demands of modern distributed systems. MySQL Performance Optimization helps operations teams: Rapid Problem Resolution: Systematic tools and methods reduce troubleshooting time Improved System Visibility: Establish comprehensive monitoring and observability Proactive Fault Prevention: Identify and fix potential risks before they cause outages Resource Optimization: Allocate and schedule resources efficiently Core Concepts and Principles Basic Concepts The core of MySQL Performance Optimization lies in establishing standardized processes and automated toolchains....

October 13, 2025 · 3 mins · 571 words · XuBaojin