| # TPCDS-Q71 |
| SELECT i_brand_id brand_id, |
| i_brand brand, |
| t_hour, |
| t_minute, |
| sum(ext_price) ext_price |
| FROM item, |
| (SELECT ws_ext_sales_price AS ext_price, |
| ws_sold_date_sk AS sold_date_sk, |
| ws_item_sk AS sold_item_sk, |
| ws_sold_time_sk AS time_sk |
| FROM web_sales, |
| date_dim |
| WHERE d_date_sk = ws_sold_date_sk |
| AND d_moy=11 |
| AND d_year=1999 |
| UNION ALL SELECT cs_ext_sales_price AS ext_price, |
| cs_sold_date_sk AS sold_date_sk, |
| cs_item_sk AS sold_item_sk, |
| cs_sold_time_sk AS time_sk |
| FROM catalog_sales, |
| date_dim |
| WHERE d_date_sk = cs_sold_date_sk |
| AND d_moy=11 |
| AND d_year=1999 |
| UNION ALL SELECT ss_ext_sales_price AS ext_price, |
| ss_sold_date_sk AS sold_date_sk, |
| ss_item_sk AS sold_item_sk, |
| ss_sold_time_sk AS time_sk |
| FROM store_sales, |
| date_dim |
| WHERE d_date_sk = ss_sold_date_sk |
| AND d_moy=11 |
| AND d_year=1999 ) tmp, |
| time_dim |
| WHERE sold_item_sk = i_item_sk |
| AND i_manager_id=1 |
| AND time_sk = t_time_sk |
| AND (t_meal_time = 'breakfast' |
| OR t_meal_time = 'dinner') |
| GROUP BY i_brand, |
| i_brand_id, |
| t_hour, |
| t_minute |
| ORDER BY ext_price DESC, |
| i_brand_id ; |
| |
| ---- PLAN |
| Max Per-Host Resource Reservation: Memory=54.25MB Threads=5 |
| Per-Host Resource Estimates: Memory=380MB |
| F00:PLAN FRAGMENT [UNPARTITIONED] hosts=1 instances=1 |
| | Per-Host Resources: mem-estimate=379.75MB mem-reservation=54.25MB thread-reservation=5 runtime-filters-memory=5.00MB |
| PLAN-ROOT SINK |
| | output exprs: i_brand_id, i_brand, t_hour, t_minute, sum(ext_price) |
| | mem-estimate=0B mem-reservation=0B thread-reservation=0 |
| | |
| 15:SORT |
| | order by: sum(ext_price) DESC, i_brand_id ASC |
| | mem-estimate=12.00MB mem-reservation=12.00MB spill-buffer=2.00MB thread-reservation=0 |
| | tuple-ids=11 row-size=56B cardinality=298.71K |
| | in pipelines: 15(GETNEXT), 14(OPEN) |
| | |
| 14:AGGREGATE [FINALIZE] |
| | output: sum(ext_price) |
| | group by: i_brand, i_brand_id, t_hour, t_minute |
| | mem-estimate=34.00MB mem-reservation=34.00MB spill-buffer=2.00MB thread-reservation=0 |
| | tuple-ids=10 row-size=56B cardinality=298.71K |
| | in pipelines: 14(GETNEXT), 02(OPEN), 05(OPEN), 08(OPEN) |
| | |
| 13:HASH JOIN [INNER JOIN] |
| | hash predicates: time_sk = t_time_sk |
| | fk/pk conjuncts: assumed fk/pk |
| | runtime filters: RF000[bloom] <- t_time_sk |
| | mem-estimate=2.88MB mem-reservation=2.88MB spill-buffer=128.00KB thread-reservation=0 |
| | tuple-ids=7,0,9 row-size=91B cardinality=298.71K |
| | in pipelines: 02(GETNEXT), 05(GETNEXT), 08(GETNEXT), 11(OPEN) |
| | |
| |--11:SCAN HDFS [tpcds_parquet.time_dim] |
| | HDFS partitions=1/1 files=1 size=1.31MB |
| | predicates: t_meal_time IN ('breakfast', 'dinner') |
| | stored statistics: |
| | table: rows=86.40K size=1.31MB |
| | columns: all |
| | extrapolated-rows=disabled max-scan-range-rows=86.40K |
| | parquet statistics predicates: t_meal_time IN ('breakfast', 'dinner') |
| | parquet dictionary predicates: t_meal_time IN ('breakfast', 'dinner') |
| | mem-estimate=64.00MB mem-reservation=512.00KB thread-reservation=1 |
| | tuple-ids=9 row-size=31B cardinality=57.60K |
| | in pipelines: 11(GETNEXT) |
| | |
| 12:HASH JOIN [INNER JOIN] |
| | hash predicates: sold_item_sk = i_item_sk |
| | fk/pk conjuncts: assumed fk/pk |
| | runtime filters: RF002[bloom] <- i_item_sk |
| | mem-estimate=1.94MB mem-reservation=1.94MB spill-buffer=64.00KB thread-reservation=0 |
| | tuple-ids=7,0 row-size=60B cardinality=298.71K |
| | in pipelines: 02(GETNEXT), 05(GETNEXT), 08(GETNEXT), 00(OPEN) |
| | |
| |--00:SCAN HDFS [tpcds_parquet.item] |
| | HDFS partitions=1/1 files=1 size=1.73MB |
| | predicates: i_manager_id = CAST(1 AS INT) |
| | stored statistics: |
| | table: rows=18.00K size=1.73MB |
| | columns: all |
| | extrapolated-rows=disabled max-scan-range-rows=18.00K |
| | parquet statistics predicates: i_manager_id = CAST(1 AS INT) |
| | parquet dictionary predicates: i_manager_id = CAST(1 AS INT) |
| | mem-estimate=64.00MB mem-reservation=256.00KB thread-reservation=1 |
| | tuple-ids=0 row-size=44B cardinality=182 |
| | in pipelines: 00(GETNEXT) |
| | |
| 01:UNION |
| | mem-estimate=0B mem-reservation=0B thread-reservation=0 |
| | tuple-ids=7 row-size=16B cardinality=298.71K |
| | in pipelines: 02(GETNEXT), 05(GETNEXT), 08(GETNEXT) |
| | |
| |--10:HASH JOIN [INNER JOIN] |
| | | hash predicates: ss_sold_date_sk = d_date_sk |
| | | fk/pk conjuncts: ss_sold_date_sk = d_date_sk |
| | | runtime filters: RF008[bloom] <- d_date_sk |
| | | mem-estimate=1.94MB mem-reservation=1.94MB spill-buffer=64.00KB thread-reservation=0 |
| | | tuple-ids=5,6 row-size=32B cardinality=170.55K |
| | | in pipelines: 08(GETNEXT), 09(OPEN) |
| | | |
| | |--09:SCAN HDFS [tpcds_parquet.date_dim] |
| | | HDFS partitions=1/1 files=1 size=2.15MB |
| | | predicates: d_year = CAST(1999 AS INT), d_moy = CAST(11 AS INT) |
| | | stored statistics: |
| | | table: rows=73.05K size=2.15MB |
| | | columns: all |
| | | extrapolated-rows=disabled max-scan-range-rows=73.05K |
| | | parquet statistics predicates: d_year = CAST(1999 AS INT), d_moy = CAST(11 AS INT) |
| | | parquet dictionary predicates: d_year = CAST(1999 AS INT), d_moy = CAST(11 AS INT) |
| | | mem-estimate=48.00MB mem-reservation=512.00KB thread-reservation=1 |
| | | tuple-ids=6 row-size=12B cardinality=108 |
| | | in pipelines: 09(GETNEXT) |
| | | |
| | 08:SCAN HDFS [tpcds_parquet.store_sales] |
| | HDFS partitions=1824/1824 files=1824 size=201.02MB |
| | runtime filters: RF000[bloom] -> tpcds_parquet.store_sales.ss_sold_time_sk, RF002[bloom] -> tpcds_parquet.store_sales.ss_item_sk, RF008[bloom] -> ss_sold_date_sk |
| | stored statistics: |
| | table: rows=2.88M size=201.02MB |
| | partitions: 1824/1824 rows=2.88M |
| | columns: all |
| | extrapolated-rows=disabled max-scan-range-rows=130.09K |
| | mem-estimate=48.00MB mem-reservation=2.00MB thread-reservation=1 |
| | tuple-ids=5 row-size=20B cardinality=2.88M |
| | in pipelines: 08(GETNEXT) |
| | |
| |--07:HASH JOIN [INNER JOIN] |
| | | hash predicates: cs_sold_date_sk = d_date_sk |
| | | fk/pk conjuncts: cs_sold_date_sk = d_date_sk |
| | | runtime filters: RF006[bloom] <- d_date_sk |
| | | mem-estimate=1.94MB mem-reservation=1.94MB spill-buffer=64.00KB thread-reservation=0 |
| | | tuple-ids=3,4 row-size=32B cardinality=85.31K |
| | | in pipelines: 05(GETNEXT), 06(OPEN) |
| | | |
| | |--06:SCAN HDFS [tpcds_parquet.date_dim] |
| | | HDFS partitions=1/1 files=1 size=2.15MB |
| | | predicates: d_year = CAST(1999 AS INT), d_moy = CAST(11 AS INT) |
| | | stored statistics: |
| | | table: rows=73.05K size=2.15MB |
| | | columns: all |
| | | extrapolated-rows=disabled max-scan-range-rows=73.05K |
| | | parquet statistics predicates: d_year = CAST(1999 AS INT), d_moy = CAST(11 AS INT) |
| | | parquet dictionary predicates: d_year = CAST(1999 AS INT), d_moy = CAST(11 AS INT) |
| | | mem-estimate=48.00MB mem-reservation=512.00KB thread-reservation=1 |
| | | tuple-ids=4 row-size=12B cardinality=108 |
| | | in pipelines: 06(GETNEXT) |
| | | |
| | 05:SCAN HDFS [tpcds_parquet.catalog_sales] |
| | HDFS partitions=1/1 files=3 size=96.62MB |
| | runtime filters: RF000[bloom] -> tpcds_parquet.catalog_sales.cs_sold_time_sk, RF002[bloom] -> tpcds_parquet.catalog_sales.cs_item_sk, RF006[bloom] -> cs_sold_date_sk |
| | stored statistics: |
| | table: rows=1.44M size=96.62MB |
| | columns: all |
| | extrapolated-rows=disabled max-scan-range-rows=650.14K |
| | mem-estimate=192.00MB mem-reservation=8.00MB thread-reservation=1 |
| | tuple-ids=3 row-size=20B cardinality=1.44M |
| | in pipelines: 05(GETNEXT) |
| | |
| 04:HASH JOIN [INNER JOIN] |
| | hash predicates: ws_sold_date_sk = d_date_sk |
| | fk/pk conjuncts: ws_sold_date_sk = d_date_sk |
| | runtime filters: RF004[bloom] <- d_date_sk |
| | mem-estimate=1.94MB mem-reservation=1.94MB spill-buffer=64.00KB thread-reservation=0 |
| | tuple-ids=1,2 row-size=32B cardinality=42.85K |
| | in pipelines: 02(GETNEXT), 03(OPEN) |
| | |
| |--03:SCAN HDFS [tpcds_parquet.date_dim] |
| | HDFS partitions=1/1 files=1 size=2.15MB |
| | predicates: d_year = CAST(1999 AS INT), d_moy = CAST(11 AS INT) |
| | stored statistics: |
| | table: rows=73.05K size=2.15MB |
| | columns: all |
| | extrapolated-rows=disabled max-scan-range-rows=73.05K |
| | parquet statistics predicates: d_year = CAST(1999 AS INT), d_moy = CAST(11 AS INT) |
| | parquet dictionary predicates: d_year = CAST(1999 AS INT), d_moy = CAST(11 AS INT) |
| | mem-estimate=48.00MB mem-reservation=512.00KB thread-reservation=1 |
| | tuple-ids=2 row-size=12B cardinality=108 |
| | in pipelines: 03(GETNEXT) |
| | |
| 02:SCAN HDFS [tpcds_parquet.web_sales] |
| HDFS partitions=1/1 files=2 size=45.09MB |
| runtime filters: RF000[bloom] -> tpcds_parquet.web_sales.ws_sold_time_sk, RF002[bloom] -> tpcds_parquet.web_sales.ws_item_sk, RF004[bloom] -> ws_sold_date_sk |
| stored statistics: |
| table: rows=719.38K size=45.09MB |
| columns: all |
| extrapolated-rows=disabled max-scan-range-rows=644.77K |
| mem-estimate=128.00MB mem-reservation=8.00MB thread-reservation=1 |
| tuple-ids=1 row-size=20B cardinality=719.38K |
| in pipelines: 02(GETNEXT) |
| ---- DISTRIBUTEDPLAN |
| Max Per-Host Resource Reservation: Memory=68.00MB Threads=14 |
| Per-Host Resource Estimates: Memory=529MB |
| F10:PLAN FRAGMENT [UNPARTITIONED] hosts=1 instances=1 |
| | Per-Host Resources: mem-estimate=5.51MB mem-reservation=0B thread-reservation=1 |
| PLAN-ROOT SINK |
| | output exprs: i_brand_id, i_brand, t_hour, t_minute, sum(ext_price) |
| | mem-estimate=0B mem-reservation=0B thread-reservation=0 |
| | |
| 23:MERGING-EXCHANGE [UNPARTITIONED] |
| | order by: sum(ext_price) DESC, i_brand_id ASC |
| | mem-estimate=5.51MB mem-reservation=0B thread-reservation=0 |
| | tuple-ids=11 row-size=56B cardinality=298.71K |
| | in pipelines: 15(GETNEXT) |
| | |
| F09:PLAN FRAGMENT [HASH(i_brand,i_brand_id,t_hour,t_minute)] hosts=3 instances=3 |
| Per-Host Resources: mem-estimate=29.00MB mem-reservation=29.00MB thread-reservation=1 |
| 15:SORT |
| | order by: sum(ext_price) DESC, i_brand_id ASC |
| | mem-estimate=12.00MB mem-reservation=12.00MB spill-buffer=2.00MB thread-reservation=0 |
| | tuple-ids=11 row-size=56B cardinality=298.71K |
| | in pipelines: 15(GETNEXT), 22(OPEN) |
| | |
| 22:AGGREGATE [FINALIZE] |
| | output: sum:merge(ext_price) |
| | group by: i_brand, i_brand_id, t_hour, t_minute |
| | mem-estimate=17.00MB mem-reservation=17.00MB spill-buffer=1.00MB thread-reservation=0 |
| | tuple-ids=10 row-size=56B cardinality=298.71K |
| | in pipelines: 22(GETNEXT), 02(OPEN), 05(OPEN), 08(OPEN) |
| | |
| 21:EXCHANGE [HASH(i_brand,i_brand_id,t_hour,t_minute)] |
| | mem-estimate=5.51MB mem-reservation=0B thread-reservation=0 |
| | tuple-ids=10 row-size=56B cardinality=298.71K |
| | in pipelines: 02(GETNEXT), 05(GETNEXT), 08(GETNEXT) |
| | |
| F06:PLAN FRAGMENT [RANDOM] hosts=3 instances=3 |
| Per-Host Resources: mem-estimate=222.51MB mem-reservation=36.75MB thread-reservation=2 runtime-filters-memory=5.00MB |
| 14:AGGREGATE [STREAMING] |
| | output: sum(ext_price) |
| | group by: i_brand, i_brand_id, t_hour, t_minute |
| | mem-estimate=17.00MB mem-reservation=17.00MB spill-buffer=1.00MB thread-reservation=0 |
| | tuple-ids=10 row-size=56B cardinality=298.71K |
| | in pipelines: 02(GETNEXT), 05(GETNEXT), 08(GETNEXT) |
| | |
| 13:HASH JOIN [INNER JOIN, BROADCAST] |
| | hash predicates: time_sk = t_time_sk |
| | fk/pk conjuncts: assumed fk/pk |
| | runtime filters: RF000[bloom] <- t_time_sk |
| | mem-estimate=2.88MB mem-reservation=2.88MB spill-buffer=128.00KB thread-reservation=0 |
| | tuple-ids=7,0,9 row-size=91B cardinality=298.71K |
| | in pipelines: 02(GETNEXT), 05(GETNEXT), 08(GETNEXT), 11(OPEN) |
| | |
| |--20:EXCHANGE [BROADCAST] |
| | | mem-estimate=1.73MB mem-reservation=0B thread-reservation=0 |
| | | tuple-ids=9 row-size=31B cardinality=57.60K |
| | | in pipelines: 11(GETNEXT) |
| | | |
| | F08:PLAN FRAGMENT [RANDOM] hosts=1 instances=1 |
| | Per-Host Resources: mem-estimate=64.00MB mem-reservation=512.00KB thread-reservation=2 |
| | 11:SCAN HDFS [tpcds_parquet.time_dim, RANDOM] |
| | HDFS partitions=1/1 files=1 size=1.31MB |
| | predicates: t_meal_time IN ('breakfast', 'dinner') |
| | stored statistics: |
| | table: rows=86.40K size=1.31MB |
| | columns: all |
| | extrapolated-rows=disabled max-scan-range-rows=86.40K |
| | parquet statistics predicates: t_meal_time IN ('breakfast', 'dinner') |
| | parquet dictionary predicates: t_meal_time IN ('breakfast', 'dinner') |
| | mem-estimate=64.00MB mem-reservation=512.00KB thread-reservation=1 |
| | tuple-ids=9 row-size=31B cardinality=57.60K |
| | in pipelines: 11(GETNEXT) |
| | |
| 12:HASH JOIN [INNER JOIN, BROADCAST] |
| | hash predicates: sold_item_sk = i_item_sk |
| | fk/pk conjuncts: assumed fk/pk |
| | runtime filters: RF002[bloom] <- i_item_sk |
| | mem-estimate=1.94MB mem-reservation=1.94MB spill-buffer=64.00KB thread-reservation=0 |
| | tuple-ids=7,0 row-size=60B cardinality=298.71K |
| | in pipelines: 02(GETNEXT), 05(GETNEXT), 08(GETNEXT), 00(OPEN) |
| | |
| |--19:EXCHANGE [BROADCAST] |
| | | mem-estimate=16.42KB mem-reservation=0B thread-reservation=0 |
| | | tuple-ids=0 row-size=44B cardinality=182 |
| | | in pipelines: 00(GETNEXT) |
| | | |
| | F07:PLAN FRAGMENT [RANDOM] hosts=1 instances=1 |
| | Per-Host Resources: mem-estimate=64.00MB mem-reservation=256.00KB thread-reservation=2 |
| | 00:SCAN HDFS [tpcds_parquet.item, RANDOM] |
| | HDFS partitions=1/1 files=1 size=1.73MB |
| | predicates: i_manager_id = CAST(1 AS INT) |
| | stored statistics: |
| | table: rows=18.00K size=1.73MB |
| | columns: all |
| | extrapolated-rows=disabled max-scan-range-rows=18.00K |
| | parquet statistics predicates: i_manager_id = CAST(1 AS INT) |
| | parquet dictionary predicates: i_manager_id = CAST(1 AS INT) |
| | mem-estimate=64.00MB mem-reservation=256.00KB thread-reservation=1 |
| | tuple-ids=0 row-size=44B cardinality=182 |
| | in pipelines: 00(GETNEXT) |
| | |
| 01:UNION |
| | mem-estimate=0B mem-reservation=0B thread-reservation=0 |
| | tuple-ids=7 row-size=16B cardinality=298.71K |
| | in pipelines: 02(GETNEXT), 05(GETNEXT), 08(GETNEXT) |
| | |
| |--10:HASH JOIN [INNER JOIN, BROADCAST] |
| | | hash predicates: ss_sold_date_sk = d_date_sk |
| | | fk/pk conjuncts: ss_sold_date_sk = d_date_sk |
| | | runtime filters: RF008[bloom] <- d_date_sk |
| | | mem-estimate=1.94MB mem-reservation=1.94MB spill-buffer=64.00KB thread-reservation=0 |
| | | tuple-ids=5,6 row-size=32B cardinality=170.55K |
| | | in pipelines: 08(GETNEXT), 09(OPEN) |
| | | |
| | |--18:EXCHANGE [BROADCAST] |
| | | | mem-estimate=16.00KB mem-reservation=0B thread-reservation=0 |
| | | | tuple-ids=6 row-size=12B cardinality=108 |
| | | | in pipelines: 09(GETNEXT) |
| | | | |
| | | F05:PLAN FRAGMENT [RANDOM] hosts=1 instances=1 |
| | | Per-Host Resources: mem-estimate=48.00MB mem-reservation=512.00KB thread-reservation=2 |
| | | 09:SCAN HDFS [tpcds_parquet.date_dim, RANDOM] |
| | | HDFS partitions=1/1 files=1 size=2.15MB |
| | | predicates: d_year = CAST(1999 AS INT), d_moy = CAST(11 AS INT) |
| | | stored statistics: |
| | | table: rows=73.05K size=2.15MB |
| | | columns: all |
| | | extrapolated-rows=disabled max-scan-range-rows=73.05K |
| | | parquet statistics predicates: d_year = CAST(1999 AS INT), d_moy = CAST(11 AS INT) |
| | | parquet dictionary predicates: d_year = CAST(1999 AS INT), d_moy = CAST(11 AS INT) |
| | | mem-estimate=48.00MB mem-reservation=512.00KB thread-reservation=1 |
| | | tuple-ids=6 row-size=12B cardinality=108 |
| | | in pipelines: 09(GETNEXT) |
| | | |
| | 08:SCAN HDFS [tpcds_parquet.store_sales, RANDOM] |
| | HDFS partitions=1824/1824 files=1824 size=201.02MB |
| | runtime filters: RF000[bloom] -> tpcds_parquet.store_sales.ss_sold_time_sk, RF002[bloom] -> tpcds_parquet.store_sales.ss_item_sk, RF008[bloom] -> ss_sold_date_sk |
| | stored statistics: |
| | table: rows=2.88M size=201.02MB |
| | partitions: 1824/1824 rows=2.88M |
| | columns: all |
| | extrapolated-rows=disabled max-scan-range-rows=130.09K |
| | mem-estimate=48.00MB mem-reservation=2.00MB thread-reservation=1 |
| | tuple-ids=5 row-size=20B cardinality=2.88M |
| | in pipelines: 08(GETNEXT) |
| | |
| |--07:HASH JOIN [INNER JOIN, BROADCAST] |
| | | hash predicates: cs_sold_date_sk = d_date_sk |
| | | fk/pk conjuncts: cs_sold_date_sk = d_date_sk |
| | | runtime filters: RF006[bloom] <- d_date_sk |
| | | mem-estimate=1.94MB mem-reservation=1.94MB spill-buffer=64.00KB thread-reservation=0 |
| | | tuple-ids=3,4 row-size=32B cardinality=85.31K |
| | | in pipelines: 05(GETNEXT), 06(OPEN) |
| | | |
| | |--17:EXCHANGE [BROADCAST] |
| | | | mem-estimate=16.00KB mem-reservation=0B thread-reservation=0 |
| | | | tuple-ids=4 row-size=12B cardinality=108 |
| | | | in pipelines: 06(GETNEXT) |
| | | | |
| | | F03:PLAN FRAGMENT [RANDOM] hosts=1 instances=1 |
| | | Per-Host Resources: mem-estimate=48.00MB mem-reservation=512.00KB thread-reservation=2 |
| | | 06:SCAN HDFS [tpcds_parquet.date_dim, RANDOM] |
| | | HDFS partitions=1/1 files=1 size=2.15MB |
| | | predicates: d_year = CAST(1999 AS INT), d_moy = CAST(11 AS INT) |
| | | stored statistics: |
| | | table: rows=73.05K size=2.15MB |
| | | columns: all |
| | | extrapolated-rows=disabled max-scan-range-rows=73.05K |
| | | parquet statistics predicates: d_year = CAST(1999 AS INT), d_moy = CAST(11 AS INT) |
| | | parquet dictionary predicates: d_year = CAST(1999 AS INT), d_moy = CAST(11 AS INT) |
| | | mem-estimate=48.00MB mem-reservation=512.00KB thread-reservation=1 |
| | | tuple-ids=4 row-size=12B cardinality=108 |
| | | in pipelines: 06(GETNEXT) |
| | | |
| | 05:SCAN HDFS [tpcds_parquet.catalog_sales, RANDOM] |
| | HDFS partitions=1/1 files=3 size=96.62MB |
| | runtime filters: RF000[bloom] -> tpcds_parquet.catalog_sales.cs_sold_time_sk, RF002[bloom] -> tpcds_parquet.catalog_sales.cs_item_sk, RF006[bloom] -> cs_sold_date_sk |
| | stored statistics: |
| | table: rows=1.44M size=96.62MB |
| | columns: all |
| | extrapolated-rows=disabled max-scan-range-rows=650.14K |
| | mem-estimate=192.00MB mem-reservation=8.00MB thread-reservation=1 |
| | tuple-ids=3 row-size=20B cardinality=1.44M |
| | in pipelines: 05(GETNEXT) |
| | |
| 04:HASH JOIN [INNER JOIN, BROADCAST] |
| | hash predicates: ws_sold_date_sk = d_date_sk |
| | fk/pk conjuncts: ws_sold_date_sk = d_date_sk |
| | runtime filters: RF004[bloom] <- d_date_sk |
| | mem-estimate=1.94MB mem-reservation=1.94MB spill-buffer=64.00KB thread-reservation=0 |
| | tuple-ids=1,2 row-size=32B cardinality=42.85K |
| | in pipelines: 02(GETNEXT), 03(OPEN) |
| | |
| |--16:EXCHANGE [BROADCAST] |
| | | mem-estimate=16.00KB mem-reservation=0B thread-reservation=0 |
| | | tuple-ids=2 row-size=12B cardinality=108 |
| | | in pipelines: 03(GETNEXT) |
| | | |
| | F01:PLAN FRAGMENT [RANDOM] hosts=1 instances=1 |
| | Per-Host Resources: mem-estimate=48.00MB mem-reservation=512.00KB thread-reservation=2 |
| | 03:SCAN HDFS [tpcds_parquet.date_dim, RANDOM] |
| | HDFS partitions=1/1 files=1 size=2.15MB |
| | predicates: d_year = CAST(1999 AS INT), d_moy = CAST(11 AS INT) |
| | stored statistics: |
| | table: rows=73.05K size=2.15MB |
| | columns: all |
| | extrapolated-rows=disabled max-scan-range-rows=73.05K |
| | parquet statistics predicates: d_year = CAST(1999 AS INT), d_moy = CAST(11 AS INT) |
| | parquet dictionary predicates: d_year = CAST(1999 AS INT), d_moy = CAST(11 AS INT) |
| | mem-estimate=48.00MB mem-reservation=512.00KB thread-reservation=1 |
| | tuple-ids=2 row-size=12B cardinality=108 |
| | in pipelines: 03(GETNEXT) |
| | |
| 02:SCAN HDFS [tpcds_parquet.web_sales, RANDOM] |
| HDFS partitions=1/1 files=2 size=45.09MB |
| runtime filters: RF000[bloom] -> tpcds_parquet.web_sales.ws_sold_time_sk, RF002[bloom] -> tpcds_parquet.web_sales.ws_item_sk, RF004[bloom] -> ws_sold_date_sk |
| stored statistics: |
| table: rows=719.38K size=45.09MB |
| columns: all |
| extrapolated-rows=disabled max-scan-range-rows=644.77K |
| mem-estimate=128.00MB mem-reservation=8.00MB thread-reservation=1 |
| tuple-ids=1 row-size=20B cardinality=719.38K |
| in pipelines: 02(GETNEXT) |
| ---- PARALLELPLANS |
| Max Per-Host Resource Reservation: Memory=108.50MB Threads=15 |
| Per-Host Resource Estimates: Memory=279MB |
| F10:PLAN FRAGMENT [UNPARTITIONED] hosts=1 instances=1 |
| | Per-Instance Resources: mem-estimate=5.69MB mem-reservation=0B thread-reservation=1 |
| PLAN-ROOT SINK |
| | output exprs: i_brand_id, i_brand, t_hour, t_minute, sum(ext_price) |
| | mem-estimate=0B mem-reservation=0B thread-reservation=0 |
| | |
| 23:MERGING-EXCHANGE [UNPARTITIONED] |
| | order by: sum(ext_price) DESC, i_brand_id ASC |
| | mem-estimate=5.69MB mem-reservation=0B thread-reservation=0 |
| | tuple-ids=11 row-size=56B cardinality=298.71K |
| | in pipelines: 15(GETNEXT) |
| | |
| F09:PLAN FRAGMENT [HASH(i_brand,i_brand_id,t_hour,t_minute)] hosts=3 instances=6 |
| Per-Instance Resources: mem-estimate=22.00MB mem-reservation=20.50MB thread-reservation=1 |
| 15:SORT |
| | order by: sum(ext_price) DESC, i_brand_id ASC |
| | mem-estimate=12.00MB mem-reservation=12.00MB spill-buffer=2.00MB thread-reservation=0 |
| | tuple-ids=11 row-size=56B cardinality=298.71K |
| | in pipelines: 15(GETNEXT), 22(OPEN) |
| | |
| 22:AGGREGATE [FINALIZE] |
| | output: sum:merge(ext_price) |
| | group by: i_brand, i_brand_id, t_hour, t_minute |
| | mem-estimate=10.00MB mem-reservation=8.50MB spill-buffer=512.00KB thread-reservation=0 |
| | tuple-ids=10 row-size=56B cardinality=298.71K |
| | in pipelines: 22(GETNEXT), 02(OPEN), 05(OPEN), 08(OPEN) |
| | |
| 21:EXCHANGE [HASH(i_brand,i_brand_id,t_hour,t_minute)] |
| | mem-estimate=5.69MB mem-reservation=0B thread-reservation=0 |
| | tuple-ids=10 row-size=56B cardinality=298.71K |
| | in pipelines: 02(GETNEXT), 05(GETNEXT), 08(GETNEXT) |
| | |
| F06:PLAN FRAGMENT [RANDOM] hosts=3 instances=6 |
| Per-Host Shared Resources: mem-estimate=5.00MB mem-reservation=5.00MB thread-reservation=0 runtime-filters-memory=5.00MB |
| Per-Instance Resources: mem-estimate=58.00MB mem-reservation=17.00MB thread-reservation=1 |
| 14:AGGREGATE [STREAMING] |
| | output: sum(ext_price) |
| | group by: i_brand, i_brand_id, t_hour, t_minute |
| | mem-estimate=10.00MB mem-reservation=9.00MB spill-buffer=512.00KB thread-reservation=0 |
| | tuple-ids=10 row-size=56B cardinality=298.71K |
| | in pipelines: 02(GETNEXT), 05(GETNEXT), 08(GETNEXT) |
| | |
| 13:HASH JOIN [INNER JOIN, BROADCAST] |
| | hash-table-id=00 |
| | hash predicates: time_sk = t_time_sk |
| | fk/pk conjuncts: assumed fk/pk |
| | mem-estimate=0B mem-reservation=0B spill-buffer=128.00KB thread-reservation=0 |
| | tuple-ids=7,0,9 row-size=91B cardinality=298.71K |
| | in pipelines: 02(GETNEXT), 05(GETNEXT), 08(GETNEXT), 11(OPEN) |
| | |
| |--F11:PLAN FRAGMENT [RANDOM] hosts=3 instances=3 |
| | | Per-Instance Resources: mem-estimate=8.48MB mem-reservation=6.75MB thread-reservation=1 runtime-filters-memory=1.00MB |
| | JOIN BUILD |
| | | join-table-id=00 plan-id=01 cohort-id=01 |
| | | build expressions: t_time_sk |
| | | runtime filters: RF000[bloom] <- t_time_sk |
| | | mem-estimate=5.75MB mem-reservation=5.75MB spill-buffer=128.00KB thread-reservation=0 |
| | | |
| | 20:EXCHANGE [BROADCAST] |
| | | mem-estimate=1.73MB mem-reservation=0B thread-reservation=0 |
| | | tuple-ids=9 row-size=31B cardinality=57.60K |
| | | in pipelines: 11(GETNEXT) |
| | | |
| | F08:PLAN FRAGMENT [RANDOM] hosts=1 instances=1 |
| | Per-Instance Resources: mem-estimate=16.00MB mem-reservation=512.00KB thread-reservation=1 |
| | 11:SCAN HDFS [tpcds_parquet.time_dim, RANDOM] |
| | HDFS partitions=1/1 files=1 size=1.31MB |
| | predicates: t_meal_time IN ('breakfast', 'dinner') |
| | stored statistics: |
| | table: rows=86.40K size=1.31MB |
| | columns: all |
| | extrapolated-rows=disabled max-scan-range-rows=86.40K |
| | parquet statistics predicates: t_meal_time IN ('breakfast', 'dinner') |
| | parquet dictionary predicates: t_meal_time IN ('breakfast', 'dinner') |
| | mem-estimate=16.00MB mem-reservation=512.00KB thread-reservation=0 |
| | tuple-ids=9 row-size=31B cardinality=57.60K |
| | in pipelines: 11(GETNEXT) |
| | |
| 12:HASH JOIN [INNER JOIN, BROADCAST] |
| | hash-table-id=01 |
| | hash predicates: sold_item_sk = i_item_sk |
| | fk/pk conjuncts: assumed fk/pk |
| | mem-estimate=0B mem-reservation=0B spill-buffer=64.00KB thread-reservation=0 |
| | tuple-ids=7,0 row-size=60B cardinality=298.71K |
| | in pipelines: 02(GETNEXT), 05(GETNEXT), 08(GETNEXT), 00(OPEN) |
| | |
| |--F12:PLAN FRAGMENT [RANDOM] hosts=3 instances=3 |
| | | Per-Instance Resources: mem-estimate=4.89MB mem-reservation=4.88MB thread-reservation=1 runtime-filters-memory=1.00MB |
| | JOIN BUILD |
| | | join-table-id=01 plan-id=02 cohort-id=01 |
| | | build expressions: i_item_sk |
| | | runtime filters: RF002[bloom] <- i_item_sk |
| | | mem-estimate=3.88MB mem-reservation=3.88MB spill-buffer=64.00KB thread-reservation=0 |
| | | |
| | 19:EXCHANGE [BROADCAST] |
| | | mem-estimate=16.42KB mem-reservation=0B thread-reservation=0 |
| | | tuple-ids=0 row-size=44B cardinality=182 |
| | | in pipelines: 00(GETNEXT) |
| | | |
| | F07:PLAN FRAGMENT [RANDOM] hosts=1 instances=1 |
| | Per-Instance Resources: mem-estimate=16.00MB mem-reservation=256.00KB thread-reservation=1 |
| | 00:SCAN HDFS [tpcds_parquet.item, RANDOM] |
| | HDFS partitions=1/1 files=1 size=1.73MB |
| | predicates: i_manager_id = CAST(1 AS INT) |
| | stored statistics: |
| | table: rows=18.00K size=1.73MB |
| | columns: all |
| | extrapolated-rows=disabled max-scan-range-rows=18.00K |
| | parquet statistics predicates: i_manager_id = CAST(1 AS INT) |
| | parquet dictionary predicates: i_manager_id = CAST(1 AS INT) |
| | mem-estimate=16.00MB mem-reservation=256.00KB thread-reservation=0 |
| | tuple-ids=0 row-size=44B cardinality=182 |
| | in pipelines: 00(GETNEXT) |
| | |
| 01:UNION |
| | mem-estimate=0B mem-reservation=0B thread-reservation=0 |
| | tuple-ids=7 row-size=16B cardinality=298.71K |
| | in pipelines: 02(GETNEXT), 05(GETNEXT), 08(GETNEXT) |
| | |
| |--10:HASH JOIN [INNER JOIN, BROADCAST] |
| | | hash-table-id=04 |
| | | hash predicates: ss_sold_date_sk = d_date_sk |
| | | fk/pk conjuncts: ss_sold_date_sk = d_date_sk |
| | | mem-estimate=0B mem-reservation=0B spill-buffer=64.00KB thread-reservation=0 |
| | | tuple-ids=5,6 row-size=32B cardinality=170.55K |
| | | in pipelines: 08(GETNEXT), 09(OPEN) |
| | | |
| | |--F15:PLAN FRAGMENT [RANDOM] hosts=3 instances=3 |
| | | | Per-Instance Resources: mem-estimate=4.89MB mem-reservation=4.88MB thread-reservation=1 runtime-filters-memory=1.00MB |
| | | JOIN BUILD |
| | | | join-table-id=04 plan-id=05 cohort-id=01 |
| | | | build expressions: d_date_sk |
| | | | runtime filters: RF008[bloom] <- d_date_sk |
| | | | mem-estimate=3.88MB mem-reservation=3.88MB spill-buffer=64.00KB thread-reservation=0 |
| | | | |
| | | 18:EXCHANGE [BROADCAST] |
| | | | mem-estimate=16.00KB mem-reservation=0B thread-reservation=0 |
| | | | tuple-ids=6 row-size=12B cardinality=108 |
| | | | in pipelines: 09(GETNEXT) |
| | | | |
| | | F05:PLAN FRAGMENT [RANDOM] hosts=1 instances=1 |
| | | Per-Instance Resources: mem-estimate=16.00MB mem-reservation=512.00KB thread-reservation=1 |
| | | 09:SCAN HDFS [tpcds_parquet.date_dim, RANDOM] |
| | | HDFS partitions=1/1 files=1 size=2.15MB |
| | | predicates: d_year = CAST(1999 AS INT), d_moy = CAST(11 AS INT) |
| | | stored statistics: |
| | | table: rows=73.05K size=2.15MB |
| | | columns: all |
| | | extrapolated-rows=disabled max-scan-range-rows=73.05K |
| | | parquet statistics predicates: d_year = CAST(1999 AS INT), d_moy = CAST(11 AS INT) |
| | | parquet dictionary predicates: d_year = CAST(1999 AS INT), d_moy = CAST(11 AS INT) |
| | | mem-estimate=16.00MB mem-reservation=512.00KB thread-reservation=0 |
| | | tuple-ids=6 row-size=12B cardinality=108 |
| | | in pipelines: 09(GETNEXT) |
| | | |
| | 08:SCAN HDFS [tpcds_parquet.store_sales, RANDOM] |
| | HDFS partitions=1824/1824 files=1824 size=201.02MB |
| | runtime filters: RF000[bloom] -> tpcds_parquet.store_sales.ss_sold_time_sk, RF002[bloom] -> tpcds_parquet.store_sales.ss_item_sk, RF008[bloom] -> ss_sold_date_sk |
| | stored statistics: |
| | table: rows=2.88M size=201.02MB |
| | partitions: 1824/1824 rows=2.88M |
| | columns: all |
| | extrapolated-rows=disabled max-scan-range-rows=130.09K |
| | mem-estimate=16.00MB mem-reservation=2.00MB thread-reservation=0 |
| | tuple-ids=5 row-size=20B cardinality=2.88M |
| | in pipelines: 08(GETNEXT) |
| | |
| |--07:HASH JOIN [INNER JOIN, BROADCAST] |
| | | hash-table-id=03 |
| | | hash predicates: cs_sold_date_sk = d_date_sk |
| | | fk/pk conjuncts: cs_sold_date_sk = d_date_sk |
| | | mem-estimate=0B mem-reservation=0B spill-buffer=64.00KB thread-reservation=0 |
| | | tuple-ids=3,4 row-size=32B cardinality=85.31K |
| | | in pipelines: 05(GETNEXT), 06(OPEN) |
| | | |
| | |--F14:PLAN FRAGMENT [RANDOM] hosts=3 instances=3 |
| | | | Per-Instance Resources: mem-estimate=4.89MB mem-reservation=4.88MB thread-reservation=1 runtime-filters-memory=1.00MB |
| | | JOIN BUILD |
| | | | join-table-id=03 plan-id=04 cohort-id=01 |
| | | | build expressions: d_date_sk |
| | | | runtime filters: RF006[bloom] <- d_date_sk |
| | | | mem-estimate=3.88MB mem-reservation=3.88MB spill-buffer=64.00KB thread-reservation=0 |
| | | | |
| | | 17:EXCHANGE [BROADCAST] |
| | | | mem-estimate=16.00KB mem-reservation=0B thread-reservation=0 |
| | | | tuple-ids=4 row-size=12B cardinality=108 |
| | | | in pipelines: 06(GETNEXT) |
| | | | |
| | | F03:PLAN FRAGMENT [RANDOM] hosts=1 instances=1 |
| | | Per-Instance Resources: mem-estimate=16.00MB mem-reservation=512.00KB thread-reservation=1 |
| | | 06:SCAN HDFS [tpcds_parquet.date_dim, RANDOM] |
| | | HDFS partitions=1/1 files=1 size=2.15MB |
| | | predicates: d_year = CAST(1999 AS INT), d_moy = CAST(11 AS INT) |
| | | stored statistics: |
| | | table: rows=73.05K size=2.15MB |
| | | columns: all |
| | | extrapolated-rows=disabled max-scan-range-rows=73.05K |
| | | parquet statistics predicates: d_year = CAST(1999 AS INT), d_moy = CAST(11 AS INT) |
| | | parquet dictionary predicates: d_year = CAST(1999 AS INT), d_moy = CAST(11 AS INT) |
| | | mem-estimate=16.00MB mem-reservation=512.00KB thread-reservation=0 |
| | | tuple-ids=4 row-size=12B cardinality=108 |
| | | in pipelines: 06(GETNEXT) |
| | | |
| | 05:SCAN HDFS [tpcds_parquet.catalog_sales, RANDOM] |
| | HDFS partitions=1/1 files=3 size=96.62MB |
| | runtime filters: RF000[bloom] -> tpcds_parquet.catalog_sales.cs_sold_time_sk, RF002[bloom] -> tpcds_parquet.catalog_sales.cs_item_sk, RF006[bloom] -> cs_sold_date_sk |
| | stored statistics: |
| | table: rows=1.44M size=96.62MB |
| | columns: all |
| | extrapolated-rows=disabled max-scan-range-rows=650.14K |
| | mem-estimate=48.00MB mem-reservation=8.00MB thread-reservation=0 |
| | tuple-ids=3 row-size=20B cardinality=1.44M |
| | in pipelines: 05(GETNEXT) |
| | |
| 04:HASH JOIN [INNER JOIN, BROADCAST] |
| | hash-table-id=02 |
| | hash predicates: ws_sold_date_sk = d_date_sk |
| | fk/pk conjuncts: ws_sold_date_sk = d_date_sk |
| | mem-estimate=0B mem-reservation=0B spill-buffer=64.00KB thread-reservation=0 |
| | tuple-ids=1,2 row-size=32B cardinality=42.85K |
| | in pipelines: 02(GETNEXT), 03(OPEN) |
| | |
| |--F13:PLAN FRAGMENT [RANDOM] hosts=3 instances=3 |
| | | Per-Instance Resources: mem-estimate=4.89MB mem-reservation=4.88MB thread-reservation=1 runtime-filters-memory=1.00MB |
| | JOIN BUILD |
| | | join-table-id=02 plan-id=03 cohort-id=01 |
| | | build expressions: d_date_sk |
| | | runtime filters: RF004[bloom] <- d_date_sk |
| | | mem-estimate=3.88MB mem-reservation=3.88MB spill-buffer=64.00KB thread-reservation=0 |
| | | |
| | 16:EXCHANGE [BROADCAST] |
| | | mem-estimate=16.00KB mem-reservation=0B thread-reservation=0 |
| | | tuple-ids=2 row-size=12B cardinality=108 |
| | | in pipelines: 03(GETNEXT) |
| | | |
| | F01:PLAN FRAGMENT [RANDOM] hosts=1 instances=1 |
| | Per-Instance Resources: mem-estimate=16.00MB mem-reservation=512.00KB thread-reservation=1 |
| | 03:SCAN HDFS [tpcds_parquet.date_dim, RANDOM] |
| | HDFS partitions=1/1 files=1 size=2.15MB |
| | predicates: d_year = CAST(1999 AS INT), d_moy = CAST(11 AS INT) |
| | stored statistics: |
| | table: rows=73.05K size=2.15MB |
| | columns: all |
| | extrapolated-rows=disabled max-scan-range-rows=73.05K |
| | parquet statistics predicates: d_year = CAST(1999 AS INT), d_moy = CAST(11 AS INT) |
| | parquet dictionary predicates: d_year = CAST(1999 AS INT), d_moy = CAST(11 AS INT) |
| | mem-estimate=16.00MB mem-reservation=512.00KB thread-reservation=0 |
| | tuple-ids=2 row-size=12B cardinality=108 |
| | in pipelines: 03(GETNEXT) |
| | |
| 02:SCAN HDFS [tpcds_parquet.web_sales, RANDOM] |
| HDFS partitions=1/1 files=2 size=45.09MB |
| runtime filters: RF000[bloom] -> tpcds_parquet.web_sales.ws_sold_time_sk, RF002[bloom] -> tpcds_parquet.web_sales.ws_item_sk, RF004[bloom] -> ws_sold_date_sk |
| stored statistics: |
| table: rows=719.38K size=45.09MB |
| columns: all |
| extrapolated-rows=disabled max-scan-range-rows=644.77K |
| mem-estimate=32.00MB mem-reservation=8.00MB thread-reservation=0 |
| tuple-ids=1 row-size=20B cardinality=719.38K |
| in pipelines: 02(GETNEXT) |
| ==== |