mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-29 11:02:08 +00:00
Merge pull request #30653 from kitaisreal/dictionaries-read-multiple-threads
HashedDictionaries added read performance tests
This commit is contained in:
commit
a4dfbba3c7
@ -103,6 +103,11 @@
|
|||||||
FORMAT Null;
|
FORMAT Null;
|
||||||
</query>
|
</query>
|
||||||
|
|
||||||
|
<query>
|
||||||
|
SELECT * FROM simple_key_hashed_array_dictionary
|
||||||
|
FORMAT Null;
|
||||||
|
</query>
|
||||||
|
|
||||||
<query>
|
<query>
|
||||||
WITH (rand64() % toUInt64({elements_count}), toString(rand64() % toUInt64({elements_count}))) as key
|
WITH (rand64() % toUInt64({elements_count}), toString(rand64() % toUInt64({elements_count}))) as key
|
||||||
SELECT dictGet('default.complex_key_hashed_array_dictionary', {column_name}, key)
|
SELECT dictGet('default.complex_key_hashed_array_dictionary', {column_name}, key)
|
||||||
@ -119,6 +124,11 @@
|
|||||||
FORMAT Null;
|
FORMAT Null;
|
||||||
</query>
|
</query>
|
||||||
|
|
||||||
|
<query>
|
||||||
|
SELECT * FROM complex_key_hashed_array_dictionary
|
||||||
|
FORMAT Null;
|
||||||
|
</query>
|
||||||
|
|
||||||
<drop_query>DROP TABLE IF EXISTS simple_key_hashed_array_dictionary_source_table;</drop_query>
|
<drop_query>DROP TABLE IF EXISTS simple_key_hashed_array_dictionary_source_table;</drop_query>
|
||||||
<drop_query>DROP TABLE IF EXISTS complex_key_hashed_array_dictionary_source_table;</drop_query>
|
<drop_query>DROP TABLE IF EXISTS complex_key_hashed_array_dictionary_source_table;</drop_query>
|
||||||
|
|
||||||
|
@ -103,6 +103,11 @@
|
|||||||
FORMAT Null;
|
FORMAT Null;
|
||||||
</query>
|
</query>
|
||||||
|
|
||||||
|
<query>
|
||||||
|
SELECT * FROM simple_key_hashed_dictionary
|
||||||
|
FORMAT Null;
|
||||||
|
</query>
|
||||||
|
|
||||||
<query>
|
<query>
|
||||||
WITH (rand64() % toUInt64({elements_count}), toString(rand64() % toUInt64({elements_count}))) as key
|
WITH (rand64() % toUInt64({elements_count}), toString(rand64() % toUInt64({elements_count}))) as key
|
||||||
SELECT dictGet('default.complex_key_hashed_dictionary', {column_name}, key)
|
SELECT dictGet('default.complex_key_hashed_dictionary', {column_name}, key)
|
||||||
@ -119,6 +124,11 @@
|
|||||||
FORMAT Null;
|
FORMAT Null;
|
||||||
</query>
|
</query>
|
||||||
|
|
||||||
|
<query>
|
||||||
|
SELECT * FROM complex_key_hashed_dictionary
|
||||||
|
FORMAT Null;
|
||||||
|
</query>
|
||||||
|
|
||||||
<drop_query>DROP TABLE IF EXISTS simple_key_hashed_dictionary_source_table;</drop_query>
|
<drop_query>DROP TABLE IF EXISTS simple_key_hashed_dictionary_source_table;</drop_query>
|
||||||
<drop_query>DROP TABLE IF EXISTS complex_key_hashed_dictionary_source_table;</drop_query>
|
<drop_query>DROP TABLE IF EXISTS complex_key_hashed_dictionary_source_table;</drop_query>
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user