count.xml 475 字节
Newer Older
A
Amos Bird 已提交
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19
<test>

    <type>loop</type>

    <stop_conditions>
        <all_of>
            <total_time_ms>30000</total_time_ms>
        </all_of>
    </stop_conditions>


    <create_query>CREATE TABLE data(k UInt64, v UInt64) ENGINE = MergeTree ORDER BY k</create_query>

    <fill_query>INSERT INTO data SELECT number, 1 from numbers(10000000)</fill_query>

    <query tag='count_10M'>SELECT count() FROM data</query>

    <drop_query>DROP TABLE IF EXISTS data</drop_query>
</test>