system_numbers
once
4000
12000
SELECT count() FROM system.numbers WHERE NOT ignore(rand())
SELECT count() FROM system.numbers_mt WHERE NOT ignore(rand())
SELECT count() FROM system.numbers WHERE NOT ignore(intHash64(number))
SELECT count() FROM system.numbers_mt WHERE NOT ignore(intHash64(number))
SELECT count() FROM system.numbers WHERE NOT ignore(intHash32(number))
SELECT count() FROM system.numbers_mt WHERE NOT ignore(intHash32(number))
SELECT count() FROM system.numbers WHERE NOT ignore(toString(number))
SELECT count() FROM system.numbers_mt WHERE NOT ignore(toString(number))
SELECT count() FROM system.numbers WHERE NOT ignore(reinterpretAsString(number))
SELECT count() FROM system.numbers_mt WHERE NOT ignore(reinterpretAsString(number))
SELECT count() FROM system.numbers WHERE NOT ignore(number / 7)
SELECT count() FROM system.numbers_mt WHERE NOT ignore(number / 7)
SELECT count() FROM system.numbers WHERE NOT ignore(number % 7)
SELECT count() FROM system.numbers_mt WHERE NOT ignore(number % 7)
SELECT count() FROM system.numbers WHERE NOT ignore(number % 34908756)
SELECT count() FROM system.numbers_mt WHERE NOT ignore(number % 34908756)
SELECT number % 1000 AS k, count() FROM system.numbers GROUP BY k
SELECT number % 1000 AS k, count() FROM system.numbers_mt GROUP BY k
SELECT number % 100000 AS k, count() FROM system.numbers GROUP BY k
SELECT number % 100000 AS k, count() FROM system.numbers_mt GROUP BY k
SELECT number % 1000000 AS k, count() FROM system.numbers GROUP BY k
SELECT number % 1000000 AS k, count() FROM system.numbers_mt GROUP BY k
SELECT number % 10000000 AS k, count() FROM system.numbers GROUP BY k
SELECT number % 10000000 AS k, count() FROM system.numbers_mt GROUP BY k
SELECT number % 500000000 AS k, count() FROM system.numbers GROUP BY k
SELECT number % 500000000 AS k, count() FROM system.numbers_mt GROUP BY k
SELECT count() FROM system.numbers WHERE NOT ignore(materialize('xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx') AS s, concat(s,s,s,s,s,s,s,s,s,s) AS t, concat(t,t,t,t,t,t,t,t,t,t) AS u) SETTINGS max_block_size = 1000