Tag

Database Monitoring

0 views collected around this technical thread.

JD Tech Talk
JD Tech Talk
Jun 10, 2025 · Backend Development

Instantly Spot Problematic SQL with MyBatis Interceptor Coloring

This article explains how to use SQL coloring in MyBatis by implementing a lightweight interceptor or an AspectJ weave to annotate each SELECT statement with its mapper ID and execution stack, enabling rapid identification of performance bottlenecks during high‑traffic events.

AspectJDatabase MonitoringJava
0 likes · 29 min read
Instantly Spot Problematic SQL with MyBatis Interceptor Coloring
Aikesheng Open Source Community
Aikesheng Open Source Community
Mar 19, 2025 · Databases

Why MySQL 5.7 Seconds_Behind_Master Is Unreliable and How pt‑heartbeat Provides Accurate Replication Lag Measurement

The article explains why the built‑in MySQL 5.7 Seconds_Behind_Master metric often misrepresents replication delay, analyzes its design flaws, and demonstrates how the Percona Toolkit's pt‑heartbeat tool can reliably measure master‑slave lag with real‑time precision.

Database MonitoringMySQLReplication
0 likes · 10 min read
Why MySQL 5.7 Seconds_Behind_Master Is Unreliable and How pt‑heartbeat Provides Accurate Replication Lag Measurement
Top Architect
Top Architect
Nov 3, 2024 · Databases

Database Monitoring and Logging: Using top, iostat, vmstat and MySQL Slow Query Log

This article explains how database administrators can monitor system resources with commands such as top, iostat, and vmstat, and how to enable and inspect MySQL slow query logs, while also including promotional information about a ChatGPT community and related services.

Database MonitoringLinux CommandsMySQL
0 likes · 7 min read
Database Monitoring and Logging: Using top, iostat, vmstat and MySQL Slow Query Log
IT Architects Alliance
IT Architects Alliance
Jun 23, 2024 · Databases

Configuring Druid DataSource Monitoring and Filters in Spring Boot

This guide explains the fundamentals of Druid as a Java database connection pool, how to add required Maven dependencies, configure various Druid properties and filters for SQL and web monitoring, enable slow‑SQL logging, integrate Spring AOP monitoring, remove the default Alibaba advertisement, and retrieve monitoring data via the DruidStatManagerFacade API.

Connection PoolDatabase MonitoringDruid
0 likes · 14 min read
Configuring Druid DataSource Monitoring and Filters in Spring Boot
macrozheng
macrozheng
Mar 19, 2024 · Databases

Master Druid Monitoring in Spring Boot: Step‑by‑Step Setup and Ad Removal

This guide walks you through creating a Spring Boot project, integrating the Druid connection‑pool, configuring its WebStatFilter and StatViewServlet for full SQL monitoring, testing the setup, and removing the built‑in advertisement via a custom filter.

Ad RemovalDatabase MonitoringDruid
0 likes · 10 min read
Master Druid Monitoring in Spring Boot: Step‑by‑Step Setup and Ad Removal
Qunar Tech Salon
Qunar Tech Salon
Jan 18, 2024 · Databases

Optimization Journey of Qunar's Database Inspection and Alarm Systems

This article details Qunar's DBA team's systematic analysis of shortcomings in their original database inspection and alarm systems, the design and implementation of comprehensive metric enhancements, risk‑level classification, automated reporting, and alarm noise reduction, and reports the significant improvements in stability, efficiency, and fault‑free operation achieved through these optimizations.

Database MonitoringMySQLRisk Assessment
0 likes · 15 min read
Optimization Journey of Qunar's Database Inspection and Alarm Systems
Ctrip Technology
Ctrip Technology
Feb 2, 2023 · Databases

MySQL to OceanBase Migration: Evaluation Tools, Migration Process, Monitoring, and Automated Fault Diagnosis

This article details Ctrip's experience migrating MySQL workloads to the distributed OceanBase database, covering the design of an assessment tool, a one‑click migration workflow, comprehensive monitoring dashboards, automated fault‑diagnosis pipelines, encountered compatibility issues, and future roadmap for the platform.

