ClickHouse/tests/performance/grace_hash_join.xml

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

22 lines
1.0 KiB
XML
Raw Permalink Normal View History

2022-06-23 05:44:26 +00:00
<test>
<settings>
<max_threads>16</max_threads>
<max_memory_usage>10G</max_memory_usage>
</settings>
<substitutions>
<substitution>
<name>settings</name>
<values>
<value>join_algorithm='hash'</value>
<value>join_algorithm='parallel_hash'</value>
<value>join_algorithm='partial_merge', max_bytes_in_join='1G'</value>
<value>join_algorithm='grace_hash', max_bytes_in_join='100M'</value>
</values>
</substitution>
</substitutions>
2022-11-25 12:04:12 +00:00
<query short='numbers'>SELECT sum(n) FROM (SELECT number * 2 AS n FROM numbers_mt(10000000)) AS lhs JOIN (SELECT number * 3 AS n FROM numbers_mt(10000000)) AS rhs USING (n) SETTINGS {settings} FORMAT Null</query>
<query short='numbers_hashed'>SELECT sum(n) FROM (SELECT intHash64(number * 2) AS n FROM numbers_mt(10000000)) AS lhs JOIN (SELECT intHash64(number * 3) AS n FROM numbers_mt(10000000)) AS rhs USING (n) SETTINGS {settings} FORMAT Null</query>
2022-06-23 05:44:26 +00:00
</test>