ProxySQL is high performance SQL Proxy which mainly used for Load balancing. ProxySQL 2.0 has become GA and with new exiting features like consistent reads using GTID, Galera and MySQL group replication native support and more bug fixes.
Some notable features are below,
For example,
In older version, ProxySQL runs as root user.
In 2.0 version, ProxySQL runs as proxysql user.
Replication hostgroups:
In mysql_replication_hostgroups table a new field added with the name of check_type, which accepts read_only,innodb_read_only and super_read_only.
GTID:
A new table introduced in stats DB to maintain the GTID statistics.
We need to enable the “session_track_gtids” in MySQL end to track the GTID details. If it is enabled, then ProxySQL can track the GTID of the client requests. For this ProxySQL uses a process named “ProxySQL Binlog Reader”.
In ProxySQL we have below variable to specify how often the binlog reader to reconnect.
Below are the requirements to enable this feature,
Stats tables:
Example:
General changes:
This blog is very helpful to me. Nice blog.
Miru IT Park, Vallankumaranvillai,
Nagercoil, Tamilnadu - 629 002.
Unit 303, Vanguard Rise,
5th Main, Konena Agrahara,
Old Airport Road, Bangalore - 560 017.
Call: +91 6383016411
Email: sales@mafiree.com