mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-06 07:32:27 +00:00
4f41ebcae3
Default settings are not very efficient, since they do not even reuse connections. And when each query requires connection you can have only ~80 QPS, while by simply enabling connection reuse (connection_auto_close=false) you can have ~500 QPS (and by increasing connection_pool_size you can have better QPS throughput). So this patch allows to pass through some connection related settings for the StorageMySQL engine, like: - connection_pool_size=16 - connection_max_tries=3 - connection_auto_close=true v2: remove connection_pool_default_size v3: remove num_tries_on_connection_loss |
||
---|---|---|
.. | ||
tests | ||
CMakeLists.txt | ||
Connection.cpp | ||
Connection.h | ||
Exception.cpp | ||
Exception.h | ||
mysqlxx.h | ||
Null.h | ||
Pool.cpp | ||
Pool.h | ||
PoolFactory.cpp | ||
PoolFactory.h | ||
PoolWithFailover.cpp | ||
PoolWithFailover.h | ||
Query.cpp | ||
Query.h | ||
ResultBase.cpp | ||
ResultBase.h | ||
Row.cpp | ||
Row.h | ||
Transaction.h | ||
Types.h | ||
UseQueryResult.cpp | ||
UseQueryResult.h | ||
Value.cpp | ||
Value.h |