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

24 lines
1.0 KiB
SQL

/*
Distinct query near the 4GB TotalUmMemory limit repeated several times to track memory trend.
*/
select count(distinct p_partkey) from part where p_partkey <= 105000000;
select calgetstats();
select count(distinct p_partkey) from part where p_partkey <= 105000000;
select calgetstats();
select count(distinct p_partkey) from part where p_partkey <= 105000000;
select calgetstats();
select count(distinct p_partkey) from part where p_partkey <= 105000000;
select calgetstats();
select count(distinct p_partkey) from part where p_partkey <= 105000000;
select calgetstats();
select count(distinct p_partkey) from part where p_partkey <= 105000000;
select calgetstats();
select count(distinct p_partkey) from part where p_partkey <= 105000000;
select calgetstats();
select count(distinct p_partkey) from part where p_partkey <= 105000000;
select calgetstats();
select count(distinct p_partkey) from part where p_partkey <= 105000000;
select calgetstats();
select count(distinct p_partkey) from part where p_partkey <= 105000000;
select calgetstats();