mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-22 07:31:57 +00:00
feat: Add grace hash join perf tests
This commit is contained in:
parent
bb0e6fd835
commit
202a2fd709
21
tests/performance/grace_hash_join.xml
Normal file
21
tests/performance/grace_hash_join.xml
Normal file
@ -0,0 +1,21 @@
|
||||
<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>
|
||||
|
||||
<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}</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}</query>
|
||||
</test>
|
Loading…
Reference in New Issue
Block a user