Main Runtime
Overview
ProxySQL's Admin interface exposes configuration and runtime tables accessible via MySQL protocol. There are 62 configuration and runtime tables across MySQL, PostgreSQL, and system categories.
Configuration Layers
Every configuration item exists in three layers:
| Layer | Table Prefix | Description |
|---|---|---|
| Memory | (no prefix) | In-memory working copy — edit here |
| Runtime | runtime_ | Active configuration used by worker threads |
| Disk | disk. | Persisted to SQLite (proxysql.db) |
Key Table Categories
Server Management
mysql_servers/pgsql_servers— Backend database servers organised into hostgroupsmysql_replication_hostgroups— Read/write split based onread_onlymysql_group_replication_hostgroups— Group Replication topologymysql_galera_hostgroups— Galera Cluster topologymysql_hostgroup_attributes/pgsql_hostgroup_attributes— Per-hostgroup settings
User Authentication
mysql_users/pgsql_users— Frontend/backend credentials, default hostgroup, SSL requirements, connection limits
Query Routing
mysql_query_rules/pgsql_query_rules— Pattern matching, rewriting, caching, routing, and load balancingmysql_query_rules_fast_routing/pgsql_query_rules_fast_routing— Optimised routing by username, schema, and flags
Other Tables
scheduler— Automated task executionglobal_variables— Key-value configuration storemysql_collations— Character set and collation referenceproxysql_servers— ProxySQL cluster node definitionsrestapi_routes— REST API endpoint configuration