mirror of
https://github.com/hanzoai/datastore.git
synced 2026-09-26 13:55:07 +00:00
63 lines
2.7 KiB
XML
63 lines
2.7 KiB
XML
<!-- https://clickhouse.com/docs/getting-started/example-datasets/tpch -->
|
|
<!-- Scale factor: 10 -->
|
|
<test>
|
|
|
|
<settings file="../benchmarks/tpc-h/settings.json"/>
|
|
<settings>
|
|
<max_bytes_ratio_before_external_join>0</max_bytes_ratio_before_external_join>
|
|
<join_algorithm>partial_merge</join_algorithm>
|
|
<max_rows_in_join>100000000000000</max_rows_in_join>
|
|
<max_bytes_in_join>100000000000000</max_bytes_in_join>
|
|
</settings>
|
|
|
|
<substitutions>
|
|
<substitution>
|
|
<name>database</name>
|
|
<values>
|
|
<value>tpch10</value>
|
|
</values>
|
|
</substitution>
|
|
<substitution>
|
|
<name>table</name>
|
|
<values>
|
|
<value>nation</value>
|
|
<value>region</value>
|
|
<value>part</value>
|
|
<value>supplier</value>
|
|
<value>partsupp</value>
|
|
<value>customer</value>
|
|
<value>orders</value>
|
|
<value>lineitem</value>
|
|
</values>
|
|
</substitution>
|
|
</substitutions>
|
|
|
|
<fill_query>USE {database}</fill_query>
|
|
<fill_query>OPTIMIZE TABLE {table} FINAL</fill_query>
|
|
<fill_query>ALTER TABLE {table} MATERIALIZE STATISTICS ALL SETTINGS mutations_sync=1</fill_query>
|
|
|
|
<!-- Q1 --> <query file="../benchmarks/tpc-h/queries/query_01.sql"/>
|
|
<!-- Q2 --> <query file="../benchmarks/tpc-h/queries/query_02.sql"/>
|
|
<!-- Q3 --> <query file="../benchmarks/tpc-h/queries/query_03.sql"/>
|
|
<!-- Q4 --> <query file="../benchmarks/tpc-h/queries/query_04.sql"/>
|
|
<!-- Q5 --> <query file="../benchmarks/tpc-h/queries/query_05.sql"/>
|
|
<!-- Q6 --> <query file="../benchmarks/tpc-h/queries/query_06.sql"/>
|
|
<!-- Q7 --> <query file="../benchmarks/tpc-h/queries/query_07.sql"/>
|
|
<!-- Q8 --> <query file="../benchmarks/tpc-h/queries/query_08.sql"/>
|
|
<!-- Q9 --> <query file="../benchmarks/tpc-h/queries/query_09.sql"/>
|
|
<!-- Q10 --> <query file="../benchmarks/tpc-h/queries/query_10.sql"/>
|
|
<!-- Q11 --> <query file="../benchmarks/tpc-h/queries/query_11_sf10.sql"/>
|
|
<!-- Q12 --> <query file="../benchmarks/tpc-h/queries/query_12.sql"/>
|
|
<!-- Q13 --> <query file="../benchmarks/tpc-h/queries/query_13.sql"/>
|
|
<!-- Q14 --> <query file="../benchmarks/tpc-h/queries/query_14.sql"/>
|
|
<!-- Q15 --> <query file="../benchmarks/tpc-h/queries/query_15.sql"/>
|
|
<!-- Q16 --> <query file="../benchmarks/tpc-h/queries/query_16.sql"/>
|
|
<!-- Q17 --> <query file="../benchmarks/tpc-h/queries/query_17.sql"/>
|
|
<!-- Q18 --> <query file="../benchmarks/tpc-h/queries/query_18.sql"/>
|
|
<!-- Q19 --> <query file="../benchmarks/tpc-h/queries/query_19.sql"/>
|
|
<!-- Q20 --> <query file="../benchmarks/tpc-h/queries/query_20.sql"/>
|
|
<!-- Q21 --> <query file="../benchmarks/tpc-h/queries/query_21.sql"/>
|
|
<!-- Q22 --> <query file="../benchmarks/tpc-h/queries/query_22.sql"/>
|
|
|
|
</test>
|