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_100m_single settings max_threads=8, max_streams_to_max_threads_ratio=4, allow_asynchronous_read_from_io_pool_for_merge_tree=1