Database MonitoringDistributed DatabaseFault Diagnosis
0 likes · 17 min read
MySQL to OceanBase Migration: Evaluation Tools, Migration Process, Monitoring, and Automated Fault Diagnosis
Aikesheng Open Source Community
Aikesheng Open Source Community
Dec 7, 2022 · Databases

Simplifying MySQL InnoDB Status Metrics with the innodb_metrics Table

This article explains how to use the MySQL innodb_metrics table to transform the unreadable output of the show engine innodb status command into clear, queryable metrics, including buffer pool statistics and CPU counters, and shows how to enable or disable specific counters as needed.

Database MonitoringInnoDBMySQL
0 likes · 9 min read
Simplifying MySQL InnoDB Status Metrics with the innodb_metrics Table
Architecture Digest
Architecture Digest
Nov 23, 2022 · Databases

Using MySQL Built‑in SHOW Commands for Comprehensive Database Monitoring

This article explains how to collect a wide range of MySQL performance metrics—including connections, buffer pool usage, locks, SQL statistics, statement counts, throughput, server variables, and slow‑query logs—using only MySQL's native SHOW commands and performance_schema tables, while also offering practical tuning tips and analysis tools.

Database MonitoringMySQLPerformance Metrics
0 likes · 11 min read
Using MySQL Built‑in SHOW Commands for Comprehensive Database Monitoring
Aikesheng Open Source Community
Aikesheng Open Source Community
Sep 20, 2022 · Databases

Analyzing MySQL Slow Log: Identifying Disk I/O and Semi‑Sync Replication Bottlenecks

This article walks through a systematic analysis of MySQL slow‑log entries, correlating them with error‑log flush events, disk‑I/O monitoring, and semi‑synchronous replication traces to pinpoint performance bottlenecks and provide practical troubleshooting steps.

Database MonitoringDisk I/OMySQL
0 likes · 20 min read
Analyzing MySQL Slow Log: Identifying Disk I/O and Semi‑Sync Replication Bottlenecks
Aikesheng Open Source Community
Aikesheng Open Source Community
Jul 20, 2022 · Databases

Using ProxySQL Binlog Reader to Monitor MySQL GTID Replication

This article introduces the ProxySQL Binlog Reader component, explains its background in read/write splitting and GTID‑based consistency, demonstrates how to configure MySQL servers, create a dedicated user, start the reader on master and replica, and verify its operation through logs and session information.

Binlog ReaderDatabase MonitoringGTID
0 likes · 9 min read
Using ProxySQL Binlog Reader to Monitor MySQL GTID Replication
Aikesheng Open Source Community
Aikesheng Open Source Community
Apr 21, 2022 · Databases

Investigation of MySQL 5.7 Opening‑Table State Caused by Federated Engine Queries

The article analyzes why a MySQL 5.7.32 instance’s monitoring thread remains in the Opening table state when querying information_schema.tables, discovers the involvement of the Federated storage engine, reproduces the issue with a non‑existent remote server, and confirms the root cause through controlled experiments.

Database MonitoringFederated EngineMySQL
0 likes · 4 min read
Investigation of MySQL 5.7 Opening‑Table State Caused by Federated Engine Queries
Aikesheng Open Source Community
Aikesheng Open Source Community
Feb 17, 2022 · Databases

Understanding MHA Health Check Mechanism and Ping Types for MySQL Failover

The article explains why MHA’s default long‑connection ping cannot detect a hung MySQL instance, introduces three configurable ping_type options (select, connect, insert), shows how to modify the configuration and test the behavior with Perl code and shell scripts, and details the internal health‑check workflow.

Database MonitoringFailoverMHA
0 likes · 12 min read
Understanding MHA Health Check Mechanism and Ping Types for MySQL Failover
Qunar Tech Salon
Qunar Tech Salon
Nov 2, 2021 · Databases

Improving Qunar.com Database Monitoring and Alert System with a Kafka‑Based Alarm Program

