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/test512/.svn/text-base/groupby.sql.ref.log.svn-base
2016-01-06 14:08:59 -06:00

222 lines
14 KiB
Plaintext

--------------
select F, count(*) from (select count(*) F from part where p_partkey <= 75162346 group by p_partkey, p_size) a group by 1
--------------
+---+----------+
| F | count(*) |
+---+----------+
| 1 | 75162346 |
+---+----------+
1 row in set (53.83 sec)
--------------
select calgetstats()
--------------
+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
| calgetstats() |
+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
| Query Stats: MaxMemPct-50; NumTempFiles-0; TempFileSpace-0MB; ApproxPhyI/O-0; CacheI/O-0; BlocksTouched-0; PartitionBlocksEliminated-0; MsgBytesIn-0MB; MsgBytesOut-0MB; Mode-Distributed| 1298019772 271090 |
+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
1 row in set (0.00 sec)
--------------
select F, count(*) from (select count(*) F from part where p_partkey <= 75162346 group by p_partkey, p_size) a group by 1
--------------
+---+----------+
| F | count(*) |
+---+----------+
| 1 | 75162346 |
+---+----------+
1 row in set (59.65 sec)
--------------
select calgetstats()
--------------
+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
| calgetstats() |
+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
| Query Stats: MaxMemPct-37; NumTempFiles-0; TempFileSpace-0MB; ApproxPhyI/O-0; CacheI/O-0; BlocksTouched-0; PartitionBlocksEliminated-0; MsgBytesIn-0MB; MsgBytesOut-0MB; Mode-Distributed| 1298019841 780692 |
+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
1 row in set (0.00 sec)
--------------
select F, count(*) from (select count(*) F from part where p_partkey <= 75162346 group by p_partkey, p_size) a group by 1
--------------
+---+----------+
| F | count(*) |
+---+----------+
| 1 | 75162346 |
+---+----------+
1 row in set (59.77 sec)
--------------
select calgetstats()
--------------
+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
| calgetstats() |
+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
| Query Stats: MaxMemPct-39; NumTempFiles-0; TempFileSpace-0MB; ApproxPhyI/O-0; CacheI/O-0; BlocksTouched-0; PartitionBlocksEliminated-0; MsgBytesIn-0MB; MsgBytesOut-0MB; Mode-Distributed| 1298019901 559677 |
+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
1 row in set (0.00 sec)
--------------
select F, count(*) from (select count(*) F from part where p_partkey <= 75162346 group by p_partkey, p_size) a group by 1
--------------
+---+----------+
| F | count(*) |
+---+----------+
| 1 | 75162346 |
+---+----------+
1 row in set (1 min 0.71 sec)
--------------
select calgetstats()
--------------
+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
| calgetstats() |
+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
| Query Stats: MaxMemPct-40; NumTempFiles-0; TempFileSpace-0MB; ApproxPhyI/O-0; CacheI/O-0; BlocksTouched-0; PartitionBlocksEliminated-0; MsgBytesIn-0MB; MsgBytesOut-0MB; Mode-Distributed| 1298019961 380964 |
+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
1 row in set (0.00 sec)
--------------
select F, count(*) from (select count(*) F from part where p_partkey <= 75162346 group by p_partkey, p_size) a group by 1
--------------
+---+----------+
| F | count(*) |
+---+----------+
| 1 | 75162346 |
+---+----------+
1 row in set (59.63 sec)
--------------
select calgetstats()
--------------
+-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
| calgetstats() |
+-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
| Query Stats: MaxMemPct-37; NumTempFiles-0; TempFileSpace-0MB; ApproxPhyI/O-0; CacheI/O-0; BlocksTouched-0; PartitionBlocksEliminated-0; MsgBytesIn-0MB; MsgBytesOut-0MB; Mode-Distributed| 1298020022 21988 |
+-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
1 row in set (0.01 sec)
--------------
select F, count(*) from (select count(*) F from part where p_partkey <= 75162346 group by p_partkey, p_size) a group by 1
--------------
+---+----------+
| F | count(*) |
+---+----------+
| 1 | 75162346 |
+---+----------+
1 row in set (59.87 sec)
--------------
select calgetstats()
--------------
+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
| calgetstats() |
+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
| Query Stats: MaxMemPct-37; NumTempFiles-0; TempFileSpace-0MB; ApproxPhyI/O-0; CacheI/O-0; BlocksTouched-0; PartitionBlocksEliminated-0; MsgBytesIn-0MB; MsgBytesOut-0MB; Mode-Distributed| 1298020081 704602 |
+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
1 row in set (0.00 sec)
--------------
select F, count(*) from (select count(*) F from part where p_partkey <= 75162346 group by p_partkey, p_size) a group by 1
--------------
+---+----------+
| F | count(*) |
+---+----------+
| 1 | 75162346 |
+---+----------+
1 row in set (1 min 0.00 sec)
--------------
select calgetstats()
--------------
+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
| calgetstats() |
+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
| Query Stats: MaxMemPct-39; NumTempFiles-0; TempFileSpace-0MB; ApproxPhyI/O-0; CacheI/O-0; BlocksTouched-0; PartitionBlocksEliminated-0; MsgBytesIn-0MB; MsgBytesOut-0MB; Mode-Distributed| 1298020141 487126 |
+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
1 row in set (0.00 sec)
--------------
select F, count(*) from (select count(*) F from part where p_partkey <= 75162346 group by p_partkey, p_size) a group by 1
--------------
+---+----------+
| F | count(*) |
+---+----------+
| 1 | 75162346 |
+---+----------+
1 row in set (1 min 0.39 sec)
--------------
select calgetstats()
--------------
+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
| calgetstats() |
+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
| Query Stats: MaxMemPct-36; NumTempFiles-0; TempFileSpace-0MB; ApproxPhyI/O-0; CacheI/O-0; BlocksTouched-0; PartitionBlocksEliminated-0; MsgBytesIn-0MB; MsgBytesOut-0MB; Mode-Distributed| 1298020201 605459 |
+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
1 row in set (0.00 sec)
--------------
select F, count(*) from (select count(*) F from part where p_partkey <= 75162346 group by p_partkey, p_size) a group by 1
--------------
+---+----------+
| F | count(*) |
+---+----------+
| 1 | 75162346 |
+---+----------+
1 row in set (1 min 1.56 sec)
--------------
select calgetstats()
--------------
+-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
| calgetstats() |
+-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
| Query Stats: MaxMemPct-40; NumTempFiles-0; TempFileSpace-0MB; ApproxPhyI/O-0; CacheI/O-0; BlocksTouched-0; PartitionBlocksEliminated-0; MsgBytesIn-0MB; MsgBytesOut-0MB; Mode-Distributed| 1298020262 88760 |
+-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
1 row in set (0.00 sec)
--------------
select F, count(*) from (select count(*) F from part where p_partkey <= 75162346 group by p_partkey, p_size) a group by 1
--------------
+---+----------+
| F | count(*) |
+---+----------+
| 1 | 75162346 |
+---+----------+
1 row in set (59.94 sec)
--------------
select calgetstats()
--------------
+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
| calgetstats() |
+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
| Query Stats: MaxMemPct-36; NumTempFiles-0; TempFileSpace-0MB; ApproxPhyI/O-0; CacheI/O-0; BlocksTouched-0; PartitionBlocksEliminated-0; MsgBytesIn-0MB; MsgBytesOut-0MB; Mode-Distributed| 1298020323 748494 |
+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
1 row in set (0.00 sec)
Bye