Open kqkdChen opened 3 years ago
the cli buffers results using a background thread so it doesn't wait for existing "page" of results to be processed before downloading the next page.
actually nevermind. JDBC does have the bufferring too.
I also found that jdbc is much slower than cli. Is there any solution?
Why is the query performance of trino jdbc driver not as good as trino cli? The same SQL statement to query mysql:
trino cli: 150ms
,jdbc driver: takes about 400ms
performance is more than twice as badI can make sure that there is no problem with my jdbc configuration, and the connection pool is not the key to affecting performance. Then the problem can only be caused by the execution of EXECUTE statement5 by trino. Can you provide your performance test results? I want to know the jdbc driver Why is it so slow?
Please note that both jdbc and cli are local, and there is no influence of network io trino version: 358 jdbc version: 358 datasource-pool: druid-1.1.23