You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
we have a batch application that runs for several hours and is very read heavy. we used to get good mileage out of the query cache on mysql 5.7 but when they removed that feature we saw that the documentation suggested proxysql. i've configured proxysql to run as a sidecar container in the pod next to the batch process. essentially i want all my reads going through proxysql and to be cached for a very long time. my writes i will probably just send to the mysql host
all my reads are being routed through proxysql as expected but nothing is being cached
mysql> SELECT hostgroup, COUNT(*) AS query_count FROM stats_mysql_query_digest GROUP BY hostgroup;
+-----------+-------------+
| hostgroup | query_count |
+-----------+-------------+
| 0 | 90 |
+-----------+-------------+
1 row in set (0.01 sec)
i understand that proxysql is able to work with prepared statements and i can see that there are entries in the stats_mysql_prepared_statements_info table
mysql> SELECT count(*) FROM stats_mysql_prepared_statements_info;
+----------+
| count(*) |
+----------+
| 842 |
+----------+
1 row in set (0.01 sec)
i'm wondering if i've perhaps misconfigured something and would be grateful for any help or advice
The text was updated successfully, but these errors were encountered:
hello,
we have a batch application that runs for several hours and is very read heavy. we used to get good mileage out of the query cache on mysql 5.7 but when they removed that feature we saw that the documentation suggested proxysql. i've configured proxysql to run as a sidecar container in the pod next to the batch process. essentially i want all my reads going through proxysql and to be cached for a very long time. my writes i will probably just send to the mysql host
please see my configuration below
all my reads are being routed through proxysql as expected but nothing is being cached
i understand that proxysql is able to work with prepared statements and i can see that there are entries in the
stats_mysql_prepared_statements_info
tablei'm wondering if i've perhaps misconfigured something and would be grateful for any help or advice
The text was updated successfully, but these errors were encountered: