4
20G
1
2000000000
10G
engine
Memory
MergeTree ORDER BY tuple()
type
Float32
Float32 NULL
CREATE TABLE `zz_{type}_{engine}` (x {type}) ENGINE {engine}
INSERT INTO `zz_{type}_{engine}` SELECT rand() FROM numbers(1000000000)
SELECT sum(x) FROM `zz_{type}_{engine}`
DROP TABLE IF EXISTS `zz_{type}_{engine}`