diff --git a/tests/performance/rocksdb.xml b/tests/performance/rocksdb.xml new file mode 100644 index 00000000000..e0867eece65 --- /dev/null +++ b/tests/performance/rocksdb.xml @@ -0,0 +1,18 @@ + + + + hits_100m_single + + + + 30000000000 + + + CREATE TABLE ma_kv (key String, value AggregateFunction(groupBitmap, UInt64)) EmbeddedRocksdb primary key(key) + + INSERT INTO ma_kv SELECT concat('CodeVersion=', CodeVersion) as key, bitmapBuild(groupArray(UserID)) AS value FROM hits_100m_single GROUP BY key + + SELECT groupBitmapOr(value) FROM ma_kv WHERE key IN ('CodeVersion=1657', 'CodeVersion=1', 'CodeVersion=275') + + DROP TABLE IF EXISTS ma_kv +