ClickHouse/tests/performance/async_remote_read.xml
2022-11-24 12:35:02 +01:00

18 lines
742 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_100m_single settings max_threads=8, max_streams_to_max_threads_ratio=2, allow_asynchronous_read_from_io_pool_for_merge_tree=1</query>
</test>