Closed
Description
When resetting a connection, a "Reset Connection" packet is sent, then SET NAMES utf8mb4;
to fix the collation (which is not reset properly). For most MySQL Servers, those two packets could be pipelined, which would halve the latency of resetting a connection.
This was previously done as #483 but reverted for #486 because it's not compatible with Aurora.
Consider adding a new connection string option that enables pipelining.
- Should it be enabled by default, with opt-out for Aurora?
- Or should it be optional, for users who want higher performance?
- Can we detect Aurora and automatically opt out?