Hostgroups and monitoring
Define writers, readers, backups, weights, limits, connect and ping checks, read-only detection, lag thresholds, and shun behavior for the topology.
Free Database Audit: Get a comprehensive health report for your database - no obligation, NDA protected
Learn MoreSchedule AuditIn short: ProxySQL is a programmable proxy for MySQL and MariaDB traffic. JusDB DBRE services design hostgroups, health checks, ordered query rules, connection pools, multiplexing, security, statistics, configuration persistence, and proxy availability while testing transaction state, replica lag, read-after-write behavior, driver compatibility, and rollback before routing production queries.
ProxySQL can centralize useful traffic controls, but a proxy rule can also change database correctness or amplify an incident. JusDB combines traditional MySQL DBA knowledge with DBRE testing, observability, failure analysis, and change control. Performance, savings, routing, and failover outcomes are measured in the actual environment.
Fit and boundaries
Define writers, readers, backups, weights, limits, connect and ping checks, read-only detection, lag thresholds, and shun behavior for the topology.
Use ordered digest or query matches for explicit routing, logging, caching, rewriting, mirroring, or blocking with test cases and ownership.
Measure frontend and backend pools, session-state constraints, prepared statements, transactions, temporary tables, wait time, and connection churn.
Control the memory, runtime, and disk configuration layers; define review, LOAD, SAVE, drift detection, backup, and rollback procedures.
Review users, passwords, TLS, administrative access, logging, firewall rules, secret distribution, least privilege, and audit requirements.
Separate configuration synchronization from endpoint availability, backend failover, consistency, capacity during failure, and application retry behavior.
Inventory drivers, transactions, session features, query digests, topology, replication behavior, connections, latency, errors, and objectives.
Replay representative traffic, validate routing and consistency, measure multiplexing, inject backend and proxy failures, and rehearse rollback.
Roll out reviewed configuration gradually, monitor query and pool signals, preserve a bypass path, and hand off runbooks and ownership.
The proxy is part of the database failure path. Configuration is reviewed together with drivers, application state, database topology, health signals, rollback, and operator access.
ProxySQL sits between applications and MySQL or MariaDB backends. It maintains hostgroups and connection pools, monitors backend state, records query digests, and applies ordered query rules for routing, caching, rewriting, mirroring, logging, or blocking. The safe feature set depends on transactions, session state, consistency requirements, drivers, and topology.
No. Multiplexing lets frontend sessions reuse backend connections only while those sessions are safe to share. Active transactions, locks, temporary tables, user variables, some prepared-statement behavior, and other session state can disable multiplexing. JusDB measures actual multiplexing status and pool use instead of applying a fixed client-to-backend reduction claim.
Read/write splitting requires application and consistency analysis. Query rules, transaction state, temporary tables, locking reads, stored routines, session variables, replica lag, and read-after-write expectations can invalidate a broad SELECT-to-replica rule. We classify query digests, protect transactions, define lag behavior, and test correctness before enabling production routing.
ProxySQL Cluster synchronizes selected configuration across ProxySQL peers; it does not by itself provide an application endpoint, traffic failover, or identical runtime state. Multiple proxy instances still need independent health checks, load balancing or endpoint failover, capacity, configuration safeguards, and failure testing. Database failover behavior must also be integrated with the actual MySQL topology.
The administration interface exposes runtime and statistics tables for backends, connection pools, query digests, process lists, errors, and monitor checks. JusDB defines signals for reachability, read-only state, replication lag, shunning, pool saturation, client wait, query latency, errors, configuration drift, and proxy health, then maps alerts to tested operator actions.
Review scope: MySQL and MariaDB hostgroups, monitoring, query rules, connection pooling and multiplexing, session-state constraints, configuration persistence, security, observability, and proxy availability. Recommendations and outcomes remain specific to the exact tool and database versions, drivers, workload, topology, infrastructure, and engagement scope.
Technically reviewed by the JusDB Database Reliability Engineering team. Last reviewed: . See the team and roles.
Official documentation index for configuration, administration, query handling, security, and monitoring.
Primary overview of hostgroups, backend pools, query processing, digests, and configuration layers.
Official constraints for transactions, session state, prepared statements, temporary tables, and connection reuse.