mirror of
https://github.com/hanzoai/datastore.git
synced 2026-09-26 13:55:07 +00:00
11 lines
536 B
XML
11 lines
536 B
XML
<test>
|
|
<create_query>CREATE TABLE t_t64_perf (x UInt32) ENGINE = MergeTree ORDER BY tuple() SETTINGS min_bytes_for_wide_part = 0, max_compress_block_size = 65536</create_query>
|
|
|
|
<fill_query>INSERT INTO t_t64_perf SELECT number FROM numbers(10000000)</fill_query>
|
|
|
|
<query>SELECT estimateCompressionRatio('T64', 65536)(x) FROM t_t64_perf FORMAT Null</query>
|
|
<query>SELECT estimateCompressionRatio('T64', 1048576)(x) FROM t_t64_perf FORMAT Null</query>
|
|
|
|
<drop_query>DROP TABLE IF EXISTS t_t64_perf</drop_query>
|
|
</test>
|