Merge pull request #30653 from kitaisreal/dictionaries-read-multiple-threads

HashedDictionaries added read performance tests
This commit is contained in:
Maksim Kita 2021-10-26 12:56:29 +03:00 committed by GitHub
commit a4dfbba3c7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 20 additions and 0 deletions

View File

@ -103,6 +103,11 @@
FORMAT Null;
</query>
<query>
SELECT * FROM simple_key_hashed_array_dictionary
FORMAT Null;
</query>
<query>
WITH (rand64() % toUInt64({elements_count}), toString(rand64() % toUInt64({elements_count}))) as key
SELECT dictGet('default.complex_key_hashed_array_dictionary', {column_name}, key)
@ -119,6 +124,11 @@
FORMAT Null;
</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 complex_key_hashed_array_dictionary_source_table;</drop_query>

View File

@ -103,6 +103,11 @@
FORMAT Null;
</query>
<query>
SELECT * FROM simple_key_hashed_dictionary
FORMAT Null;
</query>
<query>
WITH (rand64() % toUInt64({elements_count}), toString(rand64() % toUInt64({elements_count}))) as key
SELECT dictGet('default.complex_key_hashed_dictionary', {column_name}, key)
@ -119,6 +124,11 @@
FORMAT Null;
</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 complex_key_hashed_dictionary_source_table;</drop_query>