1
SELECT sum(x)
FROM
(
SELECT sipHash64(sipHash64(sipHash64(number))) AS x
FROM remote('127.0.0.{{2,3,4,5}}', numbers(10000000))
)
SETTINGS max_threads = 2, max_distributed_connections = 2
select sum(length(URL)) from hits_10m_single settings max_threads=2, max_streams_to_max_threads_ratio=16, allow_asynchronous_read_from_io_pool_for_merge_tree=1
select sum(length(URL)) from hits_10m_single settings max_threads=2, max_streams_for_merge_tree_reading=32, allow_asynchronous_read_from_io_pool_for_merge_tree=1