mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-05 23:31:24 +00:00
39 lines
1.2 KiB
XML
39 lines
1.2 KiB
XML
<test>
|
|
<settings><max_block_size>1</max_block_size></settings>
|
|
|
|
<create_query>
|
|
CREATE TABLE insert_small_block_performance
|
|
(
|
|
`x` String,
|
|
`a` DEFAULT SHA256(x),
|
|
`b` DEFAULT SHA256(toString(a)),
|
|
`c` DEFAULT SHA256(toString(b)),
|
|
`d` DEFAULT SHA256(toString(c)),
|
|
`e` DEFAULT SHA256(toString(d)),
|
|
`f` DEFAULT SHA256(toString(e)),
|
|
`g` DEFAULT SHA256(toString(f)),
|
|
`h` DEFAULT SHA256(toString(g)),
|
|
`i` DEFAULT SHA256(toString(h)),
|
|
`j` DEFAULT SHA256(toString(i)),
|
|
`k` DEFAULT SHA256(toString(j)),
|
|
`l` DEFAULT SHA256(toString(k)),
|
|
`m` DEFAULT SHA256(toString(l)),
|
|
`n` DEFAULT SHA256(toString(m)),
|
|
`o` DEFAULT SHA256(toString(n)),
|
|
`p` DEFAULT SHA256(toString(o)),
|
|
`q` DEFAULT SHA256(toString(p)),
|
|
`r` DEFAULT SHA256(toString(q)),
|
|
`s` DEFAULT SHA256(toString(r)),
|
|
`t` DEFAULT SHA256(toString(s)),
|
|
`u` DEFAULT SHA256(toString(t)),
|
|
`v` DEFAULT SHA256(toString(u)),
|
|
`w` DEFAULT SHA256(toString(v))
|
|
)
|
|
ENGINE = Null;
|
|
</create_query>
|
|
|
|
<query>INSERT INTO insert_small_block_performance (x) SELECT toString(number) FROM numbers(10000);</query>
|
|
|
|
<drop_query>DROP TABLE IF EXISTS insert_small_block_performance</drop_query>
|
|
</test>
|