10 KiB
ProxySQL Documentation Index
⚠️ Important Notice: This documentation was generated by AI and may contain inaccuracies. It should be used as a starting point for exploration only. Always verify critical information against the actual source code.
Last AI Update: 2025-09-11 Status: NON-VERIFIED Maintainer: Rene Cannao
Table of Contents
- Root Documentation
- Architecture Documentation
- Internal Documentation
- ProxySQL Cluster Documentation
- Release Notes
- Additional Resources
Root Documentation
Core Documentation Files
README.md(11.8 KB) - Main project overview, features, and quick start guideINSTALL.md(4.0 KB) - Detailed installation instructions for various platformsFAQ.md(8.3 KB) - Frequently asked questions and troubleshootingRUNNING.md(3.5 KB) - Runtime configuration and operational guidanceCHANGELOG.md- Version history and change trackingCLAUDE.md(5.4 KB) - Claude Code integration and agent usage guide
Configuration Examples
proxysql-tests.ini.example- Test configuration templatedocker-compose.yml(9.2 KB) - Docker orchestration configuration
Architecture Documentation
Location: https://github.com/sysown/proxysql/tree/v3.0.agentics/doc/architecture/
Architecture Guides
-
ARCHITECTURE-OVERVIEW.md- Architectural analysis- Threading model and concurrency patterns
- Protocol implementation details (MySQL/PostgreSQL)
- Memory management strategies
- Connection pooling architecture
- Query processing pipeline
-
PROJECT-LAYOUT.md- Physical codebase organization- Directory structure mapping
- Module boundaries and dependencies
- Build system overview
- Testing infrastructure layout
-
VISUAL-GUIDE.md- Visual architecture representations- System diagrams and flowcharts
- Class hierarchy diagrams
- ERD for SQLite3 schema
- Protocol sequence diagrams
- Deployment topology patterns
Internal Documentation
Location: https://github.com/sysown/proxysql/tree/v3.0.agentics/doc/internal/
MySQL Protocol Implementation
MySQL_Connection.md(8.9 KB) - MySQL connection handling internalsMySQL_Data_Stream.md(8.5 KB) - MySQL data stream processingMySQL_HostGroups_Manager.md(30.1 KB) - Hostgroup managementMySQL_Prepared_Statements.md(11.6 KB) - Prepared statement implementationMySQL_Query_Cache.md(5.9 KB) - Query caching mechanismsMySQL_Query_Rules_Evaluation.md(10.6 KB) - Rule processing logicMySQL_Query_Rules_Fast_Routing.md(6.8 KB) - Fast routing optimizationMySQL_Session.md(10.5 KB) - Session lifecycle managementMySQL_Thread.md(12.5 KB) - MySQL thread pool architecture
PostgreSQL Protocol Implementation
PgSQL_Connection.md(7.8 KB) - PostgreSQL connection handlingPgSQL_Data_Stream.md(6.2 KB) - PostgreSQL data stream processingPgSQL_HostGroups_Manager.md(18.4 KB) - PostgreSQL hostgroup managementPgSQL_Protocol.md(14.3 KB) - PostgreSQL wire protocol detailsPgSQL_Session.md(8.7 KB) - PostgreSQL session managementPgSQL_Thread.md(9.1 KB) - PostgreSQL thread implementation
Core Infrastructure
ProxySQL_Admin.md(22.7 KB) - Admin interface implementationProxySQL_Admin_Interface.md(15.3 KB) - Admin API specificationProxySQL_Configuration.md(12.8 KB) - Configuration system detailsProxySQL_Global.md(9.4 KB) - Global state managementProxySQL_Statistics.md(11.2 KB) - Statistics collection framework
Connection Pooling & Management
Connection_Pool.md(13.6 KB) - Connection pool architectureConnection_Multiplexing.md(8.9 KB) - Multiplexing strategiesConnection_Errors_Handling.md(7.4 KB) - Error recovery mechanisms
Query Processing
Query_Processor.md(16.5 KB) - Query processing pipelineQuery_Cache_Implementation.md(10.3 KB) - Cache implementation detailsQuery_Routing_Logic.md(12.1 KB) - Routing decision algorithms
Monitoring & Health Checks
Monitor_Module.md(14.8 KB) - Monitoring frameworkHealth_Check_Implementation.md(9.6 KB) - Health check mechanismsReplication_Lag_Detection.md(7.8 KB) - Lag detection algorithms
Memory Management
Memory_Management.md(11.4 KB) - Memory allocation strategiesjemalloc_Integration.md(6.7 KB) - jemalloc usage patterns
Threading & Concurrency
Threading_Model.md(13.9 KB) - Thread architectureLock_Hierarchy.md(8.2 KB) - Locking strategiesEvent_Loop_Integration.md(7.5 KB) - libev integration
ProxySQL Cluster Documentation
Location: https://github.com/sysown/proxysql/tree/v3.0.agentics/doc/proxysql_cluster/
Cluster Configuration & Management
ProxySQL_Cluster_Architecture.md(18.7 KB) - Cluster design principlesCluster_Configuration_Guide.md(14.3 KB) - Step-by-step cluster setupCluster_Synchronization.md(11.8 KB) - Config sync mechanismsCluster_Monitoring.md(9.4 KB) - Cluster health monitoringCluster_Failover_Strategies.md(12.6 KB) - HA and failover patterns
Cluster Tables & API
proxysql_servers_table.md(7.2 KB) - Cluster member configurationruntime_checksums.md(8.5 KB) - Configuration checksumscluster_mysql_query_rules.md(6.9 KB) - Query rule synchronizationcluster_mysql_servers.md(7.8 KB) - Server config synccluster_mysql_users.md(6.4 KB) - User sync across cluster
Release Notes
Location: https://github.com/sysown/proxysql/tree/v3.0.agentics/doc/release_notes/
Version History
ProxySQL_v3.0.0.md- Latest major release notesProxySQL_v2.7.x.md- Current stable branch notesProxySQL_v2.6.x.md- Previous stable releaseProxySQL_v2.5.x.md- Historical release notesMigration_Guides/- Version migration guidesv2_to_v3_migration.mdv1_to_v2_migration.md
Feature Documentation
New_Features_v3.0.md- v3.0 feature descriptionsBreaking_Changes.md- API/config breaking changesDeprecation_Notices.md- Deprecated features
Additional Resources
Testing Documentation
Location: https://github.com/sysown/proxysql/tree/v3.0.agentics/test/
test/README.md- Test framework overviewtest/tap/README.md- TAP test documentationtest/cluster/README.md- Cluster testing guide
Docker Documentation
Location: https://github.com/sysown/proxysql/tree/v3.0.agentics/docker/
docker/README.md- Docker deployment guidedocker/scenarios/README.md- Test scenario documentation
Dependency Documentation
Location: https://github.com/sysown/proxysql/tree/v3.0.agentics/deps/
Notable dependency docs:
deps/mariadb-client-library/README.md- MariaDB connectordeps/postgresql/README.md- PostgreSQL client librarydeps/prometheus-cpp/README.md- Metrics integrationdeps/libev/README- Event loop documentation
Script Documentation
Location: https://github.com/sysown/proxysql/tree/v3.0.agentics/scripts/
scripts/README.md- Utility scripts overviewscripts/admin/README.md- Admin automation scripts
Documentation Categories Summary
By Purpose
- Installation & Setup: INSTALL.md, docker/README.md
- Configuration: RUNNING.md, ProxySQL_Configuration.md, examples
- Architecture: architecture/.md, internal/.md
- Operations: FAQ.md, Monitor_Module.md, Statistics
- Development: CLAUDE.md, test/README.md, internal docs
- Clustering: proxysql_cluster/*.md
- Migration: release_notes/Migration_Guides/
By Audience
- Users/Operators: README, INSTALL, RUNNING, FAQ
- Administrators: Admin docs, Cluster docs, Monitor docs
- Developers: Internal docs, Architecture guides, CLAUDE.md
- DevOps: Docker docs, Scripts, Deployment patterns
By Protocol
- MySQL-specific: MySQL_*.md files (15+ documents)
- PostgreSQL-specific: PgSQL_*.md files (10+ documents)
- Protocol-agnostic: Base_.md, ProxySQL_.md files
Key Documentation Insights
Largest Documents
- MySQL_HostGroups_Manager.md (30.1 KB) - Hostgroup management
- ProxySQL_Admin.md (22.7 KB) - Admin interface guide
- ProxySQL_Cluster_Architecture.md (18.7 KB) - Cluster design
- Query_Processor.md (16.5 KB) - Query processing
- ProxySQL_Admin_Interface.md (15.3 KB) - Admin API reference
Implementation Topics
- Connection pooling strategies and optimizations
- Query routing algorithms and rule evaluation
- Memory management with jemalloc
- Thread synchronization and lock hierarchy
- Protocol-specific handling (MySQL vs PostgreSQL)
- Cluster synchronization mechanisms
- Statistics collection and monitoring
Documentation Gaps Identified
- Limited SSL/TLS configuration examples
- Sparse Kubernetes deployment guides
- Missing performance tuning cookbook
- Incomplete troubleshooting scenarios
- Limited integration examples with monitoring systems
Quick Reference Paths
# Main documentation
https://github.com/sysown/proxysql/tree/v3.0.agentics/README.md
https://github.com/sysown/proxysql/tree/v3.0.agentics/doc/
# Architecture docs
https://github.com/sysown/proxysql/tree/v3.0.agentics/doc/architecture/
# Internal implementation
https://github.com/sysown/proxysql/tree/v3.0.agentics/doc/internal/
# Cluster documentation
https://github.com/sysown/proxysql/tree/v3.0.agentics/doc/proxysql_cluster/
# Release information
https://github.com/sysown/proxysql/tree/v3.0.agentics/doc/release_notes/
# Test documentation
https://github.com/sysown/proxysql/tree/v3.0.agentics/test/tap/tests/README.md
# Docker guides
https://github.com/sysown/proxysql/tree/v3.0.agentics/docker/README.md
Based on ProxySQL v3.0 branch Documentation Files: 300+ Documentation Size: ~2.5 MB