gianm commented on issue #12930: URL: https://github.com/apache/druid/issues/12930#issuecomment-1227915004
Unfortunately the protocol used by the JDBC driver is less efficient than the HTTP protocol. You can see what I mean if you follow it with wireshark. The regular HTTP protocol is simple request/response. The JDBC protocol involves a number of HTTP calls to perform a single query: one to prepare, one to execute, one to fetch results, etc. There was some work done recently by @paul-rogers in #12636 and #12845 to improve the efficiency of the planner, especially for the JDBC path, by reducing the number of planning passes. This may be helpful & it will be part of the next Druid release. I'm not sure if it will completely close the gap though. More work may be needed. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
