-
Notifications
You must be signed in to change notification settings - Fork 977
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Disable/enable multiplexing from mysql_query_rules #594
Comments
FYI, 1.3.4 does not have |
This feature is available in 1.4 |
Hi, @renecannao This could avoid costs when two more quries lined up in one connection and have to take&give back connection too much times.Also less custom user/session variables to swith over. It's comprimised between multiplexing and non-multiplexing, just add an variable like It's helpfull to Java application that generally have its own connection pool framework. |
@seanlook : I was thinking about this functionality about a month ago, inspired by |
Created issue #999 |
@renecannao I'm curious about this setting. If we setup a query rule for inserts/updates/deletes to disable multiplexing on a connection, do we have to also explicitly turn it back on at the end of the session? Our app uses long lived connections from the app server's connection pool so the connections might not be explicitly closed. |
This is implemented. Closing |
In
mysql_query_rules
we need to add a new variable that defines if multiplexing needs to be disabled or re-enabled.This can be useful if:
@
is used)The text was updated successfully, but these errors were encountered: