mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-11 18:14:03 +00:00
72 lines
3.7 KiB
XML
72 lines
3.7 KiB
XML
|
<test>
|
||
|
<name>sort</name>
|
||
|
|
||
|
<type>loop</type>
|
||
|
|
||
|
<stop_conditions>
|
||
|
<all_of>
|
||
|
<iterations>10</iterations>
|
||
|
</all_of>
|
||
|
</stop_conditions>
|
||
|
|
||
|
|
||
|
<create_query>CREATE TABLE rand_unlimited_10m_8 (key UInt8) Engine = Memory</create_query>
|
||
|
|
||
|
<create_query>CREATE TABLE rand_1k_10m_16 (key UInt16) Engine = Memory</create_query>
|
||
|
<create_query>CREATE TABLE rand_100k_10m_16 (key UInt16) Engine = Memory</create_query>
|
||
|
<create_query>CREATE TABLE rand_unlimited_10m_16 (key UInt16) Engine = Memory</create_query>
|
||
|
|
||
|
<create_query>CREATE TABLE rand_1k_10m_32 (key UInt32) Engine = Memory</create_query>
|
||
|
<create_query>CREATE TABLE rand_100k_10m_32 (key UInt32) Engine = Memory</create_query>
|
||
|
<create_query>CREATE TABLE rand_unlimited_10m_32 (key UInt32) Engine = Memory</create_query>
|
||
|
|
||
|
<create_query>CREATE TABLE rand_1k_10m_64 (key UInt64) Engine = Memory</create_query>
|
||
|
<create_query>CREATE TABLE rand_100k_10m_64 (key UInt64) Engine = Memory</create_query>
|
||
|
<create_query>CREATE TABLE rand_unlimited_10m_64 (key UInt64) Engine = Memory</create_query>
|
||
|
|
||
|
|
||
|
<fill_query>INSERT INTO rand_unlimited_10m_8 SELECT rand() AS x FROM numbers(10000000)</fill_query>
|
||
|
|
||
|
<fill_query>INSERT INTO rand_1k_10m_16 SELECT rand()%1000 AS x FROM numbers(10000000)</fill_query>
|
||
|
<fill_query>INSERT INTO rand_100k_10m_16 SELECT rand()%100000 AS x FROM numbers(10000000)</fill_query>
|
||
|
<fill_query>INSERT INTO rand_unlimited_10m_16 SELECT rand() AS x FROM numbers(10000000)</fill_query>
|
||
|
|
||
|
<fill_query>INSERT INTO rand_1k_10m_32 SELECT rand()%1000 AS x FROM numbers(10000000)</fill_query>
|
||
|
<fill_query>INSERT INTO rand_100k_10m_32 SELECT rand()%100000 AS x FROM numbers(10000000)</fill_query>
|
||
|
<fill_query>INSERT INTO rand_unlimited_10m_32 SELECT rand() AS x FROM numbers(10000000)</fill_query>
|
||
|
|
||
|
<fill_query>INSERT INTO rand_1k_10m_64 SELECT rand()%1000 AS x FROM numbers(10000000)</fill_query>
|
||
|
<fill_query>INSERT INTO rand_100k_10m_64 SELECT rand()%100000 AS x FROM numbers(10000000)</fill_query>
|
||
|
<fill_query>INSERT INTO rand_unlimited_10m_64 SELECT rand() AS x FROM numbers(10000000)</fill_query>
|
||
|
|
||
|
|
||
|
<query>SELECT sum(key) FROM (SELECT * FROM rand_unlimited_10m_8 ORDER BY key)</query>
|
||
|
|
||
|
<query>SELECT sum(key) FROM (SELECT * FROM rand_1k_10m_16 ORDER BY key)</query>
|
||
|
<query>SELECT sum(key) FROM (SELECT * FROM rand_100k_10m_16 ORDER BY key)</query>
|
||
|
<query>SELECT sum(key) FROM (SELECT * FROM rand_unlimited_10m_16 ORDER BY key)</query>
|
||
|
|
||
|
<query>SELECT sum(key) FROM (SELECT * FROM rand_1k_10m_32 ORDER BY key)</query>
|
||
|
<query>SELECT sum(key) FROM (SELECT * FROM rand_100k_10m_32 ORDER BY key)</query>
|
||
|
<query>SELECT sum(key) FROM (SELECT * FROM rand_unlimited_10m_32 ORDER BY key)</query>
|
||
|
|
||
|
<query>SELECT sum(key) FROM (SELECT * FROM rand_1k_10m_64 ORDER BY key)</query>
|
||
|
<query>SELECT sum(key) FROM (SELECT * FROM rand_100k_10m_64 ORDER BY key)</query>
|
||
|
<query>SELECT sum(key) FROM (SELECT * FROM rand_unlimited_10m_64 ORDER BY key)</query>
|
||
|
|
||
|
|
||
|
<drop_query>DROP TABLE IF EXISTS rand_unlimited_10m_8</drop_query>
|
||
|
|
||
|
<drop_query>DROP TABLE IF EXISTS rand_1k_10m_16</drop_query>
|
||
|
<drop_query>DROP TABLE IF EXISTS rand_100k_10m_16</drop_query>
|
||
|
<drop_query>DROP TABLE IF EXISTS rand_unlimited_10m_16</drop_query>
|
||
|
|
||
|
<drop_query>DROP TABLE IF EXISTS rand_1k_10m_32</drop_query>
|
||
|
<drop_query>DROP TABLE IF EXISTS rand_100k_10m_32</drop_query>
|
||
|
<drop_query>DROP TABLE IF EXISTS rand_unlimited_10m_32</drop_query>
|
||
|
|
||
|
<drop_query>DROP TABLE IF EXISTS rand_1k_10m_64</drop_query>
|
||
|
<drop_query>DROP TABLE IF EXISTS rand_100k_10m_64</drop_query>
|
||
|
<drop_query>DROP TABLE IF EXISTS rand_unlimited_10m_64</drop_query>
|
||
|
</test>
|