PmaControl logo PmaControl
  • Home
  • PmaControl
    • AI Agents 13 on-premise agents
    • Plans Community, Cloud, On-Premise, Premium
    • Documentation Guides, API, architecture
    • Clients 28+ companies
    • FAQ 25 questions / 7 categories
    Databases
    • MariaDB 30 articles
    • MySQL 10 articles
    • Galera Cluster 6 articles
    • MaxScale 3 articles
    • ProxySQL 2 articles
    • Amazon Aurora MySQL 0 article
    • Azure Database 0 article
    • ClickHouse 0 article
    • GCP CloudSQL 0 article
    • Percona Server 0 article
    • SingleStore 0 article
    • TiDB 0 article
    • Vitess 0 article
    Solutions
    • Support 24×7 MariaDB & MySQL emergencies
    • Observabilité SQL Monitoring, alerts, topology
    • Haute disponibilité Replication, failover, Galera
    • Disaster Recovery Backup, restore, RPO/RTO
    • Sécurité & conformité Audit, GDPR, SOC2
    • Migration & upgrade Zero downtime, pt-osc, gh-ost
  • Plans
  • Resources
    • Documentation Technical guides & API
    • FAQ 25 frequently asked questions
    • Testimonials Client feedback & use cases
    • Blog Articles & insights
    • Roadmap Upcoming features
    Areas of expertise
    • Observabilité SQL Monitoring, alerts, Dot3 topology
    • Haute disponibilité Replication, failover, Galera
    • Sécurité & conformité Audit, GDPR, SOC2, ISO 27001
    • Disaster Recovery Backup, restore, RPO/RTO
    • Performance & optimisation Digests, EXPLAIN, tuning
    • Migration & upgrade Zero downtime, pt-osc
    Quick links
    • GitHub Wiki 26 pages — install, engine, plugins
    • Source code Official GitHub repository
    • Support 24×7 MariaDB & MySQL emergencies
    • Book a demo 30 min — real architecture
  • Support 24×7
  • Book a demo
Book a demo
🇫🇷 FR Français 🇬🇧 EN English 🇵🇱 PL Polski 🇷🇺 RU Русский 🇨🇳 ZH 中文
← Back to blog

ProxySQL meltdown → live reroute

Published on January 10, 2026 By Aurélien LEQUOY
proxysql incident routing
Share X LinkedIn Facebook Email PDF
ProxySQL meltdown → live reroute

Initial situation

E-commerce client, Black Friday, 11 PM. The primary ProxySQL starts refusing connections. The static routing rules can't handle the traffic spike.

Symptoms:

  • max_connections reached on the writer
  • SELECT queries routed to the writer instead of readers
  • Response time > 5 seconds

The intervention

PmaControl's Alex agent detected the anomaly and generated a diagnostic in 8 seconds:

[ALEX] ProxySQL hostgroup 10 (writer): 98% connection usage
[ALEX] Recommendation: split reads to hostgroup 20 (3 readers available)
[ALEX] Suggested rule: ^SELECT.*FOR UPDATE → HG10, ^SELECT → HG20

The operator validated the suggestion. The rule was applied in 30 seconds through the PmaControl interface, without restarting ProxySQL.

Result

  • Response time: 5.2s → 180ms
  • Writer connections: 98% → 34%
  • Zero downtime

Takeaway

ProxySQL routing rules must be dynamic. A traffic spike doesn't give notice, and static rules become a single point of failure.

PmaControl + the Alex agent enable real-time diagnosis and correction, without waiting for escalation.

Share X LinkedIn Facebook Email PDF
← Back to blog

Comments (0)

No comments yet.

Leave a comment

PmaControl
+33 6 63 28 27 47 contact@pmacontrol.com
Legal notice GitHub Contact
Do not wait for an incident to understand your architecture. © 2014-2026 PmaControl — 68Koncept