The article describes how Qunar.com upgraded its Nagios/NRPE‑based database monitoring by inserting a Kafka‑driven alarm component, centralizing alert configuration in MySQL, adding flexible shielding and multi‑channel notifications, and exploring intelligent features such as slow‑query and disk‑space management.

Alert SystemDBADatabase Monitoring
0 likes · 13 min read
Improving Qunar.com Database Monitoring and Alert System with a Kafka‑Based Alarm Program
Qunar Tech Salon
Qunar Tech Salon
Sep 17, 2021 · Databases

Understanding MySQL Seconds_Behind_Master: Calculation, Interpretation, and Pitfalls

This article explains how MySQL's Seconds_Behind_Master metric is calculated, the underlying replication mechanisms, factors that affect its accuracy, and provides detailed source‑code analysis to help DBA engineers interpret and monitor replication delay effectively.

DBADatabase MonitoringMySQL
0 likes · 23 min read
Understanding MySQL Seconds_Behind_Master: Calculation, Interpretation, and Pitfalls
Aikesheng Open Source Community
Aikesheng Open Source Community
Jun 21, 2021 · Databases

Diagnosing a MongoDB Shard Connection Storm that Caused Replication Lag and Automatic Failover

The article details a MongoDB 3.4 sharded cluster incident where a sudden connection storm overwhelmed the primary, leading to replication lag, automatic failover, and how monitoring, log analysis with mtools, and a custom log‑rotation script were used to diagnose and resolve the issue.

Connection StormDatabase MonitoringMongoDB
0 likes · 8 min read
Diagnosing a MongoDB Shard Connection Storm that Caused Replication Lag and Automatic Failover
Efficient Ops
Efficient Ops
Jun 6, 2021 · Databases

How We Built a Scalable Database Monitoring System for Real‑Time Alerts

This article details the design and implementation of a comprehensive database monitoring platform that automatically adapts to cluster changes, aggregates host and DB metrics, offers flexible alert templates and strategies, stores data in InfluxDB, and provides customizable dashboards for real‑time insight and incident response.

Database MonitoringInfluxDBPrometheus
0 likes · 12 min read
How We Built a Scalable Database Monitoring System for Real‑Time Alerts
Top Architect
Top Architect
Jan 21, 2021 · Databases

Understanding Key Redis Performance Metrics: Memory Usage, Command Processing, Latency, and Key Eviction

This article explains how to use Redis INFO and related commands to monitor critical performance metrics such as memory usage, memory fragmentation, total commands processed, latency, and key eviction, and provides practical tips for interpreting these metrics and optimizing Redis deployments.

Database MonitoringKey EvictionMemory usage
0 likes · 27 min read
Understanding Key Redis Performance Metrics: Memory Usage, Command Processing, Latency, and Key Eviction
Ctrip Technology
Ctrip Technology
Oct 15, 2020 · Databases

AppTrace: An Automated System for Detecting and Analyzing Slow SQL in Application Performance Testing

The article introduces AppTrace, a system that automatically captures, analyzes, and alerts on slow SQL statements during testing, aiming to resolve 60%‑80% of application performance issues by leveraging BTrace‑based tracing, execution‑plan comparison, and risk‑based alerting within Ctrip’s backend services.

AppTraceBTraceDatabase Monitoring
0 likes · 9 min read
AppTrace: An Automated System for Detecting and Analyzing Slow SQL in Application Performance Testing
Aikesheng Open Source Community
Aikesheng Open Source Community
Jul 23, 2020 · Databases

Installing and Using MySQL Enterprise Monitor: A Step‑by‑Step Guide

This guide walks through downloading, installing, and configuring MySQL Enterprise Monitor, explains the agent and agentless client architectures, and demonstrates how to use its overview, event, metric, and query‑analysis features for comprehensive MySQL performance monitoring.

Database MonitoringEnterprise MonitorInstallation
0 likes · 8 min read
Installing and Using MySQL Enterprise Monitor: A Step‑by‑Step Guide