4 ms·
In MySQL's new protobuf-based protocol you can express expressions as Protobuf messages https://dev.mysql.com/doc/internals/en/x-protocol-messages-messages.html
by johannes1234321 9y ago
In MySQL's new protobuf-based protocol you can express expressions as Protobuf messages https://dev.mysql.com/doc/internals/en/x-protocol-messages-messages.html#x-protocol-messages-crud https://dev.mysql.com/doc/internals/en/x-protocol-messages-m...
This isn't usable for all sorts of all statements as, among other things, it's hard to maintain a stable API for all aspects. But might be useful for common cases. If there's more you need I'd be interested in a feature request!
(I'm working in MySQL's clients team)
- foota 9y agoThat's awesome! Do you expect significant latency improvements to come from this?
- johannes1234321 9y agoThere shouldn't be much of a difference in performance, there are some areas on the server we can improve in the longer run and hope is that clients can write requests more efficiently ... in a typical situation the parsing of the query hopefully isn't the bottleneck, but the actual execution or processing of the result in the application ;-)