1
0
mirror of https://github.com/mariadb-corporation/mariadb-columnstore-engine.git synced 2025-08-15 22:22:17 +03:00
Files
mariadb-columnstore-engine/mysql/queries/nightly/demo/test511/unions.sql
2016-01-06 14:08:59 -06:00

24 lines
1.7 KiB
SQL

/*
Unions at the 4GB TotalUmMemory limit repeated several times to track memory trend.
*/
select count(*) from (select p_partkey from part where p_partkey <= 116000000 union select p_partkey from part where p_partkey <= 116000000) x;
select calgetstats();
select count(*) from (select p_partkey from part where p_partkey <= 116000000 union select p_partkey from part where p_partkey <= 116000000) x;
select calgetstats();
select count(*) from (select p_partkey from part where p_partkey <= 116000000 union select p_partkey from part where p_partkey <= 116000000) x;
select calgetstats();
select count(*) from (select p_partkey from part where p_partkey <= 116000000 union select p_partkey from part where p_partkey <= 116000000) x;
select calgetstats();
select count(*) from (select p_partkey from part where p_partkey <= 116000000 union select p_partkey from part where p_partkey <= 116000000) x;
select calgetstats();
select count(*) from (select p_partkey from part where p_partkey <= 116000000 union select p_partkey from part where p_partkey <= 116000000) x;
select calgetstats();
select count(*) from (select p_partkey from part where p_partkey <= 116000000 union select p_partkey from part where p_partkey <= 116000000) x;
select calgetstats();
select count(*) from (select p_partkey from part where p_partkey <= 116000000 union select p_partkey from part where p_partkey <= 116000000) x;
select calgetstats();
select count(*) from (select p_partkey from part where p_partkey <= 116000000 union select p_partkey from part where p_partkey <= 116000000) x;
select calgetstats();
select count(*) from (select p_partkey from part where p_partkey <= 116000000 union select p_partkey from part where p_partkey <= 116000000) x;
select calgetstats();