ClickHouse/tests/performance/memory_bound_merging.xml

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

18 lines
800 B
XML
Raw Normal View History

<test>
<settings>
<enable_memory_bound_merging_of_aggregation_results>1</enable_memory_bound_merging_of_aggregation_results>
<optimize_aggregation_in_order>1</optimize_aggregation_in_order>
</settings>
<create_query>create table t_mbm(a UInt64) engine=MergeTree order by a</create_query>
<fill_query>insert into t_mbm select * from numbers_mt(5e6)</fill_query>
<fill_query>optimize table t_mbm final</fill_query>
<query>select avg(a) from remote('127.0.0.{{1,2}}', default, t_mbm) group by a format Null</query>
<query>select * from remote('127.0.0.{{1,2}}', default, t_mbm) group by a format Null settings allow_experimental_parallel_reading_from_replicas = 1, max_parallel_replicas = 2, use_hedged_requests = 0</query>
<drop_query>drop table t_mbm</drop_query>
</test>