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

222 lines
14 KiB
Plaintext

--------------
select count(distinct p_partkey) from part where p_partkey <= 105000000
--------------
+---------------------------+
| count(distinct p_partkey) |
+---------------------------+
| 105000000 |
+---------------------------+
1 row in set (42.42 sec)
--------------
select calgetstats()
--------------
+----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
| calgetstats() |
+----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
| Query Stats: MaxMemPct-26; NumTempFiles-0; TempFileSpace-0MB; ApproxPhyI/O-0; CacheI/O-53248; BlocksTouched-53248; PartitionBlocksEliminated-44410; MsgBytesIn-602MB; MsgBytesOut-0MB; Mode-Distributed| 1297980407 871303 |
+----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
1 row in set (0.00 sec)
--------------
select count(distinct p_partkey) from part where p_partkey <= 105000000
--------------
+---------------------------+
| count(distinct p_partkey) |
+---------------------------+
| 105000000 |
+---------------------------+
1 row in set (1 min 3.34 sec)
--------------
select calgetstats()
--------------
+----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
| calgetstats() |
+----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
| Query Stats: MaxMemPct-26; NumTempFiles-0; TempFileSpace-0MB; ApproxPhyI/O-0; CacheI/O-53248; BlocksTouched-53248; PartitionBlocksEliminated-44410; MsgBytesIn-602MB; MsgBytesOut-0MB; Mode-Distributed| 1297980471 895392 |
+----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
1 row in set (0.00 sec)
--------------
select count(distinct p_partkey) from part where p_partkey <= 105000000
--------------
+---------------------------+
| count(distinct p_partkey) |
+---------------------------+
| 105000000 |
+---------------------------+
1 row in set (1 min 3.76 sec)
--------------
select calgetstats()
--------------
+----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
| calgetstats() |
+----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
| Query Stats: MaxMemPct-29; NumTempFiles-0; TempFileSpace-0MB; ApproxPhyI/O-0; CacheI/O-53248; BlocksTouched-53248; PartitionBlocksEliminated-44410; MsgBytesIn-602MB; MsgBytesOut-0MB; Mode-Distributed| 1297980535 412339 |
+----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
1 row in set (0.00 sec)
--------------
select count(distinct p_partkey) from part where p_partkey <= 105000000
--------------
+---------------------------+
| count(distinct p_partkey) |
+---------------------------+
| 105000000 |
+---------------------------+
1 row in set (1 min 4.64 sec)
--------------
select calgetstats()
--------------
+----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
| calgetstats() |
+----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
| Query Stats: MaxMemPct-28; NumTempFiles-0; TempFileSpace-0MB; ApproxPhyI/O-0; CacheI/O-53248; BlocksTouched-53248; PartitionBlocksEliminated-44410; MsgBytesIn-602MB; MsgBytesOut-0MB; Mode-Distributed| 1297980599 169617 |
+----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
1 row in set (0.00 sec)
--------------
select count(distinct p_partkey) from part where p_partkey <= 105000000
--------------
+---------------------------+
| count(distinct p_partkey) |
+---------------------------+
| 105000000 |
+---------------------------+
1 row in set (1 min 3.34 sec)
--------------
select calgetstats()
--------------
+----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
| calgetstats() |
+----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
| Query Stats: MaxMemPct-27; NumTempFiles-0; TempFileSpace-0MB; ApproxPhyI/O-0; CacheI/O-53248; BlocksTouched-53248; PartitionBlocksEliminated-44410; MsgBytesIn-602MB; MsgBytesOut-0MB; Mode-Distributed| 1297980663 717303 |
+----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
1 row in set (0.00 sec)
--------------
select count(distinct p_partkey) from part where p_partkey <= 105000000
--------------
+---------------------------+
| count(distinct p_partkey) |
+---------------------------+
| 105000000 |
+---------------------------+
1 row in set (1 min 3.26 sec)
--------------
select calgetstats()
--------------
+----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
| calgetstats() |
+----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
| Query Stats: MaxMemPct-27; NumTempFiles-0; TempFileSpace-0MB; ApproxPhyI/O-0; CacheI/O-53248; BlocksTouched-53248; PartitionBlocksEliminated-44410; MsgBytesIn-602MB; MsgBytesOut-0MB; Mode-Distributed| 1297980727 172956 |
+----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
1 row in set (0.00 sec)
--------------
select count(distinct p_partkey) from part where p_partkey <= 105000000
--------------
+---------------------------+
| count(distinct p_partkey) |
+---------------------------+
| 105000000 |
+---------------------------+
1 row in set (1 min 3.49 sec)
--------------
select calgetstats()
--------------
+----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
| calgetstats() |
+----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
| Query Stats: MaxMemPct-27; NumTempFiles-0; TempFileSpace-0MB; ApproxPhyI/O-0; CacheI/O-53248; BlocksTouched-53248; PartitionBlocksEliminated-44410; MsgBytesIn-602MB; MsgBytesOut-0MB; Mode-Distributed| 1297980790 259085 |
+----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
1 row in set (0.00 sec)
--------------
select count(distinct p_partkey) from part where p_partkey <= 105000000
--------------
+---------------------------+
| count(distinct p_partkey) |
+---------------------------+
| 105000000 |
+---------------------------+
1 row in set (1 min 5.75 sec)
--------------
select calgetstats()
--------------
+----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
| calgetstats() |
+----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
| Query Stats: MaxMemPct-27; NumTempFiles-0; TempFileSpace-0MB; ApproxPhyI/O-0; CacheI/O-53248; BlocksTouched-53248; PartitionBlocksEliminated-44410; MsgBytesIn-602MB; MsgBytesOut-0MB; Mode-Distributed| 1297980853 974089 |
+----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
1 row in set (0.00 sec)
--------------
select count(distinct p_partkey) from part where p_partkey <= 105000000
--------------
+---------------------------+
| count(distinct p_partkey) |
+---------------------------+
| 105000000 |
+---------------------------+
1 row in set (1 min 4.39 sec)
--------------
select calgetstats()
--------------
+----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
| calgetstats() |
+----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
| Query Stats: MaxMemPct-27; NumTempFiles-0; TempFileSpace-0MB; ApproxPhyI/O-0; CacheI/O-53248; BlocksTouched-53248; PartitionBlocksEliminated-44410; MsgBytesIn-602MB; MsgBytesOut-0MB; Mode-Distributed| 1297980919 731138 |
+----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
1 row in set (0.00 sec)
--------------
select count(distinct p_partkey) from part where p_partkey <= 105000000
--------------
+---------------------------+
| count(distinct p_partkey) |
+---------------------------+
| 105000000 |
+---------------------------+
1 row in set (1 min 3.27 sec)
--------------
select calgetstats()
--------------
+----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
| calgetstats() |
+----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
| Query Stats: MaxMemPct-27; NumTempFiles-0; TempFileSpace-0MB; ApproxPhyI/O-0; CacheI/O-53248; BlocksTouched-53248; PartitionBlocksEliminated-44410; MsgBytesIn-602MB; MsgBytesOut-0MB; Mode-Distributed| 1297980984 114033 |
+----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
1 row in set (0.01 sec)
Bye