mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-23 16:12:01 +00:00
19 lines
930 B
XML
19 lines
930 B
XML
<test>
|
|
<settings>
|
|
<async_socket_for_remote>1</async_socket_for_remote>
|
|
</settings>
|
|
<query>
|
|
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
|
|
</query>
|
|
|
|
<!--<query>select sum(length(URL)) from hits_100m_single settings max_threads=8, max_streams_to_max_threads_ratio=2, allow_asynchronous_read_from_io_pool_for_merge_tree=0</query>-->
|
|
<query>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</query>
|
|
<query>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</query>
|
|
</test>
|