You've already forked mariadb-columnstore-engine
mirror of
https://github.com/mariadb-corporation/mariadb-columnstore-engine.git
synced 2025-08-17 09:41:06 +03:00
222 lines
14 KiB
Plaintext
222 lines
14 KiB
Plaintext
--------------
|
|
select count(*) from (select p_partkey from part where p_partkey <= 116000000 union select p_partkey from part where p_partkey <= 116000000) x
|
|
--------------
|
|
|
|
+-----------+
|
|
| count(*) |
|
|
+-----------+
|
|
| 116000000 |
|
|
+-----------+
|
|
1 row in set (3 min 12.51 sec)
|
|
|
|
--------------
|
|
select calgetstats()
|
|
--------------
|
|
|
|
+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
|
|
| calgetstats() |
|
|
+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
|
|
| Query Stats: MaxMemPct-27; NumTempFiles-0; TempFileSpace-0MB; ApproxPhyI/O-0; CacheI/O-0; BlocksTouched-0; PartitionBlocksEliminated-0; MsgBytesIn-0MB; MsgBytesOut-0MB; Mode-Distributed| 1298108486 990696 |
|
|
+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
|
|
1 row in set (0.00 sec)
|
|
|
|
--------------
|
|
select count(*) from (select p_partkey from part where p_partkey <= 116000000 union select p_partkey from part where p_partkey <= 116000000) x
|
|
--------------
|
|
|
|
+-----------+
|
|
| count(*) |
|
|
+-----------+
|
|
| 116000000 |
|
|
+-----------+
|
|
1 row in set (3 min 43.69 sec)
|
|
|
|
--------------
|
|
select calgetstats()
|
|
--------------
|
|
|
|
+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
|
|
| calgetstats() |
|
|
+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
|
|
| Query Stats: MaxMemPct-28; NumTempFiles-0; TempFileSpace-0MB; ApproxPhyI/O-0; CacheI/O-0; BlocksTouched-0; PartitionBlocksEliminated-0; MsgBytesIn-0MB; MsgBytesOut-0MB; Mode-Distributed| 1298108709 788257 |
|
|
+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
|
|
1 row in set (0.01 sec)
|
|
|
|
--------------
|
|
select count(*) from (select p_partkey from part where p_partkey <= 116000000 union select p_partkey from part where p_partkey <= 116000000) x
|
|
--------------
|
|
|
|
+-----------+
|
|
| count(*) |
|
|
+-----------+
|
|
| 116000000 |
|
|
+-----------+
|
|
1 row in set (3 min 53.16 sec)
|
|
|
|
--------------
|
|
select calgetstats()
|
|
--------------
|
|
|
|
+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
|
|
| calgetstats() |
|
|
+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
|
|
| Query Stats: MaxMemPct-28; NumTempFiles-0; TempFileSpace-0MB; ApproxPhyI/O-0; CacheI/O-0; BlocksTouched-0; PartitionBlocksEliminated-0; MsgBytesIn-0MB; MsgBytesOut-0MB; Mode-Distributed| 1298108933 764261 |
|
|
+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
|
|
1 row in set (0.00 sec)
|
|
|
|
--------------
|
|
select count(*) from (select p_partkey from part where p_partkey <= 116000000 union select p_partkey from part where p_partkey <= 116000000) x
|
|
--------------
|
|
|
|
+-----------+
|
|
| count(*) |
|
|
+-----------+
|
|
| 116000000 |
|
|
+-----------+
|
|
1 row in set (3 min 44.18 sec)
|
|
|
|
--------------
|
|
select calgetstats()
|
|
--------------
|
|
|
|
+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
|
|
| calgetstats() |
|
|
+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
|
|
| Query Stats: MaxMemPct-27; NumTempFiles-0; TempFileSpace-0MB; ApproxPhyI/O-0; CacheI/O-0; BlocksTouched-0; PartitionBlocksEliminated-0; MsgBytesIn-0MB; MsgBytesOut-0MB; Mode-Distributed| 1298109166 175996 |
|
|
+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
|
|
1 row in set (0.00 sec)
|
|
|
|
--------------
|
|
select count(*) from (select p_partkey from part where p_partkey <= 116000000 union select p_partkey from part where p_partkey <= 116000000) x
|
|
--------------
|
|
|
|
+-----------+
|
|
| count(*) |
|
|
+-----------+
|
|
| 116000000 |
|
|
+-----------+
|
|
1 row in set (3 min 41.26 sec)
|
|
|
|
--------------
|
|
select calgetstats()
|
|
--------------
|
|
|
|
+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
|
|
| calgetstats() |
|
|
+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
|
|
| Query Stats: MaxMemPct-27; NumTempFiles-0; TempFileSpace-0MB; ApproxPhyI/O-0; CacheI/O-0; BlocksTouched-0; PartitionBlocksEliminated-0; MsgBytesIn-0MB; MsgBytesOut-0MB; Mode-Distributed| 1298109390 619528 |
|
|
+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
|
|
1 row in set (0.00 sec)
|
|
|
|
--------------
|
|
select count(*) from (select p_partkey from part where p_partkey <= 116000000 union select p_partkey from part where p_partkey <= 116000000) x
|
|
--------------
|
|
|
|
+-----------+
|
|
| count(*) |
|
|
+-----------+
|
|
| 116000000 |
|
|
+-----------+
|
|
1 row in set (3 min 45.58 sec)
|
|
|
|
--------------
|
|
select calgetstats()
|
|
--------------
|
|
|
|
+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
|
|
| calgetstats() |
|
|
+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
|
|
| Query Stats: MaxMemPct-32; NumTempFiles-0; TempFileSpace-0MB; ApproxPhyI/O-0; CacheI/O-0; BlocksTouched-0; PartitionBlocksEliminated-0; MsgBytesIn-0MB; MsgBytesOut-0MB; Mode-Distributed| 1298109611 687152 |
|
|
+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
|
|
1 row in set (0.01 sec)
|
|
|
|
--------------
|
|
select count(*) from (select p_partkey from part where p_partkey <= 116000000 union select p_partkey from part where p_partkey <= 116000000) x
|
|
--------------
|
|
|
|
+-----------+
|
|
| count(*) |
|
|
+-----------+
|
|
| 116000000 |
|
|
+-----------+
|
|
1 row in set (3 min 42.43 sec)
|
|
|
|
--------------
|
|
select calgetstats()
|
|
--------------
|
|
|
|
+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
|
|
| calgetstats() |
|
|
+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
|
|
| Query Stats: MaxMemPct-27; NumTempFiles-0; TempFileSpace-0MB; ApproxPhyI/O-0; CacheI/O-0; BlocksTouched-0; PartitionBlocksEliminated-0; MsgBytesIn-0MB; MsgBytesOut-0MB; Mode-Distributed| 1298109837 394664 |
|
|
+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
|
|
1 row in set (0.00 sec)
|
|
|
|
--------------
|
|
select count(*) from (select p_partkey from part where p_partkey <= 116000000 union select p_partkey from part where p_partkey <= 116000000) x
|
|
--------------
|
|
|
|
+-----------+
|
|
| count(*) |
|
|
+-----------+
|
|
| 116000000 |
|
|
+-----------+
|
|
1 row in set (3 min 51.75 sec)
|
|
|
|
--------------
|
|
select calgetstats()
|
|
--------------
|
|
|
|
+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
|
|
| calgetstats() |
|
|
+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
|
|
| Query Stats: MaxMemPct-28; NumTempFiles-0; TempFileSpace-0MB; ApproxPhyI/O-0; CacheI/O-0; BlocksTouched-0; PartitionBlocksEliminated-0; MsgBytesIn-0MB; MsgBytesOut-0MB; Mode-Distributed| 1298110059 878188 |
|
|
+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
|
|
1 row in set (0.00 sec)
|
|
|
|
--------------
|
|
select count(*) from (select p_partkey from part where p_partkey <= 116000000 union select p_partkey from part where p_partkey <= 116000000) x
|
|
--------------
|
|
|
|
+-----------+
|
|
| count(*) |
|
|
+-----------+
|
|
| 116000000 |
|
|
+-----------+
|
|
1 row in set (3 min 50.41 sec)
|
|
|
|
--------------
|
|
select calgetstats()
|
|
--------------
|
|
|
|
+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
|
|
| calgetstats() |
|
|
+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
|
|
| Query Stats: MaxMemPct-27; NumTempFiles-0; TempFileSpace-0MB; ApproxPhyI/O-0; CacheI/O-0; BlocksTouched-0; PartitionBlocksEliminated-0; MsgBytesIn-0MB; MsgBytesOut-0MB; Mode-Distributed| 1298110291 544351 |
|
|
+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
|
|
1 row in set (0.00 sec)
|
|
|
|
--------------
|
|
select count(*) from (select p_partkey from part where p_partkey <= 116000000 union select p_partkey from part where p_partkey <= 116000000) x
|
|
--------------
|
|
|
|
+-----------+
|
|
| count(*) |
|
|
+-----------+
|
|
| 116000000 |
|
|
+-----------+
|
|
1 row in set (3 min 48.61 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| 1298110521 960816 |
|
|
+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
|
|
1 row in set (0.01 sec)
|
|
|
|
Bye
|