| # TPCDS-Q61 |
| # start query 61 in stream 0 using template query61.tpl using seed 789351448 |
| select promotions,total,cast(promotions as decimal(15,4))/cast(total as decimal(15,4))*100 |
| from |
| (select sum(ss_ext_sales_price) promotions |
| from store_sales |
| ,store |
| ,promotion |
| ,date_dim |
| ,customer |
| ,customer_address |
| ,item |
| where ss_sold_date_sk = d_date_sk |
| and ss_store_sk = s_store_sk |
| and ss_promo_sk = p_promo_sk |
| and ss_customer_sk= c_customer_sk |
| and ca_address_sk = c_current_addr_sk |
| and ss_item_sk = i_item_sk |
| and ca_gmt_offset = -7 |
| and i_category = 'Electronics' |
| and (p_channel_dmail = 'Y' or p_channel_email = 'Y' or p_channel_tv = 'Y') |
| and s_gmt_offset = -7 |
| and d_year = 2001 |
| and d_moy = 11) promotional_sales, |
| (select sum(ss_ext_sales_price) total |
| from store_sales |
| ,store |
| ,date_dim |
| ,customer |
| ,customer_address |
| ,item |
| where ss_sold_date_sk = d_date_sk |
| and ss_store_sk = s_store_sk |
| and ss_customer_sk= c_customer_sk |
| and ca_address_sk = c_current_addr_sk |
| and ss_item_sk = i_item_sk |
| and ca_gmt_offset = -7 |
| and i_category = 'Electronics' |
| and s_gmt_offset = -7 |
| and d_year = 2001 |
| and d_moy = 11) all_sales |
| order by promotions, total |
| limit 100; |
| |
| # end query 61 in stream 0 using template query61.tpl |
| ---- PLAN |
| Max Per-Host Resource Reservation: Memory=265.75MB Threads=1 |
| Per-Host Resource Estimates: Memory=2.39GB |
| F00:PLAN FRAGMENT [UNPARTITIONED] hosts=1 instances=1 |
| | Per-Instance Resources: mem-estimate=2.39GB mem-reservation=265.75MB thread-reservation=1 runtime-filters-memory=42.00MB |
| | max-parallelism=1 segment-costs=[616887452, 585545759, 0, 3] |
| PLAN-ROOT SINK |
| | output exprs: promotions, total, CAST(promotions AS DECIMAL(15,4)) / CAST(total AS DECIMAL(15,4)) * CAST(100 AS DECIMAL(3,0)) |
| | mem-estimate=4.00MB mem-reservation=4.00MB spill-buffer=2.00MB thread-reservation=0 cost=3 |
| | |
| 27:TOP-N [LIMIT=100] |
| | order by: promotions ASC, total ASC |
| | mem-estimate=32B mem-reservation=0B thread-reservation=0 |
| | tuple-ids=17 row-size=32B cardinality=1 cost=0 |
| | in pipelines: 27(GETNEXT), 13(OPEN) |
| | |
| 40:TUPLE CACHE |
| | cache key: a2abf9042cfc59941e21f60e91a2e8e7 |
| | input scan node ids: 0,3,6,1,4,5,2,14,16,19,15,17,18 |
| | estimated serialized size: 40B |
| | estimated serialized size per node: 4B |
| | cumulative processing cost: 1202433211 |
| | cache read processing cost: 0 |
| | cache write processing cost: 0 |
| | mem-estimate=4.00MB mem-reservation=4.00MB spill-buffer=2.00MB thread-reservation=0 |
| | tuple-ids=7,15 row-size=32B cardinality=1 cost=0 |
| | in pipelines: 13(GETNEXT) |
| | |
| 26:NESTED LOOP JOIN [CROSS JOIN] |
| | mem-estimate=16B mem-reservation=0B thread-reservation=0 |
| | tuple-ids=7,15 row-size=32B cardinality=1 cost=0 |
| | in pipelines: 13(GETNEXT), 25(OPEN) |
| | |
| |--39:TUPLE CACHE |
| | | cache key: b8e16800c0e18ef77f757f27484c81a6 |
| | | input scan node ids: 14,16,19,15,17,18 |
| | | estimated serialized size: 20B |
| | | estimated serialized size per node: 2B |
| | | cumulative processing cost: 585545759 |
| | | cache read processing cost: 0 |
| | | cache write processing cost: 0 |
| | | mem-estimate=4.00MB mem-reservation=4.00MB spill-buffer=2.00MB thread-reservation=0 |
| | | tuple-ids=15 row-size=16B cardinality=1 cost=0 |
| | | in pipelines: 25(GETNEXT) |
| | | |
| | 25:AGGREGATE [FINALIZE] |
| | | output: sum(ss_ext_sales_price) |
| | | mem-estimate=16.00KB mem-reservation=0B spill-buffer=2.00MB thread-reservation=0 |
| | | tuple-ids=15 row-size=16B cardinality=1 cost=299532 |
| | | in pipelines: 25(GETNEXT), 14(OPEN) |
| | | |
| | 38:TUPLE CACHE |
| | | cache key: 95704ea002d80edecfb47d268d82dcaf |
| | | input scan node ids: 14,16,19,15,17,18 |
| | | estimated serialized size: 415.86MB |
| | | estimated serialized size per node: 41.59MB |
| | | cumulative processing cost: 585246227 |
| | | cache read processing cost: 568684 |
| | | cache write processing cost: 1177350 |
| | | mem-estimate=4.00MB mem-reservation=4.00MB spill-buffer=2.00MB thread-reservation=0 |
| | | tuple-ids=9,11,14,10,12,13 row-size=78B cardinality=4.28M cost=0 |
| | | in pipelines: 14(GETNEXT) |
| | | |
| | 24:HASH JOIN [INNER JOIN] |
| | | hash predicates: c_current_addr_sk = ca_address_sk |
| | | fk/pk conjuncts: c_current_addr_sk = ca_address_sk |
| | | runtime filters: RF012[bloom] <- ca_address_sk, RF013[min_max] <- ca_address_sk |
| | | mem-estimate=66.50MB mem-reservation=34.00MB spill-buffer=2.00MB thread-reservation=0 |
| | | tuple-ids=9,11,14,10,12,13 row-size=78B cardinality=4.28M cost=9238778 |
| | | in pipelines: 14(GETNEXT), 18(OPEN) |
| | | |
| | |--37:TUPLE CACHE |
| | | | cache key: 1c75dbdf2029ab616ffc1691fcc4bc81 |
| | | | input scan node ids: 18 |
| | | | estimated serialized size: 27.75MB |
| | | | estimated serialized size per node: 2.78MB |
| | | | cumulative processing cost: 2149500 |
| | | | cache read processing cost: 322288 |
| | | | cache write processing cost: 78571 |
| | | | mem-estimate=4.00MB mem-reservation=4.00MB spill-buffer=2.00MB thread-reservation=0 |
| | | | tuple-ids=13 row-size=8B cardinality=2.43M cost=0 |
| | | | in pipelines: 18(GETNEXT) |
| | | | |
| | | 18:SCAN HDFS [tpcds_partitioned_parquet_snap.customer_address] |
| | | HDFS partitions=1/1 files=1 size=307.36MB |
| | | deterministic scan range assignment: true |
| | | schedule scan ranges oldest to newest: true |
| | | predicates: ca_gmt_offset = CAST(-7 AS DECIMAL(3,0)) |
| | | stored statistics: |
| | | table: rows=15.00M size=307.36MB |
| | | columns: all |
| | | extrapolated-rows=disabled max-scan-range-rows=1.58M |
| | | parquet statistics predicates: ca_gmt_offset = CAST(-7 AS DECIMAL(3,0)) |
| | | parquet dictionary predicates: ca_gmt_offset = CAST(-7 AS DECIMAL(3,0)) |
| | | mem-estimate=16.00MB mem-reservation=128.00KB thread-reservation=0 |
| | | tuple-ids=13 row-size=8B cardinality=2.43M cost=2149500 |
| | | in pipelines: 18(GETNEXT) |
| | | |
| | 23:HASH JOIN [INNER JOIN] |
| | | hash predicates: ss_customer_sk = c_customer_sk |
| | | fk/pk conjuncts: ss_customer_sk = c_customer_sk |
| | | runtime filters: RF014[bloom] <- c_customer_sk, RF015[min_max] <- c_customer_sk |
| | | mem-estimate=996.88MB mem-reservation=34.00MB spill-buffer=2.00MB thread-reservation=0 |
| | | tuple-ids=9,11,14,10,12 row-size=70B cardinality=23.54M cost=40843649 |
| | | in pipelines: 14(GETNEXT), 17(OPEN) |
| | | |
| | |--17:SCAN HDFS [tpcds_partitioned_parquet_snap.customer] |
| | | HDFS partitions=1/1 files=1 size=1.55GB |
| | | deterministic scan range assignment: true |
| | | schedule scan ranges oldest to newest: true |
| | | runtime filters: RF013[min_max] -> c_current_addr_sk, RF012[bloom] -> c_current_addr_sk |
| | | stored statistics: |
| | | table: rows=30.00M size=1.55GB |
| | | columns: all |
| | | extrapolated-rows=disabled max-scan-range-rows=3.10M |
| | | mem-estimate=16.00MB mem-reservation=1.00MB thread-reservation=0 |
| | | tuple-ids=12 row-size=8B cardinality=30.00M cost=3456000 |
| | | in pipelines: 17(GETNEXT) |
| | | |
| | 22:HASH JOIN [INNER JOIN] |
| | | hash predicates: ss_store_sk = s_store_sk |
| | | fk/pk conjuncts: ss_store_sk = s_store_sk |
| | | runtime filters: RF016[bloom] <- s_store_sk, RF017[min_max] <- s_store_sk |
| | | mem-estimate=1.94MB mem-reservation=1.94MB spill-buffer=64.00KB thread-reservation=0 |
| | | tuple-ids=9,11,14,10 row-size=62B cardinality=25.65M cost=17731588 |
| | | in pipelines: 14(GETNEXT), 15(OPEN) |
| | | |
| | |--36:TUPLE CACHE |
| | | | cache key: 1d7377046104372f67367e5fd2d2a71a |
| | | | input scan node ids: 15 |
| | | | estimated serialized size: 3.94KB |
| | | | estimated serialized size per node: 3.94KB |
| | | | cumulative processing cost: 193 |
| | | | cache read processing cost: 44 |
| | | | cache write processing cost: 10 |
| | | | mem-estimate=4.00MB mem-reservation=4.00MB spill-buffer=2.00MB thread-reservation=0 |
| | | | tuple-ids=10 row-size=8B cardinality=336 cost=0 |
| | | | in pipelines: 15(GETNEXT) |
| | | | |
| | | 15:SCAN HDFS [tpcds_partitioned_parquet_snap.store] |
| | | HDFS partitions=1/1 files=1 size=119.76KB |
| | | deterministic scan range assignment: true |
| | | schedule scan ranges oldest to newest: true |
| | | predicates: s_gmt_offset = CAST(-7 AS DECIMAL(3,0)) |
| | | stored statistics: |
| | | table: rows=1.35K size=119.76KB |
| | | columns: all |
| | | extrapolated-rows=disabled max-scan-range-rows=1.35K |
| | | parquet statistics predicates: s_gmt_offset = CAST(-7 AS DECIMAL(3,0)) |
| | | parquet dictionary predicates: s_gmt_offset = CAST(-7 AS DECIMAL(3,0)) |
| | | mem-estimate=16.00MB mem-reservation=16.00KB thread-reservation=0 |
| | | tuple-ids=10 row-size=8B cardinality=336 cost=193 |
| | | in pipelines: 15(GETNEXT) |
| | | |
| | 21:HASH JOIN [INNER JOIN] |
| | | hash predicates: ss_item_sk = i_item_sk |
| | | fk/pk conjuncts: ss_item_sk = i_item_sk |
| | | runtime filters: RF018[bloom] <- i_item_sk, RF019[min_max] <- i_item_sk |
| | | mem-estimate=2.88MB mem-reservation=2.88MB spill-buffer=128.00KB thread-reservation=0 |
| | | tuple-ids=9,11,14 row-size=54B cardinality=51.01M cost=140498163 |
| | | in pipelines: 14(GETNEXT), 19(OPEN) |
| | | |
| | |--35:TUPLE CACHE |
| | | | cache key: 3f955d4d5ce7c89432955d9636c9524d |
| | | | input scan node ids: 19 |
| | | | estimated serialized size: 908.58KB |
| | | | estimated serialized size per node: 227.14KB |
| | | | cumulative processing cost: 61463 |
| | | | cache read processing cost: 4773 |
| | | | cache write processing cost: 2512 |
| | | | mem-estimate=4.00MB mem-reservation=4.00MB spill-buffer=2.00MB thread-reservation=0 |
| | | | tuple-ids=14 row-size=22B cardinality=35.91K cost=0 |
| | | | in pipelines: 19(GETNEXT) |
| | | | |
| | | 19:SCAN HDFS [tpcds_partitioned_parquet_snap.item] |
| | | HDFS partitions=1/1 files=1 size=33.54MB |
| | | deterministic scan range assignment: true |
| | | schedule scan ranges oldest to newest: true |
| | | predicates: i_category = 'Electronics' |
| | | stored statistics: |
| | | table: rows=360.00K size=33.54MB |
| | | columns: all |
| | | extrapolated-rows=disabled max-scan-range-rows=101.54K |
| | | parquet statistics predicates: i_category = 'Electronics' |
| | | parquet dictionary predicates: i_category = 'Electronics' |
| | | mem-estimate=16.00MB mem-reservation=512.00KB thread-reservation=0 |
| | | tuple-ids=14 row-size=22B cardinality=35.91K cost=61463 |
| | | in pipelines: 19(GETNEXT) |
| | | |
| | 20: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: RF020[bloom] <- d_date_sk |
| | | mem-estimate=1.94MB mem-reservation=1.94MB spill-buffer=64.00KB thread-reservation=0 |
| | | tuple-ids=9,11 row-size=32B cardinality=511.58M cost=223916534 |
| | | in pipelines: 14(GETNEXT), 16(OPEN) |
| | | |
| | |--34:TUPLE CACHE |
| | | | cache key: 335069d4d246dd71cc20b62ef6070beb |
| | | | input scan node ids: 16 |
| | | | estimated serialized size: 1.69KB |
| | | | estimated serialized size per node: 1.69KB |
| | | | cumulative processing cost: 16728 |
| | | | cache read processing cost: 14 |
| | | | cache write processing cost: 4 |
| | | | mem-estimate=4.00MB mem-reservation=4.00MB spill-buffer=2.00MB thread-reservation=0 |
| | | | tuple-ids=11 row-size=12B cardinality=108 cost=0 |
| | | | in pipelines: 16(GETNEXT) |
| | | | |
| | | 16:SCAN HDFS [tpcds_partitioned_parquet_snap.date_dim] |
| | | HDFS partitions=1/1 files=1 size=2.17MB |
| | | deterministic scan range assignment: true |
| | | schedule scan ranges oldest to newest: true |
| | | predicates: d_year = CAST(2001 AS INT), d_moy = CAST(11 AS INT) |
| | | stored statistics: |
| | | table: rows=73.05K size=2.17MB |
| | | columns: all |
| | | extrapolated-rows=disabled max-scan-range-rows=73.05K |
| | | parquet statistics predicates: d_year = CAST(2001 AS INT), d_moy = CAST(11 AS INT) |
| | | parquet dictionary predicates: d_year = CAST(2001 AS INT), d_moy = CAST(11 AS INT) |
| | | mem-estimate=16.00MB mem-reservation=512.00KB thread-reservation=0 |
| | | tuple-ids=11 row-size=12B cardinality=108 cost=16728 |
| | | in pipelines: 16(GETNEXT) |
| | | |
| | 14:SCAN HDFS [tpcds_partitioned_parquet_snap.store_sales] |
| | HDFS partitions=1824/1824 files=1824 size=389.90GB |
| | deterministic scan range assignment: true |
| | schedule scan ranges oldest to newest: true |
| | runtime filters: RF019[min_max] -> ss_item_sk, RF017[min_max] -> ss_store_sk, RF015[min_max] -> ss_customer_sk, RF020[bloom] -> ss_sold_date_sk, RF018[bloom] -> ss_item_sk, RF016[bloom] -> ss_store_sk, RF014[bloom] -> ss_customer_sk |
| | stored statistics: |
| | table: rows=8.64G size=389.90GB |
| | partitions: 1824/1824 rows=8.64G |
| | columns: all |
| | extrapolated-rows=disabled max-scan-range-rows=390.22M est-scan-range=109(filtered from 1824) |
| | mem-estimate=16.00MB mem-reservation=8.00MB thread-reservation=0 |
| | tuple-ids=9 row-size=20B cardinality=511.58M(filtered from 8.64G) cost=147333631 |
| | in pipelines: 14(GETNEXT) |
| | |
| 33:TUPLE CACHE |
| | cache key: 4476066d6d8f0d8bc941846084d60d0b |
| | input scan node ids: 0,3,6,1,4,5,2 |
| | estimated serialized size: 20B |
| | estimated serialized size per node: 2B |
| | cumulative processing cost: 616887452 |
| | cache read processing cost: 0 |
| | cache write processing cost: 0 |
| | mem-estimate=4.00MB mem-reservation=4.00MB spill-buffer=2.00MB thread-reservation=0 |
| | tuple-ids=7 row-size=16B cardinality=1 cost=0 |
| | in pipelines: 13(GETNEXT) |
| | |
| 13:AGGREGATE [FINALIZE] |
| | output: sum(ss_ext_sales_price) |
| | mem-estimate=16.00KB mem-reservation=0B spill-buffer=2.00MB thread-reservation=0 |
| | tuple-ids=7 row-size=16B cardinality=1 cost=299532 |
| | in pipelines: 13(GETNEXT), 00(OPEN) |
| | |
| 12:HASH JOIN [INNER JOIN] |
| | hash predicates: ss_promo_sk = p_promo_sk |
| | fk/pk conjuncts: ss_promo_sk = p_promo_sk |
| | runtime filters: RF001[min_max] <- p_promo_sk |
| | mem-estimate=1.94MB mem-reservation=1.94MB spill-buffer=64.00KB thread-reservation=0 |
| | tuple-ids=0,3,6,1,4,5,2 row-size=125B cardinality=4.28M cost=1874734 |
| | in pipelines: 00(GETNEXT), 02(OPEN) |
| | |
| |--02:SCAN HDFS [tpcds_partitioned_parquet_snap.promotion] |
| | HDFS partitions=1/1 files=1 size=100.50KB |
| | deterministic scan range assignment: true |
| | schedule scan ranges oldest to newest: true |
| | predicates: (p_channel_dmail = 'Y' OR p_channel_email = 'Y' OR p_channel_tv = 'Y') |
| | stored statistics: |
| | table: rows=1.80K size=100.50KB |
| | columns: all |
| | extrapolated-rows=disabled max-scan-range-rows=1.80K |
| | mem-estimate=16.00MB mem-reservation=32.00KB thread-reservation=0 |
| | tuple-ids=2 row-size=43B cardinality=1.80K cost=232 |
| | in pipelines: 02(GETNEXT) |
| | |
| 32:TUPLE CACHE |
| | cache key: 5cf042148aa587c9dd42957d958f6321 |
| | input scan node ids: 0,3,6,1,4,5 |
| | estimated serialized size: 432.18MB |
| | estimated serialized size per node: 43.22MB |
| | cumulative processing cost: 614712954 |
| | cache read processing cost: 568684 |
| | cache write processing cost: 1223564 |
| | mem-estimate=4.00MB mem-reservation=4.00MB spill-buffer=2.00MB thread-reservation=0 |
| | tuple-ids=0,3,6,1,4,5 row-size=82B cardinality=4.28M cost=0 |
| | in pipelines: 00(GETNEXT) |
| | |
| 11:HASH JOIN [INNER JOIN] |
| | hash predicates: c_current_addr_sk = ca_address_sk |
| | fk/pk conjuncts: c_current_addr_sk = ca_address_sk |
| | runtime filters: RF002[bloom] <- ca_address_sk, RF003[min_max] <- ca_address_sk |
| | mem-estimate=66.50MB mem-reservation=34.00MB spill-buffer=2.00MB thread-reservation=0 |
| | tuple-ids=0,3,6,1,4,5 row-size=82B cardinality=4.28M cost=9238778 |
| | in pipelines: 00(GETNEXT), 05(OPEN) |
| | |
| |--31:TUPLE CACHE |
| | | cache key: 1c75dbdf2029ab616ffc1691fcc4bc81 |
| | | input scan node ids: 5 |
| | | estimated serialized size: 27.75MB |
| | | estimated serialized size per node: 2.78MB |
| | | cumulative processing cost: 2149500 |
| | | cache read processing cost: 322288 |
| | | cache write processing cost: 78571 |
| | | mem-estimate=4.00MB mem-reservation=4.00MB spill-buffer=2.00MB thread-reservation=0 |
| | | tuple-ids=5 row-size=8B cardinality=2.43M cost=0 |
| | | in pipelines: 05(GETNEXT) |
| | | |
| | 05:SCAN HDFS [tpcds_partitioned_parquet_snap.customer_address] |
| | HDFS partitions=1/1 files=1 size=307.36MB |
| | deterministic scan range assignment: true |
| | schedule scan ranges oldest to newest: true |
| | predicates: ca_gmt_offset = CAST(-7 AS DECIMAL(3,0)) |
| | stored statistics: |
| | table: rows=15.00M size=307.36MB |
| | columns: all |
| | extrapolated-rows=disabled max-scan-range-rows=1.58M |
| | parquet statistics predicates: ca_gmt_offset = CAST(-7 AS DECIMAL(3,0)) |
| | parquet dictionary predicates: ca_gmt_offset = CAST(-7 AS DECIMAL(3,0)) |
| | mem-estimate=16.00MB mem-reservation=128.00KB thread-reservation=0 |
| | tuple-ids=5 row-size=8B cardinality=2.43M cost=2149500 |
| | in pipelines: 05(GETNEXT) |
| | |
| 10:HASH JOIN [INNER JOIN] |
| | hash predicates: ss_customer_sk = c_customer_sk |
| | fk/pk conjuncts: ss_customer_sk = c_customer_sk |
| | runtime filters: RF004[bloom] <- c_customer_sk, RF005[min_max] <- c_customer_sk |
| | mem-estimate=996.88MB mem-reservation=34.00MB spill-buffer=2.00MB thread-reservation=0 |
| | tuple-ids=0,3,6,1,4 row-size=74B cardinality=23.54M cost=40843649 |
| | in pipelines: 00(GETNEXT), 04(OPEN) |
| | |
| |--04:SCAN HDFS [tpcds_partitioned_parquet_snap.customer] |
| | HDFS partitions=1/1 files=1 size=1.55GB |
| | deterministic scan range assignment: true |
| | schedule scan ranges oldest to newest: true |
| | runtime filters: RF003[min_max] -> c_current_addr_sk, RF002[bloom] -> c_current_addr_sk |
| | stored statistics: |
| | table: rows=30.00M size=1.55GB |
| | columns: all |
| | extrapolated-rows=disabled max-scan-range-rows=3.10M |
| | mem-estimate=16.00MB mem-reservation=1.00MB thread-reservation=0 |
| | tuple-ids=4 row-size=8B cardinality=30.00M cost=3456000 |
| | in pipelines: 04(GETNEXT) |
| | |
| 09:HASH JOIN [INNER JOIN] |
| | hash predicates: ss_store_sk = s_store_sk |
| | fk/pk conjuncts: ss_store_sk = s_store_sk |
| | runtime filters: RF006[bloom] <- s_store_sk, RF007[min_max] <- s_store_sk |
| | mem-estimate=1.94MB mem-reservation=1.94MB spill-buffer=64.00KB thread-reservation=0 |
| | tuple-ids=0,3,6,1 row-size=66B cardinality=25.65M cost=17731588 |
| | in pipelines: 00(GETNEXT), 01(OPEN) |
| | |
| |--30:TUPLE CACHE |
| | | cache key: 1d7377046104372f67367e5fd2d2a71a |
| | | input scan node ids: 1 |
| | | estimated serialized size: 3.94KB |
| | | estimated serialized size per node: 3.94KB |
| | | cumulative processing cost: 193 |
| | | cache read processing cost: 44 |
| | | cache write processing cost: 10 |
| | | mem-estimate=4.00MB mem-reservation=4.00MB spill-buffer=2.00MB thread-reservation=0 |
| | | tuple-ids=1 row-size=8B cardinality=336 cost=0 |
| | | in pipelines: 01(GETNEXT) |
| | | |
| | 01:SCAN HDFS [tpcds_partitioned_parquet_snap.store] |
| | HDFS partitions=1/1 files=1 size=119.76KB |
| | deterministic scan range assignment: true |
| | schedule scan ranges oldest to newest: true |
| | predicates: s_gmt_offset = CAST(-7 AS DECIMAL(3,0)) |
| | stored statistics: |
| | table: rows=1.35K size=119.76KB |
| | columns: all |
| | extrapolated-rows=disabled max-scan-range-rows=1.35K |
| | parquet statistics predicates: s_gmt_offset = CAST(-7 AS DECIMAL(3,0)) |
| | parquet dictionary predicates: s_gmt_offset = CAST(-7 AS DECIMAL(3,0)) |
| | mem-estimate=16.00MB mem-reservation=16.00KB thread-reservation=0 |
| | tuple-ids=1 row-size=8B cardinality=336 cost=193 |
| | in pipelines: 01(GETNEXT) |
| | |
| 08:HASH JOIN [INNER JOIN] |
| | hash predicates: ss_item_sk = i_item_sk |
| | fk/pk conjuncts: ss_item_sk = i_item_sk |
| | runtime filters: RF008[bloom] <- i_item_sk, RF009[min_max] <- i_item_sk |
| | mem-estimate=2.88MB mem-reservation=2.88MB spill-buffer=128.00KB thread-reservation=0 |
| | tuple-ids=0,3,6 row-size=58B cardinality=51.01M cost=140498163 |
| | in pipelines: 00(GETNEXT), 06(OPEN) |
| | |
| |--29:TUPLE CACHE |
| | | cache key: 3f955d4d5ce7c89432955d9636c9524d |
| | | input scan node ids: 6 |
| | | estimated serialized size: 908.58KB |
| | | estimated serialized size per node: 227.14KB |
| | | cumulative processing cost: 61463 |
| | | cache read processing cost: 4773 |
| | | cache write processing cost: 2512 |
| | | mem-estimate=4.00MB mem-reservation=4.00MB spill-buffer=2.00MB thread-reservation=0 |
| | | tuple-ids=6 row-size=22B cardinality=35.91K cost=0 |
| | | in pipelines: 06(GETNEXT) |
| | | |
| | 06:SCAN HDFS [tpcds_partitioned_parquet_snap.item] |
| | HDFS partitions=1/1 files=1 size=33.54MB |
| | deterministic scan range assignment: true |
| | schedule scan ranges oldest to newest: true |
| | predicates: i_category = 'Electronics' |
| | stored statistics: |
| | table: rows=360.00K size=33.54MB |
| | columns: all |
| | extrapolated-rows=disabled max-scan-range-rows=101.54K |
| | parquet statistics predicates: i_category = 'Electronics' |
| | parquet dictionary predicates: i_category = 'Electronics' |
| | mem-estimate=16.00MB mem-reservation=512.00KB thread-reservation=0 |
| | tuple-ids=6 row-size=22B cardinality=35.91K cost=61463 |
| | in pipelines: 06(GETNEXT) |
| | |
| 07: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: RF010[bloom] <- d_date_sk |
| | mem-estimate=1.94MB mem-reservation=1.94MB spill-buffer=64.00KB thread-reservation=0 |
| | tuple-ids=0,3 row-size=36B cardinality=511.58M cost=223916534 |
| | in pipelines: 00(GETNEXT), 03(OPEN) |
| | |
| |--28:TUPLE CACHE |
| | | cache key: 335069d4d246dd71cc20b62ef6070beb |
| | | input scan node ids: 3 |
| | | estimated serialized size: 1.69KB |
| | | estimated serialized size per node: 1.69KB |
| | | cumulative processing cost: 16728 |
| | | cache read processing cost: 14 |
| | | cache write processing cost: 4 |
| | | mem-estimate=4.00MB mem-reservation=4.00MB spill-buffer=2.00MB thread-reservation=0 |
| | | tuple-ids=3 row-size=12B cardinality=108 cost=0 |
| | | in pipelines: 03(GETNEXT) |
| | | |
| | 03:SCAN HDFS [tpcds_partitioned_parquet_snap.date_dim] |
| | HDFS partitions=1/1 files=1 size=2.17MB |
| | deterministic scan range assignment: true |
| | schedule scan ranges oldest to newest: true |
| | predicates: d_year = CAST(2001 AS INT), d_moy = CAST(11 AS INT) |
| | stored statistics: |
| | table: rows=73.05K size=2.17MB |
| | columns: all |
| | extrapolated-rows=disabled max-scan-range-rows=73.05K |
| | parquet statistics predicates: d_year = CAST(2001 AS INT), d_moy = CAST(11 AS INT) |
| | parquet dictionary predicates: d_year = CAST(2001 AS INT), d_moy = CAST(11 AS INT) |
| | mem-estimate=16.00MB mem-reservation=512.00KB thread-reservation=0 |
| | tuple-ids=3 row-size=12B cardinality=108 cost=16728 |
| | in pipelines: 03(GETNEXT) |
| | |
| 00:SCAN HDFS [tpcds_partitioned_parquet_snap.store_sales] |
| HDFS partitions=1824/1824 files=1824 size=389.90GB |
| deterministic scan range assignment: true |
| schedule scan ranges oldest to newest: true |
| runtime filters: RF009[min_max] -> ss_item_sk, RF007[min_max] -> ss_store_sk, RF005[min_max] -> ss_customer_sk, RF001[min_max] -> ss_promo_sk, RF010[bloom] -> ss_sold_date_sk, RF008[bloom] -> ss_item_sk, RF006[bloom] -> ss_store_sk, RF004[bloom] -> ss_customer_sk |
| stored statistics: |
| table: rows=8.64G size=389.90GB |
| partitions: 1824/1824 rows=8.64G |
| columns: all |
| extrapolated-rows=disabled max-scan-range-rows=390.22M est-scan-range=109(filtered from 1824) |
| mem-estimate=16.00MB mem-reservation=8.00MB thread-reservation=0 |
| tuple-ids=0 row-size=24B cardinality=511.58M(filtered from 8.64G) cost=176800358 |
| in pipelines: 00(GETNEXT) |
| ---- DISTRIBUTEDPLAN |
| Max Per-Host Resource Reservation: Memory=483.50MB Threads=42 |
| Per-Host Resource Estimates: Memory=1.07GB |
| F08:PLAN FRAGMENT [UNPARTITIONED] hosts=1 instances=1 |
| | Per-Instance Resources: mem-estimate=4.00MB mem-reservation=4.00MB thread-reservation=1 |
| | max-parallelism=1 segment-costs=[30, 0, 3] cpu-comparison-result=170 [max(1 (self) vs 170 (sum children))] |
| PLAN-ROOT SINK |
| | output exprs: promotions, total, CAST(promotions AS DECIMAL(15,4)) / CAST(total AS DECIMAL(15,4)) * CAST(100 AS DECIMAL(3,0)) |
| | mem-estimate=4.00MB mem-reservation=4.00MB spill-buffer=2.00MB thread-reservation=0 cost=3 |
| | |
| 27:TOP-N [LIMIT=100] |
| | order by: promotions ASC, total ASC |
| | mem-estimate=32B mem-reservation=0B thread-reservation=0 |
| | tuple-ids=17 row-size=32B cardinality=1 cost=0 |
| | in pipelines: 27(GETNEXT), 36(OPEN) |
| | |
| 26:NESTED LOOP JOIN [CROSS JOIN, BROADCAST] |
| | join table id: 00 |
| | mem-estimate=0B mem-reservation=0B thread-reservation=0 |
| | tuple-ids=7,15 row-size=32B cardinality=1 cost=0 |
| | in pipelines: 36(GETNEXT), 44(OPEN) |
| | |
| |--F17:PLAN FRAGMENT [UNPARTITIONED] hosts=1 instances=1 |
| | | Per-Instance Resources: mem-estimate=16.02KB mem-reservation=0B thread-reservation=1 |
| | | max-parallelism=1 segment-costs=[0] cpu-comparison-result=80 [max(1 (self) vs 80 (sum children))] |
| | JOIN BUILD |
| | | join-table-id=00 plan-id=01 cohort-id=01 |
| | | mem-estimate=16B mem-reservation=0B thread-reservation=0 cost=0 |
| | | |
| | 45:EXCHANGE [UNPARTITIONED] |
| | | mem-estimate=16.00KB mem-reservation=0B thread-reservation=0 |
| | | tuple-ids=15 row-size=16B cardinality=1 cost=0 |
| | | in pipelines: 44(GETNEXT) |
| | | |
| | F16:PLAN FRAGMENT [UNPARTITIONED] hosts=1 instances=1 |
| | Per-Instance Resources: mem-estimate=96.00KB mem-reservation=0B thread-reservation=1 |
| | max-parallelism=1 segment-costs=[30, 1] cpu-comparison-result=80 [max(1 (self) vs 80 (sum children))] |
| | 44:AGGREGATE [FINALIZE] |
| | | output: sum:merge(ss_ext_sales_price) |
| | | mem-estimate=16.00KB mem-reservation=0B spill-buffer=2.00MB thread-reservation=0 |
| | | tuple-ids=15 row-size=16B cardinality=1 cost=8 |
| | | in pipelines: 44(GETNEXT), 25(OPEN) |
| | | |
| | 43:EXCHANGE [UNPARTITIONED] |
| | | mem-estimate=23.62KB mem-reservation=0B thread-reservation=0 |
| | | tuple-ids=15 row-size=16B cardinality=120 cost=22 |
| | | in pipelines: 25(GETNEXT) |
| | | |
| | F14:PLAN FRAGMENT [HASH(ss_customer_sk)] hosts=10 instances=10 (adjusted from 120) |
| | Per-Instance Resources: mem-estimate=15.34MB mem-reservation=0B thread-reservation=1 |
| | max-parallelism=10 segment-costs=[30940044, 185] cpu-comparison-result=80 [max(80 (self) vs 76 (sum children))] |
| | 25:AGGREGATE |
| | | output: sum(ss_ext_sales_price) |
| | | mem-estimate=16.00KB mem-reservation=0B spill-buffer=2.00MB thread-reservation=0 |
| | | tuple-ids=15 row-size=16B cardinality=120 cost=299532 |
| | | in pipelines: 25(GETNEXT), 14(OPEN) |
| | | |
| | 24:HASH JOIN [INNER JOIN, BROADCAST] |
| | | hash-table-id=01 |
| | | hash predicates: c_current_addr_sk = ca_address_sk |
| | | fk/pk conjuncts: c_current_addr_sk = ca_address_sk |
| | | mem-estimate=0B mem-reservation=0B spill-buffer=2.00MB thread-reservation=0 |
| | | tuple-ids=9,11,14,10,12,13 row-size=78B cardinality=4.28M cost=6813735 |
| | | in pipelines: 14(GETNEXT), 18(OPEN) |
| | | |
| | |--F18:PLAN FRAGMENT [HASH(ss_customer_sk)] hosts=10 instances=10 |
| | | | Per-Instance Resources: mem-estimate=78.62MB mem-reservation=36.00MB thread-reservation=1 runtime-filters-memory=2.00MB |
| | | | max-parallelism=10 segment-costs=[5647923] |
| | | JOIN BUILD |
| | | | join-table-id=01 plan-id=02 cohort-id=02 |
| | | | build expressions: ca_address_sk |
| | | | runtime filters: RF012[bloom] <- ca_address_sk, RF013[min_max] <- ca_address_sk |
| | | | mem-estimate=66.50MB mem-reservation=34.00MB spill-buffer=2.00MB thread-reservation=0 cost=2425043 |
| | | | |
| | | 42:EXCHANGE [BROADCAST] |
| | | | mem-estimate=10.12MB mem-reservation=0B thread-reservation=0 |
| | | | tuple-ids=13 row-size=8B cardinality=2.43M cost=3222880 |
| | | | in pipelines: 18(GETNEXT) |
| | | | |
| | | F15:PLAN FRAGMENT [RANDOM] hosts=10 instances=10 |
| | | Per-Instance Resources: mem-estimate=20.05MB mem-reservation=4.12MB thread-reservation=1 |
| | | max-parallelism=10 segment-costs=[2254261] |
| | | 53:TUPLE CACHE |
| | | | cache key: 1c75dbdf2029ab616ffc1691fcc4bc81 |
| | | | input scan node ids: 18 |
| | | | estimated serialized size: 27.75MB |
| | | | estimated serialized size per node: 2.78MB |
| | | | cumulative processing cost: 2149500 |
| | | | cache read processing cost: 322288 |
| | | | cache write processing cost: 78571 |
| | | | mem-estimate=4.00MB mem-reservation=4.00MB spill-buffer=2.00MB thread-reservation=0 |
| | | | tuple-ids=13 row-size=8B cardinality=2.43M cost=0 |
| | | | in pipelines: 18(GETNEXT) |
| | | | |
| | | 18:SCAN HDFS [tpcds_partitioned_parquet_snap.customer_address, RANDOM] |
| | | HDFS partitions=1/1 files=1 size=307.36MB |
| | | deterministic scan range assignment: true |
| | | schedule scan ranges oldest to newest: true |
| | | predicates: ca_gmt_offset = CAST(-7 AS DECIMAL(3,0)) |
| | | stored statistics: |
| | | table: rows=15.00M size=307.36MB |
| | | columns: all |
| | | extrapolated-rows=disabled max-scan-range-rows=1.58M |
| | | parquet statistics predicates: ca_gmt_offset = CAST(-7 AS DECIMAL(3,0)) |
| | | parquet dictionary predicates: ca_gmt_offset = CAST(-7 AS DECIMAL(3,0)) |
| | | mem-estimate=16.00MB mem-reservation=128.00KB thread-reservation=0 |
| | | tuple-ids=13 row-size=8B cardinality=2.43M cost=2149500 |
| | | in pipelines: 18(GETNEXT) |
| | | |
| | 23:HASH JOIN [INNER JOIN, PARTITIONED] |
| | | hash-table-id=02 |
| | | hash predicates: ss_customer_sk = c_customer_sk |
| | | fk/pk conjuncts: ss_customer_sk = c_customer_sk |
| | | mem-estimate=0B mem-reservation=0B spill-buffer=2.00MB thread-reservation=0 |
| | | tuple-ids=9,11,14,10,12 row-size=70B cardinality=23.54M cost=10843649 |
| | | in pipelines: 14(GETNEXT), 17(OPEN) |
| | | |
| | |--F19:PLAN FRAGMENT [HASH(ss_customer_sk)] hosts=10 instances=10 (adjusted from 120) |
| | | | Per-Instance Resources: mem-estimate=125.81MB mem-reservation=50.00MB thread-reservation=1 runtime-filters-memory=16.00MB |
| | | | max-parallelism=10 segment-costs=[34437000] |
| | | JOIN BUILD |
| | | | join-table-id=02 plan-id=03 cohort-id=02 |
| | | | build expressions: c_customer_sk |
| | | | runtime filters: RF014[bloom] <- c_customer_sk, RF015[min_max] <- c_customer_sk |
| | | | mem-estimate=99.69MB mem-reservation=34.00MB spill-buffer=2.00MB thread-reservation=0 cost=30000000 |
| | | | |
| | | 41:EXCHANGE [HASH(c_customer_sk)] |
| | | | mem-estimate=10.12MB mem-reservation=0B thread-reservation=0 |
| | | | tuple-ids=12 row-size=8B cardinality=30.00M cost=4437000 |
| | | | in pipelines: 17(GETNEXT) |
| | | | |
| | | F13:PLAN FRAGMENT [RANDOM] hosts=10 instances=10 |
| | | Per-Host Shared Resources: mem-estimate=2.00MB mem-reservation=2.00MB thread-reservation=0 runtime-filters-memory=2.00MB |
| | | Per-Instance Resources: mem-estimate=16.47MB mem-reservation=1.00MB thread-reservation=1 |
| | | max-parallelism=10 segment-costs=[34368000] |
| | | 17:SCAN HDFS [tpcds_partitioned_parquet_snap.customer, RANDOM] |
| | | HDFS partitions=1/1 files=1 size=1.55GB |
| | | runtime filters: RF013[min_max] -> c_current_addr_sk, RF012[bloom] -> c_current_addr_sk |
| | | stored statistics: |
| | | table: rows=30.00M size=1.55GB |
| | | columns: all |
| | | extrapolated-rows=disabled max-scan-range-rows=3.10M |
| | | mem-estimate=16.00MB mem-reservation=1.00MB thread-reservation=0 |
| | | tuple-ids=12 row-size=8B cardinality=30.00M cost=3456000 |
| | | in pipelines: 17(GETNEXT) |
| | | |
| | 40:EXCHANGE [HASH(ss_customer_sk)] |
| | | mem-estimate=15.33MB mem-reservation=0B thread-reservation=0 |
| | | tuple-ids=9,11,14,10 row-size=62B cardinality=25.65M cost=12983128 |
| | | in pipelines: 14(GETNEXT) |
| | | |
| | F09:PLAN FRAGMENT [RANDOM] hosts=10 instances=70 (adjusted from 120) |
| | Per-Host Shared Resources: mem-estimate=19.00MB mem-reservation=19.00MB thread-reservation=0 runtime-filters-memory=19.00MB |
| | Per-Instance Resources: mem-estimate=19.04MB mem-reservation=8.00MB thread-reservation=1 |
| | max-parallelism=70 segment-costs=[684531424] |
| | 22:HASH JOIN [INNER JOIN, BROADCAST] |
| | | hash-table-id=03 |
| | | hash predicates: ss_store_sk = s_store_sk |
| | | fk/pk conjuncts: ss_store_sk = s_store_sk |
| | | mem-estimate=0B mem-reservation=0B spill-buffer=64.00KB thread-reservation=0 |
| | | tuple-ids=9,11,14,10 row-size=62B cardinality=25.65M cost=17731252 |
| | | in pipelines: 14(GETNEXT), 15(OPEN) |
| | | |
| | |--F20:PLAN FRAGMENT [RANDOM] hosts=10 instances=10 |
| | | | Per-Instance Resources: mem-estimate=14.58MB mem-reservation=14.56MB thread-reservation=1 runtime-filters-memory=1.00MB |
| | | | max-parallelism=10 segment-costs=[776] |
| | | JOIN BUILD |
| | | | join-table-id=03 plan-id=04 cohort-id=02 |
| | | | build expressions: s_store_sk |
| | | | runtime filters: RF016[bloom] <- s_store_sk, RF017[min_max] <- s_store_sk |
| | | | mem-estimate=13.56MB mem-reservation=13.56MB spill-buffer=64.00KB thread-reservation=0 cost=336 |
| | | | |
| | | 39:EXCHANGE [BROADCAST] |
| | | | mem-estimate=16.00KB mem-reservation=0B thread-reservation=0 |
| | | | tuple-ids=10 row-size=8B cardinality=336 cost=440 |
| | | | in pipelines: 15(GETNEXT) |
| | | | |
| | | F12:PLAN FRAGMENT [RANDOM] hosts=1 instances=1 |
| | | Per-Instance Resources: mem-estimate=20.05MB mem-reservation=4.02MB thread-reservation=1 |
| | | max-parallelism=1 segment-costs=[207] |
| | | 52:TUPLE CACHE |
| | | | cache key: 1d7377046104372f67367e5fd2d2a71a |
| | | | input scan node ids: 15 |
| | | | estimated serialized size: 3.94KB |
| | | | estimated serialized size per node: 3.94KB |
| | | | cumulative processing cost: 193 |
| | | | cache read processing cost: 44 |
| | | | cache write processing cost: 10 |
| | | | mem-estimate=4.00MB mem-reservation=4.00MB spill-buffer=2.00MB thread-reservation=0 |
| | | | tuple-ids=10 row-size=8B cardinality=336 cost=0 |
| | | | in pipelines: 15(GETNEXT) |
| | | | |
| | | 15:SCAN HDFS [tpcds_partitioned_parquet_snap.store, RANDOM] |
| | | HDFS partitions=1/1 files=1 size=119.76KB |
| | | deterministic scan range assignment: true |
| | | schedule scan ranges oldest to newest: true |
| | | predicates: s_gmt_offset = CAST(-7 AS DECIMAL(3,0)) |
| | | stored statistics: |
| | | table: rows=1.35K size=119.76KB |
| | | columns: all |
| | | extrapolated-rows=disabled max-scan-range-rows=1.35K |
| | | parquet statistics predicates: s_gmt_offset = CAST(-7 AS DECIMAL(3,0)) |
| | | parquet dictionary predicates: s_gmt_offset = CAST(-7 AS DECIMAL(3,0)) |
| | | mem-estimate=16.00MB mem-reservation=16.00KB thread-reservation=0 |
| | | tuple-ids=10 row-size=8B cardinality=336 cost=193 |
| | | in pipelines: 15(GETNEXT) |
| | | |
| | 21:HASH JOIN [INNER JOIN, BROADCAST] |
| | | hash-table-id=04 |
| | | hash predicates: ss_item_sk = i_item_sk |
| | | fk/pk conjuncts: ss_item_sk = i_item_sk |
| | | mem-estimate=0B mem-reservation=0B spill-buffer=128.00KB thread-reservation=0 |
| | | tuple-ids=9,11,14 row-size=54B cardinality=51.01M cost=140462248 |
| | | in pipelines: 14(GETNEXT), 19(OPEN) |
| | | |
| | |--F21:PLAN FRAGMENT [RANDOM] hosts=10 instances=10 |
| | | | Per-Instance Resources: mem-estimate=21.98MB mem-reservation=21.12MB thread-reservation=1 runtime-filters-memory=1.00MB |
| | | | max-parallelism=10 segment-costs=[83645] |
| | | JOIN BUILD |
| | | | join-table-id=04 plan-id=05 cohort-id=02 |
| | | | build expressions: i_item_sk |
| | | | runtime filters: RF018[bloom] <- i_item_sk, RF019[min_max] <- i_item_sk |
| | | | mem-estimate=20.12MB mem-reservation=20.12MB spill-buffer=128.00KB thread-reservation=0 cost=35915 |
| | | | |
| | | 38:EXCHANGE [BROADCAST] |
| | | | mem-estimate=871.90KB mem-reservation=0B thread-reservation=0 |
| | | | tuple-ids=14 row-size=22B cardinality=35.91K cost=47730 |
| | | | in pipelines: 19(GETNEXT) |
| | | | |
| | | F11:PLAN FRAGMENT [RANDOM] hosts=4 instances=4 |
| | | Per-Instance Resources: mem-estimate=20.10MB mem-reservation=4.50MB thread-reservation=1 |
| | | max-parallelism=4 segment-costs=[64362] |
| | | 51:TUPLE CACHE |
| | | | cache key: 3f955d4d5ce7c89432955d9636c9524d |
| | | | input scan node ids: 19 |
| | | | estimated serialized size: 908.58KB |
| | | | estimated serialized size per node: 227.14KB |
| | | | cumulative processing cost: 61463 |
| | | | cache read processing cost: 4773 |
| | | | cache write processing cost: 2512 |
| | | | mem-estimate=4.00MB mem-reservation=4.00MB spill-buffer=2.00MB thread-reservation=0 |
| | | | tuple-ids=14 row-size=22B cardinality=35.91K cost=0 |
| | | | in pipelines: 19(GETNEXT) |
| | | | |
| | | 19:SCAN HDFS [tpcds_partitioned_parquet_snap.item, RANDOM] |
| | | HDFS partitions=1/1 files=1 size=33.54MB |
| | | deterministic scan range assignment: true |
| | | schedule scan ranges oldest to newest: true |
| | | predicates: i_category = 'Electronics' |
| | | stored statistics: |
| | | table: rows=360.00K size=33.54MB |
| | | columns: all |
| | | extrapolated-rows=disabled max-scan-range-rows=101.54K |
| | | parquet statistics predicates: i_category = 'Electronics' |
| | | parquet dictionary predicates: i_category = 'Electronics' |
| | | mem-estimate=16.00MB mem-reservation=512.00KB thread-reservation=0 |
| | | tuple-ids=14 row-size=22B cardinality=35.91K cost=61463 |
| | | in pipelines: 19(GETNEXT) |
| | | |
| | 20:HASH JOIN [INNER JOIN, BROADCAST] |
| | | hash-table-id=05 |
| | | 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=9,11 row-size=32B cardinality=511.58M cost=223916426 |
| | | in pipelines: 14(GETNEXT), 16(OPEN) |
| | | |
| | |--F22:PLAN FRAGMENT [RANDOM] hosts=10 instances=10 |
| | | | Per-Instance Resources: mem-estimate=14.58MB mem-reservation=14.56MB thread-reservation=1 runtime-filters-memory=1.00MB |
| | | | max-parallelism=10 segment-costs=[248] |
| | | JOIN BUILD |
| | | | join-table-id=05 plan-id=06 cohort-id=02 |
| | | | build expressions: d_date_sk |
| | | | runtime filters: RF020[bloom] <- d_date_sk |
| | | | mem-estimate=13.56MB mem-reservation=13.56MB spill-buffer=64.00KB thread-reservation=0 cost=108 |
| | | | |
| | | 37:EXCHANGE [BROADCAST] |
| | | | mem-estimate=16.00KB mem-reservation=0B thread-reservation=0 |
| | | | tuple-ids=11 row-size=12B cardinality=108 cost=140 |
| | | | in pipelines: 16(GETNEXT) |
| | | | |
| | | F10:PLAN FRAGMENT [RANDOM] hosts=1 instances=1 |
| | | Per-Instance Resources: mem-estimate=20.06MB mem-reservation=4.50MB thread-reservation=1 |
| | | max-parallelism=1 segment-costs=[16733] |
| | | 50:TUPLE CACHE |
| | | | cache key: 335069d4d246dd71cc20b62ef6070beb |
| | | | input scan node ids: 16 |
| | | | estimated serialized size: 1.69KB |
| | | | estimated serialized size per node: 1.69KB |
| | | | cumulative processing cost: 16728 |
| | | | cache read processing cost: 14 |
| | | | cache write processing cost: 4 |
| | | | mem-estimate=4.00MB mem-reservation=4.00MB spill-buffer=2.00MB thread-reservation=0 |
| | | | tuple-ids=11 row-size=12B cardinality=108 cost=0 |
| | | | in pipelines: 16(GETNEXT) |
| | | | |
| | | 16:SCAN HDFS [tpcds_partitioned_parquet_snap.date_dim, RANDOM] |
| | | HDFS partitions=1/1 files=1 size=2.17MB |
| | | deterministic scan range assignment: true |
| | | schedule scan ranges oldest to newest: true |
| | | predicates: d_year = CAST(2001 AS INT), d_moy = CAST(11 AS INT) |
| | | stored statistics: |
| | | table: rows=73.05K size=2.17MB |
| | | columns: all |
| | | extrapolated-rows=disabled max-scan-range-rows=73.05K |
| | | parquet statistics predicates: d_year = CAST(2001 AS INT), d_moy = CAST(11 AS INT) |
| | | parquet dictionary predicates: d_year = CAST(2001 AS INT), d_moy = CAST(11 AS INT) |
| | | mem-estimate=16.00MB mem-reservation=512.00KB thread-reservation=0 |
| | | tuple-ids=11 row-size=12B cardinality=108 cost=16728 |
| | | in pipelines: 16(GETNEXT) |
| | | |
| | 14:SCAN HDFS [tpcds_partitioned_parquet_snap.store_sales, RANDOM] |
| | HDFS partitions=1824/1824 files=1824 size=389.90GB |
| | runtime filters: RF019[min_max] -> ss_item_sk, RF017[min_max] -> ss_store_sk, RF015[min_max] -> ss_customer_sk, RF020[bloom] -> ss_sold_date_sk, RF018[bloom] -> ss_item_sk, RF016[bloom] -> ss_store_sk, RF014[bloom] -> ss_customer_sk |
| | stored statistics: |
| | table: rows=8.64G size=389.90GB |
| | partitions: 1824/1824 rows=8.64G |
| | columns: all |
| | extrapolated-rows=disabled max-scan-range-rows=390.22M est-scan-range=109(filtered from 1824) |
| | mem-estimate=16.00MB mem-reservation=8.00MB thread-reservation=0 |
| | tuple-ids=9 row-size=20B cardinality=511.58M(filtered from 8.64G) cost=147333631 |
| | in pipelines: 14(GETNEXT) |
| | |
| 36:AGGREGATE [FINALIZE] |
| | output: sum:merge(ss_ext_sales_price) |
| | mem-estimate=16.00KB mem-reservation=0B spill-buffer=2.00MB thread-reservation=0 |
| | tuple-ids=7 row-size=16B cardinality=1 cost=8 |
| | in pipelines: 36(GETNEXT), 13(OPEN) |
| | |
| 35:EXCHANGE [UNPARTITIONED] |
| | mem-estimate=23.62KB mem-reservation=0B thread-reservation=0 |
| | tuple-ids=7 row-size=16B cardinality=120 cost=22 |
| | in pipelines: 13(GETNEXT) |
| | |
| F05:PLAN FRAGMENT [HASH(ss_customer_sk)] hosts=10 instances=10 (adjusted from 120) |
| Per-Instance Resources: mem-estimate=16.41MB mem-reservation=0B thread-reservation=1 |
| max-parallelism=10 segment-costs=[33284846, 185] cpu-comparison-result=90 [max(90 (self) vs 87 (sum children))] |
| 13:AGGREGATE |
| | output: sum(ss_ext_sales_price) |
| | mem-estimate=16.00KB mem-reservation=0B spill-buffer=2.00MB thread-reservation=0 |
| | tuple-ids=7 row-size=16B cardinality=120 cost=299532 |
| | in pipelines: 13(GETNEXT), 00(OPEN) |
| | |
| 12:HASH JOIN [INNER JOIN, BROADCAST] |
| | hash-table-id=06 |
| | hash predicates: ss_promo_sk = p_promo_sk |
| | fk/pk conjuncts: ss_promo_sk = p_promo_sk |
| | mem-estimate=0B mem-reservation=0B spill-buffer=64.00KB thread-reservation=0 |
| | tuple-ids=0,3,6,1,4,5,2 row-size=125B cardinality=4.28M cost=1872934 |
| | in pipelines: 00(GETNEXT), 02(OPEN) |
| | |
| |--F23:PLAN FRAGMENT [HASH(ss_customer_sk)] hosts=10 instances=10 |
| | | Per-Instance Resources: mem-estimate=2.06MB mem-reservation=1.94MB thread-reservation=1 |
| | | max-parallelism=10 segment-costs=[4190] |
| | JOIN BUILD |
| | | join-table-id=06 plan-id=07 cohort-id=01 |
| | | build expressions: p_promo_sk |
| | | runtime filters: RF001[min_max] <- p_promo_sk |
| | | mem-estimate=1.94MB mem-reservation=1.94MB spill-buffer=64.00KB thread-reservation=0 cost=1800 |
| | | |
| | 34:EXCHANGE [BROADCAST] |
| | | mem-estimate=122.59KB mem-reservation=0B thread-reservation=0 |
| | | tuple-ids=2 row-size=43B cardinality=1.80K cost=2390 |
| | | in pipelines: 02(GETNEXT) |
| | | |
| | F07:PLAN FRAGMENT [RANDOM] hosts=1 instances=1 |
| | Per-Instance Resources: mem-estimate=16.18MB mem-reservation=32.00KB thread-reservation=1 |
| | max-parallelism=1 segment-costs=[479] |
| | 02:SCAN HDFS [tpcds_partitioned_parquet_snap.promotion, RANDOM] |
| | HDFS partitions=1/1 files=1 size=100.50KB |
| | predicates: (p_channel_dmail = 'Y' OR p_channel_email = 'Y' OR p_channel_tv = 'Y') |
| | stored statistics: |
| | table: rows=1.80K size=100.50KB |
| | columns: all |
| | extrapolated-rows=disabled max-scan-range-rows=1.80K |
| | mem-estimate=16.00MB mem-reservation=32.00KB thread-reservation=0 |
| | tuple-ids=2 row-size=43B cardinality=1.80K cost=232 |
| | in pipelines: 02(GETNEXT) |
| | |
| 11:HASH JOIN [INNER JOIN, BROADCAST] |
| | hash-table-id=07 |
| | hash predicates: c_current_addr_sk = ca_address_sk |
| | fk/pk conjuncts: c_current_addr_sk = ca_address_sk |
| | mem-estimate=0B mem-reservation=0B spill-buffer=2.00MB thread-reservation=0 |
| | tuple-ids=0,3,6,1,4,5 row-size=82B cardinality=4.28M cost=6813735 |
| | in pipelines: 00(GETNEXT), 05(OPEN) |
| | |
| |--F24:PLAN FRAGMENT [HASH(ss_customer_sk)] hosts=10 instances=10 |
| | | Per-Instance Resources: mem-estimate=78.62MB mem-reservation=36.00MB thread-reservation=1 runtime-filters-memory=2.00MB |
| | | max-parallelism=10 segment-costs=[5647923] |
| | JOIN BUILD |
| | | join-table-id=07 plan-id=08 cohort-id=01 |
| | | build expressions: ca_address_sk |
| | | runtime filters: RF002[bloom] <- ca_address_sk, RF003[min_max] <- ca_address_sk |
| | | mem-estimate=66.50MB mem-reservation=34.00MB spill-buffer=2.00MB thread-reservation=0 cost=2425043 |
| | | |
| | 33:EXCHANGE [BROADCAST] |
| | | mem-estimate=10.12MB mem-reservation=0B thread-reservation=0 |
| | | tuple-ids=5 row-size=8B cardinality=2.43M cost=3222880 |
| | | in pipelines: 05(GETNEXT) |
| | | |
| | F06:PLAN FRAGMENT [RANDOM] hosts=10 instances=10 |
| | Per-Instance Resources: mem-estimate=20.05MB mem-reservation=4.12MB thread-reservation=1 |
| | max-parallelism=10 segment-costs=[2254261] |
| | 49:TUPLE CACHE |
| | | cache key: 1c75dbdf2029ab616ffc1691fcc4bc81 |
| | | input scan node ids: 5 |
| | | estimated serialized size: 27.75MB |
| | | estimated serialized size per node: 2.78MB |
| | | cumulative processing cost: 2149500 |
| | | cache read processing cost: 322288 |
| | | cache write processing cost: 78571 |
| | | mem-estimate=4.00MB mem-reservation=4.00MB spill-buffer=2.00MB thread-reservation=0 |
| | | tuple-ids=5 row-size=8B cardinality=2.43M cost=0 |
| | | in pipelines: 05(GETNEXT) |
| | | |
| | 05:SCAN HDFS [tpcds_partitioned_parquet_snap.customer_address, RANDOM] |
| | HDFS partitions=1/1 files=1 size=307.36MB |
| | deterministic scan range assignment: true |
| | schedule scan ranges oldest to newest: true |
| | predicates: ca_gmt_offset = CAST(-7 AS DECIMAL(3,0)) |
| | stored statistics: |
| | table: rows=15.00M size=307.36MB |
| | columns: all |
| | extrapolated-rows=disabled max-scan-range-rows=1.58M |
| | parquet statistics predicates: ca_gmt_offset = CAST(-7 AS DECIMAL(3,0)) |
| | parquet dictionary predicates: ca_gmt_offset = CAST(-7 AS DECIMAL(3,0)) |
| | mem-estimate=16.00MB mem-reservation=128.00KB thread-reservation=0 |
| | tuple-ids=5 row-size=8B cardinality=2.43M cost=2149500 |
| | in pipelines: 05(GETNEXT) |
| | |
| 10:HASH JOIN [INNER JOIN, PARTITIONED] |
| | hash-table-id=08 |
| | hash predicates: ss_customer_sk = c_customer_sk |
| | fk/pk conjuncts: ss_customer_sk = c_customer_sk |
| | mem-estimate=0B mem-reservation=0B spill-buffer=2.00MB thread-reservation=0 |
| | tuple-ids=0,3,6,1,4 row-size=74B cardinality=23.54M cost=10843649 |
| | in pipelines: 00(GETNEXT), 04(OPEN) |
| | |
| |--F25:PLAN FRAGMENT [HASH(ss_customer_sk)] hosts=10 instances=10 (adjusted from 120) |
| | | Per-Instance Resources: mem-estimate=125.81MB mem-reservation=50.00MB thread-reservation=1 runtime-filters-memory=16.00MB |
| | | max-parallelism=10 segment-costs=[34437000] |
| | JOIN BUILD |
| | | join-table-id=08 plan-id=09 cohort-id=01 |
| | | build expressions: c_customer_sk |
| | | runtime filters: RF004[bloom] <- c_customer_sk, RF005[min_max] <- c_customer_sk |
| | | mem-estimate=99.69MB mem-reservation=34.00MB spill-buffer=2.00MB thread-reservation=0 cost=30000000 |
| | | |
| | 32:EXCHANGE [HASH(c_customer_sk)] |
| | | mem-estimate=10.12MB mem-reservation=0B thread-reservation=0 |
| | | tuple-ids=4 row-size=8B cardinality=30.00M cost=4437000 |
| | | in pipelines: 04(GETNEXT) |
| | | |
| | F04:PLAN FRAGMENT [RANDOM] hosts=10 instances=10 |
| | Per-Host Shared Resources: mem-estimate=2.00MB mem-reservation=2.00MB thread-reservation=0 runtime-filters-memory=2.00MB |
| | Per-Instance Resources: mem-estimate=16.47MB mem-reservation=1.00MB thread-reservation=1 |
| | max-parallelism=10 segment-costs=[34368000] |
| | 04:SCAN HDFS [tpcds_partitioned_parquet_snap.customer, RANDOM] |
| | HDFS partitions=1/1 files=1 size=1.55GB |
| | runtime filters: RF003[min_max] -> c_current_addr_sk, RF002[bloom] -> c_current_addr_sk |
| | stored statistics: |
| | table: rows=30.00M size=1.55GB |
| | columns: all |
| | extrapolated-rows=disabled max-scan-range-rows=3.10M |
| | mem-estimate=16.00MB mem-reservation=1.00MB thread-reservation=0 |
| | tuple-ids=4 row-size=8B cardinality=30.00M cost=3456000 |
| | in pipelines: 04(GETNEXT) |
| | |
| 31:EXCHANGE [HASH(ss_customer_sk)] |
| | mem-estimate=16.40MB mem-reservation=0B thread-reservation=0 |
| | tuple-ids=0,3,6,1 row-size=66B cardinality=25.65M cost=13454996 |
| | in pipelines: 00(GETNEXT) |
| | |
| F00:PLAN FRAGMENT [RANDOM] hosts=10 instances=80 (adjusted from 120) |
| Per-Host Shared Resources: mem-estimate=19.00MB mem-reservation=19.00MB thread-reservation=0 runtime-filters-memory=19.00MB |
| Per-Instance Resources: mem-estimate=19.20MB mem-reservation=8.00MB thread-reservation=1 |
| max-parallelism=80 segment-costs=[720604305] |
| 09:HASH JOIN [INNER JOIN, BROADCAST] |
| | hash-table-id=09 |
| | hash predicates: ss_store_sk = s_store_sk |
| | fk/pk conjuncts: ss_store_sk = s_store_sk |
| | mem-estimate=0B mem-reservation=0B spill-buffer=64.00KB thread-reservation=0 |
| | tuple-ids=0,3,6,1 row-size=66B cardinality=25.65M cost=17731252 |
| | in pipelines: 00(GETNEXT), 01(OPEN) |
| | |
| |--F26:PLAN FRAGMENT [RANDOM] hosts=10 instances=10 |
| | | Per-Instance Resources: mem-estimate=16.52MB mem-reservation=16.50MB thread-reservation=1 runtime-filters-memory=1.00MB |
| | | max-parallelism=10 segment-costs=[776] |
| | JOIN BUILD |
| | | join-table-id=09 plan-id=10 cohort-id=01 |
| | | build expressions: s_store_sk |
| | | runtime filters: RF006[bloom] <- s_store_sk, RF007[min_max] <- s_store_sk |
| | | mem-estimate=15.50MB mem-reservation=15.50MB spill-buffer=64.00KB thread-reservation=0 cost=336 |
| | | |
| | 30:EXCHANGE [BROADCAST] |
| | | mem-estimate=16.00KB mem-reservation=0B thread-reservation=0 |
| | | tuple-ids=1 row-size=8B cardinality=336 cost=440 |
| | | in pipelines: 01(GETNEXT) |
| | | |
| | F03:PLAN FRAGMENT [RANDOM] hosts=1 instances=1 |
| | Per-Instance Resources: mem-estimate=20.05MB mem-reservation=4.02MB thread-reservation=1 |
| | max-parallelism=1 segment-costs=[207] |
| | 48:TUPLE CACHE |
| | | cache key: 1d7377046104372f67367e5fd2d2a71a |
| | | input scan node ids: 1 |
| | | estimated serialized size: 3.94KB |
| | | estimated serialized size per node: 3.94KB |
| | | cumulative processing cost: 193 |
| | | cache read processing cost: 44 |
| | | cache write processing cost: 10 |
| | | mem-estimate=4.00MB mem-reservation=4.00MB spill-buffer=2.00MB thread-reservation=0 |
| | | tuple-ids=1 row-size=8B cardinality=336 cost=0 |
| | | in pipelines: 01(GETNEXT) |
| | | |
| | 01:SCAN HDFS [tpcds_partitioned_parquet_snap.store, RANDOM] |
| | HDFS partitions=1/1 files=1 size=119.76KB |
| | deterministic scan range assignment: true |
| | schedule scan ranges oldest to newest: true |
| | predicates: s_gmt_offset = CAST(-7 AS DECIMAL(3,0)) |
| | stored statistics: |
| | table: rows=1.35K size=119.76KB |
| | columns: all |
| | extrapolated-rows=disabled max-scan-range-rows=1.35K |
| | parquet statistics predicates: s_gmt_offset = CAST(-7 AS DECIMAL(3,0)) |
| | parquet dictionary predicates: s_gmt_offset = CAST(-7 AS DECIMAL(3,0)) |
| | mem-estimate=16.00MB mem-reservation=16.00KB thread-reservation=0 |
| | tuple-ids=1 row-size=8B cardinality=336 cost=193 |
| | in pipelines: 01(GETNEXT) |
| | |
| 08:HASH JOIN [INNER JOIN, BROADCAST] |
| | hash-table-id=10 |
| | hash predicates: ss_item_sk = i_item_sk |
| | fk/pk conjuncts: ss_item_sk = i_item_sk |
| | mem-estimate=0B mem-reservation=0B spill-buffer=128.00KB thread-reservation=0 |
| | tuple-ids=0,3,6 row-size=58B cardinality=51.01M cost=140462248 |
| | in pipelines: 00(GETNEXT), 06(OPEN) |
| | |
| |--F27:PLAN FRAGMENT [RANDOM] hosts=10 instances=10 |
| | | Per-Instance Resources: mem-estimate=24.85MB mem-reservation=24.00MB thread-reservation=1 runtime-filters-memory=1.00MB |
| | | max-parallelism=10 segment-costs=[83645] |
| | JOIN BUILD |
| | | join-table-id=10 plan-id=11 cohort-id=01 |
| | | build expressions: i_item_sk |
| | | runtime filters: RF008[bloom] <- i_item_sk, RF009[min_max] <- i_item_sk |
| | | mem-estimate=23.00MB mem-reservation=23.00MB spill-buffer=128.00KB thread-reservation=0 cost=35915 |
| | | |
| | 29:EXCHANGE [BROADCAST] |
| | | mem-estimate=871.90KB mem-reservation=0B thread-reservation=0 |
| | | tuple-ids=6 row-size=22B cardinality=35.91K cost=47730 |
| | | in pipelines: 06(GETNEXT) |
| | | |
| | F02:PLAN FRAGMENT [RANDOM] hosts=4 instances=4 |
| | Per-Instance Resources: mem-estimate=20.10MB mem-reservation=4.50MB thread-reservation=1 |
| | max-parallelism=4 segment-costs=[64362] |
| | 47:TUPLE CACHE |
| | | cache key: 3f955d4d5ce7c89432955d9636c9524d |
| | | input scan node ids: 6 |
| | | estimated serialized size: 908.58KB |
| | | estimated serialized size per node: 227.14KB |
| | | cumulative processing cost: 61463 |
| | | cache read processing cost: 4773 |
| | | cache write processing cost: 2512 |
| | | mem-estimate=4.00MB mem-reservation=4.00MB spill-buffer=2.00MB thread-reservation=0 |
| | | tuple-ids=6 row-size=22B cardinality=35.91K cost=0 |
| | | in pipelines: 06(GETNEXT) |
| | | |
| | 06:SCAN HDFS [tpcds_partitioned_parquet_snap.item, RANDOM] |
| | HDFS partitions=1/1 files=1 size=33.54MB |
| | deterministic scan range assignment: true |
| | schedule scan ranges oldest to newest: true |
| | predicates: i_category = 'Electronics' |
| | stored statistics: |
| | table: rows=360.00K size=33.54MB |
| | columns: all |
| | extrapolated-rows=disabled max-scan-range-rows=101.54K |
| | parquet statistics predicates: i_category = 'Electronics' |
| | parquet dictionary predicates: i_category = 'Electronics' |
| | mem-estimate=16.00MB mem-reservation=512.00KB thread-reservation=0 |
| | tuple-ids=6 row-size=22B cardinality=35.91K cost=61463 |
| | in pipelines: 06(GETNEXT) |
| | |
| 07:HASH JOIN [INNER JOIN, BROADCAST] |
| | hash-table-id=11 |
| | 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=0,3 row-size=36B cardinality=511.58M cost=223916426 |
| | in pipelines: 00(GETNEXT), 03(OPEN) |
| | |
| |--F28:PLAN FRAGMENT [RANDOM] hosts=10 instances=10 |
| | | Per-Instance Resources: mem-estimate=16.52MB mem-reservation=16.50MB thread-reservation=1 runtime-filters-memory=1.00MB |
| | | max-parallelism=10 segment-costs=[248] |
| | JOIN BUILD |
| | | join-table-id=11 plan-id=12 cohort-id=01 |
| | | build expressions: d_date_sk |
| | | runtime filters: RF010[bloom] <- d_date_sk |
| | | mem-estimate=15.50MB mem-reservation=15.50MB spill-buffer=64.00KB thread-reservation=0 cost=108 |
| | | |
| | 28:EXCHANGE [BROADCAST] |
| | | mem-estimate=16.00KB mem-reservation=0B thread-reservation=0 |
| | | tuple-ids=3 row-size=12B cardinality=108 cost=140 |
| | | in pipelines: 03(GETNEXT) |
| | | |
| | F01:PLAN FRAGMENT [RANDOM] hosts=1 instances=1 |
| | Per-Instance Resources: mem-estimate=20.06MB mem-reservation=4.50MB thread-reservation=1 |
| | max-parallelism=1 segment-costs=[16733] |
| | 46:TUPLE CACHE |
| | | cache key: 335069d4d246dd71cc20b62ef6070beb |
| | | input scan node ids: 3 |
| | | estimated serialized size: 1.69KB |
| | | estimated serialized size per node: 1.69KB |
| | | cumulative processing cost: 16728 |
| | | cache read processing cost: 14 |
| | | cache write processing cost: 4 |
| | | mem-estimate=4.00MB mem-reservation=4.00MB spill-buffer=2.00MB thread-reservation=0 |
| | | tuple-ids=3 row-size=12B cardinality=108 cost=0 |
| | | in pipelines: 03(GETNEXT) |
| | | |
| | 03:SCAN HDFS [tpcds_partitioned_parquet_snap.date_dim, RANDOM] |
| | HDFS partitions=1/1 files=1 size=2.17MB |
| | deterministic scan range assignment: true |
| | schedule scan ranges oldest to newest: true |
| | predicates: d_year = CAST(2001 AS INT), d_moy = CAST(11 AS INT) |
| | stored statistics: |
| | table: rows=73.05K size=2.17MB |
| | columns: all |
| | extrapolated-rows=disabled max-scan-range-rows=73.05K |
| | parquet statistics predicates: d_year = CAST(2001 AS INT), d_moy = CAST(11 AS INT) |
| | parquet dictionary predicates: d_year = CAST(2001 AS INT), d_moy = CAST(11 AS INT) |
| | mem-estimate=16.00MB mem-reservation=512.00KB thread-reservation=0 |
| | tuple-ids=3 row-size=12B cardinality=108 cost=16728 |
| | in pipelines: 03(GETNEXT) |
| | |
| 00:SCAN HDFS [tpcds_partitioned_parquet_snap.store_sales, RANDOM] |
| HDFS partitions=1824/1824 files=1824 size=389.90GB |
| runtime filters: RF009[min_max] -> ss_item_sk, RF007[min_max] -> ss_store_sk, RF005[min_max] -> ss_customer_sk, RF001[min_max] -> ss_promo_sk, RF010[bloom] -> ss_sold_date_sk, RF008[bloom] -> ss_item_sk, RF006[bloom] -> ss_store_sk, RF004[bloom] -> ss_customer_sk |
| stored statistics: |
| table: rows=8.64G size=389.90GB |
| partitions: 1824/1824 rows=8.64G |
| columns: all |
| extrapolated-rows=disabled max-scan-range-rows=390.22M est-scan-range=109(filtered from 1824) |
| mem-estimate=16.00MB mem-reservation=8.00MB thread-reservation=0 |
| tuple-ids=0 row-size=24B cardinality=511.58M(filtered from 8.64G) cost=176800358 |
| in pipelines: 00(GETNEXT) |
| ---- PARALLELPLANS |
| Max Per-Host Resource Reservation: Memory=483.50MB Threads=42 |
| Per-Host Resource Estimates: Memory=1.07GB |
| F08:PLAN FRAGMENT [UNPARTITIONED] hosts=1 instances=1 |
| | Per-Instance Resources: mem-estimate=4.00MB mem-reservation=4.00MB thread-reservation=1 |
| | max-parallelism=1 segment-costs=[30, 0, 3] cpu-comparison-result=170 [max(1 (self) vs 170 (sum children))] |
| PLAN-ROOT SINK |
| | output exprs: promotions, total, CAST(promotions AS DECIMAL(15,4)) / CAST(total AS DECIMAL(15,4)) * CAST(100 AS DECIMAL(3,0)) |
| | mem-estimate=4.00MB mem-reservation=4.00MB spill-buffer=2.00MB thread-reservation=0 cost=3 |
| | |
| 27:TOP-N [LIMIT=100] |
| | order by: promotions ASC, total ASC |
| | mem-estimate=32B mem-reservation=0B thread-reservation=0 |
| | tuple-ids=17 row-size=32B cardinality=1 cost=0 |
| | in pipelines: 27(GETNEXT), 36(OPEN) |
| | |
| 26:NESTED LOOP JOIN [CROSS JOIN, BROADCAST] |
| | join table id: 00 |
| | mem-estimate=0B mem-reservation=0B thread-reservation=0 |
| | tuple-ids=7,15 row-size=32B cardinality=1 cost=0 |
| | in pipelines: 36(GETNEXT), 44(OPEN) |
| | |
| |--F17:PLAN FRAGMENT [UNPARTITIONED] hosts=1 instances=1 |
| | | Per-Instance Resources: mem-estimate=16.02KB mem-reservation=0B thread-reservation=1 |
| | | max-parallelism=1 segment-costs=[0] cpu-comparison-result=80 [max(1 (self) vs 80 (sum children))] |
| | JOIN BUILD |
| | | join-table-id=00 plan-id=01 cohort-id=01 |
| | | mem-estimate=16B mem-reservation=0B thread-reservation=0 cost=0 |
| | | |
| | 45:EXCHANGE [UNPARTITIONED] |
| | | mem-estimate=16.00KB mem-reservation=0B thread-reservation=0 |
| | | tuple-ids=15 row-size=16B cardinality=1 cost=0 |
| | | in pipelines: 44(GETNEXT) |
| | | |
| | F16:PLAN FRAGMENT [UNPARTITIONED] hosts=1 instances=1 |
| | Per-Instance Resources: mem-estimate=96.00KB mem-reservation=0B thread-reservation=1 |
| | max-parallelism=1 segment-costs=[30, 1] cpu-comparison-result=80 [max(1 (self) vs 80 (sum children))] |
| | 44:AGGREGATE [FINALIZE] |
| | | output: sum:merge(ss_ext_sales_price) |
| | | mem-estimate=16.00KB mem-reservation=0B spill-buffer=2.00MB thread-reservation=0 |
| | | tuple-ids=15 row-size=16B cardinality=1 cost=8 |
| | | in pipelines: 44(GETNEXT), 25(OPEN) |
| | | |
| | 43:EXCHANGE [UNPARTITIONED] |
| | | mem-estimate=23.62KB mem-reservation=0B thread-reservation=0 |
| | | tuple-ids=15 row-size=16B cardinality=120 cost=22 |
| | | in pipelines: 25(GETNEXT) |
| | | |
| | F14:PLAN FRAGMENT [HASH(ss_customer_sk)] hosts=10 instances=10 (adjusted from 120) |
| | Per-Instance Resources: mem-estimate=15.34MB mem-reservation=0B thread-reservation=1 |
| | max-parallelism=10 segment-costs=[30940044, 185] cpu-comparison-result=80 [max(80 (self) vs 76 (sum children))] |
| | 25:AGGREGATE |
| | | output: sum(ss_ext_sales_price) |
| | | mem-estimate=16.00KB mem-reservation=0B spill-buffer=2.00MB thread-reservation=0 |
| | | tuple-ids=15 row-size=16B cardinality=120 cost=299532 |
| | | in pipelines: 25(GETNEXT), 14(OPEN) |
| | | |
| | 24:HASH JOIN [INNER JOIN, BROADCAST] |
| | | hash-table-id=01 |
| | | hash predicates: c_current_addr_sk = ca_address_sk |
| | | fk/pk conjuncts: c_current_addr_sk = ca_address_sk |
| | | mem-estimate=0B mem-reservation=0B spill-buffer=2.00MB thread-reservation=0 |
| | | tuple-ids=9,11,14,10,12,13 row-size=78B cardinality=4.28M cost=6813735 |
| | | in pipelines: 14(GETNEXT), 18(OPEN) |
| | | |
| | |--F18:PLAN FRAGMENT [HASH(ss_customer_sk)] hosts=10 instances=10 |
| | | | Per-Instance Resources: mem-estimate=78.62MB mem-reservation=36.00MB thread-reservation=1 runtime-filters-memory=2.00MB |
| | | | max-parallelism=10 segment-costs=[5647923] |
| | | JOIN BUILD |
| | | | join-table-id=01 plan-id=02 cohort-id=02 |
| | | | build expressions: ca_address_sk |
| | | | runtime filters: RF012[bloom] <- ca_address_sk, RF013[min_max] <- ca_address_sk |
| | | | mem-estimate=66.50MB mem-reservation=34.00MB spill-buffer=2.00MB thread-reservation=0 cost=2425043 |
| | | | |
| | | 42:EXCHANGE [BROADCAST] |
| | | | mem-estimate=10.12MB mem-reservation=0B thread-reservation=0 |
| | | | tuple-ids=13 row-size=8B cardinality=2.43M cost=3222880 |
| | | | in pipelines: 18(GETNEXT) |
| | | | |
| | | F15:PLAN FRAGMENT [RANDOM] hosts=10 instances=10 |
| | | Per-Instance Resources: mem-estimate=20.05MB mem-reservation=4.12MB thread-reservation=1 |
| | | max-parallelism=10 segment-costs=[2254261] |
| | | 53:TUPLE CACHE |
| | | | cache key: 1c75dbdf2029ab616ffc1691fcc4bc81 |
| | | | input scan node ids: 18 |
| | | | estimated serialized size: 27.75MB |
| | | | estimated serialized size per node: 2.78MB |
| | | | cumulative processing cost: 2149500 |
| | | | cache read processing cost: 322288 |
| | | | cache write processing cost: 78571 |
| | | | mem-estimate=4.00MB mem-reservation=4.00MB spill-buffer=2.00MB thread-reservation=0 |
| | | | tuple-ids=13 row-size=8B cardinality=2.43M cost=0 |
| | | | in pipelines: 18(GETNEXT) |
| | | | |
| | | 18:SCAN HDFS [tpcds_partitioned_parquet_snap.customer_address, RANDOM] |
| | | HDFS partitions=1/1 files=1 size=307.36MB |
| | | deterministic scan range assignment: true |
| | | schedule scan ranges oldest to newest: true |
| | | predicates: ca_gmt_offset = CAST(-7 AS DECIMAL(3,0)) |
| | | stored statistics: |
| | | table: rows=15.00M size=307.36MB |
| | | columns: all |
| | | extrapolated-rows=disabled max-scan-range-rows=1.58M |
| | | parquet statistics predicates: ca_gmt_offset = CAST(-7 AS DECIMAL(3,0)) |
| | | parquet dictionary predicates: ca_gmt_offset = CAST(-7 AS DECIMAL(3,0)) |
| | | mem-estimate=16.00MB mem-reservation=128.00KB thread-reservation=0 |
| | | tuple-ids=13 row-size=8B cardinality=2.43M cost=2149500 |
| | | in pipelines: 18(GETNEXT) |
| | | |
| | 23:HASH JOIN [INNER JOIN, PARTITIONED] |
| | | hash-table-id=02 |
| | | hash predicates: ss_customer_sk = c_customer_sk |
| | | fk/pk conjuncts: ss_customer_sk = c_customer_sk |
| | | mem-estimate=0B mem-reservation=0B spill-buffer=2.00MB thread-reservation=0 |
| | | tuple-ids=9,11,14,10,12 row-size=70B cardinality=23.54M cost=10843649 |
| | | in pipelines: 14(GETNEXT), 17(OPEN) |
| | | |
| | |--F19:PLAN FRAGMENT [HASH(ss_customer_sk)] hosts=10 instances=10 (adjusted from 120) |
| | | | Per-Instance Resources: mem-estimate=125.81MB mem-reservation=50.00MB thread-reservation=1 runtime-filters-memory=16.00MB |
| | | | max-parallelism=10 segment-costs=[34437000] |
| | | JOIN BUILD |
| | | | join-table-id=02 plan-id=03 cohort-id=02 |
| | | | build expressions: c_customer_sk |
| | | | runtime filters: RF014[bloom] <- c_customer_sk, RF015[min_max] <- c_customer_sk |
| | | | mem-estimate=99.69MB mem-reservation=34.00MB spill-buffer=2.00MB thread-reservation=0 cost=30000000 |
| | | | |
| | | 41:EXCHANGE [HASH(c_customer_sk)] |
| | | | mem-estimate=10.12MB mem-reservation=0B thread-reservation=0 |
| | | | tuple-ids=12 row-size=8B cardinality=30.00M cost=4437000 |
| | | | in pipelines: 17(GETNEXT) |
| | | | |
| | | F13:PLAN FRAGMENT [RANDOM] hosts=10 instances=10 |
| | | Per-Host Shared Resources: mem-estimate=2.00MB mem-reservation=2.00MB thread-reservation=0 runtime-filters-memory=2.00MB |
| | | Per-Instance Resources: mem-estimate=16.47MB mem-reservation=1.00MB thread-reservation=1 |
| | | max-parallelism=10 segment-costs=[34368000] |
| | | 17:SCAN HDFS [tpcds_partitioned_parquet_snap.customer, RANDOM] |
| | | HDFS partitions=1/1 files=1 size=1.55GB |
| | | runtime filters: RF013[min_max] -> c_current_addr_sk, RF012[bloom] -> c_current_addr_sk |
| | | stored statistics: |
| | | table: rows=30.00M size=1.55GB |
| | | columns: all |
| | | extrapolated-rows=disabled max-scan-range-rows=3.10M |
| | | mem-estimate=16.00MB mem-reservation=1.00MB thread-reservation=0 |
| | | tuple-ids=12 row-size=8B cardinality=30.00M cost=3456000 |
| | | in pipelines: 17(GETNEXT) |
| | | |
| | 40:EXCHANGE [HASH(ss_customer_sk)] |
| | | mem-estimate=15.33MB mem-reservation=0B thread-reservation=0 |
| | | tuple-ids=9,11,14,10 row-size=62B cardinality=25.65M cost=12983128 |
| | | in pipelines: 14(GETNEXT) |
| | | |
| | F09:PLAN FRAGMENT [RANDOM] hosts=10 instances=70 (adjusted from 120) |
| | Per-Host Shared Resources: mem-estimate=19.00MB mem-reservation=19.00MB thread-reservation=0 runtime-filters-memory=19.00MB |
| | Per-Instance Resources: mem-estimate=19.04MB mem-reservation=8.00MB thread-reservation=1 |
| | max-parallelism=70 segment-costs=[684531424] |
| | 22:HASH JOIN [INNER JOIN, BROADCAST] |
| | | hash-table-id=03 |
| | | hash predicates: ss_store_sk = s_store_sk |
| | | fk/pk conjuncts: ss_store_sk = s_store_sk |
| | | mem-estimate=0B mem-reservation=0B spill-buffer=64.00KB thread-reservation=0 |
| | | tuple-ids=9,11,14,10 row-size=62B cardinality=25.65M cost=17731252 |
| | | in pipelines: 14(GETNEXT), 15(OPEN) |
| | | |
| | |--F20:PLAN FRAGMENT [RANDOM] hosts=10 instances=10 |
| | | | Per-Instance Resources: mem-estimate=14.58MB mem-reservation=14.56MB thread-reservation=1 runtime-filters-memory=1.00MB |
| | | | max-parallelism=10 segment-costs=[776] |
| | | JOIN BUILD |
| | | | join-table-id=03 plan-id=04 cohort-id=02 |
| | | | build expressions: s_store_sk |
| | | | runtime filters: RF016[bloom] <- s_store_sk, RF017[min_max] <- s_store_sk |
| | | | mem-estimate=13.56MB mem-reservation=13.56MB spill-buffer=64.00KB thread-reservation=0 cost=336 |
| | | | |
| | | 39:EXCHANGE [BROADCAST] |
| | | | mem-estimate=16.00KB mem-reservation=0B thread-reservation=0 |
| | | | tuple-ids=10 row-size=8B cardinality=336 cost=440 |
| | | | in pipelines: 15(GETNEXT) |
| | | | |
| | | F12:PLAN FRAGMENT [RANDOM] hosts=1 instances=1 |
| | | Per-Instance Resources: mem-estimate=20.05MB mem-reservation=4.02MB thread-reservation=1 |
| | | max-parallelism=1 segment-costs=[207] |
| | | 52:TUPLE CACHE |
| | | | cache key: 1d7377046104372f67367e5fd2d2a71a |
| | | | input scan node ids: 15 |
| | | | estimated serialized size: 3.94KB |
| | | | estimated serialized size per node: 3.94KB |
| | | | cumulative processing cost: 193 |
| | | | cache read processing cost: 44 |
| | | | cache write processing cost: 10 |
| | | | mem-estimate=4.00MB mem-reservation=4.00MB spill-buffer=2.00MB thread-reservation=0 |
| | | | tuple-ids=10 row-size=8B cardinality=336 cost=0 |
| | | | in pipelines: 15(GETNEXT) |
| | | | |
| | | 15:SCAN HDFS [tpcds_partitioned_parquet_snap.store, RANDOM] |
| | | HDFS partitions=1/1 files=1 size=119.76KB |
| | | deterministic scan range assignment: true |
| | | schedule scan ranges oldest to newest: true |
| | | predicates: s_gmt_offset = CAST(-7 AS DECIMAL(3,0)) |
| | | stored statistics: |
| | | table: rows=1.35K size=119.76KB |
| | | columns: all |
| | | extrapolated-rows=disabled max-scan-range-rows=1.35K |
| | | parquet statistics predicates: s_gmt_offset = CAST(-7 AS DECIMAL(3,0)) |
| | | parquet dictionary predicates: s_gmt_offset = CAST(-7 AS DECIMAL(3,0)) |
| | | mem-estimate=16.00MB mem-reservation=16.00KB thread-reservation=0 |
| | | tuple-ids=10 row-size=8B cardinality=336 cost=193 |
| | | in pipelines: 15(GETNEXT) |
| | | |
| | 21:HASH JOIN [INNER JOIN, BROADCAST] |
| | | hash-table-id=04 |
| | | hash predicates: ss_item_sk = i_item_sk |
| | | fk/pk conjuncts: ss_item_sk = i_item_sk |
| | | mem-estimate=0B mem-reservation=0B spill-buffer=128.00KB thread-reservation=0 |
| | | tuple-ids=9,11,14 row-size=54B cardinality=51.01M cost=140462248 |
| | | in pipelines: 14(GETNEXT), 19(OPEN) |
| | | |
| | |--F21:PLAN FRAGMENT [RANDOM] hosts=10 instances=10 |
| | | | Per-Instance Resources: mem-estimate=21.98MB mem-reservation=21.12MB thread-reservation=1 runtime-filters-memory=1.00MB |
| | | | max-parallelism=10 segment-costs=[83645] |
| | | JOIN BUILD |
| | | | join-table-id=04 plan-id=05 cohort-id=02 |
| | | | build expressions: i_item_sk |
| | | | runtime filters: RF018[bloom] <- i_item_sk, RF019[min_max] <- i_item_sk |
| | | | mem-estimate=20.12MB mem-reservation=20.12MB spill-buffer=128.00KB thread-reservation=0 cost=35915 |
| | | | |
| | | 38:EXCHANGE [BROADCAST] |
| | | | mem-estimate=871.90KB mem-reservation=0B thread-reservation=0 |
| | | | tuple-ids=14 row-size=22B cardinality=35.91K cost=47730 |
| | | | in pipelines: 19(GETNEXT) |
| | | | |
| | | F11:PLAN FRAGMENT [RANDOM] hosts=4 instances=4 |
| | | Per-Instance Resources: mem-estimate=20.10MB mem-reservation=4.50MB thread-reservation=1 |
| | | max-parallelism=4 segment-costs=[64362] |
| | | 51:TUPLE CACHE |
| | | | cache key: 3f955d4d5ce7c89432955d9636c9524d |
| | | | input scan node ids: 19 |
| | | | estimated serialized size: 908.58KB |
| | | | estimated serialized size per node: 227.14KB |
| | | | cumulative processing cost: 61463 |
| | | | cache read processing cost: 4773 |
| | | | cache write processing cost: 2512 |
| | | | mem-estimate=4.00MB mem-reservation=4.00MB spill-buffer=2.00MB thread-reservation=0 |
| | | | tuple-ids=14 row-size=22B cardinality=35.91K cost=0 |
| | | | in pipelines: 19(GETNEXT) |
| | | | |
| | | 19:SCAN HDFS [tpcds_partitioned_parquet_snap.item, RANDOM] |
| | | HDFS partitions=1/1 files=1 size=33.54MB |
| | | deterministic scan range assignment: true |
| | | schedule scan ranges oldest to newest: true |
| | | predicates: i_category = 'Electronics' |
| | | stored statistics: |
| | | table: rows=360.00K size=33.54MB |
| | | columns: all |
| | | extrapolated-rows=disabled max-scan-range-rows=101.54K |
| | | parquet statistics predicates: i_category = 'Electronics' |
| | | parquet dictionary predicates: i_category = 'Electronics' |
| | | mem-estimate=16.00MB mem-reservation=512.00KB thread-reservation=0 |
| | | tuple-ids=14 row-size=22B cardinality=35.91K cost=61463 |
| | | in pipelines: 19(GETNEXT) |
| | | |
| | 20:HASH JOIN [INNER JOIN, BROADCAST] |
| | | hash-table-id=05 |
| | | 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=9,11 row-size=32B cardinality=511.58M cost=223916426 |
| | | in pipelines: 14(GETNEXT), 16(OPEN) |
| | | |
| | |--F22:PLAN FRAGMENT [RANDOM] hosts=10 instances=10 |
| | | | Per-Instance Resources: mem-estimate=14.58MB mem-reservation=14.56MB thread-reservation=1 runtime-filters-memory=1.00MB |
| | | | max-parallelism=10 segment-costs=[248] |
| | | JOIN BUILD |
| | | | join-table-id=05 plan-id=06 cohort-id=02 |
| | | | build expressions: d_date_sk |
| | | | runtime filters: RF020[bloom] <- d_date_sk |
| | | | mem-estimate=13.56MB mem-reservation=13.56MB spill-buffer=64.00KB thread-reservation=0 cost=108 |
| | | | |
| | | 37:EXCHANGE [BROADCAST] |
| | | | mem-estimate=16.00KB mem-reservation=0B thread-reservation=0 |
| | | | tuple-ids=11 row-size=12B cardinality=108 cost=140 |
| | | | in pipelines: 16(GETNEXT) |
| | | | |
| | | F10:PLAN FRAGMENT [RANDOM] hosts=1 instances=1 |
| | | Per-Instance Resources: mem-estimate=20.06MB mem-reservation=4.50MB thread-reservation=1 |
| | | max-parallelism=1 segment-costs=[16733] |
| | | 50:TUPLE CACHE |
| | | | cache key: 335069d4d246dd71cc20b62ef6070beb |
| | | | input scan node ids: 16 |
| | | | estimated serialized size: 1.69KB |
| | | | estimated serialized size per node: 1.69KB |
| | | | cumulative processing cost: 16728 |
| | | | cache read processing cost: 14 |
| | | | cache write processing cost: 4 |
| | | | mem-estimate=4.00MB mem-reservation=4.00MB spill-buffer=2.00MB thread-reservation=0 |
| | | | tuple-ids=11 row-size=12B cardinality=108 cost=0 |
| | | | in pipelines: 16(GETNEXT) |
| | | | |
| | | 16:SCAN HDFS [tpcds_partitioned_parquet_snap.date_dim, RANDOM] |
| | | HDFS partitions=1/1 files=1 size=2.17MB |
| | | deterministic scan range assignment: true |
| | | schedule scan ranges oldest to newest: true |
| | | predicates: d_year = CAST(2001 AS INT), d_moy = CAST(11 AS INT) |
| | | stored statistics: |
| | | table: rows=73.05K size=2.17MB |
| | | columns: all |
| | | extrapolated-rows=disabled max-scan-range-rows=73.05K |
| | | parquet statistics predicates: d_year = CAST(2001 AS INT), d_moy = CAST(11 AS INT) |
| | | parquet dictionary predicates: d_year = CAST(2001 AS INT), d_moy = CAST(11 AS INT) |
| | | mem-estimate=16.00MB mem-reservation=512.00KB thread-reservation=0 |
| | | tuple-ids=11 row-size=12B cardinality=108 cost=16728 |
| | | in pipelines: 16(GETNEXT) |
| | | |
| | 14:SCAN HDFS [tpcds_partitioned_parquet_snap.store_sales, RANDOM] |
| | HDFS partitions=1824/1824 files=1824 size=389.90GB |
| | runtime filters: RF019[min_max] -> ss_item_sk, RF017[min_max] -> ss_store_sk, RF015[min_max] -> ss_customer_sk, RF020[bloom] -> ss_sold_date_sk, RF018[bloom] -> ss_item_sk, RF016[bloom] -> ss_store_sk, RF014[bloom] -> ss_customer_sk |
| | stored statistics: |
| | table: rows=8.64G size=389.90GB |
| | partitions: 1824/1824 rows=8.64G |
| | columns: all |
| | extrapolated-rows=disabled max-scan-range-rows=390.22M est-scan-range=109(filtered from 1824) |
| | mem-estimate=16.00MB mem-reservation=8.00MB thread-reservation=0 |
| | tuple-ids=9 row-size=20B cardinality=511.58M(filtered from 8.64G) cost=147333631 |
| | in pipelines: 14(GETNEXT) |
| | |
| 36:AGGREGATE [FINALIZE] |
| | output: sum:merge(ss_ext_sales_price) |
| | mem-estimate=16.00KB mem-reservation=0B spill-buffer=2.00MB thread-reservation=0 |
| | tuple-ids=7 row-size=16B cardinality=1 cost=8 |
| | in pipelines: 36(GETNEXT), 13(OPEN) |
| | |
| 35:EXCHANGE [UNPARTITIONED] |
| | mem-estimate=23.62KB mem-reservation=0B thread-reservation=0 |
| | tuple-ids=7 row-size=16B cardinality=120 cost=22 |
| | in pipelines: 13(GETNEXT) |
| | |
| F05:PLAN FRAGMENT [HASH(ss_customer_sk)] hosts=10 instances=10 (adjusted from 120) |
| Per-Instance Resources: mem-estimate=16.41MB mem-reservation=0B thread-reservation=1 |
| max-parallelism=10 segment-costs=[33284846, 185] cpu-comparison-result=90 [max(90 (self) vs 87 (sum children))] |
| 13:AGGREGATE |
| | output: sum(ss_ext_sales_price) |
| | mem-estimate=16.00KB mem-reservation=0B spill-buffer=2.00MB thread-reservation=0 |
| | tuple-ids=7 row-size=16B cardinality=120 cost=299532 |
| | in pipelines: 13(GETNEXT), 00(OPEN) |
| | |
| 12:HASH JOIN [INNER JOIN, BROADCAST] |
| | hash-table-id=06 |
| | hash predicates: ss_promo_sk = p_promo_sk |
| | fk/pk conjuncts: ss_promo_sk = p_promo_sk |
| | mem-estimate=0B mem-reservation=0B spill-buffer=64.00KB thread-reservation=0 |
| | tuple-ids=0,3,6,1,4,5,2 row-size=125B cardinality=4.28M cost=1872934 |
| | in pipelines: 00(GETNEXT), 02(OPEN) |
| | |
| |--F23:PLAN FRAGMENT [HASH(ss_customer_sk)] hosts=10 instances=10 |
| | | Per-Instance Resources: mem-estimate=2.06MB mem-reservation=1.94MB thread-reservation=1 |
| | | max-parallelism=10 segment-costs=[4190] |
| | JOIN BUILD |
| | | join-table-id=06 plan-id=07 cohort-id=01 |
| | | build expressions: p_promo_sk |
| | | runtime filters: RF001[min_max] <- p_promo_sk |
| | | mem-estimate=1.94MB mem-reservation=1.94MB spill-buffer=64.00KB thread-reservation=0 cost=1800 |
| | | |
| | 34:EXCHANGE [BROADCAST] |
| | | mem-estimate=122.59KB mem-reservation=0B thread-reservation=0 |
| | | tuple-ids=2 row-size=43B cardinality=1.80K cost=2390 |
| | | in pipelines: 02(GETNEXT) |
| | | |
| | F07:PLAN FRAGMENT [RANDOM] hosts=1 instances=1 |
| | Per-Instance Resources: mem-estimate=16.18MB mem-reservation=32.00KB thread-reservation=1 |
| | max-parallelism=1 segment-costs=[479] |
| | 02:SCAN HDFS [tpcds_partitioned_parquet_snap.promotion, RANDOM] |
| | HDFS partitions=1/1 files=1 size=100.50KB |
| | predicates: (p_channel_dmail = 'Y' OR p_channel_email = 'Y' OR p_channel_tv = 'Y') |
| | stored statistics: |
| | table: rows=1.80K size=100.50KB |
| | columns: all |
| | extrapolated-rows=disabled max-scan-range-rows=1.80K |
| | mem-estimate=16.00MB mem-reservation=32.00KB thread-reservation=0 |
| | tuple-ids=2 row-size=43B cardinality=1.80K cost=232 |
| | in pipelines: 02(GETNEXT) |
| | |
| 11:HASH JOIN [INNER JOIN, BROADCAST] |
| | hash-table-id=07 |
| | hash predicates: c_current_addr_sk = ca_address_sk |
| | fk/pk conjuncts: c_current_addr_sk = ca_address_sk |
| | mem-estimate=0B mem-reservation=0B spill-buffer=2.00MB thread-reservation=0 |
| | tuple-ids=0,3,6,1,4,5 row-size=82B cardinality=4.28M cost=6813735 |
| | in pipelines: 00(GETNEXT), 05(OPEN) |
| | |
| |--F24:PLAN FRAGMENT [HASH(ss_customer_sk)] hosts=10 instances=10 |
| | | Per-Instance Resources: mem-estimate=78.62MB mem-reservation=36.00MB thread-reservation=1 runtime-filters-memory=2.00MB |
| | | max-parallelism=10 segment-costs=[5647923] |
| | JOIN BUILD |
| | | join-table-id=07 plan-id=08 cohort-id=01 |
| | | build expressions: ca_address_sk |
| | | runtime filters: RF002[bloom] <- ca_address_sk, RF003[min_max] <- ca_address_sk |
| | | mem-estimate=66.50MB mem-reservation=34.00MB spill-buffer=2.00MB thread-reservation=0 cost=2425043 |
| | | |
| | 33:EXCHANGE [BROADCAST] |
| | | mem-estimate=10.12MB mem-reservation=0B thread-reservation=0 |
| | | tuple-ids=5 row-size=8B cardinality=2.43M cost=3222880 |
| | | in pipelines: 05(GETNEXT) |
| | | |
| | F06:PLAN FRAGMENT [RANDOM] hosts=10 instances=10 |
| | Per-Instance Resources: mem-estimate=20.05MB mem-reservation=4.12MB thread-reservation=1 |
| | max-parallelism=10 segment-costs=[2254261] |
| | 49:TUPLE CACHE |
| | | cache key: 1c75dbdf2029ab616ffc1691fcc4bc81 |
| | | input scan node ids: 5 |
| | | estimated serialized size: 27.75MB |
| | | estimated serialized size per node: 2.78MB |
| | | cumulative processing cost: 2149500 |
| | | cache read processing cost: 322288 |
| | | cache write processing cost: 78571 |
| | | mem-estimate=4.00MB mem-reservation=4.00MB spill-buffer=2.00MB thread-reservation=0 |
| | | tuple-ids=5 row-size=8B cardinality=2.43M cost=0 |
| | | in pipelines: 05(GETNEXT) |
| | | |
| | 05:SCAN HDFS [tpcds_partitioned_parquet_snap.customer_address, RANDOM] |
| | HDFS partitions=1/1 files=1 size=307.36MB |
| | deterministic scan range assignment: true |
| | schedule scan ranges oldest to newest: true |
| | predicates: ca_gmt_offset = CAST(-7 AS DECIMAL(3,0)) |
| | stored statistics: |
| | table: rows=15.00M size=307.36MB |
| | columns: all |
| | extrapolated-rows=disabled max-scan-range-rows=1.58M |
| | parquet statistics predicates: ca_gmt_offset = CAST(-7 AS DECIMAL(3,0)) |
| | parquet dictionary predicates: ca_gmt_offset = CAST(-7 AS DECIMAL(3,0)) |
| | mem-estimate=16.00MB mem-reservation=128.00KB thread-reservation=0 |
| | tuple-ids=5 row-size=8B cardinality=2.43M cost=2149500 |
| | in pipelines: 05(GETNEXT) |
| | |
| 10:HASH JOIN [INNER JOIN, PARTITIONED] |
| | hash-table-id=08 |
| | hash predicates: ss_customer_sk = c_customer_sk |
| | fk/pk conjuncts: ss_customer_sk = c_customer_sk |
| | mem-estimate=0B mem-reservation=0B spill-buffer=2.00MB thread-reservation=0 |
| | tuple-ids=0,3,6,1,4 row-size=74B cardinality=23.54M cost=10843649 |
| | in pipelines: 00(GETNEXT), 04(OPEN) |
| | |
| |--F25:PLAN FRAGMENT [HASH(ss_customer_sk)] hosts=10 instances=10 (adjusted from 120) |
| | | Per-Instance Resources: mem-estimate=125.81MB mem-reservation=50.00MB thread-reservation=1 runtime-filters-memory=16.00MB |
| | | max-parallelism=10 segment-costs=[34437000] |
| | JOIN BUILD |
| | | join-table-id=08 plan-id=09 cohort-id=01 |
| | | build expressions: c_customer_sk |
| | | runtime filters: RF004[bloom] <- c_customer_sk, RF005[min_max] <- c_customer_sk |
| | | mem-estimate=99.69MB mem-reservation=34.00MB spill-buffer=2.00MB thread-reservation=0 cost=30000000 |
| | | |
| | 32:EXCHANGE [HASH(c_customer_sk)] |
| | | mem-estimate=10.12MB mem-reservation=0B thread-reservation=0 |
| | | tuple-ids=4 row-size=8B cardinality=30.00M cost=4437000 |
| | | in pipelines: 04(GETNEXT) |
| | | |
| | F04:PLAN FRAGMENT [RANDOM] hosts=10 instances=10 |
| | Per-Host Shared Resources: mem-estimate=2.00MB mem-reservation=2.00MB thread-reservation=0 runtime-filters-memory=2.00MB |
| | Per-Instance Resources: mem-estimate=16.47MB mem-reservation=1.00MB thread-reservation=1 |
| | max-parallelism=10 segment-costs=[34368000] |
| | 04:SCAN HDFS [tpcds_partitioned_parquet_snap.customer, RANDOM] |
| | HDFS partitions=1/1 files=1 size=1.55GB |
| | runtime filters: RF003[min_max] -> c_current_addr_sk, RF002[bloom] -> c_current_addr_sk |
| | stored statistics: |
| | table: rows=30.00M size=1.55GB |
| | columns: all |
| | extrapolated-rows=disabled max-scan-range-rows=3.10M |
| | mem-estimate=16.00MB mem-reservation=1.00MB thread-reservation=0 |
| | tuple-ids=4 row-size=8B cardinality=30.00M cost=3456000 |
| | in pipelines: 04(GETNEXT) |
| | |
| 31:EXCHANGE [HASH(ss_customer_sk)] |
| | mem-estimate=16.40MB mem-reservation=0B thread-reservation=0 |
| | tuple-ids=0,3,6,1 row-size=66B cardinality=25.65M cost=13454996 |
| | in pipelines: 00(GETNEXT) |
| | |
| F00:PLAN FRAGMENT [RANDOM] hosts=10 instances=80 (adjusted from 120) |
| Per-Host Shared Resources: mem-estimate=19.00MB mem-reservation=19.00MB thread-reservation=0 runtime-filters-memory=19.00MB |
| Per-Instance Resources: mem-estimate=19.20MB mem-reservation=8.00MB thread-reservation=1 |
| max-parallelism=80 segment-costs=[720604305] |
| 09:HASH JOIN [INNER JOIN, BROADCAST] |
| | hash-table-id=09 |
| | hash predicates: ss_store_sk = s_store_sk |
| | fk/pk conjuncts: ss_store_sk = s_store_sk |
| | mem-estimate=0B mem-reservation=0B spill-buffer=64.00KB thread-reservation=0 |
| | tuple-ids=0,3,6,1 row-size=66B cardinality=25.65M cost=17731252 |
| | in pipelines: 00(GETNEXT), 01(OPEN) |
| | |
| |--F26:PLAN FRAGMENT [RANDOM] hosts=10 instances=10 |
| | | Per-Instance Resources: mem-estimate=16.52MB mem-reservation=16.50MB thread-reservation=1 runtime-filters-memory=1.00MB |
| | | max-parallelism=10 segment-costs=[776] |
| | JOIN BUILD |
| | | join-table-id=09 plan-id=10 cohort-id=01 |
| | | build expressions: s_store_sk |
| | | runtime filters: RF006[bloom] <- s_store_sk, RF007[min_max] <- s_store_sk |
| | | mem-estimate=15.50MB mem-reservation=15.50MB spill-buffer=64.00KB thread-reservation=0 cost=336 |
| | | |
| | 30:EXCHANGE [BROADCAST] |
| | | mem-estimate=16.00KB mem-reservation=0B thread-reservation=0 |
| | | tuple-ids=1 row-size=8B cardinality=336 cost=440 |
| | | in pipelines: 01(GETNEXT) |
| | | |
| | F03:PLAN FRAGMENT [RANDOM] hosts=1 instances=1 |
| | Per-Instance Resources: mem-estimate=20.05MB mem-reservation=4.02MB thread-reservation=1 |
| | max-parallelism=1 segment-costs=[207] |
| | 48:TUPLE CACHE |
| | | cache key: 1d7377046104372f67367e5fd2d2a71a |
| | | input scan node ids: 1 |
| | | estimated serialized size: 3.94KB |
| | | estimated serialized size per node: 3.94KB |
| | | cumulative processing cost: 193 |
| | | cache read processing cost: 44 |
| | | cache write processing cost: 10 |
| | | mem-estimate=4.00MB mem-reservation=4.00MB spill-buffer=2.00MB thread-reservation=0 |
| | | tuple-ids=1 row-size=8B cardinality=336 cost=0 |
| | | in pipelines: 01(GETNEXT) |
| | | |
| | 01:SCAN HDFS [tpcds_partitioned_parquet_snap.store, RANDOM] |
| | HDFS partitions=1/1 files=1 size=119.76KB |
| | deterministic scan range assignment: true |
| | schedule scan ranges oldest to newest: true |
| | predicates: s_gmt_offset = CAST(-7 AS DECIMAL(3,0)) |
| | stored statistics: |
| | table: rows=1.35K size=119.76KB |
| | columns: all |
| | extrapolated-rows=disabled max-scan-range-rows=1.35K |
| | parquet statistics predicates: s_gmt_offset = CAST(-7 AS DECIMAL(3,0)) |
| | parquet dictionary predicates: s_gmt_offset = CAST(-7 AS DECIMAL(3,0)) |
| | mem-estimate=16.00MB mem-reservation=16.00KB thread-reservation=0 |
| | tuple-ids=1 row-size=8B cardinality=336 cost=193 |
| | in pipelines: 01(GETNEXT) |
| | |
| 08:HASH JOIN [INNER JOIN, BROADCAST] |
| | hash-table-id=10 |
| | hash predicates: ss_item_sk = i_item_sk |
| | fk/pk conjuncts: ss_item_sk = i_item_sk |
| | mem-estimate=0B mem-reservation=0B spill-buffer=128.00KB thread-reservation=0 |
| | tuple-ids=0,3,6 row-size=58B cardinality=51.01M cost=140462248 |
| | in pipelines: 00(GETNEXT), 06(OPEN) |
| | |
| |--F27:PLAN FRAGMENT [RANDOM] hosts=10 instances=10 |
| | | Per-Instance Resources: mem-estimate=24.85MB mem-reservation=24.00MB thread-reservation=1 runtime-filters-memory=1.00MB |
| | | max-parallelism=10 segment-costs=[83645] |
| | JOIN BUILD |
| | | join-table-id=10 plan-id=11 cohort-id=01 |
| | | build expressions: i_item_sk |
| | | runtime filters: RF008[bloom] <- i_item_sk, RF009[min_max] <- i_item_sk |
| | | mem-estimate=23.00MB mem-reservation=23.00MB spill-buffer=128.00KB thread-reservation=0 cost=35915 |
| | | |
| | 29:EXCHANGE [BROADCAST] |
| | | mem-estimate=871.90KB mem-reservation=0B thread-reservation=0 |
| | | tuple-ids=6 row-size=22B cardinality=35.91K cost=47730 |
| | | in pipelines: 06(GETNEXT) |
| | | |
| | F02:PLAN FRAGMENT [RANDOM] hosts=4 instances=4 |
| | Per-Instance Resources: mem-estimate=20.10MB mem-reservation=4.50MB thread-reservation=1 |
| | max-parallelism=4 segment-costs=[64362] |
| | 47:TUPLE CACHE |
| | | cache key: 3f955d4d5ce7c89432955d9636c9524d |
| | | input scan node ids: 6 |
| | | estimated serialized size: 908.58KB |
| | | estimated serialized size per node: 227.14KB |
| | | cumulative processing cost: 61463 |
| | | cache read processing cost: 4773 |
| | | cache write processing cost: 2512 |
| | | mem-estimate=4.00MB mem-reservation=4.00MB spill-buffer=2.00MB thread-reservation=0 |
| | | tuple-ids=6 row-size=22B cardinality=35.91K cost=0 |
| | | in pipelines: 06(GETNEXT) |
| | | |
| | 06:SCAN HDFS [tpcds_partitioned_parquet_snap.item, RANDOM] |
| | HDFS partitions=1/1 files=1 size=33.54MB |
| | deterministic scan range assignment: true |
| | schedule scan ranges oldest to newest: true |
| | predicates: i_category = 'Electronics' |
| | stored statistics: |
| | table: rows=360.00K size=33.54MB |
| | columns: all |
| | extrapolated-rows=disabled max-scan-range-rows=101.54K |
| | parquet statistics predicates: i_category = 'Electronics' |
| | parquet dictionary predicates: i_category = 'Electronics' |
| | mem-estimate=16.00MB mem-reservation=512.00KB thread-reservation=0 |
| | tuple-ids=6 row-size=22B cardinality=35.91K cost=61463 |
| | in pipelines: 06(GETNEXT) |
| | |
| 07:HASH JOIN [INNER JOIN, BROADCAST] |
| | hash-table-id=11 |
| | 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=0,3 row-size=36B cardinality=511.58M cost=223916426 |
| | in pipelines: 00(GETNEXT), 03(OPEN) |
| | |
| |--F28:PLAN FRAGMENT [RANDOM] hosts=10 instances=10 |
| | | Per-Instance Resources: mem-estimate=16.52MB mem-reservation=16.50MB thread-reservation=1 runtime-filters-memory=1.00MB |
| | | max-parallelism=10 segment-costs=[248] |
| | JOIN BUILD |
| | | join-table-id=11 plan-id=12 cohort-id=01 |
| | | build expressions: d_date_sk |
| | | runtime filters: RF010[bloom] <- d_date_sk |
| | | mem-estimate=15.50MB mem-reservation=15.50MB spill-buffer=64.00KB thread-reservation=0 cost=108 |
| | | |
| | 28:EXCHANGE [BROADCAST] |
| | | mem-estimate=16.00KB mem-reservation=0B thread-reservation=0 |
| | | tuple-ids=3 row-size=12B cardinality=108 cost=140 |
| | | in pipelines: 03(GETNEXT) |
| | | |
| | F01:PLAN FRAGMENT [RANDOM] hosts=1 instances=1 |
| | Per-Instance Resources: mem-estimate=20.06MB mem-reservation=4.50MB thread-reservation=1 |
| | max-parallelism=1 segment-costs=[16733] |
| | 46:TUPLE CACHE |
| | | cache key: 335069d4d246dd71cc20b62ef6070beb |
| | | input scan node ids: 3 |
| | | estimated serialized size: 1.69KB |
| | | estimated serialized size per node: 1.69KB |
| | | cumulative processing cost: 16728 |
| | | cache read processing cost: 14 |
| | | cache write processing cost: 4 |
| | | mem-estimate=4.00MB mem-reservation=4.00MB spill-buffer=2.00MB thread-reservation=0 |
| | | tuple-ids=3 row-size=12B cardinality=108 cost=0 |
| | | in pipelines: 03(GETNEXT) |
| | | |
| | 03:SCAN HDFS [tpcds_partitioned_parquet_snap.date_dim, RANDOM] |
| | HDFS partitions=1/1 files=1 size=2.17MB |
| | deterministic scan range assignment: true |
| | schedule scan ranges oldest to newest: true |
| | predicates: d_year = CAST(2001 AS INT), d_moy = CAST(11 AS INT) |
| | stored statistics: |
| | table: rows=73.05K size=2.17MB |
| | columns: all |
| | extrapolated-rows=disabled max-scan-range-rows=73.05K |
| | parquet statistics predicates: d_year = CAST(2001 AS INT), d_moy = CAST(11 AS INT) |
| | parquet dictionary predicates: d_year = CAST(2001 AS INT), d_moy = CAST(11 AS INT) |
| | mem-estimate=16.00MB mem-reservation=512.00KB thread-reservation=0 |
| | tuple-ids=3 row-size=12B cardinality=108 cost=16728 |
| | in pipelines: 03(GETNEXT) |
| | |
| 00:SCAN HDFS [tpcds_partitioned_parquet_snap.store_sales, RANDOM] |
| HDFS partitions=1824/1824 files=1824 size=389.90GB |
| runtime filters: RF009[min_max] -> ss_item_sk, RF007[min_max] -> ss_store_sk, RF005[min_max] -> ss_customer_sk, RF001[min_max] -> ss_promo_sk, RF010[bloom] -> ss_sold_date_sk, RF008[bloom] -> ss_item_sk, RF006[bloom] -> ss_store_sk, RF004[bloom] -> ss_customer_sk |
| stored statistics: |
| table: rows=8.64G size=389.90GB |
| partitions: 1824/1824 rows=8.64G |
| columns: all |
| extrapolated-rows=disabled max-scan-range-rows=390.22M est-scan-range=109(filtered from 1824) |
| mem-estimate=16.00MB mem-reservation=8.00MB thread-reservation=0 |
| tuple-ids=0 row-size=24B cardinality=511.58M(filtered from 8.64G) cost=176800358 |
| in pipelines: 00(GETNEXT) |
| ==== |