Tagged articles
4 articles
Page 1 of 1
Aikesheng Open Source Community
Aikesheng Open Source Community
Oct 9, 2023 · Databases

Using MySQL Offline Mode to Disconnect Client Connections

This article explains how MySQL's offline_mode variable and the pt‑kill tool can be used by DBAs to place a server in maintenance mode, instantly dropping non‑privileged client connections, preventing new ones, and providing a safe way to perform maintenance or backups.

Database MaintenanceOFFLINE_MODEPT-kill
0 likes · 8 min read
Using MySQL Offline Mode to Disconnect Client Connections
dbaplus Community
dbaplus Community
Apr 22, 2023 · Databases

Mastering pt‑kill: Safely Terminate Problematic MySQL Connections

This guide explains what pt‑kill is, how it works within Percona Toolkit to kill MySQL connections based on execution time and various filters, demonstrates command‑line usage, victim‑selection modes, filtering options, source‑code logic, and common patterns such as logging and daemonizing.

Connection ManagementPT-killmysql
0 likes · 12 min read
Mastering pt‑kill: Safely Terminate Problematic MySQL Connections
dbaplus Community
dbaplus Community
Nov 28, 2018 · Databases

Boost MySQL Performance: How to Use the PHP Rebuilt Percona PT‑kill with Email & WeChat Alerts

This guide introduces a PHP‑based reimplementation of Percona’s PT‑kill tool that not only terminates long‑running MySQL queries but also adds email and WeChat notifications, explains installation prerequisites, detailed command‑line options, example usages, configuration steps, and how to customize alerts and logging.

AlertingDatabase MonitoringPHP
0 likes · 8 min read
Boost MySQL Performance: How to Use the PHP Rebuilt Percona PT‑kill with Email & WeChat Alerts