ProxySQL Blog
proxysql.com · Company blog · on HN since 2016
The ProxySQL team writes about its MySQL and PostgreSQL proxy, covering scaling, query caching, ClickHouse integration, and comparisons with other proxies.
What HN saysHN commenters call ProxySQL powerful and battle-tested, widely used at scale, and one reports years without downtime.
15HN people shared it
7linked it in comments
9stories submitted
41story points
4 months agolast shared
2016people per year2026
Most-shared posts
- 1ProxySQL8 people · 6 points · first shared 2016 · discussion on HN
- 2Scaling MySQL with ProxySQL1 people · 19 points · first shared 2018 · 7 comments on HN
- 3ProxySQL integrates ClickHouse with MySQL protocol1 people · 10 points · first shared 2017 · discussion on HN
- 4ProxySQL Now Supports PostgreSQL1 people · 2 points · first shared 2024 · discussion on HN
- 5ProxySQL vs. MaxScale: Persistent Connection, response time, and bugs1 people · 2 points · first shared 2016 · discussion on HN
- 6The future of Orchestrator: ProxySQL takes takes the helm1 people · 1 points · first shared 2026 · discussion on HN
- 7Scaling with ProxySQL Query Cache1 people · 1 points · first shared 2017 · discussion on HN
- 8Proxysql gtid causal reads1 people · first shared 2022
- 9Mysql prepared statements pooling and caching1 people · first shared 2026
- 10Clickhouse and proxysql queries rewrite1 people · first shared 2020
- 11Multiplexing1 people · first shared 2026
What HN people wrote when they linked it
evanelias · 2026-02-05
Also check out ProxySQL [1][2], it's an extremely powerful and battle-tested proxy. Originally it was only for MySQL/MariaDB, where it is very widely used at scale, even despite MySQL already having excellent built-in scalable threaded connection management. But ProxySQL also added Postgres support too in 2024 and that has become a major focus.
[1] https://proxysql.com/
[2] https://github.com/sysown/proxysql
antoncohen · 2017-12-06
I don't think the claim of MySQL replication being better is related to statement vs. row vs. binary diff. I think it is about the tooling and community knowledge about replication, and about running MySQL in large scale production environments in general.
MySQL is run more often at extremely large scale (Facebook, YouTube, Twitter, Dropbox, etc.) than Postgres. That results in very battle tested and/or featureful tooling like orchestrator (https://github.com/github/orchestrator), MHA (https://github.com/yoshinorim/mha4mysql-manager), ProxySQL (http://www.proxysql.com/), and gh-ost (https://github.com/github/gh-ost), along knowledge and best practices shared by those organization.
anonzzzies · 2024-12-08
We use proxysql (https://proxysql.com) which works very well. We have not seen any downtime for years. We wrote our own master promotion code a very long time ago; it has proven to be very robust.
PeterZaitsev · 2020-02-03
There has been ClickHouse MySQL Access through ProxySQL for years. It is great it is now available out of the box! https://www.proxysql.com/blog/clickhouse-and-proxysql-queries-rewrite
zzzeek · 2018-10-15
note that while the MySQL connection-pool equation is pretty different from that of Postgresql's, at least in my experience MySQL connections use less memory (sorry, no measurements handy, feel free to correct me, but they generally are handled as a thread rather than an entire subprocess and we regularly see apps that spin up thousands of them fairly cheaply) and also have a lower startup time (also anecdotal, sorry), the MySQL world does finally have middleware connection pools now such as proxysql: https://proxysql.com/
buchanmilne · 2021-07-23
> replication options like multi-source
MySQL 5.7 supports multi-source replication:
https://dev.mysql.com/doc/refman/5.7/en/replication-channels.html
> spider for sharding and galera are all built in and actively maintained.
Galera is available in MySQL-compatible binaries from Percona (Percona-XtraDB-Cluster): https://www.percona.com/software/mysql-database/percona-xtradb-cluster
MySQL also has their own Paxos-compliant clustering solution (called "Innodb cluster"), first available in 5.7, but much better in 8.0:
https://dev.mysql.com/doc/refman/5.7/en/mysql-innodb-cluster-introduct…
I played with Spider in MariaDB 10.3, and it didn't satisfy the requirements we had, and it doesn't seem to have progressed significantly since then.
Yes, it's neat that MariaDB merged it and is keeping it working, but there don't seem to be many use cases where it ends up being significantly better than e.g. multi-source replication (the use cases where you're going to run out of disk, in most cases spider's un-implemented push-down join etc. make it too slow to be practical either).
> Online schema changes,
https://dev.mysql.com/doc/refman/8.0/en/innodb-online-ddl-operations.h…
(including "instant column add")
> easy horizontal scale (huge numbers that make db2 and oracle sweat), s3 backed tables, non blocking backups,
MySQL has had "MySQL Enterprise Backup" for a long time. Percona wrote a similar implementation (XtraBackup), which works for MySQL, Percona, and MariaDB.…
darkwater · 2026-07-08
> 3. Use a bouncer which can either disallow these changes or detect and revert them after the original client has disconnected. I'm not sure if this exists for MySQL at least.
I believe ProxySQL does exactly that:
* https://proxysql.com/documentation/mysql-prepared-statements-pooling-a…
* https://proxysql.com/documentation/multiplexing/