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/test501/baseline/q0010.sql.log
2016-01-06 14:08:59 -06:00

195 lines
10 KiB
Plaintext

--------------
select now()
--------------
+---------------------+
| now() |
+---------------------+
| 2010-04-21 03:54:26 |
+---------------------+
1 row in set (0.00 sec)
--------------
select now()
--------------
+---------------------+
| now() |
+---------------------+
| 2010-04-21 03:54:26 |
+---------------------+
1 row in set (0.00 sec)
--------------
select calflushcache()
--------------
+-----------------+
| calflushcache() |
+-----------------+
| 0 |
+-----------------+
1 row in set (0.04 sec)
--------------
select p_mfgr, count(*), avg(ps_availqty), avg(p_retailprice),
avg(ps_supplycost) from part, partsupp where p_size in (48, 49, 50) and p_retailprice <
1250 and ps_partkey = p_partkey and ps_suppkey <= 10000000 group by p_mfgr
order by p_mfgr
--------------
+----------------+----------+------------------+--------------------+--------------------+
| p_mfgr | count(*) | avg(ps_availqty) | avg(p_retailprice) | avg(ps_supplycost) |
+----------------+----------+------------------+--------------------+--------------------+
| Manufacturer#1 | 2403764 | 5000.3151 | 1118.255290 | 500.171931 |
| Manufacturer#2 | 2405924 | 4998.1578 | 1117.969857 | 500.514042 |
| Manufacturer#3 | 2406188 | 4998.9142 | 1118.106654 | 500.135411 |
| Manufacturer#4 | 2400632 | 5001.6149 | 1117.905529 | 500.372161 |
| Manufacturer#5 | 2404112 | 5003.6923 | 1118.062644 | 500.268454 |
+----------------+----------+------------------+--------------------+--------------------+
5 rows in set (1 min 15.61 sec)
--------------
select calgetstats()
--------------
+-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
| calgetstats() |
+-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
| Query Stats: MaxMemPct-1; NumTempFiles-0; TempFileSpace-0MB; ApproxPhyI/O-2535010; CacheI/O-2852007; BlocksTouched-2856449; PartitionBlocksEliminated-0; MsgBytesIn-13856MB; MsgBytesOut-0MB; Mode-Distributed| 1271840066 804267 |
+-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
1 row in set (0.00 sec)
--------------
select now()
--------------
+---------------------+
| now() |
+---------------------+
| 2010-04-21 03:55:42 |
+---------------------+
1 row in set (0.00 sec)
--------------
select p_mfgr, count(*), avg(ps_availqty), avg(p_retailprice),
avg(ps_supplycost) from part, partsupp where p_size in (48, 49, 50) and p_retailprice <
1250 and ps_partkey = p_partkey and ps_suppkey <= 10000000 group by p_mfgr
order by p_mfgr
--------------
+----------------+----------+------------------+--------------------+--------------------+
| p_mfgr | count(*) | avg(ps_availqty) | avg(p_retailprice) | avg(ps_supplycost) |
+----------------+----------+------------------+--------------------+--------------------+
| Manufacturer#1 | 2403764 | 5000.3151 | 1118.255290 | 500.171931 |
| Manufacturer#2 | 2405924 | 4998.1578 | 1117.969857 | 500.514042 |
| Manufacturer#3 | 2406188 | 4998.9142 | 1118.106654 | 500.135411 |
| Manufacturer#4 | 2400632 | 5001.6149 | 1117.905529 | 500.372161 |
| Manufacturer#5 | 2404112 | 5003.6923 | 1118.062644 | 500.268454 |
+----------------+----------+------------------+--------------------+--------------------+
5 rows in set (1 min 8.77 sec)
--------------
select calgetstats()
--------------
+-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
| calgetstats() |
+-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
| Query Stats: MaxMemPct-1; NumTempFiles-0; TempFileSpace-0MB; ApproxPhyI/O-0; CacheI/O-2856449; BlocksTouched-2856449; PartitionBlocksEliminated-0; MsgBytesIn-13856MB; MsgBytesOut-0MB; Mode-Distributed| 1271840142 300357 |
+-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
1 row in set (0.00 sec)
--------------
select calflushcache()
--------------
+-----------------+
| calflushcache() |
+-----------------+
| 0 |
+-----------------+
1 row in set (0.16 sec)
--------------
select p_mfgr, count(*), avg(ps_availqty), avg(p_retailprice),
avg(ps_supplycost) from part, partsupp where p_size in (1, 2, 50) and p_retailprice <
1250 and ps_partkey = p_partkey and ps_suppkey <= 7500000 group by p_mfgr
order by p_mfgr
--------------
+----------------+----------+------------------+--------------------+--------------------+
| p_mfgr | count(*) | avg(ps_availqty) | avg(p_retailprice) | avg(ps_supplycost) |
+----------------+----------+------------------+--------------------+--------------------+
| Manufacturer#1 | 1800876 | 5000.3430 | 1118.001720 | 499.872541 |
| Manufacturer#2 | 1804338 | 4999.1947 | 1118.121793 | 500.581975 |
| Manufacturer#3 | 1804236 | 5000.4565 | 1118.108736 | 499.910382 |
| Manufacturer#4 | 1796952 | 5002.4749 | 1117.971316 | 500.533888 |
| Manufacturer#5 | 1800309 | 4999.7213 | 1118.103640 | 500.292599 |
+----------------+----------+------------------+--------------------+--------------------+
5 rows in set (58.86 sec)
--------------
select calgetstats()
--------------
+-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
| calgetstats() |
+-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
| Query Stats: MaxMemPct-1; NumTempFiles-0; TempFileSpace-0MB; ApproxPhyI/O-2533986; CacheI/O-2852029; BlocksTouched-2856449; PartitionBlocksEliminated-0; MsgBytesIn-10422MB; MsgBytesOut-0MB; Mode-Distributed| 1271840211 116595 |
+-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
1 row in set (0.00 sec)
--------------
select now()
--------------
+---------------------+
| now() |
+---------------------+
| 2010-04-21 03:57:49 |
+---------------------+
1 row in set (0.00 sec)
--------------
select p_mfgr, count(*), avg(ps_availqty), avg(p_retailprice),
avg(ps_supplycost) from part, partsupp where p_size in (1, 2, 50) and p_retailprice <
1250 and ps_partkey = p_partkey and ps_suppkey <= 7500000 group by p_mfgr
order by p_mfgr
--------------
+----------------+----------+------------------+--------------------+--------------------+
| p_mfgr | count(*) | avg(ps_availqty) | avg(p_retailprice) | avg(ps_supplycost) |
+----------------+----------+------------------+--------------------+--------------------+
| Manufacturer#1 | 1800876 | 5000.3430 | 1118.001720 | 499.872541 |
| Manufacturer#2 | 1804338 | 4999.1947 | 1118.121793 | 500.581975 |
| Manufacturer#3 | 1804236 | 5000.4565 | 1118.108736 | 499.910382 |
| Manufacturer#4 | 1796952 | 5002.4749 | 1117.971316 | 500.533888 |
| Manufacturer#5 | 1800309 | 4999.7213 | 1118.103640 | 500.292599 |
+----------------+----------+------------------+--------------------+--------------------+
5 rows in set (52.11 sec)
--------------
select calgetstats()
--------------
+-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
| calgetstats() |
+-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
| Query Stats: MaxMemPct-2; NumTempFiles-0; TempFileSpace-0MB; ApproxPhyI/O-0; CacheI/O-2856449; BlocksTouched-2856449; PartitionBlocksEliminated-0; MsgBytesIn-10422MB; MsgBytesOut-0MB; Mode-Distributed| 1271840270 119881 |
+-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
1 row in set (0.00 sec)
--------------
select calflushcache()
--------------
+-----------------+
| calflushcache() |
+-----------------+
| 0 |
+-----------------+
1 row in set (0.17 sec)
Bye