mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-21 23:21:59 +00:00
add rocksdb perf tests
This commit is contained in:
parent
fced1a0e28
commit
b9e663af25
18
tests/performance/rocksdb.xml
Normal file
18
tests/performance/rocksdb.xml
Normal file
@ -0,0 +1,18 @@
|
||||
<test max_ignored_relative_change="0.4">
|
||||
|
||||
<preconditions>
|
||||
<table_exists>hits_100m_single</table_exists>
|
||||
</preconditions>
|
||||
|
||||
<settings>
|
||||
<max_memory_usage>30000000000</max_memory_usage>
|
||||
</settings>
|
||||
|
||||
<create_query>CREATE TABLE ma_kv (key String, value AggregateFunction(groupBitmap, UInt64)) EmbeddedRocksdb primary key(key)</create_query>
|
||||
|
||||
<fill_query> INSERT INTO ma_kv SELECT concat('CodeVersion=', CodeVersion) as key, bitmapBuild(groupArray(UserID)) AS value FROM hits_100m_single GROUP BY key</fill_query>
|
||||
|
||||
<query>SELECT groupBitmapOr(value) FROM ma_kv WHERE key IN ('CodeVersion=1657', 'CodeVersion=1', 'CodeVersion=275')</query>
|
||||
|
||||
<drop_query>DROP TABLE IF EXISTS ma_kv</drop_query>
|
||||
</test>
|
Loading…
Reference in New Issue
Block a user