diff --git a/dev9/pg10/tpch/sf_1/explain/15721/1-1.ok b/dev9/pg10/tpch/sf_1/explain/15721/1-1.ok new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/dev9/pg10/tpch/sf_1/explain/15721/1-1.res b/dev9/pg10/tpch/sf_1/explain/15721/1-1.res new file mode 100644 index 0000000000000000000000000000000000000000..dcb1ef31699a220423b892bad36e77407c5e9d60 --- /dev/null +++ b/dev9/pg10/tpch/sf_1/explain/15721/1-1.res @@ -0,0 +1 @@ +{"Plan": {"Node Type": "Aggregate", "Strategy": "Sorted", "Partial Mode": "Finalize", "Parallel Aware": false, "Startup Cost": 175420.94, "Total Cost": 175422.45, "Plan Rows": 6, "Plan Width": 236, "Output": ["l_returnflag", "l_linestatus", "sum(l_quantity)", "sum(l_extendedprice)", "sum((l_extendedprice * ('1'::numeric - l_discount)))", "sum(((l_extendedprice * ('1'::numeric - l_discount)) * ('1'::numeric + l_tax)))", "avg(l_quantity)", "avg(l_extendedprice)", "avg(l_discount)", "count(*)"], "Group Key": ["lineitem.l_returnflag", "lineitem.l_linestatus"], "Plans": [{"Node Type": "Sort", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 175420.94, "Total Cost": 175421.01, "Plan Rows": 30, "Plan Width": 236, "Output": ["l_returnflag", "l_linestatus", "(PARTIAL sum(l_quantity))", "(PARTIAL sum(l_extendedprice))", "(PARTIAL sum((l_extendedprice * ('1'::numeric - l_discount))))", "(PARTIAL sum(((l_extendedprice * ('1'::numeric - l_discount)) * ('1'::numeric + l_tax))))", "(PARTIAL avg(l_quantity))", "(PARTIAL avg(l_extendedprice))", "(PARTIAL avg(l_discount))", "(PARTIAL count(*))"], "Sort Key": ["lineitem.l_returnflag", "lineitem.l_linestatus"], "Plans": [{"Node Type": "Gather", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 175417.04, "Total Cost": 175420.2, "Plan Rows": 30, "Plan Width": 236, "Output": ["l_returnflag", "l_linestatus", "(PARTIAL sum(l_quantity))", "(PARTIAL sum(l_extendedprice))", "(PARTIAL sum((l_extendedprice * ('1'::numeric - l_discount))))", "(PARTIAL sum(((l_extendedprice * ('1'::numeric - l_discount)) * ('1'::numeric + l_tax))))", "(PARTIAL avg(l_quantity))", "(PARTIAL avg(l_extendedprice))", "(PARTIAL avg(l_discount))", "(PARTIAL count(*))"], "Workers Planned": 5, "Single Copy": false, "Plans": [{"Node Type": "Aggregate", "Strategy": "Hashed", "Partial Mode": "Partial", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 174417.04, "Total Cost": 174417.2, "Plan Rows": 6, "Plan Width": 236, "Output": ["l_returnflag", "l_linestatus", "PARTIAL sum(l_quantity)", "PARTIAL sum(l_extendedprice)", "PARTIAL sum((l_extendedprice * ('1'::numeric - l_discount)))", "PARTIAL sum(((l_extendedprice * ('1'::numeric - l_discount)) * ('1'::numeric + l_tax)))", "PARTIAL avg(l_quantity)", "PARTIAL avg(l_extendedprice)", "PARTIAL avg(l_discount)", "PARTIAL count(*)"], "Group Key": ["lineitem.l_returnflag", "lineitem.l_linestatus"], "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": true, "Relation Name": "lineitem", "Schema": "public", "Alias": "lineitem", "Startup Cost": 0.0, "Total Cost": 127506.04, "Plan Rows": 1172775, "Plan Width": 25, "Output": ["l_returnflag", "l_linestatus", "l_quantity", "l_extendedprice", "l_discount", "l_tax"], "Filter": "(lineitem.l_shipdate <= '1998-08-07 23:59:57'::timestamp without time zone)"}]}]}]}]}} diff --git a/dev9/pg10/tpch/sf_1/explain/15721/10-1.ok b/dev9/pg10/tpch/sf_1/explain/15721/10-1.ok new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/dev9/pg10/tpch/sf_1/explain/15721/10-1.res b/dev9/pg10/tpch/sf_1/explain/15721/10-1.res new file mode 100644 index 0000000000000000000000000000000000000000..624cab38cc04b69217919e557ca5961d2bdfbc7d --- /dev/null +++ b/dev9/pg10/tpch/sf_1/explain/15721/10-1.res @@ -0,0 +1 @@ +{"Plan": {"Node Type": "Limit", "Parallel Aware": false, "Startup Cost": 75495.6, "Total Cost": 75495.65, "Plan Rows": 20, "Plan Width": 202, "Output": ["customer.c_custkey", "customer.c_name", "(sum((lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount))))", "customer.c_acctbal", "nation.n_name", "customer.c_address", "customer.c_phone", "customer.c_comment"], "Plans": [{"Node Type": "Sort", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 75495.6, "Total Cost": 75627.18, "Plan Rows": 52634, "Plan Width": 202, "Output": ["customer.c_custkey", "customer.c_name", "(sum((lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount))))", "customer.c_acctbal", "nation.n_name", "customer.c_address", "customer.c_phone", "customer.c_comment"], "Sort Key": ["(sum((lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount)))) DESC"], "Plans": [{"Node Type": "Aggregate", "Strategy": "Hashed", "Partial Mode": "Simple", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 73437.1, "Total Cost": 74095.03, "Plan Rows": 52634, "Plan Width": 202, "Output": ["customer.c_custkey", "customer.c_name", "sum((lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount)))", "customer.c_acctbal", "nation.n_name", "customer.c_address", "customer.c_phone", "customer.c_comment"], "Group Key": ["customer.c_custkey", "nation.n_name"], "Plans": [{"Node Type": "Gather", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 1714.89, "Total Cost": 72779.18, "Plan Rows": 52634, "Plan Width": 182, "Output": ["customer.c_custkey", "nation.n_name", "customer.c_name", "lineitem.l_extendedprice", "lineitem.l_discount", "customer.c_acctbal", "customer.c_address", "customer.c_phone", "customer.c_comment"], "Workers Planned": 3, "Single Copy": false, "Plans": [{"Node Type": "Hash Join", "Parent Relationship": "Outer", "Parallel Aware": false, "Join Type": "Inner", "Startup Cost": 714.89, "Total Cost": 66515.78, "Plan Rows": 16979, "Plan Width": 182, "Output": ["customer.c_custkey", "nation.n_name", "customer.c_name", "lineitem.l_extendedprice", "lineitem.l_discount", "customer.c_acctbal", "customer.c_address", "customer.c_phone", "customer.c_comment"], "Inner Unique": true, "Hash Cond": "(customer.c_nationkey = nation.n_nationkey)", "Plans": [{"Node Type": "Nested Loop", "Parent Relationship": "Outer", "Parallel Aware": false, "Join Type": "Inner", "Startup Cost": 713.33, "Total Cost": 66462.09, "Plan Rows": 16979, "Plan Width": 160, "Output": ["customer.c_custkey", "customer.c_name", "customer.c_acctbal", "customer.c_address", "customer.c_phone", "customer.c_comment", "customer.c_nationkey", "lineitem.l_extendedprice", "lineitem.l_discount"], "Inner Unique": true, "Plans": [{"Node Type": "Nested Loop", "Parent Relationship": "Outer", "Parallel Aware": false, "Join Type": "Inner", "Startup Cost": 712.91, "Total Cost": 57639.94, "Plan Rows": 16979, "Plan Width": 16, "Output": ["orders.o_custkey", "lineitem.l_extendedprice", "lineitem.l_discount"], "Inner Unique": false, "Plans": [{"Node Type": "Bitmap Heap Scan", "Parent Relationship": "Outer", "Parallel Aware": true, "Relation Name": "orders", "Schema": "public", "Alias": "orders", "Startup Cost": 712.47, "Total Cost": 27066.76, "Plan Rows": 17285, "Plan Width": 8, "Output": ["orders.o_orderkey", "orders.o_custkey", "orders.o_orderstatus", "orders.o_totalprice", "orders.o_orderdate", "orders.o_orderpriority", "orders.o_clerk", "orders.o_shippriority", "orders.o_comment"], "Recheck Cond": "((orders.o_orderdate >= '1993-02-01'::date) AND (orders.o_orderdate < '1993-05-01 00:00:00'::timestamp without time zone))", "Plans": [{"Node Type": "Bitmap Index Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Index Name": "o_od", "Startup Cost": 0.0, "Total Cost": 699.08, "Plan Rows": 53585, "Plan Width": 0, "Index Cond": "((orders.o_orderdate >= '1993-02-01'::date) AND (orders.o_orderdate < '1993-05-01 00:00:00'::timestamp without time zone))"}]}, {"Node Type": "Index Scan", "Parent Relationship": "Inner", "Parallel Aware": false, "Scan Direction": "Forward", "Index Name": "l_ok", "Relation Name": "lineitem", "Schema": "public", "Alias": "lineitem", "Startup Cost": 0.43, "Total Cost": 1.76, "Plan Rows": 1, "Plan Width": 16, "Output": ["lineitem.l_orderkey", "lineitem.l_partkey", "lineitem.l_suppkey", "lineitem.l_linenumber", "lineitem.l_quantity", "lineitem.l_extendedprice", "lineitem.l_discount", "lineitem.l_tax", "lineitem.l_returnflag", "lineitem.l_linestatus", "lineitem.l_shipdate", "lineitem.l_commitdate", "lineitem.l_receiptdate", "lineitem.l_shipinstruct", "lineitem.l_shipmode", "lineitem.l_comment"], "Index Cond": "(lineitem.l_orderkey = orders.o_orderkey)", "Filter": "(lineitem.l_returnflag = 'R'::bpchar)"}]}, {"Node Type": "Index Scan", "Parent Relationship": "Inner", "Parallel Aware": false, "Scan Direction": "Forward", "Index Name": "c_ck", "Relation Name": "customer", "Schema": "public", "Alias": "customer", "Startup Cost": 0.42, "Total Cost": 0.52, "Plan Rows": 1, "Plan Width": 148, "Output": ["customer.c_custkey", "customer.c_name", "customer.c_address", "customer.c_nationkey", "customer.c_phone", "customer.c_acctbal", "customer.c_mktsegment", "customer.c_comment"], "Index Cond": "(customer.c_custkey = orders.o_custkey)"}]}, {"Node Type": "Hash", "Parent Relationship": "Inner", "Parallel Aware": false, "Startup Cost": 1.25, "Total Cost": 1.25, "Plan Rows": 25, "Plan Width": 30, "Output": ["nation.n_name", "nation.n_nationkey"], "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Relation Name": "nation", "Schema": "public", "Alias": "nation", "Startup Cost": 0.0, "Total Cost": 1.25, "Plan Rows": 25, "Plan Width": 30, "Output": ["nation.n_name", "nation.n_nationkey"]}]}]}]}]}]}]}} diff --git a/dev9/pg10/tpch/sf_1/explain/15721/11-1.ok b/dev9/pg10/tpch/sf_1/explain/15721/11-1.ok new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/dev9/pg10/tpch/sf_1/explain/15721/11-1.res b/dev9/pg10/tpch/sf_1/explain/15721/11-1.res new file mode 100644 index 0000000000000000000000000000000000000000..9e6a41929671452cd4d69c824aa6e4991e0fc8b0 --- /dev/null +++ b/dev9/pg10/tpch/sf_1/explain/15721/11-1.res @@ -0,0 +1 @@ +{"Plan": {"Node Type": "Sort", "Parallel Aware": false, "Startup Cost": 7958.32, "Total Cost": 8038.32, "Plan Rows": 32000, "Plan Width": 36, "Output": ["partsupp.ps_partkey", "(sum((partsupp.ps_supplycost * (partsupp.ps_availqty)::numeric)))"], "Sort Key": ["(sum((partsupp.ps_supplycost * (partsupp.ps_availqty)::numeric))) DESC"], "Plans": [{"Node Type": "Aggregate", "Strategy": "Plain", "Partial Mode": "Simple", "Parent Relationship": "InitPlan", "Subplan Name": "InitPlan 1 (returns $2)", "Parallel Aware": false, "Startup Cost": 2381.89, "Total Cost": 2381.9, "Plan Rows": 1, "Plan Width": 32, "Output": ["(sum((partsupp_1.ps_supplycost * (partsupp_1.ps_availqty)::numeric)) * 0.0001000000)"], "Plans": [{"Node Type": "Nested Loop", "Parent Relationship": "Outer", "Parallel Aware": false, "Join Type": "Inner", "Startup Cost": 6.01, "Total Cost": 2141.89, "Plan Rows": 32000, "Plan Width": 10, "Output": ["partsupp_1.ps_supplycost", "partsupp_1.ps_availqty"], "Inner Unique": false, "Plans": [{"Node Type": "Nested Loop", "Parent Relationship": "Outer", "Parallel Aware": false, "Join Type": "Inner", "Startup Cost": 5.58, "Total Cost": 227.43, "Plan Rows": 400, "Plan Width": 4, "Output": ["supplier_1.s_suppkey"], "Inner Unique": false, "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Relation Name": "nation", "Schema": "public", "Alias": "nation_1", "Startup Cost": 0.0, "Total Cost": 1.31, "Plan Rows": 1, "Plan Width": 4, "Output": ["nation_1.n_nationkey", "nation_1.n_name", "nation_1.n_regionkey", "nation_1.n_comment"], "Filter": "(nation_1.n_name = 'CHINA'::bpchar)"}, {"Node Type": "Bitmap Heap Scan", "Parent Relationship": "Inner", "Parallel Aware": false, "Relation Name": "supplier", "Schema": "public", "Alias": "supplier_1", "Startup Cost": 5.58, "Total Cost": 222.11, "Plan Rows": 400, "Plan Width": 8, "Output": ["supplier_1.s_suppkey", "supplier_1.s_name", "supplier_1.s_address", "supplier_1.s_nationkey", "supplier_1.s_phone", "supplier_1.s_acctbal", "supplier_1.s_comment"], "Recheck Cond": "(supplier_1.s_nationkey = nation_1.n_nationkey)", "Plans": [{"Node Type": "Bitmap Index Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Index Name": "s_nk", "Startup Cost": 0.0, "Total Cost": 5.49, "Plan Rows": 400, "Plan Width": 0, "Index Cond": "(supplier_1.s_nationkey = nation_1.n_nationkey)"}]}]}, {"Node Type": "Index Scan", "Parent Relationship": "Inner", "Parallel Aware": false, "Scan Direction": "Forward", "Index Name": "ps_sk", "Relation Name": "partsupp", "Schema": "public", "Alias": "partsupp_1", "Startup Cost": 0.42, "Total Cost": 3.99, "Plan Rows": 80, "Plan Width": 14, "Output": ["partsupp_1.ps_partkey", "partsupp_1.ps_suppkey", "partsupp_1.ps_availqty", "partsupp_1.ps_supplycost", "partsupp_1.ps_comment"], "Index Cond": "(partsupp_1.ps_suppkey = supplier_1.s_suppkey)"}]}]}, {"Node Type": "Aggregate", "Strategy": "Hashed", "Partial Mode": "Simple", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 2701.89, "Total Cost": 3181.89, "Plan Rows": 32000, "Plan Width": 36, "Output": ["partsupp.ps_partkey", "sum((partsupp.ps_supplycost * (partsupp.ps_availqty)::numeric))"], "Group Key": ["partsupp.ps_partkey"], "Filter": "(sum((partsupp.ps_supplycost * (partsupp.ps_availqty)::numeric)) > $2)", "Plans": [{"Node Type": "Nested Loop", "Parent Relationship": "Outer", "Parallel Aware": false, "Join Type": "Inner", "Startup Cost": 6.01, "Total Cost": 2141.89, "Plan Rows": 32000, "Plan Width": 14, "Output": ["partsupp.ps_partkey", "partsupp.ps_supplycost", "partsupp.ps_availqty"], "Inner Unique": false, "Plans": [{"Node Type": "Nested Loop", "Parent Relationship": "Outer", "Parallel Aware": false, "Join Type": "Inner", "Startup Cost": 5.58, "Total Cost": 227.43, "Plan Rows": 400, "Plan Width": 4, "Output": ["supplier.s_suppkey"], "Inner Unique": false, "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Relation Name": "nation", "Schema": "public", "Alias": "nation", "Startup Cost": 0.0, "Total Cost": 1.31, "Plan Rows": 1, "Plan Width": 4, "Output": ["nation.n_nationkey", "nation.n_name", "nation.n_regionkey", "nation.n_comment"], "Filter": "(nation.n_name = 'CHINA'::bpchar)"}, {"Node Type": "Bitmap Heap Scan", "Parent Relationship": "Inner", "Parallel Aware": false, "Relation Name": "supplier", "Schema": "public", "Alias": "supplier", "Startup Cost": 5.58, "Total Cost": 222.11, "Plan Rows": 400, "Plan Width": 8, "Output": ["supplier.s_suppkey", "supplier.s_name", "supplier.s_address", "supplier.s_nationkey", "supplier.s_phone", "supplier.s_acctbal", "supplier.s_comment"], "Recheck Cond": "(supplier.s_nationkey = nation.n_nationkey)", "Plans": [{"Node Type": "Bitmap Index Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Index Name": "s_nk", "Startup Cost": 0.0, "Total Cost": 5.49, "Plan Rows": 400, "Plan Width": 0, "Index Cond": "(supplier.s_nationkey = nation.n_nationkey)"}]}]}, {"Node Type": "Index Scan", "Parent Relationship": "Inner", "Parallel Aware": false, "Scan Direction": "Forward", "Index Name": "ps_sk", "Relation Name": "partsupp", "Schema": "public", "Alias": "partsupp", "Startup Cost": 0.42, "Total Cost": 3.99, "Plan Rows": 80, "Plan Width": 18, "Output": ["partsupp.ps_partkey", "partsupp.ps_suppkey", "partsupp.ps_availqty", "partsupp.ps_supplycost", "partsupp.ps_comment"], "Index Cond": "(partsupp.ps_suppkey = supplier.s_suppkey)"}]}]}]}} diff --git a/dev9/pg10/tpch/sf_1/explain/15721/12-1.ok b/dev9/pg10/tpch/sf_1/explain/15721/12-1.ok new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/dev9/pg10/tpch/sf_1/explain/15721/12-1.res b/dev9/pg10/tpch/sf_1/explain/15721/12-1.res new file mode 100644 index 0000000000000000000000000000000000000000..4ad3d837c9a06414dcdcff21cd0bbd325ce255a5 --- /dev/null +++ b/dev9/pg10/tpch/sf_1/explain/15721/12-1.res @@ -0,0 +1 @@ +{"Plan": {"Node Type": "Aggregate", "Strategy": "Sorted", "Partial Mode": "Finalize", "Parallel Aware": false, "Startup Cost": 137587.19, "Total Cost": 137708.32, "Plan Rows": 7, "Plan Width": 27, "Output": ["lineitem.l_shipmode", "sum(CASE WHEN ((orders.o_orderpriority = '1-URGENT'::bpchar) OR (orders.o_orderpriority = '2-HIGH'::bpchar)) THEN 1 ELSE 0 END)", "sum(CASE WHEN ((orders.o_orderpriority <> '1-URGENT'::bpchar) AND (orders.o_orderpriority <> '2-HIGH'::bpchar)) THEN 1 ELSE 0 END)"], "Group Key": ["lineitem.l_shipmode"], "Plans": [{"Node Type": "Gather Merge", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 137587.19, "Total Cost": 137707.99, "Plan Rows": 35, "Plan Width": 27, "Output": ["lineitem.l_shipmode", "(PARTIAL sum(CASE WHEN ((orders.o_orderpriority = '1-URGENT'::bpchar) OR (orders.o_orderpriority = '2-HIGH'::bpchar)) THEN 1 ELSE 0 END))", "(PARTIAL sum(CASE WHEN ((orders.o_orderpriority <> '1-URGENT'::bpchar) AND (orders.o_orderpriority <> '2-HIGH'::bpchar)) THEN 1 ELSE 0 END))"], "Workers Planned": 5, "Plans": [{"Node Type": "Aggregate", "Strategy": "Sorted", "Partial Mode": "Partial", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 136587.11, "Total Cost": 136703.7, "Plan Rows": 7, "Plan Width": 27, "Output": ["lineitem.l_shipmode", "PARTIAL sum(CASE WHEN ((orders.o_orderpriority = '1-URGENT'::bpchar) OR (orders.o_orderpriority = '2-HIGH'::bpchar)) THEN 1 ELSE 0 END)", "PARTIAL sum(CASE WHEN ((orders.o_orderpriority <> '1-URGENT'::bpchar) AND (orders.o_orderpriority <> '2-HIGH'::bpchar)) THEN 1 ELSE 0 END)"], "Group Key": ["lineitem.l_shipmode"], "Plans": [{"Node Type": "Sort", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 136587.11, "Total Cost": 136601.67, "Plan Rows": 5826, "Plan Width": 27, "Output": ["lineitem.l_shipmode", "orders.o_orderpriority"], "Sort Key": ["lineitem.l_shipmode"], "Plans": [{"Node Type": "Nested Loop", "Parent Relationship": "Outer", "Parallel Aware": false, "Join Type": "Inner", "Startup Cost": 11972.77, "Total Cost": 136222.74, "Plan Rows": 5826, "Plan Width": 27, "Output": ["lineitem.l_shipmode", "orders.o_orderpriority"], "Inner Unique": true, "Plans": [{"Node Type": "Bitmap Heap Scan", "Parent Relationship": "Outer", "Parallel Aware": true, "Relation Name": "lineitem", "Schema": "public", "Alias": "lineitem", "Startup Cost": 11972.35, "Total Cost": 128611.53, "Plan Rows": 5826, "Plan Width": 15, "Output": ["lineitem.l_orderkey", "lineitem.l_partkey", "lineitem.l_suppkey", "lineitem.l_linenumber", "lineitem.l_quantity", "lineitem.l_extendedprice", "lineitem.l_discount", "lineitem.l_tax", "lineitem.l_returnflag", "lineitem.l_linestatus", "lineitem.l_shipdate", "lineitem.l_commitdate", "lineitem.l_receiptdate", "lineitem.l_shipinstruct", "lineitem.l_shipmode", "lineitem.l_comment"], "Recheck Cond": "((lineitem.l_receiptdate >= '1995-01-01'::date) AND (lineitem.l_receiptdate < '1996-01-01 00:00:00'::timestamp without time zone))", "Filter": "((lineitem.l_shipmode = ANY ('{MAIL,TRUCK}'::bpchar[])) AND (lineitem.l_commitdate < lineitem.l_receiptdate) AND (lineitem.l_shipdate < lineitem.l_commitdate))", "Plans": [{"Node Type": "Bitmap Index Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Index Name": "l_rd", "Startup Cost": 0.0, "Total Cost": 11965.06, "Plan Rows": 919153, "Plan Width": 0, "Index Cond": "((lineitem.l_receiptdate >= '1995-01-01'::date) AND (lineitem.l_receiptdate < '1996-01-01 00:00:00'::timestamp without time zone))"}]}, {"Node Type": "Index Scan", "Parent Relationship": "Inner", "Parallel Aware": false, "Scan Direction": "Forward", "Index Name": "o_ok", "Relation Name": "orders", "Schema": "public", "Alias": "orders", "Startup Cost": 0.43, "Total Cost": 1.31, "Plan Rows": 1, "Plan Width": 20, "Output": ["orders.o_orderkey", "orders.o_custkey", "orders.o_orderstatus", "orders.o_totalprice", "orders.o_orderdate", "orders.o_orderpriority", "orders.o_clerk", "orders.o_shippriority", "orders.o_comment"], "Index Cond": "(orders.o_orderkey = lineitem.l_orderkey)"}]}]}]}]}]}} diff --git a/dev9/pg10/tpch/sf_1/explain/15721/13-1.ok b/dev9/pg10/tpch/sf_1/explain/15721/13-1.ok new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/dev9/pg10/tpch/sf_1/explain/15721/13-1.res b/dev9/pg10/tpch/sf_1/explain/15721/13-1.res new file mode 100644 index 0000000000000000000000000000000000000000..8b4b7c3092a65e1dde6d0f577f9ec6b25655809b --- /dev/null +++ b/dev9/pg10/tpch/sf_1/explain/15721/13-1.res @@ -0,0 +1 @@ +{"Plan": {"Node Type": "Sort", "Parallel Aware": false, "Startup Cost": 64485.99, "Total Cost": 64486.49, "Plan Rows": 200, "Plan Width": 16, "Output": ["(count(orders.o_orderkey))", "(count(*))"], "Sort Key": ["(count(*)) DESC", "(count(orders.o_orderkey)) DESC"], "Plans": [{"Node Type": "Aggregate", "Strategy": "Hashed", "Partial Mode": "Simple", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 64476.35, "Total Cost": 64478.35, "Plan Rows": 200, "Plan Width": 16, "Output": ["(count(orders.o_orderkey))", "count(*)"], "Group Key": ["count(orders.o_orderkey)"], "Plans": [{"Node Type": "Aggregate", "Strategy": "Hashed", "Partial Mode": "Simple", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 60726.35, "Total Cost": 62226.35, "Plan Rows": 150000, "Plan Width": 12, "Output": ["customer.c_custkey", "count(orders.o_orderkey)"], "Group Key": ["customer.c_custkey"], "Plans": [{"Node Type": "Hash Join", "Parent Relationship": "Outer", "Parallel Aware": false, "Join Type": "Right", "Startup Cost": 4580.82, "Total Cost": 53316.24, "Plan Rows": 1482022, "Plan Width": 8, "Output": ["customer.c_custkey", "orders.o_orderkey"], "Inner Unique": true, "Hash Cond": "(orders.o_custkey = customer.c_custkey)", "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Relation Name": "orders", "Schema": "public", "Alias": "orders", "Startup Cost": 0.0, "Total Cost": 44845.0, "Plan Rows": 1482022, "Plan Width": 8, "Output": ["orders.o_orderkey", "orders.o_custkey", "orders.o_orderstatus", "orders.o_totalprice", "orders.o_orderdate", "orders.o_orderpriority", "orders.o_clerk", "orders.o_shippriority", "orders.o_comment"], "Filter": "((orders.o_comment)::text !~~ '%unusual%requests%'::text)"}, {"Node Type": "Hash", "Parent Relationship": "Inner", "Parallel Aware": false, "Startup Cost": 2705.82, "Total Cost": 2705.82, "Plan Rows": 150000, "Plan Width": 4, "Output": ["customer.c_custkey"], "Plans": [{"Node Type": "Index Only Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Scan Direction": "Forward", "Index Name": "c_ck", "Relation Name": "customer", "Schema": "public", "Alias": "customer", "Startup Cost": 0.42, "Total Cost": 2705.82, "Plan Rows": 150000, "Plan Width": 4, "Output": ["customer.c_custkey"]}]}]}]}]}]}} diff --git a/dev9/pg10/tpch/sf_1/explain/15721/14-1.ok b/dev9/pg10/tpch/sf_1/explain/15721/14-1.ok new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/dev9/pg10/tpch/sf_1/explain/15721/14-1.res b/dev9/pg10/tpch/sf_1/explain/15721/14-1.res new file mode 100644 index 0000000000000000000000000000000000000000..a31a5c1e917973292a13cb68f9aa30c5f8f55274 --- /dev/null +++ b/dev9/pg10/tpch/sf_1/explain/15721/14-1.res @@ -0,0 +1 @@ +{"Plan": {"Node Type": "Aggregate", "Strategy": "Plain", "Partial Mode": "Finalize", "Parallel Aware": false, "Startup Cost": 71503.43, "Total Cost": 71503.45, "Plan Rows": 1, "Plan Width": 32, "Output": ["((100.00 * sum(CASE WHEN ((part.p_type)::text ~~ 'PROMO%'::text) THEN (lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount)) ELSE '0'::numeric END)) / sum((lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount))))"], "Plans": [{"Node Type": "Gather", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 71502.98, "Total Cost": 71503.39, "Plan Rows": 4, "Plan Width": 64, "Output": ["(PARTIAL sum(CASE WHEN ((part.p_type)::text ~~ 'PROMO%'::text) THEN (lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount)) ELSE '0'::numeric END))", "(PARTIAL sum((lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount))))"], "Workers Planned": 4, "Single Copy": false, "Plans": [{"Node Type": "Aggregate", "Strategy": "Plain", "Partial Mode": "Partial", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 70502.98, "Total Cost": 70502.99, "Plan Rows": 1, "Plan Width": 64, "Output": ["PARTIAL sum(CASE WHEN ((part.p_type)::text ~~ 'PROMO%'::text) THEN (lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount)) ELSE '0'::numeric END)", "PARTIAL sum((lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount)))"], "Plans": [{"Node Type": "Hash Join", "Parent Relationship": "Outer", "Parallel Aware": false, "Join Type": "Inner", "Startup Cost": 9646.99, "Total Cost": 70156.88, "Plan Rows": 19777, "Plan Width": 33, "Output": ["part.p_type", "lineitem.l_extendedprice", "lineitem.l_discount"], "Inner Unique": true, "Hash Cond": "(lineitem.l_partkey = part.p_partkey)", "Plans": [{"Node Type": "Bitmap Heap Scan", "Parent Relationship": "Outer", "Parallel Aware": true, "Relation Name": "lineitem", "Schema": "public", "Alias": "lineitem", "Startup Cost": 1049.99, "Total Cost": 61507.96, "Plan Rows": 19777, "Plan Width": 16, "Output": ["lineitem.l_orderkey", "lineitem.l_partkey", "lineitem.l_suppkey", "lineitem.l_linenumber", "lineitem.l_quantity", "lineitem.l_extendedprice", "lineitem.l_discount", "lineitem.l_tax", "lineitem.l_returnflag", "lineitem.l_linestatus", "lineitem.l_shipdate", "lineitem.l_commitdate", "lineitem.l_receiptdate", "lineitem.l_shipinstruct", "lineitem.l_shipmode", "lineitem.l_comment"], "Recheck Cond": "((lineitem.l_shipdate >= '1995-05-01'::date) AND (lineitem.l_shipdate < '1995-06-01 00:00:00'::timestamp without time zone))", "Plans": [{"Node Type": "Bitmap Index Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Index Name": "l_sd", "Startup Cost": 0.0, "Total Cost": 1030.21, "Plan Rows": 79108, "Plan Width": 0, "Index Cond": "((lineitem.l_shipdate >= '1995-05-01'::date) AND (lineitem.l_shipdate < '1995-06-01 00:00:00'::timestamp without time zone))"}]}, {"Node Type": "Hash", "Parent Relationship": "Inner", "Parallel Aware": false, "Startup Cost": 6097.0, "Total Cost": 6097.0, "Plan Rows": 200000, "Plan Width": 25, "Output": ["part.p_type", "part.p_partkey"], "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Relation Name": "part", "Schema": "public", "Alias": "part", "Startup Cost": 0.0, "Total Cost": 6097.0, "Plan Rows": 200000, "Plan Width": 25, "Output": ["part.p_type", "part.p_partkey"]}]}]}]}]}]}} diff --git a/dev9/pg10/tpch/sf_1/explain/15721/15-1.ok b/dev9/pg10/tpch/sf_1/explain/15721/15-1.ok new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/dev9/pg10/tpch/sf_1/explain/15721/15-1.res b/dev9/pg10/tpch/sf_1/explain/15721/15-1.res new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/dev9/pg10/tpch/sf_1/explain/15721/15-2.ok b/dev9/pg10/tpch/sf_1/explain/15721/15-2.ok new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/dev9/pg10/tpch/sf_1/explain/15721/15-2.res b/dev9/pg10/tpch/sf_1/explain/15721/15-2.res new file mode 100644 index 0000000000000000000000000000000000000000..5f2abbce0cc780575b06f84ff4af1c10c34f4ef2 --- /dev/null +++ b/dev9/pg10/tpch/sf_1/explain/15721/15-2.res @@ -0,0 +1 @@ +{"Plan": {"Node Type": "Merge Join", "Parallel Aware": false, "Join Type": "Inner", "Startup Cost": 242833.96, "Total Cost": 243414.07, "Plan Rows": 10000, "Plan Width": 103, "Output": ["supplier.s_suppkey", "supplier.s_name", "supplier.s_address", "supplier.s_phone", "revenue0.total_revenue"], "Inner Unique": true, "Merge Cond": "(supplier.s_suppkey = revenue0.supplier_no)", "Plans": [{"Node Type": "Aggregate", "Strategy": "Plain", "Partial Mode": "Simple", "Parent Relationship": "InitPlan", "Subplan Name": "InitPlan 1 (returns $0)", "Parallel Aware": false, "Startup Cost": 120255.84, "Total Cost": 120255.85, "Plan Rows": 1, "Plan Width": 32, "Output": ["max((sum((lineitem_1.l_extendedprice * ('1'::numeric - lineitem_1.l_discount)))))"], "Plans": [{"Node Type": "Aggregate", "Strategy": "Hashed", "Partial Mode": "Simple", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 120005.84, "Total Cost": 120130.84, "Plan Rows": 10000, "Plan Width": 36, "Output": ["lineitem_1.l_suppkey", "sum((lineitem_1.l_extendedprice * ('1'::numeric - lineitem_1.l_discount)))"], "Group Key": ["lineitem_1.l_suppkey"], "Plans": [{"Node Type": "Bitmap Heap Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Relation Name": "lineitem", "Schema": "public", "Alias": "lineitem_1", "Startup Cost": 2933.53, "Total Cost": 117795.7, "Plan Rows": 221014, "Plan Width": 16, "Output": ["lineitem_1.l_orderkey", "lineitem_1.l_partkey", "lineitem_1.l_suppkey", "lineitem_1.l_linenumber", "lineitem_1.l_quantity", "lineitem_1.l_extendedprice", "lineitem_1.l_discount", "lineitem_1.l_tax", "lineitem_1.l_returnflag", "lineitem_1.l_linestatus", "lineitem_1.l_shipdate", "lineitem_1.l_commitdate", "lineitem_1.l_receiptdate", "lineitem_1.l_shipinstruct", "lineitem_1.l_shipmode", "lineitem_1.l_comment"], "Recheck Cond": "((lineitem_1.l_shipdate >= '1995-01-01'::date) AND (lineitem_1.l_shipdate < '1995-04-01 00:00:00'::timestamp without time zone))", "Plans": [{"Node Type": "Bitmap Index Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Index Name": "l_sd", "Startup Cost": 0.0, "Total Cost": 2878.27, "Plan Rows": 221014, "Plan Width": 0, "Index Cond": "((lineitem_1.l_shipdate >= '1995-01-01'::date) AND (lineitem_1.l_shipdate < '1995-04-01 00:00:00'::timestamp without time zone))"}]}]}]}, {"Node Type": "Index Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Scan Direction": "Forward", "Index Name": "s_sk", "Relation Name": "supplier", "Schema": "public", "Alias": "supplier", "Startup Cost": 0.29, "Total Cost": 405.39, "Plan Rows": 10000, "Plan Width": 71, "Output": ["supplier.s_suppkey", "supplier.s_name", "supplier.s_address", "supplier.s_nationkey", "supplier.s_phone", "supplier.s_acctbal", "supplier.s_comment"]}, {"Node Type": "Sort", "Parent Relationship": "Inner", "Parallel Aware": false, "Startup Cost": 122577.83, "Total Cost": 122602.83, "Plan Rows": 10000, "Plan Width": 36, "Output": ["revenue0.total_revenue", "revenue0.supplier_no"], "Sort Key": ["revenue0.supplier_no"], "Plans": [{"Node Type": "Subquery Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Alias": "revenue0", "Startup Cost": 121663.44, "Total Cost": 121913.44, "Plan Rows": 10000, "Plan Width": 36, "Output": ["revenue0.total_revenue", "revenue0.supplier_no"], "Plans": [{"Node Type": "Aggregate", "Strategy": "Hashed", "Partial Mode": "Simple", "Parent Relationship": "Subquery", "Parallel Aware": false, "Startup Cost": 121663.44, "Total Cost": 121813.44, "Plan Rows": 10000, "Plan Width": 36, "Output": ["lineitem.l_suppkey", "sum((lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount)))"], "Group Key": ["lineitem.l_suppkey"], "Filter": "(sum((lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount))) = $0)", "Plans": [{"Node Type": "Bitmap Heap Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Relation Name": "lineitem", "Schema": "public", "Alias": "lineitem", "Startup Cost": 2933.53, "Total Cost": 117795.7, "Plan Rows": 221014, "Plan Width": 16, "Output": ["lineitem.l_orderkey", "lineitem.l_partkey", "lineitem.l_suppkey", "lineitem.l_linenumber", "lineitem.l_quantity", "lineitem.l_extendedprice", "lineitem.l_discount", "lineitem.l_tax", "lineitem.l_returnflag", "lineitem.l_linestatus", "lineitem.l_shipdate", "lineitem.l_commitdate", "lineitem.l_receiptdate", "lineitem.l_shipinstruct", "lineitem.l_shipmode", "lineitem.l_comment"], "Recheck Cond": "((lineitem.l_shipdate >= '1995-01-01'::date) AND (lineitem.l_shipdate < '1995-04-01 00:00:00'::timestamp without time zone))", "Plans": [{"Node Type": "Bitmap Index Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Index Name": "l_sd", "Startup Cost": 0.0, "Total Cost": 2878.27, "Plan Rows": 221014, "Plan Width": 0, "Index Cond": "((lineitem.l_shipdate >= '1995-01-01'::date) AND (lineitem.l_shipdate < '1995-04-01 00:00:00'::timestamp without time zone))"}]}]}]}]}]}} diff --git a/dev9/pg10/tpch/sf_1/explain/15721/15-3.ok b/dev9/pg10/tpch/sf_1/explain/15721/15-3.ok new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/dev9/pg10/tpch/sf_1/explain/15721/15-3.res b/dev9/pg10/tpch/sf_1/explain/15721/15-3.res new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/dev9/pg10/tpch/sf_1/explain/15721/16-1.ok b/dev9/pg10/tpch/sf_1/explain/15721/16-1.ok new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/dev9/pg10/tpch/sf_1/explain/15721/16-1.res b/dev9/pg10/tpch/sf_1/explain/15721/16-1.res new file mode 100644 index 0000000000000000000000000000000000000000..3f9163cb19a8e6171b3d02fb28c4d559d80c4436 --- /dev/null +++ b/dev9/pg10/tpch/sf_1/explain/15721/16-1.res @@ -0,0 +1 @@ +{"Plan": {"Node Type": "Sort", "Parallel Aware": false, "Startup Cost": 32694.67, "Total Cost": 32734.69, "Plan Rows": 16010, "Plan Width": 44, "Output": ["part.p_brand", "part.p_type", "part.p_size", "(count(DISTINCT partsupp.ps_suppkey))"], "Sort Key": ["(count(DISTINCT partsupp.ps_suppkey)) DESC", "part.p_brand", "part.p_type", "part.p_size"], "Plans": [{"Node Type": "Aggregate", "Strategy": "Sorted", "Partial Mode": "Simple", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 30672.18, "Total Cost": 31576.63, "Plan Rows": 16010, "Plan Width": 44, "Output": ["part.p_brand", "part.p_type", "part.p_size", "count(DISTINCT partsupp.ps_suppkey)"], "Group Key": ["part.p_brand", "part.p_type", "part.p_size"], "Plans": [{"Node Type": "Sort", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 30672.18, "Total Cost": 30821.05, "Plan Rows": 59548, "Plan Width": 40, "Output": ["part.p_brand", "part.p_type", "part.p_size", "partsupp.ps_suppkey"], "Sort Key": ["part.p_brand", "part.p_type", "part.p_size"], "Plans": [{"Node Type": "Gather", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 10816.6, "Total Cost": 25949.5, "Plan Rows": 59548, "Plan Width": 40, "Output": ["part.p_brand", "part.p_type", "part.p_size", "partsupp.ps_suppkey"], "Workers Planned": 4, "Single Copy": false, "Plans": [{"Node Type": "Hash Join", "Parent Relationship": "Outer", "Parallel Aware": false, "Join Type": "Inner", "Startup Cost": 9816.6, "Total Cost": 18994.7, "Plan Rows": 14887, "Plan Width": 40, "Output": ["part.p_brand", "part.p_type", "part.p_size", "partsupp.ps_suppkey"], "Inner Unique": true, "Hash Cond": "(partsupp.ps_partkey = part.p_partkey)", "Plans": [{"Node Type": "Index Only Scan", "Parent Relationship": "Outer", "Parallel Aware": true, "Scan Direction": "Forward", "Index Name": "ps_pk_sk", "Relation Name": "partsupp", "Schema": "public", "Alias": "partsupp", "Startup Cost": 347.43, "Total Cost": 9263.03, "Plan Rows": 100000, "Plan Width": 8, "Output": ["partsupp.ps_partkey", "partsupp.ps_suppkey"], "Filter": "(NOT (hashed SubPlan 1))", "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "SubPlan", "Subplan Name": "SubPlan 1", "Parallel Aware": false, "Relation Name": "supplier", "Schema": "public", "Alias": "supplier", "Startup Cost": 0.0, "Total Cost": 347.0, "Plan Rows": 1, "Plan Width": 4, "Output": ["supplier.s_suppkey"], "Filter": "((supplier.s_comment)::text ~~ '%Customer%Complaints%'::text)"}]}, {"Node Type": "Hash", "Parent Relationship": "Inner", "Parallel Aware": false, "Startup Cost": 9097.0, "Total Cost": 9097.0, "Plan Rows": 29774, "Plan Width": 40, "Output": ["part.p_brand", "part.p_type", "part.p_size", "part.p_partkey"], "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Relation Name": "part", "Schema": "public", "Alias": "part", "Startup Cost": 0.0, "Total Cost": 9097.0, "Plan Rows": 29774, "Plan Width": 40, "Output": ["part.p_brand", "part.p_type", "part.p_size", "part.p_partkey"], "Filter": "((part.p_brand <> 'Brand#11'::bpchar) AND ((part.p_type)::text !~~ 'ECONOMY ANODIZED%'::text) AND (part.p_size = ANY ('{42,16,39,18,23,32,44,41}'::integer[])))"}]}]}]}]}]}]}} diff --git a/dev9/pg10/tpch/sf_1/explain/15721/17-1.ok b/dev9/pg10/tpch/sf_1/explain/15721/17-1.ok new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/dev9/pg10/tpch/sf_1/explain/15721/17-1.res b/dev9/pg10/tpch/sf_1/explain/15721/17-1.res new file mode 100644 index 0000000000000000000000000000000000000000..0c0c3f647019d59fa7140a79a1470a5bd41e93bf --- /dev/null +++ b/dev9/pg10/tpch/sf_1/explain/15721/17-1.res @@ -0,0 +1 @@ +{"Plan": {"Node Type": "Aggregate", "Strategy": "Plain", "Partial Mode": "Simple", "Parallel Aware": false, "Startup Cost": 195005.24, "Total Cost": 195005.25, "Plan Rows": 1, "Plan Width": 32, "Output": ["(sum(lineitem.l_extendedprice) / 7.0)"], "Plans": [{"Node Type": "Hash Join", "Parent Relationship": "Outer", "Parallel Aware": false, "Join Type": "Inner", "Startup Cost": 6369.16, "Total Cost": 195000.31, "Plan Rows": 1970, "Plan Width": 8, "Output": ["lineitem.l_extendedprice"], "Inner Unique": true, "Hash Cond": "(lineitem.l_partkey = part.p_partkey)", "Join Filter": "(lineitem.l_quantity < (SubPlan 1))", "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Relation Name": "lineitem", "Schema": "public", "Alias": "lineitem", "Startup Cost": 0.0, "Total Cost": 172515.15, "Plan Rows": 6001215, "Plan Width": 17, "Output": ["lineitem.l_orderkey", "lineitem.l_partkey", "lineitem.l_suppkey", "lineitem.l_linenumber", "lineitem.l_quantity", "lineitem.l_extendedprice", "lineitem.l_discount", "lineitem.l_tax", "lineitem.l_returnflag", "lineitem.l_linestatus", "lineitem.l_shipdate", "lineitem.l_commitdate", "lineitem.l_receiptdate", "lineitem.l_shipinstruct", "lineitem.l_shipmode", "lineitem.l_comment"]}, {"Node Type": "Hash", "Parent Relationship": "Inner", "Parallel Aware": false, "Startup Cost": 6366.7, "Total Cost": 6366.7, "Plan Rows": 197, "Plan Width": 4, "Output": ["part.p_partkey"], "Plans": [{"Node Type": "Gather", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 1000.0, "Total Cost": 6366.7, "Plan Rows": 197, "Plan Width": 4, "Output": ["part.p_partkey"], "Workers Planned": 2, "Single Copy": false, "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": true, "Relation Name": "part", "Schema": "public", "Alias": "part", "Startup Cost": 0.0, "Total Cost": 5347.0, "Plan Rows": 82, "Plan Width": 4, "Output": ["part.p_partkey"], "Filter": "((part.p_brand = 'Brand#14'::bpchar) AND (part.p_container = 'WRAP BOX'::bpchar))"}]}]}, {"Node Type": "Aggregate", "Strategy": "Plain", "Partial Mode": "Simple", "Parent Relationship": "SubPlan", "Subplan Name": "SubPlan 1", "Parallel Aware": false, "Startup Cost": 36.25, "Total Cost": 36.27, "Plan Rows": 1, "Plan Width": 32, "Output": ["(0.2 * avg(lineitem_1.l_quantity))"], "Plans": [{"Node Type": "Index Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Scan Direction": "Forward", "Index Name": "l_pk", "Relation Name": "lineitem", "Schema": "public", "Alias": "lineitem_1", "Startup Cost": 0.43, "Total Cost": 36.17, "Plan Rows": 31, "Plan Width": 5, "Output": ["lineitem_1.l_orderkey", "lineitem_1.l_partkey", "lineitem_1.l_suppkey", "lineitem_1.l_linenumber", "lineitem_1.l_quantity", "lineitem_1.l_extendedprice", "lineitem_1.l_discount", "lineitem_1.l_tax", "lineitem_1.l_returnflag", "lineitem_1.l_linestatus", "lineitem_1.l_shipdate", "lineitem_1.l_commitdate", "lineitem_1.l_receiptdate", "lineitem_1.l_shipinstruct", "lineitem_1.l_shipmode", "lineitem_1.l_comment"], "Index Cond": "(lineitem_1.l_partkey = part.p_partkey)"}]}]}]}} diff --git a/dev9/pg10/tpch/sf_1/explain/15721/18-1.ok b/dev9/pg10/tpch/sf_1/explain/15721/18-1.ok new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/dev9/pg10/tpch/sf_1/explain/15721/18-1.res b/dev9/pg10/tpch/sf_1/explain/15721/18-1.res new file mode 100644 index 0000000000000000000000000000000000000000..afd9f9d2923462d8f0a044f60920e0cf3b5f963a --- /dev/null +++ b/dev9/pg10/tpch/sf_1/explain/15721/18-1.res @@ -0,0 +1 @@ +{"Plan": {"Node Type": "Limit", "Parallel Aware": false, "Startup Cost": 1547814.07, "Total Cost": 1547814.32, "Plan Rows": 100, "Plan Width": 71, "Output": ["customer.c_name", "customer.c_custkey", "orders.o_orderkey", "orders.o_orderdate", "orders.o_totalprice", "(sum(lineitem.l_quantity))"], "Plans": [{"Node Type": "Sort", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 1547814.07, "Total Cost": 1559865.36, "Plan Rows": 4820516, "Plan Width": 71, "Output": ["customer.c_name", "customer.c_custkey", "orders.o_orderkey", "orders.o_orderdate", "orders.o_totalprice", "(sum(lineitem.l_quantity))"], "Sort Key": ["orders.o_totalprice DESC", "orders.o_orderdate"], "Plans": [{"Node Type": "Aggregate", "Strategy": "Sorted", "Partial Mode": "Finalize", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 652913.88, "Total Cost": 1363577.41, "Plan Rows": 4820516, "Plan Width": 71, "Output": ["customer.c_name", "customer.c_custkey", "orders.o_orderkey", "orders.o_orderdate", "orders.o_totalprice", "sum(lineitem.l_quantity)"], "Group Key": ["customer.c_custkey", "orders.o_orderkey"], "Plans": [{"Node Type": "Gather Merge", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 652913.88, "Total Cost": 1255115.81, "Plan Rows": 4820515, "Plan Width": 71, "Output": ["customer.c_custkey", "orders.o_orderkey", "customer.c_name", "orders.o_orderdate", "orders.o_totalprice", "(PARTIAL sum(lineitem.l_quantity))"], "Workers Planned": 5, "Plans": [{"Node Type": "Aggregate", "Strategy": "Sorted", "Partial Mode": "Partial", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 651913.8, "Total Cost": 673606.12, "Plan Rows": 964103, "Plan Width": 71, "Output": ["customer.c_custkey", "orders.o_orderkey", "customer.c_name", "orders.o_orderdate", "orders.o_totalprice", "PARTIAL sum(lineitem.l_quantity)"], "Group Key": ["customer.c_custkey", "orders.o_orderkey"], "Plans": [{"Node Type": "Sort", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 651913.8, "Total Cost": 654324.06, "Plan Rows": 964103, "Plan Width": 44, "Output": ["customer.c_custkey", "orders.o_orderkey", "customer.c_name", "orders.o_orderdate", "orders.o_totalprice", "lineitem.l_quantity"], "Sort Key": ["customer.c_custkey", "orders.o_orderkey"], "Plans": [{"Node Type": "Hash Join", "Parent Relationship": "Outer", "Parallel Aware": false, "Join Type": "Inner", "Startup Cost": 378755.71, "Total Cost": 538715.91, "Plan Rows": 964103, "Plan Width": 44, "Output": ["customer.c_custkey", "orders.o_orderkey", "customer.c_name", "orders.o_orderdate", "orders.o_totalprice", "lineitem.l_quantity"], "Inner Unique": true, "Hash Cond": "(orders.o_custkey = customer.c_custkey)", "Plans": [{"Node Type": "Hash Join", "Parent Relationship": "Outer", "Parallel Aware": false, "Join Type": "Inner", "Startup Cost": 371795.71, "Total Cost": 529225.08, "Plan Rows": 964103, "Plan Width": 25, "Output": ["orders.o_orderkey", "orders.o_orderdate", "orders.o_totalprice", "orders.o_custkey", "lineitem.l_quantity"], "Inner Unique": false, "Hash Cond": "(lineitem.l_orderkey = orders.o_orderkey)", "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": true, "Relation Name": "lineitem", "Schema": "public", "Alias": "lineitem", "Startup Cost": 0.0, "Total Cost": 124505.43, "Plan Rows": 1200243, "Plan Width": 9, "Output": ["lineitem.l_quantity", "lineitem.l_orderkey"]}, {"Node Type": "Hash", "Parent Relationship": "Inner", "Parallel Aware": false, "Startup Cost": 349674.64, "Total Cost": 349674.64, "Plan Rows": 1204885, "Plan Width": 24, "Output": ["orders.o_orderkey", "orders.o_orderdate", "orders.o_totalprice", "orders.o_custkey", "lineitem_1.l_orderkey"], "Plans": [{"Node Type": "Merge Join", "Parent Relationship": "Outer", "Parallel Aware": false, "Join Type": "Inner", "Startup Cost": 0.86, "Total Cost": 349674.64, "Plan Rows": 1204885, "Plan Width": 24, "Output": ["orders.o_orderkey", "orders.o_orderdate", "orders.o_totalprice", "orders.o_custkey", "lineitem_1.l_orderkey"], "Inner Unique": true, "Merge Cond": "(orders.o_orderkey = lineitem_1.l_orderkey)", "Plans": [{"Node Type": "Index Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Scan Direction": "Forward", "Index Name": "o_ok", "Relation Name": "orders", "Schema": "public", "Alias": "orders", "Startup Cost": 0.43, "Total Cost": 53123.13, "Plan Rows": 1500000, "Plan Width": 20, "Output": ["orders.o_orderkey", "orders.o_custkey", "orders.o_orderstatus", "orders.o_totalprice", "orders.o_orderdate", "orders.o_orderpriority", "orders.o_clerk", "orders.o_shippriority", "orders.o_comment"]}, {"Node Type": "Aggregate", "Strategy": "Sorted", "Partial Mode": "Simple", "Parent Relationship": "Inner", "Parallel Aware": false, "Startup Cost": 0.43, "Total Cost": 265691.6, "Plan Rows": 1204885, "Plan Width": 4, "Output": ["lineitem_1.l_orderkey"], "Group Key": ["lineitem_1.l_orderkey"], "Filter": "(sum(lineitem_1.l_quantity) > '314'::numeric)", "Plans": [{"Node Type": "Index Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Scan Direction": "Forward", "Index Name": "l_ok", "Relation Name": "lineitem", "Schema": "public", "Alias": "lineitem_1", "Startup Cost": 0.43, "Total Cost": 220624.47, "Plan Rows": 6001215, "Plan Width": 9, "Output": ["lineitem_1.l_orderkey", "lineitem_1.l_partkey", "lineitem_1.l_suppkey", "lineitem_1.l_linenumber", "lineitem_1.l_quantity", "lineitem_1.l_extendedprice", "lineitem_1.l_discount", "lineitem_1.l_tax", "lineitem_1.l_returnflag", "lineitem_1.l_linestatus", "lineitem_1.l_shipdate", "lineitem_1.l_commitdate", "lineitem_1.l_receiptdate", "lineitem_1.l_shipinstruct", "lineitem_1.l_shipmode", "lineitem_1.l_comment"]}]}]}]}]}, {"Node Type": "Hash", "Parent Relationship": "Inner", "Parallel Aware": false, "Startup Cost": 5085.0, "Total Cost": 5085.0, "Plan Rows": 150000, "Plan Width": 23, "Output": ["customer.c_name", "customer.c_custkey"], "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Relation Name": "customer", "Schema": "public", "Alias": "customer", "Startup Cost": 0.0, "Total Cost": 5085.0, "Plan Rows": 150000, "Plan Width": 23, "Output": ["customer.c_name", "customer.c_custkey"]}]}]}]}]}]}]}]}]}} diff --git a/dev9/pg10/tpch/sf_1/explain/15721/19-1.ok b/dev9/pg10/tpch/sf_1/explain/15721/19-1.ok new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/dev9/pg10/tpch/sf_1/explain/15721/19-1.res b/dev9/pg10/tpch/sf_1/explain/15721/19-1.res new file mode 100644 index 0000000000000000000000000000000000000000..0e0a2589234a61b0cf6831d6ef454b4bcc9e91d2 --- /dev/null +++ b/dev9/pg10/tpch/sf_1/explain/15721/19-1.res @@ -0,0 +1 @@ +{"Plan": {"Node Type": "Aggregate", "Strategy": "Plain", "Partial Mode": "Finalize", "Parallel Aware": false, "Startup Cost": 15888.08, "Total Cost": 15888.09, "Plan Rows": 1, "Plan Width": 32, "Output": ["sum((lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount)))"], "Plans": [{"Node Type": "Gather", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 15887.86, "Total Cost": 15888.07, "Plan Rows": 2, "Plan Width": 32, "Output": ["(PARTIAL sum((lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount))))"], "Workers Planned": 2, "Single Copy": false, "Plans": [{"Node Type": "Aggregate", "Strategy": "Plain", "Partial Mode": "Partial", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 14887.86, "Total Cost": 14887.87, "Plan Rows": 1, "Plan Width": 32, "Output": ["PARTIAL sum((lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount)))"], "Plans": [{"Node Type": "Nested Loop", "Parent Relationship": "Outer", "Parallel Aware": false, "Join Type": "Inner", "Startup Cost": 0.43, "Total Cost": 14887.51, "Plan Rows": 47, "Plan Width": 12, "Output": ["lineitem.l_extendedprice", "lineitem.l_discount"], "Inner Unique": false, "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": true, "Relation Name": "part", "Schema": "public", "Alias": "part", "Startup Cost": 0.0, "Total Cost": 7638.67, "Plan Rows": 201, "Plan Width": 30, "Output": ["part.p_partkey", "part.p_name", "part.p_mfgr", "part.p_brand", "part.p_type", "part.p_size", "part.p_container", "part.p_retailprice", "part.p_comment"], "Filter": "((part.p_size >= 1) AND (((part.p_brand = 'Brand#52'::bpchar) AND (part.p_container = ANY ('{\"SM CASE\",\"SM BOX\",\"SM PACK\",\"SM PKG\"}'::bpchar[])) AND (part.p_size <= 5)) OR ((part.p_brand = 'Brand#42'::bpchar) AND (part.p_container = ANY ('{\"MED BAG\",\"MED BOX\",\"MED PKG\",\"MED PACK\"}'::bpchar[])) AND (part.p_size <= 10)) OR ((part.p_brand = 'Brand#23'::bpchar) AND (part.p_container = ANY ('{\"LG CASE\",\"LG BOX\",\"LG PACK\",\"LG PKG\"}'::bpchar[])) AND (part.p_size <= 15))))"}, {"Node Type": "Index Scan", "Parent Relationship": "Inner", "Parallel Aware": false, "Scan Direction": "Forward", "Index Name": "l_pk", "Relation Name": "lineitem", "Schema": "public", "Alias": "lineitem", "Startup Cost": 0.43, "Total Cost": 36.05, "Plan Rows": 1, "Plan Width": 21, "Output": ["lineitem.l_orderkey", "lineitem.l_partkey", "lineitem.l_suppkey", "lineitem.l_linenumber", "lineitem.l_quantity", "lineitem.l_extendedprice", "lineitem.l_discount", "lineitem.l_tax", "lineitem.l_returnflag", "lineitem.l_linestatus", "lineitem.l_shipdate", "lineitem.l_commitdate", "lineitem.l_receiptdate", "lineitem.l_shipinstruct", "lineitem.l_shipmode", "lineitem.l_comment"], "Index Cond": "(lineitem.l_partkey = part.p_partkey)", "Filter": "((lineitem.l_shipmode = ANY ('{AIR,\"AIR REG\"}'::bpchar[])) AND (lineitem.l_shipinstruct = 'DELIVER IN PERSON'::bpchar) AND (((lineitem.l_quantity >= '9'::numeric) AND (lineitem.l_quantity <= '19'::numeric)) OR ((lineitem.l_quantity >= '18'::numeric) AND (lineitem.l_quantity <= '28'::numeric)) OR ((lineitem.l_quantity >= '22'::numeric) AND (lineitem.l_quantity <= '32'::numeric))) AND (((part.p_brand = 'Brand#52'::bpchar) AND (part.p_container = ANY ('{\"SM CASE\",\"SM BOX\",\"SM PACK\",\"SM PKG\"}'::bpchar[])) AND (lineitem.l_quantity >= '9'::numeric) AND (lineitem.l_quantity <= '19'::numeric) AND (part.p_size <= 5)) OR ((part.p_brand = 'Brand#42'::bpchar) AND (part.p_container = ANY ('{\"MED BAG\",\"MED BOX\",\"MED PKG\",\"MED PACK\"}'::bpchar[])) AND (lineitem.l_quantity >= '18'::numeric) AND (lineitem.l_quantity <= '28'::numeric) AND (part.p_size <= 10)) OR ((part.p_brand = 'Brand#23'::bpchar) AND (part.p_container = ANY ('{\"LG CASE\",\"LG BOX\",\"LG PACK\",\"LG PKG\"}'::bpchar[])) AND (lineitem.l_quantity >= '22'::numeric) AND (lineitem.l_quantity <= '32'::numeric) AND (part.p_size <= 15))))"}]}]}]}]}} diff --git a/dev9/pg10/tpch/sf_1/explain/15721/2-1.ok b/dev9/pg10/tpch/sf_1/explain/15721/2-1.ok new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/dev9/pg10/tpch/sf_1/explain/15721/2-1.res b/dev9/pg10/tpch/sf_1/explain/15721/2-1.res new file mode 100644 index 0000000000000000000000000000000000000000..e87ecdd52d6c7758730650a7d64a5abca1153f1c --- /dev/null +++ b/dev9/pg10/tpch/sf_1/explain/15721/2-1.res @@ -0,0 +1 @@ +{"Plan": {"Node Type": "Limit", "Parallel Aware": false, "Startup Cost": 49882.76, "Total Cost": 49882.77, "Plan Rows": 1, "Plan Width": 192, "Output": ["supplier.s_acctbal", "supplier.s_name", "nation.n_name", "part.p_partkey", "part.p_mfgr", "supplier.s_address", "supplier.s_phone", "supplier.s_comment"], "Plans": [{"Node Type": "Sort", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 49882.76, "Total Cost": 49882.77, "Plan Rows": 1, "Plan Width": 192, "Output": ["supplier.s_acctbal", "supplier.s_name", "nation.n_name", "part.p_partkey", "part.p_mfgr", "supplier.s_address", "supplier.s_phone", "supplier.s_comment"], "Sort Key": ["supplier.s_acctbal DESC", "nation.n_name", "supplier.s_name", "part.p_partkey"], "Plans": [{"Node Type": "Hash Join", "Parent Relationship": "Outer", "Parallel Aware": false, "Join Type": "Inner", "Startup Cost": 16993.33, "Total Cost": 49882.75, "Plan Rows": 1, "Plan Width": 192, "Output": ["supplier.s_acctbal", "supplier.s_name", "nation.n_name", "part.p_partkey", "part.p_mfgr", "supplier.s_address", "supplier.s_phone", "supplier.s_comment"], "Inner Unique": false, "Hash Cond": "((part.p_partkey = partsupp.ps_partkey) AND ((SubPlan 1) = partsupp.ps_supplycost))", "Plans": [{"Node Type": "Gather", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 1000.0, "Total Cost": 6428.4, "Plan Rows": 814, "Plan Width": 30, "Output": ["part.p_partkey", "part.p_mfgr"], "Workers Planned": 2, "Single Copy": false, "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": true, "Relation Name": "part", "Schema": "public", "Alias": "part", "Startup Cost": 0.0, "Total Cost": 5347.0, "Plan Rows": 339, "Plan Width": 30, "Output": ["part.p_partkey", "part.p_mfgr"], "Filter": "(((part.p_type)::text ~~ '%TIN'::text) AND (part.p_size = 44))"}]}, {"Node Type": "Hash", "Parent Relationship": "Inner", "Parallel Aware": false, "Startup Cost": 9686.33, "Total Cost": 9686.33, "Plan Rows": 160000, "Plan Width": 172, "Output": ["supplier.s_acctbal", "supplier.s_name", "supplier.s_address", "supplier.s_phone", "supplier.s_comment", "partsupp.ps_partkey", "partsupp.ps_supplycost", "nation.n_name"], "Plans": [{"Node Type": "Nested Loop", "Parent Relationship": "Outer", "Parallel Aware": false, "Join Type": "Inner", "Startup Cost": 0.71, "Total Cost": 9686.33, "Plan Rows": 160000, "Plan Width": 172, "Output": ["supplier.s_acctbal", "supplier.s_name", "supplier.s_address", "supplier.s_phone", "supplier.s_comment", "partsupp.ps_partkey", "partsupp.ps_supplycost", "nation.n_name"], "Inner Unique": false, "Plans": [{"Node Type": "Nested Loop", "Parent Relationship": "Outer", "Parallel Aware": false, "Join Type": "Inner", "Startup Cost": 0.29, "Total Cost": 114.02, "Plan Rows": 2000, "Plan Width": 166, "Output": ["supplier.s_acctbal", "supplier.s_name", "supplier.s_address", "supplier.s_phone", "supplier.s_comment", "supplier.s_suppkey", "nation.n_name"], "Inner Unique": false, "Plans": [{"Node Type": "Nested Loop", "Parent Relationship": "Outer", "Parallel Aware": false, "Join Type": "Inner", "Startup Cost": 0.0, "Total Cost": 2.62, "Plan Rows": 5, "Plan Width": 30, "Output": ["nation.n_name", "nation.n_nationkey"], "Inner Unique": false, "Join Filter": "(nation.n_regionkey = region.r_regionkey)", "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Relation Name": "region", "Schema": "public", "Alias": "region", "Startup Cost": 0.0, "Total Cost": 1.06, "Plan Rows": 1, "Plan Width": 4, "Output": ["region.r_regionkey", "region.r_name", "region.r_comment"], "Filter": "(region.r_name = 'EUROPE'::bpchar)"}, {"Node Type": "Seq Scan", "Parent Relationship": "Inner", "Parallel Aware": false, "Relation Name": "nation", "Schema": "public", "Alias": "nation", "Startup Cost": 0.0, "Total Cost": 1.25, "Plan Rows": 25, "Plan Width": 34, "Output": ["nation.n_nationkey", "nation.n_name", "nation.n_regionkey", "nation.n_comment"]}]}, {"Node Type": "Index Scan", "Parent Relationship": "Inner", "Parallel Aware": false, "Scan Direction": "Forward", "Index Name": "s_nk", "Relation Name": "supplier", "Schema": "public", "Alias": "supplier", "Startup Cost": 0.29, "Total Cost": 18.28, "Plan Rows": 400, "Plan Width": 144, "Output": ["supplier.s_suppkey", "supplier.s_name", "supplier.s_address", "supplier.s_nationkey", "supplier.s_phone", "supplier.s_acctbal", "supplier.s_comment"], "Index Cond": "(supplier.s_nationkey = nation.n_nationkey)"}]}, {"Node Type": "Index Scan", "Parent Relationship": "Inner", "Parallel Aware": false, "Scan Direction": "Forward", "Index Name": "ps_sk", "Relation Name": "partsupp", "Schema": "public", "Alias": "partsupp", "Startup Cost": 0.42, "Total Cost": 3.99, "Plan Rows": 80, "Plan Width": 14, "Output": ["partsupp.ps_partkey", "partsupp.ps_suppkey", "partsupp.ps_availqty", "partsupp.ps_supplycost", "partsupp.ps_comment"], "Index Cond": "(partsupp.ps_suppkey = supplier.s_suppkey)"}]}]}, {"Node Type": "Aggregate", "Strategy": "Plain", "Partial Mode": "Simple", "Parent Relationship": "SubPlan", "Subplan Name": "SubPlan 1", "Parallel Aware": false, "Startup Cost": 14.44, "Total Cost": 14.45, "Plan Rows": 1, "Plan Width": 32, "Output": ["min(partsupp_1.ps_supplycost)"], "Plans": [{"Node Type": "Nested Loop", "Parent Relationship": "Outer", "Parallel Aware": false, "Join Type": "Inner", "Startup Cost": 0.85, "Total Cost": 14.44, "Plan Rows": 1, "Plan Width": 6, "Output": ["partsupp_1.ps_supplycost"], "Inner Unique": false, "Join Filter": "(nation_1.n_regionkey = region_1.r_regionkey)", "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Relation Name": "region", "Schema": "public", "Alias": "region_1", "Startup Cost": 0.0, "Total Cost": 1.06, "Plan Rows": 1, "Plan Width": 4, "Output": ["region_1.r_regionkey", "region_1.r_name", "region_1.r_comment"], "Filter": "(region_1.r_name = 'EUROPE'::bpchar)"}, {"Node Type": "Nested Loop", "Parent Relationship": "Inner", "Parallel Aware": false, "Join Type": "Inner", "Startup Cost": 0.85, "Total Cost": 13.33, "Plan Rows": 4, "Plan Width": 10, "Output": ["partsupp_1.ps_supplycost", "nation_1.n_regionkey"], "Inner Unique": true, "Plans": [{"Node Type": "Nested Loop", "Parent Relationship": "Outer", "Parallel Aware": false, "Join Type": "Inner", "Startup Cost": 0.71, "Total Cost": 12.71, "Plan Rows": 4, "Plan Width": 10, "Output": ["partsupp_1.ps_supplycost", "supplier_1.s_nationkey"], "Inner Unique": true, "Plans": [{"Node Type": "Index Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Scan Direction": "Forward", "Index Name": "ps_pk", "Relation Name": "partsupp", "Schema": "public", "Alias": "partsupp_1", "Startup Cost": 0.42, "Total Cost": 2.7, "Plan Rows": 4, "Plan Width": 10, "Output": ["partsupp_1.ps_partkey", "partsupp_1.ps_suppkey", "partsupp_1.ps_availqty", "partsupp_1.ps_supplycost", "partsupp_1.ps_comment"], "Index Cond": "(part.p_partkey = partsupp_1.ps_partkey)"}, {"Node Type": "Index Scan", "Parent Relationship": "Inner", "Parallel Aware": false, "Scan Direction": "Forward", "Index Name": "s_sk", "Relation Name": "supplier", "Schema": "public", "Alias": "supplier_1", "Startup Cost": 0.29, "Total Cost": 2.5, "Plan Rows": 1, "Plan Width": 8, "Output": ["supplier_1.s_suppkey", "supplier_1.s_name", "supplier_1.s_address", "supplier_1.s_nationkey", "supplier_1.s_phone", "supplier_1.s_acctbal", "supplier_1.s_comment"], "Index Cond": "(supplier_1.s_suppkey = partsupp_1.ps_suppkey)"}]}, {"Node Type": "Index Scan", "Parent Relationship": "Inner", "Parallel Aware": false, "Scan Direction": "Forward", "Index Name": "n_nk", "Relation Name": "nation", "Schema": "public", "Alias": "nation_1", "Startup Cost": 0.14, "Total Cost": 0.16, "Plan Rows": 1, "Plan Width": 8, "Output": ["nation_1.n_nationkey", "nation_1.n_name", "nation_1.n_regionkey", "nation_1.n_comment"], "Index Cond": "(nation_1.n_nationkey = supplier_1.s_nationkey)"}]}]}]}]}]}]}} diff --git a/dev9/pg10/tpch/sf_1/explain/15721/20-1.ok b/dev9/pg10/tpch/sf_1/explain/15721/20-1.ok new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/dev9/pg10/tpch/sf_1/explain/15721/20-1.res b/dev9/pg10/tpch/sf_1/explain/15721/20-1.res new file mode 100644 index 0000000000000000000000000000000000000000..f8ad688b4c130d5c0d4f614fdd0be711e24899fd --- /dev/null +++ b/dev9/pg10/tpch/sf_1/explain/15721/20-1.res @@ -0,0 +1 @@ +{"Plan": {"Node Type": "Sort", "Parallel Aware": false, "Startup Cost": 32959.1, "Total Cost": 32959.37, "Plan Rows": 107, "Plan Width": 51, "Output": ["supplier.s_name", "supplier.s_address"], "Sort Key": ["supplier.s_name"], "Plans": [{"Node Type": "Hash Join", "Parent Relationship": "Outer", "Parallel Aware": false, "Join Type": "Semi", "Startup Cost": 32731.28, "Total Cost": 32955.5, "Plan Rows": 107, "Plan Width": 51, "Output": ["supplier.s_name", "supplier.s_address"], "Inner Unique": false, "Hash Cond": "(supplier.s_suppkey = partsupp.ps_suppkey)", "Plans": [{"Node Type": "Nested Loop", "Parent Relationship": "Outer", "Parallel Aware": false, "Join Type": "Inner", "Startup Cost": 5.58, "Total Cost": 227.43, "Plan Rows": 400, "Plan Width": 55, "Output": ["supplier.s_name", "supplier.s_address", "supplier.s_suppkey"], "Inner Unique": false, "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Relation Name": "nation", "Schema": "public", "Alias": "nation", "Startup Cost": 0.0, "Total Cost": 1.31, "Plan Rows": 1, "Plan Width": 4, "Output": ["nation.n_nationkey", "nation.n_name", "nation.n_regionkey", "nation.n_comment"], "Filter": "(nation.n_name = 'GERMANY'::bpchar)"}, {"Node Type": "Bitmap Heap Scan", "Parent Relationship": "Inner", "Parallel Aware": false, "Relation Name": "supplier", "Schema": "public", "Alias": "supplier", "Startup Cost": 5.58, "Total Cost": 222.11, "Plan Rows": 400, "Plan Width": 59, "Output": ["supplier.s_suppkey", "supplier.s_name", "supplier.s_address", "supplier.s_nationkey", "supplier.s_phone", "supplier.s_acctbal", "supplier.s_comment"], "Recheck Cond": "(supplier.s_nationkey = nation.n_nationkey)", "Plans": [{"Node Type": "Bitmap Index Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Index Name": "s_nk", "Startup Cost": 0.0, "Total Cost": 5.49, "Plan Rows": 400, "Plan Width": 0, "Index Cond": "(supplier.s_nationkey = nation.n_nationkey)"}]}]}, {"Node Type": "Hash", "Parent Relationship": "Inner", "Parallel Aware": false, "Startup Cost": 32692.29, "Total Cost": 32692.29, "Plan Rows": 2672, "Plan Width": 4, "Output": ["partsupp.ps_suppkey"], "Plans": [{"Node Type": "Nested Loop", "Parent Relationship": "Outer", "Parallel Aware": false, "Join Type": "Inner", "Startup Cost": 0.42, "Total Cost": 32692.29, "Plan Rows": 2672, "Plan Width": 4, "Output": ["partsupp.ps_suppkey"], "Inner Unique": false, "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Relation Name": "part", "Schema": "public", "Alias": "part", "Startup Cost": 0.0, "Total Cost": 6597.0, "Plan Rows": 2004, "Plan Width": 4, "Output": ["part.p_partkey", "part.p_name", "part.p_mfgr", "part.p_brand", "part.p_type", "part.p_size", "part.p_container", "part.p_retailprice", "part.p_comment"], "Filter": "((part.p_name)::text ~~ 'floral%'::text)"}, {"Node Type": "Index Scan", "Parent Relationship": "Inner", "Parallel Aware": false, "Scan Direction": "Forward", "Index Name": "ps_pk", "Relation Name": "partsupp", "Schema": "public", "Alias": "partsupp", "Startup Cost": 0.42, "Total Cost": 13.01, "Plan Rows": 1, "Plan Width": 8, "Output": ["partsupp.ps_partkey", "partsupp.ps_suppkey", "partsupp.ps_availqty", "partsupp.ps_supplycost", "partsupp.ps_comment"], "Index Cond": "(partsupp.ps_partkey = part.p_partkey)", "Filter": "((partsupp.ps_availqty)::numeric > (SubPlan 1))", "Plans": [{"Node Type": "Aggregate", "Strategy": "Plain", "Partial Mode": "Simple", "Parent Relationship": "SubPlan", "Subplan Name": "SubPlan 1", "Parallel Aware": false, "Startup Cost": 2.66, "Total Cost": 2.68, "Plan Rows": 1, "Plan Width": 32, "Output": ["(0.5 * sum(lineitem.l_quantity))"], "Plans": [{"Node Type": "Index Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Scan Direction": "Forward", "Index Name": "l_sk_pk", "Relation Name": "lineitem", "Schema": "public", "Alias": "lineitem", "Startup Cost": 0.43, "Total Cost": 2.66, "Plan Rows": 1, "Plan Width": 5, "Output": ["lineitem.l_orderkey", "lineitem.l_partkey", "lineitem.l_suppkey", "lineitem.l_linenumber", "lineitem.l_quantity", "lineitem.l_extendedprice", "lineitem.l_discount", "lineitem.l_tax", "lineitem.l_returnflag", "lineitem.l_linestatus", "lineitem.l_shipdate", "lineitem.l_commitdate", "lineitem.l_receiptdate", "lineitem.l_shipinstruct", "lineitem.l_shipmode", "lineitem.l_comment"], "Index Cond": "((lineitem.l_suppkey = partsupp.ps_suppkey) AND (lineitem.l_partkey = partsupp.ps_partkey))", "Filter": "((lineitem.l_shipdate >= '1996-01-01'::date) AND (lineitem.l_shipdate < '1997-01-01 00:00:00'::timestamp without time zone))"}]}]}]}]}]}]}} diff --git a/dev9/pg10/tpch/sf_1/explain/15721/21-1.ok b/dev9/pg10/tpch/sf_1/explain/15721/21-1.ok new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/dev9/pg10/tpch/sf_1/explain/15721/21-1.res b/dev9/pg10/tpch/sf_1/explain/15721/21-1.res new file mode 100644 index 0000000000000000000000000000000000000000..0386b4b886108197274f1441601a23f0dc7d43a8 --- /dev/null +++ b/dev9/pg10/tpch/sf_1/explain/15721/21-1.res @@ -0,0 +1 @@ +{"Plan": {"Node Type": "Limit", "Parallel Aware": false, "Startup Cost": 62035.17, "Total Cost": 62035.17, "Plan Rows": 1, "Plan Width": 34, "Output": ["supplier.s_name", "(count(*))"], "Plans": [{"Node Type": "Sort", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 62035.17, "Total Cost": 62035.17, "Plan Rows": 1, "Plan Width": 34, "Output": ["supplier.s_name", "(count(*))"], "Sort Key": ["(count(*)) DESC", "supplier.s_name"], "Plans": [{"Node Type": "Aggregate", "Strategy": "Sorted", "Partial Mode": "Simple", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 62035.14, "Total Cost": 62035.16, "Plan Rows": 1, "Plan Width": 34, "Output": ["supplier.s_name", "count(*)"], "Group Key": ["supplier.s_name"], "Plans": [{"Node Type": "Sort", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 62035.14, "Total Cost": 62035.14, "Plan Rows": 1, "Plan Width": 26, "Output": ["supplier.s_name"], "Sort Key": ["supplier.s_name"], "Plans": [{"Node Type": "Nested Loop", "Parent Relationship": "Outer", "Parallel Aware": false, "Join Type": "Anti", "Startup Cost": 13499.02, "Total Cost": 62035.13, "Plan Rows": 1, "Plan Width": 26, "Output": ["supplier.s_name"], "Inner Unique": false, "Plans": [{"Node Type": "Gather", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 13498.59, "Total Cost": 62034.49, "Plan Rows": 1, "Plan Width": 34, "Output": ["supplier.s_name", "l1.l_suppkey", "l1.l_orderkey"], "Workers Planned": 3, "Single Copy": false, "Plans": [{"Node Type": "Nested Loop", "Parent Relationship": "Outer", "Parallel Aware": false, "Join Type": "Semi", "Startup Cost": 12498.59, "Total Cost": 61034.39, "Plan Rows": 1, "Plan Width": 34, "Output": ["supplier.s_name", "l1.l_suppkey", "l1.l_orderkey"], "Inner Unique": false, "Join Filter": "(orders.o_orderkey = l2.l_orderkey)", "Plans": [{"Node Type": "Hash Join", "Parent Relationship": "Outer", "Parallel Aware": false, "Join Type": "Inner", "Startup Cost": 12498.16, "Total Cost": 52692.49, "Plan Rows": 12527, "Plan Width": 38, "Output": ["supplier.s_name", "l1.l_suppkey", "l1.l_orderkey", "orders.o_orderkey"], "Inner Unique": false, "Hash Cond": "(orders.o_orderkey = l1.l_orderkey)", "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": true, "Relation Name": "orders", "Schema": "public", "Alias": "orders", "Startup Cost": 0.0, "Total Cost": 32143.39, "Plan Rows": 234835, "Plan Width": 4, "Output": ["orders.o_orderkey", "orders.o_custkey", "orders.o_orderstatus", "orders.o_totalprice", "orders.o_orderdate", "orders.o_orderpriority", "orders.o_clerk", "orders.o_shippriority", "orders.o_comment"], "Filter": "(orders.o_orderstatus = 'F'::bpchar)"}, {"Node Type": "Hash", "Parent Relationship": "Inner", "Parallel Aware": false, "Startup Cost": 11497.96, "Total Cost": 11497.96, "Plan Rows": 80016, "Plan Width": 34, "Output": ["supplier.s_name", "l1.l_suppkey", "l1.l_orderkey"], "Plans": [{"Node Type": "Nested Loop", "Parent Relationship": "Outer", "Parallel Aware": false, "Join Type": "Inner", "Startup Cost": 6.02, "Total Cost": 11497.96, "Plan Rows": 80016, "Plan Width": 34, "Output": ["supplier.s_name", "l1.l_suppkey", "l1.l_orderkey"], "Inner Unique": false, "Plans": [{"Node Type": "Nested Loop", "Parent Relationship": "Outer", "Parallel Aware": false, "Join Type": "Inner", "Startup Cost": 5.58, "Total Cost": 227.43, "Plan Rows": 400, "Plan Width": 30, "Output": ["supplier.s_name", "supplier.s_suppkey"], "Inner Unique": false, "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Relation Name": "nation", "Schema": "public", "Alias": "nation", "Startup Cost": 0.0, "Total Cost": 1.31, "Plan Rows": 1, "Plan Width": 4, "Output": ["nation.n_nationkey", "nation.n_name", "nation.n_regionkey", "nation.n_comment"], "Filter": "(nation.n_name = 'CHINA'::bpchar)"}, {"Node Type": "Bitmap Heap Scan", "Parent Relationship": "Inner", "Parallel Aware": false, "Relation Name": "supplier", "Schema": "public", "Alias": "supplier", "Startup Cost": 5.58, "Total Cost": 222.11, "Plan Rows": 400, "Plan Width": 34, "Output": ["supplier.s_suppkey", "supplier.s_name", "supplier.s_address", "supplier.s_nationkey", "supplier.s_phone", "supplier.s_acctbal", "supplier.s_comment"], "Recheck Cond": "(supplier.s_nationkey = nation.n_nationkey)", "Plans": [{"Node Type": "Bitmap Index Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Index Name": "s_nk", "Startup Cost": 0.0, "Total Cost": 5.49, "Plan Rows": 400, "Plan Width": 0, "Index Cond": "(supplier.s_nationkey = nation.n_nationkey)"}]}]}, {"Node Type": "Index Scan", "Parent Relationship": "Inner", "Parallel Aware": false, "Scan Direction": "Forward", "Index Name": "l_sk", "Relation Name": "lineitem", "Schema": "public", "Alias": "l1", "Startup Cost": 0.43, "Total Cost": 26.18, "Plan Rows": 200, "Plan Width": 8, "Output": ["l1.l_orderkey", "l1.l_partkey", "l1.l_suppkey", "l1.l_linenumber", "l1.l_quantity", "l1.l_extendedprice", "l1.l_discount", "l1.l_tax", "l1.l_returnflag", "l1.l_linestatus", "l1.l_shipdate", "l1.l_commitdate", "l1.l_receiptdate", "l1.l_shipinstruct", "l1.l_shipmode", "l1.l_comment"], "Index Cond": "(l1.l_suppkey = supplier.s_suppkey)", "Filter": "(l1.l_receiptdate > l1.l_commitdate)"}]}]}]}, {"Node Type": "Index Scan", "Parent Relationship": "Inner", "Parallel Aware": false, "Scan Direction": "Forward", "Index Name": "l_ok", "Relation Name": "lineitem", "Schema": "public", "Alias": "l2", "Startup Cost": 0.43, "Total Cost": 0.6, "Plan Rows": 5, "Plan Width": 8, "Output": ["l2.l_orderkey", "l2.l_partkey", "l2.l_suppkey", "l2.l_linenumber", "l2.l_quantity", "l2.l_extendedprice", "l2.l_discount", "l2.l_tax", "l2.l_returnflag", "l2.l_linestatus", "l2.l_shipdate", "l2.l_commitdate", "l2.l_receiptdate", "l2.l_shipinstruct", "l2.l_shipmode", "l2.l_comment"], "Index Cond": "(l2.l_orderkey = l1.l_orderkey)", "Filter": "(l2.l_suppkey <> l1.l_suppkey)"}]}]}, {"Node Type": "Index Scan", "Parent Relationship": "Inner", "Parallel Aware": false, "Scan Direction": "Forward", "Index Name": "l_ok", "Relation Name": "lineitem", "Schema": "public", "Alias": "l3", "Startup Cost": 0.43, "Total Cost": 0.62, "Plan Rows": 2, "Plan Width": 8, "Output": ["l3.l_orderkey", "l3.l_partkey", "l3.l_suppkey", "l3.l_linenumber", "l3.l_quantity", "l3.l_extendedprice", "l3.l_discount", "l3.l_tax", "l3.l_returnflag", "l3.l_linestatus", "l3.l_shipdate", "l3.l_commitdate", "l3.l_receiptdate", "l3.l_shipinstruct", "l3.l_shipmode", "l3.l_comment"], "Index Cond": "(l3.l_orderkey = l1.l_orderkey)", "Filter": "((l3.l_receiptdate > l3.l_commitdate) AND (l3.l_suppkey <> l1.l_suppkey))"}]}]}]}]}]}} diff --git a/dev9/pg10/tpch/sf_1/explain/15721/22-1.ok b/dev9/pg10/tpch/sf_1/explain/15721/22-1.ok new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/dev9/pg10/tpch/sf_1/explain/15721/22-1.res b/dev9/pg10/tpch/sf_1/explain/15721/22-1.res new file mode 100644 index 0000000000000000000000000000000000000000..5a4cd1b9de155b78bcf4da66ad9d3cde09979ac1 --- /dev/null +++ b/dev9/pg10/tpch/sf_1/explain/15721/22-1.res @@ -0,0 +1 @@ +{"Plan": {"Node Type": "Aggregate", "Strategy": "Sorted", "Partial Mode": "Simple", "Parallel Aware": false, "Startup Cost": 14755.48, "Total Cost": 14773.85, "Plan Rows": 668, "Plan Width": 72, "Output": ["(\"substring\"((customer.c_phone)::text, 1, 2))", "count(*)", "sum(customer.c_acctbal)"], "Group Key": ["(\"substring\"((customer.c_phone)::text, 1, 2))"], "Plans": [{"Node Type": "Aggregate", "Strategy": "Plain", "Partial Mode": "Finalize", "Parent Relationship": "InitPlan", "Subplan Name": "InitPlan 1 (returns $1)", "Parallel Aware": false, "Startup Cost": 6230.82, "Total Cost": 6230.83, "Plan Rows": 1, "Plan Width": 32, "Output": ["avg(customer_1.c_acctbal)"], "Plans": [{"Node Type": "Gather", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 6230.6, "Total Cost": 6230.81, "Plan Rows": 2, "Plan Width": 32, "Output": ["(PARTIAL avg(customer_1.c_acctbal))"], "Workers Planned": 2, "Single Copy": false, "Plans": [{"Node Type": "Aggregate", "Strategy": "Plain", "Partial Mode": "Partial", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 5230.6, "Total Cost": 5230.61, "Plan Rows": 1, "Plan Width": 32, "Output": ["PARTIAL avg(customer_1.c_acctbal)"], "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": true, "Relation Name": "customer", "Schema": "public", "Alias": "customer_1", "Startup Cost": 0.0, "Total Cost": 5225.62, "Plan Rows": 1988, "Plan Width": 6, "Output": ["customer_1.c_acctbal"], "Filter": "((customer_1.c_acctbal > 0.00) AND (\"substring\"((customer_1.c_phone)::text, 1, 2) = ANY ('{17,20,25,31,30,11,33}'::text[])))"}]}]}]}, {"Node Type": "Sort", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 8524.65, "Total Cost": 8526.32, "Plan Rows": 668, "Plan Width": 38, "Output": ["(\"substring\"((customer.c_phone)::text, 1, 2))", "customer.c_acctbal"], "Sort Key": ["(\"substring\"((customer.c_phone)::text, 1, 2))"], "Plans": [{"Node Type": "Nested Loop", "Parent Relationship": "Outer", "Parallel Aware": false, "Join Type": "Anti", "Startup Cost": 0.43, "Total Cost": 8493.31, "Plan Rows": 668, "Plan Width": 38, "Output": ["\"substring\"((customer.c_phone)::text, 1, 2)", "customer.c_acctbal"], "Inner Unique": false, "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Relation Name": "customer", "Schema": "public", "Alias": "customer", "Startup Cost": 0.0, "Total Cost": 7522.5, "Plan Rows": 1750, "Plan Width": 26, "Output": ["customer.c_custkey", "customer.c_name", "customer.c_address", "customer.c_nationkey", "customer.c_phone", "customer.c_acctbal", "customer.c_mktsegment", "customer.c_comment"], "Filter": "((customer.c_acctbal > $1) AND (\"substring\"((customer.c_phone)::text, 1, 2) = ANY ('{17,20,25,31,30,11,33}'::text[])))"}, {"Node Type": "Index Only Scan", "Parent Relationship": "Inner", "Parallel Aware": false, "Scan Direction": "Forward", "Index Name": "o_ck", "Relation Name": "orders", "Schema": "public", "Alias": "orders", "Startup Cost": 0.43, "Total Cost": 1.62, "Plan Rows": 16, "Plan Width": 4, "Output": ["orders.o_custkey"], "Index Cond": "(orders.o_custkey = customer.c_custkey)"}]}]}]}} diff --git a/dev9/pg10/tpch/sf_1/explain/15721/3-1.ok b/dev9/pg10/tpch/sf_1/explain/15721/3-1.ok new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/dev9/pg10/tpch/sf_1/explain/15721/3-1.res b/dev9/pg10/tpch/sf_1/explain/15721/3-1.res new file mode 100644 index 0000000000000000000000000000000000000000..3e44cf2b6431a0d2a65aa455fd7d07304d8f9c7e --- /dev/null +++ b/dev9/pg10/tpch/sf_1/explain/15721/3-1.res @@ -0,0 +1 @@ +{"Plan": {"Node Type": "Limit", "Parallel Aware": false, "Startup Cost": 134959.22, "Total Cost": 134959.25, "Plan Rows": 10, "Plan Width": 44, "Output": ["lineitem.l_orderkey", "(sum((lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount))))", "orders.o_orderdate", "orders.o_shippriority"], "Plans": [{"Node Type": "Sort", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 134959.22, "Total Cost": 135746.97, "Plan Rows": 315100, "Plan Width": 44, "Output": ["lineitem.l_orderkey", "(sum((lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount))))", "orders.o_orderdate", "orders.o_shippriority"], "Sort Key": ["(sum((lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount)))) DESC", "orders.o_orderdate"], "Plans": [{"Node Type": "Aggregate", "Strategy": "Sorted", "Partial Mode": "Finalize", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 86681.5, "Total Cost": 128150.02, "Plan Rows": 315100, "Plan Width": 44, "Output": ["lineitem.l_orderkey", "sum((lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount)))", "orders.o_orderdate", "orders.o_shippriority"], "Group Key": ["lineitem.l_orderkey", "orders.o_orderdate", "orders.o_shippriority"], "Plans": [{"Node Type": "Gather Merge", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 86681.5, "Total Cost": 120928.97, "Plan Rows": 262584, "Plan Width": 44, "Output": ["lineitem.l_orderkey", "orders.o_orderdate", "orders.o_shippriority", "(PARTIAL sum((lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount))))"], "Workers Planned": 2, "Plans": [{"Node Type": "Aggregate", "Strategy": "Sorted", "Partial Mode": "Partial", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 85681.48, "Total Cost": 89620.24, "Plan Rows": 131292, "Plan Width": 44, "Output": ["lineitem.l_orderkey", "orders.o_orderdate", "orders.o_shippriority", "PARTIAL sum((lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount)))"], "Group Key": ["lineitem.l_orderkey", "orders.o_orderdate", "orders.o_shippriority"], "Plans": [{"Node Type": "Sort", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 85681.48, "Total Cost": 86009.71, "Plan Rows": 131292, "Plan Width": 24, "Output": ["lineitem.l_orderkey", "orders.o_orderdate", "orders.o_shippriority", "lineitem.l_extendedprice", "lineitem.l_discount"], "Sort Key": ["lineitem.l_orderkey", "orders.o_orderdate", "orders.o_shippriority"], "Plans": [{"Node Type": "Nested Loop", "Parent Relationship": "Outer", "Parallel Aware": false, "Join Type": "Inner", "Startup Cost": 0.86, "Total Cost": 74520.07, "Plan Rows": 131292, "Plan Width": 24, "Output": ["lineitem.l_orderkey", "orders.o_orderdate", "orders.o_shippriority", "lineitem.l_extendedprice", "lineitem.l_discount"], "Inner Unique": false, "Plans": [{"Node Type": "Nested Loop", "Parent Relationship": "Outer", "Parallel Aware": false, "Join Type": "Inner", "Startup Cost": 0.43, "Total Cost": 28546.32, "Plan Rows": 60738, "Plan Width": 12, "Output": ["orders.o_orderdate", "orders.o_shippriority", "orders.o_orderkey"], "Inner Unique": false, "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": true, "Relation Name": "customer", "Schema": "public", "Alias": "customer", "Startup Cost": 0.0, "Total Cost": 4366.25, "Plan Rows": 12487, "Plan Width": 4, "Output": ["customer.c_custkey", "customer.c_name", "customer.c_address", "customer.c_nationkey", "customer.c_phone", "customer.c_acctbal", "customer.c_mktsegment", "customer.c_comment"], "Filter": "(customer.c_mktsegment = 'FURNITURE'::bpchar)"}, {"Node Type": "Index Scan", "Parent Relationship": "Inner", "Parallel Aware": false, "Scan Direction": "Forward", "Index Name": "o_ck", "Relation Name": "orders", "Schema": "public", "Alias": "orders", "Startup Cost": 0.43, "Total Cost": 1.86, "Plan Rows": 8, "Plan Width": 16, "Output": ["orders.o_orderkey", "orders.o_custkey", "orders.o_orderstatus", "orders.o_totalprice", "orders.o_orderdate", "orders.o_orderpriority", "orders.o_clerk", "orders.o_shippriority", "orders.o_comment"], "Index Cond": "(orders.o_custkey = customer.c_custkey)", "Filter": "(orders.o_orderdate < '1995-03-20'::date)"}]}, {"Node Type": "Index Scan", "Parent Relationship": "Inner", "Parallel Aware": false, "Scan Direction": "Forward", "Index Name": "l_ok", "Relation Name": "lineitem", "Schema": "public", "Alias": "lineitem", "Startup Cost": 0.43, "Total Cost": 0.73, "Plan Rows": 3, "Plan Width": 16, "Output": ["lineitem.l_orderkey", "lineitem.l_partkey", "lineitem.l_suppkey", "lineitem.l_linenumber", "lineitem.l_quantity", "lineitem.l_extendedprice", "lineitem.l_discount", "lineitem.l_tax", "lineitem.l_returnflag", "lineitem.l_linestatus", "lineitem.l_shipdate", "lineitem.l_commitdate", "lineitem.l_receiptdate", "lineitem.l_shipinstruct", "lineitem.l_shipmode", "lineitem.l_comment"], "Index Cond": "(lineitem.l_orderkey = orders.o_orderkey)", "Filter": "(lineitem.l_shipdate > '1995-03-20'::date)"}]}]}]}]}]}]}]}} diff --git a/dev9/pg10/tpch/sf_1/explain/15721/4-1.ok b/dev9/pg10/tpch/sf_1/explain/15721/4-1.ok new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/dev9/pg10/tpch/sf_1/explain/15721/4-1.res b/dev9/pg10/tpch/sf_1/explain/15721/4-1.res new file mode 100644 index 0000000000000000000000000000000000000000..5aae6858765f0d1840b31fcc99c7825f241ac89d --- /dev/null +++ b/dev9/pg10/tpch/sf_1/explain/15721/4-1.res @@ -0,0 +1 @@ +{"Plan": {"Node Type": "Aggregate", "Strategy": "Sorted", "Partial Mode": "Finalize", "Parallel Aware": false, "Startup Cost": 53423.38, "Total Cost": 53423.54, "Plan Rows": 5, "Plan Width": 24, "Output": ["orders.o_orderpriority", "count(*)"], "Group Key": ["orders.o_orderpriority"], "Plans": [{"Node Type": "Sort", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 53423.38, "Total Cost": 53423.41, "Plan Rows": 15, "Plan Width": 24, "Output": ["orders.o_orderpriority", "(PARTIAL count(*))"], "Sort Key": ["orders.o_orderpriority"], "Plans": [{"Node Type": "Gather", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 53421.53, "Total Cost": 53423.08, "Plan Rows": 15, "Plan Width": 24, "Output": ["orders.o_orderpriority", "(PARTIAL count(*))"], "Workers Planned": 3, "Single Copy": false, "Plans": [{"Node Type": "Aggregate", "Strategy": "Hashed", "Partial Mode": "Partial", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 52421.53, "Total Cost": 52421.58, "Plan Rows": 5, "Plan Width": 24, "Output": ["orders.o_orderpriority", "PARTIAL count(*)"], "Group Key": ["orders.o_orderpriority"], "Plans": [{"Node Type": "Nested Loop", "Parent Relationship": "Outer", "Parallel Aware": false, "Join Type": "Semi", "Startup Cost": 769.57, "Total Cost": 52346.48, "Plan Rows": 15011, "Plan Width": 16, "Output": ["orders.o_orderpriority"], "Inner Unique": false, "Plans": [{"Node Type": "Bitmap Heap Scan", "Parent Relationship": "Outer", "Parallel Aware": true, "Relation Name": "orders", "Schema": "public", "Alias": "orders", "Startup Cost": 769.14, "Total Cost": 27144.46, "Plan Rows": 18688, "Plan Width": 20, "Output": ["orders.o_orderkey", "orders.o_custkey", "orders.o_orderstatus", "orders.o_totalprice", "orders.o_orderdate", "orders.o_orderpriority", "orders.o_clerk", "orders.o_shippriority", "orders.o_comment"], "Recheck Cond": "((orders.o_orderdate >= '1996-01-01'::date) AND (orders.o_orderdate < '1996-04-01 00:00:00'::timestamp without time zone))", "Plans": [{"Node Type": "Bitmap Index Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Index Name": "o_od", "Startup Cost": 0.0, "Total Cost": 754.66, "Plan Rows": 57933, "Plan Width": 0, "Index Cond": "((orders.o_orderdate >= '1996-01-01'::date) AND (orders.o_orderdate < '1996-04-01 00:00:00'::timestamp without time zone))"}]}, {"Node Type": "Index Scan", "Parent Relationship": "Inner", "Parallel Aware": false, "Scan Direction": "Forward", "Index Name": "l_ok", "Relation Name": "lineitem", "Schema": "public", "Alias": "lineitem", "Startup Cost": 0.43, "Total Cost": 1.72, "Plan Rows": 2, "Plan Width": 4, "Output": ["lineitem.l_orderkey", "lineitem.l_partkey", "lineitem.l_suppkey", "lineitem.l_linenumber", "lineitem.l_quantity", "lineitem.l_extendedprice", "lineitem.l_discount", "lineitem.l_tax", "lineitem.l_returnflag", "lineitem.l_linestatus", "lineitem.l_shipdate", "lineitem.l_commitdate", "lineitem.l_receiptdate", "lineitem.l_shipinstruct", "lineitem.l_shipmode", "lineitem.l_comment"], "Index Cond": "(lineitem.l_orderkey = orders.o_orderkey)", "Filter": "(lineitem.l_commitdate < lineitem.l_receiptdate)"}]}]}]}]}]}} diff --git a/dev9/pg10/tpch/sf_1/explain/15721/5-1.ok b/dev9/pg10/tpch/sf_1/explain/15721/5-1.ok new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/dev9/pg10/tpch/sf_1/explain/15721/5-1.res b/dev9/pg10/tpch/sf_1/explain/15721/5-1.res new file mode 100644 index 0000000000000000000000000000000000000000..437397a92ce9ea9b3b331db465b32b4d02e51631 --- /dev/null +++ b/dev9/pg10/tpch/sf_1/explain/15721/5-1.res @@ -0,0 +1 @@ +{"Plan": {"Node Type": "Sort", "Parallel Aware": false, "Startup Cost": 42298.28, "Total Cost": 42298.34, "Plan Rows": 25, "Plan Width": 58, "Output": ["nation.n_name", "(sum((lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount))))"], "Sort Key": ["(sum((lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount)))) DESC"], "Plans": [{"Node Type": "Aggregate", "Strategy": "Sorted", "Partial Mode": "Finalize", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 42252.53, "Total Cost": 42297.7, "Plan Rows": 25, "Plan Width": 58, "Output": ["nation.n_name", "sum((lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount)))"], "Group Key": ["nation.n_name"], "Plans": [{"Node Type": "Gather Merge", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 42252.53, "Total Cost": 42297.01, "Plan Rows": 50, "Plan Width": 58, "Output": ["nation.n_name", "(PARTIAL sum((lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount))))"], "Workers Planned": 2, "Plans": [{"Node Type": "Aggregate", "Strategy": "Sorted", "Partial Mode": "Partial", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 41252.5, "Total Cost": 41291.22, "Plan Rows": 25, "Plan Width": 58, "Output": ["nation.n_name", "PARTIAL sum((lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount)))"], "Group Key": ["nation.n_name"], "Plans": [{"Node Type": "Sort", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 41252.5, "Total Cost": 41260.18, "Plan Rows": 3072, "Plan Width": 38, "Output": ["nation.n_name", "lineitem.l_extendedprice", "lineitem.l_discount"], "Sort Key": ["nation.n_name"], "Plans": [{"Node Type": "Hash Join", "Parent Relationship": "Outer", "Parallel Aware": false, "Join Type": "Inner", "Startup Cost": 475.37, "Total Cost": 41074.56, "Plan Rows": 3072, "Plan Width": 38, "Output": ["nation.n_name", "lineitem.l_extendedprice", "lineitem.l_discount"], "Inner Unique": true, "Hash Cond": "((lineitem.l_suppkey = supplier.s_suppkey) AND (customer.c_nationkey = supplier.s_nationkey))", "Plans": [{"Node Type": "Nested Loop", "Parent Relationship": "Outer", "Parallel Aware": false, "Join Type": "Inner", "Startup Cost": 3.37, "Total Cost": 40199.32, "Plan Rows": 76807, "Plan Width": 50, "Output": ["customer.c_nationkey", "lineitem.l_extendedprice", "lineitem.l_discount", "lineitem.l_suppkey", "nation.n_name", "nation.n_nationkey"], "Inner Unique": false, "Plans": [{"Node Type": "Nested Loop", "Parent Relationship": "Outer", "Parallel Aware": false, "Join Type": "Inner", "Startup Cost": 2.94, "Total Cost": 17434.98, "Plan Rows": 19198, "Plan Width": 38, "Output": ["customer.c_nationkey", "orders.o_orderkey", "nation.n_name", "nation.n_nationkey"], "Inner Unique": false, "Plans": [{"Node Type": "Hash Join", "Parent Relationship": "Outer", "Parallel Aware": false, "Join Type": "Inner", "Startup Cost": 2.51, "Total Cost": 4571.88, "Plan Rows": 12500, "Plan Width": 38, "Output": ["customer.c_custkey", "customer.c_nationkey", "nation.n_name", "nation.n_nationkey"], "Inner Unique": false, "Hash Cond": "(customer.c_nationkey = nation.n_nationkey)", "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": true, "Relation Name": "customer", "Schema": "public", "Alias": "customer", "Startup Cost": 0.0, "Total Cost": 4210.0, "Plan Rows": 62500, "Plan Width": 8, "Output": ["customer.c_custkey", "customer.c_name", "customer.c_address", "customer.c_nationkey", "customer.c_phone", "customer.c_acctbal", "customer.c_mktsegment", "customer.c_comment"]}, {"Node Type": "Hash", "Parent Relationship": "Inner", "Parallel Aware": false, "Startup Cost": 2.45, "Total Cost": 2.45, "Plan Rows": 5, "Plan Width": 30, "Output": ["nation.n_name", "nation.n_nationkey"], "Plans": [{"Node Type": "Hash Join", "Parent Relationship": "Outer", "Parallel Aware": false, "Join Type": "Inner", "Startup Cost": 1.07, "Total Cost": 2.45, "Plan Rows": 5, "Plan Width": 30, "Output": ["nation.n_name", "nation.n_nationkey"], "Inner Unique": true, "Hash Cond": "(nation.n_regionkey = region.r_regionkey)", "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Relation Name": "nation", "Schema": "public", "Alias": "nation", "Startup Cost": 0.0, "Total Cost": 1.25, "Plan Rows": 25, "Plan Width": 34, "Output": ["nation.n_nationkey", "nation.n_name", "nation.n_regionkey", "nation.n_comment"]}, {"Node Type": "Hash", "Parent Relationship": "Inner", "Parallel Aware": false, "Startup Cost": 1.06, "Total Cost": 1.06, "Plan Rows": 1, "Plan Width": 4, "Output": ["region.r_regionkey"], "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Relation Name": "region", "Schema": "public", "Alias": "region", "Startup Cost": 0.0, "Total Cost": 1.06, "Plan Rows": 1, "Plan Width": 4, "Output": ["region.r_regionkey"], "Filter": "(region.r_name = 'AMERICA'::bpchar)"}]}]}]}]}, {"Node Type": "Index Scan", "Parent Relationship": "Inner", "Parallel Aware": false, "Scan Direction": "Forward", "Index Name": "o_ck", "Relation Name": "orders", "Schema": "public", "Alias": "orders", "Startup Cost": 0.43, "Total Cost": 1.01, "Plan Rows": 2, "Plan Width": 8, "Output": ["orders.o_orderkey", "orders.o_custkey", "orders.o_orderstatus", "orders.o_totalprice", "orders.o_orderdate", "orders.o_orderpriority", "orders.o_clerk", "orders.o_shippriority", "orders.o_comment"], "Index Cond": "(orders.o_custkey = customer.c_custkey)", "Filter": "((orders.o_orderdate >= '1995-01-01'::date) AND (orders.o_orderdate < '1996-01-01 00:00:00'::timestamp without time zone))"}]}, {"Node Type": "Index Scan", "Parent Relationship": "Inner", "Parallel Aware": false, "Scan Direction": "Forward", "Index Name": "l_ok", "Relation Name": "lineitem", "Schema": "public", "Alias": "lineitem", "Startup Cost": 0.43, "Total Cost": 1.14, "Plan Rows": 5, "Plan Width": 20, "Output": ["lineitem.l_orderkey", "lineitem.l_partkey", "lineitem.l_suppkey", "lineitem.l_linenumber", "lineitem.l_quantity", "lineitem.l_extendedprice", "lineitem.l_discount", "lineitem.l_tax", "lineitem.l_returnflag", "lineitem.l_linestatus", "lineitem.l_shipdate", "lineitem.l_commitdate", "lineitem.l_receiptdate", "lineitem.l_shipinstruct", "lineitem.l_shipmode", "lineitem.l_comment"], "Index Cond": "(lineitem.l_orderkey = orders.o_orderkey)"}]}, {"Node Type": "Hash", "Parent Relationship": "Inner", "Parallel Aware": false, "Startup Cost": 322.0, "Total Cost": 322.0, "Plan Rows": 10000, "Plan Width": 8, "Output": ["supplier.s_suppkey", "supplier.s_nationkey"], "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Relation Name": "supplier", "Schema": "public", "Alias": "supplier", "Startup Cost": 0.0, "Total Cost": 322.0, "Plan Rows": 10000, "Plan Width": 8, "Output": ["supplier.s_suppkey", "supplier.s_nationkey"]}]}]}]}]}]}]}]}} diff --git a/dev9/pg10/tpch/sf_1/explain/15721/6-1.ok b/dev9/pg10/tpch/sf_1/explain/15721/6-1.ok new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/dev9/pg10/tpch/sf_1/explain/15721/6-1.res b/dev9/pg10/tpch/sf_1/explain/15721/6-1.res new file mode 100644 index 0000000000000000000000000000000000000000..adedda1df05dfbe5ae5001a42d9c066127fa3d66 --- /dev/null +++ b/dev9/pg10/tpch/sf_1/explain/15721/6-1.res @@ -0,0 +1 @@ +{"Plan": {"Node Type": "Aggregate", "Strategy": "Plain", "Partial Mode": "Finalize", "Parallel Aware": false, "Startup Cost": 129837.66, "Total Cost": 129837.67, "Plan Rows": 1, "Plan Width": 32, "Output": ["sum((l_extendedprice * l_discount))"], "Plans": [{"Node Type": "Gather", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 129837.12, "Total Cost": 129837.63, "Plan Rows": 5, "Plan Width": 32, "Output": ["(PARTIAL sum((l_extendedprice * l_discount)))"], "Workers Planned": 5, "Single Copy": false, "Plans": [{"Node Type": "Aggregate", "Strategy": "Plain", "Partial Mode": "Partial", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 128837.12, "Total Cost": 128837.13, "Plan Rows": 1, "Plan Width": 32, "Output": ["PARTIAL sum((l_extendedprice * l_discount))"], "Plans": [{"Node Type": "Bitmap Heap Scan", "Parent Relationship": "Outer", "Parallel Aware": true, "Relation Name": "lineitem", "Schema": "public", "Alias": "lineitem", "Startup Cost": 12059.86, "Total Cost": 128721.81, "Plan Rows": 23063, "Plan Width": 12, "Output": ["l_extendedprice", "l_discount"], "Recheck Cond": "((lineitem.l_shipdate >= '1995-01-01'::date) AND (lineitem.l_shipdate < '1996-01-01 00:00:00'::timestamp without time zone))", "Filter": "((lineitem.l_discount >= 0.04) AND (lineitem.l_discount <= 0.06) AND (lineitem.l_quantity < '24'::numeric))", "Plans": [{"Node Type": "Bitmap Index Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Index Name": "l_sd", "Startup Cost": 0.0, "Total Cost": 12031.03, "Plan Rows": 924210, "Plan Width": 0, "Index Cond": "((lineitem.l_shipdate >= '1995-01-01'::date) AND (lineitem.l_shipdate < '1996-01-01 00:00:00'::timestamp without time zone))"}]}]}]}]}} diff --git a/dev9/pg10/tpch/sf_1/explain/15721/7-1.ok b/dev9/pg10/tpch/sf_1/explain/15721/7-1.ok new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/dev9/pg10/tpch/sf_1/explain/15721/7-1.res b/dev9/pg10/tpch/sf_1/explain/15721/7-1.res new file mode 100644 index 0000000000000000000000000000000000000000..169e07e4ab3920f5e69a1b4cebc9708062bc33f8 --- /dev/null +++ b/dev9/pg10/tpch/sf_1/explain/15721/7-1.res @@ -0,0 +1 @@ +{"Plan": {"Node Type": "Aggregate", "Strategy": "Sorted", "Partial Mode": "Finalize", "Parallel Aware": false, "Startup Cost": 38376.49, "Total Cost": 39225.25, "Plan Rows": 6120, "Plan Width": 92, "Output": ["n1.n_name", "n2.n_name", "(date_part('year'::text, (lineitem.l_shipdate)::timestamp without time zone))", "sum((lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount)))"], "Group Key": ["n1.n_name", "n2.n_name", "(date_part('year'::text, (lineitem.l_shipdate)::timestamp without time zone))"], "Plans": [{"Node Type": "Gather Merge", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 38376.49, "Total Cost": 39054.4, "Plan Rows": 5100, "Plan Width": 92, "Output": ["n1.n_name", "n2.n_name", "(date_part('year'::text, (lineitem.l_shipdate)::timestamp without time zone))", "(PARTIAL sum((lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount))))"], "Workers Planned": 2, "Plans": [{"Node Type": "Aggregate", "Strategy": "Sorted", "Partial Mode": "Partial", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 37376.46, "Total Cost": 37465.71, "Plan Rows": 2550, "Plan Width": 92, "Output": ["n1.n_name", "n2.n_name", "(date_part('year'::text, (lineitem.l_shipdate)::timestamp without time zone))", "PARTIAL sum((lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount)))"], "Group Key": ["n1.n_name", "n2.n_name", "(date_part('year'::text, (lineitem.l_shipdate)::timestamp without time zone))"], "Plans": [{"Node Type": "Sort", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 37376.46, "Total Cost": 37382.84, "Plan Rows": 2550, "Plan Width": 72, "Output": ["n1.n_name", "n2.n_name", "(date_part('year'::text, (lineitem.l_shipdate)::timestamp without time zone))", "lineitem.l_extendedprice", "lineitem.l_discount"], "Sort Key": ["n1.n_name", "n2.n_name", "(date_part('year'::text, (lineitem.l_shipdate)::timestamp without time zone))"], "Plans": [{"Node Type": "Hash Join", "Parent Relationship": "Outer", "Parallel Aware": false, "Join Type": "Inner", "Startup Cost": 25712.21, "Total Cost": 37232.18, "Plan Rows": 2550, "Plan Width": 72, "Output": ["n1.n_name", "n2.n_name", "date_part('year'::text, (lineitem.l_shipdate)::timestamp without time zone)", "lineitem.l_extendedprice", "lineitem.l_discount"], "Inner Unique": false, "Hash Cond": "(orders.o_orderkey = lineitem.l_orderkey)", "Join Filter": "(((n1.n_name = 'IRAN'::bpchar) AND (n2.n_name = 'ETHIOPIA'::bpchar)) OR ((n1.n_name = 'ETHIOPIA'::bpchar) AND (n2.n_name = 'IRAN'::bpchar)))", "Plans": [{"Node Type": "Nested Loop", "Parent Relationship": "Outer", "Parallel Aware": false, "Join Type": "Inner", "Startup Cost": 1.83, "Total Cost": 9848.51, "Plan Rows": 50000, "Plan Width": 30, "Output": ["orders.o_orderkey", "n2.n_name"], "Inner Unique": false, "Plans": [{"Node Type": "Hash Join", "Parent Relationship": "Outer", "Parallel Aware": false, "Join Type": "Inner", "Startup Cost": 1.4, "Total Cost": 4403.27, "Plan Rows": 5000, "Plan Width": 30, "Output": ["customer.c_custkey", "n2.n_name"], "Inner Unique": true, "Hash Cond": "(customer.c_nationkey = n2.n_nationkey)", "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": true, "Relation Name": "customer", "Schema": "public", "Alias": "customer", "Startup Cost": 0.0, "Total Cost": 4210.0, "Plan Rows": 62500, "Plan Width": 8, "Output": ["customer.c_custkey", "customer.c_name", "customer.c_address", "customer.c_nationkey", "customer.c_phone", "customer.c_acctbal", "customer.c_mktsegment", "customer.c_comment"]}, {"Node Type": "Hash", "Parent Relationship": "Inner", "Parallel Aware": false, "Startup Cost": 1.38, "Total Cost": 1.38, "Plan Rows": 2, "Plan Width": 30, "Output": ["n2.n_name", "n2.n_nationkey"], "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Relation Name": "nation", "Schema": "public", "Alias": "n2", "Startup Cost": 0.0, "Total Cost": 1.38, "Plan Rows": 2, "Plan Width": 30, "Output": ["n2.n_name", "n2.n_nationkey"], "Filter": "((n2.n_name = 'ETHIOPIA'::bpchar) OR (n2.n_name = 'IRAN'::bpchar))"}]}]}, {"Node Type": "Index Scan", "Parent Relationship": "Inner", "Parallel Aware": false, "Scan Direction": "Forward", "Index Name": "o_ck", "Relation Name": "orders", "Schema": "public", "Alias": "orders", "Startup Cost": 0.43, "Total Cost": 0.93, "Plan Rows": 16, "Plan Width": 8, "Output": ["orders.o_orderkey", "orders.o_custkey", "orders.o_orderstatus", "orders.o_totalprice", "orders.o_orderdate", "orders.o_orderpriority", "orders.o_clerk", "orders.o_shippriority", "orders.o_comment"], "Index Cond": "(orders.o_custkey = customer.c_custkey)"}]}, {"Node Type": "Hash", "Parent Relationship": "Inner", "Parallel Aware": false, "Startup Cost": 23872.1, "Total Cost": 23872.1, "Plan Rows": 147062, "Plan Width": 46, "Output": ["lineitem.l_shipdate", "lineitem.l_extendedprice", "lineitem.l_discount", "lineitem.l_orderkey", "n1.n_name"], "Plans": [{"Node Type": "Nested Loop", "Parent Relationship": "Outer", "Parallel Aware": false, "Join Type": "Inner", "Startup Cost": 6.02, "Total Cost": 23872.1, "Plan Rows": 147062, "Plan Width": 46, "Output": ["lineitem.l_shipdate", "lineitem.l_extendedprice", "lineitem.l_discount", "lineitem.l_orderkey", "n1.n_name"], "Inner Unique": false, "Plans": [{"Node Type": "Nested Loop", "Parent Relationship": "Outer", "Parallel Aware": false, "Join Type": "Inner", "Startup Cost": 5.58, "Total Cost": 259.05, "Plan Rows": 800, "Plan Width": 30, "Output": ["supplier.s_suppkey", "n1.n_name"], "Inner Unique": false, "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Relation Name": "nation", "Schema": "public", "Alias": "n1", "Startup Cost": 0.0, "Total Cost": 1.38, "Plan Rows": 2, "Plan Width": 30, "Output": ["n1.n_nationkey", "n1.n_name", "n1.n_regionkey", "n1.n_comment"], "Filter": "((n1.n_name = 'IRAN'::bpchar) OR (n1.n_name = 'ETHIOPIA'::bpchar))"}, {"Node Type": "Bitmap Heap Scan", "Parent Relationship": "Inner", "Parallel Aware": false, "Relation Name": "supplier", "Schema": "public", "Alias": "supplier", "Startup Cost": 5.58, "Total Cost": 124.84, "Plan Rows": 400, "Plan Width": 8, "Output": ["supplier.s_suppkey", "supplier.s_name", "supplier.s_address", "supplier.s_nationkey", "supplier.s_phone", "supplier.s_acctbal", "supplier.s_comment"], "Recheck Cond": "(supplier.s_nationkey = n1.n_nationkey)", "Plans": [{"Node Type": "Bitmap Index Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Index Name": "s_nk", "Startup Cost": 0.0, "Total Cost": 5.49, "Plan Rows": 400, "Plan Width": 0, "Index Cond": "(supplier.s_nationkey = n1.n_nationkey)"}]}]}, {"Node Type": "Index Scan", "Parent Relationship": "Inner", "Parallel Aware": false, "Scan Direction": "Forward", "Index Name": "l_sk", "Relation Name": "lineitem", "Schema": "public", "Alias": "lineitem", "Startup Cost": 0.43, "Total Cost": 27.68, "Plan Rows": 184, "Plan Width": 24, "Output": ["lineitem.l_orderkey", "lineitem.l_partkey", "lineitem.l_suppkey", "lineitem.l_linenumber", "lineitem.l_quantity", "lineitem.l_extendedprice", "lineitem.l_discount", "lineitem.l_tax", "lineitem.l_returnflag", "lineitem.l_linestatus", "lineitem.l_shipdate", "lineitem.l_commitdate", "lineitem.l_receiptdate", "lineitem.l_shipinstruct", "lineitem.l_shipmode", "lineitem.l_comment"], "Index Cond": "(lineitem.l_suppkey = supplier.s_suppkey)", "Filter": "((lineitem.l_shipdate >= '1995-01-01'::date) AND (lineitem.l_shipdate <= '1996-12-31'::date))"}]}]}]}]}]}]}]}} diff --git a/dev9/pg10/tpch/sf_1/explain/15721/8-1.ok b/dev9/pg10/tpch/sf_1/explain/15721/8-1.ok new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/dev9/pg10/tpch/sf_1/explain/15721/8-1.res b/dev9/pg10/tpch/sf_1/explain/15721/8-1.res new file mode 100644 index 0000000000000000000000000000000000000000..e4afbe269b9f8019cbd8edbce2a694207a2af95d --- /dev/null +++ b/dev9/pg10/tpch/sf_1/explain/15721/8-1.res @@ -0,0 +1 @@ +{"Plan": {"Node Type": "Aggregate", "Strategy": "Sorted", "Partial Mode": "Finalize", "Parallel Aware": false, "Startup Cost": 33189.6, "Total Cost": 33545.66, "Plan Rows": 2406, "Plan Width": 40, "Output": ["(date_part('year'::text, (orders.o_orderdate)::timestamp without time zone))", "(sum(CASE WHEN (n2.n_name = 'ETHIOPIA'::bpchar) THEN (lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount)) ELSE '0'::numeric END) / sum((lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount))))"], "Group Key": ["(date_part('year'::text, (orders.o_orderdate)::timestamp without time zone))"], "Plans": [{"Node Type": "Gather Merge", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 33189.6, "Total Cost": 33466.23, "Plan Rows": 2024, "Plan Width": 72, "Output": ["(date_part('year'::text, (orders.o_orderdate)::timestamp without time zone))", "(PARTIAL sum(CASE WHEN (n2.n_name = 'ETHIOPIA'::bpchar) THEN (lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount)) ELSE '0'::numeric END))", "(PARTIAL sum((lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount))))"], "Workers Planned": 2, "Plans": [{"Node Type": "Aggregate", "Strategy": "Sorted", "Partial Mode": "Partial", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 32189.58, "Total Cost": 32232.59, "Plan Rows": 1012, "Plan Width": 72, "Output": ["(date_part('year'::text, (orders.o_orderdate)::timestamp without time zone))", "PARTIAL sum(CASE WHEN (n2.n_name = 'ETHIOPIA'::bpchar) THEN (lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount)) ELSE '0'::numeric END)", "PARTIAL sum((lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount)))"], "Group Key": ["(date_part('year'::text, (orders.o_orderdate)::timestamp without time zone))"], "Plans": [{"Node Type": "Sort", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 32189.58, "Total Cost": 32192.11, "Plan Rows": 1012, "Plan Width": 46, "Output": ["(date_part('year'::text, (orders.o_orderdate)::timestamp without time zone))", "n2.n_name", "lineitem.l_extendedprice", "lineitem.l_discount"], "Sort Key": ["(date_part('year'::text, (orders.o_orderdate)::timestamp without time zone))"], "Plans": [{"Node Type": "Hash Join", "Parent Relationship": "Outer", "Parallel Aware": false, "Join Type": "Inner", "Startup Cost": 2060.15, "Total Cost": 32139.06, "Plan Rows": 1012, "Plan Width": 46, "Output": ["date_part('year'::text, (orders.o_orderdate)::timestamp without time zone)", "n2.n_name", "lineitem.l_extendedprice", "lineitem.l_discount"], "Inner Unique": true, "Hash Cond": "(supplier.s_nationkey = n2.n_nationkey)", "Plans": [{"Node Type": "Nested Loop", "Parent Relationship": "Outer", "Parallel Aware": false, "Join Type": "Inner", "Startup Cost": 2058.59, "Total Cost": 32129.34, "Plan Rows": 1012, "Plan Width": 20, "Output": ["lineitem.l_extendedprice", "lineitem.l_discount", "supplier.s_nationkey", "orders.o_orderdate"], "Inner Unique": true, "Plans": [{"Node Type": "Hash Join", "Parent Relationship": "Outer", "Parallel Aware": false, "Join Type": "Inner", "Startup Cost": 2058.3, "Total Cost": 31823.16, "Plan Rows": 1012, "Plan Width": 20, "Output": ["lineitem.l_extendedprice", "lineitem.l_discount", "lineitem.l_suppkey", "orders.o_orderdate"], "Inner Unique": false, "Hash Cond": "(orders.o_custkey = customer.c_custkey)", "Plans": [{"Node Type": "Nested Loop", "Parent Relationship": "Outer", "Parallel Aware": false, "Join Type": "Inner", "Startup Cost": 0.86, "Total Cost": 29736.61, "Plan Rows": 5062, "Plan Width": 24, "Output": ["lineitem.l_extendedprice", "lineitem.l_discount", "lineitem.l_suppkey", "orders.o_orderdate", "orders.o_custkey"], "Inner Unique": true, "Plans": [{"Node Type": "Nested Loop", "Parent Relationship": "Outer", "Parallel Aware": false, "Join Type": "Inner", "Startup Cost": 0.43, "Total Cost": 22241.66, "Plan Rows": 16453, "Plan Width": 20, "Output": ["lineitem.l_extendedprice", "lineitem.l_discount", "lineitem.l_suppkey", "lineitem.l_orderkey"], "Inner Unique": false, "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": true, "Relation Name": "part", "Schema": "public", "Alias": "part", "Startup Cost": 0.0, "Total Cost": 5138.67, "Plan Rows": 548, "Plan Width": 4, "Output": ["part.p_partkey", "part.p_name", "part.p_mfgr", "part.p_brand", "part.p_type", "part.p_size", "part.p_container", "part.p_retailprice", "part.p_comment"], "Filter": "((part.p_type)::text = 'SMALL BRUSHED NICKEL'::text)"}, {"Node Type": "Index Scan", "Parent Relationship": "Inner", "Parallel Aware": false, "Scan Direction": "Forward", "Index Name": "l_pk", "Relation Name": "lineitem", "Schema": "public", "Alias": "lineitem", "Startup Cost": 0.43, "Total Cost": 30.9, "Plan Rows": 31, "Plan Width": 24, "Output": ["lineitem.l_orderkey", "lineitem.l_partkey", "lineitem.l_suppkey", "lineitem.l_linenumber", "lineitem.l_quantity", "lineitem.l_extendedprice", "lineitem.l_discount", "lineitem.l_tax", "lineitem.l_returnflag", "lineitem.l_linestatus", "lineitem.l_shipdate", "lineitem.l_commitdate", "lineitem.l_receiptdate", "lineitem.l_shipinstruct", "lineitem.l_shipmode", "lineitem.l_comment"], "Index Cond": "(lineitem.l_partkey = part.p_partkey)"}]}, {"Node Type": "Index Scan", "Parent Relationship": "Inner", "Parallel Aware": false, "Scan Direction": "Forward", "Index Name": "o_ok", "Relation Name": "orders", "Schema": "public", "Alias": "orders", "Startup Cost": 0.43, "Total Cost": 0.46, "Plan Rows": 1, "Plan Width": 12, "Output": ["orders.o_orderkey", "orders.o_custkey", "orders.o_orderstatus", "orders.o_totalprice", "orders.o_orderdate", "orders.o_orderpriority", "orders.o_clerk", "orders.o_shippriority", "orders.o_comment"], "Index Cond": "(orders.o_orderkey = lineitem.l_orderkey)", "Filter": "((orders.o_orderdate >= '1995-01-01'::date) AND (orders.o_orderdate <= '1996-12-31'::date))"}]}, {"Node Type": "Hash", "Parent Relationship": "Inner", "Parallel Aware": false, "Startup Cost": 1682.44, "Total Cost": 1682.44, "Plan Rows": 30000, "Plan Width": 4, "Output": ["customer.c_custkey"], "Plans": [{"Node Type": "Nested Loop", "Parent Relationship": "Outer", "Parallel Aware": false, "Join Type": "Inner", "Startup Cost": 0.56, "Total Cost": 1682.44, "Plan Rows": 30000, "Plan Width": 4, "Output": ["customer.c_custkey"], "Inner Unique": false, "Plans": [{"Node Type": "Nested Loop", "Parent Relationship": "Outer", "Parallel Aware": false, "Join Type": "Inner", "Startup Cost": 0.14, "Total Cost": 5.25, "Plan Rows": 5, "Plan Width": 4, "Output": ["n1.n_nationkey"], "Inner Unique": true, "Join Filter": "(n1.n_regionkey = region.r_regionkey)", "Plans": [{"Node Type": "Index Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Scan Direction": "Forward", "Index Name": "n_nk", "Relation Name": "nation", "Schema": "public", "Alias": "n1", "Startup Cost": 0.14, "Total Cost": 3.81, "Plan Rows": 25, "Plan Width": 8, "Output": ["n1.n_nationkey", "n1.n_name", "n1.n_regionkey", "n1.n_comment"]}, {"Node Type": "Materialize", "Parent Relationship": "Inner", "Parallel Aware": false, "Startup Cost": 0.0, "Total Cost": 1.07, "Plan Rows": 1, "Plan Width": 4, "Output": ["region.r_regionkey"], "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Relation Name": "region", "Schema": "public", "Alias": "region", "Startup Cost": 0.0, "Total Cost": 1.06, "Plan Rows": 1, "Plan Width": 4, "Output": ["region.r_regionkey"], "Filter": "(region.r_name = 'AFRICA'::bpchar)"}]}]}, {"Node Type": "Index Scan", "Parent Relationship": "Inner", "Parallel Aware": false, "Scan Direction": "Forward", "Index Name": "c_nk", "Relation Name": "customer", "Schema": "public", "Alias": "customer", "Startup Cost": 0.42, "Total Cost": 275.44, "Plan Rows": 6000, "Plan Width": 8, "Output": ["customer.c_custkey", "customer.c_name", "customer.c_address", "customer.c_nationkey", "customer.c_phone", "customer.c_acctbal", "customer.c_mktsegment", "customer.c_comment"], "Index Cond": "(customer.c_nationkey = n1.n_nationkey)"}]}]}]}, {"Node Type": "Index Scan", "Parent Relationship": "Inner", "Parallel Aware": false, "Scan Direction": "Forward", "Index Name": "s_sk", "Relation Name": "supplier", "Schema": "public", "Alias": "supplier", "Startup Cost": 0.29, "Total Cost": 0.3, "Plan Rows": 1, "Plan Width": 8, "Output": ["supplier.s_suppkey", "supplier.s_name", "supplier.s_address", "supplier.s_nationkey", "supplier.s_phone", "supplier.s_acctbal", "supplier.s_comment"], "Index Cond": "(supplier.s_suppkey = lineitem.l_suppkey)"}]}, {"Node Type": "Hash", "Parent Relationship": "Inner", "Parallel Aware": false, "Startup Cost": 1.25, "Total Cost": 1.25, "Plan Rows": 25, "Plan Width": 30, "Output": ["n2.n_name", "n2.n_nationkey"], "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Relation Name": "nation", "Schema": "public", "Alias": "n2", "Startup Cost": 0.0, "Total Cost": 1.25, "Plan Rows": 25, "Plan Width": 30, "Output": ["n2.n_name", "n2.n_nationkey"]}]}]}]}]}]}]}} diff --git a/dev9/pg10/tpch/sf_1/explain/15721/9-1.ok b/dev9/pg10/tpch/sf_1/explain/15721/9-1.ok new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/dev9/pg10/tpch/sf_1/explain/15721/9-1.res b/dev9/pg10/tpch/sf_1/explain/15721/9-1.res new file mode 100644 index 0000000000000000000000000000000000000000..9331b1b9e7a3a0a518331c25eda253c4f8acd0b5 --- /dev/null +++ b/dev9/pg10/tpch/sf_1/explain/15721/9-1.res @@ -0,0 +1 @@ +{"Plan": {"Node Type": "Sort", "Parallel Aware": false, "Startup Cost": 100584.96, "Total Cost": 100735.33, "Plan Rows": 60150, "Plan Width": 66, "Output": ["nation.n_name", "(date_part('year'::text, (orders.o_orderdate)::timestamp without time zone))", "(sum(((lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount)) - (partsupp.ps_supplycost * lineitem.l_quantity))))"], "Sort Key": ["nation.n_name", "(date_part('year'::text, (orders.o_orderdate)::timestamp without time zone)) DESC"], "Plans": [{"Node Type": "Aggregate", "Strategy": "Hashed", "Partial Mode": "Finalize", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 94757.54, "Total Cost": 95810.17, "Plan Rows": 60150, "Plan Width": 66, "Output": ["nation.n_name", "(date_part('year'::text, (orders.o_orderdate)::timestamp without time zone))", "sum(((lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount)) - (partsupp.ps_supplycost * lineitem.l_quantity)))"], "Group Key": ["nation.n_name", "(date_part('year'::text, (orders.o_orderdate)::timestamp without time zone))"], "Plans": [{"Node Type": "Gather", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 80471.92, "Total Cost": 93554.54, "Plan Rows": 120300, "Plan Width": 66, "Output": ["nation.n_name", "(date_part('year'::text, (orders.o_orderdate)::timestamp without time zone))", "(PARTIAL sum(((lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount)) - (partsupp.ps_supplycost * lineitem.l_quantity))))"], "Workers Planned": 2, "Single Copy": false, "Plans": [{"Node Type": "Aggregate", "Strategy": "Hashed", "Partial Mode": "Partial", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 79471.92, "Total Cost": 80524.54, "Plan Rows": 60150, "Plan Width": 66, "Output": ["nation.n_name", "(date_part('year'::text, (orders.o_orderdate)::timestamp without time zone))", "PARTIAL sum(((lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount)) - (partsupp.ps_supplycost * lineitem.l_quantity)))"], "Group Key": ["nation.n_name", "date_part('year'::text, (orders.o_orderdate)::timestamp without time zone)"], "Plans": [{"Node Type": "Nested Loop", "Parent Relationship": "Outer", "Parallel Aware": false, "Join Type": "Inner", "Startup Cost": 449.85, "Total Cost": 77367.33, "Plan Rows": 120262, "Plan Width": 57, "Output": ["nation.n_name", "date_part('year'::text, (orders.o_orderdate)::timestamp without time zone)", "lineitem.l_extendedprice", "lineitem.l_discount", "partsupp.ps_supplycost", "lineitem.l_quantity"], "Inner Unique": true, "Plans": [{"Node Type": "Nested Loop", "Parent Relationship": "Outer", "Parallel Aware": false, "Join Type": "Inner", "Startup Cost": 449.42, "Total Cost": 22583.47, "Plan Rows": 120262, "Plan Width": 53, "Output": ["lineitem.l_extendedprice", "lineitem.l_discount", "lineitem.l_quantity", "lineitem.l_orderkey", "partsupp.ps_supplycost", "nation.n_name"], "Inner Unique": false, "Join Filter": "(supplier.s_suppkey = lineitem.l_suppkey)", "Plans": [{"Node Type": "Hash Join", "Parent Relationship": "Outer", "Parallel Aware": false, "Join Type": "Inner", "Startup Cost": 448.99, "Total Cost": 12285.8, "Plan Rows": 16032, "Plan Width": 48, "Output": ["part.p_partkey", "partsupp.ps_supplycost", "partsupp.ps_suppkey", "partsupp.ps_partkey", "supplier.s_suppkey", "nation.n_name"], "Inner Unique": true, "Hash Cond": "(supplier.s_nationkey = nation.n_nationkey)", "Plans": [{"Node Type": "Hash Join", "Parent Relationship": "Outer", "Parallel Aware": false, "Join Type": "Inner", "Startup Cost": 447.43, "Total Cost": 12235.02, "Plan Rows": 16032, "Plan Width": 26, "Output": ["part.p_partkey", "partsupp.ps_supplycost", "partsupp.ps_suppkey", "partsupp.ps_partkey", "supplier.s_suppkey", "supplier.s_nationkey"], "Inner Unique": true, "Hash Cond": "(partsupp.ps_suppkey = supplier.s_suppkey)", "Plans": [{"Node Type": "Nested Loop", "Parent Relationship": "Outer", "Parallel Aware": false, "Join Type": "Inner", "Startup Cost": 0.42, "Total Cost": 11745.92, "Plan Rows": 16032, "Plan Width": 18, "Output": ["part.p_partkey", "partsupp.ps_supplycost", "partsupp.ps_suppkey", "partsupp.ps_partkey"], "Inner Unique": false, "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": true, "Relation Name": "part", "Schema": "public", "Alias": "part", "Startup Cost": 0.0, "Total Cost": 5138.67, "Plan Rows": 4008, "Plan Width": 4, "Output": ["part.p_partkey", "part.p_name", "part.p_mfgr", "part.p_brand", "part.p_type", "part.p_size", "part.p_container", "part.p_retailprice", "part.p_comment"], "Filter": "((part.p_name)::text ~~ '%forest%'::text)"}, {"Node Type": "Index Scan", "Parent Relationship": "Inner", "Parallel Aware": false, "Scan Direction": "Forward", "Index Name": "ps_pk", "Relation Name": "partsupp", "Schema": "public", "Alias": "partsupp", "Startup Cost": 0.42, "Total Cost": 1.61, "Plan Rows": 4, "Plan Width": 14, "Output": ["partsupp.ps_partkey", "partsupp.ps_suppkey", "partsupp.ps_availqty", "partsupp.ps_supplycost", "partsupp.ps_comment"], "Index Cond": "(partsupp.ps_partkey = part.p_partkey)"}]}, {"Node Type": "Hash", "Parent Relationship": "Inner", "Parallel Aware": false, "Startup Cost": 322.0, "Total Cost": 322.0, "Plan Rows": 10000, "Plan Width": 8, "Output": ["supplier.s_suppkey", "supplier.s_nationkey"], "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Relation Name": "supplier", "Schema": "public", "Alias": "supplier", "Startup Cost": 0.0, "Total Cost": 322.0, "Plan Rows": 10000, "Plan Width": 8, "Output": ["supplier.s_suppkey", "supplier.s_nationkey"]}]}]}, {"Node Type": "Hash", "Parent Relationship": "Inner", "Parallel Aware": false, "Startup Cost": 1.25, "Total Cost": 1.25, "Plan Rows": 25, "Plan Width": 30, "Output": ["nation.n_name", "nation.n_nationkey"], "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Relation Name": "nation", "Schema": "public", "Alias": "nation", "Startup Cost": 0.0, "Total Cost": 1.25, "Plan Rows": 25, "Plan Width": 30, "Output": ["nation.n_name", "nation.n_nationkey"]}]}]}, {"Node Type": "Index Scan", "Parent Relationship": "Inner", "Parallel Aware": false, "Scan Direction": "Forward", "Index Name": "l_sk_pk", "Relation Name": "lineitem", "Schema": "public", "Alias": "lineitem", "Startup Cost": 0.43, "Total Cost": 0.63, "Plan Rows": 1, "Plan Width": 29, "Output": ["lineitem.l_orderkey", "lineitem.l_partkey", "lineitem.l_suppkey", "lineitem.l_linenumber", "lineitem.l_quantity", "lineitem.l_extendedprice", "lineitem.l_discount", "lineitem.l_tax", "lineitem.l_returnflag", "lineitem.l_linestatus", "lineitem.l_shipdate", "lineitem.l_commitdate", "lineitem.l_receiptdate", "lineitem.l_shipinstruct", "lineitem.l_shipmode", "lineitem.l_comment"], "Index Cond": "((lineitem.l_suppkey = partsupp.ps_suppkey) AND (lineitem.l_partkey = partsupp.ps_partkey))"}]}, {"Node Type": "Index Scan", "Parent Relationship": "Inner", "Parallel Aware": false, "Scan Direction": "Forward", "Index Name": "o_ok", "Relation Name": "orders", "Schema": "public", "Alias": "orders", "Startup Cost": 0.43, "Total Cost": 0.45, "Plan Rows": 1, "Plan Width": 8, "Output": ["orders.o_orderkey", "orders.o_custkey", "orders.o_orderstatus", "orders.o_totalprice", "orders.o_orderdate", "orders.o_orderpriority", "orders.o_clerk", "orders.o_shippriority", "orders.o_comment"], "Index Cond": "(orders.o_orderkey = lineitem.l_orderkey)"}]}]}]}]}]}} diff --git a/dev9/pg10/tpch/sf_1/explain_analyze/15721/1-1.ok b/dev9/pg10/tpch/sf_1/explain_analyze/15721/1-1.ok new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/dev9/pg10/tpch/sf_1/explain_analyze/15721/1-1.res b/dev9/pg10/tpch/sf_1/explain_analyze/15721/1-1.res new file mode 100644 index 0000000000000000000000000000000000000000..c6114085ec60dac4f0393f01acd294c974a803f5 --- /dev/null +++ b/dev9/pg10/tpch/sf_1/explain_analyze/15721/1-1.res @@ -0,0 +1 @@ +{"Plan": {"Node Type": "Aggregate", "Strategy": "Sorted", "Partial Mode": "Finalize", "Parallel Aware": false, "Startup Cost": 175408.1, "Total Cost": 175409.61, "Plan Rows": 6, "Plan Width": 236, "Actual Startup Time": 1766.763, "Actual Total Time": 1980.508, "Actual Rows": 4, "Actual Loops": 1, "Output": ["l_returnflag", "l_linestatus", "sum(l_quantity)", "sum(l_extendedprice)", "sum((l_extendedprice * ('1'::numeric - l_discount)))", "sum(((l_extendedprice * ('1'::numeric - l_discount)) * ('1'::numeric + l_tax)))", "avg(l_quantity)", "avg(l_extendedprice)", "avg(l_discount)", "count(*)"], "Group Key": ["lineitem.l_returnflag", "lineitem.l_linestatus"], "Plans": [{"Node Type": "Sort", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 175408.1, "Total Cost": 175408.17, "Plan Rows": 30, "Plan Width": 236, "Actual Startup Time": 1766.704, "Actual Total Time": 1980.382, "Actual Rows": 24, "Actual Loops": 1, "Output": ["l_returnflag", "l_linestatus", "(PARTIAL sum(l_quantity))", "(PARTIAL sum(l_extendedprice))", "(PARTIAL sum((l_extendedprice * ('1'::numeric - l_discount))))", "(PARTIAL sum(((l_extendedprice * ('1'::numeric - l_discount)) * ('1'::numeric + l_tax))))", "(PARTIAL avg(l_quantity))", "(PARTIAL avg(l_extendedprice))", "(PARTIAL avg(l_discount))", "(PARTIAL count(*))"], "Sort Key": ["lineitem.l_returnflag", "lineitem.l_linestatus"], "Sort Method": "quicksort", "Sort Space Used": 37, "Sort Space Type": "Memory", "Plans": [{"Node Type": "Gather", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 175404.2, "Total Cost": 175407.36, "Plan Rows": 30, "Plan Width": 236, "Actual Startup Time": 1766.448, "Actual Total Time": 1980.328, "Actual Rows": 24, "Actual Loops": 1, "Output": ["l_returnflag", "l_linestatus", "(PARTIAL sum(l_quantity))", "(PARTIAL sum(l_extendedprice))", "(PARTIAL sum((l_extendedprice * ('1'::numeric - l_discount))))", "(PARTIAL sum(((l_extendedprice * ('1'::numeric - l_discount)) * ('1'::numeric + l_tax))))", "(PARTIAL avg(l_quantity))", "(PARTIAL avg(l_extendedprice))", "(PARTIAL avg(l_discount))", "(PARTIAL count(*))"], "Workers Planned": 5, "Workers Launched": 5, "Single Copy": false, "Plans": [{"Node Type": "Aggregate", "Strategy": "Hashed", "Partial Mode": "Partial", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 174404.2, "Total Cost": 174404.36, "Plan Rows": 6, "Plan Width": 236, "Actual Startup Time": 1762.213, "Actual Total Time": 1762.227, "Actual Rows": 4, "Actual Loops": 6, "Output": ["l_returnflag", "l_linestatus", "PARTIAL sum(l_quantity)", "PARTIAL sum(l_extendedprice)", "PARTIAL sum((l_extendedprice * ('1'::numeric - l_discount)))", "PARTIAL sum(((l_extendedprice * ('1'::numeric - l_discount)) * ('1'::numeric + l_tax)))", "PARTIAL avg(l_quantity)", "PARTIAL avg(l_extendedprice)", "PARTIAL avg(l_discount)", "PARTIAL count(*)"], "Group Key": ["lineitem.l_returnflag", "lineitem.l_linestatus"], "Workers": [{"Worker Number": 0, "Actual Startup Time": 1761.493, "Actual Total Time": 1761.507, "Actual Rows": 4, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 1761.406, "Actual Total Time": 1761.42, "Actual Rows": 4, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 1761.41, "Actual Total Time": 1761.424, "Actual Rows": 4, "Actual Loops": 1}, {"Worker Number": 3, "Actual Startup Time": 1761.423, "Actual Total Time": 1761.436, "Actual Rows": 4, "Actual Loops": 1}, {"Worker Number": 4, "Actual Startup Time": 1761.526, "Actual Total Time": 1761.54, "Actual Rows": 4, "Actual Loops": 1}], "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": true, "Relation Name": "lineitem", "Schema": "public", "Alias": "lineitem", "Startup Cost": 0.0, "Total Cost": 127506.04, "Plan Rows": 1172454, "Plan Width": 25, "Actual Startup Time": 0.033, "Actual Total Time": 330.016, "Actual Rows": 976793, "Actual Loops": 6, "Output": ["l_returnflag", "l_linestatus", "l_quantity", "l_extendedprice", "l_discount", "l_tax"], "Filter": "(lineitem.l_shipdate <= '1998-08-07 23:59:57'::timestamp without time zone)", "Rows Removed by Filter": 23410, "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.039, "Actual Total Time": 338.534, "Actual Rows": 969371, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 0.04, "Actual Total Time": 337.402, "Actual Rows": 974411, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 0.039, "Actual Total Time": 338.703, "Actual Rows": 973584, "Actual Loops": 1}, {"Worker Number": 3, "Actual Startup Time": 0.037, "Actual Total Time": 340.346, "Actual Rows": 973482, "Actual Loops": 1}, {"Worker Number": 4, "Actual Startup Time": 0.036, "Actual Total Time": 346.586, "Actual Rows": 968562, "Actual Loops": 1}]}]}]}]}]}, "Planning Time": 0.489, "Triggers": [], "Execution Time": 1980.648} diff --git a/dev9/pg10/tpch/sf_1/explain_analyze/15721/10-1.ok b/dev9/pg10/tpch/sf_1/explain_analyze/15721/10-1.ok new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/dev9/pg10/tpch/sf_1/explain_analyze/15721/10-1.res b/dev9/pg10/tpch/sf_1/explain_analyze/15721/10-1.res new file mode 100644 index 0000000000000000000000000000000000000000..f41939fedcc8de98c1be621ffc9773e0fc9f3dce --- /dev/null +++ b/dev9/pg10/tpch/sf_1/explain_analyze/15721/10-1.res @@ -0,0 +1 @@ +{"Plan": {"Node Type": "Limit", "Parallel Aware": false, "Startup Cost": 76331.48, "Total Cost": 76331.53, "Plan Rows": 20, "Plan Width": 202, "Actual Startup Time": 340.577, "Actual Total Time": 341.541, "Actual Rows": 20, "Actual Loops": 1, "Output": ["customer.c_custkey", "customer.c_name", "(sum((lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount))))", "customer.c_acctbal", "nation.n_name", "customer.c_address", "customer.c_phone", "customer.c_comment"], "Plans": [{"Node Type": "Sort", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 76331.48, "Total Cost": 76466.0, "Plan Rows": 53809, "Plan Width": 202, "Actual Startup Time": 340.575, "Actual Total Time": 341.537, "Actual Rows": 20, "Actual Loops": 1, "Output": ["customer.c_custkey", "customer.c_name", "(sum((lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount))))", "customer.c_acctbal", "nation.n_name", "customer.c_address", "customer.c_phone", "customer.c_comment"], "Sort Key": ["(sum((lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount)))) DESC"], "Sort Method": "top-N heapsort", "Sort Space Used": 34, "Sort Space Type": "Memory", "Plans": [{"Node Type": "Aggregate", "Strategy": "Hashed", "Partial Mode": "Simple", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 74227.03, "Total Cost": 74899.64, "Plan Rows": 53809, "Plan Width": 202, "Actual Startup Time": 298.58, "Actual Total Time": 327.802, "Actual Rows": 37047, "Actual Loops": 1, "Output": ["customer.c_custkey", "customer.c_name", "sum((lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount)))", "customer.c_acctbal", "nation.n_name", "customer.c_address", "customer.c_phone", "customer.c_comment"], "Group Key": ["customer.c_custkey", "nation.n_name"], "Plans": [{"Node Type": "Gather", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 1730.03, "Total Cost": 73554.42, "Plan Rows": 53809, "Plan Width": 182, "Actual Startup Time": 16.944, "Actual Total Time": 205.128, "Actual Rows": 110515, "Actual Loops": 1, "Output": ["customer.c_custkey", "nation.n_name", "customer.c_name", "lineitem.l_extendedprice", "lineitem.l_discount", "customer.c_acctbal", "customer.c_address", "customer.c_phone", "customer.c_comment"], "Workers Planned": 3, "Workers Launched": 3, "Single Copy": false, "Plans": [{"Node Type": "Hash Join", "Parent Relationship": "Outer", "Parallel Aware": false, "Join Type": "Inner", "Startup Cost": 730.03, "Total Cost": 67173.52, "Plan Rows": 17358, "Plan Width": 182, "Actual Startup Time": 13.911, "Actual Total Time": 247.662, "Actual Rows": 27629, "Actual Loops": 4, "Output": ["customer.c_custkey", "nation.n_name", "customer.c_name", "lineitem.l_extendedprice", "lineitem.l_discount", "customer.c_acctbal", "customer.c_address", "customer.c_phone", "customer.c_comment"], "Inner Unique": true, "Hash Cond": "(customer.c_nationkey = nation.n_nationkey)", "Workers": [{"Worker Number": 0, "Actual Startup Time": 13.06, "Actual Total Time": 277.885, "Actual Rows": 30360, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 13.059, "Actual Total Time": 277.97, "Actual Rows": 30370, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 13.081, "Actual Total Time": 278.187, "Actual Rows": 30422, "Actual Loops": 1}], "Plans": [{"Node Type": "Nested Loop", "Parent Relationship": "Outer", "Parallel Aware": false, "Join Type": "Inner", "Startup Cost": 728.46, "Total Cost": 67118.67, "Plan Rows": 17358, "Plan Width": 160, "Actual Startup Time": 13.765, "Actual Total Time": 239.281, "Actual Rows": 27629, "Actual Loops": 4, "Output": ["customer.c_custkey", "customer.c_name", "customer.c_acctbal", "customer.c_address", "customer.c_phone", "customer.c_comment", "customer.c_nationkey", "lineitem.l_extendedprice", "lineitem.l_discount"], "Inner Unique": true, "Workers": [{"Worker Number": 0, "Actual Startup Time": 12.876, "Actual Total Time": 268.665, "Actual Rows": 30360, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 12.879, "Actual Total Time": 268.765, "Actual Rows": 30370, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 12.887, "Actual Total Time": 268.915, "Actual Rows": 30422, "Actual Loops": 1}], "Plans": [{"Node Type": "Nested Loop", "Parent Relationship": "Outer", "Parallel Aware": false, "Join Type": "Inner", "Startup Cost": 728.04, "Total Cost": 58129.66, "Plan Rows": 17358, "Plan Width": 16, "Actual Startup Time": 13.709, "Actual Total Time": 152.882, "Actual Rows": 27629, "Actual Loops": 4, "Output": ["orders.o_custkey", "lineitem.l_extendedprice", "lineitem.l_discount"], "Inner Unique": false, "Workers": [{"Worker Number": 0, "Actual Startup Time": 12.802, "Actual Total Time": 173.662, "Actual Rows": 30360, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 12.811, "Actual Total Time": 174.049, "Actual Rows": 30370, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 12.818, "Actual Total Time": 174.256, "Actual Rows": 30422, "Actual Loops": 1}], "Plans": [{"Node Type": "Bitmap Heap Scan", "Parent Relationship": "Outer", "Parallel Aware": true, "Relation Name": "orders", "Schema": "public", "Alias": "orders", "Startup Cost": 727.61, "Total Cost": 27087.48, "Plan Rows": 17658, "Plan Width": 8, "Actual Startup Time": 13.629, "Actual Total Time": 40.25, "Actual Rows": 13816, "Actual Loops": 4, "Output": ["orders.o_orderkey", "orders.o_custkey", "orders.o_orderstatus", "orders.o_totalprice", "orders.o_orderdate", "orders.o_orderpriority", "orders.o_clerk", "orders.o_shippriority", "orders.o_comment"], "Recheck Cond": "((orders.o_orderdate >= '1993-02-01'::date) AND (orders.o_orderdate < '1993-05-01 00:00:00'::timestamp without time zone))", "Rows Removed by Index Recheck": 0, "Exact Heap Blocks": 4051, "Lossy Heap Blocks": 0, "Workers": [{"Worker Number": 0, "Actual Startup Time": 12.705, "Actual Total Time": 43.819, "Actual Rows": 15228, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 12.708, "Actual Total Time": 44.203, "Actual Rows": 15116, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 12.72, "Actual Total Time": 44.031, "Actual Rows": 15273, "Actual Loops": 1}], "Plans": [{"Node Type": "Bitmap Index Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Index Name": "o_od", "Startup Cost": 0.0, "Total Cost": 713.93, "Plan Rows": 54740, "Plan Width": 0, "Actual Startup Time": 10.244, "Actual Total Time": 10.245, "Actual Rows": 55266, "Actual Loops": 1, "Index Cond": "((orders.o_orderdate >= '1993-02-01'::date) AND (orders.o_orderdate < '1993-05-01 00:00:00'::timestamp without time zone))"}]}, {"Node Type": "Index Scan", "Parent Relationship": "Inner", "Parallel Aware": false, "Scan Direction": "Forward", "Index Name": "l_ok", "Relation Name": "lineitem", "Schema": "public", "Alias": "lineitem", "Startup Cost": 0.43, "Total Cost": 1.75, "Plan Rows": 1, "Plan Width": 16, "Actual Startup Time": 0.006, "Actual Total Time": 0.008, "Actual Rows": 2, "Actual Loops": 55266, "Output": ["lineitem.l_orderkey", "lineitem.l_partkey", "lineitem.l_suppkey", "lineitem.l_linenumber", "lineitem.l_quantity", "lineitem.l_extendedprice", "lineitem.l_discount", "lineitem.l_tax", "lineitem.l_returnflag", "lineitem.l_linestatus", "lineitem.l_shipdate", "lineitem.l_commitdate", "lineitem.l_receiptdate", "lineitem.l_shipinstruct", "lineitem.l_shipmode", "lineitem.l_comment"], "Index Cond": "(lineitem.l_orderkey = orders.o_orderkey)", "Rows Removed by Index Recheck": 0, "Filter": "(lineitem.l_returnflag = 'R'::bpchar)", "Rows Removed by Filter": 2, "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.007, "Actual Total Time": 0.008, "Actual Rows": 2, "Actual Loops": 15228}, {"Worker Number": 1, "Actual Startup Time": 0.007, "Actual Total Time": 0.008, "Actual Rows": 2, "Actual Loops": 15116}, {"Worker Number": 2, "Actual Startup Time": 0.007, "Actual Total Time": 0.008, "Actual Rows": 2, "Actual Loops": 15273}]}]}, {"Node Type": "Index Scan", "Parent Relationship": "Inner", "Parallel Aware": false, "Scan Direction": "Forward", "Index Name": "c_ck", "Relation Name": "customer", "Schema": "public", "Alias": "customer", "Startup Cost": 0.42, "Total Cost": 0.52, "Plan Rows": 1, "Plan Width": 148, "Actual Startup Time": 0.003, "Actual Total Time": 0.003, "Actual Rows": 1, "Actual Loops": 110515, "Output": ["customer.c_custkey", "customer.c_name", "customer.c_address", "customer.c_nationkey", "customer.c_phone", "customer.c_acctbal", "customer.c_mktsegment", "customer.c_comment"], "Index Cond": "(customer.c_custkey = orders.o_custkey)", "Rows Removed by Index Recheck": 0, "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.003, "Actual Total Time": 0.003, "Actual Rows": 1, "Actual Loops": 30360}, {"Worker Number": 1, "Actual Startup Time": 0.003, "Actual Total Time": 0.003, "Actual Rows": 1, "Actual Loops": 30370}, {"Worker Number": 2, "Actual Startup Time": 0.003, "Actual Total Time": 0.003, "Actual Rows": 1, "Actual Loops": 30422}]}]}, {"Node Type": "Hash", "Parent Relationship": "Inner", "Parallel Aware": false, "Startup Cost": 1.25, "Total Cost": 1.25, "Plan Rows": 25, "Plan Width": 30, "Actual Startup Time": 0.031, "Actual Total Time": 0.032, "Actual Rows": 25, "Actual Loops": 4, "Output": ["nation.n_name", "nation.n_nationkey"], "Hash Buckets": 1024, "Original Hash Buckets": 1024, "Hash Batches": 1, "Original Hash Batches": 1, "Peak Memory Usage": 10, "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.036, "Actual Total Time": 0.036, "Actual Rows": 25, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 0.034, "Actual Total Time": 0.035, "Actual Rows": 25, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 0.037, "Actual Total Time": 0.038, "Actual Rows": 25, "Actual Loops": 1}], "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Relation Name": "nation", "Schema": "public", "Alias": "nation", "Startup Cost": 0.0, "Total Cost": 1.25, "Plan Rows": 25, "Plan Width": 30, "Actual Startup Time": 0.018, "Actual Total Time": 0.022, "Actual Rows": 25, "Actual Loops": 4, "Output": ["nation.n_name", "nation.n_nationkey"], "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.022, "Actual Total Time": 0.026, "Actual Rows": 25, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 0.021, "Actual Total Time": 0.024, "Actual Rows": 25, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 0.023, "Actual Total Time": 0.027, "Actual Rows": 25, "Actual Loops": 1}]}]}]}]}]}]}]}, "Planning Time": 1.148, "Triggers": [], "Execution Time": 341.855} diff --git a/dev9/pg10/tpch/sf_1/explain_analyze/15721/11-1.ok b/dev9/pg10/tpch/sf_1/explain_analyze/15721/11-1.ok new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/dev9/pg10/tpch/sf_1/explain_analyze/15721/11-1.res b/dev9/pg10/tpch/sf_1/explain_analyze/15721/11-1.res new file mode 100644 index 0000000000000000000000000000000000000000..1c08328bb2d1e2794074d816c594c6f9e38dedaa --- /dev/null +++ b/dev9/pg10/tpch/sf_1/explain_analyze/15721/11-1.res @@ -0,0 +1 @@ +{"Plan": {"Node Type": "Sort", "Parallel Aware": false, "Startup Cost": 7958.31, "Total Cost": 8038.31, "Plan Rows": 32000, "Plan Width": 36, "Actual Startup Time": 113.772, "Actual Total Time": 113.835, "Actual Rows": 869, "Actual Loops": 1, "Output": ["partsupp.ps_partkey", "(sum((partsupp.ps_supplycost * (partsupp.ps_availqty)::numeric)))"], "Sort Key": ["(sum((partsupp.ps_supplycost * (partsupp.ps_availqty)::numeric))) DESC"], "Sort Method": "quicksort", "Sort Space Used": 65, "Sort Space Type": "Memory", "Plans": [{"Node Type": "Aggregate", "Strategy": "Plain", "Partial Mode": "Simple", "Parent Relationship": "InitPlan", "Subplan Name": "InitPlan 1 (returns $2)", "Parallel Aware": false, "Startup Cost": 2381.89, "Total Cost": 2381.9, "Plan Rows": 1, "Plan Width": 32, "Actual Startup Time": 39.655, "Actual Total Time": 39.657, "Actual Rows": 1, "Actual Loops": 1, "Output": ["(sum((partsupp_1.ps_supplycost * (partsupp_1.ps_availqty)::numeric)) * 0.0001000000)"], "Plans": [{"Node Type": "Nested Loop", "Parent Relationship": "Outer", "Parallel Aware": false, "Join Type": "Inner", "Startup Cost": 6.01, "Total Cost": 2141.88, "Plan Rows": 32000, "Plan Width": 10, "Actual Startup Time": 0.083, "Actual Total Time": 27.714, "Actual Rows": 32560, "Actual Loops": 1, "Output": ["partsupp_1.ps_supplycost", "partsupp_1.ps_availqty"], "Inner Unique": false, "Plans": [{"Node Type": "Nested Loop", "Parent Relationship": "Outer", "Parallel Aware": false, "Join Type": "Inner", "Startup Cost": 5.58, "Total Cost": 227.43, "Plan Rows": 400, "Plan Width": 4, "Actual Startup Time": 0.073, "Actual Total Time": 0.411, "Actual Rows": 407, "Actual Loops": 1, "Output": ["supplier_1.s_suppkey"], "Inner Unique": false, "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Relation Name": "nation", "Schema": "public", "Alias": "nation_1", "Startup Cost": 0.0, "Total Cost": 1.31, "Plan Rows": 1, "Plan Width": 4, "Actual Startup Time": 0.008, "Actual Total Time": 0.01, "Actual Rows": 1, "Actual Loops": 1, "Output": ["nation_1.n_nationkey", "nation_1.n_name", "nation_1.n_regionkey", "nation_1.n_comment"], "Filter": "(nation_1.n_name = 'CHINA'::bpchar)", "Rows Removed by Filter": 24}, {"Node Type": "Bitmap Heap Scan", "Parent Relationship": "Inner", "Parallel Aware": false, "Relation Name": "supplier", "Schema": "public", "Alias": "supplier_1", "Startup Cost": 5.58, "Total Cost": 222.11, "Plan Rows": 400, "Plan Width": 8, "Actual Startup Time": 0.063, "Actual Total Time": 0.336, "Actual Rows": 407, "Actual Loops": 1, "Output": ["supplier_1.s_suppkey", "supplier_1.s_name", "supplier_1.s_address", "supplier_1.s_nationkey", "supplier_1.s_phone", "supplier_1.s_acctbal", "supplier_1.s_comment"], "Recheck Cond": "(supplier_1.s_nationkey = nation_1.n_nationkey)", "Rows Removed by Index Recheck": 0, "Exact Heap Blocks": 186, "Lossy Heap Blocks": 0, "Plans": [{"Node Type": "Bitmap Index Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Index Name": "s_nk", "Startup Cost": 0.0, "Total Cost": 5.49, "Plan Rows": 400, "Plan Width": 0, "Actual Startup Time": 0.037, "Actual Total Time": 0.037, "Actual Rows": 407, "Actual Loops": 1, "Index Cond": "(supplier_1.s_nationkey = nation_1.n_nationkey)"}]}]}, {"Node Type": "Index Scan", "Parent Relationship": "Inner", "Parallel Aware": false, "Scan Direction": "Forward", "Index Name": "ps_sk", "Relation Name": "partsupp", "Schema": "public", "Alias": "partsupp_1", "Startup Cost": 0.42, "Total Cost": 3.99, "Plan Rows": 80, "Plan Width": 14, "Actual Startup Time": 0.005, "Actual Total Time": 0.055, "Actual Rows": 80, "Actual Loops": 407, "Output": ["partsupp_1.ps_partkey", "partsupp_1.ps_suppkey", "partsupp_1.ps_availqty", "partsupp_1.ps_supplycost", "partsupp_1.ps_comment"], "Index Cond": "(partsupp_1.ps_suppkey = supplier_1.s_suppkey)", "Rows Removed by Index Recheck": 0}]}]}, {"Node Type": "Aggregate", "Strategy": "Hashed", "Partial Mode": "Simple", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 2701.88, "Total Cost": 3181.88, "Plan Rows": 32000, "Plan Width": 36, "Actual Startup Time": 97.521, "Actual Total Time": 113.421, "Actual Rows": 869, "Actual Loops": 1, "Output": ["partsupp.ps_partkey", "sum((partsupp.ps_supplycost * (partsupp.ps_availqty)::numeric))"], "Group Key": ["partsupp.ps_partkey"], "Filter": "(sum((partsupp.ps_supplycost * (partsupp.ps_availqty)::numeric)) > $2)", "Rows Removed by Filter": 29770, "Plans": [{"Node Type": "Nested Loop", "Parent Relationship": "Outer", "Parallel Aware": false, "Join Type": "Inner", "Startup Cost": 6.01, "Total Cost": 2141.88, "Plan Rows": 32000, "Plan Width": 14, "Actual Startup Time": 0.092, "Actual Total Time": 36.713, "Actual Rows": 32560, "Actual Loops": 1, "Output": ["partsupp.ps_partkey", "partsupp.ps_supplycost", "partsupp.ps_availqty"], "Inner Unique": false, "Plans": [{"Node Type": "Nested Loop", "Parent Relationship": "Outer", "Parallel Aware": false, "Join Type": "Inner", "Startup Cost": 5.58, "Total Cost": 227.43, "Plan Rows": 400, "Plan Width": 4, "Actual Startup Time": 0.08, "Actual Total Time": 0.551, "Actual Rows": 407, "Actual Loops": 1, "Output": ["supplier.s_suppkey"], "Inner Unique": false, "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Relation Name": "nation", "Schema": "public", "Alias": "nation", "Startup Cost": 0.0, "Total Cost": 1.31, "Plan Rows": 1, "Plan Width": 4, "Actual Startup Time": 0.009, "Actual Total Time": 0.012, "Actual Rows": 1, "Actual Loops": 1, "Output": ["nation.n_nationkey", "nation.n_name", "nation.n_regionkey", "nation.n_comment"], "Filter": "(nation.n_name = 'CHINA'::bpchar)", "Rows Removed by Filter": 24}, {"Node Type": "Bitmap Heap Scan", "Parent Relationship": "Inner", "Parallel Aware": false, "Relation Name": "supplier", "Schema": "public", "Alias": "supplier", "Startup Cost": 5.58, "Total Cost": 222.11, "Plan Rows": 400, "Plan Width": 8, "Actual Startup Time": 0.069, "Actual Total Time": 0.469, "Actual Rows": 407, "Actual Loops": 1, "Output": ["supplier.s_suppkey", "supplier.s_name", "supplier.s_address", "supplier.s_nationkey", "supplier.s_phone", "supplier.s_acctbal", "supplier.s_comment"], "Recheck Cond": "(supplier.s_nationkey = nation.n_nationkey)", "Rows Removed by Index Recheck": 0, "Exact Heap Blocks": 186, "Lossy Heap Blocks": 0, "Plans": [{"Node Type": "Bitmap Index Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Index Name": "s_nk", "Startup Cost": 0.0, "Total Cost": 5.49, "Plan Rows": 400, "Plan Width": 0, "Actual Startup Time": 0.04, "Actual Total Time": 0.041, "Actual Rows": 407, "Actual Loops": 1, "Index Cond": "(supplier.s_nationkey = nation.n_nationkey)"}]}]}, {"Node Type": "Index Scan", "Parent Relationship": "Inner", "Parallel Aware": false, "Scan Direction": "Forward", "Index Name": "ps_sk", "Relation Name": "partsupp", "Schema": "public", "Alias": "partsupp", "Startup Cost": 0.42, "Total Cost": 3.99, "Plan Rows": 80, "Plan Width": 18, "Actual Startup Time": 0.005, "Actual Total Time": 0.076, "Actual Rows": 80, "Actual Loops": 407, "Output": ["partsupp.ps_partkey", "partsupp.ps_suppkey", "partsupp.ps_availqty", "partsupp.ps_supplycost", "partsupp.ps_comment"], "Index Cond": "(partsupp.ps_suppkey = supplier.s_suppkey)", "Rows Removed by Index Recheck": 0}]}]}]}, "Planning Time": 1.044, "Triggers": [], "Execution Time": 114.146} diff --git a/dev9/pg10/tpch/sf_1/explain_analyze/15721/12-1.ok b/dev9/pg10/tpch/sf_1/explain_analyze/15721/12-1.ok new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/dev9/pg10/tpch/sf_1/explain_analyze/15721/12-1.res b/dev9/pg10/tpch/sf_1/explain_analyze/15721/12-1.res new file mode 100644 index 0000000000000000000000000000000000000000..74e8f23562618067287fa5997a2aeefcdd7f6fbb --- /dev/null +++ b/dev9/pg10/tpch/sf_1/explain_analyze/15721/12-1.res @@ -0,0 +1 @@ +{"Plan": {"Node Type": "Aggregate", "Strategy": "Sorted", "Partial Mode": "Finalize", "Parallel Aware": false, "Startup Cost": 137512.98, "Total Cost": 137633.96, "Plan Rows": 7, "Plan Width": 27, "Actual Startup Time": 372.473, "Actual Total Time": 407.57, "Actual Rows": 2, "Actual Loops": 1, "Output": ["lineitem.l_shipmode", "sum(CASE WHEN ((orders.o_orderpriority = '1-URGENT'::bpchar) OR (orders.o_orderpriority = '2-HIGH'::bpchar)) THEN 1 ELSE 0 END)", "sum(CASE WHEN ((orders.o_orderpriority <> '1-URGENT'::bpchar) AND (orders.o_orderpriority <> '2-HIGH'::bpchar)) THEN 1 ELSE 0 END)"], "Group Key": ["lineitem.l_shipmode"], "Plans": [{"Node Type": "Gather Merge", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 137512.98, "Total Cost": 137633.63, "Plan Rows": 35, "Plan Width": 27, "Actual Startup Time": 370.971, "Actual Total Time": 407.562, "Actual Rows": 12, "Actual Loops": 1, "Output": ["lineitem.l_shipmode", "(PARTIAL sum(CASE WHEN ((orders.o_orderpriority = '1-URGENT'::bpchar) OR (orders.o_orderpriority = '2-HIGH'::bpchar)) THEN 1 ELSE 0 END))", "(PARTIAL sum(CASE WHEN ((orders.o_orderpriority <> '1-URGENT'::bpchar) AND (orders.o_orderpriority <> '2-HIGH'::bpchar)) THEN 1 ELSE 0 END))"], "Workers Planned": 5, "Workers Launched": 5, "Plans": [{"Node Type": "Aggregate", "Strategy": "Sorted", "Partial Mode": "Partial", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 136512.9, "Total Cost": 136629.33, "Plan Rows": 7, "Plan Width": 27, "Actual Startup Time": 366.315, "Actual Total Time": 367.331, "Actual Rows": 2, "Actual Loops": 6, "Output": ["lineitem.l_shipmode", "PARTIAL sum(CASE WHEN ((orders.o_orderpriority = '1-URGENT'::bpchar) OR (orders.o_orderpriority = '2-HIGH'::bpchar)) THEN 1 ELSE 0 END)", "PARTIAL sum(CASE WHEN ((orders.o_orderpriority <> '1-URGENT'::bpchar) AND (orders.o_orderpriority <> '2-HIGH'::bpchar)) THEN 1 ELSE 0 END)"], "Group Key": ["lineitem.l_shipmode"], "Workers": [{"Worker Number": 0, "Actual Startup Time": 365.47, "Actual Total Time": 366.4, "Actual Rows": 2, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 365.523, "Actual Total Time": 366.472, "Actual Rows": 2, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 365.524, "Actual Total Time": 366.413, "Actual Rows": 2, "Actual Loops": 1}, {"Worker Number": 3, "Actual Startup Time": 365.502, "Actual Total Time": 366.404, "Actual Rows": 2, "Actual Loops": 1}, {"Worker Number": 4, "Actual Startup Time": 365.445, "Actual Total Time": 366.378, "Actual Rows": 2, "Actual Loops": 1}], "Plans": [{"Node Type": "Sort", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 136512.9, "Total Cost": 136527.45, "Plan Rows": 5818, "Plan Width": 27, "Actual Startup Time": 365.321, "Actual Total Time": 365.624, "Actual Rows": 5187, "Actual Loops": 6, "Output": ["lineitem.l_shipmode", "orders.o_orderpriority"], "Sort Key": ["lineitem.l_shipmode"], "Sort Method": "quicksort", "Sort Space Used": 777, "Sort Space Type": "Memory", "Workers": [{"Worker Number": 0, "Actual Startup Time": 364.571, "Actual Total Time": 364.856, "Actual Rows": 4725, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 364.589, "Actual Total Time": 364.872, "Actual Rows": 4828, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 364.603, "Actual Total Time": 364.876, "Actual Rows": 4700, "Actual Loops": 1}, {"Worker Number": 3, "Actual Startup Time": 364.601, "Actual Total Time": 364.869, "Actual Rows": 4679, "Actual Loops": 1}, {"Worker Number": 4, "Actual Startup Time": 364.561, "Actual Total Time": 364.828, "Actual Rows": 4705, "Actual Loops": 1}], "Plans": [{"Node Type": "Nested Loop", "Parent Relationship": "Outer", "Parallel Aware": false, "Join Type": "Inner", "Startup Cost": 11923.51, "Total Cost": 136149.1, "Plan Rows": 5818, "Plan Width": 27, "Actual Startup Time": 173.17, "Actual Total Time": 363.382, "Actual Rows": 5187, "Actual Loops": 6, "Output": ["lineitem.l_shipmode", "orders.o_orderpriority"], "Inner Unique": true, "Workers": [{"Worker Number": 0, "Actual Startup Time": 173.149, "Actual Total Time": 362.72, "Actual Rows": 4725, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 173.24, "Actual Total Time": 362.671, "Actual Rows": 4828, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 173.171, "Actual Total Time": 362.727, "Actual Rows": 4700, "Actual Loops": 1}, {"Worker Number": 3, "Actual Startup Time": 173.247, "Actual Total Time": 362.756, "Actual Rows": 4679, "Actual Loops": 1}, {"Worker Number": 4, "Actual Startup Time": 173.155, "Actual Total Time": 362.729, "Actual Rows": 4705, "Actual Loops": 1}], "Plans": [{"Node Type": "Bitmap Heap Scan", "Parent Relationship": "Outer", "Parallel Aware": true, "Relation Name": "lineitem", "Schema": "public", "Alias": "lineitem", "Startup Cost": 11923.08, "Total Cost": 128545.06, "Plan Rows": 5818, "Plan Width": 15, "Actual Startup Time": 173.113, "Actual Total Time": 329.618, "Actual Rows": 5187, "Actual Loops": 6, "Output": ["lineitem.l_orderkey", "lineitem.l_partkey", "lineitem.l_suppkey", "lineitem.l_linenumber", "lineitem.l_quantity", "lineitem.l_extendedprice", "lineitem.l_discount", "lineitem.l_tax", "lineitem.l_returnflag", "lineitem.l_linestatus", "lineitem.l_shipdate", "lineitem.l_commitdate", "lineitem.l_receiptdate", "lineitem.l_shipinstruct", "lineitem.l_shipmode", "lineitem.l_comment"], "Recheck Cond": "((lineitem.l_receiptdate >= '1995-01-01'::date) AND (lineitem.l_receiptdate < '1996-01-01 00:00:00'::timestamp without time zone))", "Rows Removed by Index Recheck": 0, "Filter": "((lineitem.l_shipmode = ANY ('{MAIL,TRUCK}'::bpchar[])) AND (lineitem.l_commitdate < lineitem.l_receiptdate) AND (lineitem.l_shipdate < lineitem.l_commitdate))", "Rows Removed by Filter": 147278, "Exact Heap Blocks": 25313, "Lossy Heap Blocks": 0, "Workers": [{"Worker Number": 0, "Actual Startup Time": 173.093, "Actual Total Time": 328.416, "Actual Rows": 4725, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 173.169, "Actual Total Time": 328.365, "Actual Rows": 4828, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 173.114, "Actual Total Time": 328.373, "Actual Rows": 4700, "Actual Loops": 1}, {"Worker Number": 3, "Actual Startup Time": 173.182, "Actual Total Time": 328.556, "Actual Rows": 4679, "Actual Loops": 1}, {"Worker Number": 4, "Actual Startup Time": 173.083, "Actual Total Time": 328.89, "Actual Rows": 4705, "Actual Loops": 1}], "Plans": [{"Node Type": "Bitmap Index Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Index Name": "l_rd", "Startup Cost": 0.0, "Total Cost": 11915.81, "Plan Rows": 915328, "Plan Width": 0, "Actual Startup Time": 135.261, "Actual Total Time": 135.261, "Actual Rows": 914792, "Actual Loops": 1, "Index Cond": "((lineitem.l_receiptdate >= '1995-01-01'::date) AND (lineitem.l_receiptdate < '1996-01-01 00:00:00'::timestamp without time zone))"}]}, {"Node Type": "Index Scan", "Parent Relationship": "Inner", "Parallel Aware": false, "Scan Direction": "Forward", "Index Name": "o_ok", "Relation Name": "orders", "Schema": "public", "Alias": "orders", "Startup Cost": 0.43, "Total Cost": 1.31, "Plan Rows": 1, "Plan Width": 20, "Actual Startup Time": 0.006, "Actual Total Time": 0.006, "Actual Rows": 1, "Actual Loops": 31122, "Output": ["orders.o_orderkey", "orders.o_custkey", "orders.o_orderstatus", "orders.o_totalprice", "orders.o_orderdate", "orders.o_orderpriority", "orders.o_clerk", "orders.o_shippriority", "orders.o_comment"], "Index Cond": "(orders.o_orderkey = lineitem.l_orderkey)", "Rows Removed by Index Recheck": 0, "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.007, "Actual Total Time": 0.007, "Actual Rows": 1, "Actual Loops": 4725}, {"Worker Number": 1, "Actual Startup Time": 0.007, "Actual Total Time": 0.007, "Actual Rows": 1, "Actual Loops": 4828}, {"Worker Number": 2, "Actual Startup Time": 0.007, "Actual Total Time": 0.007, "Actual Rows": 1, "Actual Loops": 4700}, {"Worker Number": 3, "Actual Startup Time": 0.007, "Actual Total Time": 0.007, "Actual Rows": 1, "Actual Loops": 4679}, {"Worker Number": 4, "Actual Startup Time": 0.007, "Actual Total Time": 0.007, "Actual Rows": 1, "Actual Loops": 4705}]}]}]}]}]}]}, "Planning Time": 0.453, "Triggers": [], "Execution Time": 407.644} diff --git a/dev9/pg10/tpch/sf_1/explain_analyze/15721/13-1.ok b/dev9/pg10/tpch/sf_1/explain_analyze/15721/13-1.ok new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/dev9/pg10/tpch/sf_1/explain_analyze/15721/13-1.res b/dev9/pg10/tpch/sf_1/explain_analyze/15721/13-1.res new file mode 100644 index 0000000000000000000000000000000000000000..b371e43f4cb22773c4b49e8408c07ddafd7b559f --- /dev/null +++ b/dev9/pg10/tpch/sf_1/explain_analyze/15721/13-1.res @@ -0,0 +1 @@ +{"Plan": {"Node Type": "Sort", "Parallel Aware": false, "Startup Cost": 64508.85, "Total Cost": 64509.35, "Plan Rows": 200, "Plan Width": 16, "Actual Startup Time": 1910.132, "Actual Total Time": 1910.137, "Actual Rows": 42, "Actual Loops": 1, "Output": ["(count(orders.o_orderkey))", "(count(*))"], "Sort Key": ["(count(*)) DESC", "(count(orders.o_orderkey)) DESC"], "Sort Method": "quicksort", "Sort Space Used": 26, "Sort Space Type": "Memory", "Plans": [{"Node Type": "Aggregate", "Strategy": "Hashed", "Partial Mode": "Simple", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 64499.21, "Total Cost": 64501.21, "Plan Rows": 200, "Plan Width": 16, "Actual Startup Time": 1910.093, "Actual Total Time": 1910.103, "Actual Rows": 42, "Actual Loops": 1, "Output": ["(count(orders.o_orderkey))", "count(*)"], "Group Key": ["count(orders.o_orderkey)"], "Plans": [{"Node Type": "Aggregate", "Strategy": "Hashed", "Partial Mode": "Simple", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 60749.21, "Total Cost": 62249.21, "Plan Rows": 150000, "Plan Width": 12, "Actual Startup Time": 1847.72, "Actual Total Time": 1882.982, "Actual Rows": 150000, "Actual Loops": 1, "Output": ["customer.c_custkey", "count(orders.o_orderkey)"], "Group Key": ["customer.c_custkey"], "Plans": [{"Node Type": "Hash Join", "Parent Relationship": "Outer", "Parallel Aware": false, "Join Type": "Right", "Startup Cost": 4580.82, "Total Cost": 53324.11, "Plan Rows": 1485020, "Plan Width": 8, "Actual Startup Time": 41.92, "Actual Total Time": 1337.506, "Actual Rows": 1533817, "Actual Loops": 1, "Output": ["customer.c_custkey", "orders.o_orderkey"], "Inner Unique": true, "Hash Cond": "(orders.o_custkey = customer.c_custkey)", "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Relation Name": "orders", "Schema": "public", "Alias": "orders", "Startup Cost": 0.0, "Total Cost": 44845.0, "Plan Rows": 1485020, "Plan Width": 8, "Actual Startup Time": 0.01, "Actual Total Time": 729.855, "Actual Rows": 1483813, "Actual Loops": 1, "Output": ["orders.o_orderkey", "orders.o_custkey", "orders.o_orderstatus", "orders.o_totalprice", "orders.o_orderdate", "orders.o_orderpriority", "orders.o_clerk", "orders.o_shippriority", "orders.o_comment"], "Filter": "((orders.o_comment)::text !~~ '%unusual%requests%'::text)", "Rows Removed by Filter": 16187}, {"Node Type": "Hash", "Parent Relationship": "Inner", "Parallel Aware": false, "Startup Cost": 2705.82, "Total Cost": 2705.82, "Plan Rows": 150000, "Plan Width": 4, "Actual Startup Time": 41.606, "Actual Total Time": 41.606, "Actual Rows": 150000, "Actual Loops": 1, "Output": ["customer.c_custkey"], "Hash Buckets": 262144, "Original Hash Buckets": 262144, "Hash Batches": 1, "Original Hash Batches": 1, "Peak Memory Usage": 7322, "Plans": [{"Node Type": "Index Only Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Scan Direction": "Forward", "Index Name": "c_ck", "Relation Name": "customer", "Schema": "public", "Alias": "customer", "Startup Cost": 0.42, "Total Cost": 2705.82, "Plan Rows": 150000, "Plan Width": 4, "Actual Startup Time": 0.031, "Actual Total Time": 17.282, "Actual Rows": 150000, "Actual Loops": 1, "Output": ["customer.c_custkey"], "Heap Fetches": 0}]}]}]}]}]}, "Planning Time": 0.704, "Triggers": [], "Execution Time": 1911.129} diff --git a/dev9/pg10/tpch/sf_1/explain_analyze/15721/14-1.ok b/dev9/pg10/tpch/sf_1/explain_analyze/15721/14-1.ok new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/dev9/pg10/tpch/sf_1/explain_analyze/15721/14-1.res b/dev9/pg10/tpch/sf_1/explain_analyze/15721/14-1.res new file mode 100644 index 0000000000000000000000000000000000000000..7bfa4e5e826a390bcdcefb3ea2504ba68c0f6356 --- /dev/null +++ b/dev9/pg10/tpch/sf_1/explain_analyze/15721/14-1.res @@ -0,0 +1 @@ +{"Plan": {"Node Type": "Aggregate", "Strategy": "Plain", "Partial Mode": "Finalize", "Parallel Aware": false, "Startup Cost": 70767.02, "Total Cost": 70767.03, "Plan Rows": 1, "Plan Width": 32, "Actual Startup Time": 192.143, "Actual Total Time": 210.4, "Actual Rows": 1, "Actual Loops": 1, "Output": ["((100.00 * sum(CASE WHEN ((part.p_type)::text ~~ 'PROMO%'::text) THEN (lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount)) ELSE '0'::numeric END)) / sum((lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount))))"], "Plans": [{"Node Type": "Gather", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 70766.56, "Total Cost": 70766.97, "Plan Rows": 4, "Plan Width": 64, "Actual Startup Time": 189.816, "Actual Total Time": 210.381, "Actual Rows": 5, "Actual Loops": 1, "Output": ["(PARTIAL sum(CASE WHEN ((part.p_type)::text ~~ 'PROMO%'::text) THEN (lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount)) ELSE '0'::numeric END))", "(PARTIAL sum((lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount))))"], "Workers Planned": 4, "Workers Launched": 4, "Single Copy": false, "Plans": [{"Node Type": "Aggregate", "Strategy": "Plain", "Partial Mode": "Partial", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 69766.56, "Total Cost": 69766.57, "Plan Rows": 1, "Plan Width": 64, "Actual Startup Time": 185.749, "Actual Total Time": 185.751, "Actual Rows": 1, "Actual Loops": 5, "Output": ["PARTIAL sum(CASE WHEN ((part.p_type)::text ~~ 'PROMO%'::text) THEN (lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount)) ELSE '0'::numeric END)", "PARTIAL sum((lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount)))"], "Workers": [{"Worker Number": 0, "Actual Startup Time": 184.844, "Actual Total Time": 184.846, "Actual Rows": 1, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 184.841, "Actual Total Time": 184.843, "Actual Rows": 1, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 184.851, "Actual Total Time": 184.853, "Actual Rows": 1, "Actual Loops": 1}, {"Worker Number": 3, "Actual Startup Time": 184.854, "Actual Total Time": 184.856, "Actual Rows": 1, "Actual Loops": 1}], "Plans": [{"Node Type": "Hash Join", "Parent Relationship": "Outer", "Parallel Aware": false, "Join Type": "Inner", "Startup Cost": 9630.37, "Total Cost": 69426.15, "Plan Rows": 19452, "Plan Width": 33, "Actual Startup Time": 121.243, "Actual Total Time": 176.092, "Actual Rows": 15580, "Actual Loops": 5, "Output": ["part.p_type", "lineitem.l_extendedprice", "lineitem.l_discount"], "Inner Unique": true, "Hash Cond": "(lineitem.l_partkey = part.p_partkey)", "Workers": [{"Worker Number": 0, "Actual Startup Time": 123.638, "Actual Total Time": 177.171, "Actual Rows": 12190, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 123.638, "Actual Total Time": 177.233, "Actual Rows": 11979, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 123.64, "Actual Total Time": 177.241, "Actual Rows": 12045, "Actual Loops": 1}, {"Worker Number": 3, "Actual Startup Time": 123.649, "Actual Total Time": 177.291, "Actual Rows": 11936, "Actual Loops": 1}], "Plans": [{"Node Type": "Bitmap Heap Scan", "Parent Relationship": "Outer", "Parallel Aware": true, "Relation Name": "lineitem", "Schema": "public", "Alias": "lineitem", "Startup Cost": 1033.37, "Total Cost": 60778.09, "Plan Rows": 19452, "Plan Width": 16, "Actual Startup Time": 26.732, "Actual Total Time": 72.58, "Actual Rows": 15580, "Actual Loops": 5, "Output": ["lineitem.l_orderkey", "lineitem.l_partkey", "lineitem.l_suppkey", "lineitem.l_linenumber", "lineitem.l_quantity", "lineitem.l_extendedprice", "lineitem.l_discount", "lineitem.l_tax", "lineitem.l_returnflag", "lineitem.l_linestatus", "lineitem.l_shipdate", "lineitem.l_commitdate", "lineitem.l_receiptdate", "lineitem.l_shipinstruct", "lineitem.l_shipmode", "lineitem.l_comment"], "Recheck Cond": "((lineitem.l_shipdate >= '1995-05-01'::date) AND (lineitem.l_shipdate < '1995-06-01 00:00:00'::timestamp without time zone))", "Rows Removed by Index Recheck": 0, "Exact Heap Blocks": 16131, "Lossy Heap Blocks": 0, "Workers": [{"Worker Number": 0, "Actual Startup Time": 25.891, "Actual Total Time": 72.185, "Actual Rows": 12190, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 25.885, "Actual Total Time": 72.342, "Actual Rows": 11979, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 25.88, "Actual Total Time": 72.336, "Actual Rows": 12045, "Actual Loops": 1}, {"Worker Number": 3, "Actual Startup Time": 25.816, "Actual Total Time": 72.387, "Actual Rows": 11936, "Actual Loops": 1}], "Plans": [{"Node Type": "Bitmap Index Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Index Name": "l_sd", "Startup Cost": 0.0, "Total Cost": 1013.92, "Plan Rows": 77809, "Plan Width": 0, "Actual Startup Time": 17.701, "Actual Total Time": 17.702, "Actual Rows": 77900, "Actual Loops": 1, "Index Cond": "((lineitem.l_shipdate >= '1995-05-01'::date) AND (lineitem.l_shipdate < '1995-06-01 00:00:00'::timestamp without time zone))"}]}, {"Node Type": "Hash", "Parent Relationship": "Inner", "Parallel Aware": false, "Startup Cost": 6097.0, "Total Cost": 6097.0, "Plan Rows": 200000, "Plan Width": 25, "Actual Startup Time": 93.32, "Actual Total Time": 93.321, "Actual Rows": 200000, "Actual Loops": 5, "Output": ["part.p_type", "part.p_partkey"], "Hash Buckets": 262144, "Original Hash Buckets": 262144, "Hash Batches": 1, "Original Hash Batches": 1, "Peak Memory Usage": 13600, "Workers": [{"Worker Number": 0, "Actual Startup Time": 96.317, "Actual Total Time": 96.317, "Actual Rows": 200000, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 96.322, "Actual Total Time": 96.322, "Actual Rows": 200000, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 96.331, "Actual Total Time": 96.331, "Actual Rows": 200000, "Actual Loops": 1}, {"Worker Number": 3, "Actual Startup Time": 96.39, "Actual Total Time": 96.391, "Actual Rows": 200000, "Actual Loops": 1}], "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Relation Name": "part", "Schema": "public", "Alias": "part", "Startup Cost": 0.0, "Total Cost": 6097.0, "Plan Rows": 200000, "Plan Width": 25, "Actual Startup Time": 0.019, "Actual Total Time": 46.708, "Actual Rows": 200000, "Actual Loops": 5, "Output": ["part.p_type", "part.p_partkey"], "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.02, "Actual Total Time": 48.151, "Actual Rows": 200000, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 0.021, "Actual Total Time": 47.954, "Actual Rows": 200000, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 0.022, "Actual Total Time": 47.891, "Actual Rows": 200000, "Actual Loops": 1}, {"Worker Number": 3, "Actual Startup Time": 0.025, "Actual Total Time": 48.076, "Actual Rows": 200000, "Actual Loops": 1}]}]}]}]}]}]}, "Planning Time": 0.432, "Triggers": [], "Execution Time": 210.526} diff --git a/dev9/pg10/tpch/sf_1/explain_analyze/15721/15-1.ok b/dev9/pg10/tpch/sf_1/explain_analyze/15721/15-1.ok new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/dev9/pg10/tpch/sf_1/explain_analyze/15721/15-1.res b/dev9/pg10/tpch/sf_1/explain_analyze/15721/15-1.res new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/dev9/pg10/tpch/sf_1/explain_analyze/15721/15-2.ok b/dev9/pg10/tpch/sf_1/explain_analyze/15721/15-2.ok new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/dev9/pg10/tpch/sf_1/explain_analyze/15721/15-2.res b/dev9/pg10/tpch/sf_1/explain_analyze/15721/15-2.res new file mode 100644 index 0000000000000000000000000000000000000000..510e355273dede723e17078fe3bf15a4fae9f907 --- /dev/null +++ b/dev9/pg10/tpch/sf_1/explain_analyze/15721/15-2.res @@ -0,0 +1 @@ +{"Plan": {"Node Type": "Merge Join", "Parallel Aware": false, "Join Type": "Inner", "Startup Cost": 244488.79, "Total Cost": 245068.89, "Plan Rows": 10000, "Plan Width": 103, "Actual Startup Time": 727.025, "Actual Total Time": 727.032, "Actual Rows": 1, "Actual Loops": 1, "Output": ["supplier.s_suppkey", "supplier.s_name", "supplier.s_address", "supplier.s_phone", "revenue0.total_revenue"], "Inner Unique": true, "Merge Cond": "(supplier.s_suppkey = revenue0.supplier_no)", "Plans": [{"Node Type": "Aggregate", "Strategy": "Plain", "Partial Mode": "Simple", "Parent Relationship": "InitPlan", "Subplan Name": "InitPlan 1 (returns $0)", "Parallel Aware": false, "Startup Cost": 121072.26, "Total Cost": 121072.27, "Plan Rows": 1, "Plan Width": 32, "Actual Startup Time": 355.948, "Actual Total Time": 355.95, "Actual Rows": 1, "Actual Loops": 1, "Output": ["max((sum((lineitem_1.l_extendedprice * ('1'::numeric - lineitem_1.l_discount)))))"], "Plans": [{"Node Type": "Aggregate", "Strategy": "Hashed", "Partial Mode": "Simple", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 120822.26, "Total Cost": 120947.26, "Plan Rows": 10000, "Plan Width": 36, "Actual Startup Time": 350.909, "Actual Total Time": 354.833, "Actual Rows": 10000, "Actual Loops": 1, "Output": ["lineitem_1.l_suppkey", "sum((lineitem_1.l_extendedprice * ('1'::numeric - lineitem_1.l_discount)))"], "Group Key": ["lineitem_1.l_suppkey"], "Plans": [{"Node Type": "Bitmap Heap Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Relation Name": "lineitem", "Schema": "public", "Alias": "lineitem_1", "Startup Cost": 2972.38, "Total Cost": 118582.8, "Plan Rows": 223946, "Plan Width": 16, "Actual Startup Time": 48.228, "Actual Total Time": 180.267, "Actual Rows": 225253, "Actual Loops": 1, "Output": ["lineitem_1.l_orderkey", "lineitem_1.l_partkey", "lineitem_1.l_suppkey", "lineitem_1.l_linenumber", "lineitem_1.l_quantity", "lineitem_1.l_extendedprice", "lineitem_1.l_discount", "lineitem_1.l_tax", "lineitem_1.l_returnflag", "lineitem_1.l_linestatus", "lineitem_1.l_shipdate", "lineitem_1.l_commitdate", "lineitem_1.l_receiptdate", "lineitem_1.l_shipinstruct", "lineitem_1.l_shipmode", "lineitem_1.l_comment"], "Recheck Cond": "((lineitem_1.l_shipdate >= '1995-01-01'::date) AND (lineitem_1.l_shipdate < '1995-04-01 00:00:00'::timestamp without time zone))", "Rows Removed by Index Recheck": 0, "Exact Heap Blocks": 66731, "Lossy Heap Blocks": 0, "Plans": [{"Node Type": "Bitmap Index Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Index Name": "l_sd", "Startup Cost": 0.0, "Total Cost": 2916.39, "Plan Rows": 223946, "Plan Width": 0, "Actual Startup Time": 31.169, "Actual Total Time": 31.17, "Actual Rows": 225253, "Actual Loops": 1, "Index Cond": "((lineitem_1.l_shipdate >= '1995-01-01'::date) AND (lineitem_1.l_shipdate < '1995-04-01 00:00:00'::timestamp without time zone))"}]}]}]}, {"Node Type": "Index Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Scan Direction": "Forward", "Index Name": "s_sk", "Relation Name": "supplier", "Schema": "public", "Alias": "supplier", "Startup Cost": 0.29, "Total Cost": 405.39, "Plan Rows": 10000, "Plan Width": 71, "Actual Startup Time": 0.013, "Actual Total Time": 2.38, "Actual Rows": 9493, "Actual Loops": 1, "Output": ["supplier.s_suppkey", "supplier.s_name", "supplier.s_address", "supplier.s_nationkey", "supplier.s_phone", "supplier.s_acctbal", "supplier.s_comment"]}, {"Node Type": "Sort", "Parent Relationship": "Inner", "Parallel Aware": false, "Startup Cost": 123416.24, "Total Cost": 123441.24, "Plan Rows": 10000, "Plan Width": 36, "Actual Startup Time": 723.787, "Actual Total Time": 723.789, "Actual Rows": 1, "Actual Loops": 1, "Output": ["revenue0.total_revenue", "revenue0.supplier_no"], "Sort Key": ["revenue0.supplier_no"], "Sort Method": "quicksort", "Sort Space Used": 25, "Sort Space Type": "Memory", "Plans": [{"Node Type": "Subquery Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Alias": "revenue0", "Startup Cost": 122501.85, "Total Cost": 122751.85, "Plan Rows": 10000, "Plan Width": 36, "Actual Startup Time": 718.745, "Actual Total Time": 723.782, "Actual Rows": 1, "Actual Loops": 1, "Output": ["revenue0.total_revenue", "revenue0.supplier_no"], "Plans": [{"Node Type": "Aggregate", "Strategy": "Hashed", "Partial Mode": "Simple", "Parent Relationship": "Subquery", "Parallel Aware": false, "Startup Cost": 122501.85, "Total Cost": 122651.85, "Plan Rows": 10000, "Plan Width": 36, "Actual Startup Time": 718.744, "Actual Total Time": 723.779, "Actual Rows": 1, "Actual Loops": 1, "Output": ["lineitem.l_suppkey", "sum((lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount)))"], "Group Key": ["lineitem.l_suppkey"], "Filter": "(sum((lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount))) = $0)", "Rows Removed by Filter": 9999, "Plans": [{"Node Type": "Bitmap Heap Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Relation Name": "lineitem", "Schema": "public", "Alias": "lineitem", "Startup Cost": 2972.38, "Total Cost": 118582.8, "Plan Rows": 223946, "Plan Width": 16, "Actual Startup Time": 51.604, "Actual Total Time": 193.331, "Actual Rows": 225253, "Actual Loops": 1, "Output": ["lineitem.l_orderkey", "lineitem.l_partkey", "lineitem.l_suppkey", "lineitem.l_linenumber", "lineitem.l_quantity", "lineitem.l_extendedprice", "lineitem.l_discount", "lineitem.l_tax", "lineitem.l_returnflag", "lineitem.l_linestatus", "lineitem.l_shipdate", "lineitem.l_commitdate", "lineitem.l_receiptdate", "lineitem.l_shipinstruct", "lineitem.l_shipmode", "lineitem.l_comment"], "Recheck Cond": "((lineitem.l_shipdate >= '1995-01-01'::date) AND (lineitem.l_shipdate < '1995-04-01 00:00:00'::timestamp without time zone))", "Rows Removed by Index Recheck": 0, "Exact Heap Blocks": 66731, "Lossy Heap Blocks": 0, "Plans": [{"Node Type": "Bitmap Index Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Index Name": "l_sd", "Startup Cost": 0.0, "Total Cost": 2916.39, "Plan Rows": 223946, "Plan Width": 0, "Actual Startup Time": 33.432, "Actual Total Time": 33.432, "Actual Rows": 225253, "Actual Loops": 1, "Index Cond": "((lineitem.l_shipdate >= '1995-01-01'::date) AND (lineitem.l_shipdate < '1995-04-01 00:00:00'::timestamp without time zone))"}]}]}]}]}]}, "Planning Time": 0.437, "Triggers": [], "Execution Time": 727.25} diff --git a/dev9/pg10/tpch/sf_1/explain_analyze/15721/15-3.ok b/dev9/pg10/tpch/sf_1/explain_analyze/15721/15-3.ok new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/dev9/pg10/tpch/sf_1/explain_analyze/15721/15-3.res b/dev9/pg10/tpch/sf_1/explain_analyze/15721/15-3.res new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/dev9/pg10/tpch/sf_1/explain_analyze/15721/16-1.ok b/dev9/pg10/tpch/sf_1/explain_analyze/15721/16-1.ok new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/dev9/pg10/tpch/sf_1/explain_analyze/15721/16-1.res b/dev9/pg10/tpch/sf_1/explain_analyze/15721/16-1.res new file mode 100644 index 0000000000000000000000000000000000000000..4064dda9aa85aaf5521a5c4ab1e8f77e1a8f4283 --- /dev/null +++ b/dev9/pg10/tpch/sf_1/explain_analyze/15721/16-1.res @@ -0,0 +1 @@ +{"Plan": {"Node Type": "Sort", "Parallel Aware": false, "Startup Cost": 32654.57, "Total Cost": 32694.54, "Plan Rows": 15988, "Plan Width": 44, "Actual Startup Time": 673.175, "Actual Total Time": 674.385, "Actual Rows": 18263, "Actual Loops": 1, "Output": ["part.p_brand", "part.p_type", "part.p_size", "(count(DISTINCT partsupp.ps_suppkey))"], "Sort Key": ["(count(DISTINCT partsupp.ps_suppkey)) DESC", "part.p_brand", "part.p_type", "part.p_size"], "Sort Method": "quicksort", "Sort Space Used": 2211, "Sort Space Type": "Memory", "Plans": [{"Node Type": "Aggregate", "Strategy": "Sorted", "Partial Mode": "Simple", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 30636.33, "Total Cost": 31538.24, "Plan Rows": 15988, "Plan Width": 44, "Actual Startup Time": 537.367, "Actual Total Time": 607.051, "Actual Rows": 18263, "Actual Loops": 1, "Output": ["part.p_brand", "part.p_type", "part.p_size", "count(DISTINCT partsupp.ps_suppkey)"], "Group Key": ["part.p_brand", "part.p_type", "part.p_size"], "Plans": [{"Node Type": "Sort", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 30636.33, "Total Cost": 30784.74, "Plan Rows": 59362, "Plan Width": 40, "Actual Startup Time": 537.34, "Actual Total Time": 550.013, "Actual Rows": 119250, "Actual Loops": 1, "Output": ["part.p_brand", "part.p_type", "part.p_size", "partsupp.ps_suppkey"], "Sort Key": ["part.p_brand", "part.p_type", "part.p_size"], "Sort Method": "quicksort", "Sort Space Used": 12389, "Sort Space Type": "Memory", "Plans": [{"Node Type": "Gather", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 10815.44, "Total Cost": 25929.74, "Plan Rows": 59362, "Plan Width": 40, "Actual Startup Time": 67.377, "Actual Total Time": 142.011, "Actual Rows": 119250, "Actual Loops": 1, "Output": ["part.p_brand", "part.p_type", "part.p_size", "partsupp.ps_suppkey"], "Workers Planned": 4, "Workers Launched": 4, "Single Copy": false, "Plans": [{"Node Type": "Hash Join", "Parent Relationship": "Outer", "Parallel Aware": false, "Join Type": "Inner", "Startup Cost": 9815.44, "Total Cost": 18993.54, "Plan Rows": 14840, "Plan Width": 40, "Actual Startup Time": 76.444, "Actual Total Time": 136.838, "Actual Rows": 23850, "Actual Loops": 5, "Output": ["part.p_brand", "part.p_type", "part.p_size", "partsupp.ps_suppkey"], "Inner Unique": true, "Hash Cond": "(partsupp.ps_partkey = part.p_partkey)", "Workers": [{"Worker Number": 0, "Actual Startup Time": 78.808, "Actual Total Time": 145.826, "Actual Rows": 25762, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 78.795, "Actual Total Time": 145.654, "Actual Rows": 26078, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 78.816, "Actual Total Time": 145.766, "Actual Rows": 26305, "Actual Loops": 1}, {"Worker Number": 3, "Actual Startup Time": 78.819, "Actual Total Time": 145.662, "Actual Rows": 27098, "Actual Loops": 1}], "Plans": [{"Node Type": "Index Only Scan", "Parent Relationship": "Outer", "Parallel Aware": true, "Scan Direction": "Forward", "Index Name": "ps_pk_sk", "Relation Name": "partsupp", "Schema": "public", "Alias": "partsupp", "Startup Cost": 347.43, "Total Cost": 9263.03, "Plan Rows": 100000, "Plan Width": 8, "Actual Startup Time": 4.411, "Actual Total Time": 41.239, "Actual Rows": 159936, "Actual Loops": 5, "Output": ["partsupp.ps_partkey", "partsupp.ps_suppkey"], "Filter": "(NOT (hashed SubPlan 1))", "Rows Removed by Filter": 64, "Heap Fetches": 0, "Workers": [{"Worker Number": 0, "Actual Startup Time": 4.626, "Actual Total Time": 45.799, "Actual Rows": 176634, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 4.617, "Actual Total Time": 45.536, "Actual Rows": 176709, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 4.622, "Actual Total Time": 45.599, "Actual Rows": 175976, "Actual Loops": 1}, {"Worker Number": 3, "Actual Startup Time": 4.617, "Actual Total Time": 45.464, "Actual Rows": 175980, "Actual Loops": 1}], "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "SubPlan", "Subplan Name": "SubPlan 1", "Parallel Aware": false, "Relation Name": "supplier", "Schema": "public", "Alias": "supplier", "Startup Cost": 0.0, "Total Cost": 347.0, "Plan Rows": 1, "Plan Width": 4, "Actual Startup Time": 0.167, "Actual Total Time": 4.306, "Actual Rows": 4, "Actual Loops": 5, "Output": ["supplier.s_suppkey"], "Filter": "((supplier.s_comment)::text ~~ '%Customer%Complaints%'::text)", "Rows Removed by Filter": 9996, "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.185, "Actual Total Time": 4.554, "Actual Rows": 4, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 0.174, "Actual Total Time": 4.511, "Actual Rows": 4, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 0.169, "Actual Total Time": 4.478, "Actual Rows": 4, "Actual Loops": 1}, {"Worker Number": 3, "Actual Startup Time": 0.167, "Actual Total Time": 4.444, "Actual Rows": 4, "Actual Loops": 1}]}]}, {"Node Type": "Hash", "Parent Relationship": "Inner", "Parallel Aware": false, "Startup Cost": 9097.0, "Total Cost": 9097.0, "Plan Rows": 29681, "Plan Width": 40, "Actual Startup Time": 71.817, "Actual Total Time": 71.817, "Actual Rows": 29824, "Actual Loops": 5, "Output": ["part.p_brand", "part.p_type", "part.p_size", "part.p_partkey"], "Hash Buckets": 32768, "Original Hash Buckets": 32768, "Hash Batches": 1, "Original Hash Batches": 1, "Peak Memory Usage": 2414, "Workers": [{"Worker Number": 0, "Actual Startup Time": 73.936, "Actual Total Time": 73.936, "Actual Rows": 29824, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 73.927, "Actual Total Time": 73.928, "Actual Rows": 29824, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 73.94, "Actual Total Time": 73.941, "Actual Rows": 29824, "Actual Loops": 1}, {"Worker Number": 3, "Actual Startup Time": 73.933, "Actual Total Time": 73.934, "Actual Rows": 29824, "Actual Loops": 1}], "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Relation Name": "part", "Schema": "public", "Alias": "part", "Startup Cost": 0.0, "Total Cost": 9097.0, "Plan Rows": 29681, "Plan Width": 40, "Actual Startup Time": 0.03, "Actual Total Time": 64.829, "Actual Rows": 29824, "Actual Loops": 5, "Output": ["part.p_brand", "part.p_type", "part.p_size", "part.p_partkey"], "Filter": "((part.p_brand <> 'Brand#11'::bpchar) AND ((part.p_type)::text !~~ 'ECONOMY ANODIZED%'::text) AND (part.p_size = ANY ('{42,16,39,18,23,32,44,41}'::integer[])))", "Rows Removed by Filter": 170176, "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.034, "Actual Total Time": 66.66, "Actual Rows": 29824, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 0.029, "Actual Total Time": 66.602, "Actual Rows": 29824, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 0.04, "Actual Total Time": 66.619, "Actual Rows": 29824, "Actual Loops": 1}, {"Worker Number": 3, "Actual Startup Time": 0.035, "Actual Total Time": 66.557, "Actual Rows": 29824, "Actual Loops": 1}]}]}]}]}]}]}]}, "Planning Time": 0.716, "Triggers": [], "Execution Time": 675.171} diff --git a/dev9/pg10/tpch/sf_1/explain_analyze/15721/17-1.ok b/dev9/pg10/tpch/sf_1/explain_analyze/15721/17-1.ok new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/dev9/pg10/tpch/sf_1/explain_analyze/15721/17-1.res b/dev9/pg10/tpch/sf_1/explain_analyze/15721/17-1.res new file mode 100644 index 0000000000000000000000000000000000000000..d43ce917250668939aa5ae2ce0bfb495f87d4711 --- /dev/null +++ b/dev9/pg10/tpch/sf_1/explain_analyze/15721/17-1.res @@ -0,0 +1 @@ +{"Plan": {"Node Type": "Aggregate", "Strategy": "Plain", "Partial Mode": "Simple", "Parallel Aware": false, "Startup Cost": 195005.38, "Total Cost": 195005.39, "Plan Rows": 1, "Plan Width": 32, "Actual Startup Time": 1765.069, "Actual Total Time": 1765.151, "Actual Rows": 1, "Actual Loops": 1, "Output": ["(sum(lineitem.l_extendedprice) / 7.0)"], "Plans": [{"Node Type": "Hash Join", "Parent Relationship": "Outer", "Parallel Aware": false, "Join Type": "Inner", "Startup Cost": 6369.28, "Total Cost": 195000.43, "Plan Rows": 1980, "Plan Width": 8, "Actual Startup Time": 19.281, "Actual Total Time": 1764.945, "Actual Rows": 588, "Actual Loops": 1, "Output": ["lineitem.l_extendedprice"], "Inner Unique": true, "Hash Cond": "(lineitem.l_partkey = part.p_partkey)", "Join Filter": "(lineitem.l_quantity < (SubPlan 1))", "Rows Removed by Join Filter": 6005, "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Relation Name": "lineitem", "Schema": "public", "Alias": "lineitem", "Startup Cost": 0.0, "Total Cost": 172515.15, "Plan Rows": 6001215, "Plan Width": 17, "Actual Startup Time": 0.005, "Actual Total Time": 562.225, "Actual Rows": 6001215, "Actual Loops": 1, "Output": ["lineitem.l_orderkey", "lineitem.l_partkey", "lineitem.l_suppkey", "lineitem.l_linenumber", "lineitem.l_quantity", "lineitem.l_extendedprice", "lineitem.l_discount", "lineitem.l_tax", "lineitem.l_returnflag", "lineitem.l_linestatus", "lineitem.l_shipdate", "lineitem.l_commitdate", "lineitem.l_receiptdate", "lineitem.l_shipinstruct", "lineitem.l_shipmode", "lineitem.l_comment"]}, {"Node Type": "Hash", "Parent Relationship": "Inner", "Parallel Aware": false, "Startup Cost": 6366.8, "Total Cost": 6366.8, "Plan Rows": 198, "Plan Width": 4, "Actual Startup Time": 16.261, "Actual Total Time": 16.34, "Actual Rows": 222, "Actual Loops": 1, "Output": ["part.p_partkey"], "Hash Buckets": 1024, "Original Hash Buckets": 1024, "Hash Batches": 1, "Original Hash Batches": 1, "Peak Memory Usage": 16, "Plans": [{"Node Type": "Gather", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 1000.0, "Total Cost": 6366.8, "Plan Rows": 198, "Plan Width": 4, "Actual Startup Time": 0.588, "Actual Total Time": 16.294, "Actual Rows": 222, "Actual Loops": 1, "Output": ["part.p_partkey"], "Workers Planned": 2, "Workers Launched": 2, "Single Copy": false, "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": true, "Relation Name": "part", "Schema": "public", "Alias": "part", "Startup Cost": 0.0, "Total Cost": 5347.0, "Plan Rows": 82, "Plan Width": 4, "Actual Startup Time": 0.369, "Actual Total Time": 13.896, "Actual Rows": 74, "Actual Loops": 3, "Output": ["part.p_partkey"], "Filter": "((part.p_brand = 'Brand#14'::bpchar) AND (part.p_container = 'WRAP BOX'::bpchar))", "Rows Removed by Filter": 66593, "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.451, "Actual Total Time": 12.823, "Actual Rows": 60, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 0.286, "Actual Total Time": 12.975, "Actual Rows": 53, "Actual Loops": 1}]}]}]}, {"Node Type": "Aggregate", "Strategy": "Plain", "Partial Mode": "Simple", "Parent Relationship": "SubPlan", "Subplan Name": "SubPlan 1", "Parallel Aware": false, "Startup Cost": 36.25, "Total Cost": 36.27, "Plan Rows": 1, "Plan Width": 32, "Actual Startup Time": 0.034, "Actual Total Time": 0.034, "Actual Rows": 1, "Actual Loops": 6593, "Output": ["(0.2 * avg(lineitem_1.l_quantity))"], "Plans": [{"Node Type": "Index Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Scan Direction": "Forward", "Index Name": "l_pk", "Relation Name": "lineitem", "Schema": "public", "Alias": "lineitem_1", "Startup Cost": 0.43, "Total Cost": 36.17, "Plan Rows": 31, "Plan Width": 5, "Actual Startup Time": 0.004, "Actual Total Time": 0.027, "Actual Rows": 31, "Actual Loops": 6593, "Output": ["lineitem_1.l_orderkey", "lineitem_1.l_partkey", "lineitem_1.l_suppkey", "lineitem_1.l_linenumber", "lineitem_1.l_quantity", "lineitem_1.l_extendedprice", "lineitem_1.l_discount", "lineitem_1.l_tax", "lineitem_1.l_returnflag", "lineitem_1.l_linestatus", "lineitem_1.l_shipdate", "lineitem_1.l_commitdate", "lineitem_1.l_receiptdate", "lineitem_1.l_shipinstruct", "lineitem_1.l_shipmode", "lineitem_1.l_comment"], "Index Cond": "(lineitem_1.l_partkey = part.p_partkey)", "Rows Removed by Index Recheck": 0}]}]}]}, "Planning Time": 0.449, "Triggers": [], "Execution Time": 1765.206} diff --git a/dev9/pg10/tpch/sf_1/explain_analyze/15721/18-1.ok b/dev9/pg10/tpch/sf_1/explain_analyze/15721/18-1.ok new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/dev9/pg10/tpch/sf_1/explain_analyze/15721/18-1.res b/dev9/pg10/tpch/sf_1/explain_analyze/15721/18-1.res new file mode 100644 index 0000000000000000000000000000000000000000..dc7e9f5e9c83d98e20de2adadc4be369c99e3626 --- /dev/null +++ b/dev9/pg10/tpch/sf_1/explain_analyze/15721/18-1.res @@ -0,0 +1 @@ +{"Plan": {"Node Type": "Limit", "Parallel Aware": false, "Startup Cost": 1568044.16, "Total Cost": 1568044.41, "Plan Rows": 100, "Plan Width": 71, "Actual Startup Time": 4477.948, "Actual Total Time": 4491.449, "Actual Rows": 9, "Actual Loops": 1, "Output": ["customer.c_name", "customer.c_custkey", "orders.o_orderkey", "orders.o_orderdate", "orders.o_totalprice", "(sum(lineitem.l_quantity))"], "Plans": [{"Node Type": "Sort", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 1568044.16, "Total Cost": 1580317.36, "Plan Rows": 4909278, "Plan Width": 71, "Actual Startup Time": 4477.946, "Actual Total Time": 4491.446, "Actual Rows": 9, "Actual Loops": 1, "Output": ["customer.c_name", "customer.c_custkey", "orders.o_orderkey", "orders.o_orderdate", "orders.o_totalprice", "(sum(lineitem.l_quantity))"], "Sort Key": ["orders.o_totalprice DESC", "orders.o_orderdate"], "Sort Method": "quicksort", "Sort Space Used": 25, "Sort Space Type": "Memory", "Plans": [{"Node Type": "Aggregate", "Strategy": "Sorted", "Partial Mode": "Finalize", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 656665.43, "Total Cost": 1380415.09, "Plan Rows": 4909278, "Plan Width": 71, "Actual Startup Time": 4477.918, "Actual Total Time": 4491.432, "Actual Rows": 9, "Actual Loops": 1, "Output": ["customer.c_name", "customer.c_custkey", "orders.o_orderkey", "orders.o_orderdate", "orders.o_totalprice", "sum(lineitem.l_quantity)"], "Group Key": ["customer.c_custkey", "orders.o_orderkey"], "Plans": [{"Node Type": "Gather Merge", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 656665.43, "Total Cost": 1269956.31, "Plan Rows": 4909280, "Plan Width": 71, "Actual Startup Time": 4477.908, "Actual Total Time": 4491.414, "Actual Rows": 10, "Actual Loops": 1, "Output": ["customer.c_custkey", "orders.o_orderkey", "customer.c_name", "orders.o_orderdate", "orders.o_totalprice", "(PARTIAL sum(lineitem.l_quantity))"], "Workers Planned": 5, "Workers Launched": 5, "Plans": [{"Node Type": "Aggregate", "Strategy": "Sorted", "Partial Mode": "Partial", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 655665.35, "Total Cost": 677757.11, "Plan Rows": 981856, "Plan Width": 71, "Actual Startup Time": 4404.144, "Actual Total Time": 4404.153, "Actual Rows": 2, "Actual Loops": 6, "Output": ["customer.c_custkey", "orders.o_orderkey", "customer.c_name", "orders.o_orderdate", "orders.o_totalprice", "PARTIAL sum(lineitem.l_quantity)"], "Group Key": ["customer.c_custkey", "orders.o_orderkey"], "Workers": [{"Worker Number": 0, "Actual Startup Time": 4416.009, "Actual Total Time": 4416.017, "Actual Rows": 2, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 4445.59, "Actual Total Time": 4445.603, "Actual Rows": 4, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 4346.489, "Actual Total Time": 4346.498, "Actual Rows": 0, "Actual Loops": 1}, {"Worker Number": 3, "Actual Startup Time": 4342.022, "Actual Total Time": 4342.031, "Actual Rows": 2, "Actual Loops": 1}, {"Worker Number": 4, "Actual Startup Time": 4397.445, "Actual Total Time": 4397.451, "Actual Rows": 0, "Actual Loops": 1}], "Plans": [{"Node Type": "Sort", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 655665.35, "Total Cost": 658119.99, "Plan Rows": 981856, "Plan Width": 44, "Actual Startup Time": 4404.131, "Actual Total Time": 4404.137, "Actual Rows": 10, "Actual Loops": 6, "Output": ["customer.c_custkey", "orders.o_orderkey", "customer.c_name", "orders.o_orderdate", "orders.o_totalprice", "lineitem.l_quantity"], "Sort Key": ["customer.c_custkey", "orders.o_orderkey"], "Sort Method": "quicksort", "Sort Space Used": 26, "Sort Space Type": "Memory", "Workers": [{"Worker Number": 0, "Actual Startup Time": 4415.992, "Actual Total Time": 4415.997, "Actual Rows": 11, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 4445.572, "Actual Total Time": 4445.578, "Actual Rows": 24, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 4346.487, "Actual Total Time": 4346.495, "Actual Rows": 0, "Actual Loops": 1}, {"Worker Number": 3, "Actual Startup Time": 4342.002, "Actual Total Time": 4342.008, "Actual Rows": 14, "Actual Loops": 1}, {"Worker Number": 4, "Actual Startup Time": 4397.443, "Actual Total Time": 4397.448, "Actual Rows": 0, "Actual Loops": 1}], "Plans": [{"Node Type": "Hash Join", "Parent Relationship": "Outer", "Parallel Aware": false, "Join Type": "Inner", "Startup Cost": 379939.54, "Total Cost": 540253.89, "Plan Rows": 981856, "Plan Width": 44, "Actual Startup Time": 4260.405, "Actual Total Time": 4404.106, "Actual Rows": 10, "Actual Loops": 6, "Output": ["customer.c_custkey", "orders.o_orderkey", "customer.c_name", "orders.o_orderdate", "orders.o_totalprice", "lineitem.l_quantity"], "Inner Unique": true, "Hash Cond": "(orders.o_custkey = customer.c_custkey)", "Workers": [{"Worker Number": 0, "Actual Startup Time": 4072.021, "Actual Total Time": 4415.959, "Actual Rows": 11, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 4072.012, "Actual Total Time": 4445.533, "Actual Rows": 24, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 4346.463, "Actual Total Time": 4346.471, "Actual Rows": 0, "Actual Loops": 1}, {"Worker Number": 3, "Actual Startup Time": 4333.748, "Actual Total Time": 4341.971, "Actual Rows": 14, "Actual Loops": 1}, {"Worker Number": 4, "Actual Startup Time": 4397.42, "Actual Total Time": 4397.425, "Actual Rows": 0, "Actual Loops": 1}], "Plans": [{"Node Type": "Hash Join", "Parent Relationship": "Outer", "Parallel Aware": false, "Join Type": "Inner", "Startup Cost": 372979.54, "Total Cost": 530716.44, "Plan Rows": 981856, "Plan Width": 25, "Actual Startup Time": 4184.78, "Actual Total Time": 4328.474, "Actual Rows": 10, "Actual Loops": 6, "Output": ["orders.o_orderkey", "orders.o_orderdate", "orders.o_totalprice", "orders.o_custkey", "lineitem.l_quantity"], "Inner Unique": false, "Hash Cond": "(lineitem.l_orderkey = orders.o_orderkey)", "Workers": [{"Worker Number": 0, "Actual Startup Time": 3994.117, "Actual Total Time": 4338.047, "Actual Rows": 11, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 3994.116, "Actual Total Time": 4367.623, "Actual Rows": 24, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 4268.563, "Actual Total Time": 4268.569, "Actual Rows": 0, "Actual Loops": 1}, {"Worker Number": 3, "Actual Startup Time": 4255.834, "Actual Total Time": 4264.049, "Actual Rows": 14, "Actual Loops": 1}, {"Worker Number": 4, "Actual Startup Time": 4319.524, "Actual Total Time": 4319.528, "Actual Rows": 0, "Actual Loops": 1}], "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": true, "Relation Name": "lineitem", "Schema": "public", "Alias": "lineitem", "Startup Cost": 0.0, "Total Cost": 124505.43, "Plan Rows": 1200243, "Plan Width": 9, "Actual Startup Time": 0.022, "Actual Total Time": 201.148, "Actual Rows": 1000202, "Actual Loops": 6, "Output": ["lineitem.l_quantity", "lineitem.l_orderkey"], "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.024, "Actual Total Time": 229.847, "Actual Rows": 1136825, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 0.023, "Actual Total Time": 306.698, "Actual Rows": 1520120, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 0.031, "Actual Total Time": 60.281, "Actual Rows": 287893, "Actual Loops": 1}, {"Worker Number": 3, "Actual Startup Time": 0.023, "Actual Total Time": 46.12, "Actual Rows": 234986, "Actual Loops": 1}, {"Worker Number": 4, "Actual Startup Time": 0.026, "Actual Total Time": 183.83, "Actual Rows": 902176, "Actual Loops": 1}]}, {"Node Type": "Hash", "Parent Relationship": "Inner", "Parallel Aware": false, "Startup Cost": 350451.15, "Total Cost": 350451.15, "Plan Rows": 1227071, "Plan Width": 24, "Actual Startup Time": 3861.618, "Actual Total Time": 3861.62, "Actual Rows": 9, "Actual Loops": 6, "Output": ["orders.o_orderkey", "orders.o_orderdate", "orders.o_totalprice", "orders.o_custkey", "lineitem_1.l_orderkey"], "Hash Buckets": 524288, "Original Hash Buckets": 524288, "Hash Batches": 8, "Original Hash Batches": 8, "Peak Memory Usage": 4097, "Workers": [{"Worker Number": 0, "Actual Startup Time": 3806.579, "Actual Total Time": 3806.581, "Actual Rows": 9, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 3661.853, "Actual Total Time": 3661.855, "Actual Rows": 9, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 4122.167, "Actual Total Time": 4122.171, "Actual Rows": 9, "Actual Loops": 1}, {"Worker Number": 3, "Actual Startup Time": 4148.21, "Actual Total Time": 4148.212, "Actual Rows": 9, "Actual Loops": 1}, {"Worker Number": 4, "Actual Startup Time": 3892.689, "Actual Total Time": 3892.691, "Actual Rows": 9, "Actual Loops": 1}], "Plans": [{"Node Type": "Merge Join", "Parent Relationship": "Outer", "Parallel Aware": false, "Join Type": "Inner", "Startup Cost": 0.86, "Total Cost": 350451.15, "Plan Rows": 1227071, "Plan Width": 24, "Actual Startup Time": 902.2, "Actual Total Time": 3861.274, "Actual Rows": 9, "Actual Loops": 6, "Output": ["orders.o_orderkey", "orders.o_orderdate", "orders.o_totalprice", "orders.o_custkey", "lineitem_1.l_orderkey"], "Inner Unique": true, "Merge Cond": "(orders.o_orderkey = lineitem_1.l_orderkey)", "Workers": [{"Worker Number": 0, "Actual Startup Time": 957.216, "Actual Total Time": 3806.253, "Actual Rows": 9, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 814.991, "Actual Total Time": 3661.555, "Actual Rows": 9, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 957.258, "Actual Total Time": 4121.83, "Actual Rows": 9, "Actual Loops": 1}, {"Worker Number": 3, "Actual Startup Time": 957.256, "Actual Total Time": 4147.784, "Actual Rows": 9, "Actual Loops": 1}, {"Worker Number": 4, "Actual Startup Time": 957.219, "Actual Total Time": 3892.318, "Actual Rows": 9, "Actual Loops": 1}], "Plans": [{"Node Type": "Index Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Scan Direction": "Forward", "Index Name": "o_ok", "Relation Name": "orders", "Schema": "public", "Alias": "orders", "Startup Cost": 0.43, "Total Cost": 53123.13, "Plan Rows": 1500000, "Plan Width": 20, "Actual Startup Time": 0.034, "Actual Total Time": 306.017, "Actual Rows": 1201687, "Actual Loops": 6, "Output": ["orders.o_orderkey", "orders.o_custkey", "orders.o_orderstatus", "orders.o_totalprice", "orders.o_orderdate", "orders.o_orderpriority", "orders.o_clerk", "orders.o_shippriority", "orders.o_comment"], "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.039, "Actual Total Time": 302.823, "Actual Rows": 1201687, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 0.047, "Actual Total Time": 262.104, "Actual Rows": 1201687, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 0.034, "Actual Total Time": 363.183, "Actual Rows": 1201687, "Actual Loops": 1}, {"Worker Number": 3, "Actual Startup Time": 0.039, "Actual Total Time": 366.518, "Actual Rows": 1201687, "Actual Loops": 1}, {"Worker Number": 4, "Actual Startup Time": 0.027, "Actual Total Time": 308.864, "Actual Rows": 1201687, "Actual Loops": 1}]}, {"Node Type": "Aggregate", "Strategy": "Sorted", "Partial Mode": "Simple", "Parent Relationship": "Inner", "Parallel Aware": false, "Startup Cost": 0.43, "Total Cost": 265968.93, "Plan Rows": 1227071, "Plan Width": 4, "Actual Startup Time": 778.355, "Actual Total Time": 3451.638, "Actual Rows": 9, "Actual Loops": 6, "Output": ["lineitem_1.l_orderkey"], "Group Key": ["lineitem_1.l_orderkey"], "Filter": "(sum(lineitem_1.l_quantity) > '314'::numeric)", "Rows Removed by Filter": 1499991, "Workers": [{"Worker Number": 0, "Actual Startup Time": 818.144, "Actual Total Time": 3399.452, "Actual Rows": 9, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 716.902, "Actual Total Time": 3294.918, "Actual Rows": 9, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 817.927, "Actual Total Time": 3655.748, "Actual Rows": 9, "Actual Loops": 1}, {"Worker Number": 3, "Actual Startup Time": 818.12, "Actual Total Time": 3677.983, "Actual Rows": 9, "Actual Loops": 1}, {"Worker Number": 4, "Actual Startup Time": 817.94, "Actual Total Time": 3479.256, "Actual Rows": 9, "Actual Loops": 1}], "Plans": [{"Node Type": "Index Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Scan Direction": "Forward", "Index Name": "l_ok", "Relation Name": "lineitem", "Schema": "public", "Alias": "lineitem_1", "Startup Cost": 0.43, "Total Cost": 220624.46, "Plan Rows": 6001215, "Plan Width": 9, "Actual Startup Time": 0.022, "Actual Total Time": 1565.775, "Actual Rows": 6001215, "Actual Loops": 6, "Output": ["lineitem_1.l_orderkey", "lineitem_1.l_partkey", "lineitem_1.l_suppkey", "lineitem_1.l_linenumber", "lineitem_1.l_quantity", "lineitem_1.l_extendedprice", "lineitem_1.l_discount", "lineitem_1.l_tax", "lineitem_1.l_returnflag", "lineitem_1.l_linestatus", "lineitem_1.l_shipdate", "lineitem_1.l_commitdate", "lineitem_1.l_receiptdate", "lineitem_1.l_shipinstruct", "lineitem_1.l_shipmode", "lineitem_1.l_comment"], "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.023, "Actual Total Time": 1514.294, "Actual Rows": 6001215, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 0.022, "Actual Total Time": 1403.083, "Actual Rows": 6001215, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 0.027, "Actual Total Time": 1776.239, "Actual Rows": 6001215, "Actual Loops": 1}, {"Worker Number": 3, "Actual Startup Time": 0.022, "Actual Total Time": 1794.925, "Actual Rows": 6001215, "Actual Loops": 1}, {"Worker Number": 4, "Actual Startup Time": 0.027, "Actual Total Time": 1591.726, "Actual Rows": 6001215, "Actual Loops": 1}]}]}]}]}]}, {"Node Type": "Hash", "Parent Relationship": "Inner", "Parallel Aware": false, "Startup Cost": 5085.0, "Total Cost": 5085.0, "Plan Rows": 150000, "Plan Width": 23, "Actual Startup Time": 74.473, "Actual Total Time": 74.473, "Actual Rows": 150000, "Actual Loops": 6, "Output": ["customer.c_name", "customer.c_custkey"], "Hash Buckets": 262144, "Original Hash Buckets": 262144, "Hash Batches": 1, "Original Hash Batches": 1, "Peak Memory Usage": 10252, "Workers": [{"Worker Number": 0, "Actual Startup Time": 76.569, "Actual Total Time": 76.57, "Actual Rows": 150000, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 76.578, "Actual Total Time": 76.579, "Actual Rows": 150000, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 76.586, "Actual Total Time": 76.587, "Actual Rows": 150000, "Actual Loops": 1}, {"Worker Number": 3, "Actual Startup Time": 76.586, "Actual Total Time": 76.586, "Actual Rows": 150000, "Actual Loops": 1}, {"Worker Number": 4, "Actual Startup Time": 76.59, "Actual Total Time": 76.59, "Actual Rows": 150000, "Actual Loops": 1}], "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Relation Name": "customer", "Schema": "public", "Alias": "customer", "Startup Cost": 0.0, "Total Cost": 5085.0, "Plan Rows": 150000, "Plan Width": 23, "Actual Startup Time": 0.022, "Actual Total Time": 40.414, "Actual Rows": 150000, "Actual Loops": 6, "Output": ["customer.c_name", "customer.c_custkey"], "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.022, "Actual Total Time": 42.024, "Actual Rows": 150000, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 0.025, "Actual Total Time": 42.89, "Actual Rows": 150000, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 0.03, "Actual Total Time": 41.175, "Actual Rows": 150000, "Actual Loops": 1}, {"Worker Number": 3, "Actual Startup Time": 0.024, "Actual Total Time": 41.114, "Actual Rows": 150000, "Actual Loops": 1}, {"Worker Number": 4, "Actual Startup Time": 0.028, "Actual Total Time": 41.174, "Actual Rows": 150000, "Actual Loops": 1}]}]}]}]}]}]}]}]}]}, "Planning Time": 1.276, "Triggers": [], "Execution Time": 4491.589} diff --git a/dev9/pg10/tpch/sf_1/explain_analyze/15721/19-1.ok b/dev9/pg10/tpch/sf_1/explain_analyze/15721/19-1.ok new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/dev9/pg10/tpch/sf_1/explain_analyze/15721/19-1.res b/dev9/pg10/tpch/sf_1/explain_analyze/15721/19-1.res new file mode 100644 index 0000000000000000000000000000000000000000..36acf48c4e02b5b1cc69dcecd03c9a943b03632d --- /dev/null +++ b/dev9/pg10/tpch/sf_1/explain_analyze/15721/19-1.res @@ -0,0 +1 @@ +{"Plan": {"Node Type": "Aggregate", "Strategy": "Plain", "Partial Mode": "Finalize", "Parallel Aware": false, "Startup Cost": 15853.91, "Total Cost": 15853.92, "Plan Rows": 1, "Plan Width": 32, "Actual Startup Time": 42.119, "Actual Total Time": 52.303, "Actual Rows": 1, "Actual Loops": 1, "Output": ["sum((lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount)))"], "Plans": [{"Node Type": "Gather", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 15853.68, "Total Cost": 15853.89, "Plan Rows": 2, "Plan Width": 32, "Actual Startup Time": 42.108, "Actual Total Time": 52.296, "Actual Rows": 3, "Actual Loops": 1, "Output": ["(PARTIAL sum((lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount))))"], "Workers Planned": 2, "Workers Launched": 2, "Single Copy": false, "Plans": [{"Node Type": "Aggregate", "Strategy": "Plain", "Partial Mode": "Partial", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 14853.68, "Total Cost": 14853.69, "Plan Rows": 1, "Plan Width": 32, "Actual Startup Time": 38.779, "Actual Total Time": 38.78, "Actual Rows": 1, "Actual Loops": 3, "Output": ["PARTIAL sum((lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount)))"], "Workers": [{"Worker Number": 0, "Actual Startup Time": 37.38, "Actual Total Time": 37.381, "Actual Rows": 1, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 37.394, "Actual Total Time": 37.395, "Actual Rows": 1, "Actual Loops": 1}], "Plans": [{"Node Type": "Nested Loop", "Parent Relationship": "Outer", "Parallel Aware": false, "Join Type": "Inner", "Startup Cost": 0.43, "Total Cost": 14853.33, "Plan Rows": 47, "Plan Width": 12, "Actual Startup Time": 1.411, "Actual Total Time": 38.736, "Actual Rows": 35, "Actual Loops": 3, "Output": ["lineitem.l_extendedprice", "lineitem.l_discount"], "Inner Unique": false, "Workers": [{"Worker Number": 0, "Actual Startup Time": 2.863, "Actual Total Time": 37.341, "Actual Rows": 20, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 0.474, "Actual Total Time": 37.348, "Actual Rows": 31, "Actual Loops": 1}], "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": true, "Relation Name": "part", "Schema": "public", "Alias": "part", "Startup Cost": 0.0, "Total Cost": 7638.67, "Plan Rows": 200, "Plan Width": 30, "Actual Startup Time": 0.198, "Actual Total Time": 20.24, "Actual Rows": 143, "Actual Loops": 3, "Output": ["part.p_partkey", "part.p_name", "part.p_mfgr", "part.p_brand", "part.p_type", "part.p_size", "part.p_container", "part.p_retailprice", "part.p_comment"], "Filter": "((part.p_size >= 1) AND (((part.p_brand = 'Brand#52'::bpchar) AND (part.p_container = ANY ('{\"SM CASE\",\"SM BOX\",\"SM PACK\",\"SM PKG\"}'::bpchar[])) AND (part.p_size <= 5)) OR ((part.p_brand = 'Brand#42'::bpchar) AND (part.p_container = ANY ('{\"MED BAG\",\"MED BOX\",\"MED PKG\",\"MED PACK\"}'::bpchar[])) AND (part.p_size <= 10)) OR ((part.p_brand = 'Brand#23'::bpchar) AND (part.p_container = ANY ('{\"LG CASE\",\"LG BOX\",\"LG PACK\",\"LG PKG\"}'::bpchar[])) AND (part.p_size <= 15))))", "Rows Removed by Filter": 66524, "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.519, "Actual Total Time": 17.626, "Actual Rows": 91, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 0.043, "Actual Total Time": 14.455, "Actual Rows": 108, "Actual Loops": 1}]}, {"Node Type": "Index Scan", "Parent Relationship": "Inner", "Parallel Aware": false, "Scan Direction": "Forward", "Index Name": "l_pk", "Relation Name": "lineitem", "Schema": "public", "Alias": "lineitem", "Startup Cost": 0.43, "Total Cost": 36.06, "Plan Rows": 1, "Plan Width": 21, "Actual Startup Time": 0.115, "Actual Total Time": 0.129, "Actual Rows": 0, "Actual Loops": 428, "Output": ["lineitem.l_orderkey", "lineitem.l_partkey", "lineitem.l_suppkey", "lineitem.l_linenumber", "lineitem.l_quantity", "lineitem.l_extendedprice", "lineitem.l_discount", "lineitem.l_tax", "lineitem.l_returnflag", "lineitem.l_linestatus", "lineitem.l_shipdate", "lineitem.l_commitdate", "lineitem.l_receiptdate", "lineitem.l_shipinstruct", "lineitem.l_shipmode", "lineitem.l_comment"], "Index Cond": "(lineitem.l_partkey = part.p_partkey)", "Rows Removed by Index Recheck": 0, "Filter": "((lineitem.l_shipmode = ANY ('{AIR,\"AIR REG\"}'::bpchar[])) AND (lineitem.l_shipinstruct = 'DELIVER IN PERSON'::bpchar) AND (((lineitem.l_quantity >= '9'::numeric) AND (lineitem.l_quantity <= '19'::numeric)) OR ((lineitem.l_quantity >= '18'::numeric) AND (lineitem.l_quantity <= '28'::numeric)) OR ((lineitem.l_quantity >= '22'::numeric) AND (lineitem.l_quantity <= '32'::numeric))) AND (((part.p_brand = 'Brand#52'::bpchar) AND (part.p_container = ANY ('{\"SM CASE\",\"SM BOX\",\"SM PACK\",\"SM PKG\"}'::bpchar[])) AND (lineitem.l_quantity >= '9'::numeric) AND (lineitem.l_quantity <= '19'::numeric) AND (part.p_size <= 5)) OR ((part.p_brand = 'Brand#42'::bpchar) AND (part.p_container = ANY ('{\"MED BAG\",\"MED BOX\",\"MED PKG\",\"MED PACK\"}'::bpchar[])) AND (lineitem.l_quantity >= '18'::numeric) AND (lineitem.l_quantity <= '28'::numeric) AND (part.p_size <= 10)) OR ((part.p_brand = 'Brand#23'::bpchar) AND (part.p_container = ANY ('{\"LG CASE\",\"LG BOX\",\"LG PACK\",\"LG PKG\"}'::bpchar[])) AND (lineitem.l_quantity >= '22'::numeric) AND (lineitem.l_quantity <= '32'::numeric) AND (part.p_size <= 15))))", "Rows Removed by Filter": 30, "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.194, "Actual Total Time": 0.216, "Actual Rows": 0, "Actual Loops": 91}, {"Worker Number": 1, "Actual Startup Time": 0.185, "Actual Total Time": 0.211, "Actual Rows": 0, "Actual Loops": 108}]}]}]}]}]}, "Planning Time": 0.727, "Triggers": [], "Execution Time": 52.363} diff --git a/dev9/pg10/tpch/sf_1/explain_analyze/15721/2-1.ok b/dev9/pg10/tpch/sf_1/explain_analyze/15721/2-1.ok new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/dev9/pg10/tpch/sf_1/explain_analyze/15721/2-1.res b/dev9/pg10/tpch/sf_1/explain_analyze/15721/2-1.res new file mode 100644 index 0000000000000000000000000000000000000000..fe292b580fbf5cf5f258b9b9e60b9ad48da5a48e --- /dev/null +++ b/dev9/pg10/tpch/sf_1/explain_analyze/15721/2-1.res @@ -0,0 +1 @@ +{"Plan": {"Node Type": "Limit", "Parallel Aware": false, "Startup Cost": 49592.51, "Total Cost": 49592.51, "Plan Rows": 1, "Plan Width": 192, "Actual Startup Time": 282.141, "Actual Total Time": 282.221, "Actual Rows": 100, "Actual Loops": 1, "Output": ["supplier.s_acctbal", "supplier.s_name", "nation.n_name", "part.p_partkey", "part.p_mfgr", "supplier.s_address", "supplier.s_phone", "supplier.s_comment"], "Plans": [{"Node Type": "Sort", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 49592.51, "Total Cost": 49592.51, "Plan Rows": 1, "Plan Width": 192, "Actual Startup Time": 282.139, "Actual Total Time": 282.211, "Actual Rows": 100, "Actual Loops": 1, "Output": ["supplier.s_acctbal", "supplier.s_name", "nation.n_name", "part.p_partkey", "part.p_mfgr", "supplier.s_address", "supplier.s_phone", "supplier.s_comment"], "Sort Key": ["supplier.s_acctbal DESC", "nation.n_name", "supplier.s_name", "part.p_partkey"], "Sort Method": "top-N heapsort", "Sort Space Used": 71, "Sort Space Type": "Memory", "Plans": [{"Node Type": "Hash Join", "Parent Relationship": "Outer", "Parallel Aware": false, "Join Type": "Inner", "Startup Cost": 16993.3, "Total Cost": 49592.5, "Plan Rows": 1, "Plan Width": 192, "Actual Startup Time": 238.238, "Actual Total Time": 281.712, "Actual Rows": 509, "Actual Loops": 1, "Output": ["supplier.s_acctbal", "supplier.s_name", "nation.n_name", "part.p_partkey", "part.p_mfgr", "supplier.s_address", "supplier.s_phone", "supplier.s_comment"], "Inner Unique": false, "Hash Cond": "((part.p_partkey = partsupp.ps_partkey) AND ((SubPlan 1) = partsupp.ps_supplycost))", "Plans": [{"Node Type": "Gather", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 1000.0, "Total Cost": 6427.4, "Plan Rows": 804, "Plan Width": 30, "Actual Startup Time": 0.294, "Actual Total Time": 0.62, "Actual Rows": 854, "Actual Loops": 1, "Output": ["part.p_partkey", "part.p_mfgr"], "Workers Planned": 2, "Workers Launched": 2, "Single Copy": false, "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": true, "Relation Name": "part", "Schema": "public", "Alias": "part", "Startup Cost": 0.0, "Total Cost": 5347.0, "Plan Rows": 335, "Plan Width": 30, "Actual Startup Time": 0.05, "Actual Total Time": 20.649, "Actual Rows": 285, "Actual Loops": 3, "Output": ["part.p_partkey", "part.p_mfgr"], "Filter": "(((part.p_type)::text ~~ '%TIN'::text) AND (part.p_size = 44))", "Rows Removed by Filter": 66382, "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.044, "Actual Total Time": 30.958, "Actual Rows": 422, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 0.084, "Actual Total Time": 30.953, "Actual Rows": 431, "Actual Loops": 1}]}]}, {"Node Type": "Hash", "Parent Relationship": "Inner", "Parallel Aware": false, "Startup Cost": 9686.3, "Total Cost": 9686.3, "Plan Rows": 160000, "Plan Width": 172, "Actual Startup Time": 236.955, "Actual Total Time": 236.958, "Actual Rows": 158960, "Actual Loops": 1, "Output": ["supplier.s_acctbal", "supplier.s_name", "supplier.s_address", "supplier.s_phone", "supplier.s_comment", "partsupp.ps_partkey", "partsupp.ps_supplycost", "nation.n_name"], "Hash Buckets": 131072, "Original Hash Buckets": 131072, "Hash Batches": 2, "Original Hash Batches": 2, "Peak Memory Usage": 17198, "Plans": [{"Node Type": "Nested Loop", "Parent Relationship": "Outer", "Parallel Aware": false, "Join Type": "Inner", "Startup Cost": 0.71, "Total Cost": 9686.3, "Plan Rows": 160000, "Plan Width": 172, "Actual Startup Time": 0.056, "Actual Total Time": 156.827, "Actual Rows": 158960, "Actual Loops": 1, "Output": ["supplier.s_acctbal", "supplier.s_name", "supplier.s_address", "supplier.s_phone", "supplier.s_comment", "partsupp.ps_partkey", "partsupp.ps_supplycost", "nation.n_name"], "Inner Unique": false, "Plans": [{"Node Type": "Nested Loop", "Parent Relationship": "Outer", "Parallel Aware": false, "Join Type": "Inner", "Startup Cost": 0.29, "Total Cost": 114.02, "Plan Rows": 2000, "Plan Width": 166, "Actual Startup Time": 0.033, "Actual Total Time": 2.264, "Actual Rows": 1987, "Actual Loops": 1, "Output": ["supplier.s_acctbal", "supplier.s_name", "supplier.s_address", "supplier.s_phone", "supplier.s_comment", "supplier.s_suppkey", "nation.n_name"], "Inner Unique": false, "Plans": [{"Node Type": "Nested Loop", "Parent Relationship": "Outer", "Parallel Aware": false, "Join Type": "Inner", "Startup Cost": 0.0, "Total Cost": 2.62, "Plan Rows": 5, "Plan Width": 30, "Actual Startup Time": 0.011, "Actual Total Time": 0.025, "Actual Rows": 5, "Actual Loops": 1, "Output": ["nation.n_name", "nation.n_nationkey"], "Inner Unique": false, "Join Filter": "(nation.n_regionkey = region.r_regionkey)", "Rows Removed by Join Filter": 20, "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Relation Name": "region", "Schema": "public", "Alias": "region", "Startup Cost": 0.0, "Total Cost": 1.06, "Plan Rows": 1, "Plan Width": 4, "Actual Startup Time": 0.005, "Actual Total Time": 0.007, "Actual Rows": 1, "Actual Loops": 1, "Output": ["region.r_regionkey", "region.r_name", "region.r_comment"], "Filter": "(region.r_name = 'EUROPE'::bpchar)", "Rows Removed by Filter": 4}, {"Node Type": "Seq Scan", "Parent Relationship": "Inner", "Parallel Aware": false, "Relation Name": "nation", "Schema": "public", "Alias": "nation", "Startup Cost": 0.0, "Total Cost": 1.25, "Plan Rows": 25, "Plan Width": 34, "Actual Startup Time": 0.002, "Actual Total Time": 0.007, "Actual Rows": 25, "Actual Loops": 1, "Output": ["nation.n_nationkey", "nation.n_name", "nation.n_regionkey", "nation.n_comment"]}]}, {"Node Type": "Index Scan", "Parent Relationship": "Inner", "Parallel Aware": false, "Scan Direction": "Forward", "Index Name": "s_nk", "Relation Name": "supplier", "Schema": "public", "Alias": "supplier", "Startup Cost": 0.29, "Total Cost": 18.28, "Plan Rows": 400, "Plan Width": 144, "Actual Startup Time": 0.011, "Actual Total Time": 0.283, "Actual Rows": 397, "Actual Loops": 5, "Output": ["supplier.s_suppkey", "supplier.s_name", "supplier.s_address", "supplier.s_nationkey", "supplier.s_phone", "supplier.s_acctbal", "supplier.s_comment"], "Index Cond": "(supplier.s_nationkey = nation.n_nationkey)", "Rows Removed by Index Recheck": 0}]}, {"Node Type": "Index Scan", "Parent Relationship": "Inner", "Parallel Aware": false, "Scan Direction": "Forward", "Index Name": "ps_sk", "Relation Name": "partsupp", "Schema": "public", "Alias": "partsupp", "Startup Cost": 0.42, "Total Cost": 3.99, "Plan Rows": 80, "Plan Width": 14, "Actual Startup Time": 0.005, "Actual Total Time": 0.063, "Actual Rows": 80, "Actual Loops": 1987, "Output": ["partsupp.ps_partkey", "partsupp.ps_suppkey", "partsupp.ps_availqty", "partsupp.ps_supplycost", "partsupp.ps_comment"], "Index Cond": "(partsupp.ps_suppkey = supplier.s_suppkey)", "Rows Removed by Index Recheck": 0}]}]}, {"Node Type": "Aggregate", "Strategy": "Plain", "Partial Mode": "Simple", "Parent Relationship": "SubPlan", "Subplan Name": "SubPlan 1", "Parallel Aware": false, "Startup Cost": 14.44, "Total Cost": 14.45, "Plan Rows": 1, "Plan Width": 32, "Actual Startup Time": 0.021, "Actual Total Time": 0.021, "Actual Rows": 1, "Actual Loops": 1363, "Output": ["min(partsupp_1.ps_supplycost)"], "Plans": [{"Node Type": "Nested Loop", "Parent Relationship": "Outer", "Parallel Aware": false, "Join Type": "Inner", "Startup Cost": 0.85, "Total Cost": 14.44, "Plan Rows": 1, "Plan Width": 6, "Actual Startup Time": 0.014, "Actual Total Time": 0.02, "Actual Rows": 1, "Actual Loops": 1363, "Output": ["partsupp_1.ps_supplycost"], "Inner Unique": false, "Join Filter": "(nation_1.n_regionkey = region_1.r_regionkey)", "Rows Removed by Join Filter": 3, "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Relation Name": "region", "Schema": "public", "Alias": "region_1", "Startup Cost": 0.0, "Total Cost": 1.06, "Plan Rows": 1, "Plan Width": 4, "Actual Startup Time": 0.001, "Actual Total Time": 0.001, "Actual Rows": 1, "Actual Loops": 1363, "Output": ["region_1.r_regionkey", "region_1.r_name", "region_1.r_comment"], "Filter": "(region_1.r_name = 'EUROPE'::bpchar)", "Rows Removed by Filter": 4}, {"Node Type": "Nested Loop", "Parent Relationship": "Inner", "Parallel Aware": false, "Join Type": "Inner", "Startup Cost": 0.85, "Total Cost": 13.33, "Plan Rows": 4, "Plan Width": 10, "Actual Startup Time": 0.007, "Actual Total Time": 0.018, "Actual Rows": 4, "Actual Loops": 1363, "Output": ["partsupp_1.ps_supplycost", "nation_1.n_regionkey"], "Inner Unique": true, "Plans": [{"Node Type": "Nested Loop", "Parent Relationship": "Outer", "Parallel Aware": false, "Join Type": "Inner", "Startup Cost": 0.71, "Total Cost": 12.71, "Plan Rows": 4, "Plan Width": 10, "Actual Startup Time": 0.005, "Actual Total Time": 0.013, "Actual Rows": 4, "Actual Loops": 1363, "Output": ["partsupp_1.ps_supplycost", "supplier_1.s_nationkey"], "Inner Unique": true, "Plans": [{"Node Type": "Index Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Scan Direction": "Forward", "Index Name": "ps_pk", "Relation Name": "partsupp", "Schema": "public", "Alias": "partsupp_1", "Startup Cost": 0.42, "Total Cost": 2.7, "Plan Rows": 4, "Plan Width": 10, "Actual Startup Time": 0.003, "Actual Total Time": 0.004, "Actual Rows": 4, "Actual Loops": 1363, "Output": ["partsupp_1.ps_partkey", "partsupp_1.ps_suppkey", "partsupp_1.ps_availqty", "partsupp_1.ps_supplycost", "partsupp_1.ps_comment"], "Index Cond": "(part.p_partkey = partsupp_1.ps_partkey)", "Rows Removed by Index Recheck": 0}, {"Node Type": "Index Scan", "Parent Relationship": "Inner", "Parallel Aware": false, "Scan Direction": "Forward", "Index Name": "s_sk", "Relation Name": "supplier", "Schema": "public", "Alias": "supplier_1", "Startup Cost": 0.29, "Total Cost": 2.5, "Plan Rows": 1, "Plan Width": 8, "Actual Startup Time": 0.002, "Actual Total Time": 0.002, "Actual Rows": 1, "Actual Loops": 5452, "Output": ["supplier_1.s_suppkey", "supplier_1.s_name", "supplier_1.s_address", "supplier_1.s_nationkey", "supplier_1.s_phone", "supplier_1.s_acctbal", "supplier_1.s_comment"], "Index Cond": "(supplier_1.s_suppkey = partsupp_1.ps_suppkey)", "Rows Removed by Index Recheck": 0}]}, {"Node Type": "Index Scan", "Parent Relationship": "Inner", "Parallel Aware": false, "Scan Direction": "Forward", "Index Name": "n_nk", "Relation Name": "nation", "Schema": "public", "Alias": "nation_1", "Startup Cost": 0.14, "Total Cost": 0.16, "Plan Rows": 1, "Plan Width": 8, "Actual Startup Time": 0.001, "Actual Total Time": 0.001, "Actual Rows": 1, "Actual Loops": 5452, "Output": ["nation_1.n_nationkey", "nation_1.n_name", "nation_1.n_regionkey", "nation_1.n_comment"], "Index Cond": "(nation_1.n_nationkey = supplier_1.s_nationkey)", "Rows Removed by Index Recheck": 0}]}]}]}]}]}]}, "Planning Time": 2.591, "Triggers": [], "Execution Time": 282.404} diff --git a/dev9/pg10/tpch/sf_1/explain_analyze/15721/20-1.ok b/dev9/pg10/tpch/sf_1/explain_analyze/15721/20-1.ok new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/dev9/pg10/tpch/sf_1/explain_analyze/15721/20-1.res b/dev9/pg10/tpch/sf_1/explain_analyze/15721/20-1.res new file mode 100644 index 0000000000000000000000000000000000000000..09f2bac008daf01fb4d3c6294b3d8efe6e3074ef --- /dev/null +++ b/dev9/pg10/tpch/sf_1/explain_analyze/15721/20-1.res @@ -0,0 +1 @@ +{"Plan": {"Node Type": "Sort", "Parallel Aware": false, "Startup Cost": 38053.35, "Total Cost": 38053.67, "Plan Rows": 128, "Plan Width": 51, "Actual Startup Time": 183.984, "Actual Total Time": 183.997, "Actual Rows": 187, "Actual Loops": 1, "Output": ["supplier.s_name", "supplier.s_address"], "Sort Key": ["supplier.s_name"], "Sort Method": "quicksort", "Sort Space Used": 46, "Sort Space Type": "Memory", "Plans": [{"Node Type": "Hash Join", "Parent Relationship": "Outer", "Parallel Aware": false, "Join Type": "Semi", "Startup Cost": 37824.39, "Total Cost": 38048.87, "Plan Rows": 128, "Plan Width": 51, "Actual Startup Time": 183.381, "Actual Total Time": 183.842, "Actual Rows": 187, "Actual Loops": 1, "Output": ["supplier.s_name", "supplier.s_address"], "Inner Unique": false, "Hash Cond": "(supplier.s_suppkey = partsupp.ps_suppkey)", "Plans": [{"Node Type": "Nested Loop", "Parent Relationship": "Outer", "Parallel Aware": false, "Join Type": "Inner", "Startup Cost": 5.58, "Total Cost": 227.43, "Plan Rows": 400, "Plan Width": 55, "Actual Startup Time": 0.074, "Actual Total Time": 0.457, "Actual Rows": 396, "Actual Loops": 1, "Output": ["supplier.s_name", "supplier.s_address", "supplier.s_suppkey"], "Inner Unique": false, "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Relation Name": "nation", "Schema": "public", "Alias": "nation", "Startup Cost": 0.0, "Total Cost": 1.31, "Plan Rows": 1, "Plan Width": 4, "Actual Startup Time": 0.005, "Actual Total Time": 0.01, "Actual Rows": 1, "Actual Loops": 1, "Output": ["nation.n_nationkey", "nation.n_name", "nation.n_regionkey", "nation.n_comment"], "Filter": "(nation.n_name = 'GERMANY'::bpchar)", "Rows Removed by Filter": 24}, {"Node Type": "Bitmap Heap Scan", "Parent Relationship": "Inner", "Parallel Aware": false, "Relation Name": "supplier", "Schema": "public", "Alias": "supplier", "Startup Cost": 5.58, "Total Cost": 222.11, "Plan Rows": 400, "Plan Width": 59, "Actual Startup Time": 0.067, "Actual Total Time": 0.361, "Actual Rows": 396, "Actual Loops": 1, "Output": ["supplier.s_suppkey", "supplier.s_name", "supplier.s_address", "supplier.s_nationkey", "supplier.s_phone", "supplier.s_acctbal", "supplier.s_comment"], "Recheck Cond": "(supplier.s_nationkey = nation.n_nationkey)", "Rows Removed by Index Recheck": 0, "Exact Heap Blocks": 191, "Lossy Heap Blocks": 0, "Plans": [{"Node Type": "Bitmap Index Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Index Name": "s_nk", "Startup Cost": 0.0, "Total Cost": 5.49, "Plan Rows": 400, "Plan Width": 0, "Actual Startup Time": 0.039, "Actual Total Time": 0.039, "Actual Rows": 396, "Actual Loops": 1, "Index Cond": "(supplier.s_nationkey = nation.n_nationkey)"}]}]}, {"Node Type": "Hash", "Parent Relationship": "Inner", "Parallel Aware": false, "Startup Cost": 37778.72, "Total Cost": 37778.72, "Plan Rows": 3207, "Plan Width": 4, "Actual Startup Time": 183.296, "Actual Total Time": 183.298, "Actual Rows": 5970, "Actual Loops": 1, "Output": ["partsupp.ps_suppkey"], "Hash Buckets": 8192, "Original Hash Buckets": 4096, "Hash Batches": 1, "Original Hash Batches": 1, "Peak Memory Usage": 274, "Plans": [{"Node Type": "Nested Loop", "Parent Relationship": "Outer", "Parallel Aware": false, "Join Type": "Inner", "Startup Cost": 0.42, "Total Cost": 37778.72, "Plan Rows": 3207, "Plan Width": 4, "Actual Startup Time": 0.1, "Actual Total Time": 181.843, "Actual Rows": 5970, "Actual Loops": 1, "Output": ["partsupp.ps_suppkey"], "Inner Unique": false, "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Relation Name": "part", "Schema": "public", "Alias": "part", "Startup Cost": 0.0, "Total Cost": 6597.0, "Plan Rows": 2405, "Plan Width": 4, "Actual Startup Time": 0.023, "Actual Total Time": 28.557, "Actual Rows": 2186, "Actual Loops": 1, "Output": ["part.p_partkey", "part.p_name", "part.p_mfgr", "part.p_brand", "part.p_type", "part.p_size", "part.p_container", "part.p_retailprice", "part.p_comment"], "Filter": "((part.p_name)::text ~~ 'floral%'::text)", "Rows Removed by Filter": 197814}, {"Node Type": "Index Scan", "Parent Relationship": "Inner", "Parallel Aware": false, "Scan Direction": "Forward", "Index Name": "ps_pk", "Relation Name": "partsupp", "Schema": "public", "Alias": "partsupp", "Startup Cost": 0.42, "Total Cost": 12.96, "Plan Rows": 1, "Plan Width": 8, "Actual Startup Time": 0.027, "Actual Total Time": 0.069, "Actual Rows": 3, "Actual Loops": 2186, "Output": ["partsupp.ps_partkey", "partsupp.ps_suppkey", "partsupp.ps_availqty", "partsupp.ps_supplycost", "partsupp.ps_comment"], "Index Cond": "(partsupp.ps_partkey = part.p_partkey)", "Rows Removed by Index Recheck": 0, "Filter": "((partsupp.ps_availqty)::numeric > (SubPlan 1))", "Rows Removed by Filter": 1, "Plans": [{"Node Type": "Aggregate", "Strategy": "Plain", "Partial Mode": "Simple", "Parent Relationship": "SubPlan", "Subplan Name": "SubPlan 1", "Parallel Aware": false, "Startup Cost": 2.66, "Total Cost": 2.68, "Plan Rows": 1, "Plan Width": 32, "Actual Startup Time": 0.015, "Actual Total Time": 0.015, "Actual Rows": 1, "Actual Loops": 8744, "Output": ["(0.5 * sum(lineitem.l_quantity))"], "Plans": [{"Node Type": "Index Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Scan Direction": "Forward", "Index Name": "l_sk_pk", "Relation Name": "lineitem", "Schema": "public", "Alias": "lineitem", "Startup Cost": 0.43, "Total Cost": 2.66, "Plan Rows": 1, "Plan Width": 5, "Actual Startup Time": 0.01, "Actual Total Time": 0.015, "Actual Rows": 1, "Actual Loops": 8744, "Output": ["lineitem.l_orderkey", "lineitem.l_partkey", "lineitem.l_suppkey", "lineitem.l_linenumber", "lineitem.l_quantity", "lineitem.l_extendedprice", "lineitem.l_discount", "lineitem.l_tax", "lineitem.l_returnflag", "lineitem.l_linestatus", "lineitem.l_shipdate", "lineitem.l_commitdate", "lineitem.l_receiptdate", "lineitem.l_shipinstruct", "lineitem.l_shipmode", "lineitem.l_comment"], "Index Cond": "((lineitem.l_suppkey = partsupp.ps_suppkey) AND (lineitem.l_partkey = partsupp.ps_partkey))", "Rows Removed by Index Recheck": 0, "Filter": "((lineitem.l_shipdate >= '1996-01-01'::date) AND (lineitem.l_shipdate < '1997-01-01 00:00:00'::timestamp without time zone))", "Rows Removed by Filter": 6}]}]}]}]}]}]}, "Planning Time": 0.988, "Triggers": [], "Execution Time": 184.069} diff --git a/dev9/pg10/tpch/sf_1/explain_analyze/15721/21-1.ok b/dev9/pg10/tpch/sf_1/explain_analyze/15721/21-1.ok new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/dev9/pg10/tpch/sf_1/explain_analyze/15721/21-1.res b/dev9/pg10/tpch/sf_1/explain_analyze/15721/21-1.res new file mode 100644 index 0000000000000000000000000000000000000000..97c686a9abc3d47ba88e7db3a7a0d51ac2811236 --- /dev/null +++ b/dev9/pg10/tpch/sf_1/explain_analyze/15721/21-1.res @@ -0,0 +1 @@ +{"Plan": {"Node Type": "Limit", "Parallel Aware": false, "Startup Cost": 60531.83, "Total Cost": 60531.83, "Plan Rows": 1, "Plan Width": 34, "Actual Startup Time": 783.262, "Actual Total Time": 815.712, "Actual Rows": 100, "Actual Loops": 1, "Output": ["supplier.s_name", "(count(*))"], "Plans": [{"Node Type": "Sort", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 60531.83, "Total Cost": 60531.83, "Plan Rows": 1, "Plan Width": 34, "Actual Startup Time": 783.26, "Actual Total Time": 815.702, "Actual Rows": 100, "Actual Loops": 1, "Output": ["supplier.s_name", "(count(*))"], "Sort Key": ["(count(*)) DESC", "supplier.s_name"], "Sort Method": "top-N heapsort", "Sort Space Used": 37, "Sort Space Type": "Memory", "Plans": [{"Node Type": "Aggregate", "Strategy": "Sorted", "Partial Mode": "Simple", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 60531.8, "Total Cost": 60531.82, "Plan Rows": 1, "Plan Width": 34, "Actual Startup Time": 781.797, "Actual Total Time": 815.18, "Actual Rows": 407, "Actual Loops": 1, "Output": ["supplier.s_name", "count(*)"], "Group Key": ["supplier.s_name"], "Plans": [{"Node Type": "Sort", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 60531.8, "Total Cost": 60531.8, "Plan Rows": 1, "Plan Width": 26, "Actual Startup Time": 781.786, "Actual Total Time": 814.49, "Actual Rows": 3965, "Actual Loops": 1, "Output": ["supplier.s_name"], "Sort Key": ["supplier.s_name"], "Sort Method": "quicksort", "Sort Space Used": 406, "Sort Space Type": "Memory", "Plans": [{"Node Type": "Nested Loop", "Parent Relationship": "Outer", "Parallel Aware": false, "Join Type": "Anti", "Startup Cost": 13499.02, "Total Cost": 60531.79, "Plan Rows": 1, "Plan Width": 26, "Actual Startup Time": 386.581, "Actual Total Time": 799.426, "Actual Rows": 3965, "Actual Loops": 1, "Output": ["supplier.s_name"], "Inner Unique": false, "Plans": [{"Node Type": "Gather", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 13498.58, "Total Cost": 60531.15, "Plan Rows": 1, "Plan Width": 34, "Actual Startup Time": 385.973, "Actual Total Time": 560.025, "Actual Rows": 71419, "Actual Loops": 1, "Output": ["supplier.s_name", "l1.l_suppkey", "l1.l_orderkey"], "Workers Planned": 3, "Workers Launched": 3, "Single Copy": false, "Plans": [{"Node Type": "Nested Loop", "Parent Relationship": "Outer", "Parallel Aware": false, "Join Type": "Semi", "Startup Cost": 12498.58, "Total Cost": 59531.05, "Plan Rows": 1, "Plan Width": 34, "Actual Startup Time": 475.943, "Actual Total Time": 692.153, "Actual Rows": 17855, "Actual Loops": 4, "Output": ["supplier.s_name", "l1.l_suppkey", "l1.l_orderkey"], "Inner Unique": false, "Join Filter": "(orders.o_orderkey = l2.l_orderkey)", "Rows Removed by Join Filter": 0, "Workers": [{"Worker Number": 0, "Actual Startup Time": 506.166, "Actual Total Time": 754.76, "Actual Rows": 20196, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 506.135, "Actual Total Time": 754.738, "Actual Rows": 20034, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 506.033, "Actual Total Time": 754.776, "Actual Rows": 20188, "Actual Loops": 1}], "Plans": [{"Node Type": "Hash Join", "Parent Relationship": "Outer", "Parallel Aware": false, "Join Type": "Inner", "Startup Cost": 12498.15, "Total Cost": 51209.13, "Plan Rows": 12497, "Plan Width": 38, "Actual Startup Time": 475.909, "Actual Total Time": 609.856, "Actual Rows": 18520, "Actual Loops": 4, "Output": ["supplier.s_name", "l1.l_suppkey", "l1.l_orderkey", "orders.o_orderkey"], "Inner Unique": false, "Hash Cond": "(orders.o_orderkey = l1.l_orderkey)", "Workers": [{"Worker Number": 0, "Actual Startup Time": 506.128, "Actual Total Time": 658.274, "Actual Rows": 20912, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 506.106, "Actual Total Time": 658.518, "Actual Rows": 20820, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 505.979, "Actual Total Time": 659.165, "Actual Rows": 20938, "Actual Loops": 1}], "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": true, "Relation Name": "orders", "Schema": "public", "Alias": "orders", "Startup Cost": 0.0, "Total Cost": 32143.39, "Plan Rows": 234277, "Plan Width": 4, "Actual Startup Time": 0.022, "Actual Total Time": 88.715, "Actual Rows": 182353, "Actual Loops": 4, "Output": ["orders.o_orderkey", "orders.o_custkey", "orders.o_orderstatus", "orders.o_totalprice", "orders.o_orderdate", "orders.o_orderpriority", "orders.o_clerk", "orders.o_shippriority", "orders.o_comment"], "Filter": "(orders.o_orderstatus = 'F'::bpchar)", "Rows Removed by Filter": 192647, "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.03, "Actual Total Time": 101.385, "Actual Rows": 204120, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 0.031, "Actual Total Time": 102.265, "Actual Rows": 204240, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 0.023, "Actual Total Time": 103.124, "Actual Rows": 207575, "Actual Loops": 1}]}, {"Node Type": "Hash", "Parent Relationship": "Inner", "Parallel Aware": false, "Startup Cost": 11497.95, "Total Cost": 11497.95, "Plan Rows": 80016, "Plan Width": 34, "Actual Startup Time": 475.235, "Actual Total Time": 475.238, "Actual Rows": 153758, "Actual Loops": 4, "Output": ["supplier.s_name", "l1.l_suppkey", "l1.l_orderkey"], "Hash Buckets": 262144, "Original Hash Buckets": 131072, "Hash Batches": 1, "Original Hash Batches": 1, "Peak Memory Usage": 12259, "Workers": [{"Worker Number": 0, "Actual Startup Time": 505.296, "Actual Total Time": 505.299, "Actual Rows": 153758, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 505.258, "Actual Total Time": 505.261, "Actual Rows": 153758, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 505.132, "Actual Total Time": 505.135, "Actual Rows": 153758, "Actual Loops": 1}], "Plans": [{"Node Type": "Nested Loop", "Parent Relationship": "Outer", "Parallel Aware": false, "Join Type": "Inner", "Startup Cost": 6.02, "Total Cost": 11497.95, "Plan Rows": 80016, "Plan Width": 34, "Actual Startup Time": 0.217, "Actual Total Time": 429.801, "Actual Rows": 153758, "Actual Loops": 4, "Output": ["supplier.s_name", "l1.l_suppkey", "l1.l_orderkey"], "Inner Unique": false, "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.256, "Actual Total Time": 457.858, "Actual Rows": 153758, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 0.268, "Actual Total Time": 457.881, "Actual Rows": 153758, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 0.251, "Actual Total Time": 458.325, "Actual Rows": 153758, "Actual Loops": 1}], "Plans": [{"Node Type": "Nested Loop", "Parent Relationship": "Outer", "Parallel Aware": false, "Join Type": "Inner", "Startup Cost": 5.58, "Total Cost": 227.43, "Plan Rows": 400, "Plan Width": 30, "Actual Startup Time": 0.135, "Actual Total Time": 0.906, "Actual Rows": 407, "Actual Loops": 4, "Output": ["supplier.s_name", "supplier.s_suppkey"], "Inner Unique": false, "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.163, "Actual Total Time": 0.996, "Actual Rows": 407, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 0.156, "Actual Total Time": 0.998, "Actual Rows": 407, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 0.14, "Actual Total Time": 1.001, "Actual Rows": 407, "Actual Loops": 1}], "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Relation Name": "nation", "Schema": "public", "Alias": "nation", "Startup Cost": 0.0, "Total Cost": 1.31, "Plan Rows": 1, "Plan Width": 4, "Actual Startup Time": 0.023, "Actual Total Time": 0.027, "Actual Rows": 1, "Actual Loops": 4, "Output": ["nation.n_nationkey", "nation.n_name", "nation.n_regionkey", "nation.n_comment"], "Filter": "(nation.n_name = 'CHINA'::bpchar)", "Rows Removed by Filter": 24, "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.033, "Actual Total Time": 0.037, "Actual Rows": 1, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 0.032, "Actual Total Time": 0.036, "Actual Rows": 1, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 0.023, "Actual Total Time": 0.027, "Actual Rows": 1, "Actual Loops": 1}]}, {"Node Type": "Bitmap Heap Scan", "Parent Relationship": "Inner", "Parallel Aware": false, "Relation Name": "supplier", "Schema": "public", "Alias": "supplier", "Startup Cost": 5.58, "Total Cost": 222.11, "Plan Rows": 400, "Plan Width": 34, "Actual Startup Time": 0.108, "Actual Total Time": 0.788, "Actual Rows": 407, "Actual Loops": 4, "Output": ["supplier.s_suppkey", "supplier.s_name", "supplier.s_address", "supplier.s_nationkey", "supplier.s_phone", "supplier.s_acctbal", "supplier.s_comment"], "Recheck Cond": "(supplier.s_nationkey = nation.n_nationkey)", "Rows Removed by Index Recheck": 0, "Exact Heap Blocks": 186, "Lossy Heap Blocks": 0, "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.125, "Actual Total Time": 0.87, "Actual Rows": 407, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 0.119, "Actual Total Time": 0.874, "Actual Rows": 407, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 0.112, "Actual Total Time": 0.88, "Actual Rows": 407, "Actual Loops": 1}], "Plans": [{"Node Type": "Bitmap Index Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Index Name": "s_nk", "Startup Cost": 0.0, "Total Cost": 5.49, "Plan Rows": 400, "Plan Width": 0, "Actual Startup Time": 0.075, "Actual Total Time": 0.076, "Actual Rows": 407, "Actual Loops": 4, "Index Cond": "(supplier.s_nationkey = nation.n_nationkey)", "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.092, "Actual Total Time": 0.092, "Actual Rows": 407, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 0.089, "Actual Total Time": 0.089, "Actual Rows": 407, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 0.08, "Actual Total Time": 0.081, "Actual Rows": 407, "Actual Loops": 1}]}]}]}, {"Node Type": "Index Scan", "Parent Relationship": "Inner", "Parallel Aware": false, "Scan Direction": "Forward", "Index Name": "l_sk", "Relation Name": "lineitem", "Schema": "public", "Alias": "l1", "Startup Cost": 0.43, "Total Cost": 26.18, "Plan Rows": 200, "Plan Width": 8, "Actual Startup Time": 0.017, "Actual Total Time": 1.009, "Actual Rows": 378, "Actual Loops": 1628, "Output": ["l1.l_orderkey", "l1.l_partkey", "l1.l_suppkey", "l1.l_linenumber", "l1.l_quantity", "l1.l_extendedprice", "l1.l_discount", "l1.l_tax", "l1.l_returnflag", "l1.l_linestatus", "l1.l_shipdate", "l1.l_commitdate", "l1.l_receiptdate", "l1.l_shipinstruct", "l1.l_shipmode", "l1.l_comment"], "Index Cond": "(l1.l_suppkey = supplier.s_suppkey)", "Rows Removed by Index Recheck": 0, "Filter": "(l1.l_receiptdate > l1.l_commitdate)", "Rows Removed by Filter": 221, "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.019, "Actual Total Time": 1.078, "Actual Rows": 378, "Actual Loops": 407}, {"Worker Number": 1, "Actual Startup Time": 0.019, "Actual Total Time": 1.078, "Actual Rows": 378, "Actual Loops": 407}, {"Worker Number": 2, "Actual Startup Time": 0.019, "Actual Total Time": 1.079, "Actual Rows": 378, "Actual Loops": 407}]}]}]}]}, {"Node Type": "Index Scan", "Parent Relationship": "Inner", "Parallel Aware": false, "Scan Direction": "Forward", "Index Name": "l_ok", "Relation Name": "lineitem", "Schema": "public", "Alias": "l2", "Startup Cost": 0.43, "Total Cost": 0.6, "Plan Rows": 5, "Plan Width": 8, "Actual Startup Time": 0.004, "Actual Total Time": 0.004, "Actual Rows": 1, "Actual Loops": 74080, "Output": ["l2.l_orderkey", "l2.l_partkey", "l2.l_suppkey", "l2.l_linenumber", "l2.l_quantity", "l2.l_extendedprice", "l2.l_discount", "l2.l_tax", "l2.l_returnflag", "l2.l_linestatus", "l2.l_shipdate", "l2.l_commitdate", "l2.l_receiptdate", "l2.l_shipinstruct", "l2.l_shipmode", "l2.l_comment"], "Index Cond": "(l2.l_orderkey = l1.l_orderkey)", "Rows Removed by Index Recheck": 0, "Filter": "(l2.l_suppkey <> l1.l_suppkey)", "Rows Removed by Filter": 0, "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.004, "Actual Total Time": 0.004, "Actual Rows": 1, "Actual Loops": 20912}, {"Worker Number": 1, "Actual Startup Time": 0.004, "Actual Total Time": 0.004, "Actual Rows": 1, "Actual Loops": 20820}, {"Worker Number": 2, "Actual Startup Time": 0.004, "Actual Total Time": 0.004, "Actual Rows": 1, "Actual Loops": 20938}]}]}]}, {"Node Type": "Index Scan", "Parent Relationship": "Inner", "Parallel Aware": false, "Scan Direction": "Forward", "Index Name": "l_ok", "Relation Name": "lineitem", "Schema": "public", "Alias": "l3", "Startup Cost": 0.43, "Total Cost": 0.62, "Plan Rows": 2, "Plan Width": 8, "Actual Startup Time": 0.003, "Actual Total Time": 0.003, "Actual Rows": 1, "Actual Loops": 71419, "Output": ["l3.l_orderkey", "l3.l_partkey", "l3.l_suppkey", "l3.l_linenumber", "l3.l_quantity", "l3.l_extendedprice", "l3.l_discount", "l3.l_tax", "l3.l_returnflag", "l3.l_linestatus", "l3.l_shipdate", "l3.l_commitdate", "l3.l_receiptdate", "l3.l_shipinstruct", "l3.l_shipmode", "l3.l_comment"], "Index Cond": "(l3.l_orderkey = l1.l_orderkey)", "Rows Removed by Index Recheck": 0, "Filter": "((l3.l_receiptdate > l3.l_commitdate) AND (l3.l_suppkey <> l1.l_suppkey))", "Rows Removed by Filter": 1}]}]}]}]}]}, "Planning Time": 3.705, "Triggers": [], "Execution Time": 815.852} diff --git a/dev9/pg10/tpch/sf_1/explain_analyze/15721/22-1.ok b/dev9/pg10/tpch/sf_1/explain_analyze/15721/22-1.ok new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/dev9/pg10/tpch/sf_1/explain_analyze/15721/22-1.res b/dev9/pg10/tpch/sf_1/explain_analyze/15721/22-1.res new file mode 100644 index 0000000000000000000000000000000000000000..4fcd84c03c4fa2b9829843a64593d94b6ccde2c0 --- /dev/null +++ b/dev9/pg10/tpch/sf_1/explain_analyze/15721/22-1.res @@ -0,0 +1 @@ +{"Plan": {"Node Type": "Aggregate", "Strategy": "Sorted", "Partial Mode": "Simple", "Parallel Aware": false, "Startup Cost": 14754.49, "Total Cost": 14773.03, "Plan Rows": 674, "Plan Width": 72, "Actual Startup Time": 172.0, "Actual Total Time": 173.656, "Actual Rows": 7, "Actual Loops": 1, "Output": ["(\"substring\"((customer.c_phone)::text, 1, 2))", "count(*)", "sum(customer.c_acctbal)"], "Group Key": ["(\"substring\"((customer.c_phone)::text, 1, 2))"], "Plans": [{"Node Type": "Aggregate", "Strategy": "Plain", "Partial Mode": "Finalize", "Parent Relationship": "InitPlan", "Subplan Name": "InitPlan 1 (returns $1)", "Parallel Aware": false, "Startup Cost": 6230.82, "Total Cost": 6230.83, "Plan Rows": 1, "Plan Width": 32, "Actual Startup Time": 42.671, "Actual Total Time": 42.728, "Actual Rows": 1, "Actual Loops": 1, "Output": ["avg(customer_1.c_acctbal)"], "Plans": [{"Node Type": "Gather", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 6230.6, "Total Cost": 6230.81, "Plan Rows": 2, "Plan Width": 32, "Actual Startup Time": 42.614, "Actual Total Time": 42.718, "Actual Rows": 3, "Actual Loops": 1, "Output": ["(PARTIAL avg(customer_1.c_acctbal))"], "Workers Planned": 2, "Workers Launched": 2, "Single Copy": false, "Plans": [{"Node Type": "Aggregate", "Strategy": "Plain", "Partial Mode": "Partial", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 5230.6, "Total Cost": 5230.61, "Plan Rows": 1, "Plan Width": 32, "Actual Startup Time": 40.112, "Actual Total Time": 40.112, "Actual Rows": 1, "Actual Loops": 3, "Output": ["PARTIAL avg(customer_1.c_acctbal)"], "Workers": [{"Worker Number": 0, "Actual Startup Time": 38.974, "Actual Total Time": 38.975, "Actual Rows": 1, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 39.009, "Actual Total Time": 39.009, "Actual Rows": 1, "Actual Loops": 1}], "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": true, "Relation Name": "customer", "Schema": "public", "Alias": "customer_1", "Startup Cost": 0.0, "Total Cost": 5225.62, "Plan Rows": 1988, "Plan Width": 6, "Actual Startup Time": 0.024, "Actual Total Time": 38.353, "Actual Rows": 12636, "Actual Loops": 3, "Output": ["customer_1.c_acctbal"], "Filter": "((customer_1.c_acctbal > 0.00) AND (\"substring\"((customer_1.c_phone)::text, 1, 2) = ANY ('{17,20,25,31,30,11,33}'::text[])))", "Rows Removed by Filter": 37364, "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.027, "Actual Total Time": 37.309, "Actual Rows": 11850, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 0.036, "Actual Total Time": 37.361, "Actual Rows": 11682, "Actual Loops": 1}]}]}]}]}, {"Node Type": "Sort", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 8523.66, "Total Cost": 8525.35, "Plan Rows": 674, "Plan Width": 38, "Actual Startup Time": 171.726, "Actual Total Time": 172.111, "Actual Rows": 6336, "Actual Loops": 1, "Output": ["(\"substring\"((customer.c_phone)::text, 1, 2))", "customer.c_acctbal"], "Sort Key": ["(\"substring\"((customer.c_phone)::text, 1, 2))"], "Sort Method": "quicksort", "Sort Space Used": 490, "Sort Space Type": "Memory", "Plans": [{"Node Type": "Nested Loop", "Parent Relationship": "Outer", "Parallel Aware": false, "Join Type": "Anti", "Startup Cost": 0.43, "Total Cost": 8492.0, "Plan Rows": 674, "Plan Width": 38, "Actual Startup Time": 42.699, "Actual Total Time": 169.739, "Actual Rows": 6336, "Actual Loops": 1, "Output": ["\"substring\"((customer.c_phone)::text, 1, 2)", "customer.c_acctbal"], "Inner Unique": false, "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Relation Name": "customer", "Schema": "public", "Alias": "customer", "Startup Cost": 0.0, "Total Cost": 7522.5, "Plan Rows": 1750, "Plan Width": 26, "Actual Startup Time": 42.684, "Actual Total Time": 119.827, "Actual Rows": 18883, "Actual Loops": 1, "Output": ["customer.c_custkey", "customer.c_name", "customer.c_address", "customer.c_nationkey", "customer.c_phone", "customer.c_acctbal", "customer.c_mktsegment", "customer.c_comment"], "Filter": "((customer.c_acctbal > $1) AND (\"substring\"((customer.c_phone)::text, 1, 2) = ANY ('{17,20,25,31,30,11,33}'::text[])))", "Rows Removed by Filter": 131117}, {"Node Type": "Index Only Scan", "Parent Relationship": "Inner", "Parallel Aware": false, "Scan Direction": "Forward", "Index Name": "o_ck", "Relation Name": "orders", "Schema": "public", "Alias": "orders", "Startup Cost": 0.43, "Total Cost": 1.62, "Plan Rows": 16, "Plan Width": 4, "Actual Startup Time": 0.002, "Actual Total Time": 0.002, "Actual Rows": 1, "Actual Loops": 18883, "Output": ["orders.o_custkey"], "Index Cond": "(orders.o_custkey = customer.c_custkey)", "Rows Removed by Index Recheck": 0, "Heap Fetches": 0}]}]}]}, "Planning Time": 0.473, "Triggers": [], "Execution Time": 173.722} diff --git a/dev9/pg10/tpch/sf_1/explain_analyze/15721/3-1.ok b/dev9/pg10/tpch/sf_1/explain_analyze/15721/3-1.ok new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/dev9/pg10/tpch/sf_1/explain_analyze/15721/3-1.res b/dev9/pg10/tpch/sf_1/explain_analyze/15721/3-1.res new file mode 100644 index 0000000000000000000000000000000000000000..5e9f59bc15ff36b289ce0041913c29062123607a --- /dev/null +++ b/dev9/pg10/tpch/sf_1/explain_analyze/15721/3-1.res @@ -0,0 +1 @@ +{"Plan": {"Node Type": "Limit", "Parallel Aware": false, "Startup Cost": 134503.09, "Total Cost": 134503.11, "Plan Rows": 10, "Plan Width": 44, "Actual Startup Time": 562.712, "Actual Total Time": 618.49, "Actual Rows": 10, "Actual Loops": 1, "Output": ["lineitem.l_orderkey", "(sum((lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount))))", "orders.o_orderdate", "orders.o_shippriority"], "Plans": [{"Node Type": "Sort", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 134503.09, "Total Cost": 135286.03, "Plan Rows": 313179, "Plan Width": 44, "Actual Startup Time": 562.71, "Actual Total Time": 618.486, "Actual Rows": 10, "Actual Loops": 1, "Output": ["lineitem.l_orderkey", "(sum((lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount))))", "orders.o_orderdate", "orders.o_shippriority"], "Sort Key": ["(sum((lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount)))) DESC", "orders.o_orderdate"], "Sort Method": "top-N heapsort", "Sort Space Used": 26, "Sort Space Type": "Memory", "Plans": [{"Node Type": "Aggregate", "Strategy": "Sorted", "Partial Mode": "Finalize", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 86519.86, "Total Cost": 127735.4, "Plan Rows": 313179, "Plan Width": 44, "Actual Startup Time": 535.765, "Actual Total Time": 615.726, "Actual Rows": 11439, "Actual Loops": 1, "Output": ["lineitem.l_orderkey", "sum((lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount)))", "orders.o_orderdate", "orders.o_shippriority"], "Group Key": ["lineitem.l_orderkey", "orders.o_orderdate", "orders.o_shippriority"], "Plans": [{"Node Type": "Gather Merge", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 86519.86, "Total Cost": 120558.39, "Plan Rows": 260982, "Plan Width": 44, "Actual Startup Time": 535.755, "Actual Total Time": 605.904, "Actual Rows": 11439, "Actual Loops": 1, "Output": ["lineitem.l_orderkey", "orders.o_orderdate", "orders.o_shippriority", "(PARTIAL sum((lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount))))"], "Workers Planned": 2, "Workers Launched": 2, "Plans": [{"Node Type": "Aggregate", "Strategy": "Sorted", "Partial Mode": "Partial", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 85519.84, "Total Cost": 89434.57, "Plan Rows": 130491, "Plan Width": 44, "Actual Startup Time": 532.319, "Actual Total Time": 541.589, "Actual Rows": 3813, "Actual Loops": 3, "Output": ["lineitem.l_orderkey", "orders.o_orderdate", "orders.o_shippriority", "PARTIAL sum((lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount)))"], "Group Key": ["lineitem.l_orderkey", "orders.o_orderdate", "orders.o_shippriority"], "Workers": [{"Worker Number": 0, "Actual Startup Time": 530.793, "Actual Total Time": 539.42, "Actual Rows": 3569, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 530.823, "Actual Total Time": 539.736, "Actual Rows": 3669, "Actual Loops": 1}], "Plans": [{"Node Type": "Sort", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 85519.84, "Total Cost": 85846.06, "Plan Rows": 130491, "Plan Width": 24, "Actual Startup Time": 532.297, "Actual Total Time": 533.149, "Actual Rows": 10095, "Actual Loops": 3, "Output": ["lineitem.l_orderkey", "orders.o_orderdate", "orders.o_shippriority", "lineitem.l_extendedprice", "lineitem.l_discount"], "Sort Key": ["lineitem.l_orderkey", "orders.o_orderdate", "orders.o_shippriority"], "Sort Method": "quicksort", "Sort Space Used": 1259, "Sort Space Type": "Memory", "Workers": [{"Worker Number": 0, "Actual Startup Time": 530.768, "Actual Total Time": 531.506, "Actual Rows": 9419, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 530.804, "Actual Total Time": 531.643, "Actual Rows": 9674, "Actual Loops": 1}], "Plans": [{"Node Type": "Nested Loop", "Parent Relationship": "Outer", "Parallel Aware": false, "Join Type": "Inner", "Startup Cost": 0.86, "Total Cost": 74432.28, "Plan Rows": 130491, "Plan Width": 24, "Actual Startup Time": 0.827, "Actual Total Time": 527.23, "Actual Rows": 10095, "Actual Loops": 3, "Output": ["lineitem.l_orderkey", "orders.o_orderdate", "orders.o_shippriority", "lineitem.l_extendedprice", "lineitem.l_discount"], "Inner Unique": false, "Workers": [{"Worker Number": 0, "Actual Startup Time": 1.061, "Actual Total Time": 525.887, "Actual Rows": 9419, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 1.317, "Actual Total Time": 525.833, "Actual Rows": 9674, "Actual Loops": 1}], "Plans": [{"Node Type": "Nested Loop", "Parent Relationship": "Outer", "Parallel Aware": false, "Join Type": "Inner", "Startup Cost": 0.43, "Total Cost": 28546.26, "Plan Rows": 60582, "Plan Width": 12, "Actual Startup Time": 0.082, "Actual Total Time": 181.906, "Actual Rows": 48593, "Actual Loops": 3, "Output": ["orders.o_orderdate", "orders.o_shippriority", "orders.o_orderkey"], "Inner Unique": false, "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.099, "Actual Total Time": 177.634, "Actual Rows": 45432, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 0.116, "Actual Total Time": 177.713, "Actual Rows": 45939, "Actual Loops": 1}], "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": true, "Relation Name": "customer", "Schema": "public", "Alias": "customer", "Startup Cost": 0.0, "Total Cost": 4366.25, "Plan Rows": 12487, "Plan Width": 4, "Actual Startup Time": 0.018, "Actual Total Time": 17.935, "Actual Rows": 9989, "Actual Loops": 3, "Output": ["customer.c_custkey", "customer.c_name", "customer.c_address", "customer.c_nationkey", "customer.c_phone", "customer.c_acctbal", "customer.c_mktsegment", "customer.c_comment"], "Filter": "(customer.c_mktsegment = 'FURNITURE'::bpchar)", "Rows Removed by Filter": 40011, "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.02, "Actual Total Time": 17.682, "Actual Rows": 9337, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 0.027, "Actual Total Time": 17.646, "Actual Rows": 9428, "Actual Loops": 1}]}, {"Node Type": "Index Scan", "Parent Relationship": "Inner", "Parallel Aware": false, "Scan Direction": "Forward", "Index Name": "o_ck", "Relation Name": "orders", "Schema": "public", "Alias": "orders", "Startup Cost": 0.43, "Total Cost": 1.86, "Plan Rows": 8, "Plan Width": 16, "Actual Startup Time": 0.004, "Actual Total Time": 0.015, "Actual Rows": 5, "Actual Loops": 29968, "Output": ["orders.o_orderkey", "orders.o_custkey", "orders.o_orderstatus", "orders.o_totalprice", "orders.o_orderdate", "orders.o_orderpriority", "orders.o_clerk", "orders.o_shippriority", "orders.o_comment"], "Index Cond": "(orders.o_custkey = customer.c_custkey)", "Rows Removed by Index Recheck": 0, "Filter": "(orders.o_orderdate < '1995-03-20'::date)", "Rows Removed by Filter": 5, "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.005, "Actual Total Time": 0.016, "Actual Rows": 5, "Actual Loops": 9337}, {"Worker Number": 1, "Actual Startup Time": 0.005, "Actual Total Time": 0.016, "Actual Rows": 5, "Actual Loops": 9428}]}]}, {"Node Type": "Index Scan", "Parent Relationship": "Inner", "Parallel Aware": false, "Scan Direction": "Forward", "Index Name": "l_ok", "Relation Name": "lineitem", "Schema": "public", "Alias": "lineitem", "Startup Cost": 0.43, "Total Cost": 0.73, "Plan Rows": 3, "Plan Width": 16, "Actual Startup Time": 0.007, "Actual Total Time": 0.007, "Actual Rows": 0, "Actual Loops": 145780, "Output": ["lineitem.l_orderkey", "lineitem.l_partkey", "lineitem.l_suppkey", "lineitem.l_linenumber", "lineitem.l_quantity", "lineitem.l_extendedprice", "lineitem.l_discount", "lineitem.l_tax", "lineitem.l_returnflag", "lineitem.l_linestatus", "lineitem.l_shipdate", "lineitem.l_commitdate", "lineitem.l_receiptdate", "lineitem.l_shipinstruct", "lineitem.l_shipmode", "lineitem.l_comment"], "Index Cond": "(lineitem.l_orderkey = orders.o_orderkey)", "Rows Removed by Index Recheck": 0, "Filter": "(lineitem.l_shipdate > '1995-03-20'::date)", "Rows Removed by Filter": 4, "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.007, "Actual Total Time": 0.007, "Actual Rows": 0, "Actual Loops": 45432}, {"Worker Number": 1, "Actual Startup Time": 0.007, "Actual Total Time": 0.007, "Actual Rows": 0, "Actual Loops": 45939}]}]}]}]}]}]}]}]}, "Planning Time": 0.972, "Triggers": [], "Execution Time": 618.561} diff --git a/dev9/pg10/tpch/sf_1/explain_analyze/15721/4-1.ok b/dev9/pg10/tpch/sf_1/explain_analyze/15721/4-1.ok new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/dev9/pg10/tpch/sf_1/explain_analyze/15721/4-1.res b/dev9/pg10/tpch/sf_1/explain_analyze/15721/4-1.res new file mode 100644 index 0000000000000000000000000000000000000000..396f6ec63f8758fb7d68b5da8a996eb2f0ef7beb --- /dev/null +++ b/dev9/pg10/tpch/sf_1/explain_analyze/15721/4-1.res @@ -0,0 +1 @@ +{"Plan": {"Node Type": "Aggregate", "Strategy": "Sorted", "Partial Mode": "Finalize", "Parallel Aware": false, "Startup Cost": 53630.63, "Total Cost": 53630.79, "Plan Rows": 5, "Plan Width": 24, "Actual Startup Time": 141.011, "Actual Total Time": 172.472, "Actual Rows": 5, "Actual Loops": 1, "Output": ["orders.o_orderpriority", "count(*)"], "Group Key": ["orders.o_orderpriority"], "Plans": [{"Node Type": "Sort", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 53630.63, "Total Cost": 53630.67, "Plan Rows": 15, "Plan Width": 24, "Actual Startup Time": 141.005, "Actual Total Time": 172.462, "Actual Rows": 20, "Actual Loops": 1, "Output": ["orders.o_orderpriority", "(PARTIAL count(*))"], "Sort Key": ["orders.o_orderpriority"], "Sort Method": "quicksort", "Sort Space Used": 26, "Sort Space Type": "Memory", "Plans": [{"Node Type": "Gather", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 53628.79, "Total Cost": 53630.34, "Plan Rows": 15, "Plan Width": 24, "Actual Startup Time": 140.709, "Actual Total Time": 172.436, "Actual Rows": 20, "Actual Loops": 1, "Output": ["orders.o_orderpriority", "(PARTIAL count(*))"], "Workers Planned": 3, "Workers Launched": 3, "Single Copy": false, "Plans": [{"Node Type": "Aggregate", "Strategy": "Hashed", "Partial Mode": "Partial", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 52628.79, "Total Cost": 52628.84, "Plan Rows": 5, "Plan Width": 24, "Actual Startup Time": 137.472, "Actual Total Time": 137.475, "Actual Rows": 5, "Actual Loops": 4, "Output": ["orders.o_orderpriority", "PARTIAL count(*)"], "Group Key": ["orders.o_orderpriority"], "Workers": [{"Worker Number": 0, "Actual Startup Time": 136.494, "Actual Total Time": 136.497, "Actual Rows": 5, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 136.506, "Actual Total Time": 136.51, "Actual Rows": 5, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 136.564, "Actual Total Time": 136.566, "Actual Rows": 5, "Actual Loops": 1}], "Plans": [{"Node Type": "Nested Loop", "Parent Relationship": "Outer", "Parallel Aware": false, "Join Type": "Semi", "Startup Cost": 767.8, "Total Cost": 52552.58, "Plan Rows": 15242, "Plan Width": 16, "Actual Startup Time": 15.415, "Actual Total Time": 133.006, "Actual Rows": 12952, "Actual Loops": 4, "Output": ["orders.o_orderpriority"], "Inner Unique": false, "Workers": [{"Worker Number": 0, "Actual Startup Time": 14.747, "Actual Total Time": 132.499, "Actual Rows": 11007, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 14.758, "Actual Total Time": 132.482, "Actual Rows": 11024, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 14.792, "Actual Total Time": 132.558, "Actual Rows": 11097, "Actual Loops": 1}], "Plans": [{"Node Type": "Bitmap Heap Scan", "Parent Relationship": "Outer", "Parallel Aware": true, "Relation Name": "orders", "Schema": "public", "Alias": "orders", "Startup Cost": 767.37, "Total Cost": 27141.85, "Plan Rows": 18632, "Plan Width": 20, "Actual Startup Time": 15.352, "Actual Total Time": 41.708, "Actual Rows": 14142, "Actual Loops": 4, "Output": ["orders.o_orderkey", "orders.o_custkey", "orders.o_orderstatus", "orders.o_totalprice", "orders.o_orderdate", "orders.o_orderpriority", "orders.o_clerk", "orders.o_shippriority", "orders.o_comment"], "Recheck Cond": "((orders.o_orderdate >= '1996-01-01'::date) AND (orders.o_orderdate < '1996-04-01 00:00:00'::timestamp without time zone))", "Rows Removed by Index Recheck": 0, "Exact Heap Blocks": 8407, "Lossy Heap Blocks": 0, "Workers": [{"Worker Number": 0, "Actual Startup Time": 14.67, "Actual Total Time": 41.661, "Actual Rows": 12047, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 14.68, "Actual Total Time": 41.564, "Actual Rows": 12038, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 14.715, "Actual Total Time": 41.623, "Actual Rows": 12114, "Actual Loops": 1}], "Plans": [{"Node Type": "Bitmap Index Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Index Name": "o_od", "Startup Cost": 0.0, "Total Cost": 752.93, "Plan Rows": 57760, "Plan Width": 0, "Actual Startup Time": 10.95, "Actual Total Time": 10.951, "Actual Rows": 56568, "Actual Loops": 1, "Index Cond": "((orders.o_orderdate >= '1996-01-01'::date) AND (orders.o_orderdate < '1996-04-01 00:00:00'::timestamp without time zone))"}]}, {"Node Type": "Index Scan", "Parent Relationship": "Inner", "Parallel Aware": false, "Scan Direction": "Forward", "Index Name": "l_ok", "Relation Name": "lineitem", "Schema": "public", "Alias": "lineitem", "Startup Cost": 0.43, "Total Cost": 1.72, "Plan Rows": 2, "Plan Width": 4, "Actual Startup Time": 0.006, "Actual Total Time": 0.006, "Actual Rows": 1, "Actual Loops": 56568, "Output": ["lineitem.l_orderkey", "lineitem.l_partkey", "lineitem.l_suppkey", "lineitem.l_linenumber", "lineitem.l_quantity", "lineitem.l_extendedprice", "lineitem.l_discount", "lineitem.l_tax", "lineitem.l_returnflag", "lineitem.l_linestatus", "lineitem.l_shipdate", "lineitem.l_commitdate", "lineitem.l_receiptdate", "lineitem.l_shipinstruct", "lineitem.l_shipmode", "lineitem.l_comment"], "Index Cond": "(lineitem.l_orderkey = orders.o_orderkey)", "Rows Removed by Index Recheck": 0, "Filter": "(lineitem.l_commitdate < lineitem.l_receiptdate)", "Rows Removed by Filter": 1, "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.007, "Actual Total Time": 0.007, "Actual Rows": 1, "Actual Loops": 12047}, {"Worker Number": 1, "Actual Startup Time": 0.007, "Actual Total Time": 0.007, "Actual Rows": 1, "Actual Loops": 12038}, {"Worker Number": 2, "Actual Startup Time": 0.007, "Actual Total Time": 0.007, "Actual Rows": 1, "Actual Loops": 12114}]}]}]}]}]}]}, "Planning Time": 0.53, "Triggers": [], "Execution Time": 172.552} diff --git a/dev9/pg10/tpch/sf_1/explain_analyze/15721/5-1.ok b/dev9/pg10/tpch/sf_1/explain_analyze/15721/5-1.ok new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/dev9/pg10/tpch/sf_1/explain_analyze/15721/5-1.res b/dev9/pg10/tpch/sf_1/explain_analyze/15721/5-1.res new file mode 100644 index 0000000000000000000000000000000000000000..649fa476405ccd822f4a503d00519aa061528f01 --- /dev/null +++ b/dev9/pg10/tpch/sf_1/explain_analyze/15721/5-1.res @@ -0,0 +1 @@ +{"Plan": {"Node Type": "Sort", "Parallel Aware": false, "Startup Cost": 42219.5, "Total Cost": 42219.56, "Plan Rows": 25, "Plan Width": 58, "Actual Startup Time": 324.178, "Actual Total Time": 364.99, "Actual Rows": 5, "Actual Loops": 1, "Output": ["nation.n_name", "(sum((lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount))))"], "Sort Key": ["(sum((lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount)))) DESC"], "Sort Method": "quicksort", "Sort Space Used": 25, "Sort Space Type": "Memory", "Plans": [{"Node Type": "Aggregate", "Strategy": "Sorted", "Partial Mode": "Finalize", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 42173.99, "Total Cost": 42218.92, "Plan Rows": 25, "Plan Width": 58, "Actual Startup Time": 322.901, "Actual Total Time": 364.98, "Actual Rows": 5, "Actual Loops": 1, "Output": ["nation.n_name", "sum((lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount)))"], "Group Key": ["nation.n_name"], "Plans": [{"Node Type": "Gather Merge", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 42173.99, "Total Cost": 42218.23, "Plan Rows": 50, "Plan Width": 58, "Actual Startup Time": 322.536, "Actual Total Time": 364.96, "Actual Rows": 15, "Actual Loops": 1, "Output": ["nation.n_name", "(PARTIAL sum((lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount))))"], "Workers Planned": 2, "Workers Launched": 2, "Plans": [{"Node Type": "Aggregate", "Strategy": "Sorted", "Partial Mode": "Partial", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 41173.97, "Total Cost": 41212.43, "Plan Rows": 25, "Plan Width": 58, "Actual Startup Time": 319.386, "Actual Total Time": 320.566, "Actual Rows": 5, "Actual Loops": 3, "Output": ["nation.n_name", "PARTIAL sum((lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount)))"], "Group Key": ["nation.n_name"], "Workers": [{"Worker Number": 0, "Actual Startup Time": 317.991, "Actual Total Time": 319.033, "Actual Rows": 5, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 318.181, "Actual Total Time": 319.269, "Actual Rows": 5, "Actual Loops": 1}], "Plans": [{"Node Type": "Sort", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 41173.97, "Total Cost": 41181.6, "Plan Rows": 3052, "Plan Width": 38, "Actual Startup Time": 319.086, "Actual Total Time": 319.241, "Actual Rows": 2456, "Actual Loops": 3, "Output": ["nation.n_name", "lineitem.l_extendedprice", "lineitem.l_discount"], "Sort Key": ["nation.n_name"], "Sort Method": "quicksort", "Sort Space Used": 322, "Sort Space Type": "Memory", "Workers": [{"Worker Number": 0, "Actual Startup Time": 317.694, "Actual Total Time": 317.831, "Actual Rows": 2227, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 317.915, "Actual Total Time": 318.058, "Actual Rows": 2256, "Actual Loops": 1}], "Plans": [{"Node Type": "Hash Join", "Parent Relationship": "Outer", "Parallel Aware": false, "Join Type": "Inner", "Startup Cost": 475.37, "Total Cost": 40997.33, "Plan Rows": 3052, "Plan Width": 38, "Actual Startup Time": 5.409, "Actual Total Time": 317.895, "Actual Rows": 2456, "Actual Loops": 3, "Output": ["nation.n_name", "lineitem.l_extendedprice", "lineitem.l_discount"], "Inner Unique": true, "Hash Cond": "((lineitem.l_suppkey = supplier.s_suppkey) AND (customer.c_nationkey = supplier.s_nationkey))", "Workers": [{"Worker Number": 0, "Actual Startup Time": 5.765, "Actual Total Time": 316.517, "Actual Rows": 2227, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 6.513, "Actual Total Time": 316.678, "Actual Rows": 2256, "Actual Loops": 1}], "Plans": [{"Node Type": "Nested Loop", "Parent Relationship": "Outer", "Parallel Aware": false, "Join Type": "Inner", "Startup Cost": 3.37, "Total Cost": 40124.81, "Plan Rows": 76289, "Plan Width": 50, "Actual Startup Time": 0.272, "Actual Total Time": 301.751, "Actual Rows": 60955, "Actual Loops": 3, "Output": ["customer.c_nationkey", "lineitem.l_extendedprice", "lineitem.l_discount", "lineitem.l_suppkey", "nation.n_name", "nation.n_nationkey"], "Inner Unique": false, "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.33, "Actual Total Time": 300.844, "Actual Rows": 55453, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 0.418, "Actual Total Time": 301.051, "Actual Rows": 56283, "Actual Loops": 1}], "Plans": [{"Node Type": "Nested Loop", "Parent Relationship": "Outer", "Parallel Aware": false, "Join Type": "Inner", "Startup Cost": 2.94, "Total Cost": 17434.98, "Plan Rows": 19068, "Plan Width": 38, "Actual Startup Time": 0.221, "Actual Total Time": 166.869, "Actual Rows": 15210, "Actual Loops": 3, "Output": ["customer.c_nationkey", "orders.o_orderkey", "nation.n_name", "nation.n_nationkey"], "Inner Unique": false, "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.257, "Actual Total Time": 159.887, "Actual Rows": 13919, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 0.347, "Actual Total Time": 159.896, "Actual Rows": 14008, "Actual Loops": 1}], "Plans": [{"Node Type": "Hash Join", "Parent Relationship": "Outer", "Parallel Aware": false, "Join Type": "Inner", "Startup Cost": 2.51, "Total Cost": 4571.88, "Plan Rows": 12500, "Plan Width": 38, "Actual Startup Time": 0.097, "Actual Total Time": 20.585, "Actual Rows": 9984, "Actual Loops": 3, "Output": ["customer.c_custkey", "customer.c_nationkey", "nation.n_name", "nation.n_nationkey"], "Inner Unique": false, "Hash Cond": "(customer.c_nationkey = nation.n_nationkey)", "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.126, "Actual Total Time": 19.915, "Actual Rows": 9114, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 0.128, "Actual Total Time": 19.841, "Actual Rows": 9264, "Actual Loops": 1}], "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": true, "Relation Name": "customer", "Schema": "public", "Alias": "customer", "Startup Cost": 0.0, "Total Cost": 4210.0, "Plan Rows": 62500, "Plan Width": 8, "Actual Startup Time": 0.012, "Actual Total Time": 6.035, "Actual Rows": 50000, "Actual Loops": 3, "Output": ["customer.c_custkey", "customer.c_name", "customer.c_address", "customer.c_nationkey", "customer.c_phone", "customer.c_acctbal", "customer.c_mktsegment", "customer.c_comment"], "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.015, "Actual Total Time": 6.03, "Actual Rows": 45969, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 0.018, "Actual Total Time": 6.129, "Actual Rows": 46392, "Actual Loops": 1}]}, {"Node Type": "Hash", "Parent Relationship": "Inner", "Parallel Aware": false, "Startup Cost": 2.45, "Total Cost": 2.45, "Plan Rows": 5, "Plan Width": 30, "Actual Startup Time": 0.046, "Actual Total Time": 0.048, "Actual Rows": 5, "Actual Loops": 3, "Output": ["nation.n_name", "nation.n_nationkey"], "Hash Buckets": 1024, "Original Hash Buckets": 1024, "Hash Batches": 1, "Original Hash Batches": 1, "Peak Memory Usage": 9, "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.055, "Actual Total Time": 0.057, "Actual Rows": 5, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 0.057, "Actual Total Time": 0.059, "Actual Rows": 5, "Actual Loops": 1}], "Plans": [{"Node Type": "Hash Join", "Parent Relationship": "Outer", "Parallel Aware": false, "Join Type": "Inner", "Startup Cost": 1.07, "Total Cost": 2.45, "Plan Rows": 5, "Plan Width": 30, "Actual Startup Time": 0.036, "Actual Total Time": 0.044, "Actual Rows": 5, "Actual Loops": 3, "Output": ["nation.n_name", "nation.n_nationkey"], "Inner Unique": true, "Hash Cond": "(nation.n_regionkey = region.r_regionkey)", "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.045, "Actual Total Time": 0.053, "Actual Rows": 5, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 0.046, "Actual Total Time": 0.054, "Actual Rows": 5, "Actual Loops": 1}], "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Relation Name": "nation", "Schema": "public", "Alias": "nation", "Startup Cost": 0.0, "Total Cost": 1.25, "Plan Rows": 25, "Plan Width": 34, "Actual Startup Time": 0.011, "Actual Total Time": 0.013, "Actual Rows": 25, "Actual Loops": 3, "Output": ["nation.n_nationkey", "nation.n_name", "nation.n_regionkey", "nation.n_comment"], "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.016, "Actual Total Time": 0.018, "Actual Rows": 25, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 0.016, "Actual Total Time": 0.018, "Actual Rows": 25, "Actual Loops": 1}]}, {"Node Type": "Hash", "Parent Relationship": "Inner", "Parallel Aware": false, "Startup Cost": 1.06, "Total Cost": 1.06, "Plan Rows": 1, "Plan Width": 4, "Actual Startup Time": 0.013, "Actual Total Time": 0.014, "Actual Rows": 1, "Actual Loops": 3, "Output": ["region.r_regionkey"], "Hash Buckets": 1024, "Original Hash Buckets": 1024, "Hash Batches": 1, "Original Hash Batches": 1, "Peak Memory Usage": 9, "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.017, "Actual Total Time": 0.018, "Actual Rows": 1, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 0.017, "Actual Total Time": 0.017, "Actual Rows": 1, "Actual Loops": 1}], "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Relation Name": "region", "Schema": "public", "Alias": "region", "Startup Cost": 0.0, "Total Cost": 1.06, "Plan Rows": 1, "Plan Width": 4, "Actual Startup Time": 0.008, "Actual Total Time": 0.009, "Actual Rows": 1, "Actual Loops": 3, "Output": ["region.r_regionkey"], "Filter": "(region.r_name = 'AMERICA'::bpchar)", "Rows Removed by Filter": 4, "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.011, "Actual Total Time": 0.012, "Actual Rows": 1, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 0.01, "Actual Total Time": 0.011, "Actual Rows": 1, "Actual Loops": 1}]}]}]}]}]}, {"Node Type": "Index Scan", "Parent Relationship": "Inner", "Parallel Aware": false, "Scan Direction": "Forward", "Index Name": "o_ck", "Relation Name": "orders", "Schema": "public", "Alias": "orders", "Startup Cost": 0.43, "Total Cost": 1.01, "Plan Rows": 2, "Plan Width": 8, "Actual Startup Time": 0.007, "Actual Total Time": 0.014, "Actual Rows": 2, "Actual Loops": 29952, "Output": ["orders.o_orderkey", "orders.o_custkey", "orders.o_orderstatus", "orders.o_totalprice", "orders.o_orderdate", "orders.o_orderpriority", "orders.o_clerk", "orders.o_shippriority", "orders.o_comment"], "Index Cond": "(orders.o_custkey = customer.c_custkey)", "Rows Removed by Index Recheck": 0, "Filter": "((orders.o_orderdate >= '1995-01-01'::date) AND (orders.o_orderdate < '1996-01-01 00:00:00'::timestamp without time zone))", "Rows Removed by Filter": 8, "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.007, "Actual Total Time": 0.015, "Actual Rows": 2, "Actual Loops": 9114}, {"Worker Number": 1, "Actual Startup Time": 0.007, "Actual Total Time": 0.015, "Actual Rows": 2, "Actual Loops": 9264}]}]}, {"Node Type": "Index Scan", "Parent Relationship": "Inner", "Parallel Aware": false, "Scan Direction": "Forward", "Index Name": "l_ok", "Relation Name": "lineitem", "Schema": "public", "Alias": "lineitem", "Startup Cost": 0.43, "Total Cost": 1.14, "Plan Rows": 5, "Plan Width": 20, "Actual Startup Time": 0.007, "Actual Total Time": 0.008, "Actual Rows": 4, "Actual Loops": 45630, "Output": ["lineitem.l_orderkey", "lineitem.l_partkey", "lineitem.l_suppkey", "lineitem.l_linenumber", "lineitem.l_quantity", "lineitem.l_extendedprice", "lineitem.l_discount", "lineitem.l_tax", "lineitem.l_returnflag", "lineitem.l_linestatus", "lineitem.l_shipdate", "lineitem.l_commitdate", "lineitem.l_receiptdate", "lineitem.l_shipinstruct", "lineitem.l_shipmode", "lineitem.l_comment"], "Index Cond": "(lineitem.l_orderkey = orders.o_orderkey)", "Rows Removed by Index Recheck": 0, "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.008, "Actual Total Time": 0.009, "Actual Rows": 4, "Actual Loops": 13919}, {"Worker Number": 1, "Actual Startup Time": 0.008, "Actual Total Time": 0.009, "Actual Rows": 4, "Actual Loops": 14008}]}]}, {"Node Type": "Hash", "Parent Relationship": "Inner", "Parallel Aware": false, "Startup Cost": 322.0, "Total Cost": 322.0, "Plan Rows": 10000, "Plan Width": 8, "Actual Startup Time": 4.551, "Actual Total Time": 4.552, "Actual Rows": 10000, "Actual Loops": 3, "Output": ["supplier.s_suppkey", "supplier.s_nationkey"], "Hash Buckets": 16384, "Original Hash Buckets": 16384, "Hash Batches": 1, "Original Hash Batches": 1, "Peak Memory Usage": 519, "Workers": [{"Worker Number": 0, "Actual Startup Time": 4.924, "Actual Total Time": 4.924, "Actual Rows": 10000, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 4.876, "Actual Total Time": 4.877, "Actual Rows": 10000, "Actual Loops": 1}], "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Relation Name": "supplier", "Schema": "public", "Alias": "supplier", "Startup Cost": 0.0, "Total Cost": 322.0, "Plan Rows": 10000, "Plan Width": 8, "Actual Startup Time": 0.008, "Actual Total Time": 2.81, "Actual Rows": 10000, "Actual Loops": 3, "Output": ["supplier.s_suppkey", "supplier.s_nationkey"], "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.01, "Actual Total Time": 3.104, "Actual Rows": 10000, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 0.011, "Actual Total Time": 3.04, "Actual Rows": 10000, "Actual Loops": 1}]}]}]}]}]}]}]}]}, "Planning Time": 2.675, "Triggers": [], "Execution Time": 365.089} diff --git a/dev9/pg10/tpch/sf_1/explain_analyze/15721/6-1.ok b/dev9/pg10/tpch/sf_1/explain_analyze/15721/6-1.ok new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/dev9/pg10/tpch/sf_1/explain_analyze/15721/6-1.res b/dev9/pg10/tpch/sf_1/explain_analyze/15721/6-1.res new file mode 100644 index 0000000000000000000000000000000000000000..c6d31e0c0e7754f190cf1aab2bbbb0c922f6084f --- /dev/null +++ b/dev9/pg10/tpch/sf_1/explain_analyze/15721/6-1.res @@ -0,0 +1 @@ +{"Plan": {"Node Type": "Aggregate", "Strategy": "Plain", "Partial Mode": "Finalize", "Parallel Aware": false, "Startup Cost": 129694.99, "Total Cost": 129695.0, "Plan Rows": 1, "Plan Width": 32, "Actual Startup Time": 348.346, "Actual Total Time": 375.774, "Actual Rows": 1, "Actual Loops": 1, "Output": ["sum((l_extendedprice * l_discount))"], "Plans": [{"Node Type": "Gather", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 129694.45, "Total Cost": 129694.96, "Plan Rows": 5, "Plan Width": 32, "Actual Startup Time": 345.728, "Actual Total Time": 375.76, "Actual Rows": 6, "Actual Loops": 1, "Output": ["(PARTIAL sum((l_extendedprice * l_discount)))"], "Workers Planned": 5, "Workers Launched": 5, "Single Copy": false, "Plans": [{"Node Type": "Aggregate", "Strategy": "Plain", "Partial Mode": "Partial", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 128694.45, "Total Cost": 128694.46, "Plan Rows": 1, "Plan Width": 32, "Actual Startup Time": 342.258, "Actual Total Time": 342.259, "Actual Rows": 1, "Actual Loops": 6, "Output": ["PARTIAL sum((l_extendedprice * l_discount))"], "Workers": [{"Worker Number": 0, "Actual Startup Time": 341.484, "Actual Total Time": 341.485, "Actual Rows": 1, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 341.59, "Actual Total Time": 341.591, "Actual Rows": 1, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 341.664, "Actual Total Time": 341.665, "Actual Rows": 1, "Actual Loops": 1}, {"Worker Number": 3, "Actual Startup Time": 341.715, "Actual Total Time": 341.716, "Actual Rows": 1, "Actual Loops": 1}, {"Worker Number": 4, "Actual Startup Time": 341.752, "Actual Total Time": 341.753, "Actual Rows": 1, "Actual Loops": 1}], "Plans": [{"Node Type": "Bitmap Heap Scan", "Parent Relationship": "Outer", "Parallel Aware": true, "Relation Name": "lineitem", "Schema": "public", "Alias": "lineitem", "Startup Cost": 11953.92, "Total Cost": 128579.08, "Plan Rows": 23073, "Plan Width": 12, "Actual Startup Time": 176.097, "Actual Total Time": 335.776, "Actual Rows": 19184, "Actual Loops": 6, "Output": ["l_extendedprice", "l_discount"], "Recheck Cond": "((lineitem.l_shipdate >= '1995-01-01'::date) AND (lineitem.l_shipdate < '1996-01-01 00:00:00'::timestamp without time zone))", "Rows Removed by Index Recheck": 0, "Filter": "((lineitem.l_discount >= 0.04) AND (lineitem.l_discount <= 0.06) AND (lineitem.l_quantity < '24'::numeric))", "Rows Removed by Filter": 133310, "Exact Heap Blocks": 25311, "Lossy Heap Blocks": 0, "Workers": [{"Worker Number": 0, "Actual Startup Time": 176.036, "Actual Total Time": 335.476, "Actual Rows": 17545, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 176.12, "Actual Total Time": 335.519, "Actual Rows": 17695, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 176.177, "Actual Total Time": 335.638, "Actual Rows": 17569, "Actual Loops": 1}, {"Worker Number": 3, "Actual Startup Time": 176.236, "Actual Total Time": 335.836, "Actual Rows": 17102, "Actual Loops": 1}, {"Worker Number": 4, "Actual Startup Time": 176.257, "Actual Total Time": 335.726, "Actual Rows": 17540, "Actual Loops": 1}], "Plans": [{"Node Type": "Bitmap Index Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Index Name": "l_sd", "Startup Cost": 0.0, "Total Cost": 11925.08, "Plan Rows": 916035, "Plan Width": 0, "Actual Startup Time": 137.96, "Actual Total Time": 137.961, "Actual Rows": 914963, "Actual Loops": 1, "Index Cond": "((lineitem.l_shipdate >= '1995-01-01'::date) AND (lineitem.l_shipdate < '1996-01-01 00:00:00'::timestamp without time zone))"}]}]}]}]}, "Planning Time": 0.188, "Triggers": [], "Execution Time": 375.824} diff --git a/dev9/pg10/tpch/sf_1/explain_analyze/15721/7-1.ok b/dev9/pg10/tpch/sf_1/explain_analyze/15721/7-1.ok new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/dev9/pg10/tpch/sf_1/explain_analyze/15721/7-1.res b/dev9/pg10/tpch/sf_1/explain_analyze/15721/7-1.res new file mode 100644 index 0000000000000000000000000000000000000000..3a85004d26f232c0731358e0612c83c49ae2c306 --- /dev/null +++ b/dev9/pg10/tpch/sf_1/explain_analyze/15721/7-1.res @@ -0,0 +1 @@ +{"Plan": {"Node Type": "Aggregate", "Strategy": "Sorted", "Partial Mode": "Finalize", "Parallel Aware": false, "Startup Cost": 38046.55, "Total Cost": 38891.64, "Plan Rows": 6093, "Plan Width": 92, "Actual Startup Time": 837.895, "Actual Total Time": 883.657, "Actual Rows": 4, "Actual Loops": 1, "Output": ["n1.n_name", "n2.n_name", "(date_part('year'::text, (lineitem.l_shipdate)::timestamp without time zone))", "sum((lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount)))"], "Group Key": ["n1.n_name", "n2.n_name", "(date_part('year'::text, (lineitem.l_shipdate)::timestamp without time zone))"], "Plans": [{"Node Type": "Gather Merge", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 38046.55, "Total Cost": 38721.54, "Plan Rows": 5078, "Plan Width": 92, "Actual Startup Time": 837.142, "Actual Total Time": 883.637, "Actual Rows": 12, "Actual Loops": 1, "Output": ["n1.n_name", "n2.n_name", "(date_part('year'::text, (lineitem.l_shipdate)::timestamp without time zone))", "(PARTIAL sum((lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount))))"], "Workers Planned": 2, "Workers Launched": 2, "Plans": [{"Node Type": "Aggregate", "Strategy": "Sorted", "Partial Mode": "Partial", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 37046.52, "Total Cost": 37135.39, "Plan Rows": 2539, "Plan Width": 92, "Actual Startup Time": 832.68, "Actual Total Time": 833.684, "Actual Rows": 4, "Actual Loops": 3, "Output": ["n1.n_name", "n2.n_name", "(date_part('year'::text, (lineitem.l_shipdate)::timestamp without time zone))", "PARTIAL sum((lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount)))"], "Group Key": ["n1.n_name", "n2.n_name", "(date_part('year'::text, (lineitem.l_shipdate)::timestamp without time zone))"], "Workers": [{"Worker Number": 0, "Actual Startup Time": 830.77, "Actual Total Time": 831.157, "Actual Rows": 4, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 830.75, "Actual Total Time": 831.126, "Actual Rows": 4, "Actual Loops": 1}], "Plans": [{"Node Type": "Sort", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 37046.52, "Total Cost": 37052.87, "Plan Rows": 2539, "Plan Width": 72, "Actual Startup Time": 832.318, "Actual Total Time": 832.461, "Actual Rows": 1875, "Actual Loops": 3, "Output": ["n1.n_name", "n2.n_name", "(date_part('year'::text, (lineitem.l_shipdate)::timestamp without time zone))", "lineitem.l_extendedprice", "lineitem.l_discount"], "Sort Key": ["n1.n_name", "n2.n_name", "(date_part('year'::text, (lineitem.l_shipdate)::timestamp without time zone))"], "Sort Method": "quicksort", "Sort Space Used": 780, "Sort Space Type": "Memory", "Workers": [{"Worker Number": 0, "Actual Startup Time": 830.625, "Actual Total Time": 830.671, "Actual Rows": 704, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 830.572, "Actual Total Time": 830.62, "Actual Rows": 740, "Actual Loops": 1}], "Plans": [{"Node Type": "Hash Join", "Parent Relationship": "Outer", "Parallel Aware": false, "Join Type": "Inner", "Startup Cost": 25695.96, "Total Cost": 36902.94, "Plan Rows": 2539, "Plan Width": 72, "Actual Startup Time": 733.925, "Actual Total Time": 831.136, "Actual Rows": 1875, "Actual Loops": 3, "Output": ["n1.n_name", "n2.n_name", "date_part('year'::text, (lineitem.l_shipdate)::timestamp without time zone)", "lineitem.l_extendedprice", "lineitem.l_discount"], "Inner Unique": false, "Hash Cond": "(orders.o_orderkey = lineitem.l_orderkey)", "Join Filter": "(((n1.n_name = 'IRAN'::bpchar) AND (n2.n_name = 'ETHIOPIA'::bpchar)) OR ((n1.n_name = 'ETHIOPIA'::bpchar) AND (n2.n_name = 'IRAN'::bpchar)))", "Rows Removed by Join Filter": 1861, "Workers": [{"Worker Number": 0, "Actual Startup Time": 780.636, "Actual Total Time": 830.102, "Actual Rows": 704, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 780.257, "Actual Total Time": 830.016, "Actual Rows": 740, "Actual Loops": 1}], "Plans": [{"Node Type": "Nested Loop", "Parent Relationship": "Outer", "Parallel Aware": false, "Join Type": "Inner", "Startup Cost": 1.83, "Total Cost": 9848.51, "Plan Rows": 50000, "Plan Width": 30, "Actual Startup Time": 0.135, "Actual Total Time": 85.593, "Actual Rows": 39794, "Actual Loops": 3, "Output": ["orders.o_orderkey", "n2.n_name"], "Inner Unique": false, "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.183, "Actual Total Time": 45.128, "Actual Rows": 15470, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 0.18, "Actual Total Time": 45.019, "Actual Rows": 15614, "Actual Loops": 1}], "Plans": [{"Node Type": "Hash Join", "Parent Relationship": "Outer", "Parallel Aware": false, "Join Type": "Inner", "Startup Cost": 1.4, "Total Cost": 4403.27, "Plan Rows": 5000, "Plan Width": 30, "Actual Startup Time": 0.077, "Actual Total Time": 16.714, "Actual Rows": 3987, "Actual Loops": 3, "Output": ["customer.c_custkey", "n2.n_name"], "Inner Unique": true, "Hash Cond": "(customer.c_nationkey = n2.n_nationkey)", "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.098, "Actual Total Time": 7.436, "Actual Rows": 1526, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 0.104, "Actual Total Time": 7.428, "Actual Rows": 1564, "Actual Loops": 1}], "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": true, "Relation Name": "customer", "Schema": "public", "Alias": "customer", "Startup Cost": 0.0, "Total Cost": 4210.0, "Plan Rows": 62500, "Plan Width": 8, "Actual Startup Time": 0.015, "Actual Total Time": 5.308, "Actual Rows": 50000, "Actual Loops": 3, "Output": ["customer.c_custkey", "customer.c_name", "customer.c_address", "customer.c_nationkey", "customer.c_phone", "customer.c_acctbal", "customer.c_mktsegment", "customer.c_comment"], "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.02, "Actual Total Time": 2.612, "Actual Rows": 19501, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 0.02, "Actual Total Time": 2.613, "Actual Rows": 19696, "Actual Loops": 1}]}, {"Node Type": "Hash", "Parent Relationship": "Inner", "Parallel Aware": false, "Startup Cost": 1.38, "Total Cost": 1.38, "Plan Rows": 2, "Plan Width": 30, "Actual Startup Time": 0.024, "Actual Total Time": 0.025, "Actual Rows": 2, "Actual Loops": 3, "Output": ["n2.n_name", "n2.n_nationkey"], "Hash Buckets": 1024, "Original Hash Buckets": 1024, "Hash Batches": 1, "Original Hash Batches": 1, "Peak Memory Usage": 9, "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.028, "Actual Total Time": 0.029, "Actual Rows": 2, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 0.03, "Actual Total Time": 0.03, "Actual Rows": 2, "Actual Loops": 1}], "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Relation Name": "nation", "Schema": "public", "Alias": "n2", "Startup Cost": 0.0, "Total Cost": 1.38, "Plan Rows": 2, "Plan Width": 30, "Actual Startup Time": 0.016, "Actual Total Time": 0.02, "Actual Rows": 2, "Actual Loops": 3, "Output": ["n2.n_name", "n2.n_nationkey"], "Filter": "((n2.n_name = 'ETHIOPIA'::bpchar) OR (n2.n_name = 'IRAN'::bpchar))", "Rows Removed by Filter": 23, "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.02, "Actual Total Time": 0.025, "Actual Rows": 2, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 0.021, "Actual Total Time": 0.026, "Actual Rows": 2, "Actual Loops": 1}]}]}]}, {"Node Type": "Index Scan", "Parent Relationship": "Inner", "Parallel Aware": false, "Scan Direction": "Forward", "Index Name": "o_ck", "Relation Name": "orders", "Schema": "public", "Alias": "orders", "Startup Cost": 0.43, "Total Cost": 0.93, "Plan Rows": 16, "Plan Width": 8, "Actual Startup Time": 0.004, "Actual Total Time": 0.016, "Actual Rows": 10, "Actual Loops": 11961, "Output": ["orders.o_orderkey", "orders.o_custkey", "orders.o_orderstatus", "orders.o_totalprice", "orders.o_orderdate", "orders.o_orderpriority", "orders.o_clerk", "orders.o_shippriority", "orders.o_comment"], "Index Cond": "(orders.o_custkey = customer.c_custkey)", "Rows Removed by Index Recheck": 0, "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.005, "Actual Total Time": 0.023, "Actual Rows": 10, "Actual Loops": 1526}, {"Worker Number": 1, "Actual Startup Time": 0.005, "Actual Total Time": 0.022, "Actual Rows": 10, "Actual Loops": 1564}]}]}, {"Node Type": "Hash", "Parent Relationship": "Inner", "Parallel Aware": false, "Startup Cost": 23864.1, "Total Cost": 23864.1, "Plan Rows": 146403, "Plan Width": 46, "Actual Startup Time": 732.663, "Actual Total Time": 732.665, "Actual Rows": 140959, "Actual Loops": 3, "Output": ["lineitem.l_shipdate", "lineitem.l_extendedprice", "lineitem.l_discount", "lineitem.l_orderkey", "n1.n_name"], "Hash Buckets": 262144, "Original Hash Buckets": 262144, "Hash Batches": 1, "Original Hash Batches": 1, "Peak Memory Usage": 13200, "Workers": [{"Worker Number": 0, "Actual Startup Time": 778.737, "Actual Total Time": 778.739, "Actual Rows": 140959, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 778.749, "Actual Total Time": 778.751, "Actual Rows": 140959, "Actual Loops": 1}], "Plans": [{"Node Type": "Nested Loop", "Parent Relationship": "Outer", "Parallel Aware": false, "Join Type": "Inner", "Startup Cost": 6.02, "Total Cost": 23864.1, "Plan Rows": 146403, "Plan Width": 46, "Actual Startup Time": 0.157, "Actual Total Time": 688.003, "Actual Rows": 140959, "Actual Loops": 3, "Output": ["lineitem.l_shipdate", "lineitem.l_extendedprice", "lineitem.l_discount", "lineitem.l_orderkey", "n1.n_name"], "Inner Unique": false, "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.187, "Actual Total Time": 731.347, "Actual Rows": 140959, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 0.194, "Actual Total Time": 731.663, "Actual Rows": 140959, "Actual Loops": 1}], "Plans": [{"Node Type": "Nested Loop", "Parent Relationship": "Outer", "Parallel Aware": false, "Join Type": "Inner", "Startup Cost": 5.58, "Total Cost": 259.05, "Plan Rows": 800, "Plan Width": 30, "Actual Startup Time": 0.096, "Actual Total Time": 1.393, "Actual Rows": 773, "Actual Loops": 3, "Output": ["supplier.s_suppkey", "n1.n_name"], "Inner Unique": false, "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.106, "Actual Total Time": 1.492, "Actual Rows": 773, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 0.109, "Actual Total Time": 1.49, "Actual Rows": 773, "Actual Loops": 1}], "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Relation Name": "nation", "Schema": "public", "Alias": "n1", "Startup Cost": 0.0, "Total Cost": 1.38, "Plan Rows": 2, "Plan Width": 30, "Actual Startup Time": 0.004, "Actual Total Time": 0.012, "Actual Rows": 2, "Actual Loops": 3, "Output": ["n1.n_nationkey", "n1.n_name", "n1.n_regionkey", "n1.n_comment"], "Filter": "((n1.n_name = 'IRAN'::bpchar) OR (n1.n_name = 'ETHIOPIA'::bpchar))", "Rows Removed by Filter": 23, "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.004, "Actual Total Time": 0.012, "Actual Rows": 2, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 0.004, "Actual Total Time": 0.012, "Actual Rows": 2, "Actual Loops": 1}]}, {"Node Type": "Bitmap Heap Scan", "Parent Relationship": "Inner", "Parallel Aware": false, "Relation Name": "supplier", "Schema": "public", "Alias": "supplier", "Startup Cost": 5.58, "Total Cost": 124.84, "Plan Rows": 400, "Plan Width": 8, "Actual Startup Time": 0.08, "Actual Total Time": 0.606, "Actual Rows": 386, "Actual Loops": 6, "Output": ["supplier.s_suppkey", "supplier.s_name", "supplier.s_address", "supplier.s_nationkey", "supplier.s_phone", "supplier.s_acctbal", "supplier.s_comment"], "Recheck Cond": "(supplier.s_nationkey = n1.n_nationkey)", "Rows Removed by Index Recheck": 0, "Exact Heap Blocks": 371, "Lossy Heap Blocks": 0, "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.086, "Actual Total Time": 0.656, "Actual Rows": 386, "Actual Loops": 2}, {"Worker Number": 1, "Actual Startup Time": 0.088, "Actual Total Time": 0.656, "Actual Rows": 386, "Actual Loops": 2}], "Plans": [{"Node Type": "Bitmap Index Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Index Name": "s_nk", "Startup Cost": 0.0, "Total Cost": 5.49, "Plan Rows": 400, "Plan Width": 0, "Actual Startup Time": 0.051, "Actual Total Time": 0.051, "Actual Rows": 386, "Actual Loops": 6, "Index Cond": "(supplier.s_nationkey = n1.n_nationkey)", "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.056, "Actual Total Time": 0.056, "Actual Rows": 386, "Actual Loops": 2}, {"Worker Number": 1, "Actual Startup Time": 0.058, "Actual Total Time": 0.058, "Actual Rows": 386, "Actual Loops": 2}]}]}]}, {"Node Type": "Index Scan", "Parent Relationship": "Inner", "Parallel Aware": false, "Scan Direction": "Forward", "Index Name": "l_sk", "Relation Name": "lineitem", "Schema": "public", "Alias": "lineitem", "Startup Cost": 0.43, "Total Cost": 27.68, "Plan Rows": 183, "Plan Width": 24, "Actual Startup Time": 0.017, "Actual Total Time": 0.865, "Actual Rows": 182, "Actual Loops": 2319, "Output": ["lineitem.l_orderkey", "lineitem.l_partkey", "lineitem.l_suppkey", "lineitem.l_linenumber", "lineitem.l_quantity", "lineitem.l_extendedprice", "lineitem.l_discount", "lineitem.l_tax", "lineitem.l_returnflag", "lineitem.l_linestatus", "lineitem.l_shipdate", "lineitem.l_commitdate", "lineitem.l_receiptdate", "lineitem.l_shipinstruct", "lineitem.l_shipmode", "lineitem.l_comment"], "Index Cond": "(lineitem.l_suppkey = supplier.s_suppkey)", "Rows Removed by Index Recheck": 0, "Filter": "((lineitem.l_shipdate >= '1995-01-01'::date) AND (lineitem.l_shipdate <= '1996-12-31'::date))", "Rows Removed by Filter": 417, "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.02, "Actual Total Time": 0.921, "Actual Rows": 182, "Actual Loops": 773}, {"Worker Number": 1, "Actual Startup Time": 0.02, "Actual Total Time": 0.921, "Actual Rows": 182, "Actual Loops": 773}]}]}]}]}]}]}]}]}, "Planning Time": 2.136, "Triggers": [], "Execution Time": 883.856} diff --git a/dev9/pg10/tpch/sf_1/explain_analyze/15721/8-1.ok b/dev9/pg10/tpch/sf_1/explain_analyze/15721/8-1.ok new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/dev9/pg10/tpch/sf_1/explain_analyze/15721/8-1.res b/dev9/pg10/tpch/sf_1/explain_analyze/15721/8-1.res new file mode 100644 index 0000000000000000000000000000000000000000..70f62b5a2ebc57e7b009d257accb2154759d5dc5 --- /dev/null +++ b/dev9/pg10/tpch/sf_1/explain_analyze/15721/8-1.res @@ -0,0 +1 @@ +{"Plan": {"Node Type": "Aggregate", "Strategy": "Sorted", "Partial Mode": "Finalize", "Parallel Aware": false, "Startup Cost": 34366.52, "Total Cost": 34735.11, "Plan Rows": 2406, "Plan Width": 40, "Actual Startup Time": 174.969, "Actual Total Time": 209.101, "Actual Rows": 2, "Actual Loops": 1, "Output": ["(date_part('year'::text, (orders.o_orderdate)::timestamp without time zone))", "(sum(CASE WHEN (n2.n_name = 'ETHIOPIA'::bpchar) THEN (lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount)) ELSE '0'::numeric END) / sum((lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount))))"], "Group Key": ["(date_part('year'::text, (orders.o_orderdate)::timestamp without time zone))"], "Plans": [{"Node Type": "Gather Merge", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 34366.52, "Total Cost": 34654.63, "Plan Rows": 2108, "Plan Width": 72, "Actual Startup Time": 174.537, "Actual Total Time": 209.084, "Actual Rows": 6, "Actual Loops": 1, "Output": ["(date_part('year'::text, (orders.o_orderdate)::timestamp without time zone))", "(PARTIAL sum(CASE WHEN (n2.n_name = 'ETHIOPIA'::bpchar) THEN (lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount)) ELSE '0'::numeric END))", "(PARTIAL sum((lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount))))"], "Workers Planned": 2, "Workers Launched": 2, "Plans": [{"Node Type": "Aggregate", "Strategy": "Sorted", "Partial Mode": "Partial", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 33366.49, "Total Cost": 33411.29, "Plan Rows": 1054, "Plan Width": 72, "Actual Startup Time": 170.877, "Actual Total Time": 171.162, "Actual Rows": 2, "Actual Loops": 3, "Output": ["(date_part('year'::text, (orders.o_orderdate)::timestamp without time zone))", "PARTIAL sum(CASE WHEN (n2.n_name = 'ETHIOPIA'::bpchar) THEN (lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount)) ELSE '0'::numeric END)", "PARTIAL sum((lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount)))"], "Group Key": ["(date_part('year'::text, (orders.o_orderdate)::timestamp without time zone))"], "Workers": [{"Worker Number": 0, "Actual Startup Time": 169.359, "Actual Total Time": 169.565, "Actual Rows": 2, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 169.395, "Actual Total Time": 169.619, "Actual Rows": 2, "Actual Loops": 1}], "Plans": [{"Node Type": "Sort", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 33366.49, "Total Cost": 33369.13, "Plan Rows": 1054, "Plan Width": 46, "Actual Startup Time": 170.579, "Actual Total Time": 170.633, "Actual Rows": 809, "Actual Loops": 3, "Output": ["(date_part('year'::text, (orders.o_orderdate)::timestamp without time zone))", "n2.n_name", "lineitem.l_extendedprice", "lineitem.l_discount"], "Sort Key": ["(date_part('year'::text, (orders.o_orderdate)::timestamp without time zone))"], "Sort Method": "quicksort", "Sort Space Used": 138, "Sort Space Type": "Memory", "Workers": [{"Worker Number": 0, "Actual Startup Time": 169.1, "Actual Total Time": 169.142, "Actual Rows": 632, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 169.143, "Actual Total Time": 169.185, "Actual Rows": 646, "Actual Loops": 1}], "Plans": [{"Node Type": "Hash Join", "Parent Relationship": "Outer", "Parallel Aware": false, "Join Type": "Inner", "Startup Cost": 2060.15, "Total Cost": 33313.57, "Plan Rows": 1054, "Plan Width": 46, "Actual Startup Time": 33.054, "Actual Total Time": 170.28, "Actual Rows": 809, "Actual Loops": 3, "Output": ["date_part('year'::text, (orders.o_orderdate)::timestamp without time zone)", "n2.n_name", "lineitem.l_extendedprice", "lineitem.l_discount"], "Inner Unique": true, "Hash Cond": "(supplier.s_nationkey = n2.n_nationkey)", "Workers": [{"Worker Number": 0, "Actual Startup Time": 35.503, "Actual Total Time": 168.829, "Actual Rows": 632, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 36.406, "Actual Total Time": 168.864, "Actual Rows": 646, "Actual Loops": 1}], "Plans": [{"Node Type": "Nested Loop", "Parent Relationship": "Outer", "Parallel Aware": false, "Join Type": "Inner", "Startup Cost": 2058.59, "Total Cost": 33303.51, "Plan Rows": 1054, "Plan Width": 20, "Actual Startup Time": 32.981, "Actual Total Time": 169.804, "Actual Rows": 809, "Actual Loops": 3, "Output": ["lineitem.l_extendedprice", "lineitem.l_discount", "supplier.s_nationkey", "orders.o_orderdate"], "Inner Unique": true, "Workers": [{"Worker Number": 0, "Actual Startup Time": 35.408, "Actual Total Time": 168.405, "Actual Rows": 632, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 36.311, "Actual Total Time": 168.442, "Actual Rows": 646, "Actual Loops": 1}], "Plans": [{"Node Type": "Hash Join", "Parent Relationship": "Outer", "Parallel Aware": false, "Join Type": "Inner", "Startup Cost": 2058.3, "Total Cost": 32984.62, "Plan Rows": 1054, "Plan Width": 20, "Actual Startup Time": 32.956, "Actual Total Time": 167.182, "Actual Rows": 809, "Actual Loops": 3, "Output": ["lineitem.l_extendedprice", "lineitem.l_discount", "lineitem.l_suppkey", "orders.o_orderdate"], "Inner Unique": false, "Hash Cond": "(orders.o_custkey = customer.c_custkey)", "Workers": [{"Worker Number": 0, "Actual Startup Time": 35.371, "Actual Total Time": 166.284, "Actual Rows": 632, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 36.283, "Actual Total Time": 166.241, "Actual Rows": 646, "Actual Loops": 1}], "Plans": [{"Node Type": "Nested Loop", "Parent Relationship": "Outer", "Parallel Aware": false, "Join Type": "Inner", "Startup Cost": 0.86, "Total Cost": 30896.87, "Plan Rows": 5271, "Plan Width": 24, "Actual Startup Time": 0.186, "Actual Total Time": 133.412, "Actual Rows": 4114, "Actual Loops": 3, "Output": ["lineitem.l_extendedprice", "lineitem.l_discount", "lineitem.l_suppkey", "orders.o_orderdate", "orders.o_custkey"], "Inner Unique": true, "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.22, "Actual Total Time": 129.975, "Actual Rows": 3273, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 0.218, "Actual Total Time": 129.973, "Actual Rows": 3220, "Actual Loops": 1}], "Plans": [{"Node Type": "Nested Loop", "Parent Relationship": "Outer", "Parallel Aware": false, "Join Type": "Inner", "Startup Cost": 0.43, "Total Cost": 23014.71, "Plan Rows": 17303, "Plan Width": 20, "Actual Startup Time": 0.102, "Actual Total Time": 57.338, "Actual Rows": 13553, "Actual Loops": 3, "Output": ["lineitem.l_extendedprice", "lineitem.l_discount", "lineitem.l_suppkey", "lineitem.l_orderkey"], "Inner Unique": false, "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.141, "Actual Total Time": 61.257, "Actual Rows": 10627, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 0.134, "Actual Total Time": 61.491, "Actual Rows": 10730, "Actual Loops": 1}], "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": true, "Relation Name": "part", "Schema": "public", "Alias": "part", "Startup Cost": 0.0, "Total Cost": 5138.67, "Plan Rows": 577, "Plan Width": 4, "Actual Startup Time": 0.03, "Actual Total Time": 12.154, "Actual Rows": 451, "Actual Loops": 3, "Output": ["part.p_partkey", "part.p_name", "part.p_mfgr", "part.p_brand", "part.p_type", "part.p_size", "part.p_container", "part.p_retailprice", "part.p_comment"], "Filter": "((part.p_type)::text = 'SMALL BRUSHED NICKEL'::text)", "Rows Removed by Filter": 66216, "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.048, "Actual Total Time": 10.411, "Actual Rows": 351, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 0.032, "Actual Total Time": 10.709, "Actual Rows": 356, "Actual Loops": 1}]}, {"Node Type": "Index Scan", "Parent Relationship": "Inner", "Parallel Aware": false, "Scan Direction": "Forward", "Index Name": "l_pk", "Relation Name": "lineitem", "Schema": "public", "Alias": "lineitem", "Startup Cost": 0.43, "Total Cost": 30.67, "Plan Rows": 31, "Plan Width": 24, "Actual Startup Time": 0.01, "Actual Total Time": 0.093, "Actual Rows": 30, "Actual Loops": 1352, "Output": ["lineitem.l_orderkey", "lineitem.l_partkey", "lineitem.l_suppkey", "lineitem.l_linenumber", "lineitem.l_quantity", "lineitem.l_extendedprice", "lineitem.l_discount", "lineitem.l_tax", "lineitem.l_returnflag", "lineitem.l_linestatus", "lineitem.l_shipdate", "lineitem.l_commitdate", "lineitem.l_receiptdate", "lineitem.l_shipinstruct", "lineitem.l_shipmode", "lineitem.l_comment"], "Index Cond": "(lineitem.l_partkey = part.p_partkey)", "Rows Removed by Index Recheck": 0, "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.014, "Actual Total Time": 0.137, "Actual Rows": 30, "Actual Loops": 351}, {"Worker Number": 1, "Actual Startup Time": 0.014, "Actual Total Time": 0.135, "Actual Rows": 30, "Actual Loops": 356}]}]}, {"Node Type": "Index Scan", "Parent Relationship": "Inner", "Parallel Aware": false, "Scan Direction": "Forward", "Index Name": "o_ok", "Relation Name": "orders", "Schema": "public", "Alias": "orders", "Startup Cost": 0.43, "Total Cost": 0.46, "Plan Rows": 1, "Plan Width": 12, "Actual Startup Time": 0.005, "Actual Total Time": 0.005, "Actual Rows": 0, "Actual Loops": 40658, "Output": ["orders.o_orderkey", "orders.o_custkey", "orders.o_orderstatus", "orders.o_totalprice", "orders.o_orderdate", "orders.o_orderpriority", "orders.o_clerk", "orders.o_shippriority", "orders.o_comment"], "Index Cond": "(orders.o_orderkey = lineitem.l_orderkey)", "Rows Removed by Index Recheck": 0, "Filter": "((orders.o_orderdate >= '1995-01-01'::date) AND (orders.o_orderdate <= '1996-12-31'::date))", "Rows Removed by Filter": 1, "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.006, "Actual Total Time": 0.006, "Actual Rows": 0, "Actual Loops": 10627}, {"Worker Number": 1, "Actual Startup Time": 0.006, "Actual Total Time": 0.006, "Actual Rows": 0, "Actual Loops": 10730}]}]}, {"Node Type": "Hash", "Parent Relationship": "Inner", "Parallel Aware": false, "Startup Cost": 1682.44, "Total Cost": 1682.44, "Plan Rows": 30000, "Plan Width": 4, "Actual Startup Time": 32.159, "Actual Total Time": 32.162, "Actual Rows": 29764, "Actual Loops": 3, "Output": ["customer.c_custkey"], "Hash Buckets": 32768, "Original Hash Buckets": 32768, "Hash Batches": 1, "Original Hash Batches": 1, "Peak Memory Usage": 1303, "Workers": [{"Worker Number": 0, "Actual Startup Time": 34.855, "Actual Total Time": 34.857, "Actual Rows": 29764, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 34.851, "Actual Total Time": 34.853, "Actual Rows": 29764, "Actual Loops": 1}], "Plans": [{"Node Type": "Nested Loop", "Parent Relationship": "Outer", "Parallel Aware": false, "Join Type": "Inner", "Startup Cost": 0.56, "Total Cost": 1682.44, "Plan Rows": 30000, "Plan Width": 4, "Actual Startup Time": 0.088, "Actual Total Time": 27.282, "Actual Rows": 29764, "Actual Loops": 3, "Output": ["customer.c_custkey"], "Inner Unique": false, "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.119, "Actual Total Time": 29.659, "Actual Rows": 29764, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 0.116, "Actual Total Time": 29.731, "Actual Rows": 29764, "Actual Loops": 1}], "Plans": [{"Node Type": "Nested Loop", "Parent Relationship": "Outer", "Parallel Aware": false, "Join Type": "Inner", "Startup Cost": 0.14, "Total Cost": 5.25, "Plan Rows": 5, "Plan Width": 4, "Actual Startup Time": 0.031, "Actual Total Time": 0.052, "Actual Rows": 5, "Actual Loops": 3, "Output": ["n1.n_nationkey"], "Inner Unique": true, "Join Filter": "(n1.n_regionkey = region.r_regionkey)", "Rows Removed by Join Filter": 20, "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.042, "Actual Total Time": 0.064, "Actual Rows": 5, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 0.041, "Actual Total Time": 0.063, "Actual Rows": 5, "Actual Loops": 1}], "Plans": [{"Node Type": "Index Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Scan Direction": "Forward", "Index Name": "n_nk", "Relation Name": "nation", "Schema": "public", "Alias": "n1", "Startup Cost": 0.14, "Total Cost": 3.81, "Plan Rows": 25, "Plan Width": 8, "Actual Startup Time": 0.016, "Actual Total Time": 0.023, "Actual Rows": 25, "Actual Loops": 3, "Output": ["n1.n_nationkey", "n1.n_name", "n1.n_regionkey", "n1.n_comment"], "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.024, "Actual Total Time": 0.031, "Actual Rows": 25, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 0.023, "Actual Total Time": 0.03, "Actual Rows": 25, "Actual Loops": 1}]}, {"Node Type": "Materialize", "Parent Relationship": "Inner", "Parallel Aware": false, "Startup Cost": 0.0, "Total Cost": 1.07, "Plan Rows": 1, "Plan Width": 4, "Actual Startup Time": 0.001, "Actual Total Time": 0.001, "Actual Rows": 1, "Actual Loops": 75, "Output": ["region.r_regionkey"], "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.001, "Actual Total Time": 0.001, "Actual Rows": 1, "Actual Loops": 25}, {"Worker Number": 1, "Actual Startup Time": 0.001, "Actual Total Time": 0.001, "Actual Rows": 1, "Actual Loops": 25}], "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Relation Name": "region", "Schema": "public", "Alias": "region", "Startup Cost": 0.0, "Total Cost": 1.06, "Plan Rows": 1, "Plan Width": 4, "Actual Startup Time": 0.011, "Actual Total Time": 0.013, "Actual Rows": 1, "Actual Loops": 3, "Output": ["region.r_regionkey"], "Filter": "(region.r_name = 'AFRICA'::bpchar)", "Rows Removed by Filter": 4, "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.014, "Actual Total Time": 0.016, "Actual Rows": 1, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 0.014, "Actual Total Time": 0.016, "Actual Rows": 1, "Actual Loops": 1}]}]}]}, {"Node Type": "Index Scan", "Parent Relationship": "Inner", "Parallel Aware": false, "Scan Direction": "Forward", "Index Name": "c_nk", "Relation Name": "customer", "Schema": "public", "Alias": "customer", "Startup Cost": 0.42, "Total Cost": 275.44, "Plan Rows": 6000, "Plan Width": 8, "Actual Startup Time": 0.02, "Actual Total Time": 4.657, "Actual Rows": 5953, "Actual Loops": 15, "Output": ["customer.c_custkey", "customer.c_name", "customer.c_address", "customer.c_nationkey", "customer.c_phone", "customer.c_acctbal", "customer.c_mktsegment", "customer.c_comment"], "Index Cond": "(customer.c_nationkey = n1.n_nationkey)", "Rows Removed by Index Recheck": 0, "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.024, "Actual Total Time": 5.135, "Actual Rows": 5953, "Actual Loops": 5}, {"Worker Number": 1, "Actual Startup Time": 0.025, "Actual Total Time": 5.154, "Actual Rows": 5953, "Actual Loops": 5}]}]}]}]}, {"Node Type": "Index Scan", "Parent Relationship": "Inner", "Parallel Aware": false, "Scan Direction": "Forward", "Index Name": "s_sk", "Relation Name": "supplier", "Schema": "public", "Alias": "supplier", "Startup Cost": 0.29, "Total Cost": 0.3, "Plan Rows": 1, "Plan Width": 8, "Actual Startup Time": 0.003, "Actual Total Time": 0.003, "Actual Rows": 1, "Actual Loops": 2426, "Output": ["supplier.s_suppkey", "supplier.s_name", "supplier.s_address", "supplier.s_nationkey", "supplier.s_phone", "supplier.s_acctbal", "supplier.s_comment"], "Index Cond": "(supplier.s_suppkey = lineitem.l_suppkey)", "Rows Removed by Index Recheck": 0, "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.003, "Actual Total Time": 0.003, "Actual Rows": 1, "Actual Loops": 632}, {"Worker Number": 1, "Actual Startup Time": 0.003, "Actual Total Time": 0.003, "Actual Rows": 1, "Actual Loops": 646}]}]}, {"Node Type": "Hash", "Parent Relationship": "Inner", "Parallel Aware": false, "Startup Cost": 1.25, "Total Cost": 1.25, "Plan Rows": 25, "Plan Width": 30, "Actual Startup Time": 0.027, "Actual Total Time": 0.028, "Actual Rows": 25, "Actual Loops": 3, "Output": ["n2.n_name", "n2.n_nationkey"], "Hash Buckets": 1024, "Original Hash Buckets": 1024, "Hash Batches": 1, "Original Hash Batches": 1, "Peak Memory Usage": 10, "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.032, "Actual Total Time": 0.033, "Actual Rows": 25, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 0.031, "Actual Total Time": 0.031, "Actual Rows": 25, "Actual Loops": 1}], "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Relation Name": "nation", "Schema": "public", "Alias": "n2", "Startup Cost": 0.0, "Total Cost": 1.25, "Plan Rows": 25, "Plan Width": 30, "Actual Startup Time": 0.013, "Actual Total Time": 0.018, "Actual Rows": 25, "Actual Loops": 3, "Output": ["n2.n_name", "n2.n_nationkey"], "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.017, "Actual Total Time": 0.022, "Actual Rows": 25, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 0.017, "Actual Total Time": 0.021, "Actual Rows": 25, "Actual Loops": 1}]}]}]}]}]}]}]}, "Planning Time": 2.954, "Triggers": [], "Execution Time": 209.222} diff --git a/dev9/pg10/tpch/sf_1/explain_analyze/15721/9-1.ok b/dev9/pg10/tpch/sf_1/explain_analyze/15721/9-1.ok new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/dev9/pg10/tpch/sf_1/explain_analyze/15721/9-1.res b/dev9/pg10/tpch/sf_1/explain_analyze/15721/9-1.res new file mode 100644 index 0000000000000000000000000000000000000000..772ee679e7834698a743b62f1092a3dc2064110a --- /dev/null +++ b/dev9/pg10/tpch/sf_1/explain_analyze/15721/9-1.res @@ -0,0 +1 @@ +{"Plan": {"Node Type": "Sort", "Parallel Aware": false, "Startup Cost": 100584.95, "Total Cost": 100735.32, "Plan Rows": 60150, "Plan Width": 66, "Actual Startup Time": 951.635, "Actual Total Time": 1020.286, "Actual Rows": 175, "Actual Loops": 1, "Output": ["nation.n_name", "(date_part('year'::text, (orders.o_orderdate)::timestamp without time zone))", "(sum(((lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount)) - (partsupp.ps_supplycost * lineitem.l_quantity))))"], "Sort Key": ["nation.n_name", "(date_part('year'::text, (orders.o_orderdate)::timestamp without time zone)) DESC"], "Sort Method": "quicksort", "Sort Space Used": 49, "Sort Space Type": "Memory", "Plans": [{"Node Type": "Aggregate", "Strategy": "Hashed", "Partial Mode": "Finalize", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 94757.53, "Total Cost": 95810.16, "Plan Rows": 60150, "Plan Width": 66, "Actual Startup Time": 950.956, "Actual Total Time": 1020.034, "Actual Rows": 175, "Actual Loops": 1, "Output": ["nation.n_name", "(date_part('year'::text, (orders.o_orderdate)::timestamp without time zone))", "sum(((lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount)) - (partsupp.ps_supplycost * lineitem.l_quantity)))"], "Group Key": ["nation.n_name", "(date_part('year'::text, (orders.o_orderdate)::timestamp without time zone))"], "Plans": [{"Node Type": "Gather", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 80471.91, "Total Cost": 93554.53, "Plan Rows": 120300, "Plan Width": 66, "Actual Startup Time": 949.939, "Actual Total Time": 1019.167, "Actual Rows": 525, "Actual Loops": 1, "Output": ["nation.n_name", "(date_part('year'::text, (orders.o_orderdate)::timestamp without time zone))", "(PARTIAL sum(((lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount)) - (partsupp.ps_supplycost * lineitem.l_quantity))))"], "Workers Planned": 2, "Workers Launched": 2, "Single Copy": false, "Plans": [{"Node Type": "Aggregate", "Strategy": "Hashed", "Partial Mode": "Partial", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 79471.91, "Total Cost": 80524.53, "Plan Rows": 60150, "Plan Width": 66, "Actual Startup Time": 944.823, "Actual Total Time": 945.305, "Actual Rows": 175, "Actual Loops": 3, "Output": ["nation.n_name", "(date_part('year'::text, (orders.o_orderdate)::timestamp without time zone))", "PARTIAL sum(((lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount)) - (partsupp.ps_supplycost * lineitem.l_quantity)))"], "Group Key": ["nation.n_name", "date_part('year'::text, (orders.o_orderdate)::timestamp without time zone)"], "Workers": [{"Worker Number": 0, "Actual Startup Time": 942.733, "Actual Total Time": 943.217, "Actual Rows": 175, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 942.356, "Actual Total Time": 942.835, "Actual Rows": 175, "Actual Loops": 1}], "Plans": [{"Node Type": "Nested Loop", "Parent Relationship": "Outer", "Parallel Aware": false, "Join Type": "Inner", "Startup Cost": 449.85, "Total Cost": 77367.32, "Plan Rows": 120262, "Plan Width": 57, "Actual Startup Time": 4.918, "Actual Total Time": 828.805, "Actual Rows": 107327, "Actual Loops": 3, "Output": ["nation.n_name", "date_part('year'::text, (orders.o_orderdate)::timestamp without time zone)", "lineitem.l_extendedprice", "lineitem.l_discount", "partsupp.ps_supplycost", "lineitem.l_quantity"], "Inner Unique": true, "Workers": [{"Worker Number": 0, "Actual Startup Time": 5.426, "Actual Total Time": 831.187, "Actual Rows": 103869, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 5.408, "Actual Total Time": 829.612, "Actual Rows": 104643, "Actual Loops": 1}], "Plans": [{"Node Type": "Nested Loop", "Parent Relationship": "Outer", "Parallel Aware": false, "Join Type": "Inner", "Startup Cost": 449.42, "Total Cost": 22583.46, "Plan Rows": 120262, "Plan Width": 53, "Actual Startup Time": 4.86, "Actual Total Time": 331.502, "Actual Rows": 107327, "Actual Loops": 3, "Output": ["lineitem.l_extendedprice", "lineitem.l_discount", "lineitem.l_quantity", "lineitem.l_orderkey", "partsupp.ps_supplycost", "nation.n_name"], "Inner Unique": false, "Join Filter": "(supplier.s_suppkey = lineitem.l_suppkey)", "Rows Removed by Join Filter": 0, "Workers": [{"Worker Number": 0, "Actual Startup Time": 5.344, "Actual Total Time": 345.007, "Actual Rows": 103869, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 5.335, "Actual Total Time": 344.959, "Actual Rows": 104643, "Actual Loops": 1}], "Plans": [{"Node Type": "Hash Join", "Parent Relationship": "Outer", "Parallel Aware": false, "Join Type": "Inner", "Startup Cost": 448.99, "Total Cost": 12285.79, "Plan Rows": 16032, "Plan Width": 48, "Actual Startup Time": 4.801, "Actual Total Time": 60.148, "Actual Rows": 14316, "Actual Loops": 3, "Output": ["part.p_partkey", "partsupp.ps_supplycost", "partsupp.ps_suppkey", "partsupp.ps_partkey", "supplier.s_suppkey", "nation.n_name"], "Inner Unique": true, "Hash Cond": "(supplier.s_nationkey = nation.n_nationkey)", "Workers": [{"Worker Number": 0, "Actual Startup Time": 5.259, "Actual Total Time": 61.649, "Actual Rows": 13836, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 5.26, "Actual Total Time": 62.427, "Actual Rows": 13956, "Actual Loops": 1}], "Plans": [{"Node Type": "Hash Join", "Parent Relationship": "Outer", "Parallel Aware": false, "Join Type": "Inner", "Startup Cost": 447.43, "Total Cost": 12235.01, "Plan Rows": 16032, "Plan Width": 26, "Actual Startup Time": 4.734, "Actual Total Time": 55.493, "Actual Rows": 14316, "Actual Loops": 3, "Output": ["part.p_partkey", "partsupp.ps_supplycost", "partsupp.ps_suppkey", "partsupp.ps_partkey", "supplier.s_suppkey", "supplier.s_nationkey"], "Inner Unique": true, "Hash Cond": "(partsupp.ps_suppkey = supplier.s_suppkey)", "Workers": [{"Worker Number": 0, "Actual Startup Time": 5.172, "Actual Total Time": 57.181, "Actual Rows": 13836, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 5.173, "Actual Total Time": 57.653, "Actual Rows": 13956, "Actual Loops": 1}], "Plans": [{"Node Type": "Nested Loop", "Parent Relationship": "Outer", "Parallel Aware": false, "Join Type": "Inner", "Startup Cost": 0.42, "Total Cost": 11745.91, "Plan Rows": 16032, "Plan Width": 18, "Actual Startup Time": 0.089, "Actual Total Time": 43.563, "Actual Rows": 14316, "Actual Loops": 3, "Output": ["part.p_partkey", "partsupp.ps_supplycost", "partsupp.ps_suppkey", "partsupp.ps_partkey"], "Inner Unique": false, "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.125, "Actual Total Time": 45.216, "Actual Rows": 13836, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 0.12, "Actual Total Time": 45.347, "Actual Rows": 13956, "Actual Loops": 1}], "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": true, "Relation Name": "part", "Schema": "public", "Alias": "part", "Startup Cost": 0.0, "Total Cost": 5138.67, "Plan Rows": 4008, "Plan Width": 4, "Actual Startup Time": 0.021, "Actual Total Time": 18.512, "Actual Rows": 3579, "Actual Loops": 3, "Output": ["part.p_partkey", "part.p_name", "part.p_mfgr", "part.p_brand", "part.p_type", "part.p_size", "part.p_container", "part.p_retailprice", "part.p_comment"], "Filter": "((part.p_name)::text ~~ '%forest%'::text)", "Rows Removed by Filter": 63088, "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.029, "Actual Total Time": 18.424, "Actual Rows": 3459, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 0.03, "Actual Total Time": 18.567, "Actual Rows": 3489, "Actual Loops": 1}]}, {"Node Type": "Index Scan", "Parent Relationship": "Inner", "Parallel Aware": false, "Scan Direction": "Forward", "Index Name": "ps_pk", "Relation Name": "partsupp", "Schema": "public", "Alias": "partsupp", "Startup Cost": 0.42, "Total Cost": 1.61, "Plan Rows": 4, "Plan Width": 14, "Actual Startup Time": 0.005, "Actual Total Time": 0.006, "Actual Rows": 4, "Actual Loops": 10737, "Output": ["partsupp.ps_partkey", "partsupp.ps_suppkey", "partsupp.ps_availqty", "partsupp.ps_supplycost", "partsupp.ps_comment"], "Index Cond": "(partsupp.ps_partkey = part.p_partkey)", "Rows Removed by Index Recheck": 0, "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.006, "Actual Total Time": 0.007, "Actual Rows": 4, "Actual Loops": 3459}, {"Worker Number": 1, "Actual Startup Time": 0.005, "Actual Total Time": 0.007, "Actual Rows": 4, "Actual Loops": 3489}]}]}, {"Node Type": "Hash", "Parent Relationship": "Inner", "Parallel Aware": false, "Startup Cost": 322.0, "Total Cost": 322.0, "Plan Rows": 10000, "Plan Width": 8, "Actual Startup Time": 4.575, "Actual Total Time": 4.576, "Actual Rows": 10000, "Actual Loops": 3, "Output": ["supplier.s_suppkey", "supplier.s_nationkey"], "Hash Buckets": 16384, "Original Hash Buckets": 16384, "Hash Batches": 1, "Original Hash Batches": 1, "Peak Memory Usage": 519, "Workers": [{"Worker Number": 0, "Actual Startup Time": 4.952, "Actual Total Time": 4.953, "Actual Rows": 10000, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 4.959, "Actual Total Time": 4.96, "Actual Rows": 10000, "Actual Loops": 1}], "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Relation Name": "supplier", "Schema": "public", "Alias": "supplier", "Startup Cost": 0.0, "Total Cost": 322.0, "Plan Rows": 10000, "Plan Width": 8, "Actual Startup Time": 0.01, "Actual Total Time": 2.979, "Actual Rows": 10000, "Actual Loops": 3, "Output": ["supplier.s_suppkey", "supplier.s_nationkey"], "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.012, "Actual Total Time": 3.287, "Actual Rows": 10000, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 0.013, "Actual Total Time": 3.291, "Actual Rows": 10000, "Actual Loops": 1}]}]}]}, {"Node Type": "Hash", "Parent Relationship": "Inner", "Parallel Aware": false, "Startup Cost": 1.25, "Total Cost": 1.25, "Plan Rows": 25, "Plan Width": 30, "Actual Startup Time": 0.03, "Actual Total Time": 0.03, "Actual Rows": 25, "Actual Loops": 3, "Output": ["nation.n_name", "nation.n_nationkey"], "Hash Buckets": 1024, "Original Hash Buckets": 1024, "Hash Batches": 1, "Original Hash Batches": 1, "Peak Memory Usage": 10, "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.034, "Actual Total Time": 0.035, "Actual Rows": 25, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 0.036, "Actual Total Time": 0.036, "Actual Rows": 25, "Actual Loops": 1}], "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Relation Name": "nation", "Schema": "public", "Alias": "nation", "Startup Cost": 0.0, "Total Cost": 1.25, "Plan Rows": 25, "Plan Width": 30, "Actual Startup Time": 0.014, "Actual Total Time": 0.02, "Actual Rows": 25, "Actual Loops": 3, "Output": ["nation.n_name", "nation.n_nationkey"], "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.018, "Actual Total Time": 0.022, "Actual Rows": 25, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 0.018, "Actual Total Time": 0.024, "Actual Rows": 25, "Actual Loops": 1}]}]}]}, {"Node Type": "Index Scan", "Parent Relationship": "Inner", "Parallel Aware": false, "Scan Direction": "Forward", "Index Name": "l_sk_pk", "Relation Name": "lineitem", "Schema": "public", "Alias": "lineitem", "Startup Cost": 0.43, "Total Cost": 0.63, "Plan Rows": 1, "Plan Width": 29, "Actual Startup Time": 0.006, "Actual Total Time": 0.016, "Actual Rows": 7, "Actual Loops": 42948, "Output": ["lineitem.l_orderkey", "lineitem.l_partkey", "lineitem.l_suppkey", "lineitem.l_linenumber", "lineitem.l_quantity", "lineitem.l_extendedprice", "lineitem.l_discount", "lineitem.l_tax", "lineitem.l_returnflag", "lineitem.l_linestatus", "lineitem.l_shipdate", "lineitem.l_commitdate", "lineitem.l_receiptdate", "lineitem.l_shipinstruct", "lineitem.l_shipmode", "lineitem.l_comment"], "Index Cond": "((lineitem.l_suppkey = partsupp.ps_suppkey) AND (lineitem.l_partkey = partsupp.ps_partkey))", "Rows Removed by Index Recheck": 0, "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.006, "Actual Total Time": 0.018, "Actual Rows": 8, "Actual Loops": 13836}, {"Worker Number": 1, "Actual Startup Time": 0.006, "Actual Total Time": 0.018, "Actual Rows": 7, "Actual Loops": 13956}]}]}, {"Node Type": "Index Scan", "Parent Relationship": "Inner", "Parallel Aware": false, "Scan Direction": "Forward", "Index Name": "o_ok", "Relation Name": "orders", "Schema": "public", "Alias": "orders", "Startup Cost": 0.43, "Total Cost": 0.45, "Plan Rows": 1, "Plan Width": 8, "Actual Startup Time": 0.004, "Actual Total Time": 0.004, "Actual Rows": 1, "Actual Loops": 321982, "Output": ["orders.o_orderkey", "orders.o_custkey", "orders.o_orderstatus", "orders.o_totalprice", "orders.o_orderdate", "orders.o_orderpriority", "orders.o_clerk", "orders.o_shippriority", "orders.o_comment"], "Index Cond": "(orders.o_orderkey = lineitem.l_orderkey)", "Rows Removed by Index Recheck": 0, "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.004, "Actual Total Time": 0.004, "Actual Rows": 1, "Actual Loops": 103869}, {"Worker Number": 1, "Actual Startup Time": 0.004, "Actual Total Time": 0.004, "Actual Rows": 1, "Actual Loops": 104643}]}]}]}]}]}]}, "Planning Time": 13.221, "Triggers": [], "Execution Time": 1021.309} diff --git a/dev9/pg10/tpch/sf_10/explain/15721/1-1.ok b/dev9/pg10/tpch/sf_10/explain/15721/1-1.ok new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/dev9/pg10/tpch/sf_10/explain/15721/1-1.res b/dev9/pg10/tpch/sf_10/explain/15721/1-1.res new file mode 100644 index 0000000000000000000000000000000000000000..37c785ff21b6de2ed8109e8206dcafea49bb26a7 --- /dev/null +++ b/dev9/pg10/tpch/sf_10/explain/15721/1-1.res @@ -0,0 +1 @@ +{"Plan": {"Node Type": "Aggregate", "Strategy": "Sorted", "Partial Mode": "Finalize", "Parallel Aware": false, "Startup Cost": 1567565.26, "Total Cost": 1567567.32, "Plan Rows": 6, "Plan Width": 236, "Output": ["l_returnflag", "l_linestatus", "sum(l_quantity)", "sum(l_extendedprice)", "sum((l_extendedprice * ('1'::numeric - l_discount)))", "sum(((l_extendedprice * ('1'::numeric - l_discount)) * ('1'::numeric + l_tax)))", "avg(l_quantity)", "avg(l_extendedprice)", "avg(l_discount)", "count(*)"], "Group Key": ["lineitem.l_returnflag", "lineitem.l_linestatus"], "Plans": [{"Node Type": "Sort", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 1567565.26, "Total Cost": 1567565.37, "Plan Rows": 42, "Plan Width": 236, "Output": ["l_returnflag", "l_linestatus", "(PARTIAL sum(l_quantity))", "(PARTIAL sum(l_extendedprice))", "(PARTIAL sum((l_extendedprice * ('1'::numeric - l_discount))))", "(PARTIAL sum(((l_extendedprice * ('1'::numeric - l_discount)) * ('1'::numeric + l_tax))))", "(PARTIAL avg(l_quantity))", "(PARTIAL avg(l_extendedprice))", "(PARTIAL avg(l_discount))", "(PARTIAL count(*))"], "Sort Key": ["lineitem.l_returnflag", "lineitem.l_linestatus"], "Plans": [{"Node Type": "Gather", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 1567559.76, "Total Cost": 1567564.13, "Plan Rows": 42, "Plan Width": 236, "Output": ["l_returnflag", "l_linestatus", "(PARTIAL sum(l_quantity))", "(PARTIAL sum(l_extendedprice))", "(PARTIAL sum((l_extendedprice * ('1'::numeric - l_discount))))", "(PARTIAL sum(((l_extendedprice * ('1'::numeric - l_discount)) * ('1'::numeric + l_tax))))", "(PARTIAL avg(l_quantity))", "(PARTIAL avg(l_extendedprice))", "(PARTIAL avg(l_discount))", "(PARTIAL count(*))"], "Workers Planned": 7, "Single Copy": false, "Plans": [{"Node Type": "Aggregate", "Strategy": "Hashed", "Partial Mode": "Partial", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 1566559.76, "Total Cost": 1566559.93, "Plan Rows": 6, "Plan Width": 236, "Output": ["l_returnflag", "l_linestatus", "PARTIAL sum(l_quantity)", "PARTIAL sum(l_extendedprice)", "PARTIAL sum((l_extendedprice * ('1'::numeric - l_discount)))", "PARTIAL sum(((l_extendedprice * ('1'::numeric - l_discount)) * ('1'::numeric + l_tax)))", "PARTIAL avg(l_quantity)", "PARTIAL avg(l_extendedprice)", "PARTIAL avg(l_discount)", "PARTIAL count(*)"], "Group Key": ["lineitem.l_returnflag", "lineitem.l_linestatus"], "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": true, "Relation Name": "lineitem", "Schema": "public", "Alias": "lineitem", "Startup Cost": 0.0, "Total Cost": 1231662.16, "Plan Rows": 8372440, "Plan Width": 25, "Output": ["l_returnflag", "l_linestatus", "l_quantity", "l_extendedprice", "l_discount", "l_tax"], "Filter": "(lineitem.l_shipdate <= '1998-08-07 23:59:57'::timestamp without time zone)"}]}]}]}]}} diff --git a/dev9/pg10/tpch/sf_10/explain/15721/10-1.ok b/dev9/pg10/tpch/sf_10/explain/15721/10-1.ok new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/dev9/pg10/tpch/sf_10/explain/15721/10-1.res b/dev9/pg10/tpch/sf_10/explain/15721/10-1.res new file mode 100644 index 0000000000000000000000000000000000000000..02283ffd1cda649c4e301e1611424a4fbd11b2ed --- /dev/null +++ b/dev9/pg10/tpch/sf_10/explain/15721/10-1.res @@ -0,0 +1 @@ +{"Plan": {"Node Type": "Limit", "Parallel Aware": false, "Startup Cost": 649576.42, "Total Cost": 649576.47, "Plan Rows": 20, "Plan Width": 201, "Output": ["customer.c_custkey", "customer.c_name", "(sum((lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount))))", "customer.c_acctbal", "nation.n_name", "customer.c_address", "customer.c_phone", "customer.c_comment"], "Plans": [{"Node Type": "Sort", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 649576.42, "Total Cost": 650944.83, "Plan Rows": 547366, "Plan Width": 201, "Output": ["customer.c_custkey", "customer.c_name", "(sum((lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount))))", "customer.c_acctbal", "nation.n_name", "customer.c_address", "customer.c_phone", "customer.c_comment"], "Sort Key": ["(sum((lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount)))) DESC"], "Plans": [{"Node Type": "Aggregate", "Strategy": "Sorted", "Partial Mode": "Finalize", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 553661.34, "Total Cost": 635011.21, "Plan Rows": 547366, "Plan Width": 201, "Output": ["customer.c_custkey", "customer.c_name", "sum((lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount)))", "customer.c_acctbal", "nation.n_name", "customer.c_address", "customer.c_phone", "customer.c_comment"], "Group Key": ["customer.c_custkey", "nation.n_name"], "Plans": [{"Node Type": "Gather Merge", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 553661.34, "Total Cost": 622695.45, "Plan Rows": 547368, "Plan Width": 201, "Output": ["customer.c_custkey", "nation.n_name", "customer.c_name", "(PARTIAL sum((lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount))))", "customer.c_acctbal", "customer.c_address", "customer.c_phone", "customer.c_comment"], "Workers Planned": 6, "Plans": [{"Node Type": "Aggregate", "Strategy": "Sorted", "Partial Mode": "Partial", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 552661.24, "Total Cost": 555170.01, "Plan Rows": 91228, "Plan Width": 201, "Output": ["customer.c_custkey", "nation.n_name", "customer.c_name", "PARTIAL sum((lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount)))", "customer.c_acctbal", "customer.c_address", "customer.c_phone", "customer.c_comment"], "Group Key": ["customer.c_custkey", "nation.n_name"], "Plans": [{"Node Type": "Sort", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 552661.24, "Total Cost": 552889.31, "Plan Rows": 91228, "Plan Width": 181, "Output": ["customer.c_custkey", "nation.n_name", "customer.c_name", "lineitem.l_extendedprice", "lineitem.l_discount", "customer.c_acctbal", "customer.c_address", "customer.c_phone", "customer.c_comment"], "Sort Key": ["customer.c_custkey", "nation.n_name"], "Plans": [{"Node Type": "Hash Join", "Parent Relationship": "Outer", "Parallel Aware": false, "Join Type": "Inner", "Startup Cost": 7310.68, "Total Cost": 545145.34, "Plan Rows": 91228, "Plan Width": 181, "Output": ["customer.c_custkey", "nation.n_name", "customer.c_name", "lineitem.l_extendedprice", "lineitem.l_discount", "customer.c_acctbal", "customer.c_address", "customer.c_phone", "customer.c_comment"], "Inner Unique": true, "Hash Cond": "(customer.c_nationkey = nation.n_nationkey)", "Plans": [{"Node Type": "Nested Loop", "Parent Relationship": "Outer", "Parallel Aware": false, "Join Type": "Inner", "Startup Cost": 7309.11, "Total Cost": 544863.71, "Plan Rows": 91228, "Plan Width": 159, "Output": ["customer.c_custkey", "customer.c_name", "customer.c_acctbal", "customer.c_address", "customer.c_phone", "customer.c_comment", "customer.c_nationkey", "lineitem.l_extendedprice", "lineitem.l_discount"], "Inner Unique": true, "Plans": [{"Node Type": "Nested Loop", "Parent Relationship": "Outer", "Parallel Aware": false, "Join Type": "Inner", "Startup Cost": 7308.69, "Total Cost": 496989.85, "Plan Rows": 91228, "Plan Width": 16, "Output": ["orders.o_custkey", "lineitem.l_extendedprice", "lineitem.l_discount"], "Inner Unique": false, "Plans": [{"Node Type": "Bitmap Heap Scan", "Parent Relationship": "Outer", "Parallel Aware": true, "Relation Name": "orders", "Schema": "public", "Alias": "orders", "Startup Cost": 7308.12, "Total Cost": 269597.09, "Plan Rows": 91798, "Plan Width": 8, "Output": ["orders.o_orderkey", "orders.o_custkey", "orders.o_orderstatus", "orders.o_totalprice", "orders.o_orderdate", "orders.o_orderpriority", "orders.o_clerk", "orders.o_shippriority", "orders.o_comment"], "Recheck Cond": "((orders.o_orderdate >= '1993-02-01'::date) AND (orders.o_orderdate < '1993-05-01 00:00:00'::timestamp without time zone))", "Plans": [{"Node Type": "Bitmap Index Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Index Name": "o_od", "Startup Cost": 0.0, "Total Cost": 7170.43, "Plan Rows": 550789, "Plan Width": 0, "Index Cond": "((orders.o_orderdate >= '1993-02-01'::date) AND (orders.o_orderdate < '1993-05-01 00:00:00'::timestamp without time zone))"}]}, {"Node Type": "Index Scan", "Parent Relationship": "Inner", "Parallel Aware": false, "Scan Direction": "Forward", "Index Name": "l_ok", "Relation Name": "lineitem", "Schema": "public", "Alias": "lineitem", "Startup Cost": 0.56, "Total Cost": 2.4, "Plan Rows": 8, "Plan Width": 16, "Output": ["lineitem.l_orderkey", "lineitem.l_partkey", "lineitem.l_suppkey", "lineitem.l_linenumber", "lineitem.l_quantity", "lineitem.l_extendedprice", "lineitem.l_discount", "lineitem.l_tax", "lineitem.l_returnflag", "lineitem.l_linestatus", "lineitem.l_shipdate", "lineitem.l_commitdate", "lineitem.l_receiptdate", "lineitem.l_shipinstruct", "lineitem.l_shipmode", "lineitem.l_comment"], "Index Cond": "(lineitem.l_orderkey = orders.o_orderkey)", "Filter": "(lineitem.l_returnflag = 'R'::bpchar)"}]}, {"Node Type": "Index Scan", "Parent Relationship": "Inner", "Parallel Aware": false, "Scan Direction": "Forward", "Index Name": "c_ck", "Relation Name": "customer", "Schema": "public", "Alias": "customer", "Startup Cost": 0.43, "Total Cost": 0.52, "Plan Rows": 1, "Plan Width": 147, "Output": ["customer.c_custkey", "customer.c_name", "customer.c_address", "customer.c_nationkey", "customer.c_phone", "customer.c_acctbal", "customer.c_mktsegment", "customer.c_comment"], "Index Cond": "(customer.c_custkey = orders.o_custkey)"}]}, {"Node Type": "Hash", "Parent Relationship": "Inner", "Parallel Aware": false, "Startup Cost": 1.25, "Total Cost": 1.25, "Plan Rows": 25, "Plan Width": 30, "Output": ["nation.n_name", "nation.n_nationkey"], "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Relation Name": "nation", "Schema": "public", "Alias": "nation", "Startup Cost": 0.0, "Total Cost": 1.25, "Plan Rows": 25, "Plan Width": 30, "Output": ["nation.n_name", "nation.n_nationkey"]}]}]}]}]}]}]}]}]}} diff --git a/dev9/pg10/tpch/sf_10/explain/15721/11-1.ok b/dev9/pg10/tpch/sf_10/explain/15721/11-1.ok new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/dev9/pg10/tpch/sf_10/explain/15721/11-1.res b/dev9/pg10/tpch/sf_10/explain/15721/11-1.res new file mode 100644 index 0000000000000000000000000000000000000000..f37c4c0124df6093ac0bac55c9c9596472773118 --- /dev/null +++ b/dev9/pg10/tpch/sf_10/explain/15721/11-1.res @@ -0,0 +1 @@ +{"Plan": {"Node Type": "Sort", "Parallel Aware": false, "Startup Cost": 107631.2, "Total Cost": 108431.19, "Plan Rows": 319996, "Plan Width": 36, "Output": ["partsupp.ps_partkey", "(sum((partsupp.ps_supplycost * (partsupp.ps_availqty)::numeric)))"], "Sort Key": ["(sum((partsupp.ps_supplycost * (partsupp.ps_availqty)::numeric))) DESC"], "Plans": [{"Node Type": "Aggregate", "Strategy": "Plain", "Partial Mode": "Finalize", "Parent Relationship": "InitPlan", "Subplan Name": "InitPlan 1 (returns $2)", "Parallel Aware": false, "Startup Cost": 16609.0, "Total Cost": 16609.02, "Plan Rows": 1, "Plan Width": 32, "Output": ["(sum((partsupp_1.ps_supplycost * (partsupp_1.ps_availqty)::numeric)) * 0.0001000000)"], "Plans": [{"Node Type": "Gather", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 16608.89, "Total Cost": 16609.0, "Plan Rows": 1, "Plan Width": 32, "Output": ["(PARTIAL sum((partsupp_1.ps_supplycost * (partsupp_1.ps_availqty)::numeric)))"], "Workers Planned": 1, "Single Copy": false, "Plans": [{"Node Type": "Aggregate", "Strategy": "Plain", "Partial Mode": "Partial", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 15608.89, "Total Cost": 15608.9, "Plan Rows": 1, "Plan Width": 32, "Output": ["PARTIAL sum((partsupp_1.ps_supplycost * (partsupp_1.ps_availqty)::numeric))"], "Plans": [{"Node Type": "Nested Loop", "Parent Relationship": "Outer", "Parallel Aware": false, "Join Type": "Inner", "Startup Cost": 1.76, "Total Cost": 14197.14, "Plan Rows": 188233, "Plan Width": 10, "Output": ["partsupp_1.ps_supplycost", "partsupp_1.ps_availqty"], "Inner Unique": false, "Plans": [{"Node Type": "Hash Join", "Parent Relationship": "Outer", "Parallel Aware": false, "Join Type": "Inner", "Startup Cost": 1.32, "Total Cost": 2986.15, "Plan Rows": 2353, "Plan Width": 4, "Output": ["supplier_1.s_suppkey"], "Inner Unique": true, "Hash Cond": "(supplier_1.s_nationkey = nation_1.n_nationkey)", "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": true, "Relation Name": "supplier", "Schema": "public", "Alias": "supplier_1", "Startup Cost": 0.0, "Total Cost": 2804.24, "Plan Rows": 58824, "Plan Width": 8, "Output": ["supplier_1.s_suppkey", "supplier_1.s_name", "supplier_1.s_address", "supplier_1.s_nationkey", "supplier_1.s_phone", "supplier_1.s_acctbal", "supplier_1.s_comment"]}, {"Node Type": "Hash", "Parent Relationship": "Inner", "Parallel Aware": false, "Startup Cost": 1.31, "Total Cost": 1.31, "Plan Rows": 1, "Plan Width": 4, "Output": ["nation_1.n_nationkey"], "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Relation Name": "nation", "Schema": "public", "Alias": "nation_1", "Startup Cost": 0.0, "Total Cost": 1.31, "Plan Rows": 1, "Plan Width": 4, "Output": ["nation_1.n_nationkey"], "Filter": "(nation_1.n_name = 'CHINA'::bpchar)"}]}]}, {"Node Type": "Index Scan", "Parent Relationship": "Inner", "Parallel Aware": false, "Scan Direction": "Forward", "Index Name": "ps_sk", "Relation Name": "partsupp", "Schema": "public", "Alias": "partsupp_1", "Startup Cost": 0.43, "Total Cost": 3.97, "Plan Rows": 79, "Plan Width": 14, "Output": ["partsupp_1.ps_partkey", "partsupp_1.ps_suppkey", "partsupp_1.ps_availqty", "partsupp_1.ps_supplycost", "partsupp_1.ps_comment"], "Index Cond": "(partsupp_1.ps_suppkey = supplier_1.s_suppkey)"}]}]}]}]}, {"Node Type": "Aggregate", "Strategy": "Sorted", "Partial Mode": "Simple", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 50562.38, "Total Cost": 61762.24, "Plan Rows": 319996, "Plan Width": 36, "Output": ["partsupp.ps_partkey", "sum((partsupp.ps_supplycost * (partsupp.ps_availqty)::numeric))"], "Group Key": ["partsupp.ps_partkey"], "Filter": "(sum((partsupp.ps_supplycost * (partsupp.ps_availqty)::numeric)) > $2)", "Plans": [{"Node Type": "Sort", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 50562.38, "Total Cost": 51362.37, "Plan Rows": 319996, "Plan Width": 14, "Output": ["partsupp.ps_partkey", "partsupp.ps_supplycost", "partsupp.ps_availqty"], "Sort Key": ["partsupp.ps_partkey"], "Plans": [{"Node Type": "Nested Loop", "Parent Relationship": "Outer", "Parallel Aware": false, "Join Type": "Inner", "Startup Cost": 44.92, "Total Cost": 21302.44, "Plan Rows": 319996, "Plan Width": 14, "Output": ["partsupp.ps_partkey", "partsupp.ps_supplycost", "partsupp.ps_availqty"], "Inner Unique": false, "Plans": [{"Node Type": "Nested Loop", "Parent Relationship": "Outer", "Parallel Aware": false, "Join Type": "Inner", "Startup Cost": 44.49, "Total Cost": 2244.24, "Plan Rows": 4000, "Plan Width": 4, "Output": ["supplier.s_suppkey"], "Inner Unique": false, "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Relation Name": "nation", "Schema": "public", "Alias": "nation", "Startup Cost": 0.0, "Total Cost": 1.31, "Plan Rows": 1, "Plan Width": 4, "Output": ["nation.n_nationkey", "nation.n_name", "nation.n_regionkey", "nation.n_comment"], "Filter": "(nation.n_name = 'CHINA'::bpchar)"}, {"Node Type": "Bitmap Heap Scan", "Parent Relationship": "Inner", "Parallel Aware": false, "Relation Name": "supplier", "Schema": "public", "Alias": "supplier", "Startup Cost": 44.49, "Total Cost": 2202.92, "Plan Rows": 4000, "Plan Width": 8, "Output": ["supplier.s_suppkey", "supplier.s_name", "supplier.s_address", "supplier.s_nationkey", "supplier.s_phone", "supplier.s_acctbal", "supplier.s_comment"], "Recheck Cond": "(supplier.s_nationkey = nation.n_nationkey)", "Plans": [{"Node Type": "Bitmap Index Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Index Name": "s_nk", "Startup Cost": 0.0, "Total Cost": 43.49, "Plan Rows": 4000, "Plan Width": 0, "Index Cond": "(supplier.s_nationkey = nation.n_nationkey)"}]}]}, {"Node Type": "Index Scan", "Parent Relationship": "Inner", "Parallel Aware": false, "Scan Direction": "Forward", "Index Name": "ps_sk", "Relation Name": "partsupp", "Schema": "public", "Alias": "partsupp", "Startup Cost": 0.43, "Total Cost": 3.97, "Plan Rows": 79, "Plan Width": 18, "Output": ["partsupp.ps_partkey", "partsupp.ps_suppkey", "partsupp.ps_availqty", "partsupp.ps_supplycost", "partsupp.ps_comment"], "Index Cond": "(partsupp.ps_suppkey = supplier.s_suppkey)"}]}]}]}]}} diff --git a/dev9/pg10/tpch/sf_10/explain/15721/12-1.ok b/dev9/pg10/tpch/sf_10/explain/15721/12-1.ok new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/dev9/pg10/tpch/sf_10/explain/15721/12-1.res b/dev9/pg10/tpch/sf_10/explain/15721/12-1.res new file mode 100644 index 0000000000000000000000000000000000000000..116fa482105fd97da17d3e912906e9042de5c4a5 --- /dev/null +++ b/dev9/pg10/tpch/sf_10/explain/15721/12-1.res @@ -0,0 +1 @@ +{"Plan": {"Node Type": "Aggregate", "Strategy": "Sorted", "Partial Mode": "Finalize", "Parallel Aware": false, "Startup Cost": 1332087.23, "Total Cost": 1332926.22, "Plan Rows": 7, "Plan Width": 27, "Output": ["lineitem.l_shipmode", "sum(CASE WHEN ((orders.o_orderpriority = '1-URGENT'::bpchar) OR (orders.o_orderpriority = '2-HIGH'::bpchar)) THEN 1 ELSE 0 END)", "sum(CASE WHEN ((orders.o_orderpriority <> '1-URGENT'::bpchar) AND (orders.o_orderpriority <> '2-HIGH'::bpchar)) THEN 1 ELSE 0 END)"], "Group Key": ["lineitem.l_shipmode"], "Plans": [{"Node Type": "Gather Merge", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 1332087.23, "Total Cost": 1332925.78, "Plan Rows": 49, "Plan Width": 27, "Output": ["lineitem.l_shipmode", "(PARTIAL sum(CASE WHEN ((orders.o_orderpriority = '1-URGENT'::bpchar) OR (orders.o_orderpriority = '2-HIGH'::bpchar)) THEN 1 ELSE 0 END))", "(PARTIAL sum(CASE WHEN ((orders.o_orderpriority <> '1-URGENT'::bpchar) AND (orders.o_orderpriority <> '2-HIGH'::bpchar)) THEN 1 ELSE 0 END))"], "Workers Planned": 7, "Plans": [{"Node Type": "Aggregate", "Strategy": "Sorted", "Partial Mode": "Partial", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 1331087.11, "Total Cost": 1331919.66, "Plan Rows": 7, "Plan Width": 27, "Output": ["lineitem.l_shipmode", "PARTIAL sum(CASE WHEN ((orders.o_orderpriority = '1-URGENT'::bpchar) OR (orders.o_orderpriority = '2-HIGH'::bpchar)) THEN 1 ELSE 0 END)", "PARTIAL sum(CASE WHEN ((orders.o_orderpriority <> '1-URGENT'::bpchar) AND (orders.o_orderpriority <> '2-HIGH'::bpchar)) THEN 1 ELSE 0 END)"], "Group Key": ["lineitem.l_shipmode"], "Plans": [{"Node Type": "Sort", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 1331087.11, "Total Cost": 1331191.17, "Plan Rows": 41624, "Plan Width": 27, "Output": ["lineitem.l_shipmode", "orders.o_orderpriority"], "Sort Key": ["lineitem.l_shipmode"], "Plans": [{"Node Type": "Nested Loop", "Parent Relationship": "Outer", "Parallel Aware": false, "Join Type": "Inner", "Startup Cost": 119244.02, "Total Cost": 1327893.48, "Plan Rows": 41624, "Plan Width": 27, "Output": ["lineitem.l_shipmode", "orders.o_orderpriority"], "Inner Unique": true, "Plans": [{"Node Type": "Bitmap Heap Scan", "Parent Relationship": "Outer", "Parallel Aware": true, "Relation Name": "lineitem", "Schema": "public", "Alias": "lineitem", "Startup Cost": 119243.59, "Total Cost": 1273214.23, "Plan Rows": 41624, "Plan Width": 15, "Output": ["lineitem.l_orderkey", "lineitem.l_partkey", "lineitem.l_suppkey", "lineitem.l_linenumber", "lineitem.l_quantity", "lineitem.l_extendedprice", "lineitem.l_discount", "lineitem.l_tax", "lineitem.l_returnflag", "lineitem.l_linestatus", "lineitem.l_shipdate", "lineitem.l_commitdate", "lineitem.l_receiptdate", "lineitem.l_shipinstruct", "lineitem.l_shipmode", "lineitem.l_comment"], "Recheck Cond": "((lineitem.l_receiptdate >= '1995-01-01'::date) AND (lineitem.l_receiptdate < '1996-01-01 00:00:00'::timestamp without time zone))", "Filter": "((lineitem.l_shipmode = ANY ('{MAIL,TRUCK}'::bpchar[])) AND (lineitem.l_commitdate < lineitem.l_receiptdate) AND (lineitem.l_shipdate < lineitem.l_commitdate))", "Plans": [{"Node Type": "Bitmap Index Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Index Name": "l_rd", "Startup Cost": 0.0, "Total Cost": 119170.75, "Plan Rows": 9155578, "Plan Width": 0, "Index Cond": "((lineitem.l_receiptdate >= '1995-01-01'::date) AND (lineitem.l_receiptdate < '1996-01-01 00:00:00'::timestamp without time zone))"}]}, {"Node Type": "Index Scan", "Parent Relationship": "Inner", "Parallel Aware": false, "Scan Direction": "Forward", "Index Name": "o_ok", "Relation Name": "orders", "Schema": "public", "Alias": "orders", "Startup Cost": 0.43, "Total Cost": 1.31, "Plan Rows": 1, "Plan Width": 20, "Output": ["orders.o_orderkey", "orders.o_custkey", "orders.o_orderstatus", "orders.o_totalprice", "orders.o_orderdate", "orders.o_orderpriority", "orders.o_clerk", "orders.o_shippriority", "orders.o_comment"], "Index Cond": "(orders.o_orderkey = lineitem.l_orderkey)"}]}]}]}]}]}} diff --git a/dev9/pg10/tpch/sf_10/explain/15721/13-1.ok b/dev9/pg10/tpch/sf_10/explain/15721/13-1.ok new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/dev9/pg10/tpch/sf_10/explain/15721/13-1.res b/dev9/pg10/tpch/sf_10/explain/15721/13-1.res new file mode 100644 index 0000000000000000000000000000000000000000..838e3c9e5d9e0667e490192e4fea95c29c8a698b --- /dev/null +++ b/dev9/pg10/tpch/sf_10/explain/15721/13-1.res @@ -0,0 +1 @@ +{"Plan": {"Node Type": "Sort", "Parallel Aware": false, "Startup Cost": 924503.19, "Total Cost": 924503.69, "Plan Rows": 200, "Plan Width": 16, "Output": ["(count(orders.o_orderkey))", "(count(*))"], "Sort Key": ["(count(*)) DESC", "(count(orders.o_orderkey)) DESC"], "Plans": [{"Node Type": "Aggregate", "Strategy": "Hashed", "Partial Mode": "Simple", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 924493.55, "Total Cost": 924495.55, "Plan Rows": 200, "Plan Width": 16, "Output": ["(count(orders.o_orderkey))", "count(*)"], "Group Key": ["count(orders.o_orderkey)"], "Plans": [{"Node Type": "Aggregate", "Strategy": "Sorted", "Partial Mode": "Simple", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 0.86, "Total Cost": 901993.55, "Plan Rows": 1500000, "Plan Width": 12, "Output": ["customer.c_custkey", "count(orders.o_orderkey)"], "Group Key": ["customer.c_custkey"], "Plans": [{"Node Type": "Merge Join", "Parent Relationship": "Outer", "Parallel Aware": false, "Join Type": "Left", "Startup Cost": 0.86, "Total Cost": 812290.81, "Plan Rows": 14940547, "Plan Width": 8, "Output": ["customer.c_custkey", "orders.o_orderkey"], "Inner Unique": false, "Merge Cond": "(customer.c_custkey = orders.o_custkey)", "Plans": [{"Node Type": "Index Only Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Scan Direction": "Forward", "Index Name": "c_ck", "Relation Name": "customer", "Schema": "public", "Alias": "customer", "Startup Cost": 0.43, "Total Cost": 27028.03, "Plan Rows": 1500000, "Plan Width": 4, "Output": ["customer.c_custkey"]}, {"Node Type": "Index Scan", "Parent Relationship": "Inner", "Parallel Aware": false, "Scan Direction": "Forward", "Index Name": "o_ck", "Relation Name": "orders", "Schema": "public", "Alias": "orders", "Startup Cost": 0.43, "Total Cost": 594755.95, "Plan Rows": 14940547, "Plan Width": 8, "Output": ["orders.o_orderkey", "orders.o_custkey", "orders.o_orderstatus", "orders.o_totalprice", "orders.o_orderdate", "orders.o_orderpriority", "orders.o_clerk", "orders.o_shippriority", "orders.o_comment"], "Filter": "((orders.o_comment)::text !~~ '%unusual%requests%'::text)"}]}]}]}]}} diff --git a/dev9/pg10/tpch/sf_10/explain/15721/14-1.ok b/dev9/pg10/tpch/sf_10/explain/15721/14-1.ok new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/dev9/pg10/tpch/sf_10/explain/15721/14-1.res b/dev9/pg10/tpch/sf_10/explain/15721/14-1.res new file mode 100644 index 0000000000000000000000000000000000000000..355b0f39c11dbccd97ab2c357ff5cca7baaceb45 --- /dev/null +++ b/dev9/pg10/tpch/sf_10/explain/15721/14-1.res @@ -0,0 +1 @@ +{"Plan": {"Node Type": "Aggregate", "Strategy": "Plain", "Partial Mode": "Finalize", "Parallel Aware": false, "Startup Cost": 672774.31, "Total Cost": 672774.32, "Plan Rows": 1, "Plan Width": 32, "Output": ["((100.00 * sum(CASE WHEN ((part.p_type)::text ~~ 'PROMO%'::text) THEN (lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount)) ELSE '0'::numeric END)) / sum((lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount))))"], "Plans": [{"Node Type": "Gather", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 672773.63, "Total Cost": 672774.24, "Plan Rows": 6, "Plan Width": 64, "Output": ["(PARTIAL sum(CASE WHEN ((part.p_type)::text ~~ 'PROMO%'::text) THEN (lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount)) ELSE '0'::numeric END))", "(PARTIAL sum((lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount))))"], "Workers Planned": 6, "Single Copy": false, "Plans": [{"Node Type": "Aggregate", "Strategy": "Plain", "Partial Mode": "Partial", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 671773.63, "Total Cost": 671773.64, "Plan Rows": 1, "Plan Width": 64, "Output": ["PARTIAL sum(CASE WHEN ((part.p_type)::text ~~ 'PROMO%'::text) THEN (lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount)) ELSE '0'::numeric END)", "PARTIAL sum((lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount)))"], "Plans": [{"Node Type": "Nested Loop", "Parent Relationship": "Outer", "Parallel Aware": false, "Join Type": "Inner", "Startup Cost": 10252.32, "Total Cost": 669519.84, "Plan Rows": 128788, "Plan Width": 33, "Output": ["part.p_type", "lineitem.l_extendedprice", "lineitem.l_discount"], "Inner Unique": true, "Plans": [{"Node Type": "Bitmap Heap Scan", "Parent Relationship": "Outer", "Parallel Aware": true, "Relation Name": "lineitem", "Schema": "public", "Alias": "lineitem", "Startup Cost": 10251.9, "Total Cost": 603693.5, "Plan Rows": 128788, "Plan Width": 16, "Output": ["lineitem.l_orderkey", "lineitem.l_partkey", "lineitem.l_suppkey", "lineitem.l_linenumber", "lineitem.l_quantity", "lineitem.l_extendedprice", "lineitem.l_discount", "lineitem.l_tax", "lineitem.l_returnflag", "lineitem.l_linestatus", "lineitem.l_shipdate", "lineitem.l_commitdate", "lineitem.l_receiptdate", "lineitem.l_shipinstruct", "lineitem.l_shipmode", "lineitem.l_comment"], "Recheck Cond": "((lineitem.l_shipdate >= '1995-05-01'::date) AND (lineitem.l_shipdate < '1995-06-01 00:00:00'::timestamp without time zone))", "Plans": [{"Node Type": "Bitmap Index Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Index Name": "l_sd", "Startup Cost": 0.0, "Total Cost": 10058.72, "Plan Rows": 772725, "Plan Width": 0, "Index Cond": "((lineitem.l_shipdate >= '1995-05-01'::date) AND (lineitem.l_shipdate < '1995-06-01 00:00:00'::timestamp without time zone))"}]}, {"Node Type": "Index Scan", "Parent Relationship": "Inner", "Parallel Aware": false, "Scan Direction": "Forward", "Index Name": "p_pk", "Relation Name": "part", "Schema": "public", "Alias": "part", "Startup Cost": 0.43, "Total Cost": 0.51, "Plan Rows": 1, "Plan Width": 25, "Output": ["part.p_partkey", "part.p_name", "part.p_mfgr", "part.p_brand", "part.p_type", "part.p_size", "part.p_container", "part.p_retailprice", "part.p_comment"], "Index Cond": "(part.p_partkey = lineitem.l_partkey)"}]}]}]}]}} diff --git a/dev9/pg10/tpch/sf_10/explain/15721/15-1.ok b/dev9/pg10/tpch/sf_10/explain/15721/15-1.ok new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/dev9/pg10/tpch/sf_10/explain/15721/15-1.res b/dev9/pg10/tpch/sf_10/explain/15721/15-1.res new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/dev9/pg10/tpch/sf_10/explain/15721/15-2.ok b/dev9/pg10/tpch/sf_10/explain/15721/15-2.ok new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/dev9/pg10/tpch/sf_10/explain/15721/15-2.res b/dev9/pg10/tpch/sf_10/explain/15721/15-2.res new file mode 100644 index 0000000000000000000000000000000000000000..ac5b99fb6bdee4d2836ebc8726800f53d67be6d5 --- /dev/null +++ b/dev9/pg10/tpch/sf_10/explain/15721/15-2.res @@ -0,0 +1 @@ +{"Plan": {"Node Type": "Merge Join", "Parallel Aware": false, "Join Type": "Inner", "Startup Cost": 2618368.27, "Total Cost": 2670099.22, "Plan Rows": 100014, "Plan Width": 103, "Output": ["supplier.s_suppkey", "supplier.s_name", "supplier.s_address", "supplier.s_phone", "(sum((lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount))))"], "Inner Unique": true, "Merge Cond": "(supplier.s_suppkey = lineitem.l_suppkey)", "Plans": [{"Node Type": "Aggregate", "Strategy": "Plain", "Partial Mode": "Simple", "Parent Relationship": "InitPlan", "Subplan Name": "InitPlan 1 (returns $0)", "Parallel Aware": false, "Startup Cost": 1195357.25, "Total Cost": 1195357.26, "Plan Rows": 1, "Plan Width": 32, "Output": ["max((sum((lineitem_1.l_extendedprice * ('1'::numeric - lineitem_1.l_discount)))))"], "Plans": [{"Node Type": "Aggregate", "Strategy": "Hashed", "Partial Mode": "Simple", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 1192856.9, "Total Cost": 1194107.08, "Plan Rows": 100014, "Plan Width": 36, "Output": ["lineitem_1.l_suppkey", "sum((lineitem_1.l_extendedprice * ('1'::numeric - lineitem_1.l_discount)))"], "Group Key": ["lineitem_1.l_suppkey"], "Plans": [{"Node Type": "Bitmap Heap Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Relation Name": "lineitem", "Schema": "public", "Alias": "lineitem_1", "Startup Cost": 28994.56, "Total Cost": 1171001.59, "Plan Rows": 2185531, "Plan Width": 16, "Output": ["lineitem_1.l_orderkey", "lineitem_1.l_partkey", "lineitem_1.l_suppkey", "lineitem_1.l_linenumber", "lineitem_1.l_quantity", "lineitem_1.l_extendedprice", "lineitem_1.l_discount", "lineitem_1.l_tax", "lineitem_1.l_returnflag", "lineitem_1.l_linestatus", "lineitem_1.l_shipdate", "lineitem_1.l_commitdate", "lineitem_1.l_receiptdate", "lineitem_1.l_shipinstruct", "lineitem_1.l_shipmode", "lineitem_1.l_comment"], "Recheck Cond": "((lineitem_1.l_shipdate >= '1995-01-01'::date) AND (lineitem_1.l_shipdate < '1995-04-01 00:00:00'::timestamp without time zone))", "Plans": [{"Node Type": "Bitmap Index Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Index Name": "l_sd", "Startup Cost": 0.0, "Total Cost": 28448.17, "Plan Rows": 2185531, "Plan Width": 0, "Index Cond": "((lineitem_1.l_shipdate >= '1995-01-01'::date) AND (lineitem_1.l_shipdate < '1995-04-01 00:00:00'::timestamp without time zone))"}]}]}]}, {"Node Type": "Index Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Scan Direction": "Forward", "Index Name": "s_sk", "Relation Name": "supplier", "Schema": "public", "Alias": "supplier", "Startup Cost": 0.29, "Total Cost": 4020.1, "Plan Rows": 100000, "Plan Width": 71, "Output": ["supplier.s_suppkey", "supplier.s_name", "supplier.s_address", "supplier.s_nationkey", "supplier.s_phone", "supplier.s_acctbal", "supplier.s_comment"]}, {"Node Type": "Aggregate", "Strategy": "Sorted", "Partial Mode": "Simple", "Parent Relationship": "Inner", "Parallel Aware": false, "Startup Cost": 1423010.72, "Total Cost": 1468221.55, "Plan Rows": 100014, "Plan Width": 36, "Output": ["lineitem.l_suppkey", "sum((lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount)))"], "Group Key": ["lineitem.l_suppkey"], "Filter": "(sum((lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount))) = $0)", "Plans": [{"Node Type": "Sort", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 1423010.72, "Total Cost": 1428474.54, "Plan Rows": 2185531, "Plan Width": 16, "Output": ["lineitem.l_suppkey", "lineitem.l_extendedprice", "lineitem.l_discount"], "Sort Key": ["lineitem.l_suppkey"], "Plans": [{"Node Type": "Bitmap Heap Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Relation Name": "lineitem", "Schema": "public", "Alias": "lineitem", "Startup Cost": 28994.56, "Total Cost": 1171001.59, "Plan Rows": 2185531, "Plan Width": 16, "Output": ["lineitem.l_suppkey", "lineitem.l_extendedprice", "lineitem.l_discount"], "Recheck Cond": "((lineitem.l_shipdate >= '1995-01-01'::date) AND (lineitem.l_shipdate < '1995-04-01 00:00:00'::timestamp without time zone))", "Plans": [{"Node Type": "Bitmap Index Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Index Name": "l_sd", "Startup Cost": 0.0, "Total Cost": 28448.17, "Plan Rows": 2185531, "Plan Width": 0, "Index Cond": "((lineitem.l_shipdate >= '1995-01-01'::date) AND (lineitem.l_shipdate < '1995-04-01 00:00:00'::timestamp without time zone))"}]}]}]}]}} diff --git a/dev9/pg10/tpch/sf_10/explain/15721/15-3.ok b/dev9/pg10/tpch/sf_10/explain/15721/15-3.ok new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/dev9/pg10/tpch/sf_10/explain/15721/15-3.res b/dev9/pg10/tpch/sf_10/explain/15721/15-3.res new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/dev9/pg10/tpch/sf_10/explain/15721/16-1.ok b/dev9/pg10/tpch/sf_10/explain/15721/16-1.ok new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/dev9/pg10/tpch/sf_10/explain/15721/16-1.res b/dev9/pg10/tpch/sf_10/explain/15721/16-1.res new file mode 100644 index 0000000000000000000000000000000000000000..b77b190c06c601669ad92d0029f8c64d158519c1 --- /dev/null +++ b/dev9/pg10/tpch/sf_10/explain/15721/16-1.res @@ -0,0 +1 @@ +{"Plan": {"Node Type": "Sort", "Parallel Aware": false, "Startup Cost": 340251.3, "Total Cost": 340636.32, "Plan Rows": 154005, "Plan Width": 44, "Output": ["part.p_brand", "part.p_type", "part.p_size", "(count(DISTINCT partsupp.ps_suppkey))"], "Sort Key": ["(count(DISTINCT partsupp.ps_suppkey)) DESC", "part.p_brand", "part.p_type", "part.p_size"], "Plans": [{"Node Type": "Aggregate", "Strategy": "Sorted", "Partial Mode": "Simple", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 317986.22, "Total Cost": 326981.76, "Plan Rows": 154005, "Plan Width": 44, "Output": ["part.p_brand", "part.p_type", "part.p_size", "count(DISTINCT partsupp.ps_suppkey)"], "Group Key": ["part.p_brand", "part.p_type", "part.p_size"], "Plans": [{"Node Type": "Sort", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 317986.22, "Total Cost": 319477.32, "Plan Rows": 596439, "Plan Width": 40, "Output": ["part.p_brand", "part.p_type", "part.p_size", "partsupp.ps_suppkey"], "Sort Key": ["part.p_brand", "part.p_type", "part.p_size"], "Plans": [{"Node Type": "Gather", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 101486.25, "Total Cost": 251216.78, "Plan Rows": 596439, "Plan Width": 40, "Output": ["part.p_brand", "part.p_type", "part.p_size", "partsupp.ps_suppkey"], "Workers Planned": 6, "Single Copy": false, "Plans": [{"Node Type": "Hash Join", "Parent Relationship": "Outer", "Parallel Aware": false, "Join Type": "Inner", "Startup Cost": 100486.25, "Total Cost": 190572.88, "Plan Rows": 99406, "Plan Width": 40, "Output": ["part.p_brand", "part.p_type", "part.p_size", "partsupp.ps_suppkey"], "Inner Unique": true, "Hash Cond": "(partsupp.ps_partkey = part.p_partkey)", "Plans": [{"Node Type": "Index Only Scan", "Parent Relationship": "Outer", "Parallel Aware": true, "Scan Direction": "Forward", "Index Name": "ps_pk_sk", "Relation Name": "partsupp", "Schema": "public", "Alias": "partsupp", "Startup Cost": 3466.46, "Total Cost": 84263.12, "Plan Rows": 666658, "Plan Width": 8, "Output": ["partsupp.ps_suppkey", "partsupp.ps_partkey"], "Filter": "(NOT (hashed SubPlan 1))", "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "SubPlan", "Subplan Name": "SubPlan 1", "Parallel Aware": false, "Relation Name": "supplier", "Schema": "public", "Alias": "supplier", "Startup Cost": 0.0, "Total Cost": 3466.0, "Plan Rows": 10, "Plan Width": 4, "Output": ["supplier.s_suppkey"], "Filter": "((supplier.s_comment)::text ~~ '%Customer%Complaints%'::text)"}]}, {"Node Type": "Hash", "Parent Relationship": "Inner", "Parallel Aware": false, "Startup Cost": 90962.0, "Total Cost": 90962.0, "Plan Rows": 298223, "Plan Width": 40, "Output": ["part.p_brand", "part.p_type", "part.p_size", "part.p_partkey"], "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Relation Name": "part", "Schema": "public", "Alias": "part", "Startup Cost": 0.0, "Total Cost": 90962.0, "Plan Rows": 298223, "Plan Width": 40, "Output": ["part.p_brand", "part.p_type", "part.p_size", "part.p_partkey"], "Filter": "((part.p_brand <> 'Brand#11'::bpchar) AND ((part.p_type)::text !~~ 'ECONOMY ANODIZED%'::text) AND (part.p_size = ANY ('{42,16,39,18,23,32,44,41}'::integer[])))"}]}]}]}]}]}]}} diff --git a/dev9/pg10/tpch/sf_10/explain/15721/17-1.ok b/dev9/pg10/tpch/sf_10/explain/15721/17-1.ok new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/dev9/pg10/tpch/sf_10/explain/15721/17-1.res b/dev9/pg10/tpch/sf_10/explain/15721/17-1.res new file mode 100644 index 0000000000000000000000000000000000000000..365bbd5ab64e8d60c68c3f3b74190bcd5bd41027 --- /dev/null +++ b/dev9/pg10/tpch/sf_10/explain/15721/17-1.res @@ -0,0 +1 @@ +{"Plan": {"Node Type": "Aggregate", "Strategy": "Plain", "Partial Mode": "Simple", "Parallel Aware": false, "Startup Cost": 1931980.63, "Total Cost": 1931980.64, "Plan Rows": 1, "Plan Width": 32, "Output": ["(sum(lineitem.l_extendedprice) / 7.0)"], "Plans": [{"Node Type": "Hash Join", "Parent Relationship": "Outer", "Parallel Aware": false, "Join Type": "Inner", "Startup Cost": 49685.31, "Total Cost": 1931931.01, "Plan Rows": 19846, "Plan Width": 8, "Output": ["lineitem.l_extendedprice"], "Inner Unique": true, "Hash Cond": "(lineitem.l_partkey = part.p_partkey)", "Join Filter": "(lineitem.l_quantity < (SubPlan 1))", "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Relation Name": "lineitem", "Schema": "public", "Alias": "lineitem", "Startup Cost": 0.0, "Total Cost": 1724414.92, "Plan Rows": 59987292, "Plan Width": 17, "Output": ["lineitem.l_orderkey", "lineitem.l_partkey", "lineitem.l_suppkey", "lineitem.l_linenumber", "lineitem.l_quantity", "lineitem.l_extendedprice", "lineitem.l_discount", "lineitem.l_tax", "lineitem.l_returnflag", "lineitem.l_linestatus", "lineitem.l_shipdate", "lineitem.l_commitdate", "lineitem.l_receiptdate", "lineitem.l_shipinstruct", "lineitem.l_shipmode", "lineitem.l_comment"]}, {"Node Type": "Hash", "Parent Relationship": "Inner", "Parallel Aware": false, "Startup Cost": 49660.5, "Total Cost": 49660.5, "Plan Rows": 1985, "Plan Width": 4, "Output": ["part.p_partkey"], "Plans": [{"Node Type": "Gather", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 1000.0, "Total Cost": 49660.5, "Plan Rows": 1985, "Plan Width": 4, "Output": ["part.p_partkey"], "Workers Planned": 4, "Single Copy": false, "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": true, "Relation Name": "part", "Schema": "public", "Alias": "part", "Startup Cost": 0.0, "Total Cost": 48462.0, "Plan Rows": 496, "Plan Width": 4, "Output": ["part.p_partkey"], "Filter": "((part.p_brand = 'Brand#14'::bpchar) AND (part.p_container = 'WRAP BOX'::bpchar))"}]}]}, {"Node Type": "Aggregate", "Strategy": "Plain", "Partial Mode": "Simple", "Parent Relationship": "SubPlan", "Subplan Name": "SubPlan 1", "Parallel Aware": false, "Startup Cost": 36.39, "Total Cost": 36.4, "Plan Rows": 1, "Plan Width": 32, "Output": ["(0.2 * avg(lineitem_1.l_quantity))"], "Plans": [{"Node Type": "Index Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Scan Direction": "Forward", "Index Name": "l_pk", "Relation Name": "lineitem", "Schema": "public", "Alias": "lineitem_1", "Startup Cost": 0.56, "Total Cost": 36.31, "Plan Rows": 31, "Plan Width": 5, "Output": ["lineitem_1.l_orderkey", "lineitem_1.l_partkey", "lineitem_1.l_suppkey", "lineitem_1.l_linenumber", "lineitem_1.l_quantity", "lineitem_1.l_extendedprice", "lineitem_1.l_discount", "lineitem_1.l_tax", "lineitem_1.l_returnflag", "lineitem_1.l_linestatus", "lineitem_1.l_shipdate", "lineitem_1.l_commitdate", "lineitem_1.l_receiptdate", "lineitem_1.l_shipinstruct", "lineitem_1.l_shipmode", "lineitem_1.l_comment"], "Index Cond": "(lineitem_1.l_partkey = part.p_partkey)"}]}]}]}} diff --git a/dev9/pg10/tpch/sf_10/explain/15721/18-1.ok b/dev9/pg10/tpch/sf_10/explain/15721/18-1.ok new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/dev9/pg10/tpch/sf_10/explain/15721/18-1.res b/dev9/pg10/tpch/sf_10/explain/15721/18-1.res new file mode 100644 index 0000000000000000000000000000000000000000..b717faa845e6b45c9fd4f5bbf6556a305dade5cf --- /dev/null +++ b/dev9/pg10/tpch/sf_10/explain/15721/18-1.res @@ -0,0 +1 @@ +{"Plan": {"Node Type": "Limit", "Parallel Aware": false, "Startup Cost": 5082239.18, "Total Cost": 5082239.43, "Plan Rows": 100, "Plan Width": 71, "Output": ["customer.c_name", "customer.c_custkey", "orders.o_orderkey", "orders.o_orderdate", "orders.o_totalprice", "(sum(lineitem.l_quantity))"], "Plans": [{"Node Type": "Sort", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 5082239.18, "Total Cost": 5101571.36, "Plan Rows": 7732872, "Plan Width": 71, "Output": ["customer.c_name", "customer.c_custkey", "orders.o_orderkey", "orders.o_orderdate", "orders.o_totalprice", "(sum(lineitem.l_quantity))"], "Sort Key": ["orders.o_totalprice DESC", "orders.o_orderdate"], "Plans": [{"Node Type": "Aggregate", "Strategy": "Sorted", "Partial Mode": "Finalize", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 3643878.16, "Total Cost": 4786694.37, "Plan Rows": 7732872, "Plan Width": 71, "Output": ["customer.c_name", "customer.c_custkey", "orders.o_orderkey", "orders.o_orderdate", "orders.o_totalprice", "sum(lineitem.l_quantity)"], "Group Key": ["customer.c_custkey", "orders.o_orderkey"], "Plans": [{"Node Type": "Gather Merge", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 3643878.16, "Total Cost": 4612704.75, "Plan Rows": 7732872, "Plan Width": 71, "Output": ["customer.c_custkey", "orders.o_orderkey", "customer.c_name", "orders.o_orderdate", "orders.o_totalprice", "(PARTIAL sum(lineitem.l_quantity))"], "Workers Planned": 6, "Plans": [{"Node Type": "Aggregate", "Strategy": "Sorted", "Partial Mode": "Partial", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 3642878.06, "Total Cost": 3671876.33, "Plan Rows": 1288812, "Plan Width": 71, "Output": ["customer.c_custkey", "orders.o_orderkey", "customer.c_name", "orders.o_orderdate", "orders.o_totalprice", "PARTIAL sum(lineitem.l_quantity)"], "Group Key": ["customer.c_custkey", "orders.o_orderkey"], "Plans": [{"Node Type": "Sort", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 3642878.06, "Total Cost": 3646100.09, "Plan Rows": 1288812, "Plan Width": 44, "Output": ["customer.c_custkey", "orders.o_orderkey", "customer.c_name", "orders.o_orderdate", "orders.o_totalprice", "lineitem.l_quantity"], "Sort Key": ["customer.c_custkey", "orders.o_orderkey"], "Plans": [{"Node Type": "Nested Loop", "Parent Relationship": "Outer", "Parallel Aware": false, "Join Type": "Inner", "Startup Cost": 2658817.19, "Total Cost": 3488856.64, "Plan Rows": 1288812, "Plan Width": 44, "Output": ["customer.c_custkey", "orders.o_orderkey", "customer.c_name", "orders.o_orderdate", "orders.o_totalprice", "lineitem.l_quantity"], "Inner Unique": false, "Plans": [{"Node Type": "Hash Join", "Parent Relationship": "Outer", "Parallel Aware": false, "Join Type": "Inner", "Startup Cost": 2658816.62, "Total Cost": 3001558.11, "Plan Rows": 322282, "Plan Width": 43, "Output": ["customer.c_name", "customer.c_custkey", "orders.o_orderkey", "orders.o_orderdate", "orders.o_totalprice", "lineitem_1.l_orderkey"], "Inner Unique": true, "Hash Cond": "(orders.o_custkey = customer.c_custkey)", "Plans": [{"Node Type": "Hash Join", "Parent Relationship": "Outer", "Parallel Aware": false, "Join Type": "Inner", "Startup Cost": 2580449.62, "Total Cost": 2909777.12, "Plan Rows": 322282, "Plan Width": 24, "Output": ["orders.o_orderkey", "orders.o_orderdate", "orders.o_totalprice", "orders.o_custkey", "lineitem_1.l_orderkey"], "Inner Unique": true, "Hash Cond": "(orders.o_orderkey = lineitem_1.l_orderkey)", "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": true, "Relation Name": "orders", "Schema": "public", "Alias": "orders", "Startup Cost": 0.0, "Total Cost": 285912.79, "Plan Rows": 2500079, "Plan Width": 20, "Output": ["orders.o_orderkey", "orders.o_orderdate", "orders.o_totalprice", "orders.o_custkey"]}, {"Node Type": "Hash", "Parent Relationship": "Inner", "Parallel Aware": false, "Startup Cost": 2548724.51, "Total Cost": 2548724.51, "Plan Rows": 1933689, "Plan Width": 4, "Output": ["lineitem_1.l_orderkey"], "Plans": [{"Node Type": "Aggregate", "Strategy": "Sorted", "Partial Mode": "Simple", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 0.56, "Total Cost": 2529387.62, "Plan Rows": 1933689, "Plan Width": 4, "Output": ["lineitem_1.l_orderkey"], "Group Key": ["lineitem_1.l_orderkey"], "Filter": "(sum(lineitem_1.l_quantity) > '314'::numeric)", "Plans": [{"Node Type": "Index Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Scan Direction": "Forward", "Index Name": "l_ok", "Relation Name": "lineitem", "Schema": "public", "Alias": "lineitem_1", "Startup Cost": 0.56, "Total Cost": 2205280.04, "Plan Rows": 59987292, "Plan Width": 9, "Output": ["lineitem_1.l_orderkey", "lineitem_1.l_partkey", "lineitem_1.l_suppkey", "lineitem_1.l_linenumber", "lineitem_1.l_quantity", "lineitem_1.l_extendedprice", "lineitem_1.l_discount", "lineitem_1.l_tax", "lineitem_1.l_returnflag", "lineitem_1.l_linestatus", "lineitem_1.l_shipdate", "lineitem_1.l_commitdate", "lineitem_1.l_receiptdate", "lineitem_1.l_shipinstruct", "lineitem_1.l_shipmode", "lineitem_1.l_comment"]}]}]}]}, {"Node Type": "Hash", "Parent Relationship": "Inner", "Parallel Aware": false, "Startup Cost": 50827.0, "Total Cost": 50827.0, "Plan Rows": 1500000, "Plan Width": 23, "Output": ["customer.c_name", "customer.c_custkey"], "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Relation Name": "customer", "Schema": "public", "Alias": "customer", "Startup Cost": 0.0, "Total Cost": 50827.0, "Plan Rows": 1500000, "Plan Width": 23, "Output": ["customer.c_name", "customer.c_custkey"]}]}]}, {"Node Type": "Index Scan", "Parent Relationship": "Inner", "Parallel Aware": false, "Scan Direction": "Forward", "Index Name": "l_ok", "Relation Name": "lineitem", "Schema": "public", "Alias": "lineitem", "Startup Cost": 0.56, "Total Cost": 1.2, "Plan Rows": 31, "Plan Width": 9, "Output": ["lineitem.l_orderkey", "lineitem.l_partkey", "lineitem.l_suppkey", "lineitem.l_linenumber", "lineitem.l_quantity", "lineitem.l_extendedprice", "lineitem.l_discount", "lineitem.l_tax", "lineitem.l_returnflag", "lineitem.l_linestatus", "lineitem.l_shipdate", "lineitem.l_commitdate", "lineitem.l_receiptdate", "lineitem.l_shipinstruct", "lineitem.l_shipmode", "lineitem.l_comment"], "Index Cond": "(lineitem.l_orderkey = orders.o_orderkey)"}]}]}]}]}]}]}]}} diff --git a/dev9/pg10/tpch/sf_10/explain/15721/19-1.ok b/dev9/pg10/tpch/sf_10/explain/15721/19-1.ok new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/dev9/pg10/tpch/sf_10/explain/15721/19-1.res b/dev9/pg10/tpch/sf_10/explain/15721/19-1.res new file mode 100644 index 0000000000000000000000000000000000000000..f1563ce948d175fc70538233a7d9408da054da3d --- /dev/null +++ b/dev9/pg10/tpch/sf_10/explain/15721/19-1.res @@ -0,0 +1 @@ +{"Plan": {"Node Type": "Aggregate", "Strategy": "Plain", "Partial Mode": "Finalize", "Parallel Aware": false, "Startup Cost": 106895.48, "Total Cost": 106895.49, "Plan Rows": 1, "Plan Width": 32, "Output": ["sum((lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount)))"], "Plans": [{"Node Type": "Gather", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 106895.04, "Total Cost": 106895.45, "Plan Rows": 4, "Plan Width": 32, "Output": ["(PARTIAL sum((lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount))))"], "Workers Planned": 4, "Single Copy": false, "Plans": [{"Node Type": "Aggregate", "Strategy": "Plain", "Partial Mode": "Partial", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 105895.04, "Total Cost": 105895.05, "Plan Rows": 1, "Plan Width": 32, "Output": ["PARTIAL sum((lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount)))"], "Plans": [{"Node Type": "Nested Loop", "Parent Relationship": "Outer", "Parallel Aware": false, "Join Type": "Inner", "Startup Cost": 0.56, "Total Cost": 105892.93, "Plan Rows": 281, "Plan Width": 12, "Output": ["lineitem.l_extendedprice", "lineitem.l_discount"], "Inner Unique": false, "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": true, "Relation Name": "part", "Schema": "public", "Alias": "part", "Startup Cost": 0.0, "Total Cost": 62212.0, "Plan Rows": 1207, "Plan Width": 30, "Output": ["part.p_partkey", "part.p_name", "part.p_mfgr", "part.p_brand", "part.p_type", "part.p_size", "part.p_container", "part.p_retailprice", "part.p_comment"], "Filter": "((part.p_size >= 1) AND (((part.p_brand = 'Brand#52'::bpchar) AND (part.p_container = ANY ('{\"SM CASE\",\"SM BOX\",\"SM PACK\",\"SM PKG\"}'::bpchar[])) AND (part.p_size <= 5)) OR ((part.p_brand = 'Brand#42'::bpchar) AND (part.p_container = ANY ('{\"MED BAG\",\"MED BOX\",\"MED PKG\",\"MED PACK\"}'::bpchar[])) AND (part.p_size <= 10)) OR ((part.p_brand = 'Brand#23'::bpchar) AND (part.p_container = ANY ('{\"LG CASE\",\"LG BOX\",\"LG PACK\",\"LG PKG\"}'::bpchar[])) AND (part.p_size <= 15))))"}, {"Node Type": "Index Scan", "Parent Relationship": "Inner", "Parallel Aware": false, "Scan Direction": "Forward", "Index Name": "l_pk", "Relation Name": "lineitem", "Schema": "public", "Alias": "lineitem", "Startup Cost": 0.56, "Total Cost": 36.18, "Plan Rows": 1, "Plan Width": 21, "Output": ["lineitem.l_orderkey", "lineitem.l_partkey", "lineitem.l_suppkey", "lineitem.l_linenumber", "lineitem.l_quantity", "lineitem.l_extendedprice", "lineitem.l_discount", "lineitem.l_tax", "lineitem.l_returnflag", "lineitem.l_linestatus", "lineitem.l_shipdate", "lineitem.l_commitdate", "lineitem.l_receiptdate", "lineitem.l_shipinstruct", "lineitem.l_shipmode", "lineitem.l_comment"], "Index Cond": "(lineitem.l_partkey = part.p_partkey)", "Filter": "((lineitem.l_shipmode = ANY ('{AIR,\"AIR REG\"}'::bpchar[])) AND (lineitem.l_shipinstruct = 'DELIVER IN PERSON'::bpchar) AND (((lineitem.l_quantity >= '9'::numeric) AND (lineitem.l_quantity <= '19'::numeric)) OR ((lineitem.l_quantity >= '18'::numeric) AND (lineitem.l_quantity <= '28'::numeric)) OR ((lineitem.l_quantity >= '22'::numeric) AND (lineitem.l_quantity <= '32'::numeric))) AND (((part.p_brand = 'Brand#52'::bpchar) AND (part.p_container = ANY ('{\"SM CASE\",\"SM BOX\",\"SM PACK\",\"SM PKG\"}'::bpchar[])) AND (lineitem.l_quantity >= '9'::numeric) AND (lineitem.l_quantity <= '19'::numeric) AND (part.p_size <= 5)) OR ((part.p_brand = 'Brand#42'::bpchar) AND (part.p_container = ANY ('{\"MED BAG\",\"MED BOX\",\"MED PKG\",\"MED PACK\"}'::bpchar[])) AND (lineitem.l_quantity >= '18'::numeric) AND (lineitem.l_quantity <= '28'::numeric) AND (part.p_size <= 10)) OR ((part.p_brand = 'Brand#23'::bpchar) AND (part.p_container = ANY ('{\"LG CASE\",\"LG BOX\",\"LG PACK\",\"LG PKG\"}'::bpchar[])) AND (lineitem.l_quantity >= '22'::numeric) AND (lineitem.l_quantity <= '32'::numeric) AND (part.p_size <= 15))))"}]}]}]}]}} diff --git a/dev9/pg10/tpch/sf_10/explain/15721/2-1.ok b/dev9/pg10/tpch/sf_10/explain/15721/2-1.ok new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/dev9/pg10/tpch/sf_10/explain/15721/2-1.res b/dev9/pg10/tpch/sf_10/explain/15721/2-1.res new file mode 100644 index 0000000000000000000000000000000000000000..4bc6fe90e8fdb9d2607f358376b55ccafbf65fd8 --- /dev/null +++ b/dev9/pg10/tpch/sf_10/explain/15721/2-1.res @@ -0,0 +1 @@ +{"Plan": {"Node Type": "Limit", "Parallel Aware": false, "Startup Cost": 513782.35, "Total Cost": 513782.35, "Plan Rows": 1, "Plan Width": 192, "Output": ["supplier.s_acctbal", "supplier.s_name", "nation.n_name", "part.p_partkey", "part.p_mfgr", "supplier.s_address", "supplier.s_phone", "supplier.s_comment"], "Plans": [{"Node Type": "Sort", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 513782.35, "Total Cost": 513782.35, "Plan Rows": 1, "Plan Width": 192, "Output": ["supplier.s_acctbal", "supplier.s_name", "nation.n_name", "part.p_partkey", "part.p_mfgr", "supplier.s_address", "supplier.s_phone", "supplier.s_comment"], "Sort Key": ["supplier.s_acctbal DESC", "nation.n_name", "supplier.s_name", "part.p_partkey"], "Plans": [{"Node Type": "Merge Join", "Parent Relationship": "Outer", "Parallel Aware": false, "Join Type": "Inner", "Startup Cost": 342329.89, "Total Cost": 513782.34, "Plan Rows": 1, "Plan Width": 192, "Output": ["supplier.s_acctbal", "supplier.s_name", "nation.n_name", "part.p_partkey", "part.p_mfgr", "supplier.s_address", "supplier.s_phone", "supplier.s_comment"], "Inner Unique": false, "Merge Cond": "(part.p_partkey = partsupp.ps_partkey)", "Join Filter": "(partsupp.ps_supplycost = (SubPlan 1))", "Plans": [{"Node Type": "Gather Merge", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 1000.49, "Total Cost": 66463.07, "Plan Rows": 8100, "Plan Width": 30, "Output": ["part.p_partkey", "part.p_mfgr"], "Workers Planned": 4, "Plans": [{"Node Type": "Index Scan", "Parent Relationship": "Outer", "Parallel Aware": true, "Scan Direction": "Forward", "Index Name": "p_pk", "Relation Name": "part", "Schema": "public", "Alias": "part", "Startup Cost": 0.43, "Total Cost": 64498.23, "Plan Rows": 2025, "Plan Width": 30, "Output": ["part.p_partkey", "part.p_mfgr"], "Filter": "(((part.p_type)::text ~~ '%TIN'::text) AND (part.p_size = 44))"}]}, {"Node Type": "Materialize", "Parent Relationship": "Inner", "Parallel Aware": false, "Startup Cost": 341329.3, "Total Cost": 349329.2, "Plan Rows": 1599980, "Plan Width": 172, "Output": ["supplier.s_acctbal", "supplier.s_name", "supplier.s_address", "supplier.s_phone", "supplier.s_comment", "partsupp.ps_partkey", "partsupp.ps_supplycost", "nation.n_name"], "Plans": [{"Node Type": "Sort", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 341329.3, "Total Cost": 345329.25, "Plan Rows": 1599980, "Plan Width": 172, "Output": ["supplier.s_acctbal", "supplier.s_name", "supplier.s_address", "supplier.s_phone", "supplier.s_comment", "partsupp.ps_partkey", "partsupp.ps_supplycost", "nation.n_name"], "Sort Key": ["partsupp.ps_partkey"], "Plans": [{"Node Type": "Nested Loop", "Parent Relationship": "Outer", "Parallel Aware": false, "Join Type": "Inner", "Startup Cost": 0.72, "Total Cost": 96375.24, "Plan Rows": 1599980, "Plan Width": 172, "Output": ["supplier.s_acctbal", "supplier.s_name", "supplier.s_address", "supplier.s_phone", "supplier.s_comment", "partsupp.ps_partkey", "partsupp.ps_supplycost", "nation.n_name"], "Inner Unique": false, "Plans": [{"Node Type": "Nested Loop", "Parent Relationship": "Outer", "Parallel Aware": false, "Join Type": "Inner", "Startup Cost": 0.29, "Total Cost": 1084.23, "Plan Rows": 20000, "Plan Width": 166, "Output": ["supplier.s_acctbal", "supplier.s_name", "supplier.s_address", "supplier.s_phone", "supplier.s_comment", "supplier.s_suppkey", "nation.n_name"], "Inner Unique": false, "Plans": [{"Node Type": "Nested Loop", "Parent Relationship": "Outer", "Parallel Aware": false, "Join Type": "Inner", "Startup Cost": 0.0, "Total Cost": 2.62, "Plan Rows": 5, "Plan Width": 30, "Output": ["nation.n_name", "nation.n_nationkey"], "Inner Unique": false, "Join Filter": "(nation.n_regionkey = region.r_regionkey)", "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Relation Name": "region", "Schema": "public", "Alias": "region", "Startup Cost": 0.0, "Total Cost": 1.06, "Plan Rows": 1, "Plan Width": 4, "Output": ["region.r_regionkey", "region.r_name", "region.r_comment"], "Filter": "(region.r_name = 'EUROPE'::bpchar)"}, {"Node Type": "Seq Scan", "Parent Relationship": "Inner", "Parallel Aware": false, "Relation Name": "nation", "Schema": "public", "Alias": "nation", "Startup Cost": 0.0, "Total Cost": 1.25, "Plan Rows": 25, "Plan Width": 34, "Output": ["nation.n_nationkey", "nation.n_name", "nation.n_regionkey", "nation.n_comment"]}]}, {"Node Type": "Index Scan", "Parent Relationship": "Inner", "Parallel Aware": false, "Scan Direction": "Forward", "Index Name": "s_nk", "Relation Name": "supplier", "Schema": "public", "Alias": "supplier", "Startup Cost": 0.29, "Total Cost": 176.32, "Plan Rows": 4000, "Plan Width": 144, "Output": ["supplier.s_suppkey", "supplier.s_name", "supplier.s_address", "supplier.s_nationkey", "supplier.s_phone", "supplier.s_acctbal", "supplier.s_comment"], "Index Cond": "(supplier.s_nationkey = nation.n_nationkey)"}]}, {"Node Type": "Index Scan", "Parent Relationship": "Inner", "Parallel Aware": false, "Scan Direction": "Forward", "Index Name": "ps_sk", "Relation Name": "partsupp", "Schema": "public", "Alias": "partsupp", "Startup Cost": 0.43, "Total Cost": 3.97, "Plan Rows": 79, "Plan Width": 14, "Output": ["partsupp.ps_partkey", "partsupp.ps_suppkey", "partsupp.ps_availqty", "partsupp.ps_supplycost", "partsupp.ps_comment"], "Index Cond": "(partsupp.ps_suppkey = supplier.s_suppkey)"}]}]}]}, {"Node Type": "Aggregate", "Strategy": "Plain", "Partial Mode": "Simple", "Parent Relationship": "SubPlan", "Subplan Name": "SubPlan 1", "Parallel Aware": false, "Startup Cost": 14.48, "Total Cost": 14.49, "Plan Rows": 1, "Plan Width": 32, "Output": ["min(partsupp_1.ps_supplycost)"], "Plans": [{"Node Type": "Nested Loop", "Parent Relationship": "Outer", "Parallel Aware": false, "Join Type": "Inner", "Startup Cost": 0.86, "Total Cost": 14.48, "Plan Rows": 1, "Plan Width": 6, "Output": ["partsupp_1.ps_supplycost"], "Inner Unique": false, "Join Filter": "(nation_1.n_regionkey = region_1.r_regionkey)", "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Relation Name": "region", "Schema": "public", "Alias": "region_1", "Startup Cost": 0.0, "Total Cost": 1.06, "Plan Rows": 1, "Plan Width": 4, "Output": ["region_1.r_regionkey", "region_1.r_name", "region_1.r_comment"], "Filter": "(region_1.r_name = 'EUROPE'::bpchar)"}, {"Node Type": "Nested Loop", "Parent Relationship": "Inner", "Parallel Aware": false, "Join Type": "Inner", "Startup Cost": 0.86, "Total Cost": 13.36, "Plan Rows": 4, "Plan Width": 10, "Output": ["partsupp_1.ps_supplycost", "nation_1.n_regionkey"], "Inner Unique": true, "Plans": [{"Node Type": "Nested Loop", "Parent Relationship": "Outer", "Parallel Aware": false, "Join Type": "Inner", "Startup Cost": 0.72, "Total Cost": 12.74, "Plan Rows": 4, "Plan Width": 10, "Output": ["partsupp_1.ps_supplycost", "supplier_1.s_nationkey"], "Inner Unique": true, "Plans": [{"Node Type": "Index Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Scan Direction": "Forward", "Index Name": "ps_pk", "Relation Name": "partsupp", "Schema": "public", "Alias": "partsupp_1", "Startup Cost": 0.43, "Total Cost": 2.7, "Plan Rows": 4, "Plan Width": 10, "Output": ["partsupp_1.ps_partkey", "partsupp_1.ps_suppkey", "partsupp_1.ps_availqty", "partsupp_1.ps_supplycost", "partsupp_1.ps_comment"], "Index Cond": "(part.p_partkey = partsupp_1.ps_partkey)"}, {"Node Type": "Index Scan", "Parent Relationship": "Inner", "Parallel Aware": false, "Scan Direction": "Forward", "Index Name": "s_sk", "Relation Name": "supplier", "Schema": "public", "Alias": "supplier_1", "Startup Cost": 0.29, "Total Cost": 2.51, "Plan Rows": 1, "Plan Width": 8, "Output": ["supplier_1.s_suppkey", "supplier_1.s_name", "supplier_1.s_address", "supplier_1.s_nationkey", "supplier_1.s_phone", "supplier_1.s_acctbal", "supplier_1.s_comment"], "Index Cond": "(supplier_1.s_suppkey = partsupp_1.ps_suppkey)"}]}, {"Node Type": "Index Scan", "Parent Relationship": "Inner", "Parallel Aware": false, "Scan Direction": "Forward", "Index Name": "n_nk", "Relation Name": "nation", "Schema": "public", "Alias": "nation_1", "Startup Cost": 0.14, "Total Cost": 0.16, "Plan Rows": 1, "Plan Width": 8, "Output": ["nation_1.n_nationkey", "nation_1.n_name", "nation_1.n_regionkey", "nation_1.n_comment"], "Index Cond": "(nation_1.n_nationkey = supplier_1.s_nationkey)"}]}]}]}]}]}]}} diff --git a/dev9/pg10/tpch/sf_10/explain/15721/20-1.ok b/dev9/pg10/tpch/sf_10/explain/15721/20-1.ok new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/dev9/pg10/tpch/sf_10/explain/15721/20-1.res b/dev9/pg10/tpch/sf_10/explain/15721/20-1.res new file mode 100644 index 0000000000000000000000000000000000000000..906a80267f378a4e778a144542f86387da65c1fa --- /dev/null +++ b/dev9/pg10/tpch/sf_10/explain/15721/20-1.res @@ -0,0 +1 @@ +{"Plan": {"Node Type": "Sort", "Parallel Aware": false, "Startup Cost": 324574.83, "Total Cost": 324577.5, "Plan Rows": 1069, "Plan Width": 51, "Output": ["supplier.s_name", "supplier.s_address"], "Sort Key": ["supplier.s_name"], "Plans": [{"Node Type": "Hash Join", "Parent Relationship": "Outer", "Parallel Aware": false, "Join Type": "Semi", "Startup Cost": 322294.9, "Total Cost": 324521.05, "Plan Rows": 1069, "Plan Width": 51, "Output": ["supplier.s_name", "supplier.s_address"], "Inner Unique": false, "Hash Cond": "(supplier.s_suppkey = partsupp.ps_suppkey)", "Plans": [{"Node Type": "Nested Loop", "Parent Relationship": "Outer", "Parallel Aware": false, "Join Type": "Inner", "Startup Cost": 44.49, "Total Cost": 2244.24, "Plan Rows": 4000, "Plan Width": 55, "Output": ["supplier.s_name", "supplier.s_address", "supplier.s_suppkey"], "Inner Unique": false, "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Relation Name": "nation", "Schema": "public", "Alias": "nation", "Startup Cost": 0.0, "Total Cost": 1.31, "Plan Rows": 1, "Plan Width": 4, "Output": ["nation.n_nationkey", "nation.n_name", "nation.n_regionkey", "nation.n_comment"], "Filter": "(nation.n_name = 'GERMANY'::bpchar)"}, {"Node Type": "Bitmap Heap Scan", "Parent Relationship": "Inner", "Parallel Aware": false, "Relation Name": "supplier", "Schema": "public", "Alias": "supplier", "Startup Cost": 44.49, "Total Cost": 2202.92, "Plan Rows": 4000, "Plan Width": 59, "Output": ["supplier.s_suppkey", "supplier.s_name", "supplier.s_address", "supplier.s_nationkey", "supplier.s_phone", "supplier.s_acctbal", "supplier.s_comment"], "Recheck Cond": "(supplier.s_nationkey = nation.n_nationkey)", "Plans": [{"Node Type": "Bitmap Index Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Index Name": "s_nk", "Startup Cost": 0.0, "Total Cost": 43.49, "Plan Rows": 4000, "Plan Width": 0, "Index Cond": "(supplier.s_nationkey = nation.n_nationkey)"}]}]}, {"Node Type": "Hash", "Parent Relationship": "Inner", "Parallel Aware": false, "Startup Cost": 321916.41, "Total Cost": 321916.41, "Plan Rows": 26720, "Plan Width": 4, "Output": ["partsupp.ps_suppkey"], "Plans": [{"Node Type": "Nested Loop", "Parent Relationship": "Outer", "Parallel Aware": false, "Join Type": "Inner", "Startup Cost": 1000.43, "Total Cost": 321916.41, "Plan Rows": 26720, "Plan Width": 4, "Output": ["partsupp.ps_suppkey"], "Inner Unique": false, "Plans": [{"Node Type": "Gather", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 1000.0, "Total Cost": 50216.0, "Plan Rows": 20040, "Plan Width": 4, "Output": ["part.p_partkey"], "Workers Planned": 4, "Single Copy": false, "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": true, "Relation Name": "part", "Schema": "public", "Alias": "part", "Startup Cost": 0.0, "Total Cost": 47212.0, "Plan Rows": 5010, "Plan Width": 4, "Output": ["part.p_partkey"], "Filter": "((part.p_name)::text ~~ 'floral%'::text)"}]}, {"Node Type": "Index Scan", "Parent Relationship": "Inner", "Parallel Aware": false, "Scan Direction": "Forward", "Index Name": "ps_pk", "Relation Name": "partsupp", "Schema": "public", "Alias": "partsupp", "Startup Cost": 0.43, "Total Cost": 13.55, "Plan Rows": 1, "Plan Width": 8, "Output": ["partsupp.ps_partkey", "partsupp.ps_suppkey", "partsupp.ps_availqty", "partsupp.ps_supplycost", "partsupp.ps_comment"], "Index Cond": "(partsupp.ps_partkey = part.p_partkey)", "Filter": "((partsupp.ps_availqty)::numeric > (SubPlan 1))", "Plans": [{"Node Type": "Aggregate", "Strategy": "Plain", "Partial Mode": "Simple", "Parent Relationship": "SubPlan", "Subplan Name": "SubPlan 1", "Parallel Aware": false, "Startup Cost": 2.79, "Total Cost": 2.81, "Plan Rows": 1, "Plan Width": 32, "Output": ["(0.5 * sum(lineitem.l_quantity))"], "Plans": [{"Node Type": "Index Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Scan Direction": "Forward", "Index Name": "l_sk_pk", "Relation Name": "lineitem", "Schema": "public", "Alias": "lineitem", "Startup Cost": 0.56, "Total Cost": 2.79, "Plan Rows": 1, "Plan Width": 5, "Output": ["lineitem.l_orderkey", "lineitem.l_partkey", "lineitem.l_suppkey", "lineitem.l_linenumber", "lineitem.l_quantity", "lineitem.l_extendedprice", "lineitem.l_discount", "lineitem.l_tax", "lineitem.l_returnflag", "lineitem.l_linestatus", "lineitem.l_shipdate", "lineitem.l_commitdate", "lineitem.l_receiptdate", "lineitem.l_shipinstruct", "lineitem.l_shipmode", "lineitem.l_comment"], "Index Cond": "((lineitem.l_suppkey = partsupp.ps_suppkey) AND (lineitem.l_partkey = partsupp.ps_partkey))", "Filter": "((lineitem.l_shipdate >= '1996-01-01'::date) AND (lineitem.l_shipdate < '1997-01-01 00:00:00'::timestamp without time zone))"}]}]}]}]}]}]}} diff --git a/dev9/pg10/tpch/sf_10/explain/15721/21-1.ok b/dev9/pg10/tpch/sf_10/explain/15721/21-1.ok new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/dev9/pg10/tpch/sf_10/explain/15721/21-1.res b/dev9/pg10/tpch/sf_10/explain/15721/21-1.res new file mode 100644 index 0000000000000000000000000000000000000000..b27fbc90effb8519641aedb6925d785c34961de4 --- /dev/null +++ b/dev9/pg10/tpch/sf_10/explain/15721/21-1.res @@ -0,0 +1 @@ +{"Plan": {"Node Type": "Limit", "Parallel Aware": false, "Startup Cost": 669051.14, "Total Cost": 669051.15, "Plan Rows": 1, "Plan Width": 34, "Output": ["supplier.s_name", "(count(*))"], "Plans": [{"Node Type": "Sort", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 669051.14, "Total Cost": 669051.15, "Plan Rows": 1, "Plan Width": 34, "Output": ["supplier.s_name", "(count(*))"], "Sort Key": ["(count(*)) DESC", "supplier.s_name"], "Plans": [{"Node Type": "Aggregate", "Strategy": "Sorted", "Partial Mode": "Simple", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 669051.11, "Total Cost": 669051.13, "Plan Rows": 1, "Plan Width": 34, "Output": ["supplier.s_name", "count(*)"], "Group Key": ["supplier.s_name"], "Plans": [{"Node Type": "Sort", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 669051.11, "Total Cost": 669051.12, "Plan Rows": 1, "Plan Width": 26, "Output": ["supplier.s_name"], "Sort Key": ["supplier.s_name"], "Plans": [{"Node Type": "Nested Loop", "Parent Relationship": "Outer", "Parallel Aware": false, "Join Type": "Anti", "Startup Cost": 1003.46, "Total Cost": 669051.1, "Plan Rows": 1, "Plan Width": 26, "Output": ["supplier.s_name"], "Inner Unique": false, "Plans": [{"Node Type": "Gather", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 1002.89, "Total Cost": 669049.67, "Plan Rows": 1, "Plan Width": 34, "Output": ["supplier.s_name", "l1.l_suppkey", "l1.l_orderkey"], "Workers Planned": 1, "Single Copy": false, "Plans": [{"Node Type": "Nested Loop", "Parent Relationship": "Outer", "Parallel Aware": false, "Join Type": "Semi", "Startup Cost": 2.89, "Total Cost": 668049.57, "Plan Rows": 1, "Plan Width": 34, "Output": ["supplier.s_name", "l1.l_suppkey", "l1.l_orderkey"], "Inner Unique": false, "Join Filter": "(orders.o_orderkey = l2.l_orderkey)", "Plans": [{"Node Type": "Nested Loop", "Parent Relationship": "Outer", "Parallel Aware": false, "Join Type": "Inner", "Startup Cost": 2.32, "Total Cost": 291442.16, "Plan Rows": 229162, "Plan Width": 38, "Output": ["supplier.s_name", "l1.l_suppkey", "l1.l_orderkey", "orders.o_orderkey"], "Inner Unique": true, "Plans": [{"Node Type": "Nested Loop", "Parent Relationship": "Outer", "Parallel Aware": false, "Join Type": "Inner", "Startup Cost": 1.89, "Total Cost": 69583.21, "Plan Rows": 470423, "Plan Width": 34, "Output": ["supplier.s_name", "l1.l_suppkey", "l1.l_orderkey"], "Inner Unique": false, "Plans": [{"Node Type": "Hash Join", "Parent Relationship": "Outer", "Parallel Aware": false, "Join Type": "Inner", "Startup Cost": 1.32, "Total Cost": 2986.15, "Plan Rows": 2353, "Plan Width": 30, "Output": ["supplier.s_name", "supplier.s_suppkey"], "Inner Unique": true, "Hash Cond": "(supplier.s_nationkey = nation.n_nationkey)", "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": true, "Relation Name": "supplier", "Schema": "public", "Alias": "supplier", "Startup Cost": 0.0, "Total Cost": 2804.24, "Plan Rows": 58824, "Plan Width": 34, "Output": ["supplier.s_suppkey", "supplier.s_name", "supplier.s_address", "supplier.s_nationkey", "supplier.s_phone", "supplier.s_acctbal", "supplier.s_comment"]}, {"Node Type": "Hash", "Parent Relationship": "Inner", "Parallel Aware": false, "Startup Cost": 1.31, "Total Cost": 1.31, "Plan Rows": 1, "Plan Width": 4, "Output": ["nation.n_nationkey"], "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Relation Name": "nation", "Schema": "public", "Alias": "nation", "Startup Cost": 0.0, "Total Cost": 1.31, "Plan Rows": 1, "Plan Width": 4, "Output": ["nation.n_nationkey"], "Filter": "(nation.n_name = 'CHINA'::bpchar)"}]}]}, {"Node Type": "Index Scan", "Parent Relationship": "Inner", "Parallel Aware": false, "Scan Direction": "Forward", "Index Name": "l_sk", "Relation Name": "lineitem", "Schema": "public", "Alias": "l1", "Startup Cost": 0.56, "Total Cost": 26.3, "Plan Rows": 200, "Plan Width": 8, "Output": ["l1.l_orderkey", "l1.l_partkey", "l1.l_suppkey", "l1.l_linenumber", "l1.l_quantity", "l1.l_extendedprice", "l1.l_discount", "l1.l_tax", "l1.l_returnflag", "l1.l_linestatus", "l1.l_shipdate", "l1.l_commitdate", "l1.l_receiptdate", "l1.l_shipinstruct", "l1.l_shipmode", "l1.l_comment"], "Index Cond": "(l1.l_suppkey = supplier.s_suppkey)", "Filter": "(l1.l_receiptdate > l1.l_commitdate)"}]}, {"Node Type": "Index Scan", "Parent Relationship": "Inner", "Parallel Aware": false, "Scan Direction": "Forward", "Index Name": "o_ok", "Relation Name": "orders", "Schema": "public", "Alias": "orders", "Startup Cost": 0.43, "Total Cost": 0.47, "Plan Rows": 1, "Plan Width": 4, "Output": ["orders.o_orderkey", "orders.o_custkey", "orders.o_orderstatus", "orders.o_totalprice", "orders.o_orderdate", "orders.o_orderpriority", "orders.o_clerk", "orders.o_shippriority", "orders.o_comment"], "Index Cond": "(orders.o_orderkey = l1.l_orderkey)", "Filter": "(orders.o_orderstatus = 'F'::bpchar)"}]}, {"Node Type": "Index Scan", "Parent Relationship": "Inner", "Parallel Aware": false, "Scan Direction": "Forward", "Index Name": "l_ok", "Relation Name": "lineitem", "Schema": "public", "Alias": "l2", "Startup Cost": 0.56, "Total Cost": 1.26, "Plan Rows": 31, "Plan Width": 8, "Output": ["l2.l_orderkey", "l2.l_partkey", "l2.l_suppkey", "l2.l_linenumber", "l2.l_quantity", "l2.l_extendedprice", "l2.l_discount", "l2.l_tax", "l2.l_returnflag", "l2.l_linestatus", "l2.l_shipdate", "l2.l_commitdate", "l2.l_receiptdate", "l2.l_shipinstruct", "l2.l_shipmode", "l2.l_comment"], "Index Cond": "(l2.l_orderkey = l1.l_orderkey)", "Filter": "(l2.l_suppkey <> l1.l_suppkey)"}]}]}, {"Node Type": "Index Scan", "Parent Relationship": "Inner", "Parallel Aware": false, "Scan Direction": "Forward", "Index Name": "l_ok", "Relation Name": "lineitem", "Schema": "public", "Alias": "l3", "Startup Cost": 0.56, "Total Cost": 1.33, "Plan Rows": 10, "Plan Width": 8, "Output": ["l3.l_orderkey", "l3.l_partkey", "l3.l_suppkey", "l3.l_linenumber", "l3.l_quantity", "l3.l_extendedprice", "l3.l_discount", "l3.l_tax", "l3.l_returnflag", "l3.l_linestatus", "l3.l_shipdate", "l3.l_commitdate", "l3.l_receiptdate", "l3.l_shipinstruct", "l3.l_shipmode", "l3.l_comment"], "Index Cond": "(l3.l_orderkey = l1.l_orderkey)", "Filter": "((l3.l_receiptdate > l3.l_commitdate) AND (l3.l_suppkey <> l1.l_suppkey))"}]}]}]}]}]}} diff --git a/dev9/pg10/tpch/sf_10/explain/15721/22-1.ok b/dev9/pg10/tpch/sf_10/explain/15721/22-1.ok new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/dev9/pg10/tpch/sf_10/explain/15721/22-1.res b/dev9/pg10/tpch/sf_10/explain/15721/22-1.res new file mode 100644 index 0000000000000000000000000000000000000000..1d413f27a04fdb206e64ad86f190d801f51b6bd5 --- /dev/null +++ b/dev9/pg10/tpch/sf_10/explain/15721/22-1.res @@ -0,0 +1 @@ +{"Plan": {"Node Type": "Aggregate", "Strategy": "Sorted", "Partial Mode": "Simple", "Parallel Aware": false, "Startup Cost": 132063.14, "Total Cost": 132267.47, "Plan Rows": 7430, "Plan Width": 72, "Output": ["(\"substring\"((customer.c_phone)::text, 1, 2))", "count(*)", "sum(customer.c_acctbal)"], "Group Key": ["(\"substring\"((customer.c_phone)::text, 1, 2))"], "Plans": [{"Node Type": "Aggregate", "Strategy": "Plain", "Partial Mode": "Finalize", "Parent Relationship": "InitPlan", "Subplan Name": "InitPlan 1 (returns $1)", "Parallel Aware": false, "Startup Cost": 46701.05, "Total Cost": 46701.06, "Plan Rows": 1, "Plan Width": 32, "Output": ["avg(customer_1.c_acctbal)"], "Plans": [{"Node Type": "Gather", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 46700.62, "Total Cost": 46701.03, "Plan Rows": 4, "Plan Width": 32, "Output": ["(PARTIAL avg(customer_1.c_acctbal))"], "Workers Planned": 4, "Single Copy": false, "Plans": [{"Node Type": "Aggregate", "Strategy": "Plain", "Partial Mode": "Partial", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 45700.62, "Total Cost": 45700.63, "Plan Rows": 1, "Plan Width": 32, "Output": ["PARTIAL avg(customer_1.c_acctbal)"], "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": true, "Relation Name": "customer", "Schema": "public", "Alias": "customer_1", "Startup Cost": 0.0, "Total Cost": 45670.75, "Plan Rows": 11946, "Plan Width": 6, "Output": ["customer_1.c_acctbal"], "Filter": "((customer_1.c_acctbal > 0.00) AND (\"substring\"((customer_1.c_phone)::text, 1, 2) = ANY ('{17,20,25,31,30,11,33}'::text[])))"}]}]}]}, {"Node Type": "Sort", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 85362.08, "Total Cost": 85380.66, "Plan Rows": 7430, "Plan Width": 38, "Output": ["(\"substring\"((customer.c_phone)::text, 1, 2))", "customer.c_acctbal"], "Sort Key": ["(\"substring\"((customer.c_phone)::text, 1, 2))"], "Plans": [{"Node Type": "Nested Loop", "Parent Relationship": "Outer", "Parallel Aware": false, "Join Type": "Anti", "Startup Cost": 0.43, "Total Cost": 84884.37, "Plan Rows": 7430, "Plan Width": 38, "Output": ["\"substring\"((customer.c_phone)::text, 1, 2)", "customer.c_acctbal"], "Inner Unique": false, "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Relation Name": "customer", "Schema": "public", "Alias": "customer", "Startup Cost": 0.0, "Total Cost": 75202.0, "Plan Rows": 17500, "Plan Width": 26, "Output": ["customer.c_custkey", "customer.c_name", "customer.c_address", "customer.c_nationkey", "customer.c_phone", "customer.c_acctbal", "customer.c_mktsegment", "customer.c_comment"], "Filter": "((customer.c_acctbal > $1) AND (\"substring\"((customer.c_phone)::text, 1, 2) = ANY ('{17,20,25,31,30,11,33}'::text[])))"}, {"Node Type": "Index Only Scan", "Parent Relationship": "Inner", "Parallel Aware": false, "Scan Direction": "Forward", "Index Name": "o_ck", "Relation Name": "orders", "Schema": "public", "Alias": "orders", "Startup Cost": 0.43, "Total Cost": 1.64, "Plan Rows": 17, "Plan Width": 4, "Output": ["orders.o_custkey"], "Index Cond": "(orders.o_custkey = customer.c_custkey)"}]}]}]}} diff --git a/dev9/pg10/tpch/sf_10/explain/15721/3-1.ok b/dev9/pg10/tpch/sf_10/explain/15721/3-1.ok new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/dev9/pg10/tpch/sf_10/explain/15721/3-1.res b/dev9/pg10/tpch/sf_10/explain/15721/3-1.res new file mode 100644 index 0000000000000000000000000000000000000000..381064efbedfabb7d09df152d882b0f8f180bec1 --- /dev/null +++ b/dev9/pg10/tpch/sf_10/explain/15721/3-1.res @@ -0,0 +1 @@ +{"Plan": {"Node Type": "Limit", "Parallel Aware": false, "Startup Cost": 1389446.11, "Total Cost": 1389446.14, "Plan Rows": 10, "Plan Width": 44, "Output": ["lineitem.l_orderkey", "(sum((lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount))))", "orders.o_orderdate", "orders.o_shippriority"], "Plans": [{"Node Type": "Sort", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 1389446.11, "Total Cost": 1397331.07, "Plan Rows": 3153982, "Plan Width": 44, "Output": ["lineitem.l_orderkey", "(sum((lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount))))", "orders.o_orderdate", "orders.o_shippriority"], "Sort Key": ["(sum((lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount)))) DESC", "orders.o_orderdate"], "Plans": [{"Node Type": "Aggregate", "Strategy": "Sorted", "Partial Mode": "Finalize", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 843115.34, "Total Cost": 1321289.69, "Plan Rows": 3153982, "Plan Width": 44, "Output": ["lineitem.l_orderkey", "sum((lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount)))", "orders.o_orderdate", "orders.o_shippriority"], "Group Key": ["lineitem.l_orderkey", "orders.o_orderdate", "orders.o_shippriority"], "Plans": [{"Node Type": "Gather Merge", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 843115.34, "Total Cost": 1242440.12, "Plan Rows": 3153984, "Plan Width": 44, "Output": ["lineitem.l_orderkey", "orders.o_orderdate", "orders.o_shippriority", "(PARTIAL sum((lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount))))"], "Workers Planned": 4, "Plans": [{"Node Type": "Aggregate", "Strategy": "Sorted", "Partial Mode": "Partial", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 842115.28, "Total Cost": 865770.16, "Plan Rows": 788496, "Plan Width": 44, "Output": ["lineitem.l_orderkey", "orders.o_orderdate", "orders.o_shippriority", "PARTIAL sum((lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount)))"], "Group Key": ["lineitem.l_orderkey", "orders.o_orderdate", "orders.o_shippriority"], "Plans": [{"Node Type": "Sort", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 842115.28, "Total Cost": 844086.52, "Plan Rows": 788496, "Plan Width": 24, "Output": ["lineitem.l_orderkey", "orders.o_orderdate", "orders.o_shippriority", "lineitem.l_extendedprice", "lineitem.l_discount"], "Sort Key": ["lineitem.l_orderkey", "orders.o_orderdate", "orders.o_shippriority"], "Plans": [{"Node Type": "Nested Loop", "Parent Relationship": "Outer", "Parallel Aware": false, "Join Type": "Inner", "Startup Cost": 1.0, "Total Cost": 755414.0, "Plan Rows": 788496, "Plan Width": 24, "Output": ["lineitem.l_orderkey", "orders.o_orderdate", "orders.o_shippriority", "lineitem.l_extendedprice", "lineitem.l_discount"], "Inner Unique": false, "Plans": [{"Node Type": "Nested Loop", "Parent Relationship": "Outer", "Parallel Aware": false, "Join Type": "Inner", "Startup Cost": 0.43, "Total Cost": 187753.69, "Plan Rows": 366572, "Plan Width": 12, "Output": ["orders.o_orderdate", "orders.o_shippriority", "orders.o_orderkey"], "Inner Unique": false, "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": true, "Relation Name": "customer", "Schema": "public", "Alias": "customer", "Startup Cost": 0.0, "Total Cost": 40514.5, "Plan Rows": 75062, "Plan Width": 4, "Output": ["customer.c_custkey", "customer.c_name", "customer.c_address", "customer.c_nationkey", "customer.c_phone", "customer.c_acctbal", "customer.c_mktsegment", "customer.c_comment"], "Filter": "(customer.c_mktsegment = 'FURNITURE'::bpchar)"}, {"Node Type": "Index Scan", "Parent Relationship": "Inner", "Parallel Aware": false, "Scan Direction": "Forward", "Index Name": "o_ck", "Relation Name": "orders", "Schema": "public", "Alias": "orders", "Startup Cost": 0.43, "Total Cost": 1.88, "Plan Rows": 8, "Plan Width": 16, "Output": ["orders.o_orderkey", "orders.o_custkey", "orders.o_orderstatus", "orders.o_totalprice", "orders.o_orderdate", "orders.o_orderpriority", "orders.o_clerk", "orders.o_shippriority", "orders.o_comment"], "Index Cond": "(orders.o_custkey = customer.c_custkey)", "Filter": "(orders.o_orderdate < '1995-03-20'::date)"}]}, {"Node Type": "Index Scan", "Parent Relationship": "Inner", "Parallel Aware": false, "Scan Direction": "Forward", "Index Name": "l_ok", "Relation Name": "lineitem", "Schema": "public", "Alias": "lineitem", "Startup Cost": 0.56, "Total Cost": 1.38, "Plan Rows": 17, "Plan Width": 16, "Output": ["lineitem.l_orderkey", "lineitem.l_partkey", "lineitem.l_suppkey", "lineitem.l_linenumber", "lineitem.l_quantity", "lineitem.l_extendedprice", "lineitem.l_discount", "lineitem.l_tax", "lineitem.l_returnflag", "lineitem.l_linestatus", "lineitem.l_shipdate", "lineitem.l_commitdate", "lineitem.l_receiptdate", "lineitem.l_shipinstruct", "lineitem.l_shipmode", "lineitem.l_comment"], "Index Cond": "(lineitem.l_orderkey = orders.o_orderkey)", "Filter": "(lineitem.l_shipdate > '1995-03-20'::date)"}]}]}]}]}]}]}]}} diff --git a/dev9/pg10/tpch/sf_10/explain/15721/4-1.ok b/dev9/pg10/tpch/sf_10/explain/15721/4-1.ok new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/dev9/pg10/tpch/sf_10/explain/15721/4-1.res b/dev9/pg10/tpch/sf_10/explain/15721/4-1.res new file mode 100644 index 0000000000000000000000000000000000000000..1ab7fba86b09394e7d8dd95deb497cbf5d593f76 --- /dev/null +++ b/dev9/pg10/tpch/sf_10/explain/15721/4-1.res @@ -0,0 +1 @@ +{"Plan": {"Node Type": "Aggregate", "Strategy": "Sorted", "Partial Mode": "Finalize", "Parallel Aware": false, "Startup Cost": 343142.47, "Total Cost": 343236.53, "Plan Rows": 5, "Plan Width": 24, "Output": ["orders.o_orderpriority", "count(*)"], "Group Key": ["orders.o_orderpriority"], "Plans": [{"Node Type": "Gather Merge", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 343142.47, "Total Cost": 343236.33, "Plan Rows": 30, "Plan Width": 24, "Output": ["orders.o_orderpriority", "(PARTIAL count(*))"], "Workers Planned": 6, "Plans": [{"Node Type": "Aggregate", "Strategy": "Sorted", "Partial Mode": "Partial", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 342142.37, "Total Cost": 342232.58, "Plan Rows": 5, "Plan Width": 24, "Output": ["orders.o_orderpriority", "PARTIAL count(*)"], "Group Key": ["orders.o_orderpriority"], "Plans": [{"Node Type": "Sort", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 342142.37, "Total Cost": 342172.42, "Plan Rows": 12022, "Plan Width": 16, "Output": ["orders.o_orderpriority"], "Sort Key": ["orders.o_orderpriority"], "Plans": [{"Node Type": "Nested Loop", "Parent Relationship": "Outer", "Parallel Aware": false, "Join Type": "Semi", "Startup Cost": 7425.11, "Total Cost": 341327.68, "Plan Rows": 12022, "Plan Width": 16, "Output": ["orders.o_orderpriority"], "Inner Unique": false, "Plans": [{"Node Type": "Bitmap Heap Scan", "Parent Relationship": "Outer", "Parallel Aware": true, "Relation Name": "orders", "Schema": "public", "Alias": "orders", "Startup Cost": 7424.55, "Total Cost": 269735.48, "Plan Rows": 93262, "Plan Width": 20, "Output": ["orders.o_orderkey", "orders.o_custkey", "orders.o_orderstatus", "orders.o_totalprice", "orders.o_orderdate", "orders.o_orderpriority", "orders.o_clerk", "orders.o_shippriority", "orders.o_comment"], "Recheck Cond": "((orders.o_orderdate >= '1996-01-01'::date) AND (orders.o_orderdate < '1996-04-01 00:00:00'::timestamp without time zone))", "Plans": [{"Node Type": "Bitmap Index Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Index Name": "o_od", "Startup Cost": 0.0, "Total Cost": 7284.66, "Plan Rows": 559572, "Plan Width": 0, "Index Cond": "((orders.o_orderdate >= '1996-01-01'::date) AND (orders.o_orderdate < '1996-04-01 00:00:00'::timestamp without time zone))"}]}, {"Node Type": "Index Scan", "Parent Relationship": "Inner", "Parallel Aware": false, "Scan Direction": "Forward", "Index Name": "l_ok", "Relation Name": "lineitem", "Schema": "public", "Alias": "lineitem", "Startup Cost": 0.56, "Total Cost": 2.39, "Plan Rows": 10, "Plan Width": 4, "Output": ["lineitem.l_orderkey", "lineitem.l_partkey", "lineitem.l_suppkey", "lineitem.l_linenumber", "lineitem.l_quantity", "lineitem.l_extendedprice", "lineitem.l_discount", "lineitem.l_tax", "lineitem.l_returnflag", "lineitem.l_linestatus", "lineitem.l_shipdate", "lineitem.l_commitdate", "lineitem.l_receiptdate", "lineitem.l_shipinstruct", "lineitem.l_shipmode", "lineitem.l_comment"], "Index Cond": "(lineitem.l_orderkey = orders.o_orderkey)", "Filter": "(lineitem.l_commitdate < lineitem.l_receiptdate)"}]}]}]}]}]}} diff --git a/dev9/pg10/tpch/sf_10/explain/15721/5-1.ok b/dev9/pg10/tpch/sf_10/explain/15721/5-1.ok new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/dev9/pg10/tpch/sf_10/explain/15721/5-1.res b/dev9/pg10/tpch/sf_10/explain/15721/5-1.res new file mode 100644 index 0000000000000000000000000000000000000000..6efdb76ffa5573b66727a5793b76801bf8595f63 --- /dev/null +++ b/dev9/pg10/tpch/sf_10/explain/15721/5-1.res @@ -0,0 +1 @@ +{"Plan": {"Node Type": "Sort", "Parallel Aware": false, "Startup Cost": 363353.21, "Total Cost": 363353.27, "Plan Rows": 25, "Plan Width": 58, "Output": ["nation.n_name", "(sum((lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount))))"], "Sort Key": ["(sum((lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount)))) DESC"], "Plans": [{"Node Type": "Aggregate", "Strategy": "Sorted", "Partial Mode": "Finalize", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 363112.37, "Total Cost": 363352.63, "Plan Rows": 25, "Plan Width": 58, "Output": ["nation.n_name", "sum((lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount)))"], "Group Key": ["nation.n_name"], "Plans": [{"Node Type": "Gather Merge", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 363112.37, "Total Cost": 363351.56, "Plan Rows": 100, "Plan Width": 58, "Output": ["nation.n_name", "(PARTIAL sum((lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount))))"], "Workers Planned": 4, "Plans": [{"Node Type": "Aggregate", "Strategy": "Sorted", "Partial Mode": "Partial", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 362112.31, "Total Cost": 362339.59, "Plan Rows": 25, "Plan Width": 58, "Output": ["nation.n_name", "PARTIAL sum((lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount)))"], "Group Key": ["nation.n_name"], "Plans": [{"Node Type": "Sort", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 362112.31, "Total Cost": 362157.7, "Plan Rows": 18158, "Plan Width": 38, "Output": ["nation.n_name", "lineitem.l_extendedprice", "lineitem.l_discount"], "Sort Key": ["nation.n_name"], "Plans": [{"Node Type": "Hash Join", "Parent Relationship": "Outer", "Parallel Aware": false, "Join Type": "Inner", "Startup Cost": 4719.51, "Total Cost": 360827.78, "Plan Rows": 18158, "Plan Width": 38, "Output": ["nation.n_name", "lineitem.l_extendedprice", "lineitem.l_discount"], "Inner Unique": true, "Hash Cond": "((lineitem.l_suppkey = supplier.s_suppkey) AND (customer.c_nationkey = supplier.s_nationkey))", "Plans": [{"Node Type": "Nested Loop", "Parent Relationship": "Outer", "Parallel Aware": false, "Join Type": "Inner", "Startup Cost": 3.51, "Total Cost": 353728.33, "Plan Rows": 453990, "Plan Width": 50, "Output": ["customer.c_nationkey", "lineitem.l_extendedprice", "lineitem.l_discount", "lineitem.l_suppkey", "nation.n_name", "nation.n_nationkey"], "Inner Unique": false, "Plans": [{"Node Type": "Nested Loop", "Parent Relationship": "Outer", "Parallel Aware": false, "Join Type": "Inner", "Startup Cost": 2.94, "Total Cost": 121910.62, "Plan Rows": 113525, "Plan Width": 38, "Output": ["customer.c_nationkey", "orders.o_orderkey", "nation.n_name", "nation.n_nationkey"], "Inner Unique": false, "Plans": [{"Node Type": "Hash Join", "Parent Relationship": "Outer", "Parallel Aware": false, "Join Type": "Inner", "Startup Cost": 2.51, "Total Cost": 41735.76, "Plan Rows": 75000, "Plan Width": 38, "Output": ["customer.c_custkey", "customer.c_nationkey", "nation.n_name", "nation.n_nationkey"], "Inner Unique": false, "Hash Cond": "(customer.c_nationkey = nation.n_nationkey)", "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": true, "Relation Name": "customer", "Schema": "public", "Alias": "customer", "Startup Cost": 0.0, "Total Cost": 39577.0, "Plan Rows": 375000, "Plan Width": 8, "Output": ["customer.c_custkey", "customer.c_name", "customer.c_address", "customer.c_nationkey", "customer.c_phone", "customer.c_acctbal", "customer.c_mktsegment", "customer.c_comment"]}, {"Node Type": "Hash", "Parent Relationship": "Inner", "Parallel Aware": false, "Startup Cost": 2.45, "Total Cost": 2.45, "Plan Rows": 5, "Plan Width": 30, "Output": ["nation.n_name", "nation.n_nationkey"], "Plans": [{"Node Type": "Hash Join", "Parent Relationship": "Outer", "Parallel Aware": false, "Join Type": "Inner", "Startup Cost": 1.07, "Total Cost": 2.45, "Plan Rows": 5, "Plan Width": 30, "Output": ["nation.n_name", "nation.n_nationkey"], "Inner Unique": true, "Hash Cond": "(nation.n_regionkey = region.r_regionkey)", "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Relation Name": "nation", "Schema": "public", "Alias": "nation", "Startup Cost": 0.0, "Total Cost": 1.25, "Plan Rows": 25, "Plan Width": 34, "Output": ["nation.n_nationkey", "nation.n_name", "nation.n_regionkey", "nation.n_comment"]}, {"Node Type": "Hash", "Parent Relationship": "Inner", "Parallel Aware": false, "Startup Cost": 1.06, "Total Cost": 1.06, "Plan Rows": 1, "Plan Width": 4, "Output": ["region.r_regionkey"], "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Relation Name": "region", "Schema": "public", "Alias": "region", "Startup Cost": 0.0, "Total Cost": 1.06, "Plan Rows": 1, "Plan Width": 4, "Output": ["region.r_regionkey"], "Filter": "(region.r_name = 'AMERICA'::bpchar)"}]}]}]}]}, {"Node Type": "Index Scan", "Parent Relationship": "Inner", "Parallel Aware": false, "Scan Direction": "Forward", "Index Name": "o_ck", "Relation Name": "orders", "Schema": "public", "Alias": "orders", "Startup Cost": 0.43, "Total Cost": 1.04, "Plan Rows": 3, "Plan Width": 8, "Output": ["orders.o_orderkey", "orders.o_custkey", "orders.o_orderstatus", "orders.o_totalprice", "orders.o_orderdate", "orders.o_orderpriority", "orders.o_clerk", "orders.o_shippriority", "orders.o_comment"], "Index Cond": "(orders.o_custkey = customer.c_custkey)", "Filter": "((orders.o_orderdate >= '1995-01-01'::date) AND (orders.o_orderdate < '1996-01-01 00:00:00'::timestamp without time zone))"}]}, {"Node Type": "Index Scan", "Parent Relationship": "Inner", "Parallel Aware": false, "Scan Direction": "Forward", "Index Name": "l_ok", "Relation Name": "lineitem", "Schema": "public", "Alias": "lineitem", "Startup Cost": 0.56, "Total Cost": 1.73, "Plan Rows": 31, "Plan Width": 20, "Output": ["lineitem.l_orderkey", "lineitem.l_partkey", "lineitem.l_suppkey", "lineitem.l_linenumber", "lineitem.l_quantity", "lineitem.l_extendedprice", "lineitem.l_discount", "lineitem.l_tax", "lineitem.l_returnflag", "lineitem.l_linestatus", "lineitem.l_shipdate", "lineitem.l_commitdate", "lineitem.l_receiptdate", "lineitem.l_shipinstruct", "lineitem.l_shipmode", "lineitem.l_comment"], "Index Cond": "(lineitem.l_orderkey = orders.o_orderkey)"}]}, {"Node Type": "Hash", "Parent Relationship": "Inner", "Parallel Aware": false, "Startup Cost": 3216.0, "Total Cost": 3216.0, "Plan Rows": 100000, "Plan Width": 8, "Output": ["supplier.s_suppkey", "supplier.s_nationkey"], "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Relation Name": "supplier", "Schema": "public", "Alias": "supplier", "Startup Cost": 0.0, "Total Cost": 3216.0, "Plan Rows": 100000, "Plan Width": 8, "Output": ["supplier.s_suppkey", "supplier.s_nationkey"]}]}]}]}]}]}]}]}} diff --git a/dev9/pg10/tpch/sf_10/explain/15721/6-1.ok b/dev9/pg10/tpch/sf_10/explain/15721/6-1.ok new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/dev9/pg10/tpch/sf_10/explain/15721/6-1.res b/dev9/pg10/tpch/sf_10/explain/15721/6-1.res new file mode 100644 index 0000000000000000000000000000000000000000..cb46c9ff4d432a3eb0c64dc971eb731e56272636 --- /dev/null +++ b/dev9/pg10/tpch/sf_10/explain/15721/6-1.res @@ -0,0 +1 @@ +{"Plan": {"Node Type": "Aggregate", "Strategy": "Plain", "Partial Mode": "Finalize", "Parallel Aware": false, "Startup Cost": 1275465.61, "Total Cost": 1275465.62, "Plan Rows": 1, "Plan Width": 32, "Output": ["sum((l_extendedprice * l_discount))"], "Plans": [{"Node Type": "Gather", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 1275464.87, "Total Cost": 1275465.58, "Plan Rows": 7, "Plan Width": 32, "Output": ["(PARTIAL sum((l_extendedprice * l_discount)))"], "Workers Planned": 7, "Single Copy": false, "Plans": [{"Node Type": "Aggregate", "Strategy": "Plain", "Partial Mode": "Partial", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 1274464.87, "Total Cost": 1274464.88, "Plan Rows": 1, "Plan Width": 32, "Output": ["PARTIAL sum((l_extendedprice * l_discount))"], "Plans": [{"Node Type": "Bitmap Heap Scan", "Parent Relationship": "Outer", "Parallel Aware": true, "Relation Name": "lineitem", "Schema": "public", "Alias": "lineitem", "Startup Cost": 119629.47, "Total Cost": 1273642.29, "Plan Rows": 164515, "Plan Width": 12, "Output": ["l_extendedprice", "l_discount"], "Recheck Cond": "((lineitem.l_shipdate >= '1995-01-01'::date) AND (lineitem.l_shipdate < '1996-01-01 00:00:00'::timestamp without time zone))", "Filter": "((lineitem.l_discount >= 0.04) AND (lineitem.l_discount <= 0.06) AND (lineitem.l_quantity < '24'::numeric))", "Plans": [{"Node Type": "Bitmap Index Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Index Name": "l_sd", "Startup Cost": 0.0, "Total Cost": 119341.57, "Plan Rows": 9168700, "Plan Width": 0, "Index Cond": "((lineitem.l_shipdate >= '1995-01-01'::date) AND (lineitem.l_shipdate < '1996-01-01 00:00:00'::timestamp without time zone))"}]}]}]}]}} diff --git a/dev9/pg10/tpch/sf_10/explain/15721/7-1.ok b/dev9/pg10/tpch/sf_10/explain/15721/7-1.ok new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/dev9/pg10/tpch/sf_10/explain/15721/7-1.res b/dev9/pg10/tpch/sf_10/explain/15721/7-1.res new file mode 100644 index 0000000000000000000000000000000000000000..0a498676db2bfe2a0246bb60be0b56f74e290e5d --- /dev/null +++ b/dev9/pg10/tpch/sf_10/explain/15721/7-1.res @@ -0,0 +1 @@ +{"Plan": {"Node Type": "Aggregate", "Strategy": "Sorted", "Partial Mode": "Finalize", "Parallel Aware": false, "Startup Cost": 372993.47, "Total Cost": 375229.71, "Plan Rows": 10088, "Plan Width": 92, "Output": ["n1.n_name", "n2.n_name", "(date_part('year'::text, (lineitem.l_shipdate)::timestamp without time zone))", "sum((lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount)))"], "Group Key": ["n1.n_name", "n2.n_name", "(date_part('year'::text, (lineitem.l_shipdate)::timestamp without time zone))"], "Plans": [{"Node Type": "Gather Merge", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 372993.47, "Total Cost": 374927.07, "Plan Rows": 10088, "Plan Width": 92, "Output": ["n1.n_name", "n2.n_name", "(date_part('year'::text, (lineitem.l_shipdate)::timestamp without time zone))", "(PARTIAL sum((lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount))))"], "Workers Planned": 1, "Plans": [{"Node Type": "Aggregate", "Strategy": "Sorted", "Partial Mode": "Partial", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 371993.46, "Total Cost": 372792.16, "Plan Rows": 10088, "Plan Width": 92, "Output": ["n1.n_name", "n2.n_name", "(date_part('year'::text, (lineitem.l_shipdate)::timestamp without time zone))", "PARTIAL sum((lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount)))"], "Group Key": ["n1.n_name", "n2.n_name", "(date_part('year'::text, (lineitem.l_shipdate)::timestamp without time zone))"], "Plans": [{"Node Type": "Sort", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 371993.46, "Total Cost": 372082.34, "Plan Rows": 35552, "Plan Width": 72, "Output": ["n1.n_name", "n2.n_name", "(date_part('year'::text, (lineitem.l_shipdate)::timestamp without time zone))", "lineitem.l_extendedprice", "lineitem.l_discount"], "Sort Key": ["n1.n_name", "n2.n_name", "(date_part('year'::text, (lineitem.l_shipdate)::timestamp without time zone))"], "Plans": [{"Node Type": "Hash Join", "Parent Relationship": "Outer", "Parallel Aware": false, "Join Type": "Inner", "Startup Cost": 198945.6, "Total Cost": 369306.14, "Plan Rows": 35552, "Plan Width": 72, "Output": ["n1.n_name", "n2.n_name", "date_part('year'::text, (lineitem.l_shipdate)::timestamp without time zone)", "lineitem.l_extendedprice", "lineitem.l_discount"], "Inner Unique": false, "Hash Cond": "(lineitem.l_orderkey = orders.o_orderkey)", "Join Filter": "(((n1.n_name = 'IRAN'::bpchar) AND (n2.n_name = 'ETHIOPIA'::bpchar)) OR ((n1.n_name = 'ETHIOPIA'::bpchar) AND (n2.n_name = 'IRAN'::bpchar)))", "Plans": [{"Node Type": "Nested Loop", "Parent Relationship": "Outer", "Parallel Aware": false, "Join Type": "Inner", "Startup Cost": 1.96, "Total Cost": 142392.26, "Plan Rows": 854298, "Plan Width": 46, "Output": ["lineitem.l_shipdate", "lineitem.l_extendedprice", "lineitem.l_discount", "lineitem.l_orderkey", "n1.n_name"], "Inner Unique": false, "Plans": [{"Node Type": "Hash Join", "Parent Relationship": "Outer", "Parallel Aware": false, "Join Type": "Inner", "Startup Cost": 1.4, "Total Cost": 2986.23, "Plan Rows": 4706, "Plan Width": 30, "Output": ["supplier.s_suppkey", "n1.n_name"], "Inner Unique": true, "Hash Cond": "(supplier.s_nationkey = n1.n_nationkey)", "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": true, "Relation Name": "supplier", "Schema": "public", "Alias": "supplier", "Startup Cost": 0.0, "Total Cost": 2804.24, "Plan Rows": 58824, "Plan Width": 8, "Output": ["supplier.s_suppkey", "supplier.s_name", "supplier.s_address", "supplier.s_nationkey", "supplier.s_phone", "supplier.s_acctbal", "supplier.s_comment"]}, {"Node Type": "Hash", "Parent Relationship": "Inner", "Parallel Aware": false, "Startup Cost": 1.38, "Total Cost": 1.38, "Plan Rows": 2, "Plan Width": 30, "Output": ["n1.n_name", "n1.n_nationkey"], "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Relation Name": "nation", "Schema": "public", "Alias": "n1", "Startup Cost": 0.0, "Total Cost": 1.38, "Plan Rows": 2, "Plan Width": 30, "Output": ["n1.n_name", "n1.n_nationkey"], "Filter": "((n1.n_name = 'IRAN'::bpchar) OR (n1.n_name = 'ETHIOPIA'::bpchar))"}]}]}, {"Node Type": "Index Scan", "Parent Relationship": "Inner", "Parallel Aware": false, "Scan Direction": "Forward", "Index Name": "l_sk", "Relation Name": "lineitem", "Schema": "public", "Alias": "lineitem", "Startup Cost": 0.56, "Total Cost": 27.8, "Plan Rows": 182, "Plan Width": 24, "Output": ["lineitem.l_orderkey", "lineitem.l_partkey", "lineitem.l_suppkey", "lineitem.l_linenumber", "lineitem.l_quantity", "lineitem.l_extendedprice", "lineitem.l_discount", "lineitem.l_tax", "lineitem.l_returnflag", "lineitem.l_linestatus", "lineitem.l_shipdate", "lineitem.l_commitdate", "lineitem.l_receiptdate", "lineitem.l_shipinstruct", "lineitem.l_shipmode", "lineitem.l_comment"], "Index Cond": "(lineitem.l_suppkey = supplier.s_suppkey)", "Filter": "((lineitem.l_shipdate >= '1995-01-01'::date) AND (lineitem.l_shipdate <= '1996-12-31'::date))"}]}, {"Node Type": "Hash", "Parent Relationship": "Inner", "Parallel Aware": false, "Startup Cost": 175739.16, "Total Cost": 175739.16, "Plan Rows": 1200038, "Plan Width": 30, "Output": ["orders.o_orderkey", "n2.n_name"], "Plans": [{"Node Type": "Nested Loop", "Parent Relationship": "Outer", "Parallel Aware": false, "Join Type": "Inner", "Startup Cost": 640.76, "Total Cost": 175739.16, "Plan Rows": 1200038, "Plan Width": 30, "Output": ["orders.o_orderkey", "n2.n_name"], "Inner Unique": false, "Plans": [{"Node Type": "Nested Loop", "Parent Relationship": "Outer", "Parallel Aware": false, "Join Type": "Inner", "Startup Cost": 640.33, "Total Cost": 40859.37, "Plan Rows": 120000, "Plan Width": 30, "Output": ["customer.c_custkey", "n2.n_name"], "Inner Unique": false, "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Relation Name": "nation", "Schema": "public", "Alias": "n2", "Startup Cost": 0.0, "Total Cost": 1.38, "Plan Rows": 2, "Plan Width": 30, "Output": ["n2.n_nationkey", "n2.n_name", "n2.n_regionkey", "n2.n_comment"], "Filter": "((n2.n_name = 'ETHIOPIA'::bpchar) OR (n2.n_name = 'IRAN'::bpchar))"}, {"Node Type": "Bitmap Heap Scan", "Parent Relationship": "Inner", "Parallel Aware": false, "Relation Name": "customer", "Schema": "public", "Alias": "customer", "Startup Cost": 640.33, "Total Cost": 19829.0, "Plan Rows": 60000, "Plan Width": 8, "Output": ["customer.c_custkey", "customer.c_name", "customer.c_address", "customer.c_nationkey", "customer.c_phone", "customer.c_acctbal", "customer.c_mktsegment", "customer.c_comment"], "Recheck Cond": "(customer.c_nationkey = n2.n_nationkey)", "Plans": [{"Node Type": "Bitmap Index Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Index Name": "c_nk", "Startup Cost": 0.0, "Total Cost": 625.33, "Plan Rows": 60000, "Plan Width": 0, "Index Cond": "(customer.c_nationkey = n2.n_nationkey)"}]}]}, {"Node Type": "Index Scan", "Parent Relationship": "Inner", "Parallel Aware": false, "Scan Direction": "Forward", "Index Name": "o_ck", "Relation Name": "orders", "Schema": "public", "Alias": "orders", "Startup Cost": 0.43, "Total Cost": 0.95, "Plan Rows": 17, "Plan Width": 8, "Output": ["orders.o_orderkey", "orders.o_custkey", "orders.o_orderstatus", "orders.o_totalprice", "orders.o_orderdate", "orders.o_orderpriority", "orders.o_clerk", "orders.o_shippriority", "orders.o_comment"], "Index Cond": "(orders.o_custkey = customer.c_custkey)"}]}]}]}]}]}]}]}} diff --git a/dev9/pg10/tpch/sf_10/explain/15721/8-1.ok b/dev9/pg10/tpch/sf_10/explain/15721/8-1.ok new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/dev9/pg10/tpch/sf_10/explain/15721/8-1.res b/dev9/pg10/tpch/sf_10/explain/15721/8-1.res new file mode 100644 index 0000000000000000000000000000000000000000..8e4402ce52c34d4956724d5cbdc90b6dfe2d6a13 --- /dev/null +++ b/dev9/pg10/tpch/sf_10/explain/15721/8-1.res @@ -0,0 +1 @@ +{"Plan": {"Node Type": "Aggregate", "Strategy": "Sorted", "Partial Mode": "Finalize", "Parallel Aware": false, "Startup Cost": 214578.83, "Total Cost": 216083.68, "Plan Rows": 2406, "Plan Width": 40, "Output": ["(date_part('year'::text, (orders.o_orderdate)::timestamp without time zone))", "(sum(CASE WHEN (n2.n_name = 'ETHIOPIA'::bpchar) THEN (lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount)) ELSE '0'::numeric END) / sum((lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount))))"], "Group Key": ["(date_part('year'::text, (orders.o_orderdate)::timestamp without time zone))"], "Plans": [{"Node Type": "Gather Merge", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 214578.83, "Total Cost": 215909.25, "Plan Rows": 9624, "Plan Width": 72, "Output": ["(date_part('year'::text, (orders.o_orderdate)::timestamp without time zone))", "(PARTIAL sum(CASE WHEN (n2.n_name = 'ETHIOPIA'::bpchar) THEN (lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount)) ELSE '0'::numeric END))", "(PARTIAL sum((lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount))))"], "Workers Planned": 4, "Plans": [{"Node Type": "Aggregate", "Strategy": "Sorted", "Partial Mode": "Partial", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 213578.77, "Total Cost": 213762.88, "Plan Rows": 2406, "Plan Width": 72, "Output": ["(date_part('year'::text, (orders.o_orderdate)::timestamp without time zone))", "PARTIAL sum(CASE WHEN (n2.n_name = 'ETHIOPIA'::bpchar) THEN (lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount)) ELSE '0'::numeric END)", "PARTIAL sum((lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount)))"], "Group Key": ["(date_part('year'::text, (orders.o_orderdate)::timestamp without time zone))"], "Plans": [{"Node Type": "Sort", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 213578.77, "Total Cost": 213593.88, "Plan Rows": 6044, "Plan Width": 46, "Output": ["(date_part('year'::text, (orders.o_orderdate)::timestamp without time zone))", "n2.n_name", "lineitem.l_extendedprice", "lineitem.l_discount"], "Sort Key": ["(date_part('year'::text, (orders.o_orderdate)::timestamp without time zone))"], "Plans": [{"Node Type": "Hash Join", "Parent Relationship": "Outer", "Parallel Aware": false, "Join Type": "Inner", "Startup Cost": 5.79, "Total Cost": 213199.17, "Plan Rows": 6044, "Plan Width": 46, "Output": ["date_part('year'::text, (orders.o_orderdate)::timestamp without time zone)", "n2.n_name", "lineitem.l_extendedprice", "lineitem.l_discount"], "Inner Unique": true, "Hash Cond": "(supplier.s_nationkey = n2.n_nationkey)", "Plans": [{"Node Type": "Nested Loop", "Parent Relationship": "Outer", "Parallel Aware": false, "Join Type": "Inner", "Startup Cost": 4.23, "Total Cost": 213148.83, "Plan Rows": 6044, "Plan Width": 20, "Output": ["lineitem.l_extendedprice", "lineitem.l_discount", "supplier.s_nationkey", "orders.o_orderdate"], "Inner Unique": true, "Plans": [{"Node Type": "Hash Join", "Parent Relationship": "Outer", "Parallel Aware": false, "Join Type": "Inner", "Startup Cost": 3.94, "Total Cost": 211274.6, "Plan Rows": 6045, "Plan Width": 20, "Output": ["lineitem.l_extendedprice", "lineitem.l_discount", "lineitem.l_suppkey", "orders.o_orderdate"], "Inner Unique": false, "Hash Cond": "(customer.c_nationkey = n1.n_nationkey)", "Plans": [{"Node Type": "Nested Loop", "Parent Relationship": "Outer", "Parallel Aware": false, "Join Type": "Inner", "Startup Cost": 1.43, "Total Cost": 211098.31, "Plan Rows": 30223, "Plan Width": 24, "Output": ["lineitem.l_extendedprice", "lineitem.l_discount", "lineitem.l_suppkey", "orders.o_orderdate", "customer.c_nationkey"], "Inner Unique": true, "Plans": [{"Node Type": "Nested Loop", "Parent Relationship": "Outer", "Parallel Aware": false, "Join Type": "Inner", "Startup Cost": 1.0, "Total Cost": 197357.11, "Plan Rows": 30223, "Plan Width": 24, "Output": ["lineitem.l_extendedprice", "lineitem.l_discount", "lineitem.l_suppkey", "orders.o_orderdate", "orders.o_custkey"], "Inner Unique": true, "Plans": [{"Node Type": "Nested Loop", "Parent Relationship": "Outer", "Parallel Aware": false, "Join Type": "Inner", "Startup Cost": 0.56, "Total Cost": 151203.27, "Plan Rows": 99676, "Plan Width": 20, "Output": ["lineitem.l_extendedprice", "lineitem.l_discount", "lineitem.l_suppkey", "lineitem.l_orderkey"], "Inner Unique": false, "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": true, "Relation Name": "part", "Schema": "public", "Alias": "part", "Startup Cost": 0.0, "Total Cost": 47212.0, "Plan Rows": 3323, "Plan Width": 4, "Output": ["part.p_partkey", "part.p_name", "part.p_mfgr", "part.p_brand", "part.p_type", "part.p_size", "part.p_container", "part.p_retailprice", "part.p_comment"], "Filter": "((part.p_type)::text = 'SMALL BRUSHED NICKEL'::text)"}, {"Node Type": "Index Scan", "Parent Relationship": "Inner", "Parallel Aware": false, "Scan Direction": "Forward", "Index Name": "l_pk", "Relation Name": "lineitem", "Schema": "public", "Alias": "lineitem", "Startup Cost": 0.56, "Total Cost": 30.98, "Plan Rows": 31, "Plan Width": 24, "Output": ["lineitem.l_orderkey", "lineitem.l_partkey", "lineitem.l_suppkey", "lineitem.l_linenumber", "lineitem.l_quantity", "lineitem.l_extendedprice", "lineitem.l_discount", "lineitem.l_tax", "lineitem.l_returnflag", "lineitem.l_linestatus", "lineitem.l_shipdate", "lineitem.l_commitdate", "lineitem.l_receiptdate", "lineitem.l_shipinstruct", "lineitem.l_shipmode", "lineitem.l_comment"], "Index Cond": "(lineitem.l_partkey = part.p_partkey)"}]}, {"Node Type": "Index Scan", "Parent Relationship": "Inner", "Parallel Aware": false, "Scan Direction": "Forward", "Index Name": "o_ok", "Relation Name": "orders", "Schema": "public", "Alias": "orders", "Startup Cost": 0.43, "Total Cost": 0.46, "Plan Rows": 1, "Plan Width": 12, "Output": ["orders.o_orderkey", "orders.o_custkey", "orders.o_orderstatus", "orders.o_totalprice", "orders.o_orderdate", "orders.o_orderpriority", "orders.o_clerk", "orders.o_shippriority", "orders.o_comment"], "Index Cond": "(orders.o_orderkey = lineitem.l_orderkey)", "Filter": "((orders.o_orderdate >= '1995-01-01'::date) AND (orders.o_orderdate <= '1996-12-31'::date))"}]}, {"Node Type": "Index Scan", "Parent Relationship": "Inner", "Parallel Aware": false, "Scan Direction": "Forward", "Index Name": "c_ck", "Relation Name": "customer", "Schema": "public", "Alias": "customer", "Startup Cost": 0.43, "Total Cost": 0.45, "Plan Rows": 1, "Plan Width": 8, "Output": ["customer.c_custkey", "customer.c_name", "customer.c_address", "customer.c_nationkey", "customer.c_phone", "customer.c_acctbal", "customer.c_mktsegment", "customer.c_comment"], "Index Cond": "(customer.c_custkey = orders.o_custkey)"}]}, {"Node Type": "Hash", "Parent Relationship": "Inner", "Parallel Aware": false, "Startup Cost": 2.45, "Total Cost": 2.45, "Plan Rows": 5, "Plan Width": 4, "Output": ["n1.n_nationkey"], "Plans": [{"Node Type": "Hash Join", "Parent Relationship": "Outer", "Parallel Aware": false, "Join Type": "Inner", "Startup Cost": 1.07, "Total Cost": 2.45, "Plan Rows": 5, "Plan Width": 4, "Output": ["n1.n_nationkey"], "Inner Unique": true, "Hash Cond": "(n1.n_regionkey = region.r_regionkey)", "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Relation Name": "nation", "Schema": "public", "Alias": "n1", "Startup Cost": 0.0, "Total Cost": 1.25, "Plan Rows": 25, "Plan Width": 8, "Output": ["n1.n_nationkey", "n1.n_name", "n1.n_regionkey", "n1.n_comment"]}, {"Node Type": "Hash", "Parent Relationship": "Inner", "Parallel Aware": false, "Startup Cost": 1.06, "Total Cost": 1.06, "Plan Rows": 1, "Plan Width": 4, "Output": ["region.r_regionkey"], "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Relation Name": "region", "Schema": "public", "Alias": "region", "Startup Cost": 0.0, "Total Cost": 1.06, "Plan Rows": 1, "Plan Width": 4, "Output": ["region.r_regionkey"], "Filter": "(region.r_name = 'AFRICA'::bpchar)"}]}]}]}]}, {"Node Type": "Index Scan", "Parent Relationship": "Inner", "Parallel Aware": false, "Scan Direction": "Forward", "Index Name": "s_sk", "Relation Name": "supplier", "Schema": "public", "Alias": "supplier", "Startup Cost": 0.29, "Total Cost": 0.31, "Plan Rows": 1, "Plan Width": 8, "Output": ["supplier.s_suppkey", "supplier.s_name", "supplier.s_address", "supplier.s_nationkey", "supplier.s_phone", "supplier.s_acctbal", "supplier.s_comment"], "Index Cond": "(supplier.s_suppkey = lineitem.l_suppkey)"}]}, {"Node Type": "Hash", "Parent Relationship": "Inner", "Parallel Aware": false, "Startup Cost": 1.25, "Total Cost": 1.25, "Plan Rows": 25, "Plan Width": 30, "Output": ["n2.n_name", "n2.n_nationkey"], "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Relation Name": "nation", "Schema": "public", "Alias": "n2", "Startup Cost": 0.0, "Total Cost": 1.25, "Plan Rows": 25, "Plan Width": 30, "Output": ["n2.n_name", "n2.n_nationkey"]}]}]}]}]}]}]}} diff --git a/dev9/pg10/tpch/sf_10/explain/15721/9-1.ok b/dev9/pg10/tpch/sf_10/explain/15721/9-1.ok new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/dev9/pg10/tpch/sf_10/explain/15721/9-1.res b/dev9/pg10/tpch/sf_10/explain/15721/9-1.res new file mode 100644 index 0000000000000000000000000000000000000000..8c13e136a455a7fdf4e49a3790616ba7ca90b88f --- /dev/null +++ b/dev9/pg10/tpch/sf_10/explain/15721/9-1.res @@ -0,0 +1 @@ +{"Plan": {"Node Type": "Sort", "Parallel Aware": false, "Startup Cost": 659990.65, "Total Cost": 660141.03, "Plan Rows": 60150, "Plan Width": 66, "Output": ["nation.n_name", "(date_part('year'::text, (orders.o_orderdate)::timestamp without time zone))", "(sum(((lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount)) - (partsupp.ps_supplycost * lineitem.l_quantity))))"], "Sort Key": ["nation.n_name", "(date_part('year'::text, (orders.o_orderdate)::timestamp without time zone)) DESC"], "Plans": [{"Node Type": "Aggregate", "Strategy": "Hashed", "Partial Mode": "Finalize", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 654163.24, "Total Cost": 655215.86, "Plan Rows": 60150, "Plan Width": 66, "Output": ["nation.n_name", "(date_part('year'::text, (orders.o_orderdate)::timestamp without time zone))", "sum(((lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount)) - (partsupp.ps_supplycost * lineitem.l_quantity)))"], "Group Key": ["nation.n_name", "(date_part('year'::text, (orders.o_orderdate)::timestamp without time zone))"], "Plans": [{"Node Type": "Gather", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 626644.61, "Total Cost": 651757.24, "Plan Rows": 240600, "Plan Width": 66, "Output": ["nation.n_name", "(date_part('year'::text, (orders.o_orderdate)::timestamp without time zone))", "(PARTIAL sum(((lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount)) - (partsupp.ps_supplycost * lineitem.l_quantity))))"], "Workers Planned": 4, "Single Copy": false, "Plans": [{"Node Type": "Aggregate", "Strategy": "Hashed", "Partial Mode": "Partial", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 625644.61, "Total Cost": 626697.24, "Plan Rows": 60150, "Plan Width": 66, "Output": ["nation.n_name", "(date_part('year'::text, (orders.o_orderdate)::timestamp without time zone))", "PARTIAL sum(((lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount)) - (partsupp.ps_supplycost * lineitem.l_quantity)))"], "Group Key": ["nation.n_name", "date_part('year'::text, (orders.o_orderdate)::timestamp without time zone)"], "Plans": [{"Node Type": "Nested Loop", "Parent Relationship": "Outer", "Parallel Aware": false, "Join Type": "Inner", "Startup Cost": 4468.99, "Total Cost": 609868.66, "Plan Rows": 901483, "Plan Width": 57, "Output": ["nation.n_name", "date_part('year'::text, (orders.o_orderdate)::timestamp without time zone)", "lineitem.l_extendedprice", "lineitem.l_discount", "partsupp.ps_supplycost", "lineitem.l_quantity"], "Inner Unique": true, "Plans": [{"Node Type": "Nested Loop", "Parent Relationship": "Outer", "Parallel Aware": false, "Join Type": "Inner", "Startup Cost": 4468.56, "Total Cost": 192447.21, "Plan Rows": 901483, "Plan Width": 53, "Output": ["lineitem.l_extendedprice", "lineitem.l_discount", "lineitem.l_quantity", "lineitem.l_orderkey", "partsupp.ps_supplycost", "nation.n_name"], "Inner Unique": false, "Join Filter": "(supplier.s_suppkey = lineitem.l_suppkey)", "Plans": [{"Node Type": "Hash Join", "Parent Relationship": "Outer", "Parallel Aware": false, "Join Type": "Inner", "Startup Cost": 4467.99, "Total Cost": 99293.69, "Plan Rows": 120238, "Plan Width": 48, "Output": ["part.p_partkey", "partsupp.ps_supplycost", "partsupp.ps_suppkey", "partsupp.ps_partkey", "supplier.s_suppkey", "nation.n_name"], "Inner Unique": true, "Hash Cond": "(supplier.s_nationkey = nation.n_nationkey)", "Plans": [{"Node Type": "Hash Join", "Parent Relationship": "Outer", "Parallel Aware": false, "Join Type": "Inner", "Startup Cost": 4466.43, "Total Cost": 98922.99, "Plan Rows": 120238, "Plan Width": 26, "Output": ["part.p_partkey", "partsupp.ps_supplycost", "partsupp.ps_suppkey", "partsupp.ps_partkey", "supplier.s_suppkey", "supplier.s_nationkey"], "Inner Unique": true, "Hash Cond": "(partsupp.ps_suppkey = supplier.s_suppkey)", "Plans": [{"Node Type": "Nested Loop", "Parent Relationship": "Outer", "Parallel Aware": false, "Join Type": "Inner", "Startup Cost": 0.43, "Total Cost": 94141.36, "Plan Rows": 120238, "Plan Width": 18, "Output": ["part.p_partkey", "partsupp.ps_supplycost", "partsupp.ps_suppkey", "partsupp.ps_partkey"], "Inner Unique": false, "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": true, "Relation Name": "part", "Schema": "public", "Alias": "part", "Startup Cost": 0.0, "Total Cost": 47212.0, "Plan Rows": 30060, "Plan Width": 4, "Output": ["part.p_partkey", "part.p_name", "part.p_mfgr", "part.p_brand", "part.p_type", "part.p_size", "part.p_container", "part.p_retailprice", "part.p_comment"], "Filter": "((part.p_name)::text ~~ '%forest%'::text)"}, {"Node Type": "Index Scan", "Parent Relationship": "Inner", "Parallel Aware": false, "Scan Direction": "Forward", "Index Name": "ps_pk", "Relation Name": "partsupp", "Schema": "public", "Alias": "partsupp", "Startup Cost": 0.43, "Total Cost": 1.52, "Plan Rows": 4, "Plan Width": 14, "Output": ["partsupp.ps_partkey", "partsupp.ps_suppkey", "partsupp.ps_availqty", "partsupp.ps_supplycost", "partsupp.ps_comment"], "Index Cond": "(partsupp.ps_partkey = part.p_partkey)"}]}, {"Node Type": "Hash", "Parent Relationship": "Inner", "Parallel Aware": false, "Startup Cost": 3216.0, "Total Cost": 3216.0, "Plan Rows": 100000, "Plan Width": 8, "Output": ["supplier.s_suppkey", "supplier.s_nationkey"], "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Relation Name": "supplier", "Schema": "public", "Alias": "supplier", "Startup Cost": 0.0, "Total Cost": 3216.0, "Plan Rows": 100000, "Plan Width": 8, "Output": ["supplier.s_suppkey", "supplier.s_nationkey"]}]}]}, {"Node Type": "Hash", "Parent Relationship": "Inner", "Parallel Aware": false, "Startup Cost": 1.25, "Total Cost": 1.25, "Plan Rows": 25, "Plan Width": 30, "Output": ["nation.n_name", "nation.n_nationkey"], "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Relation Name": "nation", "Schema": "public", "Alias": "nation", "Startup Cost": 0.0, "Total Cost": 1.25, "Plan Rows": 25, "Plan Width": 30, "Output": ["nation.n_name", "nation.n_nationkey"]}]}]}, {"Node Type": "Index Scan", "Parent Relationship": "Inner", "Parallel Aware": false, "Scan Direction": "Forward", "Index Name": "l_sk_pk", "Relation Name": "lineitem", "Schema": "public", "Alias": "lineitem", "Startup Cost": 0.56, "Total Cost": 0.76, "Plan Rows": 1, "Plan Width": 29, "Output": ["lineitem.l_orderkey", "lineitem.l_partkey", "lineitem.l_suppkey", "lineitem.l_linenumber", "lineitem.l_quantity", "lineitem.l_extendedprice", "lineitem.l_discount", "lineitem.l_tax", "lineitem.l_returnflag", "lineitem.l_linestatus", "lineitem.l_shipdate", "lineitem.l_commitdate", "lineitem.l_receiptdate", "lineitem.l_shipinstruct", "lineitem.l_shipmode", "lineitem.l_comment"], "Index Cond": "((lineitem.l_suppkey = partsupp.ps_suppkey) AND (lineitem.l_partkey = partsupp.ps_partkey))"}]}, {"Node Type": "Index Scan", "Parent Relationship": "Inner", "Parallel Aware": false, "Scan Direction": "Forward", "Index Name": "o_ok", "Relation Name": "orders", "Schema": "public", "Alias": "orders", "Startup Cost": 0.43, "Total Cost": 0.46, "Plan Rows": 1, "Plan Width": 8, "Output": ["orders.o_orderkey", "orders.o_custkey", "orders.o_orderstatus", "orders.o_totalprice", "orders.o_orderdate", "orders.o_orderpriority", "orders.o_clerk", "orders.o_shippriority", "orders.o_comment"], "Index Cond": "(orders.o_orderkey = lineitem.l_orderkey)"}]}]}]}]}]}} diff --git a/dev9/pg10/tpch/sf_10/explain_analyze/15721/1-1.ok b/dev9/pg10/tpch/sf_10/explain_analyze/15721/1-1.ok new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/dev9/pg10/tpch/sf_10/explain_analyze/15721/1-1.res b/dev9/pg10/tpch/sf_10/explain_analyze/15721/1-1.res new file mode 100644 index 0000000000000000000000000000000000000000..68f52cc0003d04c93bf8637c45edefe7464469f1 --- /dev/null +++ b/dev9/pg10/tpch/sf_10/explain_analyze/15721/1-1.res @@ -0,0 +1 @@ +{"Plan": {"Node Type": "Aggregate", "Strategy": "Sorted", "Partial Mode": "Finalize", "Parallel Aware": false, "Startup Cost": 1567390.72, "Total Cost": 1567392.78, "Plan Rows": 6, "Plan Width": 236, "Actual Startup Time": 13246.143, "Actual Total Time": 15630.161, "Actual Rows": 4, "Actual Loops": 1, "Output": ["l_returnflag", "l_linestatus", "sum(l_quantity)", "sum(l_extendedprice)", "sum((l_extendedprice * ('1'::numeric - l_discount)))", "sum(((l_extendedprice * ('1'::numeric - l_discount)) * ('1'::numeric + l_tax)))", "avg(l_quantity)", "avg(l_extendedprice)", "avg(l_discount)", "count(*)"], "Group Key": ["lineitem.l_returnflag", "lineitem.l_linestatus"], "Plans": [{"Node Type": "Sort", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 1567390.72, "Total Cost": 1567390.83, "Plan Rows": 42, "Plan Width": 236, "Actual Startup Time": 13246.084, "Actual Total Time": 15630.016, "Actual Rows": 32, "Actual Loops": 1, "Output": ["l_returnflag", "l_linestatus", "(PARTIAL sum(l_quantity))", "(PARTIAL sum(l_extendedprice))", "(PARTIAL sum((l_extendedprice * ('1'::numeric - l_discount))))", "(PARTIAL sum(((l_extendedprice * ('1'::numeric - l_discount)) * ('1'::numeric + l_tax))))", "(PARTIAL avg(l_quantity))", "(PARTIAL avg(l_extendedprice))", "(PARTIAL avg(l_discount))", "(PARTIAL count(*))"], "Sort Key": ["lineitem.l_returnflag", "lineitem.l_linestatus"], "Sort Method": "quicksort", "Sort Space Used": 41, "Sort Space Type": "Memory", "Plans": [{"Node Type": "Gather", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 1567385.22, "Total Cost": 1567389.59, "Plan Rows": 42, "Plan Width": 236, "Actual Startup Time": 13245.841, "Actual Total Time": 15629.961, "Actual Rows": 32, "Actual Loops": 1, "Output": ["l_returnflag", "l_linestatus", "(PARTIAL sum(l_quantity))", "(PARTIAL sum(l_extendedprice))", "(PARTIAL sum((l_extendedprice * ('1'::numeric - l_discount))))", "(PARTIAL sum(((l_extendedprice * ('1'::numeric - l_discount)) * ('1'::numeric + l_tax))))", "(PARTIAL avg(l_quantity))", "(PARTIAL avg(l_extendedprice))", "(PARTIAL avg(l_discount))", "(PARTIAL count(*))"], "Workers Planned": 7, "Workers Launched": 7, "Single Copy": false, "Plans": [{"Node Type": "Aggregate", "Strategy": "Hashed", "Partial Mode": "Partial", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 1566385.22, "Total Cost": 1566385.39, "Plan Rows": 6, "Plan Width": 236, "Actual Startup Time": 13241.203, "Actual Total Time": 13241.219, "Actual Rows": 4, "Actual Loops": 8, "Output": ["l_returnflag", "l_linestatus", "PARTIAL sum(l_quantity)", "PARTIAL sum(l_extendedprice)", "PARTIAL sum((l_extendedprice * ('1'::numeric - l_discount)))", "PARTIAL sum(((l_extendedprice * ('1'::numeric - l_discount)) * ('1'::numeric + l_tax)))", "PARTIAL avg(l_quantity)", "PARTIAL avg(l_extendedprice)", "PARTIAL avg(l_discount)", "PARTIAL count(*)"], "Group Key": ["lineitem.l_returnflag", "lineitem.l_linestatus"], "Workers": [{"Worker Number": 0, "Actual Startup Time": 13240.611, "Actual Total Time": 13240.626, "Actual Rows": 4, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 13240.594, "Actual Total Time": 13240.609, "Actual Rows": 4, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 13240.627, "Actual Total Time": 13240.641, "Actual Rows": 4, "Actual Loops": 1}, {"Worker Number": 3, "Actual Startup Time": 13240.567, "Actual Total Time": 13240.581, "Actual Rows": 4, "Actual Loops": 1}, {"Worker Number": 4, "Actual Startup Time": 13240.626, "Actual Total Time": 13240.638, "Actual Rows": 4, "Actual Loops": 1}, {"Worker Number": 5, "Actual Startup Time": 13240.582, "Actual Total Time": 13240.595, "Actual Rows": 4, "Actual Loops": 1}, {"Worker Number": 6, "Actual Startup Time": 13240.625, "Actual Total Time": 13240.637, "Actual Rows": 4, "Actual Loops": 1}], "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": true, "Relation Name": "lineitem", "Schema": "public", "Alias": "lineitem", "Startup Cost": 0.0, "Total Cost": 1231664.06, "Plan Rows": 8368029, "Plan Width": 25, "Actual Startup Time": 0.025, "Actual Total Time": 2517.921, "Actual Rows": 7323456, "Actual Loops": 8, "Output": ["l_returnflag", "l_linestatus", "l_quantity", "l_extendedprice", "l_discount", "l_tax"], "Filter": "(lineitem.l_shipdate <= '1998-08-07 23:59:57'::timestamp without time zone)", "Rows Removed by Filter": 174801, "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.03, "Actual Total Time": 2505.007, "Actual Rows": 7329175, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 0.024, "Actual Total Time": 2554.464, "Actual Rows": 7326837, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 0.027, "Actual Total Time": 2701.131, "Actual Rows": 7167665, "Actual Loops": 1}, {"Worker Number": 3, "Actual Startup Time": 0.031, "Actual Total Time": 2559.461, "Actual Rows": 7318281, "Actual Loops": 1}, {"Worker Number": 4, "Actual Startup Time": 0.023, "Actual Total Time": 2556.4, "Actual Rows": 7321895, "Actual Loops": 1}, {"Worker Number": 5, "Actual Startup Time": 0.027, "Actual Total Time": 2513.084, "Actual Rows": 7320711, "Actual Loops": 1}, {"Worker Number": 6, "Actual Startup Time": 0.028, "Actual Total Time": 2526.214, "Actual Rows": 7348304, "Actual Loops": 1}]}]}]}]}]}, "Planning Time": 0.566, "Triggers": [], "Execution Time": 15630.306} diff --git a/dev9/pg10/tpch/sf_10/explain_analyze/15721/10-1.ok b/dev9/pg10/tpch/sf_10/explain_analyze/15721/10-1.ok new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/dev9/pg10/tpch/sf_10/explain_analyze/15721/10-1.res b/dev9/pg10/tpch/sf_10/explain_analyze/15721/10-1.res new file mode 100644 index 0000000000000000000000000000000000000000..13a8edbfd1414d3492030d45c88451d5c57d8f84 --- /dev/null +++ b/dev9/pg10/tpch/sf_10/explain_analyze/15721/10-1.res @@ -0,0 +1 @@ +{"Plan": {"Node Type": "Limit", "Parallel Aware": false, "Startup Cost": 648742.37, "Total Cost": 648742.42, "Plan Rows": 20, "Plan Width": 202, "Actual Startup Time": 3170.423, "Actual Total Time": 3379.183, "Actual Rows": 20, "Actual Loops": 1, "Output": ["customer.c_custkey", "customer.c_name", "(sum((lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount))))", "customer.c_acctbal", "nation.n_name", "customer.c_address", "customer.c_phone", "customer.c_comment"], "Plans": [{"Node Type": "Sort", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 648742.37, "Total Cost": 650112.02, "Plan Rows": 547858, "Plan Width": 202, "Actual Startup Time": 3170.421, "Actual Total Time": 3379.179, "Actual Rows": 20, "Actual Loops": 1, "Output": ["customer.c_custkey", "customer.c_name", "(sum((lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount))))", "customer.c_acctbal", "nation.n_name", "customer.c_address", "customer.c_phone", "customer.c_comment"], "Sort Key": ["(sum((lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount)))) DESC"], "Sort Method": "top-N heapsort", "Sort Space Used": 34, "Sort Space Type": "Memory", "Plans": [{"Node Type": "Aggregate", "Strategy": "Sorted", "Partial Mode": "Finalize", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 552741.08, "Total Cost": 634164.07, "Plan Rows": 547858, "Plan Width": 202, "Actual Startup Time": 2050.889, "Actual Total Time": 3243.475, "Actual Rows": 372741, "Actual Loops": 1, "Output": ["customer.c_custkey", "customer.c_name", "sum((lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount)))", "customer.c_acctbal", "nation.n_name", "customer.c_address", "customer.c_phone", "customer.c_comment"], "Group Key": ["customer.c_custkey", "nation.n_name"], "Plans": [{"Node Type": "Gather Merge", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 552741.08, "Total Cost": 621837.24, "Plan Rows": 547860, "Plan Width": 202, "Actual Startup Time": 2050.877, "Actual Total Time": 2774.473, "Actual Rows": 459786, "Actual Loops": 1, "Output": ["customer.c_custkey", "nation.n_name", "customer.c_name", "(PARTIAL sum((lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount))))", "customer.c_acctbal", "customer.c_address", "customer.c_phone", "customer.c_comment"], "Workers Planned": 6, "Workers Launched": 6, "Plans": [{"Node Type": "Aggregate", "Strategy": "Sorted", "Partial Mode": "Partial", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 551740.98, "Total Cost": 554252.01, "Plan Rows": 91310, "Plan Width": 202, "Actual Startup Time": 2042.026, "Actual Total Time": 2231.626, "Actual Rows": 65684, "Actual Loops": 7, "Output": ["customer.c_custkey", "nation.n_name", "customer.c_name", "PARTIAL sum((lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount)))", "customer.c_acctbal", "customer.c_address", "customer.c_phone", "customer.c_comment"], "Group Key": ["customer.c_custkey", "nation.n_name"], "Workers": [{"Worker Number": 0, "Actual Startup Time": 2044.766, "Actual Total Time": 2222.676, "Actual Rows": 64926, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 2045.708, "Actual Total Time": 2220.564, "Actual Rows": 64004, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 2038.215, "Actual Total Time": 2238.611, "Actual Rows": 65416, "Actual Loops": 1}, {"Worker Number": 3, "Actual Startup Time": 2042.286, "Actual Total Time": 2219.793, "Actual Rows": 65625, "Actual Loops": 1}, {"Worker Number": 4, "Actual Startup Time": 2038.988, "Actual Total Time": 2239.546, "Actual Rows": 64733, "Actual Loops": 1}, {"Worker Number": 5, "Actual Startup Time": 2038.782, "Actual Total Time": 2240.661, "Actual Rows": 64431, "Actual Loops": 1}], "Plans": [{"Node Type": "Sort", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 551740.98, "Total Cost": 551969.26, "Plan Rows": 91310, "Plan Width": 182, "Actual Startup Time": 2042.003, "Actual Total Time": 2069.865, "Actual Rows": 158983, "Actual Loops": 7, "Output": ["customer.c_custkey", "nation.n_name", "customer.c_name", "lineitem.l_extendedprice", "lineitem.l_discount", "customer.c_acctbal", "customer.c_address", "customer.c_phone", "customer.c_comment"], "Sort Key": ["customer.c_custkey", "nation.n_name"], "Sort Method": "external merge", "Sort Space Used": 32792, "Sort Space Type": "Disk", "Workers": [{"Worker Number": 0, "Actual Startup Time": 2044.743, "Actual Total Time": 2070.53, "Actual Rows": 157105, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 2045.688, "Actual Total Time": 2070.485, "Actual Rows": 154745, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 2038.185, "Actual Total Time": 2066.537, "Actual Rows": 158160, "Actual Loops": 1}, {"Worker Number": 3, "Actual Startup Time": 2042.259, "Actual Total Time": 2068.005, "Actual Rows": 158464, "Actual Loops": 1}, {"Worker Number": 4, "Actual Startup Time": 2038.97, "Actual Total Time": 2068.147, "Actual Rows": 156768, "Actual Loops": 1}, {"Worker Number": 5, "Actual Startup Time": 2038.757, "Actual Total Time": 2067.338, "Actual Rows": 155854, "Actual Loops": 1}], "Plans": [{"Node Type": "Hash Join", "Parent Relationship": "Outer", "Parallel Aware": false, "Join Type": "Inner", "Startup Cost": 7383.15, "Total Cost": 544217.73, "Plan Rows": 91310, "Plan Width": 182, "Actual Startup Time": 208.882, "Actual Total Time": 1810.616, "Actual Rows": 158983, "Actual Loops": 7, "Output": ["customer.c_custkey", "nation.n_name", "customer.c_name", "lineitem.l_extendedprice", "lineitem.l_discount", "customer.c_acctbal", "customer.c_address", "customer.c_phone", "customer.c_comment"], "Inner Unique": true, "Hash Cond": "(customer.c_nationkey = nation.n_nationkey)", "Workers": [{"Worker Number": 0, "Actual Startup Time": 209.032, "Actual Total Time": 1810.45, "Actual Rows": 157105, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 209.109, "Actual Total Time": 1809.774, "Actual Rows": 154745, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 209.224, "Actual Total Time": 1809.571, "Actual Rows": 158160, "Actual Loops": 1}, {"Worker Number": 3, "Actual Startup Time": 209.236, "Actual Total Time": 1810.01, "Actual Rows": 158464, "Actual Loops": 1}, {"Worker Number": 4, "Actual Startup Time": 209.229, "Actual Total Time": 1809.851, "Actual Rows": 156768, "Actual Loops": 1}, {"Worker Number": 5, "Actual Startup Time": 209.367, "Actual Total Time": 1812.132, "Actual Rows": 155854, "Actual Loops": 1}], "Plans": [{"Node Type": "Nested Loop", "Parent Relationship": "Outer", "Parallel Aware": false, "Join Type": "Inner", "Startup Cost": 7381.59, "Total Cost": 543935.85, "Plan Rows": 91310, "Plan Width": 160, "Actual Startup Time": 208.819, "Actual Total Time": 1761.478, "Actual Rows": 158983, "Actual Loops": 7, "Output": ["customer.c_custkey", "customer.c_name", "customer.c_acctbal", "customer.c_address", "customer.c_phone", "customer.c_comment", "customer.c_nationkey", "lineitem.l_extendedprice", "lineitem.l_discount"], "Inner Unique": true, "Workers": [{"Worker Number": 0, "Actual Startup Time": 208.968, "Actual Total Time": 1762.84, "Actual Rows": 157105, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 209.045, "Actual Total Time": 1760.174, "Actual Rows": 154745, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 209.152, "Actual Total Time": 1761.606, "Actual Rows": 158160, "Actual Loops": 1}, {"Worker Number": 3, "Actual Startup Time": 209.161, "Actual Total Time": 1759.371, "Actual Rows": 158464, "Actual Loops": 1}, {"Worker Number": 4, "Actual Startup Time": 209.156, "Actual Total Time": 1759.748, "Actual Rows": 156768, "Actual Loops": 1}, {"Worker Number": 5, "Actual Startup Time": 209.292, "Actual Total Time": 1764.572, "Actual Rows": 155854, "Actual Loops": 1}], "Plans": [{"Node Type": "Nested Loop", "Parent Relationship": "Outer", "Parallel Aware": false, "Join Type": "Inner", "Startup Cost": 7381.16, "Total Cost": 496090.47, "Plan Rows": 91310, "Plan Width": 16, "Actual Startup Time": 208.749, "Actual Total Time": 1155.485, "Actual Rows": 158983, "Actual Loops": 7, "Output": ["orders.o_custkey", "lineitem.l_extendedprice", "lineitem.l_discount"], "Inner Unique": false, "Workers": [{"Worker Number": 0, "Actual Startup Time": 208.891, "Actual Total Time": 1172.542, "Actual Rows": 157105, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 208.977, "Actual Total Time": 1170.456, "Actual Rows": 154745, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 209.069, "Actual Total Time": 1171.286, "Actual Rows": 158160, "Actual Loops": 1}, {"Worker Number": 3, "Actual Startup Time": 209.077, "Actual Total Time": 1170.441, "Actual Rows": 158464, "Actual Loops": 1}, {"Worker Number": 4, "Actual Startup Time": 209.089, "Actual Total Time": 1169.785, "Actual Rows": 156768, "Actual Loops": 1}, {"Worker Number": 5, "Actual Startup Time": 209.201, "Actual Total Time": 1172.916, "Actual Rows": 155854, "Actual Loops": 1}], "Plans": [{"Node Type": "Bitmap Heap Scan", "Parent Relationship": "Outer", "Parallel Aware": true, "Relation Name": "orders", "Schema": "public", "Alias": "orders", "Startup Cost": 7380.6, "Total Cost": 269683.22, "Plan Rows": 92708, "Plan Width": 8, "Actual Startup Time": 208.672, "Actual Total Time": 409.362, "Actual Rows": 79303, "Actual Loops": 7, "Output": ["orders.o_orderkey", "orders.o_custkey", "orders.o_orderstatus", "orders.o_totalprice", "orders.o_orderdate", "orders.o_orderpriority", "orders.o_clerk", "orders.o_shippriority", "orders.o_comment"], "Recheck Cond": "((orders.o_orderdate >= '1993-02-01'::date) AND (orders.o_orderdate < '1993-05-01 00:00:00'::timestamp without time zone))", "Rows Removed by Index Recheck": 0, "Exact Heap Blocks": 35640, "Lossy Heap Blocks": 0, "Workers": [{"Worker Number": 0, "Actual Startup Time": 208.799, "Actual Total Time": 416.942, "Actual Rows": 78580, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 208.897, "Actual Total Time": 415.306, "Actual Rows": 77174, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 208.982, "Actual Total Time": 415.794, "Actual Rows": 79031, "Actual Loops": 1}, {"Worker Number": 3, "Actual Startup Time": 208.999, "Actual Total Time": 416.097, "Actual Rows": 79011, "Actual Loops": 1}, {"Worker Number": 4, "Actual Startup Time": 209.003, "Actual Total Time": 417.318, "Actual Rows": 78071, "Actual Loops": 1}, {"Worker Number": 5, "Actual Startup Time": 209.116, "Actual Total Time": 416.715, "Actual Rows": 77726, "Actual Loops": 1}], "Plans": [{"Node Type": "Bitmap Index Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Index Name": "o_od", "Startup Cost": 0.0, "Total Cost": 7241.54, "Plan Rows": 556250, "Plan Width": 0, "Actual Startup Time": 124.063, "Actual Total Time": 124.064, "Actual Rows": 555118, "Actual Loops": 1, "Index Cond": "((orders.o_orderdate >= '1993-02-01'::date) AND (orders.o_orderdate < '1993-05-01 00:00:00'::timestamp without time zone))"}]}, {"Node Type": "Index Scan", "Parent Relationship": "Inner", "Parallel Aware": false, "Scan Direction": "Forward", "Index Name": "l_ok", "Relation Name": "lineitem", "Schema": "public", "Alias": "lineitem", "Startup Cost": 0.56, "Total Cost": 2.37, "Plan Rows": 7, "Plan Width": 16, "Actual Startup Time": 0.008, "Actual Total Time": 0.009, "Actual Rows": 2, "Actual Loops": 555118, "Output": ["lineitem.l_orderkey", "lineitem.l_partkey", "lineitem.l_suppkey", "lineitem.l_linenumber", "lineitem.l_quantity", "lineitem.l_extendedprice", "lineitem.l_discount", "lineitem.l_tax", "lineitem.l_returnflag", "lineitem.l_linestatus", "lineitem.l_shipdate", "lineitem.l_commitdate", "lineitem.l_receiptdate", "lineitem.l_shipinstruct", "lineitem.l_shipmode", "lineitem.l_comment"], "Index Cond": "(lineitem.l_orderkey = orders.o_orderkey)", "Rows Removed by Index Recheck": 0, "Filter": "(lineitem.l_returnflag = 'R'::bpchar)", "Rows Removed by Filter": 2, "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.008, "Actual Total Time": 0.009, "Actual Rows": 2, "Actual Loops": 78580}, {"Worker Number": 1, "Actual Startup Time": 0.008, "Actual Total Time": 0.009, "Actual Rows": 2, "Actual Loops": 77174}, {"Worker Number": 2, "Actual Startup Time": 0.008, "Actual Total Time": 0.009, "Actual Rows": 2, "Actual Loops": 79031}, {"Worker Number": 3, "Actual Startup Time": 0.008, "Actual Total Time": 0.009, "Actual Rows": 2, "Actual Loops": 79011}, {"Worker Number": 4, "Actual Startup Time": 0.008, "Actual Total Time": 0.009, "Actual Rows": 2, "Actual Loops": 78071}, {"Worker Number": 5, "Actual Startup Time": 0.008, "Actual Total Time": 0.009, "Actual Rows": 2, "Actual Loops": 77726}]}]}, {"Node Type": "Index Scan", "Parent Relationship": "Inner", "Parallel Aware": false, "Scan Direction": "Forward", "Index Name": "c_ck", "Relation Name": "customer", "Schema": "public", "Alias": "customer", "Startup Cost": 0.43, "Total Cost": 0.52, "Plan Rows": 1, "Plan Width": 148, "Actual Startup Time": 0.003, "Actual Total Time": 0.003, "Actual Rows": 1, "Actual Loops": 1112878, "Output": ["customer.c_custkey", "customer.c_name", "customer.c_address", "customer.c_nationkey", "customer.c_phone", "customer.c_acctbal", "customer.c_mktsegment", "customer.c_comment"], "Index Cond": "(customer.c_custkey = orders.o_custkey)", "Rows Removed by Index Recheck": 0, "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.003, "Actual Total Time": 0.003, "Actual Rows": 1, "Actual Loops": 157105}, {"Worker Number": 1, "Actual Startup Time": 0.003, "Actual Total Time": 0.003, "Actual Rows": 1, "Actual Loops": 154745}, {"Worker Number": 2, "Actual Startup Time": 0.003, "Actual Total Time": 0.003, "Actual Rows": 1, "Actual Loops": 158160}, {"Worker Number": 3, "Actual Startup Time": 0.003, "Actual Total Time": 0.003, "Actual Rows": 1, "Actual Loops": 158464}, {"Worker Number": 4, "Actual Startup Time": 0.003, "Actual Total Time": 0.003, "Actual Rows": 1, "Actual Loops": 156768}, {"Worker Number": 5, "Actual Startup Time": 0.003, "Actual Total Time": 0.003, "Actual Rows": 1, "Actual Loops": 155854}]}]}, {"Node Type": "Hash", "Parent Relationship": "Inner", "Parallel Aware": false, "Startup Cost": 1.25, "Total Cost": 1.25, "Plan Rows": 25, "Plan Width": 30, "Actual Startup Time": 0.03, "Actual Total Time": 0.031, "Actual Rows": 25, "Actual Loops": 7, "Output": ["nation.n_name", "nation.n_nationkey"], "Hash Buckets": 1024, "Original Hash Buckets": 1024, "Hash Batches": 1, "Original Hash Batches": 1, "Peak Memory Usage": 10, "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.028, "Actual Total Time": 0.035, "Actual Rows": 25, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 0.027, "Actual Total Time": 0.028, "Actual Rows": 25, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 0.028, "Actual Total Time": 0.028, "Actual Rows": 25, "Actual Loops": 1}, {"Worker Number": 3, "Actual Startup Time": 0.036, "Actual Total Time": 0.037, "Actual Rows": 25, "Actual Loops": 1}, {"Worker Number": 4, "Actual Startup Time": 0.035, "Actual Total Time": 0.035, "Actual Rows": 25, "Actual Loops": 1}, {"Worker Number": 5, "Actual Startup Time": 0.038, "Actual Total Time": 0.038, "Actual Rows": 25, "Actual Loops": 1}], "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Relation Name": "nation", "Schema": "public", "Alias": "nation", "Startup Cost": 0.0, "Total Cost": 1.25, "Plan Rows": 25, "Plan Width": 30, "Actual Startup Time": 0.015, "Actual Total Time": 0.02, "Actual Rows": 25, "Actual Loops": 7, "Output": ["nation.n_name", "nation.n_nationkey"], "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.016, "Actual Total Time": 0.027, "Actual Rows": 25, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 0.016, "Actual Total Time": 0.02, "Actual Rows": 25, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 0.016, "Actual Total Time": 0.02, "Actual Rows": 25, "Actual Loops": 1}, {"Worker Number": 3, "Actual Startup Time": 0.017, "Actual Total Time": 0.021, "Actual Rows": 25, "Actual Loops": 1}, {"Worker Number": 4, "Actual Startup Time": 0.017, "Actual Total Time": 0.02, "Actual Rows": 25, "Actual Loops": 1}, {"Worker Number": 5, "Actual Startup Time": 0.017, "Actual Total Time": 0.022, "Actual Rows": 25, "Actual Loops": 1}]}]}]}]}]}]}]}]}]}, "Planning Time": 1.057, "Triggers": [], "Execution Time": 3386.23} diff --git a/dev9/pg10/tpch/sf_10/explain_analyze/15721/11-1.ok b/dev9/pg10/tpch/sf_10/explain_analyze/15721/11-1.ok new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/dev9/pg10/tpch/sf_10/explain_analyze/15721/11-1.res b/dev9/pg10/tpch/sf_10/explain_analyze/15721/11-1.res new file mode 100644 index 0000000000000000000000000000000000000000..17829196fc95f77e8c0130dcfc519fc60c323390 --- /dev/null +++ b/dev9/pg10/tpch/sf_10/explain_analyze/15721/11-1.res @@ -0,0 +1 @@ +{"Plan": {"Node Type": "Sort", "Parallel Aware": false, "Startup Cost": 107806.16, "Total Cost": 108606.15, "Plan Rows": 319997, "Plan Width": 36, "Actual Startup Time": 1206.733, "Actual Total Time": 1206.796, "Actual Rows": 0, "Actual Loops": 1, "Output": ["partsupp.ps_partkey", "(sum((partsupp.ps_supplycost * (partsupp.ps_availqty)::numeric)))"], "Sort Key": ["(sum((partsupp.ps_supplycost * (partsupp.ps_availqty)::numeric))) DESC"], "Sort Method": "quicksort", "Sort Space Used": 25, "Sort Space Type": "Memory", "Plans": [{"Node Type": "Aggregate", "Strategy": "Plain", "Partial Mode": "Finalize", "Parent Relationship": "InitPlan", "Subplan Name": "InitPlan 1 (returns $2)", "Parallel Aware": false, "Startup Cost": 16673.72, "Total Cost": 16673.74, "Plan Rows": 1, "Plan Width": 32, "Actual Startup Time": 326.06, "Actual Total Time": 326.119, "Actual Rows": 1, "Actual Loops": 1, "Output": ["(sum((partsupp_1.ps_supplycost * (partsupp_1.ps_availqty)::numeric)) * 0.0001000000)"], "Plans": [{"Node Type": "Gather", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 16673.61, "Total Cost": 16673.72, "Plan Rows": 1, "Plan Width": 32, "Actual Startup Time": 325.969, "Actual Total Time": 326.109, "Actual Rows": 2, "Actual Loops": 1, "Output": ["(PARTIAL sum((partsupp_1.ps_supplycost * (partsupp_1.ps_availqty)::numeric)))"], "Workers Planned": 1, "Workers Launched": 1, "Single Copy": false, "Plans": [{"Node Type": "Aggregate", "Strategy": "Plain", "Partial Mode": "Partial", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 15673.61, "Total Cost": 15673.62, "Plan Rows": 1, "Plan Width": 32, "Actual Startup Time": 323.498, "Actual Total Time": 323.501, "Actual Rows": 1, "Actual Loops": 2, "Output": ["PARTIAL sum((partsupp_1.ps_supplycost * (partsupp_1.ps_availqty)::numeric))"], "Workers": [{"Worker Number": 0, "Actual Startup Time": 321.339, "Actual Total Time": 321.341, "Actual Rows": 1, "Actual Loops": 1}], "Plans": [{"Node Type": "Nested Loop", "Parent Relationship": "Outer", "Parallel Aware": false, "Join Type": "Inner", "Startup Cost": 1.76, "Total Cost": 14261.85, "Plan Rows": 188234, "Plan Width": 10, "Actual Startup Time": 0.179, "Actual Total Time": 264.389, "Actual Rows": 159520, "Actual Loops": 2, "Output": ["partsupp_1.ps_supplycost", "partsupp_1.ps_availqty"], "Inner Unique": false, "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.313, "Actual Total Time": 273.708, "Actual Rows": 126240, "Actual Loops": 1}], "Plans": [{"Node Type": "Hash Join", "Parent Relationship": "Outer", "Parallel Aware": false, "Join Type": "Inner", "Startup Cost": 1.32, "Total Cost": 2986.15, "Plan Rows": 2353, "Plan Width": 4, "Actual Startup Time": 0.103, "Actual Total Time": 15.003, "Actual Rows": 1994, "Actual Loops": 2, "Output": ["supplier_1.s_suppkey"], "Inner Unique": true, "Hash Cond": "(supplier_1.s_nationkey = nation_1.n_nationkey)", "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.177, "Actual Total Time": 12.224, "Actual Rows": 1578, "Actual Loops": 1}], "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": true, "Relation Name": "supplier", "Schema": "public", "Alias": "supplier_1", "Startup Cost": 0.0, "Total Cost": 2804.24, "Plan Rows": 58824, "Plan Width": 8, "Actual Startup Time": 0.016, "Actual Total Time": 5.112, "Actual Rows": 50000, "Actual Loops": 2, "Output": ["supplier_1.s_suppkey", "supplier_1.s_name", "supplier_1.s_address", "supplier_1.s_nationkey", "supplier_1.s_phone", "supplier_1.s_acctbal", "supplier_1.s_comment"], "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.027, "Actual Total Time": 4.676, "Actual Rows": 39897, "Actual Loops": 1}]}, {"Node Type": "Hash", "Parent Relationship": "Inner", "Parallel Aware": false, "Startup Cost": 1.31, "Total Cost": 1.31, "Plan Rows": 1, "Plan Width": 4, "Actual Startup Time": 0.021, "Actual Total Time": 0.022, "Actual Rows": 1, "Actual Loops": 2, "Output": ["nation_1.n_nationkey"], "Hash Buckets": 1024, "Original Hash Buckets": 1024, "Hash Batches": 1, "Original Hash Batches": 1, "Peak Memory Usage": 9, "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.032, "Actual Total Time": 0.032, "Actual Rows": 1, "Actual Loops": 1}], "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Relation Name": "nation", "Schema": "public", "Alias": "nation_1", "Startup Cost": 0.0, "Total Cost": 1.31, "Plan Rows": 1, "Plan Width": 4, "Actual Startup Time": 0.017, "Actual Total Time": 0.019, "Actual Rows": 1, "Actual Loops": 2, "Output": ["nation_1.n_nationkey"], "Filter": "(nation_1.n_name = 'CHINA'::bpchar)", "Rows Removed by Filter": 24, "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.027, "Actual Total Time": 0.028, "Actual Rows": 1, "Actual Loops": 1}]}]}]}, {"Node Type": "Index Scan", "Parent Relationship": "Inner", "Parallel Aware": false, "Scan Direction": "Forward", "Index Name": "ps_sk", "Relation Name": "partsupp", "Schema": "public", "Alias": "partsupp_1", "Startup Cost": 0.43, "Total Cost": 3.99, "Plan Rows": 80, "Plan Width": 14, "Actual Startup Time": 0.008, "Actual Total Time": 0.111, "Actual Rows": 80, "Actual Loops": 3988, "Output": ["partsupp_1.ps_partkey", "partsupp_1.ps_suppkey", "partsupp_1.ps_availqty", "partsupp_1.ps_supplycost", "partsupp_1.ps_comment"], "Index Cond": "(partsupp_1.ps_suppkey = supplier_1.s_suppkey)", "Rows Removed by Index Recheck": 0, "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.011, "Actual Total Time": 0.151, "Actual Rows": 80, "Actual Loops": 1578}]}]}]}]}]}, {"Node Type": "Aggregate", "Strategy": "Sorted", "Partial Mode": "Simple", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 50672.49, "Total Cost": 61872.38, "Plan Rows": 319997, "Plan Width": 36, "Actual Startup Time": 1206.729, "Actual Total Time": 1206.732, "Actual Rows": 0, "Actual Loops": 1, "Output": ["partsupp.ps_partkey", "sum((partsupp.ps_supplycost * (partsupp.ps_availqty)::numeric))"], "Group Key": ["partsupp.ps_partkey"], "Filter": "(sum((partsupp.ps_supplycost * (partsupp.ps_availqty)::numeric)) > $2)", "Rows Removed by Filter": 300316, "Plans": [{"Node Type": "Sort", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 50672.49, "Total Cost": 51472.48, "Plan Rows": 319997, "Plan Width": 14, "Actual Startup Time": 585.268, "Actual Total Time": 621.763, "Actual Rows": 319040, "Actual Loops": 1, "Output": ["partsupp.ps_partkey", "partsupp.ps_supplycost", "partsupp.ps_availqty"], "Sort Key": ["partsupp.ps_partkey"], "Sort Method": "external merge", "Sort Space Used": 8128, "Sort Space Type": "Disk", "Plans": [{"Node Type": "Nested Loop", "Parent Relationship": "Outer", "Parallel Aware": false, "Join Type": "Inner", "Startup Cost": 44.92, "Total Cost": 21412.44, "Plan Rows": 319997, "Plan Width": 14, "Actual Startup Time": 0.793, "Actual Total Time": 416.078, "Actual Rows": 319040, "Actual Loops": 1, "Output": ["partsupp.ps_partkey", "partsupp.ps_supplycost", "partsupp.ps_availqty"], "Inner Unique": false, "Plans": [{"Node Type": "Nested Loop", "Parent Relationship": "Outer", "Parallel Aware": false, "Join Type": "Inner", "Startup Cost": 44.49, "Total Cost": 2244.24, "Plan Rows": 4000, "Plan Width": 4, "Actual Startup Time": 0.778, "Actual Total Time": 5.386, "Actual Rows": 3988, "Actual Loops": 1, "Output": ["supplier.s_suppkey"], "Inner Unique": false, "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Relation Name": "nation", "Schema": "public", "Alias": "nation", "Startup Cost": 0.0, "Total Cost": 1.31, "Plan Rows": 1, "Plan Width": 4, "Actual Startup Time": 0.007, "Actual Total Time": 0.011, "Actual Rows": 1, "Actual Loops": 1, "Output": ["nation.n_nationkey", "nation.n_name", "nation.n_regionkey", "nation.n_comment"], "Filter": "(nation.n_name = 'CHINA'::bpchar)", "Rows Removed by Filter": 24}, {"Node Type": "Bitmap Heap Scan", "Parent Relationship": "Inner", "Parallel Aware": false, "Relation Name": "supplier", "Schema": "public", "Alias": "supplier", "Startup Cost": 44.49, "Total Cost": 2202.92, "Plan Rows": 4000, "Plan Width": 8, "Actual Startup Time": 0.769, "Actual Total Time": 4.705, "Actual Rows": 3988, "Actual Loops": 1, "Output": ["supplier.s_suppkey", "supplier.s_name", "supplier.s_address", "supplier.s_nationkey", "supplier.s_phone", "supplier.s_acctbal", "supplier.s_comment"], "Recheck Cond": "(supplier.s_nationkey = nation.n_nationkey)", "Rows Removed by Index Recheck": 0, "Exact Heap Blocks": 1857, "Lossy Heap Blocks": 0, "Plans": [{"Node Type": "Bitmap Index Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Index Name": "s_nk", "Startup Cost": 0.0, "Total Cost": 43.49, "Plan Rows": 4000, "Plan Width": 0, "Actual Startup Time": 0.462, "Actual Total Time": 0.462, "Actual Rows": 3988, "Actual Loops": 1, "Index Cond": "(supplier.s_nationkey = nation.n_nationkey)"}]}]}, {"Node Type": "Index Scan", "Parent Relationship": "Inner", "Parallel Aware": false, "Scan Direction": "Forward", "Index Name": "ps_sk", "Relation Name": "partsupp", "Schema": "public", "Alias": "partsupp", "Startup Cost": 0.43, "Total Cost": 3.99, "Plan Rows": 80, "Plan Width": 18, "Actual Startup Time": 0.006, "Actual Total Time": 0.089, "Actual Rows": 80, "Actual Loops": 3988, "Output": ["partsupp.ps_partkey", "partsupp.ps_suppkey", "partsupp.ps_availqty", "partsupp.ps_supplycost", "partsupp.ps_comment"], "Index Cond": "(partsupp.ps_suppkey = supplier.s_suppkey)", "Rows Removed by Index Recheck": 0}]}]}]}]}, "Planning Time": 0.979, "Triggers": [], "Execution Time": 1208.592} diff --git a/dev9/pg10/tpch/sf_10/explain_analyze/15721/12-1.ok b/dev9/pg10/tpch/sf_10/explain_analyze/15721/12-1.ok new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/dev9/pg10/tpch/sf_10/explain_analyze/15721/12-1.res b/dev9/pg10/tpch/sf_10/explain_analyze/15721/12-1.res new file mode 100644 index 0000000000000000000000000000000000000000..dd06b7198972b0a6b9036e4c0b9368e8d186ab7d --- /dev/null +++ b/dev9/pg10/tpch/sf_10/explain_analyze/15721/12-1.res @@ -0,0 +1 @@ +{"Plan": {"Node Type": "Aggregate", "Strategy": "Sorted", "Partial Mode": "Finalize", "Parallel Aware": false, "Startup Cost": 1331483.83, "Total Cost": 1332317.66, "Plan Rows": 7, "Plan Width": 27, "Actual Startup Time": 4739.036, "Actual Total Time": 5031.095, "Actual Rows": 2, "Actual Loops": 1, "Output": ["lineitem.l_shipmode", "sum(CASE WHEN ((orders.o_orderpriority = '1-URGENT'::bpchar) OR (orders.o_orderpriority = '2-HIGH'::bpchar)) THEN 1 ELSE 0 END)", "sum(CASE WHEN ((orders.o_orderpriority <> '1-URGENT'::bpchar) AND (orders.o_orderpriority <> '2-HIGH'::bpchar)) THEN 1 ELSE 0 END)"], "Group Key": ["lineitem.l_shipmode"], "Plans": [{"Node Type": "Gather Merge", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 1331483.83, "Total Cost": 1332317.22, "Plan Rows": 49, "Plan Width": 27, "Actual Startup Time": 4731.113, "Actual Total Time": 5031.086, "Actual Rows": 16, "Actual Loops": 1, "Output": ["lineitem.l_shipmode", "(PARTIAL sum(CASE WHEN ((orders.o_orderpriority = '1-URGENT'::bpchar) OR (orders.o_orderpriority = '2-HIGH'::bpchar)) THEN 1 ELSE 0 END))", "(PARTIAL sum(CASE WHEN ((orders.o_orderpriority <> '1-URGENT'::bpchar) AND (orders.o_orderpriority <> '2-HIGH'::bpchar)) THEN 1 ELSE 0 END))"], "Workers Planned": 7, "Workers Launched": 7, "Plans": [{"Node Type": "Aggregate", "Strategy": "Sorted", "Partial Mode": "Partial", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 1330483.71, "Total Cost": 1331311.1, "Plan Rows": 7, "Plan Width": 27, "Actual Startup Time": 4725.557, "Actual Total Time": 4733.055, "Actual Rows": 2, "Actual Loops": 8, "Output": ["lineitem.l_shipmode", "PARTIAL sum(CASE WHEN ((orders.o_orderpriority = '1-URGENT'::bpchar) OR (orders.o_orderpriority = '2-HIGH'::bpchar)) THEN 1 ELSE 0 END)", "PARTIAL sum(CASE WHEN ((orders.o_orderpriority <> '1-URGENT'::bpchar) AND (orders.o_orderpriority <> '2-HIGH'::bpchar)) THEN 1 ELSE 0 END)"], "Group Key": ["lineitem.l_shipmode"], "Workers": [{"Worker Number": 0, "Actual Startup Time": 4724.509, "Actual Total Time": 4732.014, "Actual Rows": 2, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 4724.814, "Actual Total Time": 4732.313, "Actual Rows": 2, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 4724.521, "Actual Total Time": 4732.007, "Actual Rows": 2, "Actual Loops": 1}, {"Worker Number": 3, "Actual Startup Time": 4725.003, "Actual Total Time": 4732.659, "Actual Rows": 2, "Actual Loops": 1}, {"Worker Number": 4, "Actual Startup Time": 4724.892, "Actual Total Time": 4732.4, "Actual Rows": 2, "Actual Loops": 1}, {"Worker Number": 5, "Actual Startup Time": 4724.972, "Actual Total Time": 4732.463, "Actual Rows": 2, "Actual Loops": 1}, {"Worker Number": 6, "Actual Startup Time": 4726.32, "Actual Total Time": 4733.256, "Actual Rows": 2, "Actual Loops": 1}], "Plans": [{"Node Type": "Sort", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 1330483.71, "Total Cost": 1330587.13, "Plan Rows": 41366, "Plan Width": 27, "Actual Startup Time": 4718.061, "Actual Total Time": 4720.284, "Actual Rows": 38973, "Actual Loops": 8, "Output": ["lineitem.l_shipmode", "orders.o_orderpriority"], "Sort Key": ["lineitem.l_shipmode"], "Sort Method": "quicksort", "Sort Space Used": 4676, "Sort Space Type": "Memory", "Workers": [{"Worker Number": 0, "Actual Startup Time": 4717.043, "Actual Total Time": 4719.26, "Actual Rows": 39144, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 4717.205, "Actual Total Time": 4719.432, "Actual Rows": 39249, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 4717.121, "Actual Total Time": 4719.347, "Actual Rows": 38909, "Actual Loops": 1}, {"Worker Number": 3, "Actual Startup Time": 4717.366, "Actual Total Time": 4719.61, "Actual Rows": 39774, "Actual Loops": 1}, {"Worker Number": 4, "Actual Startup Time": 4717.343, "Actual Total Time": 4719.569, "Actual Rows": 39007, "Actual Loops": 1}, {"Worker Number": 5, "Actual Startup Time": 4717.435, "Actual Total Time": 4719.646, "Actual Rows": 38955, "Actual Loops": 1}, {"Worker Number": 6, "Actual Startup Time": 4719.311, "Actual Total Time": 4721.342, "Actual Rows": 36569, "Actual Loops": 1}], "Plans": [{"Node Type": "Nested Loop", "Parent Relationship": "Outer", "Parallel Aware": false, "Join Type": "Inner", "Startup Cost": 118964.6, "Total Cost": 1327311.73, "Plan Rows": 41366, "Plan Width": 27, "Actual Startup Time": 1149.079, "Actual Total Time": 4703.785, "Actual Rows": 38973, "Actual Loops": 8, "Output": ["lineitem.l_shipmode", "orders.o_orderpriority"], "Inner Unique": true, "Workers": [{"Worker Number": 0, "Actual Startup Time": 1148.822, "Actual Total Time": 4702.788, "Actual Rows": 39144, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 1149.053, "Actual Total Time": 4702.813, "Actual Rows": 39249, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 1148.982, "Actual Total Time": 4702.892, "Actual Rows": 38909, "Actual Loops": 1}, {"Worker Number": 3, "Actual Startup Time": 1149.108, "Actual Total Time": 4702.909, "Actual Rows": 39774, "Actual Loops": 1}, {"Worker Number": 4, "Actual Startup Time": 1149.342, "Actual Total Time": 4703.093, "Actual Rows": 39007, "Actual Loops": 1}, {"Worker Number": 5, "Actual Startup Time": 1149.368, "Actual Total Time": 4703.031, "Actual Rows": 38955, "Actual Loops": 1}, {"Worker Number": 6, "Actual Startup Time": 1149.362, "Actual Total Time": 4703.449, "Actual Rows": 36569, "Actual Loops": 1}], "Plans": [{"Node Type": "Bitmap Heap Scan", "Parent Relationship": "Outer", "Parallel Aware": true, "Relation Name": "lineitem", "Schema": "public", "Alias": "lineitem", "Startup Cost": 118964.17, "Total Cost": 1272866.0, "Plan Rows": 41366, "Plan Width": 15, "Actual Startup Time": 1149.014, "Actual Total Time": 4443.243, "Actual Rows": 38973, "Actual Loops": 8, "Output": ["lineitem.l_orderkey", "lineitem.l_partkey", "lineitem.l_suppkey", "lineitem.l_linenumber", "lineitem.l_quantity", "lineitem.l_extendedprice", "lineitem.l_discount", "lineitem.l_tax", "lineitem.l_returnflag", "lineitem.l_linestatus", "lineitem.l_shipdate", "lineitem.l_commitdate", "lineitem.l_receiptdate", "lineitem.l_shipinstruct", "lineitem.l_shipmode", "lineitem.l_comment"], "Recheck Cond": "((lineitem.l_receiptdate >= '1995-01-01'::date) AND (lineitem.l_receiptdate < '1996-01-01 00:00:00'::timestamp without time zone))", "Rows Removed by Index Recheck": 4655976, "Filter": "((lineitem.l_shipmode = ANY ('{MAIL,TRUCK}'::bpchar[])) AND (lineitem.l_commitdate < lineitem.l_receiptdate) AND (lineitem.l_shipdate < lineitem.l_commitdate))", "Rows Removed by Filter": 1099491, "Exact Heap Blocks": 26259, "Lossy Heap Blocks": 109392, "Workers": [{"Worker Number": 0, "Actual Startup Time": 1148.758, "Actual Total Time": 4436.638, "Actual Rows": 39144, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 1148.973, "Actual Total Time": 4435.944, "Actual Rows": 39249, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 1148.919, "Actual Total Time": 4438.632, "Actual Rows": 38909, "Actual Loops": 1}, {"Worker Number": 3, "Actual Startup Time": 1149.045, "Actual Total Time": 4435.713, "Actual Rows": 39774, "Actual Loops": 1}, {"Worker Number": 4, "Actual Startup Time": 1149.267, "Actual Total Time": 4436.334, "Actual Rows": 39007, "Actual Loops": 1}, {"Worker Number": 5, "Actual Startup Time": 1149.297, "Actual Total Time": 4436.142, "Actual Rows": 38955, "Actual Loops": 1}, {"Worker Number": 6, "Actual Startup Time": 1149.28, "Actual Total Time": 4425.245, "Actual Rows": 36569, "Actual Loops": 1}], "Plans": [{"Node Type": "Bitmap Index Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Index Name": "l_rd", "Startup Cost": 0.0, "Total Cost": 118891.78, "Plan Rows": 9134171, "Plan Width": 0, "Actual Startup Time": 1070.418, "Actual Total Time": 1070.419, "Actual Rows": 9107712, "Actual Loops": 1, "Index Cond": "((lineitem.l_receiptdate >= '1995-01-01'::date) AND (lineitem.l_receiptdate < '1996-01-01 00:00:00'::timestamp without time zone))"}]}, {"Node Type": "Index Scan", "Parent Relationship": "Inner", "Parallel Aware": false, "Scan Direction": "Forward", "Index Name": "o_ok", "Relation Name": "orders", "Schema": "public", "Alias": "orders", "Startup Cost": 0.43, "Total Cost": 1.32, "Plan Rows": 1, "Plan Width": 20, "Actual Startup Time": 0.006, "Actual Total Time": 0.006, "Actual Rows": 1, "Actual Loops": 311787, "Output": ["orders.o_orderkey", "orders.o_custkey", "orders.o_orderstatus", "orders.o_totalprice", "orders.o_orderdate", "orders.o_orderpriority", "orders.o_clerk", "orders.o_shippriority", "orders.o_comment"], "Index Cond": "(orders.o_orderkey = lineitem.l_orderkey)", "Rows Removed by Index Recheck": 0, "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.006, "Actual Total Time": 0.006, "Actual Rows": 1, "Actual Loops": 39144}, {"Worker Number": 1, "Actual Startup Time": 0.006, "Actual Total Time": 0.006, "Actual Rows": 1, "Actual Loops": 39249}, {"Worker Number": 2, "Actual Startup Time": 0.006, "Actual Total Time": 0.006, "Actual Rows": 1, "Actual Loops": 38909}, {"Worker Number": 3, "Actual Startup Time": 0.006, "Actual Total Time": 0.006, "Actual Rows": 1, "Actual Loops": 39774}, {"Worker Number": 4, "Actual Startup Time": 0.006, "Actual Total Time": 0.006, "Actual Rows": 1, "Actual Loops": 39007}, {"Worker Number": 5, "Actual Startup Time": 0.006, "Actual Total Time": 0.006, "Actual Rows": 1, "Actual Loops": 38955}, {"Worker Number": 6, "Actual Startup Time": 0.007, "Actual Total Time": 0.007, "Actual Rows": 1, "Actual Loops": 36569}]}]}]}]}]}]}, "Planning Time": 0.432, "Triggers": [], "Execution Time": 5031.165} diff --git a/dev9/pg10/tpch/sf_10/explain_analyze/15721/13-1.ok b/dev9/pg10/tpch/sf_10/explain_analyze/15721/13-1.ok new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/dev9/pg10/tpch/sf_10/explain_analyze/15721/13-1.res b/dev9/pg10/tpch/sf_10/explain_analyze/15721/13-1.res new file mode 100644 index 0000000000000000000000000000000000000000..3de5a02fb26aacb93db7d51dae3d8c6ab29acaf1 --- /dev/null +++ b/dev9/pg10/tpch/sf_10/explain_analyze/15721/13-1.res @@ -0,0 +1 @@ +{"Plan": {"Node Type": "Sort", "Parallel Aware": false, "Startup Cost": 922915.06, "Total Cost": 922915.56, "Plan Rows": 200, "Plan Width": 16, "Actual Startup Time": 26341.621, "Actual Total Time": 26341.626, "Actual Rows": 46, "Actual Loops": 1, "Output": ["(count(orders.o_orderkey))", "(count(*))"], "Sort Key": ["(count(*)) DESC", "(count(orders.o_orderkey)) DESC"], "Sort Method": "quicksort", "Sort Space Used": 27, "Sort Space Type": "Memory", "Plans": [{"Node Type": "Aggregate", "Strategy": "Hashed", "Partial Mode": "Simple", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 922905.41, "Total Cost": 922907.41, "Plan Rows": 200, "Plan Width": 16, "Actual Startup Time": 26341.584, "Actual Total Time": 26341.594, "Actual Rows": 46, "Actual Loops": 1, "Output": ["(count(orders.o_orderkey))", "count(*)"], "Group Key": ["count(orders.o_orderkey)"], "Plans": [{"Node Type": "Aggregate", "Strategy": "Sorted", "Partial Mode": "Simple", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 0.86, "Total Cost": 900405.41, "Plan Rows": 1500000, "Plan Width": 12, "Actual Startup Time": 0.084, "Actual Total Time": 26034.183, "Actual Rows": 1500000, "Actual Loops": 1, "Output": ["customer.c_custkey", "count(orders.o_orderkey)"], "Group Key": ["customer.c_custkey"], "Plans": [{"Node Type": "Merge Join", "Parent Relationship": "Outer", "Parallel Aware": false, "Join Type": "Left", "Startup Cost": 0.86, "Total Cost": 811153.48, "Plan Rows": 14850386, "Plan Width": 8, "Actual Startup Time": 0.04, "Actual Total Time": 23963.683, "Actual Rows": 15338712, "Actual Loops": 1, "Output": ["customer.c_custkey", "orders.o_orderkey"], "Inner Unique": false, "Merge Cond": "(customer.c_custkey = orders.o_custkey)", "Plans": [{"Node Type": "Index Only Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Scan Direction": "Forward", "Index Name": "c_ck", "Relation Name": "customer", "Schema": "public", "Alias": "customer", "Startup Cost": 0.43, "Total Cost": 27028.03, "Plan Rows": 1500000, "Plan Width": 4, "Actual Startup Time": 0.028, "Actual Total Time": 186.155, "Actual Rows": 1500000, "Actual Loops": 1, "Output": ["customer.c_custkey"], "Heap Fetches": 0}, {"Node Type": "Index Scan", "Parent Relationship": "Inner", "Parallel Aware": false, "Scan Direction": "Forward", "Index Name": "o_ck", "Relation Name": "orders", "Schema": "public", "Alias": "orders", "Startup Cost": 0.43, "Total Cost": 594751.93, "Plan Rows": 14850386, "Plan Width": 8, "Actual Startup Time": 0.009, "Actual Total Time": 21393.153, "Actual Rows": 14838692, "Actual Loops": 1, "Output": ["orders.o_orderkey", "orders.o_custkey", "orders.o_orderstatus", "orders.o_totalprice", "orders.o_orderdate", "orders.o_orderpriority", "orders.o_clerk", "orders.o_shippriority", "orders.o_comment"], "Filter": "((orders.o_comment)::text !~~ '%unusual%requests%'::text)", "Rows Removed by Filter": 161308}]}]}]}]}, "Planning Time": 0.624, "Triggers": [], "Execution Time": 26341.68} diff --git a/dev9/pg10/tpch/sf_10/explain_analyze/15721/14-1.ok b/dev9/pg10/tpch/sf_10/explain_analyze/15721/14-1.ok new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/dev9/pg10/tpch/sf_10/explain_analyze/15721/14-1.res b/dev9/pg10/tpch/sf_10/explain_analyze/15721/14-1.res new file mode 100644 index 0000000000000000000000000000000000000000..70e2b11b8c2a955485beee074935f08372068f49 --- /dev/null +++ b/dev9/pg10/tpch/sf_10/explain_analyze/15721/14-1.res @@ -0,0 +1 @@ +{"Plan": {"Node Type": "Aggregate", "Strategy": "Plain", "Partial Mode": "Finalize", "Parallel Aware": false, "Startup Cost": 662583.72, "Total Cost": 662583.74, "Plan Rows": 1, "Plan Width": 32, "Actual Startup Time": 1711.677, "Actual Total Time": 1833.892, "Actual Rows": 1, "Actual Loops": 1, "Output": ["((100.00 * sum(CASE WHEN ((part.p_type)::text ~~ 'PROMO%'::text) THEN (lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount)) ELSE '0'::numeric END)) / sum((lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount))))"], "Plans": [{"Node Type": "Gather", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 662583.05, "Total Cost": 662583.66, "Plan Rows": 6, "Plan Width": 64, "Actual Startup Time": 1702.541, "Actual Total Time": 1833.863, "Actual Rows": 7, "Actual Loops": 1, "Output": ["(PARTIAL sum(CASE WHEN ((part.p_type)::text ~~ 'PROMO%'::text) THEN (lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount)) ELSE '0'::numeric END))", "(PARTIAL sum((lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount))))"], "Workers Planned": 6, "Workers Launched": 6, "Single Copy": false, "Plans": [{"Node Type": "Aggregate", "Strategy": "Plain", "Partial Mode": "Partial", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 661583.05, "Total Cost": 661583.06, "Plan Rows": 1, "Plan Width": 64, "Actual Startup Time": 1698.462, "Actual Total Time": 1698.464, "Actual Rows": 1, "Actual Loops": 7, "Output": ["PARTIAL sum(CASE WHEN ((part.p_type)::text ~~ 'PROMO%'::text) THEN (lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount)) ELSE '0'::numeric END)", "PARTIAL sum((lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount)))"], "Workers": [{"Worker Number": 0, "Actual Startup Time": 1697.62, "Actual Total Time": 1697.622, "Actual Rows": 1, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 1697.797, "Actual Total Time": 1697.799, "Actual Rows": 1, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 1697.835, "Actual Total Time": 1697.837, "Actual Rows": 1, "Actual Loops": 1}, {"Worker Number": 3, "Actual Startup Time": 1697.928, "Actual Total Time": 1697.929, "Actual Rows": 1, "Actual Loops": 1}, {"Worker Number": 4, "Actual Startup Time": 1697.955, "Actual Total Time": 1697.957, "Actual Rows": 1, "Actual Loops": 1}, {"Worker Number": 5, "Actual Startup Time": 1698.094, "Actual Total Time": 1698.095, "Actual Rows": 1, "Actual Loops": 1}], "Plans": [{"Node Type": "Nested Loop", "Parent Relationship": "Outer", "Parallel Aware": false, "Join Type": "Inner", "Startup Cost": 10043.29, "Total Cost": 659375.28, "Plan Rows": 126158, "Plan Width": 33, "Actual Startup Time": 325.483, "Actual Total Time": 1625.432, "Actual Rows": 110406, "Actual Loops": 7, "Output": ["part.p_type", "lineitem.l_extendedprice", "lineitem.l_discount"], "Inner Unique": true, "Workers": [{"Worker Number": 0, "Actual Startup Time": 325.455, "Actual Total Time": 1623.798, "Actual Rows": 109846, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 325.614, "Actual Total Time": 1623.48, "Actual Rows": 111344, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 325.721, "Actual Total Time": 1623.894, "Actual Rows": 110891, "Actual Loops": 1}, {"Worker Number": 3, "Actual Startup Time": 325.754, "Actual Total Time": 1624.874, "Actual Rows": 109934, "Actual Loops": 1}, {"Worker Number": 4, "Actual Startup Time": 325.801, "Actual Total Time": 1624.786, "Actual Rows": 108937, "Actual Loops": 1}, {"Worker Number": 5, "Actual Startup Time": 325.944, "Actual Total Time": 1625.679, "Actual Rows": 111005, "Actual Loops": 1}], "Plans": [{"Node Type": "Bitmap Heap Scan", "Parent Relationship": "Outer", "Parallel Aware": true, "Relation Name": "lineitem", "Schema": "public", "Alias": "lineitem", "Startup Cost": 10042.86, "Total Cost": 594719.29, "Plan Rows": 126158, "Plan Width": 16, "Actual Startup Time": 325.394, "Actual Total Time": 1050.613, "Actual Rows": 110406, "Actual Loops": 7, "Output": ["lineitem.l_orderkey", "lineitem.l_partkey", "lineitem.l_suppkey", "lineitem.l_linenumber", "lineitem.l_quantity", "lineitem.l_extendedprice", "lineitem.l_discount", "lineitem.l_tax", "lineitem.l_returnflag", "lineitem.l_linestatus", "lineitem.l_shipdate", "lineitem.l_commitdate", "lineitem.l_receiptdate", "lineitem.l_shipinstruct", "lineitem.l_shipmode", "lineitem.l_comment"], "Recheck Cond": "((lineitem.l_shipdate >= '1995-05-01'::date) AND (lineitem.l_shipdate < '1995-06-01 00:00:00'::timestamp without time zone))", "Rows Removed by Index Recheck": 1264968, "Exact Heap Blocks": 34957, "Lossy Heap Blocks": 24845, "Workers": [{"Worker Number": 0, "Actual Startup Time": 325.355, "Actual Total Time": 1062.75, "Actual Rows": 109846, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 325.512, "Actual Total Time": 1057.921, "Actual Rows": 111344, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 325.625, "Actual Total Time": 1060.688, "Actual Rows": 110891, "Actual Loops": 1}, {"Worker Number": 3, "Actual Startup Time": 325.659, "Actual Total Time": 1058.759, "Actual Rows": 109934, "Actual Loops": 1}, {"Worker Number": 4, "Actual Startup Time": 325.7, "Actual Total Time": 1059.846, "Actual Rows": 108937, "Actual Loops": 1}, {"Worker Number": 5, "Actual Startup Time": 325.841, "Actual Total Time": 1058.142, "Actual Rows": 111005, "Actual Loops": 1}], "Plans": [{"Node Type": "Bitmap Index Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Index Name": "l_sd", "Startup Cost": 0.0, "Total Cost": 9853.63, "Plan Rows": 756946, "Plan Width": 0, "Actual Startup Time": 227.701, "Actual Total Time": 227.702, "Actual Rows": 772845, "Actual Loops": 1, "Index Cond": "((lineitem.l_shipdate >= '1995-05-01'::date) AND (lineitem.l_shipdate < '1995-06-01 00:00:00'::timestamp without time zone))"}]}, {"Node Type": "Index Scan", "Parent Relationship": "Inner", "Parallel Aware": false, "Scan Direction": "Forward", "Index Name": "p_pk", "Relation Name": "part", "Schema": "public", "Alias": "part", "Startup Cost": 0.43, "Total Cost": 0.51, "Plan Rows": 1, "Plan Width": 25, "Actual Startup Time": 0.005, "Actual Total Time": 0.005, "Actual Rows": 1, "Actual Loops": 772845, "Output": ["part.p_partkey", "part.p_name", "part.p_mfgr", "part.p_brand", "part.p_type", "part.p_size", "part.p_container", "part.p_retailprice", "part.p_comment"], "Index Cond": "(part.p_partkey = lineitem.l_partkey)", "Rows Removed by Index Recheck": 0, "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.005, "Actual Total Time": 0.005, "Actual Rows": 1, "Actual Loops": 109846}, {"Worker Number": 1, "Actual Startup Time": 0.004, "Actual Total Time": 0.004, "Actual Rows": 1, "Actual Loops": 111344}, {"Worker Number": 2, "Actual Startup Time": 0.004, "Actual Total Time": 0.004, "Actual Rows": 1, "Actual Loops": 110891}, {"Worker Number": 3, "Actual Startup Time": 0.005, "Actual Total Time": 0.005, "Actual Rows": 1, "Actual Loops": 109934}, {"Worker Number": 4, "Actual Startup Time": 0.005, "Actual Total Time": 0.005, "Actual Rows": 1, "Actual Loops": 108937}, {"Worker Number": 5, "Actual Startup Time": 0.005, "Actual Total Time": 0.005, "Actual Rows": 1, "Actual Loops": 111005}]}]}]}]}]}, "Planning Time": 0.387, "Triggers": [], "Execution Time": 1833.951} diff --git a/dev9/pg10/tpch/sf_10/explain_analyze/15721/15-1.ok b/dev9/pg10/tpch/sf_10/explain_analyze/15721/15-1.ok new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/dev9/pg10/tpch/sf_10/explain_analyze/15721/15-1.res b/dev9/pg10/tpch/sf_10/explain_analyze/15721/15-1.res new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/dev9/pg10/tpch/sf_10/explain_analyze/15721/15-2.ok b/dev9/pg10/tpch/sf_10/explain_analyze/15721/15-2.ok new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/dev9/pg10/tpch/sf_10/explain_analyze/15721/15-2.res b/dev9/pg10/tpch/sf_10/explain_analyze/15721/15-2.res new file mode 100644 index 0000000000000000000000000000000000000000..8023dc432af29e8b6d3fdfb301c4bae4b28fb1c6 --- /dev/null +++ b/dev9/pg10/tpch/sf_10/explain_analyze/15721/15-2.res @@ -0,0 +1 @@ +{"Plan": {"Node Type": "Merge Join", "Parallel Aware": false, "Join Type": "Inner", "Startup Cost": 2667212.48, "Total Cost": 2720862.92, "Plan Rows": 99866, "Plan Width": 103, "Actual Startup Time": 16855.633, "Actual Total Time": 17095.378, "Actual Rows": 1, "Actual Loops": 1, "Output": ["supplier.s_suppkey", "supplier.s_name", "supplier.s_address", "supplier.s_phone", "(sum((lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount))))"], "Inner Unique": true, "Merge Cond": "(supplier.s_suppkey = lineitem.l_suppkey)", "Plans": [{"Node Type": "Aggregate", "Strategy": "Plain", "Partial Mode": "Simple", "Parent Relationship": "InitPlan", "Subplan Name": "InitPlan 1 (returns $0)", "Parallel Aware": false, "Startup Cost": 1214354.77, "Total Cost": 1214354.78, "Plan Rows": 1, "Plan Width": 32, "Actual Startup Time": 8180.612, "Actual Total Time": 8180.614, "Actual Rows": 1, "Actual Loops": 1, "Output": ["max((sum((lineitem_1.l_extendedprice * ('1'::numeric - lineitem_1.l_discount)))))"], "Plans": [{"Node Type": "Aggregate", "Strategy": "Hashed", "Partial Mode": "Simple", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 1211858.12, "Total Cost": 1213106.44, "Plan Rows": 99866, "Plan Width": 36, "Actual Startup Time": 8117.905, "Actual Total Time": 8169.508, "Actual Rows": 100000, "Actual Loops": 1, "Output": ["lineitem_1.l_suppkey", "sum((lineitem_1.l_extendedprice * ('1'::numeric - lineitem_1.l_discount)))"], "Group Key": ["lineitem_1.l_suppkey"], "Plans": [{"Node Type": "Bitmap Heap Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Relation Name": "lineitem", "Schema": "public", "Alias": "lineitem_1", "Startup Cost": 30271.54, "Total Cost": 1189040.29, "Plan Rows": 2281783, "Plan Width": 16, "Actual Startup Time": 487.372, "Actual Total Time": 6201.159, "Actual Rows": 2247315, "Actual Loops": 1, "Output": ["lineitem_1.l_orderkey", "lineitem_1.l_partkey", "lineitem_1.l_suppkey", "lineitem_1.l_linenumber", "lineitem_1.l_quantity", "lineitem_1.l_extendedprice", "lineitem_1.l_discount", "lineitem_1.l_tax", "lineitem_1.l_returnflag", "lineitem_1.l_linestatus", "lineitem_1.l_shipdate", "lineitem_1.l_commitdate", "lineitem_1.l_receiptdate", "lineitem_1.l_shipinstruct", "lineitem_1.l_shipmode", "lineitem_1.l_comment"], "Recheck Cond": "((lineitem_1.l_shipdate >= '1995-01-01'::date) AND (lineitem_1.l_shipdate < '1995-04-01 00:00:00'::timestamp without time zone))", "Rows Removed by Index Recheck": 16867399, "Exact Heap Blocks": 325171, "Lossy Heap Blocks": 341243, "Plans": [{"Node Type": "Bitmap Index Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Index Name": "l_sd", "Startup Cost": 0.0, "Total Cost": 29701.1, "Plan Rows": 2281783, "Plan Width": 0, "Actual Startup Time": 380.335, "Actual Total Time": 380.336, "Actual Rows": 2247315, "Actual Loops": 1, "Index Cond": "((lineitem_1.l_shipdate >= '1995-01-01'::date) AND (lineitem_1.l_shipdate < '1995-04-01 00:00:00'::timestamp without time zone))"}]}]}]}, {"Node Type": "Index Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Scan Direction": "Forward", "Index Name": "s_sk", "Relation Name": "supplier", "Schema": "public", "Alias": "supplier", "Startup Cost": 0.29, "Total Cost": 4020.1, "Plan Rows": 100000, "Plan Width": 71, "Actual Startup Time": 0.011, "Actual Total Time": 21.811, "Actual Rows": 83967, "Actual Loops": 1, "Output": ["supplier.s_suppkey", "supplier.s_name", "supplier.s_address", "supplier.s_nationkey", "supplier.s_phone", "supplier.s_acctbal", "supplier.s_comment"]}, {"Node Type": "Aggregate", "Strategy": "Sorted", "Partial Mode": "Simple", "Parent Relationship": "Inner", "Parallel Aware": false, "Startup Cost": 1452857.41, "Total Cost": 1499991.06, "Plan Rows": 99866, "Plan Width": 36, "Actual Startup Time": 16824.963, "Actual Total Time": 17064.703, "Actual Rows": 1, "Actual Loops": 1, "Output": ["lineitem.l_suppkey", "sum((lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount)))"], "Group Key": ["lineitem.l_suppkey"], "Filter": "(sum((lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount))) = $0)", "Rows Removed by Filter": 99999, "Plans": [{"Node Type": "Sort", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 1452857.41, "Total Cost": 1458561.87, "Plan Rows": 2281783, "Plan Width": 16, "Actual Startup Time": 7380.102, "Actual Total Time": 7744.16, "Actual Rows": 2247315, "Actual Loops": 1, "Output": ["lineitem.l_suppkey", "lineitem.l_extendedprice", "lineitem.l_discount"], "Sort Key": ["lineitem.l_suppkey"], "Sort Method": "external merge", "Sort Space Used": 60440, "Sort Space Type": "Disk", "Plans": [{"Node Type": "Bitmap Heap Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Relation Name": "lineitem", "Schema": "public", "Alias": "lineitem", "Startup Cost": 30271.54, "Total Cost": 1189040.29, "Plan Rows": 2281783, "Plan Width": 16, "Actual Startup Time": 482.742, "Actual Total Time": 6275.975, "Actual Rows": 2247315, "Actual Loops": 1, "Output": ["lineitem.l_suppkey", "lineitem.l_extendedprice", "lineitem.l_discount"], "Recheck Cond": "((lineitem.l_shipdate >= '1995-01-01'::date) AND (lineitem.l_shipdate < '1995-04-01 00:00:00'::timestamp without time zone))", "Rows Removed by Index Recheck": 16867399, "Exact Heap Blocks": 325171, "Lossy Heap Blocks": 341243, "Plans": [{"Node Type": "Bitmap Index Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Index Name": "l_sd", "Startup Cost": 0.0, "Total Cost": 29701.1, "Plan Rows": 2281783, "Plan Width": 0, "Actual Startup Time": 380.039, "Actual Total Time": 380.039, "Actual Rows": 2247315, "Actual Loops": 1, "Index Cond": "((lineitem.l_shipdate >= '1995-01-01'::date) AND (lineitem.l_shipdate < '1995-04-01 00:00:00'::timestamp without time zone))"}]}]}]}]}, "Planning Time": 0.395, "Triggers": [], "Execution Time": 17117.129} diff --git a/dev9/pg10/tpch/sf_10/explain_analyze/15721/15-3.ok b/dev9/pg10/tpch/sf_10/explain_analyze/15721/15-3.ok new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/dev9/pg10/tpch/sf_10/explain_analyze/15721/15-3.res b/dev9/pg10/tpch/sf_10/explain_analyze/15721/15-3.res new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/dev9/pg10/tpch/sf_10/explain_analyze/15721/16-1.ok b/dev9/pg10/tpch/sf_10/explain_analyze/15721/16-1.ok new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/dev9/pg10/tpch/sf_10/explain_analyze/15721/16-1.res b/dev9/pg10/tpch/sf_10/explain_analyze/15721/16-1.res new file mode 100644 index 0000000000000000000000000000000000000000..68fb8ad03bfcc95b0fce4b429cb8c5a74767964c --- /dev/null +++ b/dev9/pg10/tpch/sf_10/explain_analyze/15721/16-1.res @@ -0,0 +1 @@ +{"Plan": {"Node Type": "Sort", "Parallel Aware": false, "Startup Cost": 340017.71, "Total Cost": 340402.48, "Plan Rows": 153909, "Plan Width": 44, "Actual Startup Time": 6664.264, "Actual Total Time": 6666.302, "Actual Rows": 27840, "Actual Loops": 1, "Output": ["part.p_brand", "part.p_type", "part.p_size", "(count(DISTINCT partsupp.ps_suppkey))"], "Sort Key": ["(count(DISTINCT partsupp.ps_suppkey)) DESC", "part.p_brand", "part.p_type", "part.p_size"], "Sort Method": "quicksort", "Sort Space Used": 2968, "Sort Space Type": "Memory", "Plans": [{"Node Type": "Aggregate", "Strategy": "Sorted", "Partial Mode": "Simple", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 317774.01, "Total Cost": 326757.13, "Plan Rows": 153909, "Plan Width": 44, "Actual Startup Time": 5595.397, "Actual Total Time": 6570.133, "Actual Rows": 27840, "Actual Loops": 1, "Output": ["part.p_brand", "part.p_type", "part.p_size", "count(DISTINCT partsupp.ps_suppkey)"], "Group Key": ["part.p_brand", "part.p_type", "part.p_size"], "Plans": [{"Node Type": "Sort", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 317774.01, "Total Cost": 319262.82, "Plan Rows": 595522, "Plan Width": 40, "Actual Startup Time": 5595.347, "Actual Total Time": 6136.563, "Actual Rows": 1190471, "Actual Loops": 1, "Output": ["part.p_brand", "part.p_type", "part.p_size", "partsupp.ps_suppkey"], "Sort Key": ["part.p_brand", "part.p_type", "part.p_size"], "Sort Method": "external merge", "Sort Space Used": 60680, "Sort Space Type": "Disk", "Plans": [{"Node Type": "Gather", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 101477.51, "Total Cost": 251113.5, "Plan Rows": 595522, "Plan Width": 40, "Actual Startup Time": 750.526, "Actual Total Time": 1638.268, "Actual Rows": 1190471, "Actual Loops": 1, "Output": ["part.p_brand", "part.p_type", "part.p_size", "partsupp.ps_suppkey"], "Workers Planned": 6, "Workers Launched": 6, "Single Copy": false, "Plans": [{"Node Type": "Hash Join", "Parent Relationship": "Outer", "Parallel Aware": false, "Join Type": "Inner", "Startup Cost": 100477.51, "Total Cost": 190561.3, "Plan Rows": 99254, "Plan Width": 40, "Actual Startup Time": 807.751, "Actual Total Time": 1435.432, "Actual Rows": 170067, "Actual Loops": 7, "Output": ["part.p_brand", "part.p_type", "part.p_size", "partsupp.ps_suppkey"], "Inner Unique": true, "Hash Cond": "(partsupp.ps_partkey = part.p_partkey)", "Workers": [{"Worker Number": 0, "Actual Startup Time": 817.077, "Actual Total Time": 1493.803, "Actual Rows": 183502, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 817.247, "Actual Total Time": 1492.112, "Actual Rows": 182915, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 817.219, "Actual Total Time": 1495.117, "Actual Rows": 183316, "Actual Loops": 1}, {"Worker Number": 3, "Actual Startup Time": 817.417, "Actual Total Time": 1487.632, "Actual Rows": 182586, "Actual Loops": 1}, {"Worker Number": 4, "Actual Startup Time": 817.382, "Actual Total Time": 1495.592, "Actual Rows": 182150, "Actual Loops": 1}, {"Worker Number": 5, "Actual Startup Time": 817.843, "Actual Total Time": 1495.713, "Actual Rows": 183587, "Actual Loops": 1}], "Plans": [{"Node Type": "Index Only Scan", "Parent Relationship": "Outer", "Parallel Aware": true, "Scan Direction": "Forward", "Index Name": "ps_pk_sk", "Relation Name": "partsupp", "Schema": "public", "Alias": "partsupp", "Startup Cost": 3466.46, "Total Cost": 84263.27, "Plan Rows": 666660, "Plan Width": 8, "Actual Startup Time": 43.483, "Actual Total Time": 373.13, "Actual Rows": 1142217, "Actual Loops": 7, "Output": ["partsupp.ps_suppkey", "partsupp.ps_partkey"], "Filter": "(NOT (hashed SubPlan 1))", "Rows Removed by Filter": 640, "Heap Fetches": 0, "Workers": [{"Worker Number": 0, "Actual Startup Time": 44.66, "Actual Total Time": 400.274, "Actual Rows": 1234204, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 44.778, "Actual Total Time": 399.525, "Actual Rows": 1231652, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 44.845, "Actual Total Time": 403.411, "Actual Rows": 1229085, "Actual Loops": 1}, {"Worker Number": 3, "Actual Startup Time": 44.957, "Actual Total Time": 396.397, "Actual Rows": 1220628, "Actual Loops": 1}, {"Worker Number": 4, "Actual Startup Time": 44.961, "Actual Total Time": 403.274, "Actual Rows": 1227948, "Actual Loops": 1}, {"Worker Number": 5, "Actual Startup Time": 45.371, "Actual Total Time": 401.419, "Actual Rows": 1233796, "Actual Loops": 1}], "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "SubPlan", "Subplan Name": "SubPlan 1", "Parallel Aware": false, "Relation Name": "supplier", "Schema": "public", "Alias": "supplier", "Startup Cost": 0.0, "Total Cost": 3466.0, "Plan Rows": 10, "Plan Width": 4, "Actual Startup Time": 0.203, "Actual Total Time": 43.397, "Actual Rows": 56, "Actual Loops": 7, "Output": ["supplier.s_suppkey"], "Filter": "((supplier.s_comment)::text ~~ '%Customer%Complaints%'::text)", "Rows Removed by Filter": 99944, "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.206, "Actual Total Time": 44.577, "Actual Rows": 56, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 0.205, "Actual Total Time": 44.697, "Actual Rows": 56, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 0.206, "Actual Total Time": 44.768, "Actual Rows": 56, "Actual Loops": 1}, {"Worker Number": 3, "Actual Startup Time": 0.209, "Actual Total Time": 44.818, "Actual Rows": 56, "Actual Loops": 1}, {"Worker Number": 4, "Actual Startup Time": 0.215, "Actual Total Time": 44.871, "Actual Rows": 56, "Actual Loops": 1}, {"Worker Number": 5, "Actual Startup Time": 0.24, "Actual Total Time": 45.284, "Actual Rows": 56, "Actual Loops": 1}]}]}, {"Node Type": "Hash", "Parent Relationship": "Inner", "Parallel Aware": false, "Startup Cost": 90962.0, "Total Cost": 90962.0, "Plan Rows": 297764, "Plan Width": 40, "Actual Startup Time": 761.587, "Actual Total Time": 761.588, "Actual Rows": 297793, "Actual Loops": 7, "Output": ["part.p_brand", "part.p_type", "part.p_size", "part.p_partkey"], "Hash Buckets": 524288, "Original Hash Buckets": 524288, "Hash Batches": 2, "Original Hash Batches": 2, "Peak Memory Usage": 14861, "Workers": [{"Worker Number": 0, "Actual Startup Time": 769.41, "Actual Total Time": 769.411, "Actual Rows": 297793, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 769.394, "Actual Total Time": 769.394, "Actual Rows": 297793, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 769.411, "Actual Total Time": 769.411, "Actual Rows": 297793, "Actual Loops": 1}, {"Worker Number": 3, "Actual Startup Time": 769.405, "Actual Total Time": 769.405, "Actual Rows": 297793, "Actual Loops": 1}, {"Worker Number": 4, "Actual Startup Time": 769.413, "Actual Total Time": 769.414, "Actual Rows": 297793, "Actual Loops": 1}, {"Worker Number": 5, "Actual Startup Time": 769.415, "Actual Total Time": 769.416, "Actual Rows": 297793, "Actual Loops": 1}], "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Relation Name": "part", "Schema": "public", "Alias": "part", "Startup Cost": 0.0, "Total Cost": 90962.0, "Plan Rows": 297764, "Plan Width": 40, "Actual Startup Time": 0.036, "Actual Total Time": 674.158, "Actual Rows": 297793, "Actual Loops": 7, "Output": ["part.p_brand", "part.p_type", "part.p_size", "part.p_partkey"], "Filter": "((part.p_brand <> 'Brand#11'::bpchar) AND ((part.p_type)::text !~~ 'ECONOMY ANODIZED%'::text) AND (part.p_size = ANY ('{42,16,39,18,23,32,44,41}'::integer[])))", "Rows Removed by Filter": 1702207, "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.036, "Actual Total Time": 680.434, "Actual Rows": 297793, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 0.031, "Actual Total Time": 679.454, "Actual Rows": 297793, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 0.041, "Actual Total Time": 679.688, "Actual Rows": 297793, "Actual Loops": 1}, {"Worker Number": 3, "Actual Startup Time": 0.041, "Actual Total Time": 678.647, "Actual Rows": 297793, "Actual Loops": 1}, {"Worker Number": 4, "Actual Startup Time": 0.049, "Actual Total Time": 679.361, "Actual Rows": 297793, "Actual Loops": 1}, {"Worker Number": 5, "Actual Startup Time": 0.046, "Actual Total Time": 679.162, "Actual Rows": 297793, "Actual Loops": 1}]}]}]}]}]}]}]}, "Planning Time": 0.691, "Triggers": [], "Execution Time": 6679.971} diff --git a/dev9/pg10/tpch/sf_10/explain_analyze/15721/17-1.ok b/dev9/pg10/tpch/sf_10/explain_analyze/15721/17-1.ok new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/dev9/pg10/tpch/sf_10/explain_analyze/15721/17-1.res b/dev9/pg10/tpch/sf_10/explain_analyze/15721/17-1.res new file mode 100644 index 0000000000000000000000000000000000000000..e57486807210cfdf51e4ca1a0fa39d02df3d91f2 --- /dev/null +++ b/dev9/pg10/tpch/sf_10/explain_analyze/15721/17-1.res @@ -0,0 +1 @@ +{"Plan": {"Node Type": "Aggregate", "Strategy": "Plain", "Partial Mode": "Simple", "Parallel Aware": false, "Startup Cost": 1931999.01, "Total Cost": 1931999.02, "Plan Rows": 1, "Plan Width": 32, "Actual Startup Time": 18066.009, "Actual Total Time": 18066.121, "Actual Rows": 1, "Actual Loops": 1, "Output": ["(sum(lineitem.l_extendedprice) / 7.0)"], "Plans": [{"Node Type": "Hash Join", "Parent Relationship": "Outer", "Parallel Aware": false, "Join Type": "Inner", "Startup Cost": 49689.36, "Total Cost": 1931948.49, "Plan Rows": 20206, "Plan Width": 8, "Actual Startup Time": 109.712, "Actual Total Time": 18064.351, "Actual Rows": 5383, "Actual Loops": 1, "Output": ["lineitem.l_extendedprice"], "Inner Unique": true, "Hash Cond": "(lineitem.l_partkey = part.p_partkey)", "Join Filter": "(lineitem.l_quantity < (SubPlan 1))", "Rows Removed by Join Filter": 56148, "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Relation Name": "lineitem", "Schema": "public", "Alias": "lineitem", "Startup Cost": 0.0, "Total Cost": 1724425.56, "Plan Rows": 59988356, "Plan Width": 17, "Actual Startup Time": 0.005, "Actual Total Time": 4849.793, "Actual Rows": 59986052, "Actual Loops": 1, "Output": ["lineitem.l_orderkey", "lineitem.l_partkey", "lineitem.l_suppkey", "lineitem.l_linenumber", "lineitem.l_quantity", "lineitem.l_extendedprice", "lineitem.l_discount", "lineitem.l_tax", "lineitem.l_returnflag", "lineitem.l_linestatus", "lineitem.l_shipdate", "lineitem.l_commitdate", "lineitem.l_receiptdate", "lineitem.l_shipinstruct", "lineitem.l_shipmode", "lineitem.l_comment"]}, {"Node Type": "Hash", "Parent Relationship": "Inner", "Parallel Aware": false, "Startup Cost": 49664.1, "Total Cost": 49664.1, "Plan Rows": 2021, "Plan Width": 4, "Actual Startup Time": 105.546, "Actual Total Time": 105.656, "Actual Rows": 2063, "Actual Loops": 1, "Output": ["part.p_partkey"], "Hash Buckets": 4096, "Original Hash Buckets": 2048, "Hash Batches": 1, "Original Hash Batches": 1, "Peak Memory Usage": 105, "Plans": [{"Node Type": "Gather", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 1000.0, "Total Cost": 49664.1, "Plan Rows": 2021, "Plan Width": 4, "Actual Startup Time": 0.703, "Actual Total Time": 105.313, "Actual Rows": 2063, "Actual Loops": 1, "Output": ["part.p_partkey"], "Workers Planned": 4, "Workers Launched": 4, "Single Copy": false, "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": true, "Relation Name": "part", "Schema": "public", "Alias": "part", "Startup Cost": 0.0, "Total Cost": 48462.0, "Plan Rows": 505, "Plan Width": 4, "Actual Startup Time": 0.456, "Actual Total Time": 102.04, "Actual Rows": 413, "Actual Loops": 5, "Output": ["part.p_partkey"], "Filter": "((part.p_brand = 'Brand#14'::bpchar) AND (part.p_container = 'WRAP BOX'::bpchar))", "Rows Removed by Filter": 399587, "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.712, "Actual Total Time": 101.493, "Actual Rows": 358, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 0.226, "Actual Total Time": 101.518, "Actual Rows": 405, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 0.094, "Actual Total Time": 101.52, "Actual Rows": 376, "Actual Loops": 1}, {"Worker Number": 3, "Actual Startup Time": 0.823, "Actual Total Time": 101.695, "Actual Rows": 410, "Actual Loops": 1}]}]}]}, {"Node Type": "Aggregate", "Strategy": "Plain", "Partial Mode": "Simple", "Parent Relationship": "SubPlan", "Subplan Name": "SubPlan 1", "Parallel Aware": false, "Startup Cost": 36.39, "Total Cost": 36.4, "Plan Rows": 1, "Plan Width": 32, "Actual Startup Time": 0.047, "Actual Total Time": 0.047, "Actual Rows": 1, "Actual Loops": 61531, "Output": ["(0.2 * avg(lineitem_1.l_quantity))"], "Plans": [{"Node Type": "Index Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Scan Direction": "Forward", "Index Name": "l_pk", "Relation Name": "lineitem", "Schema": "public", "Alias": "lineitem_1", "Startup Cost": 0.56, "Total Cost": 36.31, "Plan Rows": 31, "Plan Width": 5, "Actual Startup Time": 0.007, "Actual Total Time": 0.04, "Actual Rows": 31, "Actual Loops": 61531, "Output": ["lineitem_1.l_orderkey", "lineitem_1.l_partkey", "lineitem_1.l_suppkey", "lineitem_1.l_linenumber", "lineitem_1.l_quantity", "lineitem_1.l_extendedprice", "lineitem_1.l_discount", "lineitem_1.l_tax", "lineitem_1.l_returnflag", "lineitem_1.l_linestatus", "lineitem_1.l_shipdate", "lineitem_1.l_commitdate", "lineitem_1.l_receiptdate", "lineitem_1.l_shipinstruct", "lineitem_1.l_shipmode", "lineitem_1.l_comment"], "Index Cond": "(lineitem_1.l_partkey = part.p_partkey)", "Rows Removed by Index Recheck": 0}]}]}]}, "Planning Time": 0.411, "Triggers": [], "Execution Time": 18066.172} diff --git a/dev9/pg10/tpch/sf_10/explain_analyze/15721/18-1.ok b/dev9/pg10/tpch/sf_10/explain_analyze/15721/18-1.ok new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/dev9/pg10/tpch/sf_10/explain_analyze/15721/18-1.res b/dev9/pg10/tpch/sf_10/explain_analyze/15721/18-1.res new file mode 100644 index 0000000000000000000000000000000000000000..222b75c010392cee41e40bff6e79a3229bb0f73e --- /dev/null +++ b/dev9/pg10/tpch/sf_10/explain_analyze/15721/18-1.res @@ -0,0 +1 @@ +{"Plan": {"Node Type": "Limit", "Parallel Aware": false, "Startup Cost": 5129793.72, "Total Cost": 5129793.97, "Plan Rows": 100, "Plan Width": 71, "Actual Startup Time": 39329.204, "Actual Total Time": 39633.597, "Actual Rows": 84, "Actual Loops": 1, "Output": ["customer.c_name", "customer.c_custkey", "orders.o_orderkey", "orders.o_orderdate", "orders.o_totalprice", "(sum(lineitem.l_quantity))"], "Plans": [{"Node Type": "Sort", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 5129793.72, "Total Cost": 5149629.06, "Plan Rows": 7934136, "Plan Width": 71, "Actual Startup Time": 39329.202, "Actual Total Time": 39633.588, "Actual Rows": 84, "Actual Loops": 1, "Output": ["customer.c_name", "customer.c_custkey", "orders.o_orderkey", "orders.o_orderdate", "orders.o_totalprice", "(sum(lineitem.l_quantity))"], "Sort Key": ["orders.o_totalprice DESC", "orders.o_orderdate"], "Sort Method": "quicksort", "Sort Space Used": 31, "Sort Space Type": "Memory", "Plans": [{"Node Type": "Aggregate", "Strategy": "Sorted", "Partial Mode": "Finalize", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 3653996.38, "Total Cost": 4826556.75, "Plan Rows": 7934136, "Plan Width": 71, "Actual Startup Time": 39328.903, "Actual Total Time": 39633.497, "Actual Rows": 84, "Actual Loops": 1, "Output": ["customer.c_name", "customer.c_custkey", "orders.o_orderkey", "orders.o_orderdate", "orders.o_totalprice", "sum(lineitem.l_quantity)"], "Group Key": ["customer.c_custkey", "orders.o_orderkey"], "Plans": [{"Node Type": "Gather Merge", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 3653996.38, "Total Cost": 4648038.69, "Plan Rows": 7934136, "Plan Width": 71, "Actual Startup Time": 39328.853, "Actual Total Time": 39633.376, "Actual Rows": 84, "Actual Loops": 1, "Output": ["customer.c_custkey", "orders.o_orderkey", "customer.c_name", "orders.o_orderdate", "orders.o_totalprice", "(PARTIAL sum(lineitem.l_quantity))"], "Workers Planned": 6, "Workers Launched": 6, "Plans": [{"Node Type": "Aggregate", "Strategy": "Sorted", "Partial Mode": "Partial", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 3652996.28, "Total Cost": 3682749.29, "Plan Rows": 1322356, "Plan Width": 71, "Actual Startup Time": 38577.282, "Actual Total Time": 38577.345, "Actual Rows": 12, "Actual Loops": 7, "Output": ["customer.c_custkey", "orders.o_orderkey", "customer.c_name", "orders.o_orderdate", "orders.o_totalprice", "PARTIAL sum(lineitem.l_quantity)"], "Group Key": ["customer.c_custkey", "orders.o_orderkey"], "Workers": [{"Worker Number": 0, "Actual Startup Time": 39323.564, "Actual Total Time": 39323.664, "Actual Rows": 0, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 39323.412, "Actual Total Time": 39323.429, "Actual Rows": 0, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 39323.443, "Actual Total Time": 39323.46, "Actual Rows": 0, "Actual Loops": 1}, {"Worker Number": 3, "Actual Startup Time": 39323.309, "Actual Total Time": 39323.326, "Actual Rows": 0, "Actual Loops": 1}, {"Worker Number": 4, "Actual Startup Time": 37387.136, "Actual Total Time": 37387.201, "Actual Rows": 23, "Actual Loops": 1}, {"Worker Number": 5, "Actual Startup Time": 37391.99, "Actual Total Time": 37392.047, "Actual Rows": 20, "Actual Loops": 1}], "Plans": [{"Node Type": "Sort", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 3652996.28, "Total Cost": 3656302.17, "Plan Rows": 1322356, "Plan Width": 44, "Actual Startup Time": 38577.264, "Actual Total Time": 38577.3, "Actual Rows": 84, "Actual Loops": 7, "Output": ["customer.c_custkey", "orders.o_orderkey", "customer.c_name", "orders.o_orderdate", "orders.o_totalprice", "lineitem.l_quantity"], "Sort Key": ["customer.c_custkey", "orders.o_orderkey"], "Sort Method": "quicksort", "Sort Space Used": 47, "Sort Space Type": "Memory", "Workers": [{"Worker Number": 0, "Actual Startup Time": 39323.558, "Actual Total Time": 39323.658, "Actual Rows": 0, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 39323.407, "Actual Total Time": 39323.423, "Actual Rows": 0, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 39323.437, "Actual Total Time": 39323.453, "Actual Rows": 0, "Actual Loops": 1}, {"Worker Number": 3, "Actual Startup Time": 39323.302, "Actual Total Time": 39323.32, "Actual Rows": 0, "Actual Loops": 1}, {"Worker Number": 4, "Actual Startup Time": 37387.105, "Actual Total Time": 37387.118, "Actual Rows": 161, "Actual Loops": 1}, {"Worker Number": 5, "Actual Startup Time": 37391.955, "Actual Total Time": 37391.967, "Actual Rows": 140, "Actual Loops": 1}], "Plans": [{"Node Type": "Nested Loop", "Parent Relationship": "Outer", "Parallel Aware": false, "Join Type": "Inner", "Startup Cost": 2660793.64, "Total Cost": 3494720.7, "Plan Rows": 1322356, "Plan Width": 44, "Actual Startup Time": 38232.1, "Actual Total Time": 38577.221, "Actual Rows": 84, "Actual Loops": 7, "Output": ["customer.c_custkey", "orders.o_orderkey", "customer.c_name", "orders.o_orderdate", "orders.o_totalprice", "lineitem.l_quantity"], "Inner Unique": false, "Workers": [{"Worker Number": 0, "Actual Startup Time": 39323.527, "Actual Total Time": 39323.627, "Actual Rows": 0, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 39323.377, "Actual Total Time": 39323.393, "Actual Rows": 0, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 39323.406, "Actual Total Time": 39323.423, "Actual Rows": 0, "Actual Loops": 1}, {"Worker Number": 3, "Actual Startup Time": 39323.271, "Actual Total Time": 39323.288, "Actual Rows": 0, "Actual Loops": 1}, {"Worker Number": 4, "Actual Startup Time": 35938.38, "Actual Total Time": 37386.987, "Actual Rows": 161, "Actual Loops": 1}, {"Worker Number": 5, "Actual Startup Time": 37088.459, "Actual Total Time": 37391.856, "Actual Rows": 140, "Actual Loops": 1}], "Plans": [{"Node Type": "Hash Join", "Parent Relationship": "Outer", "Parallel Aware": false, "Join Type": "Inner", "Startup Cost": 2660793.07, "Total Cost": 3003850.05, "Plan Rows": 330658, "Plan Width": 43, "Actual Startup Time": 38232.056, "Actual Total Time": 38576.977, "Actual Rows": 12, "Actual Loops": 7, "Output": ["customer.c_name", "customer.c_custkey", "orders.o_orderkey", "orders.o_orderdate", "orders.o_totalprice", "lineitem_1.l_orderkey"], "Inner Unique": true, "Hash Cond": "(orders.o_custkey = customer.c_custkey)", "Workers": [{"Worker Number": 0, "Actual Startup Time": 39323.521, "Actual Total Time": 39323.616, "Actual Rows": 0, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 39323.372, "Actual Total Time": 39323.384, "Actual Rows": 0, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 39323.401, "Actual Total Time": 39323.412, "Actual Rows": 0, "Actual Loops": 1}, {"Worker Number": 3, "Actual Startup Time": 39323.265, "Actual Total Time": 39323.277, "Actual Rows": 0, "Actual Loops": 1}, {"Worker Number": 4, "Actual Startup Time": 35938.309, "Actual Total Time": 37386.492, "Actual Rows": 23, "Actual Loops": 1}, {"Worker Number": 5, "Actual Startup Time": 37088.391, "Actual Total Time": 37391.423, "Actual Rows": 20, "Actual Loops": 1}], "Plans": [{"Node Type": "Hash Join", "Parent Relationship": "Outer", "Parallel Aware": false, "Join Type": "Inner", "Startup Cost": 2582426.07, "Total Cost": 2911949.08, "Plan Rows": 330658, "Plan Width": 24, "Actual Startup Time": 36864.05, "Actual Total Time": 37796.757, "Actual Rows": 12, "Actual Loops": 7, "Output": ["orders.o_orderkey", "orders.o_orderdate", "orders.o_totalprice", "orders.o_custkey", "lineitem_1.l_orderkey"], "Inner Unique": true, "Hash Cond": "(orders.o_orderkey = lineitem_1.l_orderkey)", "Workers": [{"Worker Number": 0, "Actual Startup Time": 38598.965, "Actual Total Time": 38599.053, "Actual Rows": 0, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 38598.897, "Actual Total Time": 38598.903, "Actual Rows": 0, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 38598.785, "Actual Total Time": 38598.791, "Actual Rows": 0, "Actual Loops": 1}, {"Worker Number": 3, "Actual Startup Time": 38598.635, "Actual Total Time": 38598.642, "Actual Rows": 0, "Actual Loops": 1}, {"Worker Number": 4, "Actual Startup Time": 35226.734, "Actual Total Time": 36523.5, "Actual Rows": 23, "Actual Loops": 1}, {"Worker Number": 5, "Actual Startup Time": 35381.9, "Actual Total Time": 36522.937, "Actual Rows": 20, "Actual Loops": 1}], "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": true, "Relation Name": "orders", "Schema": "public", "Alias": "orders", "Startup Cost": 0.0, "Total Cost": 285912.4, "Plan Rows": 2500040, "Plan Width": 20, "Actual Startup Time": 0.018, "Actual Total Time": 525.095, "Actual Rows": 2142857, "Actual Loops": 7, "Output": ["orders.o_orderkey", "orders.o_orderdate", "orders.o_totalprice", "orders.o_custkey"], "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.024, "Actual Total Time": 0.064, "Actual Rows": 56, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 0.021, "Actual Total Time": 0.065, "Actual Rows": 59, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 0.021, "Actual Total Time": 0.062, "Actual Rows": 59, "Actual Loops": 1}, {"Worker Number": 3, "Actual Startup Time": 0.022, "Actual Total Time": 0.062, "Actual Rows": 57, "Actual Loops": 1}, {"Worker Number": 4, "Actual Startup Time": 0.013, "Actual Total Time": 907.744, "Actual Rows": 3584392, "Actual Loops": 1}, {"Worker Number": 5, "Actual Startup Time": 0.021, "Actual Total Time": 908.277, "Actual Rows": 3581849, "Actual Loops": 1}]}, {"Node Type": "Hash", "Parent Relationship": "Inner", "Parallel Aware": false, "Startup Cost": 2549876.68, "Total Cost": 2549876.68, "Plan Rows": 1983951, "Plan Width": 4, "Actual Startup Time": 36586.077, "Actual Total Time": 36586.085, "Actual Rows": 84, "Actual Loops": 7, "Output": ["lineitem_1.l_orderkey"], "Hash Buckets": 524288, "Original Hash Buckets": 524288, "Hash Batches": 8, "Original Hash Batches": 8, "Peak Memory Usage": 4097, "Workers": [{"Worker Number": 0, "Actual Startup Time": 38589.146, "Actual Total Time": 38589.147, "Actual Rows": 84, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 38589.165, "Actual Total Time": 38589.166, "Actual Rows": 84, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 38589.325, "Actual Total Time": 38589.326, "Actual Rows": 84, "Actual Loops": 1}, {"Worker Number": 3, "Actual Startup Time": 38589.322, "Actual Total Time": 38589.323, "Actual Rows": 84, "Actual Loops": 1}, {"Worker Number": 4, "Actual Startup Time": 34514.012, "Actual Total Time": 34514.013, "Actual Rows": 84, "Actual Loops": 1}, {"Worker Number": 5, "Actual Startup Time": 34514.031, "Actual Total Time": 34514.032, "Actual Rows": 84, "Actual Loops": 1}], "Plans": [{"Node Type": "Aggregate", "Strategy": "Sorted", "Partial Mode": "Simple", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 0.56, "Total Cost": 2530037.17, "Plan Rows": 1983951, "Plan Width": 4, "Actual Startup Time": 806.341, "Actual Total Time": 36585.387, "Actual Rows": 84, "Actual Loops": 7, "Output": ["lineitem_1.l_orderkey"], "Group Key": ["lineitem_1.l_orderkey"], "Filter": "(sum(lineitem_1.l_quantity) > '314'::numeric)", "Rows Removed by Filter": 14999916, "Workers": [{"Worker Number": 0, "Actual Startup Time": 826.974, "Actual Total Time": 38588.51, "Actual Rows": 84, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 826.905, "Actual Total Time": 38588.507, "Actual Rows": 84, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 826.991, "Actual Total Time": 38588.668, "Actual Rows": 84, "Actual Loops": 1}, {"Worker Number": 3, "Actual Startup Time": 827.234, "Actual Total Time": 38588.617, "Actual Rows": 84, "Actual Loops": 1}, {"Worker Number": 4, "Actual Startup Time": 827.202, "Actual Total Time": 34513.328, "Actual Rows": 84, "Actual Loops": 1}, {"Worker Number": 5, "Actual Startup Time": 827.238, "Actual Total Time": 34513.426, "Actual Rows": 84, "Actual Loops": 1}], "Plans": [{"Node Type": "Index Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Scan Direction": "Forward", "Index Name": "l_ok", "Relation Name": "lineitem", "Schema": "public", "Alias": "lineitem_1", "Startup Cost": 0.56, "Total Cost": 2205296.01, "Plan Rows": 59988356, "Plan Width": 9, "Actual Startup Time": 0.024, "Actual Total Time": 17846.628, "Actual Rows": 59986052, "Actual Loops": 7, "Output": ["lineitem_1.l_orderkey", "lineitem_1.l_partkey", "lineitem_1.l_suppkey", "lineitem_1.l_linenumber", "lineitem_1.l_quantity", "lineitem_1.l_extendedprice", "lineitem_1.l_discount", "lineitem_1.l_tax", "lineitem_1.l_returnflag", "lineitem_1.l_linestatus", "lineitem_1.l_shipdate", "lineitem_1.l_commitdate", "lineitem_1.l_receiptdate", "lineitem_1.l_shipinstruct", "lineitem_1.l_shipmode", "lineitem_1.l_comment"], "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.018, "Actual Total Time": 20035.649, "Actual Rows": 59986052, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 0.032, "Actual Total Time": 19832.875, "Actual Rows": 59986052, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 0.024, "Actual Total Time": 19943.378, "Actual Rows": 59986052, "Actual Loops": 1}, {"Worker Number": 3, "Actual Startup Time": 0.028, "Actual Total Time": 19971.542, "Actual Rows": 59986052, "Actual Loops": 1}, {"Worker Number": 4, "Actual Startup Time": 0.018, "Actual Total Time": 15653.26, "Actual Rows": 59986052, "Actual Loops": 1}, {"Worker Number": 5, "Actual Startup Time": 0.03, "Actual Total Time": 15690.523, "Actual Rows": 59986052, "Actual Loops": 1}]}]}]}]}, {"Node Type": "Hash", "Parent Relationship": "Inner", "Parallel Aware": false, "Startup Cost": 50827.0, "Total Cost": 50827.0, "Plan Rows": 1500000, "Plan Width": 23, "Actual Startup Time": 697.908, "Actual Total Time": 697.909, "Actual Rows": 1500000, "Actual Loops": 7, "Output": ["customer.c_name", "customer.c_custkey"], "Hash Buckets": 524288, "Original Hash Buckets": 524288, "Hash Batches": 8, "Original Hash Batches": 8, "Peak Memory Usage": 14408, "Workers": [{"Worker Number": 0, "Actual Startup Time": 708.311, "Actual Total Time": 708.311, "Actual Rows": 1500000, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 708.375, "Actual Total Time": 708.376, "Actual Rows": 1500000, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 708.601, "Actual Total Time": 708.602, "Actual Rows": 1500000, "Actual Loops": 1}, {"Worker Number": 3, "Actual Startup Time": 708.642, "Actual Total Time": 708.642, "Actual Rows": 1500000, "Actual Loops": 1}, {"Worker Number": 4, "Actual Startup Time": 708.647, "Actual Total Time": 708.648, "Actual Rows": 1500000, "Actual Loops": 1}, {"Worker Number": 5, "Actual Startup Time": 708.963, "Actual Total Time": 708.963, "Actual Rows": 1500000, "Actual Loops": 1}], "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Relation Name": "customer", "Schema": "public", "Alias": "customer", "Startup Cost": 0.0, "Total Cost": 50827.0, "Plan Rows": 1500000, "Plan Width": 23, "Actual Startup Time": 0.016, "Actual Total Time": 356.202, "Actual Rows": 1500000, "Actual Loops": 7, "Output": ["customer.c_name", "customer.c_custkey"], "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.017, "Actual Total Time": 363.925, "Actual Rows": 1500000, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 0.017, "Actual Total Time": 364.681, "Actual Rows": 1500000, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 0.016, "Actual Total Time": 363.58, "Actual Rows": 1500000, "Actual Loops": 1}, {"Worker Number": 3, "Actual Startup Time": 0.02, "Actual Total Time": 361.522, "Actual Rows": 1500000, "Actual Loops": 1}, {"Worker Number": 4, "Actual Startup Time": 0.017, "Actual Total Time": 361.491, "Actual Rows": 1500000, "Actual Loops": 1}, {"Worker Number": 5, "Actual Startup Time": 0.022, "Actual Total Time": 364.455, "Actual Rows": 1500000, "Actual Loops": 1}]}]}]}, {"Node Type": "Index Scan", "Parent Relationship": "Inner", "Parallel Aware": false, "Scan Direction": "Forward", "Index Name": "l_ok", "Relation Name": "lineitem", "Schema": "public", "Alias": "lineitem", "Startup Cost": 0.56, "Total Cost": 1.18, "Plan Rows": 30, "Plan Width": 9, "Actual Startup Time": 0.013, "Actual Total Time": 0.016, "Actual Rows": 7, "Actual Loops": 84, "Output": ["lineitem.l_orderkey", "lineitem.l_partkey", "lineitem.l_suppkey", "lineitem.l_linenumber", "lineitem.l_quantity", "lineitem.l_extendedprice", "lineitem.l_discount", "lineitem.l_tax", "lineitem.l_returnflag", "lineitem.l_linestatus", "lineitem.l_shipdate", "lineitem.l_commitdate", "lineitem.l_receiptdate", "lineitem.l_shipinstruct", "lineitem.l_shipmode", "lineitem.l_comment"], "Index Cond": "(lineitem.l_orderkey = orders.o_orderkey)", "Rows Removed by Index Recheck": 0, "Workers": [{"Worker Number": 4, "Actual Startup Time": 0.014, "Actual Total Time": 0.017, "Actual Rows": 7, "Actual Loops": 23}, {"Worker Number": 5, "Actual Startup Time": 0.014, "Actual Total Time": 0.017, "Actual Rows": 7, "Actual Loops": 20}]}]}]}]}]}]}]}]}, "Planning Time": 1.141, "Triggers": [], "Execution Time": 39633.844} diff --git a/dev9/pg10/tpch/sf_10/explain_analyze/15721/19-1.ok b/dev9/pg10/tpch/sf_10/explain_analyze/15721/19-1.ok new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/dev9/pg10/tpch/sf_10/explain_analyze/15721/19-1.res b/dev9/pg10/tpch/sf_10/explain_analyze/15721/19-1.res new file mode 100644 index 0000000000000000000000000000000000000000..880e06773cf35a36e3330bf15c555dfe63a3d699 --- /dev/null +++ b/dev9/pg10/tpch/sf_10/explain_analyze/15721/19-1.res @@ -0,0 +1 @@ +{"Plan": {"Node Type": "Aggregate", "Strategy": "Plain", "Partial Mode": "Finalize", "Parallel Aware": false, "Startup Cost": 106995.9, "Total Cost": 106995.91, "Plan Rows": 1, "Plan Width": 32, "Actual Startup Time": 275.35, "Actual Total Time": 348.965, "Actual Rows": 1, "Actual Loops": 1, "Output": ["sum((lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount)))"], "Plans": [{"Node Type": "Gather", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 106995.47, "Total Cost": 106995.88, "Plan Rows": 4, "Plan Width": 32, "Actual Startup Time": 275.242, "Actual Total Time": 348.946, "Actual Rows": 5, "Actual Loops": 1, "Output": ["(PARTIAL sum((lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount))))"], "Workers Planned": 4, "Workers Launched": 4, "Single Copy": false, "Plans": [{"Node Type": "Aggregate", "Strategy": "Plain", "Partial Mode": "Partial", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 105995.47, "Total Cost": 105995.48, "Plan Rows": 1, "Plan Width": 32, "Actual Startup Time": 271.113, "Actual Total Time": 271.115, "Actual Rows": 1, "Actual Loops": 5, "Output": ["PARTIAL sum((lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount)))"], "Workers": [{"Worker Number": 0, "Actual Startup Time": 270.254, "Actual Total Time": 270.255, "Actual Rows": 1, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 270.246, "Actual Total Time": 270.248, "Actual Rows": 1, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 270.245, "Actual Total Time": 270.246, "Actual Rows": 1, "Actual Loops": 1}, {"Worker Number": 3, "Actual Startup Time": 270.242, "Actual Total Time": 270.243, "Actual Rows": 1, "Actual Loops": 1}], "Plans": [{"Node Type": "Nested Loop", "Parent Relationship": "Outer", "Parallel Aware": false, "Join Type": "Inner", "Startup Cost": 0.56, "Total Cost": 105993.32, "Plan Rows": 286, "Plan Width": 12, "Actual Startup Time": 2.769, "Actual Total Time": 270.934, "Actual Rows": 229, "Actual Loops": 5, "Output": ["lineitem.l_extendedprice", "lineitem.l_discount"], "Inner Unique": false, "Workers": [{"Worker Number": 0, "Actual Startup Time": 1.132, "Actual Total Time": 270.104, "Actual Rows": 186, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 2.777, "Actual Total Time": 270.074, "Actual Rows": 207, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 3.357, "Actual Total Time": 270.085, "Actual Rows": 193, "Actual Loops": 1}, {"Worker Number": 3, "Actual Startup Time": 6.366, "Actual Total Time": 270.083, "Actual Rows": 179, "Actual Loops": 1}], "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": true, "Relation Name": "part", "Schema": "public", "Alias": "part", "Startup Cost": 0.0, "Total Cost": 62212.0, "Plan Rows": 1210, "Plan Width": 30, "Actual Startup Time": 0.377, "Actual Total Time": 135.659, "Actual Rows": 942, "Actual Loops": 5, "Output": ["part.p_partkey", "part.p_name", "part.p_mfgr", "part.p_brand", "part.p_type", "part.p_size", "part.p_container", "part.p_retailprice", "part.p_comment"], "Filter": "((part.p_size >= 1) AND (((part.p_brand = 'Brand#52'::bpchar) AND (part.p_container = ANY ('{\"SM CASE\",\"SM BOX\",\"SM PACK\",\"SM PKG\"}'::bpchar[])) AND (part.p_size <= 5)) OR ((part.p_brand = 'Brand#42'::bpchar) AND (part.p_container = ANY ('{\"MED BAG\",\"MED BOX\",\"MED PKG\",\"MED PACK\"}'::bpchar[])) AND (part.p_size <= 10)) OR ((part.p_brand = 'Brand#23'::bpchar) AND (part.p_container = ANY ('{\"LG CASE\",\"LG BOX\",\"LG PACK\",\"LG PKG\"}'::bpchar[])) AND (part.p_size <= 15))))", "Rows Removed by Filter": 399058, "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.37, "Actual Total Time": 122.009, "Actual Rows": 803, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 0.858, "Actual Total Time": 124.921, "Actual Rows": 777, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 0.074, "Actual Total Time": 121.682, "Actual Rows": 790, "Actual Loops": 1}, {"Worker Number": 3, "Actual Startup Time": 0.55, "Actual Total Time": 122.822, "Actual Rows": 764, "Actual Loops": 1}]}, {"Node Type": "Index Scan", "Parent Relationship": "Inner", "Parallel Aware": false, "Scan Direction": "Forward", "Index Name": "l_pk", "Relation Name": "lineitem", "Schema": "public", "Alias": "lineitem", "Startup Cost": 0.56, "Total Cost": 36.17, "Plan Rows": 1, "Plan Width": 21, "Actual Startup Time": 0.129, "Actual Total Time": 0.143, "Actual Rows": 0, "Actual Loops": 4710, "Output": ["lineitem.l_orderkey", "lineitem.l_partkey", "lineitem.l_suppkey", "lineitem.l_linenumber", "lineitem.l_quantity", "lineitem.l_extendedprice", "lineitem.l_discount", "lineitem.l_tax", "lineitem.l_returnflag", "lineitem.l_linestatus", "lineitem.l_shipdate", "lineitem.l_commitdate", "lineitem.l_receiptdate", "lineitem.l_shipinstruct", "lineitem.l_shipmode", "lineitem.l_comment"], "Index Cond": "(lineitem.l_partkey = part.p_partkey)", "Rows Removed by Index Recheck": 0, "Filter": "((lineitem.l_shipmode = ANY ('{AIR,\"AIR REG\"}'::bpchar[])) AND (lineitem.l_shipinstruct = 'DELIVER IN PERSON'::bpchar) AND (((lineitem.l_quantity >= '9'::numeric) AND (lineitem.l_quantity <= '19'::numeric)) OR ((lineitem.l_quantity >= '18'::numeric) AND (lineitem.l_quantity <= '28'::numeric)) OR ((lineitem.l_quantity >= '22'::numeric) AND (lineitem.l_quantity <= '32'::numeric))) AND (((part.p_brand = 'Brand#52'::bpchar) AND (part.p_container = ANY ('{\"SM CASE\",\"SM BOX\",\"SM PACK\",\"SM PKG\"}'::bpchar[])) AND (lineitem.l_quantity >= '9'::numeric) AND (lineitem.l_quantity <= '19'::numeric) AND (part.p_size <= 5)) OR ((part.p_brand = 'Brand#42'::bpchar) AND (part.p_container = ANY ('{\"MED BAG\",\"MED BOX\",\"MED PKG\",\"MED PACK\"}'::bpchar[])) AND (lineitem.l_quantity >= '18'::numeric) AND (lineitem.l_quantity <= '28'::numeric) AND (part.p_size <= 10)) OR ((part.p_brand = 'Brand#23'::bpchar) AND (part.p_container = ANY ('{\"LG CASE\",\"LG BOX\",\"LG PACK\",\"LG PKG\"}'::bpchar[])) AND (lineitem.l_quantity >= '22'::numeric) AND (lineitem.l_quantity <= '32'::numeric) AND (part.p_size <= 15))))", "Rows Removed by Filter": 30, "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.166, "Actual Total Time": 0.184, "Actual Rows": 0, "Actual Loops": 803}, {"Worker Number": 1, "Actual Startup Time": 0.167, "Actual Total Time": 0.186, "Actual Rows": 0, "Actual Loops": 777}, {"Worker Number": 2, "Actual Startup Time": 0.168, "Actual Total Time": 0.187, "Actual Rows": 0, "Actual Loops": 790}, {"Worker Number": 3, "Actual Startup Time": 0.174, "Actual Total Time": 0.192, "Actual Rows": 0, "Actual Loops": 764}]}]}]}]}]}, "Planning Time": 0.74, "Triggers": [], "Execution Time": 349.038} diff --git a/dev9/pg10/tpch/sf_10/explain_analyze/15721/2-1.ok b/dev9/pg10/tpch/sf_10/explain_analyze/15721/2-1.ok new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/dev9/pg10/tpch/sf_10/explain_analyze/15721/2-1.res b/dev9/pg10/tpch/sf_10/explain_analyze/15721/2-1.res new file mode 100644 index 0000000000000000000000000000000000000000..b86ceac48e2c58baa028ee906c0ad495ed26bfe5 --- /dev/null +++ b/dev9/pg10/tpch/sf_10/explain_analyze/15721/2-1.res @@ -0,0 +1 @@ +{"Plan": {"Node Type": "Limit", "Parallel Aware": false, "Startup Cost": 531085.27, "Total Cost": 531085.28, "Plan Rows": 1, "Plan Width": 192, "Actual Startup Time": 4425.122, "Actual Total Time": 4425.265, "Actual Rows": 100, "Actual Loops": 1, "Output": ["supplier.s_acctbal", "supplier.s_name", "nation.n_name", "part.p_partkey", "part.p_mfgr", "supplier.s_address", "supplier.s_phone", "supplier.s_comment"], "Plans": [{"Node Type": "Sort", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 531085.27, "Total Cost": 531085.28, "Plan Rows": 1, "Plan Width": 192, "Actual Startup Time": 4425.12, "Actual Total Time": 4425.255, "Actual Rows": 100, "Actual Loops": 1, "Output": ["supplier.s_acctbal", "supplier.s_name", "nation.n_name", "part.p_partkey", "part.p_mfgr", "supplier.s_address", "supplier.s_phone", "supplier.s_comment"], "Sort Key": ["supplier.s_acctbal DESC", "nation.n_name", "supplier.s_name", "part.p_partkey"], "Sort Method": "top-N heapsort", "Sort Space Used": 74, "Sort Space Type": "Memory", "Plans": [{"Node Type": "Merge Join", "Parent Relationship": "Outer", "Parallel Aware": false, "Join Type": "Inner", "Startup Cost": 342880.26, "Total Cost": 531085.26, "Plan Rows": 1, "Plan Width": 192, "Actual Startup Time": 3375.146, "Actual Total Time": 4422.765, "Actual Rows": 4732, "Actual Loops": 1, "Output": ["supplier.s_acctbal", "supplier.s_name", "nation.n_name", "part.p_partkey", "part.p_mfgr", "supplier.s_address", "supplier.s_phone", "supplier.s_comment"], "Inner Unique": false, "Merge Cond": "(part.p_partkey = partsupp.ps_partkey)", "Join Filter": "(partsupp.ps_supplycost = (SubPlan 1))", "Rows Removed by Join Filter": 1668, "Plans": [{"Node Type": "Gather Merge", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 1000.49, "Total Cost": 66457.0, "Plan Rows": 8049, "Plan Width": 30, "Actual Startup Time": 5.063, "Actual Total Time": 10.232, "Actual Rows": 8075, "Actual Loops": 1, "Output": ["part.p_partkey", "part.p_mfgr"], "Workers Planned": 4, "Workers Launched": 4, "Plans": [{"Node Type": "Index Scan", "Parent Relationship": "Outer", "Parallel Aware": true, "Scan Direction": "Forward", "Index Name": "p_pk", "Relation Name": "part", "Schema": "public", "Alias": "part", "Startup Cost": 0.43, "Total Cost": 64498.23, "Plan Rows": 2012, "Plan Width": 30, "Actual Startup Time": 0.308, "Actual Total Time": 161.39, "Actual Rows": 1615, "Actual Loops": 5, "Output": ["part.p_partkey", "part.p_mfgr"], "Filter": "(((part.p_type)::text ~~ '%TIN'::text) AND (part.p_size = 44))", "Rows Removed by Filter": 398385, "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.24, "Actual Total Time": 201.564, "Actual Rows": 2025, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 0.136, "Actual Total Time": 201.537, "Actual Rows": 2058, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 0.359, "Actual Total Time": 197.277, "Actual Rows": 1970, "Actual Loops": 1}, {"Worker Number": 3, "Actual Startup Time": 0.769, "Actual Total Time": 206.248, "Actual Rows": 2016, "Actual Loops": 1}]}]}, {"Node Type": "Materialize", "Parent Relationship": "Inner", "Parallel Aware": false, "Startup Cost": 341879.78, "Total Cost": 349879.7, "Plan Rows": 1599984, "Plan Width": 172, "Actual Startup Time": 3369.792, "Actual Total Time": 3996.837, "Actual Rows": 1602626, "Actual Loops": 1, "Output": ["supplier.s_acctbal", "supplier.s_name", "supplier.s_address", "supplier.s_phone", "supplier.s_comment", "partsupp.ps_partkey", "partsupp.ps_supplycost", "nation.n_name"], "Plans": [{"Node Type": "Sort", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 341879.78, "Total Cost": 345879.74, "Plan Rows": 1599984, "Plan Width": 172, "Actual Startup Time": 3369.787, "Actual Total Time": 3821.498, "Actual Rows": 1602626, "Actual Loops": 1, "Output": ["supplier.s_acctbal", "supplier.s_name", "supplier.s_address", "supplier.s_phone", "supplier.s_comment", "partsupp.ps_partkey", "partsupp.ps_supplycost", "nation.n_name"], "Sort Key": ["partsupp.ps_partkey"], "Sort Method": "external merge", "Sort Space Used": 293056, "Sort Space Type": "Disk", "Plans": [{"Node Type": "Nested Loop", "Parent Relationship": "Outer", "Parallel Aware": false, "Join Type": "Inner", "Startup Cost": 0.72, "Total Cost": 96925.27, "Plan Rows": 1599984, "Plan Width": 172, "Actual Startup Time": 0.055, "Actual Total Time": 2043.12, "Actual Rows": 1602640, "Actual Loops": 1, "Output": ["supplier.s_acctbal", "supplier.s_name", "supplier.s_address", "supplier.s_phone", "supplier.s_comment", "partsupp.ps_partkey", "partsupp.ps_supplycost", "nation.n_name"], "Inner Unique": false, "Plans": [{"Node Type": "Nested Loop", "Parent Relationship": "Outer", "Parallel Aware": false, "Join Type": "Inner", "Startup Cost": 0.29, "Total Cost": 1084.23, "Plan Rows": 20000, "Plan Width": 166, "Actual Startup Time": 0.035, "Actual Total Time": 23.697, "Actual Rows": 20033, "Actual Loops": 1, "Output": ["supplier.s_acctbal", "supplier.s_name", "supplier.s_address", "supplier.s_phone", "supplier.s_comment", "supplier.s_suppkey", "nation.n_name"], "Inner Unique": false, "Plans": [{"Node Type": "Nested Loop", "Parent Relationship": "Outer", "Parallel Aware": false, "Join Type": "Inner", "Startup Cost": 0.0, "Total Cost": 2.62, "Plan Rows": 5, "Plan Width": 30, "Actual Startup Time": 0.012, "Actual Total Time": 0.033, "Actual Rows": 5, "Actual Loops": 1, "Output": ["nation.n_name", "nation.n_nationkey"], "Inner Unique": false, "Join Filter": "(nation.n_regionkey = region.r_regionkey)", "Rows Removed by Join Filter": 20, "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Relation Name": "region", "Schema": "public", "Alias": "region", "Startup Cost": 0.0, "Total Cost": 1.06, "Plan Rows": 1, "Plan Width": 4, "Actual Startup Time": 0.005, "Actual Total Time": 0.008, "Actual Rows": 1, "Actual Loops": 1, "Output": ["region.r_regionkey", "region.r_name", "region.r_comment"], "Filter": "(region.r_name = 'EUROPE'::bpchar)", "Rows Removed by Filter": 4}, {"Node Type": "Seq Scan", "Parent Relationship": "Inner", "Parallel Aware": false, "Relation Name": "nation", "Schema": "public", "Alias": "nation", "Startup Cost": 0.0, "Total Cost": 1.25, "Plan Rows": 25, "Plan Width": 34, "Actual Startup Time": 0.004, "Actual Total Time": 0.01, "Actual Rows": 25, "Actual Loops": 1, "Output": ["nation.n_nationkey", "nation.n_name", "nation.n_regionkey", "nation.n_comment"]}]}, {"Node Type": "Index Scan", "Parent Relationship": "Inner", "Parallel Aware": false, "Scan Direction": "Forward", "Index Name": "s_nk", "Relation Name": "supplier", "Schema": "public", "Alias": "supplier", "Startup Cost": 0.29, "Total Cost": 176.32, "Plan Rows": 4000, "Plan Width": 144, "Actual Startup Time": 0.013, "Actual Total Time": 3.126, "Actual Rows": 4007, "Actual Loops": 5, "Output": ["supplier.s_suppkey", "supplier.s_name", "supplier.s_address", "supplier.s_nationkey", "supplier.s_phone", "supplier.s_acctbal", "supplier.s_comment"], "Index Cond": "(supplier.s_nationkey = nation.n_nationkey)", "Rows Removed by Index Recheck": 0}]}, {"Node Type": "Index Scan", "Parent Relationship": "Inner", "Parallel Aware": false, "Scan Direction": "Forward", "Index Name": "ps_sk", "Relation Name": "partsupp", "Schema": "public", "Alias": "partsupp", "Startup Cost": 0.43, "Total Cost": 3.99, "Plan Rows": 80, "Plan Width": 14, "Actual Startup Time": 0.006, "Actual Total Time": 0.085, "Actual Rows": 80, "Actual Loops": 20033, "Output": ["partsupp.ps_partkey", "partsupp.ps_suppkey", "partsupp.ps_availqty", "partsupp.ps_supplycost", "partsupp.ps_comment"], "Index Cond": "(partsupp.ps_suppkey = supplier.s_suppkey)", "Rows Removed by Index Recheck": 0}]}]}]}, {"Node Type": "Aggregate", "Strategy": "Plain", "Partial Mode": "Simple", "Parent Relationship": "SubPlan", "Subplan Name": "SubPlan 1", "Parallel Aware": false, "Startup Cost": 17.17, "Total Cost": 17.18, "Plan Rows": 1, "Plan Width": 32, "Actual Startup Time": 0.026, "Actual Total Time": 0.026, "Actual Rows": 1, "Actual Loops": 6400, "Output": ["min(partsupp_1.ps_supplycost)"], "Plans": [{"Node Type": "Nested Loop", "Parent Relationship": "Outer", "Parallel Aware": false, "Join Type": "Inner", "Startup Cost": 0.86, "Total Cost": 17.17, "Plan Rows": 1, "Plan Width": 6, "Actual Startup Time": 0.015, "Actual Total Time": 0.025, "Actual Rows": 2, "Actual Loops": 6400, "Output": ["partsupp_1.ps_supplycost"], "Inner Unique": false, "Join Filter": "(nation_1.n_regionkey = region_1.r_regionkey)", "Rows Removed by Join Filter": 2, "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Relation Name": "region", "Schema": "public", "Alias": "region_1", "Startup Cost": 0.0, "Total Cost": 1.06, "Plan Rows": 1, "Plan Width": 4, "Actual Startup Time": 0.001, "Actual Total Time": 0.001, "Actual Rows": 1, "Actual Loops": 6400, "Output": ["region_1.r_regionkey", "region_1.r_name", "region_1.r_comment"], "Filter": "(region_1.r_name = 'EUROPE'::bpchar)", "Rows Removed by Filter": 4}, {"Node Type": "Nested Loop", "Parent Relationship": "Inner", "Parallel Aware": false, "Join Type": "Inner", "Startup Cost": 0.86, "Total Cost": 16.05, "Plan Rows": 5, "Plan Width": 10, "Actual Startup Time": 0.009, "Actual Total Time": 0.023, "Actual Rows": 4, "Actual Loops": 6400, "Output": ["partsupp_1.ps_supplycost", "nation_1.n_regionkey"], "Inner Unique": true, "Plans": [{"Node Type": "Nested Loop", "Parent Relationship": "Outer", "Parallel Aware": false, "Join Type": "Inner", "Startup Cost": 0.72, "Total Cost": 15.27, "Plan Rows": 5, "Plan Width": 10, "Actual Startup Time": 0.007, "Actual Total Time": 0.018, "Actual Rows": 4, "Actual Loops": 6400, "Output": ["partsupp_1.ps_supplycost", "supplier_1.s_nationkey"], "Inner Unique": true, "Plans": [{"Node Type": "Index Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Scan Direction": "Forward", "Index Name": "ps_pk", "Relation Name": "partsupp", "Schema": "public", "Alias": "partsupp_1", "Startup Cost": 0.43, "Total Cost": 2.72, "Plan Rows": 5, "Plan Width": 10, "Actual Startup Time": 0.004, "Actual Total Time": 0.005, "Actual Rows": 4, "Actual Loops": 6400, "Output": ["partsupp_1.ps_partkey", "partsupp_1.ps_suppkey", "partsupp_1.ps_availqty", "partsupp_1.ps_supplycost", "partsupp_1.ps_comment"], "Index Cond": "(part.p_partkey = partsupp_1.ps_partkey)", "Rows Removed by Index Recheck": 0}, {"Node Type": "Index Scan", "Parent Relationship": "Inner", "Parallel Aware": false, "Scan Direction": "Forward", "Index Name": "s_sk", "Relation Name": "supplier", "Schema": "public", "Alias": "supplier_1", "Startup Cost": 0.29, "Total Cost": 2.51, "Plan Rows": 1, "Plan Width": 8, "Actual Startup Time": 0.003, "Actual Total Time": 0.003, "Actual Rows": 1, "Actual Loops": 25600, "Output": ["supplier_1.s_suppkey", "supplier_1.s_name", "supplier_1.s_address", "supplier_1.s_nationkey", "supplier_1.s_phone", "supplier_1.s_acctbal", "supplier_1.s_comment"], "Index Cond": "(supplier_1.s_suppkey = partsupp_1.ps_suppkey)", "Rows Removed by Index Recheck": 0}]}, {"Node Type": "Index Scan", "Parent Relationship": "Inner", "Parallel Aware": false, "Scan Direction": "Forward", "Index Name": "n_nk", "Relation Name": "nation", "Schema": "public", "Alias": "nation_1", "Startup Cost": 0.14, "Total Cost": 0.16, "Plan Rows": 1, "Plan Width": 8, "Actual Startup Time": 0.001, "Actual Total Time": 0.001, "Actual Rows": 1, "Actual Loops": 25600, "Output": ["nation_1.n_nationkey", "nation_1.n_name", "nation_1.n_regionkey", "nation_1.n_comment"], "Index Cond": "(nation_1.n_nationkey = supplier_1.s_nationkey)", "Rows Removed by Index Recheck": 0}]}]}]}]}]}]}, "Planning Time": 2.615, "Triggers": [], "Execution Time": 4493.598} diff --git a/dev9/pg10/tpch/sf_10/explain_analyze/15721/20-1.ok b/dev9/pg10/tpch/sf_10/explain_analyze/15721/20-1.ok new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/dev9/pg10/tpch/sf_10/explain_analyze/15721/20-1.res b/dev9/pg10/tpch/sf_10/explain_analyze/15721/20-1.res new file mode 100644 index 0000000000000000000000000000000000000000..5809ce5085454913db62e7cdbda5a0380f68de22 --- /dev/null +++ b/dev9/pg10/tpch/sf_10/explain_analyze/15721/20-1.res @@ -0,0 +1 @@ +{"Plan": {"Node Type": "Sort", "Parallel Aware": false, "Startup Cost": 446355.89, "Total Cost": 446359.1, "Plan Rows": 1283, "Plan Width": 51, "Actual Startup Time": 1736.291, "Actual Total Time": 1736.508, "Actual Rows": 1786, "Actual Loops": 1, "Output": ["supplier.s_name", "supplier.s_address"], "Sort Key": ["supplier.s_name"], "Sort Method": "quicksort", "Sort Space Used": 254, "Sort Space Type": "Memory", "Plans": [{"Node Type": "Hash Join", "Parent Relationship": "Outer", "Parallel Aware": false, "Join Type": "Semi", "Startup Cost": 444057.12, "Total Cost": 446289.66, "Plan Rows": 1283, "Plan Width": 51, "Actual Startup Time": 1727.797, "Actual Total Time": 1732.846, "Actual Rows": 1786, "Actual Loops": 1, "Output": ["supplier.s_name", "supplier.s_address"], "Inner Unique": false, "Hash Cond": "(supplier.s_suppkey = partsupp.ps_suppkey)", "Plans": [{"Node Type": "Nested Loop", "Parent Relationship": "Outer", "Parallel Aware": false, "Join Type": "Inner", "Startup Cost": 44.49, "Total Cost": 2244.24, "Plan Rows": 4000, "Plan Width": 55, "Actual Startup Time": 0.835, "Actual Total Time": 4.757, "Actual Rows": 4049, "Actual Loops": 1, "Output": ["supplier.s_name", "supplier.s_address", "supplier.s_suppkey"], "Inner Unique": false, "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Relation Name": "nation", "Schema": "public", "Alias": "nation", "Startup Cost": 0.0, "Total Cost": 1.31, "Plan Rows": 1, "Plan Width": 4, "Actual Startup Time": 0.007, "Actual Total Time": 0.029, "Actual Rows": 1, "Actual Loops": 1, "Output": ["nation.n_nationkey", "nation.n_name", "nation.n_regionkey", "nation.n_comment"], "Filter": "(nation.n_name = 'GERMANY'::bpchar)", "Rows Removed by Filter": 24}, {"Node Type": "Bitmap Heap Scan", "Parent Relationship": "Inner", "Parallel Aware": false, "Relation Name": "supplier", "Schema": "public", "Alias": "supplier", "Startup Cost": 44.49, "Total Cost": 2202.92, "Plan Rows": 4000, "Plan Width": 59, "Actual Startup Time": 0.825, "Actual Total Time": 4.024, "Actual Rows": 4049, "Actual Loops": 1, "Output": ["supplier.s_suppkey", "supplier.s_name", "supplier.s_address", "supplier.s_nationkey", "supplier.s_phone", "supplier.s_acctbal", "supplier.s_comment"], "Recheck Cond": "(supplier.s_nationkey = nation.n_nationkey)", "Rows Removed by Index Recheck": 0, "Exact Heap Blocks": 1874, "Lossy Heap Blocks": 0, "Plans": [{"Node Type": "Bitmap Index Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Index Name": "s_nk", "Startup Cost": 0.0, "Total Cost": 43.49, "Plan Rows": 4000, "Plan Width": 0, "Actual Startup Time": 0.508, "Actual Total Time": 0.51, "Actual Rows": 4049, "Actual Loops": 1, "Index Cond": "(supplier.s_nationkey = nation.n_nationkey)"}]}]}, {"Node Type": "Hash", "Parent Relationship": "Inner", "Parallel Aware": false, "Startup Cost": 443611.83, "Total Cost": 443611.83, "Plan Rows": 32064, "Plan Width": 4, "Actual Startup Time": 1726.853, "Actual Total Time": 1726.969, "Actual Rows": 59274, "Actual Loops": 1, "Output": ["partsupp.ps_suppkey"], "Hash Buckets": 65536, "Original Hash Buckets": 32768, "Hash Batches": 1, "Original Hash Batches": 1, "Peak Memory Usage": 2596, "Plans": [{"Node Type": "Nested Loop", "Parent Relationship": "Outer", "Parallel Aware": false, "Join Type": "Inner", "Startup Cost": 1000.43, "Total Cost": 443611.83, "Plan Rows": 32064, "Plan Width": 4, "Actual Startup Time": 0.407, "Actual Total Time": 1707.068, "Actual Rows": 59274, "Actual Loops": 1, "Output": ["partsupp.ps_suppkey"], "Inner Unique": false, "Plans": [{"Node Type": "Gather", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 1000.0, "Total Cost": 50616.8, "Plan Rows": 24048, "Plan Width": 4, "Actual Startup Time": 0.354, "Actual Total Time": 28.812, "Actual Rows": 21783, "Actual Loops": 1, "Output": ["part.p_partkey"], "Workers Planned": 4, "Workers Launched": 4, "Single Copy": false, "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": true, "Relation Name": "part", "Schema": "public", "Alias": "part", "Startup Cost": 0.0, "Total Cost": 47212.0, "Plan Rows": 6012, "Plan Width": 4, "Actual Startup Time": 0.036, "Actual Total Time": 80.033, "Actual Rows": 4357, "Actual Loops": 5, "Output": ["part.p_partkey"], "Filter": "((part.p_name)::text ~~ 'floral%'::text)", "Rows Removed by Filter": 395643, "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.031, "Actual Total Time": 38.295, "Actual Rows": 1639, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 0.037, "Actual Total Time": 281.878, "Actual Rows": 16833, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 0.037, "Actual Total Time": 39.542, "Actual Rows": 1638, "Actual Loops": 1}, {"Worker Number": 3, "Actual Startup Time": 0.041, "Actual Total Time": 39.875, "Actual Rows": 1638, "Actual Loops": 1}]}]}, {"Node Type": "Index Scan", "Parent Relationship": "Inner", "Parallel Aware": false, "Scan Direction": "Forward", "Index Name": "ps_pk", "Relation Name": "partsupp", "Schema": "public", "Alias": "partsupp", "Startup Cost": 0.43, "Total Cost": 16.32, "Plan Rows": 2, "Plan Width": 8, "Actual Startup Time": 0.03, "Actual Total Time": 0.076, "Actual Rows": 3, "Actual Loops": 21783, "Output": ["partsupp.ps_partkey", "partsupp.ps_suppkey", "partsupp.ps_availqty", "partsupp.ps_supplycost", "partsupp.ps_comment"], "Index Cond": "(partsupp.ps_partkey = part.p_partkey)", "Rows Removed by Index Recheck": 0, "Filter": "((partsupp.ps_availqty)::numeric > (SubPlan 1))", "Rows Removed by Filter": 1, "Plans": [{"Node Type": "Aggregate", "Strategy": "Plain", "Partial Mode": "Simple", "Parent Relationship": "SubPlan", "Subplan Name": "SubPlan 1", "Parallel Aware": false, "Startup Cost": 2.79, "Total Cost": 2.81, "Plan Rows": 1, "Plan Width": 32, "Actual Startup Time": 0.017, "Actual Total Time": 0.017, "Actual Rows": 1, "Actual Loops": 87132, "Output": ["(0.5 * sum(lineitem.l_quantity))"], "Plans": [{"Node Type": "Index Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Scan Direction": "Forward", "Index Name": "l_sk_pk", "Relation Name": "lineitem", "Schema": "public", "Alias": "lineitem", "Startup Cost": 0.56, "Total Cost": 2.79, "Plan Rows": 1, "Plan Width": 5, "Actual Startup Time": 0.011, "Actual Total Time": 0.016, "Actual Rows": 1, "Actual Loops": 87132, "Output": ["lineitem.l_orderkey", "lineitem.l_partkey", "lineitem.l_suppkey", "lineitem.l_linenumber", "lineitem.l_quantity", "lineitem.l_extendedprice", "lineitem.l_discount", "lineitem.l_tax", "lineitem.l_returnflag", "lineitem.l_linestatus", "lineitem.l_shipdate", "lineitem.l_commitdate", "lineitem.l_receiptdate", "lineitem.l_shipinstruct", "lineitem.l_shipmode", "lineitem.l_comment"], "Index Cond": "((lineitem.l_suppkey = partsupp.ps_suppkey) AND (lineitem.l_partkey = partsupp.ps_partkey))", "Rows Removed by Index Recheck": 0, "Filter": "((lineitem.l_shipdate >= '1996-01-01'::date) AND (lineitem.l_shipdate < '1997-01-01 00:00:00'::timestamp without time zone))", "Rows Removed by Filter": 6}]}]}]}]}]}]}, "Planning Time": 1.1, "Triggers": [], "Execution Time": 1736.67} diff --git a/dev9/pg10/tpch/sf_10/explain_analyze/15721/21-1.ok b/dev9/pg10/tpch/sf_10/explain_analyze/15721/21-1.ok new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/dev9/pg10/tpch/sf_10/explain_analyze/15721/21-1.res b/dev9/pg10/tpch/sf_10/explain_analyze/15721/21-1.res new file mode 100644 index 0000000000000000000000000000000000000000..60e8aa9ec2f72c8833336c6e661563d108321585 --- /dev/null +++ b/dev9/pg10/tpch/sf_10/explain_analyze/15721/21-1.res @@ -0,0 +1 @@ +{"Plan": {"Node Type": "Limit", "Parallel Aware": false, "Startup Cost": 661147.08, "Total Cost": 661147.08, "Plan Rows": 1, "Plan Width": 34, "Actual Startup Time": 10112.749, "Actual Total Time": 10275.364, "Actual Rows": 100, "Actual Loops": 1, "Output": ["supplier.s_name", "(count(*))"], "Plans": [{"Node Type": "Sort", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 661147.08, "Total Cost": 661147.08, "Plan Rows": 1, "Plan Width": 34, "Actual Startup Time": 10112.747, "Actual Total Time": 10275.354, "Actual Rows": 100, "Actual Loops": 1, "Output": ["supplier.s_name", "(count(*))"], "Sort Key": ["(count(*)) DESC", "supplier.s_name"], "Sort Method": "top-N heapsort", "Sort Space Used": 38, "Sort Space Type": "Memory", "Plans": [{"Node Type": "Aggregate", "Strategy": "Sorted", "Partial Mode": "Simple", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 661147.05, "Total Cost": 661147.07, "Plan Rows": 1, "Plan Width": 34, "Actual Startup Time": 10102.065, "Actual Total Time": 10273.699, "Actual Rows": 3988, "Actual Loops": 1, "Output": ["supplier.s_name", "count(*)"], "Group Key": ["supplier.s_name"], "Plans": [{"Node Type": "Sort", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 661147.05, "Total Cost": 661147.05, "Plan Rows": 1, "Plan Width": 26, "Actual Startup Time": 10102.053, "Actual Total Time": 10266.973, "Actual Rows": 39932, "Actual Loops": 1, "Output": ["supplier.s_name"], "Sort Key": ["supplier.s_name"], "Sort Method": "quicksort", "Sort Space Used": 4656, "Sort Space Type": "Memory", "Plans": [{"Node Type": "Nested Loop", "Parent Relationship": "Outer", "Parallel Aware": false, "Join Type": "Anti", "Startup Cost": 1003.46, "Total Cost": 661147.04, "Plan Rows": 1, "Plan Width": 26, "Actual Startup Time": 0.808, "Actual Total Time": 10131.792, "Actual Rows": 39932, "Actual Loops": 1, "Output": ["supplier.s_name"], "Inner Unique": false, "Plans": [{"Node Type": "Gather", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 1002.89, "Total Cost": 661145.63, "Plan Rows": 1, "Plan Width": 34, "Actual Startup Time": 0.544, "Actual Total Time": 7028.144, "Actual Rows": 705191, "Actual Loops": 1, "Output": ["supplier.s_name", "l1.l_suppkey", "l1.l_orderkey"], "Workers Planned": 1, "Workers Launched": 1, "Single Copy": false, "Plans": [{"Node Type": "Nested Loop", "Parent Relationship": "Outer", "Parallel Aware": false, "Join Type": "Semi", "Startup Cost": 2.89, "Total Cost": 660145.53, "Plan Rows": 1, "Plan Width": 34, "Actual Startup Time": 0.322, "Actual Total Time": 8235.255, "Actual Rows": 352596, "Actual Loops": 2, "Output": ["supplier.s_name", "l1.l_suppkey", "l1.l_orderkey"], "Inner Unique": false, "Join Filter": "(orders.o_orderkey = l2.l_orderkey)", "Rows Removed by Join Filter": 0, "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.55, "Actual Total Time": 9816.716, "Actual Rows": 408241, "Actual Loops": 1}], "Plans": [{"Node Type": "Nested Loop", "Parent Relationship": "Outer", "Parallel Aware": false, "Join Type": "Inner", "Startup Cost": 2.32, "Total Cost": 291524.22, "Plan Rows": 228828, "Plan Width": 38, "Actual Startup Time": 0.285, "Actual Total Time": 6130.647, "Actual Rows": 365736, "Actual Loops": 2, "Output": ["supplier.s_name", "l1.l_suppkey", "l1.l_orderkey", "orders.o_orderkey"], "Inner Unique": true, "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.488, "Actual Total Time": 7323.18, "Actual Rows": 423417, "Actual Loops": 1}], "Plans": [{"Node Type": "Nested Loop", "Parent Relationship": "Outer", "Parallel Aware": false, "Join Type": "Inner", "Startup Cost": 1.89, "Total Cost": 69630.5, "Plan Rows": 470497, "Plan Width": 34, "Actual Startup Time": 0.197, "Actual Total Time": 2324.66, "Actual Rows": 756457, "Actual Loops": 2, "Output": ["supplier.s_name", "l1.l_suppkey", "l1.l_orderkey"], "Inner Unique": false, "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.334, "Actual Total Time": 2877.032, "Actual Rows": 875249, "Actual Loops": 1}], "Plans": [{"Node Type": "Hash Join", "Parent Relationship": "Outer", "Parallel Aware": false, "Join Type": "Inner", "Startup Cost": 1.32, "Total Cost": 2986.15, "Plan Rows": 2353, "Plan Width": 30, "Actual Startup Time": 0.115, "Actual Total Time": 17.214, "Actual Rows": 1994, "Actual Loops": 2, "Output": ["supplier.s_name", "supplier.s_suppkey"], "Inner Unique": true, "Hash Cond": "(supplier.s_nationkey = nation.n_nationkey)", "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.205, "Actual Total Time": 20.869, "Actual Rows": 2306, "Actual Loops": 1}], "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": true, "Relation Name": "supplier", "Schema": "public", "Alias": "supplier", "Startup Cost": 0.0, "Total Cost": 2804.24, "Plan Rows": 58824, "Plan Width": 34, "Actual Startup Time": 0.015, "Actual Total Time": 6.468, "Actual Rows": 50000, "Actual Loops": 2, "Output": ["supplier.s_suppkey", "supplier.s_name", "supplier.s_address", "supplier.s_nationkey", "supplier.s_phone", "supplier.s_acctbal", "supplier.s_comment"], "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.026, "Actual Total Time": 8.112, "Actual Rows": 58439, "Actual Loops": 1}]}, {"Node Type": "Hash", "Parent Relationship": "Inner", "Parallel Aware": false, "Startup Cost": 1.31, "Total Cost": 1.31, "Plan Rows": 1, "Plan Width": 4, "Actual Startup Time": 0.021, "Actual Total Time": 0.022, "Actual Rows": 1, "Actual Loops": 2, "Output": ["nation.n_nationkey"], "Hash Buckets": 1024, "Original Hash Buckets": 1024, "Hash Batches": 1, "Original Hash Batches": 1, "Peak Memory Usage": 9, "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.032, "Actual Total Time": 0.033, "Actual Rows": 1, "Actual Loops": 1}], "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Relation Name": "nation", "Schema": "public", "Alias": "nation", "Startup Cost": 0.0, "Total Cost": 1.31, "Plan Rows": 1, "Plan Width": 4, "Actual Startup Time": 0.016, "Actual Total Time": 0.018, "Actual Rows": 1, "Actual Loops": 2, "Output": ["nation.n_nationkey"], "Filter": "(nation.n_name = 'CHINA'::bpchar)", "Rows Removed by Filter": 24, "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.026, "Actual Total Time": 0.027, "Actual Rows": 1, "Actual Loops": 1}]}]}]}, {"Node Type": "Index Scan", "Parent Relationship": "Inner", "Parallel Aware": false, "Scan Direction": "Forward", "Index Name": "l_sk", "Relation Name": "lineitem", "Schema": "public", "Alias": "l1", "Startup Cost": 0.56, "Total Cost": 26.32, "Plan Rows": 200, "Plan Width": 8, "Actual Startup Time": 0.016, "Actual Total Time": 1.108, "Actual Rows": 379, "Actual Loops": 3988, "Output": ["l1.l_orderkey", "l1.l_partkey", "l1.l_suppkey", "l1.l_linenumber", "l1.l_quantity", "l1.l_extendedprice", "l1.l_discount", "l1.l_tax", "l1.l_returnflag", "l1.l_linestatus", "l1.l_shipdate", "l1.l_commitdate", "l1.l_receiptdate", "l1.l_shipinstruct", "l1.l_shipmode", "l1.l_comment"], "Index Cond": "(l1.l_suppkey = supplier.s_suppkey)", "Rows Removed by Index Recheck": 0, "Filter": "(l1.l_receiptdate > l1.l_commitdate)", "Rows Removed by Filter": 221, "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.019, "Actual Total Time": 1.191, "Actual Rows": 380, "Actual Loops": 2306}]}]}, {"Node Type": "Index Scan", "Parent Relationship": "Inner", "Parallel Aware": false, "Scan Direction": "Forward", "Index Name": "o_ok", "Relation Name": "orders", "Schema": "public", "Alias": "orders", "Startup Cost": 0.43, "Total Cost": 0.47, "Plan Rows": 1, "Plan Width": 4, "Actual Startup Time": 0.005, "Actual Total Time": 0.005, "Actual Rows": 0, "Actual Loops": 1512914, "Output": ["orders.o_orderkey", "orders.o_custkey", "orders.o_orderstatus", "orders.o_totalprice", "orders.o_orderdate", "orders.o_orderpriority", "orders.o_clerk", "orders.o_shippriority", "orders.o_comment"], "Index Cond": "(orders.o_orderkey = l1.l_orderkey)", "Rows Removed by Index Recheck": 0, "Filter": "(orders.o_orderstatus = 'F'::bpchar)", "Rows Removed by Filter": 1, "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.005, "Actual Total Time": 0.005, "Actual Rows": 0, "Actual Loops": 875249}]}]}, {"Node Type": "Index Scan", "Parent Relationship": "Inner", "Parallel Aware": false, "Scan Direction": "Forward", "Index Name": "l_ok", "Relation Name": "lineitem", "Schema": "public", "Alias": "l2", "Startup Cost": 0.56, "Total Cost": 1.24, "Plan Rows": 30, "Plan Width": 8, "Actual Startup Time": 0.005, "Actual Total Time": 0.005, "Actual Rows": 1, "Actual Loops": 731472, "Output": ["l2.l_orderkey", "l2.l_partkey", "l2.l_suppkey", "l2.l_linenumber", "l2.l_quantity", "l2.l_extendedprice", "l2.l_discount", "l2.l_tax", "l2.l_returnflag", "l2.l_linestatus", "l2.l_shipdate", "l2.l_commitdate", "l2.l_receiptdate", "l2.l_shipinstruct", "l2.l_shipmode", "l2.l_comment"], "Index Cond": "(l2.l_orderkey = l1.l_orderkey)", "Rows Removed by Index Recheck": 0, "Filter": "(l2.l_suppkey <> l1.l_suppkey)", "Rows Removed by Filter": 0, "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.005, "Actual Total Time": 0.005, "Actual Rows": 1, "Actual Loops": 423417}]}]}]}, {"Node Type": "Index Scan", "Parent Relationship": "Inner", "Parallel Aware": false, "Scan Direction": "Forward", "Index Name": "l_ok", "Relation Name": "lineitem", "Schema": "public", "Alias": "l3", "Startup Cost": 0.56, "Total Cost": 1.31, "Plan Rows": 10, "Plan Width": 8, "Actual Startup Time": 0.004, "Actual Total Time": 0.004, "Actual Rows": 1, "Actual Loops": 705191, "Output": ["l3.l_orderkey", "l3.l_partkey", "l3.l_suppkey", "l3.l_linenumber", "l3.l_quantity", "l3.l_extendedprice", "l3.l_discount", "l3.l_tax", "l3.l_returnflag", "l3.l_linestatus", "l3.l_shipdate", "l3.l_commitdate", "l3.l_receiptdate", "l3.l_shipinstruct", "l3.l_shipmode", "l3.l_comment"], "Index Cond": "(l3.l_orderkey = l1.l_orderkey)", "Rows Removed by Index Recheck": 0, "Filter": "((l3.l_receiptdate > l3.l_commitdate) AND (l3.l_suppkey <> l1.l_suppkey))", "Rows Removed by Filter": 1}]}]}]}]}]}, "Planning Time": 4.034, "Triggers": [], "Execution Time": 10275.46} diff --git a/dev9/pg10/tpch/sf_10/explain_analyze/15721/22-1.ok b/dev9/pg10/tpch/sf_10/explain_analyze/15721/22-1.ok new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/dev9/pg10/tpch/sf_10/explain_analyze/15721/22-1.res b/dev9/pg10/tpch/sf_10/explain_analyze/15721/22-1.res new file mode 100644 index 0000000000000000000000000000000000000000..d23a6ab0674e1eacb5dfbd46609415be4e4ce57a --- /dev/null +++ b/dev9/pg10/tpch/sf_10/explain_analyze/15721/22-1.res @@ -0,0 +1 @@ +{"Plan": {"Node Type": "Aggregate", "Strategy": "Sorted", "Partial Mode": "Simple", "Parallel Aware": false, "Startup Cost": 132057.92, "Total Cost": 132264.69, "Plan Rows": 7519, "Plan Width": 72, "Actual Startup Time": 1519.892, "Actual Total Time": 1537.055, "Actual Rows": 7, "Actual Loops": 1, "Output": ["(\"substring\"((customer.c_phone)::text, 1, 2))", "count(*)", "sum(customer.c_acctbal)"], "Group Key": ["(\"substring\"((customer.c_phone)::text, 1, 2))"], "Plans": [{"Node Type": "Aggregate", "Strategy": "Plain", "Partial Mode": "Finalize", "Parent Relationship": "InitPlan", "Subplan Name": "InitPlan 1 (returns $1)", "Parallel Aware": false, "Startup Cost": 46701.01, "Total Cost": 46701.02, "Plan Rows": 1, "Plan Width": 32, "Actual Startup Time": 240.704, "Actual Total Time": 240.801, "Actual Rows": 1, "Actual Loops": 1, "Output": ["avg(customer_1.c_acctbal)"], "Plans": [{"Node Type": "Gather", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 46700.58, "Total Cost": 46700.99, "Plan Rows": 4, "Plan Width": 32, "Actual Startup Time": 240.652, "Actual Total Time": 240.79, "Actual Rows": 5, "Actual Loops": 1, "Output": ["(PARTIAL avg(customer_1.c_acctbal))"], "Workers Planned": 4, "Workers Launched": 4, "Single Copy": false, "Plans": [{"Node Type": "Aggregate", "Strategy": "Plain", "Partial Mode": "Partial", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 45700.58, "Total Cost": 45700.59, "Plan Rows": 1, "Plan Width": 32, "Actual Startup Time": 237.309, "Actual Total Time": 237.31, "Actual Rows": 1, "Actual Loops": 5, "Output": ["PARTIAL avg(customer_1.c_acctbal)"], "Workers": [{"Worker Number": 0, "Actual Startup Time": 236.571, "Actual Total Time": 236.572, "Actual Rows": 1, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 236.581, "Actual Total Time": 236.582, "Actual Rows": 1, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 236.547, "Actual Total Time": 236.548, "Actual Rows": 1, "Actual Loops": 1}, {"Worker Number": 3, "Actual Startup Time": 236.552, "Actual Total Time": 236.552, "Actual Rows": 1, "Actual Loops": 1}], "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": true, "Relation Name": "customer", "Schema": "public", "Alias": "customer_1", "Startup Cost": 0.0, "Total Cost": 45670.75, "Plan Rows": 11930, "Plan Width": 6, "Actual Startup Time": 0.038, "Actual Total Time": 226.701, "Actual Rows": 76349, "Actual Loops": 5, "Output": ["customer_1.c_acctbal"], "Filter": "((customer_1.c_acctbal > 0.00) AND (\"substring\"((customer_1.c_phone)::text, 1, 2) = ANY ('{17,20,25,31,30,11,33}'::text[])))", "Rows Removed by Filter": 223651, "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.042, "Actual Total Time": 226.216, "Actual Rows": 74096, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 0.051, "Actual Total Time": 226.265, "Actual Rows": 73920, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 0.044, "Actual Total Time": 226.194, "Actual Rows": 74126, "Actual Loops": 1}, {"Worker Number": 3, "Actual Startup Time": 0.044, "Actual Total Time": 226.27, "Actual Rows": 73645, "Actual Loops": 1}]}]}]}]}, {"Node Type": "Sort", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 85356.9, "Total Cost": 85375.69, "Plan Rows": 7519, "Plan Width": 38, "Actual Startup Time": 1517.094, "Actual Total Time": 1521.8, "Actual Rows": 64032, "Actual Loops": 1, "Output": ["(\"substring\"((customer.c_phone)::text, 1, 2))", "customer.c_acctbal"], "Sort Key": ["(\"substring\"((customer.c_phone)::text, 1, 2))"], "Sort Method": "quicksort", "Sort Space Used": 4538, "Sort Space Type": "Memory", "Plans": [{"Node Type": "Nested Loop", "Parent Relationship": "Outer", "Parallel Aware": false, "Join Type": "Anti", "Startup Cost": 0.43, "Total Cost": 84872.81, "Plan Rows": 7519, "Plan Width": 38, "Actual Startup Time": 240.734, "Actual Total Time": 1495.489, "Actual Rows": 64032, "Actual Loops": 1, "Output": ["\"substring\"((customer.c_phone)::text, 1, 2)", "customer.c_acctbal"], "Inner Unique": false, "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Relation Name": "customer", "Schema": "public", "Alias": "customer", "Startup Cost": 0.0, "Total Cost": 75202.0, "Plan Rows": 17500, "Plan Width": 26, "Actual Startup Time": 240.716, "Actual Total Time": 976.279, "Actual Rows": 190873, "Actual Loops": 1, "Output": ["customer.c_custkey", "customer.c_name", "customer.c_address", "customer.c_nationkey", "customer.c_phone", "customer.c_acctbal", "customer.c_mktsegment", "customer.c_comment"], "Filter": "((customer.c_acctbal > $1) AND (\"substring\"((customer.c_phone)::text, 1, 2) = ANY ('{17,20,25,31,30,11,33}'::text[])))", "Rows Removed by Filter": 1309127}, {"Node Type": "Index Only Scan", "Parent Relationship": "Inner", "Parallel Aware": false, "Scan Direction": "Forward", "Index Name": "o_ck", "Relation Name": "orders", "Schema": "public", "Alias": "orders", "Startup Cost": 0.43, "Total Cost": 1.66, "Plan Rows": 18, "Plan Width": 4, "Actual Startup Time": 0.002, "Actual Total Time": 0.002, "Actual Rows": 1, "Actual Loops": 190873, "Output": ["orders.o_custkey"], "Index Cond": "(orders.o_custkey = customer.c_custkey)", "Rows Removed by Index Recheck": 0, "Heap Fetches": 0}]}]}]}, "Planning Time": 0.531, "Triggers": [], "Execution Time": 1537.126} diff --git a/dev9/pg10/tpch/sf_10/explain_analyze/15721/3-1.ok b/dev9/pg10/tpch/sf_10/explain_analyze/15721/3-1.ok new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/dev9/pg10/tpch/sf_10/explain_analyze/15721/3-1.res b/dev9/pg10/tpch/sf_10/explain_analyze/15721/3-1.res new file mode 100644 index 0000000000000000000000000000000000000000..9c9e8b7f11cf6848bda31d9deb03e59d07053d90 --- /dev/null +++ b/dev9/pg10/tpch/sf_10/explain_analyze/15721/3-1.res @@ -0,0 +1 @@ +{"Plan": {"Node Type": "Limit", "Parallel Aware": false, "Startup Cost": 1374502.67, "Total Cost": 1374502.7, "Plan Rows": 10, "Plan Width": 44, "Actual Startup Time": 4075.959, "Actual Total Time": 4812.838, "Actual Rows": 10, "Actual Loops": 1, "Output": ["lineitem.l_orderkey", "(sum((lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount))))", "orders.o_orderdate", "orders.o_shippriority"], "Plans": [{"Node Type": "Sort", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 1374502.67, "Total Cost": 1382350.73, "Plan Rows": 3139222, "Plan Width": 44, "Actual Startup Time": 4075.958, "Actual Total Time": 4812.834, "Actual Rows": 10, "Actual Loops": 1, "Output": ["lineitem.l_orderkey", "(sum((lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount))))", "orders.o_orderdate", "orders.o_shippriority"], "Sort Key": ["(sum((lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount)))) DESC", "orders.o_orderdate"], "Sort Method": "top-N heapsort", "Sort Space Used": 26, "Sort Space Type": "Memory", "Plans": [{"Node Type": "Aggregate", "Strategy": "Sorted", "Partial Mode": "Finalize", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 830728.62, "Total Cost": 1306665.21, "Plan Rows": 3139222, "Plan Width": 44, "Actual Startup Time": 3831.169, "Actual Total Time": 4786.469, "Actual Rows": 113340, "Actual Loops": 1, "Output": ["lineitem.l_orderkey", "sum((lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount)))", "orders.o_orderdate", "orders.o_shippriority"], "Group Key": ["lineitem.l_orderkey", "orders.o_orderdate", "orders.o_shippriority"], "Plans": [{"Node Type": "Gather Merge", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 830728.62, "Total Cost": 1228184.64, "Plan Rows": 3139224, "Plan Width": 44, "Actual Startup Time": 3831.156, "Actual Total Time": 4690.543, "Actual Rows": 113340, "Actual Loops": 1, "Output": ["lineitem.l_orderkey", "orders.o_orderdate", "orders.o_shippriority", "(PARTIAL sum((lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount))))"], "Workers Planned": 4, "Workers Launched": 4, "Plans": [{"Node Type": "Aggregate", "Strategy": "Sorted", "Partial Mode": "Partial", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 829728.56, "Total Cost": 853272.74, "Plan Rows": 784806, "Plan Width": 44, "Actual Startup Time": 3824.925, "Actual Total Time": 3883.383, "Actual Rows": 22668, "Actual Loops": 5, "Output": ["lineitem.l_orderkey", "orders.o_orderdate", "orders.o_shippriority", "PARTIAL sum((lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount)))"], "Group Key": ["lineitem.l_orderkey", "orders.o_orderdate", "orders.o_shippriority"], "Workers": [{"Worker Number": 0, "Actual Startup Time": 3823.572, "Actual Total Time": 3882.559, "Actual Rows": 22595, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 3823.575, "Actual Total Time": 3883.388, "Actual Rows": 22662, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 3823.431, "Actual Total Time": 3881.215, "Actual Rows": 21934, "Actual Loops": 1}, {"Worker Number": 3, "Actual Startup Time": 3823.436, "Actual Total Time": 3881.247, "Actual Rows": 22052, "Actual Loops": 1}], "Plans": [{"Node Type": "Sort", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 829728.56, "Total Cost": 831690.57, "Plan Rows": 784806, "Plan Width": 24, "Actual Startup Time": 3824.899, "Actual Total Time": 3831.938, "Actual Rows": 59750, "Actual Loops": 5, "Output": ["lineitem.l_orderkey", "orders.o_orderdate", "orders.o_shippriority", "lineitem.l_extendedprice", "lineitem.l_discount"], "Sort Key": ["lineitem.l_orderkey", "orders.o_orderdate", "orders.o_shippriority"], "Sort Method": "quicksort", "Sort Space Used": 6511, "Sort Space Type": "Memory", "Workers": [{"Worker Number": 0, "Actual Startup Time": 3823.551, "Actual Total Time": 3831.058, "Actual Rows": 59431, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 3823.553, "Actual Total Time": 3831.192, "Actual Rows": 59505, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 3823.405, "Actual Total Time": 3830.816, "Actual Rows": 57774, "Actual Loops": 1}, {"Worker Number": 3, "Actual Startup Time": 3823.403, "Actual Total Time": 3830.653, "Actual Rows": 58364, "Actual Loops": 1}], "Plans": [{"Node Type": "Nested Loop", "Parent Relationship": "Outer", "Parallel Aware": false, "Join Type": "Inner", "Startup Cost": 1.0, "Total Cost": 743460.35, "Plan Rows": 784806, "Plan Width": 24, "Actual Startup Time": 0.701, "Actual Total Time": 3791.003, "Actual Rows": 59750, "Actual Loops": 5, "Output": ["lineitem.l_orderkey", "orders.o_orderdate", "orders.o_shippriority", "lineitem.l_extendedprice", "lineitem.l_discount"], "Inner Unique": false, "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.453, "Actual Total Time": 3790.167, "Actual Rows": 59431, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 0.363, "Actual Total Time": 3790.175, "Actual Rows": 59505, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 2.11, "Actual Total Time": 3790.796, "Actual Rows": 57774, "Actual Loops": 1}, {"Worker Number": 3, "Actual Startup Time": 0.458, "Actual Total Time": 3790.722, "Actual Rows": 58364, "Actual Loops": 1}], "Plans": [{"Node Type": "Nested Loop", "Parent Relationship": "Outer", "Parallel Aware": false, "Join Type": "Inner", "Startup Cost": 0.43, "Total Cost": 189805.28, "Plan Rows": 364464, "Plan Width": 12, "Actual Startup Time": 0.102, "Actual Total Time": 1214.928, "Actual Rows": 292930, "Actual Loops": 5, "Output": ["orders.o_orderdate", "orders.o_shippriority", "orders.o_orderkey"], "Inner Unique": false, "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.104, "Actual Total Time": 1204.834, "Actual Rows": 289912, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 0.105, "Actual Total Time": 1202.347, "Actual Rows": 290334, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 0.113, "Actual Total Time": 1205.754, "Actual Rows": 286268, "Actual Loops": 1}, {"Worker Number": 3, "Actual Startup Time": 0.166, "Actual Total Time": 1209.047, "Actual Rows": 284823, "Actual Loops": 1}], "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": true, "Relation Name": "customer", "Schema": "public", "Alias": "customer", "Startup Cost": 0.0, "Total Cost": 40514.5, "Plan Rows": 74835, "Plan Width": 4, "Actual Startup Time": 0.024, "Actual Total Time": 98.432, "Actual Rows": 59899, "Actual Loops": 5, "Output": ["customer.c_custkey", "customer.c_name", "customer.c_address", "customer.c_nationkey", "customer.c_phone", "customer.c_acctbal", "customer.c_mktsegment", "customer.c_comment"], "Filter": "(customer.c_mktsegment = 'FURNITURE'::bpchar)", "Rows Removed by Filter": 240101, "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.027, "Actual Total Time": 98.275, "Actual Rows": 59286, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 0.026, "Actual Total Time": 97.845, "Actual Rows": 59129, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 0.029, "Actual Total Time": 98.094, "Actual Rows": 58523, "Actual Loops": 1}, {"Worker Number": 3, "Actual Startup Time": 0.03, "Actual Total Time": 98.532, "Actual Rows": 58689, "Actual Loops": 1}]}, {"Node Type": "Index Scan", "Parent Relationship": "Inner", "Parallel Aware": false, "Scan Direction": "Forward", "Index Name": "o_ck", "Relation Name": "orders", "Schema": "public", "Alias": "orders", "Startup Cost": 0.43, "Total Cost": 1.9, "Plan Rows": 9, "Plan Width": 16, "Actual Startup Time": 0.005, "Actual Total Time": 0.017, "Actual Rows": 5, "Actual Loops": 299496, "Output": ["orders.o_orderkey", "orders.o_custkey", "orders.o_orderstatus", "orders.o_totalprice", "orders.o_orderdate", "orders.o_orderpriority", "orders.o_clerk", "orders.o_shippriority", "orders.o_comment"], "Index Cond": "(orders.o_custkey = customer.c_custkey)", "Rows Removed by Index Recheck": 0, "Filter": "(orders.o_orderdate < '1995-03-20'::date)", "Rows Removed by Filter": 5, "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.005, "Actual Total Time": 0.017, "Actual Rows": 5, "Actual Loops": 59286}, {"Worker Number": 1, "Actual Startup Time": 0.005, "Actual Total Time": 0.018, "Actual Rows": 5, "Actual Loops": 59129}, {"Worker Number": 2, "Actual Startup Time": 0.005, "Actual Total Time": 0.018, "Actual Rows": 5, "Actual Loops": 58523}, {"Worker Number": 3, "Actual Startup Time": 0.005, "Actual Total Time": 0.018, "Actual Rows": 5, "Actual Loops": 58689}]}]}, {"Node Type": "Index Scan", "Parent Relationship": "Inner", "Parallel Aware": false, "Scan Direction": "Forward", "Index Name": "l_ok", "Relation Name": "lineitem", "Schema": "public", "Alias": "lineitem", "Startup Cost": 0.56, "Total Cost": 1.36, "Plan Rows": 16, "Plan Width": 16, "Actual Startup Time": 0.008, "Actual Total Time": 0.009, "Actual Rows": 0, "Actual Loops": 1464651, "Output": ["lineitem.l_orderkey", "lineitem.l_partkey", "lineitem.l_suppkey", "lineitem.l_linenumber", "lineitem.l_quantity", "lineitem.l_extendedprice", "lineitem.l_discount", "lineitem.l_tax", "lineitem.l_returnflag", "lineitem.l_linestatus", "lineitem.l_shipdate", "lineitem.l_commitdate", "lineitem.l_receiptdate", "lineitem.l_shipinstruct", "lineitem.l_shipmode", "lineitem.l_comment"], "Index Cond": "(lineitem.l_orderkey = orders.o_orderkey)", "Rows Removed by Index Recheck": 0, "Filter": "(lineitem.l_shipdate > '1995-03-20'::date)", "Rows Removed by Filter": 4, "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.009, "Actual Total Time": 0.009, "Actual Rows": 0, "Actual Loops": 289912}, {"Worker Number": 1, "Actual Startup Time": 0.009, "Actual Total Time": 0.009, "Actual Rows": 0, "Actual Loops": 290334}, {"Worker Number": 2, "Actual Startup Time": 0.009, "Actual Total Time": 0.009, "Actual Rows": 0, "Actual Loops": 286268}, {"Worker Number": 3, "Actual Startup Time": 0.009, "Actual Total Time": 0.009, "Actual Rows": 0, "Actual Loops": 284823}]}]}]}]}]}]}]}]}, "Planning Time": 1.035, "Triggers": [], "Execution Time": 4812.914} diff --git a/dev9/pg10/tpch/sf_10/explain_analyze/15721/4-1.ok b/dev9/pg10/tpch/sf_10/explain_analyze/15721/4-1.ok new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/dev9/pg10/tpch/sf_10/explain_analyze/15721/4-1.res b/dev9/pg10/tpch/sf_10/explain_analyze/15721/4-1.res new file mode 100644 index 0000000000000000000000000000000000000000..fa28c136f9b9b8b4f274a00bcf9b3972fe82d2f6 --- /dev/null +++ b/dev9/pg10/tpch/sf_10/explain_analyze/15721/4-1.res @@ -0,0 +1 @@ +{"Plan": {"Node Type": "Aggregate", "Strategy": "Sorted", "Partial Mode": "Finalize", "Parallel Aware": false, "Startup Cost": 344853.65, "Total Cost": 344952.18, "Plan Rows": 5, "Plan Width": 24, "Actual Startup Time": 1157.029, "Actual Total Time": 1327.164, "Actual Rows": 5, "Actual Loops": 1, "Output": ["orders.o_orderpriority", "count(*)"], "Group Key": ["orders.o_orderpriority"], "Plans": [{"Node Type": "Gather Merge", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 344853.65, "Total Cost": 344951.98, "Plan Rows": 30, "Plan Width": 24, "Actual Startup Time": 1153.396, "Actual Total Time": 1327.151, "Actual Rows": 35, "Actual Loops": 1, "Output": ["orders.o_orderpriority", "(PARTIAL count(*))"], "Workers Planned": 6, "Workers Launched": 6, "Plans": [{"Node Type": "Aggregate", "Strategy": "Sorted", "Partial Mode": "Partial", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 343853.55, "Total Cost": 343948.23, "Plan Rows": 5, "Plan Width": 24, "Actual Startup Time": 1143.521, "Actual Total Time": 1155.831, "Actual Rows": 5, "Actual Loops": 7, "Output": ["orders.o_orderpriority", "PARTIAL count(*)"], "Group Key": ["orders.o_orderpriority"], "Workers": [{"Worker Number": 0, "Actual Startup Time": 1141.786, "Actual Total Time": 1153.507, "Actual Rows": 5, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 1141.245, "Actual Total Time": 1153.033, "Actual Rows": 5, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 1141.491, "Actual Total Time": 1153.475, "Actual Rows": 5, "Actual Loops": 1}, {"Worker Number": 3, "Actual Startup Time": 1142.124, "Actual Total Time": 1154.036, "Actual Rows": 5, "Actual Loops": 1}, {"Worker Number": 4, "Actual Startup Time": 1143.23, "Actual Total Time": 1155.472, "Actual Rows": 5, "Actual Loops": 1}, {"Worker Number": 5, "Actual Startup Time": 1141.931, "Actual Total Time": 1153.662, "Actual Rows": 5, "Actual Loops": 1}], "Plans": [{"Node Type": "Sort", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 343853.55, "Total Cost": 343885.09, "Plan Rows": 12618, "Plan Width": 16, "Actual Startup Time": 1140.452, "Actual Total Time": 1145.024, "Actual Rows": 74276, "Actual Loops": 7, "Output": ["orders.o_orderpriority"], "Sort Key": ["orders.o_orderpriority"], "Sort Method": "quicksort", "Sort Space Used": 7334, "Sort Space Type": "Memory", "Workers": [{"Worker Number": 0, "Actual Startup Time": 1138.827, "Actual Total Time": 1143.187, "Actual Rows": 71267, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 1138.255, "Actual Total Time": 1142.625, "Actual Rows": 71353, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 1138.517, "Actual Total Time": 1142.966, "Actual Rows": 72135, "Actual Loops": 1}, {"Worker Number": 3, "Actual Startup Time": 1139.089, "Actual Total Time": 1143.57, "Actual Rows": 71982, "Actual Loops": 1}, {"Worker Number": 4, "Actual Startup Time": 1140.264, "Actual Total Time": 1144.918, "Actual Rows": 71369, "Actual Loops": 1}, {"Worker Number": 5, "Actual Startup Time": 1138.982, "Actual Total Time": 1143.378, "Actual Rows": 70906, "Actual Loops": 1}], "Plans": [{"Node Type": "Nested Loop", "Parent Relationship": "Outer", "Parallel Aware": false, "Join Type": "Semi", "Startup Cost": 7595.2, "Total Cost": 342994.06, "Plan Rows": 12618, "Plan Width": 16, "Actual Startup Time": 211.125, "Actual Total Time": 1112.68, "Actual Rows": 74276, "Actual Loops": 7, "Output": ["orders.o_orderpriority"], "Inner Unique": false, "Workers": [{"Worker Number": 0, "Actual Startup Time": 211.245, "Actual Total Time": 1112.23, "Actual Rows": 71267, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 211.352, "Actual Total Time": 1112.385, "Actual Rows": 71353, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 211.398, "Actual Total Time": 1112.304, "Actual Rows": 72135, "Actual Loops": 1}, {"Worker Number": 3, "Actual Startup Time": 211.398, "Actual Total Time": 1112.262, "Actual Rows": 71982, "Actual Loops": 1}, {"Worker Number": 4, "Actual Startup Time": 211.424, "Actual Total Time": 1112.438, "Actual Rows": 71369, "Actual Loops": 1}, {"Worker Number": 5, "Actual Startup Time": 211.494, "Actual Total Time": 1112.679, "Actual Rows": 70906, "Actual Loops": 1}], "Plans": [{"Node Type": "Bitmap Heap Scan", "Parent Relationship": "Outer", "Parallel Aware": true, "Relation Name": "orders", "Schema": "public", "Alias": "orders", "Startup Cost": 7594.64, "Total Cost": 269937.66, "Plan Rows": 95402, "Plan Width": 20, "Actual Startup Time": 211.054, "Actual Total Time": 434.312, "Actual Rows": 81014, "Actual Loops": 7, "Output": ["orders.o_orderkey", "orders.o_custkey", "orders.o_orderstatus", "orders.o_totalprice", "orders.o_orderdate", "orders.o_orderpriority", "orders.o_clerk", "orders.o_shippriority", "orders.o_comment"], "Recheck Cond": "((orders.o_orderdate >= '1996-01-01'::date) AND (orders.o_orderdate < '1996-04-01 00:00:00'::timestamp without time zone))", "Rows Removed by Index Recheck": 0, "Exact Heap Blocks": 40598, "Lossy Heap Blocks": 0, "Workers": [{"Worker Number": 0, "Actual Startup Time": 211.171, "Actual Total Time": 436.158, "Actual Rows": 77691, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 211.273, "Actual Total Time": 436.294, "Actual Rows": 77830, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 211.316, "Actual Total Time": 435.747, "Actual Rows": 78695, "Actual Loops": 1}, {"Worker Number": 3, "Actual Startup Time": 211.32, "Actual Total Time": 434.928, "Actual Rows": 78476, "Actual Loops": 1}, {"Worker Number": 4, "Actual Startup Time": 211.349, "Actual Total Time": 435.904, "Actual Rows": 77918, "Actual Loops": 1}, {"Worker Number": 5, "Actual Startup Time": 211.412, "Actual Total Time": 435.55, "Actual Rows": 77308, "Actual Loops": 1}], "Plans": [{"Node Type": "Bitmap Index Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Index Name": "o_od", "Startup Cost": 0.0, "Total Cost": 7451.54, "Plan Rows": 572410, "Plan Width": 0, "Actual Startup Time": 123.579, "Actual Total Time": 123.58, "Actual Rows": 567099, "Actual Loops": 1, "Index Cond": "((orders.o_orderdate >= '1996-01-01'::date) AND (orders.o_orderdate < '1996-04-01 00:00:00'::timestamp without time zone))"}]}, {"Node Type": "Index Scan", "Parent Relationship": "Inner", "Parallel Aware": false, "Scan Direction": "Forward", "Index Name": "l_ok", "Relation Name": "lineitem", "Schema": "public", "Alias": "lineitem", "Startup Cost": 0.56, "Total Cost": 2.36, "Plan Rows": 10, "Plan Width": 4, "Actual Startup Time": 0.008, "Actual Total Time": 0.008, "Actual Rows": 1, "Actual Loops": 567099, "Output": ["lineitem.l_orderkey", "lineitem.l_partkey", "lineitem.l_suppkey", "lineitem.l_linenumber", "lineitem.l_quantity", "lineitem.l_extendedprice", "lineitem.l_discount", "lineitem.l_tax", "lineitem.l_returnflag", "lineitem.l_linestatus", "lineitem.l_shipdate", "lineitem.l_commitdate", "lineitem.l_receiptdate", "lineitem.l_shipinstruct", "lineitem.l_shipmode", "lineitem.l_comment"], "Index Cond": "(lineitem.l_orderkey = orders.o_orderkey)", "Rows Removed by Index Recheck": 0, "Filter": "(lineitem.l_commitdate < lineitem.l_receiptdate)", "Rows Removed by Filter": 1, "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.008, "Actual Total Time": 0.008, "Actual Rows": 1, "Actual Loops": 77691}, {"Worker Number": 1, "Actual Startup Time": 0.008, "Actual Total Time": 0.008, "Actual Rows": 1, "Actual Loops": 77830}, {"Worker Number": 2, "Actual Startup Time": 0.008, "Actual Total Time": 0.008, "Actual Rows": 1, "Actual Loops": 78695}, {"Worker Number": 3, "Actual Startup Time": 0.008, "Actual Total Time": 0.008, "Actual Rows": 1, "Actual Loops": 78476}, {"Worker Number": 4, "Actual Startup Time": 0.008, "Actual Total Time": 0.008, "Actual Rows": 1, "Actual Loops": 77918}, {"Worker Number": 5, "Actual Startup Time": 0.008, "Actual Total Time": 0.008, "Actual Rows": 1, "Actual Loops": 77308}]}]}]}]}]}]}, "Planning Time": 0.596, "Triggers": [], "Execution Time": 1327.219} diff --git a/dev9/pg10/tpch/sf_10/explain_analyze/15721/5-1.ok b/dev9/pg10/tpch/sf_10/explain_analyze/15721/5-1.ok new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/dev9/pg10/tpch/sf_10/explain_analyze/15721/5-1.res b/dev9/pg10/tpch/sf_10/explain_analyze/15721/5-1.res new file mode 100644 index 0000000000000000000000000000000000000000..e5a0a52a944a1f13e8d7ed59001023ddb7364f85 --- /dev/null +++ b/dev9/pg10/tpch/sf_10/explain_analyze/15721/5-1.res @@ -0,0 +1 @@ +{"Plan": {"Node Type": "Sort", "Parallel Aware": false, "Startup Cost": 363126.42, "Total Cost": 363126.48, "Plan Rows": 25, "Plan Width": 58, "Actual Startup Time": 2313.285, "Actual Total Time": 2537.032, "Actual Rows": 5, "Actual Loops": 1, "Output": ["nation.n_name", "(sum((lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount))))"], "Sort Key": ["(sum((lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount)))) DESC"], "Sort Method": "quicksort", "Sort Space Used": 25, "Sort Space Type": "Memory", "Plans": [{"Node Type": "Aggregate", "Strategy": "Sorted", "Partial Mode": "Finalize", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 362883.86, "Total Cost": 363125.84, "Plan Rows": 25, "Plan Width": 58, "Actual Startup Time": 2305.868, "Actual Total Time": 2537.022, "Actual Rows": 5, "Actual Loops": 1, "Output": ["nation.n_name", "sum((lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount)))"], "Group Key": ["nation.n_name"], "Plans": [{"Node Type": "Gather Merge", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 362883.86, "Total Cost": 363124.78, "Plan Rows": 100, "Plan Width": 58, "Actual Startup Time": 2303.907, "Actual Total Time": 2536.99, "Actual Rows": 25, "Actual Loops": 1, "Output": ["nation.n_name", "(PARTIAL sum((lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount))))"], "Workers Planned": 4, "Workers Launched": 4, "Plans": [{"Node Type": "Aggregate", "Strategy": "Sorted", "Partial Mode": "Partial", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 361883.8, "Total Cost": 362112.81, "Plan Rows": 25, "Plan Width": 58, "Actual Startup Time": 2299.68, "Actual Total Time": 2306.623, "Actual Rows": 5, "Actual Loops": 5, "Output": ["nation.n_name", "PARTIAL sum((lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount)))"], "Group Key": ["nation.n_name"], "Workers": [{"Worker Number": 0, "Actual Startup Time": 2299.086, "Actual Total Time": 2305.861, "Actual Rows": 5, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 2298.669, "Actual Total Time": 2305.389, "Actual Rows": 5, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 2298.428, "Actual Total Time": 2305.117, "Actual Rows": 5, "Actual Loops": 1}, {"Worker Number": 3, "Actual Startup Time": 2299.075, "Actual Total Time": 2305.726, "Actual Rows": 5, "Actual Loops": 1}], "Plans": [{"Node Type": "Sort", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 361883.8, "Total Cost": 361929.54, "Plan Rows": 18296, "Plan Width": 38, "Actual Startup Time": 2297.948, "Actual Total Time": 2298.892, "Actual Rows": 14545, "Actual Loops": 5, "Output": ["nation.n_name", "lineitem.l_extendedprice", "lineitem.l_discount"], "Sort Key": ["nation.n_name"], "Sort Method": "quicksort", "Sort Space Used": 1657, "Sort Space Type": "Memory", "Workers": [{"Worker Number": 0, "Actual Startup Time": 2297.449, "Actual Total Time": 2298.345, "Actual Rows": 14193, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 2296.929, "Actual Total Time": 2297.861, "Actual Rows": 14202, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 2296.749, "Actual Total Time": 2297.658, "Actual Rows": 14066, "Actual Loops": 1}, {"Worker Number": 3, "Actual Startup Time": 2297.399, "Actual Total Time": 2298.317, "Actual Rows": 13976, "Actual Loops": 1}], "Plans": [{"Node Type": "Hash Join", "Parent Relationship": "Outer", "Parallel Aware": false, "Join Type": "Inner", "Startup Cost": 4719.51, "Total Cost": 360588.51, "Plan Rows": 18296, "Plan Width": 38, "Actual Startup Time": 52.234, "Actual Total Time": 2290.76, "Actual Rows": 14545, "Actual Loops": 5, "Output": ["nation.n_name", "lineitem.l_extendedprice", "lineitem.l_discount"], "Inner Unique": true, "Hash Cond": "((lineitem.l_suppkey = supplier.s_suppkey) AND (customer.c_nationkey = supplier.s_nationkey))", "Workers": [{"Worker Number": 0, "Actual Startup Time": 54.903, "Actual Total Time": 2289.795, "Actual Rows": 14193, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 55.311, "Actual Total Time": 2289.697, "Actual Rows": 14202, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 55.775, "Actual Total Time": 2289.486, "Actual Rows": 14066, "Actual Loops": 1}, {"Worker Number": 3, "Actual Startup Time": 54.654, "Actual Total Time": 2290.008, "Actual Rows": 13976, "Actual Loops": 1}], "Plans": [{"Node Type": "Nested Loop", "Parent Relationship": "Outer", "Parallel Aware": false, "Join Type": "Inner", "Startup Cost": 3.51, "Total Cost": 353471.2, "Plan Rows": 457393, "Plan Width": 50, "Actual Startup Time": 0.282, "Actual Total Time": 2131.886, "Actual Rows": 363271, "Actual Loops": 5, "Output": ["customer.c_nationkey", "lineitem.l_extendedprice", "lineitem.l_discount", "lineitem.l_suppkey", "nation.n_name", "nation.n_nationkey"], "Inner Unique": false, "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.385, "Actual Total Time": 2125.042, "Actual Rows": 355060, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 0.287, "Actual Total Time": 2124.466, "Actual Rows": 353660, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 0.354, "Actual Total Time": 2125.45, "Actual Rows": 349928, "Actual Loops": 1}, {"Worker Number": 3, "Actual Startup Time": 0.321, "Actual Total Time": 2125.459, "Actual Rows": 350693, "Actual Loops": 1}], "Plans": [{"Node Type": "Nested Loop", "Parent Relationship": "Outer", "Parallel Aware": false, "Join Type": "Inner", "Startup Cost": 2.94, "Total Cost": 123598.12, "Plan Rows": 114372, "Plan Width": 38, "Actual Startup Time": 0.205, "Actual Total Time": 1148.67, "Actual Rows": 90894, "Actual Loops": 5, "Output": ["customer.c_nationkey", "orders.o_orderkey", "nation.n_name", "nation.n_nationkey"], "Inner Unique": false, "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.289, "Actual Total Time": 1123.549, "Actual Rows": 88813, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 0.208, "Actual Total Time": 1125.65, "Actual Rows": 88452, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 0.26, "Actual Total Time": 1125.264, "Actual Rows": 87641, "Actual Loops": 1}, {"Worker Number": 3, "Actual Startup Time": 0.22, "Actual Total Time": 1123.493, "Actual Rows": 87586, "Actual Loops": 1}], "Plans": [{"Node Type": "Hash Join", "Parent Relationship": "Outer", "Parallel Aware": false, "Join Type": "Inner", "Startup Cost": 2.51, "Total Cost": 41735.76, "Plan Rows": 75000, "Plan Width": 38, "Actual Startup Time": 0.112, "Actual Total Time": 121.39, "Actual Rows": 59887, "Actual Loops": 5, "Output": ["customer.c_custkey", "customer.c_nationkey", "nation.n_name", "nation.n_nationkey"], "Inner Unique": false, "Hash Cond": "(customer.c_nationkey = nation.n_nationkey)", "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.128, "Actual Total Time": 119.309, "Actual Rows": 58355, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 0.134, "Actual Total Time": 119.788, "Actual Rows": 58390, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 0.13, "Actual Total Time": 118.417, "Actual Rows": 57627, "Actual Loops": 1}, {"Worker Number": 3, "Actual Startup Time": 0.137, "Actual Total Time": 118.549, "Actual Rows": 57632, "Actual Loops": 1}], "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": true, "Relation Name": "customer", "Schema": "public", "Alias": "customer", "Startup Cost": 0.0, "Total Cost": 39577.0, "Plan Rows": 375000, "Plan Width": 8, "Actual Startup Time": 0.021, "Actual Total Time": 44.569, "Actual Rows": 300000, "Actual Loops": 5, "Output": ["customer.c_custkey", "customer.c_name", "customer.c_address", "customer.c_nationkey", "customer.c_phone", "customer.c_acctbal", "customer.c_mktsegment", "customer.c_comment"], "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.023, "Actual Total Time": 46.331, "Actual Rows": 291811, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 0.025, "Actual Total Time": 46.401, "Actual Rows": 293556, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 0.024, "Actual Total Time": 45.808, "Actual Rows": 288881, "Actual Loops": 1}, {"Worker Number": 3, "Actual Startup Time": 0.03, "Actual Total Time": 46.061, "Actual Rows": 287890, "Actual Loops": 1}]}, {"Node Type": "Hash", "Parent Relationship": "Inner", "Parallel Aware": false, "Startup Cost": 2.45, "Total Cost": 2.45, "Plan Rows": 5, "Plan Width": 30, "Actual Startup Time": 0.048, "Actual Total Time": 0.05, "Actual Rows": 5, "Actual Loops": 5, "Output": ["nation.n_name", "nation.n_nationkey"], "Hash Buckets": 1024, "Original Hash Buckets": 1024, "Hash Batches": 1, "Original Hash Batches": 1, "Peak Memory Usage": 9, "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.055, "Actual Total Time": 0.057, "Actual Rows": 5, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 0.057, "Actual Total Time": 0.059, "Actual Rows": 5, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 0.054, "Actual Total Time": 0.056, "Actual Rows": 5, "Actual Loops": 1}, {"Worker Number": 3, "Actual Startup Time": 0.054, "Actual Total Time": 0.057, "Actual Rows": 5, "Actual Loops": 1}], "Plans": [{"Node Type": "Hash Join", "Parent Relationship": "Outer", "Parallel Aware": false, "Join Type": "Inner", "Startup Cost": 1.07, "Total Cost": 2.45, "Plan Rows": 5, "Plan Width": 30, "Actual Startup Time": 0.038, "Actual Total Time": 0.046, "Actual Rows": 5, "Actual Loops": 5, "Output": ["nation.n_name", "nation.n_nationkey"], "Inner Unique": true, "Hash Cond": "(nation.n_regionkey = region.r_regionkey)", "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.045, "Actual Total Time": 0.052, "Actual Rows": 5, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 0.046, "Actual Total Time": 0.055, "Actual Rows": 5, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 0.045, "Actual Total Time": 0.052, "Actual Rows": 5, "Actual Loops": 1}, {"Worker Number": 3, "Actual Startup Time": 0.045, "Actual Total Time": 0.052, "Actual Rows": 5, "Actual Loops": 1}], "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Relation Name": "nation", "Schema": "public", "Alias": "nation", "Startup Cost": 0.0, "Total Cost": 1.25, "Plan Rows": 25, "Plan Width": 34, "Actual Startup Time": 0.013, "Actual Total Time": 0.015, "Actual Rows": 25, "Actual Loops": 5, "Output": ["nation.n_nationkey", "nation.n_name", "nation.n_regionkey", "nation.n_comment"], "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.016, "Actual Total Time": 0.018, "Actual Rows": 25, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 0.015, "Actual Total Time": 0.018, "Actual Rows": 25, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 0.016, "Actual Total Time": 0.019, "Actual Rows": 25, "Actual Loops": 1}, {"Worker Number": 3, "Actual Startup Time": 0.016, "Actual Total Time": 0.018, "Actual Rows": 25, "Actual Loops": 1}]}, {"Node Type": "Hash", "Parent Relationship": "Inner", "Parallel Aware": false, "Startup Cost": 1.06, "Total Cost": 1.06, "Plan Rows": 1, "Plan Width": 4, "Actual Startup Time": 0.014, "Actual Total Time": 0.014, "Actual Rows": 1, "Actual Loops": 5, "Output": ["region.r_regionkey"], "Hash Buckets": 1024, "Original Hash Buckets": 1024, "Hash Batches": 1, "Original Hash Batches": 1, "Peak Memory Usage": 9, "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.016, "Actual Total Time": 0.016, "Actual Rows": 1, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 0.016, "Actual Total Time": 0.017, "Actual Rows": 1, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 0.015, "Actual Total Time": 0.015, "Actual Rows": 1, "Actual Loops": 1}, {"Worker Number": 3, "Actual Startup Time": 0.015, "Actual Total Time": 0.016, "Actual Rows": 1, "Actual Loops": 1}], "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Relation Name": "region", "Schema": "public", "Alias": "region", "Startup Cost": 0.0, "Total Cost": 1.06, "Plan Rows": 1, "Plan Width": 4, "Actual Startup Time": 0.009, "Actual Total Time": 0.011, "Actual Rows": 1, "Actual Loops": 5, "Output": ["region.r_regionkey"], "Filter": "(region.r_name = 'AMERICA'::bpchar)", "Rows Removed by Filter": 4, "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.011, "Actual Total Time": 0.012, "Actual Rows": 1, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 0.011, "Actual Total Time": 0.012, "Actual Rows": 1, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 0.011, "Actual Total Time": 0.012, "Actual Rows": 1, "Actual Loops": 1}, {"Worker Number": 3, "Actual Startup Time": 0.011, "Actual Total Time": 0.012, "Actual Rows": 1, "Actual Loops": 1}]}]}]}]}]}, {"Node Type": "Index Scan", "Parent Relationship": "Inner", "Parallel Aware": false, "Scan Direction": "Forward", "Index Name": "o_ck", "Relation Name": "orders", "Schema": "public", "Alias": "orders", "Startup Cost": 0.43, "Total Cost": 1.06, "Plan Rows": 3, "Plan Width": 8, "Actual Startup Time": 0.008, "Actual Total Time": 0.017, "Actual Rows": 2, "Actual Loops": 299436, "Output": ["orders.o_orderkey", "orders.o_custkey", "orders.o_orderstatus", "orders.o_totalprice", "orders.o_orderdate", "orders.o_orderpriority", "orders.o_clerk", "orders.o_shippriority", "orders.o_comment"], "Index Cond": "(orders.o_custkey = customer.c_custkey)", "Rows Removed by Index Recheck": 0, "Filter": "((orders.o_orderdate >= '1995-01-01'::date) AND (orders.o_orderdate < '1996-01-01 00:00:00'::timestamp without time zone))", "Rows Removed by Filter": 8, "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.008, "Actual Total Time": 0.017, "Actual Rows": 2, "Actual Loops": 58355}, {"Worker Number": 1, "Actual Startup Time": 0.008, "Actual Total Time": 0.017, "Actual Rows": 2, "Actual Loops": 58390}, {"Worker Number": 2, "Actual Startup Time": 0.008, "Actual Total Time": 0.017, "Actual Rows": 2, "Actual Loops": 57627}, {"Worker Number": 3, "Actual Startup Time": 0.008, "Actual Total Time": 0.017, "Actual Rows": 2, "Actual Loops": 57632}]}]}, {"Node Type": "Index Scan", "Parent Relationship": "Inner", "Parallel Aware": false, "Scan Direction": "Forward", "Index Name": "l_ok", "Relation Name": "lineitem", "Schema": "public", "Alias": "lineitem", "Startup Cost": 0.56, "Total Cost": 1.71, "Plan Rows": 30, "Plan Width": 20, "Actual Startup Time": 0.009, "Actual Total Time": 0.01, "Actual Rows": 4, "Actual Loops": 454468, "Output": ["lineitem.l_orderkey", "lineitem.l_partkey", "lineitem.l_suppkey", "lineitem.l_linenumber", "lineitem.l_quantity", "lineitem.l_extendedprice", "lineitem.l_discount", "lineitem.l_tax", "lineitem.l_returnflag", "lineitem.l_linestatus", "lineitem.l_shipdate", "lineitem.l_commitdate", "lineitem.l_receiptdate", "lineitem.l_shipinstruct", "lineitem.l_shipmode", "lineitem.l_comment"], "Index Cond": "(lineitem.l_orderkey = orders.o_orderkey)", "Rows Removed by Index Recheck": 0, "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.009, "Actual Total Time": 0.01, "Actual Rows": 4, "Actual Loops": 88813}, {"Worker Number": 1, "Actual Startup Time": 0.009, "Actual Total Time": 0.01, "Actual Rows": 4, "Actual Loops": 88452}, {"Worker Number": 2, "Actual Startup Time": 0.009, "Actual Total Time": 0.01, "Actual Rows": 4, "Actual Loops": 87641}, {"Worker Number": 3, "Actual Startup Time": 0.009, "Actual Total Time": 0.01, "Actual Rows": 4, "Actual Loops": 87586}]}]}, {"Node Type": "Hash", "Parent Relationship": "Inner", "Parallel Aware": false, "Startup Cost": 3216.0, "Total Cost": 3216.0, "Plan Rows": 100000, "Plan Width": 8, "Actual Startup Time": 51.009, "Actual Total Time": 51.01, "Actual Rows": 100000, "Actual Loops": 5, "Output": ["supplier.s_suppkey", "supplier.s_nationkey"], "Hash Buckets": 131072, "Original Hash Buckets": 131072, "Hash Batches": 1, "Original Hash Batches": 1, "Peak Memory Usage": 4931, "Workers": [{"Worker Number": 0, "Actual Startup Time": 53.598, "Actual Total Time": 53.599, "Actual Rows": 100000, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 53.803, "Actual Total Time": 53.803, "Actual Rows": 100000, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 53.625, "Actual Total Time": 53.625, "Actual Rows": 100000, "Actual Loops": 1}, {"Worker Number": 3, "Actual Startup Time": 53.668, "Actual Total Time": 53.669, "Actual Rows": 100000, "Actual Loops": 1}], "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Relation Name": "supplier", "Schema": "public", "Alias": "supplier", "Startup Cost": 0.0, "Total Cost": 3216.0, "Plan Rows": 100000, "Plan Width": 8, "Actual Startup Time": 0.012, "Actual Total Time": 30.595, "Actual Rows": 100000, "Actual Loops": 5, "Output": ["supplier.s_suppkey", "supplier.s_nationkey"], "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.013, "Actual Total Time": 32.772, "Actual Rows": 100000, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 0.014, "Actual Total Time": 31.879, "Actual Rows": 100000, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 0.014, "Actual Total Time": 32.411, "Actual Rows": 100000, "Actual Loops": 1}, {"Worker Number": 3, "Actual Startup Time": 0.014, "Actual Total Time": 31.95, "Actual Rows": 100000, "Actual Loops": 1}]}]}]}]}]}]}]}]}, "Planning Time": 2.638, "Triggers": [], "Execution Time": 2537.127} diff --git a/dev9/pg10/tpch/sf_10/explain_analyze/15721/6-1.ok b/dev9/pg10/tpch/sf_10/explain_analyze/15721/6-1.ok new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/dev9/pg10/tpch/sf_10/explain_analyze/15721/6-1.res b/dev9/pg10/tpch/sf_10/explain_analyze/15721/6-1.res new file mode 100644 index 0000000000000000000000000000000000000000..bbd603c6191cd1f0c3a7820a1f6cd4c73dd0b846 --- /dev/null +++ b/dev9/pg10/tpch/sf_10/explain_analyze/15721/6-1.res @@ -0,0 +1 @@ +{"Plan": {"Node Type": "Aggregate", "Strategy": "Plain", "Partial Mode": "Finalize", "Parallel Aware": false, "Startup Cost": 1274519.03, "Total Cost": 1274519.04, "Plan Rows": 1, "Plan Width": 32, "Actual Startup Time": 4786.062, "Actual Total Time": 5005.59, "Actual Rows": 1, "Actual Loops": 1, "Output": ["sum((l_extendedprice * l_discount))"], "Plans": [{"Node Type": "Gather", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 1274518.28, "Total Cost": 1274518.99, "Plan Rows": 7, "Plan Width": 32, "Actual Startup Time": 4772.841, "Actual Total Time": 5005.574, "Actual Rows": 8, "Actual Loops": 1, "Output": ["(PARTIAL sum((l_extendedprice * l_discount)))"], "Workers Planned": 7, "Workers Launched": 7, "Single Copy": false, "Plans": [{"Node Type": "Aggregate", "Strategy": "Plain", "Partial Mode": "Partial", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 1273518.28, "Total Cost": 1273518.29, "Plan Rows": 1, "Plan Width": 32, "Actual Startup Time": 4768.71, "Actual Total Time": 4768.712, "Actual Rows": 1, "Actual Loops": 8, "Output": ["PARTIAL sum((l_extendedprice * l_discount))"], "Workers": [{"Worker Number": 0, "Actual Startup Time": 4767.892, "Actual Total Time": 4767.894, "Actual Rows": 1, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 4768.027, "Actual Total Time": 4768.028, "Actual Rows": 1, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 4768.213, "Actual Total Time": 4768.214, "Actual Rows": 1, "Actual Loops": 1}, {"Worker Number": 3, "Actual Startup Time": 4768.23, "Actual Total Time": 4768.232, "Actual Rows": 1, "Actual Loops": 1}, {"Worker Number": 4, "Actual Startup Time": 4768.269, "Actual Total Time": 4768.269, "Actual Rows": 1, "Actual Loops": 1}, {"Worker Number": 5, "Actual Startup Time": 4768.237, "Actual Total Time": 4768.238, "Actual Rows": 1, "Actual Loops": 1}, {"Worker Number": 6, "Actual Startup Time": 4768.418, "Actual Total Time": 4768.419, "Actual Rows": 1, "Actual Loops": 1}], "Plans": [{"Node Type": "Bitmap Heap Scan", "Parent Relationship": "Outer", "Parallel Aware": true, "Relation Name": "lineitem", "Schema": "public", "Alias": "lineitem", "Startup Cost": 118873.5, "Total Cost": 1272700.04, "Plan Rows": 163648, "Plan Width": 12, "Actual Startup Time": 1181.028, "Actual Total Time": 4719.913, "Actual Rows": 143005, "Actual Loops": 8, "Output": ["l_extendedprice", "l_discount"], "Recheck Cond": "((lineitem.l_shipdate >= '1995-01-01'::date) AND (lineitem.l_shipdate < '1996-01-01 00:00:00'::timestamp without time zone))", "Rows Removed by Index Recheck": 4655288, "Filter": "((lineitem.l_discount >= 0.04) AND (lineitem.l_discount <= 0.06) AND (lineitem.l_quantity < '24'::numeric))", "Rows Removed by Filter": 995325, "Exact Heap Blocks": 26962, "Lossy Heap Blocks": 112796, "Workers": [{"Worker Number": 0, "Actual Startup Time": 1180.702, "Actual Total Time": 4718.489, "Actual Rows": 142794, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 1180.851, "Actual Total Time": 4719.156, "Actual Rows": 142387, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 1181.183, "Actual Total Time": 4719.471, "Actual Rows": 142071, "Actual Loops": 1}, {"Worker Number": 3, "Actual Startup Time": 1181.062, "Actual Total Time": 4719.515, "Actual Rows": 141910, "Actual Loops": 1}, {"Worker Number": 4, "Actual Startup Time": 1181.107, "Actual Total Time": 4718.997, "Actual Rows": 143647, "Actual Loops": 1}, {"Worker Number": 5, "Actual Startup Time": 1181.06, "Actual Total Time": 4719.407, "Actual Rows": 142373, "Actual Loops": 1}, {"Worker Number": 6, "Actual Startup Time": 1181.231, "Actual Total Time": 4721.807, "Actual Rows": 136276, "Actual Loops": 1}], "Plans": [{"Node Type": "Bitmap Index Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Index Name": "l_sd", "Startup Cost": 0.0, "Total Cost": 118587.12, "Plan Rows": 9110745, "Plan Width": 0, "Actual Startup Time": 1100.483, "Actual Total Time": 1100.484, "Actual Rows": 9106637, "Actual Loops": 1, "Index Cond": "((lineitem.l_shipdate >= '1995-01-01'::date) AND (lineitem.l_shipdate < '1996-01-01 00:00:00'::timestamp without time zone))"}]}]}]}]}, "Planning Time": 0.161, "Triggers": [], "Execution Time": 5005.634} diff --git a/dev9/pg10/tpch/sf_10/explain_analyze/15721/7-1.ok b/dev9/pg10/tpch/sf_10/explain_analyze/15721/7-1.ok new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/dev9/pg10/tpch/sf_10/explain_analyze/15721/7-1.res b/dev9/pg10/tpch/sf_10/explain_analyze/15721/7-1.res new file mode 100644 index 0000000000000000000000000000000000000000..3590b8b79d7af89a8b2cd5fb1834916b987bed45 --- /dev/null +++ b/dev9/pg10/tpch/sf_10/explain_analyze/15721/7-1.res @@ -0,0 +1 @@ +{"Plan": {"Node Type": "Aggregate", "Strategy": "Sorted", "Partial Mode": "Finalize", "Parallel Aware": false, "Startup Cost": 376549.43, "Total Cost": 378789.13, "Plan Rows": 10092, "Plan Width": 92, "Actual Startup Time": 6644.364, "Actual Total Time": 6937.91, "Actual Rows": 4, "Actual Loops": 1, "Output": ["n1.n_name", "n2.n_name", "(date_part('year'::text, (lineitem.l_shipdate)::timestamp without time zone))", "sum((lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount)))"], "Group Key": ["n1.n_name", "n2.n_name", "(date_part('year'::text, (lineitem.l_shipdate)::timestamp without time zone))"], "Plans": [{"Node Type": "Gather Merge", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 376549.43, "Total Cost": 378486.37, "Plan Rows": 10092, "Plan Width": 92, "Actual Startup Time": 6638.839, "Actual Total Time": 6937.871, "Actual Rows": 8, "Actual Loops": 1, "Output": ["n1.n_name", "n2.n_name", "(date_part('year'::text, (lineitem.l_shipdate)::timestamp without time zone))", "(PARTIAL sum((lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount))))"], "Workers Planned": 1, "Workers Launched": 1, "Plans": [{"Node Type": "Aggregate", "Strategy": "Sorted", "Partial Mode": "Partial", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 375549.42, "Total Cost": 376351.01, "Plan Rows": 10092, "Plan Width": 92, "Actual Startup Time": 6624.762, "Actual Total Time": 6640.116, "Actual Rows": 4, "Actual Loops": 2, "Output": ["n1.n_name", "n2.n_name", "(date_part('year'::text, (lineitem.l_shipdate)::timestamp without time zone))", "PARTIAL sum((lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount)))"], "Group Key": ["n1.n_name", "n2.n_name", "(date_part('year'::text, (lineitem.l_shipdate)::timestamp without time zone))"], "Workers": [{"Worker Number": 0, "Actual Startup Time": 6633.567, "Actual Total Time": 6647.578, "Actual Rows": 4, "Actual Loops": 1}], "Plans": [{"Node Type": "Sort", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 375549.42, "Total Cost": 375638.71, "Plan Rows": 35713, "Plan Width": 72, "Actual Startup Time": 6619.851, "Actual Total Time": 6621.837, "Actual Rows": 28896, "Actual Loops": 2, "Output": ["n1.n_name", "n2.n_name", "(date_part('year'::text, (lineitem.l_shipdate)::timestamp without time zone))", "lineitem.l_extendedprice", "lineitem.l_discount"], "Sort Key": ["n1.n_name", "n2.n_name", "(date_part('year'::text, (lineitem.l_shipdate)::timestamp without time zone))"], "Sort Method": "quicksort", "Sort Space Used": 5130, "Sort Space Type": "Memory", "Workers": [{"Worker Number": 0, "Actual Startup Time": 6628.994, "Actual Total Time": 6630.798, "Actual Rows": 26781, "Actual Loops": 1}], "Plans": [{"Node Type": "Hash Join", "Parent Relationship": "Outer", "Parallel Aware": false, "Join Type": "Inner", "Startup Cost": 202245.36, "Total Cost": 372848.78, "Plan Rows": 35713, "Plan Width": 72, "Actual Startup Time": 2456.847, "Actual Total Time": 6602.026, "Actual Rows": 28896, "Actual Loops": 2, "Output": ["n1.n_name", "n2.n_name", "date_part('year'::text, (lineitem.l_shipdate)::timestamp without time zone)", "lineitem.l_extendedprice", "lineitem.l_discount"], "Inner Unique": false, "Hash Cond": "(lineitem.l_orderkey = orders.o_orderkey)", "Join Filter": "(((n1.n_name = 'IRAN'::bpchar) AND (n2.n_name = 'ETHIOPIA'::bpchar)) OR ((n1.n_name = 'ETHIOPIA'::bpchar) AND (n2.n_name = 'IRAN'::bpchar)))", "Rows Removed by Join Filter": 28926, "Workers": [{"Worker Number": 0, "Actual Startup Time": 2573.544, "Actual Total Time": 6612.458, "Actual Rows": 26781, "Actual Loops": 1}], "Plans": [{"Node Type": "Nested Loop", "Parent Relationship": "Outer", "Parallel Aware": false, "Join Type": "Inner", "Startup Cost": 1.96, "Total Cost": 142545.67, "Plan Rows": 858157, "Plan Width": 46, "Actual Startup Time": 0.246, "Actual Total Time": 3701.267, "Actual Rows": 725418, "Actual Loops": 2, "Output": ["lineitem.l_shipdate", "lineitem.l_extendedprice", "lineitem.l_discount", "lineitem.l_orderkey", "n1.n_name"], "Inner Unique": false, "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.44, "Actual Total Time": 3596.703, "Actual Rows": 669167, "Actual Loops": 1}], "Plans": [{"Node Type": "Hash Join", "Parent Relationship": "Outer", "Parallel Aware": false, "Join Type": "Inner", "Startup Cost": 1.4, "Total Cost": 2986.23, "Plan Rows": 4706, "Plan Width": 30, "Actual Startup Time": 0.064, "Actual Total Time": 18.545, "Actual Rows": 3984, "Actual Loops": 2, "Output": ["supplier.s_suppkey", "n1.n_name"], "Inner Unique": true, "Hash Cond": "(supplier.s_nationkey = n1.n_nationkey)", "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.105, "Actual Total Time": 16.646, "Actual Rows": 3679, "Actual Loops": 1}], "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": true, "Relation Name": "supplier", "Schema": "public", "Alias": "supplier", "Startup Cost": 0.0, "Total Cost": 2804.24, "Plan Rows": 58824, "Plan Width": 8, "Actual Startup Time": 0.013, "Actual Total Time": 6.392, "Actual Rows": 50000, "Actual Loops": 2, "Output": ["supplier.s_suppkey", "supplier.s_name", "supplier.s_address", "supplier.s_nationkey", "supplier.s_phone", "supplier.s_acctbal", "supplier.s_comment"], "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.023, "Actual Total Time": 6.063, "Actual Rows": 45766, "Actual Loops": 1}]}, {"Node Type": "Hash", "Parent Relationship": "Inner", "Parallel Aware": false, "Startup Cost": 1.38, "Total Cost": 1.38, "Plan Rows": 2, "Plan Width": 30, "Actual Startup Time": 0.022, "Actual Total Time": 0.023, "Actual Rows": 2, "Actual Loops": 2, "Output": ["n1.n_name", "n1.n_nationkey"], "Hash Buckets": 1024, "Original Hash Buckets": 1024, "Hash Batches": 1, "Original Hash Batches": 1, "Peak Memory Usage": 9, "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.031, "Actual Total Time": 0.032, "Actual Rows": 2, "Actual Loops": 1}], "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Relation Name": "nation", "Schema": "public", "Alias": "n1", "Startup Cost": 0.0, "Total Cost": 1.38, "Plan Rows": 2, "Plan Width": 30, "Actual Startup Time": 0.014, "Actual Total Time": 0.019, "Actual Rows": 2, "Actual Loops": 2, "Output": ["n1.n_name", "n1.n_nationkey"], "Filter": "((n1.n_name = 'IRAN'::bpchar) OR (n1.n_name = 'ETHIOPIA'::bpchar))", "Rows Removed by Filter": 23, "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.022, "Actual Total Time": 0.027, "Actual Rows": 2, "Actual Loops": 1}]}]}]}, {"Node Type": "Index Scan", "Parent Relationship": "Inner", "Parallel Aware": false, "Scan Direction": "Forward", "Index Name": "l_sk", "Relation Name": "lineitem", "Schema": "public", "Alias": "lineitem", "Startup Cost": 0.56, "Total Cost": 27.83, "Plan Rows": 183, "Plan Width": 24, "Actual Startup Time": 0.017, "Actual Total Time": 0.9, "Actual Rows": 182, "Actual Loops": 7968, "Output": ["lineitem.l_orderkey", "lineitem.l_partkey", "lineitem.l_suppkey", "lineitem.l_linenumber", "lineitem.l_quantity", "lineitem.l_extendedprice", "lineitem.l_discount", "lineitem.l_tax", "lineitem.l_returnflag", "lineitem.l_linestatus", "lineitem.l_shipdate", "lineitem.l_commitdate", "lineitem.l_receiptdate", "lineitem.l_shipinstruct", "lineitem.l_shipmode", "lineitem.l_comment"], "Index Cond": "(lineitem.l_suppkey = supplier.s_suppkey)", "Rows Removed by Index Recheck": 0, "Filter": "((lineitem.l_shipdate >= '1995-01-01'::date) AND (lineitem.l_shipdate <= '1996-12-31'::date))", "Rows Removed by Filter": 417, "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.019, "Actual Total Time": 0.948, "Actual Rows": 182, "Actual Loops": 3679}]}]}, {"Node Type": "Hash", "Parent Relationship": "Inner", "Parallel Aware": false, "Startup Cost": 179039.16, "Total Cost": 179039.16, "Plan Rows": 1200019, "Plan Width": 30, "Actual Startup Time": 2450.068, "Actual Total Time": 2450.071, "Actual Rows": 1203123, "Actual Loops": 2, "Output": ["orders.o_orderkey", "n2.n_name"], "Hash Buckets": 524288, "Original Hash Buckets": 524288, "Hash Batches": 8, "Original Hash Batches": 8, "Peak Memory Usage": 13199, "Workers": [{"Worker Number": 0, "Actual Startup Time": 2562.225, "Actual Total Time": 2562.228, "Actual Rows": 1203123, "Actual Loops": 1}], "Plans": [{"Node Type": "Nested Loop", "Parent Relationship": "Outer", "Parallel Aware": false, "Join Type": "Inner", "Startup Cost": 640.76, "Total Cost": 179039.16, "Plan Rows": 1200019, "Plan Width": 30, "Actual Startup Time": 16.554, "Actual Total Time": 2176.924, "Actual Rows": 1203123, "Actual Loops": 2, "Output": ["orders.o_orderkey", "n2.n_name"], "Inner Unique": false, "Workers": [{"Worker Number": 0, "Actual Startup Time": 18.671, "Actual Total Time": 2287.798, "Actual Rows": 1203123, "Actual Loops": 1}], "Plans": [{"Node Type": "Nested Loop", "Parent Relationship": "Outer", "Parallel Aware": false, "Join Type": "Inner", "Startup Cost": 640.33, "Total Cost": 40859.37, "Plan Rows": 120000, "Plan Width": 30, "Actual Startup Time": 16.515, "Actual Total Time": 189.081, "Actual Rows": 120572, "Actual Loops": 2, "Output": ["customer.c_custkey", "n2.n_name"], "Inner Unique": false, "Workers": [{"Worker Number": 0, "Actual Startup Time": 18.605, "Actual Total Time": 206.296, "Actual Rows": 120572, "Actual Loops": 1}], "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Relation Name": "nation", "Schema": "public", "Alias": "n2", "Startup Cost": 0.0, "Total Cost": 1.38, "Plan Rows": 2, "Plan Width": 30, "Actual Startup Time": 0.004, "Actual Total Time": 0.016, "Actual Rows": 2, "Actual Loops": 2, "Output": ["n2.n_nationkey", "n2.n_name", "n2.n_regionkey", "n2.n_comment"], "Filter": "((n2.n_name = 'ETHIOPIA'::bpchar) OR (n2.n_name = 'IRAN'::bpchar))", "Rows Removed by Filter": 23, "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.004, "Actual Total Time": 0.016, "Actual Rows": 2, "Actual Loops": 1}]}, {"Node Type": "Bitmap Heap Scan", "Parent Relationship": "Inner", "Parallel Aware": false, "Relation Name": "customer", "Schema": "public", "Alias": "customer", "Startup Cost": 640.33, "Total Cost": 19829.0, "Plan Rows": 60000, "Plan Width": 8, "Actual Startup Time": 16.341, "Actual Total Time": 85.164, "Actual Rows": 60286, "Actual Loops": 4, "Output": ["customer.c_custkey", "customer.c_name", "customer.c_address", "customer.c_nationkey", "customer.c_phone", "customer.c_acctbal", "customer.c_mktsegment", "customer.c_comment"], "Recheck Cond": "(customer.c_nationkey = n2.n_nationkey)", "Rows Removed by Index Recheck": 0, "Exact Heap Blocks": 58834, "Lossy Heap Blocks": 0, "Workers": [{"Worker Number": 0, "Actual Startup Time": 17.794, "Actual Total Time": 93.478, "Actual Rows": 60286, "Actual Loops": 2}], "Plans": [{"Node Type": "Bitmap Index Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Index Name": "c_nk", "Startup Cost": 0.0, "Total Cost": 625.33, "Plan Rows": 60000, "Plan Width": 0, "Actual Startup Time": 9.576, "Actual Total Time": 9.576, "Actual Rows": 60286, "Actual Loops": 4, "Index Cond": "(customer.c_nationkey = n2.n_nationkey)", "Workers": [{"Worker Number": 0, "Actual Startup Time": 10.973, "Actual Total Time": 10.973, "Actual Rows": 60286, "Actual Loops": 2}]}]}]}, {"Node Type": "Index Scan", "Parent Relationship": "Inner", "Parallel Aware": false, "Scan Direction": "Forward", "Index Name": "o_ck", "Relation Name": "orders", "Schema": "public", "Alias": "orders", "Startup Cost": 0.43, "Total Cost": 0.97, "Plan Rows": 18, "Plan Width": 8, "Actual Startup Time": 0.004, "Actual Total Time": 0.015, "Actual Rows": 10, "Actual Loops": 241144, "Output": ["orders.o_orderkey", "orders.o_custkey", "orders.o_orderstatus", "orders.o_totalprice", "orders.o_orderdate", "orders.o_orderpriority", "orders.o_clerk", "orders.o_shippriority", "orders.o_comment"], "Index Cond": "(orders.o_custkey = customer.c_custkey)", "Rows Removed by Index Recheck": 0, "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.004, "Actual Total Time": 0.016, "Actual Rows": 10, "Actual Loops": 120572}]}]}]}]}]}]}]}]}, "Planning Time": 2.062, "Triggers": [], "Execution Time": 6938.059} diff --git a/dev9/pg10/tpch/sf_10/explain_analyze/15721/8-1.ok b/dev9/pg10/tpch/sf_10/explain_analyze/15721/8-1.ok new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/dev9/pg10/tpch/sf_10/explain_analyze/15721/8-1.res b/dev9/pg10/tpch/sf_10/explain_analyze/15721/8-1.res new file mode 100644 index 0000000000000000000000000000000000000000..df2d58f76ad1db0cd1560957ce097556acab8f16 --- /dev/null +++ b/dev9/pg10/tpch/sf_10/explain_analyze/15721/8-1.res @@ -0,0 +1 @@ +{"Plan": {"Node Type": "Aggregate", "Strategy": "Sorted", "Partial Mode": "Finalize", "Parallel Aware": false, "Startup Cost": 221130.28, "Total Cost": 222641.19, "Plan Rows": 2406, "Plan Width": 40, "Actual Startup Time": 1151.156, "Actual Total Time": 1393.609, "Actual Rows": 2, "Actual Loops": 1, "Output": ["(date_part('year'::text, (orders.o_orderdate)::timestamp without time zone))", "(sum(CASE WHEN (n2.n_name = 'ETHIOPIA'::bpchar) THEN (lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount)) ELSE '0'::numeric END) / sum((lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount))))"], "Group Key": ["(date_part('year'::text, (orders.o_orderdate)::timestamp without time zone))"], "Plans": [{"Node Type": "Gather Merge", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 221130.28, "Total Cost": 222466.76, "Plan Rows": 9624, "Plan Width": 72, "Actual Startup Time": 1148.991, "Actual Total Time": 1393.587, "Actual Rows": 10, "Actual Loops": 1, "Output": ["(date_part('year'::text, (orders.o_orderdate)::timestamp without time zone))", "(PARTIAL sum(CASE WHEN (n2.n_name = 'ETHIOPIA'::bpchar) THEN (lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount)) ELSE '0'::numeric END))", "(PARTIAL sum((lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount))))"], "Workers Planned": 4, "Workers Launched": 4, "Plans": [{"Node Type": "Aggregate", "Strategy": "Sorted", "Partial Mode": "Partial", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 220130.22, "Total Cost": 220320.39, "Plan Rows": 2406, "Plan Width": 72, "Actual Startup Time": 1144.095, "Actual Total Time": 1145.763, "Actual Rows": 2, "Actual Loops": 5, "Output": ["(date_part('year'::text, (orders.o_orderdate)::timestamp without time zone))", "PARTIAL sum(CASE WHEN (n2.n_name = 'ETHIOPIA'::bpchar) THEN (lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount)) ELSE '0'::numeric END)", "PARTIAL sum((lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount)))"], "Group Key": ["(date_part('year'::text, (orders.o_orderdate)::timestamp without time zone))"], "Workers": [{"Worker Number": 0, "Actual Startup Time": 1142.966, "Actual Total Time": 1144.491, "Actual Rows": 2, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 1143.416, "Actual Total Time": 1144.97, "Actual Rows": 2, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 1143.039, "Actual Total Time": 1144.583, "Actual Rows": 2, "Actual Loops": 1}, {"Worker Number": 3, "Actual Startup Time": 1142.736, "Actual Total Time": 1144.298, "Actual Rows": 2, "Actual Loops": 1}], "Plans": [{"Node Type": "Sort", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 220130.22, "Total Cost": 220146.01, "Plan Rows": 6313, "Plan Width": 46, "Actual Startup Time": 1142.381, "Actual Total Time": 1142.689, "Actual Rows": 4974, "Actual Loops": 5, "Output": ["(date_part('year'::text, (orders.o_orderdate)::timestamp without time zone))", "n2.n_name", "lineitem.l_extendedprice", "lineitem.l_discount"], "Sort Key": ["(date_part('year'::text, (orders.o_orderdate)::timestamp without time zone))"], "Sort Method": "quicksort", "Sort Space Used": 687, "Sort Space Type": "Memory", "Workers": [{"Worker Number": 0, "Actual Startup Time": 1141.351, "Actual Total Time": 1141.636, "Actual Rows": 4627, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 1141.82, "Actual Total Time": 1142.104, "Actual Rows": 4659, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 1141.44, "Actual Total Time": 1141.728, "Actual Rows": 4635, "Actual Loops": 1}, {"Worker Number": 3, "Actual Startup Time": 1141.143, "Actual Total Time": 1141.445, "Actual Rows": 4616, "Actual Loops": 1}], "Plans": [{"Node Type": "Hash Join", "Parent Relationship": "Outer", "Parallel Aware": false, "Join Type": "Inner", "Startup Cost": 5.79, "Total Cost": 219731.74, "Plan Rows": 6313, "Plan Width": 46, "Actual Startup Time": 2.075, "Actual Total Time": 1140.482, "Actual Rows": 4974, "Actual Loops": 5, "Output": ["date_part('year'::text, (orders.o_orderdate)::timestamp without time zone)", "n2.n_name", "lineitem.l_extendedprice", "lineitem.l_discount"], "Inner Unique": true, "Hash Cond": "(supplier.s_nationkey = n2.n_nationkey)", "Workers": [{"Worker Number": 0, "Actual Startup Time": 3.627, "Actual Total Time": 1139.461, "Actual Rows": 4627, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 0.561, "Actual Total Time": 1139.915, "Actual Rows": 4659, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 4.76, "Actual Total Time": 1139.52, "Actual Rows": 4635, "Actual Loops": 1}, {"Worker Number": 3, "Actual Startup Time": 1.322, "Actual Total Time": 1139.212, "Actual Rows": 4616, "Actual Loops": 1}], "Plans": [{"Node Type": "Nested Loop", "Parent Relationship": "Outer", "Parallel Aware": false, "Join Type": "Inner", "Startup Cost": 4.23, "Total Cost": 219679.23, "Plan Rows": 6313, "Plan Width": 20, "Actual Startup Time": 2.003, "Actual Total Time": 1137.698, "Actual Rows": 4974, "Actual Loops": 5, "Output": ["lineitem.l_extendedprice", "lineitem.l_discount", "supplier.s_nationkey", "orders.o_orderdate"], "Inner Unique": true, "Workers": [{"Worker Number": 0, "Actual Startup Time": 3.54, "Actual Total Time": 1136.785, "Actual Rows": 4627, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 0.482, "Actual Total Time": 1137.303, "Actual Rows": 4659, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 4.675, "Actual Total Time": 1136.904, "Actual Rows": 4635, "Actual Loops": 1}, {"Worker Number": 3, "Actual Startup Time": 1.236, "Actual Total Time": 1136.342, "Actual Rows": 4616, "Actual Loops": 1}], "Plans": [{"Node Type": "Hash Join", "Parent Relationship": "Outer", "Parallel Aware": false, "Join Type": "Inner", "Startup Cost": 3.94, "Total Cost": 217721.91, "Plan Rows": 6313, "Plan Width": 20, "Actual Startup Time": 1.945, "Actual Total Time": 1116.046, "Actual Rows": 4974, "Actual Loops": 5, "Output": ["lineitem.l_extendedprice", "lineitem.l_discount", "lineitem.l_suppkey", "orders.o_orderdate"], "Inner Unique": false, "Hash Cond": "(customer.c_nationkey = n1.n_nationkey)", "Workers": [{"Worker Number": 0, "Actual Startup Time": 3.462, "Actual Total Time": 1116.68, "Actual Rows": 4627, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 0.408, "Actual Total Time": 1117.253, "Actual Rows": 4659, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 4.613, "Actual Total Time": 1116.832, "Actual Rows": 4635, "Actual Loops": 1}, {"Worker Number": 3, "Actual Startup Time": 1.168, "Actual Total Time": 1115.45, "Actual Rows": 4616, "Actual Loops": 1}], "Plans": [{"Node Type": "Nested Loop", "Parent Relationship": "Outer", "Parallel Aware": false, "Join Type": "Inner", "Startup Cost": 1.43, "Total Cost": 217537.9, "Plan Rows": 31566, "Plan Width": 24, "Actual Startup Time": 0.422, "Actual Total Time": 1110.916, "Actual Rows": 24632, "Actual Loops": 5, "Output": ["lineitem.l_extendedprice", "lineitem.l_discount", "lineitem.l_suppkey", "orders.o_orderdate", "customer.c_nationkey"], "Inner Unique": true, "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.477, "Actual Total Time": 1111.743, "Actual Rows": 23054, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 0.349, "Actual Total Time": 1112.349, "Actual Rows": 23072, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 0.554, "Actual Total Time": 1112.053, "Actual Rows": 22559, "Actual Loops": 1}, {"Worker Number": 3, "Actual Startup Time": 0.677, "Actual Total Time": 1110.42, "Actual Rows": 22619, "Actual Loops": 1}], "Plans": [{"Node Type": "Nested Loop", "Parent Relationship": "Outer", "Parallel Aware": false, "Join Type": "Inner", "Startup Cost": 1.0, "Total Cost": 203186.46, "Plan Rows": 31566, "Plan Width": 24, "Actual Startup Time": 0.355, "Actual Total Time": 961.669, "Actual Rows": 24632, "Actual Loops": 5, "Output": ["lineitem.l_extendedprice", "lineitem.l_discount", "lineitem.l_suppkey", "orders.o_orderdate", "orders.o_custkey"], "Inner Unique": true, "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.399, "Actual Total Time": 969.292, "Actual Rows": 23054, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 0.259, "Actual Total Time": 970.321, "Actual Rows": 23072, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 0.48, "Actual Total Time": 970.825, "Actual Rows": 22559, "Actual Loops": 1}, {"Worker Number": 3, "Actual Startup Time": 0.596, "Actual Total Time": 968.209, "Actual Rows": 22619, "Actual Loops": 1}], "Plans": [{"Node Type": "Nested Loop", "Parent Relationship": "Outer", "Parallel Aware": false, "Join Type": "Inner", "Startup Cost": 0.56, "Total Cost": 155038.78, "Plan Rows": 103982, "Plan Width": 20, "Actual Startup Time": 0.186, "Actual Total Time": 407.269, "Actual Rows": 80815, "Actual Loops": 5, "Output": ["lineitem.l_extendedprice", "lineitem.l_discount", "lineitem.l_suppkey", "lineitem.l_orderkey"], "Inner Unique": false, "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.239, "Actual Total Time": 436.889, "Actual Rows": 75320, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 0.174, "Actual Total Time": 434.618, "Actual Rows": 75770, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 0.259, "Actual Total Time": 434.446, "Actual Rows": 74786, "Actual Loops": 1}, {"Worker Number": 3, "Actual Startup Time": 0.23, "Actual Total Time": 432.496, "Actual Rows": 74519, "Actual Loops": 1}], "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": true, "Relation Name": "part", "Schema": "public", "Alias": "part", "Startup Cost": 0.0, "Total Cost": 47212.0, "Plan Rows": 3467, "Plan Width": 4, "Actual Startup Time": 0.073, "Actual Total Time": 82.815, "Actual Rows": 2697, "Actual Loops": 5, "Output": ["part.p_partkey", "part.p_name", "part.p_mfgr", "part.p_brand", "part.p_type", "part.p_size", "part.p_container", "part.p_retailprice", "part.p_comment"], "Filter": "((part.p_type)::text = 'SMALL BRUSHED NICKEL'::text)", "Rows Removed by Filter": 397303, "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.114, "Actual Total Time": 78.614, "Actual Rows": 2515, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 0.033, "Actual Total Time": 75.383, "Actual Rows": 2532, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 0.113, "Actual Total Time": 77.368, "Actual Rows": 2497, "Actual Loops": 1}, {"Worker Number": 3, "Actual Startup Time": 0.097, "Actual Total Time": 74.918, "Actual Rows": 2476, "Actual Loops": 1}]}, {"Node Type": "Index Scan", "Parent Relationship": "Inner", "Parallel Aware": false, "Scan Direction": "Forward", "Index Name": "l_pk", "Relation Name": "lineitem", "Schema": "public", "Alias": "lineitem", "Startup Cost": 0.56, "Total Cost": 30.79, "Plan Rows": 31, "Plan Width": 24, "Actual Startup Time": 0.012, "Actual Total Time": 0.113, "Actual Rows": 30, "Actual Loops": 13487, "Output": ["lineitem.l_orderkey", "lineitem.l_partkey", "lineitem.l_suppkey", "lineitem.l_linenumber", "lineitem.l_quantity", "lineitem.l_extendedprice", "lineitem.l_discount", "lineitem.l_tax", "lineitem.l_returnflag", "lineitem.l_linestatus", "lineitem.l_shipdate", "lineitem.l_commitdate", "lineitem.l_receiptdate", "lineitem.l_shipinstruct", "lineitem.l_shipmode", "lineitem.l_comment"], "Index Cond": "(lineitem.l_partkey = part.p_partkey)", "Rows Removed by Index Recheck": 0, "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.014, "Actual Total Time": 0.135, "Actual Rows": 30, "Actual Loops": 2515}, {"Worker Number": 1, "Actual Startup Time": 0.014, "Actual Total Time": 0.135, "Actual Rows": 30, "Actual Loops": 2532}, {"Worker Number": 2, "Actual Startup Time": 0.014, "Actual Total Time": 0.136, "Actual Rows": 30, "Actual Loops": 2497}, {"Worker Number": 3, "Actual Startup Time": 0.014, "Actual Total Time": 0.137, "Actual Rows": 30, "Actual Loops": 2476}]}]}, {"Node Type": "Index Scan", "Parent Relationship": "Inner", "Parallel Aware": false, "Scan Direction": "Forward", "Index Name": "o_ok", "Relation Name": "orders", "Schema": "public", "Alias": "orders", "Startup Cost": 0.43, "Total Cost": 0.46, "Plan Rows": 1, "Plan Width": 12, "Actual Startup Time": 0.007, "Actual Total Time": 0.007, "Actual Rows": 0, "Actual Loops": 404076, "Output": ["orders.o_orderkey", "orders.o_custkey", "orders.o_orderstatus", "orders.o_totalprice", "orders.o_orderdate", "orders.o_orderpriority", "orders.o_clerk", "orders.o_shippriority", "orders.o_comment"], "Index Cond": "(orders.o_orderkey = lineitem.l_orderkey)", "Rows Removed by Index Recheck": 0, "Filter": "((orders.o_orderdate >= '1995-01-01'::date) AND (orders.o_orderdate <= '1996-12-31'::date))", "Rows Removed by Filter": 1, "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.007, "Actual Total Time": 0.007, "Actual Rows": 0, "Actual Loops": 75320}, {"Worker Number": 1, "Actual Startup Time": 0.007, "Actual Total Time": 0.007, "Actual Rows": 0, "Actual Loops": 75770}, {"Worker Number": 2, "Actual Startup Time": 0.007, "Actual Total Time": 0.007, "Actual Rows": 0, "Actual Loops": 74786}, {"Worker Number": 3, "Actual Startup Time": 0.007, "Actual Total Time": 0.007, "Actual Rows": 0, "Actual Loops": 74519}]}]}, {"Node Type": "Index Scan", "Parent Relationship": "Inner", "Parallel Aware": false, "Scan Direction": "Forward", "Index Name": "c_ck", "Relation Name": "customer", "Schema": "public", "Alias": "customer", "Startup Cost": 0.43, "Total Cost": 0.45, "Plan Rows": 1, "Plan Width": 8, "Actual Startup Time": 0.005, "Actual Total Time": 0.005, "Actual Rows": 1, "Actual Loops": 123159, "Output": ["customer.c_custkey", "customer.c_name", "customer.c_address", "customer.c_nationkey", "customer.c_phone", "customer.c_acctbal", "customer.c_mktsegment", "customer.c_comment"], "Index Cond": "(customer.c_custkey = orders.o_custkey)", "Rows Removed by Index Recheck": 0, "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.006, "Actual Total Time": 0.006, "Actual Rows": 1, "Actual Loops": 23054}, {"Worker Number": 1, "Actual Startup Time": 0.006, "Actual Total Time": 0.006, "Actual Rows": 1, "Actual Loops": 23072}, {"Worker Number": 2, "Actual Startup Time": 0.006, "Actual Total Time": 0.006, "Actual Rows": 1, "Actual Loops": 22559}, {"Worker Number": 3, "Actual Startup Time": 0.006, "Actual Total Time": 0.006, "Actual Rows": 1, "Actual Loops": 22619}]}]}, {"Node Type": "Hash", "Parent Relationship": "Inner", "Parallel Aware": false, "Startup Cost": 2.45, "Total Cost": 2.45, "Plan Rows": 5, "Plan Width": 4, "Actual Startup Time": 0.04, "Actual Total Time": 0.041, "Actual Rows": 5, "Actual Loops": 5, "Output": ["n1.n_nationkey"], "Hash Buckets": 1024, "Original Hash Buckets": 1024, "Hash Batches": 1, "Original Hash Batches": 1, "Peak Memory Usage": 9, "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.045, "Actual Total Time": 0.047, "Actual Rows": 5, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 0.046, "Actual Total Time": 0.048, "Actual Rows": 5, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 0.044, "Actual Total Time": 0.046, "Actual Rows": 5, "Actual Loops": 1}, {"Worker Number": 3, "Actual Startup Time": 0.045, "Actual Total Time": 0.047, "Actual Rows": 5, "Actual Loops": 1}], "Plans": [{"Node Type": "Hash Join", "Parent Relationship": "Outer", "Parallel Aware": false, "Join Type": "Inner", "Startup Cost": 1.07, "Total Cost": 2.45, "Plan Rows": 5, "Plan Width": 4, "Actual Startup Time": 0.031, "Actual Total Time": 0.038, "Actual Rows": 5, "Actual Loops": 5, "Output": ["n1.n_nationkey"], "Inner Unique": true, "Hash Cond": "(n1.n_regionkey = region.r_regionkey)", "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.036, "Actual Total Time": 0.043, "Actual Rows": 5, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 0.037, "Actual Total Time": 0.044, "Actual Rows": 5, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 0.035, "Actual Total Time": 0.042, "Actual Rows": 5, "Actual Loops": 1}, {"Worker Number": 3, "Actual Startup Time": 0.036, "Actual Total Time": 0.043, "Actual Rows": 5, "Actual Loops": 1}], "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Relation Name": "nation", "Schema": "public", "Alias": "n1", "Startup Cost": 0.0, "Total Cost": 1.25, "Plan Rows": 25, "Plan Width": 8, "Actual Startup Time": 0.003, "Actual Total Time": 0.005, "Actual Rows": 25, "Actual Loops": 5, "Output": ["n1.n_nationkey", "n1.n_name", "n1.n_regionkey", "n1.n_comment"], "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.004, "Actual Total Time": 0.006, "Actual Rows": 25, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 0.004, "Actual Total Time": 0.006, "Actual Rows": 25, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 0.004, "Actual Total Time": 0.006, "Actual Rows": 25, "Actual Loops": 1}, {"Worker Number": 3, "Actual Startup Time": 0.004, "Actual Total Time": 0.006, "Actual Rows": 25, "Actual Loops": 1}]}, {"Node Type": "Hash", "Parent Relationship": "Inner", "Parallel Aware": false, "Startup Cost": 1.06, "Total Cost": 1.06, "Plan Rows": 1, "Plan Width": 4, "Actual Startup Time": 0.017, "Actual Total Time": 0.018, "Actual Rows": 1, "Actual Loops": 5, "Output": ["region.r_regionkey"], "Hash Buckets": 1024, "Original Hash Buckets": 1024, "Hash Batches": 1, "Original Hash Batches": 1, "Peak Memory Usage": 9, "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.02, "Actual Total Time": 0.021, "Actual Rows": 1, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 0.022, "Actual Total Time": 0.022, "Actual Rows": 1, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 0.019, "Actual Total Time": 0.02, "Actual Rows": 1, "Actual Loops": 1}, {"Worker Number": 3, "Actual Startup Time": 0.02, "Actual Total Time": 0.021, "Actual Rows": 1, "Actual Loops": 1}], "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Relation Name": "region", "Schema": "public", "Alias": "region", "Startup Cost": 0.0, "Total Cost": 1.06, "Plan Rows": 1, "Plan Width": 4, "Actual Startup Time": 0.012, "Actual Total Time": 0.014, "Actual Rows": 1, "Actual Loops": 5, "Output": ["region.r_regionkey"], "Filter": "(region.r_name = 'AFRICA'::bpchar)", "Rows Removed by Filter": 4, "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.014, "Actual Total Time": 0.016, "Actual Rows": 1, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 0.016, "Actual Total Time": 0.017, "Actual Rows": 1, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 0.013, "Actual Total Time": 0.015, "Actual Rows": 1, "Actual Loops": 1}, {"Worker Number": 3, "Actual Startup Time": 0.014, "Actual Total Time": 0.016, "Actual Rows": 1, "Actual Loops": 1}]}]}]}]}]}, {"Node Type": "Index Scan", "Parent Relationship": "Inner", "Parallel Aware": false, "Scan Direction": "Forward", "Index Name": "s_sk", "Relation Name": "supplier", "Schema": "public", "Alias": "supplier", "Startup Cost": 0.29, "Total Cost": 0.31, "Plan Rows": 1, "Plan Width": 8, "Actual Startup Time": 0.004, "Actual Total Time": 0.004, "Actual Rows": 1, "Actual Loops": 24872, "Output": ["supplier.s_suppkey", "supplier.s_name", "supplier.s_address", "supplier.s_nationkey", "supplier.s_phone", "supplier.s_acctbal", "supplier.s_comment"], "Index Cond": "(supplier.s_suppkey = lineitem.l_suppkey)", "Rows Removed by Index Recheck": 0, "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.004, "Actual Total Time": 0.004, "Actual Rows": 1, "Actual Loops": 4627}, {"Worker Number": 1, "Actual Startup Time": 0.004, "Actual Total Time": 0.004, "Actual Rows": 1, "Actual Loops": 4659}, {"Worker Number": 2, "Actual Startup Time": 0.004, "Actual Total Time": 0.004, "Actual Rows": 1, "Actual Loops": 4635}, {"Worker Number": 3, "Actual Startup Time": 0.004, "Actual Total Time": 0.004, "Actual Rows": 1, "Actual Loops": 4616}]}]}, {"Node Type": "Hash", "Parent Relationship": "Inner", "Parallel Aware": false, "Startup Cost": 1.25, "Total Cost": 1.25, "Plan Rows": 25, "Plan Width": 30, "Actual Startup Time": 0.03, "Actual Total Time": 0.03, "Actual Rows": 25, "Actual Loops": 5, "Output": ["n2.n_name", "n2.n_nationkey"], "Hash Buckets": 1024, "Original Hash Buckets": 1024, "Hash Batches": 1, "Original Hash Batches": 1, "Peak Memory Usage": 10, "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.033, "Actual Total Time": 0.034, "Actual Rows": 25, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 0.03, "Actual Total Time": 0.031, "Actual Rows": 25, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 0.035, "Actual Total Time": 0.035, "Actual Rows": 25, "Actual Loops": 1}, {"Worker Number": 3, "Actual Startup Time": 0.033, "Actual Total Time": 0.034, "Actual Rows": 25, "Actual Loops": 1}], "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Relation Name": "nation", "Schema": "public", "Alias": "n2", "Startup Cost": 0.0, "Total Cost": 1.25, "Plan Rows": 25, "Plan Width": 30, "Actual Startup Time": 0.017, "Actual Total Time": 0.022, "Actual Rows": 25, "Actual Loops": 5, "Output": ["n2.n_name", "n2.n_nationkey"], "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.022, "Actual Total Time": 0.025, "Actual Rows": 25, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 0.017, "Actual Total Time": 0.022, "Actual Rows": 25, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 0.02, "Actual Total Time": 0.026, "Actual Rows": 25, "Actual Loops": 1}, {"Worker Number": 3, "Actual Startup Time": 0.022, "Actual Total Time": 0.025, "Actual Rows": 25, "Actual Loops": 1}]}]}]}]}]}]}]}, "Planning Time": 2.835, "Triggers": [], "Execution Time": 1393.711} diff --git a/dev9/pg10/tpch/sf_10/explain_analyze/15721/9-1.ok b/dev9/pg10/tpch/sf_10/explain_analyze/15721/9-1.ok new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/dev9/pg10/tpch/sf_10/explain_analyze/15721/9-1.res b/dev9/pg10/tpch/sf_10/explain_analyze/15721/9-1.res new file mode 100644 index 0000000000000000000000000000000000000000..3a7b0aa42d74a5808e2f04e80eb263d187ab79bb --- /dev/null +++ b/dev9/pg10/tpch/sf_10/explain_analyze/15721/9-1.res @@ -0,0 +1 @@ +{"Plan": {"Node Type": "Sort", "Parallel Aware": false, "Startup Cost": 642125.66, "Total Cost": 642276.03, "Plan Rows": 60150, "Plan Width": 66, "Actual Startup Time": 6809.738, "Actual Total Time": 7340.678, "Actual Rows": 175, "Actual Loops": 1, "Output": ["nation.n_name", "(date_part('year'::text, (orders.o_orderdate)::timestamp without time zone))", "(sum(((lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount)) - (partsupp.ps_supplycost * lineitem.l_quantity))))"], "Sort Key": ["nation.n_name", "(date_part('year'::text, (orders.o_orderdate)::timestamp without time zone)) DESC"], "Sort Method": "quicksort", "Sort Space Used": 49, "Sort Space Type": "Memory", "Plans": [{"Node Type": "Aggregate", "Strategy": "Hashed", "Partial Mode": "Finalize", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 636298.24, "Total Cost": 637350.87, "Plan Rows": 60150, "Plan Width": 66, "Actual Startup Time": 6809.064, "Actual Total Time": 7340.42, "Actual Rows": 175, "Actual Loops": 1, "Output": ["nation.n_name", "(date_part('year'::text, (orders.o_orderdate)::timestamp without time zone))", "sum(((lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount)) - (partsupp.ps_supplycost * lineitem.l_quantity)))"], "Group Key": ["nation.n_name", "(date_part('year'::text, (orders.o_orderdate)::timestamp without time zone))"], "Plans": [{"Node Type": "Gather", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 608779.62, "Total Cost": 633892.24, "Plan Rows": 240600, "Plan Width": 66, "Actual Startup Time": 6806.905, "Actual Total Time": 7339.243, "Actual Rows": 875, "Actual Loops": 1, "Output": ["nation.n_name", "(date_part('year'::text, (orders.o_orderdate)::timestamp without time zone))", "(PARTIAL sum(((lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount)) - (partsupp.ps_supplycost * lineitem.l_quantity))))"], "Workers Planned": 4, "Workers Launched": 4, "Single Copy": false, "Plans": [{"Node Type": "Aggregate", "Strategy": "Hashed", "Partial Mode": "Partial", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 607779.62, "Total Cost": 608832.24, "Plan Rows": 60150, "Plan Width": 66, "Actual Startup Time": 6801.401, "Actual Total Time": 6801.885, "Actual Rows": 175, "Actual Loops": 5, "Output": ["nation.n_name", "(date_part('year'::text, (orders.o_orderdate)::timestamp without time zone))", "PARTIAL sum(((lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount)) - (partsupp.ps_supplycost * lineitem.l_quantity)))"], "Group Key": ["nation.n_name", "date_part('year'::text, (orders.o_orderdate)::timestamp without time zone)"], "Workers": [{"Worker Number": 0, "Actual Startup Time": 6800.232, "Actual Total Time": 6800.716, "Actual Rows": 175, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 6800.757, "Actual Total Time": 6801.242, "Actual Rows": 175, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 6800.0, "Actual Total Time": 6800.48, "Actual Rows": 175, "Actual Loops": 1}, {"Worker Number": 3, "Actual Startup Time": 6799.73, "Actual Total Time": 6800.206, "Actual Rows": 175, "Actual Loops": 1}], "Plans": [{"Node Type": "Nested Loop", "Parent Relationship": "Outer", "Parallel Aware": false, "Join Type": "Inner", "Startup Cost": 4468.99, "Total Cost": 592527.26, "Plan Rows": 871563, "Plan Width": 57, "Actual Startup Time": 50.442, "Actual Total Time": 6092.289, "Actual Rows": 650972, "Actual Loops": 5, "Output": ["nation.n_name", "date_part('year'::text, (orders.o_orderdate)::timestamp without time zone)", "lineitem.l_extendedprice", "lineitem.l_discount", "partsupp.ps_supplycost", "lineitem.l_quantity"], "Inner Unique": true, "Workers": [{"Worker Number": 0, "Actual Startup Time": 52.866, "Actual Total Time": 6088.297, "Actual Rows": 652694, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 52.865, "Actual Total Time": 6084.883, "Actual Rows": 654034, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 52.856, "Actual Total Time": 6097.734, "Actual Rows": 646636, "Actual Loops": 1}, {"Worker Number": 3, "Actual Startup Time": 52.984, "Actual Total Time": 6097.416, "Actual Rows": 643332, "Actual Loops": 1}], "Plans": [{"Node Type": "Nested Loop", "Parent Relationship": "Outer", "Parallel Aware": false, "Join Type": "Inner", "Startup Cost": 4468.56, "Total Cost": 188960.01, "Plan Rows": 871563, "Plan Width": 53, "Actual Startup Time": 50.372, "Actual Total Time": 2409.756, "Actual Rows": 650972, "Actual Loops": 5, "Output": ["lineitem.l_extendedprice", "lineitem.l_discount", "lineitem.l_quantity", "lineitem.l_orderkey", "partsupp.ps_supplycost", "nation.n_name"], "Inner Unique": false, "Join Filter": "(supplier.s_suppkey = lineitem.l_suppkey)", "Rows Removed by Join Filter": 0, "Workers": [{"Worker Number": 0, "Actual Startup Time": 52.787, "Actual Total Time": 2506.883, "Actual Rows": 652694, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 52.78, "Actual Total Time": 2501.181, "Actual Rows": 654034, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 52.77, "Actual Total Time": 2498.93, "Actual Rows": 646636, "Actual Loops": 1}, {"Worker Number": 3, "Actual Startup Time": 52.901, "Actual Total Time": 2503.056, "Actual Rows": 643332, "Actual Loops": 1}], "Plans": [{"Node Type": "Hash Join", "Parent Relationship": "Outer", "Parallel Aware": false, "Join Type": "Inner", "Startup Cost": 4467.99, "Total Cost": 98911.72, "Plan Rows": 116230, "Plan Width": 48, "Actual Startup Time": 50.305, "Actual Total Time": 443.505, "Actual Rows": 86834, "Actual Loops": 5, "Output": ["part.p_partkey", "partsupp.ps_supplycost", "partsupp.ps_suppkey", "partsupp.ps_partkey", "supplier.s_suppkey", "nation.n_name"], "Inner Unique": true, "Hash Cond": "(supplier.s_nationkey = nation.n_nationkey)", "Workers": [{"Worker Number": 0, "Actual Startup Time": 52.716, "Actual Total Time": 458.946, "Actual Rows": 87092, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 52.701, "Actual Total Time": 453.993, "Actual Rows": 87192, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 52.682, "Actual Total Time": 452.832, "Actual Rows": 86200, "Actual Loops": 1}, {"Worker Number": 3, "Actual Startup Time": 52.828, "Actual Total Time": 452.694, "Actual Rows": 85924, "Actual Loops": 1}], "Plans": [{"Node Type": "Hash Join", "Parent Relationship": "Outer", "Parallel Aware": false, "Join Type": "Inner", "Startup Cost": 4466.43, "Total Cost": 98553.34, "Plan Rows": 116230, "Plan Width": 26, "Actual Startup Time": 50.239, "Actual Total Time": 414.983, "Actual Rows": 86834, "Actual Loops": 5, "Output": ["part.p_partkey", "partsupp.ps_supplycost", "partsupp.ps_suppkey", "partsupp.ps_partkey", "supplier.s_suppkey", "supplier.s_nationkey"], "Inner Unique": true, "Hash Cond": "(partsupp.ps_suppkey = supplier.s_suppkey)", "Workers": [{"Worker Number": 0, "Actual Startup Time": 52.64, "Actual Total Time": 428.87, "Actual Rows": 87092, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 52.628, "Actual Total Time": 426.236, "Actual Rows": 87192, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 52.609, "Actual Total Time": 423.652, "Actual Rows": 86200, "Actual Loops": 1}, {"Worker Number": 3, "Actual Startup Time": 52.746, "Actual Total Time": 424.705, "Actual Rows": 85924, "Actual Loops": 1}], "Plans": [{"Node Type": "Nested Loop", "Parent Relationship": "Outer", "Parallel Aware": false, "Join Type": "Inner", "Startup Cost": 0.43, "Total Cost": 93782.22, "Plan Rows": 116230, "Plan Width": 18, "Actual Startup Time": 0.113, "Actual Total Time": 313.846, "Actual Rows": 86834, "Actual Loops": 5, "Output": ["part.p_partkey", "partsupp.ps_supplycost", "partsupp.ps_suppkey", "partsupp.ps_partkey"], "Inner Unique": false, "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.134, "Actual Total Time": 324.492, "Actual Rows": 87092, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 0.133, "Actual Total Time": 322.644, "Actual Rows": 87192, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 0.136, "Actual Total Time": 319.794, "Actual Rows": 86200, "Actual Loops": 1}, {"Worker Number": 3, "Actual Startup Time": 0.143, "Actual Total Time": 320.176, "Actual Rows": 85924, "Actual Loops": 1}], "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": true, "Relation Name": "part", "Schema": "public", "Alias": "part", "Startup Cost": 0.0, "Total Cost": 47212.0, "Plan Rows": 29058, "Plan Width": 4, "Actual Startup Time": 0.025, "Actual Total Time": 129.126, "Actual Rows": 21709, "Actual Loops": 5, "Output": ["part.p_partkey", "part.p_name", "part.p_mfgr", "part.p_brand", "part.p_type", "part.p_size", "part.p_container", "part.p_retailprice", "part.p_comment"], "Filter": "((part.p_name)::text ~~ '%forest%'::text)", "Rows Removed by Filter": 378291, "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.025, "Actual Total Time": 131.907, "Actual Rows": 21773, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 0.031, "Actual Total Time": 130.927, "Actual Rows": 21798, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 0.031, "Actual Total Time": 129.434, "Actual Rows": 21550, "Actual Loops": 1}, {"Worker Number": 3, "Actual Startup Time": 0.035, "Actual Total Time": 129.635, "Actual Rows": 21481, "Actual Loops": 1}]}, {"Node Type": "Index Scan", "Parent Relationship": "Inner", "Parallel Aware": false, "Scan Direction": "Forward", "Index Name": "ps_pk", "Relation Name": "partsupp", "Schema": "public", "Alias": "partsupp", "Startup Cost": 0.43, "Total Cost": 1.55, "Plan Rows": 5, "Plan Width": 14, "Actual Startup Time": 0.006, "Actual Total Time": 0.007, "Actual Rows": 4, "Actual Loops": 108543, "Output": ["partsupp.ps_partkey", "partsupp.ps_suppkey", "partsupp.ps_availqty", "partsupp.ps_supplycost", "partsupp.ps_comment"], "Index Cond": "(partsupp.ps_partkey = part.p_partkey)", "Rows Removed by Index Recheck": 0, "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.006, "Actual Total Time": 0.008, "Actual Rows": 4, "Actual Loops": 21773}, {"Worker Number": 1, "Actual Startup Time": 0.006, "Actual Total Time": 0.008, "Actual Rows": 4, "Actual Loops": 21798}, {"Worker Number": 2, "Actual Startup Time": 0.006, "Actual Total Time": 0.008, "Actual Rows": 4, "Actual Loops": 21550}, {"Worker Number": 3, "Actual Startup Time": 0.006, "Actual Total Time": 0.008, "Actual Rows": 4, "Actual Loops": 21481}]}]}, {"Node Type": "Hash", "Parent Relationship": "Inner", "Parallel Aware": false, "Startup Cost": 3216.0, "Total Cost": 3216.0, "Plan Rows": 100000, "Plan Width": 8, "Actual Startup Time": 49.465, "Actual Total Time": 49.466, "Actual Rows": 100000, "Actual Loops": 5, "Output": ["supplier.s_suppkey", "supplier.s_nationkey"], "Hash Buckets": 131072, "Original Hash Buckets": 131072, "Hash Batches": 1, "Original Hash Batches": 1, "Peak Memory Usage": 4931, "Workers": [{"Worker Number": 0, "Actual Startup Time": 51.848, "Actual Total Time": 51.848, "Actual Rows": 100000, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 51.838, "Actual Total Time": 51.839, "Actual Rows": 100000, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 51.81, "Actual Total Time": 51.81, "Actual Rows": 100000, "Actual Loops": 1}, {"Worker Number": 3, "Actual Startup Time": 51.948, "Actual Total Time": 51.949, "Actual Rows": 100000, "Actual Loops": 1}], "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Relation Name": "supplier", "Schema": "public", "Alias": "supplier", "Startup Cost": 0.0, "Total Cost": 3216.0, "Plan Rows": 100000, "Plan Width": 8, "Actual Startup Time": 0.01, "Actual Total Time": 31.009, "Actual Rows": 100000, "Actual Loops": 5, "Output": ["supplier.s_suppkey", "supplier.s_nationkey"], "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.012, "Actual Total Time": 33.122, "Actual Rows": 100000, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 0.012, "Actual Total Time": 32.706, "Actual Rows": 100000, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 0.012, "Actual Total Time": 32.913, "Actual Rows": 100000, "Actual Loops": 1}, {"Worker Number": 3, "Actual Startup Time": 0.013, "Actual Total Time": 33.019, "Actual Rows": 100000, "Actual Loops": 1}]}]}]}, {"Node Type": "Hash", "Parent Relationship": "Inner", "Parallel Aware": false, "Startup Cost": 1.25, "Total Cost": 1.25, "Plan Rows": 25, "Plan Width": 30, "Actual Startup Time": 0.031, "Actual Total Time": 0.031, "Actual Rows": 25, "Actual Loops": 5, "Output": ["nation.n_name", "nation.n_nationkey"], "Hash Buckets": 1024, "Original Hash Buckets": 1024, "Hash Batches": 1, "Original Hash Batches": 1, "Peak Memory Usage": 10, "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.035, "Actual Total Time": 0.035, "Actual Rows": 25, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 0.032, "Actual Total Time": 0.032, "Actual Rows": 25, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 0.032, "Actual Total Time": 0.033, "Actual Rows": 25, "Actual Loops": 1}, {"Worker Number": 3, "Actual Startup Time": 0.039, "Actual Total Time": 0.039, "Actual Rows": 25, "Actual Loops": 1}], "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Relation Name": "nation", "Schema": "public", "Alias": "nation", "Startup Cost": 0.0, "Total Cost": 1.25, "Plan Rows": 25, "Plan Width": 30, "Actual Startup Time": 0.016, "Actual Total Time": 0.021, "Actual Rows": 25, "Actual Loops": 5, "Output": ["nation.n_name", "nation.n_nationkey"], "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.02, "Actual Total Time": 0.024, "Actual Rows": 25, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 0.018, "Actual Total Time": 0.021, "Actual Rows": 25, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 0.018, "Actual Total Time": 0.022, "Actual Rows": 25, "Actual Loops": 1}, {"Worker Number": 3, "Actual Startup Time": 0.021, "Actual Total Time": 0.027, "Actual Rows": 25, "Actual Loops": 1}]}]}]}, {"Node Type": "Index Scan", "Parent Relationship": "Inner", "Parallel Aware": false, "Scan Direction": "Forward", "Index Name": "l_sk_pk", "Relation Name": "lineitem", "Schema": "public", "Alias": "lineitem", "Startup Cost": 0.56, "Total Cost": 0.76, "Plan Rows": 1, "Plan Width": 29, "Actual Startup Time": 0.008, "Actual Total Time": 0.02, "Actual Rows": 7, "Actual Loops": 434172, "Output": ["lineitem.l_orderkey", "lineitem.l_partkey", "lineitem.l_suppkey", "lineitem.l_linenumber", "lineitem.l_quantity", "lineitem.l_extendedprice", "lineitem.l_discount", "lineitem.l_tax", "lineitem.l_returnflag", "lineitem.l_linestatus", "lineitem.l_shipdate", "lineitem.l_commitdate", "lineitem.l_receiptdate", "lineitem.l_shipinstruct", "lineitem.l_shipmode", "lineitem.l_comment"], "Index Cond": "((lineitem.l_suppkey = partsupp.ps_suppkey) AND (lineitem.l_partkey = partsupp.ps_partkey))", "Rows Removed by Index Recheck": 0, "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.008, "Actual Total Time": 0.021, "Actual Rows": 7, "Actual Loops": 87092}, {"Worker Number": 1, "Actual Startup Time": 0.008, "Actual Total Time": 0.021, "Actual Rows": 8, "Actual Loops": 87192}, {"Worker Number": 2, "Actual Startup Time": 0.008, "Actual Total Time": 0.021, "Actual Rows": 8, "Actual Loops": 86200}, {"Worker Number": 3, "Actual Startup Time": 0.008, "Actual Total Time": 0.022, "Actual Rows": 7, "Actual Loops": 85924}]}]}, {"Node Type": "Index Scan", "Parent Relationship": "Inner", "Parallel Aware": false, "Scan Direction": "Forward", "Index Name": "o_ok", "Relation Name": "orders", "Schema": "public", "Alias": "orders", "Startup Cost": 0.43, "Total Cost": 0.46, "Plan Rows": 1, "Plan Width": 8, "Actual Startup Time": 0.005, "Actual Total Time": 0.005, "Actual Rows": 1, "Actual Loops": 3254858, "Output": ["orders.o_orderkey", "orders.o_custkey", "orders.o_orderstatus", "orders.o_totalprice", "orders.o_orderdate", "orders.o_orderpriority", "orders.o_clerk", "orders.o_shippriority", "orders.o_comment"], "Index Cond": "(orders.o_orderkey = lineitem.l_orderkey)", "Rows Removed by Index Recheck": 0, "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.005, "Actual Total Time": 0.005, "Actual Rows": 1, "Actual Loops": 652694}, {"Worker Number": 1, "Actual Startup Time": 0.005, "Actual Total Time": 0.005, "Actual Rows": 1, "Actual Loops": 654034}, {"Worker Number": 2, "Actual Startup Time": 0.005, "Actual Total Time": 0.005, "Actual Rows": 1, "Actual Loops": 646636}, {"Worker Number": 3, "Actual Startup Time": 0.005, "Actual Total Time": 0.005, "Actual Rows": 1, "Actual Loops": 643332}]}]}]}]}]}]}, "Planning Time": 13.083, "Triggers": [], "Execution Time": 7343.049} diff --git a/dev9/pg11/tpch/sf_1/explain/15721/1-1.ok b/dev9/pg11/tpch/sf_1/explain/15721/1-1.ok new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/dev9/pg11/tpch/sf_1/explain/15721/1-1.res b/dev9/pg11/tpch/sf_1/explain/15721/1-1.res new file mode 100644 index 0000000000000000000000000000000000000000..c1ad2fcfaf119e41ef3e0e9051c7331bff3d5f81 --- /dev/null +++ b/dev9/pg11/tpch/sf_1/explain/15721/1-1.res @@ -0,0 +1 @@ +{"Plan": {"Node Type": "Aggregate", "Strategy": "Sorted", "Partial Mode": "Finalize", "Parallel Aware": false, "Startup Cost": 175403.16, "Total Cost": 175408.23, "Plan Rows": 6, "Plan Width": 236, "Output": ["l_returnflag", "l_linestatus", "sum(l_quantity)", "sum(l_extendedprice)", "sum((l_extendedprice * ('1'::numeric - l_discount)))", "sum(((l_extendedprice * ('1'::numeric - l_discount)) * ('1'::numeric + l_tax)))", "avg(l_quantity)", "avg(l_extendedprice)", "avg(l_discount)", "count(*)"], "Group Key": ["lineitem.l_returnflag", "lineitem.l_linestatus"], "Plans": [{"Node Type": "Gather Merge", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 175403.16, "Total Cost": 175406.79, "Plan Rows": 30, "Plan Width": 236, "Output": ["l_returnflag", "l_linestatus", "(PARTIAL sum(l_quantity))", "(PARTIAL sum(l_extendedprice))", "(PARTIAL sum((l_extendedprice * ('1'::numeric - l_discount))))", "(PARTIAL sum(((l_extendedprice * ('1'::numeric - l_discount)) * ('1'::numeric + l_tax))))", "(PARTIAL avg(l_quantity))", "(PARTIAL avg(l_extendedprice))", "(PARTIAL avg(l_discount))", "(PARTIAL count(*))"], "Workers Planned": 5, "Plans": [{"Node Type": "Sort", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 174403.08, "Total Cost": 174403.1, "Plan Rows": 6, "Plan Width": 236, "Output": ["l_returnflag", "l_linestatus", "(PARTIAL sum(l_quantity))", "(PARTIAL sum(l_extendedprice))", "(PARTIAL sum((l_extendedprice * ('1'::numeric - l_discount))))", "(PARTIAL sum(((l_extendedprice * ('1'::numeric - l_discount)) * ('1'::numeric + l_tax))))", "(PARTIAL avg(l_quantity))", "(PARTIAL avg(l_extendedprice))", "(PARTIAL avg(l_discount))", "(PARTIAL count(*))"], "Sort Key": ["lineitem.l_returnflag", "lineitem.l_linestatus"], "Plans": [{"Node Type": "Aggregate", "Strategy": "Hashed", "Partial Mode": "Partial", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 174402.84, "Total Cost": 174403.0, "Plan Rows": 6, "Plan Width": 236, "Output": ["l_returnflag", "l_linestatus", "PARTIAL sum(l_quantity)", "PARTIAL sum(l_extendedprice)", "PARTIAL sum((l_extendedprice * ('1'::numeric - l_discount)))", "PARTIAL sum(((l_extendedprice * ('1'::numeric - l_discount)) * ('1'::numeric + l_tax)))", "PARTIAL avg(l_quantity)", "PARTIAL avg(l_extendedprice)", "PARTIAL avg(l_discount)", "PARTIAL count(*)"], "Group Key": ["lineitem.l_returnflag", "lineitem.l_linestatus"], "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": true, "Relation Name": "lineitem", "Schema": "public", "Alias": "lineitem", "Startup Cost": 0.0, "Total Cost": 127506.04, "Plan Rows": 1172420, "Plan Width": 25, "Output": ["l_orderkey", "l_partkey", "l_suppkey", "l_linenumber", "l_quantity", "l_extendedprice", "l_discount", "l_tax", "l_returnflag", "l_linestatus", "l_shipdate", "l_commitdate", "l_receiptdate", "l_shipinstruct", "l_shipmode", "l_comment"], "Filter": "(lineitem.l_shipdate <= '1998-08-07 23:59:57'::timestamp without time zone)"}]}]}]}]}} diff --git a/dev9/pg11/tpch/sf_1/explain/15721/10-1.ok b/dev9/pg11/tpch/sf_1/explain/15721/10-1.ok new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/dev9/pg11/tpch/sf_1/explain/15721/10-1.res b/dev9/pg11/tpch/sf_1/explain/15721/10-1.res new file mode 100644 index 0000000000000000000000000000000000000000..c46a7ae5a261605e6230a90b93d11a8c438cb540 --- /dev/null +++ b/dev9/pg11/tpch/sf_1/explain/15721/10-1.res @@ -0,0 +1 @@ +{"Plan": {"Node Type": "Limit", "Parallel Aware": false, "Startup Cost": 72595.24, "Total Cost": 72595.29, "Plan Rows": 20, "Plan Width": 202, "Output": ["customer.c_custkey", "customer.c_name", "(sum((lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount))))", "customer.c_acctbal", "nation.n_name", "customer.c_address", "customer.c_phone", "customer.c_comment"], "Plans": [{"Node Type": "Sort", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 72595.24, "Total Cost": 72730.63, "Plan Rows": 54156, "Plan Width": 202, "Output": ["customer.c_custkey", "customer.c_name", "(sum((lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount))))", "customer.c_acctbal", "nation.n_name", "customer.c_address", "customer.c_phone", "customer.c_comment"], "Sort Key": ["(sum((lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount)))) DESC"], "Plans": [{"Node Type": "Aggregate", "Strategy": "Hashed", "Partial Mode": "Simple", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 70477.21, "Total Cost": 71154.16, "Plan Rows": 54156, "Plan Width": 202, "Output": ["customer.c_custkey", "customer.c_name", "sum((lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount)))", "customer.c_acctbal", "nation.n_name", "customer.c_address", "customer.c_phone", "customer.c_comment"], "Group Key": ["customer.c_custkey", "nation.n_name"], "Plans": [{"Node Type": "Gather", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 6725.88, "Total Cost": 69800.26, "Plan Rows": 54156, "Plan Width": 182, "Output": ["customer.c_custkey", "nation.n_name", "customer.c_name", "lineitem.l_extendedprice", "lineitem.l_discount", "customer.c_acctbal", "customer.c_address", "customer.c_phone", "customer.c_comment"], "Workers Planned": 3, "Single Copy": false, "Plans": [{"Node Type": "Hash Join", "Parent Relationship": "Outer", "Parallel Aware": false, "Join Type": "Inner", "Startup Cost": 5725.88, "Total Cost": 63384.66, "Plan Rows": 17470, "Plan Width": 182, "Output": ["customer.c_custkey", "nation.n_name", "customer.c_name", "lineitem.l_extendedprice", "lineitem.l_discount", "customer.c_acctbal", "customer.c_address", "customer.c_phone", "customer.c_comment"], "Inner Unique": true, "Hash Cond": "(customer.c_nationkey = nation.n_nationkey)", "Plans": [{"Node Type": "Hash Join", "Parent Relationship": "Outer", "Parallel Aware": true, "Join Type": "Inner", "Startup Cost": 5724.32, "Total Cost": 63329.47, "Plan Rows": 17470, "Plan Width": 160, "Output": ["customer.c_custkey", "customer.c_name", "customer.c_acctbal", "customer.c_address", "customer.c_phone", "customer.c_comment", "customer.c_nationkey", "lineitem.l_extendedprice", "lineitem.l_discount"], "Inner Unique": true, "Hash Cond": "(orders.o_custkey = customer.c_custkey)", "Plans": [{"Node Type": "Nested Loop", "Parent Relationship": "Outer", "Parallel Aware": false, "Join Type": "Inner", "Startup Cost": 733.07, "Total Cost": 58292.36, "Plan Rows": 17470, "Plan Width": 16, "Output": ["orders.o_custkey", "lineitem.l_extendedprice", "lineitem.l_discount"], "Inner Unique": false, "Plans": [{"Node Type": "Bitmap Heap Scan", "Parent Relationship": "Outer", "Parallel Aware": true, "Relation Name": "orders", "Schema": "public", "Alias": "orders", "Startup Cost": 732.64, "Total Cost": 27094.36, "Plan Rows": 17782, "Plan Width": 8, "Output": ["orders.o_orderkey", "orders.o_custkey", "orders.o_orderstatus", "orders.o_totalprice", "orders.o_orderdate", "orders.o_orderpriority", "orders.o_clerk", "orders.o_shippriority", "orders.o_comment"], "Recheck Cond": "((orders.o_orderdate >= '1993-02-01'::date) AND (orders.o_orderdate < '1993-05-01 00:00:00'::timestamp without time zone))", "Plans": [{"Node Type": "Bitmap Index Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Index Name": "o_od", "Startup Cost": 0.0, "Total Cost": 718.86, "Plan Rows": 55123, "Plan Width": 0, "Index Cond": "((orders.o_orderdate >= '1993-02-01'::date) AND (orders.o_orderdate < '1993-05-01 00:00:00'::timestamp without time zone))"}]}, {"Node Type": "Index Scan", "Parent Relationship": "Inner", "Parallel Aware": false, "Scan Direction": "Forward", "Index Name": "l_ok", "Relation Name": "lineitem", "Schema": "public", "Alias": "lineitem", "Startup Cost": 0.43, "Total Cost": 1.74, "Plan Rows": 1, "Plan Width": 16, "Output": ["lineitem.l_orderkey", "lineitem.l_partkey", "lineitem.l_suppkey", "lineitem.l_linenumber", "lineitem.l_quantity", "lineitem.l_extendedprice", "lineitem.l_discount", "lineitem.l_tax", "lineitem.l_returnflag", "lineitem.l_linestatus", "lineitem.l_shipdate", "lineitem.l_commitdate", "lineitem.l_receiptdate", "lineitem.l_shipinstruct", "lineitem.l_shipmode", "lineitem.l_comment"], "Index Cond": "(lineitem.l_orderkey = orders.o_orderkey)", "Filter": "(lineitem.l_returnflag = 'R'::bpchar)"}]}, {"Node Type": "Hash", "Parent Relationship": "Inner", "Parallel Aware": true, "Startup Cost": 4210.0, "Total Cost": 4210.0, "Plan Rows": 62500, "Plan Width": 148, "Output": ["customer.c_custkey", "customer.c_name", "customer.c_acctbal", "customer.c_address", "customer.c_phone", "customer.c_comment", "customer.c_nationkey"], "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": true, "Relation Name": "customer", "Schema": "public", "Alias": "customer", "Startup Cost": 0.0, "Total Cost": 4210.0, "Plan Rows": 62500, "Plan Width": 148, "Output": ["customer.c_custkey", "customer.c_name", "customer.c_acctbal", "customer.c_address", "customer.c_phone", "customer.c_comment", "customer.c_nationkey"]}]}]}, {"Node Type": "Hash", "Parent Relationship": "Inner", "Parallel Aware": false, "Startup Cost": 1.25, "Total Cost": 1.25, "Plan Rows": 25, "Plan Width": 30, "Output": ["nation.n_name", "nation.n_nationkey"], "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Relation Name": "nation", "Schema": "public", "Alias": "nation", "Startup Cost": 0.0, "Total Cost": 1.25, "Plan Rows": 25, "Plan Width": 30, "Output": ["nation.n_name", "nation.n_nationkey"]}]}]}]}]}]}]}} diff --git a/dev9/pg11/tpch/sf_1/explain/15721/11-1.ok b/dev9/pg11/tpch/sf_1/explain/15721/11-1.ok new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/dev9/pg11/tpch/sf_1/explain/15721/11-1.res b/dev9/pg11/tpch/sf_1/explain/15721/11-1.res new file mode 100644 index 0000000000000000000000000000000000000000..bd2e130b9744edd7849290bbdd008b457baca51a --- /dev/null +++ b/dev9/pg11/tpch/sf_1/explain/15721/11-1.res @@ -0,0 +1 @@ +{"Plan": {"Node Type": "Sort", "Parallel Aware": false, "Startup Cost": 6357.47, "Total Cost": 6384.14, "Plan Rows": 10667, "Plan Width": 36, "Output": ["partsupp.ps_partkey", "(sum((partsupp.ps_supplycost * (partsupp.ps_availqty)::numeric)))"], "Sort Key": ["(sum((partsupp.ps_supplycost * (partsupp.ps_availqty)::numeric))) DESC"], "Plans": [{"Node Type": "Aggregate", "Strategy": "Plain", "Partial Mode": "Simple", "Parent Relationship": "InitPlan", "Subplan Name": "InitPlan 1 (returns $2)", "Parallel Aware": false, "Startup Cost": 2381.9, "Total Cost": 2381.91, "Plan Rows": 1, "Plan Width": 32, "Output": ["(sum((partsupp_1.ps_supplycost * (partsupp_1.ps_availqty)::numeric)) * 0.0001000000)"], "Plans": [{"Node Type": "Nested Loop", "Parent Relationship": "Outer", "Parallel Aware": false, "Join Type": "Inner", "Startup Cost": 6.01, "Total Cost": 2141.89, "Plan Rows": 32000, "Plan Width": 10, "Output": ["partsupp_1.ps_supplycost", "partsupp_1.ps_availqty"], "Inner Unique": false, "Plans": [{"Node Type": "Nested Loop", "Parent Relationship": "Outer", "Parallel Aware": false, "Join Type": "Inner", "Startup Cost": 5.58, "Total Cost": 227.43, "Plan Rows": 400, "Plan Width": 4, "Output": ["supplier_1.s_suppkey"], "Inner Unique": false, "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Relation Name": "nation", "Schema": "public", "Alias": "nation_1", "Startup Cost": 0.0, "Total Cost": 1.31, "Plan Rows": 1, "Plan Width": 4, "Output": ["nation_1.n_nationkey", "nation_1.n_name", "nation_1.n_regionkey", "nation_1.n_comment"], "Filter": "(nation_1.n_name = 'CHINA'::bpchar)"}, {"Node Type": "Bitmap Heap Scan", "Parent Relationship": "Inner", "Parallel Aware": false, "Relation Name": "supplier", "Schema": "public", "Alias": "supplier_1", "Startup Cost": 5.58, "Total Cost": 222.11, "Plan Rows": 400, "Plan Width": 8, "Output": ["supplier_1.s_suppkey", "supplier_1.s_name", "supplier_1.s_address", "supplier_1.s_nationkey", "supplier_1.s_phone", "supplier_1.s_acctbal", "supplier_1.s_comment"], "Recheck Cond": "(supplier_1.s_nationkey = nation_1.n_nationkey)", "Plans": [{"Node Type": "Bitmap Index Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Index Name": "s_nk", "Startup Cost": 0.0, "Total Cost": 5.49, "Plan Rows": 400, "Plan Width": 0, "Index Cond": "(supplier_1.s_nationkey = nation_1.n_nationkey)"}]}]}, {"Node Type": "Index Scan", "Parent Relationship": "Inner", "Parallel Aware": false, "Scan Direction": "Forward", "Index Name": "ps_sk", "Relation Name": "partsupp", "Schema": "public", "Alias": "partsupp_1", "Startup Cost": 0.42, "Total Cost": 3.99, "Plan Rows": 80, "Plan Width": 14, "Output": ["partsupp_1.ps_partkey", "partsupp_1.ps_suppkey", "partsupp_1.ps_availqty", "partsupp_1.ps_supplycost", "partsupp_1.ps_comment"], "Index Cond": "(partsupp_1.ps_suppkey = supplier_1.s_suppkey)"}]}]}, {"Node Type": "Aggregate", "Strategy": "Hashed", "Partial Mode": "Simple", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 2701.89, "Total Cost": 3261.89, "Plan Rows": 10667, "Plan Width": 36, "Output": ["partsupp.ps_partkey", "sum((partsupp.ps_supplycost * (partsupp.ps_availqty)::numeric))"], "Group Key": ["partsupp.ps_partkey"], "Filter": "(sum((partsupp.ps_supplycost * (partsupp.ps_availqty)::numeric)) > $2)", "Plans": [{"Node Type": "Nested Loop", "Parent Relationship": "Outer", "Parallel Aware": false, "Join Type": "Inner", "Startup Cost": 6.01, "Total Cost": 2141.89, "Plan Rows": 32000, "Plan Width": 14, "Output": ["partsupp.ps_partkey", "partsupp.ps_supplycost", "partsupp.ps_availqty"], "Inner Unique": false, "Plans": [{"Node Type": "Nested Loop", "Parent Relationship": "Outer", "Parallel Aware": false, "Join Type": "Inner", "Startup Cost": 5.58, "Total Cost": 227.43, "Plan Rows": 400, "Plan Width": 4, "Output": ["supplier.s_suppkey"], "Inner Unique": false, "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Relation Name": "nation", "Schema": "public", "Alias": "nation", "Startup Cost": 0.0, "Total Cost": 1.31, "Plan Rows": 1, "Plan Width": 4, "Output": ["nation.n_nationkey", "nation.n_name", "nation.n_regionkey", "nation.n_comment"], "Filter": "(nation.n_name = 'CHINA'::bpchar)"}, {"Node Type": "Bitmap Heap Scan", "Parent Relationship": "Inner", "Parallel Aware": false, "Relation Name": "supplier", "Schema": "public", "Alias": "supplier", "Startup Cost": 5.58, "Total Cost": 222.11, "Plan Rows": 400, "Plan Width": 8, "Output": ["supplier.s_suppkey", "supplier.s_name", "supplier.s_address", "supplier.s_nationkey", "supplier.s_phone", "supplier.s_acctbal", "supplier.s_comment"], "Recheck Cond": "(supplier.s_nationkey = nation.n_nationkey)", "Plans": [{"Node Type": "Bitmap Index Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Index Name": "s_nk", "Startup Cost": 0.0, "Total Cost": 5.49, "Plan Rows": 400, "Plan Width": 0, "Index Cond": "(supplier.s_nationkey = nation.n_nationkey)"}]}]}, {"Node Type": "Index Scan", "Parent Relationship": "Inner", "Parallel Aware": false, "Scan Direction": "Forward", "Index Name": "ps_sk", "Relation Name": "partsupp", "Schema": "public", "Alias": "partsupp", "Startup Cost": 0.42, "Total Cost": 3.99, "Plan Rows": 80, "Plan Width": 18, "Output": ["partsupp.ps_partkey", "partsupp.ps_suppkey", "partsupp.ps_availqty", "partsupp.ps_supplycost", "partsupp.ps_comment"], "Index Cond": "(partsupp.ps_suppkey = supplier.s_suppkey)"}]}]}]}} diff --git a/dev9/pg11/tpch/sf_1/explain/15721/12-1.ok b/dev9/pg11/tpch/sf_1/explain/15721/12-1.ok new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/dev9/pg11/tpch/sf_1/explain/15721/12-1.res b/dev9/pg11/tpch/sf_1/explain/15721/12-1.res new file mode 100644 index 0000000000000000000000000000000000000000..e05b64623e91e9da091f2d3cad6714739a4d82ff --- /dev/null +++ b/dev9/pg11/tpch/sf_1/explain/15721/12-1.res @@ -0,0 +1 @@ +{"Plan": {"Node Type": "Aggregate", "Strategy": "Sorted", "Partial Mode": "Finalize", "Parallel Aware": false, "Startup Cost": 137636.45, "Total Cost": 137758.51, "Plan Rows": 7, "Plan Width": 27, "Output": ["lineitem.l_shipmode", "sum(CASE WHEN ((orders.o_orderpriority = '1-URGENT'::bpchar) OR (orders.o_orderpriority = '2-HIGH'::bpchar)) THEN 1 ELSE 0 END)", "sum(CASE WHEN ((orders.o_orderpriority <> '1-URGENT'::bpchar) AND (orders.o_orderpriority <> '2-HIGH'::bpchar)) THEN 1 ELSE 0 END)"], "Group Key": ["lineitem.l_shipmode"], "Plans": [{"Node Type": "Gather Merge", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 137636.45, "Total Cost": 137758.18, "Plan Rows": 35, "Plan Width": 27, "Output": ["lineitem.l_shipmode", "(PARTIAL sum(CASE WHEN ((orders.o_orderpriority = '1-URGENT'::bpchar) OR (orders.o_orderpriority = '2-HIGH'::bpchar)) THEN 1 ELSE 0 END))", "(PARTIAL sum(CASE WHEN ((orders.o_orderpriority <> '1-URGENT'::bpchar) AND (orders.o_orderpriority <> '2-HIGH'::bpchar)) THEN 1 ELSE 0 END))"], "Workers Planned": 5, "Plans": [{"Node Type": "Aggregate", "Strategy": "Sorted", "Partial Mode": "Partial", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 136636.38, "Total Cost": 136753.89, "Plan Rows": 7, "Plan Width": 27, "Output": ["lineitem.l_shipmode", "PARTIAL sum(CASE WHEN ((orders.o_orderpriority = '1-URGENT'::bpchar) OR (orders.o_orderpriority = '2-HIGH'::bpchar)) THEN 1 ELSE 0 END)", "PARTIAL sum(CASE WHEN ((orders.o_orderpriority <> '1-URGENT'::bpchar) AND (orders.o_orderpriority <> '2-HIGH'::bpchar)) THEN 1 ELSE 0 END)"], "Group Key": ["lineitem.l_shipmode"], "Plans": [{"Node Type": "Sort", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 136636.38, "Total Cost": 136651.06, "Plan Rows": 5872, "Plan Width": 27, "Output": ["lineitem.l_shipmode", "orders.o_orderpriority"], "Sort Key": ["lineitem.l_shipmode"], "Plans": [{"Node Type": "Nested Loop", "Parent Relationship": "Outer", "Parallel Aware": false, "Join Type": "Inner", "Startup Cost": 11976.6, "Total Cost": 136268.8, "Plan Rows": 5872, "Plan Width": 27, "Output": ["lineitem.l_shipmode", "orders.o_orderpriority"], "Inner Unique": true, "Plans": [{"Node Type": "Bitmap Heap Scan", "Parent Relationship": "Outer", "Parallel Aware": true, "Relation Name": "lineitem", "Schema": "public", "Alias": "lineitem", "Startup Cost": 11976.17, "Total Cost": 128616.56, "Plan Rows": 5872, "Plan Width": 15, "Output": ["lineitem.l_orderkey", "lineitem.l_partkey", "lineitem.l_suppkey", "lineitem.l_linenumber", "lineitem.l_quantity", "lineitem.l_extendedprice", "lineitem.l_discount", "lineitem.l_tax", "lineitem.l_returnflag", "lineitem.l_linestatus", "lineitem.l_shipdate", "lineitem.l_commitdate", "lineitem.l_receiptdate", "lineitem.l_shipinstruct", "lineitem.l_shipmode", "lineitem.l_comment"], "Recheck Cond": "((lineitem.l_receiptdate >= '1995-01-01'::date) AND (lineitem.l_receiptdate < '1996-01-01 00:00:00'::timestamp without time zone))", "Filter": "((lineitem.l_shipmode = ANY ('{MAIL,TRUCK}'::bpchar[])) AND (lineitem.l_commitdate < lineitem.l_receiptdate) AND (lineitem.l_shipdate < lineitem.l_commitdate))", "Plans": [{"Node Type": "Bitmap Index Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Index Name": "l_rd", "Startup Cost": 0.0, "Total Cost": 11968.83, "Plan Rows": 919420, "Plan Width": 0, "Index Cond": "((lineitem.l_receiptdate >= '1995-01-01'::date) AND (lineitem.l_receiptdate < '1996-01-01 00:00:00'::timestamp without time zone))"}]}, {"Node Type": "Index Scan", "Parent Relationship": "Inner", "Parallel Aware": false, "Scan Direction": "Forward", "Index Name": "o_ok", "Relation Name": "orders", "Schema": "public", "Alias": "orders", "Startup Cost": 0.43, "Total Cost": 1.3, "Plan Rows": 1, "Plan Width": 20, "Output": ["orders.o_orderkey", "orders.o_custkey", "orders.o_orderstatus", "orders.o_totalprice", "orders.o_orderdate", "orders.o_orderpriority", "orders.o_clerk", "orders.o_shippriority", "orders.o_comment"], "Index Cond": "(orders.o_orderkey = lineitem.l_orderkey)"}]}]}]}]}]}} diff --git a/dev9/pg11/tpch/sf_1/explain/15721/13-1.ok b/dev9/pg11/tpch/sf_1/explain/15721/13-1.ok new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/dev9/pg11/tpch/sf_1/explain/15721/13-1.res b/dev9/pg11/tpch/sf_1/explain/15721/13-1.res new file mode 100644 index 0000000000000000000000000000000000000000..58ce0199d5d65bbf881347e814a89c88075a6335 --- /dev/null +++ b/dev9/pg11/tpch/sf_1/explain/15721/13-1.res @@ -0,0 +1 @@ +{"Plan": {"Node Type": "Sort", "Parallel Aware": false, "Startup Cost": 64462.63, "Total Cost": 64463.13, "Plan Rows": 200, "Plan Width": 16, "Output": ["(count(orders.o_orderkey))", "(count(*))"], "Sort Key": ["(count(*)) DESC", "(count(orders.o_orderkey)) DESC"], "Plans": [{"Node Type": "Aggregate", "Strategy": "Hashed", "Partial Mode": "Simple", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 64452.99, "Total Cost": 64454.99, "Plan Rows": 200, "Plan Width": 16, "Output": ["(count(orders.o_orderkey))", "count(*)"], "Group Key": ["count(orders.o_orderkey)"], "Plans": [{"Node Type": "Aggregate", "Strategy": "Hashed", "Partial Mode": "Simple", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 60702.99, "Total Cost": 62202.99, "Plan Rows": 150000, "Plan Width": 12, "Output": ["customer.c_custkey", "count(orders.o_orderkey)"], "Group Key": ["customer.c_custkey"], "Plans": [{"Node Type": "Hash Join", "Parent Relationship": "Outer", "Parallel Aware": false, "Join Type": "Right", "Startup Cost": 4580.82, "Total Cost": 53308.2, "Plan Rows": 1478958, "Plan Width": 8, "Output": ["customer.c_custkey", "orders.o_orderkey"], "Inner Unique": true, "Hash Cond": "(orders.o_custkey = customer.c_custkey)", "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Relation Name": "orders", "Schema": "public", "Alias": "orders", "Startup Cost": 0.0, "Total Cost": 44845.0, "Plan Rows": 1478958, "Plan Width": 8, "Output": ["orders.o_orderkey", "orders.o_custkey", "orders.o_orderstatus", "orders.o_totalprice", "orders.o_orderdate", "orders.o_orderpriority", "orders.o_clerk", "orders.o_shippriority", "orders.o_comment"], "Filter": "((orders.o_comment)::text !~~ '%unusual%requests%'::text)"}, {"Node Type": "Hash", "Parent Relationship": "Inner", "Parallel Aware": false, "Startup Cost": 2705.82, "Total Cost": 2705.82, "Plan Rows": 150000, "Plan Width": 4, "Output": ["customer.c_custkey"], "Plans": [{"Node Type": "Index Only Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Scan Direction": "Forward", "Index Name": "c_ck", "Relation Name": "customer", "Schema": "public", "Alias": "customer", "Startup Cost": 0.42, "Total Cost": 2705.82, "Plan Rows": 150000, "Plan Width": 4, "Output": ["customer.c_custkey"]}]}]}]}]}]}} diff --git a/dev9/pg11/tpch/sf_1/explain/15721/14-1.ok b/dev9/pg11/tpch/sf_1/explain/15721/14-1.ok new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/dev9/pg11/tpch/sf_1/explain/15721/14-1.res b/dev9/pg11/tpch/sf_1/explain/15721/14-1.res new file mode 100644 index 0000000000000000000000000000000000000000..7ea5368c78731faf097efc94f255b045b51040ff --- /dev/null +++ b/dev9/pg11/tpch/sf_1/explain/15721/14-1.res @@ -0,0 +1 @@ +{"Plan": {"Node Type": "Aggregate", "Strategy": "Plain", "Partial Mode": "Finalize", "Parallel Aware": false, "Startup Cost": 68988.32, "Total Cost": 68988.34, "Plan Rows": 1, "Plan Width": 32, "Output": ["((100.00 * sum(CASE WHEN ((part.p_type)::text ~~ 'PROMO%'::text) THEN (lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount)) ELSE '0'::numeric END)) / sum((lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount))))"], "Plans": [{"Node Type": "Gather", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 68987.87, "Total Cost": 68988.28, "Plan Rows": 4, "Plan Width": 64, "Output": ["(PARTIAL sum(CASE WHEN ((part.p_type)::text ~~ 'PROMO%'::text) THEN (lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount)) ELSE '0'::numeric END))", "(PARTIAL sum((lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount))))"], "Workers Planned": 4, "Single Copy": false, "Plans": [{"Node Type": "Aggregate", "Strategy": "Plain", "Partial Mode": "Partial", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 67987.87, "Total Cost": 67987.88, "Plan Rows": 1, "Plan Width": 64, "Output": ["PARTIAL sum(CASE WHEN ((part.p_type)::text ~~ 'PROMO%'::text) THEN (lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount)) ELSE '0'::numeric END)", "PARTIAL sum((lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount)))"], "Plans": [{"Node Type": "Hash Join", "Parent Relationship": "Outer", "Parallel Aware": true, "Join Type": "Inner", "Startup Cost": 7025.06, "Total Cost": 67640.93, "Plan Rows": 19825, "Plan Width": 33, "Output": ["part.p_type", "lineitem.l_extendedprice", "lineitem.l_discount"], "Inner Unique": true, "Hash Cond": "(lineitem.l_partkey = part.p_partkey)", "Plans": [{"Node Type": "Bitmap Heap Scan", "Parent Relationship": "Outer", "Parallel Aware": true, "Relation Name": "lineitem", "Schema": "public", "Alias": "lineitem", "Startup Cost": 1053.07, "Total Cost": 61616.89, "Plan Rows": 19825, "Plan Width": 16, "Output": ["lineitem.l_orderkey", "lineitem.l_partkey", "lineitem.l_suppkey", "lineitem.l_linenumber", "lineitem.l_quantity", "lineitem.l_extendedprice", "lineitem.l_discount", "lineitem.l_tax", "lineitem.l_returnflag", "lineitem.l_linestatus", "lineitem.l_shipdate", "lineitem.l_commitdate", "lineitem.l_receiptdate", "lineitem.l_shipinstruct", "lineitem.l_shipmode", "lineitem.l_comment"], "Recheck Cond": "((lineitem.l_shipdate >= '1995-05-01'::date) AND (lineitem.l_shipdate < '1995-06-01 00:00:00'::timestamp without time zone))", "Plans": [{"Node Type": "Bitmap Index Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Index Name": "l_sd", "Startup Cost": 0.0, "Total Cost": 1033.24, "Plan Rows": 79301, "Plan Width": 0, "Index Cond": "((lineitem.l_shipdate >= '1995-05-01'::date) AND (lineitem.l_shipdate < '1995-06-01 00:00:00'::timestamp without time zone))"}]}, {"Node Type": "Hash", "Parent Relationship": "Inner", "Parallel Aware": true, "Startup Cost": 4930.33, "Total Cost": 4930.33, "Plan Rows": 83333, "Plan Width": 25, "Output": ["part.p_type", "part.p_partkey"], "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": true, "Relation Name": "part", "Schema": "public", "Alias": "part", "Startup Cost": 0.0, "Total Cost": 4930.33, "Plan Rows": 83333, "Plan Width": 25, "Output": ["part.p_type", "part.p_partkey"]}]}]}]}]}]}} diff --git a/dev9/pg11/tpch/sf_1/explain/15721/15-1.ok b/dev9/pg11/tpch/sf_1/explain/15721/15-1.ok new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/dev9/pg11/tpch/sf_1/explain/15721/15-1.res b/dev9/pg11/tpch/sf_1/explain/15721/15-1.res new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/dev9/pg11/tpch/sf_1/explain/15721/15-2.ok b/dev9/pg11/tpch/sf_1/explain/15721/15-2.ok new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/dev9/pg11/tpch/sf_1/explain/15721/15-2.res b/dev9/pg11/tpch/sf_1/explain/15721/15-2.res new file mode 100644 index 0000000000000000000000000000000000000000..bae655cc34583fdcf5b789b4f1d2eeca9dc1e560 --- /dev/null +++ b/dev9/pg11/tpch/sf_1/explain/15721/15-2.res @@ -0,0 +1 @@ +{"Plan": {"Node Type": "Merge Join", "Parallel Aware": false, "Join Type": "Inner", "Startup Cost": 244480.31, "Total Cost": 244911.17, "Plan Rows": 50, "Plan Width": 103, "Output": ["supplier.s_suppkey", "supplier.s_name", "supplier.s_address", "supplier.s_phone", "revenue0.total_revenue"], "Inner Unique": true, "Merge Cond": "(supplier.s_suppkey = revenue0.supplier_no)", "Plans": [{"Node Type": "Aggregate", "Strategy": "Plain", "Partial Mode": "Simple", "Parent Relationship": "InitPlan", "Subplan Name": "InitPlan 1 (returns $0)", "Parallel Aware": false, "Startup Cost": 121426.66, "Total Cost": 121426.67, "Plan Rows": 1, "Plan Width": 32, "Output": ["max((sum((lineitem_1.l_extendedprice * ('1'::numeric - lineitem_1.l_discount)))))"], "Plans": [{"Node Type": "Aggregate", "Strategy": "Hashed", "Partial Mode": "Simple", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 121176.66, "Total Cost": 121301.66, "Plan Rows": 10000, "Plan Width": 36, "Output": ["lineitem_1.l_suppkey", "sum((lineitem_1.l_extendedprice * ('1'::numeric - lineitem_1.l_discount)))"], "Group Key": ["lineitem_1.l_suppkey"], "Plans": [{"Node Type": "Bitmap Heap Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Relation Name": "lineitem", "Schema": "public", "Alias": "lineitem_1", "Startup Cost": 3007.68, "Total Cost": 118910.27, "Plan Rows": 226639, "Plan Width": 16, "Output": ["lineitem_1.l_orderkey", "lineitem_1.l_partkey", "lineitem_1.l_suppkey", "lineitem_1.l_linenumber", "lineitem_1.l_quantity", "lineitem_1.l_extendedprice", "lineitem_1.l_discount", "lineitem_1.l_tax", "lineitem_1.l_returnflag", "lineitem_1.l_linestatus", "lineitem_1.l_shipdate", "lineitem_1.l_commitdate", "lineitem_1.l_receiptdate", "lineitem_1.l_shipinstruct", "lineitem_1.l_shipmode", "lineitem_1.l_comment"], "Recheck Cond": "((lineitem_1.l_shipdate >= '1995-01-01'::date) AND (lineitem_1.l_shipdate < '1995-04-01 00:00:00'::timestamp without time zone))", "Plans": [{"Node Type": "Bitmap Index Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Index Name": "l_sd", "Startup Cost": 0.0, "Total Cost": 2951.02, "Plan Rows": 226639, "Plan Width": 0, "Index Cond": "((lineitem_1.l_shipdate >= '1995-01-01'::date) AND (lineitem_1.l_shipdate < '1995-04-01 00:00:00'::timestamp without time zone))"}]}]}]}, {"Node Type": "Index Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Scan Direction": "Forward", "Index Name": "s_sk", "Relation Name": "supplier", "Schema": "public", "Alias": "supplier", "Startup Cost": 0.29, "Total Cost": 405.39, "Plan Rows": 10000, "Plan Width": 71, "Output": ["supplier.s_suppkey", "supplier.s_name", "supplier.s_address", "supplier.s_nationkey", "supplier.s_phone", "supplier.s_acctbal", "supplier.s_comment"]}, {"Node Type": "Sort", "Parent Relationship": "Inner", "Parallel Aware": false, "Startup Cost": 123053.36, "Total Cost": 123053.49, "Plan Rows": 50, "Plan Width": 36, "Output": ["revenue0.total_revenue", "revenue0.supplier_no"], "Sort Key": ["revenue0.supplier_no"], "Plans": [{"Node Type": "Subquery Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Alias": "revenue0", "Startup Cost": 122876.45, "Total Cost": 123051.95, "Plan Rows": 50, "Plan Width": 36, "Output": ["revenue0.total_revenue", "revenue0.supplier_no"], "Plans": [{"Node Type": "Aggregate", "Strategy": "Hashed", "Partial Mode": "Simple", "Parent Relationship": "Subquery", "Parallel Aware": false, "Startup Cost": 122876.45, "Total Cost": 123051.45, "Plan Rows": 50, "Plan Width": 36, "Output": ["lineitem.l_suppkey", "sum((lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount)))"], "Group Key": ["lineitem.l_suppkey"], "Filter": "(sum((lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount))) = $0)", "Plans": [{"Node Type": "Bitmap Heap Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Relation Name": "lineitem", "Schema": "public", "Alias": "lineitem", "Startup Cost": 3007.68, "Total Cost": 118910.27, "Plan Rows": 226639, "Plan Width": 16, "Output": ["lineitem.l_orderkey", "lineitem.l_partkey", "lineitem.l_suppkey", "lineitem.l_linenumber", "lineitem.l_quantity", "lineitem.l_extendedprice", "lineitem.l_discount", "lineitem.l_tax", "lineitem.l_returnflag", "lineitem.l_linestatus", "lineitem.l_shipdate", "lineitem.l_commitdate", "lineitem.l_receiptdate", "lineitem.l_shipinstruct", "lineitem.l_shipmode", "lineitem.l_comment"], "Recheck Cond": "((lineitem.l_shipdate >= '1995-01-01'::date) AND (lineitem.l_shipdate < '1995-04-01 00:00:00'::timestamp without time zone))", "Plans": [{"Node Type": "Bitmap Index Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Index Name": "l_sd", "Startup Cost": 0.0, "Total Cost": 2951.02, "Plan Rows": 226639, "Plan Width": 0, "Index Cond": "((lineitem.l_shipdate >= '1995-01-01'::date) AND (lineitem.l_shipdate < '1995-04-01 00:00:00'::timestamp without time zone))"}]}]}]}]}]}} diff --git a/dev9/pg11/tpch/sf_1/explain/15721/15-3.ok b/dev9/pg11/tpch/sf_1/explain/15721/15-3.ok new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/dev9/pg11/tpch/sf_1/explain/15721/15-3.res b/dev9/pg11/tpch/sf_1/explain/15721/15-3.res new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/dev9/pg11/tpch/sf_1/explain/15721/16-1.ok b/dev9/pg11/tpch/sf_1/explain/15721/16-1.ok new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/dev9/pg11/tpch/sf_1/explain/15721/16-1.res b/dev9/pg11/tpch/sf_1/explain/15721/16-1.res new file mode 100644 index 0000000000000000000000000000000000000000..1998afd46f97a3feb298120b11a2c149532f6972 --- /dev/null +++ b/dev9/pg11/tpch/sf_1/explain/15721/16-1.res @@ -0,0 +1 @@ +{"Plan": {"Node Type": "Sort", "Parallel Aware": false, "Startup Cost": 29647.27, "Total Cost": 29687.41, "Plan Rows": 16057, "Plan Width": 44, "Output": ["part.p_brand", "part.p_type", "part.p_size", "(count(DISTINCT partsupp.ps_suppkey))"], "Sort Key": ["(count(DISTINCT partsupp.ps_suppkey)) DESC", "part.p_brand", "part.p_type", "part.p_size"], "Plans": [{"Node Type": "Aggregate", "Strategy": "Sorted", "Partial Mode": "Simple", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 27615.59, "Total Cost": 28525.61, "Plan Rows": 16057, "Plan Width": 44, "Output": ["part.p_brand", "part.p_type", "part.p_size", "count(DISTINCT partsupp.ps_suppkey)"], "Group Key": ["part.p_brand", "part.p_type", "part.p_size"], "Plans": [{"Node Type": "Sort", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 27615.59, "Total Cost": 27765.48, "Plan Rows": 59956, "Plan Width": 40, "Output": ["part.p_brand", "part.p_type", "part.p_size", "partsupp.ps_suppkey"], "Sort Key": ["part.p_brand", "part.p_type", "part.p_size"], "Plans": [{"Node Type": "Gather", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 7683.9, "Total Cost": 22857.6, "Plan Rows": 59956, "Plan Width": 40, "Output": ["part.p_brand", "part.p_type", "part.p_size", "partsupp.ps_suppkey"], "Workers Planned": 4, "Single Copy": false, "Plans": [{"Node Type": "Hash Join", "Parent Relationship": "Outer", "Parallel Aware": true, "Join Type": "Inner", "Startup Cost": 6683.9, "Total Cost": 15862.0, "Plan Rows": 14989, "Plan Width": 40, "Output": ["part.p_brand", "part.p_type", "part.p_size", "partsupp.ps_suppkey"], "Inner Unique": true, "Hash Cond": "(partsupp.ps_partkey = part.p_partkey)", "Plans": [{"Node Type": "Index Only Scan", "Parent Relationship": "Outer", "Parallel Aware": true, "Scan Direction": "Forward", "Index Name": "ps_pk_sk", "Relation Name": "partsupp", "Schema": "public", "Alias": "partsupp", "Startup Cost": 347.43, "Total Cost": 9263.03, "Plan Rows": 100000, "Plan Width": 8, "Output": ["partsupp.ps_partkey", "partsupp.ps_suppkey"], "Filter": "(NOT (hashed SubPlan 1))", "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "SubPlan", "Subplan Name": "SubPlan 1", "Parallel Aware": false, "Relation Name": "supplier", "Schema": "public", "Alias": "supplier", "Startup Cost": 0.0, "Total Cost": 347.0, "Plan Rows": 1, "Plan Width": 4, "Output": ["supplier.s_suppkey"], "Filter": "((supplier.s_comment)::text ~~ '%Customer%Complaints%'::text)"}]}, {"Node Type": "Hash", "Parent Relationship": "Inner", "Parallel Aware": true, "Startup Cost": 6180.33, "Total Cost": 6180.33, "Plan Rows": 12491, "Plan Width": 40, "Output": ["part.p_brand", "part.p_type", "part.p_size", "part.p_partkey"], "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": true, "Relation Name": "part", "Schema": "public", "Alias": "part", "Startup Cost": 0.0, "Total Cost": 6180.33, "Plan Rows": 12491, "Plan Width": 40, "Output": ["part.p_brand", "part.p_type", "part.p_size", "part.p_partkey"], "Filter": "((part.p_brand <> 'Brand#11'::bpchar) AND ((part.p_type)::text !~~ 'ECONOMY ANODIZED%'::text) AND (part.p_size = ANY ('{42,16,39,18,23,32,44,41}'::integer[])))"}]}]}]}]}]}]}} diff --git a/dev9/pg11/tpch/sf_1/explain/15721/17-1.ok b/dev9/pg11/tpch/sf_1/explain/15721/17-1.ok new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/dev9/pg11/tpch/sf_1/explain/15721/17-1.res b/dev9/pg11/tpch/sf_1/explain/15721/17-1.res new file mode 100644 index 0000000000000000000000000000000000000000..7defca3282450a148eb5f320660be1e3670c4aad --- /dev/null +++ b/dev9/pg11/tpch/sf_1/explain/15721/17-1.res @@ -0,0 +1 @@ +{"Plan": {"Node Type": "Aggregate", "Strategy": "Plain", "Partial Mode": "Simple", "Parallel Aware": false, "Startup Cost": 195005.37, "Total Cost": 195005.38, "Plan Rows": 1, "Plan Width": 32, "Output": ["(sum(lineitem.l_extendedprice) / 7.0)"], "Plans": [{"Node Type": "Hash Join", "Parent Relationship": "Outer", "Parallel Aware": false, "Join Type": "Inner", "Startup Cost": 6369.28, "Total Cost": 195000.42, "Plan Rows": 1980, "Plan Width": 8, "Output": ["lineitem.l_extendedprice"], "Inner Unique": true, "Hash Cond": "(lineitem.l_partkey = part.p_partkey)", "Join Filter": "(lineitem.l_quantity < (SubPlan 1))", "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Relation Name": "lineitem", "Schema": "public", "Alias": "lineitem", "Startup Cost": 0.0, "Total Cost": 172515.15, "Plan Rows": 6001215, "Plan Width": 17, "Output": ["lineitem.l_orderkey", "lineitem.l_partkey", "lineitem.l_suppkey", "lineitem.l_linenumber", "lineitem.l_quantity", "lineitem.l_extendedprice", "lineitem.l_discount", "lineitem.l_tax", "lineitem.l_returnflag", "lineitem.l_linestatus", "lineitem.l_shipdate", "lineitem.l_commitdate", "lineitem.l_receiptdate", "lineitem.l_shipinstruct", "lineitem.l_shipmode", "lineitem.l_comment"]}, {"Node Type": "Hash", "Parent Relationship": "Inner", "Parallel Aware": false, "Startup Cost": 6366.8, "Total Cost": 6366.8, "Plan Rows": 198, "Plan Width": 4, "Output": ["part.p_partkey"], "Plans": [{"Node Type": "Gather", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 1000.0, "Total Cost": 6366.8, "Plan Rows": 198, "Plan Width": 4, "Output": ["part.p_partkey"], "Workers Planned": 2, "Single Copy": false, "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": true, "Relation Name": "part", "Schema": "public", "Alias": "part", "Startup Cost": 0.0, "Total Cost": 5347.0, "Plan Rows": 82, "Plan Width": 4, "Output": ["part.p_partkey"], "Filter": "((part.p_brand = 'Brand#14'::bpchar) AND (part.p_container = 'WRAP BOX'::bpchar))"}]}]}, {"Node Type": "Aggregate", "Strategy": "Plain", "Partial Mode": "Simple", "Parent Relationship": "SubPlan", "Subplan Name": "SubPlan 1", "Parallel Aware": false, "Startup Cost": 36.25, "Total Cost": 36.27, "Plan Rows": 1, "Plan Width": 32, "Output": ["(0.2 * avg(lineitem_1.l_quantity))"], "Plans": [{"Node Type": "Index Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Scan Direction": "Forward", "Index Name": "l_pk", "Relation Name": "lineitem", "Schema": "public", "Alias": "lineitem_1", "Startup Cost": 0.43, "Total Cost": 36.17, "Plan Rows": 31, "Plan Width": 5, "Output": ["lineitem_1.l_orderkey", "lineitem_1.l_partkey", "lineitem_1.l_suppkey", "lineitem_1.l_linenumber", "lineitem_1.l_quantity", "lineitem_1.l_extendedprice", "lineitem_1.l_discount", "lineitem_1.l_tax", "lineitem_1.l_returnflag", "lineitem_1.l_linestatus", "lineitem_1.l_shipdate", "lineitem_1.l_commitdate", "lineitem_1.l_receiptdate", "lineitem_1.l_shipinstruct", "lineitem_1.l_shipmode", "lineitem_1.l_comment"], "Index Cond": "(lineitem_1.l_partkey = part.p_partkey)"}]}]}]}} diff --git a/dev9/pg11/tpch/sf_1/explain/15721/18-1.ok b/dev9/pg11/tpch/sf_1/explain/15721/18-1.ok new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/dev9/pg11/tpch/sf_1/explain/15721/18-1.res b/dev9/pg11/tpch/sf_1/explain/15721/18-1.res new file mode 100644 index 0000000000000000000000000000000000000000..68d82cf065dc6ef73a7fbfa2f470e373bf311d01 --- /dev/null +++ b/dev9/pg11/tpch/sf_1/explain/15721/18-1.res @@ -0,0 +1 @@ +{"Plan": {"Node Type": "Limit", "Parallel Aware": false, "Startup Cost": 759828.34, "Total Cost": 759828.59, "Plan Rows": 100, "Plan Width": 71, "Output": ["customer.c_name", "customer.c_custkey", "orders.o_orderkey", "orders.o_orderdate", "orders.o_totalprice", "(sum(lineitem.l_quantity))"], "Plans": [{"Node Type": "Sort", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 759828.34, "Total Cost": 763909.83, "Plan Rows": 1632595, "Plan Width": 71, "Output": ["customer.c_name", "customer.c_custkey", "orders.o_orderkey", "orders.o_orderdate", "orders.o_totalprice", "(sum(lineitem.l_quantity))"], "Sort Key": ["orders.o_totalprice DESC", "orders.o_orderdate"], "Plans": [{"Node Type": "Aggregate", "Strategy": "Sorted", "Partial Mode": "Finalize", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 463733.48, "Total Cost": 697431.74, "Plan Rows": 1632595, "Plan Width": 71, "Output": ["customer.c_name", "customer.c_custkey", "orders.o_orderkey", "orders.o_orderdate", "orders.o_totalprice", "sum(lineitem.l_quantity)"], "Group Key": ["customer.c_custkey", "orders.o_orderkey"], "Plans": [{"Node Type": "Gather Merge", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 463733.48, "Total Cost": 661224.98, "Plan Rows": 1579932, "Plan Width": 71, "Output": ["customer.c_custkey", "orders.o_orderkey", "customer.c_name", "orders.o_orderdate", "orders.o_totalprice", "(PARTIAL sum(lineitem.l_quantity))"], "Workers Planned": 3, "Plans": [{"Node Type": "Aggregate", "Strategy": "Sorted", "Partial Mode": "Partial", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 462733.44, "Total Cost": 474582.93, "Plan Rows": 526644, "Plan Width": 71, "Output": ["customer.c_custkey", "orders.o_orderkey", "customer.c_name", "orders.o_orderdate", "orders.o_totalprice", "PARTIAL sum(lineitem.l_quantity)"], "Group Key": ["customer.c_custkey", "orders.o_orderkey"], "Plans": [{"Node Type": "Sort", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 462733.44, "Total Cost": 464050.05, "Plan Rows": 526644, "Plan Width": 44, "Output": ["customer.c_custkey", "orders.o_orderkey", "customer.c_name", "orders.o_orderdate", "orders.o_totalprice", "lineitem.l_quantity"], "Sort Key": ["customer.c_custkey", "orders.o_orderkey"], "Plans": [{"Node Type": "Nested Loop", "Parent Relationship": "Outer", "Parallel Aware": false, "Join Type": "Inner", "Startup Cost": 283166.69, "Total Cost": 403195.78, "Plan Rows": 526644, "Plan Width": 44, "Output": ["customer.c_custkey", "orders.o_orderkey", "customer.c_name", "orders.o_orderdate", "orders.o_totalprice", "lineitem.l_quantity"], "Inner Unique": false, "Plans": [{"Node Type": "Hash Join", "Parent Relationship": "Outer", "Parallel Aware": true, "Join Type": "Inner", "Startup Cost": 283166.26, "Total Cost": 315715.68, "Plan Rows": 131634, "Plan Width": 43, "Output": ["customer.c_name", "customer.c_custkey", "orders.o_orderkey", "orders.o_orderdate", "orders.o_totalprice", "lineitem_1.l_orderkey"], "Inner Unique": true, "Hash Cond": "(orders.o_custkey = customer.c_custkey)", "Plans": [{"Node Type": "Hash Join", "Parent Relationship": "Outer", "Parallel Aware": false, "Join Type": "Inner", "Startup Cost": 278175.01, "Total Cost": 310378.88, "Plan Rows": 131634, "Plan Width": 24, "Output": ["orders.o_orderkey", "orders.o_orderdate", "orders.o_totalprice", "orders.o_custkey", "lineitem_1.l_orderkey"], "Inner Unique": true, "Hash Cond": "(orders.o_orderkey = lineitem_1.l_orderkey)", "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": true, "Relation Name": "orders", "Schema": "public", "Alias": "orders", "Startup Cost": 0.0, "Total Cost": 30933.71, "Plan Rows": 483871, "Plan Width": 20, "Output": ["orders.o_orderkey", "orders.o_custkey", "orders.o_orderstatus", "orders.o_totalprice", "orders.o_orderdate", "orders.o_orderpriority", "orders.o_clerk", "orders.o_shippriority", "orders.o_comment"]}, {"Node Type": "Hash", "Parent Relationship": "Inner", "Parallel Aware": false, "Startup Cost": 273074.19, "Total Cost": 273074.19, "Plan Rows": 408066, "Plan Width": 4, "Output": ["lineitem_1.l_orderkey"], "Plans": [{"Node Type": "Aggregate", "Strategy": "Sorted", "Partial Mode": "Simple", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 0.43, "Total Cost": 268993.53, "Plan Rows": 408066, "Plan Width": 4, "Output": ["lineitem_1.l_orderkey"], "Group Key": ["lineitem_1.l_orderkey"], "Filter": "(sum(lineitem_1.l_quantity) > '314'::numeric)", "Plans": [{"Node Type": "Index Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Scan Direction": "Forward", "Index Name": "l_ok", "Relation Name": "lineitem", "Schema": "public", "Alias": "lineitem_1", "Startup Cost": 0.43, "Total Cost": 220624.47, "Plan Rows": 6001215, "Plan Width": 9, "Output": ["lineitem_1.l_orderkey", "lineitem_1.l_partkey", "lineitem_1.l_suppkey", "lineitem_1.l_linenumber", "lineitem_1.l_quantity", "lineitem_1.l_extendedprice", "lineitem_1.l_discount", "lineitem_1.l_tax", "lineitem_1.l_returnflag", "lineitem_1.l_linestatus", "lineitem_1.l_shipdate", "lineitem_1.l_commitdate", "lineitem_1.l_receiptdate", "lineitem_1.l_shipinstruct", "lineitem_1.l_shipmode", "lineitem_1.l_comment"]}]}]}]}, {"Node Type": "Hash", "Parent Relationship": "Inner", "Parallel Aware": true, "Startup Cost": 4210.0, "Total Cost": 4210.0, "Plan Rows": 62500, "Plan Width": 23, "Output": ["customer.c_name", "customer.c_custkey"], "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": true, "Relation Name": "customer", "Schema": "public", "Alias": "customer", "Startup Cost": 0.0, "Total Cost": 4210.0, "Plan Rows": 62500, "Plan Width": 23, "Output": ["customer.c_name", "customer.c_custkey"]}]}]}, {"Node Type": "Index Scan", "Parent Relationship": "Inner", "Parallel Aware": false, "Scan Direction": "Forward", "Index Name": "l_ok", "Relation Name": "lineitem", "Schema": "public", "Alias": "lineitem", "Startup Cost": 0.43, "Total Cost": 0.61, "Plan Rows": 5, "Plan Width": 9, "Output": ["lineitem.l_orderkey", "lineitem.l_partkey", "lineitem.l_suppkey", "lineitem.l_linenumber", "lineitem.l_quantity", "lineitem.l_extendedprice", "lineitem.l_discount", "lineitem.l_tax", "lineitem.l_returnflag", "lineitem.l_linestatus", "lineitem.l_shipdate", "lineitem.l_commitdate", "lineitem.l_receiptdate", "lineitem.l_shipinstruct", "lineitem.l_shipmode", "lineitem.l_comment"], "Index Cond": "(lineitem.l_orderkey = orders.o_orderkey)"}]}]}]}]}]}]}]}} diff --git a/dev9/pg11/tpch/sf_1/explain/15721/19-1.ok b/dev9/pg11/tpch/sf_1/explain/15721/19-1.ok new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/dev9/pg11/tpch/sf_1/explain/15721/19-1.res b/dev9/pg11/tpch/sf_1/explain/15721/19-1.res new file mode 100644 index 0000000000000000000000000000000000000000..f44bfaec26cc29dfdb01b5c1225729dea9c65df5 --- /dev/null +++ b/dev9/pg11/tpch/sf_1/explain/15721/19-1.res @@ -0,0 +1 @@ +{"Plan": {"Node Type": "Aggregate", "Strategy": "Plain", "Partial Mode": "Finalize", "Parallel Aware": false, "Startup Cost": 15887.0, "Total Cost": 15887.01, "Plan Rows": 1, "Plan Width": 32, "Output": ["sum((lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount)))"], "Plans": [{"Node Type": "Gather", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 15886.77, "Total Cost": 15886.98, "Plan Rows": 2, "Plan Width": 32, "Output": ["(PARTIAL sum((lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount))))"], "Workers Planned": 2, "Single Copy": false, "Plans": [{"Node Type": "Aggregate", "Strategy": "Plain", "Partial Mode": "Partial", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 14886.77, "Total Cost": 14886.78, "Plan Rows": 1, "Plan Width": 32, "Output": ["PARTIAL sum((lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount)))"], "Plans": [{"Node Type": "Nested Loop", "Parent Relationship": "Outer", "Parallel Aware": false, "Join Type": "Inner", "Startup Cost": 0.43, "Total Cost": 14886.41, "Plan Rows": 48, "Plan Width": 12, "Output": ["lineitem.l_extendedprice", "lineitem.l_discount"], "Inner Unique": false, "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": true, "Relation Name": "part", "Schema": "public", "Alias": "part", "Startup Cost": 0.0, "Total Cost": 7638.67, "Plan Rows": 201, "Plan Width": 30, "Output": ["part.p_partkey", "part.p_name", "part.p_mfgr", "part.p_brand", "part.p_type", "part.p_size", "part.p_container", "part.p_retailprice", "part.p_comment"], "Filter": "((part.p_size >= 1) AND (((part.p_brand = 'Brand#52'::bpchar) AND (part.p_container = ANY ('{\"SM CASE\",\"SM BOX\",\"SM PACK\",\"SM PKG\"}'::bpchar[])) AND (part.p_size <= 5)) OR ((part.p_brand = 'Brand#42'::bpchar) AND (part.p_container = ANY ('{\"MED BAG\",\"MED BOX\",\"MED PKG\",\"MED PACK\"}'::bpchar[])) AND (part.p_size <= 10)) OR ((part.p_brand = 'Brand#23'::bpchar) AND (part.p_container = ANY ('{\"LG CASE\",\"LG BOX\",\"LG PACK\",\"LG PKG\"}'::bpchar[])) AND (part.p_size <= 15))))"}, {"Node Type": "Index Scan", "Parent Relationship": "Inner", "Parallel Aware": false, "Scan Direction": "Forward", "Index Name": "l_pk", "Relation Name": "lineitem", "Schema": "public", "Alias": "lineitem", "Startup Cost": 0.43, "Total Cost": 36.05, "Plan Rows": 1, "Plan Width": 21, "Output": ["lineitem.l_orderkey", "lineitem.l_partkey", "lineitem.l_suppkey", "lineitem.l_linenumber", "lineitem.l_quantity", "lineitem.l_extendedprice", "lineitem.l_discount", "lineitem.l_tax", "lineitem.l_returnflag", "lineitem.l_linestatus", "lineitem.l_shipdate", "lineitem.l_commitdate", "lineitem.l_receiptdate", "lineitem.l_shipinstruct", "lineitem.l_shipmode", "lineitem.l_comment"], "Index Cond": "(lineitem.l_partkey = part.p_partkey)", "Filter": "((lineitem.l_shipmode = ANY ('{AIR,\"AIR REG\"}'::bpchar[])) AND (lineitem.l_shipinstruct = 'DELIVER IN PERSON'::bpchar) AND (((lineitem.l_quantity >= '9'::numeric) AND (lineitem.l_quantity <= '19'::numeric)) OR ((lineitem.l_quantity >= '18'::numeric) AND (lineitem.l_quantity <= '28'::numeric)) OR ((lineitem.l_quantity >= '22'::numeric) AND (lineitem.l_quantity <= '32'::numeric))) AND (((part.p_brand = 'Brand#52'::bpchar) AND (part.p_container = ANY ('{\"SM CASE\",\"SM BOX\",\"SM PACK\",\"SM PKG\"}'::bpchar[])) AND (lineitem.l_quantity >= '9'::numeric) AND (lineitem.l_quantity <= '19'::numeric) AND (part.p_size <= 5)) OR ((part.p_brand = 'Brand#42'::bpchar) AND (part.p_container = ANY ('{\"MED BAG\",\"MED BOX\",\"MED PKG\",\"MED PACK\"}'::bpchar[])) AND (lineitem.l_quantity >= '18'::numeric) AND (lineitem.l_quantity <= '28'::numeric) AND (part.p_size <= 10)) OR ((part.p_brand = 'Brand#23'::bpchar) AND (part.p_container = ANY ('{\"LG CASE\",\"LG BOX\",\"LG PACK\",\"LG PKG\"}'::bpchar[])) AND (lineitem.l_quantity >= '22'::numeric) AND (lineitem.l_quantity <= '32'::numeric) AND (part.p_size <= 15))))"}]}]}]}]}} diff --git a/dev9/pg11/tpch/sf_1/explain/15721/2-1.ok b/dev9/pg11/tpch/sf_1/explain/15721/2-1.ok new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/dev9/pg11/tpch/sf_1/explain/15721/2-1.res b/dev9/pg11/tpch/sf_1/explain/15721/2-1.res new file mode 100644 index 0000000000000000000000000000000000000000..0ccec6e8ea24b096dc7377a9e37c314bd6032889 --- /dev/null +++ b/dev9/pg11/tpch/sf_1/explain/15721/2-1.res @@ -0,0 +1 @@ +{"Plan": {"Node Type": "Limit", "Parallel Aware": false, "Startup Cost": 32214.66, "Total Cost": 32214.66, "Plan Rows": 1, "Plan Width": 192, "Output": ["supplier.s_acctbal", "supplier.s_name", "nation.n_name", "part.p_partkey", "part.p_mfgr", "supplier.s_address", "supplier.s_phone", "supplier.s_comment"], "Plans": [{"Node Type": "Sort", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 32214.66, "Total Cost": 32214.66, "Plan Rows": 1, "Plan Width": 192, "Output": ["supplier.s_acctbal", "supplier.s_name", "nation.n_name", "part.p_partkey", "part.p_mfgr", "supplier.s_address", "supplier.s_phone", "supplier.s_comment"], "Sort Key": ["supplier.s_acctbal DESC", "nation.n_name", "supplier.s_name", "part.p_partkey"], "Plans": [{"Node Type": "Hash Join", "Parent Relationship": "Outer", "Parallel Aware": false, "Join Type": "Inner", "Startup Cost": 16993.35, "Total Cost": 32214.65, "Plan Rows": 1, "Plan Width": 192, "Output": ["supplier.s_acctbal", "supplier.s_name", "nation.n_name", "part.p_partkey", "part.p_mfgr", "supplier.s_address", "supplier.s_phone", "supplier.s_comment"], "Inner Unique": false, "Hash Cond": "((part.p_partkey = partsupp.ps_partkey) AND ((SubPlan 1) = partsupp.ps_supplycost))", "Plans": [{"Node Type": "Gather", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 1000.0, "Total Cost": 6428.2, "Plan Rows": 812, "Plan Width": 30, "Output": ["part.p_partkey", "part.p_mfgr"], "Workers Planned": 2, "Single Copy": false, "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": true, "Relation Name": "part", "Schema": "public", "Alias": "part", "Startup Cost": 0.0, "Total Cost": 5347.0, "Plan Rows": 338, "Plan Width": 30, "Output": ["part.p_partkey", "part.p_mfgr"], "Filter": "(((part.p_type)::text ~~ '%TIN'::text) AND (part.p_size = 44))"}]}, {"Node Type": "Hash", "Parent Relationship": "Inner", "Parallel Aware": false, "Startup Cost": 9686.35, "Total Cost": 9686.35, "Plan Rows": 160000, "Plan Width": 172, "Output": ["supplier.s_acctbal", "supplier.s_name", "supplier.s_address", "supplier.s_phone", "supplier.s_comment", "partsupp.ps_partkey", "partsupp.ps_supplycost", "nation.n_name"], "Plans": [{"Node Type": "Nested Loop", "Parent Relationship": "Outer", "Parallel Aware": false, "Join Type": "Inner", "Startup Cost": 0.71, "Total Cost": 9686.35, "Plan Rows": 160000, "Plan Width": 172, "Output": ["supplier.s_acctbal", "supplier.s_name", "supplier.s_address", "supplier.s_phone", "supplier.s_comment", "partsupp.ps_partkey", "partsupp.ps_supplycost", "nation.n_name"], "Inner Unique": false, "Plans": [{"Node Type": "Nested Loop", "Parent Relationship": "Outer", "Parallel Aware": false, "Join Type": "Inner", "Startup Cost": 0.29, "Total Cost": 114.02, "Plan Rows": 2000, "Plan Width": 166, "Output": ["supplier.s_acctbal", "supplier.s_name", "supplier.s_address", "supplier.s_phone", "supplier.s_comment", "supplier.s_suppkey", "nation.n_name"], "Inner Unique": false, "Plans": [{"Node Type": "Nested Loop", "Parent Relationship": "Outer", "Parallel Aware": false, "Join Type": "Inner", "Startup Cost": 0.0, "Total Cost": 2.62, "Plan Rows": 5, "Plan Width": 30, "Output": ["nation.n_name", "nation.n_nationkey"], "Inner Unique": false, "Join Filter": "(nation.n_regionkey = region.r_regionkey)", "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Relation Name": "region", "Schema": "public", "Alias": "region", "Startup Cost": 0.0, "Total Cost": 1.06, "Plan Rows": 1, "Plan Width": 4, "Output": ["region.r_regionkey", "region.r_name", "region.r_comment"], "Filter": "(region.r_name = 'EUROPE'::bpchar)"}, {"Node Type": "Seq Scan", "Parent Relationship": "Inner", "Parallel Aware": false, "Relation Name": "nation", "Schema": "public", "Alias": "nation", "Startup Cost": 0.0, "Total Cost": 1.25, "Plan Rows": 25, "Plan Width": 34, "Output": ["nation.n_nationkey", "nation.n_name", "nation.n_regionkey", "nation.n_comment"]}]}, {"Node Type": "Index Scan", "Parent Relationship": "Inner", "Parallel Aware": false, "Scan Direction": "Forward", "Index Name": "s_nk", "Relation Name": "supplier", "Schema": "public", "Alias": "supplier", "Startup Cost": 0.29, "Total Cost": 18.28, "Plan Rows": 400, "Plan Width": 144, "Output": ["supplier.s_suppkey", "supplier.s_name", "supplier.s_address", "supplier.s_nationkey", "supplier.s_phone", "supplier.s_acctbal", "supplier.s_comment"], "Index Cond": "(supplier.s_nationkey = nation.n_nationkey)"}]}, {"Node Type": "Index Scan", "Parent Relationship": "Inner", "Parallel Aware": false, "Scan Direction": "Forward", "Index Name": "ps_sk", "Relation Name": "partsupp", "Schema": "public", "Alias": "partsupp", "Startup Cost": 0.42, "Total Cost": 3.99, "Plan Rows": 80, "Plan Width": 14, "Output": ["partsupp.ps_partkey", "partsupp.ps_suppkey", "partsupp.ps_availqty", "partsupp.ps_supplycost", "partsupp.ps_comment"], "Index Cond": "(partsupp.ps_suppkey = supplier.s_suppkey)"}]}]}, {"Node Type": "Aggregate", "Strategy": "Plain", "Partial Mode": "Simple", "Parent Relationship": "SubPlan", "Subplan Name": "SubPlan 1", "Parallel Aware": false, "Startup Cost": 14.44, "Total Cost": 14.45, "Plan Rows": 1, "Plan Width": 32, "Output": ["min(partsupp_1.ps_supplycost)"], "Plans": [{"Node Type": "Nested Loop", "Parent Relationship": "Outer", "Parallel Aware": false, "Join Type": "Inner", "Startup Cost": 0.85, "Total Cost": 14.44, "Plan Rows": 1, "Plan Width": 6, "Output": ["partsupp_1.ps_supplycost"], "Inner Unique": false, "Join Filter": "(nation_1.n_regionkey = region_1.r_regionkey)", "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Relation Name": "region", "Schema": "public", "Alias": "region_1", "Startup Cost": 0.0, "Total Cost": 1.06, "Plan Rows": 1, "Plan Width": 4, "Output": ["region_1.r_regionkey", "region_1.r_name", "region_1.r_comment"], "Filter": "(region_1.r_name = 'EUROPE'::bpchar)"}, {"Node Type": "Nested Loop", "Parent Relationship": "Inner", "Parallel Aware": false, "Join Type": "Inner", "Startup Cost": 0.85, "Total Cost": 13.33, "Plan Rows": 4, "Plan Width": 10, "Output": ["partsupp_1.ps_supplycost", "nation_1.n_regionkey"], "Inner Unique": true, "Plans": [{"Node Type": "Nested Loop", "Parent Relationship": "Outer", "Parallel Aware": false, "Join Type": "Inner", "Startup Cost": 0.71, "Total Cost": 12.71, "Plan Rows": 4, "Plan Width": 10, "Output": ["partsupp_1.ps_supplycost", "supplier_1.s_nationkey"], "Inner Unique": true, "Plans": [{"Node Type": "Index Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Scan Direction": "Forward", "Index Name": "ps_pk", "Relation Name": "partsupp", "Schema": "public", "Alias": "partsupp_1", "Startup Cost": 0.42, "Total Cost": 2.7, "Plan Rows": 4, "Plan Width": 10, "Output": ["partsupp_1.ps_partkey", "partsupp_1.ps_suppkey", "partsupp_1.ps_availqty", "partsupp_1.ps_supplycost", "partsupp_1.ps_comment"], "Index Cond": "(part.p_partkey = partsupp_1.ps_partkey)"}, {"Node Type": "Index Scan", "Parent Relationship": "Inner", "Parallel Aware": false, "Scan Direction": "Forward", "Index Name": "s_sk", "Relation Name": "supplier", "Schema": "public", "Alias": "supplier_1", "Startup Cost": 0.29, "Total Cost": 2.5, "Plan Rows": 1, "Plan Width": 8, "Output": ["supplier_1.s_suppkey", "supplier_1.s_name", "supplier_1.s_address", "supplier_1.s_nationkey", "supplier_1.s_phone", "supplier_1.s_acctbal", "supplier_1.s_comment"], "Index Cond": "(supplier_1.s_suppkey = partsupp_1.ps_suppkey)"}]}, {"Node Type": "Index Scan", "Parent Relationship": "Inner", "Parallel Aware": false, "Scan Direction": "Forward", "Index Name": "n_nk", "Relation Name": "nation", "Schema": "public", "Alias": "nation_1", "Startup Cost": 0.14, "Total Cost": 0.16, "Plan Rows": 1, "Plan Width": 8, "Output": ["nation_1.n_nationkey", "nation_1.n_name", "nation_1.n_regionkey", "nation_1.n_comment"], "Index Cond": "(nation_1.n_nationkey = supplier_1.s_nationkey)"}]}]}]}]}]}]}} diff --git a/dev9/pg11/tpch/sf_1/explain/15721/20-1.ok b/dev9/pg11/tpch/sf_1/explain/15721/20-1.ok new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/dev9/pg11/tpch/sf_1/explain/15721/20-1.res b/dev9/pg11/tpch/sf_1/explain/15721/20-1.res new file mode 100644 index 0000000000000000000000000000000000000000..a65b084021b829f2371687820236c3ccb96bfc19 --- /dev/null +++ b/dev9/pg11/tpch/sf_1/explain/15721/20-1.res @@ -0,0 +1 @@ +{"Plan": {"Node Type": "Sort", "Parallel Aware": false, "Startup Cost": 32959.09, "Total Cost": 32959.36, "Plan Rows": 107, "Plan Width": 51, "Output": ["supplier.s_name", "supplier.s_address"], "Sort Key": ["supplier.s_name"], "Plans": [{"Node Type": "Hash Join", "Parent Relationship": "Outer", "Parallel Aware": false, "Join Type": "Semi", "Startup Cost": 32731.27, "Total Cost": 32955.48, "Plan Rows": 107, "Plan Width": 51, "Output": ["supplier.s_name", "supplier.s_address"], "Inner Unique": false, "Hash Cond": "(supplier.s_suppkey = partsupp.ps_suppkey)", "Plans": [{"Node Type": "Nested Loop", "Parent Relationship": "Outer", "Parallel Aware": false, "Join Type": "Inner", "Startup Cost": 5.58, "Total Cost": 227.43, "Plan Rows": 400, "Plan Width": 55, "Output": ["supplier.s_name", "supplier.s_address", "supplier.s_suppkey"], "Inner Unique": false, "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Relation Name": "nation", "Schema": "public", "Alias": "nation", "Startup Cost": 0.0, "Total Cost": 1.31, "Plan Rows": 1, "Plan Width": 4, "Output": ["nation.n_nationkey", "nation.n_name", "nation.n_regionkey", "nation.n_comment"], "Filter": "(nation.n_name = 'GERMANY'::bpchar)"}, {"Node Type": "Bitmap Heap Scan", "Parent Relationship": "Inner", "Parallel Aware": false, "Relation Name": "supplier", "Schema": "public", "Alias": "supplier", "Startup Cost": 5.58, "Total Cost": 222.11, "Plan Rows": 400, "Plan Width": 59, "Output": ["supplier.s_suppkey", "supplier.s_name", "supplier.s_address", "supplier.s_nationkey", "supplier.s_phone", "supplier.s_acctbal", "supplier.s_comment"], "Recheck Cond": "(supplier.s_nationkey = nation.n_nationkey)", "Plans": [{"Node Type": "Bitmap Index Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Index Name": "s_nk", "Startup Cost": 0.0, "Total Cost": 5.49, "Plan Rows": 400, "Plan Width": 0, "Index Cond": "(supplier.s_nationkey = nation.n_nationkey)"}]}]}, {"Node Type": "Hash", "Parent Relationship": "Inner", "Parallel Aware": false, "Startup Cost": 32692.28, "Total Cost": 32692.28, "Plan Rows": 2672, "Plan Width": 4, "Output": ["partsupp.ps_suppkey"], "Plans": [{"Node Type": "Nested Loop", "Parent Relationship": "Outer", "Parallel Aware": false, "Join Type": "Inner", "Startup Cost": 0.42, "Total Cost": 32692.28, "Plan Rows": 2672, "Plan Width": 4, "Output": ["partsupp.ps_suppkey"], "Inner Unique": false, "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Relation Name": "part", "Schema": "public", "Alias": "part", "Startup Cost": 0.0, "Total Cost": 6597.0, "Plan Rows": 2004, "Plan Width": 4, "Output": ["part.p_partkey", "part.p_name", "part.p_mfgr", "part.p_brand", "part.p_type", "part.p_size", "part.p_container", "part.p_retailprice", "part.p_comment"], "Filter": "((part.p_name)::text ~~ 'floral%'::text)"}, {"Node Type": "Index Scan", "Parent Relationship": "Inner", "Parallel Aware": false, "Scan Direction": "Forward", "Index Name": "ps_pk", "Relation Name": "partsupp", "Schema": "public", "Alias": "partsupp", "Startup Cost": 0.42, "Total Cost": 13.01, "Plan Rows": 1, "Plan Width": 8, "Output": ["partsupp.ps_partkey", "partsupp.ps_suppkey", "partsupp.ps_availqty", "partsupp.ps_supplycost", "partsupp.ps_comment"], "Index Cond": "(partsupp.ps_partkey = part.p_partkey)", "Filter": "((partsupp.ps_availqty)::numeric > (SubPlan 1))", "Plans": [{"Node Type": "Aggregate", "Strategy": "Plain", "Partial Mode": "Simple", "Parent Relationship": "SubPlan", "Subplan Name": "SubPlan 1", "Parallel Aware": false, "Startup Cost": 2.66, "Total Cost": 2.68, "Plan Rows": 1, "Plan Width": 32, "Output": ["(0.5 * sum(lineitem.l_quantity))"], "Plans": [{"Node Type": "Index Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Scan Direction": "Forward", "Index Name": "l_sk_pk", "Relation Name": "lineitem", "Schema": "public", "Alias": "lineitem", "Startup Cost": 0.43, "Total Cost": 2.66, "Plan Rows": 1, "Plan Width": 5, "Output": ["lineitem.l_orderkey", "lineitem.l_partkey", "lineitem.l_suppkey", "lineitem.l_linenumber", "lineitem.l_quantity", "lineitem.l_extendedprice", "lineitem.l_discount", "lineitem.l_tax", "lineitem.l_returnflag", "lineitem.l_linestatus", "lineitem.l_shipdate", "lineitem.l_commitdate", "lineitem.l_receiptdate", "lineitem.l_shipinstruct", "lineitem.l_shipmode", "lineitem.l_comment"], "Index Cond": "((lineitem.l_suppkey = partsupp.ps_suppkey) AND (lineitem.l_partkey = partsupp.ps_partkey))", "Filter": "((lineitem.l_shipdate >= '1996-01-01'::date) AND (lineitem.l_shipdate < '1997-01-01 00:00:00'::timestamp without time zone))"}]}]}]}]}]}]}} diff --git a/dev9/pg11/tpch/sf_1/explain/15721/21-1.ok b/dev9/pg11/tpch/sf_1/explain/15721/21-1.ok new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/dev9/pg11/tpch/sf_1/explain/15721/21-1.res b/dev9/pg11/tpch/sf_1/explain/15721/21-1.res new file mode 100644 index 0000000000000000000000000000000000000000..a5085f968e880d471ceeb9398ffcd724884dc355 --- /dev/null +++ b/dev9/pg11/tpch/sf_1/explain/15721/21-1.res @@ -0,0 +1 @@ +{"Plan": {"Node Type": "Limit", "Parallel Aware": false, "Startup Cost": 54055.16, "Total Cost": 54055.16, "Plan Rows": 1, "Plan Width": 34, "Output": ["supplier.s_name", "(count(*))"], "Plans": [{"Node Type": "Sort", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 54055.16, "Total Cost": 54055.16, "Plan Rows": 1, "Plan Width": 34, "Output": ["supplier.s_name", "(count(*))"], "Sort Key": ["(count(*)) DESC", "supplier.s_name"], "Plans": [{"Node Type": "Aggregate", "Strategy": "Sorted", "Partial Mode": "Simple", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 54055.13, "Total Cost": 54055.15, "Plan Rows": 1, "Plan Width": 34, "Output": ["supplier.s_name", "count(*)"], "Group Key": ["supplier.s_name"], "Plans": [{"Node Type": "Sort", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 54055.13, "Total Cost": 54055.13, "Plan Rows": 1, "Plan Width": 26, "Output": ["supplier.s_name"], "Sort Key": ["supplier.s_name"], "Plans": [{"Node Type": "Nested Loop", "Parent Relationship": "Outer", "Parallel Aware": false, "Join Type": "Semi", "Startup Cost": 13499.01, "Total Cost": 54055.12, "Plan Rows": 1, "Plan Width": 26, "Output": ["supplier.s_name"], "Inner Unique": false, "Join Filter": "(orders.o_orderkey = l2.l_orderkey)", "Plans": [{"Node Type": "Gather", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 13498.58, "Total Cost": 54054.49, "Plan Rows": 1, "Plan Width": 38, "Output": ["supplier.s_name", "l1.l_suppkey", "l1.l_orderkey", "orders.o_orderkey"], "Workers Planned": 3, "Single Copy": false, "Plans": [{"Node Type": "Nested Loop", "Parent Relationship": "Outer", "Parallel Aware": false, "Join Type": "Anti", "Startup Cost": 12498.58, "Total Cost": 53054.39, "Plan Rows": 1, "Plan Width": 38, "Output": ["supplier.s_name", "l1.l_suppkey", "l1.l_orderkey", "orders.o_orderkey"], "Inner Unique": false, "Plans": [{"Node Type": "Hash Join", "Parent Relationship": "Outer", "Parallel Aware": false, "Join Type": "Inner", "Startup Cost": 12498.15, "Total Cost": 45653.97, "Plan Rows": 12608, "Plan Width": 38, "Output": ["supplier.s_name", "l1.l_suppkey", "l1.l_orderkey", "orders.o_orderkey"], "Inner Unique": false, "Hash Cond": "(orders.o_orderkey = l1.l_orderkey)", "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": true, "Relation Name": "orders", "Schema": "public", "Alias": "orders", "Startup Cost": 0.0, "Total Cost": 32143.39, "Plan Rows": 236361, "Plan Width": 4, "Output": ["orders.o_orderkey", "orders.o_custkey", "orders.o_orderstatus", "orders.o_totalprice", "orders.o_orderdate", "orders.o_orderpriority", "orders.o_clerk", "orders.o_shippriority", "orders.o_comment"], "Filter": "(orders.o_orderstatus = 'F'::bpchar)"}, {"Node Type": "Hash", "Parent Relationship": "Inner", "Parallel Aware": false, "Startup Cost": 11497.95, "Total Cost": 11497.95, "Plan Rows": 80016, "Plan Width": 34, "Output": ["supplier.s_name", "l1.l_suppkey", "l1.l_orderkey"], "Plans": [{"Node Type": "Nested Loop", "Parent Relationship": "Outer", "Parallel Aware": false, "Join Type": "Inner", "Startup Cost": 6.02, "Total Cost": 11497.95, "Plan Rows": 80016, "Plan Width": 34, "Output": ["supplier.s_name", "l1.l_suppkey", "l1.l_orderkey"], "Inner Unique": false, "Plans": [{"Node Type": "Nested Loop", "Parent Relationship": "Outer", "Parallel Aware": false, "Join Type": "Inner", "Startup Cost": 5.58, "Total Cost": 227.43, "Plan Rows": 400, "Plan Width": 30, "Output": ["supplier.s_name", "supplier.s_suppkey"], "Inner Unique": false, "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Relation Name": "nation", "Schema": "public", "Alias": "nation", "Startup Cost": 0.0, "Total Cost": 1.31, "Plan Rows": 1, "Plan Width": 4, "Output": ["nation.n_nationkey", "nation.n_name", "nation.n_regionkey", "nation.n_comment"], "Filter": "(nation.n_name = 'CHINA'::bpchar)"}, {"Node Type": "Bitmap Heap Scan", "Parent Relationship": "Inner", "Parallel Aware": false, "Relation Name": "supplier", "Schema": "public", "Alias": "supplier", "Startup Cost": 5.58, "Total Cost": 222.11, "Plan Rows": 400, "Plan Width": 34, "Output": ["supplier.s_suppkey", "supplier.s_name", "supplier.s_address", "supplier.s_nationkey", "supplier.s_phone", "supplier.s_acctbal", "supplier.s_comment"], "Recheck Cond": "(supplier.s_nationkey = nation.n_nationkey)", "Plans": [{"Node Type": "Bitmap Index Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Index Name": "s_nk", "Startup Cost": 0.0, "Total Cost": 5.49, "Plan Rows": 400, "Plan Width": 0, "Index Cond": "(supplier.s_nationkey = nation.n_nationkey)"}]}]}, {"Node Type": "Index Scan", "Parent Relationship": "Inner", "Parallel Aware": false, "Scan Direction": "Forward", "Index Name": "l_sk", "Relation Name": "lineitem", "Schema": "public", "Alias": "l1", "Startup Cost": 0.43, "Total Cost": 26.18, "Plan Rows": 200, "Plan Width": 8, "Output": ["l1.l_orderkey", "l1.l_partkey", "l1.l_suppkey", "l1.l_linenumber", "l1.l_quantity", "l1.l_extendedprice", "l1.l_discount", "l1.l_tax", "l1.l_returnflag", "l1.l_linestatus", "l1.l_shipdate", "l1.l_commitdate", "l1.l_receiptdate", "l1.l_shipinstruct", "l1.l_shipmode", "l1.l_comment"], "Index Cond": "(l1.l_suppkey = supplier.s_suppkey)", "Filter": "(l1.l_receiptdate > l1.l_commitdate)"}]}]}]}, {"Node Type": "Index Scan", "Parent Relationship": "Inner", "Parallel Aware": false, "Scan Direction": "Forward", "Index Name": "l_ok", "Relation Name": "lineitem", "Schema": "public", "Alias": "l3", "Startup Cost": 0.43, "Total Cost": 0.62, "Plan Rows": 2, "Plan Width": 8, "Output": ["l3.l_orderkey", "l3.l_partkey", "l3.l_suppkey", "l3.l_linenumber", "l3.l_quantity", "l3.l_extendedprice", "l3.l_discount", "l3.l_tax", "l3.l_returnflag", "l3.l_linestatus", "l3.l_shipdate", "l3.l_commitdate", "l3.l_receiptdate", "l3.l_shipinstruct", "l3.l_shipmode", "l3.l_comment"], "Index Cond": "(l3.l_orderkey = l1.l_orderkey)", "Filter": "((l3.l_receiptdate > l3.l_commitdate) AND (l3.l_suppkey <> l1.l_suppkey))"}]}]}, {"Node Type": "Index Scan", "Parent Relationship": "Inner", "Parallel Aware": false, "Scan Direction": "Forward", "Index Name": "l_ok", "Relation Name": "lineitem", "Schema": "public", "Alias": "l2", "Startup Cost": 0.43, "Total Cost": 0.6, "Plan Rows": 5, "Plan Width": 8, "Output": ["l2.l_orderkey", "l2.l_partkey", "l2.l_suppkey", "l2.l_linenumber", "l2.l_quantity", "l2.l_extendedprice", "l2.l_discount", "l2.l_tax", "l2.l_returnflag", "l2.l_linestatus", "l2.l_shipdate", "l2.l_commitdate", "l2.l_receiptdate", "l2.l_shipinstruct", "l2.l_shipmode", "l2.l_comment"], "Index Cond": "(l2.l_orderkey = l1.l_orderkey)", "Filter": "(l2.l_suppkey <> l1.l_suppkey)"}]}]}]}]}]}} diff --git a/dev9/pg11/tpch/sf_1/explain/15721/22-1.ok b/dev9/pg11/tpch/sf_1/explain/15721/22-1.ok new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/dev9/pg11/tpch/sf_1/explain/15721/22-1.res b/dev9/pg11/tpch/sf_1/explain/15721/22-1.res new file mode 100644 index 0000000000000000000000000000000000000000..c35c52384eb428b295aad49f33aa1aa5dfad9d49 --- /dev/null +++ b/dev9/pg11/tpch/sf_1/explain/15721/22-1.res @@ -0,0 +1 @@ +{"Plan": {"Node Type": "Aggregate", "Strategy": "Sorted", "Partial Mode": "Finalize", "Parallel Aware": false, "Startup Cost": 12872.06, "Total Cost": 12961.44, "Plan Rows": 670, "Plan Width": 72, "Output": ["(\"substring\"((customer.c_phone)::text, 1, 2))", "count(*)", "sum(customer.c_acctbal)"], "Group Key": ["(\"substring\"((customer.c_phone)::text, 1, 2))"], "Plans": [{"Node Type": "Aggregate", "Strategy": "Plain", "Partial Mode": "Finalize", "Parent Relationship": "InitPlan", "Subplan Name": "InitPlan 1 (returns $1)", "Parallel Aware": false, "Startup Cost": 6230.82, "Total Cost": 6230.83, "Plan Rows": 1, "Plan Width": 32, "Output": ["avg(customer_1.c_acctbal)"], "Plans": [{"Node Type": "Gather", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 6230.6, "Total Cost": 6230.81, "Plan Rows": 2, "Plan Width": 32, "Output": ["(PARTIAL avg(customer_1.c_acctbal))"], "Workers Planned": 2, "Single Copy": false, "Plans": [{"Node Type": "Aggregate", "Strategy": "Plain", "Partial Mode": "Partial", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 5230.6, "Total Cost": 5230.61, "Plan Rows": 1, "Plan Width": 32, "Output": ["PARTIAL avg(customer_1.c_acctbal)"], "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": true, "Relation Name": "customer", "Schema": "public", "Alias": "customer_1", "Startup Cost": 0.0, "Total Cost": 5225.62, "Plan Rows": 1988, "Plan Width": 6, "Output": ["customer_1.c_custkey", "customer_1.c_name", "customer_1.c_address", "customer_1.c_nationkey", "customer_1.c_phone", "customer_1.c_acctbal", "customer_1.c_mktsegment", "customer_1.c_comment"], "Filter": "((customer_1.c_acctbal > 0.00) AND (\"substring\"((customer_1.c_phone)::text, 1, 2) = ANY ('{17,20,25,31,30,11,33}'::text[])))"}]}]}]}, {"Node Type": "Gather Merge", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 6641.23, "Total Cost": 6713.31, "Plan Rows": 558, "Plan Width": 72, "Output": ["(\"substring\"((customer.c_phone)::text, 1, 2))", "(PARTIAL count(*))", "(PARTIAL sum(customer.c_acctbal))"], "Workers Planned": 2, "Params Evaluated": ["$1"], "Plans": [{"Node Type": "Aggregate", "Strategy": "Sorted", "Partial Mode": "Partial", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 5641.21, "Total Cost": 5648.88, "Plan Rows": 279, "Plan Width": 72, "Output": ["(\"substring\"((customer.c_phone)::text, 1, 2))", "PARTIAL count(*)", "PARTIAL sum(customer.c_acctbal)"], "Group Key": ["(\"substring\"((customer.c_phone)::text, 1, 2))"], "Plans": [{"Node Type": "Sort", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 5641.21, "Total Cost": 5641.9, "Plan Rows": 279, "Plan Width": 38, "Output": ["(\"substring\"((customer.c_phone)::text, 1, 2))", "customer.c_acctbal"], "Sort Key": ["(\"substring\"((customer.c_phone)::text, 1, 2))"], "Plans": [{"Node Type": "Nested Loop", "Parent Relationship": "Outer", "Parallel Aware": false, "Join Type": "Anti", "Startup Cost": 0.43, "Total Cost": 5629.87, "Plan Rows": 279, "Plan Width": 38, "Output": ["\"substring\"((customer.c_phone)::text, 1, 2)", "customer.c_acctbal"], "Inner Unique": false, "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": true, "Relation Name": "customer", "Schema": "public", "Alias": "customer", "Startup Cost": 0.0, "Total Cost": 5225.62, "Plan Rows": 729, "Plan Width": 26, "Output": ["customer.c_custkey", "customer.c_name", "customer.c_address", "customer.c_nationkey", "customer.c_phone", "customer.c_acctbal", "customer.c_mktsegment", "customer.c_comment"], "Filter": "((customer.c_acctbal > $1) AND (\"substring\"((customer.c_phone)::text, 1, 2) = ANY ('{17,20,25,31,30,11,33}'::text[])))"}, {"Node Type": "Index Only Scan", "Parent Relationship": "Inner", "Parallel Aware": false, "Scan Direction": "Forward", "Index Name": "o_ck", "Relation Name": "orders", "Schema": "public", "Alias": "orders", "Startup Cost": 0.43, "Total Cost": 1.62, "Plan Rows": 16, "Plan Width": 4, "Output": ["orders.o_custkey"], "Index Cond": "(orders.o_custkey = customer.c_custkey)"}]}]}]}]}]}} diff --git a/dev9/pg11/tpch/sf_1/explain/15721/3-1.ok b/dev9/pg11/tpch/sf_1/explain/15721/3-1.ok new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/dev9/pg11/tpch/sf_1/explain/15721/3-1.res b/dev9/pg11/tpch/sf_1/explain/15721/3-1.res new file mode 100644 index 0000000000000000000000000000000000000000..11455f322dc5ac4c75cd575a7e5b5dbc1e1981ce --- /dev/null +++ b/dev9/pg11/tpch/sf_1/explain/15721/3-1.res @@ -0,0 +1 @@ +{"Plan": {"Node Type": "Limit", "Parallel Aware": false, "Startup Cost": 135412.1, "Total Cost": 135412.12, "Plan Rows": 10, "Plan Width": 44, "Output": ["lineitem.l_orderkey", "(sum((lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount))))", "orders.o_orderdate", "orders.o_shippriority"], "Plans": [{"Node Type": "Sort", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 135412.1, "Total Cost": 136203.0, "Plan Rows": 316362, "Plan Width": 44, "Output": ["lineitem.l_orderkey", "(sum((lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount))))", "orders.o_orderdate", "orders.o_shippriority"], "Sort Key": ["(sum((lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount)))) DESC", "orders.o_orderdate"], "Plans": [{"Node Type": "Aggregate", "Strategy": "Sorted", "Partial Mode": "Finalize", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 86940.98, "Total Cost": 128575.63, "Plan Rows": 316362, "Plan Width": 44, "Output": ["lineitem.l_orderkey", "sum((lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount)))", "orders.o_orderdate", "orders.o_shippriority"], "Group Key": ["lineitem.l_orderkey", "orders.o_orderdate", "orders.o_shippriority"], "Plans": [{"Node Type": "Gather Merge", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 86940.98, "Total Cost": 121325.65, "Plan Rows": 263636, "Plan Width": 44, "Output": ["lineitem.l_orderkey", "orders.o_orderdate", "orders.o_shippriority", "(PARTIAL sum((lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount))))"], "Workers Planned": 2, "Plans": [{"Node Type": "Aggregate", "Strategy": "Sorted", "Partial Mode": "Partial", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 85940.95, "Total Cost": 89895.49, "Plan Rows": 131818, "Plan Width": 44, "Output": ["lineitem.l_orderkey", "orders.o_orderdate", "orders.o_shippriority", "PARTIAL sum((lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount)))"], "Group Key": ["lineitem.l_orderkey", "orders.o_orderdate", "orders.o_shippriority"], "Plans": [{"Node Type": "Sort", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 85940.95, "Total Cost": 86270.5, "Plan Rows": 131818, "Plan Width": 24, "Output": ["lineitem.l_orderkey", "orders.o_orderdate", "orders.o_shippriority", "lineitem.l_extendedprice", "lineitem.l_discount"], "Sort Key": ["lineitem.l_orderkey", "orders.o_orderdate", "orders.o_shippriority"], "Plans": [{"Node Type": "Nested Loop", "Parent Relationship": "Outer", "Parallel Aware": false, "Join Type": "Inner", "Startup Cost": 0.86, "Total Cost": 74731.02, "Plan Rows": 131818, "Plan Width": 24, "Output": ["lineitem.l_orderkey", "orders.o_orderdate", "orders.o_shippriority", "lineitem.l_extendedprice", "lineitem.l_discount"], "Inner Unique": false, "Plans": [{"Node Type": "Nested Loop", "Parent Relationship": "Outer", "Parallel Aware": false, "Join Type": "Inner", "Startup Cost": 0.43, "Total Cost": 28546.32, "Plan Rows": 61113, "Plan Width": 12, "Output": ["orders.o_orderdate", "orders.o_shippriority", "orders.o_orderkey"], "Inner Unique": false, "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": true, "Relation Name": "customer", "Schema": "public", "Alias": "customer", "Startup Cost": 0.0, "Total Cost": 4366.25, "Plan Rows": 12487, "Plan Width": 4, "Output": ["customer.c_custkey", "customer.c_name", "customer.c_address", "customer.c_nationkey", "customer.c_phone", "customer.c_acctbal", "customer.c_mktsegment", "customer.c_comment"], "Filter": "(customer.c_mktsegment = 'FURNITURE'::bpchar)"}, {"Node Type": "Index Scan", "Parent Relationship": "Inner", "Parallel Aware": false, "Scan Direction": "Forward", "Index Name": "o_ck", "Relation Name": "orders", "Schema": "public", "Alias": "orders", "Startup Cost": 0.43, "Total Cost": 1.86, "Plan Rows": 8, "Plan Width": 16, "Output": ["orders.o_orderkey", "orders.o_custkey", "orders.o_orderstatus", "orders.o_totalprice", "orders.o_orderdate", "orders.o_orderpriority", "orders.o_clerk", "orders.o_shippriority", "orders.o_comment"], "Index Cond": "(orders.o_custkey = customer.c_custkey)", "Filter": "(orders.o_orderdate < '1995-03-20'::date)"}]}, {"Node Type": "Index Scan", "Parent Relationship": "Inner", "Parallel Aware": false, "Scan Direction": "Forward", "Index Name": "l_ok", "Relation Name": "lineitem", "Schema": "public", "Alias": "lineitem", "Startup Cost": 0.43, "Total Cost": 0.73, "Plan Rows": 3, "Plan Width": 16, "Output": ["lineitem.l_orderkey", "lineitem.l_partkey", "lineitem.l_suppkey", "lineitem.l_linenumber", "lineitem.l_quantity", "lineitem.l_extendedprice", "lineitem.l_discount", "lineitem.l_tax", "lineitem.l_returnflag", "lineitem.l_linestatus", "lineitem.l_shipdate", "lineitem.l_commitdate", "lineitem.l_receiptdate", "lineitem.l_shipinstruct", "lineitem.l_shipmode", "lineitem.l_comment"], "Index Cond": "(lineitem.l_orderkey = orders.o_orderkey)", "Filter": "(lineitem.l_shipdate > '1995-03-20'::date)"}]}]}]}]}]}]}]}} diff --git a/dev9/pg11/tpch/sf_1/explain/15721/4-1.ok b/dev9/pg11/tpch/sf_1/explain/15721/4-1.ok new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/dev9/pg11/tpch/sf_1/explain/15721/4-1.res b/dev9/pg11/tpch/sf_1/explain/15721/4-1.res new file mode 100644 index 0000000000000000000000000000000000000000..6360a8a91b00f210f9796233c0668a13e732d6f6 --- /dev/null +++ b/dev9/pg11/tpch/sf_1/explain/15721/4-1.res @@ -0,0 +1 @@ +{"Plan": {"Node Type": "Aggregate", "Strategy": "Sorted", "Partial Mode": "Finalize", "Parallel Aware": false, "Startup Cost": 53330.05, "Total Cost": 53331.95, "Plan Rows": 5, "Plan Width": 24, "Output": ["orders.o_orderpriority", "count(*)"], "Group Key": ["orders.o_orderpriority"], "Plans": [{"Node Type": "Gather Merge", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 53330.05, "Total Cost": 53331.83, "Plan Rows": 15, "Plan Width": 24, "Output": ["orders.o_orderpriority", "(PARTIAL count(*))"], "Workers Planned": 3, "Plans": [{"Node Type": "Sort", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 52330.01, "Total Cost": 52330.02, "Plan Rows": 5, "Plan Width": 24, "Output": ["orders.o_orderpriority", "(PARTIAL count(*))"], "Sort Key": ["orders.o_orderpriority"], "Plans": [{"Node Type": "Aggregate", "Strategy": "Hashed", "Partial Mode": "Partial", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 52329.9, "Total Cost": 52329.95, "Plan Rows": 5, "Plan Width": 24, "Output": ["orders.o_orderpriority", "PARTIAL count(*)"], "Group Key": ["orders.o_orderpriority"], "Plans": [{"Node Type": "Nested Loop", "Parent Relationship": "Outer", "Parallel Aware": false, "Join Type": "Semi", "Startup Cost": 757.79, "Total Cost": 52254.87, "Plan Rows": 15006, "Plan Width": 16, "Output": ["orders.o_orderpriority"], "Inner Unique": false, "Plans": [{"Node Type": "Bitmap Heap Scan", "Parent Relationship": "Outer", "Parallel Aware": true, "Relation Name": "orders", "Schema": "public", "Alias": "orders", "Startup Cost": 757.36, "Total Cost": 27128.15, "Plan Rows": 18386, "Plan Width": 20, "Output": ["orders.o_orderkey", "orders.o_custkey", "orders.o_orderstatus", "orders.o_totalprice", "orders.o_orderdate", "orders.o_orderpriority", "orders.o_clerk", "orders.o_shippriority", "orders.o_comment"], "Recheck Cond": "((orders.o_orderdate >= '1996-01-01'::date) AND (orders.o_orderdate < '1996-04-01 00:00:00'::timestamp without time zone))", "Plans": [{"Node Type": "Bitmap Index Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Index Name": "o_od", "Startup Cost": 0.0, "Total Cost": 743.11, "Plan Rows": 56998, "Plan Width": 0, "Index Cond": "((orders.o_orderdate >= '1996-01-01'::date) AND (orders.o_orderdate < '1996-04-01 00:00:00'::timestamp without time zone))"}]}, {"Node Type": "Index Scan", "Parent Relationship": "Inner", "Parallel Aware": false, "Scan Direction": "Forward", "Index Name": "l_ok", "Relation Name": "lineitem", "Schema": "public", "Alias": "lineitem", "Startup Cost": 0.43, "Total Cost": 1.73, "Plan Rows": 2, "Plan Width": 4, "Output": ["lineitem.l_orderkey", "lineitem.l_partkey", "lineitem.l_suppkey", "lineitem.l_linenumber", "lineitem.l_quantity", "lineitem.l_extendedprice", "lineitem.l_discount", "lineitem.l_tax", "lineitem.l_returnflag", "lineitem.l_linestatus", "lineitem.l_shipdate", "lineitem.l_commitdate", "lineitem.l_receiptdate", "lineitem.l_shipinstruct", "lineitem.l_shipmode", "lineitem.l_comment"], "Index Cond": "(lineitem.l_orderkey = orders.o_orderkey)", "Filter": "(lineitem.l_commitdate < lineitem.l_receiptdate)"}]}]}]}]}]}} diff --git a/dev9/pg11/tpch/sf_1/explain/15721/5-1.ok b/dev9/pg11/tpch/sf_1/explain/15721/5-1.ok new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/dev9/pg11/tpch/sf_1/explain/15721/5-1.res b/dev9/pg11/tpch/sf_1/explain/15721/5-1.res new file mode 100644 index 0000000000000000000000000000000000000000..32ea06f5a65ce5362cab82525566a22a697c1f92 --- /dev/null +++ b/dev9/pg11/tpch/sf_1/explain/15721/5-1.res @@ -0,0 +1 @@ +{"Plan": {"Node Type": "Sort", "Parallel Aware": false, "Startup Cost": 42148.76, "Total Cost": 42148.82, "Plan Rows": 25, "Plan Width": 58, "Output": ["nation.n_name", "(sum((lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount))))"], "Sort Key": ["(sum((lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount)))) DESC"], "Plans": [{"Node Type": "Aggregate", "Strategy": "Sorted", "Partial Mode": "Finalize", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 42103.5, "Total Cost": 42148.18, "Plan Rows": 25, "Plan Width": 58, "Output": ["nation.n_name", "sum((lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount)))"], "Group Key": ["nation.n_name"], "Plans": [{"Node Type": "Gather Merge", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 42103.5, "Total Cost": 42147.49, "Plan Rows": 50, "Plan Width": 58, "Output": ["nation.n_name", "(PARTIAL sum((lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount))))"], "Workers Planned": 2, "Plans": [{"Node Type": "Aggregate", "Strategy": "Sorted", "Partial Mode": "Partial", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 41103.48, "Total Cost": 41141.69, "Plan Rows": 25, "Plan Width": 58, "Output": ["nation.n_name", "PARTIAL sum((lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount)))"], "Group Key": ["nation.n_name"], "Plans": [{"Node Type": "Sort", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 41103.48, "Total Cost": 41111.06, "Plan Rows": 3032, "Plan Width": 38, "Output": ["nation.n_name", "lineitem.l_extendedprice", "lineitem.l_discount"], "Sort Key": ["nation.n_name"], "Plans": [{"Node Type": "Hash Join", "Parent Relationship": "Outer", "Parallel Aware": false, "Join Type": "Inner", "Startup Cost": 475.37, "Total Cost": 40928.14, "Plan Rows": 3032, "Plan Width": 38, "Output": ["nation.n_name", "lineitem.l_extendedprice", "lineitem.l_discount"], "Inner Unique": true, "Hash Cond": "((lineitem.l_suppkey = supplier.s_suppkey) AND (customer.c_nationkey = supplier.s_nationkey))", "Plans": [{"Node Type": "Nested Loop", "Parent Relationship": "Outer", "Parallel Aware": false, "Join Type": "Inner", "Startup Cost": 3.37, "Total Cost": 40058.12, "Plan Rows": 75813, "Plan Width": 50, "Output": ["customer.c_nationkey", "lineitem.l_extendedprice", "lineitem.l_discount", "lineitem.l_suppkey", "nation.n_name", "nation.n_nationkey"], "Inner Unique": false, "Plans": [{"Node Type": "Nested Loop", "Parent Relationship": "Outer", "Parallel Aware": false, "Join Type": "Inner", "Startup Cost": 2.94, "Total Cost": 17434.98, "Plan Rows": 18950, "Plan Width": 38, "Output": ["customer.c_nationkey", "orders.o_orderkey", "nation.n_name", "nation.n_nationkey"], "Inner Unique": false, "Plans": [{"Node Type": "Hash Join", "Parent Relationship": "Outer", "Parallel Aware": false, "Join Type": "Inner", "Startup Cost": 2.51, "Total Cost": 4571.88, "Plan Rows": 12500, "Plan Width": 38, "Output": ["customer.c_custkey", "customer.c_nationkey", "nation.n_name", "nation.n_nationkey"], "Inner Unique": false, "Hash Cond": "(customer.c_nationkey = nation.n_nationkey)", "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": true, "Relation Name": "customer", "Schema": "public", "Alias": "customer", "Startup Cost": 0.0, "Total Cost": 4210.0, "Plan Rows": 62500, "Plan Width": 8, "Output": ["customer.c_custkey", "customer.c_name", "customer.c_address", "customer.c_nationkey", "customer.c_phone", "customer.c_acctbal", "customer.c_mktsegment", "customer.c_comment"]}, {"Node Type": "Hash", "Parent Relationship": "Inner", "Parallel Aware": false, "Startup Cost": 2.45, "Total Cost": 2.45, "Plan Rows": 5, "Plan Width": 30, "Output": ["nation.n_name", "nation.n_nationkey"], "Plans": [{"Node Type": "Hash Join", "Parent Relationship": "Outer", "Parallel Aware": false, "Join Type": "Inner", "Startup Cost": 1.07, "Total Cost": 2.45, "Plan Rows": 5, "Plan Width": 30, "Output": ["nation.n_name", "nation.n_nationkey"], "Inner Unique": true, "Hash Cond": "(nation.n_regionkey = region.r_regionkey)", "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Relation Name": "nation", "Schema": "public", "Alias": "nation", "Startup Cost": 0.0, "Total Cost": 1.25, "Plan Rows": 25, "Plan Width": 34, "Output": ["nation.n_nationkey", "nation.n_name", "nation.n_regionkey", "nation.n_comment"]}, {"Node Type": "Hash", "Parent Relationship": "Inner", "Parallel Aware": false, "Startup Cost": 1.06, "Total Cost": 1.06, "Plan Rows": 1, "Plan Width": 4, "Output": ["region.r_regionkey"], "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Relation Name": "region", "Schema": "public", "Alias": "region", "Startup Cost": 0.0, "Total Cost": 1.06, "Plan Rows": 1, "Plan Width": 4, "Output": ["region.r_regionkey"], "Filter": "(region.r_name = 'AMERICA'::bpchar)"}]}]}]}]}, {"Node Type": "Index Scan", "Parent Relationship": "Inner", "Parallel Aware": false, "Scan Direction": "Forward", "Index Name": "o_ck", "Relation Name": "orders", "Schema": "public", "Alias": "orders", "Startup Cost": 0.43, "Total Cost": 1.01, "Plan Rows": 2, "Plan Width": 8, "Output": ["orders.o_orderkey", "orders.o_custkey", "orders.o_orderstatus", "orders.o_totalprice", "orders.o_orderdate", "orders.o_orderpriority", "orders.o_clerk", "orders.o_shippriority", "orders.o_comment"], "Index Cond": "(orders.o_custkey = customer.c_custkey)", "Filter": "((orders.o_orderdate >= '1995-01-01'::date) AND (orders.o_orderdate < '1996-01-01 00:00:00'::timestamp without time zone))"}]}, {"Node Type": "Index Scan", "Parent Relationship": "Inner", "Parallel Aware": false, "Scan Direction": "Forward", "Index Name": "l_ok", "Relation Name": "lineitem", "Schema": "public", "Alias": "lineitem", "Startup Cost": 0.43, "Total Cost": 1.14, "Plan Rows": 5, "Plan Width": 20, "Output": ["lineitem.l_orderkey", "lineitem.l_partkey", "lineitem.l_suppkey", "lineitem.l_linenumber", "lineitem.l_quantity", "lineitem.l_extendedprice", "lineitem.l_discount", "lineitem.l_tax", "lineitem.l_returnflag", "lineitem.l_linestatus", "lineitem.l_shipdate", "lineitem.l_commitdate", "lineitem.l_receiptdate", "lineitem.l_shipinstruct", "lineitem.l_shipmode", "lineitem.l_comment"], "Index Cond": "(lineitem.l_orderkey = orders.o_orderkey)"}]}, {"Node Type": "Hash", "Parent Relationship": "Inner", "Parallel Aware": false, "Startup Cost": 322.0, "Total Cost": 322.0, "Plan Rows": 10000, "Plan Width": 8, "Output": ["supplier.s_suppkey", "supplier.s_nationkey"], "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Relation Name": "supplier", "Schema": "public", "Alias": "supplier", "Startup Cost": 0.0, "Total Cost": 322.0, "Plan Rows": 10000, "Plan Width": 8, "Output": ["supplier.s_suppkey", "supplier.s_nationkey"]}]}]}]}]}]}]}]}} diff --git a/dev9/pg11/tpch/sf_1/explain/15721/6-1.ok b/dev9/pg11/tpch/sf_1/explain/15721/6-1.ok new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/dev9/pg11/tpch/sf_1/explain/15721/6-1.res b/dev9/pg11/tpch/sf_1/explain/15721/6-1.res new file mode 100644 index 0000000000000000000000000000000000000000..77d28f4712513526e0109259062b74b21dc6e9c4 --- /dev/null +++ b/dev9/pg11/tpch/sf_1/explain/15721/6-1.res @@ -0,0 +1 @@ +{"Plan": {"Node Type": "Aggregate", "Strategy": "Plain", "Partial Mode": "Finalize", "Parallel Aware": false, "Startup Cost": 129713.46, "Total Cost": 129713.47, "Plan Rows": 1, "Plan Width": 32, "Output": ["sum((l_extendedprice * l_discount))"], "Plans": [{"Node Type": "Gather", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 129712.93, "Total Cost": 129713.44, "Plan Rows": 5, "Plan Width": 32, "Output": ["(PARTIAL sum((l_extendedprice * l_discount)))"], "Workers Planned": 5, "Single Copy": false, "Plans": [{"Node Type": "Aggregate", "Strategy": "Plain", "Partial Mode": "Partial", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 128712.93, "Total Cost": 128712.94, "Plan Rows": 1, "Plan Width": 32, "Output": ["PARTIAL sum((l_extendedprice * l_discount))"], "Plans": [{"Node Type": "Bitmap Heap Scan", "Parent Relationship": "Outer", "Parallel Aware": true, "Relation Name": "lineitem", "Schema": "public", "Alias": "lineitem", "Startup Cost": 11968.17, "Total Cost": 128598.34, "Plan Rows": 22917, "Plan Width": 12, "Output": ["l_orderkey", "l_partkey", "l_suppkey", "l_linenumber", "l_quantity", "l_extendedprice", "l_discount", "l_tax", "l_returnflag", "l_linestatus", "l_shipdate", "l_commitdate", "l_receiptdate", "l_shipinstruct", "l_shipmode", "l_comment"], "Recheck Cond": "((lineitem.l_shipdate >= '1995-01-01'::date) AND (lineitem.l_shipdate < '1996-01-01 00:00:00'::timestamp without time zone))", "Filter": "((lineitem.l_discount >= 0.04) AND (lineitem.l_discount <= 0.06) AND (lineitem.l_quantity < '24'::numeric))", "Plans": [{"Node Type": "Bitmap Index Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Index Name": "l_sd", "Startup Cost": 0.0, "Total Cost": 11939.52, "Plan Rows": 917149, "Plan Width": 0, "Index Cond": "((lineitem.l_shipdate >= '1995-01-01'::date) AND (lineitem.l_shipdate < '1996-01-01 00:00:00'::timestamp without time zone))"}]}]}]}]}} diff --git a/dev9/pg11/tpch/sf_1/explain/15721/7-1.ok b/dev9/pg11/tpch/sf_1/explain/15721/7-1.ok new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/dev9/pg11/tpch/sf_1/explain/15721/7-1.res b/dev9/pg11/tpch/sf_1/explain/15721/7-1.res new file mode 100644 index 0000000000000000000000000000000000000000..fe4981e81426aeecf9c54ccdfc2917ab8d2fff9d --- /dev/null +++ b/dev9/pg11/tpch/sf_1/explain/15721/7-1.res @@ -0,0 +1 @@ +{"Plan": {"Node Type": "Aggregate", "Strategy": "Sorted", "Partial Mode": "Finalize", "Parallel Aware": false, "Startup Cost": 36986.19, "Total Cost": 37831.97, "Plan Rows": 6099, "Plan Width": 92, "Output": ["n1.n_name", "n2.n_name", "(date_part('year'::text, (lineitem.l_shipdate)::timestamp without time zone))", "sum((lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount)))"], "Group Key": ["n1.n_name", "n2.n_name", "(date_part('year'::text, (lineitem.l_shipdate)::timestamp without time zone))"], "Plans": [{"Node Type": "Gather Merge", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 36986.19, "Total Cost": 37661.72, "Plan Rows": 5082, "Plan Width": 92, "Output": ["n1.n_name", "n2.n_name", "(date_part('year'::text, (lineitem.l_shipdate)::timestamp without time zone))", "(PARTIAL sum((lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount))))"], "Workers Planned": 2, "Plans": [{"Node Type": "Aggregate", "Strategy": "Sorted", "Partial Mode": "Partial", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 35986.17, "Total Cost": 36075.1, "Plan Rows": 2541, "Plan Width": 92, "Output": ["n1.n_name", "n2.n_name", "(date_part('year'::text, (lineitem.l_shipdate)::timestamp without time zone))", "PARTIAL sum((lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount)))"], "Group Key": ["n1.n_name", "n2.n_name", "(date_part('year'::text, (lineitem.l_shipdate)::timestamp without time zone))"], "Plans": [{"Node Type": "Sort", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 35986.17, "Total Cost": 35992.52, "Plan Rows": 2541, "Plan Width": 72, "Output": ["n1.n_name", "n2.n_name", "(date_part('year'::text, (lineitem.l_shipdate)::timestamp without time zone))", "lineitem.l_extendedprice", "lineitem.l_discount"], "Sort Key": ["n1.n_name", "n2.n_name", "(date_part('year'::text, (lineitem.l_shipdate)::timestamp without time zone))"], "Plans": [{"Node Type": "Hash Join", "Parent Relationship": "Outer", "Parallel Aware": false, "Join Type": "Inner", "Startup Cost": 25697.87, "Total Cost": 35842.46, "Plan Rows": 2541, "Plan Width": 72, "Output": ["n1.n_name", "n2.n_name", "date_part('year'::text, (lineitem.l_shipdate)::timestamp without time zone)", "lineitem.l_extendedprice", "lineitem.l_discount"], "Inner Unique": false, "Hash Cond": "(orders.o_orderkey = lineitem.l_orderkey)", "Join Filter": "(((n1.n_name = 'IRAN'::bpchar) AND (n2.n_name = 'ETHIOPIA'::bpchar)) OR ((n1.n_name = 'ETHIOPIA'::bpchar) AND (n2.n_name = 'IRAN'::bpchar)))", "Plans": [{"Node Type": "Nested Loop", "Parent Relationship": "Outer", "Parallel Aware": false, "Join Type": "Inner", "Startup Cost": 1.83, "Total Cost": 9848.51, "Plan Rows": 50000, "Plan Width": 30, "Output": ["orders.o_orderkey", "n2.n_name"], "Inner Unique": false, "Plans": [{"Node Type": "Hash Join", "Parent Relationship": "Outer", "Parallel Aware": false, "Join Type": "Inner", "Startup Cost": 1.4, "Total Cost": 4403.27, "Plan Rows": 5000, "Plan Width": 30, "Output": ["customer.c_custkey", "n2.n_name"], "Inner Unique": true, "Hash Cond": "(customer.c_nationkey = n2.n_nationkey)", "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": true, "Relation Name": "customer", "Schema": "public", "Alias": "customer", "Startup Cost": 0.0, "Total Cost": 4210.0, "Plan Rows": 62500, "Plan Width": 8, "Output": ["customer.c_custkey", "customer.c_name", "customer.c_address", "customer.c_nationkey", "customer.c_phone", "customer.c_acctbal", "customer.c_mktsegment", "customer.c_comment"]}, {"Node Type": "Hash", "Parent Relationship": "Inner", "Parallel Aware": false, "Startup Cost": 1.38, "Total Cost": 1.38, "Plan Rows": 2, "Plan Width": 30, "Output": ["n2.n_name", "n2.n_nationkey"], "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Relation Name": "nation", "Schema": "public", "Alias": "n2", "Startup Cost": 0.0, "Total Cost": 1.38, "Plan Rows": 2, "Plan Width": 30, "Output": ["n2.n_name", "n2.n_nationkey"], "Filter": "((n2.n_name = 'ETHIOPIA'::bpchar) OR (n2.n_name = 'IRAN'::bpchar))"}]}]}, {"Node Type": "Index Scan", "Parent Relationship": "Inner", "Parallel Aware": false, "Scan Direction": "Forward", "Index Name": "o_ck", "Relation Name": "orders", "Schema": "public", "Alias": "orders", "Startup Cost": 0.43, "Total Cost": 0.93, "Plan Rows": 16, "Plan Width": 8, "Output": ["orders.o_orderkey", "orders.o_custkey", "orders.o_orderstatus", "orders.o_totalprice", "orders.o_orderdate", "orders.o_orderpriority", "orders.o_clerk", "orders.o_shippriority", "orders.o_comment"], "Index Cond": "(orders.o_custkey = customer.c_custkey)"}]}, {"Node Type": "Hash", "Parent Relationship": "Inner", "Parallel Aware": false, "Startup Cost": 23864.09, "Total Cost": 23864.09, "Plan Rows": 146556, "Plan Width": 46, "Output": ["lineitem.l_shipdate", "lineitem.l_extendedprice", "lineitem.l_discount", "lineitem.l_orderkey", "n1.n_name"], "Plans": [{"Node Type": "Nested Loop", "Parent Relationship": "Outer", "Parallel Aware": false, "Join Type": "Inner", "Startup Cost": 6.02, "Total Cost": 23864.09, "Plan Rows": 146556, "Plan Width": 46, "Output": ["lineitem.l_shipdate", "lineitem.l_extendedprice", "lineitem.l_discount", "lineitem.l_orderkey", "n1.n_name"], "Inner Unique": false, "Plans": [{"Node Type": "Nested Loop", "Parent Relationship": "Outer", "Parallel Aware": false, "Join Type": "Inner", "Startup Cost": 5.58, "Total Cost": 259.05, "Plan Rows": 800, "Plan Width": 30, "Output": ["supplier.s_suppkey", "n1.n_name"], "Inner Unique": false, "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Relation Name": "nation", "Schema": "public", "Alias": "n1", "Startup Cost": 0.0, "Total Cost": 1.38, "Plan Rows": 2, "Plan Width": 30, "Output": ["n1.n_nationkey", "n1.n_name", "n1.n_regionkey", "n1.n_comment"], "Filter": "((n1.n_name = 'IRAN'::bpchar) OR (n1.n_name = 'ETHIOPIA'::bpchar))"}, {"Node Type": "Bitmap Heap Scan", "Parent Relationship": "Inner", "Parallel Aware": false, "Relation Name": "supplier", "Schema": "public", "Alias": "supplier", "Startup Cost": 5.58, "Total Cost": 124.84, "Plan Rows": 400, "Plan Width": 8, "Output": ["supplier.s_suppkey", "supplier.s_name", "supplier.s_address", "supplier.s_nationkey", "supplier.s_phone", "supplier.s_acctbal", "supplier.s_comment"], "Recheck Cond": "(supplier.s_nationkey = n1.n_nationkey)", "Plans": [{"Node Type": "Bitmap Index Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Index Name": "s_nk", "Startup Cost": 0.0, "Total Cost": 5.49, "Plan Rows": 400, "Plan Width": 0, "Index Cond": "(supplier.s_nationkey = n1.n_nationkey)"}]}]}, {"Node Type": "Index Scan", "Parent Relationship": "Inner", "Parallel Aware": false, "Scan Direction": "Forward", "Index Name": "l_sk", "Relation Name": "lineitem", "Schema": "public", "Alias": "lineitem", "Startup Cost": 0.43, "Total Cost": 27.68, "Plan Rows": 183, "Plan Width": 24, "Output": ["lineitem.l_orderkey", "lineitem.l_partkey", "lineitem.l_suppkey", "lineitem.l_linenumber", "lineitem.l_quantity", "lineitem.l_extendedprice", "lineitem.l_discount", "lineitem.l_tax", "lineitem.l_returnflag", "lineitem.l_linestatus", "lineitem.l_shipdate", "lineitem.l_commitdate", "lineitem.l_receiptdate", "lineitem.l_shipinstruct", "lineitem.l_shipmode", "lineitem.l_comment"], "Index Cond": "(lineitem.l_suppkey = supplier.s_suppkey)", "Filter": "((lineitem.l_shipdate >= '1995-01-01'::date) AND (lineitem.l_shipdate <= '1996-12-31'::date))"}]}]}]}]}]}]}]}} diff --git a/dev9/pg11/tpch/sf_1/explain/15721/8-1.ok b/dev9/pg11/tpch/sf_1/explain/15721/8-1.ok new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/dev9/pg11/tpch/sf_1/explain/15721/8-1.res b/dev9/pg11/tpch/sf_1/explain/15721/8-1.res new file mode 100644 index 0000000000000000000000000000000000000000..97cf402a8ff3ad44232205c95516a9a8e3a77584 --- /dev/null +++ b/dev9/pg11/tpch/sf_1/explain/15721/8-1.res @@ -0,0 +1 @@ +{"Plan": {"Node Type": "Aggregate", "Strategy": "Sorted", "Partial Mode": "Finalize", "Parallel Aware": false, "Startup Cost": 33390.14, "Total Cost": 33745.61, "Plan Rows": 2406, "Plan Width": 40, "Output": ["(date_part('year'::text, (orders.o_orderdate)::timestamp without time zone))", "(sum(CASE WHEN (n2.n_name = 'ETHIOPIA'::bpchar) THEN (lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount)) ELSE '0'::numeric END) / sum((lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount))))"], "Group Key": ["(date_part('year'::text, (orders.o_orderdate)::timestamp without time zone))"], "Plans": [{"Node Type": "Gather Merge", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 33390.14, "Total Cost": 33666.23, "Plan Rows": 2020, "Plan Width": 72, "Output": ["(date_part('year'::text, (orders.o_orderdate)::timestamp without time zone))", "(PARTIAL sum(CASE WHEN (n2.n_name = 'ETHIOPIA'::bpchar) THEN (lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount)) ELSE '0'::numeric END))", "(PARTIAL sum((lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount))))"], "Workers Planned": 2, "Plans": [{"Node Type": "Aggregate", "Strategy": "Sorted", "Partial Mode": "Partial", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 32390.12, "Total Cost": 32433.05, "Plan Rows": 1010, "Plan Width": 72, "Output": ["(date_part('year'::text, (orders.o_orderdate)::timestamp without time zone))", "PARTIAL sum(CASE WHEN (n2.n_name = 'ETHIOPIA'::bpchar) THEN (lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount)) ELSE '0'::numeric END)", "PARTIAL sum((lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount)))"], "Group Key": ["(date_part('year'::text, (orders.o_orderdate)::timestamp without time zone))"], "Plans": [{"Node Type": "Sort", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 32390.12, "Total Cost": 32392.65, "Plan Rows": 1010, "Plan Width": 46, "Output": ["(date_part('year'::text, (orders.o_orderdate)::timestamp without time zone))", "n2.n_name", "lineitem.l_extendedprice", "lineitem.l_discount"], "Sort Key": ["(date_part('year'::text, (orders.o_orderdate)::timestamp without time zone))"], "Plans": [{"Node Type": "Hash Join", "Parent Relationship": "Outer", "Parallel Aware": false, "Join Type": "Inner", "Startup Cost": 2060.15, "Total Cost": 32339.72, "Plan Rows": 1010, "Plan Width": 46, "Output": ["date_part('year'::text, (orders.o_orderdate)::timestamp without time zone)", "n2.n_name", "lineitem.l_extendedprice", "lineitem.l_discount"], "Inner Unique": true, "Hash Cond": "(supplier.s_nationkey = n2.n_nationkey)", "Plans": [{"Node Type": "Nested Loop", "Parent Relationship": "Outer", "Parallel Aware": false, "Join Type": "Inner", "Startup Cost": 2058.59, "Total Cost": 32330.01, "Plan Rows": 1010, "Plan Width": 20, "Output": ["lineitem.l_extendedprice", "lineitem.l_discount", "supplier.s_nationkey", "orders.o_orderdate"], "Inner Unique": true, "Plans": [{"Node Type": "Hash Join", "Parent Relationship": "Outer", "Parallel Aware": false, "Join Type": "Inner", "Startup Cost": 2058.3, "Total Cost": 32024.44, "Plan Rows": 1010, "Plan Width": 20, "Output": ["lineitem.l_extendedprice", "lineitem.l_discount", "lineitem.l_suppkey", "orders.o_orderdate"], "Inner Unique": false, "Hash Cond": "(orders.o_custkey = customer.c_custkey)", "Plans": [{"Node Type": "Nested Loop", "Parent Relationship": "Outer", "Parallel Aware": false, "Join Type": "Inner", "Startup Cost": 0.86, "Total Cost": 29937.96, "Plan Rows": 5049, "Plan Width": 24, "Output": ["lineitem.l_extendedprice", "lineitem.l_discount", "lineitem.l_suppkey", "orders.o_orderdate", "orders.o_custkey"], "Inner Unique": true, "Plans": [{"Node Type": "Nested Loop", "Parent Relationship": "Outer", "Parallel Aware": false, "Join Type": "Inner", "Startup Cost": 0.43, "Total Cost": 22374.67, "Plan Rows": 16603, "Plan Width": 20, "Output": ["lineitem.l_extendedprice", "lineitem.l_discount", "lineitem.l_suppkey", "lineitem.l_orderkey"], "Inner Unique": false, "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": true, "Relation Name": "part", "Schema": "public", "Alias": "part", "Startup Cost": 0.0, "Total Cost": 5138.67, "Plan Rows": 553, "Plan Width": 4, "Output": ["part.p_partkey", "part.p_name", "part.p_mfgr", "part.p_brand", "part.p_type", "part.p_size", "part.p_container", "part.p_retailprice", "part.p_comment"], "Filter": "((part.p_type)::text = 'SMALL BRUSHED NICKEL'::text)"}, {"Node Type": "Index Scan", "Parent Relationship": "Inner", "Parallel Aware": false, "Scan Direction": "Forward", "Index Name": "l_pk", "Relation Name": "lineitem", "Schema": "public", "Alias": "lineitem", "Startup Cost": 0.43, "Total Cost": 30.86, "Plan Rows": 31, "Plan Width": 24, "Output": ["lineitem.l_orderkey", "lineitem.l_partkey", "lineitem.l_suppkey", "lineitem.l_linenumber", "lineitem.l_quantity", "lineitem.l_extendedprice", "lineitem.l_discount", "lineitem.l_tax", "lineitem.l_returnflag", "lineitem.l_linestatus", "lineitem.l_shipdate", "lineitem.l_commitdate", "lineitem.l_receiptdate", "lineitem.l_shipinstruct", "lineitem.l_shipmode", "lineitem.l_comment"], "Index Cond": "(lineitem.l_partkey = part.p_partkey)"}]}, {"Node Type": "Index Scan", "Parent Relationship": "Inner", "Parallel Aware": false, "Scan Direction": "Forward", "Index Name": "o_ok", "Relation Name": "orders", "Schema": "public", "Alias": "orders", "Startup Cost": 0.43, "Total Cost": 0.46, "Plan Rows": 1, "Plan Width": 12, "Output": ["orders.o_orderkey", "orders.o_custkey", "orders.o_orderstatus", "orders.o_totalprice", "orders.o_orderdate", "orders.o_orderpriority", "orders.o_clerk", "orders.o_shippriority", "orders.o_comment"], "Index Cond": "(orders.o_orderkey = lineitem.l_orderkey)", "Filter": "((orders.o_orderdate >= '1995-01-01'::date) AND (orders.o_orderdate <= '1996-12-31'::date))"}]}, {"Node Type": "Hash", "Parent Relationship": "Inner", "Parallel Aware": false, "Startup Cost": 1682.44, "Total Cost": 1682.44, "Plan Rows": 30000, "Plan Width": 4, "Output": ["customer.c_custkey"], "Plans": [{"Node Type": "Nested Loop", "Parent Relationship": "Outer", "Parallel Aware": false, "Join Type": "Inner", "Startup Cost": 0.56, "Total Cost": 1682.44, "Plan Rows": 30000, "Plan Width": 4, "Output": ["customer.c_custkey"], "Inner Unique": false, "Plans": [{"Node Type": "Nested Loop", "Parent Relationship": "Outer", "Parallel Aware": false, "Join Type": "Inner", "Startup Cost": 0.14, "Total Cost": 5.25, "Plan Rows": 5, "Plan Width": 4, "Output": ["n1.n_nationkey"], "Inner Unique": true, "Join Filter": "(n1.n_regionkey = region.r_regionkey)", "Plans": [{"Node Type": "Index Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Scan Direction": "Forward", "Index Name": "n_nk", "Relation Name": "nation", "Schema": "public", "Alias": "n1", "Startup Cost": 0.14, "Total Cost": 3.81, "Plan Rows": 25, "Plan Width": 8, "Output": ["n1.n_nationkey", "n1.n_name", "n1.n_regionkey", "n1.n_comment"]}, {"Node Type": "Materialize", "Parent Relationship": "Inner", "Parallel Aware": false, "Startup Cost": 0.0, "Total Cost": 1.07, "Plan Rows": 1, "Plan Width": 4, "Output": ["region.r_regionkey"], "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Relation Name": "region", "Schema": "public", "Alias": "region", "Startup Cost": 0.0, "Total Cost": 1.06, "Plan Rows": 1, "Plan Width": 4, "Output": ["region.r_regionkey"], "Filter": "(region.r_name = 'AFRICA'::bpchar)"}]}]}, {"Node Type": "Index Scan", "Parent Relationship": "Inner", "Parallel Aware": false, "Scan Direction": "Forward", "Index Name": "c_nk", "Relation Name": "customer", "Schema": "public", "Alias": "customer", "Startup Cost": 0.42, "Total Cost": 275.44, "Plan Rows": 6000, "Plan Width": 8, "Output": ["customer.c_custkey", "customer.c_name", "customer.c_address", "customer.c_nationkey", "customer.c_phone", "customer.c_acctbal", "customer.c_mktsegment", "customer.c_comment"], "Index Cond": "(customer.c_nationkey = n1.n_nationkey)"}]}]}]}, {"Node Type": "Index Scan", "Parent Relationship": "Inner", "Parallel Aware": false, "Scan Direction": "Forward", "Index Name": "s_sk", "Relation Name": "supplier", "Schema": "public", "Alias": "supplier", "Startup Cost": 0.29, "Total Cost": 0.3, "Plan Rows": 1, "Plan Width": 8, "Output": ["supplier.s_suppkey", "supplier.s_name", "supplier.s_address", "supplier.s_nationkey", "supplier.s_phone", "supplier.s_acctbal", "supplier.s_comment"], "Index Cond": "(supplier.s_suppkey = lineitem.l_suppkey)"}]}, {"Node Type": "Hash", "Parent Relationship": "Inner", "Parallel Aware": false, "Startup Cost": 1.25, "Total Cost": 1.25, "Plan Rows": 25, "Plan Width": 30, "Output": ["n2.n_name", "n2.n_nationkey"], "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Relation Name": "nation", "Schema": "public", "Alias": "n2", "Startup Cost": 0.0, "Total Cost": 1.25, "Plan Rows": 25, "Plan Width": 30, "Output": ["n2.n_name", "n2.n_nationkey"]}]}]}]}]}]}]}} diff --git a/dev9/pg11/tpch/sf_1/explain/15721/9-1.ok b/dev9/pg11/tpch/sf_1/explain/15721/9-1.ok new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/dev9/pg11/tpch/sf_1/explain/15721/9-1.res b/dev9/pg11/tpch/sf_1/explain/15721/9-1.res new file mode 100644 index 0000000000000000000000000000000000000000..091fe03f5d21298e27c199eabfc565d955f87c51 --- /dev/null +++ b/dev9/pg11/tpch/sf_1/explain/15721/9-1.res @@ -0,0 +1 @@ +{"Plan": {"Node Type": "Sort", "Parallel Aware": false, "Startup Cost": 90235.78, "Total Cost": 90386.16, "Plan Rows": 60150, "Plan Width": 66, "Output": ["nation.n_name", "(date_part('year'::text, (orders.o_orderdate)::timestamp without time zone))", "(sum(((lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount)) - (partsupp.ps_supplycost * lineitem.l_quantity))))"], "Sort Key": ["nation.n_name", "(date_part('year'::text, (orders.o_orderdate)::timestamp without time zone)) DESC"], "Plans": [{"Node Type": "Aggregate", "Strategy": "Hashed", "Partial Mode": "Finalize", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 84408.37, "Total Cost": 85460.99, "Plan Rows": 60150, "Plan Width": 66, "Output": ["nation.n_name", "(date_part('year'::text, (orders.o_orderdate)::timestamp without time zone))", "sum(((lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount)) - (partsupp.ps_supplycost * lineitem.l_quantity)))"], "Group Key": ["nation.n_name", "(date_part('year'::text, (orders.o_orderdate)::timestamp without time zone))"], "Plans": [{"Node Type": "Gather", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 63506.24, "Total Cost": 82603.87, "Plan Rows": 180450, "Plan Width": 66, "Output": ["nation.n_name", "(date_part('year'::text, (orders.o_orderdate)::timestamp without time zone))", "(PARTIAL sum(((lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount)) - (partsupp.ps_supplycost * lineitem.l_quantity))))"], "Workers Planned": 3, "Single Copy": false, "Plans": [{"Node Type": "Aggregate", "Strategy": "Hashed", "Partial Mode": "Partial", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 62506.24, "Total Cost": 63558.87, "Plan Rows": 60150, "Plan Width": 66, "Output": ["nation.n_name", "(date_part('year'::text, (orders.o_orderdate)::timestamp without time zone))", "PARTIAL sum(((lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount)) - (partsupp.ps_supplycost * lineitem.l_quantity)))"], "Group Key": ["nation.n_name", "date_part('year'::text, (orders.o_orderdate)::timestamp without time zone)"], "Plans": [{"Node Type": "Hash Join", "Parent Relationship": "Outer", "Parallel Aware": true, "Join Type": "Inner", "Startup Cost": 26861.43, "Total Cost": 60605.36, "Plan Rows": 108622, "Plan Width": 57, "Output": ["nation.n_name", "date_part('year'::text, (orders.o_orderdate)::timestamp without time zone)", "lineitem.l_extendedprice", "lineitem.l_discount", "partsupp.ps_supplycost", "lineitem.l_quantity"], "Inner Unique": false, "Hash Cond": "(orders.o_orderkey = lineitem.l_orderkey)", "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": true, "Relation Name": "orders", "Schema": "public", "Alias": "orders", "Startup Cost": 0.0, "Total Cost": 30933.71, "Plan Rows": 483871, "Plan Width": 8, "Output": ["orders.o_orderkey", "orders.o_custkey", "orders.o_orderstatus", "orders.o_totalprice", "orders.o_orderdate", "orders.o_orderpriority", "orders.o_clerk", "orders.o_shippriority", "orders.o_comment"]}, {"Node Type": "Hash", "Parent Relationship": "Inner", "Parallel Aware": true, "Startup Cost": 25107.64, "Total Cost": 25107.64, "Plan Rows": 140303, "Plan Width": 53, "Output": ["lineitem.l_extendedprice", "lineitem.l_discount", "lineitem.l_quantity", "lineitem.l_orderkey", "partsupp.ps_supplycost", "nation.n_name"], "Plans": [{"Node Type": "Nested Loop", "Parent Relationship": "Outer", "Parallel Aware": false, "Join Type": "Inner", "Startup Cost": 449.42, "Total Cost": 25107.64, "Plan Rows": 140303, "Plan Width": 53, "Output": ["lineitem.l_extendedprice", "lineitem.l_discount", "lineitem.l_quantity", "lineitem.l_orderkey", "partsupp.ps_supplycost", "nation.n_name"], "Inner Unique": false, "Join Filter": "(supplier.s_suppkey = lineitem.l_suppkey)", "Plans": [{"Node Type": "Hash Join", "Parent Relationship": "Outer", "Parallel Aware": false, "Join Type": "Inner", "Startup Cost": 448.99, "Total Cost": 13094.33, "Plan Rows": 18703, "Plan Width": 48, "Output": ["part.p_partkey", "partsupp.ps_supplycost", "partsupp.ps_suppkey", "partsupp.ps_partkey", "supplier.s_suppkey", "nation.n_name"], "Inner Unique": true, "Hash Cond": "(supplier.s_nationkey = nation.n_nationkey)", "Plans": [{"Node Type": "Hash Join", "Parent Relationship": "Outer", "Parallel Aware": false, "Join Type": "Inner", "Startup Cost": 447.43, "Total Cost": 13035.35, "Plan Rows": 18703, "Plan Width": 26, "Output": ["part.p_partkey", "partsupp.ps_supplycost", "partsupp.ps_suppkey", "partsupp.ps_partkey", "supplier.s_suppkey", "supplier.s_nationkey"], "Inner Unique": true, "Hash Cond": "(partsupp.ps_suppkey = supplier.s_suppkey)", "Plans": [{"Node Type": "Nested Loop", "Parent Relationship": "Outer", "Parallel Aware": false, "Join Type": "Inner", "Startup Cost": 0.42, "Total Cost": 12539.24, "Plan Rows": 18703, "Plan Width": 18, "Output": ["part.p_partkey", "partsupp.ps_supplycost", "partsupp.ps_suppkey", "partsupp.ps_partkey"], "Inner Unique": false, "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": true, "Relation Name": "part", "Schema": "public", "Alias": "part", "Startup Cost": 0.0, "Total Cost": 5138.67, "Plan Rows": 4676, "Plan Width": 4, "Output": ["part.p_partkey", "part.p_name", "part.p_mfgr", "part.p_brand", "part.p_type", "part.p_size", "part.p_container", "part.p_retailprice", "part.p_comment"], "Filter": "((part.p_name)::text ~~ '%forest%'::text)"}, {"Node Type": "Index Scan", "Parent Relationship": "Inner", "Parallel Aware": false, "Scan Direction": "Forward", "Index Name": "ps_pk", "Relation Name": "partsupp", "Schema": "public", "Alias": "partsupp", "Startup Cost": 0.42, "Total Cost": 1.54, "Plan Rows": 4, "Plan Width": 14, "Output": ["partsupp.ps_partkey", "partsupp.ps_suppkey", "partsupp.ps_availqty", "partsupp.ps_supplycost", "partsupp.ps_comment"], "Index Cond": "(partsupp.ps_partkey = part.p_partkey)"}]}, {"Node Type": "Hash", "Parent Relationship": "Inner", "Parallel Aware": false, "Startup Cost": 322.0, "Total Cost": 322.0, "Plan Rows": 10000, "Plan Width": 8, "Output": ["supplier.s_suppkey", "supplier.s_nationkey"], "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Relation Name": "supplier", "Schema": "public", "Alias": "supplier", "Startup Cost": 0.0, "Total Cost": 322.0, "Plan Rows": 10000, "Plan Width": 8, "Output": ["supplier.s_suppkey", "supplier.s_nationkey"]}]}]}, {"Node Type": "Hash", "Parent Relationship": "Inner", "Parallel Aware": false, "Startup Cost": 1.25, "Total Cost": 1.25, "Plan Rows": 25, "Plan Width": 30, "Output": ["nation.n_name", "nation.n_nationkey"], "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Relation Name": "nation", "Schema": "public", "Alias": "nation", "Startup Cost": 0.0, "Total Cost": 1.25, "Plan Rows": 25, "Plan Width": 30, "Output": ["nation.n_name", "nation.n_nationkey"]}]}]}, {"Node Type": "Index Scan", "Parent Relationship": "Inner", "Parallel Aware": false, "Scan Direction": "Forward", "Index Name": "l_sk_pk", "Relation Name": "lineitem", "Schema": "public", "Alias": "lineitem", "Startup Cost": 0.43, "Total Cost": 0.63, "Plan Rows": 1, "Plan Width": 29, "Output": ["lineitem.l_orderkey", "lineitem.l_partkey", "lineitem.l_suppkey", "lineitem.l_linenumber", "lineitem.l_quantity", "lineitem.l_extendedprice", "lineitem.l_discount", "lineitem.l_tax", "lineitem.l_returnflag", "lineitem.l_linestatus", "lineitem.l_shipdate", "lineitem.l_commitdate", "lineitem.l_receiptdate", "lineitem.l_shipinstruct", "lineitem.l_shipmode", "lineitem.l_comment"], "Index Cond": "((lineitem.l_suppkey = partsupp.ps_suppkey) AND (lineitem.l_partkey = partsupp.ps_partkey))"}]}]}]}]}]}]}]}} diff --git a/dev9/pg11/tpch/sf_1/explain_analyze/15721/1-1.ok b/dev9/pg11/tpch/sf_1/explain_analyze/15721/1-1.ok new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/dev9/pg11/tpch/sf_1/explain_analyze/15721/1-1.res b/dev9/pg11/tpch/sf_1/explain_analyze/15721/1-1.res new file mode 100644 index 0000000000000000000000000000000000000000..67fe23a47bf731886fa2135eaa246a46fa02b147 --- /dev/null +++ b/dev9/pg11/tpch/sf_1/explain_analyze/15721/1-1.res @@ -0,0 +1 @@ +{"Plan": {"Node Type": "Aggregate", "Strategy": "Sorted", "Partial Mode": "Finalize", "Parallel Aware": false, "Startup Cost": 175399.08, "Total Cost": 175404.15, "Plan Rows": 6, "Plan Width": 236, "Actual Startup Time": 1699.244, "Actual Total Time": 1853.422, "Actual Rows": 4, "Actual Loops": 1, "Output": ["l_returnflag", "l_linestatus", "sum(l_quantity)", "sum(l_extendedprice)", "sum((l_extendedprice * ('1'::numeric - l_discount)))", "sum(((l_extendedprice * ('1'::numeric - l_discount)) * ('1'::numeric + l_tax)))", "avg(l_quantity)", "avg(l_extendedprice)", "avg(l_discount)", "count(*)"], "Group Key": ["lineitem.l_returnflag", "lineitem.l_linestatus"], "Plans": [{"Node Type": "Gather Merge", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 175399.08, "Total Cost": 175402.71, "Plan Rows": 30, "Plan Width": 236, "Actual Startup Time": 1699.195, "Actual Total Time": 1853.294, "Actual Rows": 24, "Actual Loops": 1, "Output": ["l_returnflag", "l_linestatus", "(PARTIAL sum(l_quantity))", "(PARTIAL sum(l_extendedprice))", "(PARTIAL sum((l_extendedprice * ('1'::numeric - l_discount))))", "(PARTIAL sum(((l_extendedprice * ('1'::numeric - l_discount)) * ('1'::numeric + l_tax))))", "(PARTIAL avg(l_quantity))", "(PARTIAL avg(l_extendedprice))", "(PARTIAL avg(l_discount))", "(PARTIAL count(*))"], "Workers Planned": 5, "Workers Launched": 5, "Plans": [{"Node Type": "Sort", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 174399.0, "Total Cost": 174399.02, "Plan Rows": 6, "Plan Width": 236, "Actual Startup Time": 1694.33, "Actual Total Time": 1694.333, "Actual Rows": 4, "Actual Loops": 6, "Output": ["l_returnflag", "l_linestatus", "(PARTIAL sum(l_quantity))", "(PARTIAL sum(l_extendedprice))", "(PARTIAL sum((l_extendedprice * ('1'::numeric - l_discount))))", "(PARTIAL sum(((l_extendedprice * ('1'::numeric - l_discount)) * ('1'::numeric + l_tax))))", "(PARTIAL avg(l_quantity))", "(PARTIAL avg(l_extendedprice))", "(PARTIAL avg(l_discount))", "(PARTIAL count(*))"], "Sort Key": ["lineitem.l_returnflag", "lineitem.l_linestatus"], "Sort Method": "quicksort", "Sort Space Used": 27, "Sort Space Type": "Memory", "Workers": [{"Worker Number": 0, "Actual Startup Time": 1693.474, "Actual Total Time": 1693.477, "Actual Rows": 4, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 1693.477, "Actual Total Time": 1693.48, "Actual Rows": 4, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 1693.526, "Actual Total Time": 1693.529, "Actual Rows": 4, "Actual Loops": 1}, {"Worker Number": 3, "Actual Startup Time": 1693.592, "Actual Total Time": 1693.595, "Actual Rows": 4, "Actual Loops": 1}, {"Worker Number": 4, "Actual Startup Time": 1693.488, "Actual Total Time": 1693.491, "Actual Rows": 4, "Actual Loops": 1}], "Plans": [{"Node Type": "Aggregate", "Strategy": "Hashed", "Partial Mode": "Partial", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 174398.76, "Total Cost": 174398.92, "Plan Rows": 6, "Plan Width": 236, "Actual Startup Time": 1694.277, "Actual Total Time": 1694.289, "Actual Rows": 4, "Actual Loops": 6, "Output": ["l_returnflag", "l_linestatus", "PARTIAL sum(l_quantity)", "PARTIAL sum(l_extendedprice)", "PARTIAL sum((l_extendedprice * ('1'::numeric - l_discount)))", "PARTIAL sum(((l_extendedprice * ('1'::numeric - l_discount)) * ('1'::numeric + l_tax)))", "PARTIAL avg(l_quantity)", "PARTIAL avg(l_extendedprice)", "PARTIAL avg(l_discount)", "PARTIAL count(*)"], "Group Key": ["lineitem.l_returnflag", "lineitem.l_linestatus"], "Workers": [{"Worker Number": 0, "Actual Startup Time": 1693.416, "Actual Total Time": 1693.429, "Actual Rows": 4, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 1693.418, "Actual Total Time": 1693.43, "Actual Rows": 4, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 1693.47, "Actual Total Time": 1693.482, "Actual Rows": 4, "Actual Loops": 1}, {"Worker Number": 3, "Actual Startup Time": 1693.534, "Actual Total Time": 1693.547, "Actual Rows": 4, "Actual Loops": 1}, {"Worker Number": 4, "Actual Startup Time": 1693.425, "Actual Total Time": 1693.437, "Actual Rows": 4, "Actual Loops": 1}], "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": true, "Relation Name": "lineitem", "Schema": "public", "Alias": "lineitem", "Startup Cost": 0.0, "Total Cost": 127506.04, "Plan Rows": 1172318, "Plan Width": 25, "Actual Startup Time": 0.026, "Actual Total Time": 317.082, "Actual Rows": 976793, "Actual Loops": 6, "Output": ["l_orderkey", "l_partkey", "l_suppkey", "l_linenumber", "l_quantity", "l_extendedprice", "l_discount", "l_tax", "l_returnflag", "l_linestatus", "l_shipdate", "l_commitdate", "l_receiptdate", "l_shipinstruct", "l_shipmode", "l_comment"], "Filter": "(lineitem.l_shipdate <= '1998-08-07 23:59:57'::timestamp without time zone)", "Rows Removed by Filter": 23410, "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.029, "Actual Total Time": 323.165, "Actual Rows": 967918, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 0.028, "Actual Total Time": 326.306, "Actual Rows": 970678, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 0.032, "Actual Total Time": 324.211, "Actual Rows": 971490, "Actual Loops": 1}, {"Worker Number": 3, "Actual Startup Time": 0.029, "Actual Total Time": 326.015, "Actual Rows": 967608, "Actual Loops": 1}, {"Worker Number": 4, "Actual Startup Time": 0.03, "Actual Total Time": 326.756, "Actual Rows": 970955, "Actual Loops": 1}]}]}]}]}]}, "Planning Time": 0.471, "Triggers": [], "Execution Time": 1853.542} diff --git a/dev9/pg11/tpch/sf_1/explain_analyze/15721/10-1.ok b/dev9/pg11/tpch/sf_1/explain_analyze/15721/10-1.ok new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/dev9/pg11/tpch/sf_1/explain_analyze/15721/10-1.res b/dev9/pg11/tpch/sf_1/explain_analyze/15721/10-1.res new file mode 100644 index 0000000000000000000000000000000000000000..4455cd7cc99e4fc9ba775554fd1a0f76cbcd945c --- /dev/null +++ b/dev9/pg11/tpch/sf_1/explain_analyze/15721/10-1.res @@ -0,0 +1 @@ +{"Plan": {"Node Type": "Limit", "Parallel Aware": false, "Startup Cost": 72635.91, "Total Cost": 72635.96, "Plan Rows": 20, "Plan Width": 202, "Actual Startup Time": 334.674, "Actual Total Time": 343.717, "Actual Rows": 20, "Actual Loops": 1, "Output": ["customer.c_custkey", "customer.c_name", "(sum((lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount))))", "customer.c_acctbal", "nation.n_name", "customer.c_address", "customer.c_phone", "customer.c_comment"], "Plans": [{"Node Type": "Sort", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 72635.91, "Total Cost": 72771.29, "Plan Rows": 54152, "Plan Width": 202, "Actual Startup Time": 334.672, "Actual Total Time": 343.713, "Actual Rows": 20, "Actual Loops": 1, "Output": ["customer.c_custkey", "customer.c_name", "(sum((lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount))))", "customer.c_acctbal", "nation.n_name", "customer.c_address", "customer.c_phone", "customer.c_comment"], "Sort Key": ["(sum((lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount)))) DESC"], "Sort Method": "top-N heapsort", "Sort Space Used": 34, "Sort Space Type": "Memory", "Plans": [{"Node Type": "Aggregate", "Strategy": "Hashed", "Partial Mode": "Simple", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 70518.04, "Total Cost": 71194.94, "Plan Rows": 54152, "Plan Width": 202, "Actual Startup Time": 292.874, "Actual Total Time": 330.272, "Actual Rows": 37047, "Actual Loops": 1, "Output": ["customer.c_custkey", "customer.c_name", "sum((lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount)))", "customer.c_acctbal", "nation.n_name", "customer.c_address", "customer.c_phone", "customer.c_comment"], "Group Key": ["customer.c_custkey", "nation.n_name"], "Plans": [{"Node Type": "Gather", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 6726.9, "Total Cost": 69841.14, "Plan Rows": 54152, "Plan Width": 182, "Actual Startup Time": 76.98, "Actual Total Time": 199.815, "Actual Rows": 110515, "Actual Loops": 1, "Output": ["customer.c_custkey", "nation.n_name", "customer.c_name", "lineitem.l_extendedprice", "lineitem.l_discount", "customer.c_acctbal", "customer.c_address", "customer.c_phone", "customer.c_comment"], "Workers Planned": 3, "Workers Launched": 3, "Single Copy": false, "Plans": [{"Node Type": "Hash Join", "Parent Relationship": "Outer", "Parallel Aware": false, "Join Type": "Inner", "Startup Cost": 5726.9, "Total Cost": 63425.94, "Plan Rows": 17468, "Plan Width": 182, "Actual Startup Time": 73.104, "Actual Total Time": 229.994, "Actual Rows": 27629, "Actual Loops": 4, "Output": ["customer.c_custkey", "nation.n_name", "customer.c_name", "lineitem.l_extendedprice", "lineitem.l_discount", "customer.c_acctbal", "customer.c_address", "customer.c_phone", "customer.c_comment"], "Inner Unique": true, "Hash Cond": "(customer.c_nationkey = nation.n_nationkey)", "Workers": [{"Worker Number": 0, "Actual Startup Time": 71.871, "Actual Total Time": 262.963, "Actual Rows": 33255, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 72.037, "Actual Total Time": 263.205, "Actual Rows": 33727, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 72.026, "Actual Total Time": 262.66, "Actual Rows": 33339, "Actual Loops": 1}], "Plans": [{"Node Type": "Hash Join", "Parent Relationship": "Outer", "Parallel Aware": true, "Join Type": "Inner", "Startup Cost": 5725.34, "Total Cost": 63370.75, "Plan Rows": 17468, "Plan Width": 160, "Actual Startup Time": 72.962, "Actual Total Time": 221.922, "Actual Rows": 27629, "Actual Loops": 4, "Output": ["customer.c_custkey", "customer.c_name", "customer.c_acctbal", "customer.c_address", "customer.c_phone", "customer.c_comment", "customer.c_nationkey", "lineitem.l_extendedprice", "lineitem.l_discount"], "Inner Unique": true, "Hash Cond": "(orders.o_custkey = customer.c_custkey)", "Workers": [{"Worker Number": 0, "Actual Startup Time": 71.69, "Actual Total Time": 253.464, "Actual Rows": 33255, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 71.854, "Actual Total Time": 253.67, "Actual Rows": 33727, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 71.847, "Actual Total Time": 252.427, "Actual Rows": 33339, "Actual Loops": 1}], "Plans": [{"Node Type": "Nested Loop", "Parent Relationship": "Outer", "Parallel Aware": false, "Join Type": "Inner", "Startup Cost": 734.09, "Total Cost": 58333.64, "Plan Rows": 17468, "Plan Width": 16, "Actual Startup Time": 26.755, "Actual Total Time": 158.92, "Actual Rows": 27629, "Actual Loops": 4, "Output": ["orders.o_custkey", "lineitem.l_extendedprice", "lineitem.l_discount"], "Inner Unique": false, "Workers": [{"Worker Number": 0, "Actual Startup Time": 26.71, "Actual Total Time": 188.685, "Actual Rows": 33255, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 26.798, "Actual Total Time": 188.642, "Actual Rows": 33727, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 26.591, "Actual Total Time": 187.525, "Actual Rows": 33339, "Actual Loops": 1}], "Plans": [{"Node Type": "Bitmap Heap Scan", "Parent Relationship": "Outer", "Parallel Aware": true, "Relation Name": "orders", "Schema": "public", "Alias": "orders", "Startup Cost": 733.65, "Total Cost": 27095.86, "Plan Rows": 17814, "Plan Width": 8, "Actual Startup Time": 26.691, "Actual Total Time": 51.735, "Actual Rows": 13816, "Actual Loops": 4, "Output": ["orders.o_orderkey", "orders.o_custkey", "orders.o_orderstatus", "orders.o_totalprice", "orders.o_orderdate", "orders.o_orderpriority", "orders.o_clerk", "orders.o_shippriority", "orders.o_comment"], "Recheck Cond": "((orders.o_orderdate >= '1993-02-01'::date) AND (orders.o_orderdate < '1993-05-01 00:00:00'::timestamp without time zone))", "Rows Removed by Index Recheck": 0, "Exact Heap Blocks": 2120, "Lossy Heap Blocks": 0, "Workers": [{"Worker Number": 0, "Actual Startup Time": 26.643, "Actual Total Time": 57.079, "Actual Rows": 16667, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 26.714, "Actual Total Time": 56.957, "Actual Rows": 16849, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 26.528, "Actual Total Time": 56.689, "Actual Rows": 16687, "Actual Loops": 1}], "Plans": [{"Node Type": "Bitmap Index Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Index Name": "o_od", "Startup Cost": 0.0, "Total Cost": 719.85, "Plan Rows": 55222, "Plan Width": 0, "Actual Startup Time": 19.987, "Actual Total Time": 19.988, "Actual Rows": 55266, "Actual Loops": 1, "Index Cond": "((orders.o_orderdate >= '1993-02-01'::date) AND (orders.o_orderdate < '1993-05-01 00:00:00'::timestamp without time zone))", "Workers": [{"Worker Number": 2, "Actual Startup Time": 19.987, "Actual Total Time": 19.988, "Actual Rows": 55266, "Actual Loops": 1}]}]}, {"Node Type": "Index Scan", "Parent Relationship": "Inner", "Parallel Aware": false, "Scan Direction": "Forward", "Index Name": "l_ok", "Relation Name": "lineitem", "Schema": "public", "Alias": "lineitem", "Startup Cost": 0.43, "Total Cost": 1.74, "Plan Rows": 1, "Plan Width": 16, "Actual Startup Time": 0.006, "Actual Total Time": 0.007, "Actual Rows": 2, "Actual Loops": 55266, "Output": ["lineitem.l_orderkey", "lineitem.l_partkey", "lineitem.l_suppkey", "lineitem.l_linenumber", "lineitem.l_quantity", "lineitem.l_extendedprice", "lineitem.l_discount", "lineitem.l_tax", "lineitem.l_returnflag", "lineitem.l_linestatus", "lineitem.l_shipdate", "lineitem.l_commitdate", "lineitem.l_receiptdate", "lineitem.l_shipinstruct", "lineitem.l_shipmode", "lineitem.l_comment"], "Index Cond": "(lineitem.l_orderkey = orders.o_orderkey)", "Rows Removed by Index Recheck": 0, "Filter": "(lineitem.l_returnflag = 'R'::bpchar)", "Rows Removed by Filter": 2, "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.006, "Actual Total Time": 0.007, "Actual Rows": 2, "Actual Loops": 16667}, {"Worker Number": 1, "Actual Startup Time": 0.006, "Actual Total Time": 0.007, "Actual Rows": 2, "Actual Loops": 16849}, {"Worker Number": 2, "Actual Startup Time": 0.006, "Actual Total Time": 0.007, "Actual Rows": 2, "Actual Loops": 16687}]}]}, {"Node Type": "Hash", "Parent Relationship": "Inner", "Parallel Aware": true, "Startup Cost": 4210.0, "Total Cost": 4210.0, "Plan Rows": 62500, "Plan Width": 148, "Actual Startup Time": 45.619, "Actual Total Time": 45.62, "Actual Rows": 37500, "Actual Loops": 4, "Output": ["customer.c_custkey", "customer.c_name", "customer.c_acctbal", "customer.c_address", "customer.c_phone", "customer.c_comment", "customer.c_nationkey"], "Hash Buckets": 262144, "Original Hash Buckets": 262144, "Hash Batches": 1, "Original Hash Batches": 1, "Peak Memory Usage": 29312, "Workers": [{"Worker Number": 0, "Actual Startup Time": 44.951, "Actual Total Time": 44.953, "Actual Rows": 35466, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 45.021, "Actual Total Time": 45.022, "Actual Rows": 35470, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 45.232, "Actual Total Time": 45.233, "Actual Rows": 35881, "Actual Loops": 1}], "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": true, "Relation Name": "customer", "Schema": "public", "Alias": "customer", "Startup Cost": 0.0, "Total Cost": 4210.0, "Plan Rows": 62500, "Plan Width": 148, "Actual Startup Time": 0.019, "Actual Total Time": 14.29, "Actual Rows": 37500, "Actual Loops": 4, "Output": ["customer.c_custkey", "customer.c_name", "customer.c_acctbal", "customer.c_address", "customer.c_phone", "customer.c_comment", "customer.c_nationkey"], "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.024, "Actual Total Time": 14.336, "Actual Rows": 35466, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 0.023, "Actual Total Time": 14.38, "Actual Rows": 35470, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 0.025, "Actual Total Time": 14.457, "Actual Rows": 35881, "Actual Loops": 1}]}]}]}, {"Node Type": "Hash", "Parent Relationship": "Inner", "Parallel Aware": false, "Startup Cost": 1.25, "Total Cost": 1.25, "Plan Rows": 25, "Plan Width": 30, "Actual Startup Time": 0.028, "Actual Total Time": 0.029, "Actual Rows": 25, "Actual Loops": 4, "Output": ["nation.n_name", "nation.n_nationkey"], "Hash Buckets": 1024, "Original Hash Buckets": 1024, "Hash Batches": 1, "Original Hash Batches": 1, "Peak Memory Usage": 10, "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.031, "Actual Total Time": 0.032, "Actual Rows": 25, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 0.032, "Actual Total Time": 0.033, "Actual Rows": 25, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 0.033, "Actual Total Time": 0.034, "Actual Rows": 25, "Actual Loops": 1}], "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Relation Name": "nation", "Schema": "public", "Alias": "nation", "Startup Cost": 0.0, "Total Cost": 1.25, "Plan Rows": 25, "Plan Width": 30, "Actual Startup Time": 0.016, "Actual Total Time": 0.02, "Actual Rows": 25, "Actual Loops": 4, "Output": ["nation.n_name", "nation.n_nationkey"], "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.019, "Actual Total Time": 0.023, "Actual Rows": 25, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 0.019, "Actual Total Time": 0.023, "Actual Rows": 25, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 0.019, "Actual Total Time": 0.024, "Actual Rows": 25, "Actual Loops": 1}]}]}]}]}]}]}]}, "Planning Time": 0.957, "Triggers": [], "Execution Time": 344.011} diff --git a/dev9/pg11/tpch/sf_1/explain_analyze/15721/11-1.ok b/dev9/pg11/tpch/sf_1/explain_analyze/15721/11-1.ok new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/dev9/pg11/tpch/sf_1/explain_analyze/15721/11-1.res b/dev9/pg11/tpch/sf_1/explain_analyze/15721/11-1.res new file mode 100644 index 0000000000000000000000000000000000000000..20250ce775502b95322b51d150ea16c3d00323b6 --- /dev/null +++ b/dev9/pg11/tpch/sf_1/explain_analyze/15721/11-1.res @@ -0,0 +1 @@ +{"Plan": {"Node Type": "Sort", "Parallel Aware": false, "Startup Cost": 6357.47, "Total Cost": 6384.14, "Plan Rows": 10667, "Plan Width": 36, "Actual Startup Time": 121.787, "Actual Total Time": 121.862, "Actual Rows": 869, "Actual Loops": 1, "Output": ["partsupp.ps_partkey", "(sum((partsupp.ps_supplycost * (partsupp.ps_availqty)::numeric)))"], "Sort Key": ["(sum((partsupp.ps_supplycost * (partsupp.ps_availqty)::numeric))) DESC"], "Sort Method": "quicksort", "Sort Space Used": 65, "Sort Space Type": "Memory", "Plans": [{"Node Type": "Aggregate", "Strategy": "Plain", "Partial Mode": "Simple", "Parent Relationship": "InitPlan", "Subplan Name": "InitPlan 1 (returns $2)", "Parallel Aware": false, "Startup Cost": 2381.9, "Total Cost": 2381.91, "Plan Rows": 1, "Plan Width": 32, "Actual Startup Time": 42.18, "Actual Total Time": 42.184, "Actual Rows": 1, "Actual Loops": 1, "Output": ["(sum((partsupp_1.ps_supplycost * (partsupp_1.ps_availqty)::numeric)) * 0.0001000000)"], "Plans": [{"Node Type": "Nested Loop", "Parent Relationship": "Outer", "Parallel Aware": false, "Join Type": "Inner", "Startup Cost": 6.01, "Total Cost": 2141.89, "Plan Rows": 32000, "Plan Width": 10, "Actual Startup Time": 0.087, "Actual Total Time": 30.588, "Actual Rows": 32560, "Actual Loops": 1, "Output": ["partsupp_1.ps_supplycost", "partsupp_1.ps_availqty"], "Inner Unique": false, "Plans": [{"Node Type": "Nested Loop", "Parent Relationship": "Outer", "Parallel Aware": false, "Join Type": "Inner", "Startup Cost": 5.58, "Total Cost": 227.43, "Plan Rows": 400, "Plan Width": 4, "Actual Startup Time": 0.075, "Actual Total Time": 0.411, "Actual Rows": 407, "Actual Loops": 1, "Output": ["supplier_1.s_suppkey"], "Inner Unique": false, "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Relation Name": "nation", "Schema": "public", "Alias": "nation_1", "Startup Cost": 0.0, "Total Cost": 1.31, "Plan Rows": 1, "Plan Width": 4, "Actual Startup Time": 0.008, "Actual Total Time": 0.011, "Actual Rows": 1, "Actual Loops": 1, "Output": ["nation_1.n_nationkey", "nation_1.n_name", "nation_1.n_regionkey", "nation_1.n_comment"], "Filter": "(nation_1.n_name = 'CHINA'::bpchar)", "Rows Removed by Filter": 24}, {"Node Type": "Bitmap Heap Scan", "Parent Relationship": "Inner", "Parallel Aware": false, "Relation Name": "supplier", "Schema": "public", "Alias": "supplier_1", "Startup Cost": 5.58, "Total Cost": 222.11, "Plan Rows": 400, "Plan Width": 8, "Actual Startup Time": 0.064, "Actual Total Time": 0.338, "Actual Rows": 407, "Actual Loops": 1, "Output": ["supplier_1.s_suppkey", "supplier_1.s_name", "supplier_1.s_address", "supplier_1.s_nationkey", "supplier_1.s_phone", "supplier_1.s_acctbal", "supplier_1.s_comment"], "Recheck Cond": "(supplier_1.s_nationkey = nation_1.n_nationkey)", "Rows Removed by Index Recheck": 0, "Exact Heap Blocks": 186, "Lossy Heap Blocks": 0, "Plans": [{"Node Type": "Bitmap Index Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Index Name": "s_nk", "Startup Cost": 0.0, "Total Cost": 5.49, "Plan Rows": 400, "Plan Width": 0, "Actual Startup Time": 0.037, "Actual Total Time": 0.037, "Actual Rows": 407, "Actual Loops": 1, "Index Cond": "(supplier_1.s_nationkey = nation_1.n_nationkey)"}]}]}, {"Node Type": "Index Scan", "Parent Relationship": "Inner", "Parallel Aware": false, "Scan Direction": "Forward", "Index Name": "ps_sk", "Relation Name": "partsupp", "Schema": "public", "Alias": "partsupp_1", "Startup Cost": 0.42, "Total Cost": 3.99, "Plan Rows": 80, "Plan Width": 14, "Actual Startup Time": 0.005, "Actual Total Time": 0.061, "Actual Rows": 80, "Actual Loops": 407, "Output": ["partsupp_1.ps_partkey", "partsupp_1.ps_suppkey", "partsupp_1.ps_availqty", "partsupp_1.ps_supplycost", "partsupp_1.ps_comment"], "Index Cond": "(partsupp_1.ps_suppkey = supplier_1.s_suppkey)", "Rows Removed by Index Recheck": 0}]}]}, {"Node Type": "Aggregate", "Strategy": "Hashed", "Partial Mode": "Simple", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 2701.89, "Total Cost": 3261.89, "Plan Rows": 10667, "Plan Width": 36, "Actual Startup Time": 105.158, "Actual Total Time": 121.459, "Actual Rows": 869, "Actual Loops": 1, "Output": ["partsupp.ps_partkey", "sum((partsupp.ps_supplycost * (partsupp.ps_availqty)::numeric))"], "Group Key": ["partsupp.ps_partkey"], "Filter": "(sum((partsupp.ps_supplycost * (partsupp.ps_availqty)::numeric)) > $2)", "Rows Removed by Filter": 29770, "Plans": [{"Node Type": "Nested Loop", "Parent Relationship": "Outer", "Parallel Aware": false, "Join Type": "Inner", "Startup Cost": 6.01, "Total Cost": 2141.89, "Plan Rows": 32000, "Plan Width": 14, "Actual Startup Time": 0.095, "Actual Total Time": 40.663, "Actual Rows": 32560, "Actual Loops": 1, "Output": ["partsupp.ps_partkey", "partsupp.ps_supplycost", "partsupp.ps_availqty"], "Inner Unique": false, "Plans": [{"Node Type": "Nested Loop", "Parent Relationship": "Outer", "Parallel Aware": false, "Join Type": "Inner", "Startup Cost": 5.58, "Total Cost": 227.43, "Plan Rows": 400, "Plan Width": 4, "Actual Startup Time": 0.081, "Actual Total Time": 0.489, "Actual Rows": 407, "Actual Loops": 1, "Output": ["supplier.s_suppkey"], "Inner Unique": false, "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Relation Name": "nation", "Schema": "public", "Alias": "nation", "Startup Cost": 0.0, "Total Cost": 1.31, "Plan Rows": 1, "Plan Width": 4, "Actual Startup Time": 0.009, "Actual Total Time": 0.012, "Actual Rows": 1, "Actual Loops": 1, "Output": ["nation.n_nationkey", "nation.n_name", "nation.n_regionkey", "nation.n_comment"], "Filter": "(nation.n_name = 'CHINA'::bpchar)", "Rows Removed by Filter": 24}, {"Node Type": "Bitmap Heap Scan", "Parent Relationship": "Inner", "Parallel Aware": false, "Relation Name": "supplier", "Schema": "public", "Alias": "supplier", "Startup Cost": 5.58, "Total Cost": 222.11, "Plan Rows": 400, "Plan Width": 8, "Actual Startup Time": 0.07, "Actual Total Time": 0.412, "Actual Rows": 407, "Actual Loops": 1, "Output": ["supplier.s_suppkey", "supplier.s_name", "supplier.s_address", "supplier.s_nationkey", "supplier.s_phone", "supplier.s_acctbal", "supplier.s_comment"], "Recheck Cond": "(supplier.s_nationkey = nation.n_nationkey)", "Rows Removed by Index Recheck": 0, "Exact Heap Blocks": 186, "Lossy Heap Blocks": 0, "Plans": [{"Node Type": "Bitmap Index Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Index Name": "s_nk", "Startup Cost": 0.0, "Total Cost": 5.49, "Plan Rows": 400, "Plan Width": 0, "Actual Startup Time": 0.039, "Actual Total Time": 0.039, "Actual Rows": 407, "Actual Loops": 1, "Index Cond": "(supplier.s_nationkey = nation.n_nationkey)"}]}]}, {"Node Type": "Index Scan", "Parent Relationship": "Inner", "Parallel Aware": false, "Scan Direction": "Forward", "Index Name": "ps_sk", "Relation Name": "partsupp", "Schema": "public", "Alias": "partsupp", "Startup Cost": 0.42, "Total Cost": 3.99, "Plan Rows": 80, "Plan Width": 18, "Actual Startup Time": 0.006, "Actual Total Time": 0.084, "Actual Rows": 80, "Actual Loops": 407, "Output": ["partsupp.ps_partkey", "partsupp.ps_suppkey", "partsupp.ps_availqty", "partsupp.ps_supplycost", "partsupp.ps_comment"], "Index Cond": "(partsupp.ps_suppkey = supplier.s_suppkey)", "Rows Removed by Index Recheck": 0}]}]}]}, "Planning Time": 0.842, "Triggers": [], "Execution Time": 122.181} diff --git a/dev9/pg11/tpch/sf_1/explain_analyze/15721/12-1.ok b/dev9/pg11/tpch/sf_1/explain_analyze/15721/12-1.ok new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/dev9/pg11/tpch/sf_1/explain_analyze/15721/12-1.res b/dev9/pg11/tpch/sf_1/explain_analyze/15721/12-1.res new file mode 100644 index 0000000000000000000000000000000000000000..14200802b6b46a3cf75e5331e803c3096493879b --- /dev/null +++ b/dev9/pg11/tpch/sf_1/explain_analyze/15721/12-1.res @@ -0,0 +1 @@ +{"Plan": {"Node Type": "Aggregate", "Strategy": "Sorted", "Partial Mode": "Finalize", "Parallel Aware": false, "Startup Cost": 137431.62, "Total Cost": 137552.45, "Plan Rows": 7, "Plan Width": 27, "Actual Startup Time": 414.914, "Actual Total Time": 447.532, "Actual Rows": 2, "Actual Loops": 1, "Output": ["lineitem.l_shipmode", "sum(CASE WHEN ((orders.o_orderpriority = '1-URGENT'::bpchar) OR (orders.o_orderpriority = '2-HIGH'::bpchar)) THEN 1 ELSE 0 END)", "sum(CASE WHEN ((orders.o_orderpriority <> '1-URGENT'::bpchar) AND (orders.o_orderpriority <> '2-HIGH'::bpchar)) THEN 1 ELSE 0 END)"], "Group Key": ["lineitem.l_shipmode"], "Plans": [{"Node Type": "Gather Merge", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 137431.62, "Total Cost": 137552.12, "Plan Rows": 35, "Plan Width": 27, "Actual Startup Time": 413.889, "Actual Total Time": 447.522, "Actual Rows": 12, "Actual Loops": 1, "Output": ["lineitem.l_shipmode", "(PARTIAL sum(CASE WHEN ((orders.o_orderpriority = '1-URGENT'::bpchar) OR (orders.o_orderpriority = '2-HIGH'::bpchar)) THEN 1 ELSE 0 END))", "(PARTIAL sum(CASE WHEN ((orders.o_orderpriority <> '1-URGENT'::bpchar) AND (orders.o_orderpriority <> '2-HIGH'::bpchar)) THEN 1 ELSE 0 END))"], "Workers Planned": 5, "Workers Launched": 5, "Plans": [{"Node Type": "Aggregate", "Strategy": "Sorted", "Partial Mode": "Partial", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 136431.54, "Total Cost": 136547.83, "Plan Rows": 7, "Plan Width": 27, "Actual Startup Time": 409.252, "Actual Total Time": 410.186, "Actual Rows": 2, "Actual Loops": 6, "Output": ["lineitem.l_shipmode", "PARTIAL sum(CASE WHEN ((orders.o_orderpriority = '1-URGENT'::bpchar) OR (orders.o_orderpriority = '2-HIGH'::bpchar)) THEN 1 ELSE 0 END)", "PARTIAL sum(CASE WHEN ((orders.o_orderpriority <> '1-URGENT'::bpchar) AND (orders.o_orderpriority <> '2-HIGH'::bpchar)) THEN 1 ELSE 0 END)"], "Group Key": ["lineitem.l_shipmode"], "Workers": [{"Worker Number": 0, "Actual Startup Time": 408.039, "Actual Total Time": 408.953, "Actual Rows": 2, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 408.263, "Actual Total Time": 409.173, "Actual Rows": 2, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 408.438, "Actual Total Time": 409.371, "Actual Rows": 2, "Actual Loops": 1}, {"Worker Number": 3, "Actual Startup Time": 408.625, "Actual Total Time": 409.521, "Actual Rows": 2, "Actual Loops": 1}, {"Worker Number": 4, "Actual Startup Time": 408.786, "Actual Total Time": 409.721, "Actual Rows": 2, "Actual Loops": 1}], "Plans": [{"Node Type": "Sort", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 136431.54, "Total Cost": 136446.07, "Plan Rows": 5811, "Plan Width": 27, "Actual Startup Time": 408.329, "Actual Total Time": 408.641, "Actual Rows": 5187, "Actual Loops": 6, "Output": ["lineitem.l_shipmode", "orders.o_orderpriority"], "Sort Key": ["lineitem.l_shipmode"], "Sort Method": "quicksort", "Sort Space Used": 632, "Sort Space Type": "Memory", "Workers": [{"Worker Number": 0, "Actual Startup Time": 407.169, "Actual Total Time": 407.468, "Actual Rows": 4970, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 407.356, "Actual Total Time": 407.666, "Actual Rows": 5025, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 407.526, "Actual Total Time": 407.83, "Actual Rows": 5156, "Actual Loops": 1}, {"Worker Number": 3, "Actual Startup Time": 407.693, "Actual Total Time": 407.999, "Actual Rows": 5138, "Actual Loops": 1}, {"Worker Number": 4, "Actual Startup Time": 407.863, "Actual Total Time": 408.183, "Actual Rows": 5204, "Actual Loops": 1}], "Plans": [{"Node Type": "Nested Loop", "Parent Relationship": "Outer", "Parallel Aware": false, "Join Type": "Inner", "Startup Cost": 11868.11, "Total Cost": 136068.22, "Plan Rows": 5811, "Plan Width": 27, "Actual Startup Time": 192.742, "Actual Total Time": 406.392, "Actual Rows": 5187, "Actual Loops": 6, "Output": ["lineitem.l_shipmode", "orders.o_orderpriority"], "Inner Unique": true, "Workers": [{"Worker Number": 0, "Actual Startup Time": 192.551, "Actual Total Time": 405.224, "Actual Rows": 4970, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 192.483, "Actual Total Time": 405.382, "Actual Rows": 5025, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 192.879, "Actual Total Time": 405.56, "Actual Rows": 5156, "Actual Loops": 1}, {"Worker Number": 3, "Actual Startup Time": 192.805, "Actual Total Time": 405.705, "Actual Rows": 5138, "Actual Loops": 1}, {"Worker Number": 4, "Actual Startup Time": 193.005, "Actual Total Time": 405.872, "Actual Rows": 5204, "Actual Loops": 1}], "Plans": [{"Node Type": "Bitmap Heap Scan", "Parent Relationship": "Outer", "Parallel Aware": true, "Relation Name": "lineitem", "Schema": "public", "Alias": "lineitem", "Startup Cost": 11867.69, "Total Cost": 128470.68, "Plan Rows": 5811, "Plan Width": 15, "Actual Startup Time": 192.69, "Actual Total Time": 373.002, "Actual Rows": 5187, "Actual Loops": 6, "Output": ["lineitem.l_orderkey", "lineitem.l_partkey", "lineitem.l_suppkey", "lineitem.l_linenumber", "lineitem.l_quantity", "lineitem.l_extendedprice", "lineitem.l_discount", "lineitem.l_tax", "lineitem.l_returnflag", "lineitem.l_linestatus", "lineitem.l_shipdate", "lineitem.l_commitdate", "lineitem.l_receiptdate", "lineitem.l_shipinstruct", "lineitem.l_shipmode", "lineitem.l_comment"], "Recheck Cond": "((lineitem.l_receiptdate >= '1995-01-01'::date) AND (lineitem.l_receiptdate < '1996-01-01 00:00:00'::timestamp without time zone))", "Rows Removed by Index Recheck": 0, "Filter": "((lineitem.l_shipmode = ANY ('{MAIL,TRUCK}'::bpchar[])) AND (lineitem.l_commitdate < lineitem.l_receiptdate) AND (lineitem.l_shipdate < lineitem.l_commitdate))", "Rows Removed by Filter": 147278, "Exact Heap Blocks": 19169, "Lossy Heap Blocks": 0, "Workers": [{"Worker Number": 0, "Actual Startup Time": 192.485, "Actual Total Time": 370.76, "Actual Rows": 4970, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 192.425, "Actual Total Time": 370.281, "Actual Rows": 5025, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 192.812, "Actual Total Time": 370.522, "Actual Rows": 5156, "Actual Loops": 1}, {"Worker Number": 3, "Actual Startup Time": 192.758, "Actual Total Time": 370.966, "Actual Rows": 5138, "Actual Loops": 1}, {"Worker Number": 4, "Actual Startup Time": 192.951, "Actual Total Time": 370.781, "Actual Rows": 5204, "Actual Loops": 1}], "Plans": [{"Node Type": "Bitmap Index Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Index Name": "l_rd", "Startup Cost": 0.0, "Total Cost": 11860.42, "Plan Rows": 911109, "Plan Width": 0, "Actual Startup Time": 153.813, "Actual Total Time": 153.813, "Actual Rows": 914792, "Actual Loops": 1, "Index Cond": "((lineitem.l_receiptdate >= '1995-01-01'::date) AND (lineitem.l_receiptdate < '1996-01-01 00:00:00'::timestamp without time zone))"}]}, {"Node Type": "Index Scan", "Parent Relationship": "Inner", "Parallel Aware": false, "Scan Direction": "Forward", "Index Name": "o_ok", "Relation Name": "orders", "Schema": "public", "Alias": "orders", "Startup Cost": 0.43, "Total Cost": 1.31, "Plan Rows": 1, "Plan Width": 20, "Actual Startup Time": 0.006, "Actual Total Time": 0.006, "Actual Rows": 1, "Actual Loops": 31122, "Output": ["orders.o_orderkey", "orders.o_custkey", "orders.o_orderstatus", "orders.o_totalprice", "orders.o_orderdate", "orders.o_orderpriority", "orders.o_clerk", "orders.o_shippriority", "orders.o_comment"], "Index Cond": "(orders.o_orderkey = lineitem.l_orderkey)", "Rows Removed by Index Recheck": 0, "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.006, "Actual Total Time": 0.006, "Actual Rows": 1, "Actual Loops": 4970}, {"Worker Number": 1, "Actual Startup Time": 0.006, "Actual Total Time": 0.006, "Actual Rows": 1, "Actual Loops": 5025}, {"Worker Number": 2, "Actual Startup Time": 0.006, "Actual Total Time": 0.006, "Actual Rows": 1, "Actual Loops": 5156}, {"Worker Number": 3, "Actual Startup Time": 0.006, "Actual Total Time": 0.006, "Actual Rows": 1, "Actual Loops": 5138}, {"Worker Number": 4, "Actual Startup Time": 0.006, "Actual Total Time": 0.006, "Actual Rows": 1, "Actual Loops": 5204}]}]}]}]}]}]}, "Planning Time": 0.379, "Triggers": [], "Execution Time": 447.598} diff --git a/dev9/pg11/tpch/sf_1/explain_analyze/15721/13-1.ok b/dev9/pg11/tpch/sf_1/explain_analyze/15721/13-1.ok new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/dev9/pg11/tpch/sf_1/explain_analyze/15721/13-1.res b/dev9/pg11/tpch/sf_1/explain_analyze/15721/13-1.res new file mode 100644 index 0000000000000000000000000000000000000000..16f693614a408b6b5808c19489897d9f75438a6b --- /dev/null +++ b/dev9/pg11/tpch/sf_1/explain_analyze/15721/13-1.res @@ -0,0 +1 @@ +{"Plan": {"Node Type": "Sort", "Parallel Aware": false, "Startup Cost": 64554.31, "Total Cost": 64554.81, "Plan Rows": 200, "Plan Width": 16, "Actual Startup Time": 2029.767, "Actual Total Time": 2029.774, "Actual Rows": 42, "Actual Loops": 1, "Output": ["(count(orders.o_orderkey))", "(count(*))"], "Sort Key": ["(count(*)) DESC", "(count(orders.o_orderkey)) DESC"], "Sort Method": "quicksort", "Sort Space Used": 26, "Sort Space Type": "Memory", "Plans": [{"Node Type": "Aggregate", "Strategy": "Hashed", "Partial Mode": "Simple", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 64544.67, "Total Cost": 64546.67, "Plan Rows": 200, "Plan Width": 16, "Actual Startup Time": 2029.731, "Actual Total Time": 2029.743, "Actual Rows": 42, "Actual Loops": 1, "Output": ["(count(orders.o_orderkey))", "count(*)"], "Group Key": ["count(orders.o_orderkey)"], "Plans": [{"Node Type": "Aggregate", "Strategy": "Hashed", "Partial Mode": "Simple", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 60794.67, "Total Cost": 62294.67, "Plan Rows": 150000, "Plan Width": 12, "Actual Startup Time": 1964.581, "Actual Total Time": 2003.369, "Actual Rows": 150000, "Actual Loops": 1, "Output": ["customer.c_custkey", "count(orders.o_orderkey)"], "Group Key": ["customer.c_custkey"], "Plans": [{"Node Type": "Hash Join", "Parent Relationship": "Outer", "Parallel Aware": false, "Join Type": "Right", "Startup Cost": 4580.82, "Total Cost": 53339.76, "Plan Rows": 1490982, "Plan Width": 8, "Actual Startup Time": 42.224, "Actual Total Time": 1408.029, "Actual Rows": 1533817, "Actual Loops": 1, "Output": ["customer.c_custkey", "orders.o_orderkey"], "Inner Unique": true, "Hash Cond": "(orders.o_custkey = customer.c_custkey)", "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Relation Name": "orders", "Schema": "public", "Alias": "orders", "Startup Cost": 0.0, "Total Cost": 44845.0, "Plan Rows": 1490982, "Plan Width": 8, "Actual Startup Time": 0.01, "Actual Total Time": 802.083, "Actual Rows": 1483813, "Actual Loops": 1, "Output": ["orders.o_orderkey", "orders.o_custkey", "orders.o_orderstatus", "orders.o_totalprice", "orders.o_orderdate", "orders.o_orderpriority", "orders.o_clerk", "orders.o_shippriority", "orders.o_comment"], "Filter": "((orders.o_comment)::text !~~ '%unusual%requests%'::text)", "Rows Removed by Filter": 16187}, {"Node Type": "Hash", "Parent Relationship": "Inner", "Parallel Aware": false, "Startup Cost": 2705.82, "Total Cost": 2705.82, "Plan Rows": 150000, "Plan Width": 4, "Actual Startup Time": 41.897, "Actual Total Time": 41.898, "Actual Rows": 150000, "Actual Loops": 1, "Output": ["customer.c_custkey"], "Hash Buckets": 262144, "Original Hash Buckets": 262144, "Hash Batches": 1, "Original Hash Batches": 1, "Peak Memory Usage": 7322, "Plans": [{"Node Type": "Index Only Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Scan Direction": "Forward", "Index Name": "c_ck", "Relation Name": "customer", "Schema": "public", "Alias": "customer", "Startup Cost": 0.42, "Total Cost": 2705.82, "Plan Rows": 150000, "Plan Width": 4, "Actual Startup Time": 0.013, "Actual Total Time": 17.874, "Actual Rows": 150000, "Actual Loops": 1, "Output": ["customer.c_custkey"], "Heap Fetches": 0}]}]}]}]}]}, "Planning Time": 0.531, "Triggers": [], "Execution Time": 2030.763} diff --git a/dev9/pg11/tpch/sf_1/explain_analyze/15721/14-1.ok b/dev9/pg11/tpch/sf_1/explain_analyze/15721/14-1.ok new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/dev9/pg11/tpch/sf_1/explain_analyze/15721/14-1.res b/dev9/pg11/tpch/sf_1/explain_analyze/15721/14-1.res new file mode 100644 index 0000000000000000000000000000000000000000..7b1771bdc161d3cb5275ad625499d1cd585c02ac --- /dev/null +++ b/dev9/pg11/tpch/sf_1/explain_analyze/15721/14-1.res @@ -0,0 +1 @@ +{"Plan": {"Node Type": "Aggregate", "Strategy": "Plain", "Partial Mode": "Finalize", "Parallel Aware": false, "Startup Cost": 68645.3, "Total Cost": 68645.32, "Plan Rows": 1, "Plan Width": 32, "Actual Startup Time": 157.346, "Actual Total Time": 175.546, "Actual Rows": 1, "Actual Loops": 1, "Output": ["((100.00 * sum(CASE WHEN ((part.p_type)::text ~~ 'PROMO%'::text) THEN (lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount)) ELSE '0'::numeric END)) / sum((lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount))))"], "Plans": [{"Node Type": "Gather", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 68644.85, "Total Cost": 68645.26, "Plan Rows": 4, "Plan Width": 64, "Actual Startup Time": 154.824, "Actual Total Time": 175.516, "Actual Rows": 5, "Actual Loops": 1, "Output": ["(PARTIAL sum(CASE WHEN ((part.p_type)::text ~~ 'PROMO%'::text) THEN (lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount)) ELSE '0'::numeric END))", "(PARTIAL sum((lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount))))"], "Workers Planned": 4, "Workers Launched": 4, "Single Copy": false, "Plans": [{"Node Type": "Aggregate", "Strategy": "Plain", "Partial Mode": "Partial", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 67644.85, "Total Cost": 67644.86, "Plan Rows": 1, "Plan Width": 64, "Actual Startup Time": 150.836, "Actual Total Time": 150.841, "Actual Rows": 1, "Actual Loops": 5, "Output": ["PARTIAL sum(CASE WHEN ((part.p_type)::text ~~ 'PROMO%'::text) THEN (lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount)) ELSE '0'::numeric END)", "PARTIAL sum((lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount)))"], "Workers": [{"Worker Number": 0, "Actual Startup Time": 149.681, "Actual Total Time": 149.685, "Actual Rows": 1, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 149.839, "Actual Total Time": 149.843, "Actual Rows": 1, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 149.926, "Actual Total Time": 149.93, "Actual Rows": 1, "Actual Loops": 1}, {"Worker Number": 3, "Actual Startup Time": 150.357, "Actual Total Time": 150.361, "Actual Rows": 1, "Actual Loops": 1}], "Plans": [{"Node Type": "Hash Join", "Parent Relationship": "Outer", "Parallel Aware": true, "Join Type": "Inner", "Startup Cost": 7016.65, "Total Cost": 67300.55, "Plan Rows": 19674, "Plan Width": 33, "Actual Startup Time": 69.015, "Actual Total Time": 141.703, "Actual Rows": 15580, "Actual Loops": 5, "Output": ["part.p_type", "lineitem.l_extendedprice", "lineitem.l_discount"], "Inner Unique": true, "Hash Cond": "(lineitem.l_partkey = part.p_partkey)", "Workers": [{"Worker Number": 0, "Actual Startup Time": 66.913, "Actual Total Time": 141.031, "Actual Rows": 14558, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 67.779, "Actual Total Time": 141.267, "Actual Rows": 14461, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 70.0, "Actual Total Time": 141.269, "Actual Rows": 14659, "Actual Loops": 1}, {"Worker Number": 3, "Actual Startup Time": 68.059, "Actual Total Time": 141.7, "Actual Rows": 14611, "Actual Loops": 1}], "Plans": [{"Node Type": "Bitmap Heap Scan", "Parent Relationship": "Outer", "Parallel Aware": true, "Relation Name": "lineitem", "Schema": "public", "Alias": "lineitem", "Startup Cost": 1044.66, "Total Cost": 61276.91, "Plan Rows": 19674, "Plan Width": 16, "Actual Startup Time": 34.708, "Actual Total Time": 95.639, "Actual Rows": 15580, "Actual Loops": 5, "Output": ["lineitem.l_orderkey", "lineitem.l_partkey", "lineitem.l_suppkey", "lineitem.l_linenumber", "lineitem.l_quantity", "lineitem.l_extendedprice", "lineitem.l_discount", "lineitem.l_tax", "lineitem.l_returnflag", "lineitem.l_linestatus", "lineitem.l_shipdate", "lineitem.l_commitdate", "lineitem.l_receiptdate", "lineitem.l_shipinstruct", "lineitem.l_shipmode", "lineitem.l_comment"], "Recheck Cond": "((lineitem.l_shipdate >= '1995-05-01'::date) AND (lineitem.l_shipdate < '1995-06-01 00:00:00'::timestamp without time zone))", "Rows Removed by Index Recheck": 0, "Exact Heap Blocks": 10578, "Lossy Heap Blocks": 0, "Workers": [{"Worker Number": 0, "Actual Startup Time": 33.721, "Actual Total Time": 96.595, "Actual Rows": 14558, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 34.425, "Actual Total Time": 96.868, "Actual Rows": 14461, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 36.557, "Actual Total Time": 96.625, "Actual Rows": 14659, "Actual Loops": 1}, {"Worker Number": 3, "Actual Startup Time": 34.41, "Actual Total Time": 96.786, "Actual Rows": 14611, "Actual Loops": 1}], "Plans": [{"Node Type": "Bitmap Index Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Index Name": "l_sd", "Startup Cost": 0.0, "Total Cost": 1024.98, "Plan Rows": 78695, "Plan Width": 0, "Actual Startup Time": 19.222, "Actual Total Time": 19.223, "Actual Rows": 77900, "Actual Loops": 1, "Index Cond": "((lineitem.l_shipdate >= '1995-05-01'::date) AND (lineitem.l_shipdate < '1995-06-01 00:00:00'::timestamp without time zone))", "Workers": [{"Worker Number": 0, "Actual Startup Time": 19.222, "Actual Total Time": 19.223, "Actual Rows": 77900, "Actual Loops": 1}]}]}, {"Node Type": "Hash", "Parent Relationship": "Inner", "Parallel Aware": true, "Startup Cost": 4930.33, "Total Cost": 4930.33, "Plan Rows": 83333, "Plan Width": 25, "Actual Startup Time": 33.732, "Actual Total Time": 33.733, "Actual Rows": 40000, "Actual Loops": 5, "Output": ["part.p_type", "part.p_partkey"], "Hash Buckets": 262144, "Original Hash Buckets": 262144, "Hash Batches": 1, "Original Hash Batches": 1, "Peak Memory Usage": 14208, "Workers": [{"Worker Number": 0, "Actual Startup Time": 33.063, "Actual Total Time": 33.064, "Actual Rows": 37381, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 33.209, "Actual Total Time": 33.21, "Actual Rows": 37738, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 33.303, "Actual Total Time": 33.304, "Actual Rows": 38011, "Actual Loops": 1}, {"Worker Number": 3, "Actual Startup Time": 33.502, "Actual Total Time": 33.503, "Actual Rows": 38662, "Actual Loops": 1}], "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": true, "Relation Name": "part", "Schema": "public", "Alias": "part", "Startup Cost": 0.0, "Total Cost": 4930.33, "Plan Rows": 83333, "Plan Width": 25, "Actual Startup Time": 0.016, "Actual Total Time": 12.424, "Actual Rows": 40000, "Actual Loops": 5, "Output": ["part.p_type", "part.p_partkey"], "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.018, "Actual Total Time": 12.355, "Actual Rows": 37381, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 0.017, "Actual Total Time": 12.533, "Actual Rows": 37738, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 0.022, "Actual Total Time": 12.465, "Actual Rows": 38011, "Actual Loops": 1}, {"Worker Number": 3, "Actual Startup Time": 0.018, "Actual Total Time": 12.666, "Actual Rows": 38662, "Actual Loops": 1}]}]}]}]}]}]}, "Planning Time": 0.345, "Triggers": [], "Execution Time": 175.609} diff --git a/dev9/pg11/tpch/sf_1/explain_analyze/15721/15-1.ok b/dev9/pg11/tpch/sf_1/explain_analyze/15721/15-1.ok new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/dev9/pg11/tpch/sf_1/explain_analyze/15721/15-1.res b/dev9/pg11/tpch/sf_1/explain_analyze/15721/15-1.res new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/dev9/pg11/tpch/sf_1/explain_analyze/15721/15-2.ok b/dev9/pg11/tpch/sf_1/explain_analyze/15721/15-2.ok new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/dev9/pg11/tpch/sf_1/explain_analyze/15721/15-2.res b/dev9/pg11/tpch/sf_1/explain_analyze/15721/15-2.res new file mode 100644 index 0000000000000000000000000000000000000000..041144ca447d1bcdd233e9e1611064038db38cb4 --- /dev/null +++ b/dev9/pg11/tpch/sf_1/explain_analyze/15721/15-2.res @@ -0,0 +1 @@ +{"Plan": {"Node Type": "Merge Join", "Parallel Aware": false, "Join Type": "Inner", "Startup Cost": 243583.42, "Total Cost": 244014.27, "Plan Rows": 50, "Plan Width": 103, "Actual Startup Time": 770.092, "Actual Total Time": 770.098, "Actual Rows": 1, "Actual Loops": 1, "Output": ["supplier.s_suppkey", "supplier.s_name", "supplier.s_address", "supplier.s_phone", "revenue0.total_revenue"], "Inner Unique": true, "Merge Cond": "(supplier.s_suppkey = revenue0.supplier_no)", "Plans": [{"Node Type": "Aggregate", "Strategy": "Plain", "Partial Mode": "Simple", "Parent Relationship": "InitPlan", "Subplan Name": "InitPlan 1 (returns $0)", "Parallel Aware": false, "Startup Cost": 120989.42, "Total Cost": 120989.43, "Plan Rows": 1, "Plan Width": 32, "Actual Startup Time": 382.098, "Actual Total Time": 382.1, "Actual Rows": 1, "Actual Loops": 1, "Output": ["max((sum((lineitem_1.l_extendedprice * ('1'::numeric - lineitem_1.l_discount)))))"], "Plans": [{"Node Type": "Aggregate", "Strategy": "Hashed", "Partial Mode": "Simple", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 120739.42, "Total Cost": 120864.42, "Plan Rows": 10000, "Plan Width": 36, "Actual Startup Time": 376.121, "Actual Total Time": 381.08, "Actual Rows": 10000, "Actual Loops": 1, "Output": ["lineitem_1.l_suppkey", "sum((lineitem_1.l_extendedprice * ('1'::numeric - lineitem_1.l_discount)))"], "Group Key": ["lineitem_1.l_suppkey"], "Plans": [{"Node Type": "Bitmap Heap Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Relation Name": "lineitem", "Schema": "public", "Alias": "lineitem_1", "Startup Cost": 2968.23, "Total Cost": 118502.93, "Plan Rows": 223649, "Plan Width": 16, "Actual Startup Time": 52.47, "Actual Total Time": 182.81, "Actual Rows": 225253, "Actual Loops": 1, "Output": ["lineitem_1.l_orderkey", "lineitem_1.l_partkey", "lineitem_1.l_suppkey", "lineitem_1.l_linenumber", "lineitem_1.l_quantity", "lineitem_1.l_extendedprice", "lineitem_1.l_discount", "lineitem_1.l_tax", "lineitem_1.l_returnflag", "lineitem_1.l_linestatus", "lineitem_1.l_shipdate", "lineitem_1.l_commitdate", "lineitem_1.l_receiptdate", "lineitem_1.l_shipinstruct", "lineitem_1.l_shipmode", "lineitem_1.l_comment"], "Recheck Cond": "((lineitem_1.l_shipdate >= '1995-01-01'::date) AND (lineitem_1.l_shipdate < '1995-04-01 00:00:00'::timestamp without time zone))", "Rows Removed by Index Recheck": 0, "Exact Heap Blocks": 66731, "Lossy Heap Blocks": 0, "Plans": [{"Node Type": "Bitmap Index Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Index Name": "l_sd", "Startup Cost": 0.0, "Total Cost": 2912.32, "Plan Rows": 223649, "Plan Width": 0, "Actual Startup Time": 34.01, "Actual Total Time": 34.011, "Actual Rows": 225253, "Actual Loops": 1, "Index Cond": "((lineitem_1.l_shipdate >= '1995-01-01'::date) AND (lineitem_1.l_shipdate < '1995-04-01 00:00:00'::timestamp without time zone))"}]}]}]}, {"Node Type": "Index Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Scan Direction": "Forward", "Index Name": "s_sk", "Relation Name": "supplier", "Schema": "public", "Alias": "supplier", "Startup Cost": 0.29, "Total Cost": 405.39, "Plan Rows": 10000, "Plan Width": 71, "Actual Startup Time": 0.012, "Actual Total Time": 2.435, "Actual Rows": 9493, "Actual Loops": 1, "Output": ["supplier.s_suppkey", "supplier.s_name", "supplier.s_address", "supplier.s_nationkey", "supplier.s_phone", "supplier.s_acctbal", "supplier.s_comment"]}, {"Node Type": "Sort", "Parent Relationship": "Inner", "Parallel Aware": false, "Startup Cost": 122593.7, "Total Cost": 122593.82, "Plan Rows": 50, "Plan Width": 36, "Actual Startup Time": 766.848, "Actual Total Time": 766.85, "Actual Rows": 1, "Actual Loops": 1, "Output": ["revenue0.total_revenue", "revenue0.supplier_no"], "Sort Key": ["revenue0.supplier_no"], "Sort Method": "quicksort", "Sort Space Used": 25, "Sort Space Type": "Memory", "Plans": [{"Node Type": "Subquery Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Alias": "revenue0", "Startup Cost": 122416.79, "Total Cost": 122592.29, "Plan Rows": 50, "Plan Width": 36, "Actual Startup Time": 761.492, "Actual Total Time": 766.843, "Actual Rows": 1, "Actual Loops": 1, "Output": ["revenue0.total_revenue", "revenue0.supplier_no"], "Plans": [{"Node Type": "Aggregate", "Strategy": "Hashed", "Partial Mode": "Simple", "Parent Relationship": "Subquery", "Parallel Aware": false, "Startup Cost": 122416.79, "Total Cost": 122591.79, "Plan Rows": 50, "Plan Width": 36, "Actual Startup Time": 761.489, "Actual Total Time": 766.84, "Actual Rows": 1, "Actual Loops": 1, "Output": ["lineitem.l_suppkey", "sum((lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount)))"], "Group Key": ["lineitem.l_suppkey"], "Filter": "(sum((lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount))) = $0)", "Rows Removed by Filter": 9999, "Plans": [{"Node Type": "Bitmap Heap Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Relation Name": "lineitem", "Schema": "public", "Alias": "lineitem", "Startup Cost": 2968.23, "Total Cost": 118502.93, "Plan Rows": 223649, "Plan Width": 16, "Actual Startup Time": 52.341, "Actual Total Time": 190.981, "Actual Rows": 225253, "Actual Loops": 1, "Output": ["lineitem.l_orderkey", "lineitem.l_partkey", "lineitem.l_suppkey", "lineitem.l_linenumber", "lineitem.l_quantity", "lineitem.l_extendedprice", "lineitem.l_discount", "lineitem.l_tax", "lineitem.l_returnflag", "lineitem.l_linestatus", "lineitem.l_shipdate", "lineitem.l_commitdate", "lineitem.l_receiptdate", "lineitem.l_shipinstruct", "lineitem.l_shipmode", "lineitem.l_comment"], "Recheck Cond": "((lineitem.l_shipdate >= '1995-01-01'::date) AND (lineitem.l_shipdate < '1995-04-01 00:00:00'::timestamp without time zone))", "Rows Removed by Index Recheck": 0, "Exact Heap Blocks": 66731, "Lossy Heap Blocks": 0, "Plans": [{"Node Type": "Bitmap Index Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Index Name": "l_sd", "Startup Cost": 0.0, "Total Cost": 2912.32, "Plan Rows": 223649, "Plan Width": 0, "Actual Startup Time": 33.931, "Actual Total Time": 33.932, "Actual Rows": 225253, "Actual Loops": 1, "Index Cond": "((lineitem.l_shipdate >= '1995-01-01'::date) AND (lineitem.l_shipdate < '1995-04-01 00:00:00'::timestamp without time zone))"}]}]}]}]}]}, "Planning Time": 0.384, "Triggers": [], "Execution Time": 770.301} diff --git a/dev9/pg11/tpch/sf_1/explain_analyze/15721/15-3.ok b/dev9/pg11/tpch/sf_1/explain_analyze/15721/15-3.ok new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/dev9/pg11/tpch/sf_1/explain_analyze/15721/15-3.res b/dev9/pg11/tpch/sf_1/explain_analyze/15721/15-3.res new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/dev9/pg11/tpch/sf_1/explain_analyze/15721/16-1.ok b/dev9/pg11/tpch/sf_1/explain_analyze/15721/16-1.ok new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/dev9/pg11/tpch/sf_1/explain_analyze/15721/16-1.res b/dev9/pg11/tpch/sf_1/explain_analyze/15721/16-1.res new file mode 100644 index 0000000000000000000000000000000000000000..aa7cb9c20f2333a32ab4dbf7f33b7ecfaf35964a --- /dev/null +++ b/dev9/pg11/tpch/sf_1/explain_analyze/15721/16-1.res @@ -0,0 +1 @@ +{"Plan": {"Node Type": "Sort", "Parallel Aware": false, "Startup Cost": 29617.64, "Total Cost": 29657.74, "Plan Rows": 16041, "Plan Width": 44, "Actual Startup Time": 609.535, "Actual Total Time": 611.516, "Actual Rows": 18263, "Actual Loops": 1, "Output": ["part.p_brand", "part.p_type", "part.p_size", "(count(DISTINCT partsupp.ps_suppkey))"], "Sort Key": ["(count(DISTINCT partsupp.ps_suppkey)) DESC", "part.p_brand", "part.p_type", "part.p_size"], "Sort Method": "quicksort", "Sort Space Used": 2211, "Sort Space Type": "Memory", "Plans": [{"Node Type": "Aggregate", "Strategy": "Sorted", "Partial Mode": "Simple", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 27589.11, "Total Cost": 28497.22, "Plan Rows": 16041, "Plan Width": 44, "Actual Startup Time": 480.649, "Actual Total Time": 545.119, "Actual Rows": 18263, "Actual Loops": 1, "Output": ["part.p_brand", "part.p_type", "part.p_size", "count(DISTINCT partsupp.ps_suppkey)"], "Group Key": ["part.p_brand", "part.p_type", "part.p_size"], "Plans": [{"Node Type": "Sort", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 27589.11, "Total Cost": 27738.65, "Plan Rows": 59816, "Plan Width": 40, "Actual Startup Time": 480.626, "Actual Total Time": 494.377, "Actual Rows": 119250, "Actual Loops": 1, "Output": ["part.p_brand", "part.p_type", "part.p_size", "partsupp.ps_suppkey"], "Sort Key": ["part.p_brand", "part.p_type", "part.p_size"], "Sort Method": "quicksort", "Sort Space Used": 12389, "Sort Space Type": "Memory", "Plans": [{"Node Type": "Gather", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 7683.54, "Total Cost": 22843.24, "Plan Rows": 59816, "Plan Width": 40, "Actual Startup Time": 27.268, "Actual Total Time": 99.833, "Actual Rows": 119250, "Actual Loops": 1, "Output": ["part.p_brand", "part.p_type", "part.p_size", "partsupp.ps_suppkey"], "Workers Planned": 4, "Workers Launched": 4, "Single Copy": false, "Plans": [{"Node Type": "Hash Join", "Parent Relationship": "Outer", "Parallel Aware": true, "Join Type": "Inner", "Startup Cost": 6683.54, "Total Cost": 15861.64, "Plan Rows": 14954, "Plan Width": 40, "Actual Startup Time": 23.912, "Actual Total Time": 85.569, "Actual Rows": 23850, "Actual Loops": 5, "Output": ["part.p_brand", "part.p_type", "part.p_size", "partsupp.ps_suppkey"], "Inner Unique": true, "Hash Cond": "(partsupp.ps_partkey = part.p_partkey)", "Workers": [{"Worker Number": 0, "Actual Startup Time": 22.987, "Actual Total Time": 93.106, "Actual Rows": 27002, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 23.097, "Actual Total Time": 92.947, "Actual Rows": 27294, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 23.21, "Actual Total Time": 92.701, "Actual Rows": 26959, "Actual Loops": 1}, {"Worker Number": 3, "Actual Startup Time": 23.395, "Actual Total Time": 93.341, "Actual Rows": 27540, "Actual Loops": 1}], "Plans": [{"Node Type": "Index Only Scan", "Parent Relationship": "Outer", "Parallel Aware": true, "Scan Direction": "Forward", "Index Name": "ps_pk_sk", "Relation Name": "partsupp", "Schema": "public", "Alias": "partsupp", "Startup Cost": 347.43, "Total Cost": 9263.03, "Plan Rows": 100000, "Plan Width": 8, "Actual Startup Time": 4.157, "Actual Total Time": 40.705, "Actual Rows": 159936, "Actual Loops": 5, "Output": ["partsupp.ps_partkey", "partsupp.ps_suppkey"], "Filter": "(NOT (hashed SubPlan 1))", "Rows Removed by Filter": 64, "Heap Fetches": 0, "Workers": [{"Worker Number": 0, "Actual Startup Time": 4.276, "Actual Total Time": 46.043, "Actual Rows": 182549, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 4.278, "Actual Total Time": 45.889, "Actual Rows": 182576, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 4.29, "Actual Total Time": 45.889, "Actual Rows": 181834, "Actual Loops": 1}, {"Worker Number": 3, "Actual Startup Time": 4.281, "Actual Total Time": 46.025, "Actual Rows": 182847, "Actual Loops": 1}], "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "SubPlan", "Subplan Name": "SubPlan 1", "Parallel Aware": false, "Relation Name": "supplier", "Schema": "public", "Alias": "supplier", "Startup Cost": 0.0, "Total Cost": 347.0, "Plan Rows": 1, "Plan Width": 4, "Actual Startup Time": 0.144, "Actual Total Time": 4.025, "Actual Rows": 4, "Actual Loops": 5, "Output": ["supplier.s_suppkey"], "Filter": "((supplier.s_comment)::text ~~ '%Customer%Complaints%'::text)", "Rows Removed by Filter": 9996, "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.144, "Actual Total Time": 4.084, "Actual Rows": 4, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 0.136, "Actual Total Time": 4.14, "Actual Rows": 4, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 0.171, "Actual Total Time": 4.209, "Actual Rows": 4, "Actual Loops": 1}, {"Worker Number": 3, "Actual Startup Time": 0.141, "Actual Total Time": 4.18, "Actual Rows": 4, "Actual Loops": 1}]}]}, {"Node Type": "Hash", "Parent Relationship": "Inner", "Parallel Aware": true, "Startup Cost": 6180.33, "Total Cost": 6180.33, "Plan Rows": 12462, "Plan Width": 40, "Actual Startup Time": 19.526, "Actual Total Time": 19.527, "Actual Rows": 5965, "Actual Loops": 5, "Output": ["part.p_brand", "part.p_type", "part.p_size", "part.p_partkey"], "Hash Buckets": 32768, "Original Hash Buckets": 32768, "Hash Batches": 1, "Original Hash Batches": 1, "Peak Memory Usage": 2560, "Workers": [{"Worker Number": 0, "Actual Startup Time": 18.546, "Actual Total Time": 18.547, "Actual Rows": 5301, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 18.716, "Actual Total Time": 18.718, "Actual Rows": 5341, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 18.796, "Actual Total Time": 18.797, "Actual Rows": 5371, "Actual Loops": 1}, {"Worker Number": 3, "Actual Startup Time": 19.004, "Actual Total Time": 19.005, "Actual Rows": 5833, "Actual Loops": 1}], "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": true, "Relation Name": "part", "Schema": "public", "Alias": "part", "Startup Cost": 0.0, "Total Cost": 6180.33, "Plan Rows": 12462, "Plan Width": 40, "Actual Startup Time": 0.026, "Actual Total Time": 16.245, "Actual Rows": 5965, "Actual Loops": 5, "Output": ["part.p_brand", "part.p_type", "part.p_size", "part.p_partkey"], "Filter": "((part.p_brand <> 'Brand#11'::bpchar) AND ((part.p_type)::text !~~ 'ECONOMY ANODIZED%'::text) AND (part.p_size = ANY ('{42,16,39,18,23,32,44,41}'::integer[])))", "Rows Removed by Filter": 34035, "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.031, "Actual Total Time": 15.277, "Actual Rows": 5301, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 0.029, "Actual Total Time": 15.459, "Actual Rows": 5341, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 0.029, "Actual Total Time": 15.501, "Actual Rows": 5371, "Actual Loops": 1}, {"Worker Number": 3, "Actual Startup Time": 0.027, "Actual Total Time": 16.135, "Actual Rows": 5833, "Actual Loops": 1}]}]}]}]}]}]}]}, "Planning Time": 0.66, "Triggers": [], "Execution Time": 612.311} diff --git a/dev9/pg11/tpch/sf_1/explain_analyze/15721/17-1.ok b/dev9/pg11/tpch/sf_1/explain_analyze/15721/17-1.ok new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/dev9/pg11/tpch/sf_1/explain_analyze/15721/17-1.res b/dev9/pg11/tpch/sf_1/explain_analyze/15721/17-1.res new file mode 100644 index 0000000000000000000000000000000000000000..ca22dfe375896dcd40c9bbe622f450bf0e89e910 --- /dev/null +++ b/dev9/pg11/tpch/sf_1/explain_analyze/15721/17-1.res @@ -0,0 +1 @@ +{"Plan": {"Node Type": "Aggregate", "Strategy": "Plain", "Partial Mode": "Simple", "Parallel Aware": false, "Startup Cost": 195005.1, "Total Cost": 195005.12, "Plan Rows": 1, "Plan Width": 32, "Actual Startup Time": 1652.627, "Actual Total Time": 1652.716, "Actual Rows": 1, "Actual Loops": 1, "Output": ["(sum(lineitem.l_extendedprice) / 7.0)"], "Plans": [{"Node Type": "Hash Join", "Parent Relationship": "Outer", "Parallel Aware": false, "Join Type": "Inner", "Startup Cost": 6369.05, "Total Cost": 195000.2, "Plan Rows": 1960, "Plan Width": 8, "Actual Startup Time": 20.556, "Actual Total Time": 1652.511, "Actual Rows": 588, "Actual Loops": 1, "Output": ["lineitem.l_extendedprice"], "Inner Unique": true, "Hash Cond": "(lineitem.l_partkey = part.p_partkey)", "Join Filter": "(lineitem.l_quantity < (SubPlan 1))", "Rows Removed by Join Filter": 6005, "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Relation Name": "lineitem", "Schema": "public", "Alias": "lineitem", "Startup Cost": 0.0, "Total Cost": 172515.15, "Plan Rows": 6001215, "Plan Width": 17, "Actual Startup Time": 0.005, "Actual Total Time": 483.202, "Actual Rows": 6001215, "Actual Loops": 1, "Output": ["lineitem.l_orderkey", "lineitem.l_partkey", "lineitem.l_suppkey", "lineitem.l_linenumber", "lineitem.l_quantity", "lineitem.l_extendedprice", "lineitem.l_discount", "lineitem.l_tax", "lineitem.l_returnflag", "lineitem.l_linestatus", "lineitem.l_shipdate", "lineitem.l_commitdate", "lineitem.l_receiptdate", "lineitem.l_shipinstruct", "lineitem.l_shipmode", "lineitem.l_comment"]}, {"Node Type": "Hash", "Parent Relationship": "Inner", "Parallel Aware": false, "Startup Cost": 6366.6, "Total Cost": 6366.6, "Plan Rows": 196, "Plan Width": 4, "Actual Startup Time": 17.815, "Actual Total Time": 17.902, "Actual Rows": 222, "Actual Loops": 1, "Output": ["part.p_partkey"], "Hash Buckets": 1024, "Original Hash Buckets": 1024, "Hash Batches": 1, "Original Hash Batches": 1, "Peak Memory Usage": 16, "Plans": [{"Node Type": "Gather", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 1000.0, "Total Cost": 6366.6, "Plan Rows": 196, "Plan Width": 4, "Actual Startup Time": 0.616, "Actual Total Time": 17.862, "Actual Rows": 222, "Actual Loops": 1, "Output": ["part.p_partkey"], "Workers Planned": 2, "Workers Launched": 2, "Single Copy": false, "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": true, "Relation Name": "part", "Schema": "public", "Alias": "part", "Startup Cost": 0.0, "Total Cost": 5347.0, "Plan Rows": 82, "Plan Width": 4, "Actual Startup Time": 0.172, "Actual Total Time": 15.298, "Actual Rows": 74, "Actual Loops": 3, "Output": ["part.p_partkey"], "Filter": "((part.p_brand = 'Brand#14'::bpchar) AND (part.p_container = 'WRAP BOX'::bpchar))", "Rows Removed by Filter": 66593, "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.069, "Actual Total Time": 14.036, "Actual Rows": 57, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 0.037, "Actual Total Time": 14.409, "Actual Rows": 76, "Actual Loops": 1}]}]}]}, {"Node Type": "Aggregate", "Strategy": "Plain", "Partial Mode": "Simple", "Parent Relationship": "SubPlan", "Subplan Name": "SubPlan 1", "Parallel Aware": false, "Startup Cost": 36.25, "Total Cost": 36.27, "Plan Rows": 1, "Plan Width": 32, "Actual Startup Time": 0.033, "Actual Total Time": 0.033, "Actual Rows": 1, "Actual Loops": 6593, "Output": ["(0.2 * avg(lineitem_1.l_quantity))"], "Plans": [{"Node Type": "Index Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Scan Direction": "Forward", "Index Name": "l_pk", "Relation Name": "lineitem", "Schema": "public", "Alias": "lineitem_1", "Startup Cost": 0.43, "Total Cost": 36.17, "Plan Rows": 31, "Plan Width": 5, "Actual Startup Time": 0.004, "Actual Total Time": 0.026, "Actual Rows": 31, "Actual Loops": 6593, "Output": ["lineitem_1.l_orderkey", "lineitem_1.l_partkey", "lineitem_1.l_suppkey", "lineitem_1.l_linenumber", "lineitem_1.l_quantity", "lineitem_1.l_extendedprice", "lineitem_1.l_discount", "lineitem_1.l_tax", "lineitem_1.l_returnflag", "lineitem_1.l_linestatus", "lineitem_1.l_shipdate", "lineitem_1.l_commitdate", "lineitem_1.l_receiptdate", "lineitem_1.l_shipinstruct", "lineitem_1.l_shipmode", "lineitem_1.l_comment"], "Index Cond": "(lineitem_1.l_partkey = part.p_partkey)", "Rows Removed by Index Recheck": 0}]}]}]}, "Planning Time": 0.353, "Triggers": [], "Execution Time": 1652.766} diff --git a/dev9/pg11/tpch/sf_1/explain_analyze/15721/18-1.ok b/dev9/pg11/tpch/sf_1/explain_analyze/15721/18-1.ok new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/dev9/pg11/tpch/sf_1/explain_analyze/15721/18-1.res b/dev9/pg11/tpch/sf_1/explain_analyze/15721/18-1.res new file mode 100644 index 0000000000000000000000000000000000000000..5fd041e17261101bb7b3dbe688dbad78d7c72a7e --- /dev/null +++ b/dev9/pg11/tpch/sf_1/explain_analyze/15721/18-1.res @@ -0,0 +1 @@ +{"Plan": {"Node Type": "Limit", "Parallel Aware": false, "Startup Cost": 756360.29, "Total Cost": 756360.54, "Plan Rows": 100, "Plan Width": 71, "Actual Startup Time": 3879.693, "Actual Total Time": 3926.383, "Actual Rows": 9, "Actual Loops": 1, "Output": ["customer.c_name", "customer.c_custkey", "orders.o_orderkey", "orders.o_orderdate", "orders.o_totalprice", "(sum(lineitem.l_quantity))"], "Plans": [{"Node Type": "Sort", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 756360.29, "Total Cost": 760411.97, "Plan Rows": 1620672, "Plan Width": 71, "Actual Startup Time": 3879.691, "Actual Total Time": 3926.379, "Actual Rows": 9, "Actual Loops": 1, "Output": ["customer.c_name", "customer.c_custkey", "orders.o_orderkey", "orders.o_orderdate", "orders.o_totalprice", "(sum(lineitem.l_quantity))"], "Sort Key": ["orders.o_totalprice DESC", "orders.o_orderdate"], "Sort Method": "quicksort", "Sort Space Used": 25, "Sort Space Type": "Memory", "Plans": [{"Node Type": "Aggregate", "Strategy": "Sorted", "Partial Mode": "Finalize", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 462428.19, "Total Cost": 694419.37, "Plan Rows": 1620672, "Plan Width": 71, "Actual Startup Time": 3879.651, "Actual Total Time": 3926.364, "Actual Rows": 9, "Actual Loops": 1, "Output": ["customer.c_name", "customer.c_custkey", "orders.o_orderkey", "orders.o_orderdate", "orders.o_totalprice", "sum(lineitem.l_quantity)"], "Group Key": ["customer.c_custkey", "orders.o_orderkey"], "Plans": [{"Node Type": "Gather Merge", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 462428.19, "Total Cost": 658477.06, "Plan Rows": 1568391, "Plan Width": 71, "Actual Startup Time": 3879.625, "Actual Total Time": 3926.341, "Actual Rows": 9, "Actual Loops": 1, "Output": ["customer.c_custkey", "orders.o_orderkey", "customer.c_name", "orders.o_orderdate", "orders.o_totalprice", "(PARTIAL sum(lineitem.l_quantity))"], "Workers Planned": 3, "Workers Launched": 3, "Plans": [{"Node Type": "Aggregate", "Strategy": "Sorted", "Partial Mode": "Partial", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 461428.15, "Total Cost": 473191.08, "Plan Rows": 522797, "Plan Width": 71, "Actual Startup Time": 3744.811, "Actual Total Time": 3744.829, "Actual Rows": 2, "Actual Loops": 4, "Output": ["customer.c_custkey", "orders.o_orderkey", "customer.c_name", "orders.o_orderdate", "orders.o_totalprice", "PARTIAL sum(lineitem.l_quantity)"], "Group Key": ["customer.c_custkey", "orders.o_orderkey"], "Workers": [{"Worker Number": 0, "Actual Startup Time": 3874.131, "Actual Total Time": 3874.142, "Actual Rows": 0, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 3874.801, "Actual Total Time": 3874.812, "Actual Rows": 0, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 3613.257, "Actual Total Time": 3613.269, "Actual Rows": 2, "Actual Loops": 1}], "Plans": [{"Node Type": "Sort", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 461428.15, "Total Cost": 462735.14, "Plan Rows": 522797, "Plan Width": 44, "Actual Startup Time": 3744.802, "Actual Total Time": 3744.813, "Actual Rows": 16, "Actual Loops": 4, "Output": ["customer.c_custkey", "orders.o_orderkey", "customer.c_name", "orders.o_orderdate", "orders.o_totalprice", "lineitem.l_quantity"], "Sort Key": ["customer.c_custkey", "orders.o_orderkey"], "Sort Method": "quicksort", "Sort Space Used": 28, "Sort Space Type": "Memory", "Workers": [{"Worker Number": 0, "Actual Startup Time": 3874.13, "Actual Total Time": 3874.14, "Actual Rows": 0, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 3874.8, "Actual Total Time": 3874.81, "Actual Rows": 0, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 3613.236, "Actual Total Time": 3613.245, "Actual Rows": 14, "Actual Loops": 1}], "Plans": [{"Node Type": "Nested Loop", "Parent Relationship": "Outer", "Parallel Aware": false, "Join Type": "Inner", "Startup Cost": 282965.51, "Total Cost": 402353.42, "Plan Rows": 522797, "Plan Width": 44, "Actual Startup Time": 3658.319, "Actual Total Time": 3744.775, "Actual Rows": 16, "Actual Loops": 4, "Output": ["customer.c_custkey", "orders.o_orderkey", "customer.c_name", "orders.o_orderdate", "orders.o_totalprice", "lineitem.l_quantity"], "Inner Unique": false, "Workers": [{"Worker Number": 0, "Actual Startup Time": 3874.093, "Actual Total Time": 3874.103, "Actual Rows": 0, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 3874.764, "Actual Total Time": 3874.773, "Actual Rows": 0, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 3563.42, "Actual Total Time": 3613.201, "Actual Rows": 14, "Actual Loops": 1}], "Plans": [{"Node Type": "Hash Join", "Parent Relationship": "Outer", "Parallel Aware": true, "Join Type": "Inner", "Startup Cost": 282965.08, "Total Cost": 315511.98, "Plan Rows": 130673, "Plan Width": 43, "Actual Startup Time": 3658.299, "Actual Total Time": 3744.72, "Actual Rows": 2, "Actual Loops": 4, "Output": ["customer.c_name", "customer.c_custkey", "orders.o_orderkey", "orders.o_orderdate", "orders.o_totalprice", "lineitem_1.l_orderkey"], "Inner Unique": true, "Hash Cond": "(orders.o_custkey = customer.c_custkey)", "Workers": [{"Worker Number": 0, "Actual Startup Time": 3874.091, "Actual Total Time": 3874.1, "Actual Rows": 0, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 3874.762, "Actual Total Time": 3874.77, "Actual Rows": 0, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 3563.373, "Actual Total Time": 3613.132, "Actual Rows": 2, "Actual Loops": 1}], "Plans": [{"Node Type": "Hash Join", "Parent Relationship": "Outer", "Parallel Aware": false, "Join Type": "Inner", "Startup Cost": 277973.83, "Total Cost": 310177.7, "Plan Rows": 130673, "Plan Width": 24, "Actual Startup Time": 3629.005, "Actual Total Time": 3715.411, "Actual Rows": 2, "Actual Loops": 4, "Output": ["orders.o_orderkey", "orders.o_orderdate", "orders.o_totalprice", "orders.o_custkey", "lineitem_1.l_orderkey"], "Inner Unique": true, "Hash Cond": "(orders.o_orderkey = lineitem_1.l_orderkey)", "Workers": [{"Worker Number": 0, "Actual Startup Time": 3846.276, "Actual Total Time": 3846.281, "Actual Rows": 0, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 3846.27, "Actual Total Time": 3846.274, "Actual Rows": 0, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 3534.853, "Actual Total Time": 3584.601, "Actual Rows": 2, "Actual Loops": 1}], "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": true, "Relation Name": "orders", "Schema": "public", "Alias": "orders", "Startup Cost": 0.0, "Total Cost": 30933.71, "Plan Rows": 483871, "Plan Width": 20, "Actual Startup Time": 0.014, "Actual Total Time": 31.326, "Actual Rows": 375000, "Actual Loops": 4, "Output": ["orders.o_orderkey", "orders.o_custkey", "orders.o_orderstatus", "orders.o_totalprice", "orders.o_orderdate", "orders.o_orderpriority", "orders.o_clerk", "orders.o_shippriority", "orders.o_comment"], "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.017, "Actual Total Time": 0.027, "Actual Rows": 56, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 0.018, "Actual Total Time": 0.027, "Actual Rows": 59, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 0.016, "Actual Total Time": 18.231, "Actual Rows": 193434, "Actual Loops": 1}]}, {"Node Type": "Hash", "Parent Relationship": "Inner", "Parallel Aware": false, "Startup Cost": 272910.26, "Total Cost": 272910.26, "Plan Rows": 405086, "Plan Width": 4, "Actual Startup Time": 3598.82, "Actual Total Time": 3598.821, "Actual Rows": 9, "Actual Loops": 4, "Output": ["lineitem_1.l_orderkey"], "Hash Buckets": 524288, "Original Hash Buckets": 524288, "Hash Batches": 1, "Original Hash Batches": 1, "Peak Memory Usage": 4097, "Workers": [{"Worker Number": 0, "Actual Startup Time": 3842.665, "Actual Total Time": 3842.666, "Actual Rows": 9, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 3842.639, "Actual Total Time": 3842.64, "Actual Rows": 9, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 3517.486, "Actual Total Time": 3517.488, "Actual Rows": 9, "Actual Loops": 1}], "Plans": [{"Node Type": "Aggregate", "Strategy": "Sorted", "Partial Mode": "Simple", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 0.43, "Total Cost": 268859.4, "Plan Rows": 405086, "Plan Width": 4, "Actual Startup Time": 841.026, "Actual Total Time": 3598.775, "Actual Rows": 9, "Actual Loops": 4, "Output": ["lineitem_1.l_orderkey"], "Group Key": ["lineitem_1.l_orderkey"], "Filter": "(sum(lineitem_1.l_quantity) > '314'::numeric)", "Rows Removed by Filter": 1499991, "Workers": [{"Worker Number": 0, "Actual Startup Time": 898.291, "Actual Total Time": 3842.613, "Actual Rows": 9, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 898.265, "Actual Total Time": 3842.587, "Actual Rows": 9, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 898.275, "Actual Total Time": 3517.427, "Actual Rows": 9, "Actual Loops": 1}], "Plans": [{"Node Type": "Index Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Scan Direction": "Forward", "Index Name": "l_ok", "Relation Name": "lineitem", "Schema": "public", "Alias": "lineitem_1", "Startup Cost": 0.43, "Total Cost": 220624.47, "Plan Rows": 6001215, "Plan Width": 9, "Actual Startup Time": 0.047, "Actual Total Time": 1776.663, "Actual Rows": 6001215, "Actual Loops": 4, "Output": ["lineitem_1.l_orderkey", "lineitem_1.l_partkey", "lineitem_1.l_suppkey", "lineitem_1.l_linenumber", "lineitem_1.l_quantity", "lineitem_1.l_extendedprice", "lineitem_1.l_discount", "lineitem_1.l_tax", "lineitem_1.l_returnflag", "lineitem_1.l_linestatus", "lineitem_1.l_shipdate", "lineitem_1.l_commitdate", "lineitem_1.l_receiptdate", "lineitem_1.l_shipinstruct", "lineitem_1.l_shipmode", "lineitem_1.l_comment"], "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.06, "Actual Total Time": 2024.874, "Actual Rows": 6001215, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 0.062, "Actual Total Time": 2022.965, "Actual Rows": 6001215, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 0.053, "Actual Total Time": 1683.903, "Actual Rows": 6001215, "Actual Loops": 1}]}]}]}]}, {"Node Type": "Hash", "Parent Relationship": "Inner", "Parallel Aware": true, "Startup Cost": 4210.0, "Total Cost": 4210.0, "Plan Rows": 62500, "Plan Width": 23, "Actual Startup Time": 28.551, "Actual Total Time": 28.553, "Actual Rows": 37500, "Actual Loops": 4, "Output": ["customer.c_name", "customer.c_custkey"], "Hash Buckets": 262144, "Original Hash Buckets": 262144, "Hash Batches": 1, "Original Hash Batches": 1, "Peak Memory Usage": 10336, "Workers": [{"Worker Number": 0, "Actual Startup Time": 27.759, "Actual Total Time": 27.761, "Actual Rows": 34716, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 27.973, "Actual Total Time": 27.975, "Actual Rows": 35164, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 28.431, "Actual Total Time": 28.433, "Actual Rows": 35489, "Actual Loops": 1}], "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": true, "Relation Name": "customer", "Schema": "public", "Alias": "customer", "Startup Cost": 0.0, "Total Cost": 4210.0, "Plan Rows": 62500, "Plan Width": 23, "Actual Startup Time": 0.02, "Actual Total Time": 10.687, "Actual Rows": 37500, "Actual Loops": 4, "Output": ["customer.c_name", "customer.c_custkey"], "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.026, "Actual Total Time": 10.539, "Actual Rows": 34716, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 0.024, "Actual Total Time": 10.683, "Actual Rows": 35164, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 0.023, "Actual Total Time": 10.757, "Actual Rows": 35489, "Actual Loops": 1}]}]}]}, {"Node Type": "Index Scan", "Parent Relationship": "Inner", "Parallel Aware": false, "Scan Direction": "Forward", "Index Name": "l_ok", "Relation Name": "lineitem", "Schema": "public", "Alias": "lineitem", "Startup Cost": 0.43, "Total Cost": 0.61, "Plan Rows": 5, "Plan Width": 9, "Actual Startup Time": 0.015, "Actual Total Time": 0.017, "Actual Rows": 7, "Actual Loops": 9, "Output": ["lineitem.l_orderkey", "lineitem.l_partkey", "lineitem.l_suppkey", "lineitem.l_linenumber", "lineitem.l_quantity", "lineitem.l_extendedprice", "lineitem.l_discount", "lineitem.l_tax", "lineitem.l_returnflag", "lineitem.l_linestatus", "lineitem.l_shipdate", "lineitem.l_commitdate", "lineitem.l_receiptdate", "lineitem.l_shipinstruct", "lineitem.l_shipmode", "lineitem.l_comment"], "Index Cond": "(lineitem.l_orderkey = orders.o_orderkey)", "Rows Removed by Index Recheck": 0, "Workers": [{"Worker Number": 2, "Actual Startup Time": 0.021, "Actual Total Time": 0.023, "Actual Rows": 7, "Actual Loops": 2}]}]}]}]}]}]}]}]}, "Planning Time": 1.059, "Triggers": [], "Execution Time": 3926.471} diff --git a/dev9/pg11/tpch/sf_1/explain_analyze/15721/19-1.ok b/dev9/pg11/tpch/sf_1/explain_analyze/15721/19-1.ok new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/dev9/pg11/tpch/sf_1/explain_analyze/15721/19-1.res b/dev9/pg11/tpch/sf_1/explain_analyze/15721/19-1.res new file mode 100644 index 0000000000000000000000000000000000000000..7c10d48d5ce88622977948becb7ccf1c969a3517 --- /dev/null +++ b/dev9/pg11/tpch/sf_1/explain_analyze/15721/19-1.res @@ -0,0 +1 @@ +{"Plan": {"Node Type": "Aggregate", "Strategy": "Plain", "Partial Mode": "Finalize", "Parallel Aware": false, "Startup Cost": 15853.9, "Total Cost": 15853.91, "Plan Rows": 1, "Plan Width": 32, "Actual Startup Time": 45.812, "Actual Total Time": 55.369, "Actual Rows": 1, "Actual Loops": 1, "Output": ["sum((lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount)))"], "Plans": [{"Node Type": "Gather", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 15853.68, "Total Cost": 15853.89, "Plan Rows": 2, "Plan Width": 32, "Actual Startup Time": 45.566, "Actual Total Time": 55.356, "Actual Rows": 3, "Actual Loops": 1, "Output": ["(PARTIAL sum((lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount))))"], "Workers Planned": 2, "Workers Launched": 2, "Single Copy": false, "Plans": [{"Node Type": "Aggregate", "Strategy": "Plain", "Partial Mode": "Partial", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 14853.68, "Total Cost": 14853.69, "Plan Rows": 1, "Plan Width": 32, "Actual Startup Time": 41.585, "Actual Total Time": 41.586, "Actual Rows": 1, "Actual Loops": 3, "Output": ["PARTIAL sum((lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount)))"], "Workers": [{"Worker Number": 0, "Actual Startup Time": 39.772, "Actual Total Time": 39.774, "Actual Rows": 1, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 39.96, "Actual Total Time": 39.961, "Actual Rows": 1, "Actual Loops": 1}], "Plans": [{"Node Type": "Nested Loop", "Parent Relationship": "Outer", "Parallel Aware": false, "Join Type": "Inner", "Startup Cost": 0.43, "Total Cost": 14853.32, "Plan Rows": 47, "Plan Width": 12, "Actual Startup Time": 1.95, "Actual Total Time": 41.551, "Actual Rows": 35, "Actual Loops": 3, "Output": ["lineitem.l_extendedprice", "lineitem.l_discount"], "Inner Unique": false, "Workers": [{"Worker Number": 0, "Actual Startup Time": 2.098, "Actual Total Time": 39.749, "Actual Rows": 20, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 2.823, "Actual Total Time": 39.927, "Actual Rows": 32, "Actual Loops": 1}], "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": true, "Relation Name": "part", "Schema": "public", "Alias": "part", "Startup Cost": 0.0, "Total Cost": 7638.67, "Plan Rows": 200, "Plan Width": 30, "Actual Startup Time": 0.119, "Actual Total Time": 21.571, "Actual Rows": 143, "Actual Loops": 3, "Output": ["part.p_partkey", "part.p_name", "part.p_mfgr", "part.p_brand", "part.p_type", "part.p_size", "part.p_container", "part.p_retailprice", "part.p_comment"], "Filter": "((part.p_size >= 1) AND (((part.p_brand = 'Brand#52'::bpchar) AND (part.p_container = ANY ('{\"SM CASE\",\"SM BOX\",\"SM PACK\",\"SM PKG\"}'::bpchar[])) AND (part.p_size <= 5)) OR ((part.p_brand = 'Brand#42'::bpchar) AND (part.p_container = ANY ('{\"MED BAG\",\"MED BOX\",\"MED PKG\",\"MED PACK\"}'::bpchar[])) AND (part.p_size <= 10)) OR ((part.p_brand = 'Brand#23'::bpchar) AND (part.p_container = ANY ('{\"LG CASE\",\"LG BOX\",\"LG PACK\",\"LG PKG\"}'::bpchar[])) AND (part.p_size <= 15))))", "Rows Removed by Filter": 66524, "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.037, "Actual Total Time": 16.703, "Actual Rows": 103, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 0.286, "Actual Total Time": 15.18, "Actual Rows": 111, "Actual Loops": 1}]}, {"Node Type": "Index Scan", "Parent Relationship": "Inner", "Parallel Aware": false, "Scan Direction": "Forward", "Index Name": "l_pk", "Relation Name": "lineitem", "Schema": "public", "Alias": "lineitem", "Startup Cost": 0.43, "Total Cost": 36.06, "Plan Rows": 1, "Plan Width": 21, "Actual Startup Time": 0.125, "Actual Total Time": 0.14, "Actual Rows": 0, "Actual Loops": 428, "Output": ["lineitem.l_orderkey", "lineitem.l_partkey", "lineitem.l_suppkey", "lineitem.l_linenumber", "lineitem.l_quantity", "lineitem.l_extendedprice", "lineitem.l_discount", "lineitem.l_tax", "lineitem.l_returnflag", "lineitem.l_linestatus", "lineitem.l_shipdate", "lineitem.l_commitdate", "lineitem.l_receiptdate", "lineitem.l_shipinstruct", "lineitem.l_shipmode", "lineitem.l_comment"], "Index Cond": "(lineitem.l_partkey = part.p_partkey)", "Rows Removed by Index Recheck": 0, "Filter": "((lineitem.l_shipmode = ANY ('{AIR,\"AIR REG\"}'::bpchar[])) AND (lineitem.l_shipinstruct = 'DELIVER IN PERSON'::bpchar) AND (((lineitem.l_quantity >= '9'::numeric) AND (lineitem.l_quantity <= '19'::numeric)) OR ((lineitem.l_quantity >= '18'::numeric) AND (lineitem.l_quantity <= '28'::numeric)) OR ((lineitem.l_quantity >= '22'::numeric) AND (lineitem.l_quantity <= '32'::numeric))) AND (((part.p_brand = 'Brand#52'::bpchar) AND (part.p_container = ANY ('{\"SM CASE\",\"SM BOX\",\"SM PACK\",\"SM PKG\"}'::bpchar[])) AND (lineitem.l_quantity >= '9'::numeric) AND (lineitem.l_quantity <= '19'::numeric) AND (part.p_size <= 5)) OR ((part.p_brand = 'Brand#42'::bpchar) AND (part.p_container = ANY ('{\"MED BAG\",\"MED BOX\",\"MED PKG\",\"MED PACK\"}'::bpchar[])) AND (lineitem.l_quantity >= '18'::numeric) AND (lineitem.l_quantity <= '28'::numeric) AND (part.p_size <= 10)) OR ((part.p_brand = 'Brand#23'::bpchar) AND (part.p_container = ANY ('{\"LG CASE\",\"LG BOX\",\"LG PACK\",\"LG PKG\"}'::bpchar[])) AND (lineitem.l_quantity >= '22'::numeric) AND (lineitem.l_quantity <= '32'::numeric) AND (part.p_size <= 15))))", "Rows Removed by Filter": 30, "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.202, "Actual Total Time": 0.223, "Actual Rows": 0, "Actual Loops": 103}, {"Worker Number": 1, "Actual Startup Time": 0.197, "Actual Total Time": 0.222, "Actual Rows": 0, "Actual Loops": 111}]}]}]}]}]}, "Planning Time": 0.634, "Triggers": [], "Execution Time": 55.427} diff --git a/dev9/pg11/tpch/sf_1/explain_analyze/15721/2-1.ok b/dev9/pg11/tpch/sf_1/explain_analyze/15721/2-1.ok new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/dev9/pg11/tpch/sf_1/explain_analyze/15721/2-1.res b/dev9/pg11/tpch/sf_1/explain_analyze/15721/2-1.res new file mode 100644 index 0000000000000000000000000000000000000000..b1e49979671324a26f8b66c157178698c3074104 --- /dev/null +++ b/dev9/pg11/tpch/sf_1/explain_analyze/15721/2-1.res @@ -0,0 +1 @@ +{"Plan": {"Node Type": "Limit", "Parallel Aware": false, "Startup Cost": 32221.98, "Total Cost": 32221.99, "Plan Rows": 1, "Plan Width": 192, "Actual Startup Time": 306.483, "Actual Total Time": 306.574, "Actual Rows": 100, "Actual Loops": 1, "Output": ["supplier.s_acctbal", "supplier.s_name", "nation.n_name", "part.p_partkey", "part.p_mfgr", "supplier.s_address", "supplier.s_phone", "supplier.s_comment"], "Plans": [{"Node Type": "Sort", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 32221.98, "Total Cost": 32221.99, "Plan Rows": 1, "Plan Width": 192, "Actual Startup Time": 306.481, "Actual Total Time": 306.564, "Actual Rows": 100, "Actual Loops": 1, "Output": ["supplier.s_acctbal", "supplier.s_name", "nation.n_name", "part.p_partkey", "part.p_mfgr", "supplier.s_address", "supplier.s_phone", "supplier.s_comment"], "Sort Key": ["supplier.s_acctbal DESC", "nation.n_name", "supplier.s_name", "part.p_partkey"], "Sort Method": "top-N heapsort", "Sort Space Used": 73, "Sort Space Type": "Memory", "Plans": [{"Node Type": "Hash Join", "Parent Relationship": "Outer", "Parallel Aware": false, "Join Type": "Inner", "Startup Cost": 16993.35, "Total Cost": 32221.97, "Plan Rows": 1, "Plan Width": 192, "Actual Startup Time": 258.393, "Actual Total Time": 306.061, "Actual Rows": 509, "Actual Loops": 1, "Output": ["supplier.s_acctbal", "supplier.s_name", "nation.n_name", "part.p_partkey", "part.p_mfgr", "supplier.s_address", "supplier.s_phone", "supplier.s_comment"], "Inner Unique": false, "Hash Cond": "((part.p_partkey = partsupp.ps_partkey) AND ((SubPlan 1) = partsupp.ps_supplycost))", "Plans": [{"Node Type": "Gather", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 1000.0, "Total Cost": 6428.3, "Plan Rows": 813, "Plan Width": 30, "Actual Startup Time": 0.272, "Actual Total Time": 0.633, "Actual Rows": 854, "Actual Loops": 1, "Output": ["part.p_partkey", "part.p_mfgr"], "Workers Planned": 2, "Workers Launched": 2, "Single Copy": false, "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": true, "Relation Name": "part", "Schema": "public", "Alias": "part", "Startup Cost": 0.0, "Total Cost": 5347.0, "Plan Rows": 339, "Plan Width": 30, "Actual Startup Time": 0.053, "Actual Total Time": 21.339, "Actual Rows": 285, "Actual Loops": 3, "Output": ["part.p_partkey", "part.p_mfgr"], "Filter": "(((part.p_type)::text ~~ '%TIN'::text) AND (part.p_size = 44))", "Rows Removed by Filter": 66382, "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.045, "Actual Total Time": 31.979, "Actual Rows": 452, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 0.087, "Actual Total Time": 31.997, "Actual Rows": 401, "Actual Loops": 1}]}]}, {"Node Type": "Hash", "Parent Relationship": "Inner", "Parallel Aware": false, "Startup Cost": 9686.35, "Total Cost": 9686.35, "Plan Rows": 160000, "Plan Width": 172, "Actual Startup Time": 257.623, "Actual Total Time": 257.626, "Actual Rows": 158960, "Actual Loops": 1, "Output": ["supplier.s_acctbal", "supplier.s_name", "supplier.s_address", "supplier.s_phone", "supplier.s_comment", "partsupp.ps_partkey", "partsupp.ps_supplycost", "nation.n_name"], "Hash Buckets": 131072, "Original Hash Buckets": 131072, "Hash Batches": 2, "Original Hash Batches": 2, "Peak Memory Usage": 17198, "Plans": [{"Node Type": "Nested Loop", "Parent Relationship": "Outer", "Parallel Aware": false, "Join Type": "Inner", "Startup Cost": 0.71, "Total Cost": 9686.35, "Plan Rows": 160000, "Plan Width": 172, "Actual Startup Time": 0.059, "Actual Total Time": 173.843, "Actual Rows": 158960, "Actual Loops": 1, "Output": ["supplier.s_acctbal", "supplier.s_name", "supplier.s_address", "supplier.s_phone", "supplier.s_comment", "partsupp.ps_partkey", "partsupp.ps_supplycost", "nation.n_name"], "Inner Unique": false, "Plans": [{"Node Type": "Nested Loop", "Parent Relationship": "Outer", "Parallel Aware": false, "Join Type": "Inner", "Startup Cost": 0.29, "Total Cost": 114.02, "Plan Rows": 2000, "Plan Width": 166, "Actual Startup Time": 0.04, "Actual Total Time": 2.27, "Actual Rows": 1987, "Actual Loops": 1, "Output": ["supplier.s_acctbal", "supplier.s_name", "supplier.s_address", "supplier.s_phone", "supplier.s_comment", "supplier.s_suppkey", "nation.n_name"], "Inner Unique": false, "Plans": [{"Node Type": "Nested Loop", "Parent Relationship": "Outer", "Parallel Aware": false, "Join Type": "Inner", "Startup Cost": 0.0, "Total Cost": 2.62, "Plan Rows": 5, "Plan Width": 30, "Actual Startup Time": 0.016, "Actual Total Time": 0.033, "Actual Rows": 5, "Actual Loops": 1, "Output": ["nation.n_name", "nation.n_nationkey"], "Inner Unique": false, "Join Filter": "(nation.n_regionkey = region.r_regionkey)", "Rows Removed by Join Filter": 20, "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Relation Name": "region", "Schema": "public", "Alias": "region", "Startup Cost": 0.0, "Total Cost": 1.06, "Plan Rows": 1, "Plan Width": 4, "Actual Startup Time": 0.005, "Actual Total Time": 0.007, "Actual Rows": 1, "Actual Loops": 1, "Output": ["region.r_regionkey", "region.r_name", "region.r_comment"], "Filter": "(region.r_name = 'EUROPE'::bpchar)", "Rows Removed by Filter": 4}, {"Node Type": "Seq Scan", "Parent Relationship": "Inner", "Parallel Aware": false, "Relation Name": "nation", "Schema": "public", "Alias": "nation", "Startup Cost": 0.0, "Total Cost": 1.25, "Plan Rows": 25, "Plan Width": 34, "Actual Startup Time": 0.006, "Actual Total Time": 0.012, "Actual Rows": 25, "Actual Loops": 1, "Output": ["nation.n_nationkey", "nation.n_name", "nation.n_regionkey", "nation.n_comment"]}]}, {"Node Type": "Index Scan", "Parent Relationship": "Inner", "Parallel Aware": false, "Scan Direction": "Forward", "Index Name": "s_nk", "Relation Name": "supplier", "Schema": "public", "Alias": "supplier", "Startup Cost": 0.29, "Total Cost": 18.28, "Plan Rows": 400, "Plan Width": 144, "Actual Startup Time": 0.012, "Actual Total Time": 0.285, "Actual Rows": 397, "Actual Loops": 5, "Output": ["supplier.s_suppkey", "supplier.s_name", "supplier.s_address", "supplier.s_nationkey", "supplier.s_phone", "supplier.s_acctbal", "supplier.s_comment"], "Index Cond": "(supplier.s_nationkey = nation.n_nationkey)", "Rows Removed by Index Recheck": 0}]}, {"Node Type": "Index Scan", "Parent Relationship": "Inner", "Parallel Aware": false, "Scan Direction": "Forward", "Index Name": "ps_sk", "Relation Name": "partsupp", "Schema": "public", "Alias": "partsupp", "Startup Cost": 0.42, "Total Cost": 3.99, "Plan Rows": 80, "Plan Width": 14, "Actual Startup Time": 0.006, "Actual Total Time": 0.07, "Actual Rows": 80, "Actual Loops": 1987, "Output": ["partsupp.ps_partkey", "partsupp.ps_suppkey", "partsupp.ps_availqty", "partsupp.ps_supplycost", "partsupp.ps_comment"], "Index Cond": "(partsupp.ps_suppkey = supplier.s_suppkey)", "Rows Removed by Index Recheck": 0}]}]}, {"Node Type": "Aggregate", "Strategy": "Plain", "Partial Mode": "Simple", "Parent Relationship": "SubPlan", "Subplan Name": "SubPlan 1", "Parallel Aware": false, "Startup Cost": 14.44, "Total Cost": 14.45, "Plan Rows": 1, "Plan Width": 32, "Actual Startup Time": 0.021, "Actual Total Time": 0.022, "Actual Rows": 1, "Actual Loops": 1363, "Output": ["min(partsupp_1.ps_supplycost)"], "Plans": [{"Node Type": "Nested Loop", "Parent Relationship": "Outer", "Parallel Aware": false, "Join Type": "Inner", "Startup Cost": 0.85, "Total Cost": 14.44, "Plan Rows": 1, "Plan Width": 6, "Actual Startup Time": 0.015, "Actual Total Time": 0.02, "Actual Rows": 1, "Actual Loops": 1363, "Output": ["partsupp_1.ps_supplycost"], "Inner Unique": false, "Join Filter": "(nation_1.n_regionkey = region_1.r_regionkey)", "Rows Removed by Join Filter": 3, "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Relation Name": "region", "Schema": "public", "Alias": "region_1", "Startup Cost": 0.0, "Total Cost": 1.06, "Plan Rows": 1, "Plan Width": 4, "Actual Startup Time": 0.001, "Actual Total Time": 0.001, "Actual Rows": 1, "Actual Loops": 1363, "Output": ["region_1.r_regionkey", "region_1.r_name", "region_1.r_comment"], "Filter": "(region_1.r_name = 'EUROPE'::bpchar)", "Rows Removed by Filter": 4}, {"Node Type": "Nested Loop", "Parent Relationship": "Inner", "Parallel Aware": false, "Join Type": "Inner", "Startup Cost": 0.85, "Total Cost": 13.33, "Plan Rows": 4, "Plan Width": 10, "Actual Startup Time": 0.007, "Actual Total Time": 0.019, "Actual Rows": 4, "Actual Loops": 1363, "Output": ["partsupp_1.ps_supplycost", "nation_1.n_regionkey"], "Inner Unique": true, "Plans": [{"Node Type": "Nested Loop", "Parent Relationship": "Outer", "Parallel Aware": false, "Join Type": "Inner", "Startup Cost": 0.71, "Total Cost": 12.71, "Plan Rows": 4, "Plan Width": 10, "Actual Startup Time": 0.006, "Actual Total Time": 0.014, "Actual Rows": 4, "Actual Loops": 1363, "Output": ["partsupp_1.ps_supplycost", "supplier_1.s_nationkey"], "Inner Unique": true, "Plans": [{"Node Type": "Index Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Scan Direction": "Forward", "Index Name": "ps_pk", "Relation Name": "partsupp", "Schema": "public", "Alias": "partsupp_1", "Startup Cost": 0.42, "Total Cost": 2.7, "Plan Rows": 4, "Plan Width": 10, "Actual Startup Time": 0.004, "Actual Total Time": 0.005, "Actual Rows": 4, "Actual Loops": 1363, "Output": ["partsupp_1.ps_partkey", "partsupp_1.ps_suppkey", "partsupp_1.ps_availqty", "partsupp_1.ps_supplycost", "partsupp_1.ps_comment"], "Index Cond": "(part.p_partkey = partsupp_1.ps_partkey)", "Rows Removed by Index Recheck": 0}, {"Node Type": "Index Scan", "Parent Relationship": "Inner", "Parallel Aware": false, "Scan Direction": "Forward", "Index Name": "s_sk", "Relation Name": "supplier", "Schema": "public", "Alias": "supplier_1", "Startup Cost": 0.29, "Total Cost": 2.5, "Plan Rows": 1, "Plan Width": 8, "Actual Startup Time": 0.002, "Actual Total Time": 0.002, "Actual Rows": 1, "Actual Loops": 5452, "Output": ["supplier_1.s_suppkey", "supplier_1.s_name", "supplier_1.s_address", "supplier_1.s_nationkey", "supplier_1.s_phone", "supplier_1.s_acctbal", "supplier_1.s_comment"], "Index Cond": "(supplier_1.s_suppkey = partsupp_1.ps_suppkey)", "Rows Removed by Index Recheck": 0}]}, {"Node Type": "Index Scan", "Parent Relationship": "Inner", "Parallel Aware": false, "Scan Direction": "Forward", "Index Name": "n_nk", "Relation Name": "nation", "Schema": "public", "Alias": "nation_1", "Startup Cost": 0.14, "Total Cost": 0.16, "Plan Rows": 1, "Plan Width": 8, "Actual Startup Time": 0.001, "Actual Total Time": 0.001, "Actual Rows": 1, "Actual Loops": 5452, "Output": ["nation_1.n_nationkey", "nation_1.n_name", "nation_1.n_regionkey", "nation_1.n_comment"], "Index Cond": "(nation_1.n_nationkey = supplier_1.s_nationkey)", "Rows Removed by Index Recheck": 0}]}]}]}]}]}]}, "Planning Time": 2.2, "Triggers": [], "Execution Time": 306.727} diff --git a/dev9/pg11/tpch/sf_1/explain_analyze/15721/20-1.ok b/dev9/pg11/tpch/sf_1/explain_analyze/15721/20-1.ok new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/dev9/pg11/tpch/sf_1/explain_analyze/15721/20-1.res b/dev9/pg11/tpch/sf_1/explain_analyze/15721/20-1.res new file mode 100644 index 0000000000000000000000000000000000000000..f926993809afb40537b9503ca62210747c00ac2e --- /dev/null +++ b/dev9/pg11/tpch/sf_1/explain_analyze/15721/20-1.res @@ -0,0 +1 @@ +{"Plan": {"Node Type": "Sort", "Parallel Aware": false, "Startup Cost": 38053.32, "Total Cost": 38053.64, "Plan Rows": 128, "Plan Width": 51, "Actual Startup Time": 190.047, "Actual Total Time": 190.06, "Actual Rows": 187, "Actual Loops": 1, "Output": ["supplier.s_name", "supplier.s_address"], "Sort Key": ["supplier.s_name"], "Sort Method": "quicksort", "Sort Space Used": 46, "Sort Space Type": "Memory", "Plans": [{"Node Type": "Hash Join", "Parent Relationship": "Outer", "Parallel Aware": false, "Join Type": "Semi", "Startup Cost": 37824.36, "Total Cost": 38048.84, "Plan Rows": 128, "Plan Width": 51, "Actual Startup Time": 189.439, "Actual Total Time": 189.9, "Actual Rows": 187, "Actual Loops": 1, "Output": ["supplier.s_name", "supplier.s_address"], "Inner Unique": false, "Hash Cond": "(supplier.s_suppkey = partsupp.ps_suppkey)", "Plans": [{"Node Type": "Nested Loop", "Parent Relationship": "Outer", "Parallel Aware": false, "Join Type": "Inner", "Startup Cost": 5.58, "Total Cost": 227.43, "Plan Rows": 400, "Plan Width": 55, "Actual Startup Time": 0.077, "Actual Total Time": 0.448, "Actual Rows": 396, "Actual Loops": 1, "Output": ["supplier.s_name", "supplier.s_address", "supplier.s_suppkey"], "Inner Unique": false, "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Relation Name": "nation", "Schema": "public", "Alias": "nation", "Startup Cost": 0.0, "Total Cost": 1.31, "Plan Rows": 1, "Plan Width": 4, "Actual Startup Time": 0.007, "Actual Total Time": 0.012, "Actual Rows": 1, "Actual Loops": 1, "Output": ["nation.n_nationkey", "nation.n_name", "nation.n_regionkey", "nation.n_comment"], "Filter": "(nation.n_name = 'GERMANY'::bpchar)", "Rows Removed by Filter": 24}, {"Node Type": "Bitmap Heap Scan", "Parent Relationship": "Inner", "Parallel Aware": false, "Relation Name": "supplier", "Schema": "public", "Alias": "supplier", "Startup Cost": 5.58, "Total Cost": 222.11, "Plan Rows": 400, "Plan Width": 59, "Actual Startup Time": 0.067, "Actual Total Time": 0.354, "Actual Rows": 396, "Actual Loops": 1, "Output": ["supplier.s_suppkey", "supplier.s_name", "supplier.s_address", "supplier.s_nationkey", "supplier.s_phone", "supplier.s_acctbal", "supplier.s_comment"], "Recheck Cond": "(supplier.s_nationkey = nation.n_nationkey)", "Rows Removed by Index Recheck": 0, "Exact Heap Blocks": 191, "Lossy Heap Blocks": 0, "Plans": [{"Node Type": "Bitmap Index Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Index Name": "s_nk", "Startup Cost": 0.0, "Total Cost": 5.49, "Plan Rows": 400, "Plan Width": 0, "Actual Startup Time": 0.038, "Actual Total Time": 0.038, "Actual Rows": 396, "Actual Loops": 1, "Index Cond": "(supplier.s_nationkey = nation.n_nationkey)"}]}]}, {"Node Type": "Hash", "Parent Relationship": "Inner", "Parallel Aware": false, "Startup Cost": 37778.69, "Total Cost": 37778.69, "Plan Rows": 3207, "Plan Width": 4, "Actual Startup Time": 189.351, "Actual Total Time": 189.353, "Actual Rows": 5970, "Actual Loops": 1, "Output": ["partsupp.ps_suppkey"], "Hash Buckets": 8192, "Original Hash Buckets": 4096, "Hash Batches": 1, "Original Hash Batches": 1, "Peak Memory Usage": 274, "Plans": [{"Node Type": "Nested Loop", "Parent Relationship": "Outer", "Parallel Aware": false, "Join Type": "Inner", "Startup Cost": 0.42, "Total Cost": 37778.69, "Plan Rows": 3207, "Plan Width": 4, "Actual Startup Time": 0.102, "Actual Total Time": 188.188, "Actual Rows": 5970, "Actual Loops": 1, "Output": ["partsupp.ps_suppkey"], "Inner Unique": false, "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Relation Name": "part", "Schema": "public", "Alias": "part", "Startup Cost": 0.0, "Total Cost": 6597.0, "Plan Rows": 2405, "Plan Width": 4, "Actual Startup Time": 0.026, "Actual Total Time": 34.099, "Actual Rows": 2186, "Actual Loops": 1, "Output": ["part.p_partkey", "part.p_name", "part.p_mfgr", "part.p_brand", "part.p_type", "part.p_size", "part.p_container", "part.p_retailprice", "part.p_comment"], "Filter": "((part.p_name)::text ~~ 'floral%'::text)", "Rows Removed by Filter": 197814}, {"Node Type": "Index Scan", "Parent Relationship": "Inner", "Parallel Aware": false, "Scan Direction": "Forward", "Index Name": "ps_pk", "Relation Name": "partsupp", "Schema": "public", "Alias": "partsupp", "Startup Cost": 0.42, "Total Cost": 12.96, "Plan Rows": 1, "Plan Width": 8, "Actual Startup Time": 0.028, "Actual Total Time": 0.07, "Actual Rows": 3, "Actual Loops": 2186, "Output": ["partsupp.ps_partkey", "partsupp.ps_suppkey", "partsupp.ps_availqty", "partsupp.ps_supplycost", "partsupp.ps_comment"], "Index Cond": "(partsupp.ps_partkey = part.p_partkey)", "Rows Removed by Index Recheck": 0, "Filter": "((partsupp.ps_availqty)::numeric > (SubPlan 1))", "Rows Removed by Filter": 1, "Plans": [{"Node Type": "Aggregate", "Strategy": "Plain", "Partial Mode": "Simple", "Parent Relationship": "SubPlan", "Subplan Name": "SubPlan 1", "Parallel Aware": false, "Startup Cost": 2.66, "Total Cost": 2.68, "Plan Rows": 1, "Plan Width": 32, "Actual Startup Time": 0.015, "Actual Total Time": 0.015, "Actual Rows": 1, "Actual Loops": 8744, "Output": ["(0.5 * sum(lineitem.l_quantity))"], "Plans": [{"Node Type": "Index Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Scan Direction": "Forward", "Index Name": "l_sk_pk", "Relation Name": "lineitem", "Schema": "public", "Alias": "lineitem", "Startup Cost": 0.43, "Total Cost": 2.66, "Plan Rows": 1, "Plan Width": 5, "Actual Startup Time": 0.01, "Actual Total Time": 0.015, "Actual Rows": 1, "Actual Loops": 8744, "Output": ["lineitem.l_orderkey", "lineitem.l_partkey", "lineitem.l_suppkey", "lineitem.l_linenumber", "lineitem.l_quantity", "lineitem.l_extendedprice", "lineitem.l_discount", "lineitem.l_tax", "lineitem.l_returnflag", "lineitem.l_linestatus", "lineitem.l_shipdate", "lineitem.l_commitdate", "lineitem.l_receiptdate", "lineitem.l_shipinstruct", "lineitem.l_shipmode", "lineitem.l_comment"], "Index Cond": "((lineitem.l_suppkey = partsupp.ps_suppkey) AND (lineitem.l_partkey = partsupp.ps_partkey))", "Rows Removed by Index Recheck": 0, "Filter": "((lineitem.l_shipdate >= '1996-01-01'::date) AND (lineitem.l_shipdate < '1997-01-01 00:00:00'::timestamp without time zone))", "Rows Removed by Filter": 6}]}]}]}]}]}]}, "Planning Time": 0.804, "Triggers": [], "Execution Time": 190.123} diff --git a/dev9/pg11/tpch/sf_1/explain_analyze/15721/21-1.ok b/dev9/pg11/tpch/sf_1/explain_analyze/15721/21-1.ok new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/dev9/pg11/tpch/sf_1/explain_analyze/15721/21-1.res b/dev9/pg11/tpch/sf_1/explain_analyze/15721/21-1.res new file mode 100644 index 0000000000000000000000000000000000000000..c400d7260dc2f9bf11a6f541f76b7ad9291ee796 --- /dev/null +++ b/dev9/pg11/tpch/sf_1/explain_analyze/15721/21-1.res @@ -0,0 +1 @@ +{"Plan": {"Node Type": "Limit", "Parallel Aware": false, "Startup Cost": 54015.64, "Total Cost": 54015.64, "Plan Rows": 1, "Plan Width": 34, "Actual Startup Time": 746.494, "Actual Total Time": 766.255, "Actual Rows": 100, "Actual Loops": 1, "Output": ["supplier.s_name", "(count(*))"], "Plans": [{"Node Type": "Sort", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 54015.64, "Total Cost": 54015.64, "Plan Rows": 1, "Plan Width": 34, "Actual Startup Time": 746.492, "Actual Total Time": 766.245, "Actual Rows": 100, "Actual Loops": 1, "Output": ["supplier.s_name", "(count(*))"], "Sort Key": ["(count(*)) DESC", "supplier.s_name"], "Sort Method": "top-N heapsort", "Sort Space Used": 37, "Sort Space Type": "Memory", "Plans": [{"Node Type": "Aggregate", "Strategy": "Sorted", "Partial Mode": "Simple", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 54015.61, "Total Cost": 54015.63, "Plan Rows": 1, "Plan Width": 34, "Actual Startup Time": 745.085, "Actual Total Time": 765.729, "Actual Rows": 407, "Actual Loops": 1, "Output": ["supplier.s_name", "count(*)"], "Group Key": ["supplier.s_name"], "Plans": [{"Node Type": "Sort", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 54015.61, "Total Cost": 54015.61, "Plan Rows": 1, "Plan Width": 26, "Actual Startup Time": 745.073, "Actual Total Time": 765.096, "Actual Rows": 3965, "Actual Loops": 1, "Output": ["supplier.s_name"], "Sort Key": ["supplier.s_name"], "Sort Method": "quicksort", "Sort Space Used": 406, "Sort Space Type": "Memory", "Plans": [{"Node Type": "Nested Loop", "Parent Relationship": "Outer", "Parallel Aware": false, "Join Type": "Semi", "Startup Cost": 13499.02, "Total Cost": 54015.6, "Plan Rows": 1, "Plan Width": 26, "Actual Startup Time": 373.348, "Actual Total Time": 749.628, "Actual Rows": 3965, "Actual Loops": 1, "Output": ["supplier.s_name"], "Inner Unique": false, "Join Filter": "(orders.o_orderkey = l2.l_orderkey)", "Rows Removed by Join Filter": 0, "Plans": [{"Node Type": "Gather", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 13498.59, "Total Cost": 54014.97, "Plan Rows": 1, "Plan Width": 38, "Actual Startup Time": 373.117, "Actual Total Time": 725.63, "Actual Rows": 6626, "Actual Loops": 1, "Output": ["supplier.s_name", "l1.l_suppkey", "l1.l_orderkey", "orders.o_orderkey"], "Workers Planned": 3, "Workers Launched": 3, "Single Copy": false, "Plans": [{"Node Type": "Nested Loop", "Parent Relationship": "Outer", "Parallel Aware": false, "Join Type": "Anti", "Startup Cost": 12498.59, "Total Cost": 53014.87, "Plan Rows": 1, "Plan Width": 38, "Actual Startup Time": 474.282, "Actual Total Time": 716.609, "Actual Rows": 1656, "Actual Loops": 4, "Output": ["supplier.s_name", "l1.l_suppkey", "l1.l_orderkey", "orders.o_orderkey"], "Inner Unique": false, "Workers": [{"Worker Number": 0, "Actual Startup Time": 507.969, "Actual Total Time": 722.235, "Actual Rows": 1335, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 508.249, "Actual Total Time": 722.322, "Actual Rows": 1390, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 508.319, "Actual Total Time": 722.527, "Actual Rows": 1413, "Actual Loops": 1}], "Plans": [{"Node Type": "Hash Join", "Parent Relationship": "Outer", "Parallel Aware": false, "Join Type": "Inner", "Startup Cost": 12498.16, "Total Cost": 45650.27, "Plan Rows": 12562, "Plan Width": 38, "Actual Startup Time": 474.127, "Actual Total Time": 629.198, "Actual Rows": 18520, "Actual Loops": 4, "Output": ["supplier.s_name", "l1.l_suppkey", "l1.l_orderkey", "orders.o_orderkey"], "Inner Unique": false, "Hash Cond": "(orders.o_orderkey = l1.l_orderkey)", "Workers": [{"Worker Number": 0, "Actual Startup Time": 507.915, "Actual Total Time": 647.099, "Actual Rows": 15209, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 508.044, "Actual Total Time": 647.56, "Actual Rows": 15181, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 508.259, "Actual Total Time": 647.435, "Actual Rows": 15320, "Actual Loops": 1}], "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": true, "Relation Name": "orders", "Schema": "public", "Alias": "orders", "Startup Cost": 0.0, "Total Cost": 32143.39, "Plan Rows": 235494, "Plan Width": 4, "Actual Startup Time": 0.021, "Actual Total Time": 97.771, "Actual Rows": 182353, "Actual Loops": 4, "Output": ["orders.o_orderkey", "orders.o_custkey", "orders.o_orderstatus", "orders.o_totalprice", "orders.o_orderdate", "orders.o_orderpriority", "orders.o_clerk", "orders.o_shippriority", "orders.o_comment"], "Filter": "(orders.o_orderstatus = 'F'::bpchar)", "Rows Removed by Filter": 192647, "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.026, "Actual Total Time": 86.294, "Actual Rows": 150323, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 0.028, "Actual Total Time": 86.43, "Actual Rows": 150694, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 0.023, "Actual Total Time": 85.893, "Actual Rows": 150470, "Actual Loops": 1}]}, {"Node Type": "Hash", "Parent Relationship": "Inner", "Parallel Aware": false, "Startup Cost": 11497.96, "Total Cost": 11497.96, "Plan Rows": 80016, "Plan Width": 34, "Actual Startup Time": 473.324, "Actual Total Time": 473.328, "Actual Rows": 153758, "Actual Loops": 4, "Output": ["supplier.s_name", "l1.l_suppkey", "l1.l_orderkey"], "Hash Buckets": 262144, "Original Hash Buckets": 131072, "Hash Batches": 1, "Original Hash Batches": 1, "Peak Memory Usage": 12259, "Workers": [{"Worker Number": 0, "Actual Startup Time": 506.856, "Actual Total Time": 506.861, "Actual Rows": 153758, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 507.044, "Actual Total Time": 507.048, "Actual Rows": 153758, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 507.279, "Actual Total Time": 507.283, "Actual Rows": 153758, "Actual Loops": 1}], "Plans": [{"Node Type": "Nested Loop", "Parent Relationship": "Outer", "Parallel Aware": false, "Join Type": "Inner", "Startup Cost": 6.02, "Total Cost": 11497.96, "Plan Rows": 80016, "Plan Width": 34, "Actual Startup Time": 0.195, "Actual Total Time": 417.587, "Actual Rows": 153758, "Actual Loops": 4, "Output": ["supplier.s_name", "l1.l_suppkey", "l1.l_orderkey"], "Inner Unique": false, "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.231, "Actual Total Time": 444.843, "Actual Rows": 153758, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 0.233, "Actual Total Time": 445.746, "Actual Rows": 153758, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 0.226, "Actual Total Time": 445.876, "Actual Rows": 153758, "Actual Loops": 1}], "Plans": [{"Node Type": "Nested Loop", "Parent Relationship": "Outer", "Parallel Aware": false, "Join Type": "Inner", "Startup Cost": 5.58, "Total Cost": 227.43, "Plan Rows": 400, "Plan Width": 30, "Actual Startup Time": 0.122, "Actual Total Time": 0.872, "Actual Rows": 407, "Actual Loops": 4, "Output": ["supplier.s_name", "supplier.s_suppkey"], "Inner Unique": false, "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.138, "Actual Total Time": 0.988, "Actual Rows": 407, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 0.138, "Actual Total Time": 0.966, "Actual Rows": 407, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 0.136, "Actual Total Time": 0.964, "Actual Rows": 407, "Actual Loops": 1}], "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Relation Name": "nation", "Schema": "public", "Alias": "nation", "Startup Cost": 0.0, "Total Cost": 1.31, "Plan Rows": 1, "Plan Width": 4, "Actual Startup Time": 0.018, "Actual Total Time": 0.022, "Actual Rows": 1, "Actual Loops": 4, "Output": ["nation.n_nationkey", "nation.n_name", "nation.n_regionkey", "nation.n_comment"], "Filter": "(nation.n_name = 'CHINA'::bpchar)", "Rows Removed by Filter": 24, "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.021, "Actual Total Time": 0.026, "Actual Rows": 1, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 0.022, "Actual Total Time": 0.026, "Actual Rows": 1, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 0.022, "Actual Total Time": 0.027, "Actual Rows": 1, "Actual Loops": 1}]}, {"Node Type": "Bitmap Heap Scan", "Parent Relationship": "Inner", "Parallel Aware": false, "Relation Name": "supplier", "Schema": "public", "Alias": "supplier", "Startup Cost": 5.58, "Total Cost": 222.11, "Plan Rows": 400, "Plan Width": 34, "Actual Startup Time": 0.101, "Actual Total Time": 0.756, "Actual Rows": 407, "Actual Loops": 4, "Output": ["supplier.s_suppkey", "supplier.s_name", "supplier.s_address", "supplier.s_nationkey", "supplier.s_phone", "supplier.s_acctbal", "supplier.s_comment"], "Recheck Cond": "(supplier.s_nationkey = nation.n_nationkey)", "Rows Removed by Index Recheck": 0, "Exact Heap Blocks": 186, "Lossy Heap Blocks": 0, "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.113, "Actual Total Time": 0.862, "Actual Rows": 407, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 0.113, "Actual Total Time": 0.847, "Actual Rows": 407, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 0.11, "Actual Total Time": 0.845, "Actual Rows": 407, "Actual Loops": 1}], "Plans": [{"Node Type": "Bitmap Index Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Index Name": "s_nk", "Startup Cost": 0.0, "Total Cost": 5.49, "Plan Rows": 400, "Plan Width": 0, "Actual Startup Time": 0.065, "Actual Total Time": 0.065, "Actual Rows": 407, "Actual Loops": 4, "Index Cond": "(supplier.s_nationkey = nation.n_nationkey)", "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.075, "Actual Total Time": 0.075, "Actual Rows": 407, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 0.075, "Actual Total Time": 0.075, "Actual Rows": 407, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 0.072, "Actual Total Time": 0.072, "Actual Rows": 407, "Actual Loops": 1}]}]}]}, {"Node Type": "Index Scan", "Parent Relationship": "Inner", "Parallel Aware": false, "Scan Direction": "Forward", "Index Name": "l_sk", "Relation Name": "lineitem", "Schema": "public", "Alias": "l1", "Startup Cost": 0.43, "Total Cost": 26.18, "Plan Rows": 200, "Plan Width": 8, "Actual Startup Time": 0.019, "Actual Total Time": 0.976, "Actual Rows": 378, "Actual Loops": 1628, "Output": ["l1.l_orderkey", "l1.l_partkey", "l1.l_suppkey", "l1.l_linenumber", "l1.l_quantity", "l1.l_extendedprice", "l1.l_discount", "l1.l_tax", "l1.l_returnflag", "l1.l_linestatus", "l1.l_shipdate", "l1.l_commitdate", "l1.l_receiptdate", "l1.l_shipinstruct", "l1.l_shipmode", "l1.l_comment"], "Index Cond": "(l1.l_suppkey = supplier.s_suppkey)", "Rows Removed by Index Recheck": 0, "Filter": "(l1.l_receiptdate > l1.l_commitdate)", "Rows Removed by Filter": 221, "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.022, "Actual Total Time": 1.043, "Actual Rows": 378, "Actual Loops": 407}, {"Worker Number": 1, "Actual Startup Time": 0.021, "Actual Total Time": 1.045, "Actual Rows": 378, "Actual Loops": 407}, {"Worker Number": 2, "Actual Startup Time": 0.022, "Actual Total Time": 1.045, "Actual Rows": 378, "Actual Loops": 407}]}]}]}]}, {"Node Type": "Index Scan", "Parent Relationship": "Inner", "Parallel Aware": false, "Scan Direction": "Forward", "Index Name": "l_ok", "Relation Name": "lineitem", "Schema": "public", "Alias": "l3", "Startup Cost": 0.43, "Total Cost": 0.62, "Plan Rows": 2, "Plan Width": 8, "Actual Startup Time": 0.004, "Actual Total Time": 0.004, "Actual Rows": 1, "Actual Loops": 74080, "Output": ["l3.l_orderkey", "l3.l_partkey", "l3.l_suppkey", "l3.l_linenumber", "l3.l_quantity", "l3.l_extendedprice", "l3.l_discount", "l3.l_tax", "l3.l_returnflag", "l3.l_linestatus", "l3.l_shipdate", "l3.l_commitdate", "l3.l_receiptdate", "l3.l_shipinstruct", "l3.l_shipmode", "l3.l_comment"], "Index Cond": "(l3.l_orderkey = l1.l_orderkey)", "Rows Removed by Index Recheck": 0, "Filter": "((l3.l_receiptdate > l3.l_commitdate) AND (l3.l_suppkey <> l1.l_suppkey))", "Rows Removed by Filter": 1, "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.005, "Actual Total Time": 0.005, "Actual Rows": 1, "Actual Loops": 15209}, {"Worker Number": 1, "Actual Startup Time": 0.005, "Actual Total Time": 0.005, "Actual Rows": 1, "Actual Loops": 15181}, {"Worker Number": 2, "Actual Startup Time": 0.005, "Actual Total Time": 0.005, "Actual Rows": 1, "Actual Loops": 15320}]}]}]}, {"Node Type": "Index Scan", "Parent Relationship": "Inner", "Parallel Aware": false, "Scan Direction": "Forward", "Index Name": "l_ok", "Relation Name": "lineitem", "Schema": "public", "Alias": "l2", "Startup Cost": 0.43, "Total Cost": 0.6, "Plan Rows": 5, "Plan Width": 8, "Actual Startup Time": 0.003, "Actual Total Time": 0.003, "Actual Rows": 1, "Actual Loops": 6626, "Output": ["l2.l_orderkey", "l2.l_partkey", "l2.l_suppkey", "l2.l_linenumber", "l2.l_quantity", "l2.l_extendedprice", "l2.l_discount", "l2.l_tax", "l2.l_returnflag", "l2.l_linestatus", "l2.l_shipdate", "l2.l_commitdate", "l2.l_receiptdate", "l2.l_shipinstruct", "l2.l_shipmode", "l2.l_comment"], "Index Cond": "(l2.l_orderkey = l1.l_orderkey)", "Rows Removed by Index Recheck": 0, "Filter": "(l2.l_suppkey <> l1.l_suppkey)", "Rows Removed by Filter": 1}]}]}]}]}]}, "Planning Time": 2.322, "Triggers": [], "Execution Time": 766.383} diff --git a/dev9/pg11/tpch/sf_1/explain_analyze/15721/22-1.ok b/dev9/pg11/tpch/sf_1/explain_analyze/15721/22-1.ok new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/dev9/pg11/tpch/sf_1/explain_analyze/15721/22-1.res b/dev9/pg11/tpch/sf_1/explain_analyze/15721/22-1.res new file mode 100644 index 0000000000000000000000000000000000000000..d174f0e1a5a44a0dc10fcc2bcfc88c0b7f04e6c6 --- /dev/null +++ b/dev9/pg11/tpch/sf_1/explain_analyze/15721/22-1.res @@ -0,0 +1 @@ +{"Plan": {"Node Type": "Aggregate", "Strategy": "Sorted", "Partial Mode": "Finalize", "Parallel Aware": false, "Startup Cost": 12872.51, "Total Cost": 12961.23, "Plan Rows": 664, "Plan Width": 72, "Actual Startup Time": 98.525, "Actual Total Time": 103.297, "Actual Rows": 7, "Actual Loops": 1, "Output": ["(\"substring\"((customer.c_phone)::text, 1, 2))", "count(*)", "sum(customer.c_acctbal)"], "Group Key": ["(\"substring\"((customer.c_phone)::text, 1, 2))"], "Plans": [{"Node Type": "Aggregate", "Strategy": "Plain", "Partial Mode": "Finalize", "Parent Relationship": "InitPlan", "Subplan Name": "InitPlan 1 (returns $1)", "Parallel Aware": false, "Startup Cost": 6230.82, "Total Cost": 6230.83, "Plan Rows": 1, "Plan Width": 32, "Actual Startup Time": 41.852, "Actual Total Time": 41.916, "Actual Rows": 1, "Actual Loops": 1, "Output": ["avg(customer_1.c_acctbal)"], "Plans": [{"Node Type": "Gather", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 6230.6, "Total Cost": 6230.81, "Plan Rows": 2, "Plan Width": 32, "Actual Startup Time": 41.823, "Actual Total Time": 41.907, "Actual Rows": 3, "Actual Loops": 1, "Output": ["(PARTIAL avg(customer_1.c_acctbal))"], "Workers Planned": 2, "Workers Launched": 2, "Single Copy": false, "Plans": [{"Node Type": "Aggregate", "Strategy": "Plain", "Partial Mode": "Partial", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 5230.6, "Total Cost": 5230.61, "Plan Rows": 1, "Plan Width": 32, "Actual Startup Time": 38.935, "Actual Total Time": 38.935, "Actual Rows": 1, "Actual Loops": 3, "Output": ["PARTIAL avg(customer_1.c_acctbal)"], "Workers": [{"Worker Number": 0, "Actual Startup Time": 37.522, "Actual Total Time": 37.523, "Actual Rows": 1, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 37.731, "Actual Total Time": 37.731, "Actual Rows": 1, "Actual Loops": 1}], "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": true, "Relation Name": "customer", "Schema": "public", "Alias": "customer_1", "Startup Cost": 0.0, "Total Cost": 5225.62, "Plan Rows": 1988, "Plan Width": 6, "Actual Startup Time": 0.03, "Actual Total Time": 37.326, "Actual Rows": 12636, "Actual Loops": 3, "Output": ["customer_1.c_custkey", "customer_1.c_name", "customer_1.c_address", "customer_1.c_nationkey", "customer_1.c_phone", "customer_1.c_acctbal", "customer_1.c_mktsegment", "customer_1.c_comment"], "Filter": "((customer_1.c_acctbal > 0.00) AND (\"substring\"((customer_1.c_phone)::text, 1, 2) = ANY ('{17,20,25,31,30,11,33}'::text[])))", "Rows Removed by Filter": 37364, "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.041, "Actual Total Time": 36.003, "Actual Rows": 11743, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 0.038, "Actual Total Time": 36.196, "Actual Rows": 11914, "Actual Loops": 1}]}]}]}]}, {"Node Type": "Gather Merge", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 6641.68, "Total Cost": 6713.24, "Plan Rows": 554, "Plan Width": 72, "Actual Startup Time": 98.422, "Actual Total Time": 103.208, "Actual Rows": 21, "Actual Loops": 1, "Output": ["(\"substring\"((customer.c_phone)::text, 1, 2))", "(PARTIAL count(*))", "(PARTIAL sum(customer.c_acctbal))"], "Workers Planned": 2, "Params Evaluated": ["$1"], "Workers Launched": 2, "Plans": [{"Node Type": "Aggregate", "Strategy": "Sorted", "Partial Mode": "Partial", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 5641.65, "Total Cost": 5649.27, "Plan Rows": 277, "Plan Width": 72, "Actual Startup Time": 53.069, "Actual Total Time": 53.57, "Actual Rows": 7, "Actual Loops": 3, "Output": ["(\"substring\"((customer.c_phone)::text, 1, 2))", "PARTIAL count(*)", "PARTIAL sum(customer.c_acctbal)"], "Group Key": ["(\"substring\"((customer.c_phone)::text, 1, 2))"], "Workers": [{"Worker Number": 0, "Actual Startup Time": 51.5, "Actual Total Time": 51.945, "Actual Rows": 7, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 51.858, "Actual Total Time": 52.332, "Actual Rows": 7, "Actual Loops": 1}], "Plans": [{"Node Type": "Sort", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 5641.65, "Total Cost": 5642.35, "Plan Rows": 277, "Plan Width": 38, "Actual Startup Time": 52.977, "Actual Total Time": 53.118, "Actual Rows": 2112, "Actual Loops": 3, "Output": ["(\"substring\"((customer.c_phone)::text, 1, 2))", "customer.c_acctbal"], "Sort Key": ["(\"substring\"((customer.c_phone)::text, 1, 2))"], "Sort Method": "quicksort", "Sort Space Used": 207, "Sort Space Type": "Memory", "Workers": [{"Worker Number": 0, "Actual Startup Time": 51.418, "Actual Total Time": 51.54, "Actual Rows": 1921, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 51.77, "Actual Total Time": 51.902, "Actual Rows": 2050, "Actual Loops": 1}], "Plans": [{"Node Type": "Nested Loop", "Parent Relationship": "Outer", "Parallel Aware": false, "Join Type": "Anti", "Startup Cost": 0.43, "Total Cost": 5630.42, "Plan Rows": 277, "Plan Width": 38, "Actual Startup Time": 0.102, "Actual Total Time": 52.131, "Actual Rows": 2112, "Actual Loops": 3, "Output": ["\"substring\"((customer.c_phone)::text, 1, 2)", "customer.c_acctbal"], "Inner Unique": false, "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.17, "Actual Total Time": 50.627, "Actual Rows": 1921, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 0.113, "Actual Total Time": 50.854, "Actual Rows": 2050, "Actual Loops": 1}], "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": true, "Relation Name": "customer", "Schema": "public", "Alias": "customer", "Startup Cost": 0.0, "Total Cost": 5225.62, "Plan Rows": 729, "Plan Width": 26, "Actual Startup Time": 0.025, "Actual Total Time": 28.539, "Actual Rows": 6294, "Actual Loops": 3, "Output": ["customer.c_custkey", "customer.c_name", "customer.c_address", "customer.c_nationkey", "customer.c_phone", "customer.c_acctbal", "customer.c_mktsegment", "customer.c_comment"], "Filter": "((customer.c_acctbal > $1) AND (\"substring\"((customer.c_phone)::text, 1, 2) = ANY ('{17,20,25,31,30,11,33}'::text[])))", "Rows Removed by Filter": 43706, "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.039, "Actual Total Time": 27.251, "Actual Rows": 5819, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 0.028, "Actual Total Time": 27.25, "Actual Rows": 5933, "Actual Loops": 1}]}, {"Node Type": "Index Only Scan", "Parent Relationship": "Inner", "Parallel Aware": false, "Scan Direction": "Forward", "Index Name": "o_ck", "Relation Name": "orders", "Schema": "public", "Alias": "orders", "Startup Cost": 0.43, "Total Cost": 1.62, "Plan Rows": 16, "Plan Width": 4, "Actual Startup Time": 0.003, "Actual Total Time": 0.003, "Actual Rows": 1, "Actual Loops": 18883, "Output": ["orders.o_custkey"], "Index Cond": "(orders.o_custkey = customer.c_custkey)", "Rows Removed by Index Recheck": 0, "Heap Fetches": 0, "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.004, "Actual Total Time": 0.004, "Actual Rows": 1, "Actual Loops": 5819}, {"Worker Number": 1, "Actual Startup Time": 0.004, "Actual Total Time": 0.004, "Actual Rows": 1, "Actual Loops": 5933}]}]}]}]}]}]}, "Planning Time": 0.447, "Triggers": [], "Execution Time": 103.37} diff --git a/dev9/pg11/tpch/sf_1/explain_analyze/15721/3-1.ok b/dev9/pg11/tpch/sf_1/explain_analyze/15721/3-1.ok new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/dev9/pg11/tpch/sf_1/explain_analyze/15721/3-1.res b/dev9/pg11/tpch/sf_1/explain_analyze/15721/3-1.res new file mode 100644 index 0000000000000000000000000000000000000000..1e73f7119c7713268a091ca668c83b8de770efa4 --- /dev/null +++ b/dev9/pg11/tpch/sf_1/explain_analyze/15721/3-1.res @@ -0,0 +1 @@ +{"Plan": {"Node Type": "Limit", "Parallel Aware": false, "Startup Cost": 135029.28, "Total Cost": 135029.31, "Plan Rows": 10, "Plan Width": 44, "Actual Startup Time": 562.015, "Actual Total Time": 612.744, "Actual Rows": 10, "Actual Loops": 1, "Output": ["lineitem.l_orderkey", "(sum((lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount))))", "orders.o_orderdate", "orders.o_shippriority"], "Plans": [{"Node Type": "Sort", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 135029.28, "Total Cost": 135817.29, "Plan Rows": 315202, "Plan Width": 44, "Actual Startup Time": 562.013, "Actual Total Time": 612.74, "Actual Rows": 10, "Actual Loops": 1, "Output": ["lineitem.l_orderkey", "(sum((lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount))))", "orders.o_orderdate", "orders.o_shippriority"], "Sort Key": ["(sum((lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount)))) DESC", "orders.o_orderdate"], "Sort Method": "top-N heapsort", "Sort Space Used": 26, "Sort Space Type": "Memory", "Plans": [{"Node Type": "Aggregate", "Strategy": "Sorted", "Partial Mode": "Finalize", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 86736.08, "Total Cost": 128217.88, "Plan Rows": 315202, "Plan Width": 44, "Actual Startup Time": 538.003, "Actual Total Time": 610.002, "Actual Rows": 11439, "Actual Loops": 1, "Output": ["lineitem.l_orderkey", "sum((lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount)))", "orders.o_orderdate", "orders.o_shippriority"], "Group Key": ["lineitem.l_orderkey", "orders.o_orderdate", "orders.o_shippriority"], "Plans": [{"Node Type": "Gather Merge", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 86736.08, "Total Cost": 120994.51, "Plan Rows": 262668, "Plan Width": 44, "Actual Startup Time": 537.994, "Actual Total Time": 600.402, "Actual Rows": 11439, "Actual Loops": 1, "Output": ["lineitem.l_orderkey", "orders.o_orderdate", "orders.o_shippriority", "(PARTIAL sum((lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount))))"], "Workers Planned": 2, "Workers Launched": 2, "Plans": [{"Node Type": "Aggregate", "Strategy": "Sorted", "Partial Mode": "Partial", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 85736.06, "Total Cost": 89676.08, "Plan Rows": 131334, "Plan Width": 44, "Actual Startup Time": 534.703, "Actual Total Time": 544.35, "Actual Rows": 3813, "Actual Loops": 3, "Output": ["lineitem.l_orderkey", "orders.o_orderdate", "orders.o_shippriority", "PARTIAL sum((lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount)))"], "Group Key": ["lineitem.l_orderkey", "orders.o_orderdate", "orders.o_shippriority"], "Workers": [{"Worker Number": 0, "Actual Startup Time": 533.108, "Actual Total Time": 543.162, "Actual Rows": 3741, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 533.609, "Actual Total Time": 543.41, "Actual Rows": 3662, "Actual Loops": 1}], "Plans": [{"Node Type": "Sort", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 85736.06, "Total Cost": 86064.39, "Plan Rows": 131334, "Plan Width": 24, "Actual Startup Time": 534.685, "Actual Total Time": 535.999, "Actual Rows": 10095, "Actual Loops": 3, "Output": ["lineitem.l_orderkey", "orders.o_orderdate", "orders.o_shippriority", "lineitem.l_extendedprice", "lineitem.l_discount"], "Sort Key": ["lineitem.l_orderkey", "orders.o_orderdate", "orders.o_shippriority"], "Sort Method": "quicksort", "Sort Space Used": 1220, "Sort Space Type": "Memory", "Workers": [{"Worker Number": 0, "Actual Startup Time": 533.088, "Actual Total Time": 534.576, "Actual Rows": 9779, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 533.593, "Actual Total Time": 535.065, "Actual Rows": 9806, "Actual Loops": 1}], "Plans": [{"Node Type": "Nested Loop", "Parent Relationship": "Outer", "Parallel Aware": false, "Join Type": "Inner", "Startup Cost": 0.86, "Total Cost": 74570.78, "Plan Rows": 131334, "Plan Width": 24, "Actual Startup Time": 0.604, "Actual Total Time": 529.426, "Actual Rows": 10095, "Actual Loops": 3, "Output": ["lineitem.l_orderkey", "orders.o_orderdate", "orders.o_shippriority", "lineitem.l_extendedprice", "lineitem.l_discount"], "Inner Unique": false, "Workers": [{"Worker Number": 0, "Actual Startup Time": 1.0, "Actual Total Time": 527.675, "Actual Rows": 9779, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 0.696, "Actual Total Time": 528.175, "Actual Rows": 9806, "Actual Loops": 1}], "Plans": [{"Node Type": "Nested Loop", "Parent Relationship": "Outer", "Parallel Aware": false, "Join Type": "Inner", "Startup Cost": 0.43, "Total Cost": 28546.3, "Plan Rows": 60828, "Plan Width": 12, "Actual Startup Time": 0.098, "Actual Total Time": 180.965, "Actual Rows": 48593, "Actual Loops": 3, "Output": ["orders.o_orderdate", "orders.o_shippriority", "orders.o_orderkey"], "Inner Unique": false, "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.104, "Actual Total Time": 181.54, "Actual Rows": 47300, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 0.157, "Actual Total Time": 181.189, "Actual Rows": 47349, "Actual Loops": 1}], "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": true, "Relation Name": "customer", "Schema": "public", "Alias": "customer", "Startup Cost": 0.0, "Total Cost": 4366.25, "Plan Rows": 12487, "Plan Width": 4, "Actual Startup Time": 0.021, "Actual Total Time": 20.055, "Actual Rows": 9989, "Actual Loops": 3, "Output": ["customer.c_custkey", "customer.c_name", "customer.c_address", "customer.c_nationkey", "customer.c_phone", "customer.c_acctbal", "customer.c_mktsegment", "customer.c_comment"], "Filter": "(customer.c_mktsegment = 'FURNITURE'::bpchar)", "Rows Removed by Filter": 40011, "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.032, "Actual Total Time": 20.486, "Actual Rows": 9729, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 0.021, "Actual Total Time": 20.565, "Actual Rows": 9736, "Actual Loops": 1}]}, {"Node Type": "Index Scan", "Parent Relationship": "Inner", "Parallel Aware": false, "Scan Direction": "Forward", "Index Name": "o_ck", "Relation Name": "orders", "Schema": "public", "Alias": "orders", "Startup Cost": 0.43, "Total Cost": 1.86, "Plan Rows": 8, "Plan Width": 16, "Actual Startup Time": 0.004, "Actual Total Time": 0.015, "Actual Rows": 5, "Actual Loops": 29968, "Output": ["orders.o_orderkey", "orders.o_custkey", "orders.o_orderstatus", "orders.o_totalprice", "orders.o_orderdate", "orders.o_orderpriority", "orders.o_clerk", "orders.o_shippriority", "orders.o_comment"], "Index Cond": "(orders.o_custkey = customer.c_custkey)", "Rows Removed by Index Recheck": 0, "Filter": "(orders.o_orderdate < '1995-03-20'::date)", "Rows Removed by Filter": 5, "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.004, "Actual Total Time": 0.015, "Actual Rows": 5, "Actual Loops": 9729}, {"Worker Number": 1, "Actual Startup Time": 0.004, "Actual Total Time": 0.015, "Actual Rows": 5, "Actual Loops": 9736}]}]}, {"Node Type": "Index Scan", "Parent Relationship": "Inner", "Parallel Aware": false, "Scan Direction": "Forward", "Index Name": "l_ok", "Relation Name": "lineitem", "Schema": "public", "Alias": "lineitem", "Startup Cost": 0.43, "Total Cost": 0.73, "Plan Rows": 3, "Plan Width": 16, "Actual Startup Time": 0.007, "Actual Total Time": 0.007, "Actual Rows": 0, "Actual Loops": 145780, "Output": ["lineitem.l_orderkey", "lineitem.l_partkey", "lineitem.l_suppkey", "lineitem.l_linenumber", "lineitem.l_quantity", "lineitem.l_extendedprice", "lineitem.l_discount", "lineitem.l_tax", "lineitem.l_returnflag", "lineitem.l_linestatus", "lineitem.l_shipdate", "lineitem.l_commitdate", "lineitem.l_receiptdate", "lineitem.l_shipinstruct", "lineitem.l_shipmode", "lineitem.l_comment"], "Index Cond": "(lineitem.l_orderkey = orders.o_orderkey)", "Rows Removed by Index Recheck": 0, "Filter": "(lineitem.l_shipdate > '1995-03-20'::date)", "Rows Removed by Filter": 4, "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.007, "Actual Total Time": 0.007, "Actual Rows": 0, "Actual Loops": 47300}, {"Worker Number": 1, "Actual Startup Time": 0.007, "Actual Total Time": 0.007, "Actual Rows": 0, "Actual Loops": 47349}]}]}]}]}]}]}]}]}, "Planning Time": 0.835, "Triggers": [], "Execution Time": 612.811} diff --git a/dev9/pg11/tpch/sf_1/explain_analyze/15721/4-1.ok b/dev9/pg11/tpch/sf_1/explain_analyze/15721/4-1.ok new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/dev9/pg11/tpch/sf_1/explain_analyze/15721/4-1.res b/dev9/pg11/tpch/sf_1/explain_analyze/15721/4-1.res new file mode 100644 index 0000000000000000000000000000000000000000..5264f8289dfb18a830fd03c8c80e4d50ee0d6721 --- /dev/null +++ b/dev9/pg11/tpch/sf_1/explain_analyze/15721/4-1.res @@ -0,0 +1 @@ +{"Plan": {"Node Type": "Aggregate", "Strategy": "Sorted", "Partial Mode": "Finalize", "Parallel Aware": false, "Startup Cost": 53471.08, "Total Cost": 53472.98, "Plan Rows": 5, "Plan Width": 24, "Actual Startup Time": 144.95, "Actual Total Time": 170.548, "Actual Rows": 5, "Actual Loops": 1, "Output": ["orders.o_orderpriority", "count(*)"], "Group Key": ["orders.o_orderpriority"], "Plans": [{"Node Type": "Gather Merge", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 53471.08, "Total Cost": 53472.86, "Plan Rows": 15, "Plan Width": 24, "Actual Startup Time": 144.936, "Actual Total Time": 170.532, "Actual Rows": 20, "Actual Loops": 1, "Output": ["orders.o_orderpriority", "(PARTIAL count(*))"], "Workers Planned": 3, "Workers Launched": 3, "Plans": [{"Node Type": "Sort", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 52471.04, "Total Cost": 52471.06, "Plan Rows": 5, "Plan Width": 24, "Actual Startup Time": 141.204, "Actual Total Time": 141.209, "Actual Rows": 5, "Actual Loops": 4, "Output": ["orders.o_orderpriority", "(PARTIAL count(*))"], "Sort Key": ["orders.o_orderpriority"], "Sort Method": "quicksort", "Sort Space Used": 25, "Sort Space Type": "Memory", "Workers": [{"Worker Number": 0, "Actual Startup Time": 139.979, "Actual Total Time": 139.983, "Actual Rows": 5, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 140.037, "Actual Total Time": 140.041, "Actual Rows": 5, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 140.263, "Actual Total Time": 140.274, "Actual Rows": 5, "Actual Loops": 1}], "Plans": [{"Node Type": "Aggregate", "Strategy": "Hashed", "Partial Mode": "Partial", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 52470.94, "Total Cost": 52470.99, "Plan Rows": 5, "Plan Width": 24, "Actual Startup Time": 141.171, "Actual Total Time": 141.176, "Actual Rows": 5, "Actual Loops": 4, "Output": ["orders.o_orderpriority", "PARTIAL count(*)"], "Group Key": ["orders.o_orderpriority"], "Workers": [{"Worker Number": 0, "Actual Startup Time": 139.943, "Actual Total Time": 139.946, "Actual Rows": 5, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 139.99, "Actual Total Time": 139.994, "Actual Rows": 5, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 140.224, "Actual Total Time": 140.235, "Actual Rows": 5, "Actual Loops": 1}], "Plans": [{"Node Type": "Nested Loop", "Parent Relationship": "Outer", "Parallel Aware": false, "Join Type": "Semi", "Startup Cost": 767.31, "Total Cost": 52395.52, "Plan Rows": 15083, "Plan Width": 16, "Actual Startup Time": 15.498, "Actual Total Time": 136.579, "Actual Rows": 12952, "Actual Loops": 4, "Output": ["orders.o_orderpriority"], "Inner Unique": false, "Workers": [{"Worker Number": 0, "Actual Startup Time": 14.715, "Actual Total Time": 135.705, "Actual Rows": 11421, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 14.786, "Actual Total Time": 135.729, "Actual Rows": 11515, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 15.025, "Actual Total Time": 135.964, "Actual Rows": 11564, "Actual Loops": 1}], "Plans": [{"Node Type": "Bitmap Heap Scan", "Parent Relationship": "Outer", "Parallel Aware": true, "Relation Name": "orders", "Schema": "public", "Alias": "orders", "Startup Cost": 766.88, "Total Cost": 27141.13, "Plan Rows": 18617, "Plan Width": 20, "Actual Startup Time": 15.43, "Actual Total Time": 43.645, "Actual Rows": 14142, "Actual Loops": 4, "Output": ["orders.o_orderkey", "orders.o_custkey", "orders.o_orderstatus", "orders.o_totalprice", "orders.o_orderdate", "orders.o_orderpriority", "orders.o_clerk", "orders.o_shippriority", "orders.o_comment"], "Recheck Cond": "((orders.o_orderdate >= '1996-01-01'::date) AND (orders.o_orderdate < '1996-04-01 00:00:00'::timestamp without time zone))", "Rows Removed by Index Recheck": 0, "Exact Heap Blocks": 7750, "Lossy Heap Blocks": 0, "Workers": [{"Worker Number": 0, "Actual Startup Time": 14.637, "Actual Total Time": 42.699, "Actual Rows": 12451, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 14.694, "Actual Total Time": 42.644, "Actual Rows": 12557, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 14.935, "Actual Total Time": 42.791, "Actual Rows": 12646, "Actual Loops": 1}], "Plans": [{"Node Type": "Bitmap Index Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Index Name": "o_od", "Startup Cost": 0.0, "Total Cost": 752.45, "Plan Rows": 57712, "Plan Width": 0, "Actual Startup Time": 11.168, "Actual Total Time": 11.168, "Actual Rows": 56568, "Actual Loops": 1, "Index Cond": "((orders.o_orderdate >= '1996-01-01'::date) AND (orders.o_orderdate < '1996-04-01 00:00:00'::timestamp without time zone))"}]}, {"Node Type": "Index Scan", "Parent Relationship": "Inner", "Parallel Aware": false, "Scan Direction": "Forward", "Index Name": "l_ok", "Relation Name": "lineitem", "Schema": "public", "Alias": "lineitem", "Startup Cost": 0.43, "Total Cost": 1.72, "Plan Rows": 2, "Plan Width": 4, "Actual Startup Time": 0.006, "Actual Total Time": 0.006, "Actual Rows": 1, "Actual Loops": 56568, "Output": ["lineitem.l_orderkey", "lineitem.l_partkey", "lineitem.l_suppkey", "lineitem.l_linenumber", "lineitem.l_quantity", "lineitem.l_extendedprice", "lineitem.l_discount", "lineitem.l_tax", "lineitem.l_returnflag", "lineitem.l_linestatus", "lineitem.l_shipdate", "lineitem.l_commitdate", "lineitem.l_receiptdate", "lineitem.l_shipinstruct", "lineitem.l_shipmode", "lineitem.l_comment"], "Index Cond": "(lineitem.l_orderkey = orders.o_orderkey)", "Rows Removed by Index Recheck": 0, "Filter": "(lineitem.l_commitdate < lineitem.l_receiptdate)", "Rows Removed by Filter": 1, "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.007, "Actual Total Time": 0.007, "Actual Rows": 1, "Actual Loops": 12451}, {"Worker Number": 1, "Actual Startup Time": 0.007, "Actual Total Time": 0.007, "Actual Rows": 1, "Actual Loops": 12557}, {"Worker Number": 2, "Actual Startup Time": 0.007, "Actual Total Time": 0.007, "Actual Rows": 1, "Actual Loops": 12646}]}]}]}]}]}]}, "Planning Time": 0.44, "Triggers": [], "Execution Time": 170.606} diff --git a/dev9/pg11/tpch/sf_1/explain_analyze/15721/5-1.ok b/dev9/pg11/tpch/sf_1/explain_analyze/15721/5-1.ok new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/dev9/pg11/tpch/sf_1/explain_analyze/15721/5-1.res b/dev9/pg11/tpch/sf_1/explain_analyze/15721/5-1.res new file mode 100644 index 0000000000000000000000000000000000000000..6776e2a00c9d14d06077e1a7ff3aa44e73c4762f --- /dev/null +++ b/dev9/pg11/tpch/sf_1/explain_analyze/15721/5-1.res @@ -0,0 +1 @@ +{"Plan": {"Node Type": "Sort", "Parallel Aware": false, "Startup Cost": 42245.67, "Total Cost": 42245.74, "Plan Rows": 25, "Plan Width": 58, "Actual Startup Time": 317.967, "Actual Total Time": 351.921, "Actual Rows": 5, "Actual Loops": 1, "Output": ["nation.n_name", "(sum((lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount))))"], "Sort Key": ["(sum((lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount)))) DESC"], "Sort Method": "quicksort", "Sort Space Used": 25, "Sort Space Type": "Memory", "Plans": [{"Node Type": "Aggregate", "Strategy": "Sorted", "Partial Mode": "Finalize", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 42200.1, "Total Cost": 42245.09, "Plan Rows": 25, "Plan Width": 58, "Actual Startup Time": 316.874, "Actual Total Time": 351.912, "Actual Rows": 5, "Actual Loops": 1, "Output": ["nation.n_name", "sum((lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount)))"], "Group Key": ["nation.n_name"], "Plans": [{"Node Type": "Gather Merge", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 42200.1, "Total Cost": 42244.41, "Plan Rows": 50, "Plan Width": 58, "Actual Startup Time": 316.541, "Actual Total Time": 351.889, "Actual Rows": 15, "Actual Loops": 1, "Output": ["nation.n_name", "(PARTIAL sum((lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount))))"], "Workers Planned": 2, "Workers Launched": 2, "Plans": [{"Node Type": "Aggregate", "Strategy": "Sorted", "Partial Mode": "Partial", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 41200.07, "Total Cost": 41238.61, "Plan Rows": 25, "Plan Width": 58, "Actual Startup Time": 313.024, "Actual Total Time": 314.166, "Actual Rows": 5, "Actual Loops": 3, "Output": ["nation.n_name", "PARTIAL sum((lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount)))"], "Group Key": ["nation.n_name"], "Workers": [{"Worker Number": 0, "Actual Startup Time": 311.489, "Actual Total Time": 312.541, "Actual Rows": 5, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 311.54, "Actual Total Time": 312.578, "Actual Rows": 5, "Actual Loops": 1}], "Plans": [{"Node Type": "Sort", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 41200.07, "Total Cost": 41207.72, "Plan Rows": 3058, "Plan Width": 38, "Actual Startup Time": 312.735, "Actual Total Time": 312.897, "Actual Rows": 2456, "Actual Loops": 3, "Output": ["nation.n_name", "lineitem.l_extendedprice", "lineitem.l_discount"], "Sort Key": ["nation.n_name"], "Sort Method": "quicksort", "Sort Space Used": 316, "Sort Space Type": "Memory", "Workers": [{"Worker Number": 0, "Actual Startup Time": 311.233, "Actual Total Time": 311.382, "Actual Rows": 2255, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 311.244, "Actual Total Time": 311.394, "Actual Rows": 2298, "Actual Loops": 1}], "Plans": [{"Node Type": "Hash Join", "Parent Relationship": "Outer", "Parallel Aware": false, "Join Type": "Inner", "Startup Cost": 475.37, "Total Cost": 41023.04, "Plan Rows": 3058, "Plan Width": 38, "Actual Startup Time": 6.094, "Actual Total Time": 311.519, "Actual Rows": 2456, "Actual Loops": 3, "Output": ["nation.n_name", "lineitem.l_extendedprice", "lineitem.l_discount"], "Inner Unique": true, "Hash Cond": "((lineitem.l_suppkey = supplier.s_suppkey) AND (customer.c_nationkey = supplier.s_nationkey))", "Workers": [{"Worker Number": 0, "Actual Startup Time": 6.349, "Actual Total Time": 310.003, "Actual Rows": 2255, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 7.618, "Actual Total Time": 309.995, "Actual Rows": 2298, "Actual Loops": 1}], "Plans": [{"Node Type": "Nested Loop", "Parent Relationship": "Outer", "Parallel Aware": false, "Join Type": "Inner", "Startup Cost": 3.37, "Total Cost": 40149.63, "Plan Rows": 76459, "Plan Width": 50, "Actual Startup Time": 0.313, "Actual Total Time": 293.691, "Actual Rows": 60955, "Actual Loops": 3, "Output": ["customer.c_nationkey", "lineitem.l_extendedprice", "lineitem.l_discount", "lineitem.l_suppkey", "nation.n_name", "nation.n_nationkey"], "Inner Unique": false, "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.397, "Actual Total Time": 291.667, "Actual Rows": 56460, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 0.48, "Actual Total Time": 291.366, "Actual Rows": 57336, "Actual Loops": 1}], "Plans": [{"Node Type": "Nested Loop", "Parent Relationship": "Outer", "Parallel Aware": false, "Join Type": "Inner", "Startup Cost": 2.94, "Total Cost": 17434.98, "Plan Rows": 19111, "Plan Width": 38, "Actual Startup Time": 0.26, "Actual Total Time": 161.975, "Actual Rows": 15210, "Actual Loops": 3, "Output": ["customer.c_nationkey", "orders.o_orderkey", "nation.n_name", "nation.n_nationkey"], "Inner Unique": false, "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.321, "Actual Total Time": 157.413, "Actual Rows": 14057, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 0.405, "Actual Total Time": 156.189, "Actual Rows": 14241, "Actual Loops": 1}], "Plans": [{"Node Type": "Hash Join", "Parent Relationship": "Outer", "Parallel Aware": false, "Join Type": "Inner", "Startup Cost": 2.51, "Total Cost": 4571.88, "Plan Rows": 12500, "Plan Width": 38, "Actual Startup Time": 0.132, "Actual Total Time": 20.289, "Actual Rows": 9984, "Actual Loops": 3, "Output": ["customer.c_custkey", "customer.c_nationkey", "nation.n_name", "nation.n_nationkey"], "Inner Unique": false, "Hash Cond": "(customer.c_nationkey = nation.n_nationkey)", "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.182, "Actual Total Time": 19.532, "Actual Rows": 9360, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 0.177, "Actual Total Time": 18.963, "Actual Rows": 9254, "Actual Loops": 1}], "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": true, "Relation Name": "customer", "Schema": "public", "Alias": "customer", "Startup Cost": 0.0, "Total Cost": 4210.0, "Plan Rows": 62500, "Plan Width": 8, "Actual Startup Time": 0.017, "Actual Total Time": 6.185, "Actual Rows": 50000, "Actual Loops": 3, "Output": ["customer.c_custkey", "customer.c_name", "customer.c_address", "customer.c_nationkey", "customer.c_phone", "customer.c_acctbal", "customer.c_mktsegment", "customer.c_comment"], "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.021, "Actual Total Time": 6.25, "Actual Rows": 46580, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 0.025, "Actual Total Time": 6.258, "Actual Rows": 46972, "Actual Loops": 1}]}, {"Node Type": "Hash", "Parent Relationship": "Inner", "Parallel Aware": false, "Startup Cost": 2.45, "Total Cost": 2.45, "Plan Rows": 5, "Plan Width": 30, "Actual Startup Time": 0.068, "Actual Total Time": 0.07, "Actual Rows": 5, "Actual Loops": 3, "Output": ["nation.n_name", "nation.n_nationkey"], "Hash Buckets": 1024, "Original Hash Buckets": 1024, "Hash Batches": 1, "Original Hash Batches": 1, "Peak Memory Usage": 9, "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.089, "Actual Total Time": 0.093, "Actual Rows": 5, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 0.088, "Actual Total Time": 0.091, "Actual Rows": 5, "Actual Loops": 1}], "Plans": [{"Node Type": "Hash Join", "Parent Relationship": "Outer", "Parallel Aware": false, "Join Type": "Inner", "Startup Cost": 1.07, "Total Cost": 2.45, "Plan Rows": 5, "Plan Width": 30, "Actual Startup Time": 0.057, "Actual Total Time": 0.066, "Actual Rows": 5, "Actual Loops": 3, "Output": ["nation.n_name", "nation.n_nationkey"], "Inner Unique": true, "Hash Cond": "(nation.n_regionkey = region.r_regionkey)", "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.078, "Actual Total Time": 0.087, "Actual Rows": 5, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 0.076, "Actual Total Time": 0.086, "Actual Rows": 5, "Actual Loops": 1}], "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Relation Name": "nation", "Schema": "public", "Alias": "nation", "Startup Cost": 0.0, "Total Cost": 1.25, "Plan Rows": 25, "Plan Width": 34, "Actual Startup Time": 0.013, "Actual Total Time": 0.015, "Actual Rows": 25, "Actual Loops": 3, "Output": ["nation.n_nationkey", "nation.n_name", "nation.n_regionkey", "nation.n_comment"], "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.019, "Actual Total Time": 0.021, "Actual Rows": 25, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 0.018, "Actual Total Time": 0.02, "Actual Rows": 25, "Actual Loops": 1}]}, {"Node Type": "Hash", "Parent Relationship": "Inner", "Parallel Aware": false, "Startup Cost": 1.06, "Total Cost": 1.06, "Plan Rows": 1, "Plan Width": 4, "Actual Startup Time": 0.024, "Actual Total Time": 0.025, "Actual Rows": 1, "Actual Loops": 3, "Output": ["region.r_regionkey"], "Hash Buckets": 1024, "Original Hash Buckets": 1024, "Hash Batches": 1, "Original Hash Batches": 1, "Peak Memory Usage": 9, "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.03, "Actual Total Time": 0.032, "Actual Rows": 1, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 0.034, "Actual Total Time": 0.034, "Actual Rows": 1, "Actual Loops": 1}], "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Relation Name": "region", "Schema": "public", "Alias": "region", "Startup Cost": 0.0, "Total Cost": 1.06, "Plan Rows": 1, "Plan Width": 4, "Actual Startup Time": 0.017, "Actual Total Time": 0.019, "Actual Rows": 1, "Actual Loops": 3, "Output": ["region.r_regionkey"], "Filter": "(region.r_name = 'AMERICA'::bpchar)", "Rows Removed by Filter": 4, "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.022, "Actual Total Time": 0.024, "Actual Rows": 1, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 0.025, "Actual Total Time": 0.026, "Actual Rows": 1, "Actual Loops": 1}]}]}]}]}]}, {"Node Type": "Index Scan", "Parent Relationship": "Inner", "Parallel Aware": false, "Scan Direction": "Forward", "Index Name": "o_ck", "Relation Name": "orders", "Schema": "public", "Alias": "orders", "Startup Cost": 0.43, "Total Cost": 1.01, "Plan Rows": 2, "Plan Width": 8, "Actual Startup Time": 0.007, "Actual Total Time": 0.014, "Actual Rows": 2, "Actual Loops": 29952, "Output": ["orders.o_orderkey", "orders.o_custkey", "orders.o_orderstatus", "orders.o_totalprice", "orders.o_orderdate", "orders.o_orderpriority", "orders.o_clerk", "orders.o_shippriority", "orders.o_comment"], "Index Cond": "(orders.o_custkey = customer.c_custkey)", "Rows Removed by Index Recheck": 0, "Filter": "((orders.o_orderdate >= '1995-01-01'::date) AND (orders.o_orderdate < '1996-01-01 00:00:00'::timestamp without time zone))", "Rows Removed by Filter": 8, "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.007, "Actual Total Time": 0.014, "Actual Rows": 2, "Actual Loops": 9360}, {"Worker Number": 1, "Actual Startup Time": 0.007, "Actual Total Time": 0.014, "Actual Rows": 2, "Actual Loops": 9254}]}]}, {"Node Type": "Index Scan", "Parent Relationship": "Inner", "Parallel Aware": false, "Scan Direction": "Forward", "Index Name": "l_ok", "Relation Name": "lineitem", "Schema": "public", "Alias": "lineitem", "Startup Cost": 0.43, "Total Cost": 1.14, "Plan Rows": 5, "Plan Width": 20, "Actual Startup Time": 0.007, "Actual Total Time": 0.008, "Actual Rows": 4, "Actual Loops": 45630, "Output": ["lineitem.l_orderkey", "lineitem.l_partkey", "lineitem.l_suppkey", "lineitem.l_linenumber", "lineitem.l_quantity", "lineitem.l_extendedprice", "lineitem.l_discount", "lineitem.l_tax", "lineitem.l_returnflag", "lineitem.l_linestatus", "lineitem.l_shipdate", "lineitem.l_commitdate", "lineitem.l_receiptdate", "lineitem.l_shipinstruct", "lineitem.l_shipmode", "lineitem.l_comment"], "Index Cond": "(lineitem.l_orderkey = orders.o_orderkey)", "Rows Removed by Index Recheck": 0, "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.007, "Actual Total Time": 0.008, "Actual Rows": 4, "Actual Loops": 14057}, {"Worker Number": 1, "Actual Startup Time": 0.007, "Actual Total Time": 0.008, "Actual Rows": 4, "Actual Loops": 14241}]}]}, {"Node Type": "Hash", "Parent Relationship": "Inner", "Parallel Aware": false, "Startup Cost": 322.0, "Total Cost": 322.0, "Plan Rows": 10000, "Plan Width": 8, "Actual Startup Time": 5.038, "Actual Total Time": 5.039, "Actual Rows": 10000, "Actual Loops": 3, "Output": ["supplier.s_suppkey", "supplier.s_nationkey"], "Hash Buckets": 16384, "Original Hash Buckets": 16384, "Hash Batches": 1, "Original Hash Batches": 1, "Peak Memory Usage": 519, "Workers": [{"Worker Number": 0, "Actual Startup Time": 5.408, "Actual Total Time": 5.409, "Actual Rows": 10000, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 5.478, "Actual Total Time": 5.479, "Actual Rows": 10000, "Actual Loops": 1}], "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Relation Name": "supplier", "Schema": "public", "Alias": "supplier", "Startup Cost": 0.0, "Total Cost": 322.0, "Plan Rows": 10000, "Plan Width": 8, "Actual Startup Time": 0.011, "Actual Total Time": 3.165, "Actual Rows": 10000, "Actual Loops": 3, "Output": ["supplier.s_suppkey", "supplier.s_nationkey"], "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.015, "Actual Total Time": 3.472, "Actual Rows": 10000, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 0.016, "Actual Total Time": 3.454, "Actual Rows": 10000, "Actual Loops": 1}]}]}]}]}]}]}]}]}, "Planning Time": 2.304, "Triggers": [], "Execution Time": 352.0} diff --git a/dev9/pg11/tpch/sf_1/explain_analyze/15721/6-1.ok b/dev9/pg11/tpch/sf_1/explain_analyze/15721/6-1.ok new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/dev9/pg11/tpch/sf_1/explain_analyze/15721/6-1.res b/dev9/pg11/tpch/sf_1/explain_analyze/15721/6-1.res new file mode 100644 index 0000000000000000000000000000000000000000..12197d2203eb1747d164236d0991dc2bbcf236d6 --- /dev/null +++ b/dev9/pg11/tpch/sf_1/explain_analyze/15721/6-1.res @@ -0,0 +1 @@ +{"Plan": {"Node Type": "Aggregate", "Strategy": "Plain", "Partial Mode": "Finalize", "Parallel Aware": false, "Startup Cost": 129642.66, "Total Cost": 129642.67, "Plan Rows": 1, "Plan Width": 32, "Actual Startup Time": 406.869, "Actual Total Time": 434.512, "Actual Rows": 1, "Actual Loops": 1, "Output": ["sum((l_extendedprice * l_discount))"], "Plans": [{"Node Type": "Gather", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 129642.12, "Total Cost": 129642.63, "Plan Rows": 5, "Plan Width": 32, "Actual Startup Time": 404.579, "Actual Total Time": 434.491, "Actual Rows": 6, "Actual Loops": 1, "Output": ["(PARTIAL sum((l_extendedprice * l_discount)))"], "Workers Planned": 5, "Workers Launched": 5, "Single Copy": false, "Plans": [{"Node Type": "Aggregate", "Strategy": "Plain", "Partial Mode": "Partial", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 128642.12, "Total Cost": 128642.13, "Plan Rows": 1, "Plan Width": 32, "Actual Startup Time": 400.47, "Actual Total Time": 400.472, "Actual Rows": 1, "Actual Loops": 6, "Output": ["PARTIAL sum((l_extendedprice * l_discount))"], "Workers": [{"Worker Number": 0, "Actual Startup Time": 399.454, "Actual Total Time": 399.455, "Actual Rows": 1, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 399.534, "Actual Total Time": 399.536, "Actual Rows": 1, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 399.797, "Actual Total Time": 399.798, "Actual Rows": 1, "Actual Loops": 1}, {"Worker Number": 3, "Actual Startup Time": 399.86, "Actual Total Time": 399.861, "Actual Rows": 1, "Actual Loops": 1}, {"Worker Number": 4, "Actual Startup Time": 399.996, "Actual Total Time": 399.998, "Actual Rows": 1, "Actual Loops": 1}], "Plans": [{"Node Type": "Bitmap Heap Scan", "Parent Relationship": "Outer", "Parallel Aware": true, "Relation Name": "lineitem", "Schema": "public", "Alias": "lineitem", "Startup Cost": 11916.06, "Total Cost": 128528.31, "Plan Rows": 22762, "Plan Width": 12, "Actual Startup Time": 198.528, "Actual Total Time": 394.172, "Actual Rows": 19184, "Actual Loops": 6, "Output": ["l_orderkey", "l_partkey", "l_suppkey", "l_linenumber", "l_quantity", "l_extendedprice", "l_discount", "l_tax", "l_returnflag", "l_linestatus", "l_shipdate", "l_commitdate", "l_receiptdate", "l_shipinstruct", "l_shipmode", "l_comment"], "Recheck Cond": "((lineitem.l_shipdate >= '1995-01-01'::date) AND (lineitem.l_shipdate < '1996-01-01 00:00:00'::timestamp without time zone))", "Rows Removed by Index Recheck": 0, "Filter": "((lineitem.l_discount >= 0.04) AND (lineitem.l_discount <= 0.06) AND (lineitem.l_quantity < '24'::numeric))", "Rows Removed by Filter": 133310, "Exact Heap Blocks": 18589, "Lossy Heap Blocks": 0, "Workers": [{"Worker Number": 0, "Actual Startup Time": 198.264, "Actual Total Time": 393.203, "Actual Rows": 18990, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 198.325, "Actual Total Time": 393.319, "Actual Rows": 18836, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 198.686, "Actual Total Time": 393.467, "Actual Rows": 19120, "Actual Loops": 1}, {"Worker Number": 3, "Actual Startup Time": 198.667, "Actual Total Time": 393.601, "Actual Rows": 18986, "Actual Loops": 1}, {"Worker Number": 4, "Actual Startup Time": 198.795, "Actual Total Time": 393.819, "Actual Rows": 18746, "Actual Loops": 1}], "Plans": [{"Node Type": "Bitmap Index Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Index Name": "l_sd", "Startup Cost": 0.0, "Total Cost": 11887.6, "Plan Rows": 913167, "Plan Width": 0, "Actual Startup Time": 157.478, "Actual Total Time": 157.479, "Actual Rows": 914963, "Actual Loops": 1, "Index Cond": "((lineitem.l_shipdate >= '1995-01-01'::date) AND (lineitem.l_shipdate < '1996-01-01 00:00:00'::timestamp without time zone))"}]}]}]}]}, "Planning Time": 0.151, "Triggers": [], "Execution Time": 434.552} diff --git a/dev9/pg11/tpch/sf_1/explain_analyze/15721/7-1.ok b/dev9/pg11/tpch/sf_1/explain_analyze/15721/7-1.ok new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/dev9/pg11/tpch/sf_1/explain_analyze/15721/7-1.res b/dev9/pg11/tpch/sf_1/explain_analyze/15721/7-1.res new file mode 100644 index 0000000000000000000000000000000000000000..cb51b2530383b74ca61c167e3fd684094f8e54aa --- /dev/null +++ b/dev9/pg11/tpch/sf_1/explain_analyze/15721/7-1.res @@ -0,0 +1 @@ +{"Plan": {"Node Type": "Aggregate", "Strategy": "Sorted", "Partial Mode": "Finalize", "Parallel Aware": false, "Startup Cost": 36984.93, "Total Cost": 37830.35, "Plan Rows": 6095, "Plan Width": 92, "Actual Startup Time": 842.599, "Actual Total Time": 886.396, "Actual Rows": 4, "Actual Loops": 1, "Output": ["n1.n_name", "n2.n_name", "(date_part('year'::text, (lineitem.l_shipdate)::timestamp without time zone))", "sum((lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount)))"], "Group Key": ["n1.n_name", "n2.n_name", "(date_part('year'::text, (lineitem.l_shipdate)::timestamp without time zone))"], "Plans": [{"Node Type": "Gather Merge", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 36984.93, "Total Cost": 37660.19, "Plan Rows": 5080, "Plan Width": 92, "Actual Startup Time": 841.814, "Actual Total Time": 886.377, "Actual Rows": 12, "Actual Loops": 1, "Output": ["n1.n_name", "n2.n_name", "(date_part('year'::text, (lineitem.l_shipdate)::timestamp without time zone))", "(PARTIAL sum((lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount))))"], "Workers Planned": 2, "Workers Launched": 2, "Plans": [{"Node Type": "Aggregate", "Strategy": "Sorted", "Partial Mode": "Partial", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 35984.91, "Total Cost": 36073.81, "Plan Rows": 2540, "Plan Width": 92, "Actual Startup Time": 836.723, "Actual Total Time": 837.667, "Actual Rows": 4, "Actual Loops": 3, "Output": ["n1.n_name", "n2.n_name", "(date_part('year'::text, (lineitem.l_shipdate)::timestamp without time zone))", "PARTIAL sum((lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount)))"], "Group Key": ["n1.n_name", "n2.n_name", "(date_part('year'::text, (lineitem.l_shipdate)::timestamp without time zone))"], "Workers": [{"Worker Number": 0, "Actual Startup Time": 834.398, "Actual Total Time": 834.614, "Actual Rows": 4, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 834.547, "Actual Total Time": 834.751, "Actual Rows": 4, "Actual Loops": 1}], "Plans": [{"Node Type": "Sort", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 35984.91, "Total Cost": 35991.26, "Plan Rows": 2540, "Plan Width": 72, "Actual Startup Time": 836.395, "Actual Total Time": 836.529, "Actual Rows": 1875, "Actual Loops": 3, "Output": ["n1.n_name", "n2.n_name", "(date_part('year'::text, (lineitem.l_shipdate)::timestamp without time zone))", "lineitem.l_extendedprice", "lineitem.l_discount"], "Sort Key": ["n1.n_name", "n2.n_name", "(date_part('year'::text, (lineitem.l_shipdate)::timestamp without time zone))"], "Sort Method": "quicksort", "Sort Space Used": 866, "Sort Space Type": "Memory", "Workers": [{"Worker Number": 0, "Actual Startup Time": 834.309, "Actual Total Time": 834.342, "Actual Rows": 427, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 834.462, "Actual Total Time": 834.492, "Actual Rows": 408, "Actual Loops": 1}], "Plans": [{"Node Type": "Hash Join", "Parent Relationship": "Outer", "Parallel Aware": false, "Join Type": "Inner", "Startup Cost": 25696.74, "Total Cost": 35841.26, "Plan Rows": 2540, "Plan Width": 72, "Actual Startup Time": 744.089, "Actual Total Time": 835.22, "Actual Rows": 1875, "Actual Loops": 3, "Output": ["n1.n_name", "n2.n_name", "date_part('year'::text, (lineitem.l_shipdate)::timestamp without time zone)", "lineitem.l_extendedprice", "lineitem.l_discount"], "Inner Unique": false, "Hash Cond": "(orders.o_orderkey = lineitem.l_orderkey)", "Join Filter": "(((n1.n_name = 'IRAN'::bpchar) AND (n2.n_name = 'ETHIOPIA'::bpchar)) OR ((n1.n_name = 'ETHIOPIA'::bpchar) AND (n2.n_name = 'IRAN'::bpchar)))", "Rows Removed by Join Filter": 1861, "Workers": [{"Worker Number": 0, "Actual Startup Time": 800.833, "Actual Total Time": 833.959, "Actual Rows": 427, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 800.624, "Actual Total Time": 834.122, "Actual Rows": 408, "Actual Loops": 1}], "Plans": [{"Node Type": "Nested Loop", "Parent Relationship": "Outer", "Parallel Aware": false, "Join Type": "Inner", "Startup Cost": 1.83, "Total Cost": 9848.51, "Plan Rows": 50000, "Plan Width": 30, "Actual Startup Time": 0.146, "Actual Total Time": 79.297, "Actual Rows": 39794, "Actual Loops": 3, "Output": ["orders.o_orderkey", "n2.n_name"], "Inner Unique": false, "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.204, "Actual Total Time": 29.848, "Actual Rows": 8892, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 0.193, "Actual Total Time": 29.931, "Actual Rows": 8928, "Actual Loops": 1}], "Plans": [{"Node Type": "Hash Join", "Parent Relationship": "Outer", "Parallel Aware": false, "Join Type": "Inner", "Startup Cost": 1.4, "Total Cost": 4403.27, "Plan Rows": 5000, "Plan Width": 30, "Actual Startup Time": 0.088, "Actual Total Time": 16.406, "Actual Rows": 3987, "Actual Loops": 3, "Output": ["customer.c_custkey", "n2.n_name"], "Inner Unique": true, "Hash Cond": "(customer.c_nationkey = n2.n_nationkey)", "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.118, "Actual Total Time": 4.304, "Actual Rows": 918, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 0.117, "Actual Total Time": 4.341, "Actual Rows": 907, "Actual Loops": 1}], "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": true, "Relation Name": "customer", "Schema": "public", "Alias": "customer", "Startup Cost": 0.0, "Total Cost": 4210.0, "Plan Rows": 62500, "Plan Width": 8, "Actual Startup Time": 0.017, "Actual Total Time": 5.029, "Actual Rows": 50000, "Actual Loops": 3, "Output": ["customer.c_custkey", "customer.c_name", "customer.c_address", "customer.c_nationkey", "customer.c_phone", "customer.c_acctbal", "customer.c_mktsegment", "customer.c_comment"], "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.022, "Actual Total Time": 1.488, "Actual Rows": 11169, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 0.023, "Actual Total Time": 1.531, "Actual Rows": 11228, "Actual Loops": 1}]}, {"Node Type": "Hash", "Parent Relationship": "Inner", "Parallel Aware": false, "Startup Cost": 1.38, "Total Cost": 1.38, "Plan Rows": 2, "Plan Width": 30, "Actual Startup Time": 0.028, "Actual Total Time": 0.029, "Actual Rows": 2, "Actual Loops": 3, "Output": ["n2.n_name", "n2.n_nationkey"], "Hash Buckets": 1024, "Original Hash Buckets": 1024, "Hash Batches": 1, "Original Hash Batches": 1, "Peak Memory Usage": 9, "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.034, "Actual Total Time": 0.035, "Actual Rows": 2, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 0.036, "Actual Total Time": 0.037, "Actual Rows": 2, "Actual Loops": 1}], "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Relation Name": "nation", "Schema": "public", "Alias": "n2", "Startup Cost": 0.0, "Total Cost": 1.38, "Plan Rows": 2, "Plan Width": 30, "Actual Startup Time": 0.017, "Actual Total Time": 0.022, "Actual Rows": 2, "Actual Loops": 3, "Output": ["n2.n_name", "n2.n_nationkey"], "Filter": "((n2.n_name = 'ETHIOPIA'::bpchar) OR (n2.n_name = 'IRAN'::bpchar))", "Rows Removed by Filter": 23, "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.022, "Actual Total Time": 0.027, "Actual Rows": 2, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 0.023, "Actual Total Time": 0.028, "Actual Rows": 2, "Actual Loops": 1}]}]}]}, {"Node Type": "Index Scan", "Parent Relationship": "Inner", "Parallel Aware": false, "Scan Direction": "Forward", "Index Name": "o_ck", "Relation Name": "orders", "Schema": "public", "Alias": "orders", "Startup Cost": 0.43, "Total Cost": 0.93, "Plan Rows": 16, "Plan Width": 8, "Actual Startup Time": 0.004, "Actual Total Time": 0.014, "Actual Rows": 10, "Actual Loops": 11961, "Output": ["orders.o_orderkey", "orders.o_custkey", "orders.o_orderstatus", "orders.o_totalprice", "orders.o_orderdate", "orders.o_orderpriority", "orders.o_clerk", "orders.o_shippriority", "orders.o_comment"], "Index Cond": "(orders.o_custkey = customer.c_custkey)", "Rows Removed by Index Recheck": 0, "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.005, "Actual Total Time": 0.026, "Actual Rows": 10, "Actual Loops": 918}, {"Worker Number": 1, "Actual Startup Time": 0.005, "Actual Total Time": 0.027, "Actual Rows": 10, "Actual Loops": 907}]}]}, {"Node Type": "Hash", "Parent Relationship": "Inner", "Parallel Aware": false, "Startup Cost": 23864.11, "Total Cost": 23864.11, "Plan Rows": 146464, "Plan Width": 46, "Actual Startup Time": 742.549, "Actual Total Time": 742.552, "Actual Rows": 140959, "Actual Loops": 3, "Output": ["lineitem.l_shipdate", "lineitem.l_extendedprice", "lineitem.l_discount", "lineitem.l_orderkey", "n1.n_name"], "Hash Buckets": 262144, "Original Hash Buckets": 262144, "Hash Batches": 1, "Original Hash Batches": 1, "Peak Memory Usage": 13200, "Workers": [{"Worker Number": 0, "Actual Startup Time": 798.526, "Actual Total Time": 798.53, "Actual Rows": 140959, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 798.675, "Actual Total Time": 798.678, "Actual Rows": 140959, "Actual Loops": 1}], "Plans": [{"Node Type": "Nested Loop", "Parent Relationship": "Outer", "Parallel Aware": false, "Join Type": "Inner", "Startup Cost": 6.02, "Total Cost": 23864.11, "Plan Rows": 146464, "Plan Width": 46, "Actual Startup Time": 0.182, "Actual Total Time": 690.805, "Actual Rows": 140959, "Actual Loops": 3, "Output": ["lineitem.l_shipdate", "lineitem.l_extendedprice", "lineitem.l_discount", "lineitem.l_orderkey", "n1.n_name"], "Inner Unique": false, "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.233, "Actual Total Time": 740.377, "Actual Rows": 140959, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 0.222, "Actual Total Time": 740.797, "Actual Rows": 140959, "Actual Loops": 1}], "Plans": [{"Node Type": "Nested Loop", "Parent Relationship": "Outer", "Parallel Aware": false, "Join Type": "Inner", "Startup Cost": 5.58, "Total Cost": 259.05, "Plan Rows": 800, "Plan Width": 30, "Actual Startup Time": 0.108, "Actual Total Time": 1.415, "Actual Rows": 773, "Actual Loops": 3, "Output": ["supplier.s_suppkey", "n1.n_name"], "Inner Unique": false, "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.123, "Actual Total Time": 1.537, "Actual Rows": 773, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 0.124, "Actual Total Time": 1.572, "Actual Rows": 773, "Actual Loops": 1}], "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Relation Name": "nation", "Schema": "public", "Alias": "n1", "Startup Cost": 0.0, "Total Cost": 1.38, "Plan Rows": 2, "Plan Width": 30, "Actual Startup Time": 0.005, "Actual Total Time": 0.015, "Actual Rows": 2, "Actual Loops": 3, "Output": ["n1.n_nationkey", "n1.n_name", "n1.n_regionkey", "n1.n_comment"], "Filter": "((n1.n_name = 'IRAN'::bpchar) OR (n1.n_name = 'ETHIOPIA'::bpchar))", "Rows Removed by Filter": 23, "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.005, "Actual Total Time": 0.016, "Actual Rows": 2, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 0.006, "Actual Total Time": 0.016, "Actual Rows": 2, "Actual Loops": 1}]}, {"Node Type": "Bitmap Heap Scan", "Parent Relationship": "Inner", "Parallel Aware": false, "Relation Name": "supplier", "Schema": "public", "Alias": "supplier", "Startup Cost": 5.58, "Total Cost": 124.84, "Plan Rows": 400, "Plan Width": 8, "Actual Startup Time": 0.083, "Actual Total Time": 0.611, "Actual Rows": 386, "Actual Loops": 6, "Output": ["supplier.s_suppkey", "supplier.s_name", "supplier.s_address", "supplier.s_nationkey", "supplier.s_phone", "supplier.s_acctbal", "supplier.s_comment"], "Recheck Cond": "(supplier.s_nationkey = n1.n_nationkey)", "Rows Removed by Index Recheck": 0, "Exact Heap Blocks": 371, "Lossy Heap Blocks": 0, "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.092, "Actual Total Time": 0.672, "Actual Rows": 386, "Actual Loops": 2}, {"Worker Number": 1, "Actual Startup Time": 0.092, "Actual Total Time": 0.689, "Actual Rows": 386, "Actual Loops": 2}], "Plans": [{"Node Type": "Bitmap Index Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Index Name": "s_nk", "Startup Cost": 0.0, "Total Cost": 5.49, "Plan Rows": 400, "Plan Width": 0, "Actual Startup Time": 0.052, "Actual Total Time": 0.052, "Actual Rows": 386, "Actual Loops": 6, "Index Cond": "(supplier.s_nationkey = n1.n_nationkey)", "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.058, "Actual Total Time": 0.059, "Actual Rows": 386, "Actual Loops": 2}, {"Worker Number": 1, "Actual Startup Time": 0.058, "Actual Total Time": 0.059, "Actual Rows": 386, "Actual Loops": 2}]}]}]}, {"Node Type": "Index Scan", "Parent Relationship": "Inner", "Parallel Aware": false, "Scan Direction": "Forward", "Index Name": "l_sk", "Relation Name": "lineitem", "Schema": "public", "Alias": "lineitem", "Startup Cost": 0.43, "Total Cost": 27.68, "Plan Rows": 183, "Plan Width": 24, "Actual Startup Time": 0.019, "Actual Total Time": 0.868, "Actual Rows": 182, "Actual Loops": 2319, "Output": ["lineitem.l_orderkey", "lineitem.l_partkey", "lineitem.l_suppkey", "lineitem.l_linenumber", "lineitem.l_quantity", "lineitem.l_extendedprice", "lineitem.l_discount", "lineitem.l_tax", "lineitem.l_returnflag", "lineitem.l_linestatus", "lineitem.l_shipdate", "lineitem.l_commitdate", "lineitem.l_receiptdate", "lineitem.l_shipinstruct", "lineitem.l_shipmode", "lineitem.l_comment"], "Index Cond": "(lineitem.l_suppkey = supplier.s_suppkey)", "Rows Removed by Index Recheck": 0, "Filter": "((lineitem.l_shipdate >= '1995-01-01'::date) AND (lineitem.l_shipdate <= '1996-12-31'::date))", "Rows Removed by Filter": 417, "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.022, "Actual Total Time": 0.932, "Actual Rows": 182, "Actual Loops": 773}, {"Worker Number": 1, "Actual Startup Time": 0.023, "Actual Total Time": 0.933, "Actual Rows": 182, "Actual Loops": 773}]}]}]}]}]}]}]}]}, "Planning Time": 1.79, "Triggers": [], "Execution Time": 886.567} diff --git a/dev9/pg11/tpch/sf_1/explain_analyze/15721/8-1.ok b/dev9/pg11/tpch/sf_1/explain_analyze/15721/8-1.ok new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/dev9/pg11/tpch/sf_1/explain_analyze/15721/8-1.res b/dev9/pg11/tpch/sf_1/explain_analyze/15721/8-1.res new file mode 100644 index 0000000000000000000000000000000000000000..9048ae8923d320a9120d2217f43858d836ab8568 --- /dev/null +++ b/dev9/pg11/tpch/sf_1/explain_analyze/15721/8-1.res @@ -0,0 +1 @@ +{"Plan": {"Node Type": "Aggregate", "Strategy": "Sorted", "Partial Mode": "Finalize", "Parallel Aware": false, "Startup Cost": 33876.42, "Total Cost": 34239.05, "Plan Rows": 2406, "Plan Width": 40, "Actual Startup Time": 169.294, "Actual Total Time": 196.389, "Actual Rows": 2, "Actual Loops": 1, "Output": ["(date_part('year'::text, (orders.o_orderdate)::timestamp without time zone))", "(sum(CASE WHEN (n2.n_name = 'ETHIOPIA'::bpchar) THEN (lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount)) ELSE '0'::numeric END) / sum((lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount))))"], "Group Key": ["(date_part('year'::text, (orders.o_orderdate)::timestamp without time zone))"], "Plans": [{"Node Type": "Gather Merge", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 33876.42, "Total Cost": 34159.07, "Plan Rows": 2068, "Plan Width": 72, "Actual Startup Time": 168.897, "Actual Total Time": 196.366, "Actual Rows": 6, "Actual Loops": 1, "Output": ["(date_part('year'::text, (orders.o_orderdate)::timestamp without time zone))", "(PARTIAL sum(CASE WHEN (n2.n_name = 'ETHIOPIA'::bpchar) THEN (lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount)) ELSE '0'::numeric END))", "(PARTIAL sum((lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount))))"], "Workers Planned": 2, "Workers Launched": 2, "Plans": [{"Node Type": "Aggregate", "Strategy": "Sorted", "Partial Mode": "Partial", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 32876.4, "Total Cost": 32920.34, "Plan Rows": 1034, "Plan Width": 72, "Actual Startup Time": 164.912, "Actual Total Time": 165.184, "Actual Rows": 2, "Actual Loops": 3, "Output": ["(date_part('year'::text, (orders.o_orderdate)::timestamp without time zone))", "PARTIAL sum(CASE WHEN (n2.n_name = 'ETHIOPIA'::bpchar) THEN (lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount)) ELSE '0'::numeric END)", "PARTIAL sum((lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount)))"], "Group Key": ["(date_part('year'::text, (orders.o_orderdate)::timestamp without time zone))"], "Workers": [{"Worker Number": 0, "Actual Startup Time": 163.073, "Actual Total Time": 163.296, "Actual Rows": 2, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 163.417, "Actual Total Time": 163.625, "Actual Rows": 2, "Actual Loops": 1}], "Plans": [{"Node Type": "Sort", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 32876.4, "Total Cost": 32878.98, "Plan Rows": 1034, "Plan Width": 46, "Actual Startup Time": 164.638, "Actual Total Time": 164.694, "Actual Rows": 809, "Actual Loops": 3, "Output": ["(date_part('year'::text, (orders.o_orderdate)::timestamp without time zone))", "n2.n_name", "lineitem.l_extendedprice", "lineitem.l_discount"], "Sort Key": ["(date_part('year'::text, (orders.o_orderdate)::timestamp without time zone))"], "Sort Method": "quicksort", "Sort Space Used": 135, "Sort Space Type": "Memory", "Workers": [{"Worker Number": 0, "Actual Startup Time": 162.837, "Actual Total Time": 162.883, "Actual Rows": 674, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 163.195, "Actual Total Time": 163.238, "Actual Rows": 639, "Actual Loops": 1}], "Plans": [{"Node Type": "Hash Join", "Parent Relationship": "Outer", "Parallel Aware": false, "Join Type": "Inner", "Startup Cost": 2060.15, "Total Cost": 32824.63, "Plan Rows": 1034, "Plan Width": 46, "Actual Startup Time": 35.102, "Actual Total Time": 164.357, "Actual Rows": 809, "Actual Loops": 3, "Output": ["date_part('year'::text, (orders.o_orderdate)::timestamp without time zone)", "n2.n_name", "lineitem.l_extendedprice", "lineitem.l_discount"], "Inner Unique": true, "Hash Cond": "(supplier.s_nationkey = n2.n_nationkey)", "Workers": [{"Worker Number": 0, "Actual Startup Time": 38.641, "Actual Total Time": 162.566, "Actual Rows": 674, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 39.536, "Actual Total Time": 162.943, "Actual Rows": 639, "Actual Loops": 1}], "Plans": [{"Node Type": "Nested Loop", "Parent Relationship": "Outer", "Parallel Aware": false, "Join Type": "Inner", "Startup Cost": 2058.59, "Total Cost": 32814.72, "Plan Rows": 1034, "Plan Width": 20, "Actual Startup Time": 35.027, "Actual Total Time": 163.872, "Actual Rows": 809, "Actual Loops": 3, "Output": ["lineitem.l_extendedprice", "lineitem.l_discount", "supplier.s_nationkey", "orders.o_orderdate"], "Inner Unique": true, "Workers": [{"Worker Number": 0, "Actual Startup Time": 38.539, "Actual Total Time": 162.104, "Actual Rows": 674, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 39.438, "Actual Total Time": 162.496, "Actual Rows": 639, "Actual Loops": 1}], "Plans": [{"Node Type": "Hash Join", "Parent Relationship": "Outer", "Parallel Aware": false, "Join Type": "Inner", "Startup Cost": 2058.3, "Total Cost": 32501.89, "Plan Rows": 1034, "Plan Width": 20, "Actual Startup Time": 35.002, "Actual Total Time": 161.157, "Actual Rows": 809, "Actual Loops": 3, "Output": ["lineitem.l_extendedprice", "lineitem.l_discount", "lineitem.l_suppkey", "orders.o_orderdate"], "Inner Unique": false, "Hash Cond": "(orders.o_custkey = customer.c_custkey)", "Workers": [{"Worker Number": 0, "Actual Startup Time": 38.506, "Actual Total Time": 159.753, "Actual Rows": 674, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 39.407, "Actual Total Time": 160.276, "Actual Rows": 639, "Actual Loops": 1}], "Plans": [{"Node Type": "Nested Loop", "Parent Relationship": "Outer", "Parallel Aware": false, "Join Type": "Inner", "Startup Cost": 0.86, "Total Cost": 30414.72, "Plan Rows": 5170, "Plan Width": 24, "Actual Startup Time": 0.161, "Actual Total Time": 125.129, "Actual Rows": 4114, "Actual Loops": 3, "Output": ["lineitem.l_extendedprice", "lineitem.l_discount", "lineitem.l_suppkey", "orders.o_orderdate", "orders.o_custkey"], "Inner Unique": true, "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.175, "Actual Total Time": 119.992, "Actual Rows": 3347, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 0.202, "Actual Total Time": 120.404, "Actual Rows": 3337, "Actual Loops": 1}], "Plans": [{"Node Type": "Nested Loop", "Parent Relationship": "Outer", "Parallel Aware": false, "Join Type": "Inner", "Startup Cost": 0.43, "Total Cost": 22697.46, "Plan Rows": 16941, "Plan Width": 20, "Actual Startup Time": 0.089, "Actual Total Time": 53.367, "Actual Rows": 13553, "Actual Loops": 3, "Output": ["lineitem.l_extendedprice", "lineitem.l_discount", "lineitem.l_suppkey", "lineitem.l_orderkey"], "Inner Unique": false, "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.103, "Actual Total Time": 54.924, "Actual Rows": 10892, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 0.134, "Actual Total Time": 54.834, "Actual Rows": 11032, "Actual Loops": 1}], "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": true, "Relation Name": "part", "Schema": "public", "Alias": "part", "Startup Cost": 0.0, "Total Cost": 5138.67, "Plan Rows": 565, "Plan Width": 4, "Actual Startup Time": 0.025, "Actual Total Time": 13.911, "Actual Rows": 451, "Actual Loops": 3, "Output": ["part.p_partkey", "part.p_name", "part.p_mfgr", "part.p_brand", "part.p_type", "part.p_size", "part.p_container", "part.p_retailprice", "part.p_comment"], "Filter": "((part.p_type)::text = 'SMALL BRUSHED NICKEL'::text)", "Rows Removed by Filter": 66216, "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.021, "Actual Total Time": 10.863, "Actual Rows": 365, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 0.042, "Actual Total Time": 10.649, "Actual Rows": 364, "Actual Loops": 1}]}, {"Node Type": "Index Scan", "Parent Relationship": "Inner", "Parallel Aware": false, "Scan Direction": "Forward", "Index Name": "l_pk", "Relation Name": "lineitem", "Schema": "public", "Alias": "lineitem", "Startup Cost": 0.43, "Total Cost": 30.77, "Plan Rows": 31, "Plan Width": 24, "Actual Startup Time": 0.01, "Actual Total Time": 0.08, "Actual Rows": 30, "Actual Loops": 1352, "Output": ["lineitem.l_orderkey", "lineitem.l_partkey", "lineitem.l_suppkey", "lineitem.l_linenumber", "lineitem.l_quantity", "lineitem.l_extendedprice", "lineitem.l_discount", "lineitem.l_tax", "lineitem.l_returnflag", "lineitem.l_linestatus", "lineitem.l_shipdate", "lineitem.l_commitdate", "lineitem.l_receiptdate", "lineitem.l_shipinstruct", "lineitem.l_shipmode", "lineitem.l_comment"], "Index Cond": "(lineitem.l_partkey = part.p_partkey)", "Rows Removed by Index Recheck": 0, "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.012, "Actual Total Time": 0.114, "Actual Rows": 30, "Actual Loops": 365}, {"Worker Number": 1, "Actual Startup Time": 0.013, "Actual Total Time": 0.114, "Actual Rows": 30, "Actual Loops": 364}]}]}, {"Node Type": "Index Scan", "Parent Relationship": "Inner", "Parallel Aware": false, "Scan Direction": "Forward", "Index Name": "o_ok", "Relation Name": "orders", "Schema": "public", "Alias": "orders", "Startup Cost": 0.43, "Total Cost": 0.46, "Plan Rows": 1, "Plan Width": 12, "Actual Startup Time": 0.005, "Actual Total Time": 0.005, "Actual Rows": 0, "Actual Loops": 40658, "Output": ["orders.o_orderkey", "orders.o_custkey", "orders.o_orderstatus", "orders.o_totalprice", "orders.o_orderdate", "orders.o_orderpriority", "orders.o_clerk", "orders.o_shippriority", "orders.o_comment"], "Index Cond": "(orders.o_orderkey = lineitem.l_orderkey)", "Rows Removed by Index Recheck": 0, "Filter": "((orders.o_orderdate >= '1995-01-01'::date) AND (orders.o_orderdate <= '1996-12-31'::date))", "Rows Removed by Filter": 1, "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.006, "Actual Total Time": 0.006, "Actual Rows": 0, "Actual Loops": 10892}, {"Worker Number": 1, "Actual Startup Time": 0.006, "Actual Total Time": 0.006, "Actual Rows": 0, "Actual Loops": 11032}]}]}, {"Node Type": "Hash", "Parent Relationship": "Inner", "Parallel Aware": false, "Startup Cost": 1682.44, "Total Cost": 1682.44, "Plan Rows": 30000, "Plan Width": 4, "Actual Startup Time": 34.295, "Actual Total Time": 34.297, "Actual Rows": 29764, "Actual Loops": 3, "Output": ["customer.c_custkey"], "Hash Buckets": 32768, "Original Hash Buckets": 32768, "Hash Batches": 1, "Original Hash Batches": 1, "Peak Memory Usage": 1303, "Workers": [{"Worker Number": 0, "Actual Startup Time": 38.019, "Actual Total Time": 38.022, "Actual Rows": 29764, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 38.178, "Actual Total Time": 38.181, "Actual Rows": 29764, "Actual Loops": 1}], "Plans": [{"Node Type": "Nested Loop", "Parent Relationship": "Outer", "Parallel Aware": false, "Join Type": "Inner", "Startup Cost": 0.56, "Total Cost": 1682.44, "Plan Rows": 30000, "Plan Width": 4, "Actual Startup Time": 0.111, "Actual Total Time": 28.921, "Actual Rows": 29764, "Actual Loops": 3, "Output": ["customer.c_custkey"], "Inner Unique": false, "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.154, "Actual Total Time": 32.279, "Actual Rows": 29764, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 0.146, "Actual Total Time": 32.421, "Actual Rows": 29764, "Actual Loops": 1}], "Plans": [{"Node Type": "Nested Loop", "Parent Relationship": "Outer", "Parallel Aware": false, "Join Type": "Inner", "Startup Cost": 0.14, "Total Cost": 5.25, "Plan Rows": 5, "Plan Width": 4, "Actual Startup Time": 0.042, "Actual Total Time": 0.066, "Actual Rows": 5, "Actual Loops": 3, "Output": ["n1.n_nationkey"], "Inner Unique": true, "Join Filter": "(n1.n_regionkey = region.r_regionkey)", "Rows Removed by Join Filter": 20, "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.058, "Actual Total Time": 0.082, "Actual Rows": 5, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 0.058, "Actual Total Time": 0.083, "Actual Rows": 5, "Actual Loops": 1}], "Plans": [{"Node Type": "Index Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Scan Direction": "Forward", "Index Name": "n_nk", "Relation Name": "nation", "Schema": "public", "Alias": "n1", "Startup Cost": 0.14, "Total Cost": 3.81, "Plan Rows": 25, "Plan Width": 8, "Actual Startup Time": 0.019, "Actual Total Time": 0.026, "Actual Rows": 25, "Actual Loops": 3, "Output": ["n1.n_nationkey", "n1.n_name", "n1.n_regionkey", "n1.n_comment"], "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.027, "Actual Total Time": 0.035, "Actual Rows": 25, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 0.027, "Actual Total Time": 0.035, "Actual Rows": 25, "Actual Loops": 1}]}, {"Node Type": "Materialize", "Parent Relationship": "Inner", "Parallel Aware": false, "Startup Cost": 0.0, "Total Cost": 1.07, "Plan Rows": 1, "Plan Width": 4, "Actual Startup Time": 0.001, "Actual Total Time": 0.001, "Actual Rows": 1, "Actual Loops": 75, "Output": ["region.r_regionkey"], "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.001, "Actual Total Time": 0.001, "Actual Rows": 1, "Actual Loops": 25}, {"Worker Number": 1, "Actual Startup Time": 0.001, "Actual Total Time": 0.001, "Actual Rows": 1, "Actual Loops": 25}], "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Relation Name": "region", "Schema": "public", "Alias": "region", "Startup Cost": 0.0, "Total Cost": 1.06, "Plan Rows": 1, "Plan Width": 4, "Actual Startup Time": 0.018, "Actual Total Time": 0.02, "Actual Rows": 1, "Actual Loops": 3, "Output": ["region.r_regionkey"], "Filter": "(region.r_name = 'AFRICA'::bpchar)", "Rows Removed by Filter": 4, "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.025, "Actual Total Time": 0.027, "Actual Rows": 1, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 0.025, "Actual Total Time": 0.027, "Actual Rows": 1, "Actual Loops": 1}]}]}]}, {"Node Type": "Index Scan", "Parent Relationship": "Inner", "Parallel Aware": false, "Scan Direction": "Forward", "Index Name": "c_nk", "Relation Name": "customer", "Schema": "public", "Alias": "customer", "Startup Cost": 0.42, "Total Cost": 275.44, "Plan Rows": 6000, "Plan Width": 8, "Actual Startup Time": 0.022, "Actual Total Time": 4.982, "Actual Rows": 5953, "Actual Loops": 15, "Output": ["customer.c_custkey", "customer.c_name", "customer.c_address", "customer.c_nationkey", "customer.c_phone", "customer.c_acctbal", "customer.c_mktsegment", "customer.c_comment"], "Index Cond": "(customer.c_nationkey = n1.n_nationkey)", "Rows Removed by Index Recheck": 0, "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.029, "Actual Total Time": 5.661, "Actual Rows": 5953, "Actual Loops": 5}, {"Worker Number": 1, "Actual Startup Time": 0.027, "Actual Total Time": 5.683, "Actual Rows": 5953, "Actual Loops": 5}]}]}]}]}, {"Node Type": "Index Scan", "Parent Relationship": "Inner", "Parallel Aware": false, "Scan Direction": "Forward", "Index Name": "s_sk", "Relation Name": "supplier", "Schema": "public", "Alias": "supplier", "Startup Cost": 0.29, "Total Cost": 0.3, "Plan Rows": 1, "Plan Width": 8, "Actual Startup Time": 0.003, "Actual Total Time": 0.003, "Actual Rows": 1, "Actual Loops": 2426, "Output": ["supplier.s_suppkey", "supplier.s_name", "supplier.s_address", "supplier.s_nationkey", "supplier.s_phone", "supplier.s_acctbal", "supplier.s_comment"], "Index Cond": "(supplier.s_suppkey = lineitem.l_suppkey)", "Rows Removed by Index Recheck": 0, "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.003, "Actual Total Time": 0.003, "Actual Rows": 1, "Actual Loops": 674}, {"Worker Number": 1, "Actual Startup Time": 0.003, "Actual Total Time": 0.003, "Actual Rows": 1, "Actual Loops": 639}]}]}, {"Node Type": "Hash", "Parent Relationship": "Inner", "Parallel Aware": false, "Startup Cost": 1.25, "Total Cost": 1.25, "Plan Rows": 25, "Plan Width": 30, "Actual Startup Time": 0.031, "Actual Total Time": 0.032, "Actual Rows": 25, "Actual Loops": 3, "Output": ["n2.n_name", "n2.n_nationkey"], "Hash Buckets": 1024, "Original Hash Buckets": 1024, "Hash Batches": 1, "Original Hash Batches": 1, "Peak Memory Usage": 10, "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.037, "Actual Total Time": 0.038, "Actual Rows": 25, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 0.039, "Actual Total Time": 0.04, "Actual Rows": 25, "Actual Loops": 1}], "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Relation Name": "nation", "Schema": "public", "Alias": "n2", "Startup Cost": 0.0, "Total Cost": 1.25, "Plan Rows": 25, "Plan Width": 30, "Actual Startup Time": 0.016, "Actual Total Time": 0.021, "Actual Rows": 25, "Actual Loops": 3, "Output": ["n2.n_name", "n2.n_nationkey"], "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.021, "Actual Total Time": 0.025, "Actual Rows": 25, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 0.021, "Actual Total Time": 0.027, "Actual Rows": 25, "Actual Loops": 1}]}]}]}]}]}]}]}, "Planning Time": 2.554, "Triggers": [], "Execution Time": 196.493} diff --git a/dev9/pg11/tpch/sf_1/explain_analyze/15721/9-1.ok b/dev9/pg11/tpch/sf_1/explain_analyze/15721/9-1.ok new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/dev9/pg11/tpch/sf_1/explain_analyze/15721/9-1.res b/dev9/pg11/tpch/sf_1/explain_analyze/15721/9-1.res new file mode 100644 index 0000000000000000000000000000000000000000..c612865eec45f8d8e78aac033dcdc990796ea0ea --- /dev/null +++ b/dev9/pg11/tpch/sf_1/explain_analyze/15721/9-1.res @@ -0,0 +1 @@ +{"Plan": {"Node Type": "Sort", "Parallel Aware": false, "Startup Cost": 85441.69, "Total Cost": 85592.06, "Plan Rows": 60150, "Plan Width": 66, "Actual Startup Time": 638.362, "Actual Total Time": 684.353, "Actual Rows": 175, "Actual Loops": 1, "Output": ["nation.n_name", "(date_part('year'::text, (orders.o_orderdate)::timestamp without time zone))", "(sum(((lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount)) - (partsupp.ps_supplycost * lineitem.l_quantity))))"], "Sort Key": ["nation.n_name", "(date_part('year'::text, (orders.o_orderdate)::timestamp without time zone)) DESC"], "Sort Method": "quicksort", "Sort Space Used": 49, "Sort Space Type": "Memory", "Plans": [{"Node Type": "Aggregate", "Strategy": "Hashed", "Partial Mode": "Finalize", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 79614.27, "Total Cost": 80666.9, "Plan Rows": 60150, "Plan Width": 66, "Actual Startup Time": 637.679, "Actual Total Time": 684.116, "Actual Rows": 175, "Actual Loops": 1, "Output": ["nation.n_name", "(date_part('year'::text, (orders.o_orderdate)::timestamp without time zone))", "sum(((lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount)) - (partsupp.ps_supplycost * lineitem.l_quantity)))"], "Group Key": ["nation.n_name", "(date_part('year'::text, (orders.o_orderdate)::timestamp without time zone))"], "Plans": [{"Node Type": "Gather", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 58712.15, "Total Cost": 77809.77, "Plan Rows": 180450, "Plan Width": 66, "Actual Startup Time": 632.248, "Actual Total Time": 683.02, "Actual Rows": 700, "Actual Loops": 1, "Output": ["nation.n_name", "(date_part('year'::text, (orders.o_orderdate)::timestamp without time zone))", "(PARTIAL sum(((lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount)) - (partsupp.ps_supplycost * lineitem.l_quantity))))"], "Workers Planned": 3, "Workers Launched": 3, "Single Copy": false, "Plans": [{"Node Type": "Aggregate", "Strategy": "Hashed", "Partial Mode": "Partial", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 57712.15, "Total Cost": 58764.77, "Plan Rows": 60150, "Plan Width": 66, "Actual Startup Time": 626.169, "Actual Total Time": 626.775, "Actual Rows": 175, "Actual Loops": 4, "Output": ["nation.n_name", "(date_part('year'::text, (orders.o_orderdate)::timestamp without time zone))", "PARTIAL sum(((lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount)) - (partsupp.ps_supplycost * lineitem.l_quantity)))"], "Group Key": ["nation.n_name", "date_part('year'::text, (orders.o_orderdate)::timestamp without time zone)"], "Workers": [{"Worker Number": 0, "Actual Startup Time": 623.992, "Actual Total Time": 624.642, "Actual Rows": 175, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 624.657, "Actual Total Time": 625.285, "Actual Rows": 175, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 624.384, "Actual Total Time": 625.012, "Actual Rows": 175, "Actual Loops": 1}], "Plans": [{"Node Type": "Hash Join", "Parent Relationship": "Outer", "Parallel Aware": true, "Join Type": "Inner", "Startup Cost": 22687.84, "Total Cost": 56218.47, "Plan Rows": 85353, "Plan Width": 57, "Actual Startup Time": 307.686, "Actual Total Time": 541.775, "Actual Rows": 80496, "Actual Loops": 4, "Output": ["nation.n_name", "date_part('year'::text, (orders.o_orderdate)::timestamp without time zone)", "lineitem.l_extendedprice", "lineitem.l_discount", "partsupp.ps_supplycost", "lineitem.l_quantity"], "Inner Unique": false, "Hash Cond": "(orders.o_orderkey = lineitem.l_orderkey)", "Workers": [{"Worker Number": 0, "Actual Startup Time": 305.626, "Actual Total Time": 540.824, "Actual Rows": 79162, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 305.744, "Actual Total Time": 540.127, "Actual Rows": 80095, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 306.056, "Actual Total Time": 540.219, "Actual Rows": 80557, "Actual Loops": 1}], "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": true, "Relation Name": "orders", "Schema": "public", "Alias": "orders", "Startup Cost": 0.0, "Total Cost": 30933.71, "Plan Rows": 483871, "Plan Width": 8, "Actual Startup Time": 0.014, "Actual Total Time": 41.116, "Actual Rows": 375000, "Actual Loops": 4, "Output": ["orders.o_orderkey", "orders.o_custkey", "orders.o_orderstatus", "orders.o_totalprice", "orders.o_orderdate", "orders.o_orderpriority", "orders.o_clerk", "orders.o_shippriority", "orders.o_comment"], "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.017, "Actual Total Time": 42.135, "Actual Rows": 370327, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 0.017, "Actual Total Time": 42.511, "Actual Rows": 371231, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 0.015, "Actual Total Time": 42.473, "Actual Rows": 374153, "Actual Loops": 1}]}, {"Node Type": "Hash", "Parent Relationship": "Inner", "Parallel Aware": true, "Startup Cost": 21309.74, "Total Cost": 21309.74, "Plan Rows": 110248, "Plan Width": 53, "Actual Startup Time": 306.488, "Actual Total Time": 306.495, "Actual Rows": 80496, "Actual Loops": 4, "Output": ["lineitem.l_extendedprice", "lineitem.l_discount", "lineitem.l_quantity", "lineitem.l_orderkey", "partsupp.ps_supplycost", "nation.n_name"], "Hash Buckets": 524288, "Original Hash Buckets": 524288, "Hash Batches": 1, "Original Hash Batches": 1, "Peak Memory Usage": 34336, "Workers": [{"Worker Number": 0, "Actual Startup Time": 305.539, "Actual Total Time": 305.546, "Actual Rows": 74592, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 305.659, "Actual Total Time": 305.665, "Actual Rows": 74261, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 305.917, "Actual Total Time": 305.924, "Actual Rows": 74602, "Actual Loops": 1}], "Plans": [{"Node Type": "Nested Loop", "Parent Relationship": "Outer", "Parallel Aware": false, "Join Type": "Inner", "Startup Cost": 449.42, "Total Cost": 21309.74, "Plan Rows": 110248, "Plan Width": 53, "Actual Startup Time": 5.127, "Actual Total Time": 251.143, "Actual Rows": 80496, "Actual Loops": 4, "Output": ["lineitem.l_extendedprice", "lineitem.l_discount", "lineitem.l_quantity", "lineitem.l_orderkey", "partsupp.ps_supplycost", "nation.n_name"], "Inner Unique": false, "Join Filter": "(supplier.s_suppkey = lineitem.l_suppkey)", "Rows Removed by Join Filter": 0, "Workers": [{"Worker Number": 0, "Actual Startup Time": 5.307, "Actual Total Time": 251.921, "Actual Rows": 74592, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 5.424, "Actual Total Time": 251.564, "Actual Rows": 74261, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 5.683, "Actual Total Time": 251.876, "Actual Rows": 74602, "Actual Loops": 1}], "Plans": [{"Node Type": "Hash Join", "Parent Relationship": "Outer", "Parallel Aware": false, "Join Type": "Inner", "Startup Cost": 448.99, "Total Cost": 11869.56, "Plan Rows": 14697, "Plan Width": 48, "Actual Startup Time": 5.061, "Actual Total Time": 51.385, "Actual Rows": 10737, "Actual Loops": 4, "Output": ["part.p_partkey", "partsupp.ps_supplycost", "partsupp.ps_suppkey", "partsupp.ps_partkey", "supplier.s_suppkey", "nation.n_name"], "Inner Unique": true, "Hash Cond": "(supplier.s_nationkey = nation.n_nationkey)", "Workers": [{"Worker Number": 0, "Actual Startup Time": 5.223, "Actual Total Time": 50.353, "Actual Rows": 9920, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 5.341, "Actual Total Time": 51.465, "Actual Rows": 9932, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 5.598, "Actual Total Time": 51.194, "Actual Rows": 9996, "Actual Loops": 1}], "Plans": [{"Node Type": "Hash Join", "Parent Relationship": "Outer", "Parallel Aware": false, "Join Type": "Inner", "Startup Cost": 447.43, "Total Cost": 11822.88, "Plan Rows": 14697, "Plan Width": 26, "Actual Startup Time": 5.013, "Actual Total Time": 48.394, "Actual Rows": 10737, "Actual Loops": 4, "Output": ["part.p_partkey", "partsupp.ps_supplycost", "partsupp.ps_suppkey", "partsupp.ps_partkey", "supplier.s_suppkey", "supplier.s_nationkey"], "Inner Unique": true, "Hash Cond": "(partsupp.ps_suppkey = supplier.s_suppkey)", "Workers": [{"Worker Number": 0, "Actual Startup Time": 5.169, "Actual Total Time": 47.583, "Actual Rows": 9920, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 5.287, "Actual Total Time": 48.687, "Actual Rows": 9932, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 5.544, "Actual Total Time": 48.411, "Actual Rows": 9996, "Actual Loops": 1}], "Plans": [{"Node Type": "Nested Loop", "Parent Relationship": "Outer", "Parallel Aware": false, "Join Type": "Inner", "Startup Cost": 0.42, "Total Cost": 11337.29, "Plan Rows": 14697, "Plan Width": 18, "Actual Startup Time": 0.079, "Actual Total Time": 37.292, "Actual Rows": 10737, "Actual Loops": 4, "Output": ["part.p_partkey", "partsupp.ps_supplycost", "partsupp.ps_suppkey", "partsupp.ps_partkey"], "Inner Unique": false, "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.098, "Actual Total Time": 36.174, "Actual Rows": 9920, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 0.098, "Actual Total Time": 37.211, "Actual Rows": 9932, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 0.096, "Actual Total Time": 36.685, "Actual Rows": 9996, "Actual Loops": 1}], "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": true, "Relation Name": "part", "Schema": "public", "Alias": "part", "Startup Cost": 0.0, "Total Cost": 5138.67, "Plan Rows": 3674, "Plan Width": 4, "Actual Startup Time": 0.02, "Actual Total Time": 15.809, "Actual Rows": 2684, "Actual Loops": 4, "Output": ["part.p_partkey", "part.p_name", "part.p_mfgr", "part.p_brand", "part.p_type", "part.p_size", "part.p_container", "part.p_retailprice", "part.p_comment"], "Filter": "((part.p_name)::text ~~ '%forest%'::text)", "Rows Removed by Filter": 47316, "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.024, "Actual Total Time": 14.517, "Actual Rows": 2480, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 0.024, "Actual Total Time": 15.386, "Actual Rows": 2483, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 0.029, "Actual Total Time": 14.979, "Actual Rows": 2499, "Actual Loops": 1}]}, {"Node Type": "Index Scan", "Parent Relationship": "Inner", "Parallel Aware": false, "Scan Direction": "Forward", "Index Name": "ps_pk", "Relation Name": "partsupp", "Schema": "public", "Alias": "partsupp", "Startup Cost": 0.42, "Total Cost": 1.65, "Plan Rows": 4, "Plan Width": 14, "Actual Startup Time": 0.006, "Actual Total Time": 0.007, "Actual Rows": 4, "Actual Loops": 10737, "Output": ["partsupp.ps_partkey", "partsupp.ps_suppkey", "partsupp.ps_availqty", "partsupp.ps_supplycost", "partsupp.ps_comment"], "Index Cond": "(partsupp.ps_partkey = part.p_partkey)", "Rows Removed by Index Recheck": 0, "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.006, "Actual Total Time": 0.008, "Actual Rows": 4, "Actual Loops": 2480}, {"Worker Number": 1, "Actual Startup Time": 0.006, "Actual Total Time": 0.008, "Actual Rows": 4, "Actual Loops": 2483}, {"Worker Number": 2, "Actual Startup Time": 0.006, "Actual Total Time": 0.008, "Actual Rows": 4, "Actual Loops": 2499}]}]}, {"Node Type": "Hash", "Parent Relationship": "Inner", "Parallel Aware": false, "Startup Cost": 322.0, "Total Cost": 322.0, "Plan Rows": 10000, "Plan Width": 8, "Actual Startup Time": 4.829, "Actual Total Time": 4.83, "Actual Rows": 10000, "Actual Loops": 4, "Output": ["supplier.s_suppkey", "supplier.s_nationkey"], "Hash Buckets": 16384, "Original Hash Buckets": 16384, "Hash Batches": 1, "Original Hash Batches": 1, "Peak Memory Usage": 519, "Workers": [{"Worker Number": 0, "Actual Startup Time": 4.938, "Actual Total Time": 4.939, "Actual Rows": 10000, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 5.056, "Actual Total Time": 5.057, "Actual Rows": 10000, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 5.316, "Actual Total Time": 5.317, "Actual Rows": 10000, "Actual Loops": 1}], "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Relation Name": "supplier", "Schema": "public", "Alias": "supplier", "Startup Cost": 0.0, "Total Cost": 322.0, "Plan Rows": 10000, "Plan Width": 8, "Actual Startup Time": 0.015, "Actual Total Time": 3.071, "Actual Rows": 10000, "Actual Loops": 4, "Output": ["supplier.s_suppkey", "supplier.s_nationkey"], "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.019, "Actual Total Time": 3.143, "Actual Rows": 10000, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 0.019, "Actual Total Time": 3.249, "Actual Rows": 10000, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 0.017, "Actual Total Time": 3.402, "Actual Rows": 10000, "Actual Loops": 1}]}]}]}, {"Node Type": "Hash", "Parent Relationship": "Inner", "Parallel Aware": false, "Startup Cost": 1.25, "Total Cost": 1.25, "Plan Rows": 25, "Plan Width": 30, "Actual Startup Time": 0.031, "Actual Total Time": 0.031, "Actual Rows": 25, "Actual Loops": 4, "Output": ["nation.n_name", "nation.n_nationkey"], "Hash Buckets": 1024, "Original Hash Buckets": 1024, "Hash Batches": 1, "Original Hash Batches": 1, "Peak Memory Usage": 10, "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.033, "Actual Total Time": 0.034, "Actual Rows": 25, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 0.034, "Actual Total Time": 0.035, "Actual Rows": 25, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 0.034, "Actual Total Time": 0.035, "Actual Rows": 25, "Actual Loops": 1}], "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Relation Name": "nation", "Schema": "public", "Alias": "nation", "Startup Cost": 0.0, "Total Cost": 1.25, "Plan Rows": 25, "Plan Width": 30, "Actual Startup Time": 0.017, "Actual Total Time": 0.022, "Actual Rows": 25, "Actual Loops": 4, "Output": ["nation.n_name", "nation.n_nationkey"], "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.02, "Actual Total Time": 0.024, "Actual Rows": 25, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 0.021, "Actual Total Time": 0.025, "Actual Rows": 25, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 0.02, "Actual Total Time": 0.025, "Actual Rows": 25, "Actual Loops": 1}]}]}]}, {"Node Type": "Index Scan", "Parent Relationship": "Inner", "Parallel Aware": false, "Scan Direction": "Forward", "Index Name": "l_sk_pk", "Relation Name": "lineitem", "Schema": "public", "Alias": "lineitem", "Startup Cost": 0.43, "Total Cost": 0.63, "Plan Rows": 1, "Plan Width": 29, "Actual Startup Time": 0.007, "Actual Total Time": 0.016, "Actual Rows": 7, "Actual Loops": 42948, "Output": ["lineitem.l_orderkey", "lineitem.l_partkey", "lineitem.l_suppkey", "lineitem.l_linenumber", "lineitem.l_quantity", "lineitem.l_extendedprice", "lineitem.l_discount", "lineitem.l_tax", "lineitem.l_returnflag", "lineitem.l_linestatus", "lineitem.l_shipdate", "lineitem.l_commitdate", "lineitem.l_receiptdate", "lineitem.l_shipinstruct", "lineitem.l_shipmode", "lineitem.l_comment"], "Index Cond": "((lineitem.l_suppkey = partsupp.ps_suppkey) AND (lineitem.l_partkey = partsupp.ps_partkey))", "Rows Removed by Index Recheck": 0, "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.007, "Actual Total Time": 0.018, "Actual Rows": 8, "Actual Loops": 9920}, {"Worker Number": 1, "Actual Startup Time": 0.007, "Actual Total Time": 0.018, "Actual Rows": 7, "Actual Loops": 9932}, {"Worker Number": 2, "Actual Startup Time": 0.007, "Actual Total Time": 0.018, "Actual Rows": 7, "Actual Loops": 9996}]}]}]}]}]}]}]}]}, "Planning Time": 3.768, "Triggers": [], "Execution Time": 685.346} diff --git a/dev9/pg11/tpch/sf_10/explain/15721/1-1.ok b/dev9/pg11/tpch/sf_10/explain/15721/1-1.ok new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/dev9/pg11/tpch/sf_10/explain/15721/1-1.res b/dev9/pg11/tpch/sf_10/explain/15721/1-1.res new file mode 100644 index 0000000000000000000000000000000000000000..86f3c51ae01f699a85c79141b69512cf5848125b --- /dev/null +++ b/dev9/pg11/tpch/sf_10/explain/15721/1-1.res @@ -0,0 +1 @@ +{"Plan": {"Node Type": "Aggregate", "Strategy": "Sorted", "Partial Mode": "Finalize", "Parallel Aware": false, "Startup Cost": 1567466.76, "Total Cost": 1567473.87, "Plan Rows": 6, "Plan Width": 236, "Output": ["l_returnflag", "l_linestatus", "sum(l_quantity)", "sum(l_extendedprice)", "sum((l_extendedprice * ('1'::numeric - l_discount)))", "sum(((l_extendedprice * ('1'::numeric - l_discount)) * ('1'::numeric + l_tax)))", "avg(l_quantity)", "avg(l_extendedprice)", "avg(l_discount)", "count(*)"], "Group Key": ["lineitem.l_returnflag", "lineitem.l_linestatus"], "Plans": [{"Node Type": "Gather Merge", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 1567466.76, "Total Cost": 1567471.92, "Plan Rows": 42, "Plan Width": 236, "Output": ["l_returnflag", "l_linestatus", "(PARTIAL sum(l_quantity))", "(PARTIAL sum(l_extendedprice))", "(PARTIAL sum((l_extendedprice * ('1'::numeric - l_discount))))", "(PARTIAL sum(((l_extendedprice * ('1'::numeric - l_discount)) * ('1'::numeric + l_tax))))", "(PARTIAL avg(l_quantity))", "(PARTIAL avg(l_extendedprice))", "(PARTIAL avg(l_discount))", "(PARTIAL count(*))"], "Workers Planned": 7, "Plans": [{"Node Type": "Sort", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 1566466.64, "Total Cost": 1566466.65, "Plan Rows": 6, "Plan Width": 236, "Output": ["l_returnflag", "l_linestatus", "(PARTIAL sum(l_quantity))", "(PARTIAL sum(l_extendedprice))", "(PARTIAL sum((l_extendedprice * ('1'::numeric - l_discount))))", "(PARTIAL sum(((l_extendedprice * ('1'::numeric - l_discount)) * ('1'::numeric + l_tax))))", "(PARTIAL avg(l_quantity))", "(PARTIAL avg(l_extendedprice))", "(PARTIAL avg(l_discount))", "(PARTIAL count(*))"], "Sort Key": ["lineitem.l_returnflag", "lineitem.l_linestatus"], "Plans": [{"Node Type": "Aggregate", "Strategy": "Hashed", "Partial Mode": "Partial", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 1566466.39, "Total Cost": 1566466.56, "Plan Rows": 6, "Plan Width": 236, "Output": ["l_returnflag", "l_linestatus", "PARTIAL sum(l_quantity)", "PARTIAL sum(l_extendedprice)", "PARTIAL sum((l_extendedprice * ('1'::numeric - l_discount)))", "PARTIAL sum(((l_extendedprice * ('1'::numeric - l_discount)) * ('1'::numeric + l_tax)))", "PARTIAL avg(l_quantity)", "PARTIAL avg(l_extendedprice)", "PARTIAL avg(l_discount)", "PARTIAL count(*)"], "Group Key": ["lineitem.l_returnflag", "lineitem.l_linestatus"], "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": true, "Relation Name": "lineitem", "Schema": "public", "Alias": "lineitem", "Startup Cost": 0.0, "Total Cost": 1231666.11, "Plan Rows": 8370007, "Plan Width": 25, "Output": ["l_orderkey", "l_partkey", "l_suppkey", "l_linenumber", "l_quantity", "l_extendedprice", "l_discount", "l_tax", "l_returnflag", "l_linestatus", "l_shipdate", "l_commitdate", "l_receiptdate", "l_shipinstruct", "l_shipmode", "l_comment"], "Filter": "(lineitem.l_shipdate <= '1998-08-07 23:59:57'::timestamp without time zone)"}]}]}]}]}} diff --git a/dev9/pg11/tpch/sf_10/explain/15721/10-1.ok b/dev9/pg11/tpch/sf_10/explain/15721/10-1.ok new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/dev9/pg11/tpch/sf_10/explain/15721/10-1.res b/dev9/pg11/tpch/sf_10/explain/15721/10-1.res new file mode 100644 index 0000000000000000000000000000000000000000..16af7e77094b9047db283f66b28d8145c71eb931 --- /dev/null +++ b/dev9/pg11/tpch/sf_10/explain/15721/10-1.res @@ -0,0 +1 @@ +{"Plan": {"Node Type": "Limit", "Parallel Aware": false, "Startup Cost": 652094.82, "Total Cost": 652094.87, "Plan Rows": 20, "Plan Width": 202, "Output": ["customer.c_custkey", "customer.c_name", "(sum((lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount))))", "customer.c_acctbal", "nation.n_name", "customer.c_address", "customer.c_phone", "customer.c_comment"], "Plans": [{"Node Type": "Sort", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 652094.82, "Total Cost": 653447.57, "Plan Rows": 541102, "Plan Width": 202, "Output": ["customer.c_custkey", "customer.c_name", "(sum((lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount))))", "customer.c_acctbal", "nation.n_name", "customer.c_address", "customer.c_phone", "customer.c_comment"], "Sort Key": ["(sum((lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount)))) DESC"], "Plans": [{"Node Type": "Aggregate", "Strategy": "Sorted", "Partial Mode": "Finalize", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 557350.68, "Total Cost": 637696.29, "Plan Rows": 541102, "Plan Width": 202, "Output": ["customer.c_custkey", "customer.c_name", "sum((lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount)))", "customer.c_acctbal", "nation.n_name", "customer.c_address", "customer.c_phone", "customer.c_comment"], "Group Key": ["customer.c_custkey", "nation.n_name"], "Plans": [{"Node Type": "Gather Merge", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 557350.68, "Total Cost": 625521.47, "Plan Rows": 541104, "Plan Width": 202, "Output": ["customer.c_custkey", "nation.n_name", "customer.c_name", "(PARTIAL sum((lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount))))", "customer.c_acctbal", "customer.c_address", "customer.c_phone", "customer.c_comment"], "Workers Planned": 4, "Plans": [{"Node Type": "Aggregate", "Strategy": "Sorted", "Partial Mode": "Partial", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 556350.62, "Total Cost": 560070.71, "Plan Rows": 135276, "Plan Width": 202, "Output": ["customer.c_custkey", "nation.n_name", "customer.c_name", "PARTIAL sum((lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount)))", "customer.c_acctbal", "customer.c_address", "customer.c_phone", "customer.c_comment"], "Group Key": ["customer.c_custkey", "nation.n_name"], "Plans": [{"Node Type": "Sort", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 556350.62, "Total Cost": 556688.81, "Plan Rows": 135276, "Plan Width": 182, "Output": ["customer.c_custkey", "nation.n_name", "customer.c_name", "lineitem.l_extendedprice", "lineitem.l_discount", "customer.c_acctbal", "customer.c_address", "customer.c_phone", "customer.c_comment"], "Sort Key": ["customer.c_custkey", "nation.n_name"], "Plans": [{"Node Type": "Hash Join", "Parent Relationship": "Outer", "Parallel Aware": false, "Join Type": "Inner", "Startup Cost": 495218.1, "Total Cost": 537779.6, "Plan Rows": 135276, "Plan Width": 182, "Output": ["customer.c_custkey", "nation.n_name", "customer.c_name", "lineitem.l_extendedprice", "lineitem.l_discount", "customer.c_acctbal", "customer.c_address", "customer.c_phone", "customer.c_comment"], "Inner Unique": true, "Hash Cond": "(customer.c_nationkey = nation.n_nationkey)", "Plans": [{"Node Type": "Hash Join", "Parent Relationship": "Outer", "Parallel Aware": true, "Join Type": "Inner", "Startup Cost": 495216.53, "Total Cost": 537362.74, "Plan Rows": 135276, "Plan Width": 160, "Output": ["customer.c_custkey", "customer.c_name", "customer.c_acctbal", "customer.c_address", "customer.c_phone", "customer.c_comment", "customer.c_nationkey", "lineitem.l_extendedprice", "lineitem.l_discount"], "Inner Unique": false, "Hash Cond": "(customer.c_custkey = orders.o_custkey)", "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": true, "Relation Name": "customer", "Schema": "public", "Alias": "customer", "Startup Cost": 0.0, "Total Cost": 39577.0, "Plan Rows": 375000, "Plan Width": 148, "Output": ["customer.c_custkey", "customer.c_name", "customer.c_address", "customer.c_nationkey", "customer.c_phone", "customer.c_acctbal", "customer.c_mktsegment", "customer.c_comment"]}, {"Node Type": "Hash", "Parent Relationship": "Inner", "Parallel Aware": true, "Startup Cost": 494089.23, "Total Cost": 494089.23, "Plan Rows": 90184, "Plan Width": 16, "Output": ["orders.o_custkey", "lineitem.l_extendedprice", "lineitem.l_discount"], "Plans": [{"Node Type": "Nested Loop", "Parent Relationship": "Outer", "Parallel Aware": false, "Join Type": "Inner", "Startup Cost": 7303.15, "Total Cost": 494089.23, "Plan Rows": 90184, "Plan Width": 16, "Output": ["orders.o_custkey", "lineitem.l_extendedprice", "lineitem.l_discount"], "Inner Unique": false, "Plans": [{"Node Type": "Bitmap Heap Scan", "Parent Relationship": "Outer", "Parallel Aware": true, "Relation Name": "orders", "Schema": "public", "Alias": "orders", "Startup Cost": 7302.58, "Total Cost": 269590.47, "Plan Rows": 91726, "Plan Width": 8, "Output": ["orders.o_orderkey", "orders.o_custkey", "orders.o_orderstatus", "orders.o_totalprice", "orders.o_orderdate", "orders.o_orderpriority", "orders.o_clerk", "orders.o_shippriority", "orders.o_comment"], "Recheck Cond": "((orders.o_orderdate >= '1993-02-01'::date) AND (orders.o_orderdate < '1993-05-01 00:00:00'::timestamp without time zone))", "Plans": [{"Node Type": "Bitmap Index Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Index Name": "o_od", "Startup Cost": 0.0, "Total Cost": 7165.0, "Plan Rows": 550356, "Plan Width": 0, "Index Cond": "((orders.o_orderdate >= '1993-02-01'::date) AND (orders.o_orderdate < '1993-05-01 00:00:00'::timestamp without time zone))"}]}, {"Node Type": "Index Scan", "Parent Relationship": "Inner", "Parallel Aware": false, "Scan Direction": "Forward", "Index Name": "l_ok", "Relation Name": "lineitem", "Schema": "public", "Alias": "lineitem", "Startup Cost": 0.56, "Total Cost": 2.38, "Plan Rows": 7, "Plan Width": 16, "Output": ["lineitem.l_orderkey", "lineitem.l_partkey", "lineitem.l_suppkey", "lineitem.l_linenumber", "lineitem.l_quantity", "lineitem.l_extendedprice", "lineitem.l_discount", "lineitem.l_tax", "lineitem.l_returnflag", "lineitem.l_linestatus", "lineitem.l_shipdate", "lineitem.l_commitdate", "lineitem.l_receiptdate", "lineitem.l_shipinstruct", "lineitem.l_shipmode", "lineitem.l_comment"], "Index Cond": "(lineitem.l_orderkey = orders.o_orderkey)", "Filter": "(lineitem.l_returnflag = 'R'::bpchar)"}]}]}]}, {"Node Type": "Hash", "Parent Relationship": "Inner", "Parallel Aware": false, "Startup Cost": 1.25, "Total Cost": 1.25, "Plan Rows": 25, "Plan Width": 30, "Output": ["nation.n_name", "nation.n_nationkey"], "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Relation Name": "nation", "Schema": "public", "Alias": "nation", "Startup Cost": 0.0, "Total Cost": 1.25, "Plan Rows": 25, "Plan Width": 30, "Output": ["nation.n_name", "nation.n_nationkey"]}]}]}]}]}]}]}]}]}} diff --git a/dev9/pg11/tpch/sf_10/explain/15721/11-1.ok b/dev9/pg11/tpch/sf_10/explain/15721/11-1.ok new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/dev9/pg11/tpch/sf_10/explain/15721/11-1.res b/dev9/pg11/tpch/sf_10/explain/15721/11-1.res new file mode 100644 index 0000000000000000000000000000000000000000..d7023b6c355a0f837f6d8c4c102dab00a189f15b --- /dev/null +++ b/dev9/pg11/tpch/sf_10/explain/15721/11-1.res @@ -0,0 +1 @@ +{"Plan": {"Node Type": "Sort", "Parallel Aware": false, "Startup Cost": 88253.08, "Total Cost": 88519.74, "Plan Rows": 106664, "Plan Width": 36, "Output": ["partsupp.ps_partkey", "(sum((partsupp.ps_supplycost * (partsupp.ps_availqty)::numeric)))"], "Sort Key": ["(sum((partsupp.ps_supplycost * (partsupp.ps_availqty)::numeric))) DESC"], "Plans": [{"Node Type": "Aggregate", "Strategy": "Plain", "Partial Mode": "Finalize", "Parent Relationship": "InitPlan", "Subplan Name": "InitPlan 1 (returns $2)", "Parallel Aware": false, "Startup Cost": 16673.66, "Total Cost": 16673.68, "Plan Rows": 1, "Plan Width": 32, "Output": ["(sum((partsupp_1.ps_supplycost * (partsupp_1.ps_availqty)::numeric)) * 0.0001000000)"], "Plans": [{"Node Type": "Gather", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 16673.55, "Total Cost": 16673.66, "Plan Rows": 1, "Plan Width": 32, "Output": ["(PARTIAL sum((partsupp_1.ps_supplycost * (partsupp_1.ps_availqty)::numeric)))"], "Workers Planned": 1, "Single Copy": false, "Plans": [{"Node Type": "Aggregate", "Strategy": "Plain", "Partial Mode": "Partial", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 15673.55, "Total Cost": 15673.56, "Plan Rows": 1, "Plan Width": 32, "Output": ["PARTIAL sum((partsupp_1.ps_supplycost * (partsupp_1.ps_availqty)::numeric))"], "Plans": [{"Node Type": "Nested Loop", "Parent Relationship": "Outer", "Parallel Aware": false, "Join Type": "Inner", "Startup Cost": 1.76, "Total Cost": 14261.82, "Plan Rows": 188230, "Plan Width": 10, "Output": ["partsupp_1.ps_supplycost", "partsupp_1.ps_availqty"], "Inner Unique": false, "Plans": [{"Node Type": "Hash Join", "Parent Relationship": "Outer", "Parallel Aware": false, "Join Type": "Inner", "Startup Cost": 1.32, "Total Cost": 2986.15, "Plan Rows": 2353, "Plan Width": 4, "Output": ["supplier_1.s_suppkey"], "Inner Unique": true, "Hash Cond": "(supplier_1.s_nationkey = nation_1.n_nationkey)", "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": true, "Relation Name": "supplier", "Schema": "public", "Alias": "supplier_1", "Startup Cost": 0.0, "Total Cost": 2804.24, "Plan Rows": 58824, "Plan Width": 8, "Output": ["supplier_1.s_suppkey", "supplier_1.s_name", "supplier_1.s_address", "supplier_1.s_nationkey", "supplier_1.s_phone", "supplier_1.s_acctbal", "supplier_1.s_comment"]}, {"Node Type": "Hash", "Parent Relationship": "Inner", "Parallel Aware": false, "Startup Cost": 1.31, "Total Cost": 1.31, "Plan Rows": 1, "Plan Width": 4, "Output": ["nation_1.n_nationkey"], "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Relation Name": "nation", "Schema": "public", "Alias": "nation_1", "Startup Cost": 0.0, "Total Cost": 1.31, "Plan Rows": 1, "Plan Width": 4, "Output": ["nation_1.n_nationkey"], "Filter": "(nation_1.n_name = 'CHINA'::bpchar)"}]}]}, {"Node Type": "Index Scan", "Parent Relationship": "Inner", "Parallel Aware": false, "Scan Direction": "Forward", "Index Name": "ps_sk", "Relation Name": "partsupp", "Schema": "public", "Alias": "partsupp_1", "Startup Cost": 0.43, "Total Cost": 3.99, "Plan Rows": 80, "Plan Width": 14, "Output": ["partsupp_1.ps_partkey", "partsupp_1.ps_suppkey", "partsupp_1.ps_availqty", "partsupp_1.ps_supplycost", "partsupp_1.ps_comment"], "Index Cond": "(partsupp_1.ps_suppkey = supplier_1.s_suppkey)"}]}]}]}]}, {"Node Type": "Aggregate", "Strategy": "Sorted", "Partial Mode": "Simple", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 50671.85, "Total Cost": 62671.51, "Plan Rows": 106664, "Plan Width": 36, "Output": ["partsupp.ps_partkey", "sum((partsupp.ps_supplycost * (partsupp.ps_availqty)::numeric))"], "Group Key": ["partsupp.ps_partkey"], "Filter": "(sum((partsupp.ps_supplycost * (partsupp.ps_availqty)::numeric)) > $2)", "Plans": [{"Node Type": "Sort", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 50671.85, "Total Cost": 51471.83, "Plan Rows": 319991, "Plan Width": 14, "Output": ["partsupp.ps_partkey", "partsupp.ps_supplycost", "partsupp.ps_availqty"], "Sort Key": ["partsupp.ps_partkey"], "Plans": [{"Node Type": "Nested Loop", "Parent Relationship": "Outer", "Parallel Aware": false, "Join Type": "Inner", "Startup Cost": 44.92, "Total Cost": 21412.4, "Plan Rows": 319991, "Plan Width": 14, "Output": ["partsupp.ps_partkey", "partsupp.ps_supplycost", "partsupp.ps_availqty"], "Inner Unique": false, "Plans": [{"Node Type": "Nested Loop", "Parent Relationship": "Outer", "Parallel Aware": false, "Join Type": "Inner", "Startup Cost": 44.49, "Total Cost": 2244.24, "Plan Rows": 4000, "Plan Width": 4, "Output": ["supplier.s_suppkey"], "Inner Unique": false, "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Relation Name": "nation", "Schema": "public", "Alias": "nation", "Startup Cost": 0.0, "Total Cost": 1.31, "Plan Rows": 1, "Plan Width": 4, "Output": ["nation.n_nationkey", "nation.n_name", "nation.n_regionkey", "nation.n_comment"], "Filter": "(nation.n_name = 'CHINA'::bpchar)"}, {"Node Type": "Bitmap Heap Scan", "Parent Relationship": "Inner", "Parallel Aware": false, "Relation Name": "supplier", "Schema": "public", "Alias": "supplier", "Startup Cost": 44.49, "Total Cost": 2202.92, "Plan Rows": 4000, "Plan Width": 8, "Output": ["supplier.s_suppkey", "supplier.s_name", "supplier.s_address", "supplier.s_nationkey", "supplier.s_phone", "supplier.s_acctbal", "supplier.s_comment"], "Recheck Cond": "(supplier.s_nationkey = nation.n_nationkey)", "Plans": [{"Node Type": "Bitmap Index Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Index Name": "s_nk", "Startup Cost": 0.0, "Total Cost": 43.49, "Plan Rows": 4000, "Plan Width": 0, "Index Cond": "(supplier.s_nationkey = nation.n_nationkey)"}]}]}, {"Node Type": "Index Scan", "Parent Relationship": "Inner", "Parallel Aware": false, "Scan Direction": "Forward", "Index Name": "ps_sk", "Relation Name": "partsupp", "Schema": "public", "Alias": "partsupp", "Startup Cost": 0.43, "Total Cost": 3.99, "Plan Rows": 80, "Plan Width": 18, "Output": ["partsupp.ps_partkey", "partsupp.ps_suppkey", "partsupp.ps_availqty", "partsupp.ps_supplycost", "partsupp.ps_comment"], "Index Cond": "(partsupp.ps_suppkey = supplier.s_suppkey)"}]}]}]}]}} diff --git a/dev9/pg11/tpch/sf_10/explain/15721/12-1.ok b/dev9/pg11/tpch/sf_10/explain/15721/12-1.ok new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/dev9/pg11/tpch/sf_10/explain/15721/12-1.res b/dev9/pg11/tpch/sf_10/explain/15721/12-1.res new file mode 100644 index 0000000000000000000000000000000000000000..a32e388ecfdde8d8bd784b5f2b10b783ab017e73 --- /dev/null +++ b/dev9/pg11/tpch/sf_10/explain/15721/12-1.res @@ -0,0 +1 @@ +{"Plan": {"Node Type": "Aggregate", "Strategy": "Sorted", "Partial Mode": "Finalize", "Parallel Aware": false, "Startup Cost": 1376011.87, "Total Cost": 1376846.28, "Plan Rows": 7, "Plan Width": 27, "Output": ["lineitem.l_shipmode", "sum(CASE WHEN ((orders.o_orderpriority = '1-URGENT'::bpchar) OR (orders.o_orderpriority = '2-HIGH'::bpchar)) THEN 1 ELSE 0 END)", "sum(CASE WHEN ((orders.o_orderpriority <> '1-URGENT'::bpchar) AND (orders.o_orderpriority <> '2-HIGH'::bpchar)) THEN 1 ELSE 0 END)"], "Group Key": ["lineitem.l_shipmode"], "Plans": [{"Node Type": "Gather Merge", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 1376011.87, "Total Cost": 1376845.84, "Plan Rows": 49, "Plan Width": 27, "Output": ["lineitem.l_shipmode", "(PARTIAL sum(CASE WHEN ((orders.o_orderpriority = '1-URGENT'::bpchar) OR (orders.o_orderpriority = '2-HIGH'::bpchar)) THEN 1 ELSE 0 END))", "(PARTIAL sum(CASE WHEN ((orders.o_orderpriority <> '1-URGENT'::bpchar) AND (orders.o_orderpriority <> '2-HIGH'::bpchar)) THEN 1 ELSE 0 END))"], "Workers Planned": 7, "Plans": [{"Node Type": "Aggregate", "Strategy": "Sorted", "Partial Mode": "Partial", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 1375011.75, "Total Cost": 1375839.72, "Plan Rows": 7, "Plan Width": 27, "Output": ["lineitem.l_shipmode", "PARTIAL sum(CASE WHEN ((orders.o_orderpriority = '1-URGENT'::bpchar) OR (orders.o_orderpriority = '2-HIGH'::bpchar)) THEN 1 ELSE 0 END)", "PARTIAL sum(CASE WHEN ((orders.o_orderpriority <> '1-URGENT'::bpchar) AND (orders.o_orderpriority <> '2-HIGH'::bpchar)) THEN 1 ELSE 0 END)"], "Group Key": ["lineitem.l_shipmode"], "Plans": [{"Node Type": "Sort", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 1375011.75, "Total Cost": 1375115.24, "Plan Rows": 41395, "Plan Width": 27, "Output": ["lineitem.l_shipmode", "orders.o_orderpriority"], "Sort Key": ["lineitem.l_shipmode"], "Plans": [{"Node Type": "Nested Loop", "Parent Relationship": "Outer", "Parallel Aware": false, "Join Type": "Inner", "Startup Cost": 0.43, "Total Cost": 1371837.34, "Plan Rows": 41395, "Plan Width": 27, "Output": ["lineitem.l_shipmode", "orders.o_orderpriority"], "Inner Unique": true, "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": true, "Relation Name": "lineitem", "Schema": "public", "Alias": "lineitem", "Startup Cost": 0.0, "Total Cost": 1317365.41, "Plan Rows": 41395, "Plan Width": 15, "Output": ["lineitem.l_orderkey", "lineitem.l_partkey", "lineitem.l_suppkey", "lineitem.l_linenumber", "lineitem.l_quantity", "lineitem.l_extendedprice", "lineitem.l_discount", "lineitem.l_tax", "lineitem.l_returnflag", "lineitem.l_linestatus", "lineitem.l_shipdate", "lineitem.l_commitdate", "lineitem.l_receiptdate", "lineitem.l_shipinstruct", "lineitem.l_shipmode", "lineitem.l_comment"], "Filter": "((lineitem.l_shipmode = ANY ('{MAIL,TRUCK}'::bpchar[])) AND (lineitem.l_commitdate < lineitem.l_receiptdate) AND (lineitem.l_shipdate < lineitem.l_commitdate) AND (lineitem.l_receiptdate >= '1995-01-01'::date) AND (lineitem.l_receiptdate < '1996-01-01 00:00:00'::timestamp without time zone))"}, {"Node Type": "Index Scan", "Parent Relationship": "Inner", "Parallel Aware": false, "Scan Direction": "Forward", "Index Name": "o_ok", "Relation Name": "orders", "Schema": "public", "Alias": "orders", "Startup Cost": 0.43, "Total Cost": 1.32, "Plan Rows": 1, "Plan Width": 20, "Output": ["orders.o_orderkey", "orders.o_custkey", "orders.o_orderstatus", "orders.o_totalprice", "orders.o_orderdate", "orders.o_orderpriority", "orders.o_clerk", "orders.o_shippriority", "orders.o_comment"], "Index Cond": "(orders.o_orderkey = lineitem.l_orderkey)"}]}]}]}]}]}} diff --git a/dev9/pg11/tpch/sf_10/explain/15721/13-1.ok b/dev9/pg11/tpch/sf_10/explain/15721/13-1.ok new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/dev9/pg11/tpch/sf_10/explain/15721/13-1.res b/dev9/pg11/tpch/sf_10/explain/15721/13-1.res new file mode 100644 index 0000000000000000000000000000000000000000..624a54b05ac1befc13b708fb6e8c0a2aa3d5e087 --- /dev/null +++ b/dev9/pg11/tpch/sf_10/explain/15721/13-1.res @@ -0,0 +1 @@ +{"Plan": {"Node Type": "Sort", "Parallel Aware": false, "Startup Cost": 922916.19, "Total Cost": 922916.69, "Plan Rows": 200, "Plan Width": 16, "Output": ["(count(orders.o_orderkey))", "(count(*))"], "Sort Key": ["(count(*)) DESC", "(count(orders.o_orderkey)) DESC"], "Plans": [{"Node Type": "Aggregate", "Strategy": "Hashed", "Partial Mode": "Simple", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 922906.54, "Total Cost": 922908.54, "Plan Rows": 200, "Plan Width": 16, "Output": ["(count(orders.o_orderkey))", "count(*)"], "Group Key": ["count(orders.o_orderkey)"], "Plans": [{"Node Type": "Aggregate", "Strategy": "Sorted", "Partial Mode": "Simple", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 0.86, "Total Cost": 900406.54, "Plan Rows": 1500000, "Plan Width": 12, "Output": ["customer.c_custkey", "count(orders.o_orderkey)"], "Group Key": ["customer.c_custkey"], "Plans": [{"Node Type": "Merge Join", "Parent Relationship": "Outer", "Parallel Aware": false, "Join Type": "Left", "Startup Cost": 0.86, "Total Cost": 811155.77, "Plan Rows": 14850154, "Plan Width": 8, "Output": ["customer.c_custkey", "orders.o_orderkey"], "Inner Unique": false, "Merge Cond": "(customer.c_custkey = orders.o_custkey)", "Plans": [{"Node Type": "Index Only Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Scan Direction": "Forward", "Index Name": "c_ck", "Relation Name": "customer", "Schema": "public", "Alias": "customer", "Startup Cost": 0.43, "Total Cost": 27028.03, "Plan Rows": 1500000, "Plan Width": 4, "Output": ["customer.c_custkey"]}, {"Node Type": "Index Scan", "Parent Relationship": "Inner", "Parallel Aware": false, "Scan Direction": "Forward", "Index Name": "o_ck", "Relation Name": "orders", "Schema": "public", "Alias": "orders", "Startup Cost": 0.43, "Total Cost": 594755.76, "Plan Rows": 14850154, "Plan Width": 8, "Output": ["orders.o_orderkey", "orders.o_custkey", "orders.o_orderstatus", "orders.o_totalprice", "orders.o_orderdate", "orders.o_orderpriority", "orders.o_clerk", "orders.o_shippriority", "orders.o_comment"], "Filter": "((orders.o_comment)::text !~~ '%unusual%requests%'::text)"}]}]}]}]}} diff --git a/dev9/pg11/tpch/sf_10/explain/15721/14-1.ok b/dev9/pg11/tpch/sf_10/explain/15721/14-1.ok new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/dev9/pg11/tpch/sf_10/explain/15721/14-1.res b/dev9/pg11/tpch/sf_10/explain/15721/14-1.res new file mode 100644 index 0000000000000000000000000000000000000000..00d6a38b303a143a36761b27f078425675a05dc3 --- /dev/null +++ b/dev9/pg11/tpch/sf_10/explain/15721/14-1.res @@ -0,0 +1 @@ +{"Plan": {"Node Type": "Aggregate", "Strategy": "Plain", "Partial Mode": "Finalize", "Parallel Aware": false, "Startup Cost": 705641.45, "Total Cost": 705641.46, "Plan Rows": 1, "Plan Width": 32, "Output": ["((100.00 * sum(CASE WHEN ((part.p_type)::text ~~ 'PROMO%'::text) THEN (lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount)) ELSE '0'::numeric END)) / sum((lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount))))"], "Plans": [{"Node Type": "Gather", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 705640.99, "Total Cost": 705641.4, "Plan Rows": 4, "Plan Width": 64, "Output": ["(PARTIAL sum(CASE WHEN ((part.p_type)::text ~~ 'PROMO%'::text) THEN (lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount)) ELSE '0'::numeric END))", "(PARTIAL sum((lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount))))"], "Workers Planned": 4, "Single Copy": false, "Plans": [{"Node Type": "Aggregate", "Strategy": "Plain", "Partial Mode": "Partial", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 704640.99, "Total Cost": 704641.0, "Plan Rows": 1, "Plan Width": 64, "Output": ["PARTIAL sum(CASE WHEN ((part.p_type)::text ~~ 'PROMO%'::text) THEN (lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount)) ELSE '0'::numeric END)", "PARTIAL sum((lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount)))"], "Plans": [{"Node Type": "Hash Join", "Parent Relationship": "Outer", "Parallel Aware": true, "Join Type": "Inner", "Startup Cost": 648553.32, "Total Cost": 701249.78, "Plan Rows": 193783, "Plan Width": 33, "Output": ["part.p_type", "lineitem.l_extendedprice", "lineitem.l_discount"], "Inner Unique": false, "Hash Cond": "(part.p_partkey = lineitem.l_partkey)", "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": true, "Relation Name": "part", "Schema": "public", "Alias": "part", "Startup Cost": 0.0, "Total Cost": 45962.0, "Plan Rows": 500000, "Plan Width": 25, "Output": ["part.p_partkey", "part.p_name", "part.p_mfgr", "part.p_brand", "part.p_type", "part.p_size", "part.p_container", "part.p_retailprice", "part.p_comment"]}, {"Node Type": "Hash", "Parent Relationship": "Inner", "Parallel Aware": true, "Startup Cost": 646131.04, "Total Cost": 646131.04, "Plan Rows": 193783, "Plan Width": 16, "Output": ["lineitem.l_extendedprice", "lineitem.l_discount", "lineitem.l_partkey"], "Plans": [{"Node Type": "Index Scan", "Parent Relationship": "Outer", "Parallel Aware": true, "Scan Direction": "Forward", "Index Name": "l_sd", "Relation Name": "lineitem", "Schema": "public", "Alias": "lineitem", "Startup Cost": 0.56, "Total Cost": 646131.04, "Plan Rows": 193783, "Plan Width": 16, "Output": ["lineitem.l_extendedprice", "lineitem.l_discount", "lineitem.l_partkey"], "Index Cond": "((lineitem.l_shipdate >= '1995-05-01'::date) AND (lineitem.l_shipdate < '1995-06-01 00:00:00'::timestamp without time zone))"}]}]}]}]}]}} diff --git a/dev9/pg11/tpch/sf_10/explain/15721/15-1.ok b/dev9/pg11/tpch/sf_10/explain/15721/15-1.ok new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/dev9/pg11/tpch/sf_10/explain/15721/15-1.res b/dev9/pg11/tpch/sf_10/explain/15721/15-1.res new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/dev9/pg11/tpch/sf_10/explain/15721/15-2.ok b/dev9/pg11/tpch/sf_10/explain/15721/15-2.ok new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/dev9/pg11/tpch/sf_10/explain/15721/15-2.res b/dev9/pg11/tpch/sf_10/explain/15721/15-2.res new file mode 100644 index 0000000000000000000000000000000000000000..ba6a964afc97bc4ae052a766abc5b9107ff56bec --- /dev/null +++ b/dev9/pg11/tpch/sf_10/explain/15721/15-2.res @@ -0,0 +1 @@ +{"Plan": {"Node Type": "Nested Loop", "Parallel Aware": false, "Join Type": "Inner", "Startup Cost": 2582415.21, "Total Cost": 2679697.61, "Plan Rows": 499, "Plan Width": 103, "Output": ["supplier.s_suppkey", "supplier.s_name", "supplier.s_address", "supplier.s_phone", "(sum((lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount))))"], "Inner Unique": true, "Plans": [{"Node Type": "Aggregate", "Strategy": "Plain", "Partial Mode": "Simple", "Parent Relationship": "InitPlan", "Subplan Name": "InitPlan 1 (returns $0)", "Parallel Aware": false, "Startup Cost": 1315497.3, "Total Cost": 1315497.31, "Plan Rows": 1, "Plan Width": 32, "Output": ["max((sum((lineitem_1.l_extendedprice * ('1'::numeric - lineitem_1.l_discount)))))"], "Plans": [{"Node Type": "Aggregate", "Strategy": "Hashed", "Partial Mode": "Simple", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 1313001.45, "Total Cost": 1314249.37, "Plan Rows": 99834, "Plan Width": 36, "Output": ["lineitem_1.l_suppkey", "sum((lineitem_1.l_extendedprice * ('1'::numeric - lineitem_1.l_discount)))"], "Group Key": ["lineitem_1.l_suppkey"], "Plans": [{"Node Type": "Index Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Scan Direction": "Forward", "Index Name": "l_sd", "Relation Name": "lineitem", "Schema": "public", "Alias": "lineitem_1", "Startup Cost": 0.56, "Total Cost": 1289979.93, "Plan Rows": 2302152, "Plan Width": 16, "Output": ["lineitem_1.l_orderkey", "lineitem_1.l_partkey", "lineitem_1.l_suppkey", "lineitem_1.l_linenumber", "lineitem_1.l_quantity", "lineitem_1.l_extendedprice", "lineitem_1.l_discount", "lineitem_1.l_tax", "lineitem_1.l_returnflag", "lineitem_1.l_linestatus", "lineitem_1.l_shipdate", "lineitem_1.l_commitdate", "lineitem_1.l_receiptdate", "lineitem_1.l_shipinstruct", "lineitem_1.l_shipmode", "lineitem_1.l_comment"], "Index Cond": "((lineitem_1.l_shipdate >= '1995-01-01'::date) AND (lineitem_1.l_shipdate < '1995-04-01 00:00:00'::timestamp without time zone))"}]}]}, {"Node Type": "Aggregate", "Strategy": "Sorted", "Partial Mode": "Finalize", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 1266917.61, "Total Cost": 1363257.42, "Plan Rows": 499, "Plan Width": 36, "Output": ["lineitem.l_suppkey", "sum((lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount)))"], "Group Key": ["lineitem.l_suppkey"], "Filter": "(sum((lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount))) = $0)", "Plans": [{"Node Type": "Gather Merge", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 1266917.61, "Total Cost": 1352774.85, "Plan Rows": 698838, "Plan Width": 36, "Output": ["lineitem.l_suppkey", "(PARTIAL sum((lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount))))"], "Workers Planned": 7, "Plans": [{"Node Type": "Sort", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 1265917.49, "Total Cost": 1266167.07, "Plan Rows": 99834, "Plan Width": 36, "Output": ["lineitem.l_suppkey", "(PARTIAL sum((lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount))))"], "Sort Key": ["lineitem.l_suppkey"], "Plans": [{"Node Type": "Aggregate", "Strategy": "Hashed", "Partial Mode": "Partial", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 1256379.73, "Total Cost": 1257627.65, "Plan Rows": 99834, "Plan Width": 36, "Output": ["lineitem.l_suppkey", "PARTIAL sum((lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount)))"], "Group Key": ["lineitem.l_suppkey"], "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": true, "Relation Name": "lineitem", "Schema": "public", "Alias": "lineitem", "Startup Cost": 0.0, "Total Cost": 1253090.94, "Plan Rows": 328879, "Plan Width": 16, "Output": ["lineitem.l_orderkey", "lineitem.l_partkey", "lineitem.l_suppkey", "lineitem.l_linenumber", "lineitem.l_quantity", "lineitem.l_extendedprice", "lineitem.l_discount", "lineitem.l_tax", "lineitem.l_returnflag", "lineitem.l_linestatus", "lineitem.l_shipdate", "lineitem.l_commitdate", "lineitem.l_receiptdate", "lineitem.l_shipinstruct", "lineitem.l_shipmode", "lineitem.l_comment"], "Filter": "((lineitem.l_shipdate >= '1995-01-01'::date) AND (lineitem.l_shipdate < '1995-04-01 00:00:00'::timestamp without time zone))"}]}]}]}]}, {"Node Type": "Index Scan", "Parent Relationship": "Inner", "Parallel Aware": false, "Scan Direction": "Forward", "Index Name": "s_sk", "Relation Name": "supplier", "Schema": "public", "Alias": "supplier", "Startup Cost": 0.29, "Total Cost": 1.88, "Plan Rows": 1, "Plan Width": 71, "Output": ["supplier.s_suppkey", "supplier.s_name", "supplier.s_address", "supplier.s_nationkey", "supplier.s_phone", "supplier.s_acctbal", "supplier.s_comment"], "Index Cond": "(supplier.s_suppkey = lineitem.l_suppkey)"}]}} diff --git a/dev9/pg11/tpch/sf_10/explain/15721/15-3.ok b/dev9/pg11/tpch/sf_10/explain/15721/15-3.ok new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/dev9/pg11/tpch/sf_10/explain/15721/15-3.res b/dev9/pg11/tpch/sf_10/explain/15721/15-3.res new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/dev9/pg11/tpch/sf_10/explain/15721/16-1.ok b/dev9/pg11/tpch/sf_10/explain/15721/16-1.ok new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/dev9/pg11/tpch/sf_10/explain/15721/16-1.res b/dev9/pg11/tpch/sf_10/explain/15721/16-1.res new file mode 100644 index 0000000000000000000000000000000000000000..697ada897eefaf733e8f800a327b3f86859f20ce --- /dev/null +++ b/dev9/pg11/tpch/sf_10/explain/15721/16-1.res @@ -0,0 +1 @@ +{"Plan": {"Node Type": "Sort", "Parallel Aware": false, "Startup Cost": 289182.05, "Total Cost": 289566.09, "Plan Rows": 153616, "Plan Width": 44, "Output": ["part.p_brand", "part.p_type", "part.p_size", "(count(DISTINCT partsupp.ps_suppkey))"], "Sort Key": ["(count(DISTINCT partsupp.ps_suppkey)) DESC", "part.p_brand", "part.p_type", "part.p_size"], "Plans": [{"Node Type": "Aggregate", "Strategy": "Sorted", "Partial Mode": "Simple", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 267003.39, "Total Cost": 275948.83, "Plan Rows": 153616, "Plan Width": 44, "Output": ["part.p_brand", "part.p_type", "part.p_size", "count(DISTINCT partsupp.ps_suppkey)"], "Group Key": ["part.p_brand", "part.p_type", "part.p_size"], "Plans": [{"Node Type": "Sort", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 267003.39, "Total Cost": 268485.25, "Plan Rows": 592742, "Plan Width": 40, "Output": ["part.p_brand", "part.p_type", "part.p_size", "partsupp.ps_suppkey"], "Sort Key": ["part.p_brand", "part.p_type", "part.p_size"], "Plans": [{"Node Type": "Gather", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 58854.64, "Total Cost": 200674.64, "Plan Rows": 592742, "Plan Width": 40, "Output": ["part.p_brand", "part.p_type", "part.p_size", "partsupp.ps_suppkey"], "Workers Planned": 6, "Single Copy": false, "Plans": [{"Node Type": "Hash Join", "Parent Relationship": "Outer", "Parallel Aware": true, "Join Type": "Inner", "Startup Cost": 57854.64, "Total Cost": 140400.44, "Plan Rows": 98790, "Plan Width": 40, "Output": ["part.p_brand", "part.p_type", "part.p_size", "partsupp.ps_suppkey"], "Inner Unique": true, "Hash Cond": "(partsupp.ps_partkey = part.p_partkey)", "Plans": [{"Node Type": "Index Only Scan", "Parent Relationship": "Outer", "Parallel Aware": true, "Scan Direction": "Forward", "Index Name": "ps_pk_sk", "Relation Name": "partsupp", "Schema": "public", "Alias": "partsupp", "Startup Cost": 3466.46, "Total Cost": 84262.3, "Plan Rows": 666649, "Plan Width": 8, "Output": ["partsupp.ps_partkey", "partsupp.ps_suppkey"], "Filter": "(NOT (hashed SubPlan 1))", "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "SubPlan", "Subplan Name": "SubPlan 1", "Parallel Aware": false, "Relation Name": "supplier", "Schema": "public", "Alias": "supplier", "Startup Cost": 0.0, "Total Cost": 3466.0, "Plan Rows": 10, "Plan Width": 4, "Output": ["supplier.s_suppkey"], "Filter": "((supplier.s_comment)::text ~~ '%Customer%Complaints%'::text)"}]}, {"Node Type": "Hash", "Parent Relationship": "Inner", "Parallel Aware": true, "Startup Cost": 53462.0, "Total Cost": 53462.0, "Plan Rows": 74095, "Plan Width": 40, "Output": ["part.p_brand", "part.p_type", "part.p_size", "part.p_partkey"], "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": true, "Relation Name": "part", "Schema": "public", "Alias": "part", "Startup Cost": 0.0, "Total Cost": 53462.0, "Plan Rows": 74095, "Plan Width": 40, "Output": ["part.p_brand", "part.p_type", "part.p_size", "part.p_partkey"], "Filter": "((part.p_brand <> 'Brand#11'::bpchar) AND ((part.p_type)::text !~~ 'ECONOMY ANODIZED%'::text) AND (part.p_size = ANY ('{42,16,39,18,23,32,44,41}'::integer[])))"}]}]}]}]}]}]}} diff --git a/dev9/pg11/tpch/sf_10/explain/15721/17-1.ok b/dev9/pg11/tpch/sf_10/explain/15721/17-1.ok new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/dev9/pg11/tpch/sf_10/explain/15721/17-1.res b/dev9/pg11/tpch/sf_10/explain/15721/17-1.res new file mode 100644 index 0000000000000000000000000000000000000000..aeca7620f71bb5f3d21ab00a5e3292bdce7d7274 --- /dev/null +++ b/dev9/pg11/tpch/sf_10/explain/15721/17-1.res @@ -0,0 +1 @@ +{"Plan": {"Node Type": "Aggregate", "Strategy": "Plain", "Partial Mode": "Simple", "Parallel Aware": false, "Startup Cost": 1932007.46, "Total Cost": 1932007.47, "Plan Rows": 1, "Plan Width": 32, "Output": ["(sum(lineitem.l_extendedprice) / 7.0)"], "Plans": [{"Node Type": "Hash Join", "Parent Relationship": "Outer", "Parallel Aware": false, "Join Type": "Inner", "Startup Cost": 49684.41, "Total Cost": 1931958.04, "Plan Rows": 19767, "Plan Width": 8, "Output": ["lineitem.l_extendedprice"], "Inner Unique": true, "Hash Cond": "(lineitem.l_partkey = part.p_partkey)", "Join Filter": "(lineitem.l_quantity < (SubPlan 1))", "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Relation Name": "lineitem", "Schema": "public", "Alias": "lineitem", "Startup Cost": 0.0, "Total Cost": 1724437.04, "Plan Rows": 59989504, "Plan Width": 17, "Output": ["lineitem.l_orderkey", "lineitem.l_partkey", "lineitem.l_suppkey", "lineitem.l_linenumber", "lineitem.l_quantity", "lineitem.l_extendedprice", "lineitem.l_discount", "lineitem.l_tax", "lineitem.l_returnflag", "lineitem.l_linestatus", "lineitem.l_shipdate", "lineitem.l_commitdate", "lineitem.l_receiptdate", "lineitem.l_shipinstruct", "lineitem.l_shipmode", "lineitem.l_comment"]}, {"Node Type": "Hash", "Parent Relationship": "Inner", "Parallel Aware": false, "Startup Cost": 49659.7, "Total Cost": 49659.7, "Plan Rows": 1977, "Plan Width": 4, "Output": ["part.p_partkey"], "Plans": [{"Node Type": "Gather", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 1000.0, "Total Cost": 49659.7, "Plan Rows": 1977, "Plan Width": 4, "Output": ["part.p_partkey"], "Workers Planned": 4, "Single Copy": false, "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": true, "Relation Name": "part", "Schema": "public", "Alias": "part", "Startup Cost": 0.0, "Total Cost": 48462.0, "Plan Rows": 494, "Plan Width": 4, "Output": ["part.p_partkey"], "Filter": "((part.p_brand = 'Brand#14'::bpchar) AND (part.p_container = 'WRAP BOX'::bpchar))"}]}]}, {"Node Type": "Aggregate", "Strategy": "Plain", "Partial Mode": "Simple", "Parent Relationship": "SubPlan", "Subplan Name": "SubPlan 1", "Parallel Aware": false, "Startup Cost": 36.39, "Total Cost": 36.4, "Plan Rows": 1, "Plan Width": 32, "Output": ["(0.2 * avg(lineitem_1.l_quantity))"], "Plans": [{"Node Type": "Index Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Scan Direction": "Forward", "Index Name": "l_pk", "Relation Name": "lineitem", "Schema": "public", "Alias": "lineitem_1", "Startup Cost": 0.56, "Total Cost": 36.31, "Plan Rows": 31, "Plan Width": 5, "Output": ["lineitem_1.l_orderkey", "lineitem_1.l_partkey", "lineitem_1.l_suppkey", "lineitem_1.l_linenumber", "lineitem_1.l_quantity", "lineitem_1.l_extendedprice", "lineitem_1.l_discount", "lineitem_1.l_tax", "lineitem_1.l_returnflag", "lineitem_1.l_linestatus", "lineitem_1.l_shipdate", "lineitem_1.l_commitdate", "lineitem_1.l_receiptdate", "lineitem_1.l_shipinstruct", "lineitem_1.l_shipmode", "lineitem_1.l_comment"], "Index Cond": "(lineitem_1.l_partkey = part.p_partkey)"}]}]}]}} diff --git a/dev9/pg11/tpch/sf_10/explain/15721/18-1.ok b/dev9/pg11/tpch/sf_10/explain/15721/18-1.ok new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/dev9/pg11/tpch/sf_10/explain/15721/18-1.res b/dev9/pg11/tpch/sf_10/explain/15721/18-1.res new file mode 100644 index 0000000000000000000000000000000000000000..6344f5ac53acec0ef2255a3a4e9af06c527c58e9 --- /dev/null +++ b/dev9/pg11/tpch/sf_10/explain/15721/18-1.res @@ -0,0 +1 @@ +{"Plan": {"Node Type": "Limit", "Parallel Aware": false, "Startup Cost": 3639987.13, "Total Cost": 3639987.38, "Plan Rows": 100, "Plan Width": 71, "Output": ["customer.c_name", "customer.c_custkey", "orders.o_orderkey", "orders.o_orderdate", "orders.o_totalprice", "(sum(lineitem.l_quantity))"], "Plans": [{"Node Type": "Sort", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 3639987.13, "Total Cost": 3646702.62, "Plan Rows": 2686196, "Plan Width": 71, "Output": ["customer.c_name", "customer.c_custkey", "orders.o_orderkey", "orders.o_orderdate", "orders.o_totalprice", "(sum(lineitem.l_quantity))"], "Sort Key": ["orders.o_totalprice DESC", "orders.o_orderdate"], "Plans": [{"Node Type": "Aggregate", "Strategy": "Sorted", "Partial Mode": "Finalize", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 3140338.68, "Total Cost": 3537322.65, "Plan Rows": 2686196, "Plan Width": 71, "Output": ["customer.c_name", "customer.c_custkey", "orders.o_orderkey", "orders.o_orderdate", "orders.o_totalprice", "sum(lineitem.l_quantity)"], "Group Key": ["customer.c_custkey", "orders.o_orderkey"], "Plans": [{"Node Type": "Gather Merge", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 3140338.68, "Total Cost": 3476883.26, "Plan Rows": 2686194, "Plan Width": 71, "Output": ["customer.c_custkey", "orders.o_orderkey", "customer.c_name", "orders.o_orderdate", "orders.o_totalprice", "(PARTIAL sum(lineitem.l_quantity))"], "Workers Planned": 6, "Plans": [{"Node Type": "Aggregate", "Strategy": "Sorted", "Partial Mode": "Partial", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 3139338.58, "Total Cost": 3149411.81, "Plan Rows": 447699, "Plan Width": 71, "Output": ["customer.c_custkey", "orders.o_orderkey", "customer.c_name", "orders.o_orderdate", "orders.o_totalprice", "PARTIAL sum(lineitem.l_quantity)"], "Group Key": ["customer.c_custkey", "orders.o_orderkey"], "Plans": [{"Node Type": "Sort", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 3139338.58, "Total Cost": 3140457.83, "Plan Rows": 447699, "Plan Width": 44, "Output": ["customer.c_custkey", "orders.o_orderkey", "customer.c_name", "orders.o_orderdate", "orders.o_totalprice", "lineitem.l_quantity"], "Sort Key": ["customer.c_custkey", "orders.o_orderkey"], "Plans": [{"Node Type": "Hash Join", "Parent Relationship": "Outer", "Parallel Aware": true, "Join Type": "Inner", "Startup Cost": 2597488.67, "Total Cost": 3089250.42, "Plan Rows": 447699, "Plan Width": 44, "Output": ["customer.c_custkey", "orders.o_orderkey", "customer.c_name", "orders.o_orderdate", "orders.o_totalprice", "lineitem.l_quantity"], "Inner Unique": true, "Hash Cond": "(orders.o_custkey = customer.c_custkey)", "Plans": [{"Node Type": "Nested Loop", "Parent Relationship": "Outer", "Parallel Aware": false, "Join Type": "Inner", "Startup Cost": 2553224.17, "Total Cost": 3043810.72, "Plan Rows": 447699, "Plan Width": 25, "Output": ["orders.o_orderkey", "orders.o_orderdate", "orders.o_totalprice", "orders.o_custkey", "lineitem.l_quantity"], "Inner Unique": false, "Plans": [{"Node Type": "Hash Join", "Parent Relationship": "Outer", "Parallel Aware": false, "Join Type": "Inner", "Startup Cost": 2553223.6, "Total Cost": 2877621.07, "Plan Rows": 111948, "Plan Width": 24, "Output": ["orders.o_orderkey", "orders.o_orderdate", "orders.o_totalprice", "orders.o_custkey", "lineitem_1.l_orderkey"], "Inner Unique": true, "Hash Cond": "(orders.o_orderkey = lineitem_1.l_orderkey)", "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": true, "Relation Name": "orders", "Schema": "public", "Alias": "orders", "Startup Cost": 0.0, "Total Cost": 285912.77, "Plan Rows": 2500076, "Plan Width": 20, "Output": ["orders.o_orderkey", "orders.o_orderdate", "orders.o_totalprice", "orders.o_custkey"]}, {"Node Type": "Hash", "Parent Relationship": "Inner", "Parallel Aware": false, "Startup Cost": 2542203.52, "Total Cost": 2542203.52, "Plan Rows": 671687, "Plan Width": 4, "Output": ["lineitem_1.l_orderkey"], "Plans": [{"Node Type": "Aggregate", "Strategy": "Sorted", "Partial Mode": "Simple", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 0.56, "Total Cost": 2535486.65, "Plan Rows": 671687, "Plan Width": 4, "Output": ["lineitem_1.l_orderkey"], "Group Key": ["lineitem_1.l_orderkey"], "Filter": "(sum(lineitem_1.l_quantity) > '314'::numeric)", "Plans": [{"Node Type": "Index Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Scan Direction": "Forward", "Index Name": "l_ok", "Relation Name": "lineitem", "Schema": "public", "Alias": "lineitem_1", "Startup Cost": 0.56, "Total Cost": 2205313.23, "Plan Rows": 59989504, "Plan Width": 9, "Output": ["lineitem_1.l_orderkey", "lineitem_1.l_partkey", "lineitem_1.l_suppkey", "lineitem_1.l_linenumber", "lineitem_1.l_quantity", "lineitem_1.l_extendedprice", "lineitem_1.l_discount", "lineitem_1.l_tax", "lineitem_1.l_returnflag", "lineitem_1.l_linestatus", "lineitem_1.l_shipdate", "lineitem_1.l_commitdate", "lineitem_1.l_receiptdate", "lineitem_1.l_shipinstruct", "lineitem_1.l_shipmode", "lineitem_1.l_comment"]}]}]}]}, {"Node Type": "Index Scan", "Parent Relationship": "Inner", "Parallel Aware": false, "Scan Direction": "Forward", "Index Name": "l_ok", "Relation Name": "lineitem", "Schema": "public", "Alias": "lineitem", "Startup Cost": 0.56, "Total Cost": 1.18, "Plan Rows": 30, "Plan Width": 9, "Output": ["lineitem.l_orderkey", "lineitem.l_partkey", "lineitem.l_suppkey", "lineitem.l_linenumber", "lineitem.l_quantity", "lineitem.l_extendedprice", "lineitem.l_discount", "lineitem.l_tax", "lineitem.l_returnflag", "lineitem.l_linestatus", "lineitem.l_shipdate", "lineitem.l_commitdate", "lineitem.l_receiptdate", "lineitem.l_shipinstruct", "lineitem.l_shipmode", "lineitem.l_comment"], "Index Cond": "(lineitem.l_orderkey = orders.o_orderkey)"}]}, {"Node Type": "Hash", "Parent Relationship": "Inner", "Parallel Aware": true, "Startup Cost": 39577.0, "Total Cost": 39577.0, "Plan Rows": 375000, "Plan Width": 23, "Output": ["customer.c_name", "customer.c_custkey"], "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": true, "Relation Name": "customer", "Schema": "public", "Alias": "customer", "Startup Cost": 0.0, "Total Cost": 39577.0, "Plan Rows": 375000, "Plan Width": 23, "Output": ["customer.c_name", "customer.c_custkey"]}]}]}]}]}]}]}]}]}} diff --git a/dev9/pg11/tpch/sf_10/explain/15721/19-1.ok b/dev9/pg11/tpch/sf_10/explain/15721/19-1.ok new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/dev9/pg11/tpch/sf_10/explain/15721/19-1.res b/dev9/pg11/tpch/sf_10/explain/15721/19-1.res new file mode 100644 index 0000000000000000000000000000000000000000..5f1d7a660caa564d738aaedfcc44476827c577d0 --- /dev/null +++ b/dev9/pg11/tpch/sf_10/explain/15721/19-1.res @@ -0,0 +1 @@ +{"Plan": {"Node Type": "Aggregate", "Strategy": "Plain", "Partial Mode": "Finalize", "Parallel Aware": false, "Startup Cost": 107679.28, "Total Cost": 107679.29, "Plan Rows": 1, "Plan Width": 32, "Output": ["sum((lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount)))"], "Plans": [{"Node Type": "Gather", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 107678.85, "Total Cost": 107679.26, "Plan Rows": 4, "Plan Width": 32, "Output": ["(PARTIAL sum((lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount))))"], "Workers Planned": 4, "Single Copy": false, "Plans": [{"Node Type": "Aggregate", "Strategy": "Plain", "Partial Mode": "Partial", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 106678.85, "Total Cost": 106678.86, "Plan Rows": 1, "Plan Width": 32, "Output": ["PARTIAL sum((lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount)))"], "Plans": [{"Node Type": "Nested Loop", "Parent Relationship": "Outer", "Parallel Aware": false, "Join Type": "Inner", "Startup Cost": 0.56, "Total Cost": 106676.69, "Plan Rows": 288, "Plan Width": 12, "Output": ["lineitem.l_extendedprice", "lineitem.l_discount"], "Inner Unique": false, "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": true, "Relation Name": "part", "Schema": "public", "Alias": "part", "Startup Cost": 0.0, "Total Cost": 62212.0, "Plan Rows": 1230, "Plan Width": 30, "Output": ["part.p_partkey", "part.p_name", "part.p_mfgr", "part.p_brand", "part.p_type", "part.p_size", "part.p_container", "part.p_retailprice", "part.p_comment"], "Filter": "((part.p_size >= 1) AND (((part.p_brand = 'Brand#52'::bpchar) AND (part.p_container = ANY ('{\"SM CASE\",\"SM BOX\",\"SM PACK\",\"SM PKG\"}'::bpchar[])) AND (part.p_size <= 5)) OR ((part.p_brand = 'Brand#42'::bpchar) AND (part.p_container = ANY ('{\"MED BAG\",\"MED BOX\",\"MED PKG\",\"MED PACK\"}'::bpchar[])) AND (part.p_size <= 10)) OR ((part.p_brand = 'Brand#23'::bpchar) AND (part.p_container = ANY ('{\"LG CASE\",\"LG BOX\",\"LG PACK\",\"LG PKG\"}'::bpchar[])) AND (part.p_size <= 15))))"}, {"Node Type": "Index Scan", "Parent Relationship": "Inner", "Parallel Aware": false, "Scan Direction": "Forward", "Index Name": "l_pk", "Relation Name": "lineitem", "Schema": "public", "Alias": "lineitem", "Startup Cost": 0.56, "Total Cost": 36.14, "Plan Rows": 1, "Plan Width": 21, "Output": ["lineitem.l_orderkey", "lineitem.l_partkey", "lineitem.l_suppkey", "lineitem.l_linenumber", "lineitem.l_quantity", "lineitem.l_extendedprice", "lineitem.l_discount", "lineitem.l_tax", "lineitem.l_returnflag", "lineitem.l_linestatus", "lineitem.l_shipdate", "lineitem.l_commitdate", "lineitem.l_receiptdate", "lineitem.l_shipinstruct", "lineitem.l_shipmode", "lineitem.l_comment"], "Index Cond": "(lineitem.l_partkey = part.p_partkey)", "Filter": "((lineitem.l_shipmode = ANY ('{AIR,\"AIR REG\"}'::bpchar[])) AND (lineitem.l_shipinstruct = 'DELIVER IN PERSON'::bpchar) AND (((lineitem.l_quantity >= '9'::numeric) AND (lineitem.l_quantity <= '19'::numeric)) OR ((lineitem.l_quantity >= '18'::numeric) AND (lineitem.l_quantity <= '28'::numeric)) OR ((lineitem.l_quantity >= '22'::numeric) AND (lineitem.l_quantity <= '32'::numeric))) AND (((part.p_brand = 'Brand#52'::bpchar) AND (part.p_container = ANY ('{\"SM CASE\",\"SM BOX\",\"SM PACK\",\"SM PKG\"}'::bpchar[])) AND (lineitem.l_quantity >= '9'::numeric) AND (lineitem.l_quantity <= '19'::numeric) AND (part.p_size <= 5)) OR ((part.p_brand = 'Brand#42'::bpchar) AND (part.p_container = ANY ('{\"MED BAG\",\"MED BOX\",\"MED PKG\",\"MED PACK\"}'::bpchar[])) AND (lineitem.l_quantity >= '18'::numeric) AND (lineitem.l_quantity <= '28'::numeric) AND (part.p_size <= 10)) OR ((part.p_brand = 'Brand#23'::bpchar) AND (part.p_container = ANY ('{\"LG CASE\",\"LG BOX\",\"LG PACK\",\"LG PKG\"}'::bpchar[])) AND (lineitem.l_quantity >= '22'::numeric) AND (lineitem.l_quantity <= '32'::numeric) AND (part.p_size <= 15))))"}]}]}]}]}} diff --git a/dev9/pg11/tpch/sf_10/explain/15721/2-1.ok b/dev9/pg11/tpch/sf_10/explain/15721/2-1.ok new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/dev9/pg11/tpch/sf_10/explain/15721/2-1.res b/dev9/pg11/tpch/sf_10/explain/15721/2-1.res new file mode 100644 index 0000000000000000000000000000000000000000..5cd5657daa9c98a579e61766af7b481a70e183af --- /dev/null +++ b/dev9/pg11/tpch/sf_10/explain/15721/2-1.res @@ -0,0 +1 @@ +{"Plan": {"Node Type": "Limit", "Parallel Aware": false, "Startup Cost": 389326.87, "Total Cost": 389326.87, "Plan Rows": 1, "Plan Width": 192, "Output": ["supplier.s_acctbal", "supplier.s_name", "nation.n_name", "part.p_partkey", "part.p_mfgr", "supplier.s_address", "supplier.s_phone", "supplier.s_comment"], "Plans": [{"Node Type": "Sort", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 389326.87, "Total Cost": 389326.87, "Plan Rows": 1, "Plan Width": 192, "Output": ["supplier.s_acctbal", "supplier.s_name", "nation.n_name", "part.p_partkey", "part.p_mfgr", "supplier.s_address", "supplier.s_phone", "supplier.s_comment"], "Sort Key": ["supplier.s_acctbal DESC", "nation.n_name", "supplier.s_name", "part.p_partkey"], "Plans": [{"Node Type": "Hash Join", "Parent Relationship": "Outer", "Parallel Aware": false, "Join Type": "Inner", "Startup Cost": 160986.38, "Total Cost": 389326.86, "Plan Rows": 1, "Plan Width": 192, "Output": ["supplier.s_acctbal", "supplier.s_name", "nation.n_name", "part.p_partkey", "part.p_mfgr", "supplier.s_address", "supplier.s_phone", "supplier.s_comment"], "Inner Unique": false, "Hash Cond": "((part.p_partkey = partsupp.ps_partkey) AND ((SubPlan 1) = partsupp.ps_supplycost))", "Plans": [{"Node Type": "Gather", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 1000.0, "Total Cost": 50275.6, "Plan Rows": 8136, "Plan Width": 30, "Output": ["part.p_partkey", "part.p_mfgr"], "Workers Planned": 4, "Single Copy": false, "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": true, "Relation Name": "part", "Schema": "public", "Alias": "part", "Startup Cost": 0.0, "Total Cost": 48462.0, "Plan Rows": 2034, "Plan Width": 30, "Output": ["part.p_partkey", "part.p_mfgr"], "Filter": "(((part.p_type)::text ~~ '%TIN'::text) AND (part.p_size = 44))"}]}, {"Node Type": "Hash", "Parent Relationship": "Inner", "Parallel Aware": false, "Startup Cost": 96925.03, "Total Cost": 96925.03, "Plan Rows": 1599957, "Plan Width": 172, "Output": ["supplier.s_acctbal", "supplier.s_name", "supplier.s_address", "supplier.s_phone", "supplier.s_comment", "partsupp.ps_partkey", "partsupp.ps_supplycost", "nation.n_name"], "Plans": [{"Node Type": "Nested Loop", "Parent Relationship": "Outer", "Parallel Aware": false, "Join Type": "Inner", "Startup Cost": 0.72, "Total Cost": 96925.03, "Plan Rows": 1599957, "Plan Width": 172, "Output": ["supplier.s_acctbal", "supplier.s_name", "supplier.s_address", "supplier.s_phone", "supplier.s_comment", "partsupp.ps_partkey", "partsupp.ps_supplycost", "nation.n_name"], "Inner Unique": false, "Plans": [{"Node Type": "Nested Loop", "Parent Relationship": "Outer", "Parallel Aware": false, "Join Type": "Inner", "Startup Cost": 0.29, "Total Cost": 1084.23, "Plan Rows": 20000, "Plan Width": 166, "Output": ["supplier.s_acctbal", "supplier.s_name", "supplier.s_address", "supplier.s_phone", "supplier.s_comment", "supplier.s_suppkey", "nation.n_name"], "Inner Unique": false, "Plans": [{"Node Type": "Nested Loop", "Parent Relationship": "Outer", "Parallel Aware": false, "Join Type": "Inner", "Startup Cost": 0.0, "Total Cost": 2.62, "Plan Rows": 5, "Plan Width": 30, "Output": ["nation.n_name", "nation.n_nationkey"], "Inner Unique": false, "Join Filter": "(nation.n_regionkey = region.r_regionkey)", "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Relation Name": "region", "Schema": "public", "Alias": "region", "Startup Cost": 0.0, "Total Cost": 1.06, "Plan Rows": 1, "Plan Width": 4, "Output": ["region.r_regionkey", "region.r_name", "region.r_comment"], "Filter": "(region.r_name = 'EUROPE'::bpchar)"}, {"Node Type": "Seq Scan", "Parent Relationship": "Inner", "Parallel Aware": false, "Relation Name": "nation", "Schema": "public", "Alias": "nation", "Startup Cost": 0.0, "Total Cost": 1.25, "Plan Rows": 25, "Plan Width": 34, "Output": ["nation.n_nationkey", "nation.n_name", "nation.n_regionkey", "nation.n_comment"]}]}, {"Node Type": "Index Scan", "Parent Relationship": "Inner", "Parallel Aware": false, "Scan Direction": "Forward", "Index Name": "s_nk", "Relation Name": "supplier", "Schema": "public", "Alias": "supplier", "Startup Cost": 0.29, "Total Cost": 176.32, "Plan Rows": 4000, "Plan Width": 144, "Output": ["supplier.s_suppkey", "supplier.s_name", "supplier.s_address", "supplier.s_nationkey", "supplier.s_phone", "supplier.s_acctbal", "supplier.s_comment"], "Index Cond": "(supplier.s_nationkey = nation.n_nationkey)"}]}, {"Node Type": "Index Scan", "Parent Relationship": "Inner", "Parallel Aware": false, "Scan Direction": "Forward", "Index Name": "ps_sk", "Relation Name": "partsupp", "Schema": "public", "Alias": "partsupp", "Startup Cost": 0.43, "Total Cost": 3.99, "Plan Rows": 80, "Plan Width": 14, "Output": ["partsupp.ps_partkey", "partsupp.ps_suppkey", "partsupp.ps_availqty", "partsupp.ps_supplycost", "partsupp.ps_comment"], "Index Cond": "(partsupp.ps_suppkey = supplier.s_suppkey)"}]}]}, {"Node Type": "Aggregate", "Strategy": "Plain", "Partial Mode": "Simple", "Parent Relationship": "SubPlan", "Subplan Name": "SubPlan 1", "Parallel Aware": false, "Startup Cost": 17.17, "Total Cost": 17.18, "Plan Rows": 1, "Plan Width": 32, "Output": ["min(partsupp_1.ps_supplycost)"], "Plans": [{"Node Type": "Nested Loop", "Parent Relationship": "Outer", "Parallel Aware": false, "Join Type": "Inner", "Startup Cost": 0.86, "Total Cost": 17.17, "Plan Rows": 1, "Plan Width": 6, "Output": ["partsupp_1.ps_supplycost"], "Inner Unique": false, "Join Filter": "(nation_1.n_regionkey = region_1.r_regionkey)", "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Relation Name": "region", "Schema": "public", "Alias": "region_1", "Startup Cost": 0.0, "Total Cost": 1.06, "Plan Rows": 1, "Plan Width": 4, "Output": ["region_1.r_regionkey", "region_1.r_name", "region_1.r_comment"], "Filter": "(region_1.r_name = 'EUROPE'::bpchar)"}, {"Node Type": "Nested Loop", "Parent Relationship": "Inner", "Parallel Aware": false, "Join Type": "Inner", "Startup Cost": 0.86, "Total Cost": 16.05, "Plan Rows": 5, "Plan Width": 10, "Output": ["partsupp_1.ps_supplycost", "nation_1.n_regionkey"], "Inner Unique": true, "Plans": [{"Node Type": "Nested Loop", "Parent Relationship": "Outer", "Parallel Aware": false, "Join Type": "Inner", "Startup Cost": 0.72, "Total Cost": 15.27, "Plan Rows": 5, "Plan Width": 10, "Output": ["partsupp_1.ps_supplycost", "supplier_1.s_nationkey"], "Inner Unique": true, "Plans": [{"Node Type": "Index Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Scan Direction": "Forward", "Index Name": "ps_pk", "Relation Name": "partsupp", "Schema": "public", "Alias": "partsupp_1", "Startup Cost": 0.43, "Total Cost": 2.72, "Plan Rows": 5, "Plan Width": 10, "Output": ["partsupp_1.ps_partkey", "partsupp_1.ps_suppkey", "partsupp_1.ps_availqty", "partsupp_1.ps_supplycost", "partsupp_1.ps_comment"], "Index Cond": "(part.p_partkey = partsupp_1.ps_partkey)"}, {"Node Type": "Index Scan", "Parent Relationship": "Inner", "Parallel Aware": false, "Scan Direction": "Forward", "Index Name": "s_sk", "Relation Name": "supplier", "Schema": "public", "Alias": "supplier_1", "Startup Cost": 0.29, "Total Cost": 2.51, "Plan Rows": 1, "Plan Width": 8, "Output": ["supplier_1.s_suppkey", "supplier_1.s_name", "supplier_1.s_address", "supplier_1.s_nationkey", "supplier_1.s_phone", "supplier_1.s_acctbal", "supplier_1.s_comment"], "Index Cond": "(supplier_1.s_suppkey = partsupp_1.ps_suppkey)"}]}, {"Node Type": "Index Scan", "Parent Relationship": "Inner", "Parallel Aware": false, "Scan Direction": "Forward", "Index Name": "n_nk", "Relation Name": "nation", "Schema": "public", "Alias": "nation_1", "Startup Cost": 0.14, "Total Cost": 0.16, "Plan Rows": 1, "Plan Width": 8, "Output": ["nation_1.n_nationkey", "nation_1.n_name", "nation_1.n_regionkey", "nation_1.n_comment"], "Index Cond": "(nation_1.n_nationkey = supplier_1.s_nationkey)"}]}]}]}]}]}]}} diff --git a/dev9/pg11/tpch/sf_10/explain/15721/20-1.ok b/dev9/pg11/tpch/sf_10/explain/15721/20-1.ok new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/dev9/pg11/tpch/sf_10/explain/15721/20-1.res b/dev9/pg11/tpch/sf_10/explain/15721/20-1.res new file mode 100644 index 0000000000000000000000000000000000000000..ef52bb610370f8359ebdbe78d052edae64d2d3b0 --- /dev/null +++ b/dev9/pg11/tpch/sf_10/explain/15721/20-1.res @@ -0,0 +1 @@ +{"Plan": {"Node Type": "Sort", "Parallel Aware": false, "Startup Cost": 381489.76, "Total Cost": 381492.43, "Plan Rows": 1069, "Plan Width": 51, "Output": ["supplier.s_name", "supplier.s_address"], "Sort Key": ["supplier.s_name"], "Plans": [{"Node Type": "Hash Join", "Parent Relationship": "Outer", "Parallel Aware": false, "Join Type": "Semi", "Startup Cost": 379208.5, "Total Cost": 381435.98, "Plan Rows": 1069, "Plan Width": 51, "Output": ["supplier.s_name", "supplier.s_address"], "Inner Unique": false, "Hash Cond": "(supplier.s_suppkey = partsupp.ps_suppkey)", "Plans": [{"Node Type": "Nested Loop", "Parent Relationship": "Outer", "Parallel Aware": false, "Join Type": "Inner", "Startup Cost": 44.49, "Total Cost": 2244.24, "Plan Rows": 4000, "Plan Width": 55, "Output": ["supplier.s_name", "supplier.s_address", "supplier.s_suppkey"], "Inner Unique": false, "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Relation Name": "nation", "Schema": "public", "Alias": "nation", "Startup Cost": 0.0, "Total Cost": 1.31, "Plan Rows": 1, "Plan Width": 4, "Output": ["nation.n_nationkey", "nation.n_name", "nation.n_regionkey", "nation.n_comment"], "Filter": "(nation.n_name = 'GERMANY'::bpchar)"}, {"Node Type": "Bitmap Heap Scan", "Parent Relationship": "Inner", "Parallel Aware": false, "Relation Name": "supplier", "Schema": "public", "Alias": "supplier", "Startup Cost": 44.49, "Total Cost": 2202.92, "Plan Rows": 4000, "Plan Width": 59, "Output": ["supplier.s_suppkey", "supplier.s_name", "supplier.s_address", "supplier.s_nationkey", "supplier.s_phone", "supplier.s_acctbal", "supplier.s_comment"], "Recheck Cond": "(supplier.s_nationkey = nation.n_nationkey)", "Plans": [{"Node Type": "Bitmap Index Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Index Name": "s_nk", "Startup Cost": 0.0, "Total Cost": 43.49, "Plan Rows": 4000, "Plan Width": 0, "Index Cond": "(supplier.s_nationkey = nation.n_nationkey)"}]}]}, {"Node Type": "Hash", "Parent Relationship": "Inner", "Parallel Aware": false, "Startup Cost": 378830.02, "Total Cost": 378830.02, "Plan Rows": 26719, "Plan Width": 4, "Output": ["partsupp.ps_suppkey"], "Plans": [{"Node Type": "Nested Loop", "Parent Relationship": "Outer", "Parallel Aware": false, "Join Type": "Inner", "Startup Cost": 1000.43, "Total Cost": 378830.02, "Plan Rows": 26719, "Plan Width": 4, "Output": ["partsupp.ps_suppkey"], "Inner Unique": false, "Plans": [{"Node Type": "Gather", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 1000.0, "Total Cost": 50216.0, "Plan Rows": 20040, "Plan Width": 4, "Output": ["part.p_partkey"], "Workers Planned": 4, "Single Copy": false, "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": true, "Relation Name": "part", "Schema": "public", "Alias": "part", "Startup Cost": 0.0, "Total Cost": 47212.0, "Plan Rows": 5010, "Plan Width": 4, "Output": ["part.p_partkey"], "Filter": "((part.p_name)::text ~~ 'floral%'::text)"}]}, {"Node Type": "Index Scan", "Parent Relationship": "Inner", "Parallel Aware": false, "Scan Direction": "Forward", "Index Name": "ps_pk", "Relation Name": "partsupp", "Schema": "public", "Alias": "partsupp", "Startup Cost": 0.43, "Total Cost": 16.38, "Plan Rows": 2, "Plan Width": 8, "Output": ["partsupp.ps_partkey", "partsupp.ps_suppkey", "partsupp.ps_availqty", "partsupp.ps_supplycost", "partsupp.ps_comment"], "Index Cond": "(partsupp.ps_partkey = part.p_partkey)", "Filter": "((partsupp.ps_availqty)::numeric > (SubPlan 1))", "Plans": [{"Node Type": "Aggregate", "Strategy": "Plain", "Partial Mode": "Simple", "Parent Relationship": "SubPlan", "Subplan Name": "SubPlan 1", "Parallel Aware": false, "Startup Cost": 2.79, "Total Cost": 2.81, "Plan Rows": 1, "Plan Width": 32, "Output": ["(0.5 * sum(lineitem.l_quantity))"], "Plans": [{"Node Type": "Index Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Scan Direction": "Forward", "Index Name": "l_sk_pk", "Relation Name": "lineitem", "Schema": "public", "Alias": "lineitem", "Startup Cost": 0.56, "Total Cost": 2.79, "Plan Rows": 1, "Plan Width": 5, "Output": ["lineitem.l_orderkey", "lineitem.l_partkey", "lineitem.l_suppkey", "lineitem.l_linenumber", "lineitem.l_quantity", "lineitem.l_extendedprice", "lineitem.l_discount", "lineitem.l_tax", "lineitem.l_returnflag", "lineitem.l_linestatus", "lineitem.l_shipdate", "lineitem.l_commitdate", "lineitem.l_receiptdate", "lineitem.l_shipinstruct", "lineitem.l_shipmode", "lineitem.l_comment"], "Index Cond": "((lineitem.l_suppkey = partsupp.ps_suppkey) AND (lineitem.l_partkey = partsupp.ps_partkey))", "Filter": "((lineitem.l_shipdate >= '1996-01-01'::date) AND (lineitem.l_shipdate < '1997-01-01 00:00:00'::timestamp without time zone))"}]}]}]}]}]}]}} diff --git a/dev9/pg11/tpch/sf_10/explain/15721/21-1.ok b/dev9/pg11/tpch/sf_10/explain/15721/21-1.ok new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/dev9/pg11/tpch/sf_10/explain/15721/21-1.res b/dev9/pg11/tpch/sf_10/explain/15721/21-1.res new file mode 100644 index 0000000000000000000000000000000000000000..c5cab378af55bffad12a1a985859d4e72f1a622d --- /dev/null +++ b/dev9/pg11/tpch/sf_10/explain/15721/21-1.res @@ -0,0 +1 @@ +{"Plan": {"Node Type": "Limit", "Parallel Aware": false, "Startup Cost": 409340.51, "Total Cost": 409340.52, "Plan Rows": 1, "Plan Width": 34, "Output": ["supplier.s_name", "(count(*))"], "Plans": [{"Node Type": "Sort", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 409340.51, "Total Cost": 409340.52, "Plan Rows": 1, "Plan Width": 34, "Output": ["supplier.s_name", "(count(*))"], "Sort Key": ["(count(*)) DESC", "supplier.s_name"], "Plans": [{"Node Type": "Aggregate", "Strategy": "Sorted", "Partial Mode": "Simple", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 409340.48, "Total Cost": 409340.5, "Plan Rows": 1, "Plan Width": 34, "Output": ["supplier.s_name", "count(*)"], "Group Key": ["supplier.s_name"], "Plans": [{"Node Type": "Sort", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 409340.48, "Total Cost": 409340.49, "Plan Rows": 1, "Plan Width": 26, "Output": ["supplier.s_name"], "Sort Key": ["supplier.s_name"], "Plans": [{"Node Type": "Nested Loop", "Parent Relationship": "Outer", "Parallel Aware": false, "Join Type": "Inner", "Startup Cost": 1003.46, "Total Cost": 409340.47, "Plan Rows": 1, "Plan Width": 26, "Output": ["supplier.s_name"], "Inner Unique": true, "Plans": [{"Node Type": "Nested Loop", "Parent Relationship": "Outer", "Parallel Aware": false, "Join Type": "Semi", "Startup Cost": 1003.02, "Total Cost": 409340.0, "Plan Rows": 1, "Plan Width": 34, "Output": ["supplier.s_name", "l1.l_orderkey", "l2.l_orderkey"], "Inner Unique": false, "Plans": [{"Node Type": "Gather", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 1002.46, "Total Cost": 409338.74, "Plan Rows": 1, "Plan Width": 34, "Output": ["supplier.s_name", "l1.l_suppkey", "l1.l_orderkey"], "Workers Planned": 1, "Single Copy": false, "Plans": [{"Node Type": "Nested Loop", "Parent Relationship": "Outer", "Parallel Aware": false, "Join Type": "Anti", "Startup Cost": 2.46, "Total Cost": 408338.64, "Plan Rows": 1, "Plan Width": 34, "Output": ["supplier.s_name", "l1.l_suppkey", "l1.l_orderkey"], "Inner Unique": false, "Plans": [{"Node Type": "Nested Loop", "Parent Relationship": "Outer", "Parallel Aware": false, "Join Type": "Inner", "Startup Cost": 1.89, "Total Cost": 69630.31, "Plan Rows": 470506, "Plan Width": 34, "Output": ["supplier.s_name", "l1.l_suppkey", "l1.l_orderkey"], "Inner Unique": false, "Plans": [{"Node Type": "Hash Join", "Parent Relationship": "Outer", "Parallel Aware": false, "Join Type": "Inner", "Startup Cost": 1.32, "Total Cost": 2986.15, "Plan Rows": 2353, "Plan Width": 30, "Output": ["supplier.s_name", "supplier.s_suppkey"], "Inner Unique": true, "Hash Cond": "(supplier.s_nationkey = nation.n_nationkey)", "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": true, "Relation Name": "supplier", "Schema": "public", "Alias": "supplier", "Startup Cost": 0.0, "Total Cost": 2804.24, "Plan Rows": 58824, "Plan Width": 34, "Output": ["supplier.s_suppkey", "supplier.s_name", "supplier.s_address", "supplier.s_nationkey", "supplier.s_phone", "supplier.s_acctbal", "supplier.s_comment"]}, {"Node Type": "Hash", "Parent Relationship": "Inner", "Parallel Aware": false, "Startup Cost": 1.31, "Total Cost": 1.31, "Plan Rows": 1, "Plan Width": 4, "Output": ["nation.n_nationkey"], "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Relation Name": "nation", "Schema": "public", "Alias": "nation", "Startup Cost": 0.0, "Total Cost": 1.31, "Plan Rows": 1, "Plan Width": 4, "Output": ["nation.n_nationkey"], "Filter": "(nation.n_name = 'CHINA'::bpchar)"}]}]}, {"Node Type": "Index Scan", "Parent Relationship": "Inner", "Parallel Aware": false, "Scan Direction": "Forward", "Index Name": "l_sk", "Relation Name": "lineitem", "Schema": "public", "Alias": "l1", "Startup Cost": 0.56, "Total Cost": 26.32, "Plan Rows": 200, "Plan Width": 8, "Output": ["l1.l_orderkey", "l1.l_partkey", "l1.l_suppkey", "l1.l_linenumber", "l1.l_quantity", "l1.l_extendedprice", "l1.l_discount", "l1.l_tax", "l1.l_returnflag", "l1.l_linestatus", "l1.l_shipdate", "l1.l_commitdate", "l1.l_receiptdate", "l1.l_shipinstruct", "l1.l_shipmode", "l1.l_comment"], "Index Cond": "(l1.l_suppkey = supplier.s_suppkey)", "Filter": "(l1.l_receiptdate > l1.l_commitdate)"}]}, {"Node Type": "Index Scan", "Parent Relationship": "Inner", "Parallel Aware": false, "Scan Direction": "Forward", "Index Name": "l_ok", "Relation Name": "lineitem", "Schema": "public", "Alias": "l3", "Startup Cost": 0.56, "Total Cost": 1.31, "Plan Rows": 10, "Plan Width": 8, "Output": ["l3.l_orderkey", "l3.l_partkey", "l3.l_suppkey", "l3.l_linenumber", "l3.l_quantity", "l3.l_extendedprice", "l3.l_discount", "l3.l_tax", "l3.l_returnflag", "l3.l_linestatus", "l3.l_shipdate", "l3.l_commitdate", "l3.l_receiptdate", "l3.l_shipinstruct", "l3.l_shipmode", "l3.l_comment"], "Index Cond": "(l3.l_orderkey = l1.l_orderkey)", "Filter": "((l3.l_receiptdate > l3.l_commitdate) AND (l3.l_suppkey <> l1.l_suppkey))"}]}]}, {"Node Type": "Index Scan", "Parent Relationship": "Inner", "Parallel Aware": false, "Scan Direction": "Forward", "Index Name": "l_ok", "Relation Name": "lineitem", "Schema": "public", "Alias": "l2", "Startup Cost": 0.56, "Total Cost": 1.24, "Plan Rows": 30, "Plan Width": 8, "Output": ["l2.l_orderkey", "l2.l_partkey", "l2.l_suppkey", "l2.l_linenumber", "l2.l_quantity", "l2.l_extendedprice", "l2.l_discount", "l2.l_tax", "l2.l_returnflag", "l2.l_linestatus", "l2.l_shipdate", "l2.l_commitdate", "l2.l_receiptdate", "l2.l_shipinstruct", "l2.l_shipmode", "l2.l_comment"], "Index Cond": "(l2.l_orderkey = l1.l_orderkey)", "Filter": "(l2.l_suppkey <> l1.l_suppkey)"}]}, {"Node Type": "Index Scan", "Parent Relationship": "Inner", "Parallel Aware": false, "Scan Direction": "Forward", "Index Name": "o_ok", "Relation Name": "orders", "Schema": "public", "Alias": "orders", "Startup Cost": 0.43, "Total Cost": 0.47, "Plan Rows": 1, "Plan Width": 4, "Output": ["orders.o_orderkey", "orders.o_custkey", "orders.o_orderstatus", "orders.o_totalprice", "orders.o_orderdate", "orders.o_orderpriority", "orders.o_clerk", "orders.o_shippriority", "orders.o_comment"], "Index Cond": "(orders.o_orderkey = l1.l_orderkey)", "Filter": "(orders.o_orderstatus = 'F'::bpchar)"}]}]}]}]}]}} diff --git a/dev9/pg11/tpch/sf_10/explain/15721/22-1.ok b/dev9/pg11/tpch/sf_10/explain/15721/22-1.ok new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/dev9/pg11/tpch/sf_10/explain/15721/22-1.res b/dev9/pg11/tpch/sf_10/explain/15721/22-1.res new file mode 100644 index 0000000000000000000000000000000000000000..7e2bcf2862c93e9ad66aa77836887298d65df3c6 --- /dev/null +++ b/dev9/pg11/tpch/sf_10/explain/15721/22-1.res @@ -0,0 +1 @@ +{"Plan": {"Node Type": "Aggregate", "Strategy": "Sorted", "Partial Mode": "Finalize", "Parallel Aware": false, "Startup Cost": 95898.3, "Total Cost": 97018.75, "Plan Rows": 7301, "Plan Width": 72, "Output": ["(\"substring\"((customer.c_phone)::text, 1, 2))", "count(*)", "sum(customer.c_acctbal)"], "Group Key": ["(\"substring\"((customer.c_phone)::text, 1, 2))"], "Plans": [{"Node Type": "Aggregate", "Strategy": "Plain", "Partial Mode": "Finalize", "Parent Relationship": "InitPlan", "Subplan Name": "InitPlan 1 (returns $1)", "Parallel Aware": false, "Startup Cost": 46700.99, "Total Cost": 46701.0, "Plan Rows": 1, "Plan Width": 32, "Output": ["avg(customer_1.c_acctbal)"], "Plans": [{"Node Type": "Gather", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 46700.56, "Total Cost": 46700.97, "Plan Rows": 4, "Plan Width": 32, "Output": ["(PARTIAL avg(customer_1.c_acctbal))"], "Workers Planned": 4, "Single Copy": false, "Plans": [{"Node Type": "Aggregate", "Strategy": "Plain", "Partial Mode": "Partial", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 45700.56, "Total Cost": 45700.57, "Plan Rows": 1, "Plan Width": 32, "Output": ["PARTIAL avg(customer_1.c_acctbal)"], "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": true, "Relation Name": "customer", "Schema": "public", "Alias": "customer_1", "Startup Cost": 0.0, "Total Cost": 45670.75, "Plan Rows": 11923, "Plan Width": 6, "Output": ["customer_1.c_custkey", "customer_1.c_name", "customer_1.c_address", "customer_1.c_nationkey", "customer_1.c_phone", "customer_1.c_acctbal", "customer_1.c_mktsegment", "customer_1.c_comment"], "Filter": "((customer_1.c_acctbal > 0.00) AND (\"substring\"((customer_1.c_phone)::text, 1, 2) = ANY ('{17,20,25,31,30,11,33}'::text[])))"}]}]}]}, {"Node Type": "Gather Merge", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 49197.29, "Total Cost": 50116.98, "Plan Rows": 7300, "Plan Width": 72, "Output": ["(\"substring\"((customer.c_phone)::text, 1, 2))", "(PARTIAL count(*))", "(PARTIAL sum(customer.c_acctbal))"], "Workers Planned": 4, "Params Evaluated": ["$1"], "Plans": [{"Node Type": "Aggregate", "Strategy": "Sorted", "Partial Mode": "Partial", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 48197.24, "Total Cost": 48247.42, "Plan Rows": 1825, "Plan Width": 72, "Output": ["(\"substring\"((customer.c_phone)::text, 1, 2))", "PARTIAL count(*)", "PARTIAL sum(customer.c_acctbal)"], "Group Key": ["(\"substring\"((customer.c_phone)::text, 1, 2))"], "Plans": [{"Node Type": "Sort", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 48197.24, "Total Cost": 48201.8, "Plan Rows": 1825, "Plan Width": 38, "Output": ["(\"substring\"((customer.c_phone)::text, 1, 2))", "customer.c_acctbal"], "Sort Key": ["(\"substring\"((customer.c_phone)::text, 1, 2))"], "Plans": [{"Node Type": "Nested Loop", "Parent Relationship": "Outer", "Parallel Aware": false, "Join Type": "Anti", "Startup Cost": 0.43, "Total Cost": 48098.38, "Plan Rows": 1825, "Plan Width": 38, "Output": ["\"substring\"((customer.c_phone)::text, 1, 2)", "customer.c_acctbal"], "Inner Unique": false, "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": true, "Relation Name": "customer", "Schema": "public", "Alias": "customer", "Startup Cost": 0.0, "Total Cost": 45670.75, "Plan Rows": 4375, "Plan Width": 26, "Output": ["customer.c_custkey", "customer.c_name", "customer.c_address", "customer.c_nationkey", "customer.c_phone", "customer.c_acctbal", "customer.c_mktsegment", "customer.c_comment"], "Filter": "((customer.c_acctbal > $1) AND (\"substring\"((customer.c_phone)::text, 1, 2) = ANY ('{17,20,25,31,30,11,33}'::text[])))"}, {"Node Type": "Index Only Scan", "Parent Relationship": "Inner", "Parallel Aware": false, "Scan Direction": "Forward", "Index Name": "o_ck", "Relation Name": "orders", "Schema": "public", "Alias": "orders", "Startup Cost": 0.43, "Total Cost": 1.64, "Plan Rows": 17, "Plan Width": 4, "Output": ["orders.o_custkey"], "Index Cond": "(orders.o_custkey = customer.c_custkey)"}]}]}]}]}]}} diff --git a/dev9/pg11/tpch/sf_10/explain/15721/3-1.ok b/dev9/pg11/tpch/sf_10/explain/15721/3-1.ok new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/dev9/pg11/tpch/sf_10/explain/15721/3-1.res b/dev9/pg11/tpch/sf_10/explain/15721/3-1.res new file mode 100644 index 0000000000000000000000000000000000000000..8287a56dff96842d337e5831d127b872acb876d9 --- /dev/null +++ b/dev9/pg11/tpch/sf_10/explain/15721/3-1.res @@ -0,0 +1 @@ +{"Plan": {"Node Type": "Limit", "Parallel Aware": false, "Startup Cost": 1384079.97, "Total Cost": 1384080.0, "Plan Rows": 10, "Plan Width": 44, "Output": ["lineitem.l_orderkey", "(sum((lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount))))", "orders.o_orderdate", "orders.o_shippriority"], "Plans": [{"Node Type": "Sort", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 1384079.97, "Total Cost": 1391989.83, "Plan Rows": 3163942, "Plan Width": 44, "Output": ["lineitem.l_orderkey", "(sum((lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount))))", "orders.o_orderdate", "orders.o_shippriority"], "Sort Key": ["(sum((lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount)))) DESC", "orders.o_orderdate"], "Plans": [{"Node Type": "Aggregate", "Strategy": "Sorted", "Partial Mode": "Finalize", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 836023.94, "Total Cost": 1315708.33, "Plan Rows": 3163942, "Plan Width": 44, "Output": ["lineitem.l_orderkey", "sum((lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount)))", "orders.o_orderdate", "orders.o_shippriority"], "Group Key": ["lineitem.l_orderkey", "orders.o_orderdate", "orders.o_shippriority"], "Plans": [{"Node Type": "Gather Merge", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 836023.94, "Total Cost": 1236609.75, "Plan Rows": 3163944, "Plan Width": 44, "Output": ["lineitem.l_orderkey", "orders.o_orderdate", "orders.o_shippriority", "(PARTIAL sum((lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount))))"], "Workers Planned": 4, "Plans": [{"Node Type": "Aggregate", "Strategy": "Sorted", "Partial Mode": "Partial", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 835023.88, "Total Cost": 858753.46, "Plan Rows": 790986, "Plan Width": 44, "Output": ["lineitem.l_orderkey", "orders.o_orderdate", "orders.o_shippriority", "PARTIAL sum((lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount)))"], "Group Key": ["lineitem.l_orderkey", "orders.o_orderdate", "orders.o_shippriority"], "Plans": [{"Node Type": "Sort", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 835023.88, "Total Cost": 837001.35, "Plan Rows": 790986, "Plan Width": 24, "Output": ["lineitem.l_orderkey", "orders.o_orderdate", "orders.o_shippriority", "lineitem.l_extendedprice", "lineitem.l_discount"], "Sort Key": ["lineitem.l_orderkey", "orders.o_orderdate", "orders.o_shippriority"], "Plans": [{"Node Type": "Nested Loop", "Parent Relationship": "Outer", "Parallel Aware": false, "Join Type": "Inner", "Startup Cost": 1.0, "Total Cost": 748032.03, "Plan Rows": 790986, "Plan Width": 24, "Output": ["lineitem.l_orderkey", "orders.o_orderdate", "orders.o_shippriority", "lineitem.l_extendedprice", "lineitem.l_discount"], "Inner Unique": false, "Plans": [{"Node Type": "Nested Loop", "Parent Relationship": "Outer", "Parallel Aware": false, "Join Type": "Inner", "Startup Cost": 0.43, "Total Cost": 188255.91, "Plan Rows": 368504, "Plan Width": 12, "Output": ["orders.o_orderdate", "orders.o_shippriority", "orders.o_orderkey"], "Inner Unique": false, "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": true, "Relation Name": "customer", "Schema": "public", "Alias": "customer", "Startup Cost": 0.0, "Total Cost": 40514.5, "Plan Rows": 75648, "Plan Width": 4, "Output": ["customer.c_custkey", "customer.c_name", "customer.c_address", "customer.c_nationkey", "customer.c_phone", "customer.c_acctbal", "customer.c_mktsegment", "customer.c_comment"], "Filter": "(customer.c_mktsegment = 'FURNITURE'::bpchar)"}, {"Node Type": "Index Scan", "Parent Relationship": "Inner", "Parallel Aware": false, "Scan Direction": "Forward", "Index Name": "o_ck", "Relation Name": "orders", "Schema": "public", "Alias": "orders", "Startup Cost": 0.43, "Total Cost": 1.87, "Plan Rows": 8, "Plan Width": 16, "Output": ["orders.o_orderkey", "orders.o_custkey", "orders.o_orderstatus", "orders.o_totalprice", "orders.o_orderdate", "orders.o_orderpriority", "orders.o_clerk", "orders.o_shippriority", "orders.o_comment"], "Index Cond": "(orders.o_custkey = customer.c_custkey)", "Filter": "(orders.o_orderdate < '1995-03-20'::date)"}]}, {"Node Type": "Index Scan", "Parent Relationship": "Inner", "Parallel Aware": false, "Scan Direction": "Forward", "Index Name": "l_ok", "Relation Name": "lineitem", "Schema": "public", "Alias": "lineitem", "Startup Cost": 0.56, "Total Cost": 1.36, "Plan Rows": 16, "Plan Width": 16, "Output": ["lineitem.l_orderkey", "lineitem.l_partkey", "lineitem.l_suppkey", "lineitem.l_linenumber", "lineitem.l_quantity", "lineitem.l_extendedprice", "lineitem.l_discount", "lineitem.l_tax", "lineitem.l_returnflag", "lineitem.l_linestatus", "lineitem.l_shipdate", "lineitem.l_commitdate", "lineitem.l_receiptdate", "lineitem.l_shipinstruct", "lineitem.l_shipmode", "lineitem.l_comment"], "Index Cond": "(lineitem.l_orderkey = orders.o_orderkey)", "Filter": "(lineitem.l_shipdate > '1995-03-20'::date)"}]}]}]}]}]}]}]}} diff --git a/dev9/pg11/tpch/sf_10/explain/15721/4-1.ok b/dev9/pg11/tpch/sf_10/explain/15721/4-1.ok new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/dev9/pg11/tpch/sf_10/explain/15721/4-1.res b/dev9/pg11/tpch/sf_10/explain/15721/4-1.res new file mode 100644 index 0000000000000000000000000000000000000000..e2c2ff490113de58da698d09ce52824aa2a6e73c --- /dev/null +++ b/dev9/pg11/tpch/sf_10/explain/15721/4-1.res @@ -0,0 +1 @@ +{"Plan": {"Node Type": "Aggregate", "Strategy": "Sorted", "Partial Mode": "Finalize", "Parallel Aware": false, "Startup Cost": 344448.07, "Total Cost": 344547.45, "Plan Rows": 5, "Plan Width": 24, "Output": ["orders.o_orderpriority", "count(*)"], "Group Key": ["orders.o_orderpriority"], "Plans": [{"Node Type": "Gather Merge", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 344448.07, "Total Cost": 344547.25, "Plan Rows": 30, "Plan Width": 24, "Output": ["orders.o_orderpriority", "(PARTIAL count(*))"], "Workers Planned": 6, "Plans": [{"Node Type": "Aggregate", "Strategy": "Sorted", "Partial Mode": "Partial", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 343447.97, "Total Cost": 343543.51, "Plan Rows": 5, "Plan Width": 24, "Output": ["orders.o_orderpriority", "PARTIAL count(*)"], "Group Key": ["orders.o_orderpriority"], "Plans": [{"Node Type": "Sort", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 343447.97, "Total Cost": 343479.8, "Plan Rows": 12731, "Plan Width": 16, "Output": ["orders.o_orderpriority"], "Sort Key": ["orders.o_orderpriority"], "Plans": [{"Node Type": "Nested Loop", "Parent Relationship": "Outer", "Parallel Aware": false, "Join Type": "Semi", "Startup Cost": 7545.42, "Total Cost": 342579.97, "Plan Rows": 12731, "Plan Width": 16, "Output": ["orders.o_orderpriority"], "Inner Unique": false, "Plans": [{"Node Type": "Bitmap Heap Scan", "Parent Relationship": "Outer", "Parallel Aware": true, "Relation Name": "orders", "Schema": "public", "Alias": "orders", "Startup Cost": 7544.85, "Total Cost": 269878.42, "Plan Rows": 94771, "Plan Width": 20, "Output": ["orders.o_orderkey", "orders.o_custkey", "orders.o_orderstatus", "orders.o_totalprice", "orders.o_orderdate", "orders.o_orderpriority", "orders.o_clerk", "orders.o_shippriority", "orders.o_comment"], "Recheck Cond": "((orders.o_orderdate >= '1996-01-01'::date) AND (orders.o_orderdate < '1996-04-01 00:00:00'::timestamp without time zone))", "Plans": [{"Node Type": "Bitmap Index Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Index Name": "o_od", "Startup Cost": 0.0, "Total Cost": 7402.7, "Plan Rows": 568626, "Plan Width": 0, "Index Cond": "((orders.o_orderdate >= '1996-01-01'::date) AND (orders.o_orderdate < '1996-04-01 00:00:00'::timestamp without time zone))"}]}, {"Node Type": "Index Scan", "Parent Relationship": "Inner", "Parallel Aware": false, "Scan Direction": "Forward", "Index Name": "l_ok", "Relation Name": "lineitem", "Schema": "public", "Alias": "lineitem", "Startup Cost": 0.56, "Total Cost": 2.36, "Plan Rows": 10, "Plan Width": 4, "Output": ["lineitem.l_orderkey", "lineitem.l_partkey", "lineitem.l_suppkey", "lineitem.l_linenumber", "lineitem.l_quantity", "lineitem.l_extendedprice", "lineitem.l_discount", "lineitem.l_tax", "lineitem.l_returnflag", "lineitem.l_linestatus", "lineitem.l_shipdate", "lineitem.l_commitdate", "lineitem.l_receiptdate", "lineitem.l_shipinstruct", "lineitem.l_shipmode", "lineitem.l_comment"], "Index Cond": "(lineitem.l_orderkey = orders.o_orderkey)", "Filter": "(lineitem.l_commitdate < lineitem.l_receiptdate)"}]}]}]}]}]}} diff --git a/dev9/pg11/tpch/sf_10/explain/15721/5-1.ok b/dev9/pg11/tpch/sf_10/explain/15721/5-1.ok new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/dev9/pg11/tpch/sf_10/explain/15721/5-1.res b/dev9/pg11/tpch/sf_10/explain/15721/5-1.res new file mode 100644 index 0000000000000000000000000000000000000000..46b322356c8d732aedcf53d9c2040dd5359946fd --- /dev/null +++ b/dev9/pg11/tpch/sf_10/explain/15721/5-1.res @@ -0,0 +1 @@ +{"Plan": {"Node Type": "Sort", "Parallel Aware": false, "Startup Cost": 358412.58, "Total Cost": 358412.64, "Plan Rows": 25, "Plan Width": 58, "Output": ["nation.n_name", "(sum((lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount))))"], "Sort Key": ["(sum((lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount)))) DESC"], "Plans": [{"Node Type": "Aggregate", "Strategy": "Sorted", "Partial Mode": "Finalize", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 358172.81, "Total Cost": 358412.0, "Plan Rows": 25, "Plan Width": 58, "Output": ["nation.n_name", "sum((lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount)))"], "Group Key": ["nation.n_name"], "Plans": [{"Node Type": "Gather Merge", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 358172.81, "Total Cost": 358410.94, "Plan Rows": 100, "Plan Width": 58, "Output": ["nation.n_name", "(PARTIAL sum((lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount))))"], "Workers Planned": 4, "Plans": [{"Node Type": "Aggregate", "Strategy": "Sorted", "Partial Mode": "Partial", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 357172.76, "Total Cost": 357398.97, "Plan Rows": 25, "Plan Width": 58, "Output": ["nation.n_name", "PARTIAL sum((lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount)))"], "Group Key": ["nation.n_name"], "Plans": [{"Node Type": "Sort", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 357172.76, "Total Cost": 357217.94, "Plan Rows": 18072, "Plan Width": 38, "Output": ["nation.n_name", "lineitem.l_extendedprice", "lineitem.l_discount"], "Sort Key": ["nation.n_name"], "Plans": [{"Node Type": "Hash Join", "Parent Relationship": "Outer", "Parallel Aware": true, "Join Type": "Inner", "Startup Cost": 3690.1, "Total Cost": 355894.93, "Plan Rows": 18072, "Plan Width": 38, "Output": ["nation.n_name", "lineitem.l_extendedprice", "lineitem.l_discount"], "Inner Unique": true, "Hash Cond": "((lineitem.l_suppkey = supplier.s_suppkey) AND (customer.c_nationkey = supplier.s_nationkey))", "Plans": [{"Node Type": "Nested Loop", "Parent Relationship": "Outer", "Parallel Aware": false, "Join Type": "Inner", "Startup Cost": 3.51, "Total Cost": 349836.43, "Plan Rows": 451792, "Plan Width": 50, "Output": ["customer.c_nationkey", "lineitem.l_extendedprice", "lineitem.l_discount", "lineitem.l_suppkey", "nation.n_name", "nation.n_nationkey"], "Inner Unique": false, "Plans": [{"Node Type": "Nested Loop", "Parent Relationship": "Outer", "Parallel Aware": false, "Join Type": "Inner", "Startup Cost": 2.94, "Total Cost": 121910.62, "Plan Rows": 112971, "Plan Width": 38, "Output": ["customer.c_nationkey", "orders.o_orderkey", "nation.n_name", "nation.n_nationkey"], "Inner Unique": false, "Plans": [{"Node Type": "Hash Join", "Parent Relationship": "Outer", "Parallel Aware": false, "Join Type": "Inner", "Startup Cost": 2.51, "Total Cost": 41735.76, "Plan Rows": 75000, "Plan Width": 38, "Output": ["customer.c_custkey", "customer.c_nationkey", "nation.n_name", "nation.n_nationkey"], "Inner Unique": false, "Hash Cond": "(customer.c_nationkey = nation.n_nationkey)", "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": true, "Relation Name": "customer", "Schema": "public", "Alias": "customer", "Startup Cost": 0.0, "Total Cost": 39577.0, "Plan Rows": 375000, "Plan Width": 8, "Output": ["customer.c_custkey", "customer.c_name", "customer.c_address", "customer.c_nationkey", "customer.c_phone", "customer.c_acctbal", "customer.c_mktsegment", "customer.c_comment"]}, {"Node Type": "Hash", "Parent Relationship": "Inner", "Parallel Aware": false, "Startup Cost": 2.45, "Total Cost": 2.45, "Plan Rows": 5, "Plan Width": 30, "Output": ["nation.n_name", "nation.n_nationkey"], "Plans": [{"Node Type": "Hash Join", "Parent Relationship": "Outer", "Parallel Aware": false, "Join Type": "Inner", "Startup Cost": 1.07, "Total Cost": 2.45, "Plan Rows": 5, "Plan Width": 30, "Output": ["nation.n_name", "nation.n_nationkey"], "Inner Unique": true, "Hash Cond": "(nation.n_regionkey = region.r_regionkey)", "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Relation Name": "nation", "Schema": "public", "Alias": "nation", "Startup Cost": 0.0, "Total Cost": 1.25, "Plan Rows": 25, "Plan Width": 34, "Output": ["nation.n_nationkey", "nation.n_name", "nation.n_regionkey", "nation.n_comment"]}, {"Node Type": "Hash", "Parent Relationship": "Inner", "Parallel Aware": false, "Startup Cost": 1.06, "Total Cost": 1.06, "Plan Rows": 1, "Plan Width": 4, "Output": ["region.r_regionkey"], "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Relation Name": "region", "Schema": "public", "Alias": "region", "Startup Cost": 0.0, "Total Cost": 1.06, "Plan Rows": 1, "Plan Width": 4, "Output": ["region.r_regionkey"], "Filter": "(region.r_name = 'AMERICA'::bpchar)"}]}]}]}]}, {"Node Type": "Index Scan", "Parent Relationship": "Inner", "Parallel Aware": false, "Scan Direction": "Forward", "Index Name": "o_ck", "Relation Name": "orders", "Schema": "public", "Alias": "orders", "Startup Cost": 0.43, "Total Cost": 1.04, "Plan Rows": 3, "Plan Width": 8, "Output": ["orders.o_orderkey", "orders.o_custkey", "orders.o_orderstatus", "orders.o_totalprice", "orders.o_orderdate", "orders.o_orderpriority", "orders.o_clerk", "orders.o_shippriority", "orders.o_comment"], "Index Cond": "(orders.o_custkey = customer.c_custkey)", "Filter": "((orders.o_orderdate >= '1995-01-01'::date) AND (orders.o_orderdate < '1996-01-01 00:00:00'::timestamp without time zone))"}]}, {"Node Type": "Index Scan", "Parent Relationship": "Inner", "Parallel Aware": false, "Scan Direction": "Forward", "Index Name": "l_ok", "Relation Name": "lineitem", "Schema": "public", "Alias": "lineitem", "Startup Cost": 0.56, "Total Cost": 1.72, "Plan Rows": 30, "Plan Width": 20, "Output": ["lineitem.l_orderkey", "lineitem.l_partkey", "lineitem.l_suppkey", "lineitem.l_linenumber", "lineitem.l_quantity", "lineitem.l_extendedprice", "lineitem.l_discount", "lineitem.l_tax", "lineitem.l_returnflag", "lineitem.l_linestatus", "lineitem.l_shipdate", "lineitem.l_commitdate", "lineitem.l_receiptdate", "lineitem.l_shipinstruct", "lineitem.l_shipmode", "lineitem.l_comment"], "Index Cond": "(lineitem.l_orderkey = orders.o_orderkey)"}]}, {"Node Type": "Hash", "Parent Relationship": "Inner", "Parallel Aware": true, "Startup Cost": 2804.24, "Total Cost": 2804.24, "Plan Rows": 58824, "Plan Width": 8, "Output": ["supplier.s_suppkey", "supplier.s_nationkey"], "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": true, "Relation Name": "supplier", "Schema": "public", "Alias": "supplier", "Startup Cost": 0.0, "Total Cost": 2804.24, "Plan Rows": 58824, "Plan Width": 8, "Output": ["supplier.s_suppkey", "supplier.s_nationkey"]}]}]}]}]}]}]}]}} diff --git a/dev9/pg11/tpch/sf_10/explain/15721/6-1.ok b/dev9/pg11/tpch/sf_10/explain/15721/6-1.ok new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/dev9/pg11/tpch/sf_10/explain/15721/6-1.res b/dev9/pg11/tpch/sf_10/explain/15721/6-1.res new file mode 100644 index 0000000000000000000000000000000000000000..3f0192dea031169cd64422af05733eb8defc770d --- /dev/null +++ b/dev9/pg11/tpch/sf_10/explain/15721/6-1.res @@ -0,0 +1 @@ +{"Plan": {"Node Type": "Aggregate", "Strategy": "Plain", "Partial Mode": "Finalize", "Parallel Aware": false, "Startup Cost": 1319184.04, "Total Cost": 1319184.05, "Plan Rows": 1, "Plan Width": 32, "Output": ["sum((l_extendedprice * l_discount))"], "Plans": [{"Node Type": "Gather", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 1319183.29, "Total Cost": 1319184.0, "Plan Rows": 7, "Plan Width": 32, "Output": ["(PARTIAL sum((l_extendedprice * l_discount)))"], "Workers Planned": 7, "Single Copy": false, "Plans": [{"Node Type": "Aggregate", "Strategy": "Plain", "Partial Mode": "Partial", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 1318183.29, "Total Cost": 1318183.3, "Plan Rows": 1, "Plan Width": 32, "Output": ["PARTIAL sum((l_extendedprice * l_discount))"], "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": true, "Relation Name": "lineitem", "Schema": "public", "Alias": "lineitem", "Startup Cost": 0.0, "Total Cost": 1317365.41, "Plan Rows": 163576, "Plan Width": 12, "Output": ["l_orderkey", "l_partkey", "l_suppkey", "l_linenumber", "l_quantity", "l_extendedprice", "l_discount", "l_tax", "l_returnflag", "l_linestatus", "l_shipdate", "l_commitdate", "l_receiptdate", "l_shipinstruct", "l_shipmode", "l_comment"], "Filter": "((lineitem.l_shipdate >= '1995-01-01'::date) AND (lineitem.l_shipdate < '1996-01-01 00:00:00'::timestamp without time zone) AND (lineitem.l_discount >= 0.04) AND (lineitem.l_discount <= 0.06) AND (lineitem.l_quantity < '24'::numeric))"}]}]}]}} diff --git a/dev9/pg11/tpch/sf_10/explain/15721/7-1.ok b/dev9/pg11/tpch/sf_10/explain/15721/7-1.ok new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/dev9/pg11/tpch/sf_10/explain/15721/7-1.res b/dev9/pg11/tpch/sf_10/explain/15721/7-1.res new file mode 100644 index 0000000000000000000000000000000000000000..c88e21b8abc4f3ebfcff18ee49b305df09537bc9 --- /dev/null +++ b/dev9/pg11/tpch/sf_10/explain/15721/7-1.res @@ -0,0 +1 @@ +{"Plan": {"Node Type": "Aggregate", "Strategy": "Sorted", "Partial Mode": "Finalize", "Parallel Aware": false, "Startup Cost": 246049.57, "Total Cost": 247514.65, "Plan Rows": 10104, "Plan Width": 92, "Output": ["n1.n_name", "n2.n_name", "(date_part('year'::text, (lineitem.l_shipdate)::timestamp without time zone))", "sum((lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount)))"], "Group Key": ["n1.n_name", "n2.n_name", "(date_part('year'::text, (lineitem.l_shipdate)::timestamp without time zone))"], "Plans": [{"Node Type": "Gather Merge", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 246049.57, "Total Cost": 247211.53, "Plan Rows": 10104, "Plan Width": 92, "Output": ["n1.n_name", "n2.n_name", "(date_part('year'::text, (lineitem.l_shipdate)::timestamp without time zone))", "(PARTIAL sum((lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount))))"], "Workers Planned": 1, "Plans": [{"Node Type": "Sort", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 245049.56, "Total Cost": 245074.82, "Plan Rows": 10104, "Plan Width": 92, "Output": ["n1.n_name", "n2.n_name", "(date_part('year'::text, (lineitem.l_shipdate)::timestamp without time zone))", "(PARTIAL sum((lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount))))"], "Sort Key": ["n1.n_name", "n2.n_name", "(date_part('year'::text, (lineitem.l_shipdate)::timestamp without time zone))"], "Plans": [{"Node Type": "Aggregate", "Strategy": "Hashed", "Partial Mode": "Partial", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 244200.69, "Total Cost": 244377.51, "Plan Rows": 10104, "Plan Width": 92, "Output": ["n1.n_name", "n2.n_name", "(date_part('year'::text, (lineitem.l_shipdate)::timestamp without time zone))", "PARTIAL sum((lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount)))"], "Group Key": ["n1.n_name", "n2.n_name", "date_part('year'::text, (lineitem.l_shipdate)::timestamp without time zone)"], "Plans": [{"Node Type": "Hash Join", "Parent Relationship": "Outer", "Parallel Aware": true, "Join Type": "Inner", "Startup Cost": 80252.67, "Total Cost": 243665.24, "Plan Rows": 35697, "Plan Width": 72, "Output": ["n1.n_name", "n2.n_name", "date_part('year'::text, (lineitem.l_shipdate)::timestamp without time zone)", "lineitem.l_extendedprice", "lineitem.l_discount"], "Inner Unique": false, "Hash Cond": "(lineitem.l_orderkey = orders.o_orderkey)", "Join Filter": "(((n1.n_name = 'IRAN'::bpchar) AND (n2.n_name = 'ETHIOPIA'::bpchar)) OR ((n1.n_name = 'ETHIOPIA'::bpchar) AND (n2.n_name = 'IRAN'::bpchar)))", "Plans": [{"Node Type": "Nested Loop", "Parent Relationship": "Outer", "Parallel Aware": false, "Join Type": "Inner", "Startup Cost": 1.96, "Total Cost": 142545.29, "Plan Rows": 857775, "Plan Width": 46, "Output": ["lineitem.l_shipdate", "lineitem.l_extendedprice", "lineitem.l_discount", "lineitem.l_orderkey", "n1.n_name"], "Inner Unique": false, "Plans": [{"Node Type": "Hash Join", "Parent Relationship": "Outer", "Parallel Aware": false, "Join Type": "Inner", "Startup Cost": 1.4, "Total Cost": 2986.23, "Plan Rows": 4706, "Plan Width": 30, "Output": ["supplier.s_suppkey", "n1.n_name"], "Inner Unique": true, "Hash Cond": "(supplier.s_nationkey = n1.n_nationkey)", "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": true, "Relation Name": "supplier", "Schema": "public", "Alias": "supplier", "Startup Cost": 0.0, "Total Cost": 2804.24, "Plan Rows": 58824, "Plan Width": 8, "Output": ["supplier.s_suppkey", "supplier.s_name", "supplier.s_address", "supplier.s_nationkey", "supplier.s_phone", "supplier.s_acctbal", "supplier.s_comment"]}, {"Node Type": "Hash", "Parent Relationship": "Inner", "Parallel Aware": false, "Startup Cost": 1.38, "Total Cost": 1.38, "Plan Rows": 2, "Plan Width": 30, "Output": ["n1.n_name", "n1.n_nationkey"], "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Relation Name": "nation", "Schema": "public", "Alias": "n1", "Startup Cost": 0.0, "Total Cost": 1.38, "Plan Rows": 2, "Plan Width": 30, "Output": ["n1.n_name", "n1.n_nationkey"], "Filter": "((n1.n_name = 'IRAN'::bpchar) OR (n1.n_name = 'ETHIOPIA'::bpchar))"}]}]}, {"Node Type": "Index Scan", "Parent Relationship": "Inner", "Parallel Aware": false, "Scan Direction": "Forward", "Index Name": "l_sk", "Relation Name": "lineitem", "Schema": "public", "Alias": "lineitem", "Startup Cost": 0.56, "Total Cost": 27.83, "Plan Rows": 183, "Plan Width": 24, "Output": ["lineitem.l_orderkey", "lineitem.l_partkey", "lineitem.l_suppkey", "lineitem.l_linenumber", "lineitem.l_quantity", "lineitem.l_extendedprice", "lineitem.l_discount", "lineitem.l_tax", "lineitem.l_returnflag", "lineitem.l_linestatus", "lineitem.l_shipdate", "lineitem.l_commitdate", "lineitem.l_receiptdate", "lineitem.l_shipinstruct", "lineitem.l_shipmode", "lineitem.l_comment"], "Index Cond": "(lineitem.l_suppkey = supplier.s_suppkey)", "Filter": "((lineitem.l_shipdate >= '1995-01-01'::date) AND (lineitem.l_shipdate <= '1996-12-31'::date))"}]}, {"Node Type": "Hash", "Parent Relationship": "Inner", "Parallel Aware": true, "Startup Cost": 74449.6, "Total Cost": 74449.6, "Plan Rows": 300009, "Plan Width": 30, "Output": ["orders.o_orderkey", "n2.n_name"], "Plans": [{"Node Type": "Nested Loop", "Parent Relationship": "Outer", "Parallel Aware": false, "Join Type": "Inner", "Startup Cost": 1.83, "Total Cost": 74449.6, "Plan Rows": 300009, "Plan Width": 30, "Output": ["orders.o_orderkey", "n2.n_name"], "Inner Unique": false, "Plans": [{"Node Type": "Hash Join", "Parent Relationship": "Outer", "Parallel Aware": false, "Join Type": "Inner", "Startup Cost": 1.4, "Total Cost": 40729.65, "Plan Rows": 30000, "Plan Width": 30, "Output": ["customer.c_custkey", "n2.n_name"], "Inner Unique": true, "Hash Cond": "(customer.c_nationkey = n2.n_nationkey)", "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": true, "Relation Name": "customer", "Schema": "public", "Alias": "customer", "Startup Cost": 0.0, "Total Cost": 39577.0, "Plan Rows": 375000, "Plan Width": 8, "Output": ["customer.c_custkey", "customer.c_name", "customer.c_address", "customer.c_nationkey", "customer.c_phone", "customer.c_acctbal", "customer.c_mktsegment", "customer.c_comment"]}, {"Node Type": "Hash", "Parent Relationship": "Inner", "Parallel Aware": false, "Startup Cost": 1.38, "Total Cost": 1.38, "Plan Rows": 2, "Plan Width": 30, "Output": ["n2.n_name", "n2.n_nationkey"], "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Relation Name": "nation", "Schema": "public", "Alias": "n2", "Startup Cost": 0.0, "Total Cost": 1.38, "Plan Rows": 2, "Plan Width": 30, "Output": ["n2.n_name", "n2.n_nationkey"], "Filter": "((n2.n_name = 'ETHIOPIA'::bpchar) OR (n2.n_name = 'IRAN'::bpchar))"}]}]}, {"Node Type": "Index Scan", "Parent Relationship": "Inner", "Parallel Aware": false, "Scan Direction": "Forward", "Index Name": "o_ck", "Relation Name": "orders", "Schema": "public", "Alias": "orders", "Startup Cost": 0.43, "Total Cost": 0.95, "Plan Rows": 17, "Plan Width": 8, "Output": ["orders.o_orderkey", "orders.o_custkey", "orders.o_orderstatus", "orders.o_totalprice", "orders.o_orderdate", "orders.o_orderpriority", "orders.o_clerk", "orders.o_shippriority", "orders.o_comment"], "Index Cond": "(orders.o_custkey = customer.c_custkey)"}]}]}]}]}]}]}]}} diff --git a/dev9/pg11/tpch/sf_10/explain/15721/8-1.ok b/dev9/pg11/tpch/sf_10/explain/15721/8-1.ok new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/dev9/pg11/tpch/sf_10/explain/15721/8-1.res b/dev9/pg11/tpch/sf_10/explain/15721/8-1.res new file mode 100644 index 0000000000000000000000000000000000000000..e769d444ae236354503617c51515a59d62687a55 --- /dev/null +++ b/dev9/pg11/tpch/sf_10/explain/15721/8-1.res @@ -0,0 +1 @@ +{"Plan": {"Node Type": "Aggregate", "Strategy": "Sorted", "Partial Mode": "Finalize", "Parallel Aware": false, "Startup Cost": 218729.55, "Total Cost": 220238.59, "Plan Rows": 2406, "Plan Width": 40, "Output": ["(date_part('year'::text, (orders.o_orderdate)::timestamp without time zone))", "(sum(CASE WHEN (n2.n_name = 'ETHIOPIA'::bpchar) THEN (lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount)) ELSE '0'::numeric END) / sum((lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount))))"], "Group Key": ["(date_part('year'::text, (orders.o_orderdate)::timestamp without time zone))"], "Plans": [{"Node Type": "Gather Merge", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 218729.55, "Total Cost": 220064.16, "Plan Rows": 9624, "Plan Width": 72, "Output": ["(date_part('year'::text, (orders.o_orderdate)::timestamp without time zone))", "(PARTIAL sum(CASE WHEN (n2.n_name = 'ETHIOPIA'::bpchar) THEN (lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount)) ELSE '0'::numeric END))", "(PARTIAL sum((lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount))))"], "Workers Planned": 4, "Plans": [{"Node Type": "Aggregate", "Strategy": "Sorted", "Partial Mode": "Partial", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 217729.49, "Total Cost": 217917.79, "Plan Rows": 2406, "Plan Width": 72, "Output": ["(date_part('year'::text, (orders.o_orderdate)::timestamp without time zone))", "PARTIAL sum(CASE WHEN (n2.n_name = 'ETHIOPIA'::bpchar) THEN (lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount)) ELSE '0'::numeric END)", "PARTIAL sum((lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount)))"], "Group Key": ["(date_part('year'::text, (orders.o_orderdate)::timestamp without time zone))"], "Plans": [{"Node Type": "Sort", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 217729.49, "Total Cost": 217745.07, "Plan Rows": 6230, "Plan Width": 46, "Output": ["(date_part('year'::text, (orders.o_orderdate)::timestamp without time zone))", "n2.n_name", "lineitem.l_extendedprice", "lineitem.l_discount"], "Sort Key": ["(date_part('year'::text, (orders.o_orderdate)::timestamp without time zone))"], "Plans": [{"Node Type": "Hash Join", "Parent Relationship": "Outer", "Parallel Aware": false, "Join Type": "Inner", "Startup Cost": 5.79, "Total Cost": 217336.84, "Plan Rows": 6230, "Plan Width": 46, "Output": ["date_part('year'::text, (orders.o_orderdate)::timestamp without time zone)", "n2.n_name", "lineitem.l_extendedprice", "lineitem.l_discount"], "Inner Unique": true, "Hash Cond": "(supplier.s_nationkey = n2.n_nationkey)", "Plans": [{"Node Type": "Nested Loop", "Parent Relationship": "Outer", "Parallel Aware": false, "Join Type": "Inner", "Startup Cost": 4.23, "Total Cost": 217285.01, "Plan Rows": 6230, "Plan Width": 20, "Output": ["lineitem.l_extendedprice", "lineitem.l_discount", "supplier.s_nationkey", "orders.o_orderdate"], "Inner Unique": true, "Plans": [{"Node Type": "Hash Join", "Parent Relationship": "Outer", "Parallel Aware": false, "Join Type": "Inner", "Startup Cost": 3.94, "Total Cost": 215353.42, "Plan Rows": 6230, "Plan Width": 20, "Output": ["lineitem.l_extendedprice", "lineitem.l_discount", "lineitem.l_suppkey", "orders.o_orderdate"], "Inner Unique": false, "Hash Cond": "(customer.c_nationkey = n1.n_nationkey)", "Plans": [{"Node Type": "Nested Loop", "Parent Relationship": "Outer", "Parallel Aware": false, "Join Type": "Inner", "Startup Cost": 1.43, "Total Cost": 215171.81, "Plan Rows": 31148, "Plan Width": 24, "Output": ["lineitem.l_extendedprice", "lineitem.l_discount", "lineitem.l_suppkey", "orders.o_orderdate", "customer.c_nationkey"], "Inner Unique": true, "Plans": [{"Node Type": "Nested Loop", "Parent Relationship": "Outer", "Parallel Aware": false, "Join Type": "Inner", "Startup Cost": 1.0, "Total Cost": 201011.08, "Plan Rows": 31148, "Plan Width": 24, "Output": ["lineitem.l_extendedprice", "lineitem.l_discount", "lineitem.l_suppkey", "orders.o_orderdate", "orders.o_custkey"], "Inner Unique": true, "Plans": [{"Node Type": "Nested Loop", "Parent Relationship": "Outer", "Parallel Aware": false, "Join Type": "Inner", "Startup Cost": 0.56, "Total Cost": 153605.2, "Plan Rows": 102380, "Plan Width": 20, "Output": ["lineitem.l_extendedprice", "lineitem.l_discount", "lineitem.l_suppkey", "lineitem.l_orderkey"], "Inner Unique": false, "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": true, "Relation Name": "part", "Schema": "public", "Alias": "part", "Startup Cost": 0.0, "Total Cost": 47212.0, "Plan Rows": 3413, "Plan Width": 4, "Output": ["part.p_partkey", "part.p_name", "part.p_mfgr", "part.p_brand", "part.p_type", "part.p_size", "part.p_container", "part.p_retailprice", "part.p_comment"], "Filter": "((part.p_type)::text = 'SMALL BRUSHED NICKEL'::text)"}, {"Node Type": "Index Scan", "Parent Relationship": "Inner", "Parallel Aware": false, "Scan Direction": "Forward", "Index Name": "l_pk", "Relation Name": "lineitem", "Schema": "public", "Alias": "lineitem", "Startup Cost": 0.56, "Total Cost": 30.86, "Plan Rows": 31, "Plan Width": 24, "Output": ["lineitem.l_orderkey", "lineitem.l_partkey", "lineitem.l_suppkey", "lineitem.l_linenumber", "lineitem.l_quantity", "lineitem.l_extendedprice", "lineitem.l_discount", "lineitem.l_tax", "lineitem.l_returnflag", "lineitem.l_linestatus", "lineitem.l_shipdate", "lineitem.l_commitdate", "lineitem.l_receiptdate", "lineitem.l_shipinstruct", "lineitem.l_shipmode", "lineitem.l_comment"], "Index Cond": "(lineitem.l_partkey = part.p_partkey)"}]}, {"Node Type": "Index Scan", "Parent Relationship": "Inner", "Parallel Aware": false, "Scan Direction": "Forward", "Index Name": "o_ok", "Relation Name": "orders", "Schema": "public", "Alias": "orders", "Startup Cost": 0.43, "Total Cost": 0.46, "Plan Rows": 1, "Plan Width": 12, "Output": ["orders.o_orderkey", "orders.o_custkey", "orders.o_orderstatus", "orders.o_totalprice", "orders.o_orderdate", "orders.o_orderpriority", "orders.o_clerk", "orders.o_shippriority", "orders.o_comment"], "Index Cond": "(orders.o_orderkey = lineitem.l_orderkey)", "Filter": "((orders.o_orderdate >= '1995-01-01'::date) AND (orders.o_orderdate <= '1996-12-31'::date))"}]}, {"Node Type": "Index Scan", "Parent Relationship": "Inner", "Parallel Aware": false, "Scan Direction": "Forward", "Index Name": "c_ck", "Relation Name": "customer", "Schema": "public", "Alias": "customer", "Startup Cost": 0.43, "Total Cost": 0.45, "Plan Rows": 1, "Plan Width": 8, "Output": ["customer.c_custkey", "customer.c_name", "customer.c_address", "customer.c_nationkey", "customer.c_phone", "customer.c_acctbal", "customer.c_mktsegment", "customer.c_comment"], "Index Cond": "(customer.c_custkey = orders.o_custkey)"}]}, {"Node Type": "Hash", "Parent Relationship": "Inner", "Parallel Aware": false, "Startup Cost": 2.45, "Total Cost": 2.45, "Plan Rows": 5, "Plan Width": 4, "Output": ["n1.n_nationkey"], "Plans": [{"Node Type": "Hash Join", "Parent Relationship": "Outer", "Parallel Aware": false, "Join Type": "Inner", "Startup Cost": 1.07, "Total Cost": 2.45, "Plan Rows": 5, "Plan Width": 4, "Output": ["n1.n_nationkey"], "Inner Unique": true, "Hash Cond": "(n1.n_regionkey = region.r_regionkey)", "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Relation Name": "nation", "Schema": "public", "Alias": "n1", "Startup Cost": 0.0, "Total Cost": 1.25, "Plan Rows": 25, "Plan Width": 8, "Output": ["n1.n_nationkey", "n1.n_name", "n1.n_regionkey", "n1.n_comment"]}, {"Node Type": "Hash", "Parent Relationship": "Inner", "Parallel Aware": false, "Startup Cost": 1.06, "Total Cost": 1.06, "Plan Rows": 1, "Plan Width": 4, "Output": ["region.r_regionkey"], "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Relation Name": "region", "Schema": "public", "Alias": "region", "Startup Cost": 0.0, "Total Cost": 1.06, "Plan Rows": 1, "Plan Width": 4, "Output": ["region.r_regionkey"], "Filter": "(region.r_name = 'AFRICA'::bpchar)"}]}]}]}]}, {"Node Type": "Index Scan", "Parent Relationship": "Inner", "Parallel Aware": false, "Scan Direction": "Forward", "Index Name": "s_sk", "Relation Name": "supplier", "Schema": "public", "Alias": "supplier", "Startup Cost": 0.29, "Total Cost": 0.31, "Plan Rows": 1, "Plan Width": 8, "Output": ["supplier.s_suppkey", "supplier.s_name", "supplier.s_address", "supplier.s_nationkey", "supplier.s_phone", "supplier.s_acctbal", "supplier.s_comment"], "Index Cond": "(supplier.s_suppkey = lineitem.l_suppkey)"}]}, {"Node Type": "Hash", "Parent Relationship": "Inner", "Parallel Aware": false, "Startup Cost": 1.25, "Total Cost": 1.25, "Plan Rows": 25, "Plan Width": 30, "Output": ["n2.n_name", "n2.n_nationkey"], "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Relation Name": "nation", "Schema": "public", "Alias": "n2", "Startup Cost": 0.0, "Total Cost": 1.25, "Plan Rows": 25, "Plan Width": 30, "Output": ["n2.n_name", "n2.n_nationkey"]}]}]}]}]}]}]}} diff --git a/dev9/pg11/tpch/sf_10/explain/15721/9-1.ok b/dev9/pg11/tpch/sf_10/explain/15721/9-1.ok new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/dev9/pg11/tpch/sf_10/explain/15721/9-1.res b/dev9/pg11/tpch/sf_10/explain/15721/9-1.res new file mode 100644 index 0000000000000000000000000000000000000000..d959b3c55df885ec5551cefc30690919ef7282f2 --- /dev/null +++ b/dev9/pg11/tpch/sf_10/explain/15721/9-1.res @@ -0,0 +1 @@ +{"Plan": {"Node Type": "Sort", "Parallel Aware": false, "Startup Cost": 577864.67, "Total Cost": 578015.05, "Plan Rows": 60150, "Plan Width": 66, "Output": ["nation.n_name", "(date_part('year'::text, (orders.o_orderdate)::timestamp without time zone))", "(sum(((lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount)) - (partsupp.ps_supplycost * lineitem.l_quantity))))"], "Sort Key": ["nation.n_name", "(date_part('year'::text, (orders.o_orderdate)::timestamp without time zone)) DESC"], "Plans": [{"Node Type": "Aggregate", "Strategy": "Hashed", "Partial Mode": "Finalize", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 572037.26, "Total Cost": 573089.88, "Plan Rows": 60150, "Plan Width": 66, "Output": ["nation.n_name", "(date_part('year'::text, (orders.o_orderdate)::timestamp without time zone))", "sum(((lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount)) - (partsupp.ps_supplycost * lineitem.l_quantity)))"], "Group Key": ["nation.n_name", "(date_part('year'::text, (orders.o_orderdate)::timestamp without time zone))"], "Plans": [{"Node Type": "Gather", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 531285.63, "Total Cost": 568428.26, "Plan Rows": 360900, "Plan Width": 66, "Output": ["nation.n_name", "(date_part('year'::text, (orders.o_orderdate)::timestamp without time zone))", "(PARTIAL sum(((lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount)) - (partsupp.ps_supplycost * lineitem.l_quantity))))"], "Workers Planned": 6, "Single Copy": false, "Plans": [{"Node Type": "Aggregate", "Strategy": "Hashed", "Partial Mode": "Partial", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 530285.63, "Total Cost": 531338.26, "Plan Rows": 60150, "Plan Width": 66, "Output": ["nation.n_name", "(date_part('year'::text, (orders.o_orderdate)::timestamp without time zone))", "PARTIAL sum(((lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount)) - (partsupp.ps_supplycost * lineitem.l_quantity)))"], "Group Key": ["nation.n_name", "date_part('year'::text, (orders.o_orderdate)::timestamp without time zone)"], "Plans": [{"Node Type": "Hash Join", "Parent Relationship": "Outer", "Parallel Aware": false, "Join Type": "Inner", "Startup Cost": 194732.14, "Total Cost": 520818.4, "Plan Rows": 540985, "Plan Width": 57, "Output": ["nation.n_name", "date_part('year'::text, (orders.o_orderdate)::timestamp without time zone)", "lineitem.l_extendedprice", "lineitem.l_discount", "partsupp.ps_supplycost", "lineitem.l_quantity"], "Inner Unique": true, "Hash Cond": "(supplier.s_nationkey = nation.n_nationkey)", "Plans": [{"Node Type": "Hash Join", "Parent Relationship": "Outer", "Parallel Aware": true, "Join Type": "Inner", "Startup Cost": 194730.58, "Total Cost": 516451.09, "Plan Rows": 540985, "Plan Width": 31, "Output": ["lineitem.l_extendedprice", "lineitem.l_discount", "lineitem.l_quantity", "supplier.s_nationkey", "partsupp.ps_supplycost", "orders.o_orderdate"], "Inner Unique": false, "Hash Cond": "(orders.o_orderkey = lineitem.l_orderkey)", "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": true, "Relation Name": "orders", "Schema": "public", "Alias": "orders", "Startup Cost": 0.0, "Total Cost": 285912.77, "Plan Rows": 2500076, "Plan Width": 8, "Output": ["orders.o_orderdate", "orders.o_orderkey"]}, {"Node Type": "Hash", "Parent Relationship": "Inner", "Parallel Aware": true, "Startup Cost": 179039.1, "Total Cost": 179039.1, "Plan Rows": 811478, "Plan Width": 31, "Output": ["lineitem.l_extendedprice", "lineitem.l_discount", "lineitem.l_quantity", "lineitem.l_orderkey", "supplier.s_nationkey", "partsupp.ps_supplycost"], "Plans": [{"Node Type": "Nested Loop", "Parent Relationship": "Outer", "Parallel Aware": false, "Join Type": "Inner", "Startup Cost": 3540.53, "Total Cost": 179039.1, "Plan Rows": 811478, "Plan Width": 31, "Output": ["lineitem.l_extendedprice", "lineitem.l_discount", "lineitem.l_quantity", "lineitem.l_orderkey", "supplier.s_nationkey", "partsupp.ps_supplycost"], "Inner Unique": false, "Join Filter": "(supplier.s_suppkey = lineitem.l_suppkey)", "Plans": [{"Node Type": "Hash Join", "Parent Relationship": "Outer", "Parallel Aware": true, "Join Type": "Inner", "Startup Cost": 3539.97, "Total Cost": 95201.59, "Plan Rows": 108213, "Plan Width": 26, "Output": ["part.p_partkey", "partsupp.ps_supplycost", "partsupp.ps_suppkey", "partsupp.ps_partkey", "supplier.s_suppkey", "supplier.s_nationkey"], "Inner Unique": true, "Hash Cond": "(partsupp.ps_suppkey = supplier.s_suppkey)", "Plans": [{"Node Type": "Nested Loop", "Parent Relationship": "Outer", "Parallel Aware": false, "Join Type": "Inner", "Startup Cost": 0.43, "Total Cost": 91377.99, "Plan Rows": 108213, "Plan Width": 18, "Output": ["part.p_partkey", "partsupp.ps_supplycost", "partsupp.ps_suppkey", "partsupp.ps_partkey"], "Inner Unique": false, "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": true, "Relation Name": "part", "Schema": "public", "Alias": "part", "Startup Cost": 0.0, "Total Cost": 47212.0, "Plan Rows": 27054, "Plan Width": 4, "Output": ["part.p_partkey", "part.p_name", "part.p_mfgr", "part.p_brand", "part.p_type", "part.p_size", "part.p_container", "part.p_retailprice", "part.p_comment"], "Filter": "((part.p_name)::text ~~ '%forest%'::text)"}, {"Node Type": "Index Scan", "Parent Relationship": "Inner", "Parallel Aware": false, "Scan Direction": "Forward", "Index Name": "ps_pk", "Relation Name": "partsupp", "Schema": "public", "Alias": "partsupp", "Startup Cost": 0.43, "Total Cost": 1.58, "Plan Rows": 5, "Plan Width": 14, "Output": ["partsupp.ps_partkey", "partsupp.ps_suppkey", "partsupp.ps_availqty", "partsupp.ps_supplycost", "partsupp.ps_comment"], "Index Cond": "(partsupp.ps_partkey = part.p_partkey)"}]}, {"Node Type": "Hash", "Parent Relationship": "Inner", "Parallel Aware": true, "Startup Cost": 2804.24, "Total Cost": 2804.24, "Plan Rows": 58824, "Plan Width": 8, "Output": ["supplier.s_suppkey", "supplier.s_nationkey"], "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": true, "Relation Name": "supplier", "Schema": "public", "Alias": "supplier", "Startup Cost": 0.0, "Total Cost": 2804.24, "Plan Rows": 58824, "Plan Width": 8, "Output": ["supplier.s_suppkey", "supplier.s_nationkey"]}]}]}, {"Node Type": "Index Scan", "Parent Relationship": "Inner", "Parallel Aware": false, "Scan Direction": "Forward", "Index Name": "l_sk_pk", "Relation Name": "lineitem", "Schema": "public", "Alias": "lineitem", "Startup Cost": 0.56, "Total Cost": 0.76, "Plan Rows": 1, "Plan Width": 29, "Output": ["lineitem.l_orderkey", "lineitem.l_partkey", "lineitem.l_suppkey", "lineitem.l_linenumber", "lineitem.l_quantity", "lineitem.l_extendedprice", "lineitem.l_discount", "lineitem.l_tax", "lineitem.l_returnflag", "lineitem.l_linestatus", "lineitem.l_shipdate", "lineitem.l_commitdate", "lineitem.l_receiptdate", "lineitem.l_shipinstruct", "lineitem.l_shipmode", "lineitem.l_comment"], "Index Cond": "((lineitem.l_suppkey = partsupp.ps_suppkey) AND (lineitem.l_partkey = partsupp.ps_partkey))"}]}]}]}, {"Node Type": "Hash", "Parent Relationship": "Inner", "Parallel Aware": false, "Startup Cost": 1.25, "Total Cost": 1.25, "Plan Rows": 25, "Plan Width": 30, "Output": ["nation.n_name", "nation.n_nationkey"], "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Relation Name": "nation", "Schema": "public", "Alias": "nation", "Startup Cost": 0.0, "Total Cost": 1.25, "Plan Rows": 25, "Plan Width": 30, "Output": ["nation.n_name", "nation.n_nationkey"]}]}]}]}]}]}]}} diff --git a/dev9/pg11/tpch/sf_10/explain_analyze/15721/1-1.ok b/dev9/pg11/tpch/sf_10/explain_analyze/15721/1-1.ok new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/dev9/pg11/tpch/sf_10/explain_analyze/15721/1-1.res b/dev9/pg11/tpch/sf_10/explain_analyze/15721/1-1.res new file mode 100644 index 0000000000000000000000000000000000000000..4b4dd6807907f0587358540d09c0a247f6ce4b69 --- /dev/null +++ b/dev9/pg11/tpch/sf_10/explain_analyze/15721/1-1.res @@ -0,0 +1 @@ +{"Plan": {"Node Type": "Aggregate", "Strategy": "Sorted", "Partial Mode": "Finalize", "Parallel Aware": false, "Startup Cost": 1567456.29, "Total Cost": 1567463.4, "Plan Rows": 6, "Plan Width": 236, "Actual Startup Time": 12605.64, "Actual Total Time": 14960.315, "Actual Rows": 4, "Actual Loops": 1, "Output": ["l_returnflag", "l_linestatus", "sum(l_quantity)", "sum(l_extendedprice)", "sum((l_extendedprice * ('1'::numeric - l_discount)))", "sum(((l_extendedprice * ('1'::numeric - l_discount)) * ('1'::numeric + l_tax)))", "avg(l_quantity)", "avg(l_extendedprice)", "avg(l_discount)", "count(*)"], "Group Key": ["lineitem.l_returnflag", "lineitem.l_linestatus"], "Plans": [{"Node Type": "Gather Merge", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 1567456.29, "Total Cost": 1567461.45, "Plan Rows": 42, "Plan Width": 236, "Actual Startup Time": 12605.559, "Actual Total Time": 14960.152, "Actual Rows": 32, "Actual Loops": 1, "Output": ["l_returnflag", "l_linestatus", "(PARTIAL sum(l_quantity))", "(PARTIAL sum(l_extendedprice))", "(PARTIAL sum((l_extendedprice * ('1'::numeric - l_discount))))", "(PARTIAL sum(((l_extendedprice * ('1'::numeric - l_discount)) * ('1'::numeric + l_tax))))", "(PARTIAL avg(l_quantity))", "(PARTIAL avg(l_extendedprice))", "(PARTIAL avg(l_discount))", "(PARTIAL count(*))"], "Workers Planned": 7, "Workers Launched": 7, "Plans": [{"Node Type": "Sort", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 1566456.17, "Total Cost": 1566456.18, "Plan Rows": 6, "Plan Width": 236, "Actual Startup Time": 12600.241, "Actual Total Time": 12600.244, "Actual Rows": 4, "Actual Loops": 8, "Output": ["l_returnflag", "l_linestatus", "(PARTIAL sum(l_quantity))", "(PARTIAL sum(l_extendedprice))", "(PARTIAL sum((l_extendedprice * ('1'::numeric - l_discount))))", "(PARTIAL sum(((l_extendedprice * ('1'::numeric - l_discount)) * ('1'::numeric + l_tax))))", "(PARTIAL avg(l_quantity))", "(PARTIAL avg(l_extendedprice))", "(PARTIAL avg(l_discount))", "(PARTIAL count(*))"], "Sort Key": ["lineitem.l_returnflag", "lineitem.l_linestatus"], "Sort Method": "quicksort", "Sort Space Used": 27, "Sort Space Type": "Memory", "Workers": [{"Worker Number": 0, "Actual Startup Time": 12599.58, "Actual Total Time": 12599.584, "Actual Rows": 4, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 12599.618, "Actual Total Time": 12599.621, "Actual Rows": 4, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 12599.59, "Actual Total Time": 12599.593, "Actual Rows": 4, "Actual Loops": 1}, {"Worker Number": 3, "Actual Startup Time": 12599.561, "Actual Total Time": 12599.564, "Actual Rows": 4, "Actual Loops": 1}, {"Worker Number": 4, "Actual Startup Time": 12599.555, "Actual Total Time": 12599.558, "Actual Rows": 4, "Actual Loops": 1}, {"Worker Number": 5, "Actual Startup Time": 12599.559, "Actual Total Time": 12599.561, "Actual Rows": 4, "Actual Loops": 1}, {"Worker Number": 6, "Actual Startup Time": 12599.598, "Actual Total Time": 12599.601, "Actual Rows": 4, "Actual Loops": 1}], "Plans": [{"Node Type": "Aggregate", "Strategy": "Hashed", "Partial Mode": "Partial", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 1566455.93, "Total Cost": 1566456.09, "Plan Rows": 6, "Plan Width": 236, "Actual Startup Time": 12600.192, "Actual Total Time": 12600.204, "Actual Rows": 4, "Actual Loops": 8, "Output": ["l_returnflag", "l_linestatus", "PARTIAL sum(l_quantity)", "PARTIAL sum(l_extendedprice)", "PARTIAL sum((l_extendedprice * ('1'::numeric - l_discount)))", "PARTIAL sum(((l_extendedprice * ('1'::numeric - l_discount)) * ('1'::numeric + l_tax)))", "PARTIAL avg(l_quantity)", "PARTIAL avg(l_extendedprice)", "PARTIAL avg(l_discount)", "PARTIAL count(*)"], "Group Key": ["lineitem.l_returnflag", "lineitem.l_linestatus"], "Workers": [{"Worker Number": 0, "Actual Startup Time": 12599.521, "Actual Total Time": 12599.534, "Actual Rows": 4, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 12599.565, "Actual Total Time": 12599.577, "Actual Rows": 4, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 12599.54, "Actual Total Time": 12599.551, "Actual Rows": 4, "Actual Loops": 1}, {"Worker Number": 3, "Actual Startup Time": 12599.51, "Actual Total Time": 12599.522, "Actual Rows": 4, "Actual Loops": 1}, {"Worker Number": 4, "Actual Startup Time": 12599.499, "Actual Total Time": 12599.511, "Actual Rows": 4, "Actual Loops": 1}, {"Worker Number": 5, "Actual Startup Time": 12599.507, "Actual Total Time": 12599.518, "Actual Rows": 4, "Actual Loops": 1}, {"Worker Number": 6, "Actual Startup Time": 12599.55, "Actual Total Time": 12599.561, "Actual Rows": 4, "Actual Loops": 1}], "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": true, "Relation Name": "lineitem", "Schema": "public", "Alias": "lineitem", "Startup Cost": 0.0, "Total Cost": 1231659.49, "Plan Rows": 8369911, "Plan Width": 25, "Actual Startup Time": 0.029, "Actual Total Time": 2256.608, "Actual Rows": 7323456, "Actual Loops": 8, "Output": ["l_orderkey", "l_partkey", "l_suppkey", "l_linenumber", "l_quantity", "l_extendedprice", "l_discount", "l_tax", "l_returnflag", "l_linestatus", "l_shipdate", "l_commitdate", "l_receiptdate", "l_shipinstruct", "l_shipmode", "l_comment"], "Filter": "(lineitem.l_shipdate <= '1998-08-07 23:59:57'::timestamp without time zone)", "Rows Removed by Filter": 174801, "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.029, "Actual Total Time": 2429.028, "Actual Rows": 7164644, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 0.033, "Actual Total Time": 2452.493, "Actual Rows": 7193067, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 0.033, "Actual Total Time": 2280.597, "Actual Rows": 7317603, "Actual Loops": 1}, {"Worker Number": 3, "Actual Startup Time": 0.034, "Actual Total Time": 2258.459, "Actual Rows": 7329705, "Actual Loops": 1}, {"Worker Number": 4, "Actual Startup Time": 0.03, "Actual Total Time": 2259.171, "Actual Rows": 7331136, "Actual Loops": 1}, {"Worker Number": 5, "Actual Startup Time": 0.031, "Actual Total Time": 2259.44, "Actual Rows": 7279992, "Actual Loops": 1}, {"Worker Number": 6, "Actual Startup Time": 0.026, "Actual Total Time": 2273.947, "Actual Rows": 7322364, "Actual Loops": 1}]}]}]}]}]}, "Planning Time": 0.511, "Triggers": [], "Execution Time": 14960.429} diff --git a/dev9/pg11/tpch/sf_10/explain_analyze/15721/10-1.ok b/dev9/pg11/tpch/sf_10/explain_analyze/15721/10-1.ok new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/dev9/pg11/tpch/sf_10/explain_analyze/15721/10-1.res b/dev9/pg11/tpch/sf_10/explain_analyze/15721/10-1.res new file mode 100644 index 0000000000000000000000000000000000000000..1c672e284fc9ce605e4d89ffec234d930fc27baf --- /dev/null +++ b/dev9/pg11/tpch/sf_10/explain_analyze/15721/10-1.res @@ -0,0 +1 @@ +{"Plan": {"Node Type": "Limit", "Parallel Aware": false, "Startup Cost": 652061.99, "Total Cost": 652062.04, "Plan Rows": 20, "Plan Width": 202, "Actual Startup Time": 2682.688, "Actual Total Time": 2875.415, "Actual Rows": 20, "Actual Loops": 1, "Output": ["customer.c_custkey", "customer.c_name", "(sum((lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount))))", "customer.c_acctbal", "nation.n_name", "customer.c_address", "customer.c_phone", "customer.c_comment"], "Plans": [{"Node Type": "Sort", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 652061.99, "Total Cost": 653415.23, "Plan Rows": 541295, "Plan Width": 202, "Actual Startup Time": 2682.686, "Actual Total Time": 2875.41, "Actual Rows": 20, "Actual Loops": 1, "Output": ["customer.c_custkey", "customer.c_name", "(sum((lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount))))", "customer.c_acctbal", "nation.n_name", "customer.c_address", "customer.c_phone", "customer.c_comment"], "Sort Key": ["(sum((lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount)))) DESC"], "Sort Method": "top-N heapsort", "Sort Space Used": 34, "Sort Space Type": "Memory", "Plans": [{"Node Type": "Aggregate", "Strategy": "Sorted", "Partial Mode": "Finalize", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 557284.2, "Total Cost": 637658.33, "Plan Rows": 541295, "Plan Width": 202, "Actual Startup Time": 1872.237, "Actual Total Time": 2739.648, "Actual Rows": 372741, "Actual Loops": 1, "Output": ["customer.c_custkey", "customer.c_name", "sum((lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount)))", "customer.c_acctbal", "nation.n_name", "customer.c_address", "customer.c_phone", "customer.c_comment"], "Group Key": ["customer.c_custkey", "nation.n_name"], "Plans": [{"Node Type": "Gather Merge", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 557284.2, "Total Cost": 625479.18, "Plan Rows": 541296, "Plan Width": 202, "Actual Startup Time": 1872.229, "Actual Total Time": 2377.734, "Actual Rows": 372741, "Actual Loops": 1, "Output": ["customer.c_custkey", "nation.n_name", "customer.c_name", "(PARTIAL sum((lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount))))", "customer.c_acctbal", "customer.c_address", "customer.c_phone", "customer.c_comment"], "Workers Planned": 4, "Workers Launched": 4, "Plans": [{"Node Type": "Aggregate", "Strategy": "Sorted", "Partial Mode": "Partial", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 556284.14, "Total Cost": 560005.55, "Plan Rows": 135324, "Plan Width": 202, "Actual Startup Time": 1858.571, "Actual Total Time": 2074.713, "Actual Rows": 74548, "Actual Loops": 5, "Output": ["customer.c_custkey", "nation.n_name", "customer.c_name", "PARTIAL sum((lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount)))", "customer.c_acctbal", "customer.c_address", "customer.c_phone", "customer.c_comment"], "Group Key": ["customer.c_custkey", "nation.n_name"], "Workers": [{"Worker Number": 0, "Actual Startup Time": 1856.149, "Actual Total Time": 2069.325, "Actual Rows": 73690, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 1854.991, "Actual Total Time": 2067.275, "Actual Rows": 73600, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 1854.704, "Actual Total Time": 2065.984, "Actual Rows": 73008, "Actual Loops": 1}, {"Worker Number": 3, "Actual Startup Time": 1855.393, "Actual Total Time": 2068.181, "Actual Rows": 73587, "Actual Loops": 1}], "Plans": [{"Node Type": "Sort", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 556284.14, "Total Cost": 556622.45, "Plan Rows": 135324, "Plan Width": 182, "Actual Startup Time": 1858.553, "Actual Total Time": 1895.622, "Actual Rows": 222576, "Actual Loops": 5, "Output": ["customer.c_custkey", "nation.n_name", "customer.c_name", "lineitem.l_extendedprice", "lineitem.l_discount", "customer.c_acctbal", "customer.c_address", "customer.c_phone", "customer.c_comment"], "Sort Key": ["customer.c_custkey", "nation.n_name"], "Sort Method": "external merge", "Sort Space Used": 45032, "Sort Space Type": "Disk", "Workers": [{"Worker Number": 0, "Actual Startup Time": 1856.132, "Actual Total Time": 1891.769, "Actual Rows": 220159, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 1854.974, "Actual Total Time": 1891.211, "Actual Rows": 218805, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 1854.682, "Actual Total Time": 1890.314, "Actual Rows": 217976, "Actual Loops": 1}, {"Worker Number": 3, "Actual Startup Time": 1855.372, "Actual Total Time": 1891.244, "Actual Rows": 219790, "Actual Loops": 1}], "Plans": [{"Node Type": "Hash Join", "Parent Relationship": "Outer", "Parallel Aware": false, "Join Type": "Inner", "Startup Cost": 495144.9, "Total Cost": 537706.64, "Plan Rows": 135324, "Plan Width": 182, "Actual Startup Time": 1427.547, "Actual Total Time": 1681.82, "Actual Rows": 222576, "Actual Loops": 5, "Output": ["customer.c_custkey", "nation.n_name", "customer.c_name", "lineitem.l_extendedprice", "lineitem.l_discount", "customer.c_acctbal", "customer.c_address", "customer.c_phone", "customer.c_comment"], "Inner Unique": true, "Hash Cond": "(customer.c_nationkey = nation.n_nationkey)", "Workers": [{"Worker Number": 0, "Actual Startup Time": 1426.531, "Actual Total Time": 1680.945, "Actual Rows": 220159, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 1426.542, "Actual Total Time": 1681.078, "Actual Rows": 218805, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 1426.534, "Actual Total Time": 1678.983, "Actual Rows": 217976, "Actual Loops": 1}, {"Worker Number": 3, "Actual Startup Time": 1426.54, "Actual Total Time": 1681.031, "Actual Rows": 219790, "Actual Loops": 1}], "Plans": [{"Node Type": "Hash Join", "Parent Relationship": "Outer", "Parallel Aware": true, "Join Type": "Inner", "Startup Cost": 495143.34, "Total Cost": 537289.63, "Plan Rows": 135324, "Plan Width": 160, "Actual Startup Time": 1427.474, "Actual Total Time": 1629.91, "Actual Rows": 222576, "Actual Loops": 5, "Output": ["customer.c_custkey", "customer.c_name", "customer.c_acctbal", "customer.c_address", "customer.c_phone", "customer.c_comment", "customer.c_nationkey", "lineitem.l_extendedprice", "lineitem.l_discount"], "Inner Unique": false, "Hash Cond": "(customer.c_custkey = orders.o_custkey)", "Workers": [{"Worker Number": 0, "Actual Startup Time": 1426.448, "Actual Total Time": 1629.668, "Actual Rows": 220159, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 1426.459, "Actual Total Time": 1630.098, "Actual Rows": 218805, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 1426.455, "Actual Total Time": 1627.983, "Actual Rows": 217976, "Actual Loops": 1}, {"Worker Number": 3, "Actual Startup Time": 1426.454, "Actual Total Time": 1629.677, "Actual Rows": 219790, "Actual Loops": 1}], "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": true, "Relation Name": "customer", "Schema": "public", "Alias": "customer", "Startup Cost": 0.0, "Total Cost": 39577.0, "Plan Rows": 375000, "Plan Width": 148, "Actual Startup Time": 0.02, "Actual Total Time": 40.122, "Actual Rows": 300000, "Actual Loops": 5, "Output": ["customer.c_custkey", "customer.c_name", "customer.c_address", "customer.c_nationkey", "customer.c_phone", "customer.c_acctbal", "customer.c_mktsegment", "customer.c_comment"], "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.02, "Actual Total Time": 42.298, "Actual Rows": 295901, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 0.026, "Actual Total Time": 42.617, "Actual Rows": 296852, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 0.026, "Actual Total Time": 41.94, "Actual Rows": 293422, "Actual Loops": 1}, {"Worker Number": 3, "Actual Startup Time": 0.025, "Actual Total Time": 42.327, "Actual Rows": 297578, "Actual Loops": 1}]}, {"Node Type": "Hash", "Parent Relationship": "Inner", "Parallel Aware": true, "Startup Cost": 494015.64, "Total Cost": 494015.64, "Plan Rows": 90216, "Plan Width": 16, "Actual Startup Time": 1425.872, "Actual Total Time": 1425.874, "Actual Rows": 222576, "Actual Loops": 5, "Output": ["orders.o_custkey", "lineitem.l_extendedprice", "lineitem.l_discount"], "Hash Buckets": 2097152, "Original Hash Buckets": 1048576, "Hash Batches": 1, "Original Hash Batches": 1, "Peak Memory Usage": 83424, "Workers": [{"Worker Number": 0, "Actual Startup Time": 1426.403, "Actual Total Time": 1426.405, "Actual Rows": 204609, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 1426.399, "Actual Total Time": 1426.401, "Actual Rows": 204407, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 1426.399, "Actual Total Time": 1426.402, "Actual Rows": 203299, "Actual Loops": 1}, {"Worker Number": 3, "Actual Startup Time": 1426.39, "Actual Total Time": 1426.392, "Actual Rows": 204632, "Actual Loops": 1}], "Plans": [{"Node Type": "Nested Loop", "Parent Relationship": "Outer", "Parallel Aware": false, "Join Type": "Inner", "Startup Cost": 7299.8, "Total Cost": 494015.64, "Plan Rows": 90216, "Plan Width": 16, "Actual Startup Time": 201.588, "Actual Total Time": 1323.18, "Actual Rows": 222576, "Actual Loops": 5, "Output": ["orders.o_custkey", "lineitem.l_extendedprice", "lineitem.l_discount"], "Inner Unique": false, "Workers": [{"Worker Number": 0, "Actual Startup Time": 202.272, "Actual Total Time": 1327.24, "Actual Rows": 204609, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 202.237, "Actual Total Time": 1328.861, "Actual Rows": 204407, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 202.221, "Actual Total Time": 1328.597, "Actual Rows": 203299, "Actual Loops": 1}, {"Worker Number": 3, "Actual Startup Time": 202.231, "Actual Total Time": 1326.846, "Actual Rows": 204632, "Actual Loops": 1}], "Plans": [{"Node Type": "Bitmap Heap Scan", "Parent Relationship": "Outer", "Parallel Aware": true, "Relation Name": "orders", "Schema": "public", "Alias": "orders", "Startup Cost": 7299.24, "Total Cost": 269586.58, "Plan Rows": 91690, "Plan Width": 8, "Actual Startup Time": 201.471, "Actual Total Time": 416.751, "Actual Rows": 111024, "Actual Loops": 5, "Output": ["orders.o_orderkey", "orders.o_custkey", "orders.o_orderstatus", "orders.o_totalprice", "orders.o_orderdate", "orders.o_orderpriority", "orders.o_clerk", "orders.o_shippriority", "orders.o_comment"], "Recheck Cond": "((orders.o_orderdate >= '1993-02-01'::date) AND (orders.o_orderdate < '1993-05-01 00:00:00'::timestamp without time zone))", "Rows Removed by Index Recheck": 0, "Exact Heap Blocks": 61253, "Lossy Heap Blocks": 0, "Workers": [{"Worker Number": 0, "Actual Startup Time": 202.133, "Actual Total Time": 423.495, "Actual Rows": 102481, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 202.098, "Actual Total Time": 424.249, "Actual Rows": 102083, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 202.088, "Actual Total Time": 424.824, "Actual Rows": 101343, "Actual Loops": 1}, {"Worker Number": 3, "Actual Startup Time": 202.095, "Actual Total Time": 423.162, "Actual Rows": 101900, "Actual Loops": 1}], "Plans": [{"Node Type": "Bitmap Index Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Index Name": "o_od", "Startup Cost": 0.0, "Total Cost": 7161.71, "Plan Rows": 550137, "Plan Width": 0, "Actual Startup Time": 117.474, "Actual Total Time": 117.475, "Actual Rows": 555118, "Actual Loops": 1, "Index Cond": "((orders.o_orderdate >= '1993-02-01'::date) AND (orders.o_orderdate < '1993-05-01 00:00:00'::timestamp without time zone))"}]}, {"Node Type": "Index Scan", "Parent Relationship": "Inner", "Parallel Aware": false, "Scan Direction": "Forward", "Index Name": "l_ok", "Relation Name": "lineitem", "Schema": "public", "Alias": "lineitem", "Startup Cost": 0.56, "Total Cost": 2.38, "Plan Rows": 7, "Plan Width": 16, "Actual Startup Time": 0.007, "Actual Total Time": 0.008, "Actual Rows": 2, "Actual Loops": 555118, "Output": ["lineitem.l_orderkey", "lineitem.l_partkey", "lineitem.l_suppkey", "lineitem.l_linenumber", "lineitem.l_quantity", "lineitem.l_extendedprice", "lineitem.l_discount", "lineitem.l_tax", "lineitem.l_returnflag", "lineitem.l_linestatus", "lineitem.l_shipdate", "lineitem.l_commitdate", "lineitem.l_receiptdate", "lineitem.l_shipinstruct", "lineitem.l_shipmode", "lineitem.l_comment"], "Index Cond": "(lineitem.l_orderkey = orders.o_orderkey)", "Rows Removed by Index Recheck": 0, "Filter": "(lineitem.l_returnflag = 'R'::bpchar)", "Rows Removed by Filter": 2, "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.007, "Actual Total Time": 0.008, "Actual Rows": 2, "Actual Loops": 102481}, {"Worker Number": 1, "Actual Startup Time": 0.007, "Actual Total Time": 0.008, "Actual Rows": 2, "Actual Loops": 102083}, {"Worker Number": 2, "Actual Startup Time": 0.007, "Actual Total Time": 0.008, "Actual Rows": 2, "Actual Loops": 101343}, {"Worker Number": 3, "Actual Startup Time": 0.007, "Actual Total Time": 0.008, "Actual Rows": 2, "Actual Loops": 101900}]}]}]}]}, {"Node Type": "Hash", "Parent Relationship": "Inner", "Parallel Aware": false, "Startup Cost": 1.25, "Total Cost": 1.25, "Plan Rows": 25, "Plan Width": 30, "Actual Startup Time": 0.035, "Actual Total Time": 0.035, "Actual Rows": 25, "Actual Loops": 5, "Output": ["nation.n_name", "nation.n_nationkey"], "Hash Buckets": 1024, "Original Hash Buckets": 1024, "Hash Batches": 1, "Original Hash Batches": 1, "Peak Memory Usage": 10, "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.034, "Actual Total Time": 0.035, "Actual Rows": 25, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 0.039, "Actual Total Time": 0.04, "Actual Rows": 25, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 0.039, "Actual Total Time": 0.04, "Actual Rows": 25, "Actual Loops": 1}, {"Worker Number": 3, "Actual Startup Time": 0.04, "Actual Total Time": 0.04, "Actual Rows": 25, "Actual Loops": 1}], "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Relation Name": "nation", "Schema": "public", "Alias": "nation", "Startup Cost": 0.0, "Total Cost": 1.25, "Plan Rows": 25, "Plan Width": 30, "Actual Startup Time": 0.021, "Actual Total Time": 0.027, "Actual Rows": 25, "Actual Loops": 5, "Output": ["nation.n_name", "nation.n_nationkey"], "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.021, "Actual Total Time": 0.027, "Actual Rows": 25, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 0.023, "Actual Total Time": 0.031, "Actual Rows": 25, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 0.027, "Actual Total Time": 0.031, "Actual Rows": 25, "Actual Loops": 1}, {"Worker Number": 3, "Actual Startup Time": 0.024, "Actual Total Time": 0.032, "Actual Rows": 25, "Actual Loops": 1}]}]}]}]}]}]}]}]}]}, "Planning Time": 0.947, "Triggers": [], "Execution Time": 2884.449} diff --git a/dev9/pg11/tpch/sf_10/explain_analyze/15721/11-1.ok b/dev9/pg11/tpch/sf_10/explain_analyze/15721/11-1.ok new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/dev9/pg11/tpch/sf_10/explain_analyze/15721/11-1.res b/dev9/pg11/tpch/sf_10/explain_analyze/15721/11-1.res new file mode 100644 index 0000000000000000000000000000000000000000..07fcc86d18364f2322a5145480c1b7ca8f331f64 --- /dev/null +++ b/dev9/pg11/tpch/sf_10/explain_analyze/15721/11-1.res @@ -0,0 +1 @@ +{"Plan": {"Node Type": "Sort", "Parallel Aware": false, "Startup Cost": 88254.69, "Total Cost": 88521.36, "Plan Rows": 106667, "Plan Width": 36, "Actual Startup Time": 1133.435, "Actual Total Time": 1133.499, "Actual Rows": 0, "Actual Loops": 1, "Output": ["partsupp.ps_partkey", "(sum((partsupp.ps_supplycost * (partsupp.ps_availqty)::numeric)))"], "Sort Key": ["(sum((partsupp.ps_supplycost * (partsupp.ps_availqty)::numeric))) DESC"], "Sort Method": "quicksort", "Sort Space Used": 25, "Sort Space Type": "Memory", "Plans": [{"Node Type": "Aggregate", "Strategy": "Plain", "Partial Mode": "Finalize", "Parent Relationship": "InitPlan", "Subplan Name": "InitPlan 1 (returns $2)", "Parallel Aware": false, "Startup Cost": 16673.73, "Total Cost": 16673.74, "Plan Rows": 1, "Plan Width": 32, "Actual Startup Time": 300.766, "Actual Total Time": 300.827, "Actual Rows": 1, "Actual Loops": 1, "Output": ["(sum((partsupp_1.ps_supplycost * (partsupp_1.ps_availqty)::numeric)) * 0.0001000000)"], "Plans": [{"Node Type": "Gather", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 16673.61, "Total Cost": 16673.72, "Plan Rows": 1, "Plan Width": 32, "Actual Startup Time": 300.682, "Actual Total Time": 300.817, "Actual Rows": 2, "Actual Loops": 1, "Output": ["(PARTIAL sum((partsupp_1.ps_supplycost * (partsupp_1.ps_availqty)::numeric)))"], "Workers Planned": 1, "Workers Launched": 1, "Single Copy": false, "Plans": [{"Node Type": "Aggregate", "Strategy": "Plain", "Partial Mode": "Partial", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 15673.61, "Total Cost": 15673.62, "Plan Rows": 1, "Plan Width": 32, "Actual Startup Time": 298.175, "Actual Total Time": 298.178, "Actual Rows": 1, "Actual Loops": 2, "Output": ["PARTIAL sum((partsupp_1.ps_supplycost * (partsupp_1.ps_availqty)::numeric))"], "Workers": [{"Worker Number": 0, "Actual Startup Time": 295.97, "Actual Total Time": 295.973, "Actual Rows": 1, "Actual Loops": 1}], "Plans": [{"Node Type": "Nested Loop", "Parent Relationship": "Outer", "Parallel Aware": false, "Join Type": "Inner", "Startup Cost": 1.76, "Total Cost": 14261.85, "Plan Rows": 188235, "Plan Width": 10, "Actual Startup Time": 0.166, "Actual Total Time": 241.158, "Actual Rows": 159520, "Actual Loops": 2, "Output": ["partsupp_1.ps_supplycost", "partsupp_1.ps_availqty"], "Inner Unique": false, "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.284, "Actual Total Time": 248.264, "Actual Rows": 130640, "Actual Loops": 1}], "Plans": [{"Node Type": "Hash Join", "Parent Relationship": "Outer", "Parallel Aware": false, "Join Type": "Inner", "Startup Cost": 1.32, "Total Cost": 2986.15, "Plan Rows": 2353, "Plan Width": 4, "Actual Startup Time": 0.108, "Actual Total Time": 14.107, "Actual Rows": 1994, "Actual Loops": 2, "Output": ["supplier_1.s_suppkey"], "Inner Unique": true, "Hash Cond": "(supplier_1.s_nationkey = nation_1.n_nationkey)", "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.184, "Actual Total Time": 12.42, "Actual Rows": 1633, "Actual Loops": 1}], "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": true, "Relation Name": "supplier", "Schema": "public", "Alias": "supplier_1", "Startup Cost": 0.0, "Total Cost": 2804.24, "Plan Rows": 58824, "Plan Width": 8, "Actual Startup Time": 0.012, "Actual Total Time": 4.863, "Actual Rows": 50000, "Actual Loops": 2, "Output": ["supplier_1.s_suppkey", "supplier_1.s_name", "supplier_1.s_address", "supplier_1.s_nationkey", "supplier_1.s_phone", "supplier_1.s_acctbal", "supplier_1.s_comment"], "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.019, "Actual Total Time": 4.434, "Actual Rows": 41416, "Actual Loops": 1}]}, {"Node Type": "Hash", "Parent Relationship": "Inner", "Parallel Aware": false, "Startup Cost": 1.31, "Total Cost": 1.31, "Plan Rows": 1, "Plan Width": 4, "Actual Startup Time": 0.02, "Actual Total Time": 0.021, "Actual Rows": 1, "Actual Loops": 2, "Output": ["nation_1.n_nationkey"], "Hash Buckets": 1024, "Original Hash Buckets": 1024, "Hash Batches": 1, "Original Hash Batches": 1, "Peak Memory Usage": 9, "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.027, "Actual Total Time": 0.028, "Actual Rows": 1, "Actual Loops": 1}], "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Relation Name": "nation", "Schema": "public", "Alias": "nation_1", "Startup Cost": 0.0, "Total Cost": 1.31, "Plan Rows": 1, "Plan Width": 4, "Actual Startup Time": 0.016, "Actual Total Time": 0.017, "Actual Rows": 1, "Actual Loops": 2, "Output": ["nation_1.n_nationkey"], "Filter": "(nation_1.n_name = 'CHINA'::bpchar)", "Rows Removed by Filter": 24, "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.023, "Actual Total Time": 0.024, "Actual Rows": 1, "Actual Loops": 1}]}]}]}, {"Node Type": "Index Scan", "Parent Relationship": "Inner", "Parallel Aware": false, "Scan Direction": "Forward", "Index Name": "ps_sk", "Relation Name": "partsupp", "Schema": "public", "Alias": "partsupp_1", "Startup Cost": 0.43, "Total Cost": 3.99, "Plan Rows": 80, "Plan Width": 14, "Actual Startup Time": 0.007, "Actual Total Time": 0.101, "Actual Rows": 80, "Actual Loops": 3988, "Output": ["partsupp_1.ps_partkey", "partsupp_1.ps_suppkey", "partsupp_1.ps_availqty", "partsupp_1.ps_supplycost", "partsupp_1.ps_comment"], "Index Cond": "(partsupp_1.ps_suppkey = supplier_1.s_suppkey)", "Rows Removed by Index Recheck": 0, "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.009, "Actual Total Time": 0.131, "Actual Rows": 80, "Actual Loops": 1633}]}]}]}]}]}, {"Node Type": "Aggregate", "Strategy": "Sorted", "Partial Mode": "Simple", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 50672.78, "Total Cost": 62672.78, "Plan Rows": 106667, "Plan Width": 36, "Actual Startup Time": 1133.43, "Actual Total Time": 1133.433, "Actual Rows": 0, "Actual Loops": 1, "Output": ["partsupp.ps_partkey", "sum((partsupp.ps_supplycost * (partsupp.ps_availqty)::numeric))"], "Group Key": ["partsupp.ps_partkey"], "Filter": "(sum((partsupp.ps_supplycost * (partsupp.ps_availqty)::numeric)) > $2)", "Rows Removed by Filter": 300316, "Plans": [{"Node Type": "Sort", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 50672.78, "Total Cost": 51472.78, "Plan Rows": 320000, "Plan Width": 14, "Actual Startup Time": 541.995, "Actual Total Time": 578.319, "Actual Rows": 319040, "Actual Loops": 1, "Output": ["partsupp.ps_partkey", "partsupp.ps_supplycost", "partsupp.ps_availqty"], "Sort Key": ["partsupp.ps_partkey"], "Sort Method": "external merge", "Sort Space Used": 8128, "Sort Space Type": "Disk", "Plans": [{"Node Type": "Nested Loop", "Parent Relationship": "Outer", "Parallel Aware": false, "Join Type": "Inner", "Startup Cost": 44.92, "Total Cost": 21412.44, "Plan Rows": 320000, "Plan Width": 14, "Actual Startup Time": 0.809, "Actual Total Time": 381.734, "Actual Rows": 319040, "Actual Loops": 1, "Output": ["partsupp.ps_partkey", "partsupp.ps_supplycost", "partsupp.ps_availqty"], "Inner Unique": false, "Plans": [{"Node Type": "Nested Loop", "Parent Relationship": "Outer", "Parallel Aware": false, "Join Type": "Inner", "Startup Cost": 44.49, "Total Cost": 2244.24, "Plan Rows": 4000, "Plan Width": 4, "Actual Startup Time": 0.795, "Actual Total Time": 5.074, "Actual Rows": 3988, "Actual Loops": 1, "Output": ["supplier.s_suppkey"], "Inner Unique": false, "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Relation Name": "nation", "Schema": "public", "Alias": "nation", "Startup Cost": 0.0, "Total Cost": 1.31, "Plan Rows": 1, "Plan Width": 4, "Actual Startup Time": 0.012, "Actual Total Time": 0.017, "Actual Rows": 1, "Actual Loops": 1, "Output": ["nation.n_nationkey", "nation.n_name", "nation.n_regionkey", "nation.n_comment"], "Filter": "(nation.n_name = 'CHINA'::bpchar)", "Rows Removed by Filter": 24}, {"Node Type": "Bitmap Heap Scan", "Parent Relationship": "Inner", "Parallel Aware": false, "Relation Name": "supplier", "Schema": "public", "Alias": "supplier", "Startup Cost": 44.49, "Total Cost": 2202.92, "Plan Rows": 4000, "Plan Width": 8, "Actual Startup Time": 0.781, "Actual Total Time": 4.507, "Actual Rows": 3988, "Actual Loops": 1, "Output": ["supplier.s_suppkey", "supplier.s_name", "supplier.s_address", "supplier.s_nationkey", "supplier.s_phone", "supplier.s_acctbal", "supplier.s_comment"], "Recheck Cond": "(supplier.s_nationkey = nation.n_nationkey)", "Rows Removed by Index Recheck": 0, "Exact Heap Blocks": 1857, "Lossy Heap Blocks": 0, "Plans": [{"Node Type": "Bitmap Index Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Index Name": "s_nk", "Startup Cost": 0.0, "Total Cost": 43.49, "Plan Rows": 4000, "Plan Width": 0, "Actual Startup Time": 0.463, "Actual Total Time": 0.463, "Actual Rows": 3988, "Actual Loops": 1, "Index Cond": "(supplier.s_nationkey = nation.n_nationkey)"}]}]}, {"Node Type": "Index Scan", "Parent Relationship": "Inner", "Parallel Aware": false, "Scan Direction": "Forward", "Index Name": "ps_sk", "Relation Name": "partsupp", "Schema": "public", "Alias": "partsupp", "Startup Cost": 0.43, "Total Cost": 3.99, "Plan Rows": 80, "Plan Width": 18, "Actual Startup Time": 0.005, "Actual Total Time": 0.082, "Actual Rows": 80, "Actual Loops": 3988, "Output": ["partsupp.ps_partkey", "partsupp.ps_suppkey", "partsupp.ps_availqty", "partsupp.ps_supplycost", "partsupp.ps_comment"], "Index Cond": "(partsupp.ps_suppkey = supplier.s_suppkey)", "Rows Removed by Index Recheck": 0}]}]}]}]}, "Planning Time": 0.858, "Triggers": [], "Execution Time": 1135.525} diff --git a/dev9/pg11/tpch/sf_10/explain_analyze/15721/12-1.ok b/dev9/pg11/tpch/sf_10/explain_analyze/15721/12-1.ok new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/dev9/pg11/tpch/sf_10/explain_analyze/15721/12-1.res b/dev9/pg11/tpch/sf_10/explain_analyze/15721/12-1.res new file mode 100644 index 0000000000000000000000000000000000000000..067c4f0934d3aeb441bdbcf826792a4a01d640b5 --- /dev/null +++ b/dev9/pg11/tpch/sf_10/explain_analyze/15721/12-1.res @@ -0,0 +1 @@ +{"Plan": {"Node Type": "Aggregate", "Strategy": "Sorted", "Partial Mode": "Finalize", "Parallel Aware": false, "Startup Cost": 1375789.53, "Total Cost": 1376619.7, "Plan Rows": 7, "Plan Width": 27, "Actual Startup Time": 3098.554, "Actual Total Time": 3352.094, "Actual Rows": 2, "Actual Loops": 1, "Output": ["lineitem.l_shipmode", "sum(CASE WHEN ((orders.o_orderpriority = '1-URGENT'::bpchar) OR (orders.o_orderpriority = '2-HIGH'::bpchar)) THEN 1 ELSE 0 END)", "sum(CASE WHEN ((orders.o_orderpriority <> '1-URGENT'::bpchar) AND (orders.o_orderpriority <> '2-HIGH'::bpchar)) THEN 1 ELSE 0 END)"], "Group Key": ["lineitem.l_shipmode"], "Plans": [{"Node Type": "Gather Merge", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 1375789.53, "Total Cost": 1376619.26, "Plan Rows": 49, "Plan Width": 27, "Actual Startup Time": 3089.675, "Actual Total Time": 3352.082, "Actual Rows": 16, "Actual Loops": 1, "Output": ["lineitem.l_shipmode", "(PARTIAL sum(CASE WHEN ((orders.o_orderpriority = '1-URGENT'::bpchar) OR (orders.o_orderpriority = '2-HIGH'::bpchar)) THEN 1 ELSE 0 END))", "(PARTIAL sum(CASE WHEN ((orders.o_orderpriority <> '1-URGENT'::bpchar) AND (orders.o_orderpriority <> '2-HIGH'::bpchar)) THEN 1 ELSE 0 END))"], "Workers Planned": 7, "Workers Launched": 7, "Plans": [{"Node Type": "Aggregate", "Strategy": "Sorted", "Partial Mode": "Partial", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 1374789.41, "Total Cost": 1375613.14, "Plan Rows": 7, "Plan Width": 27, "Actual Startup Time": 3083.18, "Actual Total Time": 3089.983, "Actual Rows": 2, "Actual Loops": 8, "Output": ["lineitem.l_shipmode", "PARTIAL sum(CASE WHEN ((orders.o_orderpriority = '1-URGENT'::bpchar) OR (orders.o_orderpriority = '2-HIGH'::bpchar)) THEN 1 ELSE 0 END)", "PARTIAL sum(CASE WHEN ((orders.o_orderpriority <> '1-URGENT'::bpchar) AND (orders.o_orderpriority <> '2-HIGH'::bpchar)) THEN 1 ELSE 0 END)"], "Group Key": ["lineitem.l_shipmode"], "Workers": [{"Worker Number": 0, "Actual Startup Time": 3082.305, "Actual Total Time": 3088.641, "Actual Rows": 2, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 3082.5, "Actual Total Time": 3089.252, "Actual Rows": 2, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 3082.54, "Actual Total Time": 3089.123, "Actual Rows": 2, "Actual Loops": 1}, {"Worker Number": 3, "Actual Startup Time": 3082.3, "Actual Total Time": 3088.824, "Actual Rows": 2, "Actual Loops": 1}, {"Worker Number": 4, "Actual Startup Time": 3082.312, "Actual Total Time": 3088.744, "Actual Rows": 2, "Actual Loops": 1}, {"Worker Number": 5, "Actual Startup Time": 3082.281, "Actual Total Time": 3088.838, "Actual Rows": 2, "Actual Loops": 1}, {"Worker Number": 6, "Actual Startup Time": 3082.079, "Actual Total Time": 3088.462, "Actual Rows": 2, "Actual Loops": 1}], "Plans": [{"Node Type": "Sort", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 1374789.41, "Total Cost": 1374892.36, "Plan Rows": 41183, "Plan Width": 27, "Actual Startup Time": 3076.339, "Actual Total Time": 3078.493, "Actual Rows": 38973, "Actual Loops": 8, "Output": ["lineitem.l_shipmode", "orders.o_orderpriority"], "Sort Key": ["lineitem.l_shipmode"], "Sort Method": "quicksort", "Sort Space Used": 5480, "Sort Space Type": "Memory", "Workers": [{"Worker Number": 0, "Actual Startup Time": 3075.892, "Actual Total Time": 3077.889, "Actual Rows": 36519, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 3075.821, "Actual Total Time": 3077.927, "Actual Rows": 37856, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 3075.936, "Actual Total Time": 3077.999, "Actual Rows": 37819, "Actual Loops": 1}, {"Worker Number": 3, "Actual Startup Time": 3075.679, "Actual Total Time": 3077.741, "Actual Rows": 37722, "Actual Loops": 1}, {"Worker Number": 4, "Actual Startup Time": 3075.783, "Actual Total Time": 3077.817, "Actual Rows": 37192, "Actual Loops": 1}, {"Worker Number": 5, "Actual Startup Time": 3075.628, "Actual Total Time": 3077.698, "Actual Rows": 37809, "Actual Loops": 1}, {"Worker Number": 6, "Actual Startup Time": 3075.704, "Actual Total Time": 3077.702, "Actual Rows": 36389, "Actual Loops": 1}], "Plans": [{"Node Type": "Nested Loop", "Parent Relationship": "Outer", "Parallel Aware": false, "Join Type": "Inner", "Startup Cost": 0.43, "Total Cost": 1371632.78, "Plan Rows": 41183, "Plan Width": 27, "Actual Startup Time": 0.178, "Actual Total Time": 3063.524, "Actual Rows": 38973, "Actual Loops": 8, "Output": ["lineitem.l_shipmode", "orders.o_orderpriority"], "Inner Unique": true, "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.333, "Actual Total Time": 3062.806, "Actual Rows": 36519, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 0.139, "Actual Total Time": 3062.975, "Actual Rows": 37856, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 0.217, "Actual Total Time": 3062.899, "Actual Rows": 37819, "Actual Loops": 1}, {"Worker Number": 3, "Actual Startup Time": 0.217, "Actual Total Time": 3063.073, "Actual Rows": 37722, "Actual Loops": 1}, {"Worker Number": 4, "Actual Startup Time": 0.226, "Actual Total Time": 3062.985, "Actual Rows": 37192, "Actual Loops": 1}, {"Worker Number": 5, "Actual Startup Time": 0.123, "Actual Total Time": 3062.957, "Actual Rows": 37809, "Actual Loops": 1}, {"Worker Number": 6, "Actual Startup Time": 0.127, "Actual Total Time": 3063.077, "Actual Rows": 36389, "Actual Loops": 1}], "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": true, "Relation Name": "lineitem", "Schema": "public", "Alias": "lineitem", "Startup Cost": 0.0, "Total Cost": 1317353.47, "Plan Rows": 41183, "Plan Width": 15, "Actual Startup Time": 0.107, "Actual Total Time": 2816.497, "Actual Rows": 38973, "Actual Loops": 8, "Output": ["lineitem.l_orderkey", "lineitem.l_partkey", "lineitem.l_suppkey", "lineitem.l_linenumber", "lineitem.l_quantity", "lineitem.l_extendedprice", "lineitem.l_discount", "lineitem.l_tax", "lineitem.l_returnflag", "lineitem.l_linestatus", "lineitem.l_shipdate", "lineitem.l_commitdate", "lineitem.l_receiptdate", "lineitem.l_shipinstruct", "lineitem.l_shipmode", "lineitem.l_comment"], "Filter": "((lineitem.l_shipmode = ANY ('{MAIL,TRUCK}'::bpchar[])) AND (lineitem.l_commitdate < lineitem.l_receiptdate) AND (lineitem.l_shipdate < lineitem.l_commitdate) AND (lineitem.l_receiptdate >= '1995-01-01'::date) AND (lineitem.l_receiptdate < '1996-01-01 00:00:00'::timestamp without time zone))", "Rows Removed by Filter": 7459283, "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.261, "Actual Total Time": 2798.247, "Actual Rows": 36519, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 0.059, "Actual Total Time": 2811.452, "Actual Rows": 37856, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 0.139, "Actual Total Time": 2810.017, "Actual Rows": 37819, "Actual Loops": 1}, {"Worker Number": 3, "Actual Startup Time": 0.138, "Actual Total Time": 2812.393, "Actual Rows": 37722, "Actual Loops": 1}, {"Worker Number": 4, "Actual Startup Time": 0.149, "Actual Total Time": 2808.09, "Actual Rows": 37192, "Actual Loops": 1}, {"Worker Number": 5, "Actual Startup Time": 0.041, "Actual Total Time": 2811.042, "Actual Rows": 37809, "Actual Loops": 1}, {"Worker Number": 6, "Actual Startup Time": 0.043, "Actual Total Time": 2804.451, "Actual Rows": 36389, "Actual Loops": 1}]}, {"Node Type": "Index Scan", "Parent Relationship": "Inner", "Parallel Aware": false, "Scan Direction": "Forward", "Index Name": "o_ok", "Relation Name": "orders", "Schema": "public", "Alias": "orders", "Startup Cost": 0.43, "Total Cost": 1.32, "Plan Rows": 1, "Plan Width": 20, "Actual Startup Time": 0.006, "Actual Total Time": 0.006, "Actual Rows": 1, "Actual Loops": 311787, "Output": ["orders.o_orderkey", "orders.o_custkey", "orders.o_orderstatus", "orders.o_totalprice", "orders.o_orderdate", "orders.o_orderpriority", "orders.o_clerk", "orders.o_shippriority", "orders.o_comment"], "Index Cond": "(orders.o_orderkey = lineitem.l_orderkey)", "Rows Removed by Index Recheck": 0, "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.007, "Actual Total Time": 0.007, "Actual Rows": 1, "Actual Loops": 36519}, {"Worker Number": 1, "Actual Startup Time": 0.006, "Actual Total Time": 0.006, "Actual Rows": 1, "Actual Loops": 37856}, {"Worker Number": 2, "Actual Startup Time": 0.006, "Actual Total Time": 0.006, "Actual Rows": 1, "Actual Loops": 37819}, {"Worker Number": 3, "Actual Startup Time": 0.006, "Actual Total Time": 0.006, "Actual Rows": 1, "Actual Loops": 37722}, {"Worker Number": 4, "Actual Startup Time": 0.006, "Actual Total Time": 0.006, "Actual Rows": 1, "Actual Loops": 37192}, {"Worker Number": 5, "Actual Startup Time": 0.006, "Actual Total Time": 0.006, "Actual Rows": 1, "Actual Loops": 37809}, {"Worker Number": 6, "Actual Startup Time": 0.007, "Actual Total Time": 0.007, "Actual Rows": 1, "Actual Loops": 36389}]}]}]}]}]}]}, "Planning Time": 0.425, "Triggers": [], "Execution Time": 3352.167} diff --git a/dev9/pg11/tpch/sf_10/explain_analyze/15721/13-1.ok b/dev9/pg11/tpch/sf_10/explain_analyze/15721/13-1.ok new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/dev9/pg11/tpch/sf_10/explain_analyze/15721/13-1.res b/dev9/pg11/tpch/sf_10/explain_analyze/15721/13-1.res new file mode 100644 index 0000000000000000000000000000000000000000..b5c4b5319d9635683d649551879e2953582a55d4 --- /dev/null +++ b/dev9/pg11/tpch/sf_10/explain_analyze/15721/13-1.res @@ -0,0 +1 @@ +{"Plan": {"Node Type": "Sort", "Parallel Aware": false, "Startup Cost": 923458.62, "Total Cost": 923459.12, "Plan Rows": 200, "Plan Width": 16, "Actual Startup Time": 25483.478, "Actual Total Time": 25483.483, "Actual Rows": 46, "Actual Loops": 1, "Output": ["(count(orders.o_orderkey))", "(count(*))"], "Sort Key": ["(count(*)) DESC", "(count(orders.o_orderkey)) DESC"], "Sort Method": "quicksort", "Sort Space Used": 27, "Sort Space Type": "Memory", "Plans": [{"Node Type": "Aggregate", "Strategy": "Hashed", "Partial Mode": "Simple", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 923448.97, "Total Cost": 923450.97, "Plan Rows": 200, "Plan Width": 16, "Actual Startup Time": 25483.44, "Actual Total Time": 25483.451, "Actual Rows": 46, "Actual Loops": 1, "Output": ["(count(orders.o_orderkey))", "count(*)"], "Group Key": ["count(orders.o_orderkey)"], "Plans": [{"Node Type": "Aggregate", "Strategy": "Sorted", "Partial Mode": "Simple", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 7.36, "Total Cost": 900948.97, "Plan Rows": 1500000, "Plan Width": 12, "Actual Startup Time": 0.078, "Actual Total Time": 25129.351, "Actual Rows": 1500000, "Actual Loops": 1, "Output": ["customer.c_custkey", "count(orders.o_orderkey)"], "Group Key": ["customer.c_custkey"], "Plans": [{"Node Type": "Merge Join", "Parent Relationship": "Outer", "Parallel Aware": false, "Join Type": "Left", "Startup Cost": 7.36, "Total Cost": 811546.25, "Plan Rows": 14880544, "Plan Width": 8, "Actual Startup Time": 0.023, "Actual Total Time": 23116.542, "Actual Rows": 15338712, "Actual Loops": 1, "Output": ["customer.c_custkey", "orders.o_orderkey"], "Inner Unique": false, "Merge Cond": "(customer.c_custkey = orders.o_custkey)", "Plans": [{"Node Type": "Index Only Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Scan Direction": "Forward", "Index Name": "c_ck", "Relation Name": "customer", "Schema": "public", "Alias": "customer", "Startup Cost": 0.43, "Total Cost": 27028.03, "Plan Rows": 1500000, "Plan Width": 4, "Actual Startup Time": 0.008, "Actual Total Time": 206.661, "Actual Rows": 1500000, "Actual Loops": 1, "Output": ["customer.c_custkey"], "Heap Fetches": 0}, {"Node Type": "Index Scan", "Parent Relationship": "Inner", "Parallel Aware": false, "Scan Direction": "Forward", "Index Name": "o_ck", "Relation Name": "orders", "Schema": "public", "Alias": "orders", "Startup Cost": 0.43, "Total Cost": 594761.42, "Plan Rows": 14880544, "Plan Width": 8, "Actual Startup Time": 0.011, "Actual Total Time": 20496.23, "Actual Rows": 14838692, "Actual Loops": 1, "Output": ["orders.o_orderkey", "orders.o_custkey", "orders.o_orderstatus", "orders.o_totalprice", "orders.o_orderdate", "orders.o_orderpriority", "orders.o_clerk", "orders.o_shippriority", "orders.o_comment"], "Filter": "((orders.o_comment)::text !~~ '%unusual%requests%'::text)", "Rows Removed by Filter": 161308}]}]}]}]}, "Planning Time": 0.612, "Triggers": [], "Execution Time": 25483.546} diff --git a/dev9/pg11/tpch/sf_10/explain_analyze/15721/14-1.ok b/dev9/pg11/tpch/sf_10/explain_analyze/15721/14-1.ok new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/dev9/pg11/tpch/sf_10/explain_analyze/15721/14-1.res b/dev9/pg11/tpch/sf_10/explain_analyze/15721/14-1.res new file mode 100644 index 0000000000000000000000000000000000000000..786b3a19f4d6580cff9263c6b68ac3198fbc4bbc --- /dev/null +++ b/dev9/pg11/tpch/sf_10/explain_analyze/15721/14-1.res @@ -0,0 +1 @@ +{"Plan": {"Node Type": "Aggregate", "Strategy": "Plain", "Partial Mode": "Finalize", "Parallel Aware": false, "Startup Cost": 714305.59, "Total Cost": 714305.61, "Plan Rows": 1, "Plan Width": 32, "Actual Startup Time": 796.666, "Actual Total Time": 920.816, "Actual Rows": 1, "Actual Loops": 1, "Output": ["((100.00 * sum(CASE WHEN ((part.p_type)::text ~~ 'PROMO%'::text) THEN (lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount)) ELSE '0'::numeric END)) / sum((lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount))))"], "Plans": [{"Node Type": "Gather", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 714305.14, "Total Cost": 714305.55, "Plan Rows": 4, "Plan Width": 64, "Actual Startup Time": 788.99, "Actual Total Time": 920.795, "Actual Rows": 5, "Actual Loops": 1, "Output": ["(PARTIAL sum(CASE WHEN ((part.p_type)::text ~~ 'PROMO%'::text) THEN (lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount)) ELSE '0'::numeric END))", "(PARTIAL sum((lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount))))"], "Workers Planned": 4, "Workers Launched": 4, "Single Copy": false, "Plans": [{"Node Type": "Aggregate", "Strategy": "Plain", "Partial Mode": "Partial", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 713305.14, "Total Cost": 713305.15, "Plan Rows": 1, "Plan Width": 64, "Actual Startup Time": 784.852, "Actual Total Time": 784.857, "Actual Rows": 1, "Actual Loops": 5, "Output": ["PARTIAL sum(CASE WHEN ((part.p_type)::text ~~ 'PROMO%'::text) THEN (lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount)) ELSE '0'::numeric END)", "PARTIAL sum((lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount)))"], "Workers": [{"Worker Number": 0, "Actual Startup Time": 783.782, "Actual Total Time": 783.784, "Actual Rows": 1, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 783.756, "Actual Total Time": 783.765, "Actual Rows": 1, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 784.393, "Actual Total Time": 784.396, "Actual Rows": 1, "Actual Loops": 1}, {"Worker Number": 3, "Actual Startup Time": 783.76, "Actual Total Time": 783.763, "Actual Rows": 1, "Actual Loops": 1}], "Plans": [{"Node Type": "Hash Join", "Parent Relationship": "Outer", "Parallel Aware": true, "Join Type": "Inner", "Startup Cost": 657148.63, "Total Cost": 709853.69, "Plan Rows": 197225, "Plan Width": 33, "Actual Startup Time": 478.159, "Actual Total Time": 701.231, "Actual Rows": 154569, "Actual Loops": 5, "Output": ["part.p_type", "lineitem.l_extendedprice", "lineitem.l_discount"], "Inner Unique": false, "Hash Cond": "(part.p_partkey = lineitem.l_partkey)", "Workers": [{"Worker Number": 0, "Actual Startup Time": 477.202, "Actual Total Time": 701.065, "Actual Rows": 152935, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 477.203, "Actual Total Time": 701.773, "Actual Rows": 151580, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 477.195, "Actual Total Time": 702.288, "Actual Rows": 151733, "Actual Loops": 1}, {"Worker Number": 3, "Actual Startup Time": 477.198, "Actual Total Time": 701.275, "Actual Rows": 152780, "Actual Loops": 1}], "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": true, "Relation Name": "part", "Schema": "public", "Alias": "part", "Startup Cost": 0.0, "Total Cost": 45962.0, "Plan Rows": 500000, "Plan Width": 25, "Actual Startup Time": 0.02, "Actual Total Time": 50.405, "Actual Rows": 400000, "Actual Loops": 5, "Output": ["part.p_partkey", "part.p_name", "part.p_mfgr", "part.p_brand", "part.p_type", "part.p_size", "part.p_container", "part.p_retailprice", "part.p_comment"], "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.019, "Actual Total Time": 53.352, "Actual Rows": 396045, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 0.025, "Actual Total Time": 53.133, "Actual Rows": 392119, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 0.025, "Actual Total Time": 53.342, "Actual Rows": 392322, "Actual Loops": 1}, {"Worker Number": 3, "Actual Startup Time": 0.023, "Actual Total Time": 53.23, "Actual Rows": 395254, "Actual Loops": 1}]}, {"Node Type": "Hash", "Parent Relationship": "Inner", "Parallel Aware": true, "Startup Cost": 654683.32, "Total Cost": 654683.32, "Plan Rows": 197225, "Plan Width": 16, "Actual Startup Time": 476.447, "Actual Total Time": 476.448, "Actual Rows": 154569, "Actual Loops": 5, "Output": ["lineitem.l_extendedprice", "lineitem.l_discount", "lineitem.l_partkey"], "Hash Buckets": 1048576, "Original Hash Buckets": 1048576, "Hash Batches": 1, "Original Hash Batches": 1, "Peak Memory Usage": 49088, "Workers": [{"Worker Number": 0, "Actual Startup Time": 476.984, "Actual Total Time": 476.985, "Actual Rows": 125904, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 476.993, "Actual Total Time": 476.994, "Actual Rows": 122610, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 476.99, "Actual Total Time": 476.991, "Actual Rows": 123342, "Actual Loops": 1}, {"Worker Number": 3, "Actual Startup Time": 476.999, "Actual Total Time": 477.0, "Actual Rows": 123094, "Actual Loops": 1}], "Plans": [{"Node Type": "Index Scan", "Parent Relationship": "Outer", "Parallel Aware": true, "Scan Direction": "Forward", "Index Name": "l_sd", "Relation Name": "lineitem", "Schema": "public", "Alias": "lineitem", "Startup Cost": 0.56, "Total Cost": 654683.32, "Plan Rows": 197225, "Plan Width": 16, "Actual Startup Time": 0.087, "Actual Total Time": 410.542, "Actual Rows": 154569, "Actual Loops": 5, "Output": ["lineitem.l_extendedprice", "lineitem.l_discount", "lineitem.l_partkey"], "Index Cond": "((lineitem.l_shipdate >= '1995-05-01'::date) AND (lineitem.l_shipdate < '1995-06-01 00:00:00'::timestamp without time zone))", "Rows Removed by Index Recheck": 0, "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.072, "Actual Total Time": 419.966, "Actual Rows": 125904, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 0.112, "Actual Total Time": 418.831, "Actual Rows": 122610, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 0.148, "Actual Total Time": 419.49, "Actual Rows": 123342, "Actual Loops": 1}, {"Worker Number": 3, "Actual Startup Time": 0.08, "Actual Total Time": 420.183, "Actual Rows": 123094, "Actual Loops": 1}]}]}]}]}]}]}, "Planning Time": 0.349, "Triggers": [], "Execution Time": 920.877} diff --git a/dev9/pg11/tpch/sf_10/explain_analyze/15721/15-1.ok b/dev9/pg11/tpch/sf_10/explain_analyze/15721/15-1.ok new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/dev9/pg11/tpch/sf_10/explain_analyze/15721/15-1.res b/dev9/pg11/tpch/sf_10/explain_analyze/15721/15-1.res new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/dev9/pg11/tpch/sf_10/explain_analyze/15721/15-2.ok b/dev9/pg11/tpch/sf_10/explain_analyze/15721/15-2.ok new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/dev9/pg11/tpch/sf_10/explain_analyze/15721/15-2.res b/dev9/pg11/tpch/sf_10/explain_analyze/15721/15-2.res new file mode 100644 index 0000000000000000000000000000000000000000..9b7f918becc88940ef8e38dbb52813f2acae7f5a --- /dev/null +++ b/dev9/pg11/tpch/sf_10/explain_analyze/15721/15-2.res @@ -0,0 +1 @@ +{"Plan": {"Node Type": "Nested Loop", "Parallel Aware": false, "Join Type": "Inner", "Startup Cost": 2559673.76, "Total Cost": 2657115.83, "Plan Rows": 500, "Plan Width": 103, "Actual Startup Time": 7435.703, "Actual Total Time": 7693.902, "Actual Rows": 1, "Actual Loops": 1, "Output": ["supplier.s_suppkey", "supplier.s_name", "supplier.s_address", "supplier.s_phone", "(sum((lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount))))"], "Inner Unique": true, "Plans": [{"Node Type": "Aggregate", "Strategy": "Plain", "Partial Mode": "Simple", "Parent Relationship": "InitPlan", "Subplan Name": "InitPlan 1 (returns $0)", "Parallel Aware": false, "Startup Cost": 1296136.35, "Total Cost": 1296136.36, "Plan Rows": 1, "Plan Width": 32, "Actual Startup Time": 4616.318, "Actual Total Time": 4616.32, "Actual Rows": 1, "Actual Loops": 1, "Output": ["max((sum((lineitem_1.l_extendedprice * ('1'::numeric - lineitem_1.l_discount)))))"], "Plans": [{"Node Type": "Aggregate", "Strategy": "Hashed", "Partial Mode": "Simple", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 1293636.4, "Total Cost": 1294886.38, "Plan Rows": 99998, "Plan Width": 36, "Actual Startup Time": 4558.363, "Actual Total Time": 4606.193, "Actual Rows": 100000, "Actual Loops": 1, "Output": ["lineitem_1.l_suppkey", "sum((lineitem_1.l_extendedprice * ('1'::numeric - lineitem_1.l_discount)))"], "Group Key": ["lineitem_1.l_suppkey"], "Plans": [{"Node Type": "Index Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Scan Direction": "Forward", "Index Name": "l_sd", "Relation Name": "lineitem", "Schema": "public", "Alias": "lineitem_1", "Startup Cost": 0.56, "Total Cost": 1271710.97, "Plan Rows": 2192543, "Plan Width": 16, "Actual Startup Time": 0.036, "Actual Total Time": 2633.948, "Actual Rows": 2247315, "Actual Loops": 1, "Output": ["lineitem_1.l_orderkey", "lineitem_1.l_partkey", "lineitem_1.l_suppkey", "lineitem_1.l_linenumber", "lineitem_1.l_quantity", "lineitem_1.l_extendedprice", "lineitem_1.l_discount", "lineitem_1.l_tax", "lineitem_1.l_returnflag", "lineitem_1.l_linestatus", "lineitem_1.l_shipdate", "lineitem_1.l_commitdate", "lineitem_1.l_receiptdate", "lineitem_1.l_shipinstruct", "lineitem_1.l_shipmode", "lineitem_1.l_comment"], "Index Cond": "((lineitem_1.l_shipdate >= '1995-01-01'::date) AND (lineitem_1.l_shipdate < '1995-04-01 00:00:00'::timestamp without time zone))", "Rows Removed by Index Recheck": 0}]}]}, {"Node Type": "Aggregate", "Strategy": "Sorted", "Partial Mode": "Finalize", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 1263537.1, "Total Cost": 1360035.17, "Plan Rows": 500, "Plan Width": 36, "Actual Startup Time": 7435.676, "Actual Total Time": 7693.87, "Actual Rows": 1, "Actual Loops": 1, "Output": ["lineitem.l_suppkey", "sum((lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount)))"], "Group Key": ["lineitem.l_suppkey"], "Filter": "(sum((lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount))) = $0)", "Rows Removed by Filter": 99999, "Plans": [{"Node Type": "Gather Merge", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 1263537.1, "Total Cost": 1349535.38, "Plan Rows": 699986, "Plan Width": 36, "Actual Startup Time": 2286.839, "Actual Total Time": 2668.676, "Actual Rows": 750308, "Actual Loops": 1, "Output": ["lineitem.l_suppkey", "(PARTIAL sum((lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount))))"], "Workers Planned": 7, "Workers Launched": 7, "Plans": [{"Node Type": "Sort", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 1262536.98, "Total Cost": 1262786.98, "Plan Rows": 99998, "Plan Width": 36, "Actual Startup Time": 2260.751, "Actual Total Time": 2277.169, "Actual Rows": 93788, "Actual Loops": 8, "Output": ["lineitem.l_suppkey", "(PARTIAL sum((lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount))))"], "Sort Key": ["lineitem.l_suppkey"], "Sort Method": "quicksort", "Sort Space Used": 10667, "Sort Space Type": "Memory", "Workers": [{"Worker Number": 0, "Actual Startup Time": 2268.298, "Actual Total Time": 2287.379, "Actual Rows": 93410, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 2277.616, "Actual Total Time": 2301.22, "Actual Rows": 93854, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 2266.489, "Actual Total Time": 2281.302, "Actual Rows": 93532, "Actual Loops": 1}, {"Worker Number": 3, "Actual Startup Time": 2252.234, "Actual Total Time": 2266.902, "Actual Rows": 93455, "Actual Loops": 1}, {"Worker Number": 4, "Actual Startup Time": 2253.035, "Actual Total Time": 2267.753, "Actual Rows": 93173, "Actual Loops": 1}, {"Worker Number": 5, "Actual Startup Time": 2252.123, "Actual Total Time": 2266.935, "Actual Rows": 93130, "Actual Loops": 1}, {"Worker Number": 6, "Actual Startup Time": 2251.607, "Actual Total Time": 2266.042, "Actual Rows": 92546, "Actual Loops": 1}], "Plans": [{"Node Type": "Aggregate", "Strategy": "Hashed", "Partial Mode": "Partial", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 1252982.37, "Total Cost": 1254232.34, "Plan Rows": 99998, "Plan Width": 36, "Actual Startup Time": 2146.588, "Actual Total Time": 2223.972, "Actual Rows": 93788, "Actual Loops": 8, "Output": ["lineitem.l_suppkey", "PARTIAL sum((lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount)))"], "Group Key": ["lineitem.l_suppkey"], "Workers": [{"Worker Number": 0, "Actual Startup Time": 2145.376, "Actual Total Time": 2229.651, "Actual Rows": 93410, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 2145.447, "Actual Total Time": 2239.246, "Actual Rows": 93854, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 2145.573, "Actual Total Time": 2230.477, "Actual Rows": 93532, "Actual Loops": 1}, {"Worker Number": 3, "Actual Startup Time": 2145.588, "Actual Total Time": 2216.485, "Actual Rows": 93455, "Actual Loops": 1}, {"Worker Number": 4, "Actual Startup Time": 2145.562, "Actual Total Time": 2217.267, "Actual Rows": 93173, "Actual Loops": 1}, {"Worker Number": 5, "Actual Startup Time": 2145.585, "Actual Total Time": 2216.431, "Actual Rows": 93130, "Actual Loops": 1}, {"Worker Number": 6, "Actual Startup Time": 2145.577, "Actual Total Time": 2216.184, "Actual Rows": 92546, "Actual Loops": 1}], "Plans": [{"Node Type": "Bitmap Heap Scan", "Parent Relationship": "Outer", "Parallel Aware": true, "Relation Name": "lineitem", "Schema": "public", "Alias": "lineitem", "Startup Cost": 29087.33, "Total Cost": 1249850.17, "Plan Rows": 313220, "Plan Width": 16, "Actual Startup Time": 509.514, "Actual Total Time": 1859.064, "Actual Rows": 280914, "Actual Loops": 8, "Output": ["lineitem.l_orderkey", "lineitem.l_partkey", "lineitem.l_suppkey", "lineitem.l_linenumber", "lineitem.l_quantity", "lineitem.l_extendedprice", "lineitem.l_discount", "lineitem.l_tax", "lineitem.l_returnflag", "lineitem.l_linestatus", "lineitem.l_shipdate", "lineitem.l_commitdate", "lineitem.l_receiptdate", "lineitem.l_shipinstruct", "lineitem.l_shipmode", "lineitem.l_comment"], "Recheck Cond": "((lineitem.l_shipdate >= '1995-01-01'::date) AND (lineitem.l_shipdate < '1995-04-01 00:00:00'::timestamp without time zone))", "Rows Removed by Index Recheck": 2108425, "Exact Heap Blocks": 51762, "Lossy Heap Blocks": 54224, "Workers": [{"Worker Number": 0, "Actual Startup Time": 508.93, "Actual Total Time": 1868.443, "Actual Rows": 273181, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 508.988, "Actual Total Time": 1877.67, "Actual Rows": 278954, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 509.121, "Actual Total Time": 1869.318, "Actual Rows": 272437, "Actual Loops": 1}, {"Worker Number": 3, "Actual Startup Time": 509.088, "Actual Total Time": 1858.969, "Actual Rows": 271266, "Actual Loops": 1}, {"Worker Number": 4, "Actual Startup Time": 509.063, "Actual Total Time": 1861.117, "Actual Rows": 268938, "Actual Loops": 1}, {"Worker Number": 5, "Actual Startup Time": 509.12, "Actual Total Time": 1856.085, "Actual Rows": 267031, "Actual Loops": 1}, {"Worker Number": 6, "Actual Startup Time": 509.12, "Actual Total Time": 1861.754, "Actual Rows": 258857, "Actual Loops": 1}], "Plans": [{"Node Type": "Bitmap Index Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Index Name": "l_sd", "Startup Cost": 0.0, "Total Cost": 28539.19, "Plan Rows": 2192543, "Plan Width": 0, "Actual Startup Time": 387.617, "Actual Total Time": 387.617, "Actual Rows": 2247315, "Actual Loops": 1, "Index Cond": "((lineitem.l_shipdate >= '1995-01-01'::date) AND (lineitem.l_shipdate < '1995-04-01 00:00:00'::timestamp without time zone))"}]}]}]}]}]}, {"Node Type": "Index Scan", "Parent Relationship": "Inner", "Parallel Aware": false, "Scan Direction": "Forward", "Index Name": "s_sk", "Relation Name": "supplier", "Schema": "public", "Alias": "supplier", "Startup Cost": 0.29, "Total Cost": 1.88, "Plan Rows": 1, "Plan Width": 71, "Actual Startup Time": 0.02, "Actual Total Time": 0.021, "Actual Rows": 1, "Actual Loops": 1, "Output": ["supplier.s_suppkey", "supplier.s_name", "supplier.s_address", "supplier.s_nationkey", "supplier.s_phone", "supplier.s_acctbal", "supplier.s_comment"], "Index Cond": "(supplier.s_suppkey = lineitem.l_suppkey)", "Rows Removed by Index Recheck": 0}]}, "Planning Time": 0.423, "Triggers": [], "Execution Time": 7698.662} diff --git a/dev9/pg11/tpch/sf_10/explain_analyze/15721/15-3.ok b/dev9/pg11/tpch/sf_10/explain_analyze/15721/15-3.ok new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/dev9/pg11/tpch/sf_10/explain_analyze/15721/15-3.res b/dev9/pg11/tpch/sf_10/explain_analyze/15721/15-3.res new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/dev9/pg11/tpch/sf_10/explain_analyze/15721/16-1.ok b/dev9/pg11/tpch/sf_10/explain_analyze/15721/16-1.ok new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/dev9/pg11/tpch/sf_10/explain_analyze/15721/16-1.res b/dev9/pg11/tpch/sf_10/explain_analyze/15721/16-1.res new file mode 100644 index 0000000000000000000000000000000000000000..0478d0e08e4e6286fdb758a5c1d461357c282fdf --- /dev/null +++ b/dev9/pg11/tpch/sf_10/explain_analyze/15721/16-1.res @@ -0,0 +1 @@ +{"Plan": {"Node Type": "Sort", "Parallel Aware": false, "Startup Cost": 289312.56, "Total Cost": 289696.74, "Plan Rows": 153671, "Plan Width": 44, "Actual Startup Time": 5460.438, "Actual Total Time": 5467.365, "Actual Rows": 27840, "Actual Loops": 1, "Output": ["part.p_brand", "part.p_type", "part.p_size", "(count(DISTINCT partsupp.ps_suppkey))"], "Sort Key": ["(count(DISTINCT partsupp.ps_suppkey)) DESC", "part.p_brand", "part.p_type", "part.p_size"], "Sort Method": "quicksort", "Sort Space Used": 2968, "Sort Space Type": "Memory", "Plans": [{"Node Type": "Aggregate", "Strategy": "Sorted", "Partial Mode": "Simple", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 267121.59, "Total Cost": 276074.2, "Plan Rows": 153671, "Plan Width": 44, "Actual Startup Time": 4450.191, "Actual Total Time": 5372.702, "Actual Rows": 27840, "Actual Loops": 1, "Output": ["part.p_brand", "part.p_type", "part.p_size", "count(DISTINCT partsupp.ps_suppkey)"], "Group Key": ["part.p_brand", "part.p_type", "part.p_size"], "Plans": [{"Node Type": "Sort", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 267121.59, "Total Cost": 268604.77, "Plan Rows": 593272, "Plan Width": 40, "Actual Startup Time": 4450.139, "Actual Total Time": 4970.577, "Actual Rows": 1190471, "Actual Loops": 1, "Output": ["part.p_brand", "part.p_type", "part.p_size", "partsupp.ps_suppkey"], "Sort Key": ["part.p_brand", "part.p_type", "part.p_size"], "Sort Method": "external merge", "Sort Space Used": 60664, "Sort Space Type": "Disk", "Plans": [{"Node Type": "Gather", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 58855.44, "Total Cost": 200730.0, "Plan Rows": 593272, "Plan Width": 40, "Actual Startup Time": 173.854, "Actual Total Time": 627.734, "Actual Rows": 1190471, "Actual Loops": 1, "Output": ["part.p_brand", "part.p_type", "part.p_size", "partsupp.ps_suppkey"], "Workers Planned": 6, "Workers Launched": 6, "Single Copy": false, "Plans": [{"Node Type": "Hash Join", "Parent Relationship": "Outer", "Parallel Aware": true, "Join Type": "Inner", "Startup Cost": 57855.44, "Total Cost": 140402.8, "Plan Rows": 98879, "Plan Width": 40, "Actual Startup Time": 171.395, "Actual Total Time": 636.963, "Actual Rows": 170067, "Actual Loops": 7, "Output": ["part.p_brand", "part.p_type", "part.p_size", "partsupp.ps_suppkey"], "Inner Unique": true, "Hash Cond": "(partsupp.ps_partkey = part.p_partkey)", "Workers": [{"Worker Number": 0, "Actual Startup Time": 171.064, "Actual Total Time": 682.101, "Actual Rows": 187707, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 171.069, "Actual Total Time": 681.851, "Actual Rows": 186928, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 171.08, "Actual Total Time": 682.246, "Actual Rows": 186827, "Actual Loops": 1}, {"Worker Number": 3, "Actual Startup Time": 171.066, "Actual Total Time": 682.19, "Actual Rows": 186390, "Actual Loops": 1}, {"Worker Number": 4, "Actual Startup Time": 171.049, "Actual Total Time": 682.935, "Actual Rows": 187333, "Actual Loops": 1}, {"Worker Number": 5, "Actual Startup Time": 171.035, "Actual Total Time": 682.945, "Actual Rows": 187090, "Actual Loops": 1}], "Plans": [{"Node Type": "Index Only Scan", "Parent Relationship": "Outer", "Parallel Aware": true, "Scan Direction": "Forward", "Index Name": "ps_pk_sk", "Relation Name": "partsupp", "Schema": "public", "Alias": "partsupp", "Startup Cost": 3466.46, "Total Cost": 84263.81, "Plan Rows": 666666, "Plan Width": 8, "Actual Startup Time": 34.439, "Actual Total Time": 320.566, "Actual Rows": 1142217, "Actual Loops": 7, "Output": ["partsupp.ps_partkey", "partsupp.ps_suppkey"], "Filter": "(NOT (hashed SubPlan 1))", "Rows Removed by Filter": 640, "Heap Fetches": 0, "Workers": [{"Worker Number": 0, "Actual Startup Time": 34.752, "Actual Total Time": 349.386, "Actual Rows": 1255835, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 34.742, "Actual Total Time": 349.397, "Actual Rows": 1257529, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 34.749, "Actual Total Time": 349.684, "Actual Rows": 1258316, "Actual Loops": 1}, {"Worker Number": 3, "Actual Startup Time": 34.741, "Actual Total Time": 347.773, "Actual Rows": 1249195, "Actual Loops": 1}, {"Worker Number": 4, "Actual Startup Time": 34.744, "Actual Total Time": 349.363, "Actual Rows": 1255398, "Actual Loops": 1}, {"Worker Number": 5, "Actual Startup Time": 34.746, "Actual Total Time": 349.97, "Actual Rows": 1257248, "Actual Loops": 1}], "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "SubPlan", "Subplan Name": "SubPlan 1", "Parallel Aware": false, "Relation Name": "supplier", "Schema": "public", "Alias": "supplier", "Startup Cost": 0.0, "Total Cost": 3466.0, "Plan Rows": 10, "Plan Width": 4, "Actual Startup Time": 0.132, "Actual Total Time": 34.272, "Actual Rows": 56, "Actual Loops": 7, "Output": ["supplier.s_suppkey"], "Filter": "((supplier.s_comment)::text ~~ '%Customer%Complaints%'::text)", "Rows Removed by Filter": 99944, "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.142, "Actual Total Time": 34.649, "Actual Rows": 56, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 0.13, "Actual Total Time": 34.546, "Actual Rows": 56, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 0.13, "Actual Total Time": 34.585, "Actual Rows": 56, "Actual Loops": 1}, {"Worker Number": 3, "Actual Startup Time": 0.129, "Actual Total Time": 34.487, "Actual Rows": 56, "Actual Loops": 1}, {"Worker Number": 4, "Actual Startup Time": 0.131, "Actual Total Time": 34.52, "Actual Rows": 56, "Actual Loops": 1}, {"Worker Number": 5, "Actual Startup Time": 0.131, "Actual Total Time": 34.6, "Actual Rows": 56, "Actual Loops": 1}]}]}, {"Node Type": "Hash", "Parent Relationship": "Inner", "Parallel Aware": true, "Startup Cost": 53462.0, "Total Cost": 53462.0, "Plan Rows": 74159, "Plan Width": 40, "Actual Startup Time": 136.216, "Actual Total Time": 136.217, "Actual Rows": 42542, "Actual Loops": 7, "Output": ["part.p_brand", "part.p_type", "part.p_size", "part.p_partkey"], "Hash Buckets": 524288, "Original Hash Buckets": 524288, "Hash Batches": 1, "Original Hash Batches": 1, "Peak Memory Usage": 26400, "Workers": [{"Worker Number": 0, "Actual Startup Time": 136.166, "Actual Total Time": 136.167, "Actual Rows": 41175, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 136.141, "Actual Total Time": 136.142, "Actual Rows": 41480, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 136.173, "Actual Total Time": 136.174, "Actual Rows": 40912, "Actual Loops": 1}, {"Worker Number": 3, "Actual Startup Time": 136.158, "Actual Total Time": 136.159, "Actual Rows": 40677, "Actual Loops": 1}, {"Worker Number": 4, "Actual Startup Time": 136.151, "Actual Total Time": 136.152, "Actual Rows": 40187, "Actual Loops": 1}, {"Worker Number": 5, "Actual Startup Time": 136.149, "Actual Total Time": 136.149, "Actual Rows": 40913, "Actual Loops": 1}], "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": true, "Relation Name": "part", "Schema": "public", "Alias": "part", "Startup Cost": 0.0, "Total Cost": 53462.0, "Plan Rows": 74159, "Plan Width": 40, "Actual Startup Time": 0.031, "Actual Total Time": 113.797, "Actual Rows": 42542, "Actual Loops": 7, "Output": ["part.p_brand", "part.p_type", "part.p_size", "part.p_partkey"], "Filter": "((part.p_brand <> 'Brand#11'::bpchar) AND ((part.p_type)::text !~~ 'ECONOMY ANODIZED%'::text) AND (part.p_size = ANY ('{42,16,39,18,23,32,44,41}'::integer[])))", "Rows Removed by Filter": 243172, "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.036, "Actual Total Time": 113.851, "Actual Rows": 41175, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 0.036, "Actual Total Time": 115.285, "Actual Rows": 41480, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 0.034, "Actual Total Time": 114.555, "Actual Rows": 40912, "Actual Loops": 1}, {"Worker Number": 3, "Actual Startup Time": 0.033, "Actual Total Time": 114.001, "Actual Rows": 40677, "Actual Loops": 1}, {"Worker Number": 4, "Actual Startup Time": 0.031, "Actual Total Time": 113.361, "Actual Rows": 40187, "Actual Loops": 1}, {"Worker Number": 5, "Actual Startup Time": 0.036, "Actual Total Time": 113.629, "Actual Rows": 40913, "Actual Loops": 1}]}]}]}]}]}]}]}, "Planning Time": 0.664, "Triggers": [], "Execution Time": 5481.029} diff --git a/dev9/pg11/tpch/sf_10/explain_analyze/15721/17-1.ok b/dev9/pg11/tpch/sf_10/explain_analyze/15721/17-1.ok new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/dev9/pg11/tpch/sf_10/explain_analyze/15721/17-1.res b/dev9/pg11/tpch/sf_10/explain_analyze/15721/17-1.res new file mode 100644 index 0000000000000000000000000000000000000000..26255d698d2ba4c8722b04d1fd980d43be20a63f --- /dev/null +++ b/dev9/pg11/tpch/sf_10/explain_analyze/15721/17-1.res @@ -0,0 +1 @@ +{"Plan": {"Node Type": "Aggregate", "Strategy": "Plain", "Partial Mode": "Simple", "Parallel Aware": false, "Startup Cost": 1931976.26, "Total Cost": 1931976.27, "Plan Rows": 1, "Plan Width": 32, "Actual Startup Time": 16324.101, "Actual Total Time": 16324.221, "Actual Rows": 1, "Actual Loops": 1, "Output": ["(sum(lineitem.l_extendedprice) / 7.0)"], "Plans": [{"Node Type": "Hash Join", "Parent Relationship": "Outer", "Parallel Aware": false, "Join Type": "Inner", "Startup Cost": 49697.24, "Total Cost": 1931924.0, "Plan Rows": 20905, "Plan Width": 8, "Actual Startup Time": 102.411, "Actual Total Time": 16322.262, "Actual Rows": 5383, "Actual Loops": 1, "Output": ["lineitem.l_extendedprice"], "Inner Unique": true, "Hash Cond": "(lineitem.l_partkey = part.p_partkey)", "Join Filter": "(lineitem.l_quantity < (SubPlan 1))", "Rows Removed by Join Filter": 56148, "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Relation Name": "lineitem", "Schema": "public", "Alias": "lineitem", "Startup Cost": 0.0, "Total Cost": 1724399.92, "Plan Rows": 59985792, "Plan Width": 17, "Actual Startup Time": 0.007, "Actual Total Time": 4775.215, "Actual Rows": 59986052, "Actual Loops": 1, "Output": ["lineitem.l_orderkey", "lineitem.l_partkey", "lineitem.l_suppkey", "lineitem.l_linenumber", "lineitem.l_quantity", "lineitem.l_extendedprice", "lineitem.l_discount", "lineitem.l_tax", "lineitem.l_returnflag", "lineitem.l_linestatus", "lineitem.l_shipdate", "lineitem.l_commitdate", "lineitem.l_receiptdate", "lineitem.l_shipinstruct", "lineitem.l_shipmode", "lineitem.l_comment"]}, {"Node Type": "Hash", "Parent Relationship": "Inner", "Parallel Aware": false, "Startup Cost": 49671.1, "Total Cost": 49671.1, "Plan Rows": 2091, "Plan Width": 4, "Actual Startup Time": 98.564, "Actual Total Time": 98.681, "Actual Rows": 2063, "Actual Loops": 1, "Output": ["part.p_partkey"], "Hash Buckets": 4096, "Original Hash Buckets": 4096, "Hash Batches": 1, "Original Hash Batches": 1, "Peak Memory Usage": 105, "Plans": [{"Node Type": "Gather", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 1000.0, "Total Cost": 49671.1, "Plan Rows": 2091, "Plan Width": 4, "Actual Startup Time": 0.665, "Actual Total Time": 98.322, "Actual Rows": 2063, "Actual Loops": 1, "Output": ["part.p_partkey"], "Workers Planned": 4, "Workers Launched": 4, "Single Copy": false, "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": true, "Relation Name": "part", "Schema": "public", "Alias": "part", "Startup Cost": 0.0, "Total Cost": 48462.0, "Plan Rows": 523, "Plan Width": 4, "Actual Startup Time": 0.192, "Actual Total Time": 94.679, "Actual Rows": 413, "Actual Loops": 5, "Output": ["part.p_partkey"], "Filter": "((part.p_brand = 'Brand#14'::bpchar) AND (part.p_container = 'WRAP BOX'::bpchar))", "Rows Removed by Filter": 399587, "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.127, "Actual Total Time": 94.025, "Actual Rows": 384, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 0.16, "Actual Total Time": 94.03, "Actual Rows": 361, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 0.233, "Actual Total Time": 94.024, "Actual Rows": 352, "Actual Loops": 1}, {"Worker Number": 3, "Actual Startup Time": 0.063, "Actual Total Time": 94.032, "Actual Rows": 357, "Actual Loops": 1}]}]}]}, {"Node Type": "Aggregate", "Strategy": "Plain", "Partial Mode": "Simple", "Parent Relationship": "SubPlan", "Subplan Name": "SubPlan 1", "Parallel Aware": false, "Startup Cost": 36.39, "Total Cost": 36.4, "Plan Rows": 1, "Plan Width": 32, "Actual Startup Time": 0.045, "Actual Total Time": 0.045, "Actual Rows": 1, "Actual Loops": 61531, "Output": ["(0.2 * avg(lineitem_1.l_quantity))"], "Plans": [{"Node Type": "Index Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Scan Direction": "Forward", "Index Name": "l_pk", "Relation Name": "lineitem", "Schema": "public", "Alias": "lineitem_1", "Startup Cost": 0.56, "Total Cost": 36.31, "Plan Rows": 31, "Plan Width": 5, "Actual Startup Time": 0.006, "Actual Total Time": 0.038, "Actual Rows": 31, "Actual Loops": 61531, "Output": ["lineitem_1.l_orderkey", "lineitem_1.l_partkey", "lineitem_1.l_suppkey", "lineitem_1.l_linenumber", "lineitem_1.l_quantity", "lineitem_1.l_extendedprice", "lineitem_1.l_discount", "lineitem_1.l_tax", "lineitem_1.l_returnflag", "lineitem_1.l_linestatus", "lineitem_1.l_shipdate", "lineitem_1.l_commitdate", "lineitem_1.l_receiptdate", "lineitem_1.l_shipinstruct", "lineitem_1.l_shipmode", "lineitem_1.l_comment"], "Index Cond": "(lineitem_1.l_partkey = part.p_partkey)", "Rows Removed by Index Recheck": 0}]}]}]}, "Planning Time": 0.379, "Triggers": [], "Execution Time": 16324.272} diff --git a/dev9/pg11/tpch/sf_10/explain_analyze/15721/18-1.ok b/dev9/pg11/tpch/sf_10/explain_analyze/15721/18-1.ok new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/dev9/pg11/tpch/sf_10/explain_analyze/15721/18-1.res b/dev9/pg11/tpch/sf_10/explain_analyze/15721/18-1.res new file mode 100644 index 0000000000000000000000000000000000000000..93794fb9c0a9d224bace2974e7ec9529fcf72d4c --- /dev/null +++ b/dev9/pg11/tpch/sf_10/explain_analyze/15721/18-1.res @@ -0,0 +1 @@ +{"Plan": {"Node Type": "Limit", "Parallel Aware": false, "Startup Cost": 3629701.3, "Total Cost": 3629701.55, "Plan Rows": 100, "Plan Width": 71, "Actual Startup Time": 35714.347, "Actual Total Time": 35940.673, "Actual Rows": 84, "Actual Loops": 1, "Output": ["customer.c_name", "customer.c_custkey", "orders.o_orderkey", "orders.o_orderdate", "orders.o_totalprice", "(sum(lineitem.l_quantity))"], "Plans": [{"Node Type": "Sort", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 3629701.3, "Total Cost": 3636327.64, "Plan Rows": 2650536, "Plan Width": 71, "Actual Startup Time": 35714.346, "Actual Total Time": 35940.663, "Actual Rows": 84, "Actual Loops": 1, "Output": ["customer.c_name", "customer.c_custkey", "orders.o_orderkey", "orders.o_orderdate", "orders.o_totalprice", "(sum(lineitem.l_quantity))"], "Sort Key": ["orders.o_totalprice DESC", "orders.o_orderdate"], "Sort Method": "quicksort", "Sort Space Used": 31, "Sort Space Type": "Memory", "Plans": [{"Node Type": "Aggregate", "Strategy": "Sorted", "Partial Mode": "Finalize", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 3136685.55, "Total Cost": 3528399.72, "Plan Rows": 2650536, "Plan Width": 71, "Actual Startup Time": 35714.033, "Actual Total Time": 35940.586, "Actual Rows": 84, "Actual Loops": 1, "Output": ["customer.c_name", "customer.c_custkey", "orders.o_orderkey", "orders.o_orderdate", "orders.o_totalprice", "sum(lineitem.l_quantity)"], "Group Key": ["customer.c_custkey", "orders.o_orderkey"], "Plans": [{"Node Type": "Gather Merge", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 3136685.55, "Total Cost": 3468762.66, "Plan Rows": 2650536, "Plan Width": 71, "Actual Startup Time": 35714.007, "Actual Total Time": 35940.495, "Actual Rows": 84, "Actual Loops": 1, "Output": ["customer.c_custkey", "orders.o_orderkey", "customer.c_name", "orders.o_orderdate", "orders.o_totalprice", "(PARTIAL sum(lineitem.l_quantity))"], "Workers Planned": 6, "Workers Launched": 6, "Plans": [{"Node Type": "Aggregate", "Strategy": "Sorted", "Partial Mode": "Partial", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 3135685.45, "Total Cost": 3145624.96, "Plan Rows": 441756, "Plan Width": 71, "Actual Startup Time": 35259.79, "Actual Total Time": 35259.833, "Actual Rows": 12, "Actual Loops": 7, "Output": ["customer.c_custkey", "orders.o_orderkey", "customer.c_name", "orders.o_orderdate", "orders.o_totalprice", "PARTIAL sum(lineitem.l_quantity)"], "Group Key": ["customer.c_custkey", "orders.o_orderkey"], "Workers": [{"Worker Number": 0, "Actual Startup Time": 34523.836, "Actual Total Time": 34523.904, "Actual Rows": 24, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 35705.574, "Actual Total Time": 35705.587, "Actual Rows": 0, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 35701.018, "Actual Total Time": 35701.031, "Actual Rows": 0, "Actual Loops": 1}, {"Worker Number": 3, "Actual Startup Time": 34749.505, "Actual Total Time": 34749.518, "Actual Rows": 0, "Actual Loops": 1}, {"Worker Number": 4, "Actual Startup Time": 35701.182, "Actual Total Time": 35701.195, "Actual Rows": 0, "Actual Loops": 1}, {"Worker Number": 5, "Actual Startup Time": 35701.277, "Actual Total Time": 35701.289, "Actual Rows": 0, "Actual Loops": 1}], "Plans": [{"Node Type": "Sort", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 3135685.45, "Total Cost": 3136789.84, "Plan Rows": 441756, "Plan Width": 44, "Actual Startup Time": 35259.782, "Actual Total Time": 35259.8, "Actual Rows": 84, "Actual Loops": 7, "Output": ["customer.c_custkey", "orders.o_orderkey", "customer.c_name", "orders.o_orderdate", "orders.o_totalprice", "lineitem.l_quantity"], "Sort Key": ["customer.c_custkey", "orders.o_orderkey"], "Sort Method": "quicksort", "Sort Space Used": 57, "Sort Space Type": "Memory", "Workers": [{"Worker Number": 0, "Actual Startup Time": 34523.811, "Actual Total Time": 34523.83, "Actual Rows": 168, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 35705.571, "Actual Total Time": 35705.584, "Actual Rows": 0, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 35701.015, "Actual Total Time": 35701.028, "Actual Rows": 0, "Actual Loops": 1}, {"Worker Number": 3, "Actual Startup Time": 34749.502, "Actual Total Time": 34749.515, "Actual Rows": 0, "Actual Loops": 1}, {"Worker Number": 4, "Actual Startup Time": 35701.18, "Actual Total Time": 35701.192, "Actual Rows": 0, "Actual Loops": 1}, {"Worker Number": 5, "Actual Startup Time": 35701.275, "Actual Total Time": 35701.287, "Actual Rows": 0, "Actual Loops": 1}], "Plans": [{"Node Type": "Hash Join", "Parent Relationship": "Outer", "Parallel Aware": true, "Join Type": "Inner", "Startup Cost": 2596782.31, "Total Cost": 3086304.29, "Plan Rows": 441756, "Plan Width": 44, "Actual Startup Time": 34317.216, "Actual Total Time": 35259.721, "Actual Rows": 84, "Actual Loops": 7, "Output": ["customer.c_custkey", "orders.o_orderkey", "customer.c_name", "orders.o_orderdate", "orders.o_totalprice", "lineitem.l_quantity"], "Inner Unique": true, "Hash Cond": "(orders.o_custkey = customer.c_custkey)", "Workers": [{"Worker Number": 0, "Actual Startup Time": 32218.129, "Actual Total Time": 34523.69, "Actual Rows": 168, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 35705.538, "Actual Total Time": 35705.55, "Actual Rows": 0, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 35700.981, "Actual Total Time": 35700.994, "Actual Rows": 0, "Actual Loops": 1}, {"Worker Number": 3, "Actual Startup Time": 34749.467, "Actual Total Time": 34749.48, "Actual Rows": 0, "Actual Loops": 1}, {"Worker Number": 4, "Actual Startup Time": 35701.145, "Actual Total Time": 35701.157, "Actual Rows": 0, "Actual Loops": 1}, {"Worker Number": 5, "Actual Startup Time": 35701.239, "Actual Total Time": 35701.25, "Actual Rows": 0, "Actual Loops": 1}], "Plans": [{"Node Type": "Nested Loop", "Parent Relationship": "Outer", "Parallel Aware": false, "Join Type": "Inner", "Startup Cost": 2552517.81, "Total Cost": 3040880.18, "Plan Rows": 441756, "Plan Width": 25, "Actual Startup Time": 34152.502, "Actual Total Time": 35094.9, "Actual Rows": 84, "Actual Loops": 7, "Output": ["orders.o_orderkey", "orders.o_orderdate", "orders.o_totalprice", "orders.o_custkey", "lineitem.l_quantity"], "Inner Unique": false, "Workers": [{"Worker Number": 0, "Actual Startup Time": 32055.121, "Actual Total Time": 34360.462, "Actual Rows": 168, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 35538.334, "Actual Total Time": 35538.34, "Actual Rows": 0, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 35537.989, "Actual Total Time": 35537.995, "Actual Rows": 0, "Actual Loops": 1}, {"Worker Number": 3, "Actual Startup Time": 34586.477, "Actual Total Time": 34586.484, "Actual Rows": 0, "Actual Loops": 1}, {"Worker Number": 4, "Actual Startup Time": 35538.155, "Actual Total Time": 35538.161, "Actual Rows": 0, "Actual Loops": 1}, {"Worker Number": 5, "Actual Startup Time": 35538.247, "Actual Total Time": 35538.253, "Actual Rows": 0, "Actual Loops": 1}], "Plans": [{"Node Type": "Hash Join", "Parent Relationship": "Outer", "Parallel Aware": false, "Join Type": "Inner", "Startup Cost": 2552517.24, "Total Cost": 2876883.41, "Plan Rows": 110471, "Plan Width": 24, "Actual Startup Time": 34152.489, "Actual Total Time": 35094.666, "Actual Rows": 12, "Actual Loops": 7, "Output": ["orders.o_orderkey", "orders.o_orderdate", "orders.o_totalprice", "orders.o_custkey", "lineitem_1.l_orderkey"], "Inner Unique": true, "Hash Cond": "(orders.o_orderkey = lineitem_1.l_orderkey)", "Workers": [{"Worker Number": 0, "Actual Startup Time": 32055.072, "Actual Total Time": 34359.928, "Actual Rows": 24, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 35538.331, "Actual Total Time": 35538.336, "Actual Rows": 0, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 35537.986, "Actual Total Time": 35537.99, "Actual Rows": 0, "Actual Loops": 1}, {"Worker Number": 3, "Actual Startup Time": 34586.474, "Actual Total Time": 34586.478, "Actual Rows": 0, "Actual Loops": 1}, {"Worker Number": 4, "Actual Startup Time": 35538.151, "Actual Total Time": 35538.156, "Actual Rows": 0, "Actual Loops": 1}, {"Worker Number": 5, "Actual Startup Time": 35538.244, "Actual Total Time": 35538.248, "Actual Rows": 0, "Actual Loops": 1}], "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": true, "Relation Name": "orders", "Schema": "public", "Alias": "orders", "Startup Cost": 0.0, "Total Cost": 285913.32, "Plan Rows": 2500132, "Plan Width": 20, "Actual Startup Time": 0.02, "Actual Total Time": 473.843, "Actual Rows": 2142857, "Actual Loops": 7, "Output": ["orders.o_orderkey", "orders.o_orderdate", "orders.o_totalprice", "orders.o_custkey"], "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.018, "Actual Total Time": 1290.286, "Actual Rows": 5099656, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 0.026, "Actual Total Time": 0.046, "Actual Rows": 59, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 0.019, "Actual Total Time": 0.041, "Actual Rows": 56, "Actual Loops": 1}, {"Worker Number": 3, "Actual Startup Time": 0.023, "Actual Total Time": 0.049, "Actual Rows": 56, "Actual Loops": 1}, {"Worker Number": 4, "Actual Startup Time": 0.029, "Actual Total Time": 0.05, "Actual Rows": 56, "Actual Loops": 1}, {"Worker Number": 5, "Actual Startup Time": 0.023, "Actual Total Time": 0.048, "Actual Rows": 57, "Actual Loops": 1}]}, {"Node Type": "Hash", "Parent Relationship": "Inner", "Parallel Aware": false, "Startup Cost": 2541641.92, "Total Cost": 2541641.92, "Plan Rows": 662826, "Plan Width": 4, "Actual Startup Time": 34102.207, "Actual Total Time": 34102.208, "Actual Rows": 84, "Actual Loops": 7, "Output": ["lineitem_1.l_orderkey"], "Hash Buckets": 524288, "Original Hash Buckets": 524288, "Hash Batches": 2, "Original Hash Batches": 2, "Peak Memory Usage": 4098, "Workers": [{"Worker Number": 0, "Actual Startup Time": 31859.409, "Actual Total Time": 31859.411, "Actual Rows": 84, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 35532.22, "Actual Total Time": 35532.222, "Actual Rows": 84, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 35531.926, "Actual Total Time": 35531.927, "Actual Rows": 84, "Actual Loops": 1}, {"Worker Number": 3, "Actual Startup Time": 34580.267, "Actual Total Time": 34580.269, "Actual Rows": 84, "Actual Loops": 1}, {"Worker Number": 4, "Actual Startup Time": 35531.993, "Actual Total Time": 35531.994, "Actual Rows": 84, "Actual Loops": 1}, {"Worker Number": 5, "Actual Startup Time": 35532.225, "Actual Total Time": 35532.226, "Actual Rows": 84, "Actual Loops": 1}], "Plans": [{"Node Type": "Aggregate", "Strategy": "Sorted", "Partial Mode": "Simple", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 0.56, "Total Cost": 2535013.66, "Plan Rows": 662826, "Plan Width": 4, "Actual Startup Time": 753.236, "Actual Total Time": 34101.869, "Actual Rows": 84, "Actual Loops": 7, "Output": ["lineitem_1.l_orderkey"], "Group Key": ["lineitem_1.l_orderkey"], "Filter": "(sum(lineitem_1.l_quantity) > '314'::numeric)", "Rows Removed by Filter": 14999916, "Workers": [{"Worker Number": 0, "Actual Startup Time": 653.002, "Actual Total Time": 31858.855, "Actual Rows": 84, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 728.972, "Actual Total Time": 35531.827, "Actual Rows": 84, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 728.974, "Actual Total Time": 35531.633, "Actual Rows": 84, "Actual Loops": 1}, {"Worker Number": 3, "Actual Startup Time": 841.682, "Actual Total Time": 34579.975, "Actual Rows": 84, "Actual Loops": 1}, {"Worker Number": 4, "Actual Startup Time": 841.681, "Actual Total Time": 35531.673, "Actual Rows": 84, "Actual Loops": 1}, {"Worker Number": 5, "Actual Startup Time": 841.705, "Actual Total Time": 35531.893, "Actual Rows": 84, "Actual Loops": 1}], "Plans": [{"Node Type": "Index Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Scan Direction": "Forward", "Index Name": "l_ok", "Relation Name": "lineitem", "Schema": "public", "Alias": "lineitem_1", "Startup Cost": 0.56, "Total Cost": 2205257.54, "Plan Rows": 59985792, "Plan Width": 9, "Actual Startup Time": 0.057, "Actual Total Time": 16053.57, "Actual Rows": 59986052, "Actual Loops": 7, "Output": ["lineitem_1.l_orderkey", "lineitem_1.l_partkey", "lineitem_1.l_suppkey", "lineitem_1.l_linenumber", "lineitem_1.l_quantity", "lineitem_1.l_extendedprice", "lineitem_1.l_discount", "lineitem_1.l_tax", "lineitem_1.l_returnflag", "lineitem_1.l_linestatus", "lineitem_1.l_shipdate", "lineitem_1.l_commitdate", "lineitem_1.l_receiptdate", "lineitem_1.l_shipinstruct", "lineitem_1.l_shipmode", "lineitem_1.l_comment"], "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.059, "Actual Total Time": 13639.231, "Actual Rows": 59986052, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 0.059, "Actual Total Time": 17578.674, "Actual Rows": 59986052, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 0.056, "Actual Total Time": 17498.381, "Actual Rows": 59986052, "Actual Loops": 1}, {"Worker Number": 3, "Actual Startup Time": 0.068, "Actual Total Time": 16383.485, "Actual Rows": 59986052, "Actual Loops": 1}, {"Worker Number": 4, "Actual Startup Time": 0.073, "Actual Total Time": 17551.76, "Actual Rows": 59986052, "Actual Loops": 1}, {"Worker Number": 5, "Actual Startup Time": 0.061, "Actual Total Time": 17637.346, "Actual Rows": 59986052, "Actual Loops": 1}]}]}]}]}, {"Node Type": "Index Scan", "Parent Relationship": "Inner", "Parallel Aware": false, "Scan Direction": "Forward", "Index Name": "l_ok", "Relation Name": "lineitem", "Schema": "public", "Alias": "lineitem", "Startup Cost": 0.56, "Total Cost": 1.18, "Plan Rows": 30, "Plan Width": 9, "Actual Startup Time": 0.013, "Actual Total Time": 0.015, "Actual Rows": 7, "Actual Loops": 84, "Output": ["lineitem.l_orderkey", "lineitem.l_partkey", "lineitem.l_suppkey", "lineitem.l_linenumber", "lineitem.l_quantity", "lineitem.l_extendedprice", "lineitem.l_discount", "lineitem.l_tax", "lineitem.l_returnflag", "lineitem.l_linestatus", "lineitem.l_shipdate", "lineitem.l_commitdate", "lineitem.l_receiptdate", "lineitem.l_shipinstruct", "lineitem.l_shipmode", "lineitem.l_comment"], "Index Cond": "(lineitem.l_orderkey = orders.o_orderkey)", "Rows Removed by Index Recheck": 0, "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.014, "Actual Total Time": 0.016, "Actual Rows": 7, "Actual Loops": 24}]}]}, {"Node Type": "Hash", "Parent Relationship": "Inner", "Parallel Aware": true, "Startup Cost": 39577.0, "Total Cost": 39577.0, "Plan Rows": 375000, "Plan Width": 23, "Actual Startup Time": 161.896, "Actual Total Time": 161.899, "Actual Rows": 214286, "Actual Loops": 7, "Output": ["customer.c_name", "customer.c_custkey"], "Hash Buckets": 2097152, "Original Hash Buckets": 2097152, "Hash Batches": 1, "Original Hash Batches": 1, "Peak Memory Usage": 98688, "Workers": [{"Worker Number": 0, "Actual Startup Time": 162.926, "Actual Total Time": 162.928, "Actual Rows": 208748, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 162.929, "Actual Total Time": 162.932, "Actual Rows": 207774, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 162.929, "Actual Total Time": 162.932, "Actual Rows": 207622, "Actual Loops": 1}, {"Worker Number": 3, "Actual Startup Time": 162.917, "Actual Total Time": 162.919, "Actual Rows": 204026, "Actual Loops": 1}, {"Worker Number": 4, "Actual Startup Time": 162.919, "Actual Total Time": 162.922, "Actual Rows": 204665, "Actual Loops": 1}, {"Worker Number": 5, "Actual Startup Time": 162.927, "Actual Total Time": 162.929, "Actual Rows": 206080, "Actual Loops": 1}], "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": true, "Relation Name": "customer", "Schema": "public", "Alias": "customer", "Startup Cost": 0.0, "Total Cost": 39577.0, "Plan Rows": 375000, "Plan Width": 23, "Actual Startup Time": 0.028, "Actual Total Time": 60.99, "Actual Rows": 214286, "Actual Loops": 7, "Output": ["customer.c_name", "customer.c_custkey"], "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.034, "Actual Total Time": 62.584, "Actual Rows": 208748, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 0.031, "Actual Total Time": 62.754, "Actual Rows": 207774, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 0.03, "Actual Total Time": 62.752, "Actual Rows": 207622, "Actual Loops": 1}, {"Worker Number": 3, "Actual Startup Time": 0.035, "Actual Total Time": 62.577, "Actual Rows": 204026, "Actual Loops": 1}, {"Worker Number": 4, "Actual Startup Time": 0.031, "Actual Total Time": 62.514, "Actual Rows": 204665, "Actual Loops": 1}, {"Worker Number": 5, "Actual Startup Time": 0.03, "Actual Total Time": 62.492, "Actual Rows": 206080, "Actual Loops": 1}]}]}]}]}]}]}]}]}]}, "Planning Time": 0.938, "Triggers": [], "Execution Time": 35940.757} diff --git a/dev9/pg11/tpch/sf_10/explain_analyze/15721/19-1.ok b/dev9/pg11/tpch/sf_10/explain_analyze/15721/19-1.ok new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/dev9/pg11/tpch/sf_10/explain_analyze/15721/19-1.res b/dev9/pg11/tpch/sf_10/explain_analyze/15721/19-1.res new file mode 100644 index 0000000000000000000000000000000000000000..e1151f49bf2d26687aca5dbe035e541db52ee158 --- /dev/null +++ b/dev9/pg11/tpch/sf_10/explain_analyze/15721/19-1.res @@ -0,0 +1 @@ +{"Plan": {"Node Type": "Aggregate", "Strategy": "Plain", "Partial Mode": "Finalize", "Parallel Aware": false, "Startup Cost": 106312.81, "Total Cost": 106312.82, "Plan Rows": 1, "Plan Width": 32, "Actual Startup Time": 256.902, "Actual Total Time": 323.531, "Actual Rows": 1, "Actual Loops": 1, "Output": ["sum((lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount)))"], "Plans": [{"Node Type": "Gather", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 106312.38, "Total Cost": 106312.79, "Plan Rows": 4, "Plan Width": 32, "Actual Startup Time": 256.803, "Actual Total Time": 323.518, "Actual Rows": 5, "Actual Loops": 1, "Output": ["(PARTIAL sum((lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount))))"], "Workers Planned": 4, "Workers Launched": 4, "Single Copy": false, "Plans": [{"Node Type": "Aggregate", "Strategy": "Plain", "Partial Mode": "Partial", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 105312.38, "Total Cost": 105312.39, "Plan Rows": 1, "Plan Width": 32, "Actual Startup Time": 252.793, "Actual Total Time": 252.794, "Actual Rows": 1, "Actual Loops": 5, "Output": ["PARTIAL sum((lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount)))"], "Workers": [{"Worker Number": 0, "Actual Startup Time": 251.937, "Actual Total Time": 251.939, "Actual Rows": 1, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 251.947, "Actual Total Time": 251.948, "Actual Rows": 1, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 251.94, "Actual Total Time": 251.942, "Actual Rows": 1, "Actual Loops": 1}, {"Worker Number": 3, "Actual Startup Time": 251.941, "Actual Total Time": 251.942, "Actual Rows": 1, "Actual Loops": 1}], "Plans": [{"Node Type": "Nested Loop", "Parent Relationship": "Outer", "Parallel Aware": false, "Join Type": "Inner", "Startup Cost": 0.56, "Total Cost": 105310.29, "Plan Rows": 278, "Plan Width": 12, "Actual Startup Time": 2.209, "Actual Total Time": 252.636, "Actual Rows": 229, "Actual Loops": 5, "Output": ["lineitem.l_extendedprice", "lineitem.l_discount"], "Inner Unique": false, "Workers": [{"Worker Number": 0, "Actual Startup Time": 2.645, "Actual Total Time": 251.802, "Actual Rows": 185, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 0.786, "Actual Total Time": 251.796, "Actual Rows": 199, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 4.37, "Actual Total Time": 251.799, "Actual Rows": 204, "Actual Loops": 1}, {"Worker Number": 3, "Actual Startup Time": 3.038, "Actual Total Time": 251.793, "Actual Rows": 192, "Actual Loops": 1}], "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": true, "Relation Name": "part", "Schema": "public", "Alias": "part", "Startup Cost": 0.0, "Total Cost": 62212.0, "Plan Rows": 1190, "Plan Width": 30, "Actual Startup Time": 0.194, "Actual Total Time": 123.333, "Actual Rows": 942, "Actual Loops": 5, "Output": ["part.p_partkey", "part.p_name", "part.p_mfgr", "part.p_brand", "part.p_type", "part.p_size", "part.p_container", "part.p_retailprice", "part.p_comment"], "Filter": "((part.p_size >= 1) AND (((part.p_brand = 'Brand#52'::bpchar) AND (part.p_container = ANY ('{\"SM CASE\",\"SM BOX\",\"SM PACK\",\"SM PKG\"}'::bpchar[])) AND (part.p_size <= 5)) OR ((part.p_brand = 'Brand#42'::bpchar) AND (part.p_container = ANY ('{\"MED BAG\",\"MED BOX\",\"MED PKG\",\"MED PACK\"}'::bpchar[])) AND (part.p_size <= 10)) OR ((part.p_brand = 'Brand#23'::bpchar) AND (part.p_container = ANY ('{\"LG CASE\",\"LG BOX\",\"LG PACK\",\"LG PKG\"}'::bpchar[])) AND (part.p_size <= 15))))", "Rows Removed by Filter": 399058, "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.114, "Actual Total Time": 111.316, "Actual Rows": 795, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 0.243, "Actual Total Time": 107.546, "Actual Rows": 830, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 0.204, "Actual Total Time": 112.008, "Actual Rows": 787, "Actual Loops": 1}, {"Worker Number": 3, "Actual Startup Time": 0.375, "Actual Total Time": 107.957, "Actual Rows": 804, "Actual Loops": 1}]}, {"Node Type": "Index Scan", "Parent Relationship": "Inner", "Parallel Aware": false, "Scan Direction": "Forward", "Index Name": "l_pk", "Relation Name": "lineitem", "Schema": "public", "Alias": "lineitem", "Startup Cost": 0.56, "Total Cost": 36.21, "Plan Rows": 1, "Plan Width": 21, "Actual Startup Time": 0.122, "Actual Total Time": 0.137, "Actual Rows": 0, "Actual Loops": 4710, "Output": ["lineitem.l_orderkey", "lineitem.l_partkey", "lineitem.l_suppkey", "lineitem.l_linenumber", "lineitem.l_quantity", "lineitem.l_extendedprice", "lineitem.l_discount", "lineitem.l_tax", "lineitem.l_returnflag", "lineitem.l_linestatus", "lineitem.l_shipdate", "lineitem.l_commitdate", "lineitem.l_receiptdate", "lineitem.l_shipinstruct", "lineitem.l_shipmode", "lineitem.l_comment"], "Index Cond": "(lineitem.l_partkey = part.p_partkey)", "Rows Removed by Index Recheck": 0, "Filter": "((lineitem.l_shipmode = ANY ('{AIR,\"AIR REG\"}'::bpchar[])) AND (lineitem.l_shipinstruct = 'DELIVER IN PERSON'::bpchar) AND (((lineitem.l_quantity >= '9'::numeric) AND (lineitem.l_quantity <= '19'::numeric)) OR ((lineitem.l_quantity >= '18'::numeric) AND (lineitem.l_quantity <= '28'::numeric)) OR ((lineitem.l_quantity >= '22'::numeric) AND (lineitem.l_quantity <= '32'::numeric))) AND (((part.p_brand = 'Brand#52'::bpchar) AND (part.p_container = ANY ('{\"SM CASE\",\"SM BOX\",\"SM PACK\",\"SM PKG\"}'::bpchar[])) AND (lineitem.l_quantity >= '9'::numeric) AND (lineitem.l_quantity <= '19'::numeric) AND (part.p_size <= 5)) OR ((part.p_brand = 'Brand#42'::bpchar) AND (part.p_container = ANY ('{\"MED BAG\",\"MED BOX\",\"MED PKG\",\"MED PACK\"}'::bpchar[])) AND (lineitem.l_quantity >= '18'::numeric) AND (lineitem.l_quantity <= '28'::numeric) AND (part.p_size <= 10)) OR ((part.p_brand = 'Brand#23'::bpchar) AND (part.p_container = ANY ('{\"LG CASE\",\"LG BOX\",\"LG PACK\",\"LG PKG\"}'::bpchar[])) AND (lineitem.l_quantity >= '22'::numeric) AND (lineitem.l_quantity <= '32'::numeric) AND (part.p_size <= 15))))", "Rows Removed by Filter": 30, "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.159, "Actual Total Time": 0.176, "Actual Rows": 0, "Actual Loops": 795}, {"Worker Number": 1, "Actual Startup Time": 0.155, "Actual Total Time": 0.173, "Actual Rows": 0, "Actual Loops": 830}, {"Worker Number": 2, "Actual Startup Time": 0.158, "Actual Total Time": 0.177, "Actual Rows": 0, "Actual Loops": 787}, {"Worker Number": 3, "Actual Startup Time": 0.158, "Actual Total Time": 0.178, "Actual Rows": 0, "Actual Loops": 804}]}]}]}]}]}, "Planning Time": 0.6, "Triggers": [], "Execution Time": 323.597} diff --git a/dev9/pg11/tpch/sf_10/explain_analyze/15721/2-1.ok b/dev9/pg11/tpch/sf_10/explain_analyze/15721/2-1.ok new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/dev9/pg11/tpch/sf_10/explain_analyze/15721/2-1.res b/dev9/pg11/tpch/sf_10/explain_analyze/15721/2-1.res new file mode 100644 index 0000000000000000000000000000000000000000..160b036ff338b11ce09e1346ada600221dcedd8c --- /dev/null +++ b/dev9/pg11/tpch/sf_10/explain_analyze/15721/2-1.res @@ -0,0 +1 @@ +{"Plan": {"Node Type": "Limit", "Parallel Aware": false, "Startup Cost": 361513.55, "Total Cost": 361513.55, "Plan Rows": 1, "Plan Width": 192, "Actual Startup Time": 3339.291, "Actual Total Time": 3339.421, "Actual Rows": 100, "Actual Loops": 1, "Output": ["supplier.s_acctbal", "supplier.s_name", "nation.n_name", "part.p_partkey", "part.p_mfgr", "supplier.s_address", "supplier.s_phone", "supplier.s_comment"], "Plans": [{"Node Type": "Sort", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 361513.55, "Total Cost": 361513.55, "Plan Rows": 1, "Plan Width": 192, "Actual Startup Time": 3339.289, "Actual Total Time": 3339.41, "Actual Rows": 100, "Actual Loops": 1, "Output": ["supplier.s_acctbal", "supplier.s_name", "nation.n_name", "part.p_partkey", "part.p_mfgr", "supplier.s_address", "supplier.s_phone", "supplier.s_comment"], "Sort Key": ["supplier.s_acctbal DESC", "nation.n_name", "supplier.s_name", "part.p_partkey"], "Sort Method": "top-N heapsort", "Sort Space Used": 71, "Sort Space Type": "Memory", "Plans": [{"Node Type": "Hash Join", "Parent Relationship": "Outer", "Parallel Aware": false, "Join Type": "Inner", "Startup Cost": 160988.26, "Total Cost": 361513.54, "Plan Rows": 1, "Plan Width": 192, "Actual Startup Time": 2738.485, "Actual Total Time": 3336.912, "Actual Rows": 4732, "Actual Loops": 1, "Output": ["supplier.s_acctbal", "supplier.s_name", "nation.n_name", "part.p_partkey", "part.p_mfgr", "supplier.s_address", "supplier.s_phone", "supplier.s_comment"], "Inner Unique": false, "Hash Cond": "((part.p_partkey = partsupp.ps_partkey) AND ((SubPlan 1) = partsupp.ps_supplycost))", "Plans": [{"Node Type": "Gather", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 1000.0, "Total Cost": 50235.3, "Plan Rows": 7733, "Plan Width": 30, "Actual Startup Time": 0.333, "Actual Total Time": 2.481, "Actual Rows": 8075, "Actual Loops": 1, "Output": ["part.p_partkey", "part.p_mfgr"], "Workers Planned": 4, "Workers Launched": 4, "Single Copy": false, "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": true, "Relation Name": "part", "Schema": "public", "Alias": "part", "Startup Cost": 0.0, "Total Cost": 48462.0, "Plan Rows": 1933, "Plan Width": 30, "Actual Startup Time": 0.058, "Actual Total Time": 121.637, "Actual Rows": 1615, "Actual Loops": 5, "Output": ["part.p_partkey", "part.p_mfgr"], "Filter": "(((part.p_type)::text ~~ '%TIN'::text) AND (part.p_size = 44))", "Rows Removed by Filter": 398385, "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.064, "Actual Total Time": 189.165, "Actual Rows": 2578, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 0.124, "Actual Total Time": 172.584, "Actual Rows": 2343, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 0.034, "Actual Total Time": 141.269, "Actual Rows": 1805, "Actual Loops": 1}, {"Worker Number": 3, "Actual Startup Time": 0.042, "Actual Total Time": 105.128, "Actual Rows": 1348, "Actual Loops": 1}]}]}, {"Node Type": "Hash", "Parent Relationship": "Inner", "Parallel Aware": false, "Startup Cost": 96925.26, "Total Cost": 96925.26, "Plan Rows": 1600000, "Plan Width": 172, "Actual Startup Time": 2735.641, "Actual Total Time": 2735.644, "Actual Rows": 1602640, "Actual Loops": 1, "Output": ["supplier.s_acctbal", "supplier.s_name", "supplier.s_address", "supplier.s_phone", "supplier.s_comment", "partsupp.ps_partkey", "partsupp.ps_supplycost", "nation.n_name"], "Hash Buckets": 131072, "Original Hash Buckets": 131072, "Hash Batches": 32, "Original Hash Batches": 32, "Peak Memory Usage": 11233, "Plans": [{"Node Type": "Nested Loop", "Parent Relationship": "Outer", "Parallel Aware": false, "Join Type": "Inner", "Startup Cost": 0.72, "Total Cost": 96925.26, "Plan Rows": 1600000, "Plan Width": 172, "Actual Startup Time": 0.047, "Actual Total Time": 1898.283, "Actual Rows": 1602640, "Actual Loops": 1, "Output": ["supplier.s_acctbal", "supplier.s_name", "supplier.s_address", "supplier.s_phone", "supplier.s_comment", "partsupp.ps_partkey", "partsupp.ps_supplycost", "nation.n_name"], "Inner Unique": false, "Plans": [{"Node Type": "Nested Loop", "Parent Relationship": "Outer", "Parallel Aware": false, "Join Type": "Inner", "Startup Cost": 0.29, "Total Cost": 1084.23, "Plan Rows": 20000, "Plan Width": 166, "Actual Startup Time": 0.032, "Actual Total Time": 19.402, "Actual Rows": 20033, "Actual Loops": 1, "Output": ["supplier.s_acctbal", "supplier.s_name", "supplier.s_address", "supplier.s_phone", "supplier.s_comment", "supplier.s_suppkey", "nation.n_name"], "Inner Unique": false, "Plans": [{"Node Type": "Nested Loop", "Parent Relationship": "Outer", "Parallel Aware": false, "Join Type": "Inner", "Startup Cost": 0.0, "Total Cost": 2.62, "Plan Rows": 5, "Plan Width": 30, "Actual Startup Time": 0.013, "Actual Total Time": 0.036, "Actual Rows": 5, "Actual Loops": 1, "Output": ["nation.n_name", "nation.n_nationkey"], "Inner Unique": false, "Join Filter": "(nation.n_regionkey = region.r_regionkey)", "Rows Removed by Join Filter": 20, "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Relation Name": "region", "Schema": "public", "Alias": "region", "Startup Cost": 0.0, "Total Cost": 1.06, "Plan Rows": 1, "Plan Width": 4, "Actual Startup Time": 0.005, "Actual Total Time": 0.007, "Actual Rows": 1, "Actual Loops": 1, "Output": ["region.r_regionkey", "region.r_name", "region.r_comment"], "Filter": "(region.r_name = 'EUROPE'::bpchar)", "Rows Removed by Filter": 4}, {"Node Type": "Seq Scan", "Parent Relationship": "Inner", "Parallel Aware": false, "Relation Name": "nation", "Schema": "public", "Alias": "nation", "Startup Cost": 0.0, "Total Cost": 1.25, "Plan Rows": 25, "Plan Width": 34, "Actual Startup Time": 0.004, "Actual Total Time": 0.013, "Actual Rows": 25, "Actual Loops": 1, "Output": ["nation.n_nationkey", "nation.n_name", "nation.n_regionkey", "nation.n_comment"]}]}, {"Node Type": "Index Scan", "Parent Relationship": "Inner", "Parallel Aware": false, "Scan Direction": "Forward", "Index Name": "s_nk", "Relation Name": "supplier", "Schema": "public", "Alias": "supplier", "Startup Cost": 0.29, "Total Cost": 176.32, "Plan Rows": 4000, "Plan Width": 144, "Actual Startup Time": 0.012, "Actual Total Time": 2.679, "Actual Rows": 4007, "Actual Loops": 5, "Output": ["supplier.s_suppkey", "supplier.s_name", "supplier.s_address", "supplier.s_nationkey", "supplier.s_phone", "supplier.s_acctbal", "supplier.s_comment"], "Index Cond": "(supplier.s_nationkey = nation.n_nationkey)", "Rows Removed by Index Recheck": 0}]}, {"Node Type": "Index Scan", "Parent Relationship": "Inner", "Parallel Aware": false, "Scan Direction": "Forward", "Index Name": "ps_sk", "Relation Name": "partsupp", "Schema": "public", "Alias": "partsupp", "Startup Cost": 0.43, "Total Cost": 3.99, "Plan Rows": 80, "Plan Width": 14, "Actual Startup Time": 0.005, "Actual Total Time": 0.079, "Actual Rows": 80, "Actual Loops": 20033, "Output": ["partsupp.ps_partkey", "partsupp.ps_suppkey", "partsupp.ps_availqty", "partsupp.ps_supplycost", "partsupp.ps_comment"], "Index Cond": "(partsupp.ps_suppkey = supplier.s_suppkey)", "Rows Removed by Index Recheck": 0}]}]}, {"Node Type": "Aggregate", "Strategy": "Plain", "Partial Mode": "Simple", "Parent Relationship": "SubPlan", "Subplan Name": "SubPlan 1", "Parallel Aware": false, "Startup Cost": 14.48, "Total Cost": 14.49, "Plan Rows": 1, "Plan Width": 32, "Actual Startup Time": 0.024, "Actual Total Time": 0.024, "Actual Rows": 1, "Actual Loops": 12807, "Output": ["min(partsupp_1.ps_supplycost)"], "Plans": [{"Node Type": "Nested Loop", "Parent Relationship": "Outer", "Parallel Aware": false, "Join Type": "Inner", "Startup Cost": 0.86, "Total Cost": 14.48, "Plan Rows": 1, "Plan Width": 6, "Actual Startup Time": 0.017, "Actual Total Time": 0.023, "Actual Rows": 1, "Actual Loops": 12807, "Output": ["partsupp_1.ps_supplycost"], "Inner Unique": false, "Join Filter": "(nation_1.n_regionkey = region_1.r_regionkey)", "Rows Removed by Join Filter": 3, "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Relation Name": "region", "Schema": "public", "Alias": "region_1", "Startup Cost": 0.0, "Total Cost": 1.06, "Plan Rows": 1, "Plan Width": 4, "Actual Startup Time": 0.001, "Actual Total Time": 0.001, "Actual Rows": 1, "Actual Loops": 12807, "Output": ["region_1.r_regionkey", "region_1.r_name", "region_1.r_comment"], "Filter": "(region_1.r_name = 'EUROPE'::bpchar)", "Rows Removed by Filter": 4}, {"Node Type": "Nested Loop", "Parent Relationship": "Inner", "Parallel Aware": false, "Join Type": "Inner", "Startup Cost": 0.86, "Total Cost": 13.36, "Plan Rows": 4, "Plan Width": 10, "Actual Startup Time": 0.009, "Actual Total Time": 0.022, "Actual Rows": 4, "Actual Loops": 12807, "Output": ["partsupp_1.ps_supplycost", "nation_1.n_regionkey"], "Inner Unique": true, "Plans": [{"Node Type": "Nested Loop", "Parent Relationship": "Outer", "Parallel Aware": false, "Join Type": "Inner", "Startup Cost": 0.72, "Total Cost": 12.74, "Plan Rows": 4, "Plan Width": 10, "Actual Startup Time": 0.007, "Actual Total Time": 0.017, "Actual Rows": 4, "Actual Loops": 12807, "Output": ["partsupp_1.ps_supplycost", "supplier_1.s_nationkey"], "Inner Unique": true, "Plans": [{"Node Type": "Index Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Scan Direction": "Forward", "Index Name": "ps_pk", "Relation Name": "partsupp", "Schema": "public", "Alias": "partsupp_1", "Startup Cost": 0.43, "Total Cost": 2.7, "Plan Rows": 4, "Plan Width": 10, "Actual Startup Time": 0.004, "Actual Total Time": 0.005, "Actual Rows": 4, "Actual Loops": 12807, "Output": ["partsupp_1.ps_partkey", "partsupp_1.ps_suppkey", "partsupp_1.ps_availqty", "partsupp_1.ps_supplycost", "partsupp_1.ps_comment"], "Index Cond": "(part.p_partkey = partsupp_1.ps_partkey)", "Rows Removed by Index Recheck": 0}, {"Node Type": "Index Scan", "Parent Relationship": "Inner", "Parallel Aware": false, "Scan Direction": "Forward", "Index Name": "s_sk", "Relation Name": "supplier", "Schema": "public", "Alias": "supplier_1", "Startup Cost": 0.29, "Total Cost": 2.51, "Plan Rows": 1, "Plan Width": 8, "Actual Startup Time": 0.002, "Actual Total Time": 0.002, "Actual Rows": 1, "Actual Loops": 51228, "Output": ["supplier_1.s_suppkey", "supplier_1.s_name", "supplier_1.s_address", "supplier_1.s_nationkey", "supplier_1.s_phone", "supplier_1.s_acctbal", "supplier_1.s_comment"], "Index Cond": "(supplier_1.s_suppkey = partsupp_1.ps_suppkey)", "Rows Removed by Index Recheck": 0}]}, {"Node Type": "Index Scan", "Parent Relationship": "Inner", "Parallel Aware": false, "Scan Direction": "Forward", "Index Name": "n_nk", "Relation Name": "nation", "Schema": "public", "Alias": "nation_1", "Startup Cost": 0.14, "Total Cost": 0.16, "Plan Rows": 1, "Plan Width": 8, "Actual Startup Time": 0.001, "Actual Total Time": 0.001, "Actual Rows": 1, "Actual Loops": 51228, "Output": ["nation_1.n_nationkey", "nation_1.n_name", "nation_1.n_regionkey", "nation_1.n_comment"], "Index Cond": "(nation_1.n_nationkey = supplier_1.s_nationkey)", "Rows Removed by Index Recheck": 0}]}]}]}]}]}]}, "Planning Time": 2.185, "Triggers": [], "Execution Time": 3339.526} diff --git a/dev9/pg11/tpch/sf_10/explain_analyze/15721/20-1.ok b/dev9/pg11/tpch/sf_10/explain_analyze/15721/20-1.ok new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/dev9/pg11/tpch/sf_10/explain_analyze/15721/20-1.res b/dev9/pg11/tpch/sf_10/explain_analyze/15721/20-1.res new file mode 100644 index 0000000000000000000000000000000000000000..f27e3a27861bd503c58c84d8f476a58c81af7fbd --- /dev/null +++ b/dev9/pg11/tpch/sf_10/explain_analyze/15721/20-1.res @@ -0,0 +1 @@ +{"Plan": {"Node Type": "Sort", "Parallel Aware": false, "Startup Cost": 378061.18, "Total Cost": 378064.39, "Plan Rows": 1283, "Plan Width": 51, "Actual Startup Time": 1554.421, "Actual Total Time": 1554.623, "Actual Rows": 1786, "Actual Loops": 1, "Output": ["supplier.s_name", "supplier.s_address"], "Sort Key": ["supplier.s_name"], "Sort Method": "quicksort", "Sort Space Used": 254, "Sort Space Type": "Memory", "Plans": [{"Node Type": "Hash Join", "Parent Relationship": "Outer", "Parallel Aware": false, "Join Type": "Semi", "Startup Cost": 375760.81, "Total Cost": 377994.95, "Plan Rows": 1283, "Plan Width": 51, "Actual Startup Time": 1546.429, "Actual Total Time": 1551.06, "Actual Rows": 1786, "Actual Loops": 1, "Output": ["supplier.s_name", "supplier.s_address"], "Inner Unique": false, "Hash Cond": "(supplier.s_suppkey = partsupp.ps_suppkey)", "Plans": [{"Node Type": "Nested Loop", "Parent Relationship": "Outer", "Parallel Aware": false, "Join Type": "Inner", "Startup Cost": 44.49, "Total Cost": 2244.24, "Plan Rows": 4000, "Plan Width": 55, "Actual Startup Time": 0.8, "Actual Total Time": 4.271, "Actual Rows": 4049, "Actual Loops": 1, "Output": ["supplier.s_name", "supplier.s_address", "supplier.s_suppkey"], "Inner Unique": false, "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Relation Name": "nation", "Schema": "public", "Alias": "nation", "Startup Cost": 0.0, "Total Cost": 1.31, "Plan Rows": 1, "Plan Width": 4, "Actual Startup Time": 0.009, "Actual Total Time": 0.014, "Actual Rows": 1, "Actual Loops": 1, "Output": ["nation.n_nationkey", "nation.n_name", "nation.n_regionkey", "nation.n_comment"], "Filter": "(nation.n_name = 'GERMANY'::bpchar)", "Rows Removed by Filter": 24}, {"Node Type": "Bitmap Heap Scan", "Parent Relationship": "Inner", "Parallel Aware": false, "Relation Name": "supplier", "Schema": "public", "Alias": "supplier", "Startup Cost": 44.49, "Total Cost": 2202.92, "Plan Rows": 4000, "Plan Width": 59, "Actual Startup Time": 0.788, "Actual Total Time": 3.561, "Actual Rows": 4049, "Actual Loops": 1, "Output": ["supplier.s_suppkey", "supplier.s_name", "supplier.s_address", "supplier.s_nationkey", "supplier.s_phone", "supplier.s_acctbal", "supplier.s_comment"], "Recheck Cond": "(supplier.s_nationkey = nation.n_nationkey)", "Rows Removed by Index Recheck": 0, "Exact Heap Blocks": 1874, "Lossy Heap Blocks": 0, "Plans": [{"Node Type": "Bitmap Index Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Index Name": "s_nk", "Startup Cost": 0.0, "Total Cost": 43.49, "Plan Rows": 4000, "Plan Width": 0, "Actual Startup Time": 0.461, "Actual Total Time": 0.461, "Actual Rows": 4049, "Actual Loops": 1, "Index Cond": "(supplier.s_nationkey = nation.n_nationkey)"}]}]}, {"Node Type": "Hash", "Parent Relationship": "Inner", "Parallel Aware": false, "Startup Cost": 375315.51, "Total Cost": 375315.51, "Plan Rows": 32064, "Plan Width": 4, "Actual Startup Time": 1545.572, "Actual Total Time": 1545.677, "Actual Rows": 59274, "Actual Loops": 1, "Output": ["partsupp.ps_suppkey"], "Hash Buckets": 65536, "Original Hash Buckets": 32768, "Hash Batches": 1, "Original Hash Batches": 1, "Peak Memory Usage": 2596, "Plans": [{"Node Type": "Nested Loop", "Parent Relationship": "Outer", "Parallel Aware": false, "Join Type": "Inner", "Startup Cost": 1000.43, "Total Cost": 375315.51, "Plan Rows": 32064, "Plan Width": 4, "Actual Startup Time": 0.382, "Actual Total Time": 1530.495, "Actual Rows": 59274, "Actual Loops": 1, "Output": ["partsupp.ps_suppkey"], "Inner Unique": false, "Plans": [{"Node Type": "Gather", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 1000.0, "Total Cost": 50616.8, "Plan Rows": 24048, "Plan Width": 4, "Actual Startup Time": 0.324, "Actual Total Time": 5.938, "Actual Rows": 21783, "Actual Loops": 1, "Output": ["part.p_partkey"], "Workers Planned": 4, "Workers Launched": 4, "Single Copy": false, "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": true, "Relation Name": "part", "Schema": "public", "Alias": "part", "Startup Cost": 0.0, "Total Cost": 47212.0, "Plan Rows": 6012, "Plan Width": 4, "Actual Startup Time": 0.035, "Actual Total Time": 68.564, "Actual Rows": 4357, "Actual Loops": 5, "Output": ["part.p_partkey"], "Filter": "((part.p_name)::text ~~ 'floral%'::text)", "Rows Removed by Filter": 395643, "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.037, "Actual Total Time": 32.084, "Actual Rows": 1638, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 0.034, "Actual Total Time": 33.51, "Actual Rows": 1638, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 0.05, "Actual Total Time": 34.107, "Actual Rows": 1638, "Actual Loops": 1}, {"Worker Number": 3, "Actual Startup Time": 0.026, "Actual Total Time": 242.675, "Actual Rows": 16831, "Actual Loops": 1}]}]}, {"Node Type": "Index Scan", "Parent Relationship": "Inner", "Parallel Aware": false, "Scan Direction": "Forward", "Index Name": "ps_pk", "Relation Name": "partsupp", "Schema": "public", "Alias": "partsupp", "Startup Cost": 0.43, "Total Cost": 13.49, "Plan Rows": 1, "Plan Width": 8, "Actual Startup Time": 0.027, "Actual Total Time": 0.069, "Actual Rows": 3, "Actual Loops": 21783, "Output": ["partsupp.ps_partkey", "partsupp.ps_suppkey", "partsupp.ps_availqty", "partsupp.ps_supplycost", "partsupp.ps_comment"], "Index Cond": "(partsupp.ps_partkey = part.p_partkey)", "Rows Removed by Index Recheck": 0, "Filter": "((partsupp.ps_availqty)::numeric > (SubPlan 1))", "Rows Removed by Filter": 1, "Plans": [{"Node Type": "Aggregate", "Strategy": "Plain", "Partial Mode": "Simple", "Parent Relationship": "SubPlan", "Subplan Name": "SubPlan 1", "Parallel Aware": false, "Startup Cost": 2.79, "Total Cost": 2.81, "Plan Rows": 1, "Plan Width": 32, "Actual Startup Time": 0.015, "Actual Total Time": 0.015, "Actual Rows": 1, "Actual Loops": 87132, "Output": ["(0.5 * sum(lineitem.l_quantity))"], "Plans": [{"Node Type": "Index Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Scan Direction": "Forward", "Index Name": "l_sk_pk", "Relation Name": "lineitem", "Schema": "public", "Alias": "lineitem", "Startup Cost": 0.56, "Total Cost": 2.79, "Plan Rows": 1, "Plan Width": 5, "Actual Startup Time": 0.01, "Actual Total Time": 0.015, "Actual Rows": 1, "Actual Loops": 87132, "Output": ["lineitem.l_orderkey", "lineitem.l_partkey", "lineitem.l_suppkey", "lineitem.l_linenumber", "lineitem.l_quantity", "lineitem.l_extendedprice", "lineitem.l_discount", "lineitem.l_tax", "lineitem.l_returnflag", "lineitem.l_linestatus", "lineitem.l_shipdate", "lineitem.l_commitdate", "lineitem.l_receiptdate", "lineitem.l_shipinstruct", "lineitem.l_shipmode", "lineitem.l_comment"], "Index Cond": "((lineitem.l_suppkey = partsupp.ps_suppkey) AND (lineitem.l_partkey = partsupp.ps_partkey))", "Rows Removed by Index Recheck": 0, "Filter": "((lineitem.l_shipdate >= '1996-01-01'::date) AND (lineitem.l_shipdate < '1997-01-01 00:00:00'::timestamp without time zone))", "Rows Removed by Filter": 6}]}]}]}]}]}]}, "Planning Time": 0.842, "Triggers": [], "Execution Time": 1554.769} diff --git a/dev9/pg11/tpch/sf_10/explain_analyze/15721/21-1.ok b/dev9/pg11/tpch/sf_10/explain_analyze/15721/21-1.ok new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/dev9/pg11/tpch/sf_10/explain_analyze/15721/21-1.res b/dev9/pg11/tpch/sf_10/explain_analyze/15721/21-1.res new file mode 100644 index 0000000000000000000000000000000000000000..e99ed546766b7c983d5ccb745127bfd0651ca5f2 --- /dev/null +++ b/dev9/pg11/tpch/sf_10/explain_analyze/15721/21-1.res @@ -0,0 +1 @@ +{"Plan": {"Node Type": "Limit", "Parallel Aware": false, "Startup Cost": 408402.81, "Total Cost": 408402.81, "Plan Rows": 1, "Plan Width": 34, "Actual Startup Time": 6736.135, "Actual Total Time": 6826.389, "Actual Rows": 100, "Actual Loops": 1, "Output": ["supplier.s_name", "(count(*))"], "Plans": [{"Node Type": "Sort", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 408402.81, "Total Cost": 408402.81, "Plan Rows": 1, "Plan Width": 34, "Actual Startup Time": 6736.133, "Actual Total Time": 6826.379, "Actual Rows": 100, "Actual Loops": 1, "Output": ["supplier.s_name", "(count(*))"], "Sort Key": ["(count(*)) DESC", "supplier.s_name"], "Sort Method": "top-N heapsort", "Sort Space Used": 38, "Sort Space Type": "Memory", "Plans": [{"Node Type": "Aggregate", "Strategy": "Sorted", "Partial Mode": "Simple", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 408402.78, "Total Cost": 408402.8, "Plan Rows": 1, "Plan Width": 34, "Actual Startup Time": 6726.156, "Actual Total Time": 6824.74, "Actual Rows": 3988, "Actual Loops": 1, "Output": ["supplier.s_name", "count(*)"], "Group Key": ["supplier.s_name"], "Plans": [{"Node Type": "Sort", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 408402.78, "Total Cost": 408402.78, "Plan Rows": 1, "Plan Width": 26, "Actual Startup Time": 6726.144, "Actual Total Time": 6818.709, "Actual Rows": 39932, "Actual Loops": 1, "Output": ["supplier.s_name"], "Sort Key": ["supplier.s_name"], "Sort Method": "quicksort", "Sort Space Used": 4656, "Sort Space Type": "Memory", "Plans": [{"Node Type": "Nested Loop", "Parent Relationship": "Outer", "Parallel Aware": false, "Join Type": "Inner", "Startup Cost": 1003.46, "Total Cost": 408402.77, "Plan Rows": 1, "Plan Width": 26, "Actual Startup Time": 0.575, "Actual Total Time": 6688.083, "Actual Rows": 39932, "Actual Loops": 1, "Output": ["supplier.s_name"], "Inner Unique": true, "Plans": [{"Node Type": "Nested Loop", "Parent Relationship": "Outer", "Parallel Aware": false, "Join Type": "Semi", "Startup Cost": 1003.02, "Total Cost": 408402.3, "Plan Rows": 1, "Plan Width": 34, "Actual Startup Time": 0.567, "Actual Total Time": 6231.15, "Actual Rows": 81076, "Actual Loops": 1, "Output": ["supplier.s_name", "l1.l_orderkey", "l2.l_orderkey"], "Inner Unique": false, "Plans": [{"Node Type": "Gather", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 1002.46, "Total Cost": 408401.04, "Plan Rows": 1, "Plan Width": 34, "Actual Startup Time": 0.544, "Actual Total Time": 5677.934, "Actual Rows": 135007, "Actual Loops": 1, "Output": ["supplier.s_name", "l1.l_suppkey", "l1.l_orderkey"], "Workers Planned": 1, "Workers Launched": 1, "Single Copy": false, "Plans": [{"Node Type": "Nested Loop", "Parent Relationship": "Outer", "Parallel Aware": false, "Join Type": "Anti", "Startup Cost": 2.46, "Total Cost": 407400.94, "Plan Rows": 1, "Plan Width": 34, "Actual Startup Time": 1.83, "Actual Total Time": 6064.788, "Actual Rows": 67504, "Actual Loops": 2, "Output": ["supplier.s_name", "l1.l_suppkey", "l1.l_orderkey"], "Inner Unique": false, "Workers": [{"Worker Number": 0, "Actual Startup Time": 3.495, "Actual Total Time": 6573.761, "Actual Rows": 70017, "Actual Loops": 1}], "Plans": [{"Node Type": "Nested Loop", "Parent Relationship": "Outer", "Parallel Aware": false, "Join Type": "Inner", "Startup Cost": 1.89, "Total Cost": 69583.39, "Plan Rows": 470477, "Plan Width": 34, "Actual Startup Time": 0.195, "Actual Total Time": 2077.646, "Actual Rows": 756457, "Actual Loops": 2, "Output": ["supplier.s_name", "l1.l_suppkey", "l1.l_orderkey"], "Inner Unique": false, "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.345, "Actual Total Time": 2382.434, "Actual Rows": 787461, "Actual Loops": 1}], "Plans": [{"Node Type": "Hash Join", "Parent Relationship": "Outer", "Parallel Aware": false, "Join Type": "Inner", "Startup Cost": 1.32, "Total Cost": 2986.15, "Plan Rows": 2353, "Plan Width": 30, "Actual Startup Time": 0.118, "Actual Total Time": 16.292, "Actual Rows": 1994, "Actual Loops": 2, "Output": ["supplier.s_name", "supplier.s_suppkey"], "Inner Unique": true, "Hash Cond": "(supplier.s_nationkey = nation.n_nationkey)", "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.214, "Actual Total Time": 17.37, "Actual Rows": 2077, "Actual Loops": 1}], "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": true, "Relation Name": "supplier", "Schema": "public", "Alias": "supplier", "Startup Cost": 0.0, "Total Cost": 2804.24, "Plan Rows": 58824, "Plan Width": 34, "Actual Startup Time": 0.01, "Actual Total Time": 5.622, "Actual Rows": 50000, "Actual Loops": 2, "Output": ["supplier.s_suppkey", "supplier.s_name", "supplier.s_address", "supplier.s_nationkey", "supplier.s_phone", "supplier.s_acctbal", "supplier.s_comment"], "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.018, "Actual Total Time": 6.035, "Actual Rows": 50695, "Actual Loops": 1}]}, {"Node Type": "Hash", "Parent Relationship": "Inner", "Parallel Aware": false, "Startup Cost": 1.31, "Total Cost": 1.31, "Plan Rows": 1, "Plan Width": 4, "Actual Startup Time": 0.019, "Actual Total Time": 0.02, "Actual Rows": 1, "Actual Loops": 2, "Output": ["nation.n_nationkey"], "Hash Buckets": 1024, "Original Hash Buckets": 1024, "Hash Batches": 1, "Original Hash Batches": 1, "Peak Memory Usage": 9, "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.029, "Actual Total Time": 0.03, "Actual Rows": 1, "Actual Loops": 1}], "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Relation Name": "nation", "Schema": "public", "Alias": "nation", "Startup Cost": 0.0, "Total Cost": 1.31, "Plan Rows": 1, "Plan Width": 4, "Actual Startup Time": 0.016, "Actual Total Time": 0.017, "Actual Rows": 1, "Actual Loops": 2, "Output": ["nation.n_nationkey"], "Filter": "(nation.n_name = 'CHINA'::bpchar)", "Rows Removed by Filter": 24, "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.024, "Actual Total Time": 0.025, "Actual Rows": 1, "Actual Loops": 1}]}]}]}, {"Node Type": "Index Scan", "Parent Relationship": "Inner", "Parallel Aware": false, "Scan Direction": "Forward", "Index Name": "l_sk", "Relation Name": "lineitem", "Schema": "public", "Alias": "l1", "Startup Cost": 0.56, "Total Cost": 26.3, "Plan Rows": 200, "Plan Width": 8, "Actual Startup Time": 0.015, "Actual Total Time": 0.985, "Actual Rows": 379, "Actual Loops": 3988, "Output": ["l1.l_orderkey", "l1.l_partkey", "l1.l_suppkey", "l1.l_linenumber", "l1.l_quantity", "l1.l_extendedprice", "l1.l_discount", "l1.l_tax", "l1.l_returnflag", "l1.l_linestatus", "l1.l_shipdate", "l1.l_commitdate", "l1.l_receiptdate", "l1.l_shipinstruct", "l1.l_shipmode", "l1.l_comment"], "Index Cond": "(l1.l_suppkey = supplier.s_suppkey)", "Rows Removed by Index Recheck": 0, "Filter": "(l1.l_receiptdate > l1.l_commitdate)", "Rows Removed by Filter": 221, "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.018, "Actual Total Time": 1.09, "Actual Rows": 379, "Actual Loops": 2077}]}]}, {"Node Type": "Index Scan", "Parent Relationship": "Inner", "Parallel Aware": false, "Scan Direction": "Forward", "Index Name": "l_ok", "Relation Name": "lineitem", "Schema": "public", "Alias": "l3", "Startup Cost": 0.56, "Total Cost": 1.31, "Plan Rows": 10, "Plan Width": 8, "Actual Startup Time": 0.005, "Actual Total Time": 0.005, "Actual Rows": 1, "Actual Loops": 1512914, "Output": ["l3.l_orderkey", "l3.l_partkey", "l3.l_suppkey", "l3.l_linenumber", "l3.l_quantity", "l3.l_extendedprice", "l3.l_discount", "l3.l_tax", "l3.l_returnflag", "l3.l_linestatus", "l3.l_shipdate", "l3.l_commitdate", "l3.l_receiptdate", "l3.l_shipinstruct", "l3.l_shipmode", "l3.l_comment"], "Index Cond": "(l3.l_orderkey = l1.l_orderkey)", "Rows Removed by Index Recheck": 0, "Filter": "((l3.l_receiptdate > l3.l_commitdate) AND (l3.l_suppkey <> l1.l_suppkey))", "Rows Removed by Filter": 1, "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.005, "Actual Total Time": 0.005, "Actual Rows": 1, "Actual Loops": 787461}]}]}]}, {"Node Type": "Index Scan", "Parent Relationship": "Inner", "Parallel Aware": false, "Scan Direction": "Forward", "Index Name": "l_ok", "Relation Name": "lineitem", "Schema": "public", "Alias": "l2", "Startup Cost": 0.56, "Total Cost": 1.24, "Plan Rows": 30, "Plan Width": 8, "Actual Startup Time": 0.004, "Actual Total Time": 0.004, "Actual Rows": 1, "Actual Loops": 135007, "Output": ["l2.l_orderkey", "l2.l_partkey", "l2.l_suppkey", "l2.l_linenumber", "l2.l_quantity", "l2.l_extendedprice", "l2.l_discount", "l2.l_tax", "l2.l_returnflag", "l2.l_linestatus", "l2.l_shipdate", "l2.l_commitdate", "l2.l_receiptdate", "l2.l_shipinstruct", "l2.l_shipmode", "l2.l_comment"], "Index Cond": "(l2.l_orderkey = l1.l_orderkey)", "Rows Removed by Index Recheck": 0, "Filter": "(l2.l_suppkey <> l1.l_suppkey)", "Rows Removed by Filter": 1}]}, {"Node Type": "Index Scan", "Parent Relationship": "Inner", "Parallel Aware": false, "Scan Direction": "Forward", "Index Name": "o_ok", "Relation Name": "orders", "Schema": "public", "Alias": "orders", "Startup Cost": 0.43, "Total Cost": 0.47, "Plan Rows": 1, "Plan Width": 4, "Actual Startup Time": 0.005, "Actual Total Time": 0.005, "Actual Rows": 0, "Actual Loops": 81076, "Output": ["orders.o_orderkey", "orders.o_custkey", "orders.o_orderstatus", "orders.o_totalprice", "orders.o_orderdate", "orders.o_orderpriority", "orders.o_clerk", "orders.o_shippriority", "orders.o_comment"], "Index Cond": "(orders.o_orderkey = l1.l_orderkey)", "Rows Removed by Index Recheck": 0, "Filter": "(orders.o_orderstatus = 'F'::bpchar)", "Rows Removed by Filter": 1}]}]}]}]}]}, "Planning Time": 2.442, "Triggers": [], "Execution Time": 6826.475} diff --git a/dev9/pg11/tpch/sf_10/explain_analyze/15721/22-1.ok b/dev9/pg11/tpch/sf_10/explain_analyze/15721/22-1.ok new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/dev9/pg11/tpch/sf_10/explain_analyze/15721/22-1.res b/dev9/pg11/tpch/sf_10/explain_analyze/15721/22-1.res new file mode 100644 index 0000000000000000000000000000000000000000..177303ff7ea647adc250b22674a9324025b7d2ee --- /dev/null +++ b/dev9/pg11/tpch/sf_10/explain_analyze/15721/22-1.res @@ -0,0 +1 @@ +{"Plan": {"Node Type": "Aggregate", "Strategy": "Sorted", "Partial Mode": "Finalize", "Parallel Aware": false, "Startup Cost": 95890.92, "Total Cost": 97048.77, "Plan Rows": 7542, "Plan Width": 72, "Actual Startup Time": 566.399, "Actual Total Time": 596.083, "Actual Rows": 7, "Actual Loops": 1, "Output": ["(\"substring\"((customer.c_phone)::text, 1, 2))", "count(*)", "sum(customer.c_acctbal)"], "Group Key": ["(\"substring\"((customer.c_phone)::text, 1, 2))"], "Plans": [{"Node Type": "Aggregate", "Strategy": "Plain", "Partial Mode": "Finalize", "Parent Relationship": "InitPlan", "Subplan Name": "InitPlan 1 (returns $1)", "Parallel Aware": false, "Startup Cost": 46701.04, "Total Cost": 46701.05, "Plan Rows": 1, "Plan Width": 32, "Actual Startup Time": 230.335, "Actual Total Time": 230.422, "Actual Rows": 1, "Actual Loops": 1, "Output": ["avg(customer_1.c_acctbal)"], "Plans": [{"Node Type": "Gather", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 46700.61, "Total Cost": 46701.02, "Plan Rows": 4, "Plan Width": 32, "Actual Startup Time": 230.264, "Actual Total Time": 230.411, "Actual Rows": 5, "Actual Loops": 1, "Output": ["(PARTIAL avg(customer_1.c_acctbal))"], "Workers Planned": 4, "Workers Launched": 4, "Single Copy": false, "Plans": [{"Node Type": "Aggregate", "Strategy": "Plain", "Partial Mode": "Partial", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 45700.61, "Total Cost": 45700.62, "Plan Rows": 1, "Plan Width": 32, "Actual Startup Time": 226.644, "Actual Total Time": 226.645, "Actual Rows": 1, "Actual Loops": 5, "Output": ["PARTIAL avg(customer_1.c_acctbal)"], "Workers": [{"Worker Number": 0, "Actual Startup Time": 225.808, "Actual Total Time": 225.809, "Actual Rows": 1, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 225.829, "Actual Total Time": 225.83, "Actual Rows": 1, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 225.837, "Actual Total Time": 225.837, "Actual Rows": 1, "Actual Loops": 1}, {"Worker Number": 3, "Actual Startup Time": 225.827, "Actual Total Time": 225.828, "Actual Rows": 1, "Actual Loops": 1}], "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": true, "Relation Name": "customer", "Schema": "public", "Alias": "customer_1", "Startup Cost": 0.0, "Total Cost": 45670.75, "Plan Rows": 11943, "Plan Width": 6, "Actual Startup Time": 0.043, "Actual Total Time": 216.872, "Actual Rows": 76349, "Actual Loops": 5, "Output": ["customer_1.c_custkey", "customer_1.c_name", "customer_1.c_address", "customer_1.c_nationkey", "customer_1.c_phone", "customer_1.c_acctbal", "customer_1.c_mktsegment", "customer_1.c_comment"], "Filter": "((customer_1.c_acctbal > 0.00) AND (\"substring\"((customer_1.c_phone)::text, 1, 2) = ANY ('{17,20,25,31,30,11,33}'::text[])))", "Rows Removed by Filter": 223651, "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.05, "Actual Total Time": 216.225, "Actual Rows": 74152, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 0.05, "Actual Total Time": 216.238, "Actual Rows": 74514, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 0.052, "Actual Total Time": 216.305, "Actual Rows": 74098, "Actual Loops": 1}, {"Worker Number": 3, "Actual Startup Time": 0.051, "Actual Total Time": 216.249, "Actual Rows": 74421, "Actual Loops": 1}]}]}]}]}, {"Node Type": "Gather Merge", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 49189.87, "Total Cost": 50140.29, "Plan Rows": 7544, "Plan Width": 72, "Actual Startup Time": 565.826, "Actual Total Time": 595.963, "Actual Rows": 35, "Actual Loops": 1, "Output": ["(\"substring\"((customer.c_phone)::text, 1, 2))", "(PARTIAL count(*))", "(PARTIAL sum(customer.c_acctbal))"], "Workers Planned": 4, "Params Evaluated": ["$1"], "Workers Launched": 4, "Plans": [{"Node Type": "Aggregate", "Strategy": "Sorted", "Partial Mode": "Partial", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 48189.81, "Total Cost": 48241.67, "Plan Rows": 1886, "Plan Width": 72, "Actual Startup Time": 330.229, "Actual Total Time": 333.12, "Actual Rows": 7, "Actual Loops": 5, "Output": ["(\"substring\"((customer.c_phone)::text, 1, 2))", "PARTIAL count(*)", "PARTIAL sum(customer.c_acctbal)"], "Group Key": ["(\"substring\"((customer.c_phone)::text, 1, 2))"], "Workers": [{"Worker Number": 0, "Actual Startup Time": 327.679, "Actual Total Time": 330.019, "Actual Rows": 7, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 329.442, "Actual Total Time": 332.314, "Actual Rows": 7, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 329.755, "Actual Total Time": 332.643, "Actual Rows": 7, "Actual Loops": 1}, {"Worker Number": 3, "Actual Startup Time": 329.609, "Actual Total Time": 332.474, "Actual Rows": 7, "Actual Loops": 1}], "Plans": [{"Node Type": "Sort", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 48189.81, "Total Cost": 48194.52, "Plan Rows": 1886, "Plan Width": 38, "Actual Startup Time": 329.746, "Actual Total Time": 330.52, "Actual Rows": 12806, "Actual Loops": 5, "Output": ["(\"substring\"((customer.c_phone)::text, 1, 2))", "customer.c_acctbal"], "Sort Key": ["(\"substring\"((customer.c_phone)::text, 1, 2))"], "Sort Method": "quicksort", "Sort Space Used": 1101, "Sort Space Type": "Memory", "Workers": [{"Worker Number": 0, "Actual Startup Time": 327.289, "Actual Total Time": 327.896, "Actual Rows": 10494, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 328.943, "Actual Total Time": 329.722, "Actual Rows": 12769, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 329.282, "Actual Total Time": 330.06, "Actual Rows": 12718, "Actual Loops": 1}, {"Worker Number": 3, "Actual Startup Time": 329.119, "Actual Total Time": 329.892, "Actual Rows": 12765, "Actual Loops": 1}], "Plans": [{"Node Type": "Nested Loop", "Parent Relationship": "Outer", "Parallel Aware": false, "Join Type": "Anti", "Startup Cost": 0.43, "Total Cost": 48087.2, "Plan Rows": 1886, "Plan Width": 38, "Actual Startup Time": 0.097, "Actual Total Time": 325.054, "Actual Rows": 12806, "Actual Loops": 5, "Output": ["\"substring\"((customer.c_phone)::text, 1, 2)", "customer.c_acctbal"], "Inner Unique": false, "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.136, "Actual Total Time": 323.392, "Actual Rows": 10494, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 0.115, "Actual Total Time": 324.269, "Actual Rows": 12769, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 0.107, "Actual Total Time": 324.4, "Actual Rows": 12718, "Actual Loops": 1}, {"Worker Number": 3, "Actual Startup Time": 0.099, "Actual Total Time": 324.446, "Actual Rows": 12765, "Actual Loops": 1}], "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": true, "Relation Name": "customer", "Schema": "public", "Alias": "customer", "Startup Cost": 0.0, "Total Cost": 45670.75, "Plan Rows": 4375, "Plan Width": 26, "Actual Startup Time": 0.028, "Actual Total Time": 171.4, "Actual Rows": 38175, "Actual Loops": 5, "Output": ["customer.c_custkey", "customer.c_name", "customer.c_address", "customer.c_nationkey", "customer.c_phone", "customer.c_acctbal", "customer.c_mktsegment", "customer.c_comment"], "Filter": "((customer.c_acctbal > $1) AND (\"substring\"((customer.c_phone)::text, 1, 2) = ANY ('{17,20,25,31,30,11,33}'::text[])))", "Rows Removed by Filter": 261825, "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.044, "Actual Total Time": 160.176, "Actual Rows": 31404, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 0.03, "Actual Total Time": 171.991, "Actual Rows": 38058, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 0.027, "Actual Total Time": 172.711, "Actual Rows": 38167, "Actual Loops": 1}, {"Worker Number": 3, "Actual Startup Time": 0.032, "Actual Total Time": 173.169, "Actual Rows": 38157, "Actual Loops": 1}]}, {"Node Type": "Index Only Scan", "Parent Relationship": "Inner", "Parallel Aware": false, "Scan Direction": "Forward", "Index Name": "o_ck", "Relation Name": "orders", "Schema": "public", "Alias": "orders", "Startup Cost": 0.43, "Total Cost": 1.66, "Plan Rows": 18, "Plan Width": 4, "Actual Startup Time": 0.004, "Actual Total Time": 0.004, "Actual Rows": 1, "Actual Loops": 190873, "Output": ["orders.o_custkey"], "Index Cond": "(orders.o_custkey = customer.c_custkey)", "Rows Removed by Index Recheck": 0, "Heap Fetches": 0, "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.005, "Actual Total Time": 0.005, "Actual Rows": 1, "Actual Loops": 31404}, {"Worker Number": 1, "Actual Startup Time": 0.004, "Actual Total Time": 0.004, "Actual Rows": 1, "Actual Loops": 38058}, {"Worker Number": 2, "Actual Startup Time": 0.004, "Actual Total Time": 0.004, "Actual Rows": 1, "Actual Loops": 38167}, {"Worker Number": 3, "Actual Startup Time": 0.004, "Actual Total Time": 0.004, "Actual Rows": 1, "Actual Loops": 38157}]}]}]}]}]}]}, "Planning Time": 0.417, "Triggers": [], "Execution Time": 596.157} diff --git a/dev9/pg11/tpch/sf_10/explain_analyze/15721/3-1.ok b/dev9/pg11/tpch/sf_10/explain_analyze/15721/3-1.ok new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/dev9/pg11/tpch/sf_10/explain_analyze/15721/3-1.res b/dev9/pg11/tpch/sf_10/explain_analyze/15721/3-1.res new file mode 100644 index 0000000000000000000000000000000000000000..ade25c1fbff3f452fc08959f8f64246c07505276 --- /dev/null +++ b/dev9/pg11/tpch/sf_10/explain_analyze/15721/3-1.res @@ -0,0 +1 @@ +{"Plan": {"Node Type": "Limit", "Parallel Aware": false, "Startup Cost": 1383344.42, "Total Cost": 1383344.44, "Plan Rows": 10, "Plan Width": 44, "Actual Startup Time": 3956.39, "Actual Total Time": 4697.053, "Actual Rows": 10, "Actual Loops": 1, "Output": ["lineitem.l_orderkey", "(sum((lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount))))", "orders.o_orderdate", "orders.o_shippriority"], "Plans": [{"Node Type": "Sort", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 1383344.42, "Total Cost": 1391252.3, "Plan Rows": 3163151, "Plan Width": 44, "Actual Startup Time": 3956.388, "Actual Total Time": 4697.049, "Actual Rows": 10, "Actual Loops": 1, "Output": ["lineitem.l_orderkey", "(sum((lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount))))", "orders.o_orderdate", "orders.o_shippriority"], "Sort Key": ["(sum((lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount)))) DESC", "orders.o_orderdate"], "Sort Method": "top-N heapsort", "Sort Space Used": 26, "Sort Space Type": "Memory", "Plans": [{"Node Type": "Aggregate", "Strategy": "Sorted", "Partial Mode": "Finalize", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 835425.54, "Total Cost": 1314989.86, "Plan Rows": 3163151, "Plan Width": 44, "Actual Startup Time": 3746.116, "Actual Total Time": 4670.256, "Actual Rows": 113340, "Actual Loops": 1, "Output": ["lineitem.l_orderkey", "sum((lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount)))", "orders.o_orderdate", "orders.o_shippriority"], "Group Key": ["lineitem.l_orderkey", "orders.o_orderdate", "orders.o_shippriority"], "Plans": [{"Node Type": "Gather Merge", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 835425.54, "Total Cost": 1235911.07, "Plan Rows": 3163152, "Plan Width": 44, "Actual Startup Time": 3746.105, "Actual Total Time": 4575.391, "Actual Rows": 113340, "Actual Loops": 1, "Output": ["lineitem.l_orderkey", "orders.o_orderdate", "orders.o_shippriority", "(PARTIAL sum((lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount))))"], "Workers Planned": 4, "Workers Launched": 4, "Plans": [{"Node Type": "Aggregate", "Strategy": "Sorted", "Partial Mode": "Partial", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 834425.48, "Total Cost": 858149.12, "Plan Rows": 790788, "Plan Width": 44, "Actual Startup Time": 3738.852, "Actual Total Time": 3791.703, "Actual Rows": 22668, "Actual Loops": 5, "Output": ["lineitem.l_orderkey", "orders.o_orderdate", "orders.o_shippriority", "PARTIAL sum((lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount)))"], "Group Key": ["lineitem.l_orderkey", "orders.o_orderdate", "orders.o_shippriority"], "Workers": [{"Worker Number": 0, "Actual Startup Time": 3737.064, "Actual Total Time": 3788.073, "Actual Rows": 21984, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 3737.086, "Actual Total Time": 3788.071, "Actual Rows": 21646, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 3737.15, "Actual Total Time": 3787.649, "Actual Rows": 21569, "Actual Loops": 1}, {"Worker Number": 3, "Actual Startup Time": 3737.349, "Actual Total Time": 3788.69, "Actual Rows": 21837, "Actual Loops": 1}], "Plans": [{"Node Type": "Sort", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 834425.48, "Total Cost": 836402.45, "Plan Rows": 790788, "Plan Width": 24, "Actual Startup Time": 3738.835, "Actual Total Time": 3745.366, "Actual Rows": 59750, "Actual Loops": 5, "Output": ["lineitem.l_orderkey", "orders.o_orderdate", "orders.o_shippriority", "lineitem.l_extendedprice", "lineitem.l_discount"], "Sort Key": ["lineitem.l_orderkey", "orders.o_orderdate", "orders.o_shippriority"], "Sort Method": "quicksort", "Sort Space Used": 8492, "Sort Space Type": "Memory", "Workers": [{"Worker Number": 0, "Actual Startup Time": 3737.045, "Actual Total Time": 3743.26, "Actual Rows": 57658, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 3737.068, "Actual Total Time": 3743.525, "Actual Rows": 57113, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 3737.135, "Actual Total Time": 3743.417, "Actual Rows": 56985, "Actual Loops": 1}, {"Worker Number": 3, "Actual Startup Time": 3737.333, "Actual Total Time": 3743.794, "Actual Rows": 57628, "Actual Loops": 1}], "Plans": [{"Node Type": "Nested Loop", "Parent Relationship": "Outer", "Parallel Aware": false, "Join Type": "Inner", "Startup Cost": 1.0, "Total Cost": 747456.5, "Plan Rows": 790788, "Plan Width": 24, "Actual Startup Time": 1.539, "Actual Total Time": 3707.178, "Actual Rows": 59750, "Actual Loops": 5, "Output": ["lineitem.l_orderkey", "orders.o_orderdate", "orders.o_shippriority", "lineitem.l_extendedprice", "lineitem.l_discount"], "Inner Unique": false, "Workers": [{"Worker Number": 0, "Actual Startup Time": 4.519, "Actual Total Time": 3706.669, "Actual Rows": 57658, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 0.585, "Actual Total Time": 3706.549, "Actual Rows": 57113, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 0.611, "Actual Total Time": 3706.698, "Actual Rows": 56985, "Actual Loops": 1}, {"Worker Number": 3, "Actual Startup Time": 1.857, "Actual Total Time": 3706.856, "Actual Rows": 57628, "Actual Loops": 1}], "Plans": [{"Node Type": "Nested Loop", "Parent Relationship": "Outer", "Parallel Aware": false, "Join Type": "Inner", "Startup Cost": 0.43, "Total Cost": 190039.71, "Plan Rows": 367114, "Plan Width": 12, "Actual Startup Time": 0.146, "Actual Total Time": 1195.373, "Actual Rows": 292930, "Actual Loops": 5, "Output": ["orders.o_orderdate", "orders.o_shippriority", "orders.o_orderkey"], "Inner Unique": false, "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.177, "Actual Total Time": 1184.309, "Actual Rows": 283853, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 0.161, "Actual Total Time": 1180.797, "Actual Rows": 279155, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 0.184, "Actual Total Time": 1184.096, "Actual Rows": 279269, "Actual Loops": 1}, {"Worker Number": 3, "Actual Startup Time": 0.183, "Actual Total Time": 1183.856, "Actual Rows": 282478, "Actual Loops": 1}], "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": true, "Relation Name": "customer", "Schema": "public", "Alias": "customer", "Startup Cost": 0.0, "Total Cost": 40514.5, "Plan Rows": 75100, "Plan Width": 4, "Actual Startup Time": 0.034, "Actual Total Time": 95.406, "Actual Rows": 59899, "Actual Loops": 5, "Output": ["customer.c_custkey", "customer.c_name", "customer.c_address", "customer.c_nationkey", "customer.c_phone", "customer.c_acctbal", "customer.c_mktsegment", "customer.c_comment"], "Filter": "(customer.c_mktsegment = 'FURNITURE'::bpchar)", "Rows Removed by Filter": 240101, "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.04, "Actual Total Time": 95.543, "Actual Rows": 58188, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 0.04, "Actual Total Time": 96.055, "Actual Rows": 57081, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 0.044, "Actual Total Time": 95.262, "Actual Rows": 57280, "Actual Loops": 1}, {"Worker Number": 3, "Actual Startup Time": 0.04, "Actual Total Time": 95.103, "Actual Rows": 57757, "Actual Loops": 1}]}, {"Node Type": "Index Scan", "Parent Relationship": "Inner", "Parallel Aware": false, "Scan Direction": "Forward", "Index Name": "o_ck", "Relation Name": "orders", "Schema": "public", "Alias": "orders", "Startup Cost": 0.43, "Total Cost": 1.9, "Plan Rows": 9, "Plan Width": 16, "Actual Startup Time": 0.005, "Actual Total Time": 0.017, "Actual Rows": 5, "Actual Loops": 299496, "Output": ["orders.o_orderkey", "orders.o_custkey", "orders.o_orderstatus", "orders.o_totalprice", "orders.o_orderdate", "orders.o_orderpriority", "orders.o_clerk", "orders.o_shippriority", "orders.o_comment"], "Index Cond": "(orders.o_custkey = customer.c_custkey)", "Rows Removed by Index Recheck": 0, "Filter": "(orders.o_orderdate < '1995-03-20'::date)", "Rows Removed by Filter": 5, "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.005, "Actual Total Time": 0.018, "Actual Rows": 5, "Actual Loops": 58188}, {"Worker Number": 1, "Actual Startup Time": 0.005, "Actual Total Time": 0.018, "Actual Rows": 5, "Actual Loops": 57081}, {"Worker Number": 2, "Actual Startup Time": 0.005, "Actual Total Time": 0.018, "Actual Rows": 5, "Actual Loops": 57280}, {"Worker Number": 3, "Actual Startup Time": 0.005, "Actual Total Time": 0.018, "Actual Rows": 5, "Actual Loops": 57757}]}]}, {"Node Type": "Index Scan", "Parent Relationship": "Inner", "Parallel Aware": false, "Scan Direction": "Forward", "Index Name": "l_ok", "Relation Name": "lineitem", "Schema": "public", "Alias": "lineitem", "Startup Cost": 0.56, "Total Cost": 1.36, "Plan Rows": 16, "Plan Width": 16, "Actual Startup Time": 0.008, "Actual Total Time": 0.008, "Actual Rows": 0, "Actual Loops": 1464651, "Output": ["lineitem.l_orderkey", "lineitem.l_partkey", "lineitem.l_suppkey", "lineitem.l_linenumber", "lineitem.l_quantity", "lineitem.l_extendedprice", "lineitem.l_discount", "lineitem.l_tax", "lineitem.l_returnflag", "lineitem.l_linestatus", "lineitem.l_shipdate", "lineitem.l_commitdate", "lineitem.l_receiptdate", "lineitem.l_shipinstruct", "lineitem.l_shipmode", "lineitem.l_comment"], "Index Cond": "(lineitem.l_orderkey = orders.o_orderkey)", "Rows Removed by Index Recheck": 0, "Filter": "(lineitem.l_shipdate > '1995-03-20'::date)", "Rows Removed by Filter": 4, "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.009, "Actual Total Time": 0.009, "Actual Rows": 0, "Actual Loops": 283853}, {"Worker Number": 1, "Actual Startup Time": 0.009, "Actual Total Time": 0.009, "Actual Rows": 0, "Actual Loops": 279155}, {"Worker Number": 2, "Actual Startup Time": 0.009, "Actual Total Time": 0.009, "Actual Rows": 0, "Actual Loops": 279269}, {"Worker Number": 3, "Actual Startup Time": 0.009, "Actual Total Time": 0.009, "Actual Rows": 0, "Actual Loops": 282478}]}]}]}]}]}]}]}]}, "Planning Time": 0.837, "Triggers": [], "Execution Time": 4697.13} diff --git a/dev9/pg11/tpch/sf_10/explain_analyze/15721/4-1.ok b/dev9/pg11/tpch/sf_10/explain_analyze/15721/4-1.ok new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/dev9/pg11/tpch/sf_10/explain_analyze/15721/4-1.res b/dev9/pg11/tpch/sf_10/explain_analyze/15721/4-1.res new file mode 100644 index 0000000000000000000000000000000000000000..257085a938cc72108341e5c0f3918912c13af7b9 --- /dev/null +++ b/dev9/pg11/tpch/sf_10/explain_analyze/15721/4-1.res @@ -0,0 +1 @@ +{"Plan": {"Node Type": "Aggregate", "Strategy": "Sorted", "Partial Mode": "Finalize", "Parallel Aware": false, "Startup Cost": 343584.23, "Total Cost": 343681.41, "Plan Rows": 5, "Plan Width": 24, "Actual Startup Time": 1086.312, "Actual Total Time": 1251.33, "Actual Rows": 5, "Actual Loops": 1, "Output": ["orders.o_orderpriority", "count(*)"], "Group Key": ["orders.o_orderpriority"], "Plans": [{"Node Type": "Gather Merge", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 343584.23, "Total Cost": 343681.21, "Plan Rows": 30, "Plan Width": 24, "Actual Startup Time": 1082.007, "Actual Total Time": 1251.312, "Actual Rows": 35, "Actual Loops": 1, "Output": ["orders.o_orderpriority", "(PARTIAL count(*))"], "Workers Planned": 6, "Workers Launched": 6, "Plans": [{"Node Type": "Aggregate", "Strategy": "Sorted", "Partial Mode": "Partial", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 342584.13, "Total Cost": 342677.47, "Plan Rows": 5, "Plan Width": 24, "Actual Startup Time": 1072.164, "Actual Total Time": 1083.361, "Actual Rows": 5, "Actual Loops": 7, "Output": ["orders.o_orderpriority", "PARTIAL count(*)"], "Group Key": ["orders.o_orderpriority"], "Workers": [{"Worker Number": 0, "Actual Startup Time": 1071.138, "Actual Total Time": 1081.636, "Actual Rows": 5, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 1070.45, "Actual Total Time": 1080.865, "Actual Rows": 5, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 1071.524, "Actual Total Time": 1082.065, "Actual Rows": 5, "Actual Loops": 1}, {"Worker Number": 3, "Actual Startup Time": 1071.445, "Actual Total Time": 1081.894, "Actual Rows": 5, "Actual Loops": 1}, {"Worker Number": 4, "Actual Startup Time": 1069.68, "Actual Total Time": 1079.948, "Actual Rows": 5, "Actual Loops": 1}, {"Worker Number": 5, "Actual Startup Time": 1069.431, "Actual Total Time": 1078.652, "Actual Rows": 5, "Actual Loops": 1}], "Plans": [{"Node Type": "Sort", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 342584.13, "Total Cost": 342615.23, "Plan Rows": 12438, "Plan Width": 16, "Actual Startup Time": 1069.356, "Actual Total Time": 1073.643, "Actual Rows": 74276, "Actual Loops": 7, "Output": ["orders.o_orderpriority"], "Sort Key": ["orders.o_orderpriority"], "Sort Method": "quicksort", "Sort Space Used": 8388, "Sort Space Type": "Memory", "Workers": [{"Worker Number": 0, "Actual Startup Time": 1068.518, "Actual Total Time": 1072.529, "Actual Rows": 69080, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 1067.837, "Actual Total Time": 1071.771, "Actual Rows": 69338, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 1068.894, "Actual Total Time": 1072.917, "Actual Rows": 69495, "Actual Loops": 1}, {"Worker Number": 3, "Actual Startup Time": 1068.819, "Actual Total Time": 1072.821, "Actual Rows": 68832, "Actual Loops": 1}, {"Worker Number": 4, "Actual Startup Time": 1067.068, "Actual Total Time": 1070.978, "Actual Rows": 68403, "Actual Loops": 1}, {"Worker Number": 5, "Actual Startup Time": 1067.092, "Actual Total Time": 1070.606, "Actual Rows": 61393, "Actual Loops": 1}], "Plans": [{"Node Type": "Nested Loop", "Parent Relationship": "Outer", "Parallel Aware": false, "Join Type": "Semi", "Startup Cost": 7469.76, "Total Cost": 341738.19, "Plan Rows": 12438, "Plan Width": 16, "Actual Startup Time": 201.316, "Actual Total Time": 1044.35, "Actual Rows": 74276, "Actual Loops": 7, "Output": ["orders.o_orderpriority"], "Inner Unique": false, "Workers": [{"Worker Number": 0, "Actual Startup Time": 201.278, "Actual Total Time": 1044.393, "Actual Rows": 69080, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 201.385, "Actual Total Time": 1044.524, "Actual Rows": 69338, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 201.473, "Actual Total Time": 1044.464, "Actual Rows": 69495, "Actual Loops": 1}, {"Worker Number": 3, "Actual Startup Time": 201.51, "Actual Total Time": 1044.637, "Actual Rows": 68832, "Actual Loops": 1}, {"Worker Number": 4, "Actual Startup Time": 201.505, "Actual Total Time": 1044.646, "Actual Rows": 68403, "Actual Loops": 1}, {"Worker Number": 5, "Actual Startup Time": 201.535, "Actual Total Time": 1045.296, "Actual Rows": 61393, "Actual Loops": 1}], "Plans": [{"Node Type": "Bitmap Heap Scan", "Parent Relationship": "Outer", "Parallel Aware": true, "Relation Name": "orders", "Schema": "public", "Alias": "orders", "Startup Cost": 7469.2, "Total Cost": 269788.6, "Plan Rows": 93827, "Plan Width": 20, "Actual Startup Time": 201.212, "Actual Total Time": 399.425, "Actual Rows": 81014, "Actual Loops": 7, "Output": ["orders.o_orderkey", "orders.o_custkey", "orders.o_orderstatus", "orders.o_totalprice", "orders.o_orderdate", "orders.o_orderpriority", "orders.o_clerk", "orders.o_shippriority", "orders.o_comment"], "Recheck Cond": "((orders.o_orderdate >= '1996-01-01'::date) AND (orders.o_orderdate < '1996-04-01 00:00:00'::timestamp without time zone))", "Rows Removed by Index Recheck": 0, "Exact Heap Blocks": 50795, "Lossy Heap Blocks": 0, "Workers": [{"Worker Number": 0, "Actual Startup Time": 201.163, "Actual Total Time": 401.825, "Actual Rows": 75342, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 201.282, "Actual Total Time": 401.647, "Actual Rows": 75657, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 201.373, "Actual Total Time": 402.387, "Actual Rows": 75753, "Actual Loops": 1}, {"Worker Number": 3, "Actual Startup Time": 201.382, "Actual Total Time": 401.716, "Actual Rows": 75060, "Actual Loops": 1}, {"Worker Number": 4, "Actual Startup Time": 201.372, "Actual Total Time": 401.689, "Actual Rows": 74667, "Actual Loops": 1}, {"Worker Number": 5, "Actual Startup Time": 201.424, "Actual Total Time": 402.614, "Actual Rows": 66944, "Actual Loops": 1}], "Plans": [{"Node Type": "Bitmap Index Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Index Name": "o_od", "Startup Cost": 0.0, "Total Cost": 7328.46, "Plan Rows": 562962, "Plan Width": 0, "Actual Startup Time": 117.894, "Actual Total Time": 117.895, "Actual Rows": 567099, "Actual Loops": 1, "Index Cond": "((orders.o_orderdate >= '1996-01-01'::date) AND (orders.o_orderdate < '1996-04-01 00:00:00'::timestamp without time zone))"}]}, {"Node Type": "Index Scan", "Parent Relationship": "Inner", "Parallel Aware": false, "Scan Direction": "Forward", "Index Name": "l_ok", "Relation Name": "lineitem", "Schema": "public", "Alias": "lineitem", "Startup Cost": 0.56, "Total Cost": 2.37, "Plan Rows": 10, "Plan Width": 4, "Actual Startup Time": 0.008, "Actual Total Time": 0.008, "Actual Rows": 1, "Actual Loops": 567099, "Output": ["lineitem.l_orderkey", "lineitem.l_partkey", "lineitem.l_suppkey", "lineitem.l_linenumber", "lineitem.l_quantity", "lineitem.l_extendedprice", "lineitem.l_discount", "lineitem.l_tax", "lineitem.l_returnflag", "lineitem.l_linestatus", "lineitem.l_shipdate", "lineitem.l_commitdate", "lineitem.l_receiptdate", "lineitem.l_shipinstruct", "lineitem.l_shipmode", "lineitem.l_comment"], "Index Cond": "(lineitem.l_orderkey = orders.o_orderkey)", "Rows Removed by Index Recheck": 0, "Filter": "(lineitem.l_commitdate < lineitem.l_receiptdate)", "Rows Removed by Filter": 1, "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.008, "Actual Total Time": 0.008, "Actual Rows": 1, "Actual Loops": 75342}, {"Worker Number": 1, "Actual Startup Time": 0.008, "Actual Total Time": 0.008, "Actual Rows": 1, "Actual Loops": 75657}, {"Worker Number": 2, "Actual Startup Time": 0.008, "Actual Total Time": 0.008, "Actual Rows": 1, "Actual Loops": 75753}, {"Worker Number": 3, "Actual Startup Time": 0.008, "Actual Total Time": 0.008, "Actual Rows": 1, "Actual Loops": 75060}, {"Worker Number": 4, "Actual Startup Time": 0.008, "Actual Total Time": 0.008, "Actual Rows": 1, "Actual Loops": 74667}, {"Worker Number": 5, "Actual Startup Time": 0.009, "Actual Total Time": 0.009, "Actual Rows": 1, "Actual Loops": 66944}]}]}]}]}]}]}, "Planning Time": 0.482, "Triggers": [], "Execution Time": 1251.401} diff --git a/dev9/pg11/tpch/sf_10/explain_analyze/15721/5-1.ok b/dev9/pg11/tpch/sf_10/explain_analyze/15721/5-1.ok new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/dev9/pg11/tpch/sf_10/explain_analyze/15721/5-1.res b/dev9/pg11/tpch/sf_10/explain_analyze/15721/5-1.res new file mode 100644 index 0000000000000000000000000000000000000000..766431ac0c90fb10772050a5fb69560f34010bef --- /dev/null +++ b/dev9/pg11/tpch/sf_10/explain_analyze/15721/5-1.res @@ -0,0 +1 @@ +{"Plan": {"Node Type": "Sort", "Parallel Aware": false, "Startup Cost": 361556.57, "Total Cost": 361556.63, "Plan Rows": 25, "Plan Width": 58, "Actual Startup Time": 2228.115, "Actual Total Time": 2433.757, "Actual Rows": 5, "Actual Loops": 1, "Output": ["nation.n_name", "(sum((lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount))))"], "Sort Key": ["(sum((lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount)))) DESC"], "Sort Method": "quicksort", "Sort Space Used": 25, "Sort Space Type": "Memory", "Plans": [{"Node Type": "Aggregate", "Strategy": "Sorted", "Partial Mode": "Finalize", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 361314.79, "Total Cost": 361555.99, "Plan Rows": 25, "Plan Width": 58, "Actual Startup Time": 2221.452, "Actual Total Time": 2433.746, "Actual Rows": 5, "Actual Loops": 1, "Output": ["nation.n_name", "sum((lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount)))"], "Group Key": ["nation.n_name"], "Plans": [{"Node Type": "Gather Merge", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 361314.79, "Total Cost": 361554.93, "Plan Rows": 100, "Plan Width": 58, "Actual Startup Time": 2219.398, "Actual Total Time": 2433.715, "Actual Rows": 25, "Actual Loops": 1, "Output": ["nation.n_name", "(PARTIAL sum((lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount))))"], "Workers Planned": 4, "Workers Launched": 4, "Plans": [{"Node Type": "Aggregate", "Strategy": "Sorted", "Partial Mode": "Partial", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 360314.73, "Total Cost": 360542.96, "Plan Rows": 25, "Plan Width": 58, "Actual Startup Time": 2214.055, "Actual Total Time": 2220.752, "Actual Rows": 5, "Actual Loops": 5, "Output": ["nation.n_name", "PARTIAL sum((lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount)))"], "Group Key": ["nation.n_name"], "Workers": [{"Worker Number": 0, "Actual Startup Time": 2213.029, "Actual Total Time": 2219.515, "Actual Rows": 5, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 2213.121, "Actual Total Time": 2219.515, "Actual Rows": 5, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 2212.781, "Actual Total Time": 2218.827, "Actual Rows": 5, "Actual Loops": 1}, {"Worker Number": 3, "Actual Startup Time": 2212.56, "Actual Total Time": 2218.952, "Actual Rows": 5, "Actual Loops": 1}], "Plans": [{"Node Type": "Sort", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 360314.73, "Total Cost": 360360.32, "Plan Rows": 18233, "Plan Width": 38, "Actual Startup Time": 2212.391, "Actual Total Time": 2213.349, "Actual Rows": 14545, "Actual Loops": 5, "Output": ["nation.n_name", "lineitem.l_extendedprice", "lineitem.l_discount"], "Sort Key": ["nation.n_name"], "Sort Method": "quicksort", "Sort Space Used": 2171, "Sort Space Type": "Memory", "Workers": [{"Worker Number": 0, "Actual Startup Time": 2211.426, "Actual Total Time": 2212.37, "Actual Rows": 13949, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 2211.577, "Actual Total Time": 2212.472, "Actual Rows": 13870, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 2211.296, "Actual Total Time": 2212.165, "Actual Rows": 13091, "Actual Loops": 1}, {"Worker Number": 3, "Actual Startup Time": 2211.009, "Actual Total Time": 2211.905, "Actual Rows": 13860, "Actual Loops": 1}], "Plans": [{"Node Type": "Hash Join", "Parent Relationship": "Outer", "Parallel Aware": true, "Join Type": "Inner", "Startup Cost": 3690.1, "Total Cost": 359024.36, "Plan Rows": 18233, "Plan Width": 38, "Actual Startup Time": 14.957, "Actual Total Time": 2205.931, "Actual Rows": 14545, "Actual Loops": 5, "Output": ["nation.n_name", "lineitem.l_extendedprice", "lineitem.l_discount"], "Inner Unique": true, "Hash Cond": "((lineitem.l_suppkey = supplier.s_suppkey) AND (customer.c_nationkey = supplier.s_nationkey))", "Workers": [{"Worker Number": 0, "Actual Startup Time": 13.519, "Actual Total Time": 2205.065, "Actual Rows": 13949, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 13.952, "Actual Total Time": 2205.261, "Actual Rows": 13870, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 14.227, "Actual Total Time": 2205.041, "Actual Rows": 13091, "Actual Loops": 1}, {"Worker Number": 3, "Actual Startup Time": 14.745, "Actual Total Time": 2204.819, "Actual Rows": 13860, "Actual Loops": 1}], "Plans": [{"Node Type": "Nested Loop", "Parent Relationship": "Outer", "Parallel Aware": false, "Join Type": "Inner", "Startup Cost": 3.51, "Total Cost": 352944.6, "Plan Rows": 455840, "Plan Width": 50, "Actual Startup Time": 0.295, "Actual Total Time": 2096.049, "Actual Rows": 363271, "Actual Loops": 5, "Output": ["customer.c_nationkey", "lineitem.l_extendedprice", "lineitem.l_discount", "lineitem.l_suppkey", "nation.n_name", "nation.n_nationkey"], "Inner Unique": false, "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.307, "Actual Total Time": 2100.428, "Actual Rows": 349951, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 0.413, "Actual Total Time": 2099.422, "Actual Rows": 347373, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 0.312, "Actual Total Time": 2103.919, "Actual Rows": 330938, "Actual Loops": 1}, {"Worker Number": 3, "Actual Startup Time": 0.346, "Actual Total Time": 2096.968, "Actual Rows": 347560, "Actual Loops": 1}], "Plans": [{"Node Type": "Nested Loop", "Parent Relationship": "Outer", "Parallel Aware": false, "Join Type": "Inner", "Startup Cost": 2.94, "Total Cost": 123598.12, "Plan Rows": 113993, "Plan Width": 38, "Actual Startup Time": 0.219, "Actual Total Time": 1145.464, "Actual Rows": 90894, "Actual Loops": 5, "Output": ["customer.c_nationkey", "orders.o_orderkey", "nation.n_name", "nation.n_nationkey"], "Inner Unique": false, "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.212, "Actual Total Time": 1118.214, "Actual Rows": 87583, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 0.314, "Actual Total Time": 1115.48, "Actual Rows": 86763, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 0.228, "Actual Total Time": 1155.747, "Actual Rows": 82905, "Actual Loops": 1}, {"Worker Number": 3, "Actual Startup Time": 0.263, "Actual Total Time": 1116.702, "Actual Rows": 87165, "Actual Loops": 1}], "Plans": [{"Node Type": "Hash Join", "Parent Relationship": "Outer", "Parallel Aware": false, "Join Type": "Inner", "Startup Cost": 2.51, "Total Cost": 41735.76, "Plan Rows": 75000, "Plan Width": 38, "Actual Startup Time": 0.12, "Actual Total Time": 111.843, "Actual Rows": 59887, "Actual Loops": 5, "Output": ["customer.c_custkey", "customer.c_nationkey", "nation.n_name", "nation.n_nationkey"], "Inner Unique": false, "Hash Cond": "(customer.c_nationkey = nation.n_nationkey)", "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.131, "Actual Total Time": 109.954, "Actual Rows": 57820, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 0.145, "Actual Total Time": 110.158, "Actual Rows": 56917, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 0.148, "Actual Total Time": 108.934, "Actual Rows": 55143, "Actual Loops": 1}, {"Worker Number": 3, "Actual Startup Time": 0.126, "Actual Total Time": 110.173, "Actual Rows": 57117, "Actual Loops": 1}], "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": true, "Relation Name": "customer", "Schema": "public", "Alias": "customer", "Startup Cost": 0.0, "Total Cost": 39577.0, "Plan Rows": 375000, "Plan Width": 8, "Actual Startup Time": 0.021, "Actual Total Time": 39.746, "Actual Rows": 300000, "Actual Loops": 5, "Output": ["customer.c_custkey", "customer.c_name", "customer.c_address", "customer.c_nationkey", "customer.c_phone", "customer.c_acctbal", "customer.c_mktsegment", "customer.c_comment"], "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.023, "Actual Total Time": 40.565, "Actual Rows": 286824, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 0.026, "Actual Total Time": 40.787, "Actual Rows": 285933, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 0.029, "Actual Total Time": 41.215, "Actual Rows": 276388, "Actual Loops": 1}, {"Worker Number": 3, "Actual Startup Time": 0.021, "Actual Total Time": 40.547, "Actual Rows": 287647, "Actual Loops": 1}]}, {"Node Type": "Hash", "Parent Relationship": "Inner", "Parallel Aware": false, "Startup Cost": 2.45, "Total Cost": 2.45, "Plan Rows": 5, "Plan Width": 30, "Actual Startup Time": 0.073, "Actual Total Time": 0.076, "Actual Rows": 5, "Actual Loops": 5, "Output": ["nation.n_name", "nation.n_nationkey"], "Hash Buckets": 1024, "Original Hash Buckets": 1024, "Hash Batches": 1, "Original Hash Batches": 1, "Peak Memory Usage": 9, "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.087, "Actual Total Time": 0.089, "Actual Rows": 5, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 0.082, "Actual Total Time": 0.085, "Actual Rows": 5, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 0.084, "Actual Total Time": 0.086, "Actual Rows": 5, "Actual Loops": 1}, {"Worker Number": 3, "Actual Startup Time": 0.079, "Actual Total Time": 0.081, "Actual Rows": 5, "Actual Loops": 1}], "Plans": [{"Node Type": "Hash Join", "Parent Relationship": "Outer", "Parallel Aware": false, "Join Type": "Inner", "Startup Cost": 1.07, "Total Cost": 2.45, "Plan Rows": 5, "Plan Width": 30, "Actual Startup Time": 0.063, "Actual Total Time": 0.071, "Actual Rows": 5, "Actual Loops": 5, "Output": ["nation.n_name", "nation.n_nationkey"], "Inner Unique": true, "Hash Cond": "(nation.n_regionkey = region.r_regionkey)", "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.077, "Actual Total Time": 0.085, "Actual Rows": 5, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 0.072, "Actual Total Time": 0.079, "Actual Rows": 5, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 0.074, "Actual Total Time": 0.082, "Actual Rows": 5, "Actual Loops": 1}, {"Worker Number": 3, "Actual Startup Time": 0.069, "Actual Total Time": 0.077, "Actual Rows": 5, "Actual Loops": 1}], "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Relation Name": "nation", "Schema": "public", "Alias": "nation", "Startup Cost": 0.0, "Total Cost": 1.25, "Plan Rows": 25, "Plan Width": 34, "Actual Startup Time": 0.015, "Actual Total Time": 0.017, "Actual Rows": 25, "Actual Loops": 5, "Output": ["nation.n_nationkey", "nation.n_name", "nation.n_regionkey", "nation.n_comment"], "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.019, "Actual Total Time": 0.021, "Actual Rows": 25, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 0.018, "Actual Total Time": 0.02, "Actual Rows": 25, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 0.018, "Actual Total Time": 0.02, "Actual Rows": 25, "Actual Loops": 1}, {"Worker Number": 3, "Actual Startup Time": 0.015, "Actual Total Time": 0.017, "Actual Rows": 25, "Actual Loops": 1}]}, {"Node Type": "Hash", "Parent Relationship": "Inner", "Parallel Aware": false, "Startup Cost": 1.06, "Total Cost": 1.06, "Plan Rows": 1, "Plan Width": 4, "Actual Startup Time": 0.033, "Actual Total Time": 0.034, "Actual Rows": 1, "Actual Loops": 5, "Output": ["region.r_regionkey"], "Hash Buckets": 1024, "Original Hash Buckets": 1024, "Hash Batches": 1, "Original Hash Batches": 1, "Peak Memory Usage": 9, "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.04, "Actual Total Time": 0.041, "Actual Rows": 1, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 0.037, "Actual Total Time": 0.038, "Actual Rows": 1, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 0.039, "Actual Total Time": 0.04, "Actual Rows": 1, "Actual Loops": 1}, {"Worker Number": 3, "Actual Startup Time": 0.037, "Actual Total Time": 0.038, "Actual Rows": 1, "Actual Loops": 1}], "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Relation Name": "region", "Schema": "public", "Alias": "region", "Startup Cost": 0.0, "Total Cost": 1.06, "Plan Rows": 1, "Plan Width": 4, "Actual Startup Time": 0.026, "Actual Total Time": 0.027, "Actual Rows": 1, "Actual Loops": 5, "Output": ["region.r_regionkey"], "Filter": "(region.r_name = 'AMERICA'::bpchar)", "Rows Removed by Filter": 4, "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.033, "Actual Total Time": 0.034, "Actual Rows": 1, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 0.029, "Actual Total Time": 0.03, "Actual Rows": 1, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 0.03, "Actual Total Time": 0.032, "Actual Rows": 1, "Actual Loops": 1}, {"Worker Number": 3, "Actual Startup Time": 0.031, "Actual Total Time": 0.032, "Actual Rows": 1, "Actual Loops": 1}]}]}]}]}]}, {"Node Type": "Index Scan", "Parent Relationship": "Inner", "Parallel Aware": false, "Scan Direction": "Forward", "Index Name": "o_ck", "Relation Name": "orders", "Schema": "public", "Alias": "orders", "Startup Cost": 0.43, "Total Cost": 1.06, "Plan Rows": 3, "Plan Width": 8, "Actual Startup Time": 0.008, "Actual Total Time": 0.017, "Actual Rows": 2, "Actual Loops": 299436, "Output": ["orders.o_orderkey", "orders.o_custkey", "orders.o_orderstatus", "orders.o_totalprice", "orders.o_orderdate", "orders.o_orderpriority", "orders.o_clerk", "orders.o_shippriority", "orders.o_comment"], "Index Cond": "(orders.o_custkey = customer.c_custkey)", "Rows Removed by Index Recheck": 0, "Filter": "((orders.o_orderdate >= '1995-01-01'::date) AND (orders.o_orderdate < '1996-01-01 00:00:00'::timestamp without time zone))", "Rows Removed by Filter": 8, "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.008, "Actual Total Time": 0.017, "Actual Rows": 2, "Actual Loops": 57820}, {"Worker Number": 1, "Actual Startup Time": 0.008, "Actual Total Time": 0.017, "Actual Rows": 2, "Actual Loops": 56917}, {"Worker Number": 2, "Actual Startup Time": 0.009, "Actual Total Time": 0.019, "Actual Rows": 2, "Actual Loops": 55143}, {"Worker Number": 3, "Actual Startup Time": 0.008, "Actual Total Time": 0.017, "Actual Rows": 2, "Actual Loops": 57117}]}]}, {"Node Type": "Index Scan", "Parent Relationship": "Inner", "Parallel Aware": false, "Scan Direction": "Forward", "Index Name": "l_ok", "Relation Name": "lineitem", "Schema": "public", "Alias": "lineitem", "Startup Cost": 0.56, "Total Cost": 1.71, "Plan Rows": 30, "Plan Width": 20, "Actual Startup Time": 0.008, "Actual Total Time": 0.009, "Actual Rows": 4, "Actual Loops": 454468, "Output": ["lineitem.l_orderkey", "lineitem.l_partkey", "lineitem.l_suppkey", "lineitem.l_linenumber", "lineitem.l_quantity", "lineitem.l_extendedprice", "lineitem.l_discount", "lineitem.l_tax", "lineitem.l_returnflag", "lineitem.l_linestatus", "lineitem.l_shipdate", "lineitem.l_commitdate", "lineitem.l_receiptdate", "lineitem.l_shipinstruct", "lineitem.l_shipmode", "lineitem.l_comment"], "Index Cond": "(lineitem.l_orderkey = orders.o_orderkey)", "Rows Removed by Index Recheck": 0, "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.009, "Actual Total Time": 0.01, "Actual Rows": 4, "Actual Loops": 87583}, {"Worker Number": 1, "Actual Startup Time": 0.009, "Actual Total Time": 0.01, "Actual Rows": 4, "Actual Loops": 86763}, {"Worker Number": 2, "Actual Startup Time": 0.009, "Actual Total Time": 0.01, "Actual Rows": 4, "Actual Loops": 82905}, {"Worker Number": 3, "Actual Startup Time": 0.009, "Actual Total Time": 0.01, "Actual Rows": 4, "Actual Loops": 87165}]}]}, {"Node Type": "Hash", "Parent Relationship": "Inner", "Parallel Aware": true, "Startup Cost": 2804.24, "Total Cost": 2804.24, "Plan Rows": 58824, "Plan Width": 8, "Actual Startup Time": 13.807, "Actual Total Time": 13.808, "Actual Rows": 20000, "Actual Loops": 5, "Output": ["supplier.s_suppkey", "supplier.s_nationkey"], "Hash Buckets": 131072, "Original Hash Buckets": 131072, "Hash Batches": 1, "Original Hash Batches": 1, "Peak Memory Usage": 4992, "Workers": [{"Worker Number": 0, "Actual Startup Time": 13.129, "Actual Total Time": 13.129, "Actual Rows": 17188, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 13.114, "Actual Total Time": 13.114, "Actual Rows": 17101, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 13.13, "Actual Total Time": 13.13, "Actual Rows": 17049, "Actual Loops": 1}, {"Worker Number": 3, "Actual Startup Time": 13.118, "Actual Total Time": 13.119, "Actual Rows": 17891, "Actual Loops": 1}], "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": true, "Relation Name": "supplier", "Schema": "public", "Alias": "supplier", "Startup Cost": 0.0, "Total Cost": 2804.24, "Plan Rows": 58824, "Plan Width": 8, "Actual Startup Time": 0.019, "Actual Total Time": 6.433, "Actual Rows": 20000, "Actual Loops": 5, "Output": ["supplier.s_suppkey", "supplier.s_nationkey"], "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.022, "Actual Total Time": 6.162, "Actual Rows": 17188, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 0.019, "Actual Total Time": 6.248, "Actual Rows": 17101, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 0.023, "Actual Total Time": 6.216, "Actual Rows": 17049, "Actual Loops": 1}, {"Worker Number": 3, "Actual Startup Time": 0.022, "Actual Total Time": 6.349, "Actual Rows": 17891, "Actual Loops": 1}]}]}]}]}]}]}]}]}, "Planning Time": 2.416, "Triggers": [], "Execution Time": 2433.85} diff --git a/dev9/pg11/tpch/sf_10/explain_analyze/15721/6-1.ok b/dev9/pg11/tpch/sf_10/explain_analyze/15721/6-1.ok new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/dev9/pg11/tpch/sf_10/explain_analyze/15721/6-1.res b/dev9/pg11/tpch/sf_10/explain_analyze/15721/6-1.res new file mode 100644 index 0000000000000000000000000000000000000000..061cf84bd50345e7b3419e1a3f5e34fd949f0970 --- /dev/null +++ b/dev9/pg11/tpch/sf_10/explain_analyze/15721/6-1.res @@ -0,0 +1 @@ +{"Plan": {"Node Type": "Aggregate", "Strategy": "Plain", "Partial Mode": "Finalize", "Parallel Aware": false, "Startup Cost": 1319173.37, "Total Cost": 1319173.38, "Plan Rows": 1, "Plan Width": 32, "Actual Startup Time": 2348.707, "Actual Total Time": 2560.077, "Actual Rows": 1, "Actual Loops": 1, "Output": ["sum((l_extendedprice * l_discount))"], "Plans": [{"Node Type": "Gather", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 1319172.63, "Total Cost": 1319173.34, "Plan Rows": 7, "Plan Width": 32, "Actual Startup Time": 2348.604, "Actual Total Time": 2560.063, "Actual Rows": 8, "Actual Loops": 1, "Output": ["(PARTIAL sum((l_extendedprice * l_discount)))"], "Workers Planned": 7, "Workers Launched": 7, "Single Copy": false, "Plans": [{"Node Type": "Aggregate", "Strategy": "Plain", "Partial Mode": "Partial", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 1318172.63, "Total Cost": 1318172.64, "Plan Rows": 1, "Plan Width": 32, "Actual Startup Time": 2344.637, "Actual Total Time": 2344.638, "Actual Rows": 1, "Actual Loops": 8, "Output": ["PARTIAL sum((l_extendedprice * l_discount))"], "Workers": [{"Worker Number": 0, "Actual Startup Time": 2343.896, "Actual Total Time": 2343.898, "Actual Rows": 1, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 2344.014, "Actual Total Time": 2344.016, "Actual Rows": 1, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 2344.146, "Actual Total Time": 2344.147, "Actual Rows": 1, "Actual Loops": 1}, {"Worker Number": 3, "Actual Startup Time": 2344.214, "Actual Total Time": 2344.215, "Actual Rows": 1, "Actual Loops": 1}, {"Worker Number": 4, "Actual Startup Time": 2344.236, "Actual Total Time": 2344.236, "Actual Rows": 1, "Actual Loops": 1}, {"Worker Number": 5, "Actual Startup Time": 2344.225, "Actual Total Time": 2344.226, "Actual Rows": 1, "Actual Loops": 1}, {"Worker Number": 6, "Actual Startup Time": 2344.22, "Actual Total Time": 2344.221, "Actual Rows": 1, "Actual Loops": 1}], "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": true, "Relation Name": "lineitem", "Schema": "public", "Alias": "lineitem", "Startup Cost": 0.0, "Total Cost": 1317353.47, "Plan Rows": 163830, "Plan Width": 12, "Actual Startup Time": 0.053, "Actual Total Time": 2298.218, "Actual Rows": 143005, "Actual Loops": 8, "Output": ["l_orderkey", "l_partkey", "l_suppkey", "l_linenumber", "l_quantity", "l_extendedprice", "l_discount", "l_tax", "l_returnflag", "l_linestatus", "l_shipdate", "l_commitdate", "l_receiptdate", "l_shipinstruct", "l_shipmode", "l_comment"], "Filter": "((lineitem.l_shipdate >= '1995-01-01'::date) AND (lineitem.l_shipdate < '1996-01-01 00:00:00'::timestamp without time zone) AND (lineitem.l_discount >= 0.04) AND (lineitem.l_discount <= 0.06) AND (lineitem.l_quantity < '24'::numeric))", "Rows Removed by Filter": 7355252, "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.036, "Actual Total Time": 2298.989, "Actual Rows": 136231, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 0.125, "Actual Total Time": 2299.315, "Actual Rows": 135499, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 0.025, "Actual Total Time": 2299.412, "Actual Rows": 135779, "Actual Loops": 1}, {"Worker Number": 3, "Actual Startup Time": 0.051, "Actual Total Time": 2299.226, "Actual Rows": 136141, "Actual Loops": 1}, {"Worker Number": 4, "Actual Startup Time": 0.056, "Actual Total Time": 2300.101, "Actual Rows": 133637, "Actual Loops": 1}, {"Worker Number": 5, "Actual Startup Time": 0.059, "Actual Total Time": 2299.852, "Actual Rows": 134102, "Actual Loops": 1}, {"Worker Number": 6, "Actual Startup Time": 0.058, "Actual Total Time": 2300.067, "Actual Rows": 133569, "Actual Loops": 1}]}]}]}]}, "Planning Time": 0.171, "Triggers": [], "Execution Time": 2560.119} diff --git a/dev9/pg11/tpch/sf_10/explain_analyze/15721/7-1.ok b/dev9/pg11/tpch/sf_10/explain_analyze/15721/7-1.ok new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/dev9/pg11/tpch/sf_10/explain_analyze/15721/7-1.res b/dev9/pg11/tpch/sf_10/explain_analyze/15721/7-1.res new file mode 100644 index 0000000000000000000000000000000000000000..533729f65f1e4870cb3cec0bf9d9490ad99d8186 --- /dev/null +++ b/dev9/pg11/tpch/sf_10/explain_analyze/15721/7-1.res @@ -0,0 +1 @@ +{"Plan": {"Node Type": "Aggregate", "Strategy": "Sorted", "Partial Mode": "Finalize", "Parallel Aware": false, "Startup Cost": 246662.62, "Total Cost": 248126.54, "Plan Rows": 10096, "Plan Width": 92, "Actual Startup Time": 5385.012, "Actual Total Time": 5644.962, "Actual Rows": 4, "Actual Loops": 1, "Output": ["n1.n_name", "n2.n_name", "(date_part('year'::text, (lineitem.l_shipdate)::timestamp without time zone))", "sum((lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount)))"], "Group Key": ["n1.n_name", "n2.n_name", "(date_part('year'::text, (lineitem.l_shipdate)::timestamp without time zone))"], "Plans": [{"Node Type": "Gather Merge", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 246662.62, "Total Cost": 247823.66, "Plan Rows": 10096, "Plan Width": 92, "Actual Startup Time": 5384.999, "Actual Total Time": 5644.943, "Actual Rows": 8, "Actual Loops": 1, "Output": ["n1.n_name", "n2.n_name", "(date_part('year'::text, (lineitem.l_shipdate)::timestamp without time zone))", "(PARTIAL sum((lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount))))"], "Workers Planned": 1, "Workers Launched": 1, "Plans": [{"Node Type": "Sort", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 245662.61, "Total Cost": 245687.85, "Plan Rows": 10096, "Plan Width": 92, "Actual Startup Time": 5381.857, "Actual Total Time": 5382.298, "Actual Rows": 4, "Actual Loops": 2, "Output": ["n1.n_name", "n2.n_name", "(date_part('year'::text, (lineitem.l_shipdate)::timestamp without time zone))", "(PARTIAL sum((lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount))))"], "Sort Key": ["n1.n_name", "n2.n_name", "(date_part('year'::text, (lineitem.l_shipdate)::timestamp without time zone))"], "Sort Method": "quicksort", "Sort Space Used": 25, "Sort Space Type": "Memory", "Workers": [{"Worker Number": 0, "Actual Startup Time": 5379.593, "Actual Total Time": 5379.603, "Actual Rows": 4, "Actual Loops": 1}], "Plans": [{"Node Type": "Aggregate", "Strategy": "Hashed", "Partial Mode": "Partial", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 244814.47, "Total Cost": 244991.15, "Plan Rows": 10096, "Plan Width": 92, "Actual Startup Time": 5381.786, "Actual Total Time": 5382.267, "Actual Rows": 4, "Actual Loops": 2, "Output": ["n1.n_name", "n2.n_name", "(date_part('year'::text, (lineitem.l_shipdate)::timestamp without time zone))", "PARTIAL sum((lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount)))"], "Group Key": ["n1.n_name", "n2.n_name", "date_part('year'::text, (lineitem.l_shipdate)::timestamp without time zone)"], "Workers": [{"Worker Number": 0, "Actual Startup Time": 5379.502, "Actual Total Time": 5379.555, "Actual Rows": 4, "Actual Loops": 1}], "Plans": [{"Node Type": "Hash Join", "Parent Relationship": "Outer", "Parallel Aware": true, "Join Type": "Inner", "Startup Cost": 81077.76, "Total Cost": 244280.61, "Plan Rows": 35591, "Plan Width": 72, "Actual Startup Time": 5184.681, "Actual Total Time": 5358.201, "Actual Rows": 28896, "Actual Loops": 2, "Output": ["n1.n_name", "n2.n_name", "date_part('year'::text, (lineitem.l_shipdate)::timestamp without time zone)", "lineitem.l_extendedprice", "lineitem.l_discount"], "Inner Unique": false, "Hash Cond": "(lineitem.l_orderkey = orders.o_orderkey)", "Join Filter": "(((n1.n_name = 'IRAN'::bpchar) AND (n2.n_name = 'ETHIOPIA'::bpchar)) OR ((n1.n_name = 'ETHIOPIA'::bpchar) AND (n2.n_name = 'IRAN'::bpchar)))", "Rows Removed by Join Filter": 28926, "Workers": [{"Worker Number": 0, "Actual Startup Time": 5169.184, "Actual Total Time": 5355.105, "Actual Rows": 29572, "Actual Loops": 1}], "Plans": [{"Node Type": "Nested Loop", "Parent Relationship": "Outer", "Parallel Aware": false, "Join Type": "Inner", "Startup Cost": 1.96, "Total Cost": 142392.63, "Plan Rows": 855234, "Plan Width": 46, "Actual Startup Time": 0.178, "Actual Total Time": 3624.28, "Actual Rows": 725418, "Actual Loops": 2, "Output": ["lineitem.l_shipdate", "lineitem.l_extendedprice", "lineitem.l_discount", "lineitem.l_orderkey", "n1.n_name"], "Inner Unique": false, "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.297, "Actual Total Time": 3635.291, "Actual Rows": 679586, "Actual Loops": 1}], "Plans": [{"Node Type": "Hash Join", "Parent Relationship": "Outer", "Parallel Aware": false, "Join Type": "Inner", "Startup Cost": 1.4, "Total Cost": 2986.23, "Plan Rows": 4706, "Plan Width": 30, "Actual Startup Time": 0.037, "Actual Total Time": 17.155, "Actual Rows": 3984, "Actual Loops": 2, "Output": ["supplier.s_suppkey", "n1.n_name"], "Inner Unique": true, "Hash Cond": "(supplier.s_nationkey = n1.n_nationkey)", "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.041, "Actual Total Time": 16.561, "Actual Rows": 3736, "Actual Loops": 1}], "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": true, "Relation Name": "supplier", "Schema": "public", "Alias": "supplier", "Startup Cost": 0.0, "Total Cost": 2804.24, "Plan Rows": 58824, "Plan Width": 8, "Actual Startup Time": 0.007, "Actual Total Time": 5.879, "Actual Rows": 50000, "Actual Loops": 2, "Output": ["supplier.s_suppkey", "supplier.s_name", "supplier.s_address", "supplier.s_nationkey", "supplier.s_phone", "supplier.s_acctbal", "supplier.s_comment"], "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.012, "Actual Total Time": 5.9, "Actual Rows": 45630, "Actual Loops": 1}]}, {"Node Type": "Hash", "Parent Relationship": "Inner", "Parallel Aware": false, "Startup Cost": 1.38, "Total Cost": 1.38, "Plan Rows": 2, "Plan Width": 30, "Actual Startup Time": 0.017, "Actual Total Time": 0.018, "Actual Rows": 2, "Actual Loops": 2, "Output": ["n1.n_name", "n1.n_nationkey"], "Hash Buckets": 1024, "Original Hash Buckets": 1024, "Hash Batches": 1, "Original Hash Batches": 1, "Peak Memory Usage": 9, "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.015, "Actual Total Time": 0.017, "Actual Rows": 2, "Actual Loops": 1}], "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Relation Name": "nation", "Schema": "public", "Alias": "n1", "Startup Cost": 0.0, "Total Cost": 1.38, "Plan Rows": 2, "Plan Width": 30, "Actual Startup Time": 0.01, "Actual Total Time": 0.015, "Actual Rows": 2, "Actual Loops": 2, "Output": ["n1.n_name", "n1.n_nationkey"], "Filter": "((n1.n_name = 'IRAN'::bpchar) OR (n1.n_name = 'ETHIOPIA'::bpchar))", "Rows Removed by Filter": 23, "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.009, "Actual Total Time": 0.013, "Actual Rows": 2, "Actual Loops": 1}]}]}]}, {"Node Type": "Index Scan", "Parent Relationship": "Inner", "Parallel Aware": false, "Scan Direction": "Forward", "Index Name": "l_sk", "Relation Name": "lineitem", "Schema": "public", "Alias": "lineitem", "Startup Cost": 0.56, "Total Cost": 27.8, "Plan Rows": 182, "Plan Width": 24, "Actual Startup Time": 0.015, "Actual Total Time": 0.88, "Actual Rows": 182, "Actual Loops": 7968, "Output": ["lineitem.l_orderkey", "lineitem.l_partkey", "lineitem.l_suppkey", "lineitem.l_linenumber", "lineitem.l_quantity", "lineitem.l_extendedprice", "lineitem.l_discount", "lineitem.l_tax", "lineitem.l_returnflag", "lineitem.l_linestatus", "lineitem.l_shipdate", "lineitem.l_commitdate", "lineitem.l_receiptdate", "lineitem.l_shipinstruct", "lineitem.l_shipmode", "lineitem.l_comment"], "Index Cond": "(lineitem.l_suppkey = supplier.s_suppkey)", "Rows Removed by Index Recheck": 0, "Filter": "((lineitem.l_shipdate >= '1995-01-01'::date) AND (lineitem.l_shipdate <= '1996-12-31'::date))", "Rows Removed by Filter": 417, "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.018, "Actual Total Time": 0.944, "Actual Rows": 182, "Actual Loops": 3736}]}]}, {"Node Type": "Hash", "Parent Relationship": "Inner", "Parallel Aware": true, "Startup Cost": 75274.6, "Total Cost": 75274.6, "Plan Rows": 300016, "Plan Width": 30, "Actual Startup Time": 1341.653, "Actual Total Time": 1341.656, "Actual Rows": 601562, "Actual Loops": 2, "Output": ["orders.o_orderkey", "n2.n_name"], "Hash Buckets": 524288, "Original Hash Buckets": 524288, "Hash Batches": 8, "Original Hash Batches": 8, "Peak Memory Usage": 13568, "Workers": [{"Worker Number": 0, "Actual Startup Time": 1341.116, "Actual Total Time": 1341.119, "Actual Rows": 568132, "Actual Loops": 1}], "Plans": [{"Node Type": "Nested Loop", "Parent Relationship": "Outer", "Parallel Aware": false, "Join Type": "Inner", "Startup Cost": 1.83, "Total Cost": 75274.6, "Plan Rows": 300016, "Plan Width": 30, "Actual Startup Time": 0.121, "Actual Total Time": 1199.391, "Actual Rows": 601562, "Actual Loops": 2, "Output": ["orders.o_orderkey", "n2.n_name"], "Inner Unique": false, "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.191, "Actual Total Time": 1205.599, "Actual Rows": 568132, "Actual Loops": 1}], "Plans": [{"Node Type": "Hash Join", "Parent Relationship": "Outer", "Parallel Aware": false, "Join Type": "Inner", "Startup Cost": 1.4, "Total Cost": 40729.65, "Plan Rows": 30000, "Plan Width": 30, "Actual Startup Time": 0.056, "Actual Total Time": 218.695, "Actual Rows": 60286, "Actual Loops": 2, "Output": ["customer.c_custkey", "n2.n_name"], "Inner Unique": true, "Hash Cond": "(customer.c_nationkey = n2.n_nationkey)", "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.077, "Actual Total Time": 215.279, "Actual Rows": 56971, "Actual Loops": 1}], "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": true, "Relation Name": "customer", "Schema": "public", "Alias": "customer", "Startup Cost": 0.0, "Total Cost": 39577.0, "Plan Rows": 375000, "Plan Width": 8, "Actual Startup Time": 0.015, "Actual Total Time": 74.432, "Actual Rows": 750000, "Actual Loops": 2, "Output": ["customer.c_custkey", "customer.c_name", "customer.c_address", "customer.c_nationkey", "customer.c_phone", "customer.c_acctbal", "customer.c_mktsegment", "customer.c_comment"], "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.026, "Actual Total Time": 74.565, "Actual Rows": 711061, "Actual Loops": 1}]}, {"Node Type": "Hash", "Parent Relationship": "Inner", "Parallel Aware": false, "Startup Cost": 1.38, "Total Cost": 1.38, "Plan Rows": 2, "Plan Width": 30, "Actual Startup Time": 0.026, "Actual Total Time": 0.026, "Actual Rows": 2, "Actual Loops": 2, "Output": ["n2.n_name", "n2.n_nationkey"], "Hash Buckets": 1024, "Original Hash Buckets": 1024, "Hash Batches": 1, "Original Hash Batches": 1, "Peak Memory Usage": 9, "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.033, "Actual Total Time": 0.034, "Actual Rows": 2, "Actual Loops": 1}], "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Relation Name": "nation", "Schema": "public", "Alias": "n2", "Startup Cost": 0.0, "Total Cost": 1.38, "Plan Rows": 2, "Plan Width": 30, "Actual Startup Time": 0.016, "Actual Total Time": 0.021, "Actual Rows": 2, "Actual Loops": 2, "Output": ["n2.n_name", "n2.n_nationkey"], "Filter": "((n2.n_name = 'ETHIOPIA'::bpchar) OR (n2.n_name = 'IRAN'::bpchar))", "Rows Removed by Filter": 23, "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.023, "Actual Total Time": 0.027, "Actual Rows": 2, "Actual Loops": 1}]}]}]}, {"Node Type": "Index Scan", "Parent Relationship": "Inner", "Parallel Aware": false, "Scan Direction": "Forward", "Index Name": "o_ck", "Relation Name": "orders", "Schema": "public", "Alias": "orders", "Startup Cost": 0.43, "Total Cost": 0.97, "Plan Rows": 18, "Plan Width": 8, "Actual Startup Time": 0.003, "Actual Total Time": 0.015, "Actual Rows": 10, "Actual Loops": 120572, "Output": ["orders.o_orderkey", "orders.o_custkey", "orders.o_orderstatus", "orders.o_totalprice", "orders.o_orderdate", "orders.o_orderpriority", "orders.o_clerk", "orders.o_shippriority", "orders.o_comment"], "Index Cond": "(orders.o_custkey = customer.c_custkey)", "Rows Removed by Index Recheck": 0, "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.004, "Actual Total Time": 0.016, "Actual Rows": 10, "Actual Loops": 56971}]}]}]}]}]}]}]}]}, "Planning Time": 1.814, "Triggers": [], "Execution Time": 5645.158} diff --git a/dev9/pg11/tpch/sf_10/explain_analyze/15721/8-1.ok b/dev9/pg11/tpch/sf_10/explain_analyze/15721/8-1.ok new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/dev9/pg11/tpch/sf_10/explain_analyze/15721/8-1.res b/dev9/pg11/tpch/sf_10/explain_analyze/15721/8-1.res new file mode 100644 index 0000000000000000000000000000000000000000..53f7103a56c371fd8ceeb3ef44e504b735f8801a --- /dev/null +++ b/dev9/pg11/tpch/sf_10/explain_analyze/15721/8-1.res @@ -0,0 +1 @@ +{"Plan": {"Node Type": "Aggregate", "Strategy": "Sorted", "Partial Mode": "Finalize", "Parallel Aware": false, "Startup Cost": 214748.9, "Total Cost": 216253.89, "Plan Rows": 2406, "Plan Width": 40, "Actual Startup Time": 1091.732, "Actual Total Time": 1318.816, "Actual Rows": 2, "Actual Loops": 1, "Output": ["(date_part('year'::text, (orders.o_orderdate)::timestamp without time zone))", "(sum(CASE WHEN (n2.n_name = 'ETHIOPIA'::bpchar) THEN (lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount)) ELSE '0'::numeric END) / sum((lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount))))"], "Group Key": ["(date_part('year'::text, (orders.o_orderdate)::timestamp without time zone))"], "Plans": [{"Node Type": "Gather Merge", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 214748.9, "Total Cost": 216079.45, "Plan Rows": 9624, "Plan Width": 72, "Actual Startup Time": 1089.545, "Actual Total Time": 1318.793, "Actual Rows": 10, "Actual Loops": 1, "Output": ["(date_part('year'::text, (orders.o_orderdate)::timestamp without time zone))", "(PARTIAL sum(CASE WHEN (n2.n_name = 'ETHIOPIA'::bpchar) THEN (lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount)) ELSE '0'::numeric END))", "(PARTIAL sum((lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount))))"], "Workers Planned": 4, "Workers Launched": 4, "Plans": [{"Node Type": "Aggregate", "Strategy": "Sorted", "Partial Mode": "Partial", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 213748.84, "Total Cost": 213933.09, "Plan Rows": 2406, "Plan Width": 72, "Actual Startup Time": 1084.437, "Actual Total Time": 1085.993, "Actual Rows": 2, "Actual Loops": 5, "Output": ["(date_part('year'::text, (orders.o_orderdate)::timestamp without time zone))", "PARTIAL sum(CASE WHEN (n2.n_name = 'ETHIOPIA'::bpchar) THEN (lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount)) ELSE '0'::numeric END)", "PARTIAL sum((lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount)))"], "Group Key": ["(date_part('year'::text, (orders.o_orderdate)::timestamp without time zone))"], "Workers": [{"Worker Number": 0, "Actual Startup Time": 1083.115, "Actual Total Time": 1084.57, "Actual Rows": 2, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 1083.315, "Actual Total Time": 1084.665, "Actual Rows": 2, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 1083.242, "Actual Total Time": 1084.609, "Actual Rows": 2, "Actual Loops": 1}, {"Worker Number": 3, "Actual Startup Time": 1083.683, "Actual Total Time": 1085.121, "Actual Rows": 2, "Actual Loops": 1}], "Plans": [{"Node Type": "Sort", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 213748.84, "Total Cost": 213763.97, "Plan Rows": 6050, "Plan Width": 46, "Actual Startup Time": 1082.842, "Actual Total Time": 1083.148, "Actual Rows": 4974, "Actual Loops": 5, "Output": ["(date_part('year'::text, (orders.o_orderdate)::timestamp without time zone))", "n2.n_name", "lineitem.l_extendedprice", "lineitem.l_discount"], "Sort Key": ["(date_part('year'::text, (orders.o_orderdate)::timestamp without time zone))"], "Sort Method": "quicksort", "Sort Space Used": 732, "Sort Space Type": "Memory", "Workers": [{"Worker Number": 0, "Actual Startup Time": 1081.665, "Actual Total Time": 1081.947, "Actual Rows": 4588, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 1081.888, "Actual Total Time": 1082.16, "Actual Rows": 4374, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 1081.794, "Actual Total Time": 1082.069, "Actual Rows": 4442, "Actual Loops": 1}, {"Worker Number": 3, "Actual Startup Time": 1082.237, "Actual Total Time": 1082.516, "Actual Rows": 4566, "Actual Loops": 1}], "Plans": [{"Node Type": "Hash Join", "Parent Relationship": "Outer", "Parallel Aware": false, "Join Type": "Inner", "Startup Cost": 5.79, "Total Cost": 213368.82, "Plan Rows": 6050, "Plan Width": 46, "Actual Startup Time": 2.482, "Actual Total Time": 1081.156, "Actual Rows": 4974, "Actual Loops": 5, "Output": ["date_part('year'::text, (orders.o_orderdate)::timestamp without time zone)", "n2.n_name", "lineitem.l_extendedprice", "lineitem.l_discount"], "Inner Unique": true, "Hash Cond": "(supplier.s_nationkey = n2.n_nationkey)", "Workers": [{"Worker Number": 0, "Actual Startup Time": 3.357, "Actual Total Time": 1080.041, "Actual Rows": 4588, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 1.282, "Actual Total Time": 1080.335, "Actual Rows": 4374, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 4.664, "Actual Total Time": 1080.212, "Actual Rows": 4442, "Actual Loops": 1}, {"Worker Number": 3, "Actual Startup Time": 2.99, "Actual Total Time": 1080.612, "Actual Rows": 4566, "Actual Loops": 1}], "Plans": [{"Node Type": "Nested Loop", "Parent Relationship": "Outer", "Parallel Aware": false, "Join Type": "Inner", "Startup Cost": 4.23, "Total Cost": 213318.43, "Plan Rows": 6050, "Plan Width": 20, "Actual Startup Time": 2.402, "Actual Total Time": 1078.644, "Actual Rows": 4974, "Actual Loops": 5, "Output": ["lineitem.l_extendedprice", "lineitem.l_discount", "supplier.s_nationkey", "orders.o_orderdate"], "Inner Unique": true, "Workers": [{"Worker Number": 0, "Actual Startup Time": 3.263, "Actual Total Time": 1077.652, "Actual Rows": 4588, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 1.194, "Actual Total Time": 1078.057, "Actual Rows": 4374, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 4.568, "Actual Total Time": 1077.875, "Actual Rows": 4442, "Actual Loops": 1}, {"Worker Number": 3, "Actual Startup Time": 2.898, "Actual Total Time": 1078.244, "Actual Rows": 4566, "Actual Loops": 1}], "Plans": [{"Node Type": "Hash Join", "Parent Relationship": "Outer", "Parallel Aware": false, "Join Type": "Inner", "Startup Cost": 3.94, "Total Cost": 211442.66, "Plan Rows": 6050, "Plan Width": 20, "Actual Startup Time": 2.357, "Actual Total Time": 1059.593, "Actual Rows": 4974, "Actual Loops": 5, "Output": ["lineitem.l_extendedprice", "lineitem.l_discount", "lineitem.l_suppkey", "orders.o_orderdate"], "Inner Unique": false, "Hash Cond": "(customer.c_nationkey = n1.n_nationkey)", "Workers": [{"Worker Number": 0, "Actual Startup Time": 3.208, "Actual Total Time": 1059.925, "Actual Rows": 4588, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 1.141, "Actual Total Time": 1060.606, "Actual Rows": 4374, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 4.514, "Actual Total Time": 1060.455, "Actual Rows": 4442, "Actual Loops": 1}, {"Worker Number": 3, "Actual Startup Time": 2.842, "Actual Total Time": 1060.246, "Actual Rows": 4566, "Actual Loops": 1}], "Plans": [{"Node Type": "Nested Loop", "Parent Relationship": "Outer", "Parallel Aware": false, "Join Type": "Inner", "Startup Cost": 1.43, "Total Cost": 211266.22, "Plan Rows": 30248, "Plan Width": 24, "Actual Startup Time": 0.418, "Actual Total Time": 1054.777, "Actual Rows": 24632, "Actual Loops": 5, "Output": ["lineitem.l_extendedprice", "lineitem.l_discount", "lineitem.l_suppkey", "orders.o_orderdate", "customer.c_nationkey"], "Inner Unique": true, "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.464, "Actual Total Time": 1055.44, "Actual Rows": 22244, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 0.668, "Actual Total Time": 1056.192, "Actual Rows": 22211, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 0.526, "Actual Total Time": 1056.062, "Actual Rows": 22009, "Actual Loops": 1}, {"Worker Number": 3, "Actual Startup Time": 0.381, "Actual Total Time": 1055.756, "Actual Rows": 22260, "Actual Loops": 1}], "Plans": [{"Node Type": "Nested Loop", "Parent Relationship": "Outer", "Parallel Aware": false, "Join Type": "Inner", "Startup Cost": 1.0, "Total Cost": 197513.61, "Plan Rows": 30248, "Plan Width": 24, "Actual Startup Time": 0.353, "Actual Total Time": 920.548, "Actual Rows": 24632, "Actual Loops": 5, "Output": ["lineitem.l_extendedprice", "lineitem.l_discount", "lineitem.l_suppkey", "orders.o_orderdate", "orders.o_custkey"], "Inner Unique": true, "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.385, "Actual Total Time": 929.046, "Actual Rows": 22244, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 0.588, "Actual Total Time": 929.264, "Actual Rows": 22211, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 0.454, "Actual Total Time": 929.703, "Actual Rows": 22009, "Actual Loops": 1}, {"Worker Number": 3, "Actual Startup Time": 0.295, "Actual Total Time": 929.131, "Actual Rows": 22260, "Actual Loops": 1}], "Plans": [{"Node Type": "Nested Loop", "Parent Relationship": "Outer", "Parallel Aware": false, "Join Type": "Inner", "Startup Cost": 0.56, "Total Cost": 151312.06, "Plan Rows": 99779, "Plan Width": 20, "Actual Startup Time": 0.177, "Actual Total Time": 397.991, "Actual Rows": 80815, "Actual Loops": 5, "Output": ["lineitem.l_extendedprice", "lineitem.l_discount", "lineitem.l_suppkey", "lineitem.l_orderkey"], "Inner Unique": false, "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.227, "Actual Total Time": 423.349, "Actual Rows": 73495, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 0.217, "Actual Total Time": 421.151, "Actual Rows": 72820, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 0.206, "Actual Total Time": 422.647, "Actual Rows": 72453, "Actual Loops": 1}, {"Worker Number": 3, "Actual Startup Time": 0.204, "Actual Total Time": 422.932, "Actual Rows": 72755, "Actual Loops": 1}], "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": true, "Relation Name": "part", "Schema": "public", "Alias": "part", "Startup Cost": 0.0, "Total Cost": 47212.0, "Plan Rows": 3327, "Plan Width": 4, "Actual Startup Time": 0.057, "Actual Total Time": 80.608, "Actual Rows": 2697, "Actual Loops": 5, "Output": ["part.p_partkey", "part.p_name", "part.p_mfgr", "part.p_brand", "part.p_type", "part.p_size", "part.p_container", "part.p_retailprice", "part.p_comment"], "Filter": "((part.p_type)::text = 'SMALL BRUSHED NICKEL'::text)", "Rows Removed by Filter": 397303, "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.078, "Actual Total Time": 76.261, "Actual Rows": 2447, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 0.059, "Actual Total Time": 74.027, "Actual Rows": 2426, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 0.062, "Actual Total Time": 76.561, "Actual Rows": 2429, "Actual Loops": 1}, {"Worker Number": 3, "Actual Startup Time": 0.074, "Actual Total Time": 77.821, "Actual Rows": 2431, "Actual Loops": 1}]}, {"Node Type": "Index Scan", "Parent Relationship": "Inner", "Parallel Aware": false, "Scan Direction": "Forward", "Index Name": "l_pk", "Relation Name": "lineitem", "Schema": "public", "Alias": "lineitem", "Startup Cost": 0.56, "Total Cost": 30.98, "Plan Rows": 31, "Plan Width": 24, "Actual Startup Time": 0.012, "Actual Total Time": 0.111, "Actual Rows": 30, "Actual Loops": 13487, "Output": ["lineitem.l_orderkey", "lineitem.l_partkey", "lineitem.l_suppkey", "lineitem.l_linenumber", "lineitem.l_quantity", "lineitem.l_extendedprice", "lineitem.l_discount", "lineitem.l_tax", "lineitem.l_returnflag", "lineitem.l_linestatus", "lineitem.l_shipdate", "lineitem.l_commitdate", "lineitem.l_receiptdate", "lineitem.l_shipinstruct", "lineitem.l_shipmode", "lineitem.l_comment"], "Index Cond": "(lineitem.l_partkey = part.p_partkey)", "Rows Removed by Index Recheck": 0, "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.014, "Actual Total Time": 0.135, "Actual Rows": 30, "Actual Loops": 2447}, {"Worker Number": 1, "Actual Startup Time": 0.014, "Actual Total Time": 0.136, "Actual Rows": 30, "Actual Loops": 2426}, {"Worker Number": 2, "Actual Startup Time": 0.014, "Actual Total Time": 0.135, "Actual Rows": 30, "Actual Loops": 2429}, {"Worker Number": 3, "Actual Startup Time": 0.014, "Actual Total Time": 0.135, "Actual Rows": 30, "Actual Loops": 2431}]}]}, {"Node Type": "Index Scan", "Parent Relationship": "Inner", "Parallel Aware": false, "Scan Direction": "Forward", "Index Name": "o_ok", "Relation Name": "orders", "Schema": "public", "Alias": "orders", "Startup Cost": 0.43, "Total Cost": 0.46, "Plan Rows": 1, "Plan Width": 12, "Actual Startup Time": 0.006, "Actual Total Time": 0.006, "Actual Rows": 0, "Actual Loops": 404076, "Output": ["orders.o_orderkey", "orders.o_custkey", "orders.o_orderstatus", "orders.o_totalprice", "orders.o_orderdate", "orders.o_orderpriority", "orders.o_clerk", "orders.o_shippriority", "orders.o_comment"], "Index Cond": "(orders.o_orderkey = lineitem.l_orderkey)", "Rows Removed by Index Recheck": 0, "Filter": "((orders.o_orderdate >= '1995-01-01'::date) AND (orders.o_orderdate <= '1996-12-31'::date))", "Rows Removed by Filter": 1, "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.007, "Actual Total Time": 0.007, "Actual Rows": 0, "Actual Loops": 73495}, {"Worker Number": 1, "Actual Startup Time": 0.007, "Actual Total Time": 0.007, "Actual Rows": 0, "Actual Loops": 72820}, {"Worker Number": 2, "Actual Startup Time": 0.007, "Actual Total Time": 0.007, "Actual Rows": 0, "Actual Loops": 72453}, {"Worker Number": 3, "Actual Startup Time": 0.007, "Actual Total Time": 0.007, "Actual Rows": 0, "Actual Loops": 72755}]}]}, {"Node Type": "Index Scan", "Parent Relationship": "Inner", "Parallel Aware": false, "Scan Direction": "Forward", "Index Name": "c_ck", "Relation Name": "customer", "Schema": "public", "Alias": "customer", "Startup Cost": 0.43, "Total Cost": 0.45, "Plan Rows": 1, "Plan Width": 8, "Actual Startup Time": 0.005, "Actual Total Time": 0.005, "Actual Rows": 1, "Actual Loops": 123159, "Output": ["customer.c_custkey", "customer.c_name", "customer.c_address", "customer.c_nationkey", "customer.c_phone", "customer.c_acctbal", "customer.c_mktsegment", "customer.c_comment"], "Index Cond": "(customer.c_custkey = orders.o_custkey)", "Rows Removed by Index Recheck": 0, "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.005, "Actual Total Time": 0.005, "Actual Rows": 1, "Actual Loops": 22244}, {"Worker Number": 1, "Actual Startup Time": 0.005, "Actual Total Time": 0.005, "Actual Rows": 1, "Actual Loops": 22211}, {"Worker Number": 2, "Actual Startup Time": 0.005, "Actual Total Time": 0.005, "Actual Rows": 1, "Actual Loops": 22009}, {"Worker Number": 3, "Actual Startup Time": 0.005, "Actual Total Time": 0.005, "Actual Rows": 1, "Actual Loops": 22260}]}]}, {"Node Type": "Hash", "Parent Relationship": "Inner", "Parallel Aware": false, "Startup Cost": 2.45, "Total Cost": 2.45, "Plan Rows": 5, "Plan Width": 4, "Actual Startup Time": 0.053, "Actual Total Time": 0.055, "Actual Rows": 5, "Actual Loops": 5, "Output": ["n1.n_nationkey"], "Hash Buckets": 1024, "Original Hash Buckets": 1024, "Hash Batches": 1, "Original Hash Batches": 1, "Peak Memory Usage": 9, "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.061, "Actual Total Time": 0.063, "Actual Rows": 5, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 0.061, "Actual Total Time": 0.063, "Actual Rows": 5, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 0.059, "Actual Total Time": 0.061, "Actual Rows": 5, "Actual Loops": 1}, {"Worker Number": 3, "Actual Startup Time": 0.063, "Actual Total Time": 0.065, "Actual Rows": 5, "Actual Loops": 1}], "Plans": [{"Node Type": "Hash Join", "Parent Relationship": "Outer", "Parallel Aware": false, "Join Type": "Inner", "Startup Cost": 1.07, "Total Cost": 2.45, "Plan Rows": 5, "Plan Width": 4, "Actual Startup Time": 0.043, "Actual Total Time": 0.051, "Actual Rows": 5, "Actual Loops": 5, "Output": ["n1.n_nationkey"], "Inner Unique": true, "Hash Cond": "(n1.n_regionkey = region.r_regionkey)", "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.05, "Actual Total Time": 0.058, "Actual Rows": 5, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 0.05, "Actual Total Time": 0.058, "Actual Rows": 5, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 0.049, "Actual Total Time": 0.056, "Actual Rows": 5, "Actual Loops": 1}, {"Worker Number": 3, "Actual Startup Time": 0.053, "Actual Total Time": 0.061, "Actual Rows": 5, "Actual Loops": 1}], "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Relation Name": "nation", "Schema": "public", "Alias": "n1", "Startup Cost": 0.0, "Total Cost": 1.25, "Plan Rows": 25, "Plan Width": 8, "Actual Startup Time": 0.002, "Actual Total Time": 0.004, "Actual Rows": 25, "Actual Loops": 5, "Output": ["n1.n_nationkey", "n1.n_name", "n1.n_regionkey", "n1.n_comment"], "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.002, "Actual Total Time": 0.004, "Actual Rows": 25, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 0.002, "Actual Total Time": 0.004, "Actual Rows": 25, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 0.002, "Actual Total Time": 0.004, "Actual Rows": 25, "Actual Loops": 1}, {"Worker Number": 3, "Actual Startup Time": 0.002, "Actual Total Time": 0.004, "Actual Rows": 25, "Actual Loops": 1}]}, {"Node Type": "Hash", "Parent Relationship": "Inner", "Parallel Aware": false, "Startup Cost": 1.06, "Total Cost": 1.06, "Plan Rows": 1, "Plan Width": 4, "Actual Startup Time": 0.027, "Actual Total Time": 0.028, "Actual Rows": 1, "Actual Loops": 5, "Output": ["region.r_regionkey"], "Hash Buckets": 1024, "Original Hash Buckets": 1024, "Hash Batches": 1, "Original Hash Batches": 1, "Peak Memory Usage": 9, "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.031, "Actual Total Time": 0.032, "Actual Rows": 1, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 0.032, "Actual Total Time": 0.033, "Actual Rows": 1, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 0.03, "Actual Total Time": 0.031, "Actual Rows": 1, "Actual Loops": 1}, {"Worker Number": 3, "Actual Startup Time": 0.034, "Actual Total Time": 0.035, "Actual Rows": 1, "Actual Loops": 1}], "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Relation Name": "region", "Schema": "public", "Alias": "region", "Startup Cost": 0.0, "Total Cost": 1.06, "Plan Rows": 1, "Plan Width": 4, "Actual Startup Time": 0.023, "Actual Total Time": 0.024, "Actual Rows": 1, "Actual Loops": 5, "Output": ["region.r_regionkey"], "Filter": "(region.r_name = 'AFRICA'::bpchar)", "Rows Removed by Filter": 4, "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.027, "Actual Total Time": 0.028, "Actual Rows": 1, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 0.027, "Actual Total Time": 0.029, "Actual Rows": 1, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 0.026, "Actual Total Time": 0.028, "Actual Rows": 1, "Actual Loops": 1}, {"Worker Number": 3, "Actual Startup Time": 0.03, "Actual Total Time": 0.032, "Actual Rows": 1, "Actual Loops": 1}]}]}]}]}]}, {"Node Type": "Index Scan", "Parent Relationship": "Inner", "Parallel Aware": false, "Scan Direction": "Forward", "Index Name": "s_sk", "Relation Name": "supplier", "Schema": "public", "Alias": "supplier", "Startup Cost": 0.29, "Total Cost": 0.31, "Plan Rows": 1, "Plan Width": 8, "Actual Startup Time": 0.003, "Actual Total Time": 0.003, "Actual Rows": 1, "Actual Loops": 24872, "Output": ["supplier.s_suppkey", "supplier.s_name", "supplier.s_address", "supplier.s_nationkey", "supplier.s_phone", "supplier.s_acctbal", "supplier.s_comment"], "Index Cond": "(supplier.s_suppkey = lineitem.l_suppkey)", "Rows Removed by Index Recheck": 0, "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.003, "Actual Total Time": 0.003, "Actual Rows": 1, "Actual Loops": 4588}, {"Worker Number": 1, "Actual Startup Time": 0.003, "Actual Total Time": 0.003, "Actual Rows": 1, "Actual Loops": 4374}, {"Worker Number": 2, "Actual Startup Time": 0.003, "Actual Total Time": 0.003, "Actual Rows": 1, "Actual Loops": 4442}, {"Worker Number": 3, "Actual Startup Time": 0.003, "Actual Total Time": 0.003, "Actual Rows": 1, "Actual Loops": 4566}]}]}, {"Node Type": "Hash", "Parent Relationship": "Inner", "Parallel Aware": false, "Startup Cost": 1.25, "Total Cost": 1.25, "Plan Rows": 25, "Plan Width": 30, "Actual Startup Time": 0.035, "Actual Total Time": 0.035, "Actual Rows": 25, "Actual Loops": 5, "Output": ["n2.n_name", "n2.n_nationkey"], "Hash Buckets": 1024, "Original Hash Buckets": 1024, "Hash Batches": 1, "Original Hash Batches": 1, "Peak Memory Usage": 10, "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.039, "Actual Total Time": 0.04, "Actual Rows": 25, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 0.035, "Actual Total Time": 0.035, "Actual Rows": 25, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 0.039, "Actual Total Time": 0.04, "Actual Rows": 25, "Actual Loops": 1}, {"Worker Number": 3, "Actual Startup Time": 0.039, "Actual Total Time": 0.039, "Actual Rows": 25, "Actual Loops": 1}], "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Relation Name": "nation", "Schema": "public", "Alias": "n2", "Startup Cost": 0.0, "Total Cost": 1.25, "Plan Rows": 25, "Plan Width": 30, "Actual Startup Time": 0.019, "Actual Total Time": 0.024, "Actual Rows": 25, "Actual Loops": 5, "Output": ["n2.n_name", "n2.n_nationkey"], "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.022, "Actual Total Time": 0.027, "Actual Rows": 25, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 0.02, "Actual Total Time": 0.024, "Actual Rows": 25, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 0.022, "Actual Total Time": 0.027, "Actual Rows": 25, "Actual Loops": 1}, {"Worker Number": 3, "Actual Startup Time": 0.022, "Actual Total Time": 0.026, "Actual Rows": 25, "Actual Loops": 1}]}]}]}]}]}]}]}, "Planning Time": 2.843, "Triggers": [], "Execution Time": 1318.922} diff --git a/dev9/pg11/tpch/sf_10/explain_analyze/15721/9-1.ok b/dev9/pg11/tpch/sf_10/explain_analyze/15721/9-1.ok new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/dev9/pg11/tpch/sf_10/explain_analyze/15721/9-1.res b/dev9/pg11/tpch/sf_10/explain_analyze/15721/9-1.res new file mode 100644 index 0000000000000000000000000000000000000000..470139125867dcf686057f2f43f047a266fef0b3 --- /dev/null +++ b/dev9/pg11/tpch/sf_10/explain_analyze/15721/9-1.res @@ -0,0 +1 @@ +{"Plan": {"Node Type": "Sort", "Parallel Aware": false, "Startup Cost": 588400.06, "Total Cost": 588550.43, "Plan Rows": 60150, "Plan Width": 66, "Actual Startup Time": 4108.736, "Actual Total Time": 4680.648, "Actual Rows": 175, "Actual Loops": 1, "Output": ["nation.n_name", "(date_part('year'::text, (orders.o_orderdate)::timestamp without time zone))", "(sum(((lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount)) - (partsupp.ps_supplycost * lineitem.l_quantity))))"], "Sort Key": ["nation.n_name", "(date_part('year'::text, (orders.o_orderdate)::timestamp without time zone)) DESC"], "Sort Method": "quicksort", "Sort Space Used": 49, "Sort Space Type": "Memory", "Plans": [{"Node Type": "Aggregate", "Strategy": "Hashed", "Partial Mode": "Finalize", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 582572.64, "Total Cost": 583625.27, "Plan Rows": 60150, "Plan Width": 66, "Actual Startup Time": 4108.052, "Actual Total Time": 4680.414, "Actual Rows": 175, "Actual Loops": 1, "Output": ["nation.n_name", "(date_part('year'::text, (orders.o_orderdate)::timestamp without time zone))", "sum(((lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount)) - (partsupp.ps_supplycost * lineitem.l_quantity)))"], "Group Key": ["nation.n_name", "(date_part('year'::text, (orders.o_orderdate)::timestamp without time zone))"], "Plans": [{"Node Type": "Gather", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 541821.02, "Total Cost": 578963.64, "Plan Rows": 360900, "Plan Width": 66, "Actual Startup Time": 4092.295, "Actual Total Time": 4678.939, "Actual Rows": 1225, "Actual Loops": 1, "Output": ["nation.n_name", "(date_part('year'::text, (orders.o_orderdate)::timestamp without time zone))", "(PARTIAL sum(((lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount)) - (partsupp.ps_supplycost * lineitem.l_quantity))))"], "Workers Planned": 6, "Workers Launched": 6, "Single Copy": false, "Plans": [{"Node Type": "Aggregate", "Strategy": "Hashed", "Partial Mode": "Partial", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 540821.02, "Total Cost": 541873.64, "Plan Rows": 60150, "Plan Width": 66, "Actual Startup Time": 4086.142, "Actual Total Time": 4087.653, "Actual Rows": 175, "Actual Loops": 7, "Output": ["nation.n_name", "(date_part('year'::text, (orders.o_orderdate)::timestamp without time zone))", "PARTIAL sum(((lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount)) - (partsupp.ps_supplycost * lineitem.l_quantity)))"], "Group Key": ["nation.n_name", "date_part('year'::text, (orders.o_orderdate)::timestamp without time zone)"], "Workers": [{"Worker Number": 0, "Actual Startup Time": 4085.065, "Actual Total Time": 4086.459, "Actual Rows": 175, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 4085.27, "Actual Total Time": 4086.434, "Actual Rows": 175, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 4086.116, "Actual Total Time": 4087.246, "Actual Rows": 175, "Actual Loops": 1}, {"Worker Number": 3, "Actual Startup Time": 4085.019, "Actual Total Time": 4086.171, "Actual Rows": 175, "Actual Loops": 1}, {"Worker Number": 4, "Actual Startup Time": 4084.869, "Actual Total Time": 4086.029, "Actual Rows": 175, "Actual Loops": 1}, {"Worker Number": 5, "Actual Startup Time": 4085.058, "Actual Total Time": 4086.224, "Actual Rows": 175, "Actual Loops": 1}], "Plans": [{"Node Type": "Hash Join", "Parent Relationship": "Outer", "Parallel Aware": false, "Join Type": "Inner", "Startup Cost": 203730.91, "Total Cost": 530653.13, "Plan Rows": 581022, "Plan Width": 57, "Actual Startup Time": 2901.379, "Actual Total Time": 3623.197, "Actual Rows": 464980, "Actual Loops": 7, "Output": ["nation.n_name", "date_part('year'::text, (orders.o_orderdate)::timestamp without time zone)", "lineitem.l_extendedprice", "lineitem.l_discount", "partsupp.ps_supplycost", "lineitem.l_quantity"], "Inner Unique": true, "Hash Cond": "(supplier.s_nationkey = nation.n_nationkey)", "Workers": [{"Worker Number": 0, "Actual Startup Time": 2835.087, "Actual Total Time": 3585.141, "Actual Rows": 502479, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 2911.903, "Actual Total Time": 3627.483, "Actual Rows": 458881, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 2911.369, "Actual Total Time": 3628.636, "Actual Rows": 459084, "Actual Loops": 1}, {"Worker Number": 3, "Actual Startup Time": 2912.007, "Actual Total Time": 3626.752, "Actual Rows": 459696, "Actual Loops": 1}, {"Worker Number": 4, "Actual Startup Time": 2911.895, "Actual Total Time": 3629.638, "Actual Rows": 456510, "Actual Loops": 1}, {"Worker Number": 5, "Actual Startup Time": 2910.575, "Actual Total Time": 3623.769, "Actual Rows": 462923, "Actual Loops": 1}], "Plans": [{"Node Type": "Hash Join", "Parent Relationship": "Outer", "Parallel Aware": true, "Join Type": "Inner", "Startup Cost": 203729.35, "Total Cost": 525962.72, "Plan Rows": 581022, "Plan Width": 31, "Actual Startup Time": 2901.289, "Actual Total Time": 3468.089, "Actual Rows": 464980, "Actual Loops": 7, "Output": ["lineitem.l_extendedprice", "lineitem.l_discount", "lineitem.l_quantity", "supplier.s_nationkey", "partsupp.ps_supplycost", "orders.o_orderdate"], "Inner Unique": false, "Hash Cond": "(orders.o_orderkey = lineitem.l_orderkey)", "Workers": [{"Worker Number": 0, "Actual Startup Time": 2834.989, "Actual Total Time": 3417.731, "Actual Rows": 502479, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 2911.806, "Actual Total Time": 3474.597, "Actual Rows": 458881, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 2911.272, "Actual Total Time": 3475.726, "Actual Rows": 459084, "Actual Loops": 1}, {"Worker Number": 3, "Actual Startup Time": 2911.906, "Actual Total Time": 3473.832, "Actual Rows": 459696, "Actual Loops": 1}, {"Worker Number": 4, "Actual Startup Time": 2911.789, "Actual Total Time": 3477.448, "Actual Rows": 456510, "Actual Loops": 1}, {"Worker Number": 5, "Actual Startup Time": 2910.473, "Actual Total Time": 3469.675, "Actual Rows": 462923, "Actual Loops": 1}], "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": true, "Relation Name": "orders", "Schema": "public", "Alias": "orders", "Startup Cost": 0.0, "Total Cost": 285913.32, "Plan Rows": 2500132, "Plan Width": 8, "Actual Startup Time": 0.029, "Actual Total Time": 558.276, "Actual Rows": 2142857, "Actual Loops": 7, "Output": ["orders.o_orderdate", "orders.o_orderkey"], "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.02, "Actual Total Time": 580.189, "Actual Rows": 1940766, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 0.032, "Actual Total Time": 569.039, "Actual Rows": 2077903, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 0.038, "Actual Total Time": 566.198, "Actual Rows": 2117705, "Actual Loops": 1}, {"Worker Number": 3, "Actual Startup Time": 0.038, "Actual Total Time": 566.241, "Actual Rows": 2118498, "Actual Loops": 1}, {"Worker Number": 4, "Actual Startup Time": 0.035, "Actual Total Time": 566.598, "Actual Rows": 2115932, "Actual Loops": 1}, {"Worker Number": 5, "Actual Startup Time": 0.035, "Actual Total Time": 568.281, "Actual Rows": 2104849, "Actual Loops": 1}]}, {"Node Type": "Hash", "Parent Relationship": "Inner", "Parallel Aware": true, "Startup Cost": 186877.17, "Total Cost": 186877.17, "Plan Rows": 871534, "Plan Width": 31, "Actual Startup Time": 1911.206, "Actual Total Time": 1911.632, "Actual Rows": 464980, "Actual Loops": 7, "Output": ["lineitem.l_extendedprice", "lineitem.l_discount", "lineitem.l_quantity", "lineitem.l_orderkey", "supplier.s_nationkey", "partsupp.ps_supplycost"], "Hash Buckets": 524288, "Original Hash Buckets": 524288, "Hash Batches": 16, "Original Hash Batches": 16, "Peak Memory Usage": 18496, "Workers": [{"Worker Number": 0, "Actual Startup Time": 1910.745, "Actual Total Time": 1910.766, "Actual Rows": 447966, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 1910.841, "Actual Total Time": 1910.859, "Actual Rows": 444729, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 1910.847, "Actual Total Time": 1910.853, "Actual Rows": 438593, "Actual Loops": 1}, {"Worker Number": 3, "Actual Startup Time": 1910.849, "Actual Total Time": 1910.855, "Actual Rows": 434616, "Actual Loops": 1}, {"Worker Number": 4, "Actual Startup Time": 1910.86, "Actual Total Time": 1910.867, "Actual Rows": 404633, "Actual Loops": 1}, {"Worker Number": 5, "Actual Startup Time": 1910.85, "Actual Total Time": 1910.857, "Actual Rows": 435662, "Actual Loops": 1}], "Plans": [{"Node Type": "Nested Loop", "Parent Relationship": "Outer", "Parallel Aware": false, "Join Type": "Inner", "Startup Cost": 3540.53, "Total Cost": 186877.17, "Plan Rows": 871534, "Plan Width": 31, "Actual Startup Time": 10.505, "Actual Total Time": 1760.323, "Actual Rows": 464980, "Actual Loops": 7, "Output": ["lineitem.l_extendedprice", "lineitem.l_discount", "lineitem.l_quantity", "lineitem.l_orderkey", "supplier.s_nationkey", "partsupp.ps_supplycost"], "Inner Unique": false, "Join Filter": "(supplier.s_suppkey = lineitem.l_suppkey)", "Rows Removed by Join Filter": 0, "Workers": [{"Worker Number": 0, "Actual Startup Time": 10.047, "Actual Total Time": 1763.864, "Actual Rows": 447966, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 10.176, "Actual Total Time": 1764.517, "Actual Rows": 444729, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 10.153, "Actual Total Time": 1764.74, "Actual Rows": 438593, "Actual Loops": 1}, {"Worker Number": 3, "Actual Startup Time": 10.182, "Actual Total Time": 1767.716, "Actual Rows": 434616, "Actual Loops": 1}, {"Worker Number": 4, "Actual Startup Time": 10.17, "Actual Total Time": 1776.602, "Actual Rows": 404633, "Actual Loops": 1}, {"Worker Number": 5, "Actual Startup Time": 10.184, "Actual Total Time": 1766.727, "Actual Rows": 435662, "Actual Loops": 1}], "Plans": [{"Node Type": "Hash Join", "Parent Relationship": "Outer", "Parallel Aware": true, "Join Type": "Inner", "Startup Cost": 3539.97, "Total Cost": 96827.53, "Plan Rows": 116232, "Plan Width": 26, "Actual Startup Time": 10.429, "Actual Total Time": 262.179, "Actual Rows": 62025, "Actual Loops": 7, "Output": ["part.p_partkey", "partsupp.ps_supplycost", "partsupp.ps_suppkey", "partsupp.ps_partkey", "supplier.s_suppkey", "supplier.s_nationkey"], "Inner Unique": true, "Hash Cond": "(partsupp.ps_suppkey = supplier.s_suppkey)", "Workers": [{"Worker Number": 0, "Actual Startup Time": 9.973, "Actual Total Time": 257.589, "Actual Rows": 59756, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 10.082, "Actual Total Time": 259.966, "Actual Rows": 59292, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 10.067, "Actual Total Time": 260.337, "Actual Rows": 58476, "Actual Loops": 1}, {"Worker Number": 3, "Actual Startup Time": 10.091, "Actual Total Time": 259.238, "Actual Rows": 58132, "Actual Loops": 1}, {"Worker Number": 4, "Actual Startup Time": 10.094, "Actual Total Time": 254.189, "Actual Rows": 53956, "Actual Loops": 1}, {"Worker Number": 5, "Actual Startup Time": 10.09, "Actual Total Time": 256.896, "Actual Rows": 58100, "Actual Loops": 1}], "Plans": [{"Node Type": "Nested Loop", "Parent Relationship": "Outer", "Parallel Aware": false, "Join Type": "Inner", "Startup Cost": 0.43, "Total Cost": 92982.87, "Plan Rows": 116232, "Plan Width": 18, "Actual Startup Time": 0.114, "Actual Total Time": 215.715, "Actual Rows": 62025, "Actual Loops": 7, "Output": ["part.p_partkey", "partsupp.ps_supplycost", "partsupp.ps_suppkey", "partsupp.ps_partkey"], "Inner Unique": false, "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.128, "Actual Total Time": 214.042, "Actual Rows": 59756, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 0.123, "Actual Total Time": 214.363, "Actual Rows": 59292, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 0.117, "Actual Total Time": 216.837, "Actual Rows": 58476, "Actual Loops": 1}, {"Worker Number": 3, "Actual Startup Time": 0.136, "Actual Total Time": 215.601, "Actual Rows": 58132, "Actual Loops": 1}, {"Worker Number": 4, "Actual Startup Time": 0.138, "Actual Total Time": 211.508, "Actual Rows": 53956, "Actual Loops": 1}, {"Worker Number": 5, "Actual Startup Time": 0.125, "Actual Total Time": 213.361, "Actual Rows": 58100, "Actual Loops": 1}], "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": true, "Relation Name": "part", "Schema": "public", "Alias": "part", "Startup Cost": 0.0, "Total Cost": 47212.0, "Plan Rows": 29058, "Plan Width": 4, "Actual Startup Time": 0.023, "Actual Total Time": 92.463, "Actual Rows": 15506, "Actual Loops": 7, "Output": ["part.p_partkey", "part.p_name", "part.p_mfgr", "part.p_brand", "part.p_type", "part.p_size", "part.p_container", "part.p_retailprice", "part.p_comment"], "Filter": "((part.p_name)::text ~~ '%forest%'::text)", "Rows Removed by Filter": 270208, "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.026, "Actual Total Time": 90.727, "Actual Rows": 14939, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 0.02, "Actual Total Time": 91.286, "Actual Rows": 14823, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 0.026, "Actual Total Time": 91.6, "Actual Rows": 14619, "Actual Loops": 1}, {"Worker Number": 3, "Actual Startup Time": 0.023, "Actual Total Time": 91.208, "Actual Rows": 14533, "Actual Loops": 1}, {"Worker Number": 4, "Actual Startup Time": 0.033, "Actual Total Time": 88.924, "Actual Rows": 13489, "Actual Loops": 1}, {"Worker Number": 5, "Actual Startup Time": 0.02, "Actual Total Time": 89.819, "Actual Rows": 14525, "Actual Loops": 1}]}, {"Node Type": "Index Scan", "Parent Relationship": "Inner", "Parallel Aware": false, "Scan Direction": "Forward", "Index Name": "ps_pk", "Relation Name": "partsupp", "Schema": "public", "Alias": "partsupp", "Startup Cost": 0.43, "Total Cost": 1.54, "Plan Rows": 4, "Plan Width": 14, "Actual Startup Time": 0.006, "Actual Total Time": 0.007, "Actual Rows": 4, "Actual Loops": 108543, "Output": ["partsupp.ps_partkey", "partsupp.ps_suppkey", "partsupp.ps_availqty", "partsupp.ps_supplycost", "partsupp.ps_comment"], "Index Cond": "(partsupp.ps_partkey = part.p_partkey)", "Rows Removed by Index Recheck": 0, "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.006, "Actual Total Time": 0.007, "Actual Rows": 4, "Actual Loops": 14939}, {"Worker Number": 1, "Actual Startup Time": 0.006, "Actual Total Time": 0.007, "Actual Rows": 4, "Actual Loops": 14823}, {"Worker Number": 2, "Actual Startup Time": 0.006, "Actual Total Time": 0.007, "Actual Rows": 4, "Actual Loops": 14619}, {"Worker Number": 3, "Actual Startup Time": 0.006, "Actual Total Time": 0.008, "Actual Rows": 4, "Actual Loops": 14533}, {"Worker Number": 4, "Actual Startup Time": 0.007, "Actual Total Time": 0.008, "Actual Rows": 4, "Actual Loops": 13489}, {"Worker Number": 5, "Actual Startup Time": 0.006, "Actual Total Time": 0.007, "Actual Rows": 4, "Actual Loops": 14525}]}]}, {"Node Type": "Hash", "Parent Relationship": "Inner", "Parallel Aware": true, "Startup Cost": 2804.24, "Total Cost": 2804.24, "Plan Rows": 58824, "Plan Width": 8, "Actual Startup Time": 10.087, "Actual Total Time": 10.088, "Actual Rows": 14286, "Actual Loops": 7, "Output": ["supplier.s_suppkey", "supplier.s_nationkey"], "Hash Buckets": 131072, "Original Hash Buckets": 131072, "Hash Batches": 1, "Original Hash Batches": 1, "Peak Memory Usage": 5056, "Workers": [{"Worker Number": 0, "Actual Startup Time": 9.809, "Actual Total Time": 9.811, "Actual Rows": 12934, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 9.917, "Actual Total Time": 9.919, "Actual Rows": 13322, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 9.896, "Actual Total Time": 9.897, "Actual Rows": 13268, "Actual Loops": 1}, {"Worker Number": 3, "Actual Startup Time": 9.917, "Actual Total Time": 9.918, "Actual Rows": 12720, "Actual Loops": 1}, {"Worker Number": 4, "Actual Startup Time": 9.926, "Actual Total Time": 9.927, "Actual Rows": 13031, "Actual Loops": 1}, {"Worker Number": 5, "Actual Startup Time": 9.908, "Actual Total Time": 9.909, "Actual Rows": 13218, "Actual Loops": 1}], "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": true, "Relation Name": "supplier", "Schema": "public", "Alias": "supplier", "Startup Cost": 0.0, "Total Cost": 2804.24, "Plan Rows": 58824, "Plan Width": 8, "Actual Startup Time": 0.011, "Actual Total Time": 5.027, "Actual Rows": 14286, "Actual Loops": 7, "Output": ["supplier.s_suppkey", "supplier.s_nationkey"], "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.012, "Actual Total Time": 4.979, "Actual Rows": 12934, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 0.012, "Actual Total Time": 5.122, "Actual Rows": 13322, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 0.012, "Actual Total Time": 5.062, "Actual Rows": 13268, "Actual Loops": 1}, {"Worker Number": 3, "Actual Startup Time": 0.016, "Actual Total Time": 4.968, "Actual Rows": 12720, "Actual Loops": 1}, {"Worker Number": 4, "Actual Startup Time": 0.011, "Actual Total Time": 5.014, "Actual Rows": 13031, "Actual Loops": 1}, {"Worker Number": 5, "Actual Startup Time": 0.011, "Actual Total Time": 5.058, "Actual Rows": 13218, "Actual Loops": 1}]}]}]}, {"Node Type": "Index Scan", "Parent Relationship": "Inner", "Parallel Aware": false, "Scan Direction": "Forward", "Index Name": "l_sk_pk", "Relation Name": "lineitem", "Schema": "public", "Alias": "lineitem", "Startup Cost": 0.56, "Total Cost": 0.76, "Plan Rows": 1, "Plan Width": 29, "Actual Startup Time": 0.008, "Actual Total Time": 0.022, "Actual Rows": 7, "Actual Loops": 434172, "Output": ["lineitem.l_orderkey", "lineitem.l_partkey", "lineitem.l_suppkey", "lineitem.l_linenumber", "lineitem.l_quantity", "lineitem.l_extendedprice", "lineitem.l_discount", "lineitem.l_tax", "lineitem.l_returnflag", "lineitem.l_linestatus", "lineitem.l_shipdate", "lineitem.l_commitdate", "lineitem.l_receiptdate", "lineitem.l_shipinstruct", "lineitem.l_shipmode", "lineitem.l_comment"], "Index Cond": "((lineitem.l_suppkey = partsupp.ps_suppkey) AND (lineitem.l_partkey = partsupp.ps_partkey))", "Rows Removed by Index Recheck": 0, "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.008, "Actual Total Time": 0.023, "Actual Rows": 7, "Actual Loops": 59756}, {"Worker Number": 1, "Actual Startup Time": 0.008, "Actual Total Time": 0.023, "Actual Rows": 8, "Actual Loops": 59292}, {"Worker Number": 2, "Actual Startup Time": 0.008, "Actual Total Time": 0.023, "Actual Rows": 8, "Actual Loops": 58476}, {"Worker Number": 3, "Actual Startup Time": 0.008, "Actual Total Time": 0.024, "Actual Rows": 7, "Actual Loops": 58132}, {"Worker Number": 4, "Actual Startup Time": 0.009, "Actual Total Time": 0.026, "Actual Rows": 7, "Actual Loops": 53956}, {"Worker Number": 5, "Actual Startup Time": 0.008, "Actual Total Time": 0.024, "Actual Rows": 7, "Actual Loops": 58100}]}]}]}]}, {"Node Type": "Hash", "Parent Relationship": "Inner", "Parallel Aware": false, "Startup Cost": 1.25, "Total Cost": 1.25, "Plan Rows": 25, "Plan Width": 30, "Actual Startup Time": 0.032, "Actual Total Time": 0.033, "Actual Rows": 25, "Actual Loops": 7, "Output": ["nation.n_name", "nation.n_nationkey"], "Hash Buckets": 1024, "Original Hash Buckets": 1024, "Hash Batches": 1, "Original Hash Batches": 1, "Peak Memory Usage": 10, "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.032, "Actual Total Time": 0.035, "Actual Rows": 25, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 0.033, "Actual Total Time": 0.034, "Actual Rows": 25, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 0.032, "Actual Total Time": 0.033, "Actual Rows": 25, "Actual Loops": 1}, {"Worker Number": 3, "Actual Startup Time": 0.034, "Actual Total Time": 0.034, "Actual Rows": 25, "Actual Loops": 1}, {"Worker Number": 4, "Actual Startup Time": 0.038, "Actual Total Time": 0.039, "Actual Rows": 25, "Actual Loops": 1}, {"Worker Number": 5, "Actual Startup Time": 0.034, "Actual Total Time": 0.035, "Actual Rows": 25, "Actual Loops": 1}], "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Relation Name": "nation", "Schema": "public", "Alias": "nation", "Startup Cost": 0.0, "Total Cost": 1.25, "Plan Rows": 25, "Plan Width": 30, "Actual Startup Time": 0.02, "Actual Total Time": 0.024, "Actual Rows": 25, "Actual Loops": 7, "Output": ["nation.n_name", "nation.n_nationkey"], "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.021, "Actual Total Time": 0.026, "Actual Rows": 25, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 0.021, "Actual Total Time": 0.026, "Actual Rows": 25, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 0.02, "Actual Total Time": 0.024, "Actual Rows": 25, "Actual Loops": 1}, {"Worker Number": 3, "Actual Startup Time": 0.022, "Actual Total Time": 0.026, "Actual Rows": 25, "Actual Loops": 1}, {"Worker Number": 4, "Actual Startup Time": 0.024, "Actual Total Time": 0.029, "Actual Rows": 25, "Actual Loops": 1}, {"Worker Number": 5, "Actual Startup Time": 0.022, "Actual Total Time": 0.026, "Actual Rows": 25, "Actual Loops": 1}]}]}]}]}]}]}]}, "Planning Time": 3.813, "Triggers": [], "Execution Time": 4681.647} diff --git a/dev9/pg12/tpch/sf_1/explain/15721/1-1.ok b/dev9/pg12/tpch/sf_1/explain/15721/1-1.ok new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/dev9/pg12/tpch/sf_1/explain/15721/1-1.res b/dev9/pg12/tpch/sf_1/explain/15721/1-1.res new file mode 100644 index 0000000000000000000000000000000000000000..2b9dff9bb4608d43dd748dec8380894f20ce9926 --- /dev/null +++ b/dev9/pg12/tpch/sf_1/explain/15721/1-1.res @@ -0,0 +1 @@ +{"Plan": {"Node Type": "Aggregate", "Strategy": "Sorted", "Partial Mode": "Finalize", "Parallel Aware": false, "Startup Cost": 175369.64, "Total Cost": 175374.71, "Plan Rows": 6, "Plan Width": 236, "Output": ["l_returnflag", "l_linestatus", "sum(l_quantity)", "sum(l_extendedprice)", "sum((l_extendedprice * ('1'::numeric - l_discount)))", "sum(((l_extendedprice * ('1'::numeric - l_discount)) * ('1'::numeric + l_tax)))", "avg(l_quantity)", "avg(l_extendedprice)", "avg(l_discount)", "count(*)"], "Group Key": ["lineitem.l_returnflag", "lineitem.l_linestatus"], "Plans": [{"Node Type": "Gather Merge", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 175369.64, "Total Cost": 175373.27, "Plan Rows": 30, "Plan Width": 236, "Output": ["l_returnflag", "l_linestatus", "(PARTIAL sum(l_quantity))", "(PARTIAL sum(l_extendedprice))", "(PARTIAL sum((l_extendedprice * ('1'::numeric - l_discount))))", "(PARTIAL sum(((l_extendedprice * ('1'::numeric - l_discount)) * ('1'::numeric + l_tax))))", "(PARTIAL avg(l_quantity))", "(PARTIAL avg(l_extendedprice))", "(PARTIAL avg(l_discount))", "(PARTIAL count(*))"], "Workers Planned": 5, "Plans": [{"Node Type": "Sort", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 174369.56, "Total Cost": 174369.58, "Plan Rows": 6, "Plan Width": 236, "Output": ["l_returnflag", "l_linestatus", "(PARTIAL sum(l_quantity))", "(PARTIAL sum(l_extendedprice))", "(PARTIAL sum((l_extendedprice * ('1'::numeric - l_discount))))", "(PARTIAL sum(((l_extendedprice * ('1'::numeric - l_discount)) * ('1'::numeric + l_tax))))", "(PARTIAL avg(l_quantity))", "(PARTIAL avg(l_extendedprice))", "(PARTIAL avg(l_discount))", "(PARTIAL count(*))"], "Sort Key": ["lineitem.l_returnflag", "lineitem.l_linestatus"], "Plans": [{"Node Type": "Aggregate", "Strategy": "Hashed", "Partial Mode": "Partial", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 174369.32, "Total Cost": 174369.48, "Plan Rows": 6, "Plan Width": 236, "Output": ["l_returnflag", "l_linestatus", "PARTIAL sum(l_quantity)", "PARTIAL sum(l_extendedprice)", "PARTIAL sum((l_extendedprice * ('1'::numeric - l_discount)))", "PARTIAL sum(((l_extendedprice * ('1'::numeric - l_discount)) * ('1'::numeric + l_tax)))", "PARTIAL avg(l_quantity)", "PARTIAL avg(l_extendedprice)", "PARTIAL avg(l_discount)", "PARTIAL count(*)"], "Group Key": ["lineitem.l_returnflag", "lineitem.l_linestatus"], "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": true, "Relation Name": "lineitem", "Schema": "public", "Alias": "lineitem", "Startup Cost": 0.0, "Total Cost": 127506.04, "Plan Rows": 1171582, "Plan Width": 25, "Output": ["l_orderkey", "l_partkey", "l_suppkey", "l_linenumber", "l_quantity", "l_extendedprice", "l_discount", "l_tax", "l_returnflag", "l_linestatus", "l_shipdate", "l_commitdate", "l_receiptdate", "l_shipinstruct", "l_shipmode", "l_comment"], "Filter": "(lineitem.l_shipdate <= '1998-08-07 23:59:57'::timestamp without time zone)"}]}]}]}]}} diff --git a/dev9/pg12/tpch/sf_1/explain/15721/10-1.ok b/dev9/pg12/tpch/sf_1/explain/15721/10-1.ok new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/dev9/pg12/tpch/sf_1/explain/15721/10-1.res b/dev9/pg12/tpch/sf_1/explain/15721/10-1.res new file mode 100644 index 0000000000000000000000000000000000000000..6e0e796c82ef9d1ecb6a55cbfd91dd81fb039042 --- /dev/null +++ b/dev9/pg12/tpch/sf_1/explain/15721/10-1.res @@ -0,0 +1 @@ +{"Plan": {"Node Type": "Limit", "Parallel Aware": false, "Startup Cost": 72212.8, "Total Cost": 72212.85, "Plan Rows": 20, "Plan Width": 202, "Output": ["customer.c_custkey", "customer.c_name", "(sum((lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount))))", "customer.c_acctbal", "nation.n_name", "customer.c_address", "customer.c_phone", "customer.c_comment"], "Plans": [{"Node Type": "Sort", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 72212.8, "Total Cost": 72347.09, "Plan Rows": 53714, "Plan Width": 202, "Output": ["customer.c_custkey", "customer.c_name", "(sum((lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount))))", "customer.c_acctbal", "nation.n_name", "customer.c_address", "customer.c_phone", "customer.c_comment"], "Sort Key": ["(sum((lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount)))) DESC"], "Plans": [{"Node Type": "Aggregate", "Strategy": "Hashed", "Partial Mode": "Simple", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 70112.07, "Total Cost": 70783.49, "Plan Rows": 53714, "Plan Width": 202, "Output": ["customer.c_custkey", "customer.c_name", "sum((lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount)))", "customer.c_acctbal", "nation.n_name", "customer.c_address", "customer.c_phone", "customer.c_comment"], "Group Key": ["customer.c_custkey", "nation.n_name"], "Plans": [{"Node Type": "Gather", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 6715.9, "Total Cost": 69440.64, "Plan Rows": 53714, "Plan Width": 182, "Output": ["customer.c_custkey", "nation.n_name", "customer.c_name", "lineitem.l_extendedprice", "lineitem.l_discount", "customer.c_acctbal", "customer.c_address", "customer.c_phone", "customer.c_comment"], "Workers Planned": 3, "Single Copy": false, "Plans": [{"Node Type": "Hash Join", "Parent Relationship": "Outer", "Parallel Aware": false, "Join Type": "Inner", "Startup Cost": 5715.9, "Total Cost": 63069.24, "Plan Rows": 17327, "Plan Width": 182, "Output": ["customer.c_custkey", "nation.n_name", "customer.c_name", "lineitem.l_extendedprice", "lineitem.l_discount", "customer.c_acctbal", "customer.c_address", "customer.c_phone", "customer.c_comment"], "Inner Unique": true, "Hash Cond": "(customer.c_nationkey = nation.n_nationkey)", "Plans": [{"Node Type": "Hash Join", "Parent Relationship": "Outer", "Parallel Aware": true, "Join Type": "Inner", "Startup Cost": 5714.34, "Total Cost": 63014.49, "Plan Rows": 17327, "Plan Width": 160, "Output": ["customer.c_custkey", "customer.c_name", "customer.c_acctbal", "customer.c_address", "customer.c_phone", "customer.c_comment", "customer.c_nationkey", "lineitem.l_extendedprice", "lineitem.l_discount"], "Inner Unique": true, "Hash Cond": "(orders.o_custkey = customer.c_custkey)", "Plans": [{"Node Type": "Nested Loop", "Parent Relationship": "Outer", "Parallel Aware": false, "Join Type": "Inner", "Startup Cost": 723.09, "Total Cost": 57977.76, "Plan Rows": 17327, "Plan Width": 16, "Output": ["orders.o_custkey", "lineitem.l_extendedprice", "lineitem.l_discount"], "Inner Unique": false, "Plans": [{"Node Type": "Bitmap Heap Scan", "Parent Relationship": "Outer", "Parallel Aware": true, "Relation Name": "orders", "Schema": "public", "Alias": "orders", "Startup Cost": 722.66, "Total Cost": 27080.71, "Plan Rows": 17537, "Plan Width": 8, "Output": ["orders.o_orderkey", "orders.o_custkey", "orders.o_orderstatus", "orders.o_totalprice", "orders.o_orderdate", "orders.o_orderpriority", "orders.o_clerk", "orders.o_shippriority", "orders.o_comment"], "Recheck Cond": "((orders.o_orderdate >= '1993-02-01'::date) AND (orders.o_orderdate < '1993-05-01 00:00:00'::timestamp without time zone))", "Plans": [{"Node Type": "Bitmap Index Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Index Name": "o_od", "Startup Cost": 0.0, "Total Cost": 709.07, "Plan Rows": 54364, "Plan Width": 0, "Index Cond": "((orders.o_orderdate >= '1993-02-01'::date) AND (orders.o_orderdate < '1993-05-01 00:00:00'::timestamp without time zone))"}]}, {"Node Type": "Index Scan", "Parent Relationship": "Inner", "Parallel Aware": false, "Scan Direction": "Forward", "Index Name": "l_ok", "Relation Name": "lineitem", "Schema": "public", "Alias": "lineitem", "Startup Cost": 0.43, "Total Cost": 1.75, "Plan Rows": 1, "Plan Width": 16, "Output": ["lineitem.l_orderkey", "lineitem.l_partkey", "lineitem.l_suppkey", "lineitem.l_linenumber", "lineitem.l_quantity", "lineitem.l_extendedprice", "lineitem.l_discount", "lineitem.l_tax", "lineitem.l_returnflag", "lineitem.l_linestatus", "lineitem.l_shipdate", "lineitem.l_commitdate", "lineitem.l_receiptdate", "lineitem.l_shipinstruct", "lineitem.l_shipmode", "lineitem.l_comment"], "Index Cond": "(lineitem.l_orderkey = orders.o_orderkey)", "Filter": "(lineitem.l_returnflag = 'R'::bpchar)"}]}, {"Node Type": "Hash", "Parent Relationship": "Inner", "Parallel Aware": true, "Startup Cost": 4210.0, "Total Cost": 4210.0, "Plan Rows": 62500, "Plan Width": 148, "Output": ["customer.c_custkey", "customer.c_name", "customer.c_acctbal", "customer.c_address", "customer.c_phone", "customer.c_comment", "customer.c_nationkey"], "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": true, "Relation Name": "customer", "Schema": "public", "Alias": "customer", "Startup Cost": 0.0, "Total Cost": 4210.0, "Plan Rows": 62500, "Plan Width": 148, "Output": ["customer.c_custkey", "customer.c_name", "customer.c_acctbal", "customer.c_address", "customer.c_phone", "customer.c_comment", "customer.c_nationkey"]}]}]}, {"Node Type": "Hash", "Parent Relationship": "Inner", "Parallel Aware": false, "Startup Cost": 1.25, "Total Cost": 1.25, "Plan Rows": 25, "Plan Width": 30, "Output": ["nation.n_name", "nation.n_nationkey"], "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Relation Name": "nation", "Schema": "public", "Alias": "nation", "Startup Cost": 0.0, "Total Cost": 1.25, "Plan Rows": 25, "Plan Width": 30, "Output": ["nation.n_name", "nation.n_nationkey"]}]}]}]}]}]}]}} diff --git a/dev9/pg12/tpch/sf_1/explain/15721/11-1.ok b/dev9/pg12/tpch/sf_1/explain/15721/11-1.ok new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/dev9/pg12/tpch/sf_1/explain/15721/11-1.res b/dev9/pg12/tpch/sf_1/explain/15721/11-1.res new file mode 100644 index 0000000000000000000000000000000000000000..4fe89efe64e1cc5f38854ef6f67c3970a7e4a1e5 --- /dev/null +++ b/dev9/pg12/tpch/sf_1/explain/15721/11-1.res @@ -0,0 +1 @@ +{"Plan": {"Node Type": "Sort", "Parallel Aware": false, "Startup Cost": 6357.47, "Total Cost": 6384.13, "Plan Rows": 10667, "Plan Width": 36, "Output": ["partsupp.ps_partkey", "(sum((partsupp.ps_supplycost * (partsupp.ps_availqty)::numeric)))"], "Sort Key": ["(sum((partsupp.ps_supplycost * (partsupp.ps_availqty)::numeric))) DESC"], "Plans": [{"Node Type": "Aggregate", "Strategy": "Plain", "Partial Mode": "Simple", "Parent Relationship": "InitPlan", "Subplan Name": "InitPlan 1 (returns $2)", "Parallel Aware": false, "Startup Cost": 2381.89, "Total Cost": 2381.91, "Plan Rows": 1, "Plan Width": 32, "Output": ["(sum((partsupp_1.ps_supplycost * (partsupp_1.ps_availqty)::numeric)) * 0.0001000000)"], "Plans": [{"Node Type": "Nested Loop", "Parent Relationship": "Outer", "Parallel Aware": false, "Join Type": "Inner", "Startup Cost": 6.01, "Total Cost": 2141.89, "Plan Rows": 32000, "Plan Width": 10, "Output": ["partsupp_1.ps_supplycost", "partsupp_1.ps_availqty"], "Inner Unique": false, "Plans": [{"Node Type": "Nested Loop", "Parent Relationship": "Outer", "Parallel Aware": false, "Join Type": "Inner", "Startup Cost": 5.58, "Total Cost": 227.43, "Plan Rows": 400, "Plan Width": 4, "Output": ["supplier_1.s_suppkey"], "Inner Unique": false, "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Relation Name": "nation", "Schema": "public", "Alias": "nation_1", "Startup Cost": 0.0, "Total Cost": 1.31, "Plan Rows": 1, "Plan Width": 4, "Output": ["nation_1.n_nationkey", "nation_1.n_name", "nation_1.n_regionkey", "nation_1.n_comment"], "Filter": "(nation_1.n_name = 'CHINA'::bpchar)"}, {"Node Type": "Bitmap Heap Scan", "Parent Relationship": "Inner", "Parallel Aware": false, "Relation Name": "supplier", "Schema": "public", "Alias": "supplier_1", "Startup Cost": 5.58, "Total Cost": 222.11, "Plan Rows": 400, "Plan Width": 8, "Output": ["supplier_1.s_suppkey", "supplier_1.s_name", "supplier_1.s_address", "supplier_1.s_nationkey", "supplier_1.s_phone", "supplier_1.s_acctbal", "supplier_1.s_comment"], "Recheck Cond": "(supplier_1.s_nationkey = nation_1.n_nationkey)", "Plans": [{"Node Type": "Bitmap Index Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Index Name": "s_nk", "Startup Cost": 0.0, "Total Cost": 5.49, "Plan Rows": 400, "Plan Width": 0, "Index Cond": "(supplier_1.s_nationkey = nation_1.n_nationkey)"}]}]}, {"Node Type": "Index Scan", "Parent Relationship": "Inner", "Parallel Aware": false, "Scan Direction": "Forward", "Index Name": "ps_sk_pk", "Relation Name": "partsupp", "Schema": "public", "Alias": "partsupp_1", "Startup Cost": 0.42, "Total Cost": 3.99, "Plan Rows": 80, "Plan Width": 14, "Output": ["partsupp_1.ps_partkey", "partsupp_1.ps_suppkey", "partsupp_1.ps_availqty", "partsupp_1.ps_supplycost", "partsupp_1.ps_comment"], "Index Cond": "(partsupp_1.ps_suppkey = supplier_1.s_suppkey)"}]}]}, {"Node Type": "Aggregate", "Strategy": "Hashed", "Partial Mode": "Simple", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 2701.89, "Total Cost": 3261.89, "Plan Rows": 10667, "Plan Width": 36, "Output": ["partsupp.ps_partkey", "sum((partsupp.ps_supplycost * (partsupp.ps_availqty)::numeric))"], "Group Key": ["partsupp.ps_partkey"], "Filter": "(sum((partsupp.ps_supplycost * (partsupp.ps_availqty)::numeric)) > $2)", "Plans": [{"Node Type": "Nested Loop", "Parent Relationship": "Outer", "Parallel Aware": false, "Join Type": "Inner", "Startup Cost": 6.01, "Total Cost": 2141.89, "Plan Rows": 32000, "Plan Width": 14, "Output": ["partsupp.ps_partkey", "partsupp.ps_supplycost", "partsupp.ps_availqty"], "Inner Unique": false, "Plans": [{"Node Type": "Nested Loop", "Parent Relationship": "Outer", "Parallel Aware": false, "Join Type": "Inner", "Startup Cost": 5.58, "Total Cost": 227.43, "Plan Rows": 400, "Plan Width": 4, "Output": ["supplier.s_suppkey"], "Inner Unique": false, "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Relation Name": "nation", "Schema": "public", "Alias": "nation", "Startup Cost": 0.0, "Total Cost": 1.31, "Plan Rows": 1, "Plan Width": 4, "Output": ["nation.n_nationkey", "nation.n_name", "nation.n_regionkey", "nation.n_comment"], "Filter": "(nation.n_name = 'CHINA'::bpchar)"}, {"Node Type": "Bitmap Heap Scan", "Parent Relationship": "Inner", "Parallel Aware": false, "Relation Name": "supplier", "Schema": "public", "Alias": "supplier", "Startup Cost": 5.58, "Total Cost": 222.11, "Plan Rows": 400, "Plan Width": 8, "Output": ["supplier.s_suppkey", "supplier.s_name", "supplier.s_address", "supplier.s_nationkey", "supplier.s_phone", "supplier.s_acctbal", "supplier.s_comment"], "Recheck Cond": "(supplier.s_nationkey = nation.n_nationkey)", "Plans": [{"Node Type": "Bitmap Index Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Index Name": "s_nk", "Startup Cost": 0.0, "Total Cost": 5.49, "Plan Rows": 400, "Plan Width": 0, "Index Cond": "(supplier.s_nationkey = nation.n_nationkey)"}]}]}, {"Node Type": "Index Scan", "Parent Relationship": "Inner", "Parallel Aware": false, "Scan Direction": "Forward", "Index Name": "ps_sk_pk", "Relation Name": "partsupp", "Schema": "public", "Alias": "partsupp", "Startup Cost": 0.42, "Total Cost": 3.99, "Plan Rows": 80, "Plan Width": 18, "Output": ["partsupp.ps_partkey", "partsupp.ps_suppkey", "partsupp.ps_availqty", "partsupp.ps_supplycost", "partsupp.ps_comment"], "Index Cond": "(partsupp.ps_suppkey = supplier.s_suppkey)"}]}]}]}} diff --git a/dev9/pg12/tpch/sf_1/explain/15721/12-1.ok b/dev9/pg12/tpch/sf_1/explain/15721/12-1.ok new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/dev9/pg12/tpch/sf_1/explain/15721/12-1.res b/dev9/pg12/tpch/sf_1/explain/15721/12-1.res new file mode 100644 index 0000000000000000000000000000000000000000..b518493c7a8404045d12136269b27ab2bdede2f4 --- /dev/null +++ b/dev9/pg12/tpch/sf_1/explain/15721/12-1.res @@ -0,0 +1 @@ +{"Plan": {"Node Type": "Aggregate", "Strategy": "Sorted", "Partial Mode": "Finalize", "Parallel Aware": false, "Startup Cost": 137535.47, "Total Cost": 137656.57, "Plan Rows": 7, "Plan Width": 27, "Output": ["lineitem.l_shipmode", "sum(CASE WHEN ((orders.o_orderpriority = '1-URGENT'::bpchar) OR (orders.o_orderpriority = '2-HIGH'::bpchar)) THEN 1 ELSE 0 END)", "sum(CASE WHEN ((orders.o_orderpriority <> '1-URGENT'::bpchar) AND (orders.o_orderpriority <> '2-HIGH'::bpchar)) THEN 1 ELSE 0 END)"], "Group Key": ["lineitem.l_shipmode"], "Plans": [{"Node Type": "Gather Merge", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 137535.47, "Total Cost": 137656.24, "Plan Rows": 35, "Plan Width": 27, "Output": ["lineitem.l_shipmode", "(PARTIAL sum(CASE WHEN ((orders.o_orderpriority = '1-URGENT'::bpchar) OR (orders.o_orderpriority = '2-HIGH'::bpchar)) THEN 1 ELSE 0 END))", "(PARTIAL sum(CASE WHEN ((orders.o_orderpriority <> '1-URGENT'::bpchar) AND (orders.o_orderpriority <> '2-HIGH'::bpchar)) THEN 1 ELSE 0 END))"], "Workers Planned": 5, "Plans": [{"Node Type": "Aggregate", "Strategy": "Sorted", "Partial Mode": "Partial", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 136535.4, "Total Cost": 136651.95, "Plan Rows": 7, "Plan Width": 27, "Output": ["lineitem.l_shipmode", "PARTIAL sum(CASE WHEN ((orders.o_orderpriority = '1-URGENT'::bpchar) OR (orders.o_orderpriority = '2-HIGH'::bpchar)) THEN 1 ELSE 0 END)", "PARTIAL sum(CASE WHEN ((orders.o_orderpriority <> '1-URGENT'::bpchar) AND (orders.o_orderpriority <> '2-HIGH'::bpchar)) THEN 1 ELSE 0 END)"], "Group Key": ["lineitem.l_shipmode"], "Plans": [{"Node Type": "Sort", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 136535.4, "Total Cost": 136549.96, "Plan Rows": 5824, "Plan Width": 27, "Output": ["lineitem.l_shipmode", "orders.o_orderpriority"], "Sort Key": ["lineitem.l_shipmode"], "Plans": [{"Node Type": "Nested Loop", "Parent Relationship": "Outer", "Parallel Aware": false, "Join Type": "Inner", "Startup Cost": 11936.75, "Total Cost": 136171.17, "Plan Rows": 5824, "Plan Width": 27, "Output": ["lineitem.l_shipmode", "orders.o_orderpriority"], "Inner Unique": true, "Plans": [{"Node Type": "Bitmap Heap Scan", "Parent Relationship": "Outer", "Parallel Aware": true, "Relation Name": "lineitem", "Schema": "public", "Alias": "lineitem", "Startup Cost": 11936.32, "Total Cost": 128561.78, "Plan Rows": 5824, "Plan Width": 15, "Output": ["lineitem.l_orderkey", "lineitem.l_partkey", "lineitem.l_suppkey", "lineitem.l_linenumber", "lineitem.l_quantity", "lineitem.l_extendedprice", "lineitem.l_discount", "lineitem.l_tax", "lineitem.l_returnflag", "lineitem.l_linestatus", "lineitem.l_shipdate", "lineitem.l_commitdate", "lineitem.l_receiptdate", "lineitem.l_shipinstruct", "lineitem.l_shipmode", "lineitem.l_comment"], "Recheck Cond": "((lineitem.l_receiptdate >= '1995-01-01'::date) AND (lineitem.l_receiptdate < '1996-01-01 00:00:00'::timestamp without time zone))", "Filter": "((lineitem.l_shipmode = ANY ('{MAIL,TRUCK}'::bpchar[])) AND (lineitem.l_commitdate < lineitem.l_receiptdate) AND (lineitem.l_shipdate < lineitem.l_commitdate))", "Plans": [{"Node Type": "Bitmap Index Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Index Name": "l_rd", "Startup Cost": 0.0, "Total Cost": 11929.04, "Plan Rows": 916101, "Plan Width": 0, "Index Cond": "((lineitem.l_receiptdate >= '1995-01-01'::date) AND (lineitem.l_receiptdate < '1996-01-01 00:00:00'::timestamp without time zone))"}]}, {"Node Type": "Index Scan", "Parent Relationship": "Inner", "Parallel Aware": false, "Scan Direction": "Forward", "Index Name": "o_ok", "Relation Name": "orders", "Schema": "public", "Alias": "orders", "Startup Cost": 0.43, "Total Cost": 1.31, "Plan Rows": 1, "Plan Width": 20, "Output": ["orders.o_orderkey", "orders.o_custkey", "orders.o_orderstatus", "orders.o_totalprice", "orders.o_orderdate", "orders.o_orderpriority", "orders.o_clerk", "orders.o_shippriority", "orders.o_comment"], "Index Cond": "(orders.o_orderkey = lineitem.l_orderkey)"}]}]}]}]}]}} diff --git a/dev9/pg12/tpch/sf_1/explain/15721/13-1.ok b/dev9/pg12/tpch/sf_1/explain/15721/13-1.ok new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/dev9/pg12/tpch/sf_1/explain/15721/13-1.res b/dev9/pg12/tpch/sf_1/explain/15721/13-1.res new file mode 100644 index 0000000000000000000000000000000000000000..4079d8b3914a49386330941dc927e08c8a9043f6 --- /dev/null +++ b/dev9/pg12/tpch/sf_1/explain/15721/13-1.res @@ -0,0 +1 @@ +{"Plan": {"Node Type": "Sort", "Parallel Aware": false, "Startup Cost": 64508.47, "Total Cost": 64508.97, "Plan Rows": 200, "Plan Width": 16, "Output": ["(count(orders.o_orderkey))", "(count(*))"], "Sort Key": ["(count(*)) DESC", "(count(orders.o_orderkey)) DESC"], "Plans": [{"Node Type": "Aggregate", "Strategy": "Hashed", "Partial Mode": "Simple", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 64498.83, "Total Cost": 64500.83, "Plan Rows": 200, "Plan Width": 16, "Output": ["(count(orders.o_orderkey))", "count(*)"], "Group Key": ["count(orders.o_orderkey)"], "Plans": [{"Node Type": "Aggregate", "Strategy": "Hashed", "Partial Mode": "Simple", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 60748.83, "Total Cost": 62248.83, "Plan Rows": 150000, "Plan Width": 12, "Output": ["customer.c_custkey", "count(orders.o_orderkey)"], "Group Key": ["customer.c_custkey"], "Plans": [{"Node Type": "Hash Join", "Parent Relationship": "Outer", "Parallel Aware": false, "Join Type": "Right", "Startup Cost": 4580.82, "Total Cost": 53323.98, "Plan Rows": 1484970, "Plan Width": 8, "Output": ["customer.c_custkey", "orders.o_orderkey"], "Inner Unique": true, "Hash Cond": "(orders.o_custkey = customer.c_custkey)", "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Relation Name": "orders", "Schema": "public", "Alias": "orders", "Startup Cost": 0.0, "Total Cost": 44845.0, "Plan Rows": 1484970, "Plan Width": 8, "Output": ["orders.o_orderkey", "orders.o_custkey", "orders.o_orderstatus", "orders.o_totalprice", "orders.o_orderdate", "orders.o_orderpriority", "orders.o_clerk", "orders.o_shippriority", "orders.o_comment"], "Filter": "((orders.o_comment)::text !~~ '%unusual%requests%'::text)"}, {"Node Type": "Hash", "Parent Relationship": "Inner", "Parallel Aware": false, "Startup Cost": 2705.82, "Total Cost": 2705.82, "Plan Rows": 150000, "Plan Width": 4, "Output": ["customer.c_custkey"], "Plans": [{"Node Type": "Index Only Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Scan Direction": "Forward", "Index Name": "c_ck", "Relation Name": "customer", "Schema": "public", "Alias": "customer", "Startup Cost": 0.42, "Total Cost": 2705.82, "Plan Rows": 150000, "Plan Width": 4, "Output": ["customer.c_custkey"]}]}]}]}]}]}} diff --git a/dev9/pg12/tpch/sf_1/explain/15721/14-1.ok b/dev9/pg12/tpch/sf_1/explain/15721/14-1.ok new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/dev9/pg12/tpch/sf_1/explain/15721/14-1.res b/dev9/pg12/tpch/sf_1/explain/15721/14-1.res new file mode 100644 index 0000000000000000000000000000000000000000..f0bcf05d9d27ff0af212a4d634bd36bbaab7cbbc --- /dev/null +++ b/dev9/pg12/tpch/sf_1/explain/15721/14-1.res @@ -0,0 +1 @@ +{"Plan": {"Node Type": "Aggregate", "Strategy": "Plain", "Partial Mode": "Finalize", "Parallel Aware": false, "Startup Cost": 68096.81, "Total Cost": 68096.82, "Plan Rows": 1, "Plan Width": 32, "Output": ["((100.00 * sum(CASE WHEN ((part.p_type)::text ~~ 'PROMO%'::text) THEN (lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount)) ELSE '0'::numeric END)) / sum((lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount))))"], "Plans": [{"Node Type": "Gather", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 68096.35, "Total Cost": 68096.76, "Plan Rows": 4, "Plan Width": 64, "Output": ["(PARTIAL sum(CASE WHEN ((part.p_type)::text ~~ 'PROMO%'::text) THEN (lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount)) ELSE '0'::numeric END))", "(PARTIAL sum((lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount))))"], "Workers Planned": 4, "Single Copy": false, "Plans": [{"Node Type": "Aggregate", "Strategy": "Plain", "Partial Mode": "Partial", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 67096.35, "Total Cost": 67096.36, "Plan Rows": 1, "Plan Width": 64, "Output": ["PARTIAL sum(CASE WHEN ((part.p_type)::text ~~ 'PROMO%'::text) THEN (lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount)) ELSE '0'::numeric END)", "PARTIAL sum((lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount)))"], "Plans": [{"Node Type": "Hash Join", "Parent Relationship": "Outer", "Parallel Aware": true, "Join Type": "Inner", "Startup Cost": 7004.54, "Total Cost": 66756.29, "Plan Rows": 19432, "Plan Width": 33, "Output": ["part.p_type", "lineitem.l_extendedprice", "lineitem.l_discount"], "Inner Unique": true, "Hash Cond": "(lineitem.l_partkey = part.p_partkey)", "Plans": [{"Node Type": "Bitmap Heap Scan", "Parent Relationship": "Outer", "Parallel Aware": true, "Relation Name": "lineitem", "Schema": "public", "Alias": "lineitem", "Startup Cost": 1032.54, "Total Cost": 60733.28, "Plan Rows": 19432, "Plan Width": 16, "Output": ["lineitem.l_orderkey", "lineitem.l_partkey", "lineitem.l_suppkey", "lineitem.l_linenumber", "lineitem.l_quantity", "lineitem.l_extendedprice", "lineitem.l_discount", "lineitem.l_tax", "lineitem.l_returnflag", "lineitem.l_linestatus", "lineitem.l_shipdate", "lineitem.l_commitdate", "lineitem.l_receiptdate", "lineitem.l_shipinstruct", "lineitem.l_shipmode", "lineitem.l_comment"], "Recheck Cond": "((lineitem.l_shipdate >= '1995-05-01'::date) AND (lineitem.l_shipdate < '1995-06-01 00:00:00'::timestamp without time zone))", "Plans": [{"Node Type": "Bitmap Index Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Index Name": "l_sd", "Startup Cost": 0.0, "Total Cost": 1013.11, "Plan Rows": 77728, "Plan Width": 0, "Index Cond": "((lineitem.l_shipdate >= '1995-05-01'::date) AND (lineitem.l_shipdate < '1995-06-01 00:00:00'::timestamp without time zone))"}]}, {"Node Type": "Hash", "Parent Relationship": "Inner", "Parallel Aware": true, "Startup Cost": 4930.33, "Total Cost": 4930.33, "Plan Rows": 83333, "Plan Width": 25, "Output": ["part.p_type", "part.p_partkey"], "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": true, "Relation Name": "part", "Schema": "public", "Alias": "part", "Startup Cost": 0.0, "Total Cost": 4930.33, "Plan Rows": 83333, "Plan Width": 25, "Output": ["part.p_type", "part.p_partkey"]}]}]}]}]}]}} diff --git a/dev9/pg12/tpch/sf_1/explain/15721/15-1.ok b/dev9/pg12/tpch/sf_1/explain/15721/15-1.ok new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/dev9/pg12/tpch/sf_1/explain/15721/15-1.res b/dev9/pg12/tpch/sf_1/explain/15721/15-1.res new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/dev9/pg12/tpch/sf_1/explain/15721/15-2.ok b/dev9/pg12/tpch/sf_1/explain/15721/15-2.ok new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/dev9/pg12/tpch/sf_1/explain/15721/15-2.res b/dev9/pg12/tpch/sf_1/explain/15721/15-2.res new file mode 100644 index 0000000000000000000000000000000000000000..0e67511a5069e2f6d0f0b5baa4192e9398493a26 --- /dev/null +++ b/dev9/pg12/tpch/sf_1/explain/15721/15-2.res @@ -0,0 +1 @@ +{"Plan": {"Node Type": "Merge Join", "Parallel Aware": false, "Join Type": "Inner", "Startup Cost": 244521.22, "Total Cost": 244952.07, "Plan Rows": 50, "Plan Width": 103, "Output": ["supplier.s_suppkey", "supplier.s_name", "supplier.s_address", "supplier.s_phone", "revenue0.total_revenue"], "Inner Unique": true, "Merge Cond": "(supplier.s_suppkey = revenue0.supplier_no)", "Plans": [{"Node Type": "Aggregate", "Strategy": "Plain", "Partial Mode": "Simple", "Parent Relationship": "InitPlan", "Subplan Name": "InitPlan 1 (returns $0)", "Parallel Aware": false, "Startup Cost": 121445.35, "Total Cost": 121445.36, "Plan Rows": 1, "Plan Width": 32, "Output": ["max((sum((lineitem_1.l_extendedprice * ('1'::numeric - lineitem_1.l_discount)))))"], "Plans": [{"Node Type": "Aggregate", "Strategy": "Hashed", "Partial Mode": "Simple", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 121195.35, "Total Cost": 121320.35, "Plan Rows": 10000, "Plan Width": 36, "Output": ["lineitem_1.l_suppkey", "sum((lineitem_1.l_extendedprice * ('1'::numeric - lineitem_1.l_discount)))"], "Group Key": ["lineitem_1.l_suppkey"], "Plans": [{"Node Type": "Bitmap Heap Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Relation Name": "lineitem", "Schema": "public", "Alias": "lineitem_1", "Startup Cost": 3014.68, "Total Cost": 118924.28, "Plan Rows": 227107, "Plan Width": 16, "Output": ["lineitem_1.l_orderkey", "lineitem_1.l_partkey", "lineitem_1.l_suppkey", "lineitem_1.l_linenumber", "lineitem_1.l_quantity", "lineitem_1.l_extendedprice", "lineitem_1.l_discount", "lineitem_1.l_tax", "lineitem_1.l_returnflag", "lineitem_1.l_linestatus", "lineitem_1.l_shipdate", "lineitem_1.l_commitdate", "lineitem_1.l_receiptdate", "lineitem_1.l_shipinstruct", "lineitem_1.l_shipmode", "lineitem_1.l_comment"], "Recheck Cond": "((lineitem_1.l_shipdate >= '1995-01-01'::date) AND (lineitem_1.l_shipdate < '1995-04-01 00:00:00'::timestamp without time zone))", "Plans": [{"Node Type": "Bitmap Index Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Index Name": "l_sd", "Startup Cost": 0.0, "Total Cost": 2957.9, "Plan Rows": 227107, "Plan Width": 0, "Index Cond": "((lineitem_1.l_shipdate >= '1995-01-01'::date) AND (lineitem_1.l_shipdate < '1995-04-01 00:00:00'::timestamp without time zone))"}]}]}]}, {"Node Type": "Index Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Scan Direction": "Forward", "Index Name": "s_sk", "Relation Name": "supplier", "Schema": "public", "Alias": "supplier", "Startup Cost": 0.29, "Total Cost": 405.39, "Plan Rows": 10000, "Plan Width": 71, "Output": ["supplier.s_suppkey", "supplier.s_name", "supplier.s_address", "supplier.s_nationkey", "supplier.s_phone", "supplier.s_acctbal", "supplier.s_comment"]}, {"Node Type": "Sort", "Parent Relationship": "Inner", "Parallel Aware": false, "Startup Cost": 123075.57, "Total Cost": 123075.69, "Plan Rows": 50, "Plan Width": 36, "Output": ["revenue0.total_revenue", "revenue0.supplier_no"], "Sort Key": ["revenue0.supplier_no"], "Plans": [{"Node Type": "Subquery Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Alias": "revenue0", "Startup Cost": 122898.66, "Total Cost": 123074.16, "Plan Rows": 50, "Plan Width": 36, "Output": ["revenue0.total_revenue", "revenue0.supplier_no"], "Plans": [{"Node Type": "Aggregate", "Strategy": "Hashed", "Partial Mode": "Simple", "Parent Relationship": "Subquery", "Parallel Aware": false, "Startup Cost": 122898.66, "Total Cost": 123073.66, "Plan Rows": 50, "Plan Width": 36, "Output": ["lineitem.l_suppkey", "sum((lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount)))"], "Group Key": ["lineitem.l_suppkey"], "Filter": "(sum((lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount))) = $0)", "Plans": [{"Node Type": "Bitmap Heap Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Relation Name": "lineitem", "Schema": "public", "Alias": "lineitem", "Startup Cost": 3014.68, "Total Cost": 118924.28, "Plan Rows": 227107, "Plan Width": 16, "Output": ["lineitem.l_orderkey", "lineitem.l_partkey", "lineitem.l_suppkey", "lineitem.l_linenumber", "lineitem.l_quantity", "lineitem.l_extendedprice", "lineitem.l_discount", "lineitem.l_tax", "lineitem.l_returnflag", "lineitem.l_linestatus", "lineitem.l_shipdate", "lineitem.l_commitdate", "lineitem.l_receiptdate", "lineitem.l_shipinstruct", "lineitem.l_shipmode", "lineitem.l_comment"], "Recheck Cond": "((lineitem.l_shipdate >= '1995-01-01'::date) AND (lineitem.l_shipdate < '1995-04-01 00:00:00'::timestamp without time zone))", "Plans": [{"Node Type": "Bitmap Index Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Index Name": "l_sd", "Startup Cost": 0.0, "Total Cost": 2957.9, "Plan Rows": 227107, "Plan Width": 0, "Index Cond": "((lineitem.l_shipdate >= '1995-01-01'::date) AND (lineitem.l_shipdate < '1995-04-01 00:00:00'::timestamp without time zone))"}]}]}]}]}]}} diff --git a/dev9/pg12/tpch/sf_1/explain/15721/15-3.ok b/dev9/pg12/tpch/sf_1/explain/15721/15-3.ok new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/dev9/pg12/tpch/sf_1/explain/15721/15-3.res b/dev9/pg12/tpch/sf_1/explain/15721/15-3.res new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/dev9/pg12/tpch/sf_1/explain/15721/16-1.ok b/dev9/pg12/tpch/sf_1/explain/15721/16-1.ok new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/dev9/pg12/tpch/sf_1/explain/15721/16-1.res b/dev9/pg12/tpch/sf_1/explain/15721/16-1.res new file mode 100644 index 0000000000000000000000000000000000000000..1c8a18aeeb2c55a116fc27bece682ce63ce9dd58 --- /dev/null +++ b/dev9/pg12/tpch/sf_1/explain/15721/16-1.res @@ -0,0 +1 @@ +{"Plan": {"Node Type": "Sort", "Parallel Aware": false, "Startup Cost": 29519.38, "Total Cost": 29559.35, "Plan Rows": 15987, "Plan Width": 44, "Output": ["part.p_brand", "part.p_type", "part.p_size", "(count(DISTINCT partsupp.ps_suppkey))"], "Sort Key": ["(count(DISTINCT partsupp.ps_suppkey)) DESC", "part.p_brand", "part.p_type", "part.p_size"], "Plans": [{"Node Type": "Aggregate", "Strategy": "Sorted", "Partial Mode": "Simple", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 27501.35, "Total Cost": 28403.12, "Plan Rows": 15987, "Plan Width": 44, "Output": ["part.p_brand", "part.p_type", "part.p_size", "count(DISTINCT partsupp.ps_suppkey)"], "Group Key": ["part.p_brand", "part.p_type", "part.p_size"], "Plans": [{"Node Type": "Sort", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 27501.35, "Total Cost": 27649.73, "Plan Rows": 59352, "Plan Width": 40, "Output": ["part.p_brand", "part.p_type", "part.p_size", "partsupp.ps_suppkey"], "Sort Key": ["part.p_brand", "part.p_type", "part.p_size"], "Plans": [{"Node Type": "Gather", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 7682.32, "Total Cost": 22795.62, "Plan Rows": 59352, "Plan Width": 40, "Output": ["part.p_brand", "part.p_type", "part.p_size", "partsupp.ps_suppkey"], "Workers Planned": 4, "Single Copy": false, "Plans": [{"Node Type": "Hash Join", "Parent Relationship": "Outer", "Parallel Aware": true, "Join Type": "Inner", "Startup Cost": 6682.32, "Total Cost": 15860.42, "Plan Rows": 14838, "Plan Width": 40, "Output": ["part.p_brand", "part.p_type", "part.p_size", "partsupp.ps_suppkey"], "Inner Unique": true, "Hash Cond": "(partsupp.ps_partkey = part.p_partkey)", "Plans": [{"Node Type": "Index Only Scan", "Parent Relationship": "Outer", "Parallel Aware": true, "Scan Direction": "Forward", "Index Name": "ps_pk_sk", "Relation Name": "partsupp", "Schema": "public", "Alias": "partsupp", "Startup Cost": 347.43, "Total Cost": 9263.03, "Plan Rows": 100000, "Plan Width": 8, "Output": ["partsupp.ps_partkey", "partsupp.ps_suppkey"], "Filter": "(NOT (hashed SubPlan 1))", "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "SubPlan", "Subplan Name": "SubPlan 1", "Parallel Aware": false, "Relation Name": "supplier", "Schema": "public", "Alias": "supplier", "Startup Cost": 0.0, "Total Cost": 347.0, "Plan Rows": 1, "Plan Width": 4, "Output": ["supplier.s_suppkey"], "Filter": "((supplier.s_comment)::text ~~ '%Customer%Complaints%'::text)"}]}, {"Node Type": "Hash", "Parent Relationship": "Inner", "Parallel Aware": true, "Startup Cost": 6180.33, "Total Cost": 6180.33, "Plan Rows": 12365, "Plan Width": 40, "Output": ["part.p_brand", "part.p_type", "part.p_size", "part.p_partkey"], "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": true, "Relation Name": "part", "Schema": "public", "Alias": "part", "Startup Cost": 0.0, "Total Cost": 6180.33, "Plan Rows": 12365, "Plan Width": 40, "Output": ["part.p_brand", "part.p_type", "part.p_size", "part.p_partkey"], "Filter": "((part.p_brand <> 'Brand#11'::bpchar) AND ((part.p_type)::text !~~ 'ECONOMY ANODIZED%'::text) AND (part.p_size = ANY ('{42,16,39,18,23,32,44,41}'::integer[])))"}]}]}]}]}]}]}} diff --git a/dev9/pg12/tpch/sf_1/explain/15721/17-1.ok b/dev9/pg12/tpch/sf_1/explain/15721/17-1.ok new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/dev9/pg12/tpch/sf_1/explain/15721/17-1.res b/dev9/pg12/tpch/sf_1/explain/15721/17-1.res new file mode 100644 index 0000000000000000000000000000000000000000..795d90c4c510c5a912afe314eeb540c069f3632f --- /dev/null +++ b/dev9/pg12/tpch/sf_1/explain/15721/17-1.res @@ -0,0 +1 @@ +{"Plan": {"Node Type": "Aggregate", "Strategy": "Plain", "Partial Mode": "Simple", "Parallel Aware": false, "Startup Cost": 195005.38, "Total Cost": 195005.39, "Plan Rows": 1, "Plan Width": 32, "Output": ["(sum(lineitem.l_extendedprice) / 7.0)"], "Plans": [{"Node Type": "Hash Join", "Parent Relationship": "Outer", "Parallel Aware": false, "Join Type": "Inner", "Startup Cost": 6369.28, "Total Cost": 195000.43, "Plan Rows": 1980, "Plan Width": 8, "Output": ["lineitem.l_extendedprice"], "Inner Unique": true, "Hash Cond": "(lineitem.l_partkey = part.p_partkey)", "Join Filter": "(lineitem.l_quantity < (SubPlan 1))", "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Relation Name": "lineitem", "Schema": "public", "Alias": "lineitem", "Startup Cost": 0.0, "Total Cost": 172515.15, "Plan Rows": 6001215, "Plan Width": 17, "Output": ["lineitem.l_orderkey", "lineitem.l_partkey", "lineitem.l_suppkey", "lineitem.l_linenumber", "lineitem.l_quantity", "lineitem.l_extendedprice", "lineitem.l_discount", "lineitem.l_tax", "lineitem.l_returnflag", "lineitem.l_linestatus", "lineitem.l_shipdate", "lineitem.l_commitdate", "lineitem.l_receiptdate", "lineitem.l_shipinstruct", "lineitem.l_shipmode", "lineitem.l_comment"]}, {"Node Type": "Hash", "Parent Relationship": "Inner", "Parallel Aware": false, "Startup Cost": 6366.8, "Total Cost": 6366.8, "Plan Rows": 198, "Plan Width": 4, "Output": ["part.p_partkey"], "Plans": [{"Node Type": "Gather", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 1000.0, "Total Cost": 6366.8, "Plan Rows": 198, "Plan Width": 4, "Output": ["part.p_partkey"], "Workers Planned": 2, "Single Copy": false, "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": true, "Relation Name": "part", "Schema": "public", "Alias": "part", "Startup Cost": 0.0, "Total Cost": 5347.0, "Plan Rows": 82, "Plan Width": 4, "Output": ["part.p_partkey"], "Filter": "((part.p_brand = 'Brand#14'::bpchar) AND (part.p_container = 'WRAP BOX'::bpchar))"}]}]}, {"Node Type": "Aggregate", "Strategy": "Plain", "Partial Mode": "Simple", "Parent Relationship": "SubPlan", "Subplan Name": "SubPlan 1", "Parallel Aware": false, "Startup Cost": 36.25, "Total Cost": 36.27, "Plan Rows": 1, "Plan Width": 32, "Output": ["(0.2 * avg(lineitem_1.l_quantity))"], "Plans": [{"Node Type": "Index Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Scan Direction": "Forward", "Index Name": "l_pk", "Relation Name": "lineitem", "Schema": "public", "Alias": "lineitem_1", "Startup Cost": 0.43, "Total Cost": 36.17, "Plan Rows": 31, "Plan Width": 5, "Output": ["lineitem_1.l_orderkey", "lineitem_1.l_partkey", "lineitem_1.l_suppkey", "lineitem_1.l_linenumber", "lineitem_1.l_quantity", "lineitem_1.l_extendedprice", "lineitem_1.l_discount", "lineitem_1.l_tax", "lineitem_1.l_returnflag", "lineitem_1.l_linestatus", "lineitem_1.l_shipdate", "lineitem_1.l_commitdate", "lineitem_1.l_receiptdate", "lineitem_1.l_shipinstruct", "lineitem_1.l_shipmode", "lineitem_1.l_comment"], "Index Cond": "(lineitem_1.l_partkey = part.p_partkey)"}]}]}]}} diff --git a/dev9/pg12/tpch/sf_1/explain/15721/18-1.ok b/dev9/pg12/tpch/sf_1/explain/15721/18-1.ok new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/dev9/pg12/tpch/sf_1/explain/15721/18-1.res b/dev9/pg12/tpch/sf_1/explain/15721/18-1.res new file mode 100644 index 0000000000000000000000000000000000000000..124520555094dc36754f07edf2647937e7fb6b4e --- /dev/null +++ b/dev9/pg12/tpch/sf_1/explain/15721/18-1.res @@ -0,0 +1 @@ +{"Plan": {"Node Type": "Limit", "Parallel Aware": false, "Startup Cost": 755393.87, "Total Cost": 755394.12, "Plan Rows": 100, "Plan Width": 71, "Output": ["customer.c_name", "customer.c_custkey", "orders.o_orderkey", "orders.o_orderdate", "orders.o_totalprice", "(sum(lineitem.l_quantity))"], "Plans": [{"Node Type": "Sort", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 755393.87, "Total Cost": 759437.06, "Plan Rows": 1617275, "Plan Width": 71, "Output": ["customer.c_name", "customer.c_custkey", "orders.o_orderkey", "orders.o_orderdate", "orders.o_totalprice", "(sum(lineitem.l_quantity))"], "Sort Key": ["orders.o_totalprice DESC", "orders.o_orderdate"], "Plans": [{"Node Type": "Aggregate", "Strategy": "Sorted", "Partial Mode": "Finalize", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 462077.54, "Total Cost": 693582.78, "Plan Rows": 1617275, "Plan Width": 71, "Output": ["customer.c_name", "customer.c_custkey", "orders.o_orderkey", "orders.o_orderdate", "orders.o_totalprice", "sum(lineitem.l_quantity)"], "Group Key": ["customer.c_custkey", "orders.o_orderkey"], "Plans": [{"Node Type": "Gather Merge", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 462077.54, "Total Cost": 657715.79, "Plan Rows": 1565106, "Plan Width": 71, "Output": ["customer.c_custkey", "orders.o_orderkey", "customer.c_name", "orders.o_orderdate", "orders.o_totalprice", "(PARTIAL sum(lineitem.l_quantity))"], "Workers Planned": 3, "Plans": [{"Node Type": "Aggregate", "Strategy": "Sorted", "Partial Mode": "Partial", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 461077.5, "Total Cost": 472815.79, "Plan Rows": 521702, "Plan Width": 71, "Output": ["customer.c_custkey", "orders.o_orderkey", "customer.c_name", "orders.o_orderdate", "orders.o_totalprice", "PARTIAL sum(lineitem.l_quantity)"], "Group Key": ["customer.c_custkey", "orders.o_orderkey"], "Plans": [{"Node Type": "Sort", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 461077.5, "Total Cost": 462381.75, "Plan Rows": 521702, "Plan Width": 44, "Output": ["customer.c_custkey", "orders.o_orderkey", "customer.c_name", "orders.o_orderdate", "orders.o_totalprice", "lineitem.l_quantity"], "Sort Key": ["customer.c_custkey", "orders.o_orderkey"], "Plans": [{"Node Type": "Nested Loop", "Parent Relationship": "Outer", "Parallel Aware": false, "Join Type": "Inner", "Startup Cost": 282928.02, "Total Cost": 402133.12, "Plan Rows": 521702, "Plan Width": 44, "Output": ["customer.c_custkey", "orders.o_orderkey", "customer.c_name", "orders.o_orderdate", "orders.o_totalprice", "lineitem.l_quantity"], "Inner Unique": false, "Plans": [{"Node Type": "Hash Join", "Parent Relationship": "Outer", "Parallel Aware": true, "Join Type": "Inner", "Startup Cost": 282927.59, "Total Cost": 315473.76, "Plan Rows": 130399, "Plan Width": 43, "Output": ["customer.c_name", "customer.c_custkey", "orders.o_orderkey", "orders.o_orderdate", "orders.o_totalprice", "lineitem_1.l_orderkey"], "Inner Unique": true, "Hash Cond": "(orders.o_custkey = customer.c_custkey)", "Plans": [{"Node Type": "Hash Join", "Parent Relationship": "Outer", "Parallel Aware": false, "Join Type": "Inner", "Startup Cost": 277936.34, "Total Cost": 310140.21, "Plan Rows": 130399, "Plan Width": 24, "Output": ["orders.o_orderkey", "orders.o_orderdate", "orders.o_totalprice", "orders.o_custkey", "lineitem_1.l_orderkey"], "Inner Unique": true, "Hash Cond": "(orders.o_orderkey = lineitem_1.l_orderkey)", "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": true, "Relation Name": "orders", "Schema": "public", "Alias": "orders", "Startup Cost": 0.0, "Total Cost": 30933.71, "Plan Rows": 483871, "Plan Width": 20, "Output": ["orders.o_orderkey", "orders.o_custkey", "orders.o_orderstatus", "orders.o_totalprice", "orders.o_orderdate", "orders.o_orderpriority", "orders.o_clerk", "orders.o_shippriority", "orders.o_comment"]}, {"Node Type": "Hash", "Parent Relationship": "Inner", "Parallel Aware": false, "Startup Cost": 272883.37, "Total Cost": 272883.37, "Plan Rows": 404237, "Plan Width": 4, "Output": ["lineitem_1.l_orderkey"], "Plans": [{"Node Type": "Aggregate", "Strategy": "Sorted", "Partial Mode": "Simple", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 0.43, "Total Cost": 268841.0, "Plan Rows": 404237, "Plan Width": 4, "Output": ["lineitem_1.l_orderkey"], "Group Key": ["lineitem_1.l_orderkey"], "Filter": "(sum(lineitem_1.l_quantity) > '314'::numeric)", "Plans": [{"Node Type": "Index Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Scan Direction": "Forward", "Index Name": "l_ok", "Relation Name": "lineitem", "Schema": "public", "Alias": "lineitem_1", "Startup Cost": 0.43, "Total Cost": 220644.26, "Plan Rows": 6001215, "Plan Width": 9, "Output": ["lineitem_1.l_orderkey", "lineitem_1.l_partkey", "lineitem_1.l_suppkey", "lineitem_1.l_linenumber", "lineitem_1.l_quantity", "lineitem_1.l_extendedprice", "lineitem_1.l_discount", "lineitem_1.l_tax", "lineitem_1.l_returnflag", "lineitem_1.l_linestatus", "lineitem_1.l_shipdate", "lineitem_1.l_commitdate", "lineitem_1.l_receiptdate", "lineitem_1.l_shipinstruct", "lineitem_1.l_shipmode", "lineitem_1.l_comment"]}]}]}]}, {"Node Type": "Hash", "Parent Relationship": "Inner", "Parallel Aware": true, "Startup Cost": 4210.0, "Total Cost": 4210.0, "Plan Rows": 62500, "Plan Width": 23, "Output": ["customer.c_name", "customer.c_custkey"], "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": true, "Relation Name": "customer", "Schema": "public", "Alias": "customer", "Startup Cost": 0.0, "Total Cost": 4210.0, "Plan Rows": 62500, "Plan Width": 23, "Output": ["customer.c_name", "customer.c_custkey"]}]}]}, {"Node Type": "Index Scan", "Parent Relationship": "Inner", "Parallel Aware": false, "Scan Direction": "Forward", "Index Name": "lineitem_pkey", "Relation Name": "lineitem", "Schema": "public", "Alias": "lineitem", "Startup Cost": 0.43, "Total Cost": 0.61, "Plan Rows": 5, "Plan Width": 9, "Output": ["lineitem.l_orderkey", "lineitem.l_partkey", "lineitem.l_suppkey", "lineitem.l_linenumber", "lineitem.l_quantity", "lineitem.l_extendedprice", "lineitem.l_discount", "lineitem.l_tax", "lineitem.l_returnflag", "lineitem.l_linestatus", "lineitem.l_shipdate", "lineitem.l_commitdate", "lineitem.l_receiptdate", "lineitem.l_shipinstruct", "lineitem.l_shipmode", "lineitem.l_comment"], "Index Cond": "(lineitem.l_orderkey = orders.o_orderkey)"}]}]}]}]}]}]}]}} diff --git a/dev9/pg12/tpch/sf_1/explain/15721/19-1.ok b/dev9/pg12/tpch/sf_1/explain/15721/19-1.ok new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/dev9/pg12/tpch/sf_1/explain/15721/19-1.res b/dev9/pg12/tpch/sf_1/explain/15721/19-1.res new file mode 100644 index 0000000000000000000000000000000000000000..cd4c4d78bc296659552bfc38ff0781dadcf9bc8c --- /dev/null +++ b/dev9/pg12/tpch/sf_1/explain/15721/19-1.res @@ -0,0 +1 @@ +{"Plan": {"Node Type": "Aggregate", "Strategy": "Plain", "Partial Mode": "Finalize", "Parallel Aware": false, "Startup Cost": 15820.21, "Total Cost": 15820.22, "Plan Rows": 1, "Plan Width": 32, "Output": ["sum((lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount)))"], "Plans": [{"Node Type": "Gather", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 15819.99, "Total Cost": 15820.2, "Plan Rows": 2, "Plan Width": 32, "Output": ["(PARTIAL sum((lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount))))"], "Workers Planned": 2, "Single Copy": false, "Plans": [{"Node Type": "Aggregate", "Strategy": "Plain", "Partial Mode": "Partial", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 14819.99, "Total Cost": 14820.0, "Plan Rows": 1, "Plan Width": 32, "Output": ["PARTIAL sum((lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount)))"], "Plans": [{"Node Type": "Nested Loop", "Parent Relationship": "Outer", "Parallel Aware": false, "Join Type": "Inner", "Startup Cost": 0.43, "Total Cost": 14819.64, "Plan Rows": 47, "Plan Width": 12, "Output": ["lineitem.l_extendedprice", "lineitem.l_discount"], "Inner Unique": false, "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": true, "Relation Name": "part", "Schema": "public", "Alias": "part", "Startup Cost": 0.0, "Total Cost": 7638.67, "Plan Rows": 199, "Plan Width": 30, "Output": ["part.p_partkey", "part.p_name", "part.p_mfgr", "part.p_brand", "part.p_type", "part.p_size", "part.p_container", "part.p_retailprice", "part.p_comment"], "Filter": "((part.p_size >= 1) AND (((part.p_brand = 'Brand#52'::bpchar) AND (part.p_container = ANY ('{\"SM CASE\",\"SM BOX\",\"SM PACK\",\"SM PKG\"}'::bpchar[])) AND (part.p_size <= 5)) OR ((part.p_brand = 'Brand#42'::bpchar) AND (part.p_container = ANY ('{\"MED BAG\",\"MED BOX\",\"MED PKG\",\"MED PACK\"}'::bpchar[])) AND (part.p_size <= 10)) OR ((part.p_brand = 'Brand#23'::bpchar) AND (part.p_container = ANY ('{\"LG CASE\",\"LG BOX\",\"LG PACK\",\"LG PKG\"}'::bpchar[])) AND (part.p_size <= 15))))"}, {"Node Type": "Index Scan", "Parent Relationship": "Inner", "Parallel Aware": false, "Scan Direction": "Forward", "Index Name": "l_pk", "Relation Name": "lineitem", "Schema": "public", "Alias": "lineitem", "Startup Cost": 0.43, "Total Cost": 36.08, "Plan Rows": 1, "Plan Width": 21, "Output": ["lineitem.l_orderkey", "lineitem.l_partkey", "lineitem.l_suppkey", "lineitem.l_linenumber", "lineitem.l_quantity", "lineitem.l_extendedprice", "lineitem.l_discount", "lineitem.l_tax", "lineitem.l_returnflag", "lineitem.l_linestatus", "lineitem.l_shipdate", "lineitem.l_commitdate", "lineitem.l_receiptdate", "lineitem.l_shipinstruct", "lineitem.l_shipmode", "lineitem.l_comment"], "Index Cond": "(lineitem.l_partkey = part.p_partkey)", "Filter": "((lineitem.l_shipmode = ANY ('{AIR,\"AIR REG\"}'::bpchar[])) AND (lineitem.l_shipinstruct = 'DELIVER IN PERSON'::bpchar) AND (((lineitem.l_quantity >= '9'::numeric) AND (lineitem.l_quantity <= '19'::numeric)) OR ((lineitem.l_quantity >= '18'::numeric) AND (lineitem.l_quantity <= '28'::numeric)) OR ((lineitem.l_quantity >= '22'::numeric) AND (lineitem.l_quantity <= '32'::numeric))) AND (((part.p_brand = 'Brand#52'::bpchar) AND (part.p_container = ANY ('{\"SM CASE\",\"SM BOX\",\"SM PACK\",\"SM PKG\"}'::bpchar[])) AND (lineitem.l_quantity >= '9'::numeric) AND (lineitem.l_quantity <= '19'::numeric) AND (part.p_size <= 5)) OR ((part.p_brand = 'Brand#42'::bpchar) AND (part.p_container = ANY ('{\"MED BAG\",\"MED BOX\",\"MED PKG\",\"MED PACK\"}'::bpchar[])) AND (lineitem.l_quantity >= '18'::numeric) AND (lineitem.l_quantity <= '28'::numeric) AND (part.p_size <= 10)) OR ((part.p_brand = 'Brand#23'::bpchar) AND (part.p_container = ANY ('{\"LG CASE\",\"LG BOX\",\"LG PACK\",\"LG PKG\"}'::bpchar[])) AND (lineitem.l_quantity >= '22'::numeric) AND (lineitem.l_quantity <= '32'::numeric) AND (part.p_size <= 15))))"}]}]}]}]}} diff --git a/dev9/pg12/tpch/sf_1/explain/15721/2-1.ok b/dev9/pg12/tpch/sf_1/explain/15721/2-1.ok new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/dev9/pg12/tpch/sf_1/explain/15721/2-1.res b/dev9/pg12/tpch/sf_1/explain/15721/2-1.res new file mode 100644 index 0000000000000000000000000000000000000000..7ced883673103d718bf4f0e3f9bcbf2244227a8a --- /dev/null +++ b/dev9/pg12/tpch/sf_1/explain/15721/2-1.res @@ -0,0 +1 @@ +{"Plan": {"Node Type": "Limit", "Parallel Aware": false, "Startup Cost": 32185.31, "Total Cost": 32185.32, "Plan Rows": 1, "Plan Width": 192, "Output": ["supplier.s_acctbal", "supplier.s_name", "nation.n_name", "part.p_partkey", "part.p_mfgr", "supplier.s_address", "supplier.s_phone", "supplier.s_comment"], "Plans": [{"Node Type": "Sort", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 32185.31, "Total Cost": 32185.32, "Plan Rows": 1, "Plan Width": 192, "Output": ["supplier.s_acctbal", "supplier.s_name", "nation.n_name", "part.p_partkey", "part.p_mfgr", "supplier.s_address", "supplier.s_phone", "supplier.s_comment"], "Sort Key": ["supplier.s_acctbal DESC", "nation.n_name", "supplier.s_name", "part.p_partkey"], "Plans": [{"Node Type": "Hash Join", "Parent Relationship": "Outer", "Parallel Aware": false, "Join Type": "Inner", "Startup Cost": 16993.34, "Total Cost": 32185.3, "Plan Rows": 1, "Plan Width": 192, "Output": ["supplier.s_acctbal", "supplier.s_name", "nation.n_name", "part.p_partkey", "part.p_mfgr", "supplier.s_address", "supplier.s_phone", "supplier.s_comment"], "Inner Unique": false, "Hash Cond": "((part.p_partkey = partsupp.ps_partkey) AND ((SubPlan 1) = partsupp.ps_supplycost))", "Plans": [{"Node Type": "Gather", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 1000.0, "Total Cost": 6427.8, "Plan Rows": 808, "Plan Width": 30, "Output": ["part.p_partkey", "part.p_mfgr"], "Workers Planned": 2, "Single Copy": false, "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": true, "Relation Name": "part", "Schema": "public", "Alias": "part", "Startup Cost": 0.0, "Total Cost": 5347.0, "Plan Rows": 337, "Plan Width": 30, "Output": ["part.p_partkey", "part.p_mfgr"], "Filter": "(((part.p_type)::text ~~ '%TIN'::text) AND (part.p_size = 44))"}]}, {"Node Type": "Hash", "Parent Relationship": "Inner", "Parallel Aware": false, "Startup Cost": 9686.34, "Total Cost": 9686.34, "Plan Rows": 160000, "Plan Width": 172, "Output": ["supplier.s_acctbal", "supplier.s_name", "supplier.s_address", "supplier.s_phone", "supplier.s_comment", "partsupp.ps_partkey", "partsupp.ps_supplycost", "nation.n_name"], "Plans": [{"Node Type": "Nested Loop", "Parent Relationship": "Outer", "Parallel Aware": false, "Join Type": "Inner", "Startup Cost": 0.71, "Total Cost": 9686.34, "Plan Rows": 160000, "Plan Width": 172, "Output": ["supplier.s_acctbal", "supplier.s_name", "supplier.s_address", "supplier.s_phone", "supplier.s_comment", "partsupp.ps_partkey", "partsupp.ps_supplycost", "nation.n_name"], "Inner Unique": false, "Plans": [{"Node Type": "Nested Loop", "Parent Relationship": "Outer", "Parallel Aware": false, "Join Type": "Inner", "Startup Cost": 0.29, "Total Cost": 114.02, "Plan Rows": 2000, "Plan Width": 166, "Output": ["supplier.s_acctbal", "supplier.s_name", "supplier.s_address", "supplier.s_phone", "supplier.s_comment", "supplier.s_suppkey", "nation.n_name"], "Inner Unique": false, "Plans": [{"Node Type": "Nested Loop", "Parent Relationship": "Outer", "Parallel Aware": false, "Join Type": "Inner", "Startup Cost": 0.0, "Total Cost": 2.62, "Plan Rows": 5, "Plan Width": 30, "Output": ["nation.n_name", "nation.n_nationkey"], "Inner Unique": false, "Join Filter": "(nation.n_regionkey = region.r_regionkey)", "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Relation Name": "region", "Schema": "public", "Alias": "region", "Startup Cost": 0.0, "Total Cost": 1.06, "Plan Rows": 1, "Plan Width": 4, "Output": ["region.r_regionkey", "region.r_name", "region.r_comment"], "Filter": "(region.r_name = 'EUROPE'::bpchar)"}, {"Node Type": "Seq Scan", "Parent Relationship": "Inner", "Parallel Aware": false, "Relation Name": "nation", "Schema": "public", "Alias": "nation", "Startup Cost": 0.0, "Total Cost": 1.25, "Plan Rows": 25, "Plan Width": 34, "Output": ["nation.n_nationkey", "nation.n_name", "nation.n_regionkey", "nation.n_comment"]}]}, {"Node Type": "Index Scan", "Parent Relationship": "Inner", "Parallel Aware": false, "Scan Direction": "Forward", "Index Name": "s_nk", "Relation Name": "supplier", "Schema": "public", "Alias": "supplier", "Startup Cost": 0.29, "Total Cost": 18.28, "Plan Rows": 400, "Plan Width": 144, "Output": ["supplier.s_suppkey", "supplier.s_name", "supplier.s_address", "supplier.s_nationkey", "supplier.s_phone", "supplier.s_acctbal", "supplier.s_comment"], "Index Cond": "(supplier.s_nationkey = nation.n_nationkey)"}]}, {"Node Type": "Index Scan", "Parent Relationship": "Inner", "Parallel Aware": false, "Scan Direction": "Forward", "Index Name": "ps_sk_pk", "Relation Name": "partsupp", "Schema": "public", "Alias": "partsupp", "Startup Cost": 0.42, "Total Cost": 3.99, "Plan Rows": 80, "Plan Width": 14, "Output": ["partsupp.ps_partkey", "partsupp.ps_suppkey", "partsupp.ps_availqty", "partsupp.ps_supplycost", "partsupp.ps_comment"], "Index Cond": "(partsupp.ps_suppkey = supplier.s_suppkey)"}]}]}, {"Node Type": "Aggregate", "Strategy": "Plain", "Partial Mode": "Simple", "Parent Relationship": "SubPlan", "Subplan Name": "SubPlan 1", "Parallel Aware": false, "Startup Cost": 14.44, "Total Cost": 14.45, "Plan Rows": 1, "Plan Width": 32, "Output": ["min(partsupp_1.ps_supplycost)"], "Plans": [{"Node Type": "Nested Loop", "Parent Relationship": "Outer", "Parallel Aware": false, "Join Type": "Inner", "Startup Cost": 0.85, "Total Cost": 14.44, "Plan Rows": 1, "Plan Width": 6, "Output": ["partsupp_1.ps_supplycost"], "Inner Unique": false, "Join Filter": "(nation_1.n_regionkey = region_1.r_regionkey)", "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Relation Name": "region", "Schema": "public", "Alias": "region_1", "Startup Cost": 0.0, "Total Cost": 1.06, "Plan Rows": 1, "Plan Width": 4, "Output": ["region_1.r_regionkey", "region_1.r_name", "region_1.r_comment"], "Filter": "(region_1.r_name = 'EUROPE'::bpchar)"}, {"Node Type": "Nested Loop", "Parent Relationship": "Inner", "Parallel Aware": false, "Join Type": "Inner", "Startup Cost": 0.85, "Total Cost": 13.33, "Plan Rows": 4, "Plan Width": 10, "Output": ["partsupp_1.ps_supplycost", "nation_1.n_regionkey"], "Inner Unique": true, "Plans": [{"Node Type": "Nested Loop", "Parent Relationship": "Outer", "Parallel Aware": false, "Join Type": "Inner", "Startup Cost": 0.71, "Total Cost": 12.71, "Plan Rows": 4, "Plan Width": 10, "Output": ["partsupp_1.ps_supplycost", "supplier_1.s_nationkey"], "Inner Unique": true, "Plans": [{"Node Type": "Index Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Scan Direction": "Forward", "Index Name": "ps_pk", "Relation Name": "partsupp", "Schema": "public", "Alias": "partsupp_1", "Startup Cost": 0.42, "Total Cost": 2.7, "Plan Rows": 4, "Plan Width": 10, "Output": ["partsupp_1.ps_partkey", "partsupp_1.ps_suppkey", "partsupp_1.ps_availqty", "partsupp_1.ps_supplycost", "partsupp_1.ps_comment"], "Index Cond": "(partsupp_1.ps_partkey = part.p_partkey)"}, {"Node Type": "Index Scan", "Parent Relationship": "Inner", "Parallel Aware": false, "Scan Direction": "Forward", "Index Name": "s_sk", "Relation Name": "supplier", "Schema": "public", "Alias": "supplier_1", "Startup Cost": 0.29, "Total Cost": 2.5, "Plan Rows": 1, "Plan Width": 8, "Output": ["supplier_1.s_suppkey", "supplier_1.s_name", "supplier_1.s_address", "supplier_1.s_nationkey", "supplier_1.s_phone", "supplier_1.s_acctbal", "supplier_1.s_comment"], "Index Cond": "(supplier_1.s_suppkey = partsupp_1.ps_suppkey)"}]}, {"Node Type": "Index Scan", "Parent Relationship": "Inner", "Parallel Aware": false, "Scan Direction": "Forward", "Index Name": "n_nk", "Relation Name": "nation", "Schema": "public", "Alias": "nation_1", "Startup Cost": 0.14, "Total Cost": 0.16, "Plan Rows": 1, "Plan Width": 8, "Output": ["nation_1.n_nationkey", "nation_1.n_name", "nation_1.n_regionkey", "nation_1.n_comment"], "Index Cond": "(nation_1.n_nationkey = supplier_1.s_nationkey)"}]}]}]}]}]}]}} diff --git a/dev9/pg12/tpch/sf_1/explain/15721/20-1.ok b/dev9/pg12/tpch/sf_1/explain/15721/20-1.ok new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/dev9/pg12/tpch/sf_1/explain/15721/20-1.res b/dev9/pg12/tpch/sf_1/explain/15721/20-1.res new file mode 100644 index 0000000000000000000000000000000000000000..2f615f7f3a22e2385e8a3ecd1d9f0676666127b0 --- /dev/null +++ b/dev9/pg12/tpch/sf_1/explain/15721/20-1.res @@ -0,0 +1 @@ +{"Plan": {"Node Type": "Sort", "Parallel Aware": false, "Startup Cost": 38053.39, "Total Cost": 38053.71, "Plan Rows": 128, "Plan Width": 51, "Output": ["supplier.s_name", "supplier.s_address"], "Sort Key": ["supplier.s_name"], "Plans": [{"Node Type": "Hash Join", "Parent Relationship": "Outer", "Parallel Aware": false, "Join Type": "Semi", "Startup Cost": 37824.43, "Total Cost": 38048.91, "Plan Rows": 128, "Plan Width": 51, "Output": ["supplier.s_name", "supplier.s_address"], "Inner Unique": false, "Hash Cond": "(supplier.s_suppkey = partsupp.ps_suppkey)", "Plans": [{"Node Type": "Nested Loop", "Parent Relationship": "Outer", "Parallel Aware": false, "Join Type": "Inner", "Startup Cost": 5.58, "Total Cost": 227.43, "Plan Rows": 400, "Plan Width": 55, "Output": ["supplier.s_name", "supplier.s_address", "supplier.s_suppkey"], "Inner Unique": false, "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Relation Name": "nation", "Schema": "public", "Alias": "nation", "Startup Cost": 0.0, "Total Cost": 1.31, "Plan Rows": 1, "Plan Width": 4, "Output": ["nation.n_nationkey", "nation.n_name", "nation.n_regionkey", "nation.n_comment"], "Filter": "(nation.n_name = 'GERMANY'::bpchar)"}, {"Node Type": "Bitmap Heap Scan", "Parent Relationship": "Inner", "Parallel Aware": false, "Relation Name": "supplier", "Schema": "public", "Alias": "supplier", "Startup Cost": 5.58, "Total Cost": 222.11, "Plan Rows": 400, "Plan Width": 59, "Output": ["supplier.s_suppkey", "supplier.s_name", "supplier.s_address", "supplier.s_nationkey", "supplier.s_phone", "supplier.s_acctbal", "supplier.s_comment"], "Recheck Cond": "(supplier.s_nationkey = nation.n_nationkey)", "Plans": [{"Node Type": "Bitmap Index Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Index Name": "s_nk", "Startup Cost": 0.0, "Total Cost": 5.49, "Plan Rows": 400, "Plan Width": 0, "Index Cond": "(supplier.s_nationkey = nation.n_nationkey)"}]}]}, {"Node Type": "Hash", "Parent Relationship": "Inner", "Parallel Aware": false, "Startup Cost": 37778.76, "Total Cost": 37778.76, "Plan Rows": 3207, "Plan Width": 4, "Output": ["partsupp.ps_suppkey"], "Plans": [{"Node Type": "Nested Loop", "Parent Relationship": "Outer", "Parallel Aware": false, "Join Type": "Inner", "Startup Cost": 0.42, "Total Cost": 37778.76, "Plan Rows": 3207, "Plan Width": 4, "Output": ["partsupp.ps_suppkey"], "Inner Unique": false, "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Relation Name": "part", "Schema": "public", "Alias": "part", "Startup Cost": 0.0, "Total Cost": 6597.0, "Plan Rows": 2405, "Plan Width": 4, "Output": ["part.p_partkey", "part.p_name", "part.p_mfgr", "part.p_brand", "part.p_type", "part.p_size", "part.p_container", "part.p_retailprice", "part.p_comment"], "Filter": "((part.p_name)::text ~~ 'floral%'::text)"}, {"Node Type": "Index Scan", "Parent Relationship": "Inner", "Parallel Aware": false, "Scan Direction": "Forward", "Index Name": "ps_pk", "Relation Name": "partsupp", "Schema": "public", "Alias": "partsupp", "Startup Cost": 0.42, "Total Cost": 12.96, "Plan Rows": 1, "Plan Width": 8, "Output": ["partsupp.ps_partkey", "partsupp.ps_suppkey", "partsupp.ps_availqty", "partsupp.ps_supplycost", "partsupp.ps_comment"], "Index Cond": "(partsupp.ps_partkey = part.p_partkey)", "Filter": "((partsupp.ps_availqty)::numeric > (SubPlan 1))", "Plans": [{"Node Type": "Aggregate", "Strategy": "Plain", "Partial Mode": "Simple", "Parent Relationship": "SubPlan", "Subplan Name": "SubPlan 1", "Parallel Aware": false, "Startup Cost": 2.66, "Total Cost": 2.68, "Plan Rows": 1, "Plan Width": 32, "Output": ["(0.5 * sum(lineitem.l_quantity))"], "Plans": [{"Node Type": "Index Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Scan Direction": "Forward", "Index Name": "l_sk_pk", "Relation Name": "lineitem", "Schema": "public", "Alias": "lineitem", "Startup Cost": 0.43, "Total Cost": 2.66, "Plan Rows": 1, "Plan Width": 5, "Output": ["lineitem.l_orderkey", "lineitem.l_partkey", "lineitem.l_suppkey", "lineitem.l_linenumber", "lineitem.l_quantity", "lineitem.l_extendedprice", "lineitem.l_discount", "lineitem.l_tax", "lineitem.l_returnflag", "lineitem.l_linestatus", "lineitem.l_shipdate", "lineitem.l_commitdate", "lineitem.l_receiptdate", "lineitem.l_shipinstruct", "lineitem.l_shipmode", "lineitem.l_comment"], "Index Cond": "((lineitem.l_suppkey = partsupp.ps_suppkey) AND (lineitem.l_partkey = partsupp.ps_partkey))", "Filter": "((lineitem.l_shipdate >= '1996-01-01'::date) AND (lineitem.l_shipdate < '1997-01-01 00:00:00'::timestamp without time zone))"}]}]}]}]}]}]}} diff --git a/dev9/pg12/tpch/sf_1/explain/15721/21-1.ok b/dev9/pg12/tpch/sf_1/explain/15721/21-1.ok new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/dev9/pg12/tpch/sf_1/explain/15721/21-1.res b/dev9/pg12/tpch/sf_1/explain/15721/21-1.res new file mode 100644 index 0000000000000000000000000000000000000000..b7d7455c69370767234ae59eae89cfbada970a37 --- /dev/null +++ b/dev9/pg12/tpch/sf_1/explain/15721/21-1.res @@ -0,0 +1 @@ +{"Plan": {"Node Type": "Limit", "Parallel Aware": false, "Startup Cost": 54018.06, "Total Cost": 54018.07, "Plan Rows": 1, "Plan Width": 34, "Output": ["supplier.s_name", "(count(*))"], "Plans": [{"Node Type": "Sort", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 54018.06, "Total Cost": 54018.07, "Plan Rows": 1, "Plan Width": 34, "Output": ["supplier.s_name", "(count(*))"], "Sort Key": ["(count(*)) DESC", "supplier.s_name"], "Plans": [{"Node Type": "Aggregate", "Strategy": "Sorted", "Partial Mode": "Simple", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 54018.03, "Total Cost": 54018.05, "Plan Rows": 1, "Plan Width": 34, "Output": ["supplier.s_name", "count(*)"], "Group Key": ["supplier.s_name"], "Plans": [{"Node Type": "Sort", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 54018.03, "Total Cost": 54018.04, "Plan Rows": 1, "Plan Width": 26, "Output": ["supplier.s_name"], "Sort Key": ["supplier.s_name"], "Plans": [{"Node Type": "Nested Loop", "Parent Relationship": "Outer", "Parallel Aware": false, "Join Type": "Semi", "Startup Cost": 13499.29, "Total Cost": 54018.02, "Plan Rows": 1, "Plan Width": 26, "Output": ["supplier.s_name"], "Inner Unique": false, "Join Filter": "(orders.o_orderkey = l2.l_orderkey)", "Plans": [{"Node Type": "Gather", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 13498.86, "Total Cost": 54017.4, "Plan Rows": 1, "Plan Width": 38, "Output": ["supplier.s_name", "l1.l_suppkey", "l1.l_orderkey", "orders.o_orderkey"], "Workers Planned": 3, "Single Copy": false, "Plans": [{"Node Type": "Nested Loop", "Parent Relationship": "Outer", "Parallel Aware": false, "Join Type": "Anti", "Startup Cost": 12498.86, "Total Cost": 53017.3, "Plan Rows": 1, "Plan Width": 38, "Output": ["supplier.s_name", "l1.l_suppkey", "l1.l_orderkey", "orders.o_orderkey"], "Inner Unique": false, "Plans": [{"Node Type": "Hash Join", "Parent Relationship": "Outer", "Parallel Aware": false, "Join Type": "Inner", "Startup Cost": 12498.42, "Total Cost": 45651.11, "Plan Rows": 12569, "Plan Width": 38, "Output": ["supplier.s_name", "l1.l_suppkey", "l1.l_orderkey", "orders.o_orderkey"], "Inner Unique": false, "Hash Cond": "(orders.o_orderkey = l1.l_orderkey)", "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": true, "Relation Name": "orders", "Schema": "public", "Alias": "orders", "Startup Cost": 0.0, "Total Cost": 32143.39, "Plan Rows": 235629, "Plan Width": 4, "Output": ["orders.o_orderkey", "orders.o_custkey", "orders.o_orderstatus", "orders.o_totalprice", "orders.o_orderdate", "orders.o_orderpriority", "orders.o_clerk", "orders.o_shippriority", "orders.o_comment"], "Filter": "(orders.o_orderstatus = 'F'::bpchar)"}, {"Node Type": "Hash", "Parent Relationship": "Inner", "Parallel Aware": false, "Startup Cost": 11498.22, "Total Cost": 11498.22, "Plan Rows": 80016, "Plan Width": 34, "Output": ["supplier.s_name", "l1.l_suppkey", "l1.l_orderkey"], "Plans": [{"Node Type": "Nested Loop", "Parent Relationship": "Outer", "Parallel Aware": false, "Join Type": "Inner", "Startup Cost": 6.02, "Total Cost": 11498.22, "Plan Rows": 80016, "Plan Width": 34, "Output": ["supplier.s_name", "l1.l_suppkey", "l1.l_orderkey"], "Inner Unique": false, "Plans": [{"Node Type": "Nested Loop", "Parent Relationship": "Outer", "Parallel Aware": false, "Join Type": "Inner", "Startup Cost": 5.58, "Total Cost": 227.43, "Plan Rows": 400, "Plan Width": 30, "Output": ["supplier.s_name", "supplier.s_suppkey"], "Inner Unique": false, "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Relation Name": "nation", "Schema": "public", "Alias": "nation", "Startup Cost": 0.0, "Total Cost": 1.31, "Plan Rows": 1, "Plan Width": 4, "Output": ["nation.n_nationkey", "nation.n_name", "nation.n_regionkey", "nation.n_comment"], "Filter": "(nation.n_name = 'CHINA'::bpchar)"}, {"Node Type": "Bitmap Heap Scan", "Parent Relationship": "Inner", "Parallel Aware": false, "Relation Name": "supplier", "Schema": "public", "Alias": "supplier", "Startup Cost": 5.58, "Total Cost": 222.11, "Plan Rows": 400, "Plan Width": 34, "Output": ["supplier.s_suppkey", "supplier.s_name", "supplier.s_address", "supplier.s_nationkey", "supplier.s_phone", "supplier.s_acctbal", "supplier.s_comment"], "Recheck Cond": "(supplier.s_nationkey = nation.n_nationkey)", "Plans": [{"Node Type": "Bitmap Index Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Index Name": "s_nk", "Startup Cost": 0.0, "Total Cost": 5.49, "Plan Rows": 400, "Plan Width": 0, "Index Cond": "(supplier.s_nationkey = nation.n_nationkey)"}]}]}, {"Node Type": "Index Scan", "Parent Relationship": "Inner", "Parallel Aware": false, "Scan Direction": "Forward", "Index Name": "l_sk_pk", "Relation Name": "lineitem", "Schema": "public", "Alias": "l1", "Startup Cost": 0.43, "Total Cost": 26.18, "Plan Rows": 200, "Plan Width": 8, "Output": ["l1.l_orderkey", "l1.l_partkey", "l1.l_suppkey", "l1.l_linenumber", "l1.l_quantity", "l1.l_extendedprice", "l1.l_discount", "l1.l_tax", "l1.l_returnflag", "l1.l_linestatus", "l1.l_shipdate", "l1.l_commitdate", "l1.l_receiptdate", "l1.l_shipinstruct", "l1.l_shipmode", "l1.l_comment"], "Index Cond": "(l1.l_suppkey = supplier.s_suppkey)", "Filter": "(l1.l_receiptdate > l1.l_commitdate)"}]}]}]}, {"Node Type": "Index Scan", "Parent Relationship": "Inner", "Parallel Aware": false, "Scan Direction": "Forward", "Index Name": "lineitem_pkey", "Relation Name": "lineitem", "Schema": "public", "Alias": "l3", "Startup Cost": 0.43, "Total Cost": 0.62, "Plan Rows": 2, "Plan Width": 8, "Output": ["l3.l_orderkey", "l3.l_partkey", "l3.l_suppkey", "l3.l_linenumber", "l3.l_quantity", "l3.l_extendedprice", "l3.l_discount", "l3.l_tax", "l3.l_returnflag", "l3.l_linestatus", "l3.l_shipdate", "l3.l_commitdate", "l3.l_receiptdate", "l3.l_shipinstruct", "l3.l_shipmode", "l3.l_comment"], "Index Cond": "(l3.l_orderkey = l1.l_orderkey)", "Filter": "((l3.l_receiptdate > l3.l_commitdate) AND (l3.l_suppkey <> l1.l_suppkey))"}]}]}, {"Node Type": "Index Scan", "Parent Relationship": "Inner", "Parallel Aware": false, "Scan Direction": "Forward", "Index Name": "lineitem_pkey", "Relation Name": "lineitem", "Schema": "public", "Alias": "l2", "Startup Cost": 0.43, "Total Cost": 0.6, "Plan Rows": 5, "Plan Width": 8, "Output": ["l2.l_orderkey", "l2.l_partkey", "l2.l_suppkey", "l2.l_linenumber", "l2.l_quantity", "l2.l_extendedprice", "l2.l_discount", "l2.l_tax", "l2.l_returnflag", "l2.l_linestatus", "l2.l_shipdate", "l2.l_commitdate", "l2.l_receiptdate", "l2.l_shipinstruct", "l2.l_shipmode", "l2.l_comment"], "Index Cond": "(l2.l_orderkey = l1.l_orderkey)", "Filter": "(l2.l_suppkey <> l1.l_suppkey)"}]}]}]}]}]}} diff --git a/dev9/pg12/tpch/sf_1/explain/15721/22-1.ok b/dev9/pg12/tpch/sf_1/explain/15721/22-1.ok new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/dev9/pg12/tpch/sf_1/explain/15721/22-1.res b/dev9/pg12/tpch/sf_1/explain/15721/22-1.res new file mode 100644 index 0000000000000000000000000000000000000000..2d8d1ded1e821368ede0bfbb343a9529b226433d --- /dev/null +++ b/dev9/pg12/tpch/sf_1/explain/15721/22-1.res @@ -0,0 +1 @@ +{"Plan": {"Node Type": "Aggregate", "Strategy": "Sorted", "Partial Mode": "Finalize", "Parallel Aware": false, "Startup Cost": 12872.08, "Total Cost": 12961.47, "Plan Rows": 670, "Plan Width": 72, "Output": ["(\"substring\"((customer.c_phone)::text, 1, 2))", "count(*)", "sum(customer.c_acctbal)"], "Group Key": ["(\"substring\"((customer.c_phone)::text, 1, 2))"], "Plans": [{"Node Type": "Aggregate", "Strategy": "Plain", "Partial Mode": "Finalize", "Parent Relationship": "InitPlan", "Subplan Name": "InitPlan 1 (returns $1)", "Parallel Aware": false, "Startup Cost": 6230.82, "Total Cost": 6230.83, "Plan Rows": 1, "Plan Width": 32, "Output": ["avg(customer_1.c_acctbal)"], "Plans": [{"Node Type": "Gather", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 6230.6, "Total Cost": 6230.81, "Plan Rows": 2, "Plan Width": 32, "Output": ["(PARTIAL avg(customer_1.c_acctbal))"], "Workers Planned": 2, "Single Copy": false, "Plans": [{"Node Type": "Aggregate", "Strategy": "Plain", "Partial Mode": "Partial", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 5230.6, "Total Cost": 5230.61, "Plan Rows": 1, "Plan Width": 32, "Output": ["PARTIAL avg(customer_1.c_acctbal)"], "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": true, "Relation Name": "customer", "Schema": "public", "Alias": "customer_1", "Startup Cost": 0.0, "Total Cost": 5225.62, "Plan Rows": 1988, "Plan Width": 6, "Output": ["customer_1.c_custkey", "customer_1.c_name", "customer_1.c_address", "customer_1.c_nationkey", "customer_1.c_phone", "customer_1.c_acctbal", "customer_1.c_mktsegment", "customer_1.c_comment"], "Filter": "((customer_1.c_acctbal > 0.00) AND (\"substring\"((customer_1.c_phone)::text, 1, 2) = ANY ('{17,20,25,31,30,11,33}'::text[])))"}]}]}]}, {"Node Type": "Gather Merge", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 6641.25, "Total Cost": 6713.33, "Plan Rows": 558, "Plan Width": 72, "Output": ["(\"substring\"((customer.c_phone)::text, 1, 2))", "(PARTIAL count(*))", "(PARTIAL sum(customer.c_acctbal))"], "Workers Planned": 2, "Params Evaluated": ["$1"], "Plans": [{"Node Type": "Aggregate", "Strategy": "Sorted", "Partial Mode": "Partial", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 5641.23, "Total Cost": 5648.9, "Plan Rows": 279, "Plan Width": 72, "Output": ["(\"substring\"((customer.c_phone)::text, 1, 2))", "PARTIAL count(*)", "PARTIAL sum(customer.c_acctbal)"], "Group Key": ["(\"substring\"((customer.c_phone)::text, 1, 2))"], "Plans": [{"Node Type": "Sort", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 5641.23, "Total Cost": 5641.93, "Plan Rows": 279, "Plan Width": 38, "Output": ["(\"substring\"((customer.c_phone)::text, 1, 2))", "customer.c_acctbal"], "Sort Key": ["(\"substring\"((customer.c_phone)::text, 1, 2))"], "Plans": [{"Node Type": "Nested Loop", "Parent Relationship": "Outer", "Parallel Aware": false, "Join Type": "Anti", "Startup Cost": 0.43, "Total Cost": 5629.9, "Plan Rows": 279, "Plan Width": 38, "Output": ["\"substring\"((customer.c_phone)::text, 1, 2)", "customer.c_acctbal"], "Inner Unique": false, "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": true, "Relation Name": "customer", "Schema": "public", "Alias": "customer", "Startup Cost": 0.0, "Total Cost": 5225.62, "Plan Rows": 729, "Plan Width": 26, "Output": ["customer.c_custkey", "customer.c_name", "customer.c_address", "customer.c_nationkey", "customer.c_phone", "customer.c_acctbal", "customer.c_mktsegment", "customer.c_comment"], "Filter": "((customer.c_acctbal > $1) AND (\"substring\"((customer.c_phone)::text, 1, 2) = ANY ('{17,20,25,31,30,11,33}'::text[])))"}, {"Node Type": "Index Only Scan", "Parent Relationship": "Inner", "Parallel Aware": false, "Scan Direction": "Forward", "Index Name": "o_ck", "Relation Name": "orders", "Schema": "public", "Alias": "orders", "Startup Cost": 0.43, "Total Cost": 1.62, "Plan Rows": 16, "Plan Width": 4, "Output": ["orders.o_custkey"], "Index Cond": "(orders.o_custkey = customer.c_custkey)"}]}]}]}]}]}} diff --git a/dev9/pg12/tpch/sf_1/explain/15721/3-1.ok b/dev9/pg12/tpch/sf_1/explain/15721/3-1.ok new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/dev9/pg12/tpch/sf_1/explain/15721/3-1.res b/dev9/pg12/tpch/sf_1/explain/15721/3-1.res new file mode 100644 index 0000000000000000000000000000000000000000..b87b81abcdf02bc9a98066f8a356babbef4a519f --- /dev/null +++ b/dev9/pg12/tpch/sf_1/explain/15721/3-1.res @@ -0,0 +1 @@ +{"Plan": {"Node Type": "Limit", "Parallel Aware": false, "Startup Cost": 134825.02, "Total Cost": 134825.04, "Plan Rows": 10, "Plan Width": 44, "Output": ["lineitem.l_orderkey", "(sum((lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount))))", "orders.o_orderdate", "orders.o_shippriority"], "Plans": [{"Node Type": "Sort", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 134825.02, "Total Cost": 135610.4, "Plan Rows": 314152, "Plan Width": 44, "Output": ["lineitem.l_orderkey", "(sum((lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount))))", "orders.o_orderdate", "orders.o_shippriority"], "Sort Key": ["(sum((lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount)))) DESC", "orders.o_orderdate"], "Plans": [{"Node Type": "Aggregate", "Strategy": "Sorted", "Partial Mode": "Finalize", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 86692.55, "Total Cost": 128036.31, "Plan Rows": 314152, "Plan Width": 44, "Output": ["lineitem.l_orderkey", "sum((lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount)))", "orders.o_orderdate", "orders.o_shippriority"], "Group Key": ["lineitem.l_orderkey", "orders.o_orderdate", "orders.o_shippriority"], "Plans": [{"Node Type": "Gather Merge", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 86692.55, "Total Cost": 120836.98, "Plan Rows": 261794, "Plan Width": 44, "Output": ["lineitem.l_orderkey", "orders.o_orderdate", "orders.o_shippriority", "(PARTIAL sum((lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount))))"], "Workers Planned": 2, "Plans": [{"Node Type": "Aggregate", "Strategy": "Sorted", "Partial Mode": "Partial", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 85692.53, "Total Cost": 89619.44, "Plan Rows": 130897, "Plan Width": 44, "Output": ["lineitem.l_orderkey", "orders.o_orderdate", "orders.o_shippriority", "PARTIAL sum((lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount)))"], "Group Key": ["lineitem.l_orderkey", "orders.o_orderdate", "orders.o_shippriority"], "Plans": [{"Node Type": "Sort", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 85692.53, "Total Cost": 86019.77, "Plan Rows": 130897, "Plan Width": 24, "Output": ["lineitem.l_orderkey", "orders.o_orderdate", "orders.o_shippriority", "lineitem.l_extendedprice", "lineitem.l_discount"], "Sort Key": ["lineitem.l_orderkey", "orders.o_orderdate", "orders.o_shippriority"], "Plans": [{"Node Type": "Nested Loop", "Parent Relationship": "Outer", "Parallel Aware": false, "Join Type": "Inner", "Startup Cost": 0.86, "Total Cost": 74567.54, "Plan Rows": 130897, "Plan Width": 24, "Output": ["lineitem.l_orderkey", "orders.o_orderdate", "orders.o_shippriority", "lineitem.l_extendedprice", "lineitem.l_discount"], "Inner Unique": false, "Plans": [{"Node Type": "Nested Loop", "Parent Relationship": "Outer", "Parallel Aware": false, "Join Type": "Inner", "Startup Cost": 0.43, "Total Cost": 28548.61, "Plan Rows": 60818, "Plan Width": 12, "Output": ["orders.o_orderdate", "orders.o_shippriority", "orders.o_orderkey"], "Inner Unique": false, "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": true, "Relation Name": "customer", "Schema": "public", "Alias": "customer", "Startup Cost": 0.0, "Total Cost": 4366.25, "Plan Rows": 12487, "Plan Width": 4, "Output": ["customer.c_custkey", "customer.c_name", "customer.c_address", "customer.c_nationkey", "customer.c_phone", "customer.c_acctbal", "customer.c_mktsegment", "customer.c_comment"], "Filter": "(customer.c_mktsegment = 'FURNITURE'::bpchar)"}, {"Node Type": "Index Scan", "Parent Relationship": "Inner", "Parallel Aware": false, "Scan Direction": "Forward", "Index Name": "o_ck", "Relation Name": "orders", "Schema": "public", "Alias": "orders", "Startup Cost": 0.43, "Total Cost": 1.86, "Plan Rows": 8, "Plan Width": 16, "Output": ["orders.o_orderkey", "orders.o_custkey", "orders.o_orderstatus", "orders.o_totalprice", "orders.o_orderdate", "orders.o_orderpriority", "orders.o_clerk", "orders.o_shippriority", "orders.o_comment"], "Index Cond": "(orders.o_custkey = customer.c_custkey)", "Filter": "(orders.o_orderdate < '1995-03-20'::date)"}]}, {"Node Type": "Index Scan", "Parent Relationship": "Inner", "Parallel Aware": false, "Scan Direction": "Forward", "Index Name": "lineitem_pkey", "Relation Name": "lineitem", "Schema": "public", "Alias": "lineitem", "Startup Cost": 0.43, "Total Cost": 0.73, "Plan Rows": 3, "Plan Width": 16, "Output": ["lineitem.l_orderkey", "lineitem.l_partkey", "lineitem.l_suppkey", "lineitem.l_linenumber", "lineitem.l_quantity", "lineitem.l_extendedprice", "lineitem.l_discount", "lineitem.l_tax", "lineitem.l_returnflag", "lineitem.l_linestatus", "lineitem.l_shipdate", "lineitem.l_commitdate", "lineitem.l_receiptdate", "lineitem.l_shipinstruct", "lineitem.l_shipmode", "lineitem.l_comment"], "Index Cond": "(lineitem.l_orderkey = orders.o_orderkey)", "Filter": "(lineitem.l_shipdate > '1995-03-20'::date)"}]}]}]}]}]}]}]}} diff --git a/dev9/pg12/tpch/sf_1/explain/15721/4-1.ok b/dev9/pg12/tpch/sf_1/explain/15721/4-1.ok new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/dev9/pg12/tpch/sf_1/explain/15721/4-1.res b/dev9/pg12/tpch/sf_1/explain/15721/4-1.res new file mode 100644 index 0000000000000000000000000000000000000000..2ec6a313ce69d38f5fd74b2a5e0ea30a24685afc --- /dev/null +++ b/dev9/pg12/tpch/sf_1/explain/15721/4-1.res @@ -0,0 +1 @@ +{"Plan": {"Node Type": "Aggregate", "Strategy": "Sorted", "Partial Mode": "Finalize", "Parallel Aware": false, "Startup Cost": 53184.12, "Total Cost": 53186.02, "Plan Rows": 5, "Plan Width": 24, "Output": ["orders.o_orderpriority", "count(*)"], "Group Key": ["orders.o_orderpriority"], "Plans": [{"Node Type": "Gather Merge", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 53184.12, "Total Cost": 53185.89, "Plan Rows": 15, "Plan Width": 24, "Output": ["orders.o_orderpriority", "(PARTIAL count(*))"], "Workers Planned": 3, "Plans": [{"Node Type": "Sort", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 52184.08, "Total Cost": 52184.09, "Plan Rows": 5, "Plan Width": 24, "Output": ["orders.o_orderpriority", "(PARTIAL count(*))"], "Sort Key": ["orders.o_orderpriority"], "Plans": [{"Node Type": "Aggregate", "Strategy": "Hashed", "Partial Mode": "Partial", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 52183.97, "Total Cost": 52184.02, "Plan Rows": 5, "Plan Width": 24, "Output": ["orders.o_orderpriority", "PARTIAL count(*)"], "Group Key": ["orders.o_orderpriority"], "Plans": [{"Node Type": "Nested Loop", "Parent Relationship": "Outer", "Parallel Aware": false, "Join Type": "Semi", "Startup Cost": 757.36, "Total Cost": 52109.7, "Plan Rows": 14854, "Plan Width": 16, "Output": ["orders.o_orderpriority"], "Inner Unique": false, "Plans": [{"Node Type": "Bitmap Heap Scan", "Parent Relationship": "Outer", "Parallel Aware": true, "Relation Name": "orders", "Schema": "public", "Alias": "orders", "Startup Cost": 756.93, "Total Cost": 27127.52, "Plan Rows": 18373, "Plan Width": 20, "Output": ["orders.o_orderkey", "orders.o_custkey", "orders.o_orderstatus", "orders.o_totalprice", "orders.o_orderdate", "orders.o_orderpriority", "orders.o_clerk", "orders.o_shippriority", "orders.o_comment"], "Recheck Cond": "((orders.o_orderdate >= '1996-01-01'::date) AND (orders.o_orderdate < '1996-04-01 00:00:00'::timestamp without time zone))", "Plans": [{"Node Type": "Bitmap Index Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Index Name": "o_od", "Startup Cost": 0.0, "Total Cost": 742.69, "Plan Rows": 56956, "Plan Width": 0, "Index Cond": "((orders.o_orderdate >= '1996-01-01'::date) AND (orders.o_orderdate < '1996-04-01 00:00:00'::timestamp without time zone))"}]}, {"Node Type": "Index Scan", "Parent Relationship": "Inner", "Parallel Aware": false, "Scan Direction": "Forward", "Index Name": "l_ok", "Relation Name": "lineitem", "Schema": "public", "Alias": "lineitem", "Startup Cost": 0.43, "Total Cost": 1.73, "Plan Rows": 2, "Plan Width": 4, "Output": ["lineitem.l_orderkey", "lineitem.l_partkey", "lineitem.l_suppkey", "lineitem.l_linenumber", "lineitem.l_quantity", "lineitem.l_extendedprice", "lineitem.l_discount", "lineitem.l_tax", "lineitem.l_returnflag", "lineitem.l_linestatus", "lineitem.l_shipdate", "lineitem.l_commitdate", "lineitem.l_receiptdate", "lineitem.l_shipinstruct", "lineitem.l_shipmode", "lineitem.l_comment"], "Index Cond": "(lineitem.l_orderkey = orders.o_orderkey)", "Filter": "(lineitem.l_commitdate < lineitem.l_receiptdate)"}]}]}]}]}]}} diff --git a/dev9/pg12/tpch/sf_1/explain/15721/5-1.ok b/dev9/pg12/tpch/sf_1/explain/15721/5-1.ok new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/dev9/pg12/tpch/sf_1/explain/15721/5-1.res b/dev9/pg12/tpch/sf_1/explain/15721/5-1.res new file mode 100644 index 0000000000000000000000000000000000000000..56f06b6ee11c9428b219c585aa07fb73c1cf00ad --- /dev/null +++ b/dev9/pg12/tpch/sf_1/explain/15721/5-1.res @@ -0,0 +1 @@ +{"Plan": {"Node Type": "Sort", "Parallel Aware": false, "Startup Cost": 42075.09, "Total Cost": 42075.15, "Plan Rows": 25, "Plan Width": 58, "Output": ["nation.n_name", "(sum((lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount))))"], "Sort Key": ["(sum((lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount)))) DESC"], "Plans": [{"Node Type": "Aggregate", "Strategy": "Sorted", "Partial Mode": "Finalize", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 42030.07, "Total Cost": 42074.51, "Plan Rows": 25, "Plan Width": 58, "Output": ["nation.n_name", "sum((lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount)))"], "Group Key": ["nation.n_name"], "Plans": [{"Node Type": "Gather Merge", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 42030.07, "Total Cost": 42073.82, "Plan Rows": 50, "Plan Width": 58, "Output": ["nation.n_name", "(PARTIAL sum((lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount))))"], "Workers Planned": 2, "Plans": [{"Node Type": "Aggregate", "Strategy": "Sorted", "Partial Mode": "Partial", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 41030.05, "Total Cost": 41068.02, "Plan Rows": 25, "Plan Width": 58, "Output": ["nation.n_name", "PARTIAL sum((lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount)))"], "Group Key": ["nation.n_name"], "Plans": [{"Node Type": "Sort", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 41030.05, "Total Cost": 41037.58, "Plan Rows": 3013, "Plan Width": 38, "Output": ["nation.n_name", "lineitem.l_extendedprice", "lineitem.l_discount"], "Sort Key": ["nation.n_name"], "Plans": [{"Node Type": "Hash Join", "Parent Relationship": "Outer", "Parallel Aware": false, "Join Type": "Inner", "Startup Cost": 475.37, "Total Cost": 40855.94, "Plan Rows": 3013, "Plan Width": 38, "Output": ["nation.n_name", "lineitem.l_extendedprice", "lineitem.l_discount"], "Inner Unique": true, "Hash Cond": "((lineitem.l_suppkey = supplier.s_suppkey) AND (customer.c_nationkey = supplier.s_nationkey))", "Plans": [{"Node Type": "Nested Loop", "Parent Relationship": "Outer", "Parallel Aware": false, "Join Type": "Inner", "Startup Cost": 3.37, "Total Cost": 39988.47, "Plan Rows": 75329, "Plan Width": 50, "Output": ["customer.c_nationkey", "lineitem.l_extendedprice", "lineitem.l_discount", "lineitem.l_suppkey", "nation.n_name", "nation.n_nationkey"], "Inner Unique": false, "Plans": [{"Node Type": "Nested Loop", "Parent Relationship": "Outer", "Parallel Aware": false, "Join Type": "Inner", "Startup Cost": 2.94, "Total Cost": 17435.43, "Plan Rows": 18828, "Plan Width": 38, "Output": ["customer.c_nationkey", "orders.o_orderkey", "nation.n_name", "nation.n_nationkey"], "Inner Unique": false, "Plans": [{"Node Type": "Hash Join", "Parent Relationship": "Outer", "Parallel Aware": false, "Join Type": "Inner", "Startup Cost": 2.51, "Total Cost": 4571.88, "Plan Rows": 12500, "Plan Width": 38, "Output": ["customer.c_custkey", "customer.c_nationkey", "nation.n_name", "nation.n_nationkey"], "Inner Unique": false, "Hash Cond": "(customer.c_nationkey = nation.n_nationkey)", "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": true, "Relation Name": "customer", "Schema": "public", "Alias": "customer", "Startup Cost": 0.0, "Total Cost": 4210.0, "Plan Rows": 62500, "Plan Width": 8, "Output": ["customer.c_custkey", "customer.c_name", "customer.c_address", "customer.c_nationkey", "customer.c_phone", "customer.c_acctbal", "customer.c_mktsegment", "customer.c_comment"]}, {"Node Type": "Hash", "Parent Relationship": "Inner", "Parallel Aware": false, "Startup Cost": 2.45, "Total Cost": 2.45, "Plan Rows": 5, "Plan Width": 30, "Output": ["nation.n_name", "nation.n_nationkey"], "Plans": [{"Node Type": "Hash Join", "Parent Relationship": "Outer", "Parallel Aware": false, "Join Type": "Inner", "Startup Cost": 1.07, "Total Cost": 2.45, "Plan Rows": 5, "Plan Width": 30, "Output": ["nation.n_name", "nation.n_nationkey"], "Inner Unique": true, "Hash Cond": "(nation.n_regionkey = region.r_regionkey)", "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Relation Name": "nation", "Schema": "public", "Alias": "nation", "Startup Cost": 0.0, "Total Cost": 1.25, "Plan Rows": 25, "Plan Width": 34, "Output": ["nation.n_nationkey", "nation.n_name", "nation.n_regionkey", "nation.n_comment"]}, {"Node Type": "Hash", "Parent Relationship": "Inner", "Parallel Aware": false, "Startup Cost": 1.06, "Total Cost": 1.06, "Plan Rows": 1, "Plan Width": 4, "Output": ["region.r_regionkey"], "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Relation Name": "region", "Schema": "public", "Alias": "region", "Startup Cost": 0.0, "Total Cost": 1.06, "Plan Rows": 1, "Plan Width": 4, "Output": ["region.r_regionkey"], "Filter": "(region.r_name = 'AMERICA'::bpchar)"}]}]}]}]}, {"Node Type": "Index Scan", "Parent Relationship": "Inner", "Parallel Aware": false, "Scan Direction": "Forward", "Index Name": "o_ck", "Relation Name": "orders", "Schema": "public", "Alias": "orders", "Startup Cost": 0.43, "Total Cost": 1.01, "Plan Rows": 2, "Plan Width": 8, "Output": ["orders.o_orderkey", "orders.o_custkey", "orders.o_orderstatus", "orders.o_totalprice", "orders.o_orderdate", "orders.o_orderpriority", "orders.o_clerk", "orders.o_shippriority", "orders.o_comment"], "Index Cond": "(orders.o_custkey = customer.c_custkey)", "Filter": "((orders.o_orderdate >= '1995-01-01'::date) AND (orders.o_orderdate < '1996-01-01 00:00:00'::timestamp without time zone))"}]}, {"Node Type": "Index Scan", "Parent Relationship": "Inner", "Parallel Aware": false, "Scan Direction": "Forward", "Index Name": "lineitem_pkey", "Relation Name": "lineitem", "Schema": "public", "Alias": "lineitem", "Startup Cost": 0.43, "Total Cost": 1.15, "Plan Rows": 5, "Plan Width": 20, "Output": ["lineitem.l_orderkey", "lineitem.l_partkey", "lineitem.l_suppkey", "lineitem.l_linenumber", "lineitem.l_quantity", "lineitem.l_extendedprice", "lineitem.l_discount", "lineitem.l_tax", "lineitem.l_returnflag", "lineitem.l_linestatus", "lineitem.l_shipdate", "lineitem.l_commitdate", "lineitem.l_receiptdate", "lineitem.l_shipinstruct", "lineitem.l_shipmode", "lineitem.l_comment"], "Index Cond": "(lineitem.l_orderkey = orders.o_orderkey)"}]}, {"Node Type": "Hash", "Parent Relationship": "Inner", "Parallel Aware": false, "Startup Cost": 322.0, "Total Cost": 322.0, "Plan Rows": 10000, "Plan Width": 8, "Output": ["supplier.s_suppkey", "supplier.s_nationkey"], "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Relation Name": "supplier", "Schema": "public", "Alias": "supplier", "Startup Cost": 0.0, "Total Cost": 322.0, "Plan Rows": 10000, "Plan Width": 8, "Output": ["supplier.s_suppkey", "supplier.s_nationkey"]}]}]}]}]}]}]}]}} diff --git a/dev9/pg12/tpch/sf_1/explain/15721/6-1.ok b/dev9/pg12/tpch/sf_1/explain/15721/6-1.ok new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/dev9/pg12/tpch/sf_1/explain/15721/6-1.res b/dev9/pg12/tpch/sf_1/explain/15721/6-1.res new file mode 100644 index 0000000000000000000000000000000000000000..135d2bf0543aced1aa783f9e037ff283c4616446 --- /dev/null +++ b/dev9/pg12/tpch/sf_1/explain/15721/6-1.res @@ -0,0 +1 @@ +{"Plan": {"Node Type": "Aggregate", "Strategy": "Plain", "Partial Mode": "Finalize", "Parallel Aware": false, "Startup Cost": 129696.44, "Total Cost": 129696.45, "Plan Rows": 1, "Plan Width": 32, "Output": ["sum((l_extendedprice * l_discount))"], "Plans": [{"Node Type": "Gather", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 129695.9, "Total Cost": 129696.41, "Plan Rows": 5, "Plan Width": 32, "Output": ["(PARTIAL sum((l_extendedprice * l_discount)))"], "Workers Planned": 5, "Single Copy": false, "Plans": [{"Node Type": "Aggregate", "Strategy": "Plain", "Partial Mode": "Partial", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 128695.9, "Total Cost": 128695.91, "Plan Rows": 1, "Plan Width": 32, "Output": ["PARTIAL sum((l_extendedprice * l_discount))"], "Plans": [{"Node Type": "Bitmap Heap Scan", "Parent Relationship": "Outer", "Parallel Aware": true, "Relation Name": "lineitem", "Schema": "public", "Alias": "lineitem", "Startup Cost": 11956.39, "Total Cost": 128581.25, "Plan Rows": 22931, "Plan Width": 12, "Output": ["l_orderkey", "l_partkey", "l_suppkey", "l_linenumber", "l_quantity", "l_extendedprice", "l_discount", "l_tax", "l_returnflag", "l_linestatus", "l_shipdate", "l_commitdate", "l_receiptdate", "l_shipinstruct", "l_shipmode", "l_comment"], "Recheck Cond": "((lineitem.l_shipdate >= '1995-01-01'::date) AND (lineitem.l_shipdate < '1996-01-01 00:00:00'::timestamp without time zone))", "Filter": "((lineitem.l_discount >= 0.04) AND (lineitem.l_discount <= 0.06) AND (lineitem.l_quantity < '24'::numeric))", "Plans": [{"Node Type": "Bitmap Index Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Index Name": "l_sd", "Startup Cost": 0.0, "Total Cost": 11927.72, "Plan Rows": 915969, "Plan Width": 0, "Index Cond": "((lineitem.l_shipdate >= '1995-01-01'::date) AND (lineitem.l_shipdate < '1996-01-01 00:00:00'::timestamp without time zone))"}]}]}]}]}} diff --git a/dev9/pg12/tpch/sf_1/explain/15721/7-1.ok b/dev9/pg12/tpch/sf_1/explain/15721/7-1.ok new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/dev9/pg12/tpch/sf_1/explain/15721/7-1.res b/dev9/pg12/tpch/sf_1/explain/15721/7-1.res new file mode 100644 index 0000000000000000000000000000000000000000..2c4ec30cb7867c801976e44327682c14eb555757 --- /dev/null +++ b/dev9/pg12/tpch/sf_1/explain/15721/7-1.res @@ -0,0 +1 @@ +{"Plan": {"Node Type": "Aggregate", "Strategy": "Sorted", "Partial Mode": "Finalize", "Parallel Aware": false, "Startup Cost": 36980.36, "Total Cost": 37823.48, "Plan Rows": 6080, "Plan Width": 92, "Output": ["n1.n_name", "n2.n_name", "(date_part('year'::text, (lineitem.l_shipdate)::timestamp without time zone))", "sum((lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount)))"], "Group Key": ["n1.n_name", "n2.n_name", "(date_part('year'::text, (lineitem.l_shipdate)::timestamp without time zone))"], "Plans": [{"Node Type": "Gather Merge", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 36980.36, "Total Cost": 37653.76, "Plan Rows": 5066, "Plan Width": 92, "Output": ["n1.n_name", "n2.n_name", "(date_part('year'::text, (lineitem.l_shipdate)::timestamp without time zone))", "(PARTIAL sum((lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount))))"], "Workers Planned": 2, "Plans": [{"Node Type": "Aggregate", "Strategy": "Sorted", "Partial Mode": "Partial", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 35980.34, "Total Cost": 36068.99, "Plan Rows": 2533, "Plan Width": 92, "Output": ["n1.n_name", "n2.n_name", "(date_part('year'::text, (lineitem.l_shipdate)::timestamp without time zone))", "PARTIAL sum((lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount)))"], "Group Key": ["n1.n_name", "n2.n_name", "(date_part('year'::text, (lineitem.l_shipdate)::timestamp without time zone))"], "Plans": [{"Node Type": "Sort", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 35980.34, "Total Cost": 35986.67, "Plan Rows": 2533, "Plan Width": 72, "Output": ["n1.n_name", "n2.n_name", "(date_part('year'::text, (lineitem.l_shipdate)::timestamp without time zone))", "lineitem.l_extendedprice", "lineitem.l_discount"], "Sort Key": ["n1.n_name", "n2.n_name", "(date_part('year'::text, (lineitem.l_shipdate)::timestamp without time zone))"], "Plans": [{"Node Type": "Hash Join", "Parent Relationship": "Outer", "Parallel Aware": false, "Join Type": "Inner", "Startup Cost": 25692.71, "Total Cost": 35837.14, "Plan Rows": 2533, "Plan Width": 72, "Output": ["n1.n_name", "n2.n_name", "date_part('year'::text, (lineitem.l_shipdate)::timestamp without time zone)", "lineitem.l_extendedprice", "lineitem.l_discount"], "Inner Unique": false, "Hash Cond": "(orders.o_orderkey = lineitem.l_orderkey)", "Join Filter": "(((n1.n_name = 'IRAN'::bpchar) AND (n2.n_name = 'ETHIOPIA'::bpchar)) OR ((n1.n_name = 'ETHIOPIA'::bpchar) AND (n2.n_name = 'IRAN'::bpchar)))", "Plans": [{"Node Type": "Nested Loop", "Parent Relationship": "Outer", "Parallel Aware": false, "Join Type": "Inner", "Startup Cost": 1.83, "Total Cost": 9848.69, "Plan Rows": 50000, "Plan Width": 30, "Output": ["orders.o_orderkey", "n2.n_name"], "Inner Unique": false, "Plans": [{"Node Type": "Hash Join", "Parent Relationship": "Outer", "Parallel Aware": false, "Join Type": "Inner", "Startup Cost": 1.4, "Total Cost": 4403.27, "Plan Rows": 5000, "Plan Width": 30, "Output": ["customer.c_custkey", "n2.n_name"], "Inner Unique": true, "Hash Cond": "(customer.c_nationkey = n2.n_nationkey)", "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": true, "Relation Name": "customer", "Schema": "public", "Alias": "customer", "Startup Cost": 0.0, "Total Cost": 4210.0, "Plan Rows": 62500, "Plan Width": 8, "Output": ["customer.c_custkey", "customer.c_name", "customer.c_address", "customer.c_nationkey", "customer.c_phone", "customer.c_acctbal", "customer.c_mktsegment", "customer.c_comment"]}, {"Node Type": "Hash", "Parent Relationship": "Inner", "Parallel Aware": false, "Startup Cost": 1.38, "Total Cost": 1.38, "Plan Rows": 2, "Plan Width": 30, "Output": ["n2.n_name", "n2.n_nationkey"], "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Relation Name": "nation", "Schema": "public", "Alias": "n2", "Startup Cost": 0.0, "Total Cost": 1.38, "Plan Rows": 2, "Plan Width": 30, "Output": ["n2.n_name", "n2.n_nationkey"], "Filter": "((n2.n_name = 'ETHIOPIA'::bpchar) OR (n2.n_name = 'IRAN'::bpchar))"}]}]}, {"Node Type": "Index Scan", "Parent Relationship": "Inner", "Parallel Aware": false, "Scan Direction": "Forward", "Index Name": "o_ck", "Relation Name": "orders", "Schema": "public", "Alias": "orders", "Startup Cost": 0.43, "Total Cost": 0.93, "Plan Rows": 16, "Plan Width": 8, "Output": ["orders.o_orderkey", "orders.o_custkey", "orders.o_orderstatus", "orders.o_totalprice", "orders.o_orderdate", "orders.o_orderpriority", "orders.o_clerk", "orders.o_shippriority", "orders.o_comment"], "Index Cond": "(orders.o_custkey = customer.c_custkey)"}]}, {"Node Type": "Hash", "Parent Relationship": "Inner", "Parallel Aware": false, "Startup Cost": 23864.64, "Total Cost": 23864.64, "Plan Rows": 146099, "Plan Width": 46, "Output": ["lineitem.l_shipdate", "lineitem.l_extendedprice", "lineitem.l_discount", "lineitem.l_orderkey", "n1.n_name"], "Plans": [{"Node Type": "Nested Loop", "Parent Relationship": "Outer", "Parallel Aware": false, "Join Type": "Inner", "Startup Cost": 6.02, "Total Cost": 23864.64, "Plan Rows": 146099, "Plan Width": 46, "Output": ["lineitem.l_shipdate", "lineitem.l_extendedprice", "lineitem.l_discount", "lineitem.l_orderkey", "n1.n_name"], "Inner Unique": false, "Plans": [{"Node Type": "Nested Loop", "Parent Relationship": "Outer", "Parallel Aware": false, "Join Type": "Inner", "Startup Cost": 5.58, "Total Cost": 259.05, "Plan Rows": 800, "Plan Width": 30, "Output": ["supplier.s_suppkey", "n1.n_name"], "Inner Unique": false, "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Relation Name": "nation", "Schema": "public", "Alias": "n1", "Startup Cost": 0.0, "Total Cost": 1.38, "Plan Rows": 2, "Plan Width": 30, "Output": ["n1.n_nationkey", "n1.n_name", "n1.n_regionkey", "n1.n_comment"], "Filter": "((n1.n_name = 'IRAN'::bpchar) OR (n1.n_name = 'ETHIOPIA'::bpchar))"}, {"Node Type": "Bitmap Heap Scan", "Parent Relationship": "Inner", "Parallel Aware": false, "Relation Name": "supplier", "Schema": "public", "Alias": "supplier", "Startup Cost": 5.58, "Total Cost": 124.84, "Plan Rows": 400, "Plan Width": 8, "Output": ["supplier.s_suppkey", "supplier.s_name", "supplier.s_address", "supplier.s_nationkey", "supplier.s_phone", "supplier.s_acctbal", "supplier.s_comment"], "Recheck Cond": "(supplier.s_nationkey = n1.n_nationkey)", "Plans": [{"Node Type": "Bitmap Index Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Index Name": "s_nk", "Startup Cost": 0.0, "Total Cost": 5.49, "Plan Rows": 400, "Plan Width": 0, "Index Cond": "(supplier.s_nationkey = n1.n_nationkey)"}]}]}, {"Node Type": "Index Scan", "Parent Relationship": "Inner", "Parallel Aware": false, "Scan Direction": "Forward", "Index Name": "l_sk_pk", "Relation Name": "lineitem", "Schema": "public", "Alias": "lineitem", "Startup Cost": 0.43, "Total Cost": 27.68, "Plan Rows": 183, "Plan Width": 24, "Output": ["lineitem.l_orderkey", "lineitem.l_partkey", "lineitem.l_suppkey", "lineitem.l_linenumber", "lineitem.l_quantity", "lineitem.l_extendedprice", "lineitem.l_discount", "lineitem.l_tax", "lineitem.l_returnflag", "lineitem.l_linestatus", "lineitem.l_shipdate", "lineitem.l_commitdate", "lineitem.l_receiptdate", "lineitem.l_shipinstruct", "lineitem.l_shipmode", "lineitem.l_comment"], "Index Cond": "(lineitem.l_suppkey = supplier.s_suppkey)", "Filter": "((lineitem.l_shipdate >= '1995-01-01'::date) AND (lineitem.l_shipdate <= '1996-12-31'::date))"}]}]}]}]}]}]}]}} diff --git a/dev9/pg12/tpch/sf_1/explain/15721/8-1.ok b/dev9/pg12/tpch/sf_1/explain/15721/8-1.ok new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/dev9/pg12/tpch/sf_1/explain/15721/8-1.res b/dev9/pg12/tpch/sf_1/explain/15721/8-1.res new file mode 100644 index 0000000000000000000000000000000000000000..920eec459d896c73e6df463036c8420eb4da8043 --- /dev/null +++ b/dev9/pg12/tpch/sf_1/explain/15721/8-1.res @@ -0,0 +1 @@ +{"Plan": {"Node Type": "Aggregate", "Strategy": "Sorted", "Partial Mode": "Finalize", "Parallel Aware": false, "Startup Cost": 34003.21, "Total Cost": 34365.54, "Plan Rows": 2406, "Plan Width": 40, "Output": ["(date_part('year'::text, (orders.o_orderdate)::timestamp without time zone))", "(sum(CASE WHEN (n2.n_name = 'ETHIOPIA'::bpchar) THEN (lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount)) ELSE '0'::numeric END) / sum((lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount))))"], "Group Key": ["(date_part('year'::text, (orders.o_orderdate)::timestamp without time zone))"], "Plans": [{"Node Type": "Gather Merge", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 34003.21, "Total Cost": 34285.58, "Plan Rows": 2066, "Plan Width": 72, "Output": ["(date_part('year'::text, (orders.o_orderdate)::timestamp without time zone))", "(PARTIAL sum(CASE WHEN (n2.n_name = 'ETHIOPIA'::bpchar) THEN (lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount)) ELSE '0'::numeric END))", "(PARTIAL sum((lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount))))"], "Workers Planned": 2, "Plans": [{"Node Type": "Aggregate", "Strategy": "Sorted", "Partial Mode": "Partial", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 33003.19, "Total Cost": 33047.09, "Plan Rows": 1033, "Plan Width": 72, "Output": ["(date_part('year'::text, (orders.o_orderdate)::timestamp without time zone))", "PARTIAL sum(CASE WHEN (n2.n_name = 'ETHIOPIA'::bpchar) THEN (lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount)) ELSE '0'::numeric END)", "PARTIAL sum((lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount)))"], "Group Key": ["(date_part('year'::text, (orders.o_orderdate)::timestamp without time zone))"], "Plans": [{"Node Type": "Sort", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 33003.19, "Total Cost": 33005.77, "Plan Rows": 1033, "Plan Width": 46, "Output": ["(date_part('year'::text, (orders.o_orderdate)::timestamp without time zone))", "n2.n_name", "lineitem.l_extendedprice", "lineitem.l_discount"], "Sort Key": ["(date_part('year'::text, (orders.o_orderdate)::timestamp without time zone))"], "Plans": [{"Node Type": "Hash Join", "Parent Relationship": "Outer", "Parallel Aware": false, "Join Type": "Inner", "Startup Cost": 2060.37, "Total Cost": 32951.47, "Plan Rows": 1033, "Plan Width": 46, "Output": ["date_part('year'::text, (orders.o_orderdate)::timestamp without time zone)", "n2.n_name", "lineitem.l_extendedprice", "lineitem.l_discount"], "Inner Unique": true, "Hash Cond": "(supplier.s_nationkey = n2.n_nationkey)", "Plans": [{"Node Type": "Nested Loop", "Parent Relationship": "Outer", "Parallel Aware": false, "Join Type": "Inner", "Startup Cost": 2058.81, "Total Cost": 32941.58, "Plan Rows": 1033, "Plan Width": 20, "Output": ["lineitem.l_extendedprice", "lineitem.l_discount", "supplier.s_nationkey", "orders.o_orderdate"], "Inner Unique": true, "Plans": [{"Node Type": "Hash Join", "Parent Relationship": "Outer", "Parallel Aware": false, "Join Type": "Inner", "Startup Cost": 2058.52, "Total Cost": 32629.05, "Plan Rows": 1033, "Plan Width": 20, "Output": ["lineitem.l_extendedprice", "lineitem.l_discount", "lineitem.l_suppkey", "orders.o_orderdate"], "Inner Unique": false, "Hash Cond": "(orders.o_custkey = customer.c_custkey)", "Plans": [{"Node Type": "Nested Loop", "Parent Relationship": "Outer", "Parallel Aware": false, "Join Type": "Inner", "Startup Cost": 0.86, "Total Cost": 30541.68, "Plan Rows": 5167, "Plan Width": 24, "Output": ["lineitem.l_extendedprice", "lineitem.l_discount", "lineitem.l_suppkey", "orders.o_orderdate", "orders.o_custkey"], "Inner Unique": true, "Plans": [{"Node Type": "Nested Loop", "Parent Relationship": "Outer", "Parallel Aware": false, "Join Type": "Inner", "Startup Cost": 0.43, "Total Cost": 22773.39, "Plan Rows": 17053, "Plan Width": 20, "Output": ["lineitem.l_extendedprice", "lineitem.l_discount", "lineitem.l_suppkey", "lineitem.l_orderkey"], "Inner Unique": false, "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": true, "Relation Name": "part", "Schema": "public", "Alias": "part", "Startup Cost": 0.0, "Total Cost": 5138.67, "Plan Rows": 568, "Plan Width": 4, "Output": ["part.p_partkey", "part.p_name", "part.p_mfgr", "part.p_brand", "part.p_type", "part.p_size", "part.p_container", "part.p_retailprice", "part.p_comment"], "Filter": "((part.p_type)::text = 'SMALL BRUSHED NICKEL'::text)"}, {"Node Type": "Index Scan", "Parent Relationship": "Inner", "Parallel Aware": false, "Scan Direction": "Forward", "Index Name": "l_pk", "Relation Name": "lineitem", "Schema": "public", "Alias": "lineitem", "Startup Cost": 0.43, "Total Cost": 30.74, "Plan Rows": 31, "Plan Width": 24, "Output": ["lineitem.l_orderkey", "lineitem.l_partkey", "lineitem.l_suppkey", "lineitem.l_linenumber", "lineitem.l_quantity", "lineitem.l_extendedprice", "lineitem.l_discount", "lineitem.l_tax", "lineitem.l_returnflag", "lineitem.l_linestatus", "lineitem.l_shipdate", "lineitem.l_commitdate", "lineitem.l_receiptdate", "lineitem.l_shipinstruct", "lineitem.l_shipmode", "lineitem.l_comment"], "Index Cond": "(lineitem.l_partkey = part.p_partkey)"}]}, {"Node Type": "Index Scan", "Parent Relationship": "Inner", "Parallel Aware": false, "Scan Direction": "Forward", "Index Name": "o_ok", "Relation Name": "orders", "Schema": "public", "Alias": "orders", "Startup Cost": 0.43, "Total Cost": 0.46, "Plan Rows": 1, "Plan Width": 12, "Output": ["orders.o_orderkey", "orders.o_custkey", "orders.o_orderstatus", "orders.o_totalprice", "orders.o_orderdate", "orders.o_orderpriority", "orders.o_clerk", "orders.o_shippriority", "orders.o_comment"], "Index Cond": "(orders.o_orderkey = lineitem.l_orderkey)", "Filter": "((orders.o_orderdate >= '1995-01-01'::date) AND (orders.o_orderdate <= '1996-12-31'::date))"}]}, {"Node Type": "Hash", "Parent Relationship": "Inner", "Parallel Aware": false, "Startup Cost": 1682.66, "Total Cost": 1682.66, "Plan Rows": 30000, "Plan Width": 4, "Output": ["customer.c_custkey"], "Plans": [{"Node Type": "Nested Loop", "Parent Relationship": "Outer", "Parallel Aware": false, "Join Type": "Inner", "Startup Cost": 0.56, "Total Cost": 1682.66, "Plan Rows": 30000, "Plan Width": 4, "Output": ["customer.c_custkey"], "Inner Unique": false, "Plans": [{"Node Type": "Nested Loop", "Parent Relationship": "Outer", "Parallel Aware": false, "Join Type": "Inner", "Startup Cost": 0.14, "Total Cost": 5.25, "Plan Rows": 5, "Plan Width": 4, "Output": ["n1.n_nationkey"], "Inner Unique": true, "Join Filter": "(n1.n_regionkey = region.r_regionkey)", "Plans": [{"Node Type": "Index Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Scan Direction": "Forward", "Index Name": "n_nk", "Relation Name": "nation", "Schema": "public", "Alias": "n1", "Startup Cost": 0.14, "Total Cost": 3.81, "Plan Rows": 25, "Plan Width": 8, "Output": ["n1.n_nationkey", "n1.n_name", "n1.n_regionkey", "n1.n_comment"]}, {"Node Type": "Materialize", "Parent Relationship": "Inner", "Parallel Aware": false, "Startup Cost": 0.0, "Total Cost": 1.07, "Plan Rows": 1, "Plan Width": 4, "Output": ["region.r_regionkey"], "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Relation Name": "region", "Schema": "public", "Alias": "region", "Startup Cost": 0.0, "Total Cost": 1.06, "Plan Rows": 1, "Plan Width": 4, "Output": ["region.r_regionkey"], "Filter": "(region.r_name = 'AFRICA'::bpchar)"}]}]}, {"Node Type": "Index Scan", "Parent Relationship": "Inner", "Parallel Aware": false, "Scan Direction": "Forward", "Index Name": "c_nk", "Relation Name": "customer", "Schema": "public", "Alias": "customer", "Startup Cost": 0.42, "Total Cost": 275.48, "Plan Rows": 6000, "Plan Width": 8, "Output": ["customer.c_custkey", "customer.c_name", "customer.c_address", "customer.c_nationkey", "customer.c_phone", "customer.c_acctbal", "customer.c_mktsegment", "customer.c_comment"], "Index Cond": "(customer.c_nationkey = n1.n_nationkey)"}]}]}]}, {"Node Type": "Index Scan", "Parent Relationship": "Inner", "Parallel Aware": false, "Scan Direction": "Forward", "Index Name": "s_sk", "Relation Name": "supplier", "Schema": "public", "Alias": "supplier", "Startup Cost": 0.29, "Total Cost": 0.3, "Plan Rows": 1, "Plan Width": 8, "Output": ["supplier.s_suppkey", "supplier.s_name", "supplier.s_address", "supplier.s_nationkey", "supplier.s_phone", "supplier.s_acctbal", "supplier.s_comment"], "Index Cond": "(supplier.s_suppkey = lineitem.l_suppkey)"}]}, {"Node Type": "Hash", "Parent Relationship": "Inner", "Parallel Aware": false, "Startup Cost": 1.25, "Total Cost": 1.25, "Plan Rows": 25, "Plan Width": 30, "Output": ["n2.n_name", "n2.n_nationkey"], "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Relation Name": "nation", "Schema": "public", "Alias": "n2", "Startup Cost": 0.0, "Total Cost": 1.25, "Plan Rows": 25, "Plan Width": 30, "Output": ["n2.n_name", "n2.n_nationkey"]}]}]}]}]}]}]}} diff --git a/dev9/pg12/tpch/sf_1/explain/15721/9-1.ok b/dev9/pg12/tpch/sf_1/explain/15721/9-1.ok new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/dev9/pg12/tpch/sf_1/explain/15721/9-1.res b/dev9/pg12/tpch/sf_1/explain/15721/9-1.res new file mode 100644 index 0000000000000000000000000000000000000000..9107c6e4686c34834c54157ba726fadbc8eb4899 --- /dev/null +++ b/dev9/pg12/tpch/sf_1/explain/15721/9-1.res @@ -0,0 +1 @@ +{"Plan": {"Node Type": "Sort", "Parallel Aware": false, "Startup Cost": 88647.2, "Total Cost": 88797.58, "Plan Rows": 60150, "Plan Width": 66, "Output": ["nation.n_name", "(date_part('year'::text, (orders.o_orderdate)::timestamp without time zone))", "(sum(((lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount)) - (partsupp.ps_supplycost * lineitem.l_quantity))))"], "Sort Key": ["nation.n_name", "(date_part('year'::text, (orders.o_orderdate)::timestamp without time zone)) DESC"], "Plans": [{"Node Type": "Aggregate", "Strategy": "Hashed", "Partial Mode": "Finalize", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 82819.78, "Total Cost": 83872.41, "Plan Rows": 60150, "Plan Width": 66, "Output": ["nation.n_name", "(date_part('year'::text, (orders.o_orderdate)::timestamp without time zone))", "sum(((lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount)) - (partsupp.ps_supplycost * lineitem.l_quantity)))"], "Group Key": ["nation.n_name", "(date_part('year'::text, (orders.o_orderdate)::timestamp without time zone))"], "Plans": [{"Node Type": "Gather", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 61917.66, "Total Cost": 81015.28, "Plan Rows": 180450, "Plan Width": 66, "Output": ["nation.n_name", "(date_part('year'::text, (orders.o_orderdate)::timestamp without time zone))", "(PARTIAL sum(((lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount)) - (partsupp.ps_supplycost * lineitem.l_quantity))))"], "Workers Planned": 3, "Single Copy": false, "Plans": [{"Node Type": "Aggregate", "Strategy": "Hashed", "Partial Mode": "Partial", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 60917.66, "Total Cost": 61970.28, "Plan Rows": 60150, "Plan Width": 66, "Output": ["nation.n_name", "(date_part('year'::text, (orders.o_orderdate)::timestamp without time zone))", "PARTIAL sum(((lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount)) - (partsupp.ps_supplycost * lineitem.l_quantity)))"], "Group Key": ["nation.n_name", "date_part('year'::text, (orders.o_orderdate)::timestamp without time zone)"], "Plans": [{"Node Type": "Hash Join", "Parent Relationship": "Outer", "Parallel Aware": true, "Join Type": "Inner", "Startup Cost": 25479.59, "Total Cost": 59152.45, "Plan Rows": 100869, "Plan Width": 57, "Output": ["nation.n_name", "date_part('year'::text, (orders.o_orderdate)::timestamp without time zone)", "lineitem.l_extendedprice", "lineitem.l_discount", "partsupp.ps_supplycost", "lineitem.l_quantity"], "Inner Unique": false, "Hash Cond": "(orders.o_orderkey = lineitem.l_orderkey)", "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": true, "Relation Name": "orders", "Schema": "public", "Alias": "orders", "Startup Cost": 0.0, "Total Cost": 30933.71, "Plan Rows": 483871, "Plan Width": 8, "Output": ["orders.o_orderkey", "orders.o_custkey", "orders.o_orderstatus", "orders.o_totalprice", "orders.o_orderdate", "orders.o_orderpriority", "orders.o_clerk", "orders.o_shippriority", "orders.o_comment"]}, {"Node Type": "Hash", "Parent Relationship": "Inner", "Parallel Aware": true, "Startup Cost": 23850.98, "Total Cost": 23850.98, "Plan Rows": 130289, "Plan Width": 53, "Output": ["lineitem.l_extendedprice", "lineitem.l_discount", "lineitem.l_quantity", "lineitem.l_orderkey", "partsupp.ps_supplycost", "nation.n_name"], "Plans": [{"Node Type": "Nested Loop", "Parent Relationship": "Outer", "Parallel Aware": false, "Join Type": "Inner", "Startup Cost": 449.42, "Total Cost": 23850.98, "Plan Rows": 130289, "Plan Width": 53, "Output": ["lineitem.l_extendedprice", "lineitem.l_discount", "lineitem.l_quantity", "lineitem.l_orderkey", "partsupp.ps_supplycost", "nation.n_name"], "Inner Unique": false, "Join Filter": "(supplier.s_suppkey = lineitem.l_suppkey)", "Plans": [{"Node Type": "Hash Join", "Parent Relationship": "Outer", "Parallel Aware": false, "Join Type": "Inner", "Startup Cost": 448.99, "Total Cost": 12694.69, "Plan Rows": 17368, "Plan Width": 48, "Output": ["part.p_partkey", "partsupp.ps_supplycost", "partsupp.ps_suppkey", "partsupp.ps_partkey", "supplier.s_suppkey", "nation.n_name"], "Inner Unique": true, "Hash Cond": "(supplier.s_nationkey = nation.n_nationkey)", "Plans": [{"Node Type": "Hash Join", "Parent Relationship": "Outer", "Parallel Aware": false, "Join Type": "Inner", "Startup Cost": 447.43, "Total Cost": 12639.8, "Plan Rows": 17368, "Plan Width": 26, "Output": ["part.p_partkey", "partsupp.ps_supplycost", "partsupp.ps_suppkey", "partsupp.ps_partkey", "supplier.s_suppkey", "supplier.s_nationkey"], "Inner Unique": true, "Hash Cond": "(partsupp.ps_suppkey = supplier.s_suppkey)", "Plans": [{"Node Type": "Nested Loop", "Parent Relationship": "Outer", "Parallel Aware": false, "Join Type": "Inner", "Startup Cost": 0.42, "Total Cost": 12147.19, "Plan Rows": 17368, "Plan Width": 18, "Output": ["part.p_partkey", "partsupp.ps_supplycost", "partsupp.ps_suppkey", "partsupp.ps_partkey"], "Inner Unique": false, "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": true, "Relation Name": "part", "Schema": "public", "Alias": "part", "Startup Cost": 0.0, "Total Cost": 5138.67, "Plan Rows": 4342, "Plan Width": 4, "Output": ["part.p_partkey", "part.p_name", "part.p_mfgr", "part.p_brand", "part.p_type", "part.p_size", "part.p_container", "part.p_retailprice", "part.p_comment"], "Filter": "((part.p_name)::text ~~ '%forest%'::text)"}, {"Node Type": "Index Scan", "Parent Relationship": "Inner", "Parallel Aware": false, "Scan Direction": "Forward", "Index Name": "ps_pk", "Relation Name": "partsupp", "Schema": "public", "Alias": "partsupp", "Startup Cost": 0.42, "Total Cost": 1.57, "Plan Rows": 4, "Plan Width": 14, "Output": ["partsupp.ps_partkey", "partsupp.ps_suppkey", "partsupp.ps_availqty", "partsupp.ps_supplycost", "partsupp.ps_comment"], "Index Cond": "(partsupp.ps_partkey = part.p_partkey)"}]}, {"Node Type": "Hash", "Parent Relationship": "Inner", "Parallel Aware": false, "Startup Cost": 322.0, "Total Cost": 322.0, "Plan Rows": 10000, "Plan Width": 8, "Output": ["supplier.s_suppkey", "supplier.s_nationkey"], "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Relation Name": "supplier", "Schema": "public", "Alias": "supplier", "Startup Cost": 0.0, "Total Cost": 322.0, "Plan Rows": 10000, "Plan Width": 8, "Output": ["supplier.s_suppkey", "supplier.s_nationkey"]}]}]}, {"Node Type": "Hash", "Parent Relationship": "Inner", "Parallel Aware": false, "Startup Cost": 1.25, "Total Cost": 1.25, "Plan Rows": 25, "Plan Width": 30, "Output": ["nation.n_name", "nation.n_nationkey"], "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Relation Name": "nation", "Schema": "public", "Alias": "nation", "Startup Cost": 0.0, "Total Cost": 1.25, "Plan Rows": 25, "Plan Width": 30, "Output": ["nation.n_name", "nation.n_nationkey"]}]}]}, {"Node Type": "Index Scan", "Parent Relationship": "Inner", "Parallel Aware": false, "Scan Direction": "Forward", "Index Name": "l_sk_pk", "Relation Name": "lineitem", "Schema": "public", "Alias": "lineitem", "Startup Cost": 0.43, "Total Cost": 0.63, "Plan Rows": 1, "Plan Width": 29, "Output": ["lineitem.l_orderkey", "lineitem.l_partkey", "lineitem.l_suppkey", "lineitem.l_linenumber", "lineitem.l_quantity", "lineitem.l_extendedprice", "lineitem.l_discount", "lineitem.l_tax", "lineitem.l_returnflag", "lineitem.l_linestatus", "lineitem.l_shipdate", "lineitem.l_commitdate", "lineitem.l_receiptdate", "lineitem.l_shipinstruct", "lineitem.l_shipmode", "lineitem.l_comment"], "Index Cond": "((lineitem.l_suppkey = partsupp.ps_suppkey) AND (lineitem.l_partkey = partsupp.ps_partkey))"}]}]}]}]}]}]}]}} diff --git a/dev9/pg12/tpch/sf_1/explain_analyze/15721/1-1.ok b/dev9/pg12/tpch/sf_1/explain_analyze/15721/1-1.ok new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/dev9/pg12/tpch/sf_1/explain_analyze/15721/1-1.res b/dev9/pg12/tpch/sf_1/explain_analyze/15721/1-1.res new file mode 100644 index 0000000000000000000000000000000000000000..3c42ab436e668d3209d3d9708ceed681709e6938 --- /dev/null +++ b/dev9/pg12/tpch/sf_1/explain_analyze/15721/1-1.res @@ -0,0 +1 @@ +{"Plan": {"Node Type": "Aggregate", "Strategy": "Sorted", "Partial Mode": "Finalize", "Parallel Aware": false, "Startup Cost": 175361.76, "Total Cost": 175366.83, "Plan Rows": 6, "Plan Width": 236, "Actual Startup Time": 1696.213, "Actual Total Time": 1890.684, "Actual Rows": 4, "Actual Loops": 1, "Output": ["l_returnflag", "l_linestatus", "sum(l_quantity)", "sum(l_extendedprice)", "sum((l_extendedprice * ('1'::numeric - l_discount)))", "sum(((l_extendedprice * ('1'::numeric - l_discount)) * ('1'::numeric + l_tax)))", "avg(l_quantity)", "avg(l_extendedprice)", "avg(l_discount)", "count(*)"], "Group Key": ["lineitem.l_returnflag", "lineitem.l_linestatus"], "Plans": [{"Node Type": "Gather Merge", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 175361.76, "Total Cost": 175365.39, "Plan Rows": 30, "Plan Width": 236, "Actual Startup Time": 1696.155, "Actual Total Time": 1890.56, "Actual Rows": 24, "Actual Loops": 1, "Output": ["l_returnflag", "l_linestatus", "(PARTIAL sum(l_quantity))", "(PARTIAL sum(l_extendedprice))", "(PARTIAL sum((l_extendedprice * ('1'::numeric - l_discount))))", "(PARTIAL sum(((l_extendedprice * ('1'::numeric - l_discount)) * ('1'::numeric + l_tax))))", "(PARTIAL avg(l_quantity))", "(PARTIAL avg(l_extendedprice))", "(PARTIAL avg(l_discount))", "(PARTIAL count(*))"], "Workers Planned": 5, "Workers Launched": 5, "Plans": [{"Node Type": "Sort", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 174361.68, "Total Cost": 174361.7, "Plan Rows": 6, "Plan Width": 236, "Actual Startup Time": 1691.515, "Actual Total Time": 1691.516, "Actual Rows": 4, "Actual Loops": 6, "Output": ["l_returnflag", "l_linestatus", "(PARTIAL sum(l_quantity))", "(PARTIAL sum(l_extendedprice))", "(PARTIAL sum((l_extendedprice * ('1'::numeric - l_discount))))", "(PARTIAL sum(((l_extendedprice * ('1'::numeric - l_discount)) * ('1'::numeric + l_tax))))", "(PARTIAL avg(l_quantity))", "(PARTIAL avg(l_extendedprice))", "(PARTIAL avg(l_discount))", "(PARTIAL count(*))"], "Sort Key": ["lineitem.l_returnflag", "lineitem.l_linestatus"], "Sort Method": "quicksort", "Sort Space Used": 27, "Sort Space Type": "Memory", "Workers": [{"Worker Number": 0, "Actual Startup Time": 1690.738, "Actual Total Time": 1690.74, "Actual Rows": 4, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 1690.761, "Actual Total Time": 1690.762, "Actual Rows": 4, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 1690.757, "Actual Total Time": 1690.758, "Actual Rows": 4, "Actual Loops": 1}, {"Worker Number": 3, "Actual Startup Time": 1690.696, "Actual Total Time": 1690.698, "Actual Rows": 4, "Actual Loops": 1}, {"Worker Number": 4, "Actual Startup Time": 1690.745, "Actual Total Time": 1690.747, "Actual Rows": 4, "Actual Loops": 1}], "Plans": [{"Node Type": "Aggregate", "Strategy": "Hashed", "Partial Mode": "Partial", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 174361.44, "Total Cost": 174361.6, "Plan Rows": 6, "Plan Width": 236, "Actual Startup Time": 1691.462, "Actual Total Time": 1691.474, "Actual Rows": 4, "Actual Loops": 6, "Output": ["l_returnflag", "l_linestatus", "PARTIAL sum(l_quantity)", "PARTIAL sum(l_extendedprice)", "PARTIAL sum((l_extendedprice * ('1'::numeric - l_discount)))", "PARTIAL sum(((l_extendedprice * ('1'::numeric - l_discount)) * ('1'::numeric + l_tax)))", "PARTIAL avg(l_quantity)", "PARTIAL avg(l_extendedprice)", "PARTIAL avg(l_discount)", "PARTIAL count(*)"], "Group Key": ["lineitem.l_returnflag", "lineitem.l_linestatus"], "Workers": [{"Worker Number": 0, "Actual Startup Time": 1690.681, "Actual Total Time": 1690.693, "Actual Rows": 4, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 1690.707, "Actual Total Time": 1690.717, "Actual Rows": 4, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 1690.699, "Actual Total Time": 1690.71, "Actual Rows": 4, "Actual Loops": 1}, {"Worker Number": 3, "Actual Startup Time": 1690.638, "Actual Total Time": 1690.649, "Actual Rows": 4, "Actual Loops": 1}, {"Worker Number": 4, "Actual Startup Time": 1690.678, "Actual Total Time": 1690.69, "Actual Rows": 4, "Actual Loops": 1}], "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": true, "Relation Name": "lineitem", "Schema": "public", "Alias": "lineitem", "Startup Cost": 0.0, "Total Cost": 127506.04, "Plan Rows": 1171385, "Plan Width": 25, "Actual Startup Time": 0.02, "Actual Total Time": 282.524, "Actual Rows": 976793, "Actual Loops": 6, "Output": ["l_orderkey", "l_partkey", "l_suppkey", "l_linenumber", "l_quantity", "l_extendedprice", "l_discount", "l_tax", "l_returnflag", "l_linestatus", "l_shipdate", "l_commitdate", "l_receiptdate", "l_shipinstruct", "l_shipmode", "l_comment"], "Filter": "(lineitem.l_shipdate <= '1998-08-07 23:59:57'::timestamp without time zone)", "Rows Removed by Filter": 23410, "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.024, "Actual Total Time": 291.998, "Actual Rows": 965733, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 0.022, "Actual Total Time": 291.921, "Actual Rows": 970548, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 0.024, "Actual Total Time": 291.636, "Actual Rows": 971558, "Actual Loops": 1}, {"Worker Number": 3, "Actual Startup Time": 0.024, "Actual Total Time": 290.061, "Actual Rows": 971350, "Actual Loops": 1}, {"Worker Number": 4, "Actual Startup Time": 0.023, "Actual Total Time": 297.881, "Actual Rows": 965185, "Actual Loops": 1}]}]}]}]}]}, "Planning Time": 0.378, "Triggers": [], "Execution Time": 1890.772} diff --git a/dev9/pg12/tpch/sf_1/explain_analyze/15721/10-1.ok b/dev9/pg12/tpch/sf_1/explain_analyze/15721/10-1.ok new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/dev9/pg12/tpch/sf_1/explain_analyze/15721/10-1.res b/dev9/pg12/tpch/sf_1/explain_analyze/15721/10-1.res new file mode 100644 index 0000000000000000000000000000000000000000..91867e6ecf1550e63106dc558ea1143f54609c0d --- /dev/null +++ b/dev9/pg12/tpch/sf_1/explain_analyze/15721/10-1.res @@ -0,0 +1 @@ +{"Plan": {"Node Type": "Limit", "Parallel Aware": false, "Startup Cost": 72293.08, "Total Cost": 72293.13, "Plan Rows": 20, "Plan Width": 202, "Actual Startup Time": 304.925, "Actual Total Time": 311.526, "Actual Rows": 20, "Actual Loops": 1, "Output": ["customer.c_custkey", "customer.c_name", "(sum((lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount))))", "customer.c_acctbal", "nation.n_name", "customer.c_address", "customer.c_phone", "customer.c_comment"], "Plans": [{"Node Type": "Sort", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 72293.08, "Total Cost": 72427.49, "Plan Rows": 53764, "Plan Width": 202, "Actual Startup Time": 304.924, "Actual Total Time": 311.522, "Actual Rows": 20, "Actual Loops": 1, "Output": ["customer.c_custkey", "customer.c_name", "(sum((lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount))))", "customer.c_acctbal", "nation.n_name", "customer.c_address", "customer.c_phone", "customer.c_comment"], "Sort Key": ["(sum((lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount)))) DESC"], "Sort Method": "top-N heapsort", "Sort Space Used": 34, "Sort Space Type": "Memory", "Plans": [{"Node Type": "Aggregate", "Strategy": "Hashed", "Partial Mode": "Simple", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 70190.39, "Total Cost": 70862.44, "Plan Rows": 53764, "Plan Width": 202, "Actual Startup Time": 262.959, "Actual Total Time": 297.891, "Actual Rows": 37047, "Actual Loops": 1, "Output": ["customer.c_custkey", "customer.c_name", "sum((lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount)))", "customer.c_acctbal", "nation.n_name", "customer.c_address", "customer.c_phone", "customer.c_comment"], "Group Key": ["customer.c_custkey", "nation.n_name"], "Plans": [{"Node Type": "Gather", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 6717.69, "Total Cost": 69518.34, "Plan Rows": 53764, "Plan Width": 182, "Actual Startup Time": 62.244, "Actual Total Time": 165.255, "Actual Rows": 110515, "Actual Loops": 1, "Output": ["customer.c_custkey", "nation.n_name", "customer.c_name", "lineitem.l_extendedprice", "lineitem.l_discount", "customer.c_acctbal", "customer.c_address", "customer.c_phone", "customer.c_comment"], "Workers Planned": 3, "Workers Launched": 3, "Single Copy": false, "Plans": [{"Node Type": "Hash Join", "Parent Relationship": "Outer", "Parallel Aware": false, "Join Type": "Inner", "Startup Cost": 5717.69, "Total Cost": 63141.94, "Plan Rows": 17343, "Plan Width": 182, "Actual Startup Time": 59.048, "Actual Total Time": 206.592, "Actual Rows": 27629, "Actual Loops": 4, "Output": ["customer.c_custkey", "nation.n_name", "customer.c_name", "lineitem.l_extendedprice", "lineitem.l_discount", "customer.c_acctbal", "customer.c_address", "customer.c_phone", "customer.c_comment"], "Inner Unique": true, "Hash Cond": "(customer.c_nationkey = nation.n_nationkey)", "Workers": [{"Worker Number": 0, "Actual Startup Time": 57.928, "Actual Total Time": 233.535, "Actual Rows": 31899, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 58.425, "Actual Total Time": 233.612, "Actual Rows": 31622, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 58.03, "Actual Total Time": 233.732, "Actual Rows": 31634, "Actual Loops": 1}], "Plans": [{"Node Type": "Hash Join", "Parent Relationship": "Outer", "Parallel Aware": true, "Join Type": "Inner", "Startup Cost": 5716.12, "Total Cost": 63087.13, "Plan Rows": 17343, "Plan Width": 160, "Actual Startup Time": 58.9, "Actual Total Time": 198.865, "Actual Rows": 27629, "Actual Loops": 4, "Output": ["customer.c_custkey", "customer.c_name", "customer.c_acctbal", "customer.c_address", "customer.c_phone", "customer.c_comment", "customer.c_nationkey", "lineitem.l_extendedprice", "lineitem.l_discount"], "Inner Unique": true, "Hash Cond": "(orders.o_custkey = customer.c_custkey)", "Workers": [{"Worker Number": 0, "Actual Startup Time": 57.739, "Actual Total Time": 224.501, "Actual Rows": 31899, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 58.227, "Actual Total Time": 224.754, "Actual Rows": 31622, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 57.85, "Actual Total Time": 224.934, "Actual Rows": 31634, "Actual Loops": 1}], "Plans": [{"Node Type": "Nested Loop", "Parent Relationship": "Outer", "Parallel Aware": false, "Join Type": "Inner", "Startup Cost": 724.87, "Total Cost": 58050.35, "Plan Rows": 17343, "Plan Width": 16, "Actual Startup Time": 20.434, "Actual Total Time": 146.91, "Actual Rows": 27629, "Actual Loops": 4, "Output": ["orders.o_custkey", "lineitem.l_extendedprice", "lineitem.l_discount"], "Inner Unique": false, "Workers": [{"Worker Number": 0, "Actual Startup Time": 20.368, "Actual Total Time": 171.944, "Actual Rows": 31899, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 20.858, "Actual Total Time": 172.206, "Actual Rows": 31622, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 20.272, "Actual Total Time": 172.218, "Actual Rows": 31634, "Actual Loops": 1}], "Plans": [{"Node Type": "Bitmap Heap Scan", "Parent Relationship": "Outer", "Parallel Aware": true, "Relation Name": "orders", "Schema": "public", "Alias": "orders", "Startup Cost": 724.44, "Total Cost": 27083.34, "Plan Rows": 17593, "Plan Width": 8, "Actual Startup Time": 20.371, "Actual Total Time": 43.185, "Actual Rows": 13816, "Actual Loops": 4, "Output": ["orders.o_orderkey", "orders.o_custkey", "orders.o_orderstatus", "orders.o_totalprice", "orders.o_orderdate", "orders.o_orderpriority", "orders.o_clerk", "orders.o_shippriority", "orders.o_comment"], "Recheck Cond": "((orders.o_orderdate >= '1993-02-01'::date) AND (orders.o_orderdate < '1993-05-01 00:00:00'::timestamp without time zone))", "Rows Removed by Index Recheck": 0, "Exact Heap Blocks": 3196, "Lossy Heap Blocks": 0, "Workers": [{"Worker Number": 0, "Actual Startup Time": 20.29, "Actual Total Time": 47.893, "Actual Rows": 15951, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 20.78, "Actual Total Time": 48.099, "Actual Rows": 15805, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 20.199, "Actual Total Time": 47.954, "Actual Rows": 15849, "Actual Loops": 1}], "Plans": [{"Node Type": "Bitmap Index Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Index Name": "o_od", "Startup Cost": 0.0, "Total Cost": 710.81, "Plan Rows": 54538, "Plan Width": 0, "Actual Startup Time": 14.14, "Actual Total Time": 14.141, "Actual Rows": 55266, "Actual Loops": 1, "Index Cond": "((orders.o_orderdate >= '1993-02-01'::date) AND (orders.o_orderdate < '1993-05-01 00:00:00'::timestamp without time zone))", "Workers": [{"Worker Number": 2, "Actual Startup Time": 14.14, "Actual Total Time": 14.141, "Actual Rows": 55266, "Actual Loops": 1}]}]}, {"Node Type": "Index Scan", "Parent Relationship": "Inner", "Parallel Aware": false, "Scan Direction": "Forward", "Index Name": "l_ok", "Relation Name": "lineitem", "Schema": "public", "Alias": "lineitem", "Startup Cost": 0.43, "Total Cost": 1.75, "Plan Rows": 1, "Plan Width": 16, "Actual Startup Time": 0.006, "Actual Total Time": 0.007, "Actual Rows": 2, "Actual Loops": 55266, "Output": ["lineitem.l_orderkey", "lineitem.l_partkey", "lineitem.l_suppkey", "lineitem.l_linenumber", "lineitem.l_quantity", "lineitem.l_extendedprice", "lineitem.l_discount", "lineitem.l_tax", "lineitem.l_returnflag", "lineitem.l_linestatus", "lineitem.l_shipdate", "lineitem.l_commitdate", "lineitem.l_receiptdate", "lineitem.l_shipinstruct", "lineitem.l_shipmode", "lineitem.l_comment"], "Index Cond": "(lineitem.l_orderkey = orders.o_orderkey)", "Rows Removed by Index Recheck": 0, "Filter": "(lineitem.l_returnflag = 'R'::bpchar)", "Rows Removed by Filter": 2, "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.006, "Actual Total Time": 0.007, "Actual Rows": 2, "Actual Loops": 15951}, {"Worker Number": 1, "Actual Startup Time": 0.006, "Actual Total Time": 0.007, "Actual Rows": 2, "Actual Loops": 15805}, {"Worker Number": 2, "Actual Startup Time": 0.006, "Actual Total Time": 0.007, "Actual Rows": 2, "Actual Loops": 15849}]}]}, {"Node Type": "Hash", "Parent Relationship": "Inner", "Parallel Aware": true, "Startup Cost": 4210.0, "Total Cost": 4210.0, "Plan Rows": 62500, "Plan Width": 148, "Actual Startup Time": 37.906, "Actual Total Time": 37.907, "Actual Rows": 37500, "Actual Loops": 4, "Output": ["customer.c_custkey", "customer.c_name", "customer.c_acctbal", "customer.c_address", "customer.c_phone", "customer.c_comment", "customer.c_nationkey"], "Hash Buckets": 262144, "Original Hash Buckets": 262144, "Hash Batches": 1, "Original Hash Batches": 1, "Peak Memory Usage": 29312, "Workers": [{"Worker Number": 0, "Actual Startup Time": 37.325, "Actual Total Time": 37.326, "Actual Rows": 35091, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 37.323, "Actual Total Time": 37.324, "Actual Rows": 34732, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 37.554, "Actual Total Time": 37.555, "Actual Rows": 35165, "Actual Loops": 1}], "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": true, "Relation Name": "customer", "Schema": "public", "Alias": "customer", "Startup Cost": 0.0, "Total Cost": 4210.0, "Plan Rows": 62500, "Plan Width": 148, "Actual Startup Time": 0.016, "Actual Total Time": 12.225, "Actual Rows": 37500, "Actual Loops": 4, "Output": ["customer.c_custkey", "customer.c_name", "customer.c_acctbal", "customer.c_address", "customer.c_phone", "customer.c_comment", "customer.c_nationkey"], "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.02, "Actual Total Time": 12.482, "Actual Rows": 35091, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 0.02, "Actual Total Time": 12.509, "Actual Rows": 34732, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 0.02, "Actual Total Time": 12.527, "Actual Rows": 35165, "Actual Loops": 1}]}]}]}, {"Node Type": "Hash", "Parent Relationship": "Inner", "Parallel Aware": false, "Startup Cost": 1.25, "Total Cost": 1.25, "Plan Rows": 25, "Plan Width": 30, "Actual Startup Time": 0.03, "Actual Total Time": 0.03, "Actual Rows": 25, "Actual Loops": 4, "Output": ["nation.n_name", "nation.n_nationkey"], "Hash Buckets": 1024, "Original Hash Buckets": 1024, "Hash Batches": 1, "Original Hash Batches": 1, "Peak Memory Usage": 10, "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.033, "Actual Total Time": 0.034, "Actual Rows": 25, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 0.034, "Actual Total Time": 0.035, "Actual Rows": 25, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 0.034, "Actual Total Time": 0.034, "Actual Rows": 25, "Actual Loops": 1}], "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Relation Name": "nation", "Schema": "public", "Alias": "nation", "Startup Cost": 0.0, "Total Cost": 1.25, "Plan Rows": 25, "Plan Width": 30, "Actual Startup Time": 0.016, "Actual Total Time": 0.021, "Actual Rows": 25, "Actual Loops": 4, "Output": ["nation.n_name", "nation.n_nationkey"], "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.019, "Actual Total Time": 0.023, "Actual Rows": 25, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 0.02, "Actual Total Time": 0.024, "Actual Rows": 25, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 0.019, "Actual Total Time": 0.024, "Actual Rows": 25, "Actual Loops": 1}]}]}]}]}]}]}]}, "Planning Time": 0.908, "Triggers": [], "Execution Time": 311.825} diff --git a/dev9/pg12/tpch/sf_1/explain_analyze/15721/11-1.ok b/dev9/pg12/tpch/sf_1/explain_analyze/15721/11-1.ok new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/dev9/pg12/tpch/sf_1/explain_analyze/15721/11-1.res b/dev9/pg12/tpch/sf_1/explain_analyze/15721/11-1.res new file mode 100644 index 0000000000000000000000000000000000000000..681cc5b65042cdfb77b8a4c6d982dcccdf862589 --- /dev/null +++ b/dev9/pg12/tpch/sf_1/explain_analyze/15721/11-1.res @@ -0,0 +1 @@ +{"Plan": {"Node Type": "Sort", "Parallel Aware": false, "Startup Cost": 6357.47, "Total Cost": 6384.14, "Plan Rows": 10667, "Plan Width": 36, "Actual Startup Time": 105.378, "Actual Total Time": 105.44, "Actual Rows": 869, "Actual Loops": 1, "Output": ["partsupp.ps_partkey", "(sum((partsupp.ps_supplycost * (partsupp.ps_availqty)::numeric)))"], "Sort Key": ["(sum((partsupp.ps_supplycost * (partsupp.ps_availqty)::numeric))) DESC"], "Sort Method": "quicksort", "Sort Space Used": 65, "Sort Space Type": "Memory", "Plans": [{"Node Type": "Aggregate", "Strategy": "Plain", "Partial Mode": "Simple", "Parent Relationship": "InitPlan", "Subplan Name": "InitPlan 1 (returns $2)", "Parallel Aware": false, "Startup Cost": 2381.89, "Total Cost": 2381.91, "Plan Rows": 1, "Plan Width": 32, "Actual Startup Time": 37.261, "Actual Total Time": 37.263, "Actual Rows": 1, "Actual Loops": 1, "Output": ["(sum((partsupp_1.ps_supplycost * (partsupp_1.ps_availqty)::numeric)) * 0.0001000000)"], "Plans": [{"Node Type": "Nested Loop", "Parent Relationship": "Outer", "Parallel Aware": false, "Join Type": "Inner", "Startup Cost": 6.01, "Total Cost": 2141.89, "Plan Rows": 32000, "Plan Width": 10, "Actual Startup Time": 0.078, "Actual Total Time": 26.063, "Actual Rows": 32560, "Actual Loops": 1, "Output": ["partsupp_1.ps_supplycost", "partsupp_1.ps_availqty"], "Inner Unique": false, "Plans": [{"Node Type": "Nested Loop", "Parent Relationship": "Outer", "Parallel Aware": false, "Join Type": "Inner", "Startup Cost": 5.58, "Total Cost": 227.43, "Plan Rows": 400, "Plan Width": 4, "Actual Startup Time": 0.069, "Actual Total Time": 0.375, "Actual Rows": 407, "Actual Loops": 1, "Output": ["supplier_1.s_suppkey"], "Inner Unique": false, "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Relation Name": "nation", "Schema": "public", "Alias": "nation_1", "Startup Cost": 0.0, "Total Cost": 1.31, "Plan Rows": 1, "Plan Width": 4, "Actual Startup Time": 0.008, "Actual Total Time": 0.01, "Actual Rows": 1, "Actual Loops": 1, "Output": ["nation_1.n_nationkey", "nation_1.n_name", "nation_1.n_regionkey", "nation_1.n_comment"], "Filter": "(nation_1.n_name = 'CHINA'::bpchar)", "Rows Removed by Filter": 24}, {"Node Type": "Bitmap Heap Scan", "Parent Relationship": "Inner", "Parallel Aware": false, "Relation Name": "supplier", "Schema": "public", "Alias": "supplier_1", "Startup Cost": 5.58, "Total Cost": 222.11, "Plan Rows": 400, "Plan Width": 8, "Actual Startup Time": 0.059, "Actual Total Time": 0.305, "Actual Rows": 407, "Actual Loops": 1, "Output": ["supplier_1.s_suppkey", "supplier_1.s_name", "supplier_1.s_address", "supplier_1.s_nationkey", "supplier_1.s_phone", "supplier_1.s_acctbal", "supplier_1.s_comment"], "Recheck Cond": "(supplier_1.s_nationkey = nation_1.n_nationkey)", "Rows Removed by Index Recheck": 0, "Exact Heap Blocks": 186, "Lossy Heap Blocks": 0, "Plans": [{"Node Type": "Bitmap Index Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Index Name": "s_nk", "Startup Cost": 0.0, "Total Cost": 5.49, "Plan Rows": 400, "Plan Width": 0, "Actual Startup Time": 0.033, "Actual Total Time": 0.034, "Actual Rows": 407, "Actual Loops": 1, "Index Cond": "(supplier_1.s_nationkey = nation_1.n_nationkey)"}]}]}, {"Node Type": "Index Scan", "Parent Relationship": "Inner", "Parallel Aware": false, "Scan Direction": "Forward", "Index Name": "ps_sk_pk", "Relation Name": "partsupp", "Schema": "public", "Alias": "partsupp_1", "Startup Cost": 0.42, "Total Cost": 3.99, "Plan Rows": 80, "Plan Width": 14, "Actual Startup Time": 0.005, "Actual Total Time": 0.051, "Actual Rows": 80, "Actual Loops": 407, "Output": ["partsupp_1.ps_partkey", "partsupp_1.ps_suppkey", "partsupp_1.ps_availqty", "partsupp_1.ps_supplycost", "partsupp_1.ps_comment"], "Index Cond": "(partsupp_1.ps_suppkey = supplier_1.s_suppkey)", "Rows Removed by Index Recheck": 0}]}]}, {"Node Type": "Aggregate", "Strategy": "Hashed", "Partial Mode": "Simple", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 2701.89, "Total Cost": 3261.89, "Plan Rows": 10667, "Plan Width": 36, "Actual Startup Time": 90.635, "Actual Total Time": 105.047, "Actual Rows": 869, "Actual Loops": 1, "Output": ["partsupp.ps_partkey", "sum((partsupp.ps_supplycost * (partsupp.ps_availqty)::numeric))"], "Group Key": ["partsupp.ps_partkey"], "Filter": "(sum((partsupp.ps_supplycost * (partsupp.ps_availqty)::numeric)) > $2)", "Rows Removed by Filter": 29770, "Plans": [{"Node Type": "Nested Loop", "Parent Relationship": "Outer", "Parallel Aware": false, "Join Type": "Inner", "Startup Cost": 6.01, "Total Cost": 2141.89, "Plan Rows": 32000, "Plan Width": 14, "Actual Startup Time": 0.087, "Actual Total Time": 32.592, "Actual Rows": 32560, "Actual Loops": 1, "Output": ["partsupp.ps_partkey", "partsupp.ps_supplycost", "partsupp.ps_availqty"], "Inner Unique": false, "Plans": [{"Node Type": "Nested Loop", "Parent Relationship": "Outer", "Parallel Aware": false, "Join Type": "Inner", "Startup Cost": 5.58, "Total Cost": 227.43, "Plan Rows": 400, "Plan Width": 4, "Actual Startup Time": 0.076, "Actual Total Time": 0.452, "Actual Rows": 407, "Actual Loops": 1, "Output": ["supplier.s_suppkey"], "Inner Unique": false, "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Relation Name": "nation", "Schema": "public", "Alias": "nation", "Startup Cost": 0.0, "Total Cost": 1.31, "Plan Rows": 1, "Plan Width": 4, "Actual Startup Time": 0.01, "Actual Total Time": 0.013, "Actual Rows": 1, "Actual Loops": 1, "Output": ["nation.n_nationkey", "nation.n_name", "nation.n_regionkey", "nation.n_comment"], "Filter": "(nation.n_name = 'CHINA'::bpchar)", "Rows Removed by Filter": 24}, {"Node Type": "Bitmap Heap Scan", "Parent Relationship": "Inner", "Parallel Aware": false, "Relation Name": "supplier", "Schema": "public", "Alias": "supplier", "Startup Cost": 5.58, "Total Cost": 222.11, "Plan Rows": 400, "Plan Width": 8, "Actual Startup Time": 0.064, "Actual Total Time": 0.378, "Actual Rows": 407, "Actual Loops": 1, "Output": ["supplier.s_suppkey", "supplier.s_name", "supplier.s_address", "supplier.s_nationkey", "supplier.s_phone", "supplier.s_acctbal", "supplier.s_comment"], "Recheck Cond": "(supplier.s_nationkey = nation.n_nationkey)", "Rows Removed by Index Recheck": 0, "Exact Heap Blocks": 186, "Lossy Heap Blocks": 0, "Plans": [{"Node Type": "Bitmap Index Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Index Name": "s_nk", "Startup Cost": 0.0, "Total Cost": 5.49, "Plan Rows": 400, "Plan Width": 0, "Actual Startup Time": 0.036, "Actual Total Time": 0.036, "Actual Rows": 407, "Actual Loops": 1, "Index Cond": "(supplier.s_nationkey = nation.n_nationkey)"}]}]}, {"Node Type": "Index Scan", "Parent Relationship": "Inner", "Parallel Aware": false, "Scan Direction": "Forward", "Index Name": "ps_sk_pk", "Relation Name": "partsupp", "Schema": "public", "Alias": "partsupp", "Startup Cost": 0.42, "Total Cost": 3.99, "Plan Rows": 80, "Plan Width": 18, "Actual Startup Time": 0.005, "Actual Total Time": 0.066, "Actual Rows": 80, "Actual Loops": 407, "Output": ["partsupp.ps_partkey", "partsupp.ps_suppkey", "partsupp.ps_availqty", "partsupp.ps_supplycost", "partsupp.ps_comment"], "Index Cond": "(partsupp.ps_suppkey = supplier.s_suppkey)", "Rows Removed by Index Recheck": 0}]}]}]}, "Planning Time": 0.804, "Triggers": [], "Execution Time": 105.724} diff --git a/dev9/pg12/tpch/sf_1/explain_analyze/15721/12-1.ok b/dev9/pg12/tpch/sf_1/explain_analyze/15721/12-1.ok new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/dev9/pg12/tpch/sf_1/explain_analyze/15721/12-1.res b/dev9/pg12/tpch/sf_1/explain_analyze/15721/12-1.res new file mode 100644 index 0000000000000000000000000000000000000000..1712b53d4ee695628687a6f540812bfcede46465 --- /dev/null +++ b/dev9/pg12/tpch/sf_1/explain_analyze/15721/12-1.res @@ -0,0 +1 @@ +{"Plan": {"Node Type": "Aggregate", "Strategy": "Sorted", "Partial Mode": "Finalize", "Parallel Aware": false, "Startup Cost": 137603.07, "Total Cost": 137724.54, "Plan Rows": 7, "Plan Width": 27, "Actual Startup Time": 341.897, "Actual Total Time": 376.638, "Actual Rows": 2, "Actual Loops": 1, "Output": ["lineitem.l_shipmode", "sum(CASE WHEN ((orders.o_orderpriority = '1-URGENT'::bpchar) OR (orders.o_orderpriority = '2-HIGH'::bpchar)) THEN 1 ELSE 0 END)", "sum(CASE WHEN ((orders.o_orderpriority <> '1-URGENT'::bpchar) AND (orders.o_orderpriority <> '2-HIGH'::bpchar)) THEN 1 ELSE 0 END)"], "Group Key": ["lineitem.l_shipmode"], "Plans": [{"Node Type": "Gather Merge", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 137603.07, "Total Cost": 137724.21, "Plan Rows": 35, "Plan Width": 27, "Actual Startup Time": 340.331, "Actual Total Time": 376.626, "Actual Rows": 12, "Actual Loops": 1, "Output": ["lineitem.l_shipmode", "(PARTIAL sum(CASE WHEN ((orders.o_orderpriority = '1-URGENT'::bpchar) OR (orders.o_orderpriority = '2-HIGH'::bpchar)) THEN 1 ELSE 0 END))", "(PARTIAL sum(CASE WHEN ((orders.o_orderpriority <> '1-URGENT'::bpchar) AND (orders.o_orderpriority <> '2-HIGH'::bpchar)) THEN 1 ELSE 0 END))"], "Workers Planned": 5, "Workers Launched": 5, "Plans": [{"Node Type": "Aggregate", "Strategy": "Sorted", "Partial Mode": "Partial", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 136602.99, "Total Cost": 136719.92, "Plan Rows": 7, "Plan Width": 27, "Actual Startup Time": 335.644, "Actual Total Time": 336.686, "Actual Rows": 2, "Actual Loops": 6, "Output": ["lineitem.l_shipmode", "PARTIAL sum(CASE WHEN ((orders.o_orderpriority = '1-URGENT'::bpchar) OR (orders.o_orderpriority = '2-HIGH'::bpchar)) THEN 1 ELSE 0 END)", "PARTIAL sum(CASE WHEN ((orders.o_orderpriority <> '1-URGENT'::bpchar) AND (orders.o_orderpriority <> '2-HIGH'::bpchar)) THEN 1 ELSE 0 END)"], "Group Key": ["lineitem.l_shipmode"], "Workers": [{"Worker Number": 0, "Actual Startup Time": 334.605, "Actual Total Time": 335.537, "Actual Rows": 2, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 334.733, "Actual Total Time": 335.682, "Actual Rows": 2, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 334.88, "Actual Total Time": 335.842, "Actual Rows": 2, "Actual Loops": 1}, {"Worker Number": 3, "Actual Startup Time": 334.844, "Actual Total Time": 335.766, "Actual Rows": 2, "Actual Loops": 1}, {"Worker Number": 4, "Actual Startup Time": 334.944, "Actual Total Time": 335.876, "Actual Rows": 2, "Actual Loops": 1}], "Plans": [{"Node Type": "Sort", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 136602.99, "Total Cost": 136617.6, "Plan Rows": 5843, "Plan Width": 27, "Actual Startup Time": 334.609, "Actual Total Time": 334.923, "Actual Rows": 5187, "Actual Loops": 6, "Output": ["lineitem.l_shipmode", "orders.o_orderpriority"], "Sort Key": ["lineitem.l_shipmode"], "Sort Method": "quicksort", "Sort Space Used": 791, "Sort Space Type": "Memory", "Workers": [{"Worker Number": 0, "Actual Startup Time": 333.67, "Actual Total Time": 333.948, "Actual Rows": 4657, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 333.821, "Actual Total Time": 334.1, "Actual Rows": 4642, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 333.918, "Actual Total Time": 334.207, "Actual Rows": 4822, "Actual Loops": 1}, {"Worker Number": 3, "Actual Startup Time": 333.894, "Actual Total Time": 334.177, "Actual Rows": 4697, "Actual Loops": 1}, {"Worker Number": 4, "Actual Startup Time": 334.021, "Actual Total Time": 334.3, "Actual Rows": 4644, "Actual Loops": 1}], "Plans": [{"Node Type": "Nested Loop", "Parent Relationship": "Outer", "Parallel Aware": false, "Join Type": "Inner", "Startup Cost": 11973.49, "Total Cost": 136237.44, "Plan Rows": 5843, "Plan Width": 27, "Actual Startup Time": 155.604, "Actual Total Time": 332.809, "Actual Rows": 5187, "Actual Loops": 6, "Output": ["lineitem.l_shipmode", "orders.o_orderpriority"], "Inner Unique": true, "Workers": [{"Worker Number": 0, "Actual Startup Time": 155.337, "Actual Total Time": 331.992, "Actual Rows": 4657, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 155.418, "Actual Total Time": 332.157, "Actual Rows": 4642, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 155.593, "Actual Total Time": 332.179, "Actual Rows": 4822, "Actual Loops": 1}, {"Worker Number": 3, "Actual Startup Time": 155.521, "Actual Total Time": 332.172, "Actual Rows": 4697, "Actual Loops": 1}, {"Worker Number": 4, "Actual Startup Time": 155.665, "Actual Total Time": 332.342, "Actual Rows": 4644, "Actual Loops": 1}], "Plans": [{"Node Type": "Bitmap Heap Scan", "Parent Relationship": "Outer", "Parallel Aware": true, "Relation Name": "lineitem", "Schema": "public", "Alias": "lineitem", "Startup Cost": 11973.07, "Total Cost": 128611.09, "Plan Rows": 5843, "Plan Width": 15, "Actual Startup Time": 155.548, "Actual Total Time": 302.189, "Actual Rows": 5187, "Actual Loops": 6, "Output": ["lineitem.l_orderkey", "lineitem.l_partkey", "lineitem.l_suppkey", "lineitem.l_linenumber", "lineitem.l_quantity", "lineitem.l_extendedprice", "lineitem.l_discount", "lineitem.l_tax", "lineitem.l_returnflag", "lineitem.l_linestatus", "lineitem.l_shipdate", "lineitem.l_commitdate", "lineitem.l_receiptdate", "lineitem.l_shipinstruct", "lineitem.l_shipmode", "lineitem.l_comment"], "Recheck Cond": "((lineitem.l_receiptdate >= '1995-01-01'::date) AND (lineitem.l_receiptdate < '1996-01-01 00:00:00'::timestamp without time zone))", "Rows Removed by Index Recheck": 0, "Filter": "((lineitem.l_shipmode = ANY ('{MAIL,TRUCK}'::bpchar[])) AND (lineitem.l_commitdate < lineitem.l_receiptdate) AND (lineitem.l_shipdate < lineitem.l_commitdate))", "Rows Removed by Filter": 147278, "Exact Heap Blocks": 26588, "Lossy Heap Blocks": 0, "Workers": [{"Worker Number": 0, "Actual Startup Time": 155.276, "Actual Total Time": 300.653, "Actual Rows": 4657, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 155.359, "Actual Total Time": 301.281, "Actual Rows": 4642, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 155.522, "Actual Total Time": 300.799, "Actual Rows": 4822, "Actual Loops": 1}, {"Worker Number": 3, "Actual Startup Time": 155.46, "Actual Total Time": 300.888, "Actual Rows": 4697, "Actual Loops": 1}, {"Worker Number": 4, "Actual Startup Time": 155.597, "Actual Total Time": 301.307, "Actual Rows": 4644, "Actual Loops": 1}], "Plans": [{"Node Type": "Bitmap Index Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Index Name": "l_rd", "Startup Cost": 0.0, "Total Cost": 11965.76, "Plan Rows": 918893, "Plan Width": 0, "Actual Startup Time": 121.692, "Actual Total Time": 121.693, "Actual Rows": 914792, "Actual Loops": 1, "Index Cond": "((lineitem.l_receiptdate >= '1995-01-01'::date) AND (lineitem.l_receiptdate < '1996-01-01 00:00:00'::timestamp without time zone))"}]}, {"Node Type": "Index Scan", "Parent Relationship": "Inner", "Parallel Aware": false, "Scan Direction": "Forward", "Index Name": "o_ok", "Relation Name": "orders", "Schema": "public", "Alias": "orders", "Startup Cost": 0.43, "Total Cost": 1.31, "Plan Rows": 1, "Plan Width": 20, "Actual Startup Time": 0.005, "Actual Total Time": 0.005, "Actual Rows": 1, "Actual Loops": 31122, "Output": ["orders.o_orderkey", "orders.o_custkey", "orders.o_orderstatus", "orders.o_totalprice", "orders.o_orderdate", "orders.o_orderpriority", "orders.o_clerk", "orders.o_shippriority", "orders.o_comment"], "Index Cond": "(orders.o_orderkey = lineitem.l_orderkey)", "Rows Removed by Index Recheck": 0, "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.006, "Actual Total Time": 0.006, "Actual Rows": 1, "Actual Loops": 4657}, {"Worker Number": 1, "Actual Startup Time": 0.006, "Actual Total Time": 0.006, "Actual Rows": 1, "Actual Loops": 4642}, {"Worker Number": 2, "Actual Startup Time": 0.006, "Actual Total Time": 0.006, "Actual Rows": 1, "Actual Loops": 4822}, {"Worker Number": 3, "Actual Startup Time": 0.006, "Actual Total Time": 0.006, "Actual Rows": 1, "Actual Loops": 4697}, {"Worker Number": 4, "Actual Startup Time": 0.006, "Actual Total Time": 0.006, "Actual Rows": 1, "Actual Loops": 4644}]}]}]}]}]}]}, "Planning Time": 0.348, "Triggers": [], "Execution Time": 376.698} diff --git a/dev9/pg12/tpch/sf_1/explain_analyze/15721/13-1.ok b/dev9/pg12/tpch/sf_1/explain_analyze/15721/13-1.ok new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/dev9/pg12/tpch/sf_1/explain_analyze/15721/13-1.res b/dev9/pg12/tpch/sf_1/explain_analyze/15721/13-1.res new file mode 100644 index 0000000000000000000000000000000000000000..833d0895397505f1c8dda82b1abc845dda1a2183 --- /dev/null +++ b/dev9/pg12/tpch/sf_1/explain_analyze/15721/13-1.res @@ -0,0 +1 @@ +{"Plan": {"Node Type": "Sort", "Parallel Aware": false, "Startup Cost": 64508.47, "Total Cost": 64508.97, "Plan Rows": 200, "Plan Width": 16, "Actual Startup Time": 1708.493, "Actual Total Time": 1708.499, "Actual Rows": 42, "Actual Loops": 1, "Output": ["(count(orders.o_orderkey))", "(count(*))"], "Sort Key": ["(count(*)) DESC", "(count(orders.o_orderkey)) DESC"], "Sort Method": "quicksort", "Sort Space Used": 26, "Sort Space Type": "Memory", "Plans": [{"Node Type": "Aggregate", "Strategy": "Hashed", "Partial Mode": "Simple", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 64498.83, "Total Cost": 64500.83, "Plan Rows": 200, "Plan Width": 16, "Actual Startup Time": 1708.459, "Actual Total Time": 1708.47, "Actual Rows": 42, "Actual Loops": 1, "Output": ["(count(orders.o_orderkey))", "count(*)"], "Group Key": ["count(orders.o_orderkey)"], "Plans": [{"Node Type": "Aggregate", "Strategy": "Hashed", "Partial Mode": "Simple", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 60748.83, "Total Cost": 62248.83, "Plan Rows": 150000, "Plan Width": 12, "Actual Startup Time": 1648.041, "Actual Total Time": 1682.747, "Actual Rows": 150000, "Actual Loops": 1, "Output": ["customer.c_custkey", "count(orders.o_orderkey)"], "Group Key": ["customer.c_custkey"], "Plans": [{"Node Type": "Hash Join", "Parent Relationship": "Outer", "Parallel Aware": false, "Join Type": "Right", "Startup Cost": 4580.82, "Total Cost": 53323.98, "Plan Rows": 1484970, "Plan Width": 8, "Actual Startup Time": 39.265, "Actual Total Time": 1172.125, "Actual Rows": 1533817, "Actual Loops": 1, "Output": ["customer.c_custkey", "orders.o_orderkey"], "Inner Unique": true, "Hash Cond": "(orders.o_custkey = customer.c_custkey)", "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Relation Name": "orders", "Schema": "public", "Alias": "orders", "Startup Cost": 0.0, "Total Cost": 44845.0, "Plan Rows": 1484970, "Plan Width": 8, "Actual Startup Time": 0.01, "Actual Total Time": 691.919, "Actual Rows": 1483813, "Actual Loops": 1, "Output": ["orders.o_orderkey", "orders.o_custkey", "orders.o_orderstatus", "orders.o_totalprice", "orders.o_orderdate", "orders.o_orderpriority", "orders.o_clerk", "orders.o_shippriority", "orders.o_comment"], "Filter": "((orders.o_comment)::text !~~ '%unusual%requests%'::text)", "Rows Removed by Filter": 16187}, {"Node Type": "Hash", "Parent Relationship": "Inner", "Parallel Aware": false, "Startup Cost": 2705.82, "Total Cost": 2705.82, "Plan Rows": 150000, "Plan Width": 4, "Actual Startup Time": 38.955, "Actual Total Time": 38.955, "Actual Rows": 150000, "Actual Loops": 1, "Output": ["customer.c_custkey"], "Hash Buckets": 262144, "Original Hash Buckets": 262144, "Hash Batches": 1, "Original Hash Batches": 1, "Peak Memory Usage": 7322, "Plans": [{"Node Type": "Index Only Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Scan Direction": "Forward", "Index Name": "c_ck", "Relation Name": "customer", "Schema": "public", "Alias": "customer", "Startup Cost": 0.42, "Total Cost": 2705.82, "Plan Rows": 150000, "Plan Width": 4, "Actual Startup Time": 0.012, "Actual Total Time": 17.405, "Actual Rows": 150000, "Actual Loops": 1, "Output": ["customer.c_custkey"], "Heap Fetches": 0}]}]}]}]}]}, "Planning Time": 0.528, "Triggers": [], "Execution Time": 1709.466} diff --git a/dev9/pg12/tpch/sf_1/explain_analyze/15721/14-1.ok b/dev9/pg12/tpch/sf_1/explain_analyze/15721/14-1.ok new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/dev9/pg12/tpch/sf_1/explain_analyze/15721/14-1.res b/dev9/pg12/tpch/sf_1/explain_analyze/15721/14-1.res new file mode 100644 index 0000000000000000000000000000000000000000..87f72c9215a8e919bead5c0f76513d1f4aa7fd60 --- /dev/null +++ b/dev9/pg12/tpch/sf_1/explain_analyze/15721/14-1.res @@ -0,0 +1 @@ +{"Plan": {"Node Type": "Aggregate", "Strategy": "Plain", "Partial Mode": "Finalize", "Parallel Aware": false, "Startup Cost": 70379.3, "Total Cost": 70379.31, "Plan Rows": 1, "Plan Width": 32, "Actual Startup Time": 123.8, "Actual Total Time": 142.317, "Actual Rows": 1, "Actual Loops": 1, "Output": ["((100.00 * sum(CASE WHEN ((part.p_type)::text ~~ 'PROMO%'::text) THEN (lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount)) ELSE '0'::numeric END)) / sum((lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount))))"], "Plans": [{"Node Type": "Gather", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 70378.84, "Total Cost": 70379.25, "Plan Rows": 4, "Plan Width": 64, "Actual Startup Time": 121.306, "Actual Total Time": 142.298, "Actual Rows": 5, "Actual Loops": 1, "Output": ["(PARTIAL sum(CASE WHEN ((part.p_type)::text ~~ 'PROMO%'::text) THEN (lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount)) ELSE '0'::numeric END))", "(PARTIAL sum((lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount))))"], "Workers Planned": 4, "Workers Launched": 4, "Single Copy": false, "Plans": [{"Node Type": "Aggregate", "Strategy": "Plain", "Partial Mode": "Partial", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 69378.84, "Total Cost": 69378.85, "Plan Rows": 1, "Plan Width": 64, "Actual Startup Time": 117.658, "Actual Total Time": 117.661, "Actual Rows": 1, "Actual Loops": 5, "Output": ["PARTIAL sum(CASE WHEN ((part.p_type)::text ~~ 'PROMO%'::text) THEN (lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount)) ELSE '0'::numeric END)", "PARTIAL sum((lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount)))"], "Workers": [{"Worker Number": 0, "Actual Startup Time": 116.737, "Actual Total Time": 116.74, "Actual Rows": 1, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 116.728, "Actual Total Time": 116.732, "Actual Rows": 1, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 116.748, "Actual Total Time": 116.751, "Actual Rows": 1, "Actual Loops": 1}, {"Worker Number": 3, "Actual Startup Time": 117.166, "Actual Total Time": 117.169, "Actual Rows": 1, "Actual Loops": 1}], "Plans": [{"Node Type": "Hash Join", "Parent Relationship": "Outer", "Parallel Aware": true, "Join Type": "Inner", "Startup Cost": 7058.23, "Total Cost": 69021.03, "Plan Rows": 20446, "Plan Width": 33, "Actual Startup Time": 55.697, "Actual Total Time": 108.577, "Actual Rows": 15580, "Actual Loops": 5, "Output": ["part.p_type", "lineitem.l_extendedprice", "lineitem.l_discount"], "Inner Unique": true, "Hash Cond": "(lineitem.l_partkey = part.p_partkey)", "Workers": [{"Worker Number": 0, "Actual Startup Time": 54.635, "Actual Total Time": 109.164, "Actual Rows": 12619, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 56.035, "Actual Total Time": 109.076, "Actual Rows": 12829, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 54.172, "Actual Total Time": 109.092, "Actual Rows": 12804, "Actual Loops": 1}, {"Worker Number": 3, "Actual Startup Time": 54.855, "Actual Total Time": 109.618, "Actual Rows": 12629, "Actual Loops": 1}], "Plans": [{"Node Type": "Bitmap Heap Scan", "Parent Relationship": "Outer", "Parallel Aware": true, "Relation Name": "lineitem", "Schema": "public", "Alias": "lineitem", "Startup Cost": 1086.24, "Total Cost": 62995.37, "Plan Rows": 20446, "Plan Width": 16, "Actual Startup Time": 26.401, "Actual Total Time": 70.567, "Actual Rows": 15580, "Actual Loops": 5, "Output": ["lineitem.l_orderkey", "lineitem.l_partkey", "lineitem.l_suppkey", "lineitem.l_linenumber", "lineitem.l_quantity", "lineitem.l_extendedprice", "lineitem.l_discount", "lineitem.l_tax", "lineitem.l_returnflag", "lineitem.l_linestatus", "lineitem.l_shipdate", "lineitem.l_commitdate", "lineitem.l_receiptdate", "lineitem.l_shipinstruct", "lineitem.l_shipmode", "lineitem.l_comment"], "Recheck Cond": "((lineitem.l_shipdate >= '1995-05-01'::date) AND (lineitem.l_shipdate < '1995-06-01 00:00:00'::timestamp without time zone))", "Rows Removed by Index Recheck": 0, "Exact Heap Blocks": 14562, "Lossy Heap Blocks": 0, "Workers": [{"Worker Number": 0, "Actual Startup Time": 26.21, "Actual Total Time": 73.437, "Actual Rows": 12619, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 27.631, "Actual Total Time": 73.281, "Actual Rows": 12829, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 25.753, "Actual Total Time": 73.294, "Actual Rows": 12804, "Actual Loops": 1}, {"Worker Number": 3, "Actual Startup Time": 26.211, "Actual Total Time": 73.431, "Actual Rows": 12629, "Actual Loops": 1}], "Plans": [{"Node Type": "Bitmap Index Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Index Name": "l_sd", "Startup Cost": 0.0, "Total Cost": 1065.79, "Plan Rows": 81786, "Plan Width": 0, "Actual Startup Time": 13.678, "Actual Total Time": 13.679, "Actual Rows": 77900, "Actual Loops": 1, "Index Cond": "((lineitem.l_shipdate >= '1995-05-01'::date) AND (lineitem.l_shipdate < '1995-06-01 00:00:00'::timestamp without time zone))", "Workers": [{"Worker Number": 2, "Actual Startup Time": 13.678, "Actual Total Time": 13.679, "Actual Rows": 77900, "Actual Loops": 1}]}]}, {"Node Type": "Hash", "Parent Relationship": "Inner", "Parallel Aware": true, "Startup Cost": 4930.33, "Total Cost": 4930.33, "Plan Rows": 83333, "Plan Width": 25, "Actual Startup Time": 28.741, "Actual Total Time": 28.741, "Actual Rows": 40000, "Actual Loops": 5, "Output": ["part.p_type", "part.p_partkey"], "Hash Buckets": 262144, "Original Hash Buckets": 262144, "Hash Batches": 1, "Original Hash Batches": 1, "Peak Memory Usage": 14208, "Workers": [{"Worker Number": 0, "Actual Startup Time": 28.252, "Actual Total Time": 28.253, "Actual Rows": 36867, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 28.241, "Actual Total Time": 28.242, "Actual Rows": 37136, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 28.26, "Actual Total Time": 28.261, "Actual Rows": 36780, "Actual Loops": 1}, {"Worker Number": 3, "Actual Startup Time": 28.468, "Actual Total Time": 28.469, "Actual Rows": 36982, "Actual Loops": 1}], "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": true, "Relation Name": "part", "Schema": "public", "Alias": "part", "Startup Cost": 0.0, "Total Cost": 4930.33, "Plan Rows": 83333, "Plan Width": 25, "Actual Startup Time": 0.016, "Actual Total Time": 11.703, "Actual Rows": 40000, "Actual Loops": 5, "Output": ["part.p_type", "part.p_partkey"], "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.017, "Actual Total Time": 11.751, "Actual Rows": 36867, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 0.017, "Actual Total Time": 11.82, "Actual Rows": 37136, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 0.023, "Actual Total Time": 11.775, "Actual Rows": 36780, "Actual Loops": 1}, {"Worker Number": 3, "Actual Startup Time": 0.017, "Actual Total Time": 11.913, "Actual Rows": 36982, "Actual Loops": 1}]}]}]}]}]}]}, "Planning Time": 0.309, "Triggers": [], "Execution Time": 142.369} diff --git a/dev9/pg12/tpch/sf_1/explain_analyze/15721/15-1.ok b/dev9/pg12/tpch/sf_1/explain_analyze/15721/15-1.ok new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/dev9/pg12/tpch/sf_1/explain_analyze/15721/15-1.res b/dev9/pg12/tpch/sf_1/explain_analyze/15721/15-1.res new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/dev9/pg12/tpch/sf_1/explain_analyze/15721/15-2.ok b/dev9/pg12/tpch/sf_1/explain_analyze/15721/15-2.ok new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/dev9/pg12/tpch/sf_1/explain_analyze/15721/15-2.res b/dev9/pg12/tpch/sf_1/explain_analyze/15721/15-2.res new file mode 100644 index 0000000000000000000000000000000000000000..d8996fc7f42a0e3d9358f45961dd3efd31e1eab9 --- /dev/null +++ b/dev9/pg12/tpch/sf_1/explain_analyze/15721/15-2.res @@ -0,0 +1 @@ +{"Plan": {"Node Type": "Merge Join", "Parallel Aware": false, "Join Type": "Inner", "Startup Cost": 240995.44, "Total Cost": 241426.3, "Plan Rows": 50, "Plan Width": 103, "Actual Startup Time": 646.401, "Actual Total Time": 646.406, "Actual Rows": 1, "Actual Loops": 1, "Output": ["supplier.s_suppkey", "supplier.s_name", "supplier.s_address", "supplier.s_phone", "revenue0.total_revenue"], "Inner Unique": true, "Merge Cond": "(supplier.s_suppkey = revenue0.supplier_no)", "Plans": [{"Node Type": "Aggregate", "Strategy": "Plain", "Partial Mode": "Simple", "Parent Relationship": "InitPlan", "Subplan Name": "InitPlan 1 (returns $0)", "Parallel Aware": false, "Startup Cost": 119712.56, "Total Cost": 119712.57, "Plan Rows": 1, "Plan Width": 32, "Actual Startup Time": 317.578, "Actual Total Time": 317.58, "Actual Rows": 1, "Actual Loops": 1, "Output": ["max((sum((lineitem_1.l_extendedprice * ('1'::numeric - lineitem_1.l_discount)))))"], "Plans": [{"Node Type": "Aggregate", "Strategy": "Hashed", "Partial Mode": "Simple", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 119462.56, "Total Cost": 119587.56, "Plan Rows": 10000, "Plan Width": 36, "Actual Startup Time": 313.041, "Actual Total Time": 316.59, "Actual Rows": 10000, "Actual Loops": 1, "Output": ["lineitem_1.l_suppkey", "sum((lineitem_1.l_extendedprice * ('1'::numeric - lineitem_1.l_discount)))"], "Group Key": ["lineitem_1.l_suppkey"], "Plans": [{"Node Type": "Bitmap Heap Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Relation Name": "lineitem", "Schema": "public", "Alias": "lineitem_1", "Startup Cost": 2908.23, "Total Cost": 117271.73, "Plan Rows": 219083, "Plan Width": 16, "Actual Startup Time": 44.256, "Actual Total Time": 151.569, "Actual Rows": 225253, "Actual Loops": 1, "Output": ["lineitem_1.l_orderkey", "lineitem_1.l_partkey", "lineitem_1.l_suppkey", "lineitem_1.l_linenumber", "lineitem_1.l_quantity", "lineitem_1.l_extendedprice", "lineitem_1.l_discount", "lineitem_1.l_tax", "lineitem_1.l_returnflag", "lineitem_1.l_linestatus", "lineitem_1.l_shipdate", "lineitem_1.l_commitdate", "lineitem_1.l_receiptdate", "lineitem_1.l_shipinstruct", "lineitem_1.l_shipmode", "lineitem_1.l_comment"], "Recheck Cond": "((lineitem_1.l_shipdate >= '1995-01-01'::date) AND (lineitem_1.l_shipdate < '1995-04-01 00:00:00'::timestamp without time zone))", "Rows Removed by Index Recheck": 0, "Exact Heap Blocks": 66731, "Lossy Heap Blocks": 0, "Plans": [{"Node Type": "Bitmap Index Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Index Name": "l_sd", "Startup Cost": 0.0, "Total Cost": 2853.46, "Plan Rows": 219083, "Plan Width": 0, "Actual Startup Time": 27.869, "Actual Total Time": 27.87, "Actual Rows": 225253, "Actual Loops": 1, "Index Cond": "((lineitem_1.l_shipdate >= '1995-01-01'::date) AND (lineitem_1.l_shipdate < '1995-04-01 00:00:00'::timestamp without time zone))"}]}]}]}, {"Node Type": "Index Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Scan Direction": "Forward", "Index Name": "s_sk", "Relation Name": "supplier", "Schema": "public", "Alias": "supplier", "Startup Cost": 0.29, "Total Cost": 405.39, "Plan Rows": 10000, "Plan Width": 71, "Actual Startup Time": 0.008, "Actual Total Time": 2.147, "Actual Rows": 9493, "Actual Loops": 1, "Output": ["supplier.s_suppkey", "supplier.s_name", "supplier.s_address", "supplier.s_nationkey", "supplier.s_phone", "supplier.s_acctbal", "supplier.s_comment"]}, {"Node Type": "Sort", "Parent Relationship": "Inner", "Parallel Aware": false, "Startup Cost": 121282.59, "Total Cost": 121282.72, "Plan Rows": 50, "Plan Width": 36, "Actual Startup Time": 643.459, "Actual Total Time": 643.461, "Actual Rows": 1, "Actual Loops": 1, "Output": ["revenue0.total_revenue", "revenue0.supplier_no"], "Sort Key": ["revenue0.supplier_no"], "Sort Method": "quicksort", "Sort Space Used": 25, "Sort Space Type": "Memory", "Plans": [{"Node Type": "Subquery Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Alias": "revenue0", "Startup Cost": 121105.68, "Total Cost": 121281.18, "Plan Rows": 50, "Plan Width": 36, "Actual Startup Time": 638.171, "Actual Total Time": 643.456, "Actual Rows": 1, "Actual Loops": 1, "Output": ["revenue0.total_revenue", "revenue0.supplier_no"], "Plans": [{"Node Type": "Aggregate", "Strategy": "Hashed", "Partial Mode": "Simple", "Parent Relationship": "Subquery", "Parallel Aware": false, "Startup Cost": 121105.68, "Total Cost": 121280.68, "Plan Rows": 50, "Plan Width": 36, "Actual Startup Time": 638.17, "Actual Total Time": 643.453, "Actual Rows": 1, "Actual Loops": 1, "Output": ["lineitem.l_suppkey", "sum((lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount)))"], "Group Key": ["lineitem.l_suppkey"], "Filter": "(sum((lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount))) = $0)", "Rows Removed by Filter": 9999, "Plans": [{"Node Type": "Bitmap Heap Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Relation Name": "lineitem", "Schema": "public", "Alias": "lineitem", "Startup Cost": 2908.23, "Total Cost": 117271.73, "Plan Rows": 219083, "Plan Width": 16, "Actual Startup Time": 44.071, "Actual Total Time": 154.326, "Actual Rows": 225253, "Actual Loops": 1, "Output": ["lineitem.l_orderkey", "lineitem.l_partkey", "lineitem.l_suppkey", "lineitem.l_linenumber", "lineitem.l_quantity", "lineitem.l_extendedprice", "lineitem.l_discount", "lineitem.l_tax", "lineitem.l_returnflag", "lineitem.l_linestatus", "lineitem.l_shipdate", "lineitem.l_commitdate", "lineitem.l_receiptdate", "lineitem.l_shipinstruct", "lineitem.l_shipmode", "lineitem.l_comment"], "Recheck Cond": "((lineitem.l_shipdate >= '1995-01-01'::date) AND (lineitem.l_shipdate < '1995-04-01 00:00:00'::timestamp without time zone))", "Rows Removed by Index Recheck": 0, "Exact Heap Blocks": 66731, "Lossy Heap Blocks": 0, "Plans": [{"Node Type": "Bitmap Index Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Index Name": "l_sd", "Startup Cost": 0.0, "Total Cost": 2853.46, "Plan Rows": 219083, "Plan Width": 0, "Actual Startup Time": 27.733, "Actual Total Time": 27.733, "Actual Rows": 225253, "Actual Loops": 1, "Index Cond": "((lineitem.l_shipdate >= '1995-01-01'::date) AND (lineitem.l_shipdate < '1995-04-01 00:00:00'::timestamp without time zone))"}]}]}]}]}]}, "Planning Time": 0.369, "Triggers": [], "Execution Time": 646.6} diff --git a/dev9/pg12/tpch/sf_1/explain_analyze/15721/15-3.ok b/dev9/pg12/tpch/sf_1/explain_analyze/15721/15-3.ok new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/dev9/pg12/tpch/sf_1/explain_analyze/15721/15-3.res b/dev9/pg12/tpch/sf_1/explain_analyze/15721/15-3.res new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/dev9/pg12/tpch/sf_1/explain_analyze/15721/16-1.ok b/dev9/pg12/tpch/sf_1/explain_analyze/15721/16-1.ok new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/dev9/pg12/tpch/sf_1/explain_analyze/15721/16-1.res b/dev9/pg12/tpch/sf_1/explain_analyze/15721/16-1.res new file mode 100644 index 0000000000000000000000000000000000000000..7eac8ca56a1c66aa7842ccb569ce5334db6ffc94 --- /dev/null +++ b/dev9/pg12/tpch/sf_1/explain_analyze/15721/16-1.res @@ -0,0 +1 @@ +{"Plan": {"Node Type": "Sort", "Parallel Aware": false, "Startup Cost": 29599.83, "Total Cost": 29639.9, "Plan Rows": 16031, "Plan Width": 44, "Actual Startup Time": 619.914, "Actual Total Time": 621.555, "Actual Rows": 18263, "Actual Loops": 1, "Output": ["part.p_brand", "part.p_type", "part.p_size", "(count(DISTINCT partsupp.ps_suppkey))"], "Sort Key": ["(count(DISTINCT partsupp.ps_suppkey)) DESC", "part.p_brand", "part.p_type", "part.p_size"], "Sort Method": "quicksort", "Sort Space Used": 2211, "Sort Space Type": "Memory", "Plans": [{"Node Type": "Aggregate", "Strategy": "Sorted", "Partial Mode": "Simple", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 27573.22, "Total Cost": 28480.18, "Plan Rows": 16031, "Plan Width": 44, "Actual Startup Time": 492.825, "Actual Total Time": 553.286, "Actual Rows": 18263, "Actual Loops": 1, "Output": ["part.p_brand", "part.p_type", "part.p_size", "count(DISTINCT partsupp.ps_suppkey)"], "Group Key": ["part.p_brand", "part.p_type", "part.p_size"], "Plans": [{"Node Type": "Sort", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 27573.22, "Total Cost": 27722.55, "Plan Rows": 59732, "Plan Width": 40, "Actual Startup Time": 492.802, "Actual Total Time": 503.217, "Actual Rows": 119250, "Actual Loops": 1, "Output": ["part.p_brand", "part.p_type", "part.p_size", "partsupp.ps_suppkey"], "Sort Key": ["part.p_brand", "part.p_type", "part.p_size"], "Sort Method": "quicksort", "Sort Space Used": 12389, "Sort Space Type": "Memory", "Plans": [{"Node Type": "Gather", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 7683.31, "Total Cost": 22834.61, "Plan Rows": 59732, "Plan Width": 40, "Actual Startup Time": 26.737, "Actual Total Time": 90.755, "Actual Rows": 119250, "Actual Loops": 1, "Output": ["part.p_brand", "part.p_type", "part.p_size", "partsupp.ps_suppkey"], "Workers Planned": 4, "Workers Launched": 4, "Single Copy": false, "Plans": [{"Node Type": "Hash Join", "Parent Relationship": "Outer", "Parallel Aware": true, "Join Type": "Inner", "Startup Cost": 6683.31, "Total Cost": 15861.41, "Plan Rows": 14933, "Plan Width": 40, "Actual Startup Time": 23.436, "Actual Total Time": 83.19, "Actual Rows": 23850, "Actual Loops": 5, "Output": ["part.p_brand", "part.p_type", "part.p_size", "partsupp.ps_suppkey"], "Inner Unique": true, "Hash Cond": "(partsupp.ps_partkey = part.p_partkey)", "Workers": [{"Worker Number": 0, "Actual Startup Time": 22.679, "Actual Total Time": 87.961, "Actual Rows": 26237, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 22.655, "Actual Total Time": 88.133, "Actual Rows": 26315, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 22.62, "Actual Total Time": 88.147, "Actual Rows": 25821, "Actual Loops": 1}, {"Worker Number": 3, "Actual Startup Time": 22.851, "Actual Total Time": 88.405, "Actual Rows": 25535, "Actual Loops": 1}], "Plans": [{"Node Type": "Index Only Scan", "Parent Relationship": "Outer", "Parallel Aware": true, "Scan Direction": "Forward", "Index Name": "ps_pk_sk", "Relation Name": "partsupp", "Schema": "public", "Alias": "partsupp", "Startup Cost": 347.43, "Total Cost": 9263.03, "Plan Rows": 100000, "Plan Width": 8, "Actual Startup Time": 3.616, "Actual Total Time": 40.113, "Actual Rows": 159936, "Actual Loops": 5, "Output": ["partsupp.ps_partkey", "partsupp.ps_suppkey"], "Filter": "(NOT (hashed SubPlan 1))", "Rows Removed by Filter": 64, "Heap Fetches": 0, "Workers": [{"Worker Number": 0, "Actual Startup Time": 3.665, "Actual Total Time": 43.624, "Actual Rows": 173777, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 3.673, "Actual Total Time": 43.701, "Actual Rows": 174864, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 3.672, "Actual Total Time": 43.796, "Actual Rows": 174812, "Actual Loops": 1}, {"Worker Number": 3, "Actual Startup Time": 3.662, "Actual Total Time": 43.801, "Actual Rows": 174895, "Actual Loops": 1}], "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "SubPlan", "Subplan Name": "SubPlan 1", "Parallel Aware": false, "Relation Name": "supplier", "Schema": "public", "Alias": "supplier", "Startup Cost": 0.0, "Total Cost": 347.0, "Plan Rows": 1, "Plan Width": 4, "Actual Startup Time": 0.143, "Actual Total Time": 3.517, "Actual Rows": 4, "Actual Loops": 5, "Output": ["supplier.s_suppkey"], "Filter": "((supplier.s_comment)::text ~~ '%Customer%Complaints%'::text)", "Rows Removed by Filter": 9996, "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.147, "Actual Total Time": 3.513, "Actual Rows": 4, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 0.157, "Actual Total Time": 3.612, "Actual Rows": 4, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 0.143, "Actual Total Time": 3.57, "Actual Rows": 4, "Actual Loops": 1}, {"Worker Number": 3, "Actual Startup Time": 0.137, "Actual Total Time": 3.533, "Actual Rows": 4, "Actual Loops": 1}]}]}, {"Node Type": "Hash", "Parent Relationship": "Inner", "Parallel Aware": true, "Startup Cost": 6180.33, "Total Cost": 6180.33, "Plan Rows": 12444, "Plan Width": 40, "Actual Startup Time": 19.608, "Actual Total Time": 19.608, "Actual Rows": 5965, "Actual Loops": 5, "Output": ["part.p_brand", "part.p_type", "part.p_size", "part.p_partkey"], "Hash Buckets": 32768, "Original Hash Buckets": 32768, "Hash Batches": 1, "Original Hash Batches": 1, "Peak Memory Usage": 2560, "Workers": [{"Worker Number": 0, "Actual Startup Time": 18.855, "Actual Total Time": 18.855, "Actual Rows": 5211, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 18.865, "Actual Total Time": 18.865, "Actual Rows": 5272, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 18.858, "Actual Total Time": 18.859, "Actual Rows": 5242, "Actual Loops": 1}, {"Worker Number": 3, "Actual Startup Time": 19.044, "Actual Total Time": 19.045, "Actual Rows": 5534, "Actual Loops": 1}], "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": true, "Relation Name": "part", "Schema": "public", "Alias": "part", "Startup Cost": 0.0, "Total Cost": 6180.33, "Plan Rows": 12444, "Plan Width": 40, "Actual Startup Time": 0.028, "Actual Total Time": 17.148, "Actual Rows": 5965, "Actual Loops": 5, "Output": ["part.p_brand", "part.p_type", "part.p_size", "part.p_partkey"], "Filter": "((part.p_brand <> 'Brand#11'::bpchar) AND ((part.p_type)::text !~~ 'ECONOMY ANODIZED%'::text) AND (part.p_size = ANY ('{42,16,39,18,23,32,44,41}'::integer[])))", "Rows Removed by Filter": 34035, "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.032, "Actual Total Time": 16.376, "Actual Rows": 5211, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 0.034, "Actual Total Time": 16.321, "Actual Rows": 5272, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 0.036, "Actual Total Time": 16.324, "Actual Rows": 5242, "Actual Loops": 1}, {"Worker Number": 3, "Actual Startup Time": 0.029, "Actual Total Time": 17.236, "Actual Rows": 5534, "Actual Loops": 1}]}]}]}]}]}]}]}, "Planning Time": 0.597, "Triggers": [], "Execution Time": 622.348} diff --git a/dev9/pg12/tpch/sf_1/explain_analyze/15721/17-1.ok b/dev9/pg12/tpch/sf_1/explain_analyze/15721/17-1.ok new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/dev9/pg12/tpch/sf_1/explain_analyze/15721/17-1.res b/dev9/pg12/tpch/sf_1/explain_analyze/15721/17-1.res new file mode 100644 index 0000000000000000000000000000000000000000..8822c40f4abdc7159783d72b9081c602e042853b --- /dev/null +++ b/dev9/pg12/tpch/sf_1/explain_analyze/15721/17-1.res @@ -0,0 +1 @@ +{"Plan": {"Node Type": "Aggregate", "Strategy": "Plain", "Partial Mode": "Simple", "Parallel Aware": false, "Startup Cost": 195005.1, "Total Cost": 195005.11, "Plan Rows": 1, "Plan Width": 32, "Actual Startup Time": 1536.961, "Actual Total Time": 1537.028, "Actual Rows": 1, "Actual Loops": 1, "Output": ["(sum(lineitem.l_extendedprice) / 7.0)"], "Plans": [{"Node Type": "Hash Join", "Parent Relationship": "Outer", "Parallel Aware": false, "Join Type": "Inner", "Startup Cost": 6369.05, "Total Cost": 195000.2, "Plan Rows": 1960, "Plan Width": 8, "Actual Startup Time": 19.893, "Actual Total Time": 1536.825, "Actual Rows": 588, "Actual Loops": 1, "Output": ["lineitem.l_extendedprice"], "Inner Unique": true, "Hash Cond": "(lineitem.l_partkey = part.p_partkey)", "Join Filter": "(lineitem.l_quantity < (SubPlan 1))", "Rows Removed by Join Filter": 6005, "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Relation Name": "lineitem", "Schema": "public", "Alias": "lineitem", "Startup Cost": 0.0, "Total Cost": 172515.15, "Plan Rows": 6001215, "Plan Width": 17, "Actual Startup Time": 0.005, "Actual Total Time": 490.435, "Actual Rows": 6001215, "Actual Loops": 1, "Output": ["lineitem.l_orderkey", "lineitem.l_partkey", "lineitem.l_suppkey", "lineitem.l_linenumber", "lineitem.l_quantity", "lineitem.l_extendedprice", "lineitem.l_discount", "lineitem.l_tax", "lineitem.l_returnflag", "lineitem.l_linestatus", "lineitem.l_shipdate", "lineitem.l_commitdate", "lineitem.l_receiptdate", "lineitem.l_shipinstruct", "lineitem.l_shipmode", "lineitem.l_comment"]}, {"Node Type": "Hash", "Parent Relationship": "Inner", "Parallel Aware": false, "Startup Cost": 6366.6, "Total Cost": 6366.6, "Plan Rows": 196, "Plan Width": 4, "Actual Startup Time": 17.375, "Actual Total Time": 17.441, "Actual Rows": 222, "Actual Loops": 1, "Output": ["part.p_partkey"], "Hash Buckets": 1024, "Original Hash Buckets": 1024, "Hash Batches": 1, "Original Hash Batches": 1, "Peak Memory Usage": 16, "Plans": [{"Node Type": "Gather", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 1000.0, "Total Cost": 6366.6, "Plan Rows": 196, "Plan Width": 4, "Actual Startup Time": 0.584, "Actual Total Time": 17.397, "Actual Rows": 222, "Actual Loops": 1, "Output": ["part.p_partkey"], "Workers Planned": 2, "Workers Launched": 2, "Single Copy": false, "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": true, "Relation Name": "part", "Schema": "public", "Alias": "part", "Startup Cost": 0.0, "Total Cost": 5347.0, "Plan Rows": 82, "Plan Width": 4, "Actual Startup Time": 0.272, "Actual Total Time": 14.887, "Actual Rows": 74, "Actual Loops": 3, "Output": ["part.p_partkey"], "Filter": "((part.p_brand = 'Brand#14'::bpchar) AND (part.p_container = 'WRAP BOX'::bpchar))", "Rows Removed by Filter": 66593, "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.385, "Actual Total Time": 13.702, "Actual Rows": 53, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 0.045, "Actual Total Time": 13.92, "Actual Rows": 64, "Actual Loops": 1}]}]}]}, {"Node Type": "Aggregate", "Strategy": "Plain", "Partial Mode": "Simple", "Parent Relationship": "SubPlan", "Subplan Name": "SubPlan 1", "Parallel Aware": false, "Startup Cost": 36.25, "Total Cost": 36.27, "Plan Rows": 1, "Plan Width": 32, "Actual Startup Time": 0.029, "Actual Total Time": 0.029, "Actual Rows": 1, "Actual Loops": 6593, "Output": ["(0.2 * avg(lineitem_1.l_quantity))"], "Plans": [{"Node Type": "Index Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Scan Direction": "Forward", "Index Name": "l_pk", "Relation Name": "lineitem", "Schema": "public", "Alias": "lineitem_1", "Startup Cost": 0.43, "Total Cost": 36.17, "Plan Rows": 31, "Plan Width": 5, "Actual Startup Time": 0.004, "Actual Total Time": 0.023, "Actual Rows": 31, "Actual Loops": 6593, "Output": ["lineitem_1.l_orderkey", "lineitem_1.l_partkey", "lineitem_1.l_suppkey", "lineitem_1.l_linenumber", "lineitem_1.l_quantity", "lineitem_1.l_extendedprice", "lineitem_1.l_discount", "lineitem_1.l_tax", "lineitem_1.l_returnflag", "lineitem_1.l_linestatus", "lineitem_1.l_shipdate", "lineitem_1.l_commitdate", "lineitem_1.l_receiptdate", "lineitem_1.l_shipinstruct", "lineitem_1.l_shipmode", "lineitem_1.l_comment"], "Index Cond": "(lineitem_1.l_partkey = part.p_partkey)", "Rows Removed by Index Recheck": 0}]}]}]}, "Planning Time": 0.323, "Triggers": [], "Execution Time": 1537.07} diff --git a/dev9/pg12/tpch/sf_1/explain_analyze/15721/18-1.ok b/dev9/pg12/tpch/sf_1/explain_analyze/15721/18-1.ok new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/dev9/pg12/tpch/sf_1/explain_analyze/15721/18-1.res b/dev9/pg12/tpch/sf_1/explain_analyze/15721/18-1.res new file mode 100644 index 0000000000000000000000000000000000000000..9fcdac100cac223b96562a3388d80e6cf788bb89 --- /dev/null +++ b/dev9/pg12/tpch/sf_1/explain_analyze/15721/18-1.res @@ -0,0 +1 @@ +{"Plan": {"Node Type": "Limit", "Parallel Aware": false, "Startup Cost": 752943.73, "Total Cost": 752943.98, "Plan Rows": 100, "Plan Width": 71, "Actual Startup Time": 3733.834, "Actual Total Time": 3774.946, "Actual Rows": 9, "Actual Loops": 1, "Output": ["customer.c_name", "customer.c_custkey", "orders.o_orderkey", "orders.o_orderdate", "orders.o_totalprice", "(sum(lineitem.l_quantity))"], "Plans": [{"Node Type": "Sort", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 752943.73, "Total Cost": 756965.85, "Plan Rows": 1608850, "Plan Width": 71, "Actual Startup Time": 3733.832, "Actual Total Time": 3774.943, "Actual Rows": 9, "Actual Loops": 1, "Output": ["customer.c_name", "customer.c_custkey", "orders.o_orderkey", "orders.o_orderdate", "orders.o_totalprice", "(sum(lineitem.l_quantity))"], "Sort Key": ["orders.o_totalprice DESC", "orders.o_orderdate"], "Sort Method": "quicksort", "Sort Space Used": 25, "Sort Space Type": "Memory", "Plans": [{"Node Type": "Aggregate", "Strategy": "Sorted", "Partial Mode": "Finalize", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 461155.49, "Total Cost": 691454.64, "Plan Rows": 1608850, "Plan Width": 71, "Actual Startup Time": 3733.794, "Actual Total Time": 3774.931, "Actual Rows": 9, "Actual Loops": 1, "Output": ["customer.c_name", "customer.c_custkey", "orders.o_orderkey", "orders.o_orderdate", "orders.o_totalprice", "sum(lineitem.l_quantity)"], "Group Key": ["customer.c_custkey", "orders.o_orderkey"], "Plans": [{"Node Type": "Gather Merge", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 461155.49, "Total Cost": 655774.49, "Plan Rows": 1556952, "Plan Width": 71, "Actual Startup Time": 3733.777, "Actual Total Time": 3774.905, "Actual Rows": 9, "Actual Loops": 1, "Output": ["customer.c_custkey", "orders.o_orderkey", "customer.c_name", "orders.o_orderdate", "orders.o_totalprice", "(PARTIAL sum(lineitem.l_quantity))"], "Workers Planned": 3, "Workers Launched": 3, "Plans": [{"Node Type": "Aggregate", "Strategy": "Sorted", "Partial Mode": "Partial", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 460155.45, "Total Cost": 471832.59, "Plan Rows": 518984, "Plan Width": 71, "Actual Startup Time": 3546.001, "Actual Total Time": 3546.015, "Actual Rows": 2, "Actual Loops": 4, "Output": ["customer.c_custkey", "orders.o_orderkey", "customer.c_name", "orders.o_orderdate", "orders.o_totalprice", "PARTIAL sum(lineitem.l_quantity)"], "Group Key": ["customer.c_custkey", "orders.o_orderkey"], "Workers": [{"Worker Number": 0, "Actual Startup Time": 3360.942, "Actual Total Time": 3360.966, "Actual Rows": 5, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 3729.013, "Actual Total Time": 3729.017, "Actual Rows": 0, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 3728.829, "Actual Total Time": 3728.834, "Actual Rows": 0, "Actual Loops": 1}], "Plans": [{"Node Type": "Sort", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 460155.45, "Total Cost": 461452.91, "Plan Rows": 518984, "Plan Width": 44, "Actual Startup Time": 3545.993, "Actual Total Time": 3546.002, "Actual Rows": 16, "Actual Loops": 4, "Output": ["customer.c_custkey", "orders.o_orderkey", "customer.c_name", "orders.o_orderdate", "orders.o_totalprice", "lineitem.l_quantity"], "Sort Key": ["customer.c_custkey", "orders.o_orderkey"], "Sort Method": "quicksort", "Sort Space Used": 27, "Sort Space Type": "Memory", "Workers": [{"Worker Number": 0, "Actual Startup Time": 3360.925, "Actual Total Time": 3360.939, "Actual Rows": 35, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 3729.012, "Actual Total Time": 3729.016, "Actual Rows": 0, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 3728.828, "Actual Total Time": 3728.832, "Actual Rows": 0, "Actual Loops": 1}], "Plans": [{"Node Type": "Nested Loop", "Parent Relationship": "Outer", "Parallel Aware": false, "Join Type": "Inner", "Startup Cost": 282785.87, "Total Cost": 401537.94, "Plan Rows": 518984, "Plan Width": 44, "Actual Startup Time": 3474.443, "Actual Total Time": 3545.962, "Actual Rows": 16, "Actual Loops": 4, "Output": ["customer.c_custkey", "orders.o_orderkey", "customer.c_name", "orders.o_orderdate", "orders.o_totalprice", "lineitem.l_quantity"], "Inner Unique": false, "Workers": [{"Worker Number": 0, "Actual Startup Time": 3234.466, "Actual Total Time": 3360.879, "Actual Rows": 35, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 3728.975, "Actual Total Time": 3728.978, "Actual Rows": 0, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 3728.79, "Actual Total Time": 3728.794, "Actual Rows": 0, "Actual Loops": 1}], "Plans": [{"Node Type": "Hash Join", "Parent Relationship": "Outer", "Parallel Aware": true, "Join Type": "Inner", "Startup Cost": 282785.43, "Total Cost": 315329.83, "Plan Rows": 129720, "Plan Width": 43, "Actual Startup Time": 3474.423, "Actual Total Time": 3545.892, "Actual Rows": 2, "Actual Loops": 4, "Output": ["customer.c_name", "customer.c_custkey", "orders.o_orderkey", "orders.o_orderdate", "orders.o_totalprice", "lineitem_1.l_orderkey"], "Inner Unique": true, "Hash Cond": "(orders.o_custkey = customer.c_custkey)", "Workers": [{"Worker Number": 0, "Actual Startup Time": 3234.408, "Actual Total Time": 3360.666, "Actual Rows": 5, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 3728.974, "Actual Total Time": 3728.977, "Actual Rows": 0, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 3728.789, "Actual Total Time": 3728.792, "Actual Rows": 0, "Actual Loops": 1}], "Plans": [{"Node Type": "Hash Join", "Parent Relationship": "Outer", "Parallel Aware": false, "Join Type": "Inner", "Startup Cost": 277794.18, "Total Cost": 309998.06, "Plan Rows": 129720, "Plan Width": 24, "Actual Startup Time": 3451.287, "Actual Total Time": 3522.741, "Actual Rows": 2, "Actual Loops": 4, "Output": ["orders.o_orderkey", "orders.o_orderdate", "orders.o_totalprice", "orders.o_custkey", "lineitem_1.l_orderkey"], "Inner Unique": true, "Hash Cond": "(orders.o_orderkey = lineitem_1.l_orderkey)", "Workers": [{"Worker Number": 0, "Actual Startup Time": 3212.488, "Actual Total Time": 3338.714, "Actual Rows": 5, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 3706.684, "Actual Total Time": 3706.685, "Actual Rows": 0, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 3706.688, "Actual Total Time": 3706.69, "Actual Rows": 0, "Actual Loops": 1}], "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": true, "Relation Name": "orders", "Schema": "public", "Alias": "orders", "Startup Cost": 0.0, "Total Cost": 30933.71, "Plan Rows": 483871, "Plan Width": 20, "Actual Startup Time": 0.013, "Actual Total Time": 33.427, "Actual Rows": 375000, "Actual Loops": 4, "Output": ["orders.o_orderkey", "orders.o_custkey", "orders.o_orderstatus", "orders.o_totalprice", "orders.o_orderdate", "orders.o_orderpriority", "orders.o_clerk", "orders.o_shippriority", "orders.o_comment"], "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.014, "Actual Total Time": 61.82, "Actual Rows": 651222, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 0.017, "Actual Total Time": 0.023, "Actual Rows": 59, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 0.016, "Actual Total Time": 0.023, "Actual Rows": 56, "Actual Loops": 1}]}, {"Node Type": "Hash", "Parent Relationship": "Inner", "Parallel Aware": false, "Startup Cost": 272767.55, "Total Cost": 272767.55, "Plan Rows": 402131, "Plan Width": 4, "Actual Startup Time": 3417.668, "Actual Total Time": 3417.669, "Actual Rows": 9, "Actual Loops": 4, "Output": ["lineitem_1.l_orderkey"], "Hash Buckets": 524288, "Original Hash Buckets": 524288, "Hash Batches": 1, "Original Hash Batches": 1, "Peak Memory Usage": 4097, "Workers": [{"Worker Number": 0, "Actual Startup Time": 3158.592, "Actual Total Time": 3158.594, "Actual Rows": 9, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 3704.073, "Actual Total Time": 3704.074, "Actual Rows": 9, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 3704.086, "Actual Total Time": 3704.087, "Actual Rows": 9, "Actual Loops": 1}], "Plans": [{"Node Type": "Aggregate", "Strategy": "Sorted", "Partial Mode": "Simple", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 0.43, "Total Cost": 268746.24, "Plan Rows": 402131, "Plan Width": 4, "Actual Startup Time": 717.778, "Actual Total Time": 3417.647, "Actual Rows": 9, "Actual Loops": 4, "Output": ["lineitem_1.l_orderkey"], "Group Key": ["lineitem_1.l_orderkey"], "Filter": "(sum(lineitem_1.l_quantity) > '314'::numeric)", "Rows Removed by Filter": 1499991, "Workers": [{"Worker Number": 0, "Actual Startup Time": 666.888, "Actual Total Time": 3158.573, "Actual Rows": 9, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 775.364, "Actual Total Time": 3704.05, "Actual Rows": 9, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 775.379, "Actual Total Time": 3704.063, "Actual Rows": 9, "Actual Loops": 1}], "Plans": [{"Node Type": "Index Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Scan Direction": "Forward", "Index Name": "l_ok", "Relation Name": "lineitem", "Schema": "public", "Alias": "lineitem_1", "Startup Cost": 0.43, "Total Cost": 220644.27, "Plan Rows": 6001215, "Plan Width": 9, "Actual Startup Time": 0.044, "Actual Total Time": 1564.376, "Actual Rows": 6001215, "Actual Loops": 4, "Output": ["lineitem_1.l_orderkey", "lineitem_1.l_partkey", "lineitem_1.l_suppkey", "lineitem_1.l_linenumber", "lineitem_1.l_quantity", "lineitem_1.l_extendedprice", "lineitem_1.l_discount", "lineitem_1.l_tax", "lineitem_1.l_returnflag", "lineitem_1.l_linestatus", "lineitem_1.l_shipdate", "lineitem_1.l_commitdate", "lineitem_1.l_receiptdate", "lineitem_1.l_shipinstruct", "lineitem_1.l_shipmode", "lineitem_1.l_comment"], "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.051, "Actual Total Time": 1306.524, "Actual Rows": 6001215, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 0.058, "Actual Total Time": 1856.018, "Actual Rows": 6001215, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 0.053, "Actual Total Time": 1856.656, "Actual Rows": 6001215, "Actual Loops": 1}]}]}]}]}, {"Node Type": "Hash", "Parent Relationship": "Inner", "Parallel Aware": true, "Startup Cost": 4210.0, "Total Cost": 4210.0, "Plan Rows": 62500, "Plan Width": 23, "Actual Startup Time": 22.481, "Actual Total Time": 22.483, "Actual Rows": 37500, "Actual Loops": 4, "Output": ["customer.c_name", "customer.c_custkey"], "Hash Buckets": 262144, "Original Hash Buckets": 262144, "Hash Batches": 1, "Original Hash Batches": 1, "Peak Memory Usage": 10336, "Workers": [{"Worker Number": 0, "Actual Startup Time": 21.843, "Actual Total Time": 21.851, "Actual Rows": 33559, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 21.857, "Actual Total Time": 21.858, "Actual Rows": 33134, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 22.049, "Actual Total Time": 22.05, "Actual Rows": 33497, "Actual Loops": 1}], "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": true, "Relation Name": "customer", "Schema": "public", "Alias": "customer", "Startup Cost": 0.0, "Total Cost": 4210.0, "Plan Rows": 62500, "Plan Width": 23, "Actual Startup Time": 0.018, "Actual Total Time": 9.987, "Actual Rows": 37500, "Actual Loops": 4, "Output": ["customer.c_name", "customer.c_custkey"], "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.022, "Actual Total Time": 10.134, "Actual Rows": 33559, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 0.023, "Actual Total Time": 10.072, "Actual Rows": 33134, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 0.022, "Actual Total Time": 10.198, "Actual Rows": 33497, "Actual Loops": 1}]}]}]}, {"Node Type": "Index Scan", "Parent Relationship": "Inner", "Parallel Aware": false, "Scan Direction": "Forward", "Index Name": "lineitem_pkey", "Relation Name": "lineitem", "Schema": "public", "Alias": "lineitem", "Startup Cost": 0.43, "Total Cost": 0.61, "Plan Rows": 5, "Plan Width": 9, "Actual Startup Time": 0.023, "Actual Total Time": 0.027, "Actual Rows": 7, "Actual Loops": 9, "Output": ["lineitem.l_orderkey", "lineitem.l_partkey", "lineitem.l_suppkey", "lineitem.l_linenumber", "lineitem.l_quantity", "lineitem.l_extendedprice", "lineitem.l_discount", "lineitem.l_tax", "lineitem.l_returnflag", "lineitem.l_linestatus", "lineitem.l_shipdate", "lineitem.l_commitdate", "lineitem.l_receiptdate", "lineitem.l_shipinstruct", "lineitem.l_shipmode", "lineitem.l_comment"], "Index Cond": "(lineitem.l_orderkey = orders.o_orderkey)", "Rows Removed by Index Recheck": 0, "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.034, "Actual Total Time": 0.039, "Actual Rows": 7, "Actual Loops": 5}]}]}]}]}]}]}]}]}, "Planning Time": 0.916, "Triggers": [], "Execution Time": 3775.016} diff --git a/dev9/pg12/tpch/sf_1/explain_analyze/15721/19-1.ok b/dev9/pg12/tpch/sf_1/explain_analyze/15721/19-1.ok new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/dev9/pg12/tpch/sf_1/explain_analyze/15721/19-1.res b/dev9/pg12/tpch/sf_1/explain_analyze/15721/19-1.res new file mode 100644 index 0000000000000000000000000000000000000000..eb0d815ed0c10a0f52431bd5aa842e7d8e6ab06b --- /dev/null +++ b/dev9/pg12/tpch/sf_1/explain_analyze/15721/19-1.res @@ -0,0 +1 @@ +{"Plan": {"Node Type": "Aggregate", "Strategy": "Plain", "Partial Mode": "Finalize", "Parallel Aware": false, "Startup Cost": 15921.25, "Total Cost": 15921.26, "Plan Rows": 1, "Plan Width": 32, "Actual Startup Time": 46.951, "Actual Total Time": 56.694, "Actual Rows": 1, "Actual Loops": 1, "Output": ["sum((lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount)))"], "Plans": [{"Node Type": "Gather", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 15921.03, "Total Cost": 15921.24, "Plan Rows": 2, "Plan Width": 32, "Actual Startup Time": 46.941, "Actual Total Time": 56.686, "Actual Rows": 3, "Actual Loops": 1, "Output": ["(PARTIAL sum((lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount))))"], "Workers Planned": 2, "Workers Launched": 2, "Single Copy": false, "Plans": [{"Node Type": "Aggregate", "Strategy": "Plain", "Partial Mode": "Partial", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 14921.03, "Total Cost": 14921.04, "Plan Rows": 1, "Plan Width": 32, "Actual Startup Time": 42.167, "Actual Total Time": 42.168, "Actual Rows": 1, "Actual Loops": 3, "Output": ["PARTIAL sum((lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount)))"], "Workers": [{"Worker Number": 0, "Actual Startup Time": 39.859, "Actual Total Time": 39.86, "Actual Rows": 1, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 40.142, "Actual Total Time": 40.143, "Actual Rows": 1, "Actual Loops": 1}], "Plans": [{"Node Type": "Nested Loop", "Parent Relationship": "Outer", "Parallel Aware": false, "Join Type": "Inner", "Startup Cost": 0.43, "Total Cost": 14920.67, "Plan Rows": 48, "Plan Width": 12, "Actual Startup Time": 2.194, "Actual Total Time": 42.135, "Actual Rows": 35, "Actual Loops": 3, "Output": ["lineitem.l_extendedprice", "lineitem.l_discount"], "Inner Unique": false, "Workers": [{"Worker Number": 0, "Actual Startup Time": 3.277, "Actual Total Time": 39.828, "Actual Rows": 29, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 2.336, "Actual Total Time": 40.117, "Actual Rows": 21, "Actual Loops": 1}], "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": true, "Relation Name": "part", "Schema": "public", "Alias": "part", "Startup Cost": 0.0, "Total Cost": 7638.67, "Plan Rows": 202, "Plan Width": 30, "Actual Startup Time": 0.283, "Actual Total Time": 26.324, "Actual Rows": 143, "Actual Loops": 3, "Output": ["part.p_partkey", "part.p_name", "part.p_mfgr", "part.p_brand", "part.p_type", "part.p_size", "part.p_container", "part.p_retailprice", "part.p_comment"], "Filter": "((part.p_size >= 1) AND (((part.p_brand = 'Brand#52'::bpchar) AND (part.p_container = ANY ('{\"SM CASE\",\"SM BOX\",\"SM PACK\",\"SM PKG\"}'::bpchar[])) AND (part.p_size <= 5)) OR ((part.p_brand = 'Brand#42'::bpchar) AND (part.p_container = ANY ('{\"MED BAG\",\"MED BOX\",\"MED PKG\",\"MED PACK\"}'::bpchar[])) AND (part.p_size <= 10)) OR ((part.p_brand = 'Brand#23'::bpchar) AND (part.p_container = ANY ('{\"LG CASE\",\"LG BOX\",\"LG PACK\",\"LG PKG\"}'::bpchar[])) AND (part.p_size <= 15))))", "Rows Removed by Filter": 66524, "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.111, "Actual Total Time": 19.61, "Actual Rows": 116, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 0.704, "Actual Total Time": 22.061, "Actual Rows": 100, "Actual Loops": 1}]}, {"Node Type": "Index Scan", "Parent Relationship": "Inner", "Parallel Aware": false, "Scan Direction": "Forward", "Index Name": "l_pk", "Relation Name": "lineitem", "Schema": "public", "Alias": "lineitem", "Startup Cost": 0.43, "Total Cost": 36.04, "Plan Rows": 1, "Plan Width": 21, "Actual Startup Time": 0.099, "Actual Total Time": 0.11, "Actual Rows": 0, "Actual Loops": 428, "Output": ["lineitem.l_orderkey", "lineitem.l_partkey", "lineitem.l_suppkey", "lineitem.l_linenumber", "lineitem.l_quantity", "lineitem.l_extendedprice", "lineitem.l_discount", "lineitem.l_tax", "lineitem.l_returnflag", "lineitem.l_linestatus", "lineitem.l_shipdate", "lineitem.l_commitdate", "lineitem.l_receiptdate", "lineitem.l_shipinstruct", "lineitem.l_shipmode", "lineitem.l_comment"], "Index Cond": "(lineitem.l_partkey = part.p_partkey)", "Rows Removed by Index Recheck": 0, "Filter": "((lineitem.l_shipmode = ANY ('{AIR,\"AIR REG\"}'::bpchar[])) AND (lineitem.l_shipinstruct = 'DELIVER IN PERSON'::bpchar) AND (((lineitem.l_quantity >= '9'::numeric) AND (lineitem.l_quantity <= '19'::numeric)) OR ((lineitem.l_quantity >= '18'::numeric) AND (lineitem.l_quantity <= '28'::numeric)) OR ((lineitem.l_quantity >= '22'::numeric) AND (lineitem.l_quantity <= '32'::numeric))) AND (((part.p_brand = 'Brand#52'::bpchar) AND (part.p_container = ANY ('{\"SM CASE\",\"SM BOX\",\"SM PACK\",\"SM PKG\"}'::bpchar[])) AND (lineitem.l_quantity >= '9'::numeric) AND (lineitem.l_quantity <= '19'::numeric) AND (part.p_size <= 5)) OR ((part.p_brand = 'Brand#42'::bpchar) AND (part.p_container = ANY ('{\"MED BAG\",\"MED BOX\",\"MED PKG\",\"MED PACK\"}'::bpchar[])) AND (lineitem.l_quantity >= '18'::numeric) AND (lineitem.l_quantity <= '28'::numeric) AND (part.p_size <= 10)) OR ((part.p_brand = 'Brand#23'::bpchar) AND (part.p_container = ANY ('{\"LG CASE\",\"LG BOX\",\"LG PACK\",\"LG PKG\"}'::bpchar[])) AND (lineitem.l_quantity >= '22'::numeric) AND (lineitem.l_quantity <= '32'::numeric) AND (part.p_size <= 15))))", "Rows Removed by Filter": 30, "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.155, "Actual Total Time": 0.174, "Actual Rows": 0, "Actual Loops": 116}, {"Worker Number": 1, "Actual Startup Time": 0.165, "Actual Total Time": 0.18, "Actual Rows": 0, "Actual Loops": 100}]}]}]}]}]}, "Planning Time": 0.646, "Triggers": [], "Execution Time": 56.741} diff --git a/dev9/pg12/tpch/sf_1/explain_analyze/15721/2-1.ok b/dev9/pg12/tpch/sf_1/explain_analyze/15721/2-1.ok new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/dev9/pg12/tpch/sf_1/explain_analyze/15721/2-1.res b/dev9/pg12/tpch/sf_1/explain_analyze/15721/2-1.res new file mode 100644 index 0000000000000000000000000000000000000000..0025c55f4db847b481f06c157dbf5398c6dfae9d --- /dev/null +++ b/dev9/pg12/tpch/sf_1/explain_analyze/15721/2-1.res @@ -0,0 +1 @@ +{"Plan": {"Node Type": "Limit", "Parallel Aware": false, "Startup Cost": 32133.98, "Total Cost": 32133.98, "Plan Rows": 1, "Plan Width": 192, "Actual Startup Time": 263.309, "Actual Total Time": 263.39, "Actual Rows": 100, "Actual Loops": 1, "Output": ["supplier.s_acctbal", "supplier.s_name", "nation.n_name", "part.p_partkey", "part.p_mfgr", "supplier.s_address", "supplier.s_phone", "supplier.s_comment"], "Plans": [{"Node Type": "Sort", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 32133.98, "Total Cost": 32133.98, "Plan Rows": 1, "Plan Width": 192, "Actual Startup Time": 263.308, "Actual Total Time": 263.381, "Actual Rows": 100, "Actual Loops": 1, "Output": ["supplier.s_acctbal", "supplier.s_name", "nation.n_name", "part.p_partkey", "part.p_mfgr", "supplier.s_address", "supplier.s_phone", "supplier.s_comment"], "Sort Key": ["supplier.s_acctbal DESC", "nation.n_name", "supplier.s_name", "part.p_partkey"], "Sort Method": "top-N heapsort", "Sort Space Used": 70, "Sort Space Type": "Memory", "Plans": [{"Node Type": "Hash Join", "Parent Relationship": "Outer", "Parallel Aware": false, "Join Type": "Inner", "Startup Cost": 16993.34, "Total Cost": 32133.97, "Plan Rows": 1, "Plan Width": 192, "Actual Startup Time": 219.097, "Actual Total Time": 262.923, "Actual Rows": 509, "Actual Loops": 1, "Output": ["supplier.s_acctbal", "supplier.s_name", "nation.n_name", "part.p_partkey", "part.p_mfgr", "supplier.s_address", "supplier.s_phone", "supplier.s_comment"], "Inner Unique": false, "Hash Cond": "((part.p_partkey = partsupp.ps_partkey) AND ((SubPlan 1) = partsupp.ps_supplycost))", "Plans": [{"Node Type": "Gather", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 1000.0, "Total Cost": 6427.1, "Plan Rows": 801, "Plan Width": 30, "Actual Startup Time": 0.242, "Actual Total Time": 0.525, "Actual Rows": 854, "Actual Loops": 1, "Output": ["part.p_partkey", "part.p_mfgr"], "Workers Planned": 2, "Workers Launched": 2, "Single Copy": false, "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": true, "Relation Name": "part", "Schema": "public", "Alias": "part", "Startup Cost": 0.0, "Total Cost": 5347.0, "Plan Rows": 334, "Plan Width": 30, "Actual Startup Time": 0.03, "Actual Total Time": 21.142, "Actual Rows": 285, "Actual Loops": 3, "Output": ["part.p_partkey", "part.p_mfgr"], "Filter": "(((part.p_type)::text ~~ '%TIN'::text) AND (part.p_size = 44))", "Rows Removed by Filter": 66382, "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.029, "Actual Total Time": 31.617, "Actual Rows": 431, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 0.037, "Actual Total Time": 31.771, "Actual Rows": 422, "Actual Loops": 1}]}]}, {"Node Type": "Hash", "Parent Relationship": "Inner", "Parallel Aware": false, "Startup Cost": 9686.34, "Total Cost": 9686.34, "Plan Rows": 160000, "Plan Width": 172, "Actual Startup Time": 218.476, "Actual Total Time": 218.479, "Actual Rows": 158960, "Actual Loops": 1, "Output": ["supplier.s_acctbal", "supplier.s_name", "supplier.s_address", "supplier.s_phone", "supplier.s_comment", "partsupp.ps_partkey", "partsupp.ps_supplycost", "nation.n_name"], "Hash Buckets": 131072, "Original Hash Buckets": 131072, "Hash Batches": 2, "Original Hash Batches": 2, "Peak Memory Usage": 17198, "Plans": [{"Node Type": "Nested Loop", "Parent Relationship": "Outer", "Parallel Aware": false, "Join Type": "Inner", "Startup Cost": 0.71, "Total Cost": 9686.34, "Plan Rows": 160000, "Plan Width": 172, "Actual Startup Time": 0.039, "Actual Total Time": 146.516, "Actual Rows": 158960, "Actual Loops": 1, "Output": ["supplier.s_acctbal", "supplier.s_name", "supplier.s_address", "supplier.s_phone", "supplier.s_comment", "partsupp.ps_partkey", "partsupp.ps_supplycost", "nation.n_name"], "Inner Unique": false, "Plans": [{"Node Type": "Nested Loop", "Parent Relationship": "Outer", "Parallel Aware": false, "Join Type": "Inner", "Startup Cost": 0.29, "Total Cost": 114.02, "Plan Rows": 2000, "Plan Width": 166, "Actual Startup Time": 0.024, "Actual Total Time": 1.727, "Actual Rows": 1987, "Actual Loops": 1, "Output": ["supplier.s_acctbal", "supplier.s_name", "supplier.s_address", "supplier.s_phone", "supplier.s_comment", "supplier.s_suppkey", "nation.n_name"], "Inner Unique": false, "Plans": [{"Node Type": "Nested Loop", "Parent Relationship": "Outer", "Parallel Aware": false, "Join Type": "Inner", "Startup Cost": 0.0, "Total Cost": 2.62, "Plan Rows": 5, "Plan Width": 30, "Actual Startup Time": 0.01, "Actual Total Time": 0.024, "Actual Rows": 5, "Actual Loops": 1, "Output": ["nation.n_name", "nation.n_nationkey"], "Inner Unique": false, "Join Filter": "(nation.n_regionkey = region.r_regionkey)", "Rows Removed by Join Filter": 20, "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Relation Name": "region", "Schema": "public", "Alias": "region", "Startup Cost": 0.0, "Total Cost": 1.06, "Plan Rows": 1, "Plan Width": 4, "Actual Startup Time": 0.004, "Actual Total Time": 0.006, "Actual Rows": 1, "Actual Loops": 1, "Output": ["region.r_regionkey", "region.r_name", "region.r_comment"], "Filter": "(region.r_name = 'EUROPE'::bpchar)", "Rows Removed by Filter": 4}, {"Node Type": "Seq Scan", "Parent Relationship": "Inner", "Parallel Aware": false, "Relation Name": "nation", "Schema": "public", "Alias": "nation", "Startup Cost": 0.0, "Total Cost": 1.25, "Plan Rows": 25, "Plan Width": 34, "Actual Startup Time": 0.002, "Actual Total Time": 0.007, "Actual Rows": 25, "Actual Loops": 1, "Output": ["nation.n_nationkey", "nation.n_name", "nation.n_regionkey", "nation.n_comment"]}]}, {"Node Type": "Index Scan", "Parent Relationship": "Inner", "Parallel Aware": false, "Scan Direction": "Forward", "Index Name": "s_nk", "Relation Name": "supplier", "Schema": "public", "Alias": "supplier", "Startup Cost": 0.29, "Total Cost": 18.28, "Plan Rows": 400, "Plan Width": 144, "Actual Startup Time": 0.009, "Actual Total Time": 0.222, "Actual Rows": 397, "Actual Loops": 5, "Output": ["supplier.s_suppkey", "supplier.s_name", "supplier.s_address", "supplier.s_nationkey", "supplier.s_phone", "supplier.s_acctbal", "supplier.s_comment"], "Index Cond": "(supplier.s_nationkey = nation.n_nationkey)", "Rows Removed by Index Recheck": 0}]}, {"Node Type": "Index Scan", "Parent Relationship": "Inner", "Parallel Aware": false, "Scan Direction": "Forward", "Index Name": "ps_sk_pk", "Relation Name": "partsupp", "Schema": "public", "Alias": "partsupp", "Startup Cost": 0.42, "Total Cost": 3.99, "Plan Rows": 80, "Plan Width": 14, "Actual Startup Time": 0.005, "Actual Total Time": 0.057, "Actual Rows": 80, "Actual Loops": 1987, "Output": ["partsupp.ps_partkey", "partsupp.ps_suppkey", "partsupp.ps_availqty", "partsupp.ps_supplycost", "partsupp.ps_comment"], "Index Cond": "(partsupp.ps_suppkey = supplier.s_suppkey)", "Rows Removed by Index Recheck": 0}]}]}, {"Node Type": "Aggregate", "Strategy": "Plain", "Partial Mode": "Simple", "Parent Relationship": "SubPlan", "Subplan Name": "SubPlan 1", "Parallel Aware": false, "Startup Cost": 14.44, "Total Cost": 14.45, "Plan Rows": 1, "Plan Width": 32, "Actual Startup Time": 0.021, "Actual Total Time": 0.021, "Actual Rows": 1, "Actual Loops": 1363, "Output": ["min(partsupp_1.ps_supplycost)"], "Plans": [{"Node Type": "Nested Loop", "Parent Relationship": "Outer", "Parallel Aware": false, "Join Type": "Inner", "Startup Cost": 0.85, "Total Cost": 14.44, "Plan Rows": 1, "Plan Width": 6, "Actual Startup Time": 0.015, "Actual Total Time": 0.02, "Actual Rows": 1, "Actual Loops": 1363, "Output": ["partsupp_1.ps_supplycost"], "Inner Unique": false, "Join Filter": "(nation_1.n_regionkey = region_1.r_regionkey)", "Rows Removed by Join Filter": 3, "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Relation Name": "region", "Schema": "public", "Alias": "region_1", "Startup Cost": 0.0, "Total Cost": 1.06, "Plan Rows": 1, "Plan Width": 4, "Actual Startup Time": 0.001, "Actual Total Time": 0.001, "Actual Rows": 1, "Actual Loops": 1363, "Output": ["region_1.r_regionkey", "region_1.r_name", "region_1.r_comment"], "Filter": "(region_1.r_name = 'EUROPE'::bpchar)", "Rows Removed by Filter": 4}, {"Node Type": "Nested Loop", "Parent Relationship": "Inner", "Parallel Aware": false, "Join Type": "Inner", "Startup Cost": 0.85, "Total Cost": 13.33, "Plan Rows": 4, "Plan Width": 10, "Actual Startup Time": 0.007, "Actual Total Time": 0.018, "Actual Rows": 4, "Actual Loops": 1363, "Output": ["partsupp_1.ps_supplycost", "nation_1.n_regionkey"], "Inner Unique": true, "Plans": [{"Node Type": "Nested Loop", "Parent Relationship": "Outer", "Parallel Aware": false, "Join Type": "Inner", "Startup Cost": 0.71, "Total Cost": 12.71, "Plan Rows": 4, "Plan Width": 10, "Actual Startup Time": 0.006, "Actual Total Time": 0.013, "Actual Rows": 4, "Actual Loops": 1363, "Output": ["partsupp_1.ps_supplycost", "supplier_1.s_nationkey"], "Inner Unique": true, "Plans": [{"Node Type": "Index Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Scan Direction": "Forward", "Index Name": "ps_pk", "Relation Name": "partsupp", "Schema": "public", "Alias": "partsupp_1", "Startup Cost": 0.42, "Total Cost": 2.7, "Plan Rows": 4, "Plan Width": 10, "Actual Startup Time": 0.003, "Actual Total Time": 0.004, "Actual Rows": 4, "Actual Loops": 1363, "Output": ["partsupp_1.ps_partkey", "partsupp_1.ps_suppkey", "partsupp_1.ps_availqty", "partsupp_1.ps_supplycost", "partsupp_1.ps_comment"], "Index Cond": "(partsupp_1.ps_partkey = part.p_partkey)", "Rows Removed by Index Recheck": 0}, {"Node Type": "Index Scan", "Parent Relationship": "Inner", "Parallel Aware": false, "Scan Direction": "Forward", "Index Name": "s_sk", "Relation Name": "supplier", "Schema": "public", "Alias": "supplier_1", "Startup Cost": 0.29, "Total Cost": 2.5, "Plan Rows": 1, "Plan Width": 8, "Actual Startup Time": 0.002, "Actual Total Time": 0.002, "Actual Rows": 1, "Actual Loops": 5452, "Output": ["supplier_1.s_suppkey", "supplier_1.s_name", "supplier_1.s_address", "supplier_1.s_nationkey", "supplier_1.s_phone", "supplier_1.s_acctbal", "supplier_1.s_comment"], "Index Cond": "(supplier_1.s_suppkey = partsupp_1.ps_suppkey)", "Rows Removed by Index Recheck": 0}]}, {"Node Type": "Index Scan", "Parent Relationship": "Inner", "Parallel Aware": false, "Scan Direction": "Forward", "Index Name": "n_nk", "Relation Name": "nation", "Schema": "public", "Alias": "nation_1", "Startup Cost": 0.14, "Total Cost": 0.16, "Plan Rows": 1, "Plan Width": 8, "Actual Startup Time": 0.001, "Actual Total Time": 0.001, "Actual Rows": 1, "Actual Loops": 5452, "Output": ["nation_1.n_nationkey", "nation_1.n_name", "nation_1.n_regionkey", "nation_1.n_comment"], "Index Cond": "(nation_1.n_nationkey = supplier_1.s_nationkey)", "Rows Removed by Index Recheck": 0}]}]}]}]}]}]}, "Planning Time": 2.034, "Triggers": [], "Execution Time": 263.498} diff --git a/dev9/pg12/tpch/sf_1/explain_analyze/15721/20-1.ok b/dev9/pg12/tpch/sf_1/explain_analyze/15721/20-1.ok new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/dev9/pg12/tpch/sf_1/explain_analyze/15721/20-1.res b/dev9/pg12/tpch/sf_1/explain_analyze/15721/20-1.res new file mode 100644 index 0000000000000000000000000000000000000000..aef2879396de87fcdac6b727955cd2dd7c9da41d --- /dev/null +++ b/dev9/pg12/tpch/sf_1/explain_analyze/15721/20-1.res @@ -0,0 +1 @@ +{"Plan": {"Node Type": "Sort", "Parallel Aware": false, "Startup Cost": 32959.11, "Total Cost": 32959.38, "Plan Rows": 107, "Plan Width": 51, "Actual Startup Time": 159.914, "Actual Total Time": 159.927, "Actual Rows": 187, "Actual Loops": 1, "Output": ["supplier.s_name", "supplier.s_address"], "Sort Key": ["supplier.s_name"], "Sort Method": "quicksort", "Sort Space Used": 46, "Sort Space Type": "Memory", "Plans": [{"Node Type": "Hash Join", "Parent Relationship": "Outer", "Parallel Aware": false, "Join Type": "Semi", "Startup Cost": 32731.29, "Total Cost": 32955.5, "Plan Rows": 107, "Plan Width": 51, "Actual Startup Time": 159.407, "Actual Total Time": 159.776, "Actual Rows": 187, "Actual Loops": 1, "Output": ["supplier.s_name", "supplier.s_address"], "Inner Unique": false, "Hash Cond": "(supplier.s_suppkey = partsupp.ps_suppkey)", "Plans": [{"Node Type": "Nested Loop", "Parent Relationship": "Outer", "Parallel Aware": false, "Join Type": "Inner", "Startup Cost": 5.58, "Total Cost": 227.43, "Plan Rows": 400, "Plan Width": 55, "Actual Startup Time": 0.074, "Actual Total Time": 0.371, "Actual Rows": 396, "Actual Loops": 1, "Output": ["supplier.s_name", "supplier.s_address", "supplier.s_suppkey"], "Inner Unique": false, "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Relation Name": "nation", "Schema": "public", "Alias": "nation", "Startup Cost": 0.0, "Total Cost": 1.31, "Plan Rows": 1, "Plan Width": 4, "Actual Startup Time": 0.006, "Actual Total Time": 0.011, "Actual Rows": 1, "Actual Loops": 1, "Output": ["nation.n_nationkey", "nation.n_name", "nation.n_regionkey", "nation.n_comment"], "Filter": "(nation.n_name = 'GERMANY'::bpchar)", "Rows Removed by Filter": 24}, {"Node Type": "Bitmap Heap Scan", "Parent Relationship": "Inner", "Parallel Aware": false, "Relation Name": "supplier", "Schema": "public", "Alias": "supplier", "Startup Cost": 5.58, "Total Cost": 222.11, "Plan Rows": 400, "Plan Width": 59, "Actual Startup Time": 0.065, "Actual Total Time": 0.288, "Actual Rows": 396, "Actual Loops": 1, "Output": ["supplier.s_suppkey", "supplier.s_name", "supplier.s_address", "supplier.s_nationkey", "supplier.s_phone", "supplier.s_acctbal", "supplier.s_comment"], "Recheck Cond": "(supplier.s_nationkey = nation.n_nationkey)", "Rows Removed by Index Recheck": 0, "Exact Heap Blocks": 191, "Lossy Heap Blocks": 0, "Plans": [{"Node Type": "Bitmap Index Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Index Name": "s_nk", "Startup Cost": 0.0, "Total Cost": 5.49, "Plan Rows": 400, "Plan Width": 0, "Actual Startup Time": 0.037, "Actual Total Time": 0.037, "Actual Rows": 396, "Actual Loops": 1, "Index Cond": "(supplier.s_nationkey = nation.n_nationkey)"}]}]}, {"Node Type": "Hash", "Parent Relationship": "Inner", "Parallel Aware": false, "Startup Cost": 32692.3, "Total Cost": 32692.3, "Plan Rows": 2672, "Plan Width": 4, "Actual Startup Time": 159.322, "Actual Total Time": 159.323, "Actual Rows": 5970, "Actual Loops": 1, "Output": ["partsupp.ps_suppkey"], "Hash Buckets": 8192, "Original Hash Buckets": 4096, "Hash Batches": 1, "Original Hash Batches": 1, "Peak Memory Usage": 274, "Plans": [{"Node Type": "Nested Loop", "Parent Relationship": "Outer", "Parallel Aware": false, "Join Type": "Inner", "Startup Cost": 0.42, "Total Cost": 32692.3, "Plan Rows": 2672, "Plan Width": 4, "Actual Startup Time": 0.086, "Actual Total Time": 157.877, "Actual Rows": 5970, "Actual Loops": 1, "Output": ["partsupp.ps_suppkey"], "Inner Unique": false, "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Relation Name": "part", "Schema": "public", "Alias": "part", "Startup Cost": 0.0, "Total Cost": 6597.0, "Plan Rows": 2004, "Plan Width": 4, "Actual Startup Time": 0.023, "Actual Total Time": 31.571, "Actual Rows": 2186, "Actual Loops": 1, "Output": ["part.p_partkey", "part.p_name", "part.p_mfgr", "part.p_brand", "part.p_type", "part.p_size", "part.p_container", "part.p_retailprice", "part.p_comment"], "Filter": "((part.p_name)::text ~~ 'floral%'::text)", "Rows Removed by Filter": 197814}, {"Node Type": "Index Scan", "Parent Relationship": "Inner", "Parallel Aware": false, "Scan Direction": "Forward", "Index Name": "ps_pk", "Relation Name": "partsupp", "Schema": "public", "Alias": "partsupp", "Startup Cost": 0.42, "Total Cost": 13.01, "Plan Rows": 1, "Plan Width": 8, "Actual Startup Time": 0.022, "Actual Total Time": 0.057, "Actual Rows": 3, "Actual Loops": 2186, "Output": ["partsupp.ps_partkey", "partsupp.ps_suppkey", "partsupp.ps_availqty", "partsupp.ps_supplycost", "partsupp.ps_comment"], "Index Cond": "(partsupp.ps_partkey = part.p_partkey)", "Rows Removed by Index Recheck": 0, "Filter": "((partsupp.ps_availqty)::numeric > (SubPlan 1))", "Rows Removed by Filter": 1, "Plans": [{"Node Type": "Aggregate", "Strategy": "Plain", "Partial Mode": "Simple", "Parent Relationship": "SubPlan", "Subplan Name": "SubPlan 1", "Parallel Aware": false, "Startup Cost": 2.66, "Total Cost": 2.68, "Plan Rows": 1, "Plan Width": 32, "Actual Startup Time": 0.012, "Actual Total Time": 0.013, "Actual Rows": 1, "Actual Loops": 8744, "Output": ["(0.5 * sum(lineitem.l_quantity))"], "Plans": [{"Node Type": "Index Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Scan Direction": "Forward", "Index Name": "l_sk_pk", "Relation Name": "lineitem", "Schema": "public", "Alias": "lineitem", "Startup Cost": 0.43, "Total Cost": 2.66, "Plan Rows": 1, "Plan Width": 5, "Actual Startup Time": 0.008, "Actual Total Time": 0.012, "Actual Rows": 1, "Actual Loops": 8744, "Output": ["lineitem.l_orderkey", "lineitem.l_partkey", "lineitem.l_suppkey", "lineitem.l_linenumber", "lineitem.l_quantity", "lineitem.l_extendedprice", "lineitem.l_discount", "lineitem.l_tax", "lineitem.l_returnflag", "lineitem.l_linestatus", "lineitem.l_shipdate", "lineitem.l_commitdate", "lineitem.l_receiptdate", "lineitem.l_shipinstruct", "lineitem.l_shipmode", "lineitem.l_comment"], "Index Cond": "((lineitem.l_suppkey = partsupp.ps_suppkey) AND (lineitem.l_partkey = partsupp.ps_partkey))", "Rows Removed by Index Recheck": 0, "Filter": "((lineitem.l_shipdate >= '1996-01-01'::date) AND (lineitem.l_shipdate < '1997-01-01 00:00:00'::timestamp without time zone))", "Rows Removed by Filter": 6}]}]}]}]}]}]}, "Planning Time": 0.767, "Triggers": [], "Execution Time": 159.986} diff --git a/dev9/pg12/tpch/sf_1/explain_analyze/15721/21-1.ok b/dev9/pg12/tpch/sf_1/explain_analyze/15721/21-1.ok new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/dev9/pg12/tpch/sf_1/explain_analyze/15721/21-1.res b/dev9/pg12/tpch/sf_1/explain_analyze/15721/21-1.res new file mode 100644 index 0000000000000000000000000000000000000000..fd3a7f9eb85388bfade72a7622867a7f6d818a72 --- /dev/null +++ b/dev9/pg12/tpch/sf_1/explain_analyze/15721/21-1.res @@ -0,0 +1 @@ +{"Plan": {"Node Type": "Limit", "Parallel Aware": false, "Startup Cost": 53988.48, "Total Cost": 53988.49, "Plan Rows": 1, "Plan Width": 34, "Actual Startup Time": 592.684, "Actual Total Time": 618.29, "Actual Rows": 100, "Actual Loops": 1, "Output": ["supplier.s_name", "(count(*))"], "Plans": [{"Node Type": "Sort", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 53988.48, "Total Cost": 53988.49, "Plan Rows": 1, "Plan Width": 34, "Actual Startup Time": 592.683, "Actual Total Time": 618.28, "Actual Rows": 100, "Actual Loops": 1, "Output": ["supplier.s_name", "(count(*))"], "Sort Key": ["(count(*)) DESC", "supplier.s_name"], "Sort Method": "top-N heapsort", "Sort Space Used": 37, "Sort Space Type": "Memory", "Plans": [{"Node Type": "Aggregate", "Strategy": "Sorted", "Partial Mode": "Simple", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 53988.45, "Total Cost": 53988.47, "Plan Rows": 1, "Plan Width": 34, "Actual Startup Time": 591.272, "Actual Total Time": 617.762, "Actual Rows": 407, "Actual Loops": 1, "Output": ["supplier.s_name", "count(*)"], "Group Key": ["supplier.s_name"], "Plans": [{"Node Type": "Sort", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 53988.45, "Total Cost": 53988.46, "Plan Rows": 1, "Plan Width": 26, "Actual Startup Time": 591.261, "Actual Total Time": 617.079, "Actual Rows": 3965, "Actual Loops": 1, "Output": ["supplier.s_name"], "Sort Key": ["supplier.s_name"], "Sort Method": "quicksort", "Sort Space Used": 406, "Sort Space Type": "Memory", "Plans": [{"Node Type": "Nested Loop", "Parent Relationship": "Outer", "Parallel Aware": false, "Join Type": "Semi", "Startup Cost": 13499.29, "Total Cost": 53988.44, "Plan Rows": 1, "Plan Width": 26, "Actual Startup Time": 308.824, "Actual Total Time": 601.001, "Actual Rows": 3965, "Actual Loops": 1, "Output": ["supplier.s_name"], "Inner Unique": false, "Join Filter": "(orders.o_orderkey = l2.l_orderkey)", "Rows Removed by Join Filter": 0, "Plans": [{"Node Type": "Gather", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 13498.86, "Total Cost": 53987.82, "Plan Rows": 1, "Plan Width": 38, "Actual Startup Time": 308.623, "Actual Total Time": 579.478, "Actual Rows": 6626, "Actual Loops": 1, "Output": ["supplier.s_name", "l1.l_suppkey", "l1.l_orderkey", "orders.o_orderkey"], "Workers Planned": 3, "Workers Launched": 3, "Single Copy": false, "Plans": [{"Node Type": "Nested Loop", "Parent Relationship": "Outer", "Parallel Aware": false, "Join Type": "Anti", "Startup Cost": 12498.86, "Total Cost": 52987.72, "Plan Rows": 1, "Plan Width": 38, "Actual Startup Time": 358.223, "Actual Total Time": 564.93, "Actual Rows": 1656, "Actual Loops": 4, "Output": ["supplier.s_name", "l1.l_suppkey", "l1.l_orderkey", "orders.o_orderkey"], "Inner Unique": false, "Workers": [{"Worker Number": 0, "Actual Startup Time": 376.118, "Actual Total Time": 569.766, "Actual Rows": 1571, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 375.995, "Actual Total Time": 569.781, "Actual Rows": 1488, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 372.605, "Actual Total Time": 569.945, "Actual Rows": 1444, "Actual Loops": 1}], "Plans": [{"Node Type": "Hash Join", "Parent Relationship": "Outer", "Parallel Aware": false, "Join Type": "Inner", "Startup Cost": 12498.43, "Total Cost": 45648.3, "Plan Rows": 12534, "Plan Width": 38, "Actual Startup Time": 358.066, "Actual Total Time": 484.739, "Actual Rows": 18520, "Actual Loops": 4, "Output": ["supplier.s_name", "l1.l_suppkey", "l1.l_orderkey", "orders.o_orderkey"], "Inner Unique": false, "Hash Cond": "(orders.o_orderkey = l1.l_orderkey)", "Workers": [{"Worker Number": 0, "Actual Startup Time": 375.852, "Actual Total Time": 493.364, "Actual Rows": 16973, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 375.952, "Actual Total Time": 493.898, "Actual Rows": 16634, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 372.548, "Actual Total Time": 493.547, "Actual Rows": 16698, "Actual Loops": 1}], "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": true, "Relation Name": "orders", "Schema": "public", "Alias": "orders", "Startup Cost": 0.0, "Total Cost": 32143.39, "Plan Rows": 234971, "Plan Width": 4, "Actual Startup Time": 0.022, "Actual Total Time": 83.754, "Actual Rows": 182353, "Actual Loops": 4, "Output": ["orders.o_orderkey", "orders.o_custkey", "orders.o_orderstatus", "orders.o_totalprice", "orders.o_orderdate", "orders.o_orderpriority", "orders.o_clerk", "orders.o_shippriority", "orders.o_comment"], "Filter": "(orders.o_orderstatus = 'F'::bpchar)", "Rows Removed by Filter": 192647, "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.028, "Actual Total Time": 79.671, "Actual Rows": 165030, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 0.027, "Actual Total Time": 79.837, "Actual Rows": 164843, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 0.027, "Actual Total Time": 80.053, "Actual Rows": 165769, "Actual Loops": 1}]}, {"Node Type": "Hash", "Parent Relationship": "Inner", "Parallel Aware": false, "Startup Cost": 11498.23, "Total Cost": 11498.23, "Plan Rows": 80016, "Plan Width": 34, "Actual Startup Time": 357.386, "Actual Total Time": 357.389, "Actual Rows": 153758, "Actual Loops": 4, "Output": ["supplier.s_name", "l1.l_suppkey", "l1.l_orderkey"], "Hash Buckets": 262144, "Original Hash Buckets": 131072, "Hash Batches": 1, "Original Hash Batches": 1, "Peak Memory Usage": 12259, "Workers": [{"Worker Number": 0, "Actual Startup Time": 375.0, "Actual Total Time": 375.003, "Actual Rows": 153758, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 375.1, "Actual Total Time": 375.103, "Actual Rows": 153758, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 371.702, "Actual Total Time": 371.705, "Actual Rows": 153758, "Actual Loops": 1}], "Plans": [{"Node Type": "Nested Loop", "Parent Relationship": "Outer", "Parallel Aware": false, "Join Type": "Inner", "Startup Cost": 6.02, "Total Cost": 11498.23, "Plan Rows": 80016, "Plan Width": 34, "Actual Startup Time": 0.178, "Actual Total Time": 312.451, "Actual Rows": 153758, "Actual Loops": 4, "Output": ["supplier.s_name", "l1.l_suppkey", "l1.l_orderkey"], "Inner Unique": false, "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.211, "Actual Total Time": 328.833, "Actual Rows": 153758, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 0.209, "Actual Total Time": 328.638, "Actual Rows": 153758, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 0.203, "Actual Total Time": 324.721, "Actual Rows": 153758, "Actual Loops": 1}], "Plans": [{"Node Type": "Nested Loop", "Parent Relationship": "Outer", "Parallel Aware": false, "Join Type": "Inner", "Startup Cost": 5.58, "Total Cost": 227.43, "Plan Rows": 400, "Plan Width": 30, "Actual Startup Time": 0.118, "Actual Total Time": 0.698, "Actual Rows": 407, "Actual Loops": 4, "Output": ["supplier.s_name", "supplier.s_suppkey"], "Inner Unique": false, "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.133, "Actual Total Time": 0.753, "Actual Rows": 407, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 0.132, "Actual Total Time": 0.767, "Actual Rows": 407, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 0.131, "Actual Total Time": 0.747, "Actual Rows": 407, "Actual Loops": 1}], "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Relation Name": "nation", "Schema": "public", "Alias": "nation", "Startup Cost": 0.0, "Total Cost": 1.31, "Plan Rows": 1, "Plan Width": 4, "Actual Startup Time": 0.019, "Actual Total Time": 0.022, "Actual Rows": 1, "Actual Loops": 4, "Output": ["nation.n_nationkey", "nation.n_name", "nation.n_regionkey", "nation.n_comment"], "Filter": "(nation.n_name = 'CHINA'::bpchar)", "Rows Removed by Filter": 24, "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.023, "Actual Total Time": 0.026, "Actual Rows": 1, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 0.022, "Actual Total Time": 0.026, "Actual Rows": 1, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 0.023, "Actual Total Time": 0.027, "Actual Rows": 1, "Actual Loops": 1}]}, {"Node Type": "Bitmap Heap Scan", "Parent Relationship": "Inner", "Parallel Aware": false, "Relation Name": "supplier", "Schema": "public", "Alias": "supplier", "Startup Cost": 5.58, "Total Cost": 222.11, "Plan Rows": 400, "Plan Width": 34, "Actual Startup Time": 0.097, "Actual Total Time": 0.586, "Actual Rows": 407, "Actual Loops": 4, "Output": ["supplier.s_suppkey", "supplier.s_name", "supplier.s_address", "supplier.s_nationkey", "supplier.s_phone", "supplier.s_acctbal", "supplier.s_comment"], "Recheck Cond": "(supplier.s_nationkey = nation.n_nationkey)", "Rows Removed by Index Recheck": 0, "Exact Heap Blocks": 186, "Lossy Heap Blocks": 0, "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.108, "Actual Total Time": 0.638, "Actual Rows": 407, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 0.107, "Actual Total Time": 0.643, "Actual Rows": 407, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 0.105, "Actual Total Time": 0.625, "Actual Rows": 407, "Actual Loops": 1}], "Plans": [{"Node Type": "Bitmap Index Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Index Name": "s_nk", "Startup Cost": 0.0, "Total Cost": 5.49, "Plan Rows": 400, "Plan Width": 0, "Actual Startup Time": 0.061, "Actual Total Time": 0.061, "Actual Rows": 407, "Actual Loops": 4, "Index Cond": "(supplier.s_nationkey = nation.n_nationkey)", "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.071, "Actual Total Time": 0.071, "Actual Rows": 407, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 0.07, "Actual Total Time": 0.07, "Actual Rows": 407, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 0.068, "Actual Total Time": 0.069, "Actual Rows": 407, "Actual Loops": 1}]}]}]}, {"Node Type": "Index Scan", "Parent Relationship": "Inner", "Parallel Aware": false, "Scan Direction": "Forward", "Index Name": "l_sk_pk", "Relation Name": "lineitem", "Schema": "public", "Alias": "l1", "Startup Cost": 0.43, "Total Cost": 26.18, "Plan Rows": 200, "Plan Width": 8, "Actual Startup Time": 0.014, "Actual Total Time": 0.725, "Actual Rows": 378, "Actual Loops": 1628, "Output": ["l1.l_orderkey", "l1.l_partkey", "l1.l_suppkey", "l1.l_linenumber", "l1.l_quantity", "l1.l_extendedprice", "l1.l_discount", "l1.l_tax", "l1.l_returnflag", "l1.l_linestatus", "l1.l_shipdate", "l1.l_commitdate", "l1.l_receiptdate", "l1.l_shipinstruct", "l1.l_shipmode", "l1.l_comment"], "Index Cond": "(l1.l_suppkey = supplier.s_suppkey)", "Rows Removed by Index Recheck": 0, "Filter": "(l1.l_receiptdate > l1.l_commitdate)", "Rows Removed by Filter": 221, "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.015, "Actual Total Time": 0.765, "Actual Rows": 378, "Actual Loops": 407}, {"Worker Number": 1, "Actual Startup Time": 0.015, "Actual Total Time": 0.764, "Actual Rows": 378, "Actual Loops": 407}, {"Worker Number": 2, "Actual Startup Time": 0.015, "Actual Total Time": 0.754, "Actual Rows": 378, "Actual Loops": 407}]}]}]}]}, {"Node Type": "Index Scan", "Parent Relationship": "Inner", "Parallel Aware": false, "Scan Direction": "Forward", "Index Name": "lineitem_pkey", "Relation Name": "lineitem", "Schema": "public", "Alias": "l3", "Startup Cost": 0.43, "Total Cost": 0.62, "Plan Rows": 2, "Plan Width": 8, "Actual Startup Time": 0.004, "Actual Total Time": 0.004, "Actual Rows": 1, "Actual Loops": 74080, "Output": ["l3.l_orderkey", "l3.l_partkey", "l3.l_suppkey", "l3.l_linenumber", "l3.l_quantity", "l3.l_extendedprice", "l3.l_discount", "l3.l_tax", "l3.l_returnflag", "l3.l_linestatus", "l3.l_shipdate", "l3.l_commitdate", "l3.l_receiptdate", "l3.l_shipinstruct", "l3.l_shipmode", "l3.l_comment"], "Index Cond": "(l3.l_orderkey = l1.l_orderkey)", "Rows Removed by Index Recheck": 0, "Filter": "((l3.l_receiptdate > l3.l_commitdate) AND (l3.l_suppkey <> l1.l_suppkey))", "Rows Removed by Filter": 1, "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.004, "Actual Total Time": 0.004, "Actual Rows": 1, "Actual Loops": 16973}, {"Worker Number": 1, "Actual Startup Time": 0.004, "Actual Total Time": 0.004, "Actual Rows": 1, "Actual Loops": 16634}, {"Worker Number": 2, "Actual Startup Time": 0.004, "Actual Total Time": 0.004, "Actual Rows": 1, "Actual Loops": 16698}]}]}]}, {"Node Type": "Index Scan", "Parent Relationship": "Inner", "Parallel Aware": false, "Scan Direction": "Forward", "Index Name": "lineitem_pkey", "Relation Name": "lineitem", "Schema": "public", "Alias": "l2", "Startup Cost": 0.43, "Total Cost": 0.6, "Plan Rows": 5, "Plan Width": 8, "Actual Startup Time": 0.003, "Actual Total Time": 0.003, "Actual Rows": 1, "Actual Loops": 6626, "Output": ["l2.l_orderkey", "l2.l_partkey", "l2.l_suppkey", "l2.l_linenumber", "l2.l_quantity", "l2.l_extendedprice", "l2.l_discount", "l2.l_tax", "l2.l_returnflag", "l2.l_linestatus", "l2.l_shipdate", "l2.l_commitdate", "l2.l_receiptdate", "l2.l_shipinstruct", "l2.l_shipmode", "l2.l_comment"], "Index Cond": "(l2.l_orderkey = l1.l_orderkey)", "Rows Removed by Index Recheck": 0, "Filter": "(l2.l_suppkey <> l1.l_suppkey)", "Rows Removed by Filter": 1}]}]}]}]}]}, "Planning Time": 2.26, "Triggers": [], "Execution Time": 618.414} diff --git a/dev9/pg12/tpch/sf_1/explain_analyze/15721/22-1.ok b/dev9/pg12/tpch/sf_1/explain_analyze/15721/22-1.ok new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/dev9/pg12/tpch/sf_1/explain_analyze/15721/22-1.res b/dev9/pg12/tpch/sf_1/explain_analyze/15721/22-1.res new file mode 100644 index 0000000000000000000000000000000000000000..ef463783fb94a598c2a0079eb411d2743f4e7627 --- /dev/null +++ b/dev9/pg12/tpch/sf_1/explain_analyze/15721/22-1.res @@ -0,0 +1 @@ +{"Plan": {"Node Type": "Aggregate", "Strategy": "Sorted", "Partial Mode": "Finalize", "Parallel Aware": false, "Startup Cost": 12872.07, "Total Cost": 12961.46, "Plan Rows": 670, "Plan Width": 72, "Actual Startup Time": 95.343, "Actual Total Time": 100.004, "Actual Rows": 7, "Actual Loops": 1, "Output": ["(\"substring\"((customer.c_phone)::text, 1, 2))", "count(*)", "sum(customer.c_acctbal)"], "Group Key": ["(\"substring\"((customer.c_phone)::text, 1, 2))"], "Plans": [{"Node Type": "Aggregate", "Strategy": "Plain", "Partial Mode": "Finalize", "Parent Relationship": "InitPlan", "Subplan Name": "InitPlan 1 (returns $1)", "Parallel Aware": false, "Startup Cost": 6230.82, "Total Cost": 6230.83, "Plan Rows": 1, "Plan Width": 32, "Actual Startup Time": 42.385, "Actual Total Time": 42.444, "Actual Rows": 1, "Actual Loops": 1, "Output": ["avg(customer_1.c_acctbal)"], "Plans": [{"Node Type": "Gather", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 6230.6, "Total Cost": 6230.81, "Plan Rows": 2, "Plan Width": 32, "Actual Startup Time": 42.318, "Actual Total Time": 42.433, "Actual Rows": 3, "Actual Loops": 1, "Output": ["(PARTIAL avg(customer_1.c_acctbal))"], "Workers Planned": 2, "Workers Launched": 2, "Single Copy": false, "Plans": [{"Node Type": "Aggregate", "Strategy": "Plain", "Partial Mode": "Partial", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 5230.6, "Total Cost": 5230.61, "Plan Rows": 1, "Plan Width": 32, "Actual Startup Time": 39.72, "Actual Total Time": 39.721, "Actual Rows": 1, "Actual Loops": 3, "Output": ["PARTIAL avg(customer_1.c_acctbal)"], "Workers": [{"Worker Number": 0, "Actual Startup Time": 38.446, "Actual Total Time": 38.446, "Actual Rows": 1, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 38.647, "Actual Total Time": 38.648, "Actual Rows": 1, "Actual Loops": 1}], "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": true, "Relation Name": "customer", "Schema": "public", "Alias": "customer_1", "Startup Cost": 0.0, "Total Cost": 5225.62, "Plan Rows": 1988, "Plan Width": 6, "Actual Startup Time": 0.031, "Actual Total Time": 38.127, "Actual Rows": 12636, "Actual Loops": 3, "Output": ["customer_1.c_custkey", "customer_1.c_name", "customer_1.c_address", "customer_1.c_nationkey", "customer_1.c_phone", "customer_1.c_acctbal", "customer_1.c_mktsegment", "customer_1.c_comment"], "Filter": "((customer_1.c_acctbal > 0.00) AND (\"substring\"((customer_1.c_phone)::text, 1, 2) = ANY ('{17,20,25,31,30,11,33}'::text[])))", "Rows Removed by Filter": 37364, "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.037, "Actual Total Time": 36.943, "Actual Rows": 11690, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 0.047, "Actual Total Time": 37.154, "Actual Rows": 11630, "Actual Loops": 1}]}]}]}]}, {"Node Type": "Gather Merge", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 6641.24, "Total Cost": 6713.32, "Plan Rows": 558, "Plan Width": 72, "Actual Startup Time": 95.247, "Actual Total Time": 99.918, "Actual Rows": 21, "Actual Loops": 1, "Output": ["(\"substring\"((customer.c_phone)::text, 1, 2))", "(PARTIAL count(*))", "(PARTIAL sum(customer.c_acctbal))"], "Workers Planned": 2, "Params Evaluated": ["$1"], "Workers Launched": 2, "Plans": [{"Node Type": "Aggregate", "Strategy": "Sorted", "Partial Mode": "Partial", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 5641.22, "Total Cost": 5648.89, "Plan Rows": 279, "Plan Width": 72, "Actual Startup Time": 49.595, "Actual Total Time": 50.085, "Actual Rows": 7, "Actual Loops": 3, "Output": ["(\"substring\"((customer.c_phone)::text, 1, 2))", "PARTIAL count(*)", "PARTIAL sum(customer.c_acctbal)"], "Group Key": ["(\"substring\"((customer.c_phone)::text, 1, 2))"], "Workers": [{"Worker Number": 0, "Actual Startup Time": 48.19, "Actual Total Time": 48.645, "Actual Rows": 7, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 48.404, "Actual Total Time": 48.846, "Actual Rows": 7, "Actual Loops": 1}], "Plans": [{"Node Type": "Sort", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 5641.22, "Total Cost": 5641.92, "Plan Rows": 279, "Plan Width": 38, "Actual Startup Time": 49.505, "Actual Total Time": 49.622, "Actual Rows": 2112, "Actual Loops": 3, "Output": ["(\"substring\"((customer.c_phone)::text, 1, 2))", "customer.c_acctbal"], "Sort Key": ["(\"substring\"((customer.c_phone)::text, 1, 2))"], "Sort Method": "quicksort", "Sort Space Used": 210, "Sort Space Type": "Memory", "Workers": [{"Worker Number": 0, "Actual Startup Time": 48.108, "Actual Total Time": 48.215, "Actual Rows": 1975, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 48.32, "Actual Total Time": 48.425, "Actual Rows": 1934, "Actual Loops": 1}], "Plans": [{"Node Type": "Nested Loop", "Parent Relationship": "Outer", "Parallel Aware": false, "Join Type": "Anti", "Startup Cost": 0.43, "Total Cost": 5629.89, "Plan Rows": 279, "Plan Width": 38, "Actual Startup Time": 0.084, "Actual Total Time": 48.672, "Actual Rows": 2112, "Actual Loops": 3, "Output": ["\"substring\"((customer.c_phone)::text, 1, 2)", "customer.c_acctbal"], "Inner Unique": false, "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.11, "Actual Total Time": 47.31, "Actual Rows": 1975, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 0.121, "Actual Total Time": 47.537, "Actual Rows": 1934, "Actual Loops": 1}], "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": true, "Relation Name": "customer", "Schema": "public", "Alias": "customer", "Startup Cost": 0.0, "Total Cost": 5225.62, "Plan Rows": 729, "Plan Width": 26, "Actual Startup Time": 0.022, "Actual Total Time": 27.874, "Actual Rows": 6294, "Actual Loops": 3, "Output": ["customer.c_custkey", "customer.c_name", "customer.c_address", "customer.c_nationkey", "customer.c_phone", "customer.c_acctbal", "customer.c_mktsegment", "customer.c_comment"], "Filter": "((customer.c_acctbal > $1) AND (\"substring\"((customer.c_phone)::text, 1, 2) = ANY ('{17,20,25,31,30,11,33}'::text[])))", "Rows Removed by Filter": 43706, "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.03, "Actual Total Time": 26.459, "Actual Rows": 5787, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 0.027, "Actual Total Time": 26.839, "Actual Rows": 5744, "Actual Loops": 1}]}, {"Node Type": "Index Only Scan", "Parent Relationship": "Inner", "Parallel Aware": false, "Scan Direction": "Forward", "Index Name": "o_ck", "Relation Name": "orders", "Schema": "public", "Alias": "orders", "Startup Cost": 0.43, "Total Cost": 1.62, "Plan Rows": 16, "Plan Width": 4, "Actual Startup Time": 0.003, "Actual Total Time": 0.003, "Actual Rows": 1, "Actual Loops": 18883, "Output": ["orders.o_custkey"], "Index Cond": "(orders.o_custkey = customer.c_custkey)", "Rows Removed by Index Recheck": 0, "Heap Fetches": 0, "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.003, "Actual Total Time": 0.003, "Actual Rows": 1, "Actual Loops": 5787}, {"Worker Number": 1, "Actual Startup Time": 0.003, "Actual Total Time": 0.003, "Actual Rows": 1, "Actual Loops": 5744}]}]}]}]}]}]}, "Planning Time": 0.407, "Triggers": [], "Execution Time": 100.065} diff --git a/dev9/pg12/tpch/sf_1/explain_analyze/15721/3-1.ok b/dev9/pg12/tpch/sf_1/explain_analyze/15721/3-1.ok new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/dev9/pg12/tpch/sf_1/explain_analyze/15721/3-1.res b/dev9/pg12/tpch/sf_1/explain_analyze/15721/3-1.res new file mode 100644 index 0000000000000000000000000000000000000000..df7a98415d27c36665f741a88f7f5132e986ebf6 --- /dev/null +++ b/dev9/pg12/tpch/sf_1/explain_analyze/15721/3-1.res @@ -0,0 +1 @@ +{"Plan": {"Node Type": "Limit", "Parallel Aware": false, "Startup Cost": 134679.13, "Total Cost": 134679.16, "Plan Rows": 10, "Plan Width": 44, "Actual Startup Time": 903.053, "Actual Total Time": 957.712, "Actual Rows": 10, "Actual Loops": 1, "Output": ["lineitem.l_orderkey", "(sum((lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount))))", "orders.o_orderdate", "orders.o_shippriority"], "Plans": [{"Node Type": "Sort", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 134679.13, "Total Cost": 135463.35, "Plan Rows": 313685, "Plan Width": 44, "Actual Startup Time": 903.052, "Actual Total Time": 957.709, "Actual Rows": 10, "Actual Loops": 1, "Output": ["lineitem.l_orderkey", "(sum((lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount))))", "orders.o_orderdate", "orders.o_shippriority"], "Sort Key": ["(sum((lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount)))) DESC", "orders.o_orderdate"], "Sort Method": "top-N heapsort", "Sort Space Used": 26, "Sort Space Type": "Memory", "Plans": [{"Node Type": "Aggregate", "Strategy": "Sorted", "Partial Mode": "Finalize", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 86618.33, "Total Cost": 127900.51, "Plan Rows": 313685, "Plan Width": 44, "Actual Startup Time": 878.126, "Actual Total Time": 955.009, "Actual Rows": 11439, "Actual Loops": 1, "Output": ["lineitem.l_orderkey", "sum((lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount)))", "orders.o_orderdate", "orders.o_shippriority"], "Group Key": ["lineitem.l_orderkey", "orders.o_orderdate", "orders.o_shippriority"], "Plans": [{"Node Type": "Gather Merge", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 86618.33, "Total Cost": 120711.9, "Plan Rows": 261404, "Plan Width": 44, "Actual Startup Time": 878.116, "Actual Total Time": 945.071, "Actual Rows": 11439, "Actual Loops": 1, "Output": ["lineitem.l_orderkey", "orders.o_orderdate", "orders.o_shippriority", "(PARTIAL sum((lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount))))"], "Workers Planned": 2, "Workers Launched": 2, "Plans": [{"Node Type": "Aggregate", "Strategy": "Sorted", "Partial Mode": "Partial", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 85618.31, "Total Cost": 89539.37, "Plan Rows": 130702, "Plan Width": 44, "Actual Startup Time": 875.031, "Actual Total Time": 884.169, "Actual Rows": 3813, "Actual Loops": 3, "Output": ["lineitem.l_orderkey", "orders.o_orderdate", "orders.o_shippriority", "PARTIAL sum((lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount)))"], "Group Key": ["lineitem.l_orderkey", "orders.o_orderdate", "orders.o_shippriority"], "Workers": [{"Worker Number": 0, "Actual Startup Time": 873.537, "Actual Total Time": 882.24, "Actual Rows": 3705, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 873.781, "Actual Total Time": 882.416, "Actual Rows": 3653, "Actual Loops": 1}], "Plans": [{"Node Type": "Sort", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 85618.31, "Total Cost": 85945.07, "Plan Rows": 130702, "Plan Width": 24, "Actual Startup Time": 875.008, "Actual Total Time": 875.909, "Actual Rows": 10095, "Actual Loops": 3, "Output": ["lineitem.l_orderkey", "orders.o_orderdate", "orders.o_shippriority", "lineitem.l_extendedprice", "lineitem.l_discount"], "Sort Key": ["lineitem.l_orderkey", "orders.o_orderdate", "orders.o_shippriority"], "Sort Method": "quicksort", "Sort Space Used": 1227, "Sort Space Type": "Memory", "Workers": [{"Worker Number": 0, "Actual Startup Time": 873.51, "Actual Total Time": 874.308, "Actual Rows": 9866, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 873.756, "Actual Total Time": 874.574, "Actual Rows": 9634, "Actual Loops": 1}], "Plans": [{"Node Type": "Nested Loop", "Parent Relationship": "Outer", "Parallel Aware": false, "Join Type": "Inner", "Startup Cost": 0.86, "Total Cost": 74511.31, "Plan Rows": 130702, "Plan Width": 24, "Actual Startup Time": 2.103, "Actual Total Time": 869.647, "Actual Rows": 10095, "Actual Loops": 3, "Output": ["lineitem.l_orderkey", "orders.o_orderdate", "orders.o_shippriority", "lineitem.l_extendedprice", "lineitem.l_discount"], "Inner Unique": false, "Workers": [{"Worker Number": 0, "Actual Startup Time": 1.478, "Actual Total Time": 868.121, "Actual Rows": 9866, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 3.486, "Actual Total Time": 868.568, "Actual Rows": 9634, "Actual Loops": 1}], "Plans": [{"Node Type": "Nested Loop", "Parent Relationship": "Outer", "Parallel Aware": false, "Join Type": "Inner", "Startup Cost": 0.43, "Total Cost": 28548.58, "Plan Rows": 60718, "Plan Width": 12, "Actual Startup Time": 0.093, "Actual Total Time": 154.626, "Actual Rows": 48593, "Actual Loops": 3, "Output": ["orders.o_orderdate", "orders.o_shippriority", "orders.o_orderkey"], "Inner Unique": false, "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.137, "Actual Total Time": 157.251, "Actual Rows": 47090, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 0.114, "Actual Total Time": 157.222, "Actual Rows": 47168, "Actual Loops": 1}], "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": true, "Relation Name": "customer", "Schema": "public", "Alias": "customer", "Startup Cost": 0.0, "Total Cost": 4366.25, "Plan Rows": 12487, "Plan Width": 4, "Actual Startup Time": 0.021, "Actual Total Time": 15.525, "Actual Rows": 9989, "Actual Loops": 3, "Output": ["customer.c_custkey", "customer.c_name", "customer.c_address", "customer.c_nationkey", "customer.c_phone", "customer.c_acctbal", "customer.c_mktsegment", "customer.c_comment"], "Filter": "(customer.c_mktsegment = 'FURNITURE'::bpchar)", "Rows Removed by Filter": 40011, "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.026, "Actual Total Time": 15.658, "Actual Rows": 9628, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 0.03, "Actual Total Time": 15.724, "Actual Rows": 9639, "Actual Loops": 1}]}, {"Node Type": "Index Scan", "Parent Relationship": "Inner", "Parallel Aware": false, "Scan Direction": "Forward", "Index Name": "o_ck", "Relation Name": "orders", "Schema": "public", "Alias": "orders", "Startup Cost": 0.43, "Total Cost": 1.86, "Plan Rows": 8, "Plan Width": 16, "Actual Startup Time": 0.004, "Actual Total Time": 0.013, "Actual Rows": 5, "Actual Loops": 29968, "Output": ["orders.o_orderkey", "orders.o_custkey", "orders.o_orderstatus", "orders.o_totalprice", "orders.o_orderdate", "orders.o_orderpriority", "orders.o_clerk", "orders.o_shippriority", "orders.o_comment"], "Index Cond": "(orders.o_custkey = customer.c_custkey)", "Rows Removed by Index Recheck": 0, "Filter": "(orders.o_orderdate < '1995-03-20'::date)", "Rows Removed by Filter": 5, "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.004, "Actual Total Time": 0.013, "Actual Rows": 5, "Actual Loops": 9628}, {"Worker Number": 1, "Actual Startup Time": 0.004, "Actual Total Time": 0.013, "Actual Rows": 5, "Actual Loops": 9639}]}]}, {"Node Type": "Index Scan", "Parent Relationship": "Inner", "Parallel Aware": false, "Scan Direction": "Forward", "Index Name": "lineitem_pkey", "Relation Name": "lineitem", "Schema": "public", "Alias": "lineitem", "Startup Cost": 0.43, "Total Cost": 0.73, "Plan Rows": 3, "Plan Width": 16, "Actual Startup Time": 0.014, "Actual Total Time": 0.014, "Actual Rows": 0, "Actual Loops": 145780, "Output": ["lineitem.l_orderkey", "lineitem.l_partkey", "lineitem.l_suppkey", "lineitem.l_linenumber", "lineitem.l_quantity", "lineitem.l_extendedprice", "lineitem.l_discount", "lineitem.l_tax", "lineitem.l_returnflag", "lineitem.l_linestatus", "lineitem.l_shipdate", "lineitem.l_commitdate", "lineitem.l_receiptdate", "lineitem.l_shipinstruct", "lineitem.l_shipmode", "lineitem.l_comment"], "Index Cond": "(lineitem.l_orderkey = orders.o_orderkey)", "Rows Removed by Index Recheck": 0, "Filter": "(lineitem.l_shipdate > '1995-03-20'::date)", "Rows Removed by Filter": 4, "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.015, "Actual Total Time": 0.015, "Actual Rows": 0, "Actual Loops": 47090}, {"Worker Number": 1, "Actual Startup Time": 0.015, "Actual Total Time": 0.015, "Actual Rows": 0, "Actual Loops": 47168}]}]}]}]}]}]}]}]}, "Planning Time": 0.777, "Triggers": [], "Execution Time": 957.77} diff --git a/dev9/pg12/tpch/sf_1/explain_analyze/15721/4-1.ok b/dev9/pg12/tpch/sf_1/explain_analyze/15721/4-1.ok new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/dev9/pg12/tpch/sf_1/explain_analyze/15721/4-1.res b/dev9/pg12/tpch/sf_1/explain_analyze/15721/4-1.res new file mode 100644 index 0000000000000000000000000000000000000000..3f2ea404f6a32aab1f6de63d1117fdffd2c45af6 --- /dev/null +++ b/dev9/pg12/tpch/sf_1/explain_analyze/15721/4-1.res @@ -0,0 +1 @@ +{"Plan": {"Node Type": "Aggregate", "Strategy": "Sorted", "Partial Mode": "Finalize", "Parallel Aware": false, "Startup Cost": 53180.42, "Total Cost": 53182.32, "Plan Rows": 5, "Plan Width": 24, "Actual Startup Time": 128.69, "Actual Total Time": 163.179, "Actual Rows": 5, "Actual Loops": 1, "Output": ["orders.o_orderpriority", "count(*)"], "Group Key": ["orders.o_orderpriority"], "Plans": [{"Node Type": "Gather Merge", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 53180.42, "Total Cost": 53182.2, "Plan Rows": 15, "Plan Width": 24, "Actual Startup Time": 128.681, "Actual Total Time": 163.167, "Actual Rows": 20, "Actual Loops": 1, "Output": ["orders.o_orderpriority", "(PARTIAL count(*))"], "Workers Planned": 3, "Workers Launched": 3, "Plans": [{"Node Type": "Sort", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 52180.38, "Total Cost": 52180.39, "Plan Rows": 5, "Plan Width": 24, "Actual Startup Time": 125.255, "Actual Total Time": 125.257, "Actual Rows": 5, "Actual Loops": 4, "Output": ["orders.o_orderpriority", "(PARTIAL count(*))"], "Sort Key": ["orders.o_orderpriority"], "Sort Method": "quicksort", "Sort Space Used": 25, "Sort Space Type": "Memory", "Workers": [{"Worker Number": 0, "Actual Startup Time": 124.158, "Actual Total Time": 124.16, "Actual Rows": 5, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 124.148, "Actual Total Time": 124.15, "Actual Rows": 5, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 124.416, "Actual Total Time": 124.418, "Actual Rows": 5, "Actual Loops": 1}], "Plans": [{"Node Type": "Aggregate", "Strategy": "Hashed", "Partial Mode": "Partial", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 52180.27, "Total Cost": 52180.32, "Plan Rows": 5, "Plan Width": 24, "Actual Startup Time": 125.225, "Actual Total Time": 125.227, "Actual Rows": 5, "Actual Loops": 4, "Output": ["orders.o_orderpriority", "PARTIAL count(*)"], "Group Key": ["orders.o_orderpriority"], "Workers": [{"Worker Number": 0, "Actual Startup Time": 124.121, "Actual Total Time": 124.124, "Actual Rows": 5, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 124.11, "Actual Total Time": 124.113, "Actual Rows": 5, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 124.38, "Actual Total Time": 124.383, "Actual Rows": 5, "Actual Loops": 1}], "Plans": [{"Node Type": "Nested Loop", "Parent Relationship": "Outer", "Parallel Aware": false, "Join Type": "Semi", "Startup Cost": 760.56, "Total Cost": 52106.12, "Plan Rows": 14830, "Plan Width": 16, "Actual Startup Time": 13.749, "Actual Total Time": 120.394, "Actual Rows": 12952, "Actual Loops": 4, "Output": ["orders.o_orderpriority"], "Inner Unique": false, "Workers": [{"Worker Number": 0, "Actual Startup Time": 12.909, "Actual Total Time": 119.671, "Actual Rows": 10924, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 12.891, "Actual Total Time": 119.756, "Actual Rows": 10922, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 13.151, "Actual Total Time": 120.061, "Actual Rows": 10860, "Actual Loops": 1}], "Plans": [{"Node Type": "Bitmap Heap Scan", "Parent Relationship": "Outer", "Parallel Aware": true, "Relation Name": "orders", "Schema": "public", "Alias": "orders", "Startup Cost": 760.13, "Total Cost": 27131.71, "Plan Rows": 18439, "Plan Width": 20, "Actual Startup Time": 13.676, "Actual Total Time": 36.527, "Actual Rows": 14142, "Actual Loops": 4, "Output": ["orders.o_orderkey", "orders.o_custkey", "orders.o_orderstatus", "orders.o_totalprice", "orders.o_orderdate", "orders.o_orderpriority", "orders.o_clerk", "orders.o_shippriority", "orders.o_comment"], "Recheck Cond": "((orders.o_orderdate >= '1996-01-01'::date) AND (orders.o_orderdate < '1996-04-01 00:00:00'::timestamp without time zone))", "Rows Removed by Index Recheck": 0, "Exact Heap Blocks": 8574, "Lossy Heap Blocks": 0, "Workers": [{"Worker Number": 0, "Actual Startup Time": 12.813, "Actual Total Time": 36.26, "Actual Rows": 11934, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 12.809, "Actual Total Time": 36.52, "Actual Rows": 11893, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 13.055, "Actual Total Time": 36.455, "Actual Rows": 11870, "Actual Loops": 1}], "Plans": [{"Node Type": "Bitmap Index Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Index Name": "o_od", "Startup Cost": 0.0, "Total Cost": 745.84, "Plan Rows": 57161, "Plan Width": 0, "Actual Startup Time": 9.877, "Actual Total Time": 9.878, "Actual Rows": 56568, "Actual Loops": 1, "Index Cond": "((orders.o_orderdate >= '1996-01-01'::date) AND (orders.o_orderdate < '1996-04-01 00:00:00'::timestamp without time zone))"}]}, {"Node Type": "Index Scan", "Parent Relationship": "Inner", "Parallel Aware": false, "Scan Direction": "Forward", "Index Name": "l_ok", "Relation Name": "lineitem", "Schema": "public", "Alias": "lineitem", "Startup Cost": 0.43, "Total Cost": 1.73, "Plan Rows": 2, "Plan Width": 4, "Actual Startup Time": 0.006, "Actual Total Time": 0.006, "Actual Rows": 1, "Actual Loops": 56568, "Output": ["lineitem.l_orderkey", "lineitem.l_partkey", "lineitem.l_suppkey", "lineitem.l_linenumber", "lineitem.l_quantity", "lineitem.l_extendedprice", "lineitem.l_discount", "lineitem.l_tax", "lineitem.l_returnflag", "lineitem.l_linestatus", "lineitem.l_shipdate", "lineitem.l_commitdate", "lineitem.l_receiptdate", "lineitem.l_shipinstruct", "lineitem.l_shipmode", "lineitem.l_comment"], "Index Cond": "(lineitem.l_orderkey = orders.o_orderkey)", "Rows Removed by Index Recheck": 0, "Filter": "(lineitem.l_commitdate < lineitem.l_receiptdate)", "Rows Removed by Filter": 1, "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.007, "Actual Total Time": 0.007, "Actual Rows": 1, "Actual Loops": 11934}, {"Worker Number": 1, "Actual Startup Time": 0.007, "Actual Total Time": 0.007, "Actual Rows": 1, "Actual Loops": 11893}, {"Worker Number": 2, "Actual Startup Time": 0.007, "Actual Total Time": 0.007, "Actual Rows": 1, "Actual Loops": 11870}]}]}]}]}]}]}, "Planning Time": 0.402, "Triggers": [], "Execution Time": 163.237} diff --git a/dev9/pg12/tpch/sf_1/explain_analyze/15721/5-1.ok b/dev9/pg12/tpch/sf_1/explain_analyze/15721/5-1.ok new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/dev9/pg12/tpch/sf_1/explain_analyze/15721/5-1.res b/dev9/pg12/tpch/sf_1/explain_analyze/15721/5-1.res new file mode 100644 index 0000000000000000000000000000000000000000..c88d62c9a1f0c0432ee1b2fe620c110055854fe0 --- /dev/null +++ b/dev9/pg12/tpch/sf_1/explain_analyze/15721/5-1.res @@ -0,0 +1 @@ +{"Plan": {"Node Type": "Sort", "Parallel Aware": false, "Startup Cost": 42239.9, "Total Cost": 42239.96, "Plan Rows": 25, "Plan Width": 58, "Actual Startup Time": 283.443, "Actual Total Time": 320.956, "Actual Rows": 5, "Actual Loops": 1, "Output": ["nation.n_name", "(sum((lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount))))"], "Sort Key": ["(sum((lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount)))) DESC"], "Sort Method": "quicksort", "Sort Space Used": 25, "Sort Space Type": "Memory", "Plans": [{"Node Type": "Aggregate", "Strategy": "Sorted", "Partial Mode": "Finalize", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 42194.33, "Total Cost": 42239.32, "Plan Rows": 25, "Plan Width": 58, "Actual Startup Time": 282.199, "Actual Total Time": 320.948, "Actual Rows": 5, "Actual Loops": 1, "Output": ["nation.n_name", "sum((lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount)))"], "Group Key": ["nation.n_name"], "Plans": [{"Node Type": "Gather Merge", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 42194.33, "Total Cost": 42238.63, "Plan Rows": 50, "Plan Width": 58, "Actual Startup Time": 281.853, "Actual Total Time": 320.926, "Actual Rows": 15, "Actual Loops": 1, "Output": ["nation.n_name", "(PARTIAL sum((lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount))))"], "Workers Planned": 2, "Workers Launched": 2, "Plans": [{"Node Type": "Aggregate", "Strategy": "Sorted", "Partial Mode": "Partial", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 41194.31, "Total Cost": 41232.83, "Plan Rows": 25, "Plan Width": 58, "Actual Startup Time": 278.654, "Actual Total Time": 279.827, "Actual Rows": 5, "Actual Loops": 3, "Output": ["nation.n_name", "PARTIAL sum((lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount)))"], "Group Key": ["nation.n_name"], "Workers": [{"Worker Number": 0, "Actual Startup Time": 277.098, "Actual Total Time": 278.191, "Actual Rows": 5, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 277.457, "Actual Total Time": 278.489, "Actual Rows": 5, "Actual Loops": 1}], "Plans": [{"Node Type": "Sort", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 41194.31, "Total Cost": 41201.95, "Plan Rows": 3057, "Plan Width": 38, "Actual Startup Time": 278.355, "Actual Total Time": 278.508, "Actual Rows": 2456, "Actual Loops": 3, "Output": ["nation.n_name", "lineitem.l_extendedprice", "lineitem.l_discount"], "Sort Key": ["nation.n_name"], "Sort Method": "quicksort", "Sort Space Used": 322, "Sort Space Type": "Memory", "Workers": [{"Worker Number": 0, "Actual Startup Time": 276.817, "Actual Total Time": 276.96, "Actual Rows": 2300, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 277.183, "Actual Total Time": 277.32, "Actual Rows": 2186, "Actual Loops": 1}], "Plans": [{"Node Type": "Hash Join", "Parent Relationship": "Outer", "Parallel Aware": false, "Join Type": "Inner", "Startup Cost": 475.37, "Total Cost": 41017.34, "Plan Rows": 3057, "Plan Width": 38, "Actual Startup Time": 5.186, "Actual Total Time": 277.205, "Actual Rows": 2456, "Actual Loops": 3, "Output": ["nation.n_name", "lineitem.l_extendedprice", "lineitem.l_discount"], "Inner Unique": true, "Hash Cond": "((lineitem.l_suppkey = supplier.s_suppkey) AND (customer.c_nationkey = supplier.s_nationkey))", "Workers": [{"Worker Number": 0, "Actual Startup Time": 5.675, "Actual Total Time": 275.71, "Actual Rows": 2300, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 6.189, "Actual Total Time": 276.041, "Actual Rows": 2186, "Actual Loops": 1}], "Plans": [{"Node Type": "Nested Loop", "Parent Relationship": "Outer", "Parallel Aware": false, "Join Type": "Inner", "Startup Cost": 3.37, "Total Cost": 40144.13, "Plan Rows": 76421, "Plan Width": 50, "Actual Startup Time": 0.321, "Actual Total Time": 261.722, "Actual Rows": 60955, "Actual Loops": 3, "Output": ["customer.c_nationkey", "lineitem.l_extendedprice", "lineitem.l_discount", "lineitem.l_suppkey", "nation.n_name", "nation.n_nationkey"], "Inner Unique": false, "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.463, "Actual Total Time": 260.784, "Actual Rows": 55412, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 0.434, "Actual Total Time": 261.099, "Actual Rows": 55036, "Actual Loops": 1}], "Plans": [{"Node Type": "Nested Loop", "Parent Relationship": "Outer", "Parallel Aware": false, "Join Type": "Inner", "Startup Cost": 2.94, "Total Cost": 17435.43, "Plan Rows": 19101, "Plan Width": 38, "Actual Startup Time": 0.272, "Actual Total Time": 138.991, "Actual Rows": 15210, "Actual Loops": 3, "Output": ["customer.c_nationkey", "orders.o_orderkey", "nation.n_name", "nation.n_nationkey"], "Inner Unique": false, "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.397, "Actual Total Time": 132.189, "Actual Rows": 13839, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 0.366, "Actual Total Time": 133.434, "Actual Rows": 13589, "Actual Loops": 1}], "Plans": [{"Node Type": "Hash Join", "Parent Relationship": "Outer", "Parallel Aware": false, "Join Type": "Inner", "Startup Cost": 2.51, "Total Cost": 4571.88, "Plan Rows": 12500, "Plan Width": 38, "Actual Startup Time": 0.124, "Actual Total Time": 18.916, "Actual Rows": 9984, "Actual Loops": 3, "Output": ["customer.c_custkey", "customer.c_nationkey", "nation.n_name", "nation.n_nationkey"], "Inner Unique": false, "Hash Cond": "(customer.c_nationkey = nation.n_nationkey)", "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.169, "Actual Total Time": 17.716, "Actual Rows": 8919, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 0.165, "Actual Total Time": 17.918, "Actual Rows": 9057, "Actual Loops": 1}], "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": true, "Relation Name": "customer", "Schema": "public", "Alias": "customer", "Startup Cost": 0.0, "Total Cost": 4210.0, "Plan Rows": 62500, "Plan Width": 8, "Actual Startup Time": 0.014, "Actual Total Time": 5.926, "Actual Rows": 50000, "Actual Loops": 3, "Output": ["customer.c_custkey", "customer.c_name", "customer.c_address", "customer.c_nationkey", "customer.c_phone", "customer.c_acctbal", "customer.c_mktsegment", "customer.c_comment"], "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.019, "Actual Total Time": 5.894, "Actual Rows": 44802, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 0.02, "Actual Total Time": 5.869, "Actual Rows": 45083, "Actual Loops": 1}]}, {"Node Type": "Hash", "Parent Relationship": "Inner", "Parallel Aware": false, "Startup Cost": 2.45, "Total Cost": 2.45, "Plan Rows": 5, "Plan Width": 30, "Actual Startup Time": 0.062, "Actual Total Time": 0.064, "Actual Rows": 5, "Actual Loops": 3, "Output": ["nation.n_name", "nation.n_nationkey"], "Hash Buckets": 1024, "Original Hash Buckets": 1024, "Hash Batches": 1, "Original Hash Batches": 1, "Peak Memory Usage": 9, "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.077, "Actual Total Time": 0.079, "Actual Rows": 5, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 0.083, "Actual Total Time": 0.085, "Actual Rows": 5, "Actual Loops": 1}], "Plans": [{"Node Type": "Hash Join", "Parent Relationship": "Outer", "Parallel Aware": false, "Join Type": "Inner", "Startup Cost": 1.07, "Total Cost": 2.45, "Plan Rows": 5, "Plan Width": 30, "Actual Startup Time": 0.05, "Actual Total Time": 0.06, "Actual Rows": 5, "Actual Loops": 3, "Output": ["nation.n_name", "nation.n_nationkey"], "Inner Unique": true, "Hash Cond": "(nation.n_regionkey = region.r_regionkey)", "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.064, "Actual Total Time": 0.073, "Actual Rows": 5, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 0.07, "Actual Total Time": 0.079, "Actual Rows": 5, "Actual Loops": 1}], "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Relation Name": "nation", "Schema": "public", "Alias": "nation", "Startup Cost": 0.0, "Total Cost": 1.25, "Plan Rows": 25, "Plan Width": 34, "Actual Startup Time": 0.012, "Actual Total Time": 0.015, "Actual Rows": 25, "Actual Loops": 3, "Output": ["nation.n_nationkey", "nation.n_name", "nation.n_regionkey", "nation.n_comment"], "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.018, "Actual Total Time": 0.02, "Actual Rows": 25, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 0.016, "Actual Total Time": 0.019, "Actual Rows": 25, "Actual Loops": 1}]}, {"Node Type": "Hash", "Parent Relationship": "Inner", "Parallel Aware": false, "Startup Cost": 1.06, "Total Cost": 1.06, "Plan Rows": 1, "Plan Width": 4, "Actual Startup Time": 0.021, "Actual Total Time": 0.021, "Actual Rows": 1, "Actual Loops": 3, "Output": ["region.r_regionkey"], "Hash Buckets": 1024, "Original Hash Buckets": 1024, "Hash Batches": 1, "Original Hash Batches": 1, "Peak Memory Usage": 9, "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.027, "Actual Total Time": 0.028, "Actual Rows": 1, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 0.026, "Actual Total Time": 0.027, "Actual Rows": 1, "Actual Loops": 1}], "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Relation Name": "region", "Schema": "public", "Alias": "region", "Startup Cost": 0.0, "Total Cost": 1.06, "Plan Rows": 1, "Plan Width": 4, "Actual Startup Time": 0.015, "Actual Total Time": 0.016, "Actual Rows": 1, "Actual Loops": 3, "Output": ["region.r_regionkey"], "Filter": "(region.r_name = 'AMERICA'::bpchar)", "Rows Removed by Filter": 4, "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.02, "Actual Total Time": 0.021, "Actual Rows": 1, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 0.02, "Actual Total Time": 0.021, "Actual Rows": 1, "Actual Loops": 1}]}]}]}]}]}, {"Node Type": "Index Scan", "Parent Relationship": "Inner", "Parallel Aware": false, "Scan Direction": "Forward", "Index Name": "o_ck", "Relation Name": "orders", "Schema": "public", "Alias": "orders", "Startup Cost": 0.43, "Total Cost": 1.01, "Plan Rows": 2, "Plan Width": 8, "Actual Startup Time": 0.006, "Actual Total Time": 0.012, "Actual Rows": 2, "Actual Loops": 29952, "Output": ["orders.o_orderkey", "orders.o_custkey", "orders.o_orderstatus", "orders.o_totalprice", "orders.o_orderdate", "orders.o_orderpriority", "orders.o_clerk", "orders.o_shippriority", "orders.o_comment"], "Index Cond": "(orders.o_custkey = customer.c_custkey)", "Rows Removed by Index Recheck": 0, "Filter": "((orders.o_orderdate >= '1995-01-01'::date) AND (orders.o_orderdate < '1996-01-01 00:00:00'::timestamp without time zone))", "Rows Removed by Filter": 8, "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.006, "Actual Total Time": 0.012, "Actual Rows": 2, "Actual Loops": 8919}, {"Worker Number": 1, "Actual Startup Time": 0.006, "Actual Total Time": 0.012, "Actual Rows": 2, "Actual Loops": 9057}]}]}, {"Node Type": "Index Scan", "Parent Relationship": "Inner", "Parallel Aware": false, "Scan Direction": "Forward", "Index Name": "lineitem_pkey", "Relation Name": "lineitem", "Schema": "public", "Alias": "lineitem", "Startup Cost": 0.43, "Total Cost": 1.14, "Plan Rows": 5, "Plan Width": 20, "Actual Startup Time": 0.006, "Actual Total Time": 0.007, "Actual Rows": 4, "Actual Loops": 45630, "Output": ["lineitem.l_orderkey", "lineitem.l_partkey", "lineitem.l_suppkey", "lineitem.l_linenumber", "lineitem.l_quantity", "lineitem.l_extendedprice", "lineitem.l_discount", "lineitem.l_tax", "lineitem.l_returnflag", "lineitem.l_linestatus", "lineitem.l_shipdate", "lineitem.l_commitdate", "lineitem.l_receiptdate", "lineitem.l_shipinstruct", "lineitem.l_shipmode", "lineitem.l_comment"], "Index Cond": "(lineitem.l_orderkey = orders.o_orderkey)", "Rows Removed by Index Recheck": 0, "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.007, "Actual Total Time": 0.008, "Actual Rows": 4, "Actual Loops": 13839}, {"Worker Number": 1, "Actual Startup Time": 0.007, "Actual Total Time": 0.008, "Actual Rows": 4, "Actual Loops": 13589}]}]}, {"Node Type": "Hash", "Parent Relationship": "Inner", "Parallel Aware": false, "Startup Cost": 322.0, "Total Cost": 322.0, "Plan Rows": 10000, "Plan Width": 8, "Actual Startup Time": 4.17, "Actual Total Time": 4.17, "Actual Rows": 10000, "Actual Loops": 3, "Output": ["supplier.s_suppkey", "supplier.s_nationkey"], "Hash Buckets": 16384, "Original Hash Buckets": 16384, "Hash Batches": 1, "Original Hash Batches": 1, "Peak Memory Usage": 519, "Workers": [{"Worker Number": 0, "Actual Startup Time": 4.466, "Actual Total Time": 4.466, "Actual Rows": 10000, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 4.459, "Actual Total Time": 4.46, "Actual Rows": 10000, "Actual Loops": 1}], "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Relation Name": "supplier", "Schema": "public", "Alias": "supplier", "Startup Cost": 0.0, "Total Cost": 322.0, "Plan Rows": 10000, "Plan Width": 8, "Actual Startup Time": 0.011, "Actual Total Time": 2.418, "Actual Rows": 10000, "Actual Loops": 3, "Output": ["supplier.s_suppkey", "supplier.s_nationkey"], "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.015, "Actual Total Time": 2.631, "Actual Rows": 10000, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 0.014, "Actual Total Time": 2.631, "Actual Rows": 10000, "Actual Loops": 1}]}]}]}]}]}]}]}]}, "Planning Time": 2.261, "Triggers": [], "Execution Time": 321.035} diff --git a/dev9/pg12/tpch/sf_1/explain_analyze/15721/6-1.ok b/dev9/pg12/tpch/sf_1/explain_analyze/15721/6-1.ok new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/dev9/pg12/tpch/sf_1/explain_analyze/15721/6-1.res b/dev9/pg12/tpch/sf_1/explain_analyze/15721/6-1.res new file mode 100644 index 0000000000000000000000000000000000000000..3464136acd1b68c5a352be57b5307fa8a115bc48 --- /dev/null +++ b/dev9/pg12/tpch/sf_1/explain_analyze/15721/6-1.res @@ -0,0 +1 @@ +{"Plan": {"Node Type": "Aggregate", "Strategy": "Plain", "Partial Mode": "Finalize", "Parallel Aware": false, "Startup Cost": 129735.84, "Total Cost": 129735.85, "Plan Rows": 1, "Plan Width": 32, "Actual Startup Time": 322.158, "Actual Total Time": 350.084, "Actual Rows": 1, "Actual Loops": 1, "Output": ["sum((l_extendedprice * l_discount))"], "Plans": [{"Node Type": "Gather", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 129735.3, "Total Cost": 129735.81, "Plan Rows": 5, "Plan Width": 32, "Actual Startup Time": 319.486, "Actual Total Time": 350.072, "Actual Rows": 6, "Actual Loops": 1, "Output": ["(PARTIAL sum((l_extendedprice * l_discount)))"], "Workers Planned": 5, "Workers Launched": 5, "Single Copy": false, "Plans": [{"Node Type": "Aggregate", "Strategy": "Plain", "Partial Mode": "Partial", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 128735.3, "Total Cost": 128735.31, "Plan Rows": 1, "Plan Width": 32, "Actual Startup Time": 315.802, "Actual Total Time": 315.803, "Actual Rows": 1, "Actual Loops": 6, "Output": ["PARTIAL sum((l_extendedprice * l_discount))"], "Workers": [{"Worker Number": 0, "Actual Startup Time": 315.013, "Actual Total Time": 315.014, "Actual Rows": 1, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 315.098, "Actual Total Time": 315.099, "Actual Rows": 1, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 315.115, "Actual Total Time": 315.116, "Actual Rows": 1, "Actual Loops": 1}, {"Worker Number": 3, "Actual Startup Time": 315.101, "Actual Total Time": 315.102, "Actual Rows": 1, "Actual Loops": 1}, {"Worker Number": 4, "Actual Startup Time": 315.38, "Actual Total Time": 315.381, "Actual Rows": 1, "Actual Loops": 1}], "Plans": [{"Node Type": "Bitmap Heap Scan", "Parent Relationship": "Outer", "Parallel Aware": true, "Relation Name": "lineitem", "Schema": "public", "Alias": "lineitem", "Startup Cost": 11984.97, "Total Cost": 128619.6, "Plan Rows": 23139, "Plan Width": 12, "Actual Startup Time": 161.081, "Actual Total Time": 309.717, "Actual Rows": 19184, "Actual Loops": 6, "Output": ["l_orderkey", "l_partkey", "l_suppkey", "l_linenumber", "l_quantity", "l_extendedprice", "l_discount", "l_tax", "l_returnflag", "l_linestatus", "l_shipdate", "l_commitdate", "l_receiptdate", "l_shipinstruct", "l_shipmode", "l_comment"], "Recheck Cond": "((lineitem.l_shipdate >= '1995-01-01'::date) AND (lineitem.l_shipdate < '1996-01-01 00:00:00'::timestamp without time zone))", "Rows Removed by Index Recheck": 0, "Filter": "((lineitem.l_discount >= 0.04) AND (lineitem.l_discount <= 0.06) AND (lineitem.l_quantity < '24'::numeric))", "Rows Removed by Filter": 133310, "Exact Heap Blocks": 26435, "Lossy Heap Blocks": 0, "Workers": [{"Worker Number": 0, "Actual Startup Time": 160.909, "Actual Total Time": 309.443, "Actual Rows": 17188, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 160.982, "Actual Total Time": 309.507, "Actual Rows": 17144, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 160.994, "Actual Total Time": 309.462, "Actual Rows": 17403, "Actual Loops": 1}, {"Worker Number": 3, "Actual Startup Time": 161.015, "Actual Total Time": 309.493, "Actual Rows": 17275, "Actual Loops": 1}, {"Worker Number": 4, "Actual Startup Time": 161.325, "Actual Total Time": 309.832, "Actual Rows": 17140, "Actual Loops": 1}], "Plans": [{"Node Type": "Bitmap Index Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Index Name": "l_sd", "Startup Cost": 0.0, "Total Cost": 11956.04, "Plan Rows": 918141, "Plan Width": 0, "Actual Startup Time": 126.218, "Actual Total Time": 126.218, "Actual Rows": 914963, "Actual Loops": 1, "Index Cond": "((lineitem.l_shipdate >= '1995-01-01'::date) AND (lineitem.l_shipdate < '1996-01-01 00:00:00'::timestamp without time zone))"}]}]}]}]}, "Planning Time": 0.148, "Triggers": [], "Execution Time": 350.12} diff --git a/dev9/pg12/tpch/sf_1/explain_analyze/15721/7-1.ok b/dev9/pg12/tpch/sf_1/explain_analyze/15721/7-1.ok new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/dev9/pg12/tpch/sf_1/explain_analyze/15721/7-1.res b/dev9/pg12/tpch/sf_1/explain_analyze/15721/7-1.res new file mode 100644 index 0000000000000000000000000000000000000000..f0f05acaa6c9f8bc08bbfec87a574acaf6baa103 --- /dev/null +++ b/dev9/pg12/tpch/sf_1/explain_analyze/15721/7-1.res @@ -0,0 +1 @@ +{"Plan": {"Node Type": "Aggregate", "Strategy": "Sorted", "Partial Mode": "Finalize", "Parallel Aware": false, "Startup Cost": 36970.43, "Total Cost": 37812.86, "Plan Rows": 6074, "Plan Width": 92, "Actual Startup Time": 690.817, "Actual Total Time": 736.338, "Actual Rows": 4, "Actual Loops": 1, "Output": ["n1.n_name", "n2.n_name", "(date_part('year'::text, (lineitem.l_shipdate)::timestamp without time zone))", "sum((lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount)))"], "Group Key": ["n1.n_name", "n2.n_name", "(date_part('year'::text, (lineitem.l_shipdate)::timestamp without time zone))"], "Plans": [{"Node Type": "Gather Merge", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 36970.43, "Total Cost": 37643.29, "Plan Rows": 5062, "Plan Width": 92, "Actual Startup Time": 689.965, "Actual Total Time": 736.318, "Actual Rows": 12, "Actual Loops": 1, "Output": ["n1.n_name", "n2.n_name", "(date_part('year'::text, (lineitem.l_shipdate)::timestamp without time zone))", "(PARTIAL sum((lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount))))"], "Workers Planned": 2, "Workers Launched": 2, "Plans": [{"Node Type": "Aggregate", "Strategy": "Sorted", "Partial Mode": "Partial", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 35970.41, "Total Cost": 36058.99, "Plan Rows": 2531, "Plan Width": 92, "Actual Startup Time": 685.398, "Actual Total Time": 686.441, "Actual Rows": 4, "Actual Loops": 3, "Output": ["n1.n_name", "n2.n_name", "(date_part('year'::text, (lineitem.l_shipdate)::timestamp without time zone))", "PARTIAL sum((lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount)))"], "Group Key": ["n1.n_name", "n2.n_name", "(date_part('year'::text, (lineitem.l_shipdate)::timestamp without time zone))"], "Workers": [{"Worker Number": 0, "Actual Startup Time": 683.265, "Actual Total Time": 683.571, "Actual Rows": 4, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 683.476, "Actual Total Time": 683.811, "Actual Rows": 4, "Actual Loops": 1}], "Plans": [{"Node Type": "Sort", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 35970.41, "Total Cost": 35976.73, "Plan Rows": 2531, "Plan Width": 72, "Actual Startup Time": 685.042, "Actual Total Time": 685.176, "Actual Rows": 1875, "Actual Loops": 3, "Output": ["n1.n_name", "n2.n_name", "(date_part('year'::text, (lineitem.l_shipdate)::timestamp without time zone))", "lineitem.l_extendedprice", "lineitem.l_discount"], "Sort Key": ["n1.n_name", "n2.n_name", "(date_part('year'::text, (lineitem.l_shipdate)::timestamp without time zone))"], "Sort Method": "quicksort", "Sort Space Used": 816, "Sort Space Type": "Memory", "Workers": [{"Worker Number": 0, "Actual Startup Time": 683.134, "Actual Total Time": 683.172, "Actual Rows": 573, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 683.345, "Actual Total Time": 683.386, "Actual Rows": 616, "Actual Loops": 1}], "Plans": [{"Node Type": "Hash Join", "Parent Relationship": "Outer", "Parallel Aware": false, "Join Type": "Inner", "Startup Cost": 25683.01, "Total Cost": 35827.33, "Plan Rows": 2531, "Plan Width": 72, "Actual Startup Time": 601.68, "Actual Total Time": 683.894, "Actual Rows": 1875, "Actual Loops": 3, "Output": ["n1.n_name", "n2.n_name", "date_part('year'::text, (lineitem.l_shipdate)::timestamp without time zone)", "lineitem.l_extendedprice", "lineitem.l_discount"], "Inner Unique": false, "Hash Cond": "(orders.o_orderkey = lineitem.l_orderkey)", "Join Filter": "(((n1.n_name = 'IRAN'::bpchar) AND (n2.n_name = 'ETHIOPIA'::bpchar)) OR ((n1.n_name = 'ETHIOPIA'::bpchar) AND (n2.n_name = 'IRAN'::bpchar)))", "Rows Removed by Join Filter": 1861, "Workers": [{"Worker Number": 0, "Actual Startup Time": 646.953, "Actual Total Time": 682.708, "Actual Rows": 573, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 646.84, "Actual Total Time": 682.892, "Actual Rows": 616, "Actual Loops": 1}], "Plans": [{"Node Type": "Nested Loop", "Parent Relationship": "Outer", "Parallel Aware": false, "Join Type": "Inner", "Startup Cost": 1.83, "Total Cost": 9848.69, "Plan Rows": 50000, "Plan Width": 30, "Actual Startup Time": 0.133, "Actual Total Time": 70.731, "Actual Rows": 39794, "Actual Loops": 3, "Output": ["orders.o_orderkey", "n2.n_name"], "Inner Unique": false, "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.186, "Actual Total Time": 32.322, "Actual Rows": 12246, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 0.175, "Actual Total Time": 32.339, "Actual Rows": 12233, "Actual Loops": 1}], "Plans": [{"Node Type": "Hash Join", "Parent Relationship": "Outer", "Parallel Aware": false, "Join Type": "Inner", "Startup Cost": 1.4, "Total Cost": 4403.27, "Plan Rows": 5000, "Plan Width": 30, "Actual Startup Time": 0.085, "Actual Total Time": 15.483, "Actual Rows": 3987, "Actual Loops": 3, "Output": ["customer.c_custkey", "n2.n_name"], "Inner Unique": true, "Hash Cond": "(customer.c_nationkey = n2.n_nationkey)", "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.117, "Actual Total Time": 5.35, "Actual Rows": 1193, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 0.111, "Actual Total Time": 5.559, "Actual Rows": 1231, "Actual Loops": 1}], "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": true, "Relation Name": "customer", "Schema": "public", "Alias": "customer", "Startup Cost": 0.0, "Total Cost": 4210.0, "Plan Rows": 62500, "Plan Width": 8, "Actual Startup Time": 0.014, "Actual Total Time": 5.092, "Actual Rows": 50000, "Actual Loops": 3, "Output": ["customer.c_custkey", "customer.c_name", "customer.c_address", "customer.c_nationkey", "customer.c_phone", "customer.c_acctbal", "customer.c_mktsegment", "customer.c_comment"], "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.019, "Actual Total Time": 2.014, "Actual Rows": 14856, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 0.019, "Actual Total Time": 2.019, "Actual Rows": 15603, "Actual Loops": 1}]}, {"Node Type": "Hash", "Parent Relationship": "Inner", "Parallel Aware": false, "Startup Cost": 1.38, "Total Cost": 1.38, "Plan Rows": 2, "Plan Width": 30, "Actual Startup Time": 0.025, "Actual Total Time": 0.026, "Actual Rows": 2, "Actual Loops": 3, "Output": ["n2.n_name", "n2.n_nationkey"], "Hash Buckets": 1024, "Original Hash Buckets": 1024, "Hash Batches": 1, "Original Hash Batches": 1, "Peak Memory Usage": 9, "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.03, "Actual Total Time": 0.031, "Actual Rows": 2, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 0.029, "Actual Total Time": 0.03, "Actual Rows": 2, "Actual Loops": 1}], "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Relation Name": "nation", "Schema": "public", "Alias": "n2", "Startup Cost": 0.0, "Total Cost": 1.38, "Plan Rows": 2, "Plan Width": 30, "Actual Startup Time": 0.016, "Actual Total Time": 0.021, "Actual Rows": 2, "Actual Loops": 3, "Output": ["n2.n_name", "n2.n_nationkey"], "Filter": "((n2.n_name = 'ETHIOPIA'::bpchar) OR (n2.n_name = 'IRAN'::bpchar))", "Rows Removed by Filter": 23, "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.02, "Actual Total Time": 0.026, "Actual Rows": 2, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 0.02, "Actual Total Time": 0.025, "Actual Rows": 2, "Actual Loops": 1}]}]}]}, {"Node Type": "Index Scan", "Parent Relationship": "Inner", "Parallel Aware": false, "Scan Direction": "Forward", "Index Name": "o_ck", "Relation Name": "orders", "Schema": "public", "Alias": "orders", "Startup Cost": 0.43, "Total Cost": 0.93, "Plan Rows": 16, "Plan Width": 8, "Actual Startup Time": 0.003, "Actual Total Time": 0.012, "Actual Rows": 10, "Actual Loops": 11961, "Output": ["orders.o_orderkey", "orders.o_custkey", "orders.o_orderstatus", "orders.o_totalprice", "orders.o_orderdate", "orders.o_orderpriority", "orders.o_clerk", "orders.o_shippriority", "orders.o_comment"], "Index Cond": "(orders.o_custkey = customer.c_custkey)", "Rows Removed by Index Recheck": 0, "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.005, "Actual Total Time": 0.021, "Actual Rows": 10, "Actual Loops": 1193}, {"Worker Number": 1, "Actual Startup Time": 0.004, "Actual Total Time": 0.02, "Actual Rows": 10, "Actual Loops": 1231}]}]}, {"Node Type": "Hash", "Parent Relationship": "Inner", "Parallel Aware": false, "Startup Cost": 23856.65, "Total Cost": 23856.65, "Plan Rows": 145963, "Plan Width": 46, "Actual Startup Time": 600.452, "Actual Total Time": 600.454, "Actual Rows": 140959, "Actual Loops": 3, "Output": ["lineitem.l_shipdate", "lineitem.l_extendedprice", "lineitem.l_discount", "lineitem.l_orderkey", "n1.n_name"], "Hash Buckets": 262144, "Original Hash Buckets": 262144, "Hash Batches": 1, "Original Hash Batches": 1, "Peak Memory Usage": 13200, "Workers": [{"Worker Number": 0, "Actual Startup Time": 645.133, "Actual Total Time": 645.135, "Actual Rows": 140959, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 645.34, "Actual Total Time": 645.342, "Actual Rows": 140959, "Actual Loops": 1}], "Plans": [{"Node Type": "Nested Loop", "Parent Relationship": "Outer", "Parallel Aware": false, "Join Type": "Inner", "Startup Cost": 6.02, "Total Cost": 23856.65, "Plan Rows": 145963, "Plan Width": 46, "Actual Startup Time": 0.151, "Actual Total Time": 554.874, "Actual Rows": 140959, "Actual Loops": 3, "Output": ["lineitem.l_shipdate", "lineitem.l_extendedprice", "lineitem.l_discount", "lineitem.l_orderkey", "n1.n_name"], "Inner Unique": false, "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.197, "Actual Total Time": 597.127, "Actual Rows": 140959, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 0.174, "Actual Total Time": 597.51, "Actual Rows": 140959, "Actual Loops": 1}], "Plans": [{"Node Type": "Nested Loop", "Parent Relationship": "Outer", "Parallel Aware": false, "Join Type": "Inner", "Startup Cost": 5.58, "Total Cost": 259.05, "Plan Rows": 800, "Plan Width": 30, "Actual Startup Time": 0.1, "Actual Total Time": 1.194, "Actual Rows": 773, "Actual Loops": 3, "Output": ["supplier.s_suppkey", "n1.n_name"], "Inner Unique": false, "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.121, "Actual Total Time": 1.297, "Actual Rows": 773, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 0.109, "Actual Total Time": 1.281, "Actual Rows": 773, "Actual Loops": 1}], "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Relation Name": "nation", "Schema": "public", "Alias": "n1", "Startup Cost": 0.0, "Total Cost": 1.38, "Plan Rows": 2, "Plan Width": 30, "Actual Startup Time": 0.004, "Actual Total Time": 0.013, "Actual Rows": 2, "Actual Loops": 3, "Output": ["n1.n_nationkey", "n1.n_name", "n1.n_regionkey", "n1.n_comment"], "Filter": "((n1.n_name = 'IRAN'::bpchar) OR (n1.n_name = 'ETHIOPIA'::bpchar))", "Rows Removed by Filter": 23, "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.004, "Actual Total Time": 0.013, "Actual Rows": 2, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 0.004, "Actual Total Time": 0.013, "Actual Rows": 2, "Actual Loops": 1}]}, {"Node Type": "Bitmap Heap Scan", "Parent Relationship": "Inner", "Parallel Aware": false, "Relation Name": "supplier", "Schema": "public", "Alias": "supplier", "Startup Cost": 5.58, "Total Cost": 124.84, "Plan Rows": 400, "Plan Width": 8, "Actual Startup Time": 0.076, "Actual Total Time": 0.508, "Actual Rows": 386, "Actual Loops": 6, "Output": ["supplier.s_suppkey", "supplier.s_name", "supplier.s_address", "supplier.s_nationkey", "supplier.s_phone", "supplier.s_acctbal", "supplier.s_comment"], "Recheck Cond": "(supplier.s_nationkey = n1.n_nationkey)", "Rows Removed by Index Recheck": 0, "Exact Heap Blocks": 371, "Lossy Heap Blocks": 0, "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.086, "Actual Total Time": 0.555, "Actual Rows": 386, "Actual Loops": 2}, {"Worker Number": 1, "Actual Startup Time": 0.08, "Actual Total Time": 0.546, "Actual Rows": 386, "Actual Loops": 2}], "Plans": [{"Node Type": "Bitmap Index Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Index Name": "s_nk", "Startup Cost": 0.0, "Total Cost": 5.49, "Plan Rows": 400, "Plan Width": 0, "Actual Startup Time": 0.047, "Actual Total Time": 0.047, "Actual Rows": 386, "Actual Loops": 6, "Index Cond": "(supplier.s_nationkey = n1.n_nationkey)", "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.055, "Actual Total Time": 0.055, "Actual Rows": 386, "Actual Loops": 2}, {"Worker Number": 1, "Actual Startup Time": 0.05, "Actual Total Time": 0.05, "Actual Rows": 386, "Actual Loops": 2}]}]}]}, {"Node Type": "Index Scan", "Parent Relationship": "Inner", "Parallel Aware": false, "Scan Direction": "Forward", "Index Name": "l_sk_pk", "Relation Name": "lineitem", "Schema": "public", "Alias": "lineitem", "Startup Cost": 0.43, "Total Cost": 27.68, "Plan Rows": 182, "Plan Width": 24, "Actual Startup Time": 0.016, "Actual Total Time": 0.695, "Actual Rows": 182, "Actual Loops": 2319, "Output": ["lineitem.l_orderkey", "lineitem.l_partkey", "lineitem.l_suppkey", "lineitem.l_linenumber", "lineitem.l_quantity", "lineitem.l_extendedprice", "lineitem.l_discount", "lineitem.l_tax", "lineitem.l_returnflag", "lineitem.l_linestatus", "lineitem.l_shipdate", "lineitem.l_commitdate", "lineitem.l_receiptdate", "lineitem.l_shipinstruct", "lineitem.l_shipmode", "lineitem.l_comment"], "Index Cond": "(lineitem.l_suppkey = supplier.s_suppkey)", "Rows Removed by Index Recheck": 0, "Filter": "((lineitem.l_shipdate >= '1995-01-01'::date) AND (lineitem.l_shipdate <= '1996-12-31'::date))", "Rows Removed by Filter": 417, "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.018, "Actual Total Time": 0.749, "Actual Rows": 182, "Actual Loops": 773}, {"Worker Number": 1, "Actual Startup Time": 0.018, "Actual Total Time": 0.75, "Actual Rows": 182, "Actual Loops": 773}]}]}]}]}]}]}]}]}, "Planning Time": 1.711, "Triggers": [], "Execution Time": 736.498} diff --git a/dev9/pg12/tpch/sf_1/explain_analyze/15721/8-1.ok b/dev9/pg12/tpch/sf_1/explain_analyze/15721/8-1.ok new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/dev9/pg12/tpch/sf_1/explain_analyze/15721/8-1.res b/dev9/pg12/tpch/sf_1/explain_analyze/15721/8-1.res new file mode 100644 index 0000000000000000000000000000000000000000..db8f231d6a9177193a16b7469532fa227e08997b --- /dev/null +++ b/dev9/pg12/tpch/sf_1/explain_analyze/15721/8-1.res @@ -0,0 +1 @@ +{"Plan": {"Node Type": "Aggregate", "Strategy": "Sorted", "Partial Mode": "Finalize", "Parallel Aware": false, "Startup Cost": 34168.72, "Total Cost": 34536.12, "Plan Rows": 2406, "Plan Width": 40, "Actual Startup Time": 150.049, "Actual Total Time": 179.792, "Actual Rows": 2, "Actual Loops": 1, "Output": ["(date_part('year'::text, (orders.o_orderdate)::timestamp without time zone))", "(sum(CASE WHEN (n2.n_name = 'ETHIOPIA'::bpchar) THEN (lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount)) ELSE '0'::numeric END) / sum((lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount))))"], "Group Key": ["(date_part('year'::text, (orders.o_orderdate)::timestamp without time zone))"], "Plans": [{"Node Type": "Gather Merge", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 34168.72, "Total Cost": 34455.73, "Plan Rows": 2100, "Plan Width": 72, "Actual Startup Time": 149.653, "Actual Total Time": 179.772, "Actual Rows": 6, "Actual Loops": 1, "Output": ["(date_part('year'::text, (orders.o_orderdate)::timestamp without time zone))", "(PARTIAL sum(CASE WHEN (n2.n_name = 'ETHIOPIA'::bpchar) THEN (lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount)) ELSE '0'::numeric END))", "(PARTIAL sum((lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount))))"], "Workers Planned": 2, "Workers Launched": 2, "Plans": [{"Node Type": "Aggregate", "Strategy": "Sorted", "Partial Mode": "Partial", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 33168.69, "Total Cost": 33213.32, "Plan Rows": 1050, "Plan Width": 72, "Actual Startup Time": 146.172, "Actual Total Time": 146.445, "Actual Rows": 2, "Actual Loops": 3, "Output": ["(date_part('year'::text, (orders.o_orderdate)::timestamp without time zone))", "PARTIAL sum(CASE WHEN (n2.n_name = 'ETHIOPIA'::bpchar) THEN (lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount)) ELSE '0'::numeric END)", "PARTIAL sum((lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount)))"], "Group Key": ["(date_part('year'::text, (orders.o_orderdate)::timestamp without time zone))"], "Workers": [{"Worker Number": 0, "Actual Startup Time": 144.686, "Actual Total Time": 144.902, "Actual Rows": 2, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 144.763, "Actual Total Time": 144.981, "Actual Rows": 2, "Actual Loops": 1}], "Plans": [{"Node Type": "Sort", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 33168.69, "Total Cost": 33171.32, "Plan Rows": 1050, "Plan Width": 46, "Actual Startup Time": 145.888, "Actual Total Time": 145.944, "Actual Rows": 809, "Actual Loops": 3, "Output": ["(date_part('year'::text, (orders.o_orderdate)::timestamp without time zone))", "n2.n_name", "lineitem.l_extendedprice", "lineitem.l_discount"], "Sort Key": ["(date_part('year'::text, (orders.o_orderdate)::timestamp without time zone))"], "Sort Method": "quicksort", "Sort Space Used": 136, "Sort Space Type": "Memory", "Workers": [{"Worker Number": 0, "Actual Startup Time": 144.452, "Actual Total Time": 144.497, "Actual Rows": 643, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 144.522, "Actual Total Time": 144.568, "Actual Rows": 662, "Actual Loops": 1}], "Plans": [{"Node Type": "Hash Join", "Parent Relationship": "Outer", "Parallel Aware": false, "Join Type": "Inner", "Startup Cost": 2060.37, "Total Cost": 33116.0, "Plan Rows": 1050, "Plan Width": 46, "Actual Startup Time": 26.3, "Actual Total Time": 145.608, "Actual Rows": 809, "Actual Loops": 3, "Output": ["date_part('year'::text, (orders.o_orderdate)::timestamp without time zone)", "n2.n_name", "lineitem.l_extendedprice", "lineitem.l_discount"], "Inner Unique": true, "Hash Cond": "(supplier.s_nationkey = n2.n_nationkey)", "Workers": [{"Worker Number": 0, "Actual Startup Time": 27.4, "Actual Total Time": 144.202, "Actual Rows": 643, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 27.664, "Actual Total Time": 144.269, "Actual Rows": 662, "Actual Loops": 1}], "Plans": [{"Node Type": "Nested Loop", "Parent Relationship": "Outer", "Parallel Aware": false, "Join Type": "Inner", "Startup Cost": 2058.81, "Total Cost": 33105.97, "Plan Rows": 1050, "Plan Width": 20, "Actual Startup Time": 26.222, "Actual Total Time": 145.121, "Actual Rows": 809, "Actual Loops": 3, "Output": ["lineitem.l_extendedprice", "lineitem.l_discount", "supplier.s_nationkey", "orders.o_orderdate"], "Inner Unique": true, "Workers": [{"Worker Number": 0, "Actual Startup Time": 27.295, "Actual Total Time": 143.766, "Actual Rows": 643, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 27.563, "Actual Total Time": 143.823, "Actual Rows": 662, "Actual Loops": 1}], "Plans": [{"Node Type": "Hash Join", "Parent Relationship": "Outer", "Parallel Aware": false, "Join Type": "Inner", "Startup Cost": 2058.52, "Total Cost": 32788.29, "Plan Rows": 1050, "Plan Width": 20, "Actual Startup Time": 26.2, "Actual Total Time": 142.782, "Actual Rows": 809, "Actual Loops": 3, "Output": ["lineitem.l_extendedprice", "lineitem.l_discount", "lineitem.l_suppkey", "orders.o_orderdate"], "Inner Unique": false, "Hash Cond": "(orders.o_custkey = customer.c_custkey)", "Workers": [{"Worker Number": 0, "Actual Startup Time": 27.266, "Actual Total Time": 141.791, "Actual Rows": 643, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 27.534, "Actual Total Time": 141.811, "Actual Rows": 662, "Actual Loops": 1}], "Plans": [{"Node Type": "Nested Loop", "Parent Relationship": "Outer", "Parallel Aware": false, "Join Type": "Inner", "Startup Cost": 0.86, "Total Cost": 30700.43, "Plan Rows": 5252, "Plan Width": 24, "Actual Startup Time": 0.148, "Actual Total Time": 115.75, "Actual Rows": 4114, "Actual Loops": 3, "Output": ["lineitem.l_extendedprice", "lineitem.l_discount", "lineitem.l_suppkey", "orders.o_orderdate", "orders.o_custkey"], "Inner Unique": true, "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.173, "Actual Total Time": 113.671, "Actual Rows": 3268, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 0.18, "Actual Total Time": 114.141, "Actual Rows": 3262, "Actual Loops": 1}], "Plans": [{"Node Type": "Nested Loop", "Parent Relationship": "Outer", "Parallel Aware": false, "Join Type": "Inner", "Startup Cost": 0.43, "Total Cost": 22880.68, "Plan Rows": 17166, "Plan Width": 20, "Actual Startup Time": 0.081, "Actual Total Time": 51.95, "Actual Rows": 13553, "Actual Loops": 3, "Output": ["lineitem.l_extendedprice", "lineitem.l_discount", "lineitem.l_suppkey", "lineitem.l_orderkey"], "Inner Unique": false, "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.104, "Actual Total Time": 55.803, "Actual Rows": 10730, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 0.115, "Actual Total Time": 56.708, "Actual Rows": 10568, "Actual Loops": 1}], "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": true, "Relation Name": "part", "Schema": "public", "Alias": "part", "Startup Cost": 0.0, "Total Cost": 5138.67, "Plan Rows": 572, "Plan Width": 4, "Actual Startup Time": 0.021, "Actual Total Time": 12.939, "Actual Rows": 451, "Actual Loops": 3, "Output": ["part.p_partkey", "part.p_name", "part.p_mfgr", "part.p_brand", "part.p_type", "part.p_size", "part.p_container", "part.p_retailprice", "part.p_comment"], "Filter": "((part.p_type)::text = 'SMALL BRUSHED NICKEL'::text)", "Rows Removed by Filter": 66216, "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.018, "Actual Total Time": 10.294, "Actual Rows": 357, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 0.034, "Actual Total Time": 11.576, "Actual Rows": 351, "Actual Loops": 1}]}, {"Node Type": "Index Scan", "Parent Relationship": "Inner", "Parallel Aware": false, "Scan Direction": "Forward", "Index Name": "l_pk", "Relation Name": "lineitem", "Schema": "public", "Alias": "lineitem", "Startup Cost": 0.43, "Total Cost": 30.71, "Plan Rows": 31, "Plan Width": 24, "Actual Startup Time": 0.009, "Actual Total Time": 0.08, "Actual Rows": 30, "Actual Loops": 1352, "Output": ["lineitem.l_orderkey", "lineitem.l_partkey", "lineitem.l_suppkey", "lineitem.l_linenumber", "lineitem.l_quantity", "lineitem.l_extendedprice", "lineitem.l_discount", "lineitem.l_tax", "lineitem.l_returnflag", "lineitem.l_linestatus", "lineitem.l_shipdate", "lineitem.l_commitdate", "lineitem.l_receiptdate", "lineitem.l_shipinstruct", "lineitem.l_shipmode", "lineitem.l_comment"], "Index Cond": "(lineitem.l_partkey = part.p_partkey)", "Rows Removed by Index Recheck": 0, "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.013, "Actual Total Time": 0.12, "Actual Rows": 30, "Actual Loops": 357}, {"Worker Number": 1, "Actual Startup Time": 0.013, "Actual Total Time": 0.121, "Actual Rows": 30, "Actual Loops": 351}]}]}, {"Node Type": "Index Scan", "Parent Relationship": "Inner", "Parallel Aware": false, "Scan Direction": "Forward", "Index Name": "o_ok", "Relation Name": "orders", "Schema": "public", "Alias": "orders", "Startup Cost": 0.43, "Total Cost": 0.46, "Plan Rows": 1, "Plan Width": 12, "Actual Startup Time": 0.004, "Actual Total Time": 0.004, "Actual Rows": 0, "Actual Loops": 40658, "Output": ["orders.o_orderkey", "orders.o_custkey", "orders.o_orderstatus", "orders.o_totalprice", "orders.o_orderdate", "orders.o_orderpriority", "orders.o_clerk", "orders.o_shippriority", "orders.o_comment"], "Index Cond": "(orders.o_orderkey = lineitem.l_orderkey)", "Rows Removed by Index Recheck": 0, "Filter": "((orders.o_orderdate >= '1995-01-01'::date) AND (orders.o_orderdate <= '1996-12-31'::date))", "Rows Removed by Filter": 1, "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.005, "Actual Total Time": 0.005, "Actual Rows": 0, "Actual Loops": 10730}, {"Worker Number": 1, "Actual Startup Time": 0.005, "Actual Total Time": 0.005, "Actual Rows": 0, "Actual Loops": 10568}]}]}, {"Node Type": "Hash", "Parent Relationship": "Inner", "Parallel Aware": false, "Startup Cost": 1682.66, "Total Cost": 1682.66, "Plan Rows": 30000, "Plan Width": 4, "Actual Startup Time": 25.54, "Actual Total Time": 25.542, "Actual Rows": 29764, "Actual Loops": 3, "Output": ["customer.c_custkey"], "Hash Buckets": 32768, "Original Hash Buckets": 32768, "Hash Batches": 1, "Original Hash Batches": 1, "Peak Memory Usage": 1303, "Workers": [{"Worker Number": 0, "Actual Startup Time": 26.809, "Actual Total Time": 26.812, "Actual Rows": 29764, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 26.364, "Actual Total Time": 26.366, "Actual Rows": 29764, "Actual Loops": 1}], "Plans": [{"Node Type": "Nested Loop", "Parent Relationship": "Outer", "Parallel Aware": false, "Join Type": "Inner", "Startup Cost": 0.56, "Total Cost": 1682.66, "Plan Rows": 30000, "Plan Width": 4, "Actual Startup Time": 0.095, "Actual Total Time": 20.638, "Actual Rows": 29764, "Actual Loops": 3, "Output": ["customer.c_custkey"], "Inner Unique": false, "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.137, "Actual Total Time": 21.678, "Actual Rows": 29764, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 0.119, "Actual Total Time": 21.223, "Actual Rows": 29764, "Actual Loops": 1}], "Plans": [{"Node Type": "Nested Loop", "Parent Relationship": "Outer", "Parallel Aware": false, "Join Type": "Inner", "Startup Cost": 0.14, "Total Cost": 5.25, "Plan Rows": 5, "Plan Width": 4, "Actual Startup Time": 0.035, "Actual Total Time": 0.057, "Actual Rows": 5, "Actual Loops": 3, "Output": ["n1.n_nationkey"], "Inner Unique": true, "Join Filter": "(n1.n_regionkey = region.r_regionkey)", "Rows Removed by Join Filter": 20, "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.049, "Actual Total Time": 0.071, "Actual Rows": 5, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 0.046, "Actual Total Time": 0.068, "Actual Rows": 5, "Actual Loops": 1}], "Plans": [{"Node Type": "Index Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Scan Direction": "Forward", "Index Name": "n_nk", "Relation Name": "nation", "Schema": "public", "Alias": "n1", "Startup Cost": 0.14, "Total Cost": 3.81, "Plan Rows": 25, "Plan Width": 8, "Actual Startup Time": 0.014, "Actual Total Time": 0.021, "Actual Rows": 25, "Actual Loops": 3, "Output": ["n1.n_nationkey", "n1.n_name", "n1.n_regionkey", "n1.n_comment"], "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.02, "Actual Total Time": 0.027, "Actual Rows": 25, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 0.019, "Actual Total Time": 0.026, "Actual Rows": 25, "Actual Loops": 1}]}, {"Node Type": "Materialize", "Parent Relationship": "Inner", "Parallel Aware": false, "Startup Cost": 0.0, "Total Cost": 1.07, "Plan Rows": 1, "Plan Width": 4, "Actual Startup Time": 0.001, "Actual Total Time": 0.001, "Actual Rows": 1, "Actual Loops": 75, "Output": ["region.r_regionkey"], "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.001, "Actual Total Time": 0.001, "Actual Rows": 1, "Actual Loops": 25}, {"Worker Number": 1, "Actual Startup Time": 0.001, "Actual Total Time": 0.001, "Actual Rows": 1, "Actual Loops": 25}], "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Relation Name": "region", "Schema": "public", "Alias": "region", "Startup Cost": 0.0, "Total Cost": 1.06, "Plan Rows": 1, "Plan Width": 4, "Actual Startup Time": 0.016, "Actual Total Time": 0.018, "Actual Rows": 1, "Actual Loops": 3, "Output": ["region.r_regionkey"], "Filter": "(region.r_name = 'AFRICA'::bpchar)", "Rows Removed by Filter": 4, "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.024, "Actual Total Time": 0.026, "Actual Rows": 1, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 0.022, "Actual Total Time": 0.024, "Actual Rows": 1, "Actual Loops": 1}]}]}]}, {"Node Type": "Index Scan", "Parent Relationship": "Inner", "Parallel Aware": false, "Scan Direction": "Forward", "Index Name": "c_nk", "Relation Name": "customer", "Schema": "public", "Alias": "customer", "Startup Cost": 0.42, "Total Cost": 275.48, "Plan Rows": 6000, "Plan Width": 8, "Actual Startup Time": 0.019, "Actual Total Time": 3.376, "Actual Rows": 5953, "Actual Loops": 15, "Output": ["customer.c_custkey", "customer.c_name", "customer.c_address", "customer.c_nationkey", "customer.c_phone", "customer.c_acctbal", "customer.c_mktsegment", "customer.c_comment"], "Index Cond": "(customer.c_nationkey = n1.n_nationkey)", "Rows Removed by Index Recheck": 0, "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.026, "Actual Total Time": 3.615, "Actual Rows": 5953, "Actual Loops": 5}, {"Worker Number": 1, "Actual Startup Time": 0.023, "Actual Total Time": 3.518, "Actual Rows": 5953, "Actual Loops": 5}]}]}]}]}, {"Node Type": "Index Scan", "Parent Relationship": "Inner", "Parallel Aware": false, "Scan Direction": "Forward", "Index Name": "s_sk", "Relation Name": "supplier", "Schema": "public", "Alias": "supplier", "Startup Cost": 0.29, "Total Cost": 0.3, "Plan Rows": 1, "Plan Width": 8, "Actual Startup Time": 0.002, "Actual Total Time": 0.002, "Actual Rows": 1, "Actual Loops": 2426, "Output": ["supplier.s_suppkey", "supplier.s_name", "supplier.s_address", "supplier.s_nationkey", "supplier.s_phone", "supplier.s_acctbal", "supplier.s_comment"], "Index Cond": "(supplier.s_suppkey = lineitem.l_suppkey)", "Rows Removed by Index Recheck": 0, "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.003, "Actual Total Time": 0.003, "Actual Rows": 1, "Actual Loops": 643}, {"Worker Number": 1, "Actual Startup Time": 0.002, "Actual Total Time": 0.002, "Actual Rows": 1, "Actual Loops": 662}]}]}, {"Node Type": "Hash", "Parent Relationship": "Inner", "Parallel Aware": false, "Startup Cost": 1.25, "Total Cost": 1.25, "Plan Rows": 25, "Plan Width": 30, "Actual Startup Time": 0.028, "Actual Total Time": 0.029, "Actual Rows": 25, "Actual Loops": 3, "Output": ["n2.n_name", "n2.n_nationkey"], "Hash Buckets": 1024, "Original Hash Buckets": 1024, "Hash Batches": 1, "Original Hash Batches": 1, "Peak Memory Usage": 10, "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.034, "Actual Total Time": 0.034, "Actual Rows": 25, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 0.034, "Actual Total Time": 0.034, "Actual Rows": 25, "Actual Loops": 1}], "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Relation Name": "nation", "Schema": "public", "Alias": "n2", "Startup Cost": 0.0, "Total Cost": 1.25, "Plan Rows": 25, "Plan Width": 30, "Actual Startup Time": 0.015, "Actual Total Time": 0.02, "Actual Rows": 25, "Actual Loops": 3, "Output": ["n2.n_name", "n2.n_nationkey"], "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.02, "Actual Total Time": 0.024, "Actual Rows": 25, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 0.019, "Actual Total Time": 0.024, "Actual Rows": 25, "Actual Loops": 1}]}]}]}]}]}]}]}, "Planning Time": 2.435, "Triggers": [], "Execution Time": 179.888} diff --git a/dev9/pg12/tpch/sf_1/explain_analyze/15721/9-1.ok b/dev9/pg12/tpch/sf_1/explain_analyze/15721/9-1.ok new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/dev9/pg12/tpch/sf_1/explain_analyze/15721/9-1.res b/dev9/pg12/tpch/sf_1/explain_analyze/15721/9-1.res new file mode 100644 index 0000000000000000000000000000000000000000..e23ff451c822139cb5c1d89a28116c658a257495 --- /dev/null +++ b/dev9/pg12/tpch/sf_1/explain_analyze/15721/9-1.res @@ -0,0 +1 @@ +{"Plan": {"Node Type": "Sort", "Parallel Aware": false, "Startup Cost": 86246.09, "Total Cost": 86396.47, "Plan Rows": 60150, "Plan Width": 66, "Actual Startup Time": 547.807, "Actual Total Time": 592.834, "Actual Rows": 175, "Actual Loops": 1, "Output": ["nation.n_name", "(date_part('year'::text, (orders.o_orderdate)::timestamp without time zone))", "(sum(((lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount)) - (partsupp.ps_supplycost * lineitem.l_quantity))))"], "Sort Key": ["nation.n_name", "(date_part('year'::text, (orders.o_orderdate)::timestamp without time zone)) DESC"], "Sort Method": "quicksort", "Sort Space Used": 49, "Sort Space Type": "Memory", "Plans": [{"Node Type": "Aggregate", "Strategy": "Hashed", "Partial Mode": "Finalize", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 80418.68, "Total Cost": 81471.3, "Plan Rows": 60150, "Plan Width": 66, "Actual Startup Time": 547.153, "Actual Total Time": 592.588, "Actual Rows": 175, "Actual Loops": 1, "Output": ["nation.n_name", "(date_part('year'::text, (orders.o_orderdate)::timestamp without time zone))", "sum(((lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount)) - (partsupp.ps_supplycost * lineitem.l_quantity)))"], "Group Key": ["nation.n_name", "(date_part('year'::text, (orders.o_orderdate)::timestamp without time zone))"], "Plans": [{"Node Type": "Gather", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 59516.55, "Total Cost": 78614.18, "Plan Rows": 180450, "Plan Width": 66, "Actual Startup Time": 541.734, "Actual Total Time": 591.546, "Actual Rows": 700, "Actual Loops": 1, "Output": ["nation.n_name", "(date_part('year'::text, (orders.o_orderdate)::timestamp without time zone))", "(PARTIAL sum(((lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount)) - (partsupp.ps_supplycost * lineitem.l_quantity))))"], "Workers Planned": 3, "Workers Launched": 3, "Single Copy": false, "Plans": [{"Node Type": "Aggregate", "Strategy": "Hashed", "Partial Mode": "Partial", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 58516.55, "Total Cost": 59569.18, "Plan Rows": 60150, "Plan Width": 66, "Actual Startup Time": 536.685, "Actual Total Time": 537.153, "Actual Rows": 175, "Actual Loops": 4, "Output": ["nation.n_name", "(date_part('year'::text, (orders.o_orderdate)::timestamp without time zone))", "PARTIAL sum(((lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount)) - (partsupp.ps_supplycost * lineitem.l_quantity)))"], "Group Key": ["nation.n_name", "date_part('year'::text, (orders.o_orderdate)::timestamp without time zone)"], "Workers": [{"Worker Number": 0, "Actual Startup Time": 535.405, "Actual Total Time": 535.867, "Actual Rows": 175, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 534.974, "Actual Total Time": 535.428, "Actual Rows": 175, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 535.151, "Actual Total Time": 535.613, "Actual Rows": 175, "Actual Loops": 1}], "Plans": [{"Node Type": "Hash Join", "Parent Relationship": "Outer", "Parallel Aware": true, "Join Type": "Inner", "Startup Cost": 23388.99, "Total Cost": 56955.11, "Plan Rows": 89225, "Plan Width": 57, "Actual Startup Time": 274.054, "Actual Total Time": 453.024, "Actual Rows": 80496, "Actual Loops": 4, "Output": ["nation.n_name", "date_part('year'::text, (orders.o_orderdate)::timestamp without time zone)", "lineitem.l_extendedprice", "lineitem.l_discount", "partsupp.ps_supplycost", "lineitem.l_quantity"], "Inner Unique": false, "Hash Cond": "(orders.o_orderkey = lineitem.l_orderkey)", "Workers": [{"Worker Number": 0, "Actual Startup Time": 272.437, "Actual Total Time": 454.018, "Actual Rows": 79633, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 272.468, "Actual Total Time": 451.949, "Actual Rows": 78982, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 272.611, "Actual Total Time": 452.596, "Actual Rows": 79353, "Actual Loops": 1}], "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": true, "Relation Name": "orders", "Schema": "public", "Alias": "orders", "Startup Cost": 0.0, "Total Cost": 30933.71, "Plan Rows": 483871, "Plan Width": 8, "Actual Startup Time": 0.013, "Actual Total Time": 41.45, "Actual Rows": 375000, "Actual Loops": 4, "Output": ["orders.o_orderkey", "orders.o_custkey", "orders.o_orderstatus", "orders.o_totalprice", "orders.o_orderdate", "orders.o_orderpriority", "orders.o_clerk", "orders.o_shippriority", "orders.o_comment"], "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.016, "Actual Total Time": 43.593, "Actual Rows": 371921, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 0.015, "Actual Total Time": 43.537, "Actual Rows": 367115, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 0.015, "Actual Total Time": 43.592, "Actual Rows": 367885, "Actual Loops": 1}]}, {"Node Type": "Hash", "Parent Relationship": "Inner", "Parallel Aware": true, "Startup Cost": 21948.39, "Total Cost": 21948.39, "Plan Rows": 115248, "Plan Width": 53, "Actual Startup Time": 273.017, "Actual Total Time": 273.023, "Actual Rows": 80496, "Actual Loops": 4, "Output": ["lineitem.l_extendedprice", "lineitem.l_discount", "lineitem.l_quantity", "lineitem.l_orderkey", "partsupp.ps_supplycost", "nation.n_name"], "Hash Buckets": 524288, "Original Hash Buckets": 524288, "Hash Batches": 1, "Original Hash Batches": 1, "Peak Memory Usage": 34368, "Workers": [{"Worker Number": 0, "Actual Startup Time": 272.333, "Actual Total Time": 272.337, "Actual Rows": 72768, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 272.338, "Actual Total Time": 272.344, "Actual Rows": 73867, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 272.504, "Actual Total Time": 272.509, "Actual Rows": 73200, "Actual Loops": 1}], "Plans": [{"Node Type": "Nested Loop", "Parent Relationship": "Outer", "Parallel Aware": false, "Join Type": "Inner", "Startup Cost": 449.42, "Total Cost": 21948.39, "Plan Rows": 115248, "Plan Width": 53, "Actual Startup Time": 4.518, "Actual Total Time": 227.965, "Actual Rows": 80496, "Actual Loops": 4, "Output": ["lineitem.l_extendedprice", "lineitem.l_discount", "lineitem.l_quantity", "lineitem.l_orderkey", "partsupp.ps_supplycost", "nation.n_name"], "Inner Unique": false, "Join Filter": "(supplier.s_suppkey = lineitem.l_suppkey)", "Rows Removed by Join Filter": 0, "Workers": [{"Worker Number": 0, "Actual Startup Time": 4.882, "Actual Total Time": 228.896, "Actual Rows": 72768, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 4.879, "Actual Total Time": 230.173, "Actual Rows": 73867, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 4.774, "Actual Total Time": 230.76, "Actual Rows": 73200, "Actual Loops": 1}], "Plans": [{"Node Type": "Hash Join", "Parent Relationship": "Outer", "Parallel Aware": false, "Join Type": "Inner", "Startup Cost": 448.99, "Total Cost": 12080.01, "Plan Rows": 15363, "Plan Width": 48, "Actual Startup Time": 4.461, "Actual Total Time": 46.405, "Actual Rows": 10737, "Actual Loops": 4, "Output": ["part.p_partkey", "partsupp.ps_supplycost", "partsupp.ps_suppkey", "partsupp.ps_partkey", "supplier.s_suppkey", "nation.n_name"], "Inner Unique": true, "Hash Cond": "(supplier.s_nationkey = nation.n_nationkey)", "Workers": [{"Worker Number": 0, "Actual Startup Time": 4.805, "Actual Total Time": 45.651, "Actual Rows": 9708, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 4.809, "Actual Total Time": 45.881, "Actual Rows": 9844, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 4.706, "Actual Total Time": 45.976, "Actual Rows": 9808, "Actual Loops": 1}], "Plans": [{"Node Type": "Hash Join", "Parent Relationship": "Outer", "Parallel Aware": false, "Join Type": "Inner", "Startup Cost": 447.43, "Total Cost": 12031.28, "Plan Rows": 15363, "Plan Width": 26, "Actual Startup Time": 4.419, "Actual Total Time": 43.559, "Actual Rows": 10737, "Actual Loops": 4, "Output": ["part.p_partkey", "partsupp.ps_supplycost", "partsupp.ps_suppkey", "partsupp.ps_partkey", "supplier.s_suppkey", "supplier.s_nationkey"], "Inner Unique": true, "Hash Cond": "(partsupp.ps_suppkey = supplier.s_suppkey)", "Workers": [{"Worker Number": 0, "Actual Startup Time": 4.759, "Actual Total Time": 43.032, "Actual Rows": 9708, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 4.762, "Actual Total Time": 43.224, "Actual Rows": 9844, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 4.658, "Actual Total Time": 43.32, "Actual Rows": 9808, "Actual Loops": 1}], "Plans": [{"Node Type": "Nested Loop", "Parent Relationship": "Outer", "Parallel Aware": false, "Join Type": "Inner", "Startup Cost": 0.42, "Total Cost": 11543.93, "Plan Rows": 15363, "Plan Width": 18, "Actual Startup Time": 0.087, "Actual Total Time": 33.971, "Actual Rows": 10737, "Actual Loops": 4, "Output": ["part.p_partkey", "partsupp.ps_supplycost", "partsupp.ps_suppkey", "partsupp.ps_partkey"], "Inner Unique": false, "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.112, "Actual Total Time": 33.544, "Actual Rows": 9708, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 0.109, "Actual Total Time": 33.635, "Actual Rows": 9844, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 0.106, "Actual Total Time": 33.855, "Actual Rows": 9808, "Actual Loops": 1}], "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": true, "Relation Name": "part", "Schema": "public", "Alias": "part", "Startup Cost": 0.0, "Total Cost": 5138.67, "Plan Rows": 3841, "Plan Width": 4, "Actual Startup Time": 0.02, "Actual Total Time": 14.915, "Actual Rows": 2684, "Actual Loops": 4, "Output": ["part.p_partkey", "part.p_name", "part.p_mfgr", "part.p_brand", "part.p_type", "part.p_size", "part.p_container", "part.p_retailprice", "part.p_comment"], "Filter": "((part.p_name)::text ~~ '%forest%'::text)", "Rows Removed by Filter": 47316, "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.023, "Actual Total Time": 14.181, "Actual Rows": 2427, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 0.023, "Actual Total Time": 14.206, "Actual Rows": 2461, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 0.028, "Actual Total Time": 14.337, "Actual Rows": 2452, "Actual Loops": 1}]}, {"Node Type": "Index Scan", "Parent Relationship": "Inner", "Parallel Aware": false, "Scan Direction": "Forward", "Index Name": "ps_pk", "Relation Name": "partsupp", "Schema": "public", "Alias": "partsupp", "Startup Cost": 0.42, "Total Cost": 1.63, "Plan Rows": 4, "Plan Width": 14, "Actual Startup Time": 0.005, "Actual Total Time": 0.006, "Actual Rows": 4, "Actual Loops": 10737, "Output": ["partsupp.ps_partkey", "partsupp.ps_suppkey", "partsupp.ps_availqty", "partsupp.ps_supplycost", "partsupp.ps_comment"], "Index Cond": "(partsupp.ps_partkey = part.p_partkey)", "Rows Removed by Index Recheck": 0, "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.006, "Actual Total Time": 0.007, "Actual Rows": 4, "Actual Loops": 2427}, {"Worker Number": 1, "Actual Startup Time": 0.006, "Actual Total Time": 0.007, "Actual Rows": 4, "Actual Loops": 2461}, {"Worker Number": 2, "Actual Startup Time": 0.006, "Actual Total Time": 0.007, "Actual Rows": 4, "Actual Loops": 2452}]}]}, {"Node Type": "Hash", "Parent Relationship": "Inner", "Parallel Aware": false, "Startup Cost": 322.0, "Total Cost": 322.0, "Plan Rows": 10000, "Plan Width": 8, "Actual Startup Time": 4.256, "Actual Total Time": 4.256, "Actual Rows": 10000, "Actual Loops": 4, "Output": ["supplier.s_suppkey", "supplier.s_nationkey"], "Hash Buckets": 16384, "Original Hash Buckets": 16384, "Hash Batches": 1, "Original Hash Batches": 1, "Peak Memory Usage": 519, "Workers": [{"Worker Number": 0, "Actual Startup Time": 4.555, "Actual Total Time": 4.555, "Actual Rows": 10000, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 4.557, "Actual Total Time": 4.558, "Actual Rows": 10000, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 4.458, "Actual Total Time": 4.459, "Actual Rows": 10000, "Actual Loops": 1}], "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Relation Name": "supplier", "Schema": "public", "Alias": "supplier", "Startup Cost": 0.0, "Total Cost": 322.0, "Plan Rows": 10000, "Plan Width": 8, "Actual Startup Time": 0.014, "Actual Total Time": 2.551, "Actual Rows": 10000, "Actual Loops": 4, "Output": ["supplier.s_suppkey", "supplier.s_nationkey"], "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.019, "Actual Total Time": 2.643, "Actual Rows": 10000, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 0.017, "Actual Total Time": 2.83, "Actual Rows": 10000, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 0.018, "Actual Total Time": 2.735, "Actual Rows": 10000, "Actual Loops": 1}]}]}]}, {"Node Type": "Hash", "Parent Relationship": "Inner", "Parallel Aware": false, "Startup Cost": 1.25, "Total Cost": 1.25, "Plan Rows": 25, "Plan Width": 30, "Actual Startup Time": 0.029, "Actual Total Time": 0.03, "Actual Rows": 25, "Actual Loops": 4, "Output": ["nation.n_name", "nation.n_nationkey"], "Hash Buckets": 1024, "Original Hash Buckets": 1024, "Hash Batches": 1, "Original Hash Batches": 1, "Peak Memory Usage": 10, "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.031, "Actual Total Time": 0.032, "Actual Rows": 25, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 0.032, "Actual Total Time": 0.033, "Actual Rows": 25, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 0.034, "Actual Total Time": 0.034, "Actual Rows": 25, "Actual Loops": 1}], "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Relation Name": "nation", "Schema": "public", "Alias": "nation", "Startup Cost": 0.0, "Total Cost": 1.25, "Plan Rows": 25, "Plan Width": 30, "Actual Startup Time": 0.015, "Actual Total Time": 0.02, "Actual Rows": 25, "Actual Loops": 4, "Output": ["nation.n_name", "nation.n_nationkey"], "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.018, "Actual Total Time": 0.022, "Actual Rows": 25, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 0.018, "Actual Total Time": 0.022, "Actual Rows": 25, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 0.019, "Actual Total Time": 0.024, "Actual Rows": 25, "Actual Loops": 1}]}]}]}, {"Node Type": "Index Scan", "Parent Relationship": "Inner", "Parallel Aware": false, "Scan Direction": "Forward", "Index Name": "l_sk_pk", "Relation Name": "lineitem", "Schema": "public", "Alias": "lineitem", "Startup Cost": 0.43, "Total Cost": 0.63, "Plan Rows": 1, "Plan Width": 29, "Actual Startup Time": 0.006, "Actual Total Time": 0.015, "Actual Rows": 7, "Actual Loops": 42948, "Output": ["lineitem.l_orderkey", "lineitem.l_partkey", "lineitem.l_suppkey", "lineitem.l_linenumber", "lineitem.l_quantity", "lineitem.l_extendedprice", "lineitem.l_discount", "lineitem.l_tax", "lineitem.l_returnflag", "lineitem.l_linestatus", "lineitem.l_shipdate", "lineitem.l_commitdate", "lineitem.l_receiptdate", "lineitem.l_shipinstruct", "lineitem.l_shipmode", "lineitem.l_comment"], "Index Cond": "((lineitem.l_suppkey = partsupp.ps_suppkey) AND (lineitem.l_partkey = partsupp.ps_partkey))", "Rows Removed by Index Recheck": 0, "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.006, "Actual Total Time": 0.017, "Actual Rows": 7, "Actual Loops": 9708}, {"Worker Number": 1, "Actual Startup Time": 0.006, "Actual Total Time": 0.017, "Actual Rows": 8, "Actual Loops": 9844}, {"Worker Number": 2, "Actual Startup Time": 0.006, "Actual Total Time": 0.017, "Actual Rows": 7, "Actual Loops": 9808}]}]}]}]}]}]}]}]}, "Planning Time": 3.716, "Triggers": [], "Execution Time": 593.804} diff --git a/dev9/pg12/tpch/sf_10/explain/15721/1-1.ok b/dev9/pg12/tpch/sf_10/explain/15721/1-1.ok new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/dev9/pg12/tpch/sf_10/explain/15721/1-1.res b/dev9/pg12/tpch/sf_10/explain/15721/1-1.res new file mode 100644 index 0000000000000000000000000000000000000000..e788e83db3bd1c925fcfd333d224fdfddb20532a --- /dev/null +++ b/dev9/pg12/tpch/sf_10/explain/15721/1-1.res @@ -0,0 +1 @@ +{"Plan": {"Node Type": "Aggregate", "Strategy": "Sorted", "Partial Mode": "Finalize", "Parallel Aware": false, "Startup Cost": 1567813.66, "Total Cost": 1567820.77, "Plan Rows": 6, "Plan Width": 236, "Output": ["l_returnflag", "l_linestatus", "sum(l_quantity)", "sum(l_extendedprice)", "sum((l_extendedprice * ('1'::numeric - l_discount)))", "sum(((l_extendedprice * ('1'::numeric - l_discount)) * ('1'::numeric + l_tax)))", "avg(l_quantity)", "avg(l_extendedprice)", "avg(l_discount)", "count(*)"], "Group Key": ["lineitem.l_returnflag", "lineitem.l_linestatus"], "Plans": [{"Node Type": "Gather Merge", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 1567813.66, "Total Cost": 1567818.82, "Plan Rows": 42, "Plan Width": 236, "Output": ["l_returnflag", "l_linestatus", "(PARTIAL sum(l_quantity))", "(PARTIAL sum(l_extendedprice))", "(PARTIAL sum((l_extendedprice * ('1'::numeric - l_discount))))", "(PARTIAL sum(((l_extendedprice * ('1'::numeric - l_discount)) * ('1'::numeric + l_tax))))", "(PARTIAL avg(l_quantity))", "(PARTIAL avg(l_extendedprice))", "(PARTIAL avg(l_discount))", "(PARTIAL count(*))"], "Workers Planned": 7, "Plans": [{"Node Type": "Sort", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 1566813.54, "Total Cost": 1566813.56, "Plan Rows": 6, "Plan Width": 236, "Output": ["l_returnflag", "l_linestatus", "(PARTIAL sum(l_quantity))", "(PARTIAL sum(l_extendedprice))", "(PARTIAL sum((l_extendedprice * ('1'::numeric - l_discount))))", "(PARTIAL sum(((l_extendedprice * ('1'::numeric - l_discount)) * ('1'::numeric + l_tax))))", "(PARTIAL avg(l_quantity))", "(PARTIAL avg(l_extendedprice))", "(PARTIAL avg(l_discount))", "(PARTIAL count(*))"], "Sort Key": ["lineitem.l_returnflag", "lineitem.l_linestatus"], "Plans": [{"Node Type": "Aggregate", "Strategy": "Hashed", "Partial Mode": "Partial", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 1566813.3, "Total Cost": 1566813.47, "Plan Rows": 6, "Plan Width": 236, "Output": ["l_returnflag", "l_linestatus", "PARTIAL sum(l_quantity)", "PARTIAL sum(l_extendedprice)", "PARTIAL sum((l_extendedprice * ('1'::numeric - l_discount)))", "PARTIAL sum(((l_extendedprice * ('1'::numeric - l_discount)) * ('1'::numeric + l_tax)))", "PARTIAL avg(l_quantity)", "PARTIAL avg(l_extendedprice)", "PARTIAL avg(l_discount)", "PARTIAL count(*)"], "Group Key": ["lineitem.l_returnflag", "lineitem.l_linestatus"], "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": true, "Relation Name": "lineitem", "Schema": "public", "Alias": "lineitem", "Startup Cost": 0.0, "Total Cost": 1231659.62, "Plan Rows": 8378842, "Plan Width": 25, "Output": ["l_orderkey", "l_partkey", "l_suppkey", "l_linenumber", "l_quantity", "l_extendedprice", "l_discount", "l_tax", "l_returnflag", "l_linestatus", "l_shipdate", "l_commitdate", "l_receiptdate", "l_shipinstruct", "l_shipmode", "l_comment"], "Filter": "(lineitem.l_shipdate <= '1998-08-07 23:59:57'::timestamp without time zone)"}]}]}]}]}} diff --git a/dev9/pg12/tpch/sf_10/explain/15721/10-1.ok b/dev9/pg12/tpch/sf_10/explain/15721/10-1.ok new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/dev9/pg12/tpch/sf_10/explain/15721/10-1.res b/dev9/pg12/tpch/sf_10/explain/15721/10-1.res new file mode 100644 index 0000000000000000000000000000000000000000..2e5175e42651e5af812e69f16ce421935f864854 --- /dev/null +++ b/dev9/pg12/tpch/sf_10/explain/15721/10-1.res @@ -0,0 +1 @@ +{"Plan": {"Node Type": "Limit", "Parallel Aware": false, "Startup Cost": 649006.05, "Total Cost": 649006.1, "Plan Rows": 20, "Plan Width": 202, "Output": ["customer.c_custkey", "customer.c_name", "(sum((lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount))))", "customer.c_acctbal", "nation.n_name", "customer.c_address", "customer.c_phone", "customer.c_comment"], "Plans": [{"Node Type": "Sort", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 649006.05, "Total Cost": 650357.3, "Plan Rows": 540501, "Plan Width": 202, "Output": ["customer.c_custkey", "customer.c_name", "(sum((lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount))))", "customer.c_acctbal", "nation.n_name", "customer.c_address", "customer.c_phone", "customer.c_comment"], "Sort Key": ["(sum((lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount)))) DESC"], "Plans": [{"Node Type": "Aggregate", "Strategy": "Sorted", "Partial Mode": "Finalize", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 554367.55, "Total Cost": 634623.51, "Plan Rows": 540501, "Plan Width": 202, "Output": ["customer.c_custkey", "customer.c_name", "sum((lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount)))", "customer.c_acctbal", "nation.n_name", "customer.c_address", "customer.c_phone", "customer.c_comment"], "Group Key": ["customer.c_custkey", "nation.n_name"], "Plans": [{"Node Type": "Gather Merge", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 554367.55, "Total Cost": 622462.25, "Plan Rows": 540500, "Plan Width": 202, "Output": ["customer.c_custkey", "nation.n_name", "customer.c_name", "(PARTIAL sum((lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount))))", "customer.c_acctbal", "customer.c_address", "customer.c_phone", "customer.c_comment"], "Workers Planned": 4, "Plans": [{"Node Type": "Aggregate", "Strategy": "Sorted", "Partial Mode": "Partial", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 553367.49, "Total Cost": 557083.43, "Plan Rows": 135125, "Plan Width": 202, "Output": ["customer.c_custkey", "nation.n_name", "customer.c_name", "PARTIAL sum((lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount)))", "customer.c_acctbal", "customer.c_address", "customer.c_phone", "customer.c_comment"], "Group Key": ["customer.c_custkey", "nation.n_name"], "Plans": [{"Node Type": "Sort", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 553367.49, "Total Cost": 553705.31, "Plan Rows": 135125, "Plan Width": 182, "Output": ["customer.c_custkey", "nation.n_name", "customer.c_name", "lineitem.l_extendedprice", "lineitem.l_discount", "customer.c_acctbal", "customer.c_address", "customer.c_phone", "customer.c_comment"], "Sort Key": ["customer.c_custkey", "nation.n_name"], "Plans": [{"Node Type": "Hash Join", "Parent Relationship": "Outer", "Parallel Aware": false, "Join Type": "Inner", "Startup Cost": 492257.84, "Total Cost": 534818.63, "Plan Rows": 135125, "Plan Width": 182, "Output": ["customer.c_custkey", "nation.n_name", "customer.c_name", "lineitem.l_extendedprice", "lineitem.l_discount", "customer.c_acctbal", "customer.c_address", "customer.c_phone", "customer.c_comment"], "Inner Unique": true, "Hash Cond": "(customer.c_nationkey = nation.n_nationkey)", "Plans": [{"Node Type": "Hash Join", "Parent Relationship": "Outer", "Parallel Aware": true, "Join Type": "Inner", "Startup Cost": 492256.28, "Total Cost": 534402.24, "Plan Rows": 135125, "Plan Width": 160, "Output": ["customer.c_custkey", "customer.c_name", "customer.c_acctbal", "customer.c_address", "customer.c_phone", "customer.c_comment", "customer.c_nationkey", "lineitem.l_extendedprice", "lineitem.l_discount"], "Inner Unique": false, "Hash Cond": "(customer.c_custkey = orders.o_custkey)", "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": true, "Relation Name": "customer", "Schema": "public", "Alias": "customer", "Startup Cost": 0.0, "Total Cost": 39577.0, "Plan Rows": 375000, "Plan Width": 148, "Output": ["customer.c_custkey", "customer.c_name", "customer.c_address", "customer.c_nationkey", "customer.c_phone", "customer.c_acctbal", "customer.c_mktsegment", "customer.c_comment"]}, {"Node Type": "Hash", "Parent Relationship": "Inner", "Parallel Aware": true, "Startup Cost": 491130.23, "Total Cost": 491130.23, "Plan Rows": 90084, "Plan Width": 16, "Output": ["orders.o_custkey", "lineitem.l_extendedprice", "lineitem.l_discount"], "Plans": [{"Node Type": "Nested Loop", "Parent Relationship": "Outer", "Parallel Aware": false, "Join Type": "Inner", "Startup Cost": 7259.12, "Total Cost": 491130.23, "Plan Rows": 90084, "Plan Width": 16, "Output": ["orders.o_custkey", "lineitem.l_extendedprice", "lineitem.l_discount"], "Inner Unique": false, "Plans": [{"Node Type": "Bitmap Heap Scan", "Parent Relationship": "Outer", "Parallel Aware": true, "Relation Name": "orders", "Schema": "public", "Alias": "orders", "Startup Cost": 7258.55, "Total Cost": 269537.85, "Plan Rows": 91153, "Plan Width": 8, "Output": ["orders.o_orderkey", "orders.o_custkey", "orders.o_orderstatus", "orders.o_totalprice", "orders.o_orderdate", "orders.o_orderpriority", "orders.o_clerk", "orders.o_shippriority", "orders.o_comment"], "Recheck Cond": "((orders.o_orderdate >= '1993-02-01'::date) AND (orders.o_orderdate < '1993-05-01 00:00:00'::timestamp without time zone))", "Plans": [{"Node Type": "Bitmap Index Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Index Name": "o_od", "Startup Cost": 0.0, "Total Cost": 7121.83, "Plan Rows": 546919, "Plan Width": 0, "Index Cond": "((orders.o_orderdate >= '1993-02-01'::date) AND (orders.o_orderdate < '1993-05-01 00:00:00'::timestamp without time zone))"}]}, {"Node Type": "Index Scan", "Parent Relationship": "Inner", "Parallel Aware": false, "Scan Direction": "Forward", "Index Name": "l_ok", "Relation Name": "lineitem", "Schema": "public", "Alias": "lineitem", "Startup Cost": 0.56, "Total Cost": 2.36, "Plan Rows": 7, "Plan Width": 16, "Output": ["lineitem.l_orderkey", "lineitem.l_partkey", "lineitem.l_suppkey", "lineitem.l_linenumber", "lineitem.l_quantity", "lineitem.l_extendedprice", "lineitem.l_discount", "lineitem.l_tax", "lineitem.l_returnflag", "lineitem.l_linestatus", "lineitem.l_shipdate", "lineitem.l_commitdate", "lineitem.l_receiptdate", "lineitem.l_shipinstruct", "lineitem.l_shipmode", "lineitem.l_comment"], "Index Cond": "(lineitem.l_orderkey = orders.o_orderkey)", "Filter": "(lineitem.l_returnflag = 'R'::bpchar)"}]}]}]}, {"Node Type": "Hash", "Parent Relationship": "Inner", "Parallel Aware": false, "Startup Cost": 1.25, "Total Cost": 1.25, "Plan Rows": 25, "Plan Width": 30, "Output": ["nation.n_name", "nation.n_nationkey"], "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Relation Name": "nation", "Schema": "public", "Alias": "nation", "Startup Cost": 0.0, "Total Cost": 1.25, "Plan Rows": 25, "Plan Width": 30, "Output": ["nation.n_name", "nation.n_nationkey"]}]}]}]}]}]}]}]}]}} diff --git a/dev9/pg12/tpch/sf_10/explain/15721/11-1.ok b/dev9/pg12/tpch/sf_10/explain/15721/11-1.ok new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/dev9/pg12/tpch/sf_10/explain/15721/11-1.res b/dev9/pg12/tpch/sf_10/explain/15721/11-1.res new file mode 100644 index 0000000000000000000000000000000000000000..63069255e43acf04afab96644d891cd0062da690 --- /dev/null +++ b/dev9/pg12/tpch/sf_10/explain/15721/11-1.res @@ -0,0 +1 @@ +{"Plan": {"Node Type": "Sort", "Parallel Aware": false, "Startup Cost": 88257.37, "Total Cost": 88524.05, "Plan Rows": 106672, "Plan Width": 36, "Output": ["partsupp.ps_partkey", "(sum((partsupp.ps_supplycost * (partsupp.ps_availqty)::numeric)))"], "Sort Key": ["(sum((partsupp.ps_supplycost * (partsupp.ps_availqty)::numeric))) DESC"], "Plans": [{"Node Type": "Aggregate", "Strategy": "Plain", "Partial Mode": "Finalize", "Parent Relationship": "InitPlan", "Subplan Name": "InitPlan 1 (returns $2)", "Parallel Aware": false, "Startup Cost": 16673.79, "Total Cost": 16673.81, "Plan Rows": 1, "Plan Width": 32, "Output": ["(sum((partsupp_1.ps_supplycost * (partsupp_1.ps_availqty)::numeric)) * 0.0001000000)"], "Plans": [{"Node Type": "Gather", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 16673.68, "Total Cost": 16673.79, "Plan Rows": 1, "Plan Width": 32, "Output": ["(PARTIAL sum((partsupp_1.ps_supplycost * (partsupp_1.ps_availqty)::numeric)))"], "Workers Planned": 1, "Single Copy": false, "Plans": [{"Node Type": "Aggregate", "Strategy": "Plain", "Partial Mode": "Partial", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 15673.68, "Total Cost": 15673.69, "Plan Rows": 1, "Plan Width": 32, "Output": ["PARTIAL sum((partsupp_1.ps_supplycost * (partsupp_1.ps_availqty)::numeric))"], "Plans": [{"Node Type": "Nested Loop", "Parent Relationship": "Outer", "Parallel Aware": false, "Join Type": "Inner", "Startup Cost": 1.76, "Total Cost": 14261.84, "Plan Rows": 188244, "Plan Width": 10, "Output": ["partsupp_1.ps_supplycost", "partsupp_1.ps_availqty"], "Inner Unique": false, "Plans": [{"Node Type": "Hash Join", "Parent Relationship": "Outer", "Parallel Aware": false, "Join Type": "Inner", "Startup Cost": 1.32, "Total Cost": 2986.15, "Plan Rows": 2353, "Plan Width": 4, "Output": ["supplier_1.s_suppkey"], "Inner Unique": true, "Hash Cond": "(supplier_1.s_nationkey = nation_1.n_nationkey)", "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": true, "Relation Name": "supplier", "Schema": "public", "Alias": "supplier_1", "Startup Cost": 0.0, "Total Cost": 2804.24, "Plan Rows": 58824, "Plan Width": 8, "Output": ["supplier_1.s_suppkey", "supplier_1.s_name", "supplier_1.s_address", "supplier_1.s_nationkey", "supplier_1.s_phone", "supplier_1.s_acctbal", "supplier_1.s_comment"]}, {"Node Type": "Hash", "Parent Relationship": "Inner", "Parallel Aware": false, "Startup Cost": 1.31, "Total Cost": 1.31, "Plan Rows": 1, "Plan Width": 4, "Output": ["nation_1.n_nationkey"], "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Relation Name": "nation", "Schema": "public", "Alias": "nation_1", "Startup Cost": 0.0, "Total Cost": 1.31, "Plan Rows": 1, "Plan Width": 4, "Output": ["nation_1.n_nationkey"], "Filter": "(nation_1.n_name = 'CHINA'::bpchar)"}]}]}, {"Node Type": "Index Scan", "Parent Relationship": "Inner", "Parallel Aware": false, "Scan Direction": "Forward", "Index Name": "ps_sk_pk", "Relation Name": "partsupp", "Schema": "public", "Alias": "partsupp_1", "Startup Cost": 0.43, "Total Cost": 3.99, "Plan Rows": 80, "Plan Width": 14, "Output": ["partsupp_1.ps_partkey", "partsupp_1.ps_suppkey", "partsupp_1.ps_availqty", "partsupp_1.ps_supplycost", "partsupp_1.ps_comment"], "Index Cond": "(partsupp_1.ps_suppkey = supplier_1.s_suppkey)"}]}]}]}]}, {"Node Type": "Aggregate", "Strategy": "Sorted", "Partial Mode": "Simple", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 50674.38, "Total Cost": 62674.94, "Plan Rows": 106672, "Plan Width": 36, "Output": ["partsupp.ps_partkey", "sum((partsupp.ps_supplycost * (partsupp.ps_availqty)::numeric))"], "Group Key": ["partsupp.ps_partkey"], "Filter": "(sum((partsupp.ps_supplycost * (partsupp.ps_availqty)::numeric)) > $2)", "Plans": [{"Node Type": "Sort", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 50674.38, "Total Cost": 51474.42, "Plan Rows": 320015, "Plan Width": 14, "Output": ["partsupp.ps_partkey", "partsupp.ps_supplycost", "partsupp.ps_availqty"], "Sort Key": ["partsupp.ps_partkey"], "Plans": [{"Node Type": "Nested Loop", "Parent Relationship": "Outer", "Parallel Aware": false, "Join Type": "Inner", "Startup Cost": 45.05, "Total Cost": 21412.56, "Plan Rows": 320015, "Plan Width": 14, "Output": ["partsupp.ps_partkey", "partsupp.ps_supplycost", "partsupp.ps_availqty"], "Inner Unique": false, "Plans": [{"Node Type": "Nested Loop", "Parent Relationship": "Outer", "Parallel Aware": false, "Join Type": "Inner", "Startup Cost": 44.62, "Total Cost": 2244.36, "Plan Rows": 4000, "Plan Width": 4, "Output": ["supplier.s_suppkey"], "Inner Unique": false, "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Relation Name": "nation", "Schema": "public", "Alias": "nation", "Startup Cost": 0.0, "Total Cost": 1.31, "Plan Rows": 1, "Plan Width": 4, "Output": ["nation.n_nationkey", "nation.n_name", "nation.n_regionkey", "nation.n_comment"], "Filter": "(nation.n_name = 'CHINA'::bpchar)"}, {"Node Type": "Bitmap Heap Scan", "Parent Relationship": "Inner", "Parallel Aware": false, "Relation Name": "supplier", "Schema": "public", "Alias": "supplier", "Startup Cost": 44.62, "Total Cost": 2203.05, "Plan Rows": 4000, "Plan Width": 8, "Output": ["supplier.s_suppkey", "supplier.s_name", "supplier.s_address", "supplier.s_nationkey", "supplier.s_phone", "supplier.s_acctbal", "supplier.s_comment"], "Recheck Cond": "(supplier.s_nationkey = nation.n_nationkey)", "Plans": [{"Node Type": "Bitmap Index Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Index Name": "s_nk", "Startup Cost": 0.0, "Total Cost": 43.62, "Plan Rows": 4000, "Plan Width": 0, "Index Cond": "(supplier.s_nationkey = nation.n_nationkey)"}]}]}, {"Node Type": "Index Scan", "Parent Relationship": "Inner", "Parallel Aware": false, "Scan Direction": "Forward", "Index Name": "ps_sk_pk", "Relation Name": "partsupp", "Schema": "public", "Alias": "partsupp", "Startup Cost": 0.43, "Total Cost": 3.99, "Plan Rows": 80, "Plan Width": 18, "Output": ["partsupp.ps_partkey", "partsupp.ps_suppkey", "partsupp.ps_availqty", "partsupp.ps_supplycost", "partsupp.ps_comment"], "Index Cond": "(partsupp.ps_suppkey = supplier.s_suppkey)"}]}]}]}]}} diff --git a/dev9/pg12/tpch/sf_10/explain/15721/12-1.ok b/dev9/pg12/tpch/sf_10/explain/15721/12-1.ok new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/dev9/pg12/tpch/sf_10/explain/15721/12-1.res b/dev9/pg12/tpch/sf_10/explain/15721/12-1.res new file mode 100644 index 0000000000000000000000000000000000000000..4bf474e3be404cd239493ecb900c93f83907ebe2 --- /dev/null +++ b/dev9/pg12/tpch/sf_10/explain/15721/12-1.res @@ -0,0 +1 @@ +{"Plan": {"Node Type": "Aggregate", "Strategy": "Sorted", "Partial Mode": "Finalize", "Parallel Aware": false, "Startup Cost": 1375675.75, "Total Cost": 1376503.62, "Plan Rows": 7, "Plan Width": 27, "Output": ["lineitem.l_shipmode", "sum(CASE WHEN ((orders.o_orderpriority = '1-URGENT'::bpchar) OR (orders.o_orderpriority = '2-HIGH'::bpchar)) THEN 1 ELSE 0 END)", "sum(CASE WHEN ((orders.o_orderpriority <> '1-URGENT'::bpchar) AND (orders.o_orderpriority <> '2-HIGH'::bpchar)) THEN 1 ELSE 0 END)"], "Group Key": ["lineitem.l_shipmode"], "Plans": [{"Node Type": "Gather Merge", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 1375675.75, "Total Cost": 1376503.18, "Plan Rows": 49, "Plan Width": 27, "Output": ["lineitem.l_shipmode", "(PARTIAL sum(CASE WHEN ((orders.o_orderpriority = '1-URGENT'::bpchar) OR (orders.o_orderpriority = '2-HIGH'::bpchar)) THEN 1 ELSE 0 END))", "(PARTIAL sum(CASE WHEN ((orders.o_orderpriority <> '1-URGENT'::bpchar) AND (orders.o_orderpriority <> '2-HIGH'::bpchar)) THEN 1 ELSE 0 END))"], "Workers Planned": 7, "Plans": [{"Node Type": "Aggregate", "Strategy": "Sorted", "Partial Mode": "Partial", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 1374675.63, "Total Cost": 1375497.06, "Plan Rows": 7, "Plan Width": 27, "Output": ["lineitem.l_shipmode", "PARTIAL sum(CASE WHEN ((orders.o_orderpriority = '1-URGENT'::bpchar) OR (orders.o_orderpriority = '2-HIGH'::bpchar)) THEN 1 ELSE 0 END)", "PARTIAL sum(CASE WHEN ((orders.o_orderpriority <> '1-URGENT'::bpchar) AND (orders.o_orderpriority <> '2-HIGH'::bpchar)) THEN 1 ELSE 0 END)"], "Group Key": ["lineitem.l_shipmode"], "Plans": [{"Node Type": "Sort", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 1374675.63, "Total Cost": 1374778.3, "Plan Rows": 41068, "Plan Width": 27, "Output": ["lineitem.l_shipmode", "orders.o_orderpriority"], "Sort Key": ["lineitem.l_shipmode"], "Plans": [{"Node Type": "Nested Loop", "Parent Relationship": "Outer", "Parallel Aware": false, "Join Type": "Inner", "Startup Cost": 0.43, "Total Cost": 1371528.65, "Plan Rows": 41068, "Plan Width": 27, "Output": ["lineitem.l_shipmode", "orders.o_orderpriority"], "Inner Unique": true, "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": true, "Relation Name": "lineitem", "Schema": "public", "Alias": "lineitem", "Startup Cost": 0.0, "Total Cost": 1317353.72, "Plan Rows": 41068, "Plan Width": 15, "Output": ["lineitem.l_orderkey", "lineitem.l_partkey", "lineitem.l_suppkey", "lineitem.l_linenumber", "lineitem.l_quantity", "lineitem.l_extendedprice", "lineitem.l_discount", "lineitem.l_tax", "lineitem.l_returnflag", "lineitem.l_linestatus", "lineitem.l_shipdate", "lineitem.l_commitdate", "lineitem.l_receiptdate", "lineitem.l_shipinstruct", "lineitem.l_shipmode", "lineitem.l_comment"], "Filter": "((lineitem.l_shipmode = ANY ('{MAIL,TRUCK}'::bpchar[])) AND (lineitem.l_commitdate < lineitem.l_receiptdate) AND (lineitem.l_shipdate < lineitem.l_commitdate) AND (lineitem.l_receiptdate >= '1995-01-01'::date) AND (lineitem.l_receiptdate < '1996-01-01 00:00:00'::timestamp without time zone))"}, {"Node Type": "Index Scan", "Parent Relationship": "Inner", "Parallel Aware": false, "Scan Direction": "Forward", "Index Name": "o_ok", "Relation Name": "orders", "Schema": "public", "Alias": "orders", "Startup Cost": 0.43, "Total Cost": 1.32, "Plan Rows": 1, "Plan Width": 20, "Output": ["orders.o_orderkey", "orders.o_custkey", "orders.o_orderstatus", "orders.o_totalprice", "orders.o_orderdate", "orders.o_orderpriority", "orders.o_clerk", "orders.o_shippriority", "orders.o_comment"], "Index Cond": "(orders.o_orderkey = lineitem.l_orderkey)"}]}]}]}]}]}} diff --git a/dev9/pg12/tpch/sf_10/explain/15721/13-1.ok b/dev9/pg12/tpch/sf_10/explain/15721/13-1.ok new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/dev9/pg12/tpch/sf_10/explain/15721/13-1.res b/dev9/pg12/tpch/sf_10/explain/15721/13-1.res new file mode 100644 index 0000000000000000000000000000000000000000..8d62d445e60fbc11a032217d3bf83d1d4857720d --- /dev/null +++ b/dev9/pg12/tpch/sf_10/explain/15721/13-1.res @@ -0,0 +1 @@ +{"Plan": {"Node Type": "Sort", "Parallel Aware": false, "Startup Cost": 922427.61, "Total Cost": 922428.11, "Plan Rows": 200, "Plan Width": 16, "Output": ["(count(orders.o_orderkey))", "(count(*))"], "Sort Key": ["(count(*)) DESC", "(count(orders.o_orderkey)) DESC"], "Plans": [{"Node Type": "Aggregate", "Strategy": "Hashed", "Partial Mode": "Simple", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 922417.96, "Total Cost": 922419.96, "Plan Rows": 200, "Plan Width": 16, "Output": ["(count(orders.o_orderkey))", "count(*)"], "Group Key": ["count(orders.o_orderkey)"], "Plans": [{"Node Type": "Aggregate", "Strategy": "Sorted", "Partial Mode": "Simple", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 16.0, "Total Cost": 899917.96, "Plan Rows": 1500000, "Plan Width": 12, "Output": ["customer.c_custkey", "count(orders.o_orderkey)"], "Group Key": ["customer.c_custkey"], "Plans": [{"Node Type": "Merge Join", "Parent Relationship": "Outer", "Parallel Aware": false, "Join Type": "Left", "Startup Cost": 16.0, "Total Cost": 810821.13, "Plan Rows": 14819366, "Plan Width": 8, "Output": ["customer.c_custkey", "orders.o_orderkey"], "Inner Unique": false, "Merge Cond": "(customer.c_custkey = orders.o_custkey)", "Plans": [{"Node Type": "Index Only Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Scan Direction": "Forward", "Index Name": "c_ck", "Relation Name": "customer", "Schema": "public", "Alias": "customer", "Startup Cost": 0.43, "Total Cost": 27028.03, "Plan Rows": 1500000, "Plan Width": 4, "Output": ["customer.c_custkey"]}, {"Node Type": "Index Scan", "Parent Relationship": "Inner", "Parallel Aware": false, "Scan Direction": "Forward", "Index Name": "o_ck", "Relation Name": "orders", "Schema": "public", "Alias": "orders", "Startup Cost": 0.43, "Total Cost": 594801.03, "Plan Rows": 14819366, "Plan Width": 8, "Output": ["orders.o_orderkey", "orders.o_custkey", "orders.o_orderstatus", "orders.o_totalprice", "orders.o_orderdate", "orders.o_orderpriority", "orders.o_clerk", "orders.o_shippriority", "orders.o_comment"], "Filter": "((orders.o_comment)::text !~~ '%unusual%requests%'::text)"}]}]}]}]}} diff --git a/dev9/pg12/tpch/sf_10/explain/15721/14-1.ok b/dev9/pg12/tpch/sf_10/explain/15721/14-1.ok new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/dev9/pg12/tpch/sf_10/explain/15721/14-1.res b/dev9/pg12/tpch/sf_10/explain/15721/14-1.res new file mode 100644 index 0000000000000000000000000000000000000000..f570937af9f9ea4b673e22bda5c46393de437487 --- /dev/null +++ b/dev9/pg12/tpch/sf_10/explain/15721/14-1.res @@ -0,0 +1 @@ +{"Plan": {"Node Type": "Aggregate", "Strategy": "Plain", "Partial Mode": "Finalize", "Parallel Aware": false, "Startup Cost": 706343.62, "Total Cost": 706343.64, "Plan Rows": 1, "Plan Width": 32, "Output": ["((100.00 * sum(CASE WHEN ((part.p_type)::text ~~ 'PROMO%'::text) THEN (lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount)) ELSE '0'::numeric END)) / sum((lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount))))"], "Plans": [{"Node Type": "Gather", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 706343.17, "Total Cost": 706343.58, "Plan Rows": 4, "Plan Width": 64, "Output": ["(PARTIAL sum(CASE WHEN ((part.p_type)::text ~~ 'PROMO%'::text) THEN (lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount)) ELSE '0'::numeric END))", "(PARTIAL sum((lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount))))"], "Workers Planned": 4, "Single Copy": false, "Plans": [{"Node Type": "Aggregate", "Strategy": "Plain", "Partial Mode": "Partial", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 705343.17, "Total Cost": 705343.18, "Plan Rows": 1, "Plan Width": 64, "Output": ["PARTIAL sum(CASE WHEN ((part.p_type)::text ~~ 'PROMO%'::text) THEN (lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount)) ELSE '0'::numeric END)", "PARTIAL sum((lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount)))"], "Plans": [{"Node Type": "Hash Join", "Parent Relationship": "Outer", "Parallel Aware": true, "Join Type": "Inner", "Startup Cost": 649249.98, "Total Cost": 701947.13, "Plan Rows": 194059, "Plan Width": 33, "Output": ["part.p_type", "lineitem.l_extendedprice", "lineitem.l_discount"], "Inner Unique": false, "Hash Cond": "(part.p_partkey = lineitem.l_partkey)", "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": true, "Relation Name": "part", "Schema": "public", "Alias": "part", "Startup Cost": 0.0, "Total Cost": 45962.0, "Plan Rows": 500000, "Plan Width": 25, "Output": ["part.p_partkey", "part.p_name", "part.p_mfgr", "part.p_brand", "part.p_type", "part.p_size", "part.p_container", "part.p_retailprice", "part.p_comment"]}, {"Node Type": "Hash", "Parent Relationship": "Inner", "Parallel Aware": true, "Startup Cost": 646824.24, "Total Cost": 646824.24, "Plan Rows": 194059, "Plan Width": 16, "Output": ["lineitem.l_extendedprice", "lineitem.l_discount", "lineitem.l_partkey"], "Plans": [{"Node Type": "Index Scan", "Parent Relationship": "Outer", "Parallel Aware": true, "Scan Direction": "Forward", "Index Name": "l_sd", "Relation Name": "lineitem", "Schema": "public", "Alias": "lineitem", "Startup Cost": 0.56, "Total Cost": 646824.24, "Plan Rows": 194059, "Plan Width": 16, "Output": ["lineitem.l_extendedprice", "lineitem.l_discount", "lineitem.l_partkey"], "Index Cond": "((lineitem.l_shipdate >= '1995-05-01'::date) AND (lineitem.l_shipdate < '1995-06-01 00:00:00'::timestamp without time zone))"}]}]}]}]}]}} diff --git a/dev9/pg12/tpch/sf_10/explain/15721/15-1.ok b/dev9/pg12/tpch/sf_10/explain/15721/15-1.ok new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/dev9/pg12/tpch/sf_10/explain/15721/15-1.res b/dev9/pg12/tpch/sf_10/explain/15721/15-1.res new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/dev9/pg12/tpch/sf_10/explain/15721/15-2.ok b/dev9/pg12/tpch/sf_10/explain/15721/15-2.ok new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/dev9/pg12/tpch/sf_10/explain/15721/15-2.res b/dev9/pg12/tpch/sf_10/explain/15721/15-2.res new file mode 100644 index 0000000000000000000000000000000000000000..170f232af103d5b0442c0861e83bd9ec1405816b --- /dev/null +++ b/dev9/pg12/tpch/sf_10/explain/15721/15-2.res @@ -0,0 +1 @@ +{"Plan": {"Node Type": "Nested Loop", "Parallel Aware": false, "Join Type": "Inner", "Startup Cost": 2581294.46, "Total Cost": 2678558.52, "Plan Rows": 499, "Plan Width": 103, "Output": ["supplier.s_suppkey", "supplier.s_name", "supplier.s_address", "supplier.s_phone", "(sum((lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount))))"], "Inner Unique": true, "Plans": [{"Node Type": "Aggregate", "Strategy": "Plain", "Partial Mode": "Simple", "Parent Relationship": "InitPlan", "Subplan Name": "InitPlan 1 (returns $0)", "Parallel Aware": false, "Startup Cost": 1314432.88, "Total Cost": 1314432.89, "Plan Rows": 1, "Plan Width": 32, "Output": ["max((sum((lineitem_1.l_extendedprice * ('1'::numeric - lineitem_1.l_discount)))))"], "Plans": [{"Node Type": "Aggregate", "Strategy": "Hashed", "Partial Mode": "Simple", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 1311937.5, "Total Cost": 1313185.19, "Plan Rows": 99815, "Plan Width": 36, "Output": ["lineitem_1.l_suppkey", "sum((lineitem_1.l_extendedprice * ('1'::numeric - lineitem_1.l_discount)))"], "Group Key": ["lineitem_1.l_suppkey"], "Plans": [{"Node Type": "Index Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Scan Direction": "Forward", "Index Name": "l_sd", "Relation Name": "lineitem", "Schema": "public", "Alias": "lineitem_1", "Startup Cost": 0.56, "Total Cost": 1289242.09, "Plan Rows": 2269541, "Plan Width": 16, "Output": ["lineitem_1.l_orderkey", "lineitem_1.l_partkey", "lineitem_1.l_suppkey", "lineitem_1.l_linenumber", "lineitem_1.l_quantity", "lineitem_1.l_extendedprice", "lineitem_1.l_discount", "lineitem_1.l_tax", "lineitem_1.l_returnflag", "lineitem_1.l_linestatus", "lineitem_1.l_shipdate", "lineitem_1.l_commitdate", "lineitem_1.l_receiptdate", "lineitem_1.l_shipinstruct", "lineitem_1.l_shipmode", "lineitem_1.l_comment"], "Index Cond": "((lineitem_1.l_shipdate >= '1995-01-01'::date) AND (lineitem_1.l_shipdate < '1995-04-01 00:00:00'::timestamp without time zone))"}]}]}, {"Node Type": "Aggregate", "Strategy": "Sorted", "Partial Mode": "Finalize", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 1266861.28, "Total Cost": 1363182.75, "Plan Rows": 499, "Plan Width": 36, "Output": ["lineitem.l_suppkey", "sum((lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount)))"], "Group Key": ["lineitem.l_suppkey"], "Filter": "(sum((lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount))) = $0)", "Plans": [{"Node Type": "Gather Merge", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 1266861.28, "Total Cost": 1352702.18, "Plan Rows": 698705, "Plan Width": 36, "Output": ["lineitem.l_suppkey", "(PARTIAL sum((lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount))))"], "Workers Planned": 7, "Plans": [{"Node Type": "Sort", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 1265861.16, "Total Cost": 1266110.69, "Plan Rows": 99815, "Plan Width": 36, "Output": ["lineitem.l_suppkey", "(PARTIAL sum((lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount))))"], "Sort Key": ["lineitem.l_suppkey"], "Plans": [{"Node Type": "Aggregate", "Strategy": "Hashed", "Partial Mode": "Partial", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 1256325.35, "Total Cost": 1257573.03, "Plan Rows": 99815, "Plan Width": 36, "Output": ["lineitem.l_suppkey", "PARTIAL sum((lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount)))"], "Group Key": ["lineitem.l_suppkey"], "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": true, "Relation Name": "lineitem", "Schema": "public", "Alias": "lineitem", "Startup Cost": 0.0, "Total Cost": 1253083.15, "Plan Rows": 324220, "Plan Width": 16, "Output": ["lineitem.l_orderkey", "lineitem.l_partkey", "lineitem.l_suppkey", "lineitem.l_linenumber", "lineitem.l_quantity", "lineitem.l_extendedprice", "lineitem.l_discount", "lineitem.l_tax", "lineitem.l_returnflag", "lineitem.l_linestatus", "lineitem.l_shipdate", "lineitem.l_commitdate", "lineitem.l_receiptdate", "lineitem.l_shipinstruct", "lineitem.l_shipmode", "lineitem.l_comment"], "Filter": "((lineitem.l_shipdate >= '1995-01-01'::date) AND (lineitem.l_shipdate < '1995-04-01 00:00:00'::timestamp without time zone))"}]}]}]}]}, {"Node Type": "Index Scan", "Parent Relationship": "Inner", "Parallel Aware": false, "Scan Direction": "Forward", "Index Name": "s_sk", "Relation Name": "supplier", "Schema": "public", "Alias": "supplier", "Startup Cost": 0.29, "Total Cost": 1.88, "Plan Rows": 1, "Plan Width": 71, "Output": ["supplier.s_suppkey", "supplier.s_name", "supplier.s_address", "supplier.s_nationkey", "supplier.s_phone", "supplier.s_acctbal", "supplier.s_comment"], "Index Cond": "(supplier.s_suppkey = lineitem.l_suppkey)"}]}} diff --git a/dev9/pg12/tpch/sf_10/explain/15721/15-3.ok b/dev9/pg12/tpch/sf_10/explain/15721/15-3.ok new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/dev9/pg12/tpch/sf_10/explain/15721/15-3.res b/dev9/pg12/tpch/sf_10/explain/15721/15-3.res new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/dev9/pg12/tpch/sf_10/explain/15721/16-1.ok b/dev9/pg12/tpch/sf_10/explain/15721/16-1.ok new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/dev9/pg12/tpch/sf_10/explain/15721/16-1.res b/dev9/pg12/tpch/sf_10/explain/15721/16-1.res new file mode 100644 index 0000000000000000000000000000000000000000..4d932821fbcecfcec0f437485a2d79fcea7d2dc1 --- /dev/null +++ b/dev9/pg12/tpch/sf_10/explain/15721/16-1.res @@ -0,0 +1 @@ +{"Plan": {"Node Type": "Sort", "Parallel Aware": false, "Startup Cost": 289386.37, "Total Cost": 289770.61, "Plan Rows": 153698, "Plan Width": 44, "Output": ["part.p_brand", "part.p_type", "part.p_size", "(count(DISTINCT partsupp.ps_suppkey))"], "Sort Key": ["(count(DISTINCT partsupp.ps_suppkey)) DESC", "part.p_brand", "part.p_type", "part.p_size"], "Plans": [{"Node Type": "Aggregate", "Strategy": "Sorted", "Partial Mode": "Simple", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 267189.03, "Total Cost": 276145.49, "Plan Rows": 153698, "Plan Width": 44, "Output": ["part.p_brand", "part.p_type", "part.p_size", "count(DISTINCT partsupp.ps_suppkey)"], "Group Key": ["part.p_brand", "part.p_type", "part.p_size"], "Plans": [{"Node Type": "Sort", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 267189.03, "Total Cost": 268672.93, "Plan Rows": 593558, "Plan Width": 40, "Output": ["part.p_brand", "part.p_type", "part.p_size", "partsupp.ps_suppkey"], "Sort Key": ["part.p_brand", "part.p_type", "part.p_size"], "Plans": [{"Node Type": "Gather", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 58855.84, "Total Cost": 200761.8, "Plan Rows": 593558, "Plan Width": 40, "Output": ["part.p_brand", "part.p_type", "part.p_size", "partsupp.ps_suppkey"], "Workers Planned": 6, "Single Copy": false, "Plans": [{"Node Type": "Hash Join", "Parent Relationship": "Outer", "Parallel Aware": true, "Join Type": "Inner", "Startup Cost": 57855.84, "Total Cost": 140406.0, "Plan Rows": 98926, "Plan Width": 40, "Output": ["part.p_brand", "part.p_type", "part.p_size", "partsupp.ps_suppkey"], "Inner Unique": true, "Hash Cond": "(partsupp.ps_partkey = part.p_partkey)", "Plans": [{"Node Type": "Index Only Scan", "Parent Relationship": "Outer", "Parallel Aware": true, "Scan Direction": "Forward", "Index Name": "ps_pk_sk", "Relation Name": "partsupp", "Schema": "public", "Alias": "partsupp", "Startup Cost": 3466.46, "Total Cost": 84266.53, "Plan Rows": 666698, "Plan Width": 8, "Output": ["partsupp.ps_partkey", "partsupp.ps_suppkey"], "Filter": "(NOT (hashed SubPlan 1))", "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "SubPlan", "Subplan Name": "SubPlan 1", "Parallel Aware": false, "Relation Name": "supplier", "Schema": "public", "Alias": "supplier", "Startup Cost": 0.0, "Total Cost": 3466.0, "Plan Rows": 10, "Plan Width": 4, "Output": ["supplier.s_suppkey"], "Filter": "((supplier.s_comment)::text ~~ '%Customer%Complaints%'::text)"}]}, {"Node Type": "Hash", "Parent Relationship": "Inner", "Parallel Aware": true, "Startup Cost": 53462.0, "Total Cost": 53462.0, "Plan Rows": 74191, "Plan Width": 40, "Output": ["part.p_brand", "part.p_type", "part.p_size", "part.p_partkey"], "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": true, "Relation Name": "part", "Schema": "public", "Alias": "part", "Startup Cost": 0.0, "Total Cost": 53462.0, "Plan Rows": 74191, "Plan Width": 40, "Output": ["part.p_brand", "part.p_type", "part.p_size", "part.p_partkey"], "Filter": "((part.p_brand <> 'Brand#11'::bpchar) AND ((part.p_type)::text !~~ 'ECONOMY ANODIZED%'::text) AND (part.p_size = ANY ('{42,16,39,18,23,32,44,41}'::integer[])))"}]}]}]}]}]}]}} diff --git a/dev9/pg12/tpch/sf_10/explain/15721/17-1.ok b/dev9/pg12/tpch/sf_10/explain/15721/17-1.ok new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/dev9/pg12/tpch/sf_10/explain/15721/17-1.res b/dev9/pg12/tpch/sf_10/explain/15721/17-1.res new file mode 100644 index 0000000000000000000000000000000000000000..d7283533814285098abf660f65b98f4d9e2f239a --- /dev/null +++ b/dev9/pg12/tpch/sf_10/explain/15721/17-1.res @@ -0,0 +1 @@ +{"Plan": {"Node Type": "Aggregate", "Strategy": "Plain", "Partial Mode": "Simple", "Parallel Aware": false, "Startup Cost": 1931976.26, "Total Cost": 1931976.27, "Plan Rows": 1, "Plan Width": 32, "Output": ["(sum(lineitem.l_extendedprice) / 7.0)"], "Plans": [{"Node Type": "Hash Join", "Parent Relationship": "Outer", "Parallel Aware": false, "Join Type": "Inner", "Startup Cost": 49696.45, "Total Cost": 1931924.17, "Plan Rows": 20835, "Plan Width": 8, "Output": ["lineitem.l_extendedprice"], "Inner Unique": true, "Hash Cond": "(lineitem.l_partkey = part.p_partkey)", "Join Filter": "(lineitem.l_quantity < (SubPlan 1))", "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Relation Name": "lineitem", "Schema": "public", "Alias": "lineitem", "Startup Cost": 0.0, "Total Cost": 1724400.68, "Plan Rows": 59985868, "Plan Width": 17, "Output": ["lineitem.l_orderkey", "lineitem.l_partkey", "lineitem.l_suppkey", "lineitem.l_linenumber", "lineitem.l_quantity", "lineitem.l_extendedprice", "lineitem.l_discount", "lineitem.l_tax", "lineitem.l_returnflag", "lineitem.l_linestatus", "lineitem.l_shipdate", "lineitem.l_commitdate", "lineitem.l_receiptdate", "lineitem.l_shipinstruct", "lineitem.l_shipmode", "lineitem.l_comment"]}, {"Node Type": "Hash", "Parent Relationship": "Inner", "Parallel Aware": false, "Startup Cost": 49670.4, "Total Cost": 49670.4, "Plan Rows": 2084, "Plan Width": 4, "Output": ["part.p_partkey"], "Plans": [{"Node Type": "Gather", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 1000.0, "Total Cost": 49670.4, "Plan Rows": 2084, "Plan Width": 4, "Output": ["part.p_partkey"], "Workers Planned": 4, "Single Copy": false, "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": true, "Relation Name": "part", "Schema": "public", "Alias": "part", "Startup Cost": 0.0, "Total Cost": 48462.0, "Plan Rows": 521, "Plan Width": 4, "Output": ["part.p_partkey"], "Filter": "((part.p_brand = 'Brand#14'::bpchar) AND (part.p_container = 'WRAP BOX'::bpchar))"}]}]}, {"Node Type": "Aggregate", "Strategy": "Plain", "Partial Mode": "Simple", "Parent Relationship": "SubPlan", "Subplan Name": "SubPlan 1", "Parallel Aware": false, "Startup Cost": 36.39, "Total Cost": 36.4, "Plan Rows": 1, "Plan Width": 32, "Output": ["(0.2 * avg(lineitem_1.l_quantity))"], "Plans": [{"Node Type": "Index Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Scan Direction": "Forward", "Index Name": "l_pk", "Relation Name": "lineitem", "Schema": "public", "Alias": "lineitem_1", "Startup Cost": 0.56, "Total Cost": 36.31, "Plan Rows": 31, "Plan Width": 5, "Output": ["lineitem_1.l_orderkey", "lineitem_1.l_partkey", "lineitem_1.l_suppkey", "lineitem_1.l_linenumber", "lineitem_1.l_quantity", "lineitem_1.l_extendedprice", "lineitem_1.l_discount", "lineitem_1.l_tax", "lineitem_1.l_returnflag", "lineitem_1.l_linestatus", "lineitem_1.l_shipdate", "lineitem_1.l_commitdate", "lineitem_1.l_receiptdate", "lineitem_1.l_shipinstruct", "lineitem_1.l_shipmode", "lineitem_1.l_comment"], "Index Cond": "(lineitem_1.l_partkey = part.p_partkey)"}]}]}]}} diff --git a/dev9/pg12/tpch/sf_10/explain/15721/18-1.ok b/dev9/pg12/tpch/sf_10/explain/15721/18-1.ok new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/dev9/pg12/tpch/sf_10/explain/15721/18-1.res b/dev9/pg12/tpch/sf_10/explain/15721/18-1.res new file mode 100644 index 0000000000000000000000000000000000000000..84e3c4e8115539fe25305da118d7f92197fcd332 --- /dev/null +++ b/dev9/pg12/tpch/sf_10/explain/15721/18-1.res @@ -0,0 +1 @@ +{"Plan": {"Node Type": "Limit", "Parallel Aware": false, "Startup Cost": 3652195.91, "Total Cost": 3652196.16, "Plan Rows": 100, "Plan Width": 71, "Output": ["customer.c_name", "customer.c_custkey", "orders.o_orderkey", "orders.o_orderdate", "orders.o_totalprice", "(sum(lineitem.l_quantity))"], "Plans": [{"Node Type": "Sort", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 3652195.91, "Total Cost": 3659044.05, "Plan Rows": 2739257, "Plan Width": 71, "Output": ["customer.c_name", "customer.c_custkey", "orders.o_orderkey", "orders.o_orderdate", "orders.o_totalprice", "(sum(lineitem.l_quantity))"], "Sort Key": ["orders.o_totalprice DESC", "orders.o_orderdate"], "Plans": [{"Node Type": "Aggregate", "Strategy": "Sorted", "Partial Mode": "Finalize", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 3142677.39, "Total Cost": 3547503.48, "Plan Rows": 2739257, "Plan Width": 71, "Output": ["customer.c_name", "customer.c_custkey", "orders.o_orderkey", "orders.o_orderdate", "orders.o_totalprice", "sum(lineitem.l_quantity)"], "Group Key": ["customer.c_custkey", "orders.o_orderkey"], "Plans": [{"Node Type": "Gather Merge", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 3142677.39, "Total Cost": 3485870.19, "Plan Rows": 2739258, "Plan Width": 71, "Output": ["customer.c_custkey", "orders.o_orderkey", "customer.c_name", "orders.o_orderdate", "orders.o_totalprice", "(PARTIAL sum(lineitem.l_quantity))"], "Workers Planned": 6, "Plans": [{"Node Type": "Aggregate", "Strategy": "Sorted", "Partial Mode": "Partial", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 3141677.29, "Total Cost": 3151949.51, "Plan Rows": 456543, "Plan Width": 71, "Output": ["customer.c_custkey", "orders.o_orderkey", "customer.c_name", "orders.o_orderdate", "orders.o_totalprice", "PARTIAL sum(lineitem.l_quantity)"], "Group Key": ["customer.c_custkey", "orders.o_orderkey"], "Plans": [{"Node Type": "Sort", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 3141677.29, "Total Cost": 3142818.65, "Plan Rows": 456543, "Plan Width": 44, "Output": ["customer.c_custkey", "orders.o_orderkey", "customer.c_name", "orders.o_orderdate", "orders.o_totalprice", "lineitem.l_quantity"], "Sort Key": ["customer.c_custkey", "orders.o_orderkey"], "Plans": [{"Node Type": "Hash Join", "Parent Relationship": "Outer", "Parallel Aware": true, "Join Type": "Inner", "Startup Cost": 2598554.38, "Total Cost": 3090534.7, "Plan Rows": 456543, "Plan Width": 44, "Output": ["customer.c_custkey", "orders.o_orderkey", "customer.c_name", "orders.o_orderdate", "orders.o_totalprice", "lineitem.l_quantity"], "Inner Unique": true, "Hash Cond": "(orders.o_custkey = customer.c_custkey)", "Plans": [{"Node Type": "Nested Loop", "Parent Relationship": "Outer", "Parallel Aware": false, "Join Type": "Inner", "Startup Cost": 2554289.88, "Total Cost": 3045071.78, "Plan Rows": 456543, "Plan Width": 25, "Output": ["orders.o_orderkey", "orders.o_orderdate", "orders.o_totalprice", "orders.o_custkey", "lineitem.l_quantity"], "Inner Unique": false, "Plans": [{"Node Type": "Hash Join", "Parent Relationship": "Outer", "Parallel Aware": false, "Join Type": "Inner", "Startup Cost": 2554289.31, "Total Cost": 2878737.23, "Plan Rows": 114160, "Plan Width": 24, "Output": ["orders.o_orderkey", "orders.o_orderdate", "orders.o_totalprice", "orders.o_custkey", "lineitem_1.l_orderkey"], "Inner Unique": true, "Hash Cond": "(orders.o_orderkey = lineitem_1.l_orderkey)", "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": true, "Relation Name": "orders", "Schema": "public", "Alias": "orders", "Startup Cost": 0.0, "Total Cost": 285911.54, "Plan Rows": 2499954, "Plan Width": 20, "Output": ["orders.o_orderkey", "orders.o_orderdate", "orders.o_totalprice", "orders.o_custkey"]}, {"Node Type": "Hash", "Parent Relationship": "Inner", "Parallel Aware": false, "Startup Cost": 2543051.28, "Total Cost": 2543051.28, "Plan Rows": 684963, "Plan Width": 4, "Output": ["lineitem_1.l_orderkey"], "Plans": [{"Node Type": "Aggregate", "Strategy": "Sorted", "Partial Mode": "Simple", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 0.56, "Total Cost": 2536201.65, "Plan Rows": 684963, "Plan Width": 4, "Output": ["lineitem_1.l_orderkey"], "Group Key": ["lineitem_1.l_orderkey"], "Filter": "(sum(lineitem_1.l_quantity) > '314'::numeric)", "Plans": [{"Node Type": "Index Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Scan Direction": "Forward", "Index Name": "l_ok", "Relation Name": "lineitem", "Schema": "public", "Alias": "lineitem_1", "Startup Cost": 0.56, "Total Cost": 2205448.99, "Plan Rows": 59985868, "Plan Width": 9, "Output": ["lineitem_1.l_orderkey", "lineitem_1.l_partkey", "lineitem_1.l_suppkey", "lineitem_1.l_linenumber", "lineitem_1.l_quantity", "lineitem_1.l_extendedprice", "lineitem_1.l_discount", "lineitem_1.l_tax", "lineitem_1.l_returnflag", "lineitem_1.l_linestatus", "lineitem_1.l_shipdate", "lineitem_1.l_commitdate", "lineitem_1.l_receiptdate", "lineitem_1.l_shipinstruct", "lineitem_1.l_shipmode", "lineitem_1.l_comment"]}]}]}]}, {"Node Type": "Index Scan", "Parent Relationship": "Inner", "Parallel Aware": false, "Scan Direction": "Forward", "Index Name": "lineitem_pkey", "Relation Name": "lineitem", "Schema": "public", "Alias": "lineitem", "Startup Cost": 0.56, "Total Cost": 1.17, "Plan Rows": 29, "Plan Width": 9, "Output": ["lineitem.l_orderkey", "lineitem.l_partkey", "lineitem.l_suppkey", "lineitem.l_linenumber", "lineitem.l_quantity", "lineitem.l_extendedprice", "lineitem.l_discount", "lineitem.l_tax", "lineitem.l_returnflag", "lineitem.l_linestatus", "lineitem.l_shipdate", "lineitem.l_commitdate", "lineitem.l_receiptdate", "lineitem.l_shipinstruct", "lineitem.l_shipmode", "lineitem.l_comment"], "Index Cond": "(lineitem.l_orderkey = orders.o_orderkey)"}]}, {"Node Type": "Hash", "Parent Relationship": "Inner", "Parallel Aware": true, "Startup Cost": 39577.0, "Total Cost": 39577.0, "Plan Rows": 375000, "Plan Width": 23, "Output": ["customer.c_name", "customer.c_custkey"], "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": true, "Relation Name": "customer", "Schema": "public", "Alias": "customer", "Startup Cost": 0.0, "Total Cost": 39577.0, "Plan Rows": 375000, "Plan Width": 23, "Output": ["customer.c_name", "customer.c_custkey"]}]}]}]}]}]}]}]}]}} diff --git a/dev9/pg12/tpch/sf_10/explain/15721/19-1.ok b/dev9/pg12/tpch/sf_10/explain/15721/19-1.ok new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/dev9/pg12/tpch/sf_10/explain/15721/19-1.res b/dev9/pg12/tpch/sf_10/explain/15721/19-1.res new file mode 100644 index 0000000000000000000000000000000000000000..72474dc28edf84c35ccebb5d3dfa8c3809a7748c --- /dev/null +++ b/dev9/pg12/tpch/sf_10/explain/15721/19-1.res @@ -0,0 +1 @@ +{"Plan": {"Node Type": "Aggregate", "Strategy": "Plain", "Partial Mode": "Finalize", "Parallel Aware": false, "Startup Cost": 106176.29, "Total Cost": 106176.3, "Plan Rows": 1, "Plan Width": 32, "Output": ["sum((lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount)))"], "Plans": [{"Node Type": "Gather", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 106175.86, "Total Cost": 106176.27, "Plan Rows": 4, "Plan Width": 32, "Output": ["(PARTIAL sum((lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount))))"], "Workers Planned": 4, "Single Copy": false, "Plans": [{"Node Type": "Aggregate", "Strategy": "Plain", "Partial Mode": "Partial", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 105175.86, "Total Cost": 105175.87, "Plan Rows": 1, "Plan Width": 32, "Output": ["PARTIAL sum((lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount)))"], "Plans": [{"Node Type": "Nested Loop", "Parent Relationship": "Outer", "Parallel Aware": false, "Join Type": "Inner", "Startup Cost": 0.56, "Total Cost": 105173.73, "Plan Rows": 283, "Plan Width": 12, "Output": ["lineitem.l_extendedprice", "lineitem.l_discount"], "Inner Unique": false, "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": true, "Relation Name": "part", "Schema": "public", "Alias": "part", "Startup Cost": 0.0, "Total Cost": 62212.0, "Plan Rows": 1186, "Plan Width": 30, "Output": ["part.p_partkey", "part.p_name", "part.p_mfgr", "part.p_brand", "part.p_type", "part.p_size", "part.p_container", "part.p_retailprice", "part.p_comment"], "Filter": "((part.p_size >= 1) AND (((part.p_brand = 'Brand#52'::bpchar) AND (part.p_container = ANY ('{\"SM CASE\",\"SM BOX\",\"SM PACK\",\"SM PKG\"}'::bpchar[])) AND (part.p_size <= 5)) OR ((part.p_brand = 'Brand#42'::bpchar) AND (part.p_container = ANY ('{\"MED BAG\",\"MED BOX\",\"MED PKG\",\"MED PACK\"}'::bpchar[])) AND (part.p_size <= 10)) OR ((part.p_brand = 'Brand#23'::bpchar) AND (part.p_container = ANY ('{\"LG CASE\",\"LG BOX\",\"LG PACK\",\"LG PKG\"}'::bpchar[])) AND (part.p_size <= 15))))"}, {"Node Type": "Index Scan", "Parent Relationship": "Inner", "Parallel Aware": false, "Scan Direction": "Forward", "Index Name": "l_pk", "Relation Name": "lineitem", "Schema": "public", "Alias": "lineitem", "Startup Cost": 0.56, "Total Cost": 36.21, "Plan Rows": 1, "Plan Width": 21, "Output": ["lineitem.l_orderkey", "lineitem.l_partkey", "lineitem.l_suppkey", "lineitem.l_linenumber", "lineitem.l_quantity", "lineitem.l_extendedprice", "lineitem.l_discount", "lineitem.l_tax", "lineitem.l_returnflag", "lineitem.l_linestatus", "lineitem.l_shipdate", "lineitem.l_commitdate", "lineitem.l_receiptdate", "lineitem.l_shipinstruct", "lineitem.l_shipmode", "lineitem.l_comment"], "Index Cond": "(lineitem.l_partkey = part.p_partkey)", "Filter": "((lineitem.l_shipmode = ANY ('{AIR,\"AIR REG\"}'::bpchar[])) AND (lineitem.l_shipinstruct = 'DELIVER IN PERSON'::bpchar) AND (((lineitem.l_quantity >= '9'::numeric) AND (lineitem.l_quantity <= '19'::numeric)) OR ((lineitem.l_quantity >= '18'::numeric) AND (lineitem.l_quantity <= '28'::numeric)) OR ((lineitem.l_quantity >= '22'::numeric) AND (lineitem.l_quantity <= '32'::numeric))) AND (((part.p_brand = 'Brand#52'::bpchar) AND (part.p_container = ANY ('{\"SM CASE\",\"SM BOX\",\"SM PACK\",\"SM PKG\"}'::bpchar[])) AND (lineitem.l_quantity >= '9'::numeric) AND (lineitem.l_quantity <= '19'::numeric) AND (part.p_size <= 5)) OR ((part.p_brand = 'Brand#42'::bpchar) AND (part.p_container = ANY ('{\"MED BAG\",\"MED BOX\",\"MED PKG\",\"MED PACK\"}'::bpchar[])) AND (lineitem.l_quantity >= '18'::numeric) AND (lineitem.l_quantity <= '28'::numeric) AND (part.p_size <= 10)) OR ((part.p_brand = 'Brand#23'::bpchar) AND (part.p_container = ANY ('{\"LG CASE\",\"LG BOX\",\"LG PACK\",\"LG PKG\"}'::bpchar[])) AND (lineitem.l_quantity >= '22'::numeric) AND (lineitem.l_quantity <= '32'::numeric) AND (part.p_size <= 15))))"}]}]}]}]}} diff --git a/dev9/pg12/tpch/sf_10/explain/15721/2-1.ok b/dev9/pg12/tpch/sf_10/explain/15721/2-1.ok new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/dev9/pg12/tpch/sf_10/explain/15721/2-1.res b/dev9/pg12/tpch/sf_10/explain/15721/2-1.res new file mode 100644 index 0000000000000000000000000000000000000000..b45fad015a4b8d6f74920de640ea5e6683607dfe --- /dev/null +++ b/dev9/pg12/tpch/sf_10/explain/15721/2-1.res @@ -0,0 +1 @@ +{"Plan": {"Node Type": "Limit", "Parallel Aware": false, "Startup Cost": 368768.39, "Total Cost": 368768.4, "Plan Rows": 1, "Plan Width": 192, "Output": ["supplier.s_acctbal", "supplier.s_name", "nation.n_name", "part.p_partkey", "part.p_mfgr", "supplier.s_address", "supplier.s_phone", "supplier.s_comment"], "Plans": [{"Node Type": "Sort", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 368768.39, "Total Cost": 368768.4, "Plan Rows": 1, "Plan Width": 192, "Output": ["supplier.s_acctbal", "supplier.s_name", "nation.n_name", "part.p_partkey", "part.p_mfgr", "supplier.s_address", "supplier.s_phone", "supplier.s_comment"], "Sort Key": ["supplier.s_acctbal DESC", "nation.n_name", "supplier.s_name", "part.p_partkey"], "Plans": [{"Node Type": "Hash Join", "Parent Relationship": "Outer", "Parallel Aware": false, "Join Type": "Inner", "Startup Cost": 160991.99, "Total Cost": 368768.38, "Plan Rows": 1, "Plan Width": 192, "Output": ["supplier.s_acctbal", "supplier.s_name", "nation.n_name", "part.p_partkey", "part.p_mfgr", "supplier.s_address", "supplier.s_phone", "supplier.s_comment"], "Inner Unique": false, "Hash Cond": "((part.p_partkey = partsupp.ps_partkey) AND ((SubPlan 1) = partsupp.ps_supplycost))", "Plans": [{"Node Type": "Gather", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 1000.0, "Total Cost": 50284.9, "Plan Rows": 8229, "Plan Width": 30, "Output": ["part.p_partkey", "part.p_mfgr"], "Workers Planned": 4, "Single Copy": false, "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": true, "Relation Name": "part", "Schema": "public", "Alias": "part", "Startup Cost": 0.0, "Total Cost": 48462.0, "Plan Rows": 2057, "Plan Width": 30, "Output": ["part.p_partkey", "part.p_mfgr"], "Filter": "(((part.p_type)::text ~~ '%TIN'::text) AND (part.p_size = 44))"}]}, {"Node Type": "Hash", "Parent Relationship": "Inner", "Parallel Aware": false, "Startup Cost": 96925.85, "Total Cost": 96925.85, "Plan Rows": 1600076, "Plan Width": 172, "Output": ["supplier.s_acctbal", "supplier.s_name", "supplier.s_address", "supplier.s_phone", "supplier.s_comment", "partsupp.ps_partkey", "partsupp.ps_supplycost", "nation.n_name"], "Plans": [{"Node Type": "Nested Loop", "Parent Relationship": "Outer", "Parallel Aware": false, "Join Type": "Inner", "Startup Cost": 0.85, "Total Cost": 96925.85, "Plan Rows": 1600076, "Plan Width": 172, "Output": ["supplier.s_acctbal", "supplier.s_name", "supplier.s_address", "supplier.s_phone", "supplier.s_comment", "partsupp.ps_partkey", "partsupp.ps_supplycost", "nation.n_name"], "Inner Unique": false, "Plans": [{"Node Type": "Nested Loop", "Parent Relationship": "Outer", "Parallel Aware": false, "Join Type": "Inner", "Startup Cost": 0.42, "Total Cost": 1084.86, "Plan Rows": 20000, "Plan Width": 166, "Output": ["supplier.s_acctbal", "supplier.s_name", "supplier.s_address", "supplier.s_phone", "supplier.s_comment", "supplier.s_suppkey", "nation.n_name"], "Inner Unique": false, "Plans": [{"Node Type": "Nested Loop", "Parent Relationship": "Outer", "Parallel Aware": false, "Join Type": "Inner", "Startup Cost": 0.0, "Total Cost": 2.62, "Plan Rows": 5, "Plan Width": 30, "Output": ["nation.n_name", "nation.n_nationkey"], "Inner Unique": false, "Join Filter": "(nation.n_regionkey = region.r_regionkey)", "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Relation Name": "region", "Schema": "public", "Alias": "region", "Startup Cost": 0.0, "Total Cost": 1.06, "Plan Rows": 1, "Plan Width": 4, "Output": ["region.r_regionkey", "region.r_name", "region.r_comment"], "Filter": "(region.r_name = 'EUROPE'::bpchar)"}, {"Node Type": "Seq Scan", "Parent Relationship": "Inner", "Parallel Aware": false, "Relation Name": "nation", "Schema": "public", "Alias": "nation", "Startup Cost": 0.0, "Total Cost": 1.25, "Plan Rows": 25, "Plan Width": 34, "Output": ["nation.n_nationkey", "nation.n_name", "nation.n_regionkey", "nation.n_comment"]}]}, {"Node Type": "Index Scan", "Parent Relationship": "Inner", "Parallel Aware": false, "Scan Direction": "Forward", "Index Name": "s_nk", "Relation Name": "supplier", "Schema": "public", "Alias": "supplier", "Startup Cost": 0.42, "Total Cost": 176.45, "Plan Rows": 4000, "Plan Width": 144, "Output": ["supplier.s_suppkey", "supplier.s_name", "supplier.s_address", "supplier.s_nationkey", "supplier.s_phone", "supplier.s_acctbal", "supplier.s_comment"], "Index Cond": "(supplier.s_nationkey = nation.n_nationkey)"}]}, {"Node Type": "Index Scan", "Parent Relationship": "Inner", "Parallel Aware": false, "Scan Direction": "Forward", "Index Name": "ps_sk_pk", "Relation Name": "partsupp", "Schema": "public", "Alias": "partsupp", "Startup Cost": 0.43, "Total Cost": 3.99, "Plan Rows": 80, "Plan Width": 14, "Output": ["partsupp.ps_partkey", "partsupp.ps_suppkey", "partsupp.ps_availqty", "partsupp.ps_supplycost", "partsupp.ps_comment"], "Index Cond": "(partsupp.ps_suppkey = supplier.s_suppkey)"}]}]}, {"Node Type": "Aggregate", "Strategy": "Plain", "Partial Mode": "Simple", "Parent Relationship": "SubPlan", "Subplan Name": "SubPlan 1", "Parallel Aware": false, "Startup Cost": 14.48, "Total Cost": 14.49, "Plan Rows": 1, "Plan Width": 32, "Output": ["min(partsupp_1.ps_supplycost)"], "Plans": [{"Node Type": "Nested Loop", "Parent Relationship": "Outer", "Parallel Aware": false, "Join Type": "Inner", "Startup Cost": 0.86, "Total Cost": 14.48, "Plan Rows": 1, "Plan Width": 6, "Output": ["partsupp_1.ps_supplycost"], "Inner Unique": false, "Join Filter": "(nation_1.n_regionkey = region_1.r_regionkey)", "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Relation Name": "region", "Schema": "public", "Alias": "region_1", "Startup Cost": 0.0, "Total Cost": 1.06, "Plan Rows": 1, "Plan Width": 4, "Output": ["region_1.r_regionkey", "region_1.r_name", "region_1.r_comment"], "Filter": "(region_1.r_name = 'EUROPE'::bpchar)"}, {"Node Type": "Nested Loop", "Parent Relationship": "Inner", "Parallel Aware": false, "Join Type": "Inner", "Startup Cost": 0.86, "Total Cost": 13.36, "Plan Rows": 4, "Plan Width": 10, "Output": ["partsupp_1.ps_supplycost", "nation_1.n_regionkey"], "Inner Unique": true, "Plans": [{"Node Type": "Nested Loop", "Parent Relationship": "Outer", "Parallel Aware": false, "Join Type": "Inner", "Startup Cost": 0.72, "Total Cost": 12.74, "Plan Rows": 4, "Plan Width": 10, "Output": ["partsupp_1.ps_supplycost", "supplier_1.s_nationkey"], "Inner Unique": true, "Plans": [{"Node Type": "Index Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Scan Direction": "Forward", "Index Name": "ps_pk", "Relation Name": "partsupp", "Schema": "public", "Alias": "partsupp_1", "Startup Cost": 0.43, "Total Cost": 2.7, "Plan Rows": 4, "Plan Width": 10, "Output": ["partsupp_1.ps_partkey", "partsupp_1.ps_suppkey", "partsupp_1.ps_availqty", "partsupp_1.ps_supplycost", "partsupp_1.ps_comment"], "Index Cond": "(partsupp_1.ps_partkey = part.p_partkey)"}, {"Node Type": "Index Scan", "Parent Relationship": "Inner", "Parallel Aware": false, "Scan Direction": "Forward", "Index Name": "s_sk", "Relation Name": "supplier", "Schema": "public", "Alias": "supplier_1", "Startup Cost": 0.29, "Total Cost": 2.51, "Plan Rows": 1, "Plan Width": 8, "Output": ["supplier_1.s_suppkey", "supplier_1.s_name", "supplier_1.s_address", "supplier_1.s_nationkey", "supplier_1.s_phone", "supplier_1.s_acctbal", "supplier_1.s_comment"], "Index Cond": "(supplier_1.s_suppkey = partsupp_1.ps_suppkey)"}]}, {"Node Type": "Index Scan", "Parent Relationship": "Inner", "Parallel Aware": false, "Scan Direction": "Forward", "Index Name": "n_nk", "Relation Name": "nation", "Schema": "public", "Alias": "nation_1", "Startup Cost": 0.14, "Total Cost": 0.16, "Plan Rows": 1, "Plan Width": 8, "Output": ["nation_1.n_nationkey", "nation_1.n_name", "nation_1.n_regionkey", "nation_1.n_comment"], "Index Cond": "(nation_1.n_nationkey = supplier_1.s_nationkey)"}]}]}]}]}]}]}} diff --git a/dev9/pg12/tpch/sf_10/explain/15721/20-1.ok b/dev9/pg12/tpch/sf_10/explain/15721/20-1.ok new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/dev9/pg12/tpch/sf_10/explain/15721/20-1.res b/dev9/pg12/tpch/sf_10/explain/15721/20-1.res new file mode 100644 index 0000000000000000000000000000000000000000..ee5e682d5134d57dcef774b6dbea7cb0001d6399 --- /dev/null +++ b/dev9/pg12/tpch/sf_10/explain/15721/20-1.res @@ -0,0 +1 @@ +{"Plan": {"Node Type": "Sort", "Parallel Aware": false, "Startup Cost": 378065.49, "Total Cost": 378068.69, "Plan Rows": 1280, "Plan Width": 51, "Output": ["supplier.s_name", "supplier.s_address"], "Sort Key": ["supplier.s_name"], "Plans": [{"Node Type": "Hash Join", "Parent Relationship": "Outer", "Parallel Aware": false, "Join Type": "Semi", "Startup Cost": 375765.35, "Total Cost": 377999.43, "Plan Rows": 1280, "Plan Width": 51, "Output": ["supplier.s_name", "supplier.s_address"], "Inner Unique": false, "Hash Cond": "(supplier.s_suppkey = partsupp.ps_suppkey)", "Plans": [{"Node Type": "Nested Loop", "Parent Relationship": "Outer", "Parallel Aware": false, "Join Type": "Inner", "Startup Cost": 44.62, "Total Cost": 2244.36, "Plan Rows": 4000, "Plan Width": 55, "Output": ["supplier.s_name", "supplier.s_address", "supplier.s_suppkey"], "Inner Unique": false, "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Relation Name": "nation", "Schema": "public", "Alias": "nation", "Startup Cost": 0.0, "Total Cost": 1.31, "Plan Rows": 1, "Plan Width": 4, "Output": ["nation.n_nationkey", "nation.n_name", "nation.n_regionkey", "nation.n_comment"], "Filter": "(nation.n_name = 'GERMANY'::bpchar)"}, {"Node Type": "Bitmap Heap Scan", "Parent Relationship": "Inner", "Parallel Aware": false, "Relation Name": "supplier", "Schema": "public", "Alias": "supplier", "Startup Cost": 44.62, "Total Cost": 2203.05, "Plan Rows": 4000, "Plan Width": 59, "Output": ["supplier.s_suppkey", "supplier.s_name", "supplier.s_address", "supplier.s_nationkey", "supplier.s_phone", "supplier.s_acctbal", "supplier.s_comment"], "Recheck Cond": "(supplier.s_nationkey = nation.n_nationkey)", "Plans": [{"Node Type": "Bitmap Index Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Index Name": "s_nk", "Startup Cost": 0.0, "Total Cost": 43.62, "Plan Rows": 4000, "Plan Width": 0, "Index Cond": "(supplier.s_nationkey = nation.n_nationkey)"}]}]}, {"Node Type": "Hash", "Parent Relationship": "Inner", "Parallel Aware": false, "Startup Cost": 375319.91, "Total Cost": 375319.91, "Plan Rows": 32066, "Plan Width": 4, "Output": ["partsupp.ps_suppkey"], "Plans": [{"Node Type": "Nested Loop", "Parent Relationship": "Outer", "Parallel Aware": false, "Join Type": "Inner", "Startup Cost": 1000.43, "Total Cost": 375319.91, "Plan Rows": 32066, "Plan Width": 4, "Output": ["partsupp.ps_suppkey"], "Inner Unique": false, "Plans": [{"Node Type": "Gather", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 1000.0, "Total Cost": 50616.8, "Plan Rows": 24048, "Plan Width": 4, "Output": ["part.p_partkey"], "Workers Planned": 4, "Single Copy": false, "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": true, "Relation Name": "part", "Schema": "public", "Alias": "part", "Startup Cost": 0.0, "Total Cost": 47212.0, "Plan Rows": 6012, "Plan Width": 4, "Output": ["part.p_partkey"], "Filter": "((part.p_name)::text ~~ 'floral%'::text)"}]}, {"Node Type": "Index Scan", "Parent Relationship": "Inner", "Parallel Aware": false, "Scan Direction": "Forward", "Index Name": "ps_pk", "Relation Name": "partsupp", "Schema": "public", "Alias": "partsupp", "Startup Cost": 0.43, "Total Cost": 13.49, "Plan Rows": 1, "Plan Width": 8, "Output": ["partsupp.ps_partkey", "partsupp.ps_suppkey", "partsupp.ps_availqty", "partsupp.ps_supplycost", "partsupp.ps_comment"], "Index Cond": "(partsupp.ps_partkey = part.p_partkey)", "Filter": "((partsupp.ps_availqty)::numeric > (SubPlan 1))", "Plans": [{"Node Type": "Aggregate", "Strategy": "Plain", "Partial Mode": "Simple", "Parent Relationship": "SubPlan", "Subplan Name": "SubPlan 1", "Parallel Aware": false, "Startup Cost": 2.79, "Total Cost": 2.81, "Plan Rows": 1, "Plan Width": 32, "Output": ["(0.5 * sum(lineitem.l_quantity))"], "Plans": [{"Node Type": "Index Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Scan Direction": "Forward", "Index Name": "l_sk_pk", "Relation Name": "lineitem", "Schema": "public", "Alias": "lineitem", "Startup Cost": 0.56, "Total Cost": 2.79, "Plan Rows": 1, "Plan Width": 5, "Output": ["lineitem.l_orderkey", "lineitem.l_partkey", "lineitem.l_suppkey", "lineitem.l_linenumber", "lineitem.l_quantity", "lineitem.l_extendedprice", "lineitem.l_discount", "lineitem.l_tax", "lineitem.l_returnflag", "lineitem.l_linestatus", "lineitem.l_shipdate", "lineitem.l_commitdate", "lineitem.l_receiptdate", "lineitem.l_shipinstruct", "lineitem.l_shipmode", "lineitem.l_comment"], "Index Cond": "((lineitem.l_suppkey = partsupp.ps_suppkey) AND (lineitem.l_partkey = partsupp.ps_partkey))", "Filter": "((lineitem.l_shipdate >= '1996-01-01'::date) AND (lineitem.l_shipdate < '1997-01-01 00:00:00'::timestamp without time zone))"}]}]}]}]}]}]}} diff --git a/dev9/pg12/tpch/sf_10/explain/15721/21-1.ok b/dev9/pg12/tpch/sf_10/explain/15721/21-1.ok new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/dev9/pg12/tpch/sf_10/explain/15721/21-1.res b/dev9/pg12/tpch/sf_10/explain/15721/21-1.res new file mode 100644 index 0000000000000000000000000000000000000000..7e5fadb88227d41388a50c572e217919f554c807 --- /dev/null +++ b/dev9/pg12/tpch/sf_10/explain/15721/21-1.res @@ -0,0 +1 @@ +{"Plan": {"Node Type": "Limit", "Parallel Aware": false, "Startup Cost": 408659.44, "Total Cost": 408659.44, "Plan Rows": 1, "Plan Width": 34, "Output": ["supplier.s_name", "(count(*))"], "Plans": [{"Node Type": "Sort", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 408659.44, "Total Cost": 408659.44, "Plan Rows": 1, "Plan Width": 34, "Output": ["supplier.s_name", "(count(*))"], "Sort Key": ["(count(*)) DESC", "supplier.s_name"], "Plans": [{"Node Type": "Aggregate", "Strategy": "Sorted", "Partial Mode": "Simple", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 408659.41, "Total Cost": 408659.43, "Plan Rows": 1, "Plan Width": 34, "Output": ["supplier.s_name", "count(*)"], "Group Key": ["supplier.s_name"], "Plans": [{"Node Type": "Sort", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 408659.41, "Total Cost": 408659.41, "Plan Rows": 1, "Plan Width": 26, "Output": ["supplier.s_name"], "Sort Key": ["supplier.s_name"], "Plans": [{"Node Type": "Nested Loop", "Parent Relationship": "Outer", "Parallel Aware": false, "Join Type": "Inner", "Startup Cost": 1003.46, "Total Cost": 408659.4, "Plan Rows": 1, "Plan Width": 26, "Output": ["supplier.s_name"], "Inner Unique": true, "Plans": [{"Node Type": "Nested Loop", "Parent Relationship": "Outer", "Parallel Aware": false, "Join Type": "Semi", "Startup Cost": 1003.02, "Total Cost": 408658.93, "Plan Rows": 1, "Plan Width": 34, "Output": ["supplier.s_name", "l1.l_orderkey", "l2.l_orderkey"], "Inner Unique": false, "Plans": [{"Node Type": "Gather", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 1002.46, "Total Cost": 408657.69, "Plan Rows": 1, "Plan Width": 34, "Output": ["supplier.s_name", "l1.l_suppkey", "l1.l_orderkey"], "Workers Planned": 1, "Single Copy": false, "Plans": [{"Node Type": "Nested Loop", "Parent Relationship": "Outer", "Parallel Aware": false, "Join Type": "Anti", "Startup Cost": 2.46, "Total Cost": 407657.59, "Plan Rows": 1, "Plan Width": 34, "Output": ["supplier.s_name", "l1.l_suppkey", "l1.l_orderkey"], "Inner Unique": false, "Plans": [{"Node Type": "Nested Loop", "Parent Relationship": "Outer", "Parallel Aware": false, "Join Type": "Inner", "Startup Cost": 1.89, "Total Cost": 69631.97, "Plan Rows": 470478, "Plan Width": 34, "Output": ["supplier.s_name", "l1.l_suppkey", "l1.l_orderkey"], "Inner Unique": false, "Plans": [{"Node Type": "Hash Join", "Parent Relationship": "Outer", "Parallel Aware": false, "Join Type": "Inner", "Startup Cost": 1.32, "Total Cost": 2986.15, "Plan Rows": 2353, "Plan Width": 30, "Output": ["supplier.s_name", "supplier.s_suppkey"], "Inner Unique": true, "Hash Cond": "(supplier.s_nationkey = nation.n_nationkey)", "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": true, "Relation Name": "supplier", "Schema": "public", "Alias": "supplier", "Startup Cost": 0.0, "Total Cost": 2804.24, "Plan Rows": 58824, "Plan Width": 34, "Output": ["supplier.s_suppkey", "supplier.s_name", "supplier.s_address", "supplier.s_nationkey", "supplier.s_phone", "supplier.s_acctbal", "supplier.s_comment"]}, {"Node Type": "Hash", "Parent Relationship": "Inner", "Parallel Aware": false, "Startup Cost": 1.31, "Total Cost": 1.31, "Plan Rows": 1, "Plan Width": 4, "Output": ["nation.n_nationkey"], "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Relation Name": "nation", "Schema": "public", "Alias": "nation", "Startup Cost": 0.0, "Total Cost": 1.31, "Plan Rows": 1, "Plan Width": 4, "Output": ["nation.n_nationkey"], "Filter": "(nation.n_name = 'CHINA'::bpchar)"}]}]}, {"Node Type": "Index Scan", "Parent Relationship": "Inner", "Parallel Aware": false, "Scan Direction": "Forward", "Index Name": "l_sk_pk", "Relation Name": "lineitem", "Schema": "public", "Alias": "l1", "Startup Cost": 0.56, "Total Cost": 26.32, "Plan Rows": 200, "Plan Width": 8, "Output": ["l1.l_orderkey", "l1.l_partkey", "l1.l_suppkey", "l1.l_linenumber", "l1.l_quantity", "l1.l_extendedprice", "l1.l_discount", "l1.l_tax", "l1.l_returnflag", "l1.l_linestatus", "l1.l_shipdate", "l1.l_commitdate", "l1.l_receiptdate", "l1.l_shipinstruct", "l1.l_shipmode", "l1.l_comment"], "Index Cond": "(l1.l_suppkey = supplier.s_suppkey)", "Filter": "(l1.l_receiptdate > l1.l_commitdate)"}]}, {"Node Type": "Index Scan", "Parent Relationship": "Inner", "Parallel Aware": false, "Scan Direction": "Forward", "Index Name": "lineitem_pkey", "Relation Name": "lineitem", "Schema": "public", "Alias": "l3", "Startup Cost": 0.56, "Total Cost": 1.29, "Plan Rows": 10, "Plan Width": 8, "Output": ["l3.l_orderkey", "l3.l_partkey", "l3.l_suppkey", "l3.l_linenumber", "l3.l_quantity", "l3.l_extendedprice", "l3.l_discount", "l3.l_tax", "l3.l_returnflag", "l3.l_linestatus", "l3.l_shipdate", "l3.l_commitdate", "l3.l_receiptdate", "l3.l_shipinstruct", "l3.l_shipmode", "l3.l_comment"], "Index Cond": "(l3.l_orderkey = l1.l_orderkey)", "Filter": "((l3.l_receiptdate > l3.l_commitdate) AND (l3.l_suppkey <> l1.l_suppkey))"}]}]}, {"Node Type": "Index Scan", "Parent Relationship": "Inner", "Parallel Aware": false, "Scan Direction": "Forward", "Index Name": "lineitem_pkey", "Relation Name": "lineitem", "Schema": "public", "Alias": "l2", "Startup Cost": 0.56, "Total Cost": 1.22, "Plan Rows": 29, "Plan Width": 8, "Output": ["l2.l_orderkey", "l2.l_partkey", "l2.l_suppkey", "l2.l_linenumber", "l2.l_quantity", "l2.l_extendedprice", "l2.l_discount", "l2.l_tax", "l2.l_returnflag", "l2.l_linestatus", "l2.l_shipdate", "l2.l_commitdate", "l2.l_receiptdate", "l2.l_shipinstruct", "l2.l_shipmode", "l2.l_comment"], "Index Cond": "(l2.l_orderkey = l1.l_orderkey)", "Filter": "(l2.l_suppkey <> l1.l_suppkey)"}]}, {"Node Type": "Index Scan", "Parent Relationship": "Inner", "Parallel Aware": false, "Scan Direction": "Forward", "Index Name": "o_ok", "Relation Name": "orders", "Schema": "public", "Alias": "orders", "Startup Cost": 0.43, "Total Cost": 0.47, "Plan Rows": 1, "Plan Width": 4, "Output": ["orders.o_orderkey", "orders.o_custkey", "orders.o_orderstatus", "orders.o_totalprice", "orders.o_orderdate", "orders.o_orderpriority", "orders.o_clerk", "orders.o_shippriority", "orders.o_comment"], "Index Cond": "(orders.o_orderkey = l1.l_orderkey)", "Filter": "(orders.o_orderstatus = 'F'::bpchar)"}]}]}]}]}]}} diff --git a/dev9/pg12/tpch/sf_10/explain/15721/22-1.ok b/dev9/pg12/tpch/sf_10/explain/15721/22-1.ok new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/dev9/pg12/tpch/sf_10/explain/15721/22-1.res b/dev9/pg12/tpch/sf_10/explain/15721/22-1.res new file mode 100644 index 0000000000000000000000000000000000000000..eb876bc71b8060f20846b9f4829fd86febc25f48 --- /dev/null +++ b/dev9/pg12/tpch/sf_10/explain/15721/22-1.res @@ -0,0 +1 @@ +{"Plan": {"Node Type": "Aggregate", "Strategy": "Sorted", "Partial Mode": "Finalize", "Parallel Aware": false, "Startup Cost": 95890.9, "Total Cost": 97041.42, "Plan Rows": 7496, "Plan Width": 72, "Output": ["(\"substring\"((customer.c_phone)::text, 1, 2))", "count(*)", "sum(customer.c_acctbal)"], "Group Key": ["(\"substring\"((customer.c_phone)::text, 1, 2))"], "Plans": [{"Node Type": "Aggregate", "Strategy": "Plain", "Partial Mode": "Finalize", "Parent Relationship": "InitPlan", "Subplan Name": "InitPlan 1 (returns $1)", "Parallel Aware": false, "Startup Cost": 46701.04, "Total Cost": 46701.05, "Plan Rows": 1, "Plan Width": 32, "Output": ["avg(customer_1.c_acctbal)"], "Plans": [{"Node Type": "Gather", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 46700.61, "Total Cost": 46701.02, "Plan Rows": 4, "Plan Width": 32, "Output": ["(PARTIAL avg(customer_1.c_acctbal))"], "Workers Planned": 4, "Single Copy": false, "Plans": [{"Node Type": "Aggregate", "Strategy": "Plain", "Partial Mode": "Partial", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 45700.61, "Total Cost": 45700.62, "Plan Rows": 1, "Plan Width": 32, "Output": ["PARTIAL avg(customer_1.c_acctbal)"], "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": true, "Relation Name": "customer", "Schema": "public", "Alias": "customer_1", "Startup Cost": 0.0, "Total Cost": 45670.75, "Plan Rows": 11941, "Plan Width": 6, "Output": ["customer_1.c_custkey", "customer_1.c_name", "customer_1.c_address", "customer_1.c_nationkey", "customer_1.c_phone", "customer_1.c_acctbal", "customer_1.c_mktsegment", "customer_1.c_comment"], "Filter": "((customer_1.c_acctbal > 0.00) AND (\"substring\"((customer_1.c_phone)::text, 1, 2) = ANY ('{17,20,25,31,30,11,33}'::text[])))"}]}]}]}, {"Node Type": "Gather Merge", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 49189.85, "Total Cost": 50134.23, "Plan Rows": 7496, "Plan Width": 72, "Output": ["(\"substring\"((customer.c_phone)::text, 1, 2))", "(PARTIAL count(*))", "(PARTIAL sum(customer.c_acctbal))"], "Workers Planned": 4, "Params Evaluated": ["$1"], "Plans": [{"Node Type": "Aggregate", "Strategy": "Sorted", "Partial Mode": "Partial", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 48189.79, "Total Cost": 48241.33, "Plan Rows": 1874, "Plan Width": 72, "Output": ["(\"substring\"((customer.c_phone)::text, 1, 2))", "PARTIAL count(*)", "PARTIAL sum(customer.c_acctbal)"], "Group Key": ["(\"substring\"((customer.c_phone)::text, 1, 2))"], "Plans": [{"Node Type": "Sort", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 48189.79, "Total Cost": 48194.48, "Plan Rows": 1874, "Plan Width": 38, "Output": ["(\"substring\"((customer.c_phone)::text, 1, 2))", "customer.c_acctbal"], "Sort Key": ["(\"substring\"((customer.c_phone)::text, 1, 2))"], "Plans": [{"Node Type": "Nested Loop", "Parent Relationship": "Outer", "Parallel Aware": false, "Join Type": "Anti", "Startup Cost": 0.43, "Total Cost": 48087.92, "Plan Rows": 1874, "Plan Width": 38, "Output": ["\"substring\"((customer.c_phone)::text, 1, 2)", "customer.c_acctbal"], "Inner Unique": false, "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": true, "Relation Name": "customer", "Schema": "public", "Alias": "customer", "Startup Cost": 0.0, "Total Cost": 45670.75, "Plan Rows": 4375, "Plan Width": 26, "Output": ["customer.c_custkey", "customer.c_name", "customer.c_address", "customer.c_nationkey", "customer.c_phone", "customer.c_acctbal", "customer.c_mktsegment", "customer.c_comment"], "Filter": "((customer.c_acctbal > $1) AND (\"substring\"((customer.c_phone)::text, 1, 2) = ANY ('{17,20,25,31,30,11,33}'::text[])))"}, {"Node Type": "Index Only Scan", "Parent Relationship": "Inner", "Parallel Aware": false, "Scan Direction": "Forward", "Index Name": "o_ck", "Relation Name": "orders", "Schema": "public", "Alias": "orders", "Startup Cost": 0.43, "Total Cost": 1.64, "Plan Rows": 17, "Plan Width": 4, "Output": ["orders.o_custkey"], "Index Cond": "(orders.o_custkey = customer.c_custkey)"}]}]}]}]}]}} diff --git a/dev9/pg12/tpch/sf_10/explain/15721/3-1.ok b/dev9/pg12/tpch/sf_10/explain/15721/3-1.ok new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/dev9/pg12/tpch/sf_10/explain/15721/3-1.res b/dev9/pg12/tpch/sf_10/explain/15721/3-1.res new file mode 100644 index 0000000000000000000000000000000000000000..86d5c02e546b98ffeef6723a9e9d137b69e59bac --- /dev/null +++ b/dev9/pg12/tpch/sf_10/explain/15721/3-1.res @@ -0,0 +1 @@ +{"Plan": {"Node Type": "Limit", "Parallel Aware": false, "Startup Cost": 1366187.47, "Total Cost": 1366187.49, "Plan Rows": 10, "Plan Width": 44, "Output": ["lineitem.l_orderkey", "(sum((lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount))))", "orders.o_orderdate", "orders.o_shippriority"], "Plans": [{"Node Type": "Sort", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 1366187.47, "Total Cost": 1374020.04, "Plan Rows": 3133030, "Plan Width": 44, "Output": ["lineitem.l_orderkey", "(sum((lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount))))", "orders.o_orderdate", "orders.o_shippriority"], "Sort Key": ["(sum((lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount)))) DESC", "orders.o_orderdate"], "Plans": [{"Node Type": "Aggregate", "Strategy": "Sorted", "Partial Mode": "Finalize", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 823485.98, "Total Cost": 1298483.81, "Plan Rows": 3133030, "Plan Width": 44, "Output": ["lineitem.l_orderkey", "sum((lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount)))", "orders.o_orderdate", "orders.o_shippriority"], "Group Key": ["lineitem.l_orderkey", "orders.o_orderdate", "orders.o_shippriority"], "Plans": [{"Node Type": "Gather Merge", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 823485.98, "Total Cost": 1220158.04, "Plan Rows": 3133032, "Plan Width": 44, "Output": ["lineitem.l_orderkey", "orders.o_orderdate", "orders.o_shippriority", "(PARTIAL sum((lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount))))"], "Workers Planned": 4, "Plans": [{"Node Type": "Aggregate", "Strategy": "Sorted", "Partial Mode": "Partial", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 822485.93, "Total Cost": 845983.67, "Plan Rows": 783258, "Plan Width": 44, "Output": ["lineitem.l_orderkey", "orders.o_orderdate", "orders.o_shippriority", "PARTIAL sum((lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount)))"], "Group Key": ["lineitem.l_orderkey", "orders.o_orderdate", "orders.o_shippriority"], "Plans": [{"Node Type": "Sort", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 822485.93, "Total Cost": 824444.07, "Plan Rows": 783258, "Plan Width": 24, "Output": ["lineitem.l_orderkey", "orders.o_orderdate", "orders.o_shippriority", "lineitem.l_extendedprice", "lineitem.l_discount"], "Sort Key": ["lineitem.l_orderkey", "orders.o_orderdate", "orders.o_shippriority"], "Plans": [{"Node Type": "Nested Loop", "Parent Relationship": "Outer", "Parallel Aware": false, "Join Type": "Inner", "Startup Cost": 1.0, "Total Cost": 736398.88, "Plan Rows": 783258, "Plan Width": 24, "Output": ["lineitem.l_orderkey", "orders.o_orderdate", "orders.o_shippriority", "lineitem.l_extendedprice", "lineitem.l_discount"], "Inner Unique": false, "Plans": [{"Node Type": "Nested Loop", "Parent Relationship": "Outer", "Parallel Aware": false, "Join Type": "Inner", "Startup Cost": 0.43, "Total Cost": 188317.56, "Plan Rows": 365784, "Plan Width": 12, "Output": ["orders.o_orderdate", "orders.o_shippriority", "orders.o_orderkey"], "Inner Unique": false, "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": true, "Relation Name": "customer", "Schema": "public", "Alias": "customer", "Startup Cost": 0.0, "Total Cost": 40514.5, "Plan Rows": 74828, "Plan Width": 4, "Output": ["customer.c_custkey", "customer.c_name", "customer.c_address", "customer.c_nationkey", "customer.c_phone", "customer.c_acctbal", "customer.c_mktsegment", "customer.c_comment"], "Filter": "(customer.c_mktsegment = 'FURNITURE'::bpchar)"}, {"Node Type": "Index Scan", "Parent Relationship": "Inner", "Parallel Aware": false, "Scan Direction": "Forward", "Index Name": "o_ck", "Relation Name": "orders", "Schema": "public", "Alias": "orders", "Startup Cost": 0.43, "Total Cost": 1.89, "Plan Rows": 9, "Plan Width": 16, "Output": ["orders.o_orderkey", "orders.o_custkey", "orders.o_orderstatus", "orders.o_totalprice", "orders.o_orderdate", "orders.o_orderpriority", "orders.o_clerk", "orders.o_shippriority", "orders.o_comment"], "Index Cond": "(orders.o_custkey = customer.c_custkey)", "Filter": "(orders.o_orderdate < '1995-03-20'::date)"}]}, {"Node Type": "Index Scan", "Parent Relationship": "Inner", "Parallel Aware": false, "Scan Direction": "Forward", "Index Name": "lineitem_pkey", "Relation Name": "lineitem", "Schema": "public", "Alias": "lineitem", "Startup Cost": 0.56, "Total Cost": 1.34, "Plan Rows": 16, "Plan Width": 16, "Output": ["lineitem.l_orderkey", "lineitem.l_partkey", "lineitem.l_suppkey", "lineitem.l_linenumber", "lineitem.l_quantity", "lineitem.l_extendedprice", "lineitem.l_discount", "lineitem.l_tax", "lineitem.l_returnflag", "lineitem.l_linestatus", "lineitem.l_shipdate", "lineitem.l_commitdate", "lineitem.l_receiptdate", "lineitem.l_shipinstruct", "lineitem.l_shipmode", "lineitem.l_comment"], "Index Cond": "(lineitem.l_orderkey = orders.o_orderkey)", "Filter": "(lineitem.l_shipdate > '1995-03-20'::date)"}]}]}]}]}]}]}]}} diff --git a/dev9/pg12/tpch/sf_10/explain/15721/4-1.ok b/dev9/pg12/tpch/sf_10/explain/15721/4-1.ok new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/dev9/pg12/tpch/sf_10/explain/15721/4-1.res b/dev9/pg12/tpch/sf_10/explain/15721/4-1.res new file mode 100644 index 0000000000000000000000000000000000000000..1b84ab3b0797d57d1600892d704ace1877608ded --- /dev/null +++ b/dev9/pg12/tpch/sf_10/explain/15721/4-1.res @@ -0,0 +1 @@ +{"Plan": {"Node Type": "Aggregate", "Strategy": "Sorted", "Partial Mode": "Finalize", "Parallel Aware": false, "Startup Cost": 343133.48, "Total Cost": 343233.17, "Plan Rows": 5, "Plan Width": 24, "Output": ["orders.o_orderpriority", "count(*)"], "Group Key": ["orders.o_orderpriority"], "Plans": [{"Node Type": "Gather Merge", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 343133.48, "Total Cost": 343232.97, "Plan Rows": 30, "Plan Width": 24, "Output": ["orders.o_orderpriority", "(PARTIAL count(*))"], "Workers Planned": 6, "Plans": [{"Node Type": "Aggregate", "Strategy": "Sorted", "Partial Mode": "Partial", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 342133.38, "Total Cost": 342229.23, "Plan Rows": 5, "Plan Width": 24, "Output": ["orders.o_orderpriority", "PARTIAL count(*)"], "Group Key": ["orders.o_orderpriority"], "Plans": [{"Node Type": "Sort", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 342133.38, "Total Cost": 342165.31, "Plan Rows": 12773, "Plan Width": 16, "Output": ["orders.o_orderpriority"], "Sort Key": ["orders.o_orderpriority"], "Plans": [{"Node Type": "Nested Loop", "Parent Relationship": "Outer", "Parallel Aware": false, "Join Type": "Semi", "Startup Cost": 7425.86, "Total Cost": 341262.21, "Plan Rows": 12773, "Plan Width": 16, "Output": ["orders.o_orderpriority"], "Inner Unique": false, "Plans": [{"Node Type": "Bitmap Heap Scan", "Parent Relationship": "Outer", "Parallel Aware": true, "Relation Name": "orders", "Schema": "public", "Alias": "orders", "Startup Cost": 7425.29, "Total Cost": 269735.87, "Plan Rows": 93238, "Plan Width": 20, "Output": ["orders.o_orderkey", "orders.o_custkey", "orders.o_orderstatus", "orders.o_totalprice", "orders.o_orderdate", "orders.o_orderpriority", "orders.o_clerk", "orders.o_shippriority", "orders.o_comment"], "Recheck Cond": "((orders.o_orderdate >= '1996-01-01'::date) AND (orders.o_orderdate < '1996-04-01 00:00:00'::timestamp without time zone))", "Plans": [{"Node Type": "Bitmap Index Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Index Name": "o_od", "Startup Cost": 0.0, "Total Cost": 7285.44, "Plan Rows": 559430, "Plan Width": 0, "Index Cond": "((orders.o_orderdate >= '1996-01-01'::date) AND (orders.o_orderdate < '1996-04-01 00:00:00'::timestamp without time zone))"}]}, {"Node Type": "Index Scan", "Parent Relationship": "Inner", "Parallel Aware": false, "Scan Direction": "Forward", "Index Name": "l_ok", "Relation Name": "lineitem", "Schema": "public", "Alias": "lineitem", "Startup Cost": 0.56, "Total Cost": 2.35, "Plan Rows": 10, "Plan Width": 4, "Output": ["lineitem.l_orderkey", "lineitem.l_partkey", "lineitem.l_suppkey", "lineitem.l_linenumber", "lineitem.l_quantity", "lineitem.l_extendedprice", "lineitem.l_discount", "lineitem.l_tax", "lineitem.l_returnflag", "lineitem.l_linestatus", "lineitem.l_shipdate", "lineitem.l_commitdate", "lineitem.l_receiptdate", "lineitem.l_shipinstruct", "lineitem.l_shipmode", "lineitem.l_comment"], "Index Cond": "(lineitem.l_orderkey = orders.o_orderkey)", "Filter": "(lineitem.l_commitdate < lineitem.l_receiptdate)"}]}]}]}]}]}} diff --git a/dev9/pg12/tpch/sf_10/explain/15721/5-1.ok b/dev9/pg12/tpch/sf_10/explain/15721/5-1.ok new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/dev9/pg12/tpch/sf_10/explain/15721/5-1.res b/dev9/pg12/tpch/sf_10/explain/15721/5-1.res new file mode 100644 index 0000000000000000000000000000000000000000..85a15f7a45a2ecee8c46c6144418d45c38d603f0 --- /dev/null +++ b/dev9/pg12/tpch/sf_10/explain/15721/5-1.res @@ -0,0 +1 @@ +{"Plan": {"Node Type": "Sort", "Parallel Aware": false, "Startup Cost": 357014.18, "Total Cost": 357014.24, "Plan Rows": 25, "Plan Width": 58, "Output": ["nation.n_name", "(sum((lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount))))"], "Sort Key": ["(sum((lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount)))) DESC"], "Plans": [{"Node Type": "Aggregate", "Strategy": "Sorted", "Partial Mode": "Finalize", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 356771.99, "Total Cost": 357013.6, "Plan Rows": 25, "Plan Width": 58, "Output": ["nation.n_name", "sum((lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount)))"], "Group Key": ["nation.n_name"], "Plans": [{"Node Type": "Gather Merge", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 356771.99, "Total Cost": 357012.54, "Plan Rows": 100, "Plan Width": 58, "Output": ["nation.n_name", "(PARTIAL sum((lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount))))"], "Workers Planned": 4, "Plans": [{"Node Type": "Aggregate", "Strategy": "Sorted", "Partial Mode": "Partial", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 355771.93, "Total Cost": 356000.57, "Plan Rows": 25, "Plan Width": 58, "Output": ["nation.n_name", "PARTIAL sum((lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount)))"], "Group Key": ["nation.n_name"], "Plans": [{"Node Type": "Sort", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 355771.93, "Total Cost": 355817.6, "Plan Rows": 18266, "Plan Width": 38, "Output": ["nation.n_name", "lineitem.l_extendedprice", "lineitem.l_discount"], "Sort Key": ["nation.n_name"], "Plans": [{"Node Type": "Hash Join", "Parent Relationship": "Outer", "Parallel Aware": true, "Join Type": "Inner", "Startup Cost": 3690.1, "Total Cost": 354478.98, "Plan Rows": 18266, "Plan Width": 38, "Output": ["nation.n_name", "lineitem.l_extendedprice", "lineitem.l_discount"], "Inner Unique": true, "Hash Cond": "((lineitem.l_suppkey = supplier.s_suppkey) AND (customer.c_nationkey = supplier.s_nationkey))", "Plans": [{"Node Type": "Nested Loop", "Parent Relationship": "Outer", "Parallel Aware": false, "Join Type": "Inner", "Startup Cost": 3.51, "Total Cost": 348394.89, "Plan Rows": 456666, "Plan Width": 50, "Output": ["customer.c_nationkey", "lineitem.l_extendedprice", "lineitem.l_discount", "lineitem.l_suppkey", "nation.n_name", "nation.n_nationkey"], "Inner Unique": false, "Plans": [{"Node Type": "Nested Loop", "Parent Relationship": "Outer", "Parallel Aware": false, "Join Type": "Inner", "Startup Cost": 2.94, "Total Cost": 121913.54, "Plan Rows": 114191, "Plan Width": 38, "Output": ["customer.c_nationkey", "orders.o_orderkey", "nation.n_name", "nation.n_nationkey"], "Inner Unique": false, "Plans": [{"Node Type": "Hash Join", "Parent Relationship": "Outer", "Parallel Aware": false, "Join Type": "Inner", "Startup Cost": 2.51, "Total Cost": 41735.76, "Plan Rows": 75000, "Plan Width": 38, "Output": ["customer.c_custkey", "customer.c_nationkey", "nation.n_name", "nation.n_nationkey"], "Inner Unique": false, "Hash Cond": "(customer.c_nationkey = nation.n_nationkey)", "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": true, "Relation Name": "customer", "Schema": "public", "Alias": "customer", "Startup Cost": 0.0, "Total Cost": 39577.0, "Plan Rows": 375000, "Plan Width": 8, "Output": ["customer.c_custkey", "customer.c_name", "customer.c_address", "customer.c_nationkey", "customer.c_phone", "customer.c_acctbal", "customer.c_mktsegment", "customer.c_comment"]}, {"Node Type": "Hash", "Parent Relationship": "Inner", "Parallel Aware": false, "Startup Cost": 2.45, "Total Cost": 2.45, "Plan Rows": 5, "Plan Width": 30, "Output": ["nation.n_name", "nation.n_nationkey"], "Plans": [{"Node Type": "Hash Join", "Parent Relationship": "Outer", "Parallel Aware": false, "Join Type": "Inner", "Startup Cost": 1.07, "Total Cost": 2.45, "Plan Rows": 5, "Plan Width": 30, "Output": ["nation.n_name", "nation.n_nationkey"], "Inner Unique": true, "Hash Cond": "(nation.n_regionkey = region.r_regionkey)", "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Relation Name": "nation", "Schema": "public", "Alias": "nation", "Startup Cost": 0.0, "Total Cost": 1.25, "Plan Rows": 25, "Plan Width": 34, "Output": ["nation.n_nationkey", "nation.n_name", "nation.n_regionkey", "nation.n_comment"]}, {"Node Type": "Hash", "Parent Relationship": "Inner", "Parallel Aware": false, "Startup Cost": 1.06, "Total Cost": 1.06, "Plan Rows": 1, "Plan Width": 4, "Output": ["region.r_regionkey"], "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Relation Name": "region", "Schema": "public", "Alias": "region", "Startup Cost": 0.0, "Total Cost": 1.06, "Plan Rows": 1, "Plan Width": 4, "Output": ["region.r_regionkey"], "Filter": "(region.r_name = 'AMERICA'::bpchar)"}]}]}]}]}, {"Node Type": "Index Scan", "Parent Relationship": "Inner", "Parallel Aware": false, "Scan Direction": "Forward", "Index Name": "o_ck", "Relation Name": "orders", "Schema": "public", "Alias": "orders", "Startup Cost": 0.43, "Total Cost": 1.04, "Plan Rows": 3, "Plan Width": 8, "Output": ["orders.o_orderkey", "orders.o_custkey", "orders.o_orderstatus", "orders.o_totalprice", "orders.o_orderdate", "orders.o_orderpriority", "orders.o_clerk", "orders.o_shippriority", "orders.o_comment"], "Index Cond": "(orders.o_custkey = customer.c_custkey)", "Filter": "((orders.o_orderdate >= '1995-01-01'::date) AND (orders.o_orderdate < '1996-01-01 00:00:00'::timestamp without time zone))"}]}, {"Node Type": "Index Scan", "Parent Relationship": "Inner", "Parallel Aware": false, "Scan Direction": "Forward", "Index Name": "lineitem_pkey", "Relation Name": "lineitem", "Schema": "public", "Alias": "lineitem", "Startup Cost": 0.56, "Total Cost": 1.69, "Plan Rows": 29, "Plan Width": 20, "Output": ["lineitem.l_orderkey", "lineitem.l_partkey", "lineitem.l_suppkey", "lineitem.l_linenumber", "lineitem.l_quantity", "lineitem.l_extendedprice", "lineitem.l_discount", "lineitem.l_tax", "lineitem.l_returnflag", "lineitem.l_linestatus", "lineitem.l_shipdate", "lineitem.l_commitdate", "lineitem.l_receiptdate", "lineitem.l_shipinstruct", "lineitem.l_shipmode", "lineitem.l_comment"], "Index Cond": "(lineitem.l_orderkey = orders.o_orderkey)"}]}, {"Node Type": "Hash", "Parent Relationship": "Inner", "Parallel Aware": true, "Startup Cost": 2804.24, "Total Cost": 2804.24, "Plan Rows": 58824, "Plan Width": 8, "Output": ["supplier.s_suppkey", "supplier.s_nationkey"], "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": true, "Relation Name": "supplier", "Schema": "public", "Alias": "supplier", "Startup Cost": 0.0, "Total Cost": 2804.24, "Plan Rows": 58824, "Plan Width": 8, "Output": ["supplier.s_suppkey", "supplier.s_nationkey"]}]}]}]}]}]}]}]}} diff --git a/dev9/pg12/tpch/sf_10/explain/15721/6-1.ok b/dev9/pg12/tpch/sf_10/explain/15721/6-1.ok new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/dev9/pg12/tpch/sf_10/explain/15721/6-1.res b/dev9/pg12/tpch/sf_10/explain/15721/6-1.res new file mode 100644 index 0000000000000000000000000000000000000000..a4220288a370d037800064624b723b02e486dae2 --- /dev/null +++ b/dev9/pg12/tpch/sf_10/explain/15721/6-1.res @@ -0,0 +1 @@ +{"Plan": {"Node Type": "Aggregate", "Strategy": "Plain", "Partial Mode": "Finalize", "Parallel Aware": false, "Startup Cost": 1319165.46, "Total Cost": 1319165.47, "Plan Rows": 1, "Plan Width": 32, "Output": ["sum((l_extendedprice * l_discount))"], "Plans": [{"Node Type": "Gather", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 1319164.72, "Total Cost": 1319165.43, "Plan Rows": 7, "Plan Width": 32, "Output": ["(PARTIAL sum((l_extendedprice * l_discount)))"], "Workers Planned": 7, "Single Copy": false, "Plans": [{"Node Type": "Aggregate", "Strategy": "Plain", "Partial Mode": "Partial", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 1318164.72, "Total Cost": 1318164.73, "Plan Rows": 1, "Plan Width": 32, "Output": ["PARTIAL sum((l_extendedprice * l_discount))"], "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": true, "Relation Name": "lineitem", "Schema": "public", "Alias": "lineitem", "Startup Cost": 0.0, "Total Cost": 1317353.72, "Plan Rows": 162199, "Plan Width": 12, "Output": ["l_orderkey", "l_partkey", "l_suppkey", "l_linenumber", "l_quantity", "l_extendedprice", "l_discount", "l_tax", "l_returnflag", "l_linestatus", "l_shipdate", "l_commitdate", "l_receiptdate", "l_shipinstruct", "l_shipmode", "l_comment"], "Filter": "((lineitem.l_shipdate >= '1995-01-01'::date) AND (lineitem.l_shipdate < '1996-01-01 00:00:00'::timestamp without time zone) AND (lineitem.l_discount >= 0.04) AND (lineitem.l_discount <= 0.06) AND (lineitem.l_quantity < '24'::numeric))"}]}]}]}} diff --git a/dev9/pg12/tpch/sf_10/explain/15721/7-1.ok b/dev9/pg12/tpch/sf_10/explain/15721/7-1.ok new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/dev9/pg12/tpch/sf_10/explain/15721/7-1.res b/dev9/pg12/tpch/sf_10/explain/15721/7-1.res new file mode 100644 index 0000000000000000000000000000000000000000..cd3b5b0613f58b6df7e24bb3f8050221ccdc2f50 --- /dev/null +++ b/dev9/pg12/tpch/sf_10/explain/15721/7-1.res @@ -0,0 +1 @@ +{"Plan": {"Node Type": "Aggregate", "Strategy": "Sorted", "Partial Mode": "Finalize", "Parallel Aware": false, "Startup Cost": 246055.61, "Total Cost": 247518.95, "Plan Rows": 10092, "Plan Width": 92, "Output": ["n1.n_name", "n2.n_name", "(date_part('year'::text, (lineitem.l_shipdate)::timestamp without time zone))", "sum((lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount)))"], "Group Key": ["n1.n_name", "n2.n_name", "(date_part('year'::text, (lineitem.l_shipdate)::timestamp without time zone))"], "Plans": [{"Node Type": "Gather Merge", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 246055.61, "Total Cost": 247216.19, "Plan Rows": 10092, "Plan Width": 92, "Output": ["n1.n_name", "n2.n_name", "(date_part('year'::text, (lineitem.l_shipdate)::timestamp without time zone))", "(PARTIAL sum((lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount))))"], "Workers Planned": 1, "Plans": [{"Node Type": "Sort", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 245055.6, "Total Cost": 245080.83, "Plan Rows": 10092, "Plan Width": 92, "Output": ["n1.n_name", "n2.n_name", "(date_part('year'::text, (lineitem.l_shipdate)::timestamp without time zone))", "(PARTIAL sum((lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount))))"], "Sort Key": ["n1.n_name", "n2.n_name", "(date_part('year'::text, (lineitem.l_shipdate)::timestamp without time zone))"], "Plans": [{"Node Type": "Aggregate", "Strategy": "Hashed", "Partial Mode": "Partial", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 244207.83, "Total Cost": 244384.44, "Plan Rows": 10092, "Plan Width": 92, "Output": ["n1.n_name", "n2.n_name", "(date_part('year'::text, (lineitem.l_shipdate)::timestamp without time zone))", "PARTIAL sum((lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount)))"], "Group Key": ["n1.n_name", "n2.n_name", "date_part('year'::text, (lineitem.l_shipdate)::timestamp without time zone)"], "Plans": [{"Node Type": "Hash Join", "Parent Relationship": "Outer", "Parallel Aware": true, "Join Type": "Inner", "Startup Cost": 80253.65, "Total Cost": 243672.27, "Plan Rows": 35704, "Plan Width": 72, "Output": ["n1.n_name", "n2.n_name", "date_part('year'::text, (lineitem.l_shipdate)::timestamp without time zone)", "lineitem.l_extendedprice", "lineitem.l_discount"], "Inner Unique": false, "Hash Cond": "(lineitem.l_orderkey = orders.o_orderkey)", "Join Filter": "(((n1.n_name = 'IRAN'::bpchar) AND (n2.n_name = 'ETHIOPIA'::bpchar)) OR ((n1.n_name = 'ETHIOPIA'::bpchar) AND (n2.n_name = 'IRAN'::bpchar)))", "Plans": [{"Node Type": "Nested Loop", "Parent Relationship": "Outer", "Parallel Aware": false, "Join Type": "Inner", "Startup Cost": 1.96, "Total Cost": 142548.62, "Plan Rows": 857936, "Plan Width": 46, "Output": ["lineitem.l_shipdate", "lineitem.l_extendedprice", "lineitem.l_discount", "lineitem.l_orderkey", "n1.n_name"], "Inner Unique": false, "Plans": [{"Node Type": "Hash Join", "Parent Relationship": "Outer", "Parallel Aware": false, "Join Type": "Inner", "Startup Cost": 1.4, "Total Cost": 2986.23, "Plan Rows": 4706, "Plan Width": 30, "Output": ["supplier.s_suppkey", "n1.n_name"], "Inner Unique": true, "Hash Cond": "(supplier.s_nationkey = n1.n_nationkey)", "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": true, "Relation Name": "supplier", "Schema": "public", "Alias": "supplier", "Startup Cost": 0.0, "Total Cost": 2804.24, "Plan Rows": 58824, "Plan Width": 8, "Output": ["supplier.s_suppkey", "supplier.s_name", "supplier.s_address", "supplier.s_nationkey", "supplier.s_phone", "supplier.s_acctbal", "supplier.s_comment"]}, {"Node Type": "Hash", "Parent Relationship": "Inner", "Parallel Aware": false, "Startup Cost": 1.38, "Total Cost": 1.38, "Plan Rows": 2, "Plan Width": 30, "Output": ["n1.n_name", "n1.n_nationkey"], "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Relation Name": "nation", "Schema": "public", "Alias": "n1", "Startup Cost": 0.0, "Total Cost": 1.38, "Plan Rows": 2, "Plan Width": 30, "Output": ["n1.n_name", "n1.n_nationkey"], "Filter": "((n1.n_name = 'IRAN'::bpchar) OR (n1.n_name = 'ETHIOPIA'::bpchar))"}]}]}, {"Node Type": "Index Scan", "Parent Relationship": "Inner", "Parallel Aware": false, "Scan Direction": "Forward", "Index Name": "l_sk_pk", "Relation Name": "lineitem", "Schema": "public", "Alias": "lineitem", "Startup Cost": 0.56, "Total Cost": 27.83, "Plan Rows": 183, "Plan Width": 24, "Output": ["lineitem.l_orderkey", "lineitem.l_partkey", "lineitem.l_suppkey", "lineitem.l_linenumber", "lineitem.l_quantity", "lineitem.l_extendedprice", "lineitem.l_discount", "lineitem.l_tax", "lineitem.l_returnflag", "lineitem.l_linestatus", "lineitem.l_shipdate", "lineitem.l_commitdate", "lineitem.l_receiptdate", "lineitem.l_shipinstruct", "lineitem.l_shipmode", "lineitem.l_comment"], "Index Cond": "(lineitem.l_suppkey = supplier.s_suppkey)", "Filter": "((lineitem.l_shipdate >= '1995-01-01'::date) AND (lineitem.l_shipdate <= '1996-12-31'::date))"}]}, {"Node Type": "Hash", "Parent Relationship": "Inner", "Parallel Aware": true, "Startup Cost": 74450.76, "Total Cost": 74450.76, "Plan Rows": 299994, "Plan Width": 30, "Output": ["orders.o_orderkey", "n2.n_name"], "Plans": [{"Node Type": "Nested Loop", "Parent Relationship": "Outer", "Parallel Aware": false, "Join Type": "Inner", "Startup Cost": 1.83, "Total Cost": 74450.76, "Plan Rows": 299994, "Plan Width": 30, "Output": ["orders.o_orderkey", "n2.n_name"], "Inner Unique": false, "Plans": [{"Node Type": "Hash Join", "Parent Relationship": "Outer", "Parallel Aware": false, "Join Type": "Inner", "Startup Cost": 1.4, "Total Cost": 40729.65, "Plan Rows": 30000, "Plan Width": 30, "Output": ["customer.c_custkey", "n2.n_name"], "Inner Unique": true, "Hash Cond": "(customer.c_nationkey = n2.n_nationkey)", "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": true, "Relation Name": "customer", "Schema": "public", "Alias": "customer", "Startup Cost": 0.0, "Total Cost": 39577.0, "Plan Rows": 375000, "Plan Width": 8, "Output": ["customer.c_custkey", "customer.c_name", "customer.c_address", "customer.c_nationkey", "customer.c_phone", "customer.c_acctbal", "customer.c_mktsegment", "customer.c_comment"]}, {"Node Type": "Hash", "Parent Relationship": "Inner", "Parallel Aware": false, "Startup Cost": 1.38, "Total Cost": 1.38, "Plan Rows": 2, "Plan Width": 30, "Output": ["n2.n_name", "n2.n_nationkey"], "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Relation Name": "nation", "Schema": "public", "Alias": "n2", "Startup Cost": 0.0, "Total Cost": 1.38, "Plan Rows": 2, "Plan Width": 30, "Output": ["n2.n_name", "n2.n_nationkey"], "Filter": "((n2.n_name = 'ETHIOPIA'::bpchar) OR (n2.n_name = 'IRAN'::bpchar))"}]}]}, {"Node Type": "Index Scan", "Parent Relationship": "Inner", "Parallel Aware": false, "Scan Direction": "Forward", "Index Name": "o_ck", "Relation Name": "orders", "Schema": "public", "Alias": "orders", "Startup Cost": 0.43, "Total Cost": 0.95, "Plan Rows": 17, "Plan Width": 8, "Output": ["orders.o_orderkey", "orders.o_custkey", "orders.o_orderstatus", "orders.o_totalprice", "orders.o_orderdate", "orders.o_orderpriority", "orders.o_clerk", "orders.o_shippriority", "orders.o_comment"], "Index Cond": "(orders.o_custkey = customer.c_custkey)"}]}]}]}]}]}]}]}} diff --git a/dev9/pg12/tpch/sf_10/explain/15721/8-1.ok b/dev9/pg12/tpch/sf_10/explain/15721/8-1.ok new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/dev9/pg12/tpch/sf_10/explain/15721/8-1.res b/dev9/pg12/tpch/sf_10/explain/15721/8-1.res new file mode 100644 index 0000000000000000000000000000000000000000..a9114b1a525aa7630a311c1c371aeccc3c9a64de --- /dev/null +++ b/dev9/pg12/tpch/sf_10/explain/15721/8-1.res @@ -0,0 +1 @@ +{"Plan": {"Node Type": "Aggregate", "Strategy": "Sorted", "Partial Mode": "Finalize", "Parallel Aware": false, "Startup Cost": 213388.54, "Total Cost": 214892.36, "Plan Rows": 2406, "Plan Width": 40, "Output": ["(date_part('year'::text, (orders.o_orderdate)::timestamp without time zone))", "(sum(CASE WHEN (n2.n_name = 'ETHIOPIA'::bpchar) THEN (lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount)) ELSE '0'::numeric END) / sum((lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount))))"], "Group Key": ["(date_part('year'::text, (orders.o_orderdate)::timestamp without time zone))"], "Plans": [{"Node Type": "Gather Merge", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 213388.54, "Total Cost": 214717.93, "Plan Rows": 9624, "Plan Width": 72, "Output": ["(date_part('year'::text, (orders.o_orderdate)::timestamp without time zone))", "(PARTIAL sum(CASE WHEN (n2.n_name = 'ETHIOPIA'::bpchar) THEN (lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount)) ELSE '0'::numeric END))", "(PARTIAL sum((lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount))))"], "Workers Planned": 4, "Plans": [{"Node Type": "Aggregate", "Strategy": "Sorted", "Partial Mode": "Partial", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 212388.48, "Total Cost": 212571.56, "Plan Rows": 2406, "Plan Width": 72, "Output": ["(date_part('year'::text, (orders.o_orderdate)::timestamp without time zone))", "PARTIAL sum(CASE WHEN (n2.n_name = 'ETHIOPIA'::bpchar) THEN (lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount)) ELSE '0'::numeric END)", "PARTIAL sum((lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount)))"], "Group Key": ["(date_part('year'::text, (orders.o_orderdate)::timestamp without time zone))"], "Plans": [{"Node Type": "Sort", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 212388.48, "Total Cost": 212403.48, "Plan Rows": 5998, "Plan Width": 46, "Output": ["(date_part('year'::text, (orders.o_orderdate)::timestamp without time zone))", "n2.n_name", "lineitem.l_extendedprice", "lineitem.l_discount"], "Sort Key": ["(date_part('year'::text, (orders.o_orderdate)::timestamp without time zone))"], "Plans": [{"Node Type": "Hash Join", "Parent Relationship": "Outer", "Parallel Aware": false, "Join Type": "Inner", "Startup Cost": 5.79, "Total Cost": 212012.1, "Plan Rows": 5998, "Plan Width": 46, "Output": ["date_part('year'::text, (orders.o_orderdate)::timestamp without time zone)", "n2.n_name", "lineitem.l_extendedprice", "lineitem.l_discount"], "Inner Unique": true, "Hash Cond": "(supplier.s_nationkey = n2.n_nationkey)", "Plans": [{"Node Type": "Nested Loop", "Parent Relationship": "Outer", "Parallel Aware": false, "Join Type": "Inner", "Startup Cost": 4.23, "Total Cost": 211962.13, "Plan Rows": 5998, "Plan Width": 20, "Output": ["lineitem.l_extendedprice", "lineitem.l_discount", "supplier.s_nationkey", "orders.o_orderdate"], "Inner Unique": true, "Plans": [{"Node Type": "Hash Join", "Parent Relationship": "Outer", "Parallel Aware": false, "Join Type": "Inner", "Startup Cost": 3.94, "Total Cost": 210102.48, "Plan Rows": 5998, "Plan Width": 20, "Output": ["lineitem.l_extendedprice", "lineitem.l_discount", "lineitem.l_suppkey", "orders.o_orderdate"], "Inner Unique": false, "Hash Cond": "(customer.c_nationkey = n1.n_nationkey)", "Plans": [{"Node Type": "Nested Loop", "Parent Relationship": "Outer", "Parallel Aware": false, "Join Type": "Inner", "Startup Cost": 1.43, "Total Cost": 209927.54, "Plan Rows": 29988, "Plan Width": 24, "Output": ["lineitem.l_extendedprice", "lineitem.l_discount", "lineitem.l_suppkey", "orders.o_orderdate", "customer.c_nationkey"], "Inner Unique": true, "Plans": [{"Node Type": "Nested Loop", "Parent Relationship": "Outer", "Parallel Aware": false, "Join Type": "Inner", "Startup Cost": 1.0, "Total Cost": 196293.24, "Plan Rows": 29988, "Plan Width": 24, "Output": ["lineitem.l_extendedprice", "lineitem.l_discount", "lineitem.l_suppkey", "orders.o_orderdate", "orders.o_custkey"], "Inner Unique": true, "Plans": [{"Node Type": "Nested Loop", "Parent Relationship": "Outer", "Parallel Aware": false, "Join Type": "Inner", "Startup Cost": 0.56, "Total Cost": 150508.43, "Plan Rows": 98879, "Plan Width": 20, "Output": ["lineitem.l_extendedprice", "lineitem.l_discount", "lineitem.l_suppkey", "lineitem.l_orderkey"], "Inner Unique": false, "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": true, "Relation Name": "part", "Schema": "public", "Alias": "part", "Startup Cost": 0.0, "Total Cost": 47212.0, "Plan Rows": 3297, "Plan Width": 4, "Output": ["part.p_partkey", "part.p_name", "part.p_mfgr", "part.p_brand", "part.p_type", "part.p_size", "part.p_container", "part.p_retailprice", "part.p_comment"], "Filter": "((part.p_type)::text = 'SMALL BRUSHED NICKEL'::text)"}, {"Node Type": "Index Scan", "Parent Relationship": "Inner", "Parallel Aware": false, "Scan Direction": "Forward", "Index Name": "l_pk", "Relation Name": "lineitem", "Schema": "public", "Alias": "lineitem", "Startup Cost": 0.56, "Total Cost": 31.02, "Plan Rows": 31, "Plan Width": 24, "Output": ["lineitem.l_orderkey", "lineitem.l_partkey", "lineitem.l_suppkey", "lineitem.l_linenumber", "lineitem.l_quantity", "lineitem.l_extendedprice", "lineitem.l_discount", "lineitem.l_tax", "lineitem.l_returnflag", "lineitem.l_linestatus", "lineitem.l_shipdate", "lineitem.l_commitdate", "lineitem.l_receiptdate", "lineitem.l_shipinstruct", "lineitem.l_shipmode", "lineitem.l_comment"], "Index Cond": "(lineitem.l_partkey = part.p_partkey)"}]}, {"Node Type": "Index Scan", "Parent Relationship": "Inner", "Parallel Aware": false, "Scan Direction": "Forward", "Index Name": "o_ok", "Relation Name": "orders", "Schema": "public", "Alias": "orders", "Startup Cost": 0.43, "Total Cost": 0.46, "Plan Rows": 1, "Plan Width": 12, "Output": ["orders.o_orderkey", "orders.o_custkey", "orders.o_orderstatus", "orders.o_totalprice", "orders.o_orderdate", "orders.o_orderpriority", "orders.o_clerk", "orders.o_shippriority", "orders.o_comment"], "Index Cond": "(orders.o_orderkey = lineitem.l_orderkey)", "Filter": "((orders.o_orderdate >= '1995-01-01'::date) AND (orders.o_orderdate <= '1996-12-31'::date))"}]}, {"Node Type": "Index Scan", "Parent Relationship": "Inner", "Parallel Aware": false, "Scan Direction": "Forward", "Index Name": "c_ck", "Relation Name": "customer", "Schema": "public", "Alias": "customer", "Startup Cost": 0.43, "Total Cost": 0.45, "Plan Rows": 1, "Plan Width": 8, "Output": ["customer.c_custkey", "customer.c_name", "customer.c_address", "customer.c_nationkey", "customer.c_phone", "customer.c_acctbal", "customer.c_mktsegment", "customer.c_comment"], "Index Cond": "(customer.c_custkey = orders.o_custkey)"}]}, {"Node Type": "Hash", "Parent Relationship": "Inner", "Parallel Aware": false, "Startup Cost": 2.45, "Total Cost": 2.45, "Plan Rows": 5, "Plan Width": 4, "Output": ["n1.n_nationkey"], "Plans": [{"Node Type": "Hash Join", "Parent Relationship": "Outer", "Parallel Aware": false, "Join Type": "Inner", "Startup Cost": 1.07, "Total Cost": 2.45, "Plan Rows": 5, "Plan Width": 4, "Output": ["n1.n_nationkey"], "Inner Unique": true, "Hash Cond": "(n1.n_regionkey = region.r_regionkey)", "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Relation Name": "nation", "Schema": "public", "Alias": "n1", "Startup Cost": 0.0, "Total Cost": 1.25, "Plan Rows": 25, "Plan Width": 8, "Output": ["n1.n_nationkey", "n1.n_name", "n1.n_regionkey", "n1.n_comment"]}, {"Node Type": "Hash", "Parent Relationship": "Inner", "Parallel Aware": false, "Startup Cost": 1.06, "Total Cost": 1.06, "Plan Rows": 1, "Plan Width": 4, "Output": ["region.r_regionkey"], "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Relation Name": "region", "Schema": "public", "Alias": "region", "Startup Cost": 0.0, "Total Cost": 1.06, "Plan Rows": 1, "Plan Width": 4, "Output": ["region.r_regionkey"], "Filter": "(region.r_name = 'AFRICA'::bpchar)"}]}]}]}]}, {"Node Type": "Index Scan", "Parent Relationship": "Inner", "Parallel Aware": false, "Scan Direction": "Forward", "Index Name": "s_sk", "Relation Name": "supplier", "Schema": "public", "Alias": "supplier", "Startup Cost": 0.29, "Total Cost": 0.31, "Plan Rows": 1, "Plan Width": 8, "Output": ["supplier.s_suppkey", "supplier.s_name", "supplier.s_address", "supplier.s_nationkey", "supplier.s_phone", "supplier.s_acctbal", "supplier.s_comment"], "Index Cond": "(supplier.s_suppkey = lineitem.l_suppkey)"}]}, {"Node Type": "Hash", "Parent Relationship": "Inner", "Parallel Aware": false, "Startup Cost": 1.25, "Total Cost": 1.25, "Plan Rows": 25, "Plan Width": 30, "Output": ["n2.n_name", "n2.n_nationkey"], "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Relation Name": "nation", "Schema": "public", "Alias": "n2", "Startup Cost": 0.0, "Total Cost": 1.25, "Plan Rows": 25, "Plan Width": 30, "Output": ["n2.n_name", "n2.n_nationkey"]}]}]}]}]}]}]}} diff --git a/dev9/pg12/tpch/sf_10/explain/15721/9-1.ok b/dev9/pg12/tpch/sf_10/explain/15721/9-1.ok new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/dev9/pg12/tpch/sf_10/explain/15721/9-1.res b/dev9/pg12/tpch/sf_10/explain/15721/9-1.res new file mode 100644 index 0000000000000000000000000000000000000000..8a0c64c6f55d01a06e3ad73bdab1fe5534ecf241 --- /dev/null +++ b/dev9/pg12/tpch/sf_10/explain/15721/9-1.res @@ -0,0 +1 @@ +{"Plan": {"Node Type": "Sort", "Parallel Aware": false, "Startup Cost": 452480.02, "Total Cost": 452630.39, "Plan Rows": 60150, "Plan Width": 66, "Output": ["nation.n_name", "(date_part('year'::text, (orders.o_orderdate)::timestamp without time zone))", "(sum(((lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount)) - (partsupp.ps_supplycost * lineitem.l_quantity))))"], "Sort Key": ["nation.n_name", "(date_part('year'::text, (orders.o_orderdate)::timestamp without time zone)) DESC"], "Plans": [{"Node Type": "Aggregate", "Strategy": "Hashed", "Partial Mode": "Finalize", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 446652.6, "Total Cost": 447705.23, "Plan Rows": 60150, "Plan Width": 66, "Output": ["nation.n_name", "(date_part('year'::text, (orders.o_orderdate)::timestamp without time zone))", "sum(((lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount)) - (partsupp.ps_supplycost * lineitem.l_quantity)))"], "Group Key": ["nation.n_name", "(date_part('year'::text, (orders.o_orderdate)::timestamp without time zone))"], "Plans": [{"Node Type": "Gather", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 419133.98, "Total Cost": 444246.6, "Plan Rows": 240600, "Plan Width": 66, "Output": ["nation.n_name", "(date_part('year'::text, (orders.o_orderdate)::timestamp without time zone))", "(PARTIAL sum(((lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount)) - (partsupp.ps_supplycost * lineitem.l_quantity))))"], "Workers Planned": 4, "Single Copy": false, "Plans": [{"Node Type": "Aggregate", "Strategy": "Hashed", "Partial Mode": "Partial", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 418133.98, "Total Cost": 419186.6, "Plan Rows": 60150, "Plan Width": 66, "Output": ["nation.n_name", "(date_part('year'::text, (orders.o_orderdate)::timestamp without time zone))", "PARTIAL sum(((lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount)) - (partsupp.ps_supplycost * lineitem.l_quantity)))"], "Group Key": ["nation.n_name", "date_part('year'::text, (orders.o_orderdate)::timestamp without time zone)"], "Plans": [{"Node Type": "Nested Loop", "Parent Relationship": "Outer", "Parallel Aware": false, "Join Type": "Inner", "Startup Cost": 3542.53, "Total Cost": 408141.37, "Plan Rows": 571006, "Plan Width": 57, "Output": ["nation.n_name", "date_part('year'::text, (orders.o_orderdate)::timestamp without time zone)", "lineitem.l_extendedprice", "lineitem.l_discount", "partsupp.ps_supplycost", "lineitem.l_quantity"], "Inner Unique": true, "Plans": [{"Node Type": "Nested Loop", "Parent Relationship": "Outer", "Parallel Aware": false, "Join Type": "Inner", "Startup Cost": 3542.1, "Total Cost": 143743.46, "Plan Rows": 571006, "Plan Width": 53, "Output": ["lineitem.l_extendedprice", "lineitem.l_discount", "lineitem.l_quantity", "lineitem.l_orderkey", "partsupp.ps_supplycost", "nation.n_name"], "Inner Unique": false, "Join Filter": "(supplier.s_suppkey = lineitem.l_suppkey)", "Plans": [{"Node Type": "Hash Join", "Parent Relationship": "Outer", "Parallel Aware": false, "Join Type": "Inner", "Startup Cost": 3541.53, "Total Cost": 84740.88, "Plan Rows": 76156, "Plan Width": 48, "Output": ["part.p_partkey", "partsupp.ps_supplycost", "partsupp.ps_suppkey", "partsupp.ps_partkey", "supplier.s_suppkey", "nation.n_name"], "Inner Unique": true, "Hash Cond": "(supplier.s_nationkey = nation.n_nationkey)", "Plans": [{"Node Type": "Hash Join", "Parent Relationship": "Outer", "Parallel Aware": true, "Join Type": "Inner", "Startup Cost": 3539.97, "Total Cost": 84505.52, "Plan Rows": 76156, "Plan Width": 26, "Output": ["part.p_partkey", "partsupp.ps_supplycost", "partsupp.ps_suppkey", "partsupp.ps_partkey", "supplier.s_suppkey", "supplier.s_nationkey"], "Inner Unique": true, "Hash Cond": "(partsupp.ps_suppkey = supplier.s_suppkey)", "Plans": [{"Node Type": "Nested Loop", "Parent Relationship": "Outer", "Parallel Aware": false, "Join Type": "Inner", "Startup Cost": 0.43, "Total Cost": 80766.07, "Plan Rows": 76156, "Plan Width": 18, "Output": ["part.p_partkey", "partsupp.ps_supplycost", "partsupp.ps_suppkey", "partsupp.ps_partkey"], "Inner Unique": false, "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": true, "Relation Name": "part", "Schema": "public", "Alias": "part", "Startup Cost": 0.0, "Total Cost": 47212.0, "Plan Rows": 19038, "Plan Width": 4, "Output": ["part.p_partkey", "part.p_name", "part.p_mfgr", "part.p_brand", "part.p_type", "part.p_size", "part.p_container", "part.p_retailprice", "part.p_comment"], "Filter": "((part.p_name)::text ~~ '%forest%'::text)"}, {"Node Type": "Index Scan", "Parent Relationship": "Inner", "Parallel Aware": false, "Scan Direction": "Forward", "Index Name": "ps_pk", "Relation Name": "partsupp", "Schema": "public", "Alias": "partsupp", "Startup Cost": 0.43, "Total Cost": 1.72, "Plan Rows": 4, "Plan Width": 14, "Output": ["partsupp.ps_partkey", "partsupp.ps_suppkey", "partsupp.ps_availqty", "partsupp.ps_supplycost", "partsupp.ps_comment"], "Index Cond": "(partsupp.ps_partkey = part.p_partkey)"}]}, {"Node Type": "Hash", "Parent Relationship": "Inner", "Parallel Aware": true, "Startup Cost": 2804.24, "Total Cost": 2804.24, "Plan Rows": 58824, "Plan Width": 8, "Output": ["supplier.s_suppkey", "supplier.s_nationkey"], "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": true, "Relation Name": "supplier", "Schema": "public", "Alias": "supplier", "Startup Cost": 0.0, "Total Cost": 2804.24, "Plan Rows": 58824, "Plan Width": 8, "Output": ["supplier.s_suppkey", "supplier.s_nationkey"]}]}]}, {"Node Type": "Hash", "Parent Relationship": "Inner", "Parallel Aware": false, "Startup Cost": 1.25, "Total Cost": 1.25, "Plan Rows": 25, "Plan Width": 30, "Output": ["nation.n_name", "nation.n_nationkey"], "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Relation Name": "nation", "Schema": "public", "Alias": "nation", "Startup Cost": 0.0, "Total Cost": 1.25, "Plan Rows": 25, "Plan Width": 30, "Output": ["nation.n_name", "nation.n_nationkey"]}]}]}, {"Node Type": "Index Scan", "Parent Relationship": "Inner", "Parallel Aware": false, "Scan Direction": "Forward", "Index Name": "l_pk_sk", "Relation Name": "lineitem", "Schema": "public", "Alias": "lineitem", "Startup Cost": 0.56, "Total Cost": 0.76, "Plan Rows": 1, "Plan Width": 29, "Output": ["lineitem.l_orderkey", "lineitem.l_partkey", "lineitem.l_suppkey", "lineitem.l_linenumber", "lineitem.l_quantity", "lineitem.l_extendedprice", "lineitem.l_discount", "lineitem.l_tax", "lineitem.l_returnflag", "lineitem.l_linestatus", "lineitem.l_shipdate", "lineitem.l_commitdate", "lineitem.l_receiptdate", "lineitem.l_shipinstruct", "lineitem.l_shipmode", "lineitem.l_comment"], "Index Cond": "((lineitem.l_partkey = partsupp.ps_partkey) AND (lineitem.l_suppkey = partsupp.ps_suppkey))"}]}, {"Node Type": "Index Scan", "Parent Relationship": "Inner", "Parallel Aware": false, "Scan Direction": "Forward", "Index Name": "o_ok", "Relation Name": "orders", "Schema": "public", "Alias": "orders", "Startup Cost": 0.43, "Total Cost": 0.46, "Plan Rows": 1, "Plan Width": 8, "Output": ["orders.o_orderkey", "orders.o_custkey", "orders.o_orderstatus", "orders.o_totalprice", "orders.o_orderdate", "orders.o_orderpriority", "orders.o_clerk", "orders.o_shippriority", "orders.o_comment"], "Index Cond": "(orders.o_orderkey = lineitem.l_orderkey)"}]}]}]}]}]}} diff --git a/dev9/pg12/tpch/sf_10/explain_analyze/15721/1-1.ok b/dev9/pg12/tpch/sf_10/explain_analyze/15721/1-1.ok new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/dev9/pg12/tpch/sf_10/explain_analyze/15721/1-1.res b/dev9/pg12/tpch/sf_10/explain_analyze/15721/1-1.res new file mode 100644 index 0000000000000000000000000000000000000000..7900f2f23009e013e9d86d01b04c00f3dd5f4a07 --- /dev/null +++ b/dev9/pg12/tpch/sf_10/explain_analyze/15721/1-1.res @@ -0,0 +1 @@ +{"Plan": {"Node Type": "Aggregate", "Strategy": "Sorted", "Partial Mode": "Finalize", "Parallel Aware": false, "Startup Cost": 1567487.25, "Total Cost": 1567494.36, "Plan Rows": 6, "Plan Width": 236, "Actual Startup Time": 12857.279, "Actual Total Time": 15553.663, "Actual Rows": 4, "Actual Loops": 1, "Output": ["l_returnflag", "l_linestatus", "sum(l_quantity)", "sum(l_extendedprice)", "sum((l_extendedprice * ('1'::numeric - l_discount)))", "sum(((l_extendedprice * ('1'::numeric - l_discount)) * ('1'::numeric + l_tax)))", "avg(l_quantity)", "avg(l_extendedprice)", "avg(l_discount)", "count(*)"], "Group Key": ["lineitem.l_returnflag", "lineitem.l_linestatus"], "Plans": [{"Node Type": "Gather Merge", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 1567487.25, "Total Cost": 1567492.41, "Plan Rows": 42, "Plan Width": 236, "Actual Startup Time": 12857.2, "Actual Total Time": 15553.49, "Actual Rows": 32, "Actual Loops": 1, "Output": ["l_returnflag", "l_linestatus", "(PARTIAL sum(l_quantity))", "(PARTIAL sum(l_extendedprice))", "(PARTIAL sum((l_extendedprice * ('1'::numeric - l_discount))))", "(PARTIAL sum(((l_extendedprice * ('1'::numeric - l_discount)) * ('1'::numeric + l_tax))))", "(PARTIAL avg(l_quantity))", "(PARTIAL avg(l_extendedprice))", "(PARTIAL avg(l_discount))", "(PARTIAL count(*))"], "Workers Planned": 7, "Workers Launched": 7, "Plans": [{"Node Type": "Sort", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 1566487.13, "Total Cost": 1566487.14, "Plan Rows": 6, "Plan Width": 236, "Actual Startup Time": 12851.835, "Actual Total Time": 12851.838, "Actual Rows": 4, "Actual Loops": 8, "Output": ["l_returnflag", "l_linestatus", "(PARTIAL sum(l_quantity))", "(PARTIAL sum(l_extendedprice))", "(PARTIAL sum((l_extendedprice * ('1'::numeric - l_discount))))", "(PARTIAL sum(((l_extendedprice * ('1'::numeric - l_discount)) * ('1'::numeric + l_tax))))", "(PARTIAL avg(l_quantity))", "(PARTIAL avg(l_extendedprice))", "(PARTIAL avg(l_discount))", "(PARTIAL count(*))"], "Sort Key": ["lineitem.l_returnflag", "lineitem.l_linestatus"], "Sort Method": "quicksort", "Sort Space Used": 27, "Sort Space Type": "Memory", "Workers": [{"Worker Number": 0, "Actual Startup Time": 12851.136, "Actual Total Time": 12851.139, "Actual Rows": 4, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 12851.188, "Actual Total Time": 12851.192, "Actual Rows": 4, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 12851.172, "Actual Total Time": 12851.175, "Actual Rows": 4, "Actual Loops": 1}, {"Worker Number": 3, "Actual Startup Time": 12851.156, "Actual Total Time": 12851.159, "Actual Rows": 4, "Actual Loops": 1}, {"Worker Number": 4, "Actual Startup Time": 12851.117, "Actual Total Time": 12851.12, "Actual Rows": 4, "Actual Loops": 1}, {"Worker Number": 5, "Actual Startup Time": 12851.114, "Actual Total Time": 12851.117, "Actual Rows": 4, "Actual Loops": 1}, {"Worker Number": 6, "Actual Startup Time": 12851.146, "Actual Total Time": 12851.148, "Actual Rows": 4, "Actual Loops": 1}], "Plans": [{"Node Type": "Aggregate", "Strategy": "Hashed", "Partial Mode": "Partial", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 1566486.88, "Total Cost": 1566487.05, "Plan Rows": 6, "Plan Width": 236, "Actual Startup Time": 12851.785, "Actual Total Time": 12851.797, "Actual Rows": 4, "Actual Loops": 8, "Output": ["l_returnflag", "l_linestatus", "PARTIAL sum(l_quantity)", "PARTIAL sum(l_extendedprice)", "PARTIAL sum((l_extendedprice * ('1'::numeric - l_discount)))", "PARTIAL sum(((l_extendedprice * ('1'::numeric - l_discount)) * ('1'::numeric + l_tax)))", "PARTIAL avg(l_quantity)", "PARTIAL avg(l_extendedprice)", "PARTIAL avg(l_discount)", "PARTIAL count(*)"], "Group Key": ["lineitem.l_returnflag", "lineitem.l_linestatus"], "Workers": [{"Worker Number": 0, "Actual Startup Time": 12851.08, "Actual Total Time": 12851.093, "Actual Rows": 4, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 12851.135, "Actual Total Time": 12851.147, "Actual Rows": 4, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 12851.115, "Actual Total Time": 12851.127, "Actual Rows": 4, "Actual Loops": 1}, {"Worker Number": 3, "Actual Startup Time": 12851.106, "Actual Total Time": 12851.117, "Actual Rows": 4, "Actual Loops": 1}, {"Worker Number": 4, "Actual Startup Time": 12851.06, "Actual Total Time": 12851.072, "Actual Rows": 4, "Actual Loops": 1}, {"Worker Number": 5, "Actual Startup Time": 12851.059, "Actual Total Time": 12851.07, "Actual Rows": 4, "Actual Loops": 1}, {"Worker Number": 6, "Actual Startup Time": 12851.095, "Actual Total Time": 12851.106, "Actual Rows": 4, "Actual Loops": 1}], "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": true, "Relation Name": "lineitem", "Schema": "public", "Alias": "lineitem", "Startup Cost": 0.0, "Total Cost": 1231656.36, "Plan Rows": 8370763, "Plan Width": 25, "Actual Startup Time": 0.036, "Actual Total Time": 2284.301, "Actual Rows": 7323456, "Actual Loops": 8, "Output": ["l_orderkey", "l_partkey", "l_suppkey", "l_linenumber", "l_quantity", "l_extendedprice", "l_discount", "l_tax", "l_returnflag", "l_linestatus", "l_shipdate", "l_commitdate", "l_receiptdate", "l_shipinstruct", "l_shipmode", "l_comment"], "Filter": "(lineitem.l_shipdate <= '1998-08-07 23:59:57'::timestamp without time zone)", "Rows Removed by Filter": 174801, "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.032, "Actual Total Time": 2462.275, "Actual Rows": 7163969, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 0.027, "Actual Total Time": 2458.45, "Actual Rows": 7187050, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 0.044, "Actual Total Time": 2299.527, "Actual Rows": 7327750, "Actual Loops": 1}, {"Worker Number": 3, "Actual Startup Time": 0.034, "Actual Total Time": 2303.325, "Actual Rows": 7324666, "Actual Loops": 1}, {"Worker Number": 4, "Actual Startup Time": 0.048, "Actual Total Time": 2309.355, "Actual Rows": 7320644, "Actual Loops": 1}, {"Worker Number": 5, "Actual Startup Time": 0.044, "Actual Total Time": 2295.07, "Actual Rows": 7286269, "Actual Loops": 1}, {"Worker Number": 6, "Actual Startup Time": 0.047, "Actual Total Time": 2331.019, "Actual Rows": 7305704, "Actual Loops": 1}]}]}]}]}]}, "Planning Time": 0.523, "Triggers": [], "Execution Time": 15553.781} diff --git a/dev9/pg12/tpch/sf_10/explain_analyze/15721/10-1.ok b/dev9/pg12/tpch/sf_10/explain_analyze/15721/10-1.ok new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/dev9/pg12/tpch/sf_10/explain_analyze/15721/10-1.res b/dev9/pg12/tpch/sf_10/explain_analyze/15721/10-1.res new file mode 100644 index 0000000000000000000000000000000000000000..28fb14d991c6600c1ab0d3838f675713fdbf6e69 --- /dev/null +++ b/dev9/pg12/tpch/sf_10/explain_analyze/15721/10-1.res @@ -0,0 +1 @@ +{"Plan": {"Node Type": "Limit", "Parallel Aware": false, "Startup Cost": 658309.68, "Total Cost": 658309.73, "Plan Rows": 20, "Plan Width": 202, "Actual Startup Time": 2779.776, "Actual Total Time": 2963.652, "Actual Rows": 20, "Actual Loops": 1, "Output": ["customer.c_custkey", "customer.c_name", "(sum((lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount))))", "customer.c_acctbal", "nation.n_name", "customer.c_address", "customer.c_phone", "customer.c_comment"], "Plans": [{"Node Type": "Sort", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 658309.68, "Total Cost": 659705.35, "Plan Rows": 558270, "Plan Width": 202, "Actual Startup Time": 2779.774, "Actual Total Time": 2963.647, "Actual Rows": 20, "Actual Loops": 1, "Output": ["customer.c_custkey", "customer.c_name", "(sum((lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount))))", "customer.c_acctbal", "nation.n_name", "customer.c_address", "customer.c_phone", "customer.c_comment"], "Sort Key": ["(sum((lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount)))) DESC"], "Sort Method": "top-N heapsort", "Sort Space Used": 34, "Sort Space Type": "Memory", "Plans": [{"Node Type": "Aggregate", "Strategy": "Sorted", "Partial Mode": "Finalize", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 560559.52, "Total Cost": 643454.31, "Plan Rows": 558270, "Plan Width": 202, "Actual Startup Time": 1876.211, "Actual Total Time": 2828.945, "Actual Rows": 372741, "Actual Loops": 1, "Output": ["customer.c_custkey", "customer.c_name", "sum((lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount)))", "customer.c_acctbal", "nation.n_name", "customer.c_address", "customer.c_phone", "customer.c_comment"], "Group Key": ["customer.c_custkey", "nation.n_name"], "Plans": [{"Node Type": "Gather Merge", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 560559.52, "Total Cost": 630893.22, "Plan Rows": 558272, "Plan Width": 202, "Actual Startup Time": 1876.202, "Actual Total Time": 2401.774, "Actual Rows": 372741, "Actual Loops": 1, "Output": ["customer.c_custkey", "nation.n_name", "customer.c_name", "(PARTIAL sum((lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount))))", "customer.c_acctbal", "customer.c_address", "customer.c_phone", "customer.c_comment"], "Workers Planned": 4, "Workers Launched": 4, "Plans": [{"Node Type": "Aggregate", "Strategy": "Sorted", "Partial Mode": "Partial", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 559559.46, "Total Cost": 563397.58, "Plan Rows": 139568, "Plan Width": 202, "Actual Startup Time": 1861.047, "Actual Total Time": 2100.776, "Actual Rows": 74548, "Actual Loops": 5, "Output": ["customer.c_custkey", "nation.n_name", "customer.c_name", "PARTIAL sum((lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount)))", "customer.c_acctbal", "customer.c_address", "customer.c_phone", "customer.c_comment"], "Group Key": ["customer.c_custkey", "nation.n_name"], "Workers": [{"Worker Number": 0, "Actual Startup Time": 1858.16, "Actual Total Time": 2092.037, "Actual Rows": 73309, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 1857.344, "Actual Total Time": 2090.54, "Actual Rows": 72789, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 1856.599, "Actual Total Time": 2091.095, "Actual Rows": 72022, "Actual Loops": 1}, {"Worker Number": 3, "Actual Startup Time": 1857.487, "Actual Total Time": 2087.987, "Actual Rows": 72122, "Actual Loops": 1}], "Plans": [{"Node Type": "Sort", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 559559.46, "Total Cost": 559908.38, "Plan Rows": 139568, "Plan Width": 182, "Actual Startup Time": 1861.02, "Actual Total Time": 1896.898, "Actual Rows": 222576, "Actual Loops": 5, "Output": ["customer.c_custkey", "nation.n_name", "customer.c_name", "lineitem.l_extendedprice", "lineitem.l_discount", "customer.c_acctbal", "customer.c_address", "customer.c_phone", "customer.c_comment"], "Sort Key": ["customer.c_custkey", "nation.n_name"], "Sort Method": "external merge", "Sort Space Used": 47040, "Sort Space Type": "Disk", "Workers": [{"Worker Number": 0, "Actual Startup Time": 1858.13, "Actual Total Time": 1893.495, "Actual Rows": 218847, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 1857.313, "Actual Total Time": 1892.873, "Actual Rows": 217365, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 1856.567, "Actual Total Time": 1891.709, "Actual Rows": 215239, "Actual Loops": 1}, {"Worker Number": 3, "Actual Startup Time": 1857.464, "Actual Total Time": 1892.629, "Actual Rows": 214731, "Actual Loops": 1}], "Plans": [{"Node Type": "Hash Join", "Parent Relationship": "Outer", "Parallel Aware": false, "Join Type": "Inner", "Startup Cost": 497785.91, "Total Cost": 540367.75, "Plan Rows": 139568, "Plan Width": 182, "Actual Startup Time": 1431.844, "Actual Total Time": 1687.484, "Actual Rows": 222576, "Actual Loops": 5, "Output": ["customer.c_custkey", "nation.n_name", "customer.c_name", "lineitem.l_extendedprice", "lineitem.l_discount", "customer.c_acctbal", "customer.c_address", "customer.c_phone", "customer.c_comment"], "Inner Unique": true, "Hash Cond": "(customer.c_nationkey = nation.n_nationkey)", "Workers": [{"Worker Number": 0, "Actual Startup Time": 1430.766, "Actual Total Time": 1684.677, "Actual Rows": 218847, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 1430.769, "Actual Total Time": 1683.526, "Actual Rows": 217365, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 1430.764, "Actual Total Time": 1681.277, "Actual Rows": 215239, "Actual Loops": 1}, {"Worker Number": 3, "Actual Startup Time": 1430.772, "Actual Total Time": 1683.158, "Actual Rows": 214731, "Actual Loops": 1}], "Plans": [{"Node Type": "Hash Join", "Parent Relationship": "Outer", "Parallel Aware": true, "Join Type": "Inner", "Startup Cost": 497784.35, "Total Cost": 539937.71, "Plan Rows": 139568, "Plan Width": 160, "Actual Startup Time": 1431.738, "Actual Total Time": 1636.145, "Actual Rows": 222576, "Actual Loops": 5, "Output": ["customer.c_custkey", "customer.c_name", "customer.c_acctbal", "customer.c_address", "customer.c_phone", "customer.c_comment", "customer.c_nationkey", "lineitem.l_extendedprice", "lineitem.l_discount"], "Inner Unique": false, "Hash Cond": "(customer.c_custkey = orders.o_custkey)", "Workers": [{"Worker Number": 0, "Actual Startup Time": 1430.641, "Actual Total Time": 1634.039, "Actual Rows": 218847, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 1430.641, "Actual Total Time": 1633.414, "Actual Rows": 217365, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 1430.641, "Actual Total Time": 1631.655, "Actual Rows": 215239, "Actual Loops": 1}, {"Worker Number": 3, "Actual Startup Time": 1430.647, "Actual Total Time": 1633.623, "Actual Rows": 214731, "Actual Loops": 1}], "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": true, "Relation Name": "customer", "Schema": "public", "Alias": "customer", "Startup Cost": 0.0, "Total Cost": 39577.0, "Plan Rows": 375000, "Plan Width": 148, "Actual Startup Time": 0.015, "Actual Total Time": 40.81, "Actual Rows": 300000, "Actual Loops": 5, "Output": ["customer.c_custkey", "customer.c_name", "customer.c_address", "customer.c_nationkey", "customer.c_phone", "customer.c_acctbal", "customer.c_mktsegment", "customer.c_comment"], "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.017, "Actual Total Time": 42.586, "Actual Rows": 295641, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 0.017, "Actual Total Time": 43.119, "Actual Rows": 294113, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 0.02, "Actual Total Time": 42.327, "Actual Rows": 289687, "Actual Loops": 1}, {"Worker Number": 3, "Actual Startup Time": 0.017, "Actual Total Time": 42.386, "Actual Rows": 290629, "Actual Loops": 1}]}, {"Node Type": "Hash", "Parent Relationship": "Inner", "Parallel Aware": true, "Startup Cost": 496621.29, "Total Cost": 496621.29, "Plan Rows": 93045, "Plan Width": 16, "Actual Startup Time": 1430.211, "Actual Total Time": 1430.213, "Actual Rows": 222576, "Actual Loops": 5, "Output": ["orders.o_custkey", "lineitem.l_extendedprice", "lineitem.l_discount"], "Hash Buckets": 2097152, "Original Hash Buckets": 1048576, "Hash Batches": 1, "Original Hash Batches": 1, "Peak Memory Usage": 83456, "Workers": [{"Worker Number": 0, "Actual Startup Time": 1430.581, "Actual Total Time": 1430.583, "Actual Rows": 205186, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 1430.578, "Actual Total Time": 1430.58, "Actual Rows": 204445, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 1430.594, "Actual Total Time": 1430.596, "Actual Rows": 203770, "Actual Loops": 1}, {"Worker Number": 3, "Actual Startup Time": 1430.586, "Actual Total Time": 1430.588, "Actual Rows": 202058, "Actual Loops": 1}], "Plans": [{"Node Type": "Nested Loop", "Parent Relationship": "Outer", "Parallel Aware": false, "Join Type": "Inner", "Startup Cost": 7476.03, "Total Cost": 496621.29, "Plan Rows": 93045, "Plan Width": 16, "Actual Startup Time": 201.037, "Actual Total Time": 1329.198, "Actual Rows": 222576, "Actual Loops": 5, "Output": ["orders.o_custkey", "lineitem.l_extendedprice", "lineitem.l_discount"], "Inner Unique": false, "Workers": [{"Worker Number": 0, "Actual Startup Time": 201.671, "Actual Total Time": 1334.937, "Actual Rows": 205186, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 201.663, "Actual Total Time": 1330.542, "Actual Rows": 204445, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 201.756, "Actual Total Time": 1335.554, "Actual Rows": 203770, "Actual Loops": 1}, {"Worker Number": 3, "Actual Startup Time": 201.755, "Actual Total Time": 1332.77, "Actual Rows": 202058, "Actual Loops": 1}], "Plans": [{"Node Type": "Bitmap Heap Scan", "Parent Relationship": "Outer", "Parallel Aware": true, "Relation Name": "orders", "Schema": "public", "Alias": "orders", "Startup Cost": 7475.47, "Total Cost": 269795.6, "Plan Rows": 93875, "Plan Width": 8, "Actual Startup Time": 200.924, "Actual Total Time": 416.084, "Actual Rows": 111024, "Actual Loops": 5, "Output": ["orders.o_orderkey", "orders.o_custkey", "orders.o_orderstatus", "orders.o_totalprice", "orders.o_orderdate", "orders.o_orderpriority", "orders.o_clerk", "orders.o_shippriority", "orders.o_comment"], "Recheck Cond": "((orders.o_orderdate >= '1993-02-01'::date) AND (orders.o_orderdate < '1993-05-01 00:00:00'::timestamp without time zone))", "Rows Removed by Index Recheck": 0, "Exact Heap Blocks": 61868, "Lossy Heap Blocks": 0, "Workers": [{"Worker Number": 0, "Actual Startup Time": 201.546, "Actual Total Time": 424.488, "Actual Rows": 102326, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 201.536, "Actual Total Time": 423.74, "Actual Rows": 102109, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 201.62, "Actual Total Time": 425.677, "Actual Rows": 101706, "Actual Loops": 1}, {"Worker Number": 3, "Actual Startup Time": 201.621, "Actual Total Time": 424.945, "Actual Rows": 100923, "Actual Loops": 1}], "Plans": [{"Node Type": "Bitmap Index Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Index Name": "o_od", "Startup Cost": 0.0, "Total Cost": 7334.66, "Plan Rows": 563252, "Plan Width": 0, "Actual Startup Time": 116.712, "Actual Total Time": 116.712, "Actual Rows": 555118, "Actual Loops": 1, "Index Cond": "((orders.o_orderdate >= '1993-02-01'::date) AND (orders.o_orderdate < '1993-05-01 00:00:00'::timestamp without time zone))"}]}, {"Node Type": "Index Scan", "Parent Relationship": "Inner", "Parallel Aware": false, "Scan Direction": "Forward", "Index Name": "l_ok", "Relation Name": "lineitem", "Schema": "public", "Alias": "lineitem", "Startup Cost": 0.56, "Total Cost": 2.35, "Plan Rows": 7, "Plan Width": 16, "Actual Startup Time": 0.007, "Actual Total Time": 0.008, "Actual Rows": 2, "Actual Loops": 555118, "Output": ["lineitem.l_orderkey", "lineitem.l_partkey", "lineitem.l_suppkey", "lineitem.l_linenumber", "lineitem.l_quantity", "lineitem.l_extendedprice", "lineitem.l_discount", "lineitem.l_tax", "lineitem.l_returnflag", "lineitem.l_linestatus", "lineitem.l_shipdate", "lineitem.l_commitdate", "lineitem.l_receiptdate", "lineitem.l_shipinstruct", "lineitem.l_shipmode", "lineitem.l_comment"], "Index Cond": "(lineitem.l_orderkey = orders.o_orderkey)", "Rows Removed by Index Recheck": 0, "Filter": "(lineitem.l_returnflag = 'R'::bpchar)", "Rows Removed by Filter": 2, "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.007, "Actual Total Time": 0.008, "Actual Rows": 2, "Actual Loops": 102326}, {"Worker Number": 1, "Actual Startup Time": 0.007, "Actual Total Time": 0.008, "Actual Rows": 2, "Actual Loops": 102109}, {"Worker Number": 2, "Actual Startup Time": 0.007, "Actual Total Time": 0.008, "Actual Rows": 2, "Actual Loops": 101706}, {"Worker Number": 3, "Actual Startup Time": 0.007, "Actual Total Time": 0.008, "Actual Rows": 2, "Actual Loops": 100923}]}]}]}]}, {"Node Type": "Hash", "Parent Relationship": "Inner", "Parallel Aware": false, "Startup Cost": 1.25, "Total Cost": 1.25, "Plan Rows": 25, "Plan Width": 30, "Actual Startup Time": 0.054, "Actual Total Time": 0.055, "Actual Rows": 25, "Actual Loops": 5, "Output": ["nation.n_name", "nation.n_nationkey"], "Hash Buckets": 1024, "Original Hash Buckets": 1024, "Hash Batches": 1, "Original Hash Batches": 1, "Peak Memory Usage": 10, "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.062, "Actual Total Time": 0.063, "Actual Rows": 25, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 0.063, "Actual Total Time": 0.064, "Actual Rows": 25, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 0.059, "Actual Total Time": 0.06, "Actual Rows": 25, "Actual Loops": 1}, {"Worker Number": 3, "Actual Startup Time": 0.063, "Actual Total Time": 0.063, "Actual Rows": 25, "Actual Loops": 1}], "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Relation Name": "nation", "Schema": "public", "Alias": "nation", "Startup Cost": 0.0, "Total Cost": 1.25, "Plan Rows": 25, "Plan Width": 30, "Actual Startup Time": 0.038, "Actual Total Time": 0.043, "Actual Rows": 25, "Actual Loops": 5, "Output": ["nation.n_name", "nation.n_nationkey"], "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.047, "Actual Total Time": 0.05, "Actual Rows": 25, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 0.043, "Actual Total Time": 0.051, "Actual Rows": 25, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 0.043, "Actual Total Time": 0.047, "Actual Rows": 25, "Actual Loops": 1}, {"Worker Number": 3, "Actual Startup Time": 0.047, "Actual Total Time": 0.051, "Actual Rows": 25, "Actual Loops": 1}]}]}]}]}]}]}]}]}]}, "Planning Time": 0.951, "Triggers": [], "Execution Time": 2973.098} diff --git a/dev9/pg12/tpch/sf_10/explain_analyze/15721/11-1.ok b/dev9/pg12/tpch/sf_10/explain_analyze/15721/11-1.ok new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/dev9/pg12/tpch/sf_10/explain_analyze/15721/11-1.res b/dev9/pg12/tpch/sf_10/explain_analyze/15721/11-1.res new file mode 100644 index 0000000000000000000000000000000000000000..e7a9779501df3d6f33bd7d3b2315e51da58508c2 --- /dev/null +++ b/dev9/pg12/tpch/sf_10/explain_analyze/15721/11-1.res @@ -0,0 +1 @@ +{"Plan": {"Node Type": "Sort", "Parallel Aware": false, "Startup Cost": 88252.92, "Total Cost": 88519.58, "Plan Rows": 106663, "Plan Width": 36, "Actual Startup Time": 1236.018, "Actual Total Time": 1236.093, "Actual Rows": 0, "Actual Loops": 1, "Output": ["partsupp.ps_partkey", "(sum((partsupp.ps_supplycost * (partsupp.ps_availqty)::numeric)))"], "Sort Key": ["(sum((partsupp.ps_supplycost * (partsupp.ps_availqty)::numeric))) DESC"], "Sort Method": "quicksort", "Sort Space Used": 25, "Sort Space Type": "Memory", "Plans": [{"Node Type": "Aggregate", "Strategy": "Plain", "Partial Mode": "Finalize", "Parent Relationship": "InitPlan", "Subplan Name": "InitPlan 1 (returns $2)", "Parallel Aware": false, "Startup Cost": 16673.69, "Total Cost": 16673.7, "Plan Rows": 1, "Plan Width": 32, "Actual Startup Time": 333.128, "Actual Total Time": 333.2, "Actual Rows": 1, "Actual Loops": 1, "Output": ["(sum((partsupp_1.ps_supplycost * (partsupp_1.ps_availqty)::numeric)) * 0.0001000000)"], "Plans": [{"Node Type": "Gather", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 16673.57, "Total Cost": 16673.68, "Plan Rows": 1, "Plan Width": 32, "Actual Startup Time": 333.027, "Actual Total Time": 333.188, "Actual Rows": 2, "Actual Loops": 1, "Output": ["(PARTIAL sum((partsupp_1.ps_supplycost * (partsupp_1.ps_availqty)::numeric)))"], "Workers Planned": 1, "Workers Launched": 1, "Single Copy": false, "Plans": [{"Node Type": "Aggregate", "Strategy": "Plain", "Partial Mode": "Partial", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 15673.57, "Total Cost": 15673.58, "Plan Rows": 1, "Plan Width": 32, "Actual Startup Time": 329.118, "Actual Total Time": 329.122, "Actual Rows": 1, "Actual Loops": 2, "Output": ["PARTIAL sum((partsupp_1.ps_supplycost * (partsupp_1.ps_availqty)::numeric))"], "Workers": [{"Worker Number": 0, "Actual Startup Time": 325.512, "Actual Total Time": 325.515, "Actual Rows": 1, "Actual Loops": 1}], "Plans": [{"Node Type": "Nested Loop", "Parent Relationship": "Outer", "Parallel Aware": false, "Join Type": "Inner", "Startup Cost": 1.76, "Total Cost": 14261.85, "Plan Rows": 188229, "Plan Width": 10, "Actual Startup Time": 0.183, "Actual Total Time": 272.825, "Actual Rows": 159520, "Actual Loops": 2, "Output": ["partsupp_1.ps_supplycost", "partsupp_1.ps_availqty"], "Inner Unique": false, "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.316, "Actual Total Time": 277.288, "Actual Rows": 134480, "Actual Loops": 1}], "Plans": [{"Node Type": "Hash Join", "Parent Relationship": "Outer", "Parallel Aware": false, "Join Type": "Inner", "Startup Cost": 1.32, "Total Cost": 2986.15, "Plan Rows": 2353, "Plan Width": 4, "Actual Startup Time": 0.126, "Actual Total Time": 18.117, "Actual Rows": 1994, "Actual Loops": 2, "Output": ["supplier_1.s_suppkey"], "Inner Unique": true, "Hash Cond": "(supplier_1.s_nationkey = nation_1.n_nationkey)", "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.22, "Actual Total Time": 16.025, "Actual Rows": 1681, "Actual Loops": 1}], "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": true, "Relation Name": "supplier", "Schema": "public", "Alias": "supplier_1", "Startup Cost": 0.0, "Total Cost": 2804.24, "Plan Rows": 58824, "Plan Width": 8, "Actual Startup Time": 0.009, "Actual Total Time": 5.247, "Actual Rows": 50000, "Actual Loops": 2, "Output": ["supplier_1.s_suppkey", "supplier_1.s_name", "supplier_1.s_address", "supplier_1.s_nationkey", "supplier_1.s_phone", "supplier_1.s_acctbal", "supplier_1.s_comment"], "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.014, "Actual Total Time": 4.805, "Actual Rows": 41601, "Actual Loops": 1}]}, {"Node Type": "Hash", "Parent Relationship": "Inner", "Parallel Aware": false, "Startup Cost": 1.31, "Total Cost": 1.31, "Plan Rows": 1, "Plan Width": 4, "Actual Startup Time": 0.029, "Actual Total Time": 0.03, "Actual Rows": 1, "Actual Loops": 2, "Output": ["nation_1.n_nationkey"], "Hash Buckets": 1024, "Original Hash Buckets": 1024, "Hash Batches": 1, "Original Hash Batches": 1, "Peak Memory Usage": 9, "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.045, "Actual Total Time": 0.046, "Actual Rows": 1, "Actual Loops": 1}], "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Relation Name": "nation", "Schema": "public", "Alias": "nation_1", "Startup Cost": 0.0, "Total Cost": 1.31, "Plan Rows": 1, "Plan Width": 4, "Actual Startup Time": 0.021, "Actual Total Time": 0.023, "Actual Rows": 1, "Actual Loops": 2, "Output": ["nation_1.n_nationkey"], "Filter": "(nation_1.n_name = 'CHINA'::bpchar)", "Rows Removed by Filter": 24, "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.034, "Actual Total Time": 0.035, "Actual Rows": 1, "Actual Loops": 1}]}]}]}, {"Node Type": "Index Scan", "Parent Relationship": "Inner", "Parallel Aware": false, "Scan Direction": "Forward", "Index Name": "ps_sk_pk", "Relation Name": "partsupp", "Schema": "public", "Alias": "partsupp_1", "Startup Cost": 0.43, "Total Cost": 3.99, "Plan Rows": 80, "Plan Width": 14, "Actual Startup Time": 0.007, "Actual Total Time": 0.114, "Actual Rows": 80, "Actual Loops": 3988, "Output": ["partsupp_1.ps_partkey", "partsupp_1.ps_suppkey", "partsupp_1.ps_availqty", "partsupp_1.ps_supplycost", "partsupp_1.ps_comment"], "Index Cond": "(partsupp_1.ps_suppkey = supplier_1.s_suppkey)", "Rows Removed by Index Recheck": 0, "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.009, "Actual Total Time": 0.141, "Actual Rows": 80, "Actual Loops": 1681}]}]}]}]}]}, {"Node Type": "Aggregate", "Strategy": "Sorted", "Partial Mode": "Simple", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 50671.83, "Total Cost": 62671.42, "Plan Rows": 106663, "Plan Width": 36, "Actual Startup Time": 1236.012, "Actual Total Time": 1236.015, "Actual Rows": 0, "Actual Loops": 1, "Output": ["partsupp.ps_partkey", "sum((partsupp.ps_supplycost * (partsupp.ps_availqty)::numeric))"], "Group Key": ["partsupp.ps_partkey"], "Filter": "(sum((partsupp.ps_supplycost * (partsupp.ps_availqty)::numeric)) > $2)", "Rows Removed by Filter": 300316, "Plans": [{"Node Type": "Sort", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 50671.83, "Total Cost": 51471.8, "Plan Rows": 319989, "Plan Width": 14, "Actual Startup Time": 581.982, "Actual Total Time": 618.56, "Actual Rows": 319040, "Actual Loops": 1, "Output": ["partsupp.ps_partkey", "partsupp.ps_supplycost", "partsupp.ps_availqty"], "Sort Key": ["partsupp.ps_partkey"], "Sort Method": "external merge", "Sort Space Used": 8128, "Sort Space Type": "Disk", "Plans": [{"Node Type": "Nested Loop", "Parent Relationship": "Outer", "Parallel Aware": false, "Join Type": "Inner", "Startup Cost": 45.05, "Total Cost": 21412.57, "Plan Rows": 319989, "Plan Width": 14, "Actual Startup Time": 0.819, "Actual Total Time": 438.918, "Actual Rows": 319040, "Actual Loops": 1, "Output": ["partsupp.ps_partkey", "partsupp.ps_supplycost", "partsupp.ps_availqty"], "Inner Unique": false, "Plans": [{"Node Type": "Nested Loop", "Parent Relationship": "Outer", "Parallel Aware": false, "Join Type": "Inner", "Startup Cost": 44.62, "Total Cost": 2244.36, "Plan Rows": 4000, "Plan Width": 4, "Actual Startup Time": 0.805, "Actual Total Time": 5.721, "Actual Rows": 3988, "Actual Loops": 1, "Output": ["supplier.s_suppkey"], "Inner Unique": false, "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Relation Name": "nation", "Schema": "public", "Alias": "nation", "Startup Cost": 0.0, "Total Cost": 1.31, "Plan Rows": 1, "Plan Width": 4, "Actual Startup Time": 0.014, "Actual Total Time": 0.019, "Actual Rows": 1, "Actual Loops": 1, "Output": ["nation.n_nationkey", "nation.n_name", "nation.n_regionkey", "nation.n_comment"], "Filter": "(nation.n_name = 'CHINA'::bpchar)", "Rows Removed by Filter": 24}, {"Node Type": "Bitmap Heap Scan", "Parent Relationship": "Inner", "Parallel Aware": false, "Relation Name": "supplier", "Schema": "public", "Alias": "supplier", "Startup Cost": 44.62, "Total Cost": 2203.05, "Plan Rows": 4000, "Plan Width": 8, "Actual Startup Time": 0.789, "Actual Total Time": 5.031, "Actual Rows": 3988, "Actual Loops": 1, "Output": ["supplier.s_suppkey", "supplier.s_name", "supplier.s_address", "supplier.s_nationkey", "supplier.s_phone", "supplier.s_acctbal", "supplier.s_comment"], "Recheck Cond": "(supplier.s_nationkey = nation.n_nationkey)", "Rows Removed by Index Recheck": 0, "Exact Heap Blocks": 1857, "Lossy Heap Blocks": 0, "Plans": [{"Node Type": "Bitmap Index Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Index Name": "s_nk", "Startup Cost": 0.0, "Total Cost": 43.62, "Plan Rows": 4000, "Plan Width": 0, "Actual Startup Time": 0.477, "Actual Total Time": 0.477, "Actual Rows": 3988, "Actual Loops": 1, "Index Cond": "(supplier.s_nationkey = nation.n_nationkey)"}]}]}, {"Node Type": "Index Scan", "Parent Relationship": "Inner", "Parallel Aware": false, "Scan Direction": "Forward", "Index Name": "ps_sk_pk", "Relation Name": "partsupp", "Schema": "public", "Alias": "partsupp", "Startup Cost": 0.43, "Total Cost": 3.99, "Plan Rows": 80, "Plan Width": 18, "Actual Startup Time": 0.006, "Actual Total Time": 0.095, "Actual Rows": 80, "Actual Loops": 3988, "Output": ["partsupp.ps_partkey", "partsupp.ps_suppkey", "partsupp.ps_availqty", "partsupp.ps_supplycost", "partsupp.ps_comment"], "Index Cond": "(partsupp.ps_suppkey = supplier.s_suppkey)", "Rows Removed by Index Recheck": 0}]}]}]}]}, "Planning Time": 0.974, "Triggers": [], "Execution Time": 1238.019} diff --git a/dev9/pg12/tpch/sf_10/explain_analyze/15721/12-1.ok b/dev9/pg12/tpch/sf_10/explain_analyze/15721/12-1.ok new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/dev9/pg12/tpch/sf_10/explain_analyze/15721/12-1.res b/dev9/pg12/tpch/sf_10/explain_analyze/15721/12-1.res new file mode 100644 index 0000000000000000000000000000000000000000..259de79a36cbd03c836e05655aa6145d6f878826 --- /dev/null +++ b/dev9/pg12/tpch/sf_10/explain_analyze/15721/12-1.res @@ -0,0 +1 @@ +{"Plan": {"Node Type": "Aggregate", "Strategy": "Sorted", "Partial Mode": "Finalize", "Parallel Aware": false, "Startup Cost": 1376370.51, "Total Cost": 1377212.52, "Plan Rows": 7, "Plan Width": 27, "Actual Startup Time": 3263.075, "Actual Total Time": 3486.035, "Actual Rows": 2, "Actual Loops": 1, "Output": ["lineitem.l_shipmode", "sum(CASE WHEN ((orders.o_orderpriority = '1-URGENT'::bpchar) OR (orders.o_orderpriority = '2-HIGH'::bpchar)) THEN 1 ELSE 0 END)", "sum(CASE WHEN ((orders.o_orderpriority <> '1-URGENT'::bpchar) AND (orders.o_orderpriority <> '2-HIGH'::bpchar)) THEN 1 ELSE 0 END)"], "Group Key": ["lineitem.l_shipmode"], "Plans": [{"Node Type": "Gather Merge", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 1376370.51, "Total Cost": 1377212.09, "Plan Rows": 49, "Plan Width": 27, "Actual Startup Time": 3253.148, "Actual Total Time": 3486.022, "Actual Rows": 16, "Actual Loops": 1, "Output": ["lineitem.l_shipmode", "(PARTIAL sum(CASE WHEN ((orders.o_orderpriority = '1-URGENT'::bpchar) OR (orders.o_orderpriority = '2-HIGH'::bpchar)) THEN 1 ELSE 0 END))", "(PARTIAL sum(CASE WHEN ((orders.o_orderpriority <> '1-URGENT'::bpchar) AND (orders.o_orderpriority <> '2-HIGH'::bpchar)) THEN 1 ELSE 0 END))"], "Workers Planned": 7, "Workers Launched": 7, "Plans": [{"Node Type": "Aggregate", "Strategy": "Sorted", "Partial Mode": "Partial", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 1375370.39, "Total Cost": 1376205.96, "Plan Rows": 7, "Plan Width": 27, "Actual Startup Time": 3246.63, "Actual Total Time": 3254.256, "Actual Rows": 2, "Actual Loops": 8, "Output": ["lineitem.l_shipmode", "PARTIAL sum(CASE WHEN ((orders.o_orderpriority = '1-URGENT'::bpchar) OR (orders.o_orderpriority = '2-HIGH'::bpchar)) THEN 1 ELSE 0 END)", "PARTIAL sum(CASE WHEN ((orders.o_orderpriority <> '1-URGENT'::bpchar) AND (orders.o_orderpriority <> '2-HIGH'::bpchar)) THEN 1 ELSE 0 END)"], "Group Key": ["lineitem.l_shipmode"], "Workers": [{"Worker Number": 0, "Actual Startup Time": 3245.995, "Actual Total Time": 3253.206, "Actual Rows": 2, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 3245.56, "Actual Total Time": 3252.901, "Actual Rows": 2, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 3246.422, "Actual Total Time": 3253.659, "Actual Rows": 2, "Actual Loops": 1}, {"Worker Number": 3, "Actual Startup Time": 3245.71, "Actual Total Time": 3253.074, "Actual Rows": 2, "Actual Loops": 1}, {"Worker Number": 4, "Actual Startup Time": 3245.522, "Actual Total Time": 3252.92, "Actual Rows": 2, "Actual Loops": 1}, {"Worker Number": 5, "Actual Startup Time": 3245.574, "Actual Total Time": 3252.96, "Actual Rows": 2, "Actual Loops": 1}, {"Worker Number": 6, "Actual Startup Time": 3245.622, "Actual Total Time": 3252.784, "Actual Rows": 2, "Actual Loops": 1}], "Plans": [{"Node Type": "Sort", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 1375370.39, "Total Cost": 1375474.83, "Plan Rows": 41775, "Plan Width": 27, "Actual Startup Time": 3238.878, "Actual Total Time": 3241.201, "Actual Rows": 38973, "Actual Loops": 8, "Output": ["lineitem.l_shipmode", "orders.o_orderpriority"], "Sort Key": ["lineitem.l_shipmode"], "Sort Method": "quicksort", "Sort Space Used": 5448, "Sort Space Type": "Memory", "Workers": [{"Worker Number": 0, "Actual Startup Time": 3238.601, "Actual Total Time": 3240.829, "Actual Rows": 36837, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 3238.137, "Actual Total Time": 3240.333, "Actual Rows": 37688, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 3238.772, "Actual Total Time": 3240.928, "Actual Rows": 36909, "Actual Loops": 1}, {"Worker Number": 3, "Actual Startup Time": 3238.135, "Actual Total Time": 3240.436, "Actual Rows": 37900, "Actual Loops": 1}, {"Worker Number": 4, "Actual Startup Time": 3237.98, "Actual Total Time": 3240.274, "Actual Rows": 37897, "Actual Loops": 1}, {"Worker Number": 5, "Actual Startup Time": 3238.099, "Actual Total Time": 3240.38, "Actual Rows": 37718, "Actual Loops": 1}, {"Worker Number": 6, "Actual Startup Time": 3238.324, "Actual Total Time": 3240.544, "Actual Rows": 36769, "Actual Loops": 1}], "Plans": [{"Node Type": "Nested Loop", "Parent Relationship": "Outer", "Parallel Aware": false, "Join Type": "Inner", "Startup Cost": 0.43, "Total Cost": 1372164.09, "Plan Rows": 41775, "Plan Width": 27, "Actual Startup Time": 0.148, "Actual Total Time": 3225.424, "Actual Rows": 38973, "Actual Loops": 8, "Output": ["lineitem.l_shipmode", "orders.o_orderpriority"], "Inner Unique": true, "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.11, "Actual Total Time": 3224.777, "Actual Rows": 36837, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 0.176, "Actual Total Time": 3224.936, "Actual Rows": 37688, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 0.148, "Actual Total Time": 3224.771, "Actual Rows": 36909, "Actual Loops": 1}, {"Worker Number": 3, "Actual Startup Time": 0.113, "Actual Total Time": 3224.83, "Actual Rows": 37900, "Actual Loops": 1}, {"Worker Number": 4, "Actual Startup Time": 0.119, "Actual Total Time": 3224.801, "Actual Rows": 37897, "Actual Loops": 1}, {"Worker Number": 5, "Actual Startup Time": 0.203, "Actual Total Time": 3224.774, "Actual Rows": 37718, "Actual Loops": 1}, {"Worker Number": 6, "Actual Startup Time": 0.268, "Actual Total Time": 3224.753, "Actual Rows": 36769, "Actual Loops": 1}], "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": true, "Relation Name": "lineitem", "Schema": "public", "Alias": "lineitem", "Startup Cost": 0.0, "Total Cost": 1317347.86, "Plan Rows": 41775, "Plan Width": 15, "Actual Startup Time": 0.078, "Actual Total Time": 2967.433, "Actual Rows": 38973, "Actual Loops": 8, "Output": ["lineitem.l_orderkey", "lineitem.l_partkey", "lineitem.l_suppkey", "lineitem.l_linenumber", "lineitem.l_quantity", "lineitem.l_extendedprice", "lineitem.l_discount", "lineitem.l_tax", "lineitem.l_returnflag", "lineitem.l_linestatus", "lineitem.l_shipdate", "lineitem.l_commitdate", "lineitem.l_receiptdate", "lineitem.l_shipinstruct", "lineitem.l_shipmode", "lineitem.l_comment"], "Filter": "((lineitem.l_shipmode = ANY ('{MAIL,TRUCK}'::bpchar[])) AND (lineitem.l_commitdate < lineitem.l_receiptdate) AND (lineitem.l_shipdate < lineitem.l_commitdate) AND (lineitem.l_receiptdate >= '1995-01-01'::date) AND (lineitem.l_receiptdate < '1996-01-01 00:00:00'::timestamp without time zone))", "Rows Removed by Filter": 7459283, "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.036, "Actual Total Time": 2950.183, "Actual Rows": 36837, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 0.097, "Actual Total Time": 2963.971, "Actual Rows": 37688, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 0.072, "Actual Total Time": 2950.404, "Actual Rows": 36909, "Actual Loops": 1}, {"Worker Number": 3, "Actual Startup Time": 0.035, "Actual Total Time": 2963.788, "Actual Rows": 37900, "Actual Loops": 1}, {"Worker Number": 4, "Actual Startup Time": 0.032, "Actual Total Time": 2963.397, "Actual Rows": 37897, "Actual Loops": 1}, {"Worker Number": 5, "Actual Startup Time": 0.129, "Actual Total Time": 2960.398, "Actual Rows": 37718, "Actual Loops": 1}, {"Worker Number": 6, "Actual Startup Time": 0.195, "Actual Total Time": 2954.319, "Actual Rows": 36769, "Actual Loops": 1}]}, {"Node Type": "Index Scan", "Parent Relationship": "Inner", "Parallel Aware": false, "Scan Direction": "Forward", "Index Name": "o_ok", "Relation Name": "orders", "Schema": "public", "Alias": "orders", "Startup Cost": 0.43, "Total Cost": 1.31, "Plan Rows": 1, "Plan Width": 20, "Actual Startup Time": 0.006, "Actual Total Time": 0.006, "Actual Rows": 1, "Actual Loops": 311787, "Output": ["orders.o_orderkey", "orders.o_custkey", "orders.o_orderstatus", "orders.o_totalprice", "orders.o_orderdate", "orders.o_orderpriority", "orders.o_clerk", "orders.o_shippriority", "orders.o_comment"], "Index Cond": "(orders.o_orderkey = lineitem.l_orderkey)", "Rows Removed by Index Recheck": 0, "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.007, "Actual Total Time": 0.007, "Actual Rows": 1, "Actual Loops": 36837}, {"Worker Number": 1, "Actual Startup Time": 0.006, "Actual Total Time": 0.006, "Actual Rows": 1, "Actual Loops": 37688}, {"Worker Number": 2, "Actual Startup Time": 0.007, "Actual Total Time": 0.007, "Actual Rows": 1, "Actual Loops": 36909}, {"Worker Number": 3, "Actual Startup Time": 0.006, "Actual Total Time": 0.006, "Actual Rows": 1, "Actual Loops": 37900}, {"Worker Number": 4, "Actual Startup Time": 0.006, "Actual Total Time": 0.006, "Actual Rows": 1, "Actual Loops": 37897}, {"Worker Number": 5, "Actual Startup Time": 0.006, "Actual Total Time": 0.006, "Actual Rows": 1, "Actual Loops": 37718}, {"Worker Number": 6, "Actual Startup Time": 0.007, "Actual Total Time": 0.007, "Actual Rows": 1, "Actual Loops": 36769}]}]}]}]}]}]}, "Planning Time": 0.403, "Triggers": [], "Execution Time": 3486.101} diff --git a/dev9/pg12/tpch/sf_10/explain_analyze/15721/13-1.ok b/dev9/pg12/tpch/sf_10/explain_analyze/15721/13-1.ok new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/dev9/pg12/tpch/sf_10/explain_analyze/15721/13-1.res b/dev9/pg12/tpch/sf_10/explain_analyze/15721/13-1.res new file mode 100644 index 0000000000000000000000000000000000000000..1e4180267b22722cc86550364536f73beacd63c3 --- /dev/null +++ b/dev9/pg12/tpch/sf_10/explain_analyze/15721/13-1.res @@ -0,0 +1 @@ +{"Plan": {"Node Type": "Sort", "Parallel Aware": false, "Startup Cost": 923500.8, "Total Cost": 923501.3, "Plan Rows": 200, "Plan Width": 16, "Actual Startup Time": 25290.068, "Actual Total Time": 25290.073, "Actual Rows": 46, "Actual Loops": 1, "Output": ["(count(orders.o_orderkey))", "(count(*))"], "Sort Key": ["(count(*)) DESC", "(count(orders.o_orderkey)) DESC"], "Sort Method": "quicksort", "Sort Space Used": 27, "Sort Space Type": "Memory", "Plans": [{"Node Type": "Aggregate", "Strategy": "Hashed", "Partial Mode": "Simple", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 923491.16, "Total Cost": 923493.16, "Plan Rows": 200, "Plan Width": 16, "Actual Startup Time": 25290.031, "Actual Total Time": 25290.042, "Actual Rows": 46, "Actual Loops": 1, "Output": ["(count(orders.o_orderkey))", "count(*)"], "Group Key": ["count(orders.o_orderkey)"], "Plans": [{"Node Type": "Aggregate", "Strategy": "Sorted", "Partial Mode": "Simple", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 0.86, "Total Cost": 900991.16, "Plan Rows": 1500000, "Plan Width": 12, "Actual Startup Time": 0.07, "Actual Total Time": 24967.5, "Actual Rows": 1500000, "Actual Loops": 1, "Output": ["customer.c_custkey", "count(orders.o_orderkey)"], "Group Key": ["customer.c_custkey"], "Plans": [{"Node Type": "Merge Join", "Parent Relationship": "Outer", "Parallel Aware": false, "Join Type": "Left", "Startup Cost": 0.86, "Total Cost": 811590.75, "Plan Rows": 14880082, "Plan Width": 8, "Actual Startup Time": 0.027, "Actual Total Time": 23115.475, "Actual Rows": 15338712, "Actual Loops": 1, "Output": ["customer.c_custkey", "orders.o_orderkey"], "Inner Unique": false, "Merge Cond": "(customer.c_custkey = orders.o_custkey)", "Plans": [{"Node Type": "Index Only Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Scan Direction": "Forward", "Index Name": "c_ck", "Relation Name": "customer", "Schema": "public", "Alias": "customer", "Startup Cost": 0.43, "Total Cost": 27028.03, "Plan Rows": 1500000, "Plan Width": 4, "Actual Startup Time": 0.011, "Actual Total Time": 188.783, "Actual Rows": 1500000, "Actual Loops": 1, "Output": ["customer.c_custkey"], "Heap Fetches": 0}, {"Node Type": "Index Scan", "Parent Relationship": "Inner", "Parallel Aware": false, "Scan Direction": "Forward", "Index Name": "o_ck", "Relation Name": "orders", "Schema": "public", "Alias": "orders", "Startup Cost": 0.43, "Total Cost": 594811.69, "Plan Rows": 14880082, "Plan Width": 8, "Actual Startup Time": 0.012, "Actual Total Time": 20585.795, "Actual Rows": 14838692, "Actual Loops": 1, "Output": ["orders.o_orderkey", "orders.o_custkey", "orders.o_orderstatus", "orders.o_totalprice", "orders.o_orderdate", "orders.o_orderpriority", "orders.o_clerk", "orders.o_shippriority", "orders.o_comment"], "Filter": "((orders.o_comment)::text !~~ '%unusual%requests%'::text)", "Rows Removed by Filter": 161308}]}]}]}]}, "Planning Time": 0.556, "Triggers": [], "Execution Time": 25290.133} diff --git a/dev9/pg12/tpch/sf_10/explain_analyze/15721/14-1.ok b/dev9/pg12/tpch/sf_10/explain_analyze/15721/14-1.ok new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/dev9/pg12/tpch/sf_10/explain_analyze/15721/14-1.res b/dev9/pg12/tpch/sf_10/explain_analyze/15721/14-1.res new file mode 100644 index 0000000000000000000000000000000000000000..c29367f5bcb153cb685b225e0ff61d74ad23ab55 --- /dev/null +++ b/dev9/pg12/tpch/sf_10/explain_analyze/15721/14-1.res @@ -0,0 +1 @@ +{"Plan": {"Node Type": "Aggregate", "Strategy": "Plain", "Partial Mode": "Finalize", "Parallel Aware": false, "Startup Cost": 704589.17, "Total Cost": 704589.19, "Plan Rows": 1, "Plan Width": 32, "Actual Startup Time": 812.727, "Actual Total Time": 927.028, "Actual Rows": 1, "Actual Loops": 1, "Output": ["((100.00 * sum(CASE WHEN ((part.p_type)::text ~~ 'PROMO%'::text) THEN (lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount)) ELSE '0'::numeric END)) / sum((lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount))))"], "Plans": [{"Node Type": "Gather", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 704588.72, "Total Cost": 704589.13, "Plan Rows": 4, "Plan Width": 64, "Actual Startup Time": 806.442, "Actual Total Time": 927.004, "Actual Rows": 5, "Actual Loops": 1, "Output": ["(PARTIAL sum(CASE WHEN ((part.p_type)::text ~~ 'PROMO%'::text) THEN (lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount)) ELSE '0'::numeric END))", "(PARTIAL sum((lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount))))"], "Workers Planned": 4, "Workers Launched": 4, "Single Copy": false, "Plans": [{"Node Type": "Aggregate", "Strategy": "Plain", "Partial Mode": "Partial", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 703588.72, "Total Cost": 703588.73, "Plan Rows": 1, "Plan Width": 64, "Actual Startup Time": 802.5, "Actual Total Time": 802.503, "Actual Rows": 1, "Actual Loops": 5, "Output": ["PARTIAL sum(CASE WHEN ((part.p_type)::text ~~ 'PROMO%'::text) THEN (lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount)) ELSE '0'::numeric END)", "PARTIAL sum((lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount)))"], "Workers": [{"Worker Number": 0, "Actual Startup Time": 801.472, "Actual Total Time": 801.474, "Actual Rows": 1, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 801.438, "Actual Total Time": 801.441, "Actual Rows": 1, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 802.102, "Actual Total Time": 802.105, "Actual Rows": 1, "Actual Loops": 1}, {"Worker Number": 3, "Actual Startup Time": 801.442, "Actual Total Time": 801.446, "Actual Rows": 1, "Actual Loops": 1}], "Plans": [{"Node Type": "Hash Join", "Parent Relationship": "Outer", "Parallel Aware": true, "Join Type": "Inner", "Startup Cost": 647509.35, "Total Cost": 700204.77, "Plan Rows": 193368, "Plan Width": 33, "Actual Startup Time": 476.342, "Actual Total Time": 717.156, "Actual Rows": 154569, "Actual Loops": 5, "Output": ["part.p_type", "lineitem.l_extendedprice", "lineitem.l_discount"], "Inner Unique": false, "Hash Cond": "(part.p_partkey = lineitem.l_partkey)", "Workers": [{"Worker Number": 0, "Actual Startup Time": 475.427, "Actual Total Time": 716.075, "Actual Rows": 152195, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 475.424, "Actual Total Time": 716.865, "Actual Rows": 153694, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 475.42, "Actual Total Time": 717.854, "Actual Rows": 152541, "Actual Loops": 1}, {"Worker Number": 3, "Actual Startup Time": 475.426, "Actual Total Time": 717.798, "Actual Rows": 152056, "Actual Loops": 1}], "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": true, "Relation Name": "part", "Schema": "public", "Alias": "part", "Startup Cost": 0.0, "Total Cost": 45962.0, "Plan Rows": 500000, "Plan Width": 25, "Actual Startup Time": 0.02, "Actual Total Time": 50.434, "Actual Rows": 400000, "Actual Loops": 5, "Output": ["part.p_partkey", "part.p_name", "part.p_mfgr", "part.p_brand", "part.p_type", "part.p_size", "part.p_container", "part.p_retailprice", "part.p_comment"], "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.025, "Actual Total Time": 53.048, "Actual Rows": 394203, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 0.024, "Actual Total Time": 52.543, "Actual Rows": 397511, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 0.022, "Actual Total Time": 52.604, "Actual Rows": 394453, "Actual Loops": 1}, {"Worker Number": 3, "Actual Startup Time": 0.021, "Actual Total Time": 52.545, "Actual Rows": 394272, "Actual Loops": 1}]}, {"Node Type": "Hash", "Parent Relationship": "Inner", "Parallel Aware": true, "Startup Cost": 645092.25, "Total Cost": 645092.25, "Plan Rows": 193368, "Plan Width": 16, "Actual Startup Time": 474.648, "Actual Total Time": 474.649, "Actual Rows": 154569, "Actual Loops": 5, "Output": ["lineitem.l_extendedprice", "lineitem.l_discount", "lineitem.l_partkey"], "Hash Buckets": 1048576, "Original Hash Buckets": 1048576, "Hash Batches": 1, "Original Hash Batches": 1, "Peak Memory Usage": 49088, "Workers": [{"Worker Number": 0, "Actual Startup Time": 475.167, "Actual Total Time": 475.167, "Actual Rows": 124074, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 475.18, "Actual Total Time": 475.181, "Actual Rows": 122610, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 475.188, "Actual Total Time": 475.189, "Actual Rows": 122610, "Actual Loops": 1}, {"Worker Number": 3, "Actual Startup Time": 475.176, "Actual Total Time": 475.177, "Actual Rows": 125656, "Actual Loops": 1}], "Plans": [{"Node Type": "Index Scan", "Parent Relationship": "Outer", "Parallel Aware": true, "Scan Direction": "Forward", "Index Name": "l_sd", "Relation Name": "lineitem", "Schema": "public", "Alias": "lineitem", "Startup Cost": 0.56, "Total Cost": 645092.25, "Plan Rows": 193368, "Plan Width": 16, "Actual Startup Time": 0.089, "Actual Total Time": 409.061, "Actual Rows": 154569, "Actual Loops": 5, "Output": ["lineitem.l_extendedprice", "lineitem.l_discount", "lineitem.l_partkey"], "Index Cond": "((lineitem.l_shipdate >= '1995-05-01'::date) AND (lineitem.l_shipdate < '1995-06-01 00:00:00'::timestamp without time zone))", "Rows Removed by Index Recheck": 0, "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.077, "Actual Total Time": 419.066, "Actual Rows": 124074, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 0.075, "Actual Total Time": 417.509, "Actual Rows": 122610, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 0.152, "Actual Total Time": 419.024, "Actual Rows": 122610, "Actual Loops": 1}, {"Worker Number": 3, "Actual Startup Time": 0.117, "Actual Total Time": 416.773, "Actual Rows": 125656, "Actual Loops": 1}]}]}]}]}]}]}, "Planning Time": 0.366, "Triggers": [], "Execution Time": 927.088} diff --git a/dev9/pg12/tpch/sf_10/explain_analyze/15721/15-1.ok b/dev9/pg12/tpch/sf_10/explain_analyze/15721/15-1.ok new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/dev9/pg12/tpch/sf_10/explain_analyze/15721/15-1.res b/dev9/pg12/tpch/sf_10/explain_analyze/15721/15-1.res new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/dev9/pg12/tpch/sf_10/explain_analyze/15721/15-2.ok b/dev9/pg12/tpch/sf_10/explain_analyze/15721/15-2.ok new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/dev9/pg12/tpch/sf_10/explain_analyze/15721/15-2.res b/dev9/pg12/tpch/sf_10/explain_analyze/15721/15-2.res new file mode 100644 index 0000000000000000000000000000000000000000..b3d27e5624891a17f46276fd6bbcdf823181ded0 --- /dev/null +++ b/dev9/pg12/tpch/sf_10/explain_analyze/15721/15-2.res @@ -0,0 +1 @@ +{"Plan": {"Node Type": "Nested Loop", "Parallel Aware": false, "Join Type": "Inner", "Startup Cost": 2581734.11, "Total Cost": 2679337.79, "Plan Rows": 501, "Plan Width": 103, "Actual Startup Time": 7829.368, "Actual Total Time": 8096.135, "Actual Rows": 1, "Actual Loops": 1, "Output": ["supplier.s_suppkey", "supplier.s_name", "supplier.s_address", "supplier.s_phone", "(sum((lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount))))"], "Inner Unique": true, "Plans": [{"Node Type": "Aggregate", "Strategy": "Plain", "Partial Mode": "Simple", "Parent Relationship": "InitPlan", "Subplan Name": "InitPlan 1 (returns $0)", "Parallel Aware": false, "Startup Cost": 1314823.35, "Total Cost": 1314823.36, "Plan Rows": 1, "Plan Width": 32, "Actual Startup Time": 4638.753, "Actual Total Time": 4638.755, "Actual Rows": 1, "Actual Loops": 1, "Output": ["max((sum((lineitem_1.l_extendedprice * ('1'::numeric - lineitem_1.l_discount)))))"], "Plans": [{"Node Type": "Aggregate", "Strategy": "Hashed", "Partial Mode": "Simple", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 1312319.25, "Total Cost": 1313571.3, "Plan Rows": 100164, "Plan Width": 36, "Actual Startup Time": 4580.466, "Actual Total Time": 4628.92, "Actual Rows": 100000, "Actual Loops": 1, "Output": ["lineitem_1.l_suppkey", "sum((lineitem_1.l_extendedprice * ('1'::numeric - lineitem_1.l_discount)))"], "Group Key": ["lineitem_1.l_suppkey"], "Plans": [{"Node Type": "Index Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Scan Direction": "Forward", "Index Name": "l_sd", "Relation Name": "lineitem", "Schema": "public", "Alias": "lineitem_1", "Startup Cost": 0.56, "Total Cost": 1289503.28, "Plan Rows": 2281597, "Plan Width": 16, "Actual Startup Time": 0.043, "Actual Total Time": 2640.114, "Actual Rows": 2247315, "Actual Loops": 1, "Output": ["lineitem_1.l_orderkey", "lineitem_1.l_partkey", "lineitem_1.l_suppkey", "lineitem_1.l_linenumber", "lineitem_1.l_quantity", "lineitem_1.l_extendedprice", "lineitem_1.l_discount", "lineitem_1.l_tax", "lineitem_1.l_returnflag", "lineitem_1.l_linestatus", "lineitem_1.l_shipdate", "lineitem_1.l_commitdate", "lineitem_1.l_receiptdate", "lineitem_1.l_shipinstruct", "lineitem_1.l_shipmode", "lineitem_1.l_comment"], "Index Cond": "((lineitem_1.l_shipdate >= '1995-01-01'::date) AND (lineitem_1.l_shipdate < '1995-04-01 00:00:00'::timestamp without time zone))", "Rows Removed by Index Recheck": 0}]}]}, {"Node Type": "Aggregate", "Strategy": "Sorted", "Partial Mode": "Finalize", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 1266910.45, "Total Cost": 1363568.71, "Plan Rows": 501, "Plan Width": 36, "Actual Startup Time": 7829.336, "Actual Total Time": 8096.098, "Actual Rows": 1, "Actual Loops": 1, "Output": ["lineitem.l_suppkey", "sum((lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount)))"], "Group Key": ["lineitem.l_suppkey"], "Filter": "(sum((lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount))) = $0)", "Rows Removed by Filter": 99999, "Plans": [{"Node Type": "Gather Merge", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 1266910.45, "Total Cost": 1353051.49, "Plan Rows": 701148, "Plan Width": 36, "Actual Startup Time": 2678.1, "Actual Total Time": 3050.383, "Actual Rows": 748793, "Actual Loops": 1, "Output": ["lineitem.l_suppkey", "(PARTIAL sum((lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount))))"], "Workers Planned": 7, "Workers Launched": 7, "Plans": [{"Node Type": "Sort", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 1265910.33, "Total Cost": 1266160.74, "Plan Rows": 100164, "Plan Width": 36, "Actual Startup Time": 2658.022, "Actual Total Time": 2675.706, "Actual Rows": 93599, "Actual Loops": 8, "Output": ["lineitem.l_suppkey", "(PARTIAL sum((lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount))))"], "Sort Key": ["lineitem.l_suppkey"], "Sort Method": "quicksort", "Sort Space Used": 10726, "Sort Space Type": "Memory", "Workers": [{"Worker Number": 0, "Actual Startup Time": 2668.706, "Actual Total Time": 2688.231, "Actual Rows": 92796, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 2668.432, "Actual Total Time": 2691.867, "Actual Rows": 92785, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 2652.336, "Actual Total Time": 2669.007, "Actual Rows": 93172, "Actual Loops": 1}, {"Worker Number": 3, "Actual Startup Time": 2652.603, "Actual Total Time": 2669.403, "Actual Rows": 93278, "Actual Loops": 1}, {"Worker Number": 4, "Actual Startup Time": 2652.664, "Actual Total Time": 2669.382, "Actual Rows": 93462, "Actual Loops": 1}, {"Worker Number": 5, "Actual Startup Time": 2651.509, "Actual Total Time": 2668.046, "Actual Rows": 92814, "Actual Loops": 1}, {"Worker Number": 6, "Actual Startup Time": 2650.86, "Actual Total Time": 2667.346, "Actual Rows": 92521, "Actual Loops": 1}], "Plans": [{"Node Type": "Aggregate", "Strategy": "Hashed", "Partial Mode": "Partial", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 1256338.66, "Total Cost": 1257590.71, "Plan Rows": 100164, "Plan Width": 36, "Actual Startup Time": 2548.649, "Actual Total Time": 2622.297, "Actual Rows": 93599, "Actual Loops": 8, "Output": ["lineitem.l_suppkey", "PARTIAL sum((lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount)))"], "Group Key": ["lineitem.l_suppkey"], "Workers": [{"Worker Number": 0, "Actual Startup Time": 2547.529, "Actual Total Time": 2631.681, "Actual Rows": 92796, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 2547.621, "Actual Total Time": 2631.47, "Actual Rows": 92785, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 2547.625, "Actual Total Time": 2617.439, "Actual Rows": 93172, "Actual Loops": 1}, {"Worker Number": 3, "Actual Startup Time": 2547.649, "Actual Total Time": 2617.356, "Actual Rows": 93278, "Actual Loops": 1}, {"Worker Number": 4, "Actual Startup Time": 2547.642, "Actual Total Time": 2617.582, "Actual Rows": 93462, "Actual Loops": 1}, {"Worker Number": 5, "Actual Startup Time": 2547.627, "Actual Total Time": 2616.777, "Actual Rows": 92814, "Actual Loops": 1}, {"Worker Number": 6, "Actual Startup Time": 2547.098, "Actual Total Time": 2616.18, "Actual Rows": 92521, "Actual Loops": 1}], "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": true, "Relation Name": "lineitem", "Schema": "public", "Alias": "lineitem", "Startup Cost": 0.0, "Total Cost": 1253079.24, "Plan Rows": 325942, "Plan Width": 16, "Actual Startup Time": 0.053, "Actual Total Time": 2258.507, "Actual Rows": 280914, "Actual Loops": 8, "Output": ["lineitem.l_orderkey", "lineitem.l_partkey", "lineitem.l_suppkey", "lineitem.l_linenumber", "lineitem.l_quantity", "lineitem.l_extendedprice", "lineitem.l_discount", "lineitem.l_tax", "lineitem.l_returnflag", "lineitem.l_linestatus", "lineitem.l_shipdate", "lineitem.l_commitdate", "lineitem.l_receiptdate", "lineitem.l_shipinstruct", "lineitem.l_shipmode", "lineitem.l_comment"], "Filter": "((lineitem.l_shipdate >= '1995-01-01'::date) AND (lineitem.l_shipdate < '1995-04-01 00:00:00'::timestamp without time zone))", "Rows Removed by Filter": 7217342, "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.033, "Actual Total Time": 2252.121, "Actual Rows": 263367, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 0.055, "Actual Total Time": 2253.71, "Actual Rows": 262209, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 0.085, "Actual Total Time": 2269.559, "Actual Rows": 270477, "Actual Loops": 1}, {"Worker Number": 3, "Actual Startup Time": 0.04, "Actual Total Time": 2273.793, "Actual Rows": 268758, "Actual Loops": 1}, {"Worker Number": 4, "Actual Startup Time": 0.064, "Actual Total Time": 2269.135, "Actual Rows": 270621, "Actual Loops": 1}, {"Worker Number": 5, "Actual Startup Time": 0.034, "Actual Total Time": 2270.661, "Actual Rows": 263793, "Actual Loops": 1}, {"Worker Number": 6, "Actual Startup Time": 0.032, "Actual Total Time": 2270.64, "Actual Rows": 259000, "Actual Loops": 1}]}]}]}]}]}, {"Node Type": "Index Scan", "Parent Relationship": "Inner", "Parallel Aware": false, "Scan Direction": "Forward", "Index Name": "s_sk", "Relation Name": "supplier", "Schema": "public", "Alias": "supplier", "Startup Cost": 0.29, "Total Cost": 1.88, "Plan Rows": 1, "Plan Width": 71, "Actual Startup Time": 0.025, "Actual Total Time": 0.026, "Actual Rows": 1, "Actual Loops": 1, "Output": ["supplier.s_suppkey", "supplier.s_name", "supplier.s_address", "supplier.s_nationkey", "supplier.s_phone", "supplier.s_acctbal", "supplier.s_comment"], "Index Cond": "(supplier.s_suppkey = lineitem.l_suppkey)", "Rows Removed by Index Recheck": 0}]}, "Planning Time": 0.417, "Triggers": [], "Execution Time": 8099.482} diff --git a/dev9/pg12/tpch/sf_10/explain_analyze/15721/15-3.ok b/dev9/pg12/tpch/sf_10/explain_analyze/15721/15-3.ok new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/dev9/pg12/tpch/sf_10/explain_analyze/15721/15-3.res b/dev9/pg12/tpch/sf_10/explain_analyze/15721/15-3.res new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/dev9/pg12/tpch/sf_10/explain_analyze/15721/16-1.ok b/dev9/pg12/tpch/sf_10/explain_analyze/15721/16-1.ok new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/dev9/pg12/tpch/sf_10/explain_analyze/15721/16-1.res b/dev9/pg12/tpch/sf_10/explain_analyze/15721/16-1.res new file mode 100644 index 0000000000000000000000000000000000000000..eb79773ab301b32ace3f154fecede9a33d3ebd17 --- /dev/null +++ b/dev9/pg12/tpch/sf_10/explain_analyze/15721/16-1.res @@ -0,0 +1 @@ +{"Plan": {"Node Type": "Sort", "Parallel Aware": false, "Startup Cost": 288731.87, "Total Cost": 289115.42, "Plan Rows": 153420, "Plan Width": 44, "Actual Startup Time": 5810.463, "Actual Total Time": 5817.402, "Actual Rows": 27840, "Actual Loops": 1, "Output": ["part.p_brand", "part.p_type", "part.p_size", "(count(DISTINCT partsupp.ps_suppkey))"], "Sort Key": ["(count(DISTINCT partsupp.ps_suppkey)) DESC", "part.p_brand", "part.p_type", "part.p_size"], "Sort Method": "quicksort", "Sort Space Used": 2968, "Sort Space Type": "Memory", "Plans": [{"Node Type": "Aggregate", "Strategy": "Sorted", "Partial Mode": "Simple", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 266596.54, "Total Cost": 275516.94, "Plan Rows": 153420, "Plan Width": 44, "Actual Startup Time": 4741.191, "Actual Total Time": 5719.637, "Actual Rows": 27840, "Actual Loops": 1, "Output": ["part.p_brand", "part.p_type", "part.p_size", "count(DISTINCT partsupp.ps_suppkey)"], "Group Key": ["part.p_brand", "part.p_type", "part.p_size"], "Plans": [{"Node Type": "Sort", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 266596.54, "Total Cost": 268073.78, "Plan Rows": 590896, "Plan Width": 40, "Actual Startup Time": 4741.134, "Actual Total Time": 5297.181, "Actual Rows": 1190471, "Actual Loops": 1, "Output": ["part.p_brand", "part.p_type", "part.p_size", "partsupp.ps_suppkey"], "Sort Key": ["part.p_brand", "part.p_type", "part.p_size"], "Sort Method": "external merge", "Sort Space Used": 60664, "Sort Space Type": "Disk", "Plans": [{"Node Type": "Gather", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 58851.76, "Total Cost": 200486.79, "Plan Rows": 590896, "Plan Width": 40, "Actual Startup Time": 200.875, "Actual Total Time": 674.449, "Actual Rows": 1190471, "Actual Loops": 1, "Output": ["part.p_brand", "part.p_type", "part.p_size", "partsupp.ps_suppkey"], "Workers Planned": 6, "Workers Launched": 6, "Single Copy": false, "Plans": [{"Node Type": "Hash Join", "Parent Relationship": "Outer", "Parallel Aware": true, "Join Type": "Inner", "Startup Cost": 57851.76, "Total Cost": 140397.19, "Plan Rows": 98483, "Plan Width": 40, "Actual Startup Time": 196.462, "Actual Total Time": 666.271, "Actual Rows": 170067, "Actual Loops": 7, "Output": ["part.p_brand", "part.p_type", "part.p_size", "partsupp.ps_suppkey"], "Inner Unique": true, "Hash Cond": "(partsupp.ps_partkey = part.p_partkey)", "Workers": [{"Worker Number": 0, "Actual Startup Time": 195.785, "Actual Total Time": 711.921, "Actual Rows": 185945, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 195.799, "Actual Total Time": 711.256, "Actual Rows": 186481, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 195.83, "Actual Total Time": 709.491, "Actual Rows": 186247, "Actual Loops": 1}, {"Worker Number": 3, "Actual Startup Time": 195.826, "Actual Total Time": 710.629, "Actual Rows": 186387, "Actual Loops": 1}, {"Worker Number": 4, "Actual Startup Time": 195.778, "Actual Total Time": 710.479, "Actual Rows": 186149, "Actual Loops": 1}, {"Worker Number": 5, "Actual Startup Time": 195.785, "Actual Total Time": 711.272, "Actual Rows": 186313, "Actual Loops": 1}], "Plans": [{"Node Type": "Index Only Scan", "Parent Relationship": "Outer", "Parallel Aware": true, "Scan Direction": "Forward", "Index Name": "ps_pk_sk", "Relation Name": "partsupp", "Schema": "public", "Alias": "partsupp", "Startup Cost": 3466.46, "Total Cost": 84261.95, "Plan Rows": 666645, "Plan Width": 8, "Actual Startup Time": 38.563, "Actual Total Time": 326.579, "Actual Rows": 1142217, "Actual Loops": 7, "Output": ["partsupp.ps_partkey", "partsupp.ps_suppkey"], "Filter": "(NOT (hashed SubPlan 1))", "Rows Removed by Filter": 640, "Heap Fetches": 0, "Workers": [{"Worker Number": 0, "Actual Startup Time": 38.575, "Actual Total Time": 355.361, "Actual Rows": 1250309, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 38.572, "Actual Total Time": 354.89, "Actual Rows": 1250984, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 38.559, "Actual Total Time": 353.963, "Actual Rows": 1249919, "Actual Loops": 1}, {"Worker Number": 3, "Actual Startup Time": 38.556, "Actual Total Time": 354.824, "Actual Rows": 1252451, "Actual Loops": 1}, {"Worker Number": 4, "Actual Startup Time": 38.568, "Actual Total Time": 354.109, "Actual Rows": 1250281, "Actual Loops": 1}, {"Worker Number": 5, "Actual Startup Time": 38.557, "Actual Total Time": 354.617, "Actual Rows": 1252857, "Actual Loops": 1}], "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "SubPlan", "Subplan Name": "SubPlan 1", "Parallel Aware": false, "Relation Name": "supplier", "Schema": "public", "Alias": "supplier", "Startup Cost": 0.0, "Total Cost": 3466.0, "Plan Rows": 10, "Plan Width": 4, "Actual Startup Time": 0.133, "Actual Total Time": 38.379, "Actual Rows": 56, "Actual Loops": 7, "Output": ["supplier.s_suppkey"], "Filter": "((supplier.s_comment)::text ~~ '%Customer%Complaints%'::text)", "Rows Removed by Filter": 99944, "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.136, "Actual Total Time": 38.433, "Actual Rows": 56, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 0.164, "Actual Total Time": 38.458, "Actual Rows": 56, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 0.13, "Actual Total Time": 38.297, "Actual Rows": 56, "Actual Loops": 1}, {"Worker Number": 3, "Actual Startup Time": 0.126, "Actual Total Time": 38.365, "Actual Rows": 56, "Actual Loops": 1}, {"Worker Number": 4, "Actual Startup Time": 0.128, "Actual Total Time": 38.4, "Actual Rows": 56, "Actual Loops": 1}, {"Worker Number": 5, "Actual Startup Time": 0.127, "Actual Total Time": 38.326, "Actual Rows": 56, "Actual Loops": 1}]}]}, {"Node Type": "Hash", "Parent Relationship": "Inner", "Parallel Aware": true, "Startup Cost": 53462.0, "Total Cost": 53462.0, "Plan Rows": 73864, "Plan Width": 40, "Actual Startup Time": 157.232, "Actual Total Time": 157.232, "Actual Rows": 42542, "Actual Loops": 7, "Output": ["part.p_brand", "part.p_type", "part.p_size", "part.p_partkey"], "Hash Buckets": 524288, "Original Hash Buckets": 524288, "Hash Batches": 1, "Original Hash Batches": 1, "Peak Memory Usage": 26432, "Workers": [{"Worker Number": 0, "Actual Startup Time": 157.102, "Actual Total Time": 157.103, "Actual Rows": 41303, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 157.104, "Actual Total Time": 157.105, "Actual Rows": 41576, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 157.09, "Actual Total Time": 157.091, "Actual Rows": 41220, "Actual Loops": 1}, {"Worker Number": 3, "Actual Startup Time": 157.107, "Actual Total Time": 157.108, "Actual Rows": 41610, "Actual Loops": 1}, {"Worker Number": 4, "Actual Startup Time": 157.103, "Actual Total Time": 157.103, "Actual Rows": 40991, "Actual Loops": 1}, {"Worker Number": 5, "Actual Startup Time": 157.077, "Actual Total Time": 157.078, "Actual Rows": 40391, "Actual Loops": 1}], "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": true, "Relation Name": "part", "Schema": "public", "Alias": "part", "Startup Cost": 0.0, "Total Cost": 53462.0, "Plan Rows": 73864, "Plan Width": 40, "Actual Startup Time": 0.035, "Actual Total Time": 135.765, "Actual Rows": 42542, "Actual Loops": 7, "Output": ["part.p_brand", "part.p_type", "part.p_size", "part.p_partkey"], "Filter": "((part.p_brand <> 'Brand#11'::bpchar) AND ((part.p_type)::text !~~ 'ECONOMY ANODIZED%'::text) AND (part.p_size = ANY ('{42,16,39,18,23,32,44,41}'::integer[])))", "Rows Removed by Filter": 243172, "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.029, "Actual Total Time": 135.87, "Actual Rows": 41303, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 0.039, "Actual Total Time": 135.689, "Actual Rows": 41576, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 0.039, "Actual Total Time": 136.214, "Actual Rows": 41220, "Actual Loops": 1}, {"Worker Number": 3, "Actual Startup Time": 0.038, "Actual Total Time": 135.549, "Actual Rows": 41610, "Actual Loops": 1}, {"Worker Number": 4, "Actual Startup Time": 0.043, "Actual Total Time": 135.852, "Actual Rows": 40991, "Actual Loops": 1}, {"Worker Number": 5, "Actual Startup Time": 0.041, "Actual Total Time": 135.054, "Actual Rows": 40391, "Actual Loops": 1}]}]}]}]}]}]}]}, "Planning Time": 0.673, "Triggers": [], "Execution Time": 5830.602} diff --git a/dev9/pg12/tpch/sf_10/explain_analyze/15721/17-1.ok b/dev9/pg12/tpch/sf_10/explain_analyze/15721/17-1.ok new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/dev9/pg12/tpch/sf_10/explain_analyze/15721/17-1.res b/dev9/pg12/tpch/sf_10/explain_analyze/15721/17-1.res new file mode 100644 index 0000000000000000000000000000000000000000..98cad9848c10ea769e440320a4b358f636e8b48b --- /dev/null +++ b/dev9/pg12/tpch/sf_10/explain_analyze/15721/17-1.res @@ -0,0 +1 @@ +{"Plan": {"Node Type": "Aggregate", "Strategy": "Plain", "Partial Mode": "Simple", "Parallel Aware": false, "Startup Cost": 1931945.94, "Total Cost": 1931945.96, "Plan Rows": 1, "Plan Width": 32, "Actual Startup Time": 17069.705, "Actual Total Time": 17069.821, "Actual Rows": 1, "Actual Loops": 1, "Output": ["(sum(lineitem.l_extendedprice) / 7.0)"], "Plans": [{"Node Type": "Hash Join", "Parent Relationship": "Outer", "Parallel Aware": false, "Join Type": "Inner", "Startup Cost": 49690.49, "Total Cost": 1931895.18, "Plan Rows": 20305, "Plan Width": 8, "Actual Startup Time": 113.762, "Actual Total Time": 17068.17, "Actual Rows": 5383, "Actual Loops": 1, "Output": ["lineitem.l_extendedprice"], "Inner Unique": true, "Hash Cond": "(lineitem.l_partkey = part.p_partkey)", "Join Filter": "(lineitem.l_quantity < (SubPlan 1))", "Rows Removed by Join Filter": 56148, "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Relation Name": "lineitem", "Schema": "public", "Alias": "lineitem", "Startup Cost": 0.0, "Total Cost": 1724382.44, "Plan Rows": 59984044, "Plan Width": 17, "Actual Startup Time": 0.007, "Actual Total Time": 5085.34, "Actual Rows": 59986052, "Actual Loops": 1, "Output": ["lineitem.l_orderkey", "lineitem.l_partkey", "lineitem.l_suppkey", "lineitem.l_linenumber", "lineitem.l_quantity", "lineitem.l_extendedprice", "lineitem.l_discount", "lineitem.l_tax", "lineitem.l_returnflag", "lineitem.l_linestatus", "lineitem.l_shipdate", "lineitem.l_commitdate", "lineitem.l_receiptdate", "lineitem.l_shipinstruct", "lineitem.l_shipmode", "lineitem.l_comment"]}, {"Node Type": "Hash", "Parent Relationship": "Inner", "Parallel Aware": false, "Startup Cost": 49665.1, "Total Cost": 49665.1, "Plan Rows": 2031, "Plan Width": 4, "Actual Startup Time": 109.823, "Actual Total Time": 109.936, "Actual Rows": 2063, "Actual Loops": 1, "Output": ["part.p_partkey"], "Hash Buckets": 4096, "Original Hash Buckets": 2048, "Hash Batches": 1, "Original Hash Batches": 1, "Peak Memory Usage": 105, "Plans": [{"Node Type": "Gather", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 1000.0, "Total Cost": 49665.1, "Plan Rows": 2031, "Plan Width": 4, "Actual Startup Time": 0.761, "Actual Total Time": 109.564, "Actual Rows": 2063, "Actual Loops": 1, "Output": ["part.p_partkey"], "Workers Planned": 4, "Workers Launched": 4, "Single Copy": false, "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": true, "Relation Name": "part", "Schema": "public", "Alias": "part", "Startup Cost": 0.0, "Total Cost": 48462.0, "Plan Rows": 508, "Plan Width": 4, "Actual Startup Time": 0.425, "Actual Total Time": 106.12, "Actual Rows": 413, "Actual Loops": 5, "Output": ["part.p_partkey"], "Filter": "((part.p_brand = 'Brand#14'::bpchar) AND (part.p_container = 'WRAP BOX'::bpchar))", "Rows Removed by Filter": 399587, "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.479, "Actual Total Time": 105.504, "Actual Rows": 383, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 0.519, "Actual Total Time": 105.513, "Actual Rows": 367, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 0.383, "Actual Total Time": 105.492, "Actual Rows": 387, "Actual Loops": 1}, {"Worker Number": 3, "Actual Startup Time": 0.259, "Actual Total Time": 105.513, "Actual Rows": 378, "Actual Loops": 1}]}]}]}, {"Node Type": "Aggregate", "Strategy": "Plain", "Partial Mode": "Simple", "Parent Relationship": "SubPlan", "Subplan Name": "SubPlan 1", "Parallel Aware": false, "Startup Cost": 36.39, "Total Cost": 36.4, "Plan Rows": 1, "Plan Width": 32, "Actual Startup Time": 0.045, "Actual Total Time": 0.045, "Actual Rows": 1, "Actual Loops": 61531, "Output": ["(0.2 * avg(lineitem_1.l_quantity))"], "Plans": [{"Node Type": "Index Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Scan Direction": "Forward", "Index Name": "l_pk", "Relation Name": "lineitem", "Schema": "public", "Alias": "lineitem_1", "Startup Cost": 0.56, "Total Cost": 36.31, "Plan Rows": 31, "Plan Width": 5, "Actual Startup Time": 0.006, "Actual Total Time": 0.039, "Actual Rows": 31, "Actual Loops": 61531, "Output": ["lineitem_1.l_orderkey", "lineitem_1.l_partkey", "lineitem_1.l_suppkey", "lineitem_1.l_linenumber", "lineitem_1.l_quantity", "lineitem_1.l_extendedprice", "lineitem_1.l_discount", "lineitem_1.l_tax", "lineitem_1.l_returnflag", "lineitem_1.l_linestatus", "lineitem_1.l_shipdate", "lineitem_1.l_commitdate", "lineitem_1.l_receiptdate", "lineitem_1.l_shipinstruct", "lineitem_1.l_shipmode", "lineitem_1.l_comment"], "Index Cond": "(lineitem_1.l_partkey = part.p_partkey)", "Rows Removed by Index Recheck": 0}]}]}]}, "Planning Time": 0.387, "Triggers": [], "Execution Time": 17069.869} diff --git a/dev9/pg12/tpch/sf_10/explain_analyze/15721/18-1.ok b/dev9/pg12/tpch/sf_10/explain_analyze/15721/18-1.ok new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/dev9/pg12/tpch/sf_10/explain_analyze/15721/18-1.res b/dev9/pg12/tpch/sf_10/explain_analyze/15721/18-1.res new file mode 100644 index 0000000000000000000000000000000000000000..36c78013229cae1d776af9399e0cf30fb1852361 --- /dev/null +++ b/dev9/pg12/tpch/sf_10/explain_analyze/15721/18-1.res @@ -0,0 +1 @@ +{"Plan": {"Node Type": "Limit", "Parallel Aware": false, "Startup Cost": 3648211.49, "Total Cost": 3648211.74, "Plan Rows": 100, "Plan Width": 71, "Actual Startup Time": 39606.433, "Actual Total Time": 39802.866, "Actual Rows": 84, "Actual Loops": 1, "Output": ["customer.c_name", "customer.c_custkey", "orders.o_orderkey", "orders.o_orderdate", "orders.o_totalprice", "(sum(lineitem.l_quantity))"], "Plans": [{"Node Type": "Sort", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 3648211.49, "Total Cost": 3655024.95, "Plan Rows": 2725384, "Plan Width": 71, "Actual Startup Time": 39606.431, "Actual Total Time": 39802.857, "Actual Rows": 84, "Actual Loops": 1, "Output": ["customer.c_name", "customer.c_custkey", "orders.o_orderkey", "orders.o_orderdate", "orders.o_totalprice", "(sum(lineitem.l_quantity))"], "Sort Key": ["orders.o_totalprice DESC", "orders.o_orderdate"], "Sort Method": "quicksort", "Sort Space Used": 31, "Sort Space Type": "Memory", "Plans": [{"Node Type": "Aggregate", "Strategy": "Sorted", "Partial Mode": "Finalize", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 3141273.3, "Total Cost": 3544049.28, "Plan Rows": 2725384, "Plan Width": 71, "Actual Startup Time": 39606.134, "Actual Total Time": 39802.778, "Actual Rows": 84, "Actual Loops": 1, "Output": ["customer.c_name", "customer.c_custkey", "orders.o_orderkey", "orders.o_orderdate", "orders.o_totalprice", "sum(lineitem.l_quantity)"], "Group Key": ["customer.c_custkey", "orders.o_orderkey"], "Plans": [{"Node Type": "Gather Merge", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 3141273.3, "Total Cost": 3482728.12, "Plan Rows": 2725386, "Plan Width": 71, "Actual Startup Time": 39606.107, "Actual Total Time": 39802.684, "Actual Rows": 84, "Actual Loops": 1, "Output": ["customer.c_custkey", "orders.o_orderkey", "customer.c_name", "orders.o_orderdate", "orders.o_totalprice", "(PARTIAL sum(lineitem.l_quantity))"], "Workers Planned": 6, "Workers Launched": 6, "Plans": [{"Node Type": "Aggregate", "Strategy": "Sorted", "Partial Mode": "Partial", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 3140273.2, "Total Cost": 3150493.39, "Plan Rows": 454231, "Plan Width": 71, "Actual Startup Time": 36492.674, "Actual Total Time": 36492.717, "Actual Rows": 12, "Actual Loops": 7, "Output": ["customer.c_custkey", "orders.o_orderkey", "customer.c_name", "orders.o_orderdate", "orders.o_totalprice", "PARTIAL sum(lineitem.l_quantity)"], "Group Key": ["customer.c_custkey", "orders.o_orderkey"], "Workers": [{"Worker Number": 0, "Actual Startup Time": 39593.615, "Actual Total Time": 39593.627, "Actual Rows": 0, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 39259.075, "Actual Total Time": 39259.087, "Actual Rows": 0, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 39597.732, "Actual Total Time": 39597.744, "Actual Rows": 0, "Actual Loops": 1}, {"Worker Number": 3, "Actual Startup Time": 34288.587, "Actual Total Time": 34288.654, "Actual Rows": 23, "Actual Loops": 1}, {"Worker Number": 4, "Actual Startup Time": 34060.649, "Actual Total Time": 34060.676, "Actual Rows": 8, "Actual Loops": 1}, {"Worker Number": 5, "Actual Startup Time": 34096.827, "Actual Total Time": 34096.862, "Actual Rows": 11, "Actual Loops": 1}], "Plans": [{"Node Type": "Sort", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 3140273.2, "Total Cost": 3141408.77, "Plan Rows": 454231, "Plan Width": 44, "Actual Startup Time": 36492.655, "Actual Total Time": 36492.671, "Actual Rows": 84, "Actual Loops": 7, "Output": ["customer.c_custkey", "orders.o_orderkey", "customer.c_name", "orders.o_orderdate", "orders.o_totalprice", "lineitem.l_quantity"], "Sort Key": ["customer.c_custkey", "orders.o_orderkey"], "Sort Method": "quicksort", "Sort Space Used": 47, "Sort Space Type": "Memory", "Workers": [{"Worker Number": 0, "Actual Startup Time": 39593.611, "Actual Total Time": 39593.623, "Actual Rows": 0, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 39259.071, "Actual Total Time": 39259.082, "Actual Rows": 0, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 39597.728, "Actual Total Time": 39597.739, "Actual Rows": 0, "Actual Loops": 1}, {"Worker Number": 3, "Actual Startup Time": 34288.559, "Actual Total Time": 34288.574, "Actual Rows": 161, "Actual Loops": 1}, {"Worker Number": 4, "Actual Startup Time": 34060.611, "Actual Total Time": 34060.621, "Actual Rows": 56, "Actual Loops": 1}, {"Worker Number": 5, "Actual Startup Time": 34096.794, "Actual Total Time": 34096.805, "Actual Rows": 77, "Actual Loops": 1}], "Plans": [{"Node Type": "Hash Join", "Parent Relationship": "Outer", "Parallel Aware": true, "Join Type": "Inner", "Startup Cost": 2598273.99, "Total Cost": 3089405.58, "Plan Rows": 454231, "Plan Width": 44, "Actual Startup Time": 35511.487, "Actual Total Time": 36492.578, "Actual Rows": 84, "Actual Loops": 7, "Output": ["customer.c_custkey", "orders.o_orderkey", "customer.c_name", "orders.o_orderdate", "orders.o_totalprice", "lineitem.l_quantity"], "Inner Unique": true, "Hash Cond": "(orders.o_custkey = customer.c_custkey)", "Workers": [{"Worker Number": 0, "Actual Startup Time": 39593.564, "Actual Total Time": 39593.576, "Actual Rows": 0, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 39259.03, "Actual Total Time": 39259.041, "Actual Rows": 0, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 39597.687, "Actual Total Time": 39597.698, "Actual Rows": 0, "Actual Loops": 1}, {"Worker Number": 3, "Actual Startup Time": 32214.669, "Actual Total Time": 34288.434, "Actual Rows": 161, "Actual Loops": 1}, {"Worker Number": 4, "Actual Startup Time": 33241.06, "Actual Total Time": 34060.534, "Actual Rows": 56, "Actual Loops": 1}, {"Worker Number": 5, "Actual Startup Time": 33309.171, "Actual Total Time": 34096.707, "Actual Rows": 77, "Actual Loops": 1}], "Plans": [{"Node Type": "Nested Loop", "Parent Relationship": "Outer", "Parallel Aware": false, "Join Type": "Inner", "Startup Cost": 2554009.49, "Total Cost": 3043948.72, "Plan Rows": 454231, "Plan Width": 25, "Actual Startup Time": 35346.465, "Actual Total Time": 36327.457, "Actual Rows": 84, "Actual Loops": 7, "Output": ["orders.o_orderkey", "orders.o_orderdate", "orders.o_totalprice", "orders.o_custkey", "lineitem.l_quantity"], "Inner Unique": false, "Workers": [{"Worker Number": 0, "Actual Startup Time": 39430.239, "Actual Total Time": 39430.244, "Actual Rows": 0, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 39095.704, "Actual Total Time": 39095.709, "Actual Rows": 0, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 39430.304, "Actual Total Time": 39430.31, "Actual Rows": 0, "Actual Loops": 1}, {"Worker Number": 3, "Actual Startup Time": 32051.34, "Actual Total Time": 34124.949, "Actual Rows": 161, "Actual Loops": 1}, {"Worker Number": 4, "Actual Startup Time": 33077.729, "Actual Total Time": 33897.132, "Actual Rows": 56, "Actual Loops": 1}, {"Worker Number": 5, "Actual Startup Time": 33145.836, "Actual Total Time": 33933.301, "Actual Rows": 77, "Actual Loops": 1}], "Plans": [{"Node Type": "Hash Join", "Parent Relationship": "Outer", "Parallel Aware": false, "Join Type": "Inner", "Startup Cost": 2554008.93, "Total Cost": 2878445.11, "Plan Rows": 113590, "Plan Width": 24, "Actual Startup Time": 35346.418, "Actual Total Time": 36327.03, "Actual Rows": 12, "Actual Loops": 7, "Output": ["orders.o_orderkey", "orders.o_orderdate", "orders.o_totalprice", "orders.o_custkey", "lineitem_1.l_orderkey"], "Inner Unique": true, "Hash Cond": "(orders.o_orderkey = lineitem_1.l_orderkey)", "Workers": [{"Worker Number": 0, "Actual Startup Time": 39430.235, "Actual Total Time": 39430.239, "Actual Rows": 0, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 39095.701, "Actual Total Time": 39095.704, "Actual Rows": 0, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 39430.3, "Actual Total Time": 39430.305, "Actual Rows": 0, "Actual Loops": 1}, {"Worker Number": 3, "Actual Startup Time": 32051.245, "Actual Total Time": 34123.807, "Actual Rows": 23, "Actual Loops": 1}, {"Worker Number": 4, "Actual Startup Time": 33077.628, "Actual Total Time": 33896.68, "Actual Rows": 8, "Actual Loops": 1}, {"Worker Number": 5, "Actual Startup Time": 33145.746, "Actual Total Time": 33932.753, "Actual Rows": 11, "Actual Loops": 1}], "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": true, "Relation Name": "orders", "Schema": "public", "Alias": "orders", "Startup Cost": 0.0, "Total Cost": 285912.54, "Plan Rows": 2500054, "Plan Width": 20, "Actual Startup Time": 0.025, "Actual Total Time": 459.951, "Actual Rows": 2142857, "Actual Loops": 7, "Output": ["orders.o_orderkey", "orders.o_orderdate", "orders.o_totalprice", "orders.o_custkey"], "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.023, "Actual Total Time": 0.051, "Actual Rows": 59, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 0.024, "Actual Total Time": 0.047, "Actual Rows": 59, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 0.033, "Actual Total Time": 0.054, "Actual Rows": 59, "Actual Loops": 1}, {"Worker Number": 3, "Actual Startup Time": 0.028, "Actual Total Time": 921.169, "Actual Rows": 4134329, "Actual Loops": 1}, {"Worker Number": 4, "Actual Startup Time": 0.034, "Actual Total Time": 419.518, "Actual Rows": 1808634, "Actual Loops": 1}, {"Worker Number": 5, "Actual Startup Time": 0.029, "Actual Total Time": 509.738, "Actual Rows": 2199303, "Actual Loops": 1}]}, {"Node Type": "Hash", "Parent Relationship": "Inner", "Parallel Aware": false, "Startup Cost": 2542826.65, "Total Cost": 2542826.65, "Plan Rows": 681542, "Plan Width": 4, "Actual Startup Time": 35251.867, "Actual Total Time": 35251.869, "Actual Rows": 84, "Actual Loops": 7, "Output": ["lineitem_1.l_orderkey"], "Hash Buckets": 524288, "Original Hash Buckets": 524288, "Hash Batches": 2, "Original Hash Batches": 2, "Peak Memory Usage": 4098, "Workers": [{"Worker Number": 0, "Actual Startup Time": 39424.152, "Actual Total Time": 39424.153, "Actual Rows": 84, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 39089.479, "Actual Total Time": 39089.48, "Actual Rows": 84, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 39424.166, "Actual Total Time": 39424.168, "Actual Rows": 84, "Actual Loops": 1}, {"Worker Number": 3, "Actual Startup Time": 32010.304, "Actual Total Time": 32010.306, "Actual Rows": 84, "Actual Loops": 1}, {"Worker Number": 4, "Actual Startup Time": 32955.643, "Actual Total Time": 32955.646, "Actual Rows": 84, "Actual Loops": 1}, {"Worker Number": 5, "Actual Startup Time": 32789.097, "Actual Total Time": 32789.1, "Actual Rows": 84, "Actual Loops": 1}], "Plans": [{"Node Type": "Aggregate", "Strategy": "Sorted", "Partial Mode": "Simple", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 0.56, "Total Cost": 2536011.23, "Plan Rows": 681542, "Plan Width": 4, "Actual Startup Time": 706.846, "Actual Total Time": 35251.498, "Actual Rows": 84, "Actual Loops": 7, "Output": ["lineitem_1.l_orderkey"], "Group Key": ["lineitem_1.l_orderkey"], "Filter": "(sum(lineitem_1.l_quantity) > '314'::numeric)", "Rows Removed by Filter": 14999916, "Workers": [{"Worker Number": 0, "Actual Startup Time": 715.725, "Actual Total Time": 39423.382, "Actual Rows": 84, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 703.912, "Actual Total Time": 39089.164, "Actual Rows": 84, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 715.74, "Actual Total Time": 39423.868, "Actual Rows": 84, "Actual Loops": 1}, {"Worker Number": 3, "Actual Startup Time": 710.924, "Actual Total Time": 32010.011, "Actual Rows": 84, "Actual Loops": 1}, {"Worker Number": 4, "Actual Startup Time": 722.999, "Actual Total Time": 32955.258, "Actual Rows": 84, "Actual Loops": 1}, {"Worker Number": 5, "Actual Startup Time": 722.996, "Actual Total Time": 32788.803, "Actual Rows": 84, "Actual Loops": 1}], "Plans": [{"Node Type": "Index Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Scan Direction": "Forward", "Index Name": "l_ok", "Relation Name": "lineitem", "Schema": "public", "Alias": "lineitem_1", "Startup Cost": 0.56, "Total Cost": 2205421.62, "Plan Rows": 59984044, "Plan Width": 9, "Actual Startup Time": 0.05, "Actual Total Time": 16702.188, "Actual Rows": 59986052, "Actual Loops": 7, "Output": ["lineitem_1.l_orderkey", "lineitem_1.l_partkey", "lineitem_1.l_suppkey", "lineitem_1.l_linenumber", "lineitem_1.l_quantity", "lineitem_1.l_extendedprice", "lineitem_1.l_discount", "lineitem_1.l_tax", "lineitem_1.l_returnflag", "lineitem_1.l_linestatus", "lineitem_1.l_shipdate", "lineitem_1.l_commitdate", "lineitem_1.l_receiptdate", "lineitem_1.l_shipinstruct", "lineitem_1.l_shipmode", "lineitem_1.l_comment"], "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.049, "Actual Total Time": 20783.019, "Actual Rows": 59986052, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 0.052, "Actual Total Time": 20573.936, "Actual Rows": 59986052, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 0.058, "Actual Total Time": 20903.38, "Actual Rows": 59986052, "Actual Loops": 1}, {"Worker Number": 3, "Actual Startup Time": 0.054, "Actual Total Time": 13457.043, "Actual Rows": 59986052, "Actual Loops": 1}, {"Worker Number": 4, "Actual Startup Time": 0.063, "Actual Total Time": 14416.417, "Actual Rows": 59986052, "Actual Loops": 1}, {"Worker Number": 5, "Actual Startup Time": 0.052, "Actual Total Time": 14268.959, "Actual Rows": 59986052, "Actual Loops": 1}]}]}]}]}, {"Node Type": "Index Scan", "Parent Relationship": "Inner", "Parallel Aware": false, "Scan Direction": "Forward", "Index Name": "lineitem_pkey", "Relation Name": "lineitem", "Schema": "public", "Alias": "lineitem", "Startup Cost": 0.56, "Total Cost": 1.17, "Plan Rows": 29, "Plan Width": 9, "Actual Startup Time": 0.029, "Actual Total Time": 0.031, "Actual Rows": 7, "Actual Loops": 84, "Output": ["lineitem.l_orderkey", "lineitem.l_partkey", "lineitem.l_suppkey", "lineitem.l_linenumber", "lineitem.l_quantity", "lineitem.l_extendedprice", "lineitem.l_discount", "lineitem.l_tax", "lineitem.l_returnflag", "lineitem.l_linestatus", "lineitem.l_shipdate", "lineitem.l_commitdate", "lineitem.l_receiptdate", "lineitem.l_shipinstruct", "lineitem.l_shipmode", "lineitem.l_comment"], "Index Cond": "(lineitem.l_orderkey = orders.o_orderkey)", "Rows Removed by Index Recheck": 0, "Workers": [{"Worker Number": 3, "Actual Startup Time": 0.043, "Actual Total Time": 0.045, "Actual Rows": 7, "Actual Loops": 23}, {"Worker Number": 4, "Actual Startup Time": 0.048, "Actual Total Time": 0.051, "Actual Rows": 7, "Actual Loops": 8}, {"Worker Number": 5, "Actual Startup Time": 0.043, "Actual Total Time": 0.045, "Actual Rows": 7, "Actual Loops": 11}]}]}, {"Node Type": "Hash", "Parent Relationship": "Inner", "Parallel Aware": true, "Startup Cost": 39577.0, "Total Cost": 39577.0, "Plan Rows": 375000, "Plan Width": 23, "Actual Startup Time": 162.222, "Actual Total Time": 162.224, "Actual Rows": 214286, "Actual Loops": 7, "Output": ["customer.c_name", "customer.c_custkey"], "Hash Buckets": 2097152, "Original Hash Buckets": 2097152, "Hash Batches": 1, "Original Hash Batches": 1, "Peak Memory Usage": 98688, "Workers": [{"Worker Number": 0, "Actual Startup Time": 163.249, "Actual Total Time": 163.254, "Actual Rows": 206945, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 163.234, "Actual Total Time": 163.238, "Actual Rows": 205082, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 163.237, "Actual Total Time": 163.239, "Actual Rows": 207303, "Actual Loops": 1}, {"Worker Number": 3, "Actual Startup Time": 163.232, "Actual Total Time": 163.233, "Actual Rows": 206292, "Actual Loops": 1}, {"Worker Number": 4, "Actual Startup Time": 163.242, "Actual Total Time": 163.242, "Actual Rows": 205011, "Actual Loops": 1}, {"Worker Number": 5, "Actual Startup Time": 163.225, "Actual Total Time": 163.226, "Actual Rows": 203810, "Actual Loops": 1}], "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": true, "Relation Name": "customer", "Schema": "public", "Alias": "customer", "Startup Cost": 0.0, "Total Cost": 39577.0, "Plan Rows": 375000, "Plan Width": 23, "Actual Startup Time": 0.028, "Actual Total Time": 61.54, "Actual Rows": 214286, "Actual Loops": 7, "Output": ["customer.c_name", "customer.c_custkey"], "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.032, "Actual Total Time": 63.638, "Actual Rows": 206945, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 0.028, "Actual Total Time": 63.349, "Actual Rows": 205082, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 0.03, "Actual Total Time": 63.156, "Actual Rows": 207303, "Actual Loops": 1}, {"Worker Number": 3, "Actual Startup Time": 0.03, "Actual Total Time": 63.176, "Actual Rows": 206292, "Actual Loops": 1}, {"Worker Number": 4, "Actual Startup Time": 0.034, "Actual Total Time": 62.996, "Actual Rows": 205011, "Actual Loops": 1}, {"Worker Number": 5, "Actual Startup Time": 0.031, "Actual Total Time": 63.209, "Actual Rows": 203810, "Actual Loops": 1}]}]}]}]}]}]}]}]}]}, "Planning Time": 0.98, "Triggers": [], "Execution Time": 39802.952} diff --git a/dev9/pg12/tpch/sf_10/explain_analyze/15721/19-1.ok b/dev9/pg12/tpch/sf_10/explain_analyze/15721/19-1.ok new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/dev9/pg12/tpch/sf_10/explain_analyze/15721/19-1.res b/dev9/pg12/tpch/sf_10/explain_analyze/15721/19-1.res new file mode 100644 index 0000000000000000000000000000000000000000..e739acb7949326851fe8c034981249b68fd7f599 --- /dev/null +++ b/dev9/pg12/tpch/sf_10/explain_analyze/15721/19-1.res @@ -0,0 +1 @@ +{"Plan": {"Node Type": "Aggregate", "Strategy": "Plain", "Partial Mode": "Finalize", "Parallel Aware": false, "Startup Cost": 106348.15, "Total Cost": 106348.16, "Plan Rows": 1, "Plan Width": 32, "Actual Startup Time": 312.05, "Actual Total Time": 375.829, "Actual Rows": 1, "Actual Loops": 1, "Output": ["sum((lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount)))"], "Plans": [{"Node Type": "Gather", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 106347.72, "Total Cost": 106348.13, "Plan Rows": 4, "Plan Width": 32, "Actual Startup Time": 311.948, "Actual Total Time": 375.815, "Actual Rows": 5, "Actual Loops": 1, "Output": ["(PARTIAL sum((lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount))))"], "Workers Planned": 4, "Workers Launched": 4, "Single Copy": false, "Plans": [{"Node Type": "Aggregate", "Strategy": "Plain", "Partial Mode": "Partial", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 105347.72, "Total Cost": 105347.73, "Plan Rows": 1, "Plan Width": 32, "Actual Startup Time": 307.971, "Actual Total Time": 307.973, "Actual Rows": 1, "Actual Loops": 5, "Output": ["PARTIAL sum((lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount)))"], "Workers": [{"Worker Number": 0, "Actual Startup Time": 307.111, "Actual Total Time": 307.112, "Actual Rows": 1, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 307.108, "Actual Total Time": 307.109, "Actual Rows": 1, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 307.098, "Actual Total Time": 307.1, "Actual Rows": 1, "Actual Loops": 1}, {"Worker Number": 3, "Actual Startup Time": 307.11, "Actual Total Time": 307.112, "Actual Rows": 1, "Actual Loops": 1}], "Plans": [{"Node Type": "Nested Loop", "Parent Relationship": "Outer", "Parallel Aware": false, "Join Type": "Inner", "Startup Cost": 0.56, "Total Cost": 105345.64, "Plan Rows": 277, "Plan Width": 12, "Actual Startup Time": 3.272, "Actual Total Time": 307.808, "Actual Rows": 229, "Actual Loops": 5, "Output": ["lineitem.l_extendedprice", "lineitem.l_discount"], "Inner Unique": false, "Workers": [{"Worker Number": 0, "Actual Startup Time": 1.624, "Actual Total Time": 306.959, "Actual Rows": 209, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 4.013, "Actual Total Time": 306.961, "Actual Rows": 191, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 4.518, "Actual Total Time": 306.929, "Actual Rows": 229, "Actual Loops": 1}, {"Worker Number": 3, "Actual Startup Time": 5.948, "Actual Total Time": 306.957, "Actual Rows": 202, "Actual Loops": 1}], "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": true, "Relation Name": "part", "Schema": "public", "Alias": "part", "Startup Cost": 0.0, "Total Cost": 62212.0, "Plan Rows": 1191, "Plan Width": 30, "Actual Startup Time": 0.171, "Actual Total Time": 171.471, "Actual Rows": 942, "Actual Loops": 5, "Output": ["part.p_partkey", "part.p_name", "part.p_mfgr", "part.p_brand", "part.p_type", "part.p_size", "part.p_container", "part.p_retailprice", "part.p_comment"], "Filter": "((part.p_size >= 1) AND (((part.p_brand = 'Brand#52'::bpchar) AND (part.p_container = ANY ('{\"SM CASE\",\"SM BOX\",\"SM PACK\",\"SM PKG\"}'::bpchar[])) AND (part.p_size <= 5)) OR ((part.p_brand = 'Brand#42'::bpchar) AND (part.p_container = ANY ('{\"MED BAG\",\"MED BOX\",\"MED PKG\",\"MED PACK\"}'::bpchar[])) AND (part.p_size <= 10)) OR ((part.p_brand = 'Brand#23'::bpchar) AND (part.p_container = ANY ('{\"LG CASE\",\"LG BOX\",\"LG PACK\",\"LG PKG\"}'::bpchar[])) AND (part.p_size <= 15))))", "Rows Removed by Filter": 399058, "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.058, "Actual Total Time": 154.346, "Actual Rows": 860, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 0.175, "Actual Total Time": 155.516, "Actual Rows": 860, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 0.466, "Actual Total Time": 151.482, "Actual Rows": 871, "Actual Loops": 1}, {"Worker Number": 3, "Actual Startup Time": 0.115, "Actual Total Time": 158.348, "Actual Rows": 823, "Actual Loops": 1}]}, {"Node Type": "Index Scan", "Parent Relationship": "Inner", "Parallel Aware": false, "Scan Direction": "Forward", "Index Name": "l_pk", "Relation Name": "lineitem", "Schema": "public", "Alias": "lineitem", "Startup Cost": 0.56, "Total Cost": 36.21, "Plan Rows": 1, "Plan Width": 21, "Actual Startup Time": 0.129, "Actual Total Time": 0.144, "Actual Rows": 0, "Actual Loops": 4710, "Output": ["lineitem.l_orderkey", "lineitem.l_partkey", "lineitem.l_suppkey", "lineitem.l_linenumber", "lineitem.l_quantity", "lineitem.l_extendedprice", "lineitem.l_discount", "lineitem.l_tax", "lineitem.l_returnflag", "lineitem.l_linestatus", "lineitem.l_shipdate", "lineitem.l_commitdate", "lineitem.l_receiptdate", "lineitem.l_shipinstruct", "lineitem.l_shipmode", "lineitem.l_comment"], "Index Cond": "(lineitem.l_partkey = part.p_partkey)", "Rows Removed by Index Recheck": 0, "Filter": "((lineitem.l_shipmode = ANY ('{AIR,\"AIR REG\"}'::bpchar[])) AND (lineitem.l_shipinstruct = 'DELIVER IN PERSON'::bpchar) AND (((lineitem.l_quantity >= '9'::numeric) AND (lineitem.l_quantity <= '19'::numeric)) OR ((lineitem.l_quantity >= '18'::numeric) AND (lineitem.l_quantity <= '28'::numeric)) OR ((lineitem.l_quantity >= '22'::numeric) AND (lineitem.l_quantity <= '32'::numeric))) AND (((part.p_brand = 'Brand#52'::bpchar) AND (part.p_container = ANY ('{\"SM CASE\",\"SM BOX\",\"SM PACK\",\"SM PKG\"}'::bpchar[])) AND (lineitem.l_quantity >= '9'::numeric) AND (lineitem.l_quantity <= '19'::numeric) AND (part.p_size <= 5)) OR ((part.p_brand = 'Brand#42'::bpchar) AND (part.p_container = ANY ('{\"MED BAG\",\"MED BOX\",\"MED PKG\",\"MED PACK\"}'::bpchar[])) AND (lineitem.l_quantity >= '18'::numeric) AND (lineitem.l_quantity <= '28'::numeric) AND (part.p_size <= 10)) OR ((part.p_brand = 'Brand#23'::bpchar) AND (part.p_container = ANY ('{\"LG CASE\",\"LG BOX\",\"LG PACK\",\"LG PKG\"}'::bpchar[])) AND (lineitem.l_quantity >= '22'::numeric) AND (lineitem.l_quantity <= '32'::numeric) AND (part.p_size <= 15))))", "Rows Removed by Filter": 30, "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.158, "Actual Total Time": 0.177, "Actual Rows": 0, "Actual Loops": 860}, {"Worker Number": 1, "Actual Startup Time": 0.159, "Actual Total Time": 0.176, "Actual Rows": 0, "Actual Loops": 860}, {"Worker Number": 2, "Actual Startup Time": 0.159, "Actual Total Time": 0.178, "Actual Rows": 0, "Actual Loops": 871}, {"Worker Number": 3, "Actual Startup Time": 0.162, "Actual Total Time": 0.18, "Actual Rows": 0, "Actual Loops": 823}]}]}]}]}]}, "Planning Time": 0.622, "Triggers": [], "Execution Time": 375.889} diff --git a/dev9/pg12/tpch/sf_10/explain_analyze/15721/2-1.ok b/dev9/pg12/tpch/sf_10/explain_analyze/15721/2-1.ok new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/dev9/pg12/tpch/sf_10/explain_analyze/15721/2-1.res b/dev9/pg12/tpch/sf_10/explain_analyze/15721/2-1.res new file mode 100644 index 0000000000000000000000000000000000000000..a1f07cb2cfa5b82c684d0966c2c938d8e835650b --- /dev/null +++ b/dev9/pg12/tpch/sf_10/explain_analyze/15721/2-1.res @@ -0,0 +1 @@ +{"Plan": {"Node Type": "Limit", "Parallel Aware": false, "Startup Cost": 363425.88, "Total Cost": 363425.89, "Plan Rows": 1, "Plan Width": 192, "Actual Startup Time": 3625.725, "Actual Total Time": 3625.858, "Actual Rows": 100, "Actual Loops": 1, "Output": ["supplier.s_acctbal", "supplier.s_name", "nation.n_name", "part.p_partkey", "part.p_mfgr", "supplier.s_address", "supplier.s_phone", "supplier.s_comment"], "Plans": [{"Node Type": "Sort", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 363425.88, "Total Cost": 363425.89, "Plan Rows": 1, "Plan Width": 192, "Actual Startup Time": 3625.723, "Actual Total Time": 3625.847, "Actual Rows": 100, "Actual Loops": 1, "Output": ["supplier.s_acctbal", "supplier.s_name", "nation.n_name", "part.p_partkey", "part.p_mfgr", "supplier.s_address", "supplier.s_phone", "supplier.s_comment"], "Sort Key": ["supplier.s_acctbal DESC", "nation.n_name", "supplier.s_name", "part.p_partkey"], "Sort Method": "top-N heapsort", "Sort Space Used": 71, "Sort Space Type": "Memory", "Plans": [{"Node Type": "Hash Join", "Parent Relationship": "Outer", "Parallel Aware": false, "Join Type": "Inner", "Startup Cost": 160987.12, "Total Cost": 363425.87, "Plan Rows": 1, "Plan Width": 192, "Actual Startup Time": 2998.138, "Actual Total Time": 3623.34, "Actual Rows": 4732, "Actual Loops": 1, "Output": ["supplier.s_acctbal", "supplier.s_name", "nation.n_name", "part.p_partkey", "part.p_mfgr", "supplier.s_address", "supplier.s_phone", "supplier.s_comment"], "Inner Unique": false, "Hash Cond": "((part.p_partkey = partsupp.ps_partkey) AND ((SubPlan 1) = partsupp.ps_supplycost))", "Plans": [{"Node Type": "Gather", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 1000.0, "Total Cost": 50248.4, "Plan Rows": 7864, "Plan Width": 30, "Actual Startup Time": 0.329, "Actual Total Time": 2.517, "Actual Rows": 8075, "Actual Loops": 1, "Output": ["part.p_partkey", "part.p_mfgr"], "Workers Planned": 4, "Workers Launched": 4, "Single Copy": false, "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": true, "Relation Name": "part", "Schema": "public", "Alias": "part", "Startup Cost": 0.0, "Total Cost": 48462.0, "Plan Rows": 1966, "Plan Width": 30, "Actual Startup Time": 0.092, "Actual Total Time": 132.043, "Actual Rows": 1615, "Actual Loops": 5, "Output": ["part.p_partkey", "part.p_mfgr"], "Filter": "(((part.p_type)::text ~~ '%TIN'::text) AND (part.p_size = 44))", "Rows Removed by Filter": 398385, "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.056, "Actual Total Time": 201.657, "Actual Rows": 2584, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 0.051, "Actual Total Time": 193.545, "Actual Rows": 2309, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 0.285, "Actual Total Time": 150.167, "Actual Rows": 1828, "Actual Loops": 1}, {"Worker Number": 3, "Actual Startup Time": 0.039, "Actual Total Time": 114.801, "Actual Rows": 1353, "Actual Loops": 1}]}]}, {"Node Type": "Hash", "Parent Relationship": "Inner", "Parallel Aware": false, "Startup Cost": 96925.92, "Total Cost": 96925.92, "Plan Rows": 1599947, "Plan Width": 172, "Actual Startup Time": 2994.743, "Actual Total Time": 2994.747, "Actual Rows": 1602640, "Actual Loops": 1, "Output": ["supplier.s_acctbal", "supplier.s_name", "supplier.s_address", "supplier.s_phone", "supplier.s_comment", "partsupp.ps_partkey", "partsupp.ps_supplycost", "nation.n_name"], "Hash Buckets": 131072, "Original Hash Buckets": 131072, "Hash Batches": 32, "Original Hash Batches": 32, "Peak Memory Usage": 11233, "Plans": [{"Node Type": "Nested Loop", "Parent Relationship": "Outer", "Parallel Aware": false, "Join Type": "Inner", "Startup Cost": 0.85, "Total Cost": 96925.92, "Plan Rows": 1599947, "Plan Width": 172, "Actual Startup Time": 0.054, "Actual Total Time": 2149.763, "Actual Rows": 1602640, "Actual Loops": 1, "Output": ["supplier.s_acctbal", "supplier.s_name", "supplier.s_address", "supplier.s_phone", "supplier.s_comment", "partsupp.ps_partkey", "partsupp.ps_supplycost", "nation.n_name"], "Inner Unique": false, "Plans": [{"Node Type": "Nested Loop", "Parent Relationship": "Outer", "Parallel Aware": false, "Join Type": "Inner", "Startup Cost": 0.42, "Total Cost": 1084.86, "Plan Rows": 20000, "Plan Width": 166, "Actual Startup Time": 0.035, "Actual Total Time": 23.767, "Actual Rows": 20033, "Actual Loops": 1, "Output": ["supplier.s_acctbal", "supplier.s_name", "supplier.s_address", "supplier.s_phone", "supplier.s_comment", "supplier.s_suppkey", "nation.n_name"], "Inner Unique": false, "Plans": [{"Node Type": "Nested Loop", "Parent Relationship": "Outer", "Parallel Aware": false, "Join Type": "Inner", "Startup Cost": 0.0, "Total Cost": 2.62, "Plan Rows": 5, "Plan Width": 30, "Actual Startup Time": 0.013, "Actual Total Time": 0.037, "Actual Rows": 5, "Actual Loops": 1, "Output": ["nation.n_name", "nation.n_nationkey"], "Inner Unique": false, "Join Filter": "(nation.n_regionkey = region.r_regionkey)", "Rows Removed by Join Filter": 20, "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Relation Name": "region", "Schema": "public", "Alias": "region", "Startup Cost": 0.0, "Total Cost": 1.06, "Plan Rows": 1, "Plan Width": 4, "Actual Startup Time": 0.005, "Actual Total Time": 0.008, "Actual Rows": 1, "Actual Loops": 1, "Output": ["region.r_regionkey", "region.r_name", "region.r_comment"], "Filter": "(region.r_name = 'EUROPE'::bpchar)", "Rows Removed by Filter": 4}, {"Node Type": "Seq Scan", "Parent Relationship": "Inner", "Parallel Aware": false, "Relation Name": "nation", "Schema": "public", "Alias": "nation", "Startup Cost": 0.0, "Total Cost": 1.25, "Plan Rows": 25, "Plan Width": 34, "Actual Startup Time": 0.003, "Actual Total Time": 0.012, "Actual Rows": 25, "Actual Loops": 1, "Output": ["nation.n_nationkey", "nation.n_name", "nation.n_regionkey", "nation.n_comment"]}]}, {"Node Type": "Index Scan", "Parent Relationship": "Inner", "Parallel Aware": false, "Scan Direction": "Forward", "Index Name": "s_nk", "Relation Name": "supplier", "Schema": "public", "Alias": "supplier", "Startup Cost": 0.42, "Total Cost": 176.45, "Plan Rows": 4000, "Plan Width": 144, "Actual Startup Time": 0.014, "Actual Total Time": 3.169, "Actual Rows": 4007, "Actual Loops": 5, "Output": ["supplier.s_suppkey", "supplier.s_name", "supplier.s_address", "supplier.s_nationkey", "supplier.s_phone", "supplier.s_acctbal", "supplier.s_comment"], "Index Cond": "(supplier.s_nationkey = nation.n_nationkey)", "Rows Removed by Index Recheck": 0}]}, {"Node Type": "Index Scan", "Parent Relationship": "Inner", "Parallel Aware": false, "Scan Direction": "Forward", "Index Name": "ps_sk_pk", "Relation Name": "partsupp", "Schema": "public", "Alias": "partsupp", "Startup Cost": 0.43, "Total Cost": 3.99, "Plan Rows": 80, "Plan Width": 14, "Actual Startup Time": 0.006, "Actual Total Time": 0.091, "Actual Rows": 80, "Actual Loops": 20033, "Output": ["partsupp.ps_partkey", "partsupp.ps_suppkey", "partsupp.ps_availqty", "partsupp.ps_supplycost", "partsupp.ps_comment"], "Index Cond": "(partsupp.ps_suppkey = supplier.s_suppkey)", "Rows Removed by Index Recheck": 0}]}]}, {"Node Type": "Aggregate", "Strategy": "Plain", "Partial Mode": "Simple", "Parent Relationship": "SubPlan", "Subplan Name": "SubPlan 1", "Parallel Aware": false, "Startup Cost": 14.48, "Total Cost": 14.49, "Plan Rows": 1, "Plan Width": 32, "Actual Startup Time": 0.027, "Actual Total Time": 0.027, "Actual Rows": 1, "Actual Loops": 12807, "Output": ["min(partsupp_1.ps_supplycost)"], "Plans": [{"Node Type": "Nested Loop", "Parent Relationship": "Outer", "Parallel Aware": false, "Join Type": "Inner", "Startup Cost": 0.86, "Total Cost": 14.48, "Plan Rows": 1, "Plan Width": 6, "Actual Startup Time": 0.019, "Actual Total Time": 0.026, "Actual Rows": 1, "Actual Loops": 12807, "Output": ["partsupp_1.ps_supplycost"], "Inner Unique": false, "Join Filter": "(nation_1.n_regionkey = region_1.r_regionkey)", "Rows Removed by Join Filter": 3, "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Relation Name": "region", "Schema": "public", "Alias": "region_1", "Startup Cost": 0.0, "Total Cost": 1.06, "Plan Rows": 1, "Plan Width": 4, "Actual Startup Time": 0.001, "Actual Total Time": 0.001, "Actual Rows": 1, "Actual Loops": 12807, "Output": ["region_1.r_regionkey", "region_1.r_name", "region_1.r_comment"], "Filter": "(region_1.r_name = 'EUROPE'::bpchar)", "Rows Removed by Filter": 4}, {"Node Type": "Nested Loop", "Parent Relationship": "Inner", "Parallel Aware": false, "Join Type": "Inner", "Startup Cost": 0.86, "Total Cost": 13.36, "Plan Rows": 4, "Plan Width": 10, "Actual Startup Time": 0.01, "Actual Total Time": 0.024, "Actual Rows": 4, "Actual Loops": 12807, "Output": ["partsupp_1.ps_supplycost", "nation_1.n_regionkey"], "Inner Unique": true, "Plans": [{"Node Type": "Nested Loop", "Parent Relationship": "Outer", "Parallel Aware": false, "Join Type": "Inner", "Startup Cost": 0.72, "Total Cost": 12.74, "Plan Rows": 4, "Plan Width": 10, "Actual Startup Time": 0.008, "Actual Total Time": 0.018, "Actual Rows": 4, "Actual Loops": 12807, "Output": ["partsupp_1.ps_supplycost", "supplier_1.s_nationkey"], "Inner Unique": true, "Plans": [{"Node Type": "Index Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Scan Direction": "Forward", "Index Name": "ps_pk", "Relation Name": "partsupp", "Schema": "public", "Alias": "partsupp_1", "Startup Cost": 0.43, "Total Cost": 2.7, "Plan Rows": 4, "Plan Width": 10, "Actual Startup Time": 0.005, "Actual Total Time": 0.006, "Actual Rows": 4, "Actual Loops": 12807, "Output": ["partsupp_1.ps_partkey", "partsupp_1.ps_suppkey", "partsupp_1.ps_availqty", "partsupp_1.ps_supplycost", "partsupp_1.ps_comment"], "Index Cond": "(partsupp_1.ps_partkey = part.p_partkey)", "Rows Removed by Index Recheck": 0}, {"Node Type": "Index Scan", "Parent Relationship": "Inner", "Parallel Aware": false, "Scan Direction": "Forward", "Index Name": "s_sk", "Relation Name": "supplier", "Schema": "public", "Alias": "supplier_1", "Startup Cost": 0.29, "Total Cost": 2.51, "Plan Rows": 1, "Plan Width": 8, "Actual Startup Time": 0.002, "Actual Total Time": 0.002, "Actual Rows": 1, "Actual Loops": 51228, "Output": ["supplier_1.s_suppkey", "supplier_1.s_name", "supplier_1.s_address", "supplier_1.s_nationkey", "supplier_1.s_phone", "supplier_1.s_acctbal", "supplier_1.s_comment"], "Index Cond": "(supplier_1.s_suppkey = partsupp_1.ps_suppkey)", "Rows Removed by Index Recheck": 0}]}, {"Node Type": "Index Scan", "Parent Relationship": "Inner", "Parallel Aware": false, "Scan Direction": "Forward", "Index Name": "n_nk", "Relation Name": "nation", "Schema": "public", "Alias": "nation_1", "Startup Cost": 0.14, "Total Cost": 0.16, "Plan Rows": 1, "Plan Width": 8, "Actual Startup Time": 0.001, "Actual Total Time": 0.001, "Actual Rows": 1, "Actual Loops": 51228, "Output": ["nation_1.n_nationkey", "nation_1.n_name", "nation_1.n_regionkey", "nation_1.n_comment"], "Index Cond": "(nation_1.n_nationkey = supplier_1.s_nationkey)", "Rows Removed by Index Recheck": 0}]}]}]}]}]}]}, "Planning Time": 2.159, "Triggers": [], "Execution Time": 3625.957} diff --git a/dev9/pg12/tpch/sf_10/explain_analyze/15721/20-1.ok b/dev9/pg12/tpch/sf_10/explain_analyze/15721/20-1.ok new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/dev9/pg12/tpch/sf_10/explain_analyze/15721/20-1.res b/dev9/pg12/tpch/sf_10/explain_analyze/15721/20-1.res new file mode 100644 index 0000000000000000000000000000000000000000..5bef81344d3efbc51ce4eff252226e8f3aa6e7a8 --- /dev/null +++ b/dev9/pg12/tpch/sf_10/explain_analyze/15721/20-1.res @@ -0,0 +1 @@ +{"Plan": {"Node Type": "Sort", "Parallel Aware": false, "Startup Cost": 324579.58, "Total Cost": 324582.25, "Plan Rows": 1069, "Plan Width": 51, "Actual Startup Time": 1648.85, "Actual Total Time": 1649.059, "Actual Rows": 1786, "Actual Loops": 1, "Output": ["supplier.s_name", "supplier.s_address"], "Sort Key": ["supplier.s_name"], "Sort Method": "quicksort", "Sort Space Used": 254, "Sort Space Type": "Memory", "Plans": [{"Node Type": "Hash Join", "Parent Relationship": "Outer", "Parallel Aware": false, "Join Type": "Semi", "Startup Cost": 322298.32, "Total Cost": 324525.8, "Plan Rows": 1069, "Plan Width": 51, "Actual Startup Time": 1640.206, "Actual Total Time": 1645.386, "Actual Rows": 1786, "Actual Loops": 1, "Output": ["supplier.s_name", "supplier.s_address"], "Inner Unique": false, "Hash Cond": "(supplier.s_suppkey = partsupp.ps_suppkey)", "Plans": [{"Node Type": "Nested Loop", "Parent Relationship": "Outer", "Parallel Aware": false, "Join Type": "Inner", "Startup Cost": 44.62, "Total Cost": 2244.36, "Plan Rows": 4000, "Plan Width": 55, "Actual Startup Time": 0.817, "Actual Total Time": 4.803, "Actual Rows": 4049, "Actual Loops": 1, "Output": ["supplier.s_name", "supplier.s_address", "supplier.s_suppkey"], "Inner Unique": false, "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Relation Name": "nation", "Schema": "public", "Alias": "nation", "Startup Cost": 0.0, "Total Cost": 1.31, "Plan Rows": 1, "Plan Width": 4, "Actual Startup Time": 0.009, "Actual Total Time": 0.015, "Actual Rows": 1, "Actual Loops": 1, "Output": ["nation.n_nationkey", "nation.n_name", "nation.n_regionkey", "nation.n_comment"], "Filter": "(nation.n_name = 'GERMANY'::bpchar)", "Rows Removed by Filter": 24}, {"Node Type": "Bitmap Heap Scan", "Parent Relationship": "Inner", "Parallel Aware": false, "Relation Name": "supplier", "Schema": "public", "Alias": "supplier", "Startup Cost": 44.62, "Total Cost": 2203.05, "Plan Rows": 4000, "Plan Width": 59, "Actual Startup Time": 0.805, "Actual Total Time": 3.938, "Actual Rows": 4049, "Actual Loops": 1, "Output": ["supplier.s_suppkey", "supplier.s_name", "supplier.s_address", "supplier.s_nationkey", "supplier.s_phone", "supplier.s_acctbal", "supplier.s_comment"], "Recheck Cond": "(supplier.s_nationkey = nation.n_nationkey)", "Rows Removed by Index Recheck": 0, "Exact Heap Blocks": 1874, "Lossy Heap Blocks": 0, "Plans": [{"Node Type": "Bitmap Index Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Index Name": "s_nk", "Startup Cost": 0.0, "Total Cost": 43.62, "Plan Rows": 4000, "Plan Width": 0, "Actual Startup Time": 0.482, "Actual Total Time": 0.482, "Actual Rows": 4049, "Actual Loops": 1, "Index Cond": "(supplier.s_nationkey = nation.n_nationkey)"}]}]}, {"Node Type": "Hash", "Parent Relationship": "Inner", "Parallel Aware": false, "Startup Cost": 321919.71, "Total Cost": 321919.71, "Plan Rows": 26719, "Plan Width": 4, "Actual Startup Time": 1639.331, "Actual Total Time": 1639.44, "Actual Rows": 59274, "Actual Loops": 1, "Output": ["partsupp.ps_suppkey"], "Hash Buckets": 65536, "Original Hash Buckets": 32768, "Hash Batches": 1, "Original Hash Batches": 1, "Peak Memory Usage": 2596, "Plans": [{"Node Type": "Nested Loop", "Parent Relationship": "Outer", "Parallel Aware": false, "Join Type": "Inner", "Startup Cost": 1000.43, "Total Cost": 321919.71, "Plan Rows": 26719, "Plan Width": 4, "Actual Startup Time": 0.381, "Actual Total Time": 1622.055, "Actual Rows": 59274, "Actual Loops": 1, "Output": ["partsupp.ps_suppkey"], "Inner Unique": false, "Plans": [{"Node Type": "Gather", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 1000.0, "Total Cost": 50216.0, "Plan Rows": 20040, "Plan Width": 4, "Actual Startup Time": 0.323, "Actual Total Time": 5.158, "Actual Rows": 21783, "Actual Loops": 1, "Output": ["part.p_partkey"], "Workers Planned": 4, "Workers Launched": 4, "Single Copy": false, "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": true, "Relation Name": "part", "Schema": "public", "Alias": "part", "Startup Cost": 0.0, "Total Cost": 47212.0, "Plan Rows": 5010, "Plan Width": 4, "Actual Startup Time": 0.055, "Actual Total Time": 84.459, "Actual Rows": 4357, "Actual Loops": 5, "Output": ["part.p_partkey"], "Filter": "((part.p_name)::text ~~ 'floral%'::text)", "Rows Removed by Filter": 395643, "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.057, "Actual Total Time": 37.654, "Actual Rows": 1638, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 0.027, "Actual Total Time": 38.407, "Actual Rows": 1639, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 0.124, "Actual Total Time": 306.857, "Actual Rows": 16834, "Actual Loops": 1}, {"Worker Number": 3, "Actual Startup Time": 0.034, "Actual Total Time": 38.805, "Actual Rows": 1638, "Actual Loops": 1}]}]}, {"Node Type": "Index Scan", "Parent Relationship": "Inner", "Parallel Aware": false, "Scan Direction": "Forward", "Index Name": "ps_pk", "Relation Name": "partsupp", "Schema": "public", "Alias": "partsupp", "Startup Cost": 0.43, "Total Cost": 13.55, "Plan Rows": 1, "Plan Width": 8, "Actual Startup Time": 0.029, "Actual Total Time": 0.073, "Actual Rows": 3, "Actual Loops": 21783, "Output": ["partsupp.ps_partkey", "partsupp.ps_suppkey", "partsupp.ps_availqty", "partsupp.ps_supplycost", "partsupp.ps_comment"], "Index Cond": "(partsupp.ps_partkey = part.p_partkey)", "Rows Removed by Index Recheck": 0, "Filter": "((partsupp.ps_availqty)::numeric > (SubPlan 1))", "Rows Removed by Filter": 1, "Plans": [{"Node Type": "Aggregate", "Strategy": "Plain", "Partial Mode": "Simple", "Parent Relationship": "SubPlan", "Subplan Name": "SubPlan 1", "Parallel Aware": false, "Startup Cost": 2.79, "Total Cost": 2.81, "Plan Rows": 1, "Plan Width": 32, "Actual Startup Time": 0.016, "Actual Total Time": 0.016, "Actual Rows": 1, "Actual Loops": 87132, "Output": ["(0.5 * sum(lineitem.l_quantity))"], "Plans": [{"Node Type": "Index Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Scan Direction": "Forward", "Index Name": "l_sk_pk", "Relation Name": "lineitem", "Schema": "public", "Alias": "lineitem", "Startup Cost": 0.56, "Total Cost": 2.79, "Plan Rows": 1, "Plan Width": 5, "Actual Startup Time": 0.011, "Actual Total Time": 0.015, "Actual Rows": 1, "Actual Loops": 87132, "Output": ["lineitem.l_orderkey", "lineitem.l_partkey", "lineitem.l_suppkey", "lineitem.l_linenumber", "lineitem.l_quantity", "lineitem.l_extendedprice", "lineitem.l_discount", "lineitem.l_tax", "lineitem.l_returnflag", "lineitem.l_linestatus", "lineitem.l_shipdate", "lineitem.l_commitdate", "lineitem.l_receiptdate", "lineitem.l_shipinstruct", "lineitem.l_shipmode", "lineitem.l_comment"], "Index Cond": "((lineitem.l_suppkey = partsupp.ps_suppkey) AND (lineitem.l_partkey = partsupp.ps_partkey))", "Rows Removed by Index Recheck": 0, "Filter": "((lineitem.l_shipdate >= '1996-01-01'::date) AND (lineitem.l_shipdate < '1997-01-01 00:00:00'::timestamp without time zone))", "Rows Removed by Filter": 6}]}]}]}]}]}]}, "Planning Time": 0.851, "Triggers": [], "Execution Time": 1649.198} diff --git a/dev9/pg12/tpch/sf_10/explain_analyze/15721/21-1.ok b/dev9/pg12/tpch/sf_10/explain_analyze/15721/21-1.ok new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/dev9/pg12/tpch/sf_10/explain_analyze/15721/21-1.res b/dev9/pg12/tpch/sf_10/explain_analyze/15721/21-1.res new file mode 100644 index 0000000000000000000000000000000000000000..57d651cd641b35515cedb00e3348331f921f09dd --- /dev/null +++ b/dev9/pg12/tpch/sf_10/explain_analyze/15721/21-1.res @@ -0,0 +1 @@ +{"Plan": {"Node Type": "Limit", "Parallel Aware": false, "Startup Cost": 407676.92, "Total Cost": 407676.92, "Plan Rows": 1, "Plan Width": 34, "Actual Startup Time": 7077.664, "Actual Total Time": 7151.235, "Actual Rows": 100, "Actual Loops": 1, "Output": ["supplier.s_name", "(count(*))"], "Plans": [{"Node Type": "Sort", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 407676.92, "Total Cost": 407676.92, "Plan Rows": 1, "Plan Width": 34, "Actual Startup Time": 7077.662, "Actual Total Time": 7151.225, "Actual Rows": 100, "Actual Loops": 1, "Output": ["supplier.s_name", "(count(*))"], "Sort Key": ["(count(*)) DESC", "supplier.s_name"], "Sort Method": "top-N heapsort", "Sort Space Used": 38, "Sort Space Type": "Memory", "Plans": [{"Node Type": "Aggregate", "Strategy": "Sorted", "Partial Mode": "Simple", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 407676.89, "Total Cost": 407676.91, "Plan Rows": 1, "Plan Width": 34, "Actual Startup Time": 7066.841, "Actual Total Time": 7149.56, "Actual Rows": 3988, "Actual Loops": 1, "Output": ["supplier.s_name", "count(*)"], "Group Key": ["supplier.s_name"], "Plans": [{"Node Type": "Sort", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 407676.89, "Total Cost": 407676.89, "Plan Rows": 1, "Plan Width": 26, "Actual Startup Time": 7066.825, "Actual Total Time": 7142.778, "Actual Rows": 39932, "Actual Loops": 1, "Output": ["supplier.s_name"], "Sort Key": ["supplier.s_name"], "Sort Method": "quicksort", "Sort Space Used": 4656, "Sort Space Type": "Memory", "Plans": [{"Node Type": "Nested Loop", "Parent Relationship": "Outer", "Parallel Aware": false, "Join Type": "Inner", "Startup Cost": 1003.46, "Total Cost": 407676.88, "Plan Rows": 1, "Plan Width": 26, "Actual Startup Time": 0.938, "Actual Total Time": 7007.261, "Actual Rows": 39932, "Actual Loops": 1, "Output": ["supplier.s_name"], "Inner Unique": true, "Plans": [{"Node Type": "Nested Loop", "Parent Relationship": "Outer", "Parallel Aware": false, "Join Type": "Semi", "Startup Cost": 1003.02, "Total Cost": 407676.41, "Plan Rows": 1, "Plan Width": 34, "Actual Startup Time": 0.928, "Actual Total Time": 6548.986, "Actual Rows": 81076, "Actual Loops": 1, "Output": ["supplier.s_name", "l1.l_orderkey", "l2.l_orderkey"], "Inner Unique": false, "Plans": [{"Node Type": "Gather", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 1002.46, "Total Cost": 407675.17, "Plan Rows": 1, "Plan Width": 34, "Actual Startup Time": 0.452, "Actual Total Time": 5992.592, "Actual Rows": 135007, "Actual Loops": 1, "Output": ["supplier.s_name", "l1.l_suppkey", "l1.l_orderkey"], "Workers Planned": 1, "Workers Launched": 1, "Single Copy": false, "Plans": [{"Node Type": "Nested Loop", "Parent Relationship": "Outer", "Parallel Aware": false, "Join Type": "Anti", "Startup Cost": 2.46, "Total Cost": 406675.07, "Plan Rows": 1, "Plan Width": 34, "Actual Startup Time": 0.799, "Actual Total Time": 6398.324, "Actual Rows": 67504, "Actual Loops": 2, "Output": ["supplier.s_name", "l1.l_suppkey", "l1.l_orderkey"], "Inner Unique": false, "Workers": [{"Worker Number": 0, "Actual Startup Time": 1.491, "Actual Total Time": 6911.601, "Actual Rows": 70004, "Actual Loops": 1}], "Plans": [{"Node Type": "Nested Loop", "Parent Relationship": "Outer", "Parallel Aware": false, "Join Type": "Inner", "Startup Cost": 1.89, "Total Cost": 69537.88, "Plan Rows": 469693, "Plan Width": 34, "Actual Startup Time": 0.212, "Actual Total Time": 2185.092, "Actual Rows": 756457, "Actual Loops": 2, "Output": ["supplier.s_name", "l1.l_suppkey", "l1.l_orderkey"], "Inner Unique": false, "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.377, "Actual Total Time": 2485.071, "Actual Rows": 783660, "Actual Loops": 1}], "Plans": [{"Node Type": "Hash Join", "Parent Relationship": "Outer", "Parallel Aware": false, "Join Type": "Inner", "Startup Cost": 1.32, "Total Cost": 2986.15, "Plan Rows": 2353, "Plan Width": 30, "Actual Startup Time": 0.139, "Actual Total Time": 21.395, "Actual Rows": 1994, "Actual Loops": 2, "Output": ["supplier.s_name", "supplier.s_suppkey"], "Inner Unique": true, "Hash Cond": "(supplier.s_nationkey = nation.n_nationkey)", "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.254, "Actual Total Time": 23.054, "Actual Rows": 2067, "Actual Loops": 1}], "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": true, "Relation Name": "supplier", "Schema": "public", "Alias": "supplier", "Startup Cost": 0.0, "Total Cost": 2804.24, "Plan Rows": 58824, "Plan Width": 34, "Actual Startup Time": 0.013, "Actual Total Time": 6.187, "Actual Rows": 50000, "Actual Loops": 2, "Output": ["supplier.s_suppkey", "supplier.s_name", "supplier.s_address", "supplier.s_nationkey", "supplier.s_phone", "supplier.s_acctbal", "supplier.s_comment"], "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.022, "Actual Total Time": 6.778, "Actual Rows": 51991, "Actual Loops": 1}]}, {"Node Type": "Hash", "Parent Relationship": "Inner", "Parallel Aware": false, "Startup Cost": 1.31, "Total Cost": 1.31, "Plan Rows": 1, "Plan Width": 4, "Actual Startup Time": 0.025, "Actual Total Time": 0.026, "Actual Rows": 1, "Actual Loops": 2, "Output": ["nation.n_nationkey"], "Hash Buckets": 1024, "Original Hash Buckets": 1024, "Hash Batches": 1, "Original Hash Batches": 1, "Peak Memory Usage": 9, "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.039, "Actual Total Time": 0.04, "Actual Rows": 1, "Actual Loops": 1}], "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Relation Name": "nation", "Schema": "public", "Alias": "nation", "Startup Cost": 0.0, "Total Cost": 1.31, "Plan Rows": 1, "Plan Width": 4, "Actual Startup Time": 0.021, "Actual Total Time": 0.023, "Actual Rows": 1, "Actual Loops": 2, "Output": ["nation.n_nationkey"], "Filter": "(nation.n_name = 'CHINA'::bpchar)", "Rows Removed by Filter": 24, "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.034, "Actual Total Time": 0.036, "Actual Rows": 1, "Actual Loops": 1}]}]}]}, {"Node Type": "Index Scan", "Parent Relationship": "Inner", "Parallel Aware": false, "Scan Direction": "Forward", "Index Name": "l_sk_pk", "Relation Name": "lineitem", "Schema": "public", "Alias": "l1", "Startup Cost": 0.56, "Total Cost": 26.28, "Plan Rows": 200, "Plan Width": 8, "Actual Startup Time": 0.015, "Actual Total Time": 1.037, "Actual Rows": 379, "Actual Loops": 3988, "Output": ["l1.l_orderkey", "l1.l_partkey", "l1.l_suppkey", "l1.l_linenumber", "l1.l_quantity", "l1.l_extendedprice", "l1.l_discount", "l1.l_tax", "l1.l_returnflag", "l1.l_linestatus", "l1.l_shipdate", "l1.l_commitdate", "l1.l_receiptdate", "l1.l_shipinstruct", "l1.l_shipmode", "l1.l_comment"], "Index Cond": "(l1.l_suppkey = supplier.s_suppkey)", "Rows Removed by Index Recheck": 0, "Filter": "(l1.l_receiptdate > l1.l_commitdate)", "Rows Removed by Filter": 221, "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.018, "Actual Total Time": 1.143, "Actual Rows": 379, "Actual Loops": 2067}]}]}, {"Node Type": "Index Scan", "Parent Relationship": "Inner", "Parallel Aware": false, "Scan Direction": "Forward", "Index Name": "lineitem_pkey", "Relation Name": "lineitem", "Schema": "public", "Alias": "l3", "Startup Cost": 0.56, "Total Cost": 1.29, "Plan Rows": 10, "Plan Width": 8, "Actual Startup Time": 0.005, "Actual Total Time": 0.005, "Actual Rows": 1, "Actual Loops": 1512914, "Output": ["l3.l_orderkey", "l3.l_partkey", "l3.l_suppkey", "l3.l_linenumber", "l3.l_quantity", "l3.l_extendedprice", "l3.l_discount", "l3.l_tax", "l3.l_returnflag", "l3.l_linestatus", "l3.l_shipdate", "l3.l_commitdate", "l3.l_receiptdate", "l3.l_shipinstruct", "l3.l_shipmode", "l3.l_comment"], "Index Cond": "(l3.l_orderkey = l1.l_orderkey)", "Rows Removed by Index Recheck": 0, "Filter": "((l3.l_receiptdate > l3.l_commitdate) AND (l3.l_suppkey <> l1.l_suppkey))", "Rows Removed by Filter": 1, "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.005, "Actual Total Time": 0.005, "Actual Rows": 1, "Actual Loops": 783660}]}]}]}, {"Node Type": "Index Scan", "Parent Relationship": "Inner", "Parallel Aware": false, "Scan Direction": "Forward", "Index Name": "lineitem_pkey", "Relation Name": "lineitem", "Schema": "public", "Alias": "l2", "Startup Cost": 0.56, "Total Cost": 1.22, "Plan Rows": 29, "Plan Width": 8, "Actual Startup Time": 0.004, "Actual Total Time": 0.004, "Actual Rows": 1, "Actual Loops": 135007, "Output": ["l2.l_orderkey", "l2.l_partkey", "l2.l_suppkey", "l2.l_linenumber", "l2.l_quantity", "l2.l_extendedprice", "l2.l_discount", "l2.l_tax", "l2.l_returnflag", "l2.l_linestatus", "l2.l_shipdate", "l2.l_commitdate", "l2.l_receiptdate", "l2.l_shipinstruct", "l2.l_shipmode", "l2.l_comment"], "Index Cond": "(l2.l_orderkey = l1.l_orderkey)", "Rows Removed by Index Recheck": 0, "Filter": "(l2.l_suppkey <> l1.l_suppkey)", "Rows Removed by Filter": 1}]}, {"Node Type": "Index Scan", "Parent Relationship": "Inner", "Parallel Aware": false, "Scan Direction": "Forward", "Index Name": "o_ok", "Relation Name": "orders", "Schema": "public", "Alias": "orders", "Startup Cost": 0.43, "Total Cost": 0.47, "Plan Rows": 1, "Plan Width": 4, "Actual Startup Time": 0.005, "Actual Total Time": 0.005, "Actual Rows": 0, "Actual Loops": 81076, "Output": ["orders.o_orderkey", "orders.o_custkey", "orders.o_orderstatus", "orders.o_totalprice", "orders.o_orderdate", "orders.o_orderpriority", "orders.o_clerk", "orders.o_shippriority", "orders.o_comment"], "Index Cond": "(orders.o_orderkey = l1.l_orderkey)", "Rows Removed by Index Recheck": 0, "Filter": "(orders.o_orderstatus = 'F'::bpchar)", "Rows Removed by Filter": 1}]}]}]}]}]}, "Planning Time": 2.474, "Triggers": [], "Execution Time": 7151.322} diff --git a/dev9/pg12/tpch/sf_10/explain_analyze/15721/22-1.ok b/dev9/pg12/tpch/sf_10/explain_analyze/15721/22-1.ok new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/dev9/pg12/tpch/sf_10/explain_analyze/15721/22-1.res b/dev9/pg12/tpch/sf_10/explain_analyze/15721/22-1.res new file mode 100644 index 0000000000000000000000000000000000000000..5ca7f1fa698bada77655103773ff0b14435f9fcc --- /dev/null +++ b/dev9/pg12/tpch/sf_10/explain_analyze/15721/22-1.res @@ -0,0 +1 @@ +{"Plan": {"Node Type": "Aggregate", "Strategy": "Sorted", "Partial Mode": "Finalize", "Parallel Aware": false, "Startup Cost": 95896.67, "Total Cost": 97023.86, "Plan Rows": 7344, "Plan Width": 72, "Actual Startup Time": 588.096, "Actual Total Time": 615.351, "Actual Rows": 7, "Actual Loops": 1, "Output": ["(\"substring\"((customer.c_phone)::text, 1, 2))", "count(*)", "sum(customer.c_acctbal)"], "Group Key": ["(\"substring\"((customer.c_phone)::text, 1, 2))"], "Plans": [{"Node Type": "Aggregate", "Strategy": "Plain", "Partial Mode": "Finalize", "Parent Relationship": "InitPlan", "Subplan Name": "InitPlan 1 (returns $1)", "Parallel Aware": false, "Startup Cost": 46700.98, "Total Cost": 46700.99, "Plan Rows": 1, "Plan Width": 32, "Actual Startup Time": 243.468, "Actual Total Time": 243.559, "Actual Rows": 1, "Actual Loops": 1, "Output": ["avg(customer_1.c_acctbal)"], "Plans": [{"Node Type": "Gather", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 46700.55, "Total Cost": 46700.96, "Plan Rows": 4, "Plan Width": 32, "Actual Startup Time": 243.391, "Actual Total Time": 243.544, "Actual Rows": 5, "Actual Loops": 1, "Output": ["(PARTIAL avg(customer_1.c_acctbal))"], "Workers Planned": 4, "Workers Launched": 4, "Single Copy": false, "Plans": [{"Node Type": "Aggregate", "Strategy": "Plain", "Partial Mode": "Partial", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 45700.55, "Total Cost": 45700.56, "Plan Rows": 1, "Plan Width": 32, "Actual Startup Time": 239.795, "Actual Total Time": 239.795, "Actual Rows": 1, "Actual Loops": 5, "Output": ["PARTIAL avg(customer_1.c_acctbal)"], "Workers": [{"Worker Number": 0, "Actual Startup Time": 238.972, "Actual Total Time": 238.973, "Actual Rows": 1, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 238.989, "Actual Total Time": 238.99, "Actual Rows": 1, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 238.965, "Actual Total Time": 238.966, "Actual Rows": 1, "Actual Loops": 1}, {"Worker Number": 3, "Actual Startup Time": 238.979, "Actual Total Time": 238.98, "Actual Rows": 1, "Actual Loops": 1}], "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": true, "Relation Name": "customer", "Schema": "public", "Alias": "customer_1", "Startup Cost": 0.0, "Total Cost": 45670.75, "Plan Rows": 11918, "Plan Width": 6, "Actual Startup Time": 0.036, "Actual Total Time": 230.343, "Actual Rows": 76349, "Actual Loops": 5, "Output": ["customer_1.c_custkey", "customer_1.c_name", "customer_1.c_address", "customer_1.c_nationkey", "customer_1.c_phone", "customer_1.c_acctbal", "customer_1.c_mktsegment", "customer_1.c_comment"], "Filter": "((customer_1.c_acctbal > 0.00) AND (\"substring\"((customer_1.c_phone)::text, 1, 2) = ANY ('{17,20,25,31,30,11,33}'::text[])))", "Rows Removed by Filter": 223651, "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.046, "Actual Total Time": 229.71, "Actual Rows": 74521, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 0.043, "Actual Total Time": 229.669, "Actual Rows": 74725, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 0.039, "Actual Total Time": 229.73, "Actual Rows": 74108, "Actual Loops": 1}, {"Worker Number": 3, "Actual Startup Time": 0.039, "Actual Total Time": 229.711, "Actual Rows": 74380, "Actual Loops": 1}]}]}]}]}, {"Node Type": "Gather Merge", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 49195.68, "Total Cost": 50120.91, "Plan Rows": 7344, "Plan Width": 72, "Actual Startup Time": 587.51, "Actual Total Time": 615.216, "Actual Rows": 35, "Actual Loops": 1, "Output": ["(\"substring\"((customer.c_phone)::text, 1, 2))", "(PARTIAL count(*))", "(PARTIAL sum(customer.c_acctbal))"], "Workers Planned": 4, "Params Evaluated": ["$1"], "Workers Launched": 4, "Plans": [{"Node Type": "Aggregate", "Strategy": "Sorted", "Partial Mode": "Partial", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 48195.63, "Total Cost": 48246.12, "Plan Rows": 1836, "Plan Width": 72, "Actual Startup Time": 339.113, "Actual Total Time": 342.034, "Actual Rows": 7, "Actual Loops": 5, "Output": ["(\"substring\"((customer.c_phone)::text, 1, 2))", "PARTIAL count(*)", "PARTIAL sum(customer.c_acctbal)"], "Group Key": ["(\"substring\"((customer.c_phone)::text, 1, 2))"], "Workers": [{"Worker Number": 0, "Actual Startup Time": 336.824, "Actual Total Time": 339.274, "Actual Rows": 7, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 338.561, "Actual Total Time": 341.463, "Actual Rows": 7, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 338.46, "Actual Total Time": 341.361, "Actual Rows": 7, "Actual Loops": 1}, {"Worker Number": 3, "Actual Startup Time": 338.502, "Actual Total Time": 341.406, "Actual Rows": 7, "Actual Loops": 1}], "Plans": [{"Node Type": "Sort", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 48195.63, "Total Cost": 48200.22, "Plan Rows": 1836, "Plan Width": 38, "Actual Startup Time": 338.624, "Actual Total Time": 339.346, "Actual Rows": 12806, "Actual Loops": 5, "Output": ["(\"substring\"((customer.c_phone)::text, 1, 2))", "customer.c_acctbal"], "Sort Key": ["(\"substring\"((customer.c_phone)::text, 1, 2))"], "Sort Method": "quicksort", "Sort Space Used": 1082, "Sort Space Type": "Memory", "Workers": [{"Worker Number": 0, "Actual Startup Time": 336.403, "Actual Total Time": 337.006, "Actual Rows": 10814, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 338.063, "Actual Total Time": 338.78, "Actual Rows": 12867, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 337.988, "Actual Total Time": 338.702, "Actual Rows": 12720, "Actual Loops": 1}, {"Worker Number": 3, "Actual Startup Time": 338.032, "Actual Total Time": 338.746, "Actual Rows": 12744, "Actual Loops": 1}], "Plans": [{"Node Type": "Nested Loop", "Parent Relationship": "Outer", "Parallel Aware": false, "Join Type": "Anti", "Startup Cost": 0.43, "Total Cost": 48096.09, "Plan Rows": 1836, "Plan Width": 38, "Actual Startup Time": 0.106, "Actual Total Time": 333.914, "Actual Rows": 12806, "Actual Loops": 5, "Output": ["\"substring\"((customer.c_phone)::text, 1, 2)", "customer.c_acctbal"], "Inner Unique": false, "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.144, "Actual Total Time": 332.211, "Actual Rows": 10814, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 0.129, "Actual Total Time": 333.105, "Actual Rows": 12867, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 0.104, "Actual Total Time": 333.224, "Actual Rows": 12720, "Actual Loops": 1}, {"Worker Number": 3, "Actual Startup Time": 0.126, "Actual Total Time": 333.218, "Actual Rows": 12744, "Actual Loops": 1}], "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": true, "Relation Name": "customer", "Schema": "public", "Alias": "customer", "Startup Cost": 0.0, "Total Cost": 45670.75, "Plan Rows": 4375, "Plan Width": 26, "Actual Startup Time": 0.032, "Actual Total Time": 178.333, "Actual Rows": 38175, "Actual Loops": 5, "Output": ["customer.c_custkey", "customer.c_name", "customer.c_address", "customer.c_nationkey", "customer.c_phone", "customer.c_acctbal", "customer.c_mktsegment", "customer.c_comment"], "Filter": "((customer.c_acctbal > $1) AND (\"substring\"((customer.c_phone)::text, 1, 2) = ANY ('{17,20,25,31,30,11,33}'::text[])))", "Rows Removed by Filter": 261825, "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.04, "Actual Total Time": 166.364, "Actual Rows": 31695, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 0.046, "Actual Total Time": 179.301, "Actual Rows": 38108, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 0.037, "Actual Total Time": 179.436, "Actual Rows": 38205, "Actual Loops": 1}, {"Worker Number": 3, "Actual Startup Time": 0.031, "Actual Total Time": 179.595, "Actual Rows": 38269, "Actual Loops": 1}]}, {"Node Type": "Index Only Scan", "Parent Relationship": "Inner", "Parallel Aware": false, "Scan Direction": "Forward", "Index Name": "o_ck", "Relation Name": "orders", "Schema": "public", "Alias": "orders", "Startup Cost": 0.43, "Total Cost": 1.64, "Plan Rows": 17, "Plan Width": 4, "Actual Startup Time": 0.004, "Actual Total Time": 0.004, "Actual Rows": 1, "Actual Loops": 190873, "Output": ["orders.o_custkey"], "Index Cond": "(orders.o_custkey = customer.c_custkey)", "Rows Removed by Index Recheck": 0, "Heap Fetches": 0, "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.005, "Actual Total Time": 0.005, "Actual Rows": 1, "Actual Loops": 31695}, {"Worker Number": 1, "Actual Startup Time": 0.004, "Actual Total Time": 0.004, "Actual Rows": 1, "Actual Loops": 38108}, {"Worker Number": 2, "Actual Startup Time": 0.004, "Actual Total Time": 0.004, "Actual Rows": 1, "Actual Loops": 38205}, {"Worker Number": 3, "Actual Startup Time": 0.004, "Actual Total Time": 0.004, "Actual Rows": 1, "Actual Loops": 38269}]}]}]}]}]}]}, "Planning Time": 0.403, "Triggers": [], "Execution Time": 615.424} diff --git a/dev9/pg12/tpch/sf_10/explain_analyze/15721/3-1.ok b/dev9/pg12/tpch/sf_10/explain_analyze/15721/3-1.ok new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/dev9/pg12/tpch/sf_10/explain_analyze/15721/3-1.res b/dev9/pg12/tpch/sf_10/explain_analyze/15721/3-1.res new file mode 100644 index 0000000000000000000000000000000000000000..42499e61a60fd66713ca89f981de9463cd28de53 --- /dev/null +++ b/dev9/pg12/tpch/sf_10/explain_analyze/15721/3-1.res @@ -0,0 +1 @@ +{"Plan": {"Node Type": "Limit", "Parallel Aware": false, "Startup Cost": 1378977.12, "Total Cost": 1378977.14, "Plan Rows": 10, "Plan Width": 44, "Actual Startup Time": 6978.406, "Actual Total Time": 7677.293, "Actual Rows": 10, "Actual Loops": 1, "Output": ["lineitem.l_orderkey", "(sum((lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount))))", "orders.o_orderdate", "orders.o_shippriority"], "Plans": [{"Node Type": "Sort", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 1378977.12, "Total Cost": 1386913.03, "Plan Rows": 3174365, "Plan Width": 44, "Actual Startup Time": 6978.404, "Actual Total Time": 7677.29, "Actual Rows": 10, "Actual Loops": 1, "Output": ["lineitem.l_orderkey", "(sum((lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount))))", "orders.o_orderdate", "orders.o_shippriority"], "Sort Key": ["(sum((lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount)))) DESC", "orders.o_orderdate"], "Sort Method": "top-N heapsort", "Sort Space Used": 26, "Sort Space Type": "Memory", "Plans": [{"Node Type": "Aggregate", "Strategy": "Sorted", "Partial Mode": "Finalize", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 829116.03, "Total Cost": 1310380.23, "Plan Rows": 3174365, "Plan Width": 44, "Actual Startup Time": 6764.508, "Actual Total Time": 7650.86, "Actual Rows": 113340, "Actual Loops": 1, "Output": ["lineitem.l_orderkey", "sum((lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount)))", "orders.o_orderdate", "orders.o_shippriority"], "Group Key": ["lineitem.l_orderkey", "orders.o_orderdate", "orders.o_shippriority"], "Plans": [{"Node Type": "Gather Merge", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 829116.03, "Total Cost": 1231021.12, "Plan Rows": 3174364, "Plan Width": 44, "Actual Startup Time": 6764.495, "Actual Total Time": 7553.488, "Actual Rows": 113340, "Actual Loops": 1, "Output": ["lineitem.l_orderkey", "orders.o_orderdate", "orders.o_shippriority", "(PARTIAL sum((lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount))))"], "Workers Planned": 4, "Workers Launched": 4, "Plans": [{"Node Type": "Aggregate", "Strategy": "Sorted", "Partial Mode": "Partial", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 828115.98, "Total Cost": 851923.71, "Plan Rows": 793591, "Plan Width": 44, "Actual Startup Time": 6757.43, "Actual Total Time": 6813.567, "Actual Rows": 22668, "Actual Loops": 5, "Output": ["lineitem.l_orderkey", "orders.o_orderdate", "orders.o_shippriority", "PARTIAL sum((lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount)))"], "Group Key": ["lineitem.l_orderkey", "orders.o_orderdate", "orders.o_shippriority"], "Workers": [{"Worker Number": 0, "Actual Startup Time": 6754.086, "Actual Total Time": 6803.124, "Actual Rows": 19803, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 6757.543, "Actual Total Time": 6816.62, "Actual Rows": 24028, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 6757.181, "Actual Total Time": 6815.938, "Actual Rows": 23720, "Actual Loops": 1}, {"Worker Number": 3, "Actual Startup Time": 6754.277, "Actual Total Time": 6803.52, "Actual Rows": 19734, "Actual Loops": 1}], "Plans": [{"Node Type": "Sort", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 828115.98, "Total Cost": 830099.95, "Plan Rows": 793591, "Plan Width": 24, "Actual Startup Time": 6757.404, "Actual Total Time": 6763.912, "Actual Rows": 59750, "Actual Loops": 5, "Output": ["lineitem.l_orderkey", "orders.o_orderdate", "orders.o_shippriority", "lineitem.l_extendedprice", "lineitem.l_discount"], "Sort Key": ["lineitem.l_orderkey", "orders.o_orderdate", "orders.o_shippriority"], "Sort Method": "quicksort", "Sort Space Used": 8438, "Sort Space Type": "Memory", "Workers": [{"Worker Number": 0, "Actual Startup Time": 6754.052, "Actual Total Time": 6759.691, "Actual Rows": 52007, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 6757.517, "Actual Total Time": 6764.402, "Actual Rows": 63149, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 6757.158, "Actual Total Time": 6764.123, "Actual Rows": 62745, "Actual Loops": 1}, {"Worker Number": 3, "Actual Startup Time": 6754.248, "Actual Total Time": 6760.005, "Actual Rows": 52168, "Actual Loops": 1}], "Plans": [{"Node Type": "Nested Loop", "Parent Relationship": "Outer", "Parallel Aware": false, "Join Type": "Inner", "Startup Cost": 1.0, "Total Cost": 740819.35, "Plan Rows": 793591, "Plan Width": 24, "Actual Startup Time": 2.657, "Actual Total Time": 6721.175, "Actual Rows": 59750, "Actual Loops": 5, "Output": ["lineitem.l_orderkey", "orders.o_orderdate", "orders.o_shippriority", "lineitem.l_extendedprice", "lineitem.l_discount"], "Inner Unique": false, "Workers": [{"Worker Number": 0, "Actual Startup Time": 1.501, "Actual Total Time": 6719.164, "Actual Rows": 52007, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 5.289, "Actual Total Time": 6721.289, "Actual Rows": 63149, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 3.174, "Actual Total Time": 6721.086, "Actual Rows": 62745, "Actual Loops": 1}, {"Worker Number": 3, "Actual Startup Time": 1.45, "Actual Total Time": 6719.109, "Actual Rows": 52168, "Actual Loops": 1}], "Plans": [{"Node Type": "Nested Loop", "Parent Relationship": "Outer", "Parallel Aware": false, "Join Type": "Inner", "Startup Cost": 0.43, "Total Cost": 188151.93, "Plan Rows": 368804, "Plan Width": 12, "Actual Startup Time": 0.134, "Actual Total Time": 1327.868, "Actual Rows": 292930, "Actual Loops": 5, "Output": ["orders.o_orderdate", "orders.o_shippriority", "orders.o_orderkey"], "Inner Unique": false, "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.154, "Actual Total Time": 1321.57, "Actual Rows": 256670, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 0.165, "Actual Total Time": 1335.497, "Actual Rows": 310688, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 0.185, "Actual Total Time": 1330.674, "Actual Rows": 305697, "Actual Loops": 1}, {"Worker Number": 3, "Actual Startup Time": 0.14, "Actual Total Time": 1346.697, "Actual Rows": 254641, "Actual Loops": 1}], "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": true, "Relation Name": "customer", "Schema": "public", "Alias": "customer", "Startup Cost": 0.0, "Total Cost": 40514.5, "Plan Rows": 75510, "Plan Width": 4, "Actual Startup Time": 0.029, "Actual Total Time": 109.564, "Actual Rows": 59899, "Actual Loops": 5, "Output": ["customer.c_custkey", "customer.c_name", "customer.c_address", "customer.c_nationkey", "customer.c_phone", "customer.c_acctbal", "customer.c_mktsegment", "customer.c_comment"], "Filter": "(customer.c_mktsegment = 'FURNITURE'::bpchar)", "Rows Removed by Filter": 240101, "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.037, "Actual Total Time": 113.386, "Actual Rows": 52399, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 0.035, "Actual Total Time": 108.616, "Actual Rows": 63443, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 0.031, "Actual Total Time": 108.518, "Actual Rows": 62418, "Actual Loops": 1}, {"Worker Number": 3, "Actual Startup Time": 0.036, "Actual Total Time": 114.733, "Actual Rows": 52303, "Actual Loops": 1}]}, {"Node Type": "Index Scan", "Parent Relationship": "Inner", "Parallel Aware": false, "Scan Direction": "Forward", "Index Name": "o_ck", "Relation Name": "orders", "Schema": "public", "Alias": "orders", "Startup Cost": 0.43, "Total Cost": 1.88, "Plan Rows": 8, "Plan Width": 16, "Actual Startup Time": 0.005, "Actual Total Time": 0.019, "Actual Rows": 5, "Actual Loops": 299496, "Output": ["orders.o_orderkey", "orders.o_custkey", "orders.o_orderstatus", "orders.o_totalprice", "orders.o_orderdate", "orders.o_orderpriority", "orders.o_clerk", "orders.o_shippriority", "orders.o_comment"], "Index Cond": "(orders.o_custkey = customer.c_custkey)", "Rows Removed by Index Recheck": 0, "Filter": "(orders.o_orderdate < '1995-03-20'::date)", "Rows Removed by Filter": 5, "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.006, "Actual Total Time": 0.021, "Actual Rows": 5, "Actual Loops": 52399}, {"Worker Number": 1, "Actual Startup Time": 0.005, "Actual Total Time": 0.018, "Actual Rows": 5, "Actual Loops": 63443}, {"Worker Number": 2, "Actual Startup Time": 0.005, "Actual Total Time": 0.018, "Actual Rows": 5, "Actual Loops": 62418}, {"Worker Number": 3, "Actual Startup Time": 0.006, "Actual Total Time": 0.022, "Actual Rows": 5, "Actual Loops": 52303}]}]}, {"Node Type": "Index Scan", "Parent Relationship": "Inner", "Parallel Aware": false, "Scan Direction": "Forward", "Index Name": "lineitem_pkey", "Relation Name": "lineitem", "Schema": "public", "Alias": "lineitem", "Startup Cost": 0.56, "Total Cost": 1.34, "Plan Rows": 16, "Plan Width": 16, "Actual Startup Time": 0.018, "Actual Total Time": 0.018, "Actual Rows": 0, "Actual Loops": 1464651, "Output": ["lineitem.l_orderkey", "lineitem.l_partkey", "lineitem.l_suppkey", "lineitem.l_linenumber", "lineitem.l_quantity", "lineitem.l_extendedprice", "lineitem.l_discount", "lineitem.l_tax", "lineitem.l_returnflag", "lineitem.l_linestatus", "lineitem.l_shipdate", "lineitem.l_commitdate", "lineitem.l_receiptdate", "lineitem.l_shipinstruct", "lineitem.l_shipmode", "lineitem.l_comment"], "Index Cond": "(lineitem.l_orderkey = orders.o_orderkey)", "Rows Removed by Index Recheck": 0, "Filter": "(lineitem.l_shipdate > '1995-03-20'::date)", "Rows Removed by Filter": 4, "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.02, "Actual Total Time": 0.021, "Actual Rows": 0, "Actual Loops": 256670}, {"Worker Number": 1, "Actual Startup Time": 0.017, "Actual Total Time": 0.017, "Actual Rows": 0, "Actual Loops": 310688}, {"Worker Number": 2, "Actual Startup Time": 0.017, "Actual Total Time": 0.017, "Actual Rows": 0, "Actual Loops": 305697}, {"Worker Number": 3, "Actual Startup Time": 0.021, "Actual Total Time": 0.021, "Actual Rows": 0, "Actual Loops": 254641}]}]}]}]}]}]}]}]}, "Planning Time": 0.823, "Triggers": [], "Execution Time": 7677.364} diff --git a/dev9/pg12/tpch/sf_10/explain_analyze/15721/4-1.ok b/dev9/pg12/tpch/sf_10/explain_analyze/15721/4-1.ok new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/dev9/pg12/tpch/sf_10/explain_analyze/15721/4-1.res b/dev9/pg12/tpch/sf_10/explain_analyze/15721/4-1.res new file mode 100644 index 0000000000000000000000000000000000000000..15cc559a969416d414f9a060d430303dc65cfbeb --- /dev/null +++ b/dev9/pg12/tpch/sf_10/explain_analyze/15721/4-1.res @@ -0,0 +1 @@ +{"Plan": {"Node Type": "Aggregate", "Strategy": "Sorted", "Partial Mode": "Finalize", "Parallel Aware": false, "Startup Cost": 343816.4, "Total Cost": 343916.51, "Plan Rows": 5, "Plan Width": 24, "Actual Startup Time": 1077.365, "Actual Total Time": 1444.126, "Actual Rows": 5, "Actual Loops": 1, "Output": ["orders.o_orderpriority", "count(*)"], "Group Key": ["orders.o_orderpriority"], "Plans": [{"Node Type": "Gather Merge", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 343816.4, "Total Cost": 343916.31, "Plan Rows": 30, "Plan Width": 24, "Actual Startup Time": 1072.504, "Actual Total Time": 1444.108, "Actual Rows": 35, "Actual Loops": 1, "Output": ["orders.o_orderpriority", "(PARTIAL count(*))"], "Workers Planned": 6, "Workers Launched": 6, "Plans": [{"Node Type": "Aggregate", "Strategy": "Sorted", "Partial Mode": "Partial", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 342816.3, "Total Cost": 342912.57, "Plan Rows": 5, "Plan Width": 24, "Actual Startup Time": 1056.128, "Actual Total Time": 1067.85, "Actual Rows": 5, "Actual Loops": 7, "Output": ["orders.o_orderpriority", "PARTIAL count(*)"], "Group Key": ["orders.o_orderpriority"], "Workers": [{"Worker Number": 0, "Actual Startup Time": 1052.866, "Actual Total Time": 1063.427, "Actual Rows": 5, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 1052.939, "Actual Total Time": 1063.535, "Actual Rows": 5, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 1053.53, "Actual Total Time": 1064.453, "Actual Rows": 5, "Actual Loops": 1}, {"Worker Number": 3, "Actual Startup Time": 1054.905, "Actual Total Time": 1065.937, "Actual Rows": 5, "Actual Loops": 1}, {"Worker Number": 4, "Actual Startup Time": 1054.795, "Actual Total Time": 1065.687, "Actual Rows": 5, "Actual Loops": 1}, {"Worker Number": 5, "Actual Startup Time": 1051.818, "Actual Total Time": 1061.588, "Actual Rows": 5, "Actual Loops": 1}], "Plans": [{"Node Type": "Sort", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 342816.3, "Total Cost": 342848.37, "Plan Rows": 12829, "Plan Width": 16, "Actual Startup Time": 1053.193, "Actual Total Time": 1057.522, "Actual Rows": 74276, "Actual Loops": 7, "Output": ["orders.o_orderpriority"], "Sort Key": ["orders.o_orderpriority"], "Sort Method": "quicksort", "Sort Space Used": 8431, "Sort Space Type": "Memory", "Workers": [{"Worker Number": 0, "Actual Startup Time": 1050.234, "Actual Total Time": 1054.108, "Actual Rows": 68602, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 1050.298, "Actual Total Time": 1054.205, "Actual Rows": 68782, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 1050.784, "Actual Total Time": 1054.751, "Actual Rows": 69064, "Actual Loops": 1}, {"Worker Number": 3, "Actual Startup Time": 1052.152, "Actual Total Time": 1056.197, "Actual Rows": 69038, "Actual Loops": 1}, {"Worker Number": 4, "Actual Startup Time": 1051.982, "Actual Total Time": 1055.992, "Actual Rows": 68441, "Actual Loops": 1}, {"Worker Number": 5, "Actual Startup Time": 1049.34, "Actual Total Time": 1052.881, "Actual Rows": 61693, "Actual Loops": 1}], "Plans": [{"Node Type": "Nested Loop", "Parent Relationship": "Outer", "Parallel Aware": false, "Join Type": "Semi", "Startup Cost": 7495.51, "Total Cost": 341940.91, "Plan Rows": 12829, "Plan Width": 16, "Actual Startup Time": 199.835, "Actual Total Time": 1026.084, "Actual Rows": 74276, "Actual Loops": 7, "Output": ["orders.o_orderpriority"], "Inner Unique": false, "Workers": [{"Worker Number": 0, "Actual Startup Time": 199.847, "Actual Total Time": 1026.14, "Actual Rows": 68602, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 199.86, "Actual Total Time": 1026.142, "Actual Rows": 68782, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 199.847, "Actual Total Time": 1025.925, "Actual Rows": 69064, "Actual Loops": 1}, {"Worker Number": 3, "Actual Startup Time": 199.869, "Actual Total Time": 1026.007, "Actual Rows": 69038, "Actual Loops": 1}, {"Worker Number": 4, "Actual Startup Time": 199.87, "Actual Total Time": 1026.065, "Actual Rows": 68441, "Actual Loops": 1}, {"Worker Number": 5, "Actual Startup Time": 199.874, "Actual Total Time": 1026.854, "Actual Rows": 61693, "Actual Loops": 1}], "Plans": [{"Node Type": "Bitmap Heap Scan", "Parent Relationship": "Outer", "Parallel Aware": true, "Relation Name": "orders", "Schema": "public", "Alias": "orders", "Startup Cost": 7494.95, "Total Cost": 269818.75, "Plan Rows": 94120, "Plan Width": 20, "Actual Startup Time": 199.732, "Actual Total Time": 392.511, "Actual Rows": 81014, "Actual Loops": 7, "Output": ["orders.o_orderkey", "orders.o_custkey", "orders.o_orderstatus", "orders.o_totalprice", "orders.o_orderdate", "orders.o_orderpriority", "orders.o_clerk", "orders.o_shippriority", "orders.o_comment"], "Recheck Cond": "((orders.o_orderdate >= '1996-01-01'::date) AND (orders.o_orderdate < '1996-04-01 00:00:00'::timestamp without time zone))", "Rows Removed by Index Recheck": 0, "Exact Heap Blocks": 51300, "Lossy Heap Blocks": 0, "Workers": [{"Worker Number": 0, "Actual Startup Time": 199.721, "Actual Total Time": 396.879, "Actual Rows": 74709, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 199.757, "Actual Total Time": 396.771, "Actual Rows": 75067, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 199.728, "Actual Total Time": 396.923, "Actual Rows": 75380, "Actual Loops": 1}, {"Worker Number": 3, "Actual Startup Time": 199.766, "Actual Total Time": 396.646, "Actual Rows": 75264, "Actual Loops": 1}, {"Worker Number": 4, "Actual Startup Time": 199.769, "Actual Total Time": 397.744, "Actual Rows": 74591, "Actual Loops": 1}, {"Worker Number": 5, "Actual Startup Time": 199.743, "Actual Total Time": 397.903, "Actual Rows": 67225, "Actual Loops": 1}], "Plans": [{"Node Type": "Bitmap Index Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Index Name": "o_od", "Startup Cost": 0.0, "Total Cost": 7353.77, "Plan Rows": 564723, "Plan Width": 0, "Actual Startup Time": 117.085, "Actual Total Time": 117.085, "Actual Rows": 567099, "Actual Loops": 1, "Index Cond": "((orders.o_orderdate >= '1996-01-01'::date) AND (orders.o_orderdate < '1996-04-01 00:00:00'::timestamp without time zone))"}]}, {"Node Type": "Index Scan", "Parent Relationship": "Inner", "Parallel Aware": false, "Scan Direction": "Forward", "Index Name": "l_ok", "Relation Name": "lineitem", "Schema": "public", "Alias": "lineitem", "Startup Cost": 0.56, "Total Cost": 2.34, "Plan Rows": 10, "Plan Width": 4, "Actual Startup Time": 0.007, "Actual Total Time": 0.007, "Actual Rows": 1, "Actual Loops": 567099, "Output": ["lineitem.l_orderkey", "lineitem.l_partkey", "lineitem.l_suppkey", "lineitem.l_linenumber", "lineitem.l_quantity", "lineitem.l_extendedprice", "lineitem.l_discount", "lineitem.l_tax", "lineitem.l_returnflag", "lineitem.l_linestatus", "lineitem.l_shipdate", "lineitem.l_commitdate", "lineitem.l_receiptdate", "lineitem.l_shipinstruct", "lineitem.l_shipmode", "lineitem.l_comment"], "Index Cond": "(lineitem.l_orderkey = orders.o_orderkey)", "Rows Removed by Index Recheck": 0, "Filter": "(lineitem.l_commitdate < lineitem.l_receiptdate)", "Rows Removed by Filter": 1, "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.008, "Actual Total Time": 0.008, "Actual Rows": 1, "Actual Loops": 74709}, {"Worker Number": 1, "Actual Startup Time": 0.008, "Actual Total Time": 0.008, "Actual Rows": 1, "Actual Loops": 75067}, {"Worker Number": 2, "Actual Startup Time": 0.008, "Actual Total Time": 0.008, "Actual Rows": 1, "Actual Loops": 75380}, {"Worker Number": 3, "Actual Startup Time": 0.008, "Actual Total Time": 0.008, "Actual Rows": 1, "Actual Loops": 75264}, {"Worker Number": 4, "Actual Startup Time": 0.008, "Actual Total Time": 0.008, "Actual Rows": 1, "Actual Loops": 74591}, {"Worker Number": 5, "Actual Startup Time": 0.009, "Actual Total Time": 0.009, "Actual Rows": 1, "Actual Loops": 67225}]}]}]}]}]}]}, "Planning Time": 0.459, "Triggers": [], "Execution Time": 1444.196} diff --git a/dev9/pg12/tpch/sf_10/explain_analyze/15721/5-1.ok b/dev9/pg12/tpch/sf_10/explain_analyze/15721/5-1.ok new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/dev9/pg12/tpch/sf_10/explain_analyze/15721/5-1.res b/dev9/pg12/tpch/sf_10/explain_analyze/15721/5-1.res new file mode 100644 index 0000000000000000000000000000000000000000..810bfb36a87b9931eea77ee1f2b86009e59dc026 --- /dev/null +++ b/dev9/pg12/tpch/sf_10/explain_analyze/15721/5-1.res @@ -0,0 +1 @@ +{"Plan": {"Node Type": "Sort", "Parallel Aware": false, "Startup Cost": 357309.08, "Total Cost": 357309.15, "Plan Rows": 25, "Plan Width": 58, "Actual Startup Time": 2251.592, "Actual Total Time": 2446.891, "Actual Rows": 5, "Actual Loops": 1, "Output": ["nation.n_name", "(sum((lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount))))"], "Sort Key": ["(sum((lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount)))) DESC"], "Sort Method": "quicksort", "Sort Space Used": 25, "Sort Space Type": "Memory", "Plans": [{"Node Type": "Aggregate", "Strategy": "Sorted", "Partial Mode": "Finalize", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 357066.86, "Total Cost": 357308.5, "Plan Rows": 25, "Plan Width": 58, "Actual Startup Time": 2244.902, "Actual Total Time": 2446.881, "Actual Rows": 5, "Actual Loops": 1, "Output": ["nation.n_name", "sum((lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount)))"], "Group Key": ["nation.n_name"], "Plans": [{"Node Type": "Gather Merge", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 357066.86, "Total Cost": 357307.44, "Plan Rows": 100, "Plan Width": 58, "Actual Startup Time": 2242.777, "Actual Total Time": 2446.848, "Actual Rows": 25, "Actual Loops": 1, "Output": ["nation.n_name", "(PARTIAL sum((lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount))))"], "Workers Planned": 4, "Workers Launched": 4, "Plans": [{"Node Type": "Aggregate", "Strategy": "Sorted", "Partial Mode": "Partial", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 356066.8, "Total Cost": 356295.47, "Plan Rows": 25, "Plan Width": 58, "Actual Startup Time": 2237.523, "Actual Total Time": 2244.375, "Actual Rows": 5, "Actual Loops": 5, "Output": ["nation.n_name", "PARTIAL sum((lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount)))"], "Group Key": ["nation.n_name"], "Workers": [{"Worker Number": 0, "Actual Startup Time": 2236.176, "Actual Total Time": 2242.697, "Actual Rows": 5, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 2236.762, "Actual Total Time": 2243.332, "Actual Rows": 5, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 2236.175, "Actual Total Time": 2242.471, "Actual Rows": 5, "Actual Loops": 1}, {"Worker Number": 3, "Actual Startup Time": 2236.28, "Actual Total Time": 2242.722, "Actual Rows": 5, "Actual Loops": 1}], "Plans": [{"Node Type": "Sort", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 356066.8, "Total Cost": 356112.47, "Plan Rows": 18269, "Plan Width": 38, "Actual Startup Time": 2235.803, "Actual Total Time": 2236.706, "Actual Rows": 14545, "Actual Loops": 5, "Output": ["nation.n_name", "lineitem.l_extendedprice", "lineitem.l_discount"], "Sort Key": ["nation.n_name"], "Sort Method": "quicksort", "Sort Space Used": 2157, "Sort Space Type": "Memory", "Workers": [{"Worker Number": 0, "Actual Startup Time": 2234.511, "Actual Total Time": 2235.37, "Actual Rows": 13915, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 2235.145, "Actual Total Time": 2236.008, "Actual Rows": 13915, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 2234.556, "Actual Total Time": 2235.379, "Actual Rows": 13463, "Actual Loops": 1}, {"Worker Number": 3, "Actual Startup Time": 2234.688, "Actual Total Time": 2235.533, "Actual Rows": 13654, "Actual Loops": 1}], "Plans": [{"Node Type": "Hash Join", "Parent Relationship": "Outer", "Parallel Aware": true, "Join Type": "Inner", "Startup Cost": 3690.1, "Total Cost": 354773.62, "Plan Rows": 18269, "Plan Width": 38, "Actual Startup Time": 15.342, "Actual Total Time": 2228.772, "Actual Rows": 14545, "Actual Loops": 5, "Output": ["nation.n_name", "lineitem.l_extendedprice", "lineitem.l_discount"], "Inner Unique": true, "Hash Cond": "((lineitem.l_suppkey = supplier.s_suppkey) AND (customer.c_nationkey = supplier.s_nationkey))", "Workers": [{"Worker Number": 0, "Actual Startup Time": 14.623, "Actual Total Time": 2227.709, "Actual Rows": 13915, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 14.102, "Actual Total Time": 2228.099, "Actual Rows": 13915, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 15.217, "Actual Total Time": 2227.909, "Actual Rows": 13463, "Actual Loops": 1}, {"Worker Number": 3, "Actual Startup Time": 14.368, "Actual Total Time": 2227.698, "Actual Rows": 13654, "Actual Loops": 1}], "Plans": [{"Node Type": "Nested Loop", "Parent Relationship": "Outer", "Parallel Aware": false, "Join Type": "Inner", "Startup Cost": 3.51, "Total Cost": 348685.23, "Plan Rows": 457484, "Plan Width": 50, "Actual Startup Time": 0.301, "Actual Total Time": 2120.67, "Actual Rows": 363271, "Actual Loops": 5, "Output": ["customer.c_nationkey", "lineitem.l_extendedprice", "lineitem.l_discount", "lineitem.l_suppkey", "nation.n_name", "nation.n_nationkey"], "Inner Unique": false, "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.321, "Actual Total Time": 2124.158, "Actual Rows": 347138, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 0.349, "Actual Total Time": 2124.303, "Actual Rows": 347810, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 0.358, "Actual Total Time": 2124.966, "Actual Rows": 341010, "Actual Loops": 1}, {"Worker Number": 3, "Actual Startup Time": 0.395, "Actual Total Time": 2124.882, "Actual Rows": 339980, "Actual Loops": 1}], "Plans": [{"Node Type": "Nested Loop", "Parent Relationship": "Outer", "Parallel Aware": false, "Join Type": "Inner", "Startup Cost": 2.94, "Total Cost": 121913.54, "Plan Rows": 114404, "Plan Width": 38, "Actual Startup Time": 0.226, "Actual Total Time": 1148.454, "Actual Rows": 90894, "Actual Loops": 5, "Output": ["customer.c_nationkey", "orders.o_orderkey", "nation.n_name", "nation.n_nationkey"], "Inner Unique": false, "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.223, "Actual Total Time": 1123.953, "Actual Rows": 86902, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 0.259, "Actual Total Time": 1125.503, "Actual Rows": 86720, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 0.268, "Actual Total Time": 1128.764, "Actual Rows": 85456, "Actual Loops": 1}, {"Worker Number": 3, "Actual Startup Time": 0.313, "Actual Total Time": 1128.529, "Actual Rows": 85173, "Actual Loops": 1}], "Plans": [{"Node Type": "Hash Join", "Parent Relationship": "Outer", "Parallel Aware": false, "Join Type": "Inner", "Startup Cost": 2.51, "Total Cost": 41735.76, "Plan Rows": 75000, "Plan Width": 38, "Actual Startup Time": 0.116, "Actual Total Time": 119.288, "Actual Rows": 59887, "Actual Loops": 5, "Output": ["customer.c_custkey", "customer.c_nationkey", "nation.n_name", "nation.n_nationkey"], "Inner Unique": false, "Hash Cond": "(customer.c_nationkey = nation.n_nationkey)", "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.134, "Actual Total Time": 116.415, "Actual Rows": 56980, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 0.135, "Actual Total Time": 117.122, "Actual Rows": 57193, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 0.133, "Actual Total Time": 117.128, "Actual Rows": 56616, "Actual Loops": 1}, {"Worker Number": 3, "Actual Startup Time": 0.129, "Actual Total Time": 117.158, "Actual Rows": 56401, "Actual Loops": 1}], "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": true, "Relation Name": "customer", "Schema": "public", "Alias": "customer", "Startup Cost": 0.0, "Total Cost": 39577.0, "Plan Rows": 375000, "Plan Width": 8, "Actual Startup Time": 0.019, "Actual Total Time": 40.497, "Actual Rows": 300000, "Actual Loops": 5, "Output": ["customer.c_custkey", "customer.c_name", "customer.c_address", "customer.c_nationkey", "customer.c_phone", "customer.c_acctbal", "customer.c_mktsegment", "customer.c_comment"], "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.023, "Actual Total Time": 41.288, "Actual Rows": 284537, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 0.022, "Actual Total Time": 41.418, "Actual Rows": 286143, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 0.025, "Actual Total Time": 41.368, "Actual Rows": 283913, "Actual Loops": 1}, {"Worker Number": 3, "Actual Startup Time": 0.023, "Actual Total Time": 41.871, "Actual Rows": 284636, "Actual Loops": 1}]}, {"Node Type": "Hash", "Parent Relationship": "Inner", "Parallel Aware": false, "Startup Cost": 2.45, "Total Cost": 2.45, "Plan Rows": 5, "Plan Width": 30, "Actual Startup Time": 0.077, "Actual Total Time": 0.079, "Actual Rows": 5, "Actual Loops": 5, "Output": ["nation.n_name", "nation.n_nationkey"], "Hash Buckets": 1024, "Original Hash Buckets": 1024, "Hash Batches": 1, "Original Hash Batches": 1, "Peak Memory Usage": 9, "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.092, "Actual Total Time": 0.094, "Actual Rows": 5, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 0.09, "Actual Total Time": 0.092, "Actual Rows": 5, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 0.082, "Actual Total Time": 0.084, "Actual Rows": 5, "Actual Loops": 1}, {"Worker Number": 3, "Actual Startup Time": 0.088, "Actual Total Time": 0.09, "Actual Rows": 5, "Actual Loops": 1}], "Plans": [{"Node Type": "Hash Join", "Parent Relationship": "Outer", "Parallel Aware": false, "Join Type": "Inner", "Startup Cost": 1.07, "Total Cost": 2.45, "Plan Rows": 5, "Plan Width": 30, "Actual Startup Time": 0.067, "Actual Total Time": 0.075, "Actual Rows": 5, "Actual Loops": 5, "Output": ["nation.n_name", "nation.n_nationkey"], "Inner Unique": true, "Hash Cond": "(nation.n_regionkey = region.r_regionkey)", "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.081, "Actual Total Time": 0.089, "Actual Rows": 5, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 0.079, "Actual Total Time": 0.088, "Actual Rows": 5, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 0.072, "Actual Total Time": 0.08, "Actual Rows": 5, "Actual Loops": 1}, {"Worker Number": 3, "Actual Startup Time": 0.078, "Actual Total Time": 0.086, "Actual Rows": 5, "Actual Loops": 1}], "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Relation Name": "nation", "Schema": "public", "Alias": "nation", "Startup Cost": 0.0, "Total Cost": 1.25, "Plan Rows": 25, "Plan Width": 34, "Actual Startup Time": 0.019, "Actual Total Time": 0.021, "Actual Rows": 25, "Actual Loops": 5, "Output": ["nation.n_nationkey", "nation.n_name", "nation.n_regionkey", "nation.n_comment"], "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.023, "Actual Total Time": 0.026, "Actual Rows": 25, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 0.022, "Actual Total Time": 0.024, "Actual Rows": 25, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 0.019, "Actual Total Time": 0.022, "Actual Rows": 25, "Actual Loops": 1}, {"Worker Number": 3, "Actual Startup Time": 0.024, "Actual Total Time": 0.026, "Actual Rows": 25, "Actual Loops": 1}]}, {"Node Type": "Hash", "Parent Relationship": "Inner", "Parallel Aware": false, "Startup Cost": 1.06, "Total Cost": 1.06, "Plan Rows": 1, "Plan Width": 4, "Actual Startup Time": 0.03, "Actual Total Time": 0.031, "Actual Rows": 1, "Actual Loops": 5, "Output": ["region.r_regionkey"], "Hash Buckets": 1024, "Original Hash Buckets": 1024, "Hash Batches": 1, "Original Hash Batches": 1, "Peak Memory Usage": 9, "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.036, "Actual Total Time": 0.037, "Actual Rows": 1, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 0.038, "Actual Total Time": 0.038, "Actual Rows": 1, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 0.033, "Actual Total Time": 0.034, "Actual Rows": 1, "Actual Loops": 1}, {"Worker Number": 3, "Actual Startup Time": 0.034, "Actual Total Time": 0.035, "Actual Rows": 1, "Actual Loops": 1}], "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Relation Name": "region", "Schema": "public", "Alias": "region", "Startup Cost": 0.0, "Total Cost": 1.06, "Plan Rows": 1, "Plan Width": 4, "Actual Startup Time": 0.021, "Actual Total Time": 0.022, "Actual Rows": 1, "Actual Loops": 5, "Output": ["region.r_regionkey"], "Filter": "(region.r_name = 'AMERICA'::bpchar)", "Rows Removed by Filter": 4, "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.028, "Actual Total Time": 0.029, "Actual Rows": 1, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 0.026, "Actual Total Time": 0.028, "Actual Rows": 1, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 0.02, "Actual Total Time": 0.022, "Actual Rows": 1, "Actual Loops": 1}, {"Worker Number": 3, "Actual Startup Time": 0.022, "Actual Total Time": 0.023, "Actual Rows": 1, "Actual Loops": 1}]}]}]}]}]}, {"Node Type": "Index Scan", "Parent Relationship": "Inner", "Parallel Aware": false, "Scan Direction": "Forward", "Index Name": "o_ck", "Relation Name": "orders", "Schema": "public", "Alias": "orders", "Startup Cost": 0.43, "Total Cost": 1.04, "Plan Rows": 3, "Plan Width": 8, "Actual Startup Time": 0.008, "Actual Total Time": 0.017, "Actual Rows": 2, "Actual Loops": 299436, "Output": ["orders.o_orderkey", "orders.o_custkey", "orders.o_orderstatus", "orders.o_totalprice", "orders.o_orderdate", "orders.o_orderpriority", "orders.o_clerk", "orders.o_shippriority", "orders.o_comment"], "Index Cond": "(orders.o_custkey = customer.c_custkey)", "Rows Removed by Index Recheck": 0, "Filter": "((orders.o_orderdate >= '1995-01-01'::date) AND (orders.o_orderdate < '1996-01-01 00:00:00'::timestamp without time zone))", "Rows Removed by Filter": 8, "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.008, "Actual Total Time": 0.017, "Actual Rows": 2, "Actual Loops": 56980}, {"Worker Number": 1, "Actual Startup Time": 0.008, "Actual Total Time": 0.017, "Actual Rows": 2, "Actual Loops": 57193}, {"Worker Number": 2, "Actual Startup Time": 0.008, "Actual Total Time": 0.017, "Actual Rows": 2, "Actual Loops": 56616}, {"Worker Number": 3, "Actual Startup Time": 0.008, "Actual Total Time": 0.017, "Actual Rows": 2, "Actual Loops": 56401}]}]}, {"Node Type": "Index Scan", "Parent Relationship": "Inner", "Parallel Aware": false, "Scan Direction": "Forward", "Index Name": "lineitem_pkey", "Relation Name": "lineitem", "Schema": "public", "Alias": "lineitem", "Startup Cost": 0.56, "Total Cost": 1.69, "Plan Rows": 29, "Plan Width": 20, "Actual Startup Time": 0.009, "Actual Total Time": 0.01, "Actual Rows": 4, "Actual Loops": 454468, "Output": ["lineitem.l_orderkey", "lineitem.l_partkey", "lineitem.l_suppkey", "lineitem.l_linenumber", "lineitem.l_quantity", "lineitem.l_extendedprice", "lineitem.l_discount", "lineitem.l_tax", "lineitem.l_returnflag", "lineitem.l_linestatus", "lineitem.l_shipdate", "lineitem.l_commitdate", "lineitem.l_receiptdate", "lineitem.l_shipinstruct", "lineitem.l_shipmode", "lineitem.l_comment"], "Index Cond": "(lineitem.l_orderkey = orders.o_orderkey)", "Rows Removed by Index Recheck": 0, "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.009, "Actual Total Time": 0.01, "Actual Rows": 4, "Actual Loops": 86902}, {"Worker Number": 1, "Actual Startup Time": 0.009, "Actual Total Time": 0.01, "Actual Rows": 4, "Actual Loops": 86720}, {"Worker Number": 2, "Actual Startup Time": 0.01, "Actual Total Time": 0.011, "Actual Rows": 4, "Actual Loops": 85456}, {"Worker Number": 3, "Actual Startup Time": 0.01, "Actual Total Time": 0.011, "Actual Rows": 4, "Actual Loops": 85173}]}]}, {"Node Type": "Hash", "Parent Relationship": "Inner", "Parallel Aware": true, "Startup Cost": 2804.24, "Total Cost": 2804.24, "Plan Rows": 58824, "Plan Width": 8, "Actual Startup Time": 14.181, "Actual Total Time": 14.182, "Actual Rows": 20000, "Actual Loops": 5, "Output": ["supplier.s_suppkey", "supplier.s_nationkey"], "Hash Buckets": 131072, "Original Hash Buckets": 131072, "Hash Batches": 1, "Original Hash Batches": 1, "Peak Memory Usage": 4992, "Workers": [{"Worker Number": 0, "Actual Startup Time": 13.555, "Actual Total Time": 13.555, "Actual Rows": 18026, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 13.561, "Actual Total Time": 13.561, "Actual Rows": 17983, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 13.579, "Actual Total Time": 13.58, "Actual Rows": 17943, "Actual Loops": 1}, {"Worker Number": 3, "Actual Startup Time": 13.548, "Actual Total Time": 13.549, "Actual Rows": 17830, "Actual Loops": 1}], "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": true, "Relation Name": "supplier", "Schema": "public", "Alias": "supplier", "Startup Cost": 0.0, "Total Cost": 2804.24, "Plan Rows": 58824, "Plan Width": 8, "Actual Startup Time": 0.017, "Actual Total Time": 7.082, "Actual Rows": 20000, "Actual Loops": 5, "Output": ["supplier.s_suppkey", "supplier.s_nationkey"], "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.016, "Actual Total Time": 6.839, "Actual Rows": 18026, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 0.019, "Actual Total Time": 6.914, "Actual Rows": 17983, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 0.022, "Actual Total Time": 6.894, "Actual Rows": 17943, "Actual Loops": 1}, {"Worker Number": 3, "Actual Startup Time": 0.02, "Actual Total Time": 6.883, "Actual Rows": 17830, "Actual Loops": 1}]}]}]}]}]}]}]}]}, "Planning Time": 2.461, "Triggers": [], "Execution Time": 2446.977} diff --git a/dev9/pg12/tpch/sf_10/explain_analyze/15721/6-1.ok b/dev9/pg12/tpch/sf_10/explain_analyze/15721/6-1.ok new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/dev9/pg12/tpch/sf_10/explain_analyze/15721/6-1.res b/dev9/pg12/tpch/sf_10/explain_analyze/15721/6-1.res new file mode 100644 index 0000000000000000000000000000000000000000..3cb54b88e00a5956d7169ef9537063d2b3488a3f --- /dev/null +++ b/dev9/pg12/tpch/sf_10/explain_analyze/15721/6-1.res @@ -0,0 +1 @@ +{"Plan": {"Node Type": "Aggregate", "Strategy": "Plain", "Partial Mode": "Finalize", "Parallel Aware": false, "Startup Cost": 1319171.34, "Total Cost": 1319171.35, "Plan Rows": 1, "Plan Width": 32, "Actual Startup Time": 2428.147, "Actual Total Time": 2601.492, "Actual Rows": 1, "Actual Loops": 1, "Output": ["sum((l_extendedprice * l_discount))"], "Plans": [{"Node Type": "Gather", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 1319170.59, "Total Cost": 1319171.3, "Plan Rows": 7, "Plan Width": 32, "Actual Startup Time": 2428.031, "Actual Total Time": 2601.477, "Actual Rows": 8, "Actual Loops": 1, "Output": ["(PARTIAL sum((l_extendedprice * l_discount)))"], "Workers Planned": 7, "Workers Launched": 7, "Single Copy": false, "Plans": [{"Node Type": "Aggregate", "Strategy": "Plain", "Partial Mode": "Partial", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 1318170.59, "Total Cost": 1318170.6, "Plan Rows": 1, "Plan Width": 32, "Actual Startup Time": 2423.988, "Actual Total Time": 2423.989, "Actual Rows": 1, "Actual Loops": 8, "Output": ["PARTIAL sum((l_extendedprice * l_discount))"], "Workers": [{"Worker Number": 0, "Actual Startup Time": 2423.067, "Actual Total Time": 2423.069, "Actual Rows": 1, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 2423.159, "Actual Total Time": 2423.16, "Actual Rows": 1, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 2423.34, "Actual Total Time": 2423.34, "Actual Rows": 1, "Actual Loops": 1}, {"Worker Number": 3, "Actual Startup Time": 2423.678, "Actual Total Time": 2423.68, "Actual Rows": 1, "Actual Loops": 1}, {"Worker Number": 4, "Actual Startup Time": 2423.702, "Actual Total Time": 2423.703, "Actual Rows": 1, "Actual Loops": 1}, {"Worker Number": 5, "Actual Startup Time": 2423.674, "Actual Total Time": 2423.675, "Actual Rows": 1, "Actual Loops": 1}, {"Worker Number": 6, "Actual Startup Time": 2423.679, "Actual Total Time": 2423.679, "Actual Rows": 1, "Actual Loops": 1}], "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": true, "Relation Name": "lineitem", "Schema": "public", "Alias": "lineitem", "Startup Cost": 0.0, "Total Cost": 1317347.86, "Plan Rows": 164547, "Plan Width": 12, "Actual Startup Time": 0.064, "Actual Total Time": 2378.229, "Actual Rows": 143005, "Actual Loops": 8, "Output": ["l_orderkey", "l_partkey", "l_suppkey", "l_linenumber", "l_quantity", "l_extendedprice", "l_discount", "l_tax", "l_returnflag", "l_linestatus", "l_shipdate", "l_commitdate", "l_receiptdate", "l_shipinstruct", "l_shipmode", "l_comment"], "Filter": "((lineitem.l_shipdate >= '1995-01-01'::date) AND (lineitem.l_shipdate < '1996-01-01 00:00:00'::timestamp without time zone) AND (lineitem.l_discount >= 0.04) AND (lineitem.l_discount <= 0.06) AND (lineitem.l_quantity < '24'::numeric))", "Rows Removed by Filter": 7355252, "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.099, "Actual Total Time": 2378.557, "Actual Rows": 136352, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 0.033, "Actual Total Time": 2379.305, "Actual Rows": 134238, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 0.069, "Actual Total Time": 2378.741, "Actual Rows": 136673, "Actual Loops": 1}, {"Worker Number": 3, "Actual Startup Time": 0.08, "Actual Total Time": 2379.34, "Actual Rows": 135916, "Actual Loops": 1}, {"Worker Number": 4, "Actual Startup Time": 0.034, "Actual Total Time": 2380.125, "Actual Rows": 133193, "Actual Loops": 1}, {"Worker Number": 5, "Actual Startup Time": 0.088, "Actual Total Time": 2379.698, "Actual Rows": 134555, "Actual Loops": 1}, {"Worker Number": 6, "Actual Startup Time": 0.095, "Actual Total Time": 2380.131, "Actual Rows": 133249, "Actual Loops": 1}]}]}]}]}, "Planning Time": 0.166, "Triggers": [], "Execution Time": 2601.53} diff --git a/dev9/pg12/tpch/sf_10/explain_analyze/15721/7-1.ok b/dev9/pg12/tpch/sf_10/explain_analyze/15721/7-1.ok new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/dev9/pg12/tpch/sf_10/explain_analyze/15721/7-1.res b/dev9/pg12/tpch/sf_10/explain_analyze/15721/7-1.res new file mode 100644 index 0000000000000000000000000000000000000000..5b65b0207639f928d4095019fac5fe1277c46fce --- /dev/null +++ b/dev9/pg12/tpch/sf_10/explain_analyze/15721/7-1.res @@ -0,0 +1 @@ +{"Plan": {"Node Type": "Aggregate", "Strategy": "Sorted", "Partial Mode": "Finalize", "Parallel Aware": false, "Startup Cost": 245771.95, "Total Cost": 247235.87, "Plan Rows": 10096, "Plan Width": 92, "Actual Startup Time": 5465.443, "Actual Total Time": 5709.015, "Actual Rows": 4, "Actual Loops": 1, "Output": ["n1.n_name", "n2.n_name", "(date_part('year'::text, (lineitem.l_shipdate)::timestamp without time zone))", "sum((lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount)))"], "Group Key": ["n1.n_name", "n2.n_name", "(date_part('year'::text, (lineitem.l_shipdate)::timestamp without time zone))"], "Plans": [{"Node Type": "Gather Merge", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 245771.95, "Total Cost": 246932.99, "Plan Rows": 10096, "Plan Width": 92, "Actual Startup Time": 5465.43, "Actual Total Time": 5708.995, "Actual Rows": 8, "Actual Loops": 1, "Output": ["n1.n_name", "n2.n_name", "(date_part('year'::text, (lineitem.l_shipdate)::timestamp without time zone))", "(PARTIAL sum((lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount))))"], "Workers Planned": 1, "Workers Launched": 1, "Plans": [{"Node Type": "Sort", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 244771.94, "Total Cost": 244797.18, "Plan Rows": 10096, "Plan Width": 92, "Actual Startup Time": 5462.27, "Actual Total Time": 5462.279, "Actual Rows": 4, "Actual Loops": 2, "Output": ["n1.n_name", "n2.n_name", "(date_part('year'::text, (lineitem.l_shipdate)::timestamp without time zone))", "(PARTIAL sum((lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount))))"], "Sort Key": ["n1.n_name", "n2.n_name", "(date_part('year'::text, (lineitem.l_shipdate)::timestamp without time zone))"], "Sort Method": "quicksort", "Sort Space Used": 25, "Sort Space Type": "Memory", "Workers": [{"Worker Number": 0, "Actual Startup Time": 5459.602, "Actual Total Time": 5459.612, "Actual Rows": 4, "Actual Loops": 1}], "Plans": [{"Node Type": "Aggregate", "Strategy": "Hashed", "Partial Mode": "Partial", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 243923.8, "Total Cost": 244100.48, "Plan Rows": 10096, "Plan Width": 92, "Actual Startup Time": 5462.192, "Actual Total Time": 5462.243, "Actual Rows": 4, "Actual Loops": 2, "Output": ["n1.n_name", "n2.n_name", "(date_part('year'::text, (lineitem.l_shipdate)::timestamp without time zone))", "PARTIAL sum((lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount)))"], "Group Key": ["n1.n_name", "n2.n_name", "date_part('year'::text, (lineitem.l_shipdate)::timestamp without time zone)"], "Workers": [{"Worker Number": 0, "Actual Startup Time": 5459.494, "Actual Total Time": 5459.551, "Actual Rows": 4, "Actual Loops": 1}], "Plans": [{"Node Type": "Hash Join", "Parent Relationship": "Outer", "Parallel Aware": true, "Join Type": "Inner", "Startup Cost": 80253.8, "Total Cost": 243388.92, "Plan Rows": 35659, "Plan Width": 72, "Actual Startup Time": 5234.775, "Actual Total Time": 5435.685, "Actual Rows": 28896, "Actual Loops": 2, "Output": ["n1.n_name", "n2.n_name", "date_part('year'::text, (lineitem.l_shipdate)::timestamp without time zone)", "lineitem.l_extendedprice", "lineitem.l_discount"], "Inner Unique": false, "Hash Cond": "(lineitem.l_orderkey = orders.o_orderkey)", "Join Filter": "(((n1.n_name = 'IRAN'::bpchar) AND (n2.n_name = 'ETHIOPIA'::bpchar)) OR ((n1.n_name = 'ETHIOPIA'::bpchar) AND (n2.n_name = 'IRAN'::bpchar)))", "Rows Removed by Join Filter": 28926, "Workers": [{"Worker Number": 0, "Actual Startup Time": 5219.01, "Actual Total Time": 5431.746, "Actual Rows": 29975, "Actual Loops": 1}], "Plans": [{"Node Type": "Nested Loop", "Parent Relationship": "Outer", "Parallel Aware": false, "Join Type": "Inner", "Startup Cost": 1.96, "Total Cost": 142289.84, "Plan Rows": 856856, "Plan Width": 46, "Actual Startup Time": 0.11, "Actual Total Time": 3655.593, "Actual Rows": 725418, "Actual Loops": 2, "Output": ["lineitem.l_shipdate", "lineitem.l_extendedprice", "lineitem.l_discount", "lineitem.l_orderkey", "n1.n_name"], "Inner Unique": false, "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.159, "Actual Total Time": 3671.32, "Actual Rows": 673083, "Actual Loops": 1}], "Plans": [{"Node Type": "Hash Join", "Parent Relationship": "Outer", "Parallel Aware": false, "Join Type": "Inner", "Startup Cost": 1.4, "Total Cost": 2986.23, "Plan Rows": 4706, "Plan Width": 30, "Actual Startup Time": 0.04, "Actual Total Time": 22.261, "Actual Rows": 3984, "Actual Loops": 2, "Output": ["supplier.s_suppkey", "n1.n_name"], "Inner Unique": true, "Hash Cond": "(supplier.s_nationkey = n1.n_nationkey)", "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.044, "Actual Total Time": 21.729, "Actual Rows": 3699, "Actual Loops": 1}], "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": true, "Relation Name": "supplier", "Schema": "public", "Alias": "supplier", "Startup Cost": 0.0, "Total Cost": 2804.24, "Plan Rows": 58824, "Plan Width": 8, "Actual Startup Time": 0.007, "Actual Total Time": 6.151, "Actual Rows": 50000, "Actual Loops": 2, "Output": ["supplier.s_suppkey", "supplier.s_name", "supplier.s_address", "supplier.s_nationkey", "supplier.s_phone", "supplier.s_acctbal", "supplier.s_comment"], "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.011, "Actual Total Time": 6.159, "Actual Rows": 46980, "Actual Loops": 1}]}, {"Node Type": "Hash", "Parent Relationship": "Inner", "Parallel Aware": false, "Startup Cost": 1.38, "Total Cost": 1.38, "Plan Rows": 2, "Plan Width": 30, "Actual Startup Time": 0.019, "Actual Total Time": 0.02, "Actual Rows": 2, "Actual Loops": 2, "Output": ["n1.n_name", "n1.n_nationkey"], "Hash Buckets": 1024, "Original Hash Buckets": 1024, "Hash Batches": 1, "Original Hash Batches": 1, "Peak Memory Usage": 9, "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.021, "Actual Total Time": 0.022, "Actual Rows": 2, "Actual Loops": 1}], "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Relation Name": "nation", "Schema": "public", "Alias": "n1", "Startup Cost": 0.0, "Total Cost": 1.38, "Plan Rows": 2, "Plan Width": 30, "Actual Startup Time": 0.012, "Actual Total Time": 0.017, "Actual Rows": 2, "Actual Loops": 2, "Output": ["n1.n_name", "n1.n_nationkey"], "Filter": "((n1.n_name = 'IRAN'::bpchar) OR (n1.n_name = 'ETHIOPIA'::bpchar))", "Rows Removed by Filter": 23, "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.013, "Actual Total Time": 0.018, "Actual Rows": 2, "Actual Loops": 1}]}]}]}, {"Node Type": "Index Scan", "Parent Relationship": "Inner", "Parallel Aware": false, "Scan Direction": "Forward", "Index Name": "l_sk_pk", "Relation Name": "lineitem", "Schema": "public", "Alias": "lineitem", "Startup Cost": 0.56, "Total Cost": 27.78, "Plan Rows": 182, "Plan Width": 24, "Actual Startup Time": 0.016, "Actual Total Time": 0.89, "Actual Rows": 182, "Actual Loops": 7968, "Output": ["lineitem.l_orderkey", "lineitem.l_partkey", "lineitem.l_suppkey", "lineitem.l_linenumber", "lineitem.l_quantity", "lineitem.l_extendedprice", "lineitem.l_discount", "lineitem.l_tax", "lineitem.l_returnflag", "lineitem.l_linestatus", "lineitem.l_shipdate", "lineitem.l_commitdate", "lineitem.l_receiptdate", "lineitem.l_shipinstruct", "lineitem.l_shipmode", "lineitem.l_comment"], "Index Cond": "(lineitem.l_suppkey = supplier.s_suppkey)", "Rows Removed by Index Recheck": 0, "Filter": "((lineitem.l_shipdate >= '1995-01-01'::date) AND (lineitem.l_shipdate <= '1996-12-31'::date))", "Rows Removed by Filter": 417, "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.018, "Actual Total Time": 0.964, "Actual Rows": 182, "Actual Loops": 3699}]}]}, {"Node Type": "Hash", "Parent Relationship": "Inner", "Parallel Aware": true, "Startup Cost": 74450.76, "Total Cost": 74450.76, "Plan Rows": 300006, "Plan Width": 30, "Actual Startup Time": 1356.902, "Actual Total Time": 1356.904, "Actual Rows": 601562, "Actual Loops": 2, "Output": ["orders.o_orderkey", "n2.n_name"], "Hash Buckets": 524288, "Original Hash Buckets": 524288, "Hash Batches": 8, "Original Hash Batches": 8, "Peak Memory Usage": 13568, "Workers": [{"Worker Number": 0, "Actual Startup Time": 1356.113, "Actual Total Time": 1356.116, "Actual Rows": 563075, "Actual Loops": 1}], "Plans": [{"Node Type": "Nested Loop", "Parent Relationship": "Outer", "Parallel Aware": false, "Join Type": "Inner", "Startup Cost": 1.83, "Total Cost": 74450.76, "Plan Rows": 300006, "Plan Width": 30, "Actual Startup Time": 0.115, "Actual Total Time": 1213.608, "Actual Rows": 601562, "Actual Loops": 2, "Output": ["orders.o_orderkey", "n2.n_name"], "Inner Unique": false, "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.181, "Actual Total Time": 1220.115, "Actual Rows": 563075, "Actual Loops": 1}], "Plans": [{"Node Type": "Hash Join", "Parent Relationship": "Outer", "Parallel Aware": false, "Join Type": "Inner", "Startup Cost": 1.4, "Total Cost": 40729.65, "Plan Rows": 30000, "Plan Width": 30, "Actual Startup Time": 0.061, "Actual Total Time": 236.056, "Actual Rows": 60286, "Actual Loops": 2, "Output": ["customer.c_custkey", "n2.n_name"], "Inner Unique": true, "Hash Cond": "(customer.c_nationkey = n2.n_nationkey)", "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.088, "Actual Total Time": 230.89, "Actual Rows": 56693, "Actual Loops": 1}], "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": true, "Relation Name": "customer", "Schema": "public", "Alias": "customer", "Startup Cost": 0.0, "Total Cost": 39577.0, "Plan Rows": 375000, "Plan Width": 8, "Actual Startup Time": 0.015, "Actual Total Time": 76.3, "Actual Rows": 750000, "Actual Loops": 2, "Output": ["customer.c_custkey", "customer.c_name", "customer.c_address", "customer.c_nationkey", "customer.c_phone", "customer.c_acctbal", "customer.c_mktsegment", "customer.c_comment"], "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.025, "Actual Total Time": 76.884, "Actual Rows": 704915, "Actual Loops": 1}]}, {"Node Type": "Hash", "Parent Relationship": "Inner", "Parallel Aware": false, "Startup Cost": 1.38, "Total Cost": 1.38, "Plan Rows": 2, "Plan Width": 30, "Actual Startup Time": 0.033, "Actual Total Time": 0.033, "Actual Rows": 2, "Actual Loops": 2, "Output": ["n2.n_name", "n2.n_nationkey"], "Hash Buckets": 1024, "Original Hash Buckets": 1024, "Hash Batches": 1, "Original Hash Batches": 1, "Peak Memory Usage": 9, "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.047, "Actual Total Time": 0.047, "Actual Rows": 2, "Actual Loops": 1}], "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Relation Name": "nation", "Schema": "public", "Alias": "n2", "Startup Cost": 0.0, "Total Cost": 1.38, "Plan Rows": 2, "Plan Width": 30, "Actual Startup Time": 0.022, "Actual Total Time": 0.028, "Actual Rows": 2, "Actual Loops": 2, "Output": ["n2.n_name", "n2.n_nationkey"], "Filter": "((n2.n_name = 'ETHIOPIA'::bpchar) OR (n2.n_name = 'IRAN'::bpchar))", "Rows Removed by Filter": 23, "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.033, "Actual Total Time": 0.039, "Actual Rows": 2, "Actual Loops": 1}]}]}]}, {"Node Type": "Index Scan", "Parent Relationship": "Inner", "Parallel Aware": false, "Scan Direction": "Forward", "Index Name": "o_ck", "Relation Name": "orders", "Schema": "public", "Alias": "orders", "Startup Cost": 0.43, "Total Cost": 0.95, "Plan Rows": 17, "Plan Width": 8, "Actual Startup Time": 0.004, "Actual Total Time": 0.015, "Actual Rows": 10, "Actual Loops": 120572, "Output": ["orders.o_orderkey", "orders.o_custkey", "orders.o_orderstatus", "orders.o_totalprice", "orders.o_orderdate", "orders.o_orderpriority", "orders.o_clerk", "orders.o_shippriority", "orders.o_comment"], "Index Cond": "(orders.o_custkey = customer.c_custkey)", "Rows Removed by Index Recheck": 0, "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.004, "Actual Total Time": 0.016, "Actual Rows": 10, "Actual Loops": 56693}]}]}]}]}]}]}]}]}, "Planning Time": 1.821, "Triggers": [], "Execution Time": 5709.191} diff --git a/dev9/pg12/tpch/sf_10/explain_analyze/15721/8-1.ok b/dev9/pg12/tpch/sf_10/explain_analyze/15721/8-1.ok new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/dev9/pg12/tpch/sf_10/explain_analyze/15721/8-1.res b/dev9/pg12/tpch/sf_10/explain_analyze/15721/8-1.res new file mode 100644 index 0000000000000000000000000000000000000000..4028173e1912e5ae1305cbc59c1df6d86b413e39 --- /dev/null +++ b/dev9/pg12/tpch/sf_10/explain_analyze/15721/8-1.res @@ -0,0 +1 @@ +{"Plan": {"Node Type": "Aggregate", "Strategy": "Sorted", "Partial Mode": "Finalize", "Parallel Aware": false, "Startup Cost": 223101.82, "Total Cost": 224614.5, "Plan Rows": 2406, "Plan Width": 40, "Actual Startup Time": 1126.558, "Actual Total Time": 1342.922, "Actual Rows": 2, "Actual Loops": 1, "Output": ["(date_part('year'::text, (orders.o_orderdate)::timestamp without time zone))", "(sum(CASE WHEN (n2.n_name = 'ETHIOPIA'::bpchar) THEN (lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount)) ELSE '0'::numeric END) / sum((lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount))))"], "Group Key": ["(date_part('year'::text, (orders.o_orderdate)::timestamp without time zone))"], "Plans": [{"Node Type": "Gather Merge", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 223101.82, "Total Cost": 224440.07, "Plan Rows": 9624, "Plan Width": 72, "Actual Startup Time": 1124.317, "Actual Total Time": 1342.897, "Actual Rows": 10, "Actual Loops": 1, "Output": ["(date_part('year'::text, (orders.o_orderdate)::timestamp without time zone))", "(PARTIAL sum(CASE WHEN (n2.n_name = 'ETHIOPIA'::bpchar) THEN (lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount)) ELSE '0'::numeric END))", "(PARTIAL sum((lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount))))"], "Workers Planned": 4, "Workers Launched": 4, "Plans": [{"Node Type": "Aggregate", "Strategy": "Sorted", "Partial Mode": "Partial", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 222101.76, "Total Cost": 222293.7, "Plan Rows": 2406, "Plan Width": 72, "Actual Startup Time": 1119.139, "Actual Total Time": 1120.726, "Actual Rows": 2, "Actual Loops": 5, "Output": ["(date_part('year'::text, (orders.o_orderdate)::timestamp without time zone))", "PARTIAL sum(CASE WHEN (n2.n_name = 'ETHIOPIA'::bpchar) THEN (lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount)) ELSE '0'::numeric END)", "PARTIAL sum((lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount)))"], "Group Key": ["(date_part('year'::text, (orders.o_orderdate)::timestamp without time zone))"], "Workers": [{"Worker Number": 0, "Actual Startup Time": 1117.902, "Actual Total Time": 1119.4, "Actual Rows": 2, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 1118.01, "Actual Total Time": 1119.404, "Actual Rows": 2, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 1117.772, "Actual Total Time": 1119.229, "Actual Rows": 2, "Actual Loops": 1}, {"Worker Number": 3, "Actual Startup Time": 1118.331, "Actual Total Time": 1119.691, "Actual Rows": 2, "Actual Loops": 1}], "Plans": [{"Node Type": "Sort", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 222101.76, "Total Cost": 222117.74, "Plan Rows": 6392, "Plan Width": 46, "Actual Startup Time": 1117.472, "Actual Total Time": 1117.793, "Actual Rows": 4974, "Actual Loops": 5, "Output": ["(date_part('year'::text, (orders.o_orderdate)::timestamp without time zone))", "n2.n_name", "lineitem.l_extendedprice", "lineitem.l_discount"], "Sort Key": ["(date_part('year'::text, (orders.o_orderdate)::timestamp without time zone))"], "Sort Method": "quicksort", "Sort Space Used": 727, "Sort Space Type": "Memory", "Workers": [{"Worker Number": 0, "Actual Startup Time": 1116.352, "Actual Total Time": 1116.652, "Actual Rows": 4660, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 1116.486, "Actual Total Time": 1116.77, "Actual Rows": 4471, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 1116.272, "Actual Total Time": 1116.559, "Actual Rows": 4514, "Actual Loops": 1}, {"Worker Number": 3, "Actual Startup Time": 1116.831, "Actual Total Time": 1117.104, "Actual Rows": 4384, "Actual Loops": 1}], "Plans": [{"Node Type": "Hash Join", "Parent Relationship": "Outer", "Parallel Aware": false, "Join Type": "Inner", "Startup Cost": 5.79, "Total Cost": 221697.72, "Plan Rows": 6392, "Plan Width": 46, "Actual Startup Time": 2.425, "Actual Total Time": 1115.733, "Actual Rows": 4974, "Actual Loops": 5, "Output": ["date_part('year'::text, (orders.o_orderdate)::timestamp without time zone)", "n2.n_name", "lineitem.l_extendedprice", "lineitem.l_discount"], "Inner Unique": true, "Hash Cond": "(supplier.s_nationkey = n2.n_nationkey)", "Workers": [{"Worker Number": 0, "Actual Startup Time": 3.103, "Actual Total Time": 1114.668, "Actual Rows": 4660, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 4.257, "Actual Total Time": 1114.837, "Actual Rows": 4471, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 0.796, "Actual Total Time": 1114.605, "Actual Rows": 4514, "Actual Loops": 1}, {"Worker Number": 3, "Actual Startup Time": 3.817, "Actual Total Time": 1115.196, "Actual Rows": 4384, "Actual Loops": 1}], "Plans": [{"Node Type": "Nested Loop", "Parent Relationship": "Outer", "Parallel Aware": false, "Join Type": "Inner", "Startup Cost": 4.23, "Total Cost": 221644.57, "Plan Rows": 6392, "Plan Width": 20, "Actual Startup Time": 2.311, "Actual Total Time": 1113.043, "Actual Rows": 4974, "Actual Loops": 5, "Output": ["lineitem.l_extendedprice", "lineitem.l_discount", "supplier.s_nationkey", "orders.o_orderdate"], "Inner Unique": true, "Workers": [{"Worker Number": 0, "Actual Startup Time": 2.971, "Actual Total Time": 1112.161, "Actual Rows": 4660, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 4.12, "Actual Total Time": 1112.403, "Actual Rows": 4471, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 0.662, "Actual Total Time": 1112.135, "Actual Rows": 4514, "Actual Loops": 1}, {"Worker Number": 3, "Actual Startup Time": 3.681, "Actual Total Time": 1112.792, "Actual Rows": 4384, "Actual Loops": 1}], "Plans": [{"Node Type": "Hash Join", "Parent Relationship": "Outer", "Parallel Aware": false, "Join Type": "Inner", "Startup Cost": 3.94, "Total Cost": 219659.66, "Plan Rows": 6402, "Plan Width": 20, "Actual Startup Time": 2.263, "Actual Total Time": 1092.007, "Actual Rows": 4974, "Actual Loops": 5, "Output": ["lineitem.l_extendedprice", "lineitem.l_discount", "lineitem.l_suppkey", "orders.o_orderdate"], "Inner Unique": false, "Hash Cond": "(customer.c_nationkey = n1.n_nationkey)", "Workers": [{"Worker Number": 0, "Actual Startup Time": 2.917, "Actual Total Time": 1092.44, "Actual Rows": 4660, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 4.061, "Actual Total Time": 1093.291, "Actual Rows": 4471, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 0.603, "Actual Total Time": 1092.461, "Actual Rows": 4514, "Actual Loops": 1}, {"Worker Number": 3, "Actual Startup Time": 3.623, "Actual Total Time": 1093.613, "Actual Rows": 4384, "Actual Loops": 1}], "Plans": [{"Node Type": "Nested Loop", "Parent Relationship": "Outer", "Parallel Aware": false, "Join Type": "Inner", "Startup Cost": 1.43, "Total Cost": 219473.09, "Plan Rows": 32011, "Plan Width": 24, "Actual Startup Time": 0.441, "Actual Total Time": 1087.154, "Actual Rows": 24632, "Actual Loops": 5, "Output": ["lineitem.l_extendedprice", "lineitem.l_discount", "lineitem.l_suppkey", "orders.o_orderdate", "customer.c_nationkey"], "Inner Unique": true, "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.442, "Actual Total Time": 1087.938, "Actual Rows": 22244, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 0.435, "Actual Total Time": 1088.814, "Actual Rows": 22465, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 0.528, "Actual Total Time": 1088.043, "Actual Rows": 22167, "Actual Loops": 1}, {"Worker Number": 3, "Actual Startup Time": 0.748, "Actual Total Time": 1089.217, "Actual Rows": 22205, "Actual Loops": 1}], "Plans": [{"Node Type": "Nested Loop", "Parent Relationship": "Outer", "Parallel Aware": false, "Join Type": "Inner", "Startup Cost": 1.0, "Total Cost": 204919.84, "Plan Rows": 32011, "Plan Width": 24, "Actual Startup Time": 0.375, "Actual Total Time": 951.7, "Actual Rows": 24632, "Actual Loops": 5, "Output": ["lineitem.l_extendedprice", "lineitem.l_discount", "lineitem.l_suppkey", "orders.o_orderdate", "orders.o_custkey"], "Inner Unique": true, "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.36, "Actual Total Time": 960.155, "Actual Rows": 22244, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 0.355, "Actual Total Time": 959.844, "Actual Rows": 22465, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 0.452, "Actual Total Time": 958.979, "Actual Rows": 22167, "Actual Loops": 1}, {"Worker Number": 3, "Actual Startup Time": 0.666, "Actual Total Time": 960.636, "Actual Rows": 22205, "Actual Loops": 1}], "Plans": [{"Node Type": "Nested Loop", "Parent Relationship": "Outer", "Parallel Aware": false, "Join Type": "Inner", "Startup Cost": 0.56, "Total Cost": 156174.81, "Plan Rows": 105272, "Plan Width": 20, "Actual Startup Time": 0.156, "Actual Total Time": 423.493, "Actual Rows": 80815, "Actual Loops": 5, "Output": ["lineitem.l_extendedprice", "lineitem.l_discount", "lineitem.l_suppkey", "lineitem.l_orderkey"], "Inner Unique": false, "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.192, "Actual Total Time": 448.644, "Actual Rows": 73367, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 0.181, "Actual Total Time": 446.698, "Actual Rows": 73725, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 0.192, "Actual Total Time": 445.749, "Actual Rows": 72650, "Actual Loops": 1}, {"Worker Number": 3, "Actual Startup Time": 0.186, "Actual Total Time": 447.489, "Actual Rows": 72571, "Actual Loops": 1}], "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": true, "Relation Name": "part", "Schema": "public", "Alias": "part", "Startup Cost": 0.0, "Total Cost": 47212.0, "Plan Rows": 3510, "Plan Width": 4, "Actual Startup Time": 0.06, "Actual Total Time": 101.243, "Actual Rows": 2697, "Actual Loops": 5, "Output": ["part.p_partkey", "part.p_name", "part.p_mfgr", "part.p_brand", "part.p_type", "part.p_size", "part.p_container", "part.p_retailprice", "part.p_comment"], "Filter": "((part.p_type)::text = 'SMALL BRUSHED NICKEL'::text)", "Rows Removed by Filter": 397303, "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.086, "Actual Total Time": 96.731, "Actual Rows": 2453, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 0.073, "Actual Total Time": 93.046, "Actual Rows": 2461, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 0.067, "Actual Total Time": 92.925, "Actual Rows": 2422, "Actual Loops": 1}, {"Worker Number": 3, "Actual Startup Time": 0.063, "Actual Total Time": 95.22, "Actual Rows": 2415, "Actual Loops": 1}]}, {"Node Type": "Index Scan", "Parent Relationship": "Inner", "Parallel Aware": false, "Scan Direction": "Forward", "Index Name": "l_pk_sk", "Relation Name": "lineitem", "Schema": "public", "Alias": "lineitem", "Startup Cost": 0.56, "Total Cost": 30.73, "Plan Rows": 31, "Plan Width": 24, "Actual Startup Time": 0.012, "Actual Total Time": 0.112, "Actual Rows": 30, "Actual Loops": 13487, "Output": ["lineitem.l_orderkey", "lineitem.l_partkey", "lineitem.l_suppkey", "lineitem.l_linenumber", "lineitem.l_quantity", "lineitem.l_extendedprice", "lineitem.l_discount", "lineitem.l_tax", "lineitem.l_returnflag", "lineitem.l_linestatus", "lineitem.l_shipdate", "lineitem.l_commitdate", "lineitem.l_receiptdate", "lineitem.l_shipinstruct", "lineitem.l_shipmode", "lineitem.l_comment"], "Index Cond": "(lineitem.l_partkey = part.p_partkey)", "Rows Removed by Index Recheck": 0, "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.014, "Actual Total Time": 0.136, "Actual Rows": 30, "Actual Loops": 2453}, {"Worker Number": 1, "Actual Startup Time": 0.014, "Actual Total Time": 0.136, "Actual Rows": 30, "Actual Loops": 2461}, {"Worker Number": 2, "Actual Startup Time": 0.015, "Actual Total Time": 0.138, "Actual Rows": 30, "Actual Loops": 2422}, {"Worker Number": 3, "Actual Startup Time": 0.015, "Actual Total Time": 0.138, "Actual Rows": 30, "Actual Loops": 2415}]}]}, {"Node Type": "Index Scan", "Parent Relationship": "Inner", "Parallel Aware": false, "Scan Direction": "Forward", "Index Name": "o_ok", "Relation Name": "orders", "Schema": "public", "Alias": "orders", "Startup Cost": 0.43, "Total Cost": 0.46, "Plan Rows": 1, "Plan Width": 12, "Actual Startup Time": 0.006, "Actual Total Time": 0.006, "Actual Rows": 0, "Actual Loops": 404076, "Output": ["orders.o_orderkey", "orders.o_custkey", "orders.o_orderstatus", "orders.o_totalprice", "orders.o_orderdate", "orders.o_orderpriority", "orders.o_clerk", "orders.o_shippriority", "orders.o_comment"], "Index Cond": "(orders.o_orderkey = lineitem.l_orderkey)", "Rows Removed by Index Recheck": 0, "Filter": "((orders.o_orderdate >= '1995-01-01'::date) AND (orders.o_orderdate <= '1996-12-31'::date))", "Rows Removed by Filter": 1, "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.007, "Actual Total Time": 0.007, "Actual Rows": 0, "Actual Loops": 73367}, {"Worker Number": 1, "Actual Startup Time": 0.007, "Actual Total Time": 0.007, "Actual Rows": 0, "Actual Loops": 73725}, {"Worker Number": 2, "Actual Startup Time": 0.007, "Actual Total Time": 0.007, "Actual Rows": 0, "Actual Loops": 72650}, {"Worker Number": 3, "Actual Startup Time": 0.007, "Actual Total Time": 0.007, "Actual Rows": 0, "Actual Loops": 72571}]}]}, {"Node Type": "Index Scan", "Parent Relationship": "Inner", "Parallel Aware": false, "Scan Direction": "Forward", "Index Name": "c_ck", "Relation Name": "customer", "Schema": "public", "Alias": "customer", "Startup Cost": 0.43, "Total Cost": 0.45, "Plan Rows": 1, "Plan Width": 8, "Actual Startup Time": 0.005, "Actual Total Time": 0.005, "Actual Rows": 1, "Actual Loops": 123159, "Output": ["customer.c_custkey", "customer.c_name", "customer.c_address", "customer.c_nationkey", "customer.c_phone", "customer.c_acctbal", "customer.c_mktsegment", "customer.c_comment"], "Index Cond": "(customer.c_custkey = orders.o_custkey)", "Rows Removed by Index Recheck": 0, "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.005, "Actual Total Time": 0.005, "Actual Rows": 1, "Actual Loops": 22244}, {"Worker Number": 1, "Actual Startup Time": 0.005, "Actual Total Time": 0.005, "Actual Rows": 1, "Actual Loops": 22465}, {"Worker Number": 2, "Actual Startup Time": 0.005, "Actual Total Time": 0.005, "Actual Rows": 1, "Actual Loops": 22167}, {"Worker Number": 3, "Actual Startup Time": 0.005, "Actual Total Time": 0.005, "Actual Rows": 1, "Actual Loops": 22205}]}]}, {"Node Type": "Hash", "Parent Relationship": "Inner", "Parallel Aware": false, "Startup Cost": 2.45, "Total Cost": 2.45, "Plan Rows": 5, "Plan Width": 4, "Actual Startup Time": 0.052, "Actual Total Time": 0.054, "Actual Rows": 5, "Actual Loops": 5, "Output": ["n1.n_nationkey"], "Hash Buckets": 1024, "Original Hash Buckets": 1024, "Hash Batches": 1, "Original Hash Batches": 1, "Peak Memory Usage": 9, "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.058, "Actual Total Time": 0.059, "Actual Rows": 5, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 0.059, "Actual Total Time": 0.061, "Actual Rows": 5, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 0.057, "Actual Total Time": 0.059, "Actual Rows": 5, "Actual Loops": 1}, {"Worker Number": 3, "Actual Startup Time": 0.066, "Actual Total Time": 0.068, "Actual Rows": 5, "Actual Loops": 1}], "Plans": [{"Node Type": "Hash Join", "Parent Relationship": "Outer", "Parallel Aware": false, "Join Type": "Inner", "Startup Cost": 1.07, "Total Cost": 2.45, "Plan Rows": 5, "Plan Width": 4, "Actual Startup Time": 0.042, "Actual Total Time": 0.05, "Actual Rows": 5, "Actual Loops": 5, "Output": ["n1.n_nationkey"], "Inner Unique": true, "Hash Cond": "(n1.n_regionkey = region.r_regionkey)", "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.047, "Actual Total Time": 0.055, "Actual Rows": 5, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 0.049, "Actual Total Time": 0.057, "Actual Rows": 5, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 0.047, "Actual Total Time": 0.054, "Actual Rows": 5, "Actual Loops": 1}, {"Worker Number": 3, "Actual Startup Time": 0.055, "Actual Total Time": 0.063, "Actual Rows": 5, "Actual Loops": 1}], "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Relation Name": "nation", "Schema": "public", "Alias": "n1", "Startup Cost": 0.0, "Total Cost": 1.25, "Plan Rows": 25, "Plan Width": 8, "Actual Startup Time": 0.003, "Actual Total Time": 0.006, "Actual Rows": 25, "Actual Loops": 5, "Output": ["n1.n_nationkey", "n1.n_name", "n1.n_regionkey", "n1.n_comment"], "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.004, "Actual Total Time": 0.006, "Actual Rows": 25, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 0.004, "Actual Total Time": 0.006, "Actual Rows": 25, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 0.004, "Actual Total Time": 0.006, "Actual Rows": 25, "Actual Loops": 1}, {"Worker Number": 3, "Actual Startup Time": 0.004, "Actual Total Time": 0.006, "Actual Rows": 25, "Actual Loops": 1}]}, {"Node Type": "Hash", "Parent Relationship": "Inner", "Parallel Aware": false, "Startup Cost": 1.06, "Total Cost": 1.06, "Plan Rows": 1, "Plan Width": 4, "Actual Startup Time": 0.024, "Actual Total Time": 0.024, "Actual Rows": 1, "Actual Loops": 5, "Output": ["region.r_regionkey"], "Hash Buckets": 1024, "Original Hash Buckets": 1024, "Hash Batches": 1, "Original Hash Batches": 1, "Peak Memory Usage": 9, "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.028, "Actual Total Time": 0.029, "Actual Rows": 1, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 0.03, "Actual Total Time": 0.03, "Actual Rows": 1, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 0.028, "Actual Total Time": 0.028, "Actual Rows": 1, "Actual Loops": 1}, {"Worker Number": 3, "Actual Startup Time": 0.028, "Actual Total Time": 0.029, "Actual Rows": 1, "Actual Loops": 1}], "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Relation Name": "region", "Schema": "public", "Alias": "region", "Startup Cost": 0.0, "Total Cost": 1.06, "Plan Rows": 1, "Plan Width": 4, "Actual Startup Time": 0.02, "Actual Total Time": 0.021, "Actual Rows": 1, "Actual Loops": 5, "Output": ["region.r_regionkey"], "Filter": "(region.r_name = 'AFRICA'::bpchar)", "Rows Removed by Filter": 4, "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.024, "Actual Total Time": 0.025, "Actual Rows": 1, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 0.026, "Actual Total Time": 0.027, "Actual Rows": 1, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 0.023, "Actual Total Time": 0.025, "Actual Rows": 1, "Actual Loops": 1}, {"Worker Number": 3, "Actual Startup Time": 0.024, "Actual Total Time": 0.025, "Actual Rows": 1, "Actual Loops": 1}]}]}]}]}]}, {"Node Type": "Index Scan", "Parent Relationship": "Inner", "Parallel Aware": false, "Scan Direction": "Forward", "Index Name": "s_sk", "Relation Name": "supplier", "Schema": "public", "Alias": "supplier", "Startup Cost": 0.29, "Total Cost": 0.31, "Plan Rows": 1, "Plan Width": 8, "Actual Startup Time": 0.004, "Actual Total Time": 0.004, "Actual Rows": 1, "Actual Loops": 24872, "Output": ["supplier.s_suppkey", "supplier.s_name", "supplier.s_address", "supplier.s_nationkey", "supplier.s_phone", "supplier.s_acctbal", "supplier.s_comment"], "Index Cond": "(supplier.s_suppkey = lineitem.l_suppkey)", "Rows Removed by Index Recheck": 0, "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.004, "Actual Total Time": 0.004, "Actual Rows": 1, "Actual Loops": 4660}, {"Worker Number": 1, "Actual Startup Time": 0.004, "Actual Total Time": 0.004, "Actual Rows": 1, "Actual Loops": 4471}, {"Worker Number": 2, "Actual Startup Time": 0.004, "Actual Total Time": 0.004, "Actual Rows": 1, "Actual Loops": 4514}, {"Worker Number": 3, "Actual Startup Time": 0.004, "Actual Total Time": 0.004, "Actual Rows": 1, "Actual Loops": 4384}]}]}, {"Node Type": "Hash", "Parent Relationship": "Inner", "Parallel Aware": false, "Startup Cost": 1.25, "Total Cost": 1.25, "Plan Rows": 25, "Plan Width": 30, "Actual Startup Time": 0.037, "Actual Total Time": 0.037, "Actual Rows": 25, "Actual Loops": 5, "Output": ["n2.n_name", "n2.n_nationkey"], "Hash Buckets": 1024, "Original Hash Buckets": 1024, "Hash Batches": 1, "Original Hash Batches": 1, "Peak Memory Usage": 10, "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.038, "Actual Total Time": 0.039, "Actual Rows": 25, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 0.038, "Actual Total Time": 0.038, "Actual Rows": 25, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 0.043, "Actual Total Time": 0.044, "Actual Rows": 25, "Actual Loops": 1}, {"Worker Number": 3, "Actual Startup Time": 0.041, "Actual Total Time": 0.041, "Actual Rows": 25, "Actual Loops": 1}], "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Relation Name": "nation", "Schema": "public", "Alias": "n2", "Startup Cost": 0.0, "Total Cost": 1.25, "Plan Rows": 25, "Plan Width": 30, "Actual Startup Time": 0.021, "Actual Total Time": 0.026, "Actual Rows": 25, "Actual Loops": 5, "Output": ["n2.n_name", "n2.n_nationkey"], "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.023, "Actual Total Time": 0.027, "Actual Rows": 25, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 0.023, "Actual Total Time": 0.027, "Actual Rows": 25, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 0.026, "Actual Total Time": 0.031, "Actual Rows": 25, "Actual Loops": 1}, {"Worker Number": 3, "Actual Startup Time": 0.024, "Actual Total Time": 0.029, "Actual Rows": 25, "Actual Loops": 1}]}]}]}]}]}]}]}, "Planning Time": 2.625, "Triggers": [], "Execution Time": 1343.022} diff --git a/dev9/pg12/tpch/sf_10/explain_analyze/15721/9-1.ok b/dev9/pg12/tpch/sf_10/explain_analyze/15721/9-1.ok new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/dev9/pg12/tpch/sf_10/explain_analyze/15721/9-1.res b/dev9/pg12/tpch/sf_10/explain_analyze/15721/9-1.res new file mode 100644 index 0000000000000000000000000000000000000000..1f922ab51bde0e9512834f52ef15cc41cca72a5e --- /dev/null +++ b/dev9/pg12/tpch/sf_10/explain_analyze/15721/9-1.res @@ -0,0 +1 @@ +{"Plan": {"Node Type": "Sort", "Parallel Aware": false, "Startup Cost": 593957.59, "Total Cost": 594107.96, "Plan Rows": 60150, "Plan Width": 66, "Actual Startup Time": 4065.332, "Actual Total Time": 4463.596, "Actual Rows": 175, "Actual Loops": 1, "Output": ["nation.n_name", "(date_part('year'::text, (orders.o_orderdate)::timestamp without time zone))", "(sum(((lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount)) - (partsupp.ps_supplycost * lineitem.l_quantity))))"], "Sort Key": ["nation.n_name", "(date_part('year'::text, (orders.o_orderdate)::timestamp without time zone)) DESC"], "Sort Method": "quicksort", "Sort Space Used": 49, "Sort Space Type": "Memory", "Plans": [{"Node Type": "Aggregate", "Strategy": "Hashed", "Partial Mode": "Finalize", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 588130.17, "Total Cost": 589182.8, "Plan Rows": 60150, "Plan Width": 66, "Actual Startup Time": 4064.651, "Actual Total Time": 4463.346, "Actual Rows": 175, "Actual Loops": 1, "Output": ["nation.n_name", "(date_part('year'::text, (orders.o_orderdate)::timestamp without time zone))", "sum(((lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount)) - (partsupp.ps_supplycost * lineitem.l_quantity)))"], "Group Key": ["nation.n_name", "(date_part('year'::text, (orders.o_orderdate)::timestamp without time zone))"], "Plans": [{"Node Type": "Gather", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 547378.55, "Total Cost": 584521.17, "Plan Rows": 360900, "Plan Width": 66, "Actual Startup Time": 4050.658, "Actual Total Time": 4461.869, "Actual Rows": 1225, "Actual Loops": 1, "Output": ["nation.n_name", "(date_part('year'::text, (orders.o_orderdate)::timestamp without time zone))", "(PARTIAL sum(((lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount)) - (partsupp.ps_supplycost * lineitem.l_quantity))))"], "Workers Planned": 6, "Workers Launched": 6, "Single Copy": false, "Plans": [{"Node Type": "Aggregate", "Strategy": "Hashed", "Partial Mode": "Partial", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 546378.55, "Total Cost": 547431.17, "Plan Rows": 60150, "Plan Width": 66, "Actual Startup Time": 4044.415, "Actual Total Time": 4045.927, "Actual Rows": 175, "Actual Loops": 7, "Output": ["nation.n_name", "(date_part('year'::text, (orders.o_orderdate)::timestamp without time zone))", "PARTIAL sum(((lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount)) - (partsupp.ps_supplycost * lineitem.l_quantity)))"], "Group Key": ["nation.n_name", "date_part('year'::text, (orders.o_orderdate)::timestamp without time zone)"], "Workers": [{"Worker Number": 0, "Actual Startup Time": 4043.353, "Actual Total Time": 4044.493, "Actual Rows": 175, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 4043.435, "Actual Total Time": 4044.791, "Actual Rows": 175, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 4044.221, "Actual Total Time": 4045.335, "Actual Rows": 175, "Actual Loops": 1}, {"Worker Number": 3, "Actual Startup Time": 4043.245, "Actual Total Time": 4044.384, "Actual Rows": 175, "Actual Loops": 1}, {"Worker Number": 4, "Actual Startup Time": 4043.336, "Actual Total Time": 4044.471, "Actual Rows": 175, "Actual Loops": 1}, {"Worker Number": 5, "Actual Startup Time": 4043.298, "Actual Total Time": 4044.43, "Actual Rows": 175, "Actual Loops": 1}], "Plans": [{"Node Type": "Hash Join", "Parent Relationship": "Outer", "Parallel Aware": false, "Join Type": "Inner", "Startup Cost": 208562.23, "Total Cost": 535877.57, "Plan Rows": 600056, "Plan Width": 57, "Actual Startup Time": 2795.546, "Actual Total Time": 3556.061, "Actual Rows": 464980, "Actual Loops": 7, "Output": ["nation.n_name", "date_part('year'::text, (orders.o_orderdate)::timestamp without time zone)", "lineitem.l_extendedprice", "lineitem.l_discount", "partsupp.ps_supplycost", "lineitem.l_quantity"], "Inner Unique": true, "Hash Cond": "(supplier.s_nationkey = nation.n_nationkey)", "Workers": [{"Worker Number": 0, "Actual Startup Time": 2805.239, "Actual Total Time": 3564.671, "Actual Rows": 451385, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 2730.074, "Actual Total Time": 3504.012, "Actual Rows": 516854, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 2805.007, "Actual Total Time": 3562.006, "Actual Rows": 459501, "Actual Loops": 1}, {"Worker Number": 3, "Actual Startup Time": 2805.202, "Actual Total Time": 3560.03, "Actual Rows": 458933, "Actual Loops": 1}, {"Worker Number": 4, "Actual Startup Time": 2806.045, "Actual Total Time": 3559.016, "Actual Rows": 461254, "Actual Loops": 1}, {"Worker Number": 5, "Actual Startup Time": 2804.518, "Actual Total Time": 3567.224, "Actual Rows": 453945, "Actual Loops": 1}], "Plans": [{"Node Type": "Hash Join", "Parent Relationship": "Outer", "Parallel Aware": true, "Join Type": "Inner", "Startup Cost": 208560.67, "Total Cost": 531033.55, "Plan Rows": 600056, "Plan Width": 31, "Actual Startup Time": 2795.423, "Actual Total Time": 3398.723, "Actual Rows": 464980, "Actual Loops": 7, "Output": ["lineitem.l_extendedprice", "lineitem.l_discount", "lineitem.l_quantity", "supplier.s_nationkey", "partsupp.ps_supplycost", "orders.o_orderdate"], "Inner Unique": false, "Hash Cond": "(orders.o_orderkey = lineitem.l_orderkey)", "Workers": [{"Worker Number": 0, "Actual Startup Time": 2805.114, "Actual Total Time": 3408.735, "Actual Rows": 451385, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 2729.939, "Actual Total Time": 3327.578, "Actual Rows": 516854, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 2804.872, "Actual Total Time": 3408.137, "Actual Rows": 459501, "Actual Loops": 1}, {"Worker Number": 3, "Actual Startup Time": 2805.058, "Actual Total Time": 3404.072, "Actual Rows": 458933, "Actual Loops": 1}, {"Worker Number": 4, "Actual Startup Time": 2805.903, "Actual Total Time": 3405.628, "Actual Rows": 461254, "Actual Loops": 1}, {"Worker Number": 5, "Actual Startup Time": 2804.371, "Actual Total Time": 3415.905, "Actual Rows": 453945, "Actual Loops": 1}], "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": true, "Relation Name": "orders", "Schema": "public", "Alias": "orders", "Startup Cost": 0.0, "Total Cost": 285912.54, "Plan Rows": 2500054, "Plan Width": 8, "Actual Startup Time": 0.028, "Actual Total Time": 551.324, "Actual Rows": 2142857, "Actual Loops": 7, "Output": ["orders.o_orderdate", "orders.o_orderkey"], "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.036, "Actual Total Time": 561.159, "Actual Rows": 2108269, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 0.024, "Actual Total Time": 560.555, "Actual Rows": 2121888, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 0.032, "Actual Total Time": 558.11, "Actual Rows": 2099786, "Actual Loops": 1}, {"Worker Number": 3, "Actual Startup Time": 0.023, "Actual Total Time": 575.45, "Actual Rows": 1910852, "Actual Loops": 1}, {"Worker Number": 4, "Actual Startup Time": 0.037, "Actual Total Time": 557.966, "Actual Rows": 2101088, "Actual Loops": 1}, {"Worker Number": 5, "Actual Startup Time": 0.038, "Actual Total Time": 558.684, "Actual Rows": 2095028, "Actual Loops": 1}]}, {"Node Type": "Hash", "Parent Relationship": "Inner", "Parallel Aware": true, "Startup Cost": 191156.62, "Total Cost": 191156.62, "Plan Rows": 900084, "Plan Width": 31, "Actual Startup Time": 1798.072, "Actual Total Time": 1798.522, "Actual Rows": 464980, "Actual Loops": 7, "Output": ["lineitem.l_extendedprice", "lineitem.l_discount", "lineitem.l_quantity", "lineitem.l_orderkey", "supplier.s_nationkey", "partsupp.ps_supplycost"], "Hash Buckets": 524288, "Original Hash Buckets": 524288, "Hash Batches": 16, "Original Hash Batches": 16, "Peak Memory Usage": 18496, "Workers": [{"Worker Number": 0, "Actual Startup Time": 1797.628, "Actual Total Time": 1797.644, "Actual Rows": 437457, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 1797.638, "Actual Total Time": 1797.658, "Actual Rows": 444897, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 1797.638, "Actual Total Time": 1797.644, "Actual Rows": 435775, "Actual Loops": 1}, {"Worker Number": 3, "Actual Startup Time": 1797.635, "Actual Total Time": 1797.652, "Actual Rows": 449494, "Actual Loops": 1}, {"Worker Number": 4, "Actual Startup Time": 1797.626, "Actual Total Time": 1797.631, "Actual Rows": 432458, "Actual Loops": 1}, {"Worker Number": 5, "Actual Startup Time": 1797.643, "Actual Total Time": 1797.648, "Actual Rows": 404608, "Actual Loops": 1}], "Plans": [{"Node Type": "Nested Loop", "Parent Relationship": "Outer", "Parallel Aware": false, "Join Type": "Inner", "Startup Cost": 3540.53, "Total Cost": 191156.62, "Plan Rows": 900084, "Plan Width": 31, "Actual Startup Time": 11.065, "Actual Total Time": 1647.623, "Actual Rows": 464980, "Actual Loops": 7, "Output": ["lineitem.l_extendedprice", "lineitem.l_discount", "lineitem.l_quantity", "lineitem.l_orderkey", "supplier.s_nationkey", "partsupp.ps_supplycost"], "Inner Unique": false, "Join Filter": "(supplier.s_suppkey = lineitem.l_suppkey)", "Rows Removed by Join Filter": 0, "Workers": [{"Worker Number": 0, "Actual Startup Time": 10.647, "Actual Total Time": 1654.693, "Actual Rows": 437457, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 10.658, "Actual Total Time": 1651.335, "Actual Rows": 444897, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 10.619, "Actual Total Time": 1653.661, "Actual Rows": 435775, "Actual Loops": 1}, {"Worker Number": 3, "Actual Startup Time": 10.646, "Actual Total Time": 1653.375, "Actual Rows": 449494, "Actual Loops": 1}, {"Worker Number": 4, "Actual Startup Time": 10.645, "Actual Total Time": 1651.471, "Actual Rows": 432458, "Actual Loops": 1}, {"Worker Number": 5, "Actual Startup Time": 10.66, "Actual Total Time": 1660.104, "Actual Rows": 404608, "Actual Loops": 1}], "Plans": [{"Node Type": "Hash Join", "Parent Relationship": "Outer", "Parallel Aware": true, "Join Type": "Inner", "Startup Cost": 3539.97, "Total Cost": 98000.92, "Plan Rows": 120236, "Plan Width": 26, "Actual Startup Time": 10.993, "Actual Total Time": 279.645, "Actual Rows": 62025, "Actual Loops": 7, "Output": ["part.p_partkey", "partsupp.ps_supplycost", "partsupp.ps_suppkey", "partsupp.ps_partkey", "supplier.s_suppkey", "supplier.s_nationkey"], "Inner Unique": true, "Hash Cond": "(partsupp.ps_suppkey = supplier.s_suppkey)", "Workers": [{"Worker Number": 0, "Actual Startup Time": 10.562, "Actual Total Time": 275.098, "Actual Rows": 58288, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 10.574, "Actual Total Time": 275.299, "Actual Rows": 59380, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 10.562, "Actual Total Time": 272.839, "Actual Rows": 58080, "Actual Loops": 1}, {"Worker Number": 3, "Actual Startup Time": 10.553, "Actual Total Time": 274.681, "Actual Rows": 59916, "Actual Loops": 1}, {"Worker Number": 4, "Actual Startup Time": 10.565, "Actual Total Time": 271.196, "Actual Rows": 57760, "Actual Loops": 1}, {"Worker Number": 5, "Actual Startup Time": 10.57, "Actual Total Time": 266.979, "Actual Rows": 54020, "Actual Loops": 1}], "Plans": [{"Node Type": "Nested Loop", "Parent Relationship": "Outer", "Parallel Aware": false, "Join Type": "Inner", "Startup Cost": 0.43, "Total Cost": 94145.76, "Plan Rows": 120236, "Plan Width": 18, "Actual Startup Time": 0.105, "Actual Total Time": 232.855, "Actual Rows": 62025, "Actual Loops": 7, "Output": ["part.p_partkey", "partsupp.ps_supplycost", "partsupp.ps_suppkey", "partsupp.ps_partkey"], "Inner Unique": false, "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.116, "Actual Total Time": 230.647, "Actual Rows": 58288, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 0.123, "Actual Total Time": 230.306, "Actual Rows": 59380, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 0.121, "Actual Total Time": 229.221, "Actual Rows": 58080, "Actual Loops": 1}, {"Worker Number": 3, "Actual Startup Time": 0.11, "Actual Total Time": 230.521, "Actual Rows": 59916, "Actual Loops": 1}, {"Worker Number": 4, "Actual Startup Time": 0.121, "Actual Total Time": 227.351, "Actual Rows": 57760, "Actual Loops": 1}, {"Worker Number": 5, "Actual Startup Time": 0.107, "Actual Total Time": 223.748, "Actual Rows": 54020, "Actual Loops": 1}], "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": true, "Relation Name": "part", "Schema": "public", "Alias": "part", "Startup Cost": 0.0, "Total Cost": 47212.0, "Plan Rows": 30060, "Plan Width": 4, "Actual Startup Time": 0.023, "Actual Total Time": 103.536, "Actual Rows": 15506, "Actual Loops": 7, "Output": ["part.p_partkey", "part.p_name", "part.p_mfgr", "part.p_brand", "part.p_type", "part.p_size", "part.p_container", "part.p_retailprice", "part.p_comment"], "Filter": "((part.p_name)::text ~~ '%forest%'::text)", "Rows Removed by Filter": 270208, "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.023, "Actual Total Time": 101.196, "Actual Rows": 14572, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 0.024, "Actual Total Time": 101.271, "Actual Rows": 14845, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 0.024, "Actual Total Time": 100.178, "Actual Rows": 14520, "Actual Loops": 1}, {"Worker Number": 3, "Actual Startup Time": 0.028, "Actual Total Time": 101.775, "Actual Rows": 14979, "Actual Loops": 1}, {"Worker Number": 4, "Actual Startup Time": 0.025, "Actual Total Time": 99.301, "Actual Rows": 14440, "Actual Loops": 1}, {"Worker Number": 5, "Actual Startup Time": 0.024, "Actual Total Time": 96.645, "Actual Rows": 13505, "Actual Loops": 1}]}, {"Node Type": "Index Scan", "Parent Relationship": "Inner", "Parallel Aware": false, "Scan Direction": "Forward", "Index Name": "ps_pk", "Relation Name": "partsupp", "Schema": "public", "Alias": "partsupp", "Startup Cost": 0.43, "Total Cost": 1.52, "Plan Rows": 4, "Plan Width": 14, "Actual Startup Time": 0.006, "Actual Total Time": 0.007, "Actual Rows": 4, "Actual Loops": 108543, "Output": ["partsupp.ps_partkey", "partsupp.ps_suppkey", "partsupp.ps_availqty", "partsupp.ps_supplycost", "partsupp.ps_comment"], "Index Cond": "(partsupp.ps_partkey = part.p_partkey)", "Rows Removed by Index Recheck": 0, "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.007, "Actual Total Time": 0.008, "Actual Rows": 4, "Actual Loops": 14572}, {"Worker Number": 1, "Actual Startup Time": 0.006, "Actual Total Time": 0.008, "Actual Rows": 4, "Actual Loops": 14845}, {"Worker Number": 2, "Actual Startup Time": 0.007, "Actual Total Time": 0.008, "Actual Rows": 4, "Actual Loops": 14520}, {"Worker Number": 3, "Actual Startup Time": 0.006, "Actual Total Time": 0.008, "Actual Rows": 4, "Actual Loops": 14979}, {"Worker Number": 4, "Actual Startup Time": 0.007, "Actual Total Time": 0.008, "Actual Rows": 4, "Actual Loops": 14440}, {"Worker Number": 5, "Actual Startup Time": 0.007, "Actual Total Time": 0.008, "Actual Rows": 4, "Actual Loops": 13505}]}]}, {"Node Type": "Hash", "Parent Relationship": "Inner", "Parallel Aware": true, "Startup Cost": 2804.24, "Total Cost": 2804.24, "Plan Rows": 58824, "Plan Width": 8, "Actual Startup Time": 10.669, "Actual Total Time": 10.67, "Actual Rows": 14286, "Actual Loops": 7, "Output": ["supplier.s_suppkey", "supplier.s_nationkey"], "Hash Buckets": 131072, "Original Hash Buckets": 131072, "Hash Batches": 1, "Original Hash Batches": 1, "Peak Memory Usage": 5056, "Workers": [{"Worker Number": 0, "Actual Startup Time": 10.396, "Actual Total Time": 10.398, "Actual Rows": 13189, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 10.404, "Actual Total Time": 10.408, "Actual Rows": 13492, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 10.411, "Actual Total Time": 10.412, "Actual Rows": 13195, "Actual Loops": 1}, {"Worker Number": 3, "Actual Startup Time": 10.409, "Actual Total Time": 10.411, "Actual Rows": 13351, "Actual Loops": 1}, {"Worker Number": 4, "Actual Startup Time": 10.386, "Actual Total Time": 10.386, "Actual Rows": 12711, "Actual Loops": 1}, {"Worker Number": 5, "Actual Startup Time": 10.408, "Actual Total Time": 10.409, "Actual Rows": 12903, "Actual Loops": 1}], "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": true, "Relation Name": "supplier", "Schema": "public", "Alias": "supplier", "Startup Cost": 0.0, "Total Cost": 2804.24, "Plan Rows": 58824, "Plan Width": 8, "Actual Startup Time": 0.013, "Actual Total Time": 5.569, "Actual Rows": 14286, "Actual Loops": 7, "Output": ["supplier.s_suppkey", "supplier.s_nationkey"], "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.012, "Actual Total Time": 5.513, "Actual Rows": 13189, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 0.017, "Actual Total Time": 5.543, "Actual Rows": 13492, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 0.012, "Actual Total Time": 5.522, "Actual Rows": 13195, "Actual Loops": 1}, {"Worker Number": 3, "Actual Startup Time": 0.016, "Actual Total Time": 5.625, "Actual Rows": 13351, "Actual Loops": 1}, {"Worker Number": 4, "Actual Startup Time": 0.015, "Actual Total Time": 5.464, "Actual Rows": 12711, "Actual Loops": 1}, {"Worker Number": 5, "Actual Startup Time": 0.013, "Actual Total Time": 5.534, "Actual Rows": 12903, "Actual Loops": 1}]}]}]}, {"Node Type": "Index Scan", "Parent Relationship": "Inner", "Parallel Aware": false, "Scan Direction": "Forward", "Index Name": "l_pk_sk", "Relation Name": "lineitem", "Schema": "public", "Alias": "lineitem", "Startup Cost": 0.56, "Total Cost": 0.76, "Plan Rows": 1, "Plan Width": 29, "Actual Startup Time": 0.006, "Actual Total Time": 0.02, "Actual Rows": 7, "Actual Loops": 434172, "Output": ["lineitem.l_orderkey", "lineitem.l_partkey", "lineitem.l_suppkey", "lineitem.l_linenumber", "lineitem.l_quantity", "lineitem.l_extendedprice", "lineitem.l_discount", "lineitem.l_tax", "lineitem.l_returnflag", "lineitem.l_linestatus", "lineitem.l_shipdate", "lineitem.l_commitdate", "lineitem.l_receiptdate", "lineitem.l_shipinstruct", "lineitem.l_shipmode", "lineitem.l_comment"], "Index Cond": "((lineitem.l_partkey = partsupp.ps_partkey) AND (lineitem.l_suppkey = partsupp.ps_suppkey))", "Rows Removed by Index Recheck": 0, "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.006, "Actual Total Time": 0.021, "Actual Rows": 8, "Actual Loops": 58288}, {"Worker Number": 1, "Actual Startup Time": 0.006, "Actual Total Time": 0.021, "Actual Rows": 7, "Actual Loops": 59380}, {"Worker Number": 2, "Actual Startup Time": 0.006, "Actual Total Time": 0.022, "Actual Rows": 8, "Actual Loops": 58080}, {"Worker Number": 3, "Actual Startup Time": 0.006, "Actual Total Time": 0.021, "Actual Rows": 8, "Actual Loops": 59916}, {"Worker Number": 4, "Actual Startup Time": 0.006, "Actual Total Time": 0.022, "Actual Rows": 7, "Actual Loops": 57760}, {"Worker Number": 5, "Actual Startup Time": 0.007, "Actual Total Time": 0.023, "Actual Rows": 7, "Actual Loops": 54020}]}]}]}]}, {"Node Type": "Hash", "Parent Relationship": "Inner", "Parallel Aware": false, "Startup Cost": 1.25, "Total Cost": 1.25, "Plan Rows": 25, "Plan Width": 30, "Actual Startup Time": 0.038, "Actual Total Time": 0.039, "Actual Rows": 25, "Actual Loops": 7, "Output": ["nation.n_name", "nation.n_nationkey"], "Hash Buckets": 1024, "Original Hash Buckets": 1024, "Hash Batches": 1, "Original Hash Batches": 1, "Peak Memory Usage": 10, "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.039, "Actual Total Time": 0.042, "Actual Rows": 25, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 0.038, "Actual Total Time": 0.041, "Actual Rows": 25, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 0.041, "Actual Total Time": 0.041, "Actual Rows": 25, "Actual Loops": 1}, {"Worker Number": 3, "Actual Startup Time": 0.039, "Actual Total Time": 0.039, "Actual Rows": 25, "Actual Loops": 1}, {"Worker Number": 4, "Actual Startup Time": 0.039, "Actual Total Time": 0.04, "Actual Rows": 25, "Actual Loops": 1}, {"Worker Number": 5, "Actual Startup Time": 0.046, "Actual Total Time": 0.046, "Actual Rows": 25, "Actual Loops": 1}], "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Relation Name": "nation", "Schema": "public", "Alias": "nation", "Startup Cost": 0.0, "Total Cost": 1.25, "Plan Rows": 25, "Plan Width": 30, "Actual Startup Time": 0.024, "Actual Total Time": 0.029, "Actual Rows": 25, "Actual Loops": 7, "Output": ["nation.n_name", "nation.n_nationkey"], "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.025, "Actual Total Time": 0.03, "Actual Rows": 25, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 0.025, "Actual Total Time": 0.03, "Actual Rows": 25, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 0.026, "Actual Total Time": 0.031, "Actual Rows": 25, "Actual Loops": 1}, {"Worker Number": 3, "Actual Startup Time": 0.025, "Actual Total Time": 0.029, "Actual Rows": 25, "Actual Loops": 1}, {"Worker Number": 4, "Actual Startup Time": 0.026, "Actual Total Time": 0.029, "Actual Rows": 25, "Actual Loops": 1}, {"Worker Number": 5, "Actual Startup Time": 0.03, "Actual Total Time": 0.035, "Actual Rows": 25, "Actual Loops": 1}]}]}]}]}]}]}]}, "Planning Time": 3.909, "Triggers": [], "Execution Time": 4464.581} diff --git a/dev9/pg13/tpch/sf_1/explain/15721/1-1.ok b/dev9/pg13/tpch/sf_1/explain/15721/1-1.ok new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/dev9/pg13/tpch/sf_1/explain/15721/1-1.res b/dev9/pg13/tpch/sf_1/explain/15721/1-1.res new file mode 100644 index 0000000000000000000000000000000000000000..dddc1f374eb853d8383743b6ff42ee1ea7981b4d --- /dev/null +++ b/dev9/pg13/tpch/sf_1/explain/15721/1-1.res @@ -0,0 +1 @@ +{"Plan": {"Node Type": "Aggregate", "Strategy": "Sorted", "Partial Mode": "Finalize", "Parallel Aware": false, "Startup Cost": 175400.88, "Total Cost": 175405.95, "Plan Rows": 6, "Plan Width": 236, "Output": ["l_returnflag", "l_linestatus", "sum(l_quantity)", "sum(l_extendedprice)", "sum((l_extendedprice * ('1'::numeric - l_discount)))", "sum(((l_extendedprice * ('1'::numeric - l_discount)) * ('1'::numeric + l_tax)))", "avg(l_quantity)", "avg(l_extendedprice)", "avg(l_discount)", "count(*)"], "Group Key": ["lineitem.l_returnflag", "lineitem.l_linestatus"], "Plans": [{"Node Type": "Gather Merge", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 175400.88, "Total Cost": 175404.51, "Plan Rows": 30, "Plan Width": 236, "Output": ["l_returnflag", "l_linestatus", "(PARTIAL sum(l_quantity))", "(PARTIAL sum(l_extendedprice))", "(PARTIAL sum((l_extendedprice * ('1'::numeric - l_discount))))", "(PARTIAL sum(((l_extendedprice * ('1'::numeric - l_discount)) * ('1'::numeric + l_tax))))", "(PARTIAL avg(l_quantity))", "(PARTIAL avg(l_extendedprice))", "(PARTIAL avg(l_discount))", "(PARTIAL count(*))"], "Workers Planned": 5, "Plans": [{"Node Type": "Sort", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 174400.8, "Total Cost": 174400.82, "Plan Rows": 6, "Plan Width": 236, "Output": ["l_returnflag", "l_linestatus", "(PARTIAL sum(l_quantity))", "(PARTIAL sum(l_extendedprice))", "(PARTIAL sum((l_extendedprice * ('1'::numeric - l_discount))))", "(PARTIAL sum(((l_extendedprice * ('1'::numeric - l_discount)) * ('1'::numeric + l_tax))))", "(PARTIAL avg(l_quantity))", "(PARTIAL avg(l_extendedprice))", "(PARTIAL avg(l_discount))", "(PARTIAL count(*))"], "Sort Key": ["lineitem.l_returnflag", "lineitem.l_linestatus"], "Plans": [{"Node Type": "Aggregate", "Strategy": "Hashed", "Partial Mode": "Partial", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 174400.56, "Total Cost": 174400.72, "Plan Rows": 6, "Plan Width": 236, "Output": ["l_returnflag", "l_linestatus", "PARTIAL sum(l_quantity)", "PARTIAL sum(l_extendedprice)", "PARTIAL sum((l_extendedprice * ('1'::numeric - l_discount)))", "PARTIAL sum(((l_extendedprice * ('1'::numeric - l_discount)) * ('1'::numeric + l_tax)))", "PARTIAL avg(l_quantity)", "PARTIAL avg(l_extendedprice)", "PARTIAL avg(l_discount)", "PARTIAL count(*)"], "Group Key": ["lineitem.l_returnflag", "lineitem.l_linestatus"], "Planned Partitions": 0, "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": true, "Relation Name": "lineitem", "Schema": "public", "Alias": "lineitem", "Startup Cost": 0.0, "Total Cost": 127506.04, "Plan Rows": 1172363, "Plan Width": 25, "Output": ["l_orderkey", "l_partkey", "l_suppkey", "l_linenumber", "l_quantity", "l_extendedprice", "l_discount", "l_tax", "l_returnflag", "l_linestatus", "l_shipdate", "l_commitdate", "l_receiptdate", "l_shipinstruct", "l_shipmode", "l_comment"], "Filter": "(lineitem.l_shipdate <= '1998-08-07 23:59:57'::timestamp without time zone)"}]}]}]}]}} diff --git a/dev9/pg13/tpch/sf_1/explain/15721/10-1.ok b/dev9/pg13/tpch/sf_1/explain/15721/10-1.ok new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/dev9/pg13/tpch/sf_1/explain/15721/10-1.res b/dev9/pg13/tpch/sf_1/explain/15721/10-1.res new file mode 100644 index 0000000000000000000000000000000000000000..f5e8315e389ab06b865d3e78beba328c0995251d --- /dev/null +++ b/dev9/pg13/tpch/sf_1/explain/15721/10-1.res @@ -0,0 +1 @@ +{"Plan": {"Node Type": "Limit", "Parallel Aware": false, "Startup Cost": 72167.6, "Total Cost": 72167.65, "Plan Rows": 20, "Plan Width": 202, "Output": ["customer.c_custkey", "customer.c_name", "(sum((lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount))))", "customer.c_acctbal", "nation.n_name", "customer.c_address", "customer.c_phone", "customer.c_comment"], "Plans": [{"Node Type": "Sort", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 72167.6, "Total Cost": 72303.28, "Plan Rows": 54273, "Plan Width": 202, "Output": ["customer.c_custkey", "customer.c_name", "(sum((lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount))))", "customer.c_acctbal", "nation.n_name", "customer.c_address", "customer.c_phone", "customer.c_comment"], "Sort Key": ["(sum((lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount)))) DESC"], "Plans": [{"Node Type": "Aggregate", "Strategy": "Sorted", "Partial Mode": "Simple", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 62945.75, "Total Cost": 70723.42, "Plan Rows": 54273, "Plan Width": 202, "Output": ["customer.c_custkey", "customer.c_name", "sum((lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount)))", "customer.c_acctbal", "nation.n_name", "customer.c_address", "customer.c_phone", "customer.c_comment"], "Group Key": ["customer.c_custkey", "nation.n_name"], "Plans": [{"Node Type": "Gather Merge", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 62945.75, "Total Cost": 69366.59, "Plan Rows": 54273, "Plan Width": 182, "Output": ["customer.c_custkey", "nation.n_name", "customer.c_name", "lineitem.l_extendedprice", "lineitem.l_discount", "customer.c_acctbal", "customer.c_address", "customer.c_phone", "customer.c_comment"], "Workers Planned": 3, "Plans": [{"Node Type": "Sort", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 61945.71, "Total Cost": 61989.47, "Plan Rows": 17507, "Plan Width": 182, "Output": ["customer.c_custkey", "nation.n_name", "customer.c_name", "lineitem.l_extendedprice", "lineitem.l_discount", "customer.c_acctbal", "customer.c_address", "customer.c_phone", "customer.c_comment"], "Sort Key": ["customer.c_custkey", "nation.n_name"], "Plans": [{"Node Type": "Hash Join", "Parent Relationship": "Outer", "Parallel Aware": false, "Join Type": "Inner", "Startup Cost": 5610.32, "Total Cost": 60711.84, "Plan Rows": 17507, "Plan Width": 182, "Output": ["customer.c_custkey", "nation.n_name", "customer.c_name", "lineitem.l_extendedprice", "lineitem.l_discount", "customer.c_acctbal", "customer.c_address", "customer.c_phone", "customer.c_comment"], "Inner Unique": true, "Hash Cond": "(customer.c_nationkey = nation.n_nationkey)", "Plans": [{"Node Type": "Hash Join", "Parent Relationship": "Outer", "Parallel Aware": true, "Join Type": "Inner", "Startup Cost": 5608.76, "Total Cost": 60656.54, "Plan Rows": 17507, "Plan Width": 160, "Output": ["customer.c_custkey", "customer.c_name", "customer.c_acctbal", "customer.c_address", "customer.c_phone", "customer.c_comment", "customer.c_nationkey", "lineitem.l_extendedprice", "lineitem.l_discount"], "Inner Unique": true, "Hash Cond": "(orders.o_custkey = customer.c_custkey)", "Plans": [{"Node Type": "Nested Loop", "Parent Relationship": "Outer", "Parallel Aware": false, "Join Type": "Inner", "Startup Cost": 617.51, "Total Cost": 55619.33, "Plan Rows": 17507, "Plan Width": 16, "Output": ["orders.o_custkey", "lineitem.l_extendedprice", "lineitem.l_discount"], "Inner Unique": false, "Plans": [{"Node Type": "Bitmap Heap Scan", "Parent Relationship": "Outer", "Parallel Aware": true, "Relation Name": "orders", "Schema": "public", "Alias": "orders", "Startup Cost": 617.07, "Total Cost": 26977.73, "Plan Rows": 17710, "Plan Width": 8, "Output": ["orders.o_orderkey", "orders.o_custkey", "orders.o_orderstatus", "orders.o_totalprice", "orders.o_orderdate", "orders.o_orderpriority", "orders.o_clerk", "orders.o_shippriority", "orders.o_comment"], "Recheck Cond": "((orders.o_orderdate >= '1993-02-01'::date) AND (orders.o_orderdate < '1993-05-01 00:00:00'::timestamp without time zone))", "Plans": [{"Node Type": "Bitmap Index Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Index Name": "o_od", "Startup Cost": 0.0, "Total Cost": 603.35, "Plan Rows": 54902, "Plan Width": 0, "Index Cond": "((orders.o_orderdate >= '1993-02-01'::date) AND (orders.o_orderdate < '1993-05-01 00:00:00'::timestamp without time zone))"}]}, {"Node Type": "Index Scan", "Parent Relationship": "Inner", "Parallel Aware": false, "Scan Direction": "Forward", "Index Name": "l_ok", "Relation Name": "lineitem", "Schema": "public", "Alias": "lineitem", "Startup Cost": 0.43, "Total Cost": 1.61, "Plan Rows": 1, "Plan Width": 16, "Output": ["lineitem.l_orderkey", "lineitem.l_partkey", "lineitem.l_suppkey", "lineitem.l_linenumber", "lineitem.l_quantity", "lineitem.l_extendedprice", "lineitem.l_discount", "lineitem.l_tax", "lineitem.l_returnflag", "lineitem.l_linestatus", "lineitem.l_shipdate", "lineitem.l_commitdate", "lineitem.l_receiptdate", "lineitem.l_shipinstruct", "lineitem.l_shipmode", "lineitem.l_comment"], "Index Cond": "(lineitem.l_orderkey = orders.o_orderkey)", "Filter": "(lineitem.l_returnflag = 'R'::bpchar)"}]}, {"Node Type": "Hash", "Parent Relationship": "Inner", "Parallel Aware": true, "Startup Cost": 4210.0, "Total Cost": 4210.0, "Plan Rows": 62500, "Plan Width": 148, "Output": ["customer.c_custkey", "customer.c_name", "customer.c_acctbal", "customer.c_address", "customer.c_phone", "customer.c_comment", "customer.c_nationkey"], "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": true, "Relation Name": "customer", "Schema": "public", "Alias": "customer", "Startup Cost": 0.0, "Total Cost": 4210.0, "Plan Rows": 62500, "Plan Width": 148, "Output": ["customer.c_custkey", "customer.c_name", "customer.c_acctbal", "customer.c_address", "customer.c_phone", "customer.c_comment", "customer.c_nationkey"]}]}]}, {"Node Type": "Hash", "Parent Relationship": "Inner", "Parallel Aware": false, "Startup Cost": 1.25, "Total Cost": 1.25, "Plan Rows": 25, "Plan Width": 30, "Output": ["nation.n_name", "nation.n_nationkey"], "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Relation Name": "nation", "Schema": "public", "Alias": "nation", "Startup Cost": 0.0, "Total Cost": 1.25, "Plan Rows": 25, "Plan Width": 30, "Output": ["nation.n_name", "nation.n_nationkey"]}]}]}]}]}]}]}]}} diff --git a/dev9/pg13/tpch/sf_1/explain/15721/11-1.ok b/dev9/pg13/tpch/sf_1/explain/15721/11-1.ok new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/dev9/pg13/tpch/sf_1/explain/15721/11-1.res b/dev9/pg13/tpch/sf_1/explain/15721/11-1.res new file mode 100644 index 0000000000000000000000000000000000000000..a26229e484a6db709f5782e256e717913c1664e5 --- /dev/null +++ b/dev9/pg13/tpch/sf_1/explain/15721/11-1.res @@ -0,0 +1 @@ +{"Plan": {"Node Type": "Sort", "Parallel Aware": false, "Startup Cost": 6221.11, "Total Cost": 6247.78, "Plan Rows": 10667, "Plan Width": 36, "Output": ["partsupp.ps_partkey", "(sum((partsupp.ps_supplycost * (partsupp.ps_availqty)::numeric)))"], "Sort Key": ["(sum((partsupp.ps_supplycost * (partsupp.ps_availqty)::numeric))) DESC"], "Plans": [{"Node Type": "Aggregate", "Strategy": "Plain", "Partial Mode": "Simple", "Parent Relationship": "InitPlan", "Subplan Name": "InitPlan 1 (returns $2)", "Parallel Aware": false, "Startup Cost": 2313.72, "Total Cost": 2313.73, "Plan Rows": 1, "Plan Width": 32, "Output": ["(sum((partsupp_1.ps_supplycost * (partsupp_1.ps_availqty)::numeric)) * 0.0001000000)"], "Plans": [{"Node Type": "Nested Loop", "Parent Relationship": "Outer", "Parallel Aware": false, "Join Type": "Inner", "Startup Cost": 4.91, "Total Cost": 2073.72, "Plan Rows": 32000, "Plan Width": 10, "Output": ["partsupp_1.ps_supplycost", "partsupp_1.ps_availqty"], "Inner Unique": false, "Plans": [{"Node Type": "Nested Loop", "Parent Relationship": "Outer", "Parallel Aware": false, "Join Type": "Inner", "Startup Cost": 4.48, "Total Cost": 226.33, "Plan Rows": 400, "Plan Width": 4, "Output": ["supplier_1.s_suppkey"], "Inner Unique": false, "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Relation Name": "nation", "Schema": "public", "Alias": "nation_1", "Startup Cost": 0.0, "Total Cost": 1.31, "Plan Rows": 1, "Plan Width": 4, "Output": ["nation_1.n_nationkey", "nation_1.n_name", "nation_1.n_regionkey", "nation_1.n_comment"], "Filter": "(nation_1.n_name = 'CHINA'::bpchar)"}, {"Node Type": "Bitmap Heap Scan", "Parent Relationship": "Inner", "Parallel Aware": false, "Relation Name": "supplier", "Schema": "public", "Alias": "supplier_1", "Startup Cost": 4.48, "Total Cost": 221.01, "Plan Rows": 400, "Plan Width": 8, "Output": ["supplier_1.s_suppkey", "supplier_1.s_name", "supplier_1.s_address", "supplier_1.s_nationkey", "supplier_1.s_phone", "supplier_1.s_acctbal", "supplier_1.s_comment"], "Recheck Cond": "(supplier_1.s_nationkey = nation_1.n_nationkey)", "Plans": [{"Node Type": "Bitmap Index Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Index Name": "s_nk", "Startup Cost": 0.0, "Total Cost": 4.38, "Plan Rows": 400, "Plan Width": 0, "Index Cond": "(supplier_1.s_nationkey = nation_1.n_nationkey)"}]}]}, {"Node Type": "Index Scan", "Parent Relationship": "Inner", "Parallel Aware": false, "Scan Direction": "Forward", "Index Name": "ps_sk", "Relation Name": "partsupp", "Schema": "public", "Alias": "partsupp_1", "Startup Cost": 0.42, "Total Cost": 3.82, "Plan Rows": 80, "Plan Width": 14, "Output": ["partsupp_1.ps_partkey", "partsupp_1.ps_suppkey", "partsupp_1.ps_availqty", "partsupp_1.ps_supplycost", "partsupp_1.ps_comment"], "Index Cond": "(partsupp_1.ps_suppkey = supplier_1.s_suppkey)"}]}]}, {"Node Type": "Aggregate", "Strategy": "Hashed", "Partial Mode": "Simple", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 2633.72, "Total Cost": 3193.72, "Plan Rows": 10667, "Plan Width": 36, "Output": ["partsupp.ps_partkey", "sum((partsupp.ps_supplycost * (partsupp.ps_availqty)::numeric))"], "Group Key": ["partsupp.ps_partkey"], "Filter": "(sum((partsupp.ps_supplycost * (partsupp.ps_availqty)::numeric)) > $2)", "Planned Partitions": 0, "Plans": [{"Node Type": "Nested Loop", "Parent Relationship": "Outer", "Parallel Aware": false, "Join Type": "Inner", "Startup Cost": 4.91, "Total Cost": 2073.72, "Plan Rows": 32000, "Plan Width": 14, "Output": ["partsupp.ps_partkey", "partsupp.ps_supplycost", "partsupp.ps_availqty"], "Inner Unique": false, "Plans": [{"Node Type": "Nested Loop", "Parent Relationship": "Outer", "Parallel Aware": false, "Join Type": "Inner", "Startup Cost": 4.48, "Total Cost": 226.33, "Plan Rows": 400, "Plan Width": 4, "Output": ["supplier.s_suppkey"], "Inner Unique": false, "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Relation Name": "nation", "Schema": "public", "Alias": "nation", "Startup Cost": 0.0, "Total Cost": 1.31, "Plan Rows": 1, "Plan Width": 4, "Output": ["nation.n_nationkey", "nation.n_name", "nation.n_regionkey", "nation.n_comment"], "Filter": "(nation.n_name = 'CHINA'::bpchar)"}, {"Node Type": "Bitmap Heap Scan", "Parent Relationship": "Inner", "Parallel Aware": false, "Relation Name": "supplier", "Schema": "public", "Alias": "supplier", "Startup Cost": 4.48, "Total Cost": 221.01, "Plan Rows": 400, "Plan Width": 8, "Output": ["supplier.s_suppkey", "supplier.s_name", "supplier.s_address", "supplier.s_nationkey", "supplier.s_phone", "supplier.s_acctbal", "supplier.s_comment"], "Recheck Cond": "(supplier.s_nationkey = nation.n_nationkey)", "Plans": [{"Node Type": "Bitmap Index Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Index Name": "s_nk", "Startup Cost": 0.0, "Total Cost": 4.38, "Plan Rows": 400, "Plan Width": 0, "Index Cond": "(supplier.s_nationkey = nation.n_nationkey)"}]}]}, {"Node Type": "Index Scan", "Parent Relationship": "Inner", "Parallel Aware": false, "Scan Direction": "Forward", "Index Name": "ps_sk", "Relation Name": "partsupp", "Schema": "public", "Alias": "partsupp", "Startup Cost": 0.42, "Total Cost": 3.82, "Plan Rows": 80, "Plan Width": 18, "Output": ["partsupp.ps_partkey", "partsupp.ps_suppkey", "partsupp.ps_availqty", "partsupp.ps_supplycost", "partsupp.ps_comment"], "Index Cond": "(partsupp.ps_suppkey = supplier.s_suppkey)"}]}]}]}} diff --git a/dev9/pg13/tpch/sf_1/explain/15721/12-1.ok b/dev9/pg13/tpch/sf_1/explain/15721/12-1.ok new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/dev9/pg13/tpch/sf_1/explain/15721/12-1.res b/dev9/pg13/tpch/sf_1/explain/15721/12-1.res new file mode 100644 index 0000000000000000000000000000000000000000..5fbacc5fd75f60a7e63cdff402cb6bee2dced20a --- /dev/null +++ b/dev9/pg13/tpch/sf_1/explain/15721/12-1.res @@ -0,0 +1 @@ +{"Plan": {"Node Type": "Aggregate", "Strategy": "Sorted", "Partial Mode": "Finalize", "Parallel Aware": false, "Startup Cost": 135683.04, "Total Cost": 135804.18, "Plan Rows": 7, "Plan Width": 27, "Output": ["lineitem.l_shipmode", "sum(CASE WHEN ((orders.o_orderpriority = '1-URGENT'::bpchar) OR (orders.o_orderpriority = '2-HIGH'::bpchar)) THEN 1 ELSE 0 END)", "sum(CASE WHEN ((orders.o_orderpriority <> '1-URGENT'::bpchar) AND (orders.o_orderpriority <> '2-HIGH'::bpchar)) THEN 1 ELSE 0 END)"], "Group Key": ["lineitem.l_shipmode"], "Plans": [{"Node Type": "Gather Merge", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 135683.04, "Total Cost": 135803.84, "Plan Rows": 35, "Plan Width": 27, "Output": ["lineitem.l_shipmode", "(PARTIAL sum(CASE WHEN ((orders.o_orderpriority = '1-URGENT'::bpchar) OR (orders.o_orderpriority = '2-HIGH'::bpchar)) THEN 1 ELSE 0 END))", "(PARTIAL sum(CASE WHEN ((orders.o_orderpriority <> '1-URGENT'::bpchar) AND (orders.o_orderpriority <> '2-HIGH'::bpchar)) THEN 1 ELSE 0 END))"], "Workers Planned": 5, "Plans": [{"Node Type": "Aggregate", "Strategy": "Sorted", "Partial Mode": "Partial", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 134682.96, "Total Cost": 134799.55, "Plan Rows": 7, "Plan Width": 27, "Output": ["lineitem.l_shipmode", "PARTIAL sum(CASE WHEN ((orders.o_orderpriority = '1-URGENT'::bpchar) OR (orders.o_orderpriority = '2-HIGH'::bpchar)) THEN 1 ELSE 0 END)", "PARTIAL sum(CASE WHEN ((orders.o_orderpriority <> '1-URGENT'::bpchar) AND (orders.o_orderpriority <> '2-HIGH'::bpchar)) THEN 1 ELSE 0 END)"], "Group Key": ["lineitem.l_shipmode"], "Plans": [{"Node Type": "Sort", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 134682.96, "Total Cost": 134697.53, "Plan Rows": 5826, "Plan Width": 27, "Output": ["lineitem.l_shipmode", "orders.o_orderpriority"], "Sort Key": ["lineitem.l_shipmode"], "Plans": [{"Node Type": "Nested Loop", "Parent Relationship": "Outer", "Parallel Aware": false, "Join Type": "Inner", "Startup Cost": 10071.4, "Total Cost": 134318.59, "Plan Rows": 5826, "Plan Width": 27, "Output": ["lineitem.l_shipmode", "orders.o_orderpriority"], "Inner Unique": true, "Plans": [{"Node Type": "Bitmap Heap Scan", "Parent Relationship": "Outer", "Parallel Aware": true, "Relation Name": "lineitem", "Schema": "public", "Alias": "lineitem", "Startup Cost": 10070.97, "Total Cost": 126707.43, "Plan Rows": 5826, "Plan Width": 15, "Output": ["lineitem.l_orderkey", "lineitem.l_partkey", "lineitem.l_suppkey", "lineitem.l_linenumber", "lineitem.l_quantity", "lineitem.l_extendedprice", "lineitem.l_discount", "lineitem.l_tax", "lineitem.l_returnflag", "lineitem.l_linestatus", "lineitem.l_shipdate", "lineitem.l_commitdate", "lineitem.l_receiptdate", "lineitem.l_shipinstruct", "lineitem.l_shipmode", "lineitem.l_comment"], "Recheck Cond": "((lineitem.l_receiptdate >= '1995-01-01'::date) AND (lineitem.l_receiptdate < '1996-01-01 00:00:00'::timestamp without time zone))", "Filter": "((lineitem.l_shipmode = ANY ('{MAIL,TRUCK}'::bpchar[])) AND (lineitem.l_commitdate < lineitem.l_receiptdate) AND (lineitem.l_shipdate < lineitem.l_commitdate))", "Plans": [{"Node Type": "Bitmap Index Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Index Name": "l_rd", "Startup Cost": 0.0, "Total Cost": 10063.69, "Plan Rows": 918546, "Plan Width": 0, "Index Cond": "((lineitem.l_receiptdate >= '1995-01-01'::date) AND (lineitem.l_receiptdate < '1996-01-01 00:00:00'::timestamp without time zone))"}]}, {"Node Type": "Index Scan", "Parent Relationship": "Inner", "Parallel Aware": false, "Scan Direction": "Forward", "Index Name": "o_ok", "Relation Name": "orders", "Schema": "public", "Alias": "orders", "Startup Cost": 0.43, "Total Cost": 1.31, "Plan Rows": 1, "Plan Width": 20, "Output": ["orders.o_orderkey", "orders.o_custkey", "orders.o_orderstatus", "orders.o_totalprice", "orders.o_orderdate", "orders.o_orderpriority", "orders.o_clerk", "orders.o_shippriority", "orders.o_comment"], "Index Cond": "(orders.o_orderkey = lineitem.l_orderkey)"}]}]}]}]}]}} diff --git a/dev9/pg13/tpch/sf_1/explain/15721/13-1.ok b/dev9/pg13/tpch/sf_1/explain/15721/13-1.ok new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/dev9/pg13/tpch/sf_1/explain/15721/13-1.res b/dev9/pg13/tpch/sf_1/explain/15721/13-1.res new file mode 100644 index 0000000000000000000000000000000000000000..6e4d4a152602ac3ff8a7ac1b2aaa274fd26f74e6 --- /dev/null +++ b/dev9/pg13/tpch/sf_1/explain/15721/13-1.res @@ -0,0 +1 @@ +{"Plan": {"Node Type": "Sort", "Parallel Aware": false, "Startup Cost": 64462.63, "Total Cost": 64463.13, "Plan Rows": 200, "Plan Width": 16, "Output": ["(count(orders.o_orderkey))", "(count(*))"], "Sort Key": ["(count(*)) DESC", "(count(orders.o_orderkey)) DESC"], "Plans": [{"Node Type": "Aggregate", "Strategy": "Hashed", "Partial Mode": "Simple", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 64452.99, "Total Cost": 64454.99, "Plan Rows": 200, "Plan Width": 16, "Output": ["(count(orders.o_orderkey))", "count(*)"], "Group Key": ["count(orders.o_orderkey)"], "Planned Partitions": 0, "Plans": [{"Node Type": "Aggregate", "Strategy": "Hashed", "Partial Mode": "Simple", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 60702.99, "Total Cost": 62202.99, "Plan Rows": 150000, "Plan Width": 12, "Output": ["customer.c_custkey", "count(orders.o_orderkey)"], "Group Key": ["customer.c_custkey"], "Planned Partitions": 0, "Plans": [{"Node Type": "Hash Join", "Parent Relationship": "Outer", "Parallel Aware": false, "Join Type": "Right", "Startup Cost": 4580.82, "Total Cost": 53308.2, "Plan Rows": 1478958, "Plan Width": 8, "Output": ["customer.c_custkey", "orders.o_orderkey"], "Inner Unique": true, "Hash Cond": "(orders.o_custkey = customer.c_custkey)", "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Relation Name": "orders", "Schema": "public", "Alias": "orders", "Startup Cost": 0.0, "Total Cost": 44845.0, "Plan Rows": 1478958, "Plan Width": 8, "Output": ["orders.o_orderkey", "orders.o_custkey", "orders.o_orderstatus", "orders.o_totalprice", "orders.o_orderdate", "orders.o_orderpriority", "orders.o_clerk", "orders.o_shippriority", "orders.o_comment"], "Filter": "((orders.o_comment)::text !~~ '%unusual%requests%'::text)"}, {"Node Type": "Hash", "Parent Relationship": "Inner", "Parallel Aware": false, "Startup Cost": 2705.82, "Total Cost": 2705.82, "Plan Rows": 150000, "Plan Width": 4, "Output": ["customer.c_custkey"], "Plans": [{"Node Type": "Index Only Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Scan Direction": "Forward", "Index Name": "c_ck", "Relation Name": "customer", "Schema": "public", "Alias": "customer", "Startup Cost": 0.42, "Total Cost": 2705.82, "Plan Rows": 150000, "Plan Width": 4, "Output": ["customer.c_custkey"]}]}]}]}]}]}} diff --git a/dev9/pg13/tpch/sf_1/explain/15721/14-1.ok b/dev9/pg13/tpch/sf_1/explain/15721/14-1.ok new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/dev9/pg13/tpch/sf_1/explain/15721/14-1.res b/dev9/pg13/tpch/sf_1/explain/15721/14-1.res new file mode 100644 index 0000000000000000000000000000000000000000..42c2f9fdd0859388deb711936a10c92fbddb0753 --- /dev/null +++ b/dev9/pg13/tpch/sf_1/explain/15721/14-1.res @@ -0,0 +1 @@ +{"Plan": {"Node Type": "Aggregate", "Strategy": "Plain", "Partial Mode": "Finalize", "Parallel Aware": false, "Startup Cost": 67114.41, "Total Cost": 67114.42, "Plan Rows": 1, "Plan Width": 32, "Output": ["((100.00 * sum(CASE WHEN ((part.p_type)::text ~~ 'PROMO%'::text) THEN (lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount)) ELSE '0'::numeric END)) / sum((lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount))))"], "Plans": [{"Node Type": "Gather", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 67113.95, "Total Cost": 67114.36, "Plan Rows": 4, "Plan Width": 64, "Output": ["(PARTIAL sum(CASE WHEN ((part.p_type)::text ~~ 'PROMO%'::text) THEN (lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount)) ELSE '0'::numeric END))", "(PARTIAL sum((lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount))))"], "Workers Planned": 4, "Single Copy": false, "Plans": [{"Node Type": "Aggregate", "Strategy": "Plain", "Partial Mode": "Partial", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 66113.95, "Total Cost": 66113.96, "Plan Rows": 1, "Plan Width": 64, "Output": ["PARTIAL sum(CASE WHEN ((part.p_type)::text ~~ 'PROMO%'::text) THEN (lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount)) ELSE '0'::numeric END)", "PARTIAL sum((lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount)))"], "Plans": [{"Node Type": "Hash Join", "Parent Relationship": "Outer", "Parallel Aware": true, "Join Type": "Inner", "Startup Cost": 6828.09, "Total Cost": 65780.19, "Plan Rows": 19072, "Plan Width": 33, "Output": ["part.p_type", "lineitem.l_extendedprice", "lineitem.l_discount"], "Inner Unique": true, "Hash Cond": "(lineitem.l_partkey = part.p_partkey)", "Plans": [{"Node Type": "Bitmap Heap Scan", "Parent Relationship": "Outer", "Parallel Aware": true, "Relation Name": "lineitem", "Schema": "public", "Alias": "lineitem", "Startup Cost": 856.09, "Total Cost": 59758.13, "Plan Rows": 19072, "Plan Width": 16, "Output": ["lineitem.l_orderkey", "lineitem.l_partkey", "lineitem.l_suppkey", "lineitem.l_linenumber", "lineitem.l_quantity", "lineitem.l_extendedprice", "lineitem.l_discount", "lineitem.l_tax", "lineitem.l_returnflag", "lineitem.l_linestatus", "lineitem.l_shipdate", "lineitem.l_commitdate", "lineitem.l_receiptdate", "lineitem.l_shipinstruct", "lineitem.l_shipmode", "lineitem.l_comment"], "Recheck Cond": "((lineitem.l_shipdate >= '1995-05-01'::date) AND (lineitem.l_shipdate < '1995-06-01 00:00:00'::timestamp without time zone))", "Plans": [{"Node Type": "Bitmap Index Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Index Name": "l_sd", "Startup Cost": 0.0, "Total Cost": 837.02, "Plan Rows": 76289, "Plan Width": 0, "Index Cond": "((lineitem.l_shipdate >= '1995-05-01'::date) AND (lineitem.l_shipdate < '1995-06-01 00:00:00'::timestamp without time zone))"}]}, {"Node Type": "Hash", "Parent Relationship": "Inner", "Parallel Aware": true, "Startup Cost": 4930.33, "Total Cost": 4930.33, "Plan Rows": 83333, "Plan Width": 25, "Output": ["part.p_type", "part.p_partkey"], "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": true, "Relation Name": "part", "Schema": "public", "Alias": "part", "Startup Cost": 0.0, "Total Cost": 4930.33, "Plan Rows": 83333, "Plan Width": 25, "Output": ["part.p_type", "part.p_partkey"]}]}]}]}]}]}} diff --git a/dev9/pg13/tpch/sf_1/explain/15721/15-1.ok b/dev9/pg13/tpch/sf_1/explain/15721/15-1.ok new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/dev9/pg13/tpch/sf_1/explain/15721/15-1.res b/dev9/pg13/tpch/sf_1/explain/15721/15-1.res new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/dev9/pg13/tpch/sf_1/explain/15721/15-2.ok b/dev9/pg13/tpch/sf_1/explain/15721/15-2.ok new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/dev9/pg13/tpch/sf_1/explain/15721/15-2.res b/dev9/pg13/tpch/sf_1/explain/15721/15-2.res new file mode 100644 index 0000000000000000000000000000000000000000..26d069a2936c5645880714add4d67f289008cd55 --- /dev/null +++ b/dev9/pg13/tpch/sf_1/explain/15721/15-2.res @@ -0,0 +1 @@ +{"Plan": {"Node Type": "Merge Join", "Parallel Aware": false, "Join Type": "Inner", "Startup Cost": 243698.93, "Total Cost": 244129.78, "Plan Rows": 50, "Plan Width": 103, "Output": ["supplier.s_suppkey", "supplier.s_name", "supplier.s_address", "supplier.s_phone", "revenue0.total_revenue"], "Inner Unique": true, "Merge Cond": "(supplier.s_suppkey = revenue0.supplier_no)", "Plans": [{"Node Type": "Aggregate", "Strategy": "Plain", "Partial Mode": "Simple", "Parent Relationship": "InitPlan", "Subplan Name": "InitPlan 1 (returns $0)", "Parallel Aware": false, "Startup Cost": 121028.79, "Total Cost": 121028.8, "Plan Rows": 1, "Plan Width": 32, "Output": ["max((sum((lineitem_1.l_extendedprice * ('1'::numeric - lineitem_1.l_discount)))))"], "Plans": [{"Node Type": "Aggregate", "Strategy": "Hashed", "Partial Mode": "Simple", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 120778.79, "Total Cost": 120903.79, "Plan Rows": 10000, "Plan Width": 36, "Output": ["lineitem_1.l_suppkey", "sum((lineitem_1.l_extendedprice * ('1'::numeric - lineitem_1.l_discount)))"], "Group Key": ["lineitem_1.l_suppkey"], "Planned Partitions": 0, "Plans": [{"Node Type": "Bitmap Heap Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Relation Name": "lineitem", "Schema": "public", "Alias": "lineitem_1", "Startup Cost": 2561.99, "Total Cost": 118493.27, "Plan Rows": 228552, "Plan Width": 16, "Output": ["lineitem_1.l_orderkey", "lineitem_1.l_partkey", "lineitem_1.l_suppkey", "lineitem_1.l_linenumber", "lineitem_1.l_quantity", "lineitem_1.l_extendedprice", "lineitem_1.l_discount", "lineitem_1.l_tax", "lineitem_1.l_returnflag", "lineitem_1.l_linestatus", "lineitem_1.l_shipdate", "lineitem_1.l_commitdate", "lineitem_1.l_receiptdate", "lineitem_1.l_shipinstruct", "lineitem_1.l_shipmode", "lineitem_1.l_comment"], "Recheck Cond": "((lineitem_1.l_shipdate >= '1995-01-01'::date) AND (lineitem_1.l_shipdate < '1995-04-01 00:00:00'::timestamp without time zone))", "Plans": [{"Node Type": "Bitmap Index Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Index Name": "l_sd", "Startup Cost": 0.0, "Total Cost": 2504.85, "Plan Rows": 228552, "Plan Width": 0, "Index Cond": "((lineitem_1.l_shipdate >= '1995-01-01'::date) AND (lineitem_1.l_shipdate < '1995-04-01 00:00:00'::timestamp without time zone))"}]}]}]}, {"Node Type": "Index Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Scan Direction": "Forward", "Index Name": "s_sk", "Relation Name": "supplier", "Schema": "public", "Alias": "supplier", "Startup Cost": 0.29, "Total Cost": 405.39, "Plan Rows": 10000, "Plan Width": 71, "Output": ["supplier.s_suppkey", "supplier.s_name", "supplier.s_address", "supplier.s_nationkey", "supplier.s_phone", "supplier.s_acctbal", "supplier.s_comment"]}, {"Node Type": "Sort", "Parent Relationship": "Inner", "Parallel Aware": false, "Startup Cost": 122669.84, "Total Cost": 122669.97, "Plan Rows": 50, "Plan Width": 36, "Output": ["revenue0.total_revenue", "revenue0.supplier_no"], "Sort Key": ["revenue0.supplier_no"], "Plans": [{"Node Type": "Subquery Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Alias": "revenue0", "Startup Cost": 122492.93, "Total Cost": 122668.43, "Plan Rows": 50, "Plan Width": 36, "Output": ["revenue0.total_revenue", "revenue0.supplier_no"], "Plans": [{"Node Type": "Aggregate", "Strategy": "Hashed", "Partial Mode": "Simple", "Parent Relationship": "Subquery", "Parallel Aware": false, "Startup Cost": 122492.93, "Total Cost": 122667.93, "Plan Rows": 50, "Plan Width": 36, "Output": ["lineitem.l_suppkey", "sum((lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount)))"], "Group Key": ["lineitem.l_suppkey"], "Filter": "(sum((lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount))) = $0)", "Planned Partitions": 0, "Plans": [{"Node Type": "Bitmap Heap Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Relation Name": "lineitem", "Schema": "public", "Alias": "lineitem", "Startup Cost": 2561.99, "Total Cost": 118493.27, "Plan Rows": 228552, "Plan Width": 16, "Output": ["lineitem.l_orderkey", "lineitem.l_partkey", "lineitem.l_suppkey", "lineitem.l_linenumber", "lineitem.l_quantity", "lineitem.l_extendedprice", "lineitem.l_discount", "lineitem.l_tax", "lineitem.l_returnflag", "lineitem.l_linestatus", "lineitem.l_shipdate", "lineitem.l_commitdate", "lineitem.l_receiptdate", "lineitem.l_shipinstruct", "lineitem.l_shipmode", "lineitem.l_comment"], "Recheck Cond": "((lineitem.l_shipdate >= '1995-01-01'::date) AND (lineitem.l_shipdate < '1995-04-01 00:00:00'::timestamp without time zone))", "Plans": [{"Node Type": "Bitmap Index Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Index Name": "l_sd", "Startup Cost": 0.0, "Total Cost": 2504.85, "Plan Rows": 228552, "Plan Width": 0, "Index Cond": "((lineitem.l_shipdate >= '1995-01-01'::date) AND (lineitem.l_shipdate < '1995-04-01 00:00:00'::timestamp without time zone))"}]}]}]}]}]}} diff --git a/dev9/pg13/tpch/sf_1/explain/15721/15-3.ok b/dev9/pg13/tpch/sf_1/explain/15721/15-3.ok new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/dev9/pg13/tpch/sf_1/explain/15721/15-3.res b/dev9/pg13/tpch/sf_1/explain/15721/15-3.res new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/dev9/pg13/tpch/sf_1/explain/15721/16-1.ok b/dev9/pg13/tpch/sf_1/explain/15721/16-1.ok new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/dev9/pg13/tpch/sf_1/explain/15721/16-1.res b/dev9/pg13/tpch/sf_1/explain/15721/16-1.res new file mode 100644 index 0000000000000000000000000000000000000000..58e7cc6a74fab3a9f531b4ffd88eef7c65f66d2b --- /dev/null +++ b/dev9/pg13/tpch/sf_1/explain/15721/16-1.res @@ -0,0 +1 @@ +{"Plan": {"Node Type": "Sort", "Parallel Aware": false, "Startup Cost": 26952.3, "Total Cost": 26992.42, "Plan Rows": 16050, "Plan Width": 44, "Output": ["part.p_brand", "part.p_type", "part.p_size", "(count(DISTINCT partsupp.ps_suppkey))"], "Sort Key": ["(count(DISTINCT partsupp.ps_suppkey)) DESC", "part.p_brand", "part.p_type", "part.p_size"], "Plans": [{"Node Type": "Aggregate", "Strategy": "Sorted", "Partial Mode": "Simple", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 17900.35, "Total Cost": 25831.18, "Plan Rows": 16050, "Plan Width": 44, "Output": ["part.p_brand", "part.p_type", "part.p_size", "count(DISTINCT partsupp.ps_suppkey)"], "Group Key": ["part.p_brand", "part.p_type", "part.p_size"], "Plans": [{"Node Type": "Gather Merge", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 17900.35, "Total Cost": 25071.74, "Plan Rows": 59894, "Plan Width": 40, "Output": ["part.p_brand", "part.p_type", "part.p_size", "partsupp.ps_suppkey"], "Workers Planned": 4, "Plans": [{"Node Type": "Sort", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 16900.3, "Total Cost": 16937.73, "Plan Rows": 14974, "Plan Width": 40, "Output": ["part.p_brand", "part.p_type", "part.p_size", "partsupp.ps_suppkey"], "Sort Key": ["part.p_brand", "part.p_type", "part.p_size"], "Plans": [{"Node Type": "Hash Join", "Parent Relationship": "Outer", "Parallel Aware": true, "Join Type": "Inner", "Startup Cost": 6683.74, "Total Cost": 15861.84, "Plan Rows": 14974, "Plan Width": 40, "Output": ["part.p_brand", "part.p_type", "part.p_size", "partsupp.ps_suppkey"], "Inner Unique": true, "Hash Cond": "(partsupp.ps_partkey = part.p_partkey)", "Plans": [{"Node Type": "Index Only Scan", "Parent Relationship": "Outer", "Parallel Aware": true, "Scan Direction": "Forward", "Index Name": "ps_pk_sk", "Relation Name": "partsupp", "Schema": "public", "Alias": "partsupp", "Startup Cost": 347.43, "Total Cost": 9263.03, "Plan Rows": 100000, "Plan Width": 8, "Output": ["partsupp.ps_partkey", "partsupp.ps_suppkey"], "Filter": "(NOT (hashed SubPlan 1))", "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "SubPlan", "Subplan Name": "SubPlan 1", "Parallel Aware": false, "Relation Name": "supplier", "Schema": "public", "Alias": "supplier", "Startup Cost": 0.0, "Total Cost": 347.0, "Plan Rows": 1, "Plan Width": 4, "Output": ["supplier.s_suppkey"], "Filter": "((supplier.s_comment)::text ~~ '%Customer%Complaints%'::text)"}]}, {"Node Type": "Hash", "Parent Relationship": "Inner", "Parallel Aware": true, "Startup Cost": 6180.33, "Total Cost": 6180.33, "Plan Rows": 12478, "Plan Width": 40, "Output": ["part.p_brand", "part.p_type", "part.p_size", "part.p_partkey"], "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": true, "Relation Name": "part", "Schema": "public", "Alias": "part", "Startup Cost": 0.0, "Total Cost": 6180.33, "Plan Rows": 12478, "Plan Width": 40, "Output": ["part.p_brand", "part.p_type", "part.p_size", "part.p_partkey"], "Filter": "((part.p_brand <> 'Brand#11'::bpchar) AND ((part.p_type)::text !~~ 'ECONOMY ANODIZED%'::text) AND (part.p_size = ANY ('{42,16,39,18,23,32,44,41}'::integer[])))"}]}]}]}]}]}]}} diff --git a/dev9/pg13/tpch/sf_1/explain/15721/17-1.ok b/dev9/pg13/tpch/sf_1/explain/15721/17-1.ok new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/dev9/pg13/tpch/sf_1/explain/15721/17-1.res b/dev9/pg13/tpch/sf_1/explain/15721/17-1.res new file mode 100644 index 0000000000000000000000000000000000000000..42fbb371cd0b436447acdbefa6557949352b5f40 --- /dev/null +++ b/dev9/pg13/tpch/sf_1/explain/15721/17-1.res @@ -0,0 +1 @@ +{"Plan": {"Node Type": "Aggregate", "Strategy": "Plain", "Partial Mode": "Simple", "Parallel Aware": false, "Startup Cost": 195005.52, "Total Cost": 195005.53, "Plan Rows": 1, "Plan Width": 32, "Output": ["(sum(lineitem.l_extendedprice) / 7.0)"], "Plans": [{"Node Type": "Hash Join", "Parent Relationship": "Outer", "Parallel Aware": false, "Join Type": "Inner", "Startup Cost": 6369.39, "Total Cost": 195000.54, "Plan Rows": 1990, "Plan Width": 8, "Output": ["lineitem.l_extendedprice"], "Inner Unique": true, "Hash Cond": "(lineitem.l_partkey = part.p_partkey)", "Join Filter": "(lineitem.l_quantity < (SubPlan 1))", "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Relation Name": "lineitem", "Schema": "public", "Alias": "lineitem", "Startup Cost": 0.0, "Total Cost": 172515.15, "Plan Rows": 6001215, "Plan Width": 17, "Output": ["lineitem.l_orderkey", "lineitem.l_partkey", "lineitem.l_suppkey", "lineitem.l_linenumber", "lineitem.l_quantity", "lineitem.l_extendedprice", "lineitem.l_discount", "lineitem.l_tax", "lineitem.l_returnflag", "lineitem.l_linestatus", "lineitem.l_shipdate", "lineitem.l_commitdate", "lineitem.l_receiptdate", "lineitem.l_shipinstruct", "lineitem.l_shipmode", "lineitem.l_comment"]}, {"Node Type": "Hash", "Parent Relationship": "Inner", "Parallel Aware": false, "Startup Cost": 6366.9, "Total Cost": 6366.9, "Plan Rows": 199, "Plan Width": 4, "Output": ["part.p_partkey"], "Plans": [{"Node Type": "Gather", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 1000.0, "Total Cost": 6366.9, "Plan Rows": 199, "Plan Width": 4, "Output": ["part.p_partkey"], "Workers Planned": 2, "Single Copy": false, "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": true, "Relation Name": "part", "Schema": "public", "Alias": "part", "Startup Cost": 0.0, "Total Cost": 5347.0, "Plan Rows": 83, "Plan Width": 4, "Output": ["part.p_partkey"], "Filter": "((part.p_brand = 'Brand#14'::bpchar) AND (part.p_container = 'WRAP BOX'::bpchar))"}]}]}, {"Node Type": "Aggregate", "Strategy": "Plain", "Partial Mode": "Simple", "Parent Relationship": "SubPlan", "Subplan Name": "SubPlan 1", "Parallel Aware": false, "Startup Cost": 36.25, "Total Cost": 36.27, "Plan Rows": 1, "Plan Width": 32, "Output": ["(0.2 * avg(lineitem_1.l_quantity))"], "Plans": [{"Node Type": "Index Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Scan Direction": "Forward", "Index Name": "l_pk", "Relation Name": "lineitem", "Schema": "public", "Alias": "lineitem_1", "Startup Cost": 0.43, "Total Cost": 36.17, "Plan Rows": 31, "Plan Width": 5, "Output": ["lineitem_1.l_orderkey", "lineitem_1.l_partkey", "lineitem_1.l_suppkey", "lineitem_1.l_linenumber", "lineitem_1.l_quantity", "lineitem_1.l_extendedprice", "lineitem_1.l_discount", "lineitem_1.l_tax", "lineitem_1.l_returnflag", "lineitem_1.l_linestatus", "lineitem_1.l_shipdate", "lineitem_1.l_commitdate", "lineitem_1.l_receiptdate", "lineitem_1.l_shipinstruct", "lineitem_1.l_shipmode", "lineitem_1.l_comment"], "Index Cond": "(lineitem_1.l_partkey = part.p_partkey)"}]}]}]}} diff --git a/dev9/pg13/tpch/sf_1/explain/15721/18-1.ok b/dev9/pg13/tpch/sf_1/explain/15721/18-1.ok new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/dev9/pg13/tpch/sf_1/explain/15721/18-1.res b/dev9/pg13/tpch/sf_1/explain/15721/18-1.res new file mode 100644 index 0000000000000000000000000000000000000000..4a9a702343081037427a0af7e2dcedbf77b3c793 --- /dev/null +++ b/dev9/pg13/tpch/sf_1/explain/15721/18-1.res @@ -0,0 +1 @@ +{"Plan": {"Node Type": "Limit", "Parallel Aware": false, "Startup Cost": 731495.54, "Total Cost": 731495.79, "Plan Rows": 100, "Plan Width": 71, "Output": ["customer.c_name", "customer.c_custkey", "orders.o_orderkey", "orders.o_orderdate", "orders.o_totalprice", "(sum(lineitem.l_quantity))"], "Plans": [{"Node Type": "Sort", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 731495.54, "Total Cost": 735508.88, "Plan Rows": 1605337, "Plan Width": 71, "Output": ["customer.c_name", "customer.c_custkey", "orders.o_orderkey", "orders.o_orderdate", "orders.o_totalprice", "(sum(lineitem.l_quantity))"], "Sort Key": ["orders.o_totalprice DESC", "orders.o_orderdate"], "Plans": [{"Node Type": "Aggregate", "Strategy": "Sorted", "Partial Mode": "Simple", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 314266.48, "Total Cost": 670140.71, "Plan Rows": 1605337, "Plan Width": 71, "Output": ["customer.c_name", "customer.c_custkey", "orders.o_orderkey", "orders.o_orderdate", "orders.o_totalprice", "sum(lineitem.l_quantity)"], "Group Key": ["customer.c_custkey", "orders.o_orderkey"], "Plans": [{"Node Type": "Nested Loop", "Parent Relationship": "Outer", "Parallel Aware": false, "Join Type": "Inner", "Startup Cost": 314266.48, "Total Cost": 638033.97, "Plan Rows": 1605337, "Plan Width": 44, "Output": ["customer.c_custkey", "orders.o_orderkey", "customer.c_name", "orders.o_orderdate", "orders.o_totalprice", "lineitem.l_quantity"], "Inner Unique": false, "Plans": [{"Node Type": "Merge Join", "Parent Relationship": "Outer", "Parallel Aware": false, "Join Type": "Inner", "Startup Cost": 314266.04, "Total Cost": 373417.76, "Plan Rows": 401253, "Plan Width": 43, "Output": ["customer.c_name", "customer.c_custkey", "orders.o_orderkey", "orders.o_orderdate", "orders.o_totalprice", "lineitem_1.l_orderkey"], "Inner Unique": true, "Merge Cond": "(orders.o_custkey = customer.c_custkey)", "Plans": [{"Node Type": "Gather Merge", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 314265.45, "Total Cost": 361736.26, "Plan Rows": 401253, "Plan Width": 24, "Output": ["orders.o_orderkey", "orders.o_orderdate", "orders.o_totalprice", "orders.o_custkey", "lineitem_1.l_orderkey"], "Workers Planned": 3, "Plans": [{"Node Type": "Sort", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 313265.41, "Total Cost": 313589.0, "Plan Rows": 129436, "Plan Width": 24, "Output": ["orders.o_orderkey", "orders.o_orderdate", "orders.o_totalprice", "orders.o_custkey", "lineitem_1.l_orderkey"], "Sort Key": ["orders.o_custkey", "orders.o_orderkey"], "Plans": [{"Node Type": "Hash Join", "Parent Relationship": "Outer", "Parallel Aware": false, "Join Type": "Inner", "Startup Cost": 270071.2, "Total Cost": 302275.07, "Plan Rows": 129436, "Plan Width": 24, "Output": ["orders.o_orderkey", "orders.o_orderdate", "orders.o_totalprice", "orders.o_custkey", "lineitem_1.l_orderkey"], "Inner Unique": true, "Hash Cond": "(orders.o_orderkey = lineitem_1.l_orderkey)", "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": true, "Relation Name": "orders", "Schema": "public", "Alias": "orders", "Startup Cost": 0.0, "Total Cost": 30933.71, "Plan Rows": 483871, "Plan Width": 20, "Output": ["orders.o_orderkey", "orders.o_custkey", "orders.o_orderstatus", "orders.o_totalprice", "orders.o_orderdate", "orders.o_orderpriority", "orders.o_clerk", "orders.o_shippriority", "orders.o_comment"]}, {"Node Type": "Hash", "Parent Relationship": "Inner", "Parallel Aware": false, "Startup Cost": 265055.54, "Total Cost": 265055.54, "Plan Rows": 401253, "Plan Width": 4, "Output": ["lineitem_1.l_orderkey"], "Plans": [{"Node Type": "Aggregate", "Strategy": "Sorted", "Partial Mode": "Simple", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 0.43, "Total Cost": 261043.01, "Plan Rows": 401253, "Plan Width": 4, "Output": ["lineitem_1.l_orderkey"], "Group Key": ["lineitem_1.l_orderkey"], "Filter": "(sum(lineitem_1.l_quantity) > '314'::numeric)", "Plans": [{"Node Type": "Index Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Scan Direction": "Forward", "Index Name": "l_ok", "Relation Name": "lineitem", "Schema": "public", "Alias": "lineitem_1", "Startup Cost": 0.43, "Total Cost": 212980.57, "Plan Rows": 6001215, "Plan Width": 9, "Output": ["lineitem_1.l_orderkey", "lineitem_1.l_partkey", "lineitem_1.l_suppkey", "lineitem_1.l_linenumber", "lineitem_1.l_quantity", "lineitem_1.l_extendedprice", "lineitem_1.l_discount", "lineitem_1.l_tax", "lineitem_1.l_returnflag", "lineitem_1.l_linestatus", "lineitem_1.l_shipdate", "lineitem_1.l_commitdate", "lineitem_1.l_receiptdate", "lineitem_1.l_shipinstruct", "lineitem_1.l_shipmode", "lineitem_1.l_comment"]}]}]}]}]}]}, {"Node Type": "Index Scan", "Parent Relationship": "Inner", "Parallel Aware": false, "Scan Direction": "Forward", "Index Name": "c_ck", "Relation Name": "customer", "Schema": "public", "Alias": "customer", "Startup Cost": 0.42, "Total Cost": 6290.92, "Plan Rows": 150000, "Plan Width": 23, "Output": ["customer.c_custkey", "customer.c_name", "customer.c_address", "customer.c_nationkey", "customer.c_phone", "customer.c_acctbal", "customer.c_mktsegment", "customer.c_comment"]}]}, {"Node Type": "Index Scan", "Parent Relationship": "Inner", "Parallel Aware": false, "Scan Direction": "Forward", "Index Name": "l_ok", "Relation Name": "lineitem", "Schema": "public", "Alias": "lineitem", "Startup Cost": 0.43, "Total Cost": 0.61, "Plan Rows": 5, "Plan Width": 9, "Output": ["lineitem.l_orderkey", "lineitem.l_partkey", "lineitem.l_suppkey", "lineitem.l_linenumber", "lineitem.l_quantity", "lineitem.l_extendedprice", "lineitem.l_discount", "lineitem.l_tax", "lineitem.l_returnflag", "lineitem.l_linestatus", "lineitem.l_shipdate", "lineitem.l_commitdate", "lineitem.l_receiptdate", "lineitem.l_shipinstruct", "lineitem.l_shipmode", "lineitem.l_comment"], "Index Cond": "(lineitem.l_orderkey = orders.o_orderkey)"}]}]}]}]}} diff --git a/dev9/pg13/tpch/sf_1/explain/15721/19-1.ok b/dev9/pg13/tpch/sf_1/explain/15721/19-1.ok new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/dev9/pg13/tpch/sf_1/explain/15721/19-1.res b/dev9/pg13/tpch/sf_1/explain/15721/19-1.res new file mode 100644 index 0000000000000000000000000000000000000000..817a65ef22bb5fd1a2128abe184299b96fc138eb --- /dev/null +++ b/dev9/pg13/tpch/sf_1/explain/15721/19-1.res @@ -0,0 +1 @@ +{"Plan": {"Node Type": "Aggregate", "Strategy": "Plain", "Partial Mode": "Finalize", "Parallel Aware": false, "Startup Cost": 15848.43, "Total Cost": 15848.44, "Plan Rows": 1, "Plan Width": 32, "Output": ["sum((lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount)))"], "Plans": [{"Node Type": "Gather", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 15848.21, "Total Cost": 15848.42, "Plan Rows": 2, "Plan Width": 32, "Output": ["(PARTIAL sum((lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount))))"], "Workers Planned": 2, "Single Copy": false, "Plans": [{"Node Type": "Aggregate", "Strategy": "Plain", "Partial Mode": "Partial", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 14848.21, "Total Cost": 14848.22, "Plan Rows": 1, "Plan Width": 32, "Output": ["PARTIAL sum((lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount)))"], "Plans": [{"Node Type": "Nested Loop", "Parent Relationship": "Outer", "Parallel Aware": false, "Join Type": "Inner", "Startup Cost": 0.43, "Total Cost": 14847.85, "Plan Rows": 48, "Plan Width": 12, "Output": ["lineitem.l_extendedprice", "lineitem.l_discount"], "Inner Unique": false, "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": true, "Relation Name": "part", "Schema": "public", "Alias": "part", "Startup Cost": 0.0, "Total Cost": 7638.67, "Plan Rows": 200, "Plan Width": 30, "Output": ["part.p_partkey", "part.p_name", "part.p_mfgr", "part.p_brand", "part.p_type", "part.p_size", "part.p_container", "part.p_retailprice", "part.p_comment"], "Filter": "((part.p_size >= 1) AND (((part.p_brand = 'Brand#52'::bpchar) AND (part.p_container = ANY ('{\"SM CASE\",\"SM BOX\",\"SM PACK\",\"SM PKG\"}'::bpchar[])) AND (part.p_size <= 5)) OR ((part.p_brand = 'Brand#42'::bpchar) AND (part.p_container = ANY ('{\"MED BAG\",\"MED BOX\",\"MED PKG\",\"MED PACK\"}'::bpchar[])) AND (part.p_size <= 10)) OR ((part.p_brand = 'Brand#23'::bpchar) AND (part.p_container = ANY ('{\"LG CASE\",\"LG BOX\",\"LG PACK\",\"LG PKG\"}'::bpchar[])) AND (part.p_size <= 15))))"}, {"Node Type": "Index Scan", "Parent Relationship": "Inner", "Parallel Aware": false, "Scan Direction": "Forward", "Index Name": "l_pk", "Relation Name": "lineitem", "Schema": "public", "Alias": "lineitem", "Startup Cost": 0.43, "Total Cost": 36.04, "Plan Rows": 1, "Plan Width": 21, "Output": ["lineitem.l_orderkey", "lineitem.l_partkey", "lineitem.l_suppkey", "lineitem.l_linenumber", "lineitem.l_quantity", "lineitem.l_extendedprice", "lineitem.l_discount", "lineitem.l_tax", "lineitem.l_returnflag", "lineitem.l_linestatus", "lineitem.l_shipdate", "lineitem.l_commitdate", "lineitem.l_receiptdate", "lineitem.l_shipinstruct", "lineitem.l_shipmode", "lineitem.l_comment"], "Index Cond": "(lineitem.l_partkey = part.p_partkey)", "Filter": "((lineitem.l_shipmode = ANY ('{AIR,\"AIR REG\"}'::bpchar[])) AND (lineitem.l_shipinstruct = 'DELIVER IN PERSON'::bpchar) AND (((lineitem.l_quantity >= '9'::numeric) AND (lineitem.l_quantity <= '19'::numeric)) OR ((lineitem.l_quantity >= '18'::numeric) AND (lineitem.l_quantity <= '28'::numeric)) OR ((lineitem.l_quantity >= '22'::numeric) AND (lineitem.l_quantity <= '32'::numeric))) AND (((part.p_brand = 'Brand#52'::bpchar) AND (part.p_container = ANY ('{\"SM CASE\",\"SM BOX\",\"SM PACK\",\"SM PKG\"}'::bpchar[])) AND (lineitem.l_quantity >= '9'::numeric) AND (lineitem.l_quantity <= '19'::numeric) AND (part.p_size <= 5)) OR ((part.p_brand = 'Brand#42'::bpchar) AND (part.p_container = ANY ('{\"MED BAG\",\"MED BOX\",\"MED PKG\",\"MED PACK\"}'::bpchar[])) AND (lineitem.l_quantity >= '18'::numeric) AND (lineitem.l_quantity <= '28'::numeric) AND (part.p_size <= 10)) OR ((part.p_brand = 'Brand#23'::bpchar) AND (part.p_container = ANY ('{\"LG CASE\",\"LG BOX\",\"LG PACK\",\"LG PKG\"}'::bpchar[])) AND (lineitem.l_quantity >= '22'::numeric) AND (lineitem.l_quantity <= '32'::numeric) AND (part.p_size <= 15))))"}]}]}]}]}} diff --git a/dev9/pg13/tpch/sf_1/explain/15721/2-1.ok b/dev9/pg13/tpch/sf_1/explain/15721/2-1.ok new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/dev9/pg13/tpch/sf_1/explain/15721/2-1.res b/dev9/pg13/tpch/sf_1/explain/15721/2-1.res new file mode 100644 index 0000000000000000000000000000000000000000..2d345aadfb833f615fa9e3a28ed980feeddeb23a --- /dev/null +++ b/dev9/pg13/tpch/sf_1/explain/15721/2-1.res @@ -0,0 +1 @@ +{"Plan": {"Node Type": "Limit", "Parallel Aware": false, "Startup Cost": 31714.18, "Total Cost": 31714.18, "Plan Rows": 1, "Plan Width": 192, "Output": ["supplier.s_acctbal", "supplier.s_name", "nation.n_name", "part.p_partkey", "part.p_mfgr", "supplier.s_address", "supplier.s_phone", "supplier.s_comment"], "Plans": [{"Node Type": "Sort", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 31714.18, "Total Cost": 31714.18, "Plan Rows": 1, "Plan Width": 192, "Output": ["supplier.s_acctbal", "supplier.s_name", "nation.n_name", "part.p_partkey", "part.p_mfgr", "supplier.s_address", "supplier.s_phone", "supplier.s_comment"], "Sort Key": ["supplier.s_acctbal DESC", "nation.n_name", "supplier.s_name", "part.p_partkey"], "Plans": [{"Node Type": "Hash Join", "Parent Relationship": "Outer", "Parallel Aware": false, "Join Type": "Inner", "Startup Cost": 16654.22, "Total Cost": 31714.17, "Plan Rows": 1, "Plan Width": 192, "Output": ["supplier.s_acctbal", "supplier.s_name", "nation.n_name", "part.p_partkey", "part.p_mfgr", "supplier.s_address", "supplier.s_phone", "supplier.s_comment"], "Inner Unique": false, "Hash Cond": "((part.p_partkey = partsupp.ps_partkey) AND ((SubPlan 1) = partsupp.ps_supplycost))", "Plans": [{"Node Type": "Gather", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 1000.0, "Total Cost": 6426.0, "Plan Rows": 790, "Plan Width": 30, "Output": ["part.p_partkey", "part.p_mfgr"], "Workers Planned": 2, "Single Copy": false, "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": true, "Relation Name": "part", "Schema": "public", "Alias": "part", "Startup Cost": 0.0, "Total Cost": 5347.0, "Plan Rows": 329, "Plan Width": 30, "Output": ["part.p_partkey", "part.p_mfgr"], "Filter": "(((part.p_type)::text ~~ '%TIN'::text) AND (part.p_size = 44))"}]}, {"Node Type": "Hash", "Parent Relationship": "Inner", "Parallel Aware": false, "Startup Cost": 9347.22, "Total Cost": 9347.22, "Plan Rows": 160000, "Plan Width": 172, "Output": ["supplier.s_acctbal", "supplier.s_name", "supplier.s_address", "supplier.s_phone", "supplier.s_comment", "partsupp.ps_partkey", "partsupp.ps_supplycost", "nation.n_name"], "Plans": [{"Node Type": "Nested Loop", "Parent Relationship": "Outer", "Parallel Aware": false, "Join Type": "Inner", "Startup Cost": 0.71, "Total Cost": 9347.22, "Plan Rows": 160000, "Plan Width": 172, "Output": ["supplier.s_acctbal", "supplier.s_name", "supplier.s_address", "supplier.s_phone", "supplier.s_comment", "partsupp.ps_partkey", "partsupp.ps_supplycost", "nation.n_name"], "Inner Unique": false, "Plans": [{"Node Type": "Nested Loop", "Parent Relationship": "Outer", "Parallel Aware": false, "Join Type": "Inner", "Startup Cost": 0.29, "Total Cost": 110.28, "Plan Rows": 2000, "Plan Width": 166, "Output": ["supplier.s_acctbal", "supplier.s_name", "supplier.s_address", "supplier.s_phone", "supplier.s_comment", "supplier.s_suppkey", "nation.n_name"], "Inner Unique": false, "Plans": [{"Node Type": "Nested Loop", "Parent Relationship": "Outer", "Parallel Aware": false, "Join Type": "Inner", "Startup Cost": 0.0, "Total Cost": 2.62, "Plan Rows": 5, "Plan Width": 30, "Output": ["nation.n_name", "nation.n_nationkey"], "Inner Unique": false, "Join Filter": "(nation.n_regionkey = region.r_regionkey)", "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Relation Name": "region", "Schema": "public", "Alias": "region", "Startup Cost": 0.0, "Total Cost": 1.06, "Plan Rows": 1, "Plan Width": 4, "Output": ["region.r_regionkey", "region.r_name", "region.r_comment"], "Filter": "(region.r_name = 'EUROPE'::bpchar)"}, {"Node Type": "Seq Scan", "Parent Relationship": "Inner", "Parallel Aware": false, "Relation Name": "nation", "Schema": "public", "Alias": "nation", "Startup Cost": 0.0, "Total Cost": 1.25, "Plan Rows": 25, "Plan Width": 34, "Output": ["nation.n_nationkey", "nation.n_name", "nation.n_regionkey", "nation.n_comment"]}]}, {"Node Type": "Index Scan", "Parent Relationship": "Inner", "Parallel Aware": false, "Scan Direction": "Forward", "Index Name": "s_nk", "Relation Name": "supplier", "Schema": "public", "Alias": "supplier", "Startup Cost": 0.29, "Total Cost": 17.53, "Plan Rows": 400, "Plan Width": 144, "Output": ["supplier.s_suppkey", "supplier.s_name", "supplier.s_address", "supplier.s_nationkey", "supplier.s_phone", "supplier.s_acctbal", "supplier.s_comment"], "Index Cond": "(supplier.s_nationkey = nation.n_nationkey)"}]}, {"Node Type": "Index Scan", "Parent Relationship": "Inner", "Parallel Aware": false, "Scan Direction": "Forward", "Index Name": "ps_sk", "Relation Name": "partsupp", "Schema": "public", "Alias": "partsupp", "Startup Cost": 0.42, "Total Cost": 3.82, "Plan Rows": 80, "Plan Width": 14, "Output": ["partsupp.ps_partkey", "partsupp.ps_suppkey", "partsupp.ps_availqty", "partsupp.ps_supplycost", "partsupp.ps_comment"], "Index Cond": "(partsupp.ps_suppkey = supplier.s_suppkey)"}]}]}, {"Node Type": "Aggregate", "Strategy": "Plain", "Partial Mode": "Simple", "Parent Relationship": "SubPlan", "Subplan Name": "SubPlan 1", "Parallel Aware": false, "Startup Cost": 14.44, "Total Cost": 14.45, "Plan Rows": 1, "Plan Width": 32, "Output": ["min(partsupp_1.ps_supplycost)"], "Plans": [{"Node Type": "Nested Loop", "Parent Relationship": "Outer", "Parallel Aware": false, "Join Type": "Inner", "Startup Cost": 0.85, "Total Cost": 14.44, "Plan Rows": 1, "Plan Width": 6, "Output": ["partsupp_1.ps_supplycost"], "Inner Unique": false, "Join Filter": "(nation_1.n_regionkey = region_1.r_regionkey)", "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Relation Name": "region", "Schema": "public", "Alias": "region_1", "Startup Cost": 0.0, "Total Cost": 1.06, "Plan Rows": 1, "Plan Width": 4, "Output": ["region_1.r_regionkey", "region_1.r_name", "region_1.r_comment"], "Filter": "(region_1.r_name = 'EUROPE'::bpchar)"}, {"Node Type": "Nested Loop", "Parent Relationship": "Inner", "Parallel Aware": false, "Join Type": "Inner", "Startup Cost": 0.85, "Total Cost": 13.33, "Plan Rows": 4, "Plan Width": 10, "Output": ["partsupp_1.ps_supplycost", "nation_1.n_regionkey"], "Inner Unique": true, "Plans": [{"Node Type": "Nested Loop", "Parent Relationship": "Outer", "Parallel Aware": false, "Join Type": "Inner", "Startup Cost": 0.71, "Total Cost": 12.71, "Plan Rows": 4, "Plan Width": 10, "Output": ["partsupp_1.ps_supplycost", "supplier_1.s_nationkey"], "Inner Unique": true, "Plans": [{"Node Type": "Index Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Scan Direction": "Forward", "Index Name": "ps_pk", "Relation Name": "partsupp", "Schema": "public", "Alias": "partsupp_1", "Startup Cost": 0.42, "Total Cost": 2.7, "Plan Rows": 4, "Plan Width": 10, "Output": ["partsupp_1.ps_partkey", "partsupp_1.ps_suppkey", "partsupp_1.ps_availqty", "partsupp_1.ps_supplycost", "partsupp_1.ps_comment"], "Index Cond": "(partsupp_1.ps_partkey = part.p_partkey)"}, {"Node Type": "Index Scan", "Parent Relationship": "Inner", "Parallel Aware": false, "Scan Direction": "Forward", "Index Name": "s_sk", "Relation Name": "supplier", "Schema": "public", "Alias": "supplier_1", "Startup Cost": 0.29, "Total Cost": 2.5, "Plan Rows": 1, "Plan Width": 8, "Output": ["supplier_1.s_suppkey", "supplier_1.s_name", "supplier_1.s_address", "supplier_1.s_nationkey", "supplier_1.s_phone", "supplier_1.s_acctbal", "supplier_1.s_comment"], "Index Cond": "(supplier_1.s_suppkey = partsupp_1.ps_suppkey)"}]}, {"Node Type": "Index Scan", "Parent Relationship": "Inner", "Parallel Aware": false, "Scan Direction": "Forward", "Index Name": "n_nk", "Relation Name": "nation", "Schema": "public", "Alias": "nation_1", "Startup Cost": 0.14, "Total Cost": 0.16, "Plan Rows": 1, "Plan Width": 8, "Output": ["nation_1.n_nationkey", "nation_1.n_name", "nation_1.n_regionkey", "nation_1.n_comment"], "Index Cond": "(nation_1.n_nationkey = supplier_1.s_nationkey)"}]}]}]}]}]}]}} diff --git a/dev9/pg13/tpch/sf_1/explain/15721/20-1.ok b/dev9/pg13/tpch/sf_1/explain/15721/20-1.ok new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/dev9/pg13/tpch/sf_1/explain/15721/20-1.res b/dev9/pg13/tpch/sf_1/explain/15721/20-1.res new file mode 100644 index 0000000000000000000000000000000000000000..f14b2f0361730263d5a23e9aeda552b2054edc40 --- /dev/null +++ b/dev9/pg13/tpch/sf_1/explain/15721/20-1.res @@ -0,0 +1 @@ +{"Plan": {"Node Type": "Sort", "Parallel Aware": false, "Startup Cost": 37666.18, "Total Cost": 37666.5, "Plan Rows": 128, "Plan Width": 51, "Output": ["supplier.s_name", "supplier.s_address"], "Sort Key": ["supplier.s_name"], "Plans": [{"Node Type": "Hash Join", "Parent Relationship": "Outer", "Parallel Aware": false, "Join Type": "Semi", "Startup Cost": 37437.22, "Total Cost": 37661.7, "Plan Rows": 128, "Plan Width": 51, "Output": ["supplier.s_name", "supplier.s_address"], "Inner Unique": false, "Hash Cond": "(supplier.s_suppkey = partsupp.ps_suppkey)", "Plans": [{"Node Type": "Nested Loop", "Parent Relationship": "Outer", "Parallel Aware": false, "Join Type": "Inner", "Startup Cost": 4.48, "Total Cost": 226.33, "Plan Rows": 400, "Plan Width": 55, "Output": ["supplier.s_name", "supplier.s_address", "supplier.s_suppkey"], "Inner Unique": false, "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Relation Name": "nation", "Schema": "public", "Alias": "nation", "Startup Cost": 0.0, "Total Cost": 1.31, "Plan Rows": 1, "Plan Width": 4, "Output": ["nation.n_nationkey", "nation.n_name", "nation.n_regionkey", "nation.n_comment"], "Filter": "(nation.n_name = 'GERMANY'::bpchar)"}, {"Node Type": "Bitmap Heap Scan", "Parent Relationship": "Inner", "Parallel Aware": false, "Relation Name": "supplier", "Schema": "public", "Alias": "supplier", "Startup Cost": 4.48, "Total Cost": 221.01, "Plan Rows": 400, "Plan Width": 59, "Output": ["supplier.s_suppkey", "supplier.s_name", "supplier.s_address", "supplier.s_nationkey", "supplier.s_phone", "supplier.s_acctbal", "supplier.s_comment"], "Recheck Cond": "(supplier.s_nationkey = nation.n_nationkey)", "Plans": [{"Node Type": "Bitmap Index Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Index Name": "s_nk", "Startup Cost": 0.0, "Total Cost": 4.38, "Plan Rows": 400, "Plan Width": 0, "Index Cond": "(supplier.s_nationkey = nation.n_nationkey)"}]}]}, {"Node Type": "Hash", "Parent Relationship": "Inner", "Parallel Aware": false, "Startup Cost": 37392.65, "Total Cost": 37392.65, "Plan Rows": 3207, "Plan Width": 4, "Output": ["partsupp.ps_suppkey"], "Plans": [{"Node Type": "Nested Loop", "Parent Relationship": "Outer", "Parallel Aware": false, "Join Type": "Inner", "Startup Cost": 0.42, "Total Cost": 37392.65, "Plan Rows": 3207, "Plan Width": 4, "Output": ["partsupp.ps_suppkey"], "Inner Unique": false, "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Relation Name": "part", "Schema": "public", "Alias": "part", "Startup Cost": 0.0, "Total Cost": 6597.0, "Plan Rows": 2405, "Plan Width": 4, "Output": ["part.p_partkey", "part.p_name", "part.p_mfgr", "part.p_brand", "part.p_type", "part.p_size", "part.p_container", "part.p_retailprice", "part.p_comment"], "Filter": "((part.p_name)::text ~~ 'floral%'::text)"}, {"Node Type": "Index Scan", "Parent Relationship": "Inner", "Parallel Aware": false, "Scan Direction": "Forward", "Index Name": "ps_pk", "Relation Name": "partsupp", "Schema": "public", "Alias": "partsupp", "Startup Cost": 0.42, "Total Cost": 12.79, "Plan Rows": 1, "Plan Width": 8, "Output": ["partsupp.ps_partkey", "partsupp.ps_suppkey", "partsupp.ps_availqty", "partsupp.ps_supplycost", "partsupp.ps_comment"], "Index Cond": "(partsupp.ps_partkey = part.p_partkey)", "Filter": "((partsupp.ps_availqty)::numeric > (SubPlan 1))", "Plans": [{"Node Type": "Aggregate", "Strategy": "Plain", "Partial Mode": "Simple", "Parent Relationship": "SubPlan", "Subplan Name": "SubPlan 1", "Parallel Aware": false, "Startup Cost": 2.66, "Total Cost": 2.68, "Plan Rows": 1, "Plan Width": 32, "Output": ["(0.5 * sum(lineitem.l_quantity))"], "Plans": [{"Node Type": "Index Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Scan Direction": "Forward", "Index Name": "l_sk_pk", "Relation Name": "lineitem", "Schema": "public", "Alias": "lineitem", "Startup Cost": 0.43, "Total Cost": 2.66, "Plan Rows": 1, "Plan Width": 5, "Output": ["lineitem.l_orderkey", "lineitem.l_partkey", "lineitem.l_suppkey", "lineitem.l_linenumber", "lineitem.l_quantity", "lineitem.l_extendedprice", "lineitem.l_discount", "lineitem.l_tax", "lineitem.l_returnflag", "lineitem.l_linestatus", "lineitem.l_shipdate", "lineitem.l_commitdate", "lineitem.l_receiptdate", "lineitem.l_shipinstruct", "lineitem.l_shipmode", "lineitem.l_comment"], "Index Cond": "((lineitem.l_suppkey = partsupp.ps_suppkey) AND (lineitem.l_partkey = partsupp.ps_partkey))", "Filter": "((lineitem.l_shipdate >= '1996-01-01'::date) AND (lineitem.l_shipdate < '1997-01-01 00:00:00'::timestamp without time zone))"}]}]}]}]}]}]}} diff --git a/dev9/pg13/tpch/sf_1/explain/15721/21-1.ok b/dev9/pg13/tpch/sf_1/explain/15721/21-1.ok new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/dev9/pg13/tpch/sf_1/explain/15721/21-1.res b/dev9/pg13/tpch/sf_1/explain/15721/21-1.res new file mode 100644 index 0000000000000000000000000000000000000000..9cbcde434c9d1e01807cff9a7b936a0c34034f70 --- /dev/null +++ b/dev9/pg13/tpch/sf_1/explain/15721/21-1.res @@ -0,0 +1 @@ +{"Plan": {"Node Type": "Limit", "Parallel Aware": false, "Startup Cost": 53670.52, "Total Cost": 53670.52, "Plan Rows": 1, "Plan Width": 34, "Output": ["supplier.s_name", "(count(*))"], "Plans": [{"Node Type": "Sort", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 53670.52, "Total Cost": 53670.52, "Plan Rows": 1, "Plan Width": 34, "Output": ["supplier.s_name", "(count(*))"], "Sort Key": ["(count(*)) DESC", "supplier.s_name"], "Plans": [{"Node Type": "Aggregate", "Strategy": "Sorted", "Partial Mode": "Simple", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 53670.49, "Total Cost": 53670.51, "Plan Rows": 1, "Plan Width": 34, "Output": ["supplier.s_name", "count(*)"], "Group Key": ["supplier.s_name"], "Plans": [{"Node Type": "Sort", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 53670.49, "Total Cost": 53670.49, "Plan Rows": 1, "Plan Width": 26, "Output": ["supplier.s_name"], "Sort Key": ["supplier.s_name"], "Plans": [{"Node Type": "Nested Loop", "Parent Relationship": "Outer", "Parallel Aware": false, "Join Type": "Semi", "Startup Cost": 13174.91, "Total Cost": 53670.48, "Plan Rows": 1, "Plan Width": 26, "Output": ["supplier.s_name"], "Inner Unique": false, "Join Filter": "(orders.o_orderkey = l2.l_orderkey)", "Plans": [{"Node Type": "Gather", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 13174.47, "Total Cost": 53669.85, "Plan Rows": 1, "Plan Width": 38, "Output": ["supplier.s_name", "l1.l_suppkey", "l1.l_orderkey", "orders.o_orderkey"], "Workers Planned": 3, "Single Copy": false, "Plans": [{"Node Type": "Nested Loop", "Parent Relationship": "Outer", "Parallel Aware": false, "Join Type": "Anti", "Startup Cost": 12174.47, "Total Cost": 52669.75, "Plan Rows": 1, "Plan Width": 38, "Output": ["supplier.s_name", "l1.l_suppkey", "l1.l_orderkey", "orders.o_orderkey"], "Inner Unique": false, "Plans": [{"Node Type": "Hash Join", "Parent Relationship": "Outer", "Parallel Aware": false, "Join Type": "Inner", "Startup Cost": 12174.04, "Total Cost": 45329.33, "Plan Rows": 12602, "Plan Width": 38, "Output": ["supplier.s_name", "l1.l_suppkey", "l1.l_orderkey", "orders.o_orderkey"], "Inner Unique": false, "Hash Cond": "(orders.o_orderkey = l1.l_orderkey)", "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": true, "Relation Name": "orders", "Schema": "public", "Alias": "orders", "Startup Cost": 0.0, "Total Cost": 32143.39, "Plan Rows": 236235, "Plan Width": 4, "Output": ["orders.o_orderkey", "orders.o_custkey", "orders.o_orderstatus", "orders.o_totalprice", "orders.o_orderdate", "orders.o_orderpriority", "orders.o_clerk", "orders.o_shippriority", "orders.o_comment"], "Filter": "(orders.o_orderstatus = 'F'::bpchar)"}, {"Node Type": "Hash", "Parent Relationship": "Inner", "Parallel Aware": false, "Startup Cost": 11173.84, "Total Cost": 11173.84, "Plan Rows": 80016, "Plan Width": 34, "Output": ["supplier.s_name", "l1.l_suppkey", "l1.l_orderkey"], "Plans": [{"Node Type": "Nested Loop", "Parent Relationship": "Outer", "Parallel Aware": false, "Join Type": "Inner", "Startup Cost": 4.92, "Total Cost": 11173.84, "Plan Rows": 80016, "Plan Width": 34, "Output": ["supplier.s_name", "l1.l_suppkey", "l1.l_orderkey"], "Inner Unique": false, "Plans": [{"Node Type": "Nested Loop", "Parent Relationship": "Outer", "Parallel Aware": false, "Join Type": "Inner", "Startup Cost": 4.48, "Total Cost": 226.33, "Plan Rows": 400, "Plan Width": 30, "Output": ["supplier.s_name", "supplier.s_suppkey"], "Inner Unique": false, "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Relation Name": "nation", "Schema": "public", "Alias": "nation", "Startup Cost": 0.0, "Total Cost": 1.31, "Plan Rows": 1, "Plan Width": 4, "Output": ["nation.n_nationkey", "nation.n_name", "nation.n_regionkey", "nation.n_comment"], "Filter": "(nation.n_name = 'CHINA'::bpchar)"}, {"Node Type": "Bitmap Heap Scan", "Parent Relationship": "Inner", "Parallel Aware": false, "Relation Name": "supplier", "Schema": "public", "Alias": "supplier", "Startup Cost": 4.48, "Total Cost": 221.01, "Plan Rows": 400, "Plan Width": 34, "Output": ["supplier.s_suppkey", "supplier.s_name", "supplier.s_address", "supplier.s_nationkey", "supplier.s_phone", "supplier.s_acctbal", "supplier.s_comment"], "Recheck Cond": "(supplier.s_nationkey = nation.n_nationkey)", "Plans": [{"Node Type": "Bitmap Index Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Index Name": "s_nk", "Startup Cost": 0.0, "Total Cost": 4.38, "Plan Rows": 400, "Plan Width": 0, "Index Cond": "(supplier.s_nationkey = nation.n_nationkey)"}]}]}, {"Node Type": "Index Scan", "Parent Relationship": "Inner", "Parallel Aware": false, "Scan Direction": "Forward", "Index Name": "l_sk", "Relation Name": "lineitem", "Schema": "public", "Alias": "l1", "Startup Cost": 0.43, "Total Cost": 25.37, "Plan Rows": 200, "Plan Width": 8, "Output": ["l1.l_orderkey", "l1.l_partkey", "l1.l_suppkey", "l1.l_linenumber", "l1.l_quantity", "l1.l_extendedprice", "l1.l_discount", "l1.l_tax", "l1.l_returnflag", "l1.l_linestatus", "l1.l_shipdate", "l1.l_commitdate", "l1.l_receiptdate", "l1.l_shipinstruct", "l1.l_shipmode", "l1.l_comment"], "Index Cond": "(l1.l_suppkey = supplier.s_suppkey)", "Filter": "(l1.l_receiptdate > l1.l_commitdate)"}]}]}]}, {"Node Type": "Index Scan", "Parent Relationship": "Inner", "Parallel Aware": false, "Scan Direction": "Forward", "Index Name": "l_ok", "Relation Name": "lineitem", "Schema": "public", "Alias": "l3", "Startup Cost": 0.43, "Total Cost": 0.61, "Plan Rows": 2, "Plan Width": 8, "Output": ["l3.l_orderkey", "l3.l_partkey", "l3.l_suppkey", "l3.l_linenumber", "l3.l_quantity", "l3.l_extendedprice", "l3.l_discount", "l3.l_tax", "l3.l_returnflag", "l3.l_linestatus", "l3.l_shipdate", "l3.l_commitdate", "l3.l_receiptdate", "l3.l_shipinstruct", "l3.l_shipmode", "l3.l_comment"], "Index Cond": "(l3.l_orderkey = l1.l_orderkey)", "Filter": "((l3.l_receiptdate > l3.l_commitdate) AND (l3.l_suppkey <> l1.l_suppkey))"}]}]}, {"Node Type": "Index Scan", "Parent Relationship": "Inner", "Parallel Aware": false, "Scan Direction": "Forward", "Index Name": "l_ok", "Relation Name": "lineitem", "Schema": "public", "Alias": "l2", "Startup Cost": 0.43, "Total Cost": 0.6, "Plan Rows": 5, "Plan Width": 8, "Output": ["l2.l_orderkey", "l2.l_partkey", "l2.l_suppkey", "l2.l_linenumber", "l2.l_quantity", "l2.l_extendedprice", "l2.l_discount", "l2.l_tax", "l2.l_returnflag", "l2.l_linestatus", "l2.l_shipdate", "l2.l_commitdate", "l2.l_receiptdate", "l2.l_shipinstruct", "l2.l_shipmode", "l2.l_comment"], "Index Cond": "(l2.l_orderkey = l1.l_orderkey)", "Filter": "(l2.l_suppkey <> l1.l_suppkey)"}]}]}]}]}]}} diff --git a/dev9/pg13/tpch/sf_1/explain/15721/22-1.ok b/dev9/pg13/tpch/sf_1/explain/15721/22-1.ok new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/dev9/pg13/tpch/sf_1/explain/15721/22-1.res b/dev9/pg13/tpch/sf_1/explain/15721/22-1.res new file mode 100644 index 0000000000000000000000000000000000000000..130067545ac96d651327adcbbe8b613ae37375c7 --- /dev/null +++ b/dev9/pg13/tpch/sf_1/explain/15721/22-1.res @@ -0,0 +1 @@ +{"Plan": {"Node Type": "Aggregate", "Strategy": "Sorted", "Partial Mode": "Finalize", "Parallel Aware": false, "Startup Cost": 12857.75, "Total Cost": 12947.44, "Plan Rows": 671, "Plan Width": 72, "Output": ["(\"substring\"((customer.c_phone)::text, 1, 2))", "count(*)", "sum(customer.c_acctbal)"], "Group Key": ["(\"substring\"((customer.c_phone)::text, 1, 2))"], "Plans": [{"Node Type": "Aggregate", "Strategy": "Plain", "Partial Mode": "Finalize", "Parent Relationship": "InitPlan", "Subplan Name": "InitPlan 1 (returns $1)", "Parallel Aware": false, "Startup Cost": 6230.82, "Total Cost": 6230.83, "Plan Rows": 1, "Plan Width": 32, "Output": ["avg(customer_1.c_acctbal)"], "Plans": [{"Node Type": "Gather", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 6230.6, "Total Cost": 6230.81, "Plan Rows": 2, "Plan Width": 32, "Output": ["(PARTIAL avg(customer_1.c_acctbal))"], "Workers Planned": 2, "Single Copy": false, "Plans": [{"Node Type": "Aggregate", "Strategy": "Plain", "Partial Mode": "Partial", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 5230.6, "Total Cost": 5230.61, "Plan Rows": 1, "Plan Width": 32, "Output": ["PARTIAL avg(customer_1.c_acctbal)"], "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": true, "Relation Name": "customer", "Schema": "public", "Alias": "customer_1", "Startup Cost": 0.0, "Total Cost": 5225.62, "Plan Rows": 1988, "Plan Width": 6, "Output": ["customer_1.c_custkey", "customer_1.c_name", "customer_1.c_address", "customer_1.c_nationkey", "customer_1.c_phone", "customer_1.c_acctbal", "customer_1.c_mktsegment", "customer_1.c_comment"], "Filter": "((customer_1.c_acctbal > 0.00) AND (\"substring\"((customer_1.c_phone)::text, 1, 2) = ANY ('{17,20,25,31,30,11,33}'::text[])))"}]}]}]}, {"Node Type": "Gather Merge", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 6626.92, "Total Cost": 6699.26, "Plan Rows": 560, "Plan Width": 72, "Output": ["(\"substring\"((customer.c_phone)::text, 1, 2))", "(PARTIAL count(*))", "(PARTIAL sum(customer.c_acctbal))"], "Workers Planned": 2, "Params Evaluated": ["$1"], "Plans": [{"Node Type": "Aggregate", "Strategy": "Sorted", "Partial Mode": "Partial", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 5626.9, "Total Cost": 5634.6, "Plan Rows": 280, "Plan Width": 72, "Output": ["(\"substring\"((customer.c_phone)::text, 1, 2))", "PARTIAL count(*)", "PARTIAL sum(customer.c_acctbal)"], "Group Key": ["(\"substring\"((customer.c_phone)::text, 1, 2))"], "Plans": [{"Node Type": "Sort", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 5626.9, "Total Cost": 5627.6, "Plan Rows": 280, "Plan Width": 38, "Output": ["(\"substring\"((customer.c_phone)::text, 1, 2))", "customer.c_acctbal"], "Sort Key": ["(\"substring\"((customer.c_phone)::text, 1, 2))"], "Plans": [{"Node Type": "Nested Loop", "Parent Relationship": "Outer", "Parallel Aware": false, "Join Type": "Anti", "Startup Cost": 0.43, "Total Cost": 5615.52, "Plan Rows": 280, "Plan Width": 38, "Output": ["\"substring\"((customer.c_phone)::text, 1, 2)", "customer.c_acctbal"], "Inner Unique": false, "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": true, "Relation Name": "customer", "Schema": "public", "Alias": "customer", "Startup Cost": 0.0, "Total Cost": 5225.62, "Plan Rows": 729, "Plan Width": 26, "Output": ["customer.c_custkey", "customer.c_name", "customer.c_address", "customer.c_nationkey", "customer.c_phone", "customer.c_acctbal", "customer.c_mktsegment", "customer.c_comment"], "Filter": "((customer.c_acctbal > $1) AND (\"substring\"((customer.c_phone)::text, 1, 2) = ANY ('{17,20,25,31,30,11,33}'::text[])))"}, {"Node Type": "Index Only Scan", "Parent Relationship": "Inner", "Parallel Aware": false, "Scan Direction": "Forward", "Index Name": "o_ck", "Relation Name": "orders", "Schema": "public", "Alias": "orders", "Startup Cost": 0.43, "Total Cost": 1.41, "Plan Rows": 16, "Plan Width": 4, "Output": ["orders.o_custkey"], "Index Cond": "(orders.o_custkey = customer.c_custkey)"}]}]}]}]}]}} diff --git a/dev9/pg13/tpch/sf_1/explain/15721/3-1.ok b/dev9/pg13/tpch/sf_1/explain/15721/3-1.ok new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/dev9/pg13/tpch/sf_1/explain/15721/3-1.res b/dev9/pg13/tpch/sf_1/explain/15721/3-1.res new file mode 100644 index 0000000000000000000000000000000000000000..21fc79baa34ce0e24d6eae674c3f78600135ac96 --- /dev/null +++ b/dev9/pg13/tpch/sf_1/explain/15721/3-1.res @@ -0,0 +1 @@ +{"Plan": {"Node Type": "Limit", "Parallel Aware": false, "Startup Cost": 133444.39, "Total Cost": 133444.41, "Plan Rows": 10, "Plan Width": 44, "Output": ["lineitem.l_orderkey", "(sum((lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount))))", "orders.o_orderdate", "orders.o_shippriority"], "Plans": [{"Node Type": "Sort", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 133444.39, "Total Cost": 134234.0, "Plan Rows": 315844, "Plan Width": 44, "Output": ["lineitem.l_orderkey", "(sum((lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount))))", "orders.o_orderdate", "orders.o_shippriority"], "Sort Key": ["(sum((lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount)))) DESC", "orders.o_orderdate"], "Plans": [{"Node Type": "Aggregate", "Strategy": "Sorted", "Partial Mode": "Finalize", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 85052.68, "Total Cost": 126619.11, "Plan Rows": 315844, "Plan Width": 44, "Output": ["lineitem.l_orderkey", "sum((lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount)))", "orders.o_orderdate", "orders.o_shippriority"], "Group Key": ["lineitem.l_orderkey", "orders.o_orderdate", "orders.o_shippriority"], "Plans": [{"Node Type": "Gather Merge", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 85052.68, "Total Cost": 119381.01, "Plan Rows": 263204, "Plan Width": 44, "Output": ["lineitem.l_orderkey", "orders.o_orderdate", "orders.o_shippriority", "(PARTIAL sum((lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount))))"], "Workers Planned": 2, "Plans": [{"Node Type": "Aggregate", "Strategy": "Sorted", "Partial Mode": "Partial", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 84052.65, "Total Cost": 88000.71, "Plan Rows": 131602, "Plan Width": 44, "Output": ["lineitem.l_orderkey", "orders.o_orderdate", "orders.o_shippriority", "PARTIAL sum((lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount)))"], "Group Key": ["lineitem.l_orderkey", "orders.o_orderdate", "orders.o_shippriority"], "Plans": [{"Node Type": "Sort", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 84052.65, "Total Cost": 84381.66, "Plan Rows": 131602, "Plan Width": 24, "Output": ["lineitem.l_orderkey", "orders.o_orderdate", "orders.o_shippriority", "lineitem.l_extendedprice", "lineitem.l_discount"], "Sort Key": ["lineitem.l_orderkey", "orders.o_orderdate", "orders.o_shippriority"], "Plans": [{"Node Type": "Nested Loop", "Parent Relationship": "Outer", "Parallel Aware": false, "Join Type": "Inner", "Startup Cost": 0.86, "Total Cost": 72862.65, "Plan Rows": 131602, "Plan Width": 24, "Output": ["lineitem.l_orderkey", "orders.o_orderdate", "orders.o_shippriority", "lineitem.l_extendedprice", "lineitem.l_discount"], "Inner Unique": false, "Plans": [{"Node Type": "Nested Loop", "Parent Relationship": "Outer", "Parallel Aware": false, "Join Type": "Inner", "Startup Cost": 0.43, "Total Cost": 27366.52, "Plan Rows": 61020, "Plan Width": 12, "Output": ["orders.o_orderdate", "orders.o_shippriority", "orders.o_orderkey"], "Inner Unique": false, "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": true, "Relation Name": "customer", "Schema": "public", "Alias": "customer", "Startup Cost": 0.0, "Total Cost": 4366.25, "Plan Rows": 12487, "Plan Width": 4, "Output": ["customer.c_custkey", "customer.c_name", "customer.c_address", "customer.c_nationkey", "customer.c_phone", "customer.c_acctbal", "customer.c_mktsegment", "customer.c_comment"], "Filter": "(customer.c_mktsegment = 'FURNITURE'::bpchar)"}, {"Node Type": "Index Scan", "Parent Relationship": "Inner", "Parallel Aware": false, "Scan Direction": "Forward", "Index Name": "o_ck", "Relation Name": "orders", "Schema": "public", "Alias": "orders", "Startup Cost": 0.43, "Total Cost": 1.76, "Plan Rows": 8, "Plan Width": 16, "Output": ["orders.o_orderkey", "orders.o_custkey", "orders.o_orderstatus", "orders.o_totalprice", "orders.o_orderdate", "orders.o_orderpriority", "orders.o_clerk", "orders.o_shippriority", "orders.o_comment"], "Index Cond": "(orders.o_custkey = customer.c_custkey)", "Filter": "(orders.o_orderdate < '1995-03-20'::date)"}]}, {"Node Type": "Index Scan", "Parent Relationship": "Inner", "Parallel Aware": false, "Scan Direction": "Forward", "Index Name": "l_ok", "Relation Name": "lineitem", "Schema": "public", "Alias": "lineitem", "Startup Cost": 0.43, "Total Cost": 0.72, "Plan Rows": 3, "Plan Width": 16, "Output": ["lineitem.l_orderkey", "lineitem.l_partkey", "lineitem.l_suppkey", "lineitem.l_linenumber", "lineitem.l_quantity", "lineitem.l_extendedprice", "lineitem.l_discount", "lineitem.l_tax", "lineitem.l_returnflag", "lineitem.l_linestatus", "lineitem.l_shipdate", "lineitem.l_commitdate", "lineitem.l_receiptdate", "lineitem.l_shipinstruct", "lineitem.l_shipmode", "lineitem.l_comment"], "Index Cond": "(lineitem.l_orderkey = orders.o_orderkey)", "Filter": "(lineitem.l_shipdate > '1995-03-20'::date)"}]}]}]}]}]}]}]}} diff --git a/dev9/pg13/tpch/sf_1/explain/15721/4-1.ok b/dev9/pg13/tpch/sf_1/explain/15721/4-1.ok new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/dev9/pg13/tpch/sf_1/explain/15721/4-1.res b/dev9/pg13/tpch/sf_1/explain/15721/4-1.res new file mode 100644 index 0000000000000000000000000000000000000000..25787a2830cb77ea656ed25e68345c9011b55d51 --- /dev/null +++ b/dev9/pg13/tpch/sf_1/explain/15721/4-1.res @@ -0,0 +1 @@ +{"Plan": {"Node Type": "Aggregate", "Strategy": "Sorted", "Partial Mode": "Finalize", "Parallel Aware": false, "Startup Cost": 51662.67, "Total Cost": 51664.57, "Plan Rows": 5, "Plan Width": 24, "Output": ["orders.o_orderpriority", "count(*)"], "Group Key": ["orders.o_orderpriority"], "Plans": [{"Node Type": "Gather Merge", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 51662.67, "Total Cost": 51664.44, "Plan Rows": 15, "Plan Width": 24, "Output": ["orders.o_orderpriority", "(PARTIAL count(*))"], "Workers Planned": 3, "Plans": [{"Node Type": "Sort", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 50662.63, "Total Cost": 50662.64, "Plan Rows": 5, "Plan Width": 24, "Output": ["orders.o_orderpriority", "(PARTIAL count(*))"], "Sort Key": ["orders.o_orderpriority"], "Plans": [{"Node Type": "Aggregate", "Strategy": "Hashed", "Partial Mode": "Partial", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 50662.52, "Total Cost": 50662.57, "Plan Rows": 5, "Plan Width": 24, "Output": ["orders.o_orderpriority", "PARTIAL count(*)"], "Group Key": ["orders.o_orderpriority"], "Planned Partitions": 0, "Plans": [{"Node Type": "Nested Loop", "Parent Relationship": "Outer", "Parallel Aware": false, "Join Type": "Semi", "Startup Cost": 654.96, "Total Cost": 50587.14, "Plan Rows": 15075, "Plan Width": 16, "Output": ["orders.o_orderpriority"], "Inner Unique": false, "Plans": [{"Node Type": "Bitmap Heap Scan", "Parent Relationship": "Outer", "Parallel Aware": true, "Relation Name": "orders", "Schema": "public", "Alias": "orders", "Startup Cost": 654.53, "Total Cost": 27031.3, "Plan Rows": 18785, "Plan Width": 20, "Output": ["orders.o_orderkey", "orders.o_custkey", "orders.o_orderstatus", "orders.o_totalprice", "orders.o_orderdate", "orders.o_orderpriority", "orders.o_clerk", "orders.o_shippriority", "orders.o_comment"], "Recheck Cond": "((orders.o_orderdate >= '1996-01-01'::date) AND (orders.o_orderdate < '1996-04-01 00:00:00'::timestamp without time zone))", "Plans": [{"Node Type": "Bitmap Index Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Index Name": "o_od", "Startup Cost": 0.0, "Total Cost": 639.97, "Plan Rows": 58234, "Plan Width": 0, "Index Cond": "((orders.o_orderdate >= '1996-01-01'::date) AND (orders.o_orderdate < '1996-04-01 00:00:00'::timestamp without time zone))"}]}, {"Node Type": "Index Scan", "Parent Relationship": "Inner", "Parallel Aware": false, "Scan Direction": "Forward", "Index Name": "l_ok", "Relation Name": "lineitem", "Schema": "public", "Alias": "lineitem", "Startup Cost": 0.43, "Total Cost": 1.59, "Plan Rows": 2, "Plan Width": 4, "Output": ["lineitem.l_orderkey", "lineitem.l_partkey", "lineitem.l_suppkey", "lineitem.l_linenumber", "lineitem.l_quantity", "lineitem.l_extendedprice", "lineitem.l_discount", "lineitem.l_tax", "lineitem.l_returnflag", "lineitem.l_linestatus", "lineitem.l_shipdate", "lineitem.l_commitdate", "lineitem.l_receiptdate", "lineitem.l_shipinstruct", "lineitem.l_shipmode", "lineitem.l_comment"], "Index Cond": "(lineitem.l_orderkey = orders.o_orderkey)", "Filter": "(lineitem.l_commitdate < lineitem.l_receiptdate)"}]}]}]}]}]}} diff --git a/dev9/pg13/tpch/sf_1/explain/15721/5-1.ok b/dev9/pg13/tpch/sf_1/explain/15721/5-1.ok new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/dev9/pg13/tpch/sf_1/explain/15721/5-1.res b/dev9/pg13/tpch/sf_1/explain/15721/5-1.res new file mode 100644 index 0000000000000000000000000000000000000000..8b259639da300a68a68a4848cd739d90ced778a0 --- /dev/null +++ b/dev9/pg13/tpch/sf_1/explain/15721/5-1.res @@ -0,0 +1 @@ +{"Plan": {"Node Type": "Sort", "Parallel Aware": false, "Startup Cost": 41301.95, "Total Cost": 41302.01, "Plan Rows": 25, "Plan Width": 58, "Output": ["nation.n_name", "(sum((lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount))))"], "Sort Key": ["(sum((lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount)))) DESC"], "Plans": [{"Node Type": "Aggregate", "Strategy": "Sorted", "Partial Mode": "Finalize", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 41256.6, "Total Cost": 41301.37, "Plan Rows": 25, "Plan Width": 58, "Output": ["nation.n_name", "sum((lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount)))"], "Group Key": ["nation.n_name"], "Plans": [{"Node Type": "Gather Merge", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 41256.6, "Total Cost": 41300.68, "Plan Rows": 50, "Plan Width": 58, "Output": ["nation.n_name", "(PARTIAL sum((lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount))))"], "Workers Planned": 2, "Plans": [{"Node Type": "Aggregate", "Strategy": "Sorted", "Partial Mode": "Partial", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 40256.58, "Total Cost": 40294.89, "Plan Rows": 25, "Plan Width": 58, "Output": ["nation.n_name", "PARTIAL sum((lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount)))"], "Group Key": ["nation.n_name"], "Plans": [{"Node Type": "Sort", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 40256.58, "Total Cost": 40264.18, "Plan Rows": 3040, "Plan Width": 38, "Output": ["nation.n_name", "lineitem.l_extendedprice", "lineitem.l_discount"], "Sort Key": ["nation.n_name"], "Plans": [{"Node Type": "Hash Join", "Parent Relationship": "Outer", "Parallel Aware": false, "Join Type": "Inner", "Startup Cost": 475.37, "Total Cost": 40080.71, "Plan Rows": 3040, "Plan Width": 38, "Output": ["nation.n_name", "lineitem.l_extendedprice", "lineitem.l_discount"], "Inner Unique": true, "Hash Cond": "((lineitem.l_suppkey = supplier.s_suppkey) AND (customer.c_nationkey = supplier.s_nationkey))", "Plans": [{"Node Type": "Nested Loop", "Parent Relationship": "Outer", "Parallel Aware": false, "Join Type": "Inner", "Startup Cost": 3.37, "Total Cost": 39209.75, "Plan Rows": 75993, "Plan Width": 50, "Output": ["customer.c_nationkey", "lineitem.l_extendedprice", "lineitem.l_discount", "lineitem.l_suppkey", "nation.n_name", "nation.n_nationkey"], "Inner Unique": false, "Plans": [{"Node Type": "Nested Loop", "Parent Relationship": "Outer", "Parallel Aware": false, "Join Type": "Inner", "Startup Cost": 2.94, "Total Cost": 17199.03, "Plan Rows": 18994, "Plan Width": 38, "Output": ["customer.c_nationkey", "orders.o_orderkey", "nation.n_name", "nation.n_nationkey"], "Inner Unique": false, "Plans": [{"Node Type": "Hash Join", "Parent Relationship": "Outer", "Parallel Aware": false, "Join Type": "Inner", "Startup Cost": 2.51, "Total Cost": 4571.88, "Plan Rows": 12500, "Plan Width": 38, "Output": ["customer.c_custkey", "customer.c_nationkey", "nation.n_name", "nation.n_nationkey"], "Inner Unique": false, "Hash Cond": "(customer.c_nationkey = nation.n_nationkey)", "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": true, "Relation Name": "customer", "Schema": "public", "Alias": "customer", "Startup Cost": 0.0, "Total Cost": 4210.0, "Plan Rows": 62500, "Plan Width": 8, "Output": ["customer.c_custkey", "customer.c_name", "customer.c_address", "customer.c_nationkey", "customer.c_phone", "customer.c_acctbal", "customer.c_mktsegment", "customer.c_comment"]}, {"Node Type": "Hash", "Parent Relationship": "Inner", "Parallel Aware": false, "Startup Cost": 2.45, "Total Cost": 2.45, "Plan Rows": 5, "Plan Width": 30, "Output": ["nation.n_name", "nation.n_nationkey"], "Plans": [{"Node Type": "Hash Join", "Parent Relationship": "Outer", "Parallel Aware": false, "Join Type": "Inner", "Startup Cost": 1.07, "Total Cost": 2.45, "Plan Rows": 5, "Plan Width": 30, "Output": ["nation.n_name", "nation.n_nationkey"], "Inner Unique": true, "Hash Cond": "(nation.n_regionkey = region.r_regionkey)", "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Relation Name": "nation", "Schema": "public", "Alias": "nation", "Startup Cost": 0.0, "Total Cost": 1.25, "Plan Rows": 25, "Plan Width": 34, "Output": ["nation.n_nationkey", "nation.n_name", "nation.n_regionkey", "nation.n_comment"]}, {"Node Type": "Hash", "Parent Relationship": "Inner", "Parallel Aware": false, "Startup Cost": 1.06, "Total Cost": 1.06, "Plan Rows": 1, "Plan Width": 4, "Output": ["region.r_regionkey"], "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Relation Name": "region", "Schema": "public", "Alias": "region", "Startup Cost": 0.0, "Total Cost": 1.06, "Plan Rows": 1, "Plan Width": 4, "Output": ["region.r_regionkey"], "Filter": "(region.r_name = 'AMERICA'::bpchar)"}]}]}]}]}, {"Node Type": "Index Scan", "Parent Relationship": "Inner", "Parallel Aware": false, "Scan Direction": "Forward", "Index Name": "o_ck", "Relation Name": "orders", "Schema": "public", "Alias": "orders", "Startup Cost": 0.43, "Total Cost": 0.99, "Plan Rows": 2, "Plan Width": 8, "Output": ["orders.o_orderkey", "orders.o_custkey", "orders.o_orderstatus", "orders.o_totalprice", "orders.o_orderdate", "orders.o_orderpriority", "orders.o_clerk", "orders.o_shippriority", "orders.o_comment"], "Index Cond": "(orders.o_custkey = customer.c_custkey)", "Filter": "((orders.o_orderdate >= '1995-01-01'::date) AND (orders.o_orderdate < '1996-01-01 00:00:00'::timestamp without time zone))"}]}, {"Node Type": "Index Scan", "Parent Relationship": "Inner", "Parallel Aware": false, "Scan Direction": "Forward", "Index Name": "l_ok", "Relation Name": "lineitem", "Schema": "public", "Alias": "lineitem", "Startup Cost": 0.43, "Total Cost": 1.11, "Plan Rows": 5, "Plan Width": 20, "Output": ["lineitem.l_orderkey", "lineitem.l_partkey", "lineitem.l_suppkey", "lineitem.l_linenumber", "lineitem.l_quantity", "lineitem.l_extendedprice", "lineitem.l_discount", "lineitem.l_tax", "lineitem.l_returnflag", "lineitem.l_linestatus", "lineitem.l_shipdate", "lineitem.l_commitdate", "lineitem.l_receiptdate", "lineitem.l_shipinstruct", "lineitem.l_shipmode", "lineitem.l_comment"], "Index Cond": "(lineitem.l_orderkey = orders.o_orderkey)"}]}, {"Node Type": "Hash", "Parent Relationship": "Inner", "Parallel Aware": false, "Startup Cost": 322.0, "Total Cost": 322.0, "Plan Rows": 10000, "Plan Width": 8, "Output": ["supplier.s_suppkey", "supplier.s_nationkey"], "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Relation Name": "supplier", "Schema": "public", "Alias": "supplier", "Startup Cost": 0.0, "Total Cost": 322.0, "Plan Rows": 10000, "Plan Width": 8, "Output": ["supplier.s_suppkey", "supplier.s_nationkey"]}]}]}]}]}]}]}]}} diff --git a/dev9/pg13/tpch/sf_1/explain/15721/6-1.ok b/dev9/pg13/tpch/sf_1/explain/15721/6-1.ok new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/dev9/pg13/tpch/sf_1/explain/15721/6-1.res b/dev9/pg13/tpch/sf_1/explain/15721/6-1.res new file mode 100644 index 0000000000000000000000000000000000000000..ac462c9a874e38f1246f56b81a565f741a08937a --- /dev/null +++ b/dev9/pg13/tpch/sf_1/explain/15721/6-1.res @@ -0,0 +1 @@ +{"Plan": {"Node Type": "Aggregate", "Strategy": "Plain", "Partial Mode": "Finalize", "Parallel Aware": false, "Startup Cost": 127801.87, "Total Cost": 127801.88, "Plan Rows": 1, "Plan Width": 32, "Output": ["sum((l_extendedprice * l_discount))"], "Plans": [{"Node Type": "Gather", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 127801.33, "Total Cost": 127801.84, "Plan Rows": 5, "Plan Width": 32, "Output": ["(PARTIAL sum((l_extendedprice * l_discount)))"], "Workers Planned": 5, "Single Copy": false, "Plans": [{"Node Type": "Aggregate", "Strategy": "Plain", "Partial Mode": "Partial", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 126801.33, "Total Cost": 126801.34, "Plan Rows": 1, "Plan Width": 32, "Output": ["PARTIAL sum((l_extendedprice * l_discount))"], "Plans": [{"Node Type": "Bitmap Heap Scan", "Parent Relationship": "Outer", "Parallel Aware": true, "Relation Name": "lineitem", "Schema": "public", "Alias": "lineitem", "Startup Cost": 10062.64, "Total Cost": 126686.71, "Plan Rows": 22923, "Plan Width": 12, "Output": ["l_orderkey", "l_partkey", "l_suppkey", "l_linenumber", "l_quantity", "l_extendedprice", "l_discount", "l_tax", "l_returnflag", "l_linestatus", "l_shipdate", "l_commitdate", "l_receiptdate", "l_shipinstruct", "l_shipmode", "l_comment"], "Recheck Cond": "((lineitem.l_shipdate >= '1995-01-01'::date) AND (lineitem.l_shipdate < '1996-01-01 00:00:00'::timestamp without time zone))", "Filter": "((lineitem.l_discount >= 0.04) AND (lineitem.l_discount <= 0.06) AND (lineitem.l_quantity < '24'::numeric))", "Plans": [{"Node Type": "Bitmap Index Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Index Name": "l_sd", "Startup Cost": 0.0, "Total Cost": 10033.98, "Plan Rows": 915795, "Plan Width": 0, "Index Cond": "((lineitem.l_shipdate >= '1995-01-01'::date) AND (lineitem.l_shipdate < '1996-01-01 00:00:00'::timestamp without time zone))"}]}]}]}]}} diff --git a/dev9/pg13/tpch/sf_1/explain/15721/7-1.ok b/dev9/pg13/tpch/sf_1/explain/15721/7-1.ok new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/dev9/pg13/tpch/sf_1/explain/15721/7-1.res b/dev9/pg13/tpch/sf_1/explain/15721/7-1.res new file mode 100644 index 0000000000000000000000000000000000000000..7caed74878f406f2c5841642f86de5d9b6679f8e --- /dev/null +++ b/dev9/pg13/tpch/sf_1/explain/15721/7-1.res @@ -0,0 +1 @@ +{"Plan": {"Node Type": "Aggregate", "Strategy": "Sorted", "Partial Mode": "Finalize", "Parallel Aware": false, "Startup Cost": 36238.72, "Total Cost": 37082.52, "Plan Rows": 6085, "Plan Width": 92, "Output": ["n1.n_name", "n2.n_name", "(date_part('year'::text, (lineitem.l_shipdate)::timestamp without time zone))", "sum((lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount)))"], "Group Key": ["n1.n_name", "n2.n_name", "(date_part('year'::text, (lineitem.l_shipdate)::timestamp without time zone))"], "Plans": [{"Node Type": "Gather Merge", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 36238.72, "Total Cost": 36912.65, "Plan Rows": 5070, "Plan Width": 92, "Output": ["n1.n_name", "n2.n_name", "(date_part('year'::text, (lineitem.l_shipdate)::timestamp without time zone))", "(PARTIAL sum((lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount))))"], "Workers Planned": 2, "Plans": [{"Node Type": "Aggregate", "Strategy": "Sorted", "Partial Mode": "Partial", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 35238.7, "Total Cost": 35327.43, "Plan Rows": 2535, "Plan Width": 92, "Output": ["n1.n_name", "n2.n_name", "(date_part('year'::text, (lineitem.l_shipdate)::timestamp without time zone))", "PARTIAL sum((lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount)))"], "Group Key": ["n1.n_name", "n2.n_name", "(date_part('year'::text, (lineitem.l_shipdate)::timestamp without time zone))"], "Plans": [{"Node Type": "Sort", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 35238.7, "Total Cost": 35245.04, "Plan Rows": 2535, "Plan Width": 72, "Output": ["n1.n_name", "n2.n_name", "(date_part('year'::text, (lineitem.l_shipdate)::timestamp without time zone))", "lineitem.l_extendedprice", "lineitem.l_discount"], "Sort Key": ["n1.n_name", "n2.n_name", "(date_part('year'::text, (lineitem.l_shipdate)::timestamp without time zone))"], "Plans": [{"Node Type": "Hash Join", "Parent Relationship": "Outer", "Parallel Aware": false, "Join Type": "Inner", "Startup Cost": 25045.42, "Total Cost": 35095.38, "Plan Rows": 2535, "Plan Width": 72, "Output": ["n1.n_name", "n2.n_name", "date_part('year'::text, (lineitem.l_shipdate)::timestamp without time zone)", "lineitem.l_extendedprice", "lineitem.l_discount"], "Inner Unique": false, "Hash Cond": "(orders.o_orderkey = lineitem.l_orderkey)", "Join Filter": "(((n1.n_name = 'IRAN'::bpchar) AND (n2.n_name = 'ETHIOPIA'::bpchar)) OR ((n1.n_name = 'ETHIOPIA'::bpchar) AND (n2.n_name = 'IRAN'::bpchar)))", "Plans": [{"Node Type": "Nested Loop", "Parent Relationship": "Outer", "Parallel Aware": false, "Join Type": "Inner", "Startup Cost": 1.83, "Total Cost": 9754.13, "Plan Rows": 50000, "Plan Width": 30, "Output": ["orders.o_orderkey", "n2.n_name"], "Inner Unique": false, "Plans": [{"Node Type": "Hash Join", "Parent Relationship": "Outer", "Parallel Aware": false, "Join Type": "Inner", "Startup Cost": 1.4, "Total Cost": 4403.27, "Plan Rows": 5000, "Plan Width": 30, "Output": ["customer.c_custkey", "n2.n_name"], "Inner Unique": true, "Hash Cond": "(customer.c_nationkey = n2.n_nationkey)", "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": true, "Relation Name": "customer", "Schema": "public", "Alias": "customer", "Startup Cost": 0.0, "Total Cost": 4210.0, "Plan Rows": 62500, "Plan Width": 8, "Output": ["customer.c_custkey", "customer.c_name", "customer.c_address", "customer.c_nationkey", "customer.c_phone", "customer.c_acctbal", "customer.c_mktsegment", "customer.c_comment"]}, {"Node Type": "Hash", "Parent Relationship": "Inner", "Parallel Aware": false, "Startup Cost": 1.38, "Total Cost": 1.38, "Plan Rows": 2, "Plan Width": 30, "Output": ["n2.n_name", "n2.n_nationkey"], "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Relation Name": "nation", "Schema": "public", "Alias": "n2", "Startup Cost": 0.0, "Total Cost": 1.38, "Plan Rows": 2, "Plan Width": 30, "Output": ["n2.n_name", "n2.n_nationkey"], "Filter": "((n2.n_name = 'ETHIOPIA'::bpchar) OR (n2.n_name = 'IRAN'::bpchar))"}]}]}, {"Node Type": "Index Scan", "Parent Relationship": "Inner", "Parallel Aware": false, "Scan Direction": "Forward", "Index Name": "o_ck", "Relation Name": "orders", "Schema": "public", "Alias": "orders", "Startup Cost": 0.43, "Total Cost": 0.91, "Plan Rows": 16, "Plan Width": 8, "Output": ["orders.o_orderkey", "orders.o_custkey", "orders.o_orderstatus", "orders.o_totalprice", "orders.o_orderdate", "orders.o_orderpriority", "orders.o_clerk", "orders.o_shippriority", "orders.o_comment"], "Index Cond": "(orders.o_custkey = customer.c_custkey)"}]}, {"Node Type": "Hash", "Parent Relationship": "Inner", "Parallel Aware": false, "Startup Cost": 23215.88, "Total Cost": 23215.88, "Plan Rows": 146217, "Plan Width": 46, "Output": ["lineitem.l_shipdate", "lineitem.l_extendedprice", "lineitem.l_discount", "lineitem.l_orderkey", "n1.n_name"], "Plans": [{"Node Type": "Nested Loop", "Parent Relationship": "Outer", "Parallel Aware": false, "Join Type": "Inner", "Startup Cost": 4.92, "Total Cost": 23215.88, "Plan Rows": 146217, "Plan Width": 46, "Output": ["lineitem.l_shipdate", "lineitem.l_extendedprice", "lineitem.l_discount", "lineitem.l_orderkey", "n1.n_name"], "Inner Unique": false, "Plans": [{"Node Type": "Nested Loop", "Parent Relationship": "Outer", "Parallel Aware": false, "Join Type": "Inner", "Startup Cost": 4.48, "Total Cost": 256.85, "Plan Rows": 800, "Plan Width": 30, "Output": ["supplier.s_suppkey", "n1.n_name"], "Inner Unique": false, "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Relation Name": "nation", "Schema": "public", "Alias": "n1", "Startup Cost": 0.0, "Total Cost": 1.38, "Plan Rows": 2, "Plan Width": 30, "Output": ["n1.n_nationkey", "n1.n_name", "n1.n_regionkey", "n1.n_comment"], "Filter": "((n1.n_name = 'IRAN'::bpchar) OR (n1.n_name = 'ETHIOPIA'::bpchar))"}, {"Node Type": "Bitmap Heap Scan", "Parent Relationship": "Inner", "Parallel Aware": false, "Relation Name": "supplier", "Schema": "public", "Alias": "supplier", "Startup Cost": 4.48, "Total Cost": 123.74, "Plan Rows": 400, "Plan Width": 8, "Output": ["supplier.s_suppkey", "supplier.s_name", "supplier.s_address", "supplier.s_nationkey", "supplier.s_phone", "supplier.s_acctbal", "supplier.s_comment"], "Recheck Cond": "(supplier.s_nationkey = n1.n_nationkey)", "Plans": [{"Node Type": "Bitmap Index Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Index Name": "s_nk", "Startup Cost": 0.0, "Total Cost": 4.38, "Plan Rows": 400, "Plan Width": 0, "Index Cond": "(supplier.s_nationkey = n1.n_nationkey)"}]}]}, {"Node Type": "Index Scan", "Parent Relationship": "Inner", "Parallel Aware": false, "Scan Direction": "Forward", "Index Name": "l_sk", "Relation Name": "lineitem", "Schema": "public", "Alias": "lineitem", "Startup Cost": 0.43, "Total Cost": 26.87, "Plan Rows": 183, "Plan Width": 24, "Output": ["lineitem.l_orderkey", "lineitem.l_partkey", "lineitem.l_suppkey", "lineitem.l_linenumber", "lineitem.l_quantity", "lineitem.l_extendedprice", "lineitem.l_discount", "lineitem.l_tax", "lineitem.l_returnflag", "lineitem.l_linestatus", "lineitem.l_shipdate", "lineitem.l_commitdate", "lineitem.l_receiptdate", "lineitem.l_shipinstruct", "lineitem.l_shipmode", "lineitem.l_comment"], "Index Cond": "(lineitem.l_suppkey = supplier.s_suppkey)", "Filter": "((lineitem.l_shipdate >= '1995-01-01'::date) AND (lineitem.l_shipdate <= '1996-12-31'::date))"}]}]}]}]}]}]}]}} diff --git a/dev9/pg13/tpch/sf_1/explain/15721/8-1.ok b/dev9/pg13/tpch/sf_1/explain/15721/8-1.ok new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/dev9/pg13/tpch/sf_1/explain/15721/8-1.res b/dev9/pg13/tpch/sf_1/explain/15721/8-1.res new file mode 100644 index 0000000000000000000000000000000000000000..55711d5869f3e57eb7a49090115b261f765f6b27 --- /dev/null +++ b/dev9/pg13/tpch/sf_1/explain/15721/8-1.res @@ -0,0 +1 @@ +{"Plan": {"Node Type": "Aggregate", "Strategy": "Sorted", "Partial Mode": "Finalize", "Parallel Aware": false, "Startup Cost": 33838.3, "Total Cost": 34201.52, "Plan Rows": 2406, "Plan Width": 40, "Output": ["(date_part('year'::text, (orders.o_orderdate)::timestamp without time zone))", "(sum(CASE WHEN (n2.n_name = 'ETHIOPIA'::bpchar) THEN (lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount)) ELSE '0'::numeric END) / sum((lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount))))"], "Group Key": ["(date_part('year'::text, (orders.o_orderdate)::timestamp without time zone))"], "Plans": [{"Node Type": "Gather Merge", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 33838.3, "Total Cost": 34121.49, "Plan Rows": 2072, "Plan Width": 72, "Output": ["(date_part('year'::text, (orders.o_orderdate)::timestamp without time zone))", "(PARTIAL sum(CASE WHEN (n2.n_name = 'ETHIOPIA'::bpchar) THEN (lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount)) ELSE '0'::numeric END))", "(PARTIAL sum((lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount))))"], "Workers Planned": 2, "Plans": [{"Node Type": "Aggregate", "Strategy": "Sorted", "Partial Mode": "Partial", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 32838.27, "Total Cost": 32882.3, "Plan Rows": 1036, "Plan Width": 72, "Output": ["(date_part('year'::text, (orders.o_orderdate)::timestamp without time zone))", "PARTIAL sum(CASE WHEN (n2.n_name = 'ETHIOPIA'::bpchar) THEN (lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount)) ELSE '0'::numeric END)", "PARTIAL sum((lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount)))"], "Group Key": ["(date_part('year'::text, (orders.o_orderdate)::timestamp without time zone))"], "Plans": [{"Node Type": "Sort", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 32838.27, "Total Cost": 32840.86, "Plan Rows": 1036, "Plan Width": 46, "Output": ["(date_part('year'::text, (orders.o_orderdate)::timestamp without time zone))", "n2.n_name", "lineitem.l_extendedprice", "lineitem.l_discount"], "Sort Key": ["(date_part('year'::text, (orders.o_orderdate)::timestamp without time zone))"], "Plans": [{"Node Type": "Hash Join", "Parent Relationship": "Outer", "Parallel Aware": false, "Join Type": "Inner", "Startup Cost": 2018.83, "Total Cost": 32786.39, "Plan Rows": 1036, "Plan Width": 46, "Output": ["date_part('year'::text, (orders.o_orderdate)::timestamp without time zone)", "n2.n_name", "lineitem.l_extendedprice", "lineitem.l_discount"], "Inner Unique": true, "Hash Cond": "(supplier.s_nationkey = n2.n_nationkey)", "Plans": [{"Node Type": "Nested Loop", "Parent Relationship": "Outer", "Parallel Aware": false, "Join Type": "Inner", "Startup Cost": 2017.26, "Total Cost": 32776.47, "Plan Rows": 1036, "Plan Width": 20, "Output": ["lineitem.l_extendedprice", "lineitem.l_discount", "supplier.s_nationkey", "orders.o_orderdate"], "Inner Unique": true, "Plans": [{"Node Type": "Hash Join", "Parent Relationship": "Outer", "Parallel Aware": false, "Join Type": "Inner", "Startup Cost": 2016.98, "Total Cost": 32463.03, "Plan Rows": 1036, "Plan Width": 20, "Output": ["lineitem.l_extendedprice", "lineitem.l_discount", "lineitem.l_suppkey", "orders.o_orderdate"], "Inner Unique": false, "Hash Cond": "(orders.o_custkey = customer.c_custkey)", "Plans": [{"Node Type": "Nested Loop", "Parent Relationship": "Outer", "Parallel Aware": false, "Join Type": "Inner", "Startup Cost": 0.86, "Total Cost": 30417.12, "Plan Rows": 5181, "Plan Width": 24, "Output": ["lineitem.l_extendedprice", "lineitem.l_discount", "lineitem.l_suppkey", "orders.o_orderdate", "orders.o_custkey"], "Inner Unique": true, "Plans": [{"Node Type": "Nested Loop", "Parent Relationship": "Outer", "Parallel Aware": false, "Join Type": "Inner", "Startup Cost": 0.43, "Total Cost": 22677.08, "Plan Rows": 16991, "Plan Width": 20, "Output": ["lineitem.l_extendedprice", "lineitem.l_discount", "lineitem.l_suppkey", "lineitem.l_orderkey"], "Inner Unique": false, "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": true, "Relation Name": "part", "Schema": "public", "Alias": "part", "Startup Cost": 0.0, "Total Cost": 5138.67, "Plan Rows": 566, "Plan Width": 4, "Output": ["part.p_partkey", "part.p_name", "part.p_mfgr", "part.p_brand", "part.p_type", "part.p_size", "part.p_container", "part.p_retailprice", "part.p_comment"], "Filter": "((part.p_type)::text = 'SMALL BRUSHED NICKEL'::text)"}, {"Node Type": "Index Scan", "Parent Relationship": "Inner", "Parallel Aware": false, "Scan Direction": "Forward", "Index Name": "l_pk", "Relation Name": "lineitem", "Schema": "public", "Alias": "lineitem", "Startup Cost": 0.43, "Total Cost": 30.68, "Plan Rows": 31, "Plan Width": 24, "Output": ["lineitem.l_orderkey", "lineitem.l_partkey", "lineitem.l_suppkey", "lineitem.l_linenumber", "lineitem.l_quantity", "lineitem.l_extendedprice", "lineitem.l_discount", "lineitem.l_tax", "lineitem.l_returnflag", "lineitem.l_linestatus", "lineitem.l_shipdate", "lineitem.l_commitdate", "lineitem.l_receiptdate", "lineitem.l_shipinstruct", "lineitem.l_shipmode", "lineitem.l_comment"], "Index Cond": "(lineitem.l_partkey = part.p_partkey)"}]}, {"Node Type": "Index Scan", "Parent Relationship": "Inner", "Parallel Aware": false, "Scan Direction": "Forward", "Index Name": "o_ok", "Relation Name": "orders", "Schema": "public", "Alias": "orders", "Startup Cost": 0.43, "Total Cost": 0.46, "Plan Rows": 1, "Plan Width": 12, "Output": ["orders.o_orderkey", "orders.o_custkey", "orders.o_orderstatus", "orders.o_totalprice", "orders.o_orderdate", "orders.o_orderpriority", "orders.o_clerk", "orders.o_shippriority", "orders.o_comment"], "Index Cond": "(orders.o_orderkey = lineitem.l_orderkey)", "Filter": "((orders.o_orderdate >= '1995-01-01'::date) AND (orders.o_orderdate <= '1996-12-31'::date))"}]}, {"Node Type": "Hash", "Parent Relationship": "Inner", "Parallel Aware": false, "Startup Cost": 1641.12, "Total Cost": 1641.12, "Plan Rows": 30000, "Plan Width": 4, "Output": ["customer.c_custkey"], "Plans": [{"Node Type": "Nested Loop", "Parent Relationship": "Outer", "Parallel Aware": false, "Join Type": "Inner", "Startup Cost": 0.43, "Total Cost": 1641.12, "Plan Rows": 30000, "Plan Width": 4, "Output": ["customer.c_custkey"], "Inner Unique": false, "Plans": [{"Node Type": "Nested Loop", "Parent Relationship": "Outer", "Parallel Aware": false, "Join Type": "Inner", "Startup Cost": 0.14, "Total Cost": 5.25, "Plan Rows": 5, "Plan Width": 4, "Output": ["n1.n_nationkey"], "Inner Unique": true, "Join Filter": "(n1.n_regionkey = region.r_regionkey)", "Plans": [{"Node Type": "Index Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Scan Direction": "Forward", "Index Name": "n_nk", "Relation Name": "nation", "Schema": "public", "Alias": "n1", "Startup Cost": 0.14, "Total Cost": 3.81, "Plan Rows": 25, "Plan Width": 8, "Output": ["n1.n_nationkey", "n1.n_name", "n1.n_regionkey", "n1.n_comment"]}, {"Node Type": "Materialize", "Parent Relationship": "Inner", "Parallel Aware": false, "Startup Cost": 0.0, "Total Cost": 1.07, "Plan Rows": 1, "Plan Width": 4, "Output": ["region.r_regionkey"], "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Relation Name": "region", "Schema": "public", "Alias": "region", "Startup Cost": 0.0, "Total Cost": 1.06, "Plan Rows": 1, "Plan Width": 4, "Output": ["region.r_regionkey"], "Filter": "(region.r_name = 'AFRICA'::bpchar)"}]}]}, {"Node Type": "Index Scan", "Parent Relationship": "Inner", "Parallel Aware": false, "Scan Direction": "Forward", "Index Name": "c_nk", "Relation Name": "customer", "Schema": "public", "Alias": "customer", "Startup Cost": 0.29, "Total Cost": 267.17, "Plan Rows": 6000, "Plan Width": 8, "Output": ["customer.c_custkey", "customer.c_name", "customer.c_address", "customer.c_nationkey", "customer.c_phone", "customer.c_acctbal", "customer.c_mktsegment", "customer.c_comment"], "Index Cond": "(customer.c_nationkey = n1.n_nationkey)"}]}]}]}, {"Node Type": "Index Scan", "Parent Relationship": "Inner", "Parallel Aware": false, "Scan Direction": "Forward", "Index Name": "s_sk", "Relation Name": "supplier", "Schema": "public", "Alias": "supplier", "Startup Cost": 0.29, "Total Cost": 0.3, "Plan Rows": 1, "Plan Width": 8, "Output": ["supplier.s_suppkey", "supplier.s_name", "supplier.s_address", "supplier.s_nationkey", "supplier.s_phone", "supplier.s_acctbal", "supplier.s_comment"], "Index Cond": "(supplier.s_suppkey = lineitem.l_suppkey)"}]}, {"Node Type": "Hash", "Parent Relationship": "Inner", "Parallel Aware": false, "Startup Cost": 1.25, "Total Cost": 1.25, "Plan Rows": 25, "Plan Width": 30, "Output": ["n2.n_name", "n2.n_nationkey"], "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Relation Name": "nation", "Schema": "public", "Alias": "n2", "Startup Cost": 0.0, "Total Cost": 1.25, "Plan Rows": 25, "Plan Width": 30, "Output": ["n2.n_name", "n2.n_nationkey"]}]}]}]}]}]}]}} diff --git a/dev9/pg13/tpch/sf_1/explain/15721/9-1.ok b/dev9/pg13/tpch/sf_1/explain/15721/9-1.ok new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/dev9/pg13/tpch/sf_1/explain/15721/9-1.res b/dev9/pg13/tpch/sf_1/explain/15721/9-1.res new file mode 100644 index 0000000000000000000000000000000000000000..5053af1b9818a56acd4af4af4ce9e51930c70825 --- /dev/null +++ b/dev9/pg13/tpch/sf_1/explain/15721/9-1.res @@ -0,0 +1 @@ +{"Plan": {"Node Type": "Sort", "Parallel Aware": false, "Startup Cost": 86394.23, "Total Cost": 86544.61, "Plan Rows": 60150, "Plan Width": 66, "Output": ["nation.n_name", "(date_part('year'::text, (orders.o_orderdate)::timestamp without time zone))", "(sum(((lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount)) - (partsupp.ps_supplycost * lineitem.l_quantity))))"], "Sort Key": ["nation.n_name", "(date_part('year'::text, (orders.o_orderdate)::timestamp without time zone)) DESC"], "Plans": [{"Node Type": "Aggregate", "Strategy": "Hashed", "Partial Mode": "Finalize", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 80566.82, "Total Cost": 81619.44, "Plan Rows": 60150, "Plan Width": 66, "Output": ["nation.n_name", "(date_part('year'::text, (orders.o_orderdate)::timestamp without time zone))", "sum(((lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount)) - (partsupp.ps_supplycost * lineitem.l_quantity)))"], "Group Key": ["nation.n_name", "(date_part('year'::text, (orders.o_orderdate)::timestamp without time zone))"], "Planned Partitions": 0, "Plans": [{"Node Type": "Gather", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 59664.69, "Total Cost": 78762.32, "Plan Rows": 180450, "Plan Width": 66, "Output": ["nation.n_name", "(date_part('year'::text, (orders.o_orderdate)::timestamp without time zone))", "(PARTIAL sum(((lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount)) - (partsupp.ps_supplycost * lineitem.l_quantity))))"], "Workers Planned": 3, "Single Copy": false, "Plans": [{"Node Type": "Aggregate", "Strategy": "Hashed", "Partial Mode": "Partial", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 58664.69, "Total Cost": 59717.32, "Plan Rows": 60150, "Plan Width": 66, "Output": ["nation.n_name", "(date_part('year'::text, (orders.o_orderdate)::timestamp without time zone))", "PARTIAL sum(((lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount)) - (partsupp.ps_supplycost * lineitem.l_quantity)))"], "Group Key": ["nation.n_name", "date_part('year'::text, (orders.o_orderdate)::timestamp without time zone)"], "Planned Partitions": 0, "Plans": [{"Node Type": "Hash Join", "Parent Relationship": "Outer", "Parallel Aware": true, "Join Type": "Inner", "Startup Cost": 23433.64, "Total Cost": 57035.34, "Plan Rows": 93106, "Plan Width": 57, "Output": ["nation.n_name", "date_part('year'::text, (orders.o_orderdate)::timestamp without time zone)", "lineitem.l_extendedprice", "lineitem.l_discount", "partsupp.ps_supplycost", "lineitem.l_quantity"], "Inner Unique": false, "Hash Cond": "(orders.o_orderkey = lineitem.l_orderkey)", "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": true, "Relation Name": "orders", "Schema": "public", "Alias": "orders", "Startup Cost": 0.0, "Total Cost": 30933.71, "Plan Rows": 483871, "Plan Width": 8, "Output": ["orders.o_orderkey", "orders.o_custkey", "orders.o_orderstatus", "orders.o_totalprice", "orders.o_orderdate", "orders.o_orderpriority", "orders.o_clerk", "orders.o_shippriority", "orders.o_comment"]}, {"Node Type": "Hash", "Parent Relationship": "Inner", "Parallel Aware": true, "Startup Cost": 21930.37, "Total Cost": 21930.37, "Plan Rows": 120262, "Plan Width": 53, "Output": ["lineitem.l_extendedprice", "lineitem.l_discount", "lineitem.l_quantity", "lineitem.l_orderkey", "partsupp.ps_supplycost", "nation.n_name"], "Plans": [{"Node Type": "Nested Loop", "Parent Relationship": "Outer", "Parallel Aware": false, "Join Type": "Inner", "Startup Cost": 449.42, "Total Cost": 21930.37, "Plan Rows": 120262, "Plan Width": 53, "Output": ["lineitem.l_extendedprice", "lineitem.l_discount", "lineitem.l_quantity", "lineitem.l_orderkey", "partsupp.ps_supplycost", "nation.n_name"], "Inner Unique": false, "Join Filter": "(supplier.s_suppkey = lineitem.l_suppkey)", "Plans": [{"Node Type": "Hash Join", "Parent Relationship": "Outer", "Parallel Aware": false, "Join Type": "Inner", "Startup Cost": 448.99, "Total Cost": 11831.6, "Plan Rows": 16032, "Plan Width": 48, "Output": ["part.p_partkey", "partsupp.ps_supplycost", "partsupp.ps_suppkey", "partsupp.ps_partkey", "supplier.s_suppkey", "nation.n_name"], "Inner Unique": true, "Hash Cond": "(supplier.s_nationkey = nation.n_nationkey)", "Plans": [{"Node Type": "Hash Join", "Parent Relationship": "Outer", "Parallel Aware": false, "Join Type": "Inner", "Startup Cost": 447.43, "Total Cost": 11780.82, "Plan Rows": 16032, "Plan Width": 26, "Output": ["part.p_partkey", "partsupp.ps_supplycost", "partsupp.ps_suppkey", "partsupp.ps_partkey", "supplier.s_suppkey", "supplier.s_nationkey"], "Inner Unique": true, "Hash Cond": "(partsupp.ps_suppkey = supplier.s_suppkey)", "Plans": [{"Node Type": "Nested Loop", "Parent Relationship": "Outer", "Parallel Aware": false, "Join Type": "Inner", "Startup Cost": 0.42, "Total Cost": 11291.71, "Plan Rows": 16032, "Plan Width": 18, "Output": ["part.p_partkey", "partsupp.ps_supplycost", "partsupp.ps_suppkey", "partsupp.ps_partkey"], "Inner Unique": false, "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": true, "Relation Name": "part", "Schema": "public", "Alias": "part", "Startup Cost": 0.0, "Total Cost": 5138.67, "Plan Rows": 4008, "Plan Width": 4, "Output": ["part.p_partkey", "part.p_name", "part.p_mfgr", "part.p_brand", "part.p_type", "part.p_size", "part.p_container", "part.p_retailprice", "part.p_comment"], "Filter": "((part.p_name)::text ~~ '%forest%'::text)"}, {"Node Type": "Index Scan", "Parent Relationship": "Inner", "Parallel Aware": false, "Scan Direction": "Forward", "Index Name": "ps_pk", "Relation Name": "partsupp", "Schema": "public", "Alias": "partsupp", "Startup Cost": 0.42, "Total Cost": 1.5, "Plan Rows": 4, "Plan Width": 14, "Output": ["partsupp.ps_partkey", "partsupp.ps_suppkey", "partsupp.ps_availqty", "partsupp.ps_supplycost", "partsupp.ps_comment"], "Index Cond": "(partsupp.ps_partkey = part.p_partkey)"}]}, {"Node Type": "Hash", "Parent Relationship": "Inner", "Parallel Aware": false, "Startup Cost": 322.0, "Total Cost": 322.0, "Plan Rows": 10000, "Plan Width": 8, "Output": ["supplier.s_suppkey", "supplier.s_nationkey"], "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Relation Name": "supplier", "Schema": "public", "Alias": "supplier", "Startup Cost": 0.0, "Total Cost": 322.0, "Plan Rows": 10000, "Plan Width": 8, "Output": ["supplier.s_suppkey", "supplier.s_nationkey"]}]}]}, {"Node Type": "Hash", "Parent Relationship": "Inner", "Parallel Aware": false, "Startup Cost": 1.25, "Total Cost": 1.25, "Plan Rows": 25, "Plan Width": 30, "Output": ["nation.n_name", "nation.n_nationkey"], "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Relation Name": "nation", "Schema": "public", "Alias": "nation", "Startup Cost": 0.0, "Total Cost": 1.25, "Plan Rows": 25, "Plan Width": 30, "Output": ["nation.n_name", "nation.n_nationkey"]}]}]}, {"Node Type": "Index Scan", "Parent Relationship": "Inner", "Parallel Aware": false, "Scan Direction": "Forward", "Index Name": "l_sk_pk", "Relation Name": "lineitem", "Schema": "public", "Alias": "lineitem", "Startup Cost": 0.43, "Total Cost": 0.62, "Plan Rows": 1, "Plan Width": 29, "Output": ["lineitem.l_orderkey", "lineitem.l_partkey", "lineitem.l_suppkey", "lineitem.l_linenumber", "lineitem.l_quantity", "lineitem.l_extendedprice", "lineitem.l_discount", "lineitem.l_tax", "lineitem.l_returnflag", "lineitem.l_linestatus", "lineitem.l_shipdate", "lineitem.l_commitdate", "lineitem.l_receiptdate", "lineitem.l_shipinstruct", "lineitem.l_shipmode", "lineitem.l_comment"], "Index Cond": "((lineitem.l_suppkey = partsupp.ps_suppkey) AND (lineitem.l_partkey = partsupp.ps_partkey))"}]}]}]}]}]}]}]}} diff --git a/dev9/pg13/tpch/sf_1/explain_analyze/15721/1-1.ok b/dev9/pg13/tpch/sf_1/explain_analyze/15721/1-1.ok new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/dev9/pg13/tpch/sf_1/explain_analyze/15721/1-1.res b/dev9/pg13/tpch/sf_1/explain_analyze/15721/1-1.res new file mode 100644 index 0000000000000000000000000000000000000000..a6fa39b99206ec14563207d6e2976d6766a3d123 --- /dev/null +++ b/dev9/pg13/tpch/sf_1/explain_analyze/15721/1-1.res @@ -0,0 +1 @@ +{"Plan": {"Node Type": "Aggregate", "Strategy": "Sorted", "Partial Mode": "Finalize", "Parallel Aware": false, "Startup Cost": 175408.0, "Total Cost": 175413.07, "Plan Rows": 6, "Plan Width": 236, "Actual Startup Time": 1650.751, "Actual Total Time": 1800.267, "Actual Rows": 4, "Actual Loops": 1, "Output": ["l_returnflag", "l_linestatus", "sum(l_quantity)", "sum(l_extendedprice)", "sum((l_extendedprice * ('1'::numeric - l_discount)))", "sum(((l_extendedprice * ('1'::numeric - l_discount)) * ('1'::numeric + l_tax)))", "avg(l_quantity)", "avg(l_extendedprice)", "avg(l_discount)", "count(*)"], "Group Key": ["lineitem.l_returnflag", "lineitem.l_linestatus"], "Plans": [{"Node Type": "Gather Merge", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 175408.0, "Total Cost": 175411.63, "Plan Rows": 30, "Plan Width": 236, "Actual Startup Time": 1650.698, "Actual Total Time": 1800.149, "Actual Rows": 24, "Actual Loops": 1, "Output": ["l_returnflag", "l_linestatus", "(PARTIAL sum(l_quantity))", "(PARTIAL sum(l_extendedprice))", "(PARTIAL sum((l_extendedprice * ('1'::numeric - l_discount))))", "(PARTIAL sum(((l_extendedprice * ('1'::numeric - l_discount)) * ('1'::numeric + l_tax))))", "(PARTIAL avg(l_quantity))", "(PARTIAL avg(l_extendedprice))", "(PARTIAL avg(l_discount))", "(PARTIAL count(*))"], "Workers Planned": 5, "Workers Launched": 5, "Plans": [{"Node Type": "Sort", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 174407.92, "Total Cost": 174407.94, "Plan Rows": 6, "Plan Width": 236, "Actual Startup Time": 1646.841, "Actual Total Time": 1646.842, "Actual Rows": 4, "Actual Loops": 6, "Output": ["l_returnflag", "l_linestatus", "(PARTIAL sum(l_quantity))", "(PARTIAL sum(l_extendedprice))", "(PARTIAL sum((l_extendedprice * ('1'::numeric - l_discount))))", "(PARTIAL sum(((l_extendedprice * ('1'::numeric - l_discount)) * ('1'::numeric + l_tax))))", "(PARTIAL avg(l_quantity))", "(PARTIAL avg(l_extendedprice))", "(PARTIAL avg(l_discount))", "(PARTIAL count(*))"], "Sort Key": ["lineitem.l_returnflag", "lineitem.l_linestatus"], "Sort Method": "quicksort", "Sort Space Used": 27, "Sort Space Type": "Memory", "Workers": [{"Worker Number": 0, "Actual Startup Time": 1646.015, "Actual Total Time": 1646.017, "Actual Rows": 4, "Actual Loops": 1, "Sort Method": "quicksort", "Sort Space Used": 27, "Sort Space Type": "Memory"}, {"Worker Number": 1, "Actual Startup Time": 1646.001, "Actual Total Time": 1646.002, "Actual Rows": 4, "Actual Loops": 1, "Sort Method": "quicksort", "Sort Space Used": 27, "Sort Space Type": "Memory"}, {"Worker Number": 2, "Actual Startup Time": 1646.253, "Actual Total Time": 1646.255, "Actual Rows": 4, "Actual Loops": 1, "Sort Method": "quicksort", "Sort Space Used": 27, "Sort Space Type": "Memory"}, {"Worker Number": 3, "Actual Startup Time": 1646.197, "Actual Total Time": 1646.199, "Actual Rows": 4, "Actual Loops": 1, "Sort Method": "quicksort", "Sort Space Used": 27, "Sort Space Type": "Memory"}, {"Worker Number": 4, "Actual Startup Time": 1646.327, "Actual Total Time": 1646.328, "Actual Rows": 4, "Actual Loops": 1, "Sort Method": "quicksort", "Sort Space Used": 27, "Sort Space Type": "Memory"}], "Plans": [{"Node Type": "Aggregate", "Strategy": "Hashed", "Partial Mode": "Partial", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 174407.68, "Total Cost": 174407.84, "Plan Rows": 6, "Plan Width": 236, "Actual Startup Time": 1646.793, "Actual Total Time": 1646.804, "Actual Rows": 4, "Actual Loops": 6, "Output": ["l_returnflag", "l_linestatus", "PARTIAL sum(l_quantity)", "PARTIAL sum(l_extendedprice)", "PARTIAL sum((l_extendedprice * ('1'::numeric - l_discount)))", "PARTIAL sum(((l_extendedprice * ('1'::numeric - l_discount)) * ('1'::numeric + l_tax)))", "PARTIAL avg(l_quantity)", "PARTIAL avg(l_extendedprice)", "PARTIAL avg(l_discount)", "PARTIAL count(*)"], "Group Key": ["lineitem.l_returnflag", "lineitem.l_linestatus"], "Planned Partitions": 0, "HashAgg Batches": 1, "Peak Memory Usage": 24, "Disk Usage": 0, "Workers": [{"Worker Number": 0, "Actual Startup Time": 1645.964, "Actual Total Time": 1645.975, "Actual Rows": 4, "Actual Loops": 1, "HashAgg Batches": 1, "Peak Memory Usage": 24, "Disk Usage": 0}, {"Worker Number": 1, "Actual Startup Time": 1645.946, "Actual Total Time": 1645.957, "Actual Rows": 4, "Actual Loops": 1, "HashAgg Batches": 1, "Peak Memory Usage": 24, "Disk Usage": 0}, {"Worker Number": 2, "Actual Startup Time": 1646.2, "Actual Total Time": 1646.211, "Actual Rows": 4, "Actual Loops": 1, "HashAgg Batches": 1, "Peak Memory Usage": 24, "Disk Usage": 0}, {"Worker Number": 3, "Actual Startup Time": 1646.143, "Actual Total Time": 1646.154, "Actual Rows": 4, "Actual Loops": 1, "HashAgg Batches": 1, "Peak Memory Usage": 24, "Disk Usage": 0}, {"Worker Number": 4, "Actual Startup Time": 1646.274, "Actual Total Time": 1646.285, "Actual Rows": 4, "Actual Loops": 1, "HashAgg Batches": 1, "Peak Memory Usage": 24, "Disk Usage": 0}], "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": true, "Relation Name": "lineitem", "Schema": "public", "Alias": "lineitem", "Startup Cost": 0.0, "Total Cost": 127506.04, "Plan Rows": 1172541, "Plan Width": 25, "Actual Startup Time": 0.021, "Actual Total Time": 284.018, "Actual Rows": 976793, "Actual Loops": 6, "Output": ["l_orderkey", "l_partkey", "l_suppkey", "l_linenumber", "l_quantity", "l_extendedprice", "l_discount", "l_tax", "l_returnflag", "l_linestatus", "l_shipdate", "l_commitdate", "l_receiptdate", "l_shipinstruct", "l_shipmode", "l_comment"], "Filter": "(lineitem.l_shipdate <= '1998-08-07 23:59:57'::timestamp without time zone)", "Rows Removed by Filter": 23410, "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.025, "Actual Total Time": 291.783, "Actual Rows": 966624, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 0.024, "Actual Total Time": 293.733, "Actual Rows": 969771, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 0.02, "Actual Total Time": 293.034, "Actual Rows": 968855, "Actual Loops": 1}, {"Worker Number": 3, "Actual Startup Time": 0.024, "Actual Total Time": 293.157, "Actual Rows": 969589, "Actual Loops": 1}, {"Worker Number": 4, "Actual Startup Time": 0.024, "Actual Total Time": 293.11, "Actual Rows": 971642, "Actual Loops": 1}]}]}]}]}]}, "Planning Time": 0.414, "Triggers": [], "Execution Time": 1800.369} diff --git a/dev9/pg13/tpch/sf_1/explain_analyze/15721/10-1.ok b/dev9/pg13/tpch/sf_1/explain_analyze/15721/10-1.ok new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/dev9/pg13/tpch/sf_1/explain_analyze/15721/10-1.res b/dev9/pg13/tpch/sf_1/explain_analyze/15721/10-1.res new file mode 100644 index 0000000000000000000000000000000000000000..3386b1f7968674c6de168835cd54d7ac623d6d07 --- /dev/null +++ b/dev9/pg13/tpch/sf_1/explain_analyze/15721/10-1.res @@ -0,0 +1 @@ +{"Plan": {"Node Type": "Limit", "Parallel Aware": false, "Startup Cost": 73083.15, "Total Cost": 73083.2, "Plan Rows": 20, "Plan Width": 202, "Actual Startup Time": 355.124, "Actual Total Time": 384.467, "Actual Rows": 20, "Actual Loops": 1, "Output": ["customer.c_custkey", "customer.c_name", "(sum((lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount))))", "customer.c_acctbal", "nation.n_name", "customer.c_address", "customer.c_phone", "customer.c_comment"], "Plans": [{"Node Type": "Sort", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 73083.15, "Total Cost": 73223.29, "Plan Rows": 56059, "Plan Width": 202, "Actual Startup Time": 355.122, "Actual Total Time": 384.463, "Actual Rows": 20, "Actual Loops": 1, "Output": ["customer.c_custkey", "customer.c_name", "(sum((lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount))))", "customer.c_acctbal", "nation.n_name", "customer.c_address", "customer.c_phone", "customer.c_comment"], "Sort Key": ["(sum((lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount)))) DESC"], "Sort Method": "top-N heapsort", "Sort Space Used": 33, "Sort Space Type": "Memory", "Plans": [{"Node Type": "Aggregate", "Strategy": "Sorted", "Partial Mode": "Simple", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 63557.82, "Total Cost": 71591.44, "Plan Rows": 56059, "Plan Width": 202, "Actual Startup Time": 221.295, "Actual Total Time": 370.901, "Actual Rows": 37047, "Actual Loops": 1, "Output": ["customer.c_custkey", "customer.c_name", "sum((lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount)))", "customer.c_acctbal", "nation.n_name", "customer.c_address", "customer.c_phone", "customer.c_comment"], "Group Key": ["customer.c_custkey", "nation.n_name"], "Plans": [{"Node Type": "Gather Merge", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 63557.82, "Total Cost": 70189.96, "Plan Rows": 56059, "Plan Width": 182, "Actual Startup Time": 221.277, "Actual Total Time": 280.042, "Actual Rows": 110515, "Actual Loops": 1, "Output": ["customer.c_custkey", "nation.n_name", "customer.c_name", "lineitem.l_extendedprice", "lineitem.l_discount", "customer.c_acctbal", "customer.c_address", "customer.c_phone", "customer.c_comment"], "Workers Planned": 3, "Workers Launched": 3, "Plans": [{"Node Type": "Sort", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 62557.78, "Total Cost": 62602.99, "Plan Rows": 18084, "Plan Width": 182, "Actual Startup Time": 215.124, "Actual Total Time": 218.449, "Actual Rows": 27629, "Actual Loops": 4, "Output": ["customer.c_custkey", "nation.n_name", "customer.c_name", "lineitem.l_extendedprice", "lineitem.l_discount", "customer.c_acctbal", "customer.c_address", "customer.c_phone", "customer.c_comment"], "Sort Key": ["customer.c_custkey", "nation.n_name"], "Sort Method": "quicksort", "Sort Space Used": 11281, "Sort Space Type": "Memory", "Workers": [{"Worker Number": 0, "Actual Startup Time": 212.985, "Actual Total Time": 215.932, "Actual Rows": 24591, "Actual Loops": 1, "Sort Method": "quicksort", "Sort Space Used": 7320, "Sort Space Type": "Memory"}, {"Worker Number": 1, "Actual Startup Time": 213.114, "Actual Total Time": 216.056, "Actual Rows": 24752, "Actual Loops": 1, "Sort Method": "quicksort", "Sort Space Used": 7360, "Sort Space Type": "Memory"}, {"Worker Number": 2, "Actual Startup Time": 213.602, "Actual Total Time": 216.512, "Actual Rows": 24610, "Actual Loops": 1, "Sort Method": "quicksort", "Sort Space Used": 7327, "Sort Space Type": "Memory"}], "Plans": [{"Node Type": "Hash Join", "Parent Relationship": "Outer", "Parallel Aware": false, "Join Type": "Inner", "Startup Cost": 5625.19, "Total Cost": 61279.02, "Plan Rows": 18084, "Plan Width": 182, "Actual Startup Time": 57.574, "Actual Total Time": 196.346, "Actual Rows": 27629, "Actual Loops": 4, "Output": ["customer.c_custkey", "nation.n_name", "customer.c_name", "lineitem.l_extendedprice", "lineitem.l_discount", "customer.c_acctbal", "customer.c_address", "customer.c_phone", "customer.c_comment"], "Inner Unique": true, "Hash Cond": "(customer.c_nationkey = nation.n_nationkey)", "Workers": [{"Worker Number": 0, "Actual Startup Time": 56.586, "Actual Total Time": 195.295, "Actual Rows": 24591, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 56.516, "Actual Total Time": 195.264, "Actual Rows": 24752, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 56.663, "Actual Total Time": 195.956, "Actual Rows": 24610, "Actual Loops": 1}], "Plans": [{"Node Type": "Hash Join", "Parent Relationship": "Outer", "Parallel Aware": true, "Join Type": "Inner", "Startup Cost": 5623.63, "Total Cost": 61221.94, "Plan Rows": 18084, "Plan Width": 160, "Actual Startup Time": 57.428, "Actual Total Time": 189.072, "Actual Rows": 27629, "Actual Loops": 4, "Output": ["customer.c_custkey", "customer.c_name", "customer.c_acctbal", "customer.c_address", "customer.c_phone", "customer.c_comment", "customer.c_nationkey", "lineitem.l_extendedprice", "lineitem.l_discount"], "Inner Unique": true, "Hash Cond": "(orders.o_custkey = customer.c_custkey)", "Workers": [{"Worker Number": 0, "Actual Startup Time": 56.396, "Actual Total Time": 188.783, "Actual Rows": 24591, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 56.327, "Actual Total Time": 188.711, "Actual Rows": 24752, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 56.483, "Actual Total Time": 189.337, "Actual Rows": 24610, "Actual Loops": 1}], "Plans": [{"Node Type": "Nested Loop", "Parent Relationship": "Outer", "Parallel Aware": false, "Join Type": "Inner", "Startup Cost": 632.38, "Total Cost": 56183.22, "Plan Rows": 18084, "Plan Width": 16, "Actual Startup Time": 18.647, "Actual Total Time": 136.621, "Actual Rows": 27629, "Actual Loops": 4, "Output": ["orders.o_custkey", "lineitem.l_extendedprice", "lineitem.l_discount"], "Inner Unique": false, "Workers": [{"Worker Number": 0, "Actual Startup Time": 18.754, "Actual Total Time": 138.795, "Actual Rows": 24591, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 18.65, "Actual Total Time": 138.655, "Actual Rows": 24752, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 18.606, "Actual Total Time": 138.707, "Actual Rows": 24610, "Actual Loops": 1}], "Plans": [{"Node Type": "Bitmap Heap Scan", "Parent Relationship": "Outer", "Parallel Aware": true, "Relation Name": "orders", "Schema": "public", "Alias": "orders", "Startup Cost": 631.95, "Total Cost": 26999.11, "Plan Rows": 18144, "Plan Width": 8, "Actual Startup Time": 18.586, "Actual Total Time": 42.2, "Actual Rows": 13816, "Actual Loops": 4, "Output": ["orders.o_orderkey", "orders.o_custkey", "orders.o_orderstatus", "orders.o_totalprice", "orders.o_orderdate", "orders.o_orderpriority", "orders.o_clerk", "orders.o_shippriority", "orders.o_comment"], "Recheck Cond": "((orders.o_orderdate >= '1993-02-01'::date) AND (orders.o_orderdate < '1993-05-01 00:00:00'::timestamp without time zone))", "Rows Removed by Index Recheck": 0, "Exact Heap Blocks": 7627, "Lossy Heap Blocks": 0, "Workers": [{"Worker Number": 0, "Actual Startup Time": 18.665, "Actual Total Time": 43.782, "Actual Rows": 12251, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 18.585, "Actual Total Time": 43.853, "Actual Rows": 12341, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 18.538, "Actual Total Time": 43.932, "Actual Rows": 12397, "Actual Loops": 1}], "Plans": [{"Node Type": "Bitmap Index Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Index Name": "o_od", "Startup Cost": 0.0, "Total Cost": 617.89, "Plan Rows": 56246, "Plan Width": 0, "Actual Startup Time": 12.373, "Actual Total Time": 12.373, "Actual Rows": 55266, "Actual Loops": 1, "Index Cond": "((orders.o_orderdate >= '1993-02-01'::date) AND (orders.o_orderdate < '1993-05-01 00:00:00'::timestamp without time zone))", "Workers": [{"Worker Number": 2, "Actual Startup Time": 12.373, "Actual Total Time": 12.373, "Actual Rows": 55266, "Actual Loops": 1}]}]}, {"Node Type": "Index Scan", "Parent Relationship": "Inner", "Parallel Aware": false, "Scan Direction": "Forward", "Index Name": "l_ok", "Relation Name": "lineitem", "Schema": "public", "Alias": "lineitem", "Startup Cost": 0.43, "Total Cost": 1.6, "Plan Rows": 1, "Plan Width": 16, "Actual Startup Time": 0.005, "Actual Total Time": 0.006, "Actual Rows": 2, "Actual Loops": 55266, "Output": ["lineitem.l_orderkey", "lineitem.l_partkey", "lineitem.l_suppkey", "lineitem.l_linenumber", "lineitem.l_quantity", "lineitem.l_extendedprice", "lineitem.l_discount", "lineitem.l_tax", "lineitem.l_returnflag", "lineitem.l_linestatus", "lineitem.l_shipdate", "lineitem.l_commitdate", "lineitem.l_receiptdate", "lineitem.l_shipinstruct", "lineitem.l_shipmode", "lineitem.l_comment"], "Index Cond": "(lineitem.l_orderkey = orders.o_orderkey)", "Rows Removed by Index Recheck": 0, "Filter": "(lineitem.l_returnflag = 'R'::bpchar)", "Rows Removed by Filter": 2, "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.006, "Actual Total Time": 0.007, "Actual Rows": 2, "Actual Loops": 12251}, {"Worker Number": 1, "Actual Startup Time": 0.006, "Actual Total Time": 0.007, "Actual Rows": 2, "Actual Loops": 12341}, {"Worker Number": 2, "Actual Startup Time": 0.006, "Actual Total Time": 0.007, "Actual Rows": 2, "Actual Loops": 12397}]}]}, {"Node Type": "Hash", "Parent Relationship": "Inner", "Parallel Aware": true, "Startup Cost": 4210.0, "Total Cost": 4210.0, "Plan Rows": 62500, "Plan Width": 148, "Actual Startup Time": 38.233, "Actual Total Time": 38.234, "Actual Rows": 37500, "Actual Loops": 4, "Output": ["customer.c_custkey", "customer.c_name", "customer.c_acctbal", "customer.c_address", "customer.c_phone", "customer.c_comment", "customer.c_nationkey"], "Hash Buckets": 262144, "Original Hash Buckets": 262144, "Hash Batches": 1, "Original Hash Batches": 1, "Peak Memory Usage": 29312, "Workers": [{"Worker Number": 0, "Actual Startup Time": 37.597, "Actual Total Time": 37.598, "Actual Rows": 34603, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 37.635, "Actual Total Time": 37.636, "Actual Rows": 35074, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 37.851, "Actual Total Time": 37.852, "Actual Rows": 35215, "Actual Loops": 1}], "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": true, "Relation Name": "customer", "Schema": "public", "Alias": "customer", "Startup Cost": 0.0, "Total Cost": 4210.0, "Plan Rows": 62500, "Plan Width": 148, "Actual Startup Time": 0.015, "Actual Total Time": 12.261, "Actual Rows": 37500, "Actual Loops": 4, "Output": ["customer.c_custkey", "customer.c_name", "customer.c_acctbal", "customer.c_address", "customer.c_phone", "customer.c_comment", "customer.c_nationkey"], "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.017, "Actual Total Time": 12.499, "Actual Rows": 34603, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 0.024, "Actual Total Time": 12.478, "Actual Rows": 35074, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 0.018, "Actual Total Time": 12.548, "Actual Rows": 35215, "Actual Loops": 1}]}]}]}, {"Node Type": "Hash", "Parent Relationship": "Inner", "Parallel Aware": false, "Startup Cost": 1.25, "Total Cost": 1.25, "Plan Rows": 25, "Plan Width": 30, "Actual Startup Time": 0.025, "Actual Total Time": 0.026, "Actual Rows": 25, "Actual Loops": 4, "Output": ["nation.n_name", "nation.n_nationkey"], "Hash Buckets": 1024, "Original Hash Buckets": 1024, "Hash Batches": 1, "Original Hash Batches": 1, "Peak Memory Usage": 10, "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.027, "Actual Total Time": 0.028, "Actual Rows": 25, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 0.028, "Actual Total Time": 0.029, "Actual Rows": 25, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 0.028, "Actual Total Time": 0.029, "Actual Rows": 25, "Actual Loops": 1}], "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Relation Name": "nation", "Schema": "public", "Alias": "nation", "Startup Cost": 0.0, "Total Cost": 1.25, "Plan Rows": 25, "Plan Width": 30, "Actual Startup Time": 0.013, "Actual Total Time": 0.018, "Actual Rows": 25, "Actual Loops": 4, "Output": ["nation.n_name", "nation.n_nationkey"], "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.016, "Actual Total Time": 0.02, "Actual Rows": 25, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 0.017, "Actual Total Time": 0.021, "Actual Rows": 25, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 0.016, "Actual Total Time": 0.021, "Actual Rows": 25, "Actual Loops": 1}]}]}]}]}]}]}]}]}, "Planning Time": 1.035, "Triggers": [], "Execution Time": 384.544} diff --git a/dev9/pg13/tpch/sf_1/explain_analyze/15721/11-1.ok b/dev9/pg13/tpch/sf_1/explain_analyze/15721/11-1.ok new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/dev9/pg13/tpch/sf_1/explain_analyze/15721/11-1.res b/dev9/pg13/tpch/sf_1/explain_analyze/15721/11-1.res new file mode 100644 index 0000000000000000000000000000000000000000..26bf1267981befc628f669cbdf36ea4ac5d60b8e --- /dev/null +++ b/dev9/pg13/tpch/sf_1/explain_analyze/15721/11-1.res @@ -0,0 +1 @@ +{"Plan": {"Node Type": "Sort", "Parallel Aware": false, "Startup Cost": 6221.13, "Total Cost": 6247.8, "Plan Rows": 10667, "Plan Width": 36, "Actual Startup Time": 104.035, "Actual Total Time": 104.098, "Actual Rows": 869, "Actual Loops": 1, "Output": ["partsupp.ps_partkey", "(sum((partsupp.ps_supplycost * (partsupp.ps_availqty)::numeric)))"], "Sort Key": ["(sum((partsupp.ps_supplycost * (partsupp.ps_availqty)::numeric))) DESC"], "Sort Method": "quicksort", "Sort Space Used": 65, "Sort Space Type": "Memory", "Plans": [{"Node Type": "Aggregate", "Strategy": "Plain", "Partial Mode": "Simple", "Parent Relationship": "InitPlan", "Subplan Name": "InitPlan 1 (returns $2)", "Parallel Aware": false, "Startup Cost": 2313.73, "Total Cost": 2313.74, "Plan Rows": 1, "Plan Width": 32, "Actual Startup Time": 36.759, "Actual Total Time": 36.761, "Actual Rows": 1, "Actual Loops": 1, "Output": ["(sum((partsupp_1.ps_supplycost * (partsupp_1.ps_availqty)::numeric)) * 0.0001000000)"], "Plans": [{"Node Type": "Nested Loop", "Parent Relationship": "Outer", "Parallel Aware": false, "Join Type": "Inner", "Startup Cost": 4.91, "Total Cost": 2073.72, "Plan Rows": 32000, "Plan Width": 10, "Actual Startup Time": 0.064, "Actual Total Time": 25.993, "Actual Rows": 32560, "Actual Loops": 1, "Output": ["partsupp_1.ps_supplycost", "partsupp_1.ps_availqty"], "Inner Unique": false, "Plans": [{"Node Type": "Nested Loop", "Parent Relationship": "Outer", "Parallel Aware": false, "Join Type": "Inner", "Startup Cost": 4.48, "Total Cost": 226.33, "Plan Rows": 400, "Plan Width": 4, "Actual Startup Time": 0.058, "Actual Total Time": 0.372, "Actual Rows": 407, "Actual Loops": 1, "Output": ["supplier_1.s_suppkey"], "Inner Unique": false, "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Relation Name": "nation", "Schema": "public", "Alias": "nation_1", "Startup Cost": 0.0, "Total Cost": 1.31, "Plan Rows": 1, "Plan Width": 4, "Actual Startup Time": 0.007, "Actual Total Time": 0.009, "Actual Rows": 1, "Actual Loops": 1, "Output": ["nation_1.n_nationkey", "nation_1.n_name", "nation_1.n_regionkey", "nation_1.n_comment"], "Filter": "(nation_1.n_name = 'CHINA'::bpchar)", "Rows Removed by Filter": 24}, {"Node Type": "Bitmap Heap Scan", "Parent Relationship": "Inner", "Parallel Aware": false, "Relation Name": "supplier", "Schema": "public", "Alias": "supplier_1", "Startup Cost": 4.48, "Total Cost": 221.01, "Plan Rows": 400, "Plan Width": 8, "Actual Startup Time": 0.049, "Actual Total Time": 0.302, "Actual Rows": 407, "Actual Loops": 1, "Output": ["supplier_1.s_suppkey", "supplier_1.s_name", "supplier_1.s_address", "supplier_1.s_nationkey", "supplier_1.s_phone", "supplier_1.s_acctbal", "supplier_1.s_comment"], "Recheck Cond": "(supplier_1.s_nationkey = nation_1.n_nationkey)", "Rows Removed by Index Recheck": 0, "Exact Heap Blocks": 186, "Lossy Heap Blocks": 0, "Plans": [{"Node Type": "Bitmap Index Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Index Name": "s_nk", "Startup Cost": 0.0, "Total Cost": 4.38, "Plan Rows": 400, "Plan Width": 0, "Actual Startup Time": 0.023, "Actual Total Time": 0.023, "Actual Rows": 407, "Actual Loops": 1, "Index Cond": "(supplier_1.s_nationkey = nation_1.n_nationkey)"}]}]}, {"Node Type": "Index Scan", "Parent Relationship": "Inner", "Parallel Aware": false, "Scan Direction": "Forward", "Index Name": "ps_sk", "Relation Name": "partsupp", "Schema": "public", "Alias": "partsupp_1", "Startup Cost": 0.42, "Total Cost": 3.82, "Plan Rows": 80, "Plan Width": 14, "Actual Startup Time": 0.003, "Actual Total Time": 0.051, "Actual Rows": 80, "Actual Loops": 407, "Output": ["partsupp_1.ps_partkey", "partsupp_1.ps_suppkey", "partsupp_1.ps_availqty", "partsupp_1.ps_supplycost", "partsupp_1.ps_comment"], "Index Cond": "(partsupp_1.ps_suppkey = supplier_1.s_suppkey)", "Rows Removed by Index Recheck": 0}]}]}, {"Node Type": "Aggregate", "Strategy": "Hashed", "Partial Mode": "Simple", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 2633.72, "Total Cost": 3193.72, "Plan Rows": 10667, "Plan Width": 36, "Actual Startup Time": 89.518, "Actual Total Time": 103.721, "Actual Rows": 869, "Actual Loops": 1, "Output": ["partsupp.ps_partkey", "sum((partsupp.ps_supplycost * (partsupp.ps_availqty)::numeric))"], "Group Key": ["partsupp.ps_partkey"], "Filter": "(sum((partsupp.ps_supplycost * (partsupp.ps_availqty)::numeric)) > $2)", "Planned Partitions": 0, "HashAgg Batches": 1, "Peak Memory Usage": 10769, "Disk Usage": 0, "Rows Removed by Filter": 29770, "Plans": [{"Node Type": "Nested Loop", "Parent Relationship": "Outer", "Parallel Aware": false, "Join Type": "Inner", "Startup Cost": 4.91, "Total Cost": 2073.72, "Plan Rows": 32000, "Plan Width": 14, "Actual Startup Time": 0.074, "Actual Total Time": 31.853, "Actual Rows": 32560, "Actual Loops": 1, "Output": ["partsupp.ps_partkey", "partsupp.ps_supplycost", "partsupp.ps_availqty"], "Inner Unique": false, "Plans": [{"Node Type": "Nested Loop", "Parent Relationship": "Outer", "Parallel Aware": false, "Join Type": "Inner", "Startup Cost": 4.48, "Total Cost": 226.33, "Plan Rows": 400, "Plan Width": 4, "Actual Startup Time": 0.065, "Actual Total Time": 0.458, "Actual Rows": 407, "Actual Loops": 1, "Output": ["supplier.s_suppkey"], "Inner Unique": false, "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Relation Name": "nation", "Schema": "public", "Alias": "nation", "Startup Cost": 0.0, "Total Cost": 1.31, "Plan Rows": 1, "Plan Width": 4, "Actual Startup Time": 0.009, "Actual Total Time": 0.013, "Actual Rows": 1, "Actual Loops": 1, "Output": ["nation.n_nationkey", "nation.n_name", "nation.n_regionkey", "nation.n_comment"], "Filter": "(nation.n_name = 'CHINA'::bpchar)", "Rows Removed by Filter": 24}, {"Node Type": "Bitmap Heap Scan", "Parent Relationship": "Inner", "Parallel Aware": false, "Relation Name": "supplier", "Schema": "public", "Alias": "supplier", "Startup Cost": 4.48, "Total Cost": 221.01, "Plan Rows": 400, "Plan Width": 8, "Actual Startup Time": 0.053, "Actual Total Time": 0.381, "Actual Rows": 407, "Actual Loops": 1, "Output": ["supplier.s_suppkey", "supplier.s_name", "supplier.s_address", "supplier.s_nationkey", "supplier.s_phone", "supplier.s_acctbal", "supplier.s_comment"], "Recheck Cond": "(supplier.s_nationkey = nation.n_nationkey)", "Rows Removed by Index Recheck": 0, "Exact Heap Blocks": 186, "Lossy Heap Blocks": 0, "Plans": [{"Node Type": "Bitmap Index Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Index Name": "s_nk", "Startup Cost": 0.0, "Total Cost": 4.38, "Plan Rows": 400, "Plan Width": 0, "Actual Startup Time": 0.025, "Actual Total Time": 0.025, "Actual Rows": 407, "Actual Loops": 1, "Index Cond": "(supplier.s_nationkey = nation.n_nationkey)"}]}]}, {"Node Type": "Index Scan", "Parent Relationship": "Inner", "Parallel Aware": false, "Scan Direction": "Forward", "Index Name": "ps_sk", "Relation Name": "partsupp", "Schema": "public", "Alias": "partsupp", "Startup Cost": 0.42, "Total Cost": 3.82, "Plan Rows": 80, "Plan Width": 18, "Actual Startup Time": 0.003, "Actual Total Time": 0.064, "Actual Rows": 80, "Actual Loops": 407, "Output": ["partsupp.ps_partkey", "partsupp.ps_suppkey", "partsupp.ps_availqty", "partsupp.ps_supplycost", "partsupp.ps_comment"], "Index Cond": "(partsupp.ps_suppkey = supplier.s_suppkey)", "Rows Removed by Index Recheck": 0}]}]}]}, "Planning Time": 0.801, "Triggers": [], "Execution Time": 104.414} diff --git a/dev9/pg13/tpch/sf_1/explain_analyze/15721/12-1.ok b/dev9/pg13/tpch/sf_1/explain_analyze/15721/12-1.ok new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/dev9/pg13/tpch/sf_1/explain_analyze/15721/12-1.res b/dev9/pg13/tpch/sf_1/explain_analyze/15721/12-1.res new file mode 100644 index 0000000000000000000000000000000000000000..ed607e19731152f23c464cb99795217ed8e402b7 --- /dev/null +++ b/dev9/pg13/tpch/sf_1/explain_analyze/15721/12-1.res @@ -0,0 +1 @@ +{"Plan": {"Node Type": "Aggregate", "Strategy": "Sorted", "Partial Mode": "Finalize", "Parallel Aware": false, "Startup Cost": 135653.08, "Total Cost": 135773.8, "Plan Rows": 7, "Plan Width": 27, "Actual Startup Time": 301.48, "Actual Total Time": 338.357, "Actual Rows": 2, "Actual Loops": 1, "Output": ["lineitem.l_shipmode", "sum(CASE WHEN ((orders.o_orderpriority = '1-URGENT'::bpchar) OR (orders.o_orderpriority = '2-HIGH'::bpchar)) THEN 1 ELSE 0 END)", "sum(CASE WHEN ((orders.o_orderpriority <> '1-URGENT'::bpchar) AND (orders.o_orderpriority <> '2-HIGH'::bpchar)) THEN 1 ELSE 0 END)"], "Group Key": ["lineitem.l_shipmode"], "Plans": [{"Node Type": "Gather Merge", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 135653.08, "Total Cost": 135773.46, "Plan Rows": 35, "Plan Width": 27, "Actual Startup Time": 299.897, "Actual Total Time": 338.347, "Actual Rows": 12, "Actual Loops": 1, "Output": ["lineitem.l_shipmode", "(PARTIAL sum(CASE WHEN ((orders.o_orderpriority = '1-URGENT'::bpchar) OR (orders.o_orderpriority = '2-HIGH'::bpchar)) THEN 1 ELSE 0 END))", "(PARTIAL sum(CASE WHEN ((orders.o_orderpriority <> '1-URGENT'::bpchar) AND (orders.o_orderpriority <> '2-HIGH'::bpchar)) THEN 1 ELSE 0 END))"], "Workers Planned": 5, "Workers Launched": 5, "Plans": [{"Node Type": "Aggregate", "Strategy": "Sorted", "Partial Mode": "Partial", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 134653.0, "Total Cost": 134769.17, "Plan Rows": 7, "Plan Width": 27, "Actual Startup Time": 295.051, "Actual Total Time": 296.1, "Actual Rows": 2, "Actual Loops": 6, "Output": ["lineitem.l_shipmode", "PARTIAL sum(CASE WHEN ((orders.o_orderpriority = '1-URGENT'::bpchar) OR (orders.o_orderpriority = '2-HIGH'::bpchar)) THEN 1 ELSE 0 END)", "PARTIAL sum(CASE WHEN ((orders.o_orderpriority <> '1-URGENT'::bpchar) AND (orders.o_orderpriority <> '2-HIGH'::bpchar)) THEN 1 ELSE 0 END)"], "Group Key": ["lineitem.l_shipmode"], "Workers": [{"Worker Number": 0, "Actual Startup Time": 293.448, "Actual Total Time": 294.387, "Actual Rows": 2, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 294.21, "Actual Total Time": 295.16, "Actual Rows": 2, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 294.334, "Actual Total Time": 295.28, "Actual Rows": 2, "Actual Loops": 1}, {"Worker Number": 3, "Actual Startup Time": 294.345, "Actual Total Time": 295.277, "Actual Rows": 2, "Actual Loops": 1}, {"Worker Number": 4, "Actual Startup Time": 294.547, "Actual Total Time": 295.502, "Actual Rows": 2, "Actual Loops": 1}], "Plans": [{"Node Type": "Sort", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 134653.0, "Total Cost": 134667.51, "Plan Rows": 5805, "Plan Width": 27, "Actual Startup Time": 294.025, "Actual Total Time": 294.33, "Actual Rows": 5187, "Actual Loops": 6, "Output": ["lineitem.l_shipmode", "orders.o_orderpriority"], "Sort Key": ["lineitem.l_shipmode"], "Sort Method": "quicksort", "Sort Space Used": 808, "Sort Space Type": "Memory", "Workers": [{"Worker Number": 0, "Actual Startup Time": 292.517, "Actual Total Time": 292.791, "Actual Rows": 4658, "Actual Loops": 1, "Sort Method": "quicksort", "Sort Space Used": 556, "Sort Space Type": "Memory"}, {"Worker Number": 1, "Actual Startup Time": 293.328, "Actual Total Time": 293.597, "Actual Rows": 4566, "Actual Loops": 1, "Sort Method": "quicksort", "Sort Space Used": 549, "Sort Space Type": "Memory"}, {"Worker Number": 2, "Actual Startup Time": 293.427, "Actual Total Time": 293.695, "Actual Rows": 4618, "Actual Loops": 1, "Sort Method": "quicksort", "Sort Space Used": 553, "Sort Space Type": "Memory"}, {"Worker Number": 3, "Actual Startup Time": 293.428, "Actual Total Time": 293.701, "Actual Rows": 4613, "Actual Loops": 1, "Sort Method": "quicksort", "Sort Space Used": 553, "Sort Space Type": "Memory"}, {"Worker Number": 4, "Actual Startup Time": 293.588, "Actual Total Time": 293.868, "Actual Rows": 4787, "Actual Loops": 1, "Sort Method": "quicksort", "Sort Space Used": 566, "Sort Space Type": "Memory"}], "Plans": [{"Node Type": "Nested Loop", "Parent Relationship": "Outer", "Parallel Aware": false, "Join Type": "Inner", "Startup Cost": 10064.92, "Total Cost": 134290.1, "Plan Rows": 5805, "Plan Width": 27, "Actual Startup Time": 115.374, "Actual Total Time": 292.312, "Actual Rows": 5187, "Actual Loops": 6, "Output": ["lineitem.l_shipmode", "orders.o_orderpriority"], "Inner Unique": true, "Workers": [{"Worker Number": 0, "Actual Startup Time": 113.927, "Actual Total Time": 290.911, "Actual Rows": 4658, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 114.767, "Actual Total Time": 291.759, "Actual Rows": 4566, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 114.985, "Actual Total Time": 291.847, "Actual Rows": 4618, "Actual Loops": 1}, {"Worker Number": 3, "Actual Startup Time": 114.802, "Actual Total Time": 291.847, "Actual Rows": 4613, "Actual Loops": 1}, {"Worker Number": 4, "Actual Startup Time": 115.202, "Actual Total Time": 291.96, "Actual Rows": 4787, "Actual Loops": 1}], "Plans": [{"Node Type": "Bitmap Heap Scan", "Parent Relationship": "Outer", "Parallel Aware": true, "Relation Name": "lineitem", "Schema": "public", "Alias": "lineitem", "Startup Cost": 10064.49, "Total Cost": 126698.04, "Plan Rows": 5805, "Plan Width": 15, "Actual Startup Time": 115.314, "Actual Total Time": 261.475, "Actual Rows": 5187, "Actual Loops": 6, "Output": ["lineitem.l_orderkey", "lineitem.l_partkey", "lineitem.l_suppkey", "lineitem.l_linenumber", "lineitem.l_quantity", "lineitem.l_extendedprice", "lineitem.l_discount", "lineitem.l_tax", "lineitem.l_returnflag", "lineitem.l_linestatus", "lineitem.l_shipdate", "lineitem.l_commitdate", "lineitem.l_receiptdate", "lineitem.l_shipinstruct", "lineitem.l_shipmode", "lineitem.l_comment"], "Recheck Cond": "((lineitem.l_receiptdate >= '1995-01-01'::date) AND (lineitem.l_receiptdate < '1996-01-01 00:00:00'::timestamp without time zone))", "Rows Removed by Index Recheck": 0, "Filter": "((lineitem.l_shipmode = ANY ('{MAIL,TRUCK}'::bpchar[])) AND (lineitem.l_commitdate < lineitem.l_receiptdate) AND (lineitem.l_shipdate < lineitem.l_commitdate))", "Rows Removed by Filter": 147278, "Exact Heap Blocks": 26732, "Lossy Heap Blocks": 0, "Workers": [{"Worker Number": 0, "Actual Startup Time": 113.864, "Actual Total Time": 259.469, "Actual Rows": 4658, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 114.705, "Actual Total Time": 260.691, "Actual Rows": 4566, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 114.91, "Actual Total Time": 260.527, "Actual Rows": 4618, "Actual Loops": 1}, {"Worker Number": 3, "Actual Startup Time": 114.742, "Actual Total Time": 260.808, "Actual Rows": 4613, "Actual Loops": 1}, {"Worker Number": 4, "Actual Startup Time": 115.121, "Actual Total Time": 259.998, "Actual Rows": 4787, "Actual Loops": 1}], "Plans": [{"Node Type": "Bitmap Index Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Index Name": "l_rd", "Startup Cost": 0.0, "Total Cost": 10057.23, "Plan Rows": 917900, "Plan Width": 0, "Actual Startup Time": 83.076, "Actual Total Time": 83.076, "Actual Rows": 914792, "Actual Loops": 1, "Index Cond": "((lineitem.l_receiptdate >= '1995-01-01'::date) AND (lineitem.l_receiptdate < '1996-01-01 00:00:00'::timestamp without time zone))", "Workers": []}]}, {"Node Type": "Index Scan", "Parent Relationship": "Inner", "Parallel Aware": false, "Scan Direction": "Forward", "Index Name": "o_ok", "Relation Name": "orders", "Schema": "public", "Alias": "orders", "Startup Cost": 0.43, "Total Cost": 1.31, "Plan Rows": 1, "Plan Width": 20, "Actual Startup Time": 0.005, "Actual Total Time": 0.005, "Actual Rows": 1, "Actual Loops": 31122, "Output": ["orders.o_orderkey", "orders.o_custkey", "orders.o_orderstatus", "orders.o_totalprice", "orders.o_orderdate", "orders.o_orderpriority", "orders.o_clerk", "orders.o_shippriority", "orders.o_comment"], "Index Cond": "(orders.o_orderkey = lineitem.l_orderkey)", "Rows Removed by Index Recheck": 0, "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.006, "Actual Total Time": 0.006, "Actual Rows": 1, "Actual Loops": 4658}, {"Worker Number": 1, "Actual Startup Time": 0.006, "Actual Total Time": 0.006, "Actual Rows": 1, "Actual Loops": 4566}, {"Worker Number": 2, "Actual Startup Time": 0.006, "Actual Total Time": 0.006, "Actual Rows": 1, "Actual Loops": 4618}, {"Worker Number": 3, "Actual Startup Time": 0.006, "Actual Total Time": 0.006, "Actual Rows": 1, "Actual Loops": 4613}, {"Worker Number": 4, "Actual Startup Time": 0.006, "Actual Total Time": 0.006, "Actual Rows": 1, "Actual Loops": 4787}]}]}]}]}]}]}, "Planning Time": 0.372, "Triggers": [], "Execution Time": 338.418} diff --git a/dev9/pg13/tpch/sf_1/explain_analyze/15721/13-1.ok b/dev9/pg13/tpch/sf_1/explain_analyze/15721/13-1.ok new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/dev9/pg13/tpch/sf_1/explain_analyze/15721/13-1.res b/dev9/pg13/tpch/sf_1/explain_analyze/15721/13-1.res new file mode 100644 index 0000000000000000000000000000000000000000..349dabca5b60916f7cc7bf3d63cf34f1a2e3ddc0 --- /dev/null +++ b/dev9/pg13/tpch/sf_1/explain_analyze/15721/13-1.res @@ -0,0 +1 @@ +{"Plan": {"Node Type": "Sort", "Parallel Aware": false, "Startup Cost": 64439.71, "Total Cost": 64440.21, "Plan Rows": 200, "Plan Width": 16, "Actual Startup Time": 1613.087, "Actual Total Time": 1613.093, "Actual Rows": 42, "Actual Loops": 1, "Output": ["(count(orders.o_orderkey))", "(count(*))"], "Sort Key": ["(count(*)) DESC", "(count(orders.o_orderkey)) DESC"], "Sort Method": "quicksort", "Sort Space Used": 26, "Sort Space Type": "Memory", "Plans": [{"Node Type": "Aggregate", "Strategy": "Hashed", "Partial Mode": "Simple", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 64430.07, "Total Cost": 64432.07, "Plan Rows": 200, "Plan Width": 16, "Actual Startup Time": 1613.052, "Actual Total Time": 1613.063, "Actual Rows": 42, "Actual Loops": 1, "Output": ["(count(orders.o_orderkey))", "count(*)"], "Group Key": ["count(orders.o_orderkey)"], "Planned Partitions": 0, "HashAgg Batches": 1, "Peak Memory Usage": 40, "Disk Usage": 0, "Plans": [{"Node Type": "Aggregate", "Strategy": "Hashed", "Partial Mode": "Simple", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 60680.07, "Total Cost": 62180.07, "Plan Rows": 150000, "Plan Width": 12, "Actual Startup Time": 1555.156, "Actual Total Time": 1588.649, "Actual Rows": 150000, "Actual Loops": 1, "Output": ["customer.c_custkey", "count(orders.o_orderkey)"], "Group Key": ["customer.c_custkey"], "Planned Partitions": 0, "HashAgg Batches": 1, "Peak Memory Usage": 18449, "Disk Usage": 0, "Plans": [{"Node Type": "Hash Join", "Parent Relationship": "Outer", "Parallel Aware": false, "Join Type": "Right", "Startup Cost": 4580.82, "Total Cost": 53300.31, "Plan Rows": 1475952, "Plan Width": 8, "Actual Startup Time": 38.808, "Actual Total Time": 1131.408, "Actual Rows": 1533817, "Actual Loops": 1, "Output": ["customer.c_custkey", "orders.o_orderkey"], "Inner Unique": true, "Hash Cond": "(orders.o_custkey = customer.c_custkey)", "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Relation Name": "orders", "Schema": "public", "Alias": "orders", "Startup Cost": 0.0, "Total Cost": 44845.0, "Plan Rows": 1475952, "Plan Width": 8, "Actual Startup Time": 0.01, "Actual Total Time": 689.528, "Actual Rows": 1483813, "Actual Loops": 1, "Output": ["orders.o_orderkey", "orders.o_custkey", "orders.o_orderstatus", "orders.o_totalprice", "orders.o_orderdate", "orders.o_orderpriority", "orders.o_clerk", "orders.o_shippriority", "orders.o_comment"], "Filter": "((orders.o_comment)::text !~~ '%unusual%requests%'::text)", "Rows Removed by Filter": 16187}, {"Node Type": "Hash", "Parent Relationship": "Inner", "Parallel Aware": false, "Startup Cost": 2705.82, "Total Cost": 2705.82, "Plan Rows": 150000, "Plan Width": 4, "Actual Startup Time": 38.496, "Actual Total Time": 38.497, "Actual Rows": 150000, "Actual Loops": 1, "Output": ["customer.c_custkey"], "Hash Buckets": 262144, "Original Hash Buckets": 262144, "Hash Batches": 1, "Original Hash Batches": 1, "Peak Memory Usage": 7322, "Plans": [{"Node Type": "Index Only Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Scan Direction": "Forward", "Index Name": "c_ck", "Relation Name": "customer", "Schema": "public", "Alias": "customer", "Startup Cost": 0.42, "Total Cost": 2705.82, "Plan Rows": 150000, "Plan Width": 4, "Actual Startup Time": 0.011, "Actual Total Time": 16.781, "Actual Rows": 150000, "Actual Loops": 1, "Output": ["customer.c_custkey"], "Heap Fetches": 0}]}]}]}]}]}, "Planning Time": 0.508, "Triggers": [], "Execution Time": 1614.084} diff --git a/dev9/pg13/tpch/sf_1/explain_analyze/15721/14-1.ok b/dev9/pg13/tpch/sf_1/explain_analyze/15721/14-1.ok new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/dev9/pg13/tpch/sf_1/explain_analyze/15721/14-1.res b/dev9/pg13/tpch/sf_1/explain_analyze/15721/14-1.res new file mode 100644 index 0000000000000000000000000000000000000000..85e7db6b9a160862ab7083b7b8fe028e73e1119c --- /dev/null +++ b/dev9/pg13/tpch/sf_1/explain_analyze/15721/14-1.res @@ -0,0 +1 @@ +{"Plan": {"Node Type": "Aggregate", "Strategy": "Plain", "Partial Mode": "Finalize", "Parallel Aware": false, "Startup Cost": 68366.56, "Total Cost": 68366.58, "Plan Rows": 1, "Plan Width": 32, "Actual Startup Time": 118.885, "Actual Total Time": 136.947, "Actual Rows": 1, "Actual Loops": 1, "Output": ["((100.00 * sum(CASE WHEN ((part.p_type)::text ~~ 'PROMO%'::text) THEN (lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount)) ELSE '0'::numeric END)) / sum((lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount))))"], "Plans": [{"Node Type": "Gather", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 68366.11, "Total Cost": 68366.52, "Plan Rows": 4, "Plan Width": 64, "Actual Startup Time": 116.27, "Actual Total Time": 136.929, "Actual Rows": 5, "Actual Loops": 1, "Output": ["(PARTIAL sum(CASE WHEN ((part.p_type)::text ~~ 'PROMO%'::text) THEN (lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount)) ELSE '0'::numeric END))", "(PARTIAL sum((lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount))))"], "Workers Planned": 4, "Workers Launched": 4, "Single Copy": false, "Plans": [{"Node Type": "Aggregate", "Strategy": "Plain", "Partial Mode": "Partial", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 67366.11, "Total Cost": 67366.12, "Plan Rows": 1, "Plan Width": 64, "Actual Startup Time": 112.603, "Actual Total Time": 112.606, "Actual Rows": 1, "Actual Loops": 5, "Output": ["PARTIAL sum(CASE WHEN ((part.p_type)::text ~~ 'PROMO%'::text) THEN (lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount)) ELSE '0'::numeric END)", "PARTIAL sum((lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount)))"], "Workers": [{"Worker Number": 0, "Actual Startup Time": 111.654, "Actual Total Time": 111.657, "Actual Rows": 1, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 111.723, "Actual Total Time": 111.727, "Actual Rows": 1, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 111.949, "Actual Total Time": 111.952, "Actual Rows": 1, "Actual Loops": 1}, {"Worker Number": 3, "Actual Startup Time": 111.821, "Actual Total Time": 111.824, "Actual Rows": 1, "Actual Loops": 1}], "Plans": [{"Node Type": "Hash Join", "Parent Relationship": "Outer", "Parallel Aware": true, "Join Type": "Inner", "Startup Cost": 6852.83, "Total Cost": 67022.72, "Plan Rows": 19622, "Plan Width": 33, "Actual Startup Time": 51.866, "Actual Total Time": 103.785, "Actual Rows": 15580, "Actual Loops": 5, "Output": ["part.p_type", "lineitem.l_extendedprice", "lineitem.l_discount"], "Inner Unique": true, "Hash Cond": "(lineitem.l_partkey = part.p_partkey)", "Workers": [{"Worker Number": 0, "Actual Startup Time": 51.05, "Actual Total Time": 104.283, "Actual Rows": 12712, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 51.102, "Actual Total Time": 104.391, "Actual Rows": 12611, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 50.706, "Actual Total Time": 104.513, "Actual Rows": 12765, "Actual Loops": 1}, {"Worker Number": 3, "Actual Startup Time": 51.218, "Actual Total Time": 104.394, "Actual Rows": 12787, "Actual Loops": 1}], "Plans": [{"Node Type": "Bitmap Heap Scan", "Parent Relationship": "Outer", "Parallel Aware": true, "Relation Name": "lineitem", "Schema": "public", "Alias": "lineitem", "Startup Cost": 880.83, "Total Cost": 60999.21, "Plan Rows": 19622, "Plan Width": 16, "Actual Startup Time": 22.633, "Actual Total Time": 65.83, "Actual Rows": 15580, "Actual Loops": 5, "Output": ["lineitem.l_orderkey", "lineitem.l_partkey", "lineitem.l_suppkey", "lineitem.l_linenumber", "lineitem.l_quantity", "lineitem.l_extendedprice", "lineitem.l_discount", "lineitem.l_tax", "lineitem.l_returnflag", "lineitem.l_linestatus", "lineitem.l_shipdate", "lineitem.l_commitdate", "lineitem.l_receiptdate", "lineitem.l_shipinstruct", "lineitem.l_shipmode", "lineitem.l_comment"], "Recheck Cond": "((lineitem.l_shipdate >= '1995-05-01'::date) AND (lineitem.l_shipdate < '1995-06-01 00:00:00'::timestamp without time zone))", "Rows Removed by Index Recheck": 0, "Exact Heap Blocks": 14574, "Lossy Heap Blocks": 0, "Workers": [{"Worker Number": 0, "Actual Startup Time": 22.729, "Actual Total Time": 68.537, "Actual Rows": 12712, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 22.709, "Actual Total Time": 68.727, "Actual Rows": 12611, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 22.283, "Actual Total Time": 68.524, "Actual Rows": 12765, "Actual Loops": 1}, {"Worker Number": 3, "Actual Startup Time": 22.728, "Actual Total Time": 68.49, "Actual Rows": 12787, "Actual Loops": 1}], "Plans": [{"Node Type": "Bitmap Index Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Index Name": "l_sd", "Startup Cost": 0.0, "Total Cost": 861.21, "Plan Rows": 78488, "Plan Width": 0, "Actual Startup Time": 10.22, "Actual Total Time": 10.221, "Actual Rows": 77900, "Actual Loops": 1, "Index Cond": "((lineitem.l_shipdate >= '1995-05-01'::date) AND (lineitem.l_shipdate < '1995-06-01 00:00:00'::timestamp without time zone))", "Workers": [{"Worker Number": 2, "Actual Startup Time": 10.22, "Actual Total Time": 10.221, "Actual Rows": 77900, "Actual Loops": 1}]}]}, {"Node Type": "Hash", "Parent Relationship": "Inner", "Parallel Aware": true, "Startup Cost": 4930.33, "Total Cost": 4930.33, "Plan Rows": 83333, "Plan Width": 25, "Actual Startup Time": 28.684, "Actual Total Time": 28.685, "Actual Rows": 40000, "Actual Loops": 5, "Output": ["part.p_type", "part.p_partkey"], "Hash Buckets": 262144, "Original Hash Buckets": 262144, "Hash Batches": 1, "Original Hash Batches": 1, "Peak Memory Usage": 14208, "Workers": [{"Worker Number": 0, "Actual Startup Time": 28.174, "Actual Total Time": 28.175, "Actual Rows": 36734, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 28.23, "Actual Total Time": 28.231, "Actual Rows": 36501, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 28.283, "Actual Total Time": 28.284, "Actual Rows": 37234, "Actual Loops": 1}, {"Worker Number": 3, "Actual Startup Time": 28.322, "Actual Total Time": 28.323, "Actual Rows": 37673, "Actual Loops": 1}], "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": true, "Relation Name": "part", "Schema": "public", "Alias": "part", "Startup Cost": 0.0, "Total Cost": 4930.33, "Plan Rows": 83333, "Plan Width": 25, "Actual Startup Time": 0.012, "Actual Total Time": 11.72, "Actual Rows": 40000, "Actual Loops": 5, "Output": ["part.p_type", "part.p_partkey"], "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.013, "Actual Total Time": 11.785, "Actual Rows": 36734, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 0.013, "Actual Total Time": 11.79, "Actual Rows": 36501, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 0.014, "Actual Total Time": 11.908, "Actual Rows": 37234, "Actual Loops": 1}, {"Worker Number": 3, "Actual Startup Time": 0.014, "Actual Total Time": 11.973, "Actual Rows": 37673, "Actual Loops": 1}]}]}]}]}]}]}, "Planning Time": 0.313, "Triggers": [], "Execution Time": 137.0} diff --git a/dev9/pg13/tpch/sf_1/explain_analyze/15721/15-1.ok b/dev9/pg13/tpch/sf_1/explain_analyze/15721/15-1.ok new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/dev9/pg13/tpch/sf_1/explain_analyze/15721/15-1.res b/dev9/pg13/tpch/sf_1/explain_analyze/15721/15-1.res new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/dev9/pg13/tpch/sf_1/explain_analyze/15721/15-2.ok b/dev9/pg13/tpch/sf_1/explain_analyze/15721/15-2.ok new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/dev9/pg13/tpch/sf_1/explain_analyze/15721/15-2.res b/dev9/pg13/tpch/sf_1/explain_analyze/15721/15-2.res new file mode 100644 index 0000000000000000000000000000000000000000..9a6a0722123d92ab94096923da866d48fe810ad5 --- /dev/null +++ b/dev9/pg13/tpch/sf_1/explain_analyze/15721/15-2.res @@ -0,0 +1 @@ +{"Plan": {"Node Type": "Merge Join", "Parallel Aware": false, "Join Type": "Inner", "Startup Cost": 241424.17, "Total Cost": 241855.03, "Plan Rows": 50, "Plan Width": 103, "Actual Startup Time": 598.334, "Actual Total Time": 598.34, "Actual Rows": 1, "Actual Loops": 1, "Output": ["supplier.s_suppkey", "supplier.s_name", "supplier.s_address", "supplier.s_phone", "revenue0.total_revenue"], "Inner Unique": true, "Merge Cond": "(supplier.s_suppkey = revenue0.supplier_no)", "Plans": [{"Node Type": "Aggregate", "Strategy": "Plain", "Partial Mode": "Simple", "Parent Relationship": "InitPlan", "Subplan Name": "InitPlan 1 (returns $0)", "Parallel Aware": false, "Startup Cost": 119918.09, "Total Cost": 119918.1, "Plan Rows": 1, "Plan Width": 32, "Actual Startup Time": 297.127, "Actual Total Time": 297.128, "Actual Rows": 1, "Actual Loops": 1, "Output": ["max((sum((lineitem_1.l_extendedprice * ('1'::numeric - lineitem_1.l_discount)))))"], "Plans": [{"Node Type": "Aggregate", "Strategy": "Hashed", "Partial Mode": "Simple", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 119668.09, "Total Cost": 119793.09, "Plan Rows": 10000, "Plan Width": 36, "Actual Startup Time": 292.692, "Actual Total Time": 296.177, "Actual Rows": 10000, "Actual Loops": 1, "Output": ["lineitem_1.l_suppkey", "sum((lineitem_1.l_extendedprice * ('1'::numeric - lineitem_1.l_discount)))"], "Group Key": ["lineitem_1.l_suppkey"], "Planned Partitions": 0, "HashAgg Batches": 1, "Peak Memory Usage": 3473, "Disk Usage": 0, "Plans": [{"Node Type": "Bitmap Heap Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Relation Name": "lineitem", "Schema": "public", "Alias": "lineitem_1", "Startup Cost": 2482.48, "Total Cost": 117453.7, "Plan Rows": 221439, "Plan Width": 16, "Actual Startup Time": 34.389, "Actual Total Time": 139.217, "Actual Rows": 225253, "Actual Loops": 1, "Output": ["lineitem_1.l_orderkey", "lineitem_1.l_partkey", "lineitem_1.l_suppkey", "lineitem_1.l_linenumber", "lineitem_1.l_quantity", "lineitem_1.l_extendedprice", "lineitem_1.l_discount", "lineitem_1.l_tax", "lineitem_1.l_returnflag", "lineitem_1.l_linestatus", "lineitem_1.l_shipdate", "lineitem_1.l_commitdate", "lineitem_1.l_receiptdate", "lineitem_1.l_shipinstruct", "lineitem_1.l_shipmode", "lineitem_1.l_comment"], "Recheck Cond": "((lineitem_1.l_shipdate >= '1995-01-01'::date) AND (lineitem_1.l_shipdate < '1995-04-01 00:00:00'::timestamp without time zone))", "Rows Removed by Index Recheck": 0, "Exact Heap Blocks": 66731, "Lossy Heap Blocks": 0, "Plans": [{"Node Type": "Bitmap Index Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Index Name": "l_sd", "Startup Cost": 0.0, "Total Cost": 2427.12, "Plan Rows": 221439, "Plan Width": 0, "Actual Startup Time": 17.963, "Actual Total Time": 17.963, "Actual Rows": 225253, "Actual Loops": 1, "Index Cond": "((lineitem_1.l_shipdate >= '1995-01-01'::date) AND (lineitem_1.l_shipdate < '1995-04-01 00:00:00'::timestamp without time zone))"}]}]}]}, {"Node Type": "Index Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Scan Direction": "Forward", "Index Name": "s_sk", "Relation Name": "supplier", "Schema": "public", "Alias": "supplier", "Startup Cost": 0.29, "Total Cost": 405.39, "Plan Rows": 10000, "Plan Width": 71, "Actual Startup Time": 0.009, "Actual Total Time": 2.017, "Actual Rows": 9493, "Actual Loops": 1, "Output": ["supplier.s_suppkey", "supplier.s_name", "supplier.s_address", "supplier.s_nationkey", "supplier.s_phone", "supplier.s_acctbal", "supplier.s_comment"]}, {"Node Type": "Sort", "Parent Relationship": "Inner", "Parallel Aware": false, "Startup Cost": 121505.79, "Total Cost": 121505.92, "Plan Rows": 50, "Plan Width": 36, "Actual Startup Time": 595.53, "Actual Total Time": 595.532, "Actual Rows": 1, "Actual Loops": 1, "Output": ["revenue0.total_revenue", "revenue0.supplier_no"], "Sort Key": ["revenue0.supplier_no"], "Sort Method": "quicksort", "Sort Space Used": 25, "Sort Space Type": "Memory", "Plans": [{"Node Type": "Subquery Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Alias": "revenue0", "Startup Cost": 121328.88, "Total Cost": 121504.38, "Plan Rows": 50, "Plan Width": 36, "Actual Startup Time": 590.799, "Actual Total Time": 595.526, "Actual Rows": 1, "Actual Loops": 1, "Output": ["revenue0.total_revenue", "revenue0.supplier_no"], "Plans": [{"Node Type": "Aggregate", "Strategy": "Hashed", "Partial Mode": "Simple", "Parent Relationship": "Subquery", "Parallel Aware": false, "Startup Cost": 121328.88, "Total Cost": 121503.88, "Plan Rows": 50, "Plan Width": 36, "Actual Startup Time": 590.797, "Actual Total Time": 595.523, "Actual Rows": 1, "Actual Loops": 1, "Output": ["lineitem.l_suppkey", "sum((lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount)))"], "Group Key": ["lineitem.l_suppkey"], "Filter": "(sum((lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount))) = $0)", "Planned Partitions": 0, "HashAgg Batches": 1, "Peak Memory Usage": 3473, "Disk Usage": 0, "Rows Removed by Filter": 9999, "Plans": [{"Node Type": "Bitmap Heap Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Relation Name": "lineitem", "Schema": "public", "Alias": "lineitem", "Startup Cost": 2482.48, "Total Cost": 117453.7, "Plan Rows": 221439, "Plan Width": 16, "Actual Startup Time": 34.627, "Actual Total Time": 139.794, "Actual Rows": 225253, "Actual Loops": 1, "Output": ["lineitem.l_orderkey", "lineitem.l_partkey", "lineitem.l_suppkey", "lineitem.l_linenumber", "lineitem.l_quantity", "lineitem.l_extendedprice", "lineitem.l_discount", "lineitem.l_tax", "lineitem.l_returnflag", "lineitem.l_linestatus", "lineitem.l_shipdate", "lineitem.l_commitdate", "lineitem.l_receiptdate", "lineitem.l_shipinstruct", "lineitem.l_shipmode", "lineitem.l_comment"], "Recheck Cond": "((lineitem.l_shipdate >= '1995-01-01'::date) AND (lineitem.l_shipdate < '1995-04-01 00:00:00'::timestamp without time zone))", "Rows Removed by Index Recheck": 0, "Exact Heap Blocks": 66731, "Lossy Heap Blocks": 0, "Plans": [{"Node Type": "Bitmap Index Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Index Name": "l_sd", "Startup Cost": 0.0, "Total Cost": 2427.12, "Plan Rows": 221439, "Plan Width": 0, "Actual Startup Time": 18.195, "Actual Total Time": 18.196, "Actual Rows": 225253, "Actual Loops": 1, "Index Cond": "((lineitem.l_shipdate >= '1995-01-01'::date) AND (lineitem.l_shipdate < '1995-04-01 00:00:00'::timestamp without time zone))"}]}]}]}]}]}, "Planning Time": 0.36, "Triggers": [], "Execution Time": 598.538} diff --git a/dev9/pg13/tpch/sf_1/explain_analyze/15721/15-3.ok b/dev9/pg13/tpch/sf_1/explain_analyze/15721/15-3.ok new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/dev9/pg13/tpch/sf_1/explain_analyze/15721/15-3.res b/dev9/pg13/tpch/sf_1/explain_analyze/15721/15-3.res new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/dev9/pg13/tpch/sf_1/explain_analyze/15721/16-1.ok b/dev9/pg13/tpch/sf_1/explain_analyze/15721/16-1.ok new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/dev9/pg13/tpch/sf_1/explain_analyze/15721/16-1.res b/dev9/pg13/tpch/sf_1/explain_analyze/15721/16-1.res new file mode 100644 index 0000000000000000000000000000000000000000..7e8599045a7833a1a62c1b4cade95ef36044de13 --- /dev/null +++ b/dev9/pg13/tpch/sf_1/explain_analyze/15721/16-1.res @@ -0,0 +1 @@ +{"Plan": {"Node Type": "Sort", "Parallel Aware": false, "Startup Cost": 26933.52, "Total Cost": 26973.61, "Plan Rows": 16037, "Plan Width": 44, "Actual Startup Time": 331.296, "Actual Total Time": 332.919, "Actual Rows": 18263, "Actual Loops": 1, "Output": ["part.p_brand", "part.p_type", "part.p_size", "(count(DISTINCT partsupp.ps_suppkey))"], "Sort Key": ["(count(DISTINCT partsupp.ps_suppkey)) DESC", "part.p_brand", "part.p_type", "part.p_size"], "Sort Method": "quicksort", "Sort Space Used": 2211, "Sort Space Type": "Memory", "Plans": [{"Node Type": "Aggregate", "Strategy": "Sorted", "Partial Mode": "Simple", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 17897.76, "Total Cost": 25813.4, "Plan Rows": 16037, "Plan Width": 44, "Actual Startup Time": 156.535, "Actual Total Time": 265.434, "Actual Rows": 18263, "Actual Loops": 1, "Output": ["part.p_brand", "part.p_type", "part.p_size", "count(DISTINCT partsupp.ps_suppkey)"], "Group Key": ["part.p_brand", "part.p_type", "part.p_size"], "Plans": [{"Node Type": "Gather Merge", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 17897.76, "Total Cost": 25055.25, "Plan Rows": 59778, "Plan Width": 40, "Actual Startup Time": 156.513, "Actual Total Time": 219.391, "Actual Rows": 119250, "Actual Loops": 1, "Output": ["part.p_brand", "part.p_type", "part.p_size", "partsupp.ps_suppkey"], "Workers Planned": 4, "Workers Launched": 4, "Plans": [{"Node Type": "Sort", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 16897.7, "Total Cost": 16935.06, "Plan Rows": 14944, "Plan Width": 40, "Actual Startup Time": 150.89, "Actual Total Time": 152.648, "Actual Rows": 23850, "Actual Loops": 5, "Output": ["part.p_brand", "part.p_type", "part.p_size", "partsupp.ps_suppkey"], "Sort Key": ["part.p_brand", "part.p_type", "part.p_size"], "Sort Method": "quicksort", "Sort Space Used": 2675, "Sort Space Type": "Memory", "Workers": [{"Worker Number": 0, "Actual Startup Time": 148.219, "Actual Total Time": 149.978, "Actual Rows": 23228, "Actual Loops": 1, "Sort Method": "quicksort", "Sort Space Used": 2583, "Sort Space Type": "Memory"}, {"Worker Number": 1, "Actual Startup Time": 148.438, "Actual Total Time": 150.205, "Actual Rows": 23444, "Actual Loops": 1, "Sort Method": "quicksort", "Sort Space Used": 2600, "Sort Space Type": "Memory"}, {"Worker Number": 2, "Actual Startup Time": 149.699, "Actual Total Time": 151.46, "Actual Rows": 23779, "Actual Loops": 1, "Sort Method": "quicksort", "Sort Space Used": 2626, "Sort Space Type": "Memory"}, {"Worker Number": 3, "Actual Startup Time": 152.242, "Actual Total Time": 154.022, "Actual Rows": 24393, "Actual Loops": 1, "Sort Method": "quicksort", "Sort Space Used": 2674, "Sort Space Type": "Memory"}], "Plans": [{"Node Type": "Hash Join", "Parent Relationship": "Outer", "Parallel Aware": true, "Join Type": "Inner", "Startup Cost": 6683.44, "Total Cost": 15861.54, "Plan Rows": 14944, "Plan Width": 40, "Actual Startup Time": 23.041, "Actual Total Time": 81.734, "Actual Rows": 23850, "Actual Loops": 5, "Output": ["part.p_brand", "part.p_type", "part.p_size", "partsupp.ps_suppkey"], "Inner Unique": true, "Hash Cond": "(partsupp.ps_partkey = part.p_partkey)", "Workers": [{"Worker Number": 0, "Actual Startup Time": 22.241, "Actual Total Time": 80.757, "Actual Rows": 23228, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 22.25, "Actual Total Time": 80.738, "Actual Rows": 23444, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 22.281, "Actual Total Time": 80.723, "Actual Rows": 23779, "Actual Loops": 1}, {"Worker Number": 3, "Actual Startup Time": 22.388, "Actual Total Time": 80.696, "Actual Rows": 24393, "Actual Loops": 1}], "Plans": [{"Node Type": "Index Only Scan", "Parent Relationship": "Outer", "Parallel Aware": true, "Scan Direction": "Forward", "Index Name": "ps_pk_sk", "Relation Name": "partsupp", "Schema": "public", "Alias": "partsupp", "Startup Cost": 347.43, "Total Cost": 9263.03, "Plan Rows": 100000, "Plan Width": 8, "Actual Startup Time": 3.604, "Actual Total Time": 39.383, "Actual Rows": 159936, "Actual Loops": 5, "Output": ["partsupp.ps_partkey", "partsupp.ps_suppkey"], "Filter": "(NOT (hashed SubPlan 1))", "Rows Removed by Filter": 64, "Heap Fetches": 0, "Workers": [{"Worker Number": 0, "Actual Startup Time": 3.649, "Actual Total Time": 39.335, "Actual Rows": 159441, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 3.653, "Actual Total Time": 39.271, "Actual Rows": 159153, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 3.657, "Actual Total Time": 39.324, "Actual Rows": 158782, "Actual Loops": 1}, {"Worker Number": 3, "Actual Startup Time": 3.651, "Actual Total Time": 39.128, "Actual Rows": 158776, "Actual Loops": 1}], "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "SubPlan", "Subplan Name": "SubPlan 1", "Parallel Aware": false, "Relation Name": "supplier", "Schema": "public", "Alias": "supplier", "Startup Cost": 0.0, "Total Cost": 347.0, "Plan Rows": 1, "Plan Width": 4, "Actual Startup Time": 0.141, "Actual Total Time": 3.497, "Actual Rows": 4, "Actual Loops": 5, "Output": ["supplier.s_suppkey"], "Filter": "((supplier.s_comment)::text ~~ '%Customer%Complaints%'::text)", "Rows Removed by Filter": 9996, "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.145, "Actual Total Time": 3.494, "Actual Rows": 4, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 0.139, "Actual Total Time": 3.543, "Actual Rows": 4, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 0.147, "Actual Total Time": 3.582, "Actual Rows": 4, "Actual Loops": 1}, {"Worker Number": 3, "Actual Startup Time": 0.146, "Actual Total Time": 3.52, "Actual Rows": 4, "Actual Loops": 1}]}]}, {"Node Type": "Hash", "Parent Relationship": "Inner", "Parallel Aware": true, "Startup Cost": 6180.33, "Total Cost": 6180.33, "Plan Rows": 12454, "Plan Width": 40, "Actual Startup Time": 19.224, "Actual Total Time": 19.225, "Actual Rows": 5965, "Actual Loops": 5, "Output": ["part.p_brand", "part.p_type", "part.p_size", "part.p_partkey"], "Hash Buckets": 32768, "Original Hash Buckets": 32768, "Hash Batches": 1, "Original Hash Batches": 1, "Peak Memory Usage": 2560, "Workers": [{"Worker Number": 0, "Actual Startup Time": 18.436, "Actual Total Time": 18.437, "Actual Rows": 5253, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 18.51, "Actual Total Time": 18.511, "Actual Rows": 5441, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 18.509, "Actual Total Time": 18.51, "Actual Rows": 5309, "Actual Loops": 1}, {"Worker Number": 3, "Actual Startup Time": 18.59, "Actual Total Time": 18.591, "Actual Rows": 5289, "Actual Loops": 1}], "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": true, "Relation Name": "part", "Schema": "public", "Alias": "part", "Startup Cost": 0.0, "Total Cost": 6180.33, "Plan Rows": 12454, "Plan Width": 40, "Actual Startup Time": 0.022, "Actual Total Time": 16.838, "Actual Rows": 5965, "Actual Loops": 5, "Output": ["part.p_brand", "part.p_type", "part.p_size", "part.p_partkey"], "Filter": "((part.p_brand <> 'Brand#11'::bpchar) AND ((part.p_type)::text !~~ 'ECONOMY ANODIZED%'::text) AND (part.p_size = ANY ('{42,16,39,18,23,32,44,41}'::integer[])))", "Rows Removed by Filter": 34035, "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.027, "Actual Total Time": 16.019, "Actual Rows": 5253, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 0.025, "Actual Total Time": 16.758, "Actual Rows": 5441, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 0.027, "Actual Total Time": 16.039, "Actual Rows": 5309, "Actual Loops": 1}, {"Worker Number": 3, "Actual Startup Time": 0.019, "Actual Total Time": 16.138, "Actual Rows": 5289, "Actual Loops": 1}]}]}]}]}]}]}]}, "Planning Time": 0.572, "Triggers": [], "Execution Time": 333.72} diff --git a/dev9/pg13/tpch/sf_1/explain_analyze/15721/17-1.ok b/dev9/pg13/tpch/sf_1/explain_analyze/15721/17-1.ok new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/dev9/pg13/tpch/sf_1/explain_analyze/15721/17-1.res b/dev9/pg13/tpch/sf_1/explain_analyze/15721/17-1.res new file mode 100644 index 0000000000000000000000000000000000000000..7dcfa4b3495116f65415eb6dc447bd0ad702ee6b --- /dev/null +++ b/dev9/pg13/tpch/sf_1/explain_analyze/15721/17-1.res @@ -0,0 +1 @@ +{"Plan": {"Node Type": "Aggregate", "Strategy": "Plain", "Partial Mode": "Simple", "Parallel Aware": false, "Startup Cost": 195005.24, "Total Cost": 195005.25, "Plan Rows": 1, "Plan Width": 32, "Actual Startup Time": 1528.641, "Actual Total Time": 1528.711, "Actual Rows": 1, "Actual Loops": 1, "Output": ["(sum(lineitem.l_extendedprice) / 7.0)"], "Plans": [{"Node Type": "Hash Join", "Parent Relationship": "Outer", "Parallel Aware": false, "Join Type": "Inner", "Startup Cost": 6369.16, "Total Cost": 195000.31, "Plan Rows": 1970, "Plan Width": 8, "Actual Startup Time": 19.964, "Actual Total Time": 1528.538, "Actual Rows": 588, "Actual Loops": 1, "Output": ["lineitem.l_extendedprice"], "Inner Unique": true, "Hash Cond": "(lineitem.l_partkey = part.p_partkey)", "Join Filter": "(lineitem.l_quantity < (SubPlan 1))", "Rows Removed by Join Filter": 6005, "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Relation Name": "lineitem", "Schema": "public", "Alias": "lineitem", "Startup Cost": 0.0, "Total Cost": 172515.15, "Plan Rows": 6001215, "Plan Width": 17, "Actual Startup Time": 0.004, "Actual Total Time": 477.863, "Actual Rows": 6001215, "Actual Loops": 1, "Output": ["lineitem.l_orderkey", "lineitem.l_partkey", "lineitem.l_suppkey", "lineitem.l_linenumber", "lineitem.l_quantity", "lineitem.l_extendedprice", "lineitem.l_discount", "lineitem.l_tax", "lineitem.l_returnflag", "lineitem.l_linestatus", "lineitem.l_shipdate", "lineitem.l_commitdate", "lineitem.l_receiptdate", "lineitem.l_shipinstruct", "lineitem.l_shipmode", "lineitem.l_comment"]}, {"Node Type": "Hash", "Parent Relationship": "Inner", "Parallel Aware": false, "Startup Cost": 6366.7, "Total Cost": 6366.7, "Plan Rows": 197, "Plan Width": 4, "Actual Startup Time": 17.455, "Actual Total Time": 17.524, "Actual Rows": 222, "Actual Loops": 1, "Output": ["part.p_partkey"], "Hash Buckets": 1024, "Original Hash Buckets": 1024, "Hash Batches": 1, "Original Hash Batches": 1, "Peak Memory Usage": 16, "Plans": [{"Node Type": "Gather", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 1000.0, "Total Cost": 6366.7, "Plan Rows": 197, "Plan Width": 4, "Actual Startup Time": 0.578, "Actual Total Time": 17.48, "Actual Rows": 222, "Actual Loops": 1, "Output": ["part.p_partkey"], "Workers Planned": 2, "Workers Launched": 2, "Single Copy": false, "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": true, "Relation Name": "part", "Schema": "public", "Alias": "part", "Startup Cost": 0.0, "Total Cost": 5347.0, "Plan Rows": 82, "Plan Width": 4, "Actual Startup Time": 0.264, "Actual Total Time": 14.997, "Actual Rows": 74, "Actual Loops": 3, "Output": ["part.p_partkey"], "Filter": "((part.p_brand = 'Brand#14'::bpchar) AND (part.p_container = 'WRAP BOX'::bpchar))", "Rows Removed by Filter": 66593, "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.283, "Actual Total Time": 13.812, "Actual Rows": 50, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 0.117, "Actual Total Time": 14.048, "Actual Rows": 57, "Actual Loops": 1}]}]}]}, {"Node Type": "Aggregate", "Strategy": "Plain", "Partial Mode": "Simple", "Parent Relationship": "SubPlan", "Subplan Name": "SubPlan 1", "Parallel Aware": false, "Startup Cost": 36.25, "Total Cost": 36.27, "Plan Rows": 1, "Plan Width": 32, "Actual Startup Time": 0.028, "Actual Total Time": 0.028, "Actual Rows": 1, "Actual Loops": 6593, "Output": ["(0.2 * avg(lineitem_1.l_quantity))"], "Plans": [{"Node Type": "Index Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Scan Direction": "Forward", "Index Name": "l_pk", "Relation Name": "lineitem", "Schema": "public", "Alias": "lineitem_1", "Startup Cost": 0.43, "Total Cost": 36.17, "Plan Rows": 31, "Plan Width": 5, "Actual Startup Time": 0.003, "Actual Total Time": 0.022, "Actual Rows": 31, "Actual Loops": 6593, "Output": ["lineitem_1.l_orderkey", "lineitem_1.l_partkey", "lineitem_1.l_suppkey", "lineitem_1.l_linenumber", "lineitem_1.l_quantity", "lineitem_1.l_extendedprice", "lineitem_1.l_discount", "lineitem_1.l_tax", "lineitem_1.l_returnflag", "lineitem_1.l_linestatus", "lineitem_1.l_shipdate", "lineitem_1.l_commitdate", "lineitem_1.l_receiptdate", "lineitem_1.l_shipinstruct", "lineitem_1.l_shipmode", "lineitem_1.l_comment"], "Index Cond": "(lineitem_1.l_partkey = part.p_partkey)", "Rows Removed by Index Recheck": 0}]}]}]}, "Planning Time": 0.328, "Triggers": [], "Execution Time": 1528.751} diff --git a/dev9/pg13/tpch/sf_1/explain_analyze/15721/18-1.ok b/dev9/pg13/tpch/sf_1/explain_analyze/15721/18-1.ok new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/dev9/pg13/tpch/sf_1/explain_analyze/15721/18-1.res b/dev9/pg13/tpch/sf_1/explain_analyze/15721/18-1.res new file mode 100644 index 0000000000000000000000000000000000000000..5e1529a3ca9dca90adc48e3bdeaf4cf844dd7a96 --- /dev/null +++ b/dev9/pg13/tpch/sf_1/explain_analyze/15721/18-1.res @@ -0,0 +1 @@ +{"Plan": {"Node Type": "Limit", "Parallel Aware": false, "Startup Cost": 735025.05, "Total Cost": 735025.3, "Plan Rows": 100, "Plan Width": 71, "Actual Startup Time": 3698.266, "Actual Total Time": 3698.361, "Actual Rows": 9, "Actual Loops": 1, "Output": ["customer.c_name", "customer.c_custkey", "orders.o_orderkey", "orders.o_orderdate", "orders.o_totalprice", "(sum(lineitem.l_quantity))"], "Plans": [{"Node Type": "Sort", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 735025.05, "Total Cost": 739069.9, "Plan Rows": 1617940, "Plan Width": 71, "Actual Startup Time": 3698.265, "Actual Total Time": 3698.358, "Actual Rows": 9, "Actual Loops": 1, "Output": ["customer.c_name", "customer.c_custkey", "orders.o_orderkey", "orders.o_orderdate", "orders.o_totalprice", "(sum(lineitem.l_quantity))"], "Sort Key": ["orders.o_totalprice DESC", "orders.o_orderdate"], "Sort Method": "quicksort", "Sort Space Used": 25, "Sort Space Type": "Memory", "Plans": [{"Node Type": "Aggregate", "Strategy": "Sorted", "Partial Mode": "Simple", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 314572.91, "Total Cost": 673188.55, "Plan Rows": 1617940, "Plan Width": 71, "Actual Startup Time": 3665.504, "Actual Total Time": 3698.342, "Actual Rows": 9, "Actual Loops": 1, "Output": ["customer.c_name", "customer.c_custkey", "orders.o_orderkey", "orders.o_orderdate", "orders.o_totalprice", "sum(lineitem.l_quantity)"], "Group Key": ["customer.c_custkey", "orders.o_orderkey"], "Plans": [{"Node Type": "Nested Loop", "Parent Relationship": "Outer", "Parallel Aware": false, "Join Type": "Inner", "Startup Cost": 314572.91, "Total Cost": 640829.75, "Plan Rows": 1617940, "Plan Width": 44, "Actual Startup Time": 3659.219, "Actual Total Time": 3698.304, "Actual Rows": 63, "Actual Loops": 1, "Output": ["customer.c_custkey", "orders.o_orderkey", "customer.c_name", "orders.o_orderdate", "orders.o_totalprice", "lineitem.l_quantity"], "Inner Unique": false, "Plans": [{"Node Type": "Merge Join", "Parent Relationship": "Outer", "Parallel Aware": false, "Join Type": "Inner", "Startup Cost": 314572.48, "Total Cost": 374136.19, "Plan Rows": 404403, "Plan Width": 43, "Actual Startup Time": 3659.201, "Actual Total Time": 3698.198, "Actual Rows": 9, "Actual Loops": 1, "Output": ["customer.c_name", "customer.c_custkey", "orders.o_orderkey", "orders.o_orderdate", "orders.o_totalprice", "lineitem_1.l_orderkey"], "Inner Unique": true, "Merge Cond": "(orders.o_custkey = customer.c_custkey)", "Plans": [{"Node Type": "Gather Merge", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 314571.79, "Total Cost": 362415.28, "Plan Rows": 404403, "Plan Width": 24, "Actual Startup Time": 3654.48, "Actual Total Time": 3654.578, "Actual Rows": 9, "Actual Loops": 1, "Output": ["orders.o_orderkey", "orders.o_orderdate", "orders.o_totalprice", "orders.o_custkey", "lineitem_1.l_orderkey"], "Workers Planned": 3, "Workers Launched": 3, "Plans": [{"Node Type": "Sort", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 313571.75, "Total Cost": 313897.88, "Plan Rows": 130453, "Plan Width": 24, "Actual Startup Time": 3485.977, "Actual Total Time": 3485.98, "Actual Rows": 2, "Actual Loops": 4, "Output": ["orders.o_orderkey", "orders.o_orderdate", "orders.o_totalprice", "orders.o_custkey", "lineitem_1.l_orderkey"], "Sort Key": ["orders.o_custkey", "orders.o_orderkey"], "Sort Method": "quicksort", "Sort Space Used": 25, "Sort Space Type": "Memory", "Workers": [{"Worker Number": 0, "Actual Startup Time": 3650.08, "Actual Total Time": 3650.082, "Actual Rows": 0, "Actual Loops": 1, "Sort Method": "quicksort", "Sort Space Used": 25, "Sort Space Type": "Memory"}, {"Worker Number": 1, "Actual Startup Time": 3650.126, "Actual Total Time": 3650.128, "Actual Rows": 0, "Actual Loops": 1, "Sort Method": "quicksort", "Sort Space Used": 25, "Sort Space Type": "Memory"}, {"Worker Number": 2, "Actual Startup Time": 3319.923, "Actual Total Time": 3319.927, "Actual Rows": 5, "Actual Loops": 1, "Sort Method": "quicksort", "Sort Space Used": 25, "Sort Space Type": "Memory"}], "Plans": [{"Node Type": "Hash Join", "Parent Relationship": "Outer", "Parallel Aware": false, "Join Type": "Inner", "Startup Cost": 270283.83, "Total Cost": 302487.7, "Plan Rows": 130453, "Plan Width": 24, "Actual Startup Time": 3410.052, "Actual Total Time": 3485.896, "Actual Rows": 2, "Actual Loops": 4, "Output": ["orders.o_orderkey", "orders.o_orderdate", "orders.o_totalprice", "orders.o_custkey", "lineitem_1.l_orderkey"], "Inner Unique": true, "Hash Cond": "(orders.o_orderkey = lineitem_1.l_orderkey)", "Workers": [{"Worker Number": 0, "Actual Startup Time": 3649.977, "Actual Total Time": 3649.979, "Actual Rows": 0, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 3650.022, "Actual Total Time": 3650.023, "Actual Rows": 0, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 3163.156, "Actual Total Time": 3319.812, "Actual Rows": 5, "Actual Loops": 1}], "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": true, "Relation Name": "orders", "Schema": "public", "Alias": "orders", "Startup Cost": 0.0, "Total Cost": 30933.71, "Plan Rows": 483871, "Plan Width": 20, "Actual Startup Time": 0.013, "Actual Total Time": 33.535, "Actual Rows": 375000, "Actual Loops": 4, "Output": ["orders.o_orderkey", "orders.o_custkey", "orders.o_orderstatus", "orders.o_totalprice", "orders.o_orderdate", "orders.o_orderpriority", "orders.o_clerk", "orders.o_shippriority", "orders.o_comment"], "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.018, "Actual Total Time": 0.024, "Actual Rows": 57, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 0.019, "Actual Total Time": 0.026, "Actual Rows": 59, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 0.014, "Actual Total Time": 58.226, "Actual Rows": 623605, "Actual Loops": 1}]}, {"Node Type": "Hash", "Parent Relationship": "Inner", "Parallel Aware": false, "Startup Cost": 265228.79, "Total Cost": 265228.79, "Plan Rows": 404403, "Plan Width": 4, "Actual Startup Time": 3382.984, "Actual Total Time": 3382.985, "Actual Rows": 9, "Actual Loops": 4, "Output": ["lineitem_1.l_orderkey"], "Hash Buckets": 524288, "Original Hash Buckets": 524288, "Hash Batches": 1, "Original Hash Batches": 1, "Peak Memory Usage": 4097, "Workers": [{"Worker Number": 0, "Actual Startup Time": 3647.336, "Actual Total Time": 3647.336, "Actual Rows": 9, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 3647.391, "Actual Total Time": 3647.392, "Actual Rows": 9, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 3146.284, "Actual Total Time": 3146.286, "Actual Rows": 9, "Actual Loops": 1}], "Plans": [{"Node Type": "Aggregate", "Strategy": "Sorted", "Partial Mode": "Simple", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 0.43, "Total Cost": 261184.76, "Plan Rows": 404403, "Plan Width": 4, "Actual Startup Time": 712.126, "Actual Total Time": 3382.964, "Actual Rows": 9, "Actual Loops": 4, "Output": ["lineitem_1.l_orderkey"], "Group Key": ["lineitem_1.l_orderkey"], "Filter": "(sum(lineitem_1.l_quantity) > '314'::numeric)", "Rows Removed by Filter": 1499991, "Workers": [{"Worker Number": 0, "Actual Startup Time": 766.531, "Actual Total Time": 3647.314, "Actual Rows": 9, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 766.588, "Actual Total Time": 3647.369, "Actual Rows": 9, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 665.572, "Actual Total Time": 3146.262, "Actual Rows": 9, "Actual Loops": 1}], "Plans": [{"Node Type": "Index Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Scan Direction": "Forward", "Index Name": "l_ok", "Relation Name": "lineitem", "Schema": "public", "Alias": "lineitem_1", "Startup Cost": 0.43, "Total Cost": 212980.57, "Plan Rows": 6001215, "Plan Width": 9, "Actual Startup Time": 0.048, "Actual Total Time": 1567.669, "Actual Rows": 6001215, "Actual Loops": 4, "Output": ["lineitem_1.l_orderkey", "lineitem_1.l_partkey", "lineitem_1.l_suppkey", "lineitem_1.l_linenumber", "lineitem_1.l_quantity", "lineitem_1.l_extendedprice", "lineitem_1.l_discount", "lineitem_1.l_tax", "lineitem_1.l_returnflag", "lineitem_1.l_linestatus", "lineitem_1.l_shipdate", "lineitem_1.l_commitdate", "lineitem_1.l_receiptdate", "lineitem_1.l_shipinstruct", "lineitem_1.l_shipmode", "lineitem_1.l_comment"], "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.059, "Actual Total Time": 1833.114, "Actual Rows": 6001215, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 0.06, "Actual Total Time": 1831.642, "Actual Rows": 6001215, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 0.06, "Actual Total Time": 1334.023, "Actual Rows": 6001215, "Actual Loops": 1}]}]}]}]}]}]}, {"Node Type": "Index Scan", "Parent Relationship": "Inner", "Parallel Aware": false, "Scan Direction": "Forward", "Index Name": "c_ck", "Relation Name": "customer", "Schema": "public", "Alias": "customer", "Startup Cost": 0.42, "Total Cost": 6290.92, "Plan Rows": 150000, "Plan Width": 23, "Actual Startup Time": 0.022, "Actual Total Time": 31.258, "Actual Rows": 147197, "Actual Loops": 1, "Output": ["customer.c_custkey", "customer.c_name", "customer.c_address", "customer.c_nationkey", "customer.c_phone", "customer.c_acctbal", "customer.c_mktsegment", "customer.c_comment"]}]}, {"Node Type": "Index Scan", "Parent Relationship": "Inner", "Parallel Aware": false, "Scan Direction": "Forward", "Index Name": "l_ok", "Relation Name": "lineitem", "Schema": "public", "Alias": "lineitem", "Startup Cost": 0.43, "Total Cost": 0.61, "Plan Rows": 5, "Plan Width": 9, "Actual Startup Time": 0.007, "Actual Total Time": 0.009, "Actual Rows": 7, "Actual Loops": 9, "Output": ["lineitem.l_orderkey", "lineitem.l_partkey", "lineitem.l_suppkey", "lineitem.l_linenumber", "lineitem.l_quantity", "lineitem.l_extendedprice", "lineitem.l_discount", "lineitem.l_tax", "lineitem.l_returnflag", "lineitem.l_linestatus", "lineitem.l_shipdate", "lineitem.l_commitdate", "lineitem.l_receiptdate", "lineitem.l_shipinstruct", "lineitem.l_shipmode", "lineitem.l_comment"], "Index Cond": "(lineitem.l_orderkey = orders.o_orderkey)", "Rows Removed by Index Recheck": 0}]}]}]}]}, "Planning Time": 1.021, "Triggers": [], "Execution Time": 3698.421} diff --git a/dev9/pg13/tpch/sf_1/explain_analyze/15721/19-1.ok b/dev9/pg13/tpch/sf_1/explain_analyze/15721/19-1.ok new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/dev9/pg13/tpch/sf_1/explain_analyze/15721/19-1.res b/dev9/pg13/tpch/sf_1/explain_analyze/15721/19-1.res new file mode 100644 index 0000000000000000000000000000000000000000..2111d6087ad08c9fa2d5f2189e2929bff6d726ef --- /dev/null +++ b/dev9/pg13/tpch/sf_1/explain_analyze/15721/19-1.res @@ -0,0 +1 @@ +{"Plan": {"Node Type": "Aggregate", "Strategy": "Plain", "Partial Mode": "Finalize", "Parallel Aware": false, "Startup Cost": 15848.42, "Total Cost": 15848.43, "Plan Rows": 1, "Plan Width": 32, "Actual Startup Time": 46.599, "Actual Total Time": 55.833, "Actual Rows": 1, "Actual Loops": 1, "Output": ["sum((lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount)))"], "Plans": [{"Node Type": "Gather", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 15848.2, "Total Cost": 15848.41, "Plan Rows": 2, "Plan Width": 32, "Actual Startup Time": 46.402, "Actual Total Time": 55.823, "Actual Rows": 3, "Actual Loops": 1, "Output": ["(PARTIAL sum((lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount))))"], "Workers Planned": 2, "Workers Launched": 2, "Single Copy": false, "Plans": [{"Node Type": "Aggregate", "Strategy": "Plain", "Partial Mode": "Partial", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 14848.2, "Total Cost": 14848.21, "Plan Rows": 1, "Plan Width": 32, "Actual Startup Time": 41.396, "Actual Total Time": 41.397, "Actual Rows": 1, "Actual Loops": 3, "Output": ["PARTIAL sum((lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount)))"], "Workers": [{"Worker Number": 0, "Actual Startup Time": 39.1, "Actual Total Time": 39.101, "Actual Rows": 1, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 39.13, "Actual Total Time": 39.131, "Actual Rows": 1, "Actual Loops": 1}], "Plans": [{"Node Type": "Nested Loop", "Parent Relationship": "Outer", "Parallel Aware": false, "Join Type": "Inner", "Startup Cost": 0.43, "Total Cost": 14847.85, "Plan Rows": 47, "Plan Width": 12, "Actual Startup Time": 1.394, "Actual Total Time": 41.364, "Actual Rows": 35, "Actual Loops": 3, "Output": ["lineitem.l_extendedprice", "lineitem.l_discount"], "Inner Unique": false, "Workers": [{"Worker Number": 0, "Actual Startup Time": 1.671, "Actual Total Time": 39.074, "Actual Rows": 24, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 1.579, "Actual Total Time": 39.106, "Actual Rows": 22, "Actual Loops": 1}], "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": true, "Relation Name": "part", "Schema": "public", "Alias": "part", "Startup Cost": 0.0, "Total Cost": 7638.67, "Plan Rows": 200, "Plan Width": 30, "Actual Startup Time": 0.1, "Actual Total Time": 26.264, "Actual Rows": 143, "Actual Loops": 3, "Output": ["part.p_partkey", "part.p_name", "part.p_mfgr", "part.p_brand", "part.p_type", "part.p_size", "part.p_container", "part.p_retailprice", "part.p_comment"], "Filter": "((part.p_size >= 1) AND (((part.p_brand = 'Brand#52'::bpchar) AND (part.p_container = ANY ('{\"SM CASE\",\"SM BOX\",\"SM PACK\",\"SM PKG\"}'::bpchar[])) AND (part.p_size <= 5)) OR ((part.p_brand = 'Brand#42'::bpchar) AND (part.p_container = ANY ('{\"MED BAG\",\"MED BOX\",\"MED PKG\",\"MED PACK\"}'::bpchar[])) AND (part.p_size <= 10)) OR ((part.p_brand = 'Brand#23'::bpchar) AND (part.p_container = ANY ('{\"LG CASE\",\"LG BOX\",\"LG PACK\",\"LG PKG\"}'::bpchar[])) AND (part.p_size <= 15))))", "Rows Removed by Filter": 66524, "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.232, "Actual Total Time": 20.483, "Actual Rows": 109, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 0.033, "Actual Total Time": 21.311, "Actual Rows": 101, "Actual Loops": 1}]}, {"Node Type": "Index Scan", "Parent Relationship": "Inner", "Parallel Aware": false, "Scan Direction": "Forward", "Index Name": "l_pk", "Relation Name": "lineitem", "Schema": "public", "Alias": "lineitem", "Startup Cost": 0.43, "Total Cost": 36.04, "Plan Rows": 1, "Plan Width": 21, "Actual Startup Time": 0.094, "Actual Total Time": 0.105, "Actual Rows": 0, "Actual Loops": 428, "Output": ["lineitem.l_orderkey", "lineitem.l_partkey", "lineitem.l_suppkey", "lineitem.l_linenumber", "lineitem.l_quantity", "lineitem.l_extendedprice", "lineitem.l_discount", "lineitem.l_tax", "lineitem.l_returnflag", "lineitem.l_linestatus", "lineitem.l_shipdate", "lineitem.l_commitdate", "lineitem.l_receiptdate", "lineitem.l_shipinstruct", "lineitem.l_shipmode", "lineitem.l_comment"], "Index Cond": "(lineitem.l_partkey = part.p_partkey)", "Rows Removed by Index Recheck": 0, "Filter": "((lineitem.l_shipmode = ANY ('{AIR,\"AIR REG\"}'::bpchar[])) AND (lineitem.l_shipinstruct = 'DELIVER IN PERSON'::bpchar) AND (((lineitem.l_quantity >= '9'::numeric) AND (lineitem.l_quantity <= '19'::numeric)) OR ((lineitem.l_quantity >= '18'::numeric) AND (lineitem.l_quantity <= '28'::numeric)) OR ((lineitem.l_quantity >= '22'::numeric) AND (lineitem.l_quantity <= '32'::numeric))) AND (((part.p_brand = 'Brand#52'::bpchar) AND (part.p_container = ANY ('{\"SM CASE\",\"SM BOX\",\"SM PACK\",\"SM PKG\"}'::bpchar[])) AND (lineitem.l_quantity >= '9'::numeric) AND (lineitem.l_quantity <= '19'::numeric) AND (part.p_size <= 5)) OR ((part.p_brand = 'Brand#42'::bpchar) AND (part.p_container = ANY ('{\"MED BAG\",\"MED BOX\",\"MED PKG\",\"MED PACK\"}'::bpchar[])) AND (lineitem.l_quantity >= '18'::numeric) AND (lineitem.l_quantity <= '28'::numeric) AND (part.p_size <= 10)) OR ((part.p_brand = 'Brand#23'::bpchar) AND (part.p_container = ANY ('{\"LG CASE\",\"LG BOX\",\"LG PACK\",\"LG PKG\"}'::bpchar[])) AND (lineitem.l_quantity >= '22'::numeric) AND (lineitem.l_quantity <= '32'::numeric) AND (part.p_size <= 15))))", "Rows Removed by Filter": 30, "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.15, "Actual Total Time": 0.17, "Actual Rows": 0, "Actual Loops": 109}, {"Worker Number": 1, "Actual Startup Time": 0.16, "Actual Total Time": 0.176, "Actual Rows": 0, "Actual Loops": 101}]}]}]}]}]}, "Planning Time": 0.646, "Triggers": [], "Execution Time": 55.88} diff --git a/dev9/pg13/tpch/sf_1/explain_analyze/15721/2-1.ok b/dev9/pg13/tpch/sf_1/explain_analyze/15721/2-1.ok new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/dev9/pg13/tpch/sf_1/explain_analyze/15721/2-1.res b/dev9/pg13/tpch/sf_1/explain_analyze/15721/2-1.res new file mode 100644 index 0000000000000000000000000000000000000000..6dd501d88aab3c27ee9e3fdb698ee385087cff58 --- /dev/null +++ b/dev9/pg13/tpch/sf_1/explain_analyze/15721/2-1.res @@ -0,0 +1 @@ +{"Plan": {"Node Type": "Limit", "Parallel Aware": false, "Startup Cost": 31956.25, "Total Cost": 31956.26, "Plan Rows": 1, "Plan Width": 192, "Actual Startup Time": 263.116, "Actual Total Time": 263.199, "Actual Rows": 100, "Actual Loops": 1, "Output": ["supplier.s_acctbal", "supplier.s_name", "nation.n_name", "part.p_partkey", "part.p_mfgr", "supplier.s_address", "supplier.s_phone", "supplier.s_comment"], "Plans": [{"Node Type": "Sort", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 31956.25, "Total Cost": 31956.26, "Plan Rows": 1, "Plan Width": 192, "Actual Startup Time": 263.114, "Actual Total Time": 263.189, "Actual Rows": 100, "Actual Loops": 1, "Output": ["supplier.s_acctbal", "supplier.s_name", "nation.n_name", "part.p_partkey", "part.p_mfgr", "supplier.s_address", "supplier.s_phone", "supplier.s_comment"], "Sort Key": ["supplier.s_acctbal DESC", "nation.n_name", "supplier.s_name", "part.p_partkey"], "Sort Method": "top-N heapsort", "Sort Space Used": 72, "Sort Space Type": "Memory", "Plans": [{"Node Type": "Hash Join", "Parent Relationship": "Outer", "Parallel Aware": false, "Join Type": "Inner", "Startup Cost": 16654.26, "Total Cost": 31956.24, "Plan Rows": 1, "Plan Width": 192, "Actual Startup Time": 220.528, "Actual Total Time": 262.737, "Actual Rows": 509, "Actual Loops": 1, "Output": ["supplier.s_acctbal", "supplier.s_name", "nation.n_name", "part.p_partkey", "part.p_mfgr", "supplier.s_address", "supplier.s_phone", "supplier.s_comment"], "Inner Unique": false, "Hash Cond": "((part.p_partkey = partsupp.ps_partkey) AND ((SubPlan 1) = partsupp.ps_supplycost))", "Plans": [{"Node Type": "Gather", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 1000.0, "Total Cost": 6429.3, "Plan Rows": 823, "Plan Width": 30, "Actual Startup Time": 0.248, "Actual Total Time": 0.515, "Actual Rows": 854, "Actual Loops": 1, "Output": ["part.p_partkey", "part.p_mfgr"], "Workers Planned": 2, "Workers Launched": 2, "Single Copy": false, "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": true, "Relation Name": "part", "Schema": "public", "Alias": "part", "Startup Cost": 0.0, "Total Cost": 5347.0, "Plan Rows": 343, "Plan Width": 30, "Actual Startup Time": 0.037, "Actual Total Time": 20.588, "Actual Rows": 285, "Actual Loops": 3, "Output": ["part.p_partkey", "part.p_mfgr"], "Filter": "(((part.p_type)::text ~~ '%TIN'::text) AND (part.p_size = 44))", "Rows Removed by Filter": 66382, "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.06, "Actual Total Time": 30.749, "Actual Rows": 424, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 0.029, "Actual Total Time": 30.98, "Actual Rows": 429, "Actual Loops": 1}]}]}, {"Node Type": "Hash", "Parent Relationship": "Inner", "Parallel Aware": false, "Startup Cost": 9347.26, "Total Cost": 9347.26, "Plan Rows": 160000, "Plan Width": 172, "Actual Startup Time": 219.943, "Actual Total Time": 219.946, "Actual Rows": 158960, "Actual Loops": 1, "Output": ["supplier.s_acctbal", "supplier.s_name", "supplier.s_address", "supplier.s_phone", "supplier.s_comment", "partsupp.ps_partkey", "partsupp.ps_supplycost", "nation.n_name"], "Hash Buckets": 131072, "Original Hash Buckets": 131072, "Hash Batches": 2, "Original Hash Batches": 2, "Peak Memory Usage": 17198, "Plans": [{"Node Type": "Nested Loop", "Parent Relationship": "Outer", "Parallel Aware": false, "Join Type": "Inner", "Startup Cost": 0.71, "Total Cost": 9347.26, "Plan Rows": 160000, "Plan Width": 172, "Actual Startup Time": 0.038, "Actual Total Time": 147.716, "Actual Rows": 158960, "Actual Loops": 1, "Output": ["supplier.s_acctbal", "supplier.s_name", "supplier.s_address", "supplier.s_phone", "supplier.s_comment", "partsupp.ps_partkey", "partsupp.ps_supplycost", "nation.n_name"], "Inner Unique": false, "Plans": [{"Node Type": "Nested Loop", "Parent Relationship": "Outer", "Parallel Aware": false, "Join Type": "Inner", "Startup Cost": 0.29, "Total Cost": 110.28, "Plan Rows": 2000, "Plan Width": 166, "Actual Startup Time": 0.022, "Actual Total Time": 1.71, "Actual Rows": 1987, "Actual Loops": 1, "Output": ["supplier.s_acctbal", "supplier.s_name", "supplier.s_address", "supplier.s_phone", "supplier.s_comment", "supplier.s_suppkey", "nation.n_name"], "Inner Unique": false, "Plans": [{"Node Type": "Nested Loop", "Parent Relationship": "Outer", "Parallel Aware": false, "Join Type": "Inner", "Startup Cost": 0.0, "Total Cost": 2.62, "Plan Rows": 5, "Plan Width": 30, "Actual Startup Time": 0.011, "Actual Total Time": 0.026, "Actual Rows": 5, "Actual Loops": 1, "Output": ["nation.n_name", "nation.n_nationkey"], "Inner Unique": false, "Join Filter": "(nation.n_regionkey = region.r_regionkey)", "Rows Removed by Join Filter": 20, "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Relation Name": "region", "Schema": "public", "Alias": "region", "Startup Cost": 0.0, "Total Cost": 1.06, "Plan Rows": 1, "Plan Width": 4, "Actual Startup Time": 0.004, "Actual Total Time": 0.007, "Actual Rows": 1, "Actual Loops": 1, "Output": ["region.r_regionkey", "region.r_name", "region.r_comment"], "Filter": "(region.r_name = 'EUROPE'::bpchar)", "Rows Removed by Filter": 4}, {"Node Type": "Seq Scan", "Parent Relationship": "Inner", "Parallel Aware": false, "Relation Name": "nation", "Schema": "public", "Alias": "nation", "Startup Cost": 0.0, "Total Cost": 1.25, "Plan Rows": 25, "Plan Width": 34, "Actual Startup Time": 0.002, "Actual Total Time": 0.008, "Actual Rows": 25, "Actual Loops": 1, "Output": ["nation.n_nationkey", "nation.n_name", "nation.n_regionkey", "nation.n_comment"]}]}, {"Node Type": "Index Scan", "Parent Relationship": "Inner", "Parallel Aware": false, "Scan Direction": "Forward", "Index Name": "s_nk", "Relation Name": "supplier", "Schema": "public", "Alias": "supplier", "Startup Cost": 0.29, "Total Cost": 17.53, "Plan Rows": 400, "Plan Width": 144, "Actual Startup Time": 0.006, "Actual Total Time": 0.216, "Actual Rows": 397, "Actual Loops": 5, "Output": ["supplier.s_suppkey", "supplier.s_name", "supplier.s_address", "supplier.s_nationkey", "supplier.s_phone", "supplier.s_acctbal", "supplier.s_comment"], "Index Cond": "(supplier.s_nationkey = nation.n_nationkey)", "Rows Removed by Index Recheck": 0}]}, {"Node Type": "Index Scan", "Parent Relationship": "Inner", "Parallel Aware": false, "Scan Direction": "Forward", "Index Name": "ps_sk", "Relation Name": "partsupp", "Schema": "public", "Alias": "partsupp", "Startup Cost": 0.42, "Total Cost": 3.82, "Plan Rows": 80, "Plan Width": 14, "Actual Startup Time": 0.003, "Actual Total Time": 0.058, "Actual Rows": 80, "Actual Loops": 1987, "Output": ["partsupp.ps_partkey", "partsupp.ps_suppkey", "partsupp.ps_availqty", "partsupp.ps_supplycost", "partsupp.ps_comment"], "Index Cond": "(partsupp.ps_suppkey = supplier.s_suppkey)", "Rows Removed by Index Recheck": 0}]}]}, {"Node Type": "Aggregate", "Strategy": "Plain", "Partial Mode": "Simple", "Parent Relationship": "SubPlan", "Subplan Name": "SubPlan 1", "Parallel Aware": false, "Startup Cost": 14.44, "Total Cost": 14.45, "Plan Rows": 1, "Plan Width": 32, "Actual Startup Time": 0.02, "Actual Total Time": 0.02, "Actual Rows": 1, "Actual Loops": 1363, "Output": ["min(partsupp_1.ps_supplycost)"], "Plans": [{"Node Type": "Nested Loop", "Parent Relationship": "Outer", "Parallel Aware": false, "Join Type": "Inner", "Startup Cost": 0.85, "Total Cost": 14.44, "Plan Rows": 1, "Plan Width": 6, "Actual Startup Time": 0.014, "Actual Total Time": 0.019, "Actual Rows": 1, "Actual Loops": 1363, "Output": ["partsupp_1.ps_supplycost"], "Inner Unique": false, "Join Filter": "(nation_1.n_regionkey = region_1.r_regionkey)", "Rows Removed by Join Filter": 3, "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Relation Name": "region", "Schema": "public", "Alias": "region_1", "Startup Cost": 0.0, "Total Cost": 1.06, "Plan Rows": 1, "Plan Width": 4, "Actual Startup Time": 0.001, "Actual Total Time": 0.001, "Actual Rows": 1, "Actual Loops": 1363, "Output": ["region_1.r_regionkey", "region_1.r_name", "region_1.r_comment"], "Filter": "(region_1.r_name = 'EUROPE'::bpchar)", "Rows Removed by Filter": 4}, {"Node Type": "Nested Loop", "Parent Relationship": "Inner", "Parallel Aware": false, "Join Type": "Inner", "Startup Cost": 0.85, "Total Cost": 13.33, "Plan Rows": 4, "Plan Width": 10, "Actual Startup Time": 0.006, "Actual Total Time": 0.017, "Actual Rows": 4, "Actual Loops": 1363, "Output": ["partsupp_1.ps_supplycost", "nation_1.n_regionkey"], "Inner Unique": true, "Plans": [{"Node Type": "Nested Loop", "Parent Relationship": "Outer", "Parallel Aware": false, "Join Type": "Inner", "Startup Cost": 0.71, "Total Cost": 12.71, "Plan Rows": 4, "Plan Width": 10, "Actual Startup Time": 0.005, "Actual Total Time": 0.012, "Actual Rows": 4, "Actual Loops": 1363, "Output": ["partsupp_1.ps_supplycost", "supplier_1.s_nationkey"], "Inner Unique": true, "Plans": [{"Node Type": "Index Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Scan Direction": "Forward", "Index Name": "ps_pk", "Relation Name": "partsupp", "Schema": "public", "Alias": "partsupp_1", "Startup Cost": 0.42, "Total Cost": 2.7, "Plan Rows": 4, "Plan Width": 10, "Actual Startup Time": 0.003, "Actual Total Time": 0.004, "Actual Rows": 4, "Actual Loops": 1363, "Output": ["partsupp_1.ps_partkey", "partsupp_1.ps_suppkey", "partsupp_1.ps_availqty", "partsupp_1.ps_supplycost", "partsupp_1.ps_comment"], "Index Cond": "(partsupp_1.ps_partkey = part.p_partkey)", "Rows Removed by Index Recheck": 0}, {"Node Type": "Index Scan", "Parent Relationship": "Inner", "Parallel Aware": false, "Scan Direction": "Forward", "Index Name": "s_sk", "Relation Name": "supplier", "Schema": "public", "Alias": "supplier_1", "Startup Cost": 0.29, "Total Cost": 2.5, "Plan Rows": 1, "Plan Width": 8, "Actual Startup Time": 0.002, "Actual Total Time": 0.002, "Actual Rows": 1, "Actual Loops": 5452, "Output": ["supplier_1.s_suppkey", "supplier_1.s_name", "supplier_1.s_address", "supplier_1.s_nationkey", "supplier_1.s_phone", "supplier_1.s_acctbal", "supplier_1.s_comment"], "Index Cond": "(supplier_1.s_suppkey = partsupp_1.ps_suppkey)", "Rows Removed by Index Recheck": 0}]}, {"Node Type": "Index Scan", "Parent Relationship": "Inner", "Parallel Aware": false, "Scan Direction": "Forward", "Index Name": "n_nk", "Relation Name": "nation", "Schema": "public", "Alias": "nation_1", "Startup Cost": 0.14, "Total Cost": 0.16, "Plan Rows": 1, "Plan Width": 8, "Actual Startup Time": 0.001, "Actual Total Time": 0.001, "Actual Rows": 1, "Actual Loops": 5452, "Output": ["nation_1.n_nationkey", "nation_1.n_name", "nation_1.n_regionkey", "nation_1.n_comment"], "Index Cond": "(nation_1.n_nationkey = supplier_1.s_nationkey)", "Rows Removed by Index Recheck": 0}]}]}]}]}]}]}, "Planning Time": 2.017, "Triggers": [], "Execution Time": 263.321} diff --git a/dev9/pg13/tpch/sf_1/explain_analyze/15721/20-1.ok b/dev9/pg13/tpch/sf_1/explain_analyze/15721/20-1.ok new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/dev9/pg13/tpch/sf_1/explain_analyze/15721/20-1.res b/dev9/pg13/tpch/sf_1/explain_analyze/15721/20-1.res new file mode 100644 index 0000000000000000000000000000000000000000..551092e98da3993b0c682dfff3153f6e7c4389b6 --- /dev/null +++ b/dev9/pg13/tpch/sf_1/explain_analyze/15721/20-1.res @@ -0,0 +1 @@ +{"Plan": {"Node Type": "Sort", "Parallel Aware": false, "Startup Cost": 32647.82, "Total Cost": 32648.09, "Plan Rows": 107, "Plan Width": 51, "Actual Startup Time": 148.354, "Actual Total Time": 148.367, "Actual Rows": 187, "Actual Loops": 1, "Output": ["supplier.s_name", "supplier.s_address"], "Sort Key": ["supplier.s_name"], "Sort Method": "quicksort", "Sort Space Used": 46, "Sort Space Type": "Memory", "Plans": [{"Node Type": "Hash Join", "Parent Relationship": "Outer", "Parallel Aware": false, "Join Type": "Semi", "Startup Cost": 32420.0, "Total Cost": 32644.22, "Plan Rows": 107, "Plan Width": 51, "Actual Startup Time": 147.846, "Actual Total Time": 148.218, "Actual Rows": 187, "Actual Loops": 1, "Output": ["supplier.s_name", "supplier.s_address"], "Inner Unique": false, "Hash Cond": "(supplier.s_suppkey = partsupp.ps_suppkey)", "Plans": [{"Node Type": "Nested Loop", "Parent Relationship": "Outer", "Parallel Aware": false, "Join Type": "Inner", "Startup Cost": 4.48, "Total Cost": 226.33, "Plan Rows": 400, "Plan Width": 55, "Actual Startup Time": 0.063, "Actual Total Time": 0.361, "Actual Rows": 396, "Actual Loops": 1, "Output": ["supplier.s_name", "supplier.s_address", "supplier.s_suppkey"], "Inner Unique": false, "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Relation Name": "nation", "Schema": "public", "Alias": "nation", "Startup Cost": 0.0, "Total Cost": 1.31, "Plan Rows": 1, "Plan Width": 4, "Actual Startup Time": 0.007, "Actual Total Time": 0.011, "Actual Rows": 1, "Actual Loops": 1, "Output": ["nation.n_nationkey", "nation.n_name", "nation.n_regionkey", "nation.n_comment"], "Filter": "(nation.n_name = 'GERMANY'::bpchar)", "Rows Removed by Filter": 24}, {"Node Type": "Bitmap Heap Scan", "Parent Relationship": "Inner", "Parallel Aware": false, "Relation Name": "supplier", "Schema": "public", "Alias": "supplier", "Startup Cost": 4.48, "Total Cost": 221.01, "Plan Rows": 400, "Plan Width": 59, "Actual Startup Time": 0.053, "Actual Total Time": 0.28, "Actual Rows": 396, "Actual Loops": 1, "Output": ["supplier.s_suppkey", "supplier.s_name", "supplier.s_address", "supplier.s_nationkey", "supplier.s_phone", "supplier.s_acctbal", "supplier.s_comment"], "Recheck Cond": "(supplier.s_nationkey = nation.n_nationkey)", "Rows Removed by Index Recheck": 0, "Exact Heap Blocks": 191, "Lossy Heap Blocks": 0, "Plans": [{"Node Type": "Bitmap Index Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Index Name": "s_nk", "Startup Cost": 0.0, "Total Cost": 4.38, "Plan Rows": 400, "Plan Width": 0, "Actual Startup Time": 0.025, "Actual Total Time": 0.025, "Actual Rows": 396, "Actual Loops": 1, "Index Cond": "(supplier.s_nationkey = nation.n_nationkey)"}]}]}, {"Node Type": "Hash", "Parent Relationship": "Inner", "Parallel Aware": false, "Startup Cost": 32382.12, "Total Cost": 32382.12, "Plan Rows": 2672, "Plan Width": 4, "Actual Startup Time": 147.774, "Actual Total Time": 147.775, "Actual Rows": 5970, "Actual Loops": 1, "Output": ["partsupp.ps_suppkey"], "Hash Buckets": 8192, "Original Hash Buckets": 4096, "Hash Batches": 1, "Original Hash Batches": 1, "Peak Memory Usage": 274, "Plans": [{"Node Type": "Nested Loop", "Parent Relationship": "Outer", "Parallel Aware": false, "Join Type": "Inner", "Startup Cost": 0.42, "Total Cost": 32382.12, "Plan Rows": 2672, "Plan Width": 4, "Actual Startup Time": 0.082, "Actual Total Time": 146.402, "Actual Rows": 5970, "Actual Loops": 1, "Output": ["partsupp.ps_suppkey"], "Inner Unique": false, "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Relation Name": "part", "Schema": "public", "Alias": "part", "Startup Cost": 0.0, "Total Cost": 6597.0, "Plan Rows": 2004, "Plan Width": 4, "Actual Startup Time": 0.022, "Actual Total Time": 30.198, "Actual Rows": 2186, "Actual Loops": 1, "Output": ["part.p_partkey", "part.p_name", "part.p_mfgr", "part.p_brand", "part.p_type", "part.p_size", "part.p_container", "part.p_retailprice", "part.p_comment"], "Filter": "((part.p_name)::text ~~ 'floral%'::text)", "Rows Removed by Filter": 197814}, {"Node Type": "Index Scan", "Parent Relationship": "Inner", "Parallel Aware": false, "Scan Direction": "Forward", "Index Name": "ps_pk", "Relation Name": "partsupp", "Schema": "public", "Alias": "partsupp", "Startup Cost": 0.42, "Total Cost": 12.86, "Plan Rows": 1, "Plan Width": 8, "Actual Startup Time": 0.021, "Actual Total Time": 0.052, "Actual Rows": 3, "Actual Loops": 2186, "Output": ["partsupp.ps_partkey", "partsupp.ps_suppkey", "partsupp.ps_availqty", "partsupp.ps_supplycost", "partsupp.ps_comment"], "Index Cond": "(partsupp.ps_partkey = part.p_partkey)", "Rows Removed by Index Recheck": 0, "Filter": "((partsupp.ps_availqty)::numeric > (SubPlan 1))", "Rows Removed by Filter": 1, "Plans": [{"Node Type": "Aggregate", "Strategy": "Plain", "Partial Mode": "Simple", "Parent Relationship": "SubPlan", "Subplan Name": "SubPlan 1", "Parallel Aware": false, "Startup Cost": 2.66, "Total Cost": 2.68, "Plan Rows": 1, "Plan Width": 32, "Actual Startup Time": 0.011, "Actual Total Time": 0.011, "Actual Rows": 1, "Actual Loops": 8744, "Output": ["(0.5 * sum(lineitem.l_quantity))"], "Plans": [{"Node Type": "Index Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Scan Direction": "Forward", "Index Name": "l_sk_pk", "Relation Name": "lineitem", "Schema": "public", "Alias": "lineitem", "Startup Cost": 0.43, "Total Cost": 2.66, "Plan Rows": 1, "Plan Width": 5, "Actual Startup Time": 0.007, "Actual Total Time": 0.011, "Actual Rows": 1, "Actual Loops": 8744, "Output": ["lineitem.l_orderkey", "lineitem.l_partkey", "lineitem.l_suppkey", "lineitem.l_linenumber", "lineitem.l_quantity", "lineitem.l_extendedprice", "lineitem.l_discount", "lineitem.l_tax", "lineitem.l_returnflag", "lineitem.l_linestatus", "lineitem.l_shipdate", "lineitem.l_commitdate", "lineitem.l_receiptdate", "lineitem.l_shipinstruct", "lineitem.l_shipmode", "lineitem.l_comment"], "Index Cond": "((lineitem.l_suppkey = partsupp.ps_suppkey) AND (lineitem.l_partkey = partsupp.ps_partkey))", "Rows Removed by Index Recheck": 0, "Filter": "((lineitem.l_shipdate >= '1996-01-01'::date) AND (lineitem.l_shipdate < '1997-01-01 00:00:00'::timestamp without time zone))", "Rows Removed by Filter": 6}]}]}]}]}]}]}, "Planning Time": 0.742, "Triggers": [], "Execution Time": 148.425} diff --git a/dev9/pg13/tpch/sf_1/explain_analyze/15721/21-1.ok b/dev9/pg13/tpch/sf_1/explain_analyze/15721/21-1.ok new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/dev9/pg13/tpch/sf_1/explain_analyze/15721/21-1.res b/dev9/pg13/tpch/sf_1/explain_analyze/15721/21-1.res new file mode 100644 index 0000000000000000000000000000000000000000..3e1d85747ba2dd815697d67756c69c69fc1f0532 --- /dev/null +++ b/dev9/pg13/tpch/sf_1/explain_analyze/15721/21-1.res @@ -0,0 +1 @@ +{"Plan": {"Node Type": "Limit", "Parallel Aware": false, "Startup Cost": 53663.8, "Total Cost": 53663.81, "Plan Rows": 1, "Plan Width": 34, "Actual Startup Time": 580.488, "Actual Total Time": 611.012, "Actual Rows": 100, "Actual Loops": 1, "Output": ["supplier.s_name", "(count(*))"], "Plans": [{"Node Type": "Sort", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 53663.8, "Total Cost": 53663.81, "Plan Rows": 1, "Plan Width": 34, "Actual Startup Time": 580.486, "Actual Total Time": 611.002, "Actual Rows": 100, "Actual Loops": 1, "Output": ["supplier.s_name", "(count(*))"], "Sort Key": ["(count(*)) DESC", "supplier.s_name"], "Sort Method": "top-N heapsort", "Sort Space Used": 37, "Sort Space Type": "Memory", "Plans": [{"Node Type": "Aggregate", "Strategy": "Sorted", "Partial Mode": "Simple", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 53663.77, "Total Cost": 53663.79, "Plan Rows": 1, "Plan Width": 34, "Actual Startup Time": 579.103, "Actual Total Time": 610.497, "Actual Rows": 407, "Actual Loops": 1, "Output": ["supplier.s_name", "count(*)"], "Group Key": ["supplier.s_name"], "Plans": [{"Node Type": "Sort", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 53663.77, "Total Cost": 53663.78, "Plan Rows": 1, "Plan Width": 26, "Actual Startup Time": 579.091, "Actual Total Time": 609.83, "Actual Rows": 3965, "Actual Loops": 1, "Output": ["supplier.s_name"], "Sort Key": ["supplier.s_name"], "Sort Method": "quicksort", "Sort Space Used": 406, "Sort Space Type": "Memory", "Plans": [{"Node Type": "Nested Loop", "Parent Relationship": "Outer", "Parallel Aware": false, "Join Type": "Semi", "Startup Cost": 13174.87, "Total Cost": 53663.76, "Plan Rows": 1, "Plan Width": 26, "Actual Startup Time": 301.563, "Actual Total Time": 594.62, "Actual Rows": 3965, "Actual Loops": 1, "Output": ["supplier.s_name"], "Inner Unique": false, "Join Filter": "(orders.o_orderkey = l2.l_orderkey)", "Rows Removed by Join Filter": 0, "Plans": [{"Node Type": "Gather", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 13174.43, "Total Cost": 53663.14, "Plan Rows": 1, "Plan Width": 38, "Actual Startup Time": 301.367, "Actual Total Time": 574.378, "Actual Rows": 6626, "Actual Loops": 1, "Output": ["supplier.s_name", "l1.l_suppkey", "l1.l_orderkey", "orders.o_orderkey"], "Workers Planned": 3, "Workers Launched": 3, "Single Copy": false, "Plans": [{"Node Type": "Nested Loop", "Parent Relationship": "Outer", "Parallel Aware": false, "Join Type": "Anti", "Startup Cost": 12174.43, "Total Cost": 52663.04, "Plan Rows": 1, "Plan Width": 38, "Actual Startup Time": 352.475, "Actual Total Time": 553.91, "Actual Rows": 1656, "Actual Loops": 4, "Output": ["supplier.s_name", "l1.l_suppkey", "l1.l_orderkey", "orders.o_orderkey"], "Inner Unique": false, "Workers": [{"Worker Number": 0, "Actual Startup Time": 373.748, "Actual Total Time": 558.354, "Actual Rows": 1467, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 373.919, "Actual Total Time": 558.468, "Actual Rows": 1502, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 361.326, "Actual Total Time": 558.619, "Actual Rows": 1532, "Actual Loops": 1}], "Plans": [{"Node Type": "Hash Join", "Parent Relationship": "Outer", "Parallel Aware": false, "Join Type": "Inner", "Startup Cost": 12174.0, "Total Cost": 45327.38, "Plan Rows": 12578, "Plan Width": 38, "Actual Startup Time": 352.344, "Actual Total Time": 481.347, "Actual Rows": 18520, "Actual Loops": 4, "Output": ["supplier.s_name", "l1.l_suppkey", "l1.l_orderkey", "orders.o_orderkey"], "Inner Unique": false, "Hash Cond": "(orders.o_orderkey = l1.l_orderkey)", "Workers": [{"Worker Number": 0, "Actual Startup Time": 373.704, "Actual Total Time": 491.401, "Actual Rows": 16251, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 373.74, "Actual Total Time": 491.623, "Actual Rows": 16401, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 361.28, "Actual Total Time": 488.164, "Actual Rows": 17441, "Actual Loops": 1}], "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": true, "Relation Name": "orders", "Schema": "public", "Alias": "orders", "Startup Cost": 0.0, "Total Cost": 32143.39, "Plan Rows": 235790, "Plan Width": 4, "Actual Startup Time": 0.018, "Actual Total Time": 85.777, "Actual Rows": 182353, "Actual Loops": 4, "Output": ["orders.o_orderkey", "orders.o_custkey", "orders.o_orderstatus", "orders.o_totalprice", "orders.o_orderdate", "orders.o_orderpriority", "orders.o_clerk", "orders.o_shippriority", "orders.o_comment"], "Filter": "(orders.o_orderstatus = 'F'::bpchar)", "Rows Removed by Filter": 192647, "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.023, "Actual Total Time": 80.199, "Actual Rows": 160642, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 0.024, "Actual Total Time": 80.479, "Actual Rows": 162591, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 0.019, "Actual Total Time": 83.989, "Actual Rows": 170644, "Actual Loops": 1}]}, {"Node Type": "Hash", "Parent Relationship": "Inner", "Parallel Aware": false, "Startup Cost": 11173.8, "Total Cost": 11173.8, "Plan Rows": 80016, "Plan Width": 34, "Actual Startup Time": 351.669, "Actual Total Time": 351.672, "Actual Rows": 153758, "Actual Loops": 4, "Output": ["supplier.s_name", "l1.l_suppkey", "l1.l_orderkey"], "Hash Buckets": 262144, "Original Hash Buckets": 131072, "Hash Batches": 1, "Original Hash Batches": 1, "Peak Memory Usage": 12259, "Workers": [{"Worker Number": 0, "Actual Startup Time": 372.85, "Actual Total Time": 372.853, "Actual Rows": 153758, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 372.897, "Actual Total Time": 372.9, "Actual Rows": 153758, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 360.447, "Actual Total Time": 360.45, "Actual Rows": 153758, "Actual Loops": 1}], "Plans": [{"Node Type": "Nested Loop", "Parent Relationship": "Outer", "Parallel Aware": false, "Join Type": "Inner", "Startup Cost": 4.92, "Total Cost": 11173.8, "Plan Rows": 80016, "Plan Width": 34, "Actual Startup Time": 0.176, "Actual Total Time": 307.535, "Actual Rows": 153758, "Actual Loops": 4, "Output": ["supplier.s_name", "l1.l_suppkey", "l1.l_orderkey"], "Inner Unique": false, "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.208, "Actual Total Time": 326.731, "Actual Rows": 153758, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 0.209, "Actual Total Time": 327.461, "Actual Rows": 153758, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 0.206, "Actual Total Time": 314.129, "Actual Rows": 153758, "Actual Loops": 1}], "Plans": [{"Node Type": "Nested Loop", "Parent Relationship": "Outer", "Parallel Aware": false, "Join Type": "Inner", "Startup Cost": 4.48, "Total Cost": 226.33, "Plan Rows": 400, "Plan Width": 30, "Actual Startup Time": 0.108, "Actual Total Time": 0.675, "Actual Rows": 407, "Actual Loops": 4, "Output": ["supplier.s_name", "supplier.s_suppkey"], "Inner Unique": false, "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.122, "Actual Total Time": 0.73, "Actual Rows": 407, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 0.123, "Actual Total Time": 0.704, "Actual Rows": 407, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 0.122, "Actual Total Time": 0.718, "Actual Rows": 407, "Actual Loops": 1}], "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Relation Name": "nation", "Schema": "public", "Alias": "nation", "Startup Cost": 0.0, "Total Cost": 1.31, "Plan Rows": 1, "Plan Width": 4, "Actual Startup Time": 0.017, "Actual Total Time": 0.021, "Actual Rows": 1, "Actual Loops": 4, "Output": ["nation.n_nationkey", "nation.n_name", "nation.n_regionkey", "nation.n_comment"], "Filter": "(nation.n_name = 'CHINA'::bpchar)", "Rows Removed by Filter": 24, "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.021, "Actual Total Time": 0.025, "Actual Rows": 1, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 0.021, "Actual Total Time": 0.024, "Actual Rows": 1, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 0.021, "Actual Total Time": 0.025, "Actual Rows": 1, "Actual Loops": 1}]}, {"Node Type": "Bitmap Heap Scan", "Parent Relationship": "Inner", "Parallel Aware": false, "Relation Name": "supplier", "Schema": "public", "Alias": "supplier", "Startup Cost": 4.48, "Total Cost": 221.01, "Plan Rows": 400, "Plan Width": 34, "Actual Startup Time": 0.088, "Actual Total Time": 0.565, "Actual Rows": 407, "Actual Loops": 4, "Output": ["supplier.s_suppkey", "supplier.s_name", "supplier.s_address", "supplier.s_nationkey", "supplier.s_phone", "supplier.s_acctbal", "supplier.s_comment"], "Recheck Cond": "(supplier.s_nationkey = nation.n_nationkey)", "Rows Removed by Index Recheck": 0, "Exact Heap Blocks": 186, "Lossy Heap Blocks": 0, "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.098, "Actual Total Time": 0.614, "Actual Rows": 407, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 0.099, "Actual Total Time": 0.594, "Actual Rows": 407, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 0.098, "Actual Total Time": 0.606, "Actual Rows": 407, "Actual Loops": 1}], "Plans": [{"Node Type": "Bitmap Index Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Index Name": "s_nk", "Startup Cost": 0.0, "Total Cost": 4.38, "Plan Rows": 400, "Plan Width": 0, "Actual Startup Time": 0.049, "Actual Total Time": 0.049, "Actual Rows": 407, "Actual Loops": 4, "Index Cond": "(supplier.s_nationkey = nation.n_nationkey)", "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.057, "Actual Total Time": 0.057, "Actual Rows": 407, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 0.058, "Actual Total Time": 0.058, "Actual Rows": 407, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 0.058, "Actual Total Time": 0.058, "Actual Rows": 407, "Actual Loops": 1}]}]}]}, {"Node Type": "Index Scan", "Parent Relationship": "Inner", "Parallel Aware": false, "Scan Direction": "Forward", "Index Name": "l_sk", "Relation Name": "lineitem", "Schema": "public", "Alias": "l1", "Startup Cost": 0.43, "Total Cost": 25.37, "Plan Rows": 200, "Plan Width": 8, "Actual Startup Time": 0.01, "Actual Total Time": 0.705, "Actual Rows": 378, "Actual Loops": 1628, "Output": ["l1.l_orderkey", "l1.l_partkey", "l1.l_suppkey", "l1.l_linenumber", "l1.l_quantity", "l1.l_extendedprice", "l1.l_discount", "l1.l_tax", "l1.l_returnflag", "l1.l_linestatus", "l1.l_shipdate", "l1.l_commitdate", "l1.l_receiptdate", "l1.l_shipinstruct", "l1.l_shipmode", "l1.l_comment"], "Index Cond": "(l1.l_suppkey = supplier.s_suppkey)", "Rows Removed by Index Recheck": 0, "Filter": "(l1.l_receiptdate > l1.l_commitdate)", "Rows Removed by Filter": 221, "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.011, "Actual Total Time": 0.755, "Actual Rows": 378, "Actual Loops": 407}, {"Worker Number": 1, "Actual Startup Time": 0.011, "Actual Total Time": 0.756, "Actual Rows": 378, "Actual Loops": 407}, {"Worker Number": 2, "Actual Startup Time": 0.011, "Actual Total Time": 0.724, "Actual Rows": 378, "Actual Loops": 407}]}]}]}]}, {"Node Type": "Index Scan", "Parent Relationship": "Inner", "Parallel Aware": false, "Scan Direction": "Forward", "Index Name": "l_ok", "Relation Name": "lineitem", "Schema": "public", "Alias": "l3", "Startup Cost": 0.43, "Total Cost": 0.61, "Plan Rows": 2, "Plan Width": 8, "Actual Startup Time": 0.004, "Actual Total Time": 0.004, "Actual Rows": 1, "Actual Loops": 74080, "Output": ["l3.l_orderkey", "l3.l_partkey", "l3.l_suppkey", "l3.l_linenumber", "l3.l_quantity", "l3.l_extendedprice", "l3.l_discount", "l3.l_tax", "l3.l_returnflag", "l3.l_linestatus", "l3.l_shipdate", "l3.l_commitdate", "l3.l_receiptdate", "l3.l_shipinstruct", "l3.l_shipmode", "l3.l_comment"], "Index Cond": "(l3.l_orderkey = l1.l_orderkey)", "Rows Removed by Index Recheck": 0, "Filter": "((l3.l_receiptdate > l3.l_commitdate) AND (l3.l_suppkey <> l1.l_suppkey))", "Rows Removed by Filter": 1, "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.004, "Actual Total Time": 0.004, "Actual Rows": 1, "Actual Loops": 16251}, {"Worker Number": 1, "Actual Startup Time": 0.004, "Actual Total Time": 0.004, "Actual Rows": 1, "Actual Loops": 16401}, {"Worker Number": 2, "Actual Startup Time": 0.004, "Actual Total Time": 0.004, "Actual Rows": 1, "Actual Loops": 17441}]}]}]}, {"Node Type": "Index Scan", "Parent Relationship": "Inner", "Parallel Aware": false, "Scan Direction": "Forward", "Index Name": "l_ok", "Relation Name": "lineitem", "Schema": "public", "Alias": "l2", "Startup Cost": 0.43, "Total Cost": 0.6, "Plan Rows": 5, "Plan Width": 8, "Actual Startup Time": 0.003, "Actual Total Time": 0.003, "Actual Rows": 1, "Actual Loops": 6626, "Output": ["l2.l_orderkey", "l2.l_partkey", "l2.l_suppkey", "l2.l_linenumber", "l2.l_quantity", "l2.l_extendedprice", "l2.l_discount", "l2.l_tax", "l2.l_returnflag", "l2.l_linestatus", "l2.l_shipdate", "l2.l_commitdate", "l2.l_receiptdate", "l2.l_shipinstruct", "l2.l_shipmode", "l2.l_comment"], "Index Cond": "(l2.l_orderkey = l1.l_orderkey)", "Rows Removed by Index Recheck": 0, "Filter": "(l2.l_suppkey <> l1.l_suppkey)", "Rows Removed by Filter": 1}]}]}]}]}]}, "Planning Time": 2.3, "Triggers": [], "Execution Time": 611.139} diff --git a/dev9/pg13/tpch/sf_1/explain_analyze/15721/22-1.ok b/dev9/pg13/tpch/sf_1/explain_analyze/15721/22-1.ok new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/dev9/pg13/tpch/sf_1/explain_analyze/15721/22-1.res b/dev9/pg13/tpch/sf_1/explain_analyze/15721/22-1.res new file mode 100644 index 0000000000000000000000000000000000000000..f5099a6839174d7dd56907401a7a3dda52eae555 --- /dev/null +++ b/dev9/pg13/tpch/sf_1/explain_analyze/15721/22-1.res @@ -0,0 +1 @@ +{"Plan": {"Node Type": "Aggregate", "Strategy": "Sorted", "Partial Mode": "Finalize", "Parallel Aware": false, "Startup Cost": 12857.59, "Total Cost": 12947.29, "Plan Rows": 672, "Plan Width": 72, "Actual Startup Time": 91.903, "Actual Total Time": 96.159, "Actual Rows": 7, "Actual Loops": 1, "Output": ["(\"substring\"((customer.c_phone)::text, 1, 2))", "count(*)", "sum(customer.c_acctbal)"], "Group Key": ["(\"substring\"((customer.c_phone)::text, 1, 2))"], "Plans": [{"Node Type": "Aggregate", "Strategy": "Plain", "Partial Mode": "Finalize", "Parent Relationship": "InitPlan", "Subplan Name": "InitPlan 1 (returns $1)", "Parallel Aware": false, "Startup Cost": 6230.82, "Total Cost": 6230.83, "Plan Rows": 1, "Plan Width": 32, "Actual Startup Time": 42.408, "Actual Total Time": 42.468, "Actual Rows": 1, "Actual Loops": 1, "Output": ["avg(customer_1.c_acctbal)"], "Plans": [{"Node Type": "Gather", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 6230.6, "Total Cost": 6230.81, "Plan Rows": 2, "Plan Width": 32, "Actual Startup Time": 42.359, "Actual Total Time": 42.458, "Actual Rows": 3, "Actual Loops": 1, "Output": ["(PARTIAL avg(customer_1.c_acctbal))"], "Workers Planned": 2, "Workers Launched": 2, "Single Copy": false, "Plans": [{"Node Type": "Aggregate", "Strategy": "Plain", "Partial Mode": "Partial", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 5230.6, "Total Cost": 5230.61, "Plan Rows": 1, "Plan Width": 32, "Actual Startup Time": 39.751, "Actual Total Time": 39.752, "Actual Rows": 1, "Actual Loops": 3, "Output": ["PARTIAL avg(customer_1.c_acctbal)"], "Workers": [{"Worker Number": 0, "Actual Startup Time": 38.469, "Actual Total Time": 38.47, "Actual Rows": 1, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 38.678, "Actual Total Time": 38.679, "Actual Rows": 1, "Actual Loops": 1}], "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": true, "Relation Name": "customer", "Schema": "public", "Alias": "customer_1", "Startup Cost": 0.0, "Total Cost": 5225.62, "Plan Rows": 1988, "Plan Width": 6, "Actual Startup Time": 0.03, "Actual Total Time": 38.234, "Actual Rows": 12636, "Actual Loops": 3, "Output": ["customer_1.c_custkey", "customer_1.c_name", "customer_1.c_address", "customer_1.c_nationkey", "customer_1.c_phone", "customer_1.c_acctbal", "customer_1.c_mktsegment", "customer_1.c_comment"], "Filter": "((customer_1.c_acctbal > 0.00) AND (\"substring\"((customer_1.c_phone)::text, 1, 2) = ANY ('{17,20,25,31,30,11,33}'::text[])))", "Rows Removed by Filter": 37364, "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.035, "Actual Total Time": 37.065, "Actual Rows": 11604, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 0.045, "Actual Total Time": 37.246, "Actual Rows": 11867, "Actual Loops": 1}]}]}]}]}, {"Node Type": "Gather Merge", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 6626.76, "Total Cost": 6699.1, "Plan Rows": 560, "Plan Width": 72, "Actual Startup Time": 91.808, "Actual Total Time": 96.075, "Actual Rows": 21, "Actual Loops": 1, "Output": ["(\"substring\"((customer.c_phone)::text, 1, 2))", "(PARTIAL count(*))", "(PARTIAL sum(customer.c_acctbal))"], "Workers Planned": 2, "Params Evaluated": ["$1"], "Workers Launched": 2, "Plans": [{"Node Type": "Aggregate", "Strategy": "Sorted", "Partial Mode": "Partial", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 5626.74, "Total Cost": 5634.44, "Plan Rows": 280, "Plan Width": 72, "Actual Startup Time": 46.142, "Actual Total Time": 46.621, "Actual Rows": 7, "Actual Loops": 3, "Output": ["(\"substring\"((customer.c_phone)::text, 1, 2))", "PARTIAL count(*)", "PARTIAL sum(customer.c_acctbal)"], "Group Key": ["(\"substring\"((customer.c_phone)::text, 1, 2))"], "Workers": [{"Worker Number": 0, "Actual Startup Time": 44.744, "Actual Total Time": 45.181, "Actual Rows": 7, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 44.946, "Actual Total Time": 45.381, "Actual Rows": 7, "Actual Loops": 1}], "Plans": [{"Node Type": "Sort", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 5626.74, "Total Cost": 5627.44, "Plan Rows": 280, "Plan Width": 38, "Actual Startup Time": 46.057, "Actual Total Time": 46.18, "Actual Rows": 2112, "Actual Loops": 3, "Output": ["(\"substring\"((customer.c_phone)::text, 1, 2))", "customer.c_acctbal"], "Sort Key": ["(\"substring\"((customer.c_phone)::text, 1, 2))"], "Sort Method": "quicksort", "Sort Space Used": 210, "Sort Space Type": "Memory", "Workers": [{"Worker Number": 0, "Actual Startup Time": 44.662, "Actual Total Time": 44.774, "Actual Rows": 1965, "Actual Loops": 1, "Sort Method": "quicksort", "Sort Space Used": 141, "Sort Space Type": "Memory"}, {"Worker Number": 1, "Actual Startup Time": 44.864, "Actual Total Time": 44.975, "Actual Rows": 1957, "Actual Loops": 1, "Sort Method": "quicksort", "Sort Space Used": 140, "Sort Space Type": "Memory"}], "Plans": [{"Node Type": "Nested Loop", "Parent Relationship": "Outer", "Parallel Aware": false, "Join Type": "Anti", "Startup Cost": 0.43, "Total Cost": 5615.36, "Plan Rows": 280, "Plan Width": 38, "Actual Startup Time": 0.074, "Actual Total Time": 45.207, "Actual Rows": 2112, "Actual Loops": 3, "Output": ["\"substring\"((customer.c_phone)::text, 1, 2)", "customer.c_acctbal"], "Inner Unique": false, "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.102, "Actual Total Time": 43.819, "Actual Rows": 1965, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 0.099, "Actual Total Time": 44.034, "Actual Rows": 1957, "Actual Loops": 1}], "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": true, "Relation Name": "customer", "Schema": "public", "Alias": "customer", "Startup Cost": 0.0, "Total Cost": 5225.62, "Plan Rows": 729, "Plan Width": 26, "Actual Startup Time": 0.024, "Actual Total Time": 27.703, "Actual Rows": 6294, "Actual Loops": 3, "Output": ["customer.c_custkey", "customer.c_name", "customer.c_address", "customer.c_nationkey", "customer.c_phone", "customer.c_acctbal", "customer.c_mktsegment", "customer.c_comment"], "Filter": "((customer.c_acctbal > $1) AND (\"substring\"((customer.c_phone)::text, 1, 2) = ANY ('{17,20,25,31,30,11,33}'::text[])))", "Rows Removed by Filter": 43706, "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.037, "Actual Total Time": 26.551, "Actual Rows": 5741, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 0.026, "Actual Total Time": 26.882, "Actual Rows": 5731, "Actual Loops": 1}]}, {"Node Type": "Index Only Scan", "Parent Relationship": "Inner", "Parallel Aware": false, "Scan Direction": "Forward", "Index Name": "o_ck", "Relation Name": "orders", "Schema": "public", "Alias": "orders", "Startup Cost": 0.43, "Total Cost": 1.41, "Plan Rows": 16, "Plan Width": 4, "Actual Startup Time": 0.002, "Actual Total Time": 0.002, "Actual Rows": 1, "Actual Loops": 18883, "Output": ["orders.o_custkey"], "Index Cond": "(orders.o_custkey = customer.c_custkey)", "Rows Removed by Index Recheck": 0, "Heap Fetches": 0, "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.003, "Actual Total Time": 0.003, "Actual Rows": 1, "Actual Loops": 5741}, {"Worker Number": 1, "Actual Startup Time": 0.003, "Actual Total Time": 0.003, "Actual Rows": 1, "Actual Loops": 5731}]}]}]}]}]}]}, "Planning Time": 0.402, "Triggers": [], "Execution Time": 96.22} diff --git a/dev9/pg13/tpch/sf_1/explain_analyze/15721/3-1.ok b/dev9/pg13/tpch/sf_1/explain_analyze/15721/3-1.ok new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/dev9/pg13/tpch/sf_1/explain_analyze/15721/3-1.res b/dev9/pg13/tpch/sf_1/explain_analyze/15721/3-1.res new file mode 100644 index 0000000000000000000000000000000000000000..b9a7f0afb6d1cfe91a9406319e7da5d79b27f206 --- /dev/null +++ b/dev9/pg13/tpch/sf_1/explain_analyze/15721/3-1.res @@ -0,0 +1 @@ +{"Plan": {"Node Type": "Limit", "Parallel Aware": false, "Startup Cost": 132888.46, "Total Cost": 132888.48, "Plan Rows": 10, "Plan Width": 44, "Actual Startup Time": 467.994, "Actual Total Time": 515.905, "Actual Rows": 10, "Actual Loops": 1, "Output": ["lineitem.l_orderkey", "(sum((lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount))))", "orders.o_orderdate", "orders.o_shippriority"], "Plans": [{"Node Type": "Sort", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 132888.46, "Total Cost": 133671.46, "Plan Rows": 313202, "Plan Width": 44, "Actual Startup Time": 467.993, "Actual Total Time": 515.903, "Actual Rows": 10, "Actual Loops": 1, "Output": ["lineitem.l_orderkey", "(sum((lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount))))", "orders.o_orderdate", "orders.o_shippriority"], "Sort Key": ["(sum((lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount)))) DESC", "orders.o_orderdate"], "Sort Method": "top-N heapsort", "Sort Space Used": 26, "Sort Space Type": "Memory", "Plans": [{"Node Type": "Aggregate", "Strategy": "Sorted", "Partial Mode": "Finalize", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 84901.59, "Total Cost": 126120.27, "Plan Rows": 313202, "Plan Width": 44, "Actual Startup Time": 442.19, "Actual Total Time": 513.235, "Actual Rows": 11439, "Actual Loops": 1, "Output": ["lineitem.l_orderkey", "sum((lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount)))", "orders.o_orderdate", "orders.o_shippriority"], "Group Key": ["lineitem.l_orderkey", "orders.o_orderdate", "orders.o_shippriority"], "Plans": [{"Node Type": "Gather Merge", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 84901.59, "Total Cost": 118942.72, "Plan Rows": 261002, "Plan Width": 44, "Actual Startup Time": 442.177, "Actual Total Time": 503.403, "Actual Rows": 11439, "Actual Loops": 1, "Output": ["lineitem.l_orderkey", "orders.o_orderdate", "orders.o_shippriority", "(PARTIAL sum((lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount))))"], "Workers Planned": 2, "Workers Launched": 2, "Plans": [{"Node Type": "Aggregate", "Strategy": "Sorted", "Partial Mode": "Partial", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 83901.56, "Total Cost": 87816.59, "Plan Rows": 130501, "Plan Width": 44, "Actual Startup Time": 438.741, "Actual Total Time": 447.989, "Actual Rows": 3813, "Actual Loops": 3, "Output": ["lineitem.l_orderkey", "orders.o_orderdate", "orders.o_shippriority", "PARTIAL sum((lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount)))"], "Group Key": ["lineitem.l_orderkey", "orders.o_orderdate", "orders.o_shippriority"], "Workers": [{"Worker Number": 0, "Actual Startup Time": 437.165, "Actual Total Time": 445.36, "Actual Rows": 3482, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 437.225, "Actual Total Time": 445.709, "Actual Rows": 3537, "Actual Loops": 1}], "Plans": [{"Node Type": "Sort", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 83901.56, "Total Cost": 84227.82, "Plan Rows": 130501, "Plan Width": 24, "Actual Startup Time": 438.721, "Actual Total Time": 439.67, "Actual Rows": 10095, "Actual Loops": 3, "Output": ["lineitem.l_orderkey", "orders.o_orderdate", "orders.o_shippriority", "lineitem.l_extendedprice", "lineitem.l_discount"], "Sort Key": ["lineitem.l_orderkey", "orders.o_orderdate", "orders.o_shippriority"], "Sort Method": "quicksort", "Sort Space Used": 1305, "Sort Space Type": "Memory", "Workers": [{"Worker Number": 0, "Actual Startup Time": 437.145, "Actual Total Time": 437.966, "Actual Rows": 9134, "Actual Loops": 1, "Sort Method": "quicksort", "Sort Space Used": 1098, "Sort Space Type": "Memory"}, {"Worker Number": 1, "Actual Startup Time": 437.199, "Actual Total Time": 438.04, "Actual Rows": 9371, "Actual Loops": 1, "Sort Method": "quicksort", "Sort Space Used": 1117, "Sort Space Type": "Memory"}], "Plans": [{"Node Type": "Nested Loop", "Parent Relationship": "Outer", "Parallel Aware": false, "Join Type": "Inner", "Startup Cost": 0.86, "Total Cost": 72813.09, "Plan Rows": 130501, "Plan Width": 24, "Actual Startup Time": 0.726, "Actual Total Time": 433.782, "Actual Rows": 10095, "Actual Loops": 3, "Output": ["lineitem.l_orderkey", "orders.o_orderdate", "orders.o_shippriority", "lineitem.l_extendedprice", "lineitem.l_discount"], "Inner Unique": false, "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.605, "Actual Total Time": 432.535, "Actual Rows": 9134, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 1.487, "Actual Total Time": 432.499, "Actual Rows": 9371, "Actual Loops": 1}], "Plans": [{"Node Type": "Nested Loop", "Parent Relationship": "Outer", "Parallel Aware": false, "Join Type": "Inner", "Startup Cost": 0.43, "Total Cost": 27366.51, "Plan Rows": 60932, "Plan Width": 12, "Actual Startup Time": 0.072, "Actual Total Time": 142.992, "Actual Rows": 48593, "Actual Loops": 3, "Output": ["orders.o_orderdate", "orders.o_shippriority", "orders.o_orderkey"], "Inner Unique": false, "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.089, "Actual Total Time": 139.612, "Actual Rows": 44999, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 0.1, "Actual Total Time": 138.835, "Actual Rows": 45436, "Actual Loops": 1}], "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": true, "Relation Name": "customer", "Schema": "public", "Alias": "customer", "Startup Cost": 0.0, "Total Cost": 4366.25, "Plan Rows": 12487, "Plan Width": 4, "Actual Startup Time": 0.017, "Actual Total Time": 15.243, "Actual Rows": 9989, "Actual Loops": 3, "Output": ["customer.c_custkey", "customer.c_name", "customer.c_address", "customer.c_nationkey", "customer.c_phone", "customer.c_acctbal", "customer.c_mktsegment", "customer.c_comment"], "Filter": "(customer.c_mktsegment = 'FURNITURE'::bpchar)", "Rows Removed by Filter": 40011, "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.023, "Actual Total Time": 14.987, "Actual Rows": 9265, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 0.022, "Actual Total Time": 14.762, "Actual Rows": 9275, "Actual Loops": 1}]}, {"Node Type": "Index Scan", "Parent Relationship": "Inner", "Parallel Aware": false, "Scan Direction": "Forward", "Index Name": "o_ck", "Relation Name": "orders", "Schema": "public", "Alias": "orders", "Startup Cost": 0.43, "Total Cost": 1.76, "Plan Rows": 8, "Plan Width": 16, "Actual Startup Time": 0.003, "Actual Total Time": 0.012, "Actual Rows": 5, "Actual Loops": 29968, "Output": ["orders.o_orderkey", "orders.o_custkey", "orders.o_orderstatus", "orders.o_totalprice", "orders.o_orderdate", "orders.o_orderpriority", "orders.o_clerk", "orders.o_shippriority", "orders.o_comment"], "Index Cond": "(orders.o_custkey = customer.c_custkey)", "Rows Removed by Index Recheck": 0, "Filter": "(orders.o_orderdate < '1995-03-20'::date)", "Rows Removed by Filter": 5, "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.003, "Actual Total Time": 0.012, "Actual Rows": 5, "Actual Loops": 9265}, {"Worker Number": 1, "Actual Startup Time": 0.003, "Actual Total Time": 0.012, "Actual Rows": 5, "Actual Loops": 9275}]}]}, {"Node Type": "Index Scan", "Parent Relationship": "Inner", "Parallel Aware": false, "Scan Direction": "Forward", "Index Name": "l_ok", "Relation Name": "lineitem", "Schema": "public", "Alias": "lineitem", "Startup Cost": 0.43, "Total Cost": 0.72, "Plan Rows": 3, "Plan Width": 16, "Actual Startup Time": 0.006, "Actual Total Time": 0.006, "Actual Rows": 0, "Actual Loops": 145780, "Output": ["lineitem.l_orderkey", "lineitem.l_partkey", "lineitem.l_suppkey", "lineitem.l_linenumber", "lineitem.l_quantity", "lineitem.l_extendedprice", "lineitem.l_discount", "lineitem.l_tax", "lineitem.l_returnflag", "lineitem.l_linestatus", "lineitem.l_shipdate", "lineitem.l_commitdate", "lineitem.l_receiptdate", "lineitem.l_shipinstruct", "lineitem.l_shipmode", "lineitem.l_comment"], "Index Cond": "(lineitem.l_orderkey = orders.o_orderkey)", "Rows Removed by Index Recheck": 0, "Filter": "(lineitem.l_shipdate > '1995-03-20'::date)", "Rows Removed by Filter": 4, "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.006, "Actual Total Time": 0.006, "Actual Rows": 0, "Actual Loops": 44999}, {"Worker Number": 1, "Actual Startup Time": 0.006, "Actual Total Time": 0.006, "Actual Rows": 0, "Actual Loops": 45436}]}]}]}]}]}]}]}]}, "Planning Time": 0.804, "Triggers": [], "Execution Time": 515.966} diff --git a/dev9/pg13/tpch/sf_1/explain_analyze/15721/4-1.ok b/dev9/pg13/tpch/sf_1/explain_analyze/15721/4-1.ok new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/dev9/pg13/tpch/sf_1/explain_analyze/15721/4-1.res b/dev9/pg13/tpch/sf_1/explain_analyze/15721/4-1.res new file mode 100644 index 0000000000000000000000000000000000000000..53907b626ab826f339995134960e137e9b5f7308 --- /dev/null +++ b/dev9/pg13/tpch/sf_1/explain_analyze/15721/4-1.res @@ -0,0 +1 @@ +{"Plan": {"Node Type": "Aggregate", "Strategy": "Sorted", "Partial Mode": "Finalize", "Parallel Aware": false, "Startup Cost": 51157.67, "Total Cost": 51159.57, "Plan Rows": 5, "Plan Width": 24, "Actual Startup Time": 120.475, "Actual Total Time": 146.634, "Actual Rows": 5, "Actual Loops": 1, "Output": ["orders.o_orderpriority", "count(*)"], "Group Key": ["orders.o_orderpriority"], "Plans": [{"Node Type": "Gather Merge", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 51157.67, "Total Cost": 51159.45, "Plan Rows": 15, "Plan Width": 24, "Actual Startup Time": 120.465, "Actual Total Time": 146.621, "Actual Rows": 20, "Actual Loops": 1, "Output": ["orders.o_orderpriority", "(PARTIAL count(*))"], "Workers Planned": 3, "Workers Launched": 3, "Plans": [{"Node Type": "Sort", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 50157.63, "Total Cost": 50157.64, "Plan Rows": 5, "Plan Width": 24, "Actual Startup Time": 117.082, "Actual Total Time": 117.085, "Actual Rows": 5, "Actual Loops": 4, "Output": ["orders.o_orderpriority", "(PARTIAL count(*))"], "Sort Key": ["orders.o_orderpriority"], "Sort Method": "quicksort", "Sort Space Used": 25, "Sort Space Type": "Memory", "Workers": [{"Worker Number": 0, "Actual Startup Time": 115.962, "Actual Total Time": 115.965, "Actual Rows": 5, "Actual Loops": 1, "Sort Method": "quicksort", "Sort Space Used": 25, "Sort Space Type": "Memory"}, {"Worker Number": 1, "Actual Startup Time": 116.03, "Actual Total Time": 116.032, "Actual Rows": 5, "Actual Loops": 1, "Sort Method": "quicksort", "Sort Space Used": 25, "Sort Space Type": "Memory"}, {"Worker Number": 2, "Actual Startup Time": 116.259, "Actual Total Time": 116.261, "Actual Rows": 5, "Actual Loops": 1, "Sort Method": "quicksort", "Sort Space Used": 25, "Sort Space Type": "Memory"}], "Plans": [{"Node Type": "Aggregate", "Strategy": "Hashed", "Partial Mode": "Partial", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 50157.52, "Total Cost": 50157.57, "Plan Rows": 5, "Plan Width": 24, "Actual Startup Time": 117.057, "Actual Total Time": 117.06, "Actual Rows": 5, "Actual Loops": 4, "Output": ["orders.o_orderpriority", "PARTIAL count(*)"], "Group Key": ["orders.o_orderpriority"], "Planned Partitions": 0, "HashAgg Batches": 1, "Peak Memory Usage": 24, "Disk Usage": 0, "Workers": [{"Worker Number": 0, "Actual Startup Time": 115.933, "Actual Total Time": 115.935, "Actual Rows": 5, "Actual Loops": 1, "HashAgg Batches": 1, "Peak Memory Usage": 24, "Disk Usage": 0}, {"Worker Number": 1, "Actual Startup Time": 116.0, "Actual Total Time": 116.003, "Actual Rows": 5, "Actual Loops": 1, "HashAgg Batches": 1, "Peak Memory Usage": 24, "Disk Usage": 0}, {"Worker Number": 2, "Actual Startup Time": 116.231, "Actual Total Time": 116.233, "Actual Rows": 5, "Actual Loops": 1, "HashAgg Batches": 1, "Peak Memory Usage": 24, "Disk Usage": 0}], "Plans": [{"Node Type": "Nested Loop", "Parent Relationship": "Outer", "Parallel Aware": false, "Join Type": "Semi", "Startup Cost": 635.66, "Total Cost": 50083.87, "Plan Rows": 14730, "Plan Width": 16, "Actual Startup Time": 11.575, "Actual Total Time": 112.99, "Actual Rows": 12952, "Actual Loops": 4, "Output": ["orders.o_orderpriority"], "Inner Unique": false, "Workers": [{"Worker Number": 0, "Actual Startup Time": 10.592, "Actual Total Time": 112.38, "Actual Rows": 10768, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 10.645, "Actual Total Time": 112.42, "Actual Rows": 10817, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 10.866, "Actual Total Time": 112.636, "Actual Rows": 10916, "Actual Loops": 1}], "Plans": [{"Node Type": "Bitmap Heap Scan", "Parent Relationship": "Outer", "Parallel Aware": true, "Relation Name": "orders", "Schema": "public", "Alias": "orders", "Startup Cost": 635.23, "Total Cost": 27003.42, "Plan Rows": 18213, "Plan Width": 20, "Actual Startup Time": 11.51, "Actual Total Time": 34.693, "Actual Rows": 14142, "Actual Loops": 4, "Output": ["orders.o_orderkey", "orders.o_custkey", "orders.o_orderstatus", "orders.o_totalprice", "orders.o_orderdate", "orders.o_orderpriority", "orders.o_clerk", "orders.o_shippriority", "orders.o_comment"], "Recheck Cond": "((orders.o_orderdate >= '1996-01-01'::date) AND (orders.o_orderdate < '1996-04-01 00:00:00'::timestamp without time zone))", "Rows Removed by Index Recheck": 0, "Exact Heap Blocks": 8551, "Lossy Heap Blocks": 0, "Workers": [{"Worker Number": 0, "Actual Startup Time": 10.507, "Actual Total Time": 35.031, "Actual Rows": 11742, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 10.567, "Actual Total Time": 35.103, "Actual Rows": 11831, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 10.784, "Actual Total Time": 35.075, "Actual Rows": 11931, "Actual Loops": 1}], "Plans": [{"Node Type": "Bitmap Index Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Index Name": "o_od", "Startup Cost": 0.0, "Total Cost": 621.12, "Plan Rows": 56459, "Plan Width": 0, "Actual Startup Time": 7.96, "Actual Total Time": 7.96, "Actual Rows": 56568, "Actual Loops": 1, "Index Cond": "((orders.o_orderdate >= '1996-01-01'::date) AND (orders.o_orderdate < '1996-04-01 00:00:00'::timestamp without time zone))", "Workers": []}]}, {"Node Type": "Index Scan", "Parent Relationship": "Inner", "Parallel Aware": false, "Scan Direction": "Forward", "Index Name": "l_ok", "Relation Name": "lineitem", "Schema": "public", "Alias": "lineitem", "Startup Cost": 0.43, "Total Cost": 1.6, "Plan Rows": 2, "Plan Width": 4, "Actual Startup Time": 0.005, "Actual Total Time": 0.005, "Actual Rows": 1, "Actual Loops": 56568, "Output": ["lineitem.l_orderkey", "lineitem.l_partkey", "lineitem.l_suppkey", "lineitem.l_linenumber", "lineitem.l_quantity", "lineitem.l_extendedprice", "lineitem.l_discount", "lineitem.l_tax", "lineitem.l_returnflag", "lineitem.l_linestatus", "lineitem.l_shipdate", "lineitem.l_commitdate", "lineitem.l_receiptdate", "lineitem.l_shipinstruct", "lineitem.l_shipmode", "lineitem.l_comment"], "Index Cond": "(lineitem.l_orderkey = orders.o_orderkey)", "Rows Removed by Index Recheck": 0, "Filter": "(lineitem.l_commitdate < lineitem.l_receiptdate)", "Rows Removed by Filter": 1, "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.006, "Actual Total Time": 0.006, "Actual Rows": 1, "Actual Loops": 11742}, {"Worker Number": 1, "Actual Startup Time": 0.006, "Actual Total Time": 0.006, "Actual Rows": 1, "Actual Loops": 11831}, {"Worker Number": 2, "Actual Startup Time": 0.006, "Actual Total Time": 0.006, "Actual Rows": 1, "Actual Loops": 11931}]}]}]}]}]}]}, "Planning Time": 0.409, "Triggers": [], "Execution Time": 146.689} diff --git a/dev9/pg13/tpch/sf_1/explain_analyze/15721/5-1.ok b/dev9/pg13/tpch/sf_1/explain_analyze/15721/5-1.ok new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/dev9/pg13/tpch/sf_1/explain_analyze/15721/5-1.res b/dev9/pg13/tpch/sf_1/explain_analyze/15721/5-1.res new file mode 100644 index 0000000000000000000000000000000000000000..97832b493af79eebcd316f5eedf72994768fedd8 --- /dev/null +++ b/dev9/pg13/tpch/sf_1/explain_analyze/15721/5-1.res @@ -0,0 +1 @@ +{"Plan": {"Node Type": "Sort", "Parallel Aware": false, "Startup Cost": 41322.34, "Total Cost": 41322.4, "Plan Rows": 25, "Plan Width": 58, "Actual Startup Time": 269.436, "Actual Total Time": 305.402, "Actual Rows": 5, "Actual Loops": 1, "Output": ["nation.n_name", "(sum((lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount))))"], "Sort Key": ["(sum((lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount)))) DESC"], "Sort Method": "quicksort", "Sort Space Used": 25, "Sort Space Type": "Memory", "Plans": [{"Node Type": "Aggregate", "Strategy": "Sorted", "Partial Mode": "Finalize", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 41276.93, "Total Cost": 41321.76, "Plan Rows": 25, "Plan Width": 58, "Actual Startup Time": 268.21, "Actual Total Time": 305.393, "Actual Rows": 5, "Actual Loops": 1, "Output": ["nation.n_name", "sum((lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount)))"], "Group Key": ["nation.n_name"], "Plans": [{"Node Type": "Gather Merge", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 41276.93, "Total Cost": 41321.07, "Plan Rows": 50, "Plan Width": 58, "Actual Startup Time": 267.851, "Actual Total Time": 305.372, "Actual Rows": 15, "Actual Loops": 1, "Output": ["nation.n_name", "(PARTIAL sum((lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount))))"], "Workers Planned": 2, "Workers Launched": 2, "Plans": [{"Node Type": "Aggregate", "Strategy": "Sorted", "Partial Mode": "Partial", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 40276.9, "Total Cost": 40315.28, "Plan Rows": 25, "Plan Width": 58, "Actual Startup Time": 264.633, "Actual Total Time": 265.792, "Actual Rows": 5, "Actual Loops": 3, "Output": ["nation.n_name", "PARTIAL sum((lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount)))"], "Group Key": ["nation.n_name"], "Workers": [{"Worker Number": 0, "Actual Startup Time": 263.076, "Actual Total Time": 264.115, "Actual Rows": 5, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 263.432, "Actual Total Time": 264.457, "Actual Rows": 5, "Actual Loops": 1}], "Plans": [{"Node Type": "Sort", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 40276.9, "Total Cost": 40284.52, "Plan Rows": 3045, "Plan Width": 38, "Actual Startup Time": 264.338, "Actual Total Time": 264.495, "Actual Rows": 2456, "Actual Loops": 3, "Output": ["nation.n_name", "lineitem.l_extendedprice", "lineitem.l_discount"], "Sort Key": ["nation.n_name"], "Sort Method": "quicksort", "Sort Space Used": 322, "Sort Space Type": "Memory", "Workers": [{"Worker Number": 0, "Actual Startup Time": 262.782, "Actual Total Time": 262.919, "Actual Rows": 2242, "Actual Loops": 1, "Sort Method": "quicksort", "Sort Space Used": 272, "Sort Space Type": "Memory"}, {"Worker Number": 1, "Actual Startup Time": 263.144, "Actual Total Time": 263.28, "Actual Rows": 2243, "Actual Loops": 1, "Sort Method": "quicksort", "Sort Space Used": 272, "Sort Space Type": "Memory"}], "Plans": [{"Node Type": "Hash Join", "Parent Relationship": "Outer", "Parallel Aware": false, "Join Type": "Inner", "Startup Cost": 475.37, "Total Cost": 40100.72, "Plan Rows": 3045, "Plan Width": 38, "Actual Startup Time": 5.584, "Actual Total Time": 263.246, "Actual Rows": 2456, "Actual Loops": 3, "Output": ["nation.n_name", "lineitem.l_extendedprice", "lineitem.l_discount"], "Inner Unique": true, "Hash Cond": "((lineitem.l_suppkey = supplier.s_suppkey) AND (customer.c_nationkey = supplier.s_nationkey))", "Workers": [{"Worker Number": 0, "Actual Startup Time": 6.314, "Actual Total Time": 261.76, "Actual Rows": 2242, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 6.693, "Actual Total Time": 262.118, "Actual Rows": 2243, "Actual Loops": 1}], "Plans": [{"Node Type": "Nested Loop", "Parent Relationship": "Outer", "Parallel Aware": false, "Join Type": "Inner", "Startup Cost": 3.37, "Total Cost": 39229.03, "Plan Rows": 76130, "Plan Width": 50, "Actual Startup Time": 0.295, "Actual Total Time": 247.693, "Actual Rows": 60955, "Actual Loops": 3, "Output": ["customer.c_nationkey", "lineitem.l_extendedprice", "lineitem.l_discount", "lineitem.l_suppkey", "nation.n_name", "nation.n_nationkey"], "Inner Unique": false, "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.433, "Actual Total Time": 246.762, "Actual Rows": 55441, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 0.39, "Actual Total Time": 247.141, "Actual Rows": 55580, "Actual Loops": 1}], "Plans": [{"Node Type": "Nested Loop", "Parent Relationship": "Outer", "Parallel Aware": false, "Join Type": "Inner", "Startup Cost": 2.94, "Total Cost": 17199.03, "Plan Rows": 19028, "Plan Width": 38, "Actual Startup Time": 0.254, "Actual Total Time": 133.088, "Actual Rows": 15210, "Actual Loops": 3, "Output": ["customer.c_nationkey", "orders.o_orderkey", "nation.n_name", "nation.n_nationkey"], "Inner Unique": false, "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.374, "Actual Total Time": 126.38, "Actual Rows": 13864, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 0.332, "Actual Total Time": 127.608, "Actual Rows": 13829, "Actual Loops": 1}], "Plans": [{"Node Type": "Hash Join", "Parent Relationship": "Outer", "Parallel Aware": false, "Join Type": "Inner", "Startup Cost": 2.51, "Total Cost": 4571.88, "Plan Rows": 12500, "Plan Width": 38, "Actual Startup Time": 0.117, "Actual Total Time": 19.009, "Actual Rows": 9984, "Actual Loops": 3, "Output": ["customer.c_custkey", "customer.c_nationkey", "nation.n_name", "nation.n_nationkey"], "Inner Unique": false, "Hash Cond": "(customer.c_nationkey = nation.n_nationkey)", "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.159, "Actual Total Time": 17.845, "Actual Rows": 8973, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 0.156, "Actual Total Time": 18.25, "Actual Rows": 9181, "Actual Loops": 1}], "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": true, "Relation Name": "customer", "Schema": "public", "Alias": "customer", "Startup Cost": 0.0, "Total Cost": 4210.0, "Plan Rows": 62500, "Plan Width": 8, "Actual Startup Time": 0.013, "Actual Total Time": 5.891, "Actual Rows": 50000, "Actual Loops": 3, "Output": ["customer.c_custkey", "customer.c_name", "customer.c_address", "customer.c_nationkey", "customer.c_phone", "customer.c_acctbal", "customer.c_mktsegment", "customer.c_comment"], "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.017, "Actual Total Time": 5.885, "Actual Rows": 44818, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 0.02, "Actual Total Time": 5.915, "Actual Rows": 45919, "Actual Loops": 1}]}, {"Node Type": "Hash", "Parent Relationship": "Inner", "Parallel Aware": false, "Startup Cost": 2.45, "Total Cost": 2.45, "Plan Rows": 5, "Plan Width": 30, "Actual Startup Time": 0.056, "Actual Total Time": 0.059, "Actual Rows": 5, "Actual Loops": 3, "Output": ["nation.n_name", "nation.n_nationkey"], "Hash Buckets": 1024, "Original Hash Buckets": 1024, "Hash Batches": 1, "Original Hash Batches": 1, "Peak Memory Usage": 9, "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.072, "Actual Total Time": 0.075, "Actual Rows": 5, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 0.071, "Actual Total Time": 0.074, "Actual Rows": 5, "Actual Loops": 1}], "Plans": [{"Node Type": "Hash Join", "Parent Relationship": "Outer", "Parallel Aware": false, "Join Type": "Inner", "Startup Cost": 1.07, "Total Cost": 2.45, "Plan Rows": 5, "Plan Width": 30, "Actual Startup Time": 0.046, "Actual Total Time": 0.055, "Actual Rows": 5, "Actual Loops": 3, "Output": ["nation.n_name", "nation.n_nationkey"], "Inner Unique": true, "Hash Cond": "(nation.n_regionkey = region.r_regionkey)", "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.061, "Actual Total Time": 0.071, "Actual Rows": 5, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 0.06, "Actual Total Time": 0.07, "Actual Rows": 5, "Actual Loops": 1}], "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Relation Name": "nation", "Schema": "public", "Alias": "nation", "Startup Cost": 0.0, "Total Cost": 1.25, "Plan Rows": 25, "Plan Width": 34, "Actual Startup Time": 0.011, "Actual Total Time": 0.013, "Actual Rows": 25, "Actual Loops": 3, "Output": ["nation.n_nationkey", "nation.n_name", "nation.n_regionkey", "nation.n_comment"], "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.016, "Actual Total Time": 0.018, "Actual Rows": 25, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 0.015, "Actual Total Time": 0.017, "Actual Rows": 25, "Actual Loops": 1}]}, {"Node Type": "Hash", "Parent Relationship": "Inner", "Parallel Aware": false, "Startup Cost": 1.06, "Total Cost": 1.06, "Plan Rows": 1, "Plan Width": 4, "Actual Startup Time": 0.022, "Actual Total Time": 0.023, "Actual Rows": 1, "Actual Loops": 3, "Output": ["region.r_regionkey"], "Hash Buckets": 1024, "Original Hash Buckets": 1024, "Hash Batches": 1, "Original Hash Batches": 1, "Peak Memory Usage": 9, "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.029, "Actual Total Time": 0.03, "Actual Rows": 1, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 0.028, "Actual Total Time": 0.029, "Actual Rows": 1, "Actual Loops": 1}], "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Relation Name": "region", "Schema": "public", "Alias": "region", "Startup Cost": 0.0, "Total Cost": 1.06, "Plan Rows": 1, "Plan Width": 4, "Actual Startup Time": 0.018, "Actual Total Time": 0.019, "Actual Rows": 1, "Actual Loops": 3, "Output": ["region.r_regionkey"], "Filter": "(region.r_name = 'AMERICA'::bpchar)", "Rows Removed by Filter": 4, "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.024, "Actual Total Time": 0.026, "Actual Rows": 1, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 0.023, "Actual Total Time": 0.024, "Actual Rows": 1, "Actual Loops": 1}]}]}]}]}]}, {"Node Type": "Index Scan", "Parent Relationship": "Inner", "Parallel Aware": false, "Scan Direction": "Forward", "Index Name": "o_ck", "Relation Name": "orders", "Schema": "public", "Alias": "orders", "Startup Cost": 0.43, "Total Cost": 0.99, "Plan Rows": 2, "Plan Width": 8, "Actual Startup Time": 0.005, "Actual Total Time": 0.011, "Actual Rows": 2, "Actual Loops": 29952, "Output": ["orders.o_orderkey", "orders.o_custkey", "orders.o_orderstatus", "orders.o_totalprice", "orders.o_orderdate", "orders.o_orderpriority", "orders.o_clerk", "orders.o_shippriority", "orders.o_comment"], "Index Cond": "(orders.o_custkey = customer.c_custkey)", "Rows Removed by Index Recheck": 0, "Filter": "((orders.o_orderdate >= '1995-01-01'::date) AND (orders.o_orderdate < '1996-01-01 00:00:00'::timestamp without time zone))", "Rows Removed by Filter": 8, "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.006, "Actual Total Time": 0.012, "Actual Rows": 2, "Actual Loops": 8973}, {"Worker Number": 1, "Actual Startup Time": 0.006, "Actual Total Time": 0.011, "Actual Rows": 2, "Actual Loops": 9181}]}]}, {"Node Type": "Index Scan", "Parent Relationship": "Inner", "Parallel Aware": false, "Scan Direction": "Forward", "Index Name": "l_ok", "Relation Name": "lineitem", "Schema": "public", "Alias": "lineitem", "Startup Cost": 0.43, "Total Cost": 1.11, "Plan Rows": 5, "Plan Width": 20, "Actual Startup Time": 0.006, "Actual Total Time": 0.007, "Actual Rows": 4, "Actual Loops": 45630, "Output": ["lineitem.l_orderkey", "lineitem.l_partkey", "lineitem.l_suppkey", "lineitem.l_linenumber", "lineitem.l_quantity", "lineitem.l_extendedprice", "lineitem.l_discount", "lineitem.l_tax", "lineitem.l_returnflag", "lineitem.l_linestatus", "lineitem.l_shipdate", "lineitem.l_commitdate", "lineitem.l_receiptdate", "lineitem.l_shipinstruct", "lineitem.l_shipmode", "lineitem.l_comment"], "Index Cond": "(lineitem.l_orderkey = orders.o_orderkey)", "Rows Removed by Index Recheck": 0, "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.007, "Actual Total Time": 0.008, "Actual Rows": 4, "Actual Loops": 13864}, {"Worker Number": 1, "Actual Startup Time": 0.007, "Actual Total Time": 0.008, "Actual Rows": 4, "Actual Loops": 13829}]}]}, {"Node Type": "Hash", "Parent Relationship": "Inner", "Parallel Aware": false, "Startup Cost": 322.0, "Total Cost": 322.0, "Plan Rows": 10000, "Plan Width": 8, "Actual Startup Time": 4.18, "Actual Total Time": 4.18, "Actual Rows": 10000, "Actual Loops": 3, "Output": ["supplier.s_suppkey", "supplier.s_nationkey"], "Hash Buckets": 16384, "Original Hash Buckets": 16384, "Hash Batches": 1, "Original Hash Batches": 1, "Peak Memory Usage": 519, "Workers": [{"Worker Number": 0, "Actual Startup Time": 4.451, "Actual Total Time": 4.452, "Actual Rows": 10000, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 4.433, "Actual Total Time": 4.434, "Actual Rows": 10000, "Actual Loops": 1}], "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Relation Name": "supplier", "Schema": "public", "Alias": "supplier", "Startup Cost": 0.0, "Total Cost": 322.0, "Plan Rows": 10000, "Plan Width": 8, "Actual Startup Time": 0.015, "Actual Total Time": 2.434, "Actual Rows": 10000, "Actual Loops": 3, "Output": ["supplier.s_suppkey", "supplier.s_nationkey"], "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.022, "Actual Total Time": 2.63, "Actual Rows": 10000, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 0.021, "Actual Total Time": 2.605, "Actual Rows": 10000, "Actual Loops": 1}]}]}]}]}]}]}]}]}, "Planning Time": 2.272, "Triggers": [], "Execution Time": 305.481} diff --git a/dev9/pg13/tpch/sf_1/explain_analyze/15721/6-1.ok b/dev9/pg13/tpch/sf_1/explain_analyze/15721/6-1.ok new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/dev9/pg13/tpch/sf_1/explain_analyze/15721/6-1.res b/dev9/pg13/tpch/sf_1/explain_analyze/15721/6-1.res new file mode 100644 index 0000000000000000000000000000000000000000..6ddb78e5e2f9b8d02475d3888f8121f3a8cdb130 --- /dev/null +++ b/dev9/pg13/tpch/sf_1/explain_analyze/15721/6-1.res @@ -0,0 +1 @@ +{"Plan": {"Node Type": "Aggregate", "Strategy": "Plain", "Partial Mode": "Finalize", "Parallel Aware": false, "Startup Cost": 127856.36, "Total Cost": 127856.37, "Plan Rows": 1, "Plan Width": 32, "Actual Startup Time": 280.66, "Actual Total Time": 309.908, "Actual Rows": 1, "Actual Loops": 1, "Output": ["sum((l_extendedprice * l_discount))"], "Plans": [{"Node Type": "Gather", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 127855.82, "Total Cost": 127856.33, "Plan Rows": 5, "Plan Width": 32, "Actual Startup Time": 277.946, "Actual Total Time": 309.896, "Actual Rows": 6, "Actual Loops": 1, "Output": ["(PARTIAL sum((l_extendedprice * l_discount)))"], "Workers Planned": 5, "Workers Launched": 5, "Single Copy": false, "Plans": [{"Node Type": "Aggregate", "Strategy": "Plain", "Partial Mode": "Partial", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 126855.82, "Total Cost": 126855.83, "Plan Rows": 1, "Plan Width": 32, "Actual Startup Time": 274.305, "Actual Total Time": 274.307, "Actual Rows": 1, "Actual Loops": 6, "Output": ["PARTIAL sum((l_extendedprice * l_discount))"], "Workers": [{"Worker Number": 0, "Actual Startup Time": 273.47, "Actual Total Time": 273.471, "Actual Rows": 1, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 273.564, "Actual Total Time": 273.566, "Actual Rows": 1, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 273.573, "Actual Total Time": 273.574, "Actual Rows": 1, "Actual Loops": 1}, {"Worker Number": 3, "Actual Startup Time": 273.721, "Actual Total Time": 273.722, "Actual Rows": 1, "Actual Loops": 1}, {"Worker Number": 4, "Actual Startup Time": 273.933, "Actual Total Time": 273.934, "Actual Rows": 1, "Actual Loops": 1}], "Plans": [{"Node Type": "Bitmap Heap Scan", "Parent Relationship": "Outer", "Parallel Aware": true, "Relation Name": "lineitem", "Schema": "public", "Alias": "lineitem", "Startup Cost": 10100.8, "Total Cost": 126740.48, "Plan Rows": 23068, "Plan Width": 12, "Actual Startup Time": 117.176, "Actual Total Time": 268.307, "Actual Rows": 19184, "Actual Loops": 6, "Output": ["l_orderkey", "l_partkey", "l_suppkey", "l_linenumber", "l_quantity", "l_extendedprice", "l_discount", "l_tax", "l_returnflag", "l_linestatus", "l_shipdate", "l_commitdate", "l_receiptdate", "l_shipinstruct", "l_shipmode", "l_comment"], "Recheck Cond": "((lineitem.l_shipdate >= '1995-01-01'::date) AND (lineitem.l_shipdate < '1996-01-01 00:00:00'::timestamp without time zone))", "Rows Removed by Index Recheck": 0, "Filter": "((lineitem.l_discount >= 0.04) AND (lineitem.l_discount <= 0.06) AND (lineitem.l_quantity < '24'::numeric))", "Rows Removed by Filter": 133310, "Exact Heap Blocks": 26826, "Lossy Heap Blocks": 0, "Workers": [{"Worker Number": 0, "Actual Startup Time": 116.379, "Actual Total Time": 268.018, "Actual Rows": 16891, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 116.588, "Actual Total Time": 268.069, "Actual Rows": 17222, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 116.464, "Actual Total Time": 268.2, "Actual Rows": 16804, "Actual Loops": 1}, {"Worker Number": 3, "Actual Startup Time": 116.59, "Actual Total Time": 268.194, "Actual Rows": 17272, "Actual Loops": 1}, {"Worker Number": 4, "Actual Startup Time": 116.841, "Actual Total Time": 268.365, "Actual Rows": 17428, "Actual Loops": 1}], "Plans": [{"Node Type": "Bitmap Index Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Index Name": "l_sd", "Startup Cost": 0.0, "Total Cost": 10071.96, "Plan Rows": 919263, "Plan Width": 0, "Actual Startup Time": 84.104, "Actual Total Time": 84.105, "Actual Rows": 914963, "Actual Loops": 1, "Index Cond": "((lineitem.l_shipdate >= '1995-01-01'::date) AND (lineitem.l_shipdate < '1996-01-01 00:00:00'::timestamp without time zone))", "Workers": []}]}]}]}]}, "Planning Time": 0.156, "Triggers": [], "Execution Time": 309.944} diff --git a/dev9/pg13/tpch/sf_1/explain_analyze/15721/7-1.ok b/dev9/pg13/tpch/sf_1/explain_analyze/15721/7-1.ok new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/dev9/pg13/tpch/sf_1/explain_analyze/15721/7-1.res b/dev9/pg13/tpch/sf_1/explain_analyze/15721/7-1.res new file mode 100644 index 0000000000000000000000000000000000000000..6ed745a7c989e4f53f2dbbf2202ecb8a0e31a0b0 --- /dev/null +++ b/dev9/pg13/tpch/sf_1/explain_analyze/15721/7-1.res @@ -0,0 +1 @@ +{"Plan": {"Node Type": "Aggregate", "Strategy": "Sorted", "Partial Mode": "Finalize", "Parallel Aware": false, "Startup Cost": 36241.94, "Total Cost": 37087.05, "Plan Rows": 6094, "Plan Width": 92, "Actual Startup Time": 663.101, "Actual Total Time": 709.245, "Actual Rows": 4, "Actual Loops": 1, "Output": ["n1.n_name", "n2.n_name", "(date_part('year'::text, (lineitem.l_shipdate)::timestamp without time zone))", "sum((lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount)))"], "Group Key": ["n1.n_name", "n2.n_name", "(date_part('year'::text, (lineitem.l_shipdate)::timestamp without time zone))"], "Plans": [{"Node Type": "Gather Merge", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 36241.94, "Total Cost": 36916.93, "Plan Rows": 5078, "Plan Width": 92, "Actual Startup Time": 662.34, "Actual Total Time": 709.224, "Actual Rows": 12, "Actual Loops": 1, "Output": ["n1.n_name", "n2.n_name", "(date_part('year'::text, (lineitem.l_shipdate)::timestamp without time zone))", "(PARTIAL sum((lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount))))"], "Workers Planned": 2, "Workers Launched": 2, "Plans": [{"Node Type": "Aggregate", "Strategy": "Sorted", "Partial Mode": "Partial", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 35241.92, "Total Cost": 35330.78, "Plan Rows": 2539, "Plan Width": 92, "Actual Startup Time": 657.825, "Actual Total Time": 658.844, "Actual Rows": 4, "Actual Loops": 3, "Output": ["n1.n_name", "n2.n_name", "(date_part('year'::text, (lineitem.l_shipdate)::timestamp without time zone))", "PARTIAL sum((lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount)))"], "Group Key": ["n1.n_name", "n2.n_name", "(date_part('year'::text, (lineitem.l_shipdate)::timestamp without time zone))"], "Workers": [{"Worker Number": 0, "Actual Startup Time": 655.741, "Actual Total Time": 656.119, "Actual Rows": 4, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 655.916, "Actual Total Time": 656.291, "Actual Rows": 4, "Actual Loops": 1}], "Plans": [{"Node Type": "Sort", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 35241.92, "Total Cost": 35248.26, "Plan Rows": 2539, "Plan Width": 72, "Actual Startup Time": 657.471, "Actual Total Time": 657.6, "Actual Rows": 1875, "Actual Loops": 3, "Output": ["n1.n_name", "n2.n_name", "(date_part('year'::text, (lineitem.l_shipdate)::timestamp without time zone))", "lineitem.l_extendedprice", "lineitem.l_discount"], "Sort Key": ["n1.n_name", "n2.n_name", "(date_part('year'::text, (lineitem.l_shipdate)::timestamp without time zone))"], "Sort Method": "quicksort", "Sort Space Used": 788, "Sort Space Type": "Memory", "Workers": [{"Worker Number": 0, "Actual Startup Time": 655.601, "Actual Total Time": 655.646, "Actual Rows": 687, "Actual Loops": 1, "Sort Method": "quicksort", "Sort Space Used": 121, "Sort Space Type": "Memory"}, {"Worker Number": 1, "Actual Startup Time": 655.763, "Actual Total Time": 655.808, "Actual Rows": 702, "Actual Loops": 1, "Sort Method": "quicksort", "Sort Space Used": 123, "Sort Space Type": "Memory"}], "Plans": [{"Node Type": "Hash Join", "Parent Relationship": "Outer", "Parallel Aware": false, "Join Type": "Inner", "Startup Cost": 25048.2, "Total Cost": 35098.34, "Plan Rows": 2539, "Plan Width": 72, "Actual Startup Time": 575.645, "Actual Total Time": 656.356, "Actual Rows": 1875, "Actual Loops": 3, "Output": ["n1.n_name", "n2.n_name", "date_part('year'::text, (lineitem.l_shipdate)::timestamp without time zone)", "lineitem.l_extendedprice", "lineitem.l_discount"], "Inner Unique": false, "Hash Cond": "(orders.o_orderkey = lineitem.l_orderkey)", "Join Filter": "(((n1.n_name = 'IRAN'::bpchar) AND (n2.n_name = 'ETHIOPIA'::bpchar)) OR ((n1.n_name = 'ETHIOPIA'::bpchar) AND (n2.n_name = 'IRAN'::bpchar)))", "Rows Removed by Join Filter": 1861, "Workers": [{"Worker Number": 0, "Actual Startup Time": 615.094, "Actual Total Time": 655.119, "Actual Rows": 687, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 614.912, "Actual Total Time": 655.267, "Actual Rows": 702, "Actual Loops": 1}], "Plans": [{"Node Type": "Nested Loop", "Parent Relationship": "Outer", "Parallel Aware": false, "Join Type": "Inner", "Startup Cost": 1.83, "Total Cost": 9754.13, "Plan Rows": 50000, "Plan Width": 30, "Actual Startup Time": 0.129, "Actual Total Time": 69.542, "Actual Rows": 39794, "Actual Loops": 3, "Output": ["orders.o_orderkey", "n2.n_name"], "Inner Unique": false, "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.181, "Actual Total Time": 36.014, "Actual Rows": 14556, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 0.166, "Actual Total Time": 36.011, "Actual Rows": 14540, "Actual Loops": 1}], "Plans": [{"Node Type": "Hash Join", "Parent Relationship": "Outer", "Parallel Aware": false, "Join Type": "Inner", "Startup Cost": 1.4, "Total Cost": 4403.27, "Plan Rows": 5000, "Plan Width": 30, "Actual Startup Time": 0.091, "Actual Total Time": 15.478, "Actual Rows": 3987, "Actual Loops": 3, "Output": ["customer.c_custkey", "n2.n_name"], "Inner Unique": true, "Hash Cond": "(customer.c_nationkey = n2.n_nationkey)", "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.128, "Actual Total Time": 6.479, "Actual Rows": 1445, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 0.117, "Actual Total Time": 6.689, "Actual Rows": 1480, "Actual Loops": 1}], "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": true, "Relation Name": "customer", "Schema": "public", "Alias": "customer", "Startup Cost": 0.0, "Total Cost": 4210.0, "Plan Rows": 62500, "Plan Width": 8, "Actual Startup Time": 0.015, "Actual Total Time": 5.079, "Actual Rows": 50000, "Actual Loops": 3, "Output": ["customer.c_custkey", "customer.c_name", "customer.c_address", "customer.c_nationkey", "customer.c_phone", "customer.c_acctbal", "customer.c_mktsegment", "customer.c_comment"], "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.018, "Actual Total Time": 2.334, "Actual Rows": 18028, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 0.024, "Actual Total Time": 2.377, "Actual Rows": 19013, "Actual Loops": 1}]}, {"Node Type": "Hash", "Parent Relationship": "Inner", "Parallel Aware": false, "Startup Cost": 1.38, "Total Cost": 1.38, "Plan Rows": 2, "Plan Width": 30, "Actual Startup Time": 0.026, "Actual Total Time": 0.026, "Actual Rows": 2, "Actual Loops": 3, "Output": ["n2.n_name", "n2.n_nationkey"], "Hash Buckets": 1024, "Original Hash Buckets": 1024, "Hash Batches": 1, "Original Hash Batches": 1, "Peak Memory Usage": 9, "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.031, "Actual Total Time": 0.032, "Actual Rows": 2, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 0.03, "Actual Total Time": 0.031, "Actual Rows": 2, "Actual Loops": 1}], "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Relation Name": "nation", "Schema": "public", "Alias": "n2", "Startup Cost": 0.0, "Total Cost": 1.38, "Plan Rows": 2, "Plan Width": 30, "Actual Startup Time": 0.017, "Actual Total Time": 0.022, "Actual Rows": 2, "Actual Loops": 3, "Output": ["n2.n_name", "n2.n_nationkey"], "Filter": "((n2.n_name = 'ETHIOPIA'::bpchar) OR (n2.n_name = 'IRAN'::bpchar))", "Rows Removed by Filter": 23, "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.022, "Actual Total Time": 0.027, "Actual Rows": 2, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 0.021, "Actual Total Time": 0.026, "Actual Rows": 2, "Actual Loops": 1}]}]}]}, {"Node Type": "Index Scan", "Parent Relationship": "Inner", "Parallel Aware": false, "Scan Direction": "Forward", "Index Name": "o_ck", "Relation Name": "orders", "Schema": "public", "Alias": "orders", "Startup Cost": 0.43, "Total Cost": 0.91, "Plan Rows": 16, "Plan Width": 8, "Actual Startup Time": 0.003, "Actual Total Time": 0.012, "Actual Rows": 10, "Actual Loops": 11961, "Output": ["orders.o_orderkey", "orders.o_custkey", "orders.o_orderstatus", "orders.o_totalprice", "orders.o_orderdate", "orders.o_orderpriority", "orders.o_clerk", "orders.o_shippriority", "orders.o_comment"], "Index Cond": "(orders.o_custkey = customer.c_custkey)", "Rows Removed by Index Recheck": 0, "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.003, "Actual Total Time": 0.019, "Actual Rows": 10, "Actual Loops": 1445}, {"Worker Number": 1, "Actual Startup Time": 0.003, "Actual Total Time": 0.018, "Actual Rows": 10, "Actual Loops": 1480}]}]}, {"Node Type": "Hash", "Parent Relationship": "Inner", "Parallel Aware": false, "Startup Cost": 23215.79, "Total Cost": 23215.79, "Plan Rows": 146446, "Plan Width": 46, "Actual Startup Time": 574.312, "Actual Total Time": 574.314, "Actual Rows": 140959, "Actual Loops": 3, "Output": ["lineitem.l_shipdate", "lineitem.l_extendedprice", "lineitem.l_discount", "lineitem.l_orderkey", "n1.n_name"], "Hash Buckets": 262144, "Original Hash Buckets": 262144, "Hash Batches": 1, "Original Hash Batches": 1, "Peak Memory Usage": 13200, "Workers": [{"Worker Number": 0, "Actual Startup Time": 613.269, "Actual Total Time": 613.271, "Actual Rows": 140959, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 613.419, "Actual Total Time": 613.421, "Actual Rows": 140959, "Actual Loops": 1}], "Plans": [{"Node Type": "Nested Loop", "Parent Relationship": "Outer", "Parallel Aware": false, "Join Type": "Inner", "Startup Cost": 4.92, "Total Cost": 23215.79, "Plan Rows": 146446, "Plan Width": 46, "Actual Startup Time": 0.154, "Actual Total Time": 529.468, "Actual Rows": 140959, "Actual Loops": 3, "Output": ["lineitem.l_shipdate", "lineitem.l_extendedprice", "lineitem.l_discount", "lineitem.l_orderkey", "n1.n_name"], "Inner Unique": false, "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.203, "Actual Total Time": 566.349, "Actual Rows": 140959, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 0.184, "Actual Total Time": 566.369, "Actual Rows": 140959, "Actual Loops": 1}], "Plans": [{"Node Type": "Nested Loop", "Parent Relationship": "Outer", "Parallel Aware": false, "Join Type": "Inner", "Startup Cost": 4.48, "Total Cost": 256.85, "Plan Rows": 800, "Plan Width": 30, "Actual Startup Time": 0.093, "Actual Total Time": 1.201, "Actual Rows": 773, "Actual Loops": 3, "Output": ["supplier.s_suppkey", "n1.n_name"], "Inner Unique": false, "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.114, "Actual Total Time": 1.289, "Actual Rows": 773, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 0.104, "Actual Total Time": 1.281, "Actual Rows": 773, "Actual Loops": 1}], "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Relation Name": "nation", "Schema": "public", "Alias": "n1", "Startup Cost": 0.0, "Total Cost": 1.38, "Plan Rows": 2, "Plan Width": 30, "Actual Startup Time": 0.004, "Actual Total Time": 0.014, "Actual Rows": 2, "Actual Loops": 3, "Output": ["n1.n_nationkey", "n1.n_name", "n1.n_regionkey", "n1.n_comment"], "Filter": "((n1.n_name = 'IRAN'::bpchar) OR (n1.n_name = 'ETHIOPIA'::bpchar))", "Rows Removed by Filter": 23, "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.004, "Actual Total Time": 0.014, "Actual Rows": 2, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 0.004, "Actual Total Time": 0.014, "Actual Rows": 2, "Actual Loops": 1}]}, {"Node Type": "Bitmap Heap Scan", "Parent Relationship": "Inner", "Parallel Aware": false, "Relation Name": "supplier", "Schema": "public", "Alias": "supplier", "Startup Cost": 4.48, "Total Cost": 123.74, "Plan Rows": 400, "Plan Width": 8, "Actual Startup Time": 0.067, "Actual Total Time": 0.511, "Actual Rows": 386, "Actual Loops": 6, "Output": ["supplier.s_suppkey", "supplier.s_name", "supplier.s_address", "supplier.s_nationkey", "supplier.s_phone", "supplier.s_acctbal", "supplier.s_comment"], "Recheck Cond": "(supplier.s_nationkey = n1.n_nationkey)", "Rows Removed by Index Recheck": 0, "Exact Heap Blocks": 371, "Lossy Heap Blocks": 0, "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.078, "Actual Total Time": 0.555, "Actual Rows": 386, "Actual Loops": 2}, {"Worker Number": 1, "Actual Startup Time": 0.073, "Actual Total Time": 0.555, "Actual Rows": 386, "Actual Loops": 2}], "Plans": [{"Node Type": "Bitmap Index Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Index Name": "s_nk", "Startup Cost": 0.0, "Total Cost": 4.38, "Plan Rows": 400, "Plan Width": 0, "Actual Startup Time": 0.036, "Actual Total Time": 0.036, "Actual Rows": 386, "Actual Loops": 6, "Index Cond": "(supplier.s_nationkey = n1.n_nationkey)", "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.044, "Actual Total Time": 0.044, "Actual Rows": 386, "Actual Loops": 2}, {"Worker Number": 1, "Actual Startup Time": 0.039, "Actual Total Time": 0.039, "Actual Rows": 386, "Actual Loops": 2}]}]}]}, {"Node Type": "Index Scan", "Parent Relationship": "Inner", "Parallel Aware": false, "Scan Direction": "Forward", "Index Name": "l_sk", "Relation Name": "lineitem", "Schema": "public", "Alias": "lineitem", "Startup Cost": 0.43, "Total Cost": 26.87, "Plan Rows": 183, "Plan Width": 24, "Actual Startup Time": 0.011, "Actual Total Time": 0.66, "Actual Rows": 182, "Actual Loops": 2319, "Output": ["lineitem.l_orderkey", "lineitem.l_partkey", "lineitem.l_suppkey", "lineitem.l_linenumber", "lineitem.l_quantity", "lineitem.l_extendedprice", "lineitem.l_discount", "lineitem.l_tax", "lineitem.l_returnflag", "lineitem.l_linestatus", "lineitem.l_shipdate", "lineitem.l_commitdate", "lineitem.l_receiptdate", "lineitem.l_shipinstruct", "lineitem.l_shipmode", "lineitem.l_comment"], "Index Cond": "(lineitem.l_suppkey = supplier.s_suppkey)", "Rows Removed by Index Recheck": 0, "Filter": "((lineitem.l_shipdate >= '1995-01-01'::date) AND (lineitem.l_shipdate <= '1996-12-31'::date))", "Rows Removed by Filter": 417, "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.012, "Actual Total Time": 0.708, "Actual Rows": 182, "Actual Loops": 773}, {"Worker Number": 1, "Actual Startup Time": 0.012, "Actual Total Time": 0.708, "Actual Rows": 182, "Actual Loops": 773}]}]}]}]}]}]}]}]}, "Planning Time": 1.713, "Triggers": [], "Execution Time": 709.407} diff --git a/dev9/pg13/tpch/sf_1/explain_analyze/15721/8-1.ok b/dev9/pg13/tpch/sf_1/explain_analyze/15721/8-1.ok new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/dev9/pg13/tpch/sf_1/explain_analyze/15721/8-1.res b/dev9/pg13/tpch/sf_1/explain_analyze/15721/8-1.res new file mode 100644 index 0000000000000000000000000000000000000000..9663728ca8ebdbf17504477ad1454df332fcb13d --- /dev/null +++ b/dev9/pg13/tpch/sf_1/explain_analyze/15721/8-1.res @@ -0,0 +1 @@ +{"Plan": {"Node Type": "Aggregate", "Strategy": "Sorted", "Partial Mode": "Finalize", "Parallel Aware": false, "Startup Cost": 33955.55, "Total Cost": 34319.97, "Plan Rows": 2406, "Plan Width": 40, "Actual Startup Time": 148.405, "Actual Total Time": 179.011, "Actual Rows": 2, "Actual Loops": 1, "Output": ["(date_part('year'::text, (orders.o_orderdate)::timestamp without time zone))", "(sum(CASE WHEN (n2.n_name = 'ETHIOPIA'::bpchar) THEN (lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount)) ELSE '0'::numeric END) / sum((lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount))))"], "Group Key": ["(date_part('year'::text, (orders.o_orderdate)::timestamp without time zone))"], "Plans": [{"Node Type": "Gather Merge", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 33955.55, "Total Cost": 34239.83, "Plan Rows": 2080, "Plan Width": 72, "Actual Startup Time": 148.025, "Actual Total Time": 178.993, "Actual Rows": 6, "Actual Loops": 1, "Output": ["(date_part('year'::text, (orders.o_orderdate)::timestamp without time zone))", "(PARTIAL sum(CASE WHEN (n2.n_name = 'ETHIOPIA'::bpchar) THEN (lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount)) ELSE '0'::numeric END))", "(PARTIAL sum((lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount))))"], "Workers Planned": 2, "Workers Launched": 2, "Plans": [{"Node Type": "Aggregate", "Strategy": "Sorted", "Partial Mode": "Partial", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 32955.53, "Total Cost": 32999.73, "Plan Rows": 1040, "Plan Width": 72, "Actual Startup Time": 144.484, "Actual Total Time": 144.759, "Actual Rows": 2, "Actual Loops": 3, "Output": ["(date_part('year'::text, (orders.o_orderdate)::timestamp without time zone))", "PARTIAL sum(CASE WHEN (n2.n_name = 'ETHIOPIA'::bpchar) THEN (lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount)) ELSE '0'::numeric END)", "PARTIAL sum((lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount)))"], "Group Key": ["(date_part('year'::text, (orders.o_orderdate)::timestamp without time zone))"], "Workers": [{"Worker Number": 0, "Actual Startup Time": 142.953, "Actual Total Time": 143.18, "Actual Rows": 2, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 143.032, "Actual Total Time": 143.258, "Actual Rows": 2, "Actual Loops": 1}], "Plans": [{"Node Type": "Sort", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 32955.53, "Total Cost": 32958.13, "Plan Rows": 1040, "Plan Width": 46, "Actual Startup Time": 144.201, "Actual Total Time": 144.258, "Actual Rows": 809, "Actual Loops": 3, "Output": ["(date_part('year'::text, (orders.o_orderdate)::timestamp without time zone))", "n2.n_name", "lineitem.l_extendedprice", "lineitem.l_discount"], "Sort Key": ["(date_part('year'::text, (orders.o_orderdate)::timestamp without time zone))"], "Sort Method": "quicksort", "Sort Space Used": 135, "Sort Space Type": "Memory", "Workers": [{"Worker Number": 0, "Actual Startup Time": 142.721, "Actual Total Time": 142.768, "Actual Rows": 659, "Actual Loops": 1, "Sort Method": "quicksort", "Sort Space Used": 76, "Sort Space Type": "Memory"}, {"Worker Number": 1, "Actual Startup Time": 142.786, "Actual Total Time": 142.832, "Actual Rows": 665, "Actual Loops": 1, "Sort Method": "quicksort", "Sort Space Used": 76, "Sort Space Type": "Memory"}], "Plans": [{"Node Type": "Hash Join", "Parent Relationship": "Outer", "Parallel Aware": false, "Join Type": "Inner", "Startup Cost": 2018.83, "Total Cost": 32903.41, "Plan Rows": 1040, "Plan Width": 46, "Actual Startup Time": 24.991, "Actual Total Time": 143.925, "Actual Rows": 809, "Actual Loops": 3, "Output": ["date_part('year'::text, (orders.o_orderdate)::timestamp without time zone)", "n2.n_name", "lineitem.l_extendedprice", "lineitem.l_discount"], "Inner Unique": true, "Hash Cond": "(supplier.s_nationkey = n2.n_nationkey)", "Workers": [{"Worker Number": 0, "Actual Startup Time": 26.065, "Actual Total Time": 142.476, "Actual Rows": 659, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 25.948, "Actual Total Time": 142.541, "Actual Rows": 665, "Actual Loops": 1}], "Plans": [{"Node Type": "Nested Loop", "Parent Relationship": "Outer", "Parallel Aware": false, "Join Type": "Inner", "Startup Cost": 2017.26, "Total Cost": 32893.45, "Plan Rows": 1040, "Plan Width": 20, "Actual Startup Time": 24.913, "Actual Total Time": 143.471, "Actual Rows": 809, "Actual Loops": 3, "Output": ["lineitem.l_extendedprice", "lineitem.l_discount", "supplier.s_nationkey", "orders.o_orderdate"], "Inner Unique": true, "Workers": [{"Worker Number": 0, "Actual Startup Time": 25.958, "Actual Total Time": 142.045, "Actual Rows": 659, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 25.848, "Actual Total Time": 142.133, "Actual Rows": 665, "Actual Loops": 1}], "Plans": [{"Node Type": "Hash Join", "Parent Relationship": "Outer", "Parallel Aware": false, "Join Type": "Inner", "Startup Cost": 2016.98, "Total Cost": 32578.8, "Plan Rows": 1040, "Plan Width": 20, "Actual Startup Time": 24.893, "Actual Total Time": 141.14, "Actual Rows": 809, "Actual Loops": 3, "Output": ["lineitem.l_extendedprice", "lineitem.l_discount", "lineitem.l_suppkey", "orders.o_orderdate"], "Inner Unique": false, "Hash Cond": "(orders.o_custkey = customer.c_custkey)", "Workers": [{"Worker Number": 0, "Actual Startup Time": 25.931, "Actual Total Time": 140.054, "Actual Rows": 659, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 25.822, "Actual Total Time": 140.13, "Actual Rows": 665, "Actual Loops": 1}], "Plans": [{"Node Type": "Nested Loop", "Parent Relationship": "Outer", "Parallel Aware": false, "Join Type": "Inner", "Startup Cost": 0.86, "Total Cost": 30532.78, "Plan Rows": 5202, "Plan Width": 24, "Actual Startup Time": 0.143, "Actual Total Time": 115.4, "Actual Rows": 4114, "Actual Loops": 3, "Output": ["lineitem.l_extendedprice", "lineitem.l_discount", "lineitem.l_suppkey", "orders.o_orderdate", "orders.o_custkey"], "Inner Unique": true, "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.168, "Actual Total Time": 113.269, "Actual Rows": 3220, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 0.171, "Actual Total Time": 114.17, "Actual Rows": 3300, "Actual Loops": 1}], "Plans": [{"Node Type": "Nested Loop", "Parent Relationship": "Outer", "Parallel Aware": false, "Join Type": "Inner", "Startup Cost": 0.43, "Total Cost": 22758.57, "Plan Rows": 17066, "Plan Width": 20, "Actual Startup Time": 0.075, "Actual Total Time": 50.288, "Actual Rows": 13553, "Actual Loops": 3, "Output": ["lineitem.l_extendedprice", "lineitem.l_discount", "lineitem.l_suppkey", "lineitem.l_orderkey"], "Inner Unique": false, "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.098, "Actual Total Time": 54.493, "Actual Rows": 10577, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 0.104, "Actual Total Time": 54.755, "Actual Rows": 10827, "Actual Loops": 1}], "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": true, "Relation Name": "part", "Schema": "public", "Alias": "part", "Startup Cost": 0.0, "Total Cost": 5138.67, "Plan Rows": 569, "Plan Width": 4, "Actual Startup Time": 0.017, "Actual Total Time": 12.784, "Actual Rows": 451, "Actual Loops": 3, "Output": ["part.p_partkey", "part.p_name", "part.p_mfgr", "part.p_brand", "part.p_type", "part.p_size", "part.p_container", "part.p_retailprice", "part.p_comment"], "Filter": "((part.p_type)::text = 'SMALL BRUSHED NICKEL'::text)", "Rows Removed by Filter": 66216, "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.014, "Actual Total Time": 10.967, "Actual Rows": 356, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 0.029, "Actual Total Time": 10.712, "Actual Rows": 357, "Actual Loops": 1}]}, {"Node Type": "Index Scan", "Parent Relationship": "Inner", "Parallel Aware": false, "Scan Direction": "Forward", "Index Name": "l_pk", "Relation Name": "lineitem", "Schema": "public", "Alias": "lineitem", "Startup Cost": 0.43, "Total Cost": 30.66, "Plan Rows": 31, "Plan Width": 24, "Actual Startup Time": 0.007, "Actual Total Time": 0.076, "Actual Rows": 30, "Actual Loops": 1352, "Output": ["lineitem.l_orderkey", "lineitem.l_partkey", "lineitem.l_suppkey", "lineitem.l_linenumber", "lineitem.l_quantity", "lineitem.l_extendedprice", "lineitem.l_discount", "lineitem.l_tax", "lineitem.l_returnflag", "lineitem.l_linestatus", "lineitem.l_shipdate", "lineitem.l_commitdate", "lineitem.l_receiptdate", "lineitem.l_shipinstruct", "lineitem.l_shipmode", "lineitem.l_comment"], "Index Cond": "(lineitem.l_partkey = part.p_partkey)", "Rows Removed by Index Recheck": 0, "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.011, "Actual Total Time": 0.115, "Actual Rows": 30, "Actual Loops": 356}, {"Worker Number": 1, "Actual Startup Time": 0.01, "Actual Total Time": 0.116, "Actual Rows": 30, "Actual Loops": 357}]}]}, {"Node Type": "Index Scan", "Parent Relationship": "Inner", "Parallel Aware": false, "Scan Direction": "Forward", "Index Name": "o_ok", "Relation Name": "orders", "Schema": "public", "Alias": "orders", "Startup Cost": 0.43, "Total Cost": 0.46, "Plan Rows": 1, "Plan Width": 12, "Actual Startup Time": 0.005, "Actual Total Time": 0.005, "Actual Rows": 0, "Actual Loops": 40658, "Output": ["orders.o_orderkey", "orders.o_custkey", "orders.o_orderstatus", "orders.o_totalprice", "orders.o_orderdate", "orders.o_orderpriority", "orders.o_clerk", "orders.o_shippriority", "orders.o_comment"], "Index Cond": "(orders.o_orderkey = lineitem.l_orderkey)", "Rows Removed by Index Recheck": 0, "Filter": "((orders.o_orderdate >= '1995-01-01'::date) AND (orders.o_orderdate <= '1996-12-31'::date))", "Rows Removed by Filter": 1, "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.005, "Actual Total Time": 0.005, "Actual Rows": 0, "Actual Loops": 10577}, {"Worker Number": 1, "Actual Startup Time": 0.005, "Actual Total Time": 0.005, "Actual Rows": 0, "Actual Loops": 10827}]}]}, {"Node Type": "Hash", "Parent Relationship": "Inner", "Parallel Aware": false, "Startup Cost": 1641.12, "Total Cost": 1641.12, "Plan Rows": 30000, "Plan Width": 4, "Actual Startup Time": 24.237, "Actual Total Time": 24.24, "Actual Rows": 29764, "Actual Loops": 3, "Output": ["customer.c_custkey"], "Hash Buckets": 32768, "Original Hash Buckets": 32768, "Hash Batches": 1, "Original Hash Batches": 1, "Peak Memory Usage": 1303, "Workers": [{"Worker Number": 0, "Actual Startup Time": 25.492, "Actual Total Time": 25.494, "Actual Rows": 29764, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 24.646, "Actual Total Time": 24.649, "Actual Rows": 29764, "Actual Loops": 1}], "Plans": [{"Node Type": "Nested Loop", "Parent Relationship": "Outer", "Parallel Aware": false, "Join Type": "Inner", "Startup Cost": 0.43, "Total Cost": 1641.12, "Plan Rows": 30000, "Plan Width": 4, "Actual Startup Time": 0.082, "Actual Total Time": 19.347, "Actual Rows": 29764, "Actual Loops": 3, "Output": ["customer.c_custkey"], "Inner Unique": false, "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.116, "Actual Total Time": 20.409, "Actual Rows": 29764, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 0.107, "Actual Total Time": 19.552, "Actual Rows": 29764, "Actual Loops": 1}], "Plans": [{"Node Type": "Nested Loop", "Parent Relationship": "Outer", "Parallel Aware": false, "Join Type": "Inner", "Startup Cost": 0.14, "Total Cost": 5.25, "Plan Rows": 5, "Plan Width": 4, "Actual Startup Time": 0.037, "Actual Total Time": 0.059, "Actual Rows": 5, "Actual Loops": 3, "Output": ["n1.n_nationkey"], "Inner Unique": true, "Join Filter": "(n1.n_regionkey = region.r_regionkey)", "Rows Removed by Join Filter": 20, "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.053, "Actual Total Time": 0.076, "Actual Rows": 5, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 0.048, "Actual Total Time": 0.07, "Actual Rows": 5, "Actual Loops": 1}], "Plans": [{"Node Type": "Index Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Scan Direction": "Forward", "Index Name": "n_nk", "Relation Name": "nation", "Schema": "public", "Alias": "n1", "Startup Cost": 0.14, "Total Cost": 3.81, "Plan Rows": 25, "Plan Width": 8, "Actual Startup Time": 0.015, "Actual Total Time": 0.021, "Actual Rows": 25, "Actual Loops": 3, "Output": ["n1.n_nationkey", "n1.n_name", "n1.n_regionkey", "n1.n_comment"], "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.023, "Actual Total Time": 0.029, "Actual Rows": 25, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 0.021, "Actual Total Time": 0.026, "Actual Rows": 25, "Actual Loops": 1}]}, {"Node Type": "Materialize", "Parent Relationship": "Inner", "Parallel Aware": false, "Startup Cost": 0.0, "Total Cost": 1.07, "Plan Rows": 1, "Plan Width": 4, "Actual Startup Time": 0.001, "Actual Total Time": 0.001, "Actual Rows": 1, "Actual Loops": 75, "Output": ["region.r_regionkey"], "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.001, "Actual Total Time": 0.001, "Actual Rows": 1, "Actual Loops": 25}, {"Worker Number": 1, "Actual Startup Time": 0.001, "Actual Total Time": 0.001, "Actual Rows": 1, "Actual Loops": 25}], "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Relation Name": "region", "Schema": "public", "Alias": "region", "Startup Cost": 0.0, "Total Cost": 1.06, "Plan Rows": 1, "Plan Width": 4, "Actual Startup Time": 0.017, "Actual Total Time": 0.019, "Actual Rows": 1, "Actual Loops": 3, "Output": ["region.r_regionkey"], "Filter": "(region.r_name = 'AFRICA'::bpchar)", "Rows Removed by Filter": 4, "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.025, "Actual Total Time": 0.027, "Actual Rows": 1, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 0.023, "Actual Total Time": 0.025, "Actual Rows": 1, "Actual Loops": 1}]}]}]}, {"Node Type": "Index Scan", "Parent Relationship": "Inner", "Parallel Aware": false, "Scan Direction": "Forward", "Index Name": "c_nk", "Relation Name": "customer", "Schema": "public", "Alias": "customer", "Startup Cost": 0.29, "Total Cost": 267.17, "Plan Rows": 6000, "Plan Width": 8, "Actual Startup Time": 0.014, "Actual Total Time": 3.124, "Actual Rows": 5953, "Actual Loops": 15, "Output": ["customer.c_custkey", "customer.c_name", "customer.c_address", "customer.c_nationkey", "customer.c_phone", "customer.c_acctbal", "customer.c_mktsegment", "customer.c_comment"], "Index Cond": "(customer.c_nationkey = n1.n_nationkey)", "Rows Removed by Index Recheck": 0, "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.019, "Actual Total Time": 3.375, "Actual Rows": 5953, "Actual Loops": 5}, {"Worker Number": 1, "Actual Startup Time": 0.017, "Actual Total Time": 3.204, "Actual Rows": 5953, "Actual Loops": 5}]}]}]}]}, {"Node Type": "Index Scan", "Parent Relationship": "Inner", "Parallel Aware": false, "Scan Direction": "Forward", "Index Name": "s_sk", "Relation Name": "supplier", "Schema": "public", "Alias": "supplier", "Startup Cost": 0.29, "Total Cost": 0.3, "Plan Rows": 1, "Plan Width": 8, "Actual Startup Time": 0.002, "Actual Total Time": 0.002, "Actual Rows": 1, "Actual Loops": 2426, "Output": ["supplier.s_suppkey", "supplier.s_name", "supplier.s_address", "supplier.s_nationkey", "supplier.s_phone", "supplier.s_acctbal", "supplier.s_comment"], "Index Cond": "(supplier.s_suppkey = lineitem.l_suppkey)", "Rows Removed by Index Recheck": 0, "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.002, "Actual Total Time": 0.002, "Actual Rows": 1, "Actual Loops": 659}, {"Worker Number": 1, "Actual Startup Time": 0.002, "Actual Total Time": 0.002, "Actual Rows": 1, "Actual Loops": 665}]}]}, {"Node Type": "Hash", "Parent Relationship": "Inner", "Parallel Aware": false, "Startup Cost": 1.25, "Total Cost": 1.25, "Plan Rows": 25, "Plan Width": 30, "Actual Startup Time": 0.027, "Actual Total Time": 0.028, "Actual Rows": 25, "Actual Loops": 3, "Output": ["n2.n_name", "n2.n_nationkey"], "Hash Buckets": 1024, "Original Hash Buckets": 1024, "Hash Batches": 1, "Original Hash Batches": 1, "Peak Memory Usage": 10, "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.033, "Actual Total Time": 0.033, "Actual Rows": 25, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 0.032, "Actual Total Time": 0.033, "Actual Rows": 25, "Actual Loops": 1}], "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Relation Name": "nation", "Schema": "public", "Alias": "n2", "Startup Cost": 0.0, "Total Cost": 1.25, "Plan Rows": 25, "Plan Width": 30, "Actual Startup Time": 0.014, "Actual Total Time": 0.019, "Actual Rows": 25, "Actual Loops": 3, "Output": ["n2.n_name", "n2.n_nationkey"], "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.018, "Actual Total Time": 0.023, "Actual Rows": 25, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 0.017, "Actual Total Time": 0.022, "Actual Rows": 25, "Actual Loops": 1}]}]}]}]}]}]}]}, "Planning Time": 2.47, "Triggers": [], "Execution Time": 179.103} diff --git a/dev9/pg13/tpch/sf_1/explain_analyze/15721/9-1.ok b/dev9/pg13/tpch/sf_1/explain_analyze/15721/9-1.ok new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/dev9/pg13/tpch/sf_1/explain_analyze/15721/9-1.res b/dev9/pg13/tpch/sf_1/explain_analyze/15721/9-1.res new file mode 100644 index 0000000000000000000000000000000000000000..95cc437e3719422669f86a12047cda637aed4063 --- /dev/null +++ b/dev9/pg13/tpch/sf_1/explain_analyze/15721/9-1.res @@ -0,0 +1 @@ +{"Plan": {"Node Type": "Sort", "Parallel Aware": false, "Startup Cost": 85599.93, "Total Cost": 85750.31, "Plan Rows": 60150, "Plan Width": 66, "Actual Startup Time": 539.181, "Actual Total Time": 583.033, "Actual Rows": 175, "Actual Loops": 1, "Output": ["nation.n_name", "(date_part('year'::text, (orders.o_orderdate)::timestamp without time zone))", "(sum(((lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount)) - (partsupp.ps_supplycost * lineitem.l_quantity))))"], "Sort Key": ["nation.n_name", "(date_part('year'::text, (orders.o_orderdate)::timestamp without time zone)) DESC"], "Sort Method": "quicksort", "Sort Space Used": 49, "Sort Space Type": "Memory", "Plans": [{"Node Type": "Aggregate", "Strategy": "Hashed", "Partial Mode": "Finalize", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 79772.52, "Total Cost": 80825.14, "Plan Rows": 60150, "Plan Width": 66, "Actual Startup Time": 538.722, "Actual Total Time": 582.791, "Actual Rows": 175, "Actual Loops": 1, "Output": ["nation.n_name", "(date_part('year'::text, (orders.o_orderdate)::timestamp without time zone))", "sum(((lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount)) - (partsupp.ps_supplycost * lineitem.l_quantity)))"], "Group Key": ["nation.n_name", "(date_part('year'::text, (orders.o_orderdate)::timestamp without time zone))"], "Planned Partitions": 0, "HashAgg Batches": 1, "Peak Memory Usage": 1681, "Disk Usage": 0, "Plans": [{"Node Type": "Gather", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 58870.39, "Total Cost": 77968.02, "Plan Rows": 180450, "Plan Width": 66, "Actual Startup Time": 533.778, "Actual Total Time": 581.965, "Actual Rows": 700, "Actual Loops": 1, "Output": ["nation.n_name", "(date_part('year'::text, (orders.o_orderdate)::timestamp without time zone))", "(PARTIAL sum(((lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount)) - (partsupp.ps_supplycost * lineitem.l_quantity))))"], "Workers Planned": 3, "Workers Launched": 3, "Single Copy": false, "Plans": [{"Node Type": "Aggregate", "Strategy": "Hashed", "Partial Mode": "Partial", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 57870.39, "Total Cost": 58923.02, "Plan Rows": 60150, "Plan Width": 66, "Actual Startup Time": 529.367, "Actual Total Time": 529.641, "Actual Rows": 175, "Actual Loops": 4, "Output": ["nation.n_name", "(date_part('year'::text, (orders.o_orderdate)::timestamp without time zone))", "PARTIAL sum(((lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount)) - (partsupp.ps_supplycost * lineitem.l_quantity)))"], "Group Key": ["nation.n_name", "date_part('year'::text, (orders.o_orderdate)::timestamp without time zone)"], "Planned Partitions": 0, "HashAgg Batches": 1, "Peak Memory Usage": 1617, "Disk Usage": 0, "Workers": [{"Worker Number": 0, "Actual Startup Time": 528.261, "Actual Total Time": 528.533, "Actual Rows": 175, "Actual Loops": 1, "HashAgg Batches": 1, "Peak Memory Usage": 1617, "Disk Usage": 0}, {"Worker Number": 1, "Actual Startup Time": 527.891, "Actual Total Time": 528.166, "Actual Rows": 175, "Actual Loops": 1, "HashAgg Batches": 1, "Peak Memory Usage": 1617, "Disk Usage": 0}, {"Worker Number": 2, "Actual Startup Time": 528.07, "Actual Total Time": 528.346, "Actual Rows": 175, "Actual Loops": 1, "HashAgg Batches": 1, "Peak Memory Usage": 1617, "Disk Usage": 0}], "Plans": [{"Node Type": "Hash Join", "Parent Relationship": "Outer", "Parallel Aware": true, "Join Type": "Inner", "Startup Cost": 22742.83, "Total Cost": 56308.96, "Plan Rows": 89225, "Plan Width": 57, "Actual Startup Time": 264.27, "Actual Total Time": 448.492, "Actual Rows": 80496, "Actual Loops": 4, "Output": ["nation.n_name", "date_part('year'::text, (orders.o_orderdate)::timestamp without time zone)", "lineitem.l_extendedprice", "lineitem.l_discount", "partsupp.ps_supplycost", "lineitem.l_quantity"], "Inner Unique": false, "Hash Cond": "(orders.o_orderkey = lineitem.l_orderkey)", "Workers": [{"Worker Number": 0, "Actual Startup Time": 262.818, "Actual Total Time": 448.744, "Actual Rows": 79077, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 262.904, "Actual Total Time": 447.952, "Actual Rows": 79635, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 263.104, "Actual Total Time": 448.077, "Actual Rows": 79491, "Actual Loops": 1}], "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": true, "Relation Name": "orders", "Schema": "public", "Alias": "orders", "Startup Cost": 0.0, "Total Cost": 30933.71, "Plan Rows": 483871, "Plan Width": 8, "Actual Startup Time": 0.012, "Actual Total Time": 41.437, "Actual Rows": 375000, "Actual Loops": 4, "Output": ["orders.o_orderkey", "orders.o_custkey", "orders.o_orderstatus", "orders.o_totalprice", "orders.o_orderdate", "orders.o_orderpriority", "orders.o_clerk", "orders.o_shippriority", "orders.o_comment"], "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.015, "Actual Total Time": 43.494, "Actual Rows": 368426, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 0.015, "Actual Total Time": 43.394, "Actual Rows": 370718, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 0.015, "Actual Total Time": 43.6, "Actual Rows": 369209, "Actual Loops": 1}]}, {"Node Type": "Hash", "Parent Relationship": "Inner", "Parallel Aware": true, "Startup Cost": 21302.23, "Total Cost": 21302.23, "Plan Rows": 115248, "Plan Width": 53, "Actual Startup Time": 263.21, "Actual Total Time": 263.216, "Actual Rows": 80496, "Actual Loops": 4, "Output": ["lineitem.l_extendedprice", "lineitem.l_discount", "lineitem.l_quantity", "lineitem.l_orderkey", "partsupp.ps_supplycost", "nation.n_name"], "Hash Buckets": 524288, "Original Hash Buckets": 524288, "Hash Batches": 1, "Original Hash Batches": 1, "Peak Memory Usage": 34368, "Workers": [{"Worker Number": 0, "Actual Startup Time": 262.717, "Actual Total Time": 262.722, "Actual Rows": 72736, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 262.784, "Actual Total Time": 262.788, "Actual Rows": 73916, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 262.968, "Actual Total Time": 262.973, "Actual Rows": 73933, "Actual Loops": 1}], "Plans": [{"Node Type": "Nested Loop", "Parent Relationship": "Outer", "Parallel Aware": false, "Join Type": "Inner", "Startup Cost": 449.42, "Total Cost": 21302.23, "Plan Rows": 115248, "Plan Width": 53, "Actual Startup Time": 4.388, "Actual Total Time": 218.518, "Actual Rows": 80496, "Actual Loops": 4, "Output": ["lineitem.l_extendedprice", "lineitem.l_discount", "lineitem.l_quantity", "lineitem.l_orderkey", "partsupp.ps_supplycost", "nation.n_name"], "Inner Unique": false, "Join Filter": "(supplier.s_suppkey = lineitem.l_suppkey)", "Rows Removed by Join Filter": 0, "Workers": [{"Worker Number": 0, "Actual Startup Time": 4.659, "Actual Total Time": 220.27, "Actual Rows": 72736, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 4.725, "Actual Total Time": 221.218, "Actual Rows": 73916, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 4.577, "Actual Total Time": 220.577, "Actual Rows": 73933, "Actual Loops": 1}], "Plans": [{"Node Type": "Hash Join", "Parent Relationship": "Outer", "Parallel Aware": false, "Join Type": "Inner", "Startup Cost": 448.99, "Total Cost": 11624.88, "Plan Rows": 15363, "Plan Width": 48, "Actual Startup Time": 4.331, "Actual Total Time": 44.725, "Actual Rows": 10737, "Actual Loops": 4, "Output": ["part.p_partkey", "partsupp.ps_supplycost", "partsupp.ps_suppkey", "partsupp.ps_partkey", "supplier.s_suppkey", "nation.n_name"], "Inner Unique": true, "Hash Cond": "(supplier.s_nationkey = nation.n_nationkey)", "Workers": [{"Worker Number": 0, "Actual Startup Time": 4.584, "Actual Total Time": 43.981, "Actual Rows": 9704, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 4.653, "Actual Total Time": 44.291, "Actual Rows": 9832, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 4.51, "Actual Total Time": 44.317, "Actual Rows": 9876, "Actual Loops": 1}], "Plans": [{"Node Type": "Hash Join", "Parent Relationship": "Outer", "Parallel Aware": false, "Join Type": "Inner", "Startup Cost": 447.43, "Total Cost": 11576.14, "Plan Rows": 15363, "Plan Width": 26, "Actual Startup Time": 4.295, "Actual Total Time": 41.757, "Actual Rows": 10737, "Actual Loops": 4, "Output": ["part.p_partkey", "partsupp.ps_supplycost", "partsupp.ps_suppkey", "partsupp.ps_partkey", "supplier.s_suppkey", "supplier.s_nationkey"], "Inner Unique": true, "Hash Cond": "(partsupp.ps_suppkey = supplier.s_suppkey)", "Workers": [{"Worker Number": 0, "Actual Startup Time": 4.544, "Actual Total Time": 41.228, "Actual Rows": 9704, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 4.612, "Actual Total Time": 41.502, "Actual Rows": 9832, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 4.469, "Actual Total Time": 41.526, "Actual Rows": 9876, "Actual Loops": 1}], "Plans": [{"Node Type": "Nested Loop", "Parent Relationship": "Outer", "Parallel Aware": false, "Join Type": "Inner", "Startup Cost": 0.42, "Total Cost": 11088.79, "Plan Rows": 15363, "Plan Width": 18, "Actual Startup Time": 0.069, "Actual Total Time": 32.479, "Actual Rows": 10737, "Actual Loops": 4, "Output": ["part.p_partkey", "partsupp.ps_supplycost", "partsupp.ps_suppkey", "partsupp.ps_partkey"], "Inner Unique": false, "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.085, "Actual Total Time": 32.001, "Actual Rows": 9704, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 0.083, "Actual Total Time": 32.179, "Actual Rows": 9832, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 0.088, "Actual Total Time": 32.297, "Actual Rows": 9876, "Actual Loops": 1}], "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": true, "Relation Name": "part", "Schema": "public", "Alias": "part", "Startup Cost": 0.0, "Total Cost": 5138.67, "Plan Rows": 3841, "Plan Width": 4, "Actual Startup Time": 0.014, "Actual Total Time": 14.924, "Actual Rows": 2684, "Actual Loops": 4, "Output": ["part.p_partkey", "part.p_name", "part.p_mfgr", "part.p_brand", "part.p_type", "part.p_size", "part.p_container", "part.p_retailprice", "part.p_comment"], "Filter": "((part.p_name)::text ~~ '%forest%'::text)", "Rows Removed by Filter": 47316, "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.017, "Actual Total Time": 14.225, "Actual Rows": 2426, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 0.013, "Actual Total Time": 14.326, "Actual Rows": 2458, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 0.019, "Actual Total Time": 14.388, "Actual Rows": 2469, "Actual Loops": 1}]}, {"Node Type": "Index Scan", "Parent Relationship": "Inner", "Parallel Aware": false, "Scan Direction": "Forward", "Index Name": "ps_pk", "Relation Name": "partsupp", "Schema": "public", "Alias": "partsupp", "Startup Cost": 0.42, "Total Cost": 1.51, "Plan Rows": 4, "Plan Width": 14, "Actual Startup Time": 0.004, "Actual Total Time": 0.005, "Actual Rows": 4, "Actual Loops": 10737, "Output": ["partsupp.ps_partkey", "partsupp.ps_suppkey", "partsupp.ps_availqty", "partsupp.ps_supplycost", "partsupp.ps_comment"], "Index Cond": "(partsupp.ps_partkey = part.p_partkey)", "Rows Removed by Index Recheck": 0, "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.005, "Actual Total Time": 0.006, "Actual Rows": 4, "Actual Loops": 2426}, {"Worker Number": 1, "Actual Startup Time": 0.005, "Actual Total Time": 0.006, "Actual Rows": 4, "Actual Loops": 2458}, {"Worker Number": 2, "Actual Startup Time": 0.005, "Actual Total Time": 0.006, "Actual Rows": 4, "Actual Loops": 2469}]}]}, {"Node Type": "Hash", "Parent Relationship": "Inner", "Parallel Aware": false, "Startup Cost": 322.0, "Total Cost": 322.0, "Plan Rows": 10000, "Plan Width": 8, "Actual Startup Time": 4.151, "Actual Total Time": 4.152, "Actual Rows": 10000, "Actual Loops": 4, "Output": ["supplier.s_suppkey", "supplier.s_nationkey"], "Hash Buckets": 16384, "Original Hash Buckets": 16384, "Hash Batches": 1, "Original Hash Batches": 1, "Peak Memory Usage": 519, "Workers": [{"Worker Number": 0, "Actual Startup Time": 4.365, "Actual Total Time": 4.366, "Actual Rows": 10000, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 4.438, "Actual Total Time": 4.439, "Actual Rows": 10000, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 4.291, "Actual Total Time": 4.291, "Actual Rows": 10000, "Actual Loops": 1}], "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Relation Name": "supplier", "Schema": "public", "Alias": "supplier", "Startup Cost": 0.0, "Total Cost": 322.0, "Plan Rows": 10000, "Plan Width": 8, "Actual Startup Time": 0.016, "Actual Total Time": 2.519, "Actual Rows": 10000, "Actual Loops": 4, "Output": ["supplier.s_suppkey", "supplier.s_nationkey"], "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.021, "Actual Total Time": 2.663, "Actual Rows": 10000, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 0.021, "Actual Total Time": 2.755, "Actual Rows": 10000, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 0.019, "Actual Total Time": 2.602, "Actual Rows": 10000, "Actual Loops": 1}]}]}]}, {"Node Type": "Hash", "Parent Relationship": "Inner", "Parallel Aware": false, "Startup Cost": 1.25, "Total Cost": 1.25, "Plan Rows": 25, "Plan Width": 30, "Actual Startup Time": 0.028, "Actual Total Time": 0.028, "Actual Rows": 25, "Actual Loops": 4, "Output": ["nation.n_name", "nation.n_nationkey"], "Hash Buckets": 1024, "Original Hash Buckets": 1024, "Hash Batches": 1, "Original Hash Batches": 1, "Peak Memory Usage": 10, "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.03, "Actual Total Time": 0.031, "Actual Rows": 25, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 0.031, "Actual Total Time": 0.031, "Actual Rows": 25, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 0.031, "Actual Total Time": 0.031, "Actual Rows": 25, "Actual Loops": 1}], "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Relation Name": "nation", "Schema": "public", "Alias": "nation", "Startup Cost": 0.0, "Total Cost": 1.25, "Plan Rows": 25, "Plan Width": 30, "Actual Startup Time": 0.014, "Actual Total Time": 0.019, "Actual Rows": 25, "Actual Loops": 4, "Output": ["nation.n_name", "nation.n_nationkey"], "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.016, "Actual Total Time": 0.02, "Actual Rows": 25, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 0.017, "Actual Total Time": 0.021, "Actual Rows": 25, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 0.017, "Actual Total Time": 0.021, "Actual Rows": 25, "Actual Loops": 1}]}]}]}, {"Node Type": "Index Scan", "Parent Relationship": "Inner", "Parallel Aware": false, "Scan Direction": "Forward", "Index Name": "l_sk_pk", "Relation Name": "lineitem", "Schema": "public", "Alias": "lineitem", "Startup Cost": 0.43, "Total Cost": 0.62, "Plan Rows": 1, "Plan Width": 29, "Actual Startup Time": 0.005, "Actual Total Time": 0.014, "Actual Rows": 7, "Actual Loops": 42948, "Output": ["lineitem.l_orderkey", "lineitem.l_partkey", "lineitem.l_suppkey", "lineitem.l_linenumber", "lineitem.l_quantity", "lineitem.l_extendedprice", "lineitem.l_discount", "lineitem.l_tax", "lineitem.l_returnflag", "lineitem.l_linestatus", "lineitem.l_shipdate", "lineitem.l_commitdate", "lineitem.l_receiptdate", "lineitem.l_shipinstruct", "lineitem.l_shipmode", "lineitem.l_comment"], "Index Cond": "((lineitem.l_suppkey = partsupp.ps_suppkey) AND (lineitem.l_partkey = partsupp.ps_partkey))", "Rows Removed by Index Recheck": 0, "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.005, "Actual Total Time": 0.016, "Actual Rows": 7, "Actual Loops": 9704}, {"Worker Number": 1, "Actual Startup Time": 0.005, "Actual Total Time": 0.016, "Actual Rows": 8, "Actual Loops": 9832}, {"Worker Number": 2, "Actual Startup Time": 0.005, "Actual Total Time": 0.016, "Actual Rows": 7, "Actual Loops": 9876}]}]}]}]}]}]}]}]}, "Planning Time": 3.767, "Triggers": [], "Execution Time": 583.563} diff --git a/dev9/pg13/tpch/sf_10/explain/15721/1-1.ok b/dev9/pg13/tpch/sf_10/explain/15721/1-1.ok new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/dev9/pg13/tpch/sf_10/explain/15721/1-1.res b/dev9/pg13/tpch/sf_10/explain/15721/1-1.res new file mode 100644 index 0000000000000000000000000000000000000000..0cb945dc22ebed20d789072423ac8389c6a70288 --- /dev/null +++ b/dev9/pg13/tpch/sf_10/explain/15721/1-1.res @@ -0,0 +1 @@ +{"Plan": {"Node Type": "Aggregate", "Strategy": "Sorted", "Partial Mode": "Finalize", "Parallel Aware": false, "Startup Cost": 1567656.22, "Total Cost": 1567663.33, "Plan Rows": 6, "Plan Width": 236, "Output": ["l_returnflag", "l_linestatus", "sum(l_quantity)", "sum(l_extendedprice)", "sum((l_extendedprice * ('1'::numeric - l_discount)))", "sum(((l_extendedprice * ('1'::numeric - l_discount)) * ('1'::numeric + l_tax)))", "avg(l_quantity)", "avg(l_extendedprice)", "avg(l_discount)", "count(*)"], "Group Key": ["lineitem.l_returnflag", "lineitem.l_linestatus"], "Plans": [{"Node Type": "Gather Merge", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 1567656.22, "Total Cost": 1567661.38, "Plan Rows": 42, "Plan Width": 236, "Output": ["l_returnflag", "l_linestatus", "(PARTIAL sum(l_quantity))", "(PARTIAL sum(l_extendedprice))", "(PARTIAL sum((l_extendedprice * ('1'::numeric - l_discount))))", "(PARTIAL sum(((l_extendedprice * ('1'::numeric - l_discount)) * ('1'::numeric + l_tax))))", "(PARTIAL avg(l_quantity))", "(PARTIAL avg(l_extendedprice))", "(PARTIAL avg(l_discount))", "(PARTIAL count(*))"], "Workers Planned": 7, "Plans": [{"Node Type": "Sort", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 1566656.1, "Total Cost": 1566656.12, "Plan Rows": 6, "Plan Width": 236, "Output": ["l_returnflag", "l_linestatus", "(PARTIAL sum(l_quantity))", "(PARTIAL sum(l_extendedprice))", "(PARTIAL sum((l_extendedprice * ('1'::numeric - l_discount))))", "(PARTIAL sum(((l_extendedprice * ('1'::numeric - l_discount)) * ('1'::numeric + l_tax))))", "(PARTIAL avg(l_quantity))", "(PARTIAL avg(l_extendedprice))", "(PARTIAL avg(l_discount))", "(PARTIAL count(*))"], "Sort Key": ["lineitem.l_returnflag", "lineitem.l_linestatus"], "Plans": [{"Node Type": "Aggregate", "Strategy": "Hashed", "Partial Mode": "Partial", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 1566655.86, "Total Cost": 1566656.03, "Plan Rows": 6, "Plan Width": 236, "Output": ["l_returnflag", "l_linestatus", "PARTIAL sum(l_quantity)", "PARTIAL sum(l_extendedprice)", "PARTIAL sum((l_extendedprice * ('1'::numeric - l_discount)))", "PARTIAL sum(((l_extendedprice * ('1'::numeric - l_discount)) * ('1'::numeric + l_tax)))", "PARTIAL avg(l_quantity)", "PARTIAL avg(l_extendedprice)", "PARTIAL avg(l_discount)", "PARTIAL count(*)"], "Group Key": ["lineitem.l_returnflag", "lineitem.l_linestatus"], "Planned Partitions": 0, "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": true, "Relation Name": "lineitem", "Schema": "public", "Alias": "lineitem", "Startup Cost": 0.0, "Total Cost": 1231663.9, "Plan Rows": 8374799, "Plan Width": 25, "Output": ["l_orderkey", "l_partkey", "l_suppkey", "l_linenumber", "l_quantity", "l_extendedprice", "l_discount", "l_tax", "l_returnflag", "l_linestatus", "l_shipdate", "l_commitdate", "l_receiptdate", "l_shipinstruct", "l_shipmode", "l_comment"], "Filter": "(lineitem.l_shipdate <= '1998-08-07 23:59:57'::timestamp without time zone)"}]}]}]}]}} diff --git a/dev9/pg13/tpch/sf_10/explain/15721/10-1.ok b/dev9/pg13/tpch/sf_10/explain/15721/10-1.ok new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/dev9/pg13/tpch/sf_10/explain/15721/10-1.res b/dev9/pg13/tpch/sf_10/explain/15721/10-1.res new file mode 100644 index 0000000000000000000000000000000000000000..721e6c5b4f297f7bb6a639a48109f9d2e8f24e0c --- /dev/null +++ b/dev9/pg13/tpch/sf_10/explain/15721/10-1.res @@ -0,0 +1 @@ +{"Plan": {"Node Type": "Limit", "Parallel Aware": false, "Startup Cost": 640654.68, "Total Cost": 640654.73, "Plan Rows": 20, "Plan Width": 202, "Output": ["customer.c_custkey", "customer.c_name", "(sum((lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount))))", "customer.c_acctbal", "nation.n_name", "customer.c_address", "customer.c_phone", "customer.c_comment"], "Plans": [{"Node Type": "Sort", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 640654.68, "Total Cost": 642028.08, "Plan Rows": 549362, "Plan Width": 202, "Output": ["customer.c_custkey", "customer.c_name", "(sum((lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount))))", "customer.c_acctbal", "nation.n_name", "customer.c_address", "customer.c_phone", "customer.c_comment"], "Sort Key": ["(sum((lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount)))) DESC"], "Plans": [{"Node Type": "Aggregate", "Strategy": "Sorted", "Partial Mode": "Simple", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 546524.64, "Total Cost": 626036.35, "Plan Rows": 549362, "Plan Width": 202, "Output": ["customer.c_custkey", "customer.c_name", "sum((lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount)))", "customer.c_acctbal", "nation.n_name", "customer.c_address", "customer.c_phone", "customer.c_comment"], "Group Key": ["customer.c_custkey", "nation.n_name"], "Plans": [{"Node Type": "Gather Merge", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 546524.64, "Total Cost": 612302.3, "Plan Rows": 549362, "Plan Width": 182, "Output": ["customer.c_custkey", "nation.n_name", "customer.c_name", "lineitem.l_extendedprice", "lineitem.l_discount", "customer.c_acctbal", "customer.c_address", "customer.c_phone", "customer.c_comment"], "Workers Planned": 4, "Plans": [{"Node Type": "Sort", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 545524.58, "Total Cost": 545867.93, "Plan Rows": 137340, "Plan Width": 182, "Output": ["customer.c_custkey", "nation.n_name", "customer.c_name", "lineitem.l_extendedprice", "lineitem.l_discount", "customer.c_acctbal", "customer.c_address", "customer.c_phone", "customer.c_comment"], "Sort Key": ["customer.c_custkey", "nation.n_name"], "Plans": [{"Node Type": "Hash Join", "Parent Relationship": "Outer", "Parallel Aware": false, "Join Type": "Inner", "Startup Cost": 484082.72, "Total Cost": 526654.0, "Plan Rows": 137340, "Plan Width": 182, "Output": ["customer.c_custkey", "nation.n_name", "customer.c_name", "lineitem.l_extendedprice", "lineitem.l_discount", "customer.c_acctbal", "customer.c_address", "customer.c_phone", "customer.c_comment"], "Inner Unique": true, "Hash Cond": "(customer.c_nationkey = nation.n_nationkey)", "Plans": [{"Node Type": "Hash Join", "Parent Relationship": "Outer", "Parallel Aware": true, "Join Type": "Inner", "Startup Cost": 484081.15, "Total Cost": 526230.8, "Plan Rows": 137340, "Plan Width": 160, "Output": ["customer.c_custkey", "customer.c_name", "customer.c_acctbal", "customer.c_address", "customer.c_phone", "customer.c_comment", "customer.c_nationkey", "lineitem.l_extendedprice", "lineitem.l_discount"], "Inner Unique": false, "Hash Cond": "(customer.c_custkey = orders.o_custkey)", "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": true, "Relation Name": "customer", "Schema": "public", "Alias": "customer", "Startup Cost": 0.0, "Total Cost": 39577.0, "Plan Rows": 375000, "Plan Width": 148, "Output": ["customer.c_custkey", "customer.c_name", "customer.c_address", "customer.c_nationkey", "customer.c_phone", "customer.c_acctbal", "customer.c_mktsegment", "customer.c_comment"]}, {"Node Type": "Hash", "Parent Relationship": "Inner", "Parallel Aware": true, "Startup Cost": 482936.65, "Total Cost": 482936.65, "Plan Rows": 91560, "Plan Width": 16, "Output": ["orders.o_custkey", "lineitem.l_extendedprice", "lineitem.l_discount"], "Plans": [{"Node Type": "Nested Loop", "Parent Relationship": "Outer", "Parallel Aware": false, "Join Type": "Inner", "Startup Cost": 6250.68, "Total Cost": 482936.65, "Plan Rows": 91560, "Plan Width": 16, "Output": ["orders.o_custkey", "lineitem.l_extendedprice", "lineitem.l_discount"], "Inner Unique": false, "Plans": [{"Node Type": "Bitmap Heap Scan", "Parent Relationship": "Outer", "Parallel Aware": true, "Relation Name": "orders", "Schema": "public", "Alias": "orders", "Startup Cost": 6250.11, "Total Cost": 268558.18, "Plan Rows": 93071, "Plan Width": 8, "Output": ["orders.o_orderkey", "orders.o_custkey", "orders.o_orderstatus", "orders.o_totalprice", "orders.o_orderdate", "orders.o_orderpriority", "orders.o_clerk", "orders.o_shippriority", "orders.o_comment"], "Recheck Cond": "((orders.o_orderdate >= '1993-02-01'::date) AND (orders.o_orderdate < '1993-05-01 00:00:00'::timestamp without time zone))", "Plans": [{"Node Type": "Bitmap Index Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Index Name": "o_od", "Startup Cost": 0.0, "Total Cost": 6110.51, "Plan Rows": 558427, "Plan Width": 0, "Index Cond": "((orders.o_orderdate >= '1993-02-01'::date) AND (orders.o_orderdate < '1993-05-01 00:00:00'::timestamp without time zone))"}]}, {"Node Type": "Index Scan", "Parent Relationship": "Inner", "Parallel Aware": false, "Scan Direction": "Forward", "Index Name": "l_ok", "Relation Name": "lineitem", "Schema": "public", "Alias": "lineitem", "Startup Cost": 0.56, "Total Cost": 2.23, "Plan Rows": 7, "Plan Width": 16, "Output": ["lineitem.l_orderkey", "lineitem.l_partkey", "lineitem.l_suppkey", "lineitem.l_linenumber", "lineitem.l_quantity", "lineitem.l_extendedprice", "lineitem.l_discount", "lineitem.l_tax", "lineitem.l_returnflag", "lineitem.l_linestatus", "lineitem.l_shipdate", "lineitem.l_commitdate", "lineitem.l_receiptdate", "lineitem.l_shipinstruct", "lineitem.l_shipmode", "lineitem.l_comment"], "Index Cond": "(lineitem.l_orderkey = orders.o_orderkey)", "Filter": "(lineitem.l_returnflag = 'R'::bpchar)"}]}]}]}, {"Node Type": "Hash", "Parent Relationship": "Inner", "Parallel Aware": false, "Startup Cost": 1.25, "Total Cost": 1.25, "Plan Rows": 25, "Plan Width": 30, "Output": ["nation.n_name", "nation.n_nationkey"], "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Relation Name": "nation", "Schema": "public", "Alias": "nation", "Startup Cost": 0.0, "Total Cost": 1.25, "Plan Rows": 25, "Plan Width": 30, "Output": ["nation.n_name", "nation.n_nationkey"]}]}]}]}]}]}]}]}} diff --git a/dev9/pg13/tpch/sf_10/explain/15721/11-1.ok b/dev9/pg13/tpch/sf_10/explain/15721/11-1.ok new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/dev9/pg13/tpch/sf_10/explain/15721/11-1.res b/dev9/pg13/tpch/sf_10/explain/15721/11-1.res new file mode 100644 index 0000000000000000000000000000000000000000..eafa93a08659d3eee91d174fcc0373fc911528f5 --- /dev/null +++ b/dev9/pg13/tpch/sf_10/explain/15721/11-1.res @@ -0,0 +1 @@ +{"Plan": {"Node Type": "Sort", "Parallel Aware": false, "Startup Cost": 70079.76, "Total Cost": 70346.4, "Plan Rows": 106658, "Plan Width": 36, "Output": ["partsupp.ps_partkey", "(sum((partsupp.ps_supplycost * (partsupp.ps_availqty)::numeric)))"], "Sort Key": ["(sum((partsupp.ps_supplycost * (partsupp.ps_availqty)::numeric))) DESC"], "Plans": [{"Node Type": "Aggregate", "Strategy": "Plain", "Partial Mode": "Finalize", "Parent Relationship": "InitPlan", "Subplan Name": "InitPlan 1 (returns $2)", "Parallel Aware": false, "Startup Cost": 16279.02, "Total Cost": 16279.03, "Plan Rows": 1, "Plan Width": 32, "Output": ["(sum((partsupp_1.ps_supplycost * (partsupp_1.ps_availqty)::numeric)) * 0.0001000000)"], "Plans": [{"Node Type": "Gather", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 16278.9, "Total Cost": 16279.01, "Plan Rows": 1, "Plan Width": 32, "Output": ["(PARTIAL sum((partsupp_1.ps_supplycost * (partsupp_1.ps_availqty)::numeric)))"], "Workers Planned": 1, "Single Copy": false, "Plans": [{"Node Type": "Aggregate", "Strategy": "Plain", "Partial Mode": "Partial", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 15278.9, "Total Cost": 15278.91, "Plan Rows": 1, "Plan Width": 32, "Output": ["PARTIAL sum((partsupp_1.ps_supplycost * (partsupp_1.ps_availqty)::numeric))"], "Plans": [{"Node Type": "Nested Loop", "Parent Relationship": "Outer", "Parallel Aware": false, "Join Type": "Inner", "Startup Cost": 1.76, "Total Cost": 13867.25, "Plan Rows": 188220, "Plan Width": 10, "Output": ["partsupp_1.ps_supplycost", "partsupp_1.ps_availqty"], "Inner Unique": false, "Plans": [{"Node Type": "Hash Join", "Parent Relationship": "Outer", "Parallel Aware": false, "Join Type": "Inner", "Startup Cost": 1.32, "Total Cost": 2986.15, "Plan Rows": 2353, "Plan Width": 4, "Output": ["supplier_1.s_suppkey"], "Inner Unique": true, "Hash Cond": "(supplier_1.s_nationkey = nation_1.n_nationkey)", "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": true, "Relation Name": "supplier", "Schema": "public", "Alias": "supplier_1", "Startup Cost": 0.0, "Total Cost": 2804.24, "Plan Rows": 58824, "Plan Width": 8, "Output": ["supplier_1.s_suppkey", "supplier_1.s_name", "supplier_1.s_address", "supplier_1.s_nationkey", "supplier_1.s_phone", "supplier_1.s_acctbal", "supplier_1.s_comment"]}, {"Node Type": "Hash", "Parent Relationship": "Inner", "Parallel Aware": false, "Startup Cost": 1.31, "Total Cost": 1.31, "Plan Rows": 1, "Plan Width": 4, "Output": ["nation_1.n_nationkey"], "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Relation Name": "nation", "Schema": "public", "Alias": "nation_1", "Startup Cost": 0.0, "Total Cost": 1.31, "Plan Rows": 1, "Plan Width": 4, "Output": ["nation_1.n_nationkey"], "Filter": "(nation_1.n_name = 'CHINA'::bpchar)"}]}]}, {"Node Type": "Index Scan", "Parent Relationship": "Inner", "Parallel Aware": false, "Scan Direction": "Forward", "Index Name": "ps_sk", "Relation Name": "partsupp", "Schema": "public", "Alias": "partsupp_1", "Startup Cost": 0.43, "Total Cost": 3.82, "Plan Rows": 80, "Plan Width": 14, "Output": ["partsupp_1.ps_partkey", "partsupp_1.ps_suppkey", "partsupp_1.ps_availqty", "partsupp_1.ps_supplycost", "partsupp_1.ps_comment"], "Index Cond": "(partsupp_1.ps_suppkey = supplier_1.s_suppkey)"}]}]}]}]}, {"Node Type": "Aggregate", "Strategy": "Hashed", "Partial Mode": "Simple", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 36169.09, "Total Cost": 44893.38, "Plan Rows": 106658, "Plan Width": 36, "Output": ["partsupp.ps_partkey", "sum((partsupp.ps_supplycost * (partsupp.ps_availqty)::numeric))"], "Group Key": ["partsupp.ps_partkey"], "Filter": "(sum((partsupp.ps_supplycost * (partsupp.ps_availqty)::numeric)) > $2)", "Planned Partitions": 8, "Plans": [{"Node Type": "Nested Loop", "Parent Relationship": "Outer", "Parallel Aware": false, "Join Type": "Inner", "Startup Cost": 36.12, "Total Cost": 20732.84, "Plan Rows": 319974, "Plan Width": 14, "Output": ["partsupp.ps_partkey", "partsupp.ps_supplycost", "partsupp.ps_availqty"], "Inner Unique": false, "Plans": [{"Node Type": "Nested Loop", "Parent Relationship": "Outer", "Parallel Aware": false, "Join Type": "Inner", "Startup Cost": 35.69, "Total Cost": 2235.44, "Plan Rows": 4000, "Plan Width": 4, "Output": ["supplier.s_suppkey"], "Inner Unique": false, "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Relation Name": "nation", "Schema": "public", "Alias": "nation", "Startup Cost": 0.0, "Total Cost": 1.31, "Plan Rows": 1, "Plan Width": 4, "Output": ["nation.n_nationkey", "nation.n_name", "nation.n_regionkey", "nation.n_comment"], "Filter": "(nation.n_name = 'CHINA'::bpchar)"}, {"Node Type": "Bitmap Heap Scan", "Parent Relationship": "Inner", "Parallel Aware": false, "Relation Name": "supplier", "Schema": "public", "Alias": "supplier", "Startup Cost": 35.69, "Total Cost": 2194.12, "Plan Rows": 4000, "Plan Width": 8, "Output": ["supplier.s_suppkey", "supplier.s_name", "supplier.s_address", "supplier.s_nationkey", "supplier.s_phone", "supplier.s_acctbal", "supplier.s_comment"], "Recheck Cond": "(supplier.s_nationkey = nation.n_nationkey)", "Plans": [{"Node Type": "Bitmap Index Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Index Name": "s_nk", "Startup Cost": 0.0, "Total Cost": 34.69, "Plan Rows": 4000, "Plan Width": 0, "Index Cond": "(supplier.s_nationkey = nation.n_nationkey)"}]}]}, {"Node Type": "Index Scan", "Parent Relationship": "Inner", "Parallel Aware": false, "Scan Direction": "Forward", "Index Name": "ps_sk", "Relation Name": "partsupp", "Schema": "public", "Alias": "partsupp", "Startup Cost": 0.43, "Total Cost": 3.82, "Plan Rows": 80, "Plan Width": 18, "Output": ["partsupp.ps_partkey", "partsupp.ps_suppkey", "partsupp.ps_availqty", "partsupp.ps_supplycost", "partsupp.ps_comment"], "Index Cond": "(partsupp.ps_suppkey = supplier.s_suppkey)"}]}]}]}} diff --git a/dev9/pg13/tpch/sf_10/explain/15721/12-1.ok b/dev9/pg13/tpch/sf_10/explain/15721/12-1.ok new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/dev9/pg13/tpch/sf_10/explain/15721/12-1.res b/dev9/pg13/tpch/sf_10/explain/15721/12-1.res new file mode 100644 index 0000000000000000000000000000000000000000..29ef650820de064d807011efb0a814d5d49b6e67 --- /dev/null +++ b/dev9/pg13/tpch/sf_10/explain/15721/12-1.res @@ -0,0 +1 @@ +{"Plan": {"Node Type": "Aggregate", "Strategy": "Sorted", "Partial Mode": "Finalize", "Parallel Aware": false, "Startup Cost": 1375668.31, "Total Cost": 1376495.88, "Plan Rows": 7, "Plan Width": 27, "Output": ["lineitem.l_shipmode", "sum(CASE WHEN ((orders.o_orderpriority = '1-URGENT'::bpchar) OR (orders.o_orderpriority = '2-HIGH'::bpchar)) THEN 1 ELSE 0 END)", "sum(CASE WHEN ((orders.o_orderpriority <> '1-URGENT'::bpchar) AND (orders.o_orderpriority <> '2-HIGH'::bpchar)) THEN 1 ELSE 0 END)"], "Group Key": ["lineitem.l_shipmode"], "Plans": [{"Node Type": "Gather Merge", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 1375668.31, "Total Cost": 1376495.44, "Plan Rows": 49, "Plan Width": 27, "Output": ["lineitem.l_shipmode", "(PARTIAL sum(CASE WHEN ((orders.o_orderpriority = '1-URGENT'::bpchar) OR (orders.o_orderpriority = '2-HIGH'::bpchar)) THEN 1 ELSE 0 END))", "(PARTIAL sum(CASE WHEN ((orders.o_orderpriority <> '1-URGENT'::bpchar) AND (orders.o_orderpriority <> '2-HIGH'::bpchar)) THEN 1 ELSE 0 END))"], "Workers Planned": 7, "Plans": [{"Node Type": "Aggregate", "Strategy": "Sorted", "Partial Mode": "Partial", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 1374668.19, "Total Cost": 1375489.32, "Plan Rows": 7, "Plan Width": 27, "Output": ["lineitem.l_shipmode", "PARTIAL sum(CASE WHEN ((orders.o_orderpriority = '1-URGENT'::bpchar) OR (orders.o_orderpriority = '2-HIGH'::bpchar)) THEN 1 ELSE 0 END)", "PARTIAL sum(CASE WHEN ((orders.o_orderpriority <> '1-URGENT'::bpchar) AND (orders.o_orderpriority <> '2-HIGH'::bpchar)) THEN 1 ELSE 0 END)"], "Group Key": ["lineitem.l_shipmode"], "Plans": [{"Node Type": "Sort", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 1374668.19, "Total Cost": 1374770.82, "Plan Rows": 41053, "Plan Width": 27, "Output": ["lineitem.l_shipmode", "orders.o_orderpriority"], "Sort Key": ["lineitem.l_shipmode"], "Plans": [{"Node Type": "Nested Loop", "Parent Relationship": "Outer", "Parallel Aware": false, "Join Type": "Inner", "Startup Cost": 0.43, "Total Cost": 1371522.46, "Plan Rows": 41053, "Plan Width": 27, "Output": ["lineitem.l_shipmode", "orders.o_orderpriority"], "Inner Unique": true, "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": true, "Relation Name": "lineitem", "Schema": "public", "Alias": "lineitem", "Startup Cost": 0.0, "Total Cost": 1317361.42, "Plan Rows": 41053, "Plan Width": 15, "Output": ["lineitem.l_orderkey", "lineitem.l_partkey", "lineitem.l_suppkey", "lineitem.l_linenumber", "lineitem.l_quantity", "lineitem.l_extendedprice", "lineitem.l_discount", "lineitem.l_tax", "lineitem.l_returnflag", "lineitem.l_linestatus", "lineitem.l_shipdate", "lineitem.l_commitdate", "lineitem.l_receiptdate", "lineitem.l_shipinstruct", "lineitem.l_shipmode", "lineitem.l_comment"], "Filter": "((lineitem.l_shipmode = ANY ('{MAIL,TRUCK}'::bpchar[])) AND (lineitem.l_commitdate < lineitem.l_receiptdate) AND (lineitem.l_shipdate < lineitem.l_commitdate) AND (lineitem.l_receiptdate >= '1995-01-01'::date) AND (lineitem.l_receiptdate < '1996-01-01 00:00:00'::timestamp without time zone))"}, {"Node Type": "Index Scan", "Parent Relationship": "Inner", "Parallel Aware": false, "Scan Direction": "Forward", "Index Name": "o_ok", "Relation Name": "orders", "Schema": "public", "Alias": "orders", "Startup Cost": 0.43, "Total Cost": 1.32, "Plan Rows": 1, "Plan Width": 20, "Output": ["orders.o_orderkey", "orders.o_custkey", "orders.o_orderstatus", "orders.o_totalprice", "orders.o_orderdate", "orders.o_orderpriority", "orders.o_clerk", "orders.o_shippriority", "orders.o_comment"], "Index Cond": "(orders.o_orderkey = lineitem.l_orderkey)"}]}]}]}]}]}} diff --git a/dev9/pg13/tpch/sf_10/explain/15721/13-1.ok b/dev9/pg13/tpch/sf_10/explain/15721/13-1.ok new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/dev9/pg13/tpch/sf_10/explain/15721/13-1.res b/dev9/pg13/tpch/sf_10/explain/15721/13-1.res new file mode 100644 index 0000000000000000000000000000000000000000..dc98d2a26c1f32fa731b0abb0d8d652e811331de --- /dev/null +++ b/dev9/pg13/tpch/sf_10/explain/15721/13-1.res @@ -0,0 +1 @@ +{"Plan": {"Node Type": "Sort", "Parallel Aware": false, "Startup Cost": 894627.02, "Total Cost": 894627.52, "Plan Rows": 200, "Plan Width": 16, "Output": ["(count(orders.o_orderkey))", "(count(*))"], "Sort Key": ["(count(*)) DESC", "(count(orders.o_orderkey)) DESC"], "Plans": [{"Node Type": "Aggregate", "Strategy": "Hashed", "Partial Mode": "Simple", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 894617.38, "Total Cost": 894619.38, "Plan Rows": 200, "Plan Width": 16, "Output": ["(count(orders.o_orderkey))", "count(*)"], "Group Key": ["count(orders.o_orderkey)"], "Planned Partitions": 0, "Plans": [{"Node Type": "Aggregate", "Strategy": "Sorted", "Partial Mode": "Simple", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 0.86, "Total Cost": 872117.38, "Plan Rows": 1500000, "Plan Width": 12, "Output": ["customer.c_custkey", "count(orders.o_orderkey)"], "Group Key": ["customer.c_custkey"], "Plans": [{"Node Type": "Merge Join", "Parent Relationship": "Outer", "Parallel Aware": false, "Join Type": "Left", "Startup Cost": 0.86, "Total Cost": 782863.78, "Plan Rows": 14850720, "Plan Width": 8, "Output": ["customer.c_custkey", "orders.o_orderkey"], "Inner Unique": false, "Merge Cond": "(customer.c_custkey = orders.o_custkey)", "Plans": [{"Node Type": "Index Only Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Scan Direction": "Forward", "Index Name": "c_ck", "Relation Name": "customer", "Schema": "public", "Alias": "customer", "Startup Cost": 0.43, "Total Cost": 27028.03, "Plan Rows": 1500000, "Plan Width": 4, "Output": ["customer.c_custkey"]}, {"Node Type": "Index Scan", "Parent Relationship": "Inner", "Parallel Aware": false, "Scan Direction": "Forward", "Index Name": "o_ck", "Relation Name": "orders", "Schema": "public", "Alias": "orders", "Startup Cost": 0.43, "Total Cost": 566451.75, "Plan Rows": 14850720, "Plan Width": 8, "Output": ["orders.o_orderkey", "orders.o_custkey", "orders.o_orderstatus", "orders.o_totalprice", "orders.o_orderdate", "orders.o_orderpriority", "orders.o_clerk", "orders.o_shippriority", "orders.o_comment"], "Filter": "((orders.o_comment)::text !~~ '%unusual%requests%'::text)"}]}]}]}]}} diff --git a/dev9/pg13/tpch/sf_10/explain/15721/14-1.ok b/dev9/pg13/tpch/sf_10/explain/15721/14-1.ok new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/dev9/pg13/tpch/sf_10/explain/15721/14-1.res b/dev9/pg13/tpch/sf_10/explain/15721/14-1.res new file mode 100644 index 0000000000000000000000000000000000000000..c75fc3dac5104ff9ee471a2b4bbff531009237d0 --- /dev/null +++ b/dev9/pg13/tpch/sf_10/explain/15721/14-1.res @@ -0,0 +1 @@ +{"Plan": {"Node Type": "Aggregate", "Strategy": "Plain", "Partial Mode": "Finalize", "Parallel Aware": false, "Startup Cost": 684343.71, "Total Cost": 684343.72, "Plan Rows": 1, "Plan Width": 32, "Output": ["((100.00 * sum(CASE WHEN ((part.p_type)::text ~~ 'PROMO%'::text) THEN (lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount)) ELSE '0'::numeric END)) / sum((lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount))))"], "Plans": [{"Node Type": "Gather", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 684343.25, "Total Cost": 684343.66, "Plan Rows": 4, "Plan Width": 64, "Output": ["(PARTIAL sum(CASE WHEN ((part.p_type)::text ~~ 'PROMO%'::text) THEN (lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount)) ELSE '0'::numeric END))", "(PARTIAL sum((lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount))))"], "Workers Planned": 4, "Single Copy": false, "Plans": [{"Node Type": "Aggregate", "Strategy": "Plain", "Partial Mode": "Partial", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 683343.25, "Total Cost": 683343.26, "Plan Rows": 1, "Plan Width": 64, "Output": ["PARTIAL sum(CASE WHEN ((part.p_type)::text ~~ 'PROMO%'::text) THEN (lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount)) ELSE '0'::numeric END)", "PARTIAL sum((lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount)))"], "Plans": [{"Node Type": "Hash Join", "Parent Relationship": "Outer", "Parallel Aware": true, "Join Type": "Inner", "Startup Cost": 626046.15, "Total Cost": 680105.05, "Plan Rows": 185040, "Plan Width": 33, "Output": ["part.p_type", "lineitem.l_extendedprice", "lineitem.l_discount"], "Inner Unique": false, "Hash Cond": "(part.p_partkey = lineitem.l_partkey)", "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": true, "Relation Name": "part", "Schema": "public", "Alias": "part", "Startup Cost": 0.0, "Total Cost": 45962.0, "Plan Rows": 500000, "Plan Width": 25, "Output": ["part.p_partkey", "part.p_name", "part.p_mfgr", "part.p_brand", "part.p_type", "part.p_size", "part.p_container", "part.p_retailprice", "part.p_comment"]}, {"Node Type": "Hash", "Parent Relationship": "Inner", "Parallel Aware": true, "Startup Cost": 623061.62, "Total Cost": 623061.62, "Plan Rows": 238762, "Plan Width": 16, "Output": ["lineitem.l_extendedprice", "lineitem.l_discount", "lineitem.l_partkey"], "Plans": [{"Node Type": "Index Scan", "Parent Relationship": "Outer", "Parallel Aware": true, "Scan Direction": "Forward", "Index Name": "l_sd", "Relation Name": "lineitem", "Schema": "public", "Alias": "lineitem", "Startup Cost": 0.56, "Total Cost": 623061.62, "Plan Rows": 238762, "Plan Width": 16, "Output": ["lineitem.l_extendedprice", "lineitem.l_discount", "lineitem.l_partkey"], "Index Cond": "((lineitem.l_shipdate >= '1995-05-01'::date) AND (lineitem.l_shipdate < '1995-06-01 00:00:00'::timestamp without time zone))"}]}]}]}]}]}} diff --git a/dev9/pg13/tpch/sf_10/explain/15721/15-1.ok b/dev9/pg13/tpch/sf_10/explain/15721/15-1.ok new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/dev9/pg13/tpch/sf_10/explain/15721/15-1.res b/dev9/pg13/tpch/sf_10/explain/15721/15-1.res new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/dev9/pg13/tpch/sf_10/explain/15721/15-2.ok b/dev9/pg13/tpch/sf_10/explain/15721/15-2.ok new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/dev9/pg13/tpch/sf_10/explain/15721/15-2.res b/dev9/pg13/tpch/sf_10/explain/15721/15-2.res new file mode 100644 index 0000000000000000000000000000000000000000..de638ae63869edda374e1925024ec31bf9031228 --- /dev/null +++ b/dev9/pg13/tpch/sf_10/explain/15721/15-2.res @@ -0,0 +1 @@ +{"Plan": {"Node Type": "Nested Loop", "Parallel Aware": false, "Join Type": "Inner", "Startup Cost": 2653408.12, "Total Cost": 2750898.45, "Plan Rows": 500, "Plan Width": 103, "Output": ["supplier.s_suppkey", "supplier.s_name", "supplier.s_address", "supplier.s_phone", "(sum((lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount))))"], "Inner Unique": true, "Plans": [{"Node Type": "Aggregate", "Strategy": "Plain", "Partial Mode": "Simple", "Parent Relationship": "InitPlan", "Subplan Name": "InitPlan 1 (returns $1)", "Parallel Aware": false, "Startup Cost": 1373601.41, "Total Cost": 1373601.42, "Plan Rows": 1, "Plan Width": 32, "Output": ["max((sum((lineitem_1.l_extendedprice * ('1'::numeric - lineitem_1.l_discount)))))"], "Plans": [{"Node Type": "Aggregate", "Strategy": "Sorted", "Partial Mode": "Finalize", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 1279806.41, "Total Cost": 1372350.81, "Plan Rows": 100048, "Plan Width": 36, "Output": ["lineitem_1.l_suppkey", "sum((lineitem_1.l_extendedprice * ('1'::numeric - lineitem_1.l_discount)))"], "Group Key": ["lineitem_1.l_suppkey"], "Plans": [{"Node Type": "Gather Merge", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 1279806.41, "Total Cost": 1365847.69, "Plan Rows": 700336, "Plan Width": 36, "Output": ["lineitem_1.l_suppkey", "(PARTIAL sum((lineitem_1.l_extendedprice * ('1'::numeric - lineitem_1.l_discount))))"], "Workers Planned": 7, "Plans": [{"Node Type": "Sort", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 1278806.29, "Total Cost": 1279056.41, "Plan Rows": 100048, "Plan Width": 36, "Output": ["lineitem_1.l_suppkey", "(PARTIAL sum((lineitem_1.l_extendedprice * ('1'::numeric - lineitem_1.l_discount))))"], "Sort Key": ["lineitem_1.l_suppkey"], "Plans": [{"Node Type": "Aggregate", "Strategy": "Hashed", "Partial Mode": "Partial", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 1266122.36, "Total Cost": 1270497.14, "Plan Rows": 100048, "Plan Width": 36, "Output": ["lineitem_1.l_suppkey", "PARTIAL sum((lineitem_1.l_extendedprice * ('1'::numeric - lineitem_1.l_discount)))"], "Group Key": ["lineitem_1.l_suppkey"], "Planned Partitions": 4, "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": true, "Relation Name": "lineitem", "Schema": "public", "Alias": "lineitem_1", "Startup Cost": 0.0, "Total Cost": 1253088.28, "Plan Rows": 319916, "Plan Width": 16, "Output": ["lineitem_1.l_orderkey", "lineitem_1.l_partkey", "lineitem_1.l_suppkey", "lineitem_1.l_linenumber", "lineitem_1.l_quantity", "lineitem_1.l_extendedprice", "lineitem_1.l_discount", "lineitem_1.l_tax", "lineitem_1.l_returnflag", "lineitem_1.l_linestatus", "lineitem_1.l_shipdate", "lineitem_1.l_commitdate", "lineitem_1.l_receiptdate", "lineitem_1.l_shipinstruct", "lineitem_1.l_shipmode", "lineitem_1.l_comment"], "Filter": "((lineitem_1.l_shipdate >= '1995-01-01'::date) AND (lineitem_1.l_shipdate < '1995-04-01 00:00:00'::timestamp without time zone))"}]}]}]}]}]}, {"Node Type": "Aggregate", "Strategy": "Sorted", "Partial Mode": "Finalize", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 1279806.41, "Total Cost": 1376352.73, "Plan Rows": 500, "Plan Width": 36, "Output": ["lineitem.l_suppkey", "sum((lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount)))"], "Group Key": ["lineitem.l_suppkey"], "Filter": "(sum((lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount))) = $1)", "Plans": [{"Node Type": "Gather Merge", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 1279806.41, "Total Cost": 1365847.69, "Plan Rows": 700336, "Plan Width": 36, "Output": ["lineitem.l_suppkey", "(PARTIAL sum((lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount))))"], "Workers Planned": 7, "Plans": [{"Node Type": "Sort", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 1278806.29, "Total Cost": 1279056.41, "Plan Rows": 100048, "Plan Width": 36, "Output": ["lineitem.l_suppkey", "(PARTIAL sum((lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount))))"], "Sort Key": ["lineitem.l_suppkey"], "Plans": [{"Node Type": "Aggregate", "Strategy": "Hashed", "Partial Mode": "Partial", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 1266122.36, "Total Cost": 1270497.14, "Plan Rows": 100048, "Plan Width": 36, "Output": ["lineitem.l_suppkey", "PARTIAL sum((lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount)))"], "Group Key": ["lineitem.l_suppkey"], "Planned Partitions": 4, "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": true, "Relation Name": "lineitem", "Schema": "public", "Alias": "lineitem", "Startup Cost": 0.0, "Total Cost": 1253088.28, "Plan Rows": 319916, "Plan Width": 16, "Output": ["lineitem.l_orderkey", "lineitem.l_partkey", "lineitem.l_suppkey", "lineitem.l_linenumber", "lineitem.l_quantity", "lineitem.l_extendedprice", "lineitem.l_discount", "lineitem.l_tax", "lineitem.l_returnflag", "lineitem.l_linestatus", "lineitem.l_shipdate", "lineitem.l_commitdate", "lineitem.l_receiptdate", "lineitem.l_shipinstruct", "lineitem.l_shipmode", "lineitem.l_comment"], "Filter": "((lineitem.l_shipdate >= '1995-01-01'::date) AND (lineitem.l_shipdate < '1995-04-01 00:00:00'::timestamp without time zone))"}]}]}]}]}, {"Node Type": "Index Scan", "Parent Relationship": "Inner", "Parallel Aware": false, "Scan Direction": "Forward", "Index Name": "s_sk", "Relation Name": "supplier", "Schema": "public", "Alias": "supplier", "Startup Cost": 0.29, "Total Cost": 1.88, "Plan Rows": 1, "Plan Width": 71, "Output": ["supplier.s_suppkey", "supplier.s_name", "supplier.s_address", "supplier.s_nationkey", "supplier.s_phone", "supplier.s_acctbal", "supplier.s_comment"], "Index Cond": "(supplier.s_suppkey = lineitem.l_suppkey)"}]}} diff --git a/dev9/pg13/tpch/sf_10/explain/15721/15-3.ok b/dev9/pg13/tpch/sf_10/explain/15721/15-3.ok new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/dev9/pg13/tpch/sf_10/explain/15721/15-3.res b/dev9/pg13/tpch/sf_10/explain/15721/15-3.res new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/dev9/pg13/tpch/sf_10/explain/15721/16-1.ok b/dev9/pg13/tpch/sf_10/explain/15721/16-1.ok new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/dev9/pg13/tpch/sf_10/explain/15721/16-1.res b/dev9/pg13/tpch/sf_10/explain/15721/16-1.res new file mode 100644 index 0000000000000000000000000000000000000000..e92255bc6997c6a091c711a9398d3ca1157e9fbc --- /dev/null +++ b/dev9/pg13/tpch/sf_10/explain/15721/16-1.res @@ -0,0 +1 @@ +{"Plan": {"Node Type": "Sort", "Parallel Aware": false, "Startup Cost": 243271.19, "Total Cost": 243656.38, "Plan Rows": 154078, "Plan Width": 44, "Output": ["part.p_brand", "part.p_type", "part.p_size", "(count(DISTINCT partsupp.ps_suppkey))"], "Sort Key": ["(count(DISTINCT partsupp.ps_suppkey)) DESC", "part.p_brand", "part.p_type", "part.p_size"], "Plans": [{"Node Type": "Aggregate", "Strategy": "Sorted", "Partial Mode": "Simple", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 149665.43, "Total Cost": 229994.82, "Plan Rows": 154078, "Plan Width": 44, "Output": ["part.p_brand", "part.p_type", "part.p_size", "count(DISTINCT partsupp.ps_suppkey)"], "Group Key": ["part.p_brand", "part.p_type", "part.p_size"], "Plans": [{"Node Type": "Gather Merge", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 149665.43, "Total Cost": 222483.1, "Plan Rows": 597094, "Plan Width": 40, "Output": ["part.p_brand", "part.p_type", "part.p_size", "partsupp.ps_suppkey"], "Workers Planned": 6, "Plans": [{"Node Type": "Sort", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 148665.34, "Total Cost": 148914.13, "Plan Rows": 99516, "Plan Width": 40, "Output": ["part.p_brand", "part.p_type", "part.p_size", "partsupp.ps_suppkey"], "Sort Key": ["part.p_brand", "part.p_type", "part.p_size"], "Plans": [{"Node Type": "Hash Join", "Parent Relationship": "Outer", "Parallel Aware": true, "Join Type": "Inner", "Startup Cost": 57861.49, "Total Cost": 140404.19, "Plan Rows": 99516, "Plan Width": 40, "Output": ["part.p_brand", "part.p_type", "part.p_size", "partsupp.ps_suppkey"], "Inner Unique": true, "Hash Cond": "(partsupp.ps_partkey = part.p_partkey)", "Plans": [{"Node Type": "Index Only Scan", "Parent Relationship": "Outer", "Parallel Aware": true, "Scan Direction": "Forward", "Index Name": "ps_pk_sk", "Relation Name": "partsupp", "Schema": "public", "Alias": "partsupp", "Startup Cost": 3466.46, "Total Cost": 84259.3, "Plan Rows": 666613, "Plan Width": 8, "Output": ["partsupp.ps_partkey", "partsupp.ps_suppkey"], "Filter": "(NOT (hashed SubPlan 1))", "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "SubPlan", "Subplan Name": "SubPlan 1", "Parallel Aware": false, "Relation Name": "supplier", "Schema": "public", "Alias": "supplier", "Startup Cost": 0.0, "Total Cost": 3466.0, "Plan Rows": 10, "Plan Width": 4, "Output": ["supplier.s_suppkey"], "Filter": "((supplier.s_comment)::text ~~ '%Customer%Complaints%'::text)"}]}, {"Node Type": "Hash", "Parent Relationship": "Inner", "Parallel Aware": true, "Startup Cost": 53462.0, "Total Cost": 53462.0, "Plan Rows": 74643, "Plan Width": 40, "Output": ["part.p_brand", "part.p_type", "part.p_size", "part.p_partkey"], "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": true, "Relation Name": "part", "Schema": "public", "Alias": "part", "Startup Cost": 0.0, "Total Cost": 53462.0, "Plan Rows": 74643, "Plan Width": 40, "Output": ["part.p_brand", "part.p_type", "part.p_size", "part.p_partkey"], "Filter": "((part.p_brand <> 'Brand#11'::bpchar) AND ((part.p_type)::text !~~ 'ECONOMY ANODIZED%'::text) AND (part.p_size = ANY ('{42,16,39,18,23,32,44,41}'::integer[])))"}]}]}]}]}]}]}} diff --git a/dev9/pg13/tpch/sf_10/explain/15721/17-1.ok b/dev9/pg13/tpch/sf_10/explain/15721/17-1.ok new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/dev9/pg13/tpch/sf_10/explain/15721/17-1.res b/dev9/pg13/tpch/sf_10/explain/15721/17-1.res new file mode 100644 index 0000000000000000000000000000000000000000..a3ed8ff7e3ca49810961f60386236000fb59f1c1 --- /dev/null +++ b/dev9/pg13/tpch/sf_10/explain/15721/17-1.res @@ -0,0 +1 @@ +{"Plan": {"Node Type": "Aggregate", "Strategy": "Plain", "Partial Mode": "Simple", "Parallel Aware": false, "Startup Cost": 1931995.5, "Total Cost": 1931995.51, "Plan Rows": 1, "Plan Width": 32, "Output": ["(sum(lineitem.l_extendedprice) / 7.0)"], "Plans": [{"Node Type": "Hash Join", "Parent Relationship": "Outer", "Parallel Aware": false, "Join Type": "Inner", "Startup Cost": 49688.46, "Total Cost": 1931945.18, "Plan Rows": 20126, "Plan Width": 8, "Output": ["lineitem.l_extendedprice"], "Inner Unique": true, "Hash Cond": "(lineitem.l_partkey = part.p_partkey)", "Join Filter": "(lineitem.l_quantity < (SubPlan 1))", "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Relation Name": "lineitem", "Schema": "public", "Alias": "lineitem", "Startup Cost": 0.0, "Total Cost": 1724424.64, "Plan Rows": 59988264, "Plan Width": 17, "Output": ["lineitem.l_orderkey", "lineitem.l_partkey", "lineitem.l_suppkey", "lineitem.l_linenumber", "lineitem.l_quantity", "lineitem.l_extendedprice", "lineitem.l_discount", "lineitem.l_tax", "lineitem.l_returnflag", "lineitem.l_linestatus", "lineitem.l_shipdate", "lineitem.l_commitdate", "lineitem.l_receiptdate", "lineitem.l_shipinstruct", "lineitem.l_shipmode", "lineitem.l_comment"]}, {"Node Type": "Hash", "Parent Relationship": "Inner", "Parallel Aware": false, "Startup Cost": 49663.3, "Total Cost": 49663.3, "Plan Rows": 2013, "Plan Width": 4, "Output": ["part.p_partkey"], "Plans": [{"Node Type": "Gather", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 1000.0, "Total Cost": 49663.3, "Plan Rows": 2013, "Plan Width": 4, "Output": ["part.p_partkey"], "Workers Planned": 4, "Single Copy": false, "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": true, "Relation Name": "part", "Schema": "public", "Alias": "part", "Startup Cost": 0.0, "Total Cost": 48462.0, "Plan Rows": 503, "Plan Width": 4, "Output": ["part.p_partkey"], "Filter": "((part.p_brand = 'Brand#14'::bpchar) AND (part.p_container = 'WRAP BOX'::bpchar))"}]}]}, {"Node Type": "Aggregate", "Strategy": "Plain", "Partial Mode": "Simple", "Parent Relationship": "SubPlan", "Subplan Name": "SubPlan 1", "Parallel Aware": false, "Startup Cost": 36.26, "Total Cost": 36.27, "Plan Rows": 1, "Plan Width": 32, "Output": ["(0.2 * avg(lineitem_1.l_quantity))"], "Plans": [{"Node Type": "Index Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Scan Direction": "Forward", "Index Name": "l_pk", "Relation Name": "lineitem", "Schema": "public", "Alias": "lineitem_1", "Startup Cost": 0.44, "Total Cost": 36.18, "Plan Rows": 31, "Plan Width": 5, "Output": ["lineitem_1.l_orderkey", "lineitem_1.l_partkey", "lineitem_1.l_suppkey", "lineitem_1.l_linenumber", "lineitem_1.l_quantity", "lineitem_1.l_extendedprice", "lineitem_1.l_discount", "lineitem_1.l_tax", "lineitem_1.l_returnflag", "lineitem_1.l_linestatus", "lineitem_1.l_shipdate", "lineitem_1.l_commitdate", "lineitem_1.l_receiptdate", "lineitem_1.l_shipinstruct", "lineitem_1.l_shipmode", "lineitem_1.l_comment"], "Index Cond": "(lineitem_1.l_partkey = part.p_partkey)"}]}]}]}} diff --git a/dev9/pg13/tpch/sf_10/explain/15721/18-1.ok b/dev9/pg13/tpch/sf_10/explain/15721/18-1.ok new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/dev9/pg13/tpch/sf_10/explain/15721/18-1.res b/dev9/pg13/tpch/sf_10/explain/15721/18-1.res new file mode 100644 index 0000000000000000000000000000000000000000..33680e1aa070c9d1890fed50b0da9682a026f474 --- /dev/null +++ b/dev9/pg13/tpch/sf_10/explain/15721/18-1.res @@ -0,0 +1 @@ +{"Plan": {"Node Type": "Limit", "Parallel Aware": false, "Startup Cost": 3534118.67, "Total Cost": 3534118.92, "Plan Rows": 100, "Plan Width": 71, "Output": ["customer.c_name", "customer.c_custkey", "orders.o_orderkey", "orders.o_orderdate", "orders.o_totalprice", "(sum(lineitem.l_quantity))"], "Plans": [{"Node Type": "Sort", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 3534118.67, "Total Cost": 3540716.54, "Plan Rows": 2639146, "Plan Width": 71, "Output": ["customer.c_name", "customer.c_custkey", "orders.o_orderkey", "orders.o_orderdate", "orders.o_totalprice", "(sum(lineitem.l_quantity))"], "Sort Key": ["orders.o_totalprice DESC", "orders.o_orderdate"], "Plans": [{"Node Type": "Aggregate", "Strategy": "Sorted", "Partial Mode": "Simple", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 3058616.55, "Total Cost": 3433252.41, "Plan Rows": 2639146, "Plan Width": 71, "Output": ["customer.c_name", "customer.c_custkey", "orders.o_orderkey", "orders.o_orderdate", "orders.o_totalprice", "sum(lineitem.l_quantity)"], "Group Key": ["customer.c_custkey", "orders.o_orderkey"], "Plans": [{"Node Type": "Gather Merge", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 3058616.55, "Total Cost": 3380469.49, "Plan Rows": 2639146, "Plan Width": 44, "Output": ["customer.c_custkey", "orders.o_orderkey", "customer.c_name", "orders.o_orderdate", "orders.o_totalprice", "lineitem.l_quantity"], "Workers Planned": 6, "Plans": [{"Node Type": "Sort", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 3057616.46, "Total Cost": 3058716.1, "Plan Rows": 439858, "Plan Width": 44, "Output": ["customer.c_custkey", "orders.o_orderkey", "customer.c_name", "orders.o_orderdate", "orders.o_totalprice", "lineitem.l_quantity"], "Sort Key": ["customer.c_custkey", "orders.o_orderkey"], "Plans": [{"Node Type": "Hash Join", "Parent Relationship": "Outer", "Parallel Aware": true, "Join Type": "Inner", "Startup Cost": 2520224.76, "Total Cost": 3008461.77, "Plan Rows": 439858, "Plan Width": 44, "Output": ["customer.c_custkey", "orders.o_orderkey", "customer.c_name", "orders.o_orderdate", "orders.o_totalprice", "lineitem.l_quantity"], "Inner Unique": true, "Hash Cond": "(orders.o_custkey = customer.c_custkey)", "Plans": [{"Node Type": "Nested Loop", "Parent Relationship": "Outer", "Parallel Aware": false, "Join Type": "Inner", "Startup Cost": 2475960.26, "Total Cost": 2963042.65, "Plan Rows": 439858, "Plan Width": 25, "Output": ["orders.o_orderkey", "orders.o_orderdate", "orders.o_totalprice", "orders.o_custkey", "lineitem.l_quantity"], "Inner Unique": false, "Plans": [{"Node Type": "Hash Join", "Parent Relationship": "Outer", "Parallel Aware": false, "Join Type": "Inner", "Startup Cost": 2475959.7, "Total Cost": 2800314.37, "Plan Rows": 109994, "Plan Width": 24, "Output": ["orders.o_orderkey", "orders.o_orderdate", "orders.o_totalprice", "orders.o_custkey", "lineitem_1.l_orderkey"], "Inner Unique": true, "Hash Cond": "(orders.o_orderkey = lineitem_1.l_orderkey)", "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": true, "Relation Name": "orders", "Schema": "public", "Alias": "orders", "Startup Cost": 0.0, "Total Cost": 285913.72, "Plan Rows": 2500172, "Plan Width": 20, "Output": ["orders.o_orderkey", "orders.o_orderdate", "orders.o_totalprice", "orders.o_custkey"]}, {"Node Type": "Hash", "Parent Relationship": "Inner", "Parallel Aware": false, "Startup Cost": 2465132.19, "Total Cost": 2465132.19, "Plan Rows": 659961, "Plan Width": 4, "Output": ["lineitem_1.l_orderkey"], "Plans": [{"Node Type": "Aggregate", "Strategy": "Sorted", "Partial Mode": "Simple", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 0.56, "Total Cost": 2458532.58, "Plan Rows": 659961, "Plan Width": 4, "Output": ["lineitem_1.l_orderkey"], "Group Key": ["lineitem_1.l_orderkey"], "Filter": "(sum(lineitem_1.l_quantity) > '314'::numeric)", "Plans": [{"Node Type": "Index Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Scan Direction": "Forward", "Index Name": "l_ok", "Relation Name": "lineitem", "Schema": "public", "Alias": "lineitem_1", "Startup Cost": 0.56, "Total Cost": 2128893.02, "Plan Rows": 59988264, "Plan Width": 9, "Output": ["lineitem_1.l_orderkey", "lineitem_1.l_partkey", "lineitem_1.l_suppkey", "lineitem_1.l_linenumber", "lineitem_1.l_quantity", "lineitem_1.l_extendedprice", "lineitem_1.l_discount", "lineitem_1.l_tax", "lineitem_1.l_returnflag", "lineitem_1.l_linestatus", "lineitem_1.l_shipdate", "lineitem_1.l_commitdate", "lineitem_1.l_receiptdate", "lineitem_1.l_shipinstruct", "lineitem_1.l_shipmode", "lineitem_1.l_comment"]}]}]}]}, {"Node Type": "Index Scan", "Parent Relationship": "Inner", "Parallel Aware": false, "Scan Direction": "Forward", "Index Name": "l_ok", "Relation Name": "lineitem", "Schema": "public", "Alias": "lineitem", "Startup Cost": 0.56, "Total Cost": 1.18, "Plan Rows": 30, "Plan Width": 9, "Output": ["lineitem.l_orderkey", "lineitem.l_partkey", "lineitem.l_suppkey", "lineitem.l_linenumber", "lineitem.l_quantity", "lineitem.l_extendedprice", "lineitem.l_discount", "lineitem.l_tax", "lineitem.l_returnflag", "lineitem.l_linestatus", "lineitem.l_shipdate", "lineitem.l_commitdate", "lineitem.l_receiptdate", "lineitem.l_shipinstruct", "lineitem.l_shipmode", "lineitem.l_comment"], "Index Cond": "(lineitem.l_orderkey = orders.o_orderkey)"}]}, {"Node Type": "Hash", "Parent Relationship": "Inner", "Parallel Aware": true, "Startup Cost": 39577.0, "Total Cost": 39577.0, "Plan Rows": 375000, "Plan Width": 23, "Output": ["customer.c_name", "customer.c_custkey"], "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": true, "Relation Name": "customer", "Schema": "public", "Alias": "customer", "Startup Cost": 0.0, "Total Cost": 39577.0, "Plan Rows": 375000, "Plan Width": 23, "Output": ["customer.c_name", "customer.c_custkey"]}]}]}]}]}]}]}]}} diff --git a/dev9/pg13/tpch/sf_10/explain/15721/19-1.ok b/dev9/pg13/tpch/sf_10/explain/15721/19-1.ok new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/dev9/pg13/tpch/sf_10/explain/15721/19-1.res b/dev9/pg13/tpch/sf_10/explain/15721/19-1.res new file mode 100644 index 0000000000000000000000000000000000000000..902a12404987fa01fbd03cd44850409f6dd9646a --- /dev/null +++ b/dev9/pg13/tpch/sf_10/explain/15721/19-1.res @@ -0,0 +1 @@ +{"Plan": {"Node Type": "Aggregate", "Strategy": "Plain", "Partial Mode": "Finalize", "Parallel Aware": false, "Startup Cost": 105855.83, "Total Cost": 105855.84, "Plan Rows": 1, "Plan Width": 32, "Output": ["sum((lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount)))"], "Plans": [{"Node Type": "Gather", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 105855.4, "Total Cost": 105855.81, "Plan Rows": 4, "Plan Width": 32, "Output": ["(PARTIAL sum((lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount))))"], "Workers Planned": 4, "Single Copy": false, "Plans": [{"Node Type": "Aggregate", "Strategy": "Plain", "Partial Mode": "Partial", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 104855.4, "Total Cost": 104855.41, "Plan Rows": 1, "Plan Width": 32, "Output": ["PARTIAL sum((lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount)))"], "Plans": [{"Node Type": "Nested Loop", "Parent Relationship": "Outer", "Parallel Aware": false, "Join Type": "Inner", "Startup Cost": 0.44, "Total Cost": 104853.31, "Plan Rows": 278, "Plan Width": 12, "Output": ["lineitem.l_extendedprice", "lineitem.l_discount"], "Inner Unique": false, "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": true, "Relation Name": "part", "Schema": "public", "Alias": "part", "Startup Cost": 0.0, "Total Cost": 62212.0, "Plan Rows": 1182, "Plan Width": 30, "Output": ["part.p_partkey", "part.p_name", "part.p_mfgr", "part.p_brand", "part.p_type", "part.p_size", "part.p_container", "part.p_retailprice", "part.p_comment"], "Filter": "((part.p_size >= 1) AND (((part.p_brand = 'Brand#52'::bpchar) AND (part.p_container = ANY ('{\"SM CASE\",\"SM BOX\",\"SM PACK\",\"SM PKG\"}'::bpchar[])) AND (part.p_size <= 5)) OR ((part.p_brand = 'Brand#42'::bpchar) AND (part.p_container = ANY ('{\"MED BAG\",\"MED BOX\",\"MED PKG\",\"MED PACK\"}'::bpchar[])) AND (part.p_size <= 10)) OR ((part.p_brand = 'Brand#23'::bpchar) AND (part.p_container = ANY ('{\"LG CASE\",\"LG BOX\",\"LG PACK\",\"LG PKG\"}'::bpchar[])) AND (part.p_size <= 15))))"}, {"Node Type": "Index Scan", "Parent Relationship": "Inner", "Parallel Aware": false, "Scan Direction": "Forward", "Index Name": "l_pk", "Relation Name": "lineitem", "Schema": "public", "Alias": "lineitem", "Startup Cost": 0.44, "Total Cost": 36.07, "Plan Rows": 1, "Plan Width": 21, "Output": ["lineitem.l_orderkey", "lineitem.l_partkey", "lineitem.l_suppkey", "lineitem.l_linenumber", "lineitem.l_quantity", "lineitem.l_extendedprice", "lineitem.l_discount", "lineitem.l_tax", "lineitem.l_returnflag", "lineitem.l_linestatus", "lineitem.l_shipdate", "lineitem.l_commitdate", "lineitem.l_receiptdate", "lineitem.l_shipinstruct", "lineitem.l_shipmode", "lineitem.l_comment"], "Index Cond": "(lineitem.l_partkey = part.p_partkey)", "Filter": "((lineitem.l_shipmode = ANY ('{AIR,\"AIR REG\"}'::bpchar[])) AND (lineitem.l_shipinstruct = 'DELIVER IN PERSON'::bpchar) AND (((lineitem.l_quantity >= '9'::numeric) AND (lineitem.l_quantity <= '19'::numeric)) OR ((lineitem.l_quantity >= '18'::numeric) AND (lineitem.l_quantity <= '28'::numeric)) OR ((lineitem.l_quantity >= '22'::numeric) AND (lineitem.l_quantity <= '32'::numeric))) AND (((part.p_brand = 'Brand#52'::bpchar) AND (part.p_container = ANY ('{\"SM CASE\",\"SM BOX\",\"SM PACK\",\"SM PKG\"}'::bpchar[])) AND (lineitem.l_quantity >= '9'::numeric) AND (lineitem.l_quantity <= '19'::numeric) AND (part.p_size <= 5)) OR ((part.p_brand = 'Brand#42'::bpchar) AND (part.p_container = ANY ('{\"MED BAG\",\"MED BOX\",\"MED PKG\",\"MED PACK\"}'::bpchar[])) AND (lineitem.l_quantity >= '18'::numeric) AND (lineitem.l_quantity <= '28'::numeric) AND (part.p_size <= 10)) OR ((part.p_brand = 'Brand#23'::bpchar) AND (part.p_container = ANY ('{\"LG CASE\",\"LG BOX\",\"LG PACK\",\"LG PKG\"}'::bpchar[])) AND (lineitem.l_quantity >= '22'::numeric) AND (lineitem.l_quantity <= '32'::numeric) AND (part.p_size <= 15))))"}]}]}]}]}} diff --git a/dev9/pg13/tpch/sf_10/explain/15721/2-1.ok b/dev9/pg13/tpch/sf_10/explain/15721/2-1.ok new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/dev9/pg13/tpch/sf_10/explain/15721/2-1.res b/dev9/pg13/tpch/sf_10/explain/15721/2-1.res new file mode 100644 index 0000000000000000000000000000000000000000..c28b80c2e042ed605c7c49581e99fd7a35f035e0 --- /dev/null +++ b/dev9/pg13/tpch/sf_10/explain/15721/2-1.res @@ -0,0 +1 @@ +{"Plan": {"Node Type": "Limit", "Parallel Aware": false, "Startup Cost": 362243.73, "Total Cost": 362243.74, "Plan Rows": 1, "Plan Width": 192, "Output": ["supplier.s_acctbal", "supplier.s_name", "nation.n_name", "part.p_partkey", "part.p_mfgr", "supplier.s_address", "supplier.s_phone", "supplier.s_comment"], "Plans": [{"Node Type": "Sort", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 362243.73, "Total Cost": 362243.74, "Plan Rows": 1, "Plan Width": 192, "Output": ["supplier.s_acctbal", "supplier.s_name", "nation.n_name", "part.p_partkey", "part.p_mfgr", "supplier.s_address", "supplier.s_phone", "supplier.s_comment"], "Sort Key": ["supplier.s_acctbal DESC", "nation.n_name", "supplier.s_name", "part.p_partkey"], "Plans": [{"Node Type": "Hash Join", "Parent Relationship": "Outer", "Parallel Aware": false, "Join Type": "Inner", "Startup Cost": 157600.52, "Total Cost": 362243.72, "Plan Rows": 1, "Plan Width": 192, "Output": ["supplier.s_acctbal", "supplier.s_name", "nation.n_name", "part.p_partkey", "part.p_mfgr", "supplier.s_address", "supplier.s_phone", "supplier.s_comment"], "Inner Unique": false, "Hash Cond": "((part.p_partkey = partsupp.ps_partkey) AND ((SubPlan 1) = partsupp.ps_supplycost))", "Plans": [{"Node Type": "Gather", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 1000.0, "Total Cost": 50263.5, "Plan Rows": 8015, "Plan Width": 30, "Output": ["part.p_partkey", "part.p_mfgr"], "Workers Planned": 4, "Single Copy": false, "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": true, "Relation Name": "part", "Schema": "public", "Alias": "part", "Startup Cost": 0.0, "Total Cost": 48462.0, "Plan Rows": 2004, "Plan Width": 30, "Output": ["part.p_partkey", "part.p_mfgr"], "Filter": "(((part.p_type)::text ~~ '%TIN'::text) AND (part.p_size = 44))"}]}, {"Node Type": "Hash", "Parent Relationship": "Inner", "Parallel Aware": false, "Startup Cost": 93542.44, "Total Cost": 93542.44, "Plan Rows": 1599872, "Plan Width": 172, "Output": ["supplier.s_acctbal", "supplier.s_name", "supplier.s_address", "supplier.s_phone", "supplier.s_comment", "partsupp.ps_partkey", "partsupp.ps_supplycost", "nation.n_name"], "Plans": [{"Node Type": "Nested Loop", "Parent Relationship": "Outer", "Parallel Aware": false, "Join Type": "Inner", "Startup Cost": 0.72, "Total Cost": 93542.44, "Plan Rows": 1599872, "Plan Width": 172, "Output": ["supplier.s_acctbal", "supplier.s_name", "supplier.s_address", "supplier.s_phone", "supplier.s_comment", "partsupp.ps_partkey", "partsupp.ps_supplycost", "nation.n_name"], "Inner Unique": false, "Plans": [{"Node Type": "Nested Loop", "Parent Relationship": "Outer", "Parallel Aware": false, "Join Type": "Inner", "Startup Cost": 0.29, "Total Cost": 1055.41, "Plan Rows": 20000, "Plan Width": 166, "Output": ["supplier.s_acctbal", "supplier.s_name", "supplier.s_address", "supplier.s_phone", "supplier.s_comment", "supplier.s_suppkey", "nation.n_name"], "Inner Unique": false, "Plans": [{"Node Type": "Nested Loop", "Parent Relationship": "Outer", "Parallel Aware": false, "Join Type": "Inner", "Startup Cost": 0.0, "Total Cost": 2.62, "Plan Rows": 5, "Plan Width": 30, "Output": ["nation.n_name", "nation.n_nationkey"], "Inner Unique": false, "Join Filter": "(nation.n_regionkey = region.r_regionkey)", "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Relation Name": "region", "Schema": "public", "Alias": "region", "Startup Cost": 0.0, "Total Cost": 1.06, "Plan Rows": 1, "Plan Width": 4, "Output": ["region.r_regionkey", "region.r_name", "region.r_comment"], "Filter": "(region.r_name = 'EUROPE'::bpchar)"}, {"Node Type": "Seq Scan", "Parent Relationship": "Inner", "Parallel Aware": false, "Relation Name": "nation", "Schema": "public", "Alias": "nation", "Startup Cost": 0.0, "Total Cost": 1.25, "Plan Rows": 25, "Plan Width": 34, "Output": ["nation.n_nationkey", "nation.n_name", "nation.n_regionkey", "nation.n_comment"]}]}, {"Node Type": "Index Scan", "Parent Relationship": "Inner", "Parallel Aware": false, "Scan Direction": "Forward", "Index Name": "s_nk", "Relation Name": "supplier", "Schema": "public", "Alias": "supplier", "Startup Cost": 0.29, "Total Cost": 170.56, "Plan Rows": 4000, "Plan Width": 144, "Output": ["supplier.s_suppkey", "supplier.s_name", "supplier.s_address", "supplier.s_nationkey", "supplier.s_phone", "supplier.s_acctbal", "supplier.s_comment"], "Index Cond": "(supplier.s_nationkey = nation.n_nationkey)"}]}, {"Node Type": "Index Scan", "Parent Relationship": "Inner", "Parallel Aware": false, "Scan Direction": "Forward", "Index Name": "ps_sk", "Relation Name": "partsupp", "Schema": "public", "Alias": "partsupp", "Startup Cost": 0.43, "Total Cost": 3.82, "Plan Rows": 80, "Plan Width": 14, "Output": ["partsupp.ps_partkey", "partsupp.ps_suppkey", "partsupp.ps_availqty", "partsupp.ps_supplycost", "partsupp.ps_comment"], "Index Cond": "(partsupp.ps_suppkey = supplier.s_suppkey)"}]}]}, {"Node Type": "Aggregate", "Strategy": "Plain", "Partial Mode": "Simple", "Parent Relationship": "SubPlan", "Subplan Name": "SubPlan 1", "Parallel Aware": false, "Startup Cost": 14.48, "Total Cost": 14.49, "Plan Rows": 1, "Plan Width": 32, "Output": ["min(partsupp_1.ps_supplycost)"], "Plans": [{"Node Type": "Nested Loop", "Parent Relationship": "Outer", "Parallel Aware": false, "Join Type": "Inner", "Startup Cost": 0.86, "Total Cost": 14.48, "Plan Rows": 1, "Plan Width": 6, "Output": ["partsupp_1.ps_supplycost"], "Inner Unique": false, "Join Filter": "(nation_1.n_regionkey = region_1.r_regionkey)", "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Relation Name": "region", "Schema": "public", "Alias": "region_1", "Startup Cost": 0.0, "Total Cost": 1.06, "Plan Rows": 1, "Plan Width": 4, "Output": ["region_1.r_regionkey", "region_1.r_name", "region_1.r_comment"], "Filter": "(region_1.r_name = 'EUROPE'::bpchar)"}, {"Node Type": "Nested Loop", "Parent Relationship": "Inner", "Parallel Aware": false, "Join Type": "Inner", "Startup Cost": 0.86, "Total Cost": 13.36, "Plan Rows": 4, "Plan Width": 10, "Output": ["partsupp_1.ps_supplycost", "nation_1.n_regionkey"], "Inner Unique": true, "Plans": [{"Node Type": "Nested Loop", "Parent Relationship": "Outer", "Parallel Aware": false, "Join Type": "Inner", "Startup Cost": 0.72, "Total Cost": 12.74, "Plan Rows": 4, "Plan Width": 10, "Output": ["partsupp_1.ps_supplycost", "supplier_1.s_nationkey"], "Inner Unique": true, "Plans": [{"Node Type": "Index Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Scan Direction": "Forward", "Index Name": "ps_pk", "Relation Name": "partsupp", "Schema": "public", "Alias": "partsupp_1", "Startup Cost": 0.43, "Total Cost": 2.7, "Plan Rows": 4, "Plan Width": 10, "Output": ["partsupp_1.ps_partkey", "partsupp_1.ps_suppkey", "partsupp_1.ps_availqty", "partsupp_1.ps_supplycost", "partsupp_1.ps_comment"], "Index Cond": "(partsupp_1.ps_partkey = part.p_partkey)"}, {"Node Type": "Index Scan", "Parent Relationship": "Inner", "Parallel Aware": false, "Scan Direction": "Forward", "Index Name": "s_sk", "Relation Name": "supplier", "Schema": "public", "Alias": "supplier_1", "Startup Cost": 0.29, "Total Cost": 2.51, "Plan Rows": 1, "Plan Width": 8, "Output": ["supplier_1.s_suppkey", "supplier_1.s_name", "supplier_1.s_address", "supplier_1.s_nationkey", "supplier_1.s_phone", "supplier_1.s_acctbal", "supplier_1.s_comment"], "Index Cond": "(supplier_1.s_suppkey = partsupp_1.ps_suppkey)"}]}, {"Node Type": "Index Scan", "Parent Relationship": "Inner", "Parallel Aware": false, "Scan Direction": "Forward", "Index Name": "n_nk", "Relation Name": "nation", "Schema": "public", "Alias": "nation_1", "Startup Cost": 0.14, "Total Cost": 0.16, "Plan Rows": 1, "Plan Width": 8, "Output": ["nation_1.n_nationkey", "nation_1.n_name", "nation_1.n_regionkey", "nation_1.n_comment"], "Index Cond": "(nation_1.n_nationkey = supplier_1.s_nationkey)"}]}]}]}]}]}]}} diff --git a/dev9/pg13/tpch/sf_10/explain/15721/20-1.ok b/dev9/pg13/tpch/sf_10/explain/15721/20-1.ok new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/dev9/pg13/tpch/sf_10/explain/15721/20-1.res b/dev9/pg13/tpch/sf_10/explain/15721/20-1.res new file mode 100644 index 0000000000000000000000000000000000000000..b2bdaf746e04ee8cae06841360d7f91295845e11 --- /dev/null +++ b/dev9/pg13/tpch/sf_10/explain/15721/20-1.res @@ -0,0 +1 @@ +{"Plan": {"Node Type": "Sort", "Parallel Aware": false, "Startup Cost": 311438.74, "Total Cost": 311441.42, "Plan Rows": 1069, "Plan Width": 51, "Output": ["supplier.s_name", "supplier.s_address"], "Sort Key": ["supplier.s_name"], "Plans": [{"Node Type": "Hash Join", "Parent Relationship": "Outer", "Parallel Aware": false, "Join Type": "Semi", "Startup Cost": 309157.48, "Total Cost": 311384.96, "Plan Rows": 1069, "Plan Width": 51, "Output": ["supplier.s_name", "supplier.s_address"], "Inner Unique": false, "Hash Cond": "(supplier.s_suppkey = partsupp.ps_suppkey)", "Plans": [{"Node Type": "Nested Loop", "Parent Relationship": "Outer", "Parallel Aware": false, "Join Type": "Inner", "Startup Cost": 35.69, "Total Cost": 2235.44, "Plan Rows": 4000, "Plan Width": 55, "Output": ["supplier.s_name", "supplier.s_address", "supplier.s_suppkey"], "Inner Unique": false, "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Relation Name": "nation", "Schema": "public", "Alias": "nation", "Startup Cost": 0.0, "Total Cost": 1.31, "Plan Rows": 1, "Plan Width": 4, "Output": ["nation.n_nationkey", "nation.n_name", "nation.n_regionkey", "nation.n_comment"], "Filter": "(nation.n_name = 'GERMANY'::bpchar)"}, {"Node Type": "Bitmap Heap Scan", "Parent Relationship": "Inner", "Parallel Aware": false, "Relation Name": "supplier", "Schema": "public", "Alias": "supplier", "Startup Cost": 35.69, "Total Cost": 2194.12, "Plan Rows": 4000, "Plan Width": 59, "Output": ["supplier.s_suppkey", "supplier.s_name", "supplier.s_address", "supplier.s_nationkey", "supplier.s_phone", "supplier.s_acctbal", "supplier.s_comment"], "Recheck Cond": "(supplier.s_nationkey = nation.n_nationkey)", "Plans": [{"Node Type": "Bitmap Index Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Index Name": "s_nk", "Startup Cost": 0.0, "Total Cost": 34.69, "Plan Rows": 4000, "Plan Width": 0, "Index Cond": "(supplier.s_nationkey = nation.n_nationkey)"}]}]}, {"Node Type": "Hash", "Parent Relationship": "Inner", "Parallel Aware": false, "Startup Cost": 308787.81, "Total Cost": 308787.81, "Plan Rows": 26718, "Plan Width": 4, "Output": ["partsupp.ps_suppkey"], "Plans": [{"Node Type": "Nested Loop", "Parent Relationship": "Outer", "Parallel Aware": false, "Join Type": "Inner", "Startup Cost": 1000.43, "Total Cost": 308787.81, "Plan Rows": 26718, "Plan Width": 4, "Output": ["partsupp.ps_suppkey"], "Inner Unique": false, "Plans": [{"Node Type": "Gather", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 1000.0, "Total Cost": 50216.0, "Plan Rows": 20040, "Plan Width": 4, "Output": ["part.p_partkey"], "Workers Planned": 4, "Single Copy": false, "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": true, "Relation Name": "part", "Schema": "public", "Alias": "part", "Startup Cost": 0.0, "Total Cost": 47212.0, "Plan Rows": 5010, "Plan Width": 4, "Output": ["part.p_partkey"], "Filter": "((part.p_name)::text ~~ 'floral%'::text)"}]}, {"Node Type": "Index Scan", "Parent Relationship": "Inner", "Parallel Aware": false, "Scan Direction": "Forward", "Index Name": "ps_pk", "Relation Name": "partsupp", "Schema": "public", "Alias": "partsupp", "Startup Cost": 0.43, "Total Cost": 12.89, "Plan Rows": 1, "Plan Width": 8, "Output": ["partsupp.ps_partkey", "partsupp.ps_suppkey", "partsupp.ps_availqty", "partsupp.ps_supplycost", "partsupp.ps_comment"], "Index Cond": "(partsupp.ps_partkey = part.p_partkey)", "Filter": "((partsupp.ps_availqty)::numeric > (SubPlan 1))", "Plans": [{"Node Type": "Aggregate", "Strategy": "Plain", "Partial Mode": "Simple", "Parent Relationship": "SubPlan", "Subplan Name": "SubPlan 1", "Parallel Aware": false, "Startup Cost": 2.67, "Total Cost": 2.68, "Plan Rows": 1, "Plan Width": 32, "Output": ["(0.5 * sum(lineitem.l_quantity))"], "Plans": [{"Node Type": "Index Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Scan Direction": "Forward", "Index Name": "l_sk_pk", "Relation Name": "lineitem", "Schema": "public", "Alias": "lineitem", "Startup Cost": 0.44, "Total Cost": 2.67, "Plan Rows": 1, "Plan Width": 5, "Output": ["lineitem.l_orderkey", "lineitem.l_partkey", "lineitem.l_suppkey", "lineitem.l_linenumber", "lineitem.l_quantity", "lineitem.l_extendedprice", "lineitem.l_discount", "lineitem.l_tax", "lineitem.l_returnflag", "lineitem.l_linestatus", "lineitem.l_shipdate", "lineitem.l_commitdate", "lineitem.l_receiptdate", "lineitem.l_shipinstruct", "lineitem.l_shipmode", "lineitem.l_comment"], "Index Cond": "((lineitem.l_suppkey = partsupp.ps_suppkey) AND (lineitem.l_partkey = partsupp.ps_partkey))", "Filter": "((lineitem.l_shipdate >= '1996-01-01'::date) AND (lineitem.l_shipdate < '1997-01-01 00:00:00'::timestamp without time zone))"}]}]}]}]}]}]}} diff --git a/dev9/pg13/tpch/sf_10/explain/15721/21-1.ok b/dev9/pg13/tpch/sf_10/explain/15721/21-1.ok new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/dev9/pg13/tpch/sf_10/explain/15721/21-1.res b/dev9/pg13/tpch/sf_10/explain/15721/21-1.res new file mode 100644 index 0000000000000000000000000000000000000000..0503a6bc08fb70850688cf2b9789bdf734c65c56 --- /dev/null +++ b/dev9/pg13/tpch/sf_10/explain/15721/21-1.res @@ -0,0 +1 @@ +{"Plan": {"Node Type": "Limit", "Parallel Aware": false, "Startup Cost": 405678.93, "Total Cost": 405678.94, "Plan Rows": 1, "Plan Width": 34, "Output": ["supplier.s_name", "(count(*))"], "Plans": [{"Node Type": "Sort", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 405678.93, "Total Cost": 405678.94, "Plan Rows": 1, "Plan Width": 34, "Output": ["supplier.s_name", "(count(*))"], "Sort Key": ["(count(*)) DESC", "supplier.s_name"], "Plans": [{"Node Type": "Aggregate", "Strategy": "Sorted", "Partial Mode": "Simple", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 405678.9, "Total Cost": 405678.92, "Plan Rows": 1, "Plan Width": 34, "Output": ["supplier.s_name", "count(*)"], "Group Key": ["supplier.s_name"], "Plans": [{"Node Type": "Sort", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 405678.9, "Total Cost": 405678.91, "Plan Rows": 1, "Plan Width": 26, "Output": ["supplier.s_name"], "Sort Key": ["supplier.s_name"], "Plans": [{"Node Type": "Nested Loop", "Parent Relationship": "Outer", "Parallel Aware": false, "Join Type": "Inner", "Startup Cost": 1003.33, "Total Cost": 405678.89, "Plan Rows": 1, "Plan Width": 26, "Output": ["supplier.s_name"], "Inner Unique": true, "Plans": [{"Node Type": "Nested Loop", "Parent Relationship": "Outer", "Parallel Aware": false, "Join Type": "Semi", "Startup Cost": 1002.9, "Total Cost": 405678.42, "Plan Rows": 1, "Plan Width": 34, "Output": ["supplier.s_name", "l1.l_orderkey", "l2.l_orderkey"], "Inner Unique": false, "Plans": [{"Node Type": "Gather", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 1002.33, "Total Cost": 405677.17, "Plan Rows": 1, "Plan Width": 34, "Output": ["supplier.s_name", "l1.l_suppkey", "l1.l_orderkey"], "Workers Planned": 1, "Single Copy": false, "Plans": [{"Node Type": "Nested Loop", "Parent Relationship": "Outer", "Parallel Aware": false, "Join Type": "Anti", "Startup Cost": 2.33, "Total Cost": 404677.07, "Plan Rows": 1, "Plan Width": 34, "Output": ["supplier.s_name", "l1.l_suppkey", "l1.l_orderkey"], "Inner Unique": false, "Plans": [{"Node Type": "Nested Loop", "Parent Relationship": "Outer", "Parallel Aware": false, "Join Type": "Inner", "Startup Cost": 1.76, "Total Cost": 67617.17, "Plan Rows": 470271, "Plan Width": 34, "Output": ["supplier.s_name", "l1.l_suppkey", "l1.l_orderkey"], "Inner Unique": false, "Plans": [{"Node Type": "Hash Join", "Parent Relationship": "Outer", "Parallel Aware": false, "Join Type": "Inner", "Startup Cost": 1.32, "Total Cost": 2986.15, "Plan Rows": 2353, "Plan Width": 30, "Output": ["supplier.s_name", "supplier.s_suppkey"], "Inner Unique": true, "Hash Cond": "(supplier.s_nationkey = nation.n_nationkey)", "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": true, "Relation Name": "supplier", "Schema": "public", "Alias": "supplier", "Startup Cost": 0.0, "Total Cost": 2804.24, "Plan Rows": 58824, "Plan Width": 34, "Output": ["supplier.s_suppkey", "supplier.s_name", "supplier.s_address", "supplier.s_nationkey", "supplier.s_phone", "supplier.s_acctbal", "supplier.s_comment"]}, {"Node Type": "Hash", "Parent Relationship": "Inner", "Parallel Aware": false, "Startup Cost": 1.31, "Total Cost": 1.31, "Plan Rows": 1, "Plan Width": 4, "Output": ["nation.n_nationkey"], "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Relation Name": "nation", "Schema": "public", "Alias": "nation", "Startup Cost": 0.0, "Total Cost": 1.31, "Plan Rows": 1, "Plan Width": 4, "Output": ["nation.n_nationkey"], "Filter": "(nation.n_name = 'CHINA'::bpchar)"}]}]}, {"Node Type": "Index Scan", "Parent Relationship": "Inner", "Parallel Aware": false, "Scan Direction": "Forward", "Index Name": "l_sk_pk", "Relation Name": "lineitem", "Schema": "public", "Alias": "l1", "Startup Cost": 0.44, "Total Cost": 25.47, "Plan Rows": 200, "Plan Width": 8, "Output": ["l1.l_orderkey", "l1.l_partkey", "l1.l_suppkey", "l1.l_linenumber", "l1.l_quantity", "l1.l_extendedprice", "l1.l_discount", "l1.l_tax", "l1.l_returnflag", "l1.l_linestatus", "l1.l_shipdate", "l1.l_commitdate", "l1.l_receiptdate", "l1.l_shipinstruct", "l1.l_shipmode", "l1.l_comment"], "Index Cond": "(l1.l_suppkey = supplier.s_suppkey)", "Filter": "(l1.l_receiptdate > l1.l_commitdate)"}]}, {"Node Type": "Index Scan", "Parent Relationship": "Inner", "Parallel Aware": false, "Scan Direction": "Forward", "Index Name": "l_ok", "Relation Name": "lineitem", "Schema": "public", "Alias": "l3", "Startup Cost": 0.56, "Total Cost": 1.31, "Plan Rows": 10, "Plan Width": 8, "Output": ["l3.l_orderkey", "l3.l_partkey", "l3.l_suppkey", "l3.l_linenumber", "l3.l_quantity", "l3.l_extendedprice", "l3.l_discount", "l3.l_tax", "l3.l_returnflag", "l3.l_linestatus", "l3.l_shipdate", "l3.l_commitdate", "l3.l_receiptdate", "l3.l_shipinstruct", "l3.l_shipmode", "l3.l_comment"], "Index Cond": "(l3.l_orderkey = l1.l_orderkey)", "Filter": "((l3.l_receiptdate > l3.l_commitdate) AND (l3.l_suppkey <> l1.l_suppkey))"}]}]}, {"Node Type": "Index Scan", "Parent Relationship": "Inner", "Parallel Aware": false, "Scan Direction": "Forward", "Index Name": "l_ok", "Relation Name": "lineitem", "Schema": "public", "Alias": "l2", "Startup Cost": 0.56, "Total Cost": 1.23, "Plan Rows": 30, "Plan Width": 8, "Output": ["l2.l_orderkey", "l2.l_partkey", "l2.l_suppkey", "l2.l_linenumber", "l2.l_quantity", "l2.l_extendedprice", "l2.l_discount", "l2.l_tax", "l2.l_returnflag", "l2.l_linestatus", "l2.l_shipdate", "l2.l_commitdate", "l2.l_receiptdate", "l2.l_shipinstruct", "l2.l_shipmode", "l2.l_comment"], "Index Cond": "(l2.l_orderkey = l1.l_orderkey)", "Filter": "(l2.l_suppkey <> l1.l_suppkey)"}]}, {"Node Type": "Index Scan", "Parent Relationship": "Inner", "Parallel Aware": false, "Scan Direction": "Forward", "Index Name": "o_ok", "Relation Name": "orders", "Schema": "public", "Alias": "orders", "Startup Cost": 0.43, "Total Cost": 0.47, "Plan Rows": 1, "Plan Width": 4, "Output": ["orders.o_orderkey", "orders.o_custkey", "orders.o_orderstatus", "orders.o_totalprice", "orders.o_orderdate", "orders.o_orderpriority", "orders.o_clerk", "orders.o_shippriority", "orders.o_comment"], "Index Cond": "(orders.o_orderkey = l1.l_orderkey)", "Filter": "(orders.o_orderstatus = 'F'::bpchar)"}]}]}]}]}]}} diff --git a/dev9/pg13/tpch/sf_10/explain/15721/22-1.ok b/dev9/pg13/tpch/sf_10/explain/15721/22-1.ok new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/dev9/pg13/tpch/sf_10/explain/15721/22-1.res b/dev9/pg13/tpch/sf_10/explain/15721/22-1.res new file mode 100644 index 0000000000000000000000000000000000000000..992b39b11bb6bcae21597086ff86b215fe635242 --- /dev/null +++ b/dev9/pg13/tpch/sf_10/explain/15721/22-1.res @@ -0,0 +1 @@ +{"Plan": {"Node Type": "Aggregate", "Strategy": "Sorted", "Partial Mode": "Simple", "Parallel Aware": false, "Startup Cost": 95820.29, "Total Cost": 96868.46, "Plan Rows": 7242, "Plan Width": 72, "Output": ["(\"substring\"((customer.c_phone)::text, 1, 2))", "count(*)", "sum(customer.c_acctbal)"], "Group Key": ["(\"substring\"((customer.c_phone)::text, 1, 2))"], "Plans": [{"Node Type": "Aggregate", "Strategy": "Plain", "Partial Mode": "Finalize", "Parent Relationship": "InitPlan", "Subplan Name": "InitPlan 1 (returns $1)", "Parallel Aware": false, "Startup Cost": 46701.01, "Total Cost": 46701.02, "Plan Rows": 1, "Plan Width": 32, "Output": ["avg(customer_1.c_acctbal)"], "Plans": [{"Node Type": "Gather", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 46700.58, "Total Cost": 46700.99, "Plan Rows": 4, "Plan Width": 32, "Output": ["(PARTIAL avg(customer_1.c_acctbal))"], "Workers Planned": 4, "Single Copy": false, "Plans": [{"Node Type": "Aggregate", "Strategy": "Plain", "Partial Mode": "Partial", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 45700.58, "Total Cost": 45700.59, "Plan Rows": 1, "Plan Width": 32, "Output": ["PARTIAL avg(customer_1.c_acctbal)"], "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": true, "Relation Name": "customer", "Schema": "public", "Alias": "customer_1", "Startup Cost": 0.0, "Total Cost": 45670.75, "Plan Rows": 11930, "Plan Width": 6, "Output": ["customer_1.c_custkey", "customer_1.c_name", "customer_1.c_address", "customer_1.c_nationkey", "customer_1.c_phone", "customer_1.c_acctbal", "customer_1.c_mktsegment", "customer_1.c_comment"], "Filter": "((customer_1.c_acctbal > 0.00) AND (\"substring\"((customer_1.c_phone)::text, 1, 2) = ANY ('{17,20,25,31,30,11,33}'::text[])))"}]}]}]}, {"Node Type": "Gather Merge", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 49119.27, "Total Cost": 49986.39, "Plan Rows": 7242, "Plan Width": 38, "Output": ["(\"substring\"((customer.c_phone)::text, 1, 2))", "customer.c_acctbal"], "Workers Planned": 4, "Params Evaluated": ["$1"], "Plans": [{"Node Type": "Sort", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 48119.21, "Total Cost": 48123.74, "Plan Rows": 1810, "Plan Width": 38, "Output": ["(\"substring\"((customer.c_phone)::text, 1, 2))", "customer.c_acctbal"], "Sort Key": ["(\"substring\"((customer.c_phone)::text, 1, 2))"], "Plans": [{"Node Type": "Nested Loop", "Parent Relationship": "Outer", "Parallel Aware": false, "Join Type": "Anti", "Startup Cost": 0.43, "Total Cost": 48021.28, "Plan Rows": 1810, "Plan Width": 38, "Output": ["\"substring\"((customer.c_phone)::text, 1, 2)", "customer.c_acctbal"], "Inner Unique": false, "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": true, "Relation Name": "customer", "Schema": "public", "Alias": "customer", "Startup Cost": 0.0, "Total Cost": 45670.75, "Plan Rows": 4375, "Plan Width": 26, "Output": ["customer.c_custkey", "customer.c_name", "customer.c_address", "customer.c_nationkey", "customer.c_phone", "customer.c_acctbal", "customer.c_mktsegment", "customer.c_comment"], "Filter": "((customer.c_acctbal > $1) AND (\"substring\"((customer.c_phone)::text, 1, 2) = ANY ('{17,20,25,31,30,11,33}'::text[])))"}, {"Node Type": "Index Only Scan", "Parent Relationship": "Inner", "Parallel Aware": false, "Scan Direction": "Forward", "Index Name": "o_ck", "Relation Name": "orders", "Schema": "public", "Alias": "orders", "Startup Cost": 0.43, "Total Cost": 1.43, "Plan Rows": 17, "Plan Width": 4, "Output": ["orders.o_custkey"], "Index Cond": "(orders.o_custkey = customer.c_custkey)"}]}]}]}]}} diff --git a/dev9/pg13/tpch/sf_10/explain/15721/3-1.ok b/dev9/pg13/tpch/sf_10/explain/15721/3-1.ok new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/dev9/pg13/tpch/sf_10/explain/15721/3-1.res b/dev9/pg13/tpch/sf_10/explain/15721/3-1.res new file mode 100644 index 0000000000000000000000000000000000000000..990d71d285249287bc346eb0b4119b7c26b2a052 --- /dev/null +++ b/dev9/pg13/tpch/sf_10/explain/15721/3-1.res @@ -0,0 +1 @@ +{"Plan": {"Node Type": "Limit", "Parallel Aware": false, "Startup Cost": 1357260.23, "Total Cost": 1357260.26, "Plan Rows": 10, "Plan Width": 44, "Output": ["lineitem.l_orderkey", "(sum((lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount))))", "orders.o_orderdate", "orders.o_shippriority"], "Plans": [{"Node Type": "Sort", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 1357260.23, "Total Cost": 1365153.29, "Plan Rows": 3157221, "Plan Width": 44, "Output": ["lineitem.l_orderkey", "(sum((lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount))))", "orders.o_orderdate", "orders.o_shippriority"], "Sort Key": ["(sum((lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount)))) DESC", "orders.o_orderdate"], "Plans": [{"Node Type": "Aggregate", "Strategy": "Sorted", "Partial Mode": "Simple", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 824181.52, "Total Cost": 1289033.82, "Plan Rows": 3157221, "Plan Width": 44, "Output": ["lineitem.l_orderkey", "sum((lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount)))", "orders.o_orderdate", "orders.o_shippriority"], "Group Key": ["lineitem.l_orderkey", "orders.o_orderdate", "orders.o_shippriority"], "Plans": [{"Node Type": "Gather Merge", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 824181.52, "Total Cost": 1202210.24, "Plan Rows": 3157221, "Plan Width": 24, "Output": ["lineitem.l_orderkey", "orders.o_orderdate", "orders.o_shippriority", "lineitem.l_extendedprice", "lineitem.l_discount"], "Workers Planned": 4, "Plans": [{"Node Type": "Sort", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 823181.47, "Total Cost": 825154.73, "Plan Rows": 789305, "Plan Width": 24, "Output": ["lineitem.l_orderkey", "orders.o_orderdate", "orders.o_shippriority", "lineitem.l_extendedprice", "lineitem.l_discount"], "Sort Key": ["lineitem.l_orderkey", "orders.o_orderdate", "orders.o_shippriority"], "Plans": [{"Node Type": "Nested Loop", "Parent Relationship": "Outer", "Parallel Aware": false, "Join Type": "Inner", "Startup Cost": 1.0, "Total Cost": 736386.91, "Plan Rows": 789305, "Plan Width": 24, "Output": ["lineitem.l_orderkey", "orders.o_orderdate", "orders.o_shippriority", "lineitem.l_extendedprice", "lineitem.l_discount"], "Inner Unique": false, "Plans": [{"Node Type": "Nested Loop", "Parent Relationship": "Outer", "Parallel Aware": false, "Join Type": "Inner", "Startup Cost": 0.43, "Total Cost": 181068.61, "Plan Rows": 368132, "Plan Width": 12, "Output": ["orders.o_orderdate", "orders.o_shippriority", "orders.o_orderkey"], "Inner Unique": false, "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": true, "Relation Name": "customer", "Schema": "public", "Alias": "customer", "Startup Cost": 0.0, "Total Cost": 40514.5, "Plan Rows": 75522, "Plan Width": 4, "Output": ["customer.c_custkey", "customer.c_name", "customer.c_address", "customer.c_nationkey", "customer.c_phone", "customer.c_acctbal", "customer.c_mktsegment", "customer.c_comment"], "Filter": "(customer.c_mktsegment = 'FURNITURE'::bpchar)"}, {"Node Type": "Index Scan", "Parent Relationship": "Inner", "Parallel Aware": false, "Scan Direction": "Forward", "Index Name": "o_ck", "Relation Name": "orders", "Schema": "public", "Alias": "orders", "Startup Cost": 0.43, "Total Cost": 1.78, "Plan Rows": 8, "Plan Width": 16, "Output": ["orders.o_orderkey", "orders.o_custkey", "orders.o_orderstatus", "orders.o_totalprice", "orders.o_orderdate", "orders.o_orderpriority", "orders.o_clerk", "orders.o_shippriority", "orders.o_comment"], "Index Cond": "(orders.o_custkey = customer.c_custkey)", "Filter": "(orders.o_orderdate < '1995-03-20'::date)"}]}, {"Node Type": "Index Scan", "Parent Relationship": "Inner", "Parallel Aware": false, "Scan Direction": "Forward", "Index Name": "l_ok", "Relation Name": "lineitem", "Schema": "public", "Alias": "lineitem", "Startup Cost": 0.56, "Total Cost": 1.35, "Plan Rows": 16, "Plan Width": 16, "Output": ["lineitem.l_orderkey", "lineitem.l_partkey", "lineitem.l_suppkey", "lineitem.l_linenumber", "lineitem.l_quantity", "lineitem.l_extendedprice", "lineitem.l_discount", "lineitem.l_tax", "lineitem.l_returnflag", "lineitem.l_linestatus", "lineitem.l_shipdate", "lineitem.l_commitdate", "lineitem.l_receiptdate", "lineitem.l_shipinstruct", "lineitem.l_shipmode", "lineitem.l_comment"], "Index Cond": "(lineitem.l_orderkey = orders.o_orderkey)", "Filter": "(lineitem.l_shipdate > '1995-03-20'::date)"}]}]}]}]}]}]}} diff --git a/dev9/pg13/tpch/sf_10/explain/15721/4-1.ok b/dev9/pg13/tpch/sf_10/explain/15721/4-1.ok new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/dev9/pg13/tpch/sf_10/explain/15721/4-1.res b/dev9/pg13/tpch/sf_10/explain/15721/4-1.res new file mode 100644 index 0000000000000000000000000000000000000000..bab675300493faa6859b52fcd5a8afc4ea3a427d --- /dev/null +++ b/dev9/pg13/tpch/sf_10/explain/15721/4-1.res @@ -0,0 +1 @@ +{"Plan": {"Node Type": "Aggregate", "Strategy": "Sorted", "Partial Mode": "Finalize", "Parallel Aware": false, "Startup Cost": 342540.38, "Total Cost": 342639.08, "Plan Rows": 5, "Plan Width": 24, "Output": ["orders.o_orderpriority", "count(*)"], "Group Key": ["orders.o_orderpriority"], "Plans": [{"Node Type": "Gather Merge", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 342540.38, "Total Cost": 342638.88, "Plan Rows": 30, "Plan Width": 24, "Output": ["orders.o_orderpriority", "(PARTIAL count(*))"], "Workers Planned": 6, "Plans": [{"Node Type": "Aggregate", "Strategy": "Sorted", "Partial Mode": "Partial", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 341540.28, "Total Cost": 341635.13, "Plan Rows": 5, "Plan Width": 24, "Output": ["orders.o_orderpriority", "PARTIAL count(*)"], "Group Key": ["orders.o_orderpriority"], "Plans": [{"Node Type": "Sort", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 341540.28, "Total Cost": 341571.88, "Plan Rows": 12640, "Plan Width": 16, "Output": ["orders.o_orderpriority"], "Sort Key": ["orders.o_orderpriority"], "Plans": [{"Node Type": "Nested Loop", "Parent Relationship": "Outer", "Parallel Aware": false, "Join Type": "Semi", "Startup Cost": 6432.2, "Total Cost": 340679.14, "Plan Rows": 12640, "Plan Width": 16, "Output": ["orders.o_orderpriority"], "Inner Unique": false, "Plans": [{"Node Type": "Bitmap Heap Scan", "Parent Relationship": "Outer", "Parallel Aware": true, "Relation Name": "orders", "Schema": "public", "Alias": "orders", "Startup Cost": 6431.63, "Total Cost": 268780.22, "Plan Rows": 95772, "Plan Width": 20, "Output": ["orders.o_orderkey", "orders.o_custkey", "orders.o_orderstatus", "orders.o_totalprice", "orders.o_orderdate", "orders.o_orderpriority", "orders.o_clerk", "orders.o_shippriority", "orders.o_comment"], "Recheck Cond": "((orders.o_orderdate >= '1996-01-01'::date) AND (orders.o_orderdate < '1996-04-01 00:00:00'::timestamp without time zone))", "Plans": [{"Node Type": "Bitmap Index Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Index Name": "o_od", "Startup Cost": 0.0, "Total Cost": 6287.98, "Plan Rows": 574634, "Plan Width": 0, "Index Cond": "((orders.o_orderdate >= '1996-01-01'::date) AND (orders.o_orderdate < '1996-04-01 00:00:00'::timestamp without time zone))"}]}, {"Node Type": "Index Scan", "Parent Relationship": "Inner", "Parallel Aware": false, "Scan Direction": "Forward", "Index Name": "l_ok", "Relation Name": "lineitem", "Schema": "public", "Alias": "lineitem", "Startup Cost": 0.56, "Total Cost": 2.22, "Plan Rows": 10, "Plan Width": 4, "Output": ["lineitem.l_orderkey", "lineitem.l_partkey", "lineitem.l_suppkey", "lineitem.l_linenumber", "lineitem.l_quantity", "lineitem.l_extendedprice", "lineitem.l_discount", "lineitem.l_tax", "lineitem.l_returnflag", "lineitem.l_linestatus", "lineitem.l_shipdate", "lineitem.l_commitdate", "lineitem.l_receiptdate", "lineitem.l_shipinstruct", "lineitem.l_shipmode", "lineitem.l_comment"], "Index Cond": "(lineitem.l_orderkey = orders.o_orderkey)", "Filter": "(lineitem.l_commitdate < lineitem.l_receiptdate)"}]}]}]}]}]}} diff --git a/dev9/pg13/tpch/sf_10/explain/15721/5-1.ok b/dev9/pg13/tpch/sf_10/explain/15721/5-1.ok new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/dev9/pg13/tpch/sf_10/explain/15721/5-1.res b/dev9/pg13/tpch/sf_10/explain/15721/5-1.res new file mode 100644 index 0000000000000000000000000000000000000000..67082aa76cf2894939356116bfcd8bfc915c5a3b --- /dev/null +++ b/dev9/pg13/tpch/sf_10/explain/15721/5-1.res @@ -0,0 +1 @@ +{"Plan": {"Node Type": "Sort", "Parallel Aware": false, "Startup Cost": 351790.76, "Total Cost": 351790.82, "Plan Rows": 25, "Plan Width": 58, "Output": ["nation.n_name", "(sum((lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount))))"], "Sort Key": ["(sum((lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount)))) DESC"], "Plans": [{"Node Type": "Aggregate", "Strategy": "Sorted", "Partial Mode": "Finalize", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 351552.91, "Total Cost": 351790.18, "Plan Rows": 25, "Plan Width": 58, "Output": ["nation.n_name", "sum((lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount)))"], "Group Key": ["nation.n_name"], "Plans": [{"Node Type": "Gather Merge", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 351552.91, "Total Cost": 351789.12, "Plan Rows": 100, "Plan Width": 58, "Output": ["nation.n_name", "(PARTIAL sum((lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount))))"], "Workers Planned": 4, "Plans": [{"Node Type": "Aggregate", "Strategy": "Sorted", "Partial Mode": "Partial", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 350552.85, "Total Cost": 350777.15, "Plan Rows": 25, "Plan Width": 58, "Output": ["nation.n_name", "PARTIAL sum((lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount)))"], "Group Key": ["nation.n_name"], "Plans": [{"Node Type": "Sort", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 350552.85, "Total Cost": 350597.65, "Plan Rows": 17919, "Plan Width": 38, "Output": ["nation.n_name", "lineitem.l_extendedprice", "lineitem.l_discount"], "Sort Key": ["nation.n_name"], "Plans": [{"Node Type": "Hash Join", "Parent Relationship": "Outer", "Parallel Aware": true, "Join Type": "Inner", "Startup Cost": 3690.1, "Total Cost": 349286.94, "Plan Rows": 17919, "Plan Width": 38, "Output": ["nation.n_name", "lineitem.l_extendedprice", "lineitem.l_discount"], "Inner Unique": true, "Hash Cond": "((lineitem.l_suppkey = supplier.s_suppkey) AND (customer.c_nationkey = supplier.s_nationkey))", "Plans": [{"Node Type": "Nested Loop", "Parent Relationship": "Outer", "Parallel Aware": false, "Join Type": "Inner", "Startup Cost": 3.51, "Total Cost": 343247.43, "Plan Rows": 448175, "Plan Width": 50, "Output": ["customer.c_nationkey", "lineitem.l_extendedprice", "lineitem.l_discount", "lineitem.l_suppkey", "nation.n_name", "nation.n_nationkey"], "Inner Unique": false, "Plans": [{"Node Type": "Nested Loop", "Parent Relationship": "Outer", "Parallel Aware": false, "Join Type": "Inner", "Startup Cost": 2.94, "Total Cost": 120494.92, "Plan Rows": 112073, "Plan Width": 38, "Output": ["customer.c_nationkey", "orders.o_orderkey", "nation.n_name", "nation.n_nationkey"], "Inner Unique": false, "Plans": [{"Node Type": "Hash Join", "Parent Relationship": "Outer", "Parallel Aware": false, "Join Type": "Inner", "Startup Cost": 2.51, "Total Cost": 41735.76, "Plan Rows": 75000, "Plan Width": 38, "Output": ["customer.c_custkey", "customer.c_nationkey", "nation.n_name", "nation.n_nationkey"], "Inner Unique": false, "Hash Cond": "(customer.c_nationkey = nation.n_nationkey)", "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": true, "Relation Name": "customer", "Schema": "public", "Alias": "customer", "Startup Cost": 0.0, "Total Cost": 39577.0, "Plan Rows": 375000, "Plan Width": 8, "Output": ["customer.c_custkey", "customer.c_name", "customer.c_address", "customer.c_nationkey", "customer.c_phone", "customer.c_acctbal", "customer.c_mktsegment", "customer.c_comment"]}, {"Node Type": "Hash", "Parent Relationship": "Inner", "Parallel Aware": false, "Startup Cost": 2.45, "Total Cost": 2.45, "Plan Rows": 5, "Plan Width": 30, "Output": ["nation.n_name", "nation.n_nationkey"], "Plans": [{"Node Type": "Hash Join", "Parent Relationship": "Outer", "Parallel Aware": false, "Join Type": "Inner", "Startup Cost": 1.07, "Total Cost": 2.45, "Plan Rows": 5, "Plan Width": 30, "Output": ["nation.n_name", "nation.n_nationkey"], "Inner Unique": true, "Hash Cond": "(nation.n_regionkey = region.r_regionkey)", "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Relation Name": "nation", "Schema": "public", "Alias": "nation", "Startup Cost": 0.0, "Total Cost": 1.25, "Plan Rows": 25, "Plan Width": 34, "Output": ["nation.n_nationkey", "nation.n_name", "nation.n_regionkey", "nation.n_comment"]}, {"Node Type": "Hash", "Parent Relationship": "Inner", "Parallel Aware": false, "Startup Cost": 1.06, "Total Cost": 1.06, "Plan Rows": 1, "Plan Width": 4, "Output": ["region.r_regionkey"], "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Relation Name": "region", "Schema": "public", "Alias": "region", "Startup Cost": 0.0, "Total Cost": 1.06, "Plan Rows": 1, "Plan Width": 4, "Output": ["region.r_regionkey"], "Filter": "(region.r_name = 'AMERICA'::bpchar)"}]}]}]}]}, {"Node Type": "Index Scan", "Parent Relationship": "Inner", "Parallel Aware": false, "Scan Direction": "Forward", "Index Name": "o_ck", "Relation Name": "orders", "Schema": "public", "Alias": "orders", "Startup Cost": 0.43, "Total Cost": 1.02, "Plan Rows": 3, "Plan Width": 8, "Output": ["orders.o_orderkey", "orders.o_custkey", "orders.o_orderstatus", "orders.o_totalprice", "orders.o_orderdate", "orders.o_orderpriority", "orders.o_clerk", "orders.o_shippriority", "orders.o_comment"], "Index Cond": "(orders.o_custkey = customer.c_custkey)", "Filter": "((orders.o_orderdate >= '1995-01-01'::date) AND (orders.o_orderdate < '1996-01-01 00:00:00'::timestamp without time zone))"}]}, {"Node Type": "Index Scan", "Parent Relationship": "Inner", "Parallel Aware": false, "Scan Direction": "Forward", "Index Name": "l_ok", "Relation Name": "lineitem", "Schema": "public", "Alias": "lineitem", "Startup Cost": 0.56, "Total Cost": 1.69, "Plan Rows": 30, "Plan Width": 20, "Output": ["lineitem.l_orderkey", "lineitem.l_partkey", "lineitem.l_suppkey", "lineitem.l_linenumber", "lineitem.l_quantity", "lineitem.l_extendedprice", "lineitem.l_discount", "lineitem.l_tax", "lineitem.l_returnflag", "lineitem.l_linestatus", "lineitem.l_shipdate", "lineitem.l_commitdate", "lineitem.l_receiptdate", "lineitem.l_shipinstruct", "lineitem.l_shipmode", "lineitem.l_comment"], "Index Cond": "(lineitem.l_orderkey = orders.o_orderkey)"}]}, {"Node Type": "Hash", "Parent Relationship": "Inner", "Parallel Aware": true, "Startup Cost": 2804.24, "Total Cost": 2804.24, "Plan Rows": 58824, "Plan Width": 8, "Output": ["supplier.s_suppkey", "supplier.s_nationkey"], "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": true, "Relation Name": "supplier", "Schema": "public", "Alias": "supplier", "Startup Cost": 0.0, "Total Cost": 2804.24, "Plan Rows": 58824, "Plan Width": 8, "Output": ["supplier.s_suppkey", "supplier.s_nationkey"]}]}]}]}]}]}]}]}} diff --git a/dev9/pg13/tpch/sf_10/explain/15721/6-1.ok b/dev9/pg13/tpch/sf_10/explain/15721/6-1.ok new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/dev9/pg13/tpch/sf_10/explain/15721/6-1.res b/dev9/pg13/tpch/sf_10/explain/15721/6-1.res new file mode 100644 index 0000000000000000000000000000000000000000..9157aa6838cf44e0a0c0244fac043a9802cc9c57 --- /dev/null +++ b/dev9/pg13/tpch/sf_10/explain/15721/6-1.res @@ -0,0 +1 @@ +{"Plan": {"Node Type": "Aggregate", "Strategy": "Plain", "Partial Mode": "Finalize", "Parallel Aware": false, "Startup Cost": 1319173.48, "Total Cost": 1319173.49, "Plan Rows": 1, "Plan Width": 32, "Output": ["sum((l_extendedprice * l_discount))"], "Plans": [{"Node Type": "Gather", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 1319172.73, "Total Cost": 1319173.44, "Plan Rows": 7, "Plan Width": 32, "Output": ["(PARTIAL sum((l_extendedprice * l_discount)))"], "Workers Planned": 7, "Single Copy": false, "Plans": [{"Node Type": "Aggregate", "Strategy": "Plain", "Partial Mode": "Partial", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 1318172.73, "Total Cost": 1318172.74, "Plan Rows": 1, "Plan Width": 32, "Output": ["PARTIAL sum((l_extendedprice * l_discount))"], "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": true, "Relation Name": "lineitem", "Schema": "public", "Alias": "lineitem", "Startup Cost": 0.0, "Total Cost": 1317361.42, "Plan Rows": 162262, "Plan Width": 12, "Output": ["l_orderkey", "l_partkey", "l_suppkey", "l_linenumber", "l_quantity", "l_extendedprice", "l_discount", "l_tax", "l_returnflag", "l_linestatus", "l_shipdate", "l_commitdate", "l_receiptdate", "l_shipinstruct", "l_shipmode", "l_comment"], "Filter": "((lineitem.l_shipdate >= '1995-01-01'::date) AND (lineitem.l_shipdate < '1996-01-01 00:00:00'::timestamp without time zone) AND (lineitem.l_discount >= 0.04) AND (lineitem.l_discount <= 0.06) AND (lineitem.l_quantity < '24'::numeric))"}]}]}]}} diff --git a/dev9/pg13/tpch/sf_10/explain/15721/7-1.ok b/dev9/pg13/tpch/sf_10/explain/15721/7-1.ok new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/dev9/pg13/tpch/sf_10/explain/15721/7-1.res b/dev9/pg13/tpch/sf_10/explain/15721/7-1.res new file mode 100644 index 0000000000000000000000000000000000000000..542ec89a3cff9b700d0da9bfe128c6de3e18e4dd --- /dev/null +++ b/dev9/pg13/tpch/sf_10/explain/15721/7-1.res @@ -0,0 +1 @@ +{"Plan": {"Node Type": "Aggregate", "Strategy": "Sorted", "Partial Mode": "Finalize", "Parallel Aware": false, "Startup Cost": 241331.25, "Total Cost": 242795.17, "Plan Rows": 10096, "Plan Width": 92, "Output": ["n1.n_name", "n2.n_name", "(date_part('year'::text, (lineitem.l_shipdate)::timestamp without time zone))", "sum((lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount)))"], "Group Key": ["n1.n_name", "n2.n_name", "(date_part('year'::text, (lineitem.l_shipdate)::timestamp without time zone))"], "Plans": [{"Node Type": "Gather Merge", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 241331.25, "Total Cost": 242492.29, "Plan Rows": 10096, "Plan Width": 92, "Output": ["n1.n_name", "n2.n_name", "(date_part('year'::text, (lineitem.l_shipdate)::timestamp without time zone))", "(PARTIAL sum((lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount))))"], "Workers Planned": 1, "Plans": [{"Node Type": "Sort", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 240331.24, "Total Cost": 240356.48, "Plan Rows": 10096, "Plan Width": 92, "Output": ["n1.n_name", "n2.n_name", "(date_part('year'::text, (lineitem.l_shipdate)::timestamp without time zone))", "(PARTIAL sum((lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount))))"], "Sort Key": ["n1.n_name", "n2.n_name", "(date_part('year'::text, (lineitem.l_shipdate)::timestamp without time zone))"], "Plans": [{"Node Type": "Aggregate", "Strategy": "Hashed", "Partial Mode": "Partial", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 239483.1, "Total Cost": 239659.78, "Plan Rows": 10096, "Plan Width": 92, "Output": ["n1.n_name", "n2.n_name", "(date_part('year'::text, (lineitem.l_shipdate)::timestamp without time zone))", "PARTIAL sum((lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount)))"], "Group Key": ["n1.n_name", "n2.n_name", "date_part('year'::text, (lineitem.l_shipdate)::timestamp without time zone)"], "Planned Partitions": 0, "Plans": [{"Node Type": "Hash Join", "Parent Relationship": "Outer", "Parallel Aware": true, "Join Type": "Inner", "Startup Cost": 79686.41, "Total Cost": 238949.45, "Plan Rows": 35577, "Plan Width": 72, "Output": ["n1.n_name", "n2.n_name", "date_part('year'::text, (lineitem.l_shipdate)::timestamp without time zone)", "lineitem.l_extendedprice", "lineitem.l_discount"], "Inner Unique": false, "Hash Cond": "(lineitem.l_orderkey = orders.o_orderkey)", "Join Filter": "(((n1.n_name = 'IRAN'::bpchar) AND (n2.n_name = 'ETHIOPIA'::bpchar)) OR ((n1.n_name = 'ETHIOPIA'::bpchar) AND (n2.n_name = 'IRAN'::bpchar)))", "Plans": [{"Node Type": "Nested Loop", "Parent Relationship": "Outer", "Parallel Aware": false, "Join Type": "Inner", "Startup Cost": 1.84, "Total Cost": 138460.19, "Plan Rows": 854892, "Plan Width": 46, "Output": ["lineitem.l_shipdate", "lineitem.l_extendedprice", "lineitem.l_discount", "lineitem.l_orderkey", "n1.n_name"], "Inner Unique": false, "Plans": [{"Node Type": "Hash Join", "Parent Relationship": "Outer", "Parallel Aware": false, "Join Type": "Inner", "Startup Cost": 1.4, "Total Cost": 2986.23, "Plan Rows": 4706, "Plan Width": 30, "Output": ["supplier.s_suppkey", "n1.n_name"], "Inner Unique": true, "Hash Cond": "(supplier.s_nationkey = n1.n_nationkey)", "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": true, "Relation Name": "supplier", "Schema": "public", "Alias": "supplier", "Startup Cost": 0.0, "Total Cost": 2804.24, "Plan Rows": 58824, "Plan Width": 8, "Output": ["supplier.s_suppkey", "supplier.s_name", "supplier.s_address", "supplier.s_nationkey", "supplier.s_phone", "supplier.s_acctbal", "supplier.s_comment"]}, {"Node Type": "Hash", "Parent Relationship": "Inner", "Parallel Aware": false, "Startup Cost": 1.38, "Total Cost": 1.38, "Plan Rows": 2, "Plan Width": 30, "Output": ["n1.n_name", "n1.n_nationkey"], "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Relation Name": "nation", "Schema": "public", "Alias": "n1", "Startup Cost": 0.0, "Total Cost": 1.38, "Plan Rows": 2, "Plan Width": 30, "Output": ["n1.n_name", "n1.n_nationkey"], "Filter": "((n1.n_name = 'IRAN'::bpchar) OR (n1.n_name = 'ETHIOPIA'::bpchar))"}]}]}, {"Node Type": "Index Scan", "Parent Relationship": "Inner", "Parallel Aware": false, "Scan Direction": "Forward", "Index Name": "l_sk_pk", "Relation Name": "lineitem", "Schema": "public", "Alias": "lineitem", "Startup Cost": 0.44, "Total Cost": 26.97, "Plan Rows": 182, "Plan Width": 24, "Output": ["lineitem.l_orderkey", "lineitem.l_partkey", "lineitem.l_suppkey", "lineitem.l_linenumber", "lineitem.l_quantity", "lineitem.l_extendedprice", "lineitem.l_discount", "lineitem.l_tax", "lineitem.l_returnflag", "lineitem.l_linestatus", "lineitem.l_shipdate", "lineitem.l_commitdate", "lineitem.l_receiptdate", "lineitem.l_shipinstruct", "lineitem.l_shipmode", "lineitem.l_comment"], "Index Cond": "(lineitem.l_suppkey = supplier.s_suppkey)", "Filter": "((lineitem.l_shipdate >= '1995-01-01'::date) AND (lineitem.l_shipdate <= '1996-12-31'::date))"}]}, {"Node Type": "Hash", "Parent Relationship": "Inner", "Parallel Aware": true, "Startup Cost": 73883.32, "Total Cost": 73883.32, "Plan Rows": 300020, "Plan Width": 30, "Output": ["orders.o_orderkey", "n2.n_name"], "Plans": [{"Node Type": "Nested Loop", "Parent Relationship": "Outer", "Parallel Aware": false, "Join Type": "Inner", "Startup Cost": 1.83, "Total Cost": 73883.32, "Plan Rows": 300020, "Plan Width": 30, "Output": ["orders.o_orderkey", "n2.n_name"], "Inner Unique": false, "Plans": [{"Node Type": "Hash Join", "Parent Relationship": "Outer", "Parallel Aware": false, "Join Type": "Inner", "Startup Cost": 1.4, "Total Cost": 40729.65, "Plan Rows": 30000, "Plan Width": 30, "Output": ["customer.c_custkey", "n2.n_name"], "Inner Unique": true, "Hash Cond": "(customer.c_nationkey = n2.n_nationkey)", "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": true, "Relation Name": "customer", "Schema": "public", "Alias": "customer", "Startup Cost": 0.0, "Total Cost": 39577.0, "Plan Rows": 375000, "Plan Width": 8, "Output": ["customer.c_custkey", "customer.c_name", "customer.c_address", "customer.c_nationkey", "customer.c_phone", "customer.c_acctbal", "customer.c_mktsegment", "customer.c_comment"]}, {"Node Type": "Hash", "Parent Relationship": "Inner", "Parallel Aware": false, "Startup Cost": 1.38, "Total Cost": 1.38, "Plan Rows": 2, "Plan Width": 30, "Output": ["n2.n_name", "n2.n_nationkey"], "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Relation Name": "nation", "Schema": "public", "Alias": "n2", "Startup Cost": 0.0, "Total Cost": 1.38, "Plan Rows": 2, "Plan Width": 30, "Output": ["n2.n_name", "n2.n_nationkey"], "Filter": "((n2.n_name = 'ETHIOPIA'::bpchar) OR (n2.n_name = 'IRAN'::bpchar))"}]}]}, {"Node Type": "Index Scan", "Parent Relationship": "Inner", "Parallel Aware": false, "Scan Direction": "Forward", "Index Name": "o_ck", "Relation Name": "orders", "Schema": "public", "Alias": "orders", "Startup Cost": 0.43, "Total Cost": 0.94, "Plan Rows": 17, "Plan Width": 8, "Output": ["orders.o_orderkey", "orders.o_custkey", "orders.o_orderstatus", "orders.o_totalprice", "orders.o_orderdate", "orders.o_orderpriority", "orders.o_clerk", "orders.o_shippriority", "orders.o_comment"], "Index Cond": "(orders.o_custkey = customer.c_custkey)"}]}]}]}]}]}]}]}} diff --git a/dev9/pg13/tpch/sf_10/explain/15721/8-1.ok b/dev9/pg13/tpch/sf_10/explain/15721/8-1.ok new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/dev9/pg13/tpch/sf_10/explain/15721/8-1.res b/dev9/pg13/tpch/sf_10/explain/15721/8-1.res new file mode 100644 index 0000000000000000000000000000000000000000..9a25e3850603bef79557f935a93394df4fe170db --- /dev/null +++ b/dev9/pg13/tpch/sf_10/explain/15721/8-1.res @@ -0,0 +1 @@ +{"Plan": {"Node Type": "Aggregate", "Strategy": "Sorted", "Partial Mode": "Finalize", "Parallel Aware": false, "Startup Cost": 214758.8, "Total Cost": 216263.92, "Plan Rows": 2406, "Plan Width": 40, "Output": ["(date_part('year'::text, (orders.o_orderdate)::timestamp without time zone))", "(sum(CASE WHEN (n2.n_name = 'ETHIOPIA'::bpchar) THEN (lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount)) ELSE '0'::numeric END) / sum((lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount))))"], "Group Key": ["(date_part('year'::text, (orders.o_orderdate)::timestamp without time zone))"], "Plans": [{"Node Type": "Gather Merge", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 214758.8, "Total Cost": 216089.49, "Plan Rows": 9624, "Plan Width": 72, "Output": ["(date_part('year'::text, (orders.o_orderdate)::timestamp without time zone))", "(PARTIAL sum(CASE WHEN (n2.n_name = 'ETHIOPIA'::bpchar) THEN (lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount)) ELSE '0'::numeric END))", "(PARTIAL sum((lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount))))"], "Workers Planned": 4, "Plans": [{"Node Type": "Aggregate", "Strategy": "Sorted", "Partial Mode": "Partial", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 213758.74, "Total Cost": 213943.12, "Plan Rows": 2406, "Plan Width": 72, "Output": ["(date_part('year'::text, (orders.o_orderdate)::timestamp without time zone))", "PARTIAL sum(CASE WHEN (n2.n_name = 'ETHIOPIA'::bpchar) THEN (lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount)) ELSE '0'::numeric END)", "PARTIAL sum((lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount)))"], "Group Key": ["(date_part('year'::text, (orders.o_orderdate)::timestamp without time zone))"], "Plans": [{"Node Type": "Sort", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 213758.74, "Total Cost": 213773.88, "Plan Rows": 6056, "Plan Width": 46, "Output": ["(date_part('year'::text, (orders.o_orderdate)::timestamp without time zone))", "n2.n_name", "lineitem.l_extendedprice", "lineitem.l_discount"], "Sort Key": ["(date_part('year'::text, (orders.o_orderdate)::timestamp without time zone))"], "Plans": [{"Node Type": "Hash Join", "Parent Relationship": "Outer", "Parallel Aware": false, "Join Type": "Inner", "Startup Cost": 5.67, "Total Cost": 213378.3, "Plan Rows": 6056, "Plan Width": 46, "Output": ["date_part('year'::text, (orders.o_orderdate)::timestamp without time zone)", "n2.n_name", "lineitem.l_extendedprice", "lineitem.l_discount"], "Inner Unique": true, "Hash Cond": "(supplier.s_nationkey = n2.n_nationkey)", "Plans": [{"Node Type": "Nested Loop", "Parent Relationship": "Outer", "Parallel Aware": false, "Join Type": "Inner", "Startup Cost": 4.1, "Total Cost": 213327.86, "Plan Rows": 6056, "Plan Width": 20, "Output": ["lineitem.l_extendedprice", "lineitem.l_discount", "supplier.s_nationkey", "orders.o_orderdate"], "Inner Unique": true, "Plans": [{"Node Type": "Hash Join", "Parent Relationship": "Outer", "Parallel Aware": false, "Join Type": "Inner", "Startup Cost": 3.81, "Total Cost": 211449.3, "Plan Rows": 6059, "Plan Width": 20, "Output": ["lineitem.l_extendedprice", "lineitem.l_discount", "lineitem.l_suppkey", "orders.o_orderdate"], "Inner Unique": false, "Hash Cond": "(customer.c_nationkey = n1.n_nationkey)", "Plans": [{"Node Type": "Nested Loop", "Parent Relationship": "Outer", "Parallel Aware": false, "Join Type": "Inner", "Startup Cost": 1.3, "Total Cost": 211272.6, "Plan Rows": 30294, "Plan Width": 24, "Output": ["lineitem.l_extendedprice", "lineitem.l_discount", "lineitem.l_suppkey", "orders.o_orderdate", "customer.c_nationkey"], "Inner Unique": true, "Plans": [{"Node Type": "Nested Loop", "Parent Relationship": "Outer", "Parallel Aware": false, "Join Type": "Inner", "Startup Cost": 0.88, "Total Cost": 197498.05, "Plan Rows": 30294, "Plan Width": 24, "Output": ["lineitem.l_extendedprice", "lineitem.l_discount", "lineitem.l_suppkey", "orders.o_orderdate", "orders.o_custkey"], "Inner Unique": true, "Plans": [{"Node Type": "Nested Loop", "Parent Relationship": "Outer", "Parallel Aware": false, "Join Type": "Inner", "Startup Cost": 0.44, "Total Cost": 151065.47, "Plan Rows": 100278, "Plan Width": 20, "Output": ["lineitem.l_extendedprice", "lineitem.l_discount", "lineitem.l_suppkey", "lineitem.l_orderkey"], "Inner Unique": false, "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": true, "Relation Name": "part", "Schema": "public", "Alias": "part", "Startup Cost": 0.0, "Total Cost": 47212.0, "Plan Rows": 3343, "Plan Width": 4, "Output": ["part.p_partkey", "part.p_name", "part.p_mfgr", "part.p_brand", "part.p_type", "part.p_size", "part.p_container", "part.p_retailprice", "part.p_comment"], "Filter": "((part.p_type)::text = 'SMALL BRUSHED NICKEL'::text)"}, {"Node Type": "Index Scan", "Parent Relationship": "Inner", "Parallel Aware": false, "Scan Direction": "Forward", "Index Name": "l_pk", "Relation Name": "lineitem", "Schema": "public", "Alias": "lineitem", "Startup Cost": 0.44, "Total Cost": 30.76, "Plan Rows": 31, "Plan Width": 24, "Output": ["lineitem.l_orderkey", "lineitem.l_partkey", "lineitem.l_suppkey", "lineitem.l_linenumber", "lineitem.l_quantity", "lineitem.l_extendedprice", "lineitem.l_discount", "lineitem.l_tax", "lineitem.l_returnflag", "lineitem.l_linestatus", "lineitem.l_shipdate", "lineitem.l_commitdate", "lineitem.l_receiptdate", "lineitem.l_shipinstruct", "lineitem.l_shipmode", "lineitem.l_comment"], "Index Cond": "(lineitem.l_partkey = part.p_partkey)"}]}, {"Node Type": "Index Scan", "Parent Relationship": "Inner", "Parallel Aware": false, "Scan Direction": "Forward", "Index Name": "o_ok", "Relation Name": "orders", "Schema": "public", "Alias": "orders", "Startup Cost": 0.43, "Total Cost": 0.46, "Plan Rows": 1, "Plan Width": 12, "Output": ["orders.o_orderkey", "orders.o_custkey", "orders.o_orderstatus", "orders.o_totalprice", "orders.o_orderdate", "orders.o_orderpriority", "orders.o_clerk", "orders.o_shippriority", "orders.o_comment"], "Index Cond": "(orders.o_orderkey = lineitem.l_orderkey)", "Filter": "((orders.o_orderdate >= '1995-01-01'::date) AND (orders.o_orderdate <= '1996-12-31'::date))"}]}, {"Node Type": "Index Scan", "Parent Relationship": "Inner", "Parallel Aware": false, "Scan Direction": "Forward", "Index Name": "c_ck", "Relation Name": "customer", "Schema": "public", "Alias": "customer", "Startup Cost": 0.43, "Total Cost": 0.45, "Plan Rows": 1, "Plan Width": 8, "Output": ["customer.c_custkey", "customer.c_name", "customer.c_address", "customer.c_nationkey", "customer.c_phone", "customer.c_acctbal", "customer.c_mktsegment", "customer.c_comment"], "Index Cond": "(customer.c_custkey = orders.o_custkey)"}]}, {"Node Type": "Hash", "Parent Relationship": "Inner", "Parallel Aware": false, "Startup Cost": 2.45, "Total Cost": 2.45, "Plan Rows": 5, "Plan Width": 4, "Output": ["n1.n_nationkey"], "Plans": [{"Node Type": "Hash Join", "Parent Relationship": "Outer", "Parallel Aware": false, "Join Type": "Inner", "Startup Cost": 1.07, "Total Cost": 2.45, "Plan Rows": 5, "Plan Width": 4, "Output": ["n1.n_nationkey"], "Inner Unique": true, "Hash Cond": "(n1.n_regionkey = region.r_regionkey)", "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Relation Name": "nation", "Schema": "public", "Alias": "n1", "Startup Cost": 0.0, "Total Cost": 1.25, "Plan Rows": 25, "Plan Width": 8, "Output": ["n1.n_nationkey", "n1.n_name", "n1.n_regionkey", "n1.n_comment"]}, {"Node Type": "Hash", "Parent Relationship": "Inner", "Parallel Aware": false, "Startup Cost": 1.06, "Total Cost": 1.06, "Plan Rows": 1, "Plan Width": 4, "Output": ["region.r_regionkey"], "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Relation Name": "region", "Schema": "public", "Alias": "region", "Startup Cost": 0.0, "Total Cost": 1.06, "Plan Rows": 1, "Plan Width": 4, "Output": ["region.r_regionkey"], "Filter": "(region.r_name = 'AFRICA'::bpchar)"}]}]}]}]}, {"Node Type": "Index Scan", "Parent Relationship": "Inner", "Parallel Aware": false, "Scan Direction": "Forward", "Index Name": "s_sk", "Relation Name": "supplier", "Schema": "public", "Alias": "supplier", "Startup Cost": 0.29, "Total Cost": 0.31, "Plan Rows": 1, "Plan Width": 8, "Output": ["supplier.s_suppkey", "supplier.s_name", "supplier.s_address", "supplier.s_nationkey", "supplier.s_phone", "supplier.s_acctbal", "supplier.s_comment"], "Index Cond": "(supplier.s_suppkey = lineitem.l_suppkey)"}]}, {"Node Type": "Hash", "Parent Relationship": "Inner", "Parallel Aware": false, "Startup Cost": 1.25, "Total Cost": 1.25, "Plan Rows": 25, "Plan Width": 30, "Output": ["n2.n_name", "n2.n_nationkey"], "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Relation Name": "nation", "Schema": "public", "Alias": "n2", "Startup Cost": 0.0, "Total Cost": 1.25, "Plan Rows": 25, "Plan Width": 30, "Output": ["n2.n_name", "n2.n_nationkey"]}]}]}]}]}]}]}} diff --git a/dev9/pg13/tpch/sf_10/explain/15721/9-1.ok b/dev9/pg13/tpch/sf_10/explain/15721/9-1.ok new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/dev9/pg13/tpch/sf_10/explain/15721/9-1.res b/dev9/pg13/tpch/sf_10/explain/15721/9-1.res new file mode 100644 index 0000000000000000000000000000000000000000..f54be2b7b9fc84719b855e4aed366f21d1816561 --- /dev/null +++ b/dev9/pg13/tpch/sf_10/explain/15721/9-1.res @@ -0,0 +1 @@ +{"Plan": {"Node Type": "Sort", "Parallel Aware": false, "Startup Cost": 594938.74, "Total Cost": 595089.12, "Plan Rows": 60150, "Plan Width": 66, "Output": ["nation.n_name", "(date_part('year'::text, (orders.o_orderdate)::timestamp without time zone))", "(sum(((lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount)) - (partsupp.ps_supplycost * lineitem.l_quantity))))"], "Sort Key": ["nation.n_name", "(date_part('year'::text, (orders.o_orderdate)::timestamp without time zone)) DESC"], "Plans": [{"Node Type": "Aggregate", "Strategy": "Hashed", "Partial Mode": "Finalize", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 589111.33, "Total Cost": 590163.95, "Plan Rows": 60150, "Plan Width": 66, "Output": ["nation.n_name", "(date_part('year'::text, (orders.o_orderdate)::timestamp without time zone))", "sum(((lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount)) - (partsupp.ps_supplycost * lineitem.l_quantity)))"], "Group Key": ["nation.n_name", "(date_part('year'::text, (orders.o_orderdate)::timestamp without time zone))"], "Planned Partitions": 0, "Plans": [{"Node Type": "Gather", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 548359.7, "Total Cost": 585502.33, "Plan Rows": 360900, "Plan Width": 66, "Output": ["nation.n_name", "(date_part('year'::text, (orders.o_orderdate)::timestamp without time zone))", "(PARTIAL sum(((lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount)) - (partsupp.ps_supplycost * lineitem.l_quantity))))"], "Workers Planned": 6, "Single Copy": false, "Plans": [{"Node Type": "Aggregate", "Strategy": "Hashed", "Partial Mode": "Partial", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 547359.7, "Total Cost": 548412.33, "Plan Rows": 60150, "Plan Width": 66, "Output": ["nation.n_name", "(date_part('year'::text, (orders.o_orderdate)::timestamp without time zone))", "PARTIAL sum(((lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount)) - (partsupp.ps_supplycost * lineitem.l_quantity)))"], "Group Key": ["nation.n_name", "date_part('year'::text, (orders.o_orderdate)::timestamp without time zone)"], "Planned Partitions": 0, "Plans": [{"Node Type": "Hash Join", "Parent Relationship": "Outer", "Parallel Aware": false, "Join Type": "Inner", "Startup Cost": 206441.34, "Total Cost": 535443.87, "Plan Rows": 680905, "Plan Width": 57, "Output": ["nation.n_name", "date_part('year'::text, (orders.o_orderdate)::timestamp without time zone)", "lineitem.l_extendedprice", "lineitem.l_discount", "partsupp.ps_supplycost", "lineitem.l_quantity"], "Inner Unique": true, "Hash Cond": "(supplier.s_nationkey = nation.n_nationkey)", "Plans": [{"Node Type": "Hash Join", "Parent Relationship": "Outer", "Parallel Aware": true, "Join Type": "Inner", "Startup Cost": 206439.78, "Total Cost": 529947.4, "Plan Rows": 680905, "Plan Width": 31, "Output": ["lineitem.l_extendedprice", "lineitem.l_discount", "lineitem.l_quantity", "supplier.s_nationkey", "partsupp.ps_supplycost", "orders.o_orderdate"], "Inner Unique": false, "Hash Cond": "(orders.o_orderkey = lineitem.l_orderkey)", "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": true, "Relation Name": "orders", "Schema": "public", "Alias": "orders", "Startup Cost": 0.0, "Total Cost": 285913.72, "Plan Rows": 2500172, "Plan Width": 8, "Output": ["orders.o_orderdate", "orders.o_orderkey"]}, {"Node Type": "Hash", "Parent Relationship": "Inner", "Parallel Aware": true, "Startup Cost": 186690.82, "Total Cost": 186690.82, "Plan Rows": 1021357, "Plan Width": 31, "Output": ["lineitem.l_extendedprice", "lineitem.l_discount", "lineitem.l_quantity", "lineitem.l_orderkey", "supplier.s_nationkey", "partsupp.ps_supplycost"], "Plans": [{"Node Type": "Nested Loop", "Parent Relationship": "Outer", "Parallel Aware": false, "Join Type": "Inner", "Startup Cost": 3540.41, "Total Cost": 186690.82, "Plan Rows": 1021357, "Plan Width": 31, "Output": ["lineitem.l_extendedprice", "lineitem.l_discount", "lineitem.l_quantity", "lineitem.l_orderkey", "supplier.s_nationkey", "partsupp.ps_supplycost"], "Inner Unique": false, "Join Filter": "(supplier.s_suppkey = lineitem.l_suppkey)", "Plans": [{"Node Type": "Hash Join", "Parent Relationship": "Outer", "Parallel Aware": true, "Join Type": "Inner", "Startup Cost": 3539.97, "Total Cost": 99843.66, "Plan Rows": 136262, "Plan Width": 26, "Output": ["part.p_partkey", "partsupp.ps_supplycost", "partsupp.ps_suppkey", "partsupp.ps_partkey", "supplier.s_suppkey", "supplier.s_nationkey"], "Inner Unique": true, "Hash Cond": "(partsupp.ps_suppkey = supplier.s_suppkey)", "Plans": [{"Node Type": "Nested Loop", "Parent Relationship": "Outer", "Parallel Aware": false, "Join Type": "Inner", "Startup Cost": 0.43, "Total Cost": 95946.42, "Plan Rows": 136262, "Plan Width": 18, "Output": ["part.p_partkey", "partsupp.ps_supplycost", "partsupp.ps_suppkey", "partsupp.ps_partkey"], "Inner Unique": false, "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": true, "Relation Name": "part", "Schema": "public", "Alias": "part", "Startup Cost": 0.0, "Total Cost": 47212.0, "Plan Rows": 34068, "Plan Width": 4, "Output": ["part.p_partkey", "part.p_name", "part.p_mfgr", "part.p_brand", "part.p_type", "part.p_size", "part.p_container", "part.p_retailprice", "part.p_comment"], "Filter": "((part.p_name)::text ~~ '%forest%'::text)"}, {"Node Type": "Index Scan", "Parent Relationship": "Inner", "Parallel Aware": false, "Scan Direction": "Forward", "Index Name": "ps_pk", "Relation Name": "partsupp", "Schema": "public", "Alias": "partsupp", "Startup Cost": 0.43, "Total Cost": 1.39, "Plan Rows": 4, "Plan Width": 14, "Output": ["partsupp.ps_partkey", "partsupp.ps_suppkey", "partsupp.ps_availqty", "partsupp.ps_supplycost", "partsupp.ps_comment"], "Index Cond": "(partsupp.ps_partkey = part.p_partkey)"}]}, {"Node Type": "Hash", "Parent Relationship": "Inner", "Parallel Aware": true, "Startup Cost": 2804.24, "Total Cost": 2804.24, "Plan Rows": 58824, "Plan Width": 8, "Output": ["supplier.s_suppkey", "supplier.s_nationkey"], "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": true, "Relation Name": "supplier", "Schema": "public", "Alias": "supplier", "Startup Cost": 0.0, "Total Cost": 2804.24, "Plan Rows": 58824, "Plan Width": 8, "Output": ["supplier.s_suppkey", "supplier.s_nationkey"]}]}]}, {"Node Type": "Index Scan", "Parent Relationship": "Inner", "Parallel Aware": false, "Scan Direction": "Forward", "Index Name": "l_pk_sk", "Relation Name": "lineitem", "Schema": "public", "Alias": "lineitem", "Startup Cost": 0.44, "Total Cost": 0.62, "Plan Rows": 1, "Plan Width": 29, "Output": ["lineitem.l_orderkey", "lineitem.l_partkey", "lineitem.l_suppkey", "lineitem.l_linenumber", "lineitem.l_quantity", "lineitem.l_extendedprice", "lineitem.l_discount", "lineitem.l_tax", "lineitem.l_returnflag", "lineitem.l_linestatus", "lineitem.l_shipdate", "lineitem.l_commitdate", "lineitem.l_receiptdate", "lineitem.l_shipinstruct", "lineitem.l_shipmode", "lineitem.l_comment"], "Index Cond": "((lineitem.l_partkey = partsupp.ps_partkey) AND (lineitem.l_suppkey = partsupp.ps_suppkey))"}]}]}]}, {"Node Type": "Hash", "Parent Relationship": "Inner", "Parallel Aware": false, "Startup Cost": 1.25, "Total Cost": 1.25, "Plan Rows": 25, "Plan Width": 30, "Output": ["nation.n_name", "nation.n_nationkey"], "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Relation Name": "nation", "Schema": "public", "Alias": "nation", "Startup Cost": 0.0, "Total Cost": 1.25, "Plan Rows": 25, "Plan Width": 30, "Output": ["nation.n_name", "nation.n_nationkey"]}]}]}]}]}]}]}} diff --git a/dev9/pg13/tpch/sf_10/explain_analyze/15721/1-1.ok b/dev9/pg13/tpch/sf_10/explain_analyze/15721/1-1.ok new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/dev9/pg13/tpch/sf_10/explain_analyze/15721/1-1.res b/dev9/pg13/tpch/sf_10/explain_analyze/15721/1-1.res new file mode 100644 index 0000000000000000000000000000000000000000..9254e4e62e382a95eae68eea5b536a15701addf0 --- /dev/null +++ b/dev9/pg13/tpch/sf_10/explain_analyze/15721/1-1.res @@ -0,0 +1 @@ +{"Plan": {"Node Type": "Aggregate", "Strategy": "Sorted", "Partial Mode": "Finalize", "Parallel Aware": false, "Startup Cost": 1567359.09, "Total Cost": 1567366.2, "Plan Rows": 6, "Plan Width": 236, "Actual Startup Time": 12569.856, "Actual Total Time": 15237.05, "Actual Rows": 4, "Actual Loops": 1, "Output": ["l_returnflag", "l_linestatus", "sum(l_quantity)", "sum(l_extendedprice)", "sum((l_extendedprice * ('1'::numeric - l_discount)))", "sum(((l_extendedprice * ('1'::numeric - l_discount)) * ('1'::numeric + l_tax)))", "avg(l_quantity)", "avg(l_extendedprice)", "avg(l_discount)", "count(*)"], "Group Key": ["lineitem.l_returnflag", "lineitem.l_linestatus"], "Plans": [{"Node Type": "Gather Merge", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 1567359.09, "Total Cost": 1567364.25, "Plan Rows": 42, "Plan Width": 236, "Actual Startup Time": 12569.774, "Actual Total Time": 15236.875, "Actual Rows": 32, "Actual Loops": 1, "Output": ["l_returnflag", "l_linestatus", "(PARTIAL sum(l_quantity))", "(PARTIAL sum(l_extendedprice))", "(PARTIAL sum((l_extendedprice * ('1'::numeric - l_discount))))", "(PARTIAL sum(((l_extendedprice * ('1'::numeric - l_discount)) * ('1'::numeric + l_tax))))", "(PARTIAL avg(l_quantity))", "(PARTIAL avg(l_extendedprice))", "(PARTIAL avg(l_discount))", "(PARTIAL count(*))"], "Workers Planned": 7, "Workers Launched": 7, "Plans": [{"Node Type": "Sort", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 1566358.97, "Total Cost": 1566358.99, "Plan Rows": 6, "Plan Width": 236, "Actual Startup Time": 12565.044, "Actual Total Time": 12565.047, "Actual Rows": 4, "Actual Loops": 8, "Output": ["l_returnflag", "l_linestatus", "(PARTIAL sum(l_quantity))", "(PARTIAL sum(l_extendedprice))", "(PARTIAL sum((l_extendedprice * ('1'::numeric - l_discount))))", "(PARTIAL sum(((l_extendedprice * ('1'::numeric - l_discount)) * ('1'::numeric + l_tax))))", "(PARTIAL avg(l_quantity))", "(PARTIAL avg(l_extendedprice))", "(PARTIAL avg(l_discount))", "(PARTIAL count(*))"], "Sort Key": ["lineitem.l_returnflag", "lineitem.l_linestatus"], "Sort Method": "quicksort", "Sort Space Used": 27, "Sort Space Type": "Memory", "Workers": [{"Worker Number": 0, "Actual Startup Time": 12564.417, "Actual Total Time": 12564.422, "Actual Rows": 4, "Actual Loops": 1, "Sort Method": "quicksort", "Sort Space Used": 27, "Sort Space Type": "Memory"}, {"Worker Number": 1, "Actual Startup Time": 12564.449, "Actual Total Time": 12564.452, "Actual Rows": 4, "Actual Loops": 1, "Sort Method": "quicksort", "Sort Space Used": 27, "Sort Space Type": "Memory"}, {"Worker Number": 2, "Actual Startup Time": 12564.443, "Actual Total Time": 12564.446, "Actual Rows": 4, "Actual Loops": 1, "Sort Method": "quicksort", "Sort Space Used": 27, "Sort Space Type": "Memory"}, {"Worker Number": 3, "Actual Startup Time": 12564.444, "Actual Total Time": 12564.447, "Actual Rows": 4, "Actual Loops": 1, "Sort Method": "quicksort", "Sort Space Used": 27, "Sort Space Type": "Memory"}, {"Worker Number": 4, "Actual Startup Time": 12564.448, "Actual Total Time": 12564.45, "Actual Rows": 4, "Actual Loops": 1, "Sort Method": "quicksort", "Sort Space Used": 27, "Sort Space Type": "Memory"}, {"Worker Number": 5, "Actual Startup Time": 12564.459, "Actual Total Time": 12564.461, "Actual Rows": 4, "Actual Loops": 1, "Sort Method": "quicksort", "Sort Space Used": 27, "Sort Space Type": "Memory"}, {"Worker Number": 6, "Actual Startup Time": 12564.405, "Actual Total Time": 12564.409, "Actual Rows": 4, "Actual Loops": 1, "Sort Method": "quicksort", "Sort Space Used": 27, "Sort Space Type": "Memory"}], "Plans": [{"Node Type": "Aggregate", "Strategy": "Hashed", "Partial Mode": "Partial", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 1566358.73, "Total Cost": 1566358.9, "Plan Rows": 6, "Plan Width": 236, "Actual Startup Time": 12564.988, "Actual Total Time": 12565.0, "Actual Rows": 4, "Actual Loops": 8, "Output": ["l_returnflag", "l_linestatus", "PARTIAL sum(l_quantity)", "PARTIAL sum(l_extendedprice)", "PARTIAL sum((l_extendedprice * ('1'::numeric - l_discount)))", "PARTIAL sum(((l_extendedprice * ('1'::numeric - l_discount)) * ('1'::numeric + l_tax)))", "PARTIAL avg(l_quantity)", "PARTIAL avg(l_extendedprice)", "PARTIAL avg(l_discount)", "PARTIAL count(*)"], "Group Key": ["lineitem.l_returnflag", "lineitem.l_linestatus"], "Planned Partitions": 0, "HashAgg Batches": 1, "Peak Memory Usage": 24, "Disk Usage": 0, "Workers": [{"Worker Number": 0, "Actual Startup Time": 12564.349, "Actual Total Time": 12564.363, "Actual Rows": 4, "Actual Loops": 1, "HashAgg Batches": 1, "Peak Memory Usage": 24, "Disk Usage": 0}, {"Worker Number": 1, "Actual Startup Time": 12564.393, "Actual Total Time": 12564.405, "Actual Rows": 4, "Actual Loops": 1, "HashAgg Batches": 1, "Peak Memory Usage": 24, "Disk Usage": 0}, {"Worker Number": 2, "Actual Startup Time": 12564.381, "Actual Total Time": 12564.393, "Actual Rows": 4, "Actual Loops": 1, "HashAgg Batches": 1, "Peak Memory Usage": 24, "Disk Usage": 0}, {"Worker Number": 3, "Actual Startup Time": 12564.382, "Actual Total Time": 12564.394, "Actual Rows": 4, "Actual Loops": 1, "HashAgg Batches": 1, "Peak Memory Usage": 24, "Disk Usage": 0}, {"Worker Number": 4, "Actual Startup Time": 12564.388, "Actual Total Time": 12564.4, "Actual Rows": 4, "Actual Loops": 1, "HashAgg Batches": 1, "Peak Memory Usage": 24, "Disk Usage": 0}, {"Worker Number": 5, "Actual Startup Time": 12564.398, "Actual Total Time": 12564.409, "Actual Rows": 4, "Actual Loops": 1, "HashAgg Batches": 1, "Peak Memory Usage": 24, "Disk Usage": 0}, {"Worker Number": 6, "Actual Startup Time": 12564.345, "Actual Total Time": 12564.357, "Actual Rows": 4, "Actual Loops": 1, "HashAgg Batches": 1, "Peak Memory Usage": 24, "Disk Usage": 0}], "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": true, "Relation Name": "lineitem", "Schema": "public", "Alias": "lineitem", "Startup Cost": 0.0, "Total Cost": 1231657.37, "Plan Rows": 8367534, "Plan Width": 25, "Actual Startup Time": 0.029, "Actual Total Time": 2351.867, "Actual Rows": 7323456, "Actual Loops": 8, "Output": ["l_orderkey", "l_partkey", "l_suppkey", "l_linenumber", "l_quantity", "l_extendedprice", "l_discount", "l_tax", "l_returnflag", "l_linestatus", "l_shipdate", "l_commitdate", "l_receiptdate", "l_shipinstruct", "l_shipmode", "l_comment"], "Filter": "(lineitem.l_shipdate <= '1998-08-07 23:59:57'::timestamp without time zone)", "Rows Removed by Filter": 174801, "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.028, "Actual Total Time": 2483.082, "Actual Rows": 7199077, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 0.033, "Actual Total Time": 2380.03, "Actual Rows": 7303097, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 0.031, "Actual Total Time": 2528.619, "Actual Rows": 7204874, "Actual Loops": 1}, {"Worker Number": 3, "Actual Startup Time": 0.029, "Actual Total Time": 2377.161, "Actual Rows": 7311456, "Actual Loops": 1}, {"Worker Number": 4, "Actual Startup Time": 0.032, "Actual Total Time": 2372.925, "Actual Rows": 7318376, "Actual Loops": 1}, {"Worker Number": 5, "Actual Startup Time": 0.027, "Actual Total Time": 2364.63, "Actual Rows": 7274382, "Actual Loops": 1}, {"Worker Number": 6, "Actual Startup Time": 0.035, "Actual Total Time": 2384.569, "Actual Rows": 7308849, "Actual Loops": 1}]}]}]}]}]}, "Planning Time": 0.702, "Triggers": [], "Execution Time": 15237.174} diff --git a/dev9/pg13/tpch/sf_10/explain_analyze/15721/10-1.ok b/dev9/pg13/tpch/sf_10/explain_analyze/15721/10-1.ok new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/dev9/pg13/tpch/sf_10/explain_analyze/15721/10-1.res b/dev9/pg13/tpch/sf_10/explain_analyze/15721/10-1.res new file mode 100644 index 0000000000000000000000000000000000000000..d4fb76854ce01e2047476b9755015ed784acab57 --- /dev/null +++ b/dev9/pg13/tpch/sf_10/explain_analyze/15721/10-1.res @@ -0,0 +1 @@ +{"Plan": {"Node Type": "Limit", "Parallel Aware": false, "Startup Cost": 633818.0, "Total Cost": 633818.05, "Plan Rows": 20, "Plan Width": 202, "Actual Startup Time": 3094.451, "Actual Total Time": 3284.216, "Actual Rows": 20, "Actual Loops": 1, "Output": ["customer.c_custkey", "customer.c_name", "(sum((lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount))))", "customer.c_acctbal", "nation.n_name", "customer.c_address", "customer.c_phone", "customer.c_comment"], "Plans": [{"Node Type": "Sort", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 633818.0, "Total Cost": 635173.97, "Plan Rows": 542388, "Plan Width": 202, "Actual Startup Time": 3094.45, "Actual Total Time": 3284.211, "Actual Rows": 20, "Actual Loops": 1, "Output": ["customer.c_custkey", "customer.c_name", "(sum((lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount))))", "customer.c_acctbal", "nation.n_name", "customer.c_address", "customer.c_phone", "customer.c_comment"], "Sort Key": ["(sum((lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount)))) DESC"], "Sort Method": "top-N heapsort", "Sort Space Used": 34, "Sort Space Type": "Memory", "Plans": [{"Node Type": "Aggregate", "Strategy": "Sorted", "Partial Mode": "Simple", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 540882.92, "Total Cost": 619385.25, "Plan Rows": 542388, "Plan Width": 202, "Actual Startup Time": 1818.446, "Actual Total Time": 3149.317, "Actual Rows": 372741, "Actual Loops": 1, "Output": ["customer.c_custkey", "customer.c_name", "sum((lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount)))", "customer.c_acctbal", "nation.n_name", "customer.c_address", "customer.c_phone", "customer.c_comment"], "Group Key": ["customer.c_custkey", "nation.n_name"], "Plans": [{"Node Type": "Gather Merge", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 540882.92, "Total Cost": 605825.55, "Plan Rows": 542388, "Plan Width": 182, "Actual Startup Time": 1818.425, "Actual Total Time": 2263.06, "Actual Rows": 1112878, "Actual Loops": 1, "Output": ["customer.c_custkey", "nation.n_name", "customer.c_name", "lineitem.l_extendedprice", "lineitem.l_discount", "customer.c_acctbal", "customer.c_address", "customer.c_phone", "customer.c_comment"], "Workers Planned": 4, "Workers Launched": 4, "Plans": [{"Node Type": "Sort", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 539882.86, "Total Cost": 540221.85, "Plan Rows": 135597, "Plan Width": 182, "Actual Startup Time": 1804.933, "Actual Total Time": 1841.566, "Actual Rows": 222576, "Actual Loops": 5, "Output": ["customer.c_custkey", "nation.n_name", "customer.c_name", "lineitem.l_extendedprice", "lineitem.l_discount", "customer.c_acctbal", "customer.c_address", "customer.c_phone", "customer.c_comment"], "Sort Key": ["customer.c_custkey", "nation.n_name"], "Sort Method": "external merge", "Sort Space Used": 46512, "Sort Space Type": "Disk", "Workers": [{"Worker Number": 0, "Actual Startup Time": 1801.661, "Actual Total Time": 1837.358, "Actual Rows": 217813, "Actual Loops": 1, "Sort Method": "external merge", "Sort Space Used": 41576, "Sort Space Type": "Disk"}, {"Worker Number": 1, "Actual Startup Time": 1802.304, "Actual Total Time": 1837.903, "Actual Rows": 217479, "Actual Loops": 1, "Sort Method": "external merge", "Sort Space Used": 41464, "Sort Space Type": "Disk"}, {"Worker Number": 2, "Actual Startup Time": 1801.627, "Actual Total Time": 1837.52, "Actual Rows": 217515, "Actual Loops": 1, "Sort Method": "external merge", "Sort Space Used": 41488, "Sort Space Type": "Disk"}, {"Worker Number": 3, "Actual Startup Time": 1801.186, "Actual Total Time": 1836.978, "Actual Rows": 216173, "Actual Loops": 1, "Sort Method": "external merge", "Sort Space Used": 41304, "Sort Space Type": "Disk"}], "Plans": [{"Node Type": "Hash Join", "Parent Relationship": "Outer", "Parallel Aware": false, "Join Type": "Inner", "Startup Cost": 478702.74, "Total Cost": 521265.77, "Plan Rows": 135597, "Plan Width": 182, "Actual Startup Time": 1358.011, "Actual Total Time": 1629.338, "Actual Rows": 222576, "Actual Loops": 5, "Output": ["customer.c_custkey", "nation.n_name", "customer.c_name", "lineitem.l_extendedprice", "lineitem.l_discount", "customer.c_acctbal", "customer.c_address", "customer.c_phone", "customer.c_comment"], "Inner Unique": true, "Hash Cond": "(customer.c_nationkey = nation.n_nationkey)", "Workers": [{"Worker Number": 0, "Actual Startup Time": 1357.047, "Actual Total Time": 1624.756, "Actual Rows": 217813, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 1357.047, "Actual Total Time": 1625.518, "Actual Rows": 217479, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 1357.051, "Actual Total Time": 1625.735, "Actual Rows": 217515, "Actual Loops": 1}, {"Worker Number": 3, "Actual Startup Time": 1357.049, "Actual Total Time": 1625.49, "Actual Rows": 216173, "Actual Loops": 1}], "Plans": [{"Node Type": "Hash Join", "Parent Relationship": "Outer", "Parallel Aware": true, "Join Type": "Inner", "Startup Cost": 478701.17, "Total Cost": 520847.92, "Plan Rows": 135597, "Plan Width": 160, "Actual Startup Time": 1357.788, "Actual Total Time": 1578.172, "Actual Rows": 222576, "Actual Loops": 5, "Output": ["customer.c_custkey", "customer.c_name", "customer.c_acctbal", "customer.c_address", "customer.c_phone", "customer.c_comment", "customer.c_nationkey", "lineitem.l_extendedprice", "lineitem.l_discount"], "Inner Unique": false, "Hash Cond": "(customer.c_custkey = orders.o_custkey)", "Workers": [{"Worker Number": 0, "Actual Startup Time": 1356.777, "Actual Total Time": 1574.804, "Actual Rows": 217813, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 1356.774, "Actual Total Time": 1575.557, "Actual Rows": 217479, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 1356.782, "Actual Total Time": 1575.642, "Actual Rows": 217515, "Actual Loops": 1}, {"Worker Number": 3, "Actual Startup Time": 1356.775, "Actual Total Time": 1575.702, "Actual Rows": 216173, "Actual Loops": 1}], "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": true, "Relation Name": "customer", "Schema": "public", "Alias": "customer", "Startup Cost": 0.0, "Total Cost": 39577.0, "Plan Rows": 375000, "Plan Width": 148, "Actual Startup Time": 0.019, "Actual Total Time": 40.196, "Actual Rows": 300000, "Actual Loops": 5, "Output": ["customer.c_custkey", "customer.c_name", "customer.c_address", "customer.c_nationkey", "customer.c_phone", "customer.c_acctbal", "customer.c_mktsegment", "customer.c_comment"], "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.026, "Actual Total Time": 41.817, "Actual Rows": 294040, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 0.021, "Actual Total Time": 41.543, "Actual Rows": 292886, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 0.023, "Actual Total Time": 41.942, "Actual Rows": 293540, "Actual Loops": 1}, {"Worker Number": 3, "Actual Startup Time": 0.02, "Actual Total Time": 41.778, "Actual Rows": 292747, "Actual Loops": 1}]}, {"Node Type": "Hash", "Parent Relationship": "Inner", "Parallel Aware": true, "Startup Cost": 477571.2, "Total Cost": 477571.2, "Plan Rows": 90398, "Plan Width": 16, "Actual Startup Time": 1356.284, "Actual Total Time": 1356.286, "Actual Rows": 222576, "Actual Loops": 5, "Output": ["orders.o_custkey", "lineitem.l_extendedprice", "lineitem.l_discount"], "Hash Buckets": 2097152, "Original Hash Buckets": 1048576, "Hash Batches": 1, "Original Hash Batches": 1, "Peak Memory Usage": 83456, "Workers": [{"Worker Number": 0, "Actual Startup Time": 1356.721, "Actual Total Time": 1356.723, "Actual Rows": 205283, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 1356.723, "Actual Total Time": 1356.725, "Actual Rows": 205764, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 1356.715, "Actual Total Time": 1356.718, "Actual Rows": 203724, "Actual Loops": 1}, {"Worker Number": 3, "Actual Startup Time": 1356.706, "Actual Total Time": 1356.709, "Actual Rows": 204437, "Actual Loops": 1}], "Plans": [{"Node Type": "Nested Loop", "Parent Relationship": "Outer", "Parallel Aware": false, "Join Type": "Inner", "Startup Cost": 6133.33, "Total Cost": 477571.2, "Plan Rows": 90398, "Plan Width": 16, "Actual Startup Time": 175.131, "Actual Total Time": 1254.521, "Actual Rows": 222576, "Actual Loops": 5, "Output": ["orders.o_custkey", "lineitem.l_extendedprice", "lineitem.l_discount"], "Inner Unique": false, "Workers": [{"Worker Number": 0, "Actual Startup Time": 175.339, "Actual Total Time": 1255.2, "Actual Rows": 205283, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 175.294, "Actual Total Time": 1256.631, "Actual Rows": 205764, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 175.296, "Actual Total Time": 1260.612, "Actual Rows": 203724, "Actual Loops": 1}, {"Worker Number": 3, "Actual Startup Time": 175.288, "Actual Total Time": 1261.11, "Actual Rows": 204437, "Actual Loops": 1}], "Plans": [{"Node Type": "Bitmap Heap Scan", "Parent Relationship": "Outer", "Parallel Aware": true, "Relation Name": "orders", "Schema": "public", "Alias": "orders", "Startup Cost": 6132.76, "Total Cost": 268414.62, "Plan Rows": 91324, "Plan Width": 8, "Actual Startup Time": 175.011, "Actual Total Time": 393.159, "Actual Rows": 111024, "Actual Loops": 5, "Output": ["orders.o_orderkey", "orders.o_custkey", "orders.o_orderstatus", "orders.o_totalprice", "orders.o_orderdate", "orders.o_orderpriority", "orders.o_clerk", "orders.o_shippriority", "orders.o_comment"], "Recheck Cond": "((orders.o_orderdate >= '1993-02-01'::date) AND (orders.o_orderdate < '1993-05-01 00:00:00'::timestamp without time zone))", "Rows Removed by Index Recheck": 0, "Exact Heap Blocks": 60920, "Lossy Heap Blocks": 0, "Workers": [{"Worker Number": 0, "Actual Startup Time": 175.196, "Actual Total Time": 401.654, "Actual Rows": 102198, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 175.155, "Actual Total Time": 402.093, "Actual Rows": 102650, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 175.142, "Actual Total Time": 403.977, "Actual Rows": 101858, "Actual Loops": 1}, {"Worker Number": 3, "Actual Startup Time": 175.16, "Actual Total Time": 404.329, "Actual Rows": 101867, "Actual Loops": 1}], "Plans": [{"Node Type": "Bitmap Index Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Index Name": "o_od", "Startup Cost": 0.0, "Total Cost": 5995.78, "Plan Rows": 547944, "Plan Width": 0, "Actual Startup Time": 93.714, "Actual Total Time": 93.714, "Actual Rows": 555118, "Actual Loops": 1, "Index Cond": "((orders.o_orderdate >= '1993-02-01'::date) AND (orders.o_orderdate < '1993-05-01 00:00:00'::timestamp without time zone))", "Workers": []}]}, {"Node Type": "Index Scan", "Parent Relationship": "Inner", "Parallel Aware": false, "Scan Direction": "Forward", "Index Name": "l_ok", "Relation Name": "lineitem", "Schema": "public", "Alias": "lineitem", "Startup Cost": 0.56, "Total Cost": 2.22, "Plan Rows": 7, "Plan Width": 16, "Actual Startup Time": 0.006, "Actual Total Time": 0.007, "Actual Rows": 2, "Actual Loops": 555118, "Output": ["lineitem.l_orderkey", "lineitem.l_partkey", "lineitem.l_suppkey", "lineitem.l_linenumber", "lineitem.l_quantity", "lineitem.l_extendedprice", "lineitem.l_discount", "lineitem.l_tax", "lineitem.l_returnflag", "lineitem.l_linestatus", "lineitem.l_shipdate", "lineitem.l_commitdate", "lineitem.l_receiptdate", "lineitem.l_shipinstruct", "lineitem.l_shipmode", "lineitem.l_comment"], "Index Cond": "(lineitem.l_orderkey = orders.o_orderkey)", "Rows Removed by Index Recheck": 0, "Filter": "(lineitem.l_returnflag = 'R'::bpchar)", "Rows Removed by Filter": 2, "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.007, "Actual Total Time": 0.008, "Actual Rows": 2, "Actual Loops": 102198}, {"Worker Number": 1, "Actual Startup Time": 0.007, "Actual Total Time": 0.008, "Actual Rows": 2, "Actual Loops": 102650}, {"Worker Number": 2, "Actual Startup Time": 0.007, "Actual Total Time": 0.008, "Actual Rows": 2, "Actual Loops": 101858}, {"Worker Number": 3, "Actual Startup Time": 0.007, "Actual Total Time": 0.008, "Actual Rows": 2, "Actual Loops": 101867}]}]}]}]}, {"Node Type": "Hash", "Parent Relationship": "Inner", "Parallel Aware": false, "Startup Cost": 1.25, "Total Cost": 1.25, "Plan Rows": 25, "Plan Width": 30, "Actual Startup Time": 0.035, "Actual Total Time": 0.035, "Actual Rows": 25, "Actual Loops": 5, "Output": ["nation.n_name", "nation.n_nationkey"], "Hash Buckets": 1024, "Original Hash Buckets": 1024, "Hash Batches": 1, "Original Hash Batches": 1, "Peak Memory Usage": 10, "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.039, "Actual Total Time": 0.04, "Actual Rows": 25, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 0.035, "Actual Total Time": 0.035, "Actual Rows": 25, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 0.038, "Actual Total Time": 0.039, "Actual Rows": 25, "Actual Loops": 1}, {"Worker Number": 3, "Actual Startup Time": 0.041, "Actual Total Time": 0.042, "Actual Rows": 25, "Actual Loops": 1}], "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Relation Name": "nation", "Schema": "public", "Alias": "nation", "Startup Cost": 0.0, "Total Cost": 1.25, "Plan Rows": 25, "Plan Width": 30, "Actual Startup Time": 0.021, "Actual Total Time": 0.025, "Actual Rows": 25, "Actual Loops": 5, "Output": ["nation.n_name", "nation.n_nationkey"], "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.025, "Actual Total Time": 0.029, "Actual Rows": 25, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 0.02, "Actual Total Time": 0.024, "Actual Rows": 25, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 0.024, "Actual Total Time": 0.028, "Actual Rows": 25, "Actual Loops": 1}, {"Worker Number": 3, "Actual Startup Time": 0.027, "Actual Total Time": 0.031, "Actual Rows": 25, "Actual Loops": 1}]}]}]}]}]}]}]}]}, "Planning Time": 1.079, "Triggers": [], "Execution Time": 3293.6} diff --git a/dev9/pg13/tpch/sf_10/explain_analyze/15721/11-1.ok b/dev9/pg13/tpch/sf_10/explain_analyze/15721/11-1.ok new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/dev9/pg13/tpch/sf_10/explain_analyze/15721/11-1.res b/dev9/pg13/tpch/sf_10/explain_analyze/15721/11-1.res new file mode 100644 index 0000000000000000000000000000000000000000..9d3b963c2a6a79ef0ca7cf9536911fb8f583915f --- /dev/null +++ b/dev9/pg13/tpch/sf_10/explain_analyze/15721/11-1.res @@ -0,0 +1 @@ +{"Plan": {"Node Type": "Sort", "Parallel Aware": false, "Startup Cost": 70082.5, "Total Cost": 70349.16, "Plan Rows": 106666, "Plan Width": 36, "Actual Startup Time": 1206.936, "Actual Total Time": 1207.014, "Actual Rows": 0, "Actual Loops": 1, "Output": ["partsupp.ps_partkey", "(sum((partsupp.ps_supplycost * (partsupp.ps_availqty)::numeric)))"], "Sort Key": ["(sum((partsupp.ps_supplycost * (partsupp.ps_availqty)::numeric))) DESC"], "Sort Method": "quicksort", "Sort Space Used": 25, "Sort Space Type": "Memory", "Plans": [{"Node Type": "Aggregate", "Strategy": "Plain", "Partial Mode": "Finalize", "Parent Relationship": "InitPlan", "Subplan Name": "InitPlan 1 (returns $2)", "Parallel Aware": false, "Startup Cost": 16279.16, "Total Cost": 16279.17, "Plan Rows": 1, "Plan Width": 32, "Actual Startup Time": 320.49, "Actual Total Time": 320.563, "Actual Rows": 1, "Actual Loops": 1, "Output": ["(sum((partsupp_1.ps_supplycost * (partsupp_1.ps_availqty)::numeric)) * 0.0001000000)"], "Plans": [{"Node Type": "Gather", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 16279.04, "Total Cost": 16279.15, "Plan Rows": 1, "Plan Width": 32, "Actual Startup Time": 320.452, "Actual Total Time": 320.554, "Actual Rows": 2, "Actual Loops": 1, "Output": ["(PARTIAL sum((partsupp_1.ps_supplycost * (partsupp_1.ps_availqty)::numeric)))"], "Workers Planned": 1, "Workers Launched": 1, "Single Copy": false, "Plans": [{"Node Type": "Aggregate", "Strategy": "Plain", "Partial Mode": "Partial", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 15279.04, "Total Cost": 15279.05, "Plan Rows": 1, "Plan Width": 32, "Actual Startup Time": 317.808, "Actual Total Time": 317.813, "Actual Rows": 1, "Actual Loops": 2, "Output": ["PARTIAL sum((partsupp_1.ps_supplycost * (partsupp_1.ps_availqty)::numeric))"], "Workers": [{"Worker Number": 0, "Actual Startup Time": 315.476, "Actual Total Time": 315.479, "Actual Rows": 1, "Actual Loops": 1}], "Plans": [{"Node Type": "Nested Loop", "Parent Relationship": "Outer", "Parallel Aware": false, "Join Type": "Inner", "Startup Cost": 1.76, "Total Cost": 13867.29, "Plan Rows": 188234, "Plan Width": 10, "Actual Startup Time": 0.194, "Actual Total Time": 263.349, "Actual Rows": 159520, "Actual Loops": 2, "Output": ["partsupp_1.ps_supplycost", "partsupp_1.ps_availqty"], "Inner Unique": false, "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.344, "Actual Total Time": 269.508, "Actual Rows": 130080, "Actual Loops": 1}], "Plans": [{"Node Type": "Hash Join", "Parent Relationship": "Outer", "Parallel Aware": false, "Join Type": "Inner", "Startup Cost": 1.32, "Total Cost": 2986.15, "Plan Rows": 2353, "Plan Width": 4, "Actual Startup Time": 0.128, "Actual Total Time": 18.637, "Actual Rows": 1994, "Actual Loops": 2, "Output": ["supplier_1.s_suppkey"], "Inner Unique": true, "Hash Cond": "(supplier_1.s_nationkey = nation_1.n_nationkey)", "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.224, "Actual Total Time": 16.095, "Actual Rows": 1626, "Actual Loops": 1}], "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": true, "Relation Name": "supplier", "Schema": "public", "Alias": "supplier_1", "Startup Cost": 0.0, "Total Cost": 2804.24, "Plan Rows": 58824, "Plan Width": 8, "Actual Startup Time": 0.012, "Actual Total Time": 5.255, "Actual Rows": 50000, "Actual Loops": 2, "Output": ["supplier_1.s_suppkey", "supplier_1.s_name", "supplier_1.s_address", "supplier_1.s_nationkey", "supplier_1.s_phone", "supplier_1.s_acctbal", "supplier_1.s_comment"], "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.02, "Actual Total Time": 4.618, "Actual Rows": 40578, "Actual Loops": 1}]}, {"Node Type": "Hash", "Parent Relationship": "Inner", "Parallel Aware": false, "Startup Cost": 1.31, "Total Cost": 1.31, "Plan Rows": 1, "Plan Width": 4, "Actual Startup Time": 0.023, "Actual Total Time": 0.024, "Actual Rows": 1, "Actual Loops": 2, "Output": ["nation_1.n_nationkey"], "Hash Buckets": 1024, "Original Hash Buckets": 1024, "Hash Batches": 1, "Original Hash Batches": 1, "Peak Memory Usage": 9, "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.033, "Actual Total Time": 0.034, "Actual Rows": 1, "Actual Loops": 1}], "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Relation Name": "nation", "Schema": "public", "Alias": "nation_1", "Startup Cost": 0.0, "Total Cost": 1.31, "Plan Rows": 1, "Plan Width": 4, "Actual Startup Time": 0.019, "Actual Total Time": 0.02, "Actual Rows": 1, "Actual Loops": 2, "Output": ["nation_1.n_nationkey"], "Filter": "(nation_1.n_name = 'CHINA'::bpchar)", "Rows Removed by Filter": 24, "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.028, "Actual Total Time": 0.03, "Actual Rows": 1, "Actual Loops": 1}]}]}]}, {"Node Type": "Index Scan", "Parent Relationship": "Inner", "Parallel Aware": false, "Scan Direction": "Forward", "Index Name": "ps_sk", "Relation Name": "partsupp", "Schema": "public", "Alias": "partsupp_1", "Startup Cost": 0.43, "Total Cost": 3.82, "Plan Rows": 80, "Plan Width": 14, "Actual Startup Time": 0.005, "Actual Total Time": 0.109, "Actual Rows": 80, "Actual Loops": 3988, "Output": ["partsupp_1.ps_partkey", "partsupp_1.ps_suppkey", "partsupp_1.ps_availqty", "partsupp_1.ps_supplycost", "partsupp_1.ps_comment"], "Index Cond": "(partsupp_1.ps_suppkey = supplier_1.s_suppkey)", "Rows Removed by Index Recheck": 0, "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.007, "Actual Total Time": 0.142, "Actual Rows": 80, "Actual Loops": 1626}]}]}]}]}]}, {"Node Type": "Aggregate", "Strategy": "Hashed", "Partial Mode": "Simple", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 36170.31, "Total Cost": 44895.25, "Plan Rows": 106666, "Plan Width": 36, "Actual Startup Time": 1206.93, "Actual Total Time": 1206.933, "Actual Rows": 0, "Actual Loops": 1, "Output": ["partsupp.ps_partkey", "sum((partsupp.ps_supplycost * (partsupp.ps_availqty)::numeric))"], "Group Key": ["partsupp.ps_partkey"], "Filter": "(sum((partsupp.ps_supplycost * (partsupp.ps_availqty)::numeric)) > $2)", "Planned Partitions": 8, "HashAgg Batches": 9, "Peak Memory Usage": 21585, "Disk Usage": 14976, "Rows Removed by Filter": 300316, "Plans": [{"Node Type": "Nested Loop", "Parent Relationship": "Outer", "Parallel Aware": false, "Join Type": "Inner", "Startup Cost": 36.12, "Total Cost": 20732.9, "Plan Rows": 319998, "Plan Width": 14, "Actual Startup Time": 0.711, "Actual Total Time": 426.339, "Actual Rows": 319040, "Actual Loops": 1, "Output": ["partsupp.ps_partkey", "partsupp.ps_supplycost", "partsupp.ps_availqty"], "Inner Unique": false, "Plans": [{"Node Type": "Nested Loop", "Parent Relationship": "Outer", "Parallel Aware": false, "Join Type": "Inner", "Startup Cost": 35.69, "Total Cost": 2235.44, "Plan Rows": 4000, "Plan Width": 4, "Actual Startup Time": 0.696, "Actual Total Time": 5.584, "Actual Rows": 3988, "Actual Loops": 1, "Output": ["supplier.s_suppkey"], "Inner Unique": false, "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Relation Name": "nation", "Schema": "public", "Alias": "nation", "Startup Cost": 0.0, "Total Cost": 1.31, "Plan Rows": 1, "Plan Width": 4, "Actual Startup Time": 0.013, "Actual Total Time": 0.018, "Actual Rows": 1, "Actual Loops": 1, "Output": ["nation.n_nationkey", "nation.n_name", "nation.n_regionkey", "nation.n_comment"], "Filter": "(nation.n_name = 'CHINA'::bpchar)", "Rows Removed by Filter": 24}, {"Node Type": "Bitmap Heap Scan", "Parent Relationship": "Inner", "Parallel Aware": false, "Relation Name": "supplier", "Schema": "public", "Alias": "supplier", "Startup Cost": 35.69, "Total Cost": 2194.12, "Plan Rows": 4000, "Plan Width": 8, "Actual Startup Time": 0.681, "Actual Total Time": 4.953, "Actual Rows": 3988, "Actual Loops": 1, "Output": ["supplier.s_suppkey", "supplier.s_name", "supplier.s_address", "supplier.s_nationkey", "supplier.s_phone", "supplier.s_acctbal", "supplier.s_comment"], "Recheck Cond": "(supplier.s_nationkey = nation.n_nationkey)", "Rows Removed by Index Recheck": 0, "Exact Heap Blocks": 1857, "Lossy Heap Blocks": 0, "Plans": [{"Node Type": "Bitmap Index Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Index Name": "s_nk", "Startup Cost": 0.0, "Total Cost": 34.69, "Plan Rows": 4000, "Plan Width": 0, "Actual Startup Time": 0.364, "Actual Total Time": 0.364, "Actual Rows": 3988, "Actual Loops": 1, "Index Cond": "(supplier.s_nationkey = nation.n_nationkey)"}]}]}, {"Node Type": "Index Scan", "Parent Relationship": "Inner", "Parallel Aware": false, "Scan Direction": "Forward", "Index Name": "ps_sk", "Relation Name": "partsupp", "Schema": "public", "Alias": "partsupp", "Startup Cost": 0.43, "Total Cost": 3.82, "Plan Rows": 80, "Plan Width": 18, "Actual Startup Time": 0.004, "Actual Total Time": 0.092, "Actual Rows": 80, "Actual Loops": 3988, "Output": ["partsupp.ps_partkey", "partsupp.ps_suppkey", "partsupp.ps_availqty", "partsupp.ps_supplycost", "partsupp.ps_comment"], "Index Cond": "(partsupp.ps_suppkey = supplier.s_suppkey)", "Rows Removed by Index Recheck": 0}]}]}]}, "Planning Time": 0.863, "Triggers": [], "Execution Time": 1210.639} diff --git a/dev9/pg13/tpch/sf_10/explain_analyze/15721/12-1.ok b/dev9/pg13/tpch/sf_10/explain_analyze/15721/12-1.ok new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/dev9/pg13/tpch/sf_10/explain_analyze/15721/12-1.res b/dev9/pg13/tpch/sf_10/explain_analyze/15721/12-1.res new file mode 100644 index 0000000000000000000000000000000000000000..014cc8a12bf8426467750e2180d28520af24ce1b --- /dev/null +++ b/dev9/pg13/tpch/sf_10/explain_analyze/15721/12-1.res @@ -0,0 +1 @@ +{"Plan": {"Node Type": "Aggregate", "Strategy": "Sorted", "Partial Mode": "Finalize", "Parallel Aware": false, "Startup Cost": 1375963.29, "Total Cost": 1376797.04, "Plan Rows": 7, "Plan Width": 27, "Actual Startup Time": 3403.625, "Actual Total Time": 3654.791, "Actual Rows": 2, "Actual Loops": 1, "Output": ["lineitem.l_shipmode", "sum(CASE WHEN ((orders.o_orderpriority = '1-URGENT'::bpchar) OR (orders.o_orderpriority = '2-HIGH'::bpchar)) THEN 1 ELSE 0 END)", "sum(CASE WHEN ((orders.o_orderpriority <> '1-URGENT'::bpchar) AND (orders.o_orderpriority <> '2-HIGH'::bpchar)) THEN 1 ELSE 0 END)"], "Group Key": ["lineitem.l_shipmode"], "Plans": [{"Node Type": "Gather Merge", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 1375963.29, "Total Cost": 1376796.6, "Plan Rows": 49, "Plan Width": 27, "Actual Startup Time": 3393.814, "Actual Total Time": 3654.778, "Actual Rows": 16, "Actual Loops": 1, "Output": ["lineitem.l_shipmode", "(PARTIAL sum(CASE WHEN ((orders.o_orderpriority = '1-URGENT'::bpchar) OR (orders.o_orderpriority = '2-HIGH'::bpchar)) THEN 1 ELSE 0 END))", "(PARTIAL sum(CASE WHEN ((orders.o_orderpriority <> '1-URGENT'::bpchar) AND (orders.o_orderpriority <> '2-HIGH'::bpchar)) THEN 1 ELSE 0 END))"], "Workers Planned": 7, "Workers Launched": 7, "Plans": [{"Node Type": "Aggregate", "Strategy": "Sorted", "Partial Mode": "Partial", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 1374963.17, "Total Cost": 1375790.48, "Plan Rows": 7, "Plan Width": 27, "Actual Startup Time": 3386.787, "Actual Total Time": 3394.413, "Actual Rows": 2, "Actual Loops": 8, "Output": ["lineitem.l_shipmode", "PARTIAL sum(CASE WHEN ((orders.o_orderpriority = '1-URGENT'::bpchar) OR (orders.o_orderpriority = '2-HIGH'::bpchar)) THEN 1 ELSE 0 END)", "PARTIAL sum(CASE WHEN ((orders.o_orderpriority <> '1-URGENT'::bpchar) AND (orders.o_orderpriority <> '2-HIGH'::bpchar)) THEN 1 ELSE 0 END)"], "Group Key": ["lineitem.l_shipmode"], "Workers": [{"Worker Number": 0, "Actual Startup Time": 3385.694, "Actual Total Time": 3393.191, "Actual Rows": 2, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 3386.285, "Actual Total Time": 3393.507, "Actual Rows": 2, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 3385.432, "Actual Total Time": 3392.212, "Actual Rows": 2, "Actual Loops": 1}, {"Worker Number": 3, "Actual Startup Time": 3386.01, "Actual Total Time": 3393.464, "Actual Rows": 2, "Actual Loops": 1}, {"Worker Number": 4, "Actual Startup Time": 3385.774, "Actual Total Time": 3393.14, "Actual Rows": 2, "Actual Loops": 1}, {"Worker Number": 5, "Actual Startup Time": 3386.069, "Actual Total Time": 3393.523, "Actual Rows": 2, "Actual Loops": 1}, {"Worker Number": 6, "Actual Startup Time": 3385.757, "Actual Total Time": 3393.192, "Actual Rows": 2, "Actual Loops": 1}], "Plans": [{"Node Type": "Sort", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 1374963.17, "Total Cost": 1375066.57, "Plan Rows": 41362, "Plan Width": 27, "Actual Startup Time": 3379.12, "Actual Total Time": 3381.4, "Actual Rows": 38973, "Actual Loops": 8, "Output": ["lineitem.l_shipmode", "orders.o_orderpriority"], "Sort Key": ["lineitem.l_shipmode"], "Sort Method": "quicksort", "Sort Space Used": 5443, "Sort Space Type": "Memory", "Workers": [{"Worker Number": 0, "Actual Startup Time": 3378.333, "Actual Total Time": 3380.547, "Actual Rows": 37931, "Actual Loops": 1, "Sort Method": "quicksort", "Sort Space Used": 4500, "Sort Space Type": "Memory"}, {"Worker Number": 1, "Actual Startup Time": 3378.93, "Actual Total Time": 3381.11, "Actual Rows": 37118, "Actual Loops": 1, "Sort Method": "quicksort", "Sort Space Used": 4436, "Sort Space Type": "Memory"}, {"Worker Number": 2, "Actual Startup Time": 3378.439, "Actual Total Time": 3380.495, "Actual Rows": 34996, "Actual Loops": 1, "Sort Method": "quicksort", "Sort Space Used": 4271, "Sort Space Type": "Memory"}, {"Worker Number": 3, "Actual Startup Time": 3378.479, "Actual Total Time": 3380.721, "Actual Rows": 38161, "Actual Loops": 1, "Sort Method": "quicksort", "Sort Space Used": 4518, "Sort Space Type": "Memory"}, {"Worker Number": 4, "Actual Startup Time": 3378.303, "Actual Total Time": 3380.521, "Actual Rows": 37818, "Actual Loops": 1, "Sort Method": "quicksort", "Sort Space Used": 4491, "Sort Space Type": "Memory"}, {"Worker Number": 5, "Actual Startup Time": 3378.581, "Actual Total Time": 3380.803, "Actual Rows": 37973, "Actual Loops": 1, "Sort Method": "quicksort", "Sort Space Used": 4503, "Sort Space Type": "Memory"}, {"Worker Number": 6, "Actual Startup Time": 3378.388, "Actual Total Time": 3380.597, "Actual Rows": 37783, "Actual Loops": 1, "Sort Method": "quicksort", "Sort Space Used": 4488, "Sort Space Type": "Memory"}], "Plans": [{"Node Type": "Nested Loop", "Parent Relationship": "Outer", "Parallel Aware": false, "Join Type": "Inner", "Startup Cost": 0.43, "Total Cost": 1371791.53, "Plan Rows": 41362, "Plan Width": 27, "Actual Startup Time": 0.186, "Actual Total Time": 3366.435, "Actual Rows": 38973, "Actual Loops": 8, "Output": ["lineitem.l_shipmode", "orders.o_orderpriority"], "Inner Unique": true, "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.203, "Actual Total Time": 3365.827, "Actual Rows": 37931, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 0.266, "Actual Total Time": 3365.741, "Actual Rows": 37118, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 0.18, "Actual Total Time": 3365.893, "Actual Rows": 34996, "Actual Loops": 1}, {"Worker Number": 3, "Actual Startup Time": 0.225, "Actual Total Time": 3365.779, "Actual Rows": 38161, "Actual Loops": 1}, {"Worker Number": 4, "Actual Startup Time": 0.191, "Actual Total Time": 3365.888, "Actual Rows": 37818, "Actual Loops": 1}, {"Worker Number": 5, "Actual Startup Time": 0.179, "Actual Total Time": 3365.852, "Actual Rows": 37973, "Actual Loops": 1}, {"Worker Number": 6, "Actual Startup Time": 0.193, "Actual Total Time": 3365.857, "Actual Rows": 37783, "Actual Loops": 1}], "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": true, "Relation Name": "lineitem", "Schema": "public", "Alias": "lineitem", "Startup Cost": 0.0, "Total Cost": 1317349.67, "Plan Rows": 41362, "Plan Width": 15, "Actual Startup Time": 0.11, "Actual Total Time": 3102.917, "Actual Rows": 38973, "Actual Loops": 8, "Output": ["lineitem.l_orderkey", "lineitem.l_partkey", "lineitem.l_suppkey", "lineitem.l_linenumber", "lineitem.l_quantity", "lineitem.l_extendedprice", "lineitem.l_discount", "lineitem.l_tax", "lineitem.l_returnflag", "lineitem.l_linestatus", "lineitem.l_shipdate", "lineitem.l_commitdate", "lineitem.l_receiptdate", "lineitem.l_shipinstruct", "lineitem.l_shipmode", "lineitem.l_comment"], "Filter": "((lineitem.l_shipmode = ANY ('{MAIL,TRUCK}'::bpchar[])) AND (lineitem.l_commitdate < lineitem.l_receiptdate) AND (lineitem.l_shipdate < lineitem.l_commitdate) AND (lineitem.l_receiptdate >= '1995-01-01'::date) AND (lineitem.l_receiptdate < '1996-01-01 00:00:00'::timestamp without time zone))", "Rows Removed by Filter": 7459283, "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.122, "Actual Total Time": 3101.978, "Actual Rows": 37931, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 0.185, "Actual Total Time": 3086.76, "Actual Rows": 37118, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 0.076, "Actual Total Time": 3064.323, "Actual Rows": 34996, "Actual Loops": 1}, {"Worker Number": 3, "Actual Startup Time": 0.148, "Actual Total Time": 3100.548, "Actual Rows": 38161, "Actual Loops": 1}, {"Worker Number": 4, "Actual Startup Time": 0.112, "Actual Total Time": 3102.447, "Actual Rows": 37818, "Actual Loops": 1}, {"Worker Number": 5, "Actual Startup Time": 0.09, "Actual Total Time": 3101.093, "Actual Rows": 37973, "Actual Loops": 1}, {"Worker Number": 6, "Actual Startup Time": 0.114, "Actual Total Time": 3102.764, "Actual Rows": 37783, "Actual Loops": 1}]}, {"Node Type": "Index Scan", "Parent Relationship": "Inner", "Parallel Aware": false, "Scan Direction": "Forward", "Index Name": "o_ok", "Relation Name": "orders", "Schema": "public", "Alias": "orders", "Startup Cost": 0.43, "Total Cost": 1.32, "Plan Rows": 1, "Plan Width": 20, "Actual Startup Time": 0.006, "Actual Total Time": 0.006, "Actual Rows": 1, "Actual Loops": 311787, "Output": ["orders.o_orderkey", "orders.o_custkey", "orders.o_orderstatus", "orders.o_totalprice", "orders.o_orderdate", "orders.o_orderpriority", "orders.o_clerk", "orders.o_shippriority", "orders.o_comment"], "Index Cond": "(orders.o_orderkey = lineitem.l_orderkey)", "Rows Removed by Index Recheck": 0, "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.006, "Actual Total Time": 0.006, "Actual Rows": 1, "Actual Loops": 37931}, {"Worker Number": 1, "Actual Startup Time": 0.007, "Actual Total Time": 0.007, "Actual Rows": 1, "Actual Loops": 37118}, {"Worker Number": 2, "Actual Startup Time": 0.008, "Actual Total Time": 0.008, "Actual Rows": 1, "Actual Loops": 34996}, {"Worker Number": 3, "Actual Startup Time": 0.006, "Actual Total Time": 0.006, "Actual Rows": 1, "Actual Loops": 38161}, {"Worker Number": 4, "Actual Startup Time": 0.006, "Actual Total Time": 0.006, "Actual Rows": 1, "Actual Loops": 37818}, {"Worker Number": 5, "Actual Startup Time": 0.006, "Actual Total Time": 0.006, "Actual Rows": 1, "Actual Loops": 37973}, {"Worker Number": 6, "Actual Startup Time": 0.006, "Actual Total Time": 0.006, "Actual Rows": 1, "Actual Loops": 37783}]}]}]}]}]}]}, "Planning Time": 0.424, "Triggers": [], "Execution Time": 3654.86} diff --git a/dev9/pg13/tpch/sf_10/explain_analyze/15721/13-1.ok b/dev9/pg13/tpch/sf_10/explain_analyze/15721/13-1.ok new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/dev9/pg13/tpch/sf_10/explain_analyze/15721/13-1.res b/dev9/pg13/tpch/sf_10/explain_analyze/15721/13-1.res new file mode 100644 index 0000000000000000000000000000000000000000..d4aa958b12556bae6d096ef70ab162de88f303ba --- /dev/null +++ b/dev9/pg13/tpch/sf_10/explain_analyze/15721/13-1.res @@ -0,0 +1 @@ +{"Plan": {"Node Type": "Sort", "Parallel Aware": false, "Startup Cost": 895141.09, "Total Cost": 895141.59, "Plan Rows": 200, "Plan Width": 16, "Actual Startup Time": 27884.623, "Actual Total Time": 27884.628, "Actual Rows": 46, "Actual Loops": 1, "Output": ["(count(orders.o_orderkey))", "(count(*))"], "Sort Key": ["(count(*)) DESC", "(count(orders.o_orderkey)) DESC"], "Sort Method": "quicksort", "Sort Space Used": 27, "Sort Space Type": "Memory", "Plans": [{"Node Type": "Aggregate", "Strategy": "Hashed", "Partial Mode": "Simple", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 895131.45, "Total Cost": 895133.45, "Plan Rows": 200, "Plan Width": 16, "Actual Startup Time": 27884.584, "Actual Total Time": 27884.594, "Actual Rows": 46, "Actual Loops": 1, "Output": ["(count(orders.o_orderkey))", "count(*)"], "Group Key": ["count(orders.o_orderkey)"], "Planned Partitions": 0, "HashAgg Batches": 1, "Peak Memory Usage": 40, "Disk Usage": 0, "Plans": [{"Node Type": "Aggregate", "Strategy": "Sorted", "Partial Mode": "Simple", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 0.86, "Total Cost": 872631.45, "Plan Rows": 1500000, "Plan Width": 12, "Actual Startup Time": 0.076, "Actual Total Time": 27568.04, "Actual Rows": 1500000, "Actual Loops": 1, "Output": ["customer.c_custkey", "count(orders.o_orderkey)"], "Group Key": ["customer.c_custkey"], "Plans": [{"Node Type": "Merge Join", "Parent Relationship": "Outer", "Parallel Aware": false, "Join Type": "Left", "Startup Cost": 0.86, "Total Cost": 783229.24, "Plan Rows": 14880442, "Plan Width": 8, "Actual Startup Time": 0.026, "Actual Total Time": 25644.42, "Actual Rows": 15338712, "Actual Loops": 1, "Output": ["customer.c_custkey", "orders.o_orderkey"], "Inner Unique": false, "Merge Cond": "(customer.c_custkey = orders.o_custkey)", "Plans": [{"Node Type": "Index Only Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Scan Direction": "Forward", "Index Name": "c_ck", "Relation Name": "customer", "Schema": "public", "Alias": "customer", "Startup Cost": 0.43, "Total Cost": 27028.03, "Plan Rows": 1500000, "Plan Width": 4, "Actual Startup Time": 0.009, "Actual Total Time": 192.963, "Actual Rows": 1500000, "Actual Loops": 1, "Output": ["customer.c_custkey"], "Heap Fetches": 0}, {"Node Type": "Index Scan", "Parent Relationship": "Inner", "Parallel Aware": false, "Scan Direction": "Forward", "Index Name": "o_ck", "Relation Name": "orders", "Schema": "public", "Alias": "orders", "Startup Cost": 0.43, "Total Cost": 566445.69, "Plan Rows": 14880442, "Plan Width": 8, "Actual Startup Time": 0.014, "Actual Total Time": 23167.195, "Actual Rows": 14838692, "Actual Loops": 1, "Output": ["orders.o_orderkey", "orders.o_custkey", "orders.o_orderstatus", "orders.o_totalprice", "orders.o_orderdate", "orders.o_orderpriority", "orders.o_clerk", "orders.o_shippriority", "orders.o_comment"], "Filter": "((orders.o_comment)::text !~~ '%unusual%requests%'::text)", "Rows Removed by Filter": 161308}]}]}]}]}, "Planning Time": 0.543, "Triggers": [], "Execution Time": 27884.69} diff --git a/dev9/pg13/tpch/sf_10/explain_analyze/15721/14-1.ok b/dev9/pg13/tpch/sf_10/explain_analyze/15721/14-1.ok new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/dev9/pg13/tpch/sf_10/explain_analyze/15721/14-1.res b/dev9/pg13/tpch/sf_10/explain_analyze/15721/14-1.res new file mode 100644 index 0000000000000000000000000000000000000000..aea05f320a334e0dd4f08601ab42348592cb1e26 --- /dev/null +++ b/dev9/pg13/tpch/sf_10/explain_analyze/15721/14-1.res @@ -0,0 +1 @@ +{"Plan": {"Node Type": "Aggregate", "Strategy": "Plain", "Partial Mode": "Finalize", "Parallel Aware": false, "Startup Cost": 708474.39, "Total Cost": 708474.4, "Plan Rows": 1, "Plan Width": 32, "Actual Startup Time": 821.962, "Actual Total Time": 942.1, "Actual Rows": 1, "Actual Loops": 1, "Output": ["((100.00 * sum(CASE WHEN ((part.p_type)::text ~~ 'PROMO%'::text) THEN (lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount)) ELSE '0'::numeric END)) / sum((lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount))))"], "Plans": [{"Node Type": "Gather", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 708473.93, "Total Cost": 708474.34, "Plan Rows": 4, "Plan Width": 64, "Actual Startup Time": 815.277, "Actual Total Time": 942.078, "Actual Rows": 5, "Actual Loops": 1, "Output": ["(PARTIAL sum(CASE WHEN ((part.p_type)::text ~~ 'PROMO%'::text) THEN (lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount)) ELSE '0'::numeric END))", "(PARTIAL sum((lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount))))"], "Workers Planned": 4, "Workers Launched": 4, "Single Copy": false, "Plans": [{"Node Type": "Aggregate", "Strategy": "Plain", "Partial Mode": "Partial", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 707473.93, "Total Cost": 707473.94, "Plan Rows": 1, "Plan Width": 64, "Actual Startup Time": 810.608, "Actual Total Time": 810.612, "Actual Rows": 1, "Actual Loops": 5, "Output": ["PARTIAL sum(CASE WHEN ((part.p_type)::text ~~ 'PROMO%'::text) THEN (lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount)) ELSE '0'::numeric END)", "PARTIAL sum((lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount)))"], "Workers": [{"Worker Number": 0, "Actual Startup Time": 809.542, "Actual Total Time": 809.545, "Actual Rows": 1, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 809.534, "Actual Total Time": 809.538, "Actual Rows": 1, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 809.538, "Actual Total Time": 809.54, "Actual Rows": 1, "Actual Loops": 1}, {"Worker Number": 3, "Actual Startup Time": 809.562, "Actual Total Time": 809.564, "Actual Rows": 1, "Actual Loops": 1}], "Plans": [{"Node Type": "Hash Join", "Parent Relationship": "Outer", "Parallel Aware": true, "Join Type": "Inner", "Startup Cost": 649980.93, "Total Cost": 704070.32, "Plan Rows": 194492, "Plan Width": 33, "Actual Startup Time": 480.246, "Actual Total Time": 728.204, "Actual Rows": 154569, "Actual Loops": 5, "Output": ["part.p_type", "lineitem.l_extendedprice", "lineitem.l_discount"], "Inner Unique": false, "Hash Cond": "(part.p_partkey = lineitem.l_partkey)", "Workers": [{"Worker Number": 0, "Actual Startup Time": 479.281, "Actual Total Time": 727.894, "Actual Rows": 152943, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 479.28, "Actual Total Time": 727.834, "Actual Rows": 153093, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 479.285, "Actual Total Time": 728.469, "Actual Rows": 151896, "Actual Loops": 1}, {"Worker Number": 3, "Actual Startup Time": 479.277, "Actual Total Time": 728.677, "Actual Rows": 151523, "Actual Loops": 1}], "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": true, "Relation Name": "part", "Schema": "public", "Alias": "part", "Startup Cost": 0.0, "Total Cost": 45962.0, "Plan Rows": 500000, "Plan Width": 25, "Actual Startup Time": 0.018, "Actual Total Time": 51.943, "Actual Rows": 400000, "Actual Loops": 5, "Output": ["part.p_partkey", "part.p_name", "part.p_mfgr", "part.p_brand", "part.p_type", "part.p_size", "part.p_container", "part.p_retailprice", "part.p_comment"], "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.02, "Actual Total Time": 54.63, "Actual Rows": 395756, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 0.021, "Actual Total Time": 54.613, "Actual Rows": 395994, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 0.018, "Actual Total Time": 54.627, "Actual Rows": 394112, "Actual Loops": 1}, {"Worker Number": 3, "Actual Startup Time": 0.024, "Actual Total Time": 54.829, "Actual Rows": 392004, "Actual Loops": 1}]}, {"Node Type": "Hash", "Parent Relationship": "Inner", "Parallel Aware": true, "Startup Cost": 646843.97, "Total Cost": 646843.97, "Plan Rows": 250957, "Plan Width": 16, "Actual Startup Time": 478.523, "Actual Total Time": 478.524, "Actual Rows": 154569, "Actual Loops": 5, "Output": ["lineitem.l_extendedprice", "lineitem.l_discount", "lineitem.l_partkey"], "Hash Buckets": 1048576, "Original Hash Buckets": 1048576, "Hash Batches": 1, "Original Hash Batches": 1, "Peak Memory Usage": 49120, "Workers": [{"Worker Number": 0, "Actual Startup Time": 479.024, "Actual Total Time": 479.025, "Actual Rows": 123225, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 478.958, "Actual Total Time": 478.959, "Actual Rows": 123143, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 478.948, "Actual Total Time": 478.949, "Actual Rows": 123203, "Actual Loops": 1}, {"Worker Number": 3, "Actual Startup Time": 479.061, "Actual Total Time": 479.062, "Actual Rows": 123263, "Actual Loops": 1}], "Plans": [{"Node Type": "Index Scan", "Parent Relationship": "Outer", "Parallel Aware": true, "Scan Direction": "Forward", "Index Name": "l_sd", "Relation Name": "lineitem", "Schema": "public", "Alias": "lineitem", "Startup Cost": 0.56, "Total Cost": 646843.97, "Plan Rows": 250957, "Plan Width": 16, "Actual Startup Time": 0.085, "Actual Total Time": 411.523, "Actual Rows": 154569, "Actual Loops": 5, "Output": ["lineitem.l_extendedprice", "lineitem.l_discount", "lineitem.l_partkey"], "Index Cond": "((lineitem.l_shipdate >= '1995-05-01'::date) AND (lineitem.l_shipdate < '1995-06-01 00:00:00'::timestamp without time zone))", "Rows Removed by Index Recheck": 0, "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.069, "Actual Total Time": 419.971, "Actual Rows": 123225, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 0.07, "Actual Total Time": 420.435, "Actual Rows": 123143, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 0.152, "Actual Total Time": 422.545, "Actual Rows": 123203, "Actual Loops": 1}, {"Worker Number": 3, "Actual Startup Time": 0.113, "Actual Total Time": 419.497, "Actual Rows": 123263, "Actual Loops": 1}]}]}]}]}]}]}, "Planning Time": 0.353, "Triggers": [], "Execution Time": 942.156} diff --git a/dev9/pg13/tpch/sf_10/explain_analyze/15721/15-1.ok b/dev9/pg13/tpch/sf_10/explain_analyze/15721/15-1.ok new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/dev9/pg13/tpch/sf_10/explain_analyze/15721/15-1.res b/dev9/pg13/tpch/sf_10/explain_analyze/15721/15-1.res new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/dev9/pg13/tpch/sf_10/explain_analyze/15721/15-2.ok b/dev9/pg13/tpch/sf_10/explain_analyze/15721/15-2.ok new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/dev9/pg13/tpch/sf_10/explain_analyze/15721/15-2.res b/dev9/pg13/tpch/sf_10/explain_analyze/15721/15-2.res new file mode 100644 index 0000000000000000000000000000000000000000..245934122c2fc9d63dd22aeb559bfc1d7842b9b3 --- /dev/null +++ b/dev9/pg13/tpch/sf_10/explain_analyze/15721/15-2.res @@ -0,0 +1 @@ +{"Plan": {"Node Type": "Nested Loop", "Parallel Aware": false, "Join Type": "Inner", "Startup Cost": 2643731.02, "Total Cost": 2740880.62, "Plan Rows": 498, "Plan Width": 103, "Actual Startup Time": 5577.805, "Actual Total Time": 5815.451, "Actual Rows": 1, "Actual Loops": 1, "Output": ["supplier.s_suppkey", "supplier.s_name", "supplier.s_address", "supplier.s_phone", "(sum((lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount))))"], "Inner Unique": true, "Plans": [{"Node Type": "Aggregate", "Strategy": "Plain", "Partial Mode": "Simple", "Parent Relationship": "InitPlan", "Subplan Name": "InitPlan 1 (returns $1)", "Parallel Aware": false, "Startup Cost": 1368599.27, "Total Cost": 1368599.28, "Plan Rows": 1, "Plan Width": 32, "Actual Startup Time": 2835.588, "Actual Total Time": 2854.004, "Actual Rows": 1, "Actual Loops": 1, "Output": ["max((sum((lineitem_1.l_extendedprice * ('1'::numeric - lineitem_1.l_discount)))))"], "Plans": [{"Node Type": "Aggregate", "Strategy": "Sorted", "Partial Mode": "Finalize", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 1275131.45, "Total Cost": 1367353.03, "Plan Rows": 99699, "Plan Width": 36, "Actual Startup Time": 2213.499, "Actual Total Time": 2841.427, "Actual Rows": 100000, "Actual Loops": 1, "Output": ["lineitem_1.l_suppkey", "sum((lineitem_1.l_extendedprice * ('1'::numeric - lineitem_1.l_discount)))"], "Group Key": ["lineitem_1.l_suppkey"], "Plans": [{"Node Type": "Gather Merge", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 1275131.45, "Total Cost": 1360872.59, "Plan Rows": 697893, "Plan Width": 36, "Actual Startup Time": 2213.481, "Actual Total Time": 2441.378, "Actual Rows": 750406, "Actual Loops": 1, "Output": ["lineitem_1.l_suppkey", "(PARTIAL sum((lineitem_1.l_extendedprice * ('1'::numeric - lineitem_1.l_discount))))"], "Workers Planned": 7, "Workers Launched": 7, "Plans": [{"Node Type": "Sort", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 1274131.33, "Total Cost": 1274380.58, "Plan Rows": 99699, "Plan Width": 36, "Actual Startup Time": 2196.065, "Actual Total Time": 2214.056, "Actual Rows": 93801, "Actual Loops": 8, "Output": ["lineitem_1.l_suppkey", "(PARTIAL sum((lineitem_1.l_extendedprice * ('1'::numeric - lineitem_1.l_discount))))"], "Sort Key": ["lineitem_1.l_suppkey"], "Sort Method": "quicksort", "Sort Space Used": 10660, "Sort Space Type": "Memory", "Workers": [{"Worker Number": 0, "Actual Startup Time": 2202.229, "Actual Total Time": 2228.564, "Actual Rows": 93637, "Actual Loops": 1, "Sort Method": "quicksort", "Sort Space Used": 10388, "Sort Space Type": "Memory"}, {"Worker Number": 1, "Actual Startup Time": 2188.863, "Actual Total Time": 2203.404, "Actual Rows": 93394, "Actual Loops": 1, "Sort Method": "quicksort", "Sort Space Used": 10369, "Sort Space Type": "Memory"}, {"Worker Number": 2, "Actual Startup Time": 2189.126, "Actual Total Time": 2216.324, "Actual Rows": 93726, "Actual Loops": 1, "Sort Method": "quicksort", "Sort Space Used": 10395, "Sort Space Type": "Memory"}, {"Worker Number": 3, "Actual Startup Time": 2203.638, "Actual Total Time": 2221.696, "Actual Rows": 93517, "Actual Loops": 1, "Sort Method": "quicksort", "Sort Space Used": 10379, "Sort Space Type": "Memory"}, {"Worker Number": 4, "Actual Startup Time": 2201.01, "Actual Total Time": 2215.87, "Actual Rows": 93291, "Actual Loops": 1, "Sort Method": "quicksort", "Sort Space Used": 10361, "Sort Space Type": "Memory"}, {"Worker Number": 5, "Actual Startup Time": 2186.647, "Actual Total Time": 2201.122, "Actual Rows": 93193, "Actual Loops": 1, "Sort Method": "quicksort", "Sort Space Used": 10353, "Sort Space Type": "Memory"}, {"Worker Number": 6, "Actual Startup Time": 2184.073, "Actual Total Time": 2198.561, "Actual Rows": 92528, "Actual Loops": 1, "Sort Method": "quicksort", "Sort Space Used": 10301, "Sort Space Type": "Memory"}], "Plans": [{"Node Type": "Aggregate", "Strategy": "Hashed", "Partial Mode": "Partial", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 1261530.27, "Total Cost": 1265853.68, "Plan Rows": 99699, "Plan Width": 36, "Actual Startup Time": 2039.975, "Actual Total Time": 2158.718, "Actual Rows": 93801, "Actual Loops": 8, "Output": ["lineitem_1.l_suppkey", "PARTIAL sum((lineitem_1.l_extendedprice * ('1'::numeric - lineitem_1.l_discount)))"], "Group Key": ["lineitem_1.l_suppkey"], "Planned Partitions": 4, "HashAgg Batches": 5, "Peak Memory Usage": 21553, "Disk Usage": 7024, "Workers": [{"Worker Number": 0, "Actual Startup Time": 2039.166, "Actual Total Time": 2163.288, "Actual Rows": 93637, "Actual Loops": 1, "HashAgg Batches": 5, "Peak Memory Usage": 21553, "Disk Usage": 3632}, {"Worker Number": 1, "Actual Startup Time": 2039.182, "Actual Total Time": 2152.215, "Actual Rows": 93394, "Actual Loops": 1, "HashAgg Batches": 5, "Peak Memory Usage": 21553, "Disk Usage": 3608}, {"Worker Number": 2, "Actual Startup Time": 2039.188, "Actual Total Time": 2151.481, "Actual Rows": 93726, "Actual Loops": 1, "HashAgg Batches": 5, "Peak Memory Usage": 21553, "Disk Usage": 3640}, {"Worker Number": 3, "Actual Startup Time": 2039.178, "Actual Total Time": 2164.264, "Actual Rows": 93517, "Actual Loops": 1, "HashAgg Batches": 5, "Peak Memory Usage": 21553, "Disk Usage": 3624}, {"Worker Number": 4, "Actual Startup Time": 2039.177, "Actual Total Time": 2163.709, "Actual Rows": 93291, "Actual Loops": 1, "HashAgg Batches": 5, "Peak Memory Usage": 21553, "Disk Usage": 3616}, {"Worker Number": 5, "Actual Startup Time": 2039.182, "Actual Total Time": 2150.184, "Actual Rows": 93193, "Actual Loops": 1, "HashAgg Batches": 5, "Peak Memory Usage": 21553, "Disk Usage": 3616}, {"Worker Number": 6, "Actual Startup Time": 2039.179, "Actual Total Time": 2147.703, "Actual Rows": 92528, "Actual Loops": 1, "HashAgg Batches": 5, "Peak Memory Usage": 21553, "Disk Usage": 3584}], "Plans": [{"Node Type": "Bitmap Heap Scan", "Parent Relationship": "Outer", "Parallel Aware": true, "Relation Name": "lineitem", "Schema": "public", "Alias": "lineitem_1", "Startup Cost": 24668.35, "Total Cost": 1248692.33, "Plan Rows": 315102, "Plan Width": 16, "Actual Startup Time": 411.691, "Actual Total Time": 1757.564, "Actual Rows": 280914, "Actual Loops": 8, "Output": ["lineitem_1.l_orderkey", "lineitem_1.l_partkey", "lineitem_1.l_suppkey", "lineitem_1.l_linenumber", "lineitem_1.l_quantity", "lineitem_1.l_extendedprice", "lineitem_1.l_discount", "lineitem_1.l_tax", "lineitem_1.l_returnflag", "lineitem_1.l_linestatus", "lineitem_1.l_shipdate", "lineitem_1.l_commitdate", "lineitem_1.l_receiptdate", "lineitem_1.l_shipinstruct", "lineitem_1.l_shipmode", "lineitem_1.l_comment"], "Recheck Cond": "((lineitem_1.l_shipdate >= '1995-01-01'::date) AND (lineitem_1.l_shipdate < '1995-04-01 00:00:00'::timestamp without time zone))", "Rows Removed by Index Recheck": 2108425, "Exact Heap Blocks": 50577, "Lossy Heap Blocks": 53255, "Workers": [{"Worker Number": 0, "Actual Startup Time": 410.97, "Actual Total Time": 1771.3, "Actual Rows": 275411, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 410.999, "Actual Total Time": 1756.25, "Actual Rows": 270265, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 410.984, "Actual Total Time": 1770.45, "Actual Rows": 275738, "Actual Loops": 1}, {"Worker Number": 3, "Actual Startup Time": 410.969, "Actual Total Time": 1765.101, "Actual Rows": 272479, "Actual Loops": 1}, {"Worker Number": 4, "Actual Startup Time": 410.962, "Actual Total Time": 1763.692, "Actual Rows": 271973, "Actual Loops": 1}, {"Worker Number": 5, "Actual Startup Time": 410.963, "Actual Total Time": 1755.688, "Actual Rows": 270289, "Actual Loops": 1}, {"Worker Number": 6, "Actual Startup Time": 410.984, "Actual Total Time": 1757.101, "Actual Rows": 260464, "Actual Loops": 1}], "Plans": [{"Node Type": "Bitmap Index Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Index Name": "l_sd", "Startup Cost": 0.0, "Total Cost": 24116.92, "Plan Rows": 2205716, "Plan Width": 0, "Actual Startup Time": 291.736, "Actual Total Time": 291.737, "Actual Rows": 2247315, "Actual Loops": 1, "Index Cond": "((lineitem_1.l_shipdate >= '1995-01-01'::date) AND (lineitem_1.l_shipdate < '1995-04-01 00:00:00'::timestamp without time zone))", "Workers": []}]}]}]}]}]}]}, {"Node Type": "Aggregate", "Strategy": "Sorted", "Partial Mode": "Finalize", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 1275131.45, "Total Cost": 1371340.99, "Plan Rows": 498, "Plan Width": 36, "Actual Startup Time": 5577.768, "Actual Total Time": 5796.995, "Actual Rows": 1, "Actual Loops": 1, "Output": ["lineitem.l_suppkey", "sum((lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount)))"], "Group Key": ["lineitem.l_suppkey"], "Filter": "(sum((lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount))) = $1)", "Rows Removed by Filter": 99999, "Plans": [{"Node Type": "Gather Merge", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 1275131.45, "Total Cost": 1360872.59, "Plan Rows": 697893, "Plan Width": 36, "Actual Startup Time": 2230.297, "Actual Total Time": 2559.823, "Actual Rows": 750070, "Actual Loops": 1, "Output": ["lineitem.l_suppkey", "(PARTIAL sum((lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount))))"], "Workers Planned": 7, "Workers Launched": 7, "Plans": [{"Node Type": "Sort", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 1274131.33, "Total Cost": 1274380.58, "Plan Rows": 99699, "Plan Width": 36, "Actual Startup Time": 2212.144, "Actual Total Time": 2229.825, "Actual Rows": 93759, "Actual Loops": 8, "Output": ["lineitem.l_suppkey", "(PARTIAL sum((lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount))))"], "Sort Key": ["lineitem.l_suppkey"], "Sort Method": "quicksort", "Sort Space Used": 10674, "Sort Space Type": "Memory", "Workers": [{"Worker Number": 0, "Actual Startup Time": 2213.049, "Actual Total Time": 2228.084, "Actual Rows": 93425, "Actual Loops": 1, "Sort Method": "quicksort", "Sort Space Used": 10371, "Sort Space Type": "Memory"}, {"Worker Number": 1, "Actual Startup Time": 2203.187, "Actual Total Time": 2217.977, "Actual Rows": 92851, "Actual Loops": 1, "Sort Method": "quicksort", "Sort Space Used": 10326, "Sort Space Type": "Memory"}, {"Worker Number": 2, "Actual Startup Time": 2201.242, "Actual Total Time": 2216.202, "Actual Rows": 92647, "Actual Loops": 1, "Sort Method": "quicksort", "Sort Space Used": 10311, "Sort Space Type": "Memory"}, {"Worker Number": 3, "Actual Startup Time": 2204.914, "Actual Total Time": 2220.059, "Actual Rows": 93410, "Actual Loops": 1, "Sort Method": "quicksort", "Sort Space Used": 10370, "Sort Space Type": "Memory"}, {"Worker Number": 4, "Actual Startup Time": 2223.607, "Actual Total Time": 2248.284, "Actual Rows": 93734, "Actual Loops": 1, "Sort Method": "quicksort", "Sort Space Used": 10395, "Sort Space Type": "Memory"}, {"Worker Number": 5, "Actual Startup Time": 2217.171, "Actual Total Time": 2243.308, "Actual Rows": 93539, "Actual Loops": 1, "Sort Method": "quicksort", "Sort Space Used": 10380, "Sort Space Type": "Memory"}, {"Worker Number": 6, "Actual Startup Time": 2204.62, "Actual Total Time": 2219.787, "Actual Rows": 93163, "Actual Loops": 1, "Sort Method": "quicksort", "Sort Space Used": 10351, "Sort Space Type": "Memory"}], "Plans": [{"Node Type": "Aggregate", "Strategy": "Hashed", "Partial Mode": "Partial", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 1261530.27, "Total Cost": 1265853.68, "Plan Rows": 99699, "Plan Width": 36, "Actual Startup Time": 2056.829, "Actual Total Time": 2175.137, "Actual Rows": 93759, "Actual Loops": 8, "Output": ["lineitem.l_suppkey", "PARTIAL sum((lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount)))"], "Group Key": ["lineitem.l_suppkey"], "Planned Partitions": 4, "HashAgg Batches": 5, "Peak Memory Usage": 21553, "Disk Usage": 7048, "Workers": [{"Worker Number": 0, "Actual Startup Time": 2056.077, "Actual Total Time": 2176.403, "Actual Rows": 93425, "Actual Loops": 1, "HashAgg Batches": 5, "Peak Memory Usage": 21553, "Disk Usage": 3608}, {"Worker Number": 1, "Actual Startup Time": 2056.062, "Actual Total Time": 2166.638, "Actual Rows": 92851, "Actual Loops": 1, "HashAgg Batches": 5, "Peak Memory Usage": 21553, "Disk Usage": 3592}, {"Worker Number": 2, "Actual Startup Time": 2056.07, "Actual Total Time": 2164.713, "Actual Rows": 92647, "Actual Loops": 1, "HashAgg Batches": 5, "Peak Memory Usage": 21553, "Disk Usage": 3568}, {"Worker Number": 3, "Actual Startup Time": 2056.06, "Actual Total Time": 2168.264, "Actual Rows": 93410, "Actual Loops": 1, "HashAgg Batches": 5, "Peak Memory Usage": 21553, "Disk Usage": 3616}, {"Worker Number": 4, "Actual Startup Time": 2056.059, "Actual Total Time": 2184.229, "Actual Rows": 93734, "Actual Loops": 1, "HashAgg Batches": 5, "Peak Memory Usage": 21553, "Disk Usage": 3648}, {"Worker Number": 5, "Actual Startup Time": 2056.052, "Actual Total Time": 2177.402, "Actual Rows": 93539, "Actual Loops": 1, "HashAgg Batches": 5, "Peak Memory Usage": 21553, "Disk Usage": 3632}, {"Worker Number": 6, "Actual Startup Time": 2056.048, "Actual Total Time": 2167.952, "Actual Rows": 93163, "Actual Loops": 1, "HashAgg Batches": 5, "Peak Memory Usage": 21553, "Disk Usage": 3608}], "Plans": [{"Node Type": "Bitmap Heap Scan", "Parent Relationship": "Outer", "Parallel Aware": true, "Relation Name": "lineitem", "Schema": "public", "Alias": "lineitem", "Startup Cost": 24668.35, "Total Cost": 1248692.33, "Plan Rows": 315102, "Plan Width": 16, "Actual Startup Time": 409.421, "Actual Total Time": 1771.328, "Actual Rows": 280914, "Actual Loops": 8, "Output": ["lineitem.l_orderkey", "lineitem.l_partkey", "lineitem.l_suppkey", "lineitem.l_linenumber", "lineitem.l_quantity", "lineitem.l_extendedprice", "lineitem.l_discount", "lineitem.l_tax", "lineitem.l_returnflag", "lineitem.l_linestatus", "lineitem.l_shipdate", "lineitem.l_commitdate", "lineitem.l_receiptdate", "lineitem.l_shipinstruct", "lineitem.l_shipmode", "lineitem.l_comment"], "Recheck Cond": "((lineitem.l_shipdate >= '1995-01-01'::date) AND (lineitem.l_shipdate < '1995-04-01 00:00:00'::timestamp without time zone))", "Rows Removed by Index Recheck": 2108425, "Exact Heap Blocks": 51896, "Lossy Heap Blocks": 54441, "Workers": [{"Worker Number": 0, "Actual Startup Time": 408.705, "Actual Total Time": 1779.532, "Actual Rows": 271142, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 408.725, "Actual Total Time": 1768.829, "Actual Rows": 266614, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 408.701, "Actual Total Time": 1778.498, "Actual Rows": 260380, "Actual Loops": 1}, {"Worker Number": 3, "Actual Startup Time": 408.754, "Actual Total Time": 1772.142, "Actual Rows": 271681, "Actual Loops": 1}, {"Worker Number": 4, "Actual Startup Time": 408.718, "Actual Total Time": 1786.525, "Actual Rows": 277792, "Actual Loops": 1}, {"Worker Number": 5, "Actual Startup Time": 408.714, "Actual Total Time": 1779.613, "Actual Rows": 273202, "Actual Loops": 1}, {"Worker Number": 6, "Actual Startup Time": 408.731, "Actual Total Time": 1772.31, "Actual Rows": 268686, "Actual Loops": 1}], "Plans": [{"Node Type": "Bitmap Index Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Index Name": "l_sd", "Startup Cost": 0.0, "Total Cost": 24116.92, "Plan Rows": 2205716, "Plan Width": 0, "Actual Startup Time": 290.411, "Actual Total Time": 290.411, "Actual Rows": 2247315, "Actual Loops": 1, "Index Cond": "((lineitem.l_shipdate >= '1995-01-01'::date) AND (lineitem.l_shipdate < '1995-04-01 00:00:00'::timestamp without time zone))", "Workers": []}]}]}]}]}]}, {"Node Type": "Index Scan", "Parent Relationship": "Inner", "Parallel Aware": false, "Scan Direction": "Forward", "Index Name": "s_sk", "Relation Name": "supplier", "Schema": "public", "Alias": "supplier", "Startup Cost": 0.29, "Total Cost": 1.88, "Plan Rows": 1, "Plan Width": 71, "Actual Startup Time": 0.03, "Actual Total Time": 0.031, "Actual Rows": 1, "Actual Loops": 1, "Output": ["supplier.s_suppkey", "supplier.s_name", "supplier.s_address", "supplier.s_nationkey", "supplier.s_phone", "supplier.s_acctbal", "supplier.s_comment"], "Index Cond": "(supplier.s_suppkey = lineitem.l_suppkey)", "Rows Removed by Index Recheck": 0}]}, "Planning Time": 0.459, "Triggers": [], "Execution Time": 5819.079} diff --git a/dev9/pg13/tpch/sf_10/explain_analyze/15721/15-3.ok b/dev9/pg13/tpch/sf_10/explain_analyze/15721/15-3.ok new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/dev9/pg13/tpch/sf_10/explain_analyze/15721/15-3.res b/dev9/pg13/tpch/sf_10/explain_analyze/15721/15-3.res new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/dev9/pg13/tpch/sf_10/explain_analyze/15721/16-1.ok b/dev9/pg13/tpch/sf_10/explain_analyze/15721/16-1.ok new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/dev9/pg13/tpch/sf_10/explain_analyze/15721/16-1.res b/dev9/pg13/tpch/sf_10/explain_analyze/15721/16-1.res new file mode 100644 index 0000000000000000000000000000000000000000..9295bccafaffe6b877fe2bb73135cd3248900bf0 --- /dev/null +++ b/dev9/pg13/tpch/sf_10/explain_analyze/15721/16-1.res @@ -0,0 +1 @@ +{"Plan": {"Node Type": "Sort", "Parallel Aware": false, "Startup Cost": 242279.39, "Total Cost": 242662.93, "Plan Rows": 153414, "Plan Width": 44, "Actual Startup Time": 2158.542, "Actual Total Time": 2165.206, "Actual Rows": 27840, "Actual Loops": 1, "Output": ["part.p_brand", "part.p_type", "part.p_size", "(count(DISTINCT partsupp.ps_suppkey))"], "Sort Key": ["(count(DISTINCT partsupp.ps_suppkey)) DESC", "part.p_brand", "part.p_type", "part.p_size"], "Sort Method": "quicksort", "Sort Space Used": 2968, "Sort Space Type": "Memory", "Plans": [{"Node Type": "Aggregate", "Strategy": "Sorted", "Partial Mode": "Simple", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 149566.06, "Total Cost": 229065.02, "Plan Rows": 153414, "Plan Width": 44, "Actual Startup Time": 1227.268, "Actual Total Time": 2068.226, "Actual Rows": 27840, "Actual Loops": 1, "Output": ["part.p_brand", "part.p_type", "part.p_size", "count(DISTINCT partsupp.ps_suppkey)"], "Group Key": ["part.p_brand", "part.p_type", "part.p_size"], "Plans": [{"Node Type": "Gather Merge", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 149566.06, "Total Cost": 221622.37, "Plan Rows": 590851, "Plan Width": 40, "Actual Startup Time": 1227.216, "Actual Total Time": 1686.306, "Actual Rows": 1190471, "Actual Loops": 1, "Output": ["part.p_brand", "part.p_type", "part.p_size", "partsupp.ps_suppkey"], "Workers Planned": 6, "Workers Launched": 6, "Plans": [{"Node Type": "Sort", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 148565.96, "Total Cost": 148812.15, "Plan Rows": 98475, "Plan Width": 40, "Actual Startup Time": 1209.922, "Actual Total Time": 1231.98, "Actual Rows": 170067, "Actual Loops": 7, "Output": ["part.p_brand", "part.p_type", "part.p_size", "partsupp.ps_suppkey"], "Sort Key": ["part.p_brand", "part.p_type", "part.p_size"], "Sort Method": "quicksort", "Sort Space Used": 18393, "Sort Space Type": "Memory", "Workers": [{"Worker Number": 0, "Actual Startup Time": 1197.099, "Actual Total Time": 1224.641, "Actual Rows": 164671, "Actual Loops": 1, "Sort Method": "quicksort", "Sort Space Used": 17705, "Sort Space Type": "Memory"}, {"Worker Number": 1, "Actual Startup Time": 1214.441, "Actual Total Time": 1235.237, "Actual Rows": 170886, "Actual Loops": 1, "Sort Method": "quicksort", "Sort Space Used": 18190, "Sort Space Type": "Memory"}, {"Worker Number": 2, "Actual Startup Time": 1206.86, "Actual Total Time": 1228.762, "Actual Rows": 170579, "Actual Loops": 1, "Sort Method": "quicksort", "Sort Space Used": 18166, "Sort Space Type": "Memory"}, {"Worker Number": 3, "Actual Startup Time": 1205.613, "Actual Total Time": 1227.434, "Actual Rows": 170162, "Actual Loops": 1, "Sort Method": "quicksort", "Sort Space Used": 18134, "Sort Space Type": "Memory"}, {"Worker Number": 4, "Actual Startup Time": 1209.201, "Actual Total Time": 1231.031, "Actual Rows": 170075, "Actual Loops": 1, "Sort Method": "quicksort", "Sort Space Used": 18127, "Sort Space Type": "Memory"}, {"Worker Number": 5, "Actual Startup Time": 1209.513, "Actual Total Time": 1231.54, "Actual Rows": 170614, "Actual Loops": 1, "Sort Method": "quicksort", "Sort Space Used": 18169, "Sort Space Type": "Memory"}], "Plans": [{"Node Type": "Hash Join", "Parent Relationship": "Outer", "Parallel Aware": true, "Join Type": "Inner", "Startup Cost": 57851.67, "Total Cost": 140398.71, "Plan Rows": 98475, "Plan Width": 40, "Actual Startup Time": 197.891, "Actual Total Time": 658.939, "Actual Rows": 170067, "Actual Loops": 7, "Output": ["part.p_brand", "part.p_type", "part.p_size", "partsupp.ps_suppkey"], "Inner Unique": true, "Hash Cond": "(partsupp.ps_partkey = part.p_partkey)", "Workers": [{"Worker Number": 0, "Actual Startup Time": 197.232, "Actual Total Time": 657.473, "Actual Rows": 164671, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 197.208, "Actual Total Time": 657.602, "Actual Rows": 170886, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 197.23, "Actual Total Time": 657.894, "Actual Rows": 170579, "Actual Loops": 1}, {"Worker Number": 3, "Actual Startup Time": 197.228, "Actual Total Time": 657.939, "Actual Rows": 170162, "Actual Loops": 1}, {"Worker Number": 4, "Actual Startup Time": 197.233, "Actual Total Time": 657.756, "Actual Rows": 170075, "Actual Loops": 1}, {"Worker Number": 5, "Actual Startup Time": 197.2, "Actual Total Time": 657.712, "Actual Rows": 170614, "Actual Loops": 1}], "Plans": [{"Node Type": "Index Only Scan", "Parent Relationship": "Outer", "Parallel Aware": true, "Scan Direction": "Forward", "Index Name": "ps_pk_sk", "Relation Name": "partsupp", "Schema": "public", "Alias": "partsupp", "Startup Cost": 3466.46, "Total Cost": 84263.51, "Plan Rows": 666663, "Plan Width": 8, "Actual Startup Time": 38.746, "Actual Total Time": 324.678, "Actual Rows": 1142217, "Actual Loops": 7, "Output": ["partsupp.ps_partkey", "partsupp.ps_suppkey"], "Filter": "(NOT (hashed SubPlan 1))", "Rows Removed by Filter": 640, "Heap Fetches": 0, "Workers": [{"Worker Number": 0, "Actual Startup Time": 38.745, "Actual Total Time": 319.414, "Actual Rows": 1110552, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 38.743, "Actual Total Time": 324.993, "Actual Rows": 1143860, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 38.753, "Actual Total Time": 325.439, "Actual Rows": 1145287, "Actual Loops": 1}, {"Worker Number": 3, "Actual Startup Time": 38.745, "Actual Total Time": 325.618, "Actual Rows": 1147119, "Actual Loops": 1}, {"Worker Number": 4, "Actual Startup Time": 38.742, "Actual Total Time": 325.754, "Actual Rows": 1146396, "Actual Loops": 1}, {"Worker Number": 5, "Actual Startup Time": 38.746, "Actual Total Time": 324.847, "Actual Rows": 1144187, "Actual Loops": 1}], "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "SubPlan", "Subplan Name": "SubPlan 1", "Parallel Aware": false, "Relation Name": "supplier", "Schema": "public", "Alias": "supplier", "Startup Cost": 0.0, "Total Cost": 3466.0, "Plan Rows": 10, "Plan Width": 4, "Actual Startup Time": 0.133, "Actual Total Time": 38.564, "Actual Rows": 56, "Actual Loops": 7, "Output": ["supplier.s_suppkey"], "Filter": "((supplier.s_comment)::text ~~ '%Customer%Complaints%'::text)", "Rows Removed by Filter": 99944, "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.128, "Actual Total Time": 38.563, "Actual Rows": 56, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 0.128, "Actual Total Time": 38.497, "Actual Rows": 56, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 0.143, "Actual Total Time": 38.643, "Actual Rows": 56, "Actual Loops": 1}, {"Worker Number": 3, "Actual Startup Time": 0.128, "Actual Total Time": 38.526, "Actual Rows": 56, "Actual Loops": 1}, {"Worker Number": 4, "Actual Startup Time": 0.127, "Actual Total Time": 38.476, "Actual Rows": 56, "Actual Loops": 1}, {"Worker Number": 5, "Actual Startup Time": 0.129, "Actual Total Time": 38.591, "Actual Rows": 56, "Actual Loops": 1}]}]}, {"Node Type": "Hash", "Parent Relationship": "Inner", "Parallel Aware": true, "Startup Cost": 53462.0, "Total Cost": 53462.0, "Plan Rows": 73857, "Plan Width": 40, "Actual Startup Time": 158.464, "Actual Total Time": 158.465, "Actual Rows": 42542, "Actual Loops": 7, "Output": ["part.p_brand", "part.p_type", "part.p_size", "part.p_partkey"], "Hash Buckets": 524288, "Original Hash Buckets": 524288, "Hash Batches": 1, "Original Hash Batches": 1, "Peak Memory Usage": 26368, "Workers": [{"Worker Number": 0, "Actual Startup Time": 158.324, "Actual Total Time": 158.329, "Actual Rows": 42001, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 158.312, "Actual Total Time": 158.313, "Actual Rows": 40727, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 158.327, "Actual Total Time": 158.328, "Actual Rows": 40790, "Actual Loops": 1}, {"Worker Number": 3, "Actual Startup Time": 158.303, "Actual Total Time": 158.304, "Actual Rows": 41568, "Actual Loops": 1}, {"Worker Number": 4, "Actual Startup Time": 158.313, "Actual Total Time": 158.314, "Actual Rows": 41176, "Actual Loops": 1}, {"Worker Number": 5, "Actual Startup Time": 158.323, "Actual Total Time": 158.324, "Actual Rows": 41756, "Actual Loops": 1}], "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": true, "Relation Name": "part", "Schema": "public", "Alias": "part", "Startup Cost": 0.0, "Total Cost": 53462.0, "Plan Rows": 73857, "Plan Width": 40, "Actual Startup Time": 0.03, "Actual Total Time": 137.47, "Actual Rows": 42542, "Actual Loops": 7, "Output": ["part.p_brand", "part.p_type", "part.p_size", "part.p_partkey"], "Filter": "((part.p_brand <> 'Brand#11'::bpchar) AND ((part.p_type)::text !~~ 'ECONOMY ANODIZED%'::text) AND (part.p_size = ANY ('{42,16,39,18,23,32,44,41}'::integer[])))", "Rows Removed by Filter": 243172, "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.034, "Actual Total Time": 138.667, "Actual Rows": 42001, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 0.03, "Actual Total Time": 136.845, "Actual Rows": 40727, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 0.026, "Actual Total Time": 136.642, "Actual Rows": 40790, "Actual Loops": 1}, {"Worker Number": 3, "Actual Startup Time": 0.03, "Actual Total Time": 138.014, "Actual Rows": 41568, "Actual Loops": 1}, {"Worker Number": 4, "Actual Startup Time": 0.04, "Actual Total Time": 137.328, "Actual Rows": 41176, "Actual Loops": 1}, {"Worker Number": 5, "Actual Startup Time": 0.032, "Actual Total Time": 138.135, "Actual Rows": 41756, "Actual Loops": 1}]}]}]}]}]}]}]}, "Planning Time": 0.622, "Triggers": [], "Execution Time": 2166.408} diff --git a/dev9/pg13/tpch/sf_10/explain_analyze/15721/17-1.ok b/dev9/pg13/tpch/sf_10/explain_analyze/15721/17-1.ok new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/dev9/pg13/tpch/sf_10/explain_analyze/15721/17-1.res b/dev9/pg13/tpch/sf_10/explain_analyze/15721/17-1.res new file mode 100644 index 0000000000000000000000000000000000000000..62d4487395dc3cb565a38d1169cf3d95ab695804 --- /dev/null +++ b/dev9/pg13/tpch/sf_10/explain_analyze/15721/17-1.res @@ -0,0 +1 @@ +{"Plan": {"Node Type": "Aggregate", "Strategy": "Plain", "Partial Mode": "Simple", "Parallel Aware": false, "Startup Cost": 1931951.95, "Total Cost": 1931951.96, "Plan Rows": 1, "Plan Width": 32, "Actual Startup Time": 17598.262, "Actual Total Time": 17598.378, "Actual Rows": 1, "Actual Loops": 1, "Output": ["(sum(lineitem.l_extendedprice) / 7.0)"], "Plans": [{"Node Type": "Hash Join", "Parent Relationship": "Outer", "Parallel Aware": false, "Join Type": "Inner", "Startup Cost": 49690.6, "Total Cost": 1931901.16, "Plan Rows": 20315, "Plan Width": 8, "Actual Startup Time": 119.529, "Actual Total Time": 17596.365, "Actual Rows": 5383, "Actual Loops": 1, "Output": ["lineitem.l_extendedprice"], "Inner Unique": true, "Hash Cond": "(lineitem.l_partkey = part.p_partkey)", "Join Filter": "(lineitem.l_quantity < (SubPlan 1))", "Rows Removed by Join Filter": 56148, "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Relation Name": "lineitem", "Schema": "public", "Alias": "lineitem", "Startup Cost": 0.0, "Total Cost": 1724388.08, "Plan Rows": 59984608, "Plan Width": 17, "Actual Startup Time": 0.008, "Actual Total Time": 5075.662, "Actual Rows": 59986052, "Actual Loops": 1, "Output": ["lineitem.l_orderkey", "lineitem.l_partkey", "lineitem.l_suppkey", "lineitem.l_linenumber", "lineitem.l_quantity", "lineitem.l_extendedprice", "lineitem.l_discount", "lineitem.l_tax", "lineitem.l_returnflag", "lineitem.l_linestatus", "lineitem.l_shipdate", "lineitem.l_commitdate", "lineitem.l_receiptdate", "lineitem.l_shipinstruct", "lineitem.l_shipmode", "lineitem.l_comment"]}, {"Node Type": "Hash", "Parent Relationship": "Inner", "Parallel Aware": false, "Startup Cost": 49665.2, "Total Cost": 49665.2, "Plan Rows": 2032, "Plan Width": 4, "Actual Startup Time": 115.199, "Actual Total Time": 115.312, "Actual Rows": 2063, "Actual Loops": 1, "Output": ["part.p_partkey"], "Hash Buckets": 4096, "Original Hash Buckets": 2048, "Hash Batches": 1, "Original Hash Batches": 1, "Peak Memory Usage": 105, "Plans": [{"Node Type": "Gather", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 1000.0, "Total Cost": 49665.2, "Plan Rows": 2032, "Plan Width": 4, "Actual Startup Time": 0.756, "Actual Total Time": 114.937, "Actual Rows": 2063, "Actual Loops": 1, "Output": ["part.p_partkey"], "Workers Planned": 4, "Workers Launched": 4, "Single Copy": false, "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": true, "Relation Name": "part", "Schema": "public", "Alias": "part", "Startup Cost": 0.0, "Total Cost": 48462.0, "Plan Rows": 508, "Plan Width": 4, "Actual Startup Time": 0.432, "Actual Total Time": 111.181, "Actual Rows": 413, "Actual Loops": 5, "Output": ["part.p_partkey"], "Filter": "((part.p_brand = 'Brand#14'::bpchar) AND (part.p_container = 'WRAP BOX'::bpchar))", "Rows Removed by Filter": 399587, "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.464, "Actual Total Time": 110.479, "Actual Rows": 375, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 0.801, "Actual Total Time": 110.497, "Actual Rows": 349, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 0.274, "Actual Total Time": 110.496, "Actual Rows": 356, "Actual Loops": 1}, {"Worker Number": 3, "Actual Startup Time": 0.129, "Actual Total Time": 110.482, "Actual Rows": 395, "Actual Loops": 1}]}]}]}, {"Node Type": "Aggregate", "Strategy": "Plain", "Partial Mode": "Simple", "Parent Relationship": "SubPlan", "Subplan Name": "SubPlan 1", "Parallel Aware": false, "Startup Cost": 36.26, "Total Cost": 36.27, "Plan Rows": 1, "Plan Width": 32, "Actual Startup Time": 0.044, "Actual Total Time": 0.044, "Actual Rows": 1, "Actual Loops": 61531, "Output": ["(0.2 * avg(lineitem_1.l_quantity))"], "Plans": [{"Node Type": "Index Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Scan Direction": "Forward", "Index Name": "l_pk", "Relation Name": "lineitem", "Schema": "public", "Alias": "lineitem_1", "Startup Cost": 0.44, "Total Cost": 36.18, "Plan Rows": 31, "Plan Width": 5, "Actual Startup Time": 0.005, "Actual Total Time": 0.038, "Actual Rows": 31, "Actual Loops": 61531, "Output": ["lineitem_1.l_orderkey", "lineitem_1.l_partkey", "lineitem_1.l_suppkey", "lineitem_1.l_linenumber", "lineitem_1.l_quantity", "lineitem_1.l_extendedprice", "lineitem_1.l_discount", "lineitem_1.l_tax", "lineitem_1.l_returnflag", "lineitem_1.l_linestatus", "lineitem_1.l_shipdate", "lineitem_1.l_commitdate", "lineitem_1.l_receiptdate", "lineitem_1.l_shipinstruct", "lineitem_1.l_shipmode", "lineitem_1.l_comment"], "Index Cond": "(lineitem_1.l_partkey = part.p_partkey)", "Rows Removed by Index Recheck": 0}]}]}]}, "Planning Time": 0.386, "Triggers": [], "Execution Time": 17598.427} diff --git a/dev9/pg13/tpch/sf_10/explain_analyze/15721/18-1.ok b/dev9/pg13/tpch/sf_10/explain_analyze/15721/18-1.ok new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/dev9/pg13/tpch/sf_10/explain_analyze/15721/18-1.res b/dev9/pg13/tpch/sf_10/explain_analyze/15721/18-1.res new file mode 100644 index 0000000000000000000000000000000000000000..86e487797d05158c43095ddd6da346acd4e42020 --- /dev/null +++ b/dev9/pg13/tpch/sf_10/explain_analyze/15721/18-1.res @@ -0,0 +1 @@ +{"Plan": {"Node Type": "Limit", "Parallel Aware": false, "Startup Cost": 3566018.77, "Total Cost": 3566019.02, "Plan Rows": 100, "Plan Width": 71, "Actual Startup Time": 35578.53, "Actual Total Time": 35786.664, "Actual Rows": 84, "Actual Loops": 1, "Output": ["customer.c_name", "customer.c_custkey", "orders.o_orderkey", "orders.o_orderdate", "orders.o_totalprice", "(sum(lineitem.l_quantity))"], "Plans": [{"Node Type": "Sort", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 3566018.77, "Total Cost": 3572929.24, "Plan Rows": 2764188, "Plan Width": 71, "Actual Startup Time": 35578.528, "Actual Total Time": 35786.654, "Actual Rows": 84, "Actual Loops": 1, "Output": ["customer.c_name", "customer.c_custkey", "orders.o_orderkey", "orders.o_orderdate", "orders.o_totalprice", "(sum(lineitem.l_quantity))"], "Sort Key": ["orders.o_totalprice DESC", "orders.o_orderdate"], "Sort Method": "quicksort", "Sort Space Used": 31, "Sort Space Type": "Memory", "Plans": [{"Node Type": "Aggregate", "Strategy": "Sorted", "Partial Mode": "Simple", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 3067987.49, "Total Cost": 3460373.49, "Plan Rows": 2764188, "Plan Width": 71, "Actual Startup Time": 35578.154, "Actual Total Time": 35786.575, "Actual Rows": 84, "Actual Loops": 1, "Output": ["customer.c_name", "customer.c_custkey", "orders.o_orderkey", "orders.o_orderdate", "orders.o_totalprice", "sum(lineitem.l_quantity)"], "Group Key": ["customer.c_custkey", "orders.o_orderkey"], "Plans": [{"Node Type": "Gather Merge", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 3067987.49, "Total Cost": 3405089.73, "Plan Rows": 2764188, "Plan Width": 44, "Actual Startup Time": 35578.137, "Actual Total Time": 35786.39, "Actual Rows": 588, "Actual Loops": 1, "Output": ["customer.c_custkey", "orders.o_orderkey", "customer.c_name", "orders.o_orderdate", "orders.o_totalprice", "lineitem.l_quantity"], "Workers Planned": 6, "Workers Launched": 6, "Plans": [{"Node Type": "Sort", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 3066987.4, "Total Cost": 3068139.14, "Plan Rows": 460698, "Plan Width": 44, "Actual Startup Time": 34321.356, "Actual Total Time": 34321.369, "Actual Rows": 84, "Actual Loops": 7, "Output": ["customer.c_custkey", "orders.o_orderkey", "customer.c_name", "orders.o_orderdate", "orders.o_totalprice", "lineitem.l_quantity"], "Sort Key": ["customer.c_custkey", "orders.o_orderkey"], "Sort Method": "quicksort", "Sort Space Used": 40, "Sort Space Type": "Memory", "Workers": [{"Worker Number": 0, "Actual Startup Time": 35569.555, "Actual Total Time": 35569.564, "Actual Rows": 0, "Actual Loops": 1, "Sort Method": "quicksort", "Sort Space Used": 25, "Sort Space Type": "Memory"}, {"Worker Number": 1, "Actual Startup Time": 34026.769, "Actual Total Time": 34026.781, "Actual Rows": 105, "Actual Loops": 1, "Sort Method": "quicksort", "Sort Space Used": 33, "Sort Space Type": "Memory"}, {"Worker Number": 2, "Actual Startup Time": 33901.407, "Actual Total Time": 33901.414, "Actual Rows": 0, "Actual Loops": 1, "Sort Method": "quicksort", "Sort Space Used": 25, "Sort Space Type": "Memory"}, {"Worker Number": 3, "Actual Startup Time": 34095.967, "Actual Total Time": 34095.984, "Actual Rows": 161, "Actual Loops": 1, "Sort Method": "quicksort", "Sort Space Used": 37, "Sort Space Type": "Memory"}, {"Worker Number": 4, "Actual Startup Time": 34075.637, "Actual Total Time": 34075.651, "Actual Rows": 126, "Actual Loops": 1, "Sort Method": "quicksort", "Sort Space Used": 34, "Sort Space Type": "Memory"}, {"Worker Number": 5, "Actual Startup Time": 34280.05, "Actual Total Time": 34280.058, "Actual Rows": 0, "Actual Loops": 1, "Sort Method": "quicksort", "Sort Space Used": 25, "Sort Space Type": "Memory"}], "Plans": [{"Node Type": "Hash Join", "Parent Relationship": "Outer", "Parallel Aware": true, "Join Type": "Inner", "Startup Cost": 2522387.07, "Total Cost": 3015348.27, "Plan Rows": 460698, "Plan Width": 44, "Actual Startup Time": 33234.924, "Actual Total Time": 34321.281, "Actual Rows": 84, "Actual Loops": 7, "Output": ["customer.c_custkey", "orders.o_orderkey", "customer.c_name", "orders.o_orderdate", "orders.o_totalprice", "lineitem.l_quantity"], "Inner Unique": true, "Hash Cond": "(orders.o_custkey = customer.c_custkey)", "Workers": [{"Worker Number": 0, "Actual Startup Time": 35569.515, "Actual Total Time": 35569.524, "Actual Rows": 0, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 32639.851, "Actual Total Time": 34026.67, "Actual Rows": 105, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 33901.367, "Actual Total Time": 33901.375, "Actual Rows": 0, "Actual Loops": 1}, {"Worker Number": 3, "Actual Startup Time": 32242.714, "Actual Total Time": 34095.842, "Actual Rows": 161, "Actual Loops": 1}, {"Worker Number": 4, "Actual Startup Time": 32398.75, "Actual Total Time": 34075.528, "Actual Rows": 126, "Actual Loops": 1}, {"Worker Number": 5, "Actual Startup Time": 34280.008, "Actual Total Time": 34280.015, "Actual Rows": 0, "Actual Loops": 1}], "Plans": [{"Node Type": "Nested Loop", "Parent Relationship": "Outer", "Parallel Aware": false, "Join Type": "Inner", "Startup Cost": 2478122.57, "Total Cost": 2969874.44, "Plan Rows": 460698, "Plan Width": 25, "Actual Startup Time": 33060.748, "Actual Total Time": 34147.002, "Actual Rows": 84, "Actual Loops": 7, "Output": ["orders.o_orderkey", "orders.o_orderdate", "orders.o_totalprice", "orders.o_custkey", "lineitem.l_quantity"], "Inner Unique": false, "Workers": [{"Worker Number": 0, "Actual Startup Time": 35392.935, "Actual Total Time": 35392.939, "Actual Rows": 0, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 32467.397, "Actual Total Time": 33854.083, "Actual Rows": 105, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 33728.925, "Actual Total Time": 33728.929, "Actual Rows": 0, "Actual Loops": 1}, {"Worker Number": 3, "Actual Startup Time": 32070.253, "Actual Total Time": 33923.195, "Actual Rows": 161, "Actual Loops": 1}, {"Worker Number": 4, "Actual Startup Time": 32226.292, "Actual Total Time": 33902.922, "Actual Rows": 126, "Actual Loops": 1}, {"Worker Number": 5, "Actual Startup Time": 34107.571, "Actual Total Time": 34107.575, "Actual Rows": 0, "Actual Loops": 1}], "Plans": [{"Node Type": "Hash Join", "Parent Relationship": "Outer", "Parallel Aware": false, "Join Type": "Inner", "Startup Cost": 2478122.01, "Total Cost": 2802598.95, "Plan Rows": 115209, "Plan Width": 24, "Actual Startup Time": 33060.728, "Actual Total Time": 34146.756, "Actual Rows": 12, "Actual Loops": 7, "Output": ["orders.o_orderkey", "orders.o_orderdate", "orders.o_totalprice", "orders.o_custkey", "lineitem_1.l_orderkey"], "Inner Unique": true, "Hash Cond": "(orders.o_orderkey = lineitem_1.l_orderkey)", "Workers": [{"Worker Number": 0, "Actual Startup Time": 35392.934, "Actual Total Time": 35392.936, "Actual Rows": 0, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 32467.356, "Actual Total Time": 33853.747, "Actual Rows": 15, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 33728.924, "Actual Total Time": 33728.926, "Actual Rows": 0, "Actual Loops": 1}, {"Worker Number": 3, "Actual Startup Time": 32070.222, "Actual Total Time": 33922.76, "Actual Rows": 23, "Actual Loops": 1}, {"Worker Number": 4, "Actual Startup Time": 32226.258, "Actual Total Time": 33902.55, "Actual Rows": 18, "Actual Loops": 1}, {"Worker Number": 5, "Actual Startup Time": 34107.57, "Actual Total Time": 34107.572, "Actual Rows": 0, "Actual Loops": 1}], "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": true, "Relation Name": "orders", "Schema": "public", "Alias": "orders", "Startup Cost": 0.0, "Total Cost": 285913.15, "Plan Rows": 2500115, "Plan Width": 20, "Actual Startup Time": 0.02, "Actual Total Time": 539.031, "Actual Rows": 2142857, "Actual Loops": 7, "Output": ["orders.o_orderkey", "orders.o_orderdate", "orders.o_totalprice", "orders.o_custkey"], "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.018, "Actual Total Time": 0.041, "Actual Rows": 59, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 0.022, "Actual Total Time": 732.33, "Actual Rows": 2772057, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 0.022, "Actual Total Time": 0.05, "Actual Rows": 59, "Actual Loops": 1}, {"Worker Number": 3, "Actual Startup Time": 0.025, "Actual Total Time": 912.367, "Actual Rows": 3485715, "Actual Loops": 1}, {"Worker Number": 4, "Actual Startup Time": 0.022, "Actual Total Time": 851.82, "Actual Rows": 3272166, "Actual Loops": 1}, {"Worker Number": 5, "Actual Startup Time": 0.026, "Actual Total Time": 0.05, "Actual Rows": 56, "Actual Loops": 1}]}, {"Node Type": "Hash", "Parent Relationship": "Inner", "Parallel Aware": false, "Startup Cost": 2466780.31, "Total Cost": 2466780.31, "Plan Rows": 691256, "Plan Width": 4, "Actual Startup Time": 32997.823, "Actual Total Time": 32997.824, "Actual Rows": 84, "Actual Loops": 7, "Output": ["lineitem_1.l_orderkey"], "Hash Buckets": 524288, "Original Hash Buckets": 524288, "Hash Batches": 2, "Original Hash Batches": 2, "Peak Memory Usage": 4098, "Workers": [{"Worker Number": 0, "Actual Startup Time": 35386.822, "Actual Total Time": 35386.824, "Actual Rows": 84, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 32337.767, "Actual Total Time": 32337.769, "Actual Rows": 84, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 33722.844, "Actual Total Time": 33722.845, "Actual Rows": 84, "Actual Loops": 1}, {"Worker Number": 3, "Actual Startup Time": 32019.668, "Actual Total Time": 32019.67, "Actual Rows": 84, "Actual Loops": 1}, {"Worker Number": 4, "Actual Startup Time": 32119.686, "Actual Total Time": 32119.687, "Actual Rows": 84, "Actual Loops": 1}, {"Worker Number": 5, "Actual Startup Time": 34101.384, "Actual Total Time": 34101.385, "Actual Rows": 84, "Actual Loops": 1}], "Plans": [{"Node Type": "Aggregate", "Strategy": "Sorted", "Partial Mode": "Simple", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 0.56, "Total Cost": 2459867.75, "Plan Rows": 691256, "Plan Width": 4, "Actual Startup Time": 795.369, "Actual Total Time": 32997.477, "Actual Rows": 84, "Actual Loops": 7, "Output": ["lineitem_1.l_orderkey"], "Group Key": ["lineitem_1.l_orderkey"], "Filter": "(sum(lineitem_1.l_quantity) > '314'::numeric)", "Rows Removed by Filter": 14999916, "Workers": [{"Worker Number": 0, "Actual Startup Time": 829.618, "Actual Total Time": 35386.186, "Actual Rows": 84, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 829.62, "Actual Total Time": 32337.36, "Actual Rows": 84, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 829.753, "Actual Total Time": 33722.561, "Actual Rows": 84, "Actual Loops": 1}, {"Worker Number": 3, "Actual Startup Time": 729.969, "Actual Total Time": 32019.342, "Actual Rows": 84, "Actual Loops": 1}, {"Worker Number": 4, "Actual Startup Time": 829.817, "Actual Total Time": 32119.373, "Actual Rows": 84, "Actual Loops": 1}, {"Worker Number": 5, "Actual Startup Time": 829.764, "Actual Total Time": 34101.128, "Actual Rows": 84, "Actual Loops": 1}], "Plans": [{"Node Type": "Index Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Scan Direction": "Forward", "Index Name": "l_ok", "Relation Name": "lineitem", "Schema": "public", "Alias": "lineitem_1", "Startup Cost": 0.56, "Total Cost": 2128838.19, "Plan Rows": 59984608, "Plan Width": 9, "Actual Startup Time": 0.061, "Actual Total Time": 14723.784, "Actual Rows": 59986052, "Actual Loops": 7, "Output": ["lineitem_1.l_orderkey", "lineitem_1.l_partkey", "lineitem_1.l_suppkey", "lineitem_1.l_linenumber", "lineitem_1.l_quantity", "lineitem_1.l_extendedprice", "lineitem_1.l_discount", "lineitem_1.l_tax", "lineitem_1.l_returnflag", "lineitem_1.l_linestatus", "lineitem_1.l_shipdate", "lineitem_1.l_commitdate", "lineitem_1.l_receiptdate", "lineitem_1.l_shipinstruct", "lineitem_1.l_shipmode", "lineitem_1.l_comment"], "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.071, "Actual Total Time": 17013.394, "Actual Rows": 59986052, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 0.071, "Actual Total Time": 14047.918, "Actual Rows": 59986052, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 0.057, "Actual Total Time": 15429.943, "Actual Rows": 59986052, "Actual Loops": 1}, {"Worker Number": 3, "Actual Startup Time": 0.063, "Actual Total Time": 13733.023, "Actual Rows": 59986052, "Actual Loops": 1}, {"Worker Number": 4, "Actual Startup Time": 0.071, "Actual Total Time": 13833.858, "Actual Rows": 59986052, "Actual Loops": 1}, {"Worker Number": 5, "Actual Startup Time": 0.065, "Actual Total Time": 15816.882, "Actual Rows": 59986052, "Actual Loops": 1}]}]}]}]}, {"Node Type": "Index Scan", "Parent Relationship": "Inner", "Parallel Aware": false, "Scan Direction": "Forward", "Index Name": "l_ok", "Relation Name": "lineitem", "Schema": "public", "Alias": "lineitem", "Startup Cost": 0.56, "Total Cost": 1.16, "Plan Rows": 29, "Plan Width": 9, "Actual Startup Time": 0.014, "Actual Total Time": 0.016, "Actual Rows": 7, "Actual Loops": 84, "Output": ["lineitem.l_orderkey", "lineitem.l_partkey", "lineitem.l_suppkey", "lineitem.l_linenumber", "lineitem.l_quantity", "lineitem.l_extendedprice", "lineitem.l_discount", "lineitem.l_tax", "lineitem.l_returnflag", "lineitem.l_linestatus", "lineitem.l_shipdate", "lineitem.l_commitdate", "lineitem.l_receiptdate", "lineitem.l_shipinstruct", "lineitem.l_shipmode", "lineitem.l_comment"], "Index Cond": "(lineitem.l_orderkey = orders.o_orderkey)", "Rows Removed by Index Recheck": 0, "Workers": [{"Worker Number": 1, "Actual Startup Time": 0.015, "Actual Total Time": 0.017, "Actual Rows": 7, "Actual Loops": 15}, {"Worker Number": 3, "Actual Startup Time": 0.012, "Actual Total Time": 0.015, "Actual Rows": 7, "Actual Loops": 23}, {"Worker Number": 4, "Actual Startup Time": 0.014, "Actual Total Time": 0.016, "Actual Rows": 7, "Actual Loops": 18}]}]}, {"Node Type": "Hash", "Parent Relationship": "Inner", "Parallel Aware": true, "Startup Cost": 39577.0, "Total Cost": 39577.0, "Plan Rows": 375000, "Plan Width": 23, "Actual Startup Time": 171.353, "Actual Total Time": 171.354, "Actual Rows": 214286, "Actual Loops": 7, "Output": ["customer.c_name", "customer.c_custkey"], "Hash Buckets": 2097152, "Original Hash Buckets": 2097152, "Hash Batches": 1, "Original Hash Batches": 1, "Peak Memory Usage": 98688, "Workers": [{"Worker Number": 0, "Actual Startup Time": 172.363, "Actual Total Time": 172.365, "Actual Rows": 206177, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 172.362, "Actual Total Time": 172.362, "Actual Rows": 206955, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 172.359, "Actual Total Time": 172.36, "Actual Rows": 206729, "Actual Loops": 1}, {"Worker Number": 3, "Actual Startup Time": 172.351, "Actual Total Time": 172.352, "Actual Rows": 208161, "Actual Loops": 1}, {"Worker Number": 4, "Actual Startup Time": 172.361, "Actual Total Time": 172.362, "Actual Rows": 208411, "Actual Loops": 1}, {"Worker Number": 5, "Actual Startup Time": 172.366, "Actual Total Time": 172.367, "Actual Rows": 205663, "Actual Loops": 1}], "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": true, "Relation Name": "customer", "Schema": "public", "Alias": "customer", "Startup Cost": 0.0, "Total Cost": 39577.0, "Plan Rows": 375000, "Plan Width": 23, "Actual Startup Time": 0.031, "Actual Total Time": 69.434, "Actual Rows": 214286, "Actual Loops": 7, "Output": ["customer.c_name", "customer.c_custkey"], "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.035, "Actual Total Time": 70.604, "Actual Rows": 206177, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 0.04, "Actual Total Time": 71.179, "Actual Rows": 206955, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 0.035, "Actual Total Time": 70.909, "Actual Rows": 206729, "Actual Loops": 1}, {"Worker Number": 3, "Actual Startup Time": 0.034, "Actual Total Time": 71.061, "Actual Rows": 208161, "Actual Loops": 1}, {"Worker Number": 4, "Actual Startup Time": 0.033, "Actual Total Time": 71.069, "Actual Rows": 208411, "Actual Loops": 1}, {"Worker Number": 5, "Actual Startup Time": 0.032, "Actual Total Time": 70.612, "Actual Rows": 205663, "Actual Loops": 1}]}]}]}]}]}]}]}]}, "Planning Time": 1.094, "Triggers": [], "Execution Time": 35786.746} diff --git a/dev9/pg13/tpch/sf_10/explain_analyze/15721/19-1.ok b/dev9/pg13/tpch/sf_10/explain_analyze/15721/19-1.ok new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/dev9/pg13/tpch/sf_10/explain_analyze/15721/19-1.res b/dev9/pg13/tpch/sf_10/explain_analyze/15721/19-1.res new file mode 100644 index 0000000000000000000000000000000000000000..a816d96d638d4efd961fb30b1e74be4c7fdd3bf5 --- /dev/null +++ b/dev9/pg13/tpch/sf_10/explain_analyze/15721/19-1.res @@ -0,0 +1 @@ +{"Plan": {"Node Type": "Aggregate", "Strategy": "Plain", "Partial Mode": "Finalize", "Parallel Aware": false, "Startup Cost": 106334.06, "Total Cost": 106334.07, "Plan Rows": 1, "Plan Width": 32, "Actual Startup Time": 319.136, "Actual Total Time": 385.477, "Actual Rows": 1, "Actual Loops": 1, "Output": ["sum((lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount)))"], "Plans": [{"Node Type": "Gather", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 106333.63, "Total Cost": 106334.04, "Plan Rows": 4, "Plan Width": 32, "Actual Startup Time": 319.043, "Actual Total Time": 385.464, "Actual Rows": 5, "Actual Loops": 1, "Output": ["(PARTIAL sum((lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount))))"], "Workers Planned": 4, "Workers Launched": 4, "Single Copy": false, "Plans": [{"Node Type": "Aggregate", "Strategy": "Plain", "Partial Mode": "Partial", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 105333.63, "Total Cost": 105333.64, "Plan Rows": 1, "Plan Width": 32, "Actual Startup Time": 314.712, "Actual Total Time": 314.713, "Actual Rows": 1, "Actual Loops": 5, "Output": ["PARTIAL sum((lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount)))"], "Workers": [{"Worker Number": 0, "Actual Startup Time": 313.758, "Actual Total Time": 313.76, "Actual Rows": 1, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 313.759, "Actual Total Time": 313.761, "Actual Rows": 1, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 313.758, "Actual Total Time": 313.76, "Actual Rows": 1, "Actual Loops": 1}, {"Worker Number": 3, "Actual Startup Time": 313.774, "Actual Total Time": 313.775, "Actual Rows": 1, "Actual Loops": 1}], "Plans": [{"Node Type": "Nested Loop", "Parent Relationship": "Outer", "Parallel Aware": false, "Join Type": "Inner", "Startup Cost": 0.44, "Total Cost": 105331.52, "Plan Rows": 281, "Plan Width": 12, "Actual Startup Time": 4.19, "Actual Total Time": 314.553, "Actual Rows": 229, "Actual Loops": 5, "Output": ["lineitem.l_extendedprice", "lineitem.l_discount"], "Inner Unique": false, "Workers": [{"Worker Number": 0, "Actual Startup Time": 5.404, "Actual Total Time": 313.607, "Actual Rows": 200, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 5.809, "Actual Total Time": 313.614, "Actual Rows": 202, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 7.505, "Actual Total Time": 313.603, "Actual Rows": 219, "Actual Loops": 1}, {"Worker Number": 3, "Actual Startup Time": 1.958, "Actual Total Time": 313.627, "Actual Rows": 192, "Actual Loops": 1}], "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": true, "Relation Name": "part", "Schema": "public", "Alias": "part", "Startup Cost": 0.0, "Total Cost": 62212.0, "Plan Rows": 1196, "Plan Width": 30, "Actual Startup Time": 0.168, "Actual Total Time": 180.146, "Actual Rows": 942, "Actual Loops": 5, "Output": ["part.p_partkey", "part.p_name", "part.p_mfgr", "part.p_brand", "part.p_type", "part.p_size", "part.p_container", "part.p_retailprice", "part.p_comment"], "Filter": "((part.p_size >= 1) AND (((part.p_brand = 'Brand#52'::bpchar) AND (part.p_container = ANY ('{\"SM CASE\",\"SM BOX\",\"SM PACK\",\"SM PKG\"}'::bpchar[])) AND (part.p_size <= 5)) OR ((part.p_brand = 'Brand#42'::bpchar) AND (part.p_container = ANY ('{\"MED BAG\",\"MED BOX\",\"MED PKG\",\"MED PACK\"}'::bpchar[])) AND (part.p_size <= 10)) OR ((part.p_brand = 'Brand#23'::bpchar) AND (part.p_container = ANY ('{\"LG CASE\",\"LG BOX\",\"LG PACK\",\"LG PKG\"}'::bpchar[])) AND (part.p_size <= 15))))", "Rows Removed by Filter": 399058, "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.513, "Actual Total Time": 164.833, "Actual Rows": 836, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 0.186, "Actual Total Time": 166.003, "Actual Rows": 837, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 0.045, "Actual Total Time": 165.557, "Actual Rows": 841, "Actual Loops": 1}, {"Worker Number": 3, "Actual Startup Time": 0.053, "Actual Total Time": 164.148, "Actual Rows": 841, "Actual Loops": 1}]}, {"Node Type": "Index Scan", "Parent Relationship": "Inner", "Parallel Aware": false, "Scan Direction": "Forward", "Index Name": "l_pk", "Relation Name": "lineitem", "Schema": "public", "Alias": "lineitem", "Startup Cost": 0.44, "Total Cost": 36.04, "Plan Rows": 1, "Plan Width": 21, "Actual Startup Time": 0.128, "Actual Total Time": 0.142, "Actual Rows": 0, "Actual Loops": 4710, "Output": ["lineitem.l_orderkey", "lineitem.l_partkey", "lineitem.l_suppkey", "lineitem.l_linenumber", "lineitem.l_quantity", "lineitem.l_extendedprice", "lineitem.l_discount", "lineitem.l_tax", "lineitem.l_returnflag", "lineitem.l_linestatus", "lineitem.l_shipdate", "lineitem.l_commitdate", "lineitem.l_receiptdate", "lineitem.l_shipinstruct", "lineitem.l_shipmode", "lineitem.l_comment"], "Index Cond": "(lineitem.l_partkey = part.p_partkey)", "Rows Removed by Index Recheck": 0, "Filter": "((lineitem.l_shipmode = ANY ('{AIR,\"AIR REG\"}'::bpchar[])) AND (lineitem.l_shipinstruct = 'DELIVER IN PERSON'::bpchar) AND (((lineitem.l_quantity >= '9'::numeric) AND (lineitem.l_quantity <= '19'::numeric)) OR ((lineitem.l_quantity >= '18'::numeric) AND (lineitem.l_quantity <= '28'::numeric)) OR ((lineitem.l_quantity >= '22'::numeric) AND (lineitem.l_quantity <= '32'::numeric))) AND (((part.p_brand = 'Brand#52'::bpchar) AND (part.p_container = ANY ('{\"SM CASE\",\"SM BOX\",\"SM PACK\",\"SM PKG\"}'::bpchar[])) AND (lineitem.l_quantity >= '9'::numeric) AND (lineitem.l_quantity <= '19'::numeric) AND (part.p_size <= 5)) OR ((part.p_brand = 'Brand#42'::bpchar) AND (part.p_container = ANY ('{\"MED BAG\",\"MED BOX\",\"MED PKG\",\"MED PACK\"}'::bpchar[])) AND (lineitem.l_quantity >= '18'::numeric) AND (lineitem.l_quantity <= '28'::numeric) AND (part.p_size <= 10)) OR ((part.p_brand = 'Brand#23'::bpchar) AND (part.p_container = ANY ('{\"LG CASE\",\"LG BOX\",\"LG PACK\",\"LG PKG\"}'::bpchar[])) AND (lineitem.l_quantity >= '22'::numeric) AND (lineitem.l_quantity <= '32'::numeric) AND (part.p_size <= 15))))", "Rows Removed by Filter": 30, "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.158, "Actual Total Time": 0.178, "Actual Rows": 0, "Actual Loops": 836}, {"Worker Number": 1, "Actual Startup Time": 0.158, "Actual Total Time": 0.176, "Actual Rows": 0, "Actual Loops": 837}, {"Worker Number": 2, "Actual Startup Time": 0.157, "Actual Total Time": 0.176, "Actual Rows": 0, "Actual Loops": 841}, {"Worker Number": 3, "Actual Startup Time": 0.161, "Actual Total Time": 0.177, "Actual Rows": 0, "Actual Loops": 841}]}]}]}]}]}, "Planning Time": 0.615, "Triggers": [], "Execution Time": 385.541} diff --git a/dev9/pg13/tpch/sf_10/explain_analyze/15721/2-1.ok b/dev9/pg13/tpch/sf_10/explain_analyze/15721/2-1.ok new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/dev9/pg13/tpch/sf_10/explain_analyze/15721/2-1.res b/dev9/pg13/tpch/sf_10/explain_analyze/15721/2-1.res new file mode 100644 index 0000000000000000000000000000000000000000..507b73a6c4703f6dbe1ad5fa38ff6954ebbfd07c --- /dev/null +++ b/dev9/pg13/tpch/sf_10/explain_analyze/15721/2-1.res @@ -0,0 +1 @@ +{"Plan": {"Node Type": "Limit", "Parallel Aware": false, "Startup Cost": 357327.96, "Total Cost": 357327.96, "Plan Rows": 1, "Plan Width": 192, "Actual Startup Time": 3573.542, "Actual Total Time": 3573.677, "Actual Rows": 100, "Actual Loops": 1, "Output": ["supplier.s_acctbal", "supplier.s_name", "nation.n_name", "part.p_partkey", "part.p_mfgr", "supplier.s_address", "supplier.s_phone", "supplier.s_comment"], "Plans": [{"Node Type": "Sort", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 357327.96, "Total Cost": 357327.96, "Plan Rows": 1, "Plan Width": 192, "Actual Startup Time": 3573.54, "Actual Total Time": 3573.666, "Actual Rows": 100, "Actual Loops": 1, "Output": ["supplier.s_acctbal", "supplier.s_name", "nation.n_name", "part.p_partkey", "part.p_mfgr", "supplier.s_address", "supplier.s_phone", "supplier.s_comment"], "Sort Key": ["supplier.s_acctbal DESC", "nation.n_name", "supplier.s_name", "part.p_partkey"], "Sort Method": "top-N heapsort", "Sort Space Used": 71, "Sort Space Type": "Memory", "Plans": [{"Node Type": "Hash Join", "Parent Relationship": "Outer", "Parallel Aware": false, "Join Type": "Inner", "Startup Cost": 157605.62, "Total Cost": 357327.95, "Plan Rows": 1, "Plan Width": 192, "Actual Startup Time": 2945.049, "Actual Total Time": 3571.134, "Actual Rows": 4732, "Actual Loops": 1, "Output": ["supplier.s_acctbal", "supplier.s_name", "nation.n_name", "part.p_partkey", "part.p_mfgr", "supplier.s_address", "supplier.s_phone", "supplier.s_comment"], "Inner Unique": false, "Hash Cond": "((part.p_partkey = partsupp.ps_partkey) AND ((SubPlan 1) = partsupp.ps_supplycost))", "Plans": [{"Node Type": "Gather", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 1000.0, "Total Cost": 50229.8, "Plan Rows": 7678, "Plan Width": 30, "Actual Startup Time": 0.336, "Actual Total Time": 2.703, "Actual Rows": 8075, "Actual Loops": 1, "Output": ["part.p_partkey", "part.p_mfgr"], "Workers Planned": 4, "Workers Launched": 4, "Single Copy": false, "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": true, "Relation Name": "part", "Schema": "public", "Alias": "part", "Startup Cost": 0.0, "Total Cost": 48462.0, "Plan Rows": 1920, "Plan Width": 30, "Actual Startup Time": 0.089, "Actual Total Time": 132.641, "Actual Rows": 1615, "Actual Loops": 5, "Output": ["part.p_partkey", "part.p_mfgr"], "Filter": "(((part.p_type)::text ~~ '%TIN'::text) AND (part.p_size = 44))", "Rows Removed by Filter": 398385, "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.034, "Actual Total Time": 202.268, "Actual Rows": 2579, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 0.274, "Actual Total Time": 190.761, "Actual Rows": 2322, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 0.045, "Actual Total Time": 150.961, "Actual Rows": 1826, "Actual Loops": 1}, {"Worker Number": 3, "Actual Startup Time": 0.062, "Actual Total Time": 119.172, "Actual Rows": 1347, "Actual Loops": 1}]}]}, {"Node Type": "Hash", "Parent Relationship": "Inner", "Parallel Aware": false, "Startup Cost": 93542.75, "Total Cost": 93542.75, "Plan Rows": 1599991, "Plan Width": 172, "Actual Startup Time": 2941.066, "Actual Total Time": 2941.07, "Actual Rows": 1602640, "Actual Loops": 1, "Output": ["supplier.s_acctbal", "supplier.s_name", "supplier.s_address", "supplier.s_phone", "supplier.s_comment", "partsupp.ps_partkey", "partsupp.ps_supplycost", "nation.n_name"], "Hash Buckets": 131072, "Original Hash Buckets": 131072, "Hash Batches": 32, "Original Hash Batches": 32, "Peak Memory Usage": 11233, "Plans": [{"Node Type": "Nested Loop", "Parent Relationship": "Outer", "Parallel Aware": false, "Join Type": "Inner", "Startup Cost": 0.72, "Total Cost": 93542.75, "Plan Rows": 1599991, "Plan Width": 172, "Actual Startup Time": 0.044, "Actual Total Time": 2092.063, "Actual Rows": 1602640, "Actual Loops": 1, "Output": ["supplier.s_acctbal", "supplier.s_name", "supplier.s_address", "supplier.s_phone", "supplier.s_comment", "partsupp.ps_partkey", "partsupp.ps_supplycost", "nation.n_name"], "Inner Unique": false, "Plans": [{"Node Type": "Nested Loop", "Parent Relationship": "Outer", "Parallel Aware": false, "Join Type": "Inner", "Startup Cost": 0.29, "Total Cost": 1055.41, "Plan Rows": 20000, "Plan Width": 166, "Actual Startup Time": 0.03, "Actual Total Time": 23.139, "Actual Rows": 20033, "Actual Loops": 1, "Output": ["supplier.s_acctbal", "supplier.s_name", "supplier.s_address", "supplier.s_phone", "supplier.s_comment", "supplier.s_suppkey", "nation.n_name"], "Inner Unique": false, "Plans": [{"Node Type": "Nested Loop", "Parent Relationship": "Outer", "Parallel Aware": false, "Join Type": "Inner", "Startup Cost": 0.0, "Total Cost": 2.62, "Plan Rows": 5, "Plan Width": 30, "Actual Startup Time": 0.012, "Actual Total Time": 0.041, "Actual Rows": 5, "Actual Loops": 1, "Output": ["nation.n_name", "nation.n_nationkey"], "Inner Unique": false, "Join Filter": "(nation.n_regionkey = region.r_regionkey)", "Rows Removed by Join Filter": 20, "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Relation Name": "region", "Schema": "public", "Alias": "region", "Startup Cost": 0.0, "Total Cost": 1.06, "Plan Rows": 1, "Plan Width": 4, "Actual Startup Time": 0.005, "Actual Total Time": 0.008, "Actual Rows": 1, "Actual Loops": 1, "Output": ["region.r_regionkey", "region.r_name", "region.r_comment"], "Filter": "(region.r_name = 'EUROPE'::bpchar)", "Rows Removed by Filter": 4}, {"Node Type": "Seq Scan", "Parent Relationship": "Inner", "Parallel Aware": false, "Relation Name": "nation", "Schema": "public", "Alias": "nation", "Startup Cost": 0.0, "Total Cost": 1.25, "Plan Rows": 25, "Plan Width": 34, "Actual Startup Time": 0.003, "Actual Total Time": 0.015, "Actual Rows": 25, "Actual Loops": 1, "Output": ["nation.n_nationkey", "nation.n_name", "nation.n_regionkey", "nation.n_comment"]}]}, {"Node Type": "Index Scan", "Parent Relationship": "Inner", "Parallel Aware": false, "Scan Direction": "Forward", "Index Name": "s_nk", "Relation Name": "supplier", "Schema": "public", "Alias": "supplier", "Startup Cost": 0.29, "Total Cost": 170.56, "Plan Rows": 4000, "Plan Width": 144, "Actual Startup Time": 0.01, "Actual Total Time": 3.134, "Actual Rows": 4007, "Actual Loops": 5, "Output": ["supplier.s_suppkey", "supplier.s_name", "supplier.s_address", "supplier.s_nationkey", "supplier.s_phone", "supplier.s_acctbal", "supplier.s_comment"], "Index Cond": "(supplier.s_nationkey = nation.n_nationkey)", "Rows Removed by Index Recheck": 0}]}, {"Node Type": "Index Scan", "Parent Relationship": "Inner", "Parallel Aware": false, "Scan Direction": "Forward", "Index Name": "ps_sk", "Relation Name": "partsupp", "Schema": "public", "Alias": "partsupp", "Startup Cost": 0.43, "Total Cost": 3.82, "Plan Rows": 80, "Plan Width": 14, "Actual Startup Time": 0.004, "Actual Total Time": 0.088, "Actual Rows": 80, "Actual Loops": 20033, "Output": ["partsupp.ps_partkey", "partsupp.ps_suppkey", "partsupp.ps_availqty", "partsupp.ps_supplycost", "partsupp.ps_comment"], "Index Cond": "(partsupp.ps_suppkey = supplier.s_suppkey)", "Rows Removed by Index Recheck": 0}]}]}, {"Node Type": "Aggregate", "Strategy": "Plain", "Partial Mode": "Simple", "Parent Relationship": "SubPlan", "Subplan Name": "SubPlan 1", "Parallel Aware": false, "Startup Cost": 14.48, "Total Cost": 14.49, "Plan Rows": 1, "Plan Width": 32, "Actual Startup Time": 0.026, "Actual Total Time": 0.026, "Actual Rows": 1, "Actual Loops": 12807, "Output": ["min(partsupp_1.ps_supplycost)"], "Plans": [{"Node Type": "Nested Loop", "Parent Relationship": "Outer", "Parallel Aware": false, "Join Type": "Inner", "Startup Cost": 0.86, "Total Cost": 14.48, "Plan Rows": 1, "Plan Width": 6, "Actual Startup Time": 0.019, "Actual Total Time": 0.025, "Actual Rows": 1, "Actual Loops": 12807, "Output": ["partsupp_1.ps_supplycost"], "Inner Unique": false, "Join Filter": "(nation_1.n_regionkey = region_1.r_regionkey)", "Rows Removed by Join Filter": 3, "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Relation Name": "region", "Schema": "public", "Alias": "region_1", "Startup Cost": 0.0, "Total Cost": 1.06, "Plan Rows": 1, "Plan Width": 4, "Actual Startup Time": 0.001, "Actual Total Time": 0.001, "Actual Rows": 1, "Actual Loops": 12807, "Output": ["region_1.r_regionkey", "region_1.r_name", "region_1.r_comment"], "Filter": "(region_1.r_name = 'EUROPE'::bpchar)", "Rows Removed by Filter": 4}, {"Node Type": "Nested Loop", "Parent Relationship": "Inner", "Parallel Aware": false, "Join Type": "Inner", "Startup Cost": 0.86, "Total Cost": 13.36, "Plan Rows": 4, "Plan Width": 10, "Actual Startup Time": 0.01, "Actual Total Time": 0.023, "Actual Rows": 4, "Actual Loops": 12807, "Output": ["partsupp_1.ps_supplycost", "nation_1.n_regionkey"], "Inner Unique": true, "Plans": [{"Node Type": "Nested Loop", "Parent Relationship": "Outer", "Parallel Aware": false, "Join Type": "Inner", "Startup Cost": 0.72, "Total Cost": 12.74, "Plan Rows": 4, "Plan Width": 10, "Actual Startup Time": 0.008, "Actual Total Time": 0.018, "Actual Rows": 4, "Actual Loops": 12807, "Output": ["partsupp_1.ps_supplycost", "supplier_1.s_nationkey"], "Inner Unique": true, "Plans": [{"Node Type": "Index Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Scan Direction": "Forward", "Index Name": "ps_pk", "Relation Name": "partsupp", "Schema": "public", "Alias": "partsupp_1", "Startup Cost": 0.43, "Total Cost": 2.7, "Plan Rows": 4, "Plan Width": 10, "Actual Startup Time": 0.005, "Actual Total Time": 0.006, "Actual Rows": 4, "Actual Loops": 12807, "Output": ["partsupp_1.ps_partkey", "partsupp_1.ps_suppkey", "partsupp_1.ps_availqty", "partsupp_1.ps_supplycost", "partsupp_1.ps_comment"], "Index Cond": "(partsupp_1.ps_partkey = part.p_partkey)", "Rows Removed by Index Recheck": 0}, {"Node Type": "Index Scan", "Parent Relationship": "Inner", "Parallel Aware": false, "Scan Direction": "Forward", "Index Name": "s_sk", "Relation Name": "supplier", "Schema": "public", "Alias": "supplier_1", "Startup Cost": 0.29, "Total Cost": 2.51, "Plan Rows": 1, "Plan Width": 8, "Actual Startup Time": 0.002, "Actual Total Time": 0.002, "Actual Rows": 1, "Actual Loops": 51228, "Output": ["supplier_1.s_suppkey", "supplier_1.s_name", "supplier_1.s_address", "supplier_1.s_nationkey", "supplier_1.s_phone", "supplier_1.s_acctbal", "supplier_1.s_comment"], "Index Cond": "(supplier_1.s_suppkey = partsupp_1.ps_suppkey)", "Rows Removed by Index Recheck": 0}]}, {"Node Type": "Index Scan", "Parent Relationship": "Inner", "Parallel Aware": false, "Scan Direction": "Forward", "Index Name": "n_nk", "Relation Name": "nation", "Schema": "public", "Alias": "nation_1", "Startup Cost": 0.14, "Total Cost": 0.16, "Plan Rows": 1, "Plan Width": 8, "Actual Startup Time": 0.001, "Actual Total Time": 0.001, "Actual Rows": 1, "Actual Loops": 51228, "Output": ["nation_1.n_nationkey", "nation_1.n_name", "nation_1.n_regionkey", "nation_1.n_comment"], "Index Cond": "(nation_1.n_nationkey = supplier_1.s_nationkey)", "Rows Removed by Index Recheck": 0}]}]}]}]}]}]}, "Planning Time": 2.346, "Triggers": [], "Execution Time": 3573.78} diff --git a/dev9/pg13/tpch/sf_10/explain_analyze/15721/20-1.ok b/dev9/pg13/tpch/sf_10/explain_analyze/15721/20-1.ok new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/dev9/pg13/tpch/sf_10/explain_analyze/15721/20-1.res b/dev9/pg13/tpch/sf_10/explain_analyze/15721/20-1.res new file mode 100644 index 0000000000000000000000000000000000000000..a2deaf189cae9082606d6fd62a62f6e143d9f00c --- /dev/null +++ b/dev9/pg13/tpch/sf_10/explain_analyze/15721/20-1.res @@ -0,0 +1 @@ +{"Plan": {"Node Type": "Sort", "Parallel Aware": false, "Startup Cost": 311438.25, "Total Cost": 311440.91, "Plan Rows": 1062, "Plan Width": 51, "Actual Startup Time": 1568.886, "Actual Total Time": 1569.095, "Actual Rows": 1786, "Actual Loops": 1, "Output": ["supplier.s_name", "supplier.s_address"], "Sort Key": ["supplier.s_name"], "Sort Method": "quicksort", "Sort Space Used": 254, "Sort Space Type": "Memory", "Plans": [{"Node Type": "Hash Join", "Parent Relationship": "Outer", "Parallel Aware": false, "Join Type": "Semi", "Startup Cost": 309157.5, "Total Cost": 311384.87, "Plan Rows": 1062, "Plan Width": 51, "Actual Startup Time": 1560.474, "Actual Total Time": 1565.509, "Actual Rows": 1786, "Actual Loops": 1, "Output": ["supplier.s_name", "supplier.s_address"], "Inner Unique": false, "Hash Cond": "(supplier.s_suppkey = partsupp.ps_suppkey)", "Plans": [{"Node Type": "Nested Loop", "Parent Relationship": "Outer", "Parallel Aware": false, "Join Type": "Inner", "Startup Cost": 35.69, "Total Cost": 2235.44, "Plan Rows": 4000, "Plan Width": 55, "Actual Startup Time": 0.706, "Actual Total Time": 4.577, "Actual Rows": 4049, "Actual Loops": 1, "Output": ["supplier.s_name", "supplier.s_address", "supplier.s_suppkey"], "Inner Unique": false, "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Relation Name": "nation", "Schema": "public", "Alias": "nation", "Startup Cost": 0.0, "Total Cost": 1.31, "Plan Rows": 1, "Plan Width": 4, "Actual Startup Time": 0.009, "Actual Total Time": 0.015, "Actual Rows": 1, "Actual Loops": 1, "Output": ["nation.n_nationkey", "nation.n_name", "nation.n_regionkey", "nation.n_comment"], "Filter": "(nation.n_name = 'GERMANY'::bpchar)", "Rows Removed by Filter": 24}, {"Node Type": "Bitmap Heap Scan", "Parent Relationship": "Inner", "Parallel Aware": false, "Relation Name": "supplier", "Schema": "public", "Alias": "supplier", "Startup Cost": 35.69, "Total Cost": 2194.12, "Plan Rows": 4000, "Plan Width": 59, "Actual Startup Time": 0.694, "Actual Total Time": 3.834, "Actual Rows": 4049, "Actual Loops": 1, "Output": ["supplier.s_suppkey", "supplier.s_name", "supplier.s_address", "supplier.s_nationkey", "supplier.s_phone", "supplier.s_acctbal", "supplier.s_comment"], "Recheck Cond": "(supplier.s_nationkey = nation.n_nationkey)", "Rows Removed by Index Recheck": 0, "Exact Heap Blocks": 1874, "Lossy Heap Blocks": 0, "Plans": [{"Node Type": "Bitmap Index Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Index Name": "s_nk", "Startup Cost": 0.0, "Total Cost": 34.69, "Plan Rows": 4000, "Plan Width": 0, "Actual Startup Time": 0.366, "Actual Total Time": 0.367, "Actual Rows": 4049, "Actual Loops": 1, "Index Cond": "(supplier.s_nationkey = nation.n_nationkey)"}]}]}, {"Node Type": "Hash", "Parent Relationship": "Inner", "Parallel Aware": false, "Startup Cost": 308787.81, "Total Cost": 308787.81, "Plan Rows": 26720, "Plan Width": 4, "Actual Startup Time": 1559.711, "Actual Total Time": 1559.822, "Actual Rows": 59274, "Actual Loops": 1, "Output": ["partsupp.ps_suppkey"], "Hash Buckets": 65536, "Original Hash Buckets": 32768, "Hash Batches": 1, "Original Hash Batches": 1, "Peak Memory Usage": 2596, "Plans": [{"Node Type": "Nested Loop", "Parent Relationship": "Outer", "Parallel Aware": false, "Join Type": "Inner", "Startup Cost": 1000.43, "Total Cost": 308787.81, "Plan Rows": 26720, "Plan Width": 4, "Actual Startup Time": 0.391, "Actual Total Time": 1540.969, "Actual Rows": 59274, "Actual Loops": 1, "Output": ["partsupp.ps_suppkey"], "Inner Unique": false, "Plans": [{"Node Type": "Gather", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 1000.0, "Total Cost": 50216.0, "Plan Rows": 20040, "Plan Width": 4, "Actual Startup Time": 0.331, "Actual Total Time": 5.321, "Actual Rows": 21783, "Actual Loops": 1, "Output": ["part.p_partkey"], "Workers Planned": 4, "Workers Launched": 4, "Single Copy": false, "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": true, "Relation Name": "part", "Schema": "public", "Alias": "part", "Startup Cost": 0.0, "Total Cost": 47212.0, "Plan Rows": 5010, "Plan Width": 4, "Actual Startup Time": 0.051, "Actual Total Time": 83.699, "Actual Rows": 4357, "Actual Loops": 5, "Output": ["part.p_partkey"], "Filter": "((part.p_name)::text ~~ 'floral%'::text)", "Rows Removed by Filter": 395643, "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.096, "Actual Total Time": 38.961, "Actual Rows": 1638, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 0.025, "Actual Total Time": 301.967, "Actual Rows": 16831, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 0.025, "Actual Total Time": 38.239, "Actual Rows": 1638, "Actual Loops": 1}, {"Worker Number": 3, "Actual Startup Time": 0.076, "Actual Total Time": 38.765, "Actual Rows": 1638, "Actual Loops": 1}]}]}, {"Node Type": "Index Scan", "Parent Relationship": "Inner", "Parallel Aware": false, "Scan Direction": "Forward", "Index Name": "ps_pk", "Relation Name": "partsupp", "Schema": "public", "Alias": "partsupp", "Startup Cost": 0.43, "Total Cost": 12.89, "Plan Rows": 1, "Plan Width": 8, "Actual Startup Time": 0.028, "Actual Total Time": 0.07, "Actual Rows": 3, "Actual Loops": 21783, "Output": ["partsupp.ps_partkey", "partsupp.ps_suppkey", "partsupp.ps_availqty", "partsupp.ps_supplycost", "partsupp.ps_comment"], "Index Cond": "(partsupp.ps_partkey = part.p_partkey)", "Rows Removed by Index Recheck": 0, "Filter": "((partsupp.ps_availqty)::numeric > (SubPlan 1))", "Rows Removed by Filter": 1, "Plans": [{"Node Type": "Aggregate", "Strategy": "Plain", "Partial Mode": "Simple", "Parent Relationship": "SubPlan", "Subplan Name": "SubPlan 1", "Parallel Aware": false, "Startup Cost": 2.67, "Total Cost": 2.68, "Plan Rows": 1, "Plan Width": 32, "Actual Startup Time": 0.015, "Actual Total Time": 0.015, "Actual Rows": 1, "Actual Loops": 87132, "Output": ["(0.5 * sum(lineitem.l_quantity))"], "Plans": [{"Node Type": "Index Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Scan Direction": "Forward", "Index Name": "l_sk_pk", "Relation Name": "lineitem", "Schema": "public", "Alias": "lineitem", "Startup Cost": 0.44, "Total Cost": 2.67, "Plan Rows": 1, "Plan Width": 5, "Actual Startup Time": 0.01, "Actual Total Time": 0.015, "Actual Rows": 1, "Actual Loops": 87132, "Output": ["lineitem.l_orderkey", "lineitem.l_partkey", "lineitem.l_suppkey", "lineitem.l_linenumber", "lineitem.l_quantity", "lineitem.l_extendedprice", "lineitem.l_discount", "lineitem.l_tax", "lineitem.l_returnflag", "lineitem.l_linestatus", "lineitem.l_shipdate", "lineitem.l_commitdate", "lineitem.l_receiptdate", "lineitem.l_shipinstruct", "lineitem.l_shipmode", "lineitem.l_comment"], "Index Cond": "((lineitem.l_suppkey = partsupp.ps_suppkey) AND (lineitem.l_partkey = partsupp.ps_partkey))", "Rows Removed by Index Recheck": 0, "Filter": "((lineitem.l_shipdate >= '1996-01-01'::date) AND (lineitem.l_shipdate < '1997-01-01 00:00:00'::timestamp without time zone))", "Rows Removed by Filter": 6}]}]}]}]}]}]}, "Planning Time": 0.825, "Triggers": [], "Execution Time": 1569.242} diff --git a/dev9/pg13/tpch/sf_10/explain_analyze/15721/21-1.ok b/dev9/pg13/tpch/sf_10/explain_analyze/15721/21-1.ok new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/dev9/pg13/tpch/sf_10/explain_analyze/15721/21-1.res b/dev9/pg13/tpch/sf_10/explain_analyze/15721/21-1.res new file mode 100644 index 0000000000000000000000000000000000000000..430602fb05e3d99064e55a7917831b4bbf11ed36 --- /dev/null +++ b/dev9/pg13/tpch/sf_10/explain_analyze/15721/21-1.res @@ -0,0 +1 @@ +{"Plan": {"Node Type": "Limit", "Parallel Aware": false, "Startup Cost": 407019.81, "Total Cost": 407019.82, "Plan Rows": 1, "Plan Width": 34, "Actual Startup Time": 6953.353, "Actual Total Time": 7029.531, "Actual Rows": 100, "Actual Loops": 1, "Output": ["supplier.s_name", "(count(*))"], "Plans": [{"Node Type": "Sort", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 407019.81, "Total Cost": 407019.82, "Plan Rows": 1, "Plan Width": 34, "Actual Startup Time": 6953.352, "Actual Total Time": 7029.52, "Actual Rows": 100, "Actual Loops": 1, "Output": ["supplier.s_name", "(count(*))"], "Sort Key": ["(count(*)) DESC", "supplier.s_name"], "Sort Method": "top-N heapsort", "Sort Space Used": 38, "Sort Space Type": "Memory", "Plans": [{"Node Type": "Aggregate", "Strategy": "Sorted", "Partial Mode": "Simple", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 407019.78, "Total Cost": 407019.8, "Plan Rows": 1, "Plan Width": 34, "Actual Startup Time": 6942.514, "Actual Total Time": 7027.887, "Actual Rows": 3988, "Actual Loops": 1, "Output": ["supplier.s_name", "count(*)"], "Group Key": ["supplier.s_name"], "Plans": [{"Node Type": "Sort", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 407019.78, "Total Cost": 407019.79, "Plan Rows": 1, "Plan Width": 26, "Actual Startup Time": 6942.499, "Actual Total Time": 7021.242, "Actual Rows": 39932, "Actual Loops": 1, "Output": ["supplier.s_name"], "Sort Key": ["supplier.s_name"], "Sort Method": "quicksort", "Sort Space Used": 4656, "Sort Space Type": "Memory", "Plans": [{"Node Type": "Nested Loop", "Parent Relationship": "Outer", "Parallel Aware": false, "Join Type": "Inner", "Startup Cost": 1003.33, "Total Cost": 407019.77, "Plan Rows": 1, "Plan Width": 26, "Actual Startup Time": 0.956, "Actual Total Time": 6888.359, "Actual Rows": 39932, "Actual Loops": 1, "Output": ["supplier.s_name"], "Inner Unique": true, "Plans": [{"Node Type": "Nested Loop", "Parent Relationship": "Outer", "Parallel Aware": false, "Join Type": "Semi", "Startup Cost": 1002.9, "Total Cost": 407019.3, "Plan Rows": 1, "Plan Width": 34, "Actual Startup Time": 0.944, "Actual Total Time": 6338.814, "Actual Rows": 81076, "Actual Loops": 1, "Output": ["supplier.s_name", "l1.l_orderkey", "l2.l_orderkey"], "Inner Unique": false, "Plans": [{"Node Type": "Gather", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 1002.33, "Total Cost": 407018.07, "Plan Rows": 1, "Plan Width": 34, "Actual Startup Time": 0.448, "Actual Total Time": 5795.354, "Actual Rows": 135007, "Actual Loops": 1, "Output": ["supplier.s_name", "l1.l_suppkey", "l1.l_orderkey"], "Workers Planned": 1, "Workers Launched": 1, "Single Copy": false, "Plans": [{"Node Type": "Nested Loop", "Parent Relationship": "Outer", "Parallel Aware": false, "Join Type": "Anti", "Startup Cost": 2.33, "Total Cost": 406017.97, "Plan Rows": 1, "Plan Width": 34, "Actual Startup Time": 0.785, "Actual Total Time": 6236.214, "Actual Rows": 67504, "Actual Loops": 2, "Output": ["supplier.s_name", "l1.l_suppkey", "l1.l_orderkey"], "Inner Unique": false, "Workers": [{"Worker Number": 0, "Actual Startup Time": 1.458, "Actual Total Time": 6787.094, "Actual Rows": 70698, "Actual Loops": 1}], "Plans": [{"Node Type": "Nested Loop", "Parent Relationship": "Outer", "Parallel Aware": false, "Join Type": "Inner", "Startup Cost": 1.76, "Total Cost": 67734.82, "Plan Rows": 470468, "Plan Width": 34, "Actual Startup Time": 0.215, "Actual Total Time": 2233.983, "Actual Rows": 756457, "Actual Loops": 2, "Output": ["supplier.s_name", "l1.l_suppkey", "l1.l_orderkey"], "Inner Unique": false, "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.385, "Actual Total Time": 2554.52, "Actual Rows": 794538, "Actual Loops": 1}], "Plans": [{"Node Type": "Hash Join", "Parent Relationship": "Outer", "Parallel Aware": false, "Join Type": "Inner", "Startup Cost": 1.32, "Total Cost": 2986.15, "Plan Rows": 2353, "Plan Width": 30, "Actual Startup Time": 0.144, "Actual Total Time": 22.217, "Actual Rows": 1994, "Actual Loops": 2, "Output": ["supplier.s_name", "supplier.s_suppkey"], "Inner Unique": true, "Hash Cond": "(supplier.s_nationkey = nation.n_nationkey)", "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.262, "Actual Total Time": 24.068, "Actual Rows": 2094, "Actual Loops": 1}], "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": true, "Relation Name": "supplier", "Schema": "public", "Alias": "supplier", "Startup Cost": 0.0, "Total Cost": 2804.24, "Plan Rows": 58824, "Plan Width": 34, "Actual Startup Time": 0.008, "Actual Total Time": 6.306, "Actual Rows": 50000, "Actual Loops": 2, "Output": ["supplier.s_suppkey", "supplier.s_name", "supplier.s_address", "supplier.s_nationkey", "supplier.s_phone", "supplier.s_acctbal", "supplier.s_comment"], "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.013, "Actual Total Time": 6.915, "Actual Rows": 53606, "Actual Loops": 1}]}, {"Node Type": "Hash", "Parent Relationship": "Inner", "Parallel Aware": false, "Startup Cost": 1.31, "Total Cost": 1.31, "Plan Rows": 1, "Plan Width": 4, "Actual Startup Time": 0.022, "Actual Total Time": 0.023, "Actual Rows": 1, "Actual Loops": 2, "Output": ["nation.n_nationkey"], "Hash Buckets": 1024, "Original Hash Buckets": 1024, "Hash Batches": 1, "Original Hash Batches": 1, "Peak Memory Usage": 9, "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.031, "Actual Total Time": 0.032, "Actual Rows": 1, "Actual Loops": 1}], "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Relation Name": "nation", "Schema": "public", "Alias": "nation", "Startup Cost": 0.0, "Total Cost": 1.31, "Plan Rows": 1, "Plan Width": 4, "Actual Startup Time": 0.017, "Actual Total Time": 0.019, "Actual Rows": 1, "Actual Loops": 2, "Output": ["nation.n_nationkey"], "Filter": "(nation.n_name = 'CHINA'::bpchar)", "Rows Removed by Filter": 24, "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.026, "Actual Total Time": 0.028, "Actual Rows": 1, "Actual Loops": 1}]}]}]}, {"Node Type": "Index Scan", "Parent Relationship": "Inner", "Parallel Aware": false, "Scan Direction": "Forward", "Index Name": "l_sk_pk", "Relation Name": "lineitem", "Schema": "public", "Alias": "l1", "Startup Cost": 0.44, "Total Cost": 25.51, "Plan Rows": 201, "Plan Width": 8, "Actual Startup Time": 0.014, "Actual Total Time": 1.062, "Actual Rows": 379, "Actual Loops": 3988, "Output": ["l1.l_orderkey", "l1.l_partkey", "l1.l_suppkey", "l1.l_linenumber", "l1.l_quantity", "l1.l_extendedprice", "l1.l_discount", "l1.l_tax", "l1.l_returnflag", "l1.l_linestatus", "l1.l_shipdate", "l1.l_commitdate", "l1.l_receiptdate", "l1.l_shipinstruct", "l1.l_shipmode", "l1.l_comment"], "Index Cond": "(l1.l_suppkey = supplier.s_suppkey)", "Rows Removed by Index Recheck": 0, "Filter": "(l1.l_receiptdate > l1.l_commitdate)", "Rows Removed by Filter": 221, "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.016, "Actual Total Time": 1.161, "Actual Rows": 379, "Actual Loops": 2094}]}]}, {"Node Type": "Index Scan", "Parent Relationship": "Inner", "Parallel Aware": false, "Scan Direction": "Forward", "Index Name": "l_ok", "Relation Name": "lineitem", "Schema": "public", "Alias": "l3", "Startup Cost": 0.56, "Total Cost": 1.28, "Plan Rows": 10, "Plan Width": 8, "Actual Startup Time": 0.005, "Actual Total Time": 0.005, "Actual Rows": 1, "Actual Loops": 1512914, "Output": ["l3.l_orderkey", "l3.l_partkey", "l3.l_suppkey", "l3.l_linenumber", "l3.l_quantity", "l3.l_extendedprice", "l3.l_discount", "l3.l_tax", "l3.l_returnflag", "l3.l_linestatus", "l3.l_shipdate", "l3.l_commitdate", "l3.l_receiptdate", "l3.l_shipinstruct", "l3.l_shipmode", "l3.l_comment"], "Index Cond": "(l3.l_orderkey = l1.l_orderkey)", "Rows Removed by Index Recheck": 0, "Filter": "((l3.l_receiptdate > l3.l_commitdate) AND (l3.l_suppkey <> l1.l_suppkey))", "Rows Removed by Filter": 1, "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.005, "Actual Total Time": 0.005, "Actual Rows": 1, "Actual Loops": 794538}]}]}]}, {"Node Type": "Index Scan", "Parent Relationship": "Inner", "Parallel Aware": false, "Scan Direction": "Forward", "Index Name": "l_ok", "Relation Name": "lineitem", "Schema": "public", "Alias": "l2", "Startup Cost": 0.56, "Total Cost": 1.21, "Plan Rows": 29, "Plan Width": 8, "Actual Startup Time": 0.004, "Actual Total Time": 0.004, "Actual Rows": 1, "Actual Loops": 135007, "Output": ["l2.l_orderkey", "l2.l_partkey", "l2.l_suppkey", "l2.l_linenumber", "l2.l_quantity", "l2.l_extendedprice", "l2.l_discount", "l2.l_tax", "l2.l_returnflag", "l2.l_linestatus", "l2.l_shipdate", "l2.l_commitdate", "l2.l_receiptdate", "l2.l_shipinstruct", "l2.l_shipmode", "l2.l_comment"], "Index Cond": "(l2.l_orderkey = l1.l_orderkey)", "Rows Removed by Index Recheck": 0, "Filter": "(l2.l_suppkey <> l1.l_suppkey)", "Rows Removed by Filter": 1}]}, {"Node Type": "Index Scan", "Parent Relationship": "Inner", "Parallel Aware": false, "Scan Direction": "Forward", "Index Name": "o_ok", "Relation Name": "orders", "Schema": "public", "Alias": "orders", "Startup Cost": 0.43, "Total Cost": 0.47, "Plan Rows": 1, "Plan Width": 4, "Actual Startup Time": 0.006, "Actual Total Time": 0.006, "Actual Rows": 0, "Actual Loops": 81076, "Output": ["orders.o_orderkey", "orders.o_custkey", "orders.o_orderstatus", "orders.o_totalprice", "orders.o_orderdate", "orders.o_orderpriority", "orders.o_clerk", "orders.o_shippriority", "orders.o_comment"], "Index Cond": "(orders.o_orderkey = l1.l_orderkey)", "Rows Removed by Index Recheck": 0, "Filter": "(orders.o_orderstatus = 'F'::bpchar)", "Rows Removed by Filter": 1}]}]}]}]}]}, "Planning Time": 2.583, "Triggers": [], "Execution Time": 7029.623} diff --git a/dev9/pg13/tpch/sf_10/explain_analyze/15721/22-1.ok b/dev9/pg13/tpch/sf_10/explain_analyze/15721/22-1.ok new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/dev9/pg13/tpch/sf_10/explain_analyze/15721/22-1.res b/dev9/pg13/tpch/sf_10/explain_analyze/15721/22-1.res new file mode 100644 index 0000000000000000000000000000000000000000..1a863a3753a620e7a058f34b788eb0ed1fbb8569 --- /dev/null +++ b/dev9/pg13/tpch/sf_10/explain_analyze/15721/22-1.res @@ -0,0 +1 @@ +{"Plan": {"Node Type": "Aggregate", "Strategy": "Sorted", "Partial Mode": "Simple", "Parallel Aware": false, "Startup Cost": 95817.92, "Total Cost": 96876.5, "Plan Rows": 7314, "Plan Width": 72, "Actual Startup Time": 597.008, "Actual Total Time": 639.86, "Actual Rows": 7, "Actual Loops": 1, "Output": ["(\"substring\"((customer.c_phone)::text, 1, 2))", "count(*)", "sum(customer.c_acctbal)"], "Group Key": ["(\"substring\"((customer.c_phone)::text, 1, 2))"], "Plans": [{"Node Type": "Aggregate", "Strategy": "Plain", "Partial Mode": "Finalize", "Parent Relationship": "InitPlan", "Subplan Name": "InitPlan 1 (returns $1)", "Parallel Aware": false, "Startup Cost": 46700.98, "Total Cost": 46700.99, "Plan Rows": 1, "Plan Width": 32, "Actual Startup Time": 258.044, "Actual Total Time": 258.135, "Actual Rows": 1, "Actual Loops": 1, "Output": ["avg(customer_1.c_acctbal)"], "Plans": [{"Node Type": "Gather", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 46700.55, "Total Cost": 46700.96, "Plan Rows": 4, "Plan Width": 32, "Actual Startup Time": 257.982, "Actual Total Time": 258.123, "Actual Rows": 5, "Actual Loops": 1, "Output": ["(PARTIAL avg(customer_1.c_acctbal))"], "Workers Planned": 4, "Workers Launched": 4, "Single Copy": false, "Plans": [{"Node Type": "Aggregate", "Strategy": "Plain", "Partial Mode": "Partial", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 45700.55, "Total Cost": 45700.56, "Plan Rows": 1, "Plan Width": 32, "Actual Startup Time": 254.364, "Actual Total Time": 254.365, "Actual Rows": 1, "Actual Loops": 5, "Output": ["PARTIAL avg(customer_1.c_acctbal)"], "Workers": [{"Worker Number": 0, "Actual Startup Time": 253.532, "Actual Total Time": 253.533, "Actual Rows": 1, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 253.533, "Actual Total Time": 253.534, "Actual Rows": 1, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 253.555, "Actual Total Time": 253.556, "Actual Rows": 1, "Actual Loops": 1}, {"Worker Number": 3, "Actual Startup Time": 253.546, "Actual Total Time": 253.547, "Actual Rows": 1, "Actual Loops": 1}], "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": true, "Relation Name": "customer", "Schema": "public", "Alias": "customer_1", "Startup Cost": 0.0, "Total Cost": 45670.75, "Plan Rows": 11917, "Plan Width": 6, "Actual Startup Time": 0.043, "Actual Total Time": 245.188, "Actual Rows": 76349, "Actual Loops": 5, "Output": ["customer_1.c_custkey", "customer_1.c_name", "customer_1.c_address", "customer_1.c_nationkey", "customer_1.c_phone", "customer_1.c_acctbal", "customer_1.c_mktsegment", "customer_1.c_comment"], "Filter": "((customer_1.c_acctbal > 0.00) AND (\"substring\"((customer_1.c_phone)::text, 1, 2) = ANY ('{17,20,25,31,30,11,33}'::text[])))", "Rows Removed by Filter": 223651, "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.057, "Actual Total Time": 244.624, "Actual Rows": 73973, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 0.048, "Actual Total Time": 244.639, "Actual Rows": 74099, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 0.046, "Actual Total Time": 244.559, "Actual Rows": 74798, "Actual Loops": 1}, {"Worker Number": 3, "Actual Startup Time": 0.053, "Actual Total Time": 244.572, "Actual Rows": 74675, "Actual Loops": 1}]}]}]}]}, {"Node Type": "Gather Merge", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 49116.93, "Total Cost": 49992.67, "Plan Rows": 7314, "Plan Width": 38, "Actual Startup Time": 592.969, "Actual Total Time": 627.283, "Actual Rows": 64032, "Actual Loops": 1, "Output": ["(\"substring\"((customer.c_phone)::text, 1, 2))", "customer.c_acctbal"], "Workers Planned": 4, "Params Evaluated": ["$1"], "Workers Launched": 4, "Plans": [{"Node Type": "Sort", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 48116.87, "Total Cost": 48121.44, "Plan Rows": 1828, "Plan Width": 38, "Actual Startup Time": 330.384, "Actual Total Time": 331.296, "Actual Rows": 12806, "Actual Loops": 5, "Output": ["(\"substring\"((customer.c_phone)::text, 1, 2))", "customer.c_acctbal"], "Sort Key": ["(\"substring\"((customer.c_phone)::text, 1, 2))"], "Sort Method": "quicksort", "Sort Space Used": 1070, "Sort Space Type": "Memory", "Workers": [{"Worker Number": 0, "Actual Startup Time": 328.299, "Actual Total Time": 329.145, "Actual Rows": 10615, "Actual Loops": 1, "Sort Method": "quicksort", "Sort Space Used": 882, "Sort Space Type": "Memory"}, {"Worker Number": 1, "Actual Startup Time": 329.733, "Actual Total Time": 330.653, "Actual Rows": 12902, "Actual Loops": 1, "Sort Method": "quicksort", "Sort Space Used": 989, "Sort Space Type": "Memory"}, {"Worker Number": 2, "Actual Startup Time": 329.711, "Actual Total Time": 330.648, "Actual Rows": 12953, "Actual Loops": 1, "Sort Method": "quicksort", "Sort Space Used": 992, "Sort Space Type": "Memory"}, {"Worker Number": 3, "Actual Startup Time": 330.135, "Actual Total Time": 331.072, "Actual Rows": 12945, "Actual Loops": 1, "Sort Method": "quicksort", "Sort Space Used": 991, "Sort Space Type": "Memory"}], "Plans": [{"Node Type": "Nested Loop", "Parent Relationship": "Outer", "Parallel Aware": false, "Join Type": "Anti", "Startup Cost": 0.43, "Total Cost": 48017.83, "Plan Rows": 1828, "Plan Width": 38, "Actual Startup Time": 0.143, "Actual Total Time": 325.584, "Actual Rows": 12806, "Actual Loops": 5, "Output": ["\"substring\"((customer.c_phone)::text, 1, 2)", "customer.c_acctbal"], "Inner Unique": false, "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.244, "Actual Total Time": 324.056, "Actual Rows": 10615, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 0.12, "Actual Total Time": 324.984, "Actual Rows": 12902, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 0.186, "Actual Total Time": 324.76, "Actual Rows": 12953, "Actual Loops": 1}, {"Worker Number": 3, "Actual Startup Time": 0.136, "Actual Total Time": 324.78, "Actual Rows": 12945, "Actual Loops": 1}], "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": true, "Relation Name": "customer", "Schema": "public", "Alias": "customer", "Startup Cost": 0.0, "Total Cost": 45670.75, "Plan Rows": 4375, "Plan Width": 26, "Actual Startup Time": 0.038, "Actual Total Time": 189.492, "Actual Rows": 38175, "Actual Loops": 5, "Output": ["customer.c_custkey", "customer.c_name", "customer.c_address", "customer.c_nationkey", "customer.c_phone", "customer.c_acctbal", "customer.c_mktsegment", "customer.c_comment"], "Filter": "((customer.c_acctbal > $1) AND (\"substring\"((customer.c_phone)::text, 1, 2) = ANY ('{17,20,25,31,30,11,33}'::text[])))", "Rows Removed by Filter": 261825, "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.055, "Actual Total Time": 175.843, "Actual Rows": 31721, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 0.03, "Actual Total Time": 192.852, "Actual Rows": 38733, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 0.057, "Actual Total Time": 192.61, "Actual Rows": 38536, "Actual Loops": 1}, {"Worker Number": 3, "Actual Startup Time": 0.038, "Actual Total Time": 192.642, "Actual Rows": 38367, "Actual Loops": 1}]}, {"Node Type": "Index Only Scan", "Parent Relationship": "Inner", "Parallel Aware": false, "Scan Direction": "Forward", "Index Name": "o_ck", "Relation Name": "orders", "Schema": "public", "Alias": "orders", "Startup Cost": 0.43, "Total Cost": 1.43, "Plan Rows": 17, "Plan Width": 4, "Actual Startup Time": 0.003, "Actual Total Time": 0.003, "Actual Rows": 1, "Actual Loops": 190873, "Output": ["orders.o_custkey"], "Index Cond": "(orders.o_custkey = customer.c_custkey)", "Rows Removed by Index Recheck": 0, "Heap Fetches": 0, "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.004, "Actual Total Time": 0.004, "Actual Rows": 1, "Actual Loops": 31721}, {"Worker Number": 1, "Actual Startup Time": 0.003, "Actual Total Time": 0.003, "Actual Rows": 1, "Actual Loops": 38733}, {"Worker Number": 2, "Actual Startup Time": 0.003, "Actual Total Time": 0.003, "Actual Rows": 1, "Actual Loops": 38536}, {"Worker Number": 3, "Actual Startup Time": 0.003, "Actual Total Time": 0.003, "Actual Rows": 1, "Actual Loops": 38367}]}]}]}]}]}, "Planning Time": 0.414, "Triggers": [], "Execution Time": 639.927} diff --git a/dev9/pg13/tpch/sf_10/explain_analyze/15721/3-1.ok b/dev9/pg13/tpch/sf_10/explain_analyze/15721/3-1.ok new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/dev9/pg13/tpch/sf_10/explain_analyze/15721/3-1.res b/dev9/pg13/tpch/sf_10/explain_analyze/15721/3-1.res new file mode 100644 index 0000000000000000000000000000000000000000..8687af65b3efa8877228d213850928d9fd3f366f --- /dev/null +++ b/dev9/pg13/tpch/sf_10/explain_analyze/15721/3-1.res @@ -0,0 +1 @@ +{"Plan": {"Node Type": "Limit", "Parallel Aware": false, "Startup Cost": 1346774.7, "Total Cost": 1346774.72, "Plan Rows": 10, "Plan Width": 44, "Actual Startup Time": 4100.025, "Actual Total Time": 4728.499, "Actual Rows": 10, "Actual Loops": 1, "Output": ["lineitem.l_orderkey", "(sum((lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount))))", "orders.o_orderdate", "orders.o_shippriority"], "Plans": [{"Node Type": "Sort", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 1346774.7, "Total Cost": 1354658.64, "Plan Rows": 3153577, "Plan Width": 44, "Actual Startup Time": 4100.023, "Actual Total Time": 4728.494, "Actual Rows": 10, "Actual Loops": 1, "Output": ["lineitem.l_orderkey", "(sum((lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount))))", "orders.o_orderdate", "orders.o_shippriority"], "Sort Key": ["(sum((lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount)))) DESC", "orders.o_orderdate"], "Sort Method": "top-N heapsort", "Sort Space Used": 26, "Sort Space Type": "Memory", "Plans": [{"Node Type": "Aggregate", "Strategy": "Sorted", "Partial Mode": "Simple", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 814311.26, "Total Cost": 1278627.03, "Plan Rows": 3153577, "Plan Width": 44, "Actual Startup Time": 3795.506, "Actual Total Time": 4702.602, "Actual Rows": 113340, "Actual Loops": 1, "Output": ["lineitem.l_orderkey", "sum((lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount)))", "orders.o_orderdate", "orders.o_shippriority"], "Group Key": ["lineitem.l_orderkey", "orders.o_orderdate", "orders.o_shippriority"], "Plans": [{"Node Type": "Gather Merge", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 814311.26, "Total Cost": 1191903.66, "Plan Rows": 3153577, "Plan Width": 24, "Actual Startup Time": 3795.484, "Actual Total Time": 4491.129, "Actual Rows": 298749, "Actual Loops": 1, "Output": ["lineitem.l_orderkey", "orders.o_orderdate", "orders.o_shippriority", "lineitem.l_extendedprice", "lineitem.l_discount"], "Workers Planned": 4, "Workers Launched": 4, "Plans": [{"Node Type": "Sort", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 813311.2, "Total Cost": 815282.18, "Plan Rows": 788394, "Plan Width": 24, "Actual Startup Time": 3788.487, "Actual Total Time": 3795.485, "Actual Rows": 59750, "Actual Loops": 5, "Output": ["lineitem.l_orderkey", "orders.o_orderdate", "orders.o_shippriority", "lineitem.l_extendedprice", "lineitem.l_discount"], "Sort Key": ["lineitem.l_orderkey", "orders.o_orderdate", "orders.o_shippriority"], "Sort Method": "quicksort", "Sort Space Used": 8495, "Sort Space Type": "Memory", "Workers": [{"Worker Number": 0, "Actual Startup Time": 3786.959, "Actual Total Time": 3793.508, "Actual Rows": 57979, "Actual Loops": 1, "Sort Method": "quicksort", "Sort Space Used": 6066, "Sort Space Type": "Memory"}, {"Worker Number": 1, "Actual Startup Time": 3786.584, "Actual Total Time": 3793.304, "Actual Rows": 56691, "Actual Loops": 1, "Sort Method": "quicksort", "Sort Space Used": 5965, "Sort Space Type": "Memory"}, {"Worker Number": 2, "Actual Startup Time": 3786.964, "Actual Total Time": 3793.955, "Actual Rows": 56890, "Actual Loops": 1, "Sort Method": "quicksort", "Sort Space Used": 5981, "Sort Space Type": "Memory"}, {"Worker Number": 3, "Actual Startup Time": 3786.864, "Actual Total Time": 3793.9, "Actual Rows": 57777, "Actual Loops": 1, "Sort Method": "quicksort", "Sort Space Used": 6050, "Sort Space Type": "Memory"}], "Plans": [{"Node Type": "Nested Loop", "Parent Relationship": "Outer", "Parallel Aware": false, "Join Type": "Inner", "Startup Cost": 1.0, "Total Cost": 726622.69, "Plan Rows": 788394, "Plan Width": 24, "Actual Startup Time": 1.613, "Actual Total Time": 3756.982, "Actual Rows": 59750, "Actual Loops": 5, "Output": ["lineitem.l_orderkey", "orders.o_orderdate", "orders.o_shippriority", "lineitem.l_extendedprice", "lineitem.l_discount"], "Inner Unique": false, "Workers": [{"Worker Number": 0, "Actual Startup Time": 1.825, "Actual Total Time": 3756.395, "Actual Rows": 57979, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 0.613, "Actual Total Time": 3756.642, "Actual Rows": 56691, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 0.571, "Actual Total Time": 3756.602, "Actual Rows": 56890, "Actual Loops": 1}, {"Worker Number": 3, "Actual Startup Time": 4.922, "Actual Total Time": 3756.245, "Actual Rows": 57777, "Actual Loops": 1}], "Plans": [{"Node Type": "Nested Loop", "Parent Relationship": "Outer", "Parallel Aware": false, "Join Type": "Inner", "Startup Cost": 0.43, "Total Cost": 180832.24, "Plan Rows": 366663, "Plan Width": 12, "Actual Startup Time": 0.138, "Actual Total Time": 1318.322, "Actual Rows": 292930, "Actual Loops": 5, "Output": ["orders.o_orderdate", "orders.o_shippriority", "orders.o_orderkey"], "Inner Unique": false, "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.16, "Actual Total Time": 1297.654, "Actual Rows": 284426, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 0.177, "Actual Total Time": 1292.566, "Actual Rows": 280929, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 0.151, "Actual Total Time": 1302.069, "Actual Rows": 279828, "Actual Loops": 1}, {"Worker Number": 3, "Actual Startup Time": 0.175, "Actual Total Time": 1301.807, "Actual Rows": 282563, "Actual Loops": 1}], "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": true, "Relation Name": "customer", "Schema": "public", "Alias": "customer", "Startup Cost": 0.0, "Total Cost": 40514.5, "Plan Rows": 75245, "Plan Width": 4, "Actual Startup Time": 0.032, "Actual Total Time": 129.398, "Actual Rows": 59899, "Actual Loops": 5, "Output": ["customer.c_custkey", "customer.c_name", "customer.c_address", "customer.c_nationkey", "customer.c_phone", "customer.c_acctbal", "customer.c_mktsegment", "customer.c_comment"], "Filter": "(customer.c_mktsegment = 'FURNITURE'::bpchar)", "Rows Removed by Filter": 240101, "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.034, "Actual Total Time": 128.707, "Actual Rows": 58234, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 0.044, "Actual Total Time": 128.594, "Actual Rows": 57264, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 0.033, "Actual Total Time": 129.78, "Actual Rows": 57128, "Actual Loops": 1}, {"Worker Number": 3, "Actual Startup Time": 0.037, "Actual Total Time": 129.718, "Actual Rows": 57993, "Actual Loops": 1}]}, {"Node Type": "Index Scan", "Parent Relationship": "Inner", "Parallel Aware": false, "Scan Direction": "Forward", "Index Name": "o_ck", "Relation Name": "orders", "Schema": "public", "Alias": "orders", "Startup Cost": 0.43, "Total Cost": 1.78, "Plan Rows": 8, "Plan Width": 16, "Actual Startup Time": 0.004, "Actual Total Time": 0.019, "Actual Rows": 5, "Actual Loops": 299496, "Output": ["orders.o_orderkey", "orders.o_custkey", "orders.o_orderstatus", "orders.o_totalprice", "orders.o_orderdate", "orders.o_orderpriority", "orders.o_clerk", "orders.o_shippriority", "orders.o_comment"], "Index Cond": "(orders.o_custkey = customer.c_custkey)", "Rows Removed by Index Recheck": 0, "Filter": "(orders.o_orderdate < '1995-03-20'::date)", "Rows Removed by Filter": 5, "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.005, "Actual Total Time": 0.019, "Actual Rows": 5, "Actual Loops": 58234}, {"Worker Number": 1, "Actual Startup Time": 0.005, "Actual Total Time": 0.019, "Actual Rows": 5, "Actual Loops": 57264}, {"Worker Number": 2, "Actual Startup Time": 0.005, "Actual Total Time": 0.019, "Actual Rows": 5, "Actual Loops": 57128}, {"Worker Number": 3, "Actual Startup Time": 0.005, "Actual Total Time": 0.019, "Actual Rows": 5, "Actual Loops": 57993}]}]}, {"Node Type": "Index Scan", "Parent Relationship": "Inner", "Parallel Aware": false, "Scan Direction": "Forward", "Index Name": "l_ok", "Relation Name": "lineitem", "Schema": "public", "Alias": "lineitem", "Startup Cost": 0.56, "Total Cost": 1.33, "Plan Rows": 16, "Plan Width": 16, "Actual Startup Time": 0.008, "Actual Total Time": 0.008, "Actual Rows": 0, "Actual Loops": 1464651, "Output": ["lineitem.l_orderkey", "lineitem.l_partkey", "lineitem.l_suppkey", "lineitem.l_linenumber", "lineitem.l_quantity", "lineitem.l_extendedprice", "lineitem.l_discount", "lineitem.l_tax", "lineitem.l_returnflag", "lineitem.l_linestatus", "lineitem.l_shipdate", "lineitem.l_commitdate", "lineitem.l_receiptdate", "lineitem.l_shipinstruct", "lineitem.l_shipmode", "lineitem.l_comment"], "Index Cond": "(lineitem.l_orderkey = orders.o_orderkey)", "Rows Removed by Index Recheck": 0, "Filter": "(lineitem.l_shipdate > '1995-03-20'::date)", "Rows Removed by Filter": 4, "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.008, "Actual Total Time": 0.008, "Actual Rows": 0, "Actual Loops": 284426}, {"Worker Number": 1, "Actual Startup Time": 0.008, "Actual Total Time": 0.009, "Actual Rows": 0, "Actual Loops": 280929}, {"Worker Number": 2, "Actual Startup Time": 0.008, "Actual Total Time": 0.009, "Actual Rows": 0, "Actual Loops": 279828}, {"Worker Number": 3, "Actual Startup Time": 0.008, "Actual Total Time": 0.008, "Actual Rows": 0, "Actual Loops": 282563}]}]}]}]}]}]}]}, "Planning Time": 0.946, "Triggers": [], "Execution Time": 4728.565} diff --git a/dev9/pg13/tpch/sf_10/explain_analyze/15721/4-1.ok b/dev9/pg13/tpch/sf_10/explain_analyze/15721/4-1.ok new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/dev9/pg13/tpch/sf_10/explain_analyze/15721/4-1.res b/dev9/pg13/tpch/sf_10/explain_analyze/15721/4-1.res new file mode 100644 index 0000000000000000000000000000000000000000..bd0b617f0c562c4d81d3466db61cb33241d57523 --- /dev/null +++ b/dev9/pg13/tpch/sf_10/explain_analyze/15721/4-1.res @@ -0,0 +1 @@ +{"Plan": {"Node Type": "Aggregate", "Strategy": "Sorted", "Partial Mode": "Finalize", "Parallel Aware": false, "Startup Cost": 341730.21, "Total Cost": 341832.23, "Plan Rows": 5, "Plan Width": 24, "Actual Startup Time": 1000.307, "Actual Total Time": 1152.384, "Actual Rows": 5, "Actual Loops": 1, "Output": ["orders.o_orderpriority", "count(*)"], "Group Key": ["orders.o_orderpriority"], "Plans": [{"Node Type": "Gather Merge", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 341730.21, "Total Cost": 341832.03, "Plan Rows": 30, "Plan Width": 24, "Actual Startup Time": 995.77, "Actual Total Time": 1152.365, "Actual Rows": 35, "Actual Loops": 1, "Output": ["orders.o_orderpriority", "(PARTIAL count(*))"], "Workers Planned": 6, "Workers Launched": 6, "Plans": [{"Node Type": "Aggregate", "Strategy": "Sorted", "Partial Mode": "Partial", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 340730.12, "Total Cost": 340828.29, "Plan Rows": 5, "Plan Width": 24, "Actual Startup Time": 983.494, "Actual Total Time": 995.372, "Actual Rows": 5, "Actual Loops": 7, "Output": ["orders.o_orderpriority", "PARTIAL count(*)"], "Group Key": ["orders.o_orderpriority"], "Workers": [{"Worker Number": 0, "Actual Startup Time": 983.022, "Actual Total Time": 994.023, "Actual Rows": 5, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 982.809, "Actual Total Time": 994.162, "Actual Rows": 5, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 981.048, "Actual Total Time": 992.162, "Actual Rows": 5, "Actual Loops": 1}, {"Worker Number": 3, "Actual Startup Time": 980.142, "Actual Total Time": 990.202, "Actual Rows": 5, "Actual Loops": 1}, {"Worker Number": 4, "Actual Startup Time": 981.098, "Actual Total Time": 992.068, "Actual Rows": 5, "Actual Loops": 1}, {"Worker Number": 5, "Actual Startup Time": 981.064, "Actual Total Time": 992.045, "Actual Rows": 5, "Actual Loops": 1}], "Plans": [{"Node Type": "Sort", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 340730.12, "Total Cost": 340762.82, "Plan Rows": 13083, "Plan Width": 16, "Actual Startup Time": 980.512, "Actual Total Time": 984.949, "Actual Rows": 74276, "Actual Loops": 7, "Output": ["orders.o_orderpriority"], "Sort Key": ["orders.o_orderpriority"], "Sort Method": "quicksort", "Sort Space Used": 8267, "Sort Space Type": "Memory", "Workers": [{"Worker Number": 0, "Actual Startup Time": 980.1, "Actual Total Time": 984.253, "Actual Rows": 69021, "Actual Loops": 1, "Sort Method": "quicksort", "Sort Space Used": 6308, "Sort Space Type": "Memory"}, {"Worker Number": 1, "Actual Startup Time": 980.089, "Actual Total Time": 984.32, "Actual Rows": 69306, "Actual Loops": 1, "Sort Method": "quicksort", "Sort Space Used": 6321, "Sort Space Type": "Memory"}, {"Worker Number": 2, "Actual Startup Time": 978.324, "Actual Total Time": 982.375, "Actual Rows": 69550, "Actual Loops": 1, "Sort Method": "quicksort", "Sort Space Used": 6333, "Sort Space Type": "Memory"}, {"Worker Number": 3, "Actual Startup Time": 977.637, "Actual Total Time": 981.329, "Actual Rows": 63638, "Actual Loops": 1, "Sort Method": "quicksort", "Sort Space Used": 4520, "Sort Space Type": "Memory"}, {"Worker Number": 4, "Actual Startup Time": 978.311, "Actual Total Time": 982.367, "Actual Rows": 68542, "Actual Loops": 1, "Sort Method": "quicksort", "Sort Space Used": 6285, "Sort Space Type": "Memory"}, {"Worker Number": 5, "Actual Startup Time": 978.309, "Actual Total Time": 982.353, "Actual Rows": 69050, "Actual Loops": 1, "Sort Method": "quicksort", "Sort Space Used": 6309, "Sort Space Type": "Memory"}], "Plans": [{"Node Type": "Nested Loop", "Parent Relationship": "Outer", "Parallel Aware": false, "Join Type": "Semi", "Startup Cost": 6355.84, "Total Cost": 339835.54, "Plan Rows": 13083, "Plan Width": 16, "Actual Startup Time": 172.833, "Actual Total Time": 955.333, "Actual Rows": 74276, "Actual Loops": 7, "Output": ["orders.o_orderpriority"], "Inner Unique": false, "Workers": [{"Worker Number": 0, "Actual Startup Time": 172.222, "Actual Total Time": 955.284, "Actual Rows": 69021, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 172.232, "Actual Total Time": 955.223, "Actual Rows": 69306, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 172.24, "Actual Total Time": 955.194, "Actual Rows": 69550, "Actual Loops": 1}, {"Worker Number": 3, "Actual Startup Time": 172.22, "Actual Total Time": 956.144, "Actual Rows": 63638, "Actual Loops": 1}, {"Worker Number": 4, "Actual Startup Time": 172.219, "Actual Total Time": 955.282, "Actual Rows": 68542, "Actual Loops": 1}, {"Worker Number": 5, "Actual Startup Time": 172.233, "Actual Total Time": 955.262, "Actual Rows": 69050, "Actual Loops": 1}], "Plans": [{"Node Type": "Bitmap Heap Scan", "Parent Relationship": "Outer", "Parallel Aware": true, "Relation Name": "orders", "Schema": "public", "Alias": "orders", "Startup Cost": 6355.27, "Total Cost": 268686.84, "Plan Rows": 94638, "Plan Width": 20, "Actual Startup Time": 172.739, "Actual Total Time": 369.477, "Actual Rows": 81014, "Actual Loops": 7, "Output": ["orders.o_orderkey", "orders.o_custkey", "orders.o_orderstatus", "orders.o_totalprice", "orders.o_orderdate", "orders.o_orderpriority", "orders.o_clerk", "orders.o_shippriority", "orders.o_comment"], "Recheck Cond": "((orders.o_orderdate >= '1996-01-01'::date) AND (orders.o_orderdate < '1996-04-01 00:00:00'::timestamp without time zone))", "Rows Removed by Index Recheck": 0, "Exact Heap Blocks": 49806, "Lossy Heap Blocks": 0, "Workers": [{"Worker Number": 0, "Actual Startup Time": 172.123, "Actual Total Time": 374.955, "Actual Rows": 75258, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 172.135, "Actual Total Time": 373.276, "Actual Rows": 75605, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 172.144, "Actual Total Time": 373.59, "Actual Rows": 75777, "Actual Loops": 1}, {"Worker Number": 3, "Actual Startup Time": 172.113, "Actual Total Time": 380.247, "Actual Rows": 69381, "Actual Loops": 1}, {"Worker Number": 4, "Actual Startup Time": 172.1, "Actual Total Time": 374.382, "Actual Rows": 74824, "Actual Loops": 1}, {"Worker Number": 5, "Actual Startup Time": 172.136, "Actual Total Time": 373.958, "Actual Rows": 75270, "Actual Loops": 1}], "Plans": [{"Node Type": "Bitmap Index Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Index Name": "o_od", "Startup Cost": 0.0, "Total Cost": 6213.32, "Plan Rows": 567828, "Plan Width": 0, "Actual Startup Time": 94.311, "Actual Total Time": 94.311, "Actual Rows": 567099, "Actual Loops": 1, "Index Cond": "((orders.o_orderdate >= '1996-01-01'::date) AND (orders.o_orderdate < '1996-04-01 00:00:00'::timestamp without time zone))", "Workers": []}]}, {"Node Type": "Index Scan", "Parent Relationship": "Inner", "Parallel Aware": false, "Scan Direction": "Forward", "Index Name": "l_ok", "Relation Name": "lineitem", "Schema": "public", "Alias": "lineitem", "Startup Cost": 0.56, "Total Cost": 2.21, "Plan Rows": 10, "Plan Width": 4, "Actual Startup Time": 0.007, "Actual Total Time": 0.007, "Actual Rows": 1, "Actual Loops": 567099, "Output": ["lineitem.l_orderkey", "lineitem.l_partkey", "lineitem.l_suppkey", "lineitem.l_linenumber", "lineitem.l_quantity", "lineitem.l_extendedprice", "lineitem.l_discount", "lineitem.l_tax", "lineitem.l_returnflag", "lineitem.l_linestatus", "lineitem.l_shipdate", "lineitem.l_commitdate", "lineitem.l_receiptdate", "lineitem.l_shipinstruct", "lineitem.l_shipmode", "lineitem.l_comment"], "Index Cond": "(lineitem.l_orderkey = orders.o_orderkey)", "Rows Removed by Index Recheck": 0, "Filter": "(lineitem.l_commitdate < lineitem.l_receiptdate)", "Rows Removed by Filter": 1, "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.007, "Actual Total Time": 0.007, "Actual Rows": 1, "Actual Loops": 75258}, {"Worker Number": 1, "Actual Startup Time": 0.007, "Actual Total Time": 0.007, "Actual Rows": 1, "Actual Loops": 75605}, {"Worker Number": 2, "Actual Startup Time": 0.007, "Actual Total Time": 0.007, "Actual Rows": 1, "Actual Loops": 75777}, {"Worker Number": 3, "Actual Startup Time": 0.008, "Actual Total Time": 0.008, "Actual Rows": 1, "Actual Loops": 69381}, {"Worker Number": 4, "Actual Startup Time": 0.007, "Actual Total Time": 0.007, "Actual Rows": 1, "Actual Loops": 74824}, {"Worker Number": 5, "Actual Startup Time": 0.007, "Actual Total Time": 0.007, "Actual Rows": 1, "Actual Loops": 75270}]}]}]}]}]}]}, "Planning Time": 0.477, "Triggers": [], "Execution Time": 1152.451} diff --git a/dev9/pg13/tpch/sf_10/explain_analyze/15721/5-1.ok b/dev9/pg13/tpch/sf_10/explain_analyze/15721/5-1.ok new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/dev9/pg13/tpch/sf_10/explain_analyze/15721/5-1.res b/dev9/pg13/tpch/sf_10/explain_analyze/15721/5-1.res new file mode 100644 index 0000000000000000000000000000000000000000..ff05a94035a42938b3b569b00fcabdd4428a12d2 --- /dev/null +++ b/dev9/pg13/tpch/sf_10/explain_analyze/15721/5-1.res @@ -0,0 +1 @@ +{"Plan": {"Node Type": "Sort", "Parallel Aware": false, "Startup Cost": 351836.9, "Total Cost": 351836.96, "Plan Rows": 25, "Plan Width": 58, "Actual Startup Time": 2285.948, "Actual Total Time": 2502.009, "Actual Rows": 5, "Actual Loops": 1, "Output": ["nation.n_name", "(sum((lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount))))"], "Sort Key": ["(sum((lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount)))) DESC"], "Sort Method": "quicksort", "Sort Space Used": 25, "Sort Space Type": "Memory", "Plans": [{"Node Type": "Aggregate", "Strategy": "Sorted", "Partial Mode": "Finalize", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 351594.63, "Total Cost": 351836.32, "Plan Rows": 25, "Plan Width": 58, "Actual Startup Time": 2279.132, "Actual Total Time": 2501.997, "Actual Rows": 5, "Actual Loops": 1, "Output": ["nation.n_name", "sum((lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount)))"], "Group Key": ["nation.n_name"], "Plans": [{"Node Type": "Gather Merge", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 351594.63, "Total Cost": 351835.26, "Plan Rows": 100, "Plan Width": 58, "Actual Startup Time": 2277.037, "Actual Total Time": 2501.966, "Actual Rows": 25, "Actual Loops": 1, "Output": ["nation.n_name", "(PARTIAL sum((lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount))))"], "Workers Planned": 4, "Workers Launched": 4, "Plans": [{"Node Type": "Aggregate", "Strategy": "Sorted", "Partial Mode": "Partial", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 350594.57, "Total Cost": 350823.29, "Plan Rows": 25, "Plan Width": 58, "Actual Startup Time": 2272.138, "Actual Total Time": 2279.099, "Actual Rows": 5, "Actual Loops": 5, "Output": ["nation.n_name", "PARTIAL sum((lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount)))"], "Group Key": ["nation.n_name"], "Workers": [{"Worker Number": 0, "Actual Startup Time": 2271.114, "Actual Total Time": 2277.55, "Actual Rows": 5, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 2271.264, "Actual Total Time": 2278.002, "Actual Rows": 5, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 2270.872, "Actual Total Time": 2277.634, "Actual Rows": 5, "Actual Loops": 1}, {"Worker Number": 3, "Actual Startup Time": 2270.97, "Actual Total Time": 2277.622, "Actual Rows": 5, "Actual Loops": 1}], "Plans": [{"Node Type": "Sort", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 350594.57, "Total Cost": 350640.25, "Plan Rows": 18272, "Plan Width": 38, "Actual Startup Time": 2270.404, "Actual Total Time": 2271.378, "Actual Rows": 14545, "Actual Loops": 5, "Output": ["nation.n_name", "lineitem.l_extendedprice", "lineitem.l_discount"], "Sort Key": ["nation.n_name"], "Sort Method": "quicksort", "Sort Space Used": 2093, "Sort Space Type": "Memory", "Workers": [{"Worker Number": 0, "Actual Startup Time": 2269.488, "Actual Total Time": 2270.355, "Actual Rows": 13872, "Actual Loops": 1, "Sort Method": "quicksort", "Sort Space Used": 1468, "Sort Space Type": "Memory"}, {"Worker Number": 1, "Actual Startup Time": 2269.593, "Actual Total Time": 2270.537, "Actual Rows": 14014, "Actual Loops": 1, "Sort Method": "quicksort", "Sort Space Used": 1479, "Sort Space Type": "Memory"}, {"Worker Number": 2, "Actual Startup Time": 2269.201, "Actual Total Time": 2270.204, "Actual Rows": 13854, "Actual Loops": 1, "Sort Method": "quicksort", "Sort Space Used": 1467, "Sort Space Type": "Memory"}, {"Worker Number": 3, "Actual Startup Time": 2269.326, "Actual Total Time": 2270.257, "Actual Rows": 14029, "Actual Loops": 1, "Sort Method": "quicksort", "Sort Space Used": 1481, "Sort Space Type": "Memory"}], "Plans": [{"Node Type": "Hash Join", "Parent Relationship": "Outer", "Parallel Aware": true, "Join Type": "Inner", "Startup Cost": 3690.1, "Total Cost": 349301.16, "Plan Rows": 18272, "Plan Width": 38, "Actual Startup Time": 15.252, "Actual Total Time": 2264.015, "Actual Rows": 14545, "Actual Loops": 5, "Output": ["nation.n_name", "lineitem.l_extendedprice", "lineitem.l_discount"], "Inner Unique": true, "Hash Cond": "((lineitem.l_suppkey = supplier.s_suppkey) AND (customer.c_nationkey = supplier.s_nationkey))", "Workers": [{"Worker Number": 0, "Actual Startup Time": 14.434, "Actual Total Time": 2263.421, "Actual Rows": 13872, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 14.038, "Actual Total Time": 2263.497, "Actual Rows": 14014, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 14.224, "Actual Total Time": 2263.164, "Actual Rows": 13854, "Actual Loops": 1}, {"Worker Number": 3, "Actual Startup Time": 14.736, "Actual Total Time": 2263.072, "Actual Rows": 14029, "Actual Loops": 1}], "Plans": [{"Node Type": "Nested Loop", "Parent Relationship": "Outer", "Parallel Aware": false, "Join Type": "Inner", "Startup Cost": 3.51, "Total Cost": 343216.36, "Plan Rows": 456801, "Plan Width": 50, "Actual Startup Time": 0.281, "Actual Total Time": 2155.8, "Actual Rows": 363271, "Actual Loops": 5, "Output": ["customer.c_nationkey", "lineitem.l_extendedprice", "lineitem.l_discount", "lineitem.l_suppkey", "nation.n_name", "nation.n_nationkey"], "Inner Unique": false, "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.379, "Actual Total Time": 2159.795, "Actual Rows": 347227, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 0.29, "Actual Total Time": 2159.67, "Actual Rows": 349325, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 0.355, "Actual Total Time": 2159.062, "Actual Rows": 346608, "Actual Loops": 1}, {"Worker Number": 3, "Actual Startup Time": 0.282, "Actual Total Time": 2159.448, "Actual Rows": 347721, "Actual Loops": 1}], "Plans": [{"Node Type": "Nested Loop", "Parent Relationship": "Outer", "Parallel Aware": false, "Join Type": "Inner", "Startup Cost": 2.94, "Total Cost": 120494.92, "Plan Rows": 114235, "Plan Width": 38, "Actual Startup Time": 0.211, "Actual Total Time": 1242.836, "Actual Rows": 90894, "Actual Loops": 5, "Output": ["customer.c_nationkey", "orders.o_orderkey", "nation.n_name", "nation.n_nationkey"], "Inner Unique": false, "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.296, "Actual Total Time": 1223.605, "Actual Rows": 86800, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 0.198, "Actual Total Time": 1219.906, "Actual Rows": 87393, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 0.274, "Actual Total Time": 1219.677, "Actual Rows": 86636, "Actual Loops": 1}, {"Worker Number": 3, "Actual Startup Time": 0.205, "Actual Total Time": 1221.812, "Actual Rows": 87044, "Actual Loops": 1}], "Plans": [{"Node Type": "Hash Join", "Parent Relationship": "Outer", "Parallel Aware": false, "Join Type": "Inner", "Startup Cost": 2.51, "Total Cost": 41735.76, "Plan Rows": 75000, "Plan Width": 38, "Actual Startup Time": 0.118, "Actual Total Time": 147.447, "Actual Rows": 59887, "Actual Loops": 5, "Output": ["customer.c_custkey", "customer.c_nationkey", "nation.n_name", "nation.n_nationkey"], "Inner Unique": false, "Hash Cond": "(customer.c_nationkey = nation.n_nationkey)", "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.129, "Actual Total Time": 145.461, "Actual Rows": 57258, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 0.134, "Actual Total Time": 145.377, "Actual Rows": 57765, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 0.135, "Actual Total Time": 144.78, "Actual Rows": 57392, "Actual Loops": 1}, {"Worker Number": 3, "Actual Startup Time": 0.136, "Actual Total Time": 145.401, "Actual Rows": 57294, "Actual Loops": 1}], "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": true, "Relation Name": "customer", "Schema": "public", "Alias": "customer", "Startup Cost": 0.0, "Total Cost": 39577.0, "Plan Rows": 375000, "Plan Width": 8, "Actual Startup Time": 0.023, "Actual Total Time": 40.849, "Actual Rows": 300000, "Actual Loops": 5, "Output": ["customer.c_custkey", "customer.c_name", "customer.c_address", "customer.c_nationkey", "customer.c_phone", "customer.c_acctbal", "customer.c_mktsegment", "customer.c_comment"], "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.028, "Actual Total Time": 41.893, "Actual Rows": 286429, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 0.026, "Actual Total Time": 42.074, "Actual Rows": 289230, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 0.031, "Actual Total Time": 41.933, "Actual Rows": 287453, "Actual Loops": 1}, {"Worker Number": 3, "Actual Startup Time": 0.026, "Actual Total Time": 41.914, "Actual Rows": 287302, "Actual Loops": 1}]}, {"Node Type": "Hash", "Parent Relationship": "Inner", "Parallel Aware": false, "Startup Cost": 2.45, "Total Cost": 2.45, "Plan Rows": 5, "Plan Width": 30, "Actual Startup Time": 0.075, "Actual Total Time": 0.077, "Actual Rows": 5, "Actual Loops": 5, "Output": ["nation.n_name", "nation.n_nationkey"], "Hash Buckets": 1024, "Original Hash Buckets": 1024, "Hash Batches": 1, "Original Hash Batches": 1, "Peak Memory Usage": 9, "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.079, "Actual Total Time": 0.082, "Actual Rows": 5, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 0.087, "Actual Total Time": 0.09, "Actual Rows": 5, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 0.084, "Actual Total Time": 0.086, "Actual Rows": 5, "Actual Loops": 1}, {"Worker Number": 3, "Actual Startup Time": 0.089, "Actual Total Time": 0.091, "Actual Rows": 5, "Actual Loops": 1}], "Plans": [{"Node Type": "Hash Join", "Parent Relationship": "Outer", "Parallel Aware": false, "Join Type": "Inner", "Startup Cost": 1.07, "Total Cost": 2.45, "Plan Rows": 5, "Plan Width": 30, "Actual Startup Time": 0.06, "Actual Total Time": 0.069, "Actual Rows": 5, "Actual Loops": 5, "Output": ["nation.n_name", "nation.n_nationkey"], "Inner Unique": true, "Hash Cond": "(nation.n_regionkey = region.r_regionkey)", "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.064, "Actual Total Time": 0.072, "Actual Rows": 5, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 0.072, "Actual Total Time": 0.081, "Actual Rows": 5, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 0.067, "Actual Total Time": 0.076, "Actual Rows": 5, "Actual Loops": 1}, {"Worker Number": 3, "Actual Startup Time": 0.07, "Actual Total Time": 0.082, "Actual Rows": 5, "Actual Loops": 1}], "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Relation Name": "nation", "Schema": "public", "Alias": "nation", "Startup Cost": 0.0, "Total Cost": 1.25, "Plan Rows": 25, "Plan Width": 34, "Actual Startup Time": 0.019, "Actual Total Time": 0.021, "Actual Rows": 25, "Actual Loops": 5, "Output": ["nation.n_nationkey", "nation.n_name", "nation.n_regionkey", "nation.n_comment"], "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.018, "Actual Total Time": 0.021, "Actual Rows": 25, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 0.027, "Actual Total Time": 0.029, "Actual Rows": 25, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 0.018, "Actual Total Time": 0.021, "Actual Rows": 25, "Actual Loops": 1}, {"Worker Number": 3, "Actual Startup Time": 0.026, "Actual Total Time": 0.029, "Actual Rows": 25, "Actual Loops": 1}]}, {"Node Type": "Hash", "Parent Relationship": "Inner", "Parallel Aware": false, "Startup Cost": 1.06, "Total Cost": 1.06, "Plan Rows": 1, "Plan Width": 4, "Actual Startup Time": 0.023, "Actual Total Time": 0.024, "Actual Rows": 1, "Actual Loops": 5, "Output": ["region.r_regionkey"], "Hash Buckets": 1024, "Original Hash Buckets": 1024, "Hash Batches": 1, "Original Hash Batches": 1, "Peak Memory Usage": 9, "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.025, "Actual Total Time": 0.026, "Actual Rows": 1, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 0.023, "Actual Total Time": 0.024, "Actual Rows": 1, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 0.028, "Actual Total Time": 0.029, "Actual Rows": 1, "Actual Loops": 1}, {"Worker Number": 3, "Actual Startup Time": 0.027, "Actual Total Time": 0.028, "Actual Rows": 1, "Actual Loops": 1}], "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Relation Name": "region", "Schema": "public", "Alias": "region", "Startup Cost": 0.0, "Total Cost": 1.06, "Plan Rows": 1, "Plan Width": 4, "Actual Startup Time": 0.018, "Actual Total Time": 0.019, "Actual Rows": 1, "Actual Loops": 5, "Output": ["region.r_regionkey"], "Filter": "(region.r_name = 'AMERICA'::bpchar)", "Rows Removed by Filter": 4, "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.019, "Actual Total Time": 0.021, "Actual Rows": 1, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 0.019, "Actual Total Time": 0.02, "Actual Rows": 1, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 0.023, "Actual Total Time": 0.025, "Actual Rows": 1, "Actual Loops": 1}, {"Worker Number": 3, "Actual Startup Time": 0.023, "Actual Total Time": 0.024, "Actual Rows": 1, "Actual Loops": 1}]}]}]}]}]}, {"Node Type": "Index Scan", "Parent Relationship": "Inner", "Parallel Aware": false, "Scan Direction": "Forward", "Index Name": "o_ck", "Relation Name": "orders", "Schema": "public", "Alias": "orders", "Startup Cost": 0.43, "Total Cost": 1.02, "Plan Rows": 3, "Plan Width": 8, "Actual Startup Time": 0.008, "Actual Total Time": 0.018, "Actual Rows": 2, "Actual Loops": 299436, "Output": ["orders.o_orderkey", "orders.o_custkey", "orders.o_orderstatus", "orders.o_totalprice", "orders.o_orderdate", "orders.o_orderpriority", "orders.o_clerk", "orders.o_shippriority", "orders.o_comment"], "Index Cond": "(orders.o_custkey = customer.c_custkey)", "Rows Removed by Index Recheck": 0, "Filter": "((orders.o_orderdate >= '1995-01-01'::date) AND (orders.o_orderdate < '1996-01-01 00:00:00'::timestamp without time zone))", "Rows Removed by Filter": 8, "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.008, "Actual Total Time": 0.018, "Actual Rows": 2, "Actual Loops": 57258}, {"Worker Number": 1, "Actual Startup Time": 0.008, "Actual Total Time": 0.018, "Actual Rows": 2, "Actual Loops": 57765}, {"Worker Number": 2, "Actual Startup Time": 0.008, "Actual Total Time": 0.018, "Actual Rows": 2, "Actual Loops": 57392}, {"Worker Number": 3, "Actual Startup Time": 0.008, "Actual Total Time": 0.018, "Actual Rows": 2, "Actual Loops": 57294}]}]}, {"Node Type": "Index Scan", "Parent Relationship": "Inner", "Parallel Aware": false, "Scan Direction": "Forward", "Index Name": "l_ok", "Relation Name": "lineitem", "Schema": "public", "Alias": "lineitem", "Startup Cost": 0.56, "Total Cost": 1.66, "Plan Rows": 29, "Plan Width": 20, "Actual Startup Time": 0.008, "Actual Total Time": 0.009, "Actual Rows": 4, "Actual Loops": 454468, "Output": ["lineitem.l_orderkey", "lineitem.l_partkey", "lineitem.l_suppkey", "lineitem.l_linenumber", "lineitem.l_quantity", "lineitem.l_extendedprice", "lineitem.l_discount", "lineitem.l_tax", "lineitem.l_returnflag", "lineitem.l_linestatus", "lineitem.l_shipdate", "lineitem.l_commitdate", "lineitem.l_receiptdate", "lineitem.l_shipinstruct", "lineitem.l_shipmode", "lineitem.l_comment"], "Index Cond": "(lineitem.l_orderkey = orders.o_orderkey)", "Rows Removed by Index Recheck": 0, "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.009, "Actual Total Time": 0.01, "Actual Rows": 4, "Actual Loops": 86800}, {"Worker Number": 1, "Actual Startup Time": 0.009, "Actual Total Time": 0.01, "Actual Rows": 4, "Actual Loops": 87393}, {"Worker Number": 2, "Actual Startup Time": 0.009, "Actual Total Time": 0.01, "Actual Rows": 4, "Actual Loops": 86636}, {"Worker Number": 3, "Actual Startup Time": 0.009, "Actual Total Time": 0.01, "Actual Rows": 4, "Actual Loops": 87044}]}]}, {"Node Type": "Hash", "Parent Relationship": "Inner", "Parallel Aware": true, "Startup Cost": 2804.24, "Total Cost": 2804.24, "Plan Rows": 58824, "Plan Width": 8, "Actual Startup Time": 14.271, "Actual Total Time": 14.272, "Actual Rows": 20000, "Actual Loops": 5, "Output": ["supplier.s_suppkey", "supplier.s_nationkey"], "Hash Buckets": 131072, "Original Hash Buckets": 131072, "Hash Batches": 1, "Original Hash Batches": 1, "Peak Memory Usage": 5024, "Workers": [{"Worker Number": 0, "Actual Startup Time": 13.646, "Actual Total Time": 13.647, "Actual Rows": 17901, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 13.655, "Actual Total Time": 13.655, "Actual Rows": 17922, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 13.678, "Actual Total Time": 13.679, "Actual Rows": 18006, "Actual Loops": 1}, {"Worker Number": 3, "Actual Startup Time": 13.692, "Actual Total Time": 13.693, "Actual Rows": 18019, "Actual Loops": 1}], "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": true, "Relation Name": "supplier", "Schema": "public", "Alias": "supplier", "Startup Cost": 0.0, "Total Cost": 2804.24, "Plan Rows": 58824, "Plan Width": 8, "Actual Startup Time": 0.012, "Actual Total Time": 7.065, "Actual Rows": 20000, "Actual Loops": 5, "Output": ["supplier.s_suppkey", "supplier.s_nationkey"], "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.012, "Actual Total Time": 6.891, "Actual Rows": 17901, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 0.011, "Actual Total Time": 6.893, "Actual Rows": 17922, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 0.013, "Actual Total Time": 6.932, "Actual Rows": 18006, "Actual Loops": 1}, {"Worker Number": 3, "Actual Startup Time": 0.014, "Actual Total Time": 6.918, "Actual Rows": 18019, "Actual Loops": 1}]}]}]}]}]}]}]}]}, "Planning Time": 2.466, "Triggers": [], "Execution Time": 2502.101} diff --git a/dev9/pg13/tpch/sf_10/explain_analyze/15721/6-1.ok b/dev9/pg13/tpch/sf_10/explain_analyze/15721/6-1.ok new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/dev9/pg13/tpch/sf_10/explain_analyze/15721/6-1.res b/dev9/pg13/tpch/sf_10/explain_analyze/15721/6-1.res new file mode 100644 index 0000000000000000000000000000000000000000..46c1539da876bc065c328ddd5c1b0e81b07723f6 --- /dev/null +++ b/dev9/pg13/tpch/sf_10/explain_analyze/15721/6-1.res @@ -0,0 +1 @@ +{"Plan": {"Node Type": "Aggregate", "Strategy": "Plain", "Partial Mode": "Finalize", "Parallel Aware": false, "Startup Cost": 1319176.24, "Total Cost": 1319176.25, "Plan Rows": 1, "Plan Width": 32, "Actual Startup Time": 2443.579, "Actual Total Time": 2636.49, "Actual Rows": 1, "Actual Loops": 1, "Output": ["sum((l_extendedprice * l_discount))"], "Plans": [{"Node Type": "Gather", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 1319175.49, "Total Cost": 1319176.2, "Plan Rows": 7, "Plan Width": 32, "Actual Startup Time": 2443.44, "Actual Total Time": 2636.474, "Actual Rows": 8, "Actual Loops": 1, "Output": ["(PARTIAL sum((l_extendedprice * l_discount)))"], "Workers Planned": 7, "Workers Launched": 7, "Single Copy": false, "Plans": [{"Node Type": "Aggregate", "Strategy": "Plain", "Partial Mode": "Partial", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 1318175.49, "Total Cost": 1318175.5, "Plan Rows": 1, "Plan Width": 32, "Actual Startup Time": 2439.406, "Actual Total Time": 2439.408, "Actual Rows": 1, "Actual Loops": 8, "Output": ["PARTIAL sum((l_extendedprice * l_discount))"], "Workers": [{"Worker Number": 0, "Actual Startup Time": 2438.732, "Actual Total Time": 2438.735, "Actual Rows": 1, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 2438.857, "Actual Total Time": 2438.859, "Actual Rows": 1, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 2438.967, "Actual Total Time": 2438.969, "Actual Rows": 1, "Actual Loops": 1}, {"Worker Number": 3, "Actual Startup Time": 2438.922, "Actual Total Time": 2438.925, "Actual Rows": 1, "Actual Loops": 1}, {"Worker Number": 4, "Actual Startup Time": 2438.926, "Actual Total Time": 2438.929, "Actual Rows": 1, "Actual Loops": 1}, {"Worker Number": 5, "Actual Startup Time": 2438.925, "Actual Total Time": 2438.928, "Actual Rows": 1, "Actual Loops": 1}, {"Worker Number": 6, "Actual Startup Time": 2438.914, "Actual Total Time": 2438.918, "Actual Rows": 1, "Actual Loops": 1}], "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": true, "Relation Name": "lineitem", "Schema": "public", "Alias": "lineitem", "Startup Cost": 0.0, "Total Cost": 1317349.67, "Plan Rows": 165164, "Plan Width": 12, "Actual Startup Time": 0.044, "Actual Total Time": 2394.28, "Actual Rows": 143005, "Actual Loops": 8, "Output": ["l_orderkey", "l_partkey", "l_suppkey", "l_linenumber", "l_quantity", "l_extendedprice", "l_discount", "l_tax", "l_returnflag", "l_linestatus", "l_shipdate", "l_commitdate", "l_receiptdate", "l_shipinstruct", "l_shipmode", "l_comment"], "Filter": "((lineitem.l_shipdate >= '1995-01-01'::date) AND (lineitem.l_shipdate < '1996-01-01 00:00:00'::timestamp without time zone) AND (lineitem.l_discount >= 0.04) AND (lineitem.l_discount <= 0.06) AND (lineitem.l_quantity < '24'::numeric))", "Rows Removed by Filter": 7355252, "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.042, "Actual Total Time": 2395.468, "Actual Rows": 133958, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 0.039, "Actual Total Time": 2395.447, "Actual Rows": 134850, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 0.039, "Actual Total Time": 2395.535, "Actual Rows": 134670, "Actual Loops": 1}, {"Worker Number": 3, "Actual Startup Time": 0.041, "Actual Total Time": 2395.218, "Actual Rows": 135552, "Actual Loops": 1}, {"Worker Number": 4, "Actual Startup Time": 0.093, "Actual Total Time": 2395.565, "Actual Rows": 134857, "Actual Loops": 1}, {"Worker Number": 5, "Actual Startup Time": 0.045, "Actual Total Time": 2395.995, "Actual Rows": 133389, "Actual Loops": 1}, {"Worker Number": 6, "Actual Startup Time": 0.039, "Actual Total Time": 2395.47, "Actual Rows": 135100, "Actual Loops": 1}]}]}]}]}, "Planning Time": 0.165, "Triggers": [], "Execution Time": 2636.53} diff --git a/dev9/pg13/tpch/sf_10/explain_analyze/15721/7-1.ok b/dev9/pg13/tpch/sf_10/explain_analyze/15721/7-1.ok new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/dev9/pg13/tpch/sf_10/explain_analyze/15721/7-1.res b/dev9/pg13/tpch/sf_10/explain_analyze/15721/7-1.res new file mode 100644 index 0000000000000000000000000000000000000000..22b4ef7217e5dce98d915633e3b94632b847ebe7 --- /dev/null +++ b/dev9/pg13/tpch/sf_10/explain_analyze/15721/7-1.res @@ -0,0 +1 @@ +{"Plan": {"Node Type": "Aggregate", "Strategy": "Sorted", "Partial Mode": "Finalize", "Parallel Aware": false, "Startup Cost": 241687.41, "Total Cost": 243151.33, "Plan Rows": 10096, "Plan Width": 92, "Actual Startup Time": 5660.882, "Actual Total Time": 5932.921, "Actual Rows": 4, "Actual Loops": 1, "Output": ["n1.n_name", "n2.n_name", "(date_part('year'::text, (lineitem.l_shipdate)::timestamp without time zone))", "sum((lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount)))"], "Group Key": ["n1.n_name", "n2.n_name", "(date_part('year'::text, (lineitem.l_shipdate)::timestamp without time zone))"], "Plans": [{"Node Type": "Gather Merge", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 241687.41, "Total Cost": 242848.45, "Plan Rows": 10096, "Plan Width": 92, "Actual Startup Time": 5660.869, "Actual Total Time": 5932.901, "Actual Rows": 8, "Actual Loops": 1, "Output": ["n1.n_name", "n2.n_name", "(date_part('year'::text, (lineitem.l_shipdate)::timestamp without time zone))", "(PARTIAL sum((lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount))))"], "Workers Planned": 1, "Workers Launched": 1, "Plans": [{"Node Type": "Sort", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 240687.4, "Total Cost": 240712.64, "Plan Rows": 10096, "Plan Width": 92, "Actual Startup Time": 5657.677, "Actual Total Time": 5657.685, "Actual Rows": 4, "Actual Loops": 2, "Output": ["n1.n_name", "n2.n_name", "(date_part('year'::text, (lineitem.l_shipdate)::timestamp without time zone))", "(PARTIAL sum((lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount))))"], "Sort Key": ["n1.n_name", "n2.n_name", "(date_part('year'::text, (lineitem.l_shipdate)::timestamp without time zone))"], "Sort Method": "quicksort", "Sort Space Used": 25, "Sort Space Type": "Memory", "Workers": [{"Worker Number": 0, "Actual Startup Time": 5654.969, "Actual Total Time": 5654.976, "Actual Rows": 4, "Actual Loops": 1, "Sort Method": "quicksort", "Sort Space Used": 25, "Sort Space Type": "Memory"}], "Plans": [{"Node Type": "Aggregate", "Strategy": "Hashed", "Partial Mode": "Partial", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 239839.26, "Total Cost": 240015.94, "Plan Rows": 10096, "Plan Width": 92, "Actual Startup Time": 5657.599, "Actual Total Time": 5657.648, "Actual Rows": 4, "Actual Loops": 2, "Output": ["n1.n_name", "n2.n_name", "(date_part('year'::text, (lineitem.l_shipdate)::timestamp without time zone))", "PARTIAL sum((lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount)))"], "Group Key": ["n1.n_name", "n2.n_name", "date_part('year'::text, (lineitem.l_shipdate)::timestamp without time zone)"], "Planned Partitions": 0, "HashAgg Batches": 1, "Peak Memory Usage": 409, "Disk Usage": 0, "Workers": [{"Worker Number": 0, "Actual Startup Time": 5654.862, "Actual Total Time": 5654.916, "Actual Rows": 4, "Actual Loops": 1, "HashAgg Batches": 1, "Peak Memory Usage": 409, "Disk Usage": 0}], "Plans": [{"Node Type": "Hash Join", "Parent Relationship": "Outer", "Parallel Aware": true, "Join Type": "Inner", "Startup Cost": 79686.33, "Total Cost": 239302.92, "Plan Rows": 35756, "Plan Width": 72, "Actual Startup Time": 5430.802, "Actual Total Time": 5632.725, "Actual Rows": 28896, "Actual Loops": 2, "Output": ["n1.n_name", "n2.n_name", "date_part('year'::text, (lineitem.l_shipdate)::timestamp without time zone)", "lineitem.l_extendedprice", "lineitem.l_discount"], "Inner Unique": false, "Hash Cond": "(lineitem.l_orderkey = orders.o_orderkey)", "Join Filter": "(((n1.n_name = 'IRAN'::bpchar) AND (n2.n_name = 'ETHIOPIA'::bpchar)) OR ((n1.n_name = 'ETHIOPIA'::bpchar) AND (n2.n_name = 'IRAN'::bpchar)))", "Rows Removed by Join Filter": 28926, "Workers": [{"Worker Number": 0, "Actual Startup Time": 5441.461, "Actual Total Time": 5630.867, "Actual Rows": 27780, "Actual Loops": 1}], "Plans": [{"Node Type": "Nested Loop", "Parent Relationship": "Outer", "Parallel Aware": false, "Join Type": "Inner", "Startup Cost": 1.84, "Total Cost": 138719.02, "Plan Rows": 859187, "Plan Width": 46, "Actual Startup Time": 0.101, "Actual Total Time": 3717.293, "Actual Rows": 725418, "Actual Loops": 2, "Output": ["lineitem.l_shipdate", "lineitem.l_extendedprice", "lineitem.l_discount", "lineitem.l_orderkey", "n1.n_name"], "Inner Unique": false, "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.138, "Actual Total Time": 3728.037, "Actual Rows": 680896, "Actual Loops": 1}], "Plans": [{"Node Type": "Hash Join", "Parent Relationship": "Outer", "Parallel Aware": false, "Join Type": "Inner", "Startup Cost": 1.4, "Total Cost": 2986.23, "Plan Rows": 4706, "Plan Width": 30, "Actual Startup Time": 0.042, "Actual Total Time": 23.023, "Actual Rows": 3984, "Actual Loops": 2, "Output": ["supplier.s_suppkey", "n1.n_name"], "Inner Unique": true, "Hash Cond": "(supplier.s_nationkey = n1.n_nationkey)", "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.046, "Actual Total Time": 22.069, "Actual Rows": 3737, "Actual Loops": 1}], "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": true, "Relation Name": "supplier", "Schema": "public", "Alias": "supplier", "Startup Cost": 0.0, "Total Cost": 2804.24, "Plan Rows": 58824, "Plan Width": 8, "Actual Startup Time": 0.008, "Actual Total Time": 6.675, "Actual Rows": 50000, "Actual Loops": 2, "Output": ["supplier.s_suppkey", "supplier.s_name", "supplier.s_address", "supplier.s_nationkey", "supplier.s_phone", "supplier.s_acctbal", "supplier.s_comment"], "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.012, "Actual Total Time": 6.677, "Actual Rows": 45853, "Actual Loops": 1}]}, {"Node Type": "Hash", "Parent Relationship": "Inner", "Parallel Aware": false, "Startup Cost": 1.38, "Total Cost": 1.38, "Plan Rows": 2, "Plan Width": 30, "Actual Startup Time": 0.019, "Actual Total Time": 0.019, "Actual Rows": 2, "Actual Loops": 2, "Output": ["n1.n_name", "n1.n_nationkey"], "Hash Buckets": 1024, "Original Hash Buckets": 1024, "Hash Batches": 1, "Original Hash Batches": 1, "Peak Memory Usage": 9, "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.017, "Actual Total Time": 0.018, "Actual Rows": 2, "Actual Loops": 1}], "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Relation Name": "nation", "Schema": "public", "Alias": "n1", "Startup Cost": 0.0, "Total Cost": 1.38, "Plan Rows": 2, "Plan Width": 30, "Actual Startup Time": 0.011, "Actual Total Time": 0.017, "Actual Rows": 2, "Actual Loops": 2, "Output": ["n1.n_name", "n1.n_nationkey"], "Filter": "((n1.n_name = 'IRAN'::bpchar) OR (n1.n_name = 'ETHIOPIA'::bpchar))", "Rows Removed by Filter": 23, "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.01, "Actual Total Time": 0.016, "Actual Rows": 2, "Actual Loops": 1}]}]}]}, {"Node Type": "Index Scan", "Parent Relationship": "Inner", "Parallel Aware": false, "Scan Direction": "Forward", "Index Name": "l_sk_pk", "Relation Name": "lineitem", "Schema": "public", "Alias": "lineitem", "Startup Cost": 0.44, "Total Cost": 27.01, "Plan Rows": 183, "Plan Width": 24, "Actual Startup Time": 0.015, "Actual Total Time": 0.904, "Actual Rows": 182, "Actual Loops": 7968, "Output": ["lineitem.l_orderkey", "lineitem.l_partkey", "lineitem.l_suppkey", "lineitem.l_linenumber", "lineitem.l_quantity", "lineitem.l_extendedprice", "lineitem.l_discount", "lineitem.l_tax", "lineitem.l_returnflag", "lineitem.l_linestatus", "lineitem.l_shipdate", "lineitem.l_commitdate", "lineitem.l_receiptdate", "lineitem.l_shipinstruct", "lineitem.l_shipmode", "lineitem.l_comment"], "Index Cond": "(lineitem.l_suppkey = supplier.s_suppkey)", "Rows Removed by Index Recheck": 0, "Filter": "((lineitem.l_shipdate >= '1995-01-01'::date) AND (lineitem.l_shipdate <= '1996-12-31'::date))", "Rows Removed by Filter": 417, "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.017, "Actual Total Time": 0.968, "Actual Rows": 182, "Actual Loops": 3737}]}]}, {"Node Type": "Hash", "Parent Relationship": "Inner", "Parallel Aware": true, "Startup Cost": 73883.32, "Total Cost": 73883.32, "Plan Rows": 300014, "Plan Width": 30, "Actual Startup Time": 1491.94, "Actual Total Time": 1491.943, "Actual Rows": 601562, "Actual Loops": 2, "Output": ["orders.o_orderkey", "n2.n_name"], "Hash Buckets": 524288, "Original Hash Buckets": 524288, "Hash Batches": 8, "Original Hash Batches": 8, "Peak Memory Usage": 13568, "Workers": [{"Worker Number": 0, "Actual Startup Time": 1491.159, "Actual Total Time": 1491.161, "Actual Rows": 571387, "Actual Loops": 1}], "Plans": [{"Node Type": "Nested Loop", "Parent Relationship": "Outer", "Parallel Aware": false, "Join Type": "Inner", "Startup Cost": 1.83, "Total Cost": 73883.32, "Plan Rows": 300014, "Plan Width": 30, "Actual Startup Time": 0.117, "Actual Total Time": 1349.813, "Actual Rows": 601562, "Actual Loops": 2, "Output": ["orders.o_orderkey", "n2.n_name"], "Inner Unique": false, "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.185, "Actual Total Time": 1353.162, "Actual Rows": 571387, "Actual Loops": 1}], "Plans": [{"Node Type": "Hash Join", "Parent Relationship": "Outer", "Parallel Aware": false, "Join Type": "Inner", "Startup Cost": 1.4, "Total Cost": 40729.65, "Plan Rows": 30000, "Plan Width": 30, "Actual Startup Time": 0.063, "Actual Total Time": 291.113, "Actual Rows": 60286, "Actual Loops": 2, "Output": ["customer.c_custkey", "n2.n_name"], "Inner Unique": true, "Hash Cond": "(customer.c_nationkey = n2.n_nationkey)", "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.09, "Actual Total Time": 289.138, "Actual Rows": 57344, "Actual Loops": 1}], "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": true, "Relation Name": "customer", "Schema": "public", "Alias": "customer", "Startup Cost": 0.0, "Total Cost": 39577.0, "Plan Rows": 375000, "Plan Width": 8, "Actual Startup Time": 0.016, "Actual Total Time": 77.601, "Actual Rows": 750000, "Actual Loops": 2, "Output": ["customer.c_custkey", "customer.c_name", "customer.c_address", "customer.c_nationkey", "customer.c_phone", "customer.c_acctbal", "customer.c_mktsegment", "customer.c_comment"], "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.027, "Actual Total Time": 77.481, "Actual Rows": 714512, "Actual Loops": 1}]}, {"Node Type": "Hash", "Parent Relationship": "Inner", "Parallel Aware": false, "Startup Cost": 1.38, "Total Cost": 1.38, "Plan Rows": 2, "Plan Width": 30, "Actual Startup Time": 0.03, "Actual Total Time": 0.031, "Actual Rows": 2, "Actual Loops": 2, "Output": ["n2.n_name", "n2.n_nationkey"], "Hash Buckets": 1024, "Original Hash Buckets": 1024, "Hash Batches": 1, "Original Hash Batches": 1, "Peak Memory Usage": 9, "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.042, "Actual Total Time": 0.043, "Actual Rows": 2, "Actual Loops": 1}], "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Relation Name": "nation", "Schema": "public", "Alias": "n2", "Startup Cost": 0.0, "Total Cost": 1.38, "Plan Rows": 2, "Plan Width": 30, "Actual Startup Time": 0.018, "Actual Total Time": 0.024, "Actual Rows": 2, "Actual Loops": 2, "Output": ["n2.n_name", "n2.n_nationkey"], "Filter": "((n2.n_name = 'ETHIOPIA'::bpchar) OR (n2.n_name = 'IRAN'::bpchar))", "Rows Removed by Filter": 23, "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.027, "Actual Total Time": 0.033, "Actual Rows": 2, "Actual Loops": 1}]}]}]}, {"Node Type": "Index Scan", "Parent Relationship": "Inner", "Parallel Aware": false, "Scan Direction": "Forward", "Index Name": "o_ck", "Relation Name": "orders", "Schema": "public", "Alias": "orders", "Startup Cost": 0.43, "Total Cost": 0.94, "Plan Rows": 17, "Plan Width": 8, "Actual Startup Time": 0.003, "Actual Total Time": 0.016, "Actual Rows": 10, "Actual Loops": 120572, "Output": ["orders.o_orderkey", "orders.o_custkey", "orders.o_orderstatus", "orders.o_totalprice", "orders.o_orderdate", "orders.o_orderpriority", "orders.o_clerk", "orders.o_shippriority", "orders.o_comment"], "Index Cond": "(orders.o_custkey = customer.c_custkey)", "Rows Removed by Index Recheck": 0, "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.003, "Actual Total Time": 0.017, "Actual Rows": 10, "Actual Loops": 57344}]}]}]}]}]}]}]}]}, "Planning Time": 1.841, "Triggers": [], "Execution Time": 5933.099} diff --git a/dev9/pg13/tpch/sf_10/explain_analyze/15721/8-1.ok b/dev9/pg13/tpch/sf_10/explain_analyze/15721/8-1.ok new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/dev9/pg13/tpch/sf_10/explain_analyze/15721/8-1.res b/dev9/pg13/tpch/sf_10/explain_analyze/15721/8-1.res new file mode 100644 index 0000000000000000000000000000000000000000..867bf9177e7d014fb3d33deb42dec244b392aaa3 --- /dev/null +++ b/dev9/pg13/tpch/sf_10/explain_analyze/15721/8-1.res @@ -0,0 +1 @@ +{"Plan": {"Node Type": "Aggregate", "Strategy": "Sorted", "Partial Mode": "Finalize", "Parallel Aware": false, "Startup Cost": 215459.01, "Total Cost": 216965.4, "Plan Rows": 2406, "Plan Width": 40, "Actual Startup Time": 1232.636, "Actual Total Time": 1472.61, "Actual Rows": 2, "Actual Loops": 1, "Output": ["(date_part('year'::text, (orders.o_orderdate)::timestamp without time zone))", "(sum(CASE WHEN (n2.n_name = 'ETHIOPIA'::bpchar) THEN (lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount)) ELSE '0'::numeric END) / sum((lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount))))"], "Group Key": ["(date_part('year'::text, (orders.o_orderdate)::timestamp without time zone))"], "Plans": [{"Node Type": "Gather Merge", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 215459.01, "Total Cost": 216790.96, "Plan Rows": 9624, "Plan Width": 72, "Actual Startup Time": 1230.426, "Actual Total Time": 1472.585, "Actual Rows": 10, "Actual Loops": 1, "Output": ["(date_part('year'::text, (orders.o_orderdate)::timestamp without time zone))", "(PARTIAL sum(CASE WHEN (n2.n_name = 'ETHIOPIA'::bpchar) THEN (lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount)) ELSE '0'::numeric END))", "(PARTIAL sum((lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount))))"], "Workers Planned": 4, "Workers Launched": 4, "Plans": [{"Node Type": "Aggregate", "Strategy": "Sorted", "Partial Mode": "Partial", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 214458.96, "Total Cost": 214644.6, "Plan Rows": 2406, "Plan Width": 72, "Actual Startup Time": 1224.807, "Actual Total Time": 1226.385, "Actual Rows": 2, "Actual Loops": 5, "Output": ["(date_part('year'::text, (orders.o_orderdate)::timestamp without time zone))", "PARTIAL sum(CASE WHEN (n2.n_name = 'ETHIOPIA'::bpchar) THEN (lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount)) ELSE '0'::numeric END)", "PARTIAL sum((lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount)))"], "Group Key": ["(date_part('year'::text, (orders.o_orderdate)::timestamp without time zone))"], "Workers": [{"Worker Number": 0, "Actual Startup Time": 1223.672, "Actual Total Time": 1225.063, "Actual Rows": 2, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 1223.436, "Actual Total Time": 1224.914, "Actual Rows": 2, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 1223.861, "Actual Total Time": 1225.292, "Actual Rows": 2, "Actual Loops": 1}, {"Worker Number": 3, "Actual Startup Time": 1223.279, "Actual Total Time": 1224.672, "Actual Rows": 2, "Actual Loops": 1}], "Plans": [{"Node Type": "Sort", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 214458.96, "Total Cost": 214474.24, "Plan Rows": 6112, "Plan Width": 46, "Actual Startup Time": 1223.158, "Actual Total Time": 1223.467, "Actual Rows": 4974, "Actual Loops": 5, "Output": ["(date_part('year'::text, (orders.o_orderdate)::timestamp without time zone))", "n2.n_name", "lineitem.l_extendedprice", "lineitem.l_discount"], "Sort Key": ["(date_part('year'::text, (orders.o_orderdate)::timestamp without time zone))"], "Sort Method": "quicksort", "Sort Space Used": 723, "Sort Space Type": "Memory", "Workers": [{"Worker Number": 0, "Actual Startup Time": 1222.143, "Actual Total Time": 1222.423, "Actual Rows": 4554, "Actual Loops": 1, "Sort Method": "quicksort", "Sort Space Used": 548, "Sort Space Type": "Memory"}, {"Worker Number": 1, "Actual Startup Time": 1221.864, "Actual Total Time": 1222.154, "Actual Rows": 4595, "Actual Loops": 1, "Sort Method": "quicksort", "Sort Space Used": 551, "Sort Space Type": "Memory"}, {"Worker Number": 2, "Actual Startup Time": 1222.343, "Actual Total Time": 1222.628, "Actual Rows": 4505, "Actual Loops": 1, "Sort Method": "quicksort", "Sort Space Used": 544, "Sort Space Type": "Memory"}, {"Worker Number": 3, "Actual Startup Time": 1221.822, "Actual Total Time": 1222.098, "Actual Rows": 4426, "Actual Loops": 1, "Sort Method": "quicksort", "Sort Space Used": 538, "Sort Space Type": "Memory"}], "Plans": [{"Node Type": "Hash Join", "Parent Relationship": "Outer", "Parallel Aware": false, "Join Type": "Inner", "Startup Cost": 5.67, "Total Cost": 214074.59, "Plan Rows": 6112, "Plan Width": 46, "Actual Startup Time": 2.081, "Actual Total Time": 1221.437, "Actual Rows": 4974, "Actual Loops": 5, "Output": ["date_part('year'::text, (orders.o_orderdate)::timestamp without time zone)", "n2.n_name", "lineitem.l_extendedprice", "lineitem.l_discount"], "Inner Unique": true, "Hash Cond": "(supplier.s_nationkey = n2.n_nationkey)", "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.569, "Actual Total Time": 1220.526, "Actual Rows": 4554, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 3.585, "Actual Total Time": 1220.13, "Actual Rows": 4595, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 4.809, "Actual Total Time": 1220.744, "Actual Rows": 4505, "Actual Loops": 1}, {"Worker Number": 3, "Actual Startup Time": 1.321, "Actual Total Time": 1220.234, "Actual Rows": 4426, "Actual Loops": 1}], "Plans": [{"Node Type": "Nested Loop", "Parent Relationship": "Outer", "Parallel Aware": false, "Join Type": "Inner", "Startup Cost": 4.1, "Total Cost": 214023.71, "Plan Rows": 6112, "Plan Width": 20, "Actual Startup Time": 1.975, "Actual Total Time": 1218.976, "Actual Rows": 4974, "Actual Loops": 5, "Output": ["lineitem.l_extendedprice", "lineitem.l_discount", "supplier.s_nationkey", "orders.o_orderdate"], "Inner Unique": true, "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.444, "Actual Total Time": 1218.227, "Actual Rows": 4554, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 3.461, "Actual Total Time": 1217.819, "Actual Rows": 4595, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 4.681, "Actual Total Time": 1218.471, "Actual Rows": 4505, "Actual Loops": 1}, {"Worker Number": 3, "Actual Startup Time": 1.194, "Actual Total Time": 1217.932, "Actual Rows": 4426, "Actual Loops": 1}], "Plans": [{"Node Type": "Hash Join", "Parent Relationship": "Outer", "Parallel Aware": false, "Join Type": "Inner", "Startup Cost": 3.81, "Total Cost": 212128.71, "Plan Rows": 6112, "Plan Width": 20, "Actual Startup Time": 1.926, "Actual Total Time": 1198.228, "Actual Rows": 4974, "Actual Loops": 5, "Output": ["lineitem.l_extendedprice", "lineitem.l_discount", "lineitem.l_suppkey", "orders.o_orderdate"], "Inner Unique": false, "Hash Cond": "(customer.c_nationkey = n1.n_nationkey)", "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.382, "Actual Total Time": 1198.866, "Actual Rows": 4554, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 3.404, "Actual Total Time": 1198.577, "Actual Rows": 4595, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 4.624, "Actual Total Time": 1199.428, "Actual Rows": 4505, "Actual Loops": 1}, {"Worker Number": 3, "Actual Startup Time": 1.137, "Actual Total Time": 1198.797, "Actual Rows": 4426, "Actual Loops": 1}], "Plans": [{"Node Type": "Nested Loop", "Parent Relationship": "Outer", "Parallel Aware": false, "Join Type": "Inner", "Startup Cost": 1.3, "Total Cost": 211950.47, "Plan Rows": 30562, "Plan Width": 24, "Actual Startup Time": 0.392, "Actual Total Time": 1193.191, "Actual Rows": 24632, "Actual Loops": 5, "Output": ["lineitem.l_extendedprice", "lineitem.l_discount", "lineitem.l_suppkey", "orders.o_orderdate", "customer.c_nationkey"], "Inner Unique": true, "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.309, "Actual Total Time": 1194.122, "Actual Rows": 22484, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 0.434, "Actual Total Time": 1193.856, "Actual Rows": 22421, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 0.511, "Actual Total Time": 1194.715, "Actual Rows": 22459, "Actual Loops": 1}, {"Worker Number": 3, "Actual Startup Time": 0.645, "Actual Total Time": 1194.214, "Actual Rows": 22329, "Actual Loops": 1}], "Plans": [{"Node Type": "Nested Loop", "Parent Relationship": "Outer", "Parallel Aware": false, "Join Type": "Inner", "Startup Cost": 0.88, "Total Cost": 198055.5, "Plan Rows": 30562, "Plan Width": 24, "Actual Startup Time": 0.32, "Actual Total Time": 1037.396, "Actual Rows": 24632, "Actual Loops": 5, "Output": ["lineitem.l_extendedprice", "lineitem.l_discount", "lineitem.l_suppkey", "orders.o_orderdate", "orders.o_custkey"], "Inner Unique": true, "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.224, "Actual Total Time": 1047.258, "Actual Rows": 22484, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 0.344, "Actual Total Time": 1047.159, "Actual Rows": 22421, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 0.431, "Actual Total Time": 1047.204, "Actual Rows": 22459, "Actual Loops": 1}, {"Worker Number": 3, "Actual Startup Time": 0.555, "Actual Total Time": 1046.285, "Actual Rows": 22329, "Actual Loops": 1}], "Plans": [{"Node Type": "Nested Loop", "Parent Relationship": "Outer", "Parallel Aware": false, "Join Type": "Inner", "Startup Cost": 0.44, "Total Cost": 151438.14, "Plan Rows": 100677, "Plan Width": 20, "Actual Startup Time": 0.136, "Actual Total Time": 420.237, "Actual Rows": 80815, "Actual Loops": 5, "Output": ["lineitem.l_extendedprice", "lineitem.l_discount", "lineitem.l_suppkey", "lineitem.l_orderkey"], "Inner Unique": false, "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.122, "Actual Total Time": 444.701, "Actual Rows": 74153, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 0.176, "Actual Total Time": 445.828, "Actual Rows": 74125, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 0.186, "Actual Total Time": 445.062, "Actual Rows": 73641, "Actual Loops": 1}, {"Worker Number": 3, "Actual Startup Time": 0.168, "Actual Total Time": 444.965, "Actual Rows": 72905, "Actual Loops": 1}], "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": true, "Relation Name": "part", "Schema": "public", "Alias": "part", "Startup Cost": 0.0, "Total Cost": 47212.0, "Plan Rows": 3357, "Plan Width": 4, "Actual Startup Time": 0.06, "Actual Total Time": 101.872, "Actual Rows": 2697, "Actual Loops": 5, "Output": ["part.p_partkey", "part.p_name", "part.p_mfgr", "part.p_brand", "part.p_type", "part.p_size", "part.p_container", "part.p_retailprice", "part.p_comment"], "Filter": "((part.p_type)::text = 'SMALL BRUSHED NICKEL'::text)", "Rows Removed by Filter": 397303, "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.025, "Actual Total Time": 94.35, "Actual Rows": 2480, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 0.092, "Actual Total Time": 95.992, "Actual Rows": 2476, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 0.097, "Actual Total Time": 94.934, "Actual Rows": 2445, "Actual Loops": 1}, {"Worker Number": 3, "Actual Startup Time": 0.075, "Actual Total Time": 96.823, "Actual Rows": 2440, "Actual Loops": 1}]}, {"Node Type": "Index Scan", "Parent Relationship": "Inner", "Parallel Aware": false, "Scan Direction": "Forward", "Index Name": "l_pk", "Relation Name": "lineitem", "Schema": "public", "Alias": "lineitem", "Startup Cost": 0.44, "Total Cost": 30.74, "Plan Rows": 31, "Plan Width": 24, "Actual Startup Time": 0.01, "Actual Total Time": 0.111, "Actual Rows": 30, "Actual Loops": 13487, "Output": ["lineitem.l_orderkey", "lineitem.l_partkey", "lineitem.l_suppkey", "lineitem.l_linenumber", "lineitem.l_quantity", "lineitem.l_extendedprice", "lineitem.l_discount", "lineitem.l_tax", "lineitem.l_returnflag", "lineitem.l_linestatus", "lineitem.l_shipdate", "lineitem.l_commitdate", "lineitem.l_receiptdate", "lineitem.l_shipinstruct", "lineitem.l_shipmode", "lineitem.l_comment"], "Index Cond": "(lineitem.l_partkey = part.p_partkey)", "Rows Removed by Index Recheck": 0, "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.012, "Actual Total Time": 0.133, "Actual Rows": 30, "Actual Loops": 2480}, {"Worker Number": 1, "Actual Startup Time": 0.012, "Actual Total Time": 0.134, "Actual Rows": 30, "Actual Loops": 2476}, {"Worker Number": 2, "Actual Startup Time": 0.012, "Actual Total Time": 0.135, "Actual Rows": 30, "Actual Loops": 2445}, {"Worker Number": 3, "Actual Startup Time": 0.012, "Actual Total Time": 0.135, "Actual Rows": 30, "Actual Loops": 2440}]}]}, {"Node Type": "Index Scan", "Parent Relationship": "Inner", "Parallel Aware": false, "Scan Direction": "Forward", "Index Name": "o_ok", "Relation Name": "orders", "Schema": "public", "Alias": "orders", "Startup Cost": 0.43, "Total Cost": 0.46, "Plan Rows": 1, "Plan Width": 12, "Actual Startup Time": 0.007, "Actual Total Time": 0.007, "Actual Rows": 0, "Actual Loops": 404076, "Output": ["orders.o_orderkey", "orders.o_custkey", "orders.o_orderstatus", "orders.o_totalprice", "orders.o_orderdate", "orders.o_orderpriority", "orders.o_clerk", "orders.o_shippriority", "orders.o_comment"], "Index Cond": "(orders.o_orderkey = lineitem.l_orderkey)", "Rows Removed by Index Recheck": 0, "Filter": "((orders.o_orderdate >= '1995-01-01'::date) AND (orders.o_orderdate <= '1996-12-31'::date))", "Rows Removed by Filter": 1, "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.008, "Actual Total Time": 0.008, "Actual Rows": 0, "Actual Loops": 74153}, {"Worker Number": 1, "Actual Startup Time": 0.008, "Actual Total Time": 0.008, "Actual Rows": 0, "Actual Loops": 74125}, {"Worker Number": 2, "Actual Startup Time": 0.008, "Actual Total Time": 0.008, "Actual Rows": 0, "Actual Loops": 73641}, {"Worker Number": 3, "Actual Startup Time": 0.008, "Actual Total Time": 0.008, "Actual Rows": 0, "Actual Loops": 72905}]}]}, {"Node Type": "Index Scan", "Parent Relationship": "Inner", "Parallel Aware": false, "Scan Direction": "Forward", "Index Name": "c_ck", "Relation Name": "customer", "Schema": "public", "Alias": "customer", "Startup Cost": 0.43, "Total Cost": 0.45, "Plan Rows": 1, "Plan Width": 8, "Actual Startup Time": 0.006, "Actual Total Time": 0.006, "Actual Rows": 1, "Actual Loops": 123159, "Output": ["customer.c_custkey", "customer.c_name", "customer.c_address", "customer.c_nationkey", "customer.c_phone", "customer.c_acctbal", "customer.c_mktsegment", "customer.c_comment"], "Index Cond": "(customer.c_custkey = orders.o_custkey)", "Rows Removed by Index Recheck": 0, "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.006, "Actual Total Time": 0.006, "Actual Rows": 1, "Actual Loops": 22484}, {"Worker Number": 1, "Actual Startup Time": 0.006, "Actual Total Time": 0.006, "Actual Rows": 1, "Actual Loops": 22421}, {"Worker Number": 2, "Actual Startup Time": 0.006, "Actual Total Time": 0.006, "Actual Rows": 1, "Actual Loops": 22459}, {"Worker Number": 3, "Actual Startup Time": 0.006, "Actual Total Time": 0.006, "Actual Rows": 1, "Actual Loops": 22329}]}]}, {"Node Type": "Hash", "Parent Relationship": "Inner", "Parallel Aware": false, "Startup Cost": 2.45, "Total Cost": 2.45, "Plan Rows": 5, "Plan Width": 4, "Actual Startup Time": 0.047, "Actual Total Time": 0.049, "Actual Rows": 5, "Actual Loops": 5, "Output": ["n1.n_nationkey"], "Hash Buckets": 1024, "Original Hash Buckets": 1024, "Hash Batches": 1, "Original Hash Batches": 1, "Peak Memory Usage": 9, "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.055, "Actual Total Time": 0.056, "Actual Rows": 5, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 0.055, "Actual Total Time": 0.057, "Actual Rows": 5, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 0.05, "Actual Total Time": 0.052, "Actual Rows": 5, "Actual Loops": 1}, {"Worker Number": 3, "Actual Startup Time": 0.054, "Actual Total Time": 0.057, "Actual Rows": 5, "Actual Loops": 1}], "Plans": [{"Node Type": "Hash Join", "Parent Relationship": "Outer", "Parallel Aware": false, "Join Type": "Inner", "Startup Cost": 1.07, "Total Cost": 2.45, "Plan Rows": 5, "Plan Width": 4, "Actual Startup Time": 0.038, "Actual Total Time": 0.046, "Actual Rows": 5, "Actual Loops": 5, "Output": ["n1.n_nationkey"], "Inner Unique": true, "Hash Cond": "(n1.n_regionkey = region.r_regionkey)", "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.045, "Actual Total Time": 0.053, "Actual Rows": 5, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 0.045, "Actual Total Time": 0.053, "Actual Rows": 5, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 0.041, "Actual Total Time": 0.048, "Actual Rows": 5, "Actual Loops": 1}, {"Worker Number": 3, "Actual Startup Time": 0.045, "Actual Total Time": 0.053, "Actual Rows": 5, "Actual Loops": 1}], "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Relation Name": "nation", "Schema": "public", "Alias": "n1", "Startup Cost": 0.0, "Total Cost": 1.25, "Plan Rows": 25, "Plan Width": 8, "Actual Startup Time": 0.001, "Actual Total Time": 0.004, "Actual Rows": 25, "Actual Loops": 5, "Output": ["n1.n_nationkey", "n1.n_name", "n1.n_regionkey", "n1.n_comment"], "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.002, "Actual Total Time": 0.004, "Actual Rows": 25, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 0.002, "Actual Total Time": 0.004, "Actual Rows": 25, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 0.002, "Actual Total Time": 0.004, "Actual Rows": 25, "Actual Loops": 1}, {"Worker Number": 3, "Actual Startup Time": 0.002, "Actual Total Time": 0.004, "Actual Rows": 25, "Actual Loops": 1}]}, {"Node Type": "Hash", "Parent Relationship": "Inner", "Parallel Aware": false, "Startup Cost": 1.06, "Total Cost": 1.06, "Plan Rows": 1, "Plan Width": 4, "Actual Startup Time": 0.023, "Actual Total Time": 0.024, "Actual Rows": 1, "Actual Loops": 5, "Output": ["region.r_regionkey"], "Hash Buckets": 1024, "Original Hash Buckets": 1024, "Hash Batches": 1, "Original Hash Batches": 1, "Peak Memory Usage": 9, "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.028, "Actual Total Time": 0.029, "Actual Rows": 1, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 0.028, "Actual Total Time": 0.029, "Actual Rows": 1, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 0.023, "Actual Total Time": 0.024, "Actual Rows": 1, "Actual Loops": 1}, {"Worker Number": 3, "Actual Startup Time": 0.028, "Actual Total Time": 0.029, "Actual Rows": 1, "Actual Loops": 1}], "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Relation Name": "region", "Schema": "public", "Alias": "region", "Startup Cost": 0.0, "Total Cost": 1.06, "Plan Rows": 1, "Plan Width": 4, "Actual Startup Time": 0.019, "Actual Total Time": 0.021, "Actual Rows": 1, "Actual Loops": 5, "Output": ["region.r_regionkey"], "Filter": "(region.r_name = 'AFRICA'::bpchar)", "Rows Removed by Filter": 4, "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.024, "Actual Total Time": 0.026, "Actual Rows": 1, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 0.024, "Actual Total Time": 0.025, "Actual Rows": 1, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 0.019, "Actual Total Time": 0.021, "Actual Rows": 1, "Actual Loops": 1}, {"Worker Number": 3, "Actual Startup Time": 0.024, "Actual Total Time": 0.025, "Actual Rows": 1, "Actual Loops": 1}]}]}]}]}]}, {"Node Type": "Index Scan", "Parent Relationship": "Inner", "Parallel Aware": false, "Scan Direction": "Forward", "Index Name": "s_sk", "Relation Name": "supplier", "Schema": "public", "Alias": "supplier", "Startup Cost": 0.29, "Total Cost": 0.31, "Plan Rows": 1, "Plan Width": 8, "Actual Startup Time": 0.004, "Actual Total Time": 0.004, "Actual Rows": 1, "Actual Loops": 24872, "Output": ["supplier.s_suppkey", "supplier.s_name", "supplier.s_address", "supplier.s_nationkey", "supplier.s_phone", "supplier.s_acctbal", "supplier.s_comment"], "Index Cond": "(supplier.s_suppkey = lineitem.l_suppkey)", "Rows Removed by Index Recheck": 0, "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.004, "Actual Total Time": 0.004, "Actual Rows": 1, "Actual Loops": 4554}, {"Worker Number": 1, "Actual Startup Time": 0.004, "Actual Total Time": 0.004, "Actual Rows": 1, "Actual Loops": 4595}, {"Worker Number": 2, "Actual Startup Time": 0.004, "Actual Total Time": 0.004, "Actual Rows": 1, "Actual Loops": 4505}, {"Worker Number": 3, "Actual Startup Time": 0.004, "Actual Total Time": 0.004, "Actual Rows": 1, "Actual Loops": 4426}]}]}, {"Node Type": "Hash", "Parent Relationship": "Inner", "Parallel Aware": false, "Startup Cost": 1.25, "Total Cost": 1.25, "Plan Rows": 25, "Plan Width": 30, "Actual Startup Time": 0.034, "Actual Total Time": 0.035, "Actual Rows": 25, "Actual Loops": 5, "Output": ["n2.n_name", "n2.n_nationkey"], "Hash Buckets": 1024, "Original Hash Buckets": 1024, "Hash Batches": 1, "Original Hash Batches": 1, "Peak Memory Usage": 10, "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.036, "Actual Total Time": 0.037, "Actual Rows": 25, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 0.038, "Actual Total Time": 0.039, "Actual Rows": 25, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 0.038, "Actual Total Time": 0.039, "Actual Rows": 25, "Actual Loops": 1}, {"Worker Number": 3, "Actual Startup Time": 0.039, "Actual Total Time": 0.039, "Actual Rows": 25, "Actual Loops": 1}], "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Relation Name": "nation", "Schema": "public", "Alias": "n2", "Startup Cost": 0.0, "Total Cost": 1.25, "Plan Rows": 25, "Plan Width": 30, "Actual Startup Time": 0.02, "Actual Total Time": 0.025, "Actual Rows": 25, "Actual Loops": 5, "Output": ["n2.n_name", "n2.n_nationkey"], "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.022, "Actual Total Time": 0.026, "Actual Rows": 25, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 0.024, "Actual Total Time": 0.028, "Actual Rows": 25, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 0.022, "Actual Total Time": 0.028, "Actual Rows": 25, "Actual Loops": 1}, {"Worker Number": 3, "Actual Startup Time": 0.025, "Actual Total Time": 0.029, "Actual Rows": 25, "Actual Loops": 1}]}]}]}]}]}]}]}, "Planning Time": 2.641, "Triggers": [], "Execution Time": 1472.714} diff --git a/dev9/pg13/tpch/sf_10/explain_analyze/15721/9-1.ok b/dev9/pg13/tpch/sf_10/explain_analyze/15721/9-1.ok new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/dev9/pg13/tpch/sf_10/explain_analyze/15721/9-1.res b/dev9/pg13/tpch/sf_10/explain_analyze/15721/9-1.res new file mode 100644 index 0000000000000000000000000000000000000000..46cc87fae1dbfedcd1cad37454ddeb2d76e891ef --- /dev/null +++ b/dev9/pg13/tpch/sf_10/explain_analyze/15721/9-1.res @@ -0,0 +1 @@ +{"Plan": {"Node Type": "Sort", "Parallel Aware": false, "Startup Cost": 549303.37, "Total Cost": 549453.74, "Plan Rows": 60150, "Plan Width": 66, "Actual Startup Time": 4019.938, "Actual Total Time": 4422.92, "Actual Rows": 175, "Actual Loops": 1, "Output": ["nation.n_name", "(date_part('year'::text, (orders.o_orderdate)::timestamp without time zone))", "(sum(((lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount)) - (partsupp.ps_supplycost * lineitem.l_quantity))))"], "Sort Key": ["nation.n_name", "(date_part('year'::text, (orders.o_orderdate)::timestamp without time zone)) DESC"], "Sort Method": "quicksort", "Sort Space Used": 49, "Sort Space Type": "Memory", "Plans": [{"Node Type": "Aggregate", "Strategy": "Hashed", "Partial Mode": "Finalize", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 543475.95, "Total Cost": 544528.58, "Plan Rows": 60150, "Plan Width": 66, "Actual Startup Time": 4019.446, "Actual Total Time": 4422.677, "Actual Rows": 175, "Actual Loops": 1, "Output": ["nation.n_name", "(date_part('year'::text, (orders.o_orderdate)::timestamp without time zone))", "sum(((lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount)) - (partsupp.ps_supplycost * lineitem.l_quantity)))"], "Group Key": ["nation.n_name", "(date_part('year'::text, (orders.o_orderdate)::timestamp without time zone))"], "Planned Partitions": 0, "HashAgg Batches": 1, "Peak Memory Usage": 1681, "Disk Usage": 0, "Plans": [{"Node Type": "Gather", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 502724.33, "Total Cost": 539866.95, "Plan Rows": 360900, "Plan Width": 66, "Actual Startup Time": 4003.493, "Actual Total Time": 4421.4, "Actual Rows": 1225, "Actual Loops": 1, "Output": ["nation.n_name", "(date_part('year'::text, (orders.o_orderdate)::timestamp without time zone))", "(PARTIAL sum(((lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount)) - (partsupp.ps_supplycost * lineitem.l_quantity))))"], "Workers Planned": 6, "Workers Launched": 6, "Single Copy": false, "Plans": [{"Node Type": "Aggregate", "Strategy": "Hashed", "Partial Mode": "Partial", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 501724.33, "Total Cost": 502776.95, "Plan Rows": 60150, "Plan Width": 66, "Actual Startup Time": 3998.099, "Actual Total Time": 3999.006, "Actual Rows": 175, "Actual Loops": 7, "Output": ["nation.n_name", "(date_part('year'::text, (orders.o_orderdate)::timestamp without time zone))", "PARTIAL sum(((lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount)) - (partsupp.ps_supplycost * lineitem.l_quantity)))"], "Group Key": ["nation.n_name", "date_part('year'::text, (orders.o_orderdate)::timestamp without time zone)"], "Planned Partitions": 0, "HashAgg Batches": 1, "Peak Memory Usage": 1617, "Disk Usage": 0, "Workers": [{"Worker Number": 0, "Actual Startup Time": 3998.243, "Actual Total Time": 3998.817, "Actual Rows": 175, "Actual Loops": 1, "HashAgg Batches": 1, "Peak Memory Usage": 1617, "Disk Usage": 0}, {"Worker Number": 1, "Actual Startup Time": 3997.083, "Actual Total Time": 3997.75, "Actual Rows": 175, "Actual Loops": 1, "HashAgg Batches": 1, "Peak Memory Usage": 1617, "Disk Usage": 0}, {"Worker Number": 2, "Actual Startup Time": 3997.253, "Actual Total Time": 3997.821, "Actual Rows": 175, "Actual Loops": 1, "HashAgg Batches": 1, "Peak Memory Usage": 1617, "Disk Usage": 0}, {"Worker Number": 3, "Actual Startup Time": 3997.124, "Actual Total Time": 3997.676, "Actual Rows": 175, "Actual Loops": 1, "HashAgg Batches": 1, "Peak Memory Usage": 1617, "Disk Usage": 0}, {"Worker Number": 4, "Actual Startup Time": 3996.825, "Actual Total Time": 3997.379, "Actual Rows": 175, "Actual Loops": 1, "HashAgg Batches": 1, "Peak Memory Usage": 1617, "Disk Usage": 0}, {"Worker Number": 5, "Actual Startup Time": 3997.317, "Actual Total Time": 3997.874, "Actual Rows": 175, "Actual Loops": 1, "HashAgg Batches": 1, "Peak Memory Usage": 1617, "Disk Usage": 0}], "Plans": [{"Node Type": "Hash Join", "Parent Relationship": "Outer", "Parallel Aware": false, "Join Type": "Inner", "Startup Cost": 167706.27, "Total Cost": 492959.07, "Plan Rows": 500872, "Plan Width": 57, "Actual Startup Time": 2779.364, "Actual Total Time": 3540.384, "Actual Rows": 464980, "Actual Loops": 7, "Output": ["nation.n_name", "date_part('year'::text, (orders.o_orderdate)::timestamp without time zone)", "lineitem.l_extendedprice", "lineitem.l_discount", "partsupp.ps_supplycost", "lineitem.l_quantity"], "Inner Unique": true, "Hash Cond": "(supplier.s_nationkey = nation.n_nationkey)", "Workers": [{"Worker Number": 0, "Actual Startup Time": 2713.397, "Actual Total Time": 3518.245, "Actual Rows": 487774, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 2788.897, "Actual Total Time": 3537.255, "Actual Rows": 466877, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 2789.174, "Actual Total Time": 3542.957, "Actual Rows": 461661, "Actual Loops": 1}, {"Worker Number": 3, "Actual Startup Time": 2788.475, "Actual Total Time": 3544.065, "Actual Rows": 459633, "Actual Loops": 1}, {"Worker Number": 4, "Actual Startup Time": 2790.12, "Actual Total Time": 3545.467, "Actual Rows": 458501, "Actual Loops": 1}, {"Worker Number": 5, "Actual Startup Time": 2789.696, "Actual Total Time": 3544.372, "Actual Rows": 460392, "Actual Loops": 1}], "Plans": [{"Node Type": "Hash Join", "Parent Relationship": "Outer", "Parallel Aware": true, "Join Type": "Inner", "Startup Cost": 167704.71, "Total Cost": 488915.46, "Plan Rows": 500872, "Plan Width": 31, "Actual Startup Time": 2779.246, "Actual Total Time": 3385.378, "Actual Rows": 464980, "Actual Loops": 7, "Output": ["lineitem.l_extendedprice", "lineitem.l_discount", "lineitem.l_quantity", "supplier.s_nationkey", "partsupp.ps_supplycost", "orders.o_orderdate"], "Inner Unique": false, "Hash Cond": "(orders.o_orderkey = lineitem.l_orderkey)", "Workers": [{"Worker Number": 0, "Actual Startup Time": 2713.281, "Actual Total Time": 3353.997, "Actual Rows": 487774, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 2788.77, "Actual Total Time": 3381.278, "Actual Rows": 466877, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 2789.036, "Actual Total Time": 3388.983, "Actual Rows": 461661, "Actual Loops": 1}, {"Worker Number": 3, "Actual Startup Time": 2788.334, "Actual Total Time": 3390.125, "Actual Rows": 459633, "Actual Loops": 1}, {"Worker Number": 4, "Actual Startup Time": 2789.984, "Actual Total Time": 3390.998, "Actual Rows": 458501, "Actual Loops": 1}, {"Worker Number": 5, "Actual Startup Time": 2789.559, "Actual Total Time": 3390.728, "Actual Rows": 460392, "Actual Loops": 1}], "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": true, "Relation Name": "orders", "Schema": "public", "Alias": "orders", "Startup Cost": 0.0, "Total Cost": 285913.15, "Plan Rows": 2500115, "Plan Width": 8, "Actual Startup Time": 0.024, "Actual Total Time": 601.725, "Actual Rows": 2142857, "Actual Loops": 7, "Output": ["orders.o_orderdate", "orders.o_orderkey"], "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.024, "Actual Total Time": 609.549, "Actual Rows": 2100858, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 0.02, "Actual Total Time": 608.079, "Actual Rows": 2106705, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 0.026, "Actual Total Time": 619.984, "Actual Rows": 1936793, "Actual Loops": 1}, {"Worker Number": 3, "Actual Startup Time": 0.032, "Actual Total Time": 607.852, "Actual Rows": 2116754, "Actual Loops": 1}, {"Worker Number": 4, "Actual Startup Time": 0.029, "Actual Total Time": 606.521, "Actual Rows": 2124506, "Actual Loops": 1}, {"Worker Number": 5, "Actual Startup Time": 0.028, "Actual Total Time": 607.773, "Actual Rows": 2112507, "Actual Loops": 1}]}, {"Node Type": "Hash", "Parent Relationship": "Inner", "Parallel Aware": true, "Startup Cost": 153177.37, "Total Cost": 153177.37, "Plan Rows": 751307, "Plan Width": 31, "Actual Startup Time": 1740.339, "Actual Total Time": 1740.719, "Actual Rows": 464980, "Actual Loops": 7, "Output": ["lineitem.l_extendedprice", "lineitem.l_discount", "lineitem.l_quantity", "lineitem.l_orderkey", "supplier.s_nationkey", "partsupp.ps_supplycost"], "Hash Buckets": 524288, "Original Hash Buckets": 524288, "Hash Batches": 16, "Original Hash Batches": 16, "Peak Memory Usage": 18496, "Workers": [{"Worker Number": 0, "Actual Startup Time": 1740.028, "Actual Total Time": 1740.045, "Actual Rows": 441141, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 1740.043, "Actual Total Time": 1740.062, "Actual Rows": 443942, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 1740.03, "Actual Total Time": 1740.046, "Actual Rows": 443958, "Actual Loops": 1}, {"Worker Number": 3, "Actual Startup Time": 1740.036, "Actual Total Time": 1740.041, "Actual Rows": 432201, "Actual Loops": 1}, {"Worker Number": 4, "Actual Startup Time": 1740.033, "Actual Total Time": 1740.039, "Actual Rows": 432663, "Actual Loops": 1}, {"Worker Number": 5, "Actual Startup Time": 1740.04, "Actual Total Time": 1740.046, "Actual Rows": 406908, "Actual Loops": 1}], "Plans": [{"Node Type": "Nested Loop", "Parent Relationship": "Outer", "Parallel Aware": false, "Join Type": "Inner", "Startup Cost": 3540.41, "Total Cost": 153177.37, "Plan Rows": 751307, "Plan Width": 31, "Actual Startup Time": 11.033, "Actual Total Time": 1590.331, "Actual Rows": 464980, "Actual Loops": 7, "Output": ["lineitem.l_extendedprice", "lineitem.l_discount", "lineitem.l_quantity", "lineitem.l_orderkey", "supplier.s_nationkey", "partsupp.ps_supplycost"], "Inner Unique": false, "Join Filter": "(supplier.s_suppkey = lineitem.l_suppkey)", "Rows Removed by Join Filter": 0, "Workers": [{"Worker Number": 0, "Actual Startup Time": 10.762, "Actual Total Time": 1596.244, "Actual Rows": 441141, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 10.736, "Actual Total Time": 1597.612, "Actual Rows": 443942, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 10.734, "Actual Total Time": 1594.031, "Actual Rows": 443958, "Actual Loops": 1}, {"Worker Number": 3, "Actual Startup Time": 10.758, "Actual Total Time": 1594.003, "Actual Rows": 432201, "Actual Loops": 1}, {"Worker Number": 4, "Actual Startup Time": 10.718, "Actual Total Time": 1597.449, "Actual Rows": 432663, "Actual Loops": 1}, {"Worker Number": 5, "Actual Startup Time": 10.772, "Actual Total Time": 1602.196, "Actual Rows": 406908, "Actual Loops": 1}], "Plans": [{"Node Type": "Hash Join", "Parent Relationship": "Outer", "Parallel Aware": true, "Join Type": "Inner", "Startup Cost": 3539.97, "Total Cost": 89315.7, "Plan Rows": 100200, "Plan Width": 26, "Actual Startup Time": 10.967, "Actual Total Time": 271.906, "Actual Rows": 62025, "Actual Loops": 7, "Output": ["part.p_partkey", "partsupp.ps_supplycost", "partsupp.ps_suppkey", "partsupp.ps_partkey", "supplier.s_suppkey", "supplier.s_nationkey"], "Inner Unique": true, "Hash Cond": "(partsupp.ps_suppkey = supplier.s_suppkey)", "Workers": [{"Worker Number": 0, "Actual Startup Time": 10.677, "Actual Total Time": 264.175, "Actual Rows": 58772, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 10.667, "Actual Total Time": 264.812, "Actual Rows": 59176, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 10.666, "Actual Total Time": 265.778, "Actual Rows": 59328, "Actual Loops": 1}, {"Worker Number": 3, "Actual Startup Time": 10.682, "Actual Total Time": 266.752, "Actual Rows": 57640, "Actual Loops": 1}, {"Worker Number": 4, "Actual Startup Time": 10.659, "Actual Total Time": 265.377, "Actual Rows": 57700, "Actual Loops": 1}, {"Worker Number": 5, "Actual Startup Time": 10.688, "Actual Total Time": 263.215, "Actual Rows": 54380, "Actual Loops": 1}], "Plans": [{"Node Type": "Nested Loop", "Parent Relationship": "Outer", "Parallel Aware": false, "Join Type": "Inner", "Startup Cost": 0.43, "Total Cost": 85513.13, "Plan Rows": 100200, "Plan Width": 18, "Actual Startup Time": 0.112, "Actual Total Time": 226.163, "Actual Rows": 62025, "Actual Loops": 7, "Output": ["part.p_partkey", "partsupp.ps_supplycost", "partsupp.ps_suppkey", "partsupp.ps_partkey"], "Inner Unique": false, "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.132, "Actual Total Time": 221.314, "Actual Rows": 58772, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 0.115, "Actual Total Time": 221.334, "Actual Rows": 59176, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 0.12, "Actual Total Time": 222.6, "Actual Rows": 59328, "Actual Loops": 1}, {"Worker Number": 3, "Actual Startup Time": 0.134, "Actual Total Time": 223.768, "Actual Rows": 57640, "Actual Loops": 1}, {"Worker Number": 4, "Actual Startup Time": 0.114, "Actual Total Time": 222.364, "Actual Rows": 57700, "Actual Loops": 1}, {"Worker Number": 5, "Actual Startup Time": 0.129, "Actual Total Time": 220.176, "Actual Rows": 54380, "Actual Loops": 1}], "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": true, "Relation Name": "part", "Schema": "public", "Alias": "part", "Startup Cost": 0.0, "Total Cost": 47212.0, "Plan Rows": 25050, "Plan Width": 4, "Actual Startup Time": 0.018, "Actual Total Time": 104.863, "Actual Rows": 15506, "Actual Loops": 7, "Output": ["part.p_partkey", "part.p_name", "part.p_mfgr", "part.p_brand", "part.p_type", "part.p_size", "part.p_container", "part.p_retailprice", "part.p_comment"], "Filter": "((part.p_name)::text ~~ '%forest%'::text)", "Rows Removed by Filter": 270208, "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.016, "Actual Total Time": 101.621, "Actual Rows": 14693, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 0.019, "Actual Total Time": 101.603, "Actual Rows": 14794, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 0.023, "Actual Total Time": 102.141, "Actual Rows": 14832, "Actual Loops": 1}, {"Worker Number": 3, "Actual Startup Time": 0.015, "Actual Total Time": 102.219, "Actual Rows": 14410, "Actual Loops": 1}, {"Worker Number": 4, "Actual Startup Time": 0.019, "Actual Total Time": 101.981, "Actual Rows": 14425, "Actual Loops": 1}, {"Worker Number": 5, "Actual Startup Time": 0.021, "Actual Total Time": 99.301, "Actual Rows": 13595, "Actual Loops": 1}]}, {"Node Type": "Index Scan", "Parent Relationship": "Inner", "Parallel Aware": false, "Scan Direction": "Forward", "Index Name": "ps_pk", "Relation Name": "partsupp", "Schema": "public", "Alias": "partsupp", "Startup Cost": 0.43, "Total Cost": 1.49, "Plan Rows": 4, "Plan Width": 14, "Actual Startup Time": 0.006, "Actual Total Time": 0.007, "Actual Rows": 4, "Actual Loops": 108543, "Output": ["partsupp.ps_partkey", "partsupp.ps_suppkey", "partsupp.ps_availqty", "partsupp.ps_supplycost", "partsupp.ps_comment"], "Index Cond": "(partsupp.ps_partkey = part.p_partkey)", "Rows Removed by Index Recheck": 0, "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.006, "Actual Total Time": 0.007, "Actual Rows": 4, "Actual Loops": 14693}, {"Worker Number": 1, "Actual Startup Time": 0.006, "Actual Total Time": 0.007, "Actual Rows": 4, "Actual Loops": 14794}, {"Worker Number": 2, "Actual Startup Time": 0.006, "Actual Total Time": 0.007, "Actual Rows": 4, "Actual Loops": 14832}, {"Worker Number": 3, "Actual Startup Time": 0.006, "Actual Total Time": 0.007, "Actual Rows": 4, "Actual Loops": 14410}, {"Worker Number": 4, "Actual Startup Time": 0.006, "Actual Total Time": 0.007, "Actual Rows": 4, "Actual Loops": 14425}, {"Worker Number": 5, "Actual Startup Time": 0.007, "Actual Total Time": 0.008, "Actual Rows": 4, "Actual Loops": 13595}]}]}, {"Node Type": "Hash", "Parent Relationship": "Inner", "Parallel Aware": true, "Startup Cost": 2804.24, "Total Cost": 2804.24, "Plan Rows": 58824, "Plan Width": 8, "Actual Startup Time": 10.649, "Actual Total Time": 10.651, "Actual Rows": 14286, "Actual Loops": 7, "Output": ["supplier.s_suppkey", "supplier.s_nationkey"], "Hash Buckets": 131072, "Original Hash Buckets": 131072, "Hash Batches": 1, "Original Hash Batches": 1, "Peak Memory Usage": 5056, "Workers": [{"Worker Number": 0, "Actual Startup Time": 10.514, "Actual Total Time": 10.518, "Actual Rows": 12929, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 10.519, "Actual Total Time": 10.524, "Actual Rows": 13415, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 10.498, "Actual Total Time": 10.502, "Actual Rows": 13448, "Actual Loops": 1}, {"Worker Number": 3, "Actual Startup Time": 10.514, "Actual Total Time": 10.515, "Actual Rows": 13227, "Actual Loops": 1}, {"Worker Number": 4, "Actual Startup Time": 10.52, "Actual Total Time": 10.52, "Actual Rows": 13637, "Actual Loops": 1}, {"Worker Number": 5, "Actual Startup Time": 10.51, "Actual Total Time": 10.511, "Actual Rows": 13333, "Actual Loops": 1}], "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": true, "Relation Name": "supplier", "Schema": "public", "Alias": "supplier", "Startup Cost": 0.0, "Total Cost": 2804.24, "Plan Rows": 58824, "Plan Width": 8, "Actual Startup Time": 0.013, "Actual Total Time": 5.663, "Actual Rows": 14286, "Actual Loops": 7, "Output": ["supplier.s_suppkey", "supplier.s_nationkey"], "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.015, "Actual Total Time": 5.609, "Actual Rows": 12929, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 0.018, "Actual Total Time": 5.769, "Actual Rows": 13415, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 0.011, "Actual Total Time": 5.689, "Actual Rows": 13448, "Actual Loops": 1}, {"Worker Number": 3, "Actual Startup Time": 0.016, "Actual Total Time": 5.612, "Actual Rows": 13227, "Actual Loops": 1}, {"Worker Number": 4, "Actual Startup Time": 0.012, "Actual Total Time": 5.773, "Actual Rows": 13637, "Actual Loops": 1}, {"Worker Number": 5, "Actual Startup Time": 0.012, "Actual Total Time": 5.712, "Actual Rows": 13333, "Actual Loops": 1}]}]}]}, {"Node Type": "Index Scan", "Parent Relationship": "Inner", "Parallel Aware": false, "Scan Direction": "Forward", "Index Name": "l_pk_sk", "Relation Name": "lineitem", "Schema": "public", "Alias": "lineitem", "Startup Cost": 0.44, "Total Cost": 0.62, "Plan Rows": 1, "Plan Width": 29, "Actual Startup Time": 0.005, "Actual Total Time": 0.019, "Actual Rows": 7, "Actual Loops": 434172, "Output": ["lineitem.l_orderkey", "lineitem.l_partkey", "lineitem.l_suppkey", "lineitem.l_linenumber", "lineitem.l_quantity", "lineitem.l_extendedprice", "lineitem.l_discount", "lineitem.l_tax", "lineitem.l_returnflag", "lineitem.l_linestatus", "lineitem.l_shipdate", "lineitem.l_commitdate", "lineitem.l_receiptdate", "lineitem.l_shipinstruct", "lineitem.l_shipmode", "lineitem.l_comment"], "Index Cond": "((lineitem.l_partkey = partsupp.ps_partkey) AND (lineitem.l_suppkey = partsupp.ps_suppkey))", "Rows Removed by Index Recheck": 0, "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.005, "Actual Total Time": 0.02, "Actual Rows": 8, "Actual Loops": 58772}, {"Worker Number": 1, "Actual Startup Time": 0.005, "Actual Total Time": 0.02, "Actual Rows": 8, "Actual Loops": 59176}, {"Worker Number": 2, "Actual Startup Time": 0.005, "Actual Total Time": 0.02, "Actual Rows": 7, "Actual Loops": 59328}, {"Worker Number": 3, "Actual Startup Time": 0.005, "Actual Total Time": 0.021, "Actual Rows": 7, "Actual Loops": 57640}, {"Worker Number": 4, "Actual Startup Time": 0.005, "Actual Total Time": 0.021, "Actual Rows": 7, "Actual Loops": 57700}, {"Worker Number": 5, "Actual Startup Time": 0.006, "Actual Total Time": 0.022, "Actual Rows": 7, "Actual Loops": 54380}]}]}]}]}, {"Node Type": "Hash", "Parent Relationship": "Inner", "Parallel Aware": false, "Startup Cost": 1.25, "Total Cost": 1.25, "Plan Rows": 25, "Plan Width": 30, "Actual Startup Time": 0.037, "Actual Total Time": 0.038, "Actual Rows": 25, "Actual Loops": 7, "Output": ["nation.n_name", "nation.n_nationkey"], "Hash Buckets": 1024, "Original Hash Buckets": 1024, "Hash Batches": 1, "Original Hash Batches": 1, "Peak Memory Usage": 10, "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.038, "Actual Total Time": 0.04, "Actual Rows": 25, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 0.039, "Actual Total Time": 0.041, "Actual Rows": 25, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 0.038, "Actual Total Time": 0.04, "Actual Rows": 25, "Actual Loops": 1}, {"Worker Number": 3, "Actual Startup Time": 0.038, "Actual Total Time": 0.039, "Actual Rows": 25, "Actual Loops": 1}, {"Worker Number": 4, "Actual Startup Time": 0.041, "Actual Total Time": 0.041, "Actual Rows": 25, "Actual Loops": 1}, {"Worker Number": 5, "Actual Startup Time": 0.044, "Actual Total Time": 0.044, "Actual Rows": 25, "Actual Loops": 1}], "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Relation Name": "nation", "Schema": "public", "Alias": "nation", "Startup Cost": 0.0, "Total Cost": 1.25, "Plan Rows": 25, "Plan Width": 30, "Actual Startup Time": 0.019, "Actual Total Time": 0.024, "Actual Rows": 25, "Actual Loops": 7, "Output": ["nation.n_name", "nation.n_nationkey"], "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.02, "Actual Total Time": 0.024, "Actual Rows": 25, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 0.021, "Actual Total Time": 0.025, "Actual Rows": 25, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 0.02, "Actual Total Time": 0.024, "Actual Rows": 25, "Actual Loops": 1}, {"Worker Number": 3, "Actual Startup Time": 0.02, "Actual Total Time": 0.024, "Actual Rows": 25, "Actual Loops": 1}, {"Worker Number": 4, "Actual Startup Time": 0.022, "Actual Total Time": 0.027, "Actual Rows": 25, "Actual Loops": 1}, {"Worker Number": 5, "Actual Startup Time": 0.025, "Actual Total Time": 0.03, "Actual Rows": 25, "Actual Loops": 1}]}]}]}]}]}]}]}, "Planning Time": 3.973, "Triggers": [], "Execution Time": 4423.466} diff --git a/dev9/pg14/tpch/sf_1/explain/15721/1-1.ok b/dev9/pg14/tpch/sf_1/explain/15721/1-1.ok new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/dev9/pg14/tpch/sf_1/explain/15721/1-1.res b/dev9/pg14/tpch/sf_1/explain/15721/1-1.res new file mode 100644 index 0000000000000000000000000000000000000000..fbad9b13e110312c0c0295ea10f2ed993e43fb92 --- /dev/null +++ b/dev9/pg14/tpch/sf_1/explain/15721/1-1.res @@ -0,0 +1 @@ +{"Plan": {"Node Type": "Aggregate", "Strategy": "Sorted", "Partial Mode": "Finalize", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 169515.16, "Total Cost": 169519.93, "Plan Rows": 6, "Plan Width": 236, "Output": ["l_returnflag", "l_linestatus", "sum(l_quantity)", "sum(l_extendedprice)", "sum((l_extendedprice * ('1'::numeric - l_discount)))", "sum(((l_extendedprice * ('1'::numeric - l_discount)) * ('1'::numeric + l_tax)))", "avg(l_quantity)", "avg(l_extendedprice)", "avg(l_discount)", "count(*)"], "Group Key": ["lineitem.l_returnflag", "lineitem.l_linestatus"], "Plans": [{"Node Type": "Gather Merge", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 169515.16, "Total Cost": 169518.79, "Plan Rows": 30, "Plan Width": 236, "Output": ["l_returnflag", "l_linestatus", "(PARTIAL sum(l_quantity))", "(PARTIAL sum(l_extendedprice))", "(PARTIAL sum((l_extendedprice * ('1'::numeric - l_discount))))", "(PARTIAL sum(((l_extendedprice * ('1'::numeric - l_discount)) * ('1'::numeric + l_tax))))", "(PARTIAL avg(l_quantity))", "(PARTIAL avg(l_extendedprice))", "(PARTIAL avg(l_discount))", "(PARTIAL count(*))"], "Workers Planned": 5, "Plans": [{"Node Type": "Sort", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 168515.09, "Total Cost": 168515.1, "Plan Rows": 6, "Plan Width": 236, "Output": ["l_returnflag", "l_linestatus", "(PARTIAL sum(l_quantity))", "(PARTIAL sum(l_extendedprice))", "(PARTIAL sum((l_extendedprice * ('1'::numeric - l_discount))))", "(PARTIAL sum(((l_extendedprice * ('1'::numeric - l_discount)) * ('1'::numeric + l_tax))))", "(PARTIAL avg(l_quantity))", "(PARTIAL avg(l_extendedprice))", "(PARTIAL avg(l_discount))", "(PARTIAL count(*))"], "Sort Key": ["lineitem.l_returnflag", "lineitem.l_linestatus"], "Plans": [{"Node Type": "Aggregate", "Strategy": "Hashed", "Partial Mode": "Partial", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 168514.87, "Total Cost": 168515.01, "Plan Rows": 6, "Plan Width": 236, "Output": ["l_returnflag", "l_linestatus", "PARTIAL sum(l_quantity)", "PARTIAL sum(l_extendedprice)", "PARTIAL sum((l_extendedprice * ('1'::numeric - l_discount)))", "PARTIAL sum(((l_extendedprice * ('1'::numeric - l_discount)) * ('1'::numeric + l_tax)))", "PARTIAL avg(l_quantity)", "PARTIAL avg(l_extendedprice)", "PARTIAL avg(l_discount)", "PARTIAL count(*)"], "Group Key": ["lineitem.l_returnflag", "lineitem.l_linestatus"], "Planned Partitions": 0, "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": true, "Async Capable": false, "Relation Name": "lineitem", "Schema": "public", "Alias": "lineitem", "Startup Cost": 0.0, "Total Cost": 127506.04, "Plan Rows": 1171681, "Plan Width": 25, "Output": ["l_orderkey", "l_partkey", "l_suppkey", "l_linenumber", "l_quantity", "l_extendedprice", "l_discount", "l_tax", "l_returnflag", "l_linestatus", "l_shipdate", "l_commitdate", "l_receiptdate", "l_shipinstruct", "l_shipmode", "l_comment"], "Filter": "(lineitem.l_shipdate <= '1998-08-07 23:59:57'::timestamp without time zone)"}]}]}]}]}} diff --git a/dev9/pg14/tpch/sf_1/explain/15721/10-1.ok b/dev9/pg14/tpch/sf_1/explain/15721/10-1.ok new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/dev9/pg14/tpch/sf_1/explain/15721/10-1.res b/dev9/pg14/tpch/sf_1/explain/15721/10-1.res new file mode 100644 index 0000000000000000000000000000000000000000..2948f9c3e1db181ddb0dbee0dd9b8238b663d7e4 --- /dev/null +++ b/dev9/pg14/tpch/sf_1/explain/15721/10-1.res @@ -0,0 +1 @@ +{"Plan": {"Node Type": "Limit", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 71981.68, "Total Cost": 71981.73, "Plan Rows": 20, "Plan Width": 202, "Output": ["customer.c_custkey", "customer.c_name", "(sum((lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount))))", "customer.c_acctbal", "nation.n_name", "customer.c_address", "customer.c_phone", "customer.c_comment"], "Plans": [{"Node Type": "Sort", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 71981.68, "Total Cost": 72116.47, "Plan Rows": 53917, "Plan Width": 202, "Output": ["customer.c_custkey", "customer.c_name", "(sum((lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount))))", "customer.c_acctbal", "nation.n_name", "customer.c_address", "customer.c_phone", "customer.c_comment"], "Sort Key": ["(sum((lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount)))) DESC"], "Plans": [{"Node Type": "Aggregate", "Strategy": "Sorted", "Partial Mode": "Simple", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 62820.31, "Total Cost": 70546.97, "Plan Rows": 53917, "Plan Width": 202, "Output": ["customer.c_custkey", "customer.c_name", "sum((lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount)))", "customer.c_acctbal", "nation.n_name", "customer.c_address", "customer.c_phone", "customer.c_comment"], "Group Key": ["customer.c_custkey", "nation.n_name"], "Plans": [{"Node Type": "Gather Merge", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 62820.31, "Total Cost": 69199.04, "Plan Rows": 53917, "Plan Width": 182, "Output": ["customer.c_custkey", "nation.n_name", "customer.c_name", "lineitem.l_extendedprice", "lineitem.l_discount", "customer.c_acctbal", "customer.c_address", "customer.c_phone", "customer.c_comment"], "Workers Planned": 3, "Plans": [{"Node Type": "Sort", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 61820.27, "Total Cost": 61863.76, "Plan Rows": 17393, "Plan Width": 182, "Output": ["customer.c_custkey", "nation.n_name", "customer.c_name", "lineitem.l_extendedprice", "lineitem.l_discount", "customer.c_acctbal", "customer.c_address", "customer.c_phone", "customer.c_comment"], "Sort Key": ["customer.c_custkey", "nation.n_name"], "Plans": [{"Node Type": "Hash Join", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Join Type": "Inner", "Startup Cost": 5607.49, "Total Cost": 60595.27, "Plan Rows": 17393, "Plan Width": 182, "Output": ["customer.c_custkey", "nation.n_name", "customer.c_name", "lineitem.l_extendedprice", "lineitem.l_discount", "customer.c_acctbal", "customer.c_address", "customer.c_phone", "customer.c_comment"], "Inner Unique": true, "Hash Cond": "(customer.c_nationkey = nation.n_nationkey)", "Plans": [{"Node Type": "Hash Join", "Parent Relationship": "Outer", "Parallel Aware": true, "Async Capable": false, "Join Type": "Inner", "Startup Cost": 5605.93, "Total Cost": 60540.3, "Plan Rows": 17393, "Plan Width": 160, "Output": ["customer.c_custkey", "customer.c_name", "customer.c_acctbal", "customer.c_address", "customer.c_phone", "customer.c_comment", "customer.c_nationkey", "lineitem.l_extendedprice", "lineitem.l_discount"], "Inner Unique": true, "Hash Cond": "(orders.o_custkey = customer.c_custkey)", "Plans": [{"Node Type": "Nested Loop", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Join Type": "Inner", "Startup Cost": 614.68, "Total Cost": 55503.4, "Plan Rows": 17393, "Plan Width": 16, "Output": ["orders.o_custkey", "lineitem.l_extendedprice", "lineitem.l_discount"], "Inner Unique": false, "Plans": [{"Node Type": "Bitmap Heap Scan", "Parent Relationship": "Outer", "Parallel Aware": true, "Async Capable": false, "Relation Name": "orders", "Schema": "public", "Alias": "orders", "Startup Cost": 614.24, "Total Cost": 26973.56, "Plan Rows": 17621, "Plan Width": 8, "Output": ["orders.o_orderkey", "orders.o_custkey", "orders.o_orderstatus", "orders.o_totalprice", "orders.o_orderdate", "orders.o_orderpriority", "orders.o_clerk", "orders.o_shippriority", "orders.o_comment"], "Recheck Cond": "((orders.o_orderdate >= '1993-02-01'::date) AND (orders.o_orderdate < '1993-05-01 00:00:00'::timestamp without time zone))", "Plans": [{"Node Type": "Bitmap Index Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Index Name": "o_od", "Startup Cost": 0.0, "Total Cost": 600.59, "Plan Rows": 54626, "Plan Width": 0, "Index Cond": "((orders.o_orderdate >= '1993-02-01'::date) AND (orders.o_orderdate < '1993-05-01 00:00:00'::timestamp without time zone))"}]}, {"Node Type": "Index Scan", "Parent Relationship": "Inner", "Parallel Aware": false, "Async Capable": false, "Scan Direction": "Forward", "Index Name": "l_ok", "Relation Name": "lineitem", "Schema": "public", "Alias": "lineitem", "Startup Cost": 0.43, "Total Cost": 1.61, "Plan Rows": 1, "Plan Width": 16, "Output": ["lineitem.l_orderkey", "lineitem.l_partkey", "lineitem.l_suppkey", "lineitem.l_linenumber", "lineitem.l_quantity", "lineitem.l_extendedprice", "lineitem.l_discount", "lineitem.l_tax", "lineitem.l_returnflag", "lineitem.l_linestatus", "lineitem.l_shipdate", "lineitem.l_commitdate", "lineitem.l_receiptdate", "lineitem.l_shipinstruct", "lineitem.l_shipmode", "lineitem.l_comment"], "Index Cond": "(lineitem.l_orderkey = orders.o_orderkey)", "Filter": "(lineitem.l_returnflag = 'R'::bpchar)"}]}, {"Node Type": "Hash", "Parent Relationship": "Inner", "Parallel Aware": true, "Async Capable": false, "Startup Cost": 4210.0, "Total Cost": 4210.0, "Plan Rows": 62500, "Plan Width": 148, "Output": ["customer.c_custkey", "customer.c_name", "customer.c_acctbal", "customer.c_address", "customer.c_phone", "customer.c_comment", "customer.c_nationkey"], "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": true, "Async Capable": false, "Relation Name": "customer", "Schema": "public", "Alias": "customer", "Startup Cost": 0.0, "Total Cost": 4210.0, "Plan Rows": 62500, "Plan Width": 148, "Output": ["customer.c_custkey", "customer.c_name", "customer.c_acctbal", "customer.c_address", "customer.c_phone", "customer.c_comment", "customer.c_nationkey"]}]}]}, {"Node Type": "Hash", "Parent Relationship": "Inner", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 1.25, "Total Cost": 1.25, "Plan Rows": 25, "Plan Width": 30, "Output": ["nation.n_name", "nation.n_nationkey"], "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Relation Name": "nation", "Schema": "public", "Alias": "nation", "Startup Cost": 0.0, "Total Cost": 1.25, "Plan Rows": 25, "Plan Width": 30, "Output": ["nation.n_name", "nation.n_nationkey"]}]}]}]}]}]}]}]}} diff --git a/dev9/pg14/tpch/sf_1/explain/15721/11-1.ok b/dev9/pg14/tpch/sf_1/explain/15721/11-1.ok new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/dev9/pg14/tpch/sf_1/explain/15721/11-1.res b/dev9/pg14/tpch/sf_1/explain/15721/11-1.res new file mode 100644 index 0000000000000000000000000000000000000000..f6fc5d12e114f6ee9a2be34258fb86fecff2a384 --- /dev/null +++ b/dev9/pg14/tpch/sf_1/explain/15721/11-1.res @@ -0,0 +1 @@ +{"Plan": {"Node Type": "Sort", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 5901.16, "Total Cost": 5927.83, "Plan Rows": 10667, "Plan Width": 36, "Output": ["partsupp.ps_partkey", "(sum((partsupp.ps_supplycost * (partsupp.ps_availqty)::numeric)))"], "Sort Key": ["(sum((partsupp.ps_supplycost * (partsupp.ps_availqty)::numeric))) DESC"], "Plans": [{"Node Type": "Aggregate", "Strategy": "Plain", "Partial Mode": "Simple", "Parent Relationship": "InitPlan", "Subplan Name": "InitPlan 1 (returns $2)", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 2313.74, "Total Cost": 2313.75, "Plan Rows": 1, "Plan Width": 32, "Output": ["(sum((partsupp_1.ps_supplycost * (partsupp_1.ps_availqty)::numeric)) * 0.0001000000)"], "Plans": [{"Node Type": "Nested Loop", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Join Type": "Inner", "Startup Cost": 4.91, "Total Cost": 2073.74, "Plan Rows": 32000, "Plan Width": 10, "Output": ["partsupp_1.ps_supplycost", "partsupp_1.ps_availqty"], "Inner Unique": false, "Plans": [{"Node Type": "Nested Loop", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Join Type": "Inner", "Startup Cost": 4.48, "Total Cost": 226.33, "Plan Rows": 400, "Plan Width": 4, "Output": ["supplier_1.s_suppkey"], "Inner Unique": false, "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Relation Name": "nation", "Schema": "public", "Alias": "nation_1", "Startup Cost": 0.0, "Total Cost": 1.31, "Plan Rows": 1, "Plan Width": 4, "Output": ["nation_1.n_nationkey", "nation_1.n_name", "nation_1.n_regionkey", "nation_1.n_comment"], "Filter": "(nation_1.n_name = 'CHINA'::bpchar)"}, {"Node Type": "Bitmap Heap Scan", "Parent Relationship": "Inner", "Parallel Aware": false, "Async Capable": false, "Relation Name": "supplier", "Schema": "public", "Alias": "supplier_1", "Startup Cost": 4.48, "Total Cost": 221.01, "Plan Rows": 400, "Plan Width": 8, "Output": ["supplier_1.s_suppkey", "supplier_1.s_name", "supplier_1.s_address", "supplier_1.s_nationkey", "supplier_1.s_phone", "supplier_1.s_acctbal", "supplier_1.s_comment"], "Recheck Cond": "(supplier_1.s_nationkey = nation_1.n_nationkey)", "Plans": [{"Node Type": "Bitmap Index Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Index Name": "s_nk", "Startup Cost": 0.0, "Total Cost": 4.38, "Plan Rows": 400, "Plan Width": 0, "Index Cond": "(supplier_1.s_nationkey = nation_1.n_nationkey)"}]}]}, {"Node Type": "Index Scan", "Parent Relationship": "Inner", "Parallel Aware": false, "Async Capable": false, "Scan Direction": "Forward", "Index Name": "ps_sk", "Relation Name": "partsupp", "Schema": "public", "Alias": "partsupp_1", "Startup Cost": 0.42, "Total Cost": 3.82, "Plan Rows": 80, "Plan Width": 14, "Output": ["partsupp_1.ps_partkey", "partsupp_1.ps_suppkey", "partsupp_1.ps_availqty", "partsupp_1.ps_supplycost", "partsupp_1.ps_comment"], "Index Cond": "(partsupp_1.ps_suppkey = supplier_1.s_suppkey)"}]}]}, {"Node Type": "Aggregate", "Strategy": "Hashed", "Partial Mode": "Simple", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 2393.74, "Total Cost": 2873.74, "Plan Rows": 10667, "Plan Width": 36, "Output": ["partsupp.ps_partkey", "sum((partsupp.ps_supplycost * (partsupp.ps_availqty)::numeric))"], "Group Key": ["partsupp.ps_partkey"], "Filter": "(sum((partsupp.ps_supplycost * (partsupp.ps_availqty)::numeric)) > $2)", "Planned Partitions": 0, "Plans": [{"Node Type": "Nested Loop", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Join Type": "Inner", "Startup Cost": 4.91, "Total Cost": 2073.74, "Plan Rows": 32000, "Plan Width": 14, "Output": ["partsupp.ps_partkey", "partsupp.ps_supplycost", "partsupp.ps_availqty"], "Inner Unique": false, "Plans": [{"Node Type": "Nested Loop", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Join Type": "Inner", "Startup Cost": 4.48, "Total Cost": 226.33, "Plan Rows": 400, "Plan Width": 4, "Output": ["supplier.s_suppkey"], "Inner Unique": false, "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Relation Name": "nation", "Schema": "public", "Alias": "nation", "Startup Cost": 0.0, "Total Cost": 1.31, "Plan Rows": 1, "Plan Width": 4, "Output": ["nation.n_nationkey", "nation.n_name", "nation.n_regionkey", "nation.n_comment"], "Filter": "(nation.n_name = 'CHINA'::bpchar)"}, {"Node Type": "Bitmap Heap Scan", "Parent Relationship": "Inner", "Parallel Aware": false, "Async Capable": false, "Relation Name": "supplier", "Schema": "public", "Alias": "supplier", "Startup Cost": 4.48, "Total Cost": 221.01, "Plan Rows": 400, "Plan Width": 8, "Output": ["supplier.s_suppkey", "supplier.s_name", "supplier.s_address", "supplier.s_nationkey", "supplier.s_phone", "supplier.s_acctbal", "supplier.s_comment"], "Recheck Cond": "(supplier.s_nationkey = nation.n_nationkey)", "Plans": [{"Node Type": "Bitmap Index Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Index Name": "s_nk", "Startup Cost": 0.0, "Total Cost": 4.38, "Plan Rows": 400, "Plan Width": 0, "Index Cond": "(supplier.s_nationkey = nation.n_nationkey)"}]}]}, {"Node Type": "Index Scan", "Parent Relationship": "Inner", "Parallel Aware": false, "Async Capable": false, "Scan Direction": "Forward", "Index Name": "ps_sk", "Relation Name": "partsupp", "Schema": "public", "Alias": "partsupp", "Startup Cost": 0.42, "Total Cost": 3.82, "Plan Rows": 80, "Plan Width": 18, "Output": ["partsupp.ps_partkey", "partsupp.ps_suppkey", "partsupp.ps_availqty", "partsupp.ps_supplycost", "partsupp.ps_comment"], "Index Cond": "(partsupp.ps_suppkey = supplier.s_suppkey)"}]}]}]}} diff --git a/dev9/pg14/tpch/sf_1/explain/15721/12-1.ok b/dev9/pg14/tpch/sf_1/explain/15721/12-1.ok new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/dev9/pg14/tpch/sf_1/explain/15721/12-1.res b/dev9/pg14/tpch/sf_1/explain/15721/12-1.res new file mode 100644 index 0000000000000000000000000000000000000000..17d0f2c2add8db51ff5c42cc1d0dfd02121e5146 --- /dev/null +++ b/dev9/pg14/tpch/sf_1/explain/15721/12-1.res @@ -0,0 +1 @@ +{"Plan": {"Node Type": "Aggregate", "Strategy": "Sorted", "Partial Mode": "Finalize", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 135809.33, "Total Cost": 135931.2, "Plan Rows": 7, "Plan Width": 27, "Output": ["lineitem.l_shipmode", "sum(CASE WHEN ((orders.o_orderpriority = '1-URGENT'::bpchar) OR (orders.o_orderpriority = '2-HIGH'::bpchar)) THEN 1 ELSE 0 END)", "sum(CASE WHEN ((orders.o_orderpriority <> '1-URGENT'::bpchar) AND (orders.o_orderpriority <> '2-HIGH'::bpchar)) THEN 1 ELSE 0 END)"], "Group Key": ["lineitem.l_shipmode"], "Plans": [{"Node Type": "Gather Merge", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 135809.33, "Total Cost": 135930.87, "Plan Rows": 35, "Plan Width": 27, "Output": ["lineitem.l_shipmode", "(PARTIAL sum(CASE WHEN ((orders.o_orderpriority = '1-URGENT'::bpchar) OR (orders.o_orderpriority = '2-HIGH'::bpchar)) THEN 1 ELSE 0 END))", "(PARTIAL sum(CASE WHEN ((orders.o_orderpriority <> '1-URGENT'::bpchar) AND (orders.o_orderpriority <> '2-HIGH'::bpchar)) THEN 1 ELSE 0 END))"], "Workers Planned": 5, "Plans": [{"Node Type": "Aggregate", "Strategy": "Sorted", "Partial Mode": "Partial", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 134809.25, "Total Cost": 134926.58, "Plan Rows": 7, "Plan Width": 27, "Output": ["lineitem.l_shipmode", "PARTIAL sum(CASE WHEN ((orders.o_orderpriority = '1-URGENT'::bpchar) OR (orders.o_orderpriority = '2-HIGH'::bpchar)) THEN 1 ELSE 0 END)", "PARTIAL sum(CASE WHEN ((orders.o_orderpriority <> '1-URGENT'::bpchar) AND (orders.o_orderpriority <> '2-HIGH'::bpchar)) THEN 1 ELSE 0 END)"], "Group Key": ["lineitem.l_shipmode"], "Plans": [{"Node Type": "Sort", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 134809.25, "Total Cost": 134823.91, "Plan Rows": 5863, "Plan Width": 27, "Output": ["lineitem.l_shipmode", "orders.o_orderpriority"], "Sort Key": ["lineitem.l_shipmode"], "Plans": [{"Node Type": "Nested Loop", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Join Type": "Inner", "Startup Cost": 10135.52, "Total Cost": 134442.3, "Plan Rows": 5863, "Plan Width": 27, "Output": ["lineitem.l_shipmode", "orders.o_orderpriority"], "Inner Unique": true, "Plans": [{"Node Type": "Bitmap Heap Scan", "Parent Relationship": "Outer", "Parallel Aware": true, "Async Capable": false, "Relation Name": "lineitem", "Schema": "public", "Alias": "lineitem", "Startup Cost": 10135.09, "Total Cost": 126797.9, "Plan Rows": 5863, "Plan Width": 15, "Output": ["lineitem.l_orderkey", "lineitem.l_partkey", "lineitem.l_suppkey", "lineitem.l_linenumber", "lineitem.l_quantity", "lineitem.l_extendedprice", "lineitem.l_discount", "lineitem.l_tax", "lineitem.l_returnflag", "lineitem.l_linestatus", "lineitem.l_shipdate", "lineitem.l_commitdate", "lineitem.l_receiptdate", "lineitem.l_shipinstruct", "lineitem.l_shipmode", "lineitem.l_comment"], "Recheck Cond": "((lineitem.l_receiptdate >= '1995-01-01'::date) AND (lineitem.l_receiptdate < '1996-01-01 00:00:00'::timestamp without time zone))", "Filter": "((lineitem.l_shipmode = ANY ('{MAIL,TRUCK}'::bpchar[])) AND (lineitem.l_commitdate < lineitem.l_receiptdate) AND (lineitem.l_shipdate < lineitem.l_commitdate))", "Plans": [{"Node Type": "Bitmap Index Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Index Name": "l_rd", "Startup Cost": 0.0, "Total Cost": 10127.76, "Plan Rows": 924403, "Plan Width": 0, "Index Cond": "((lineitem.l_receiptdate >= '1995-01-01'::date) AND (lineitem.l_receiptdate < '1996-01-01 00:00:00'::timestamp without time zone))"}]}, {"Node Type": "Index Scan", "Parent Relationship": "Inner", "Parallel Aware": false, "Async Capable": false, "Scan Direction": "Forward", "Index Name": "o_ok", "Relation Name": "orders", "Schema": "public", "Alias": "orders", "Startup Cost": 0.43, "Total Cost": 1.3, "Plan Rows": 1, "Plan Width": 20, "Output": ["orders.o_orderkey", "orders.o_custkey", "orders.o_orderstatus", "orders.o_totalprice", "orders.o_orderdate", "orders.o_orderpriority", "orders.o_clerk", "orders.o_shippriority", "orders.o_comment"], "Index Cond": "(orders.o_orderkey = lineitem.l_orderkey)"}]}]}]}]}]}} diff --git a/dev9/pg14/tpch/sf_1/explain/15721/13-1.ok b/dev9/pg14/tpch/sf_1/explain/15721/13-1.ok new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/dev9/pg14/tpch/sf_1/explain/15721/13-1.res b/dev9/pg14/tpch/sf_1/explain/15721/13-1.res new file mode 100644 index 0000000000000000000000000000000000000000..54c35653024ced2ac6bb2039fa4429af2ca5c0a6 --- /dev/null +++ b/dev9/pg14/tpch/sf_1/explain/15721/13-1.res @@ -0,0 +1 @@ +{"Plan": {"Node Type": "Sort", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 64439.71, "Total Cost": 64440.21, "Plan Rows": 200, "Plan Width": 16, "Output": ["(count(orders.o_orderkey))", "(count(*))"], "Sort Key": ["(count(*)) DESC", "(count(orders.o_orderkey)) DESC"], "Plans": [{"Node Type": "Aggregate", "Strategy": "Hashed", "Partial Mode": "Simple", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 64430.07, "Total Cost": 64432.07, "Plan Rows": 200, "Plan Width": 16, "Output": ["(count(orders.o_orderkey))", "count(*)"], "Group Key": ["count(orders.o_orderkey)"], "Planned Partitions": 0, "Plans": [{"Node Type": "Aggregate", "Strategy": "Hashed", "Partial Mode": "Simple", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 60680.07, "Total Cost": 62180.07, "Plan Rows": 150000, "Plan Width": 12, "Output": ["customer.c_custkey", "count(orders.o_orderkey)"], "Group Key": ["customer.c_custkey"], "Planned Partitions": 0, "Plans": [{"Node Type": "Hash Join", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Join Type": "Right", "Startup Cost": 4580.82, "Total Cost": 53300.31, "Plan Rows": 1475952, "Plan Width": 8, "Output": ["customer.c_custkey", "orders.o_orderkey"], "Inner Unique": true, "Hash Cond": "(orders.o_custkey = customer.c_custkey)", "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Relation Name": "orders", "Schema": "public", "Alias": "orders", "Startup Cost": 0.0, "Total Cost": 44845.0, "Plan Rows": 1475952, "Plan Width": 8, "Output": ["orders.o_orderkey", "orders.o_custkey", "orders.o_orderstatus", "orders.o_totalprice", "orders.o_orderdate", "orders.o_orderpriority", "orders.o_clerk", "orders.o_shippriority", "orders.o_comment"], "Filter": "((orders.o_comment)::text !~~ '%unusual%requests%'::text)"}, {"Node Type": "Hash", "Parent Relationship": "Inner", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 2705.82, "Total Cost": 2705.82, "Plan Rows": 150000, "Plan Width": 4, "Output": ["customer.c_custkey"], "Plans": [{"Node Type": "Index Only Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Scan Direction": "Forward", "Index Name": "c_ck", "Relation Name": "customer", "Schema": "public", "Alias": "customer", "Startup Cost": 0.42, "Total Cost": 2705.82, "Plan Rows": 150000, "Plan Width": 4, "Output": ["customer.c_custkey"]}]}]}]}]}]}} diff --git a/dev9/pg14/tpch/sf_1/explain/15721/14-1.ok b/dev9/pg14/tpch/sf_1/explain/15721/14-1.ok new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/dev9/pg14/tpch/sf_1/explain/15721/14-1.res b/dev9/pg14/tpch/sf_1/explain/15721/14-1.res new file mode 100644 index 0000000000000000000000000000000000000000..8cad2aeab4e4c112170caee1443f9ae78811f95b --- /dev/null +++ b/dev9/pg14/tpch/sf_1/explain/15721/14-1.res @@ -0,0 +1 @@ +{"Plan": {"Node Type": "Aggregate", "Strategy": "Plain", "Partial Mode": "Finalize", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 70143.23, "Total Cost": 70143.25, "Plan Rows": 1, "Plan Width": 32, "Output": ["((100.00 * sum(CASE WHEN ((part.p_type)::text ~~ 'PROMO%'::text) THEN (lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount)) ELSE '0'::numeric END)) / sum((lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount))))"], "Plans": [{"Node Type": "Gather", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 70142.78, "Total Cost": 70143.19, "Plan Rows": 4, "Plan Width": 64, "Output": ["(PARTIAL sum(CASE WHEN ((part.p_type)::text ~~ 'PROMO%'::text) THEN (lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount)) ELSE '0'::numeric END))", "(PARTIAL sum((lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount))))"], "Workers Planned": 4, "Single Copy": false, "Plans": [{"Node Type": "Aggregate", "Strategy": "Plain", "Partial Mode": "Partial", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 69142.78, "Total Cost": 69142.79, "Plan Rows": 1, "Plan Width": 64, "Output": ["PARTIAL sum(CASE WHEN ((part.p_type)::text ~~ 'PROMO%'::text) THEN (lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount)) ELSE '0'::numeric END)", "PARTIAL sum((lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount)))"], "Plans": [{"Node Type": "Hash Join", "Parent Relationship": "Outer", "Parallel Aware": true, "Async Capable": false, "Join Type": "Inner", "Startup Cost": 6887.6, "Total Cost": 68785.49, "Plan Rows": 20416, "Plan Width": 33, "Output": ["part.p_type", "lineitem.l_extendedprice", "lineitem.l_discount"], "Inner Unique": true, "Hash Cond": "(lineitem.l_partkey = part.p_partkey)", "Plans": [{"Node Type": "Bitmap Heap Scan", "Parent Relationship": "Outer", "Parallel Aware": true, "Async Capable": false, "Relation Name": "lineitem", "Schema": "public", "Alias": "lineitem", "Startup Cost": 915.61, "Total Cost": 62759.9, "Plan Rows": 20416, "Plan Width": 16, "Output": ["lineitem.l_orderkey", "lineitem.l_partkey", "lineitem.l_suppkey", "lineitem.l_linenumber", "lineitem.l_quantity", "lineitem.l_extendedprice", "lineitem.l_discount", "lineitem.l_tax", "lineitem.l_returnflag", "lineitem.l_linestatus", "lineitem.l_shipdate", "lineitem.l_commitdate", "lineitem.l_receiptdate", "lineitem.l_shipinstruct", "lineitem.l_shipmode", "lineitem.l_comment"], "Recheck Cond": "((lineitem.l_shipdate >= '1995-05-01'::date) AND (lineitem.l_shipdate < '1995-06-01 00:00:00'::timestamp without time zone))", "Plans": [{"Node Type": "Bitmap Index Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Index Name": "l_sd", "Startup Cost": 0.0, "Total Cost": 895.19, "Plan Rows": 81666, "Plan Width": 0, "Index Cond": "((lineitem.l_shipdate >= '1995-05-01'::date) AND (lineitem.l_shipdate < '1995-06-01 00:00:00'::timestamp without time zone))"}]}, {"Node Type": "Hash", "Parent Relationship": "Inner", "Parallel Aware": true, "Async Capable": false, "Startup Cost": 4930.33, "Total Cost": 4930.33, "Plan Rows": 83333, "Plan Width": 25, "Output": ["part.p_type", "part.p_partkey"], "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": true, "Async Capable": false, "Relation Name": "part", "Schema": "public", "Alias": "part", "Startup Cost": 0.0, "Total Cost": 4930.33, "Plan Rows": 83333, "Plan Width": 25, "Output": ["part.p_type", "part.p_partkey"]}]}]}]}]}]}} diff --git a/dev9/pg14/tpch/sf_1/explain/15721/15-1.ok b/dev9/pg14/tpch/sf_1/explain/15721/15-1.ok new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/dev9/pg14/tpch/sf_1/explain/15721/15-1.res b/dev9/pg14/tpch/sf_1/explain/15721/15-1.res new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/dev9/pg14/tpch/sf_1/explain/15721/15-2.ok b/dev9/pg14/tpch/sf_1/explain/15721/15-2.ok new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/dev9/pg14/tpch/sf_1/explain/15721/15-2.res b/dev9/pg14/tpch/sf_1/explain/15721/15-2.res new file mode 100644 index 0000000000000000000000000000000000000000..935c7f7fdd2ee9cfc49ce2ed3dfd291c25209411 --- /dev/null +++ b/dev9/pg14/tpch/sf_1/explain/15721/15-2.res @@ -0,0 +1 @@ +{"Plan": {"Node Type": "Merge Join", "Parallel Aware": false, "Async Capable": false, "Join Type": "Inner", "Startup Cost": 242027.97, "Total Cost": 242458.83, "Plan Rows": 50, "Plan Width": 103, "Output": ["supplier.s_suppkey", "supplier.s_name", "supplier.s_address", "supplier.s_phone", "revenue0.total_revenue"], "Inner Unique": true, "Merge Cond": "(supplier.s_suppkey = revenue0.supplier_no)", "Plans": [{"Node Type": "Aggregate", "Strategy": "Plain", "Partial Mode": "Simple", "Parent Relationship": "InitPlan", "Subplan Name": "InitPlan 1 (returns $0)", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 121062.88, "Total Cost": 121062.89, "Plan Rows": 1, "Plan Width": 32, "Output": ["max((sum((lineitem_1.l_extendedprice * ('1'::numeric - lineitem_1.l_discount)))))"], "Plans": [{"Node Type": "Aggregate", "Strategy": "Hashed", "Partial Mode": "Simple", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 120812.88, "Total Cost": 120937.88, "Plan Rows": 10000, "Plan Width": 36, "Output": ["lineitem_1.l_suppkey", "sum((lineitem_1.l_extendedprice * ('1'::numeric - lineitem_1.l_discount)))"], "Group Key": ["lineitem_1.l_suppkey"], "Planned Partitions": 0, "Plans": [{"Node Type": "Bitmap Heap Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Relation Name": "lineitem", "Schema": "public", "Alias": "lineitem_1", "Startup Cost": 2572.68, "Total Cost": 118518.0, "Plan Rows": 229488, "Plan Width": 16, "Output": ["lineitem_1.l_orderkey", "lineitem_1.l_partkey", "lineitem_1.l_suppkey", "lineitem_1.l_linenumber", "lineitem_1.l_quantity", "lineitem_1.l_extendedprice", "lineitem_1.l_discount", "lineitem_1.l_tax", "lineitem_1.l_returnflag", "lineitem_1.l_linestatus", "lineitem_1.l_shipdate", "lineitem_1.l_commitdate", "lineitem_1.l_receiptdate", "lineitem_1.l_shipinstruct", "lineitem_1.l_shipmode", "lineitem_1.l_comment"], "Recheck Cond": "((lineitem_1.l_shipdate >= '1995-01-01'::date) AND (lineitem_1.l_shipdate < '1995-04-01 00:00:00'::timestamp without time zone))", "Plans": [{"Node Type": "Bitmap Index Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Index Name": "l_sd", "Startup Cost": 0.0, "Total Cost": 2515.31, "Plan Rows": 229488, "Plan Width": 0, "Index Cond": "((lineitem_1.l_shipdate >= '1995-01-01'::date) AND (lineitem_1.l_shipdate < '1995-04-01 00:00:00'::timestamp without time zone))"}]}]}]}, {"Node Type": "Index Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Scan Direction": "Forward", "Index Name": "s_sk", "Relation Name": "supplier", "Schema": "public", "Alias": "supplier", "Startup Cost": 0.29, "Total Cost": 405.39, "Plan Rows": 10000, "Plan Width": 71, "Output": ["supplier.s_suppkey", "supplier.s_name", "supplier.s_address", "supplier.s_nationkey", "supplier.s_phone", "supplier.s_acctbal", "supplier.s_comment"]}, {"Node Type": "Sort", "Parent Relationship": "Inner", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 120964.8, "Total Cost": 120964.92, "Plan Rows": 50, "Plan Width": 36, "Output": ["revenue0.total_revenue", "revenue0.supplier_no"], "Sort Key": ["revenue0.supplier_no"], "Plans": [{"Node Type": "Subquery Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Alias": "revenue0", "Startup Cost": 120812.88, "Total Cost": 120963.38, "Plan Rows": 50, "Plan Width": 36, "Output": ["revenue0.total_revenue", "revenue0.supplier_no"], "Plans": [{"Node Type": "Aggregate", "Strategy": "Hashed", "Partial Mode": "Simple", "Parent Relationship": "Subquery", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 120812.88, "Total Cost": 120962.88, "Plan Rows": 50, "Plan Width": 36, "Output": ["lineitem.l_suppkey", "sum((lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount)))"], "Group Key": ["lineitem.l_suppkey"], "Filter": "(sum((lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount))) = $0)", "Planned Partitions": 0, "Plans": [{"Node Type": "Bitmap Heap Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Relation Name": "lineitem", "Schema": "public", "Alias": "lineitem", "Startup Cost": 2572.68, "Total Cost": 118518.0, "Plan Rows": 229488, "Plan Width": 16, "Output": ["lineitem.l_orderkey", "lineitem.l_partkey", "lineitem.l_suppkey", "lineitem.l_linenumber", "lineitem.l_quantity", "lineitem.l_extendedprice", "lineitem.l_discount", "lineitem.l_tax", "lineitem.l_returnflag", "lineitem.l_linestatus", "lineitem.l_shipdate", "lineitem.l_commitdate", "lineitem.l_receiptdate", "lineitem.l_shipinstruct", "lineitem.l_shipmode", "lineitem.l_comment"], "Recheck Cond": "((lineitem.l_shipdate >= '1995-01-01'::date) AND (lineitem.l_shipdate < '1995-04-01 00:00:00'::timestamp without time zone))", "Plans": [{"Node Type": "Bitmap Index Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Index Name": "l_sd", "Startup Cost": 0.0, "Total Cost": 2515.31, "Plan Rows": 229488, "Plan Width": 0, "Index Cond": "((lineitem.l_shipdate >= '1995-01-01'::date) AND (lineitem.l_shipdate < '1995-04-01 00:00:00'::timestamp without time zone))"}]}]}]}]}]}} diff --git a/dev9/pg14/tpch/sf_1/explain/15721/15-3.ok b/dev9/pg14/tpch/sf_1/explain/15721/15-3.ok new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/dev9/pg14/tpch/sf_1/explain/15721/15-3.res b/dev9/pg14/tpch/sf_1/explain/15721/15-3.res new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/dev9/pg14/tpch/sf_1/explain/15721/16-1.ok b/dev9/pg14/tpch/sf_1/explain/15721/16-1.ok new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/dev9/pg14/tpch/sf_1/explain/15721/16-1.res b/dev9/pg14/tpch/sf_1/explain/15721/16-1.res new file mode 100644 index 0000000000000000000000000000000000000000..6d812dae021f9de637fd6b6a21cf6875e7597988 --- /dev/null +++ b/dev9/pg14/tpch/sf_1/explain/15721/16-1.res @@ -0,0 +1 @@ +{"Plan": {"Node Type": "Sort", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 26973.0, "Total Cost": 27013.16, "Plan Rows": 16065, "Plan Width": 44, "Output": ["part.p_brand", "part.p_type", "part.p_size", "(count(DISTINCT partsupp.ps_suppkey))"], "Sort Key": ["(count(DISTINCT partsupp.ps_suppkey)) DESC", "part.p_brand", "part.p_type", "part.p_size"], "Plans": [{"Node Type": "Aggregate", "Strategy": "Sorted", "Partial Mode": "Simple", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 17903.14, "Total Cost": 25850.73, "Plan Rows": 16065, "Plan Width": 44, "Output": ["part.p_brand", "part.p_type", "part.p_size", "count(DISTINCT partsupp.ps_suppkey)"], "Group Key": ["part.p_brand", "part.p_type", "part.p_size"], "Plans": [{"Node Type": "Gather Merge", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 17903.14, "Total Cost": 25089.86, "Plan Rows": 60022, "Plan Width": 40, "Output": ["part.p_brand", "part.p_type", "part.p_size", "partsupp.ps_suppkey"], "Workers Planned": 4, "Plans": [{"Node Type": "Sort", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 16903.08, "Total Cost": 16940.6, "Plan Rows": 15006, "Plan Width": 40, "Output": ["part.p_brand", "part.p_type", "part.p_size", "partsupp.ps_suppkey"], "Sort Key": ["part.p_brand", "part.p_type", "part.p_size"], "Plans": [{"Node Type": "Hash Join", "Parent Relationship": "Outer", "Parallel Aware": true, "Async Capable": false, "Join Type": "Inner", "Startup Cost": 6684.07, "Total Cost": 15862.17, "Plan Rows": 15006, "Plan Width": 40, "Output": ["part.p_brand", "part.p_type", "part.p_size", "partsupp.ps_suppkey"], "Inner Unique": true, "Hash Cond": "(partsupp.ps_partkey = part.p_partkey)", "Plans": [{"Node Type": "Index Only Scan", "Parent Relationship": "Outer", "Parallel Aware": true, "Async Capable": false, "Scan Direction": "Forward", "Index Name": "ps_pk_sk", "Relation Name": "partsupp", "Schema": "public", "Alias": "partsupp", "Startup Cost": 347.43, "Total Cost": 9263.03, "Plan Rows": 100000, "Plan Width": 8, "Output": ["partsupp.ps_partkey", "partsupp.ps_suppkey"], "Filter": "(NOT (hashed SubPlan 1))", "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "SubPlan", "Subplan Name": "SubPlan 1", "Parallel Aware": false, "Async Capable": false, "Relation Name": "supplier", "Schema": "public", "Alias": "supplier", "Startup Cost": 0.0, "Total Cost": 347.0, "Plan Rows": 1, "Plan Width": 4, "Output": ["supplier.s_suppkey"], "Filter": "((supplier.s_comment)::text ~~ '%Customer%Complaints%'::text)"}]}, {"Node Type": "Hash", "Parent Relationship": "Inner", "Parallel Aware": true, "Async Capable": false, "Startup Cost": 6180.33, "Total Cost": 6180.33, "Plan Rows": 12505, "Plan Width": 40, "Output": ["part.p_brand", "part.p_type", "part.p_size", "part.p_partkey"], "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": true, "Async Capable": false, "Relation Name": "part", "Schema": "public", "Alias": "part", "Startup Cost": 0.0, "Total Cost": 6180.33, "Plan Rows": 12505, "Plan Width": 40, "Output": ["part.p_brand", "part.p_type", "part.p_size", "part.p_partkey"], "Filter": "((part.p_brand <> 'Brand#11'::bpchar) AND ((part.p_type)::text !~~ 'ECONOMY ANODIZED%'::text) AND (part.p_size = ANY ('{42,16,39,18,23,32,44,41}'::integer[])))"}]}]}]}]}]}]}} diff --git a/dev9/pg14/tpch/sf_1/explain/15721/17-1.ok b/dev9/pg14/tpch/sf_1/explain/15721/17-1.ok new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/dev9/pg14/tpch/sf_1/explain/15721/17-1.res b/dev9/pg14/tpch/sf_1/explain/15721/17-1.res new file mode 100644 index 0000000000000000000000000000000000000000..b74c4263a63aee4ce22d5e8565a2915c25541f74 --- /dev/null +++ b/dev9/pg14/tpch/sf_1/explain/15721/17-1.res @@ -0,0 +1 @@ +{"Plan": {"Node Type": "Aggregate", "Strategy": "Plain", "Partial Mode": "Simple", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 195005.65, "Total Cost": 195005.67, "Plan Rows": 1, "Plan Width": 32, "Output": ["(sum(lineitem.l_extendedprice) / 7.0)"], "Plans": [{"Node Type": "Hash Join", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Join Type": "Inner", "Startup Cost": 6369.5, "Total Cost": 195000.65, "Plan Rows": 2000, "Plan Width": 8, "Output": ["lineitem.l_extendedprice"], "Inner Unique": true, "Hash Cond": "(lineitem.l_partkey = part.p_partkey)", "Join Filter": "(lineitem.l_quantity < (SubPlan 1))", "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Relation Name": "lineitem", "Schema": "public", "Alias": "lineitem", "Startup Cost": 0.0, "Total Cost": 172515.15, "Plan Rows": 6001215, "Plan Width": 17, "Output": ["lineitem.l_orderkey", "lineitem.l_partkey", "lineitem.l_suppkey", "lineitem.l_linenumber", "lineitem.l_quantity", "lineitem.l_extendedprice", "lineitem.l_discount", "lineitem.l_tax", "lineitem.l_returnflag", "lineitem.l_linestatus", "lineitem.l_shipdate", "lineitem.l_commitdate", "lineitem.l_receiptdate", "lineitem.l_shipinstruct", "lineitem.l_shipmode", "lineitem.l_comment"]}, {"Node Type": "Hash", "Parent Relationship": "Inner", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 6367.0, "Total Cost": 6367.0, "Plan Rows": 200, "Plan Width": 4, "Output": ["part.p_partkey"], "Plans": [{"Node Type": "Gather", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 1000.0, "Total Cost": 6367.0, "Plan Rows": 200, "Plan Width": 4, "Output": ["part.p_partkey"], "Workers Planned": 2, "Single Copy": false, "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": true, "Async Capable": false, "Relation Name": "part", "Schema": "public", "Alias": "part", "Startup Cost": 0.0, "Total Cost": 5347.0, "Plan Rows": 83, "Plan Width": 4, "Output": ["part.p_partkey"], "Filter": "((part.p_brand = 'Brand#14'::bpchar) AND (part.p_container = 'WRAP BOX'::bpchar))"}]}]}, {"Node Type": "Aggregate", "Strategy": "Plain", "Partial Mode": "Simple", "Parent Relationship": "SubPlan", "Subplan Name": "SubPlan 1", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 36.25, "Total Cost": 36.27, "Plan Rows": 1, "Plan Width": 32, "Output": ["(0.2 * avg(lineitem_1.l_quantity))"], "Plans": [{"Node Type": "Index Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Scan Direction": "Forward", "Index Name": "l_pk", "Relation Name": "lineitem", "Schema": "public", "Alias": "lineitem_1", "Startup Cost": 0.43, "Total Cost": 36.17, "Plan Rows": 31, "Plan Width": 5, "Output": ["lineitem_1.l_orderkey", "lineitem_1.l_partkey", "lineitem_1.l_suppkey", "lineitem_1.l_linenumber", "lineitem_1.l_quantity", "lineitem_1.l_extendedprice", "lineitem_1.l_discount", "lineitem_1.l_tax", "lineitem_1.l_returnflag", "lineitem_1.l_linestatus", "lineitem_1.l_shipdate", "lineitem_1.l_commitdate", "lineitem_1.l_receiptdate", "lineitem_1.l_shipinstruct", "lineitem_1.l_shipmode", "lineitem_1.l_comment"], "Index Cond": "(lineitem_1.l_partkey = part.p_partkey)"}]}]}]}} diff --git a/dev9/pg14/tpch/sf_1/explain/15721/18-1.ok b/dev9/pg14/tpch/sf_1/explain/15721/18-1.ok new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/dev9/pg14/tpch/sf_1/explain/15721/18-1.res b/dev9/pg14/tpch/sf_1/explain/15721/18-1.res new file mode 100644 index 0000000000000000000000000000000000000000..930f91464a4766e61863994fa53824f7061ddac0 --- /dev/null +++ b/dev9/pg14/tpch/sf_1/explain/15721/18-1.res @@ -0,0 +1 @@ +{"Plan": {"Node Type": "Limit", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 728667.64, "Total Cost": 728667.89, "Plan Rows": 100, "Plan Width": 71, "Output": ["customer.c_name", "customer.c_custkey", "orders.o_orderkey", "orders.o_orderdate", "orders.o_totalprice", "(sum(lineitem.l_quantity))"], "Plans": [{"Node Type": "Sort", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 728667.64, "Total Cost": 732655.74, "Plan Rows": 1595239, "Plan Width": 71, "Output": ["customer.c_name", "customer.c_custkey", "orders.o_orderkey", "orders.o_orderdate", "orders.o_totalprice", "(sum(lineitem.l_quantity))"], "Sort Key": ["orders.o_totalprice DESC", "orders.o_orderdate"], "Plans": [{"Node Type": "Aggregate", "Strategy": "Sorted", "Partial Mode": "Simple", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 314021.11, "Total Cost": 667698.76, "Plan Rows": 1595239, "Plan Width": 71, "Output": ["customer.c_name", "customer.c_custkey", "orders.o_orderkey", "orders.o_orderdate", "orders.o_totalprice", "sum(lineitem.l_quantity)"], "Group Key": ["customer.c_custkey", "orders.o_orderkey"], "Plans": [{"Node Type": "Nested Loop", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Join Type": "Inner", "Startup Cost": 314021.11, "Total Cost": 635793.98, "Plan Rows": 1595239, "Plan Width": 44, "Output": ["customer.c_custkey", "orders.o_orderkey", "customer.c_name", "orders.o_orderdate", "orders.o_totalprice", "lineitem.l_quantity"], "Inner Unique": false, "Plans": [{"Node Type": "Merge Join", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Join Type": "Inner", "Startup Cost": 314020.67, "Total Cost": 372842.28, "Plan Rows": 398729, "Plan Width": 43, "Output": ["customer.c_name", "customer.c_custkey", "orders.o_orderkey", "orders.o_orderdate", "orders.o_totalprice", "lineitem_1.l_orderkey"], "Inner Unique": true, "Merge Cond": "(orders.o_custkey = customer.c_custkey)", "Plans": [{"Node Type": "Gather Merge", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 314020.12, "Total Cost": 361192.33, "Plan Rows": 398729, "Plan Width": 24, "Output": ["orders.o_orderkey", "orders.o_orderdate", "orders.o_totalprice", "orders.o_custkey", "lineitem_1.l_orderkey"], "Workers Planned": 3, "Plans": [{"Node Type": "Sort", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 313020.08, "Total Cost": 313341.63, "Plan Rows": 128622, "Plan Width": 24, "Output": ["orders.o_orderkey", "orders.o_orderdate", "orders.o_totalprice", "orders.o_custkey", "lineitem_1.l_orderkey"], "Sort Key": ["orders.o_custkey", "orders.o_orderkey"], "Plans": [{"Node Type": "Hash Join", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Join Type": "Inner", "Startup Cost": 269900.85, "Total Cost": 302104.72, "Plan Rows": 128622, "Plan Width": 24, "Output": ["orders.o_orderkey", "orders.o_orderdate", "orders.o_totalprice", "orders.o_custkey", "lineitem_1.l_orderkey"], "Inner Unique": true, "Hash Cond": "(orders.o_orderkey = lineitem_1.l_orderkey)", "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": true, "Async Capable": false, "Relation Name": "orders", "Schema": "public", "Alias": "orders", "Startup Cost": 0.0, "Total Cost": 30933.71, "Plan Rows": 483871, "Plan Width": 20, "Output": ["orders.o_orderkey", "orders.o_custkey", "orders.o_orderstatus", "orders.o_totalprice", "orders.o_orderdate", "orders.o_orderpriority", "orders.o_clerk", "orders.o_shippriority", "orders.o_comment"]}, {"Node Type": "Hash", "Parent Relationship": "Inner", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 264916.73, "Total Cost": 264916.73, "Plan Rows": 398729, "Plan Width": 4, "Output": ["lineitem_1.l_orderkey"], "Plans": [{"Node Type": "Aggregate", "Strategy": "Sorted", "Partial Mode": "Simple", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 0.43, "Total Cost": 260929.44, "Plan Rows": 398729, "Plan Width": 4, "Output": ["lineitem_1.l_orderkey"], "Group Key": ["lineitem_1.l_orderkey"], "Filter": "(sum(lineitem_1.l_quantity) > '314'::numeric)", "Plans": [{"Node Type": "Index Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Scan Direction": "Forward", "Index Name": "l_ok", "Relation Name": "lineitem", "Schema": "public", "Alias": "lineitem_1", "Startup Cost": 0.43, "Total Cost": 212980.56, "Plan Rows": 6001215, "Plan Width": 9, "Output": ["lineitem_1.l_orderkey", "lineitem_1.l_partkey", "lineitem_1.l_suppkey", "lineitem_1.l_linenumber", "lineitem_1.l_quantity", "lineitem_1.l_extendedprice", "lineitem_1.l_discount", "lineitem_1.l_tax", "lineitem_1.l_returnflag", "lineitem_1.l_linestatus", "lineitem_1.l_shipdate", "lineitem_1.l_commitdate", "lineitem_1.l_receiptdate", "lineitem_1.l_shipinstruct", "lineitem_1.l_shipmode", "lineitem_1.l_comment"]}]}]}]}]}]}, {"Node Type": "Index Scan", "Parent Relationship": "Inner", "Parallel Aware": false, "Async Capable": false, "Scan Direction": "Forward", "Index Name": "c_ck", "Relation Name": "customer", "Schema": "public", "Alias": "customer", "Startup Cost": 0.42, "Total Cost": 6290.92, "Plan Rows": 150000, "Plan Width": 23, "Output": ["customer.c_custkey", "customer.c_name", "customer.c_address", "customer.c_nationkey", "customer.c_phone", "customer.c_acctbal", "customer.c_mktsegment", "customer.c_comment"]}]}, {"Node Type": "Index Scan", "Parent Relationship": "Inner", "Parallel Aware": false, "Async Capable": false, "Scan Direction": "Forward", "Index Name": "l_ok", "Relation Name": "lineitem", "Schema": "public", "Alias": "lineitem", "Startup Cost": 0.43, "Total Cost": 0.61, "Plan Rows": 5, "Plan Width": 9, "Output": ["lineitem.l_orderkey", "lineitem.l_partkey", "lineitem.l_suppkey", "lineitem.l_linenumber", "lineitem.l_quantity", "lineitem.l_extendedprice", "lineitem.l_discount", "lineitem.l_tax", "lineitem.l_returnflag", "lineitem.l_linestatus", "lineitem.l_shipdate", "lineitem.l_commitdate", "lineitem.l_receiptdate", "lineitem.l_shipinstruct", "lineitem.l_shipmode", "lineitem.l_comment"], "Index Cond": "(lineitem.l_orderkey = orders.o_orderkey)"}]}]}]}]}} diff --git a/dev9/pg14/tpch/sf_1/explain/15721/19-1.ok b/dev9/pg14/tpch/sf_1/explain/15721/19-1.ok new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/dev9/pg14/tpch/sf_1/explain/15721/19-1.res b/dev9/pg14/tpch/sf_1/explain/15721/19-1.res new file mode 100644 index 0000000000000000000000000000000000000000..504de0142aea74c0213d41bdd60a346e752456b3 --- /dev/null +++ b/dev9/pg14/tpch/sf_1/explain/15721/19-1.res @@ -0,0 +1 @@ +{"Plan": {"Node Type": "Aggregate", "Strategy": "Plain", "Partial Mode": "Finalize", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 15846.55, "Total Cost": 15846.56, "Plan Rows": 1, "Plan Width": 32, "Output": ["sum((lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount)))"], "Plans": [{"Node Type": "Gather", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 15846.33, "Total Cost": 15846.54, "Plan Rows": 2, "Plan Width": 32, "Output": ["(PARTIAL sum((lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount))))"], "Workers Planned": 2, "Single Copy": false, "Plans": [{"Node Type": "Aggregate", "Strategy": "Plain", "Partial Mode": "Partial", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 14846.33, "Total Cost": 14846.34, "Plan Rows": 1, "Plan Width": 32, "Output": ["PARTIAL sum((lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount)))"], "Plans": [{"Node Type": "Nested Loop", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Join Type": "Inner", "Startup Cost": 0.43, "Total Cost": 14845.98, "Plan Rows": 47, "Plan Width": 12, "Output": ["lineitem.l_extendedprice", "lineitem.l_discount"], "Inner Unique": false, "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": true, "Async Capable": false, "Relation Name": "part", "Schema": "public", "Alias": "part", "Startup Cost": 0.0, "Total Cost": 7638.67, "Plan Rows": 200, "Plan Width": 30, "Output": ["part.p_partkey", "part.p_name", "part.p_mfgr", "part.p_brand", "part.p_type", "part.p_size", "part.p_container", "part.p_retailprice", "part.p_comment"], "Filter": "((part.p_size >= 1) AND (((part.p_brand = 'Brand#52'::bpchar) AND (part.p_container = ANY ('{\"SM CASE\",\"SM BOX\",\"SM PACK\",\"SM PKG\"}'::bpchar[])) AND (part.p_size <= 5)) OR ((part.p_brand = 'Brand#42'::bpchar) AND (part.p_container = ANY ('{\"MED BAG\",\"MED BOX\",\"MED PKG\",\"MED PACK\"}'::bpchar[])) AND (part.p_size <= 10)) OR ((part.p_brand = 'Brand#23'::bpchar) AND (part.p_container = ANY ('{\"LG CASE\",\"LG BOX\",\"LG PACK\",\"LG PKG\"}'::bpchar[])) AND (part.p_size <= 15))))"}, {"Node Type": "Index Scan", "Parent Relationship": "Inner", "Parallel Aware": false, "Async Capable": false, "Scan Direction": "Forward", "Index Name": "l_pk", "Relation Name": "lineitem", "Schema": "public", "Alias": "lineitem", "Startup Cost": 0.43, "Total Cost": 36.03, "Plan Rows": 1, "Plan Width": 21, "Output": ["lineitem.l_orderkey", "lineitem.l_partkey", "lineitem.l_suppkey", "lineitem.l_linenumber", "lineitem.l_quantity", "lineitem.l_extendedprice", "lineitem.l_discount", "lineitem.l_tax", "lineitem.l_returnflag", "lineitem.l_linestatus", "lineitem.l_shipdate", "lineitem.l_commitdate", "lineitem.l_receiptdate", "lineitem.l_shipinstruct", "lineitem.l_shipmode", "lineitem.l_comment"], "Index Cond": "(lineitem.l_partkey = part.p_partkey)", "Filter": "((lineitem.l_shipmode = ANY ('{AIR,\"AIR REG\"}'::bpchar[])) AND (lineitem.l_shipinstruct = 'DELIVER IN PERSON'::bpchar) AND (((lineitem.l_quantity >= '9'::numeric) AND (lineitem.l_quantity <= '19'::numeric)) OR ((lineitem.l_quantity >= '18'::numeric) AND (lineitem.l_quantity <= '28'::numeric)) OR ((lineitem.l_quantity >= '22'::numeric) AND (lineitem.l_quantity <= '32'::numeric))) AND (((part.p_brand = 'Brand#52'::bpchar) AND (part.p_container = ANY ('{\"SM CASE\",\"SM BOX\",\"SM PACK\",\"SM PKG\"}'::bpchar[])) AND (lineitem.l_quantity >= '9'::numeric) AND (lineitem.l_quantity <= '19'::numeric) AND (part.p_size <= 5)) OR ((part.p_brand = 'Brand#42'::bpchar) AND (part.p_container = ANY ('{\"MED BAG\",\"MED BOX\",\"MED PKG\",\"MED PACK\"}'::bpchar[])) AND (lineitem.l_quantity >= '18'::numeric) AND (lineitem.l_quantity <= '28'::numeric) AND (part.p_size <= 10)) OR ((part.p_brand = 'Brand#23'::bpchar) AND (part.p_container = ANY ('{\"LG CASE\",\"LG BOX\",\"LG PACK\",\"LG PKG\"}'::bpchar[])) AND (lineitem.l_quantity >= '22'::numeric) AND (lineitem.l_quantity <= '32'::numeric) AND (part.p_size <= 15))))"}]}]}]}]}} diff --git a/dev9/pg14/tpch/sf_1/explain/15721/2-1.ok b/dev9/pg14/tpch/sf_1/explain/15721/2-1.ok new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/dev9/pg14/tpch/sf_1/explain/15721/2-1.res b/dev9/pg14/tpch/sf_1/explain/15721/2-1.res new file mode 100644 index 0000000000000000000000000000000000000000..e9b48f6e515fc6f017d31cf9dd704bbc786c268d --- /dev/null +++ b/dev9/pg14/tpch/sf_1/explain/15721/2-1.res @@ -0,0 +1 @@ +{"Plan": {"Node Type": "Limit", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 31809.64, "Total Cost": 31809.65, "Plan Rows": 1, "Plan Width": 192, "Output": ["supplier.s_acctbal", "supplier.s_name", "nation.n_name", "part.p_partkey", "part.p_mfgr", "supplier.s_address", "supplier.s_phone", "supplier.s_comment"], "Plans": [{"Node Type": "Sort", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 31809.64, "Total Cost": 31809.65, "Plan Rows": 1, "Plan Width": 192, "Output": ["supplier.s_acctbal", "supplier.s_name", "nation.n_name", "part.p_partkey", "part.p_mfgr", "supplier.s_address", "supplier.s_phone", "supplier.s_comment"], "Sort Key": ["supplier.s_acctbal DESC", "nation.n_name", "supplier.s_name", "part.p_partkey"], "Plans": [{"Node Type": "Hash Join", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Join Type": "Inner", "Startup Cost": 16654.34, "Total Cost": 31809.63, "Plan Rows": 1, "Plan Width": 192, "Output": ["supplier.s_acctbal", "supplier.s_name", "nation.n_name", "part.p_partkey", "part.p_mfgr", "supplier.s_address", "supplier.s_phone", "supplier.s_comment"], "Inner Unique": false, "Hash Cond": "((part.p_partkey = partsupp.ps_partkey) AND ((SubPlan 1) = partsupp.ps_supplycost))", "Plans": [{"Node Type": "Gather", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 1000.0, "Total Cost": 6427.3, "Plan Rows": 803, "Plan Width": 30, "Output": ["part.p_partkey", "part.p_mfgr"], "Workers Planned": 2, "Single Copy": false, "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": true, "Async Capable": false, "Relation Name": "part", "Schema": "public", "Alias": "part", "Startup Cost": 0.0, "Total Cost": 5347.0, "Plan Rows": 335, "Plan Width": 30, "Output": ["part.p_partkey", "part.p_mfgr"], "Filter": "(((part.p_type)::text ~~ '%TIN'::text) AND (part.p_size = 44))"}]}, {"Node Type": "Hash", "Parent Relationship": "Inner", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 9347.34, "Total Cost": 9347.34, "Plan Rows": 160000, "Plan Width": 172, "Output": ["supplier.s_acctbal", "supplier.s_name", "supplier.s_address", "supplier.s_phone", "supplier.s_comment", "partsupp.ps_partkey", "partsupp.ps_supplycost", "nation.n_name"], "Plans": [{"Node Type": "Nested Loop", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Join Type": "Inner", "Startup Cost": 0.71, "Total Cost": 9347.34, "Plan Rows": 160000, "Plan Width": 172, "Output": ["supplier.s_acctbal", "supplier.s_name", "supplier.s_address", "supplier.s_phone", "supplier.s_comment", "partsupp.ps_partkey", "partsupp.ps_supplycost", "nation.n_name"], "Inner Unique": false, "Plans": [{"Node Type": "Nested Loop", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Join Type": "Inner", "Startup Cost": 0.29, "Total Cost": 110.28, "Plan Rows": 2000, "Plan Width": 166, "Output": ["supplier.s_acctbal", "supplier.s_name", "supplier.s_address", "supplier.s_phone", "supplier.s_comment", "supplier.s_suppkey", "nation.n_name"], "Inner Unique": false, "Plans": [{"Node Type": "Nested Loop", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Join Type": "Inner", "Startup Cost": 0.0, "Total Cost": 2.62, "Plan Rows": 5, "Plan Width": 30, "Output": ["nation.n_name", "nation.n_nationkey"], "Inner Unique": false, "Join Filter": "(nation.n_regionkey = region.r_regionkey)", "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Relation Name": "region", "Schema": "public", "Alias": "region", "Startup Cost": 0.0, "Total Cost": 1.06, "Plan Rows": 1, "Plan Width": 4, "Output": ["region.r_regionkey", "region.r_name", "region.r_comment"], "Filter": "(region.r_name = 'EUROPE'::bpchar)"}, {"Node Type": "Seq Scan", "Parent Relationship": "Inner", "Parallel Aware": false, "Async Capable": false, "Relation Name": "nation", "Schema": "public", "Alias": "nation", "Startup Cost": 0.0, "Total Cost": 1.25, "Plan Rows": 25, "Plan Width": 34, "Output": ["nation.n_nationkey", "nation.n_name", "nation.n_regionkey", "nation.n_comment"]}]}, {"Node Type": "Index Scan", "Parent Relationship": "Inner", "Parallel Aware": false, "Async Capable": false, "Scan Direction": "Forward", "Index Name": "s_nk", "Relation Name": "supplier", "Schema": "public", "Alias": "supplier", "Startup Cost": 0.29, "Total Cost": 17.53, "Plan Rows": 400, "Plan Width": 144, "Output": ["supplier.s_suppkey", "supplier.s_name", "supplier.s_address", "supplier.s_nationkey", "supplier.s_phone", "supplier.s_acctbal", "supplier.s_comment"], "Index Cond": "(supplier.s_nationkey = nation.n_nationkey)"}]}, {"Node Type": "Index Scan", "Parent Relationship": "Inner", "Parallel Aware": false, "Async Capable": false, "Scan Direction": "Forward", "Index Name": "ps_sk", "Relation Name": "partsupp", "Schema": "public", "Alias": "partsupp", "Startup Cost": 0.42, "Total Cost": 3.82, "Plan Rows": 80, "Plan Width": 14, "Output": ["partsupp.ps_partkey", "partsupp.ps_suppkey", "partsupp.ps_availqty", "partsupp.ps_supplycost", "partsupp.ps_comment"], "Index Cond": "(partsupp.ps_suppkey = supplier.s_suppkey)"}]}]}, {"Node Type": "Aggregate", "Strategy": "Plain", "Partial Mode": "Simple", "Parent Relationship": "SubPlan", "Subplan Name": "SubPlan 1", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 14.44, "Total Cost": 14.45, "Plan Rows": 1, "Plan Width": 32, "Output": ["min(partsupp_1.ps_supplycost)"], "Plans": [{"Node Type": "Nested Loop", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Join Type": "Inner", "Startup Cost": 0.85, "Total Cost": 14.44, "Plan Rows": 1, "Plan Width": 6, "Output": ["partsupp_1.ps_supplycost"], "Inner Unique": false, "Join Filter": "(nation_1.n_regionkey = region_1.r_regionkey)", "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Relation Name": "region", "Schema": "public", "Alias": "region_1", "Startup Cost": 0.0, "Total Cost": 1.06, "Plan Rows": 1, "Plan Width": 4, "Output": ["region_1.r_regionkey", "region_1.r_name", "region_1.r_comment"], "Filter": "(region_1.r_name = 'EUROPE'::bpchar)"}, {"Node Type": "Nested Loop", "Parent Relationship": "Inner", "Parallel Aware": false, "Async Capable": false, "Join Type": "Inner", "Startup Cost": 0.85, "Total Cost": 13.33, "Plan Rows": 4, "Plan Width": 10, "Output": ["partsupp_1.ps_supplycost", "nation_1.n_regionkey"], "Inner Unique": true, "Plans": [{"Node Type": "Nested Loop", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Join Type": "Inner", "Startup Cost": 0.71, "Total Cost": 12.71, "Plan Rows": 4, "Plan Width": 10, "Output": ["partsupp_1.ps_supplycost", "supplier_1.s_nationkey"], "Inner Unique": true, "Plans": [{"Node Type": "Index Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Scan Direction": "Forward", "Index Name": "ps_pk", "Relation Name": "partsupp", "Schema": "public", "Alias": "partsupp_1", "Startup Cost": 0.42, "Total Cost": 2.7, "Plan Rows": 4, "Plan Width": 10, "Output": ["partsupp_1.ps_partkey", "partsupp_1.ps_suppkey", "partsupp_1.ps_availqty", "partsupp_1.ps_supplycost", "partsupp_1.ps_comment"], "Index Cond": "(partsupp_1.ps_partkey = part.p_partkey)"}, {"Node Type": "Index Scan", "Parent Relationship": "Inner", "Parallel Aware": false, "Async Capable": false, "Scan Direction": "Forward", "Index Name": "s_sk", "Relation Name": "supplier", "Schema": "public", "Alias": "supplier_1", "Startup Cost": 0.29, "Total Cost": 2.5, "Plan Rows": 1, "Plan Width": 8, "Output": ["supplier_1.s_suppkey", "supplier_1.s_name", "supplier_1.s_address", "supplier_1.s_nationkey", "supplier_1.s_phone", "supplier_1.s_acctbal", "supplier_1.s_comment"], "Index Cond": "(supplier_1.s_suppkey = partsupp_1.ps_suppkey)"}]}, {"Node Type": "Index Scan", "Parent Relationship": "Inner", "Parallel Aware": false, "Async Capable": false, "Scan Direction": "Forward", "Index Name": "n_nk", "Relation Name": "nation", "Schema": "public", "Alias": "nation_1", "Startup Cost": 0.14, "Total Cost": 0.16, "Plan Rows": 1, "Plan Width": 8, "Output": ["nation_1.n_nationkey", "nation_1.n_name", "nation_1.n_regionkey", "nation_1.n_comment"], "Index Cond": "(nation_1.n_nationkey = supplier_1.s_nationkey)"}]}]}]}]}]}]}} diff --git a/dev9/pg14/tpch/sf_1/explain/15721/20-1.ok b/dev9/pg14/tpch/sf_1/explain/15721/20-1.ok new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/dev9/pg14/tpch/sf_1/explain/15721/20-1.res b/dev9/pg14/tpch/sf_1/explain/15721/20-1.res new file mode 100644 index 0000000000000000000000000000000000000000..106c85f087037202ff1b4908e9c5f88f50551e16 --- /dev/null +++ b/dev9/pg14/tpch/sf_1/explain/15721/20-1.res @@ -0,0 +1 @@ +{"Plan": {"Node Type": "Sort", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 32647.83, "Total Cost": 32648.09, "Plan Rows": 107, "Plan Width": 51, "Output": ["supplier.s_name", "supplier.s_address"], "Sort Key": ["supplier.s_name"], "Plans": [{"Node Type": "Hash Join", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Join Type": "Semi", "Startup Cost": 32420.0, "Total Cost": 32644.22, "Plan Rows": 107, "Plan Width": 51, "Output": ["supplier.s_name", "supplier.s_address"], "Inner Unique": false, "Hash Cond": "(supplier.s_suppkey = partsupp.ps_suppkey)", "Plans": [{"Node Type": "Nested Loop", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Join Type": "Inner", "Startup Cost": 4.48, "Total Cost": 226.33, "Plan Rows": 400, "Plan Width": 55, "Output": ["supplier.s_name", "supplier.s_address", "supplier.s_suppkey"], "Inner Unique": false, "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Relation Name": "nation", "Schema": "public", "Alias": "nation", "Startup Cost": 0.0, "Total Cost": 1.31, "Plan Rows": 1, "Plan Width": 4, "Output": ["nation.n_nationkey", "nation.n_name", "nation.n_regionkey", "nation.n_comment"], "Filter": "(nation.n_name = 'GERMANY'::bpchar)"}, {"Node Type": "Bitmap Heap Scan", "Parent Relationship": "Inner", "Parallel Aware": false, "Async Capable": false, "Relation Name": "supplier", "Schema": "public", "Alias": "supplier", "Startup Cost": 4.48, "Total Cost": 221.01, "Plan Rows": 400, "Plan Width": 59, "Output": ["supplier.s_suppkey", "supplier.s_name", "supplier.s_address", "supplier.s_nationkey", "supplier.s_phone", "supplier.s_acctbal", "supplier.s_comment"], "Recheck Cond": "(supplier.s_nationkey = nation.n_nationkey)", "Plans": [{"Node Type": "Bitmap Index Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Index Name": "s_nk", "Startup Cost": 0.0, "Total Cost": 4.38, "Plan Rows": 400, "Plan Width": 0, "Index Cond": "(supplier.s_nationkey = nation.n_nationkey)"}]}]}, {"Node Type": "Hash", "Parent Relationship": "Inner", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 32382.12, "Total Cost": 32382.12, "Plan Rows": 2672, "Plan Width": 4, "Output": ["partsupp.ps_suppkey"], "Plans": [{"Node Type": "Nested Loop", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Join Type": "Inner", "Startup Cost": 0.42, "Total Cost": 32382.12, "Plan Rows": 2672, "Plan Width": 4, "Output": ["partsupp.ps_suppkey"], "Inner Unique": false, "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Relation Name": "part", "Schema": "public", "Alias": "part", "Startup Cost": 0.0, "Total Cost": 6597.0, "Plan Rows": 2004, "Plan Width": 4, "Output": ["part.p_partkey", "part.p_name", "part.p_mfgr", "part.p_brand", "part.p_type", "part.p_size", "part.p_container", "part.p_retailprice", "part.p_comment"], "Filter": "((part.p_name)::text ~~ 'floral%'::text)"}, {"Node Type": "Index Scan", "Parent Relationship": "Inner", "Parallel Aware": false, "Async Capable": false, "Scan Direction": "Forward", "Index Name": "ps_pk", "Relation Name": "partsupp", "Schema": "public", "Alias": "partsupp", "Startup Cost": 0.42, "Total Cost": 12.86, "Plan Rows": 1, "Plan Width": 8, "Output": ["partsupp.ps_partkey", "partsupp.ps_suppkey", "partsupp.ps_availqty", "partsupp.ps_supplycost", "partsupp.ps_comment"], "Index Cond": "(partsupp.ps_partkey = part.p_partkey)", "Filter": "((partsupp.ps_availqty)::numeric > (SubPlan 1))", "Plans": [{"Node Type": "Aggregate", "Strategy": "Plain", "Partial Mode": "Simple", "Parent Relationship": "SubPlan", "Subplan Name": "SubPlan 1", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 2.66, "Total Cost": 2.68, "Plan Rows": 1, "Plan Width": 32, "Output": ["(0.5 * sum(lineitem.l_quantity))"], "Plans": [{"Node Type": "Index Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Scan Direction": "Forward", "Index Name": "l_sk_pk", "Relation Name": "lineitem", "Schema": "public", "Alias": "lineitem", "Startup Cost": 0.43, "Total Cost": 2.66, "Plan Rows": 1, "Plan Width": 5, "Output": ["lineitem.l_orderkey", "lineitem.l_partkey", "lineitem.l_suppkey", "lineitem.l_linenumber", "lineitem.l_quantity", "lineitem.l_extendedprice", "lineitem.l_discount", "lineitem.l_tax", "lineitem.l_returnflag", "lineitem.l_linestatus", "lineitem.l_shipdate", "lineitem.l_commitdate", "lineitem.l_receiptdate", "lineitem.l_shipinstruct", "lineitem.l_shipmode", "lineitem.l_comment"], "Index Cond": "((lineitem.l_suppkey = partsupp.ps_suppkey) AND (lineitem.l_partkey = partsupp.ps_partkey))", "Filter": "((lineitem.l_shipdate >= '1996-01-01'::date) AND (lineitem.l_shipdate < '1997-01-01 00:00:00'::timestamp without time zone))"}]}]}]}]}]}]}} diff --git a/dev9/pg14/tpch/sf_1/explain/15721/21-1.ok b/dev9/pg14/tpch/sf_1/explain/15721/21-1.ok new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/dev9/pg14/tpch/sf_1/explain/15721/21-1.res b/dev9/pg14/tpch/sf_1/explain/15721/21-1.res new file mode 100644 index 0000000000000000000000000000000000000000..a1c8473c8c76d2a3c10d07670bffce76289d2b36 --- /dev/null +++ b/dev9/pg14/tpch/sf_1/explain/15721/21-1.res @@ -0,0 +1 @@ +{"Plan": {"Node Type": "Limit", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 53616.11, "Total Cost": 53616.12, "Plan Rows": 1, "Plan Width": 34, "Output": ["supplier.s_name", "(count(*))"], "Plans": [{"Node Type": "Sort", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 53616.11, "Total Cost": 53616.12, "Plan Rows": 1, "Plan Width": 34, "Output": ["supplier.s_name", "(count(*))"], "Sort Key": ["(count(*)) DESC", "supplier.s_name"], "Plans": [{"Node Type": "Aggregate", "Strategy": "Sorted", "Partial Mode": "Simple", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 53616.08, "Total Cost": 53616.1, "Plan Rows": 1, "Plan Width": 34, "Output": ["supplier.s_name", "count(*)"], "Group Key": ["supplier.s_name"], "Plans": [{"Node Type": "Sort", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 53616.08, "Total Cost": 53616.09, "Plan Rows": 1, "Plan Width": 26, "Output": ["supplier.s_name"], "Sort Key": ["supplier.s_name"], "Plans": [{"Node Type": "Nested Loop", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Join Type": "Semi", "Startup Cost": 13174.92, "Total Cost": 53616.07, "Plan Rows": 1, "Plan Width": 26, "Output": ["supplier.s_name"], "Inner Unique": false, "Join Filter": "(orders.o_orderkey = l2.l_orderkey)", "Plans": [{"Node Type": "Gather", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 13174.49, "Total Cost": 53615.45, "Plan Rows": 1, "Plan Width": 38, "Output": ["supplier.s_name", "l1.l_suppkey", "l1.l_orderkey", "orders.o_orderkey"], "Workers Planned": 3, "Single Copy": false, "Plans": [{"Node Type": "Nested Loop", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Join Type": "Anti", "Startup Cost": 12174.49, "Total Cost": 52615.35, "Plan Rows": 1, "Plan Width": 38, "Output": ["supplier.s_name", "l1.l_suppkey", "l1.l_orderkey", "orders.o_orderkey"], "Inner Unique": false, "Plans": [{"Node Type": "Hash Join", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Join Type": "Inner", "Startup Cost": 12174.06, "Total Cost": 45323.68, "Plan Rows": 12531, "Plan Width": 38, "Output": ["supplier.s_name", "l1.l_suppkey", "l1.l_orderkey", "orders.o_orderkey"], "Inner Unique": false, "Hash Cond": "(orders.o_orderkey = l1.l_orderkey)", "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": true, "Async Capable": false, "Relation Name": "orders", "Schema": "public", "Alias": "orders", "Startup Cost": 0.0, "Total Cost": 32143.39, "Plan Rows": 234913, "Plan Width": 4, "Output": ["orders.o_orderkey", "orders.o_custkey", "orders.o_orderstatus", "orders.o_totalprice", "orders.o_orderdate", "orders.o_orderpriority", "orders.o_clerk", "orders.o_shippriority", "orders.o_comment"], "Filter": "(orders.o_orderstatus = 'F'::bpchar)"}, {"Node Type": "Hash", "Parent Relationship": "Inner", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 11173.86, "Total Cost": 11173.86, "Plan Rows": 80016, "Plan Width": 34, "Output": ["supplier.s_name", "l1.l_suppkey", "l1.l_orderkey"], "Plans": [{"Node Type": "Nested Loop", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Join Type": "Inner", "Startup Cost": 4.92, "Total Cost": 11173.86, "Plan Rows": 80016, "Plan Width": 34, "Output": ["supplier.s_name", "l1.l_suppkey", "l1.l_orderkey"], "Inner Unique": false, "Plans": [{"Node Type": "Nested Loop", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Join Type": "Inner", "Startup Cost": 4.48, "Total Cost": 226.33, "Plan Rows": 400, "Plan Width": 30, "Output": ["supplier.s_name", "supplier.s_suppkey"], "Inner Unique": false, "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Relation Name": "nation", "Schema": "public", "Alias": "nation", "Startup Cost": 0.0, "Total Cost": 1.31, "Plan Rows": 1, "Plan Width": 4, "Output": ["nation.n_nationkey", "nation.n_name", "nation.n_regionkey", "nation.n_comment"], "Filter": "(nation.n_name = 'CHINA'::bpchar)"}, {"Node Type": "Bitmap Heap Scan", "Parent Relationship": "Inner", "Parallel Aware": false, "Async Capable": false, "Relation Name": "supplier", "Schema": "public", "Alias": "supplier", "Startup Cost": 4.48, "Total Cost": 221.01, "Plan Rows": 400, "Plan Width": 34, "Output": ["supplier.s_suppkey", "supplier.s_name", "supplier.s_address", "supplier.s_nationkey", "supplier.s_phone", "supplier.s_acctbal", "supplier.s_comment"], "Recheck Cond": "(supplier.s_nationkey = nation.n_nationkey)", "Plans": [{"Node Type": "Bitmap Index Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Index Name": "s_nk", "Startup Cost": 0.0, "Total Cost": 4.38, "Plan Rows": 400, "Plan Width": 0, "Index Cond": "(supplier.s_nationkey = nation.n_nationkey)"}]}]}, {"Node Type": "Index Scan", "Parent Relationship": "Inner", "Parallel Aware": false, "Async Capable": false, "Scan Direction": "Forward", "Index Name": "l_sk", "Relation Name": "lineitem", "Schema": "public", "Alias": "l1", "Startup Cost": 0.43, "Total Cost": 25.37, "Plan Rows": 200, "Plan Width": 8, "Output": ["l1.l_orderkey", "l1.l_partkey", "l1.l_suppkey", "l1.l_linenumber", "l1.l_quantity", "l1.l_extendedprice", "l1.l_discount", "l1.l_tax", "l1.l_returnflag", "l1.l_linestatus", "l1.l_shipdate", "l1.l_commitdate", "l1.l_receiptdate", "l1.l_shipinstruct", "l1.l_shipmode", "l1.l_comment"], "Index Cond": "(l1.l_suppkey = supplier.s_suppkey)", "Filter": "(l1.l_receiptdate > l1.l_commitdate)"}]}]}]}, {"Node Type": "Index Scan", "Parent Relationship": "Inner", "Parallel Aware": false, "Async Capable": false, "Scan Direction": "Forward", "Index Name": "l_ok", "Relation Name": "lineitem", "Schema": "public", "Alias": "l3", "Startup Cost": 0.43, "Total Cost": 0.61, "Plan Rows": 2, "Plan Width": 8, "Output": ["l3.l_orderkey", "l3.l_partkey", "l3.l_suppkey", "l3.l_linenumber", "l3.l_quantity", "l3.l_extendedprice", "l3.l_discount", "l3.l_tax", "l3.l_returnflag", "l3.l_linestatus", "l3.l_shipdate", "l3.l_commitdate", "l3.l_receiptdate", "l3.l_shipinstruct", "l3.l_shipmode", "l3.l_comment"], "Index Cond": "(l3.l_orderkey = l1.l_orderkey)", "Filter": "((l3.l_receiptdate > l3.l_commitdate) AND (l3.l_suppkey <> l1.l_suppkey))"}]}]}, {"Node Type": "Index Scan", "Parent Relationship": "Inner", "Parallel Aware": false, "Async Capable": false, "Scan Direction": "Forward", "Index Name": "l_ok", "Relation Name": "lineitem", "Schema": "public", "Alias": "l2", "Startup Cost": 0.43, "Total Cost": 0.6, "Plan Rows": 5, "Plan Width": 8, "Output": ["l2.l_orderkey", "l2.l_partkey", "l2.l_suppkey", "l2.l_linenumber", "l2.l_quantity", "l2.l_extendedprice", "l2.l_discount", "l2.l_tax", "l2.l_returnflag", "l2.l_linestatus", "l2.l_shipdate", "l2.l_commitdate", "l2.l_receiptdate", "l2.l_shipinstruct", "l2.l_shipmode", "l2.l_comment"], "Index Cond": "(l2.l_orderkey = l1.l_orderkey)", "Filter": "(l2.l_suppkey <> l1.l_suppkey)"}]}]}]}]}]}} diff --git a/dev9/pg14/tpch/sf_1/explain/15721/22-1.ok b/dev9/pg14/tpch/sf_1/explain/15721/22-1.ok new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/dev9/pg14/tpch/sf_1/explain/15721/22-1.res b/dev9/pg14/tpch/sf_1/explain/15721/22-1.res new file mode 100644 index 0000000000000000000000000000000000000000..ba4c41562d0623f11feaa8254c00205060a97b17 --- /dev/null +++ b/dev9/pg14/tpch/sf_1/explain/15721/22-1.res @@ -0,0 +1 @@ +{"Plan": {"Node Type": "Aggregate", "Strategy": "Sorted", "Partial Mode": "Finalize", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 12857.78, "Total Cost": 12947.15, "Plan Rows": 669, "Plan Width": 72, "Output": ["(SUBSTRING(customer.c_phone FROM 1 FOR 2))", "count(*)", "sum(customer.c_acctbal)"], "Group Key": ["(SUBSTRING(customer.c_phone FROM 1 FOR 2))"], "Plans": [{"Node Type": "Aggregate", "Strategy": "Plain", "Partial Mode": "Finalize", "Parent Relationship": "InitPlan", "Subplan Name": "InitPlan 1 (returns $1)", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 6230.82, "Total Cost": 6230.83, "Plan Rows": 1, "Plan Width": 32, "Output": ["avg(customer_1.c_acctbal)"], "Plans": [{"Node Type": "Gather", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 6230.6, "Total Cost": 6230.81, "Plan Rows": 2, "Plan Width": 32, "Output": ["(PARTIAL avg(customer_1.c_acctbal))"], "Workers Planned": 2, "Single Copy": false, "Plans": [{"Node Type": "Aggregate", "Strategy": "Plain", "Partial Mode": "Partial", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 5230.6, "Total Cost": 5230.61, "Plan Rows": 1, "Plan Width": 32, "Output": ["PARTIAL avg(customer_1.c_acctbal)"], "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": true, "Async Capable": false, "Relation Name": "customer", "Schema": "public", "Alias": "customer_1", "Startup Cost": 0.0, "Total Cost": 5225.62, "Plan Rows": 1988, "Plan Width": 6, "Output": ["customer_1.c_custkey", "customer_1.c_name", "customer_1.c_address", "customer_1.c_nationkey", "customer_1.c_phone", "customer_1.c_acctbal", "customer_1.c_mktsegment", "customer_1.c_comment"], "Filter": "((customer_1.c_acctbal > 0.00) AND (SUBSTRING(customer_1.c_phone FROM 1 FOR 2) = ANY ('{17,20,25,31,30,11,33}'::text[])))"}]}]}]}, {"Node Type": "Gather Merge", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 6626.95, "Total Cost": 6699.03, "Plan Rows": 558, "Plan Width": 72, "Output": ["(SUBSTRING(customer.c_phone FROM 1 FOR 2))", "(PARTIAL count(*))", "(PARTIAL sum(customer.c_acctbal))"], "Workers Planned": 2, "Params Evaluated": ["$1"], "Plans": [{"Node Type": "Aggregate", "Strategy": "Sorted", "Partial Mode": "Partial", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 5626.93, "Total Cost": 5634.6, "Plan Rows": 279, "Plan Width": 72, "Output": ["(SUBSTRING(customer.c_phone FROM 1 FOR 2))", "PARTIAL count(*)", "PARTIAL sum(customer.c_acctbal)"], "Group Key": ["(SUBSTRING(customer.c_phone FROM 1 FOR 2))"], "Plans": [{"Node Type": "Sort", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 5626.93, "Total Cost": 5627.63, "Plan Rows": 279, "Plan Width": 38, "Output": ["(SUBSTRING(customer.c_phone FROM 1 FOR 2))", "customer.c_acctbal"], "Sort Key": ["(SUBSTRING(customer.c_phone FROM 1 FOR 2))"], "Plans": [{"Node Type": "Nested Loop", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Join Type": "Anti", "Startup Cost": 0.43, "Total Cost": 5615.6, "Plan Rows": 279, "Plan Width": 38, "Output": ["SUBSTRING(customer.c_phone FROM 1 FOR 2)", "customer.c_acctbal"], "Inner Unique": false, "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": true, "Async Capable": false, "Relation Name": "customer", "Schema": "public", "Alias": "customer", "Startup Cost": 0.0, "Total Cost": 5225.62, "Plan Rows": 729, "Plan Width": 26, "Output": ["customer.c_custkey", "customer.c_name", "customer.c_address", "customer.c_nationkey", "customer.c_phone", "customer.c_acctbal", "customer.c_mktsegment", "customer.c_comment"], "Filter": "((customer.c_acctbal > $1) AND (SUBSTRING(customer.c_phone FROM 1 FOR 2) = ANY ('{17,20,25,31,30,11,33}'::text[])))"}, {"Node Type": "Index Only Scan", "Parent Relationship": "Inner", "Parallel Aware": false, "Async Capable": false, "Scan Direction": "Forward", "Index Name": "o_ck", "Relation Name": "orders", "Schema": "public", "Alias": "orders", "Startup Cost": 0.43, "Total Cost": 1.41, "Plan Rows": 16, "Plan Width": 4, "Output": ["orders.o_custkey"], "Index Cond": "(orders.o_custkey = customer.c_custkey)"}]}]}]}]}]}} diff --git a/dev9/pg14/tpch/sf_1/explain/15721/3-1.ok b/dev9/pg14/tpch/sf_1/explain/15721/3-1.ok new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/dev9/pg14/tpch/sf_1/explain/15721/3-1.res b/dev9/pg14/tpch/sf_1/explain/15721/3-1.res new file mode 100644 index 0000000000000000000000000000000000000000..381e7f7ed1e36db7413d9c49c3c9e22878700644 --- /dev/null +++ b/dev9/pg14/tpch/sf_1/explain/15721/3-1.res @@ -0,0 +1 @@ +{"Plan": {"Node Type": "Limit", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 132921.84, "Total Cost": 132921.87, "Plan Rows": 10, "Plan Width": 44, "Output": ["lineitem.l_orderkey", "(sum((lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount))))", "orders.o_orderdate", "orders.o_shippriority"], "Plans": [{"Node Type": "Sort", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 132921.84, "Total Cost": 133706.92, "Plan Rows": 314030, "Plan Width": 44, "Output": ["lineitem.l_orderkey", "(sum((lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount))))", "orders.o_orderdate", "orders.o_shippriority"], "Sort Key": ["(sum((lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount)))) DESC", "orders.o_orderdate"], "Plans": [{"Node Type": "Aggregate", "Strategy": "Sorted", "Partial Mode": "Finalize", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 84808.11, "Total Cost": 126135.77, "Plan Rows": 314030, "Plan Width": 44, "Output": ["lineitem.l_orderkey", "sum((lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount)))", "orders.o_orderdate", "orders.o_shippriority"], "Group Key": ["lineitem.l_orderkey", "orders.o_orderdate", "orders.o_shippriority"], "Plans": [{"Node Type": "Gather Merge", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 84808.11, "Total Cost": 118939.24, "Plan Rows": 261692, "Plan Width": 44, "Output": ["lineitem.l_orderkey", "orders.o_orderdate", "orders.o_shippriority", "(PARTIAL sum((lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount))))"], "Workers Planned": 2, "Plans": [{"Node Type": "Aggregate", "Strategy": "Sorted", "Partial Mode": "Partial", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 83808.09, "Total Cost": 87733.47, "Plan Rows": 130846, "Plan Width": 44, "Output": ["lineitem.l_orderkey", "orders.o_orderdate", "orders.o_shippriority", "PARTIAL sum((lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount)))"], "Group Key": ["lineitem.l_orderkey", "orders.o_orderdate", "orders.o_shippriority"], "Plans": [{"Node Type": "Sort", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 83808.09, "Total Cost": 84135.2, "Plan Rows": 130846, "Plan Width": 24, "Output": ["lineitem.l_orderkey", "orders.o_orderdate", "orders.o_shippriority", "lineitem.l_extendedprice", "lineitem.l_discount"], "Sort Key": ["lineitem.l_orderkey", "orders.o_orderdate", "orders.o_shippriority"], "Plans": [{"Node Type": "Nested Loop", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Join Type": "Inner", "Startup Cost": 0.86, "Total Cost": 72687.81, "Plan Rows": 130846, "Plan Width": 24, "Output": ["lineitem.l_orderkey", "orders.o_orderdate", "orders.o_shippriority", "lineitem.l_extendedprice", "lineitem.l_discount"], "Inner Unique": false, "Plans": [{"Node Type": "Nested Loop", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Join Type": "Inner", "Startup Cost": 0.43, "Total Cost": 27366.54, "Plan Rows": 60709, "Plan Width": 12, "Output": ["orders.o_orderdate", "orders.o_shippriority", "orders.o_orderkey"], "Inner Unique": false, "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": true, "Async Capable": false, "Relation Name": "customer", "Schema": "public", "Alias": "customer", "Startup Cost": 0.0, "Total Cost": 4366.25, "Plan Rows": 12487, "Plan Width": 4, "Output": ["customer.c_custkey", "customer.c_name", "customer.c_address", "customer.c_nationkey", "customer.c_phone", "customer.c_acctbal", "customer.c_mktsegment", "customer.c_comment"], "Filter": "(customer.c_mktsegment = 'FURNITURE'::bpchar)"}, {"Node Type": "Index Scan", "Parent Relationship": "Inner", "Parallel Aware": false, "Async Capable": false, "Scan Direction": "Forward", "Index Name": "o_ck", "Relation Name": "orders", "Schema": "public", "Alias": "orders", "Startup Cost": 0.43, "Total Cost": 1.76, "Plan Rows": 8, "Plan Width": 16, "Output": ["orders.o_orderkey", "orders.o_custkey", "orders.o_orderstatus", "orders.o_totalprice", "orders.o_orderdate", "orders.o_orderpriority", "orders.o_clerk", "orders.o_shippriority", "orders.o_comment"], "Index Cond": "(orders.o_custkey = customer.c_custkey)", "Filter": "(orders.o_orderdate < '1995-03-20'::date)"}]}, {"Node Type": "Index Scan", "Parent Relationship": "Inner", "Parallel Aware": false, "Async Capable": false, "Scan Direction": "Forward", "Index Name": "l_ok", "Relation Name": "lineitem", "Schema": "public", "Alias": "lineitem", "Startup Cost": 0.43, "Total Cost": 0.72, "Plan Rows": 3, "Plan Width": 16, "Output": ["lineitem.l_orderkey", "lineitem.l_partkey", "lineitem.l_suppkey", "lineitem.l_linenumber", "lineitem.l_quantity", "lineitem.l_extendedprice", "lineitem.l_discount", "lineitem.l_tax", "lineitem.l_returnflag", "lineitem.l_linestatus", "lineitem.l_shipdate", "lineitem.l_commitdate", "lineitem.l_receiptdate", "lineitem.l_shipinstruct", "lineitem.l_shipmode", "lineitem.l_comment"], "Index Cond": "(lineitem.l_orderkey = orders.o_orderkey)", "Filter": "(lineitem.l_shipdate > '1995-03-20'::date)"}]}]}]}]}]}]}]}} diff --git a/dev9/pg14/tpch/sf_1/explain/15721/4-1.ok b/dev9/pg14/tpch/sf_1/explain/15721/4-1.ok new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/dev9/pg14/tpch/sf_1/explain/15721/4-1.res b/dev9/pg14/tpch/sf_1/explain/15721/4-1.res new file mode 100644 index 0000000000000000000000000000000000000000..7f1c2def5052b87265afa5921794dfd81ea3b27f --- /dev/null +++ b/dev9/pg14/tpch/sf_1/explain/15721/4-1.res @@ -0,0 +1 @@ +{"Plan": {"Node Type": "Aggregate", "Strategy": "Sorted", "Partial Mode": "Finalize", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 51077.28, "Total Cost": 51079.18, "Plan Rows": 5, "Plan Width": 24, "Output": ["orders.o_orderpriority", "count(*)"], "Group Key": ["orders.o_orderpriority"], "Plans": [{"Node Type": "Gather Merge", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 51077.28, "Total Cost": 51079.06, "Plan Rows": 15, "Plan Width": 24, "Output": ["orders.o_orderpriority", "(PARTIAL count(*))"], "Workers Planned": 3, "Plans": [{"Node Type": "Sort", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 50077.24, "Total Cost": 50077.25, "Plan Rows": 5, "Plan Width": 24, "Output": ["orders.o_orderpriority", "(PARTIAL count(*))"], "Sort Key": ["orders.o_orderpriority"], "Plans": [{"Node Type": "Aggregate", "Strategy": "Hashed", "Partial Mode": "Partial", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 50077.13, "Total Cost": 50077.18, "Plan Rows": 5, "Plan Width": 24, "Output": ["orders.o_orderpriority", "PARTIAL count(*)"], "Group Key": ["orders.o_orderpriority"], "Planned Partitions": 0, "Plans": [{"Node Type": "Nested Loop", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Join Type": "Semi", "Startup Cost": 638.66, "Total Cost": 50004.14, "Plan Rows": 14599, "Plan Width": 16, "Output": ["orders.o_orderpriority"], "Inner Unique": false, "Plans": [{"Node Type": "Bitmap Heap Scan", "Parent Relationship": "Outer", "Parallel Aware": true, "Async Capable": false, "Relation Name": "orders", "Schema": "public", "Alias": "orders", "Startup Cost": 638.23, "Total Cost": 27007.83, "Plan Rows": 18307, "Plan Width": 20, "Output": ["orders.o_orderkey", "orders.o_custkey", "orders.o_orderstatus", "orders.o_totalprice", "orders.o_orderdate", "orders.o_orderpriority", "orders.o_clerk", "orders.o_shippriority", "orders.o_comment"], "Recheck Cond": "((orders.o_orderdate >= '1996-01-01'::date) AND (orders.o_orderdate < '1996-04-01 00:00:00'::timestamp without time zone))", "Plans": [{"Node Type": "Bitmap Index Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Index Name": "o_od", "Startup Cost": 0.0, "Total Cost": 624.04, "Plan Rows": 56751, "Plan Width": 0, "Index Cond": "((orders.o_orderdate >= '1996-01-01'::date) AND (orders.o_orderdate < '1996-04-01 00:00:00'::timestamp without time zone))"}]}, {"Node Type": "Index Scan", "Parent Relationship": "Inner", "Parallel Aware": false, "Async Capable": false, "Scan Direction": "Forward", "Index Name": "l_ok", "Relation Name": "lineitem", "Schema": "public", "Alias": "lineitem", "Startup Cost": 0.43, "Total Cost": 1.6, "Plan Rows": 2, "Plan Width": 4, "Output": ["lineitem.l_orderkey", "lineitem.l_partkey", "lineitem.l_suppkey", "lineitem.l_linenumber", "lineitem.l_quantity", "lineitem.l_extendedprice", "lineitem.l_discount", "lineitem.l_tax", "lineitem.l_returnflag", "lineitem.l_linestatus", "lineitem.l_shipdate", "lineitem.l_commitdate", "lineitem.l_receiptdate", "lineitem.l_shipinstruct", "lineitem.l_shipmode", "lineitem.l_comment"], "Index Cond": "(lineitem.l_orderkey = orders.o_orderkey)", "Filter": "(lineitem.l_commitdate < lineitem.l_receiptdate)"}]}]}]}]}]}} diff --git a/dev9/pg14/tpch/sf_1/explain/15721/5-1.ok b/dev9/pg14/tpch/sf_1/explain/15721/5-1.ok new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/dev9/pg14/tpch/sf_1/explain/15721/5-1.res b/dev9/pg14/tpch/sf_1/explain/15721/5-1.res new file mode 100644 index 0000000000000000000000000000000000000000..85e26a9b06be05f78e82000933abb07129f628cd --- /dev/null +++ b/dev9/pg14/tpch/sf_1/explain/15721/5-1.res @@ -0,0 +1 @@ +{"Plan": {"Node Type": "Sort", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 41390.12, "Total Cost": 41390.18, "Plan Rows": 25, "Plan Width": 58, "Output": ["nation.n_name", "(sum((lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount))))"], "Sort Key": ["(sum((lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount)))) DESC"], "Plans": [{"Node Type": "Aggregate", "Strategy": "Sorted", "Partial Mode": "Finalize", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 41344.48, "Total Cost": 41389.54, "Plan Rows": 25, "Plan Width": 58, "Output": ["nation.n_name", "sum((lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount)))"], "Group Key": ["nation.n_name"], "Plans": [{"Node Type": "Gather Merge", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 41344.48, "Total Cost": 41388.85, "Plan Rows": 50, "Plan Width": 58, "Output": ["nation.n_name", "(PARTIAL sum((lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount))))"], "Workers Planned": 2, "Plans": [{"Node Type": "Aggregate", "Strategy": "Sorted", "Partial Mode": "Partial", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 40344.45, "Total Cost": 40383.05, "Plan Rows": 25, "Plan Width": 58, "Output": ["nation.n_name", "PARTIAL sum((lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount)))"], "Group Key": ["nation.n_name"], "Plans": [{"Node Type": "Sort", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 40344.45, "Total Cost": 40352.11, "Plan Rows": 3063, "Plan Width": 38, "Output": ["nation.n_name", "lineitem.l_extendedprice", "lineitem.l_discount"], "Sort Key": ["nation.n_name"], "Plans": [{"Node Type": "Hash Join", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Join Type": "Inner", "Startup Cost": 475.37, "Total Cost": 40167.09, "Plan Rows": 3063, "Plan Width": 38, "Output": ["nation.n_name", "lineitem.l_extendedprice", "lineitem.l_discount"], "Inner Unique": true, "Hash Cond": "((lineitem.l_suppkey = supplier.s_suppkey) AND (customer.c_nationkey = supplier.s_nationkey))", "Plans": [{"Node Type": "Nested Loop", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Join Type": "Inner", "Startup Cost": 3.37, "Total Cost": 39293.07, "Plan Rows": 76576, "Plan Width": 50, "Output": ["customer.c_nationkey", "lineitem.l_extendedprice", "lineitem.l_discount", "lineitem.l_suppkey", "nation.n_name", "nation.n_nationkey"], "Inner Unique": false, "Plans": [{"Node Type": "Nested Loop", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Join Type": "Inner", "Startup Cost": 2.94, "Total Cost": 17199.03, "Plan Rows": 19140, "Plan Width": 38, "Output": ["customer.c_nationkey", "orders.o_orderkey", "nation.n_name", "nation.n_nationkey"], "Inner Unique": false, "Plans": [{"Node Type": "Hash Join", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Join Type": "Inner", "Startup Cost": 2.51, "Total Cost": 4571.88, "Plan Rows": 12500, "Plan Width": 38, "Output": ["customer.c_custkey", "customer.c_nationkey", "nation.n_name", "nation.n_nationkey"], "Inner Unique": false, "Hash Cond": "(customer.c_nationkey = nation.n_nationkey)", "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": true, "Async Capable": false, "Relation Name": "customer", "Schema": "public", "Alias": "customer", "Startup Cost": 0.0, "Total Cost": 4210.0, "Plan Rows": 62500, "Plan Width": 8, "Output": ["customer.c_custkey", "customer.c_name", "customer.c_address", "customer.c_nationkey", "customer.c_phone", "customer.c_acctbal", "customer.c_mktsegment", "customer.c_comment"]}, {"Node Type": "Hash", "Parent Relationship": "Inner", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 2.45, "Total Cost": 2.45, "Plan Rows": 5, "Plan Width": 30, "Output": ["nation.n_name", "nation.n_nationkey"], "Plans": [{"Node Type": "Hash Join", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Join Type": "Inner", "Startup Cost": 1.07, "Total Cost": 2.45, "Plan Rows": 5, "Plan Width": 30, "Output": ["nation.n_name", "nation.n_nationkey"], "Inner Unique": true, "Hash Cond": "(nation.n_regionkey = region.r_regionkey)", "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Relation Name": "nation", "Schema": "public", "Alias": "nation", "Startup Cost": 0.0, "Total Cost": 1.25, "Plan Rows": 25, "Plan Width": 34, "Output": ["nation.n_nationkey", "nation.n_name", "nation.n_regionkey", "nation.n_comment"]}, {"Node Type": "Hash", "Parent Relationship": "Inner", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 1.06, "Total Cost": 1.06, "Plan Rows": 1, "Plan Width": 4, "Output": ["region.r_regionkey"], "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Relation Name": "region", "Schema": "public", "Alias": "region", "Startup Cost": 0.0, "Total Cost": 1.06, "Plan Rows": 1, "Plan Width": 4, "Output": ["region.r_regionkey"], "Filter": "(region.r_name = 'AMERICA'::bpchar)"}]}]}]}]}, {"Node Type": "Index Scan", "Parent Relationship": "Inner", "Parallel Aware": false, "Async Capable": false, "Scan Direction": "Forward", "Index Name": "o_ck", "Relation Name": "orders", "Schema": "public", "Alias": "orders", "Startup Cost": 0.43, "Total Cost": 0.99, "Plan Rows": 2, "Plan Width": 8, "Output": ["orders.o_orderkey", "orders.o_custkey", "orders.o_orderstatus", "orders.o_totalprice", "orders.o_orderdate", "orders.o_orderpriority", "orders.o_clerk", "orders.o_shippriority", "orders.o_comment"], "Index Cond": "(orders.o_custkey = customer.c_custkey)", "Filter": "((orders.o_orderdate >= '1995-01-01'::date) AND (orders.o_orderdate < '1996-01-01 00:00:00'::timestamp without time zone))"}]}, {"Node Type": "Index Scan", "Parent Relationship": "Inner", "Parallel Aware": false, "Async Capable": false, "Scan Direction": "Forward", "Index Name": "l_ok", "Relation Name": "lineitem", "Schema": "public", "Alias": "lineitem", "Startup Cost": 0.43, "Total Cost": 1.1, "Plan Rows": 5, "Plan Width": 20, "Output": ["lineitem.l_orderkey", "lineitem.l_partkey", "lineitem.l_suppkey", "lineitem.l_linenumber", "lineitem.l_quantity", "lineitem.l_extendedprice", "lineitem.l_discount", "lineitem.l_tax", "lineitem.l_returnflag", "lineitem.l_linestatus", "lineitem.l_shipdate", "lineitem.l_commitdate", "lineitem.l_receiptdate", "lineitem.l_shipinstruct", "lineitem.l_shipmode", "lineitem.l_comment"], "Index Cond": "(lineitem.l_orderkey = orders.o_orderkey)"}]}, {"Node Type": "Hash", "Parent Relationship": "Inner", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 322.0, "Total Cost": 322.0, "Plan Rows": 10000, "Plan Width": 8, "Output": ["supplier.s_suppkey", "supplier.s_nationkey"], "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Relation Name": "supplier", "Schema": "public", "Alias": "supplier", "Startup Cost": 0.0, "Total Cost": 322.0, "Plan Rows": 10000, "Plan Width": 8, "Output": ["supplier.s_suppkey", "supplier.s_nationkey"]}]}]}]}]}]}]}]}} diff --git a/dev9/pg14/tpch/sf_1/explain/15721/6-1.ok b/dev9/pg14/tpch/sf_1/explain/15721/6-1.ok new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/dev9/pg14/tpch/sf_1/explain/15721/6-1.res b/dev9/pg14/tpch/sf_1/explain/15721/6-1.res new file mode 100644 index 0000000000000000000000000000000000000000..2e461a351a76547c54846427d70183543c643f5e --- /dev/null +++ b/dev9/pg14/tpch/sf_1/explain/15721/6-1.res @@ -0,0 +1 @@ +{"Plan": {"Node Type": "Aggregate", "Strategy": "Plain", "Partial Mode": "Finalize", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 127961.13, "Total Cost": 127961.14, "Plan Rows": 1, "Plan Width": 32, "Output": ["sum((l_extendedprice * l_discount))"], "Plans": [{"Node Type": "Gather", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 127960.59, "Total Cost": 127961.1, "Plan Rows": 5, "Plan Width": 32, "Output": ["(PARTIAL sum((l_extendedprice * l_discount)))"], "Workers Planned": 5, "Single Copy": false, "Plans": [{"Node Type": "Aggregate", "Strategy": "Plain", "Partial Mode": "Partial", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 126960.59, "Total Cost": 126960.6, "Plan Rows": 1, "Plan Width": 32, "Output": ["PARTIAL sum((l_extendedprice * l_discount))"], "Plans": [{"Node Type": "Bitmap Heap Scan", "Parent Relationship": "Outer", "Parallel Aware": true, "Async Capable": false, "Relation Name": "lineitem", "Schema": "public", "Alias": "lineitem", "Startup Cost": 10174.43, "Total Cost": 126844.16, "Plan Rows": 23286, "Plan Width": 12, "Output": ["l_orderkey", "l_partkey", "l_suppkey", "l_linenumber", "l_quantity", "l_extendedprice", "l_discount", "l_tax", "l_returnflag", "l_linestatus", "l_shipdate", "l_commitdate", "l_receiptdate", "l_shipinstruct", "l_shipmode", "l_comment"], "Recheck Cond": "((lineitem.l_shipdate >= '1995-01-01'::date) AND (lineitem.l_shipdate < '1996-01-01 00:00:00'::timestamp without time zone))", "Filter": "((lineitem.l_discount >= 0.04) AND (lineitem.l_discount <= 0.06) AND (lineitem.l_quantity < '24'::numeric))", "Plans": [{"Node Type": "Bitmap Index Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Index Name": "l_sd", "Startup Cost": 0.0, "Total Cost": 10145.32, "Plan Rows": 925939, "Plan Width": 0, "Index Cond": "((lineitem.l_shipdate >= '1995-01-01'::date) AND (lineitem.l_shipdate < '1996-01-01 00:00:00'::timestamp without time zone))"}]}]}]}]}} diff --git a/dev9/pg14/tpch/sf_1/explain/15721/7-1.ok b/dev9/pg14/tpch/sf_1/explain/15721/7-1.ok new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/dev9/pg14/tpch/sf_1/explain/15721/7-1.res b/dev9/pg14/tpch/sf_1/explain/15721/7-1.res new file mode 100644 index 0000000000000000000000000000000000000000..29865cd8312e3c324e8d5a438f899395cf695e50 --- /dev/null +++ b/dev9/pg14/tpch/sf_1/explain/15721/7-1.res @@ -0,0 +1 @@ +{"Plan": {"Node Type": "Aggregate", "Strategy": "Sorted", "Partial Mode": "Finalize", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 36239.26, "Total Cost": 37064.4, "Plan Rows": 6105, "Plan Width": 116, "Output": ["n1.n_name", "n2.n_name", "(EXTRACT(year FROM lineitem.l_shipdate))", "sum((lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount)))"], "Group Key": ["n1.n_name", "n2.n_name", "(EXTRACT(year FROM lineitem.l_shipdate))"], "Plans": [{"Node Type": "Gather Merge", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 36239.26, "Total Cost": 36909.23, "Plan Rows": 5088, "Plan Width": 116, "Output": ["n1.n_name", "n2.n_name", "(EXTRACT(year FROM lineitem.l_shipdate))", "(PARTIAL sum((lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount))))"], "Workers Planned": 2, "Plans": [{"Node Type": "Aggregate", "Strategy": "Sorted", "Partial Mode": "Partial", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 35239.24, "Total Cost": 35321.92, "Plan Rows": 2544, "Plan Width": 116, "Output": ["n1.n_name", "n2.n_name", "(EXTRACT(year FROM lineitem.l_shipdate))", "PARTIAL sum((lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount)))"], "Group Key": ["n1.n_name", "n2.n_name", "(EXTRACT(year FROM lineitem.l_shipdate))"], "Plans": [{"Node Type": "Sort", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 35239.24, "Total Cost": 35245.6, "Plan Rows": 2544, "Plan Width": 96, "Output": ["n1.n_name", "n2.n_name", "(EXTRACT(year FROM lineitem.l_shipdate))", "lineitem.l_extendedprice", "lineitem.l_discount"], "Sort Key": ["n1.n_name", "n2.n_name", "(EXTRACT(year FROM lineitem.l_shipdate))"], "Plans": [{"Node Type": "Hash Join", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Join Type": "Inner", "Startup Cost": 25051.38, "Total Cost": 35095.34, "Plan Rows": 2544, "Plan Width": 96, "Output": ["n1.n_name", "n2.n_name", "EXTRACT(year FROM lineitem.l_shipdate)", "lineitem.l_extendedprice", "lineitem.l_discount"], "Inner Unique": false, "Hash Cond": "(orders.o_orderkey = lineitem.l_orderkey)", "Join Filter": "(((n1.n_name = 'IRAN'::bpchar) AND (n2.n_name = 'ETHIOPIA'::bpchar)) OR ((n1.n_name = 'ETHIOPIA'::bpchar) AND (n2.n_name = 'IRAN'::bpchar)))", "Plans": [{"Node Type": "Nested Loop", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Join Type": "Inner", "Startup Cost": 1.83, "Total Cost": 9754.13, "Plan Rows": 50000, "Plan Width": 30, "Output": ["orders.o_orderkey", "n2.n_name"], "Inner Unique": false, "Plans": [{"Node Type": "Hash Join", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Join Type": "Inner", "Startup Cost": 1.4, "Total Cost": 4403.27, "Plan Rows": 5000, "Plan Width": 30, "Output": ["customer.c_custkey", "n2.n_name"], "Inner Unique": true, "Hash Cond": "(customer.c_nationkey = n2.n_nationkey)", "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": true, "Async Capable": false, "Relation Name": "customer", "Schema": "public", "Alias": "customer", "Startup Cost": 0.0, "Total Cost": 4210.0, "Plan Rows": 62500, "Plan Width": 8, "Output": ["customer.c_custkey", "customer.c_name", "customer.c_address", "customer.c_nationkey", "customer.c_phone", "customer.c_acctbal", "customer.c_mktsegment", "customer.c_comment"]}, {"Node Type": "Hash", "Parent Relationship": "Inner", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 1.38, "Total Cost": 1.38, "Plan Rows": 2, "Plan Width": 30, "Output": ["n2.n_name", "n2.n_nationkey"], "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Relation Name": "nation", "Schema": "public", "Alias": "n2", "Startup Cost": 0.0, "Total Cost": 1.38, "Plan Rows": 2, "Plan Width": 30, "Output": ["n2.n_name", "n2.n_nationkey"], "Filter": "((n2.n_name = 'ETHIOPIA'::bpchar) OR (n2.n_name = 'IRAN'::bpchar))"}]}]}, {"Node Type": "Index Scan", "Parent Relationship": "Inner", "Parallel Aware": false, "Async Capable": false, "Scan Direction": "Forward", "Index Name": "o_ck", "Relation Name": "orders", "Schema": "public", "Alias": "orders", "Startup Cost": 0.43, "Total Cost": 0.91, "Plan Rows": 16, "Plan Width": 8, "Output": ["orders.o_orderkey", "orders.o_custkey", "orders.o_orderstatus", "orders.o_totalprice", "orders.o_orderdate", "orders.o_orderpriority", "orders.o_clerk", "orders.o_shippriority", "orders.o_comment"], "Index Cond": "(orders.o_custkey = customer.c_custkey)"}]}, {"Node Type": "Hash", "Parent Relationship": "Inner", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 23215.91, "Total Cost": 23215.91, "Plan Rows": 146691, "Plan Width": 46, "Output": ["lineitem.l_shipdate", "lineitem.l_extendedprice", "lineitem.l_discount", "lineitem.l_orderkey", "n1.n_name"], "Plans": [{"Node Type": "Nested Loop", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Join Type": "Inner", "Startup Cost": 4.92, "Total Cost": 23215.91, "Plan Rows": 146691, "Plan Width": 46, "Output": ["lineitem.l_shipdate", "lineitem.l_extendedprice", "lineitem.l_discount", "lineitem.l_orderkey", "n1.n_name"], "Inner Unique": false, "Plans": [{"Node Type": "Nested Loop", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Join Type": "Inner", "Startup Cost": 4.48, "Total Cost": 256.85, "Plan Rows": 800, "Plan Width": 30, "Output": ["supplier.s_suppkey", "n1.n_name"], "Inner Unique": false, "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Relation Name": "nation", "Schema": "public", "Alias": "n1", "Startup Cost": 0.0, "Total Cost": 1.38, "Plan Rows": 2, "Plan Width": 30, "Output": ["n1.n_nationkey", "n1.n_name", "n1.n_regionkey", "n1.n_comment"], "Filter": "((n1.n_name = 'IRAN'::bpchar) OR (n1.n_name = 'ETHIOPIA'::bpchar))"}, {"Node Type": "Bitmap Heap Scan", "Parent Relationship": "Inner", "Parallel Aware": false, "Async Capable": false, "Relation Name": "supplier", "Schema": "public", "Alias": "supplier", "Startup Cost": 4.48, "Total Cost": 123.74, "Plan Rows": 400, "Plan Width": 8, "Output": ["supplier.s_suppkey", "supplier.s_name", "supplier.s_address", "supplier.s_nationkey", "supplier.s_phone", "supplier.s_acctbal", "supplier.s_comment"], "Recheck Cond": "(supplier.s_nationkey = n1.n_nationkey)", "Plans": [{"Node Type": "Bitmap Index Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Index Name": "s_nk", "Startup Cost": 0.0, "Total Cost": 4.38, "Plan Rows": 400, "Plan Width": 0, "Index Cond": "(supplier.s_nationkey = n1.n_nationkey)"}]}]}, {"Node Type": "Index Scan", "Parent Relationship": "Inner", "Parallel Aware": false, "Async Capable": false, "Scan Direction": "Forward", "Index Name": "l_sk", "Relation Name": "lineitem", "Schema": "public", "Alias": "lineitem", "Startup Cost": 0.43, "Total Cost": 26.87, "Plan Rows": 183, "Plan Width": 24, "Output": ["lineitem.l_orderkey", "lineitem.l_partkey", "lineitem.l_suppkey", "lineitem.l_linenumber", "lineitem.l_quantity", "lineitem.l_extendedprice", "lineitem.l_discount", "lineitem.l_tax", "lineitem.l_returnflag", "lineitem.l_linestatus", "lineitem.l_shipdate", "lineitem.l_commitdate", "lineitem.l_receiptdate", "lineitem.l_shipinstruct", "lineitem.l_shipmode", "lineitem.l_comment"], "Index Cond": "(lineitem.l_suppkey = supplier.s_suppkey)", "Filter": "((lineitem.l_shipdate >= '1995-01-01'::date) AND (lineitem.l_shipdate <= '1996-12-31'::date))"}]}]}]}]}]}]}]}} diff --git a/dev9/pg14/tpch/sf_1/explain/15721/8-1.ok b/dev9/pg14/tpch/sf_1/explain/15721/8-1.ok new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/dev9/pg14/tpch/sf_1/explain/15721/8-1.res b/dev9/pg14/tpch/sf_1/explain/15721/8-1.res new file mode 100644 index 0000000000000000000000000000000000000000..99ffe23b5e079850e5fa6850478d1f574e0d7359 --- /dev/null +++ b/dev9/pg14/tpch/sf_1/explain/15721/8-1.res @@ -0,0 +1 @@ +{"Plan": {"Node Type": "Aggregate", "Strategy": "Sorted", "Partial Mode": "Finalize", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 33797.44, "Total Cost": 34152.06, "Plan Rows": 2406, "Plan Width": 64, "Output": ["(EXTRACT(year FROM orders.o_orderdate))", "(sum(CASE WHEN (n2.n_name = 'ETHIOPIA'::bpchar) THEN (lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount)) ELSE '0'::numeric END) / sum((lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount))))"], "Group Key": ["(EXTRACT(year FROM orders.o_orderdate))"], "Plans": [{"Node Type": "Gather Merge", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 33797.44, "Total Cost": 34078.04, "Plan Rows": 2072, "Plan Width": 96, "Output": ["(EXTRACT(year FROM orders.o_orderdate))", "(PARTIAL sum(CASE WHEN (n2.n_name = 'ETHIOPIA'::bpchar) THEN (lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount)) ELSE '0'::numeric END))", "(PARTIAL sum((lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount))))"], "Workers Planned": 2, "Plans": [{"Node Type": "Aggregate", "Strategy": "Sorted", "Partial Mode": "Partial", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 32797.41, "Total Cost": 32838.85, "Plan Rows": 1036, "Plan Width": 96, "Output": ["(EXTRACT(year FROM orders.o_orderdate))", "PARTIAL sum(CASE WHEN (n2.n_name = 'ETHIOPIA'::bpchar) THEN (lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount)) ELSE '0'::numeric END)", "PARTIAL sum((lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount)))"], "Group Key": ["(EXTRACT(year FROM orders.o_orderdate))"], "Plans": [{"Node Type": "Sort", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 32797.41, "Total Cost": 32800.0, "Plan Rows": 1036, "Plan Width": 70, "Output": ["(EXTRACT(year FROM orders.o_orderdate))", "n2.n_name", "lineitem.l_extendedprice", "lineitem.l_discount"], "Sort Key": ["(EXTRACT(year FROM orders.o_orderdate))"], "Plans": [{"Node Type": "Hash Join", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Join Type": "Inner", "Startup Cost": 2018.83, "Total Cost": 32745.52, "Plan Rows": 1036, "Plan Width": 70, "Output": ["EXTRACT(year FROM orders.o_orderdate)", "n2.n_name", "lineitem.l_extendedprice", "lineitem.l_discount"], "Inner Unique": true, "Hash Cond": "(supplier.s_nationkey = n2.n_nationkey)", "Plans": [{"Node Type": "Nested Loop", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Join Type": "Inner", "Startup Cost": 2017.26, "Total Cost": 32738.2, "Plan Rows": 1036, "Plan Width": 20, "Output": ["lineitem.l_extendedprice", "lineitem.l_discount", "supplier.s_nationkey", "orders.o_orderdate"], "Inner Unique": true, "Plans": [{"Node Type": "Hash Join", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Join Type": "Inner", "Startup Cost": 2016.98, "Total Cost": 32424.76, "Plan Rows": 1036, "Plan Width": 20, "Output": ["lineitem.l_extendedprice", "lineitem.l_discount", "lineitem.l_suppkey", "orders.o_orderdate"], "Inner Unique": false, "Hash Cond": "(orders.o_custkey = customer.c_custkey)", "Plans": [{"Node Type": "Nested Loop", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Join Type": "Inner", "Startup Cost": 0.86, "Total Cost": 30378.86, "Plan Rows": 5179, "Plan Width": 24, "Output": ["lineitem.l_extendedprice", "lineitem.l_discount", "lineitem.l_suppkey", "orders.o_orderdate", "orders.o_custkey"], "Inner Unique": true, "Plans": [{"Node Type": "Nested Loop", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Join Type": "Inner", "Startup Cost": 0.43, "Total Cost": 22650.21, "Plan Rows": 16966, "Plan Width": 20, "Output": ["lineitem.l_extendedprice", "lineitem.l_discount", "lineitem.l_suppkey", "lineitem.l_orderkey"], "Inner Unique": false, "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": true, "Async Capable": false, "Relation Name": "part", "Schema": "public", "Alias": "part", "Startup Cost": 0.0, "Total Cost": 5138.67, "Plan Rows": 565, "Plan Width": 4, "Output": ["part.p_partkey", "part.p_name", "part.p_mfgr", "part.p_brand", "part.p_type", "part.p_size", "part.p_container", "part.p_retailprice", "part.p_comment"], "Filter": "((part.p_type)::text = 'SMALL BRUSHED NICKEL'::text)"}, {"Node Type": "Index Scan", "Parent Relationship": "Inner", "Parallel Aware": false, "Async Capable": false, "Scan Direction": "Forward", "Index Name": "l_pk", "Relation Name": "lineitem", "Schema": "public", "Alias": "lineitem", "Startup Cost": 0.43, "Total Cost": 30.68, "Plan Rows": 31, "Plan Width": 24, "Output": ["lineitem.l_orderkey", "lineitem.l_partkey", "lineitem.l_suppkey", "lineitem.l_linenumber", "lineitem.l_quantity", "lineitem.l_extendedprice", "lineitem.l_discount", "lineitem.l_tax", "lineitem.l_returnflag", "lineitem.l_linestatus", "lineitem.l_shipdate", "lineitem.l_commitdate", "lineitem.l_receiptdate", "lineitem.l_shipinstruct", "lineitem.l_shipmode", "lineitem.l_comment"], "Index Cond": "(lineitem.l_partkey = part.p_partkey)"}]}, {"Node Type": "Index Scan", "Parent Relationship": "Inner", "Parallel Aware": false, "Async Capable": false, "Scan Direction": "Forward", "Index Name": "o_ok", "Relation Name": "orders", "Schema": "public", "Alias": "orders", "Startup Cost": 0.43, "Total Cost": 0.46, "Plan Rows": 1, "Plan Width": 12, "Output": ["orders.o_orderkey", "orders.o_custkey", "orders.o_orderstatus", "orders.o_totalprice", "orders.o_orderdate", "orders.o_orderpriority", "orders.o_clerk", "orders.o_shippriority", "orders.o_comment"], "Index Cond": "(orders.o_orderkey = lineitem.l_orderkey)", "Filter": "((orders.o_orderdate >= '1995-01-01'::date) AND (orders.o_orderdate <= '1996-12-31'::date))"}]}, {"Node Type": "Hash", "Parent Relationship": "Inner", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 1641.12, "Total Cost": 1641.12, "Plan Rows": 30000, "Plan Width": 4, "Output": ["customer.c_custkey"], "Plans": [{"Node Type": "Nested Loop", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Join Type": "Inner", "Startup Cost": 0.43, "Total Cost": 1641.12, "Plan Rows": 30000, "Plan Width": 4, "Output": ["customer.c_custkey"], "Inner Unique": false, "Plans": [{"Node Type": "Nested Loop", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Join Type": "Inner", "Startup Cost": 0.14, "Total Cost": 5.25, "Plan Rows": 5, "Plan Width": 4, "Output": ["n1.n_nationkey"], "Inner Unique": true, "Join Filter": "(n1.n_regionkey = region.r_regionkey)", "Plans": [{"Node Type": "Index Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Scan Direction": "Forward", "Index Name": "n_nk", "Relation Name": "nation", "Schema": "public", "Alias": "n1", "Startup Cost": 0.14, "Total Cost": 3.81, "Plan Rows": 25, "Plan Width": 8, "Output": ["n1.n_nationkey", "n1.n_name", "n1.n_regionkey", "n1.n_comment"]}, {"Node Type": "Materialize", "Parent Relationship": "Inner", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 0.0, "Total Cost": 1.07, "Plan Rows": 1, "Plan Width": 4, "Output": ["region.r_regionkey"], "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Relation Name": "region", "Schema": "public", "Alias": "region", "Startup Cost": 0.0, "Total Cost": 1.06, "Plan Rows": 1, "Plan Width": 4, "Output": ["region.r_regionkey"], "Filter": "(region.r_name = 'AFRICA'::bpchar)"}]}]}, {"Node Type": "Index Scan", "Parent Relationship": "Inner", "Parallel Aware": false, "Async Capable": false, "Scan Direction": "Forward", "Index Name": "c_nk", "Relation Name": "customer", "Schema": "public", "Alias": "customer", "Startup Cost": 0.29, "Total Cost": 267.17, "Plan Rows": 6000, "Plan Width": 8, "Output": ["customer.c_custkey", "customer.c_name", "customer.c_address", "customer.c_nationkey", "customer.c_phone", "customer.c_acctbal", "customer.c_mktsegment", "customer.c_comment"], "Index Cond": "(customer.c_nationkey = n1.n_nationkey)"}]}]}]}, {"Node Type": "Index Scan", "Parent Relationship": "Inner", "Parallel Aware": false, "Async Capable": false, "Scan Direction": "Forward", "Index Name": "s_sk", "Relation Name": "supplier", "Schema": "public", "Alias": "supplier", "Startup Cost": 0.29, "Total Cost": 0.3, "Plan Rows": 1, "Plan Width": 8, "Output": ["supplier.s_suppkey", "supplier.s_name", "supplier.s_address", "supplier.s_nationkey", "supplier.s_phone", "supplier.s_acctbal", "supplier.s_comment"], "Index Cond": "(supplier.s_suppkey = lineitem.l_suppkey)"}]}, {"Node Type": "Hash", "Parent Relationship": "Inner", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 1.25, "Total Cost": 1.25, "Plan Rows": 25, "Plan Width": 30, "Output": ["n2.n_name", "n2.n_nationkey"], "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Relation Name": "nation", "Schema": "public", "Alias": "n2", "Startup Cost": 0.0, "Total Cost": 1.25, "Plan Rows": 25, "Plan Width": 30, "Output": ["n2.n_name", "n2.n_nationkey"]}]}]}]}]}]}]}} diff --git a/dev9/pg14/tpch/sf_1/explain/15721/9-1.ok b/dev9/pg14/tpch/sf_1/explain/15721/9-1.ok new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/dev9/pg14/tpch/sf_1/explain/15721/9-1.res b/dev9/pg14/tpch/sf_1/explain/15721/9-1.res new file mode 100644 index 0000000000000000000000000000000000000000..f488599a2c6c423e40887f4eb7681fe2c5196652 --- /dev/null +++ b/dev9/pg14/tpch/sf_1/explain/15721/9-1.res @@ -0,0 +1 @@ +{"Plan": {"Node Type": "Sort", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 85860.73, "Total Cost": 86011.1, "Plan Rows": 60150, "Plan Width": 90, "Output": ["nation.n_name", "(EXTRACT(year FROM orders.o_orderdate))", "(sum(((lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount)) - (partsupp.ps_supplycost * lineitem.l_quantity))))"], "Sort Key": ["nation.n_name", "(EXTRACT(year FROM orders.o_orderdate)) DESC"], "Plans": [{"Node Type": "Aggregate", "Strategy": "Hashed", "Partial Mode": "Finalize", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 80183.69, "Total Cost": 81085.94, "Plan Rows": 60150, "Plan Width": 90, "Output": ["nation.n_name", "(EXTRACT(year FROM orders.o_orderdate))", "sum(((lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount)) - (partsupp.ps_supplycost * lineitem.l_quantity)))"], "Group Key": ["nation.n_name", "(EXTRACT(year FROM orders.o_orderdate))"], "Planned Partitions": 0, "Plans": [{"Node Type": "Gather", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 59431.94, "Total Cost": 78379.19, "Plan Rows": 180450, "Plan Width": 90, "Output": ["nation.n_name", "(EXTRACT(year FROM orders.o_orderdate))", "(PARTIAL sum(((lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount)) - (partsupp.ps_supplycost * lineitem.l_quantity))))"], "Workers Planned": 3, "Single Copy": false, "Plans": [{"Node Type": "Aggregate", "Strategy": "Hashed", "Partial Mode": "Partial", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 58431.94, "Total Cost": 59334.19, "Plan Rows": 60150, "Plan Width": 90, "Output": ["nation.n_name", "(EXTRACT(year FROM orders.o_orderdate))", "PARTIAL sum(((lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount)) - (partsupp.ps_supplycost * lineitem.l_quantity)))"], "Group Key": ["nation.n_name", "EXTRACT(year FROM orders.o_orderdate)"], "Planned Partitions": 0, "Plans": [{"Node Type": "Hash Join", "Parent Relationship": "Outer", "Parallel Aware": true, "Async Capable": false, "Join Type": "Inner", "Startup Cost": 23433.65, "Total Cost": 56802.58, "Plan Rows": 93106, "Plan Width": 81, "Output": ["nation.n_name", "EXTRACT(year FROM orders.o_orderdate)", "lineitem.l_extendedprice", "lineitem.l_discount", "partsupp.ps_supplycost", "lineitem.l_quantity"], "Inner Unique": false, "Hash Cond": "(orders.o_orderkey = lineitem.l_orderkey)", "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": true, "Async Capable": false, "Relation Name": "orders", "Schema": "public", "Alias": "orders", "Startup Cost": 0.0, "Total Cost": 30933.71, "Plan Rows": 483871, "Plan Width": 8, "Output": ["orders.o_orderkey", "orders.o_custkey", "orders.o_orderstatus", "orders.o_totalprice", "orders.o_orderdate", "orders.o_orderpriority", "orders.o_clerk", "orders.o_shippriority", "orders.o_comment"]}, {"Node Type": "Hash", "Parent Relationship": "Inner", "Parallel Aware": true, "Async Capable": false, "Startup Cost": 21930.38, "Total Cost": 21930.38, "Plan Rows": 120262, "Plan Width": 53, "Output": ["lineitem.l_extendedprice", "lineitem.l_discount", "lineitem.l_quantity", "lineitem.l_orderkey", "partsupp.ps_supplycost", "nation.n_name"], "Plans": [{"Node Type": "Nested Loop", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Join Type": "Inner", "Startup Cost": 449.42, "Total Cost": 21930.38, "Plan Rows": 120262, "Plan Width": 53, "Output": ["lineitem.l_extendedprice", "lineitem.l_discount", "lineitem.l_quantity", "lineitem.l_orderkey", "partsupp.ps_supplycost", "nation.n_name"], "Inner Unique": false, "Join Filter": "(supplier.s_suppkey = lineitem.l_suppkey)", "Plans": [{"Node Type": "Hash Join", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Join Type": "Inner", "Startup Cost": 448.99, "Total Cost": 11831.6, "Plan Rows": 16032, "Plan Width": 48, "Output": ["part.p_partkey", "partsupp.ps_supplycost", "partsupp.ps_suppkey", "partsupp.ps_partkey", "supplier.s_suppkey", "nation.n_name"], "Inner Unique": true, "Hash Cond": "(supplier.s_nationkey = nation.n_nationkey)", "Plans": [{"Node Type": "Hash Join", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Join Type": "Inner", "Startup Cost": 447.43, "Total Cost": 11780.83, "Plan Rows": 16032, "Plan Width": 26, "Output": ["part.p_partkey", "partsupp.ps_supplycost", "partsupp.ps_suppkey", "partsupp.ps_partkey", "supplier.s_suppkey", "supplier.s_nationkey"], "Inner Unique": true, "Hash Cond": "(partsupp.ps_suppkey = supplier.s_suppkey)", "Plans": [{"Node Type": "Nested Loop", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Join Type": "Inner", "Startup Cost": 0.42, "Total Cost": 11291.72, "Plan Rows": 16032, "Plan Width": 18, "Output": ["part.p_partkey", "partsupp.ps_supplycost", "partsupp.ps_suppkey", "partsupp.ps_partkey"], "Inner Unique": false, "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": true, "Async Capable": false, "Relation Name": "part", "Schema": "public", "Alias": "part", "Startup Cost": 0.0, "Total Cost": 5138.67, "Plan Rows": 4008, "Plan Width": 4, "Output": ["part.p_partkey", "part.p_name", "part.p_mfgr", "part.p_brand", "part.p_type", "part.p_size", "part.p_container", "part.p_retailprice", "part.p_comment"], "Filter": "((part.p_name)::text ~~ '%forest%'::text)"}, {"Node Type": "Index Scan", "Parent Relationship": "Inner", "Parallel Aware": false, "Async Capable": false, "Scan Direction": "Forward", "Index Name": "ps_pk", "Relation Name": "partsupp", "Schema": "public", "Alias": "partsupp", "Startup Cost": 0.42, "Total Cost": 1.5, "Plan Rows": 4, "Plan Width": 14, "Output": ["partsupp.ps_partkey", "partsupp.ps_suppkey", "partsupp.ps_availqty", "partsupp.ps_supplycost", "partsupp.ps_comment"], "Index Cond": "(partsupp.ps_partkey = part.p_partkey)"}]}, {"Node Type": "Hash", "Parent Relationship": "Inner", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 322.0, "Total Cost": 322.0, "Plan Rows": 10000, "Plan Width": 8, "Output": ["supplier.s_suppkey", "supplier.s_nationkey"], "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Relation Name": "supplier", "Schema": "public", "Alias": "supplier", "Startup Cost": 0.0, "Total Cost": 322.0, "Plan Rows": 10000, "Plan Width": 8, "Output": ["supplier.s_suppkey", "supplier.s_nationkey"]}]}]}, {"Node Type": "Hash", "Parent Relationship": "Inner", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 1.25, "Total Cost": 1.25, "Plan Rows": 25, "Plan Width": 30, "Output": ["nation.n_name", "nation.n_nationkey"], "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Relation Name": "nation", "Schema": "public", "Alias": "nation", "Startup Cost": 0.0, "Total Cost": 1.25, "Plan Rows": 25, "Plan Width": 30, "Output": ["nation.n_name", "nation.n_nationkey"]}]}]}, {"Node Type": "Index Scan", "Parent Relationship": "Inner", "Parallel Aware": false, "Async Capable": false, "Scan Direction": "Forward", "Index Name": "l_sk_pk", "Relation Name": "lineitem", "Schema": "public", "Alias": "lineitem", "Startup Cost": 0.43, "Total Cost": 0.62, "Plan Rows": 1, "Plan Width": 29, "Output": ["lineitem.l_orderkey", "lineitem.l_partkey", "lineitem.l_suppkey", "lineitem.l_linenumber", "lineitem.l_quantity", "lineitem.l_extendedprice", "lineitem.l_discount", "lineitem.l_tax", "lineitem.l_returnflag", "lineitem.l_linestatus", "lineitem.l_shipdate", "lineitem.l_commitdate", "lineitem.l_receiptdate", "lineitem.l_shipinstruct", "lineitem.l_shipmode", "lineitem.l_comment"], "Index Cond": "((lineitem.l_suppkey = partsupp.ps_suppkey) AND (lineitem.l_partkey = partsupp.ps_partkey))"}]}]}]}]}]}]}]}} diff --git a/dev9/pg14/tpch/sf_1/explain_analyze/15721/1-1.ok b/dev9/pg14/tpch/sf_1/explain_analyze/15721/1-1.ok new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/dev9/pg14/tpch/sf_1/explain_analyze/15721/1-1.res b/dev9/pg14/tpch/sf_1/explain_analyze/15721/1-1.res new file mode 100644 index 0000000000000000000000000000000000000000..1107a1ff16ea56aff325cffe5bee5e64e25b954b --- /dev/null +++ b/dev9/pg14/tpch/sf_1/explain_analyze/15721/1-1.res @@ -0,0 +1 @@ +{"Plan": {"Node Type": "Aggregate", "Strategy": "Sorted", "Partial Mode": "Finalize", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 169515.55, "Total Cost": 169520.32, "Plan Rows": 6, "Plan Width": 236, "Actual Startup Time": 1625.202, "Actual Total Time": 1643.563, "Actual Rows": 4, "Actual Loops": 1, "Output": ["l_returnflag", "l_linestatus", "sum(l_quantity)", "sum(l_extendedprice)", "sum((l_extendedprice * ('1'::numeric - l_discount)))", "sum(((l_extendedprice * ('1'::numeric - l_discount)) * ('1'::numeric + l_tax)))", "avg(l_quantity)", "avg(l_extendedprice)", "avg(l_discount)", "count(*)"], "Group Key": ["lineitem.l_returnflag", "lineitem.l_linestatus"], "Plans": [{"Node Type": "Gather Merge", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 169515.55, "Total Cost": 169519.18, "Plan Rows": 30, "Plan Width": 236, "Actual Startup Time": 1625.164, "Actual Total Time": 1643.475, "Actual Rows": 24, "Actual Loops": 1, "Output": ["l_returnflag", "l_linestatus", "(PARTIAL sum(l_quantity))", "(PARTIAL sum(l_extendedprice))", "(PARTIAL sum((l_extendedprice * ('1'::numeric - l_discount))))", "(PARTIAL sum(((l_extendedprice * ('1'::numeric - l_discount)) * ('1'::numeric + l_tax))))", "(PARTIAL avg(l_quantity))", "(PARTIAL avg(l_extendedprice))", "(PARTIAL avg(l_discount))", "(PARTIAL count(*))"], "Workers Planned": 5, "Workers Launched": 5, "Plans": [{"Node Type": "Sort", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 168515.47, "Total Cost": 168515.49, "Plan Rows": 6, "Plan Width": 236, "Actual Startup Time": 1621.215, "Actual Total Time": 1621.218, "Actual Rows": 4, "Actual Loops": 6, "Output": ["l_returnflag", "l_linestatus", "(PARTIAL sum(l_quantity))", "(PARTIAL sum(l_extendedprice))", "(PARTIAL sum((l_extendedprice * ('1'::numeric - l_discount))))", "(PARTIAL sum(((l_extendedprice * ('1'::numeric - l_discount)) * ('1'::numeric + l_tax))))", "(PARTIAL avg(l_quantity))", "(PARTIAL avg(l_extendedprice))", "(PARTIAL avg(l_discount))", "(PARTIAL count(*))"], "Sort Key": ["lineitem.l_returnflag", "lineitem.l_linestatus"], "Sort Method": "quicksort", "Sort Space Used": 27, "Sort Space Type": "Memory", "Workers": [{"Worker Number": 0, "Actual Startup Time": 1620.284, "Actual Total Time": 1620.286, "Actual Rows": 4, "Actual Loops": 1, "Sort Method": "quicksort", "Sort Space Used": 27, "Sort Space Type": "Memory"}, {"Worker Number": 1, "Actual Startup Time": 1620.544, "Actual Total Time": 1620.551, "Actual Rows": 4, "Actual Loops": 1, "Sort Method": "quicksort", "Sort Space Used": 27, "Sort Space Type": "Memory"}, {"Worker Number": 2, "Actual Startup Time": 1620.577, "Actual Total Time": 1620.578, "Actual Rows": 4, "Actual Loops": 1, "Sort Method": "quicksort", "Sort Space Used": 27, "Sort Space Type": "Memory"}, {"Worker Number": 3, "Actual Startup Time": 1620.561, "Actual Total Time": 1620.563, "Actual Rows": 4, "Actual Loops": 1, "Sort Method": "quicksort", "Sort Space Used": 27, "Sort Space Type": "Memory"}, {"Worker Number": 4, "Actual Startup Time": 1620.721, "Actual Total Time": 1620.722, "Actual Rows": 4, "Actual Loops": 1, "Sort Method": "quicksort", "Sort Space Used": 27, "Sort Space Type": "Memory"}], "Plans": [{"Node Type": "Aggregate", "Strategy": "Hashed", "Partial Mode": "Partial", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 168515.26, "Total Cost": 168515.39, "Plan Rows": 6, "Plan Width": 236, "Actual Startup Time": 1621.16, "Actual Total Time": 1621.172, "Actual Rows": 4, "Actual Loops": 6, "Output": ["l_returnflag", "l_linestatus", "PARTIAL sum(l_quantity)", "PARTIAL sum(l_extendedprice)", "PARTIAL sum((l_extendedprice * ('1'::numeric - l_discount)))", "PARTIAL sum(((l_extendedprice * ('1'::numeric - l_discount)) * ('1'::numeric + l_tax)))", "PARTIAL avg(l_quantity)", "PARTIAL avg(l_extendedprice)", "PARTIAL avg(l_discount)", "PARTIAL count(*)"], "Group Key": ["lineitem.l_returnflag", "lineitem.l_linestatus"], "Planned Partitions": 0, "HashAgg Batches": 1, "Peak Memory Usage": 32, "Disk Usage": 0, "Workers": [{"Worker Number": 0, "Actual Startup Time": 1620.223, "Actual Total Time": 1620.234, "Actual Rows": 4, "Actual Loops": 1, "HashAgg Batches": 1, "Peak Memory Usage": 32, "Disk Usage": 0}, {"Worker Number": 1, "Actual Startup Time": 1620.457, "Actual Total Time": 1620.474, "Actual Rows": 4, "Actual Loops": 1, "HashAgg Batches": 1, "Peak Memory Usage": 32, "Disk Usage": 0}, {"Worker Number": 2, "Actual Startup Time": 1620.523, "Actual Total Time": 1620.534, "Actual Rows": 4, "Actual Loops": 1, "HashAgg Batches": 1, "Peak Memory Usage": 32, "Disk Usage": 0}, {"Worker Number": 3, "Actual Startup Time": 1620.507, "Actual Total Time": 1620.518, "Actual Rows": 4, "Actual Loops": 1, "HashAgg Batches": 1, "Peak Memory Usage": 32, "Disk Usage": 0}, {"Worker Number": 4, "Actual Startup Time": 1620.667, "Actual Total Time": 1620.678, "Actual Rows": 4, "Actual Loops": 1, "HashAgg Batches": 1, "Peak Memory Usage": 32, "Disk Usage": 0}], "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": true, "Async Capable": false, "Relation Name": "lineitem", "Schema": "public", "Alias": "lineitem", "Startup Cost": 0.0, "Total Cost": 127506.04, "Plan Rows": 1171692, "Plan Width": 25, "Actual Startup Time": 0.02, "Actual Total Time": 242.104, "Actual Rows": 976793, "Actual Loops": 6, "Output": ["l_orderkey", "l_partkey", "l_suppkey", "l_linenumber", "l_quantity", "l_extendedprice", "l_discount", "l_tax", "l_returnflag", "l_linestatus", "l_shipdate", "l_commitdate", "l_receiptdate", "l_shipinstruct", "l_shipmode", "l_comment"], "Filter": "(lineitem.l_shipdate <= '1998-08-07 23:59:57'::timestamp without time zone)", "Rows Removed by Filter": 23410, "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.023, "Actual Total Time": 240.718, "Actual Rows": 971773, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 0.023, "Actual Total Time": 262.838, "Actual Rows": 962819, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 0.023, "Actual Total Time": 241.452, "Actual Rows": 978391, "Actual Loops": 1}, {"Worker Number": 3, "Actual Startup Time": 0.023, "Actual Total Time": 242.756, "Actual Rows": 976958, "Actual Loops": 1}, {"Worker Number": 4, "Actual Startup Time": 0.023, "Actual Total Time": 239.82, "Actual Rows": 979322, "Actual Loops": 1}]}]}]}]}]}, "Planning Time": 0.393, "Triggers": [], "Execution Time": 1643.638} diff --git a/dev9/pg14/tpch/sf_1/explain_analyze/15721/10-1.ok b/dev9/pg14/tpch/sf_1/explain_analyze/15721/10-1.ok new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/dev9/pg14/tpch/sf_1/explain_analyze/15721/10-1.res b/dev9/pg14/tpch/sf_1/explain_analyze/15721/10-1.res new file mode 100644 index 0000000000000000000000000000000000000000..09533b75afee84bf1aab41293403269652fa5fc4 --- /dev/null +++ b/dev9/pg14/tpch/sf_1/explain_analyze/15721/10-1.res @@ -0,0 +1 @@ +{"Plan": {"Node Type": "Limit", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 73139.44, "Total Cost": 73139.49, "Plan Rows": 20, "Plan Width": 202, "Actual Startup Time": 356.342, "Actual Total Time": 385.913, "Actual Rows": 20, "Actual Loops": 1, "Output": ["customer.c_custkey", "customer.c_name", "(sum((lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount))))", "customer.c_acctbal", "nation.n_name", "customer.c_address", "customer.c_phone", "customer.c_comment"], "Plans": [{"Node Type": "Sort", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 73139.44, "Total Cost": 73279.0, "Plan Rows": 55822, "Plan Width": 202, "Actual Startup Time": 356.341, "Actual Total Time": 385.908, "Actual Rows": 20, "Actual Loops": 1, "Output": ["customer.c_custkey", "customer.c_name", "(sum((lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount))))", "customer.c_acctbal", "nation.n_name", "customer.c_address", "customer.c_phone", "customer.c_comment"], "Sort Key": ["(sum((lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount)))) DESC"], "Sort Method": "top-N heapsort", "Sort Space Used": 33, "Sort Space Type": "Memory", "Plans": [{"Node Type": "Aggregate", "Strategy": "Sorted", "Partial Mode": "Simple", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 63654.39, "Total Cost": 71654.04, "Plan Rows": 55822, "Plan Width": 202, "Actual Startup Time": 223.118, "Actual Total Time": 372.628, "Actual Rows": 37047, "Actual Loops": 1, "Output": ["customer.c_custkey", "customer.c_name", "sum((lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount)))", "customer.c_acctbal", "nation.n_name", "customer.c_address", "customer.c_phone", "customer.c_comment"], "Group Key": ["customer.c_custkey", "nation.n_name"], "Plans": [{"Node Type": "Gather Merge", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 63654.39, "Total Cost": 70258.49, "Plan Rows": 55822, "Plan Width": 182, "Actual Startup Time": 223.101, "Actual Total Time": 281.211, "Actual Rows": 110515, "Actual Loops": 1, "Output": ["customer.c_custkey", "nation.n_name", "customer.c_name", "lineitem.l_extendedprice", "lineitem.l_discount", "customer.c_acctbal", "customer.c_address", "customer.c_phone", "customer.c_comment"], "Workers Planned": 3, "Workers Launched": 3, "Plans": [{"Node Type": "Sort", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 62654.35, "Total Cost": 62699.36, "Plan Rows": 18007, "Plan Width": 182, "Actual Startup Time": 217.119, "Actual Total Time": 220.3, "Actual Rows": 27629, "Actual Loops": 4, "Output": ["customer.c_custkey", "nation.n_name", "customer.c_name", "lineitem.l_extendedprice", "lineitem.l_discount", "customer.c_acctbal", "customer.c_address", "customer.c_phone", "customer.c_comment"], "Sort Key": ["customer.c_custkey", "nation.n_name"], "Sort Method": "quicksort", "Sort Space Used": 11157, "Sort Space Type": "Memory", "Workers": [{"Worker Number": 0, "Actual Startup Time": 214.943, "Actual Total Time": 217.705, "Actual Rows": 24664, "Actual Loops": 1, "Sort Method": "quicksort", "Sort Space Used": 7340, "Sort Space Type": "Memory"}, {"Worker Number": 1, "Actual Startup Time": 215.574, "Actual Total Time": 218.358, "Actual Rows": 24924, "Actual Loops": 1, "Sort Method": "quicksort", "Sort Space Used": 7412, "Sort Space Type": "Memory"}, {"Worker Number": 2, "Actual Startup Time": 215.335, "Actual Total Time": 218.123, "Actual Rows": 24812, "Actual Loops": 1, "Sort Method": "quicksort", "Sort Space Used": 7378, "Sort Space Type": "Memory"}], "Plans": [{"Node Type": "Hash Join", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Join Type": "Inner", "Startup Cost": 5628.82, "Total Cost": 61381.59, "Plan Rows": 18007, "Plan Width": 182, "Actual Startup Time": 56.558, "Actual Total Time": 197.908, "Actual Rows": 27629, "Actual Loops": 4, "Output": ["customer.c_custkey", "nation.n_name", "customer.c_name", "lineitem.l_extendedprice", "lineitem.l_discount", "customer.c_acctbal", "customer.c_address", "customer.c_phone", "customer.c_comment"], "Inner Unique": true, "Hash Cond": "(customer.c_nationkey = nation.n_nationkey)", "Workers": [{"Worker Number": 0, "Actual Startup Time": 55.377, "Actual Total Time": 196.982, "Actual Rows": 24664, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 55.475, "Actual Total Time": 197.34, "Actual Rows": 24924, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 55.862, "Actual Total Time": 197.252, "Actual Rows": 24812, "Actual Loops": 1}], "Plans": [{"Node Type": "Hash Join", "Parent Relationship": "Outer", "Parallel Aware": true, "Async Capable": false, "Join Type": "Inner", "Startup Cost": 5627.25, "Total Cost": 61324.75, "Plan Rows": 18007, "Plan Width": 160, "Actual Startup Time": 56.41, "Actual Total Time": 189.668, "Actual Rows": 27629, "Actual Loops": 4, "Output": ["customer.c_custkey", "customer.c_name", "customer.c_acctbal", "customer.c_address", "customer.c_phone", "customer.c_comment", "customer.c_nationkey", "lineitem.l_extendedprice", "lineitem.l_discount"], "Inner Unique": true, "Hash Cond": "(orders.o_custkey = customer.c_custkey)", "Workers": [{"Worker Number": 0, "Actual Startup Time": 55.184, "Actual Total Time": 189.515, "Actual Rows": 24664, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 55.28, "Actual Total Time": 189.799, "Actual Rows": 24924, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 55.681, "Actual Total Time": 189.752, "Actual Rows": 24812, "Actual Loops": 1}], "Plans": [{"Node Type": "Nested Loop", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Join Type": "Inner", "Startup Cost": 636.0, "Total Cost": 56286.23, "Plan Rows": 18007, "Plan Width": 16, "Actual Startup Time": 17.91, "Actual Total Time": 137.38, "Actual Rows": 27629, "Actual Loops": 4, "Output": ["orders.o_custkey", "lineitem.l_extendedprice", "lineitem.l_discount"], "Inner Unique": false, "Workers": [{"Worker Number": 0, "Actual Startup Time": 17.854, "Actual Total Time": 139.625, "Actual Rows": 24664, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 17.885, "Actual Total Time": 139.515, "Actual Rows": 24924, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 18.015, "Actual Total Time": 139.53, "Actual Rows": 24812, "Actual Loops": 1}], "Plans": [{"Node Type": "Bitmap Heap Scan", "Parent Relationship": "Outer", "Parallel Aware": true, "Async Capable": false, "Relation Name": "orders", "Schema": "public", "Alias": "orders", "Startup Cost": 635.57, "Total Cost": 27003.92, "Plan Rows": 18223, "Plan Width": 8, "Actual Startup Time": 17.851, "Actual Total Time": 41.717, "Actual Rows": 13816, "Actual Loops": 4, "Output": ["orders.o_orderkey", "orders.o_custkey", "orders.o_orderstatus", "orders.o_totalprice", "orders.o_orderdate", "orders.o_orderpriority", "orders.o_clerk", "orders.o_shippriority", "orders.o_comment"], "Recheck Cond": "((orders.o_orderdate >= '1993-02-01'::date) AND (orders.o_orderdate < '1993-05-01 00:00:00'::timestamp without time zone))", "Rows Removed by Index Recheck": 0, "Exact Heap Blocks": 7602, "Lossy Heap Blocks": 0, "Workers": [{"Worker Number": 0, "Actual Startup Time": 17.787, "Actual Total Time": 43.496, "Actual Rows": 12262, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 17.818, "Actual Total Time": 43.463, "Actual Rows": 12420, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 17.933, "Actual Total Time": 43.365, "Actual Rows": 12432, "Actual Loops": 1}], "Plans": [{"Node Type": "Bitmap Index Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Index Name": "o_od", "Startup Cost": 0.0, "Total Cost": 621.45, "Plan Rows": 56492, "Plan Width": 0, "Actual Startup Time": 12.06, "Actual Total Time": 12.061, "Actual Rows": 55266, "Actual Loops": 1, "Index Cond": "((orders.o_orderdate >= '1993-02-01'::date) AND (orders.o_orderdate < '1993-05-01 00:00:00'::timestamp without time zone))", "Workers": [{"Worker Number": 0, "Actual Startup Time": 12.06, "Actual Total Time": 12.061, "Actual Rows": 55266, "Actual Loops": 1}]}]}, {"Node Type": "Index Scan", "Parent Relationship": "Inner", "Parallel Aware": false, "Async Capable": false, "Scan Direction": "Forward", "Index Name": "l_ok", "Relation Name": "lineitem", "Schema": "public", "Alias": "lineitem", "Startup Cost": 0.43, "Total Cost": 1.6, "Plan Rows": 1, "Plan Width": 16, "Actual Startup Time": 0.005, "Actual Total Time": 0.006, "Actual Rows": 2, "Actual Loops": 55266, "Output": ["lineitem.l_orderkey", "lineitem.l_partkey", "lineitem.l_suppkey", "lineitem.l_linenumber", "lineitem.l_quantity", "lineitem.l_extendedprice", "lineitem.l_discount", "lineitem.l_tax", "lineitem.l_returnflag", "lineitem.l_linestatus", "lineitem.l_shipdate", "lineitem.l_commitdate", "lineitem.l_receiptdate", "lineitem.l_shipinstruct", "lineitem.l_shipmode", "lineitem.l_comment"], "Index Cond": "(lineitem.l_orderkey = orders.o_orderkey)", "Rows Removed by Index Recheck": 0, "Filter": "(lineitem.l_returnflag = 'R'::bpchar)", "Rows Removed by Filter": 2, "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.006, "Actual Total Time": 0.007, "Actual Rows": 2, "Actual Loops": 12262}, {"Worker Number": 1, "Actual Startup Time": 0.006, "Actual Total Time": 0.007, "Actual Rows": 2, "Actual Loops": 12420}, {"Worker Number": 2, "Actual Startup Time": 0.006, "Actual Total Time": 0.007, "Actual Rows": 2, "Actual Loops": 12432}]}]}, {"Node Type": "Hash", "Parent Relationship": "Inner", "Parallel Aware": true, "Async Capable": false, "Startup Cost": 4210.0, "Total Cost": 4210.0, "Plan Rows": 62500, "Plan Width": 148, "Actual Startup Time": 37.957, "Actual Total Time": 37.958, "Actual Rows": 37500, "Actual Loops": 4, "Output": ["customer.c_custkey", "customer.c_name", "customer.c_acctbal", "customer.c_address", "customer.c_phone", "customer.c_comment", "customer.c_nationkey"], "Hash Buckets": 262144, "Original Hash Buckets": 262144, "Hash Batches": 1, "Original Hash Batches": 1, "Peak Memory Usage": 29312, "Workers": [{"Worker Number": 0, "Actual Startup Time": 37.305, "Actual Total Time": 37.306, "Actual Rows": 34888, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 37.365, "Actual Total Time": 37.366, "Actual Rows": 34945, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 37.638, "Actual Total Time": 37.639, "Actual Rows": 35671, "Actual Loops": 1}], "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": true, "Async Capable": false, "Relation Name": "customer", "Schema": "public", "Alias": "customer", "Startup Cost": 0.0, "Total Cost": 4210.0, "Plan Rows": 62500, "Plan Width": 148, "Actual Startup Time": 0.015, "Actual Total Time": 12.227, "Actual Rows": 37500, "Actual Loops": 4, "Output": ["customer.c_custkey", "customer.c_name", "customer.c_acctbal", "customer.c_address", "customer.c_phone", "customer.c_comment", "customer.c_nationkey"], "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.019, "Actual Total Time": 12.533, "Actual Rows": 34888, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 0.019, "Actual Total Time": 12.446, "Actual Rows": 34945, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 0.017, "Actual Total Time": 12.703, "Actual Rows": 35671, "Actual Loops": 1}]}]}]}, {"Node Type": "Hash", "Parent Relationship": "Inner", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 1.25, "Total Cost": 1.25, "Plan Rows": 25, "Plan Width": 30, "Actual Startup Time": 0.031, "Actual Total Time": 0.032, "Actual Rows": 25, "Actual Loops": 4, "Output": ["nation.n_name", "nation.n_nationkey"], "Hash Buckets": 1024, "Original Hash Buckets": 1024, "Hash Batches": 1, "Original Hash Batches": 1, "Peak Memory Usage": 10, "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.038, "Actual Total Time": 0.039, "Actual Rows": 25, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 0.034, "Actual Total Time": 0.035, "Actual Rows": 25, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 0.034, "Actual Total Time": 0.035, "Actual Rows": 25, "Actual Loops": 1}], "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Relation Name": "nation", "Schema": "public", "Alias": "nation", "Startup Cost": 0.0, "Total Cost": 1.25, "Plan Rows": 25, "Plan Width": 30, "Actual Startup Time": 0.014, "Actual Total Time": 0.019, "Actual Rows": 25, "Actual Loops": 4, "Output": ["nation.n_name", "nation.n_nationkey"], "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.017, "Actual Total Time": 0.021, "Actual Rows": 25, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 0.017, "Actual Total Time": 0.022, "Actual Rows": 25, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 0.016, "Actual Total Time": 0.022, "Actual Rows": 25, "Actual Loops": 1}]}]}]}]}]}]}]}]}, "Planning Time": 1.183, "Triggers": [], "Execution Time": 385.988} diff --git a/dev9/pg14/tpch/sf_1/explain_analyze/15721/11-1.ok b/dev9/pg14/tpch/sf_1/explain_analyze/15721/11-1.ok new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/dev9/pg14/tpch/sf_1/explain_analyze/15721/11-1.res b/dev9/pg14/tpch/sf_1/explain_analyze/15721/11-1.res new file mode 100644 index 0000000000000000000000000000000000000000..9c5fcabefa09768d114df843ea742902f982bb0e --- /dev/null +++ b/dev9/pg14/tpch/sf_1/explain_analyze/15721/11-1.res @@ -0,0 +1 @@ +{"Plan": {"Node Type": "Sort", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 5901.14, "Total Cost": 5927.81, "Plan Rows": 10667, "Plan Width": 36, "Actual Startup Time": 105.691, "Actual Total Time": 105.755, "Actual Rows": 869, "Actual Loops": 1, "Output": ["partsupp.ps_partkey", "(sum((partsupp.ps_supplycost * (partsupp.ps_availqty)::numeric)))"], "Sort Key": ["(sum((partsupp.ps_supplycost * (partsupp.ps_availqty)::numeric))) DESC"], "Sort Method": "quicksort", "Sort Space Used": 65, "Sort Space Type": "Memory", "Plans": [{"Node Type": "Aggregate", "Strategy": "Plain", "Partial Mode": "Simple", "Parent Relationship": "InitPlan", "Subplan Name": "InitPlan 1 (returns $2)", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 2313.73, "Total Cost": 2313.75, "Plan Rows": 1, "Plan Width": 32, "Actual Startup Time": 36.775, "Actual Total Time": 36.778, "Actual Rows": 1, "Actual Loops": 1, "Output": ["(sum((partsupp_1.ps_supplycost * (partsupp_1.ps_availqty)::numeric)) * 0.0001000000)"], "Plans": [{"Node Type": "Nested Loop", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Join Type": "Inner", "Startup Cost": 4.91, "Total Cost": 2073.73, "Plan Rows": 32000, "Plan Width": 10, "Actual Startup Time": 0.072, "Actual Total Time": 25.665, "Actual Rows": 32560, "Actual Loops": 1, "Output": ["partsupp_1.ps_supplycost", "partsupp_1.ps_availqty"], "Inner Unique": false, "Plans": [{"Node Type": "Nested Loop", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Join Type": "Inner", "Startup Cost": 4.48, "Total Cost": 226.33, "Plan Rows": 400, "Plan Width": 4, "Actual Startup Time": 0.064, "Actual Total Time": 0.384, "Actual Rows": 407, "Actual Loops": 1, "Output": ["supplier_1.s_suppkey"], "Inner Unique": false, "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Relation Name": "nation", "Schema": "public", "Alias": "nation_1", "Startup Cost": 0.0, "Total Cost": 1.31, "Plan Rows": 1, "Plan Width": 4, "Actual Startup Time": 0.008, "Actual Total Time": 0.01, "Actual Rows": 1, "Actual Loops": 1, "Output": ["nation_1.n_nationkey", "nation_1.n_name", "nation_1.n_regionkey", "nation_1.n_comment"], "Filter": "(nation_1.n_name = 'CHINA'::bpchar)", "Rows Removed by Filter": 24}, {"Node Type": "Bitmap Heap Scan", "Parent Relationship": "Inner", "Parallel Aware": false, "Async Capable": false, "Relation Name": "supplier", "Schema": "public", "Alias": "supplier_1", "Startup Cost": 4.48, "Total Cost": 221.01, "Plan Rows": 400, "Plan Width": 8, "Actual Startup Time": 0.054, "Actual Total Time": 0.308, "Actual Rows": 407, "Actual Loops": 1, "Output": ["supplier_1.s_suppkey", "supplier_1.s_name", "supplier_1.s_address", "supplier_1.s_nationkey", "supplier_1.s_phone", "supplier_1.s_acctbal", "supplier_1.s_comment"], "Recheck Cond": "(supplier_1.s_nationkey = nation_1.n_nationkey)", "Rows Removed by Index Recheck": 0, "Exact Heap Blocks": 186, "Lossy Heap Blocks": 0, "Plans": [{"Node Type": "Bitmap Index Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Index Name": "s_nk", "Startup Cost": 0.0, "Total Cost": 4.38, "Plan Rows": 400, "Plan Width": 0, "Actual Startup Time": 0.024, "Actual Total Time": 0.024, "Actual Rows": 407, "Actual Loops": 1, "Index Cond": "(supplier_1.s_nationkey = nation_1.n_nationkey)"}]}]}, {"Node Type": "Index Scan", "Parent Relationship": "Inner", "Parallel Aware": false, "Async Capable": false, "Scan Direction": "Forward", "Index Name": "ps_sk", "Relation Name": "partsupp", "Schema": "public", "Alias": "partsupp_1", "Startup Cost": 0.42, "Total Cost": 3.82, "Plan Rows": 80, "Plan Width": 14, "Actual Startup Time": 0.003, "Actual Total Time": 0.05, "Actual Rows": 80, "Actual Loops": 407, "Output": ["partsupp_1.ps_partkey", "partsupp_1.ps_suppkey", "partsupp_1.ps_availqty", "partsupp_1.ps_supplycost", "partsupp_1.ps_comment"], "Index Cond": "(partsupp_1.ps_suppkey = supplier_1.s_suppkey)", "Rows Removed by Index Recheck": 0}]}]}, {"Node Type": "Aggregate", "Strategy": "Hashed", "Partial Mode": "Simple", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 2393.73, "Total Cost": 2873.73, "Plan Rows": 10667, "Plan Width": 36, "Actual Startup Time": 90.43, "Actual Total Time": 105.374, "Actual Rows": 869, "Actual Loops": 1, "Output": ["partsupp.ps_partkey", "sum((partsupp.ps_supplycost * (partsupp.ps_availqty)::numeric))"], "Group Key": ["partsupp.ps_partkey"], "Filter": "(sum((partsupp.ps_supplycost * (partsupp.ps_availqty)::numeric)) > $2)", "Planned Partitions": 0, "HashAgg Batches": 1, "Peak Memory Usage": 14865, "Disk Usage": 0, "Rows Removed by Filter": 29770, "Plans": [{"Node Type": "Nested Loop", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Join Type": "Inner", "Startup Cost": 4.91, "Total Cost": 2073.73, "Plan Rows": 32000, "Plan Width": 14, "Actual Startup Time": 0.079, "Actual Total Time": 31.704, "Actual Rows": 32560, "Actual Loops": 1, "Output": ["partsupp.ps_partkey", "partsupp.ps_supplycost", "partsupp.ps_availqty"], "Inner Unique": false, "Plans": [{"Node Type": "Nested Loop", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Join Type": "Inner", "Startup Cost": 4.48, "Total Cost": 226.33, "Plan Rows": 400, "Plan Width": 4, "Actual Startup Time": 0.069, "Actual Total Time": 0.463, "Actual Rows": 407, "Actual Loops": 1, "Output": ["supplier.s_suppkey"], "Inner Unique": false, "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Relation Name": "nation", "Schema": "public", "Alias": "nation", "Startup Cost": 0.0, "Total Cost": 1.31, "Plan Rows": 1, "Plan Width": 4, "Actual Startup Time": 0.009, "Actual Total Time": 0.012, "Actual Rows": 1, "Actual Loops": 1, "Output": ["nation.n_nationkey", "nation.n_name", "nation.n_regionkey", "nation.n_comment"], "Filter": "(nation.n_name = 'CHINA'::bpchar)", "Rows Removed by Filter": 24}, {"Node Type": "Bitmap Heap Scan", "Parent Relationship": "Inner", "Parallel Aware": false, "Async Capable": false, "Relation Name": "supplier", "Schema": "public", "Alias": "supplier", "Startup Cost": 4.48, "Total Cost": 221.01, "Plan Rows": 400, "Plan Width": 8, "Actual Startup Time": 0.058, "Actual Total Time": 0.383, "Actual Rows": 407, "Actual Loops": 1, "Output": ["supplier.s_suppkey", "supplier.s_name", "supplier.s_address", "supplier.s_nationkey", "supplier.s_phone", "supplier.s_acctbal", "supplier.s_comment"], "Recheck Cond": "(supplier.s_nationkey = nation.n_nationkey)", "Rows Removed by Index Recheck": 0, "Exact Heap Blocks": 186, "Lossy Heap Blocks": 0, "Plans": [{"Node Type": "Bitmap Index Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Index Name": "s_nk", "Startup Cost": 0.0, "Total Cost": 4.38, "Plan Rows": 400, "Plan Width": 0, "Actual Startup Time": 0.026, "Actual Total Time": 0.026, "Actual Rows": 407, "Actual Loops": 1, "Index Cond": "(supplier.s_nationkey = nation.n_nationkey)"}]}]}, {"Node Type": "Index Scan", "Parent Relationship": "Inner", "Parallel Aware": false, "Async Capable": false, "Scan Direction": "Forward", "Index Name": "ps_sk", "Relation Name": "partsupp", "Schema": "public", "Alias": "partsupp", "Startup Cost": 0.42, "Total Cost": 3.82, "Plan Rows": 80, "Plan Width": 18, "Actual Startup Time": 0.003, "Actual Total Time": 0.064, "Actual Rows": 80, "Actual Loops": 407, "Output": ["partsupp.ps_partkey", "partsupp.ps_suppkey", "partsupp.ps_availqty", "partsupp.ps_supplycost", "partsupp.ps_comment"], "Index Cond": "(partsupp.ps_suppkey = supplier.s_suppkey)", "Rows Removed by Index Recheck": 0}]}]}]}, "Planning Time": 0.844, "Triggers": [], "Execution Time": 106.063} diff --git a/dev9/pg14/tpch/sf_1/explain_analyze/15721/12-1.ok b/dev9/pg14/tpch/sf_1/explain_analyze/15721/12-1.ok new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/dev9/pg14/tpch/sf_1/explain_analyze/15721/12-1.res b/dev9/pg14/tpch/sf_1/explain_analyze/15721/12-1.res new file mode 100644 index 0000000000000000000000000000000000000000..45d3797ce6380e5b37326587b32515a893276632 --- /dev/null +++ b/dev9/pg14/tpch/sf_1/explain_analyze/15721/12-1.res @@ -0,0 +1 @@ +{"Plan": {"Node Type": "Aggregate", "Strategy": "Sorted", "Partial Mode": "Finalize", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 135480.73, "Total Cost": 135600.29, "Plan Rows": 7, "Plan Width": 27, "Actual Startup Time": 300.357, "Actual Total Time": 337.159, "Actual Rows": 2, "Actual Loops": 1, "Output": ["lineitem.l_shipmode", "sum(CASE WHEN ((orders.o_orderpriority = '1-URGENT'::bpchar) OR (orders.o_orderpriority = '2-HIGH'::bpchar)) THEN 1 ELSE 0 END)", "sum(CASE WHEN ((orders.o_orderpriority <> '1-URGENT'::bpchar) AND (orders.o_orderpriority <> '2-HIGH'::bpchar)) THEN 1 ELSE 0 END)"], "Group Key": ["lineitem.l_shipmode"], "Plans": [{"Node Type": "Gather Merge", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 135480.73, "Total Cost": 135599.96, "Plan Rows": 35, "Plan Width": 27, "Actual Startup Time": 298.792, "Actual Total Time": 337.148, "Actual Rows": 12, "Actual Loops": 1, "Output": ["lineitem.l_shipmode", "(PARTIAL sum(CASE WHEN ((orders.o_orderpriority = '1-URGENT'::bpchar) OR (orders.o_orderpriority = '2-HIGH'::bpchar)) THEN 1 ELSE 0 END))", "(PARTIAL sum(CASE WHEN ((orders.o_orderpriority <> '1-URGENT'::bpchar) AND (orders.o_orderpriority <> '2-HIGH'::bpchar)) THEN 1 ELSE 0 END))"], "Workers Planned": 5, "Workers Launched": 5, "Plans": [{"Node Type": "Aggregate", "Strategy": "Sorted", "Partial Mode": "Partial", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 134480.65, "Total Cost": 134595.66, "Plan Rows": 7, "Plan Width": 27, "Actual Startup Time": 293.899, "Actual Total Time": 294.916, "Actual Rows": 2, "Actual Loops": 6, "Output": ["lineitem.l_shipmode", "PARTIAL sum(CASE WHEN ((orders.o_orderpriority = '1-URGENT'::bpchar) OR (orders.o_orderpriority = '2-HIGH'::bpchar)) THEN 1 ELSE 0 END)", "PARTIAL sum(CASE WHEN ((orders.o_orderpriority <> '1-URGENT'::bpchar) AND (orders.o_orderpriority <> '2-HIGH'::bpchar)) THEN 1 ELSE 0 END)"], "Group Key": ["lineitem.l_shipmode"], "Workers": [{"Worker Number": 0, "Actual Startup Time": 292.26, "Actual Total Time": 293.134, "Actual Rows": 2, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 293.083, "Actual Total Time": 293.982, "Actual Rows": 2, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 293.165, "Actual Total Time": 294.065, "Actual Rows": 2, "Actual Loops": 1}, {"Worker Number": 3, "Actual Startup Time": 293.229, "Actual Total Time": 294.164, "Actual Rows": 2, "Actual Loops": 1}, {"Worker Number": 4, "Actual Startup Time": 293.33, "Actual Total Time": 294.266, "Actual Rows": 2, "Actual Loops": 1}], "Plans": [{"Node Type": "Sort", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 134480.65, "Total Cost": 134495.02, "Plan Rows": 5747, "Plan Width": 27, "Actual Startup Time": 292.883, "Actual Total Time": 293.194, "Actual Rows": 5187, "Actual Loops": 6, "Output": ["lineitem.l_shipmode", "orders.o_orderpriority"], "Sort Key": ["lineitem.l_shipmode"], "Sort Method": "quicksort", "Sort Space Used": 818, "Sort Space Type": "Memory", "Workers": [{"Worker Number": 0, "Actual Startup Time": 291.351, "Actual Total Time": 291.63, "Actual Rows": 4479, "Actual Loops": 1, "Sort Method": "quicksort", "Sort Space Used": 542, "Sort Space Type": "Memory"}, {"Worker Number": 1, "Actual Startup Time": 292.178, "Actual Total Time": 292.454, "Actual Rows": 4608, "Actual Loops": 1, "Sort Method": "quicksort", "Sort Space Used": 553, "Sort Space Type": "Memory"}, {"Worker Number": 2, "Actual Startup Time": 292.273, "Actual Total Time": 292.553, "Actual Rows": 4582, "Actual Loops": 1, "Sort Method": "quicksort", "Sort Space Used": 550, "Sort Space Type": "Memory"}, {"Worker Number": 3, "Actual Startup Time": 292.322, "Actual Total Time": 292.605, "Actual Rows": 4722, "Actual Loops": 1, "Sort Method": "quicksort", "Sort Space Used": 561, "Sort Space Type": "Memory"}, {"Worker Number": 4, "Actual Startup Time": 292.413, "Actual Total Time": 292.695, "Actual Rows": 4729, "Actual Loops": 1, "Sort Method": "quicksort", "Sort Space Used": 562, "Sort Space Type": "Memory"}], "Plans": [{"Node Type": "Nested Loop", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Join Type": "Inner", "Startup Cost": 9982.23, "Total Cost": 134121.79, "Plan Rows": 5747, "Plan Width": 27, "Actual Startup Time": 114.313, "Actual Total Time": 291.099, "Actual Rows": 5187, "Actual Loops": 6, "Output": ["lineitem.l_shipmode", "orders.o_orderpriority"], "Inner Unique": true, "Workers": [{"Worker Number": 0, "Actual Startup Time": 113.012, "Actual Total Time": 289.753, "Actual Rows": 4479, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 113.754, "Actual Total Time": 290.519, "Actual Rows": 4608, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 113.852, "Actual Total Time": 290.633, "Actual Rows": 4582, "Actual Loops": 1}, {"Worker Number": 3, "Actual Startup Time": 113.861, "Actual Total Time": 290.653, "Actual Rows": 4722, "Actual Loops": 1}, {"Worker Number": 4, "Actual Startup Time": 114.027, "Actual Total Time": 290.747, "Actual Rows": 4729, "Actual Loops": 1}], "Plans": [{"Node Type": "Bitmap Heap Scan", "Parent Relationship": "Outer", "Parallel Aware": true, "Async Capable": false, "Relation Name": "lineitem", "Schema": "public", "Alias": "lineitem", "Startup Cost": 9981.81, "Total Cost": 126581.65, "Plan Rows": 5747, "Plan Width": 15, "Actual Startup Time": 114.257, "Actual Total Time": 259.853, "Actual Rows": 5187, "Actual Loops": 6, "Output": ["lineitem.l_orderkey", "lineitem.l_partkey", "lineitem.l_suppkey", "lineitem.l_linenumber", "lineitem.l_quantity", "lineitem.l_extendedprice", "lineitem.l_discount", "lineitem.l_tax", "lineitem.l_returnflag", "lineitem.l_linestatus", "lineitem.l_shipdate", "lineitem.l_commitdate", "lineitem.l_receiptdate", "lineitem.l_shipinstruct", "lineitem.l_shipmode", "lineitem.l_comment"], "Recheck Cond": "((lineitem.l_receiptdate >= '1995-01-01'::date) AND (lineitem.l_receiptdate < '1996-01-01 00:00:00'::timestamp without time zone))", "Rows Removed by Index Recheck": 0, "Filter": "((lineitem.l_shipmode = ANY ('{MAIL,TRUCK}'::bpchar[])) AND (lineitem.l_commitdate < lineitem.l_receiptdate) AND (lineitem.l_shipdate < lineitem.l_commitdate))", "Rows Removed by Filter": 147278, "Exact Heap Blocks": 26899, "Lossy Heap Blocks": 0, "Workers": [{"Worker Number": 0, "Actual Startup Time": 112.942, "Actual Total Time": 258.52, "Actual Rows": 4479, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 113.694, "Actual Total Time": 258.593, "Actual Rows": 4608, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 113.795, "Actual Total Time": 258.84, "Actual Rows": 4582, "Actual Loops": 1}, {"Worker Number": 3, "Actual Startup Time": 113.801, "Actual Total Time": 258.823, "Actual Rows": 4722, "Actual Loops": 1}, {"Worker Number": 4, "Actual Startup Time": 113.957, "Actual Total Time": 258.979, "Actual Rows": 4729, "Actual Loops": 1}], "Plans": [{"Node Type": "Bitmap Index Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Index Name": "l_rd", "Startup Cost": 0.0, "Total Cost": 9974.62, "Plan Rows": 910409, "Plan Width": 0, "Actual Startup Time": 84.312, "Actual Total Time": 84.312, "Actual Rows": 914792, "Actual Loops": 1, "Index Cond": "((lineitem.l_receiptdate >= '1995-01-01'::date) AND (lineitem.l_receiptdate < '1996-01-01 00:00:00'::timestamp without time zone))", "Workers": []}]}, {"Node Type": "Index Scan", "Parent Relationship": "Inner", "Parallel Aware": false, "Async Capable": false, "Scan Direction": "Forward", "Index Name": "o_ok", "Relation Name": "orders", "Schema": "public", "Alias": "orders", "Startup Cost": 0.43, "Total Cost": 1.31, "Plan Rows": 1, "Plan Width": 20, "Actual Startup Time": 0.005, "Actual Total Time": 0.005, "Actual Rows": 1, "Actual Loops": 31122, "Output": ["orders.o_orderkey", "orders.o_custkey", "orders.o_orderstatus", "orders.o_totalprice", "orders.o_orderdate", "orders.o_orderpriority", "orders.o_clerk", "orders.o_shippriority", "orders.o_comment"], "Index Cond": "(orders.o_orderkey = lineitem.l_orderkey)", "Rows Removed by Index Recheck": 0, "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.006, "Actual Total Time": 0.006, "Actual Rows": 1, "Actual Loops": 4479}, {"Worker Number": 1, "Actual Startup Time": 0.006, "Actual Total Time": 0.006, "Actual Rows": 1, "Actual Loops": 4608}, {"Worker Number": 2, "Actual Startup Time": 0.006, "Actual Total Time": 0.006, "Actual Rows": 1, "Actual Loops": 4582}, {"Worker Number": 3, "Actual Startup Time": 0.006, "Actual Total Time": 0.006, "Actual Rows": 1, "Actual Loops": 4722}, {"Worker Number": 4, "Actual Startup Time": 0.006, "Actual Total Time": 0.006, "Actual Rows": 1, "Actual Loops": 4729}]}]}]}]}]}]}, "Planning Time": 0.378, "Triggers": [], "Execution Time": 337.22} diff --git a/dev9/pg14/tpch/sf_1/explain_analyze/15721/13-1.ok b/dev9/pg14/tpch/sf_1/explain_analyze/15721/13-1.ok new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/dev9/pg14/tpch/sf_1/explain_analyze/15721/13-1.res b/dev9/pg14/tpch/sf_1/explain_analyze/15721/13-1.res new file mode 100644 index 0000000000000000000000000000000000000000..beb283769628f19e102c0a42a9c503a369d2a856 --- /dev/null +++ b/dev9/pg14/tpch/sf_1/explain_analyze/15721/13-1.res @@ -0,0 +1 @@ +{"Plan": {"Node Type": "Sort", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 64439.71, "Total Cost": 64440.21, "Plan Rows": 200, "Plan Width": 16, "Actual Startup Time": 1630.862, "Actual Total Time": 1630.867, "Actual Rows": 42, "Actual Loops": 1, "Output": ["(count(orders.o_orderkey))", "(count(*))"], "Sort Key": ["(count(*)) DESC", "(count(orders.o_orderkey)) DESC"], "Sort Method": "quicksort", "Sort Space Used": 26, "Sort Space Type": "Memory", "Plans": [{"Node Type": "Aggregate", "Strategy": "Hashed", "Partial Mode": "Simple", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 64430.07, "Total Cost": 64432.07, "Plan Rows": 200, "Plan Width": 16, "Actual Startup Time": 1630.828, "Actual Total Time": 1630.839, "Actual Rows": 42, "Actual Loops": 1, "Output": ["(count(orders.o_orderkey))", "count(*)"], "Group Key": ["count(orders.o_orderkey)"], "Planned Partitions": 0, "HashAgg Batches": 1, "Peak Memory Usage": 40, "Disk Usage": 0, "Plans": [{"Node Type": "Aggregate", "Strategy": "Hashed", "Partial Mode": "Simple", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 60680.07, "Total Cost": 62180.07, "Plan Rows": 150000, "Plan Width": 12, "Actual Startup Time": 1575.121, "Actual Total Time": 1607.069, "Actual Rows": 150000, "Actual Loops": 1, "Output": ["customer.c_custkey", "count(orders.o_orderkey)"], "Group Key": ["customer.c_custkey"], "Planned Partitions": 0, "HashAgg Batches": 1, "Peak Memory Usage": 18449, "Disk Usage": 0, "Plans": [{"Node Type": "Hash Join", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Join Type": "Right", "Startup Cost": 4580.82, "Total Cost": 53300.31, "Plan Rows": 1475952, "Plan Width": 8, "Actual Startup Time": 38.977, "Actual Total Time": 1136.574, "Actual Rows": 1533817, "Actual Loops": 1, "Output": ["customer.c_custkey", "orders.o_orderkey"], "Inner Unique": true, "Hash Cond": "(orders.o_custkey = customer.c_custkey)", "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Relation Name": "orders", "Schema": "public", "Alias": "orders", "Startup Cost": 0.0, "Total Cost": 44845.0, "Plan Rows": 1475952, "Plan Width": 8, "Actual Startup Time": 0.009, "Actual Total Time": 679.562, "Actual Rows": 1483813, "Actual Loops": 1, "Output": ["orders.o_orderkey", "orders.o_custkey", "orders.o_orderstatus", "orders.o_totalprice", "orders.o_orderdate", "orders.o_orderpriority", "orders.o_clerk", "orders.o_shippriority", "orders.o_comment"], "Filter": "((orders.o_comment)::text !~~ '%unusual%requests%'::text)", "Rows Removed by Filter": 16187}, {"Node Type": "Hash", "Parent Relationship": "Inner", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 2705.82, "Total Cost": 2705.82, "Plan Rows": 150000, "Plan Width": 4, "Actual Startup Time": 38.668, "Actual Total Time": 38.669, "Actual Rows": 150000, "Actual Loops": 1, "Output": ["customer.c_custkey"], "Hash Buckets": 262144, "Original Hash Buckets": 262144, "Hash Batches": 1, "Original Hash Batches": 1, "Peak Memory Usage": 7322, "Plans": [{"Node Type": "Index Only Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Scan Direction": "Forward", "Index Name": "c_ck", "Relation Name": "customer", "Schema": "public", "Alias": "customer", "Startup Cost": 0.42, "Total Cost": 2705.82, "Plan Rows": 150000, "Plan Width": 4, "Actual Startup Time": 0.011, "Actual Total Time": 17.62, "Actual Rows": 150000, "Actual Loops": 1, "Output": ["customer.c_custkey"], "Heap Fetches": 0}]}]}]}]}]}, "Planning Time": 0.514, "Triggers": [], "Execution Time": 1631.833} diff --git a/dev9/pg14/tpch/sf_1/explain_analyze/15721/14-1.ok b/dev9/pg14/tpch/sf_1/explain_analyze/15721/14-1.ok new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/dev9/pg14/tpch/sf_1/explain_analyze/15721/14-1.res b/dev9/pg14/tpch/sf_1/explain_analyze/15721/14-1.res new file mode 100644 index 0000000000000000000000000000000000000000..9c1fe6acbdef9ab0df7013decb5d0672f4494ec8 --- /dev/null +++ b/dev9/pg14/tpch/sf_1/explain_analyze/15721/14-1.res @@ -0,0 +1 @@ +{"Plan": {"Node Type": "Aggregate", "Strategy": "Plain", "Partial Mode": "Finalize", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 67896.19, "Total Cost": 67896.21, "Plan Rows": 1, "Plan Width": 32, "Actual Startup Time": 119.734, "Actual Total Time": 138.187, "Actual Rows": 1, "Actual Loops": 1, "Output": ["((100.00 * sum(CASE WHEN ((part.p_type)::text ~~ 'PROMO%'::text) THEN (lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount)) ELSE '0'::numeric END)) / sum((lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount))))"], "Plans": [{"Node Type": "Gather", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 67895.74, "Total Cost": 67896.15, "Plan Rows": 4, "Plan Width": 64, "Actual Startup Time": 117.155, "Actual Total Time": 138.168, "Actual Rows": 5, "Actual Loops": 1, "Output": ["(PARTIAL sum(CASE WHEN ((part.p_type)::text ~~ 'PROMO%'::text) THEN (lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount)) ELSE '0'::numeric END))", "(PARTIAL sum((lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount))))"], "Workers Planned": 4, "Workers Launched": 4, "Single Copy": false, "Plans": [{"Node Type": "Aggregate", "Strategy": "Plain", "Partial Mode": "Partial", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 66895.74, "Total Cost": 66895.75, "Plan Rows": 1, "Plan Width": 64, "Actual Startup Time": 113.466, "Actual Total Time": 113.47, "Actual Rows": 1, "Actual Loops": 5, "Output": ["PARTIAL sum(CASE WHEN ((part.p_type)::text ~~ 'PROMO%'::text) THEN (lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount)) ELSE '0'::numeric END)", "PARTIAL sum((lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount)))"], "Workers": [{"Worker Number": 0, "Actual Startup Time": 112.439, "Actual Total Time": 112.443, "Actual Rows": 1, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 112.787, "Actual Total Time": 112.789, "Actual Rows": 1, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 112.651, "Actual Total Time": 112.654, "Actual Rows": 1, "Actual Loops": 1}, {"Worker Number": 3, "Actual Startup Time": 112.721, "Actual Total Time": 112.724, "Actual Rows": 1, "Actual Loops": 1}], "Plans": [{"Node Type": "Hash Join", "Parent Relationship": "Outer", "Parallel Aware": true, "Async Capable": false, "Join Type": "Inner", "Startup Cost": 6843.23, "Total Cost": 66555.97, "Plan Rows": 19415, "Plan Width": 33, "Actual Startup Time": 50.815, "Actual Total Time": 103.971, "Actual Rows": 15580, "Actual Loops": 5, "Output": ["part.p_type", "lineitem.l_extendedprice", "lineitem.l_discount"], "Inner Unique": true, "Hash Cond": "(lineitem.l_partkey = part.p_partkey)", "Workers": [{"Worker Number": 0, "Actual Startup Time": 49.908, "Actual Total Time": 104.474, "Actual Rows": 12558, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 49.643, "Actual Total Time": 104.866, "Actual Rows": 12451, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 50.122, "Actual Total Time": 104.729, "Actual Rows": 12485, "Actual Loops": 1}, {"Worker Number": 3, "Actual Startup Time": 50.193, "Actual Total Time": 104.716, "Actual Rows": 12664, "Actual Loops": 1}], "Plans": [{"Node Type": "Bitmap Heap Scan", "Parent Relationship": "Outer", "Parallel Aware": true, "Async Capable": false, "Relation Name": "lineitem", "Schema": "public", "Alias": "lineitem", "Startup Cost": 871.24, "Total Cost": 60533.01, "Plan Rows": 19415, "Plan Width": 16, "Actual Startup Time": 22.263, "Actual Total Time": 67.0, "Actual Rows": 15580, "Actual Loops": 5, "Output": ["lineitem.l_orderkey", "lineitem.l_partkey", "lineitem.l_suppkey", "lineitem.l_linenumber", "lineitem.l_quantity", "lineitem.l_extendedprice", "lineitem.l_discount", "lineitem.l_tax", "lineitem.l_returnflag", "lineitem.l_linestatus", "lineitem.l_shipdate", "lineitem.l_commitdate", "lineitem.l_receiptdate", "lineitem.l_shipinstruct", "lineitem.l_shipmode", "lineitem.l_comment"], "Recheck Cond": "((lineitem.l_shipdate >= '1995-05-01'::date) AND (lineitem.l_shipdate < '1995-06-01 00:00:00'::timestamp without time zone))", "Rows Removed by Index Recheck": 0, "Exact Heap Blocks": 15024, "Lossy Heap Blocks": 0, "Workers": [{"Worker Number": 0, "Actual Startup Time": 22.343, "Actual Total Time": 69.848, "Actual Rows": 12558, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 21.925, "Actual Total Time": 70.016, "Actual Rows": 12451, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 22.348, "Actual Total Time": 69.97, "Actual Rows": 12485, "Actual Loops": 1}, {"Worker Number": 3, "Actual Startup Time": 22.35, "Actual Total Time": 69.857, "Actual Rows": 12664, "Actual Loops": 1}], "Plans": [{"Node Type": "Bitmap Index Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Index Name": "l_sd", "Startup Cost": 0.0, "Total Cost": 851.82, "Plan Rows": 77659, "Plan Width": 0, "Actual Startup Time": 10.545, "Actual Total Time": 10.546, "Actual Rows": 77900, "Actual Loops": 1, "Index Cond": "((lineitem.l_shipdate >= '1995-05-01'::date) AND (lineitem.l_shipdate < '1995-06-01 00:00:00'::timestamp without time zone))", "Workers": [{"Worker Number": 1, "Actual Startup Time": 10.545, "Actual Total Time": 10.546, "Actual Rows": 77900, "Actual Loops": 1}]}]}, {"Node Type": "Hash", "Parent Relationship": "Inner", "Parallel Aware": true, "Async Capable": false, "Startup Cost": 4930.33, "Total Cost": 4930.33, "Plan Rows": 83333, "Plan Width": 25, "Actual Startup Time": 28.012, "Actual Total Time": 28.013, "Actual Rows": 40000, "Actual Loops": 5, "Output": ["part.p_type", "part.p_partkey"], "Hash Buckets": 262144, "Original Hash Buckets": 262144, "Hash Batches": 1, "Original Hash Batches": 1, "Peak Memory Usage": 14208, "Workers": [{"Worker Number": 0, "Actual Startup Time": 27.424, "Actual Total Time": 27.425, "Actual Rows": 36655, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 27.585, "Actual Total Time": 27.586, "Actual Rows": 36963, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 27.625, "Actual Total Time": 27.626, "Actual Rows": 36873, "Actual Loops": 1}, {"Worker Number": 3, "Actual Startup Time": 27.697, "Actual Total Time": 27.698, "Actual Rows": 37291, "Actual Loops": 1}], "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": true, "Async Capable": false, "Relation Name": "part", "Schema": "public", "Alias": "part", "Startup Cost": 0.0, "Total Cost": 4930.33, "Plan Rows": 83333, "Plan Width": 25, "Actual Startup Time": 0.014, "Actual Total Time": 11.382, "Actual Rows": 40000, "Actual Loops": 5, "Output": ["part.p_type", "part.p_partkey"], "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.013, "Actual Total Time": 11.437, "Actual Rows": 36655, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 0.017, "Actual Total Time": 11.451, "Actual Rows": 36963, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 0.017, "Actual Total Time": 11.482, "Actual Rows": 36873, "Actual Loops": 1}, {"Worker Number": 3, "Actual Startup Time": 0.02, "Actual Total Time": 11.584, "Actual Rows": 37291, "Actual Loops": 1}]}]}]}]}]}]}, "Planning Time": 0.327, "Triggers": [], "Execution Time": 138.239} diff --git a/dev9/pg14/tpch/sf_1/explain_analyze/15721/15-1.ok b/dev9/pg14/tpch/sf_1/explain_analyze/15721/15-1.ok new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/dev9/pg14/tpch/sf_1/explain_analyze/15721/15-1.res b/dev9/pg14/tpch/sf_1/explain_analyze/15721/15-1.res new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/dev9/pg14/tpch/sf_1/explain_analyze/15721/15-2.ok b/dev9/pg14/tpch/sf_1/explain_analyze/15721/15-2.ok new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/dev9/pg14/tpch/sf_1/explain_analyze/15721/15-2.res b/dev9/pg14/tpch/sf_1/explain_analyze/15721/15-2.res new file mode 100644 index 0000000000000000000000000000000000000000..50ede45eef8ae48471bb915aa6425e7f7529282d --- /dev/null +++ b/dev9/pg14/tpch/sf_1/explain_analyze/15721/15-2.res @@ -0,0 +1 @@ +{"Plan": {"Node Type": "Merge Join", "Parallel Aware": false, "Async Capable": false, "Join Type": "Inner", "Startup Cost": 239300.57, "Total Cost": 239731.43, "Plan Rows": 50, "Plan Width": 103, "Actual Startup Time": 612.995, "Actual Total Time": 613.001, "Actual Rows": 1, "Actual Loops": 1, "Output": ["supplier.s_suppkey", "supplier.s_name", "supplier.s_address", "supplier.s_phone", "revenue0.total_revenue"], "Inner Unique": true, "Merge Cond": "(supplier.s_suppkey = revenue0.supplier_no)", "Plans": [{"Node Type": "Aggregate", "Strategy": "Plain", "Partial Mode": "Simple", "Parent Relationship": "InitPlan", "Subplan Name": "InitPlan 1 (returns $0)", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 119699.18, "Total Cost": 119699.19, "Plan Rows": 1, "Plan Width": 32, "Actual Startup Time": 303.845, "Actual Total Time": 303.846, "Actual Rows": 1, "Actual Loops": 1, "Output": ["max((sum((lineitem_1.l_extendedprice * ('1'::numeric - lineitem_1.l_discount)))))"], "Plans": [{"Node Type": "Aggregate", "Strategy": "Hashed", "Partial Mode": "Simple", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 119449.18, "Total Cost": 119574.18, "Plan Rows": 10000, "Plan Width": 36, "Actual Startup Time": 299.383, "Actual Total Time": 302.912, "Actual Rows": 10000, "Actual Loops": 1, "Output": ["lineitem_1.l_suppkey", "sum((lineitem_1.l_extendedprice * ('1'::numeric - lineitem_1.l_discount)))"], "Group Key": ["lineitem_1.l_suppkey"], "Planned Partitions": 0, "HashAgg Batches": 1, "Peak Memory Usage": 4497, "Disk Usage": 0, "Plans": [{"Node Type": "Bitmap Heap Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Relation Name": "lineitem", "Schema": "public", "Alias": "lineitem_1", "Startup Cost": 2473.34, "Total Cost": 117242.64, "Plan Rows": 220654, "Plan Width": 16, "Actual Startup Time": 36.988, "Actual Total Time": 146.23, "Actual Rows": 225253, "Actual Loops": 1, "Output": ["lineitem_1.l_orderkey", "lineitem_1.l_partkey", "lineitem_1.l_suppkey", "lineitem_1.l_linenumber", "lineitem_1.l_quantity", "lineitem_1.l_extendedprice", "lineitem_1.l_discount", "lineitem_1.l_tax", "lineitem_1.l_returnflag", "lineitem_1.l_linestatus", "lineitem_1.l_shipdate", "lineitem_1.l_commitdate", "lineitem_1.l_receiptdate", "lineitem_1.l_shipinstruct", "lineitem_1.l_shipmode", "lineitem_1.l_comment"], "Recheck Cond": "((lineitem_1.l_shipdate >= '1995-01-01'::date) AND (lineitem_1.l_shipdate < '1995-04-01 00:00:00'::timestamp without time zone))", "Rows Removed by Index Recheck": 0, "Exact Heap Blocks": 66731, "Lossy Heap Blocks": 0, "Plans": [{"Node Type": "Bitmap Index Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Index Name": "l_sd", "Startup Cost": 0.0, "Total Cost": 2418.17, "Plan Rows": 220654, "Plan Width": 0, "Actual Startup Time": 18.066, "Actual Total Time": 18.066, "Actual Rows": 225253, "Actual Loops": 1, "Index Cond": "((lineitem_1.l_shipdate >= '1995-01-01'::date) AND (lineitem_1.l_shipdate < '1995-04-01 00:00:00'::timestamp without time zone))"}]}]}]}, {"Node Type": "Index Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Scan Direction": "Forward", "Index Name": "s_sk", "Relation Name": "supplier", "Schema": "public", "Alias": "supplier", "Startup Cost": 0.29, "Total Cost": 405.39, "Plan Rows": 10000, "Plan Width": 71, "Actual Startup Time": 0.011, "Actual Total Time": 2.058, "Actual Rows": 9493, "Actual Loops": 1, "Output": ["supplier.s_suppkey", "supplier.s_name", "supplier.s_address", "supplier.s_nationkey", "supplier.s_phone", "supplier.s_acctbal", "supplier.s_comment"]}, {"Node Type": "Sort", "Parent Relationship": "Inner", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 119601.09, "Total Cost": 119601.22, "Plan Rows": 50, "Plan Width": 36, "Actual Startup Time": 610.156, "Actual Total Time": 610.158, "Actual Rows": 1, "Actual Loops": 1, "Output": ["revenue0.total_revenue", "revenue0.supplier_no"], "Sort Key": ["revenue0.supplier_no"], "Sort Method": "quicksort", "Sort Space Used": 25, "Sort Space Type": "Memory", "Plans": [{"Node Type": "Subquery Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Alias": "revenue0", "Startup Cost": 119449.18, "Total Cost": 119599.68, "Plan Rows": 50, "Plan Width": 36, "Actual Startup Time": 605.313, "Actual Total Time": 610.152, "Actual Rows": 1, "Actual Loops": 1, "Output": ["revenue0.total_revenue", "revenue0.supplier_no"], "Plans": [{"Node Type": "Aggregate", "Strategy": "Hashed", "Partial Mode": "Simple", "Parent Relationship": "Subquery", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 119449.18, "Total Cost": 119599.18, "Plan Rows": 50, "Plan Width": 36, "Actual Startup Time": 605.312, "Actual Total Time": 610.149, "Actual Rows": 1, "Actual Loops": 1, "Output": ["lineitem.l_suppkey", "sum((lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount)))"], "Group Key": ["lineitem.l_suppkey"], "Filter": "(sum((lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount))) = $0)", "Planned Partitions": 0, "HashAgg Batches": 1, "Peak Memory Usage": 4497, "Disk Usage": 0, "Rows Removed by Filter": 9999, "Plans": [{"Node Type": "Bitmap Heap Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Relation Name": "lineitem", "Schema": "public", "Alias": "lineitem", "Startup Cost": 2473.34, "Total Cost": 117242.64, "Plan Rows": 220654, "Plan Width": 16, "Actual Startup Time": 37.15, "Actual Total Time": 147.056, "Actual Rows": 225253, "Actual Loops": 1, "Output": ["lineitem.l_orderkey", "lineitem.l_partkey", "lineitem.l_suppkey", "lineitem.l_linenumber", "lineitem.l_quantity", "lineitem.l_extendedprice", "lineitem.l_discount", "lineitem.l_tax", "lineitem.l_returnflag", "lineitem.l_linestatus", "lineitem.l_shipdate", "lineitem.l_commitdate", "lineitem.l_receiptdate", "lineitem.l_shipinstruct", "lineitem.l_shipmode", "lineitem.l_comment"], "Recheck Cond": "((lineitem.l_shipdate >= '1995-01-01'::date) AND (lineitem.l_shipdate < '1995-04-01 00:00:00'::timestamp without time zone))", "Rows Removed by Index Recheck": 0, "Exact Heap Blocks": 66731, "Lossy Heap Blocks": 0, "Plans": [{"Node Type": "Bitmap Index Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Index Name": "l_sd", "Startup Cost": 0.0, "Total Cost": 2418.17, "Plan Rows": 220654, "Plan Width": 0, "Actual Startup Time": 18.226, "Actual Total Time": 18.226, "Actual Rows": 225253, "Actual Loops": 1, "Index Cond": "((lineitem.l_shipdate >= '1995-01-01'::date) AND (lineitem.l_shipdate < '1995-04-01 00:00:00'::timestamp without time zone))"}]}]}]}]}]}, "Planning Time": 0.387, "Triggers": [], "Execution Time": 613.197} diff --git a/dev9/pg14/tpch/sf_1/explain_analyze/15721/15-3.ok b/dev9/pg14/tpch/sf_1/explain_analyze/15721/15-3.ok new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/dev9/pg14/tpch/sf_1/explain_analyze/15721/15-3.res b/dev9/pg14/tpch/sf_1/explain_analyze/15721/15-3.res new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/dev9/pg14/tpch/sf_1/explain_analyze/15721/16-1.ok b/dev9/pg14/tpch/sf_1/explain_analyze/15721/16-1.ok new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/dev9/pg14/tpch/sf_1/explain_analyze/15721/16-1.res b/dev9/pg14/tpch/sf_1/explain_analyze/15721/16-1.res new file mode 100644 index 0000000000000000000000000000000000000000..d4cd7197b28452712ad46bf225daecd3558c4084 --- /dev/null +++ b/dev9/pg14/tpch/sf_1/explain_analyze/15721/16-1.res @@ -0,0 +1 @@ +{"Plan": {"Node Type": "Sort", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 26934.81, "Total Cost": 26974.9, "Plan Rows": 16038, "Plan Width": 44, "Actual Startup Time": 327.543, "Actual Total Time": 329.147, "Actual Rows": 18263, "Actual Loops": 1, "Output": ["part.p_brand", "part.p_type", "part.p_size", "(count(DISTINCT partsupp.ps_suppkey))"], "Sort Key": ["(count(DISTINCT partsupp.ps_suppkey)) DESC", "part.p_brand", "part.p_type", "part.p_size"], "Sort Method": "quicksort", "Sort Space Used": 2211, "Sort Space Type": "Memory", "Plans": [{"Node Type": "Aggregate", "Strategy": "Sorted", "Partial Mode": "Simple", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 17897.92, "Total Cost": 25814.62, "Plan Rows": 16038, "Plan Width": 44, "Actual Startup Time": 154.147, "Actual Total Time": 262.909, "Actual Rows": 18263, "Actual Loops": 1, "Output": ["part.p_brand", "part.p_type", "part.p_size", "count(DISTINCT partsupp.ps_suppkey)"], "Group Key": ["part.p_brand", "part.p_type", "part.p_size"], "Plans": [{"Node Type": "Gather Merge", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 17897.92, "Total Cost": 25056.38, "Plan Rows": 59786, "Plan Width": 40, "Actual Startup Time": 154.127, "Actual Total Time": 214.981, "Actual Rows": 119250, "Actual Loops": 1, "Output": ["part.p_brand", "part.p_type", "part.p_size", "partsupp.ps_suppkey"], "Workers Planned": 4, "Workers Launched": 4, "Plans": [{"Node Type": "Sort", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 16897.86, "Total Cost": 16935.23, "Plan Rows": 14946, "Plan Width": 40, "Actual Startup Time": 148.486, "Actual Total Time": 150.272, "Actual Rows": 23850, "Actual Loops": 5, "Output": ["part.p_brand", "part.p_type", "part.p_size", "partsupp.ps_suppkey"], "Sort Key": ["part.p_brand", "part.p_type", "part.p_size"], "Sort Method": "quicksort", "Sort Space Used": 2683, "Sort Space Type": "Memory", "Workers": [{"Worker Number": 0, "Actual Startup Time": 145.876, "Actual Total Time": 147.683, "Actual Rows": 23564, "Actual Loops": 1, "Sort Method": "quicksort", "Sort Space Used": 2609, "Sort Space Type": "Memory"}, {"Worker Number": 1, "Actual Startup Time": 146.879, "Actual Total Time": 148.697, "Actual Rows": 23624, "Actual Loops": 1, "Sort Method": "quicksort", "Sort Space Used": 2614, "Sort Space Type": "Memory"}, {"Worker Number": 2, "Actual Startup Time": 148.336, "Actual Total Time": 150.159, "Actual Rows": 23893, "Actual Loops": 1, "Sort Method": "quicksort", "Sort Space Used": 2635, "Sort Space Type": "Memory"}, {"Worker Number": 3, "Actual Startup Time": 147.598, "Actual Total Time": 149.374, "Actual Rows": 23660, "Actual Loops": 1, "Sort Method": "quicksort", "Sort Space Used": 2617, "Sort Space Type": "Memory"}], "Plans": [{"Node Type": "Hash Join", "Parent Relationship": "Outer", "Parallel Aware": true, "Async Capable": false, "Join Type": "Inner", "Startup Cost": 6683.45, "Total Cost": 15861.55, "Plan Rows": 14946, "Plan Width": 40, "Actual Startup Time": 22.303, "Actual Total Time": 79.842, "Actual Rows": 23850, "Actual Loops": 5, "Output": ["part.p_brand", "part.p_type", "part.p_size", "partsupp.ps_suppkey"], "Inner Unique": true, "Hash Cond": "(partsupp.ps_partkey = part.p_partkey)", "Workers": [{"Worker Number": 0, "Actual Startup Time": 21.445, "Actual Total Time": 78.732, "Actual Rows": 23564, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 21.544, "Actual Total Time": 78.853, "Actual Rows": 23624, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 21.567, "Actual Total Time": 78.806, "Actual Rows": 23893, "Actual Loops": 1}, {"Worker Number": 3, "Actual Startup Time": 21.627, "Actual Total Time": 78.911, "Actual Rows": 23660, "Actual Loops": 1}], "Plans": [{"Node Type": "Index Only Scan", "Parent Relationship": "Outer", "Parallel Aware": true, "Async Capable": false, "Scan Direction": "Forward", "Index Name": "ps_pk_sk", "Relation Name": "partsupp", "Schema": "public", "Alias": "partsupp", "Startup Cost": 347.43, "Total Cost": 9263.03, "Plan Rows": 100000, "Plan Width": 8, "Actual Startup Time": 3.614, "Actual Total Time": 38.719, "Actual Rows": 159936, "Actual Loops": 5, "Output": ["partsupp.ps_partkey", "partsupp.ps_suppkey"], "Filter": "(NOT (hashed SubPlan 1))", "Rows Removed by Filter": 64, "Heap Fetches": 0, "Workers": [{"Worker Number": 0, "Actual Startup Time": 3.695, "Actual Total Time": 38.708, "Actual Rows": 158424, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 3.66, "Actual Total Time": 38.681, "Actual Rows": 158337, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 3.671, "Actual Total Time": 38.622, "Actual Rows": 158413, "Actual Loops": 1}, {"Worker Number": 3, "Actual Startup Time": 3.665, "Actual Total Time": 38.674, "Actual Rows": 158781, "Actual Loops": 1}], "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "SubPlan", "Subplan Name": "SubPlan 1", "Parallel Aware": false, "Async Capable": false, "Relation Name": "supplier", "Schema": "public", "Alias": "supplier", "Startup Cost": 0.0, "Total Cost": 347.0, "Plan Rows": 1, "Plan Width": 4, "Actual Startup Time": 0.138, "Actual Total Time": 3.497, "Actual Rows": 4, "Actual Loops": 5, "Output": ["supplier.s_suppkey"], "Filter": "((supplier.s_comment)::text ~~ '%Customer%Complaints%'::text)", "Rows Removed by Filter": 9996, "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.14, "Actual Total Time": 3.587, "Actual Rows": 4, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 0.137, "Actual Total Time": 3.502, "Actual Rows": 4, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 0.15, "Actual Total Time": 3.592, "Actual Rows": 4, "Actual Loops": 1}, {"Worker Number": 3, "Actual Startup Time": 0.141, "Actual Total Time": 3.536, "Actual Rows": 4, "Actual Loops": 1}]}]}, {"Node Type": "Hash", "Parent Relationship": "Inner", "Parallel Aware": true, "Async Capable": false, "Startup Cost": 6180.33, "Total Cost": 6180.33, "Plan Rows": 12455, "Plan Width": 40, "Actual Startup Time": 18.484, "Actual Total Time": 18.485, "Actual Rows": 5965, "Actual Loops": 5, "Output": ["part.p_brand", "part.p_type", "part.p_size", "part.p_partkey"], "Hash Buckets": 32768, "Original Hash Buckets": 32768, "Hash Batches": 1, "Original Hash Batches": 1, "Peak Memory Usage": 2592, "Workers": [{"Worker Number": 0, "Actual Startup Time": 17.649, "Actual Total Time": 17.65, "Actual Rows": 5193, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 17.752, "Actual Total Time": 17.753, "Actual Rows": 5289, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 17.768, "Actual Total Time": 17.769, "Actual Rows": 5197, "Actual Loops": 1}, {"Worker Number": 3, "Actual Startup Time": 17.859, "Actual Total Time": 17.86, "Actual Rows": 5556, "Actual Loops": 1}], "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": true, "Async Capable": false, "Relation Name": "part", "Schema": "public", "Alias": "part", "Startup Cost": 0.0, "Total Cost": 6180.33, "Plan Rows": 12455, "Plan Width": 40, "Actual Startup Time": 0.022, "Actual Total Time": 16.067, "Actual Rows": 5965, "Actual Loops": 5, "Output": ["part.p_brand", "part.p_type", "part.p_size", "part.p_partkey"], "Filter": "((part.p_brand <> 'Brand#11'::bpchar) AND ((part.p_type)::text !~~ 'ECONOMY ANODIZED%'::text) AND (part.p_size = ANY ('{42,16,39,18,23,32,44,41}'::integer[])))", "Rows Removed by Filter": 34035, "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.025, "Actual Total Time": 15.164, "Actual Rows": 5193, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 0.024, "Actual Total Time": 15.29, "Actual Rows": 5289, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 0.024, "Actual Total Time": 15.325, "Actual Rows": 5197, "Actual Loops": 1}, {"Worker Number": 3, "Actual Startup Time": 0.029, "Actual Total Time": 16.097, "Actual Rows": 5556, "Actual Loops": 1}]}]}]}]}]}]}]}, "Planning Time": 0.573, "Triggers": [], "Execution Time": 329.942} diff --git a/dev9/pg14/tpch/sf_1/explain_analyze/15721/17-1.ok b/dev9/pg14/tpch/sf_1/explain_analyze/15721/17-1.ok new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/dev9/pg14/tpch/sf_1/explain_analyze/15721/17-1.res b/dev9/pg14/tpch/sf_1/explain_analyze/15721/17-1.res new file mode 100644 index 0000000000000000000000000000000000000000..58dadd0516e421ab6c89057661a1b40e2681ad2d --- /dev/null +++ b/dev9/pg14/tpch/sf_1/explain_analyze/15721/17-1.res @@ -0,0 +1 @@ +{"Plan": {"Node Type": "Aggregate", "Strategy": "Plain", "Partial Mode": "Simple", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 195005.65, "Total Cost": 195005.66, "Plan Rows": 1, "Plan Width": 32, "Actual Startup Time": 1528.81, "Actual Total Time": 1528.879, "Actual Rows": 1, "Actual Loops": 1, "Output": ["(sum(lineitem.l_extendedprice) / 7.0)"], "Plans": [{"Node Type": "Hash Join", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Join Type": "Inner", "Startup Cost": 6369.5, "Total Cost": 195000.65, "Plan Rows": 2000, "Plan Width": 8, "Actual Startup Time": 19.227, "Actual Total Time": 1528.69, "Actual Rows": 588, "Actual Loops": 1, "Output": ["lineitem.l_extendedprice"], "Inner Unique": true, "Hash Cond": "(lineitem.l_partkey = part.p_partkey)", "Join Filter": "(lineitem.l_quantity < (SubPlan 1))", "Rows Removed by Join Filter": 6005, "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Relation Name": "lineitem", "Schema": "public", "Alias": "lineitem", "Startup Cost": 0.0, "Total Cost": 172515.15, "Plan Rows": 6001215, "Plan Width": 17, "Actual Startup Time": 0.004, "Actual Total Time": 479.011, "Actual Rows": 6001215, "Actual Loops": 1, "Output": ["lineitem.l_orderkey", "lineitem.l_partkey", "lineitem.l_suppkey", "lineitem.l_linenumber", "lineitem.l_quantity", "lineitem.l_extendedprice", "lineitem.l_discount", "lineitem.l_tax", "lineitem.l_returnflag", "lineitem.l_linestatus", "lineitem.l_shipdate", "lineitem.l_commitdate", "lineitem.l_receiptdate", "lineitem.l_shipinstruct", "lineitem.l_shipmode", "lineitem.l_comment"]}, {"Node Type": "Hash", "Parent Relationship": "Inner", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 6367.0, "Total Cost": 6367.0, "Plan Rows": 200, "Plan Width": 4, "Actual Startup Time": 16.766, "Actual Total Time": 16.833, "Actual Rows": 222, "Actual Loops": 1, "Output": ["part.p_partkey"], "Hash Buckets": 1024, "Original Hash Buckets": 1024, "Hash Batches": 1, "Original Hash Batches": 1, "Peak Memory Usage": 16, "Plans": [{"Node Type": "Gather", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 1000.0, "Total Cost": 6367.0, "Plan Rows": 200, "Plan Width": 4, "Actual Startup Time": 0.564, "Actual Total Time": 16.796, "Actual Rows": 222, "Actual Loops": 1, "Output": ["part.p_partkey"], "Workers Planned": 2, "Workers Launched": 2, "Single Copy": false, "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": true, "Async Capable": false, "Relation Name": "part", "Schema": "public", "Alias": "part", "Startup Cost": 0.0, "Total Cost": 5347.0, "Plan Rows": 83, "Plan Width": 4, "Actual Startup Time": 0.422, "Actual Total Time": 14.313, "Actual Rows": 74, "Actual Loops": 3, "Output": ["part.p_partkey"], "Filter": "((part.p_brand = 'Brand#14'::bpchar) AND (part.p_container = 'WRAP BOX'::bpchar))", "Rows Removed by Filter": 66593, "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.17, "Actual Total Time": 13.1, "Actual Rows": 50, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 0.716, "Actual Total Time": 13.38, "Actual Rows": 75, "Actual Loops": 1}]}]}]}, {"Node Type": "Aggregate", "Strategy": "Plain", "Partial Mode": "Simple", "Parent Relationship": "SubPlan", "Subplan Name": "SubPlan 1", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 36.25, "Total Cost": 36.27, "Plan Rows": 1, "Plan Width": 32, "Actual Startup Time": 0.028, "Actual Total Time": 0.028, "Actual Rows": 1, "Actual Loops": 6593, "Output": ["(0.2 * avg(lineitem_1.l_quantity))"], "Plans": [{"Node Type": "Index Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Scan Direction": "Forward", "Index Name": "l_pk", "Relation Name": "lineitem", "Schema": "public", "Alias": "lineitem_1", "Startup Cost": 0.43, "Total Cost": 36.17, "Plan Rows": 31, "Plan Width": 5, "Actual Startup Time": 0.003, "Actual Total Time": 0.022, "Actual Rows": 31, "Actual Loops": 6593, "Output": ["lineitem_1.l_orderkey", "lineitem_1.l_partkey", "lineitem_1.l_suppkey", "lineitem_1.l_linenumber", "lineitem_1.l_quantity", "lineitem_1.l_extendedprice", "lineitem_1.l_discount", "lineitem_1.l_tax", "lineitem_1.l_returnflag", "lineitem_1.l_linestatus", "lineitem_1.l_shipdate", "lineitem_1.l_commitdate", "lineitem_1.l_receiptdate", "lineitem_1.l_shipinstruct", "lineitem_1.l_shipmode", "lineitem_1.l_comment"], "Index Cond": "(lineitem_1.l_partkey = part.p_partkey)", "Rows Removed by Index Recheck": 0}]}]}]}, "Planning Time": 0.337, "Triggers": [], "Execution Time": 1528.919} diff --git a/dev9/pg14/tpch/sf_1/explain_analyze/15721/18-1.ok b/dev9/pg14/tpch/sf_1/explain_analyze/15721/18-1.ok new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/dev9/pg14/tpch/sf_1/explain_analyze/15721/18-1.res b/dev9/pg14/tpch/sf_1/explain_analyze/15721/18-1.res new file mode 100644 index 0000000000000000000000000000000000000000..9362b405872f33bc4d618bf9a9fa5390bc3f5e87 --- /dev/null +++ b/dev9/pg14/tpch/sf_1/explain_analyze/15721/18-1.res @@ -0,0 +1 @@ +{"Plan": {"Node Type": "Limit", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 743328.74, "Total Cost": 743328.99, "Plan Rows": 100, "Plan Width": 71, "Actual Startup Time": 3703.853, "Actual Total Time": 3703.949, "Actual Rows": 9, "Actual Loops": 1, "Output": ["customer.c_name", "customer.c_custkey", "orders.o_orderkey", "orders.o_orderdate", "orders.o_totalprice", "(sum(lineitem.l_quantity))"], "Plans": [{"Node Type": "Sort", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 743328.74, "Total Cost": 747447.71, "Plan Rows": 1647590, "Plan Width": 71, "Actual Startup Time": 3703.851, "Actual Total Time": 3703.946, "Actual Rows": 9, "Actual Loops": 1, "Output": ["customer.c_name", "customer.c_custkey", "orders.o_orderkey", "orders.o_orderdate", "orders.o_totalprice", "(sum(lineitem.l_quantity))"], "Sort Key": ["orders.o_totalprice DESC", "orders.o_orderdate"], "Sort Method": "quicksort", "Sort Space Used": 25, "Sort Space Type": "Memory", "Plans": [{"Node Type": "Aggregate", "Strategy": "Sorted", "Partial Mode": "Simple", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 315293.35, "Total Cost": 680359.03, "Plan Rows": 1647590, "Plan Width": 71, "Actual Startup Time": 3670.312, "Actual Total Time": 3703.932, "Actual Rows": 9, "Actual Loops": 1, "Output": ["customer.c_name", "customer.c_custkey", "orders.o_orderkey", "orders.o_orderdate", "orders.o_totalprice", "sum(lineitem.l_quantity)"], "Group Key": ["customer.c_custkey", "orders.o_orderkey"], "Plans": [{"Node Type": "Nested Loop", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Join Type": "Inner", "Startup Cost": 315293.35, "Total Cost": 647407.23, "Plan Rows": 1647590, "Plan Width": 44, "Actual Startup Time": 3663.852, "Actual Total Time": 3703.894, "Actual Rows": 63, "Actual Loops": 1, "Output": ["customer.c_custkey", "orders.o_orderkey", "customer.c_name", "orders.o_orderdate", "orders.o_totalprice", "lineitem.l_quantity"], "Inner Unique": false, "Plans": [{"Node Type": "Merge Join", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Join Type": "Inner", "Startup Cost": 315292.92, "Total Cost": 375826.3, "Plan Rows": 411814, "Plan Width": 43, "Actual Startup Time": 3663.834, "Actual Total Time": 3703.794, "Actual Rows": 9, "Actual Loops": 1, "Output": ["customer.c_name", "customer.c_custkey", "orders.o_orderkey", "orders.o_orderdate", "orders.o_totalprice", "lineitem_1.l_orderkey"], "Inner Unique": true, "Merge Cond": "(orders.o_custkey = customer.c_custkey)", "Plans": [{"Node Type": "Gather Merge", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 315292.5, "Total Cost": 364012.75, "Plan Rows": 411814, "Plan Width": 24, "Actual Startup Time": 3658.974, "Actual Total Time": 3659.072, "Actual Rows": 9, "Actual Loops": 1, "Output": ["orders.o_orderkey", "orders.o_orderdate", "orders.o_totalprice", "orders.o_custkey", "lineitem_1.l_orderkey"], "Workers Planned": 3, "Workers Launched": 3, "Plans": [{"Node Type": "Sort", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 314292.46, "Total Cost": 314624.57, "Plan Rows": 132843, "Plan Width": 24, "Actual Startup Time": 3483.703, "Actual Total Time": 3483.706, "Actual Rows": 2, "Actual Loops": 4, "Output": ["orders.o_orderkey", "orders.o_orderdate", "orders.o_totalprice", "orders.o_custkey", "lineitem_1.l_orderkey"], "Sort Key": ["orders.o_custkey", "orders.o_orderkey"], "Sort Method": "quicksort", "Sort Space Used": 25, "Sort Space Type": "Memory", "Workers": [{"Worker Number": 0, "Actual Startup Time": 3654.513, "Actual Total Time": 3654.515, "Actual Rows": 0, "Actual Loops": 1, "Sort Method": "quicksort", "Sort Space Used": 25, "Sort Space Type": "Memory"}, {"Worker Number": 1, "Actual Startup Time": 3654.544, "Actual Total Time": 3654.546, "Actual Rows": 0, "Actual Loops": 1, "Sort Method": "quicksort", "Sort Space Used": 25, "Sort Space Type": "Memory"}, {"Worker Number": 2, "Actual Startup Time": 3310.937, "Actual Total Time": 3310.941, "Actual Rows": 4, "Actual Loops": 1, "Sort Method": "quicksort", "Sort Space Used": 25, "Sort Space Type": "Memory"}], "Plans": [{"Node Type": "Hash Join", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Join Type": "Inner", "Startup Cost": 270784.07, "Total Cost": 302987.94, "Plan Rows": 132843, "Plan Width": 24, "Actual Startup Time": 3414.565, "Actual Total Time": 3483.624, "Actual Rows": 2, "Actual Loops": 4, "Output": ["orders.o_orderkey", "orders.o_orderdate", "orders.o_totalprice", "orders.o_custkey", "lineitem_1.l_orderkey"], "Inner Unique": true, "Hash Cond": "(orders.o_orderkey = lineitem_1.l_orderkey)", "Workers": [{"Worker Number": 0, "Actual Startup Time": 3654.411, "Actual Total Time": 3654.412, "Actual Rows": 0, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 3654.44, "Actual Total Time": 3654.442, "Actual Rows": 0, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 3189.806, "Actual Total Time": 3310.83, "Actual Rows": 4, "Actual Loops": 1}], "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": true, "Async Capable": false, "Relation Name": "orders", "Schema": "public", "Alias": "orders", "Startup Cost": 0.0, "Total Cost": 30933.71, "Plan Rows": 483871, "Plan Width": 20, "Actual Startup Time": 0.017, "Actual Total Time": 32.182, "Actual Rows": 375000, "Actual Loops": 4, "Output": ["orders.o_orderkey", "orders.o_custkey", "orders.o_orderstatus", "orders.o_totalprice", "orders.o_orderdate", "orders.o_orderpriority", "orders.o_clerk", "orders.o_shippriority", "orders.o_comment"], "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.021, "Actual Total Time": 0.101, "Actual Rows": 924, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 0.021, "Actual Total Time": 0.101, "Actual Rows": 925, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 0.022, "Actual Total Time": 48.415, "Actual Rows": 552759, "Actual Loops": 1}]}, {"Node Type": "Hash", "Parent Relationship": "Inner", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 265636.4, "Total Cost": 265636.4, "Plan Rows": 411814, "Plan Width": 4, "Actual Startup Time": 3384.848, "Actual Total Time": 3384.849, "Actual Rows": 9, "Actual Loops": 4, "Output": ["lineitem_1.l_orderkey"], "Hash Buckets": 524288, "Original Hash Buckets": 524288, "Hash Batches": 1, "Original Hash Batches": 1, "Peak Memory Usage": 4097, "Workers": [{"Worker Number": 0, "Actual Startup Time": 3651.483, "Actual Total Time": 3651.484, "Actual Rows": 9, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 3651.514, "Actual Total Time": 3651.514, "Actual Rows": 9, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 3159.079, "Actual Total Time": 3159.08, "Actual Rows": 9, "Actual Loops": 1}], "Plans": [{"Node Type": "Aggregate", "Strategy": "Sorted", "Partial Mode": "Simple", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 0.43, "Total Cost": 261518.26, "Plan Rows": 411814, "Plan Width": 4, "Actual Startup Time": 712.52, "Actual Total Time": 3384.827, "Actual Rows": 9, "Actual Loops": 4, "Output": ["lineitem_1.l_orderkey"], "Group Key": ["lineitem_1.l_orderkey"], "Filter": "(sum(lineitem_1.l_quantity) > '314'::numeric)", "Rows Removed by Filter": 1499991, "Workers": [{"Worker Number": 0, "Actual Startup Time": 767.184, "Actual Total Time": 3651.461, "Actual Rows": 9, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 767.215, "Actual Total Time": 3651.49, "Actual Rows": 9, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 668.082, "Actual Total Time": 3159.056, "Actual Rows": 9, "Actual Loops": 1}], "Plans": [{"Node Type": "Index Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Scan Direction": "Forward", "Index Name": "l_ok", "Relation Name": "lineitem", "Schema": "public", "Alias": "lineitem_1", "Startup Cost": 0.43, "Total Cost": 212980.57, "Plan Rows": 6001215, "Plan Width": 9, "Actual Startup Time": 0.052, "Actual Total Time": 1588.991, "Actual Rows": 6001215, "Actual Loops": 4, "Output": ["lineitem_1.l_orderkey", "lineitem_1.l_partkey", "lineitem_1.l_suppkey", "lineitem_1.l_linenumber", "lineitem_1.l_quantity", "lineitem_1.l_extendedprice", "lineitem_1.l_discount", "lineitem_1.l_tax", "lineitem_1.l_returnflag", "lineitem_1.l_linestatus", "lineitem_1.l_shipdate", "lineitem_1.l_commitdate", "lineitem_1.l_receiptdate", "lineitem_1.l_shipinstruct", "lineitem_1.l_shipmode", "lineitem_1.l_comment"], "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.064, "Actual Total Time": 1841.956, "Actual Rows": 6001215, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 0.067, "Actual Total Time": 1855.279, "Actual Rows": 6001215, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 0.066, "Actual Total Time": 1365.099, "Actual Rows": 6001215, "Actual Loops": 1}]}]}]}]}]}]}, {"Node Type": "Index Scan", "Parent Relationship": "Inner", "Parallel Aware": false, "Async Capable": false, "Scan Direction": "Forward", "Index Name": "c_ck", "Relation Name": "customer", "Schema": "public", "Alias": "customer", "Startup Cost": 0.42, "Total Cost": 6290.92, "Plan Rows": 150000, "Plan Width": 23, "Actual Startup Time": 0.021, "Actual Total Time": 32.721, "Actual Rows": 147197, "Actual Loops": 1, "Output": ["customer.c_custkey", "customer.c_name", "customer.c_address", "customer.c_nationkey", "customer.c_phone", "customer.c_acctbal", "customer.c_mktsegment", "customer.c_comment"]}]}, {"Node Type": "Index Scan", "Parent Relationship": "Inner", "Parallel Aware": false, "Async Capable": false, "Scan Direction": "Forward", "Index Name": "l_ok", "Relation Name": "lineitem", "Schema": "public", "Alias": "lineitem", "Startup Cost": 0.43, "Total Cost": 0.61, "Plan Rows": 5, "Plan Width": 9, "Actual Startup Time": 0.007, "Actual Total Time": 0.008, "Actual Rows": 7, "Actual Loops": 9, "Output": ["lineitem.l_orderkey", "lineitem.l_partkey", "lineitem.l_suppkey", "lineitem.l_linenumber", "lineitem.l_quantity", "lineitem.l_extendedprice", "lineitem.l_discount", "lineitem.l_tax", "lineitem.l_returnflag", "lineitem.l_linestatus", "lineitem.l_shipdate", "lineitem.l_commitdate", "lineitem.l_receiptdate", "lineitem.l_shipinstruct", "lineitem.l_shipmode", "lineitem.l_comment"], "Index Cond": "(lineitem.l_orderkey = orders.o_orderkey)", "Rows Removed by Index Recheck": 0}]}]}]}]}, "Planning Time": 1.128, "Triggers": [], "Execution Time": 3704.014} diff --git a/dev9/pg14/tpch/sf_1/explain_analyze/15721/19-1.ok b/dev9/pg14/tpch/sf_1/explain_analyze/15721/19-1.ok new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/dev9/pg14/tpch/sf_1/explain_analyze/15721/19-1.res b/dev9/pg14/tpch/sf_1/explain_analyze/15721/19-1.res new file mode 100644 index 0000000000000000000000000000000000000000..6dc51560d26335c8ce72d2af02428ebd7e9d5f83 --- /dev/null +++ b/dev9/pg14/tpch/sf_1/explain_analyze/15721/19-1.res @@ -0,0 +1 @@ +{"Plan": {"Node Type": "Aggregate", "Strategy": "Plain", "Partial Mode": "Finalize", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 15846.53, "Total Cost": 15846.54, "Plan Rows": 1, "Plan Width": 32, "Actual Startup Time": 44.879, "Actual Total Time": 55.056, "Actual Rows": 1, "Actual Loops": 1, "Output": ["sum((lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount)))"], "Plans": [{"Node Type": "Gather", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 15846.31, "Total Cost": 15846.52, "Plan Rows": 2, "Plan Width": 32, "Actual Startup Time": 44.675, "Actual Total Time": 55.045, "Actual Rows": 3, "Actual Loops": 1, "Output": ["(PARTIAL sum((lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount))))"], "Workers Planned": 2, "Workers Launched": 2, "Single Copy": false, "Plans": [{"Node Type": "Aggregate", "Strategy": "Plain", "Partial Mode": "Partial", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 14846.31, "Total Cost": 14846.32, "Plan Rows": 1, "Plan Width": 32, "Actual Startup Time": 41.678, "Actual Total Time": 41.679, "Actual Rows": 1, "Actual Loops": 3, "Output": ["PARTIAL sum((lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount)))"], "Workers": [{"Worker Number": 0, "Actual Startup Time": 40.209, "Actual Total Time": 40.211, "Actual Rows": 1, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 40.595, "Actual Total Time": 40.596, "Actual Rows": 1, "Actual Loops": 1}], "Plans": [{"Node Type": "Nested Loop", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Join Type": "Inner", "Startup Cost": 0.43, "Total Cost": 14845.96, "Plan Rows": 47, "Plan Width": 12, "Actual Startup Time": 1.48, "Actual Total Time": 41.639, "Actual Rows": 35, "Actual Loops": 3, "Output": ["lineitem.l_extendedprice", "lineitem.l_discount"], "Inner Unique": false, "Workers": [{"Worker Number": 0, "Actual Startup Time": 3.306, "Actual Total Time": 40.171, "Actual Rows": 29, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 0.203, "Actual Total Time": 40.558, "Actual Rows": 26, "Actual Loops": 1}], "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": true, "Async Capable": false, "Relation Name": "part", "Schema": "public", "Alias": "part", "Startup Cost": 0.0, "Total Cost": 7638.67, "Plan Rows": 200, "Plan Width": 30, "Actual Startup Time": 0.11, "Actual Total Time": 25.847, "Actual Rows": 143, "Actual Loops": 3, "Output": ["part.p_partkey", "part.p_name", "part.p_mfgr", "part.p_brand", "part.p_type", "part.p_size", "part.p_container", "part.p_retailprice", "part.p_comment"], "Filter": "((part.p_size >= 1) AND (((part.p_brand = 'Brand#52'::bpchar) AND (part.p_container = ANY ('{\"SM CASE\",\"SM BOX\",\"SM PACK\",\"SM PKG\"}'::bpchar[])) AND (part.p_size <= 5)) OR ((part.p_brand = 'Brand#42'::bpchar) AND (part.p_container = ANY ('{\"MED BAG\",\"MED BOX\",\"MED PKG\",\"MED PACK\"}'::bpchar[])) AND (part.p_size <= 10)) OR ((part.p_brand = 'Brand#23'::bpchar) AND (part.p_container = ANY ('{\"LG CASE\",\"LG BOX\",\"LG PACK\",\"LG PKG\"}'::bpchar[])) AND (part.p_size <= 15))))", "Rows Removed by Filter": 66524, "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.244, "Actual Total Time": 20.107, "Actual Rows": 115, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 0.053, "Actual Total Time": 21.433, "Actual Rows": 109, "Actual Loops": 1}]}, {"Node Type": "Index Scan", "Parent Relationship": "Inner", "Parallel Aware": false, "Async Capable": false, "Scan Direction": "Forward", "Index Name": "l_pk", "Relation Name": "lineitem", "Schema": "public", "Alias": "lineitem", "Startup Cost": 0.43, "Total Cost": 36.03, "Plan Rows": 1, "Plan Width": 21, "Actual Startup Time": 0.097, "Actual Total Time": 0.11, "Actual Rows": 0, "Actual Loops": 428, "Output": ["lineitem.l_orderkey", "lineitem.l_partkey", "lineitem.l_suppkey", "lineitem.l_linenumber", "lineitem.l_quantity", "lineitem.l_extendedprice", "lineitem.l_discount", "lineitem.l_tax", "lineitem.l_returnflag", "lineitem.l_linestatus", "lineitem.l_shipdate", "lineitem.l_commitdate", "lineitem.l_receiptdate", "lineitem.l_shipinstruct", "lineitem.l_shipmode", "lineitem.l_comment"], "Index Cond": "(lineitem.l_partkey = part.p_partkey)", "Rows Removed by Index Recheck": 0, "Filter": "((lineitem.l_shipmode = ANY ('{AIR,\"AIR REG\"}'::bpchar[])) AND (lineitem.l_shipinstruct = 'DELIVER IN PERSON'::bpchar) AND (((lineitem.l_quantity >= '9'::numeric) AND (lineitem.l_quantity <= '19'::numeric)) OR ((lineitem.l_quantity >= '18'::numeric) AND (lineitem.l_quantity <= '28'::numeric)) OR ((lineitem.l_quantity >= '22'::numeric) AND (lineitem.l_quantity <= '32'::numeric))) AND (((part.p_brand = 'Brand#52'::bpchar) AND (part.p_container = ANY ('{\"SM CASE\",\"SM BOX\",\"SM PACK\",\"SM PKG\"}'::bpchar[])) AND (lineitem.l_quantity >= '9'::numeric) AND (lineitem.l_quantity <= '19'::numeric) AND (part.p_size <= 5)) OR ((part.p_brand = 'Brand#42'::bpchar) AND (part.p_container = ANY ('{\"MED BAG\",\"MED BOX\",\"MED PKG\",\"MED PACK\"}'::bpchar[])) AND (lineitem.l_quantity >= '18'::numeric) AND (lineitem.l_quantity <= '28'::numeric) AND (part.p_size <= 10)) OR ((part.p_brand = 'Brand#23'::bpchar) AND (part.p_container = ANY ('{\"LG CASE\",\"LG BOX\",\"LG PACK\",\"LG PKG\"}'::bpchar[])) AND (lineitem.l_quantity >= '22'::numeric) AND (lineitem.l_quantity <= '32'::numeric) AND (part.p_size <= 15))))", "Rows Removed by Filter": 30, "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.158, "Actual Total Time": 0.174, "Actual Rows": 0, "Actual Loops": 115}, {"Worker Number": 1, "Actual Startup Time": 0.147, "Actual Total Time": 0.175, "Actual Rows": 0, "Actual Loops": 109}]}]}]}]}]}, "Planning Time": 0.573, "Triggers": [], "Execution Time": 55.103} diff --git a/dev9/pg14/tpch/sf_1/explain_analyze/15721/2-1.ok b/dev9/pg14/tpch/sf_1/explain_analyze/15721/2-1.ok new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/dev9/pg14/tpch/sf_1/explain_analyze/15721/2-1.res b/dev9/pg14/tpch/sf_1/explain_analyze/15721/2-1.res new file mode 100644 index 0000000000000000000000000000000000000000..0d8823b2403679083472d904cc8978eb5dab0e2a --- /dev/null +++ b/dev9/pg14/tpch/sf_1/explain_analyze/15721/2-1.res @@ -0,0 +1 @@ +{"Plan": {"Node Type": "Limit", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 31838.95, "Total Cost": 31838.96, "Plan Rows": 1, "Plan Width": 192, "Actual Startup Time": 258.674, "Actual Total Time": 258.761, "Actual Rows": 100, "Actual Loops": 1, "Output": ["supplier.s_acctbal", "supplier.s_name", "nation.n_name", "part.p_partkey", "part.p_mfgr", "supplier.s_address", "supplier.s_phone", "supplier.s_comment"], "Plans": [{"Node Type": "Sort", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 31838.95, "Total Cost": 31838.96, "Plan Rows": 1, "Plan Width": 192, "Actual Startup Time": 258.672, "Actual Total Time": 258.751, "Actual Rows": 100, "Actual Loops": 1, "Output": ["supplier.s_acctbal", "supplier.s_name", "nation.n_name", "part.p_partkey", "part.p_mfgr", "supplier.s_address", "supplier.s_phone", "supplier.s_comment"], "Sort Key": ["supplier.s_acctbal DESC", "nation.n_name", "supplier.s_name", "part.p_partkey"], "Sort Method": "top-N heapsort", "Sort Space Used": 71, "Sort Space Type": "Memory", "Plans": [{"Node Type": "Hash Join", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Join Type": "Inner", "Startup Cost": 16654.29, "Total Cost": 31838.94, "Plan Rows": 1, "Plan Width": 192, "Actual Startup Time": 215.745, "Actual Total Time": 258.262, "Actual Rows": 509, "Actual Loops": 1, "Output": ["supplier.s_acctbal", "supplier.s_name", "nation.n_name", "part.p_partkey", "part.p_mfgr", "supplier.s_address", "supplier.s_phone", "supplier.s_comment"], "Inner Unique": false, "Hash Cond": "((part.p_partkey = partsupp.ps_partkey) AND ((SubPlan 1) = partsupp.ps_supplycost))", "Plans": [{"Node Type": "Gather", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 1000.0, "Total Cost": 6427.7, "Plan Rows": 807, "Plan Width": 30, "Actual Startup Time": 0.237, "Actual Total Time": 0.462, "Actual Rows": 854, "Actual Loops": 1, "Output": ["part.p_partkey", "part.p_mfgr"], "Workers Planned": 2, "Workers Launched": 2, "Single Copy": false, "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": true, "Async Capable": false, "Relation Name": "part", "Schema": "public", "Alias": "part", "Startup Cost": 0.0, "Total Cost": 5347.0, "Plan Rows": 336, "Plan Width": 30, "Actual Startup Time": 0.034, "Actual Total Time": 21.027, "Actual Rows": 285, "Actual Loops": 3, "Output": ["part.p_partkey", "part.p_mfgr"], "Filter": "(((part.p_type)::text ~~ '%TIN'::text) AND (part.p_size = 44))", "Rows Removed by Filter": 66382, "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.035, "Actual Total Time": 31.526, "Actual Rows": 427, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 0.046, "Actual Total Time": 31.52, "Actual Rows": 426, "Actual Loops": 1}]}]}, {"Node Type": "Hash", "Parent Relationship": "Inner", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 9347.29, "Total Cost": 9347.29, "Plan Rows": 160000, "Plan Width": 172, "Actual Startup Time": 215.092, "Actual Total Time": 215.095, "Actual Rows": 158960, "Actual Loops": 1, "Output": ["supplier.s_acctbal", "supplier.s_name", "supplier.s_address", "supplier.s_phone", "supplier.s_comment", "partsupp.ps_partkey", "partsupp.ps_supplycost", "nation.n_name"], "Hash Buckets": 131072, "Original Hash Buckets": 131072, "Hash Batches": 2, "Original Hash Batches": 2, "Peak Memory Usage": 17198, "Plans": [{"Node Type": "Nested Loop", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Join Type": "Inner", "Startup Cost": 0.71, "Total Cost": 9347.29, "Plan Rows": 160000, "Plan Width": 172, "Actual Startup Time": 0.032, "Actual Total Time": 140.612, "Actual Rows": 158960, "Actual Loops": 1, "Output": ["supplier.s_acctbal", "supplier.s_name", "supplier.s_address", "supplier.s_phone", "supplier.s_comment", "partsupp.ps_partkey", "partsupp.ps_supplycost", "nation.n_name"], "Inner Unique": false, "Plans": [{"Node Type": "Nested Loop", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Join Type": "Inner", "Startup Cost": 0.29, "Total Cost": 110.28, "Plan Rows": 2000, "Plan Width": 166, "Actual Startup Time": 0.021, "Actual Total Time": 1.706, "Actual Rows": 1987, "Actual Loops": 1, "Output": ["supplier.s_acctbal", "supplier.s_name", "supplier.s_address", "supplier.s_phone", "supplier.s_comment", "supplier.s_suppkey", "nation.n_name"], "Inner Unique": false, "Plans": [{"Node Type": "Nested Loop", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Join Type": "Inner", "Startup Cost": 0.0, "Total Cost": 2.62, "Plan Rows": 5, "Plan Width": 30, "Actual Startup Time": 0.01, "Actual Total Time": 0.026, "Actual Rows": 5, "Actual Loops": 1, "Output": ["nation.n_name", "nation.n_nationkey"], "Inner Unique": false, "Join Filter": "(nation.n_regionkey = region.r_regionkey)", "Rows Removed by Join Filter": 20, "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Relation Name": "region", "Schema": "public", "Alias": "region", "Startup Cost": 0.0, "Total Cost": 1.06, "Plan Rows": 1, "Plan Width": 4, "Actual Startup Time": 0.004, "Actual Total Time": 0.007, "Actual Rows": 1, "Actual Loops": 1, "Output": ["region.r_regionkey", "region.r_name", "region.r_comment"], "Filter": "(region.r_name = 'EUROPE'::bpchar)", "Rows Removed by Filter": 4}, {"Node Type": "Seq Scan", "Parent Relationship": "Inner", "Parallel Aware": false, "Async Capable": false, "Relation Name": "nation", "Schema": "public", "Alias": "nation", "Startup Cost": 0.0, "Total Cost": 1.25, "Plan Rows": 25, "Plan Width": 34, "Actual Startup Time": 0.002, "Actual Total Time": 0.007, "Actual Rows": 25, "Actual Loops": 1, "Output": ["nation.n_nationkey", "nation.n_name", "nation.n_regionkey", "nation.n_comment"]}]}, {"Node Type": "Index Scan", "Parent Relationship": "Inner", "Parallel Aware": false, "Async Capable": false, "Scan Direction": "Forward", "Index Name": "s_nk", "Relation Name": "supplier", "Schema": "public", "Alias": "supplier", "Startup Cost": 0.29, "Total Cost": 17.53, "Plan Rows": 400, "Plan Width": 144, "Actual Startup Time": 0.006, "Actual Total Time": 0.217, "Actual Rows": 397, "Actual Loops": 5, "Output": ["supplier.s_suppkey", "supplier.s_name", "supplier.s_address", "supplier.s_nationkey", "supplier.s_phone", "supplier.s_acctbal", "supplier.s_comment"], "Index Cond": "(supplier.s_nationkey = nation.n_nationkey)", "Rows Removed by Index Recheck": 0}]}, {"Node Type": "Index Scan", "Parent Relationship": "Inner", "Parallel Aware": false, "Async Capable": false, "Scan Direction": "Forward", "Index Name": "ps_sk", "Relation Name": "partsupp", "Schema": "public", "Alias": "partsupp", "Startup Cost": 0.42, "Total Cost": 3.82, "Plan Rows": 80, "Plan Width": 14, "Actual Startup Time": 0.003, "Actual Total Time": 0.055, "Actual Rows": 80, "Actual Loops": 1987, "Output": ["partsupp.ps_partkey", "partsupp.ps_suppkey", "partsupp.ps_availqty", "partsupp.ps_supplycost", "partsupp.ps_comment"], "Index Cond": "(partsupp.ps_suppkey = supplier.s_suppkey)", "Rows Removed by Index Recheck": 0}]}]}, {"Node Type": "Aggregate", "Strategy": "Plain", "Partial Mode": "Simple", "Parent Relationship": "SubPlan", "Subplan Name": "SubPlan 1", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 14.44, "Total Cost": 14.45, "Plan Rows": 1, "Plan Width": 32, "Actual Startup Time": 0.02, "Actual Total Time": 0.02, "Actual Rows": 1, "Actual Loops": 1363, "Output": ["min(partsupp_1.ps_supplycost)"], "Plans": [{"Node Type": "Nested Loop", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Join Type": "Inner", "Startup Cost": 0.85, "Total Cost": 14.44, "Plan Rows": 1, "Plan Width": 6, "Actual Startup Time": 0.014, "Actual Total Time": 0.019, "Actual Rows": 1, "Actual Loops": 1363, "Output": ["partsupp_1.ps_supplycost"], "Inner Unique": false, "Join Filter": "(nation_1.n_regionkey = region_1.r_regionkey)", "Rows Removed by Join Filter": 3, "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Relation Name": "region", "Schema": "public", "Alias": "region_1", "Startup Cost": 0.0, "Total Cost": 1.06, "Plan Rows": 1, "Plan Width": 4, "Actual Startup Time": 0.001, "Actual Total Time": 0.001, "Actual Rows": 1, "Actual Loops": 1363, "Output": ["region_1.r_regionkey", "region_1.r_name", "region_1.r_comment"], "Filter": "(region_1.r_name = 'EUROPE'::bpchar)", "Rows Removed by Filter": 4}, {"Node Type": "Nested Loop", "Parent Relationship": "Inner", "Parallel Aware": false, "Async Capable": false, "Join Type": "Inner", "Startup Cost": 0.85, "Total Cost": 13.33, "Plan Rows": 4, "Plan Width": 10, "Actual Startup Time": 0.006, "Actual Total Time": 0.017, "Actual Rows": 4, "Actual Loops": 1363, "Output": ["partsupp_1.ps_supplycost", "nation_1.n_regionkey"], "Inner Unique": true, "Plans": [{"Node Type": "Nested Loop", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Join Type": "Inner", "Startup Cost": 0.71, "Total Cost": 12.71, "Plan Rows": 4, "Plan Width": 10, "Actual Startup Time": 0.005, "Actual Total Time": 0.012, "Actual Rows": 4, "Actual Loops": 1363, "Output": ["partsupp_1.ps_supplycost", "supplier_1.s_nationkey"], "Inner Unique": true, "Plans": [{"Node Type": "Index Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Scan Direction": "Forward", "Index Name": "ps_pk", "Relation Name": "partsupp", "Schema": "public", "Alias": "partsupp_1", "Startup Cost": 0.42, "Total Cost": 2.7, "Plan Rows": 4, "Plan Width": 10, "Actual Startup Time": 0.003, "Actual Total Time": 0.004, "Actual Rows": 4, "Actual Loops": 1363, "Output": ["partsupp_1.ps_partkey", "partsupp_1.ps_suppkey", "partsupp_1.ps_availqty", "partsupp_1.ps_supplycost", "partsupp_1.ps_comment"], "Index Cond": "(partsupp_1.ps_partkey = part.p_partkey)", "Rows Removed by Index Recheck": 0}, {"Node Type": "Index Scan", "Parent Relationship": "Inner", "Parallel Aware": false, "Async Capable": false, "Scan Direction": "Forward", "Index Name": "s_sk", "Relation Name": "supplier", "Schema": "public", "Alias": "supplier_1", "Startup Cost": 0.29, "Total Cost": 2.5, "Plan Rows": 1, "Plan Width": 8, "Actual Startup Time": 0.002, "Actual Total Time": 0.002, "Actual Rows": 1, "Actual Loops": 5452, "Output": ["supplier_1.s_suppkey", "supplier_1.s_name", "supplier_1.s_address", "supplier_1.s_nationkey", "supplier_1.s_phone", "supplier_1.s_acctbal", "supplier_1.s_comment"], "Index Cond": "(supplier_1.s_suppkey = partsupp_1.ps_suppkey)", "Rows Removed by Index Recheck": 0}]}, {"Node Type": "Index Scan", "Parent Relationship": "Inner", "Parallel Aware": false, "Async Capable": false, "Scan Direction": "Forward", "Index Name": "n_nk", "Relation Name": "nation", "Schema": "public", "Alias": "nation_1", "Startup Cost": 0.14, "Total Cost": 0.16, "Plan Rows": 1, "Plan Width": 8, "Actual Startup Time": 0.001, "Actual Total Time": 0.001, "Actual Rows": 1, "Actual Loops": 5452, "Output": ["nation_1.n_nationkey", "nation_1.n_name", "nation_1.n_regionkey", "nation_1.n_comment"], "Index Cond": "(nation_1.n_nationkey = supplier_1.s_nationkey)", "Rows Removed by Index Recheck": 0}]}]}]}]}]}]}, "Planning Time": 2.199, "Triggers": [], "Execution Time": 258.881} diff --git a/dev9/pg14/tpch/sf_1/explain_analyze/15721/20-1.ok b/dev9/pg14/tpch/sf_1/explain_analyze/15721/20-1.ok new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/dev9/pg14/tpch/sf_1/explain_analyze/15721/20-1.res b/dev9/pg14/tpch/sf_1/explain_analyze/15721/20-1.res new file mode 100644 index 0000000000000000000000000000000000000000..14735a328775b94150367fbc16061e310dd815a7 --- /dev/null +++ b/dev9/pg14/tpch/sf_1/explain_analyze/15721/20-1.res @@ -0,0 +1 @@ +{"Plan": {"Node Type": "Sort", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 37666.25, "Total Cost": 37666.57, "Plan Rows": 128, "Plan Width": 51, "Actual Startup Time": 150.928, "Actual Total Time": 150.941, "Actual Rows": 187, "Actual Loops": 1, "Output": ["supplier.s_name", "supplier.s_address"], "Sort Key": ["supplier.s_name"], "Sort Method": "quicksort", "Sort Space Used": 46, "Sort Space Type": "Memory", "Plans": [{"Node Type": "Hash Join", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Join Type": "Semi", "Startup Cost": 37437.29, "Total Cost": 37661.77, "Plan Rows": 128, "Plan Width": 51, "Actual Startup Time": 150.411, "Actual Total Time": 150.792, "Actual Rows": 187, "Actual Loops": 1, "Output": ["supplier.s_name", "supplier.s_address"], "Inner Unique": false, "Hash Cond": "(supplier.s_suppkey = partsupp.ps_suppkey)", "Plans": [{"Node Type": "Nested Loop", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Join Type": "Inner", "Startup Cost": 4.48, "Total Cost": 226.33, "Plan Rows": 400, "Plan Width": 55, "Actual Startup Time": 0.065, "Actual Total Time": 0.371, "Actual Rows": 396, "Actual Loops": 1, "Output": ["supplier.s_name", "supplier.s_address", "supplier.s_suppkey"], "Inner Unique": false, "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Relation Name": "nation", "Schema": "public", "Alias": "nation", "Startup Cost": 0.0, "Total Cost": 1.31, "Plan Rows": 1, "Plan Width": 4, "Actual Startup Time": 0.006, "Actual Total Time": 0.01, "Actual Rows": 1, "Actual Loops": 1, "Output": ["nation.n_nationkey", "nation.n_name", "nation.n_regionkey", "nation.n_comment"], "Filter": "(nation.n_name = 'GERMANY'::bpchar)", "Rows Removed by Filter": 24}, {"Node Type": "Bitmap Heap Scan", "Parent Relationship": "Inner", "Parallel Aware": false, "Async Capable": false, "Relation Name": "supplier", "Schema": "public", "Alias": "supplier", "Startup Cost": 4.48, "Total Cost": 221.01, "Plan Rows": 400, "Plan Width": 59, "Actual Startup Time": 0.057, "Actual Total Time": 0.296, "Actual Rows": 396, "Actual Loops": 1, "Output": ["supplier.s_suppkey", "supplier.s_name", "supplier.s_address", "supplier.s_nationkey", "supplier.s_phone", "supplier.s_acctbal", "supplier.s_comment"], "Recheck Cond": "(supplier.s_nationkey = nation.n_nationkey)", "Rows Removed by Index Recheck": 0, "Exact Heap Blocks": 191, "Lossy Heap Blocks": 0, "Plans": [{"Node Type": "Bitmap Index Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Index Name": "s_nk", "Startup Cost": 0.0, "Total Cost": 4.38, "Plan Rows": 400, "Plan Width": 0, "Actual Startup Time": 0.025, "Actual Total Time": 0.025, "Actual Rows": 396, "Actual Loops": 1, "Index Cond": "(supplier.s_nationkey = nation.n_nationkey)"}]}]}, {"Node Type": "Hash", "Parent Relationship": "Inner", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 37392.72, "Total Cost": 37392.72, "Plan Rows": 3207, "Plan Width": 4, "Actual Startup Time": 150.337, "Actual Total Time": 150.338, "Actual Rows": 5970, "Actual Loops": 1, "Output": ["partsupp.ps_suppkey"], "Hash Buckets": 8192, "Original Hash Buckets": 4096, "Hash Batches": 1, "Original Hash Batches": 1, "Peak Memory Usage": 274, "Plans": [{"Node Type": "Nested Loop", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Join Type": "Inner", "Startup Cost": 0.42, "Total Cost": 37392.72, "Plan Rows": 3207, "Plan Width": 4, "Actual Startup Time": 0.085, "Actual Total Time": 148.945, "Actual Rows": 5970, "Actual Loops": 1, "Output": ["partsupp.ps_suppkey"], "Inner Unique": false, "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Relation Name": "part", "Schema": "public", "Alias": "part", "Startup Cost": 0.0, "Total Cost": 6597.0, "Plan Rows": 2405, "Plan Width": 4, "Actual Startup Time": 0.023, "Actual Total Time": 29.74, "Actual Rows": 2186, "Actual Loops": 1, "Output": ["part.p_partkey", "part.p_name", "part.p_mfgr", "part.p_brand", "part.p_type", "part.p_size", "part.p_container", "part.p_retailprice", "part.p_comment"], "Filter": "((part.p_name)::text ~~ 'floral%'::text)", "Rows Removed by Filter": 197814}, {"Node Type": "Index Scan", "Parent Relationship": "Inner", "Parallel Aware": false, "Async Capable": false, "Scan Direction": "Forward", "Index Name": "ps_pk", "Relation Name": "partsupp", "Schema": "public", "Alias": "partsupp", "Startup Cost": 0.42, "Total Cost": 12.79, "Plan Rows": 1, "Plan Width": 8, "Actual Startup Time": 0.021, "Actual Total Time": 0.054, "Actual Rows": 3, "Actual Loops": 2186, "Output": ["partsupp.ps_partkey", "partsupp.ps_suppkey", "partsupp.ps_availqty", "partsupp.ps_supplycost", "partsupp.ps_comment"], "Index Cond": "(partsupp.ps_partkey = part.p_partkey)", "Rows Removed by Index Recheck": 0, "Filter": "((partsupp.ps_availqty)::numeric > (SubPlan 1))", "Rows Removed by Filter": 1, "Plans": [{"Node Type": "Aggregate", "Strategy": "Plain", "Partial Mode": "Simple", "Parent Relationship": "SubPlan", "Subplan Name": "SubPlan 1", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 2.66, "Total Cost": 2.68, "Plan Rows": 1, "Plan Width": 32, "Actual Startup Time": 0.012, "Actual Total Time": 0.012, "Actual Rows": 1, "Actual Loops": 8744, "Output": ["(0.5 * sum(lineitem.l_quantity))"], "Plans": [{"Node Type": "Index Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Scan Direction": "Forward", "Index Name": "l_sk_pk", "Relation Name": "lineitem", "Schema": "public", "Alias": "lineitem", "Startup Cost": 0.43, "Total Cost": 2.66, "Plan Rows": 1, "Plan Width": 5, "Actual Startup Time": 0.008, "Actual Total Time": 0.011, "Actual Rows": 1, "Actual Loops": 8744, "Output": ["lineitem.l_orderkey", "lineitem.l_partkey", "lineitem.l_suppkey", "lineitem.l_linenumber", "lineitem.l_quantity", "lineitem.l_extendedprice", "lineitem.l_discount", "lineitem.l_tax", "lineitem.l_returnflag", "lineitem.l_linestatus", "lineitem.l_shipdate", "lineitem.l_commitdate", "lineitem.l_receiptdate", "lineitem.l_shipinstruct", "lineitem.l_shipmode", "lineitem.l_comment"], "Index Cond": "((lineitem.l_suppkey = partsupp.ps_suppkey) AND (lineitem.l_partkey = partsupp.ps_partkey))", "Rows Removed by Index Recheck": 0, "Filter": "((lineitem.l_shipdate >= '1996-01-01'::date) AND (lineitem.l_shipdate < '1997-01-01 00:00:00'::timestamp without time zone))", "Rows Removed by Filter": 6}]}]}]}]}]}]}, "Planning Time": 0.764, "Triggers": [], "Execution Time": 150.999} diff --git a/dev9/pg14/tpch/sf_1/explain_analyze/15721/21-1.ok b/dev9/pg14/tpch/sf_1/explain_analyze/15721/21-1.ok new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/dev9/pg14/tpch/sf_1/explain_analyze/15721/21-1.res b/dev9/pg14/tpch/sf_1/explain_analyze/15721/21-1.res new file mode 100644 index 0000000000000000000000000000000000000000..0861f596898dc21702ef5ac81e6f872b1029790e --- /dev/null +++ b/dev9/pg14/tpch/sf_1/explain_analyze/15721/21-1.res @@ -0,0 +1 @@ +{"Plan": {"Node Type": "Limit", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 53688.68, "Total Cost": 53688.69, "Plan Rows": 1, "Plan Width": 34, "Actual Startup Time": 553.794, "Actual Total Time": 580.298, "Actual Rows": 100, "Actual Loops": 1, "Output": ["supplier.s_name", "(count(*))"], "Plans": [{"Node Type": "Sort", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 53688.68, "Total Cost": 53688.69, "Plan Rows": 1, "Plan Width": 34, "Actual Startup Time": 553.793, "Actual Total Time": 580.288, "Actual Rows": 100, "Actual Loops": 1, "Output": ["supplier.s_name", "(count(*))"], "Sort Key": ["(count(*)) DESC", "supplier.s_name"], "Sort Method": "top-N heapsort", "Sort Space Used": 37, "Sort Space Type": "Memory", "Plans": [{"Node Type": "Aggregate", "Strategy": "Sorted", "Partial Mode": "Simple", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 53688.65, "Total Cost": 53688.67, "Plan Rows": 1, "Plan Width": 34, "Actual Startup Time": 552.414, "Actual Total Time": 579.781, "Actual Rows": 407, "Actual Loops": 1, "Output": ["supplier.s_name", "count(*)"], "Group Key": ["supplier.s_name"], "Plans": [{"Node Type": "Sort", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 53688.65, "Total Cost": 53688.66, "Plan Rows": 1, "Plan Width": 26, "Actual Startup Time": 552.402, "Actual Total Time": 579.123, "Actual Rows": 3965, "Actual Loops": 1, "Output": ["supplier.s_name"], "Sort Key": ["supplier.s_name"], "Sort Method": "quicksort", "Sort Space Used": 406, "Sort Space Type": "Memory", "Plans": [{"Node Type": "Nested Loop", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Join Type": "Semi", "Startup Cost": 13174.92, "Total Cost": 53688.64, "Plan Rows": 1, "Plan Width": 26, "Actual Startup Time": 292.9, "Actual Total Time": 564.267, "Actual Rows": 3965, "Actual Loops": 1, "Output": ["supplier.s_name"], "Inner Unique": false, "Join Filter": "(orders.o_orderkey = l2.l_orderkey)", "Rows Removed by Join Filter": 0, "Plans": [{"Node Type": "Gather", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 13174.49, "Total Cost": 53688.02, "Plan Rows": 1, "Plan Width": 38, "Actual Startup Time": 292.834, "Actual Total Time": 542.581, "Actual Rows": 6626, "Actual Loops": 1, "Output": ["supplier.s_name", "l1.l_suppkey", "l1.l_orderkey", "orders.o_orderkey"], "Workers Planned": 3, "Workers Launched": 3, "Single Copy": false, "Plans": [{"Node Type": "Nested Loop", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Join Type": "Anti", "Startup Cost": 12174.49, "Total Cost": 52687.92, "Plan Rows": 1, "Plan Width": 38, "Actual Startup Time": 340.908, "Actual Total Time": 527.384, "Actual Rows": 1656, "Actual Loops": 4, "Output": ["supplier.s_name", "l1.l_suppkey", "l1.l_orderkey", "orders.o_orderkey"], "Inner Unique": false, "Workers": [{"Worker Number": 0, "Actual Startup Time": 359.068, "Actual Total Time": 532.15, "Actual Rows": 1540, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 359.325, "Actual Total Time": 532.272, "Actual Rows": 1482, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 352.861, "Actual Total Time": 532.407, "Actual Rows": 1603, "Actual Loops": 1}], "Plans": [{"Node Type": "Hash Join", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Join Type": "Inner", "Startup Cost": 12174.06, "Total Cost": 45327.86, "Plan Rows": 12583, "Plan Width": 38, "Actual Startup Time": 340.772, "Actual Total Time": 459.57, "Actual Rows": 18520, "Actual Loops": 4, "Output": ["supplier.s_name", "l1.l_suppkey", "l1.l_orderkey", "orders.o_orderkey"], "Inner Unique": false, "Hash Cond": "(orders.o_orderkey = l1.l_orderkey)", "Workers": [{"Worker Number": 0, "Actual Startup Time": 358.99, "Actual Total Time": 468.07, "Actual Rows": 17012, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 359.015, "Actual Total Time": 468.143, "Actual Rows": 17113, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 352.767, "Actual Total Time": 467.506, "Actual Rows": 17389, "Actual Loops": 1}], "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": true, "Async Capable": false, "Relation Name": "orders", "Schema": "public", "Alias": "orders", "Startup Cost": 0.0, "Total Cost": 32143.39, "Plan Rows": 235890, "Plan Width": 4, "Actual Startup Time": 0.024, "Actual Total Time": 77.021, "Actual Rows": 182353, "Actual Loops": 4, "Output": ["orders.o_orderkey", "orders.o_custkey", "orders.o_orderstatus", "orders.o_totalprice", "orders.o_orderdate", "orders.o_orderpriority", "orders.o_clerk", "orders.o_shippriority", "orders.o_comment"], "Filter": "(orders.o_orderstatus = 'F'::bpchar)", "Rows Removed by Filter": 192647, "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.03, "Actual Total Time": 72.563, "Actual Rows": 167460, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 0.029, "Actual Total Time": 72.723, "Actual Rows": 168419, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 0.031, "Actual Total Time": 74.231, "Actual Rows": 172424, "Actual Loops": 1}]}, {"Node Type": "Hash", "Parent Relationship": "Inner", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 11173.86, "Total Cost": 11173.86, "Plan Rows": 80016, "Plan Width": 34, "Actual Startup Time": 340.092, "Actual Total Time": 340.095, "Actual Rows": 153758, "Actual Loops": 4, "Output": ["supplier.s_name", "l1.l_suppkey", "l1.l_orderkey"], "Hash Buckets": 262144, "Original Hash Buckets": 131072, "Hash Batches": 1, "Original Hash Batches": 1, "Peak Memory Usage": 12259, "Workers": [{"Worker Number": 0, "Actual Startup Time": 358.127, "Actual Total Time": 358.131, "Actual Rows": 153758, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 358.175, "Actual Total Time": 358.179, "Actual Rows": 153758, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 351.919, "Actual Total Time": 351.922, "Actual Rows": 153758, "Actual Loops": 1}], "Plans": [{"Node Type": "Nested Loop", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Join Type": "Inner", "Startup Cost": 4.92, "Total Cost": 11173.86, "Plan Rows": 80016, "Plan Width": 34, "Actual Startup Time": 0.18, "Actual Total Time": 296.374, "Actual Rows": 153758, "Actual Loops": 4, "Output": ["supplier.s_name", "l1.l_suppkey", "l1.l_orderkey"], "Inner Unique": false, "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.211, "Actual Total Time": 312.623, "Actual Rows": 153758, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 0.215, "Actual Total Time": 312.795, "Actual Rows": 153758, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 0.207, "Actual Total Time": 306.455, "Actual Rows": 153758, "Actual Loops": 1}], "Plans": [{"Node Type": "Nested Loop", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Join Type": "Inner", "Startup Cost": 4.48, "Total Cost": 226.33, "Plan Rows": 400, "Plan Width": 30, "Actual Startup Time": 0.111, "Actual Total Time": 0.665, "Actual Rows": 407, "Actual Loops": 4, "Output": ["supplier.s_name", "supplier.s_suppkey"], "Inner Unique": false, "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.124, "Actual Total Time": 0.705, "Actual Rows": 407, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 0.126, "Actual Total Time": 0.699, "Actual Rows": 407, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 0.124, "Actual Total Time": 0.724, "Actual Rows": 407, "Actual Loops": 1}], "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Relation Name": "nation", "Schema": "public", "Alias": "nation", "Startup Cost": 0.0, "Total Cost": 1.31, "Plan Rows": 1, "Plan Width": 4, "Actual Startup Time": 0.017, "Actual Total Time": 0.02, "Actual Rows": 1, "Actual Loops": 4, "Output": ["nation.n_nationkey", "nation.n_name", "nation.n_regionkey", "nation.n_comment"], "Filter": "(nation.n_name = 'CHINA'::bpchar)", "Rows Removed by Filter": 24, "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.02, "Actual Total Time": 0.023, "Actual Rows": 1, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 0.02, "Actual Total Time": 0.023, "Actual Rows": 1, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 0.02, "Actual Total Time": 0.025, "Actual Rows": 1, "Actual Loops": 1}]}, {"Node Type": "Bitmap Heap Scan", "Parent Relationship": "Inner", "Parallel Aware": false, "Async Capable": false, "Relation Name": "supplier", "Schema": "public", "Alias": "supplier", "Startup Cost": 4.48, "Total Cost": 221.01, "Plan Rows": 400, "Plan Width": 34, "Actual Startup Time": 0.091, "Actual Total Time": 0.559, "Actual Rows": 407, "Actual Loops": 4, "Output": ["supplier.s_suppkey", "supplier.s_name", "supplier.s_address", "supplier.s_nationkey", "supplier.s_phone", "supplier.s_acctbal", "supplier.s_comment"], "Recheck Cond": "(supplier.s_nationkey = nation.n_nationkey)", "Rows Removed by Index Recheck": 0, "Exact Heap Blocks": 186, "Lossy Heap Blocks": 0, "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.101, "Actual Total Time": 0.598, "Actual Rows": 407, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 0.103, "Actual Total Time": 0.591, "Actual Rows": 407, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 0.101, "Actual Total Time": 0.614, "Actual Rows": 407, "Actual Loops": 1}], "Plans": [{"Node Type": "Bitmap Index Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Index Name": "s_nk", "Startup Cost": 0.0, "Total Cost": 4.38, "Plan Rows": 400, "Plan Width": 0, "Actual Startup Time": 0.049, "Actual Total Time": 0.049, "Actual Rows": 407, "Actual Loops": 4, "Index Cond": "(supplier.s_nationkey = nation.n_nationkey)", "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.056, "Actual Total Time": 0.056, "Actual Rows": 407, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 0.057, "Actual Total Time": 0.058, "Actual Rows": 407, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 0.056, "Actual Total Time": 0.056, "Actual Rows": 407, "Actual Loops": 1}]}]}]}, {"Node Type": "Index Scan", "Parent Relationship": "Inner", "Parallel Aware": false, "Async Capable": false, "Scan Direction": "Forward", "Index Name": "l_sk", "Relation Name": "lineitem", "Schema": "public", "Alias": "l1", "Startup Cost": 0.43, "Total Cost": 25.37, "Plan Rows": 200, "Plan Width": 8, "Actual Startup Time": 0.01, "Actual Total Time": 0.682, "Actual Rows": 378, "Actual Loops": 1628, "Output": ["l1.l_orderkey", "l1.l_partkey", "l1.l_suppkey", "l1.l_linenumber", "l1.l_quantity", "l1.l_extendedprice", "l1.l_discount", "l1.l_tax", "l1.l_returnflag", "l1.l_linestatus", "l1.l_shipdate", "l1.l_commitdate", "l1.l_receiptdate", "l1.l_shipinstruct", "l1.l_shipmode", "l1.l_comment"], "Index Cond": "(l1.l_suppkey = supplier.s_suppkey)", "Rows Removed by Index Recheck": 0, "Filter": "(l1.l_receiptdate > l1.l_commitdate)", "Rows Removed by Filter": 221, "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.011, "Actual Total Time": 0.723, "Actual Rows": 378, "Actual Loops": 407}, {"Worker Number": 1, "Actual Startup Time": 0.011, "Actual Total Time": 0.723, "Actual Rows": 378, "Actual Loops": 407}, {"Worker Number": 2, "Actual Startup Time": 0.01, "Actual Total Time": 0.708, "Actual Rows": 378, "Actual Loops": 407}]}]}]}]}, {"Node Type": "Index Scan", "Parent Relationship": "Inner", "Parallel Aware": false, "Async Capable": false, "Scan Direction": "Forward", "Index Name": "l_ok", "Relation Name": "lineitem", "Schema": "public", "Alias": "l3", "Startup Cost": 0.43, "Total Cost": 0.61, "Plan Rows": 2, "Plan Width": 8, "Actual Startup Time": 0.003, "Actual Total Time": 0.003, "Actual Rows": 1, "Actual Loops": 74080, "Output": ["l3.l_orderkey", "l3.l_partkey", "l3.l_suppkey", "l3.l_linenumber", "l3.l_quantity", "l3.l_extendedprice", "l3.l_discount", "l3.l_tax", "l3.l_returnflag", "l3.l_linestatus", "l3.l_shipdate", "l3.l_commitdate", "l3.l_receiptdate", "l3.l_shipinstruct", "l3.l_shipmode", "l3.l_comment"], "Index Cond": "(l3.l_orderkey = l1.l_orderkey)", "Rows Removed by Index Recheck": 0, "Filter": "((l3.l_receiptdate > l3.l_commitdate) AND (l3.l_suppkey <> l1.l_suppkey))", "Rows Removed by Filter": 1, "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.003, "Actual Total Time": 0.003, "Actual Rows": 1, "Actual Loops": 17012}, {"Worker Number": 1, "Actual Startup Time": 0.003, "Actual Total Time": 0.003, "Actual Rows": 1, "Actual Loops": 17113}, {"Worker Number": 2, "Actual Startup Time": 0.003, "Actual Total Time": 0.003, "Actual Rows": 1, "Actual Loops": 17389}]}]}]}, {"Node Type": "Index Scan", "Parent Relationship": "Inner", "Parallel Aware": false, "Async Capable": false, "Scan Direction": "Forward", "Index Name": "l_ok", "Relation Name": "lineitem", "Schema": "public", "Alias": "l2", "Startup Cost": 0.43, "Total Cost": 0.6, "Plan Rows": 5, "Plan Width": 8, "Actual Startup Time": 0.003, "Actual Total Time": 0.003, "Actual Rows": 1, "Actual Loops": 6626, "Output": ["l2.l_orderkey", "l2.l_partkey", "l2.l_suppkey", "l2.l_linenumber", "l2.l_quantity", "l2.l_extendedprice", "l2.l_discount", "l2.l_tax", "l2.l_returnflag", "l2.l_linestatus", "l2.l_shipdate", "l2.l_commitdate", "l2.l_receiptdate", "l2.l_shipinstruct", "l2.l_shipmode", "l2.l_comment"], "Index Cond": "(l2.l_orderkey = l1.l_orderkey)", "Rows Removed by Index Recheck": 0, "Filter": "(l2.l_suppkey <> l1.l_suppkey)", "Rows Removed by Filter": 1}]}]}]}]}]}, "Planning Time": 2.488, "Triggers": [], "Execution Time": 580.421} diff --git a/dev9/pg14/tpch/sf_1/explain_analyze/15721/22-1.ok b/dev9/pg14/tpch/sf_1/explain_analyze/15721/22-1.ok new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/dev9/pg14/tpch/sf_1/explain_analyze/15721/22-1.res b/dev9/pg14/tpch/sf_1/explain_analyze/15721/22-1.res new file mode 100644 index 0000000000000000000000000000000000000000..123c5c0d66c00a6182416ae4352db456ec96f6d5 --- /dev/null +++ b/dev9/pg14/tpch/sf_1/explain_analyze/15721/22-1.res @@ -0,0 +1 @@ +{"Plan": {"Node Type": "Aggregate", "Strategy": "Sorted", "Partial Mode": "Finalize", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 12857.59, "Total Cost": 12947.28, "Plan Rows": 672, "Plan Width": 72, "Actual Startup Time": 90.96, "Actual Total Time": 95.191, "Actual Rows": 7, "Actual Loops": 1, "Output": ["(SUBSTRING(customer.c_phone FROM 1 FOR 2))", "count(*)", "sum(customer.c_acctbal)"], "Group Key": ["(SUBSTRING(customer.c_phone FROM 1 FOR 2))"], "Plans": [{"Node Type": "Aggregate", "Strategy": "Plain", "Partial Mode": "Finalize", "Parent Relationship": "InitPlan", "Subplan Name": "InitPlan 1 (returns $1)", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 6230.82, "Total Cost": 6230.83, "Plan Rows": 1, "Plan Width": 32, "Actual Startup Time": 41.794, "Actual Total Time": 41.855, "Actual Rows": 1, "Actual Loops": 1, "Output": ["avg(customer_1.c_acctbal)"], "Plans": [{"Node Type": "Gather", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 6230.6, "Total Cost": 6230.81, "Plan Rows": 2, "Plan Width": 32, "Actual Startup Time": 41.745, "Actual Total Time": 41.844, "Actual Rows": 3, "Actual Loops": 1, "Output": ["(PARTIAL avg(customer_1.c_acctbal))"], "Workers Planned": 2, "Workers Launched": 2, "Single Copy": false, "Plans": [{"Node Type": "Aggregate", "Strategy": "Plain", "Partial Mode": "Partial", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 5230.6, "Total Cost": 5230.61, "Plan Rows": 1, "Plan Width": 32, "Actual Startup Time": 39.11, "Actual Total Time": 39.111, "Actual Rows": 1, "Actual Loops": 3, "Output": ["PARTIAL avg(customer_1.c_acctbal)"], "Workers": [{"Worker Number": 0, "Actual Startup Time": 37.802, "Actual Total Time": 37.803, "Actual Rows": 1, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 38.035, "Actual Total Time": 38.036, "Actual Rows": 1, "Actual Loops": 1}], "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": true, "Async Capable": false, "Relation Name": "customer", "Schema": "public", "Alias": "customer_1", "Startup Cost": 0.0, "Total Cost": 5225.62, "Plan Rows": 1988, "Plan Width": 6, "Actual Startup Time": 0.031, "Actual Total Time": 37.538, "Actual Rows": 12636, "Actual Loops": 3, "Output": ["customer_1.c_custkey", "customer_1.c_name", "customer_1.c_address", "customer_1.c_nationkey", "customer_1.c_phone", "customer_1.c_acctbal", "customer_1.c_mktsegment", "customer_1.c_comment"], "Filter": "((customer_1.c_acctbal > 0.00) AND (SUBSTRING(customer_1.c_phone FROM 1 FOR 2) = ANY ('{17,20,25,31,30,11,33}'::text[])))", "Rows Removed by Filter": 37364, "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.045, "Actual Total Time": 36.321, "Actual Rows": 11677, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 0.038, "Actual Total Time": 36.54, "Actual Rows": 11739, "Actual Loops": 1}]}]}]}]}, {"Node Type": "Gather Merge", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 6626.76, "Total Cost": 6699.09, "Plan Rows": 560, "Plan Width": 72, "Actual Startup Time": 90.859, "Actual Total Time": 95.105, "Actual Rows": 21, "Actual Loops": 1, "Output": ["(SUBSTRING(customer.c_phone FROM 1 FOR 2))", "(PARTIAL count(*))", "(PARTIAL sum(customer.c_acctbal))"], "Workers Planned": 2, "Params Evaluated": ["$1"], "Workers Launched": 2, "Plans": [{"Node Type": "Aggregate", "Strategy": "Sorted", "Partial Mode": "Partial", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 5626.73, "Total Cost": 5634.43, "Plan Rows": 280, "Plan Width": 72, "Actual Startup Time": 45.765, "Actual Total Time": 46.249, "Actual Rows": 7, "Actual Loops": 3, "Output": ["(SUBSTRING(customer.c_phone FROM 1 FOR 2))", "PARTIAL count(*)", "PARTIAL sum(customer.c_acctbal)"], "Group Key": ["(SUBSTRING(customer.c_phone FROM 1 FOR 2))"], "Workers": [{"Worker Number": 0, "Actual Startup Time": 44.315, "Actual Total Time": 44.75, "Actual Rows": 7, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 44.585, "Actual Total Time": 45.036, "Actual Rows": 7, "Actual Loops": 1}], "Plans": [{"Node Type": "Sort", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 5626.73, "Total Cost": 5627.43, "Plan Rows": 280, "Plan Width": 38, "Actual Startup Time": 45.675, "Actual Total Time": 45.801, "Actual Rows": 2112, "Actual Loops": 3, "Output": ["(SUBSTRING(customer.c_phone FROM 1 FOR 2))", "customer.c_acctbal"], "Sort Key": ["(SUBSTRING(customer.c_phone FROM 1 FOR 2))"], "Sort Method": "quicksort", "Sort Space Used": 211, "Sort Space Type": "Memory", "Workers": [{"Worker Number": 0, "Actual Startup Time": 44.23, "Actual Total Time": 44.345, "Actual Rows": 1913, "Actual Loops": 1, "Sort Method": "quicksort", "Sort Space Used": 138, "Sort Space Type": "Memory"}, {"Worker Number": 1, "Actual Startup Time": 44.502, "Actual Total Time": 44.62, "Actual Rows": 1971, "Actual Loops": 1, "Sort Method": "quicksort", "Sort Space Used": 141, "Sort Space Type": "Memory"}], "Plans": [{"Node Type": "Nested Loop", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Join Type": "Anti", "Startup Cost": 0.43, "Total Cost": 5615.35, "Plan Rows": 280, "Plan Width": 38, "Actual Startup Time": 0.07, "Actual Total Time": 44.85, "Actual Rows": 2112, "Actual Loops": 3, "Output": ["SUBSTRING(customer.c_phone FROM 1 FOR 2)", "customer.c_acctbal"], "Inner Unique": false, "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.091, "Actual Total Time": 43.405, "Actual Rows": 1913, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 0.099, "Actual Total Time": 43.72, "Actual Rows": 1971, "Actual Loops": 1}], "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": true, "Async Capable": false, "Relation Name": "customer", "Schema": "public", "Alias": "customer", "Startup Cost": 0.0, "Total Cost": 5225.62, "Plan Rows": 729, "Plan Width": 26, "Actual Startup Time": 0.024, "Actual Total Time": 27.49, "Actual Rows": 6294, "Actual Loops": 3, "Output": ["customer.c_custkey", "customer.c_name", "customer.c_address", "customer.c_nationkey", "customer.c_phone", "customer.c_acctbal", "customer.c_mktsegment", "customer.c_comment"], "Filter": "((customer.c_acctbal > $1) AND (SUBSTRING(customer.c_phone FROM 1 FOR 2) = ANY ('{17,20,25,31,30,11,33}'::text[])))", "Rows Removed by Filter": 43706, "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.035, "Actual Total Time": 26.325, "Actual Rows": 5728, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 0.029, "Actual Total Time": 26.66, "Actual Rows": 5752, "Actual Loops": 1}]}, {"Node Type": "Index Only Scan", "Parent Relationship": "Inner", "Parallel Aware": false, "Async Capable": false, "Scan Direction": "Forward", "Index Name": "o_ck", "Relation Name": "orders", "Schema": "public", "Alias": "orders", "Startup Cost": 0.43, "Total Cost": 1.41, "Plan Rows": 16, "Plan Width": 4, "Actual Startup Time": 0.002, "Actual Total Time": 0.002, "Actual Rows": 1, "Actual Loops": 18883, "Output": ["orders.o_custkey"], "Index Cond": "(orders.o_custkey = customer.c_custkey)", "Rows Removed by Index Recheck": 0, "Heap Fetches": 0, "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.003, "Actual Total Time": 0.003, "Actual Rows": 1, "Actual Loops": 5728}, {"Worker Number": 1, "Actual Startup Time": 0.003, "Actual Total Time": 0.003, "Actual Rows": 1, "Actual Loops": 5752}]}]}]}]}]}]}, "Planning Time": 0.405, "Triggers": [], "Execution Time": 95.251} diff --git a/dev9/pg14/tpch/sf_1/explain_analyze/15721/3-1.ok b/dev9/pg14/tpch/sf_1/explain_analyze/15721/3-1.ok new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/dev9/pg14/tpch/sf_1/explain_analyze/15721/3-1.res b/dev9/pg14/tpch/sf_1/explain_analyze/15721/3-1.res new file mode 100644 index 0000000000000000000000000000000000000000..e2524602590fb08f0d2fb1f3b6627ea244978084 --- /dev/null +++ b/dev9/pg14/tpch/sf_1/explain_analyze/15721/3-1.res @@ -0,0 +1 @@ +{"Plan": {"Node Type": "Limit", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 133290.61, "Total Cost": 133290.64, "Plan Rows": 10, "Plan Width": 44, "Actual Startup Time": 471.989, "Actual Total Time": 561.432, "Actual Rows": 10, "Actual Loops": 1, "Output": ["lineitem.l_orderkey", "(sum((lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount))))", "orders.o_orderdate", "orders.o_shippriority"], "Plans": [{"Node Type": "Sort", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 133290.61, "Total Cost": 134078.66, "Plan Rows": 315218, "Plan Width": 44, "Actual Startup Time": 471.987, "Actual Total Time": 561.428, "Actual Rows": 10, "Actual Loops": 1, "Output": ["lineitem.l_orderkey", "(sum((lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount))))", "orders.o_orderdate", "orders.o_shippriority"], "Sort Key": ["(sum((lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount)))) DESC", "orders.o_orderdate"], "Sort Method": "top-N heapsort", "Sort Space Used": 26, "Sort Space Type": "Memory", "Plans": [{"Node Type": "Aggregate", "Strategy": "Sorted", "Partial Mode": "Finalize", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 84994.87, "Total Cost": 126478.87, "Plan Rows": 315218, "Plan Width": 44, "Actual Startup Time": 447.07, "Actual Total Time": 558.683, "Actual Rows": 11439, "Actual Loops": 1, "Output": ["lineitem.l_orderkey", "sum((lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount)))", "orders.o_orderdate", "orders.o_shippriority"], "Group Key": ["lineitem.l_orderkey", "orders.o_orderdate", "orders.o_shippriority"], "Plans": [{"Node Type": "Gather Merge", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 84994.87, "Total Cost": 119255.12, "Plan Rows": 262682, "Plan Width": 44, "Actual Startup Time": 447.056, "Actual Total Time": 548.887, "Actual Rows": 11439, "Actual Loops": 1, "Output": ["lineitem.l_orderkey", "orders.o_orderdate", "orders.o_shippriority", "(PARTIAL sum((lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount))))"], "Workers Planned": 2, "Workers Launched": 2, "Plans": [{"Node Type": "Aggregate", "Strategy": "Sorted", "Partial Mode": "Partial", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 83994.84, "Total Cost": 87935.07, "Plan Rows": 131341, "Plan Width": 44, "Actual Startup Time": 443.529, "Actual Total Time": 452.518, "Actual Rows": 3813, "Actual Loops": 3, "Output": ["lineitem.l_orderkey", "orders.o_orderdate", "orders.o_shippriority", "PARTIAL sum((lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount)))"], "Group Key": ["lineitem.l_orderkey", "orders.o_orderdate", "orders.o_shippriority"], "Workers": [{"Worker Number": 0, "Actual Startup Time": 441.828, "Actual Total Time": 450.179, "Actual Rows": 3556, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 442.049, "Actual Total Time": 450.501, "Actual Rows": 3609, "Actual Loops": 1}], "Plans": [{"Node Type": "Sort", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 83994.84, "Total Cost": 84323.19, "Plan Rows": 131341, "Plan Width": 24, "Actual Startup Time": 443.508, "Actual Total Time": 444.299, "Actual Rows": 10095, "Actual Loops": 3, "Output": ["lineitem.l_orderkey", "orders.o_orderdate", "orders.o_shippriority", "lineitem.l_extendedprice", "lineitem.l_discount"], "Sort Key": ["lineitem.l_orderkey", "orders.o_orderdate", "orders.o_shippriority"], "Sort Method": "quicksort", "Sort Space Used": 1270, "Sort Space Type": "Memory", "Workers": [{"Worker Number": 0, "Actual Startup Time": 441.802, "Actual Total Time": 442.578, "Actual Rows": 9347, "Actual Loops": 1, "Sort Method": "quicksort", "Sort Space Used": 1115, "Sort Space Type": "Memory"}, {"Worker Number": 1, "Actual Startup Time": 442.025, "Actual Total Time": 442.765, "Actual Rows": 9603, "Actual Loops": 1, "Sort Method": "quicksort", "Sort Space Used": 1135, "Sort Space Type": "Memory"}], "Plans": [{"Node Type": "Nested Loop", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Join Type": "Inner", "Startup Cost": 0.86, "Total Cost": 72828.91, "Plan Rows": 131341, "Plan Width": 24, "Actual Startup Time": 0.807, "Actual Total Time": 438.643, "Actual Rows": 10095, "Actual Loops": 3, "Output": ["lineitem.l_orderkey", "orders.o_orderdate", "orders.o_shippriority", "lineitem.l_extendedprice", "lineitem.l_discount"], "Inner Unique": false, "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.667, "Actual Total Time": 437.146, "Actual Rows": 9347, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 1.665, "Actual Total Time": 437.218, "Actual Rows": 9603, "Actual Loops": 1}], "Plans": [{"Node Type": "Nested Loop", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Join Type": "Inner", "Startup Cost": 0.43, "Total Cost": 27366.52, "Plan Rows": 60960, "Plan Width": 12, "Actual Startup Time": 0.083, "Actual Total Time": 144.374, "Actual Rows": 48593, "Actual Loops": 3, "Output": ["orders.o_orderdate", "orders.o_shippriority", "orders.o_orderkey"], "Inner Unique": false, "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.104, "Actual Total Time": 138.76, "Actual Rows": 45442, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 0.116, "Actual Total Time": 139.285, "Actual Rows": 45573, "Actual Loops": 1}], "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": true, "Async Capable": false, "Relation Name": "customer", "Schema": "public", "Alias": "customer", "Startup Cost": 0.0, "Total Cost": 4366.25, "Plan Rows": 12487, "Plan Width": 4, "Actual Startup Time": 0.022, "Actual Total Time": 15.252, "Actual Rows": 9989, "Actual Loops": 3, "Output": ["customer.c_custkey", "customer.c_name", "customer.c_address", "customer.c_nationkey", "customer.c_phone", "customer.c_acctbal", "customer.c_mktsegment", "customer.c_comment"], "Filter": "(customer.c_mktsegment = 'FURNITURE'::bpchar)", "Rows Removed by Filter": 40011, "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.029, "Actual Total Time": 14.809, "Actual Rows": 9273, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 0.029, "Actual Total Time": 15.032, "Actual Rows": 9391, "Actual Loops": 1}]}, {"Node Type": "Index Scan", "Parent Relationship": "Inner", "Parallel Aware": false, "Async Capable": false, "Scan Direction": "Forward", "Index Name": "o_ck", "Relation Name": "orders", "Schema": "public", "Alias": "orders", "Startup Cost": 0.43, "Total Cost": 1.76, "Plan Rows": 8, "Plan Width": 16, "Actual Startup Time": 0.003, "Actual Total Time": 0.012, "Actual Rows": 5, "Actual Loops": 29968, "Output": ["orders.o_orderkey", "orders.o_custkey", "orders.o_orderstatus", "orders.o_totalprice", "orders.o_orderdate", "orders.o_orderpriority", "orders.o_clerk", "orders.o_shippriority", "orders.o_comment"], "Index Cond": "(orders.o_custkey = customer.c_custkey)", "Rows Removed by Index Recheck": 0, "Filter": "(orders.o_orderdate < '1995-03-20'::date)", "Rows Removed by Filter": 5, "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.003, "Actual Total Time": 0.012, "Actual Rows": 5, "Actual Loops": 9273}, {"Worker Number": 1, "Actual Startup Time": 0.003, "Actual Total Time": 0.012, "Actual Rows": 5, "Actual Loops": 9391}]}]}, {"Node Type": "Index Scan", "Parent Relationship": "Inner", "Parallel Aware": false, "Async Capable": false, "Scan Direction": "Forward", "Index Name": "l_ok", "Relation Name": "lineitem", "Schema": "public", "Alias": "lineitem", "Startup Cost": 0.43, "Total Cost": 0.72, "Plan Rows": 3, "Plan Width": 16, "Actual Startup Time": 0.006, "Actual Total Time": 0.006, "Actual Rows": 0, "Actual Loops": 145780, "Output": ["lineitem.l_orderkey", "lineitem.l_partkey", "lineitem.l_suppkey", "lineitem.l_linenumber", "lineitem.l_quantity", "lineitem.l_extendedprice", "lineitem.l_discount", "lineitem.l_tax", "lineitem.l_returnflag", "lineitem.l_linestatus", "lineitem.l_shipdate", "lineitem.l_commitdate", "lineitem.l_receiptdate", "lineitem.l_shipinstruct", "lineitem.l_shipmode", "lineitem.l_comment"], "Index Cond": "(lineitem.l_orderkey = orders.o_orderkey)", "Rows Removed by Index Recheck": 0, "Filter": "(lineitem.l_shipdate > '1995-03-20'::date)", "Rows Removed by Filter": 4, "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.006, "Actual Total Time": 0.006, "Actual Rows": 0, "Actual Loops": 45442}, {"Worker Number": 1, "Actual Startup Time": 0.006, "Actual Total Time": 0.006, "Actual Rows": 0, "Actual Loops": 45573}]}]}]}]}]}]}]}]}, "Planning Time": 0.835, "Triggers": [], "Execution Time": 561.495} diff --git a/dev9/pg14/tpch/sf_1/explain_analyze/15721/4-1.ok b/dev9/pg14/tpch/sf_1/explain_analyze/15721/4-1.ok new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/dev9/pg14/tpch/sf_1/explain_analyze/15721/4-1.res b/dev9/pg14/tpch/sf_1/explain_analyze/15721/4-1.res new file mode 100644 index 0000000000000000000000000000000000000000..0363acd251cbb866d902dd3f7c43f2eecc4128fb --- /dev/null +++ b/dev9/pg14/tpch/sf_1/explain_analyze/15721/4-1.res @@ -0,0 +1 @@ +{"Plan": {"Node Type": "Aggregate", "Strategy": "Sorted", "Partial Mode": "Finalize", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 51444.57, "Total Cost": 51446.47, "Plan Rows": 5, "Plan Width": 24, "Actual Startup Time": 121.346, "Actual Total Time": 148.821, "Actual Rows": 5, "Actual Loops": 1, "Output": ["orders.o_orderpriority", "count(*)"], "Group Key": ["orders.o_orderpriority"], "Plans": [{"Node Type": "Gather Merge", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 51444.57, "Total Cost": 51446.34, "Plan Rows": 15, "Plan Width": 24, "Actual Startup Time": 121.337, "Actual Total Time": 148.808, "Actual Rows": 20, "Actual Loops": 1, "Output": ["orders.o_orderpriority", "(PARTIAL count(*))"], "Workers Planned": 3, "Workers Launched": 3, "Plans": [{"Node Type": "Sort", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 50444.53, "Total Cost": 50444.54, "Plan Rows": 5, "Plan Width": 24, "Actual Startup Time": 117.938, "Actual Total Time": 117.94, "Actual Rows": 5, "Actual Loops": 4, "Output": ["orders.o_orderpriority", "(PARTIAL count(*))"], "Sort Key": ["orders.o_orderpriority"], "Sort Method": "quicksort", "Sort Space Used": 25, "Sort Space Type": "Memory", "Workers": [{"Worker Number": 0, "Actual Startup Time": 116.839, "Actual Total Time": 116.84, "Actual Rows": 5, "Actual Loops": 1, "Sort Method": "quicksort", "Sort Space Used": 25, "Sort Space Type": "Memory"}, {"Worker Number": 1, "Actual Startup Time": 116.817, "Actual Total Time": 116.82, "Actual Rows": 5, "Actual Loops": 1, "Sort Method": "quicksort", "Sort Space Used": 25, "Sort Space Type": "Memory"}, {"Worker Number": 2, "Actual Startup Time": 117.122, "Actual Total Time": 117.124, "Actual Rows": 5, "Actual Loops": 1, "Sort Method": "quicksort", "Sort Space Used": 25, "Sort Space Type": "Memory"}], "Plans": [{"Node Type": "Aggregate", "Strategy": "Hashed", "Partial Mode": "Partial", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 50444.42, "Total Cost": 50444.47, "Plan Rows": 5, "Plan Width": 24, "Actual Startup Time": 117.907, "Actual Total Time": 117.91, "Actual Rows": 5, "Actual Loops": 4, "Output": ["orders.o_orderpriority", "PARTIAL count(*)"], "Group Key": ["orders.o_orderpriority"], "Planned Partitions": 0, "HashAgg Batches": 1, "Peak Memory Usage": 24, "Disk Usage": 0, "Workers": [{"Worker Number": 0, "Actual Startup Time": 116.802, "Actual Total Time": 116.804, "Actual Rows": 5, "Actual Loops": 1, "HashAgg Batches": 1, "Peak Memory Usage": 24, "Disk Usage": 0}, {"Worker Number": 1, "Actual Startup Time": 116.779, "Actual Total Time": 116.782, "Actual Rows": 5, "Actual Loops": 1, "HashAgg Batches": 1, "Peak Memory Usage": 24, "Disk Usage": 0}, {"Worker Number": 2, "Actual Startup Time": 117.085, "Actual Total Time": 117.088, "Actual Rows": 5, "Actual Loops": 1, "HashAgg Batches": 1, "Peak Memory Usage": 24, "Disk Usage": 0}], "Plans": [{"Node Type": "Nested Loop", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Join Type": "Semi", "Startup Cost": 637.15, "Total Cost": 50369.22, "Plan Rows": 15039, "Plan Width": 16, "Actual Startup Time": 10.739, "Actual Total Time": 113.239, "Actual Rows": 12952, "Actual Loops": 4, "Output": ["orders.o_orderpriority"], "Inner Unique": false, "Workers": [{"Worker Number": 0, "Actual Startup Time": 9.75, "Actual Total Time": 112.689, "Actual Rows": 10803, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 9.731, "Actual Total Time": 112.708, "Actual Rows": 10768, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 10.05, "Actual Total Time": 113.008, "Actual Rows": 10835, "Actual Loops": 1}], "Plans": [{"Node Type": "Bitmap Heap Scan", "Parent Relationship": "Outer", "Parallel Aware": true, "Async Capable": false, "Relation Name": "orders", "Schema": "public", "Alias": "orders", "Startup Cost": 636.72, "Total Cost": 27005.61, "Plan Rows": 18259, "Plan Width": 20, "Actual Startup Time": 10.68, "Actual Total Time": 33.791, "Actual Rows": 14142, "Actual Loops": 4, "Output": ["orders.o_orderkey", "orders.o_custkey", "orders.o_orderstatus", "orders.o_totalprice", "orders.o_orderdate", "orders.o_orderpriority", "orders.o_clerk", "orders.o_shippriority", "orders.o_comment"], "Recheck Cond": "((orders.o_orderdate >= '1996-01-01'::date) AND (orders.o_orderdate < '1996-04-01 00:00:00'::timestamp without time zone))", "Rows Removed by Index Recheck": 0, "Exact Heap Blocks": 8650, "Lossy Heap Blocks": 0, "Workers": [{"Worker Number": 0, "Actual Startup Time": 9.678, "Actual Total Time": 34.091, "Actual Rows": 11746, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 9.657, "Actual Total Time": 34.15, "Actual Rows": 11765, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 9.974, "Actual Total Time": 34.21, "Actual Rows": 11865, "Actual Loops": 1}], "Plans": [{"Node Type": "Bitmap Index Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Index Name": "o_od", "Startup Cost": 0.0, "Total Cost": 622.57, "Plan Rows": 56604, "Plan Width": 0, "Actual Startup Time": 7.64, "Actual Total Time": 7.64, "Actual Rows": 56568, "Actual Loops": 1, "Index Cond": "((orders.o_orderdate >= '1996-01-01'::date) AND (orders.o_orderdate < '1996-04-01 00:00:00'::timestamp without time zone))", "Workers": []}]}, {"Node Type": "Index Scan", "Parent Relationship": "Inner", "Parallel Aware": false, "Async Capable": false, "Scan Direction": "Forward", "Index Name": "l_ok", "Relation Name": "lineitem", "Schema": "public", "Alias": "lineitem", "Startup Cost": 0.43, "Total Cost": 1.6, "Plan Rows": 2, "Plan Width": 4, "Actual Startup Time": 0.005, "Actual Total Time": 0.005, "Actual Rows": 1, "Actual Loops": 56568, "Output": ["lineitem.l_orderkey", "lineitem.l_partkey", "lineitem.l_suppkey", "lineitem.l_linenumber", "lineitem.l_quantity", "lineitem.l_extendedprice", "lineitem.l_discount", "lineitem.l_tax", "lineitem.l_returnflag", "lineitem.l_linestatus", "lineitem.l_shipdate", "lineitem.l_commitdate", "lineitem.l_receiptdate", "lineitem.l_shipinstruct", "lineitem.l_shipmode", "lineitem.l_comment"], "Index Cond": "(lineitem.l_orderkey = orders.o_orderkey)", "Rows Removed by Index Recheck": 0, "Filter": "(lineitem.l_commitdate < lineitem.l_receiptdate)", "Rows Removed by Filter": 1, "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.006, "Actual Total Time": 0.006, "Actual Rows": 1, "Actual Loops": 11746}, {"Worker Number": 1, "Actual Startup Time": 0.006, "Actual Total Time": 0.006, "Actual Rows": 1, "Actual Loops": 11765}, {"Worker Number": 2, "Actual Startup Time": 0.006, "Actual Total Time": 0.006, "Actual Rows": 1, "Actual Loops": 11865}]}]}]}]}]}]}, "Planning Time": 0.423, "Triggers": [], "Execution Time": 148.876} diff --git a/dev9/pg14/tpch/sf_1/explain_analyze/15721/5-1.ok b/dev9/pg14/tpch/sf_1/explain_analyze/15721/5-1.ok new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/dev9/pg14/tpch/sf_1/explain_analyze/15721/5-1.res b/dev9/pg14/tpch/sf_1/explain_analyze/15721/5-1.res new file mode 100644 index 0000000000000000000000000000000000000000..350a438b34a6d6f07053d493761d811379a3b4bd --- /dev/null +++ b/dev9/pg14/tpch/sf_1/explain_analyze/15721/5-1.res @@ -0,0 +1 @@ +{"Plan": {"Node Type": "Sort", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 41242.67, "Total Cost": 41242.74, "Plan Rows": 25, "Plan Width": 58, "Actual Startup Time": 273.805, "Actual Total Time": 310.692, "Actual Rows": 5, "Actual Loops": 1, "Output": ["nation.n_name", "(sum((lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount))))"], "Sort Key": ["(sum((lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount)))) DESC"], "Sort Method": "quicksort", "Sort Space Used": 25, "Sort Space Type": "Memory", "Plans": [{"Node Type": "Aggregate", "Strategy": "Sorted", "Partial Mode": "Finalize", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 41197.52, "Total Cost": 41242.09, "Plan Rows": 25, "Plan Width": 58, "Actual Startup Time": 272.698, "Actual Total Time": 310.684, "Actual Rows": 5, "Actual Loops": 1, "Output": ["nation.n_name", "sum((lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount)))"], "Group Key": ["nation.n_name"], "Plans": [{"Node Type": "Gather Merge", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 41197.52, "Total Cost": 41241.4, "Plan Rows": 50, "Plan Width": 58, "Actual Startup Time": 272.334, "Actual Total Time": 310.662, "Actual Rows": 15, "Actual Loops": 1, "Output": ["nation.n_name", "(PARTIAL sum((lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount))))"], "Workers Planned": 2, "Workers Launched": 2, "Plans": [{"Node Type": "Aggregate", "Strategy": "Sorted", "Partial Mode": "Partial", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 40197.5, "Total Cost": 40235.61, "Plan Rows": 25, "Plan Width": 58, "Actual Startup Time": 269.093, "Actual Total Time": 270.234, "Actual Rows": 5, "Actual Loops": 3, "Output": ["nation.n_name", "PARTIAL sum((lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount)))"], "Group Key": ["nation.n_name"], "Workers": [{"Worker Number": 0, "Actual Startup Time": 267.575, "Actual Total Time": 268.614, "Actual Rows": 5, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 267.844, "Actual Total Time": 268.859, "Actual Rows": 5, "Actual Loops": 1}], "Plans": [{"Node Type": "Sort", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 40197.5, "Total Cost": 40205.06, "Plan Rows": 3024, "Plan Width": 38, "Actual Startup Time": 268.799, "Actual Total Time": 268.948, "Actual Rows": 2456, "Actual Loops": 3, "Output": ["nation.n_name", "lineitem.l_extendedprice", "lineitem.l_discount"], "Sort Key": ["nation.n_name"], "Sort Method": "quicksort", "Sort Space Used": 323, "Sort Space Type": "Memory", "Workers": [{"Worker Number": 0, "Actual Startup Time": 267.311, "Actual Total Time": 267.446, "Actual Rows": 2228, "Actual Loops": 1, "Sort Method": "quicksort", "Sort Space Used": 271, "Sort Space Type": "Memory"}, {"Worker Number": 1, "Actual Startup Time": 267.55, "Actual Total Time": 267.687, "Actual Rows": 2245, "Actual Loops": 1, "Sort Method": "quicksort", "Sort Space Used": 272, "Sort Space Type": "Memory"}], "Plans": [{"Node Type": "Hash Join", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Join Type": "Inner", "Startup Cost": 475.37, "Total Cost": 40022.68, "Plan Rows": 3024, "Plan Width": 38, "Actual Startup Time": 5.037, "Actual Total Time": 267.642, "Actual Rows": 2456, "Actual Loops": 3, "Output": ["nation.n_name", "lineitem.l_extendedprice", "lineitem.l_discount"], "Inner Unique": true, "Hash Cond": "((lineitem.l_suppkey = supplier.s_suppkey) AND (customer.c_nationkey = supplier.s_nationkey))", "Workers": [{"Worker Number": 0, "Actual Startup Time": 6.245, "Actual Total Time": 266.203, "Actual Rows": 2228, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 5.274, "Actual Total Time": 266.378, "Actual Rows": 2245, "Actual Loops": 1}], "Plans": [{"Node Type": "Nested Loop", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Join Type": "Inner", "Startup Cost": 3.37, "Total Cost": 39153.81, "Plan Rows": 75593, "Plan Width": 50, "Actual Startup Time": 0.29, "Actual Total Time": 251.571, "Actual Rows": 60955, "Actual Loops": 3, "Output": ["customer.c_nationkey", "lineitem.l_extendedprice", "lineitem.l_discount", "lineitem.l_suppkey", "nation.n_name", "nation.n_nationkey"], "Inner Unique": false, "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.456, "Actual Total Time": 250.634, "Actual Rows": 55880, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 0.35, "Actual Total Time": 250.927, "Actual Rows": 56224, "Actual Loops": 1}], "Plans": [{"Node Type": "Nested Loop", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Join Type": "Inner", "Startup Cost": 2.94, "Total Cost": 17199.03, "Plan Rows": 18895, "Plan Width": 38, "Actual Startup Time": 0.247, "Actual Total Time": 135.087, "Actual Rows": 15210, "Actual Loops": 3, "Output": ["customer.c_nationkey", "orders.o_orderkey", "nation.n_name", "nation.n_nationkey"], "Inner Unique": false, "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.398, "Actual Total Time": 127.778, "Actual Rows": 13931, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 0.287, "Actual Total Time": 128.127, "Actual Rows": 13980, "Actual Loops": 1}], "Plans": [{"Node Type": "Hash Join", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Join Type": "Inner", "Startup Cost": 2.51, "Total Cost": 4571.88, "Plan Rows": 12500, "Plan Width": 38, "Actual Startup Time": 0.122, "Actual Total Time": 19.667, "Actual Rows": 9984, "Actual Loops": 3, "Output": ["customer.c_custkey", "customer.c_nationkey", "nation.n_name", "nation.n_nationkey"], "Inner Unique": false, "Hash Cond": "(customer.c_nationkey = nation.n_nationkey)", "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.166, "Actual Total Time": 18.817, "Actual Rows": 9081, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 0.164, "Actual Total Time": 19.073, "Actual Rows": 9302, "Actual Loops": 1}], "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": true, "Async Capable": false, "Relation Name": "customer", "Schema": "public", "Alias": "customer", "Startup Cost": 0.0, "Total Cost": 4210.0, "Plan Rows": 62500, "Plan Width": 8, "Actual Startup Time": 0.014, "Actual Total Time": 5.916, "Actual Rows": 50000, "Actual Loops": 3, "Output": ["customer.c_custkey", "customer.c_name", "customer.c_address", "customer.c_nationkey", "customer.c_phone", "customer.c_acctbal", "customer.c_mktsegment", "customer.c_comment"], "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.02, "Actual Total Time": 5.932, "Actual Rows": 45883, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 0.019, "Actual Total Time": 5.946, "Actual Rows": 46763, "Actual Loops": 1}]}, {"Node Type": "Hash", "Parent Relationship": "Inner", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 2.45, "Total Cost": 2.45, "Plan Rows": 5, "Plan Width": 30, "Actual Startup Time": 0.058, "Actual Total Time": 0.061, "Actual Rows": 5, "Actual Loops": 3, "Output": ["nation.n_name", "nation.n_nationkey"], "Hash Buckets": 1024, "Original Hash Buckets": 1024, "Hash Batches": 1, "Original Hash Batches": 1, "Peak Memory Usage": 9, "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.076, "Actual Total Time": 0.079, "Actual Rows": 5, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 0.073, "Actual Total Time": 0.076, "Actual Rows": 5, "Actual Loops": 1}], "Plans": [{"Node Type": "Hash Join", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Join Type": "Inner", "Startup Cost": 1.07, "Total Cost": 2.45, "Plan Rows": 5, "Plan Width": 30, "Actual Startup Time": 0.047, "Actual Total Time": 0.056, "Actual Rows": 5, "Actual Loops": 3, "Output": ["nation.n_name", "nation.n_nationkey"], "Inner Unique": true, "Hash Cond": "(nation.n_regionkey = region.r_regionkey)", "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.063, "Actual Total Time": 0.072, "Actual Rows": 5, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 0.06, "Actual Total Time": 0.07, "Actual Rows": 5, "Actual Loops": 1}], "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Relation Name": "nation", "Schema": "public", "Alias": "nation", "Startup Cost": 0.0, "Total Cost": 1.25, "Plan Rows": 25, "Plan Width": 34, "Actual Startup Time": 0.012, "Actual Total Time": 0.014, "Actual Rows": 25, "Actual Loops": 3, "Output": ["nation.n_nationkey", "nation.n_name", "nation.n_regionkey", "nation.n_comment"], "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.017, "Actual Total Time": 0.019, "Actual Rows": 25, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 0.016, "Actual Total Time": 0.018, "Actual Rows": 25, "Actual Loops": 1}]}, {"Node Type": "Hash", "Parent Relationship": "Inner", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 1.06, "Total Cost": 1.06, "Plan Rows": 1, "Plan Width": 4, "Actual Startup Time": 0.022, "Actual Total Time": 0.023, "Actual Rows": 1, "Actual Loops": 3, "Output": ["region.r_regionkey"], "Hash Buckets": 1024, "Original Hash Buckets": 1024, "Hash Batches": 1, "Original Hash Batches": 1, "Peak Memory Usage": 9, "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.029, "Actual Total Time": 0.031, "Actual Rows": 1, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 0.028, "Actual Total Time": 0.029, "Actual Rows": 1, "Actual Loops": 1}], "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Relation Name": "region", "Schema": "public", "Alias": "region", "Startup Cost": 0.0, "Total Cost": 1.06, "Plan Rows": 1, "Plan Width": 4, "Actual Startup Time": 0.016, "Actual Total Time": 0.017, "Actual Rows": 1, "Actual Loops": 3, "Output": ["region.r_regionkey"], "Filter": "(region.r_name = 'AMERICA'::bpchar)", "Rows Removed by Filter": 4, "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.022, "Actual Total Time": 0.023, "Actual Rows": 1, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 0.02, "Actual Total Time": 0.022, "Actual Rows": 1, "Actual Loops": 1}]}]}]}]}]}, {"Node Type": "Index Scan", "Parent Relationship": "Inner", "Parallel Aware": false, "Async Capable": false, "Scan Direction": "Forward", "Index Name": "o_ck", "Relation Name": "orders", "Schema": "public", "Alias": "orders", "Startup Cost": 0.43, "Total Cost": 0.99, "Plan Rows": 2, "Plan Width": 8, "Actual Startup Time": 0.005, "Actual Total Time": 0.011, "Actual Rows": 2, "Actual Loops": 29952, "Output": ["orders.o_orderkey", "orders.o_custkey", "orders.o_orderstatus", "orders.o_totalprice", "orders.o_orderdate", "orders.o_orderpriority", "orders.o_clerk", "orders.o_shippriority", "orders.o_comment"], "Index Cond": "(orders.o_custkey = customer.c_custkey)", "Rows Removed by Index Recheck": 0, "Filter": "((orders.o_orderdate >= '1995-01-01'::date) AND (orders.o_orderdate < '1996-01-01 00:00:00'::timestamp without time zone))", "Rows Removed by Filter": 8, "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.006, "Actual Total Time": 0.012, "Actual Rows": 2, "Actual Loops": 9081}, {"Worker Number": 1, "Actual Startup Time": 0.006, "Actual Total Time": 0.011, "Actual Rows": 2, "Actual Loops": 9302}]}]}, {"Node Type": "Index Scan", "Parent Relationship": "Inner", "Parallel Aware": false, "Async Capable": false, "Scan Direction": "Forward", "Index Name": "l_ok", "Relation Name": "lineitem", "Schema": "public", "Alias": "lineitem", "Startup Cost": 0.43, "Total Cost": 1.11, "Plan Rows": 5, "Plan Width": 20, "Actual Startup Time": 0.006, "Actual Total Time": 0.007, "Actual Rows": 4, "Actual Loops": 45630, "Output": ["lineitem.l_orderkey", "lineitem.l_partkey", "lineitem.l_suppkey", "lineitem.l_linenumber", "lineitem.l_quantity", "lineitem.l_extendedprice", "lineitem.l_discount", "lineitem.l_tax", "lineitem.l_returnflag", "lineitem.l_linestatus", "lineitem.l_shipdate", "lineitem.l_commitdate", "lineitem.l_receiptdate", "lineitem.l_shipinstruct", "lineitem.l_shipmode", "lineitem.l_comment"], "Index Cond": "(lineitem.l_orderkey = orders.o_orderkey)", "Rows Removed by Index Recheck": 0, "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.007, "Actual Total Time": 0.008, "Actual Rows": 4, "Actual Loops": 13931}, {"Worker Number": 1, "Actual Startup Time": 0.007, "Actual Total Time": 0.008, "Actual Rows": 4, "Actual Loops": 13980}]}]}, {"Node Type": "Hash", "Parent Relationship": "Inner", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 322.0, "Total Cost": 322.0, "Plan Rows": 10000, "Plan Width": 8, "Actual Startup Time": 4.148, "Actual Total Time": 4.149, "Actual Rows": 10000, "Actual Loops": 3, "Output": ["supplier.s_suppkey", "supplier.s_nationkey"], "Hash Buckets": 16384, "Original Hash Buckets": 16384, "Hash Batches": 1, "Original Hash Batches": 1, "Peak Memory Usage": 519, "Workers": [{"Worker Number": 0, "Actual Startup Time": 4.52, "Actual Total Time": 4.521, "Actual Rows": 10000, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 4.421, "Actual Total Time": 4.421, "Actual Rows": 10000, "Actual Loops": 1}], "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Relation Name": "supplier", "Schema": "public", "Alias": "supplier", "Startup Cost": 0.0, "Total Cost": 322.0, "Plan Rows": 10000, "Plan Width": 8, "Actual Startup Time": 0.016, "Actual Total Time": 2.422, "Actual Rows": 10000, "Actual Loops": 3, "Output": ["supplier.s_suppkey", "supplier.s_nationkey"], "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.022, "Actual Total Time": 2.722, "Actual Rows": 10000, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 0.022, "Actual Total Time": 2.619, "Actual Rows": 10000, "Actual Loops": 1}]}]}]}]}]}]}]}]}, "Planning Time": 2.699, "Triggers": [], "Execution Time": 310.775} diff --git a/dev9/pg14/tpch/sf_1/explain_analyze/15721/6-1.ok b/dev9/pg14/tpch/sf_1/explain_analyze/15721/6-1.ok new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/dev9/pg14/tpch/sf_1/explain_analyze/15721/6-1.res b/dev9/pg14/tpch/sf_1/explain_analyze/15721/6-1.res new file mode 100644 index 0000000000000000000000000000000000000000..eee4a52b2f1793d03f3ba73d72a5023cffd8cc67 --- /dev/null +++ b/dev9/pg14/tpch/sf_1/explain_analyze/15721/6-1.res @@ -0,0 +1 @@ +{"Plan": {"Node Type": "Aggregate", "Strategy": "Plain", "Partial Mode": "Finalize", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 127701.63, "Total Cost": 127701.64, "Plan Rows": 1, "Plan Width": 32, "Actual Startup Time": 281.709, "Actual Total Time": 312.076, "Actual Rows": 1, "Actual Loops": 1, "Output": ["sum((l_extendedprice * l_discount))"], "Plans": [{"Node Type": "Gather", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 127701.1, "Total Cost": 127701.61, "Plan Rows": 5, "Plan Width": 32, "Actual Startup Time": 279.032, "Actual Total Time": 312.062, "Actual Rows": 6, "Actual Loops": 1, "Output": ["(PARTIAL sum((l_extendedprice * l_discount)))"], "Workers Planned": 5, "Workers Launched": 5, "Single Copy": false, "Plans": [{"Node Type": "Aggregate", "Strategy": "Plain", "Partial Mode": "Partial", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 126701.1, "Total Cost": 126701.11, "Plan Rows": 1, "Plan Width": 32, "Actual Startup Time": 275.35, "Actual Total Time": 275.351, "Actual Rows": 1, "Actual Loops": 6, "Output": ["PARTIAL sum((l_extendedprice * l_discount))"], "Workers": [{"Worker Number": 0, "Actual Startup Time": 274.473, "Actual Total Time": 274.475, "Actual Rows": 1, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 274.573, "Actual Total Time": 274.574, "Actual Rows": 1, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 274.679, "Actual Total Time": 274.681, "Actual Rows": 1, "Actual Loops": 1}, {"Worker Number": 3, "Actual Startup Time": 274.744, "Actual Total Time": 274.745, "Actual Rows": 1, "Actual Loops": 1}, {"Worker Number": 4, "Actual Startup Time": 274.974, "Actual Total Time": 274.975, "Actual Rows": 1, "Actual Loops": 1}], "Plans": [{"Node Type": "Bitmap Heap Scan", "Parent Relationship": "Outer", "Parallel Aware": true, "Async Capable": false, "Relation Name": "lineitem", "Schema": "public", "Alias": "lineitem", "Startup Cost": 9991.79, "Total Cost": 126587.02, "Plan Rows": 22815, "Plan Width": 12, "Actual Startup Time": 117.345, "Actual Total Time": 268.585, "Actual Rows": 19184, "Actual Loops": 6, "Output": ["l_orderkey", "l_partkey", "l_suppkey", "l_linenumber", "l_quantity", "l_extendedprice", "l_discount", "l_tax", "l_returnflag", "l_linestatus", "l_shipdate", "l_commitdate", "l_receiptdate", "l_shipinstruct", "l_shipmode", "l_comment"], "Recheck Cond": "((lineitem.l_shipdate >= '1995-01-01'::date) AND (lineitem.l_shipdate < '1996-01-01 00:00:00'::timestamp without time zone))", "Rows Removed by Index Recheck": 0, "Filter": "((lineitem.l_discount >= 0.04) AND (lineitem.l_discount <= 0.06) AND (lineitem.l_quantity < '24'::numeric))", "Rows Removed by Filter": 133310, "Exact Heap Blocks": 26839, "Lossy Heap Blocks": 0, "Workers": [{"Worker Number": 0, "Actual Startup Time": 116.567, "Actual Total Time": 268.135, "Actual Rows": 17206, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 116.628, "Actual Total Time": 268.271, "Actual Rows": 17100, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 116.73, "Actual Total Time": 268.443, "Actual Rows": 16899, "Actual Loops": 1}, {"Worker Number": 3, "Actual Startup Time": 116.83, "Actual Total Time": 268.408, "Actual Rows": 17225, "Actual Loops": 1}, {"Worker Number": 4, "Actual Startup Time": 117.163, "Actual Total Time": 268.599, "Actual Rows": 17337, "Actual Loops": 1}], "Plans": [{"Node Type": "Bitmap Index Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Index Name": "l_sd", "Startup Cost": 0.0, "Total Cost": 9963.27, "Plan Rows": 909384, "Plan Width": 0, "Actual Startup Time": 86.54, "Actual Total Time": 86.541, "Actual Rows": 914963, "Actual Loops": 1, "Index Cond": "((lineitem.l_shipdate >= '1995-01-01'::date) AND (lineitem.l_shipdate < '1996-01-01 00:00:00'::timestamp without time zone))", "Workers": []}]}]}]}]}, "Planning Time": 0.148, "Triggers": [], "Execution Time": 312.115} diff --git a/dev9/pg14/tpch/sf_1/explain_analyze/15721/7-1.ok b/dev9/pg14/tpch/sf_1/explain_analyze/15721/7-1.ok new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/dev9/pg14/tpch/sf_1/explain_analyze/15721/7-1.res b/dev9/pg14/tpch/sf_1/explain_analyze/15721/7-1.res new file mode 100644 index 0000000000000000000000000000000000000000..b76296495239e1d3a73e9c11fc2b11923aaddf87 --- /dev/null +++ b/dev9/pg14/tpch/sf_1/explain_analyze/15721/7-1.res @@ -0,0 +1 @@ +{"Plan": {"Node Type": "Aggregate", "Strategy": "Sorted", "Partial Mode": "Finalize", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 36230.61, "Total Cost": 37052.2, "Plan Rows": 6080, "Plan Width": 116, "Actual Startup Time": 665.268, "Actual Total Time": 710.419, "Actual Rows": 4, "Actual Loops": 1, "Output": ["n1.n_name", "n2.n_name", "(EXTRACT(year FROM lineitem.l_shipdate))", "sum((lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount)))"], "Group Key": ["n1.n_name", "n2.n_name", "(EXTRACT(year FROM lineitem.l_shipdate))"], "Plans": [{"Node Type": "Gather Merge", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 36230.61, "Total Cost": 36897.67, "Plan Rows": 5066, "Plan Width": 116, "Actual Startup Time": 664.542, "Actual Total Time": 710.398, "Actual Rows": 12, "Actual Loops": 1, "Output": ["n1.n_name", "n2.n_name", "(EXTRACT(year FROM lineitem.l_shipdate))", "(PARTIAL sum((lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount))))"], "Workers Planned": 2, "Workers Launched": 2, "Plans": [{"Node Type": "Aggregate", "Strategy": "Sorted", "Partial Mode": "Partial", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 35230.58, "Total Cost": 35312.91, "Plan Rows": 2533, "Plan Width": 116, "Actual Startup Time": 659.983, "Actual Total Time": 661.073, "Actual Rows": 4, "Actual Loops": 3, "Output": ["n1.n_name", "n2.n_name", "(EXTRACT(year FROM lineitem.l_shipdate))", "PARTIAL sum((lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount)))"], "Group Key": ["n1.n_name", "n2.n_name", "(EXTRACT(year FROM lineitem.l_shipdate))"], "Workers": [{"Worker Number": 0, "Actual Startup Time": 657.844, "Actual Total Time": 658.352, "Actual Rows": 4, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 658.071, "Actual Total Time": 658.613, "Actual Rows": 4, "Actual Loops": 1}], "Plans": [{"Node Type": "Sort", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 35230.58, "Total Cost": 35236.92, "Plan Rows": 2533, "Plan Width": 96, "Actual Startup Time": 659.605, "Actual Total Time": 659.732, "Actual Rows": 1875, "Actual Loops": 3, "Output": ["n1.n_name", "n2.n_name", "(EXTRACT(year FROM lineitem.l_shipdate))", "lineitem.l_extendedprice", "lineitem.l_discount"], "Sort Key": ["n1.n_name", "n2.n_name", "(EXTRACT(year FROM lineitem.l_shipdate))"], "Sort Method": "quicksort", "Sort Space Used": 631, "Sort Space Type": "Memory", "Workers": [{"Worker Number": 0, "Actual Startup Time": 657.66, "Actual Total Time": 657.717, "Actual Rows": 871, "Actual Loops": 1, "Sort Method": "quicksort", "Sort Space Used": 147, "Sort Space Type": "Memory"}, {"Worker Number": 1, "Actual Startup Time": 657.86, "Actual Total Time": 657.921, "Actual Rows": 951, "Actual Loops": 1, "Sort Method": "quicksort", "Sort Space Used": 158, "Sort Space Type": "Memory"}], "Plans": [{"Node Type": "Hash Join", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Join Type": "Inner", "Startup Cost": 25043.85, "Total Cost": 35087.38, "Plan Rows": 2533, "Plan Width": 96, "Actual Startup Time": 577.076, "Actual Total Time": 658.251, "Actual Rows": 1875, "Actual Loops": 3, "Output": ["n1.n_name", "n2.n_name", "EXTRACT(year FROM lineitem.l_shipdate)", "lineitem.l_extendedprice", "lineitem.l_discount"], "Inner Unique": false, "Hash Cond": "(orders.o_orderkey = lineitem.l_orderkey)", "Join Filter": "(((n1.n_name = 'IRAN'::bpchar) AND (n2.n_name = 'ETHIOPIA'::bpchar)) OR ((n1.n_name = 'ETHIOPIA'::bpchar) AND (n2.n_name = 'IRAN'::bpchar)))", "Rows Removed by Join Filter": 1861, "Workers": [{"Worker Number": 0, "Actual Startup Time": 607.46, "Actual Total Time": 656.933, "Actual Rows": 871, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 607.344, "Actual Total Time": 657.104, "Actual Rows": 951, "Actual Loops": 1}], "Plans": [{"Node Type": "Nested Loop", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Join Type": "Inner", "Startup Cost": 1.83, "Total Cost": 9754.13, "Plan Rows": 50000, "Plan Width": 30, "Actual Startup Time": 0.124, "Actual Total Time": 69.55, "Actual Rows": 39794, "Actual Loops": 3, "Output": ["orders.o_orderkey", "n2.n_name"], "Inner Unique": false, "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.169, "Actual Total Time": 43.867, "Actual Rows": 19576, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 0.162, "Actual Total Time": 43.767, "Actual Rows": 19679, "Actual Loops": 1}], "Plans": [{"Node Type": "Hash Join", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Join Type": "Inner", "Startup Cost": 1.4, "Total Cost": 4403.27, "Plan Rows": 5000, "Plan Width": 30, "Actual Startup Time": 0.083, "Actual Total Time": 16.204, "Actual Rows": 3987, "Actual Loops": 3, "Output": ["customer.c_custkey", "n2.n_name"], "Inner Unique": true, "Hash Cond": "(customer.c_nationkey = n2.n_nationkey)", "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.111, "Actual Total Time": 8.681, "Actual Rows": 1962, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 0.108, "Actual Total Time": 8.668, "Actual Rows": 1946, "Actual Loops": 1}], "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": true, "Async Capable": false, "Relation Name": "customer", "Schema": "public", "Alias": "customer", "Startup Cost": 0.0, "Total Cost": 4210.0, "Plan Rows": 62500, "Plan Width": 8, "Actual Startup Time": 0.015, "Actual Total Time": 5.171, "Actual Rows": 50000, "Actual Loops": 3, "Output": ["customer.c_custkey", "customer.c_name", "customer.c_address", "customer.c_nationkey", "customer.c_phone", "customer.c_acctbal", "customer.c_mktsegment", "customer.c_comment"], "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.02, "Actual Total Time": 3.035, "Actual Rows": 24280, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 0.022, "Actual Total Time": 3.059, "Actual Rows": 24509, "Actual Loops": 1}]}, {"Node Type": "Hash", "Parent Relationship": "Inner", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 1.38, "Total Cost": 1.38, "Plan Rows": 2, "Plan Width": 30, "Actual Startup Time": 0.026, "Actual Total Time": 0.027, "Actual Rows": 2, "Actual Loops": 3, "Output": ["n2.n_name", "n2.n_nationkey"], "Hash Buckets": 1024, "Original Hash Buckets": 1024, "Hash Batches": 1, "Original Hash Batches": 1, "Peak Memory Usage": 9, "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.032, "Actual Total Time": 0.033, "Actual Rows": 2, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 0.031, "Actual Total Time": 0.032, "Actual Rows": 2, "Actual Loops": 1}], "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Relation Name": "nation", "Schema": "public", "Alias": "n2", "Startup Cost": 0.0, "Total Cost": 1.38, "Plan Rows": 2, "Plan Width": 30, "Actual Startup Time": 0.015, "Actual Total Time": 0.021, "Actual Rows": 2, "Actual Loops": 3, "Output": ["n2.n_name", "n2.n_nationkey"], "Filter": "((n2.n_name = 'ETHIOPIA'::bpchar) OR (n2.n_name = 'IRAN'::bpchar))", "Rows Removed by Filter": 23, "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.02, "Actual Total Time": 0.025, "Actual Rows": 2, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 0.019, "Actual Total Time": 0.024, "Actual Rows": 2, "Actual Loops": 1}]}]}]}, {"Node Type": "Index Scan", "Parent Relationship": "Inner", "Parallel Aware": false, "Async Capable": false, "Scan Direction": "Forward", "Index Name": "o_ck", "Relation Name": "orders", "Schema": "public", "Alias": "orders", "Startup Cost": 0.43, "Total Cost": 0.91, "Plan Rows": 16, "Plan Width": 8, "Actual Startup Time": 0.003, "Actual Total Time": 0.012, "Actual Rows": 10, "Actual Loops": 11961, "Output": ["orders.o_orderkey", "orders.o_custkey", "orders.o_orderstatus", "orders.o_totalprice", "orders.o_orderdate", "orders.o_orderpriority", "orders.o_clerk", "orders.o_shippriority", "orders.o_comment"], "Index Cond": "(orders.o_custkey = customer.c_custkey)", "Rows Removed by Index Recheck": 0, "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.003, "Actual Total Time": 0.016, "Actual Rows": 10, "Actual Loops": 1962}, {"Worker Number": 1, "Actual Startup Time": 0.003, "Actual Total Time": 0.016, "Actual Rows": 10, "Actual Loops": 1946}]}]}, {"Node Type": "Hash", "Parent Relationship": "Inner", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 23215.91, "Total Cost": 23215.91, "Plan Rows": 146089, "Plan Width": 46, "Actual Startup Time": 575.853, "Actual Total Time": 575.855, "Actual Rows": 140959, "Actual Loops": 3, "Output": ["lineitem.l_shipdate", "lineitem.l_extendedprice", "lineitem.l_discount", "lineitem.l_orderkey", "n1.n_name"], "Hash Buckets": 262144, "Original Hash Buckets": 262144, "Hash Batches": 1, "Original Hash Batches": 1, "Peak Memory Usage": 13200, "Workers": [{"Worker Number": 0, "Actual Startup Time": 605.636, "Actual Total Time": 605.638, "Actual Rows": 140959, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 605.856, "Actual Total Time": 605.858, "Actual Rows": 140959, "Actual Loops": 1}], "Plans": [{"Node Type": "Nested Loop", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Join Type": "Inner", "Startup Cost": 4.92, "Total Cost": 23215.91, "Plan Rows": 146089, "Plan Width": 46, "Actual Startup Time": 0.162, "Actual Total Time": 531.029, "Actual Rows": 140959, "Actual Loops": 3, "Output": ["lineitem.l_shipdate", "lineitem.l_extendedprice", "lineitem.l_discount", "lineitem.l_orderkey", "n1.n_name"], "Inner Unique": false, "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.208, "Actual Total Time": 558.323, "Actual Rows": 140959, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 0.199, "Actual Total Time": 558.993, "Actual Rows": 140959, "Actual Loops": 1}], "Plans": [{"Node Type": "Nested Loop", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Join Type": "Inner", "Startup Cost": 4.48, "Total Cost": 256.85, "Plan Rows": 800, "Plan Width": 30, "Actual Startup Time": 0.102, "Actual Total Time": 1.159, "Actual Rows": 773, "Actual Loops": 3, "Output": ["supplier.s_suppkey", "n1.n_name"], "Inner Unique": false, "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.125, "Actual Total Time": 1.246, "Actual Rows": 773, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 0.116, "Actual Total Time": 1.219, "Actual Rows": 773, "Actual Loops": 1}], "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Relation Name": "nation", "Schema": "public", "Alias": "n1", "Startup Cost": 0.0, "Total Cost": 1.38, "Plan Rows": 2, "Plan Width": 30, "Actual Startup Time": 0.005, "Actual Total Time": 0.015, "Actual Rows": 2, "Actual Loops": 3, "Output": ["n1.n_nationkey", "n1.n_name", "n1.n_regionkey", "n1.n_comment"], "Filter": "((n1.n_name = 'IRAN'::bpchar) OR (n1.n_name = 'ETHIOPIA'::bpchar))", "Rows Removed by Filter": 23, "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.006, "Actual Total Time": 0.016, "Actual Rows": 2, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 0.006, "Actual Total Time": 0.016, "Actual Rows": 2, "Actual Loops": 1}]}, {"Node Type": "Bitmap Heap Scan", "Parent Relationship": "Inner", "Parallel Aware": false, "Async Capable": false, "Relation Name": "supplier", "Schema": "public", "Alias": "supplier", "Startup Cost": 4.48, "Total Cost": 123.74, "Plan Rows": 400, "Plan Width": 8, "Actual Startup Time": 0.073, "Actual Total Time": 0.488, "Actual Rows": 386, "Actual Loops": 6, "Output": ["supplier.s_suppkey", "supplier.s_name", "supplier.s_address", "supplier.s_nationkey", "supplier.s_phone", "supplier.s_acctbal", "supplier.s_comment"], "Recheck Cond": "(supplier.s_nationkey = n1.n_nationkey)", "Rows Removed by Index Recheck": 0, "Exact Heap Blocks": 371, "Lossy Heap Blocks": 0, "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.084, "Actual Total Time": 0.533, "Actual Rows": 386, "Actual Loops": 2}, {"Worker Number": 1, "Actual Startup Time": 0.08, "Actual Total Time": 0.522, "Actual Rows": 386, "Actual Loops": 2}], "Plans": [{"Node Type": "Bitmap Index Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Index Name": "s_nk", "Startup Cost": 0.0, "Total Cost": 4.38, "Plan Rows": 400, "Plan Width": 0, "Actual Startup Time": 0.037, "Actual Total Time": 0.037, "Actual Rows": 386, "Actual Loops": 6, "Index Cond": "(supplier.s_nationkey = n1.n_nationkey)", "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.045, "Actual Total Time": 0.045, "Actual Rows": 386, "Actual Loops": 2}, {"Worker Number": 1, "Actual Startup Time": 0.043, "Actual Total Time": 0.043, "Actual Rows": 386, "Actual Loops": 2}]}]}]}, {"Node Type": "Index Scan", "Parent Relationship": "Inner", "Parallel Aware": false, "Async Capable": false, "Scan Direction": "Forward", "Index Name": "l_sk", "Relation Name": "lineitem", "Schema": "public", "Alias": "lineitem", "Startup Cost": 0.43, "Total Cost": 26.87, "Plan Rows": 183, "Plan Width": 24, "Actual Startup Time": 0.011, "Actual Total Time": 0.661, "Actual Rows": 182, "Actual Loops": 2319, "Output": ["lineitem.l_orderkey", "lineitem.l_partkey", "lineitem.l_suppkey", "lineitem.l_linenumber", "lineitem.l_quantity", "lineitem.l_extendedprice", "lineitem.l_discount", "lineitem.l_tax", "lineitem.l_returnflag", "lineitem.l_linestatus", "lineitem.l_shipdate", "lineitem.l_commitdate", "lineitem.l_receiptdate", "lineitem.l_shipinstruct", "lineitem.l_shipmode", "lineitem.l_comment"], "Index Cond": "(lineitem.l_suppkey = supplier.s_suppkey)", "Rows Removed by Index Recheck": 0, "Filter": "((lineitem.l_shipdate >= '1995-01-01'::date) AND (lineitem.l_shipdate <= '1996-12-31'::date))", "Rows Removed by Filter": 417, "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.012, "Actual Total Time": 0.697, "Actual Rows": 182, "Actual Loops": 773}, {"Worker Number": 1, "Actual Startup Time": 0.012, "Actual Total Time": 0.698, "Actual Rows": 182, "Actual Loops": 773}]}]}]}]}]}]}]}]}, "Planning Time": 1.838, "Triggers": [], "Execution Time": 710.561} diff --git a/dev9/pg14/tpch/sf_1/explain_analyze/15721/8-1.ok b/dev9/pg14/tpch/sf_1/explain_analyze/15721/8-1.ok new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/dev9/pg14/tpch/sf_1/explain_analyze/15721/8-1.res b/dev9/pg14/tpch/sf_1/explain_analyze/15721/8-1.res new file mode 100644 index 0000000000000000000000000000000000000000..323e8f7a1657e35b38d7007fe8a0c3b17698cc6c --- /dev/null +++ b/dev9/pg14/tpch/sf_1/explain_analyze/15721/8-1.res @@ -0,0 +1 @@ +{"Plan": {"Node Type": "Aggregate", "Strategy": "Sorted", "Partial Mode": "Finalize", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 33304.54, "Total Cost": 33651.17, "Plan Rows": 2406, "Plan Width": 64, "Actual Startup Time": 148.261, "Actual Total Time": 179.072, "Actual Rows": 2, "Actual Loops": 1, "Output": ["(EXTRACT(year FROM orders.o_orderdate))", "(sum(CASE WHEN (n2.n_name = 'ETHIOPIA'::bpchar) THEN (lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount)) ELSE '0'::numeric END) / sum((lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount))))"], "Group Key": ["(EXTRACT(year FROM orders.o_orderdate))"], "Plans": [{"Node Type": "Gather Merge", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 33304.54, "Total Cost": 33577.82, "Plan Rows": 2018, "Plan Width": 96, "Actual Startup Time": 147.818, "Actual Total Time": 179.051, "Actual Rows": 6, "Actual Loops": 1, "Output": ["(EXTRACT(year FROM orders.o_orderdate))", "(PARTIAL sum(CASE WHEN (n2.n_name = 'ETHIOPIA'::bpchar) THEN (lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount)) ELSE '0'::numeric END))", "(PARTIAL sum((lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount))))"], "Workers Planned": 2, "Workers Launched": 2, "Plans": [{"Node Type": "Aggregate", "Strategy": "Sorted", "Partial Mode": "Partial", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 32304.51, "Total Cost": 32344.87, "Plan Rows": 1009, "Plan Width": 96, "Actual Startup Time": 144.345, "Actual Total Time": 144.645, "Actual Rows": 2, "Actual Loops": 3, "Output": ["(EXTRACT(year FROM orders.o_orderdate))", "PARTIAL sum(CASE WHEN (n2.n_name = 'ETHIOPIA'::bpchar) THEN (lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount)) ELSE '0'::numeric END)", "PARTIAL sum((lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount)))"], "Group Key": ["(EXTRACT(year FROM orders.o_orderdate))"], "Workers": [{"Worker Number": 0, "Actual Startup Time": 142.706, "Actual Total Time": 142.929, "Actual Rows": 2, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 143.061, "Actual Total Time": 143.308, "Actual Rows": 2, "Actual Loops": 1}], "Plans": [{"Node Type": "Sort", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 32304.51, "Total Cost": 32307.04, "Plan Rows": 1009, "Plan Width": 70, "Actual Startup Time": 144.039, "Actual Total Time": 144.093, "Actual Rows": 809, "Actual Loops": 3, "Output": ["(EXTRACT(year FROM orders.o_orderdate))", "n2.n_name", "lineitem.l_extendedprice", "lineitem.l_discount"], "Sort Key": ["(EXTRACT(year FROM orders.o_orderdate))"], "Sort Method": "quicksort", "Sort Space Used": 138, "Sort Space Type": "Memory", "Workers": [{"Worker Number": 0, "Actual Startup Time": 142.464, "Actual Total Time": 142.505, "Actual Rows": 610, "Actual Loops": 1, "Sort Method": "quicksort", "Sort Space Used": 72, "Sort Space Type": "Memory"}, {"Worker Number": 1, "Actual Startup Time": 142.807, "Actual Total Time": 142.851, "Actual Rows": 667, "Actual Loops": 1, "Sort Method": "quicksort", "Sort Space Used": 77, "Sort Space Type": "Memory"}], "Plans": [{"Node Type": "Hash Join", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Join Type": "Inner", "Startup Cost": 2018.83, "Total Cost": 32254.17, "Plan Rows": 1009, "Plan Width": 70, "Actual Startup Time": 25.522, "Actual Total Time": 143.635, "Actual Rows": 809, "Actual Loops": 3, "Output": ["EXTRACT(year FROM orders.o_orderdate)", "n2.n_name", "lineitem.l_extendedprice", "lineitem.l_discount"], "Inner Unique": true, "Hash Cond": "(supplier.s_nationkey = n2.n_nationkey)", "Workers": [{"Worker Number": 0, "Actual Startup Time": 26.65, "Actual Total Time": 142.115, "Actual Rows": 610, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 26.792, "Actual Total Time": 142.439, "Actual Rows": 667, "Actual Loops": 1}], "Plans": [{"Node Type": "Nested Loop", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Join Type": "Inner", "Startup Cost": 2017.26, "Total Cost": 32246.99, "Plan Rows": 1009, "Plan Width": 20, "Actual Startup Time": 25.444, "Actual Total Time": 143.108, "Actual Rows": 809, "Actual Loops": 3, "Output": ["lineitem.l_extendedprice", "lineitem.l_discount", "supplier.s_nationkey", "orders.o_orderdate"], "Inner Unique": true, "Workers": [{"Worker Number": 0, "Actual Startup Time": 26.545, "Actual Total Time": 141.66, "Actual Rows": 610, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 26.693, "Actual Total Time": 141.96, "Actual Rows": 667, "Actual Loops": 1}], "Plans": [{"Node Type": "Hash Join", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Join Type": "Inner", "Startup Cost": 2016.98, "Total Cost": 31941.72, "Plan Rows": 1009, "Plan Width": 20, "Actual Startup Time": 25.422, "Actual Total Time": 140.766, "Actual Rows": 809, "Actual Loops": 3, "Output": ["lineitem.l_extendedprice", "lineitem.l_discount", "lineitem.l_suppkey", "orders.o_orderdate"], "Inner Unique": false, "Hash Cond": "(orders.o_custkey = customer.c_custkey)", "Workers": [{"Worker Number": 0, "Actual Startup Time": 26.517, "Actual Total Time": 139.801, "Actual Rows": 610, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 26.664, "Actual Total Time": 139.961, "Actual Rows": 667, "Actual Loops": 1}], "Plans": [{"Node Type": "Nested Loop", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Join Type": "Inner", "Startup Cost": 0.86, "Total Cost": 29896.6, "Plan Rows": 5045, "Plan Width": 24, "Actual Startup Time": 0.162, "Actual Total Time": 114.459, "Actual Rows": 4114, "Actual Loops": 3, "Output": ["lineitem.l_extendedprice", "lineitem.l_discount", "lineitem.l_suppkey", "orders.o_orderdate", "orders.o_custkey"], "Inner Unique": true, "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.236, "Actual Total Time": 112.525, "Actual Rows": 3159, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 0.159, "Actual Total Time": 113.113, "Actual Rows": 3246, "Actual Loops": 1}], "Plans": [{"Node Type": "Nested Loop", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Join Type": "Inner", "Startup Cost": 0.43, "Total Cost": 22333.31, "Plan Rows": 16603, "Plan Width": 20, "Actual Startup Time": 0.096, "Actual Total Time": 50.916, "Actual Rows": 13553, "Actual Loops": 3, "Output": ["lineitem.l_extendedprice", "lineitem.l_discount", "lineitem.l_suppkey", "lineitem.l_orderkey"], "Inner Unique": false, "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.17, "Actual Total Time": 55.332, "Actual Rows": 10484, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 0.093, "Actual Total Time": 55.533, "Actual Rows": 10667, "Actual Loops": 1}], "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": true, "Async Capable": false, "Relation Name": "part", "Schema": "public", "Alias": "part", "Startup Cost": 0.0, "Total Cost": 5138.67, "Plan Rows": 553, "Plan Width": 4, "Actual Startup Time": 0.039, "Actual Total Time": 12.421, "Actual Rows": 451, "Actual Loops": 3, "Output": ["part.p_partkey", "part.p_name", "part.p_mfgr", "part.p_brand", "part.p_type", "part.p_size", "part.p_container", "part.p_retailprice", "part.p_comment"], "Filter": "((part.p_type)::text = 'SMALL BRUSHED NICKEL'::text)", "Rows Removed by Filter": 66216, "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.088, "Actual Total Time": 10.403, "Actual Rows": 351, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 0.021, "Actual Total Time": 10.295, "Actual Rows": 349, "Actual Loops": 1}]}, {"Node Type": "Index Scan", "Parent Relationship": "Inner", "Parallel Aware": false, "Async Capable": false, "Scan Direction": "Forward", "Index Name": "l_pk", "Relation Name": "lineitem", "Schema": "public", "Alias": "lineitem", "Startup Cost": 0.43, "Total Cost": 30.78, "Plan Rows": 31, "Plan Width": 24, "Actual Startup Time": 0.007, "Actual Total Time": 0.079, "Actual Rows": 30, "Actual Loops": 1352, "Output": ["lineitem.l_orderkey", "lineitem.l_partkey", "lineitem.l_suppkey", "lineitem.l_linenumber", "lineitem.l_quantity", "lineitem.l_extendedprice", "lineitem.l_discount", "lineitem.l_tax", "lineitem.l_returnflag", "lineitem.l_linestatus", "lineitem.l_shipdate", "lineitem.l_commitdate", "lineitem.l_receiptdate", "lineitem.l_shipinstruct", "lineitem.l_shipmode", "lineitem.l_comment"], "Index Cond": "(lineitem.l_partkey = part.p_partkey)", "Rows Removed by Index Recheck": 0, "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.01, "Actual Total Time": 0.121, "Actual Rows": 30, "Actual Loops": 351}, {"Worker Number": 1, "Actual Startup Time": 0.01, "Actual Total Time": 0.123, "Actual Rows": 31, "Actual Loops": 349}]}]}, {"Node Type": "Index Scan", "Parent Relationship": "Inner", "Parallel Aware": false, "Async Capable": false, "Scan Direction": "Forward", "Index Name": "o_ok", "Relation Name": "orders", "Schema": "public", "Alias": "orders", "Startup Cost": 0.43, "Total Cost": 0.46, "Plan Rows": 1, "Plan Width": 12, "Actual Startup Time": 0.004, "Actual Total Time": 0.004, "Actual Rows": 0, "Actual Loops": 40658, "Output": ["orders.o_orderkey", "orders.o_custkey", "orders.o_orderstatus", "orders.o_totalprice", "orders.o_orderdate", "orders.o_orderpriority", "orders.o_clerk", "orders.o_shippriority", "orders.o_comment"], "Index Cond": "(orders.o_orderkey = lineitem.l_orderkey)", "Rows Removed by Index Recheck": 0, "Filter": "((orders.o_orderdate >= '1995-01-01'::date) AND (orders.o_orderdate <= '1996-12-31'::date))", "Rows Removed by Filter": 1, "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.005, "Actual Total Time": 0.005, "Actual Rows": 0, "Actual Loops": 10484}, {"Worker Number": 1, "Actual Startup Time": 0.005, "Actual Total Time": 0.005, "Actual Rows": 0, "Actual Loops": 10667}]}]}, {"Node Type": "Hash", "Parent Relationship": "Inner", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 1641.12, "Total Cost": 1641.12, "Plan Rows": 30000, "Plan Width": 4, "Actual Startup Time": 24.753, "Actual Total Time": 24.755, "Actual Rows": 29764, "Actual Loops": 3, "Output": ["customer.c_custkey"], "Hash Buckets": 32768, "Original Hash Buckets": 32768, "Hash Batches": 1, "Original Hash Batches": 1, "Peak Memory Usage": 1303, "Workers": [{"Worker Number": 0, "Actual Startup Time": 25.989, "Actual Total Time": 25.991, "Actual Rows": 29764, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 25.528, "Actual Total Time": 25.53, "Actual Rows": 29764, "Actual Loops": 1}], "Plans": [{"Node Type": "Nested Loop", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Join Type": "Inner", "Startup Cost": 0.43, "Total Cost": 1641.12, "Plan Rows": 30000, "Plan Width": 4, "Actual Startup Time": 0.084, "Actual Total Time": 19.935, "Actual Rows": 29764, "Actual Loops": 3, "Output": ["customer.c_custkey"], "Inner Unique": false, "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.117, "Actual Total Time": 20.888, "Actual Rows": 29764, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 0.112, "Actual Total Time": 20.482, "Actual Rows": 29764, "Actual Loops": 1}], "Plans": [{"Node Type": "Nested Loop", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Join Type": "Inner", "Startup Cost": 0.14, "Total Cost": 5.25, "Plan Rows": 5, "Plan Width": 4, "Actual Startup Time": 0.038, "Actual Total Time": 0.06, "Actual Rows": 5, "Actual Loops": 3, "Output": ["n1.n_nationkey"], "Inner Unique": true, "Join Filter": "(n1.n_regionkey = region.r_regionkey)", "Rows Removed by Join Filter": 20, "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.054, "Actual Total Time": 0.076, "Actual Rows": 5, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 0.05, "Actual Total Time": 0.071, "Actual Rows": 5, "Actual Loops": 1}], "Plans": [{"Node Type": "Index Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Scan Direction": "Forward", "Index Name": "n_nk", "Relation Name": "nation", "Schema": "public", "Alias": "n1", "Startup Cost": 0.14, "Total Cost": 3.81, "Plan Rows": 25, "Plan Width": 8, "Actual Startup Time": 0.016, "Actual Total Time": 0.022, "Actual Rows": 25, "Actual Loops": 3, "Output": ["n1.n_nationkey", "n1.n_name", "n1.n_regionkey", "n1.n_comment"], "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.023, "Actual Total Time": 0.03, "Actual Rows": 25, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 0.021, "Actual Total Time": 0.027, "Actual Rows": 25, "Actual Loops": 1}]}, {"Node Type": "Materialize", "Parent Relationship": "Inner", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 0.0, "Total Cost": 1.07, "Plan Rows": 1, "Plan Width": 4, "Actual Startup Time": 0.001, "Actual Total Time": 0.001, "Actual Rows": 1, "Actual Loops": 75, "Output": ["region.r_regionkey"], "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.001, "Actual Total Time": 0.001, "Actual Rows": 1, "Actual Loops": 25}, {"Worker Number": 1, "Actual Startup Time": 0.001, "Actual Total Time": 0.001, "Actual Rows": 1, "Actual Loops": 25}], "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Relation Name": "region", "Schema": "public", "Alias": "region", "Startup Cost": 0.0, "Total Cost": 1.06, "Plan Rows": 1, "Plan Width": 4, "Actual Startup Time": 0.018, "Actual Total Time": 0.02, "Actual Rows": 1, "Actual Loops": 3, "Output": ["region.r_regionkey"], "Filter": "(region.r_name = 'AFRICA'::bpchar)", "Rows Removed by Filter": 4, "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.026, "Actual Total Time": 0.027, "Actual Rows": 1, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 0.024, "Actual Total Time": 0.025, "Actual Rows": 1, "Actual Loops": 1}]}]}]}, {"Node Type": "Index Scan", "Parent Relationship": "Inner", "Parallel Aware": false, "Async Capable": false, "Scan Direction": "Forward", "Index Name": "c_nk", "Relation Name": "customer", "Schema": "public", "Alias": "customer", "Startup Cost": 0.29, "Total Cost": 267.17, "Plan Rows": 6000, "Plan Width": 8, "Actual Startup Time": 0.014, "Actual Total Time": 3.219, "Actual Rows": 5953, "Actual Loops": 15, "Output": ["customer.c_custkey", "customer.c_name", "customer.c_address", "customer.c_nationkey", "customer.c_phone", "customer.c_acctbal", "customer.c_mktsegment", "customer.c_comment"], "Index Cond": "(customer.c_nationkey = n1.n_nationkey)", "Rows Removed by Index Recheck": 0, "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.018, "Actual Total Time": 3.436, "Actual Rows": 5953, "Actual Loops": 5}, {"Worker Number": 1, "Actual Startup Time": 0.018, "Actual Total Time": 3.352, "Actual Rows": 5953, "Actual Loops": 5}]}]}]}]}, {"Node Type": "Index Scan", "Parent Relationship": "Inner", "Parallel Aware": false, "Async Capable": false, "Scan Direction": "Forward", "Index Name": "s_sk", "Relation Name": "supplier", "Schema": "public", "Alias": "supplier", "Startup Cost": 0.29, "Total Cost": 0.3, "Plan Rows": 1, "Plan Width": 8, "Actual Startup Time": 0.002, "Actual Total Time": 0.002, "Actual Rows": 1, "Actual Loops": 2426, "Output": ["supplier.s_suppkey", "supplier.s_name", "supplier.s_address", "supplier.s_nationkey", "supplier.s_phone", "supplier.s_acctbal", "supplier.s_comment"], "Index Cond": "(supplier.s_suppkey = lineitem.l_suppkey)", "Rows Removed by Index Recheck": 0, "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.002, "Actual Total Time": 0.002, "Actual Rows": 1, "Actual Loops": 610}, {"Worker Number": 1, "Actual Startup Time": 0.002, "Actual Total Time": 0.002, "Actual Rows": 1, "Actual Loops": 667}]}]}, {"Node Type": "Hash", "Parent Relationship": "Inner", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 1.25, "Total Cost": 1.25, "Plan Rows": 25, "Plan Width": 30, "Actual Startup Time": 0.03, "Actual Total Time": 0.03, "Actual Rows": 25, "Actual Loops": 3, "Output": ["n2.n_name", "n2.n_nationkey"], "Hash Buckets": 1024, "Original Hash Buckets": 1024, "Hash Batches": 1, "Original Hash Batches": 1, "Peak Memory Usage": 10, "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.036, "Actual Total Time": 0.036, "Actual Rows": 25, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 0.034, "Actual Total Time": 0.035, "Actual Rows": 25, "Actual Loops": 1}], "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Relation Name": "nation", "Schema": "public", "Alias": "n2", "Startup Cost": 0.0, "Total Cost": 1.25, "Plan Rows": 25, "Plan Width": 30, "Actual Startup Time": 0.014, "Actual Total Time": 0.019, "Actual Rows": 25, "Actual Loops": 3, "Output": ["n2.n_name", "n2.n_nationkey"], "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.018, "Actual Total Time": 0.023, "Actual Rows": 25, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 0.017, "Actual Total Time": 0.022, "Actual Rows": 25, "Actual Loops": 1}]}]}]}]}]}]}]}, "Planning Time": 2.837, "Triggers": [], "Execution Time": 179.166} diff --git a/dev9/pg14/tpch/sf_1/explain_analyze/15721/9-1.ok b/dev9/pg14/tpch/sf_1/explain_analyze/15721/9-1.ok new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/dev9/pg14/tpch/sf_1/explain_analyze/15721/9-1.res b/dev9/pg14/tpch/sf_1/explain_analyze/15721/9-1.res new file mode 100644 index 0000000000000000000000000000000000000000..60f040b0fa7bcd33ce77b9b1148b440faf49b69c --- /dev/null +++ b/dev9/pg14/tpch/sf_1/explain_analyze/15721/9-1.res @@ -0,0 +1 @@ +{"Plan": {"Node Type": "Sort", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 83501.9, "Total Cost": 83652.28, "Plan Rows": 60150, "Plan Width": 90, "Actual Startup Time": 540.822, "Actual Total Time": 584.539, "Actual Rows": 175, "Actual Loops": 1, "Output": ["nation.n_name", "(EXTRACT(year FROM orders.o_orderdate))", "(sum(((lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount)) - (partsupp.ps_supplycost * lineitem.l_quantity))))"], "Sort Key": ["nation.n_name", "(EXTRACT(year FROM orders.o_orderdate)) DESC"], "Sort Method": "quicksort", "Sort Space Used": 38, "Sort Space Type": "Memory", "Plans": [{"Node Type": "Aggregate", "Strategy": "Hashed", "Partial Mode": "Finalize", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 77824.86, "Total Cost": 78727.11, "Plan Rows": 60150, "Plan Width": 90, "Actual Startup Time": 540.328, "Actual Total Time": 584.273, "Actual Rows": 175, "Actual Loops": 1, "Output": ["nation.n_name", "(EXTRACT(year FROM orders.o_orderdate))", "sum(((lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount)) - (partsupp.ps_supplycost * lineitem.l_quantity)))"], "Group Key": ["nation.n_name", "(EXTRACT(year FROM orders.o_orderdate))"], "Planned Partitions": 0, "HashAgg Batches": 1, "Peak Memory Usage": 1681, "Disk Usage": 0, "Plans": [{"Node Type": "Gather", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 57073.11, "Total Cost": 76020.36, "Plan Rows": 180450, "Plan Width": 90, "Actual Startup Time": 536.516, "Actual Total Time": 583.358, "Actual Rows": 700, "Actual Loops": 1, "Output": ["nation.n_name", "(EXTRACT(year FROM orders.o_orderdate))", "(PARTIAL sum(((lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount)) - (partsupp.ps_supplycost * lineitem.l_quantity))))"], "Workers Planned": 3, "Workers Launched": 3, "Single Copy": false, "Plans": [{"Node Type": "Aggregate", "Strategy": "Hashed", "Partial Mode": "Partial", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 56073.11, "Total Cost": 56975.36, "Plan Rows": 60150, "Plan Width": 90, "Actual Startup Time": 532.2, "Actual Total Time": 532.777, "Actual Rows": 175, "Actual Loops": 4, "Output": ["nation.n_name", "(EXTRACT(year FROM orders.o_orderdate))", "PARTIAL sum(((lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount)) - (partsupp.ps_supplycost * lineitem.l_quantity)))"], "Group Key": ["nation.n_name", "EXTRACT(year FROM orders.o_orderdate)"], "Planned Partitions": 0, "HashAgg Batches": 1, "Peak Memory Usage": 1681, "Disk Usage": 0, "Workers": [{"Worker Number": 0, "Actual Startup Time": 530.611, "Actual Total Time": 530.892, "Actual Rows": 175, "Actual Loops": 1, "HashAgg Batches": 1, "Peak Memory Usage": 1681, "Disk Usage": 0}, {"Worker Number": 1, "Actual Startup Time": 531.312, "Actual Total Time": 531.583, "Actual Rows": 175, "Actual Loops": 1, "HashAgg Batches": 1, "Peak Memory Usage": 1681, "Disk Usage": 0}, {"Worker Number": 2, "Actual Startup Time": 530.9, "Actual Total Time": 531.173, "Actual Rows": 175, "Actual Loops": 1, "HashAgg Batches": 1, "Peak Memory Usage": 1681, "Disk Usage": 0}], "Plans": [{"Node Type": "Hash Join", "Parent Relationship": "Outer", "Parallel Aware": true, "Async Capable": false, "Join Type": "Inner", "Startup Cost": 21356.0, "Total Cost": 54647.37, "Plan Rows": 81471, "Plan Width": 81, "Actual Startup Time": 266.645, "Actual Total Time": 442.976, "Actual Rows": 80496, "Actual Loops": 4, "Output": ["nation.n_name", "EXTRACT(year FROM orders.o_orderdate)", "lineitem.l_extendedprice", "lineitem.l_discount", "partsupp.ps_supplycost", "lineitem.l_quantity"], "Inner Unique": false, "Hash Cond": "(orders.o_orderkey = lineitem.l_orderkey)", "Workers": [{"Worker Number": 0, "Actual Startup Time": 265.227, "Actual Total Time": 442.042, "Actual Rows": 79685, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 265.287, "Actual Total Time": 441.588, "Actual Rows": 79956, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 265.508, "Actual Total Time": 442.047, "Actual Rows": 80051, "Actual Loops": 1}], "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": true, "Async Capable": false, "Relation Name": "orders", "Schema": "public", "Alias": "orders", "Startup Cost": 0.0, "Total Cost": 30933.71, "Plan Rows": 483871, "Plan Width": 8, "Actual Startup Time": 0.021, "Actual Total Time": 35.824, "Actual Rows": 375000, "Actual Loops": 4, "Output": ["orders.o_orderkey", "orders.o_custkey", "orders.o_orderstatus", "orders.o_totalprice", "orders.o_orderdate", "orders.o_orderpriority", "orders.o_clerk", "orders.o_shippriority", "orders.o_comment"], "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.031, "Actual Total Time": 36.368, "Actual Rows": 372228, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 0.023, "Actual Total Time": 36.11, "Actual Rows": 371176, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 0.024, "Actual Total Time": 36.519, "Actual Rows": 373963, "Actual Loops": 1}]}, {"Node Type": "Hash", "Parent Relationship": "Inner", "Parallel Aware": true, "Async Capable": false, "Startup Cost": 20040.58, "Total Cost": 20040.58, "Plan Rows": 105234, "Plan Width": 53, "Actual Startup Time": 266.037, "Actual Total Time": 266.042, "Actual Rows": 80496, "Actual Loops": 4, "Output": ["lineitem.l_extendedprice", "lineitem.l_discount", "lineitem.l_quantity", "lineitem.l_orderkey", "partsupp.ps_supplycost", "nation.n_name"], "Hash Buckets": 524288, "Original Hash Buckets": 262144, "Hash Batches": 1, "Original Hash Batches": 1, "Peak Memory Usage": 36384, "Workers": [{"Worker Number": 0, "Actual Startup Time": 265.111, "Actual Total Time": 265.117, "Actual Rows": 72297, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 265.178, "Actual Total Time": 265.183, "Actual Rows": 73300, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 265.394, "Actual Total Time": 265.399, "Actual Rows": 73572, "Actual Loops": 1}], "Plans": [{"Node Type": "Nested Loop", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Join Type": "Inner", "Startup Cost": 449.42, "Total Cost": 20040.58, "Plan Rows": 105234, "Plan Width": 53, "Actual Startup Time": 4.475, "Actual Total Time": 216.776, "Actual Rows": 80496, "Actual Loops": 4, "Output": ["lineitem.l_extendedprice", "lineitem.l_discount", "lineitem.l_quantity", "lineitem.l_orderkey", "partsupp.ps_supplycost", "nation.n_name"], "Inner Unique": false, "Join Filter": "(supplier.s_suppkey = lineitem.l_suppkey)", "Rows Removed by Join Filter": 0, "Workers": [{"Worker Number": 0, "Actual Startup Time": 4.845, "Actual Total Time": 217.531, "Actual Rows": 72297, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 4.914, "Actual Total Time": 218.604, "Actual Rows": 73300, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 4.712, "Actual Total Time": 218.357, "Actual Rows": 73572, "Actual Loops": 1}], "Plans": [{"Node Type": "Hash Join", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Join Type": "Inner", "Startup Cost": 448.99, "Total Cost": 11204.15, "Plan Rows": 14028, "Plan Width": 48, "Actual Startup Time": 4.419, "Actual Total Time": 43.989, "Actual Rows": 10737, "Actual Loops": 4, "Output": ["part.p_partkey", "partsupp.ps_supplycost", "partsupp.ps_suppkey", "partsupp.ps_partkey", "supplier.s_suppkey", "nation.n_name"], "Inner Unique": true, "Hash Cond": "(supplier.s_nationkey = nation.n_nationkey)", "Workers": [{"Worker Number": 0, "Actual Startup Time": 4.771, "Actual Total Time": 42.422, "Actual Rows": 9640, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 4.841, "Actual Total Time": 43.318, "Actual Rows": 9748, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 4.648, "Actual Total Time": 42.838, "Actual Rows": 9832, "Actual Loops": 1}], "Plans": [{"Node Type": "Hash Join", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Join Type": "Inner", "Startup Cost": 447.43, "Total Cost": 11159.53, "Plan Rows": 14028, "Plan Width": 26, "Actual Startup Time": 4.377, "Actual Total Time": 40.79, "Actual Rows": 10737, "Actual Loops": 4, "Output": ["part.p_partkey", "partsupp.ps_supplycost", "partsupp.ps_suppkey", "partsupp.ps_partkey", "supplier.s_suppkey", "supplier.s_nationkey"], "Inner Unique": true, "Hash Cond": "(partsupp.ps_suppkey = supplier.s_suppkey)", "Workers": [{"Worker Number": 0, "Actual Startup Time": 4.723, "Actual Total Time": 39.626, "Actual Rows": 9640, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 4.793, "Actual Total Time": 40.487, "Actual Rows": 9748, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 4.6, "Actual Total Time": 39.99, "Actual Rows": 9832, "Actual Loops": 1}], "Plans": [{"Node Type": "Nested Loop", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Join Type": "Inner", "Startup Cost": 0.42, "Total Cost": 10675.69, "Plan Rows": 14028, "Plan Width": 18, "Actual Startup Time": 0.08, "Actual Total Time": 31.409, "Actual Rows": 10737, "Actual Loops": 4, "Output": ["part.p_partkey", "partsupp.ps_supplycost", "partsupp.ps_suppkey", "partsupp.ps_partkey"], "Inner Unique": false, "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.104, "Actual Total Time": 30.478, "Actual Rows": 9640, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 0.099, "Actual Total Time": 31.023, "Actual Rows": 9748, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 0.096, "Actual Total Time": 30.785, "Actual Rows": 9832, "Actual Loops": 1}], "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": true, "Async Capable": false, "Relation Name": "part", "Schema": "public", "Alias": "part", "Startup Cost": 0.0, "Total Cost": 5138.67, "Plan Rows": 3507, "Plan Width": 4, "Actual Startup Time": 0.016, "Actual Total Time": 14.543, "Actual Rows": 2684, "Actual Loops": 4, "Output": ["part.p_partkey", "part.p_name", "part.p_mfgr", "part.p_brand", "part.p_type", "part.p_size", "part.p_container", "part.p_retailprice", "part.p_comment"], "Filter": "((part.p_name)::text ~~ '%forest%'::text)", "Rows Removed by Filter": 47316, "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.023, "Actual Total Time": 13.762, "Actual Rows": 2410, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 0.019, "Actual Total Time": 14.143, "Actual Rows": 2437, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 0.018, "Actual Total Time": 13.876, "Actual Rows": 2458, "Actual Loops": 1}]}, {"Node Type": "Index Scan", "Parent Relationship": "Inner", "Parallel Aware": false, "Async Capable": false, "Scan Direction": "Forward", "Index Name": "ps_pk", "Relation Name": "partsupp", "Schema": "public", "Alias": "partsupp", "Startup Cost": 0.42, "Total Cost": 1.54, "Plan Rows": 4, "Plan Width": 14, "Actual Startup Time": 0.004, "Actual Total Time": 0.005, "Actual Rows": 4, "Actual Loops": 10737, "Output": ["partsupp.ps_partkey", "partsupp.ps_suppkey", "partsupp.ps_availqty", "partsupp.ps_supplycost", "partsupp.ps_comment"], "Index Cond": "(partsupp.ps_partkey = part.p_partkey)", "Rows Removed by Index Recheck": 0, "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.005, "Actual Total Time": 0.006, "Actual Rows": 4, "Actual Loops": 2410}, {"Worker Number": 1, "Actual Startup Time": 0.005, "Actual Total Time": 0.006, "Actual Rows": 4, "Actual Loops": 2437}, {"Worker Number": 2, "Actual Startup Time": 0.005, "Actual Total Time": 0.006, "Actual Rows": 4, "Actual Loops": 2458}]}]}, {"Node Type": "Hash", "Parent Relationship": "Inner", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 322.0, "Total Cost": 322.0, "Plan Rows": 10000, "Plan Width": 8, "Actual Startup Time": 4.222, "Actual Total Time": 4.223, "Actual Rows": 10000, "Actual Loops": 4, "Output": ["supplier.s_suppkey", "supplier.s_nationkey"], "Hash Buckets": 16384, "Original Hash Buckets": 16384, "Hash Batches": 1, "Original Hash Batches": 1, "Peak Memory Usage": 519, "Workers": [{"Worker Number": 0, "Actual Startup Time": 4.524, "Actual Total Time": 4.524, "Actual Rows": 10000, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 4.602, "Actual Total Time": 4.603, "Actual Rows": 10000, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 4.412, "Actual Total Time": 4.413, "Actual Rows": 10000, "Actual Loops": 1}], "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Relation Name": "supplier", "Schema": "public", "Alias": "supplier", "Startup Cost": 0.0, "Total Cost": 322.0, "Plan Rows": 10000, "Plan Width": 8, "Actual Startup Time": 0.014, "Actual Total Time": 2.611, "Actual Rows": 10000, "Actual Loops": 4, "Output": ["supplier.s_suppkey", "supplier.s_nationkey"], "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.018, "Actual Total Time": 2.851, "Actual Rows": 10000, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 0.018, "Actual Total Time": 2.922, "Actual Rows": 10000, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 0.018, "Actual Total Time": 2.736, "Actual Rows": 10000, "Actual Loops": 1}]}]}]}, {"Node Type": "Hash", "Parent Relationship": "Inner", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 1.25, "Total Cost": 1.25, "Plan Rows": 25, "Plan Width": 30, "Actual Startup Time": 0.032, "Actual Total Time": 0.032, "Actual Rows": 25, "Actual Loops": 4, "Output": ["nation.n_name", "nation.n_nationkey"], "Hash Buckets": 1024, "Original Hash Buckets": 1024, "Hash Batches": 1, "Original Hash Batches": 1, "Peak Memory Usage": 10, "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.036, "Actual Total Time": 0.036, "Actual Rows": 25, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 0.036, "Actual Total Time": 0.037, "Actual Rows": 25, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 0.036, "Actual Total Time": 0.037, "Actual Rows": 25, "Actual Loops": 1}], "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Relation Name": "nation", "Schema": "public", "Alias": "nation", "Startup Cost": 0.0, "Total Cost": 1.25, "Plan Rows": 25, "Plan Width": 30, "Actual Startup Time": 0.014, "Actual Total Time": 0.019, "Actual Rows": 25, "Actual Loops": 4, "Output": ["nation.n_name", "nation.n_nationkey"], "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.017, "Actual Total Time": 0.021, "Actual Rows": 25, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 0.017, "Actual Total Time": 0.022, "Actual Rows": 25, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 0.017, "Actual Total Time": 0.021, "Actual Rows": 25, "Actual Loops": 1}]}]}]}, {"Node Type": "Index Scan", "Parent Relationship": "Inner", "Parallel Aware": false, "Async Capable": false, "Scan Direction": "Forward", "Index Name": "l_sk_pk", "Relation Name": "lineitem", "Schema": "public", "Alias": "lineitem", "Startup Cost": 0.43, "Total Cost": 0.62, "Plan Rows": 1, "Plan Width": 29, "Actual Startup Time": 0.005, "Actual Total Time": 0.014, "Actual Rows": 7, "Actual Loops": 42948, "Output": ["lineitem.l_orderkey", "lineitem.l_partkey", "lineitem.l_suppkey", "lineitem.l_linenumber", "lineitem.l_quantity", "lineitem.l_extendedprice", "lineitem.l_discount", "lineitem.l_tax", "lineitem.l_returnflag", "lineitem.l_linestatus", "lineitem.l_shipdate", "lineitem.l_commitdate", "lineitem.l_receiptdate", "lineitem.l_shipinstruct", "lineitem.l_shipmode", "lineitem.l_comment"], "Index Cond": "((lineitem.l_suppkey = partsupp.ps_suppkey) AND (lineitem.l_partkey = partsupp.ps_partkey))", "Rows Removed by Index Recheck": 0, "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.005, "Actual Total Time": 0.016, "Actual Rows": 7, "Actual Loops": 9640}, {"Worker Number": 1, "Actual Startup Time": 0.005, "Actual Total Time": 0.016, "Actual Rows": 8, "Actual Loops": 9748}, {"Worker Number": 2, "Actual Startup Time": 0.005, "Actual Total Time": 0.016, "Actual Rows": 7, "Actual Loops": 9832}]}]}]}]}]}]}]}]}, "Planning Time": 4.556, "Triggers": [], "Execution Time": 585.07} diff --git a/dev9/pg14/tpch/sf_10/explain/15721/1-1.ok b/dev9/pg14/tpch/sf_10/explain/15721/1-1.ok new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/dev9/pg14/tpch/sf_10/explain/15721/1-1.res b/dev9/pg14/tpch/sf_10/explain/15721/1-1.res new file mode 100644 index 0000000000000000000000000000000000000000..89eff1e15772fb1abae43963be5bc0a0d653da27 --- /dev/null +++ b/dev9/pg14/tpch/sf_10/explain/15721/1-1.res @@ -0,0 +1 @@ +{"Plan": {"Node Type": "Aggregate", "Strategy": "Sorted", "Partial Mode": "Finalize", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 1525905.27, "Total Cost": 1525911.96, "Plan Rows": 6, "Plan Width": 236, "Output": ["l_returnflag", "l_linestatus", "sum(l_quantity)", "sum(l_extendedprice)", "sum((l_extendedprice * ('1'::numeric - l_discount)))", "sum(((l_extendedprice * ('1'::numeric - l_discount)) * ('1'::numeric + l_tax)))", "avg(l_quantity)", "avg(l_extendedprice)", "avg(l_discount)", "count(*)"], "Group Key": ["lineitem.l_returnflag", "lineitem.l_linestatus"], "Plans": [{"Node Type": "Gather Merge", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 1525905.27, "Total Cost": 1525910.43, "Plan Rows": 42, "Plan Width": 236, "Output": ["l_returnflag", "l_linestatus", "(PARTIAL sum(l_quantity))", "(PARTIAL sum(l_extendedprice))", "(PARTIAL sum((l_extendedprice * ('1'::numeric - l_discount))))", "(PARTIAL sum(((l_extendedprice * ('1'::numeric - l_discount)) * ('1'::numeric + l_tax))))", "(PARTIAL avg(l_quantity))", "(PARTIAL avg(l_extendedprice))", "(PARTIAL avg(l_discount))", "(PARTIAL count(*))"], "Workers Planned": 7, "Plans": [{"Node Type": "Sort", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 1524905.15, "Total Cost": 1524905.17, "Plan Rows": 6, "Plan Width": 236, "Output": ["l_returnflag", "l_linestatus", "(PARTIAL sum(l_quantity))", "(PARTIAL sum(l_extendedprice))", "(PARTIAL sum((l_extendedprice * ('1'::numeric - l_discount))))", "(PARTIAL sum(((l_extendedprice * ('1'::numeric - l_discount)) * ('1'::numeric + l_tax))))", "(PARTIAL avg(l_quantity))", "(PARTIAL avg(l_extendedprice))", "(PARTIAL avg(l_discount))", "(PARTIAL count(*))"], "Sort Key": ["lineitem.l_returnflag", "lineitem.l_linestatus"], "Plans": [{"Node Type": "Aggregate", "Strategy": "Hashed", "Partial Mode": "Partial", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 1524904.94, "Total Cost": 1524905.07, "Plan Rows": 6, "Plan Width": 236, "Output": ["l_returnflag", "l_linestatus", "PARTIAL sum(l_quantity)", "PARTIAL sum(l_extendedprice)", "PARTIAL sum((l_extendedprice * ('1'::numeric - l_discount)))", "PARTIAL sum(((l_extendedprice * ('1'::numeric - l_discount)) * ('1'::numeric + l_tax)))", "PARTIAL avg(l_quantity)", "PARTIAL avg(l_extendedprice)", "PARTIAL avg(l_discount)", "PARTIAL count(*)"], "Group Key": ["lineitem.l_returnflag", "lineitem.l_linestatus"], "Planned Partitions": 0, "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": true, "Async Capable": false, "Relation Name": "lineitem", "Schema": "public", "Alias": "lineitem", "Startup Cost": 0.0, "Total Cost": 1231662.79, "Plan Rows": 8378347, "Plan Width": 25, "Output": ["l_orderkey", "l_partkey", "l_suppkey", "l_linenumber", "l_quantity", "l_extendedprice", "l_discount", "l_tax", "l_returnflag", "l_linestatus", "l_shipdate", "l_commitdate", "l_receiptdate", "l_shipinstruct", "l_shipmode", "l_comment"], "Filter": "(lineitem.l_shipdate <= '1998-08-07 23:59:57'::timestamp without time zone)"}]}]}]}]}} diff --git a/dev9/pg14/tpch/sf_10/explain/15721/10-1.ok b/dev9/pg14/tpch/sf_10/explain/15721/10-1.ok new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/dev9/pg14/tpch/sf_10/explain/15721/10-1.res b/dev9/pg14/tpch/sf_10/explain/15721/10-1.res new file mode 100644 index 0000000000000000000000000000000000000000..f1e81d0e6653193aa28dce97246b35e4bf961810 --- /dev/null +++ b/dev9/pg14/tpch/sf_10/explain/15721/10-1.res @@ -0,0 +1 @@ +{"Plan": {"Node Type": "Limit", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 631948.67, "Total Cost": 631948.72, "Plan Rows": 20, "Plan Width": 201, "Output": ["customer.c_custkey", "customer.c_name", "(sum((lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount))))", "customer.c_acctbal", "nation.n_name", "customer.c_address", "customer.c_phone", "customer.c_comment"], "Plans": [{"Node Type": "Sort", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 631948.67, "Total Cost": 633278.1, "Plan Rows": 531772, "Plan Width": 201, "Output": ["customer.c_custkey", "customer.c_name", "(sum((lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount))))", "customer.c_acctbal", "nation.n_name", "customer.c_address", "customer.c_phone", "customer.c_comment"], "Sort Key": ["(sum((lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount)))) DESC"], "Plans": [{"Node Type": "Aggregate", "Strategy": "Sorted", "Partial Mode": "Simple", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 540832.58, "Total Cost": 617798.41, "Plan Rows": 531772, "Plan Width": 201, "Output": ["customer.c_custkey", "customer.c_name", "sum((lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount)))", "customer.c_acctbal", "nation.n_name", "customer.c_address", "customer.c_phone", "customer.c_comment"], "Group Key": ["customer.c_custkey", "nation.n_name"], "Plans": [{"Node Type": "Gather Merge", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 540832.58, "Total Cost": 604504.11, "Plan Rows": 531772, "Plan Width": 181, "Output": ["customer.c_custkey", "nation.n_name", "customer.c_name", "lineitem.l_extendedprice", "lineitem.l_discount", "customer.c_acctbal", "customer.c_address", "customer.c_phone", "customer.c_comment"], "Workers Planned": 4, "Plans": [{"Node Type": "Sort", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 539832.52, "Total Cost": 540164.88, "Plan Rows": 132943, "Plan Width": 181, "Output": ["customer.c_custkey", "nation.n_name", "customer.c_name", "lineitem.l_extendedprice", "lineitem.l_discount", "customer.c_acctbal", "customer.c_address", "customer.c_phone", "customer.c_comment"], "Sort Key": ["customer.c_custkey", "nation.n_name"], "Plans": [{"Node Type": "Hash Join", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Join Type": "Inner", "Startup Cost": 479047.52, "Total Cost": 521597.98, "Plan Rows": 132943, "Plan Width": 181, "Output": ["customer.c_custkey", "nation.n_name", "customer.c_name", "lineitem.l_extendedprice", "lineitem.l_discount", "customer.c_acctbal", "customer.c_address", "customer.c_phone", "customer.c_comment"], "Inner Unique": true, "Hash Cond": "(customer.c_nationkey = nation.n_nationkey)", "Plans": [{"Node Type": "Hash Join", "Parent Relationship": "Outer", "Parallel Aware": true, "Async Capable": false, "Join Type": "Inner", "Startup Cost": 479045.95, "Total Cost": 521188.27, "Plan Rows": 132943, "Plan Width": 159, "Output": ["customer.c_custkey", "customer.c_name", "customer.c_acctbal", "customer.c_address", "customer.c_phone", "customer.c_comment", "customer.c_nationkey", "lineitem.l_extendedprice", "lineitem.l_discount"], "Inner Unique": false, "Hash Cond": "(customer.c_custkey = orders.o_custkey)", "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": true, "Async Capable": false, "Relation Name": "customer", "Schema": "public", "Alias": "customer", "Startup Cost": 0.0, "Total Cost": 39577.0, "Plan Rows": 375000, "Plan Width": 147, "Output": ["customer.c_custkey", "customer.c_name", "customer.c_address", "customer.c_nationkey", "customer.c_phone", "customer.c_acctbal", "customer.c_mktsegment", "customer.c_comment"]}, {"Node Type": "Hash", "Parent Relationship": "Inner", "Parallel Aware": true, "Async Capable": false, "Startup Cost": 477938.09, "Total Cost": 477938.09, "Plan Rows": 88629, "Plan Width": 16, "Output": ["orders.o_custkey", "lineitem.l_extendedprice", "lineitem.l_discount"], "Plans": [{"Node Type": "Nested Loop", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Join Type": "Inner", "Startup Cost": 6084.72, "Total Cost": 477938.09, "Plan Rows": 88629, "Plan Width": 16, "Output": ["orders.o_custkey", "lineitem.l_extendedprice", "lineitem.l_discount"], "Inner Unique": false, "Plans": [{"Node Type": "Bitmap Heap Scan", "Parent Relationship": "Outer", "Parallel Aware": true, "Async Capable": false, "Relation Name": "orders", "Schema": "public", "Alias": "orders", "Startup Cost": 6084.15, "Total Cost": 268355.23, "Plan Rows": 90605, "Plan Width": 8, "Output": ["orders.o_orderkey", "orders.o_custkey", "orders.o_orderstatus", "orders.o_totalprice", "orders.o_orderdate", "orders.o_orderpriority", "orders.o_clerk", "orders.o_shippriority", "orders.o_comment"], "Recheck Cond": "((orders.o_orderdate >= '1993-02-01'::date) AND (orders.o_orderdate < '1993-05-01 00:00:00'::timestamp without time zone))", "Plans": [{"Node Type": "Bitmap Index Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Index Name": "o_od", "Startup Cost": 0.0, "Total Cost": 5948.25, "Plan Rows": 543631, "Plan Width": 0, "Index Cond": "((orders.o_orderdate >= '1993-02-01'::date) AND (orders.o_orderdate < '1993-05-01 00:00:00'::timestamp without time zone))"}]}, {"Node Type": "Index Scan", "Parent Relationship": "Inner", "Parallel Aware": false, "Async Capable": false, "Scan Direction": "Forward", "Index Name": "l_ok", "Relation Name": "lineitem", "Schema": "public", "Alias": "lineitem", "Startup Cost": 0.56, "Total Cost": 2.24, "Plan Rows": 7, "Plan Width": 16, "Output": ["lineitem.l_orderkey", "lineitem.l_partkey", "lineitem.l_suppkey", "lineitem.l_linenumber", "lineitem.l_quantity", "lineitem.l_extendedprice", "lineitem.l_discount", "lineitem.l_tax", "lineitem.l_returnflag", "lineitem.l_linestatus", "lineitem.l_shipdate", "lineitem.l_commitdate", "lineitem.l_receiptdate", "lineitem.l_shipinstruct", "lineitem.l_shipmode", "lineitem.l_comment"], "Index Cond": "(lineitem.l_orderkey = orders.o_orderkey)", "Filter": "(lineitem.l_returnflag = 'R'::bpchar)"}]}]}]}, {"Node Type": "Hash", "Parent Relationship": "Inner", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 1.25, "Total Cost": 1.25, "Plan Rows": 25, "Plan Width": 30, "Output": ["nation.n_name", "nation.n_nationkey"], "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Relation Name": "nation", "Schema": "public", "Alias": "nation", "Startup Cost": 0.0, "Total Cost": 1.25, "Plan Rows": 25, "Plan Width": 30, "Output": ["nation.n_name", "nation.n_nationkey"]}]}]}]}]}]}]}]}} diff --git a/dev9/pg14/tpch/sf_10/explain/15721/11-1.ok b/dev9/pg14/tpch/sf_10/explain/15721/11-1.ok new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/dev9/pg14/tpch/sf_10/explain/15721/11-1.res b/dev9/pg14/tpch/sf_10/explain/15721/11-1.res new file mode 100644 index 0000000000000000000000000000000000000000..7cc6cd787f68d8e605c9b0ccc365d382fa02cfb3 --- /dev/null +++ b/dev9/pg14/tpch/sf_10/explain/15721/11-1.res @@ -0,0 +1 @@ +{"Plan": {"Node Type": "Sort", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 66883.4, "Total Cost": 67150.07, "Plan Rows": 106669, "Plan Width": 36, "Output": ["partsupp.ps_partkey", "(sum((partsupp.ps_supplycost * (partsupp.ps_availqty)::numeric)))"], "Sort Key": ["(sum((partsupp.ps_supplycost * (partsupp.ps_availqty)::numeric))) DESC"], "Plans": [{"Node Type": "Aggregate", "Strategy": "Plain", "Partial Mode": "Finalize", "Parent Relationship": "InitPlan", "Subplan Name": "InitPlan 1 (returns $2)", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 16279.19, "Total Cost": 16279.2, "Plan Rows": 1, "Plan Width": 32, "Output": ["(sum((partsupp_1.ps_supplycost * (partsupp_1.ps_availqty)::numeric)) * 0.0001000000)"], "Plans": [{"Node Type": "Gather", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 16279.07, "Total Cost": 16279.18, "Plan Rows": 1, "Plan Width": 32, "Output": ["(PARTIAL sum((partsupp_1.ps_supplycost * (partsupp_1.ps_availqty)::numeric)))"], "Workers Planned": 1, "Single Copy": false, "Plans": [{"Node Type": "Aggregate", "Strategy": "Plain", "Partial Mode": "Partial", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 15279.07, "Total Cost": 15279.08, "Plan Rows": 1, "Plan Width": 32, "Output": ["PARTIAL sum((partsupp_1.ps_supplycost * (partsupp_1.ps_availqty)::numeric))"], "Plans": [{"Node Type": "Nested Loop", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Join Type": "Inner", "Startup Cost": 1.76, "Total Cost": 13867.28, "Plan Rows": 188239, "Plan Width": 10, "Output": ["partsupp_1.ps_supplycost", "partsupp_1.ps_availqty"], "Inner Unique": false, "Plans": [{"Node Type": "Hash Join", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Join Type": "Inner", "Startup Cost": 1.32, "Total Cost": 2986.15, "Plan Rows": 2353, "Plan Width": 4, "Output": ["supplier_1.s_suppkey"], "Inner Unique": true, "Hash Cond": "(supplier_1.s_nationkey = nation_1.n_nationkey)", "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": true, "Async Capable": false, "Relation Name": "supplier", "Schema": "public", "Alias": "supplier_1", "Startup Cost": 0.0, "Total Cost": 2804.24, "Plan Rows": 58824, "Plan Width": 8, "Output": ["supplier_1.s_suppkey", "supplier_1.s_name", "supplier_1.s_address", "supplier_1.s_nationkey", "supplier_1.s_phone", "supplier_1.s_acctbal", "supplier_1.s_comment"]}, {"Node Type": "Hash", "Parent Relationship": "Inner", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 1.31, "Total Cost": 1.31, "Plan Rows": 1, "Plan Width": 4, "Output": ["nation_1.n_nationkey"], "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Relation Name": "nation", "Schema": "public", "Alias": "nation_1", "Startup Cost": 0.0, "Total Cost": 1.31, "Plan Rows": 1, "Plan Width": 4, "Output": ["nation_1.n_nationkey"], "Filter": "(nation_1.n_name = 'CHINA'::bpchar)"}]}]}, {"Node Type": "Index Scan", "Parent Relationship": "Inner", "Parallel Aware": false, "Async Capable": false, "Scan Direction": "Forward", "Index Name": "ps_sk", "Relation Name": "partsupp", "Schema": "public", "Alias": "partsupp_1", "Startup Cost": 0.43, "Total Cost": 3.82, "Plan Rows": 80, "Plan Width": 14, "Output": ["partsupp_1.ps_partkey", "partsupp_1.ps_suppkey", "partsupp_1.ps_availqty", "partsupp_1.ps_supplycost", "partsupp_1.ps_comment"], "Index Cond": "(partsupp_1.ps_suppkey = supplier_1.s_suppkey)"}]}]}]}]}, {"Node Type": "Aggregate", "Strategy": "Hashed", "Partial Mode": "Simple", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 33770.68, "Total Cost": 41695.85, "Plan Rows": 106669, "Plan Width": 36, "Output": ["partsupp.ps_partkey", "sum((partsupp.ps_supplycost * (partsupp.ps_availqty)::numeric))"], "Group Key": ["partsupp.ps_partkey"], "Filter": "(sum((partsupp.ps_supplycost * (partsupp.ps_availqty)::numeric)) > $2)", "Planned Partitions": 8, "Plans": [{"Node Type": "Nested Loop", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Join Type": "Inner", "Startup Cost": 36.12, "Total Cost": 20732.89, "Plan Rows": 320007, "Plan Width": 14, "Output": ["partsupp.ps_partkey", "partsupp.ps_supplycost", "partsupp.ps_availqty"], "Inner Unique": false, "Plans": [{"Node Type": "Nested Loop", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Join Type": "Inner", "Startup Cost": 35.69, "Total Cost": 2235.44, "Plan Rows": 4000, "Plan Width": 4, "Output": ["supplier.s_suppkey"], "Inner Unique": false, "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Relation Name": "nation", "Schema": "public", "Alias": "nation", "Startup Cost": 0.0, "Total Cost": 1.31, "Plan Rows": 1, "Plan Width": 4, "Output": ["nation.n_nationkey", "nation.n_name", "nation.n_regionkey", "nation.n_comment"], "Filter": "(nation.n_name = 'CHINA'::bpchar)"}, {"Node Type": "Bitmap Heap Scan", "Parent Relationship": "Inner", "Parallel Aware": false, "Async Capable": false, "Relation Name": "supplier", "Schema": "public", "Alias": "supplier", "Startup Cost": 35.69, "Total Cost": 2194.12, "Plan Rows": 4000, "Plan Width": 8, "Output": ["supplier.s_suppkey", "supplier.s_name", "supplier.s_address", "supplier.s_nationkey", "supplier.s_phone", "supplier.s_acctbal", "supplier.s_comment"], "Recheck Cond": "(supplier.s_nationkey = nation.n_nationkey)", "Plans": [{"Node Type": "Bitmap Index Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Index Name": "s_nk", "Startup Cost": 0.0, "Total Cost": 34.69, "Plan Rows": 4000, "Plan Width": 0, "Index Cond": "(supplier.s_nationkey = nation.n_nationkey)"}]}]}, {"Node Type": "Index Scan", "Parent Relationship": "Inner", "Parallel Aware": false, "Async Capable": false, "Scan Direction": "Forward", "Index Name": "ps_sk", "Relation Name": "partsupp", "Schema": "public", "Alias": "partsupp", "Startup Cost": 0.43, "Total Cost": 3.82, "Plan Rows": 80, "Plan Width": 18, "Output": ["partsupp.ps_partkey", "partsupp.ps_suppkey", "partsupp.ps_availqty", "partsupp.ps_supplycost", "partsupp.ps_comment"], "Index Cond": "(partsupp.ps_suppkey = supplier.s_suppkey)"}]}]}]}} diff --git a/dev9/pg14/tpch/sf_10/explain/15721/12-1.ok b/dev9/pg14/tpch/sf_10/explain/15721/12-1.ok new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/dev9/pg14/tpch/sf_10/explain/15721/12-1.res b/dev9/pg14/tpch/sf_10/explain/15721/12-1.res new file mode 100644 index 0000000000000000000000000000000000000000..d2dc9fdf3334b1aff4dda69236b9459b174522d0 --- /dev/null +++ b/dev9/pg14/tpch/sf_10/explain/15721/12-1.res @@ -0,0 +1 @@ +{"Plan": {"Node Type": "Aggregate", "Strategy": "Sorted", "Partial Mode": "Finalize", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 1376736.05, "Total Cost": 1377585.24, "Plan Rows": 7, "Plan Width": 27, "Output": ["lineitem.l_shipmode", "sum(CASE WHEN ((orders.o_orderpriority = '1-URGENT'::bpchar) OR (orders.o_orderpriority = '2-HIGH'::bpchar)) THEN 1 ELSE 0 END)", "sum(CASE WHEN ((orders.o_orderpriority <> '1-URGENT'::bpchar) AND (orders.o_orderpriority <> '2-HIGH'::bpchar)) THEN 1 ELSE 0 END)"], "Group Key": ["lineitem.l_shipmode"], "Plans": [{"Node Type": "Gather Merge", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 1376736.05, "Total Cost": 1377584.81, "Plan Rows": 49, "Plan Width": 27, "Output": ["lineitem.l_shipmode", "(PARTIAL sum(CASE WHEN ((orders.o_orderpriority = '1-URGENT'::bpchar) OR (orders.o_orderpriority = '2-HIGH'::bpchar)) THEN 1 ELSE 0 END))", "(PARTIAL sum(CASE WHEN ((orders.o_orderpriority <> '1-URGENT'::bpchar) AND (orders.o_orderpriority <> '2-HIGH'::bpchar)) THEN 1 ELSE 0 END))"], "Workers Planned": 7, "Plans": [{"Node Type": "Aggregate", "Strategy": "Sorted", "Partial Mode": "Partial", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 1375735.93, "Total Cost": 1376578.68, "Plan Rows": 7, "Plan Width": 27, "Output": ["lineitem.l_shipmode", "PARTIAL sum(CASE WHEN ((orders.o_orderpriority = '1-URGENT'::bpchar) OR (orders.o_orderpriority = '2-HIGH'::bpchar)) THEN 1 ELSE 0 END)", "PARTIAL sum(CASE WHEN ((orders.o_orderpriority <> '1-URGENT'::bpchar) AND (orders.o_orderpriority <> '2-HIGH'::bpchar)) THEN 1 ELSE 0 END)"], "Group Key": ["lineitem.l_shipmode"], "Plans": [{"Node Type": "Sort", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 1375735.93, "Total Cost": 1375841.27, "Plan Rows": 42134, "Plan Width": 27, "Output": ["lineitem.l_shipmode", "orders.o_orderpriority"], "Sort Key": ["lineitem.l_shipmode"], "Plans": [{"Node Type": "Nested Loop", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Join Type": "Inner", "Startup Cost": 0.43, "Total Cost": 1372499.47, "Plan Rows": 42134, "Plan Width": 27, "Output": ["lineitem.l_shipmode", "orders.o_orderpriority"], "Inner Unique": true, "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": true, "Async Capable": false, "Relation Name": "lineitem", "Schema": "public", "Alias": "lineitem", "Startup Cost": 0.0, "Total Cost": 1317359.43, "Plan Rows": 42134, "Plan Width": 15, "Output": ["lineitem.l_orderkey", "lineitem.l_partkey", "lineitem.l_suppkey", "lineitem.l_linenumber", "lineitem.l_quantity", "lineitem.l_extendedprice", "lineitem.l_discount", "lineitem.l_tax", "lineitem.l_returnflag", "lineitem.l_linestatus", "lineitem.l_shipdate", "lineitem.l_commitdate", "lineitem.l_receiptdate", "lineitem.l_shipinstruct", "lineitem.l_shipmode", "lineitem.l_comment"], "Filter": "((lineitem.l_shipmode = ANY ('{MAIL,TRUCK}'::bpchar[])) AND (lineitem.l_commitdate < lineitem.l_receiptdate) AND (lineitem.l_shipdate < lineitem.l_commitdate) AND (lineitem.l_receiptdate >= '1995-01-01'::date) AND (lineitem.l_receiptdate < '1996-01-01 00:00:00'::timestamp without time zone))"}, {"Node Type": "Index Scan", "Parent Relationship": "Inner", "Parallel Aware": false, "Async Capable": false, "Scan Direction": "Forward", "Index Name": "o_ok", "Relation Name": "orders", "Schema": "public", "Alias": "orders", "Startup Cost": 0.43, "Total Cost": 1.31, "Plan Rows": 1, "Plan Width": 20, "Output": ["orders.o_orderkey", "orders.o_custkey", "orders.o_orderstatus", "orders.o_totalprice", "orders.o_orderdate", "orders.o_orderpriority", "orders.o_clerk", "orders.o_shippriority", "orders.o_comment"], "Index Cond": "(orders.o_orderkey = lineitem.l_orderkey)"}]}]}]}]}]}} diff --git a/dev9/pg14/tpch/sf_10/explain/15721/13-1.ok b/dev9/pg14/tpch/sf_10/explain/15721/13-1.ok new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/dev9/pg14/tpch/sf_10/explain/15721/13-1.res b/dev9/pg14/tpch/sf_10/explain/15721/13-1.res new file mode 100644 index 0000000000000000000000000000000000000000..55356829097a3a2efe6234fe88f6ddbce8c242ba --- /dev/null +++ b/dev9/pg14/tpch/sf_10/explain/15721/13-1.res @@ -0,0 +1 @@ +{"Plan": {"Node Type": "Sort", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 893545.6, "Total Cost": 893546.1, "Plan Rows": 200, "Plan Width": 16, "Output": ["(count(orders.o_orderkey))", "(count(*))"], "Sort Key": ["(count(*)) DESC", "(count(orders.o_orderkey)) DESC"], "Plans": [{"Node Type": "Aggregate", "Strategy": "Hashed", "Partial Mode": "Simple", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 893535.95, "Total Cost": 893537.95, "Plan Rows": 200, "Plan Width": 16, "Output": ["(count(orders.o_orderkey))", "count(*)"], "Group Key": ["count(orders.o_orderkey)"], "Planned Partitions": 0, "Plans": [{"Node Type": "Aggregate", "Strategy": "Sorted", "Partial Mode": "Simple", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 6.66, "Total Cost": 871035.95, "Plan Rows": 1500000, "Plan Width": 12, "Output": ["customer.c_custkey", "count(orders.o_orderkey)"], "Group Key": ["customer.c_custkey"], "Plans": [{"Node Type": "Merge Join", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Join Type": "Left", "Startup Cost": 6.66, "Total Cost": 782087.02, "Plan Rows": 14789786, "Plan Width": 8, "Output": ["customer.c_custkey", "orders.o_orderkey"], "Inner Unique": false, "Merge Cond": "(customer.c_custkey = orders.o_custkey)", "Plans": [{"Node Type": "Index Only Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Scan Direction": "Forward", "Index Name": "c_ck", "Relation Name": "customer", "Schema": "public", "Alias": "customer", "Startup Cost": 0.43, "Total Cost": 27028.03, "Plan Rows": 1500000, "Plan Width": 4, "Output": ["customer.c_custkey"]}, {"Node Type": "Index Scan", "Parent Relationship": "Inner", "Parallel Aware": false, "Async Capable": false, "Scan Direction": "Forward", "Index Name": "o_ck", "Relation Name": "orders", "Schema": "public", "Alias": "orders", "Startup Cost": 0.43, "Total Cost": 566436.67, "Plan Rows": 14789786, "Plan Width": 8, "Output": ["orders.o_orderkey", "orders.o_custkey", "orders.o_orderstatus", "orders.o_totalprice", "orders.o_orderdate", "orders.o_orderpriority", "orders.o_clerk", "orders.o_shippriority", "orders.o_comment"], "Filter": "((orders.o_comment)::text !~~ '%unusual%requests%'::text)"}]}]}]}]}} diff --git a/dev9/pg14/tpch/sf_10/explain/15721/14-1.ok b/dev9/pg14/tpch/sf_10/explain/15721/14-1.ok new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/dev9/pg14/tpch/sf_10/explain/15721/14-1.res b/dev9/pg14/tpch/sf_10/explain/15721/14-1.res new file mode 100644 index 0000000000000000000000000000000000000000..34a79bffae3627d68f4d44ee4087779ac9649c61 --- /dev/null +++ b/dev9/pg14/tpch/sf_10/explain/15721/14-1.res @@ -0,0 +1 @@ +{"Plan": {"Node Type": "Aggregate", "Strategy": "Plain", "Partial Mode": "Finalize", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 718544.08, "Total Cost": 718544.1, "Plan Rows": 1, "Plan Width": 32, "Output": ["((100.00 * sum(CASE WHEN ((part.p_type)::text ~~ 'PROMO%'::text) THEN (lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount)) ELSE '0'::numeric END)) / sum((lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount))))"], "Plans": [{"Node Type": "Gather", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 718543.63, "Total Cost": 718544.04, "Plan Rows": 4, "Plan Width": 64, "Output": ["(PARTIAL sum(CASE WHEN ((part.p_type)::text ~~ 'PROMO%'::text) THEN (lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount)) ELSE '0'::numeric END))", "(PARTIAL sum((lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount))))"], "Workers Planned": 4, "Single Copy": false, "Plans": [{"Node Type": "Aggregate", "Strategy": "Plain", "Partial Mode": "Partial", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 717543.63, "Total Cost": 717543.64, "Plan Rows": 1, "Plan Width": 64, "Output": ["PARTIAL sum(CASE WHEN ((part.p_type)::text ~~ 'PROMO%'::text) THEN (lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount)) ELSE '0'::numeric END)", "PARTIAL sum((lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount)))"], "Plans": [{"Node Type": "Hash Join", "Parent Relationship": "Outer", "Parallel Aware": true, "Async Capable": false, "Join Type": "Inner", "Startup Cost": 659967.46, "Total Cost": 714069.8, "Plan Rows": 198504, "Plan Width": 33, "Output": ["part.p_type", "lineitem.l_extendedprice", "lineitem.l_discount"], "Inner Unique": false, "Hash Cond": "(part.p_partkey = lineitem.l_partkey)", "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": true, "Async Capable": false, "Relation Name": "part", "Schema": "public", "Alias": "part", "Startup Cost": 0.0, "Total Cost": 45962.0, "Plan Rows": 500000, "Plan Width": 25, "Output": ["part.p_partkey", "part.p_name", "part.p_mfgr", "part.p_brand", "part.p_type", "part.p_size", "part.p_container", "part.p_retailprice", "part.p_comment"]}, {"Node Type": "Hash", "Parent Relationship": "Inner", "Parallel Aware": true, "Async Capable": false, "Startup Cost": 656765.79, "Total Cost": 656765.79, "Plan Rows": 256134, "Plan Width": 16, "Output": ["lineitem.l_extendedprice", "lineitem.l_discount", "lineitem.l_partkey"], "Plans": [{"Node Type": "Index Scan", "Parent Relationship": "Outer", "Parallel Aware": true, "Async Capable": false, "Scan Direction": "Forward", "Index Name": "l_sd", "Relation Name": "lineitem", "Schema": "public", "Alias": "lineitem", "Startup Cost": 0.56, "Total Cost": 656765.79, "Plan Rows": 256134, "Plan Width": 16, "Output": ["lineitem.l_extendedprice", "lineitem.l_discount", "lineitem.l_partkey"], "Index Cond": "((lineitem.l_shipdate >= '1995-05-01'::date) AND (lineitem.l_shipdate < '1995-06-01 00:00:00'::timestamp without time zone))"}]}]}]}]}]}} diff --git a/dev9/pg14/tpch/sf_10/explain/15721/15-1.ok b/dev9/pg14/tpch/sf_10/explain/15721/15-1.ok new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/dev9/pg14/tpch/sf_10/explain/15721/15-1.res b/dev9/pg14/tpch/sf_10/explain/15721/15-1.res new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/dev9/pg14/tpch/sf_10/explain/15721/15-2.ok b/dev9/pg14/tpch/sf_10/explain/15721/15-2.ok new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/dev9/pg14/tpch/sf_10/explain/15721/15-2.res b/dev9/pg14/tpch/sf_10/explain/15721/15-2.res new file mode 100644 index 0000000000000000000000000000000000000000..cc580f9cf21dd47c5d195e55fdfbe20c00b27ee4 --- /dev/null +++ b/dev9/pg14/tpch/sf_10/explain/15721/15-2.res @@ -0,0 +1 @@ +{"Plan": {"Node Type": "Nested Loop", "Parallel Aware": false, "Async Capable": false, "Join Type": "Inner", "Startup Cost": 2653229.97, "Total Cost": 2746677.7, "Plan Rows": 499, "Plan Width": 103, "Output": ["supplier.s_suppkey", "supplier.s_name", "supplier.s_address", "supplier.s_phone", "(sum((lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount))))"], "Inner Unique": true, "Plans": [{"Node Type": "Aggregate", "Strategy": "Plain", "Partial Mode": "Simple", "Parent Relationship": "InitPlan", "Subplan Name": "InitPlan 1 (returns $1)", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 1373366.08, "Total Cost": 1373366.09, "Plan Rows": 1, "Plan Width": 32, "Output": ["max((sum((lineitem_1.l_extendedprice * ('1'::numeric - lineitem_1.l_discount)))))"], "Plans": [{"Node Type": "Aggregate", "Strategy": "Sorted", "Partial Mode": "Finalize", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 1279863.58, "Total Cost": 1372119.38, "Plan Rows": 99736, "Plan Width": 36, "Output": ["lineitem_1.l_suppkey", "sum((lineitem_1.l_extendedprice * ('1'::numeric - lineitem_1.l_discount)))"], "Group Key": ["lineitem_1.l_suppkey"], "Plans": [{"Node Type": "Gather Merge", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 1279863.58, "Total Cost": 1365636.54, "Plan Rows": 698152, "Plan Width": 36, "Output": ["lineitem_1.l_suppkey", "(PARTIAL sum((lineitem_1.l_extendedprice * ('1'::numeric - lineitem_1.l_discount))))"], "Workers Planned": 7, "Plans": [{"Node Type": "Sort", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 1278863.46, "Total Cost": 1279112.8, "Plan Rows": 99736, "Plan Width": 36, "Output": ["lineitem_1.l_suppkey", "(PARTIAL sum((lineitem_1.l_extendedprice * ('1'::numeric - lineitem_1.l_discount))))"], "Sort Key": ["lineitem_1.l_suppkey"], "Plans": [{"Node Type": "Aggregate", "Strategy": "Hashed", "Partial Mode": "Partial", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 1266194.08, "Total Cost": 1270582.47, "Plan Rows": 99736, "Plan Width": 36, "Output": ["lineitem_1.l_suppkey", "PARTIAL sum((lineitem_1.l_extendedprice * ('1'::numeric - lineitem_1.l_discount)))"], "Group Key": ["lineitem_1.l_suppkey"], "Planned Partitions": 4, "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": true, "Async Capable": false, "Relation Name": "lineitem", "Schema": "public", "Alias": "lineitem_1", "Startup Cost": 0.0, "Total Cost": 1253086.95, "Plan Rows": 321709, "Plan Width": 16, "Output": ["lineitem_1.l_orderkey", "lineitem_1.l_partkey", "lineitem_1.l_suppkey", "lineitem_1.l_linenumber", "lineitem_1.l_quantity", "lineitem_1.l_extendedprice", "lineitem_1.l_discount", "lineitem_1.l_tax", "lineitem_1.l_returnflag", "lineitem_1.l_linestatus", "lineitem_1.l_shipdate", "lineitem_1.l_commitdate", "lineitem_1.l_receiptdate", "lineitem_1.l_shipinstruct", "lineitem_1.l_shipmode", "lineitem_1.l_comment"], "Filter": "((lineitem_1.l_shipdate >= '1995-01-01'::date) AND (lineitem_1.l_shipdate < '1995-04-01 00:00:00'::timestamp without time zone))"}]}]}]}]}]}, {"Node Type": "Aggregate", "Strategy": "Sorted", "Partial Mode": "Finalize", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 1279863.58, "Total Cost": 1372368.72, "Plan Rows": 499, "Plan Width": 36, "Output": ["lineitem.l_suppkey", "sum((lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount)))"], "Group Key": ["lineitem.l_suppkey"], "Filter": "(sum((lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount))) = $1)", "Plans": [{"Node Type": "Gather Merge", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 1279863.58, "Total Cost": 1365636.54, "Plan Rows": 698152, "Plan Width": 36, "Output": ["lineitem.l_suppkey", "(PARTIAL sum((lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount))))"], "Workers Planned": 7, "Plans": [{"Node Type": "Sort", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 1278863.46, "Total Cost": 1279112.8, "Plan Rows": 99736, "Plan Width": 36, "Output": ["lineitem.l_suppkey", "(PARTIAL sum((lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount))))"], "Sort Key": ["lineitem.l_suppkey"], "Plans": [{"Node Type": "Aggregate", "Strategy": "Hashed", "Partial Mode": "Partial", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 1266194.08, "Total Cost": 1270582.47, "Plan Rows": 99736, "Plan Width": 36, "Output": ["lineitem.l_suppkey", "PARTIAL sum((lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount)))"], "Group Key": ["lineitem.l_suppkey"], "Planned Partitions": 4, "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": true, "Async Capable": false, "Relation Name": "lineitem", "Schema": "public", "Alias": "lineitem", "Startup Cost": 0.0, "Total Cost": 1253086.95, "Plan Rows": 321709, "Plan Width": 16, "Output": ["lineitem.l_orderkey", "lineitem.l_partkey", "lineitem.l_suppkey", "lineitem.l_linenumber", "lineitem.l_quantity", "lineitem.l_extendedprice", "lineitem.l_discount", "lineitem.l_tax", "lineitem.l_returnflag", "lineitem.l_linestatus", "lineitem.l_shipdate", "lineitem.l_commitdate", "lineitem.l_receiptdate", "lineitem.l_shipinstruct", "lineitem.l_shipmode", "lineitem.l_comment"], "Filter": "((lineitem.l_shipdate >= '1995-01-01'::date) AND (lineitem.l_shipdate < '1995-04-01 00:00:00'::timestamp without time zone))"}]}]}]}]}, {"Node Type": "Index Scan", "Parent Relationship": "Inner", "Parallel Aware": false, "Async Capable": false, "Scan Direction": "Forward", "Index Name": "s_sk", "Relation Name": "supplier", "Schema": "public", "Alias": "supplier", "Startup Cost": 0.29, "Total Cost": 1.88, "Plan Rows": 1, "Plan Width": 71, "Output": ["supplier.s_suppkey", "supplier.s_name", "supplier.s_address", "supplier.s_nationkey", "supplier.s_phone", "supplier.s_acctbal", "supplier.s_comment"], "Index Cond": "(supplier.s_suppkey = lineitem.l_suppkey)"}]}} diff --git a/dev9/pg14/tpch/sf_10/explain/15721/15-3.ok b/dev9/pg14/tpch/sf_10/explain/15721/15-3.ok new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/dev9/pg14/tpch/sf_10/explain/15721/15-3.res b/dev9/pg14/tpch/sf_10/explain/15721/15-3.res new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/dev9/pg14/tpch/sf_10/explain/15721/16-1.ok b/dev9/pg14/tpch/sf_10/explain/15721/16-1.ok new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/dev9/pg14/tpch/sf_10/explain/15721/16-1.res b/dev9/pg14/tpch/sf_10/explain/15721/16-1.res new file mode 100644 index 0000000000000000000000000000000000000000..5c8b53cfb256d459e02f0fb53fc504c4ee290a57 --- /dev/null +++ b/dev9/pg14/tpch/sf_10/explain/15721/16-1.res @@ -0,0 +1 @@ +{"Plan": {"Node Type": "Sort", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 243190.17, "Total Cost": 243575.2, "Plan Rows": 154015, "Plan Width": 44, "Output": ["part.p_brand", "part.p_type", "part.p_size", "(count(DISTINCT partsupp.ps_suppkey))"], "Sort Key": ["(count(DISTINCT partsupp.ps_suppkey)) DESC", "part.p_brand", "part.p_type", "part.p_size"], "Plans": [{"Node Type": "Aggregate", "Strategy": "Sorted", "Partial Mode": "Simple", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 149662.31, "Total Cost": 229919.69, "Plan Rows": 154015, "Plan Width": 44, "Output": ["part.p_brand", "part.p_type", "part.p_size", "count(DISTINCT partsupp.ps_suppkey)"], "Group Key": ["part.p_brand", "part.p_type", "part.p_size"], "Plans": [{"Node Type": "Gather Merge", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 149662.31, "Total Cost": 222414.01, "Plan Rows": 596553, "Plan Width": 40, "Output": ["part.p_brand", "part.p_type", "part.p_size", "partsupp.ps_suppkey"], "Workers Planned": 6, "Plans": [{"Node Type": "Sort", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 148662.22, "Total Cost": 148910.78, "Plan Rows": 99426, "Plan Width": 40, "Output": ["part.p_brand", "part.p_type", "part.p_size", "partsupp.ps_suppkey"], "Sort Key": ["part.p_brand", "part.p_type", "part.p_size"], "Plans": [{"Node Type": "Hash Join", "Parent Relationship": "Outer", "Parallel Aware": true, "Async Capable": false, "Join Type": "Inner", "Startup Cost": 57860.56, "Total Cost": 140409.19, "Plan Rows": 99426, "Plan Width": 40, "Output": ["part.p_brand", "part.p_type", "part.p_size", "partsupp.ps_suppkey"], "Inner Unique": true, "Hash Cond": "(partsupp.ps_partkey = part.p_partkey)", "Plans": [{"Node Type": "Index Only Scan", "Parent Relationship": "Outer", "Parallel Aware": true, "Async Capable": false, "Scan Direction": "Forward", "Index Name": "ps_pk_sk", "Relation Name": "partsupp", "Schema": "public", "Alias": "partsupp", "Startup Cost": 3466.46, "Total Cost": 84265.06, "Plan Rows": 666681, "Plan Width": 8, "Output": ["partsupp.ps_partkey", "partsupp.ps_suppkey"], "Filter": "(NOT (hashed SubPlan 1))", "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "SubPlan", "Subplan Name": "SubPlan 1", "Parallel Aware": false, "Async Capable": false, "Relation Name": "supplier", "Schema": "public", "Alias": "supplier", "Startup Cost": 0.0, "Total Cost": 3466.0, "Plan Rows": 10, "Plan Width": 4, "Output": ["supplier.s_suppkey"], "Filter": "((supplier.s_comment)::text ~~ '%Customer%Complaints%'::text)"}]}, {"Node Type": "Hash", "Parent Relationship": "Inner", "Parallel Aware": true, "Async Capable": false, "Startup Cost": 53462.0, "Total Cost": 53462.0, "Plan Rows": 74568, "Plan Width": 40, "Output": ["part.p_brand", "part.p_type", "part.p_size", "part.p_partkey"], "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": true, "Async Capable": false, "Relation Name": "part", "Schema": "public", "Alias": "part", "Startup Cost": 0.0, "Total Cost": 53462.0, "Plan Rows": 74568, "Plan Width": 40, "Output": ["part.p_brand", "part.p_type", "part.p_size", "part.p_partkey"], "Filter": "((part.p_brand <> 'Brand#11'::bpchar) AND ((part.p_type)::text !~~ 'ECONOMY ANODIZED%'::text) AND (part.p_size = ANY ('{42,16,39,18,23,32,44,41}'::integer[])))"}]}]}]}]}]}]}} diff --git a/dev9/pg14/tpch/sf_10/explain/15721/17-1.ok b/dev9/pg14/tpch/sf_10/explain/15721/17-1.ok new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/dev9/pg14/tpch/sf_10/explain/15721/17-1.res b/dev9/pg14/tpch/sf_10/explain/15721/17-1.res new file mode 100644 index 0000000000000000000000000000000000000000..532060e0038d20e44b89ad6c1d789f58ad326306 --- /dev/null +++ b/dev9/pg14/tpch/sf_10/explain/15721/17-1.res @@ -0,0 +1 @@ +{"Plan": {"Node Type": "Aggregate", "Strategy": "Plain", "Partial Mode": "Simple", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 1931972.34, "Total Cost": 1931972.36, "Plan Rows": 1, "Plan Width": 32, "Output": ["(sum(lineitem.l_extendedprice) / 7.0)"], "Plans": [{"Node Type": "Hash Join", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Join Type": "Inner", "Startup Cost": 49685.09, "Total Cost": 1931922.78, "Plan Rows": 19826, "Plan Width": 8, "Output": ["lineitem.l_extendedprice"], "Inner Unique": true, "Hash Cond": "(lineitem.l_partkey = part.p_partkey)", "Join Filter": "(lineitem.l_quantity < (SubPlan 1))", "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Relation Name": "lineitem", "Schema": "public", "Alias": "lineitem", "Startup Cost": 0.0, "Total Cost": 1724418.44, "Plan Rows": 59987644, "Plan Width": 17, "Output": ["lineitem.l_orderkey", "lineitem.l_partkey", "lineitem.l_suppkey", "lineitem.l_linenumber", "lineitem.l_quantity", "lineitem.l_extendedprice", "lineitem.l_discount", "lineitem.l_tax", "lineitem.l_returnflag", "lineitem.l_linestatus", "lineitem.l_shipdate", "lineitem.l_commitdate", "lineitem.l_receiptdate", "lineitem.l_shipinstruct", "lineitem.l_shipmode", "lineitem.l_comment"]}, {"Node Type": "Hash", "Parent Relationship": "Inner", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 49660.3, "Total Cost": 49660.3, "Plan Rows": 1983, "Plan Width": 4, "Output": ["part.p_partkey"], "Plans": [{"Node Type": "Gather", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 1000.0, "Total Cost": 49660.3, "Plan Rows": 1983, "Plan Width": 4, "Output": ["part.p_partkey"], "Workers Planned": 4, "Single Copy": false, "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": true, "Async Capable": false, "Relation Name": "part", "Schema": "public", "Alias": "part", "Startup Cost": 0.0, "Total Cost": 48462.0, "Plan Rows": 496, "Plan Width": 4, "Output": ["part.p_partkey"], "Filter": "((part.p_brand = 'Brand#14'::bpchar) AND (part.p_container = 'WRAP BOX'::bpchar))"}]}]}, {"Node Type": "Aggregate", "Strategy": "Plain", "Partial Mode": "Simple", "Parent Relationship": "SubPlan", "Subplan Name": "SubPlan 1", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 35.14, "Total Cost": 35.15, "Plan Rows": 1, "Plan Width": 32, "Output": ["(0.2 * avg(lineitem_1.l_quantity))"], "Plans": [{"Node Type": "Index Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Scan Direction": "Forward", "Index Name": "l_pk", "Relation Name": "lineitem", "Schema": "public", "Alias": "lineitem_1", "Startup Cost": 0.44, "Total Cost": 35.06, "Plan Rows": 30, "Plan Width": 5, "Output": ["lineitem_1.l_orderkey", "lineitem_1.l_partkey", "lineitem_1.l_suppkey", "lineitem_1.l_linenumber", "lineitem_1.l_quantity", "lineitem_1.l_extendedprice", "lineitem_1.l_discount", "lineitem_1.l_tax", "lineitem_1.l_returnflag", "lineitem_1.l_linestatus", "lineitem_1.l_shipdate", "lineitem_1.l_commitdate", "lineitem_1.l_receiptdate", "lineitem_1.l_shipinstruct", "lineitem_1.l_shipmode", "lineitem_1.l_comment"], "Index Cond": "(lineitem_1.l_partkey = part.p_partkey)"}]}]}]}} diff --git a/dev9/pg14/tpch/sf_10/explain/15721/18-1.ok b/dev9/pg14/tpch/sf_10/explain/15721/18-1.ok new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/dev9/pg14/tpch/sf_10/explain/15721/18-1.res b/dev9/pg14/tpch/sf_10/explain/15721/18-1.res new file mode 100644 index 0000000000000000000000000000000000000000..bbf2b2b1e84972452edd92ede45083a14809e1dd --- /dev/null +++ b/dev9/pg14/tpch/sf_10/explain/15721/18-1.res @@ -0,0 +1 @@ +{"Plan": {"Node Type": "Limit", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 3552736.09, "Total Cost": 3552736.34, "Plan Rows": 100, "Plan Width": 71, "Output": ["customer.c_name", "customer.c_custkey", "orders.o_orderkey", "orders.o_orderdate", "orders.o_totalprice", "(sum(lineitem.l_quantity))"], "Plans": [{"Node Type": "Sort", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 3552736.09, "Total Cost": 3559499.83, "Plan Rows": 2705497, "Plan Width": 71, "Output": ["customer.c_name", "customer.c_custkey", "orders.o_orderkey", "orders.o_orderdate", "orders.o_totalprice", "(sum(lineitem.l_quantity))"], "Sort Key": ["orders.o_totalprice DESC", "orders.o_orderdate"], "Plans": [{"Node Type": "Aggregate", "Strategy": "Sorted", "Partial Mode": "Simple", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 3065279.33, "Total Cost": 3449333.94, "Plan Rows": 2705497, "Plan Width": 71, "Output": ["customer.c_name", "customer.c_custkey", "orders.o_orderkey", "orders.o_orderdate", "orders.o_totalprice", "sum(lineitem.l_quantity)"], "Group Key": ["customer.c_custkey", "orders.o_orderkey"], "Plans": [{"Node Type": "Gather Merge", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 3065279.33, "Total Cost": 3395224.0, "Plan Rows": 2705497, "Plan Width": 44, "Output": ["customer.c_custkey", "orders.o_orderkey", "customer.c_name", "orders.o_orderdate", "orders.o_totalprice", "lineitem.l_quantity"], "Workers Planned": 6, "Plans": [{"Node Type": "Sort", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 3064279.23, "Total Cost": 3065406.52, "Plan Rows": 450916, "Plan Width": 44, "Output": ["customer.c_custkey", "orders.o_orderkey", "customer.c_name", "orders.o_orderdate", "orders.o_totalprice", "lineitem.l_quantity"], "Sort Key": ["customer.c_custkey", "orders.o_orderkey"], "Plans": [{"Node Type": "Hash Join", "Parent Relationship": "Outer", "Parallel Aware": true, "Async Capable": false, "Join Type": "Inner", "Startup Cost": 2521395.3, "Total Cost": 3013806.38, "Plan Rows": 450916, "Plan Width": 44, "Output": ["customer.c_custkey", "orders.o_orderkey", "customer.c_name", "orders.o_orderdate", "orders.o_totalprice", "lineitem.l_quantity"], "Inner Unique": true, "Hash Cond": "(orders.o_custkey = customer.c_custkey)", "Plans": [{"Node Type": "Nested Loop", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Join Type": "Inner", "Startup Cost": 2477130.8, "Total Cost": 2968358.23, "Plan Rows": 450916, "Plan Width": 25, "Output": ["orders.o_orderkey", "orders.o_orderdate", "orders.o_totalprice", "orders.o_custkey", "lineitem.l_quantity"], "Inner Unique": false, "Plans": [{"Node Type": "Hash Join", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Join Type": "Inner", "Startup Cost": 2477130.23, "Total Cost": 2801546.17, "Plan Rows": 112754, "Plan Width": 24, "Output": ["orders.o_orderkey", "orders.o_orderdate", "orders.o_totalprice", "orders.o_custkey", "lineitem_1.l_orderkey"], "Inner Unique": true, "Hash Cond": "(orders.o_orderkey = lineitem_1.l_orderkey)", "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": true, "Async Capable": false, "Relation Name": "orders", "Schema": "public", "Alias": "orders", "Startup Cost": 0.0, "Total Cost": 285912.35, "Plan Rows": 2500035, "Plan Width": 20, "Output": ["orders.o_orderkey", "orders.o_orderdate", "orders.o_totalprice", "orders.o_custkey"]}, {"Node Type": "Hash", "Parent Relationship": "Inner", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 2466030.69, "Total Cost": 2466030.69, "Plan Rows": 676523, "Plan Width": 4, "Output": ["lineitem_1.l_orderkey"], "Plans": [{"Node Type": "Aggregate", "Strategy": "Sorted", "Partial Mode": "Simple", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 0.56, "Total Cost": 2459265.46, "Plan Rows": 676523, "Plan Width": 4, "Output": ["lineitem_1.l_orderkey"], "Group Key": ["lineitem_1.l_orderkey"], "Filter": "(sum(lineitem_1.l_quantity) > '314'::numeric)", "Plans": [{"Node Type": "Index Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Scan Direction": "Forward", "Index Name": "l_ok", "Relation Name": "lineitem", "Schema": "public", "Alias": "lineitem_1", "Startup Cost": 0.56, "Total Cost": 2128883.73, "Plan Rows": 59987644, "Plan Width": 9, "Output": ["lineitem_1.l_orderkey", "lineitem_1.l_partkey", "lineitem_1.l_suppkey", "lineitem_1.l_linenumber", "lineitem_1.l_quantity", "lineitem_1.l_extendedprice", "lineitem_1.l_discount", "lineitem_1.l_tax", "lineitem_1.l_returnflag", "lineitem_1.l_linestatus", "lineitem_1.l_shipdate", "lineitem_1.l_commitdate", "lineitem_1.l_receiptdate", "lineitem_1.l_shipinstruct", "lineitem_1.l_shipmode", "lineitem_1.l_comment"]}]}]}]}, {"Node Type": "Index Scan", "Parent Relationship": "Inner", "Parallel Aware": false, "Async Capable": false, "Scan Direction": "Forward", "Index Name": "l_ok", "Relation Name": "lineitem", "Schema": "public", "Alias": "lineitem", "Startup Cost": 0.56, "Total Cost": 1.18, "Plan Rows": 30, "Plan Width": 9, "Output": ["lineitem.l_orderkey", "lineitem.l_partkey", "lineitem.l_suppkey", "lineitem.l_linenumber", "lineitem.l_quantity", "lineitem.l_extendedprice", "lineitem.l_discount", "lineitem.l_tax", "lineitem.l_returnflag", "lineitem.l_linestatus", "lineitem.l_shipdate", "lineitem.l_commitdate", "lineitem.l_receiptdate", "lineitem.l_shipinstruct", "lineitem.l_shipmode", "lineitem.l_comment"], "Index Cond": "(lineitem.l_orderkey = orders.o_orderkey)"}]}, {"Node Type": "Hash", "Parent Relationship": "Inner", "Parallel Aware": true, "Async Capable": false, "Startup Cost": 39577.0, "Total Cost": 39577.0, "Plan Rows": 375000, "Plan Width": 23, "Output": ["customer.c_name", "customer.c_custkey"], "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": true, "Async Capable": false, "Relation Name": "customer", "Schema": "public", "Alias": "customer", "Startup Cost": 0.0, "Total Cost": 39577.0, "Plan Rows": 375000, "Plan Width": 23, "Output": ["customer.c_name", "customer.c_custkey"]}]}]}]}]}]}]}]}} diff --git a/dev9/pg14/tpch/sf_10/explain/15721/19-1.ok b/dev9/pg14/tpch/sf_10/explain/15721/19-1.ok new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/dev9/pg14/tpch/sf_10/explain/15721/19-1.res b/dev9/pg14/tpch/sf_10/explain/15721/19-1.res new file mode 100644 index 0000000000000000000000000000000000000000..b77c0f09fadfd73f8355d5bcf27fe6e458453952 --- /dev/null +++ b/dev9/pg14/tpch/sf_10/explain/15721/19-1.res @@ -0,0 +1 @@ +{"Plan": {"Node Type": "Aggregate", "Strategy": "Plain", "Partial Mode": "Finalize", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 106164.5, "Total Cost": 106164.51, "Plan Rows": 1, "Plan Width": 32, "Output": ["sum((lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount)))"], "Plans": [{"Node Type": "Gather", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 106164.07, "Total Cost": 106164.48, "Plan Rows": 4, "Plan Width": 32, "Output": ["(PARTIAL sum((lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount))))"], "Workers Planned": 4, "Single Copy": false, "Plans": [{"Node Type": "Aggregate", "Strategy": "Plain", "Partial Mode": "Partial", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 105164.07, "Total Cost": 105164.08, "Plan Rows": 1, "Plan Width": 32, "Output": ["PARTIAL sum((lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount)))"], "Plans": [{"Node Type": "Nested Loop", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Join Type": "Inner", "Startup Cost": 0.44, "Total Cost": 105161.87, "Plan Rows": 293, "Plan Width": 12, "Output": ["lineitem.l_extendedprice", "lineitem.l_discount"], "Inner Unique": false, "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": true, "Async Capable": false, "Relation Name": "part", "Schema": "public", "Alias": "part", "Startup Cost": 0.0, "Total Cost": 62212.0, "Plan Rows": 1229, "Plan Width": 30, "Output": ["part.p_partkey", "part.p_name", "part.p_mfgr", "part.p_brand", "part.p_type", "part.p_size", "part.p_container", "part.p_retailprice", "part.p_comment"], "Filter": "((part.p_size >= 1) AND (((part.p_brand = 'Brand#52'::bpchar) AND (part.p_container = ANY ('{\"SM CASE\",\"SM BOX\",\"SM PACK\",\"SM PKG\"}'::bpchar[])) AND (part.p_size <= 5)) OR ((part.p_brand = 'Brand#42'::bpchar) AND (part.p_container = ANY ('{\"MED BAG\",\"MED BOX\",\"MED PKG\",\"MED PACK\"}'::bpchar[])) AND (part.p_size <= 10)) OR ((part.p_brand = 'Brand#23'::bpchar) AND (part.p_container = ANY ('{\"LG CASE\",\"LG BOX\",\"LG PACK\",\"LG PKG\"}'::bpchar[])) AND (part.p_size <= 15))))"}, {"Node Type": "Index Scan", "Parent Relationship": "Inner", "Parallel Aware": false, "Async Capable": false, "Scan Direction": "Forward", "Index Name": "l_pk", "Relation Name": "lineitem", "Schema": "public", "Alias": "lineitem", "Startup Cost": 0.44, "Total Cost": 34.94, "Plan Rows": 1, "Plan Width": 21, "Output": ["lineitem.l_orderkey", "lineitem.l_partkey", "lineitem.l_suppkey", "lineitem.l_linenumber", "lineitem.l_quantity", "lineitem.l_extendedprice", "lineitem.l_discount", "lineitem.l_tax", "lineitem.l_returnflag", "lineitem.l_linestatus", "lineitem.l_shipdate", "lineitem.l_commitdate", "lineitem.l_receiptdate", "lineitem.l_shipinstruct", "lineitem.l_shipmode", "lineitem.l_comment"], "Index Cond": "(lineitem.l_partkey = part.p_partkey)", "Filter": "((lineitem.l_shipmode = ANY ('{AIR,\"AIR REG\"}'::bpchar[])) AND (lineitem.l_shipinstruct = 'DELIVER IN PERSON'::bpchar) AND (((lineitem.l_quantity >= '9'::numeric) AND (lineitem.l_quantity <= '19'::numeric)) OR ((lineitem.l_quantity >= '18'::numeric) AND (lineitem.l_quantity <= '28'::numeric)) OR ((lineitem.l_quantity >= '22'::numeric) AND (lineitem.l_quantity <= '32'::numeric))) AND (((part.p_brand = 'Brand#52'::bpchar) AND (part.p_container = ANY ('{\"SM CASE\",\"SM BOX\",\"SM PACK\",\"SM PKG\"}'::bpchar[])) AND (lineitem.l_quantity >= '9'::numeric) AND (lineitem.l_quantity <= '19'::numeric) AND (part.p_size <= 5)) OR ((part.p_brand = 'Brand#42'::bpchar) AND (part.p_container = ANY ('{\"MED BAG\",\"MED BOX\",\"MED PKG\",\"MED PACK\"}'::bpchar[])) AND (lineitem.l_quantity >= '18'::numeric) AND (lineitem.l_quantity <= '28'::numeric) AND (part.p_size <= 10)) OR ((part.p_brand = 'Brand#23'::bpchar) AND (part.p_container = ANY ('{\"LG CASE\",\"LG BOX\",\"LG PACK\",\"LG PKG\"}'::bpchar[])) AND (lineitem.l_quantity >= '22'::numeric) AND (lineitem.l_quantity <= '32'::numeric) AND (part.p_size <= 15))))"}]}]}]}]}} diff --git a/dev9/pg14/tpch/sf_10/explain/15721/2-1.ok b/dev9/pg14/tpch/sf_10/explain/15721/2-1.ok new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/dev9/pg14/tpch/sf_10/explain/15721/2-1.res b/dev9/pg14/tpch/sf_10/explain/15721/2-1.res new file mode 100644 index 0000000000000000000000000000000000000000..6c848fb2903f8c7a855816f31e7f81bab14e9672 --- /dev/null +++ b/dev9/pg14/tpch/sf_10/explain/15721/2-1.res @@ -0,0 +1 @@ +{"Plan": {"Node Type": "Limit", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 363190.77, "Total Cost": 363190.78, "Plan Rows": 1, "Plan Width": 192, "Output": ["supplier.s_acctbal", "supplier.s_name", "nation.n_name", "part.p_partkey", "part.p_mfgr", "supplier.s_address", "supplier.s_phone", "supplier.s_comment"], "Plans": [{"Node Type": "Sort", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 363190.77, "Total Cost": 363190.78, "Plan Rows": 1, "Plan Width": 192, "Output": ["supplier.s_acctbal", "supplier.s_name", "nation.n_name", "part.p_partkey", "part.p_mfgr", "supplier.s_address", "supplier.s_phone", "supplier.s_comment"], "Sort Key": ["supplier.s_acctbal DESC", "nation.n_name", "supplier.s_name", "part.p_partkey"], "Plans": [{"Node Type": "Hash Join", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Join Type": "Inner", "Startup Cost": 157607.22, "Total Cost": 363190.76, "Plan Rows": 1, "Plan Width": 192, "Output": ["supplier.s_acctbal", "supplier.s_name", "nation.n_name", "part.p_partkey", "part.p_mfgr", "supplier.s_address", "supplier.s_phone", "supplier.s_comment"], "Inner Unique": false, "Hash Cond": "((part.p_partkey = partsupp.ps_partkey) AND ((SubPlan 1) = partsupp.ps_supplycost))", "Plans": [{"Node Type": "Gather", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 1000.0, "Total Cost": 50269.9, "Plan Rows": 8079, "Plan Width": 30, "Output": ["part.p_partkey", "part.p_mfgr"], "Workers Planned": 4, "Single Copy": false, "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": true, "Async Capable": false, "Relation Name": "part", "Schema": "public", "Alias": "part", "Startup Cost": 0.0, "Total Cost": 48462.0, "Plan Rows": 2020, "Plan Width": 30, "Output": ["part.p_partkey", "part.p_mfgr"], "Filter": "(((part.p_type)::text ~~ '%TIN'::text) AND (part.p_size = 44))"}]}, {"Node Type": "Hash", "Parent Relationship": "Inner", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 93542.7, "Total Cost": 93542.7, "Plan Rows": 1600035, "Plan Width": 172, "Output": ["supplier.s_acctbal", "supplier.s_name", "supplier.s_address", "supplier.s_phone", "supplier.s_comment", "partsupp.ps_partkey", "partsupp.ps_supplycost", "nation.n_name"], "Plans": [{"Node Type": "Nested Loop", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Join Type": "Inner", "Startup Cost": 0.72, "Total Cost": 93542.7, "Plan Rows": 1600035, "Plan Width": 172, "Output": ["supplier.s_acctbal", "supplier.s_name", "supplier.s_address", "supplier.s_phone", "supplier.s_comment", "partsupp.ps_partkey", "partsupp.ps_supplycost", "nation.n_name"], "Inner Unique": false, "Plans": [{"Node Type": "Nested Loop", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Join Type": "Inner", "Startup Cost": 0.29, "Total Cost": 1055.41, "Plan Rows": 20000, "Plan Width": 166, "Output": ["supplier.s_acctbal", "supplier.s_name", "supplier.s_address", "supplier.s_phone", "supplier.s_comment", "supplier.s_suppkey", "nation.n_name"], "Inner Unique": false, "Plans": [{"Node Type": "Nested Loop", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Join Type": "Inner", "Startup Cost": 0.0, "Total Cost": 2.62, "Plan Rows": 5, "Plan Width": 30, "Output": ["nation.n_name", "nation.n_nationkey"], "Inner Unique": false, "Join Filter": "(nation.n_regionkey = region.r_regionkey)", "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Relation Name": "region", "Schema": "public", "Alias": "region", "Startup Cost": 0.0, "Total Cost": 1.06, "Plan Rows": 1, "Plan Width": 4, "Output": ["region.r_regionkey", "region.r_name", "region.r_comment"], "Filter": "(region.r_name = 'EUROPE'::bpchar)"}, {"Node Type": "Seq Scan", "Parent Relationship": "Inner", "Parallel Aware": false, "Async Capable": false, "Relation Name": "nation", "Schema": "public", "Alias": "nation", "Startup Cost": 0.0, "Total Cost": 1.25, "Plan Rows": 25, "Plan Width": 34, "Output": ["nation.n_nationkey", "nation.n_name", "nation.n_regionkey", "nation.n_comment"]}]}, {"Node Type": "Index Scan", "Parent Relationship": "Inner", "Parallel Aware": false, "Async Capable": false, "Scan Direction": "Forward", "Index Name": "s_nk", "Relation Name": "supplier", "Schema": "public", "Alias": "supplier", "Startup Cost": 0.29, "Total Cost": 170.56, "Plan Rows": 4000, "Plan Width": 144, "Output": ["supplier.s_suppkey", "supplier.s_name", "supplier.s_address", "supplier.s_nationkey", "supplier.s_phone", "supplier.s_acctbal", "supplier.s_comment"], "Index Cond": "(supplier.s_nationkey = nation.n_nationkey)"}]}, {"Node Type": "Index Scan", "Parent Relationship": "Inner", "Parallel Aware": false, "Async Capable": false, "Scan Direction": "Forward", "Index Name": "ps_sk", "Relation Name": "partsupp", "Schema": "public", "Alias": "partsupp", "Startup Cost": 0.43, "Total Cost": 3.82, "Plan Rows": 80, "Plan Width": 14, "Output": ["partsupp.ps_partkey", "partsupp.ps_suppkey", "partsupp.ps_availqty", "partsupp.ps_supplycost", "partsupp.ps_comment"], "Index Cond": "(partsupp.ps_suppkey = supplier.s_suppkey)"}]}]}, {"Node Type": "Aggregate", "Strategy": "Plain", "Partial Mode": "Simple", "Parent Relationship": "SubPlan", "Subplan Name": "SubPlan 1", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 14.48, "Total Cost": 14.49, "Plan Rows": 1, "Plan Width": 32, "Output": ["min(partsupp_1.ps_supplycost)"], "Plans": [{"Node Type": "Nested Loop", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Join Type": "Inner", "Startup Cost": 0.86, "Total Cost": 14.48, "Plan Rows": 1, "Plan Width": 6, "Output": ["partsupp_1.ps_supplycost"], "Inner Unique": false, "Join Filter": "(nation_1.n_regionkey = region_1.r_regionkey)", "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Relation Name": "region", "Schema": "public", "Alias": "region_1", "Startup Cost": 0.0, "Total Cost": 1.06, "Plan Rows": 1, "Plan Width": 4, "Output": ["region_1.r_regionkey", "region_1.r_name", "region_1.r_comment"], "Filter": "(region_1.r_name = 'EUROPE'::bpchar)"}, {"Node Type": "Nested Loop", "Parent Relationship": "Inner", "Parallel Aware": false, "Async Capable": false, "Join Type": "Inner", "Startup Cost": 0.86, "Total Cost": 13.36, "Plan Rows": 4, "Plan Width": 10, "Output": ["partsupp_1.ps_supplycost", "nation_1.n_regionkey"], "Inner Unique": true, "Plans": [{"Node Type": "Nested Loop", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Join Type": "Inner", "Startup Cost": 0.72, "Total Cost": 12.74, "Plan Rows": 4, "Plan Width": 10, "Output": ["partsupp_1.ps_supplycost", "supplier_1.s_nationkey"], "Inner Unique": true, "Plans": [{"Node Type": "Index Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Scan Direction": "Forward", "Index Name": "ps_pk", "Relation Name": "partsupp", "Schema": "public", "Alias": "partsupp_1", "Startup Cost": 0.43, "Total Cost": 2.7, "Plan Rows": 4, "Plan Width": 10, "Output": ["partsupp_1.ps_partkey", "partsupp_1.ps_suppkey", "partsupp_1.ps_availqty", "partsupp_1.ps_supplycost", "partsupp_1.ps_comment"], "Index Cond": "(partsupp_1.ps_partkey = part.p_partkey)"}, {"Node Type": "Index Scan", "Parent Relationship": "Inner", "Parallel Aware": false, "Async Capable": false, "Scan Direction": "Forward", "Index Name": "s_sk", "Relation Name": "supplier", "Schema": "public", "Alias": "supplier_1", "Startup Cost": 0.29, "Total Cost": 2.51, "Plan Rows": 1, "Plan Width": 8, "Output": ["supplier_1.s_suppkey", "supplier_1.s_name", "supplier_1.s_address", "supplier_1.s_nationkey", "supplier_1.s_phone", "supplier_1.s_acctbal", "supplier_1.s_comment"], "Index Cond": "(supplier_1.s_suppkey = partsupp_1.ps_suppkey)"}]}, {"Node Type": "Index Scan", "Parent Relationship": "Inner", "Parallel Aware": false, "Async Capable": false, "Scan Direction": "Forward", "Index Name": "n_nk", "Relation Name": "nation", "Schema": "public", "Alias": "nation_1", "Startup Cost": 0.14, "Total Cost": 0.16, "Plan Rows": 1, "Plan Width": 8, "Output": ["nation_1.n_nationkey", "nation_1.n_name", "nation_1.n_regionkey", "nation_1.n_comment"], "Index Cond": "(nation_1.n_nationkey = supplier_1.s_nationkey)"}]}]}]}]}]}]}} diff --git a/dev9/pg14/tpch/sf_10/explain/15721/20-1.ok b/dev9/pg14/tpch/sf_10/explain/15721/20-1.ok new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/dev9/pg14/tpch/sf_10/explain/15721/20-1.res b/dev9/pg14/tpch/sf_10/explain/15721/20-1.res new file mode 100644 index 0000000000000000000000000000000000000000..8c854cfb4a58615b45f615fbb4bc8527de559802 --- /dev/null +++ b/dev9/pg14/tpch/sf_10/explain/15721/20-1.res @@ -0,0 +1 @@ +{"Plan": {"Node Type": "Sort", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 311438.78, "Total Cost": 311441.45, "Plan Rows": 1069, "Plan Width": 51, "Output": ["supplier.s_name", "supplier.s_address"], "Sort Key": ["supplier.s_name"], "Plans": [{"Node Type": "Hash Join", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Join Type": "Semi", "Startup Cost": 309157.52, "Total Cost": 311385.0, "Plan Rows": 1069, "Plan Width": 51, "Output": ["supplier.s_name", "supplier.s_address"], "Inner Unique": false, "Hash Cond": "(supplier.s_suppkey = partsupp.ps_suppkey)", "Plans": [{"Node Type": "Nested Loop", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Join Type": "Inner", "Startup Cost": 35.69, "Total Cost": 2235.44, "Plan Rows": 4000, "Plan Width": 55, "Output": ["supplier.s_name", "supplier.s_address", "supplier.s_suppkey"], "Inner Unique": false, "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Relation Name": "nation", "Schema": "public", "Alias": "nation", "Startup Cost": 0.0, "Total Cost": 1.31, "Plan Rows": 1, "Plan Width": 4, "Output": ["nation.n_nationkey", "nation.n_name", "nation.n_regionkey", "nation.n_comment"], "Filter": "(nation.n_name = 'GERMANY'::bpchar)"}, {"Node Type": "Bitmap Heap Scan", "Parent Relationship": "Inner", "Parallel Aware": false, "Async Capable": false, "Relation Name": "supplier", "Schema": "public", "Alias": "supplier", "Startup Cost": 35.69, "Total Cost": 2194.12, "Plan Rows": 4000, "Plan Width": 59, "Output": ["supplier.s_suppkey", "supplier.s_name", "supplier.s_address", "supplier.s_nationkey", "supplier.s_phone", "supplier.s_acctbal", "supplier.s_comment"], "Recheck Cond": "(supplier.s_nationkey = nation.n_nationkey)", "Plans": [{"Node Type": "Bitmap Index Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Index Name": "s_nk", "Startup Cost": 0.0, "Total Cost": 34.69, "Plan Rows": 4000, "Plan Width": 0, "Index Cond": "(supplier.s_nationkey = nation.n_nationkey)"}]}]}, {"Node Type": "Hash", "Parent Relationship": "Inner", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 308787.81, "Total Cost": 308787.81, "Plan Rows": 26721, "Plan Width": 4, "Output": ["partsupp.ps_suppkey"], "Plans": [{"Node Type": "Nested Loop", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Join Type": "Inner", "Startup Cost": 1000.43, "Total Cost": 308787.81, "Plan Rows": 26721, "Plan Width": 4, "Output": ["partsupp.ps_suppkey"], "Inner Unique": false, "Plans": [{"Node Type": "Gather", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 1000.0, "Total Cost": 50216.0, "Plan Rows": 20040, "Plan Width": 4, "Output": ["part.p_partkey"], "Workers Planned": 4, "Single Copy": false, "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": true, "Async Capable": false, "Relation Name": "part", "Schema": "public", "Alias": "part", "Startup Cost": 0.0, "Total Cost": 47212.0, "Plan Rows": 5010, "Plan Width": 4, "Output": ["part.p_partkey"], "Filter": "((part.p_name)::text ~~ 'floral%'::text)"}]}, {"Node Type": "Index Scan", "Parent Relationship": "Inner", "Parallel Aware": false, "Async Capable": false, "Scan Direction": "Forward", "Index Name": "ps_pk", "Relation Name": "partsupp", "Schema": "public", "Alias": "partsupp", "Startup Cost": 0.43, "Total Cost": 12.89, "Plan Rows": 1, "Plan Width": 8, "Output": ["partsupp.ps_partkey", "partsupp.ps_suppkey", "partsupp.ps_availqty", "partsupp.ps_supplycost", "partsupp.ps_comment"], "Index Cond": "(partsupp.ps_partkey = part.p_partkey)", "Filter": "((partsupp.ps_availqty)::numeric > (SubPlan 1))", "Plans": [{"Node Type": "Aggregate", "Strategy": "Plain", "Partial Mode": "Simple", "Parent Relationship": "SubPlan", "Subplan Name": "SubPlan 1", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 2.67, "Total Cost": 2.68, "Plan Rows": 1, "Plan Width": 32, "Output": ["(0.5 * sum(lineitem.l_quantity))"], "Plans": [{"Node Type": "Index Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Scan Direction": "Forward", "Index Name": "l_sk_pk", "Relation Name": "lineitem", "Schema": "public", "Alias": "lineitem", "Startup Cost": 0.44, "Total Cost": 2.67, "Plan Rows": 1, "Plan Width": 5, "Output": ["lineitem.l_orderkey", "lineitem.l_partkey", "lineitem.l_suppkey", "lineitem.l_linenumber", "lineitem.l_quantity", "lineitem.l_extendedprice", "lineitem.l_discount", "lineitem.l_tax", "lineitem.l_returnflag", "lineitem.l_linestatus", "lineitem.l_shipdate", "lineitem.l_commitdate", "lineitem.l_receiptdate", "lineitem.l_shipinstruct", "lineitem.l_shipmode", "lineitem.l_comment"], "Index Cond": "((lineitem.l_suppkey = partsupp.ps_suppkey) AND (lineitem.l_partkey = partsupp.ps_partkey))", "Filter": "((lineitem.l_shipdate >= '1996-01-01'::date) AND (lineitem.l_shipdate < '1997-01-01 00:00:00'::timestamp without time zone))"}]}]}]}]}]}]}} diff --git a/dev9/pg14/tpch/sf_10/explain/15721/21-1.ok b/dev9/pg14/tpch/sf_10/explain/15721/21-1.ok new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/dev9/pg14/tpch/sf_10/explain/15721/21-1.res b/dev9/pg14/tpch/sf_10/explain/15721/21-1.res new file mode 100644 index 0000000000000000000000000000000000000000..36caec6fd4f0464a1752513798bf483fdd52f633 --- /dev/null +++ b/dev9/pg14/tpch/sf_10/explain/15721/21-1.res @@ -0,0 +1 @@ +{"Plan": {"Node Type": "Limit", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 407510.86, "Total Cost": 407510.87, "Plan Rows": 1, "Plan Width": 34, "Output": ["supplier.s_name", "(count(*))"], "Plans": [{"Node Type": "Sort", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 407510.86, "Total Cost": 407510.87, "Plan Rows": 1, "Plan Width": 34, "Output": ["supplier.s_name", "(count(*))"], "Sort Key": ["(count(*)) DESC", "supplier.s_name"], "Plans": [{"Node Type": "Aggregate", "Strategy": "Sorted", "Partial Mode": "Simple", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 407510.83, "Total Cost": 407510.85, "Plan Rows": 1, "Plan Width": 34, "Output": ["supplier.s_name", "count(*)"], "Group Key": ["supplier.s_name"], "Plans": [{"Node Type": "Sort", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 407510.83, "Total Cost": 407510.84, "Plan Rows": 1, "Plan Width": 26, "Output": ["supplier.s_name"], "Sort Key": ["supplier.s_name"], "Plans": [{"Node Type": "Nested Loop", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Join Type": "Inner", "Startup Cost": 1003.33, "Total Cost": 407510.82, "Plan Rows": 1, "Plan Width": 26, "Output": ["supplier.s_name"], "Inner Unique": true, "Plans": [{"Node Type": "Nested Loop", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Join Type": "Semi", "Startup Cost": 1002.9, "Total Cost": 407510.35, "Plan Rows": 1, "Plan Width": 34, "Output": ["supplier.s_name", "l1.l_orderkey", "l2.l_orderkey"], "Inner Unique": false, "Plans": [{"Node Type": "Gather", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 1002.33, "Total Cost": 407509.1, "Plan Rows": 1, "Plan Width": 34, "Output": ["supplier.s_name", "l1.l_suppkey", "l1.l_orderkey"], "Workers Planned": 1, "Single Copy": false, "Plans": [{"Node Type": "Nested Loop", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Join Type": "Anti", "Startup Cost": 2.33, "Total Cost": 406509.0, "Plan Rows": 1, "Plan Width": 34, "Output": ["supplier.s_name", "l1.l_suppkey", "l1.l_orderkey"], "Inner Unique": false, "Plans": [{"Node Type": "Nested Loop", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Join Type": "Inner", "Startup Cost": 1.76, "Total Cost": 67664.21, "Plan Rows": 470491, "Plan Width": 34, "Output": ["supplier.s_name", "l1.l_suppkey", "l1.l_orderkey"], "Inner Unique": false, "Plans": [{"Node Type": "Hash Join", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Join Type": "Inner", "Startup Cost": 1.32, "Total Cost": 2986.15, "Plan Rows": 2353, "Plan Width": 30, "Output": ["supplier.s_name", "supplier.s_suppkey"], "Inner Unique": true, "Hash Cond": "(supplier.s_nationkey = nation.n_nationkey)", "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": true, "Async Capable": false, "Relation Name": "supplier", "Schema": "public", "Alias": "supplier", "Startup Cost": 0.0, "Total Cost": 2804.24, "Plan Rows": 58824, "Plan Width": 34, "Output": ["supplier.s_suppkey", "supplier.s_name", "supplier.s_address", "supplier.s_nationkey", "supplier.s_phone", "supplier.s_acctbal", "supplier.s_comment"]}, {"Node Type": "Hash", "Parent Relationship": "Inner", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 1.31, "Total Cost": 1.31, "Plan Rows": 1, "Plan Width": 4, "Output": ["nation.n_nationkey"], "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Relation Name": "nation", "Schema": "public", "Alias": "nation", "Startup Cost": 0.0, "Total Cost": 1.31, "Plan Rows": 1, "Plan Width": 4, "Output": ["nation.n_nationkey"], "Filter": "(nation.n_name = 'CHINA'::bpchar)"}]}]}, {"Node Type": "Index Scan", "Parent Relationship": "Inner", "Parallel Aware": false, "Async Capable": false, "Scan Direction": "Forward", "Index Name": "l_sk_pk", "Relation Name": "lineitem", "Schema": "public", "Alias": "l1", "Startup Cost": 0.44, "Total Cost": 25.49, "Plan Rows": 200, "Plan Width": 8, "Output": ["l1.l_orderkey", "l1.l_partkey", "l1.l_suppkey", "l1.l_linenumber", "l1.l_quantity", "l1.l_extendedprice", "l1.l_discount", "l1.l_tax", "l1.l_returnflag", "l1.l_linestatus", "l1.l_shipdate", "l1.l_commitdate", "l1.l_receiptdate", "l1.l_shipinstruct", "l1.l_shipmode", "l1.l_comment"], "Index Cond": "(l1.l_suppkey = supplier.s_suppkey)", "Filter": "(l1.l_receiptdate > l1.l_commitdate)"}]}, {"Node Type": "Index Scan", "Parent Relationship": "Inner", "Parallel Aware": false, "Async Capable": false, "Scan Direction": "Forward", "Index Name": "l_ok", "Relation Name": "lineitem", "Schema": "public", "Alias": "l3", "Startup Cost": 0.56, "Total Cost": 1.31, "Plan Rows": 10, "Plan Width": 8, "Output": ["l3.l_orderkey", "l3.l_partkey", "l3.l_suppkey", "l3.l_linenumber", "l3.l_quantity", "l3.l_extendedprice", "l3.l_discount", "l3.l_tax", "l3.l_returnflag", "l3.l_linestatus", "l3.l_shipdate", "l3.l_commitdate", "l3.l_receiptdate", "l3.l_shipinstruct", "l3.l_shipmode", "l3.l_comment"], "Index Cond": "(l3.l_orderkey = l1.l_orderkey)", "Filter": "((l3.l_receiptdate > l3.l_commitdate) AND (l3.l_suppkey <> l1.l_suppkey))"}]}]}, {"Node Type": "Index Scan", "Parent Relationship": "Inner", "Parallel Aware": false, "Async Capable": false, "Scan Direction": "Forward", "Index Name": "l_ok", "Relation Name": "lineitem", "Schema": "public", "Alias": "l2", "Startup Cost": 0.56, "Total Cost": 1.23, "Plan Rows": 30, "Plan Width": 8, "Output": ["l2.l_orderkey", "l2.l_partkey", "l2.l_suppkey", "l2.l_linenumber", "l2.l_quantity", "l2.l_extendedprice", "l2.l_discount", "l2.l_tax", "l2.l_returnflag", "l2.l_linestatus", "l2.l_shipdate", "l2.l_commitdate", "l2.l_receiptdate", "l2.l_shipinstruct", "l2.l_shipmode", "l2.l_comment"], "Index Cond": "(l2.l_orderkey = l1.l_orderkey)", "Filter": "(l2.l_suppkey <> l1.l_suppkey)"}]}, {"Node Type": "Index Scan", "Parent Relationship": "Inner", "Parallel Aware": false, "Async Capable": false, "Scan Direction": "Forward", "Index Name": "o_ok", "Relation Name": "orders", "Schema": "public", "Alias": "orders", "Startup Cost": 0.43, "Total Cost": 0.47, "Plan Rows": 1, "Plan Width": 4, "Output": ["orders.o_orderkey", "orders.o_custkey", "orders.o_orderstatus", "orders.o_totalprice", "orders.o_orderdate", "orders.o_orderpriority", "orders.o_clerk", "orders.o_shippriority", "orders.o_comment"], "Index Cond": "(orders.o_orderkey = l1.l_orderkey)", "Filter": "(orders.o_orderstatus = 'F'::bpchar)"}]}]}]}]}]}} diff --git a/dev9/pg14/tpch/sf_10/explain/15721/22-1.ok b/dev9/pg14/tpch/sf_10/explain/15721/22-1.ok new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/dev9/pg14/tpch/sf_10/explain/15721/22-1.res b/dev9/pg14/tpch/sf_10/explain/15721/22-1.res new file mode 100644 index 0000000000000000000000000000000000000000..582df7f5ef63f2817e9d55923a120c1195cb4882 --- /dev/null +++ b/dev9/pg14/tpch/sf_10/explain/15721/22-1.res @@ -0,0 +1 @@ +{"Plan": {"Node Type": "Aggregate", "Strategy": "Sorted", "Partial Mode": "Simple", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 95814.51, "Total Cost": 96889.3, "Plan Rows": 7426, "Plan Width": 72, "Output": ["(SUBSTRING(customer.c_phone FROM 1 FOR 2))", "count(*)", "sum(customer.c_acctbal)"], "Group Key": ["(SUBSTRING(customer.c_phone FROM 1 FOR 2))"], "Plans": [{"Node Type": "Aggregate", "Strategy": "Plain", "Partial Mode": "Finalize", "Parent Relationship": "InitPlan", "Subplan Name": "InitPlan 1 (returns $1)", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 46701.02, "Total Cost": 46701.03, "Plan Rows": 1, "Plan Width": 32, "Output": ["avg(customer_1.c_acctbal)"], "Plans": [{"Node Type": "Gather", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 46700.59, "Total Cost": 46701.0, "Plan Rows": 4, "Plan Width": 32, "Output": ["(PARTIAL avg(customer_1.c_acctbal))"], "Workers Planned": 4, "Single Copy": false, "Plans": [{"Node Type": "Aggregate", "Strategy": "Plain", "Partial Mode": "Partial", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 45700.59, "Total Cost": 45700.6, "Plan Rows": 1, "Plan Width": 32, "Output": ["PARTIAL avg(customer_1.c_acctbal)"], "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": true, "Async Capable": false, "Relation Name": "customer", "Schema": "public", "Alias": "customer_1", "Startup Cost": 0.0, "Total Cost": 45670.75, "Plan Rows": 11934, "Plan Width": 6, "Output": ["customer_1.c_custkey", "customer_1.c_name", "customer_1.c_address", "customer_1.c_nationkey", "customer_1.c_phone", "customer_1.c_acctbal", "customer_1.c_mktsegment", "customer_1.c_comment"], "Filter": "((customer_1.c_acctbal > 0.00) AND (SUBSTRING(customer_1.c_phone FROM 1 FOR 2) = ANY ('{17,20,25,31,30,11,33}'::text[])))"}]}]}]}, {"Node Type": "Gather Merge", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 49113.48, "Total Cost": 50002.62, "Plan Rows": 7426, "Plan Width": 38, "Output": ["(SUBSTRING(customer.c_phone FROM 1 FOR 2))", "customer.c_acctbal"], "Workers Planned": 4, "Params Evaluated": ["$1"], "Plans": [{"Node Type": "Sort", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 48113.42, "Total Cost": 48118.06, "Plan Rows": 1856, "Plan Width": 38, "Output": ["(SUBSTRING(customer.c_phone FROM 1 FOR 2))", "customer.c_acctbal"], "Sort Key": ["(SUBSTRING(customer.c_phone FROM 1 FOR 2))"], "Plans": [{"Node Type": "Nested Loop", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Join Type": "Anti", "Startup Cost": 0.43, "Total Cost": 48012.66, "Plan Rows": 1856, "Plan Width": 38, "Output": ["SUBSTRING(customer.c_phone FROM 1 FOR 2)", "customer.c_acctbal"], "Inner Unique": false, "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": true, "Async Capable": false, "Relation Name": "customer", "Schema": "public", "Alias": "customer", "Startup Cost": 0.0, "Total Cost": 45670.75, "Plan Rows": 4375, "Plan Width": 26, "Output": ["customer.c_custkey", "customer.c_name", "customer.c_address", "customer.c_nationkey", "customer.c_phone", "customer.c_acctbal", "customer.c_mktsegment", "customer.c_comment"], "Filter": "((customer.c_acctbal > $1) AND (SUBSTRING(customer.c_phone FROM 1 FOR 2) = ANY ('{17,20,25,31,30,11,33}'::text[])))"}, {"Node Type": "Index Only Scan", "Parent Relationship": "Inner", "Parallel Aware": false, "Async Capable": false, "Scan Direction": "Forward", "Index Name": "o_ck", "Relation Name": "orders", "Schema": "public", "Alias": "orders", "Startup Cost": 0.43, "Total Cost": 1.43, "Plan Rows": 17, "Plan Width": 4, "Output": ["orders.o_custkey"], "Index Cond": "(orders.o_custkey = customer.c_custkey)"}]}]}]}]}} diff --git a/dev9/pg14/tpch/sf_10/explain/15721/3-1.ok b/dev9/pg14/tpch/sf_10/explain/15721/3-1.ok new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/dev9/pg14/tpch/sf_10/explain/15721/3-1.res b/dev9/pg14/tpch/sf_10/explain/15721/3-1.res new file mode 100644 index 0000000000000000000000000000000000000000..847933b30dcda628aaa6d7e7ca3547013a0354f2 --- /dev/null +++ b/dev9/pg14/tpch/sf_10/explain/15721/3-1.res @@ -0,0 +1 @@ +{"Plan": {"Node Type": "Limit", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 1355384.19, "Total Cost": 1355384.22, "Plan Rows": 10, "Plan Width": 44, "Output": ["lineitem.l_orderkey", "(sum((lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount))))", "orders.o_orderdate", "orders.o_shippriority"], "Plans": [{"Node Type": "Sort", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 1355384.19, "Total Cost": 1363279.96, "Plan Rows": 3158309, "Plan Width": 44, "Output": ["lineitem.l_orderkey", "(sum((lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount))))", "orders.o_orderdate", "orders.o_shippriority"], "Sort Key": ["(sum((lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount)))) DESC", "orders.o_orderdate"], "Plans": [{"Node Type": "Aggregate", "Strategy": "Sorted", "Partial Mode": "Simple", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 822121.78, "Total Cost": 1287134.27, "Plan Rows": 3158309, "Plan Width": 44, "Output": ["lineitem.l_orderkey", "sum((lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount)))", "orders.o_orderdate", "orders.o_shippriority"], "Group Key": ["lineitem.l_orderkey", "orders.o_orderdate", "orders.o_shippriority"], "Plans": [{"Node Type": "Gather Merge", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 822121.78, "Total Cost": 1200280.77, "Plan Rows": 3158309, "Plan Width": 24, "Output": ["lineitem.l_orderkey", "orders.o_orderdate", "orders.o_shippriority", "lineitem.l_extendedprice", "lineitem.l_discount"], "Workers Planned": 4, "Plans": [{"Node Type": "Sort", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 821121.72, "Total Cost": 823095.66, "Plan Rows": 789577, "Plan Width": 24, "Output": ["lineitem.l_orderkey", "orders.o_orderdate", "orders.o_shippriority", "lineitem.l_extendedprice", "lineitem.l_discount"], "Sort Key": ["lineitem.l_orderkey", "orders.o_orderdate", "orders.o_shippriority"], "Plans": [{"Node Type": "Nested Loop", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Join Type": "Inner", "Startup Cost": 1.0, "Total Cost": 734294.46, "Plan Rows": 789577, "Plan Width": 24, "Output": ["lineitem.l_orderkey", "orders.o_orderdate", "orders.o_shippriority", "lineitem.l_extendedprice", "lineitem.l_discount"], "Inner Unique": false, "Plans": [{"Node Type": "Nested Loop", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Join Type": "Inner", "Startup Cost": 0.43, "Total Cost": 181320.38, "Plan Rows": 366756, "Plan Width": 12, "Output": ["orders.o_orderdate", "orders.o_shippriority", "orders.o_orderkey"], "Inner Unique": false, "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": true, "Async Capable": false, "Relation Name": "customer", "Schema": "public", "Alias": "customer", "Startup Cost": 0.0, "Total Cost": 40514.5, "Plan Rows": 74940, "Plan Width": 4, "Output": ["customer.c_custkey", "customer.c_name", "customer.c_address", "customer.c_nationkey", "customer.c_phone", "customer.c_acctbal", "customer.c_mktsegment", "customer.c_comment"], "Filter": "(customer.c_mktsegment = 'FURNITURE'::bpchar)"}, {"Node Type": "Index Scan", "Parent Relationship": "Inner", "Parallel Aware": false, "Async Capable": false, "Scan Direction": "Forward", "Index Name": "o_ck", "Relation Name": "orders", "Schema": "public", "Alias": "orders", "Startup Cost": 0.43, "Total Cost": 1.79, "Plan Rows": 9, "Plan Width": 16, "Output": ["orders.o_orderkey", "orders.o_custkey", "orders.o_orderstatus", "orders.o_totalprice", "orders.o_orderdate", "orders.o_orderpriority", "orders.o_clerk", "orders.o_shippriority", "orders.o_comment"], "Index Cond": "(orders.o_custkey = customer.c_custkey)", "Filter": "(orders.o_orderdate < '1995-03-20'::date)"}]}, {"Node Type": "Index Scan", "Parent Relationship": "Inner", "Parallel Aware": false, "Async Capable": false, "Scan Direction": "Forward", "Index Name": "l_ok", "Relation Name": "lineitem", "Schema": "public", "Alias": "lineitem", "Startup Cost": 0.56, "Total Cost": 1.35, "Plan Rows": 16, "Plan Width": 16, "Output": ["lineitem.l_orderkey", "lineitem.l_partkey", "lineitem.l_suppkey", "lineitem.l_linenumber", "lineitem.l_quantity", "lineitem.l_extendedprice", "lineitem.l_discount", "lineitem.l_tax", "lineitem.l_returnflag", "lineitem.l_linestatus", "lineitem.l_shipdate", "lineitem.l_commitdate", "lineitem.l_receiptdate", "lineitem.l_shipinstruct", "lineitem.l_shipmode", "lineitem.l_comment"], "Index Cond": "(lineitem.l_orderkey = orders.o_orderkey)", "Filter": "(lineitem.l_shipdate > '1995-03-20'::date)"}]}]}]}]}]}]}} diff --git a/dev9/pg14/tpch/sf_10/explain/15721/4-1.ok b/dev9/pg14/tpch/sf_10/explain/15721/4-1.ok new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/dev9/pg14/tpch/sf_10/explain/15721/4-1.res b/dev9/pg14/tpch/sf_10/explain/15721/4-1.res new file mode 100644 index 0000000000000000000000000000000000000000..0253706c6066bf2b6c0f3881749f1dcc5a958f15 --- /dev/null +++ b/dev9/pg14/tpch/sf_10/explain/15721/4-1.res @@ -0,0 +1 @@ +{"Plan": {"Node Type": "Aggregate", "Strategy": "Sorted", "Partial Mode": "Finalize", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 340481.41, "Total Cost": 340579.69, "Plan Rows": 5, "Plan Width": 24, "Output": ["orders.o_orderpriority", "count(*)"], "Group Key": ["orders.o_orderpriority"], "Plans": [{"Node Type": "Gather Merge", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 340481.41, "Total Cost": 340579.49, "Plan Rows": 30, "Plan Width": 24, "Output": ["orders.o_orderpriority", "(PARTIAL count(*))"], "Workers Planned": 6, "Plans": [{"Node Type": "Aggregate", "Strategy": "Sorted", "Partial Mode": "Partial", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 339481.31, "Total Cost": 339575.74, "Plan Rows": 5, "Plan Width": 24, "Output": ["orders.o_orderpriority", "PARTIAL count(*)"], "Group Key": ["orders.o_orderpriority"], "Plans": [{"Node Type": "Sort", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 339481.31, "Total Cost": 339512.77, "Plan Rows": 12584, "Plan Width": 16, "Output": ["orders.o_orderpriority"], "Sort Key": ["orders.o_orderpriority"], "Plans": [{"Node Type": "Nested Loop", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Join Type": "Semi", "Startup Cost": 6246.8, "Total Cost": 338624.39, "Plan Rows": 12584, "Plan Width": 16, "Output": ["orders.o_orderpriority"], "Inner Unique": false, "Plans": [{"Node Type": "Bitmap Heap Scan", "Parent Relationship": "Outer", "Parallel Aware": true, "Async Capable": false, "Relation Name": "orders", "Schema": "public", "Alias": "orders", "Startup Cost": 6246.24, "Total Cost": 268553.36, "Plan Rows": 93008, "Plan Width": 20, "Output": ["orders.o_orderkey", "orders.o_custkey", "orders.o_orderstatus", "orders.o_totalprice", "orders.o_orderdate", "orders.o_orderpriority", "orders.o_clerk", "orders.o_shippriority", "orders.o_comment"], "Recheck Cond": "((orders.o_orderdate >= '1996-01-01'::date) AND (orders.o_orderdate < '1996-04-01 00:00:00'::timestamp without time zone))", "Plans": [{"Node Type": "Bitmap Index Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Index Name": "o_od", "Startup Cost": 0.0, "Total Cost": 6106.73, "Plan Rows": 558049, "Plan Width": 0, "Index Cond": "((orders.o_orderdate >= '1996-01-01'::date) AND (orders.o_orderdate < '1996-04-01 00:00:00'::timestamp without time zone))"}]}, {"Node Type": "Index Scan", "Parent Relationship": "Inner", "Parallel Aware": false, "Async Capable": false, "Scan Direction": "Forward", "Index Name": "l_ok", "Relation Name": "lineitem", "Schema": "public", "Alias": "lineitem", "Startup Cost": 0.56, "Total Cost": 2.23, "Plan Rows": 10, "Plan Width": 4, "Output": ["lineitem.l_orderkey", "lineitem.l_partkey", "lineitem.l_suppkey", "lineitem.l_linenumber", "lineitem.l_quantity", "lineitem.l_extendedprice", "lineitem.l_discount", "lineitem.l_tax", "lineitem.l_returnflag", "lineitem.l_linestatus", "lineitem.l_shipdate", "lineitem.l_commitdate", "lineitem.l_receiptdate", "lineitem.l_shipinstruct", "lineitem.l_shipmode", "lineitem.l_comment"], "Index Cond": "(lineitem.l_orderkey = orders.o_orderkey)", "Filter": "(lineitem.l_commitdate < lineitem.l_receiptdate)"}]}]}]}]}]}} diff --git a/dev9/pg14/tpch/sf_10/explain/15721/5-1.ok b/dev9/pg14/tpch/sf_10/explain/15721/5-1.ok new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/dev9/pg14/tpch/sf_10/explain/15721/5-1.res b/dev9/pg14/tpch/sf_10/explain/15721/5-1.res new file mode 100644 index 0000000000000000000000000000000000000000..83a2906d0d5f28c36bf6efb3a6455f71521a54c5 --- /dev/null +++ b/dev9/pg14/tpch/sf_10/explain/15721/5-1.res @@ -0,0 +1 @@ +{"Plan": {"Node Type": "Sort", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 355982.37, "Total Cost": 355982.43, "Plan Rows": 25, "Plan Width": 58, "Output": ["nation.n_name", "(sum((lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount))))"], "Sort Key": ["(sum((lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount)))) DESC"], "Plans": [{"Node Type": "Aggregate", "Strategy": "Sorted", "Partial Mode": "Finalize", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 355738.66, "Total Cost": 355981.79, "Plan Rows": 25, "Plan Width": 58, "Output": ["nation.n_name", "sum((lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount)))"], "Group Key": ["nation.n_name"], "Plans": [{"Node Type": "Gather Merge", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 355738.66, "Total Cost": 355980.72, "Plan Rows": 100, "Plan Width": 58, "Output": ["nation.n_name", "(PARTIAL sum((lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount))))"], "Workers Planned": 4, "Plans": [{"Node Type": "Aggregate", "Strategy": "Sorted", "Partial Mode": "Partial", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 354738.61, "Total Cost": 354968.76, "Plan Rows": 25, "Plan Width": 58, "Output": ["nation.n_name", "PARTIAL sum((lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount)))"], "Group Key": ["nation.n_name"], "Plans": [{"Node Type": "Sort", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 354738.61, "Total Cost": 354784.57, "Plan Rows": 18387, "Plan Width": 38, "Output": ["nation.n_name", "lineitem.l_extendedprice", "lineitem.l_discount"], "Sort Key": ["nation.n_name"], "Plans": [{"Node Type": "Hash Join", "Parent Relationship": "Outer", "Parallel Aware": true, "Async Capable": false, "Join Type": "Inner", "Startup Cost": 3690.1, "Total Cost": 353436.22, "Plan Rows": 18387, "Plan Width": 38, "Output": ["nation.n_name", "lineitem.l_extendedprice", "lineitem.l_discount"], "Inner Unique": true, "Hash Cond": "((lineitem.l_suppkey = supplier.s_suppkey) AND (customer.c_nationkey = supplier.s_nationkey))", "Plans": [{"Node Type": "Nested Loop", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Join Type": "Inner", "Startup Cost": 3.51, "Total Cost": 347336.44, "Plan Rows": 459654, "Plan Width": 50, "Output": ["customer.c_nationkey", "lineitem.l_extendedprice", "lineitem.l_discount", "lineitem.l_suppkey", "nation.n_name", "nation.n_nationkey"], "Inner Unique": false, "Plans": [{"Node Type": "Nested Loop", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Join Type": "Inner", "Startup Cost": 2.94, "Total Cost": 120494.92, "Plan Rows": 114939, "Plan Width": 38, "Output": ["customer.c_nationkey", "orders.o_orderkey", "nation.n_name", "nation.n_nationkey"], "Inner Unique": false, "Plans": [{"Node Type": "Hash Join", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Join Type": "Inner", "Startup Cost": 2.51, "Total Cost": 41735.76, "Plan Rows": 75000, "Plan Width": 38, "Output": ["customer.c_custkey", "customer.c_nationkey", "nation.n_name", "nation.n_nationkey"], "Inner Unique": false, "Hash Cond": "(customer.c_nationkey = nation.n_nationkey)", "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": true, "Async Capable": false, "Relation Name": "customer", "Schema": "public", "Alias": "customer", "Startup Cost": 0.0, "Total Cost": 39577.0, "Plan Rows": 375000, "Plan Width": 8, "Output": ["customer.c_custkey", "customer.c_name", "customer.c_address", "customer.c_nationkey", "customer.c_phone", "customer.c_acctbal", "customer.c_mktsegment", "customer.c_comment"]}, {"Node Type": "Hash", "Parent Relationship": "Inner", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 2.45, "Total Cost": 2.45, "Plan Rows": 5, "Plan Width": 30, "Output": ["nation.n_name", "nation.n_nationkey"], "Plans": [{"Node Type": "Hash Join", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Join Type": "Inner", "Startup Cost": 1.07, "Total Cost": 2.45, "Plan Rows": 5, "Plan Width": 30, "Output": ["nation.n_name", "nation.n_nationkey"], "Inner Unique": true, "Hash Cond": "(nation.n_regionkey = region.r_regionkey)", "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Relation Name": "nation", "Schema": "public", "Alias": "nation", "Startup Cost": 0.0, "Total Cost": 1.25, "Plan Rows": 25, "Plan Width": 34, "Output": ["nation.n_nationkey", "nation.n_name", "nation.n_regionkey", "nation.n_comment"]}, {"Node Type": "Hash", "Parent Relationship": "Inner", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 1.06, "Total Cost": 1.06, "Plan Rows": 1, "Plan Width": 4, "Output": ["region.r_regionkey"], "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Relation Name": "region", "Schema": "public", "Alias": "region", "Startup Cost": 0.0, "Total Cost": 1.06, "Plan Rows": 1, "Plan Width": 4, "Output": ["region.r_regionkey"], "Filter": "(region.r_name = 'AMERICA'::bpchar)"}]}]}]}]}, {"Node Type": "Index Scan", "Parent Relationship": "Inner", "Parallel Aware": false, "Async Capable": false, "Scan Direction": "Forward", "Index Name": "o_ck", "Relation Name": "orders", "Schema": "public", "Alias": "orders", "Startup Cost": 0.43, "Total Cost": 1.02, "Plan Rows": 3, "Plan Width": 8, "Output": ["orders.o_orderkey", "orders.o_custkey", "orders.o_orderstatus", "orders.o_totalprice", "orders.o_orderdate", "orders.o_orderpriority", "orders.o_clerk", "orders.o_shippriority", "orders.o_comment"], "Index Cond": "(orders.o_custkey = customer.c_custkey)", "Filter": "((orders.o_orderdate >= '1995-01-01'::date) AND (orders.o_orderdate < '1996-01-01 00:00:00'::timestamp without time zone))"}]}, {"Node Type": "Index Scan", "Parent Relationship": "Inner", "Parallel Aware": false, "Async Capable": false, "Scan Direction": "Forward", "Index Name": "l_ok", "Relation Name": "lineitem", "Schema": "public", "Alias": "lineitem", "Startup Cost": 0.56, "Total Cost": 1.67, "Plan Rows": 30, "Plan Width": 20, "Output": ["lineitem.l_orderkey", "lineitem.l_partkey", "lineitem.l_suppkey", "lineitem.l_linenumber", "lineitem.l_quantity", "lineitem.l_extendedprice", "lineitem.l_discount", "lineitem.l_tax", "lineitem.l_returnflag", "lineitem.l_linestatus", "lineitem.l_shipdate", "lineitem.l_commitdate", "lineitem.l_receiptdate", "lineitem.l_shipinstruct", "lineitem.l_shipmode", "lineitem.l_comment"], "Index Cond": "(lineitem.l_orderkey = orders.o_orderkey)"}]}, {"Node Type": "Hash", "Parent Relationship": "Inner", "Parallel Aware": true, "Async Capable": false, "Startup Cost": 2804.24, "Total Cost": 2804.24, "Plan Rows": 58824, "Plan Width": 8, "Output": ["supplier.s_suppkey", "supplier.s_nationkey"], "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": true, "Async Capable": false, "Relation Name": "supplier", "Schema": "public", "Alias": "supplier", "Startup Cost": 0.0, "Total Cost": 2804.24, "Plan Rows": 58824, "Plan Width": 8, "Output": ["supplier.s_suppkey", "supplier.s_nationkey"]}]}]}]}]}]}]}]}} diff --git a/dev9/pg14/tpch/sf_10/explain/15721/6-1.ok b/dev9/pg14/tpch/sf_10/explain/15721/6-1.ok new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/dev9/pg14/tpch/sf_10/explain/15721/6-1.res b/dev9/pg14/tpch/sf_10/explain/15721/6-1.res new file mode 100644 index 0000000000000000000000000000000000000000..b17c6560d89d6cffe4101435ee8f29751aa99425 --- /dev/null +++ b/dev9/pg14/tpch/sf_10/explain/15721/6-1.res @@ -0,0 +1 @@ +{"Plan": {"Node Type": "Aggregate", "Strategy": "Plain", "Partial Mode": "Finalize", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 1319190.22, "Total Cost": 1319190.23, "Plan Rows": 1, "Plan Width": 32, "Output": ["sum((l_extendedprice * l_discount))"], "Plans": [{"Node Type": "Gather", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 1319189.47, "Total Cost": 1319190.18, "Plan Rows": 7, "Plan Width": 32, "Output": ["(PARTIAL sum((l_extendedprice * l_discount)))"], "Workers Planned": 7, "Single Copy": false, "Plans": [{"Node Type": "Aggregate", "Strategy": "Plain", "Partial Mode": "Partial", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 1318189.47, "Total Cost": 1318189.48, "Plan Rows": 1, "Plan Width": 32, "Output": ["PARTIAL sum((l_extendedprice * l_discount))"], "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": true, "Async Capable": false, "Relation Name": "lineitem", "Schema": "public", "Alias": "lineitem", "Startup Cost": 0.0, "Total Cost": 1317359.43, "Plan Rows": 166008, "Plan Width": 12, "Output": ["l_orderkey", "l_partkey", "l_suppkey", "l_linenumber", "l_quantity", "l_extendedprice", "l_discount", "l_tax", "l_returnflag", "l_linestatus", "l_shipdate", "l_commitdate", "l_receiptdate", "l_shipinstruct", "l_shipmode", "l_comment"], "Filter": "((lineitem.l_shipdate >= '1995-01-01'::date) AND (lineitem.l_shipdate < '1996-01-01 00:00:00'::timestamp without time zone) AND (lineitem.l_discount >= 0.04) AND (lineitem.l_discount <= 0.06) AND (lineitem.l_quantity < '24'::numeric))"}]}]}]}} diff --git a/dev9/pg14/tpch/sf_10/explain/15721/7-1.ok b/dev9/pg14/tpch/sf_10/explain/15721/7-1.ok new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/dev9/pg14/tpch/sf_10/explain/15721/7-1.res b/dev9/pg14/tpch/sf_10/explain/15721/7-1.res new file mode 100644 index 0000000000000000000000000000000000000000..fde8503a355324038f1f02c21b26a5856356fa79 --- /dev/null +++ b/dev9/pg14/tpch/sf_10/explain/15721/7-1.res @@ -0,0 +1 @@ +{"Plan": {"Node Type": "Aggregate", "Strategy": "Sorted", "Partial Mode": "Finalize", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 241648.27, "Total Cost": 243085.81, "Plan Rows": 10088, "Plan Width": 116, "Output": ["n1.n_name", "n2.n_name", "(EXTRACT(year FROM lineitem.l_shipdate))", "sum((lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount)))"], "Group Key": ["n1.n_name", "n2.n_name", "(EXTRACT(year FROM lineitem.l_shipdate))"], "Plans": [{"Node Type": "Gather Merge", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 241648.27, "Total Cost": 242808.39, "Plan Rows": 10088, "Plan Width": 116, "Output": ["n1.n_name", "n2.n_name", "(EXTRACT(year FROM lineitem.l_shipdate))", "(PARTIAL sum((lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount))))"], "Workers Planned": 1, "Plans": [{"Node Type": "Sort", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 240648.26, "Total Cost": 240673.48, "Plan Rows": 10088, "Plan Width": 116, "Output": ["n1.n_name", "n2.n_name", "(EXTRACT(year FROM lineitem.l_shipdate))", "(PARTIAL sum((lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount))))"], "Sort Key": ["n1.n_name", "n2.n_name", "(EXTRACT(year FROM lineitem.l_shipdate))"], "Plans": [{"Node Type": "Aggregate", "Strategy": "Hashed", "Partial Mode": "Partial", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 239826.07, "Total Cost": 239977.39, "Plan Rows": 10088, "Plan Width": 116, "Output": ["n1.n_name", "n2.n_name", "(EXTRACT(year FROM lineitem.l_shipdate))", "PARTIAL sum((lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount)))"], "Group Key": ["n1.n_name", "n2.n_name", "EXTRACT(year FROM lineitem.l_shipdate)"], "Planned Partitions": 0, "Plans": [{"Node Type": "Hash Join", "Parent Relationship": "Outer", "Parallel Aware": true, "Async Capable": false, "Join Type": "Inner", "Startup Cost": 79686.21, "Total Cost": 239285.99, "Plan Rows": 36005, "Plan Width": 96, "Output": ["n1.n_name", "n2.n_name", "EXTRACT(year FROM lineitem.l_shipdate)", "lineitem.l_extendedprice", "lineitem.l_discount"], "Inner Unique": false, "Hash Cond": "(lineitem.l_orderkey = orders.o_orderkey)", "Join Filter": "(((n1.n_name = 'IRAN'::bpchar) AND (n2.n_name = 'ETHIOPIA'::bpchar)) OR ((n1.n_name = 'ETHIOPIA'::bpchar) AND (n2.n_name = 'IRAN'::bpchar)))", "Plans": [{"Node Type": "Nested Loop", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Join Type": "Inner", "Startup Cost": 1.84, "Total Cost": 138660.15, "Plan Rows": 865174, "Plan Width": 46, "Output": ["lineitem.l_shipdate", "lineitem.l_extendedprice", "lineitem.l_discount", "lineitem.l_orderkey", "n1.n_name"], "Inner Unique": false, "Plans": [{"Node Type": "Hash Join", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Join Type": "Inner", "Startup Cost": 1.4, "Total Cost": 2986.23, "Plan Rows": 4706, "Plan Width": 30, "Output": ["supplier.s_suppkey", "n1.n_name"], "Inner Unique": true, "Hash Cond": "(supplier.s_nationkey = n1.n_nationkey)", "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": true, "Async Capable": false, "Relation Name": "supplier", "Schema": "public", "Alias": "supplier", "Startup Cost": 0.0, "Total Cost": 2804.24, "Plan Rows": 58824, "Plan Width": 8, "Output": ["supplier.s_suppkey", "supplier.s_name", "supplier.s_address", "supplier.s_nationkey", "supplier.s_phone", "supplier.s_acctbal", "supplier.s_comment"]}, {"Node Type": "Hash", "Parent Relationship": "Inner", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 1.38, "Total Cost": 1.38, "Plan Rows": 2, "Plan Width": 30, "Output": ["n1.n_name", "n1.n_nationkey"], "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Relation Name": "nation", "Schema": "public", "Alias": "n1", "Startup Cost": 0.0, "Total Cost": 1.38, "Plan Rows": 2, "Plan Width": 30, "Output": ["n1.n_name", "n1.n_nationkey"], "Filter": "((n1.n_name = 'IRAN'::bpchar) OR (n1.n_name = 'ETHIOPIA'::bpchar))"}]}]}, {"Node Type": "Index Scan", "Parent Relationship": "Inner", "Parallel Aware": false, "Async Capable": false, "Scan Direction": "Forward", "Index Name": "l_sk_pk", "Relation Name": "lineitem", "Schema": "public", "Alias": "lineitem", "Startup Cost": 0.44, "Total Cost": 26.99, "Plan Rows": 184, "Plan Width": 24, "Output": ["lineitem.l_orderkey", "lineitem.l_partkey", "lineitem.l_suppkey", "lineitem.l_linenumber", "lineitem.l_quantity", "lineitem.l_extendedprice", "lineitem.l_discount", "lineitem.l_tax", "lineitem.l_returnflag", "lineitem.l_linestatus", "lineitem.l_shipdate", "lineitem.l_commitdate", "lineitem.l_receiptdate", "lineitem.l_shipinstruct", "lineitem.l_shipmode", "lineitem.l_comment"], "Index Cond": "(lineitem.l_suppkey = supplier.s_suppkey)", "Filter": "((lineitem.l_shipdate >= '1995-01-01'::date) AND (lineitem.l_shipdate <= '1996-12-31'::date))"}]}, {"Node Type": "Hash", "Parent Relationship": "Inner", "Parallel Aware": true, "Async Capable": false, "Startup Cost": 73883.32, "Total Cost": 73883.32, "Plan Rows": 300004, "Plan Width": 30, "Output": ["orders.o_orderkey", "n2.n_name"], "Plans": [{"Node Type": "Nested Loop", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Join Type": "Inner", "Startup Cost": 1.83, "Total Cost": 73883.32, "Plan Rows": 300004, "Plan Width": 30, "Output": ["orders.o_orderkey", "n2.n_name"], "Inner Unique": false, "Plans": [{"Node Type": "Hash Join", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Join Type": "Inner", "Startup Cost": 1.4, "Total Cost": 40729.65, "Plan Rows": 30000, "Plan Width": 30, "Output": ["customer.c_custkey", "n2.n_name"], "Inner Unique": true, "Hash Cond": "(customer.c_nationkey = n2.n_nationkey)", "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": true, "Async Capable": false, "Relation Name": "customer", "Schema": "public", "Alias": "customer", "Startup Cost": 0.0, "Total Cost": 39577.0, "Plan Rows": 375000, "Plan Width": 8, "Output": ["customer.c_custkey", "customer.c_name", "customer.c_address", "customer.c_nationkey", "customer.c_phone", "customer.c_acctbal", "customer.c_mktsegment", "customer.c_comment"]}, {"Node Type": "Hash", "Parent Relationship": "Inner", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 1.38, "Total Cost": 1.38, "Plan Rows": 2, "Plan Width": 30, "Output": ["n2.n_name", "n2.n_nationkey"], "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Relation Name": "nation", "Schema": "public", "Alias": "n2", "Startup Cost": 0.0, "Total Cost": 1.38, "Plan Rows": 2, "Plan Width": 30, "Output": ["n2.n_name", "n2.n_nationkey"], "Filter": "((n2.n_name = 'ETHIOPIA'::bpchar) OR (n2.n_name = 'IRAN'::bpchar))"}]}]}, {"Node Type": "Index Scan", "Parent Relationship": "Inner", "Parallel Aware": false, "Async Capable": false, "Scan Direction": "Forward", "Index Name": "o_ck", "Relation Name": "orders", "Schema": "public", "Alias": "orders", "Startup Cost": 0.43, "Total Cost": 0.94, "Plan Rows": 17, "Plan Width": 8, "Output": ["orders.o_orderkey", "orders.o_custkey", "orders.o_orderstatus", "orders.o_totalprice", "orders.o_orderdate", "orders.o_orderpriority", "orders.o_clerk", "orders.o_shippriority", "orders.o_comment"], "Index Cond": "(orders.o_custkey = customer.c_custkey)"}]}]}]}]}]}]}]}} diff --git a/dev9/pg14/tpch/sf_10/explain/15721/8-1.ok b/dev9/pg14/tpch/sf_10/explain/15721/8-1.ok new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/dev9/pg14/tpch/sf_10/explain/15721/8-1.res b/dev9/pg14/tpch/sf_10/explain/15721/8-1.res new file mode 100644 index 0000000000000000000000000000000000000000..adbdfa3dade2f68a46f504d84af8f721a226d4a3 --- /dev/null +++ b/dev9/pg14/tpch/sf_10/explain/15721/8-1.res @@ -0,0 +1 @@ +{"Plan": {"Node Type": "Aggregate", "Strategy": "Sorted", "Partial Mode": "Finalize", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 209630.37, "Total Cost": 211122.3, "Plan Rows": 2406, "Plan Width": 64, "Output": ["(EXTRACT(year FROM orders.o_orderdate))", "(sum(CASE WHEN (n2.n_name = 'ETHIOPIA'::bpchar) THEN (lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount)) ELSE '0'::numeric END) / sum((lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount))))"], "Group Key": ["(EXTRACT(year FROM orders.o_orderdate))"], "Plans": [{"Node Type": "Gather Merge", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 209630.37, "Total Cost": 210953.88, "Plan Rows": 9624, "Plan Width": 96, "Output": ["(EXTRACT(year FROM orders.o_orderdate))", "(PARTIAL sum(CASE WHEN (n2.n_name = 'ETHIOPIA'::bpchar) THEN (lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount)) ELSE '0'::numeric END))", "(PARTIAL sum((lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount))))"], "Workers Planned": 4, "Plans": [{"Node Type": "Aggregate", "Strategy": "Sorted", "Partial Mode": "Partial", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 208630.31, "Total Cost": 208807.51, "Plan Rows": 2406, "Plan Width": 96, "Output": ["(EXTRACT(year FROM orders.o_orderdate))", "PARTIAL sum(CASE WHEN (n2.n_name = 'ETHIOPIA'::bpchar) THEN (lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount)) ELSE '0'::numeric END)", "PARTIAL sum((lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount)))"], "Group Key": ["(EXTRACT(year FROM orders.o_orderdate))"], "Plans": [{"Node Type": "Sort", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 208630.31, "Total Cost": 208645.32, "Plan Rows": 6004, "Plan Width": 70, "Output": ["(EXTRACT(year FROM orders.o_orderdate))", "n2.n_name", "lineitem.l_extendedprice", "lineitem.l_discount"], "Sort Key": ["(EXTRACT(year FROM orders.o_orderdate))"], "Plans": [{"Node Type": "Hash Join", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Join Type": "Inner", "Startup Cost": 5.67, "Total Cost": 208253.51, "Plan Rows": 6004, "Plan Width": 70, "Output": ["EXTRACT(year FROM orders.o_orderdate)", "n2.n_name", "lineitem.l_extendedprice", "lineitem.l_discount"], "Inner Unique": true, "Hash Cond": "(supplier.s_nationkey = n2.n_nationkey)", "Plans": [{"Node Type": "Nested Loop", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Join Type": "Inner", "Startup Cost": 4.1, "Total Cost": 208218.51, "Plan Rows": 6004, "Plan Width": 20, "Output": ["lineitem.l_extendedprice", "lineitem.l_discount", "supplier.s_nationkey", "orders.o_orderdate"], "Inner Unique": true, "Plans": [{"Node Type": "Hash Join", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Join Type": "Inner", "Startup Cost": 3.81, "Total Cost": 206356.99, "Plan Rows": 6004, "Plan Width": 20, "Output": ["lineitem.l_extendedprice", "lineitem.l_discount", "lineitem.l_suppkey", "orders.o_orderdate"], "Inner Unique": false, "Hash Cond": "(customer.c_nationkey = n1.n_nationkey)", "Plans": [{"Node Type": "Nested Loop", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Join Type": "Inner", "Startup Cost": 1.3, "Total Cost": 206181.85, "Plan Rows": 30023, "Plan Width": 24, "Output": ["lineitem.l_extendedprice", "lineitem.l_discount", "lineitem.l_suppkey", "orders.o_orderdate", "customer.c_nationkey"], "Inner Unique": true, "Plans": [{"Node Type": "Nested Loop", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Join Type": "Inner", "Startup Cost": 0.88, "Total Cost": 192532.85, "Plan Rows": 30023, "Plan Width": 24, "Output": ["lineitem.l_extendedprice", "lineitem.l_discount", "lineitem.l_suppkey", "orders.o_orderdate", "orders.o_custkey"], "Inner Unique": true, "Plans": [{"Node Type": "Nested Loop", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Join Type": "Inner", "Startup Cost": 0.44, "Total Cost": 146885.58, "Plan Rows": 98582, "Plan Width": 20, "Output": ["lineitem.l_extendedprice", "lineitem.l_discount", "lineitem.l_suppkey", "lineitem.l_orderkey"], "Inner Unique": false, "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": true, "Async Capable": false, "Relation Name": "part", "Schema": "public", "Alias": "part", "Startup Cost": 0.0, "Total Cost": 47212.0, "Plan Rows": 3287, "Plan Width": 4, "Output": ["part.p_partkey", "part.p_name", "part.p_mfgr", "part.p_brand", "part.p_type", "part.p_size", "part.p_container", "part.p_retailprice", "part.p_comment"], "Filter": "((part.p_type)::text = 'SMALL BRUSHED NICKEL'::text)"}, {"Node Type": "Index Scan", "Parent Relationship": "Inner", "Parallel Aware": false, "Async Capable": false, "Scan Direction": "Forward", "Index Name": "l_pk", "Relation Name": "lineitem", "Schema": "public", "Alias": "lineitem", "Startup Cost": 0.44, "Total Cost": 30.02, "Plan Rows": 30, "Plan Width": 24, "Output": ["lineitem.l_orderkey", "lineitem.l_partkey", "lineitem.l_suppkey", "lineitem.l_linenumber", "lineitem.l_quantity", "lineitem.l_extendedprice", "lineitem.l_discount", "lineitem.l_tax", "lineitem.l_returnflag", "lineitem.l_linestatus", "lineitem.l_shipdate", "lineitem.l_commitdate", "lineitem.l_receiptdate", "lineitem.l_shipinstruct", "lineitem.l_shipmode", "lineitem.l_comment"], "Index Cond": "(lineitem.l_partkey = part.p_partkey)"}]}, {"Node Type": "Index Scan", "Parent Relationship": "Inner", "Parallel Aware": false, "Async Capable": false, "Scan Direction": "Forward", "Index Name": "o_ok", "Relation Name": "orders", "Schema": "public", "Alias": "orders", "Startup Cost": 0.43, "Total Cost": 0.46, "Plan Rows": 1, "Plan Width": 12, "Output": ["orders.o_orderkey", "orders.o_custkey", "orders.o_orderstatus", "orders.o_totalprice", "orders.o_orderdate", "orders.o_orderpriority", "orders.o_clerk", "orders.o_shippriority", "orders.o_comment"], "Index Cond": "(orders.o_orderkey = lineitem.l_orderkey)", "Filter": "((orders.o_orderdate >= '1995-01-01'::date) AND (orders.o_orderdate <= '1996-12-31'::date))"}]}, {"Node Type": "Index Scan", "Parent Relationship": "Inner", "Parallel Aware": false, "Async Capable": false, "Scan Direction": "Forward", "Index Name": "c_ck", "Relation Name": "customer", "Schema": "public", "Alias": "customer", "Startup Cost": 0.43, "Total Cost": 0.45, "Plan Rows": 1, "Plan Width": 8, "Output": ["customer.c_custkey", "customer.c_name", "customer.c_address", "customer.c_nationkey", "customer.c_phone", "customer.c_acctbal", "customer.c_mktsegment", "customer.c_comment"], "Index Cond": "(customer.c_custkey = orders.o_custkey)"}]}, {"Node Type": "Hash", "Parent Relationship": "Inner", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 2.45, "Total Cost": 2.45, "Plan Rows": 5, "Plan Width": 4, "Output": ["n1.n_nationkey"], "Plans": [{"Node Type": "Hash Join", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Join Type": "Inner", "Startup Cost": 1.07, "Total Cost": 2.45, "Plan Rows": 5, "Plan Width": 4, "Output": ["n1.n_nationkey"], "Inner Unique": true, "Hash Cond": "(n1.n_regionkey = region.r_regionkey)", "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Relation Name": "nation", "Schema": "public", "Alias": "n1", "Startup Cost": 0.0, "Total Cost": 1.25, "Plan Rows": 25, "Plan Width": 8, "Output": ["n1.n_nationkey", "n1.n_name", "n1.n_regionkey", "n1.n_comment"]}, {"Node Type": "Hash", "Parent Relationship": "Inner", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 1.06, "Total Cost": 1.06, "Plan Rows": 1, "Plan Width": 4, "Output": ["region.r_regionkey"], "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Relation Name": "region", "Schema": "public", "Alias": "region", "Startup Cost": 0.0, "Total Cost": 1.06, "Plan Rows": 1, "Plan Width": 4, "Output": ["region.r_regionkey"], "Filter": "(region.r_name = 'AFRICA'::bpchar)"}]}]}]}]}, {"Node Type": "Index Scan", "Parent Relationship": "Inner", "Parallel Aware": false, "Async Capable": false, "Scan Direction": "Forward", "Index Name": "s_sk", "Relation Name": "supplier", "Schema": "public", "Alias": "supplier", "Startup Cost": 0.29, "Total Cost": 0.31, "Plan Rows": 1, "Plan Width": 8, "Output": ["supplier.s_suppkey", "supplier.s_name", "supplier.s_address", "supplier.s_nationkey", "supplier.s_phone", "supplier.s_acctbal", "supplier.s_comment"], "Index Cond": "(supplier.s_suppkey = lineitem.l_suppkey)"}]}, {"Node Type": "Hash", "Parent Relationship": "Inner", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 1.25, "Total Cost": 1.25, "Plan Rows": 25, "Plan Width": 30, "Output": ["n2.n_name", "n2.n_nationkey"], "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Relation Name": "nation", "Schema": "public", "Alias": "n2", "Startup Cost": 0.0, "Total Cost": 1.25, "Plan Rows": 25, "Plan Width": 30, "Output": ["n2.n_name", "n2.n_nationkey"]}]}]}]}]}]}]}} diff --git a/dev9/pg14/tpch/sf_10/explain/15721/9-1.ok b/dev9/pg14/tpch/sf_10/explain/15721/9-1.ok new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/dev9/pg14/tpch/sf_10/explain/15721/9-1.res b/dev9/pg14/tpch/sf_10/explain/15721/9-1.res new file mode 100644 index 0000000000000000000000000000000000000000..3b5ddb57fbd03f4c7aae3796cd41a4aa190f21c1 --- /dev/null +++ b/dev9/pg14/tpch/sf_10/explain/15721/9-1.res @@ -0,0 +1 @@ +{"Plan": {"Node Type": "Aggregate", "Strategy": "Sorted", "Partial Mode": "Finalize", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 464823.25, "Total Cost": 496939.65, "Plan Rows": 60150, "Plan Width": 90, "Output": ["nation.n_name", "(EXTRACT(year FROM orders.o_orderdate))", "sum(((lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount)) - (partsupp.ps_supplycost * lineitem.l_quantity)))"], "Group Key": ["nation.n_name", "(EXTRACT(year FROM orders.o_orderdate))"], "Plans": [{"Node Type": "Gather Merge", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 464823.25, "Total Cost": 493631.4, "Plan Rows": 240600, "Plan Width": 90, "Output": ["nation.n_name", "(EXTRACT(year FROM orders.o_orderdate))", "(PARTIAL sum(((lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount)) - (partsupp.ps_supplycost * lineitem.l_quantity))))"], "Workers Planned": 4, "Plans": [{"Node Type": "Sort", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 463823.19, "Total Cost": 463973.56, "Plan Rows": 60150, "Plan Width": 90, "Output": ["nation.n_name", "(EXTRACT(year FROM orders.o_orderdate))", "(PARTIAL sum(((lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount)) - (partsupp.ps_supplycost * lineitem.l_quantity))))"], "Sort Key": ["nation.n_name", "(EXTRACT(year FROM orders.o_orderdate)) DESC"], "Plans": [{"Node Type": "Aggregate", "Strategy": "Hashed", "Partial Mode": "Partial", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 458146.15, "Total Cost": 459048.4, "Plan Rows": 60150, "Plan Width": 90, "Output": ["nation.n_name", "(EXTRACT(year FROM orders.o_orderdate))", "PARTIAL sum(((lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount)) - (partsupp.ps_supplycost * lineitem.l_quantity)))"], "Group Key": ["nation.n_name", "EXTRACT(year FROM orders.o_orderdate)"], "Planned Partitions": 0, "Plans": [{"Node Type": "Nested Loop", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Join Type": "Inner", "Startup Cost": 3542.41, "Total Cost": 446575.43, "Plan Rows": 661184, "Plan Width": 81, "Output": ["nation.n_name", "EXTRACT(year FROM orders.o_orderdate)", "lineitem.l_extendedprice", "lineitem.l_discount", "partsupp.ps_supplycost", "lineitem.l_quantity"], "Inner Unique": true, "Plans": [{"Node Type": "Nested Loop", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Join Type": "Inner", "Startup Cost": 3541.97, "Total Cost": 142074.68, "Plan Rows": 661184, "Plan Width": 53, "Output": ["lineitem.l_extendedprice", "lineitem.l_discount", "lineitem.l_quantity", "lineitem.l_orderkey", "partsupp.ps_supplycost", "nation.n_name"], "Inner Unique": false, "Join Filter": "(supplier.s_suppkey = lineitem.l_suppkey)", "Plans": [{"Node Type": "Hash Join", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Join Type": "Inner", "Startup Cost": 3541.53, "Total Cost": 85875.53, "Plan Rows": 88178, "Plan Width": 48, "Output": ["part.p_partkey", "partsupp.ps_supplycost", "partsupp.ps_suppkey", "partsupp.ps_partkey", "supplier.s_suppkey", "nation.n_name"], "Inner Unique": true, "Hash Cond": "(supplier.s_nationkey = nation.n_nationkey)", "Plans": [{"Node Type": "Hash Join", "Parent Relationship": "Outer", "Parallel Aware": true, "Async Capable": false, "Join Type": "Inner", "Startup Cost": 3539.97, "Total Cost": 85603.27, "Plan Rows": 88178, "Plan Width": 26, "Output": ["part.p_partkey", "partsupp.ps_supplycost", "partsupp.ps_suppkey", "partsupp.ps_partkey", "supplier.s_suppkey", "supplier.s_nationkey"], "Inner Unique": true, "Hash Cond": "(partsupp.ps_suppkey = supplier.s_suppkey)", "Plans": [{"Node Type": "Nested Loop", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Join Type": "Inner", "Startup Cost": 0.43, "Total Cost": 81832.25, "Plan Rows": 88178, "Plan Width": 18, "Output": ["part.p_partkey", "partsupp.ps_supplycost", "partsupp.ps_suppkey", "partsupp.ps_partkey"], "Inner Unique": false, "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": true, "Async Capable": false, "Relation Name": "part", "Schema": "public", "Alias": "part", "Startup Cost": 0.0, "Total Cost": 47212.0, "Plan Rows": 22044, "Plan Width": 4, "Output": ["part.p_partkey", "part.p_name", "part.p_mfgr", "part.p_brand", "part.p_type", "part.p_size", "part.p_container", "part.p_retailprice", "part.p_comment"], "Filter": "((part.p_name)::text ~~ '%forest%'::text)"}, {"Node Type": "Index Scan", "Parent Relationship": "Inner", "Parallel Aware": false, "Async Capable": false, "Scan Direction": "Forward", "Index Name": "ps_pk", "Relation Name": "partsupp", "Schema": "public", "Alias": "partsupp", "Startup Cost": 0.43, "Total Cost": 1.53, "Plan Rows": 4, "Plan Width": 14, "Output": ["partsupp.ps_partkey", "partsupp.ps_suppkey", "partsupp.ps_availqty", "partsupp.ps_supplycost", "partsupp.ps_comment"], "Index Cond": "(partsupp.ps_partkey = part.p_partkey)"}]}, {"Node Type": "Hash", "Parent Relationship": "Inner", "Parallel Aware": true, "Async Capable": false, "Startup Cost": 2804.24, "Total Cost": 2804.24, "Plan Rows": 58824, "Plan Width": 8, "Output": ["supplier.s_suppkey", "supplier.s_nationkey"], "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": true, "Async Capable": false, "Relation Name": "supplier", "Schema": "public", "Alias": "supplier", "Startup Cost": 0.0, "Total Cost": 2804.24, "Plan Rows": 58824, "Plan Width": 8, "Output": ["supplier.s_suppkey", "supplier.s_nationkey"]}]}]}, {"Node Type": "Hash", "Parent Relationship": "Inner", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 1.25, "Total Cost": 1.25, "Plan Rows": 25, "Plan Width": 30, "Output": ["nation.n_name", "nation.n_nationkey"], "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Relation Name": "nation", "Schema": "public", "Alias": "nation", "Startup Cost": 0.0, "Total Cost": 1.25, "Plan Rows": 25, "Plan Width": 30, "Output": ["nation.n_name", "nation.n_nationkey"]}]}]}, {"Node Type": "Index Scan", "Parent Relationship": "Inner", "Parallel Aware": false, "Async Capable": false, "Scan Direction": "Forward", "Index Name": "l_pk_sk", "Relation Name": "lineitem", "Schema": "public", "Alias": "lineitem", "Startup Cost": 0.44, "Total Cost": 0.62, "Plan Rows": 1, "Plan Width": 29, "Output": ["lineitem.l_orderkey", "lineitem.l_partkey", "lineitem.l_suppkey", "lineitem.l_linenumber", "lineitem.l_quantity", "lineitem.l_extendedprice", "lineitem.l_discount", "lineitem.l_tax", "lineitem.l_returnflag", "lineitem.l_linestatus", "lineitem.l_shipdate", "lineitem.l_commitdate", "lineitem.l_receiptdate", "lineitem.l_shipinstruct", "lineitem.l_shipmode", "lineitem.l_comment"], "Index Cond": "((lineitem.l_partkey = partsupp.ps_partkey) AND (lineitem.l_suppkey = partsupp.ps_suppkey))"}]}, {"Node Type": "Index Scan", "Parent Relationship": "Inner", "Parallel Aware": false, "Async Capable": false, "Scan Direction": "Forward", "Index Name": "o_ok", "Relation Name": "orders", "Schema": "public", "Alias": "orders", "Startup Cost": 0.43, "Total Cost": 0.46, "Plan Rows": 1, "Plan Width": 8, "Output": ["orders.o_orderkey", "orders.o_custkey", "orders.o_orderstatus", "orders.o_totalprice", "orders.o_orderdate", "orders.o_orderpriority", "orders.o_clerk", "orders.o_shippriority", "orders.o_comment"], "Index Cond": "(orders.o_orderkey = lineitem.l_orderkey)"}]}]}]}]}]}} diff --git a/dev9/pg14/tpch/sf_10/explain_analyze/15721/1-1.ok b/dev9/pg14/tpch/sf_10/explain_analyze/15721/1-1.ok new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/dev9/pg14/tpch/sf_10/explain_analyze/15721/1-1.res b/dev9/pg14/tpch/sf_10/explain_analyze/15721/1-1.res new file mode 100644 index 0000000000000000000000000000000000000000..a894967074bca417a76baa62c4678743a64f7341 --- /dev/null +++ b/dev9/pg14/tpch/sf_10/explain_analyze/15721/1-1.res @@ -0,0 +1 @@ +{"Plan": {"Node Type": "Aggregate", "Strategy": "Sorted", "Partial Mode": "Finalize", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 1525710.49, "Total Cost": 1525717.18, "Plan Rows": 6, "Plan Width": 236, "Actual Startup Time": 12266.652, "Actual Total Time": 12327.811, "Actual Rows": 4, "Actual Loops": 1, "Output": ["l_returnflag", "l_linestatus", "sum(l_quantity)", "sum(l_extendedprice)", "sum((l_extendedprice * ('1'::numeric - l_discount)))", "sum(((l_extendedprice * ('1'::numeric - l_discount)) * ('1'::numeric + l_tax)))", "avg(l_quantity)", "avg(l_extendedprice)", "avg(l_discount)", "count(*)"], "Group Key": ["lineitem.l_returnflag", "lineitem.l_linestatus"], "Plans": [{"Node Type": "Gather Merge", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 1525710.49, "Total Cost": 1525715.65, "Plan Rows": 42, "Plan Width": 236, "Actual Startup Time": 12266.607, "Actual Total Time": 12327.695, "Actual Rows": 32, "Actual Loops": 1, "Output": ["l_returnflag", "l_linestatus", "(PARTIAL sum(l_quantity))", "(PARTIAL sum(l_extendedprice))", "(PARTIAL sum((l_extendedprice * ('1'::numeric - l_discount))))", "(PARTIAL sum(((l_extendedprice * ('1'::numeric - l_discount)) * ('1'::numeric + l_tax))))", "(PARTIAL avg(l_quantity))", "(PARTIAL avg(l_extendedprice))", "(PARTIAL avg(l_discount))", "(PARTIAL count(*))"], "Workers Planned": 7, "Workers Launched": 7, "Plans": [{"Node Type": "Sort", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 1524710.37, "Total Cost": 1524710.38, "Plan Rows": 6, "Plan Width": 236, "Actual Startup Time": 12261.654, "Actual Total Time": 12261.657, "Actual Rows": 4, "Actual Loops": 8, "Output": ["l_returnflag", "l_linestatus", "(PARTIAL sum(l_quantity))", "(PARTIAL sum(l_extendedprice))", "(PARTIAL sum((l_extendedprice * ('1'::numeric - l_discount))))", "(PARTIAL sum(((l_extendedprice * ('1'::numeric - l_discount)) * ('1'::numeric + l_tax))))", "(PARTIAL avg(l_quantity))", "(PARTIAL avg(l_extendedprice))", "(PARTIAL avg(l_discount))", "(PARTIAL count(*))"], "Sort Key": ["lineitem.l_returnflag", "lineitem.l_linestatus"], "Sort Method": "quicksort", "Sort Space Used": 27, "Sort Space Type": "Memory", "Workers": [{"Worker Number": 0, "Actual Startup Time": 12260.995, "Actual Total Time": 12260.997, "Actual Rows": 4, "Actual Loops": 1, "Sort Method": "quicksort", "Sort Space Used": 27, "Sort Space Type": "Memory"}, {"Worker Number": 1, "Actual Startup Time": 12261.044, "Actual Total Time": 12261.045, "Actual Rows": 4, "Actual Loops": 1, "Sort Method": "quicksort", "Sort Space Used": 27, "Sort Space Type": "Memory"}, {"Worker Number": 2, "Actual Startup Time": 12261.034, "Actual Total Time": 12261.036, "Actual Rows": 4, "Actual Loops": 1, "Sort Method": "quicksort", "Sort Space Used": 27, "Sort Space Type": "Memory"}, {"Worker Number": 3, "Actual Startup Time": 12260.992, "Actual Total Time": 12260.994, "Actual Rows": 4, "Actual Loops": 1, "Sort Method": "quicksort", "Sort Space Used": 27, "Sort Space Type": "Memory"}, {"Worker Number": 4, "Actual Startup Time": 12260.992, "Actual Total Time": 12260.994, "Actual Rows": 4, "Actual Loops": 1, "Sort Method": "quicksort", "Sort Space Used": 27, "Sort Space Type": "Memory"}, {"Worker Number": 5, "Actual Startup Time": 12261.108, "Actual Total Time": 12261.117, "Actual Rows": 4, "Actual Loops": 1, "Sort Method": "quicksort", "Sort Space Used": 27, "Sort Space Type": "Memory"}, {"Worker Number": 6, "Actual Startup Time": 12261.056, "Actual Total Time": 12261.063, "Actual Rows": 4, "Actual Loops": 1, "Sort Method": "quicksort", "Sort Space Used": 27, "Sort Space Type": "Memory"}], "Plans": [{"Node Type": "Aggregate", "Strategy": "Hashed", "Partial Mode": "Partial", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 1524710.15, "Total Cost": 1524710.29, "Plan Rows": 6, "Plan Width": 236, "Actual Startup Time": 12261.599, "Actual Total Time": 12261.612, "Actual Rows": 4, "Actual Loops": 8, "Output": ["l_returnflag", "l_linestatus", "PARTIAL sum(l_quantity)", "PARTIAL sum(l_extendedprice)", "PARTIAL sum((l_extendedprice * ('1'::numeric - l_discount)))", "PARTIAL sum(((l_extendedprice * ('1'::numeric - l_discount)) * ('1'::numeric + l_tax)))", "PARTIAL avg(l_quantity)", "PARTIAL avg(l_extendedprice)", "PARTIAL avg(l_discount)", "PARTIAL count(*)"], "Group Key": ["lineitem.l_returnflag", "lineitem.l_linestatus"], "Planned Partitions": 0, "HashAgg Batches": 1, "Peak Memory Usage": 32, "Disk Usage": 0, "Workers": [{"Worker Number": 0, "Actual Startup Time": 12260.937, "Actual Total Time": 12260.949, "Actual Rows": 4, "Actual Loops": 1, "HashAgg Batches": 1, "Peak Memory Usage": 32, "Disk Usage": 0}, {"Worker Number": 1, "Actual Startup Time": 12260.992, "Actual Total Time": 12261.003, "Actual Rows": 4, "Actual Loops": 1, "HashAgg Batches": 1, "Peak Memory Usage": 32, "Disk Usage": 0}, {"Worker Number": 2, "Actual Startup Time": 12260.978, "Actual Total Time": 12260.989, "Actual Rows": 4, "Actual Loops": 1, "HashAgg Batches": 1, "Peak Memory Usage": 32, "Disk Usage": 0}, {"Worker Number": 3, "Actual Startup Time": 12260.935, "Actual Total Time": 12260.945, "Actual Rows": 4, "Actual Loops": 1, "HashAgg Batches": 1, "Peak Memory Usage": 32, "Disk Usage": 0}, {"Worker Number": 4, "Actual Startup Time": 12260.94, "Actual Total Time": 12260.951, "Actual Rows": 4, "Actual Loops": 1, "HashAgg Batches": 1, "Peak Memory Usage": 32, "Disk Usage": 0}, {"Worker Number": 5, "Actual Startup Time": 12261.029, "Actual Total Time": 12261.047, "Actual Rows": 4, "Actual Loops": 1, "HashAgg Batches": 1, "Peak Memory Usage": 32, "Disk Usage": 0}, {"Worker Number": 6, "Actual Startup Time": 12260.993, "Actual Total Time": 12261.009, "Actual Rows": 4, "Actual Loops": 1, "HashAgg Batches": 1, "Peak Memory Usage": 32, "Disk Usage": 0}], "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": true, "Async Capable": false, "Relation Name": "lineitem", "Schema": "public", "Alias": "lineitem", "Startup Cost": 0.0, "Total Cost": 1231660.89, "Plan Rows": 8372836, "Plan Width": 25, "Actual Startup Time": 0.029, "Actual Total Time": 1927.691, "Actual Rows": 7323456, "Actual Loops": 8, "Output": ["l_orderkey", "l_partkey", "l_suppkey", "l_linenumber", "l_quantity", "l_extendedprice", "l_discount", "l_tax", "l_returnflag", "l_linestatus", "l_shipdate", "l_commitdate", "l_receiptdate", "l_shipinstruct", "l_shipmode", "l_comment"], "Filter": "(lineitem.l_shipdate <= '1998-08-07 23:59:57'::timestamp without time zone)", "Rows Removed by Filter": 174801, "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.028, "Actual Total Time": 1966.004, "Actual Rows": 7280641, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 0.03, "Actual Total Time": 1969.302, "Actual Rows": 7313297, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 0.029, "Actual Total Time": 1964.545, "Actual Rows": 7310542, "Actual Loops": 1}, {"Worker Number": 3, "Actual Startup Time": 0.04, "Actual Total Time": 1964.762, "Actual Rows": 7311744, "Actual Loops": 1}, {"Worker Number": 4, "Actual Startup Time": 0.034, "Actual Total Time": 1958.092, "Actual Rows": 7297205, "Actual Loops": 1}, {"Worker Number": 5, "Actual Startup Time": 0.025, "Actual Total Time": 1869.676, "Actual Rows": 7337803, "Actual Loops": 1}, {"Worker Number": 6, "Actual Startup Time": 0.03, "Actual Total Time": 1850.181, "Actual Rows": 7367029, "Actual Loops": 1}]}]}]}]}]}, "Planning Time": 0.641, "Triggers": [], "Execution Time": 12327.932} diff --git a/dev9/pg14/tpch/sf_10/explain_analyze/15721/10-1.ok b/dev9/pg14/tpch/sf_10/explain_analyze/15721/10-1.ok new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/dev9/pg14/tpch/sf_10/explain_analyze/15721/10-1.res b/dev9/pg14/tpch/sf_10/explain_analyze/15721/10-1.res new file mode 100644 index 0000000000000000000000000000000000000000..37b973c970ae50873086e36130040c3ab2f4cc05 --- /dev/null +++ b/dev9/pg14/tpch/sf_10/explain_analyze/15721/10-1.res @@ -0,0 +1 @@ +{"Plan": {"Node Type": "Limit", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 632567.1, "Total Cost": 632567.15, "Plan Rows": 20, "Plan Width": 202, "Actual Startup Time": 3327.962, "Actual Total Time": 3536.494, "Actual Rows": 20, "Actual Loops": 1, "Output": ["customer.c_custkey", "customer.c_name", "(sum((lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount))))", "customer.c_acctbal", "nation.n_name", "customer.c_address", "customer.c_phone", "customer.c_comment"], "Plans": [{"Node Type": "Sort", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 632567.1, "Total Cost": 633930.65, "Plan Rows": 545419, "Plan Width": 202, "Actual Startup Time": 3327.96, "Actual Total Time": 3536.488, "Actual Rows": 20, "Actual Loops": 1, "Output": ["customer.c_custkey", "customer.c_name", "(sum((lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount))))", "customer.c_acctbal", "nation.n_name", "customer.c_address", "customer.c_phone", "customer.c_comment"], "Sort Key": ["(sum((lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount)))) DESC"], "Sort Method": "top-N heapsort", "Sort Space Used": 34, "Sort Space Type": "Memory", "Plans": [{"Node Type": "Aggregate", "Strategy": "Sorted", "Partial Mode": "Simple", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 537902.5, "Total Cost": 618053.7, "Plan Rows": 545419, "Plan Width": 202, "Actual Startup Time": 1985.127, "Actual Total Time": 3401.181, "Actual Rows": 372741, "Actual Loops": 1, "Output": ["customer.c_custkey", "customer.c_name", "sum((lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount)))", "customer.c_acctbal", "nation.n_name", "customer.c_address", "customer.c_phone", "customer.c_comment"], "Group Key": ["customer.c_custkey", "nation.n_name"], "Plans": [{"Node Type": "Gather Merge", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 537902.5, "Total Cost": 604418.22, "Plan Rows": 545419, "Plan Width": 182, "Actual Startup Time": 1985.104, "Actual Total Time": 2510.052, "Actual Rows": 1112878, "Actual Loops": 1, "Output": ["customer.c_custkey", "nation.n_name", "customer.c_name", "lineitem.l_extendedprice", "lineitem.l_discount", "customer.c_acctbal", "customer.c_address", "customer.c_phone", "customer.c_comment"], "Workers Planned": 6, "Workers Launched": 6, "Plans": [{"Node Type": "Sort", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 536902.4, "Total Cost": 537129.66, "Plan Rows": 90903, "Plan Width": 182, "Actual Startup Time": 1954.997, "Actual Total Time": 1986.75, "Actual Rows": 158983, "Actual Loops": 7, "Output": ["customer.c_custkey", "nation.n_name", "customer.c_name", "lineitem.l_extendedprice", "lineitem.l_discount", "customer.c_acctbal", "customer.c_address", "customer.c_phone", "customer.c_comment"], "Sort Key": ["customer.c_custkey", "nation.n_name"], "Sort Method": "external merge", "Sort Space Used": 37040, "Sort Space Type": "Disk", "Workers": [{"Worker Number": 0, "Actual Startup Time": 1951.374, "Actual Total Time": 1977.236, "Actual Rows": 156409, "Actual Loops": 1, "Sort Method": "external merge", "Sort Space Used": 29872, "Sort Space Type": "Disk"}, {"Worker Number": 1, "Actual Startup Time": 1951.614, "Actual Total Time": 1977.391, "Actual Rows": 156549, "Actual Loops": 1, "Sort Method": "external merge", "Sort Space Used": 29864, "Sort Space Type": "Disk"}, {"Worker Number": 2, "Actual Startup Time": 1951.802, "Actual Total Time": 1977.526, "Actual Rows": 157099, "Actual Loops": 1, "Sort Method": "external merge", "Sort Space Used": 29968, "Sort Space Type": "Disk"}, {"Worker Number": 3, "Actual Startup Time": 1953.258, "Actual Total Time": 2008.475, "Actual Rows": 151540, "Actual Loops": 1, "Sort Method": "external merge", "Sort Space Used": 28888, "Sort Space Type": "Disk"}, {"Worker Number": 4, "Actual Startup Time": 1948.42, "Actual Total Time": 1976.832, "Actual Rows": 151844, "Actual Loops": 1, "Sort Method": "external merge", "Sort Space Used": 28976, "Sort Space Type": "Disk"}, {"Worker Number": 5, "Actual Startup Time": 1944.004, "Actual Total Time": 1969.386, "Actual Rows": 145289, "Actual Loops": 1, "Sort Method": "external merge", "Sort Space Used": 27744, "Sort Space Type": "Disk"}], "Plans": [{"Node Type": "Hash Join", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Join Type": "Inner", "Startup Cost": 6203.83, "Total Cost": 529415.61, "Plan Rows": 90903, "Plan Width": 182, "Actual Startup Time": 169.581, "Actual Total Time": 1769.287, "Actual Rows": 158983, "Actual Loops": 7, "Output": ["customer.c_custkey", "nation.n_name", "customer.c_name", "lineitem.l_extendedprice", "lineitem.l_discount", "customer.c_acctbal", "customer.c_address", "customer.c_phone", "customer.c_comment"], "Inner Unique": true, "Hash Cond": "(customer.c_nationkey = nation.n_nationkey)", "Workers": [{"Worker Number": 0, "Actual Startup Time": 169.026, "Actual Total Time": 1772.308, "Actual Rows": 156409, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 169.02, "Actual Total Time": 1772.114, "Actual Rows": 156549, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 169.004, "Actual Total Time": 1772.413, "Actual Rows": 157099, "Actual Loops": 1}, {"Worker Number": 3, "Actual Startup Time": 169.028, "Actual Total Time": 1762.31, "Actual Rows": 151540, "Actual Loops": 1}, {"Worker Number": 4, "Actual Startup Time": 168.997, "Actual Total Time": 1769.024, "Actual Rows": 151844, "Actual Loops": 1}, {"Worker Number": 5, "Actual Startup Time": 169.018, "Actual Total Time": 1767.758, "Actual Rows": 145289, "Actual Loops": 1}], "Plans": [{"Node Type": "Nested Loop", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Join Type": "Inner", "Startup Cost": 6202.27, "Total Cost": 529134.98, "Plan Rows": 90903, "Plan Width": 160, "Actual Startup Time": 169.343, "Actual Total Time": 1715.912, "Actual Rows": 158983, "Actual Loops": 7, "Output": ["customer.c_custkey", "customer.c_name", "customer.c_acctbal", "customer.c_address", "customer.c_phone", "customer.c_comment", "customer.c_nationkey", "lineitem.l_extendedprice", "lineitem.l_discount"], "Inner Unique": true, "Workers": [{"Worker Number": 0, "Actual Startup Time": 168.753, "Actual Total Time": 1719.689, "Actual Rows": 156409, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 168.743, "Actual Total Time": 1719.277, "Actual Rows": 156549, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 168.735, "Actual Total Time": 1719.446, "Actual Rows": 157099, "Actual Loops": 1}, {"Worker Number": 3, "Actual Startup Time": 168.757, "Actual Total Time": 1712.125, "Actual Rows": 151540, "Actual Loops": 1}, {"Worker Number": 4, "Actual Startup Time": 168.728, "Actual Total Time": 1717.545, "Actual Rows": 151844, "Actual Loops": 1}, {"Worker Number": 5, "Actual Startup Time": 168.74, "Actual Total Time": 1718.428, "Actual Rows": 145289, "Actual Loops": 1}], "Plans": [{"Node Type": "Nested Loop", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Join Type": "Inner", "Startup Cost": 6201.84, "Total Cost": 481474.9, "Plan Rows": 90903, "Plan Width": 16, "Actual Startup Time": 169.271, "Actual Total Time": 1095.43, "Actual Rows": 158983, "Actual Loops": 7, "Output": ["orders.o_custkey", "lineitem.l_extendedprice", "lineitem.l_discount"], "Inner Unique": false, "Workers": [{"Worker Number": 0, "Actual Startup Time": 168.677, "Actual Total Time": 1113.482, "Actual Rows": 156409, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 168.655, "Actual Total Time": 1113.474, "Actual Rows": 156549, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 168.655, "Actual Total Time": 1111.673, "Actual Rows": 157099, "Actual Loops": 1}, {"Worker Number": 3, "Actual Startup Time": 168.674, "Actual Total Time": 1114.537, "Actual Rows": 151540, "Actual Loops": 1}, {"Worker Number": 4, "Actual Startup Time": 168.636, "Actual Total Time": 1115.567, "Actual Rows": 151844, "Actual Loops": 1}, {"Worker Number": 5, "Actual Startup Time": 168.669, "Actual Total Time": 1118.353, "Actual Rows": 145289, "Actual Loops": 1}], "Plans": [{"Node Type": "Bitmap Heap Scan", "Parent Relationship": "Outer", "Parallel Aware": true, "Async Capable": false, "Relation Name": "orders", "Schema": "public", "Alias": "orders", "Startup Cost": 6201.28, "Total Cost": 268498.51, "Plan Rows": 92349, "Plan Width": 8, "Actual Startup Time": 169.159, "Actual Total Time": 366.99, "Actual Rows": 79303, "Actual Loops": 7, "Output": ["orders.o_orderkey", "orders.o_custkey", "orders.o_orderstatus", "orders.o_totalprice", "orders.o_orderdate", "orders.o_orderpriority", "orders.o_clerk", "orders.o_shippriority", "orders.o_comment"], "Recheck Cond": "((orders.o_orderdate >= '1993-02-01'::date) AND (orders.o_orderdate < '1993-05-01 00:00:00'::timestamp without time zone))", "Rows Removed by Index Recheck": 0, "Exact Heap Blocks": 40334, "Lossy Heap Blocks": 0, "Workers": [{"Worker Number": 0, "Actual Startup Time": 168.546, "Actual Total Time": 373.57, "Actual Rows": 78048, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 168.532, "Actual Total Time": 373.977, "Actual Rows": 77952, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 168.523, "Actual Total Time": 374.197, "Actual Rows": 78131, "Actual Loops": 1}, {"Worker Number": 3, "Actual Startup Time": 168.545, "Actual Total Time": 377.358, "Actual Rows": 75540, "Actual Loops": 1}, {"Worker Number": 4, "Actual Startup Time": 168.53, "Actual Total Time": 376.314, "Actual Rows": 75891, "Actual Loops": 1}, {"Worker Number": 5, "Actual Startup Time": 168.548, "Actual Total Time": 379.317, "Actual Rows": 72681, "Actual Loops": 1}], "Plans": [{"Node Type": "Bitmap Index Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Index Name": "o_od", "Startup Cost": 0.0, "Total Cost": 6062.76, "Plan Rows": 554092, "Plan Width": 0, "Actual Startup Time": 95.732, "Actual Total Time": 95.732, "Actual Rows": 555118, "Actual Loops": 1, "Index Cond": "((orders.o_orderdate >= '1993-02-01'::date) AND (orders.o_orderdate < '1993-05-01 00:00:00'::timestamp without time zone))", "Workers": []}]}, {"Node Type": "Index Scan", "Parent Relationship": "Inner", "Parallel Aware": false, "Async Capable": false, "Scan Direction": "Forward", "Index Name": "l_ok", "Relation Name": "lineitem", "Schema": "public", "Alias": "lineitem", "Startup Cost": 0.56, "Total Cost": 2.24, "Plan Rows": 7, "Plan Width": 16, "Actual Startup Time": 0.007, "Actual Total Time": 0.009, "Actual Rows": 2, "Actual Loops": 555118, "Output": ["lineitem.l_orderkey", "lineitem.l_partkey", "lineitem.l_suppkey", "lineitem.l_linenumber", "lineitem.l_quantity", "lineitem.l_extendedprice", "lineitem.l_discount", "lineitem.l_tax", "lineitem.l_returnflag", "lineitem.l_linestatus", "lineitem.l_shipdate", "lineitem.l_commitdate", "lineitem.l_receiptdate", "lineitem.l_shipinstruct", "lineitem.l_shipmode", "lineitem.l_comment"], "Index Cond": "(lineitem.l_orderkey = orders.o_orderkey)", "Rows Removed by Index Recheck": 0, "Filter": "(lineitem.l_returnflag = 'R'::bpchar)", "Rows Removed by Filter": 2, "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.008, "Actual Total Time": 0.009, "Actual Rows": 2, "Actual Loops": 78048}, {"Worker Number": 1, "Actual Startup Time": 0.008, "Actual Total Time": 0.009, "Actual Rows": 2, "Actual Loops": 77952}, {"Worker Number": 2, "Actual Startup Time": 0.008, "Actual Total Time": 0.009, "Actual Rows": 2, "Actual Loops": 78131}, {"Worker Number": 3, "Actual Startup Time": 0.008, "Actual Total Time": 0.009, "Actual Rows": 2, "Actual Loops": 75540}, {"Worker Number": 4, "Actual Startup Time": 0.008, "Actual Total Time": 0.009, "Actual Rows": 2, "Actual Loops": 75891}, {"Worker Number": 5, "Actual Startup Time": 0.008, "Actual Total Time": 0.01, "Actual Rows": 2, "Actual Loops": 72681}]}]}, {"Node Type": "Index Scan", "Parent Relationship": "Inner", "Parallel Aware": false, "Async Capable": false, "Scan Direction": "Forward", "Index Name": "c_ck", "Relation Name": "customer", "Schema": "public", "Alias": "customer", "Startup Cost": 0.43, "Total Cost": 0.52, "Plan Rows": 1, "Plan Width": 148, "Actual Startup Time": 0.003, "Actual Total Time": 0.003, "Actual Rows": 1, "Actual Loops": 1112878, "Output": ["customer.c_custkey", "customer.c_name", "customer.c_address", "customer.c_nationkey", "customer.c_phone", "customer.c_acctbal", "customer.c_mktsegment", "customer.c_comment"], "Index Cond": "(customer.c_custkey = orders.o_custkey)", "Rows Removed by Index Recheck": 0, "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.003, "Actual Total Time": 0.003, "Actual Rows": 1, "Actual Loops": 156409}, {"Worker Number": 1, "Actual Startup Time": 0.003, "Actual Total Time": 0.003, "Actual Rows": 1, "Actual Loops": 156549}, {"Worker Number": 2, "Actual Startup Time": 0.003, "Actual Total Time": 0.003, "Actual Rows": 1, "Actual Loops": 157099}, {"Worker Number": 3, "Actual Startup Time": 0.003, "Actual Total Time": 0.003, "Actual Rows": 1, "Actual Loops": 151540}, {"Worker Number": 4, "Actual Startup Time": 0.003, "Actual Total Time": 0.003, "Actual Rows": 1, "Actual Loops": 151844}, {"Worker Number": 5, "Actual Startup Time": 0.004, "Actual Total Time": 0.004, "Actual Rows": 1, "Actual Loops": 145289}]}]}, {"Node Type": "Hash", "Parent Relationship": "Inner", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 1.25, "Total Cost": 1.25, "Plan Rows": 25, "Plan Width": 30, "Actual Startup Time": 0.046, "Actual Total Time": 0.047, "Actual Rows": 25, "Actual Loops": 7, "Output": ["nation.n_name", "nation.n_nationkey"], "Hash Buckets": 1024, "Original Hash Buckets": 1024, "Hash Batches": 1, "Original Hash Batches": 1, "Peak Memory Usage": 10, "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.052, "Actual Total Time": 0.054, "Actual Rows": 25, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 0.049, "Actual Total Time": 0.05, "Actual Rows": 25, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 0.044, "Actual Total Time": 0.045, "Actual Rows": 25, "Actual Loops": 1}, {"Worker Number": 3, "Actual Startup Time": 0.048, "Actual Total Time": 0.05, "Actual Rows": 25, "Actual Loops": 1}, {"Worker Number": 4, "Actual Startup Time": 0.048, "Actual Total Time": 0.049, "Actual Rows": 25, "Actual Loops": 1}, {"Worker Number": 5, "Actual Startup Time": 0.059, "Actual Total Time": 0.06, "Actual Rows": 25, "Actual Loops": 1}], "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Relation Name": "nation", "Schema": "public", "Alias": "nation", "Startup Cost": 0.0, "Total Cost": 1.25, "Plan Rows": 25, "Plan Width": 30, "Actual Startup Time": 0.027, "Actual Total Time": 0.033, "Actual Rows": 25, "Actual Loops": 7, "Output": ["nation.n_name", "nation.n_nationkey"], "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.031, "Actual Total Time": 0.039, "Actual Rows": 25, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 0.028, "Actual Total Time": 0.032, "Actual Rows": 25, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 0.023, "Actual Total Time": 0.031, "Actual Rows": 25, "Actual Loops": 1}, {"Worker Number": 3, "Actual Startup Time": 0.031, "Actual Total Time": 0.035, "Actual Rows": 25, "Actual Loops": 1}, {"Worker Number": 4, "Actual Startup Time": 0.03, "Actual Total Time": 0.035, "Actual Rows": 25, "Actual Loops": 1}, {"Worker Number": 5, "Actual Startup Time": 0.038, "Actual Total Time": 0.042, "Actual Rows": 25, "Actual Loops": 1}]}]}]}]}]}]}]}]}, "Planning Time": 1.199, "Triggers": [], "Execution Time": 3544.151} diff --git a/dev9/pg14/tpch/sf_10/explain_analyze/15721/11-1.ok b/dev9/pg14/tpch/sf_10/explain_analyze/15721/11-1.ok new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/dev9/pg14/tpch/sf_10/explain_analyze/15721/11-1.res b/dev9/pg14/tpch/sf_10/explain_analyze/15721/11-1.res new file mode 100644 index 0000000000000000000000000000000000000000..5bffdd93d4a41e440396697b7d9fc3e19a53928b --- /dev/null +++ b/dev9/pg14/tpch/sf_10/explain_analyze/15721/11-1.res @@ -0,0 +1 @@ +{"Plan": {"Node Type": "Sort", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 66883.06, "Total Cost": 67149.73, "Plan Rows": 106668, "Plan Width": 36, "Actual Startup Time": 1228.766, "Actual Total Time": 1228.854, "Actual Rows": 0, "Actual Loops": 1, "Output": ["partsupp.ps_partkey", "(sum((partsupp.ps_supplycost * (partsupp.ps_availqty)::numeric)))"], "Sort Key": ["(sum((partsupp.ps_supplycost * (partsupp.ps_availqty)::numeric))) DESC"], "Sort Method": "quicksort", "Sort Space Used": 25, "Sort Space Type": "Memory", "Plans": [{"Node Type": "Aggregate", "Strategy": "Plain", "Partial Mode": "Finalize", "Parent Relationship": "InitPlan", "Subplan Name": "InitPlan 1 (returns $2)", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 16279.19, "Total Cost": 16279.2, "Plan Rows": 1, "Plan Width": 32, "Actual Startup Time": 321.575, "Actual Total Time": 321.659, "Actual Rows": 1, "Actual Loops": 1, "Output": ["(sum((partsupp_1.ps_supplycost * (partsupp_1.ps_availqty)::numeric)) * 0.0001000000)"], "Plans": [{"Node Type": "Gather", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 16279.07, "Total Cost": 16279.18, "Plan Rows": 1, "Plan Width": 32, "Actual Startup Time": 321.552, "Actual Total Time": 321.64, "Actual Rows": 2, "Actual Loops": 1, "Output": ["(PARTIAL sum((partsupp_1.ps_supplycost * (partsupp_1.ps_availqty)::numeric)))"], "Workers Planned": 1, "Workers Launched": 1, "Single Copy": false, "Plans": [{"Node Type": "Aggregate", "Strategy": "Plain", "Partial Mode": "Partial", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 15279.07, "Total Cost": 15279.08, "Plan Rows": 1, "Plan Width": 32, "Actual Startup Time": 318.895, "Actual Total Time": 318.898, "Actual Rows": 1, "Actual Loops": 2, "Output": ["PARTIAL sum((partsupp_1.ps_supplycost * (partsupp_1.ps_availqty)::numeric))"], "Workers": [{"Worker Number": 0, "Actual Startup Time": 316.55, "Actual Total Time": 316.552, "Actual Rows": 1, "Actual Loops": 1}], "Plans": [{"Node Type": "Nested Loop", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Join Type": "Inner", "Startup Cost": 1.76, "Total Cost": 13867.29, "Plan Rows": 188237, "Plan Width": 10, "Actual Startup Time": 0.181, "Actual Total Time": 261.729, "Actual Rows": 159520, "Actual Loops": 2, "Output": ["partsupp_1.ps_supplycost", "partsupp_1.ps_availqty"], "Inner Unique": false, "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.314, "Actual Total Time": 269.191, "Actual Rows": 130880, "Actual Loops": 1}], "Plans": [{"Node Type": "Hash Join", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Join Type": "Inner", "Startup Cost": 1.32, "Total Cost": 2986.15, "Plan Rows": 2353, "Plan Width": 4, "Actual Startup Time": 0.119, "Actual Total Time": 18.313, "Actual Rows": 1994, "Actual Loops": 2, "Output": ["supplier_1.s_suppkey"], "Inner Unique": true, "Hash Cond": "(supplier_1.s_nationkey = nation_1.n_nationkey)", "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.205, "Actual Total Time": 16.364, "Actual Rows": 1636, "Actual Loops": 1}], "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": true, "Async Capable": false, "Relation Name": "supplier", "Schema": "public", "Alias": "supplier_1", "Startup Cost": 0.0, "Total Cost": 2804.24, "Plan Rows": 58824, "Plan Width": 8, "Actual Startup Time": 0.008, "Actual Total Time": 5.198, "Actual Rows": 50000, "Actual Loops": 2, "Output": ["supplier_1.s_suppkey", "supplier_1.s_name", "supplier_1.s_address", "supplier_1.s_nationkey", "supplier_1.s_phone", "supplier_1.s_acctbal", "supplier_1.s_comment"], "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.014, "Actual Total Time": 4.726, "Actual Rows": 41371, "Actual Loops": 1}]}, {"Node Type": "Hash", "Parent Relationship": "Inner", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 1.31, "Total Cost": 1.31, "Plan Rows": 1, "Plan Width": 4, "Actual Startup Time": 0.025, "Actual Total Time": 0.026, "Actual Rows": 1, "Actual Loops": 2, "Output": ["nation_1.n_nationkey"], "Hash Buckets": 1024, "Original Hash Buckets": 1024, "Hash Batches": 1, "Original Hash Batches": 1, "Peak Memory Usage": 9, "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.037, "Actual Total Time": 0.037, "Actual Rows": 1, "Actual Loops": 1}], "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Relation Name": "nation", "Schema": "public", "Alias": "nation_1", "Startup Cost": 0.0, "Total Cost": 1.31, "Plan Rows": 1, "Plan Width": 4, "Actual Startup Time": 0.019, "Actual Total Time": 0.02, "Actual Rows": 1, "Actual Loops": 2, "Output": ["nation_1.n_nationkey"], "Filter": "(nation_1.n_name = 'CHINA'::bpchar)", "Rows Removed by Filter": 24, "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.029, "Actual Total Time": 0.03, "Actual Rows": 1, "Actual Loops": 1}]}]}]}, {"Node Type": "Index Scan", "Parent Relationship": "Inner", "Parallel Aware": false, "Async Capable": false, "Scan Direction": "Forward", "Index Name": "ps_sk", "Relation Name": "partsupp", "Schema": "public", "Alias": "partsupp_1", "Startup Cost": 0.43, "Total Cost": 3.82, "Plan Rows": 80, "Plan Width": 14, "Actual Startup Time": 0.005, "Actual Total Time": 0.108, "Actual Rows": 80, "Actual Loops": 3988, "Output": ["partsupp_1.ps_partkey", "partsupp_1.ps_suppkey", "partsupp_1.ps_availqty", "partsupp_1.ps_supplycost", "partsupp_1.ps_comment"], "Index Cond": "(partsupp_1.ps_suppkey = supplier_1.s_suppkey)", "Rows Removed by Index Recheck": 0, "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.007, "Actual Total Time": 0.141, "Actual Rows": 80, "Actual Loops": 1636}]}]}]}]}]}, {"Node Type": "Aggregate", "Strategy": "Hashed", "Partial Mode": "Simple", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 33770.53, "Total Cost": 41695.61, "Plan Rows": 106668, "Plan Width": 36, "Actual Startup Time": 1228.76, "Actual Total Time": 1228.763, "Actual Rows": 0, "Actual Loops": 1, "Output": ["partsupp.ps_partkey", "sum((partsupp.ps_supplycost * (partsupp.ps_availqty)::numeric))"], "Group Key": ["partsupp.ps_partkey"], "Filter": "(sum((partsupp.ps_supplycost * (partsupp.ps_availqty)::numeric)) > $2)", "Planned Partitions": 8, "HashAgg Batches": 9, "Peak Memory Usage": 21073, "Disk Usage": 15064, "Rows Removed by Filter": 300316, "Plans": [{"Node Type": "Nested Loop", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Join Type": "Inner", "Startup Cost": 36.12, "Total Cost": 20732.91, "Plan Rows": 320003, "Plan Width": 14, "Actual Startup Time": 0.771, "Actual Total Time": 423.98, "Actual Rows": 319040, "Actual Loops": 1, "Output": ["partsupp.ps_partkey", "partsupp.ps_supplycost", "partsupp.ps_availqty"], "Inner Unique": false, "Plans": [{"Node Type": "Nested Loop", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Join Type": "Inner", "Startup Cost": 35.69, "Total Cost": 2235.44, "Plan Rows": 4000, "Plan Width": 4, "Actual Startup Time": 0.757, "Actual Total Time": 5.727, "Actual Rows": 3988, "Actual Loops": 1, "Output": ["supplier.s_suppkey"], "Inner Unique": false, "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Relation Name": "nation", "Schema": "public", "Alias": "nation", "Startup Cost": 0.0, "Total Cost": 1.31, "Plan Rows": 1, "Plan Width": 4, "Actual Startup Time": 0.014, "Actual Total Time": 0.02, "Actual Rows": 1, "Actual Loops": 1, "Output": ["nation.n_nationkey", "nation.n_name", "nation.n_regionkey", "nation.n_comment"], "Filter": "(nation.n_name = 'CHINA'::bpchar)", "Rows Removed by Filter": 24}, {"Node Type": "Bitmap Heap Scan", "Parent Relationship": "Inner", "Parallel Aware": false, "Async Capable": false, "Relation Name": "supplier", "Schema": "public", "Alias": "supplier", "Startup Cost": 35.69, "Total Cost": 2194.12, "Plan Rows": 4000, "Plan Width": 8, "Actual Startup Time": 0.741, "Actual Total Time": 5.081, "Actual Rows": 3988, "Actual Loops": 1, "Output": ["supplier.s_suppkey", "supplier.s_name", "supplier.s_address", "supplier.s_nationkey", "supplier.s_phone", "supplier.s_acctbal", "supplier.s_comment"], "Recheck Cond": "(supplier.s_nationkey = nation.n_nationkey)", "Rows Removed by Index Recheck": 0, "Exact Heap Blocks": 1857, "Lossy Heap Blocks": 0, "Plans": [{"Node Type": "Bitmap Index Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Index Name": "s_nk", "Startup Cost": 0.0, "Total Cost": 34.69, "Plan Rows": 4000, "Plan Width": 0, "Actual Startup Time": 0.371, "Actual Total Time": 0.371, "Actual Rows": 3988, "Actual Loops": 1, "Index Cond": "(supplier.s_nationkey = nation.n_nationkey)"}]}]}, {"Node Type": "Index Scan", "Parent Relationship": "Inner", "Parallel Aware": false, "Async Capable": false, "Scan Direction": "Forward", "Index Name": "ps_sk", "Relation Name": "partsupp", "Schema": "public", "Alias": "partsupp", "Startup Cost": 0.43, "Total Cost": 3.82, "Plan Rows": 80, "Plan Width": 18, "Actual Startup Time": 0.004, "Actual Total Time": 0.091, "Actual Rows": 80, "Actual Loops": 3988, "Output": ["partsupp.ps_partkey", "partsupp.ps_suppkey", "partsupp.ps_availqty", "partsupp.ps_supplycost", "partsupp.ps_comment"], "Index Cond": "(partsupp.ps_suppkey = supplier.s_suppkey)", "Rows Removed by Index Recheck": 0}]}]}]}, "Planning Time": 0.92, "Triggers": [], "Execution Time": 1232.53} diff --git a/dev9/pg14/tpch/sf_10/explain_analyze/15721/12-1.ok b/dev9/pg14/tpch/sf_10/explain_analyze/15721/12-1.ok new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/dev9/pg14/tpch/sf_10/explain_analyze/15721/12-1.res b/dev9/pg14/tpch/sf_10/explain_analyze/15721/12-1.res new file mode 100644 index 0000000000000000000000000000000000000000..35b5eacaa53867ab2df67ad5c7e94d0a072a659b --- /dev/null +++ b/dev9/pg14/tpch/sf_10/explain_analyze/15721/12-1.res @@ -0,0 +1 @@ +{"Plan": {"Node Type": "Aggregate", "Strategy": "Sorted", "Partial Mode": "Finalize", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 1375919.19, "Total Cost": 1376751.92, "Plan Rows": 7, "Plan Width": 27, "Actual Startup Time": 2589.921, "Actual Total Time": 2653.559, "Actual Rows": 2, "Actual Loops": 1, "Output": ["lineitem.l_shipmode", "sum(CASE WHEN ((orders.o_orderpriority = '1-URGENT'::bpchar) OR (orders.o_orderpriority = '2-HIGH'::bpchar)) THEN 1 ELSE 0 END)", "sum(CASE WHEN ((orders.o_orderpriority <> '1-URGENT'::bpchar) AND (orders.o_orderpriority <> '2-HIGH'::bpchar)) THEN 1 ELSE 0 END)"], "Group Key": ["lineitem.l_shipmode"], "Plans": [{"Node Type": "Gather Merge", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 1375919.19, "Total Cost": 1376751.49, "Plan Rows": 49, "Plan Width": 27, "Actual Startup Time": 2581.843, "Actual Total Time": 2653.537, "Actual Rows": 16, "Actual Loops": 1, "Output": ["lineitem.l_shipmode", "(PARTIAL sum(CASE WHEN ((orders.o_orderpriority = '1-URGENT'::bpchar) OR (orders.o_orderpriority = '2-HIGH'::bpchar)) THEN 1 ELSE 0 END))", "(PARTIAL sum(CASE WHEN ((orders.o_orderpriority <> '1-URGENT'::bpchar) AND (orders.o_orderpriority <> '2-HIGH'::bpchar)) THEN 1 ELSE 0 END))"], "Workers Planned": 7, "Workers Launched": 7, "Plans": [{"Node Type": "Aggregate", "Strategy": "Sorted", "Partial Mode": "Partial", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 1374919.07, "Total Cost": 1375745.36, "Plan Rows": 7, "Plan Width": 27, "Actual Startup Time": 2576.335, "Actual Total Time": 2583.846, "Actual Rows": 2, "Actual Loops": 8, "Output": ["lineitem.l_shipmode", "PARTIAL sum(CASE WHEN ((orders.o_orderpriority = '1-URGENT'::bpchar) OR (orders.o_orderpriority = '2-HIGH'::bpchar)) THEN 1 ELSE 0 END)", "PARTIAL sum(CASE WHEN ((orders.o_orderpriority <> '1-URGENT'::bpchar) AND (orders.o_orderpriority <> '2-HIGH'::bpchar)) THEN 1 ELSE 0 END)"], "Group Key": ["lineitem.l_shipmode"], "Workers": [{"Worker Number": 0, "Actual Startup Time": 2575.062, "Actual Total Time": 2582.509, "Actual Rows": 2, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 2575.021, "Actual Total Time": 2582.486, "Actual Rows": 2, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 2576.423, "Actual Total Time": 2583.819, "Actual Rows": 2, "Actual Loops": 1}, {"Worker Number": 3, "Actual Startup Time": 2576.18, "Actual Total Time": 2583.669, "Actual Rows": 2, "Actual Loops": 1}, {"Worker Number": 4, "Actual Startup Time": 2575.301, "Actual Total Time": 2582.757, "Actual Rows": 2, "Actual Loops": 1}, {"Worker Number": 5, "Actual Startup Time": 2575.9, "Actual Total Time": 2583.34, "Actual Rows": 2, "Actual Loops": 1}, {"Worker Number": 6, "Actual Startup Time": 2575.677, "Actual Total Time": 2583.015, "Actual Rows": 2, "Actual Loops": 1}], "Plans": [{"Node Type": "Sort", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 1374919.07, "Total Cost": 1375022.35, "Plan Rows": 41311, "Plan Width": 27, "Actual Startup Time": 2568.797, "Actual Total Time": 2571.041, "Actual Rows": 38973, "Actual Loops": 8, "Output": ["lineitem.l_shipmode", "orders.o_orderpriority"], "Sort Key": ["lineitem.l_shipmode"], "Sort Method": "quicksort", "Sort Space Used": 4759, "Sort Space Type": "Memory", "Workers": [{"Worker Number": 0, "Actual Startup Time": 2567.584, "Actual Total Time": 2569.814, "Actual Rows": 38647, "Actual Loops": 1, "Sort Method": "quicksort", "Sort Space Used": 4556, "Sort Space Type": "Memory"}, {"Worker Number": 1, "Actual Startup Time": 2567.615, "Actual Total Time": 2569.836, "Actual Rows": 38568, "Actual Loops": 1, "Sort Method": "quicksort", "Sort Space Used": 4550, "Sort Space Type": "Memory"}, {"Worker Number": 2, "Actual Startup Time": 2568.928, "Actual Total Time": 2571.142, "Actual Rows": 38662, "Actual Loops": 1, "Sort Method": "quicksort", "Sort Space Used": 4557, "Sort Space Type": "Memory"}, {"Worker Number": 3, "Actual Startup Time": 2568.651, "Actual Total Time": 2570.88, "Actual Rows": 38972, "Actual Loops": 1, "Sort Method": "quicksort", "Sort Space Used": 4581, "Sort Space Type": "Memory"}, {"Worker Number": 4, "Actual Startup Time": 2567.815, "Actual Total Time": 2570.046, "Actual Rows": 38645, "Actual Loops": 1, "Sort Method": "quicksort", "Sort Space Used": 4556, "Sort Space Type": "Memory"}, {"Worker Number": 5, "Actual Startup Time": 2568.439, "Actual Total Time": 2570.656, "Actual Rows": 38669, "Actual Loops": 1, "Sort Method": "quicksort", "Sort Space Used": 4558, "Sort Space Type": "Memory"}, {"Worker Number": 6, "Actual Startup Time": 2568.218, "Actual Total Time": 2570.418, "Actual Rows": 38381, "Actual Loops": 1, "Sort Method": "quicksort", "Sort Space Used": 4535, "Sort Space Type": "Memory"}], "Plans": [{"Node Type": "Nested Loop", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Join Type": "Inner", "Startup Cost": 0.43, "Total Cost": 1371751.71, "Plan Rows": 41311, "Plan Width": 27, "Actual Startup Time": 0.21, "Actual Total Time": 2556.274, "Actual Rows": 38973, "Actual Loops": 8, "Output": ["lineitem.l_shipmode", "orders.o_orderpriority"], "Inner Unique": true, "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.176, "Actual Total Time": 2555.793, "Actual Rows": 38647, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 0.206, "Actual Total Time": 2555.643, "Actual Rows": 38568, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 0.254, "Actual Total Time": 2555.639, "Actual Rows": 38662, "Actual Loops": 1}, {"Worker Number": 3, "Actual Startup Time": 0.143, "Actual Total Time": 2555.43, "Actual Rows": 38972, "Actual Loops": 1}, {"Worker Number": 4, "Actual Startup Time": 0.513, "Actual Total Time": 2555.666, "Actual Rows": 38645, "Actual Loops": 1}, {"Worker Number": 5, "Actual Startup Time": 0.156, "Actual Total Time": 2555.87, "Actual Rows": 38669, "Actual Loops": 1}, {"Worker Number": 6, "Actual Startup Time": 0.182, "Actual Total Time": 2555.775, "Actual Rows": 38381, "Actual Loops": 1}], "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": true, "Async Capable": false, "Relation Name": "lineitem", "Schema": "public", "Alias": "lineitem", "Startup Cost": 0.0, "Total Cost": 1317356.01, "Plan Rows": 41311, "Plan Width": 15, "Actual Startup Time": 0.133, "Actual Total Time": 2397.751, "Actual Rows": 38973, "Actual Loops": 8, "Output": ["lineitem.l_orderkey", "lineitem.l_partkey", "lineitem.l_suppkey", "lineitem.l_linenumber", "lineitem.l_quantity", "lineitem.l_extendedprice", "lineitem.l_discount", "lineitem.l_tax", "lineitem.l_returnflag", "lineitem.l_linestatus", "lineitem.l_shipdate", "lineitem.l_commitdate", "lineitem.l_receiptdate", "lineitem.l_shipinstruct", "lineitem.l_shipmode", "lineitem.l_comment"], "Filter": "((lineitem.l_shipmode = ANY ('{MAIL,TRUCK}'::bpchar[])) AND (lineitem.l_commitdate < lineitem.l_receiptdate) AND (lineitem.l_shipdate < lineitem.l_commitdate) AND (lineitem.l_receiptdate >= '1995-01-01'::date) AND (lineitem.l_receiptdate < '1996-01-01 00:00:00'::timestamp without time zone))", "Rows Removed by Filter": 7459283, "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.098, "Actual Total Time": 2397.913, "Actual Rows": 38647, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 0.125, "Actual Total Time": 2398.872, "Actual Rows": 38568, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 0.164, "Actual Total Time": 2396.359, "Actual Rows": 38662, "Actual Loops": 1}, {"Worker Number": 3, "Actual Startup Time": 0.037, "Actual Total Time": 2394.391, "Actual Rows": 38972, "Actual Loops": 1}, {"Worker Number": 4, "Actual Startup Time": 0.431, "Actual Total Time": 2390.885, "Actual Rows": 38645, "Actual Loops": 1}, {"Worker Number": 5, "Actual Startup Time": 0.072, "Actual Total Time": 2395.086, "Actual Rows": 38669, "Actual Loops": 1}, {"Worker Number": 6, "Actual Startup Time": 0.101, "Actual Total Time": 2395.271, "Actual Rows": 38381, "Actual Loops": 1}]}, {"Node Type": "Index Scan", "Parent Relationship": "Inner", "Parallel Aware": false, "Async Capable": false, "Scan Direction": "Forward", "Index Name": "o_ok", "Relation Name": "orders", "Schema": "public", "Alias": "orders", "Startup Cost": 0.43, "Total Cost": 1.32, "Plan Rows": 1, "Plan Width": 20, "Actual Startup Time": 0.004, "Actual Total Time": 0.004, "Actual Rows": 1, "Actual Loops": 311787, "Output": ["orders.o_orderkey", "orders.o_custkey", "orders.o_orderstatus", "orders.o_totalprice", "orders.o_orderdate", "orders.o_orderpriority", "orders.o_clerk", "orders.o_shippriority", "orders.o_comment"], "Index Cond": "(orders.o_orderkey = lineitem.l_orderkey)", "Rows Removed by Index Recheck": 0, "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.004, "Actual Total Time": 0.004, "Actual Rows": 1, "Actual Loops": 38647}, {"Worker Number": 1, "Actual Startup Time": 0.004, "Actual Total Time": 0.004, "Actual Rows": 1, "Actual Loops": 38568}, {"Worker Number": 2, "Actual Startup Time": 0.004, "Actual Total Time": 0.004, "Actual Rows": 1, "Actual Loops": 38662}, {"Worker Number": 3, "Actual Startup Time": 0.004, "Actual Total Time": 0.004, "Actual Rows": 1, "Actual Loops": 38972}, {"Worker Number": 4, "Actual Startup Time": 0.004, "Actual Total Time": 0.004, "Actual Rows": 1, "Actual Loops": 38645}, {"Worker Number": 5, "Actual Startup Time": 0.004, "Actual Total Time": 0.004, "Actual Rows": 1, "Actual Loops": 38669}, {"Worker Number": 6, "Actual Startup Time": 0.004, "Actual Total Time": 0.004, "Actual Rows": 1, "Actual Loops": 38381}]}]}]}]}]}]}, "Planning Time": 0.456, "Triggers": [], "Execution Time": 2653.636} diff --git a/dev9/pg14/tpch/sf_10/explain_analyze/15721/13-1.ok b/dev9/pg14/tpch/sf_10/explain_analyze/15721/13-1.ok new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/dev9/pg14/tpch/sf_10/explain_analyze/15721/13-1.res b/dev9/pg14/tpch/sf_10/explain_analyze/15721/13-1.res new file mode 100644 index 0000000000000000000000000000000000000000..ec1ff464af5263533562f9cd1b23adeeb147718d --- /dev/null +++ b/dev9/pg14/tpch/sf_10/explain_analyze/15721/13-1.res @@ -0,0 +1 @@ +{"Plan": {"Node Type": "Sort", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 894060.89, "Total Cost": 894061.39, "Plan Rows": 200, "Plan Width": 16, "Actual Startup Time": 27859.288, "Actual Total Time": 27859.294, "Actual Rows": 46, "Actual Loops": 1, "Output": ["(count(orders.o_orderkey))", "(count(*))"], "Sort Key": ["(count(*)) DESC", "(count(orders.o_orderkey)) DESC"], "Sort Method": "quicksort", "Sort Space Used": 27, "Sort Space Type": "Memory", "Plans": [{"Node Type": "Aggregate", "Strategy": "Hashed", "Partial Mode": "Simple", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 894051.24, "Total Cost": 894053.24, "Plan Rows": 200, "Plan Width": 16, "Actual Startup Time": 27859.245, "Actual Total Time": 27859.256, "Actual Rows": 46, "Actual Loops": 1, "Output": ["(count(orders.o_orderkey))", "count(*)"], "Group Key": ["count(orders.o_orderkey)"], "Planned Partitions": 0, "HashAgg Batches": 1, "Peak Memory Usage": 40, "Disk Usage": 0, "Plans": [{"Node Type": "Aggregate", "Strategy": "Sorted", "Partial Mode": "Simple", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 0.86, "Total Cost": 871551.24, "Plan Rows": 1500000, "Plan Width": 12, "Actual Startup Time": 0.084, "Actual Total Time": 27553.605, "Actual Rows": 1500000, "Actual Loops": 1, "Output": ["customer.c_custkey", "count(orders.o_orderkey)"], "Group Key": ["customer.c_custkey"], "Plans": [{"Node Type": "Merge Join", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Join Type": "Left", "Startup Cost": 0.86, "Total Cost": 782453.59, "Plan Rows": 14819531, "Plan Width": 8, "Actual Startup Time": 0.034, "Actual Total Time": 25627.014, "Actual Rows": 15338712, "Actual Loops": 1, "Output": ["customer.c_custkey", "orders.o_orderkey"], "Inner Unique": false, "Merge Cond": "(customer.c_custkey = orders.o_custkey)", "Plans": [{"Node Type": "Index Only Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Scan Direction": "Forward", "Index Name": "c_ck", "Relation Name": "customer", "Schema": "public", "Alias": "customer", "Startup Cost": 0.43, "Total Cost": 27028.03, "Plan Rows": 1500000, "Plan Width": 4, "Actual Startup Time": 0.012, "Actual Total Time": 194.784, "Actual Rows": 1500000, "Actual Loops": 1, "Output": ["customer.c_custkey"], "Heap Fetches": 0}, {"Node Type": "Index Scan", "Parent Relationship": "Inner", "Parallel Aware": false, "Async Capable": false, "Scan Direction": "Forward", "Index Name": "o_ck", "Relation Name": "orders", "Schema": "public", "Alias": "orders", "Startup Cost": 0.43, "Total Cost": 566431.42, "Plan Rows": 14819531, "Plan Width": 8, "Actual Startup Time": 0.018, "Actual Total Time": 23004.581, "Actual Rows": 14838692, "Actual Loops": 1, "Output": ["orders.o_orderkey", "orders.o_custkey", "orders.o_orderstatus", "orders.o_totalprice", "orders.o_orderdate", "orders.o_orderpriority", "orders.o_clerk", "orders.o_shippriority", "orders.o_comment"], "Filter": "((orders.o_comment)::text !~~ '%unusual%requests%'::text)", "Rows Removed by Filter": 161308}]}]}]}]}, "Planning Time": 0.612, "Triggers": [], "Execution Time": 27859.362} diff --git a/dev9/pg14/tpch/sf_10/explain_analyze/15721/14-1.ok b/dev9/pg14/tpch/sf_10/explain_analyze/15721/14-1.ok new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/dev9/pg14/tpch/sf_10/explain_analyze/15721/14-1.res b/dev9/pg14/tpch/sf_10/explain_analyze/15721/14-1.res new file mode 100644 index 0000000000000000000000000000000000000000..af6036aa8cf7e12d4787165542484b7008c54232 --- /dev/null +++ b/dev9/pg14/tpch/sf_10/explain_analyze/15721/14-1.res @@ -0,0 +1 @@ +{"Plan": {"Node Type": "Aggregate", "Strategy": "Plain", "Partial Mode": "Finalize", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 726989.3, "Total Cost": 726989.32, "Plan Rows": 1, "Plan Width": 32, "Actual Startup Time": 857.224, "Actual Total Time": 1009.861, "Actual Rows": 1, "Actual Loops": 1, "Output": ["((100.00 * sum(CASE WHEN ((part.p_type)::text ~~ 'PROMO%'::text) THEN (lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount)) ELSE '0'::numeric END)) / sum((lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount))))"], "Plans": [{"Node Type": "Gather", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 726988.85, "Total Cost": 726989.26, "Plan Rows": 4, "Plan Width": 64, "Actual Startup Time": 850.077, "Actual Total Time": 1009.832, "Actual Rows": 5, "Actual Loops": 1, "Output": ["(PARTIAL sum(CASE WHEN ((part.p_type)::text ~~ 'PROMO%'::text) THEN (lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount)) ELSE '0'::numeric END))", "(PARTIAL sum((lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount))))"], "Workers Planned": 4, "Workers Launched": 4, "Single Copy": false, "Plans": [{"Node Type": "Aggregate", "Strategy": "Plain", "Partial Mode": "Partial", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 725988.85, "Total Cost": 725988.86, "Plan Rows": 1, "Plan Width": 64, "Actual Startup Time": 843.406, "Actual Total Time": 843.409, "Actual Rows": 1, "Actual Loops": 5, "Output": ["PARTIAL sum(CASE WHEN ((part.p_type)::text ~~ 'PROMO%'::text) THEN (lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount)) ELSE '0'::numeric END)", "PARTIAL sum((lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount)))"], "Workers": [{"Worker Number": 0, "Actual Startup Time": 841.654, "Actual Total Time": 841.659, "Actual Rows": 1, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 841.528, "Actual Total Time": 841.532, "Actual Rows": 1, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 841.754, "Actual Total Time": 841.757, "Actual Rows": 1, "Actual Loops": 1}, {"Worker Number": 3, "Actual Startup Time": 842.44, "Actual Total Time": 842.443, "Actual Rows": 1, "Actual Loops": 1}], "Plans": [{"Node Type": "Hash Join", "Parent Relationship": "Outer", "Parallel Aware": true, "Async Capable": false, "Join Type": "Inner", "Startup Cost": 668342.3, "Total Cost": 722455.59, "Plan Rows": 201900, "Plan Width": 33, "Actual Startup Time": 526.115, "Actual Total Time": 758.819, "Actual Rows": 154569, "Actual Loops": 5, "Output": ["part.p_type", "lineitem.l_extendedprice", "lineitem.l_discount"], "Inner Unique": false, "Hash Cond": "(part.p_partkey = lineitem.l_partkey)", "Workers": [{"Worker Number": 0, "Actual Startup Time": 524.498, "Actual Total Time": 757.492, "Actual Rows": 153687, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 524.373, "Actual Total Time": 757.019, "Actual Rows": 154440, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 524.588, "Actual Total Time": 757.622, "Actual Rows": 153920, "Actual Loops": 1}, {"Worker Number": 3, "Actual Startup Time": 524.635, "Actual Total Time": 758.489, "Actual Rows": 153512, "Actual Loops": 1}], "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": true, "Async Capable": false, "Relation Name": "part", "Schema": "public", "Alias": "part", "Startup Cost": 0.0, "Total Cost": 45962.0, "Plan Rows": 500000, "Plan Width": 25, "Actual Startup Time": 0.018, "Actual Total Time": 38.051, "Actual Rows": 400000, "Actual Loops": 5, "Output": ["part.p_partkey", "part.p_name", "part.p_mfgr", "part.p_brand", "part.p_type", "part.p_size", "part.p_container", "part.p_retailprice", "part.p_comment"], "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.02, "Actual Total Time": 37.96, "Actual Rows": 396879, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 0.023, "Actual Total Time": 37.996, "Actual Rows": 398538, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 0.019, "Actual Total Time": 38.119, "Actual Rows": 398221, "Actual Loops": 1}, {"Worker Number": 3, "Actual Startup Time": 0.021, "Actual Total Time": 38.163, "Actual Rows": 396576, "Actual Loops": 1}]}, {"Node Type": "Hash", "Parent Relationship": "Inner", "Parallel Aware": true, "Async Capable": false, "Startup Cost": 665085.85, "Total Cost": 665085.85, "Plan Rows": 260516, "Plan Width": 16, "Actual Startup Time": 524.448, "Actual Total Time": 524.449, "Actual Rows": 154569, "Actual Loops": 5, "Output": ["lineitem.l_extendedprice", "lineitem.l_discount", "lineitem.l_partkey"], "Hash Buckets": 1048576, "Original Hash Buckets": 1048576, "Hash Batches": 1, "Original Hash Batches": 1, "Peak Memory Usage": 49088, "Workers": [{"Worker Number": 0, "Actual Startup Time": 524.279, "Actual Total Time": 524.281, "Actual Rows": 122823, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 524.209, "Actual Total Time": 524.21, "Actual Rows": 120893, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 524.331, "Actual Total Time": 524.332, "Actual Rows": 121080, "Actual Loops": 1}, {"Worker Number": 3, "Actual Startup Time": 524.391, "Actual Total Time": 524.392, "Actual Rows": 119961, "Actual Loops": 1}], "Plans": [{"Node Type": "Index Scan", "Parent Relationship": "Outer", "Parallel Aware": true, "Async Capable": false, "Scan Direction": "Forward", "Index Name": "l_sd", "Relation Name": "lineitem", "Schema": "public", "Alias": "lineitem", "Startup Cost": 0.56, "Total Cost": 665085.85, "Plan Rows": 260516, "Plan Width": 16, "Actual Startup Time": 0.06, "Actual Total Time": 459.572, "Actual Rows": 154569, "Actual Loops": 5, "Output": ["lineitem.l_extendedprice", "lineitem.l_discount", "lineitem.l_partkey"], "Index Cond": "((lineitem.l_shipdate >= '1995-05-01'::date) AND (lineitem.l_shipdate < '1995-06-01 00:00:00'::timestamp without time zone))", "Rows Removed by Index Recheck": 0, "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.073, "Actual Total Time": 468.026, "Actual Rows": 122823, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 0.06, "Actual Total Time": 468.23, "Actual Rows": 120893, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 0.07, "Actual Total Time": 469.006, "Actual Rows": 121080, "Actual Loops": 1}, {"Worker Number": 3, "Actual Startup Time": 0.075, "Actual Total Time": 470.365, "Actual Rows": 119961, "Actual Loops": 1}]}]}]}]}]}]}, "Planning Time": 0.385, "Triggers": [], "Execution Time": 1009.916} diff --git a/dev9/pg14/tpch/sf_10/explain_analyze/15721/15-1.ok b/dev9/pg14/tpch/sf_10/explain_analyze/15721/15-1.ok new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/dev9/pg14/tpch/sf_10/explain_analyze/15721/15-1.res b/dev9/pg14/tpch/sf_10/explain_analyze/15721/15-1.res new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/dev9/pg14/tpch/sf_10/explain_analyze/15721/15-2.ok b/dev9/pg14/tpch/sf_10/explain_analyze/15721/15-2.ok new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/dev9/pg14/tpch/sf_10/explain_analyze/15721/15-2.res b/dev9/pg14/tpch/sf_10/explain_analyze/15721/15-2.res new file mode 100644 index 0000000000000000000000000000000000000000..23a893f00a029a88c9b13ac0f783c397ca023714 --- /dev/null +++ b/dev9/pg14/tpch/sf_10/explain_analyze/15721/15-2.res @@ -0,0 +1 @@ +{"Plan": {"Node Type": "Nested Loop", "Parallel Aware": false, "Async Capable": false, "Join Type": "Inner", "Startup Cost": 2653800.97, "Total Cost": 2747642.01, "Plan Rows": 501, "Plan Width": 103, "Actual Startup Time": 5365.306, "Actual Total Time": 5513.799, "Actual Rows": 1, "Actual Loops": 1, "Output": ["supplier.s_suppkey", "supplier.s_name", "supplier.s_address", "supplier.s_phone", "(sum((lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount))))"], "Inner Unique": true, "Plans": [{"Node Type": "Aggregate", "Strategy": "Plain", "Partial Mode": "Simple", "Parent Relationship": "InitPlan", "Subplan Name": "InitPlan 1 (returns $1)", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 1373848.93, "Total Cost": 1373848.94, "Plan Rows": 1, "Plan Width": 32, "Actual Startup Time": 2727.2, "Actual Total Time": 2727.388, "Actual Rows": 1, "Actual Loops": 1, "Output": ["max((sum((lineitem_1.l_extendedprice * ('1'::numeric - lineitem_1.l_discount)))))"], "Plans": [{"Node Type": "Aggregate", "Strategy": "Sorted", "Partial Mode": "Finalize", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 1279951.74, "Total Cost": 1372596.96, "Plan Rows": 100157, "Plan Width": 36, "Actual Startup Time": 2111.628, "Actual Total Time": 2716.943, "Actual Rows": 100000, "Actual Loops": 1, "Output": ["lineitem_1.l_suppkey", "sum((lineitem_1.l_extendedprice * ('1'::numeric - lineitem_1.l_discount)))"], "Group Key": ["lineitem_1.l_suppkey"], "Plans": [{"Node Type": "Gather Merge", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 1279951.74, "Total Cost": 1366086.76, "Plan Rows": 701099, "Plan Width": 36, "Actual Startup Time": 2111.606, "Actual Total Time": 2315.068, "Actual Rows": 751927, "Actual Loops": 1, "Output": ["lineitem_1.l_suppkey", "(PARTIAL sum((lineitem_1.l_extendedprice * ('1'::numeric - lineitem_1.l_discount))))"], "Workers Planned": 7, "Workers Launched": 7, "Plans": [{"Node Type": "Sort", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 1278951.62, "Total Cost": 1279202.01, "Plan Rows": 100157, "Plan Width": 36, "Actual Startup Time": 2104.701, "Actual Total Time": 2121.272, "Actual Rows": 93991, "Actual Loops": 8, "Output": ["lineitem_1.l_suppkey", "(PARTIAL sum((lineitem_1.l_extendedprice * ('1'::numeric - lineitem_1.l_discount))))"], "Sort Key": ["lineitem_1.l_suppkey"], "Sort Method": "quicksort", "Sort Space Used": 16314, "Sort Space Type": "Memory", "Workers": [{"Worker Number": 0, "Actual Startup Time": 2104.627, "Actual Total Time": 2120.041, "Actual Rows": 93624, "Actual Loops": 1, "Sort Method": "quicksort", "Sort Space Used": 16162, "Sort Space Type": "Memory"}, {"Worker Number": 1, "Actual Startup Time": 2104.573, "Actual Total Time": 2120.305, "Actual Rows": 93824, "Actual Loops": 1, "Sort Method": "quicksort", "Sort Space Used": 16190, "Sort Space Type": "Memory"}, {"Worker Number": 2, "Actual Startup Time": 2104.609, "Actual Total Time": 2120.111, "Actual Rows": 94042, "Actual Loops": 1, "Sort Method": "quicksort", "Sort Space Used": 16221, "Sort Space Type": "Memory"}, {"Worker Number": 3, "Actual Startup Time": 2103.798, "Actual Total Time": 2119.296, "Actual Rows": 93964, "Actual Loops": 1, "Sort Method": "quicksort", "Sort Space Used": 16210, "Sort Space Type": "Memory"}, {"Worker Number": 4, "Actual Startup Time": 2102.1, "Actual Total Time": 2125.926, "Actual Rows": 93847, "Actual Loops": 1, "Sort Method": "quicksort", "Sort Space Used": 16194, "Sort Space Type": "Memory"}, {"Worker Number": 5, "Actual Startup Time": 2105.024, "Actual Total Time": 2120.612, "Actual Rows": 93980, "Actual Loops": 1, "Sort Method": "quicksort", "Sort Space Used": 16212, "Sort Space Type": "Memory"}, {"Worker Number": 6, "Actual Startup Time": 2104.666, "Actual Total Time": 2120.341, "Actual Rows": 93946, "Actual Loops": 1, "Sort Method": "quicksort", "Sort Space Used": 16208, "Sort Space Type": "Memory"}], "Plans": [{"Node Type": "Aggregate", "Strategy": "Hashed", "Partial Mode": "Partial", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 1266229.85, "Total Cost": 1270632.63, "Plan Rows": 100157, "Plan Width": 36, "Actual Startup Time": 1904.139, "Actual Total Time": 2064.716, "Actual Rows": 93991, "Actual Loops": 8, "Output": ["lineitem_1.l_suppkey", "PARTIAL sum((lineitem_1.l_extendedprice * ('1'::numeric - lineitem_1.l_discount)))"], "Group Key": ["lineitem_1.l_suppkey"], "Planned Partitions": 4, "HashAgg Batches": 5, "Peak Memory Usage": 21041, "Disk Usage": 7360, "Workers": [{"Worker Number": 0, "Actual Startup Time": 1903.358, "Actual Total Time": 2065.029, "Actual Rows": 93624, "Actual Loops": 1, "HashAgg Batches": 5, "Peak Memory Usage": 21041, "Disk Usage": 7256}, {"Worker Number": 1, "Actual Startup Time": 1903.394, "Actual Total Time": 2064.837, "Actual Rows": 93824, "Actual Loops": 1, "HashAgg Batches": 5, "Peak Memory Usage": 21041, "Disk Usage": 7280}, {"Worker Number": 2, "Actual Startup Time": 1903.362, "Actual Total Time": 2064.772, "Actual Rows": 94042, "Actual Loops": 1, "HashAgg Batches": 5, "Peak Memory Usage": 21041, "Disk Usage": 7288}, {"Worker Number": 3, "Actual Startup Time": 1903.409, "Actual Total Time": 2064.149, "Actual Rows": 93964, "Actual Loops": 1, "HashAgg Batches": 5, "Peak Memory Usage": 21041, "Disk Usage": 7280}, {"Worker Number": 4, "Actual Startup Time": 1903.403, "Actual Total Time": 2059.369, "Actual Rows": 93847, "Actual Loops": 1, "HashAgg Batches": 5, "Peak Memory Usage": 21041, "Disk Usage": 7264}, {"Worker Number": 5, "Actual Startup Time": 1903.374, "Actual Total Time": 2065.204, "Actual Rows": 93980, "Actual Loops": 1, "HashAgg Batches": 5, "Peak Memory Usage": 21041, "Disk Usage": 7296}, {"Worker Number": 6, "Actual Startup Time": 1903.425, "Actual Total Time": 2064.904, "Actual Rows": 93946, "Actual Loops": 1, "HashAgg Batches": 5, "Peak Memory Usage": 21041, "Disk Usage": 7280}], "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": true, "Async Capable": false, "Relation Name": "lineitem", "Schema": "public", "Alias": "lineitem_1", "Startup Cost": 0.0, "Total Cost": 1253084.67, "Plan Rows": 322643, "Plan Width": 16, "Actual Startup Time": 0.05, "Actual Total Time": 1648.282, "Actual Rows": 280914, "Actual Loops": 8, "Output": ["lineitem_1.l_orderkey", "lineitem_1.l_partkey", "lineitem_1.l_suppkey", "lineitem_1.l_linenumber", "lineitem_1.l_quantity", "lineitem_1.l_extendedprice", "lineitem_1.l_discount", "lineitem_1.l_tax", "lineitem_1.l_returnflag", "lineitem_1.l_linestatus", "lineitem_1.l_shipdate", "lineitem_1.l_commitdate", "lineitem_1.l_receiptdate", "lineitem_1.l_shipinstruct", "lineitem_1.l_shipmode", "lineitem_1.l_comment"], "Filter": "((lineitem_1.l_shipdate >= '1995-01-01'::date) AND (lineitem_1.l_shipdate < '1995-04-01 00:00:00'::timestamp without time zone))", "Rows Removed by Filter": 7217342, "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.033, "Actual Total Time": 1631.105, "Actual Rows": 274993, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 0.035, "Actual Total Time": 1651.861, "Actual Rows": 279238, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 0.042, "Actual Total Time": 1652.143, "Actual Rows": 279825, "Actual Loops": 1}, {"Worker Number": 3, "Actual Startup Time": 0.028, "Actual Total Time": 1652.3, "Actual Rows": 280550, "Actual Loops": 1}, {"Worker Number": 4, "Actual Startup Time": 0.045, "Actual Total Time": 1644.979, "Actual Rows": 278086, "Actual Loops": 1}, {"Worker Number": 5, "Actual Startup Time": 0.086, "Actual Total Time": 1650.034, "Actual Rows": 281466, "Actual Loops": 1}, {"Worker Number": 6, "Actual Startup Time": 0.04, "Actual Total Time": 1652.23, "Actual Rows": 278874, "Actual Loops": 1}]}]}]}]}]}]}, {"Node Type": "Aggregate", "Strategy": "Sorted", "Partial Mode": "Finalize", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 1279951.74, "Total Cost": 1372847.36, "Plan Rows": 501, "Plan Width": 36, "Actual Startup Time": 5365.263, "Actual Total Time": 5513.564, "Actual Rows": 1, "Actual Loops": 1, "Output": ["lineitem.l_suppkey", "sum((lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount)))"], "Group Key": ["lineitem.l_suppkey"], "Filter": "(sum((lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount))) = $1)", "Rows Removed by Filter": 99999, "Plans": [{"Node Type": "Gather Merge", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 1279951.74, "Total Cost": 1366086.76, "Plan Rows": 701099, "Plan Width": 36, "Actual Startup Time": 2122.919, "Actual Total Time": 2383.907, "Actual Rows": 751901, "Actual Loops": 1, "Output": ["lineitem.l_suppkey", "(PARTIAL sum((lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount))))"], "Workers Planned": 7, "Workers Launched": 7, "Plans": [{"Node Type": "Sort", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 1278951.62, "Total Cost": 1279202.01, "Plan Rows": 100157, "Plan Width": 36, "Actual Startup Time": 2115.244, "Actual Total Time": 2132.579, "Actual Rows": 93988, "Actual Loops": 8, "Output": ["lineitem.l_suppkey", "(PARTIAL sum((lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount))))"], "Sort Key": ["lineitem.l_suppkey"], "Sort Method": "quicksort", "Sort Space Used": 16335, "Sort Space Type": "Memory", "Workers": [{"Worker Number": 0, "Actual Startup Time": 2114.882, "Actual Total Time": 2130.603, "Actual Rows": 93961, "Actual Loops": 1, "Sort Method": "quicksort", "Sort Space Used": 16210, "Sort Space Type": "Memory"}, {"Worker Number": 1, "Actual Startup Time": 2114.934, "Actual Total Time": 2130.682, "Actual Rows": 93954, "Actual Loops": 1, "Sort Method": "quicksort", "Sort Space Used": 16209, "Sort Space Type": "Memory"}, {"Worker Number": 2, "Actual Startup Time": 2114.678, "Actual Total Time": 2130.372, "Actual Rows": 93921, "Actual Loops": 1, "Sort Method": "quicksort", "Sort Space Used": 16204, "Sort Space Type": "Memory"}, {"Worker Number": 3, "Actual Startup Time": 2115.235, "Actual Total Time": 2136.617, "Actual Rows": 93910, "Actual Loops": 1, "Sort Method": "quicksort", "Sort Space Used": 16202, "Sort Space Type": "Memory"}, {"Worker Number": 4, "Actual Startup Time": 2114.542, "Actual Total Time": 2137.239, "Actual Rows": 94042, "Actual Loops": 1, "Sort Method": "quicksort", "Sort Space Used": 16221, "Sort Space Type": "Memory"}, {"Worker Number": 5, "Actual Startup Time": 2117.096, "Actual Total Time": 2132.798, "Actual Rows": 93714, "Actual Loops": 1, "Sort Method": "quicksort", "Sort Space Used": 16175, "Sort Space Type": "Memory"}, {"Worker Number": 6, "Actual Startup Time": 2114.66, "Actual Total Time": 2130.274, "Actual Rows": 93546, "Actual Loops": 1, "Sort Method": "quicksort", "Sort Space Used": 16151, "Sort Space Type": "Memory"}], "Plans": [{"Node Type": "Aggregate", "Strategy": "Hashed", "Partial Mode": "Partial", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 1266229.85, "Total Cost": 1270632.63, "Plan Rows": 100157, "Plan Width": 36, "Actual Startup Time": 1916.914, "Actual Total Time": 2075.734, "Actual Rows": 93988, "Actual Loops": 8, "Output": ["lineitem.l_suppkey", "PARTIAL sum((lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount)))"], "Group Key": ["lineitem.l_suppkey"], "Planned Partitions": 4, "HashAgg Batches": 5, "Peak Memory Usage": 21041, "Disk Usage": 7384, "Workers": [{"Worker Number": 0, "Actual Startup Time": 1916.005, "Actual Total Time": 2075.132, "Actual Rows": 93961, "Actual Loops": 1, "HashAgg Batches": 5, "Peak Memory Usage": 21041, "Disk Usage": 7288}, {"Worker Number": 1, "Actual Startup Time": 1916.068, "Actual Total Time": 2075.202, "Actual Rows": 93954, "Actual Loops": 1, "HashAgg Batches": 5, "Peak Memory Usage": 21041, "Disk Usage": 7280}, {"Worker Number": 2, "Actual Startup Time": 1916.238, "Actual Total Time": 2075.018, "Actual Rows": 93921, "Actual Loops": 1, "HashAgg Batches": 5, "Peak Memory Usage": 21041, "Disk Usage": 7288}, {"Worker Number": 3, "Actual Startup Time": 1916.351, "Actual Total Time": 2075.446, "Actual Rows": 93910, "Actual Loops": 1, "HashAgg Batches": 5, "Peak Memory Usage": 21041, "Disk Usage": 7264}, {"Worker Number": 4, "Actual Startup Time": 1916.345, "Actual Total Time": 2074.724, "Actual Rows": 94042, "Actual Loops": 1, "HashAgg Batches": 5, "Peak Memory Usage": 21041, "Disk Usage": 7280}, {"Worker Number": 5, "Actual Startup Time": 1916.323, "Actual Total Time": 2077.534, "Actual Rows": 93714, "Actual Loops": 1, "HashAgg Batches": 5, "Peak Memory Usage": 21041, "Disk Usage": 7256}, {"Worker Number": 6, "Actual Startup Time": 1916.383, "Actual Total Time": 2075.065, "Actual Rows": 93546, "Actual Loops": 1, "HashAgg Batches": 5, "Peak Memory Usage": 21041, "Disk Usage": 7248}], "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": true, "Async Capable": false, "Relation Name": "lineitem", "Schema": "public", "Alias": "lineitem", "Startup Cost": 0.0, "Total Cost": 1253084.67, "Plan Rows": 322643, "Plan Width": 16, "Actual Startup Time": 0.048, "Actual Total Time": 1656.453, "Actual Rows": 280914, "Actual Loops": 8, "Output": ["lineitem.l_orderkey", "lineitem.l_partkey", "lineitem.l_suppkey", "lineitem.l_linenumber", "lineitem.l_quantity", "lineitem.l_extendedprice", "lineitem.l_discount", "lineitem.l_tax", "lineitem.l_returnflag", "lineitem.l_linestatus", "lineitem.l_shipdate", "lineitem.l_commitdate", "lineitem.l_receiptdate", "lineitem.l_shipinstruct", "lineitem.l_shipmode", "lineitem.l_comment"], "Filter": "((lineitem.l_shipdate >= '1995-01-01'::date) AND (lineitem.l_shipdate < '1995-04-01 00:00:00'::timestamp without time zone))", "Rows Removed by Filter": 7217342, "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.043, "Actual Total Time": 1662.673, "Actual Rows": 279960, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 0.082, "Actual Total Time": 1662.244, "Actual Rows": 280415, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 0.035, "Actual Total Time": 1663.014, "Actual Rows": 280212, "Actual Loops": 1}, {"Worker Number": 3, "Actual Startup Time": 0.042, "Actual Total Time": 1660.991, "Actual Rows": 278977, "Actual Loops": 1}, {"Worker Number": 4, "Actual Startup Time": 0.027, "Actual Total Time": 1653.439, "Actual Rows": 280188, "Actual Loops": 1}, {"Worker Number": 5, "Actual Startup Time": 0.032, "Actual Total Time": 1639.689, "Actual Rows": 275594, "Actual Loops": 1}, {"Worker Number": 6, "Actual Startup Time": 0.038, "Actual Total Time": 1644.967, "Actual Rows": 274769, "Actual Loops": 1}]}]}]}]}]}, {"Node Type": "Index Scan", "Parent Relationship": "Inner", "Parallel Aware": false, "Async Capable": false, "Scan Direction": "Forward", "Index Name": "s_sk", "Relation Name": "supplier", "Schema": "public", "Alias": "supplier", "Startup Cost": 0.29, "Total Cost": 1.88, "Plan Rows": 1, "Plan Width": 71, "Actual Startup Time": 0.036, "Actual Total Time": 0.036, "Actual Rows": 1, "Actual Loops": 1, "Output": ["supplier.s_suppkey", "supplier.s_name", "supplier.s_address", "supplier.s_nationkey", "supplier.s_phone", "supplier.s_acctbal", "supplier.s_comment"], "Index Cond": "(supplier.s_suppkey = lineitem.l_suppkey)", "Rows Removed by Index Recheck": 0}]}, "Planning Time": 0.434, "Triggers": [], "Execution Time": 5517.645} diff --git a/dev9/pg14/tpch/sf_10/explain_analyze/15721/15-3.ok b/dev9/pg14/tpch/sf_10/explain_analyze/15721/15-3.ok new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/dev9/pg14/tpch/sf_10/explain_analyze/15721/15-3.res b/dev9/pg14/tpch/sf_10/explain_analyze/15721/15-3.res new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/dev9/pg14/tpch/sf_10/explain_analyze/15721/16-1.ok b/dev9/pg14/tpch/sf_10/explain_analyze/15721/16-1.ok new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/dev9/pg14/tpch/sf_10/explain_analyze/15721/16-1.res b/dev9/pg14/tpch/sf_10/explain_analyze/15721/16-1.res new file mode 100644 index 0000000000000000000000000000000000000000..c9fc4db8eee80613caf6ea0beb7892572ccdf98a --- /dev/null +++ b/dev9/pg14/tpch/sf_10/explain_analyze/15721/16-1.res @@ -0,0 +1 @@ +{"Plan": {"Node Type": "Sort", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 242920.99, "Total Cost": 243305.58, "Plan Rows": 153839, "Plan Width": 44, "Actual Startup Time": 2100.246, "Actual Total Time": 2107.075, "Actual Rows": 27840, "Actual Loops": 1, "Output": ["part.p_brand", "part.p_type", "part.p_size", "(count(DISTINCT partsupp.ps_suppkey))"], "Sort Key": ["(count(DISTINCT partsupp.ps_suppkey)) DESC", "part.p_brand", "part.p_type", "part.p_size"], "Sort Method": "quicksort", "Sort Space Used": 2968, "Sort Space Type": "Memory", "Plans": [{"Node Type": "Aggregate", "Strategy": "Sorted", "Partial Mode": "Simple", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 149633.54, "Total Cost": 229666.94, "Plan Rows": 153839, "Plan Width": 44, "Actual Startup Time": 1189.939, "Actual Total Time": 2011.453, "Actual Rows": 27840, "Actual Loops": 1, "Output": ["part.p_brand", "part.p_type", "part.p_size", "count(DISTINCT partsupp.ps_suppkey)"], "Group Key": ["part.p_brand", "part.p_type", "part.p_size"], "Plans": [{"Node Type": "Gather Merge", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 149633.54, "Total Cost": 222179.86, "Plan Rows": 594869, "Plan Width": 40, "Actual Startup Time": 1189.882, "Actual Total Time": 1634.251, "Actual Rows": 1190471, "Actual Loops": 1, "Output": ["part.p_brand", "part.p_type", "part.p_size", "partsupp.ps_suppkey"], "Workers Planned": 6, "Workers Launched": 6, "Plans": [{"Node Type": "Sort", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 148633.44, "Total Cost": 148881.3, "Plan Rows": 99145, "Plan Width": 40, "Actual Startup Time": 1177.253, "Actual Total Time": 1198.782, "Actual Rows": 170067, "Actual Loops": 7, "Output": ["part.p_brand", "part.p_type", "part.p_size", "partsupp.ps_suppkey"], "Sort Key": ["part.p_brand", "part.p_type", "part.p_size"], "Sort Method": "quicksort", "Sort Space Used": 18298, "Sort Space Type": "Memory", "Workers": [{"Worker Number": 0, "Actual Startup Time": 1176.043, "Actual Total Time": 1196.666, "Actual Rows": 170410, "Actual Loops": 1, "Sort Method": "quicksort", "Sort Space Used": 18153, "Sort Space Type": "Memory"}, {"Worker Number": 1, "Actual Startup Time": 1182.207, "Actual Total Time": 1202.748, "Actual Rows": 169554, "Actual Loops": 1, "Sort Method": "quicksort", "Sort Space Used": 18086, "Sort Space Type": "Memory"}, {"Worker Number": 2, "Actual Startup Time": 1178.954, "Actual Total Time": 1199.079, "Actual Rows": 170093, "Actual Loops": 1, "Sort Method": "quicksort", "Sort Space Used": 18128, "Sort Space Type": "Memory"}, {"Worker Number": 3, "Actual Startup Time": 1172.795, "Actual Total Time": 1193.402, "Actual Rows": 169919, "Actual Loops": 1, "Sort Method": "quicksort", "Sort Space Used": 18115, "Sort Space Type": "Memory"}, {"Worker Number": 4, "Actual Startup Time": 1174.592, "Actual Total Time": 1195.193, "Actual Rows": 170164, "Actual Loops": 1, "Sort Method": "quicksort", "Sort Space Used": 18134, "Sort Space Type": "Memory"}, {"Worker Number": 5, "Actual Startup Time": 1166.794, "Actual Total Time": 1196.63, "Actual Rows": 168066, "Actual Loops": 1, "Sort Method": "quicksort", "Sort Space Used": 17970, "Sort Space Type": "Memory"}], "Plans": [{"Node Type": "Hash Join", "Parent Relationship": "Outer", "Parallel Aware": true, "Async Capable": false, "Join Type": "Inner", "Startup Cost": 57857.93, "Total Cost": 140405.77, "Plan Rows": 99145, "Plan Width": 40, "Actual Startup Time": 174.986, "Actual Total Time": 632.57, "Actual Rows": 170067, "Actual Loops": 7, "Output": ["part.p_brand", "part.p_type", "part.p_size", "partsupp.ps_suppkey"], "Inner Unique": true, "Hash Cond": "(partsupp.ps_partkey = part.p_partkey)", "Workers": [{"Worker Number": 0, "Actual Startup Time": 174.176, "Actual Total Time": 631.739, "Actual Rows": 170410, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 174.337, "Actual Total Time": 632.107, "Actual Rows": 169554, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 174.415, "Actual Total Time": 632.469, "Actual Rows": 170093, "Actual Loops": 1}, {"Worker Number": 3, "Actual Startup Time": 174.405, "Actual Total Time": 632.028, "Actual Rows": 169919, "Actual Loops": 1}, {"Worker Number": 4, "Actual Startup Time": 174.407, "Actual Total Time": 631.935, "Actual Rows": 170164, "Actual Loops": 1}, {"Worker Number": 5, "Actual Startup Time": 174.442, "Actual Total Time": 632.453, "Actual Rows": 168066, "Actual Loops": 1}], "Plans": [{"Node Type": "Index Only Scan", "Parent Relationship": "Outer", "Parallel Aware": true, "Async Capable": false, "Scan Direction": "Forward", "Index Name": "ps_pk_sk", "Relation Name": "partsupp", "Schema": "public", "Alias": "partsupp", "Startup Cost": 3466.46, "Total Cost": 84264.28, "Plan Rows": 666672, "Plan Width": 8, "Actual Startup Time": 38.049, "Actual Total Time": 324.059, "Actual Rows": 1142217, "Actual Loops": 7, "Output": ["partsupp.ps_partkey", "partsupp.ps_suppkey"], "Filter": "(NOT (hashed SubPlan 1))", "Rows Removed by Filter": 640, "Heap Fetches": 0, "Workers": [{"Worker Number": 0, "Actual Startup Time": 38.05, "Actual Total Time": 324.984, "Actual Rows": 1141976, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 38.059, "Actual Total Time": 325.444, "Actual Rows": 1142722, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 38.044, "Actual Total Time": 325.23, "Actual Rows": 1143441, "Actual Loops": 1}, {"Worker Number": 3, "Actual Startup Time": 38.045, "Actual Total Time": 325.127, "Actual Rows": 1143136, "Actual Loops": 1}, {"Worker Number": 4, "Actual Startup Time": 38.046, "Actual Total Time": 325.221, "Actual Rows": 1142002, "Actual Loops": 1}, {"Worker Number": 5, "Actual Startup Time": 38.054, "Actual Total Time": 321.434, "Actual Rows": 1121928, "Actual Loops": 1}], "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "SubPlan", "Subplan Name": "SubPlan 1", "Parallel Aware": false, "Async Capable": false, "Relation Name": "supplier", "Schema": "public", "Alias": "supplier", "Startup Cost": 0.0, "Total Cost": 3466.0, "Plan Rows": 10, "Plan Width": 4, "Actual Startup Time": 0.137, "Actual Total Time": 37.875, "Actual Rows": 56, "Actual Loops": 7, "Output": ["supplier.s_suppkey"], "Filter": "((supplier.s_comment)::text ~~ '%Customer%Complaints%'::text)", "Rows Removed by Filter": 99944, "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.136, "Actual Total Time": 37.905, "Actual Rows": 56, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 0.148, "Actual Total Time": 37.946, "Actual Rows": 56, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 0.125, "Actual Total Time": 37.779, "Actual Rows": 56, "Actual Loops": 1}, {"Worker Number": 3, "Actual Startup Time": 0.129, "Actual Total Time": 37.817, "Actual Rows": 56, "Actual Loops": 1}, {"Worker Number": 4, "Actual Startup Time": 0.136, "Actual Total Time": 37.84, "Actual Rows": 56, "Actual Loops": 1}, {"Worker Number": 5, "Actual Startup Time": 0.134, "Actual Total Time": 37.887, "Actual Rows": 56, "Actual Loops": 1}]}]}, {"Node Type": "Hash", "Parent Relationship": "Inner", "Parallel Aware": true, "Async Capable": false, "Startup Cost": 53462.0, "Total Cost": 53462.0, "Plan Rows": 74358, "Plan Width": 40, "Actual Startup Time": 136.273, "Actual Total Time": 136.274, "Actual Rows": 42542, "Actual Loops": 7, "Output": ["part.p_brand", "part.p_type", "part.p_size", "part.p_partkey"], "Hash Buckets": 524288, "Original Hash Buckets": 524288, "Hash Batches": 1, "Original Hash Batches": 1, "Peak Memory Usage": 26432, "Workers": [{"Worker Number": 0, "Actual Startup Time": 136.028, "Actual Total Time": 136.029, "Actual Rows": 42463, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 136.145, "Actual Total Time": 136.146, "Actual Rows": 42111, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 136.227, "Actual Total Time": 136.228, "Actual Rows": 42129, "Actual Loops": 1}, {"Worker Number": 3, "Actual Startup Time": 136.235, "Actual Total Time": 136.236, "Actual Rows": 41813, "Actual Loops": 1}, {"Worker Number": 4, "Actual Startup Time": 136.221, "Actual Total Time": 136.222, "Actual Rows": 42129, "Actual Loops": 1}, {"Worker Number": 5, "Actual Startup Time": 136.246, "Actual Total Time": 136.25, "Actual Rows": 42158, "Actual Loops": 1}], "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": true, "Async Capable": false, "Relation Name": "part", "Schema": "public", "Alias": "part", "Startup Cost": 0.0, "Total Cost": 53462.0, "Plan Rows": 74358, "Plan Width": 40, "Actual Startup Time": 0.027, "Actual Total Time": 115.181, "Actual Rows": 42542, "Actual Loops": 7, "Output": ["part.p_brand", "part.p_type", "part.p_size", "part.p_partkey"], "Filter": "((part.p_brand <> 'Brand#11'::bpchar) AND ((part.p_type)::text !~~ 'ECONOMY ANODIZED%'::text) AND (part.p_size = ANY ('{42,16,39,18,23,32,44,41}'::integer[])))", "Rows Removed by Filter": 243172, "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.031, "Actual Total Time": 115.119, "Actual Rows": 42463, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 0.024, "Actual Total Time": 115.67, "Actual Rows": 42111, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 0.028, "Actual Total Time": 115.808, "Actual Rows": 42129, "Actual Loops": 1}, {"Worker Number": 3, "Actual Startup Time": 0.026, "Actual Total Time": 114.789, "Actual Rows": 41813, "Actual Loops": 1}, {"Worker Number": 4, "Actual Startup Time": 0.033, "Actual Total Time": 115.682, "Actual Rows": 42129, "Actual Loops": 1}, {"Worker Number": 5, "Actual Startup Time": 0.027, "Actual Total Time": 115.294, "Actual Rows": 42158, "Actual Loops": 1}]}]}]}]}]}]}]}, "Planning Time": 0.67, "Triggers": [], "Execution Time": 2108.262} diff --git a/dev9/pg14/tpch/sf_10/explain_analyze/15721/17-1.ok b/dev9/pg14/tpch/sf_10/explain_analyze/15721/17-1.ok new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/dev9/pg14/tpch/sf_10/explain_analyze/15721/17-1.res b/dev9/pg14/tpch/sf_10/explain_analyze/15721/17-1.res new file mode 100644 index 0000000000000000000000000000000000000000..dc7413b3379a463d7553e6dda78db1926e4d3b24 --- /dev/null +++ b/dev9/pg14/tpch/sf_10/explain_analyze/15721/17-1.res @@ -0,0 +1 @@ +{"Plan": {"Node Type": "Aggregate", "Strategy": "Plain", "Partial Mode": "Simple", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 1931966.8, "Total Cost": 1931966.82, "Plan Rows": 1, "Plan Width": 32, "Actual Startup Time": 18495.056, "Actual Total Time": 18495.165, "Actual Rows": 1, "Actual Loops": 1, "Output": ["(sum(lineitem.l_extendedprice) / 7.0)"], "Plans": [{"Node Type": "Hash Join", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Join Type": "Inner", "Startup Cost": 49682.39, "Total Cost": 1931917.84, "Plan Rows": 19586, "Plan Width": 8, "Actual Startup Time": 100.801, "Actual Total Time": 18493.091, "Actual Rows": 5383, "Actual Loops": 1, "Output": ["lineitem.l_extendedprice"], "Inner Unique": true, "Hash Cond": "(lineitem.l_partkey = part.p_partkey)", "Join Filter": "(lineitem.l_quantity < (SubPlan 1))", "Rows Removed by Join Filter": 56148, "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Relation Name": "lineitem", "Schema": "public", "Alias": "lineitem", "Startup Cost": 0.0, "Total Cost": 1724407.8, "Plan Rows": 59986580, "Plan Width": 17, "Actual Startup Time": 0.006, "Actual Total Time": 5013.792, "Actual Rows": 59986052, "Actual Loops": 1, "Output": ["lineitem.l_orderkey", "lineitem.l_partkey", "lineitem.l_suppkey", "lineitem.l_linenumber", "lineitem.l_quantity", "lineitem.l_extendedprice", "lineitem.l_discount", "lineitem.l_tax", "lineitem.l_returnflag", "lineitem.l_linestatus", "lineitem.l_shipdate", "lineitem.l_commitdate", "lineitem.l_receiptdate", "lineitem.l_shipinstruct", "lineitem.l_shipmode", "lineitem.l_comment"]}, {"Node Type": "Hash", "Parent Relationship": "Inner", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 49657.9, "Total Cost": 49657.9, "Plan Rows": 1959, "Plan Width": 4, "Actual Startup Time": 96.396, "Actual Total Time": 96.502, "Actual Rows": 2063, "Actual Loops": 1, "Output": ["part.p_partkey"], "Hash Buckets": 4096, "Original Hash Buckets": 2048, "Hash Batches": 1, "Original Hash Batches": 1, "Peak Memory Usage": 105, "Plans": [{"Node Type": "Gather", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 1000.0, "Total Cost": 49657.9, "Plan Rows": 1959, "Plan Width": 4, "Actual Startup Time": 0.72, "Actual Total Time": 96.184, "Actual Rows": 2063, "Actual Loops": 1, "Output": ["part.p_partkey"], "Workers Planned": 4, "Workers Launched": 4, "Single Copy": false, "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": true, "Async Capable": false, "Relation Name": "part", "Schema": "public", "Alias": "part", "Startup Cost": 0.0, "Total Cost": 48462.0, "Plan Rows": 490, "Plan Width": 4, "Actual Startup Time": 0.291, "Actual Total Time": 92.502, "Actual Rows": 413, "Actual Loops": 5, "Output": ["part.p_partkey"], "Filter": "((part.p_brand = 'Brand#14'::bpchar) AND (part.p_container = 'WRAP BOX'::bpchar))", "Rows Removed by Filter": 399587, "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.241, "Actual Total Time": 91.789, "Actual Rows": 410, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 0.075, "Actual Total Time": 91.805, "Actual Rows": 375, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 0.418, "Actual Total Time": 91.786, "Actual Rows": 417, "Actual Loops": 1}, {"Worker Number": 3, "Actual Startup Time": 0.25, "Actual Total Time": 91.792, "Actual Rows": 409, "Actual Loops": 1}]}]}]}, {"Node Type": "Aggregate", "Strategy": "Plain", "Partial Mode": "Simple", "Parent Relationship": "SubPlan", "Subplan Name": "SubPlan 1", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 36.26, "Total Cost": 36.27, "Plan Rows": 1, "Plan Width": 32, "Actual Startup Time": 0.049, "Actual Total Time": 0.049, "Actual Rows": 1, "Actual Loops": 61531, "Output": ["(0.2 * avg(lineitem_1.l_quantity))"], "Plans": [{"Node Type": "Index Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Scan Direction": "Forward", "Index Name": "l_pk", "Relation Name": "lineitem", "Schema": "public", "Alias": "lineitem_1", "Startup Cost": 0.44, "Total Cost": 36.18, "Plan Rows": 31, "Plan Width": 5, "Actual Startup Time": 0.005, "Actual Total Time": 0.042, "Actual Rows": 31, "Actual Loops": 61531, "Output": ["lineitem_1.l_orderkey", "lineitem_1.l_partkey", "lineitem_1.l_suppkey", "lineitem_1.l_linenumber", "lineitem_1.l_quantity", "lineitem_1.l_extendedprice", "lineitem_1.l_discount", "lineitem_1.l_tax", "lineitem_1.l_returnflag", "lineitem_1.l_linestatus", "lineitem_1.l_shipdate", "lineitem_1.l_commitdate", "lineitem_1.l_receiptdate", "lineitem_1.l_shipinstruct", "lineitem_1.l_shipmode", "lineitem_1.l_comment"], "Index Cond": "(lineitem_1.l_partkey = part.p_partkey)", "Rows Removed by Index Recheck": 0}]}]}]}, "Planning Time": 0.402, "Triggers": [], "Execution Time": 18495.215} diff --git a/dev9/pg14/tpch/sf_10/explain_analyze/15721/18-1.ok b/dev9/pg14/tpch/sf_10/explain_analyze/15721/18-1.ok new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/dev9/pg14/tpch/sf_10/explain_analyze/15721/18-1.res b/dev9/pg14/tpch/sf_10/explain_analyze/15721/18-1.res new file mode 100644 index 0000000000000000000000000000000000000000..0ec8f9a992a7a2f8032a8fea880ae51537e2ee71 --- /dev/null +++ b/dev9/pg14/tpch/sf_10/explain_analyze/15721/18-1.res @@ -0,0 +1 @@ +{"Plan": {"Node Type": "Limit", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 3542373.28, "Total Cost": 3542373.53, "Plan Rows": 100, "Plan Width": 71, "Actual Startup Time": 43907.796, "Actual Total Time": 44220.504, "Actual Rows": 84, "Actual Loops": 1, "Output": ["customer.c_name", "customer.c_custkey", "orders.o_orderkey", "orders.o_orderdate", "orders.o_totalprice", "(sum(lineitem.l_quantity))"], "Plans": [{"Node Type": "Sort", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 3542373.28, "Total Cost": 3549045.01, "Plan Rows": 2668691, "Plan Width": 71, "Actual Startup Time": 43907.794, "Actual Total Time": 44220.494, "Actual Rows": 84, "Actual Loops": 1, "Output": ["customer.c_name", "customer.c_custkey", "orders.o_orderkey", "orders.o_orderdate", "orders.o_totalprice", "(sum(lineitem.l_quantity))"], "Sort Key": ["orders.o_totalprice DESC", "orders.o_orderdate"], "Sort Method": "quicksort", "Sort Space Used": 31, "Sort Space Type": "Memory", "Plans": [{"Node Type": "Aggregate", "Strategy": "Sorted", "Partial Mode": "Simple", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 3061547.96, "Total Cost": 3440377.83, "Plan Rows": 2668691, "Plan Width": 71, "Actual Startup Time": 43907.415, "Actual Total Time": 44220.418, "Actual Rows": 84, "Actual Loops": 1, "Output": ["customer.c_name", "customer.c_custkey", "orders.o_orderkey", "orders.o_orderdate", "orders.o_totalprice", "sum(lineitem.l_quantity)"], "Group Key": ["customer.c_custkey", "orders.o_orderkey"], "Plans": [{"Node Type": "Gather Merge", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 3061547.96, "Total Cost": 3387004.01, "Plan Rows": 2668691, "Plan Width": 44, "Actual Startup Time": 43907.396, "Actual Total Time": 44220.223, "Actual Rows": 588, "Actual Loops": 1, "Output": ["customer.c_custkey", "orders.o_orderkey", "customer.c_name", "orders.o_orderdate", "orders.o_totalprice", "lineitem.l_quantity"], "Workers Planned": 6, "Workers Launched": 6, "Plans": [{"Node Type": "Sort", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 3060547.86, "Total Cost": 3061659.81, "Plan Rows": 444782, "Plan Width": 44, "Actual Startup Time": 38910.533, "Actual Total Time": 38910.547, "Actual Rows": 84, "Actual Loops": 7, "Output": ["customer.c_custkey", "orders.o_orderkey", "customer.c_name", "orders.o_orderdate", "orders.o_totalprice", "lineitem.l_quantity"], "Sort Key": ["customer.c_custkey", "orders.o_orderkey"], "Sort Method": "quicksort", "Sort Space Used": 40, "Sort Space Type": "Memory", "Workers": [{"Worker Number": 0, "Actual Startup Time": 43898.824, "Actual Total Time": 43898.835, "Actual Rows": 0, "Actual Loops": 1, "Sort Method": "quicksort", "Sort Space Used": 25, "Sort Space Type": "Memory"}, {"Worker Number": 1, "Actual Startup Time": 43893.029, "Actual Total Time": 43893.037, "Actual Rows": 0, "Actual Loops": 1, "Sort Method": "quicksort", "Sort Space Used": 25, "Sort Space Type": "Memory"}, {"Worker Number": 2, "Actual Startup Time": 43892.991, "Actual Total Time": 43893.0, "Actual Rows": 0, "Actual Loops": 1, "Sort Method": "quicksort", "Sort Space Used": 25, "Sort Space Type": "Memory"}, {"Worker Number": 3, "Actual Startup Time": 35038.645, "Actual Total Time": 35038.656, "Actual Rows": 63, "Actual Loops": 1, "Sort Method": "quicksort", "Sort Space Used": 29, "Sort Space Type": "Memory"}, {"Worker Number": 4, "Actual Startup Time": 35153.091, "Actual Total Time": 35153.109, "Actual Rows": 189, "Actual Loops": 1, "Sort Method": "quicksort", "Sort Space Used": 39, "Sort Space Type": "Memory"}, {"Worker Number": 5, "Actual Startup Time": 35153.981, "Actual Total Time": 35153.994, "Actual Rows": 133, "Actual Loops": 1, "Sort Method": "quicksort", "Sort Space Used": 35, "Sort Space Type": "Memory"}], "Plans": [{"Node Type": "Hash Join", "Parent Relationship": "Outer", "Parallel Aware": true, "Async Capable": false, "Join Type": "Inner", "Startup Cost": 2520716.64, "Total Cost": 3010805.72, "Plan Rows": 444782, "Plan Width": 44, "Actual Startup Time": 37931.367, "Actual Total Time": 38910.458, "Actual Rows": 84, "Actual Loops": 7, "Output": ["customer.c_custkey", "orders.o_orderkey", "customer.c_name", "orders.o_orderdate", "orders.o_totalprice", "lineitem.l_quantity"], "Inner Unique": true, "Hash Cond": "(orders.o_custkey = customer.c_custkey)", "Workers": [{"Worker Number": 0, "Actual Startup Time": 43898.784, "Actual Total Time": 43898.795, "Actual Rows": 0, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 43892.984, "Actual Total Time": 43892.992, "Actual Rows": 0, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 43892.951, "Actual Total Time": 43892.958, "Actual Rows": 0, "Actual Loops": 1}, {"Worker Number": 3, "Actual Startup Time": 34226.328, "Actual Total Time": 35038.566, "Actual Rows": 63, "Actual Loops": 1}, {"Worker Number": 4, "Actual Startup Time": 33517.34, "Actual Total Time": 35152.961, "Actual Rows": 189, "Actual Loops": 1}, {"Worker Number": 5, "Actual Startup Time": 33433.985, "Actual Total Time": 35153.869, "Actual Rows": 133, "Actual Loops": 1}], "Plans": [{"Node Type": "Nested Loop", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Join Type": "Inner", "Startup Cost": 2476452.14, "Total Cost": 2965373.66, "Plan Rows": 444782, "Plan Width": 25, "Actual Startup Time": 37771.647, "Actual Total Time": 38750.631, "Actual Rows": 84, "Actual Loops": 7, "Output": ["orders.o_orderkey", "orders.o_orderdate", "orders.o_totalprice", "orders.o_custkey", "lineitem.l_quantity"], "Inner Unique": false, "Workers": [{"Worker Number": 0, "Actual Startup Time": 43735.619, "Actual Total Time": 43735.626, "Actual Rows": 0, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 43735.167, "Actual Total Time": 43735.172, "Actual Rows": 0, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 43735.146, "Actual Total Time": 43735.151, "Actual Rows": 0, "Actual Loops": 1}, {"Worker Number": 3, "Actual Startup Time": 34068.511, "Actual Total Time": 34880.677, "Actual Rows": 63, "Actual Loops": 1}, {"Worker Number": 4, "Actual Startup Time": 33359.512, "Actual Total Time": 34994.925, "Actual Rows": 189, "Actual Loops": 1}, {"Worker Number": 5, "Actual Startup Time": 33276.158, "Actual Total Time": 34995.889, "Actual Rows": 133, "Actual Loops": 1}], "Plans": [{"Node Type": "Hash Join", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Join Type": "Inner", "Startup Cost": 2476451.58, "Total Cost": 2800830.85, "Plan Rows": 111220, "Plan Width": 24, "Actual Startup Time": 37771.623, "Actual Total Time": 38750.377, "Actual Rows": 12, "Actual Loops": 7, "Output": ["orders.o_orderkey", "orders.o_orderdate", "orders.o_totalprice", "orders.o_custkey", "lineitem_1.l_orderkey"], "Inner Unique": true, "Hash Cond": "(orders.o_orderkey = lineitem_1.l_orderkey)", "Workers": [{"Worker Number": 0, "Actual Startup Time": 43735.616, "Actual Total Time": 43735.619, "Actual Rows": 0, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 43735.164, "Actual Total Time": 43735.166, "Actual Rows": 0, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 43735.143, "Actual Total Time": 43735.145, "Actual Rows": 0, "Actual Loops": 1}, {"Worker Number": 3, "Actual Startup Time": 34068.469, "Actual Total Time": 34880.469, "Actual Rows": 9, "Actual Loops": 1}, {"Worker Number": 4, "Actual Startup Time": 33359.469, "Actual Total Time": 34994.398, "Actual Rows": 27, "Actual Loops": 1}, {"Worker Number": 5, "Actual Startup Time": 33276.117, "Actual Total Time": 34995.493, "Actual Rows": 19, "Actual Loops": 1}], "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": true, "Async Capable": false, "Relation Name": "orders", "Schema": "public", "Alias": "orders", "Startup Cost": 0.0, "Total Cost": 285911.82, "Plan Rows": 2499982, "Plan Width": 20, "Actual Startup Time": 0.017, "Actual Total Time": 495.116, "Actual Rows": 2142857, "Actual Loops": 7, "Output": ["orders.o_orderkey", "orders.o_orderdate", "orders.o_totalprice", "orders.o_custkey"], "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.02, "Actual Total Time": 1.87, "Actual Rows": 7350, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 0.017, "Actual Total Time": 1.773, "Actual Rows": 7363, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 0.023, "Actual Total Time": 1.8, "Actual Rows": 7370, "Actual Loops": 1}, {"Worker Number": 3, "Actual Startup Time": 0.019, "Actual Total Time": 535.602, "Actual Rows": 2260853, "Actual Loops": 1}, {"Worker Number": 4, "Actual Startup Time": 0.02, "Actual Total Time": 833.292, "Actual Rows": 3557748, "Actual Loops": 1}, {"Worker Number": 5, "Actual Startup Time": 0.017, "Actual Total Time": 824.287, "Actual Rows": 3551281, "Actual Loops": 1}]}, {"Node Type": "Hash", "Parent Relationship": "Inner", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 2465503.12, "Total Cost": 2465503.12, "Plan Rows": 667317, "Plan Width": 4, "Actual Startup Time": 37657.979, "Actual Total Time": 37657.981, "Actual Rows": 84, "Actual Loops": 7, "Output": ["lineitem_1.l_orderkey"], "Hash Buckets": 524288, "Original Hash Buckets": 524288, "Hash Batches": 2, "Original Hash Batches": 2, "Peak Memory Usage": 4098, "Workers": [{"Worker Number": 0, "Actual Startup Time": 43724.165, "Actual Total Time": 43724.166, "Actual Rows": 84, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 43724.159, "Actual Total Time": 43724.16, "Actual Rows": 84, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 43724.16, "Actual Total Time": 43724.161, "Actual Rows": 84, "Actual Loops": 1}, {"Worker Number": 3, "Actual Startup Time": 33712.099, "Actual Total Time": 33712.101, "Actual Rows": 84, "Actual Loops": 1}, {"Worker Number": 4, "Actual Startup Time": 33168.025, "Actual Total Time": 33168.027, "Actual Rows": 84, "Actual Loops": 1}, {"Worker Number": 5, "Actual Startup Time": 33176.694, "Actual Total Time": 33176.696, "Actual Rows": 84, "Actual Loops": 1}], "Plans": [{"Node Type": "Aggregate", "Strategy": "Sorted", "Partial Mode": "Simple", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 0.56, "Total Cost": 2458829.95, "Plan Rows": 667317, "Plan Width": 4, "Actual Startup Time": 792.762, "Actual Total Time": 37657.64, "Actual Rows": 84, "Actual Loops": 7, "Output": ["lineitem_1.l_orderkey"], "Group Key": ["lineitem_1.l_orderkey"], "Filter": "(sum(lineitem_1.l_quantity) > '314'::numeric)", "Rows Removed by Filter": 14999916, "Workers": [{"Worker Number": 0, "Actual Startup Time": 820.713, "Actual Total Time": 43723.529, "Actual Rows": 84, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 820.716, "Actual Total Time": 43723.861, "Actual Rows": 84, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 820.647, "Actual Total Time": 43723.83, "Actual Rows": 84, "Actual Loops": 1}, {"Worker Number": 3, "Actual Startup Time": 820.645, "Actual Total Time": 33711.786, "Actual Rows": 84, "Actual Loops": 1}, {"Worker Number": 4, "Actual Startup Time": 754.998, "Actual Total Time": 33167.731, "Actual Rows": 84, "Actual Loops": 1}, {"Worker Number": 5, "Actual Startup Time": 820.772, "Actual Total Time": 33176.393, "Actual Rows": 84, "Actual Loops": 1}], "Plans": [{"Node Type": "Index Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Scan Direction": "Forward", "Index Name": "l_ok", "Relation Name": "lineitem", "Schema": "public", "Alias": "lineitem_1", "Startup Cost": 0.56, "Total Cost": 2128867.77, "Plan Rows": 59986580, "Plan Width": 9, "Actual Startup Time": 0.065, "Actual Total Time": 19615.829, "Actual Rows": 59986052, "Actual Loops": 7, "Output": ["lineitem_1.l_orderkey", "lineitem_1.l_partkey", "lineitem_1.l_suppkey", "lineitem_1.l_linenumber", "lineitem_1.l_quantity", "lineitem_1.l_extendedprice", "lineitem_1.l_discount", "lineitem_1.l_tax", "lineitem_1.l_returnflag", "lineitem_1.l_linestatus", "lineitem_1.l_shipdate", "lineitem_1.l_commitdate", "lineitem_1.l_receiptdate", "lineitem_1.l_shipinstruct", "lineitem_1.l_shipmode", "lineitem_1.l_comment"], "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.066, "Actual Total Time": 25556.336, "Actual Rows": 59986052, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 0.079, "Actual Total Time": 25693.419, "Actual Rows": 59986052, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 0.071, "Actual Total Time": 25688.884, "Actual Rows": 59986052, "Actual Loops": 1}, {"Worker Number": 3, "Actual Startup Time": 0.073, "Actual Total Time": 15668.857, "Actual Rows": 59986052, "Actual Loops": 1}, {"Worker Number": 4, "Actual Startup Time": 0.073, "Actual Total Time": 15114.808, "Actual Rows": 59986052, "Actual Loops": 1}, {"Worker Number": 5, "Actual Startup Time": 0.06, "Actual Total Time": 15128.934, "Actual Rows": 59986052, "Actual Loops": 1}]}]}]}]}, {"Node Type": "Index Scan", "Parent Relationship": "Inner", "Parallel Aware": false, "Async Capable": false, "Scan Direction": "Forward", "Index Name": "l_ok", "Relation Name": "lineitem", "Schema": "public", "Alias": "lineitem", "Startup Cost": 0.56, "Total Cost": 1.18, "Plan Rows": 30, "Plan Width": 9, "Actual Startup Time": 0.014, "Actual Total Time": 0.016, "Actual Rows": 7, "Actual Loops": 84, "Output": ["lineitem.l_orderkey", "lineitem.l_partkey", "lineitem.l_suppkey", "lineitem.l_linenumber", "lineitem.l_quantity", "lineitem.l_extendedprice", "lineitem.l_discount", "lineitem.l_tax", "lineitem.l_returnflag", "lineitem.l_linestatus", "lineitem.l_shipdate", "lineitem.l_commitdate", "lineitem.l_receiptdate", "lineitem.l_shipinstruct", "lineitem.l_shipmode", "lineitem.l_comment"], "Index Cond": "(lineitem.l_orderkey = orders.o_orderkey)", "Rows Removed by Index Recheck": 0, "Workers": [{"Worker Number": 3, "Actual Startup Time": 0.015, "Actual Total Time": 0.017, "Actual Rows": 7, "Actual Loops": 9}, {"Worker Number": 4, "Actual Startup Time": 0.013, "Actual Total Time": 0.015, "Actual Rows": 7, "Actual Loops": 27}, {"Worker Number": 5, "Actual Startup Time": 0.013, "Actual Total Time": 0.016, "Actual Rows": 7, "Actual Loops": 19}]}]}, {"Node Type": "Hash", "Parent Relationship": "Inner", "Parallel Aware": true, "Async Capable": false, "Startup Cost": 39577.0, "Total Cost": 39577.0, "Plan Rows": 375000, "Plan Width": 23, "Actual Startup Time": 156.71, "Actual Total Time": 156.711, "Actual Rows": 214286, "Actual Loops": 7, "Output": ["customer.c_name", "customer.c_custkey"], "Hash Buckets": 2097152, "Original Hash Buckets": 2097152, "Hash Batches": 1, "Original Hash Batches": 1, "Peak Memory Usage": 98720, "Workers": [{"Worker Number": 0, "Actual Startup Time": 157.715, "Actual Total Time": 157.717, "Actual Rows": 210786, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 157.722, "Actual Total Time": 157.724, "Actual Rows": 211569, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 157.707, "Actual Total Time": 157.708, "Actual Rows": 211548, "Actual Loops": 1}, {"Worker Number": 3, "Actual Startup Time": 157.711, "Actual Total Time": 157.712, "Actual Rows": 210406, "Actual Loops": 1}, {"Worker Number": 4, "Actual Startup Time": 157.704, "Actual Total Time": 157.704, "Actual Rows": 210846, "Actual Loops": 1}, {"Worker Number": 5, "Actual Startup Time": 157.72, "Actual Total Time": 157.721, "Actual Rows": 210512, "Actual Loops": 1}], "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": true, "Async Capable": false, "Relation Name": "customer", "Schema": "public", "Alias": "customer", "Startup Cost": 0.0, "Total Cost": 39577.0, "Plan Rows": 375000, "Plan Width": 23, "Actual Startup Time": 0.029, "Actual Total Time": 56.677, "Actual Rows": 214286, "Actual Loops": 7, "Output": ["customer.c_name", "customer.c_custkey"], "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.034, "Actual Total Time": 57.184, "Actual Rows": 210786, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 0.031, "Actual Total Time": 57.315, "Actual Rows": 211569, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 0.031, "Actual Total Time": 57.142, "Actual Rows": 211548, "Actual Loops": 1}, {"Worker Number": 3, "Actual Startup Time": 0.032, "Actual Total Time": 56.812, "Actual Rows": 210406, "Actual Loops": 1}, {"Worker Number": 4, "Actual Startup Time": 0.031, "Actual Total Time": 56.744, "Actual Rows": 210846, "Actual Loops": 1}, {"Worker Number": 5, "Actual Startup Time": 0.034, "Actual Total Time": 57.245, "Actual Rows": 210512, "Actual Loops": 1}]}]}]}]}]}]}]}]}, "Planning Time": 1.216, "Triggers": [], "Execution Time": 44220.586} diff --git a/dev9/pg14/tpch/sf_10/explain_analyze/15721/19-1.ok b/dev9/pg14/tpch/sf_10/explain_analyze/15721/19-1.ok new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/dev9/pg14/tpch/sf_10/explain_analyze/15721/19-1.res b/dev9/pg14/tpch/sf_10/explain_analyze/15721/19-1.res new file mode 100644 index 0000000000000000000000000000000000000000..ab9646f46aae940ce188aca5b11e425f9c1cb9e2 --- /dev/null +++ b/dev9/pg14/tpch/sf_10/explain_analyze/15721/19-1.res @@ -0,0 +1 @@ +{"Plan": {"Node Type": "Aggregate", "Strategy": "Plain", "Partial Mode": "Finalize", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 106400.11, "Total Cost": 106400.12, "Plan Rows": 1, "Plan Width": 32, "Actual Startup Time": 322.78, "Actual Total Time": 398.352, "Actual Rows": 1, "Actual Loops": 1, "Output": ["sum((lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount)))"], "Plans": [{"Node Type": "Gather", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 106399.68, "Total Cost": 106400.09, "Plan Rows": 4, "Plan Width": 32, "Actual Startup Time": 322.687, "Actual Total Time": 398.336, "Actual Rows": 5, "Actual Loops": 1, "Output": ["(PARTIAL sum((lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount))))"], "Workers Planned": 4, "Workers Launched": 4, "Single Copy": false, "Plans": [{"Node Type": "Aggregate", "Strategy": "Plain", "Partial Mode": "Partial", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 105399.68, "Total Cost": 105399.69, "Plan Rows": 1, "Plan Width": 32, "Actual Startup Time": 318.63, "Actual Total Time": 318.631, "Actual Rows": 1, "Actual Loops": 5, "Output": ["PARTIAL sum((lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount)))"], "Workers": [{"Worker Number": 0, "Actual Startup Time": 317.749, "Actual Total Time": 317.75, "Actual Rows": 1, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 317.763, "Actual Total Time": 317.764, "Actual Rows": 1, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 317.736, "Actual Total Time": 317.739, "Actual Rows": 1, "Actual Loops": 1}, {"Worker Number": 3, "Actual Startup Time": 317.747, "Actual Total Time": 317.748, "Actual Rows": 1, "Actual Loops": 1}], "Plans": [{"Node Type": "Nested Loop", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Join Type": "Inner", "Startup Cost": 0.44, "Total Cost": 105397.58, "Plan Rows": 279, "Plan Width": 12, "Actual Startup Time": 3.505, "Actual Total Time": 318.452, "Actual Rows": 229, "Actual Loops": 5, "Output": ["lineitem.l_extendedprice", "lineitem.l_discount"], "Inner Unique": false, "Workers": [{"Worker Number": 0, "Actual Startup Time": 5.627, "Actual Total Time": 317.591, "Actual Rows": 195, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 4.441, "Actual Total Time": 317.588, "Actual Rows": 212, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 6.487, "Actual Total Time": 317.575, "Actual Rows": 198, "Actual Loops": 1}, {"Worker Number": 3, "Actual Startup Time": 0.694, "Actual Total Time": 317.579, "Actual Rows": 195, "Actual Loops": 1}], "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": true, "Async Capable": false, "Relation Name": "part", "Schema": "public", "Alias": "part", "Startup Cost": 0.0, "Total Cost": 62212.0, "Plan Rows": 1198, "Plan Width": 30, "Actual Startup Time": 0.147, "Actual Total Time": 171.119, "Actual Rows": 942, "Actual Loops": 5, "Output": ["part.p_partkey", "part.p_name", "part.p_mfgr", "part.p_brand", "part.p_type", "part.p_size", "part.p_container", "part.p_retailprice", "part.p_comment"], "Filter": "((part.p_size >= 1) AND (((part.p_brand = 'Brand#52'::bpchar) AND (part.p_container = ANY ('{\"SM CASE\",\"SM BOX\",\"SM PACK\",\"SM PKG\"}'::bpchar[])) AND (part.p_size <= 5)) OR ((part.p_brand = 'Brand#42'::bpchar) AND (part.p_container = ANY ('{\"MED BAG\",\"MED BOX\",\"MED PKG\",\"MED PACK\"}'::bpchar[])) AND (part.p_size <= 10)) OR ((part.p_brand = 'Brand#23'::bpchar) AND (part.p_container = ANY ('{\"LG CASE\",\"LG BOX\",\"LG PACK\",\"LG PKG\"}'::bpchar[])) AND (part.p_size <= 15))))", "Rows Removed by Filter": 399058, "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.076, "Actual Total Time": 152.241, "Actual Rows": 848, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 0.212, "Actual Total Time": 160.269, "Actual Rows": 805, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 0.292, "Actual Total Time": 152.694, "Actual Rows": 856, "Actual Loops": 1}, {"Worker Number": 3, "Actual Startup Time": 0.114, "Actual Total Time": 151.064, "Actual Rows": 848, "Actual Loops": 1}]}, {"Node Type": "Index Scan", "Parent Relationship": "Inner", "Parallel Aware": false, "Async Capable": false, "Scan Direction": "Forward", "Index Name": "l_pk", "Relation Name": "lineitem", "Schema": "public", "Alias": "lineitem", "Startup Cost": 0.44, "Total Cost": 36.04, "Plan Rows": 1, "Plan Width": 21, "Actual Startup Time": 0.14, "Actual Total Time": 0.156, "Actual Rows": 0, "Actual Loops": 4710, "Output": ["lineitem.l_orderkey", "lineitem.l_partkey", "lineitem.l_suppkey", "lineitem.l_linenumber", "lineitem.l_quantity", "lineitem.l_extendedprice", "lineitem.l_discount", "lineitem.l_tax", "lineitem.l_returnflag", "lineitem.l_linestatus", "lineitem.l_shipdate", "lineitem.l_commitdate", "lineitem.l_receiptdate", "lineitem.l_shipinstruct", "lineitem.l_shipmode", "lineitem.l_comment"], "Index Cond": "(lineitem.l_partkey = part.p_partkey)", "Rows Removed by Index Recheck": 0, "Filter": "((lineitem.l_shipmode = ANY ('{AIR,\"AIR REG\"}'::bpchar[])) AND (lineitem.l_shipinstruct = 'DELIVER IN PERSON'::bpchar) AND (((lineitem.l_quantity >= '9'::numeric) AND (lineitem.l_quantity <= '19'::numeric)) OR ((lineitem.l_quantity >= '18'::numeric) AND (lineitem.l_quantity <= '28'::numeric)) OR ((lineitem.l_quantity >= '22'::numeric) AND (lineitem.l_quantity <= '32'::numeric))) AND (((part.p_brand = 'Brand#52'::bpchar) AND (part.p_container = ANY ('{\"SM CASE\",\"SM BOX\",\"SM PACK\",\"SM PKG\"}'::bpchar[])) AND (lineitem.l_quantity >= '9'::numeric) AND (lineitem.l_quantity <= '19'::numeric) AND (part.p_size <= 5)) OR ((part.p_brand = 'Brand#42'::bpchar) AND (part.p_container = ANY ('{\"MED BAG\",\"MED BOX\",\"MED PKG\",\"MED PACK\"}'::bpchar[])) AND (lineitem.l_quantity >= '18'::numeric) AND (lineitem.l_quantity <= '28'::numeric) AND (part.p_size <= 10)) OR ((part.p_brand = 'Brand#23'::bpchar) AND (part.p_container = ANY ('{\"LG CASE\",\"LG BOX\",\"LG PACK\",\"LG PKG\"}'::bpchar[])) AND (lineitem.l_quantity >= '22'::numeric) AND (lineitem.l_quantity <= '32'::numeric) AND (part.p_size <= 15))))", "Rows Removed by Filter": 30, "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.175, "Actual Total Time": 0.195, "Actual Rows": 0, "Actual Loops": 848}, {"Worker Number": 1, "Actual Startup Time": 0.172, "Actual Total Time": 0.195, "Actual Rows": 0, "Actual Loops": 805}, {"Worker Number": 2, "Actual Startup Time": 0.173, "Actual Total Time": 0.192, "Actual Rows": 0, "Actual Loops": 856}, {"Worker Number": 3, "Actual Startup Time": 0.177, "Actual Total Time": 0.196, "Actual Rows": 0, "Actual Loops": 848}]}]}]}]}]}, "Planning Time": 0.628, "Triggers": [], "Execution Time": 398.416} diff --git a/dev9/pg14/tpch/sf_10/explain_analyze/15721/2-1.ok b/dev9/pg14/tpch/sf_10/explain_analyze/15721/2-1.ok new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/dev9/pg14/tpch/sf_10/explain_analyze/15721/2-1.res b/dev9/pg14/tpch/sf_10/explain_analyze/15721/2-1.res new file mode 100644 index 0000000000000000000000000000000000000000..0637dbe6a5af3c6f379d0cc12758a401e87e8aaa --- /dev/null +++ b/dev9/pg14/tpch/sf_10/explain_analyze/15721/2-1.res @@ -0,0 +1 @@ +{"Plan": {"Node Type": "Limit", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 363042.54, "Total Cost": 363042.55, "Plan Rows": 1, "Plan Width": 192, "Actual Startup Time": 3535.791, "Actual Total Time": 3535.922, "Actual Rows": 100, "Actual Loops": 1, "Output": ["supplier.s_acctbal", "supplier.s_name", "nation.n_name", "part.p_partkey", "part.p_mfgr", "supplier.s_address", "supplier.s_phone", "supplier.s_comment"], "Plans": [{"Node Type": "Sort", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 363042.54, "Total Cost": 363042.55, "Plan Rows": 1, "Plan Width": 192, "Actual Startup Time": 3535.789, "Actual Total Time": 3535.911, "Actual Rows": 100, "Actual Loops": 1, "Output": ["supplier.s_acctbal", "supplier.s_name", "nation.n_name", "part.p_partkey", "part.p_mfgr", "supplier.s_address", "supplier.s_phone", "supplier.s_comment"], "Sort Key": ["supplier.s_acctbal DESC", "nation.n_name", "supplier.s_name", "part.p_partkey"], "Sort Method": "top-N heapsort", "Sort Space Used": 71, "Sort Space Type": "Memory", "Plans": [{"Node Type": "Hash Join", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Join Type": "Inner", "Startup Cost": 157605.99, "Total Cost": 363042.53, "Plan Rows": 1, "Plan Width": 192, "Actual Startup Time": 2908.812, "Actual Total Time": 3533.226, "Actual Rows": 4732, "Actual Loops": 1, "Output": ["supplier.s_acctbal", "supplier.s_name", "nation.n_name", "part.p_partkey", "part.p_mfgr", "supplier.s_address", "supplier.s_phone", "supplier.s_comment"], "Inner Unique": false, "Hash Cond": "((part.p_partkey = partsupp.ps_partkey) AND ((SubPlan 1) = partsupp.ps_supplycost))", "Plans": [{"Node Type": "Gather", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 1000.0, "Total Cost": 50268.9, "Plan Rows": 8069, "Plan Width": 30, "Actual Startup Time": 0.336, "Actual Total Time": 2.737, "Actual Rows": 8075, "Actual Loops": 1, "Output": ["part.p_partkey", "part.p_mfgr"], "Workers Planned": 4, "Workers Launched": 4, "Single Copy": false, "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": true, "Async Capable": false, "Relation Name": "part", "Schema": "public", "Alias": "part", "Startup Cost": 0.0, "Total Cost": 48462.0, "Plan Rows": 2017, "Plan Width": 30, "Actual Startup Time": 0.058, "Actual Total Time": 118.813, "Actual Rows": 1615, "Actual Loops": 5, "Output": ["part.p_partkey", "part.p_mfgr"], "Filter": "(((part.p_type)::text ~~ '%TIN'::text) AND (part.p_size = 44))", "Rows Removed by Filter": 398385, "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.112, "Actual Total Time": 208.214, "Actual Rows": 2903, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 0.037, "Actual Total Time": 170.518, "Actual Rows": 2296, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 0.034, "Actual Total Time": 126.034, "Actual Rows": 1700, "Actual Loops": 1}, {"Worker Number": 3, "Actual Startup Time": 0.08, "Actual Total Time": 88.81, "Actual Rows": 1170, "Actual Loops": 1}]}]}, {"Node Type": "Hash", "Parent Relationship": "Inner", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 93542.79, "Total Cost": 93542.79, "Plan Rows": 1600013, "Plan Width": 172, "Actual Startup Time": 2905.711, "Actual Total Time": 2905.715, "Actual Rows": 1602640, "Actual Loops": 1, "Output": ["supplier.s_acctbal", "supplier.s_name", "supplier.s_address", "supplier.s_phone", "supplier.s_comment", "partsupp.ps_partkey", "partsupp.ps_supplycost", "nation.n_name"], "Hash Buckets": 131072, "Original Hash Buckets": 131072, "Hash Batches": 32, "Original Hash Batches": 32, "Peak Memory Usage": 11233, "Plans": [{"Node Type": "Nested Loop", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Join Type": "Inner", "Startup Cost": 0.72, "Total Cost": 93542.79, "Plan Rows": 1600013, "Plan Width": 172, "Actual Startup Time": 0.045, "Actual Total Time": 2082.945, "Actual Rows": 1602640, "Actual Loops": 1, "Output": ["supplier.s_acctbal", "supplier.s_name", "supplier.s_address", "supplier.s_phone", "supplier.s_comment", "partsupp.ps_partkey", "partsupp.ps_supplycost", "nation.n_name"], "Inner Unique": false, "Plans": [{"Node Type": "Nested Loop", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Join Type": "Inner", "Startup Cost": 0.29, "Total Cost": 1055.41, "Plan Rows": 20000, "Plan Width": 166, "Actual Startup Time": 0.031, "Actual Total Time": 22.77, "Actual Rows": 20033, "Actual Loops": 1, "Output": ["supplier.s_acctbal", "supplier.s_name", "supplier.s_address", "supplier.s_phone", "supplier.s_comment", "supplier.s_suppkey", "nation.n_name"], "Inner Unique": false, "Plans": [{"Node Type": "Nested Loop", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Join Type": "Inner", "Startup Cost": 0.0, "Total Cost": 2.62, "Plan Rows": 5, "Plan Width": 30, "Actual Startup Time": 0.013, "Actual Total Time": 0.037, "Actual Rows": 5, "Actual Loops": 1, "Output": ["nation.n_name", "nation.n_nationkey"], "Inner Unique": false, "Join Filter": "(nation.n_regionkey = region.r_regionkey)", "Rows Removed by Join Filter": 20, "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Relation Name": "region", "Schema": "public", "Alias": "region", "Startup Cost": 0.0, "Total Cost": 1.06, "Plan Rows": 1, "Plan Width": 4, "Actual Startup Time": 0.005, "Actual Total Time": 0.008, "Actual Rows": 1, "Actual Loops": 1, "Output": ["region.r_regionkey", "region.r_name", "region.r_comment"], "Filter": "(region.r_name = 'EUROPE'::bpchar)", "Rows Removed by Filter": 4}, {"Node Type": "Seq Scan", "Parent Relationship": "Inner", "Parallel Aware": false, "Async Capable": false, "Relation Name": "nation", "Schema": "public", "Alias": "nation", "Startup Cost": 0.0, "Total Cost": 1.25, "Plan Rows": 25, "Plan Width": 34, "Actual Startup Time": 0.003, "Actual Total Time": 0.011, "Actual Rows": 25, "Actual Loops": 1, "Output": ["nation.n_nationkey", "nation.n_name", "nation.n_regionkey", "nation.n_comment"]}]}, {"Node Type": "Index Scan", "Parent Relationship": "Inner", "Parallel Aware": false, "Async Capable": false, "Scan Direction": "Forward", "Index Name": "s_nk", "Relation Name": "supplier", "Schema": "public", "Alias": "supplier", "Startup Cost": 0.29, "Total Cost": 170.56, "Plan Rows": 4000, "Plan Width": 144, "Actual Startup Time": 0.011, "Actual Total Time": 3.115, "Actual Rows": 4007, "Actual Loops": 5, "Output": ["supplier.s_suppkey", "supplier.s_name", "supplier.s_address", "supplier.s_nationkey", "supplier.s_phone", "supplier.s_acctbal", "supplier.s_comment"], "Index Cond": "(supplier.s_nationkey = nation.n_nationkey)", "Rows Removed by Index Recheck": 0}]}, {"Node Type": "Index Scan", "Parent Relationship": "Inner", "Parallel Aware": false, "Async Capable": false, "Scan Direction": "Forward", "Index Name": "ps_sk", "Relation Name": "partsupp", "Schema": "public", "Alias": "partsupp", "Startup Cost": 0.43, "Total Cost": 3.82, "Plan Rows": 80, "Plan Width": 14, "Actual Startup Time": 0.004, "Actual Total Time": 0.088, "Actual Rows": 80, "Actual Loops": 20033, "Output": ["partsupp.ps_partkey", "partsupp.ps_suppkey", "partsupp.ps_availqty", "partsupp.ps_supplycost", "partsupp.ps_comment"], "Index Cond": "(partsupp.ps_suppkey = supplier.s_suppkey)", "Rows Removed by Index Recheck": 0}]}]}, {"Node Type": "Aggregate", "Strategy": "Plain", "Partial Mode": "Simple", "Parent Relationship": "SubPlan", "Subplan Name": "SubPlan 1", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 14.48, "Total Cost": 14.49, "Plan Rows": 1, "Plan Width": 32, "Actual Startup Time": 0.026, "Actual Total Time": 0.026, "Actual Rows": 1, "Actual Loops": 12807, "Output": ["min(partsupp_1.ps_supplycost)"], "Plans": [{"Node Type": "Nested Loop", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Join Type": "Inner", "Startup Cost": 0.86, "Total Cost": 14.48, "Plan Rows": 1, "Plan Width": 6, "Actual Startup Time": 0.018, "Actual Total Time": 0.025, "Actual Rows": 1, "Actual Loops": 12807, "Output": ["partsupp_1.ps_supplycost"], "Inner Unique": false, "Join Filter": "(nation_1.n_regionkey = region_1.r_regionkey)", "Rows Removed by Join Filter": 3, "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Relation Name": "region", "Schema": "public", "Alias": "region_1", "Startup Cost": 0.0, "Total Cost": 1.06, "Plan Rows": 1, "Plan Width": 4, "Actual Startup Time": 0.001, "Actual Total Time": 0.001, "Actual Rows": 1, "Actual Loops": 12807, "Output": ["region_1.r_regionkey", "region_1.r_name", "region_1.r_comment"], "Filter": "(region_1.r_name = 'EUROPE'::bpchar)", "Rows Removed by Filter": 4}, {"Node Type": "Nested Loop", "Parent Relationship": "Inner", "Parallel Aware": false, "Async Capable": false, "Join Type": "Inner", "Startup Cost": 0.86, "Total Cost": 13.36, "Plan Rows": 4, "Plan Width": 10, "Actual Startup Time": 0.009, "Actual Total Time": 0.023, "Actual Rows": 4, "Actual Loops": 12807, "Output": ["partsupp_1.ps_supplycost", "nation_1.n_regionkey"], "Inner Unique": true, "Plans": [{"Node Type": "Nested Loop", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Join Type": "Inner", "Startup Cost": 0.72, "Total Cost": 12.74, "Plan Rows": 4, "Plan Width": 10, "Actual Startup Time": 0.008, "Actual Total Time": 0.017, "Actual Rows": 4, "Actual Loops": 12807, "Output": ["partsupp_1.ps_supplycost", "supplier_1.s_nationkey"], "Inner Unique": true, "Plans": [{"Node Type": "Index Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Scan Direction": "Forward", "Index Name": "ps_pk", "Relation Name": "partsupp", "Schema": "public", "Alias": "partsupp_1", "Startup Cost": 0.43, "Total Cost": 2.7, "Plan Rows": 4, "Plan Width": 10, "Actual Startup Time": 0.005, "Actual Total Time": 0.006, "Actual Rows": 4, "Actual Loops": 12807, "Output": ["partsupp_1.ps_partkey", "partsupp_1.ps_suppkey", "partsupp_1.ps_availqty", "partsupp_1.ps_supplycost", "partsupp_1.ps_comment"], "Index Cond": "(partsupp_1.ps_partkey = part.p_partkey)", "Rows Removed by Index Recheck": 0}, {"Node Type": "Index Scan", "Parent Relationship": "Inner", "Parallel Aware": false, "Async Capable": false, "Scan Direction": "Forward", "Index Name": "s_sk", "Relation Name": "supplier", "Schema": "public", "Alias": "supplier_1", "Startup Cost": 0.29, "Total Cost": 2.51, "Plan Rows": 1, "Plan Width": 8, "Actual Startup Time": 0.002, "Actual Total Time": 0.002, "Actual Rows": 1, "Actual Loops": 51228, "Output": ["supplier_1.s_suppkey", "supplier_1.s_name", "supplier_1.s_address", "supplier_1.s_nationkey", "supplier_1.s_phone", "supplier_1.s_acctbal", "supplier_1.s_comment"], "Index Cond": "(supplier_1.s_suppkey = partsupp_1.ps_suppkey)", "Rows Removed by Index Recheck": 0}]}, {"Node Type": "Index Scan", "Parent Relationship": "Inner", "Parallel Aware": false, "Async Capable": false, "Scan Direction": "Forward", "Index Name": "n_nk", "Relation Name": "nation", "Schema": "public", "Alias": "nation_1", "Startup Cost": 0.14, "Total Cost": 0.16, "Plan Rows": 1, "Plan Width": 8, "Actual Startup Time": 0.001, "Actual Total Time": 0.001, "Actual Rows": 1, "Actual Loops": 51228, "Output": ["nation_1.n_nationkey", "nation_1.n_name", "nation_1.n_regionkey", "nation_1.n_comment"], "Index Cond": "(nation_1.n_nationkey = supplier_1.s_nationkey)", "Rows Removed by Index Recheck": 0}]}]}]}]}]}]}, "Planning Time": 2.571, "Triggers": [], "Execution Time": 3536.032} diff --git a/dev9/pg14/tpch/sf_10/explain_analyze/15721/20-1.ok b/dev9/pg14/tpch/sf_10/explain_analyze/15721/20-1.ok new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/dev9/pg14/tpch/sf_10/explain_analyze/15721/20-1.res b/dev9/pg14/tpch/sf_10/explain_analyze/15721/20-1.res new file mode 100644 index 0000000000000000000000000000000000000000..e3b004c23fdf48b26d2b84abca54e2607f36f60f --- /dev/null +++ b/dev9/pg14/tpch/sf_10/explain_analyze/15721/20-1.res @@ -0,0 +1 @@ +{"Plan": {"Node Type": "Sort", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 362163.42, "Total Cost": 362166.62, "Plan Rows": 1281, "Plan Width": 51, "Actual Startup Time": 1672.455, "Actual Total Time": 1672.669, "Actual Rows": 1786, "Actual Loops": 1, "Output": ["supplier.s_name", "supplier.s_address"], "Sort Key": ["supplier.s_name"], "Sort Method": "quicksort", "Sort Space Used": 254, "Sort Space Type": "Memory", "Plans": [{"Node Type": "Hash Join", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Join Type": "Semi", "Startup Cost": 359864.8, "Total Cost": 362097.3, "Plan Rows": 1281, "Plan Width": 51, "Actual Startup Time": 1663.798, "Actual Total Time": 1669.072, "Actual Rows": 1786, "Actual Loops": 1, "Output": ["supplier.s_name", "supplier.s_address"], "Inner Unique": false, "Hash Cond": "(supplier.s_suppkey = partsupp.ps_suppkey)", "Plans": [{"Node Type": "Nested Loop", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Join Type": "Inner", "Startup Cost": 35.69, "Total Cost": 2235.44, "Plan Rows": 4000, "Plan Width": 55, "Actual Startup Time": 0.771, "Actual Total Time": 4.868, "Actual Rows": 4049, "Actual Loops": 1, "Output": ["supplier.s_name", "supplier.s_address", "supplier.s_suppkey"], "Inner Unique": false, "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Relation Name": "nation", "Schema": "public", "Alias": "nation", "Startup Cost": 0.0, "Total Cost": 1.31, "Plan Rows": 1, "Plan Width": 4, "Actual Startup Time": 0.009, "Actual Total Time": 0.015, "Actual Rows": 1, "Actual Loops": 1, "Output": ["nation.n_nationkey", "nation.n_name", "nation.n_regionkey", "nation.n_comment"], "Filter": "(nation.n_name = 'GERMANY'::bpchar)", "Rows Removed by Filter": 24}, {"Node Type": "Bitmap Heap Scan", "Parent Relationship": "Inner", "Parallel Aware": false, "Async Capable": false, "Relation Name": "supplier", "Schema": "public", "Alias": "supplier", "Startup Cost": 35.69, "Total Cost": 2194.12, "Plan Rows": 4000, "Plan Width": 59, "Actual Startup Time": 0.759, "Actual Total Time": 4.14, "Actual Rows": 4049, "Actual Loops": 1, "Output": ["supplier.s_suppkey", "supplier.s_name", "supplier.s_address", "supplier.s_nationkey", "supplier.s_phone", "supplier.s_acctbal", "supplier.s_comment"], "Recheck Cond": "(supplier.s_nationkey = nation.n_nationkey)", "Rows Removed by Index Recheck": 0, "Exact Heap Blocks": 1874, "Lossy Heap Blocks": 0, "Plans": [{"Node Type": "Bitmap Index Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Index Name": "s_nk", "Startup Cost": 0.0, "Total Cost": 34.69, "Plan Rows": 4000, "Plan Width": 0, "Actual Startup Time": 0.382, "Actual Total Time": 0.383, "Actual Rows": 4049, "Actual Loops": 1, "Index Cond": "(supplier.s_nationkey = nation.n_nationkey)"}]}]}, {"Node Type": "Hash", "Parent Relationship": "Inner", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 359428.31, "Total Cost": 359428.31, "Plan Rows": 32064, "Plan Width": 4, "Actual Startup Time": 1662.969, "Actual Total Time": 1663.08, "Actual Rows": 59274, "Actual Loops": 1, "Output": ["partsupp.ps_suppkey"], "Hash Buckets": 65536, "Original Hash Buckets": 32768, "Hash Batches": 1, "Original Hash Batches": 1, "Peak Memory Usage": 2596, "Plans": [{"Node Type": "Nested Loop", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Join Type": "Inner", "Startup Cost": 1000.43, "Total Cost": 359428.31, "Plan Rows": 32064, "Plan Width": 4, "Actual Startup Time": 0.393, "Actual Total Time": 1645.748, "Actual Rows": 59274, "Actual Loops": 1, "Output": ["partsupp.ps_suppkey"], "Inner Unique": false, "Plans": [{"Node Type": "Gather", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 1000.0, "Total Cost": 50616.8, "Plan Rows": 24048, "Plan Width": 4, "Actual Startup Time": 0.33, "Actual Total Time": 4.794, "Actual Rows": 21783, "Actual Loops": 1, "Output": ["part.p_partkey"], "Workers Planned": 4, "Workers Launched": 4, "Single Copy": false, "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": true, "Async Capable": false, "Relation Name": "part", "Schema": "public", "Alias": "part", "Startup Cost": 0.0, "Total Cost": 47212.0, "Plan Rows": 6012, "Plan Width": 4, "Actual Startup Time": 0.044, "Actual Total Time": 76.996, "Actual Rows": 4357, "Actual Loops": 5, "Output": ["part.p_partkey"], "Filter": "((part.p_name)::text ~~ 'floral%'::text)", "Rows Removed by Filter": 395643, "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.056, "Actual Total Time": 40.342, "Actual Rows": 2065, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 0.024, "Actual Total Time": 264.694, "Actual Rows": 15573, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 0.031, "Actual Total Time": 38.705, "Actual Rows": 2052, "Actual Loops": 1}, {"Worker Number": 3, "Actual Startup Time": 0.079, "Actual Total Time": 40.603, "Actual Rows": 2051, "Actual Loops": 1}]}]}, {"Node Type": "Index Scan", "Parent Relationship": "Inner", "Parallel Aware": false, "Async Capable": false, "Scan Direction": "Forward", "Index Name": "ps_pk", "Relation Name": "partsupp", "Schema": "public", "Alias": "partsupp", "Startup Cost": 0.43, "Total Cost": 12.83, "Plan Rows": 1, "Plan Width": 8, "Actual Startup Time": 0.029, "Actual Total Time": 0.075, "Actual Rows": 3, "Actual Loops": 21783, "Output": ["partsupp.ps_partkey", "partsupp.ps_suppkey", "partsupp.ps_availqty", "partsupp.ps_supplycost", "partsupp.ps_comment"], "Index Cond": "(partsupp.ps_partkey = part.p_partkey)", "Rows Removed by Index Recheck": 0, "Filter": "((partsupp.ps_availqty)::numeric > (SubPlan 1))", "Rows Removed by Filter": 1, "Plans": [{"Node Type": "Aggregate", "Strategy": "Plain", "Partial Mode": "Simple", "Parent Relationship": "SubPlan", "Subplan Name": "SubPlan 1", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 2.67, "Total Cost": 2.68, "Plan Rows": 1, "Plan Width": 32, "Actual Startup Time": 0.017, "Actual Total Time": 0.017, "Actual Rows": 1, "Actual Loops": 87132, "Output": ["(0.5 * sum(lineitem.l_quantity))"], "Plans": [{"Node Type": "Index Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Scan Direction": "Forward", "Index Name": "l_sk_pk", "Relation Name": "lineitem", "Schema": "public", "Alias": "lineitem", "Startup Cost": 0.44, "Total Cost": 2.67, "Plan Rows": 1, "Plan Width": 5, "Actual Startup Time": 0.011, "Actual Total Time": 0.016, "Actual Rows": 1, "Actual Loops": 87132, "Output": ["lineitem.l_orderkey", "lineitem.l_partkey", "lineitem.l_suppkey", "lineitem.l_linenumber", "lineitem.l_quantity", "lineitem.l_extendedprice", "lineitem.l_discount", "lineitem.l_tax", "lineitem.l_returnflag", "lineitem.l_linestatus", "lineitem.l_shipdate", "lineitem.l_commitdate", "lineitem.l_receiptdate", "lineitem.l_shipinstruct", "lineitem.l_shipmode", "lineitem.l_comment"], "Index Cond": "((lineitem.l_suppkey = partsupp.ps_suppkey) AND (lineitem.l_partkey = partsupp.ps_partkey))", "Rows Removed by Index Recheck": 0, "Filter": "((lineitem.l_shipdate >= '1996-01-01'::date) AND (lineitem.l_shipdate < '1997-01-01 00:00:00'::timestamp without time zone))", "Rows Removed by Filter": 6}]}]}]}]}]}]}, "Planning Time": 0.887, "Triggers": [], "Execution Time": 1672.817} diff --git a/dev9/pg14/tpch/sf_10/explain_analyze/15721/21-1.ok b/dev9/pg14/tpch/sf_10/explain_analyze/15721/21-1.ok new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/dev9/pg14/tpch/sf_10/explain_analyze/15721/21-1.res b/dev9/pg14/tpch/sf_10/explain_analyze/15721/21-1.res new file mode 100644 index 0000000000000000000000000000000000000000..eb00137dcb1f850b6f5fa549ef130b842135b853 --- /dev/null +++ b/dev9/pg14/tpch/sf_10/explain_analyze/15721/21-1.res @@ -0,0 +1 @@ +{"Plan": {"Node Type": "Limit", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 405979.07, "Total Cost": 405979.08, "Plan Rows": 1, "Plan Width": 34, "Actual Startup Time": 7440.663, "Actual Total Time": 7607.71, "Actual Rows": 100, "Actual Loops": 1, "Output": ["supplier.s_name", "(count(*))"], "Plans": [{"Node Type": "Sort", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 405979.07, "Total Cost": 405979.08, "Plan Rows": 1, "Plan Width": 34, "Actual Startup Time": 7440.661, "Actual Total Time": 7607.699, "Actual Rows": 100, "Actual Loops": 1, "Output": ["supplier.s_name", "(count(*))"], "Sort Key": ["(count(*)) DESC", "supplier.s_name"], "Sort Method": "top-N heapsort", "Sort Space Used": 38, "Sort Space Type": "Memory", "Plans": [{"Node Type": "Aggregate", "Strategy": "Sorted", "Partial Mode": "Simple", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 405979.04, "Total Cost": 405979.06, "Plan Rows": 1, "Plan Width": 34, "Actual Startup Time": 7430.208, "Actual Total Time": 7606.096, "Actual Rows": 3988, "Actual Loops": 1, "Output": ["supplier.s_name", "count(*)"], "Group Key": ["supplier.s_name"], "Plans": [{"Node Type": "Sort", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 405979.04, "Total Cost": 405979.05, "Plan Rows": 1, "Plan Width": 26, "Actual Startup Time": 7430.194, "Actual Total Time": 7599.603, "Actual Rows": 39932, "Actual Loops": 1, "Output": ["supplier.s_name"], "Sort Key": ["supplier.s_name"], "Sort Method": "quicksort", "Sort Space Used": 4656, "Sort Space Type": "Memory", "Plans": [{"Node Type": "Nested Loop", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Join Type": "Inner", "Startup Cost": 1003.33, "Total Cost": 405979.03, "Plan Rows": 1, "Plan Width": 26, "Actual Startup Time": 0.994, "Actual Total Time": 7465.398, "Actual Rows": 39932, "Actual Loops": 1, "Output": ["supplier.s_name"], "Inner Unique": true, "Plans": [{"Node Type": "Nested Loop", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Join Type": "Semi", "Startup Cost": 1002.9, "Total Cost": 405978.56, "Plan Rows": 1, "Plan Width": 34, "Actual Startup Time": 0.981, "Actual Total Time": 6913.678, "Actual Rows": 81076, "Actual Loops": 1, "Output": ["supplier.s_name", "l1.l_orderkey", "l2.l_orderkey"], "Inner Unique": false, "Plans": [{"Node Type": "Gather", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 1002.33, "Total Cost": 405977.31, "Plan Rows": 1, "Plan Width": 34, "Actual Startup Time": 0.449, "Actual Total Time": 6354.292, "Actual Rows": 135007, "Actual Loops": 1, "Output": ["supplier.s_name", "l1.l_suppkey", "l1.l_orderkey"], "Workers Planned": 1, "Workers Launched": 1, "Single Copy": false, "Plans": [{"Node Type": "Nested Loop", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Join Type": "Anti", "Startup Cost": 2.33, "Total Cost": 404977.21, "Plan Rows": 1, "Plan Width": 34, "Actual Startup Time": 0.806, "Actual Total Time": 6718.46, "Actual Rows": 67504, "Actual Loops": 2, "Output": ["supplier.s_name", "l1.l_suppkey", "l1.l_orderkey"], "Inner Unique": false, "Workers": [{"Worker Number": 0, "Actual Startup Time": 1.496, "Actual Total Time": 7276.362, "Actual Rows": 71336, "Actual Loops": 1}], "Plans": [{"Node Type": "Nested Loop", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Join Type": "Inner", "Startup Cost": 1.76, "Total Cost": 67570.1, "Plan Rows": 469745, "Plan Width": 34, "Actual Startup Time": 0.21, "Actual Total Time": 2360.711, "Actual Rows": 756457, "Actual Loops": 2, "Output": ["supplier.s_name", "l1.l_suppkey", "l1.l_orderkey"], "Inner Unique": false, "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.37, "Actual Total Time": 2691.851, "Actual Rows": 796235, "Actual Loops": 1}], "Plans": [{"Node Type": "Hash Join", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Join Type": "Inner", "Startup Cost": 1.32, "Total Cost": 2986.15, "Plan Rows": 2353, "Plan Width": 30, "Actual Startup Time": 0.13, "Actual Total Time": 21.877, "Actual Rows": 1994, "Actual Loops": 2, "Output": ["supplier.s_name", "supplier.s_suppkey"], "Inner Unique": true, "Hash Cond": "(supplier.s_nationkey = nation.n_nationkey)", "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.236, "Actual Total Time": 23.622, "Actual Rows": 2100, "Actual Loops": 1}], "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": true, "Async Capable": false, "Relation Name": "supplier", "Schema": "public", "Alias": "supplier", "Startup Cost": 0.0, "Total Cost": 2804.24, "Plan Rows": 58824, "Plan Width": 34, "Actual Startup Time": 0.009, "Actual Total Time": 6.129, "Actual Rows": 50000, "Actual Loops": 2, "Output": ["supplier.s_suppkey", "supplier.s_name", "supplier.s_address", "supplier.s_nationkey", "supplier.s_phone", "supplier.s_acctbal", "supplier.s_comment"], "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.015, "Actual Total Time": 6.701, "Actual Rows": 52263, "Actual Loops": 1}]}, {"Node Type": "Hash", "Parent Relationship": "Inner", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 1.31, "Total Cost": 1.31, "Plan Rows": 1, "Plan Width": 4, "Actual Startup Time": 0.023, "Actual Total Time": 0.024, "Actual Rows": 1, "Actual Loops": 2, "Output": ["nation.n_nationkey"], "Hash Buckets": 1024, "Original Hash Buckets": 1024, "Hash Batches": 1, "Original Hash Batches": 1, "Peak Memory Usage": 9, "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.036, "Actual Total Time": 0.037, "Actual Rows": 1, "Actual Loops": 1}], "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Relation Name": "nation", "Schema": "public", "Alias": "nation", "Startup Cost": 0.0, "Total Cost": 1.31, "Plan Rows": 1, "Plan Width": 4, "Actual Startup Time": 0.018, "Actual Total Time": 0.019, "Actual Rows": 1, "Actual Loops": 2, "Output": ["nation.n_nationkey"], "Filter": "(nation.n_name = 'CHINA'::bpchar)", "Rows Removed by Filter": 24, "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.028, "Actual Total Time": 0.029, "Actual Rows": 1, "Actual Loops": 1}]}]}]}, {"Node Type": "Index Scan", "Parent Relationship": "Inner", "Parallel Aware": false, "Async Capable": false, "Scan Direction": "Forward", "Index Name": "l_sk_pk", "Relation Name": "lineitem", "Schema": "public", "Alias": "l1", "Startup Cost": 0.44, "Total Cost": 25.45, "Plan Rows": 200, "Plan Width": 8, "Actual Startup Time": 0.016, "Actual Total Time": 1.114, "Actual Rows": 379, "Actual Loops": 3988, "Output": ["l1.l_orderkey", "l1.l_partkey", "l1.l_suppkey", "l1.l_linenumber", "l1.l_quantity", "l1.l_extendedprice", "l1.l_discount", "l1.l_tax", "l1.l_returnflag", "l1.l_linestatus", "l1.l_shipdate", "l1.l_commitdate", "l1.l_receiptdate", "l1.l_shipinstruct", "l1.l_shipmode", "l1.l_comment"], "Index Cond": "(l1.l_suppkey = supplier.s_suppkey)", "Rows Removed by Index Recheck": 0, "Filter": "(l1.l_receiptdate > l1.l_commitdate)", "Rows Removed by Filter": 221, "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.019, "Actual Total Time": 1.212, "Actual Rows": 379, "Actual Loops": 2100}]}]}, {"Node Type": "Index Scan", "Parent Relationship": "Inner", "Parallel Aware": false, "Async Capable": false, "Scan Direction": "Forward", "Index Name": "l_ok", "Relation Name": "lineitem", "Schema": "public", "Alias": "l3", "Startup Cost": 0.56, "Total Cost": 1.31, "Plan Rows": 10, "Plan Width": 8, "Actual Startup Time": 0.005, "Actual Total Time": 0.005, "Actual Rows": 1, "Actual Loops": 1512914, "Output": ["l3.l_orderkey", "l3.l_partkey", "l3.l_suppkey", "l3.l_linenumber", "l3.l_quantity", "l3.l_extendedprice", "l3.l_discount", "l3.l_tax", "l3.l_returnflag", "l3.l_linestatus", "l3.l_shipdate", "l3.l_commitdate", "l3.l_receiptdate", "l3.l_shipinstruct", "l3.l_shipmode", "l3.l_comment"], "Index Cond": "(l3.l_orderkey = l1.l_orderkey)", "Rows Removed by Index Recheck": 0, "Filter": "((l3.l_receiptdate > l3.l_commitdate) AND (l3.l_suppkey <> l1.l_suppkey))", "Rows Removed by Filter": 1, "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.005, "Actual Total Time": 0.005, "Actual Rows": 1, "Actual Loops": 796235}]}]}]}, {"Node Type": "Index Scan", "Parent Relationship": "Inner", "Parallel Aware": false, "Async Capable": false, "Scan Direction": "Forward", "Index Name": "l_ok", "Relation Name": "lineitem", "Schema": "public", "Alias": "l2", "Startup Cost": 0.56, "Total Cost": 1.23, "Plan Rows": 30, "Plan Width": 8, "Actual Startup Time": 0.004, "Actual Total Time": 0.004, "Actual Rows": 1, "Actual Loops": 135007, "Output": ["l2.l_orderkey", "l2.l_partkey", "l2.l_suppkey", "l2.l_linenumber", "l2.l_quantity", "l2.l_extendedprice", "l2.l_discount", "l2.l_tax", "l2.l_returnflag", "l2.l_linestatus", "l2.l_shipdate", "l2.l_commitdate", "l2.l_receiptdate", "l2.l_shipinstruct", "l2.l_shipmode", "l2.l_comment"], "Index Cond": "(l2.l_orderkey = l1.l_orderkey)", "Rows Removed by Index Recheck": 0, "Filter": "(l2.l_suppkey <> l1.l_suppkey)", "Rows Removed by Filter": 1}]}, {"Node Type": "Index Scan", "Parent Relationship": "Inner", "Parallel Aware": false, "Async Capable": false, "Scan Direction": "Forward", "Index Name": "o_ok", "Relation Name": "orders", "Schema": "public", "Alias": "orders", "Startup Cost": 0.43, "Total Cost": 0.47, "Plan Rows": 1, "Plan Width": 4, "Actual Startup Time": 0.006, "Actual Total Time": 0.006, "Actual Rows": 0, "Actual Loops": 81076, "Output": ["orders.o_orderkey", "orders.o_custkey", "orders.o_orderstatus", "orders.o_totalprice", "orders.o_orderdate", "orders.o_orderpriority", "orders.o_clerk", "orders.o_shippriority", "orders.o_comment"], "Index Cond": "(orders.o_orderkey = l1.l_orderkey)", "Rows Removed by Index Recheck": 0, "Filter": "(orders.o_orderstatus = 'F'::bpchar)", "Rows Removed by Filter": 1}]}]}]}]}]}, "Planning Time": 2.817, "Triggers": [], "Execution Time": 7607.8} diff --git a/dev9/pg14/tpch/sf_10/explain_analyze/15721/22-1.ok b/dev9/pg14/tpch/sf_10/explain_analyze/15721/22-1.ok new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/dev9/pg14/tpch/sf_10/explain_analyze/15721/22-1.res b/dev9/pg14/tpch/sf_10/explain_analyze/15721/22-1.res new file mode 100644 index 0000000000000000000000000000000000000000..3ae719f1e6d1d92092e471d69d0f682f9445de38 --- /dev/null +++ b/dev9/pg14/tpch/sf_10/explain_analyze/15721/22-1.res @@ -0,0 +1 @@ +{"Plan": {"Node Type": "Aggregate", "Strategy": "Sorted", "Partial Mode": "Simple", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 95814.63, "Total Cost": 96903.75, "Plan Rows": 7525, "Plan Width": 72, "Actual Startup Time": 548.944, "Actual Total Time": 580.603, "Actual Rows": 7, "Actual Loops": 1, "Output": ["(SUBSTRING(customer.c_phone FROM 1 FOR 2))", "count(*)", "sum(customer.c_acctbal)"], "Group Key": ["(SUBSTRING(customer.c_phone FROM 1 FOR 2))"], "Plans": [{"Node Type": "Aggregate", "Strategy": "Plain", "Partial Mode": "Finalize", "Parent Relationship": "InitPlan", "Subplan Name": "InitPlan 1 (returns $1)", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 46700.98, "Total Cost": 46700.99, "Plan Rows": 1, "Plan Width": 32, "Actual Startup Time": 242.991, "Actual Total Time": 243.078, "Actual Rows": 1, "Actual Loops": 1, "Output": ["avg(customer_1.c_acctbal)"], "Plans": [{"Node Type": "Gather", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 46700.54, "Total Cost": 46700.95, "Plan Rows": 4, "Plan Width": 32, "Actual Startup Time": 242.93, "Actual Total Time": 243.065, "Actual Rows": 5, "Actual Loops": 1, "Output": ["(PARTIAL avg(customer_1.c_acctbal))"], "Workers Planned": 4, "Workers Launched": 4, "Single Copy": false, "Plans": [{"Node Type": "Aggregate", "Strategy": "Plain", "Partial Mode": "Partial", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 45700.54, "Total Cost": 45700.55, "Plan Rows": 1, "Plan Width": 32, "Actual Startup Time": 239.231, "Actual Total Time": 239.232, "Actual Rows": 1, "Actual Loops": 5, "Output": ["PARTIAL avg(customer_1.c_acctbal)"], "Workers": [{"Worker Number": 0, "Actual Startup Time": 238.389, "Actual Total Time": 238.39, "Actual Rows": 1, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 238.405, "Actual Total Time": 238.406, "Actual Rows": 1, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 238.384, "Actual Total Time": 238.385, "Actual Rows": 1, "Actual Loops": 1}, {"Worker Number": 3, "Actual Startup Time": 238.375, "Actual Total Time": 238.376, "Actual Rows": 1, "Actual Loops": 1}], "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": true, "Async Capable": false, "Relation Name": "customer", "Schema": "public", "Alias": "customer_1", "Startup Cost": 0.0, "Total Cost": 45670.75, "Plan Rows": 11916, "Plan Width": 6, "Actual Startup Time": 0.037, "Actual Total Time": 229.948, "Actual Rows": 76349, "Actual Loops": 5, "Output": ["customer_1.c_custkey", "customer_1.c_name", "customer_1.c_address", "customer_1.c_nationkey", "customer_1.c_phone", "customer_1.c_acctbal", "customer_1.c_mktsegment", "customer_1.c_comment"], "Filter": "((customer_1.c_acctbal > 0.00) AND (SUBSTRING(customer_1.c_phone FROM 1 FOR 2) = ANY ('{17,20,25,31,30,11,33}'::text[])))", "Rows Removed by Filter": 223651, "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.042, "Actual Total Time": 229.312, "Actual Rows": 74904, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 0.05, "Actual Total Time": 229.289, "Actual Rows": 75090, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 0.04, "Actual Total Time": 229.177, "Actual Rows": 76045, "Actual Loops": 1}, {"Worker Number": 3, "Actual Startup Time": 0.042, "Actual Total Time": 229.346, "Actual Rows": 74552, "Actual Loops": 1}]}]}]}]}, {"Node Type": "Gather Merge", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 49113.64, "Total Cost": 50014.64, "Plan Rows": 7525, "Plan Width": 38, "Actual Startup Time": 545.035, "Actual Total Time": 568.194, "Actual Rows": 64032, "Actual Loops": 1, "Output": ["(SUBSTRING(customer.c_phone FROM 1 FOR 2))", "customer.c_acctbal"], "Workers Planned": 4, "Params Evaluated": ["$1"], "Workers Launched": 4, "Plans": [{"Node Type": "Sort", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 48113.58, "Total Cost": 48118.29, "Plan Rows": 1881, "Plan Width": 38, "Actual Startup Time": 297.511, "Actual Total Time": 298.356, "Actual Rows": 12806, "Actual Loops": 5, "Output": ["(SUBSTRING(customer.c_phone FROM 1 FOR 2))", "customer.c_acctbal"], "Sort Key": ["(SUBSTRING(customer.c_phone FROM 1 FOR 2))"], "Sort Method": "quicksort", "Sort Space Used": 1033, "Sort Space Type": "Memory", "Workers": [{"Worker Number": 0, "Actual Startup Time": 295.376, "Actual Total Time": 296.208, "Actual Rows": 11291, "Actual Loops": 1, "Sort Method": "quicksort", "Sort Space Used": 914, "Sort Space Type": "Memory"}, {"Worker Number": 1, "Actual Startup Time": 296.941, "Actual Total Time": 297.8, "Actual Rows": 13077, "Actual Loops": 1, "Sort Method": "quicksort", "Sort Space Used": 997, "Sort Space Type": "Memory"}, {"Worker Number": 2, "Actual Startup Time": 296.856, "Actual Total Time": 297.697, "Actual Rows": 12968, "Actual Loops": 1, "Sort Method": "quicksort", "Sort Space Used": 992, "Sort Space Type": "Memory"}, {"Worker Number": 3, "Actual Startup Time": 297.125, "Actual Total Time": 297.956, "Actual Rows": 12862, "Actual Loops": 1, "Sort Method": "quicksort", "Sort Space Used": 987, "Sort Space Type": "Memory"}], "Plans": [{"Node Type": "Nested Loop", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Join Type": "Anti", "Startup Cost": 0.43, "Total Cost": 48011.28, "Plan Rows": 1881, "Plan Width": 38, "Actual Startup Time": 0.114, "Actual Total Time": 292.744, "Actual Rows": 12806, "Actual Loops": 5, "Output": ["SUBSTRING(customer.c_phone FROM 1 FOR 2)", "customer.c_acctbal"], "Inner Unique": false, "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.124, "Actual Total Time": 291.124, "Actual Rows": 11291, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 0.117, "Actual Total Time": 292.104, "Actual Rows": 13077, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 0.119, "Actual Total Time": 291.879, "Actual Rows": 12968, "Actual Loops": 1}, {"Worker Number": 3, "Actual Startup Time": 0.186, "Actual Total Time": 292.094, "Actual Rows": 12862, "Actual Loops": 1}], "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": true, "Async Capable": false, "Relation Name": "customer", "Schema": "public", "Alias": "customer", "Startup Cost": 0.0, "Total Cost": 45670.75, "Plan Rows": 4375, "Plan Width": 26, "Actual Startup Time": 0.033, "Actual Total Time": 171.456, "Actual Rows": 38175, "Actual Loops": 5, "Output": ["customer.c_custkey", "customer.c_name", "customer.c_address", "customer.c_nationkey", "customer.c_phone", "customer.c_acctbal", "customer.c_mktsegment", "customer.c_comment"], "Filter": "((customer.c_acctbal > $1) AND (SUBSTRING(customer.c_phone FROM 1 FOR 2) = ANY ('{17,20,25,31,30,11,33}'::text[])))", "Rows Removed by Filter": 261825, "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.046, "Actual Total Time": 160.596, "Actual Rows": 33702, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 0.034, "Actual Total Time": 173.565, "Actual Rows": 38661, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 0.034, "Actual Total Time": 173.802, "Actual Rows": 38486, "Actual Loops": 1}, {"Worker Number": 3, "Actual Startup Time": 0.042, "Actual Total Time": 173.984, "Actual Rows": 38437, "Actual Loops": 1}]}, {"Node Type": "Index Only Scan", "Parent Relationship": "Inner", "Parallel Aware": false, "Async Capable": false, "Scan Direction": "Forward", "Index Name": "o_ck", "Relation Name": "orders", "Schema": "public", "Alias": "orders", "Startup Cost": 0.43, "Total Cost": 1.45, "Plan Rows": 18, "Plan Width": 4, "Actual Startup Time": 0.003, "Actual Total Time": 0.003, "Actual Rows": 1, "Actual Loops": 190873, "Output": ["orders.o_custkey"], "Index Cond": "(orders.o_custkey = customer.c_custkey)", "Rows Removed by Index Recheck": 0, "Heap Fetches": 0, "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.003, "Actual Total Time": 0.003, "Actual Rows": 1, "Actual Loops": 33702}, {"Worker Number": 1, "Actual Startup Time": 0.003, "Actual Total Time": 0.003, "Actual Rows": 1, "Actual Loops": 38661}, {"Worker Number": 2, "Actual Startup Time": 0.003, "Actual Total Time": 0.003, "Actual Rows": 1, "Actual Loops": 38486}, {"Worker Number": 3, "Actual Startup Time": 0.003, "Actual Total Time": 0.003, "Actual Rows": 1, "Actual Loops": 38437}]}]}]}]}]}, "Planning Time": 0.42, "Triggers": [], "Execution Time": 580.667} diff --git a/dev9/pg14/tpch/sf_10/explain_analyze/15721/3-1.ok b/dev9/pg14/tpch/sf_10/explain_analyze/15721/3-1.ok new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/dev9/pg14/tpch/sf_10/explain_analyze/15721/3-1.res b/dev9/pg14/tpch/sf_10/explain_analyze/15721/3-1.res new file mode 100644 index 0000000000000000000000000000000000000000..02147f8e1f584e3d8cec5d8ddbdd93a3812a0a18 --- /dev/null +++ b/dev9/pg14/tpch/sf_10/explain_analyze/15721/3-1.res @@ -0,0 +1 @@ +{"Plan": {"Node Type": "Limit", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 1355671.72, "Total Cost": 1355671.75, "Plan Rows": 10, "Plan Width": 44, "Actual Startup Time": 4327.054, "Actual Total Time": 5714.502, "Actual Rows": 10, "Actual Loops": 1, "Output": ["lineitem.l_orderkey", "(sum((lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount))))", "orders.o_orderdate", "orders.o_shippriority"], "Plans": [{"Node Type": "Sort", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 1355671.72, "Total Cost": 1363544.12, "Plan Rows": 3148957, "Plan Width": 44, "Actual Startup Time": 4327.053, "Actual Total Time": 5714.498, "Actual Rows": 10, "Actual Loops": 1, "Output": ["lineitem.l_orderkey", "(sum((lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount))))", "orders.o_orderdate", "orders.o_shippriority"], "Sort Key": ["(sum((lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount)))) DESC", "orders.o_orderdate"], "Sort Method": "top-N heapsort", "Sort Space Used": 26, "Sort Space Type": "Memory", "Plans": [{"Node Type": "Aggregate", "Strategy": "Sorted", "Partial Mode": "Simple", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 823988.34, "Total Cost": 1287623.9, "Plan Rows": 3148957, "Plan Width": 44, "Actual Startup Time": 4028.308, "Actual Total Time": 5688.313, "Actual Rows": 113340, "Actual Loops": 1, "Output": ["lineitem.l_orderkey", "sum((lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount)))", "orders.o_orderdate", "orders.o_shippriority"], "Group Key": ["lineitem.l_orderkey", "orders.o_orderdate", "orders.o_shippriority"], "Plans": [{"Node Type": "Gather Merge", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 823988.34, "Total Cost": 1201027.58, "Plan Rows": 3148957, "Plan Width": 24, "Actual Startup Time": 4028.284, "Actual Total Time": 5479.869, "Actual Rows": 298749, "Actual Loops": 1, "Output": ["lineitem.l_orderkey", "orders.o_orderdate", "orders.o_shippriority", "lineitem.l_extendedprice", "lineitem.l_discount"], "Workers Planned": 4, "Workers Launched": 4, "Plans": [{"Node Type": "Sort", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 822988.29, "Total Cost": 824956.38, "Plan Rows": 787239, "Plan Width": 24, "Actual Startup Time": 4021.345, "Actual Total Time": 4028.11, "Actual Rows": 59750, "Actual Loops": 5, "Output": ["lineitem.l_orderkey", "orders.o_orderdate", "orders.o_shippriority", "lineitem.l_extendedprice", "lineitem.l_discount"], "Sort Key": ["lineitem.l_orderkey", "orders.o_orderdate", "orders.o_shippriority"], "Sort Method": "quicksort", "Sort Space Used": 8397, "Sort Space Type": "Memory", "Workers": [{"Worker Number": 0, "Actual Startup Time": 4020.174, "Actual Total Time": 4026.847, "Actual Rows": 58369, "Actual Loops": 1, "Sort Method": "quicksort", "Sort Space Used": 6097, "Sort Space Type": "Memory"}, {"Worker Number": 1, "Actual Startup Time": 4019.472, "Actual Total Time": 4026.199, "Actual Rows": 57589, "Actual Loops": 1, "Sort Method": "quicksort", "Sort Space Used": 6036, "Sort Space Type": "Memory"}, {"Worker Number": 2, "Actual Startup Time": 4019.644, "Actual Total Time": 4026.373, "Actual Rows": 57357, "Actual Loops": 1, "Sort Method": "quicksort", "Sort Space Used": 6018, "Sort Space Type": "Memory"}, {"Worker Number": 3, "Actual Startup Time": 4019.574, "Actual Total Time": 4025.861, "Actual Rows": 57279, "Actual Loops": 1, "Sort Method": "quicksort", "Sort Space Used": 6011, "Sort Space Type": "Memory"}], "Plans": [{"Node Type": "Nested Loop", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Join Type": "Inner", "Startup Cost": 1.0, "Total Cost": 736435.58, "Plan Rows": 787239, "Plan Width": 24, "Actual Startup Time": 1.031, "Actual Total Time": 3989.587, "Actual Rows": 59750, "Actual Loops": 5, "Output": ["lineitem.l_orderkey", "orders.o_orderdate", "orders.o_shippriority", "lineitem.l_extendedprice", "lineitem.l_discount"], "Inner Unique": false, "Workers": [{"Worker Number": 0, "Actual Startup Time": 3.717, "Actual Total Time": 3988.814, "Actual Rows": 58369, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 0.263, "Actual Total Time": 3988.634, "Actual Rows": 57589, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 0.714, "Actual Total Time": 3988.904, "Actual Rows": 57357, "Actual Loops": 1}, {"Worker Number": 3, "Actual Startup Time": 0.318, "Actual Total Time": 3989.043, "Actual Rows": 57279, "Actual Loops": 1}], "Plans": [{"Node Type": "Nested Loop", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Join Type": "Inner", "Startup Cost": 0.43, "Total Cost": 183045.11, "Plan Rows": 366898, "Plan Width": 12, "Actual Startup Time": 0.144, "Actual Total Time": 1284.403, "Actual Rows": 292930, "Actual Loops": 5, "Output": ["orders.o_orderdate", "orders.o_shippriority", "orders.o_orderkey"], "Inner Unique": false, "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.201, "Actual Total Time": 1262.032, "Actual Rows": 285034, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 0.149, "Actual Total Time": 1261.763, "Actual Rows": 282133, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 0.139, "Actual Total Time": 1261.488, "Actual Rows": 279998, "Actual Loops": 1}, {"Worker Number": 3, "Actual Startup Time": 0.203, "Actual Total Time": 1264.505, "Actual Rows": 282128, "Actual Loops": 1}], "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": true, "Async Capable": false, "Relation Name": "customer", "Schema": "public", "Alias": "customer", "Startup Cost": 0.0, "Total Cost": 40514.5, "Plan Rows": 75195, "Plan Width": 4, "Actual Startup Time": 0.032, "Actual Total Time": 119.099, "Actual Rows": 59899, "Actual Loops": 5, "Output": ["customer.c_custkey", "customer.c_name", "customer.c_address", "customer.c_nationkey", "customer.c_phone", "customer.c_acctbal", "customer.c_mktsegment", "customer.c_comment"], "Filter": "(customer.c_mktsegment = 'FURNITURE'::bpchar)", "Rows Removed by Filter": 240101, "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.037, "Actual Total Time": 116.602, "Actual Rows": 58144, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 0.034, "Actual Total Time": 115.803, "Actual Rows": 57973, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 0.042, "Actual Total Time": 115.868, "Actual Rows": 57261, "Actual Loops": 1}, {"Worker Number": 3, "Actual Startup Time": 0.036, "Actual Total Time": 116.399, "Actual Rows": 57653, "Actual Loops": 1}]}, {"Node Type": "Index Scan", "Parent Relationship": "Inner", "Parallel Aware": false, "Async Capable": false, "Scan Direction": "Forward", "Index Name": "o_ck", "Relation Name": "orders", "Schema": "public", "Alias": "orders", "Startup Cost": 0.43, "Total Cost": 1.81, "Plan Rows": 9, "Plan Width": 16, "Actual Startup Time": 0.004, "Actual Total Time": 0.018, "Actual Rows": 5, "Actual Loops": 299496, "Output": ["orders.o_orderkey", "orders.o_custkey", "orders.o_orderstatus", "orders.o_totalprice", "orders.o_orderdate", "orders.o_orderpriority", "orders.o_clerk", "orders.o_shippriority", "orders.o_comment"], "Index Cond": "(orders.o_custkey = customer.c_custkey)", "Rows Removed by Index Recheck": 0, "Filter": "(orders.o_orderdate < '1995-03-20'::date)", "Rows Removed by Filter": 5, "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.004, "Actual Total Time": 0.018, "Actual Rows": 5, "Actual Loops": 58144}, {"Worker Number": 1, "Actual Startup Time": 0.004, "Actual Total Time": 0.019, "Actual Rows": 5, "Actual Loops": 57973}, {"Worker Number": 2, "Actual Startup Time": 0.004, "Actual Total Time": 0.019, "Actual Rows": 5, "Actual Loops": 57261}, {"Worker Number": 3, "Actual Startup Time": 0.004, "Actual Total Time": 0.019, "Actual Rows": 5, "Actual Loops": 57653}]}]}, {"Node Type": "Index Scan", "Parent Relationship": "Inner", "Parallel Aware": false, "Async Capable": false, "Scan Direction": "Forward", "Index Name": "l_ok", "Relation Name": "lineitem", "Schema": "public", "Alias": "lineitem", "Startup Cost": 0.56, "Total Cost": 1.35, "Plan Rows": 16, "Plan Width": 16, "Actual Startup Time": 0.009, "Actual Total Time": 0.009, "Actual Rows": 0, "Actual Loops": 1464651, "Output": ["lineitem.l_orderkey", "lineitem.l_partkey", "lineitem.l_suppkey", "lineitem.l_linenumber", "lineitem.l_quantity", "lineitem.l_extendedprice", "lineitem.l_discount", "lineitem.l_tax", "lineitem.l_returnflag", "lineitem.l_linestatus", "lineitem.l_shipdate", "lineitem.l_commitdate", "lineitem.l_receiptdate", "lineitem.l_shipinstruct", "lineitem.l_shipmode", "lineitem.l_comment"], "Index Cond": "(lineitem.l_orderkey = orders.o_orderkey)", "Rows Removed by Index Recheck": 0, "Filter": "(lineitem.l_shipdate > '1995-03-20'::date)", "Rows Removed by Filter": 4, "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.009, "Actual Total Time": 0.009, "Actual Rows": 0, "Actual Loops": 285034}, {"Worker Number": 1, "Actual Startup Time": 0.009, "Actual Total Time": 0.009, "Actual Rows": 0, "Actual Loops": 282133}, {"Worker Number": 2, "Actual Startup Time": 0.009, "Actual Total Time": 0.009, "Actual Rows": 0, "Actual Loops": 279998}, {"Worker Number": 3, "Actual Startup Time": 0.009, "Actual Total Time": 0.009, "Actual Rows": 0, "Actual Loops": 282128}]}]}]}]}]}]}]}, "Planning Time": 1.02, "Triggers": [], "Execution Time": 5714.568} diff --git a/dev9/pg14/tpch/sf_10/explain_analyze/15721/4-1.ok b/dev9/pg14/tpch/sf_10/explain_analyze/15721/4-1.ok new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/dev9/pg14/tpch/sf_10/explain_analyze/15721/4-1.res b/dev9/pg14/tpch/sf_10/explain_analyze/15721/4-1.res new file mode 100644 index 0000000000000000000000000000000000000000..3e4c6d7a6ce3f5deab629ae03ede04781df28853 --- /dev/null +++ b/dev9/pg14/tpch/sf_10/explain_analyze/15721/4-1.res @@ -0,0 +1 @@ +{"Plan": {"Node Type": "Aggregate", "Strategy": "Sorted", "Partial Mode": "Finalize", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 342217.63, "Total Cost": 342316.9, "Plan Rows": 5, "Plan Width": 24, "Actual Startup Time": 1053.728, "Actual Total Time": 1233.22, "Actual Rows": 5, "Actual Loops": 1, "Output": ["orders.o_orderpriority", "count(*)"], "Group Key": ["orders.o_orderpriority"], "Plans": [{"Node Type": "Gather Merge", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 342217.63, "Total Cost": 342316.7, "Plan Rows": 30, "Plan Width": 24, "Actual Startup Time": 1049.284, "Actual Total Time": 1233.201, "Actual Rows": 35, "Actual Loops": 1, "Output": ["orders.o_orderpriority", "(PARTIAL count(*))"], "Workers Planned": 6, "Workers Launched": 6, "Plans": [{"Node Type": "Aggregate", "Strategy": "Sorted", "Partial Mode": "Partial", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 341217.53, "Total Cost": 341312.95, "Plan Rows": 5, "Plan Width": 24, "Actual Startup Time": 1036.836, "Actual Total Time": 1048.214, "Actual Rows": 5, "Actual Loops": 7, "Output": ["orders.o_orderpriority", "PARTIAL count(*)"], "Group Key": ["orders.o_orderpriority"], "Workers": [{"Worker Number": 0, "Actual Startup Time": 1035.183, "Actual Total Time": 1045.684, "Actual Rows": 5, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 1036.202, "Actual Total Time": 1046.995, "Actual Rows": 5, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 1035.246, "Actual Total Time": 1045.871, "Actual Rows": 5, "Actual Loops": 1}, {"Worker Number": 3, "Actual Startup Time": 1034.515, "Actual Total Time": 1045.124, "Actual Rows": 5, "Actual Loops": 1}, {"Worker Number": 4, "Actual Startup Time": 1035.127, "Actual Total Time": 1045.655, "Actual Rows": 5, "Actual Loops": 1}, {"Worker Number": 5, "Actual Startup Time": 1032.78, "Actual Total Time": 1041.829, "Actual Rows": 5, "Actual Loops": 1}], "Plans": [{"Node Type": "Sort", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 341217.53, "Total Cost": 341249.32, "Plan Rows": 12716, "Plan Width": 16, "Actual Startup Time": 1033.975, "Actual Total Time": 1038.268, "Actual Rows": 74276, "Actual Loops": 7, "Output": ["orders.o_orderpriority"], "Sort Key": ["orders.o_orderpriority"], "Sort Method": "quicksort", "Sort Space Used": 8327, "Sort Space Type": "Memory", "Workers": [{"Worker Number": 0, "Actual Startup Time": 1032.503, "Actual Total Time": 1036.485, "Actual Rows": 69392, "Actual Loops": 1, "Sort Method": "quicksort", "Sort Space Used": 6325, "Sort Space Type": "Memory"}, {"Worker Number": 1, "Actual Startup Time": 1033.559, "Actual Total Time": 1037.636, "Actual Rows": 69928, "Actual Loops": 1, "Sort Method": "quicksort", "Sort Space Used": 6350, "Sort Space Type": "Memory"}, {"Worker Number": 2, "Actual Startup Time": 1032.586, "Actual Total Time": 1036.607, "Actual Rows": 70000, "Actual Loops": 1, "Sort Method": "quicksort", "Sort Space Used": 6354, "Sort Space Type": "Memory"}, {"Worker Number": 3, "Actual Startup Time": 1031.847, "Actual Total Time": 1035.848, "Actual Rows": 69757, "Actual Loops": 1, "Sort Method": "quicksort", "Sort Space Used": 6342, "Sort Space Type": "Memory"}, {"Worker Number": 4, "Actual Startup Time": 1032.495, "Actual Total Time": 1036.472, "Actual Rows": 69250, "Actual Loops": 1, "Sort Method": "quicksort", "Sort Space Used": 6319, "Sort Space Type": "Memory"}, {"Worker Number": 5, "Actual Startup Time": 1030.498, "Actual Total Time": 1033.904, "Actual Rows": 59515, "Actual Loops": 1, "Sort Method": "quicksort", "Sort Space Used": 4326, "Sort Space Type": "Memory"}], "Plans": [{"Node Type": "Nested Loop", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Join Type": "Semi", "Startup Cost": 6398.63, "Total Cost": 340350.66, "Plan Rows": 12716, "Plan Width": 16, "Actual Startup Time": 171.142, "Actual Total Time": 1009.105, "Actual Rows": 74276, "Actual Loops": 7, "Output": ["orders.o_orderpriority"], "Inner Unique": false, "Workers": [{"Worker Number": 0, "Actual Startup Time": 170.533, "Actual Total Time": 1008.921, "Actual Rows": 69392, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 170.547, "Actual Total Time": 1008.857, "Actual Rows": 69928, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 170.558, "Actual Total Time": 1008.86, "Actual Rows": 70000, "Actual Loops": 1}, {"Worker Number": 3, "Actual Startup Time": 170.559, "Actual Total Time": 1008.91, "Actual Rows": 69757, "Actual Loops": 1}, {"Worker Number": 4, "Actual Startup Time": 170.542, "Actual Total Time": 1008.925, "Actual Rows": 69250, "Actual Loops": 1}, {"Worker Number": 5, "Actual Startup Time": 170.554, "Actual Total Time": 1010.757, "Actual Rows": 59515, "Actual Loops": 1}], "Plans": [{"Node Type": "Bitmap Heap Scan", "Parent Relationship": "Outer", "Parallel Aware": true, "Async Capable": false, "Relation Name": "orders", "Schema": "public", "Alias": "orders", "Startup Cost": 6398.07, "Total Cost": 268739.27, "Plan Rows": 95280, "Plan Width": 20, "Actual Startup Time": 171.042, "Actual Total Time": 375.557, "Actual Rows": 81014, "Actual Loops": 7, "Output": ["orders.o_orderkey", "orders.o_custkey", "orders.o_orderstatus", "orders.o_totalprice", "orders.o_orderdate", "orders.o_orderpriority", "orders.o_clerk", "orders.o_shippriority", "orders.o_comment"], "Recheck Cond": "((orders.o_orderdate >= '1996-01-01'::date) AND (orders.o_orderdate < '1996-04-01 00:00:00'::timestamp without time zone))", "Rows Removed by Index Recheck": 0, "Exact Heap Blocks": 50274, "Lossy Heap Blocks": 0, "Workers": [{"Worker Number": 0, "Actual Startup Time": 170.414, "Actual Total Time": 380.15, "Actual Rows": 75632, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 170.429, "Actual Total Time": 379.051, "Actual Rows": 76349, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 170.444, "Actual Total Time": 379.216, "Actual Rows": 76353, "Actual Loops": 1}, {"Worker Number": 3, "Actual Startup Time": 170.468, "Actual Total Time": 379.336, "Actual Rows": 75975, "Actual Loops": 1}, {"Worker Number": 4, "Actual Startup Time": 170.415, "Actual Total Time": 380.287, "Actual Rows": 75445, "Actual Loops": 1}, {"Worker Number": 5, "Actual Startup Time": 170.461, "Actual Total Time": 390.231, "Actual Rows": 64976, "Actual Loops": 1}], "Plans": [{"Node Type": "Bitmap Index Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Index Name": "o_od", "Startup Cost": 0.0, "Total Cost": 6255.15, "Plan Rows": 571681, "Plan Width": 0, "Actual Startup Time": 96.371, "Actual Total Time": 96.372, "Actual Rows": 567099, "Actual Loops": 1, "Index Cond": "((orders.o_orderdate >= '1996-01-01'::date) AND (orders.o_orderdate < '1996-04-01 00:00:00'::timestamp without time zone))", "Workers": []}]}, {"Node Type": "Index Scan", "Parent Relationship": "Inner", "Parallel Aware": false, "Async Capable": false, "Scan Direction": "Forward", "Index Name": "l_ok", "Relation Name": "lineitem", "Schema": "public", "Alias": "lineitem", "Startup Cost": 0.56, "Total Cost": 2.22, "Plan Rows": 10, "Plan Width": 4, "Actual Startup Time": 0.007, "Actual Total Time": 0.007, "Actual Rows": 1, "Actual Loops": 567099, "Output": ["lineitem.l_orderkey", "lineitem.l_partkey", "lineitem.l_suppkey", "lineitem.l_linenumber", "lineitem.l_quantity", "lineitem.l_extendedprice", "lineitem.l_discount", "lineitem.l_tax", "lineitem.l_returnflag", "lineitem.l_linestatus", "lineitem.l_shipdate", "lineitem.l_commitdate", "lineitem.l_receiptdate", "lineitem.l_shipinstruct", "lineitem.l_shipmode", "lineitem.l_comment"], "Index Cond": "(lineitem.l_orderkey = orders.o_orderkey)", "Rows Removed by Index Recheck": 0, "Filter": "(lineitem.l_commitdate < lineitem.l_receiptdate)", "Rows Removed by Filter": 1, "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.008, "Actual Total Time": 0.008, "Actual Rows": 1, "Actual Loops": 75632}, {"Worker Number": 1, "Actual Startup Time": 0.008, "Actual Total Time": 0.008, "Actual Rows": 1, "Actual Loops": 76349}, {"Worker Number": 2, "Actual Startup Time": 0.008, "Actual Total Time": 0.008, "Actual Rows": 1, "Actual Loops": 76353}, {"Worker Number": 3, "Actual Startup Time": 0.008, "Actual Total Time": 0.008, "Actual Rows": 1, "Actual Loops": 75975}, {"Worker Number": 4, "Actual Startup Time": 0.008, "Actual Total Time": 0.008, "Actual Rows": 1, "Actual Loops": 75445}, {"Worker Number": 5, "Actual Startup Time": 0.009, "Actual Total Time": 0.009, "Actual Rows": 1, "Actual Loops": 64976}]}]}]}]}]}]}, "Planning Time": 0.496, "Triggers": [], "Execution Time": 1233.291} diff --git a/dev9/pg14/tpch/sf_10/explain_analyze/15721/5-1.ok b/dev9/pg14/tpch/sf_10/explain_analyze/15721/5-1.ok new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/dev9/pg14/tpch/sf_10/explain_analyze/15721/5-1.res b/dev9/pg14/tpch/sf_10/explain_analyze/15721/5-1.res new file mode 100644 index 0000000000000000000000000000000000000000..4466f601093211707cad97e1a5ed3d5e704e603d --- /dev/null +++ b/dev9/pg14/tpch/sf_10/explain_analyze/15721/5-1.res @@ -0,0 +1 @@ +{"Plan": {"Node Type": "Sort", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 356264.33, "Total Cost": 356264.4, "Plan Rows": 25, "Plan Width": 58, "Actual Startup Time": 2376.878, "Actual Total Time": 2634.543, "Actual Rows": 5, "Actual Loops": 1, "Output": ["nation.n_name", "(sum((lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount))))"], "Sort Key": ["(sum((lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount)))) DESC"], "Sort Method": "quicksort", "Sort Space Used": 25, "Sort Space Type": "Memory", "Plans": [{"Node Type": "Aggregate", "Strategy": "Sorted", "Partial Mode": "Finalize", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 356022.97, "Total Cost": 356263.75, "Plan Rows": 25, "Plan Width": 58, "Actual Startup Time": 2369.866, "Actual Total Time": 2634.531, "Actual Rows": 5, "Actual Loops": 1, "Output": ["nation.n_name", "sum((lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount)))"], "Group Key": ["nation.n_name"], "Plans": [{"Node Type": "Gather Merge", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 356022.97, "Total Cost": 356262.69, "Plan Rows": 100, "Plan Width": 58, "Actual Startup Time": 2367.867, "Actual Total Time": 2634.496, "Actual Rows": 25, "Actual Loops": 1, "Output": ["nation.n_name", "(PARTIAL sum((lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount))))"], "Workers Planned": 4, "Workers Launched": 4, "Plans": [{"Node Type": "Aggregate", "Strategy": "Sorted", "Partial Mode": "Partial", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 355022.91, "Total Cost": 355250.72, "Plan Rows": 25, "Plan Width": 58, "Actual Startup Time": 2363.171, "Actual Total Time": 2369.876, "Actual Rows": 5, "Actual Loops": 5, "Output": ["nation.n_name", "PARTIAL sum((lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount)))"], "Group Key": ["nation.n_name"], "Workers": [{"Worker Number": 0, "Actual Startup Time": 2361.748, "Actual Total Time": 2368.224, "Actual Rows": 5, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 2362.442, "Actual Total Time": 2368.807, "Actual Rows": 5, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 2362.213, "Actual Total Time": 2368.562, "Actual Rows": 5, "Actual Loops": 1}, {"Worker Number": 3, "Actual Startup Time": 2362.151, "Actual Total Time": 2368.534, "Actual Rows": 5, "Actual Loops": 1}], "Plans": [{"Node Type": "Sort", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 355022.91, "Total Cost": 355068.41, "Plan Rows": 18200, "Plan Width": 38, "Actual Startup Time": 2361.502, "Actual Total Time": 2362.428, "Actual Rows": 14545, "Actual Loops": 5, "Output": ["nation.n_name", "lineitem.l_extendedprice", "lineitem.l_discount"], "Sort Key": ["nation.n_name"], "Sort Method": "quicksort", "Sort Space Used": 2106, "Sort Space Type": "Memory", "Workers": [{"Worker Number": 0, "Actual Startup Time": 2360.185, "Actual Total Time": 2361.066, "Actual Rows": 13995, "Actual Loops": 1, "Sort Method": "quicksort", "Sort Space Used": 1478, "Sort Space Type": "Memory"}, {"Worker Number": 1, "Actual Startup Time": 2360.784, "Actual Total Time": 2361.678, "Actual Rows": 13928, "Actual Loops": 1, "Sort Method": "quicksort", "Sort Space Used": 1473, "Sort Space Type": "Memory"}, {"Worker Number": 2, "Actual Startup Time": 2360.638, "Actual Total Time": 2361.51, "Actual Rows": 13792, "Actual Loops": 1, "Sort Method": "quicksort", "Sort Space Used": 1462, "Sort Space Type": "Memory"}, {"Worker Number": 3, "Actual Startup Time": 2360.552, "Actual Total Time": 2361.432, "Actual Rows": 13889, "Actual Loops": 1, "Sort Method": "quicksort", "Sort Space Used": 1470, "Sort Space Type": "Memory"}], "Plans": [{"Node Type": "Hash Join", "Parent Relationship": "Outer", "Parallel Aware": true, "Async Capable": false, "Join Type": "Inner", "Startup Cost": 3690.1, "Total Cost": 353735.11, "Plan Rows": 18200, "Plan Width": 38, "Actual Startup Time": 16.676, "Actual Total Time": 2354.715, "Actual Rows": 14545, "Actual Loops": 5, "Output": ["nation.n_name", "lineitem.l_extendedprice", "lineitem.l_discount"], "Inner Unique": true, "Hash Cond": "((lineitem.l_suppkey = supplier.s_suppkey) AND (customer.c_nationkey = supplier.s_nationkey))", "Workers": [{"Worker Number": 0, "Actual Startup Time": 14.971, "Actual Total Time": 2353.588, "Actual Rows": 13995, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 14.176, "Actual Total Time": 2353.943, "Actual Rows": 13928, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 20.888, "Actual Total Time": 2354.127, "Actual Rows": 13792, "Actual Loops": 1}, {"Worker Number": 3, "Actual Startup Time": 14.168, "Actual Total Time": 2353.759, "Actual Rows": 13889, "Actual Loops": 1}], "Plans": [{"Node Type": "Nested Loop", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Join Type": "Inner", "Startup Cost": 3.51, "Total Cost": 347655.97, "Plan Rows": 455722, "Plan Width": 50, "Actual Startup Time": 0.362, "Actual Total Time": 2248.032, "Actual Rows": 363271, "Actual Loops": 5, "Output": ["customer.c_nationkey", "lineitem.l_extendedprice", "lineitem.l_discount", "lineitem.l_suppkey", "nation.n_name", "nation.n_nationkey"], "Inner Unique": false, "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.579, "Actual Total Time": 2251.864, "Actual Rows": 349538, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 0.45, "Actual Total Time": 2251.207, "Actual Rows": 347618, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 0.331, "Actual Total Time": 2252.133, "Actual Rows": 345133, "Actual Loops": 1}, {"Worker Number": 3, "Actual Startup Time": 0.346, "Actual Total Time": 2251.969, "Actual Rows": 347800, "Actual Loops": 1}], "Plans": [{"Node Type": "Nested Loop", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Join Type": "Inner", "Startup Cost": 2.94, "Total Cost": 122182.42, "Plan Rows": 113955, "Plan Width": 38, "Actual Startup Time": 0.281, "Actual Total Time": 1217.665, "Actual Rows": 90894, "Actual Loops": 5, "Output": ["customer.c_nationkey", "orders.o_orderkey", "nation.n_name", "nation.n_nationkey"], "Inner Unique": false, "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.487, "Actual Total Time": 1191.316, "Actual Rows": 87478, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 0.34, "Actual Total Time": 1189.263, "Actual Rows": 86860, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 0.23, "Actual Total Time": 1191.357, "Actual Rows": 86225, "Actual Loops": 1}, {"Worker Number": 3, "Actual Startup Time": 0.259, "Actual Total Time": 1187.665, "Actual Rows": 87209, "Actual Loops": 1}], "Plans": [{"Node Type": "Hash Join", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Join Type": "Inner", "Startup Cost": 2.51, "Total Cost": 41735.76, "Plan Rows": 75000, "Plan Width": 38, "Actual Startup Time": 0.108, "Actual Total Time": 142.691, "Actual Rows": 59887, "Actual Loops": 5, "Output": ["customer.c_custkey", "customer.c_nationkey", "nation.n_name", "nation.n_nationkey"], "Inner Unique": false, "Hash Cond": "(customer.c_nationkey = nation.n_nationkey)", "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.12, "Actual Total Time": 139.34, "Actual Rows": 57894, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 0.129, "Actual Total Time": 139.19, "Actual Rows": 57432, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 0.119, "Actual Total Time": 137.237, "Actual Rows": 56912, "Actual Loops": 1}, {"Worker Number": 3, "Actual Startup Time": 0.12, "Actual Total Time": 137.288, "Actual Rows": 57004, "Actual Loops": 1}], "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": true, "Async Capable": false, "Relation Name": "customer", "Schema": "public", "Alias": "customer", "Startup Cost": 0.0, "Total Cost": 39577.0, "Plan Rows": 375000, "Plan Width": 8, "Actual Startup Time": 0.023, "Actual Total Time": 30.732, "Actual Rows": 300000, "Actual Loops": 5, "Output": ["customer.c_custkey", "customer.c_name", "customer.c_address", "customer.c_nationkey", "customer.c_phone", "customer.c_acctbal", "customer.c_mktsegment", "customer.c_comment"], "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.026, "Actual Total Time": 30.226, "Actual Rows": 291032, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 0.031, "Actual Total Time": 30.072, "Actual Rows": 289501, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 0.025, "Actual Total Time": 29.48, "Actual Rows": 282782, "Actual Loops": 1}, {"Worker Number": 3, "Actual Startup Time": 0.028, "Actual Total Time": 29.593, "Actual Rows": 284491, "Actual Loops": 1}]}, {"Node Type": "Hash", "Parent Relationship": "Inner", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 2.45, "Total Cost": 2.45, "Plan Rows": 5, "Plan Width": 30, "Actual Startup Time": 0.067, "Actual Total Time": 0.069, "Actual Rows": 5, "Actual Loops": 5, "Output": ["nation.n_name", "nation.n_nationkey"], "Hash Buckets": 1024, "Original Hash Buckets": 1024, "Hash Batches": 1, "Original Hash Batches": 1, "Peak Memory Usage": 9, "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.071, "Actual Total Time": 0.074, "Actual Rows": 5, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 0.076, "Actual Total Time": 0.079, "Actual Rows": 5, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 0.073, "Actual Total Time": 0.076, "Actual Rows": 5, "Actual Loops": 1}, {"Worker Number": 3, "Actual Startup Time": 0.076, "Actual Total Time": 0.079, "Actual Rows": 5, "Actual Loops": 1}], "Plans": [{"Node Type": "Hash Join", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Join Type": "Inner", "Startup Cost": 1.07, "Total Cost": 2.45, "Plan Rows": 5, "Plan Width": 30, "Actual Startup Time": 0.056, "Actual Total Time": 0.065, "Actual Rows": 5, "Actual Loops": 5, "Output": ["nation.n_name", "nation.n_nationkey"], "Inner Unique": true, "Hash Cond": "(nation.n_regionkey = region.r_regionkey)", "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.062, "Actual Total Time": 0.07, "Actual Rows": 5, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 0.066, "Actual Total Time": 0.074, "Actual Rows": 5, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 0.063, "Actual Total Time": 0.072, "Actual Rows": 5, "Actual Loops": 1}, {"Worker Number": 3, "Actual Startup Time": 0.065, "Actual Total Time": 0.074, "Actual Rows": 5, "Actual Loops": 1}], "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Relation Name": "nation", "Schema": "public", "Alias": "nation", "Startup Cost": 0.0, "Total Cost": 1.25, "Plan Rows": 25, "Plan Width": 34, "Actual Startup Time": 0.018, "Actual Total Time": 0.021, "Actual Rows": 25, "Actual Loops": 5, "Output": ["nation.n_nationkey", "nation.n_name", "nation.n_regionkey", "nation.n_comment"], "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.02, "Actual Total Time": 0.022, "Actual Rows": 25, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 0.023, "Actual Total Time": 0.025, "Actual Rows": 25, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 0.021, "Actual Total Time": 0.023, "Actual Rows": 25, "Actual Loops": 1}, {"Worker Number": 3, "Actual Startup Time": 0.022, "Actual Total Time": 0.024, "Actual Rows": 25, "Actual Loops": 1}]}, {"Node Type": "Hash", "Parent Relationship": "Inner", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 1.06, "Total Cost": 1.06, "Plan Rows": 1, "Plan Width": 4, "Actual Startup Time": 0.023, "Actual Total Time": 0.024, "Actual Rows": 1, "Actual Loops": 5, "Output": ["region.r_regionkey"], "Hash Buckets": 1024, "Original Hash Buckets": 1024, "Hash Batches": 1, "Original Hash Batches": 1, "Peak Memory Usage": 9, "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.024, "Actual Total Time": 0.025, "Actual Rows": 1, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 0.026, "Actual Total Time": 0.027, "Actual Rows": 1, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 0.025, "Actual Total Time": 0.026, "Actual Rows": 1, "Actual Loops": 1}, {"Worker Number": 3, "Actual Startup Time": 0.027, "Actual Total Time": 0.027, "Actual Rows": 1, "Actual Loops": 1}], "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Relation Name": "region", "Schema": "public", "Alias": "region", "Startup Cost": 0.0, "Total Cost": 1.06, "Plan Rows": 1, "Plan Width": 4, "Actual Startup Time": 0.018, "Actual Total Time": 0.02, "Actual Rows": 1, "Actual Loops": 5, "Output": ["region.r_regionkey"], "Filter": "(region.r_name = 'AMERICA'::bpchar)", "Rows Removed by Filter": 4, "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.02, "Actual Total Time": 0.021, "Actual Rows": 1, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 0.021, "Actual Total Time": 0.022, "Actual Rows": 1, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 0.021, "Actual Total Time": 0.022, "Actual Rows": 1, "Actual Loops": 1}, {"Worker Number": 3, "Actual Startup Time": 0.022, "Actual Total Time": 0.024, "Actual Rows": 1, "Actual Loops": 1}]}]}]}]}]}, {"Node Type": "Index Scan", "Parent Relationship": "Inner", "Parallel Aware": false, "Async Capable": false, "Scan Direction": "Forward", "Index Name": "o_ck", "Relation Name": "orders", "Schema": "public", "Alias": "orders", "Startup Cost": 0.43, "Total Cost": 1.04, "Plan Rows": 3, "Plan Width": 8, "Actual Startup Time": 0.008, "Actual Total Time": 0.017, "Actual Rows": 2, "Actual Loops": 299436, "Output": ["orders.o_orderkey", "orders.o_custkey", "orders.o_orderstatus", "orders.o_totalprice", "orders.o_orderdate", "orders.o_orderpriority", "orders.o_clerk", "orders.o_shippriority", "orders.o_comment"], "Index Cond": "(orders.o_custkey = customer.c_custkey)", "Rows Removed by Index Recheck": 0, "Filter": "((orders.o_orderdate >= '1995-01-01'::date) AND (orders.o_orderdate < '1996-01-01 00:00:00'::timestamp without time zone))", "Rows Removed by Filter": 8, "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.008, "Actual Total Time": 0.018, "Actual Rows": 2, "Actual Loops": 57894}, {"Worker Number": 1, "Actual Startup Time": 0.008, "Actual Total Time": 0.018, "Actual Rows": 2, "Actual Loops": 57432}, {"Worker Number": 2, "Actual Startup Time": 0.008, "Actual Total Time": 0.018, "Actual Rows": 2, "Actual Loops": 56912}, {"Worker Number": 3, "Actual Startup Time": 0.008, "Actual Total Time": 0.018, "Actual Rows": 2, "Actual Loops": 57004}]}]}, {"Node Type": "Index Scan", "Parent Relationship": "Inner", "Parallel Aware": false, "Async Capable": false, "Scan Direction": "Forward", "Index Name": "l_ok", "Relation Name": "lineitem", "Schema": "public", "Alias": "lineitem", "Startup Cost": 0.56, "Total Cost": 1.68, "Plan Rows": 30, "Plan Width": 20, "Actual Startup Time": 0.009, "Actual Total Time": 0.01, "Actual Rows": 4, "Actual Loops": 454468, "Output": ["lineitem.l_orderkey", "lineitem.l_partkey", "lineitem.l_suppkey", "lineitem.l_linenumber", "lineitem.l_quantity", "lineitem.l_extendedprice", "lineitem.l_discount", "lineitem.l_tax", "lineitem.l_returnflag", "lineitem.l_linestatus", "lineitem.l_shipdate", "lineitem.l_commitdate", "lineitem.l_receiptdate", "lineitem.l_shipinstruct", "lineitem.l_shipmode", "lineitem.l_comment"], "Index Cond": "(lineitem.l_orderkey = orders.o_orderkey)", "Rows Removed by Index Recheck": 0, "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.01, "Actual Total Time": 0.011, "Actual Rows": 4, "Actual Loops": 87478}, {"Worker Number": 1, "Actual Startup Time": 0.01, "Actual Total Time": 0.011, "Actual Rows": 4, "Actual Loops": 86860}, {"Worker Number": 2, "Actual Startup Time": 0.01, "Actual Total Time": 0.011, "Actual Rows": 4, "Actual Loops": 86225}, {"Worker Number": 3, "Actual Startup Time": 0.01, "Actual Total Time": 0.011, "Actual Rows": 4, "Actual Loops": 87209}]}]}, {"Node Type": "Hash", "Parent Relationship": "Inner", "Parallel Aware": true, "Async Capable": false, "Startup Cost": 2804.24, "Total Cost": 2804.24, "Plan Rows": 58824, "Plan Width": 8, "Actual Startup Time": 14.238, "Actual Total Time": 14.238, "Actual Rows": 20000, "Actual Loops": 5, "Output": ["supplier.s_suppkey", "supplier.s_nationkey"], "Hash Buckets": 131072, "Original Hash Buckets": 131072, "Hash Batches": 1, "Original Hash Batches": 1, "Peak Memory Usage": 5024, "Workers": [{"Worker Number": 0, "Actual Startup Time": 13.607, "Actual Total Time": 13.607, "Actual Rows": 18006, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 13.611, "Actual Total Time": 13.611, "Actual Rows": 17919, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 13.61, "Actual Total Time": 13.611, "Actual Rows": 17785, "Actual Loops": 1}, {"Worker Number": 3, "Actual Startup Time": 13.603, "Actual Total Time": 13.604, "Actual Rows": 17214, "Actual Loops": 1}], "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": true, "Async Capable": false, "Relation Name": "supplier", "Schema": "public", "Alias": "supplier", "Startup Cost": 0.0, "Total Cost": 2804.24, "Plan Rows": 58824, "Plan Width": 8, "Actual Startup Time": 0.012, "Actual Total Time": 7.041, "Actual Rows": 20000, "Actual Loops": 5, "Output": ["supplier.s_suppkey", "supplier.s_nationkey"], "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.012, "Actual Total Time": 6.899, "Actual Rows": 18006, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 0.012, "Actual Total Time": 6.861, "Actual Rows": 17919, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 0.018, "Actual Total Time": 6.888, "Actual Rows": 17785, "Actual Loops": 1}, {"Worker Number": 3, "Actual Startup Time": 0.012, "Actual Total Time": 6.608, "Actual Rows": 17214, "Actual Loops": 1}]}]}]}]}]}]}]}]}, "Planning Time": 2.934, "Triggers": [], "Execution Time": 2634.639} diff --git a/dev9/pg14/tpch/sf_10/explain_analyze/15721/6-1.ok b/dev9/pg14/tpch/sf_10/explain_analyze/15721/6-1.ok new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/dev9/pg14/tpch/sf_10/explain_analyze/15721/6-1.res b/dev9/pg14/tpch/sf_10/explain_analyze/15721/6-1.res new file mode 100644 index 0000000000000000000000000000000000000000..1176196cb54ab966aa0a5b5a41661dbe8606c67d --- /dev/null +++ b/dev9/pg14/tpch/sf_10/explain_analyze/15721/6-1.res @@ -0,0 +1 @@ +{"Plan": {"Node Type": "Aggregate", "Strategy": "Plain", "Partial Mode": "Finalize", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 1319169.97, "Total Cost": 1319169.98, "Plan Rows": 1, "Plan Width": 32, "Actual Startup Time": 1778.438, "Actual Total Time": 1828.133, "Actual Rows": 1, "Actual Loops": 1, "Output": ["sum((l_extendedprice * l_discount))"], "Plans": [{"Node Type": "Gather", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 1319169.22, "Total Cost": 1319169.93, "Plan Rows": 7, "Plan Width": 32, "Actual Startup Time": 1778.323, "Actual Total Time": 1828.115, "Actual Rows": 8, "Actual Loops": 1, "Output": ["(PARTIAL sum((l_extendedprice * l_discount)))"], "Workers Planned": 7, "Workers Launched": 7, "Single Copy": false, "Plans": [{"Node Type": "Aggregate", "Strategy": "Plain", "Partial Mode": "Partial", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 1318169.22, "Total Cost": 1318169.23, "Plan Rows": 1, "Plan Width": 32, "Actual Startup Time": 1774.156, "Actual Total Time": 1774.157, "Actual Rows": 1, "Actual Loops": 8, "Output": ["PARTIAL sum((l_extendedprice * l_discount))"], "Workers": [{"Worker Number": 0, "Actual Startup Time": 1773.568, "Actual Total Time": 1773.569, "Actual Rows": 1, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 1773.651, "Actual Total Time": 1773.652, "Actual Rows": 1, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 1773.754, "Actual Total Time": 1773.754, "Actual Rows": 1, "Actual Loops": 1}, {"Worker Number": 3, "Actual Startup Time": 1773.748, "Actual Total Time": 1773.749, "Actual Rows": 1, "Actual Loops": 1}, {"Worker Number": 4, "Actual Startup Time": 1772.967, "Actual Total Time": 1772.969, "Actual Rows": 1, "Actual Loops": 1}, {"Worker Number": 5, "Actual Startup Time": 1773.762, "Actual Total Time": 1773.763, "Actual Rows": 1, "Actual Loops": 1}, {"Worker Number": 6, "Actual Startup Time": 1773.914, "Actual Total Time": 1773.915, "Actual Rows": 1, "Actual Loops": 1}], "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": true, "Async Capable": false, "Relation Name": "lineitem", "Schema": "public", "Alias": "lineitem", "Startup Cost": 0.0, "Total Cost": 1317356.01, "Plan Rows": 162643, "Plan Width": 12, "Actual Startup Time": 0.06, "Actual Total Time": 1729.707, "Actual Rows": 143005, "Actual Loops": 8, "Output": ["l_orderkey", "l_partkey", "l_suppkey", "l_linenumber", "l_quantity", "l_extendedprice", "l_discount", "l_tax", "l_returnflag", "l_linestatus", "l_shipdate", "l_commitdate", "l_receiptdate", "l_shipinstruct", "l_shipmode", "l_comment"], "Filter": "((lineitem.l_shipdate >= '1995-01-01'::date) AND (lineitem.l_shipdate < '1996-01-01 00:00:00'::timestamp without time zone) AND (lineitem.l_discount >= 0.04) AND (lineitem.l_discount <= 0.06) AND (lineitem.l_quantity < '24'::numeric))", "Rows Removed by Filter": 7355252, "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.06, "Actual Total Time": 1729.024, "Actual Rows": 142287, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 0.039, "Actual Total Time": 1729.286, "Actual Rows": 141798, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 0.056, "Actual Total Time": 1729.465, "Actual Rows": 141380, "Actual Loops": 1}, {"Worker Number": 3, "Actual Startup Time": 0.051, "Actual Total Time": 1728.946, "Actual Rows": 143225, "Actual Loops": 1}, {"Worker Number": 4, "Actual Startup Time": 0.178, "Actual Total Time": 1728.529, "Actual Rows": 142003, "Actual Loops": 1}, {"Worker Number": 5, "Actual Startup Time": 0.038, "Actual Total Time": 1729.902, "Actual Rows": 139915, "Actual Loops": 1}, {"Worker Number": 6, "Actual Startup Time": 0.037, "Actual Total Time": 1729.749, "Actual Rows": 141811, "Actual Loops": 1}]}]}]}]}, "Planning Time": 0.176, "Triggers": [], "Execution Time": 1828.174} diff --git a/dev9/pg14/tpch/sf_10/explain_analyze/15721/7-1.ok b/dev9/pg14/tpch/sf_10/explain_analyze/15721/7-1.ok new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/dev9/pg14/tpch/sf_10/explain_analyze/15721/7-1.res b/dev9/pg14/tpch/sf_10/explain_analyze/15721/7-1.res new file mode 100644 index 0000000000000000000000000000000000000000..8e9d79a3432e49d765656e5ebbb5fbe74a9e2d35 --- /dev/null +++ b/dev9/pg14/tpch/sf_10/explain_analyze/15721/7-1.res @@ -0,0 +1 @@ +{"Plan": {"Node Type": "Aggregate", "Strategy": "Sorted", "Partial Mode": "Finalize", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 242113.35, "Total Cost": 243552.03, "Plan Rows": 10096, "Plan Width": 116, "Actual Startup Time": 5916.641, "Actual Total Time": 6276.042, "Actual Rows": 4, "Actual Loops": 1, "Output": ["n1.n_name", "n2.n_name", "(EXTRACT(year FROM lineitem.l_shipdate))", "sum((lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount)))"], "Group Key": ["n1.n_name", "n2.n_name", "(EXTRACT(year FROM lineitem.l_shipdate))"], "Plans": [{"Node Type": "Gather Merge", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 242113.35, "Total Cost": 243274.39, "Plan Rows": 10096, "Plan Width": 116, "Actual Startup Time": 5916.626, "Actual Total Time": 6276.019, "Actual Rows": 8, "Actual Loops": 1, "Output": ["n1.n_name", "n2.n_name", "(EXTRACT(year FROM lineitem.l_shipdate))", "(PARTIAL sum((lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount))))"], "Workers Planned": 1, "Workers Launched": 1, "Plans": [{"Node Type": "Sort", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 241113.34, "Total Cost": 241138.58, "Plan Rows": 10096, "Plan Width": 116, "Actual Startup Time": 5913.485, "Actual Total Time": 5913.898, "Actual Rows": 4, "Actual Loops": 2, "Output": ["n1.n_name", "n2.n_name", "(EXTRACT(year FROM lineitem.l_shipdate))", "(PARTIAL sum((lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount))))"], "Sort Key": ["n1.n_name", "n2.n_name", "(EXTRACT(year FROM lineitem.l_shipdate))"], "Sort Method": "quicksort", "Sort Space Used": 26, "Sort Space Type": "Memory", "Workers": [{"Worker Number": 0, "Actual Startup Time": 5911.163, "Actual Total Time": 5911.172, "Actual Rows": 4, "Actual Loops": 1, "Sort Method": "quicksort", "Sort Space Used": 26, "Sort Space Type": "Memory"}], "Plans": [{"Node Type": "Aggregate", "Strategy": "Hashed", "Partial Mode": "Partial", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 240290.44, "Total Cost": 240441.88, "Plan Rows": 10096, "Plan Width": 116, "Actual Startup Time": 5913.403, "Actual Total Time": 5913.862, "Actual Rows": 4, "Actual Loops": 2, "Output": ["n1.n_name", "n2.n_name", "(EXTRACT(year FROM lineitem.l_shipdate))", "PARTIAL sum((lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount)))"], "Group Key": ["n1.n_name", "n2.n_name", "EXTRACT(year FROM lineitem.l_shipdate)"], "Planned Partitions": 0, "HashAgg Batches": 1, "Peak Memory Usage": 409, "Disk Usage": 0, "Workers": [{"Worker Number": 0, "Actual Startup Time": 5911.069, "Actual Total Time": 5911.117, "Actual Rows": 4, "Actual Loops": 1, "HashAgg Batches": 1, "Peak Memory Usage": 409, "Disk Usage": 0}], "Plans": [{"Node Type": "Hash Join", "Parent Relationship": "Outer", "Parallel Aware": true, "Async Capable": false, "Join Type": "Inner", "Startup Cost": 80511.13, "Total Cost": 239753.15, "Plan Rows": 35819, "Plan Width": 96, "Actual Startup Time": 5681.332, "Actual Total Time": 5886.631, "Actual Rows": 28896, "Actual Loops": 2, "Output": ["n1.n_name", "n2.n_name", "EXTRACT(year FROM lineitem.l_shipdate)", "lineitem.l_extendedprice", "lineitem.l_discount"], "Inner Unique": false, "Hash Cond": "(lineitem.l_orderkey = orders.o_orderkey)", "Join Filter": "(((n1.n_name = 'IRAN'::bpchar) AND (n2.n_name = 'ETHIOPIA'::bpchar)) OR ((n1.n_name = 'ETHIOPIA'::bpchar) AND (n2.n_name = 'IRAN'::bpchar)))", "Rows Removed by Join Filter": 28926, "Workers": [{"Worker Number": 0, "Actual Startup Time": 5665.152, "Actual Total Time": 5882.439, "Actual Rows": 30286, "Actual Loops": 1}], "Plans": [{"Node Type": "Nested Loop", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Join Type": "Inner", "Startup Cost": 1.84, "Total Cost": 138401.34, "Plan Rows": 860718, "Plan Width": 46, "Actual Startup Time": 0.104, "Actual Total Time": 3988.245, "Actual Rows": 725418, "Actual Loops": 2, "Output": ["lineitem.l_shipdate", "lineitem.l_extendedprice", "lineitem.l_discount", "lineitem.l_orderkey", "n1.n_name"], "Inner Unique": false, "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.142, "Actual Total Time": 3996.058, "Actual Rows": 693415, "Actual Loops": 1}], "Plans": [{"Node Type": "Hash Join", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Join Type": "Inner", "Startup Cost": 1.4, "Total Cost": 2986.23, "Plan Rows": 4706, "Plan Width": 30, "Actual Startup Time": 0.043, "Actual Total Time": 22.809, "Actual Rows": 3984, "Actual Loops": 2, "Output": ["supplier.s_suppkey", "n1.n_name"], "Inner Unique": true, "Hash Cond": "(supplier.s_nationkey = n1.n_nationkey)", "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.044, "Actual Total Time": 22.52, "Actual Rows": 3808, "Actual Loops": 1}], "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": true, "Async Capable": false, "Relation Name": "supplier", "Schema": "public", "Alias": "supplier", "Startup Cost": 0.0, "Total Cost": 2804.24, "Plan Rows": 58824, "Plan Width": 8, "Actual Startup Time": 0.007, "Actual Total Time": 6.09, "Actual Rows": 50000, "Actual Loops": 2, "Output": ["supplier.s_suppkey", "supplier.s_name", "supplier.s_address", "supplier.s_nationkey", "supplier.s_phone", "supplier.s_acctbal", "supplier.s_comment"], "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.01, "Actual Total Time": 6.235, "Actual Rows": 47700, "Actual Loops": 1}]}, {"Node Type": "Hash", "Parent Relationship": "Inner", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 1.38, "Total Cost": 1.38, "Plan Rows": 2, "Plan Width": 30, "Actual Startup Time": 0.018, "Actual Total Time": 0.019, "Actual Rows": 2, "Actual Loops": 2, "Output": ["n1.n_name", "n1.n_nationkey"], "Hash Buckets": 1024, "Original Hash Buckets": 1024, "Hash Batches": 1, "Original Hash Batches": 1, "Peak Memory Usage": 9, "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.018, "Actual Total Time": 0.019, "Actual Rows": 2, "Actual Loops": 1}], "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Relation Name": "nation", "Schema": "public", "Alias": "n1", "Startup Cost": 0.0, "Total Cost": 1.38, "Plan Rows": 2, "Plan Width": 30, "Actual Startup Time": 0.01, "Actual Total Time": 0.016, "Actual Rows": 2, "Actual Loops": 2, "Output": ["n1.n_name", "n1.n_nationkey"], "Filter": "((n1.n_name = 'IRAN'::bpchar) OR (n1.n_name = 'ETHIOPIA'::bpchar))", "Rows Removed by Filter": 23, "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.011, "Actual Total Time": 0.016, "Actual Rows": 2, "Actual Loops": 1}]}]}]}, {"Node Type": "Index Scan", "Parent Relationship": "Inner", "Parallel Aware": false, "Async Capable": false, "Scan Direction": "Forward", "Index Name": "l_sk_pk", "Relation Name": "lineitem", "Schema": "public", "Alias": "lineitem", "Startup Cost": 0.44, "Total Cost": 26.94, "Plan Rows": 183, "Plan Width": 24, "Actual Startup Time": 0.017, "Actual Total Time": 0.971, "Actual Rows": 182, "Actual Loops": 7968, "Output": ["lineitem.l_orderkey", "lineitem.l_partkey", "lineitem.l_suppkey", "lineitem.l_linenumber", "lineitem.l_quantity", "lineitem.l_extendedprice", "lineitem.l_discount", "lineitem.l_tax", "lineitem.l_returnflag", "lineitem.l_linestatus", "lineitem.l_shipdate", "lineitem.l_commitdate", "lineitem.l_receiptdate", "lineitem.l_shipinstruct", "lineitem.l_shipmode", "lineitem.l_comment"], "Index Cond": "(lineitem.l_suppkey = supplier.s_suppkey)", "Rows Removed by Index Recheck": 0, "Filter": "((lineitem.l_shipdate >= '1995-01-01'::date) AND (lineitem.l_shipdate <= '1996-12-31'::date))", "Rows Removed by Filter": 417, "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.019, "Actual Total Time": 1.019, "Actual Rows": 182, "Actual Loops": 3808}]}]}, {"Node Type": "Hash", "Parent Relationship": "Inner", "Parallel Aware": true, "Async Capable": false, "Startup Cost": 74708.32, "Total Cost": 74708.32, "Plan Rows": 299998, "Plan Width": 30, "Actual Startup Time": 1469.667, "Actual Total Time": 1469.67, "Actual Rows": 601562, "Actual Loops": 2, "Output": ["orders.o_orderkey", "n2.n_name"], "Hash Buckets": 524288, "Original Hash Buckets": 524288, "Hash Batches": 8, "Original Hash Batches": 8, "Peak Memory Usage": 13568, "Workers": [{"Worker Number": 0, "Actual Startup Time": 1468.985, "Actual Total Time": 1468.988, "Actual Rows": 574599, "Actual Loops": 1}], "Plans": [{"Node Type": "Nested Loop", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Join Type": "Inner", "Startup Cost": 1.83, "Total Cost": 74708.32, "Plan Rows": 299998, "Plan Width": 30, "Actual Startup Time": 0.111, "Actual Total Time": 1329.582, "Actual Rows": 601562, "Actual Loops": 2, "Output": ["orders.o_orderkey", "n2.n_name"], "Inner Unique": false, "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.167, "Actual Total Time": 1334.207, "Actual Rows": 574599, "Actual Loops": 1}], "Plans": [{"Node Type": "Hash Join", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Join Type": "Inner", "Startup Cost": 1.4, "Total Cost": 40729.65, "Plan Rows": 30000, "Plan Width": 30, "Actual Startup Time": 0.058, "Actual Total Time": 288.971, "Actual Rows": 60286, "Actual Loops": 2, "Output": ["customer.c_custkey", "n2.n_name"], "Inner Unique": true, "Hash Cond": "(customer.c_nationkey = n2.n_nationkey)", "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.079, "Actual Total Time": 284.248, "Actual Rows": 57630, "Actual Loops": 1}], "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": true, "Async Capable": false, "Relation Name": "customer", "Schema": "public", "Alias": "customer", "Startup Cost": 0.0, "Total Cost": 39577.0, "Plan Rows": 375000, "Plan Width": 8, "Actual Startup Time": 0.015, "Actual Total Time": 72.975, "Actual Rows": 750000, "Actual Loops": 2, "Output": ["customer.c_custkey", "customer.c_name", "customer.c_address", "customer.c_nationkey", "customer.c_phone", "customer.c_acctbal", "customer.c_mktsegment", "customer.c_comment"], "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.023, "Actual Total Time": 71.135, "Actual Rows": 714824, "Actual Loops": 1}]}, {"Node Type": "Hash", "Parent Relationship": "Inner", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 1.38, "Total Cost": 1.38, "Plan Rows": 2, "Plan Width": 30, "Actual Startup Time": 0.03, "Actual Total Time": 0.03, "Actual Rows": 2, "Actual Loops": 2, "Output": ["n2.n_name", "n2.n_nationkey"], "Hash Buckets": 1024, "Original Hash Buckets": 1024, "Hash Batches": 1, "Original Hash Batches": 1, "Peak Memory Usage": 9, "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.038, "Actual Total Time": 0.039, "Actual Rows": 2, "Actual Loops": 1}], "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Relation Name": "nation", "Schema": "public", "Alias": "n2", "Startup Cost": 0.0, "Total Cost": 1.38, "Plan Rows": 2, "Plan Width": 30, "Actual Startup Time": 0.017, "Actual Total Time": 0.022, "Actual Rows": 2, "Actual Loops": 2, "Output": ["n2.n_name", "n2.n_nationkey"], "Filter": "((n2.n_name = 'ETHIOPIA'::bpchar) OR (n2.n_name = 'IRAN'::bpchar))", "Rows Removed by Filter": 23, "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.022, "Actual Total Time": 0.027, "Actual Rows": 2, "Actual Loops": 1}]}]}]}, {"Node Type": "Index Scan", "Parent Relationship": "Inner", "Parallel Aware": false, "Async Capable": false, "Scan Direction": "Forward", "Index Name": "o_ck", "Relation Name": "orders", "Schema": "public", "Alias": "orders", "Startup Cost": 0.43, "Total Cost": 0.95, "Plan Rows": 18, "Plan Width": 8, "Actual Startup Time": 0.003, "Actual Total Time": 0.016, "Actual Rows": 10, "Actual Loops": 120572, "Output": ["orders.o_orderkey", "orders.o_custkey", "orders.o_orderstatus", "orders.o_totalprice", "orders.o_orderdate", "orders.o_orderpriority", "orders.o_clerk", "orders.o_shippriority", "orders.o_comment"], "Index Cond": "(orders.o_custkey = customer.c_custkey)", "Rows Removed by Index Recheck": 0, "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.003, "Actual Total Time": 0.017, "Actual Rows": 10, "Actual Loops": 57630}]}]}]}]}]}]}]}]}, "Planning Time": 2.017, "Triggers": [], "Execution Time": 6276.201} diff --git a/dev9/pg14/tpch/sf_10/explain_analyze/15721/8-1.ok b/dev9/pg14/tpch/sf_10/explain_analyze/15721/8-1.ok new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/dev9/pg14/tpch/sf_10/explain_analyze/15721/8-1.res b/dev9/pg14/tpch/sf_10/explain_analyze/15721/8-1.res new file mode 100644 index 0000000000000000000000000000000000000000..17ef9c54bd3846f47013864447275066cf7998d3 --- /dev/null +++ b/dev9/pg14/tpch/sf_10/explain_analyze/15721/8-1.res @@ -0,0 +1 @@ +{"Plan": {"Node Type": "Aggregate", "Strategy": "Sorted", "Partial Mode": "Finalize", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 223275.05, "Total Cost": 224776.63, "Plan Rows": 2406, "Plan Width": 64, "Actual Startup Time": 1259.842, "Actual Total Time": 1528.985, "Actual Rows": 2, "Actual Loops": 1, "Output": ["(EXTRACT(year FROM orders.o_orderdate))", "(sum(CASE WHEN (n2.n_name = 'ETHIOPIA'::bpchar) THEN (lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount)) ELSE '0'::numeric END) / sum((lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount))))"], "Group Key": ["(EXTRACT(year FROM orders.o_orderdate))"], "Plans": [{"Node Type": "Gather Merge", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 223275.05, "Total Cost": 224608.21, "Plan Rows": 9624, "Plan Width": 96, "Actual Startup Time": 1257.417, "Actual Total Time": 1528.957, "Actual Rows": 10, "Actual Loops": 1, "Output": ["(EXTRACT(year FROM orders.o_orderdate))", "(PARTIAL sum(CASE WHEN (n2.n_name = 'ETHIOPIA'::bpchar) THEN (lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount)) ELSE '0'::numeric END))", "(PARTIAL sum((lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount))))"], "Workers Planned": 4, "Workers Launched": 4, "Plans": [{"Node Type": "Aggregate", "Strategy": "Sorted", "Partial Mode": "Partial", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 222274.99, "Total Cost": 222461.84, "Plan Rows": 2406, "Plan Width": 96, "Actual Startup Time": 1252.133, "Actual Total Time": 1253.883, "Actual Rows": 2, "Actual Loops": 5, "Output": ["(EXTRACT(year FROM orders.o_orderdate))", "PARTIAL sum(CASE WHEN (n2.n_name = 'ETHIOPIA'::bpchar) THEN (lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount)) ELSE '0'::numeric END)", "PARTIAL sum((lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount)))"], "Group Key": ["(EXTRACT(year FROM orders.o_orderdate))"], "Workers": [{"Worker Number": 0, "Actual Startup Time": 1250.844, "Actual Total Time": 1252.426, "Actual Rows": 2, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 1250.741, "Actual Total Time": 1252.347, "Actual Rows": 2, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 1250.996, "Actual Total Time": 1252.618, "Actual Rows": 2, "Actual Loops": 1}, {"Worker Number": 3, "Actual Startup Time": 1251.317, "Actual Total Time": 1252.845, "Actual Rows": 2, "Actual Loops": 1}], "Plans": [{"Node Type": "Sort", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 222274.99, "Total Cost": 222291.07, "Plan Rows": 6433, "Plan Width": 70, "Actual Startup Time": 1250.339, "Actual Total Time": 1250.635, "Actual Rows": 4974, "Actual Loops": 5, "Output": ["(EXTRACT(year FROM orders.o_orderdate))", "n2.n_name", "lineitem.l_extendedprice", "lineitem.l_discount"], "Sort Key": ["(EXTRACT(year FROM orders.o_orderdate))"], "Sort Method": "quicksort", "Sort Space Used": 721, "Sort Space Type": "Memory", "Workers": [{"Worker Number": 0, "Actual Startup Time": 1249.197, "Actual Total Time": 1249.466, "Actual Rows": 4548, "Actual Loops": 1, "Sort Method": "quicksort", "Sort Space Used": 548, "Sort Space Type": "Memory"}, {"Worker Number": 1, "Actual Startup Time": 1249.082, "Actual Total Time": 1249.354, "Actual Rows": 4582, "Actual Loops": 1, "Sort Method": "quicksort", "Sort Space Used": 550, "Sort Space Type": "Memory"}, {"Worker Number": 2, "Actual Startup Time": 1249.364, "Actual Total Time": 1249.635, "Actual Rows": 4563, "Actual Loops": 1, "Sort Method": "quicksort", "Sort Space Used": 549, "Sort Space Type": "Memory"}, {"Worker Number": 3, "Actual Startup Time": 1249.713, "Actual Total Time": 1249.974, "Actual Rows": 4410, "Actual Loops": 1, "Sort Method": "quicksort", "Sort Space Used": 537, "Sort Space Type": "Memory"}], "Plans": [{"Node Type": "Hash Join", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Join Type": "Inner", "Startup Cost": 5.67, "Total Cost": 221868.06, "Plan Rows": 6433, "Plan Width": 70, "Actual Startup Time": 1.713, "Actual Total Time": 1247.823, "Actual Rows": 4974, "Actual Loops": 5, "Output": ["EXTRACT(year FROM orders.o_orderdate)", "n2.n_name", "lineitem.l_extendedprice", "lineitem.l_discount"], "Inner Unique": true, "Hash Cond": "(supplier.s_nationkey = n2.n_nationkey)", "Workers": [{"Worker Number": 0, "Actual Startup Time": 1.879, "Actual Total Time": 1246.811, "Actual Rows": 4548, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 1.423, "Actual Total Time": 1246.649, "Actual Rows": 4582, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 1.455, "Actual Total Time": 1246.967, "Actual Rows": 4563, "Actual Loops": 1}, {"Worker Number": 3, "Actual Startup Time": 3.685, "Actual Total Time": 1247.411, "Actual Rows": 4410, "Actual Loops": 1}], "Plans": [{"Node Type": "Nested Loop", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Join Type": "Inner", "Startup Cost": 4.1, "Total Cost": 221830.67, "Plan Rows": 6433, "Plan Width": 20, "Actual Startup Time": 1.597, "Actual Total Time": 1244.811, "Actual Rows": 4974, "Actual Loops": 5, "Output": ["lineitem.l_extendedprice", "lineitem.l_discount", "supplier.s_nationkey", "orders.o_orderdate"], "Inner Unique": true, "Workers": [{"Worker Number": 0, "Actual Startup Time": 1.74, "Actual Total Time": 1244.033, "Actual Rows": 4548, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 1.287, "Actual Total Time": 1243.823, "Actual Rows": 4582, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 1.315, "Actual Total Time": 1244.163, "Actual Rows": 4563, "Actual Loops": 1}, {"Worker Number": 3, "Actual Startup Time": 3.549, "Actual Total Time": 1244.709, "Actual Rows": 4410, "Actual Loops": 1}], "Plans": [{"Node Type": "Hash Join", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Join Type": "Inner", "Startup Cost": 3.81, "Total Cost": 219833.05, "Plan Rows": 6443, "Plan Width": 20, "Actual Startup Time": 1.554, "Actual Total Time": 1223.633, "Actual Rows": 4974, "Actual Loops": 5, "Output": ["lineitem.l_extendedprice", "lineitem.l_discount", "lineitem.l_suppkey", "orders.o_orderdate"], "Inner Unique": false, "Hash Cond": "(customer.c_nationkey = n1.n_nationkey)", "Workers": [{"Worker Number": 0, "Actual Startup Time": 1.69, "Actual Total Time": 1224.438, "Actual Rows": 4548, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 1.232, "Actual Total Time": 1223.936, "Actual Rows": 4582, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 1.268, "Actual Total Time": 1224.139, "Actual Rows": 4563, "Actual Loops": 1}, {"Worker Number": 3, "Actual Startup Time": 3.495, "Actual Total Time": 1225.543, "Actual Rows": 4410, "Actual Loops": 1}], "Plans": [{"Node Type": "Nested Loop", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Join Type": "Inner", "Startup Cost": 1.3, "Total Cost": 219645.3, "Plan Rows": 32214, "Plan Width": 24, "Actual Startup Time": 0.548, "Actual Total Time": 1218.292, "Actual Rows": 24632, "Actual Loops": 5, "Output": ["lineitem.l_extendedprice", "lineitem.l_discount", "lineitem.l_suppkey", "orders.o_orderdate", "customer.c_nationkey"], "Inner Unique": true, "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.327, "Actual Total Time": 1219.614, "Actual Rows": 22604, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 0.484, "Actual Total Time": 1219.113, "Actual Rows": 22245, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 1.195, "Actual Total Time": 1219.447, "Actual Rows": 22081, "Actual Loops": 1}, {"Worker Number": 3, "Actual Startup Time": 0.676, "Actual Total Time": 1220.837, "Actual Rows": 22279, "Actual Loops": 1}], "Plans": [{"Node Type": "Nested Loop", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Join Type": "Inner", "Startup Cost": 0.88, "Total Cost": 204999.95, "Plan Rows": 32214, "Plan Width": 24, "Actual Startup Time": 0.487, "Actual Total Time": 1065.094, "Actual Rows": 24632, "Actual Loops": 5, "Output": ["lineitem.l_extendedprice", "lineitem.l_discount", "lineitem.l_suppkey", "orders.o_orderdate", "orders.o_custkey"], "Inner Unique": true, "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.24, "Actual Total Time": 1074.985, "Actual Rows": 22604, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 0.409, "Actual Total Time": 1074.923, "Actual Rows": 22245, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 1.124, "Actual Total Time": 1074.822, "Actual Rows": 22081, "Actual Loops": 1}, {"Worker Number": 3, "Actual Startup Time": 0.613, "Actual Total Time": 1076.636, "Actual Rows": 22279, "Actual Loops": 1}], "Plans": [{"Node Type": "Nested Loop", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Join Type": "Inner", "Startup Cost": 0.44, "Total Cost": 155975.26, "Plan Rows": 105876, "Plan Width": 20, "Actual Startup Time": 0.137, "Actual Total Time": 454.206, "Actual Rows": 80815, "Actual Loops": 5, "Output": ["lineitem.l_extendedprice", "lineitem.l_discount", "lineitem.l_suppkey", "lineitem.l_orderkey"], "Inner Unique": false, "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.129, "Actual Total Time": 483.036, "Actual Rows": 73917, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 0.146, "Actual Total Time": 480.533, "Actual Rows": 73260, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 0.207, "Actual Total Time": 482.569, "Actual Rows": 72537, "Actual Loops": 1}, {"Worker Number": 3, "Actual Startup Time": 0.171, "Actual Total Time": 484.84, "Actual Rows": 73325, "Actual Loops": 1}], "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": true, "Async Capable": false, "Relation Name": "part", "Schema": "public", "Alias": "part", "Startup Cost": 0.0, "Total Cost": 47212.0, "Plan Rows": 3530, "Plan Width": 4, "Actual Startup Time": 0.051, "Actual Total Time": 94.655, "Actual Rows": 2697, "Actual Loops": 5, "Output": ["part.p_partkey", "part.p_name", "part.p_mfgr", "part.p_brand", "part.p_type", "part.p_size", "part.p_container", "part.p_retailprice", "part.p_comment"], "Filter": "((part.p_type)::text = 'SMALL BRUSHED NICKEL'::text)", "Rows Removed by Filter": 397303, "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.026, "Actual Total Time": 87.38, "Actual Rows": 2474, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 0.042, "Actual Total Time": 84.151, "Actual Rows": 2442, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 0.108, "Actual Total Time": 87.573, "Actual Rows": 2413, "Actual Loops": 1}, {"Worker Number": 3, "Actual Startup Time": 0.065, "Actual Total Time": 88.479, "Actual Rows": 2439, "Actual Loops": 1}]}, {"Node Type": "Index Scan", "Parent Relationship": "Inner", "Parallel Aware": false, "Async Capable": false, "Scan Direction": "Forward", "Index Name": "l_pk", "Relation Name": "lineitem", "Schema": "public", "Alias": "lineitem", "Startup Cost": 0.44, "Total Cost": 30.5, "Plan Rows": 31, "Plan Width": 24, "Actual Startup Time": 0.009, "Actual Total Time": 0.126, "Actual Rows": 30, "Actual Loops": 13487, "Output": ["lineitem.l_orderkey", "lineitem.l_partkey", "lineitem.l_suppkey", "lineitem.l_linenumber", "lineitem.l_quantity", "lineitem.l_extendedprice", "lineitem.l_discount", "lineitem.l_tax", "lineitem.l_returnflag", "lineitem.l_linestatus", "lineitem.l_shipdate", "lineitem.l_commitdate", "lineitem.l_receiptdate", "lineitem.l_shipinstruct", "lineitem.l_shipmode", "lineitem.l_comment"], "Index Cond": "(lineitem.l_partkey = part.p_partkey)", "Rows Removed by Index Recheck": 0, "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.011, "Actual Total Time": 0.152, "Actual Rows": 30, "Actual Loops": 2474}, {"Worker Number": 1, "Actual Startup Time": 0.011, "Actual Total Time": 0.155, "Actual Rows": 30, "Actual Loops": 2442}, {"Worker Number": 2, "Actual Startup Time": 0.011, "Actual Total Time": 0.156, "Actual Rows": 30, "Actual Loops": 2413}, {"Worker Number": 3, "Actual Startup Time": 0.011, "Actual Total Time": 0.155, "Actual Rows": 30, "Actual Loops": 2439}]}]}, {"Node Type": "Index Scan", "Parent Relationship": "Inner", "Parallel Aware": false, "Async Capable": false, "Scan Direction": "Forward", "Index Name": "o_ok", "Relation Name": "orders", "Schema": "public", "Alias": "orders", "Startup Cost": 0.43, "Total Cost": 0.46, "Plan Rows": 1, "Plan Width": 12, "Actual Startup Time": 0.007, "Actual Total Time": 0.007, "Actual Rows": 0, "Actual Loops": 404076, "Output": ["orders.o_orderkey", "orders.o_custkey", "orders.o_orderstatus", "orders.o_totalprice", "orders.o_orderdate", "orders.o_orderpriority", "orders.o_clerk", "orders.o_shippriority", "orders.o_comment"], "Index Cond": "(orders.o_orderkey = lineitem.l_orderkey)", "Rows Removed by Index Recheck": 0, "Filter": "((orders.o_orderdate >= '1995-01-01'::date) AND (orders.o_orderdate <= '1996-12-31'::date))", "Rows Removed by Filter": 1, "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.008, "Actual Total Time": 0.008, "Actual Rows": 0, "Actual Loops": 73917}, {"Worker Number": 1, "Actual Startup Time": 0.008, "Actual Total Time": 0.008, "Actual Rows": 0, "Actual Loops": 73260}, {"Worker Number": 2, "Actual Startup Time": 0.008, "Actual Total Time": 0.008, "Actual Rows": 0, "Actual Loops": 72537}, {"Worker Number": 3, "Actual Startup Time": 0.008, "Actual Total Time": 0.008, "Actual Rows": 0, "Actual Loops": 73325}]}]}, {"Node Type": "Index Scan", "Parent Relationship": "Inner", "Parallel Aware": false, "Async Capable": false, "Scan Direction": "Forward", "Index Name": "c_ck", "Relation Name": "customer", "Schema": "public", "Alias": "customer", "Startup Cost": 0.43, "Total Cost": 0.45, "Plan Rows": 1, "Plan Width": 8, "Actual Startup Time": 0.006, "Actual Total Time": 0.006, "Actual Rows": 1, "Actual Loops": 123159, "Output": ["customer.c_custkey", "customer.c_name", "customer.c_address", "customer.c_nationkey", "customer.c_phone", "customer.c_acctbal", "customer.c_mktsegment", "customer.c_comment"], "Index Cond": "(customer.c_custkey = orders.o_custkey)", "Rows Removed by Index Recheck": 0, "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.006, "Actual Total Time": 0.006, "Actual Rows": 1, "Actual Loops": 22604}, {"Worker Number": 1, "Actual Startup Time": 0.006, "Actual Total Time": 0.006, "Actual Rows": 1, "Actual Loops": 22245}, {"Worker Number": 2, "Actual Startup Time": 0.006, "Actual Total Time": 0.006, "Actual Rows": 1, "Actual Loops": 22081}, {"Worker Number": 3, "Actual Startup Time": 0.006, "Actual Total Time": 0.006, "Actual Rows": 1, "Actual Loops": 22279}]}]}, {"Node Type": "Hash", "Parent Relationship": "Inner", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 2.45, "Total Cost": 2.45, "Plan Rows": 5, "Plan Width": 4, "Actual Startup Time": 0.047, "Actual Total Time": 0.049, "Actual Rows": 5, "Actual Loops": 5, "Output": ["n1.n_nationkey"], "Hash Buckets": 1024, "Original Hash Buckets": 1024, "Hash Batches": 1, "Original Hash Batches": 1, "Peak Memory Usage": 9, "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.054, "Actual Total Time": 0.056, "Actual Rows": 5, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 0.053, "Actual Total Time": 0.055, "Actual Rows": 5, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 0.055, "Actual Total Time": 0.057, "Actual Rows": 5, "Actual Loops": 1}, {"Worker Number": 3, "Actual Startup Time": 0.053, "Actual Total Time": 0.055, "Actual Rows": 5, "Actual Loops": 1}], "Plans": [{"Node Type": "Hash Join", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Join Type": "Inner", "Startup Cost": 1.07, "Total Cost": 2.45, "Plan Rows": 5, "Plan Width": 4, "Actual Startup Time": 0.038, "Actual Total Time": 0.046, "Actual Rows": 5, "Actual Loops": 5, "Output": ["n1.n_nationkey"], "Inner Unique": true, "Hash Cond": "(n1.n_regionkey = region.r_regionkey)", "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.044, "Actual Total Time": 0.052, "Actual Rows": 5, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 0.044, "Actual Total Time": 0.052, "Actual Rows": 5, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 0.045, "Actual Total Time": 0.053, "Actual Rows": 5, "Actual Loops": 1}, {"Worker Number": 3, "Actual Startup Time": 0.044, "Actual Total Time": 0.051, "Actual Rows": 5, "Actual Loops": 1}], "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Relation Name": "nation", "Schema": "public", "Alias": "n1", "Startup Cost": 0.0, "Total Cost": 1.25, "Plan Rows": 25, "Plan Width": 8, "Actual Startup Time": 0.002, "Actual Total Time": 0.004, "Actual Rows": 25, "Actual Loops": 5, "Output": ["n1.n_nationkey", "n1.n_name", "n1.n_regionkey", "n1.n_comment"], "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.001, "Actual Total Time": 0.003, "Actual Rows": 25, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 0.002, "Actual Total Time": 0.004, "Actual Rows": 25, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 0.002, "Actual Total Time": 0.004, "Actual Rows": 25, "Actual Loops": 1}, {"Worker Number": 3, "Actual Startup Time": 0.002, "Actual Total Time": 0.004, "Actual Rows": 25, "Actual Loops": 1}]}, {"Node Type": "Hash", "Parent Relationship": "Inner", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 1.06, "Total Cost": 1.06, "Plan Rows": 1, "Plan Width": 4, "Actual Startup Time": 0.021, "Actual Total Time": 0.021, "Actual Rows": 1, "Actual Loops": 5, "Output": ["region.r_regionkey"], "Hash Buckets": 1024, "Original Hash Buckets": 1024, "Hash Batches": 1, "Original Hash Batches": 1, "Peak Memory Usage": 9, "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.024, "Actual Total Time": 0.025, "Actual Rows": 1, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 0.024, "Actual Total Time": 0.025, "Actual Rows": 1, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 0.024, "Actual Total Time": 0.025, "Actual Rows": 1, "Actual Loops": 1}, {"Worker Number": 3, "Actual Startup Time": 0.024, "Actual Total Time": 0.024, "Actual Rows": 1, "Actual Loops": 1}], "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Relation Name": "region", "Schema": "public", "Alias": "region", "Startup Cost": 0.0, "Total Cost": 1.06, "Plan Rows": 1, "Plan Width": 4, "Actual Startup Time": 0.017, "Actual Total Time": 0.018, "Actual Rows": 1, "Actual Loops": 5, "Output": ["region.r_regionkey"], "Filter": "(region.r_name = 'AFRICA'::bpchar)", "Rows Removed by Filter": 4, "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.02, "Actual Total Time": 0.022, "Actual Rows": 1, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 0.019, "Actual Total Time": 0.021, "Actual Rows": 1, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 0.02, "Actual Total Time": 0.022, "Actual Rows": 1, "Actual Loops": 1}, {"Worker Number": 3, "Actual Startup Time": 0.02, "Actual Total Time": 0.021, "Actual Rows": 1, "Actual Loops": 1}]}]}]}]}]}, {"Node Type": "Index Scan", "Parent Relationship": "Inner", "Parallel Aware": false, "Async Capable": false, "Scan Direction": "Forward", "Index Name": "s_sk", "Relation Name": "supplier", "Schema": "public", "Alias": "supplier", "Startup Cost": 0.29, "Total Cost": 0.31, "Plan Rows": 1, "Plan Width": 8, "Actual Startup Time": 0.004, "Actual Total Time": 0.004, "Actual Rows": 1, "Actual Loops": 24872, "Output": ["supplier.s_suppkey", "supplier.s_name", "supplier.s_address", "supplier.s_nationkey", "supplier.s_phone", "supplier.s_acctbal", "supplier.s_comment"], "Index Cond": "(supplier.s_suppkey = lineitem.l_suppkey)", "Rows Removed by Index Recheck": 0, "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.004, "Actual Total Time": 0.004, "Actual Rows": 1, "Actual Loops": 4548}, {"Worker Number": 1, "Actual Startup Time": 0.004, "Actual Total Time": 0.004, "Actual Rows": 1, "Actual Loops": 4582}, {"Worker Number": 2, "Actual Startup Time": 0.004, "Actual Total Time": 0.004, "Actual Rows": 1, "Actual Loops": 4563}, {"Worker Number": 3, "Actual Startup Time": 0.004, "Actual Total Time": 0.004, "Actual Rows": 1, "Actual Loops": 4410}]}]}, {"Node Type": "Hash", "Parent Relationship": "Inner", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 1.25, "Total Cost": 1.25, "Plan Rows": 25, "Plan Width": 30, "Actual Startup Time": 0.037, "Actual Total Time": 0.038, "Actual Rows": 25, "Actual Loops": 5, "Output": ["n2.n_name", "n2.n_nationkey"], "Hash Buckets": 1024, "Original Hash Buckets": 1024, "Hash Batches": 1, "Original Hash Batches": 1, "Peak Memory Usage": 10, "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.041, "Actual Total Time": 0.042, "Actual Rows": 25, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 0.04, "Actual Total Time": 0.041, "Actual Rows": 25, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 0.043, "Actual Total Time": 0.044, "Actual Rows": 25, "Actual Loops": 1}, {"Worker Number": 3, "Actual Startup Time": 0.04, "Actual Total Time": 0.04, "Actual Rows": 25, "Actual Loops": 1}], "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Relation Name": "nation", "Schema": "public", "Alias": "n2", "Startup Cost": 0.0, "Total Cost": 1.25, "Plan Rows": 25, "Plan Width": 30, "Actual Startup Time": 0.022, "Actual Total Time": 0.027, "Actual Rows": 25, "Actual Loops": 5, "Output": ["n2.n_name", "n2.n_nationkey"], "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.027, "Actual Total Time": 0.031, "Actual Rows": 25, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 0.025, "Actual Total Time": 0.029, "Actual Rows": 25, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 0.024, "Actual Total Time": 0.032, "Actual Rows": 25, "Actual Loops": 1}, {"Worker Number": 3, "Actual Startup Time": 0.024, "Actual Total Time": 0.029, "Actual Rows": 25, "Actual Loops": 1}]}]}]}]}]}]}]}, "Planning Time": 3.071, "Triggers": [], "Execution Time": 1529.086} diff --git a/dev9/pg14/tpch/sf_10/explain_analyze/15721/9-1.ok b/dev9/pg14/tpch/sf_10/explain_analyze/15721/9-1.ok new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/dev9/pg14/tpch/sf_10/explain_analyze/15721/9-1.res b/dev9/pg14/tpch/sf_10/explain_analyze/15721/9-1.res new file mode 100644 index 0000000000000000000000000000000000000000..ad83edec4bfa7fbb6e6d754ed7384aaa8800e9ef --- /dev/null +++ b/dev9/pg14/tpch/sf_10/explain_analyze/15721/9-1.res @@ -0,0 +1 @@ +{"Plan": {"Node Type": "Sort", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 577917.65, "Total Cost": 578068.03, "Plan Rows": 60150, "Plan Width": 90, "Actual Startup Time": 3965.589, "Actual Total Time": 4255.201, "Actual Rows": 175, "Actual Loops": 1, "Output": ["nation.n_name", "(EXTRACT(year FROM orders.o_orderdate))", "(sum(((lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount)) - (partsupp.ps_supplycost * lineitem.l_quantity))))"], "Sort Key": ["nation.n_name", "(EXTRACT(year FROM orders.o_orderdate)) DESC"], "Sort Method": "quicksort", "Sort Space Used": 38, "Sort Space Type": "Memory", "Plans": [{"Node Type": "Aggregate", "Strategy": "Hashed", "Partial Mode": "Finalize", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 572240.61, "Total Cost": 573142.86, "Plan Rows": 60150, "Plan Width": 90, "Actual Startup Time": 3965.077, "Actual Total Time": 4254.941, "Actual Rows": 175, "Actual Loops": 1, "Output": ["nation.n_name", "(EXTRACT(year FROM orders.o_orderdate))", "sum(((lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount)) - (partsupp.ps_supplycost * lineitem.l_quantity)))"], "Group Key": ["nation.n_name", "(EXTRACT(year FROM orders.o_orderdate))"], "Planned Partitions": 0, "HashAgg Batches": 1, "Peak Memory Usage": 1809, "Disk Usage": 0, "Plans": [{"Node Type": "Gather", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 531639.36, "Total Cost": 568631.61, "Plan Rows": 360900, "Plan Width": 90, "Actual Startup Time": 3948.266, "Actual Total Time": 4253.544, "Actual Rows": 1225, "Actual Loops": 1, "Output": ["nation.n_name", "(EXTRACT(year FROM orders.o_orderdate))", "(PARTIAL sum(((lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount)) - (partsupp.ps_supplycost * lineitem.l_quantity))))"], "Workers Planned": 6, "Workers Launched": 6, "Single Copy": false, "Plans": [{"Node Type": "Aggregate", "Strategy": "Hashed", "Partial Mode": "Partial", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 530639.36, "Total Cost": 531541.61, "Plan Rows": 60150, "Plan Width": 90, "Actual Startup Time": 3942.555, "Actual Total Time": 3943.429, "Actual Rows": 175, "Actual Loops": 7, "Output": ["nation.n_name", "(EXTRACT(year FROM orders.o_orderdate))", "PARTIAL sum(((lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount)) - (partsupp.ps_supplycost * lineitem.l_quantity)))"], "Group Key": ["nation.n_name", "EXTRACT(year FROM orders.o_orderdate)"], "Planned Partitions": 0, "HashAgg Batches": 1, "Peak Memory Usage": 1681, "Disk Usage": 0, "Workers": [{"Worker Number": 0, "Actual Startup Time": 3941.55, "Actual Total Time": 3942.117, "Actual Rows": 175, "Actual Loops": 1, "HashAgg Batches": 1, "Peak Memory Usage": 1681, "Disk Usage": 0}, {"Worker Number": 1, "Actual Startup Time": 3941.719, "Actual Total Time": 3942.266, "Actual Rows": 175, "Actual Loops": 1, "HashAgg Batches": 1, "Peak Memory Usage": 1681, "Disk Usage": 0}, {"Worker Number": 2, "Actual Startup Time": 3941.363, "Actual Total Time": 3942.035, "Actual Rows": 175, "Actual Loops": 1, "HashAgg Batches": 1, "Peak Memory Usage": 1681, "Disk Usage": 0}, {"Worker Number": 3, "Actual Startup Time": 3942.604, "Actual Total Time": 3943.161, "Actual Rows": 175, "Actual Loops": 1, "HashAgg Batches": 1, "Peak Memory Usage": 1681, "Disk Usage": 0}, {"Worker Number": 4, "Actual Startup Time": 3941.476, "Actual Total Time": 3942.021, "Actual Rows": 175, "Actual Loops": 1, "HashAgg Batches": 1, "Peak Memory Usage": 1681, "Disk Usage": 0}, {"Worker Number": 5, "Actual Startup Time": 3941.557, "Actual Total Time": 3942.119, "Actual Rows": 175, "Actual Loops": 1, "HashAgg Batches": 1, "Peak Memory Usage": 1681, "Disk Usage": 0}], "Plans": [{"Node Type": "Hash Join", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Join Type": "Inner", "Startup Cost": 193604.96, "Total Cost": 519787.14, "Plan Rows": 620127, "Plan Width": 81, "Actual Startup Time": 2670.971, "Actual Total Time": 3432.131, "Actual Rows": 464980, "Actual Loops": 7, "Output": ["nation.n_name", "EXTRACT(year FROM orders.o_orderdate)", "lineitem.l_extendedprice", "lineitem.l_discount", "partsupp.ps_supplycost", "lineitem.l_quantity"], "Inner Unique": true, "Hash Cond": "(supplier.s_nationkey = nation.n_nationkey)", "Workers": [{"Worker Number": 0, "Actual Startup Time": 2682.111, "Actual Total Time": 3442.051, "Actual Rows": 457699, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 2681.898, "Actual Total Time": 3439.769, "Actual Rows": 456760, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 2678.236, "Actual Total Time": 3403.149, "Actual Rows": 489891, "Actual Loops": 1}, {"Worker Number": 3, "Actual Startup Time": 2681.518, "Actual Total Time": 3439.397, "Actual Rows": 461080, "Actual Loops": 1}, {"Worker Number": 4, "Actual Startup Time": 2681.812, "Actual Total Time": 3440.422, "Actual Rows": 459071, "Actual Loops": 1}, {"Worker Number": 5, "Actual Startup Time": 2680.195, "Actual Total Time": 3434.774, "Actual Rows": 457570, "Actual Loops": 1}], "Plans": [{"Node Type": "Hash Join", "Parent Relationship": "Outer", "Parallel Aware": true, "Async Capable": false, "Join Type": "Inner", "Startup Cost": 193603.4, "Total Cost": 516331.47, "Plan Rows": 620127, "Plan Width": 31, "Actual Startup Time": 2670.862, "Actual Total Time": 3264.102, "Actual Rows": 464980, "Actual Loops": 7, "Output": ["lineitem.l_extendedprice", "lineitem.l_discount", "lineitem.l_quantity", "supplier.s_nationkey", "partsupp.ps_supplycost", "orders.o_orderdate"], "Inner Unique": false, "Hash Cond": "(orders.o_orderkey = lineitem.l_orderkey)", "Workers": [{"Worker Number": 0, "Actual Startup Time": 2682.003, "Actual Total Time": 3278.268, "Actual Rows": 457699, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 2681.773, "Actual Total Time": 3273.971, "Actual Rows": 456760, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 2678.106, "Actual Total Time": 3226.12, "Actual Rows": 489891, "Actual Loops": 1}, {"Worker Number": 3, "Actual Startup Time": 2681.409, "Actual Total Time": 3274.335, "Actual Rows": 461080, "Actual Loops": 1}, {"Worker Number": 4, "Actual Startup Time": 2681.695, "Actual Total Time": 3275.95, "Actual Rows": 459071, "Actual Loops": 1}, {"Worker Number": 5, "Actual Startup Time": 2680.063, "Actual Total Time": 3268.228, "Actual Rows": 457570, "Actual Loops": 1}], "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": true, "Async Capable": false, "Relation Name": "orders", "Schema": "public", "Alias": "orders", "Startup Cost": 0.0, "Total Cost": 285911.82, "Plan Rows": 2499982, "Plan Width": 8, "Actual Startup Time": 0.026, "Actual Total Time": 456.74, "Actual Rows": 2142857, "Actual Loops": 7, "Output": ["orders.o_orderdate", "orders.o_orderkey"], "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.037, "Actual Total Time": 457.492, "Actual Rows": 2131828, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 0.031, "Actual Total Time": 459.084, "Actual Rows": 2133980, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 0.026, "Actual Total Time": 458.388, "Actual Rows": 2117922, "Actual Loops": 1}, {"Worker Number": 3, "Actual Startup Time": 0.023, "Actual Total Time": 458.071, "Actual Rows": 2129328, "Actual Loops": 1}, {"Worker Number": 4, "Actual Startup Time": 0.029, "Actual Total Time": 458.646, "Actual Rows": 2134818, "Actual Loops": 1}, {"Worker Number": 5, "Actual Startup Time": 0.032, "Actual Total Time": 458.322, "Actual Rows": 2143239, "Actual Loops": 1}]}, {"Node Type": "Hash", "Parent Relationship": "Inner", "Parallel Aware": true, "Async Capable": false, "Startup Cost": 175617.01, "Total Cost": 175617.01, "Plan Rows": 930191, "Plan Width": 31, "Actual Startup Time": 1786.851, "Actual Total Time": 1787.201, "Actual Rows": 464980, "Actual Loops": 7, "Output": ["lineitem.l_extendedprice", "lineitem.l_discount", "lineitem.l_quantity", "lineitem.l_orderkey", "supplier.s_nationkey", "partsupp.ps_supplycost"], "Hash Buckets": 524288, "Original Hash Buckets": 524288, "Hash Batches": 16, "Original Hash Batches": 16, "Peak Memory Usage": 18496, "Workers": [{"Worker Number": 0, "Actual Startup Time": 1786.527, "Actual Total Time": 1786.544, "Actual Rows": 436520, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 1786.556, "Actual Total Time": 1786.561, "Actual Rows": 435571, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 1786.541, "Actual Total Time": 1786.562, "Actual Rows": 444602, "Actual Loops": 1}, {"Worker Number": 3, "Actual Startup Time": 1786.545, "Actual Total Time": 1786.562, "Actual Rows": 439669, "Actual Loops": 1}, {"Worker Number": 4, "Actual Startup Time": 1786.548, "Actual Total Time": 1786.554, "Actual Rows": 430021, "Actual Loops": 1}, {"Worker Number": 5, "Actual Startup Time": 1786.541, "Actual Total Time": 1786.546, "Actual Rows": 424725, "Actual Loops": 1}], "Plans": [{"Node Type": "Nested Loop", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Join Type": "Inner", "Startup Cost": 3540.41, "Total Cost": 175617.01, "Plan Rows": 930191, "Plan Width": 31, "Actual Startup Time": 11.055, "Actual Total Time": 1637.743, "Actual Rows": 464980, "Actual Loops": 7, "Output": ["lineitem.l_extendedprice", "lineitem.l_discount", "lineitem.l_quantity", "lineitem.l_orderkey", "supplier.s_nationkey", "partsupp.ps_supplycost"], "Inner Unique": false, "Join Filter": "(supplier.s_suppkey = lineitem.l_suppkey)", "Rows Removed by Join Filter": 0, "Workers": [{"Worker Number": 0, "Actual Startup Time": 10.753, "Actual Total Time": 1645.223, "Actual Rows": 436520, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 10.742, "Actual Total Time": 1644.397, "Actual Rows": 435571, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 10.776, "Actual Total Time": 1641.471, "Actual Rows": 444602, "Actual Loops": 1}, {"Worker Number": 3, "Actual Startup Time": 10.786, "Actual Total Time": 1642.111, "Actual Rows": 439669, "Actual Loops": 1}, {"Worker Number": 4, "Actual Startup Time": 10.771, "Actual Total Time": 1644.433, "Actual Rows": 430021, "Actual Loops": 1}, {"Worker Number": 5, "Actual Startup Time": 10.771, "Actual Total Time": 1646.659, "Actual Rows": 424725, "Actual Loops": 1}], "Plans": [{"Node Type": "Hash Join", "Parent Relationship": "Outer", "Parallel Aware": true, "Async Capable": false, "Join Type": "Inner", "Startup Cost": 3539.97, "Total Cost": 96428.19, "Plan Rows": 124249, "Plan Width": 26, "Actual Startup Time": 10.978, "Actual Total Time": 239.725, "Actual Rows": 62025, "Actual Loops": 7, "Output": ["part.p_partkey", "partsupp.ps_supplycost", "partsupp.ps_suppkey", "partsupp.ps_partkey", "supplier.s_suppkey", "supplier.s_nationkey"], "Inner Unique": true, "Hash Cond": "(partsupp.ps_suppkey = supplier.s_suppkey)", "Workers": [{"Worker Number": 0, "Actual Startup Time": 10.661, "Actual Total Time": 228.811, "Actual Rows": 58372, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 10.68, "Actual Total Time": 228.366, "Actual Rows": 58044, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 10.686, "Actual Total Time": 230.95, "Actual Rows": 59360, "Actual Loops": 1}, {"Worker Number": 3, "Actual Startup Time": 10.687, "Actual Total Time": 229.491, "Actual Rows": 58664, "Actual Loops": 1}, {"Worker Number": 4, "Actual Startup Time": 10.684, "Actual Total Time": 229.028, "Actual Rows": 57308, "Actual Loops": 1}, {"Worker Number": 5, "Actual Startup Time": 10.685, "Actual Total Time": 229.285, "Actual Rows": 56580, "Actual Loops": 1}], "Plans": [{"Node Type": "Nested Loop", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Join Type": "Inner", "Startup Cost": 0.43, "Total Cost": 92562.49, "Plan Rows": 124249, "Plan Width": 18, "Actual Startup Time": 0.126, "Actual Total Time": 194.364, "Actual Rows": 62025, "Actual Loops": 7, "Output": ["part.p_partkey", "partsupp.ps_supplycost", "partsupp.ps_suppkey", "partsupp.ps_partkey"], "Inner Unique": false, "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.138, "Actual Total Time": 186.618, "Actual Rows": 58372, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 0.141, "Actual Total Time": 185.751, "Actual Rows": 58044, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 0.139, "Actual Total Time": 188.584, "Actual Rows": 59360, "Actual Loops": 1}, {"Worker Number": 3, "Actual Startup Time": 0.14, "Actual Total Time": 185.942, "Actual Rows": 58664, "Actual Loops": 1}, {"Worker Number": 4, "Actual Startup Time": 0.14, "Actual Total Time": 186.536, "Actual Rows": 57308, "Actual Loops": 1}, {"Worker Number": 5, "Actual Startup Time": 0.14, "Actual Total Time": 185.388, "Actual Rows": 56580, "Actual Loops": 1}], "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": true, "Async Capable": false, "Relation Name": "part", "Schema": "public", "Alias": "part", "Startup Cost": 0.0, "Total Cost": 47212.0, "Plan Rows": 31062, "Plan Width": 4, "Actual Startup Time": 0.029, "Actual Total Time": 92.043, "Actual Rows": 15506, "Actual Loops": 7, "Output": ["part.p_partkey", "part.p_name", "part.p_mfgr", "part.p_brand", "part.p_type", "part.p_size", "part.p_container", "part.p_retailprice", "part.p_comment"], "Filter": "((part.p_name)::text ~~ '%forest%'::text)", "Rows Removed by Filter": 270208, "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.032, "Actual Total Time": 86.774, "Actual Rows": 14593, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 0.028, "Actual Total Time": 86.759, "Actual Rows": 14511, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 0.036, "Actual Total Time": 88.8, "Actual Rows": 14840, "Actual Loops": 1}, {"Worker Number": 3, "Actual Startup Time": 0.039, "Actual Total Time": 86.898, "Actual Rows": 14666, "Actual Loops": 1}, {"Worker Number": 4, "Actual Startup Time": 0.026, "Actual Total Time": 87.84, "Actual Rows": 14327, "Actual Loops": 1}, {"Worker Number": 5, "Actual Startup Time": 0.023, "Actual Total Time": 86.736, "Actual Rows": 14145, "Actual Loops": 1}]}, {"Node Type": "Index Scan", "Parent Relationship": "Inner", "Parallel Aware": false, "Async Capable": false, "Scan Direction": "Forward", "Index Name": "ps_pk", "Relation Name": "partsupp", "Schema": "public", "Alias": "partsupp", "Startup Cost": 0.43, "Total Cost": 1.42, "Plan Rows": 4, "Plan Width": 14, "Actual Startup Time": 0.004, "Actual Total Time": 0.006, "Actual Rows": 4, "Actual Loops": 108543, "Output": ["partsupp.ps_partkey", "partsupp.ps_suppkey", "partsupp.ps_availqty", "partsupp.ps_supplycost", "partsupp.ps_comment"], "Index Cond": "(partsupp.ps_partkey = part.p_partkey)", "Rows Removed by Index Recheck": 0, "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.005, "Actual Total Time": 0.006, "Actual Rows": 4, "Actual Loops": 14593}, {"Worker Number": 1, "Actual Startup Time": 0.005, "Actual Total Time": 0.006, "Actual Rows": 4, "Actual Loops": 14511}, {"Worker Number": 2, "Actual Startup Time": 0.004, "Actual Total Time": 0.006, "Actual Rows": 4, "Actual Loops": 14840}, {"Worker Number": 3, "Actual Startup Time": 0.004, "Actual Total Time": 0.006, "Actual Rows": 4, "Actual Loops": 14666}, {"Worker Number": 4, "Actual Startup Time": 0.005, "Actual Total Time": 0.006, "Actual Rows": 4, "Actual Loops": 14327}, {"Worker Number": 5, "Actual Startup Time": 0.005, "Actual Total Time": 0.006, "Actual Rows": 4, "Actual Loops": 14145}]}]}, {"Node Type": "Hash", "Parent Relationship": "Inner", "Parallel Aware": true, "Async Capable": false, "Startup Cost": 2804.24, "Total Cost": 2804.24, "Plan Rows": 58824, "Plan Width": 8, "Actual Startup Time": 10.642, "Actual Total Time": 10.643, "Actual Rows": 14286, "Actual Loops": 7, "Output": ["supplier.s_suppkey", "supplier.s_nationkey"], "Hash Buckets": 131072, "Original Hash Buckets": 131072, "Hash Batches": 1, "Original Hash Batches": 1, "Peak Memory Usage": 5088, "Workers": [{"Worker Number": 0, "Actual Startup Time": 10.484, "Actual Total Time": 10.487, "Actual Rows": 13693, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 10.5, "Actual Total Time": 10.501, "Actual Rows": 13373, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 10.509, "Actual Total Time": 10.511, "Actual Rows": 13173, "Actual Loops": 1}, {"Worker Number": 3, "Actual Startup Time": 10.509, "Actual Total Time": 10.511, "Actual Rows": 13367, "Actual Loops": 1}, {"Worker Number": 4, "Actual Startup Time": 10.502, "Actual Total Time": 10.504, "Actual Rows": 13227, "Actual Loops": 1}, {"Worker Number": 5, "Actual Startup Time": 10.509, "Actual Total Time": 10.51, "Actual Rows": 13126, "Actual Loops": 1}], "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": true, "Async Capable": false, "Relation Name": "supplier", "Schema": "public", "Alias": "supplier", "Startup Cost": 0.0, "Total Cost": 2804.24, "Plan Rows": 58824, "Plan Width": 8, "Actual Startup Time": 0.011, "Actual Total Time": 5.636, "Actual Rows": 14286, "Actual Loops": 7, "Output": ["supplier.s_suppkey", "supplier.s_nationkey"], "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.012, "Actual Total Time": 5.751, "Actual Rows": 13693, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 0.011, "Actual Total Time": 5.674, "Actual Rows": 13373, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 0.012, "Actual Total Time": 5.568, "Actual Rows": 13173, "Actual Loops": 1}, {"Worker Number": 3, "Actual Startup Time": 0.013, "Actual Total Time": 5.725, "Actual Rows": 13367, "Actual Loops": 1}, {"Worker Number": 4, "Actual Startup Time": 0.011, "Actual Total Time": 5.632, "Actual Rows": 13227, "Actual Loops": 1}, {"Worker Number": 5, "Actual Startup Time": 0.011, "Actual Total Time": 5.632, "Actual Rows": 13126, "Actual Loops": 1}]}]}]}, {"Node Type": "Index Scan", "Parent Relationship": "Inner", "Parallel Aware": false, "Async Capable": false, "Scan Direction": "Forward", "Index Name": "l_pk_sk", "Relation Name": "lineitem", "Schema": "public", "Alias": "lineitem", "Startup Cost": 0.44, "Total Cost": 0.62, "Plan Rows": 1, "Plan Width": 29, "Actual Startup Time": 0.005, "Actual Total Time": 0.02, "Actual Rows": 7, "Actual Loops": 434172, "Output": ["lineitem.l_orderkey", "lineitem.l_partkey", "lineitem.l_suppkey", "lineitem.l_linenumber", "lineitem.l_quantity", "lineitem.l_extendedprice", "lineitem.l_discount", "lineitem.l_tax", "lineitem.l_returnflag", "lineitem.l_linestatus", "lineitem.l_shipdate", "lineitem.l_commitdate", "lineitem.l_receiptdate", "lineitem.l_shipinstruct", "lineitem.l_shipmode", "lineitem.l_comment"], "Index Cond": "((lineitem.l_partkey = partsupp.ps_partkey) AND (lineitem.l_suppkey = partsupp.ps_suppkey))", "Rows Removed by Index Recheck": 0, "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.005, "Actual Total Time": 0.022, "Actual Rows": 7, "Actual Loops": 58372}, {"Worker Number": 1, "Actual Startup Time": 0.005, "Actual Total Time": 0.022, "Actual Rows": 8, "Actual Loops": 58044}, {"Worker Number": 2, "Actual Startup Time": 0.005, "Actual Total Time": 0.022, "Actual Rows": 7, "Actual Loops": 59360}, {"Worker Number": 3, "Actual Startup Time": 0.005, "Actual Total Time": 0.022, "Actual Rows": 7, "Actual Loops": 58664}, {"Worker Number": 4, "Actual Startup Time": 0.005, "Actual Total Time": 0.022, "Actual Rows": 8, "Actual Loops": 57308}, {"Worker Number": 5, "Actual Startup Time": 0.005, "Actual Total Time": 0.023, "Actual Rows": 8, "Actual Loops": 56580}]}]}]}]}, {"Node Type": "Hash", "Parent Relationship": "Inner", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 1.25, "Total Cost": 1.25, "Plan Rows": 25, "Plan Width": 30, "Actual Startup Time": 0.039, "Actual Total Time": 0.04, "Actual Rows": 25, "Actual Loops": 7, "Output": ["nation.n_name", "nation.n_nationkey"], "Hash Buckets": 1024, "Original Hash Buckets": 1024, "Hash Batches": 1, "Original Hash Batches": 1, "Peak Memory Usage": 10, "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.034, "Actual Total Time": 0.036, "Actual Rows": 25, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 0.045, "Actual Total Time": 0.046, "Actual Rows": 25, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 0.043, "Actual Total Time": 0.045, "Actual Rows": 25, "Actual Loops": 1}, {"Worker Number": 3, "Actual Startup Time": 0.034, "Actual Total Time": 0.036, "Actual Rows": 25, "Actual Loops": 1}, {"Worker Number": 4, "Actual Startup Time": 0.044, "Actual Total Time": 0.045, "Actual Rows": 25, "Actual Loops": 1}, {"Worker Number": 5, "Actual Startup Time": 0.047, "Actual Total Time": 0.048, "Actual Rows": 25, "Actual Loops": 1}], "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Relation Name": "nation", "Schema": "public", "Alias": "nation", "Startup Cost": 0.0, "Total Cost": 1.25, "Plan Rows": 25, "Plan Width": 30, "Actual Startup Time": 0.023, "Actual Total Time": 0.028, "Actual Rows": 25, "Actual Loops": 7, "Output": ["nation.n_name", "nation.n_nationkey"], "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.02, "Actual Total Time": 0.024, "Actual Rows": 25, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 0.03, "Actual Total Time": 0.034, "Actual Rows": 25, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 0.026, "Actual Total Time": 0.032, "Actual Rows": 25, "Actual Loops": 1}, {"Worker Number": 3, "Actual Startup Time": 0.019, "Actual Total Time": 0.023, "Actual Rows": 25, "Actual Loops": 1}, {"Worker Number": 4, "Actual Startup Time": 0.029, "Actual Total Time": 0.033, "Actual Rows": 25, "Actual Loops": 1}, {"Worker Number": 5, "Actual Startup Time": 0.029, "Actual Total Time": 0.036, "Actual Rows": 25, "Actual Loops": 1}]}]}]}]}]}]}]}, "Planning Time": 4.774, "Triggers": [], "Execution Time": 4255.745} diff --git a/dev9/pg15/tpch/sf_1/explain/15721/1-1.ok b/dev9/pg15/tpch/sf_1/explain/15721/1-1.ok new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/dev9/pg15/tpch/sf_1/explain/15721/1-1.res b/dev9/pg15/tpch/sf_1/explain/15721/1-1.res new file mode 100644 index 0000000000000000000000000000000000000000..963869eeaa1c12a436fc5c651e9232dc09e3c6ea --- /dev/null +++ b/dev9/pg15/tpch/sf_1/explain/15721/1-1.res @@ -0,0 +1 @@ +{"Plan": {"Node Type": "Aggregate", "Strategy": "Sorted", "Partial Mode": "Finalize", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 169558.63, "Total Cost": 169563.4, "Plan Rows": 6, "Plan Width": 236, "Output": ["l_returnflag", "l_linestatus", "sum(l_quantity)", "sum(l_extendedprice)", "sum((l_extendedprice * ('1'::numeric - l_discount)))", "sum(((l_extendedprice * ('1'::numeric - l_discount)) * ('1'::numeric + l_tax)))", "avg(l_quantity)", "avg(l_extendedprice)", "avg(l_discount)", "count(*)"], "Group Key": ["lineitem.l_returnflag", "lineitem.l_linestatus"], "Plans": [{"Node Type": "Gather Merge", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 169558.63, "Total Cost": 169562.26, "Plan Rows": 30, "Plan Width": 236, "Output": ["l_returnflag", "l_linestatus", "(PARTIAL sum(l_quantity))", "(PARTIAL sum(l_extendedprice))", "(PARTIAL sum((l_extendedprice * ('1'::numeric - l_discount))))", "(PARTIAL sum(((l_extendedprice * ('1'::numeric - l_discount)) * ('1'::numeric + l_tax))))", "(PARTIAL avg(l_quantity))", "(PARTIAL avg(l_extendedprice))", "(PARTIAL avg(l_discount))", "(PARTIAL count(*))"], "Workers Planned": 5, "Plans": [{"Node Type": "Sort", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 168558.56, "Total Cost": 168558.57, "Plan Rows": 6, "Plan Width": 236, "Output": ["l_returnflag", "l_linestatus", "(PARTIAL sum(l_quantity))", "(PARTIAL sum(l_extendedprice))", "(PARTIAL sum((l_extendedprice * ('1'::numeric - l_discount))))", "(PARTIAL sum(((l_extendedprice * ('1'::numeric - l_discount)) * ('1'::numeric + l_tax))))", "(PARTIAL avg(l_quantity))", "(PARTIAL avg(l_extendedprice))", "(PARTIAL avg(l_discount))", "(PARTIAL count(*))"], "Sort Key": ["lineitem.l_returnflag", "lineitem.l_linestatus"], "Plans": [{"Node Type": "Aggregate", "Strategy": "Hashed", "Partial Mode": "Partial", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 168558.34, "Total Cost": 168558.48, "Plan Rows": 6, "Plan Width": 236, "Output": ["l_returnflag", "l_linestatus", "PARTIAL sum(l_quantity)", "PARTIAL sum(l_extendedprice)", "PARTIAL sum((l_extendedprice * ('1'::numeric - l_discount)))", "PARTIAL sum(((l_extendedprice * ('1'::numeric - l_discount)) * ('1'::numeric + l_tax)))", "PARTIAL avg(l_quantity)", "PARTIAL avg(l_extendedprice)", "PARTIAL avg(l_discount)", "PARTIAL count(*)"], "Group Key": ["lineitem.l_returnflag", "lineitem.l_linestatus"], "Planned Partitions": 0, "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": true, "Async Capable": false, "Relation Name": "lineitem", "Schema": "public", "Alias": "lineitem", "Startup Cost": 0.0, "Total Cost": 127506.04, "Plan Rows": 1172923, "Plan Width": 25, "Output": ["l_orderkey", "l_partkey", "l_suppkey", "l_linenumber", "l_quantity", "l_extendedprice", "l_discount", "l_tax", "l_returnflag", "l_linestatus", "l_shipdate", "l_commitdate", "l_receiptdate", "l_shipinstruct", "l_shipmode", "l_comment"], "Filter": "(lineitem.l_shipdate <= '1998-08-07 23:59:57'::timestamp without time zone)"}]}]}]}]}} diff --git a/dev9/pg15/tpch/sf_1/explain/15721/10-1.ok b/dev9/pg15/tpch/sf_1/explain/15721/10-1.ok new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/dev9/pg15/tpch/sf_1/explain/15721/10-1.res b/dev9/pg15/tpch/sf_1/explain/15721/10-1.res new file mode 100644 index 0000000000000000000000000000000000000000..1f16f65c75a71eaba8eb8f58fe06de88021213b8 --- /dev/null +++ b/dev9/pg15/tpch/sf_1/explain/15721/10-1.res @@ -0,0 +1 @@ +{"Plan": {"Node Type": "Limit", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 69748.5, "Total Cost": 69748.55, "Plan Rows": 20, "Plan Width": 202, "Output": ["customer.c_custkey", "customer.c_name", "(sum((lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount))))", "customer.c_acctbal", "nation.n_name", "customer.c_address", "customer.c_phone", "customer.c_comment"], "Plans": [{"Node Type": "Sort", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 69748.5, "Total Cost": 69884.11, "Plan Rows": 54244, "Plan Width": 202, "Output": ["customer.c_custkey", "customer.c_name", "(sum((lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount))))", "customer.c_acctbal", "nation.n_name", "customer.c_address", "customer.c_phone", "customer.c_comment"], "Sort Key": ["(sum((lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount)))) DESC"], "Plans": [{"Node Type": "Aggregate", "Strategy": "Hashed", "Partial Mode": "Simple", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 67627.04, "Total Cost": 68305.09, "Plan Rows": 54244, "Plan Width": 202, "Output": ["customer.c_custkey", "customer.c_name", "sum((lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount)))", "customer.c_acctbal", "nation.n_name", "customer.c_address", "customer.c_phone", "customer.c_comment"], "Group Key": ["customer.c_custkey", "nation.n_name"], "Planned Partitions": 0, "Plans": [{"Node Type": "Gather", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 6605.74, "Total Cost": 66948.99, "Plan Rows": 54244, "Plan Width": 182, "Output": ["customer.c_custkey", "nation.n_name", "customer.c_name", "lineitem.l_extendedprice", "lineitem.l_discount", "customer.c_acctbal", "customer.c_address", "customer.c_phone", "customer.c_comment"], "Workers Planned": 3, "Single Copy": false, "Plans": [{"Node Type": "Hash Join", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Join Type": "Inner", "Startup Cost": 5605.74, "Total Cost": 60524.59, "Plan Rows": 17498, "Plan Width": 182, "Output": ["customer.c_custkey", "nation.n_name", "customer.c_name", "lineitem.l_extendedprice", "lineitem.l_discount", "customer.c_acctbal", "customer.c_address", "customer.c_phone", "customer.c_comment"], "Inner Unique": true, "Hash Cond": "(customer.c_nationkey = nation.n_nationkey)", "Plans": [{"Node Type": "Hash Join", "Parent Relationship": "Outer", "Parallel Aware": true, "Async Capable": false, "Join Type": "Inner", "Startup Cost": 5604.17, "Total Cost": 60469.31, "Plan Rows": 17498, "Plan Width": 160, "Output": ["customer.c_custkey", "customer.c_name", "customer.c_acctbal", "customer.c_address", "customer.c_phone", "customer.c_comment", "customer.c_nationkey", "lineitem.l_extendedprice", "lineitem.l_discount"], "Inner Unique": true, "Hash Cond": "(orders.o_custkey = customer.c_custkey)", "Plans": [{"Node Type": "Nested Loop", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Join Type": "Inner", "Startup Cost": 612.92, "Total Cost": 55432.13, "Plan Rows": 17498, "Plan Width": 16, "Output": ["orders.o_custkey", "lineitem.l_extendedprice", "lineitem.l_discount"], "Inner Unique": false, "Plans": [{"Node Type": "Bitmap Heap Scan", "Parent Relationship": "Outer", "Parallel Aware": true, "Async Capable": false, "Relation Name": "orders", "Schema": "public", "Alias": "orders", "Startup Cost": 612.49, "Total Cost": 26970.98, "Plan Rows": 17566, "Plan Width": 8, "Output": ["orders.o_orderkey", "orders.o_custkey", "orders.o_orderstatus", "orders.o_totalprice", "orders.o_orderdate", "orders.o_orderpriority", "orders.o_clerk", "orders.o_shippriority", "orders.o_comment"], "Recheck Cond": "((orders.o_orderdate >= '1993-02-01'::date) AND (orders.o_orderdate < '1993-05-01 00:00:00'::timestamp without time zone))", "Plans": [{"Node Type": "Bitmap Index Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Index Name": "o_od", "Startup Cost": 0.0, "Total Cost": 598.88, "Plan Rows": 54455, "Plan Width": 0, "Index Cond": "((orders.o_orderdate >= '1993-02-01'::date) AND (orders.o_orderdate < '1993-05-01 00:00:00'::timestamp without time zone))"}]}, {"Node Type": "Index Scan", "Parent Relationship": "Inner", "Parallel Aware": false, "Async Capable": false, "Scan Direction": "Forward", "Index Name": "l_ok", "Relation Name": "lineitem", "Schema": "public", "Alias": "lineitem", "Startup Cost": 0.43, "Total Cost": 1.61, "Plan Rows": 1, "Plan Width": 16, "Output": ["lineitem.l_orderkey", "lineitem.l_partkey", "lineitem.l_suppkey", "lineitem.l_linenumber", "lineitem.l_quantity", "lineitem.l_extendedprice", "lineitem.l_discount", "lineitem.l_tax", "lineitem.l_returnflag", "lineitem.l_linestatus", "lineitem.l_shipdate", "lineitem.l_commitdate", "lineitem.l_receiptdate", "lineitem.l_shipinstruct", "lineitem.l_shipmode", "lineitem.l_comment"], "Index Cond": "(lineitem.l_orderkey = orders.o_orderkey)", "Filter": "(lineitem.l_returnflag = 'R'::bpchar)"}]}, {"Node Type": "Hash", "Parent Relationship": "Inner", "Parallel Aware": true, "Async Capable": false, "Startup Cost": 4210.0, "Total Cost": 4210.0, "Plan Rows": 62500, "Plan Width": 148, "Output": ["customer.c_custkey", "customer.c_name", "customer.c_acctbal", "customer.c_address", "customer.c_phone", "customer.c_comment", "customer.c_nationkey"], "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": true, "Async Capable": false, "Relation Name": "customer", "Schema": "public", "Alias": "customer", "Startup Cost": 0.0, "Total Cost": 4210.0, "Plan Rows": 62500, "Plan Width": 148, "Output": ["customer.c_custkey", "customer.c_name", "customer.c_acctbal", "customer.c_address", "customer.c_phone", "customer.c_comment", "customer.c_nationkey"]}]}]}, {"Node Type": "Hash", "Parent Relationship": "Inner", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 1.25, "Total Cost": 1.25, "Plan Rows": 25, "Plan Width": 30, "Output": ["nation.n_name", "nation.n_nationkey"], "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Relation Name": "nation", "Schema": "public", "Alias": "nation", "Startup Cost": 0.0, "Total Cost": 1.25, "Plan Rows": 25, "Plan Width": 30, "Output": ["nation.n_name", "nation.n_nationkey"]}]}]}]}]}]}]}} diff --git a/dev9/pg15/tpch/sf_1/explain/15721/11-1.ok b/dev9/pg15/tpch/sf_1/explain/15721/11-1.ok new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/dev9/pg15/tpch/sf_1/explain/15721/11-1.res b/dev9/pg15/tpch/sf_1/explain/15721/11-1.res new file mode 100644 index 0000000000000000000000000000000000000000..2e4ffef5f1903ac1d7f33c147b4b1bec4d730562 --- /dev/null +++ b/dev9/pg15/tpch/sf_1/explain/15721/11-1.res @@ -0,0 +1 @@ +{"Plan": {"Node Type": "Sort", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 5901.14, "Total Cost": 5927.81, "Plan Rows": 10667, "Plan Width": 36, "Output": ["partsupp.ps_partkey", "(sum((partsupp.ps_supplycost * (partsupp.ps_availqty)::numeric)))"], "Sort Key": ["(sum((partsupp.ps_supplycost * (partsupp.ps_availqty)::numeric))) DESC"], "Plans": [{"Node Type": "Aggregate", "Strategy": "Plain", "Partial Mode": "Simple", "Parent Relationship": "InitPlan", "Subplan Name": "InitPlan 1 (returns $2)", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 2313.73, "Total Cost": 2313.75, "Plan Rows": 1, "Plan Width": 32, "Output": ["(sum((partsupp_1.ps_supplycost * (partsupp_1.ps_availqty)::numeric)) * 0.0001000000)"], "Plans": [{"Node Type": "Nested Loop", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Join Type": "Inner", "Startup Cost": 4.91, "Total Cost": 2073.73, "Plan Rows": 32000, "Plan Width": 10, "Output": ["partsupp_1.ps_supplycost", "partsupp_1.ps_availqty"], "Inner Unique": false, "Plans": [{"Node Type": "Nested Loop", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Join Type": "Inner", "Startup Cost": 4.48, "Total Cost": 226.33, "Plan Rows": 400, "Plan Width": 4, "Output": ["supplier_1.s_suppkey"], "Inner Unique": false, "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Relation Name": "nation", "Schema": "public", "Alias": "nation_1", "Startup Cost": 0.0, "Total Cost": 1.31, "Plan Rows": 1, "Plan Width": 4, "Output": ["nation_1.n_nationkey", "nation_1.n_name", "nation_1.n_regionkey", "nation_1.n_comment"], "Filter": "(nation_1.n_name = 'CHINA'::bpchar)"}, {"Node Type": "Bitmap Heap Scan", "Parent Relationship": "Inner", "Parallel Aware": false, "Async Capable": false, "Relation Name": "supplier", "Schema": "public", "Alias": "supplier_1", "Startup Cost": 4.48, "Total Cost": 221.01, "Plan Rows": 400, "Plan Width": 8, "Output": ["supplier_1.s_suppkey", "supplier_1.s_name", "supplier_1.s_address", "supplier_1.s_nationkey", "supplier_1.s_phone", "supplier_1.s_acctbal", "supplier_1.s_comment"], "Recheck Cond": "(supplier_1.s_nationkey = nation_1.n_nationkey)", "Plans": [{"Node Type": "Bitmap Index Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Index Name": "s_nk", "Startup Cost": 0.0, "Total Cost": 4.38, "Plan Rows": 400, "Plan Width": 0, "Index Cond": "(supplier_1.s_nationkey = nation_1.n_nationkey)"}]}]}, {"Node Type": "Index Scan", "Parent Relationship": "Inner", "Parallel Aware": false, "Async Capable": false, "Scan Direction": "Forward", "Index Name": "ps_sk", "Relation Name": "partsupp", "Schema": "public", "Alias": "partsupp_1", "Startup Cost": 0.42, "Total Cost": 3.82, "Plan Rows": 80, "Plan Width": 14, "Output": ["partsupp_1.ps_partkey", "partsupp_1.ps_suppkey", "partsupp_1.ps_availqty", "partsupp_1.ps_supplycost", "partsupp_1.ps_comment"], "Index Cond": "(partsupp_1.ps_suppkey = supplier_1.s_suppkey)"}]}]}, {"Node Type": "Aggregate", "Strategy": "Hashed", "Partial Mode": "Simple", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 2393.73, "Total Cost": 2873.73, "Plan Rows": 10667, "Plan Width": 36, "Output": ["partsupp.ps_partkey", "sum((partsupp.ps_supplycost * (partsupp.ps_availqty)::numeric))"], "Group Key": ["partsupp.ps_partkey"], "Filter": "(sum((partsupp.ps_supplycost * (partsupp.ps_availqty)::numeric)) > $2)", "Planned Partitions": 0, "Plans": [{"Node Type": "Nested Loop", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Join Type": "Inner", "Startup Cost": 4.91, "Total Cost": 2073.73, "Plan Rows": 32000, "Plan Width": 14, "Output": ["partsupp.ps_partkey", "partsupp.ps_supplycost", "partsupp.ps_availqty"], "Inner Unique": false, "Plans": [{"Node Type": "Nested Loop", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Join Type": "Inner", "Startup Cost": 4.48, "Total Cost": 226.33, "Plan Rows": 400, "Plan Width": 4, "Output": ["supplier.s_suppkey"], "Inner Unique": false, "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Relation Name": "nation", "Schema": "public", "Alias": "nation", "Startup Cost": 0.0, "Total Cost": 1.31, "Plan Rows": 1, "Plan Width": 4, "Output": ["nation.n_nationkey", "nation.n_name", "nation.n_regionkey", "nation.n_comment"], "Filter": "(nation.n_name = 'CHINA'::bpchar)"}, {"Node Type": "Bitmap Heap Scan", "Parent Relationship": "Inner", "Parallel Aware": false, "Async Capable": false, "Relation Name": "supplier", "Schema": "public", "Alias": "supplier", "Startup Cost": 4.48, "Total Cost": 221.01, "Plan Rows": 400, "Plan Width": 8, "Output": ["supplier.s_suppkey", "supplier.s_name", "supplier.s_address", "supplier.s_nationkey", "supplier.s_phone", "supplier.s_acctbal", "supplier.s_comment"], "Recheck Cond": "(supplier.s_nationkey = nation.n_nationkey)", "Plans": [{"Node Type": "Bitmap Index Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Index Name": "s_nk", "Startup Cost": 0.0, "Total Cost": 4.38, "Plan Rows": 400, "Plan Width": 0, "Index Cond": "(supplier.s_nationkey = nation.n_nationkey)"}]}]}, {"Node Type": "Index Scan", "Parent Relationship": "Inner", "Parallel Aware": false, "Async Capable": false, "Scan Direction": "Forward", "Index Name": "ps_sk", "Relation Name": "partsupp", "Schema": "public", "Alias": "partsupp", "Startup Cost": 0.42, "Total Cost": 3.82, "Plan Rows": 80, "Plan Width": 18, "Output": ["partsupp.ps_partkey", "partsupp.ps_suppkey", "partsupp.ps_availqty", "partsupp.ps_supplycost", "partsupp.ps_comment"], "Index Cond": "(partsupp.ps_suppkey = supplier.s_suppkey)"}]}]}]}} diff --git a/dev9/pg15/tpch/sf_1/explain/15721/12-1.ok b/dev9/pg15/tpch/sf_1/explain/15721/12-1.ok new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/dev9/pg15/tpch/sf_1/explain/15721/12-1.res b/dev9/pg15/tpch/sf_1/explain/15721/12-1.res new file mode 100644 index 0000000000000000000000000000000000000000..50f438f17c24f7000aff180139865e77b2081819 --- /dev/null +++ b/dev9/pg15/tpch/sf_1/explain/15721/12-1.res @@ -0,0 +1 @@ +{"Plan": {"Node Type": "Aggregate", "Strategy": "Sorted", "Partial Mode": "Finalize", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 135632.42, "Total Cost": 135753.72, "Plan Rows": 7, "Plan Width": 27, "Output": ["lineitem.l_shipmode", "sum(CASE WHEN ((orders.o_orderpriority = '1-URGENT'::bpchar) OR (orders.o_orderpriority = '2-HIGH'::bpchar)) THEN 1 ELSE 0 END)", "sum(CASE WHEN ((orders.o_orderpriority <> '1-URGENT'::bpchar) AND (orders.o_orderpriority <> '2-HIGH'::bpchar)) THEN 1 ELSE 0 END)"], "Group Key": ["lineitem.l_shipmode"], "Plans": [{"Node Type": "Gather Merge", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 135632.42, "Total Cost": 135753.39, "Plan Rows": 35, "Plan Width": 27, "Output": ["lineitem.l_shipmode", "(PARTIAL sum(CASE WHEN ((orders.o_orderpriority = '1-URGENT'::bpchar) OR (orders.o_orderpriority = '2-HIGH'::bpchar)) THEN 1 ELSE 0 END))", "(PARTIAL sum(CASE WHEN ((orders.o_orderpriority <> '1-URGENT'::bpchar) AND (orders.o_orderpriority <> '2-HIGH'::bpchar)) THEN 1 ELSE 0 END))"], "Workers Planned": 5, "Plans": [{"Node Type": "Aggregate", "Strategy": "Sorted", "Partial Mode": "Partial", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 134632.34, "Total Cost": 134749.09, "Plan Rows": 7, "Plan Width": 27, "Output": ["lineitem.l_shipmode", "PARTIAL sum(CASE WHEN ((orders.o_orderpriority = '1-URGENT'::bpchar) OR (orders.o_orderpriority = '2-HIGH'::bpchar)) THEN 1 ELSE 0 END)", "PARTIAL sum(CASE WHEN ((orders.o_orderpriority <> '1-URGENT'::bpchar) AND (orders.o_orderpriority <> '2-HIGH'::bpchar)) THEN 1 ELSE 0 END)"], "Group Key": ["lineitem.l_shipmode"], "Plans": [{"Node Type": "Sort", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 134632.34, "Total Cost": 134646.93, "Plan Rows": 5834, "Plan Width": 27, "Output": ["lineitem.l_shipmode", "orders.o_orderpriority"], "Sort Key": ["lineitem.l_shipmode"], "Plans": [{"Node Type": "Nested Loop", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Join Type": "Inner", "Startup Cost": 10030.17, "Total Cost": 134267.42, "Plan Rows": 5834, "Plan Width": 27, "Output": ["lineitem.l_shipmode", "orders.o_orderpriority"], "Inner Unique": true, "Plans": [{"Node Type": "Bitmap Heap Scan", "Parent Relationship": "Outer", "Parallel Aware": true, "Async Capable": false, "Relation Name": "lineitem", "Schema": "public", "Alias": "lineitem", "Startup Cost": 10029.75, "Total Cost": 126649.13, "Plan Rows": 5834, "Plan Width": 15, "Output": ["lineitem.l_orderkey", "lineitem.l_partkey", "lineitem.l_suppkey", "lineitem.l_linenumber", "lineitem.l_quantity", "lineitem.l_extendedprice", "lineitem.l_discount", "lineitem.l_tax", "lineitem.l_returnflag", "lineitem.l_linestatus", "lineitem.l_shipdate", "lineitem.l_commitdate", "lineitem.l_receiptdate", "lineitem.l_shipinstruct", "lineitem.l_shipmode", "lineitem.l_comment"], "Recheck Cond": "((lineitem.l_receiptdate >= '1995-01-01'::date) AND (lineitem.l_receiptdate < '1996-01-01 00:00:00'::timestamp without time zone))", "Filter": "((lineitem.l_shipmode = ANY ('{MAIL,TRUCK}'::bpchar[])) AND (lineitem.l_commitdate < lineitem.l_receiptdate) AND (lineitem.l_shipdate < lineitem.l_commitdate))", "Plans": [{"Node Type": "Bitmap Index Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Index Name": "l_rd", "Startup Cost": 0.0, "Total Cost": 10022.45, "Plan Rows": 914752, "Plan Width": 0, "Index Cond": "((lineitem.l_receiptdate >= '1995-01-01'::date) AND (lineitem.l_receiptdate < '1996-01-01 00:00:00'::timestamp without time zone))"}]}, {"Node Type": "Index Scan", "Parent Relationship": "Inner", "Parallel Aware": false, "Async Capable": false, "Scan Direction": "Forward", "Index Name": "o_ok", "Relation Name": "orders", "Schema": "public", "Alias": "orders", "Startup Cost": 0.43, "Total Cost": 1.31, "Plan Rows": 1, "Plan Width": 20, "Output": ["orders.o_orderkey", "orders.o_custkey", "orders.o_orderstatus", "orders.o_totalprice", "orders.o_orderdate", "orders.o_orderpriority", "orders.o_clerk", "orders.o_shippriority", "orders.o_comment"], "Index Cond": "(orders.o_orderkey = lineitem.l_orderkey)"}]}]}]}]}]}} diff --git a/dev9/pg15/tpch/sf_1/explain/15721/13-1.ok b/dev9/pg15/tpch/sf_1/explain/15721/13-1.ok new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/dev9/pg15/tpch/sf_1/explain/15721/13-1.res b/dev9/pg15/tpch/sf_1/explain/15721/13-1.res new file mode 100644 index 0000000000000000000000000000000000000000..4d88a629d9458d6227d24536b6568186393075b3 --- /dev/null +++ b/dev9/pg15/tpch/sf_1/explain/15721/13-1.res @@ -0,0 +1 @@ +{"Plan": {"Node Type": "Sort", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 64508.47, "Total Cost": 64508.97, "Plan Rows": 200, "Plan Width": 16, "Output": ["(count(orders.o_orderkey))", "(count(*))"], "Sort Key": ["(count(*)) DESC", "(count(orders.o_orderkey)) DESC"], "Plans": [{"Node Type": "Aggregate", "Strategy": "Hashed", "Partial Mode": "Simple", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 64498.83, "Total Cost": 64500.83, "Plan Rows": 200, "Plan Width": 16, "Output": ["(count(orders.o_orderkey))", "count(*)"], "Group Key": ["count(orders.o_orderkey)"], "Planned Partitions": 0, "Plans": [{"Node Type": "Aggregate", "Strategy": "Hashed", "Partial Mode": "Simple", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 60748.83, "Total Cost": 62248.83, "Plan Rows": 150000, "Plan Width": 12, "Output": ["customer.c_custkey", "count(orders.o_orderkey)"], "Group Key": ["customer.c_custkey"], "Planned Partitions": 0, "Plans": [{"Node Type": "Hash Join", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Join Type": "Right", "Startup Cost": 4580.82, "Total Cost": 53323.98, "Plan Rows": 1484970, "Plan Width": 8, "Output": ["customer.c_custkey", "orders.o_orderkey"], "Inner Unique": true, "Hash Cond": "(orders.o_custkey = customer.c_custkey)", "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Relation Name": "orders", "Schema": "public", "Alias": "orders", "Startup Cost": 0.0, "Total Cost": 44845.0, "Plan Rows": 1484970, "Plan Width": 8, "Output": ["orders.o_orderkey", "orders.o_custkey", "orders.o_orderstatus", "orders.o_totalprice", "orders.o_orderdate", "orders.o_orderpriority", "orders.o_clerk", "orders.o_shippriority", "orders.o_comment"], "Filter": "((orders.o_comment)::text !~~ '%unusual%requests%'::text)"}, {"Node Type": "Hash", "Parent Relationship": "Inner", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 2705.82, "Total Cost": 2705.82, "Plan Rows": 150000, "Plan Width": 4, "Output": ["customer.c_custkey"], "Plans": [{"Node Type": "Index Only Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Scan Direction": "Forward", "Index Name": "c_ck", "Relation Name": "customer", "Schema": "public", "Alias": "customer", "Startup Cost": 0.42, "Total Cost": 2705.82, "Plan Rows": 150000, "Plan Width": 4, "Output": ["customer.c_custkey"]}]}]}]}]}]}} diff --git a/dev9/pg15/tpch/sf_1/explain/15721/14-1.ok b/dev9/pg15/tpch/sf_1/explain/15721/14-1.ok new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/dev9/pg15/tpch/sf_1/explain/15721/14-1.res b/dev9/pg15/tpch/sf_1/explain/15721/14-1.res new file mode 100644 index 0000000000000000000000000000000000000000..328aeb9a8b3db60a7146e23e7c0fe6af0fd42aae --- /dev/null +++ b/dev9/pg15/tpch/sf_1/explain/15721/14-1.res @@ -0,0 +1 @@ +{"Plan": {"Node Type": "Aggregate", "Strategy": "Plain", "Partial Mode": "Finalize", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 66395.04, "Total Cost": 66395.05, "Plan Rows": 1, "Plan Width": 32, "Output": ["((100.00 * sum(CASE WHEN ((part.p_type)::text ~~ 'PROMO%'::text) THEN (lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount)) ELSE '0'::numeric END)) / sum((lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount))))"], "Plans": [{"Node Type": "Gather", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 66394.58, "Total Cost": 66394.99, "Plan Rows": 4, "Plan Width": 64, "Output": ["(PARTIAL sum(CASE WHEN ((part.p_type)::text ~~ 'PROMO%'::text) THEN (lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount)) ELSE '0'::numeric END))", "(PARTIAL sum((lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount))))"], "Workers Planned": 4, "Single Copy": false, "Plans": [{"Node Type": "Aggregate", "Strategy": "Plain", "Partial Mode": "Partial", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 65394.58, "Total Cost": 65394.59, "Plan Rows": 1, "Plan Width": 64, "Output": ["PARTIAL sum(CASE WHEN ((part.p_type)::text ~~ 'PROMO%'::text) THEN (lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount)) ELSE '0'::numeric END)", "PARTIAL sum((lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount)))"], "Plans": [{"Node Type": "Hash Join", "Parent Relationship": "Outer", "Parallel Aware": true, "Async Capable": false, "Join Type": "Inner", "Startup Cost": 6814.2, "Total Cost": 65066.28, "Plan Rows": 18760, "Plan Width": 33, "Output": ["part.p_type", "lineitem.l_extendedprice", "lineitem.l_discount"], "Inner Unique": true, "Hash Cond": "(lineitem.l_partkey = part.p_partkey)", "Plans": [{"Node Type": "Bitmap Heap Scan", "Parent Relationship": "Outer", "Parallel Aware": true, "Async Capable": false, "Relation Name": "lineitem", "Schema": "public", "Alias": "lineitem", "Startup Cost": 842.2, "Total Cost": 59045.04, "Plan Rows": 18760, "Plan Width": 16, "Output": ["lineitem.l_orderkey", "lineitem.l_partkey", "lineitem.l_suppkey", "lineitem.l_linenumber", "lineitem.l_quantity", "lineitem.l_extendedprice", "lineitem.l_discount", "lineitem.l_tax", "lineitem.l_returnflag", "lineitem.l_linestatus", "lineitem.l_shipdate", "lineitem.l_commitdate", "lineitem.l_receiptdate", "lineitem.l_shipinstruct", "lineitem.l_shipmode", "lineitem.l_comment"], "Recheck Cond": "((lineitem.l_shipdate >= '1995-05-01'::date) AND (lineitem.l_shipdate < '1995-06-01 00:00:00'::timestamp without time zone))", "Plans": [{"Node Type": "Bitmap Index Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Index Name": "l_sd", "Startup Cost": 0.0, "Total Cost": 823.44, "Plan Rows": 75041, "Plan Width": 0, "Index Cond": "((lineitem.l_shipdate >= '1995-05-01'::date) AND (lineitem.l_shipdate < '1995-06-01 00:00:00'::timestamp without time zone))"}]}, {"Node Type": "Hash", "Parent Relationship": "Inner", "Parallel Aware": true, "Async Capable": false, "Startup Cost": 4930.33, "Total Cost": 4930.33, "Plan Rows": 83333, "Plan Width": 25, "Output": ["part.p_type", "part.p_partkey"], "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": true, "Async Capable": false, "Relation Name": "part", "Schema": "public", "Alias": "part", "Startup Cost": 0.0, "Total Cost": 4930.33, "Plan Rows": 83333, "Plan Width": 25, "Output": ["part.p_type", "part.p_partkey"]}]}]}]}]}]}} diff --git a/dev9/pg15/tpch/sf_1/explain/15721/15-1.ok b/dev9/pg15/tpch/sf_1/explain/15721/15-1.ok new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/dev9/pg15/tpch/sf_1/explain/15721/15-1.res b/dev9/pg15/tpch/sf_1/explain/15721/15-1.res new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/dev9/pg15/tpch/sf_1/explain/15721/15-2.ok b/dev9/pg15/tpch/sf_1/explain/15721/15-2.ok new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/dev9/pg15/tpch/sf_1/explain/15721/15-2.res b/dev9/pg15/tpch/sf_1/explain/15721/15-2.res new file mode 100644 index 0000000000000000000000000000000000000000..ec701c4086029a4044a1f9017a651ff147e61392 --- /dev/null +++ b/dev9/pg15/tpch/sf_1/explain/15721/15-2.res @@ -0,0 +1 @@ +{"Plan": {"Node Type": "Merge Join", "Parallel Aware": false, "Async Capable": false, "Join Type": "Inner", "Startup Cost": 241931.38, "Total Cost": 242362.23, "Plan Rows": 50, "Plan Width": 103, "Output": ["supplier.s_suppkey", "supplier.s_name", "supplier.s_address", "supplier.s_phone", "revenue0.total_revenue"], "Inner Unique": true, "Merge Cond": "(supplier.s_suppkey = revenue0.supplier_no)", "Plans": [{"Node Type": "Aggregate", "Strategy": "Plain", "Partial Mode": "Simple", "Parent Relationship": "InitPlan", "Subplan Name": "InitPlan 1 (returns $0)", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 121014.58, "Total Cost": 121014.59, "Plan Rows": 1, "Plan Width": 32, "Output": ["max((sum((lineitem_1.l_extendedprice * ('1'::numeric - lineitem_1.l_discount)))))"], "Plans": [{"Node Type": "Aggregate", "Strategy": "Hashed", "Partial Mode": "Simple", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 120764.58, "Total Cost": 120889.58, "Plan Rows": 10000, "Plan Width": 36, "Output": ["lineitem_1.l_suppkey", "sum((lineitem_1.l_extendedprice * ('1'::numeric - lineitem_1.l_discount)))"], "Group Key": ["lineitem_1.l_suppkey"], "Planned Partitions": 0, "Plans": [{"Node Type": "Bitmap Heap Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Relation Name": "lineitem", "Schema": "public", "Alias": "lineitem_1", "Startup Cost": 2557.86, "Total Cost": 118483.09, "Plan Rows": 228149, "Plan Width": 16, "Output": ["lineitem_1.l_orderkey", "lineitem_1.l_partkey", "lineitem_1.l_suppkey", "lineitem_1.l_linenumber", "lineitem_1.l_quantity", "lineitem_1.l_extendedprice", "lineitem_1.l_discount", "lineitem_1.l_tax", "lineitem_1.l_returnflag", "lineitem_1.l_linestatus", "lineitem_1.l_shipdate", "lineitem_1.l_commitdate", "lineitem_1.l_receiptdate", "lineitem_1.l_shipinstruct", "lineitem_1.l_shipmode", "lineitem_1.l_comment"], "Recheck Cond": "((lineitem_1.l_shipdate >= '1995-01-01'::date) AND (lineitem_1.l_shipdate < '1995-04-01 00:00:00'::timestamp without time zone))", "Plans": [{"Node Type": "Bitmap Index Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Index Name": "l_sd", "Startup Cost": 0.0, "Total Cost": 2500.82, "Plan Rows": 228149, "Plan Width": 0, "Index Cond": "((lineitem_1.l_shipdate >= '1995-01-01'::date) AND (lineitem_1.l_shipdate < '1995-04-01 00:00:00'::timestamp without time zone))"}]}]}]}, {"Node Type": "Index Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Scan Direction": "Forward", "Index Name": "s_sk", "Relation Name": "supplier", "Schema": "public", "Alias": "supplier", "Startup Cost": 0.29, "Total Cost": 405.39, "Plan Rows": 10000, "Plan Width": 71, "Output": ["supplier.s_suppkey", "supplier.s_name", "supplier.s_address", "supplier.s_nationkey", "supplier.s_phone", "supplier.s_acctbal", "supplier.s_comment"]}, {"Node Type": "Sort", "Parent Relationship": "Inner", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 120916.5, "Total Cost": 120916.62, "Plan Rows": 50, "Plan Width": 36, "Output": ["revenue0.total_revenue", "revenue0.supplier_no"], "Sort Key": ["revenue0.supplier_no"], "Plans": [{"Node Type": "Subquery Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Alias": "revenue0", "Startup Cost": 120764.58, "Total Cost": 120915.08, "Plan Rows": 50, "Plan Width": 36, "Output": ["revenue0.total_revenue", "revenue0.supplier_no"], "Plans": [{"Node Type": "Aggregate", "Strategy": "Hashed", "Partial Mode": "Simple", "Parent Relationship": "Subquery", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 120764.58, "Total Cost": 120914.58, "Plan Rows": 50, "Plan Width": 36, "Output": ["lineitem.l_suppkey", "sum((lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount)))"], "Group Key": ["lineitem.l_suppkey"], "Filter": "(sum((lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount))) = $0)", "Planned Partitions": 0, "Plans": [{"Node Type": "Bitmap Heap Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Relation Name": "lineitem", "Schema": "public", "Alias": "lineitem", "Startup Cost": 2557.86, "Total Cost": 118483.09, "Plan Rows": 228149, "Plan Width": 16, "Output": ["lineitem.l_orderkey", "lineitem.l_partkey", "lineitem.l_suppkey", "lineitem.l_linenumber", "lineitem.l_quantity", "lineitem.l_extendedprice", "lineitem.l_discount", "lineitem.l_tax", "lineitem.l_returnflag", "lineitem.l_linestatus", "lineitem.l_shipdate", "lineitem.l_commitdate", "lineitem.l_receiptdate", "lineitem.l_shipinstruct", "lineitem.l_shipmode", "lineitem.l_comment"], "Recheck Cond": "((lineitem.l_shipdate >= '1995-01-01'::date) AND (lineitem.l_shipdate < '1995-04-01 00:00:00'::timestamp without time zone))", "Plans": [{"Node Type": "Bitmap Index Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Index Name": "l_sd", "Startup Cost": 0.0, "Total Cost": 2500.82, "Plan Rows": 228149, "Plan Width": 0, "Index Cond": "((lineitem.l_shipdate >= '1995-01-01'::date) AND (lineitem.l_shipdate < '1995-04-01 00:00:00'::timestamp without time zone))"}]}]}]}]}]}} diff --git a/dev9/pg15/tpch/sf_1/explain/15721/15-3.ok b/dev9/pg15/tpch/sf_1/explain/15721/15-3.ok new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/dev9/pg15/tpch/sf_1/explain/15721/15-3.res b/dev9/pg15/tpch/sf_1/explain/15721/15-3.res new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/dev9/pg15/tpch/sf_1/explain/15721/16-1.ok b/dev9/pg15/tpch/sf_1/explain/15721/16-1.ok new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/dev9/pg15/tpch/sf_1/explain/15721/16-1.res b/dev9/pg15/tpch/sf_1/explain/15721/16-1.res new file mode 100644 index 0000000000000000000000000000000000000000..375bb2a8ab28796cadce17bf89e12aa3198a8978 --- /dev/null +++ b/dev9/pg15/tpch/sf_1/explain/15721/16-1.res @@ -0,0 +1 @@ +{"Plan": {"Node Type": "Sort", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 26916.71, "Total Cost": 26956.78, "Plan Rows": 16025, "Plan Width": 44, "Output": ["part.p_brand", "part.p_type", "part.p_size", "(count(DISTINCT partsupp.ps_suppkey))"], "Sort Key": ["(count(DISTINCT partsupp.ps_suppkey)) DESC", "part.p_brand", "part.p_type", "part.p_size"], "Plans": [{"Node Type": "Aggregate", "Strategy": "Sorted", "Partial Mode": "Simple", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 17895.49, "Total Cost": 25797.53, "Plan Rows": 16025, "Plan Width": 44, "Output": ["part.p_brand", "part.p_type", "part.p_size", "count(DISTINCT partsupp.ps_suppkey)"], "Group Key": ["part.p_brand", "part.p_type", "part.p_size"], "Plans": [{"Node Type": "Gather Merge", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 17895.49, "Total Cost": 25040.54, "Plan Rows": 59674, "Plan Width": 40, "Output": ["part.p_brand", "part.p_type", "part.p_size", "partsupp.ps_suppkey"], "Workers Planned": 4, "Plans": [{"Node Type": "Sort", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 16895.43, "Total Cost": 16932.73, "Plan Rows": 14918, "Plan Width": 40, "Output": ["part.p_brand", "part.p_type", "part.p_size", "partsupp.ps_suppkey"], "Sort Key": ["part.p_brand", "part.p_type", "part.p_size"], "Plans": [{"Node Type": "Hash Join", "Parent Relationship": "Outer", "Parallel Aware": true, "Async Capable": false, "Join Type": "Inner", "Startup Cost": 6683.16, "Total Cost": 15861.26, "Plan Rows": 14918, "Plan Width": 40, "Output": ["part.p_brand", "part.p_type", "part.p_size", "partsupp.ps_suppkey"], "Inner Unique": true, "Hash Cond": "(partsupp.ps_partkey = part.p_partkey)", "Plans": [{"Node Type": "Index Only Scan", "Parent Relationship": "Outer", "Parallel Aware": true, "Async Capable": false, "Scan Direction": "Forward", "Index Name": "ps_pk_sk", "Relation Name": "partsupp", "Schema": "public", "Alias": "partsupp", "Startup Cost": 347.43, "Total Cost": 9263.03, "Plan Rows": 100000, "Plan Width": 8, "Output": ["partsupp.ps_partkey", "partsupp.ps_suppkey"], "Filter": "(NOT (hashed SubPlan 1))", "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "SubPlan", "Subplan Name": "SubPlan 1", "Parallel Aware": false, "Async Capable": false, "Relation Name": "supplier", "Schema": "public", "Alias": "supplier", "Startup Cost": 0.0, "Total Cost": 347.0, "Plan Rows": 1, "Plan Width": 4, "Output": ["supplier.s_suppkey"], "Filter": "((supplier.s_comment)::text ~~ '%Customer%Complaints%'::text)"}]}, {"Node Type": "Hash", "Parent Relationship": "Inner", "Parallel Aware": true, "Async Capable": false, "Startup Cost": 6180.33, "Total Cost": 6180.33, "Plan Rows": 12432, "Plan Width": 40, "Output": ["part.p_brand", "part.p_type", "part.p_size", "part.p_partkey"], "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": true, "Async Capable": false, "Relation Name": "part", "Schema": "public", "Alias": "part", "Startup Cost": 0.0, "Total Cost": 6180.33, "Plan Rows": 12432, "Plan Width": 40, "Output": ["part.p_brand", "part.p_type", "part.p_size", "part.p_partkey"], "Filter": "((part.p_brand <> 'Brand#11'::bpchar) AND ((part.p_type)::text !~~ 'ECONOMY ANODIZED%'::text) AND (part.p_size = ANY ('{42,16,39,18,23,32,44,41}'::integer[])))"}]}]}]}]}]}]}} diff --git a/dev9/pg15/tpch/sf_1/explain/15721/17-1.ok b/dev9/pg15/tpch/sf_1/explain/15721/17-1.ok new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/dev9/pg15/tpch/sf_1/explain/15721/17-1.res b/dev9/pg15/tpch/sf_1/explain/15721/17-1.res new file mode 100644 index 0000000000000000000000000000000000000000..a79592686d3c817882fc4ae1a99af0d33df81427 --- /dev/null +++ b/dev9/pg15/tpch/sf_1/explain/15721/17-1.res @@ -0,0 +1 @@ +{"Plan": {"Node Type": "Aggregate", "Strategy": "Plain", "Partial Mode": "Simple", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 195005.1, "Total Cost": 195005.11, "Plan Rows": 1, "Plan Width": 32, "Output": ["(sum(lineitem.l_extendedprice) / 7.0)"], "Plans": [{"Node Type": "Hash Join", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Join Type": "Inner", "Startup Cost": 6369.05, "Total Cost": 195000.2, "Plan Rows": 1960, "Plan Width": 8, "Output": ["lineitem.l_extendedprice"], "Inner Unique": true, "Hash Cond": "(lineitem.l_partkey = part.p_partkey)", "Join Filter": "(lineitem.l_quantity < (SubPlan 1))", "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Relation Name": "lineitem", "Schema": "public", "Alias": "lineitem", "Startup Cost": 0.0, "Total Cost": 172515.15, "Plan Rows": 6001215, "Plan Width": 17, "Output": ["lineitem.l_orderkey", "lineitem.l_partkey", "lineitem.l_suppkey", "lineitem.l_linenumber", "lineitem.l_quantity", "lineitem.l_extendedprice", "lineitem.l_discount", "lineitem.l_tax", "lineitem.l_returnflag", "lineitem.l_linestatus", "lineitem.l_shipdate", "lineitem.l_commitdate", "lineitem.l_receiptdate", "lineitem.l_shipinstruct", "lineitem.l_shipmode", "lineitem.l_comment"]}, {"Node Type": "Hash", "Parent Relationship": "Inner", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 6366.6, "Total Cost": 6366.6, "Plan Rows": 196, "Plan Width": 4, "Output": ["part.p_partkey"], "Plans": [{"Node Type": "Gather", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 1000.0, "Total Cost": 6366.6, "Plan Rows": 196, "Plan Width": 4, "Output": ["part.p_partkey"], "Workers Planned": 2, "Single Copy": false, "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": true, "Async Capable": false, "Relation Name": "part", "Schema": "public", "Alias": "part", "Startup Cost": 0.0, "Total Cost": 5347.0, "Plan Rows": 82, "Plan Width": 4, "Output": ["part.p_partkey"], "Filter": "((part.p_brand = 'Brand#14'::bpchar) AND (part.p_container = 'WRAP BOX'::bpchar))"}]}]}, {"Node Type": "Aggregate", "Strategy": "Plain", "Partial Mode": "Simple", "Parent Relationship": "SubPlan", "Subplan Name": "SubPlan 1", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 36.25, "Total Cost": 36.27, "Plan Rows": 1, "Plan Width": 32, "Output": ["(0.2 * avg(lineitem_1.l_quantity))"], "Plans": [{"Node Type": "Index Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Scan Direction": "Forward", "Index Name": "l_pk", "Relation Name": "lineitem", "Schema": "public", "Alias": "lineitem_1", "Startup Cost": 0.43, "Total Cost": 36.17, "Plan Rows": 31, "Plan Width": 5, "Output": ["lineitem_1.l_orderkey", "lineitem_1.l_partkey", "lineitem_1.l_suppkey", "lineitem_1.l_linenumber", "lineitem_1.l_quantity", "lineitem_1.l_extendedprice", "lineitem_1.l_discount", "lineitem_1.l_tax", "lineitem_1.l_returnflag", "lineitem_1.l_linestatus", "lineitem_1.l_shipdate", "lineitem_1.l_commitdate", "lineitem_1.l_receiptdate", "lineitem_1.l_shipinstruct", "lineitem_1.l_shipmode", "lineitem_1.l_comment"], "Index Cond": "(lineitem_1.l_partkey = part.p_partkey)"}]}]}]}} diff --git a/dev9/pg15/tpch/sf_1/explain/15721/18-1.ok b/dev9/pg15/tpch/sf_1/explain/15721/18-1.ok new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/dev9/pg15/tpch/sf_1/explain/15721/18-1.res b/dev9/pg15/tpch/sf_1/explain/15721/18-1.res new file mode 100644 index 0000000000000000000000000000000000000000..c5a5ee58dae6c844aa073080cb34e6d9ea6ce37c --- /dev/null +++ b/dev9/pg15/tpch/sf_1/explain/15721/18-1.res @@ -0,0 +1 @@ +{"Plan": {"Node Type": "Limit", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 728644.22, "Total Cost": 728644.47, "Plan Rows": 100, "Plan Width": 71, "Output": ["customer.c_name", "customer.c_custkey", "orders.o_orderkey", "orders.o_orderdate", "orders.o_totalprice", "(sum(lineitem.l_quantity))"], "Plans": [{"Node Type": "Sort", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 728644.22, "Total Cost": 732736.63, "Plan Rows": 1636963, "Plan Width": 71, "Output": ["customer.c_name", "customer.c_custkey", "orders.o_orderkey", "orders.o_orderdate", "orders.o_totalprice", "(sum(lineitem.l_quantity))"], "Sort Key": ["orders.o_totalprice DESC", "orders.o_orderdate"], "Plans": [{"Node Type": "Aggregate", "Strategy": "Hashed", "Partial Mode": "Simple", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 616843.9, "Total Cost": 666080.68, "Plan Rows": 1636963, "Plan Width": 71, "Output": ["customer.c_name", "customer.c_custkey", "orders.o_orderkey", "orders.o_orderdate", "orders.o_totalprice", "sum(lineitem.l_quantity)"], "Group Key": ["customer.c_custkey", "orders.o_orderkey"], "Planned Partitions": 16, "Plans": [{"Node Type": "Hash Join", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Join Type": "Inner", "Startup Cost": 328785.86, "Total Cost": 540175.2, "Plan Rows": 1636963, "Plan Width": 44, "Output": ["customer.c_custkey", "orders.o_orderkey", "customer.c_name", "orders.o_orderdate", "orders.o_totalprice", "lineitem.l_quantity"], "Inner Unique": false, "Hash Cond": "(lineitem.l_orderkey = orders.o_orderkey)", "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Relation Name": "lineitem", "Schema": "public", "Alias": "lineitem", "Startup Cost": 0.0, "Total Cost": 172515.15, "Plan Rows": 6001215, "Plan Width": 9, "Output": ["lineitem.l_orderkey", "lineitem.l_partkey", "lineitem.l_suppkey", "lineitem.l_linenumber", "lineitem.l_quantity", "lineitem.l_extendedprice", "lineitem.l_discount", "lineitem.l_tax", "lineitem.l_returnflag", "lineitem.l_linestatus", "lineitem.l_shipdate", "lineitem.l_commitdate", "lineitem.l_receiptdate", "lineitem.l_shipinstruct", "lineitem.l_shipmode", "lineitem.l_comment"]}, {"Node Type": "Hash", "Parent Relationship": "Inner", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 323671.39, "Total Cost": 323671.39, "Plan Rows": 409158, "Plan Width": 43, "Output": ["customer.c_name", "customer.c_custkey", "orders.o_orderkey", "orders.o_orderdate", "orders.o_totalprice", "lineitem_1.l_orderkey"], "Plans": [{"Node Type": "Hash Join", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Join Type": "Inner", "Startup Cost": 277564.81, "Total Cost": 323671.39, "Plan Rows": 409158, "Plan Width": 43, "Output": ["customer.c_name", "customer.c_custkey", "orders.o_orderkey", "orders.o_orderdate", "orders.o_totalprice", "lineitem_1.l_orderkey"], "Inner Unique": true, "Hash Cond": "(orders.o_custkey = customer.c_custkey)", "Plans": [{"Node Type": "Hash Join", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Join Type": "Inner", "Startup Cost": 270604.81, "Total Cost": 315637.32, "Plan Rows": 409158, "Plan Width": 24, "Output": ["orders.o_orderkey", "orders.o_orderdate", "orders.o_totalprice", "orders.o_custkey", "lineitem_1.l_orderkey"], "Inner Unique": true, "Hash Cond": "(orders.o_orderkey = lineitem_1.l_orderkey)", "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Relation Name": "orders", "Schema": "public", "Alias": "orders", "Startup Cost": 0.0, "Total Cost": 41095.0, "Plan Rows": 1500000, "Plan Width": 20, "Output": ["orders.o_orderkey", "orders.o_custkey", "orders.o_orderstatus", "orders.o_totalprice", "orders.o_orderdate", "orders.o_orderpriority", "orders.o_clerk", "orders.o_shippriority", "orders.o_comment"]}, {"Node Type": "Hash", "Parent Relationship": "Inner", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 265490.33, "Total Cost": 265490.33, "Plan Rows": 409158, "Plan Width": 4, "Output": ["lineitem_1.l_orderkey"], "Plans": [{"Node Type": "Aggregate", "Strategy": "Sorted", "Partial Mode": "Simple", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 0.43, "Total Cost": 261398.75, "Plan Rows": 409158, "Plan Width": 4, "Output": ["lineitem_1.l_orderkey"], "Group Key": ["lineitem_1.l_orderkey"], "Filter": "(sum(lineitem_1.l_quantity) > '314'::numeric)", "Plans": [{"Node Type": "Index Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Scan Direction": "Forward", "Index Name": "l_ok", "Relation Name": "lineitem", "Schema": "public", "Alias": "lineitem_1", "Startup Cost": 0.43, "Total Cost": 212980.57, "Plan Rows": 6001215, "Plan Width": 9, "Output": ["lineitem_1.l_orderkey", "lineitem_1.l_partkey", "lineitem_1.l_suppkey", "lineitem_1.l_linenumber", "lineitem_1.l_quantity", "lineitem_1.l_extendedprice", "lineitem_1.l_discount", "lineitem_1.l_tax", "lineitem_1.l_returnflag", "lineitem_1.l_linestatus", "lineitem_1.l_shipdate", "lineitem_1.l_commitdate", "lineitem_1.l_receiptdate", "lineitem_1.l_shipinstruct", "lineitem_1.l_shipmode", "lineitem_1.l_comment"]}]}]}]}, {"Node Type": "Hash", "Parent Relationship": "Inner", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 5085.0, "Total Cost": 5085.0, "Plan Rows": 150000, "Plan Width": 23, "Output": ["customer.c_name", "customer.c_custkey"], "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Relation Name": "customer", "Schema": "public", "Alias": "customer", "Startup Cost": 0.0, "Total Cost": 5085.0, "Plan Rows": 150000, "Plan Width": 23, "Output": ["customer.c_name", "customer.c_custkey"]}]}]}]}]}]}]}]}} diff --git a/dev9/pg15/tpch/sf_1/explain/15721/19-1.ok b/dev9/pg15/tpch/sf_1/explain/15721/19-1.ok new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/dev9/pg15/tpch/sf_1/explain/15721/19-1.res b/dev9/pg15/tpch/sf_1/explain/15721/19-1.res new file mode 100644 index 0000000000000000000000000000000000000000..0aaf12c57ae1d9f9bfa133d2bb5a515970b4c39b --- /dev/null +++ b/dev9/pg15/tpch/sf_1/explain/15721/19-1.res @@ -0,0 +1 @@ +{"Plan": {"Node Type": "Aggregate", "Strategy": "Plain", "Partial Mode": "Finalize", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 15915.36, "Total Cost": 15915.37, "Plan Rows": 1, "Plan Width": 32, "Output": ["sum((lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount)))"], "Plans": [{"Node Type": "Gather", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 15915.14, "Total Cost": 15915.35, "Plan Rows": 2, "Plan Width": 32, "Output": ["(PARTIAL sum((lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount))))"], "Workers Planned": 2, "Single Copy": false, "Plans": [{"Node Type": "Aggregate", "Strategy": "Plain", "Partial Mode": "Partial", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 14915.14, "Total Cost": 14915.15, "Plan Rows": 1, "Plan Width": 32, "Output": ["PARTIAL sum((lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount)))"], "Plans": [{"Node Type": "Nested Loop", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Join Type": "Inner", "Startup Cost": 0.43, "Total Cost": 14914.78, "Plan Rows": 48, "Plan Width": 12, "Output": ["lineitem.l_extendedprice", "lineitem.l_discount"], "Inner Unique": false, "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": true, "Async Capable": false, "Relation Name": "part", "Schema": "public", "Alias": "part", "Startup Cost": 0.0, "Total Cost": 7638.67, "Plan Rows": 202, "Plan Width": 30, "Output": ["part.p_partkey", "part.p_name", "part.p_mfgr", "part.p_brand", "part.p_type", "part.p_size", "part.p_container", "part.p_retailprice", "part.p_comment"], "Filter": "((part.p_size >= 1) AND (((part.p_brand = 'Brand#52'::bpchar) AND (part.p_container = ANY ('{\"SM CASE\",\"SM BOX\",\"SM PACK\",\"SM PKG\"}'::bpchar[])) AND (part.p_size <= 5)) OR ((part.p_brand = 'Brand#42'::bpchar) AND (part.p_container = ANY ('{\"MED BAG\",\"MED BOX\",\"MED PKG\",\"MED PACK\"}'::bpchar[])) AND (part.p_size <= 10)) OR ((part.p_brand = 'Brand#23'::bpchar) AND (part.p_container = ANY ('{\"LG CASE\",\"LG BOX\",\"LG PACK\",\"LG PKG\"}'::bpchar[])) AND (part.p_size <= 15))))"}, {"Node Type": "Index Scan", "Parent Relationship": "Inner", "Parallel Aware": false, "Async Capable": false, "Scan Direction": "Forward", "Index Name": "l_pk", "Relation Name": "lineitem", "Schema": "public", "Alias": "lineitem", "Startup Cost": 0.43, "Total Cost": 36.01, "Plan Rows": 1, "Plan Width": 21, "Output": ["lineitem.l_orderkey", "lineitem.l_partkey", "lineitem.l_suppkey", "lineitem.l_linenumber", "lineitem.l_quantity", "lineitem.l_extendedprice", "lineitem.l_discount", "lineitem.l_tax", "lineitem.l_returnflag", "lineitem.l_linestatus", "lineitem.l_shipdate", "lineitem.l_commitdate", "lineitem.l_receiptdate", "lineitem.l_shipinstruct", "lineitem.l_shipmode", "lineitem.l_comment"], "Index Cond": "(lineitem.l_partkey = part.p_partkey)", "Filter": "((lineitem.l_shipmode = ANY ('{AIR,\"AIR REG\"}'::bpchar[])) AND (lineitem.l_shipinstruct = 'DELIVER IN PERSON'::bpchar) AND (((lineitem.l_quantity >= '9'::numeric) AND (lineitem.l_quantity <= '19'::numeric)) OR ((lineitem.l_quantity >= '18'::numeric) AND (lineitem.l_quantity <= '28'::numeric)) OR ((lineitem.l_quantity >= '22'::numeric) AND (lineitem.l_quantity <= '32'::numeric))) AND (((part.p_brand = 'Brand#52'::bpchar) AND (part.p_container = ANY ('{\"SM CASE\",\"SM BOX\",\"SM PACK\",\"SM PKG\"}'::bpchar[])) AND (lineitem.l_quantity >= '9'::numeric) AND (lineitem.l_quantity <= '19'::numeric) AND (part.p_size <= 5)) OR ((part.p_brand = 'Brand#42'::bpchar) AND (part.p_container = ANY ('{\"MED BAG\",\"MED BOX\",\"MED PKG\",\"MED PACK\"}'::bpchar[])) AND (lineitem.l_quantity >= '18'::numeric) AND (lineitem.l_quantity <= '28'::numeric) AND (part.p_size <= 10)) OR ((part.p_brand = 'Brand#23'::bpchar) AND (part.p_container = ANY ('{\"LG CASE\",\"LG BOX\",\"LG PACK\",\"LG PKG\"}'::bpchar[])) AND (lineitem.l_quantity >= '22'::numeric) AND (lineitem.l_quantity <= '32'::numeric) AND (part.p_size <= 15))))"}]}]}]}]}} diff --git a/dev9/pg15/tpch/sf_1/explain/15721/2-1.ok b/dev9/pg15/tpch/sf_1/explain/15721/2-1.ok new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/dev9/pg15/tpch/sf_1/explain/15721/2-1.res b/dev9/pg15/tpch/sf_1/explain/15721/2-1.res new file mode 100644 index 0000000000000000000000000000000000000000..bd5cf892fa338a0615ead78a0e62485127e848b6 --- /dev/null +++ b/dev9/pg15/tpch/sf_1/explain/15721/2-1.res @@ -0,0 +1 @@ +{"Plan": {"Node Type": "Limit", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 23954.27, "Total Cost": 23954.27, "Plan Rows": 1, "Plan Width": 192, "Output": ["supplier.s_acctbal", "supplier.s_name", "nation.n_name", "part.p_partkey", "part.p_mfgr", "supplier.s_address", "supplier.s_phone", "supplier.s_comment"], "Plans": [{"Node Type": "Sort", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 23954.27, "Total Cost": 23954.27, "Plan Rows": 1, "Plan Width": 192, "Output": ["supplier.s_acctbal", "supplier.s_name", "nation.n_name", "part.p_partkey", "part.p_mfgr", "supplier.s_address", "supplier.s_phone", "supplier.s_comment"], "Sort Key": ["supplier.s_acctbal DESC", "nation.n_name", "supplier.s_name", "part.p_partkey"], "Plans": [{"Node Type": "Hash Join", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Join Type": "Inner", "Startup Cost": 12747.3, "Total Cost": 23954.26, "Plan Rows": 1, "Plan Width": 192, "Output": ["supplier.s_acctbal", "supplier.s_name", "nation.n_name", "part.p_partkey", "part.p_mfgr", "supplier.s_address", "supplier.s_phone", "supplier.s_comment"], "Inner Unique": false, "Hash Cond": "((part.p_partkey = partsupp.ps_partkey) AND ((SubPlan 1) = partsupp.ps_supplycost))", "Plans": [{"Node Type": "Gather", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 1000.0, "Total Cost": 6426.9, "Plan Rows": 799, "Plan Width": 30, "Output": ["part.p_partkey", "part.p_mfgr"], "Workers Planned": 2, "Single Copy": false, "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": true, "Async Capable": false, "Relation Name": "part", "Schema": "public", "Alias": "part", "Startup Cost": 0.0, "Total Cost": 5347.0, "Plan Rows": 333, "Plan Width": 30, "Output": ["part.p_partkey", "part.p_mfgr"], "Filter": "(((part.p_type)::text ~~ '%TIN'::text) AND (part.p_size = 44))"}]}, {"Node Type": "Hash", "Parent Relationship": "Inner", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 9347.3, "Total Cost": 9347.3, "Plan Rows": 160000, "Plan Width": 172, "Output": ["supplier.s_acctbal", "supplier.s_name", "supplier.s_address", "supplier.s_phone", "supplier.s_comment", "partsupp.ps_partkey", "partsupp.ps_supplycost", "nation.n_name"], "Plans": [{"Node Type": "Nested Loop", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Join Type": "Inner", "Startup Cost": 0.71, "Total Cost": 9347.3, "Plan Rows": 160000, "Plan Width": 172, "Output": ["supplier.s_acctbal", "supplier.s_name", "supplier.s_address", "supplier.s_phone", "supplier.s_comment", "partsupp.ps_partkey", "partsupp.ps_supplycost", "nation.n_name"], "Inner Unique": false, "Plans": [{"Node Type": "Nested Loop", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Join Type": "Inner", "Startup Cost": 0.29, "Total Cost": 110.28, "Plan Rows": 2000, "Plan Width": 166, "Output": ["supplier.s_acctbal", "supplier.s_name", "supplier.s_address", "supplier.s_phone", "supplier.s_comment", "supplier.s_suppkey", "nation.n_name"], "Inner Unique": false, "Plans": [{"Node Type": "Nested Loop", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Join Type": "Inner", "Startup Cost": 0.0, "Total Cost": 2.62, "Plan Rows": 5, "Plan Width": 30, "Output": ["nation.n_name", "nation.n_nationkey"], "Inner Unique": false, "Join Filter": "(nation.n_regionkey = region.r_regionkey)", "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Relation Name": "region", "Schema": "public", "Alias": "region", "Startup Cost": 0.0, "Total Cost": 1.06, "Plan Rows": 1, "Plan Width": 4, "Output": ["region.r_regionkey", "region.r_name", "region.r_comment"], "Filter": "(region.r_name = 'EUROPE'::bpchar)"}, {"Node Type": "Seq Scan", "Parent Relationship": "Inner", "Parallel Aware": false, "Async Capable": false, "Relation Name": "nation", "Schema": "public", "Alias": "nation", "Startup Cost": 0.0, "Total Cost": 1.25, "Plan Rows": 25, "Plan Width": 34, "Output": ["nation.n_nationkey", "nation.n_name", "nation.n_regionkey", "nation.n_comment"]}]}, {"Node Type": "Index Scan", "Parent Relationship": "Inner", "Parallel Aware": false, "Async Capable": false, "Scan Direction": "Forward", "Index Name": "s_nk", "Relation Name": "supplier", "Schema": "public", "Alias": "supplier", "Startup Cost": 0.29, "Total Cost": 17.53, "Plan Rows": 400, "Plan Width": 144, "Output": ["supplier.s_suppkey", "supplier.s_name", "supplier.s_address", "supplier.s_nationkey", "supplier.s_phone", "supplier.s_acctbal", "supplier.s_comment"], "Index Cond": "(supplier.s_nationkey = nation.n_nationkey)"}]}, {"Node Type": "Index Scan", "Parent Relationship": "Inner", "Parallel Aware": false, "Async Capable": false, "Scan Direction": "Forward", "Index Name": "ps_sk", "Relation Name": "partsupp", "Schema": "public", "Alias": "partsupp", "Startup Cost": 0.42, "Total Cost": 3.82, "Plan Rows": 80, "Plan Width": 14, "Output": ["partsupp.ps_partkey", "partsupp.ps_suppkey", "partsupp.ps_availqty", "partsupp.ps_supplycost", "partsupp.ps_comment"], "Index Cond": "(partsupp.ps_suppkey = supplier.s_suppkey)"}]}]}, {"Node Type": "Aggregate", "Strategy": "Plain", "Partial Mode": "Simple", "Parent Relationship": "SubPlan", "Subplan Name": "SubPlan 1", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 14.44, "Total Cost": 14.45, "Plan Rows": 1, "Plan Width": 32, "Output": ["min(partsupp_1.ps_supplycost)"], "Plans": [{"Node Type": "Nested Loop", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Join Type": "Inner", "Startup Cost": 0.85, "Total Cost": 14.44, "Plan Rows": 1, "Plan Width": 6, "Output": ["partsupp_1.ps_supplycost"], "Inner Unique": false, "Join Filter": "(nation_1.n_regionkey = region_1.r_regionkey)", "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Relation Name": "region", "Schema": "public", "Alias": "region_1", "Startup Cost": 0.0, "Total Cost": 1.06, "Plan Rows": 1, "Plan Width": 4, "Output": ["region_1.r_regionkey", "region_1.r_name", "region_1.r_comment"], "Filter": "(region_1.r_name = 'EUROPE'::bpchar)"}, {"Node Type": "Nested Loop", "Parent Relationship": "Inner", "Parallel Aware": false, "Async Capable": false, "Join Type": "Inner", "Startup Cost": 0.85, "Total Cost": 13.33, "Plan Rows": 4, "Plan Width": 10, "Output": ["partsupp_1.ps_supplycost", "nation_1.n_regionkey"], "Inner Unique": true, "Plans": [{"Node Type": "Nested Loop", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Join Type": "Inner", "Startup Cost": 0.71, "Total Cost": 12.71, "Plan Rows": 4, "Plan Width": 10, "Output": ["partsupp_1.ps_supplycost", "supplier_1.s_nationkey"], "Inner Unique": true, "Plans": [{"Node Type": "Index Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Scan Direction": "Forward", "Index Name": "ps_pk", "Relation Name": "partsupp", "Schema": "public", "Alias": "partsupp_1", "Startup Cost": 0.42, "Total Cost": 2.7, "Plan Rows": 4, "Plan Width": 10, "Output": ["partsupp_1.ps_partkey", "partsupp_1.ps_suppkey", "partsupp_1.ps_availqty", "partsupp_1.ps_supplycost", "partsupp_1.ps_comment"], "Index Cond": "(partsupp_1.ps_partkey = part.p_partkey)"}, {"Node Type": "Index Scan", "Parent Relationship": "Inner", "Parallel Aware": false, "Async Capable": false, "Scan Direction": "Forward", "Index Name": "s_sk", "Relation Name": "supplier", "Schema": "public", "Alias": "supplier_1", "Startup Cost": 0.29, "Total Cost": 2.5, "Plan Rows": 1, "Plan Width": 8, "Output": ["supplier_1.s_suppkey", "supplier_1.s_name", "supplier_1.s_address", "supplier_1.s_nationkey", "supplier_1.s_phone", "supplier_1.s_acctbal", "supplier_1.s_comment"], "Index Cond": "(supplier_1.s_suppkey = partsupp_1.ps_suppkey)"}]}, {"Node Type": "Index Scan", "Parent Relationship": "Inner", "Parallel Aware": false, "Async Capable": false, "Scan Direction": "Forward", "Index Name": "n_nk", "Relation Name": "nation", "Schema": "public", "Alias": "nation_1", "Startup Cost": 0.14, "Total Cost": 0.16, "Plan Rows": 1, "Plan Width": 8, "Output": ["nation_1.n_nationkey", "nation_1.n_name", "nation_1.n_regionkey", "nation_1.n_comment"], "Index Cond": "(nation_1.n_nationkey = supplier_1.s_nationkey)"}]}]}]}]}]}]}} diff --git a/dev9/pg15/tpch/sf_1/explain/15721/20-1.ok b/dev9/pg15/tpch/sf_1/explain/15721/20-1.ok new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/dev9/pg15/tpch/sf_1/explain/15721/20-1.res b/dev9/pg15/tpch/sf_1/explain/15721/20-1.res new file mode 100644 index 0000000000000000000000000000000000000000..0a7b090d98febcce3e123f3a3abdae66d07dafb1 --- /dev/null +++ b/dev9/pg15/tpch/sf_1/explain/15721/20-1.res @@ -0,0 +1 @@ +{"Plan": {"Node Type": "Sort", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 37666.18, "Total Cost": 37666.5, "Plan Rows": 128, "Plan Width": 51, "Output": ["supplier.s_name", "supplier.s_address"], "Sort Key": ["supplier.s_name"], "Plans": [{"Node Type": "Hash Join", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Join Type": "Semi", "Startup Cost": 37437.23, "Total Cost": 37661.7, "Plan Rows": 128, "Plan Width": 51, "Output": ["supplier.s_name", "supplier.s_address"], "Inner Unique": false, "Hash Cond": "(supplier.s_suppkey = partsupp.ps_suppkey)", "Plans": [{"Node Type": "Nested Loop", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Join Type": "Inner", "Startup Cost": 4.48, "Total Cost": 226.33, "Plan Rows": 400, "Plan Width": 55, "Output": ["supplier.s_name", "supplier.s_address", "supplier.s_suppkey"], "Inner Unique": false, "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Relation Name": "nation", "Schema": "public", "Alias": "nation", "Startup Cost": 0.0, "Total Cost": 1.31, "Plan Rows": 1, "Plan Width": 4, "Output": ["nation.n_nationkey", "nation.n_name", "nation.n_regionkey", "nation.n_comment"], "Filter": "(nation.n_name = 'GERMANY'::bpchar)"}, {"Node Type": "Bitmap Heap Scan", "Parent Relationship": "Inner", "Parallel Aware": false, "Async Capable": false, "Relation Name": "supplier", "Schema": "public", "Alias": "supplier", "Startup Cost": 4.48, "Total Cost": 221.01, "Plan Rows": 400, "Plan Width": 59, "Output": ["supplier.s_suppkey", "supplier.s_name", "supplier.s_address", "supplier.s_nationkey", "supplier.s_phone", "supplier.s_acctbal", "supplier.s_comment"], "Recheck Cond": "(supplier.s_nationkey = nation.n_nationkey)", "Plans": [{"Node Type": "Bitmap Index Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Index Name": "s_nk", "Startup Cost": 0.0, "Total Cost": 4.38, "Plan Rows": 400, "Plan Width": 0, "Index Cond": "(supplier.s_nationkey = nation.n_nationkey)"}]}]}, {"Node Type": "Hash", "Parent Relationship": "Inner", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 37392.66, "Total Cost": 37392.66, "Plan Rows": 3207, "Plan Width": 4, "Output": ["partsupp.ps_suppkey"], "Plans": [{"Node Type": "Nested Loop", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Join Type": "Inner", "Startup Cost": 0.42, "Total Cost": 37392.66, "Plan Rows": 3207, "Plan Width": 4, "Output": ["partsupp.ps_suppkey"], "Inner Unique": false, "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Relation Name": "part", "Schema": "public", "Alias": "part", "Startup Cost": 0.0, "Total Cost": 6597.0, "Plan Rows": 2405, "Plan Width": 4, "Output": ["part.p_partkey", "part.p_name", "part.p_mfgr", "part.p_brand", "part.p_type", "part.p_size", "part.p_container", "part.p_retailprice", "part.p_comment"], "Filter": "((part.p_name)::text ~~ 'floral%'::text)"}, {"Node Type": "Index Scan", "Parent Relationship": "Inner", "Parallel Aware": false, "Async Capable": false, "Scan Direction": "Forward", "Index Name": "ps_pk", "Relation Name": "partsupp", "Schema": "public", "Alias": "partsupp", "Startup Cost": 0.42, "Total Cost": 12.79, "Plan Rows": 1, "Plan Width": 8, "Output": ["partsupp.ps_partkey", "partsupp.ps_suppkey", "partsupp.ps_availqty", "partsupp.ps_supplycost", "partsupp.ps_comment"], "Index Cond": "(partsupp.ps_partkey = part.p_partkey)", "Filter": "((partsupp.ps_availqty)::numeric > (SubPlan 1))", "Plans": [{"Node Type": "Aggregate", "Strategy": "Plain", "Partial Mode": "Simple", "Parent Relationship": "SubPlan", "Subplan Name": "SubPlan 1", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 2.66, "Total Cost": 2.68, "Plan Rows": 1, "Plan Width": 32, "Output": ["(0.5 * sum(lineitem.l_quantity))"], "Plans": [{"Node Type": "Index Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Scan Direction": "Forward", "Index Name": "l_sk_pk", "Relation Name": "lineitem", "Schema": "public", "Alias": "lineitem", "Startup Cost": 0.43, "Total Cost": 2.66, "Plan Rows": 1, "Plan Width": 5, "Output": ["lineitem.l_orderkey", "lineitem.l_partkey", "lineitem.l_suppkey", "lineitem.l_linenumber", "lineitem.l_quantity", "lineitem.l_extendedprice", "lineitem.l_discount", "lineitem.l_tax", "lineitem.l_returnflag", "lineitem.l_linestatus", "lineitem.l_shipdate", "lineitem.l_commitdate", "lineitem.l_receiptdate", "lineitem.l_shipinstruct", "lineitem.l_shipmode", "lineitem.l_comment"], "Index Cond": "((lineitem.l_suppkey = partsupp.ps_suppkey) AND (lineitem.l_partkey = partsupp.ps_partkey))", "Filter": "((lineitem.l_shipdate >= '1996-01-01'::date) AND (lineitem.l_shipdate < '1997-01-01 00:00:00'::timestamp without time zone))"}]}]}]}]}]}]}} diff --git a/dev9/pg15/tpch/sf_1/explain/15721/21-1.ok b/dev9/pg15/tpch/sf_1/explain/15721/21-1.ok new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/dev9/pg15/tpch/sf_1/explain/15721/21-1.res b/dev9/pg15/tpch/sf_1/explain/15721/21-1.res new file mode 100644 index 0000000000000000000000000000000000000000..f287cbdb2547069b4935eda9c1fdc24ad985a4b1 --- /dev/null +++ b/dev9/pg15/tpch/sf_1/explain/15721/21-1.res @@ -0,0 +1 @@ +{"Plan": {"Node Type": "Limit", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 53689.0, "Total Cost": 53689.01, "Plan Rows": 1, "Plan Width": 34, "Output": ["supplier.s_name", "(count(*))"], "Plans": [{"Node Type": "Sort", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 53689.0, "Total Cost": 53689.01, "Plan Rows": 1, "Plan Width": 34, "Output": ["supplier.s_name", "(count(*))"], "Sort Key": ["(count(*)) DESC", "supplier.s_name"], "Plans": [{"Node Type": "Aggregate", "Strategy": "Sorted", "Partial Mode": "Simple", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 53688.97, "Total Cost": 53688.99, "Plan Rows": 1, "Plan Width": 34, "Output": ["supplier.s_name", "count(*)"], "Group Key": ["supplier.s_name"], "Plans": [{"Node Type": "Sort", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 53688.97, "Total Cost": 53688.98, "Plan Rows": 1, "Plan Width": 26, "Output": ["supplier.s_name"], "Sort Key": ["supplier.s_name"], "Plans": [{"Node Type": "Nested Loop", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Join Type": "Semi", "Startup Cost": 13174.91, "Total Cost": 53688.96, "Plan Rows": 1, "Plan Width": 26, "Output": ["supplier.s_name"], "Inner Unique": false, "Join Filter": "(orders.o_orderkey = l2.l_orderkey)", "Plans": [{"Node Type": "Gather", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 13174.47, "Total Cost": 53688.34, "Plan Rows": 1, "Plan Width": 38, "Output": ["supplier.s_name", "l1.l_suppkey", "l1.l_orderkey", "orders.o_orderkey"], "Workers Planned": 3, "Single Copy": false, "Plans": [{"Node Type": "Nested Loop", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Join Type": "Anti", "Startup Cost": 12174.47, "Total Cost": 52688.24, "Plan Rows": 1, "Plan Width": 38, "Output": ["supplier.s_name", "l1.l_suppkey", "l1.l_orderkey", "orders.o_orderkey"], "Inner Unique": false, "Plans": [{"Node Type": "Hash Join", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Join Type": "Inner", "Startup Cost": 12174.04, "Total Cost": 45328.83, "Plan Rows": 12595, "Plan Width": 38, "Output": ["supplier.s_name", "l1.l_suppkey", "l1.l_orderkey", "orders.o_orderkey"], "Inner Unique": false, "Hash Cond": "(orders.o_orderkey = l1.l_orderkey)", "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": true, "Async Capable": false, "Relation Name": "orders", "Schema": "public", "Alias": "orders", "Startup Cost": 0.0, "Total Cost": 32143.39, "Plan Rows": 236119, "Plan Width": 4, "Output": ["orders.o_orderkey", "orders.o_custkey", "orders.o_orderstatus", "orders.o_totalprice", "orders.o_orderdate", "orders.o_orderpriority", "orders.o_clerk", "orders.o_shippriority", "orders.o_comment"], "Filter": "(orders.o_orderstatus = 'F'::bpchar)"}, {"Node Type": "Hash", "Parent Relationship": "Inner", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 11173.84, "Total Cost": 11173.84, "Plan Rows": 80016, "Plan Width": 34, "Output": ["supplier.s_name", "l1.l_suppkey", "l1.l_orderkey"], "Plans": [{"Node Type": "Nested Loop", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Join Type": "Inner", "Startup Cost": 4.92, "Total Cost": 11173.84, "Plan Rows": 80016, "Plan Width": 34, "Output": ["supplier.s_name", "l1.l_suppkey", "l1.l_orderkey"], "Inner Unique": false, "Plans": [{"Node Type": "Nested Loop", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Join Type": "Inner", "Startup Cost": 4.48, "Total Cost": 226.33, "Plan Rows": 400, "Plan Width": 30, "Output": ["supplier.s_name", "supplier.s_suppkey"], "Inner Unique": false, "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Relation Name": "nation", "Schema": "public", "Alias": "nation", "Startup Cost": 0.0, "Total Cost": 1.31, "Plan Rows": 1, "Plan Width": 4, "Output": ["nation.n_nationkey", "nation.n_name", "nation.n_regionkey", "nation.n_comment"], "Filter": "(nation.n_name = 'CHINA'::bpchar)"}, {"Node Type": "Bitmap Heap Scan", "Parent Relationship": "Inner", "Parallel Aware": false, "Async Capable": false, "Relation Name": "supplier", "Schema": "public", "Alias": "supplier", "Startup Cost": 4.48, "Total Cost": 221.01, "Plan Rows": 400, "Plan Width": 34, "Output": ["supplier.s_suppkey", "supplier.s_name", "supplier.s_address", "supplier.s_nationkey", "supplier.s_phone", "supplier.s_acctbal", "supplier.s_comment"], "Recheck Cond": "(supplier.s_nationkey = nation.n_nationkey)", "Plans": [{"Node Type": "Bitmap Index Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Index Name": "s_nk", "Startup Cost": 0.0, "Total Cost": 4.38, "Plan Rows": 400, "Plan Width": 0, "Index Cond": "(supplier.s_nationkey = nation.n_nationkey)"}]}]}, {"Node Type": "Index Scan", "Parent Relationship": "Inner", "Parallel Aware": false, "Async Capable": false, "Scan Direction": "Forward", "Index Name": "l_sk", "Relation Name": "lineitem", "Schema": "public", "Alias": "l1", "Startup Cost": 0.43, "Total Cost": 25.37, "Plan Rows": 200, "Plan Width": 8, "Output": ["l1.l_orderkey", "l1.l_partkey", "l1.l_suppkey", "l1.l_linenumber", "l1.l_quantity", "l1.l_extendedprice", "l1.l_discount", "l1.l_tax", "l1.l_returnflag", "l1.l_linestatus", "l1.l_shipdate", "l1.l_commitdate", "l1.l_receiptdate", "l1.l_shipinstruct", "l1.l_shipmode", "l1.l_comment"], "Index Cond": "(l1.l_suppkey = supplier.s_suppkey)", "Filter": "(l1.l_receiptdate > l1.l_commitdate)"}]}]}]}, {"Node Type": "Index Scan", "Parent Relationship": "Inner", "Parallel Aware": false, "Async Capable": false, "Scan Direction": "Forward", "Index Name": "l_ok", "Relation Name": "lineitem", "Schema": "public", "Alias": "l3", "Startup Cost": 0.43, "Total Cost": 0.61, "Plan Rows": 2, "Plan Width": 8, "Output": ["l3.l_orderkey", "l3.l_partkey", "l3.l_suppkey", "l3.l_linenumber", "l3.l_quantity", "l3.l_extendedprice", "l3.l_discount", "l3.l_tax", "l3.l_returnflag", "l3.l_linestatus", "l3.l_shipdate", "l3.l_commitdate", "l3.l_receiptdate", "l3.l_shipinstruct", "l3.l_shipmode", "l3.l_comment"], "Index Cond": "(l3.l_orderkey = l1.l_orderkey)", "Filter": "((l3.l_receiptdate > l3.l_commitdate) AND (l3.l_suppkey <> l1.l_suppkey))"}]}]}, {"Node Type": "Index Scan", "Parent Relationship": "Inner", "Parallel Aware": false, "Async Capable": false, "Scan Direction": "Forward", "Index Name": "l_ok", "Relation Name": "lineitem", "Schema": "public", "Alias": "l2", "Startup Cost": 0.43, "Total Cost": 0.6, "Plan Rows": 5, "Plan Width": 8, "Output": ["l2.l_orderkey", "l2.l_partkey", "l2.l_suppkey", "l2.l_linenumber", "l2.l_quantity", "l2.l_extendedprice", "l2.l_discount", "l2.l_tax", "l2.l_returnflag", "l2.l_linestatus", "l2.l_shipdate", "l2.l_commitdate", "l2.l_receiptdate", "l2.l_shipinstruct", "l2.l_shipmode", "l2.l_comment"], "Index Cond": "(l2.l_orderkey = l1.l_orderkey)", "Filter": "(l2.l_suppkey <> l1.l_suppkey)"}]}]}]}]}]}} diff --git a/dev9/pg15/tpch/sf_1/explain/15721/22-1.ok b/dev9/pg15/tpch/sf_1/explain/15721/22-1.ok new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/dev9/pg15/tpch/sf_1/explain/15721/22-1.res b/dev9/pg15/tpch/sf_1/explain/15721/22-1.res new file mode 100644 index 0000000000000000000000000000000000000000..c044dc8d2d3b01bf14a4417b3357ef87e80d8d04 --- /dev/null +++ b/dev9/pg15/tpch/sf_1/explain/15721/22-1.res @@ -0,0 +1 @@ +{"Plan": {"Node Type": "Aggregate", "Strategy": "Sorted", "Partial Mode": "Finalize", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 12857.61, "Total Cost": 12947.31, "Plan Rows": 672, "Plan Width": 72, "Output": ["(SUBSTRING(customer.c_phone FROM 1 FOR 2))", "count(*)", "sum(customer.c_acctbal)"], "Group Key": ["(SUBSTRING(customer.c_phone FROM 1 FOR 2))"], "Plans": [{"Node Type": "Aggregate", "Strategy": "Plain", "Partial Mode": "Finalize", "Parent Relationship": "InitPlan", "Subplan Name": "InitPlan 1 (returns $1)", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 6230.82, "Total Cost": 6230.83, "Plan Rows": 1, "Plan Width": 32, "Output": ["avg(customer_1.c_acctbal)"], "Plans": [{"Node Type": "Gather", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 6230.6, "Total Cost": 6230.81, "Plan Rows": 2, "Plan Width": 32, "Output": ["(PARTIAL avg(customer_1.c_acctbal))"], "Workers Planned": 2, "Single Copy": false, "Plans": [{"Node Type": "Aggregate", "Strategy": "Plain", "Partial Mode": "Partial", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 5230.6, "Total Cost": 5230.61, "Plan Rows": 1, "Plan Width": 32, "Output": ["PARTIAL avg(customer_1.c_acctbal)"], "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": true, "Async Capable": false, "Relation Name": "customer", "Schema": "public", "Alias": "customer_1", "Startup Cost": 0.0, "Total Cost": 5225.62, "Plan Rows": 1988, "Plan Width": 6, "Output": ["customer_1.c_custkey", "customer_1.c_name", "customer_1.c_address", "customer_1.c_nationkey", "customer_1.c_phone", "customer_1.c_acctbal", "customer_1.c_mktsegment", "customer_1.c_comment"], "Filter": "((customer_1.c_acctbal > 0.00) AND (SUBSTRING(customer_1.c_phone FROM 1 FOR 2) = ANY ('{17,20,25,31,30,11,33}'::text[])))"}]}]}]}, {"Node Type": "Gather Merge", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 6626.78, "Total Cost": 6699.12, "Plan Rows": 560, "Plan Width": 72, "Output": ["(SUBSTRING(customer.c_phone FROM 1 FOR 2))", "(PARTIAL count(*))", "(PARTIAL sum(customer.c_acctbal))"], "Workers Planned": 2, "Params Evaluated": ["$1"], "Plans": [{"Node Type": "Aggregate", "Strategy": "Sorted", "Partial Mode": "Partial", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 5626.76, "Total Cost": 5634.46, "Plan Rows": 280, "Plan Width": 72, "Output": ["(SUBSTRING(customer.c_phone FROM 1 FOR 2))", "PARTIAL count(*)", "PARTIAL sum(customer.c_acctbal)"], "Group Key": ["(SUBSTRING(customer.c_phone FROM 1 FOR 2))"], "Plans": [{"Node Type": "Sort", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 5626.76, "Total Cost": 5627.46, "Plan Rows": 280, "Plan Width": 38, "Output": ["(SUBSTRING(customer.c_phone FROM 1 FOR 2))", "customer.c_acctbal"], "Sort Key": ["(SUBSTRING(customer.c_phone FROM 1 FOR 2))"], "Plans": [{"Node Type": "Nested Loop", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Join Type": "Anti", "Startup Cost": 0.43, "Total Cost": 5615.37, "Plan Rows": 280, "Plan Width": 38, "Output": ["SUBSTRING(customer.c_phone FROM 1 FOR 2)", "customer.c_acctbal"], "Inner Unique": false, "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": true, "Async Capable": false, "Relation Name": "customer", "Schema": "public", "Alias": "customer", "Startup Cost": 0.0, "Total Cost": 5225.62, "Plan Rows": 729, "Plan Width": 26, "Output": ["customer.c_custkey", "customer.c_name", "customer.c_address", "customer.c_nationkey", "customer.c_phone", "customer.c_acctbal", "customer.c_mktsegment", "customer.c_comment"], "Filter": "((customer.c_acctbal > $1) AND (SUBSTRING(customer.c_phone FROM 1 FOR 2) = ANY ('{17,20,25,31,30,11,33}'::text[])))"}, {"Node Type": "Index Only Scan", "Parent Relationship": "Inner", "Parallel Aware": false, "Async Capable": false, "Scan Direction": "Forward", "Index Name": "o_ck", "Relation Name": "orders", "Schema": "public", "Alias": "orders", "Startup Cost": 0.43, "Total Cost": 1.41, "Plan Rows": 16, "Plan Width": 4, "Output": ["orders.o_custkey"], "Index Cond": "(orders.o_custkey = customer.c_custkey)"}]}]}]}]}]}} diff --git a/dev9/pg15/tpch/sf_1/explain/15721/3-1.ok b/dev9/pg15/tpch/sf_1/explain/15721/3-1.ok new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/dev9/pg15/tpch/sf_1/explain/15721/3-1.res b/dev9/pg15/tpch/sf_1/explain/15721/3-1.res new file mode 100644 index 0000000000000000000000000000000000000000..e6168a6a5289e0fce2ed4fd5ebbe1fd26fb8a722 --- /dev/null +++ b/dev9/pg15/tpch/sf_1/explain/15721/3-1.res @@ -0,0 +1 @@ +{"Plan": {"Node Type": "Limit", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 133260.07, "Total Cost": 133260.1, "Plan Rows": 10, "Plan Width": 44, "Output": ["lineitem.l_orderkey", "(sum((lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount))))", "orders.o_orderdate", "orders.o_shippriority"], "Plans": [{"Node Type": "Sort", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 133260.07, "Total Cost": 134047.07, "Plan Rows": 314800, "Plan Width": 44, "Output": ["lineitem.l_orderkey", "(sum((lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount))))", "orders.o_orderdate", "orders.o_shippriority"], "Sort Key": ["(sum((lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount)))) DESC", "orders.o_orderdate"], "Plans": [{"Node Type": "Aggregate", "Strategy": "Sorted", "Partial Mode": "Finalize", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 85028.32, "Total Cost": 126457.36, "Plan Rows": 314800, "Plan Width": 44, "Output": ["lineitem.l_orderkey", "sum((lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount)))", "orders.o_orderdate", "orders.o_shippriority"], "Group Key": ["lineitem.l_orderkey", "orders.o_orderdate", "orders.o_shippriority"], "Plans": [{"Node Type": "Gather Merge", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 85028.32, "Total Cost": 119243.18, "Plan Rows": 262334, "Plan Width": 44, "Output": ["lineitem.l_orderkey", "orders.o_orderdate", "orders.o_shippriority", "(PARTIAL sum((lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount))))"], "Workers Planned": 2, "Plans": [{"Node Type": "Aggregate", "Strategy": "Sorted", "Partial Mode": "Partial", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 84028.3, "Total Cost": 87963.31, "Plan Rows": 131167, "Plan Width": 44, "Output": ["lineitem.l_orderkey", "orders.o_orderdate", "orders.o_shippriority", "PARTIAL sum((lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount)))"], "Group Key": ["lineitem.l_orderkey", "orders.o_orderdate", "orders.o_shippriority"], "Plans": [{"Node Type": "Sort", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 84028.3, "Total Cost": 84356.21, "Plan Rows": 131167, "Plan Width": 24, "Output": ["lineitem.l_orderkey", "orders.o_orderdate", "orders.o_shippriority", "lineitem.l_extendedprice", "lineitem.l_discount"], "Sort Key": ["lineitem.l_orderkey", "orders.o_orderdate", "orders.o_shippriority"], "Plans": [{"Node Type": "Nested Loop", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Join Type": "Inner", "Startup Cost": 0.86, "Total Cost": 72878.42, "Plan Rows": 131167, "Plan Width": 24, "Output": ["lineitem.l_orderkey", "orders.o_orderdate", "orders.o_shippriority", "lineitem.l_extendedprice", "lineitem.l_discount"], "Inner Unique": false, "Plans": [{"Node Type": "Nested Loop", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Join Type": "Inner", "Startup Cost": 0.43, "Total Cost": 27366.49, "Plan Rows": 61048, "Plan Width": 12, "Output": ["orders.o_orderdate", "orders.o_shippriority", "orders.o_orderkey"], "Inner Unique": false, "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": true, "Async Capable": false, "Relation Name": "customer", "Schema": "public", "Alias": "customer", "Startup Cost": 0.0, "Total Cost": 4366.25, "Plan Rows": 12487, "Plan Width": 4, "Output": ["customer.c_custkey", "customer.c_name", "customer.c_address", "customer.c_nationkey", "customer.c_phone", "customer.c_acctbal", "customer.c_mktsegment", "customer.c_comment"], "Filter": "(customer.c_mktsegment = 'FURNITURE'::bpchar)"}, {"Node Type": "Index Scan", "Parent Relationship": "Inner", "Parallel Aware": false, "Async Capable": false, "Scan Direction": "Forward", "Index Name": "o_ck", "Relation Name": "orders", "Schema": "public", "Alias": "orders", "Startup Cost": 0.43, "Total Cost": 1.76, "Plan Rows": 8, "Plan Width": 16, "Output": ["orders.o_orderkey", "orders.o_custkey", "orders.o_orderstatus", "orders.o_totalprice", "orders.o_orderdate", "orders.o_orderpriority", "orders.o_clerk", "orders.o_shippriority", "orders.o_comment"], "Index Cond": "(orders.o_custkey = customer.c_custkey)", "Filter": "(orders.o_orderdate < '1995-03-20'::date)"}]}, {"Node Type": "Index Scan", "Parent Relationship": "Inner", "Parallel Aware": false, "Async Capable": false, "Scan Direction": "Forward", "Index Name": "l_ok", "Relation Name": "lineitem", "Schema": "public", "Alias": "lineitem", "Startup Cost": 0.43, "Total Cost": 0.72, "Plan Rows": 3, "Plan Width": 16, "Output": ["lineitem.l_orderkey", "lineitem.l_partkey", "lineitem.l_suppkey", "lineitem.l_linenumber", "lineitem.l_quantity", "lineitem.l_extendedprice", "lineitem.l_discount", "lineitem.l_tax", "lineitem.l_returnflag", "lineitem.l_linestatus", "lineitem.l_shipdate", "lineitem.l_commitdate", "lineitem.l_receiptdate", "lineitem.l_shipinstruct", "lineitem.l_shipmode", "lineitem.l_comment"], "Index Cond": "(lineitem.l_orderkey = orders.o_orderkey)", "Filter": "(lineitem.l_shipdate > '1995-03-20'::date)"}]}]}]}]}]}]}]}} diff --git a/dev9/pg15/tpch/sf_1/explain/15721/4-1.ok b/dev9/pg15/tpch/sf_1/explain/15721/4-1.ok new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/dev9/pg15/tpch/sf_1/explain/15721/4-1.res b/dev9/pg15/tpch/sf_1/explain/15721/4-1.res new file mode 100644 index 0000000000000000000000000000000000000000..b99a2989679656723e61e2dc38946530d6304b4e --- /dev/null +++ b/dev9/pg15/tpch/sf_1/explain/15721/4-1.res @@ -0,0 +1 @@ +{"Plan": {"Node Type": "Aggregate", "Strategy": "Sorted", "Partial Mode": "Finalize", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 51072.12, "Total Cost": 51074.02, "Plan Rows": 5, "Plan Width": 24, "Output": ["orders.o_orderpriority", "count(*)"], "Group Key": ["orders.o_orderpriority"], "Plans": [{"Node Type": "Gather Merge", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 51072.12, "Total Cost": 51073.89, "Plan Rows": 15, "Plan Width": 24, "Output": ["orders.o_orderpriority", "(PARTIAL count(*))"], "Workers Planned": 3, "Plans": [{"Node Type": "Sort", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 50072.08, "Total Cost": 50072.09, "Plan Rows": 5, "Plan Width": 24, "Output": ["orders.o_orderpriority", "(PARTIAL count(*))"], "Sort Key": ["orders.o_orderpriority"], "Plans": [{"Node Type": "Aggregate", "Strategy": "Hashed", "Partial Mode": "Partial", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 50071.97, "Total Cost": 50072.02, "Plan Rows": 5, "Plan Width": 24, "Output": ["orders.o_orderpriority", "PARTIAL count(*)"], "Group Key": ["orders.o_orderpriority"], "Planned Partitions": 0, "Plans": [{"Node Type": "Nested Loop", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Join Type": "Semi", "Startup Cost": 627.56, "Total Cost": 49998.35, "Plan Rows": 14723, "Plan Width": 16, "Output": ["orders.o_orderpriority"], "Inner Unique": false, "Plans": [{"Node Type": "Bitmap Heap Scan", "Parent Relationship": "Outer", "Parallel Aware": true, "Async Capable": false, "Relation Name": "orders", "Schema": "public", "Alias": "orders", "Startup Cost": 627.13, "Total Cost": 26992.02, "Plan Rows": 17992, "Plan Width": 20, "Output": ["orders.o_orderkey", "orders.o_custkey", "orders.o_orderstatus", "orders.o_totalprice", "orders.o_orderdate", "orders.o_orderpriority", "orders.o_clerk", "orders.o_shippriority", "orders.o_comment"], "Recheck Cond": "((orders.o_orderdate >= '1996-01-01'::date) AND (orders.o_orderdate < '1996-04-01 00:00:00'::timestamp without time zone))", "Plans": [{"Node Type": "Bitmap Index Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Index Name": "o_od", "Startup Cost": 0.0, "Total Cost": 613.19, "Plan Rows": 55776, "Plan Width": 0, "Index Cond": "((orders.o_orderdate >= '1996-01-01'::date) AND (orders.o_orderdate < '1996-04-01 00:00:00'::timestamp without time zone))"}]}, {"Node Type": "Index Scan", "Parent Relationship": "Inner", "Parallel Aware": false, "Async Capable": false, "Scan Direction": "Forward", "Index Name": "l_ok", "Relation Name": "lineitem", "Schema": "public", "Alias": "lineitem", "Startup Cost": 0.43, "Total Cost": 1.6, "Plan Rows": 2, "Plan Width": 4, "Output": ["lineitem.l_orderkey", "lineitem.l_partkey", "lineitem.l_suppkey", "lineitem.l_linenumber", "lineitem.l_quantity", "lineitem.l_extendedprice", "lineitem.l_discount", "lineitem.l_tax", "lineitem.l_returnflag", "lineitem.l_linestatus", "lineitem.l_shipdate", "lineitem.l_commitdate", "lineitem.l_receiptdate", "lineitem.l_shipinstruct", "lineitem.l_shipmode", "lineitem.l_comment"], "Index Cond": "(lineitem.l_orderkey = orders.o_orderkey)", "Filter": "(lineitem.l_commitdate < lineitem.l_receiptdate)"}]}]}]}]}]}} diff --git a/dev9/pg15/tpch/sf_1/explain/15721/5-1.ok b/dev9/pg15/tpch/sf_1/explain/15721/5-1.ok new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/dev9/pg15/tpch/sf_1/explain/15721/5-1.res b/dev9/pg15/tpch/sf_1/explain/15721/5-1.res new file mode 100644 index 0000000000000000000000000000000000000000..64d4d420be5ff57a1855436db1939f9f727f0623 --- /dev/null +++ b/dev9/pg15/tpch/sf_1/explain/15721/5-1.res @@ -0,0 +1 @@ +{"Plan": {"Node Type": "Sort", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 41416.66, "Total Cost": 41416.73, "Plan Rows": 25, "Plan Width": 58, "Output": ["nation.n_name", "(sum((lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount))))"], "Sort Key": ["(sum((lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount)))) DESC"], "Plans": [{"Node Type": "Aggregate", "Strategy": "Sorted", "Partial Mode": "Finalize", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 41370.94, "Total Cost": 41416.08, "Plan Rows": 25, "Plan Width": 58, "Output": ["nation.n_name", "sum((lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount)))"], "Group Key": ["nation.n_name"], "Plans": [{"Node Type": "Gather Merge", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 41370.94, "Total Cost": 41415.4, "Plan Rows": 50, "Plan Width": 58, "Output": ["nation.n_name", "(PARTIAL sum((lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount))))"], "Workers Planned": 2, "Plans": [{"Node Type": "Aggregate", "Strategy": "Sorted", "Partial Mode": "Partial", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 40370.91, "Total Cost": 40409.6, "Plan Rows": 25, "Plan Width": 58, "Output": ["nation.n_name", "PARTIAL sum((lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount)))"], "Group Key": ["nation.n_name"], "Plans": [{"Node Type": "Sort", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 40370.91, "Total Cost": 40378.59, "Plan Rows": 3070, "Plan Width": 38, "Output": ["nation.n_name", "lineitem.l_extendedprice", "lineitem.l_discount"], "Sort Key": ["nation.n_name"], "Plans": [{"Node Type": "Hash Join", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Join Type": "Inner", "Startup Cost": 475.37, "Total Cost": 40193.1, "Plan Rows": 3070, "Plan Width": 38, "Output": ["nation.n_name", "lineitem.l_extendedprice", "lineitem.l_discount"], "Inner Unique": true, "Hash Cond": "((lineitem.l_suppkey = supplier.s_suppkey) AND (customer.c_nationkey = supplier.s_nationkey))", "Plans": [{"Node Type": "Nested Loop", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Join Type": "Inner", "Startup Cost": 3.37, "Total Cost": 39318.15, "Plan Rows": 76752, "Plan Width": 50, "Output": ["customer.c_nationkey", "lineitem.l_extendedprice", "lineitem.l_discount", "lineitem.l_suppkey", "nation.n_name", "nation.n_nationkey"], "Inner Unique": false, "Plans": [{"Node Type": "Nested Loop", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Join Type": "Inner", "Startup Cost": 2.94, "Total Cost": 17199.03, "Plan Rows": 19184, "Plan Width": 38, "Output": ["customer.c_nationkey", "orders.o_orderkey", "nation.n_name", "nation.n_nationkey"], "Inner Unique": false, "Plans": [{"Node Type": "Hash Join", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Join Type": "Inner", "Startup Cost": 2.51, "Total Cost": 4571.88, "Plan Rows": 12500, "Plan Width": 38, "Output": ["customer.c_custkey", "customer.c_nationkey", "nation.n_name", "nation.n_nationkey"], "Inner Unique": false, "Hash Cond": "(customer.c_nationkey = nation.n_nationkey)", "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": true, "Async Capable": false, "Relation Name": "customer", "Schema": "public", "Alias": "customer", "Startup Cost": 0.0, "Total Cost": 4210.0, "Plan Rows": 62500, "Plan Width": 8, "Output": ["customer.c_custkey", "customer.c_name", "customer.c_address", "customer.c_nationkey", "customer.c_phone", "customer.c_acctbal", "customer.c_mktsegment", "customer.c_comment"]}, {"Node Type": "Hash", "Parent Relationship": "Inner", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 2.45, "Total Cost": 2.45, "Plan Rows": 5, "Plan Width": 30, "Output": ["nation.n_name", "nation.n_nationkey"], "Plans": [{"Node Type": "Hash Join", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Join Type": "Inner", "Startup Cost": 1.07, "Total Cost": 2.45, "Plan Rows": 5, "Plan Width": 30, "Output": ["nation.n_name", "nation.n_nationkey"], "Inner Unique": true, "Hash Cond": "(nation.n_regionkey = region.r_regionkey)", "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Relation Name": "nation", "Schema": "public", "Alias": "nation", "Startup Cost": 0.0, "Total Cost": 1.25, "Plan Rows": 25, "Plan Width": 34, "Output": ["nation.n_nationkey", "nation.n_name", "nation.n_regionkey", "nation.n_comment"]}, {"Node Type": "Hash", "Parent Relationship": "Inner", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 1.06, "Total Cost": 1.06, "Plan Rows": 1, "Plan Width": 4, "Output": ["region.r_regionkey"], "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Relation Name": "region", "Schema": "public", "Alias": "region", "Startup Cost": 0.0, "Total Cost": 1.06, "Plan Rows": 1, "Plan Width": 4, "Output": ["region.r_regionkey"], "Filter": "(region.r_name = 'AMERICA'::bpchar)"}]}]}]}]}, {"Node Type": "Index Scan", "Parent Relationship": "Inner", "Parallel Aware": false, "Async Capable": false, "Scan Direction": "Forward", "Index Name": "o_ck", "Relation Name": "orders", "Schema": "public", "Alias": "orders", "Startup Cost": 0.43, "Total Cost": 0.99, "Plan Rows": 2, "Plan Width": 8, "Output": ["orders.o_orderkey", "orders.o_custkey", "orders.o_orderstatus", "orders.o_totalprice", "orders.o_orderdate", "orders.o_orderpriority", "orders.o_clerk", "orders.o_shippriority", "orders.o_comment"], "Index Cond": "(orders.o_custkey = customer.c_custkey)", "Filter": "((orders.o_orderdate >= '1995-01-01'::date) AND (orders.o_orderdate < '1996-01-01 00:00:00'::timestamp without time zone))"}]}, {"Node Type": "Index Scan", "Parent Relationship": "Inner", "Parallel Aware": false, "Async Capable": false, "Scan Direction": "Forward", "Index Name": "l_ok", "Relation Name": "lineitem", "Schema": "public", "Alias": "lineitem", "Startup Cost": 0.43, "Total Cost": 1.1, "Plan Rows": 5, "Plan Width": 20, "Output": ["lineitem.l_orderkey", "lineitem.l_partkey", "lineitem.l_suppkey", "lineitem.l_linenumber", "lineitem.l_quantity", "lineitem.l_extendedprice", "lineitem.l_discount", "lineitem.l_tax", "lineitem.l_returnflag", "lineitem.l_linestatus", "lineitem.l_shipdate", "lineitem.l_commitdate", "lineitem.l_receiptdate", "lineitem.l_shipinstruct", "lineitem.l_shipmode", "lineitem.l_comment"], "Index Cond": "(lineitem.l_orderkey = orders.o_orderkey)"}]}, {"Node Type": "Hash", "Parent Relationship": "Inner", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 322.0, "Total Cost": 322.0, "Plan Rows": 10000, "Plan Width": 8, "Output": ["supplier.s_suppkey", "supplier.s_nationkey"], "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Relation Name": "supplier", "Schema": "public", "Alias": "supplier", "Startup Cost": 0.0, "Total Cost": 322.0, "Plan Rows": 10000, "Plan Width": 8, "Output": ["supplier.s_suppkey", "supplier.s_nationkey"]}]}]}]}]}]}]}]}} diff --git a/dev9/pg15/tpch/sf_1/explain/15721/6-1.ok b/dev9/pg15/tpch/sf_1/explain/15721/6-1.ok new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/dev9/pg15/tpch/sf_1/explain/15721/6-1.res b/dev9/pg15/tpch/sf_1/explain/15721/6-1.res new file mode 100644 index 0000000000000000000000000000000000000000..34c58bc5044e1a5989c64289661851278cad347b --- /dev/null +++ b/dev9/pg15/tpch/sf_1/explain/15721/6-1.res @@ -0,0 +1 @@ +{"Plan": {"Node Type": "Aggregate", "Strategy": "Plain", "Partial Mode": "Finalize", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 127818.07, "Total Cost": 127818.07, "Plan Rows": 1, "Plan Width": 32, "Output": ["sum((l_extendedprice * l_discount))"], "Plans": [{"Node Type": "Gather", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 127817.53, "Total Cost": 127818.04, "Plan Rows": 5, "Plan Width": 32, "Output": ["(PARTIAL sum((l_extendedprice * l_discount)))"], "Workers Planned": 5, "Single Copy": false, "Plans": [{"Node Type": "Aggregate", "Strategy": "Plain", "Partial Mode": "Partial", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 126817.53, "Total Cost": 126817.54, "Plan Rows": 1, "Plan Width": 32, "Output": ["PARTIAL sum((l_extendedprice * l_discount))"], "Plans": [{"Node Type": "Bitmap Heap Scan", "Parent Relationship": "Outer", "Parallel Aware": true, "Async Capable": false, "Relation Name": "lineitem", "Schema": "public", "Alias": "lineitem", "Startup Cost": 10074.31, "Total Cost": 126703.18, "Plan Rows": 22870, "Plan Width": 12, "Output": ["l_orderkey", "l_partkey", "l_suppkey", "l_linenumber", "l_quantity", "l_extendedprice", "l_discount", "l_tax", "l_returnflag", "l_linestatus", "l_shipdate", "l_commitdate", "l_receiptdate", "l_shipinstruct", "l_shipmode", "l_comment"], "Recheck Cond": "((lineitem.l_shipdate >= '1995-01-01'::date) AND (lineitem.l_shipdate < '1996-01-01 00:00:00'::timestamp without time zone))", "Filter": "((lineitem.l_discount >= 0.04) AND (lineitem.l_discount <= 0.06) AND (lineitem.l_quantity < '24'::numeric))", "Plans": [{"Node Type": "Bitmap Index Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Index Name": "l_sd", "Startup Cost": 0.0, "Total Cost": 10045.72, "Plan Rows": 916859, "Plan Width": 0, "Index Cond": "((lineitem.l_shipdate >= '1995-01-01'::date) AND (lineitem.l_shipdate < '1996-01-01 00:00:00'::timestamp without time zone))"}]}]}]}]}} diff --git a/dev9/pg15/tpch/sf_1/explain/15721/7-1.ok b/dev9/pg15/tpch/sf_1/explain/15721/7-1.ok new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/dev9/pg15/tpch/sf_1/explain/15721/7-1.res b/dev9/pg15/tpch/sf_1/explain/15721/7-1.res new file mode 100644 index 0000000000000000000000000000000000000000..68976584c248c6d15ee3603723d1cfa4a7b559e2 --- /dev/null +++ b/dev9/pg15/tpch/sf_1/explain/15721/7-1.res @@ -0,0 +1 @@ +{"Plan": {"Node Type": "Aggregate", "Strategy": "Sorted", "Partial Mode": "Finalize", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 36235.98, "Total Cost": 37059.81, "Plan Rows": 6095, "Plan Width": 116, "Output": ["n1.n_name", "n2.n_name", "(EXTRACT(year FROM lineitem.l_shipdate))", "sum((lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount)))"], "Group Key": ["n1.n_name", "n2.n_name", "(EXTRACT(year FROM lineitem.l_shipdate))"], "Plans": [{"Node Type": "Gather Merge", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 36235.98, "Total Cost": 36904.89, "Plan Rows": 5080, "Plan Width": 116, "Output": ["n1.n_name", "n2.n_name", "(EXTRACT(year FROM lineitem.l_shipdate))", "(PARTIAL sum((lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount))))"], "Workers Planned": 2, "Plans": [{"Node Type": "Aggregate", "Strategy": "Sorted", "Partial Mode": "Partial", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 35235.95, "Total Cost": 35318.5, "Plan Rows": 2540, "Plan Width": 116, "Output": ["n1.n_name", "n2.n_name", "(EXTRACT(year FROM lineitem.l_shipdate))", "PARTIAL sum((lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount)))"], "Group Key": ["n1.n_name", "n2.n_name", "(EXTRACT(year FROM lineitem.l_shipdate))"], "Plans": [{"Node Type": "Sort", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 35235.95, "Total Cost": 35242.3, "Plan Rows": 2540, "Plan Width": 96, "Output": ["n1.n_name", "n2.n_name", "(EXTRACT(year FROM lineitem.l_shipdate))", "lineitem.l_extendedprice", "lineitem.l_discount"], "Sort Key": ["n1.n_name", "n2.n_name", "(EXTRACT(year FROM lineitem.l_shipdate))"], "Plans": [{"Node Type": "Hash Join", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Join Type": "Inner", "Startup Cost": 25048.51, "Total Cost": 35092.31, "Plan Rows": 2540, "Plan Width": 96, "Output": ["n1.n_name", "n2.n_name", "EXTRACT(year FROM lineitem.l_shipdate)", "lineitem.l_extendedprice", "lineitem.l_discount"], "Inner Unique": false, "Hash Cond": "(orders.o_orderkey = lineitem.l_orderkey)", "Join Filter": "(((n1.n_name = 'IRAN'::bpchar) AND (n2.n_name = 'ETHIOPIA'::bpchar)) OR ((n1.n_name = 'ETHIOPIA'::bpchar) AND (n2.n_name = 'IRAN'::bpchar)))", "Plans": [{"Node Type": "Nested Loop", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Join Type": "Inner", "Startup Cost": 1.83, "Total Cost": 9754.13, "Plan Rows": 50000, "Plan Width": 30, "Output": ["orders.o_orderkey", "n2.n_name"], "Inner Unique": false, "Plans": [{"Node Type": "Hash Join", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Join Type": "Inner", "Startup Cost": 1.4, "Total Cost": 4403.27, "Plan Rows": 5000, "Plan Width": 30, "Output": ["customer.c_custkey", "n2.n_name"], "Inner Unique": true, "Hash Cond": "(customer.c_nationkey = n2.n_nationkey)", "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": true, "Async Capable": false, "Relation Name": "customer", "Schema": "public", "Alias": "customer", "Startup Cost": 0.0, "Total Cost": 4210.0, "Plan Rows": 62500, "Plan Width": 8, "Output": ["customer.c_custkey", "customer.c_name", "customer.c_address", "customer.c_nationkey", "customer.c_phone", "customer.c_acctbal", "customer.c_mktsegment", "customer.c_comment"]}, {"Node Type": "Hash", "Parent Relationship": "Inner", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 1.38, "Total Cost": 1.38, "Plan Rows": 2, "Plan Width": 30, "Output": ["n2.n_name", "n2.n_nationkey"], "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Relation Name": "nation", "Schema": "public", "Alias": "n2", "Startup Cost": 0.0, "Total Cost": 1.38, "Plan Rows": 2, "Plan Width": 30, "Output": ["n2.n_name", "n2.n_nationkey"], "Filter": "((n2.n_name = 'ETHIOPIA'::bpchar) OR (n2.n_name = 'IRAN'::bpchar))"}]}]}, {"Node Type": "Index Scan", "Parent Relationship": "Inner", "Parallel Aware": false, "Async Capable": false, "Scan Direction": "Forward", "Index Name": "o_ck", "Relation Name": "orders", "Schema": "public", "Alias": "orders", "Startup Cost": 0.43, "Total Cost": 0.91, "Plan Rows": 16, "Plan Width": 8, "Output": ["orders.o_orderkey", "orders.o_custkey", "orders.o_orderstatus", "orders.o_totalprice", "orders.o_orderdate", "orders.o_orderpriority", "orders.o_clerk", "orders.o_shippriority", "orders.o_comment"], "Index Cond": "(orders.o_custkey = customer.c_custkey)"}]}, {"Node Type": "Hash", "Parent Relationship": "Inner", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 23215.87, "Total Cost": 23215.87, "Plan Rows": 146465, "Plan Width": 46, "Output": ["lineitem.l_shipdate", "lineitem.l_extendedprice", "lineitem.l_discount", "lineitem.l_orderkey", "n1.n_name"], "Plans": [{"Node Type": "Nested Loop", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Join Type": "Inner", "Startup Cost": 4.92, "Total Cost": 23215.87, "Plan Rows": 146465, "Plan Width": 46, "Output": ["lineitem.l_shipdate", "lineitem.l_extendedprice", "lineitem.l_discount", "lineitem.l_orderkey", "n1.n_name"], "Inner Unique": false, "Plans": [{"Node Type": "Nested Loop", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Join Type": "Inner", "Startup Cost": 4.48, "Total Cost": 256.85, "Plan Rows": 800, "Plan Width": 30, "Output": ["supplier.s_suppkey", "n1.n_name"], "Inner Unique": false, "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Relation Name": "nation", "Schema": "public", "Alias": "n1", "Startup Cost": 0.0, "Total Cost": 1.38, "Plan Rows": 2, "Plan Width": 30, "Output": ["n1.n_nationkey", "n1.n_name", "n1.n_regionkey", "n1.n_comment"], "Filter": "((n1.n_name = 'IRAN'::bpchar) OR (n1.n_name = 'ETHIOPIA'::bpchar))"}, {"Node Type": "Bitmap Heap Scan", "Parent Relationship": "Inner", "Parallel Aware": false, "Async Capable": false, "Relation Name": "supplier", "Schema": "public", "Alias": "supplier", "Startup Cost": 4.48, "Total Cost": 123.74, "Plan Rows": 400, "Plan Width": 8, "Output": ["supplier.s_suppkey", "supplier.s_name", "supplier.s_address", "supplier.s_nationkey", "supplier.s_phone", "supplier.s_acctbal", "supplier.s_comment"], "Recheck Cond": "(supplier.s_nationkey = n1.n_nationkey)", "Plans": [{"Node Type": "Bitmap Index Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Index Name": "s_nk", "Startup Cost": 0.0, "Total Cost": 4.38, "Plan Rows": 400, "Plan Width": 0, "Index Cond": "(supplier.s_nationkey = n1.n_nationkey)"}]}]}, {"Node Type": "Index Scan", "Parent Relationship": "Inner", "Parallel Aware": false, "Async Capable": false, "Scan Direction": "Forward", "Index Name": "l_sk", "Relation Name": "lineitem", "Schema": "public", "Alias": "lineitem", "Startup Cost": 0.43, "Total Cost": 26.87, "Plan Rows": 183, "Plan Width": 24, "Output": ["lineitem.l_orderkey", "lineitem.l_partkey", "lineitem.l_suppkey", "lineitem.l_linenumber", "lineitem.l_quantity", "lineitem.l_extendedprice", "lineitem.l_discount", "lineitem.l_tax", "lineitem.l_returnflag", "lineitem.l_linestatus", "lineitem.l_shipdate", "lineitem.l_commitdate", "lineitem.l_receiptdate", "lineitem.l_shipinstruct", "lineitem.l_shipmode", "lineitem.l_comment"], "Index Cond": "(lineitem.l_suppkey = supplier.s_suppkey)", "Filter": "((lineitem.l_shipdate >= '1995-01-01'::date) AND (lineitem.l_shipdate <= '1996-12-31'::date))"}]}]}]}]}]}]}]}} diff --git a/dev9/pg15/tpch/sf_1/explain/15721/8-1.ok b/dev9/pg15/tpch/sf_1/explain/15721/8-1.ok new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/dev9/pg15/tpch/sf_1/explain/15721/8-1.res b/dev9/pg15/tpch/sf_1/explain/15721/8-1.res new file mode 100644 index 0000000000000000000000000000000000000000..37ad764e530931f391ae464ed925d9e471be5983 --- /dev/null +++ b/dev9/pg15/tpch/sf_1/explain/15721/8-1.res @@ -0,0 +1 @@ +{"Plan": {"Node Type": "Aggregate", "Strategy": "Sorted", "Partial Mode": "Finalize", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 33789.32, "Total Cost": 34143.64, "Plan Rows": 2406, "Plan Width": 64, "Output": ["(EXTRACT(year FROM orders.o_orderdate))", "(sum(CASE WHEN (n2.n_name = 'ETHIOPIA'::bpchar) THEN (lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount)) ELSE '0'::numeric END) / sum((lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount))))"], "Group Key": ["(EXTRACT(year FROM orders.o_orderdate))"], "Plans": [{"Node Type": "Gather Merge", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 33789.32, "Total Cost": 34069.65, "Plan Rows": 2070, "Plan Width": 96, "Output": ["(EXTRACT(year FROM orders.o_orderdate))", "(PARTIAL sum(CASE WHEN (n2.n_name = 'ETHIOPIA'::bpchar) THEN (lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount)) ELSE '0'::numeric END))", "(PARTIAL sum((lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount))))"], "Workers Planned": 2, "Plans": [{"Node Type": "Aggregate", "Strategy": "Sorted", "Partial Mode": "Partial", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 32789.3, "Total Cost": 32830.7, "Plan Rows": 1035, "Plan Width": 96, "Output": ["(EXTRACT(year FROM orders.o_orderdate))", "PARTIAL sum(CASE WHEN (n2.n_name = 'ETHIOPIA'::bpchar) THEN (lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount)) ELSE '0'::numeric END)", "PARTIAL sum((lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount)))"], "Group Key": ["(EXTRACT(year FROM orders.o_orderdate))"], "Plans": [{"Node Type": "Sort", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 32789.3, "Total Cost": 32791.88, "Plan Rows": 1035, "Plan Width": 70, "Output": ["(EXTRACT(year FROM orders.o_orderdate))", "n2.n_name", "lineitem.l_extendedprice", "lineitem.l_discount"], "Sort Key": ["(EXTRACT(year FROM orders.o_orderdate))"], "Plans": [{"Node Type": "Hash Join", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Join Type": "Inner", "Startup Cost": 2018.83, "Total Cost": 32737.47, "Plan Rows": 1035, "Plan Width": 70, "Output": ["EXTRACT(year FROM orders.o_orderdate)", "n2.n_name", "lineitem.l_extendedprice", "lineitem.l_discount"], "Inner Unique": true, "Hash Cond": "(supplier.s_nationkey = n2.n_nationkey)", "Plans": [{"Node Type": "Nested Loop", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Join Type": "Inner", "Startup Cost": 2017.26, "Total Cost": 32730.14, "Plan Rows": 1035, "Plan Width": 20, "Output": ["lineitem.l_extendedprice", "lineitem.l_discount", "supplier.s_nationkey", "orders.o_orderdate"], "Inner Unique": true, "Plans": [{"Node Type": "Hash Join", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Join Type": "Inner", "Startup Cost": 2016.98, "Total Cost": 32417.01, "Plan Rows": 1035, "Plan Width": 20, "Output": ["lineitem.l_extendedprice", "lineitem.l_discount", "lineitem.l_suppkey", "orders.o_orderdate"], "Inner Unique": false, "Hash Cond": "(orders.o_custkey = customer.c_custkey)", "Plans": [{"Node Type": "Nested Loop", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Join Type": "Inner", "Startup Cost": 0.86, "Total Cost": 30371.13, "Plan Rows": 5175, "Plan Width": 24, "Output": ["lineitem.l_extendedprice", "lineitem.l_discount", "lineitem.l_suppkey", "orders.o_orderdate", "orders.o_custkey"], "Inner Unique": true, "Plans": [{"Node Type": "Nested Loop", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Join Type": "Inner", "Startup Cost": 0.43, "Total Cost": 22653.87, "Plan Rows": 16941, "Plan Width": 20, "Output": ["lineitem.l_extendedprice", "lineitem.l_discount", "lineitem.l_suppkey", "lineitem.l_orderkey"], "Inner Unique": false, "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": true, "Async Capable": false, "Relation Name": "part", "Schema": "public", "Alias": "part", "Startup Cost": 0.0, "Total Cost": 5138.67, "Plan Rows": 565, "Plan Width": 4, "Output": ["part.p_partkey", "part.p_name", "part.p_mfgr", "part.p_brand", "part.p_type", "part.p_size", "part.p_container", "part.p_retailprice", "part.p_comment"], "Filter": "((part.p_type)::text = 'SMALL BRUSHED NICKEL'::text)"}, {"Node Type": "Index Scan", "Parent Relationship": "Inner", "Parallel Aware": false, "Async Capable": false, "Scan Direction": "Forward", "Index Name": "l_pk", "Relation Name": "lineitem", "Schema": "public", "Alias": "lineitem", "Startup Cost": 0.43, "Total Cost": 30.69, "Plan Rows": 31, "Plan Width": 24, "Output": ["lineitem.l_orderkey", "lineitem.l_partkey", "lineitem.l_suppkey", "lineitem.l_linenumber", "lineitem.l_quantity", "lineitem.l_extendedprice", "lineitem.l_discount", "lineitem.l_tax", "lineitem.l_returnflag", "lineitem.l_linestatus", "lineitem.l_shipdate", "lineitem.l_commitdate", "lineitem.l_receiptdate", "lineitem.l_shipinstruct", "lineitem.l_shipmode", "lineitem.l_comment"], "Index Cond": "(lineitem.l_partkey = part.p_partkey)"}]}, {"Node Type": "Index Scan", "Parent Relationship": "Inner", "Parallel Aware": false, "Async Capable": false, "Scan Direction": "Forward", "Index Name": "o_ok", "Relation Name": "orders", "Schema": "public", "Alias": "orders", "Startup Cost": 0.43, "Total Cost": 0.46, "Plan Rows": 1, "Plan Width": 12, "Output": ["orders.o_orderkey", "orders.o_custkey", "orders.o_orderstatus", "orders.o_totalprice", "orders.o_orderdate", "orders.o_orderpriority", "orders.o_clerk", "orders.o_shippriority", "orders.o_comment"], "Index Cond": "(orders.o_orderkey = lineitem.l_orderkey)", "Filter": "((orders.o_orderdate >= '1995-01-01'::date) AND (orders.o_orderdate <= '1996-12-31'::date))"}]}, {"Node Type": "Hash", "Parent Relationship": "Inner", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 1641.12, "Total Cost": 1641.12, "Plan Rows": 30000, "Plan Width": 4, "Output": ["customer.c_custkey"], "Plans": [{"Node Type": "Nested Loop", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Join Type": "Inner", "Startup Cost": 0.43, "Total Cost": 1641.12, "Plan Rows": 30000, "Plan Width": 4, "Output": ["customer.c_custkey"], "Inner Unique": false, "Plans": [{"Node Type": "Nested Loop", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Join Type": "Inner", "Startup Cost": 0.14, "Total Cost": 5.25, "Plan Rows": 5, "Plan Width": 4, "Output": ["n1.n_nationkey"], "Inner Unique": true, "Join Filter": "(n1.n_regionkey = region.r_regionkey)", "Plans": [{"Node Type": "Index Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Scan Direction": "Forward", "Index Name": "n_nk", "Relation Name": "nation", "Schema": "public", "Alias": "n1", "Startup Cost": 0.14, "Total Cost": 3.81, "Plan Rows": 25, "Plan Width": 8, "Output": ["n1.n_nationkey", "n1.n_name", "n1.n_regionkey", "n1.n_comment"]}, {"Node Type": "Materialize", "Parent Relationship": "Inner", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 0.0, "Total Cost": 1.07, "Plan Rows": 1, "Plan Width": 4, "Output": ["region.r_regionkey"], "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Relation Name": "region", "Schema": "public", "Alias": "region", "Startup Cost": 0.0, "Total Cost": 1.06, "Plan Rows": 1, "Plan Width": 4, "Output": ["region.r_regionkey"], "Filter": "(region.r_name = 'AFRICA'::bpchar)"}]}]}, {"Node Type": "Index Scan", "Parent Relationship": "Inner", "Parallel Aware": false, "Async Capable": false, "Scan Direction": "Forward", "Index Name": "c_nk", "Relation Name": "customer", "Schema": "public", "Alias": "customer", "Startup Cost": 0.29, "Total Cost": 267.17, "Plan Rows": 6000, "Plan Width": 8, "Output": ["customer.c_custkey", "customer.c_name", "customer.c_address", "customer.c_nationkey", "customer.c_phone", "customer.c_acctbal", "customer.c_mktsegment", "customer.c_comment"], "Index Cond": "(customer.c_nationkey = n1.n_nationkey)"}]}]}]}, {"Node Type": "Index Scan", "Parent Relationship": "Inner", "Parallel Aware": false, "Async Capable": false, "Scan Direction": "Forward", "Index Name": "s_sk", "Relation Name": "supplier", "Schema": "public", "Alias": "supplier", "Startup Cost": 0.29, "Total Cost": 0.3, "Plan Rows": 1, "Plan Width": 8, "Output": ["supplier.s_suppkey", "supplier.s_name", "supplier.s_address", "supplier.s_nationkey", "supplier.s_phone", "supplier.s_acctbal", "supplier.s_comment"], "Index Cond": "(supplier.s_suppkey = lineitem.l_suppkey)"}]}, {"Node Type": "Hash", "Parent Relationship": "Inner", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 1.25, "Total Cost": 1.25, "Plan Rows": 25, "Plan Width": 30, "Output": ["n2.n_name", "n2.n_nationkey"], "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Relation Name": "nation", "Schema": "public", "Alias": "n2", "Startup Cost": 0.0, "Total Cost": 1.25, "Plan Rows": 25, "Plan Width": 30, "Output": ["n2.n_name", "n2.n_nationkey"]}]}]}]}]}]}]}} diff --git a/dev9/pg15/tpch/sf_1/explain/15721/9-1.ok b/dev9/pg15/tpch/sf_1/explain/15721/9-1.ok new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/dev9/pg15/tpch/sf_1/explain/15721/9-1.res b/dev9/pg15/tpch/sf_1/explain/15721/9-1.res new file mode 100644 index 0000000000000000000000000000000000000000..ef847d0640d6b835244aedaf684311c551656f38 --- /dev/null +++ b/dev9/pg15/tpch/sf_1/explain/15721/9-1.res @@ -0,0 +1 @@ +{"Plan": {"Node Type": "Sort", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 85076.12, "Total Cost": 85226.49, "Plan Rows": 60150, "Plan Width": 90, "Output": ["nation.n_name", "(EXTRACT(year FROM orders.o_orderdate))", "(sum(((lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount)) - (partsupp.ps_supplycost * lineitem.l_quantity))))"], "Sort Key": ["nation.n_name", "(EXTRACT(year FROM orders.o_orderdate)) DESC"], "Plans": [{"Node Type": "Aggregate", "Strategy": "Hashed", "Partial Mode": "Finalize", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 79399.08, "Total Cost": 80301.33, "Plan Rows": 60150, "Plan Width": 90, "Output": ["nation.n_name", "(EXTRACT(year FROM orders.o_orderdate))", "sum(((lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount)) - (partsupp.ps_supplycost * lineitem.l_quantity)))"], "Group Key": ["nation.n_name", "(EXTRACT(year FROM orders.o_orderdate))"], "Planned Partitions": 0, "Plans": [{"Node Type": "Gather", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 58647.33, "Total Cost": 77594.58, "Plan Rows": 180450, "Plan Width": 90, "Output": ["nation.n_name", "(EXTRACT(year FROM orders.o_orderdate))", "(PARTIAL sum(((lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount)) - (partsupp.ps_supplycost * lineitem.l_quantity))))"], "Workers Planned": 3, "Single Copy": false, "Plans": [{"Node Type": "Aggregate", "Strategy": "Hashed", "Partial Mode": "Partial", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 57647.33, "Total Cost": 58549.58, "Plan Rows": 60150, "Plan Width": 90, "Output": ["nation.n_name", "(EXTRACT(year FROM orders.o_orderdate))", "PARTIAL sum(((lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount)) - (partsupp.ps_supplycost * lineitem.l_quantity)))"], "Group Key": ["nation.n_name", "EXTRACT(year FROM orders.o_orderdate)"], "Planned Partitions": 0, "Plans": [{"Node Type": "Hash Join", "Parent Relationship": "Outer", "Parallel Aware": true, "Async Capable": false, "Join Type": "Inner", "Startup Cost": 22742.83, "Total Cost": 56085.89, "Plan Rows": 89225, "Plan Width": 81, "Output": ["nation.n_name", "EXTRACT(year FROM orders.o_orderdate)", "lineitem.l_extendedprice", "lineitem.l_discount", "partsupp.ps_supplycost", "lineitem.l_quantity"], "Inner Unique": false, "Hash Cond": "(orders.o_orderkey = lineitem.l_orderkey)", "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": true, "Async Capable": false, "Relation Name": "orders", "Schema": "public", "Alias": "orders", "Startup Cost": 0.0, "Total Cost": 30933.71, "Plan Rows": 483871, "Plan Width": 8, "Output": ["orders.o_orderkey", "orders.o_custkey", "orders.o_orderstatus", "orders.o_totalprice", "orders.o_orderdate", "orders.o_orderpriority", "orders.o_clerk", "orders.o_shippriority", "orders.o_comment"]}, {"Node Type": "Hash", "Parent Relationship": "Inner", "Parallel Aware": true, "Async Capable": false, "Startup Cost": 21302.23, "Total Cost": 21302.23, "Plan Rows": 115248, "Plan Width": 53, "Output": ["lineitem.l_extendedprice", "lineitem.l_discount", "lineitem.l_quantity", "lineitem.l_orderkey", "partsupp.ps_supplycost", "nation.n_name"], "Plans": [{"Node Type": "Nested Loop", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Join Type": "Inner", "Startup Cost": 449.42, "Total Cost": 21302.23, "Plan Rows": 115248, "Plan Width": 53, "Output": ["lineitem.l_extendedprice", "lineitem.l_discount", "lineitem.l_quantity", "lineitem.l_orderkey", "partsupp.ps_supplycost", "nation.n_name"], "Inner Unique": false, "Join Filter": "(supplier.s_suppkey = lineitem.l_suppkey)", "Plans": [{"Node Type": "Hash Join", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Join Type": "Inner", "Startup Cost": 448.99, "Total Cost": 11624.87, "Plan Rows": 15363, "Plan Width": 48, "Output": ["part.p_partkey", "partsupp.ps_supplycost", "partsupp.ps_suppkey", "partsupp.ps_partkey", "supplier.s_suppkey", "nation.n_name"], "Inner Unique": true, "Hash Cond": "(supplier.s_nationkey = nation.n_nationkey)", "Plans": [{"Node Type": "Hash Join", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Join Type": "Inner", "Startup Cost": 447.43, "Total Cost": 11576.14, "Plan Rows": 15363, "Plan Width": 26, "Output": ["part.p_partkey", "partsupp.ps_supplycost", "partsupp.ps_suppkey", "partsupp.ps_partkey", "supplier.s_suppkey", "supplier.s_nationkey"], "Inner Unique": true, "Hash Cond": "(partsupp.ps_suppkey = supplier.s_suppkey)", "Plans": [{"Node Type": "Nested Loop", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Join Type": "Inner", "Startup Cost": 0.42, "Total Cost": 11088.79, "Plan Rows": 15363, "Plan Width": 18, "Output": ["part.p_partkey", "partsupp.ps_supplycost", "partsupp.ps_suppkey", "partsupp.ps_partkey"], "Inner Unique": false, "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": true, "Async Capable": false, "Relation Name": "part", "Schema": "public", "Alias": "part", "Startup Cost": 0.0, "Total Cost": 5138.67, "Plan Rows": 3841, "Plan Width": 4, "Output": ["part.p_partkey", "part.p_name", "part.p_mfgr", "part.p_brand", "part.p_type", "part.p_size", "part.p_container", "part.p_retailprice", "part.p_comment"], "Filter": "((part.p_name)::text ~~ '%forest%'::text)"}, {"Node Type": "Index Scan", "Parent Relationship": "Inner", "Parallel Aware": false, "Async Capable": false, "Scan Direction": "Forward", "Index Name": "ps_pk", "Relation Name": "partsupp", "Schema": "public", "Alias": "partsupp", "Startup Cost": 0.42, "Total Cost": 1.51, "Plan Rows": 4, "Plan Width": 14, "Output": ["partsupp.ps_partkey", "partsupp.ps_suppkey", "partsupp.ps_availqty", "partsupp.ps_supplycost", "partsupp.ps_comment"], "Index Cond": "(partsupp.ps_partkey = part.p_partkey)"}]}, {"Node Type": "Hash", "Parent Relationship": "Inner", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 322.0, "Total Cost": 322.0, "Plan Rows": 10000, "Plan Width": 8, "Output": ["supplier.s_suppkey", "supplier.s_nationkey"], "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Relation Name": "supplier", "Schema": "public", "Alias": "supplier", "Startup Cost": 0.0, "Total Cost": 322.0, "Plan Rows": 10000, "Plan Width": 8, "Output": ["supplier.s_suppkey", "supplier.s_nationkey"]}]}]}, {"Node Type": "Hash", "Parent Relationship": "Inner", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 1.25, "Total Cost": 1.25, "Plan Rows": 25, "Plan Width": 30, "Output": ["nation.n_name", "nation.n_nationkey"], "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Relation Name": "nation", "Schema": "public", "Alias": "nation", "Startup Cost": 0.0, "Total Cost": 1.25, "Plan Rows": 25, "Plan Width": 30, "Output": ["nation.n_name", "nation.n_nationkey"]}]}]}, {"Node Type": "Index Scan", "Parent Relationship": "Inner", "Parallel Aware": false, "Async Capable": false, "Scan Direction": "Forward", "Index Name": "l_sk_pk", "Relation Name": "lineitem", "Schema": "public", "Alias": "lineitem", "Startup Cost": 0.43, "Total Cost": 0.62, "Plan Rows": 1, "Plan Width": 29, "Output": ["lineitem.l_orderkey", "lineitem.l_partkey", "lineitem.l_suppkey", "lineitem.l_linenumber", "lineitem.l_quantity", "lineitem.l_extendedprice", "lineitem.l_discount", "lineitem.l_tax", "lineitem.l_returnflag", "lineitem.l_linestatus", "lineitem.l_shipdate", "lineitem.l_commitdate", "lineitem.l_receiptdate", "lineitem.l_shipinstruct", "lineitem.l_shipmode", "lineitem.l_comment"], "Index Cond": "((lineitem.l_suppkey = partsupp.ps_suppkey) AND (lineitem.l_partkey = partsupp.ps_partkey))"}]}]}]}]}]}]}]}} diff --git a/dev9/pg15/tpch/sf_1/explain_analyze/15721/1-1.ok b/dev9/pg15/tpch/sf_1/explain_analyze/15721/1-1.ok new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/dev9/pg15/tpch/sf_1/explain_analyze/15721/1-1.res b/dev9/pg15/tpch/sf_1/explain_analyze/15721/1-1.res new file mode 100644 index 0000000000000000000000000000000000000000..79bee1fdb8eb74a3225811bebfb8b2e769d9d181 --- /dev/null +++ b/dev9/pg15/tpch/sf_1/explain_analyze/15721/1-1.res @@ -0,0 +1 @@ +{"Plan": {"Node Type": "Aggregate", "Strategy": "Sorted", "Partial Mode": "Finalize", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 169542.43, "Total Cost": 169547.2, "Plan Rows": 6, "Plan Width": 236, "Actual Startup Time": 1714.806, "Actual Total Time": 1731.002, "Actual Rows": 4, "Actual Loops": 1, "Output": ["l_returnflag", "l_linestatus", "sum(l_quantity)", "sum(l_extendedprice)", "sum((l_extendedprice * ('1'::numeric - l_discount)))", "sum(((l_extendedprice * ('1'::numeric - l_discount)) * ('1'::numeric + l_tax)))", "avg(l_quantity)", "avg(l_extendedprice)", "avg(l_discount)", "count(*)"], "Group Key": ["lineitem.l_returnflag", "lineitem.l_linestatus"], "Plans": [{"Node Type": "Gather Merge", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 169542.43, "Total Cost": 169546.06, "Plan Rows": 30, "Plan Width": 236, "Actual Startup Time": 1714.774, "Actual Total Time": 1730.928, "Actual Rows": 24, "Actual Loops": 1, "Output": ["l_returnflag", "l_linestatus", "(PARTIAL sum(l_quantity))", "(PARTIAL sum(l_extendedprice))", "(PARTIAL sum((l_extendedprice * ('1'::numeric - l_discount))))", "(PARTIAL sum(((l_extendedprice * ('1'::numeric - l_discount)) * ('1'::numeric + l_tax))))", "(PARTIAL avg(l_quantity))", "(PARTIAL avg(l_extendedprice))", "(PARTIAL avg(l_discount))", "(PARTIAL count(*))"], "Workers Planned": 5, "Workers Launched": 5, "Plans": [{"Node Type": "Sort", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 168542.35, "Total Cost": 168542.37, "Plan Rows": 6, "Plan Width": 236, "Actual Startup Time": 1710.865, "Actual Total Time": 1710.866, "Actual Rows": 4, "Actual Loops": 6, "Output": ["l_returnflag", "l_linestatus", "(PARTIAL sum(l_quantity))", "(PARTIAL sum(l_extendedprice))", "(PARTIAL sum((l_extendedprice * ('1'::numeric - l_discount))))", "(PARTIAL sum(((l_extendedprice * ('1'::numeric - l_discount)) * ('1'::numeric + l_tax))))", "(PARTIAL avg(l_quantity))", "(PARTIAL avg(l_extendedprice))", "(PARTIAL avg(l_discount))", "(PARTIAL count(*))"], "Sort Key": ["lineitem.l_returnflag", "lineitem.l_linestatus"], "Sort Method": "quicksort", "Sort Space Used": 27, "Sort Space Type": "Memory", "Workers": [{"Worker Number": 0, "Actual Startup Time": 1710.095, "Actual Total Time": 1710.097, "Actual Rows": 4, "Actual Loops": 1, "Sort Method": "quicksort", "Sort Space Used": 27, "Sort Space Type": "Memory"}, {"Worker Number": 1, "Actual Startup Time": 1710.057, "Actual Total Time": 1710.059, "Actual Rows": 4, "Actual Loops": 1, "Sort Method": "quicksort", "Sort Space Used": 27, "Sort Space Type": "Memory"}, {"Worker Number": 2, "Actual Startup Time": 1710.225, "Actual Total Time": 1710.227, "Actual Rows": 4, "Actual Loops": 1, "Sort Method": "quicksort", "Sort Space Used": 27, "Sort Space Type": "Memory"}, {"Worker Number": 3, "Actual Startup Time": 1710.196, "Actual Total Time": 1710.198, "Actual Rows": 4, "Actual Loops": 1, "Sort Method": "quicksort", "Sort Space Used": 27, "Sort Space Type": "Memory"}, {"Worker Number": 4, "Actual Startup Time": 1710.289, "Actual Total Time": 1710.29, "Actual Rows": 4, "Actual Loops": 1, "Sort Method": "quicksort", "Sort Space Used": 27, "Sort Space Type": "Memory"}], "Plans": [{"Node Type": "Aggregate", "Strategy": "Hashed", "Partial Mode": "Partial", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 168542.14, "Total Cost": 168542.27, "Plan Rows": 6, "Plan Width": 236, "Actual Startup Time": 1710.819, "Actual Total Time": 1710.827, "Actual Rows": 4, "Actual Loops": 6, "Output": ["l_returnflag", "l_linestatus", "PARTIAL sum(l_quantity)", "PARTIAL sum(l_extendedprice)", "PARTIAL sum((l_extendedprice * ('1'::numeric - l_discount)))", "PARTIAL sum(((l_extendedprice * ('1'::numeric - l_discount)) * ('1'::numeric + l_tax)))", "PARTIAL avg(l_quantity)", "PARTIAL avg(l_extendedprice)", "PARTIAL avg(l_discount)", "PARTIAL count(*)"], "Group Key": ["lineitem.l_returnflag", "lineitem.l_linestatus"], "Planned Partitions": 0, "HashAgg Batches": 1, "Peak Memory Usage": 32, "Disk Usage": 0, "Workers": [{"Worker Number": 0, "Actual Startup Time": 1710.045, "Actual Total Time": 1710.053, "Actual Rows": 4, "Actual Loops": 1, "HashAgg Batches": 1, "Peak Memory Usage": 32, "Disk Usage": 0}, {"Worker Number": 1, "Actual Startup Time": 1710.005, "Actual Total Time": 1710.013, "Actual Rows": 4, "Actual Loops": 1, "HashAgg Batches": 1, "Peak Memory Usage": 32, "Disk Usage": 0}, {"Worker Number": 2, "Actual Startup Time": 1710.176, "Actual Total Time": 1710.184, "Actual Rows": 4, "Actual Loops": 1, "HashAgg Batches": 1, "Peak Memory Usage": 32, "Disk Usage": 0}, {"Worker Number": 3, "Actual Startup Time": 1710.146, "Actual Total Time": 1710.154, "Actual Rows": 4, "Actual Loops": 1, "HashAgg Batches": 1, "Peak Memory Usage": 32, "Disk Usage": 0}, {"Worker Number": 4, "Actual Startup Time": 1710.238, "Actual Total Time": 1710.246, "Actual Rows": 4, "Actual Loops": 1, "HashAgg Batches": 1, "Peak Memory Usage": 32, "Disk Usage": 0}], "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": true, "Async Capable": false, "Relation Name": "lineitem", "Schema": "public", "Alias": "lineitem", "Startup Cost": 0.0, "Total Cost": 127506.04, "Plan Rows": 1172460, "Plan Width": 25, "Actual Startup Time": 0.02, "Actual Total Time": 233.603, "Actual Rows": 976793, "Actual Loops": 6, "Output": ["l_orderkey", "l_partkey", "l_suppkey", "l_linenumber", "l_quantity", "l_extendedprice", "l_discount", "l_tax", "l_returnflag", "l_linestatus", "l_shipdate", "l_commitdate", "l_receiptdate", "l_shipinstruct", "l_shipmode", "l_comment"], "Filter": "(lineitem.l_shipdate <= '1998-08-07 23:59:57'::timestamp without time zone)", "Rows Removed by Filter": 23410, "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.022, "Actual Total Time": 238.144, "Actual Rows": 975990, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 0.023, "Actual Total Time": 235.873, "Actual Rows": 971763, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 0.022, "Actual Total Time": 235.691, "Actual Rows": 974929, "Actual Loops": 1}, {"Worker Number": 3, "Actual Startup Time": 0.022, "Actual Total Time": 236.133, "Actual Rows": 978766, "Actual Loops": 1}, {"Worker Number": 4, "Actual Startup Time": 0.024, "Actual Total Time": 235.09, "Actual Rows": 970336, "Actual Loops": 1}]}]}]}]}]}, "Planning Time": 0.43, "Triggers": [], "Execution Time": 1731.083} diff --git a/dev9/pg15/tpch/sf_1/explain_analyze/15721/10-1.ok b/dev9/pg15/tpch/sf_1/explain_analyze/15721/10-1.ok new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/dev9/pg15/tpch/sf_1/explain_analyze/15721/10-1.res b/dev9/pg15/tpch/sf_1/explain_analyze/15721/10-1.res new file mode 100644 index 0000000000000000000000000000000000000000..b500bc5f3ab98b3c7f745576fa8460336830416d --- /dev/null +++ b/dev9/pg15/tpch/sf_1/explain_analyze/15721/10-1.res @@ -0,0 +1 @@ +{"Plan": {"Node Type": "Limit", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 70028.25, "Total Cost": 70028.3, "Plan Rows": 20, "Plan Width": 202, "Actual Startup Time": 283.725, "Actual Total Time": 290.427, "Actual Rows": 20, "Actual Loops": 1, "Output": ["customer.c_custkey", "customer.c_name", "(sum((lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount))))", "customer.c_acctbal", "nation.n_name", "customer.c_address", "customer.c_phone", "customer.c_comment"], "Plans": [{"Node Type": "Sort", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 70028.25, "Total Cost": 70163.68, "Plan Rows": 54170, "Plan Width": 202, "Actual Startup Time": 283.723, "Actual Total Time": 290.423, "Actual Rows": 20, "Actual Loops": 1, "Output": ["customer.c_custkey", "customer.c_name", "(sum((lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount))))", "customer.c_acctbal", "nation.n_name", "customer.c_address", "customer.c_phone", "customer.c_comment"], "Sort Key": ["(sum((lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount)))) DESC"], "Sort Method": "top-N heapsort", "Sort Space Used": 34, "Sort Space Type": "Memory", "Plans": [{"Node Type": "Aggregate", "Strategy": "Hashed", "Partial Mode": "Simple", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 67909.68, "Total Cost": 68586.81, "Plan Rows": 54170, "Plan Width": 202, "Actual Startup Time": 241.549, "Actual Total Time": 276.337, "Actual Rows": 37047, "Actual Loops": 1, "Output": ["customer.c_custkey", "customer.c_name", "sum((lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount)))", "customer.c_acctbal", "nation.n_name", "customer.c_address", "customer.c_phone", "customer.c_comment"], "Group Key": ["customer.c_custkey", "nation.n_name"], "Planned Partitions": 0, "HashAgg Batches": 1, "Peak Memory Usage": 25105, "Disk Usage": 0, "Plans": [{"Node Type": "Gather", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 6612.85, "Total Cost": 67232.56, "Plan Rows": 54170, "Plan Width": 182, "Actual Startup Time": 59.672, "Actual Total Time": 145.993, "Actual Rows": 110515, "Actual Loops": 1, "Output": ["customer.c_custkey", "nation.n_name", "customer.c_name", "lineitem.l_extendedprice", "lineitem.l_discount", "customer.c_acctbal", "customer.c_address", "customer.c_phone", "customer.c_comment"], "Workers Planned": 3, "Workers Launched": 3, "Single Copy": false, "Plans": [{"Node Type": "Hash Join", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Join Type": "Inner", "Startup Cost": 5612.85, "Total Cost": 60815.56, "Plan Rows": 17474, "Plan Width": 182, "Actual Startup Time": 56.331, "Actual Total Time": 197.321, "Actual Rows": 27629, "Actual Loops": 4, "Output": ["customer.c_custkey", "nation.n_name", "customer.c_name", "lineitem.l_extendedprice", "lineitem.l_discount", "customer.c_acctbal", "customer.c_address", "customer.c_phone", "customer.c_comment"], "Inner Unique": true, "Hash Cond": "(customer.c_nationkey = nation.n_nationkey)", "Workers": [{"Worker Number": 0, "Actual Startup Time": 55.298, "Actual Total Time": 222.168, "Actual Rows": 31746, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 55.148, "Actual Total Time": 222.295, "Actual Rows": 31437, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 55.626, "Actual Total Time": 222.311, "Actual Rows": 31585, "Actual Loops": 1}], "Plans": [{"Node Type": "Hash Join", "Parent Relationship": "Outer", "Parallel Aware": true, "Async Capable": false, "Join Type": "Inner", "Startup Cost": 5611.29, "Total Cost": 60760.35, "Plan Rows": 17474, "Plan Width": 160, "Actual Startup Time": 56.178, "Actual Total Time": 189.787, "Actual Rows": 27629, "Actual Loops": 4, "Output": ["customer.c_custkey", "customer.c_name", "customer.c_acctbal", "customer.c_address", "customer.c_phone", "customer.c_comment", "customer.c_nationkey", "lineitem.l_extendedprice", "lineitem.l_discount"], "Inner Unique": true, "Hash Cond": "(orders.o_custkey = customer.c_custkey)", "Workers": [{"Worker Number": 0, "Actual Startup Time": 55.102, "Actual Total Time": 213.517, "Actual Rows": 31746, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 54.947, "Actual Total Time": 213.743, "Actual Rows": 31437, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 55.436, "Actual Total Time": 213.717, "Actual Rows": 31585, "Actual Loops": 1}], "Plans": [{"Node Type": "Nested Loop", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Join Type": "Inner", "Startup Cost": 620.04, "Total Cost": 55723.23, "Plan Rows": 17474, "Plan Width": 16, "Actual Startup Time": 18.265, "Actual Total Time": 138.228, "Actual Rows": 27629, "Actual Loops": 4, "Output": ["orders.o_custkey", "lineitem.l_extendedprice", "lineitem.l_discount"], "Inner Unique": false, "Workers": [{"Worker Number": 0, "Actual Startup Time": 18.337, "Actual Total Time": 161.386, "Actual Rows": 31746, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 18.155, "Actual Total Time": 161.697, "Actual Rows": 31437, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 18.438, "Actual Total Time": 161.349, "Actual Rows": 31585, "Actual Loops": 1}], "Plans": [{"Node Type": "Bitmap Heap Scan", "Parent Relationship": "Outer", "Parallel Aware": true, "Async Capable": false, "Relation Name": "orders", "Schema": "public", "Alias": "orders", "Startup Cost": 619.6, "Total Cost": 26981.45, "Plan Rows": 17790, "Plan Width": 8, "Actual Startup Time": 18.207, "Actual Total Time": 40.594, "Actual Rows": 13816, "Actual Loops": 4, "Output": ["orders.o_orderkey", "orders.o_custkey", "orders.o_orderstatus", "orders.o_totalprice", "orders.o_orderdate", "orders.o_orderpriority", "orders.o_clerk", "orders.o_shippriority", "orders.o_comment"], "Recheck Cond": "((orders.o_orderdate >= '1993-02-01'::date) AND (orders.o_orderdate < '1993-05-01 00:00:00'::timestamp without time zone))", "Rows Removed by Index Recheck": 0, "Exact Heap Blocks": 3347, "Lossy Heap Blocks": 0, "Workers": [{"Worker Number": 0, "Actual Startup Time": 18.278, "Actual Total Time": 45.15, "Actual Rows": 15743, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 18.088, "Actual Total Time": 45.382, "Actual Rows": 15930, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 18.354, "Actual Total Time": 45.385, "Actual Rows": 15606, "Actual Loops": 1}], "Plans": [{"Node Type": "Bitmap Index Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Index Name": "o_od", "Startup Cost": 0.0, "Total Cost": 605.82, "Plan Rows": 55149, "Plan Width": 0, "Actual Startup Time": 12.065, "Actual Total Time": 12.065, "Actual Rows": 55266, "Actual Loops": 1, "Index Cond": "((orders.o_orderdate >= '1993-02-01'::date) AND (orders.o_orderdate < '1993-05-01 00:00:00'::timestamp without time zone))", "Workers": [{"Worker Number": 1, "Actual Startup Time": 12.065, "Actual Total Time": 12.065, "Actual Rows": 55266, "Actual Loops": 1}]}]}, {"Node Type": "Index Scan", "Parent Relationship": "Inner", "Parallel Aware": false, "Async Capable": false, "Scan Direction": "Forward", "Index Name": "l_ok", "Relation Name": "lineitem", "Schema": "public", "Alias": "lineitem", "Startup Cost": 0.43, "Total Cost": 1.61, "Plan Rows": 1, "Plan Width": 16, "Actual Startup Time": 0.005, "Actual Total Time": 0.006, "Actual Rows": 2, "Actual Loops": 55266, "Output": ["lineitem.l_orderkey", "lineitem.l_partkey", "lineitem.l_suppkey", "lineitem.l_linenumber", "lineitem.l_quantity", "lineitem.l_extendedprice", "lineitem.l_discount", "lineitem.l_tax", "lineitem.l_returnflag", "lineitem.l_linestatus", "lineitem.l_shipdate", "lineitem.l_commitdate", "lineitem.l_receiptdate", "lineitem.l_shipinstruct", "lineitem.l_shipmode", "lineitem.l_comment"], "Index Cond": "(lineitem.l_orderkey = orders.o_orderkey)", "Rows Removed by Index Recheck": 0, "Filter": "(lineitem.l_returnflag = 'R'::bpchar)", "Rows Removed by Filter": 2, "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.006, "Actual Total Time": 0.007, "Actual Rows": 2, "Actual Loops": 15743}, {"Worker Number": 1, "Actual Startup Time": 0.006, "Actual Total Time": 0.007, "Actual Rows": 2, "Actual Loops": 15930}, {"Worker Number": 2, "Actual Startup Time": 0.006, "Actual Total Time": 0.007, "Actual Rows": 2, "Actual Loops": 15606}]}]}, {"Node Type": "Hash", "Parent Relationship": "Inner", "Parallel Aware": true, "Async Capable": false, "Startup Cost": 4210.0, "Total Cost": 4210.0, "Plan Rows": 62500, "Plan Width": 148, "Actual Startup Time": 37.369, "Actual Total Time": 37.37, "Actual Rows": 37500, "Actual Loops": 4, "Output": ["customer.c_custkey", "customer.c_name", "customer.c_acctbal", "customer.c_address", "customer.c_phone", "customer.c_comment", "customer.c_nationkey"], "Hash Buckets": 262144, "Original Hash Buckets": 262144, "Hash Batches": 1, "Original Hash Batches": 1, "Peak Memory Usage": 29344, "Workers": [{"Worker Number": 0, "Actual Startup Time": 36.735, "Actual Total Time": 36.736, "Actual Rows": 34894, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 36.765, "Actual Total Time": 36.766, "Actual Rows": 35025, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 36.962, "Actual Total Time": 36.963, "Actual Rows": 35326, "Actual Loops": 1}], "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": true, "Async Capable": false, "Relation Name": "customer", "Schema": "public", "Alias": "customer", "Startup Cost": 0.0, "Total Cost": 4210.0, "Plan Rows": 62500, "Plan Width": 148, "Actual Startup Time": 0.012, "Actual Total Time": 12.042, "Actual Rows": 37500, "Actual Loops": 4, "Output": ["customer.c_custkey", "customer.c_name", "customer.c_acctbal", "customer.c_address", "customer.c_phone", "customer.c_comment", "customer.c_nationkey"], "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.018, "Actual Total Time": 12.235, "Actual Rows": 34894, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 0.015, "Actual Total Time": 12.21, "Actual Rows": 35025, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 0.012, "Actual Total Time": 12.321, "Actual Rows": 35326, "Actual Loops": 1}]}]}]}, {"Node Type": "Hash", "Parent Relationship": "Inner", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 1.25, "Total Cost": 1.25, "Plan Rows": 25, "Plan Width": 30, "Actual Startup Time": 0.033, "Actual Total Time": 0.034, "Actual Rows": 25, "Actual Loops": 4, "Output": ["nation.n_name", "nation.n_nationkey"], "Hash Buckets": 1024, "Original Hash Buckets": 1024, "Hash Batches": 1, "Original Hash Batches": 1, "Peak Memory Usage": 10, "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.039, "Actual Total Time": 0.039, "Actual Rows": 25, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 0.038, "Actual Total Time": 0.039, "Actual Rows": 25, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 0.039, "Actual Total Time": 0.039, "Actual Rows": 25, "Actual Loops": 1}], "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Relation Name": "nation", "Schema": "public", "Alias": "nation", "Startup Cost": 0.0, "Total Cost": 1.25, "Plan Rows": 25, "Plan Width": 30, "Actual Startup Time": 0.019, "Actual Total Time": 0.023, "Actual Rows": 25, "Actual Loops": 4, "Output": ["nation.n_name", "nation.n_nationkey"], "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.023, "Actual Total Time": 0.027, "Actual Rows": 25, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 0.022, "Actual Total Time": 0.027, "Actual Rows": 25, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 0.023, "Actual Total Time": 0.027, "Actual Rows": 25, "Actual Loops": 1}]}]}]}]}]}]}]}, "Planning Time": 1.174, "Triggers": [], "Execution Time": 290.715} diff --git a/dev9/pg15/tpch/sf_1/explain_analyze/15721/11-1.ok b/dev9/pg15/tpch/sf_1/explain_analyze/15721/11-1.ok new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/dev9/pg15/tpch/sf_1/explain_analyze/15721/11-1.res b/dev9/pg15/tpch/sf_1/explain_analyze/15721/11-1.res new file mode 100644 index 0000000000000000000000000000000000000000..216a27eb5c88fcd07844e60f7072a22536b8ba59 --- /dev/null +++ b/dev9/pg15/tpch/sf_1/explain_analyze/15721/11-1.res @@ -0,0 +1 @@ +{"Plan": {"Node Type": "Sort", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 5901.14, "Total Cost": 5927.81, "Plan Rows": 10667, "Plan Width": 36, "Actual Startup Time": 103.928, "Actual Total Time": 103.997, "Actual Rows": 869, "Actual Loops": 1, "Output": ["partsupp.ps_partkey", "(sum((partsupp.ps_supplycost * (partsupp.ps_availqty)::numeric)))"], "Sort Key": ["(sum((partsupp.ps_supplycost * (partsupp.ps_availqty)::numeric))) DESC"], "Sort Method": "quicksort", "Sort Space Used": 72, "Sort Space Type": "Memory", "Plans": [{"Node Type": "Aggregate", "Strategy": "Plain", "Partial Mode": "Simple", "Parent Relationship": "InitPlan", "Subplan Name": "InitPlan 1 (returns $2)", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 2313.73, "Total Cost": 2313.74, "Plan Rows": 1, "Plan Width": 32, "Actual Startup Time": 36.828, "Actual Total Time": 36.831, "Actual Rows": 1, "Actual Loops": 1, "Output": ["(sum((partsupp_1.ps_supplycost * (partsupp_1.ps_availqty)::numeric)) * 0.0001000000)"], "Plans": [{"Node Type": "Nested Loop", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Join Type": "Inner", "Startup Cost": 4.91, "Total Cost": 2073.73, "Plan Rows": 32000, "Plan Width": 10, "Actual Startup Time": 0.071, "Actual Total Time": 25.709, "Actual Rows": 32560, "Actual Loops": 1, "Output": ["partsupp_1.ps_supplycost", "partsupp_1.ps_availqty"], "Inner Unique": false, "Plans": [{"Node Type": "Nested Loop", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Join Type": "Inner", "Startup Cost": 4.48, "Total Cost": 226.33, "Plan Rows": 400, "Plan Width": 4, "Actual Startup Time": 0.064, "Actual Total Time": 0.37, "Actual Rows": 407, "Actual Loops": 1, "Output": ["supplier_1.s_suppkey"], "Inner Unique": false, "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Relation Name": "nation", "Schema": "public", "Alias": "nation_1", "Startup Cost": 0.0, "Total Cost": 1.31, "Plan Rows": 1, "Plan Width": 4, "Actual Startup Time": 0.007, "Actual Total Time": 0.01, "Actual Rows": 1, "Actual Loops": 1, "Output": ["nation_1.n_nationkey", "nation_1.n_name", "nation_1.n_regionkey", "nation_1.n_comment"], "Filter": "(nation_1.n_name = 'CHINA'::bpchar)", "Rows Removed by Filter": 24}, {"Node Type": "Bitmap Heap Scan", "Parent Relationship": "Inner", "Parallel Aware": false, "Async Capable": false, "Relation Name": "supplier", "Schema": "public", "Alias": "supplier_1", "Startup Cost": 4.48, "Total Cost": 221.01, "Plan Rows": 400, "Plan Width": 8, "Actual Startup Time": 0.054, "Actual Total Time": 0.299, "Actual Rows": 407, "Actual Loops": 1, "Output": ["supplier_1.s_suppkey", "supplier_1.s_name", "supplier_1.s_address", "supplier_1.s_nationkey", "supplier_1.s_phone", "supplier_1.s_acctbal", "supplier_1.s_comment"], "Recheck Cond": "(supplier_1.s_nationkey = nation_1.n_nationkey)", "Rows Removed by Index Recheck": 0, "Exact Heap Blocks": 186, "Lossy Heap Blocks": 0, "Plans": [{"Node Type": "Bitmap Index Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Index Name": "s_nk", "Startup Cost": 0.0, "Total Cost": 4.38, "Plan Rows": 400, "Plan Width": 0, "Actual Startup Time": 0.025, "Actual Total Time": 0.025, "Actual Rows": 407, "Actual Loops": 1, "Index Cond": "(supplier_1.s_nationkey = nation_1.n_nationkey)"}]}]}, {"Node Type": "Index Scan", "Parent Relationship": "Inner", "Parallel Aware": false, "Async Capable": false, "Scan Direction": "Forward", "Index Name": "ps_sk", "Relation Name": "partsupp", "Schema": "public", "Alias": "partsupp_1", "Startup Cost": 0.42, "Total Cost": 3.82, "Plan Rows": 80, "Plan Width": 14, "Actual Startup Time": 0.003, "Actual Total Time": 0.05, "Actual Rows": 80, "Actual Loops": 407, "Output": ["partsupp_1.ps_partkey", "partsupp_1.ps_suppkey", "partsupp_1.ps_availqty", "partsupp_1.ps_supplycost", "partsupp_1.ps_comment"], "Index Cond": "(partsupp_1.ps_suppkey = supplier_1.s_suppkey)", "Rows Removed by Index Recheck": 0}]}]}, {"Node Type": "Aggregate", "Strategy": "Hashed", "Partial Mode": "Simple", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 2393.73, "Total Cost": 2873.73, "Plan Rows": 10667, "Plan Width": 36, "Actual Startup Time": 89.308, "Actual Total Time": 103.586, "Actual Rows": 869, "Actual Loops": 1, "Output": ["partsupp.ps_partkey", "sum((partsupp.ps_supplycost * (partsupp.ps_availqty)::numeric))"], "Group Key": ["partsupp.ps_partkey"], "Filter": "(sum((partsupp.ps_supplycost * (partsupp.ps_availqty)::numeric)) > $2)", "Planned Partitions": 0, "HashAgg Batches": 1, "Peak Memory Usage": 14865, "Disk Usage": 0, "Rows Removed by Filter": 29770, "Plans": [{"Node Type": "Nested Loop", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Join Type": "Inner", "Startup Cost": 4.91, "Total Cost": 2073.73, "Plan Rows": 32000, "Plan Width": 14, "Actual Startup Time": 0.08, "Actual Total Time": 31.344, "Actual Rows": 32560, "Actual Loops": 1, "Output": ["partsupp.ps_partkey", "partsupp.ps_supplycost", "partsupp.ps_availqty"], "Inner Unique": false, "Plans": [{"Node Type": "Nested Loop", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Join Type": "Inner", "Startup Cost": 4.48, "Total Cost": 226.33, "Plan Rows": 400, "Plan Width": 4, "Actual Startup Time": 0.07, "Actual Total Time": 0.464, "Actual Rows": 407, "Actual Loops": 1, "Output": ["supplier.s_suppkey"], "Inner Unique": false, "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Relation Name": "nation", "Schema": "public", "Alias": "nation", "Startup Cost": 0.0, "Total Cost": 1.31, "Plan Rows": 1, "Plan Width": 4, "Actual Startup Time": 0.009, "Actual Total Time": 0.012, "Actual Rows": 1, "Actual Loops": 1, "Output": ["nation.n_nationkey", "nation.n_name", "nation.n_regionkey", "nation.n_comment"], "Filter": "(nation.n_name = 'CHINA'::bpchar)", "Rows Removed by Filter": 24}, {"Node Type": "Bitmap Heap Scan", "Parent Relationship": "Inner", "Parallel Aware": false, "Async Capable": false, "Relation Name": "supplier", "Schema": "public", "Alias": "supplier", "Startup Cost": 4.48, "Total Cost": 221.01, "Plan Rows": 400, "Plan Width": 8, "Actual Startup Time": 0.059, "Actual Total Time": 0.389, "Actual Rows": 407, "Actual Loops": 1, "Output": ["supplier.s_suppkey", "supplier.s_name", "supplier.s_address", "supplier.s_nationkey", "supplier.s_phone", "supplier.s_acctbal", "supplier.s_comment"], "Recheck Cond": "(supplier.s_nationkey = nation.n_nationkey)", "Rows Removed by Index Recheck": 0, "Exact Heap Blocks": 186, "Lossy Heap Blocks": 0, "Plans": [{"Node Type": "Bitmap Index Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Index Name": "s_nk", "Startup Cost": 0.0, "Total Cost": 4.38, "Plan Rows": 400, "Plan Width": 0, "Actual Startup Time": 0.026, "Actual Total Time": 0.026, "Actual Rows": 407, "Actual Loops": 1, "Index Cond": "(supplier.s_nationkey = nation.n_nationkey)"}]}]}, {"Node Type": "Index Scan", "Parent Relationship": "Inner", "Parallel Aware": false, "Async Capable": false, "Scan Direction": "Forward", "Index Name": "ps_sk", "Relation Name": "partsupp", "Schema": "public", "Alias": "partsupp", "Startup Cost": 0.42, "Total Cost": 3.82, "Plan Rows": 80, "Plan Width": 18, "Actual Startup Time": 0.003, "Actual Total Time": 0.063, "Actual Rows": 80, "Actual Loops": 407, "Output": ["partsupp.ps_partkey", "partsupp.ps_suppkey", "partsupp.ps_availqty", "partsupp.ps_supplycost", "partsupp.ps_comment"], "Index Cond": "(partsupp.ps_suppkey = supplier.s_suppkey)", "Rows Removed by Index Recheck": 0}]}]}]}, "Planning Time": 0.85, "Triggers": [], "Execution Time": 104.271} diff --git a/dev9/pg15/tpch/sf_1/explain_analyze/15721/12-1.ok b/dev9/pg15/tpch/sf_1/explain_analyze/15721/12-1.ok new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/dev9/pg15/tpch/sf_1/explain_analyze/15721/12-1.res b/dev9/pg15/tpch/sf_1/explain_analyze/15721/12-1.res new file mode 100644 index 0000000000000000000000000000000000000000..628b20acd219a7e89957a6cfda04da28bd8dd620 --- /dev/null +++ b/dev9/pg15/tpch/sf_1/explain_analyze/15721/12-1.res @@ -0,0 +1 @@ +{"Plan": {"Node Type": "Aggregate", "Strategy": "Sorted", "Partial Mode": "Finalize", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 135637.28, "Total Cost": 135757.82, "Plan Rows": 7, "Plan Width": 27, "Actual Startup Time": 304.05, "Actual Total Time": 339.206, "Actual Rows": 2, "Actual Loops": 1, "Output": ["lineitem.l_shipmode", "sum(CASE WHEN ((orders.o_orderpriority = '1-URGENT'::bpchar) OR (orders.o_orderpriority = '2-HIGH'::bpchar)) THEN 1 ELSE 0 END)", "sum(CASE WHEN ((orders.o_orderpriority <> '1-URGENT'::bpchar) AND (orders.o_orderpriority <> '2-HIGH'::bpchar)) THEN 1 ELSE 0 END)"], "Group Key": ["lineitem.l_shipmode"], "Plans": [{"Node Type": "Gather Merge", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 135637.28, "Total Cost": 135757.49, "Plan Rows": 35, "Plan Width": 27, "Actual Startup Time": 302.328, "Actual Total Time": 339.195, "Actual Rows": 12, "Actual Loops": 1, "Output": ["lineitem.l_shipmode", "(PARTIAL sum(CASE WHEN ((orders.o_orderpriority = '1-URGENT'::bpchar) OR (orders.o_orderpriority = '2-HIGH'::bpchar)) THEN 1 ELSE 0 END))", "(PARTIAL sum(CASE WHEN ((orders.o_orderpriority <> '1-URGENT'::bpchar) AND (orders.o_orderpriority <> '2-HIGH'::bpchar)) THEN 1 ELSE 0 END))"], "Workers Planned": 5, "Workers Launched": 5, "Plans": [{"Node Type": "Aggregate", "Strategy": "Sorted", "Partial Mode": "Partial", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 134637.2, "Total Cost": 134753.19, "Plan Rows": 7, "Plan Width": 27, "Actual Startup Time": 297.08, "Actual Total Time": 298.201, "Actual Rows": 2, "Actual Loops": 6, "Output": ["lineitem.l_shipmode", "PARTIAL sum(CASE WHEN ((orders.o_orderpriority = '1-URGENT'::bpchar) OR (orders.o_orderpriority = '2-HIGH'::bpchar)) THEN 1 ELSE 0 END)", "PARTIAL sum(CASE WHEN ((orders.o_orderpriority <> '1-URGENT'::bpchar) AND (orders.o_orderpriority <> '2-HIGH'::bpchar)) THEN 1 ELSE 0 END)"], "Group Key": ["lineitem.l_shipmode"], "Workers": [{"Worker Number": 0, "Actual Startup Time": 295.583, "Actual Total Time": 296.581, "Actual Rows": 2, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 295.639, "Actual Total Time": 296.633, "Actual Rows": 2, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 296.552, "Actual Total Time": 297.57, "Actual Rows": 2, "Actual Loops": 1}, {"Worker Number": 3, "Actual Startup Time": 296.514, "Actual Total Time": 297.529, "Actual Rows": 2, "Actual Loops": 1}, {"Worker Number": 4, "Actual Startup Time": 296.512, "Actual Total Time": 297.495, "Actual Rows": 2, "Actual Loops": 1}], "Plans": [{"Node Type": "Sort", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 134637.2, "Total Cost": 134651.69, "Plan Rows": 5796, "Plan Width": 27, "Actual Startup Time": 295.969, "Actual Total Time": 296.271, "Actual Rows": 5187, "Actual Loops": 6, "Output": ["lineitem.l_shipmode", "orders.o_orderpriority"], "Sort Key": ["lineitem.l_shipmode"], "Sort Method": "quicksort", "Sort Space Used": 745, "Sort Space Type": "Memory", "Workers": [{"Worker Number": 0, "Actual Startup Time": 294.62, "Actual Total Time": 294.884, "Actual Rows": 4560, "Actual Loops": 1, "Sort Method": "quicksort", "Sort Space Used": 513, "Sort Space Type": "Memory"}, {"Worker Number": 1, "Actual Startup Time": 294.649, "Actual Total Time": 294.919, "Actual Rows": 4609, "Actual Loops": 1, "Sort Method": "quicksort", "Sort Space Used": 517, "Sort Space Type": "Memory"}, {"Worker Number": 2, "Actual Startup Time": 295.519, "Actual Total Time": 295.793, "Actual Rows": 4776, "Actual Loops": 1, "Sort Method": "quicksort", "Sort Space Used": 528, "Sort Space Type": "Memory"}, {"Worker Number": 3, "Actual Startup Time": 295.519, "Actual Total Time": 295.787, "Actual Rows": 4688, "Actual Loops": 1, "Sort Method": "quicksort", "Sort Space Used": 522, "Sort Space Type": "Memory"}, {"Worker Number": 4, "Actual Startup Time": 295.498, "Actual Total Time": 295.767, "Actual Rows": 4635, "Actual Loops": 1, "Sort Method": "quicksort", "Sort Space Used": 518, "Sort Space Type": "Memory"}], "Plans": [{"Node Type": "Nested Loop", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Join Type": "Inner", "Startup Cost": 10059.64, "Total Cost": 134274.93, "Plan Rows": 5796, "Plan Width": 27, "Actual Startup Time": 115.892, "Actual Total Time": 294.292, "Actual Rows": 5187, "Actual Loops": 6, "Output": ["lineitem.l_shipmode", "orders.o_orderpriority"], "Inner Unique": true, "Workers": [{"Worker Number": 0, "Actual Startup Time": 114.582, "Actual Total Time": 293.077, "Actual Rows": 4560, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 114.71, "Actual Total Time": 293.1, "Actual Rows": 4609, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 115.506, "Actual Total Time": 293.908, "Actual Rows": 4776, "Actual Loops": 1}, {"Worker Number": 3, "Actual Startup Time": 115.593, "Actual Total Time": 293.954, "Actual Rows": 4688, "Actual Loops": 1}, {"Worker Number": 4, "Actual Startup Time": 115.659, "Actual Total Time": 293.943, "Actual Rows": 4635, "Actual Loops": 1}], "Plans": [{"Node Type": "Bitmap Heap Scan", "Parent Relationship": "Outer", "Parallel Aware": true, "Async Capable": false, "Relation Name": "lineitem", "Schema": "public", "Alias": "lineitem", "Startup Cost": 10059.21, "Total Cost": 126690.88, "Plan Rows": 5796, "Plan Width": 15, "Actual Startup Time": 115.84, "Actual Total Time": 263.771, "Actual Rows": 5187, "Actual Loops": 6, "Output": ["lineitem.l_orderkey", "lineitem.l_partkey", "lineitem.l_suppkey", "lineitem.l_linenumber", "lineitem.l_quantity", "lineitem.l_extendedprice", "lineitem.l_discount", "lineitem.l_tax", "lineitem.l_returnflag", "lineitem.l_linestatus", "lineitem.l_shipdate", "lineitem.l_commitdate", "lineitem.l_receiptdate", "lineitem.l_shipinstruct", "lineitem.l_shipmode", "lineitem.l_comment"], "Recheck Cond": "((lineitem.l_receiptdate >= '1995-01-01'::date) AND (lineitem.l_receiptdate < '1996-01-01 00:00:00'::timestamp without time zone))", "Rows Removed by Index Recheck": 0, "Filter": "((lineitem.l_shipmode = ANY ('{MAIL,TRUCK}'::bpchar[])) AND (lineitem.l_commitdate < lineitem.l_receiptdate) AND (lineitem.l_shipdate < lineitem.l_commitdate))", "Rows Removed by Filter": 147278, "Exact Heap Blocks": 26286, "Lossy Heap Blocks": 0, "Workers": [{"Worker Number": 0, "Actual Startup Time": 114.523, "Actual Total Time": 262.447, "Actual Rows": 4560, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 114.656, "Actual Total Time": 262.382, "Actual Rows": 4609, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 115.445, "Actual Total Time": 262.616, "Actual Rows": 4776, "Actual Loops": 1}, {"Worker Number": 3, "Actual Startup Time": 115.538, "Actual Total Time": 263.081, "Actual Rows": 4688, "Actual Loops": 1}, {"Worker Number": 4, "Actual Startup Time": 115.594, "Actual Total Time": 262.852, "Actual Rows": 4635, "Actual Loops": 1}], "Plans": [{"Node Type": "Bitmap Index Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Index Name": "l_rd", "Startup Cost": 0.0, "Total Cost": 10051.96, "Plan Rows": 917483, "Plan Width": 0, "Actual Startup Time": 85.323, "Actual Total Time": 85.323, "Actual Rows": 914792, "Actual Loops": 1, "Index Cond": "((lineitem.l_receiptdate >= '1995-01-01'::date) AND (lineitem.l_receiptdate < '1996-01-01 00:00:00'::timestamp without time zone))", "Workers": []}]}, {"Node Type": "Index Scan", "Parent Relationship": "Inner", "Parallel Aware": false, "Async Capable": false, "Scan Direction": "Forward", "Index Name": "o_ok", "Relation Name": "orders", "Schema": "public", "Alias": "orders", "Startup Cost": 0.43, "Total Cost": 1.31, "Plan Rows": 1, "Plan Width": 20, "Actual Startup Time": 0.005, "Actual Total Time": 0.005, "Actual Rows": 1, "Actual Loops": 31122, "Output": ["orders.o_orderkey", "orders.o_custkey", "orders.o_orderstatus", "orders.o_totalprice", "orders.o_orderdate", "orders.o_orderpriority", "orders.o_clerk", "orders.o_shippriority", "orders.o_comment"], "Index Cond": "(orders.o_orderkey = lineitem.l_orderkey)", "Rows Removed by Index Recheck": 0, "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.006, "Actual Total Time": 0.006, "Actual Rows": 1, "Actual Loops": 4560}, {"Worker Number": 1, "Actual Startup Time": 0.006, "Actual Total Time": 0.006, "Actual Rows": 1, "Actual Loops": 4609}, {"Worker Number": 2, "Actual Startup Time": 0.006, "Actual Total Time": 0.006, "Actual Rows": 1, "Actual Loops": 4776}, {"Worker Number": 3, "Actual Startup Time": 0.006, "Actual Total Time": 0.006, "Actual Rows": 1, "Actual Loops": 4688}, {"Worker Number": 4, "Actual Startup Time": 0.006, "Actual Total Time": 0.006, "Actual Rows": 1, "Actual Loops": 4635}]}]}]}]}]}]}, "Planning Time": 0.378, "Triggers": [], "Execution Time": 339.264} diff --git a/dev9/pg15/tpch/sf_1/explain_analyze/15721/13-1.ok b/dev9/pg15/tpch/sf_1/explain_analyze/15721/13-1.ok new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/dev9/pg15/tpch/sf_1/explain_analyze/15721/13-1.res b/dev9/pg15/tpch/sf_1/explain_analyze/15721/13-1.res new file mode 100644 index 0000000000000000000000000000000000000000..e8fdaa72e5b781d19791797411f124b0e05b2c31 --- /dev/null +++ b/dev9/pg15/tpch/sf_1/explain_analyze/15721/13-1.res @@ -0,0 +1 @@ +{"Plan": {"Node Type": "Sort", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 64439.71, "Total Cost": 64440.21, "Plan Rows": 200, "Plan Width": 16, "Actual Startup Time": 1609.47, "Actual Total Time": 1609.476, "Actual Rows": 42, "Actual Loops": 1, "Output": ["(count(orders.o_orderkey))", "(count(*))"], "Sort Key": ["(count(*)) DESC", "(count(orders.o_orderkey)) DESC"], "Sort Method": "quicksort", "Sort Space Used": 27, "Sort Space Type": "Memory", "Plans": [{"Node Type": "Aggregate", "Strategy": "Hashed", "Partial Mode": "Simple", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 64430.07, "Total Cost": 64432.07, "Plan Rows": 200, "Plan Width": 16, "Actual Startup Time": 1609.438, "Actual Total Time": 1609.447, "Actual Rows": 42, "Actual Loops": 1, "Output": ["(count(orders.o_orderkey))", "count(*)"], "Group Key": ["count(orders.o_orderkey)"], "Planned Partitions": 0, "HashAgg Batches": 1, "Peak Memory Usage": 40, "Disk Usage": 0, "Plans": [{"Node Type": "Aggregate", "Strategy": "Hashed", "Partial Mode": "Simple", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 60680.07, "Total Cost": 62180.07, "Plan Rows": 150000, "Plan Width": 12, "Actual Startup Time": 1554.048, "Actual Total Time": 1584.914, "Actual Rows": 150000, "Actual Loops": 1, "Output": ["customer.c_custkey", "count(orders.o_orderkey)"], "Group Key": ["customer.c_custkey"], "Planned Partitions": 0, "HashAgg Batches": 1, "Peak Memory Usage": 18449, "Disk Usage": 0, "Plans": [{"Node Type": "Hash Join", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Join Type": "Right", "Startup Cost": 4580.82, "Total Cost": 53300.31, "Plan Rows": 1475952, "Plan Width": 8, "Actual Startup Time": 38.419, "Actual Total Time": 1132.334, "Actual Rows": 1533817, "Actual Loops": 1, "Output": ["customer.c_custkey", "orders.o_orderkey"], "Inner Unique": true, "Hash Cond": "(orders.o_custkey = customer.c_custkey)", "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Relation Name": "orders", "Schema": "public", "Alias": "orders", "Startup Cost": 0.0, "Total Cost": 44845.0, "Plan Rows": 1475952, "Plan Width": 8, "Actual Startup Time": 0.01, "Actual Total Time": 679.49, "Actual Rows": 1483813, "Actual Loops": 1, "Output": ["orders.o_orderkey", "orders.o_custkey", "orders.o_orderstatus", "orders.o_totalprice", "orders.o_orderdate", "orders.o_orderpriority", "orders.o_clerk", "orders.o_shippriority", "orders.o_comment"], "Filter": "((orders.o_comment)::text !~~ '%unusual%requests%'::text)", "Rows Removed by Filter": 16187}, {"Node Type": "Hash", "Parent Relationship": "Inner", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 2705.82, "Total Cost": 2705.82, "Plan Rows": 150000, "Plan Width": 4, "Actual Startup Time": 38.106, "Actual Total Time": 38.107, "Actual Rows": 150000, "Actual Loops": 1, "Output": ["customer.c_custkey"], "Hash Buckets": 262144, "Original Hash Buckets": 262144, "Hash Batches": 1, "Original Hash Batches": 1, "Peak Memory Usage": 7322, "Plans": [{"Node Type": "Index Only Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Scan Direction": "Forward", "Index Name": "c_ck", "Relation Name": "customer", "Schema": "public", "Alias": "customer", "Startup Cost": 0.42, "Total Cost": 2705.82, "Plan Rows": 150000, "Plan Width": 4, "Actual Startup Time": 0.011, "Actual Total Time": 16.829, "Actual Rows": 150000, "Actual Loops": 1, "Output": ["customer.c_custkey"], "Heap Fetches": 0}]}]}]}]}]}, "Planning Time": 0.519, "Triggers": [], "Execution Time": 1610.467} diff --git a/dev9/pg15/tpch/sf_1/explain_analyze/15721/14-1.ok b/dev9/pg15/tpch/sf_1/explain_analyze/15721/14-1.ok new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/dev9/pg15/tpch/sf_1/explain_analyze/15721/14-1.res b/dev9/pg15/tpch/sf_1/explain_analyze/15721/14-1.res new file mode 100644 index 0000000000000000000000000000000000000000..223a964b318fbb9b5151d3fe8cb69f2e122beaf7 --- /dev/null +++ b/dev9/pg15/tpch/sf_1/explain_analyze/15721/14-1.res @@ -0,0 +1 @@ +{"Plan": {"Node Type": "Aggregate", "Strategy": "Plain", "Partial Mode": "Finalize", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 66720.83, "Total Cost": 66720.84, "Plan Rows": 1, "Plan Width": 32, "Actual Startup Time": 118.237, "Actual Total Time": 136.087, "Actual Rows": 1, "Actual Loops": 1, "Output": ["((100.00 * sum(CASE WHEN ((part.p_type)::text ~~ 'PROMO%'::text) THEN (lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount)) ELSE '0'::numeric END)) / sum((lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount))))"], "Plans": [{"Node Type": "Gather", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 66720.37, "Total Cost": 66720.78, "Plan Rows": 4, "Plan Width": 64, "Actual Startup Time": 115.439, "Actual Total Time": 136.066, "Actual Rows": 5, "Actual Loops": 1, "Output": ["(PARTIAL sum(CASE WHEN ((part.p_type)::text ~~ 'PROMO%'::text) THEN (lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount)) ELSE '0'::numeric END))", "(PARTIAL sum((lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount))))"], "Workers Planned": 4, "Workers Launched": 4, "Single Copy": false, "Plans": [{"Node Type": "Aggregate", "Strategy": "Plain", "Partial Mode": "Partial", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 65720.37, "Total Cost": 65720.38, "Plan Rows": 1, "Plan Width": 64, "Actual Startup Time": 111.73, "Actual Total Time": 111.734, "Actual Rows": 1, "Actual Loops": 5, "Output": ["PARTIAL sum(CASE WHEN ((part.p_type)::text ~~ 'PROMO%'::text) THEN (lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount)) ELSE '0'::numeric END)", "PARTIAL sum((lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount)))"], "Workers": [{"Worker Number": 0, "Actual Startup Time": 110.927, "Actual Total Time": 110.93, "Actual Rows": 1, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 110.873, "Actual Total Time": 110.878, "Actual Rows": 1, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 110.876, "Actual Total Time": 110.881, "Actual Rows": 1, "Actual Loops": 1}, {"Worker Number": 3, "Actual Startup Time": 110.913, "Actual Total Time": 110.917, "Actual Rows": 1, "Actual Loops": 1}], "Plans": [{"Node Type": "Hash Join", "Parent Relationship": "Outer", "Parallel Aware": true, "Async Capable": false, "Join Type": "Inner", "Startup Cost": 6819.99, "Total Cost": 65389.58, "Plan Rows": 18902, "Plan Width": 33, "Actual Startup Time": 51.61, "Actual Total Time": 102.517, "Actual Rows": 15580, "Actual Loops": 5, "Output": ["part.p_type", "lineitem.l_extendedprice", "lineitem.l_discount"], "Inner Unique": true, "Hash Cond": "(lineitem.l_partkey = part.p_partkey)", "Workers": [{"Worker Number": 0, "Actual Startup Time": 50.78, "Actual Total Time": 103.333, "Actual Rows": 12511, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 50.929, "Actual Total Time": 103.085, "Actual Rows": 12810, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 50.928, "Actual Total Time": 103.148, "Actual Rows": 12889, "Actual Loops": 1}, {"Worker Number": 3, "Actual Startup Time": 50.974, "Actual Total Time": 103.242, "Actual Rows": 12693, "Actual Loops": 1}], "Plans": [{"Node Type": "Bitmap Heap Scan", "Parent Relationship": "Outer", "Parallel Aware": true, "Async Capable": false, "Relation Name": "lineitem", "Schema": "public", "Alias": "lineitem", "Startup Cost": 847.99, "Total Cost": 59367.97, "Plan Rows": 18902, "Plan Width": 16, "Actual Startup Time": 22.779, "Actual Total Time": 65.398, "Actual Rows": 15580, "Actual Loops": 5, "Output": ["lineitem.l_orderkey", "lineitem.l_partkey", "lineitem.l_suppkey", "lineitem.l_linenumber", "lineitem.l_quantity", "lineitem.l_extendedprice", "lineitem.l_discount", "lineitem.l_tax", "lineitem.l_returnflag", "lineitem.l_linestatus", "lineitem.l_shipdate", "lineitem.l_commitdate", "lineitem.l_receiptdate", "lineitem.l_shipinstruct", "lineitem.l_shipmode", "lineitem.l_comment"], "Recheck Cond": "((lineitem.l_shipdate >= '1995-05-01'::date) AND (lineitem.l_shipdate < '1995-06-01 00:00:00'::timestamp without time zone))", "Rows Removed by Index Recheck": 0, "Exact Heap Blocks": 14476, "Lossy Heap Blocks": 0, "Workers": [{"Worker Number": 0, "Actual Startup Time": 22.905, "Actual Total Time": 68.279, "Actual Rows": 12511, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 22.911, "Actual Total Time": 68.017, "Actual Rows": 12810, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 22.91, "Actual Total Time": 68.063, "Actual Rows": 12889, "Actual Loops": 1}, {"Worker Number": 3, "Actual Startup Time": 22.923, "Actual Total Time": 68.157, "Actual Rows": 12693, "Actual Loops": 1}], "Plans": [{"Node Type": "Bitmap Index Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Index Name": "l_sd", "Startup Cost": 0.0, "Total Cost": 829.09, "Plan Rows": 75606, "Plan Width": 0, "Actual Startup Time": 10.431, "Actual Total Time": 10.431, "Actual Rows": 77900, "Actual Loops": 1, "Index Cond": "((lineitem.l_shipdate >= '1995-05-01'::date) AND (lineitem.l_shipdate < '1995-06-01 00:00:00'::timestamp without time zone))", "Workers": []}]}, {"Node Type": "Hash", "Parent Relationship": "Inner", "Parallel Aware": true, "Async Capable": false, "Startup Cost": 4930.33, "Total Cost": 4930.33, "Plan Rows": 83333, "Plan Width": 25, "Actual Startup Time": 28.291, "Actual Total Time": 28.292, "Actual Rows": 40000, "Actual Loops": 5, "Output": ["part.p_type", "part.p_partkey"], "Hash Buckets": 262144, "Original Hash Buckets": 262144, "Hash Batches": 1, "Original Hash Batches": 1, "Peak Memory Usage": 14208, "Workers": [{"Worker Number": 0, "Actual Startup Time": 27.736, "Actual Total Time": 27.736, "Actual Rows": 36820, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 27.866, "Actual Total Time": 27.867, "Actual Rows": 37141, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 27.868, "Actual Total Time": 27.869, "Actual Rows": 36999, "Actual Loops": 1}, {"Worker Number": 3, "Actual Startup Time": 27.904, "Actual Total Time": 27.906, "Actual Rows": 37346, "Actual Loops": 1}], "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": true, "Async Capable": false, "Relation Name": "part", "Schema": "public", "Alias": "part", "Startup Cost": 0.0, "Total Cost": 4930.33, "Plan Rows": 83333, "Plan Width": 25, "Actual Startup Time": 0.015, "Actual Total Time": 11.303, "Actual Rows": 40000, "Actual Loops": 5, "Output": ["part.p_type", "part.p_partkey"], "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.017, "Actual Total Time": 11.438, "Actual Rows": 36820, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 0.017, "Actual Total Time": 11.372, "Actual Rows": 37141, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 0.017, "Actual Total Time": 11.375, "Actual Rows": 36999, "Actual Loops": 1}, {"Worker Number": 3, "Actual Startup Time": 0.021, "Actual Total Time": 11.553, "Actual Rows": 37346, "Actual Loops": 1}]}]}]}]}]}]}, "Planning Time": 0.317, "Triggers": [], "Execution Time": 136.134} diff --git a/dev9/pg15/tpch/sf_1/explain_analyze/15721/15-1.ok b/dev9/pg15/tpch/sf_1/explain_analyze/15721/15-1.ok new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/dev9/pg15/tpch/sf_1/explain_analyze/15721/15-1.res b/dev9/pg15/tpch/sf_1/explain_analyze/15721/15-1.res new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/dev9/pg15/tpch/sf_1/explain_analyze/15721/15-2.ok b/dev9/pg15/tpch/sf_1/explain_analyze/15721/15-2.ok new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/dev9/pg15/tpch/sf_1/explain_analyze/15721/15-2.res b/dev9/pg15/tpch/sf_1/explain_analyze/15721/15-2.res new file mode 100644 index 0000000000000000000000000000000000000000..9606da0c3d3548ed7bdbea763a4459ae0e4f97d0 --- /dev/null +++ b/dev9/pg15/tpch/sf_1/explain_analyze/15721/15-2.res @@ -0,0 +1 @@ +{"Plan": {"Node Type": "Merge Join", "Parallel Aware": false, "Async Capable": false, "Join Type": "Inner", "Startup Cost": 241753.76, "Total Cost": 242184.61, "Plan Rows": 50, "Plan Width": 103, "Actual Startup Time": 613.916, "Actual Total Time": 613.921, "Actual Rows": 1, "Actual Loops": 1, "Output": ["supplier.s_suppkey", "supplier.s_name", "supplier.s_address", "supplier.s_phone", "revenue0.total_revenue"], "Inner Unique": true, "Merge Cond": "(supplier.s_suppkey = revenue0.supplier_no)", "Plans": [{"Node Type": "Aggregate", "Strategy": "Plain", "Partial Mode": "Simple", "Parent Relationship": "InitPlan", "Subplan Name": "InitPlan 1 (returns $0)", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 120925.78, "Total Cost": 120925.79, "Plan Rows": 1, "Plan Width": 32, "Actual Startup Time": 304.63, "Actual Total Time": 304.631, "Actual Rows": 1, "Actual Loops": 1, "Output": ["max((sum((lineitem_1.l_extendedprice * ('1'::numeric - lineitem_1.l_discount)))))"], "Plans": [{"Node Type": "Aggregate", "Strategy": "Hashed", "Partial Mode": "Simple", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 120675.78, "Total Cost": 120800.78, "Plan Rows": 10000, "Plan Width": 36, "Actual Startup Time": 300.093, "Actual Total Time": 303.661, "Actual Rows": 10000, "Actual Loops": 1, "Output": ["lineitem_1.l_suppkey", "sum((lineitem_1.l_extendedprice * ('1'::numeric - lineitem_1.l_discount)))"], "Group Key": ["lineitem_1.l_suppkey"], "Planned Partitions": 0, "HashAgg Batches": 1, "Peak Memory Usage": 4497, "Disk Usage": 0, "Plans": [{"Node Type": "Bitmap Heap Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Relation Name": "lineitem", "Schema": "public", "Alias": "lineitem_1", "Startup Cost": 2530.48, "Total Cost": 118418.86, "Plan Rows": 225692, "Plan Width": 16, "Actual Startup Time": 36.335, "Actual Total Time": 145.674, "Actual Rows": 225253, "Actual Loops": 1, "Output": ["lineitem_1.l_orderkey", "lineitem_1.l_partkey", "lineitem_1.l_suppkey", "lineitem_1.l_linenumber", "lineitem_1.l_quantity", "lineitem_1.l_extendedprice", "lineitem_1.l_discount", "lineitem_1.l_tax", "lineitem_1.l_returnflag", "lineitem_1.l_linestatus", "lineitem_1.l_shipdate", "lineitem_1.l_commitdate", "lineitem_1.l_receiptdate", "lineitem_1.l_shipinstruct", "lineitem_1.l_shipmode", "lineitem_1.l_comment"], "Recheck Cond": "((lineitem_1.l_shipdate >= '1995-01-01'::date) AND (lineitem_1.l_shipdate < '1995-04-01 00:00:00'::timestamp without time zone))", "Rows Removed by Index Recheck": 0, "Exact Heap Blocks": 66731, "Lossy Heap Blocks": 0, "Plans": [{"Node Type": "Bitmap Index Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Index Name": "l_sd", "Startup Cost": 0.0, "Total Cost": 2474.05, "Plan Rows": 225692, "Plan Width": 0, "Actual Startup Time": 17.998, "Actual Total Time": 17.998, "Actual Rows": 225253, "Actual Loops": 1, "Index Cond": "((lineitem_1.l_shipdate >= '1995-01-01'::date) AND (lineitem_1.l_shipdate < '1995-04-01 00:00:00'::timestamp without time zone))"}]}]}]}, {"Node Type": "Index Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Scan Direction": "Forward", "Index Name": "s_sk", "Relation Name": "supplier", "Schema": "public", "Alias": "supplier", "Startup Cost": 0.29, "Total Cost": 405.39, "Plan Rows": 10000, "Plan Width": 71, "Actual Startup Time": 0.011, "Actual Total Time": 2.111, "Actual Rows": 9493, "Actual Loops": 1, "Output": ["supplier.s_suppkey", "supplier.s_name", "supplier.s_address", "supplier.s_nationkey", "supplier.s_phone", "supplier.s_acctbal", "supplier.s_comment"]}, {"Node Type": "Sort", "Parent Relationship": "Inner", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 120827.69, "Total Cost": 120827.81, "Plan Rows": 50, "Plan Width": 36, "Actual Startup Time": 610.976, "Actual Total Time": 610.977, "Actual Rows": 1, "Actual Loops": 1, "Output": ["revenue0.total_revenue", "revenue0.supplier_no"], "Sort Key": ["revenue0.supplier_no"], "Sort Method": "quicksort", "Sort Space Used": 25, "Sort Space Type": "Memory", "Plans": [{"Node Type": "Subquery Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Alias": "revenue0", "Startup Cost": 120675.78, "Total Cost": 120826.28, "Plan Rows": 50, "Plan Width": 36, "Actual Startup Time": 606.473, "Actual Total Time": 610.971, "Actual Rows": 1, "Actual Loops": 1, "Output": ["revenue0.total_revenue", "revenue0.supplier_no"], "Plans": [{"Node Type": "Aggregate", "Strategy": "Hashed", "Partial Mode": "Simple", "Parent Relationship": "Subquery", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 120675.78, "Total Cost": 120825.78, "Plan Rows": 50, "Plan Width": 36, "Actual Startup Time": 606.471, "Actual Total Time": 610.969, "Actual Rows": 1, "Actual Loops": 1, "Output": ["lineitem.l_suppkey", "sum((lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount)))"], "Group Key": ["lineitem.l_suppkey"], "Filter": "(sum((lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount))) = $0)", "Planned Partitions": 0, "HashAgg Batches": 1, "Peak Memory Usage": 4497, "Disk Usage": 0, "Rows Removed by Filter": 9999, "Plans": [{"Node Type": "Bitmap Heap Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Relation Name": "lineitem", "Schema": "public", "Alias": "lineitem", "Startup Cost": 2530.48, "Total Cost": 118418.86, "Plan Rows": 225692, "Plan Width": 16, "Actual Startup Time": 37.018, "Actual Total Time": 148.334, "Actual Rows": 225253, "Actual Loops": 1, "Output": ["lineitem.l_orderkey", "lineitem.l_partkey", "lineitem.l_suppkey", "lineitem.l_linenumber", "lineitem.l_quantity", "lineitem.l_extendedprice", "lineitem.l_discount", "lineitem.l_tax", "lineitem.l_returnflag", "lineitem.l_linestatus", "lineitem.l_shipdate", "lineitem.l_commitdate", "lineitem.l_receiptdate", "lineitem.l_shipinstruct", "lineitem.l_shipmode", "lineitem.l_comment"], "Recheck Cond": "((lineitem.l_shipdate >= '1995-01-01'::date) AND (lineitem.l_shipdate < '1995-04-01 00:00:00'::timestamp without time zone))", "Rows Removed by Index Recheck": 0, "Exact Heap Blocks": 66731, "Lossy Heap Blocks": 0, "Plans": [{"Node Type": "Bitmap Index Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Index Name": "l_sd", "Startup Cost": 0.0, "Total Cost": 2474.05, "Plan Rows": 225692, "Plan Width": 0, "Actual Startup Time": 18.676, "Actual Total Time": 18.676, "Actual Rows": 225253, "Actual Loops": 1, "Index Cond": "((lineitem.l_shipdate >= '1995-01-01'::date) AND (lineitem.l_shipdate < '1995-04-01 00:00:00'::timestamp without time zone))"}]}]}]}]}]}, "Planning Time": 0.377, "Triggers": [], "Execution Time": 614.112} diff --git a/dev9/pg15/tpch/sf_1/explain_analyze/15721/15-3.ok b/dev9/pg15/tpch/sf_1/explain_analyze/15721/15-3.ok new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/dev9/pg15/tpch/sf_1/explain_analyze/15721/15-3.res b/dev9/pg15/tpch/sf_1/explain_analyze/15721/15-3.res new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/dev9/pg15/tpch/sf_1/explain_analyze/15721/16-1.ok b/dev9/pg15/tpch/sf_1/explain_analyze/15721/16-1.ok new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/dev9/pg15/tpch/sf_1/explain_analyze/15721/16-1.res b/dev9/pg15/tpch/sf_1/explain_analyze/15721/16-1.res new file mode 100644 index 0000000000000000000000000000000000000000..c367b0fe39b41681f536831d103f7aba8a477e77 --- /dev/null +++ b/dev9/pg15/tpch/sf_1/explain_analyze/15721/16-1.res @@ -0,0 +1 @@ +{"Plan": {"Node Type": "Sort", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 26865.98, "Total Cost": 26905.95, "Plan Rows": 15988, "Plan Width": 44, "Actual Startup Time": 337.283, "Actual Total Time": 339.028, "Actual Rows": 18263, "Actual Loops": 1, "Output": ["part.p_brand", "part.p_type", "part.p_size", "(count(DISTINCT partsupp.ps_suppkey))"], "Sort Key": ["(count(DISTINCT partsupp.ps_suppkey)) DESC", "part.p_brand", "part.p_type", "part.p_size"], "Sort Method": "quicksort", "Sort Space Used": 2337, "Sort Space Type": "Memory", "Plans": [{"Node Type": "Aggregate", "Strategy": "Sorted", "Partial Mode": "Simple", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 17888.71, "Total Cost": 25749.64, "Plan Rows": 15988, "Plan Width": 44, "Actual Startup Time": 158.955, "Actual Total Time": 270.062, "Actual Rows": 18263, "Actual Loops": 1, "Output": ["part.p_brand", "part.p_type", "part.p_size", "count(DISTINCT partsupp.ps_suppkey)"], "Group Key": ["part.p_brand", "part.p_type", "part.p_size"], "Plans": [{"Node Type": "Gather Merge", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 17888.71, "Total Cost": 24996.16, "Plan Rows": 59360, "Plan Width": 40, "Actual Startup Time": 158.933, "Actual Total Time": 221.267, "Actual Rows": 119250, "Actual Loops": 1, "Output": ["part.p_brand", "part.p_type", "part.p_size", "partsupp.ps_suppkey"], "Workers Planned": 4, "Workers Launched": 4, "Plans": [{"Node Type": "Sort", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 16888.65, "Total Cost": 16925.75, "Plan Rows": 14840, "Plan Width": 40, "Actual Startup Time": 151.925, "Actual Total Time": 153.918, "Actual Rows": 23850, "Actual Loops": 5, "Output": ["part.p_brand", "part.p_type", "part.p_size", "partsupp.ps_suppkey"], "Sort Key": ["part.p_brand", "part.p_type", "part.p_size"], "Sort Method": "quicksort", "Sort Space Used": 2805, "Sort Space Type": "Memory", "Workers": [{"Worker Number": 0, "Actual Startup Time": 151.087, "Actual Total Time": 153.147, "Actual Rows": 23902, "Actual Loops": 1, "Sort Method": "quicksort", "Sort Space Used": 2734, "Sort Space Type": "Memory"}, {"Worker Number": 1, "Actual Startup Time": 151.318, "Actual Total Time": 153.386, "Actual Rows": 23960, "Actual Loops": 1, "Sort Method": "quicksort", "Sort Space Used": 2739, "Sort Space Type": "Memory"}, {"Worker Number": 2, "Actual Startup Time": 149.511, "Actual Total Time": 151.477, "Actual Rows": 23417, "Actual Loops": 1, "Sort Method": "quicksort", "Sort Space Used": 2695, "Sort Space Type": "Memory"}, {"Worker Number": 3, "Actual Startup Time": 149.173, "Actual Total Time": 151.195, "Actual Rows": 23202, "Actual Loops": 1, "Sort Method": "quicksort", "Sort Space Used": 2677, "Sort Space Type": "Memory"}], "Plans": [{"Node Type": "Hash Join", "Parent Relationship": "Outer", "Parallel Aware": true, "Async Capable": false, "Join Type": "Inner", "Startup Cost": 6682.35, "Total Cost": 15860.45, "Plan Rows": 14840, "Plan Width": 40, "Actual Startup Time": 22.473, "Actual Total Time": 81.319, "Actual Rows": 23850, "Actual Loops": 5, "Output": ["part.p_brand", "part.p_type", "part.p_size", "partsupp.ps_suppkey"], "Inner Unique": true, "Hash Cond": "(partsupp.ps_partkey = part.p_partkey)", "Workers": [{"Worker Number": 0, "Actual Startup Time": 21.599, "Actual Total Time": 80.224, "Actual Rows": 23902, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 21.701, "Actual Total Time": 80.231, "Actual Rows": 23960, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 21.758, "Actual Total Time": 80.375, "Actual Rows": 23417, "Actual Loops": 1}, {"Worker Number": 3, "Actual Startup Time": 21.75, "Actual Total Time": 80.496, "Actual Rows": 23202, "Actual Loops": 1}], "Plans": [{"Node Type": "Index Only Scan", "Parent Relationship": "Outer", "Parallel Aware": true, "Async Capable": false, "Scan Direction": "Forward", "Index Name": "ps_pk_sk", "Relation Name": "partsupp", "Schema": "public", "Alias": "partsupp", "Startup Cost": 347.43, "Total Cost": 9263.03, "Plan Rows": 100000, "Plan Width": 8, "Actual Startup Time": 3.656, "Actual Total Time": 39.88, "Actual Rows": 159936, "Actual Loops": 5, "Output": ["partsupp.ps_partkey", "partsupp.ps_suppkey"], "Filter": "(NOT (hashed SubPlan 1))", "Rows Removed by Filter": 64, "Heap Fetches": 0, "Workers": [{"Worker Number": 0, "Actual Startup Time": 3.72, "Actual Total Time": 39.947, "Actual Rows": 157681, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 3.707, "Actual Total Time": 39.854, "Actual Rows": 158422, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 3.717, "Actual Total Time": 40.071, "Actual Rows": 159149, "Actual Loops": 1}, {"Worker Number": 3, "Actual Startup Time": 3.712, "Actual Total Time": 40.156, "Actual Rows": 158707, "Actual Loops": 1}], "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "SubPlan", "Subplan Name": "SubPlan 1", "Parallel Aware": false, "Async Capable": false, "Relation Name": "supplier", "Schema": "public", "Alias": "supplier", "Startup Cost": 0.0, "Total Cost": 347.0, "Plan Rows": 1, "Plan Width": 4, "Actual Startup Time": 0.143, "Actual Total Time": 3.573, "Actual Rows": 4, "Actual Loops": 5, "Output": ["supplier.s_suppkey"], "Filter": "((supplier.s_comment)::text ~~ '%Customer%Complaints%'::text)", "Rows Removed by Filter": 9996, "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.136, "Actual Total Time": 3.611, "Actual Rows": 4, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 0.158, "Actual Total Time": 3.644, "Actual Rows": 4, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 0.143, "Actual Total Time": 3.587, "Actual Rows": 4, "Actual Loops": 1}, {"Worker Number": 3, "Actual Startup Time": 0.146, "Actual Total Time": 3.626, "Actual Rows": 4, "Actual Loops": 1}]}]}, {"Node Type": "Hash", "Parent Relationship": "Inner", "Parallel Aware": true, "Async Capable": false, "Startup Cost": 6180.33, "Total Cost": 6180.33, "Plan Rows": 12367, "Plan Width": 40, "Actual Startup Time": 18.621, "Actual Total Time": 18.622, "Actual Rows": 5965, "Actual Loops": 5, "Output": ["part.p_brand", "part.p_type", "part.p_size", "part.p_partkey"], "Hash Buckets": 32768, "Original Hash Buckets": 32768, "Hash Batches": 1, "Original Hash Batches": 1, "Peak Memory Usage": 2560, "Workers": [{"Worker Number": 0, "Actual Startup Time": 17.761, "Actual Total Time": 17.762, "Actual Rows": 5559, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 17.907, "Actual Total Time": 17.907, "Actual Rows": 5298, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 17.911, "Actual Total Time": 17.911, "Actual Rows": 5254, "Actual Loops": 1}, {"Worker Number": 3, "Actual Startup Time": 17.956, "Actual Total Time": 17.957, "Actual Rows": 5197, "Actual Loops": 1}], "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": true, "Async Capable": false, "Relation Name": "part", "Schema": "public", "Alias": "part", "Startup Cost": 0.0, "Total Cost": 6180.33, "Plan Rows": 12367, "Plan Width": 40, "Actual Startup Time": 0.023, "Actual Total Time": 16.262, "Actual Rows": 5965, "Actual Loops": 5, "Output": ["part.p_brand", "part.p_type", "part.p_size", "part.p_partkey"], "Filter": "((part.p_brand <> 'Brand#11'::bpchar) AND ((part.p_type)::text !~~ 'ECONOMY ANODIZED%'::text) AND (part.p_size = ANY ('{42,16,39,18,23,32,44,41}'::integer[])))", "Rows Removed by Filter": 34035, "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.028, "Actual Total Time": 16.018, "Actual Rows": 5559, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 0.028, "Actual Total Time": 15.453, "Actual Rows": 5298, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 0.026, "Actual Total Time": 15.557, "Actual Rows": 5254, "Actual Loops": 1}, {"Worker Number": 3, "Actual Startup Time": 0.022, "Actual Total Time": 15.544, "Actual Rows": 5197, "Actual Loops": 1}]}]}]}]}]}]}]}, "Planning Time": 0.578, "Triggers": [], "Execution Time": 339.928} diff --git a/dev9/pg15/tpch/sf_1/explain_analyze/15721/17-1.ok b/dev9/pg15/tpch/sf_1/explain_analyze/15721/17-1.ok new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/dev9/pg15/tpch/sf_1/explain_analyze/15721/17-1.res b/dev9/pg15/tpch/sf_1/explain_analyze/15721/17-1.res new file mode 100644 index 0000000000000000000000000000000000000000..8309b1f3ec764238bec08b51e770b719f6cdbec6 --- /dev/null +++ b/dev9/pg15/tpch/sf_1/explain_analyze/15721/17-1.res @@ -0,0 +1 @@ +{"Plan": {"Node Type": "Aggregate", "Strategy": "Plain", "Partial Mode": "Simple", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 195004.96, "Total Cost": 195004.98, "Plan Rows": 1, "Plan Width": 32, "Actual Startup Time": 1547.881, "Actual Total Time": 1547.956, "Actual Rows": 1, "Actual Loops": 1, "Output": ["(sum(lineitem.l_extendedprice) / 7.0)"], "Plans": [{"Node Type": "Hash Join", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Join Type": "Inner", "Startup Cost": 6368.94, "Total Cost": 195000.09, "Plan Rows": 1950, "Plan Width": 8, "Actual Startup Time": 20.288, "Actual Total Time": 1547.774, "Actual Rows": 588, "Actual Loops": 1, "Output": ["lineitem.l_extendedprice"], "Inner Unique": true, "Hash Cond": "(lineitem.l_partkey = part.p_partkey)", "Join Filter": "(lineitem.l_quantity < (SubPlan 1))", "Rows Removed by Join Filter": 6005, "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Relation Name": "lineitem", "Schema": "public", "Alias": "lineitem", "Startup Cost": 0.0, "Total Cost": 172515.15, "Plan Rows": 6001215, "Plan Width": 17, "Actual Startup Time": 0.004, "Actual Total Time": 480.551, "Actual Rows": 6001215, "Actual Loops": 1, "Output": ["lineitem.l_orderkey", "lineitem.l_partkey", "lineitem.l_suppkey", "lineitem.l_linenumber", "lineitem.l_quantity", "lineitem.l_extendedprice", "lineitem.l_discount", "lineitem.l_tax", "lineitem.l_returnflag", "lineitem.l_linestatus", "lineitem.l_shipdate", "lineitem.l_commitdate", "lineitem.l_receiptdate", "lineitem.l_shipinstruct", "lineitem.l_shipmode", "lineitem.l_comment"]}, {"Node Type": "Hash", "Parent Relationship": "Inner", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 6366.5, "Total Cost": 6366.5, "Plan Rows": 195, "Plan Width": 4, "Actual Startup Time": 17.797, "Actual Total Time": 17.871, "Actual Rows": 222, "Actual Loops": 1, "Output": ["part.p_partkey"], "Hash Buckets": 1024, "Original Hash Buckets": 1024, "Hash Batches": 1, "Original Hash Batches": 1, "Peak Memory Usage": 16, "Plans": [{"Node Type": "Gather", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 1000.0, "Total Cost": 6366.5, "Plan Rows": 195, "Plan Width": 4, "Actual Startup Time": 0.598, "Actual Total Time": 17.837, "Actual Rows": 222, "Actual Loops": 1, "Output": ["part.p_partkey"], "Workers Planned": 2, "Workers Launched": 2, "Single Copy": false, "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": true, "Async Capable": false, "Relation Name": "part", "Schema": "public", "Alias": "part", "Startup Cost": 0.0, "Total Cost": 5347.0, "Plan Rows": 81, "Plan Width": 4, "Actual Startup Time": 0.347, "Actual Total Time": 15.338, "Actual Rows": 74, "Actual Loops": 3, "Output": ["part.p_partkey"], "Filter": "((part.p_brand = 'Brand#14'::bpchar) AND (part.p_container = 'WRAP BOX'::bpchar))", "Rows Removed by Filter": 66593, "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.567, "Actual Total Time": 14.109, "Actual Rows": 61, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 0.063, "Actual Total Time": 14.372, "Actual Rows": 67, "Actual Loops": 1}]}]}]}, {"Node Type": "Aggregate", "Strategy": "Plain", "Partial Mode": "Simple", "Parent Relationship": "SubPlan", "Subplan Name": "SubPlan 1", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 36.25, "Total Cost": 36.27, "Plan Rows": 1, "Plan Width": 32, "Actual Startup Time": 0.029, "Actual Total Time": 0.029, "Actual Rows": 1, "Actual Loops": 6593, "Output": ["(0.2 * avg(lineitem_1.l_quantity))"], "Plans": [{"Node Type": "Index Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Scan Direction": "Forward", "Index Name": "l_pk", "Relation Name": "lineitem", "Schema": "public", "Alias": "lineitem_1", "Startup Cost": 0.43, "Total Cost": 36.17, "Plan Rows": 31, "Plan Width": 5, "Actual Startup Time": 0.003, "Actual Total Time": 0.022, "Actual Rows": 31, "Actual Loops": 6593, "Output": ["lineitem_1.l_orderkey", "lineitem_1.l_partkey", "lineitem_1.l_suppkey", "lineitem_1.l_linenumber", "lineitem_1.l_quantity", "lineitem_1.l_extendedprice", "lineitem_1.l_discount", "lineitem_1.l_tax", "lineitem_1.l_returnflag", "lineitem_1.l_linestatus", "lineitem_1.l_shipdate", "lineitem_1.l_commitdate", "lineitem_1.l_receiptdate", "lineitem_1.l_shipinstruct", "lineitem_1.l_shipmode", "lineitem_1.l_comment"], "Index Cond": "(lineitem_1.l_partkey = part.p_partkey)", "Rows Removed by Index Recheck": 0}]}]}]}, "Planning Time": 0.361, "Triggers": [], "Execution Time": 1547.995} diff --git a/dev9/pg15/tpch/sf_1/explain_analyze/15721/18-1.ok b/dev9/pg15/tpch/sf_1/explain_analyze/15721/18-1.ok new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/dev9/pg15/tpch/sf_1/explain_analyze/15721/18-1.res b/dev9/pg15/tpch/sf_1/explain_analyze/15721/18-1.res new file mode 100644 index 0000000000000000000000000000000000000000..639862059faf8533f26aee77a5372b8784f9b806 --- /dev/null +++ b/dev9/pg15/tpch/sf_1/explain_analyze/15721/18-1.res @@ -0,0 +1 @@ +{"Plan": {"Node Type": "Limit", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 727065.97, "Total Cost": 727066.22, "Plan Rows": 100, "Plan Width": 71, "Actual Startup Time": 4858.721, "Actual Total Time": 4858.728, "Actual Rows": 9, "Actual Loops": 1, "Output": ["customer.c_name", "customer.c_custkey", "orders.o_orderkey", "orders.o_orderdate", "orders.o_totalprice", "(sum(lineitem.l_quantity))"], "Plans": [{"Node Type": "Sort", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 727065.97, "Total Cost": 731131.31, "Plan Rows": 1626137, "Plan Width": 71, "Actual Startup Time": 4858.719, "Actual Total Time": 4858.725, "Actual Rows": 9, "Actual Loops": 1, "Output": ["customer.c_name", "customer.c_custkey", "orders.o_orderkey", "orders.o_orderdate", "orders.o_totalprice", "(sum(lineitem.l_quantity))"], "Sort Key": ["orders.o_totalprice DESC", "orders.o_orderdate"], "Sort Method": "quicksort", "Sort Space Used": 25, "Sort Space Type": "Memory", "Plans": [{"Node Type": "Aggregate", "Strategy": "Hashed", "Partial Mode": "Simple", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 616005.03, "Total Cost": 664916.18, "Plan Rows": 1626137, "Plan Width": 71, "Actual Startup Time": 4858.35, "Actual Total Time": 4858.709, "Actual Rows": 9, "Actual Loops": 1, "Output": ["customer.c_name", "customer.c_custkey", "orders.o_orderkey", "orders.o_orderdate", "orders.o_totalprice", "sum(lineitem.l_quantity)"], "Group Key": ["customer.c_custkey", "orders.o_orderkey"], "Planned Partitions": 16, "HashAgg Batches": 1, "Peak Memory Usage": 3097, "Disk Usage": 0, "Plans": [{"Node Type": "Hash Join", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Join Type": "Inner", "Startup Cost": 328562.3, "Total Cost": 539843.38, "Plan Rows": 1626137, "Plan Width": 44, "Actual Startup Time": 3771.314, "Actual Total Time": 4858.3, "Actual Rows": 63, "Actual Loops": 1, "Output": ["customer.c_custkey", "orders.o_orderkey", "customer.c_name", "orders.o_orderdate", "orders.o_totalprice", "lineitem.l_quantity"], "Inner Unique": false, "Hash Cond": "(lineitem.l_orderkey = orders.o_orderkey)", "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Relation Name": "lineitem", "Schema": "public", "Alias": "lineitem", "Startup Cost": 0.0, "Total Cost": 172515.15, "Plan Rows": 6001215, "Plan Width": 9, "Actual Startup Time": 0.004, "Actual Total Time": 490.136, "Actual Rows": 6001215, "Actual Loops": 1, "Output": ["lineitem.l_orderkey", "lineitem.l_partkey", "lineitem.l_suppkey", "lineitem.l_linenumber", "lineitem.l_quantity", "lineitem.l_extendedprice", "lineitem.l_discount", "lineitem.l_tax", "lineitem.l_returnflag", "lineitem.l_linestatus", "lineitem.l_shipdate", "lineitem.l_commitdate", "lineitem.l_receiptdate", "lineitem.l_shipinstruct", "lineitem.l_shipmode", "lineitem.l_comment"]}, {"Node Type": "Hash", "Parent Relationship": "Inner", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 323481.65, "Total Cost": 323481.65, "Plan Rows": 406452, "Plan Width": 43, "Actual Startup Time": 3471.566, "Actual Total Time": 3471.569, "Actual Rows": 9, "Actual Loops": 1, "Output": ["customer.c_name", "customer.c_custkey", "orders.o_orderkey", "orders.o_orderdate", "orders.o_totalprice", "lineitem_1.l_orderkey"], "Hash Buckets": 524288, "Original Hash Buckets": 524288, "Hash Batches": 1, "Original Hash Batches": 1, "Peak Memory Usage": 4097, "Plans": [{"Node Type": "Hash Join", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Join Type": "Inner", "Startup Cost": 277382.17, "Total Cost": 323481.65, "Plan Rows": 406452, "Plan Width": 43, "Actual Startup Time": 3198.247, "Actual Total Time": 3471.56, "Actual Rows": 9, "Actual Loops": 1, "Output": ["customer.c_name", "customer.c_custkey", "orders.o_orderkey", "orders.o_orderdate", "orders.o_totalprice", "lineitem_1.l_orderkey"], "Inner Unique": true, "Hash Cond": "(orders.o_custkey = customer.c_custkey)", "Plans": [{"Node Type": "Hash Join", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Join Type": "Inner", "Startup Cost": 270422.17, "Total Cost": 315454.68, "Plan Rows": 406452, "Plan Width": 24, "Actual Startup Time": 3145.62, "Actual Total Time": 3418.922, "Actual Rows": 9, "Actual Loops": 1, "Output": ["orders.o_orderkey", "orders.o_orderdate", "orders.o_totalprice", "orders.o_custkey", "lineitem_1.l_orderkey"], "Inner Unique": true, "Hash Cond": "(orders.o_orderkey = lineitem_1.l_orderkey)", "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Relation Name": "orders", "Schema": "public", "Alias": "orders", "Startup Cost": 0.0, "Total Cost": 41095.0, "Plan Rows": 1500000, "Plan Width": 20, "Actual Startup Time": 0.003, "Actual Total Time": 122.343, "Actual Rows": 1500000, "Actual Loops": 1, "Output": ["orders.o_orderkey", "orders.o_custkey", "orders.o_orderstatus", "orders.o_totalprice", "orders.o_orderdate", "orders.o_orderpriority", "orders.o_clerk", "orders.o_shippriority", "orders.o_comment"]}, {"Node Type": "Hash", "Parent Relationship": "Inner", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 265341.52, "Total Cost": 265341.52, "Plan Rows": 406452, "Plan Width": 4, "Actual Startup Time": 3066.404, "Actual Total Time": 3066.405, "Actual Rows": 9, "Actual Loops": 1, "Output": ["lineitem_1.l_orderkey"], "Hash Buckets": 524288, "Original Hash Buckets": 524288, "Hash Batches": 1, "Original Hash Batches": 1, "Peak Memory Usage": 4097, "Plans": [{"Node Type": "Aggregate", "Strategy": "Sorted", "Partial Mode": "Simple", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 0.43, "Total Cost": 261277.0, "Plan Rows": 406452, "Plan Width": 4, "Actual Startup Time": 645.658, "Actual Total Time": 3066.394, "Actual Rows": 9, "Actual Loops": 1, "Output": ["lineitem_1.l_orderkey"], "Group Key": ["lineitem_1.l_orderkey"], "Filter": "(sum(lineitem_1.l_quantity) > '314'::numeric)", "Rows Removed by Filter": 1499991, "Plans": [{"Node Type": "Index Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Scan Direction": "Forward", "Index Name": "l_ok", "Relation Name": "lineitem", "Schema": "public", "Alias": "lineitem_1", "Startup Cost": 0.43, "Total Cost": 212980.57, "Plan Rows": 6001215, "Plan Width": 9, "Actual Startup Time": 0.014, "Actual Total Time": 1282.319, "Actual Rows": 6001215, "Actual Loops": 1, "Output": ["lineitem_1.l_orderkey", "lineitem_1.l_partkey", "lineitem_1.l_suppkey", "lineitem_1.l_linenumber", "lineitem_1.l_quantity", "lineitem_1.l_extendedprice", "lineitem_1.l_discount", "lineitem_1.l_tax", "lineitem_1.l_returnflag", "lineitem_1.l_linestatus", "lineitem_1.l_shipdate", "lineitem_1.l_commitdate", "lineitem_1.l_receiptdate", "lineitem_1.l_shipinstruct", "lineitem_1.l_shipmode", "lineitem_1.l_comment"]}]}]}]}, {"Node Type": "Hash", "Parent Relationship": "Inner", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 5085.0, "Total Cost": 5085.0, "Plan Rows": 150000, "Plan Width": 23, "Actual Startup Time": 52.333, "Actual Total Time": 52.333, "Actual Rows": 150000, "Actual Loops": 1, "Output": ["customer.c_name", "customer.c_custkey"], "Hash Buckets": 262144, "Original Hash Buckets": 262144, "Hash Batches": 1, "Original Hash Batches": 1, "Peak Memory Usage": 10252, "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Relation Name": "customer", "Schema": "public", "Alias": "customer", "Startup Cost": 0.0, "Total Cost": 5085.0, "Plan Rows": 150000, "Plan Width": 23, "Actual Startup Time": 0.003, "Actual Total Time": 28.288, "Actual Rows": 150000, "Actual Loops": 1, "Output": ["customer.c_name", "customer.c_custkey"]}]}]}]}]}]}]}]}, "Planning Time": 1.127, "Triggers": [], "Execution Time": 4859.268} diff --git a/dev9/pg15/tpch/sf_1/explain_analyze/15721/19-1.ok b/dev9/pg15/tpch/sf_1/explain_analyze/15721/19-1.ok new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/dev9/pg15/tpch/sf_1/explain_analyze/15721/19-1.res b/dev9/pg15/tpch/sf_1/explain_analyze/15721/19-1.res new file mode 100644 index 0000000000000000000000000000000000000000..76eba615158950f1e5f6e96d323bf90a0e6ad8ba --- /dev/null +++ b/dev9/pg15/tpch/sf_1/explain_analyze/15721/19-1.res @@ -0,0 +1 @@ +{"Plan": {"Node Type": "Aggregate", "Strategy": "Plain", "Partial Mode": "Finalize", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 15915.34, "Total Cost": 15915.35, "Plan Rows": 1, "Plan Width": 32, "Actual Startup Time": 46.856, "Actual Total Time": 57.239, "Actual Rows": 1, "Actual Loops": 1, "Output": ["sum((lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount)))"], "Plans": [{"Node Type": "Gather", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 15915.11, "Total Cost": 15915.32, "Plan Rows": 2, "Plan Width": 32, "Actual Startup Time": 46.846, "Actual Total Time": 57.231, "Actual Rows": 3, "Actual Loops": 1, "Output": ["(PARTIAL sum((lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount))))"], "Workers Planned": 2, "Workers Launched": 2, "Single Copy": false, "Plans": [{"Node Type": "Aggregate", "Strategy": "Plain", "Partial Mode": "Partial", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 14915.11, "Total Cost": 14915.12, "Plan Rows": 1, "Plan Width": 32, "Actual Startup Time": 43.653, "Actual Total Time": 43.654, "Actual Rows": 1, "Actual Loops": 3, "Output": ["PARTIAL sum((lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount)))"], "Workers": [{"Worker Number": 0, "Actual Startup Time": 42.237, "Actual Total Time": 42.239, "Actual Rows": 1, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 42.294, "Actual Total Time": 42.295, "Actual Rows": 1, "Actual Loops": 1}], "Plans": [{"Node Type": "Nested Loop", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Join Type": "Inner", "Startup Cost": 0.43, "Total Cost": 14914.75, "Plan Rows": 48, "Plan Width": 12, "Actual Startup Time": 2.693, "Actual Total Time": 43.622, "Actual Rows": 35, "Actual Loops": 3, "Output": ["lineitem.l_extendedprice", "lineitem.l_discount"], "Inner Unique": false, "Workers": [{"Worker Number": 0, "Actual Startup Time": 3.64, "Actual Total Time": 42.209, "Actual Rows": 29, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 3.482, "Actual Total Time": 42.266, "Actual Rows": 26, "Actual Loops": 1}], "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": true, "Async Capable": false, "Relation Name": "part", "Schema": "public", "Alias": "part", "Startup Cost": 0.0, "Total Cost": 7638.67, "Plan Rows": 202, "Plan Width": 30, "Actual Startup Time": 0.351, "Actual Total Time": 27.479, "Actual Rows": 143, "Actual Loops": 3, "Output": ["part.p_partkey", "part.p_name", "part.p_mfgr", "part.p_brand", "part.p_type", "part.p_size", "part.p_container", "part.p_retailprice", "part.p_comment"], "Filter": "((part.p_size >= 1) AND (((part.p_brand = 'Brand#52'::bpchar) AND (part.p_container = ANY ('{\"SM CASE\",\"SM BOX\",\"SM PACK\",\"SM PKG\"}'::bpchar[])) AND (part.p_size <= 5)) OR ((part.p_brand = 'Brand#42'::bpchar) AND (part.p_container = ANY ('{\"MED BAG\",\"MED BOX\",\"MED PKG\",\"MED PACK\"}'::bpchar[])) AND (part.p_size <= 10)) OR ((part.p_brand = 'Brand#23'::bpchar) AND (part.p_container = ANY ('{\"LG CASE\",\"LG BOX\",\"LG PACK\",\"LG PKG\"}'::bpchar[])) AND (part.p_size <= 15))))", "Rows Removed by Filter": 66524, "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.215, "Actual Total Time": 21.151, "Actual Rows": 116, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 0.8, "Actual Total Time": 23.06, "Actual Rows": 99, "Actual Loops": 1}]}, {"Node Type": "Index Scan", "Parent Relationship": "Inner", "Parallel Aware": false, "Async Capable": false, "Scan Direction": "Forward", "Index Name": "l_pk", "Relation Name": "lineitem", "Schema": "public", "Alias": "lineitem", "Startup Cost": 0.43, "Total Cost": 36.01, "Plan Rows": 1, "Plan Width": 21, "Actual Startup Time": 0.1, "Actual Total Time": 0.113, "Actual Rows": 0, "Actual Loops": 428, "Output": ["lineitem.l_orderkey", "lineitem.l_partkey", "lineitem.l_suppkey", "lineitem.l_linenumber", "lineitem.l_quantity", "lineitem.l_extendedprice", "lineitem.l_discount", "lineitem.l_tax", "lineitem.l_returnflag", "lineitem.l_linestatus", "lineitem.l_shipdate", "lineitem.l_commitdate", "lineitem.l_receiptdate", "lineitem.l_shipinstruct", "lineitem.l_shipmode", "lineitem.l_comment"], "Index Cond": "(lineitem.l_partkey = part.p_partkey)", "Rows Removed by Index Recheck": 0, "Filter": "((lineitem.l_shipmode = ANY ('{AIR,\"AIR REG\"}'::bpchar[])) AND (lineitem.l_shipinstruct = 'DELIVER IN PERSON'::bpchar) AND (((lineitem.l_quantity >= '9'::numeric) AND (lineitem.l_quantity <= '19'::numeric)) OR ((lineitem.l_quantity >= '18'::numeric) AND (lineitem.l_quantity <= '28'::numeric)) OR ((lineitem.l_quantity >= '22'::numeric) AND (lineitem.l_quantity <= '32'::numeric))) AND (((part.p_brand = 'Brand#52'::bpchar) AND (part.p_container = ANY ('{\"SM CASE\",\"SM BOX\",\"SM PACK\",\"SM PKG\"}'::bpchar[])) AND (lineitem.l_quantity >= '9'::numeric) AND (lineitem.l_quantity <= '19'::numeric) AND (part.p_size <= 5)) OR ((part.p_brand = 'Brand#42'::bpchar) AND (part.p_container = ANY ('{\"MED BAG\",\"MED BOX\",\"MED PKG\",\"MED PACK\"}'::bpchar[])) AND (lineitem.l_quantity >= '18'::numeric) AND (lineitem.l_quantity <= '28'::numeric) AND (part.p_size <= 10)) OR ((part.p_brand = 'Brand#23'::bpchar) AND (part.p_container = ANY ('{\"LG CASE\",\"LG BOX\",\"LG PACK\",\"LG PKG\"}'::bpchar[])) AND (lineitem.l_quantity >= '22'::numeric) AND (lineitem.l_quantity <= '32'::numeric) AND (part.p_size <= 15))))", "Rows Removed by Filter": 30, "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.161, "Actual Total Time": 0.181, "Actual Rows": 0, "Actual Loops": 116}, {"Worker Number": 1, "Actual Startup Time": 0.171, "Actual Total Time": 0.193, "Actual Rows": 0, "Actual Loops": 99}]}]}]}]}]}, "Planning Time": 0.57, "Triggers": [], "Execution Time": 57.287} diff --git a/dev9/pg15/tpch/sf_1/explain_analyze/15721/2-1.ok b/dev9/pg15/tpch/sf_1/explain_analyze/15721/2-1.ok new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/dev9/pg15/tpch/sf_1/explain_analyze/15721/2-1.res b/dev9/pg15/tpch/sf_1/explain_analyze/15721/2-1.res new file mode 100644 index 0000000000000000000000000000000000000000..30fdcfee64909432fe430c93b071cd39055b4016 --- /dev/null +++ b/dev9/pg15/tpch/sf_1/explain_analyze/15721/2-1.res @@ -0,0 +1 @@ +{"Plan": {"Node Type": "Limit", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 23990.92, "Total Cost": 23990.93, "Plan Rows": 1, "Plan Width": 192, "Actual Startup Time": 231.017, "Actual Total Time": 231.098, "Actual Rows": 100, "Actual Loops": 1, "Output": ["supplier.s_acctbal", "supplier.s_name", "nation.n_name", "part.p_partkey", "part.p_mfgr", "supplier.s_address", "supplier.s_phone", "supplier.s_comment"], "Plans": [{"Node Type": "Sort", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 23990.92, "Total Cost": 23990.93, "Plan Rows": 1, "Plan Width": 192, "Actual Startup Time": 231.016, "Actual Total Time": 231.088, "Actual Rows": 100, "Actual Loops": 1, "Output": ["supplier.s_acctbal", "supplier.s_name", "nation.n_name", "part.p_partkey", "part.p_mfgr", "supplier.s_address", "supplier.s_phone", "supplier.s_comment"], "Sort Key": ["supplier.s_acctbal DESC", "nation.n_name", "supplier.s_name", "part.p_partkey"], "Sort Method": "top-N heapsort", "Sort Space Used": 71, "Sort Space Type": "Memory", "Plans": [{"Node Type": "Hash Join", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Join Type": "Inner", "Startup Cost": 12747.29, "Total Cost": 23990.91, "Plan Rows": 1, "Plan Width": 192, "Actual Startup Time": 202.389, "Actual Total Time": 230.656, "Actual Rows": 509, "Actual Loops": 1, "Output": ["supplier.s_acctbal", "supplier.s_name", "nation.n_name", "part.p_partkey", "part.p_mfgr", "supplier.s_address", "supplier.s_phone", "supplier.s_comment"], "Inner Unique": false, "Hash Cond": "((part.p_partkey = partsupp.ps_partkey) AND ((SubPlan 1) = partsupp.ps_supplycost))", "Plans": [{"Node Type": "Gather", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 1000.0, "Total Cost": 6427.4, "Plan Rows": 804, "Plan Width": 30, "Actual Startup Time": 0.238, "Actual Total Time": 0.427, "Actual Rows": 854, "Actual Loops": 1, "Output": ["part.p_partkey", "part.p_mfgr"], "Workers Planned": 2, "Workers Launched": 2, "Single Copy": false, "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": true, "Async Capable": false, "Relation Name": "part", "Schema": "public", "Alias": "part", "Startup Cost": 0.0, "Total Cost": 5347.0, "Plan Rows": 335, "Plan Width": 30, "Actual Startup Time": 0.13, "Actual Total Time": 21.275, "Actual Rows": 285, "Actual Loops": 3, "Output": ["part.p_partkey", "part.p_mfgr"], "Filter": "(((part.p_type)::text ~~ '%TIN'::text) AND (part.p_size = 44))", "Rows Removed by Filter": 66382, "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.333, "Actual Total Time": 31.781, "Actual Rows": 438, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 0.034, "Actual Total Time": 32.007, "Actual Rows": 415, "Actual Loops": 1}]}]}, {"Node Type": "Hash", "Parent Relationship": "Inner", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 9347.29, "Total Cost": 9347.29, "Plan Rows": 160000, "Plan Width": 172, "Actual Startup Time": 201.702, "Actual Total Time": 201.704, "Actual Rows": 158960, "Actual Loops": 1, "Output": ["supplier.s_acctbal", "supplier.s_name", "supplier.s_address", "supplier.s_phone", "supplier.s_comment", "partsupp.ps_partkey", "partsupp.ps_supplycost", "nation.n_name"], "Hash Buckets": 262144, "Original Hash Buckets": 262144, "Hash Batches": 1, "Original Hash Batches": 1, "Peak Memory Usage": 34502, "Plans": [{"Node Type": "Nested Loop", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Join Type": "Inner", "Startup Cost": 0.71, "Total Cost": 9347.29, "Plan Rows": 160000, "Plan Width": 172, "Actual Startup Time": 0.032, "Actual Total Time": 144.316, "Actual Rows": 158960, "Actual Loops": 1, "Output": ["supplier.s_acctbal", "supplier.s_name", "supplier.s_address", "supplier.s_phone", "supplier.s_comment", "partsupp.ps_partkey", "partsupp.ps_supplycost", "nation.n_name"], "Inner Unique": false, "Plans": [{"Node Type": "Nested Loop", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Join Type": "Inner", "Startup Cost": 0.29, "Total Cost": 110.28, "Plan Rows": 2000, "Plan Width": 166, "Actual Startup Time": 0.022, "Actual Total Time": 1.637, "Actual Rows": 1987, "Actual Loops": 1, "Output": ["supplier.s_acctbal", "supplier.s_name", "supplier.s_address", "supplier.s_phone", "supplier.s_comment", "supplier.s_suppkey", "nation.n_name"], "Inner Unique": false, "Plans": [{"Node Type": "Nested Loop", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Join Type": "Inner", "Startup Cost": 0.0, "Total Cost": 2.62, "Plan Rows": 5, "Plan Width": 30, "Actual Startup Time": 0.01, "Actual Total Time": 0.023, "Actual Rows": 5, "Actual Loops": 1, "Output": ["nation.n_name", "nation.n_nationkey"], "Inner Unique": false, "Join Filter": "(nation.n_regionkey = region.r_regionkey)", "Rows Removed by Join Filter": 20, "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Relation Name": "region", "Schema": "public", "Alias": "region", "Startup Cost": 0.0, "Total Cost": 1.06, "Plan Rows": 1, "Plan Width": 4, "Actual Startup Time": 0.004, "Actual Total Time": 0.005, "Actual Rows": 1, "Actual Loops": 1, "Output": ["region.r_regionkey", "region.r_name", "region.r_comment"], "Filter": "(region.r_name = 'EUROPE'::bpchar)", "Rows Removed by Filter": 4}, {"Node Type": "Seq Scan", "Parent Relationship": "Inner", "Parallel Aware": false, "Async Capable": false, "Relation Name": "nation", "Schema": "public", "Alias": "nation", "Startup Cost": 0.0, "Total Cost": 1.25, "Plan Rows": 25, "Plan Width": 34, "Actual Startup Time": 0.002, "Actual Total Time": 0.007, "Actual Rows": 25, "Actual Loops": 1, "Output": ["nation.n_nationkey", "nation.n_name", "nation.n_regionkey", "nation.n_comment"]}]}, {"Node Type": "Index Scan", "Parent Relationship": "Inner", "Parallel Aware": false, "Async Capable": false, "Scan Direction": "Forward", "Index Name": "s_nk", "Relation Name": "supplier", "Schema": "public", "Alias": "supplier", "Startup Cost": 0.29, "Total Cost": 17.53, "Plan Rows": 400, "Plan Width": 144, "Actual Startup Time": 0.006, "Actual Total Time": 0.21, "Actual Rows": 397, "Actual Loops": 5, "Output": ["supplier.s_suppkey", "supplier.s_name", "supplier.s_address", "supplier.s_nationkey", "supplier.s_phone", "supplier.s_acctbal", "supplier.s_comment"], "Index Cond": "(supplier.s_nationkey = nation.n_nationkey)", "Rows Removed by Index Recheck": 0}]}, {"Node Type": "Index Scan", "Parent Relationship": "Inner", "Parallel Aware": false, "Async Capable": false, "Scan Direction": "Forward", "Index Name": "ps_sk", "Relation Name": "partsupp", "Schema": "public", "Alias": "partsupp", "Startup Cost": 0.42, "Total Cost": 3.82, "Plan Rows": 80, "Plan Width": 14, "Actual Startup Time": 0.003, "Actual Total Time": 0.055, "Actual Rows": 80, "Actual Loops": 1987, "Output": ["partsupp.ps_partkey", "partsupp.ps_suppkey", "partsupp.ps_availqty", "partsupp.ps_supplycost", "partsupp.ps_comment"], "Index Cond": "(partsupp.ps_suppkey = supplier.s_suppkey)", "Rows Removed by Index Recheck": 0}]}]}, {"Node Type": "Aggregate", "Strategy": "Plain", "Partial Mode": "Simple", "Parent Relationship": "SubPlan", "Subplan Name": "SubPlan 1", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 14.44, "Total Cost": 14.45, "Plan Rows": 1, "Plan Width": 32, "Actual Startup Time": 0.02, "Actual Total Time": 0.02, "Actual Rows": 1, "Actual Loops": 1363, "Output": ["min(partsupp_1.ps_supplycost)"], "Plans": [{"Node Type": "Nested Loop", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Join Type": "Inner", "Startup Cost": 0.85, "Total Cost": 14.44, "Plan Rows": 1, "Plan Width": 6, "Actual Startup Time": 0.014, "Actual Total Time": 0.019, "Actual Rows": 1, "Actual Loops": 1363, "Output": ["partsupp_1.ps_supplycost"], "Inner Unique": false, "Join Filter": "(nation_1.n_regionkey = region_1.r_regionkey)", "Rows Removed by Join Filter": 3, "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Relation Name": "region", "Schema": "public", "Alias": "region_1", "Startup Cost": 0.0, "Total Cost": 1.06, "Plan Rows": 1, "Plan Width": 4, "Actual Startup Time": 0.001, "Actual Total Time": 0.001, "Actual Rows": 1, "Actual Loops": 1363, "Output": ["region_1.r_regionkey", "region_1.r_name", "region_1.r_comment"], "Filter": "(region_1.r_name = 'EUROPE'::bpchar)", "Rows Removed by Filter": 4}, {"Node Type": "Nested Loop", "Parent Relationship": "Inner", "Parallel Aware": false, "Async Capable": false, "Join Type": "Inner", "Startup Cost": 0.85, "Total Cost": 13.33, "Plan Rows": 4, "Plan Width": 10, "Actual Startup Time": 0.006, "Actual Total Time": 0.017, "Actual Rows": 4, "Actual Loops": 1363, "Output": ["partsupp_1.ps_supplycost", "nation_1.n_regionkey"], "Inner Unique": true, "Plans": [{"Node Type": "Nested Loop", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Join Type": "Inner", "Startup Cost": 0.71, "Total Cost": 12.71, "Plan Rows": 4, "Plan Width": 10, "Actual Startup Time": 0.005, "Actual Total Time": 0.012, "Actual Rows": 4, "Actual Loops": 1363, "Output": ["partsupp_1.ps_supplycost", "supplier_1.s_nationkey"], "Inner Unique": true, "Plans": [{"Node Type": "Index Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Scan Direction": "Forward", "Index Name": "ps_pk", "Relation Name": "partsupp", "Schema": "public", "Alias": "partsupp_1", "Startup Cost": 0.42, "Total Cost": 2.7, "Plan Rows": 4, "Plan Width": 10, "Actual Startup Time": 0.003, "Actual Total Time": 0.004, "Actual Rows": 4, "Actual Loops": 1363, "Output": ["partsupp_1.ps_partkey", "partsupp_1.ps_suppkey", "partsupp_1.ps_availqty", "partsupp_1.ps_supplycost", "partsupp_1.ps_comment"], "Index Cond": "(partsupp_1.ps_partkey = part.p_partkey)", "Rows Removed by Index Recheck": 0}, {"Node Type": "Index Scan", "Parent Relationship": "Inner", "Parallel Aware": false, "Async Capable": false, "Scan Direction": "Forward", "Index Name": "s_sk", "Relation Name": "supplier", "Schema": "public", "Alias": "supplier_1", "Startup Cost": 0.29, "Total Cost": 2.5, "Plan Rows": 1, "Plan Width": 8, "Actual Startup Time": 0.002, "Actual Total Time": 0.002, "Actual Rows": 1, "Actual Loops": 5452, "Output": ["supplier_1.s_suppkey", "supplier_1.s_name", "supplier_1.s_address", "supplier_1.s_nationkey", "supplier_1.s_phone", "supplier_1.s_acctbal", "supplier_1.s_comment"], "Index Cond": "(supplier_1.s_suppkey = partsupp_1.ps_suppkey)", "Rows Removed by Index Recheck": 0}]}, {"Node Type": "Index Scan", "Parent Relationship": "Inner", "Parallel Aware": false, "Async Capable": false, "Scan Direction": "Forward", "Index Name": "n_nk", "Relation Name": "nation", "Schema": "public", "Alias": "nation_1", "Startup Cost": 0.14, "Total Cost": 0.16, "Plan Rows": 1, "Plan Width": 8, "Actual Startup Time": 0.001, "Actual Total Time": 0.001, "Actual Rows": 1, "Actual Loops": 5452, "Output": ["nation_1.n_nationkey", "nation_1.n_name", "nation_1.n_regionkey", "nation_1.n_comment"], "Index Cond": "(nation_1.n_nationkey = supplier_1.s_nationkey)", "Rows Removed by Index Recheck": 0}]}]}]}]}]}]}, "Planning Time": 2.157, "Triggers": [], "Execution Time": 231.295} diff --git a/dev9/pg15/tpch/sf_1/explain_analyze/15721/20-1.ok b/dev9/pg15/tpch/sf_1/explain_analyze/15721/20-1.ok new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/dev9/pg15/tpch/sf_1/explain_analyze/15721/20-1.res b/dev9/pg15/tpch/sf_1/explain_analyze/15721/20-1.res new file mode 100644 index 0000000000000000000000000000000000000000..94f80f24876194e698f3970589f0bfff2be0355e --- /dev/null +++ b/dev9/pg15/tpch/sf_1/explain_analyze/15721/20-1.res @@ -0,0 +1 @@ +{"Plan": {"Node Type": "Sort", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 37666.17, "Total Cost": 37666.49, "Plan Rows": 128, "Plan Width": 51, "Actual Startup Time": 148.228, "Actual Total Time": 148.242, "Actual Rows": 187, "Actual Loops": 1, "Output": ["supplier.s_name", "supplier.s_address"], "Sort Key": ["supplier.s_name"], "Sort Method": "quicksort", "Sort Space Used": 42, "Sort Space Type": "Memory", "Plans": [{"Node Type": "Hash Join", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Join Type": "Semi", "Startup Cost": 37437.22, "Total Cost": 37661.69, "Plan Rows": 128, "Plan Width": 51, "Actual Startup Time": 147.713, "Actual Total Time": 148.089, "Actual Rows": 187, "Actual Loops": 1, "Output": ["supplier.s_name", "supplier.s_address"], "Inner Unique": false, "Hash Cond": "(supplier.s_suppkey = partsupp.ps_suppkey)", "Plans": [{"Node Type": "Nested Loop", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Join Type": "Inner", "Startup Cost": 4.48, "Total Cost": 226.33, "Plan Rows": 400, "Plan Width": 55, "Actual Startup Time": 0.065, "Actual Total Time": 0.369, "Actual Rows": 396, "Actual Loops": 1, "Output": ["supplier.s_name", "supplier.s_address", "supplier.s_suppkey"], "Inner Unique": false, "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Relation Name": "nation", "Schema": "public", "Alias": "nation", "Startup Cost": 0.0, "Total Cost": 1.31, "Plan Rows": 1, "Plan Width": 4, "Actual Startup Time": 0.006, "Actual Total Time": 0.011, "Actual Rows": 1, "Actual Loops": 1, "Output": ["nation.n_nationkey", "nation.n_name", "nation.n_regionkey", "nation.n_comment"], "Filter": "(nation.n_name = 'GERMANY'::bpchar)", "Rows Removed by Filter": 24}, {"Node Type": "Bitmap Heap Scan", "Parent Relationship": "Inner", "Parallel Aware": false, "Async Capable": false, "Relation Name": "supplier", "Schema": "public", "Alias": "supplier", "Startup Cost": 4.48, "Total Cost": 221.01, "Plan Rows": 400, "Plan Width": 59, "Actual Startup Time": 0.057, "Actual Total Time": 0.293, "Actual Rows": 396, "Actual Loops": 1, "Output": ["supplier.s_suppkey", "supplier.s_name", "supplier.s_address", "supplier.s_nationkey", "supplier.s_phone", "supplier.s_acctbal", "supplier.s_comment"], "Recheck Cond": "(supplier.s_nationkey = nation.n_nationkey)", "Rows Removed by Index Recheck": 0, "Exact Heap Blocks": 191, "Lossy Heap Blocks": 0, "Plans": [{"Node Type": "Bitmap Index Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Index Name": "s_nk", "Startup Cost": 0.0, "Total Cost": 4.38, "Plan Rows": 400, "Plan Width": 0, "Actual Startup Time": 0.024, "Actual Total Time": 0.024, "Actual Rows": 396, "Actual Loops": 1, "Index Cond": "(supplier.s_nationkey = nation.n_nationkey)"}]}]}, {"Node Type": "Hash", "Parent Relationship": "Inner", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 37392.65, "Total Cost": 37392.65, "Plan Rows": 3207, "Plan Width": 4, "Actual Startup Time": 147.638, "Actual Total Time": 147.639, "Actual Rows": 5970, "Actual Loops": 1, "Output": ["partsupp.ps_suppkey"], "Hash Buckets": 8192, "Original Hash Buckets": 4096, "Hash Batches": 1, "Original Hash Batches": 1, "Peak Memory Usage": 274, "Plans": [{"Node Type": "Nested Loop", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Join Type": "Inner", "Startup Cost": 0.42, "Total Cost": 37392.65, "Plan Rows": 3207, "Plan Width": 4, "Actual Startup Time": 0.085, "Actual Total Time": 146.112, "Actual Rows": 5970, "Actual Loops": 1, "Output": ["partsupp.ps_suppkey"], "Inner Unique": false, "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Relation Name": "part", "Schema": "public", "Alias": "part", "Startup Cost": 0.0, "Total Cost": 6597.0, "Plan Rows": 2405, "Plan Width": 4, "Actual Startup Time": 0.024, "Actual Total Time": 30.771, "Actual Rows": 2186, "Actual Loops": 1, "Output": ["part.p_partkey", "part.p_name", "part.p_mfgr", "part.p_brand", "part.p_type", "part.p_size", "part.p_container", "part.p_retailprice", "part.p_comment"], "Filter": "((part.p_name)::text ~~ 'floral%'::text)", "Rows Removed by Filter": 197814}, {"Node Type": "Index Scan", "Parent Relationship": "Inner", "Parallel Aware": false, "Async Capable": false, "Scan Direction": "Forward", "Index Name": "ps_pk", "Relation Name": "partsupp", "Schema": "public", "Alias": "partsupp", "Startup Cost": 0.42, "Total Cost": 12.79, "Plan Rows": 1, "Plan Width": 8, "Actual Startup Time": 0.021, "Actual Total Time": 0.052, "Actual Rows": 3, "Actual Loops": 2186, "Output": ["partsupp.ps_partkey", "partsupp.ps_suppkey", "partsupp.ps_availqty", "partsupp.ps_supplycost", "partsupp.ps_comment"], "Index Cond": "(partsupp.ps_partkey = part.p_partkey)", "Rows Removed by Index Recheck": 0, "Filter": "((partsupp.ps_availqty)::numeric > (SubPlan 1))", "Rows Removed by Filter": 1, "Plans": [{"Node Type": "Aggregate", "Strategy": "Plain", "Partial Mode": "Simple", "Parent Relationship": "SubPlan", "Subplan Name": "SubPlan 1", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 2.66, "Total Cost": 2.68, "Plan Rows": 1, "Plan Width": 32, "Actual Startup Time": 0.011, "Actual Total Time": 0.011, "Actual Rows": 1, "Actual Loops": 8744, "Output": ["(0.5 * sum(lineitem.l_quantity))"], "Plans": [{"Node Type": "Index Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Scan Direction": "Forward", "Index Name": "l_sk_pk", "Relation Name": "lineitem", "Schema": "public", "Alias": "lineitem", "Startup Cost": 0.43, "Total Cost": 2.66, "Plan Rows": 1, "Plan Width": 5, "Actual Startup Time": 0.007, "Actual Total Time": 0.01, "Actual Rows": 1, "Actual Loops": 8744, "Output": ["lineitem.l_orderkey", "lineitem.l_partkey", "lineitem.l_suppkey", "lineitem.l_linenumber", "lineitem.l_quantity", "lineitem.l_extendedprice", "lineitem.l_discount", "lineitem.l_tax", "lineitem.l_returnflag", "lineitem.l_linestatus", "lineitem.l_shipdate", "lineitem.l_commitdate", "lineitem.l_receiptdate", "lineitem.l_shipinstruct", "lineitem.l_shipmode", "lineitem.l_comment"], "Index Cond": "((lineitem.l_suppkey = partsupp.ps_suppkey) AND (lineitem.l_partkey = partsupp.ps_partkey))", "Rows Removed by Index Recheck": 0, "Filter": "((lineitem.l_shipdate >= '1996-01-01'::date) AND (lineitem.l_shipdate < '1997-01-01 00:00:00'::timestamp without time zone))", "Rows Removed by Filter": 6}]}]}]}]}]}]}, "Planning Time": 0.762, "Triggers": [], "Execution Time": 148.3} diff --git a/dev9/pg15/tpch/sf_1/explain_analyze/15721/21-1.ok b/dev9/pg15/tpch/sf_1/explain_analyze/15721/21-1.ok new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/dev9/pg15/tpch/sf_1/explain_analyze/15721/21-1.res b/dev9/pg15/tpch/sf_1/explain_analyze/15721/21-1.res new file mode 100644 index 0000000000000000000000000000000000000000..4628694788b1dcaa24798e6f0dd3c1df6ddc5e42 --- /dev/null +++ b/dev9/pg15/tpch/sf_1/explain_analyze/15721/21-1.res @@ -0,0 +1 @@ +{"Plan": {"Node Type": "Limit", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 53631.95, "Total Cost": 53631.96, "Plan Rows": 1, "Plan Width": 34, "Actual Startup Time": 551.828, "Actual Total Time": 575.536, "Actual Rows": 100, "Actual Loops": 1, "Output": ["supplier.s_name", "(count(*))"], "Plans": [{"Node Type": "Sort", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 53631.95, "Total Cost": 53631.96, "Plan Rows": 1, "Plan Width": 34, "Actual Startup Time": 551.826, "Actual Total Time": 575.526, "Actual Rows": 100, "Actual Loops": 1, "Output": ["supplier.s_name", "(count(*))"], "Sort Key": ["(count(*)) DESC", "supplier.s_name"], "Sort Method": "top-N heapsort", "Sort Space Used": 37, "Sort Space Type": "Memory", "Plans": [{"Node Type": "Aggregate", "Strategy": "Sorted", "Partial Mode": "Simple", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 53631.92, "Total Cost": 53631.94, "Plan Rows": 1, "Plan Width": 34, "Actual Startup Time": 550.386, "Actual Total Time": 575.012, "Actual Rows": 407, "Actual Loops": 1, "Output": ["supplier.s_name", "count(*)"], "Group Key": ["supplier.s_name"], "Plans": [{"Node Type": "Sort", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 53631.92, "Total Cost": 53631.93, "Plan Rows": 1, "Plan Width": 26, "Actual Startup Time": 550.375, "Actual Total Time": 574.314, "Actual Rows": 3965, "Actual Loops": 1, "Output": ["supplier.s_name"], "Sort Key": ["supplier.s_name"], "Sort Method": "quicksort", "Sort Space Used": 375, "Sort Space Type": "Memory", "Plans": [{"Node Type": "Nested Loop", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Join Type": "Semi", "Startup Cost": 13174.92, "Total Cost": 53631.91, "Plan Rows": 1, "Plan Width": 26, "Actual Startup Time": 291.701, "Actual Total Time": 558.906, "Actual Rows": 3965, "Actual Loops": 1, "Output": ["supplier.s_name"], "Inner Unique": false, "Join Filter": "(orders.o_orderkey = l2.l_orderkey)", "Rows Removed by Join Filter": 0, "Plans": [{"Node Type": "Gather", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 13174.49, "Total Cost": 53631.29, "Plan Rows": 1, "Plan Width": 38, "Actual Startup Time": 291.636, "Actual Total Time": 536.897, "Actual Rows": 6626, "Actual Loops": 1, "Output": ["supplier.s_name", "l1.l_suppkey", "l1.l_orderkey", "orders.o_orderkey"], "Workers Planned": 3, "Workers Launched": 3, "Single Copy": false, "Plans": [{"Node Type": "Nested Loop", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Join Type": "Anti", "Startup Cost": 12174.49, "Total Cost": 52631.19, "Plan Rows": 1, "Plan Width": 38, "Actual Startup Time": 339.077, "Actual Total Time": 524.731, "Actual Rows": 1656, "Actual Loops": 4, "Output": ["supplier.s_name", "l1.l_suppkey", "l1.l_orderkey", "orders.o_orderkey"], "Inner Unique": false, "Workers": [{"Worker Number": 0, "Actual Startup Time": 355.056, "Actual Total Time": 529.011, "Actual Rows": 1570, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 355.331, "Actual Total Time": 529.051, "Actual Rows": 1499, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 354.718, "Actual Total Time": 529.176, "Actual Rows": 1533, "Actual Loops": 1}], "Plans": [{"Node Type": "Hash Join", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Join Type": "Inner", "Startup Cost": 12174.06, "Total Cost": 45322.83, "Plan Rows": 12521, "Plan Width": 38, "Actual Startup Time": 338.94, "Actual Total Time": 457.379, "Actual Rows": 18520, "Actual Loops": 4, "Output": ["supplier.s_name", "l1.l_suppkey", "l1.l_orderkey", "orders.o_orderkey"], "Inner Unique": false, "Hash Cond": "(orders.o_orderkey = l1.l_orderkey)", "Workers": [{"Worker Number": 0, "Actual Startup Time": 354.976, "Actual Total Time": 464.662, "Actual Rows": 17352, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 355.024, "Actual Total Time": 465.431, "Actual Rows": 17149, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 354.614, "Actual Total Time": 465.389, "Actual Rows": 17104, "Actual Loops": 1}], "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": true, "Async Capable": false, "Relation Name": "orders", "Schema": "public", "Alias": "orders", "Startup Cost": 0.0, "Total Cost": 32143.39, "Plan Rows": 234713, "Plan Width": 4, "Actual Startup Time": 0.024, "Actual Total Time": 77.084, "Actual Rows": 182353, "Actual Loops": 4, "Output": ["orders.o_orderkey", "orders.o_custkey", "orders.o_orderstatus", "orders.o_totalprice", "orders.o_orderdate", "orders.o_orderpriority", "orders.o_clerk", "orders.o_shippriority", "orders.o_comment"], "Filter": "(orders.o_orderstatus = 'F'::bpchar)", "Rows Removed by Filter": 192647, "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.03, "Actual Total Time": 72.497, "Actual Rows": 168300, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 0.025, "Actual Total Time": 73.056, "Actual Rows": 170309, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 0.037, "Actual Total Time": 72.819, "Actual Rows": 168082, "Actual Loops": 1}]}, {"Node Type": "Hash", "Parent Relationship": "Inner", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 11173.86, "Total Cost": 11173.86, "Plan Rows": 80016, "Plan Width": 34, "Actual Startup Time": 338.263, "Actual Total Time": 338.266, "Actual Rows": 153758, "Actual Loops": 4, "Output": ["supplier.s_name", "l1.l_suppkey", "l1.l_orderkey"], "Hash Buckets": 262144, "Original Hash Buckets": 131072, "Hash Batches": 1, "Original Hash Batches": 1, "Peak Memory Usage": 12259, "Workers": [{"Worker Number": 0, "Actual Startup Time": 354.144, "Actual Total Time": 354.147, "Actual Rows": 153758, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 354.192, "Actual Total Time": 354.195, "Actual Rows": 153758, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 353.747, "Actual Total Time": 353.75, "Actual Rows": 153758, "Actual Loops": 1}], "Plans": [{"Node Type": "Nested Loop", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Join Type": "Inner", "Startup Cost": 4.92, "Total Cost": 11173.86, "Plan Rows": 80016, "Plan Width": 34, "Actual Startup Time": 0.172, "Actual Total Time": 295.377, "Actual Rows": 153758, "Actual Loops": 4, "Output": ["supplier.s_name", "l1.l_suppkey", "l1.l_orderkey"], "Inner Unique": false, "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.2, "Actual Total Time": 309.819, "Actual Rows": 153758, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 0.204, "Actual Total Time": 310.043, "Actual Rows": 153758, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 0.199, "Actual Total Time": 309.063, "Actual Rows": 153758, "Actual Loops": 1}], "Plans": [{"Node Type": "Nested Loop", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Join Type": "Inner", "Startup Cost": 4.48, "Total Cost": 226.33, "Plan Rows": 400, "Plan Width": 30, "Actual Startup Time": 0.108, "Actual Total Time": 0.679, "Actual Rows": 407, "Actual Loops": 4, "Output": ["supplier.s_name", "supplier.s_suppkey"], "Inner Unique": false, "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.122, "Actual Total Time": 0.746, "Actual Rows": 407, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 0.124, "Actual Total Time": 0.75, "Actual Rows": 407, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 0.122, "Actual Total Time": 0.711, "Actual Rows": 407, "Actual Loops": 1}], "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Relation Name": "nation", "Schema": "public", "Alias": "nation", "Startup Cost": 0.0, "Total Cost": 1.31, "Plan Rows": 1, "Plan Width": 4, "Actual Startup Time": 0.02, "Actual Total Time": 0.024, "Actual Rows": 1, "Actual Loops": 4, "Output": ["nation.n_nationkey", "nation.n_name", "nation.n_regionkey", "nation.n_comment"], "Filter": "(nation.n_name = 'CHINA'::bpchar)", "Rows Removed by Filter": 24, "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.024, "Actual Total Time": 0.027, "Actual Rows": 1, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 0.025, "Actual Total Time": 0.028, "Actual Rows": 1, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 0.026, "Actual Total Time": 0.03, "Actual Rows": 1, "Actual Loops": 1}]}, {"Node Type": "Bitmap Heap Scan", "Parent Relationship": "Inner", "Parallel Aware": false, "Async Capable": false, "Relation Name": "supplier", "Schema": "public", "Alias": "supplier", "Startup Cost": 4.48, "Total Cost": 221.01, "Plan Rows": 400, "Plan Width": 34, "Actual Startup Time": 0.085, "Actual Total Time": 0.576, "Actual Rows": 407, "Actual Loops": 4, "Output": ["supplier.s_suppkey", "supplier.s_name", "supplier.s_address", "supplier.s_nationkey", "supplier.s_phone", "supplier.s_acctbal", "supplier.s_comment"], "Recheck Cond": "(supplier.s_nationkey = nation.n_nationkey)", "Rows Removed by Index Recheck": 0, "Exact Heap Blocks": 186, "Lossy Heap Blocks": 0, "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.094, "Actual Total Time": 0.641, "Actual Rows": 407, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 0.096, "Actual Total Time": 0.643, "Actual Rows": 407, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 0.093, "Actual Total Time": 0.603, "Actual Rows": 407, "Actual Loops": 1}], "Plans": [{"Node Type": "Bitmap Index Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Index Name": "s_nk", "Startup Cost": 0.0, "Total Cost": 4.38, "Plan Rows": 400, "Plan Width": 0, "Actual Startup Time": 0.047, "Actual Total Time": 0.047, "Actual Rows": 407, "Actual Loops": 4, "Index Cond": "(supplier.s_nationkey = nation.n_nationkey)", "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.054, "Actual Total Time": 0.054, "Actual Rows": 407, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 0.055, "Actual Total Time": 0.055, "Actual Rows": 407, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 0.053, "Actual Total Time": 0.053, "Actual Rows": 407, "Actual Loops": 1}]}]}]}, {"Node Type": "Index Scan", "Parent Relationship": "Inner", "Parallel Aware": false, "Async Capable": false, "Scan Direction": "Forward", "Index Name": "l_sk", "Relation Name": "lineitem", "Schema": "public", "Alias": "l1", "Startup Cost": 0.43, "Total Cost": 25.37, "Plan Rows": 200, "Plan Width": 8, "Actual Startup Time": 0.01, "Actual Total Time": 0.68, "Actual Rows": 378, "Actual Loops": 1628, "Output": ["l1.l_orderkey", "l1.l_partkey", "l1.l_suppkey", "l1.l_linenumber", "l1.l_quantity", "l1.l_extendedprice", "l1.l_discount", "l1.l_tax", "l1.l_returnflag", "l1.l_linestatus", "l1.l_shipdate", "l1.l_commitdate", "l1.l_receiptdate", "l1.l_shipinstruct", "l1.l_shipmode", "l1.l_comment"], "Index Cond": "(l1.l_suppkey = supplier.s_suppkey)", "Rows Removed by Index Recheck": 0, "Filter": "(l1.l_receiptdate > l1.l_commitdate)", "Rows Removed by Filter": 221, "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.011, "Actual Total Time": 0.715, "Actual Rows": 378, "Actual Loops": 407}, {"Worker Number": 1, "Actual Startup Time": 0.011, "Actual Total Time": 0.715, "Actual Rows": 378, "Actual Loops": 407}, {"Worker Number": 2, "Actual Startup Time": 0.01, "Actual Total Time": 0.713, "Actual Rows": 378, "Actual Loops": 407}]}]}]}]}, {"Node Type": "Index Scan", "Parent Relationship": "Inner", "Parallel Aware": false, "Async Capable": false, "Scan Direction": "Forward", "Index Name": "l_ok", "Relation Name": "lineitem", "Schema": "public", "Alias": "l3", "Startup Cost": 0.43, "Total Cost": 0.61, "Plan Rows": 2, "Plan Width": 8, "Actual Startup Time": 0.003, "Actual Total Time": 0.003, "Actual Rows": 1, "Actual Loops": 74080, "Output": ["l3.l_orderkey", "l3.l_partkey", "l3.l_suppkey", "l3.l_linenumber", "l3.l_quantity", "l3.l_extendedprice", "l3.l_discount", "l3.l_tax", "l3.l_returnflag", "l3.l_linestatus", "l3.l_shipdate", "l3.l_commitdate", "l3.l_receiptdate", "l3.l_shipinstruct", "l3.l_shipmode", "l3.l_comment"], "Index Cond": "(l3.l_orderkey = l1.l_orderkey)", "Rows Removed by Index Recheck": 0, "Filter": "((l3.l_receiptdate > l3.l_commitdate) AND (l3.l_suppkey <> l1.l_suppkey))", "Rows Removed by Filter": 1, "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.003, "Actual Total Time": 0.003, "Actual Rows": 1, "Actual Loops": 17352}, {"Worker Number": 1, "Actual Startup Time": 0.003, "Actual Total Time": 0.003, "Actual Rows": 1, "Actual Loops": 17149}, {"Worker Number": 2, "Actual Startup Time": 0.003, "Actual Total Time": 0.003, "Actual Rows": 1, "Actual Loops": 17104}]}]}]}, {"Node Type": "Index Scan", "Parent Relationship": "Inner", "Parallel Aware": false, "Async Capable": false, "Scan Direction": "Forward", "Index Name": "l_ok", "Relation Name": "lineitem", "Schema": "public", "Alias": "l2", "Startup Cost": 0.43, "Total Cost": 0.6, "Plan Rows": 5, "Plan Width": 8, "Actual Startup Time": 0.003, "Actual Total Time": 0.003, "Actual Rows": 1, "Actual Loops": 6626, "Output": ["l2.l_orderkey", "l2.l_partkey", "l2.l_suppkey", "l2.l_linenumber", "l2.l_quantity", "l2.l_extendedprice", "l2.l_discount", "l2.l_tax", "l2.l_returnflag", "l2.l_linestatus", "l2.l_shipdate", "l2.l_commitdate", "l2.l_receiptdate", "l2.l_shipinstruct", "l2.l_shipmode", "l2.l_comment"], "Index Cond": "(l2.l_orderkey = l1.l_orderkey)", "Rows Removed by Index Recheck": 0, "Filter": "(l2.l_suppkey <> l1.l_suppkey)", "Rows Removed by Filter": 1}]}]}]}]}]}, "Planning Time": 2.489, "Triggers": [], "Execution Time": 575.656} diff --git a/dev9/pg15/tpch/sf_1/explain_analyze/15721/22-1.ok b/dev9/pg15/tpch/sf_1/explain_analyze/15721/22-1.ok new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/dev9/pg15/tpch/sf_1/explain_analyze/15721/22-1.res b/dev9/pg15/tpch/sf_1/explain_analyze/15721/22-1.res new file mode 100644 index 0000000000000000000000000000000000000000..08391e9b5964b1d728fa30c4eeb9c3e5bbf227a2 --- /dev/null +++ b/dev9/pg15/tpch/sf_1/explain_analyze/15721/22-1.res @@ -0,0 +1 @@ +{"Plan": {"Node Type": "Aggregate", "Strategy": "Sorted", "Partial Mode": "Finalize", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 12857.77, "Total Cost": 12947.14, "Plan Rows": 669, "Plan Width": 72, "Actual Startup Time": 93.459, "Actual Total Time": 97.137, "Actual Rows": 7, "Actual Loops": 1, "Output": ["(SUBSTRING(customer.c_phone FROM 1 FOR 2))", "count(*)", "sum(customer.c_acctbal)"], "Group Key": ["(SUBSTRING(customer.c_phone FROM 1 FOR 2))"], "Plans": [{"Node Type": "Aggregate", "Strategy": "Plain", "Partial Mode": "Finalize", "Parent Relationship": "InitPlan", "Subplan Name": "InitPlan 1 (returns $1)", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 6230.82, "Total Cost": 6230.83, "Plan Rows": 1, "Plan Width": 32, "Actual Startup Time": 43.539, "Actual Total Time": 43.595, "Actual Rows": 1, "Actual Loops": 1, "Output": ["avg(customer_1.c_acctbal)"], "Plans": [{"Node Type": "Gather", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 6230.6, "Total Cost": 6230.81, "Plan Rows": 2, "Plan Width": 32, "Actual Startup Time": 43.492, "Actual Total Time": 43.585, "Actual Rows": 3, "Actual Loops": 1, "Output": ["(PARTIAL avg(customer_1.c_acctbal))"], "Workers Planned": 2, "Workers Launched": 2, "Single Copy": false, "Plans": [{"Node Type": "Aggregate", "Strategy": "Plain", "Partial Mode": "Partial", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 5230.6, "Total Cost": 5230.61, "Plan Rows": 1, "Plan Width": 32, "Actual Startup Time": 40.828, "Actual Total Time": 40.828, "Actual Rows": 1, "Actual Loops": 3, "Output": ["PARTIAL avg(customer_1.c_acctbal)"], "Workers": [{"Worker Number": 0, "Actual Startup Time": 39.514, "Actual Total Time": 39.514, "Actual Rows": 1, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 39.717, "Actual Total Time": 39.718, "Actual Rows": 1, "Actual Loops": 1}], "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": true, "Async Capable": false, "Relation Name": "customer", "Schema": "public", "Alias": "customer_1", "Startup Cost": 0.0, "Total Cost": 5225.62, "Plan Rows": 1988, "Plan Width": 6, "Actual Startup Time": 0.029, "Actual Total Time": 39.324, "Actual Rows": 12636, "Actual Loops": 3, "Output": ["customer_1.c_custkey", "customer_1.c_name", "customer_1.c_address", "customer_1.c_nationkey", "customer_1.c_phone", "customer_1.c_acctbal", "customer_1.c_mktsegment", "customer_1.c_comment"], "Filter": "((customer_1.c_acctbal > 0.00) AND (SUBSTRING(customer_1.c_phone FROM 1 FOR 2) = ANY ('{17,20,25,31,30,11,33}'::text[])))", "Rows Removed by Filter": 37364, "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.03, "Actual Total Time": 38.109, "Actual Rows": 11760, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 0.046, "Actual Total Time": 38.325, "Actual Rows": 11642, "Actual Loops": 1}]}]}]}]}, {"Node Type": "Gather Merge", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 6626.94, "Total Cost": 6699.02, "Plan Rows": 558, "Plan Width": 72, "Actual Startup Time": 93.337, "Actual Total Time": 97.056, "Actual Rows": 21, "Actual Loops": 1, "Output": ["(SUBSTRING(customer.c_phone FROM 1 FOR 2))", "(PARTIAL count(*))", "(PARTIAL sum(customer.c_acctbal))"], "Workers Planned": 2, "Params Evaluated": ["$1"], "Workers Launched": 2, "Plans": [{"Node Type": "Aggregate", "Strategy": "Sorted", "Partial Mode": "Partial", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 5626.92, "Total Cost": 5634.59, "Plan Rows": 279, "Plan Width": 72, "Actual Startup Time": 46.086, "Actual Total Time": 46.589, "Actual Rows": 7, "Actual Loops": 3, "Output": ["(SUBSTRING(customer.c_phone FROM 1 FOR 2))", "PARTIAL count(*)", "PARTIAL sum(customer.c_acctbal)"], "Group Key": ["(SUBSTRING(customer.c_phone FROM 1 FOR 2))"], "Workers": [{"Worker Number": 0, "Actual Startup Time": 44.64, "Actual Total Time": 45.108, "Actual Rows": 7, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 44.879, "Actual Total Time": 45.338, "Actual Rows": 7, "Actual Loops": 1}], "Plans": [{"Node Type": "Sort", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 5626.92, "Total Cost": 5627.62, "Plan Rows": 279, "Plan Width": 38, "Actual Startup Time": 45.996, "Actual Total Time": 46.121, "Actual Rows": 2112, "Actual Loops": 3, "Output": ["(SUBSTRING(customer.c_phone FROM 1 FOR 2))", "customer.c_acctbal"], "Sort Key": ["(SUBSTRING(customer.c_phone FROM 1 FOR 2))"], "Sort Method": "quicksort", "Sort Space Used": 230, "Sort Space Type": "Memory", "Workers": [{"Worker Number": 0, "Actual Startup Time": 44.565, "Actual Total Time": 44.68, "Actual Rows": 1949, "Actual Loops": 1, "Sort Method": "quicksort", "Sort Space Used": 155, "Sort Space Type": "Memory"}, {"Worker Number": 1, "Actual Startup Time": 44.795, "Actual Total Time": 44.91, "Actual Rows": 1949, "Actual Loops": 1, "Sort Method": "quicksort", "Sort Space Used": 155, "Sort Space Type": "Memory"}], "Plans": [{"Node Type": "Nested Loop", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Join Type": "Anti", "Startup Cost": 0.43, "Total Cost": 5615.59, "Plan Rows": 279, "Plan Width": 38, "Actual Startup Time": 0.077, "Actual Total Time": 45.186, "Actual Rows": 2112, "Actual Loops": 3, "Output": ["SUBSTRING(customer.c_phone FROM 1 FOR 2)", "customer.c_acctbal"], "Inner Unique": false, "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.131, "Actual Total Time": 43.733, "Actual Rows": 1949, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 0.08, "Actual Total Time": 44.0, "Actual Rows": 1949, "Actual Loops": 1}], "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": true, "Async Capable": false, "Relation Name": "customer", "Schema": "public", "Alias": "customer", "Startup Cost": 0.0, "Total Cost": 5225.62, "Plan Rows": 729, "Plan Width": 26, "Actual Startup Time": 0.023, "Actual Total Time": 28.272, "Actual Rows": 6294, "Actual Loops": 3, "Output": ["customer.c_custkey", "customer.c_name", "customer.c_address", "customer.c_nationkey", "customer.c_phone", "customer.c_acctbal", "customer.c_mktsegment", "customer.c_comment"], "Filter": "((customer.c_acctbal > $1) AND (SUBSTRING(customer.c_phone FROM 1 FOR 2) = ANY ('{17,20,25,31,30,11,33}'::text[])))", "Rows Removed by Filter": 43706, "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.034, "Actual Total Time": 26.966, "Actual Rows": 5777, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 0.028, "Actual Total Time": 27.285, "Actual Rows": 5805, "Actual Loops": 1}]}, {"Node Type": "Index Only Scan", "Parent Relationship": "Inner", "Parallel Aware": false, "Async Capable": false, "Scan Direction": "Forward", "Index Name": "o_ck", "Relation Name": "orders", "Schema": "public", "Alias": "orders", "Startup Cost": 0.43, "Total Cost": 1.41, "Plan Rows": 16, "Plan Width": 4, "Actual Startup Time": 0.002, "Actual Total Time": 0.002, "Actual Rows": 1, "Actual Loops": 18883, "Output": ["orders.o_custkey"], "Index Cond": "(orders.o_custkey = customer.c_custkey)", "Rows Removed by Index Recheck": 0, "Heap Fetches": 0, "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.002, "Actual Total Time": 0.002, "Actual Rows": 1, "Actual Loops": 5777}, {"Worker Number": 1, "Actual Startup Time": 0.002, "Actual Total Time": 0.002, "Actual Rows": 1, "Actual Loops": 5805}]}]}]}]}]}]}, "Planning Time": 0.405, "Triggers": [], "Execution Time": 97.198} diff --git a/dev9/pg15/tpch/sf_1/explain_analyze/15721/3-1.ok b/dev9/pg15/tpch/sf_1/explain_analyze/15721/3-1.ok new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/dev9/pg15/tpch/sf_1/explain_analyze/15721/3-1.res b/dev9/pg15/tpch/sf_1/explain_analyze/15721/3-1.res new file mode 100644 index 0000000000000000000000000000000000000000..cc32413775f9f1bf7809e838507dbb4f6388eaf0 --- /dev/null +++ b/dev9/pg15/tpch/sf_1/explain_analyze/15721/3-1.res @@ -0,0 +1 @@ +{"Plan": {"Node Type": "Limit", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 132958.71, "Total Cost": 132958.73, "Plan Rows": 10, "Plan Width": 44, "Actual Startup Time": 458.943, "Actual Total Time": 550.461, "Actual Rows": 10, "Actual Loops": 1, "Output": ["lineitem.l_orderkey", "(sum((lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount))))", "orders.o_orderdate", "orders.o_shippriority"], "Plans": [{"Node Type": "Sort", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 132958.71, "Total Cost": 133744.59, "Plan Rows": 314353, "Plan Width": 44, "Actual Startup Time": 458.942, "Actual Total Time": 550.458, "Actual Rows": 10, "Actual Loops": 1, "Output": ["lineitem.l_orderkey", "(sum((lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount))))", "orders.o_orderdate", "orders.o_shippriority"], "Sort Key": ["(sum((lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount)))) DESC", "orders.o_orderdate"], "Sort Method": "top-N heapsort", "Sort Space Used": 26, "Sort Space Type": "Memory", "Plans": [{"Node Type": "Aggregate", "Strategy": "Sorted", "Partial Mode": "Finalize", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 84795.66, "Total Cost": 126165.65, "Plan Rows": 314353, "Plan Width": 44, "Actual Startup Time": 434.574, "Actual Total Time": 547.503, "Actual Rows": 11439, "Actual Loops": 1, "Output": ["lineitem.l_orderkey", "sum((lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount)))", "orders.o_orderdate", "orders.o_shippriority"], "Group Key": ["lineitem.l_orderkey", "orders.o_orderdate", "orders.o_shippriority"], "Plans": [{"Node Type": "Gather Merge", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 84795.66, "Total Cost": 118961.74, "Plan Rows": 261960, "Plan Width": 44, "Actual Startup Time": 434.566, "Actual Total Time": 538.405, "Actual Rows": 11439, "Actual Loops": 1, "Output": ["lineitem.l_orderkey", "orders.o_orderdate", "orders.o_shippriority", "(PARTIAL sum((lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount))))"], "Workers Planned": 2, "Workers Launched": 2, "Plans": [{"Node Type": "Aggregate", "Strategy": "Sorted", "Partial Mode": "Partial", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 83795.63, "Total Cost": 87725.03, "Plan Rows": 130980, "Plan Width": 44, "Actual Startup Time": 431.192, "Actual Total Time": 439.711, "Actual Rows": 3813, "Actual Loops": 3, "Output": ["lineitem.l_orderkey", "orders.o_orderdate", "orders.o_shippriority", "PARTIAL sum((lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount)))"], "Group Key": ["lineitem.l_orderkey", "orders.o_orderdate", "orders.o_shippriority"], "Workers": [{"Worker Number": 0, "Actual Startup Time": 429.507, "Actual Total Time": 437.201, "Actual Rows": 3484, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 429.845, "Actual Total Time": 437.545, "Actual Rows": 3510, "Actual Loops": 1}], "Plans": [{"Node Type": "Sort", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 83795.63, "Total Cost": 84123.08, "Plan Rows": 130980, "Plan Width": 24, "Actual Startup Time": 431.176, "Actual Total Time": 431.94, "Actual Rows": 10095, "Actual Loops": 3, "Output": ["lineitem.l_orderkey", "orders.o_orderdate", "orders.o_shippriority", "lineitem.l_extendedprice", "lineitem.l_discount"], "Sort Key": ["lineitem.l_orderkey", "orders.o_orderdate", "orders.o_shippriority"], "Sort Method": "quicksort", "Sort Space Used": 1198, "Sort Space Type": "Memory", "Workers": [{"Worker Number": 0, "Actual Startup Time": 429.49, "Actual Total Time": 430.157, "Actual Rows": 9200, "Actual Loops": 1, "Sort Method": "quicksort", "Sort Space Used": 1013, "Sort Space Type": "Memory"}, {"Worker Number": 1, "Actual Startup Time": 429.831, "Actual Total Time": 430.492, "Actual Rows": 9201, "Actual Loops": 1, "Sort Method": "quicksort", "Sort Space Used": 1014, "Sort Space Type": "Memory"}], "Plans": [{"Node Type": "Nested Loop", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Join Type": "Inner", "Startup Cost": 0.86, "Total Cost": 72663.0, "Plan Rows": 130980, "Plan Width": 24, "Actual Startup Time": 0.728, "Actual Total Time": 426.878, "Actual Rows": 10095, "Actual Loops": 3, "Output": ["lineitem.l_orderkey", "orders.o_orderdate", "orders.o_shippriority", "lineitem.l_extendedprice", "lineitem.l_discount"], "Inner Unique": false, "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.627, "Actual Total Time": 425.435, "Actual Rows": 9200, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 1.473, "Actual Total Time": 425.799, "Actual Rows": 9201, "Actual Loops": 1}], "Plans": [{"Node Type": "Nested Loop", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Join Type": "Inner", "Startup Cost": 0.43, "Total Cost": 27366.5, "Plan Rows": 60665, "Plan Width": 12, "Actual Startup Time": 0.072, "Actual Total Time": 138.011, "Actual Rows": 48593, "Actual Loops": 3, "Output": ["orders.o_orderdate", "orders.o_shippriority", "orders.o_orderkey"], "Inner Unique": false, "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.09, "Actual Total Time": 134.865, "Actual Rows": 45482, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 0.099, "Actual Total Time": 134.829, "Actual Rows": 44923, "Actual Loops": 1}], "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": true, "Async Capable": false, "Relation Name": "customer", "Schema": "public", "Alias": "customer", "Startup Cost": 0.0, "Total Cost": 4366.25, "Plan Rows": 12487, "Plan Width": 4, "Actual Startup Time": 0.018, "Actual Total Time": 15.299, "Actual Rows": 9989, "Actual Loops": 3, "Output": ["customer.c_custkey", "customer.c_name", "customer.c_address", "customer.c_nationkey", "customer.c_phone", "customer.c_acctbal", "customer.c_mktsegment", "customer.c_comment"], "Filter": "(customer.c_mktsegment = 'FURNITURE'::bpchar)", "Rows Removed by Filter": 40011, "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.026, "Actual Total Time": 15.014, "Actual Rows": 9403, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 0.022, "Actual Total Time": 15.058, "Actual Rows": 9199, "Actual Loops": 1}]}, {"Node Type": "Index Scan", "Parent Relationship": "Inner", "Parallel Aware": false, "Async Capable": false, "Scan Direction": "Forward", "Index Name": "o_ck", "Relation Name": "orders", "Schema": "public", "Alias": "orders", "Startup Cost": 0.43, "Total Cost": 1.76, "Plan Rows": 8, "Plan Width": 16, "Actual Startup Time": 0.003, "Actual Total Time": 0.011, "Actual Rows": 5, "Actual Loops": 29968, "Output": ["orders.o_orderkey", "orders.o_custkey", "orders.o_orderstatus", "orders.o_totalprice", "orders.o_orderdate", "orders.o_orderpriority", "orders.o_clerk", "orders.o_shippriority", "orders.o_comment"], "Index Cond": "(orders.o_custkey = customer.c_custkey)", "Rows Removed by Index Recheck": 0, "Filter": "(orders.o_orderdate < '1995-03-20'::date)", "Rows Removed by Filter": 5, "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.003, "Actual Total Time": 0.012, "Actual Rows": 5, "Actual Loops": 9403}, {"Worker Number": 1, "Actual Startup Time": 0.003, "Actual Total Time": 0.012, "Actual Rows": 5, "Actual Loops": 9199}]}]}, {"Node Type": "Index Scan", "Parent Relationship": "Inner", "Parallel Aware": false, "Async Capable": false, "Scan Direction": "Forward", "Index Name": "l_ok", "Relation Name": "lineitem", "Schema": "public", "Alias": "lineitem", "Startup Cost": 0.43, "Total Cost": 0.72, "Plan Rows": 3, "Plan Width": 16, "Actual Startup Time": 0.006, "Actual Total Time": 0.006, "Actual Rows": 0, "Actual Loops": 145780, "Output": ["lineitem.l_orderkey", "lineitem.l_partkey", "lineitem.l_suppkey", "lineitem.l_linenumber", "lineitem.l_quantity", "lineitem.l_extendedprice", "lineitem.l_discount", "lineitem.l_tax", "lineitem.l_returnflag", "lineitem.l_linestatus", "lineitem.l_shipdate", "lineitem.l_commitdate", "lineitem.l_receiptdate", "lineitem.l_shipinstruct", "lineitem.l_shipmode", "lineitem.l_comment"], "Index Cond": "(lineitem.l_orderkey = orders.o_orderkey)", "Rows Removed by Index Recheck": 0, "Filter": "(lineitem.l_shipdate > '1995-03-20'::date)", "Rows Removed by Filter": 4, "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.006, "Actual Total Time": 0.006, "Actual Rows": 0, "Actual Loops": 45482}, {"Worker Number": 1, "Actual Startup Time": 0.006, "Actual Total Time": 0.006, "Actual Rows": 0, "Actual Loops": 44923}]}]}]}]}]}]}]}]}, "Planning Time": 0.776, "Triggers": [], "Execution Time": 550.521} diff --git a/dev9/pg15/tpch/sf_1/explain_analyze/15721/4-1.ok b/dev9/pg15/tpch/sf_1/explain_analyze/15721/4-1.ok new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/dev9/pg15/tpch/sf_1/explain_analyze/15721/4-1.res b/dev9/pg15/tpch/sf_1/explain_analyze/15721/4-1.res new file mode 100644 index 0000000000000000000000000000000000000000..fca6e8c290ca439905541c015fa7926370d4252d --- /dev/null +++ b/dev9/pg15/tpch/sf_1/explain_analyze/15721/4-1.res @@ -0,0 +1 @@ +{"Plan": {"Node Type": "Aggregate", "Strategy": "Sorted", "Partial Mode": "Finalize", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 51433.65, "Total Cost": 51435.55, "Plan Rows": 5, "Plan Width": 24, "Actual Startup Time": 119.179, "Actual Total Time": 145.408, "Actual Rows": 5, "Actual Loops": 1, "Output": ["orders.o_orderpriority", "count(*)"], "Group Key": ["orders.o_orderpriority"], "Plans": [{"Node Type": "Gather Merge", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 51433.65, "Total Cost": 51435.42, "Plan Rows": 15, "Plan Width": 24, "Actual Startup Time": 119.169, "Actual Total Time": 145.395, "Actual Rows": 20, "Actual Loops": 1, "Output": ["orders.o_orderpriority", "(PARTIAL count(*))"], "Workers Planned": 3, "Workers Launched": 3, "Plans": [{"Node Type": "Sort", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 50433.61, "Total Cost": 50433.62, "Plan Rows": 5, "Plan Width": 24, "Actual Startup Time": 115.703, "Actual Total Time": 115.706, "Actual Rows": 5, "Actual Loops": 4, "Output": ["orders.o_orderpriority", "(PARTIAL count(*))"], "Sort Key": ["orders.o_orderpriority"], "Sort Method": "quicksort", "Sort Space Used": 25, "Sort Space Type": "Memory", "Workers": [{"Worker Number": 0, "Actual Startup Time": 114.541, "Actual Total Time": 114.543, "Actual Rows": 5, "Actual Loops": 1, "Sort Method": "quicksort", "Sort Space Used": 25, "Sort Space Type": "Memory"}, {"Worker Number": 1, "Actual Startup Time": 114.666, "Actual Total Time": 114.668, "Actual Rows": 5, "Actual Loops": 1, "Sort Method": "quicksort", "Sort Space Used": 25, "Sort Space Type": "Memory"}, {"Worker Number": 2, "Actual Startup Time": 114.807, "Actual Total Time": 114.81, "Actual Rows": 5, "Actual Loops": 1, "Sort Method": "quicksort", "Sort Space Used": 25, "Sort Space Type": "Memory"}], "Plans": [{"Node Type": "Aggregate", "Strategy": "Hashed", "Partial Mode": "Partial", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 50433.5, "Total Cost": 50433.55, "Plan Rows": 5, "Plan Width": 24, "Actual Startup Time": 115.674, "Actual Total Time": 115.676, "Actual Rows": 5, "Actual Loops": 4, "Output": ["orders.o_orderpriority", "PARTIAL count(*)"], "Group Key": ["orders.o_orderpriority"], "Planned Partitions": 0, "HashAgg Batches": 1, "Peak Memory Usage": 24, "Disk Usage": 0, "Workers": [{"Worker Number": 0, "Actual Startup Time": 114.503, "Actual Total Time": 114.505, "Actual Rows": 5, "Actual Loops": 1, "HashAgg Batches": 1, "Peak Memory Usage": 24, "Disk Usage": 0}, {"Worker Number": 1, "Actual Startup Time": 114.632, "Actual Total Time": 114.634, "Actual Rows": 5, "Actual Loops": 1, "HashAgg Batches": 1, "Peak Memory Usage": 24, "Disk Usage": 0}, {"Worker Number": 2, "Actual Startup Time": 114.774, "Actual Total Time": 114.777, "Actual Rows": 5, "Actual Loops": 1, "HashAgg Batches": 1, "Peak Memory Usage": 24, "Disk Usage": 0}], "Plans": [{"Node Type": "Nested Loop", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Join Type": "Semi", "Startup Cost": 641.96, "Total Cost": 50358.67, "Plan Rows": 14966, "Plan Width": 16, "Actual Startup Time": 10.988, "Actual Total Time": 111.224, "Actual Rows": 12952, "Actual Loops": 4, "Output": ["orders.o_orderpriority"], "Inner Unique": false, "Workers": [{"Worker Number": 0, "Actual Startup Time": 9.952, "Actual Total Time": 110.574, "Actual Rows": 10903, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 10.06, "Actual Total Time": 110.711, "Actual Rows": 11052, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 10.206, "Actual Total Time": 110.878, "Actual Rows": 10893, "Actual Loops": 1}], "Plans": [{"Node Type": "Bitmap Heap Scan", "Parent Relationship": "Outer", "Parallel Aware": true, "Async Capable": false, "Relation Name": "orders", "Schema": "public", "Alias": "orders", "Startup Cost": 641.53, "Total Cost": 27012.69, "Plan Rows": 18411, "Plan Width": 20, "Actual Startup Time": 10.921, "Actual Total Time": 33.404, "Actual Rows": 14142, "Actual Loops": 4, "Output": ["orders.o_orderkey", "orders.o_custkey", "orders.o_orderstatus", "orders.o_totalprice", "orders.o_orderdate", "orders.o_orderpriority", "orders.o_clerk", "orders.o_shippriority", "orders.o_comment"], "Recheck Cond": "((orders.o_orderdate >= '1996-01-01'::date) AND (orders.o_orderdate < '1996-04-01 00:00:00'::timestamp without time zone))", "Rows Removed by Index Recheck": 0, "Exact Heap Blocks": 8486, "Lossy Heap Blocks": 0, "Workers": [{"Worker Number": 0, "Actual Startup Time": 9.866, "Actual Total Time": 33.279, "Actual Rows": 11922, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 9.979, "Actual Total Time": 33.686, "Actual Rows": 12094, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 10.122, "Actual Total Time": 33.906, "Actual Rows": 11878, "Actual Loops": 1}], "Plans": [{"Node Type": "Bitmap Index Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Index Name": "o_od", "Startup Cost": 0.0, "Total Cost": 627.26, "Plan Rows": 57073, "Plan Width": 0, "Actual Startup Time": 7.687, "Actual Total Time": 7.687, "Actual Rows": 56568, "Actual Loops": 1, "Index Cond": "((orders.o_orderdate >= '1996-01-01'::date) AND (orders.o_orderdate < '1996-04-01 00:00:00'::timestamp without time zone))", "Workers": []}]}, {"Node Type": "Index Scan", "Parent Relationship": "Inner", "Parallel Aware": false, "Async Capable": false, "Scan Direction": "Forward", "Index Name": "l_ok", "Relation Name": "lineitem", "Schema": "public", "Alias": "lineitem", "Startup Cost": 0.43, "Total Cost": 1.59, "Plan Rows": 2, "Plan Width": 4, "Actual Startup Time": 0.005, "Actual Total Time": 0.005, "Actual Rows": 1, "Actual Loops": 56568, "Output": ["lineitem.l_orderkey", "lineitem.l_partkey", "lineitem.l_suppkey", "lineitem.l_linenumber", "lineitem.l_quantity", "lineitem.l_extendedprice", "lineitem.l_discount", "lineitem.l_tax", "lineitem.l_returnflag", "lineitem.l_linestatus", "lineitem.l_shipdate", "lineitem.l_commitdate", "lineitem.l_receiptdate", "lineitem.l_shipinstruct", "lineitem.l_shipmode", "lineitem.l_comment"], "Index Cond": "(lineitem.l_orderkey = orders.o_orderkey)", "Rows Removed by Index Recheck": 0, "Filter": "(lineitem.l_commitdate < lineitem.l_receiptdate)", "Rows Removed by Filter": 1, "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.006, "Actual Total Time": 0.006, "Actual Rows": 1, "Actual Loops": 11922}, {"Worker Number": 1, "Actual Startup Time": 0.006, "Actual Total Time": 0.006, "Actual Rows": 1, "Actual Loops": 12094}, {"Worker Number": 2, "Actual Startup Time": 0.006, "Actual Total Time": 0.006, "Actual Rows": 1, "Actual Loops": 11878}]}]}]}]}]}]}, "Planning Time": 0.412, "Triggers": [], "Execution Time": 145.468} diff --git a/dev9/pg15/tpch/sf_1/explain_analyze/15721/5-1.ok b/dev9/pg15/tpch/sf_1/explain_analyze/15721/5-1.ok new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/dev9/pg15/tpch/sf_1/explain_analyze/15721/5-1.res b/dev9/pg15/tpch/sf_1/explain_analyze/15721/5-1.res new file mode 100644 index 0000000000000000000000000000000000000000..bb1bf6e131d31087e285048483a2a48b7cd0280b --- /dev/null +++ b/dev9/pg15/tpch/sf_1/explain_analyze/15721/5-1.res @@ -0,0 +1 @@ +{"Plan": {"Node Type": "Sort", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 41336.38, "Total Cost": 41336.44, "Plan Rows": 25, "Plan Width": 58, "Actual Startup Time": 267.467, "Actual Total Time": 300.155, "Actual Rows": 5, "Actual Loops": 1, "Output": ["nation.n_name", "(sum((lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount))))"], "Sort Key": ["(sum((lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount)))) DESC"], "Sort Method": "quicksort", "Sort Space Used": 25, "Sort Space Type": "Memory", "Plans": [{"Node Type": "Aggregate", "Strategy": "Sorted", "Partial Mode": "Finalize", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 41290.92, "Total Cost": 41335.8, "Plan Rows": 25, "Plan Width": 58, "Actual Startup Time": 266.377, "Actual Total Time": 300.147, "Actual Rows": 5, "Actual Loops": 1, "Output": ["nation.n_name", "sum((lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount)))"], "Group Key": ["nation.n_name"], "Plans": [{"Node Type": "Gather Merge", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 41290.92, "Total Cost": 41335.11, "Plan Rows": 50, "Plan Width": 58, "Actual Startup Time": 265.99, "Actual Total Time": 300.127, "Actual Rows": 15, "Actual Loops": 1, "Output": ["nation.n_name", "(PARTIAL sum((lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount))))"], "Workers Planned": 2, "Workers Launched": 2, "Plans": [{"Node Type": "Aggregate", "Strategy": "Sorted", "Partial Mode": "Partial", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 40290.89, "Total Cost": 40329.32, "Plan Rows": 25, "Plan Width": 58, "Actual Startup Time": 261.791, "Actual Total Time": 262.969, "Actual Rows": 5, "Actual Loops": 3, "Output": ["nation.n_name", "PARTIAL sum((lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount)))"], "Group Key": ["nation.n_name"], "Workers": [{"Worker Number": 0, "Actual Startup Time": 260.192, "Actual Total Time": 261.207, "Actual Rows": 5, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 260.474, "Actual Total Time": 261.544, "Actual Rows": 5, "Actual Loops": 1}], "Plans": [{"Node Type": "Sort", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 40290.89, "Total Cost": 40298.52, "Plan Rows": 3049, "Plan Width": 38, "Actual Startup Time": 261.496, "Actual Total Time": 261.655, "Actual Rows": 2456, "Actual Loops": 3, "Output": ["nation.n_name", "lineitem.l_extendedprice", "lineitem.l_discount"], "Sort Key": ["nation.n_name"], "Sort Method": "quicksort", "Sort Space Used": 329, "Sort Space Type": "Memory", "Workers": [{"Worker Number": 0, "Actual Startup Time": 259.918, "Actual Total Time": 260.051, "Actual Rows": 2166, "Actual Loops": 1, "Sort Method": "quicksort", "Sort Space Used": 266, "Sort Space Type": "Memory"}, {"Worker Number": 1, "Actual Startup Time": 260.215, "Actual Total Time": 260.353, "Actual Rows": 2227, "Actual Loops": 1, "Sort Method": "quicksort", "Sort Space Used": 270, "Sort Space Type": "Memory"}], "Plans": [{"Node Type": "Hash Join", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Join Type": "Inner", "Startup Cost": 475.37, "Total Cost": 40114.45, "Plan Rows": 3049, "Plan Width": 38, "Actual Startup Time": 4.973, "Actual Total Time": 260.349, "Actual Rows": 2456, "Actual Loops": 3, "Output": ["nation.n_name", "lineitem.l_extendedprice", "lineitem.l_discount"], "Inner Unique": true, "Hash Cond": "((lineitem.l_suppkey = supplier.s_suppkey) AND (customer.c_nationkey = supplier.s_nationkey))", "Workers": [{"Worker Number": 0, "Actual Startup Time": 6.034, "Actual Total Time": 258.861, "Actual Rows": 2166, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 5.271, "Actual Total Time": 259.133, "Actual Rows": 2227, "Actual Loops": 1}], "Plans": [{"Node Type": "Nested Loop", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Join Type": "Inner", "Startup Cost": 3.37, "Total Cost": 39242.29, "Plan Rows": 76220, "Plan Width": 50, "Actual Startup Time": 0.275, "Actual Total Time": 244.528, "Actual Rows": 60955, "Actual Loops": 3, "Output": ["customer.c_nationkey", "lineitem.l_extendedprice", "lineitem.l_discount", "lineitem.l_suppkey", "nation.n_name", "nation.n_nationkey"], "Inner Unique": false, "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.416, "Actual Total Time": 243.615, "Actual Rows": 55623, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 0.344, "Actual Total Time": 243.84, "Actual Rows": 55029, "Actual Loops": 1}], "Plans": [{"Node Type": "Nested Loop", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Join Type": "Inner", "Startup Cost": 2.94, "Total Cost": 17199.03, "Plan Rows": 19051, "Plan Width": 38, "Actual Startup Time": 0.231, "Actual Total Time": 130.087, "Actual Rows": 15210, "Actual Loops": 3, "Output": ["customer.c_nationkey", "orders.o_orderkey", "nation.n_name", "nation.n_nationkey"], "Inner Unique": false, "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.358, "Actual Total Time": 124.753, "Actual Rows": 13830, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 0.279, "Actual Total Time": 124.289, "Actual Rows": 13739, "Actual Loops": 1}], "Plans": [{"Node Type": "Hash Join", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Join Type": "Inner", "Startup Cost": 2.51, "Total Cost": 4571.88, "Plan Rows": 12500, "Plan Width": 38, "Actual Startup Time": 0.119, "Actual Total Time": 19.571, "Actual Rows": 9984, "Actual Loops": 3, "Output": ["customer.c_custkey", "customer.c_nationkey", "nation.n_name", "nation.n_nationkey"], "Inner Unique": false, "Hash Cond": "(customer.c_nationkey = nation.n_nationkey)", "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.161, "Actual Total Time": 18.696, "Actual Rows": 9103, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 0.159, "Actual Total Time": 18.577, "Actual Rows": 9030, "Actual Loops": 1}], "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": true, "Async Capable": false, "Relation Name": "customer", "Schema": "public", "Alias": "customer", "Startup Cost": 0.0, "Total Cost": 4210.0, "Plan Rows": 62500, "Plan Width": 8, "Actual Startup Time": 0.011, "Actual Total Time": 5.853, "Actual Rows": 50000, "Actual Loops": 3, "Output": ["customer.c_custkey", "customer.c_name", "customer.c_address", "customer.c_nationkey", "customer.c_phone", "customer.c_acctbal", "customer.c_mktsegment", "customer.c_comment"], "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.015, "Actual Total Time": 5.92, "Actual Rows": 46035, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 0.015, "Actual Total Time": 5.808, "Actual Rows": 45275, "Actual Loops": 1}]}, {"Node Type": "Hash", "Parent Relationship": "Inner", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 2.45, "Total Cost": 2.45, "Plan Rows": 5, "Plan Width": 30, "Actual Startup Time": 0.061, "Actual Total Time": 0.063, "Actual Rows": 5, "Actual Loops": 3, "Output": ["nation.n_name", "nation.n_nationkey"], "Hash Buckets": 1024, "Original Hash Buckets": 1024, "Hash Batches": 1, "Original Hash Batches": 1, "Peak Memory Usage": 9, "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.079, "Actual Total Time": 0.081, "Actual Rows": 5, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 0.075, "Actual Total Time": 0.077, "Actual Rows": 5, "Actual Loops": 1}], "Plans": [{"Node Type": "Hash Join", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Join Type": "Inner", "Startup Cost": 1.07, "Total Cost": 2.45, "Plan Rows": 5, "Plan Width": 30, "Actual Startup Time": 0.049, "Actual Total Time": 0.058, "Actual Rows": 5, "Actual Loops": 3, "Output": ["nation.n_name", "nation.n_nationkey"], "Inner Unique": true, "Hash Cond": "(nation.n_regionkey = region.r_regionkey)", "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.066, "Actual Total Time": 0.074, "Actual Rows": 5, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 0.064, "Actual Total Time": 0.073, "Actual Rows": 5, "Actual Loops": 1}], "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Relation Name": "nation", "Schema": "public", "Alias": "nation", "Startup Cost": 0.0, "Total Cost": 1.25, "Plan Rows": 25, "Plan Width": 34, "Actual Startup Time": 0.015, "Actual Total Time": 0.017, "Actual Rows": 25, "Actual Loops": 3, "Output": ["nation.n_nationkey", "nation.n_name", "nation.n_regionkey", "nation.n_comment"], "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.021, "Actual Total Time": 0.024, "Actual Rows": 25, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 0.021, "Actual Total Time": 0.023, "Actual Rows": 25, "Actual Loops": 1}]}, {"Node Type": "Hash", "Parent Relationship": "Inner", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 1.06, "Total Cost": 1.06, "Plan Rows": 1, "Plan Width": 4, "Actual Startup Time": 0.021, "Actual Total Time": 0.022, "Actual Rows": 1, "Actual Loops": 3, "Output": ["region.r_regionkey"], "Hash Buckets": 1024, "Original Hash Buckets": 1024, "Hash Batches": 1, "Original Hash Batches": 1, "Peak Memory Usage": 9, "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.028, "Actual Total Time": 0.028, "Actual Rows": 1, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 0.026, "Actual Total Time": 0.027, "Actual Rows": 1, "Actual Loops": 1}], "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Relation Name": "region", "Schema": "public", "Alias": "region", "Startup Cost": 0.0, "Total Cost": 1.06, "Plan Rows": 1, "Plan Width": 4, "Actual Startup Time": 0.017, "Actual Total Time": 0.018, "Actual Rows": 1, "Actual Loops": 3, "Output": ["region.r_regionkey"], "Filter": "(region.r_name = 'AMERICA'::bpchar)", "Rows Removed by Filter": 4, "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.023, "Actual Total Time": 0.024, "Actual Rows": 1, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 0.021, "Actual Total Time": 0.023, "Actual Rows": 1, "Actual Loops": 1}]}]}]}]}]}, {"Node Type": "Index Scan", "Parent Relationship": "Inner", "Parallel Aware": false, "Async Capable": false, "Scan Direction": "Forward", "Index Name": "o_ck", "Relation Name": "orders", "Schema": "public", "Alias": "orders", "Startup Cost": 0.43, "Total Cost": 0.99, "Plan Rows": 2, "Plan Width": 8, "Actual Startup Time": 0.005, "Actual Total Time": 0.011, "Actual Rows": 2, "Actual Loops": 29952, "Output": ["orders.o_orderkey", "orders.o_custkey", "orders.o_orderstatus", "orders.o_totalprice", "orders.o_orderdate", "orders.o_orderpriority", "orders.o_clerk", "orders.o_shippriority", "orders.o_comment"], "Index Cond": "(orders.o_custkey = customer.c_custkey)", "Rows Removed by Index Recheck": 0, "Filter": "((orders.o_orderdate >= '1995-01-01'::date) AND (orders.o_orderdate < '1996-01-01 00:00:00'::timestamp without time zone))", "Rows Removed by Filter": 8, "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.005, "Actual Total Time": 0.011, "Actual Rows": 2, "Actual Loops": 9103}, {"Worker Number": 1, "Actual Startup Time": 0.006, "Actual Total Time": 0.011, "Actual Rows": 2, "Actual Loops": 9030}]}]}, {"Node Type": "Index Scan", "Parent Relationship": "Inner", "Parallel Aware": false, "Async Capable": false, "Scan Direction": "Forward", "Index Name": "l_ok", "Relation Name": "lineitem", "Schema": "public", "Alias": "lineitem", "Startup Cost": 0.43, "Total Cost": 1.11, "Plan Rows": 5, "Plan Width": 20, "Actual Startup Time": 0.006, "Actual Total Time": 0.007, "Actual Rows": 4, "Actual Loops": 45630, "Output": ["lineitem.l_orderkey", "lineitem.l_partkey", "lineitem.l_suppkey", "lineitem.l_linenumber", "lineitem.l_quantity", "lineitem.l_extendedprice", "lineitem.l_discount", "lineitem.l_tax", "lineitem.l_returnflag", "lineitem.l_linestatus", "lineitem.l_shipdate", "lineitem.l_commitdate", "lineitem.l_receiptdate", "lineitem.l_shipinstruct", "lineitem.l_shipmode", "lineitem.l_comment"], "Index Cond": "(lineitem.l_orderkey = orders.o_orderkey)", "Rows Removed by Index Recheck": 0, "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.007, "Actual Total Time": 0.008, "Actual Rows": 4, "Actual Loops": 13830}, {"Worker Number": 1, "Actual Startup Time": 0.007, "Actual Total Time": 0.008, "Actual Rows": 4, "Actual Loops": 13739}]}]}, {"Node Type": "Hash", "Parent Relationship": "Inner", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 322.0, "Total Cost": 322.0, "Plan Rows": 10000, "Plan Width": 8, "Actual Startup Time": 4.138, "Actual Total Time": 4.138, "Actual Rows": 10000, "Actual Loops": 3, "Output": ["supplier.s_suppkey", "supplier.s_nationkey"], "Hash Buckets": 16384, "Original Hash Buckets": 16384, "Hash Batches": 1, "Original Hash Batches": 1, "Peak Memory Usage": 519, "Workers": [{"Worker Number": 0, "Actual Startup Time": 4.461, "Actual Total Time": 4.461, "Actual Rows": 10000, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 4.429, "Actual Total Time": 4.43, "Actual Rows": 10000, "Actual Loops": 1}], "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Relation Name": "supplier", "Schema": "public", "Alias": "supplier", "Startup Cost": 0.0, "Total Cost": 322.0, "Plan Rows": 10000, "Plan Width": 8, "Actual Startup Time": 0.017, "Actual Total Time": 2.395, "Actual Rows": 10000, "Actual Loops": 3, "Output": ["supplier.s_suppkey", "supplier.s_nationkey"], "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.024, "Actual Total Time": 2.636, "Actual Rows": 10000, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 0.023, "Actual Total Time": 2.614, "Actual Rows": 10000, "Actual Loops": 1}]}]}]}]}]}]}]}]}, "Planning Time": 2.716, "Triggers": [], "Execution Time": 300.233} diff --git a/dev9/pg15/tpch/sf_1/explain_analyze/15721/6-1.ok b/dev9/pg15/tpch/sf_1/explain_analyze/15721/6-1.ok new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/dev9/pg15/tpch/sf_1/explain_analyze/15721/6-1.res b/dev9/pg15/tpch/sf_1/explain_analyze/15721/6-1.res new file mode 100644 index 0000000000000000000000000000000000000000..ae3a4a61862e7658692de874203a1069699f27fe --- /dev/null +++ b/dev9/pg15/tpch/sf_1/explain_analyze/15721/6-1.res @@ -0,0 +1 @@ +{"Plan": {"Node Type": "Aggregate", "Strategy": "Plain", "Partial Mode": "Finalize", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 127815.19, "Total Cost": 127815.2, "Plan Rows": 1, "Plan Width": 32, "Actual Startup Time": 277.761, "Actual Total Time": 306.524, "Actual Rows": 1, "Actual Loops": 1, "Output": ["sum((l_extendedprice * l_discount))"], "Plans": [{"Node Type": "Gather", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 127814.66, "Total Cost": 127815.17, "Plan Rows": 5, "Plan Width": 32, "Actual Startup Time": 274.975, "Actual Total Time": 306.51, "Actual Rows": 6, "Actual Loops": 1, "Output": ["(PARTIAL sum((l_extendedprice * l_discount)))"], "Workers Planned": 5, "Workers Launched": 5, "Single Copy": false, "Plans": [{"Node Type": "Aggregate", "Strategy": "Plain", "Partial Mode": "Partial", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 126814.66, "Total Cost": 126814.67, "Plan Rows": 1, "Plan Width": 32, "Actual Startup Time": 271.135, "Actual Total Time": 271.136, "Actual Rows": 1, "Actual Loops": 6, "Output": ["PARTIAL sum((l_extendedprice * l_discount))"], "Workers": [{"Worker Number": 0, "Actual Startup Time": 269.677, "Actual Total Time": 269.679, "Actual Rows": 1, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 270.518, "Actual Total Time": 270.519, "Actual Rows": 1, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 270.531, "Actual Total Time": 270.533, "Actual Rows": 1, "Actual Loops": 1}, {"Worker Number": 3, "Actual Startup Time": 270.611, "Actual Total Time": 270.613, "Actual Rows": 1, "Actual Loops": 1}, {"Worker Number": 4, "Actual Startup Time": 270.871, "Actual Total Time": 270.872, "Actual Rows": 1, "Actual Loops": 1}], "Plans": [{"Node Type": "Bitmap Heap Scan", "Parent Relationship": "Outer", "Parallel Aware": true, "Async Capable": false, "Relation Name": "lineitem", "Schema": "public", "Alias": "lineitem", "Startup Cost": 10072.52, "Total Cost": 126700.62, "Plan Rows": 22807, "Plan Width": 12, "Actual Startup Time": 116.598, "Actual Total Time": 264.922, "Actual Rows": 19184, "Actual Loops": 6, "Output": ["l_orderkey", "l_partkey", "l_suppkey", "l_linenumber", "l_quantity", "l_extendedprice", "l_discount", "l_tax", "l_returnflag", "l_linestatus", "l_shipdate", "l_commitdate", "l_receiptdate", "l_shipinstruct", "l_shipmode", "l_comment"], "Recheck Cond": "((lineitem.l_shipdate >= '1995-01-01'::date) AND (lineitem.l_shipdate < '1996-01-01 00:00:00'::timestamp without time zone))", "Rows Removed by Index Recheck": 0, "Filter": "((lineitem.l_discount >= 0.04) AND (lineitem.l_discount <= 0.06) AND (lineitem.l_quantity < '24'::numeric))", "Rows Removed by Filter": 133310, "Exact Heap Blocks": 26365, "Lossy Heap Blocks": 0, "Workers": [{"Worker Number": 0, "Actual Startup Time": 115.226, "Actual Total Time": 263.984, "Actual Rows": 17288, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 116.111, "Actual Total Time": 264.818, "Actual Rows": 17300, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 116.184, "Actual Total Time": 264.865, "Actual Rows": 17123, "Actual Loops": 1}, {"Worker Number": 3, "Actual Startup Time": 116.136, "Actual Total Time": 264.88, "Actual Rows": 17380, "Actual Loops": 1}, {"Worker Number": 4, "Actual Startup Time": 116.431, "Actual Total Time": 265.277, "Actual Rows": 16830, "Actual Loops": 1}], "Plans": [{"Node Type": "Bitmap Index Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Index Name": "l_sd", "Startup Cost": 0.0, "Total Cost": 10044.01, "Plan Rows": 916688, "Plan Width": 0, "Actual Startup Time": 85.06, "Actual Total Time": 85.061, "Actual Rows": 914963, "Actual Loops": 1, "Index Cond": "((lineitem.l_shipdate >= '1995-01-01'::date) AND (lineitem.l_shipdate < '1996-01-01 00:00:00'::timestamp without time zone))", "Workers": []}]}]}]}]}, "Planning Time": 0.147, "Triggers": [], "Execution Time": 306.559} diff --git a/dev9/pg15/tpch/sf_1/explain_analyze/15721/7-1.ok b/dev9/pg15/tpch/sf_1/explain_analyze/15721/7-1.ok new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/dev9/pg15/tpch/sf_1/explain_analyze/15721/7-1.res b/dev9/pg15/tpch/sf_1/explain_analyze/15721/7-1.res new file mode 100644 index 0000000000000000000000000000000000000000..068b8453a1c63da6a2c50af28b28e61903b946ea --- /dev/null +++ b/dev9/pg15/tpch/sf_1/explain_analyze/15721/7-1.res @@ -0,0 +1 @@ +{"Plan": {"Node Type": "Aggregate", "Strategy": "Sorted", "Partial Mode": "Finalize", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 36236.64, "Total Cost": 37060.5, "Plan Rows": 6097, "Plan Width": 116, "Actual Startup Time": 655.994, "Actual Total Time": 698.731, "Actual Rows": 4, "Actual Loops": 1, "Output": ["n1.n_name", "n2.n_name", "(EXTRACT(year FROM lineitem.l_shipdate))", "sum((lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount)))"], "Group Key": ["n1.n_name", "n2.n_name", "(EXTRACT(year FROM lineitem.l_shipdate))"], "Plans": [{"Node Type": "Gather Merge", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 36236.64, "Total Cost": 36905.55, "Plan Rows": 5080, "Plan Width": 116, "Actual Startup Time": 655.077, "Actual Total Time": 698.712, "Actual Rows": 12, "Actual Loops": 1, "Output": ["n1.n_name", "n2.n_name", "(EXTRACT(year FROM lineitem.l_shipdate))", "(PARTIAL sum((lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount))))"], "Workers Planned": 2, "Workers Launched": 2, "Plans": [{"Node Type": "Aggregate", "Strategy": "Sorted", "Partial Mode": "Partial", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 35236.62, "Total Cost": 35319.17, "Plan Rows": 2540, "Plan Width": 116, "Actual Startup Time": 650.13, "Actual Total Time": 651.261, "Actual Rows": 4, "Actual Loops": 3, "Output": ["n1.n_name", "n2.n_name", "(EXTRACT(year FROM lineitem.l_shipdate))", "PARTIAL sum((lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount)))"], "Group Key": ["n1.n_name", "n2.n_name", "(EXTRACT(year FROM lineitem.l_shipdate))"], "Workers": [{"Worker Number": 0, "Actual Startup Time": 647.773, "Actual Total Time": 648.14, "Actual Rows": 4, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 648.023, "Actual Total Time": 648.366, "Actual Rows": 4, "Actual Loops": 1}], "Plans": [{"Node Type": "Sort", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 35236.62, "Total Cost": 35242.97, "Plan Rows": 2540, "Plan Width": 96, "Actual Startup Time": 649.74, "Actual Total Time": 649.871, "Actual Rows": 1875, "Actual Loops": 3, "Output": ["n1.n_name", "n2.n_name", "(EXTRACT(year FROM lineitem.l_shipdate))", "lineitem.l_extendedprice", "lineitem.l_discount"], "Sort Key": ["n1.n_name", "n2.n_name", "(EXTRACT(year FROM lineitem.l_shipdate))"], "Sort Method": "quicksort", "Sort Space Used": 681, "Sort Space Type": "Memory", "Workers": [{"Worker Number": 0, "Actual Startup Time": 647.651, "Actual Total Time": 647.692, "Actual Rows": 591, "Actual Loops": 1, "Sort Method": "quicksort", "Sort Space Used": 89, "Sort Space Type": "Memory"}, {"Worker Number": 1, "Actual Startup Time": 647.896, "Actual Total Time": 647.935, "Actual Rows": 563, "Actual Loops": 1, "Sort Method": "quicksort", "Sort Space Used": 86, "Sort Space Type": "Memory"}], "Plans": [{"Node Type": "Hash Join", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Join Type": "Inner", "Startup Cost": 25049.14, "Total Cost": 35092.97, "Plan Rows": 2540, "Plan Width": 96, "Actual Startup Time": 569.352, "Actual Total Time": 648.404, "Actual Rows": 1875, "Actual Loops": 3, "Output": ["n1.n_name", "n2.n_name", "EXTRACT(year FROM lineitem.l_shipdate)", "lineitem.l_extendedprice", "lineitem.l_discount"], "Inner Unique": false, "Hash Cond": "(orders.o_orderkey = lineitem.l_orderkey)", "Join Filter": "(((n1.n_name = 'IRAN'::bpchar) AND (n2.n_name = 'ETHIOPIA'::bpchar)) OR ((n1.n_name = 'ETHIOPIA'::bpchar) AND (n2.n_name = 'IRAN'::bpchar)))", "Rows Removed by Join Filter": 1861, "Workers": [{"Worker Number": 0, "Actual Startup Time": 613.81, "Actual Total Time": 647.145, "Actual Rows": 591, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 613.799, "Actual Total Time": 647.422, "Actual Rows": 563, "Actual Loops": 1}], "Plans": [{"Node Type": "Nested Loop", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Join Type": "Inner", "Startup Cost": 1.83, "Total Cost": 9754.13, "Plan Rows": 50000, "Plan Width": 30, "Actual Startup Time": 0.127, "Actual Total Time": 67.51, "Actual Rows": 39794, "Actual Loops": 3, "Output": ["orders.o_orderkey", "n2.n_name"], "Inner Unique": false, "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.171, "Actual Total Time": 30.001, "Actual Rows": 11664, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 0.169, "Actual Total Time": 30.041, "Actual Rows": 11608, "Actual Loops": 1}], "Plans": [{"Node Type": "Hash Join", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Join Type": "Inner", "Startup Cost": 1.4, "Total Cost": 4403.27, "Plan Rows": 5000, "Plan Width": 30, "Actual Startup Time": 0.084, "Actual Total Time": 15.744, "Actual Rows": 3987, "Actual Loops": 3, "Output": ["customer.c_custkey", "n2.n_name"], "Inner Unique": true, "Hash Cond": "(customer.c_nationkey = n2.n_nationkey)", "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.112, "Actual Total Time": 5.275, "Actual Rows": 1160, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 0.113, "Actual Total Time": 5.151, "Actual Rows": 1161, "Actual Loops": 1}], "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": true, "Async Capable": false, "Relation Name": "customer", "Schema": "public", "Alias": "customer", "Startup Cost": 0.0, "Total Cost": 4210.0, "Plan Rows": 62500, "Plan Width": 8, "Actual Startup Time": 0.01, "Actual Total Time": 4.981, "Actual Rows": 50000, "Actual Loops": 3, "Output": ["customer.c_custkey", "customer.c_name", "customer.c_address", "customer.c_nationkey", "customer.c_phone", "customer.c_acctbal", "customer.c_mktsegment", "customer.c_comment"], "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.015, "Actual Total Time": 1.861, "Actual Rows": 14871, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 0.013, "Actual Total Time": 1.809, "Actual Rows": 14229, "Actual Loops": 1}]}, {"Node Type": "Hash", "Parent Relationship": "Inner", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 1.38, "Total Cost": 1.38, "Plan Rows": 2, "Plan Width": 30, "Actual Startup Time": 0.032, "Actual Total Time": 0.032, "Actual Rows": 2, "Actual Loops": 3, "Output": ["n2.n_name", "n2.n_nationkey"], "Hash Buckets": 1024, "Original Hash Buckets": 1024, "Hash Batches": 1, "Original Hash Batches": 1, "Peak Memory Usage": 9, "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.036, "Actual Total Time": 0.037, "Actual Rows": 2, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 0.044, "Actual Total Time": 0.045, "Actual Rows": 2, "Actual Loops": 1}], "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Relation Name": "nation", "Schema": "public", "Alias": "n2", "Startup Cost": 0.0, "Total Cost": 1.38, "Plan Rows": 2, "Plan Width": 30, "Actual Startup Time": 0.021, "Actual Total Time": 0.027, "Actual Rows": 2, "Actual Loops": 3, "Output": ["n2.n_name", "n2.n_nationkey"], "Filter": "((n2.n_name = 'ETHIOPIA'::bpchar) OR (n2.n_name = 'IRAN'::bpchar))", "Rows Removed by Filter": 23, "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.025, "Actual Total Time": 0.03, "Actual Rows": 2, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 0.032, "Actual Total Time": 0.038, "Actual Rows": 2, "Actual Loops": 1}]}]}]}, {"Node Type": "Index Scan", "Parent Relationship": "Inner", "Parallel Aware": false, "Async Capable": false, "Scan Direction": "Forward", "Index Name": "o_ck", "Relation Name": "orders", "Schema": "public", "Alias": "orders", "Startup Cost": 0.43, "Total Cost": 0.91, "Plan Rows": 16, "Plan Width": 8, "Actual Startup Time": 0.003, "Actual Total Time": 0.011, "Actual Rows": 10, "Actual Loops": 11961, "Output": ["orders.o_orderkey", "orders.o_custkey", "orders.o_orderstatus", "orders.o_totalprice", "orders.o_orderdate", "orders.o_orderpriority", "orders.o_clerk", "orders.o_shippriority", "orders.o_comment"], "Index Cond": "(orders.o_custkey = customer.c_custkey)", "Rows Removed by Index Recheck": 0, "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.004, "Actual Total Time": 0.02, "Actual Rows": 10, "Actual Loops": 1160}, {"Worker Number": 1, "Actual Startup Time": 0.004, "Actual Total Time": 0.02, "Actual Rows": 10, "Actual Loops": 1161}]}]}, {"Node Type": "Hash", "Parent Relationship": "Inner", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 23215.91, "Total Cost": 23215.91, "Plan Rows": 146512, "Plan Width": 46, "Actual Startup Time": 568.143, "Actual Total Time": 568.145, "Actual Rows": 140959, "Actual Loops": 3, "Output": ["lineitem.l_shipdate", "lineitem.l_extendedprice", "lineitem.l_discount", "lineitem.l_orderkey", "n1.n_name"], "Hash Buckets": 262144, "Original Hash Buckets": 262144, "Hash Batches": 1, "Original Hash Batches": 1, "Peak Memory Usage": 13200, "Workers": [{"Worker Number": 0, "Actual Startup Time": 612.036, "Actual Total Time": 612.038, "Actual Rows": 140959, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 612.313, "Actual Total Time": 612.315, "Actual Rows": 140959, "Actual Loops": 1}], "Plans": [{"Node Type": "Nested Loop", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Join Type": "Inner", "Startup Cost": 4.92, "Total Cost": 23215.91, "Plan Rows": 146512, "Plan Width": 46, "Actual Startup Time": 0.155, "Actual Total Time": 523.924, "Actual Rows": 140959, "Actual Loops": 3, "Output": ["lineitem.l_shipdate", "lineitem.l_extendedprice", "lineitem.l_discount", "lineitem.l_orderkey", "n1.n_name"], "Inner Unique": false, "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.198, "Actual Total Time": 565.662, "Actual Rows": 140959, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 0.188, "Actual Total Time": 565.729, "Actual Rows": 140959, "Actual Loops": 1}], "Plans": [{"Node Type": "Nested Loop", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Join Type": "Inner", "Startup Cost": 4.48, "Total Cost": 256.85, "Plan Rows": 800, "Plan Width": 30, "Actual Startup Time": 0.102, "Actual Total Time": 1.156, "Actual Rows": 773, "Actual Loops": 3, "Output": ["supplier.s_suppkey", "n1.n_name"], "Inner Unique": false, "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.123, "Actual Total Time": 1.234, "Actual Rows": 773, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 0.119, "Actual Total Time": 1.273, "Actual Rows": 773, "Actual Loops": 1}], "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Relation Name": "nation", "Schema": "public", "Alias": "n1", "Startup Cost": 0.0, "Total Cost": 1.38, "Plan Rows": 2, "Plan Width": 30, "Actual Startup Time": 0.004, "Actual Total Time": 0.013, "Actual Rows": 2, "Actual Loops": 3, "Output": ["n1.n_nationkey", "n1.n_name", "n1.n_regionkey", "n1.n_comment"], "Filter": "((n1.n_name = 'IRAN'::bpchar) OR (n1.n_name = 'ETHIOPIA'::bpchar))", "Rows Removed by Filter": 23, "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.004, "Actual Total Time": 0.014, "Actual Rows": 2, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 0.004, "Actual Total Time": 0.014, "Actual Rows": 2, "Actual Loops": 1}]}, {"Node Type": "Bitmap Heap Scan", "Parent Relationship": "Inner", "Parallel Aware": false, "Async Capable": false, "Relation Name": "supplier", "Schema": "public", "Alias": "supplier", "Startup Cost": 4.48, "Total Cost": 123.74, "Plan Rows": 400, "Plan Width": 8, "Actual Startup Time": 0.074, "Actual Total Time": 0.485, "Actual Rows": 386, "Actual Loops": 6, "Output": ["supplier.s_suppkey", "supplier.s_name", "supplier.s_address", "supplier.s_nationkey", "supplier.s_phone", "supplier.s_acctbal", "supplier.s_comment"], "Recheck Cond": "(supplier.s_nationkey = n1.n_nationkey)", "Rows Removed by Index Recheck": 0, "Exact Heap Blocks": 371, "Lossy Heap Blocks": 0, "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.084, "Actual Total Time": 0.525, "Actual Rows": 386, "Actual Loops": 2}, {"Worker Number": 1, "Actual Startup Time": 0.082, "Actual Total Time": 0.535, "Actual Rows": 386, "Actual Loops": 2}], "Plans": [{"Node Type": "Bitmap Index Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Index Name": "s_nk", "Startup Cost": 0.0, "Total Cost": 4.38, "Plan Rows": 400, "Plan Width": 0, "Actual Startup Time": 0.039, "Actual Total Time": 0.039, "Actual Rows": 386, "Actual Loops": 6, "Index Cond": "(supplier.s_nationkey = n1.n_nationkey)", "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.047, "Actual Total Time": 0.047, "Actual Rows": 386, "Actual Loops": 2}, {"Worker Number": 1, "Actual Startup Time": 0.046, "Actual Total Time": 0.046, "Actual Rows": 386, "Actual Loops": 2}]}]}]}, {"Node Type": "Index Scan", "Parent Relationship": "Inner", "Parallel Aware": false, "Async Capable": false, "Scan Direction": "Forward", "Index Name": "l_sk", "Relation Name": "lineitem", "Schema": "public", "Alias": "lineitem", "Startup Cost": 0.43, "Total Cost": 26.87, "Plan Rows": 183, "Plan Width": 24, "Actual Startup Time": 0.01, "Actual Total Time": 0.653, "Actual Rows": 182, "Actual Loops": 2319, "Output": ["lineitem.l_orderkey", "lineitem.l_partkey", "lineitem.l_suppkey", "lineitem.l_linenumber", "lineitem.l_quantity", "lineitem.l_extendedprice", "lineitem.l_discount", "lineitem.l_tax", "lineitem.l_returnflag", "lineitem.l_linestatus", "lineitem.l_shipdate", "lineitem.l_commitdate", "lineitem.l_receiptdate", "lineitem.l_shipinstruct", "lineitem.l_shipmode", "lineitem.l_comment"], "Index Cond": "(lineitem.l_suppkey = supplier.s_suppkey)", "Rows Removed by Index Recheck": 0, "Filter": "((lineitem.l_shipdate >= '1995-01-01'::date) AND (lineitem.l_shipdate <= '1996-12-31'::date))", "Rows Removed by Filter": 417, "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.012, "Actual Total Time": 0.708, "Actual Rows": 182, "Actual Loops": 773}, {"Worker Number": 1, "Actual Startup Time": 0.012, "Actual Total Time": 0.708, "Actual Rows": 182, "Actual Loops": 773}]}]}]}]}]}]}]}]}, "Planning Time": 1.828, "Triggers": [], "Execution Time": 698.87} diff --git a/dev9/pg15/tpch/sf_1/explain_analyze/15721/8-1.ok b/dev9/pg15/tpch/sf_1/explain_analyze/15721/8-1.ok new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/dev9/pg15/tpch/sf_1/explain_analyze/15721/8-1.res b/dev9/pg15/tpch/sf_1/explain_analyze/15721/8-1.res new file mode 100644 index 0000000000000000000000000000000000000000..24414f3a7db889aab21a8a8a7cf1bc9116b9a488 --- /dev/null +++ b/dev9/pg15/tpch/sf_1/explain_analyze/15721/8-1.res @@ -0,0 +1 @@ +{"Plan": {"Node Type": "Aggregate", "Strategy": "Sorted", "Partial Mode": "Finalize", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 33837.19, "Total Cost": 34193.0, "Plan Rows": 2406, "Plan Width": 64, "Actual Startup Time": 147.37, "Actual Total Time": 175.877, "Actual Rows": 2, "Actual Loops": 1, "Output": ["(EXTRACT(year FROM orders.o_orderdate))", "(sum(CASE WHEN (n2.n_name = 'ETHIOPIA'::bpchar) THEN (lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount)) ELSE '0'::numeric END) / sum((lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount))))"], "Group Key": ["(EXTRACT(year FROM orders.o_orderdate))"], "Plans": [{"Node Type": "Gather Merge", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 33837.19, "Total Cost": 34118.88, "Plan Rows": 2080, "Plan Width": 96, "Actual Startup Time": 146.927, "Actual Total Time": 175.858, "Actual Rows": 6, "Actual Loops": 1, "Output": ["(EXTRACT(year FROM orders.o_orderdate))", "(PARTIAL sum(CASE WHEN (n2.n_name = 'ETHIOPIA'::bpchar) THEN (lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount)) ELSE '0'::numeric END))", "(PARTIAL sum((lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount))))"], "Workers Planned": 2, "Workers Launched": 2, "Plans": [{"Node Type": "Aggregate", "Strategy": "Sorted", "Partial Mode": "Partial", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 32837.17, "Total Cost": 32878.77, "Plan Rows": 1040, "Plan Width": 96, "Actual Startup Time": 143.254, "Actual Total Time": 143.556, "Actual Rows": 2, "Actual Loops": 3, "Output": ["(EXTRACT(year FROM orders.o_orderdate))", "PARTIAL sum(CASE WHEN (n2.n_name = 'ETHIOPIA'::bpchar) THEN (lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount)) ELSE '0'::numeric END)", "PARTIAL sum((lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount)))"], "Group Key": ["(EXTRACT(year FROM orders.o_orderdate))"], "Workers": [{"Worker Number": 0, "Actual Startup Time": 141.692, "Actual Total Time": 141.932, "Actual Rows": 2, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 141.712, "Actual Total Time": 141.944, "Actual Rows": 2, "Actual Loops": 1}], "Plans": [{"Node Type": "Sort", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 32837.17, "Total Cost": 32839.77, "Plan Rows": 1040, "Plan Width": 70, "Actual Startup Time": 142.948, "Actual Total Time": 143.002, "Actual Rows": 809, "Actual Loops": 3, "Output": ["(EXTRACT(year FROM orders.o_orderdate))", "n2.n_name", "lineitem.l_extendedprice", "lineitem.l_discount"], "Sort Key": ["(EXTRACT(year FROM orders.o_orderdate))"], "Sort Method": "quicksort", "Sort Space Used": 149, "Sort Space Type": "Memory", "Workers": [{"Worker Number": 0, "Actual Startup Time": 141.442, "Actual Total Time": 141.485, "Actual Rows": 648, "Actual Loops": 1, "Sort Method": "quicksort", "Sort Space Used": 80, "Sort Space Type": "Memory"}, {"Worker Number": 1, "Actual Startup Time": 141.483, "Actual Total Time": 141.525, "Actual Rows": 607, "Actual Loops": 1, "Sort Method": "quicksort", "Sort Space Used": 77, "Sort Space Type": "Memory"}], "Plans": [{"Node Type": "Hash Join", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Join Type": "Inner", "Startup Cost": 2018.83, "Total Cost": 32785.05, "Plan Rows": 1040, "Plan Width": 70, "Actual Startup Time": 25.637, "Actual Total Time": 142.573, "Actual Rows": 809, "Actual Loops": 3, "Output": ["EXTRACT(year FROM orders.o_orderdate)", "n2.n_name", "lineitem.l_extendedprice", "lineitem.l_discount"], "Inner Unique": true, "Hash Cond": "(supplier.s_nationkey = n2.n_nationkey)", "Workers": [{"Worker Number": 0, "Actual Startup Time": 26.607, "Actual Total Time": 141.095, "Actual Rows": 648, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 27.203, "Actual Total Time": 141.153, "Actual Rows": 607, "Actual Loops": 1}], "Plans": [{"Node Type": "Nested Loop", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Join Type": "Inner", "Startup Cost": 2017.26, "Total Cost": 32777.69, "Plan Rows": 1040, "Plan Width": 20, "Actual Startup Time": 25.562, "Actual Total Time": 142.047, "Actual Rows": 809, "Actual Loops": 3, "Output": ["lineitem.l_extendedprice", "lineitem.l_discount", "supplier.s_nationkey", "orders.o_orderdate"], "Inner Unique": true, "Workers": [{"Worker Number": 0, "Actual Startup Time": 26.505, "Actual Total Time": 140.623, "Actual Rows": 648, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 27.104, "Actual Total Time": 140.715, "Actual Rows": 607, "Actual Loops": 1}], "Plans": [{"Node Type": "Hash Join", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Join Type": "Inner", "Startup Cost": 2016.98, "Total Cost": 32463.05, "Plan Rows": 1040, "Plan Width": 20, "Actual Startup Time": 25.539, "Actual Total Time": 139.751, "Actual Rows": 809, "Actual Loops": 3, "Output": ["lineitem.l_extendedprice", "lineitem.l_discount", "lineitem.l_suppkey", "orders.o_orderdate"], "Inner Unique": false, "Hash Cond": "(orders.o_custkey = customer.c_custkey)", "Workers": [{"Worker Number": 0, "Actual Startup Time": 26.474, "Actual Total Time": 138.714, "Actual Rows": 648, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 27.073, "Actual Total Time": 138.894, "Actual Rows": 607, "Actual Loops": 1}], "Plans": [{"Node Type": "Nested Loop", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Join Type": "Inner", "Startup Cost": 0.86, "Total Cost": 30417.04, "Plan Rows": 5198, "Plan Width": 24, "Actual Startup Time": 0.165, "Actual Total Time": 113.347, "Actual Rows": 4114, "Actual Loops": 3, "Output": ["lineitem.l_extendedprice", "lineitem.l_discount", "lineitem.l_suppkey", "orders.o_orderdate", "orders.o_custkey"], "Inner Unique": true, "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.245, "Actual Total Time": 111.462, "Actual Rows": 3323, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 0.161, "Actual Total Time": 111.695, "Actual Rows": 3184, "Actual Loops": 1}], "Plans": [{"Node Type": "Nested Loop", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Join Type": "Inner", "Startup Cost": 0.43, "Total Cost": 22677.0, "Plan Rows": 16991, "Plan Width": 20, "Actual Startup Time": 0.101, "Actual Total Time": 50.349, "Actual Rows": 13553, "Actual Loops": 3, "Output": ["lineitem.l_extendedprice", "lineitem.l_discount", "lineitem.l_suppkey", "lineitem.l_orderkey"], "Inner Unique": false, "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.181, "Actual Total Time": 54.393, "Actual Rows": 10769, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 0.098, "Actual Total Time": 54.627, "Actual Rows": 10625, "Actual Loops": 1}], "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": true, "Async Capable": false, "Relation Name": "part", "Schema": "public", "Alias": "part", "Startup Cost": 0.0, "Total Cost": 5138.67, "Plan Rows": 566, "Plan Width": 4, "Actual Startup Time": 0.043, "Actual Total Time": 13.091, "Actual Rows": 451, "Actual Loops": 3, "Output": ["part.p_partkey", "part.p_name", "part.p_mfgr", "part.p_brand", "part.p_type", "part.p_size", "part.p_container", "part.p_retailprice", "part.p_comment"], "Filter": "((part.p_type)::text = 'SMALL BRUSHED NICKEL'::text)", "Rows Removed by Filter": 66216, "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.098, "Actual Total Time": 11.01, "Actual Rows": 361, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 0.022, "Actual Total Time": 11.268, "Actual Rows": 349, "Actual Loops": 1}]}, {"Node Type": "Index Scan", "Parent Relationship": "Inner", "Parallel Aware": false, "Async Capable": false, "Scan Direction": "Forward", "Index Name": "l_pk", "Relation Name": "lineitem", "Schema": "public", "Alias": "lineitem", "Startup Cost": 0.43, "Total Cost": 30.68, "Plan Rows": 31, "Plan Width": 24, "Actual Startup Time": 0.007, "Actual Total Time": 0.076, "Actual Rows": 30, "Actual Loops": 1352, "Output": ["lineitem.l_orderkey", "lineitem.l_partkey", "lineitem.l_suppkey", "lineitem.l_linenumber", "lineitem.l_quantity", "lineitem.l_extendedprice", "lineitem.l_discount", "lineitem.l_tax", "lineitem.l_returnflag", "lineitem.l_linestatus", "lineitem.l_shipdate", "lineitem.l_commitdate", "lineitem.l_receiptdate", "lineitem.l_shipinstruct", "lineitem.l_shipmode", "lineitem.l_comment"], "Index Cond": "(lineitem.l_partkey = part.p_partkey)", "Rows Removed by Index Recheck": 0, "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.01, "Actual Total Time": 0.113, "Actual Rows": 30, "Actual Loops": 361}, {"Worker Number": 1, "Actual Startup Time": 0.01, "Actual Total Time": 0.117, "Actual Rows": 30, "Actual Loops": 349}]}]}, {"Node Type": "Index Scan", "Parent Relationship": "Inner", "Parallel Aware": false, "Async Capable": false, "Scan Direction": "Forward", "Index Name": "o_ok", "Relation Name": "orders", "Schema": "public", "Alias": "orders", "Startup Cost": 0.43, "Total Cost": 0.46, "Plan Rows": 1, "Plan Width": 12, "Actual Startup Time": 0.004, "Actual Total Time": 0.004, "Actual Rows": 0, "Actual Loops": 40658, "Output": ["orders.o_orderkey", "orders.o_custkey", "orders.o_orderstatus", "orders.o_totalprice", "orders.o_orderdate", "orders.o_orderpriority", "orders.o_clerk", "orders.o_shippriority", "orders.o_comment"], "Index Cond": "(orders.o_orderkey = lineitem.l_orderkey)", "Rows Removed by Index Recheck": 0, "Filter": "((orders.o_orderdate >= '1995-01-01'::date) AND (orders.o_orderdate <= '1996-12-31'::date))", "Rows Removed by Filter": 1, "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.005, "Actual Total Time": 0.005, "Actual Rows": 0, "Actual Loops": 10769}, {"Worker Number": 1, "Actual Startup Time": 0.005, "Actual Total Time": 0.005, "Actual Rows": 0, "Actual Loops": 10625}]}]}, {"Node Type": "Hash", "Parent Relationship": "Inner", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 1641.12, "Total Cost": 1641.12, "Plan Rows": 30000, "Plan Width": 4, "Actual Startup Time": 24.873, "Actual Total Time": 24.875, "Actual Rows": 29764, "Actual Loops": 3, "Output": ["customer.c_custkey"], "Hash Buckets": 32768, "Original Hash Buckets": 32768, "Hash Batches": 1, "Original Hash Batches": 1, "Peak Memory Usage": 1303, "Workers": [{"Worker Number": 0, "Actual Startup Time": 25.957, "Actual Total Time": 25.959, "Actual Rows": 29764, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 25.932, "Actual Total Time": 25.935, "Actual Rows": 29764, "Actual Loops": 1}], "Plans": [{"Node Type": "Nested Loop", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Join Type": "Inner", "Startup Cost": 0.43, "Total Cost": 1641.12, "Plan Rows": 30000, "Plan Width": 4, "Actual Startup Time": 0.087, "Actual Total Time": 20.009, "Actual Rows": 29764, "Actual Loops": 3, "Output": ["customer.c_custkey"], "Inner Unique": false, "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.118, "Actual Total Time": 20.911, "Actual Rows": 29764, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 0.119, "Actual Total Time": 20.859, "Actual Rows": 29764, "Actual Loops": 1}], "Plans": [{"Node Type": "Nested Loop", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Join Type": "Inner", "Startup Cost": 0.14, "Total Cost": 5.25, "Plan Rows": 5, "Plan Width": 4, "Actual Startup Time": 0.041, "Actual Total Time": 0.063, "Actual Rows": 5, "Actual Loops": 3, "Output": ["n1.n_nationkey"], "Inner Unique": true, "Join Filter": "(n1.n_regionkey = region.r_regionkey)", "Rows Removed by Join Filter": 20, "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.058, "Actual Total Time": 0.08, "Actual Rows": 5, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 0.056, "Actual Total Time": 0.078, "Actual Rows": 5, "Actual Loops": 1}], "Plans": [{"Node Type": "Index Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Scan Direction": "Forward", "Index Name": "n_nk", "Relation Name": "nation", "Schema": "public", "Alias": "n1", "Startup Cost": 0.14, "Total Cost": 3.81, "Plan Rows": 25, "Plan Width": 8, "Actual Startup Time": 0.017, "Actual Total Time": 0.023, "Actual Rows": 25, "Actual Loops": 3, "Output": ["n1.n_nationkey", "n1.n_name", "n1.n_regionkey", "n1.n_comment"], "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.025, "Actual Total Time": 0.031, "Actual Rows": 25, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 0.023, "Actual Total Time": 0.029, "Actual Rows": 25, "Actual Loops": 1}]}, {"Node Type": "Materialize", "Parent Relationship": "Inner", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 0.0, "Total Cost": 1.07, "Plan Rows": 1, "Plan Width": 4, "Actual Startup Time": 0.001, "Actual Total Time": 0.001, "Actual Rows": 1, "Actual Loops": 75, "Output": ["region.r_regionkey"], "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.001, "Actual Total Time": 0.002, "Actual Rows": 1, "Actual Loops": 25}, {"Worker Number": 1, "Actual Startup Time": 0.001, "Actual Total Time": 0.002, "Actual Rows": 1, "Actual Loops": 25}], "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Relation Name": "region", "Schema": "public", "Alias": "region", "Startup Cost": 0.0, "Total Cost": 1.06, "Plan Rows": 1, "Plan Width": 4, "Actual Startup Time": 0.02, "Actual Total Time": 0.022, "Actual Rows": 1, "Actual Loops": 3, "Output": ["region.r_regionkey"], "Filter": "(region.r_name = 'AFRICA'::bpchar)", "Rows Removed by Filter": 4, "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.028, "Actual Total Time": 0.03, "Actual Rows": 1, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 0.028, "Actual Total Time": 0.03, "Actual Rows": 1, "Actual Loops": 1}]}]}]}, {"Node Type": "Index Scan", "Parent Relationship": "Inner", "Parallel Aware": false, "Async Capable": false, "Scan Direction": "Forward", "Index Name": "c_nk", "Relation Name": "customer", "Schema": "public", "Alias": "customer", "Startup Cost": 0.29, "Total Cost": 267.17, "Plan Rows": 6000, "Plan Width": 8, "Actual Startup Time": 0.014, "Actual Total Time": 3.264, "Actual Rows": 5953, "Actual Loops": 15, "Output": ["customer.c_custkey", "customer.c_name", "customer.c_address", "customer.c_nationkey", "customer.c_phone", "customer.c_acctbal", "customer.c_mktsegment", "customer.c_comment"], "Index Cond": "(customer.c_nationkey = n1.n_nationkey)", "Rows Removed by Index Recheck": 0, "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.017, "Actual Total Time": 3.479, "Actual Rows": 5953, "Actual Loops": 5}, {"Worker Number": 1, "Actual Startup Time": 0.018, "Actual Total Time": 3.462, "Actual Rows": 5953, "Actual Loops": 5}]}]}]}]}, {"Node Type": "Index Scan", "Parent Relationship": "Inner", "Parallel Aware": false, "Async Capable": false, "Scan Direction": "Forward", "Index Name": "s_sk", "Relation Name": "supplier", "Schema": "public", "Alias": "supplier", "Startup Cost": 0.29, "Total Cost": 0.3, "Plan Rows": 1, "Plan Width": 8, "Actual Startup Time": 0.002, "Actual Total Time": 0.002, "Actual Rows": 1, "Actual Loops": 2426, "Output": ["supplier.s_suppkey", "supplier.s_name", "supplier.s_address", "supplier.s_nationkey", "supplier.s_phone", "supplier.s_acctbal", "supplier.s_comment"], "Index Cond": "(supplier.s_suppkey = lineitem.l_suppkey)", "Rows Removed by Index Recheck": 0, "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.002, "Actual Total Time": 0.002, "Actual Rows": 1, "Actual Loops": 648}, {"Worker Number": 1, "Actual Startup Time": 0.002, "Actual Total Time": 0.002, "Actual Rows": 1, "Actual Loops": 607}]}]}, {"Node Type": "Hash", "Parent Relationship": "Inner", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 1.25, "Total Cost": 1.25, "Plan Rows": 25, "Plan Width": 30, "Actual Startup Time": 0.03, "Actual Total Time": 0.03, "Actual Rows": 25, "Actual Loops": 3, "Output": ["n2.n_name", "n2.n_nationkey"], "Hash Buckets": 1024, "Original Hash Buckets": 1024, "Hash Batches": 1, "Original Hash Batches": 1, "Peak Memory Usage": 10, "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.037, "Actual Total Time": 0.037, "Actual Rows": 25, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 0.036, "Actual Total Time": 0.036, "Actual Rows": 25, "Actual Loops": 1}], "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Relation Name": "nation", "Schema": "public", "Alias": "n2", "Startup Cost": 0.0, "Total Cost": 1.25, "Plan Rows": 25, "Plan Width": 30, "Actual Startup Time": 0.016, "Actual Total Time": 0.021, "Actual Rows": 25, "Actual Loops": 3, "Output": ["n2.n_name", "n2.n_nationkey"], "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.022, "Actual Total Time": 0.027, "Actual Rows": 25, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 0.021, "Actual Total Time": 0.026, "Actual Rows": 25, "Actual Loops": 1}]}]}]}]}]}]}]}, "Planning Time": 2.865, "Triggers": [], "Execution Time": 175.968} diff --git a/dev9/pg15/tpch/sf_1/explain_analyze/15721/9-1.ok b/dev9/pg15/tpch/sf_1/explain_analyze/15721/9-1.ok new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/dev9/pg15/tpch/sf_1/explain_analyze/15721/9-1.res b/dev9/pg15/tpch/sf_1/explain_analyze/15721/9-1.res new file mode 100644 index 0000000000000000000000000000000000000000..a201a1be332929123a1f6d7d6433058cae42b6a3 --- /dev/null +++ b/dev9/pg15/tpch/sf_1/explain_analyze/15721/9-1.res @@ -0,0 +1 @@ +{"Plan": {"Node Type": "Sort", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 83501.84, "Total Cost": 83652.21, "Plan Rows": 60150, "Plan Width": 90, "Actual Startup Time": 533.111, "Actual Total Time": 575.918, "Actual Rows": 175, "Actual Loops": 1, "Output": ["nation.n_name", "(EXTRACT(year FROM orders.o_orderdate))", "(sum(((lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount)) - (partsupp.ps_supplycost * lineitem.l_quantity))))"], "Sort Key": ["nation.n_name", "(EXTRACT(year FROM orders.o_orderdate)) DESC"], "Sort Method": "quicksort", "Sort Space Used": 38, "Sort Space Type": "Memory", "Plans": [{"Node Type": "Aggregate", "Strategy": "Hashed", "Partial Mode": "Finalize", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 77824.8, "Total Cost": 78727.05, "Plan Rows": 60150, "Plan Width": 90, "Actual Startup Time": 532.415, "Actual Total Time": 575.646, "Actual Rows": 175, "Actual Loops": 1, "Output": ["nation.n_name", "(EXTRACT(year FROM orders.o_orderdate))", "sum(((lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount)) - (partsupp.ps_supplycost * lineitem.l_quantity)))"], "Group Key": ["nation.n_name", "(EXTRACT(year FROM orders.o_orderdate))"], "Planned Partitions": 0, "HashAgg Batches": 1, "Peak Memory Usage": 3217, "Disk Usage": 0, "Plans": [{"Node Type": "Gather", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 57073.05, "Total Cost": 76020.3, "Plan Rows": 180450, "Plan Width": 90, "Actual Startup Time": 528.398, "Actual Total Time": 574.574, "Actual Rows": 700, "Actual Loops": 1, "Output": ["nation.n_name", "(EXTRACT(year FROM orders.o_orderdate))", "(PARTIAL sum(((lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount)) - (partsupp.ps_supplycost * lineitem.l_quantity))))"], "Workers Planned": 3, "Workers Launched": 3, "Single Copy": false, "Plans": [{"Node Type": "Aggregate", "Strategy": "Hashed", "Partial Mode": "Partial", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 56073.05, "Total Cost": 56975.3, "Plan Rows": 60150, "Plan Width": 90, "Actual Startup Time": 523.285, "Actual Total Time": 524.037, "Actual Rows": 175, "Actual Loops": 4, "Output": ["nation.n_name", "(EXTRACT(year FROM orders.o_orderdate))", "PARTIAL sum(((lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount)) - (partsupp.ps_supplycost * lineitem.l_quantity)))"], "Group Key": ["nation.n_name", "EXTRACT(year FROM orders.o_orderdate)"], "Planned Partitions": 0, "HashAgg Batches": 1, "Peak Memory Usage": 3217, "Disk Usage": 0, "Workers": [{"Worker Number": 0, "Actual Startup Time": 521.466, "Actual Total Time": 521.906, "Actual Rows": 175, "Actual Loops": 1, "HashAgg Batches": 1, "Peak Memory Usage": 3217, "Disk Usage": 0}, {"Worker Number": 1, "Actual Startup Time": 521.466, "Actual Total Time": 521.9, "Actual Rows": 175, "Actual Loops": 1, "HashAgg Batches": 1, "Peak Memory Usage": 3217, "Disk Usage": 0}, {"Worker Number": 2, "Actual Startup Time": 522.314, "Actual Total Time": 522.769, "Actual Rows": 175, "Actual Loops": 1, "HashAgg Batches": 1, "Peak Memory Usage": 3217, "Disk Usage": 0}], "Plans": [{"Node Type": "Hash Join", "Parent Relationship": "Outer", "Parallel Aware": true, "Async Capable": false, "Join Type": "Inner", "Startup Cost": 21355.94, "Total Cost": 54647.31, "Plan Rows": 81471, "Plan Width": 81, "Actual Startup Time": 264.658, "Actual Total Time": 432.959, "Actual Rows": 80496, "Actual Loops": 4, "Output": ["nation.n_name", "EXTRACT(year FROM orders.o_orderdate)", "lineitem.l_extendedprice", "lineitem.l_discount", "partsupp.ps_supplycost", "lineitem.l_quantity"], "Inner Unique": false, "Hash Cond": "(orders.o_orderkey = lineitem.l_orderkey)", "Workers": [{"Worker Number": 0, "Actual Startup Time": 263.009, "Actual Total Time": 431.064, "Actual Rows": 79846, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 263.013, "Actual Total Time": 430.907, "Actual Rows": 80446, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 263.197, "Actual Total Time": 432.409, "Actual Rows": 79728, "Actual Loops": 1}], "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": true, "Async Capable": false, "Relation Name": "orders", "Schema": "public", "Alias": "orders", "Startup Cost": 0.0, "Total Cost": 30933.71, "Plan Rows": 483871, "Plan Width": 8, "Actual Startup Time": 0.022, "Actual Total Time": 33.679, "Actual Rows": 375000, "Actual Loops": 4, "Output": ["orders.o_orderkey", "orders.o_custkey", "orders.o_orderstatus", "orders.o_totalprice", "orders.o_orderdate", "orders.o_orderpriority", "orders.o_clerk", "orders.o_shippriority", "orders.o_comment"], "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.027, "Actual Total Time": 34.02, "Actual Rows": 372522, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 0.03, "Actual Total Time": 34.097, "Actual Rows": 373936, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 0.026, "Actual Total Time": 34.071, "Actual Rows": 373211, "Actual Loops": 1}]}, {"Node Type": "Hash", "Parent Relationship": "Inner", "Parallel Aware": true, "Async Capable": false, "Startup Cost": 20040.52, "Total Cost": 20040.52, "Plan Rows": 105234, "Plan Width": 53, "Actual Startup Time": 264.05, "Actual Total Time": 264.055, "Actual Rows": 80496, "Actual Loops": 4, "Output": ["lineitem.l_extendedprice", "lineitem.l_discount", "lineitem.l_quantity", "lineitem.l_orderkey", "partsupp.ps_supplycost", "nation.n_name"], "Hash Buckets": 524288, "Original Hash Buckets": 262144, "Hash Batches": 1, "Original Hash Batches": 1, "Peak Memory Usage": 36416, "Workers": [{"Worker Number": 0, "Actual Startup Time": 262.89, "Actual Total Time": 262.895, "Actual Rows": 73065, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 262.894, "Actual Total Time": 262.899, "Actual Rows": 73689, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 263.085, "Actual Total Time": 263.09, "Actual Rows": 72460, "Actual Loops": 1}], "Plans": [{"Node Type": "Nested Loop", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Join Type": "Inner", "Startup Cost": 449.42, "Total Cost": 20040.52, "Plan Rows": 105234, "Plan Width": 53, "Actual Startup Time": 4.48, "Actual Total Time": 214.358, "Actual Rows": 80496, "Actual Loops": 4, "Output": ["lineitem.l_extendedprice", "lineitem.l_discount", "lineitem.l_quantity", "lineitem.l_orderkey", "partsupp.ps_supplycost", "nation.n_name"], "Inner Unique": false, "Join Filter": "(supplier.s_suppkey = lineitem.l_suppkey)", "Rows Removed by Join Filter": 0, "Workers": [{"Worker Number": 0, "Actual Startup Time": 4.899, "Actual Total Time": 215.923, "Actual Rows": 73065, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 4.897, "Actual Total Time": 216.056, "Actual Rows": 73689, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 4.67, "Actual Total Time": 214.767, "Actual Rows": 72460, "Actual Loops": 1}], "Plans": [{"Node Type": "Hash Join", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Join Type": "Inner", "Startup Cost": 448.99, "Total Cost": 11204.09, "Plan Rows": 14028, "Plan Width": 48, "Actual Startup Time": 4.428, "Actual Total Time": 43.557, "Actual Rows": 10737, "Actual Loops": 4, "Output": ["part.p_partkey", "partsupp.ps_supplycost", "partsupp.ps_suppkey", "partsupp.ps_partkey", "supplier.s_suppkey", "nation.n_name"], "Inner Unique": true, "Hash Cond": "(supplier.s_nationkey = nation.n_nationkey)", "Workers": [{"Worker Number": 0, "Actual Startup Time": 4.831, "Actual Total Time": 42.428, "Actual Rows": 9752, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 4.83, "Actual Total Time": 42.753, "Actual Rows": 9804, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 4.608, "Actual Total Time": 42.244, "Actual Rows": 9644, "Actual Loops": 1}], "Plans": [{"Node Type": "Hash Join", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Join Type": "Inner", "Startup Cost": 447.43, "Total Cost": 11159.47, "Plan Rows": 14028, "Plan Width": 26, "Actual Startup Time": 4.383, "Actual Total Time": 40.683, "Actual Rows": 10737, "Actual Loops": 4, "Output": ["part.p_partkey", "partsupp.ps_supplycost", "partsupp.ps_suppkey", "partsupp.ps_partkey", "supplier.s_suppkey", "supplier.s_nationkey"], "Inner Unique": true, "Hash Cond": "(partsupp.ps_suppkey = supplier.s_suppkey)", "Workers": [{"Worker Number": 0, "Actual Startup Time": 4.78, "Actual Total Time": 39.777, "Actual Rows": 9752, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 4.779, "Actual Total Time": 40.098, "Actual Rows": 9804, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 4.557, "Actual Total Time": 39.627, "Actual Rows": 9644, "Actual Loops": 1}], "Plans": [{"Node Type": "Nested Loop", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Join Type": "Inner", "Startup Cost": 0.42, "Total Cost": 10675.63, "Plan Rows": 14028, "Plan Width": 18, "Actual Startup Time": 0.074, "Actual Total Time": 31.475, "Actual Rows": 10737, "Actual Loops": 4, "Output": ["part.p_partkey", "partsupp.ps_supplycost", "partsupp.ps_suppkey", "partsupp.ps_partkey"], "Inner Unique": false, "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.095, "Actual Total Time": 30.526, "Actual Rows": 9752, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 0.09, "Actual Total Time": 30.855, "Actual Rows": 9804, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 0.09, "Actual Total Time": 30.648, "Actual Rows": 9644, "Actual Loops": 1}], "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": true, "Async Capable": false, "Relation Name": "part", "Schema": "public", "Alias": "part", "Startup Cost": 0.0, "Total Cost": 5138.67, "Plan Rows": 3507, "Plan Width": 4, "Actual Startup Time": 0.018, "Actual Total Time": 14.643, "Actual Rows": 2684, "Actual Loops": 4, "Output": ["part.p_partkey", "part.p_name", "part.p_mfgr", "part.p_brand", "part.p_type", "part.p_size", "part.p_container", "part.p_retailprice", "part.p_comment"], "Filter": "((part.p_name)::text ~~ '%forest%'::text)", "Rows Removed by Filter": 47316, "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.025, "Actual Total Time": 13.817, "Actual Rows": 2438, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 0.023, "Actual Total Time": 14.004, "Actual Rows": 2451, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 0.02, "Actual Total Time": 13.948, "Actual Rows": 2411, "Actual Loops": 1}]}, {"Node Type": "Index Scan", "Parent Relationship": "Inner", "Parallel Aware": false, "Async Capable": false, "Scan Direction": "Forward", "Index Name": "ps_pk", "Relation Name": "partsupp", "Schema": "public", "Alias": "partsupp", "Startup Cost": 0.42, "Total Cost": 1.54, "Plan Rows": 4, "Plan Width": 14, "Actual Startup Time": 0.004, "Actual Total Time": 0.005, "Actual Rows": 4, "Actual Loops": 10737, "Output": ["partsupp.ps_partkey", "partsupp.ps_suppkey", "partsupp.ps_availqty", "partsupp.ps_supplycost", "partsupp.ps_comment"], "Index Cond": "(partsupp.ps_partkey = part.p_partkey)", "Rows Removed by Index Recheck": 0, "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.005, "Actual Total Time": 0.006, "Actual Rows": 4, "Actual Loops": 2438}, {"Worker Number": 1, "Actual Startup Time": 0.005, "Actual Total Time": 0.006, "Actual Rows": 4, "Actual Loops": 2451}, {"Worker Number": 2, "Actual Startup Time": 0.005, "Actual Total Time": 0.006, "Actual Rows": 4, "Actual Loops": 2411}]}]}, {"Node Type": "Hash", "Parent Relationship": "Inner", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 322.0, "Total Cost": 322.0, "Plan Rows": 10000, "Plan Width": 8, "Actual Startup Time": 4.233, "Actual Total Time": 4.234, "Actual Rows": 10000, "Actual Loops": 4, "Output": ["supplier.s_suppkey", "supplier.s_nationkey"], "Hash Buckets": 16384, "Original Hash Buckets": 16384, "Hash Batches": 1, "Original Hash Batches": 1, "Peak Memory Usage": 519, "Workers": [{"Worker Number": 0, "Actual Startup Time": 4.59, "Actual Total Time": 4.591, "Actual Rows": 10000, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 4.596, "Actual Total Time": 4.597, "Actual Rows": 10000, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 4.372, "Actual Total Time": 4.373, "Actual Rows": 10000, "Actual Loops": 1}], "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Relation Name": "supplier", "Schema": "public", "Alias": "supplier", "Startup Cost": 0.0, "Total Cost": 322.0, "Plan Rows": 10000, "Plan Width": 8, "Actual Startup Time": 0.015, "Actual Total Time": 2.604, "Actual Rows": 10000, "Actual Loops": 4, "Output": ["supplier.s_suppkey", "supplier.s_nationkey"], "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.019, "Actual Total Time": 2.906, "Actual Rows": 10000, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 0.019, "Actual Total Time": 2.896, "Actual Rows": 10000, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 0.018, "Actual Total Time": 2.689, "Actual Rows": 10000, "Actual Loops": 1}]}]}]}, {"Node Type": "Hash", "Parent Relationship": "Inner", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 1.25, "Total Cost": 1.25, "Plan Rows": 25, "Plan Width": 30, "Actual Startup Time": 0.033, "Actual Total Time": 0.034, "Actual Rows": 25, "Actual Loops": 4, "Output": ["nation.n_name", "nation.n_nationkey"], "Hash Buckets": 1024, "Original Hash Buckets": 1024, "Hash Batches": 1, "Original Hash Batches": 1, "Peak Memory Usage": 10, "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.039, "Actual Total Time": 0.039, "Actual Rows": 25, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 0.038, "Actual Total Time": 0.038, "Actual Rows": 25, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 0.039, "Actual Total Time": 0.039, "Actual Rows": 25, "Actual Loops": 1}], "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Relation Name": "nation", "Schema": "public", "Alias": "nation", "Startup Cost": 0.0, "Total Cost": 1.25, "Plan Rows": 25, "Plan Width": 30, "Actual Startup Time": 0.019, "Actual Total Time": 0.023, "Actual Rows": 25, "Actual Loops": 4, "Output": ["nation.n_name", "nation.n_nationkey"], "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.023, "Actual Total Time": 0.027, "Actual Rows": 25, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 0.022, "Actual Total Time": 0.026, "Actual Rows": 25, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 0.022, "Actual Total Time": 0.027, "Actual Rows": 25, "Actual Loops": 1}]}]}]}, {"Node Type": "Index Scan", "Parent Relationship": "Inner", "Parallel Aware": false, "Async Capable": false, "Scan Direction": "Forward", "Index Name": "l_sk_pk", "Relation Name": "lineitem", "Schema": "public", "Alias": "lineitem", "Startup Cost": 0.43, "Total Cost": 0.62, "Plan Rows": 1, "Plan Width": 29, "Actual Startup Time": 0.005, "Actual Total Time": 0.014, "Actual Rows": 7, "Actual Loops": 42948, "Output": ["lineitem.l_orderkey", "lineitem.l_partkey", "lineitem.l_suppkey", "lineitem.l_linenumber", "lineitem.l_quantity", "lineitem.l_extendedprice", "lineitem.l_discount", "lineitem.l_tax", "lineitem.l_returnflag", "lineitem.l_linestatus", "lineitem.l_shipdate", "lineitem.l_commitdate", "lineitem.l_receiptdate", "lineitem.l_shipinstruct", "lineitem.l_shipmode", "lineitem.l_comment"], "Index Cond": "((lineitem.l_suppkey = partsupp.ps_suppkey) AND (lineitem.l_partkey = partsupp.ps_partkey))", "Rows Removed by Index Recheck": 0, "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.005, "Actual Total Time": 0.016, "Actual Rows": 7, "Actual Loops": 9752}, {"Worker Number": 1, "Actual Startup Time": 0.005, "Actual Total Time": 0.016, "Actual Rows": 8, "Actual Loops": 9804}, {"Worker Number": 2, "Actual Startup Time": 0.005, "Actual Total Time": 0.016, "Actual Rows": 8, "Actual Loops": 9644}]}]}]}]}]}]}]}]}, "Planning Time": 4.574, "Triggers": [], "Execution Time": 576.879} diff --git a/dev9/pg15/tpch/sf_10/explain/15721/1-1.ok b/dev9/pg15/tpch/sf_10/explain/15721/1-1.ok new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/dev9/pg15/tpch/sf_10/explain/15721/1-1.res b/dev9/pg15/tpch/sf_10/explain/15721/1-1.res new file mode 100644 index 0000000000000000000000000000000000000000..4a577f135cf44ba9cd96a7501def592198d7c54e --- /dev/null +++ b/dev9/pg15/tpch/sf_10/explain/15721/1-1.res @@ -0,0 +1 @@ +{"Plan": {"Node Type": "Aggregate", "Strategy": "Sorted", "Partial Mode": "Finalize", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 1525512.8, "Total Cost": 1525519.49, "Plan Rows": 6, "Plan Width": 236, "Output": ["l_returnflag", "l_linestatus", "sum(l_quantity)", "sum(l_extendedprice)", "sum((l_extendedprice * ('1'::numeric - l_discount)))", "sum(((l_extendedprice * ('1'::numeric - l_discount)) * ('1'::numeric + l_tax)))", "avg(l_quantity)", "avg(l_extendedprice)", "avg(l_discount)", "count(*)"], "Group Key": ["lineitem.l_returnflag", "lineitem.l_linestatus"], "Plans": [{"Node Type": "Gather Merge", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 1525512.8, "Total Cost": 1525517.96, "Plan Rows": 42, "Plan Width": 236, "Output": ["l_returnflag", "l_linestatus", "(PARTIAL sum(l_quantity))", "(PARTIAL sum(l_extendedprice))", "(PARTIAL sum((l_extendedprice * ('1'::numeric - l_discount))))", "(PARTIAL sum(((l_extendedprice * ('1'::numeric - l_discount)) * ('1'::numeric + l_tax))))", "(PARTIAL avg(l_quantity))", "(PARTIAL avg(l_extendedprice))", "(PARTIAL avg(l_discount))", "(PARTIAL count(*))"], "Workers Planned": 7, "Plans": [{"Node Type": "Sort", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 1524512.68, "Total Cost": 1524512.7, "Plan Rows": 6, "Plan Width": 236, "Output": ["l_returnflag", "l_linestatus", "(PARTIAL sum(l_quantity))", "(PARTIAL sum(l_extendedprice))", "(PARTIAL sum((l_extendedprice * ('1'::numeric - l_discount))))", "(PARTIAL sum(((l_extendedprice * ('1'::numeric - l_discount)) * ('1'::numeric + l_tax))))", "(PARTIAL avg(l_quantity))", "(PARTIAL avg(l_extendedprice))", "(PARTIAL avg(l_discount))", "(PARTIAL count(*))"], "Sort Key": ["lineitem.l_returnflag", "lineitem.l_linestatus"], "Plans": [{"Node Type": "Aggregate", "Strategy": "Hashed", "Partial Mode": "Partial", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 1524512.47, "Total Cost": 1524512.6, "Plan Rows": 6, "Plan Width": 236, "Output": ["l_returnflag", "l_linestatus", "PARTIAL sum(l_quantity)", "PARTIAL sum(l_extendedprice)", "PARTIAL sum((l_extendedprice * ('1'::numeric - l_discount)))", "PARTIAL sum(((l_extendedprice * ('1'::numeric - l_discount)) * ('1'::numeric + l_tax)))", "PARTIAL avg(l_quantity)", "PARTIAL avg(l_extendedprice)", "PARTIAL avg(l_discount)", "PARTIAL count(*)"], "Group Key": ["lineitem.l_returnflag", "lineitem.l_linestatus"], "Planned Partitions": 0, "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": true, "Async Capable": false, "Relation Name": "lineitem", "Schema": "public", "Alias": "lineitem", "Startup Cost": 0.0, "Total Cost": 1231659.63, "Plan Rows": 8367224, "Plan Width": 25, "Output": ["l_orderkey", "l_partkey", "l_suppkey", "l_linenumber", "l_quantity", "l_extendedprice", "l_discount", "l_tax", "l_returnflag", "l_linestatus", "l_shipdate", "l_commitdate", "l_receiptdate", "l_shipinstruct", "l_shipmode", "l_comment"], "Filter": "(lineitem.l_shipdate <= '1998-08-07 23:59:57'::timestamp without time zone)"}]}]}]}]}} diff --git a/dev9/pg15/tpch/sf_10/explain/15721/10-1.ok b/dev9/pg15/tpch/sf_10/explain/15721/10-1.ok new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/dev9/pg15/tpch/sf_10/explain/15721/10-1.res b/dev9/pg15/tpch/sf_10/explain/15721/10-1.res new file mode 100644 index 0000000000000000000000000000000000000000..e71685dbe2fbaac8e53b5938ad1aa09d50bcfbad --- /dev/null +++ b/dev9/pg15/tpch/sf_10/explain/15721/10-1.res @@ -0,0 +1 @@ +{"Plan": {"Node Type": "Limit", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 694292.1, "Total Cost": 694292.15, "Plan Rows": 20, "Plan Width": 201, "Output": ["customer.c_custkey", "customer.c_name", "(sum((lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount))))", "customer.c_acctbal", "nation.n_name", "customer.c_address", "customer.c_phone", "customer.c_comment"], "Plans": [{"Node Type": "Sort", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 694292.1, "Total Cost": 695664.44, "Plan Rows": 548939, "Plan Width": 201, "Output": ["customer.c_custkey", "customer.c_name", "(sum((lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount))))", "customer.c_acctbal", "nation.n_name", "customer.c_address", "customer.c_phone", "customer.c_comment"], "Sort Key": ["(sum((lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount)))) DESC"], "Plans": [{"Node Type": "Aggregate", "Strategy": "Sorted", "Partial Mode": "Simple", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 600234.54, "Total Cost": 679685.03, "Plan Rows": 548939, "Plan Width": 201, "Output": ["customer.c_custkey", "customer.c_name", "sum((lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount)))", "customer.c_acctbal", "nation.n_name", "customer.c_address", "customer.c_phone", "customer.c_comment"], "Group Key": ["customer.c_custkey", "nation.n_name"], "Plans": [{"Node Type": "Gather Merge", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 600234.54, "Total Cost": 665961.55, "Plan Rows": 548939, "Plan Width": 181, "Output": ["customer.c_custkey", "nation.n_name", "customer.c_name", "lineitem.l_extendedprice", "lineitem.l_discount", "customer.c_acctbal", "customer.c_address", "customer.c_phone", "customer.c_comment"], "Workers Planned": 4, "Plans": [{"Node Type": "Sort", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 599234.48, "Total Cost": 599577.57, "Plan Rows": 137235, "Plan Width": 181, "Output": ["customer.c_custkey", "nation.n_name", "customer.c_name", "lineitem.l_extendedprice", "lineitem.l_discount", "customer.c_acctbal", "customer.c_address", "customer.c_phone", "customer.c_comment"], "Sort Key": ["customer.c_custkey", "nation.n_name"], "Plans": [{"Node Type": "Hash Join", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Join Type": "Inner", "Startup Cost": 537808.99, "Total Cost": 580379.77, "Plan Rows": 137235, "Plan Width": 181, "Output": ["customer.c_custkey", "nation.n_name", "customer.c_name", "lineitem.l_extendedprice", "lineitem.l_discount", "customer.c_acctbal", "customer.c_address", "customer.c_phone", "customer.c_comment"], "Inner Unique": true, "Hash Cond": "(customer.c_nationkey = nation.n_nationkey)", "Plans": [{"Node Type": "Hash Join", "Parent Relationship": "Outer", "Parallel Aware": true, "Async Capable": false, "Join Type": "Inner", "Startup Cost": 537807.43, "Total Cost": 579956.9, "Plan Rows": 137235, "Plan Width": 159, "Output": ["customer.c_custkey", "customer.c_name", "customer.c_acctbal", "customer.c_address", "customer.c_phone", "customer.c_comment", "customer.c_nationkey", "lineitem.l_extendedprice", "lineitem.l_discount"], "Inner Unique": false, "Hash Cond": "(customer.c_custkey = orders.o_custkey)", "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": true, "Async Capable": false, "Relation Name": "customer", "Schema": "public", "Alias": "customer", "Startup Cost": 0.0, "Total Cost": 39577.0, "Plan Rows": 375000, "Plan Width": 147, "Output": ["customer.c_custkey", "customer.c_name", "customer.c_address", "customer.c_nationkey", "customer.c_phone", "customer.c_acctbal", "customer.c_mktsegment", "customer.c_comment"]}, {"Node Type": "Hash", "Parent Relationship": "Inner", "Parallel Aware": true, "Async Capable": false, "Startup Cost": 536663.8, "Total Cost": 536663.8, "Plan Rows": 91490, "Plan Width": 16, "Output": ["orders.o_custkey", "lineitem.l_extendedprice", "lineitem.l_discount"], "Plans": [{"Node Type": "Nested Loop", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Join Type": "Inner", "Startup Cost": 6252.93, "Total Cost": 536663.8, "Plan Rows": 91490, "Plan Width": 16, "Output": ["orders.o_custkey", "lineitem.l_extendedprice", "lineitem.l_discount"], "Inner Unique": false, "Plans": [{"Node Type": "Bitmap Heap Scan", "Parent Relationship": "Outer", "Parallel Aware": true, "Async Capable": false, "Relation Name": "orders", "Schema": "public", "Alias": "orders", "Startup Cost": 6252.37, "Total Cost": 268560.98, "Plan Rows": 93108, "Plan Width": 8, "Output": ["orders.o_orderkey", "orders.o_custkey", "orders.o_orderstatus", "orders.o_totalprice", "orders.o_orderdate", "orders.o_orderpriority", "orders.o_clerk", "orders.o_shippriority", "orders.o_comment"], "Recheck Cond": "((orders.o_orderdate >= '1993-02-01'::date) AND (orders.o_orderdate < '1993-05-01 00:00:00'::timestamp without time zone))", "Plans": [{"Node Type": "Bitmap Index Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Index Name": "o_od", "Startup Cost": 0.0, "Total Cost": 6112.71, "Plan Rows": 558647, "Plan Width": 0, "Index Cond": "((orders.o_orderdate >= '1993-02-01'::date) AND (orders.o_orderdate < '1993-05-01 00:00:00'::timestamp without time zone))"}]}, {"Node Type": "Index Scan", "Parent Relationship": "Inner", "Parallel Aware": false, "Async Capable": false, "Scan Direction": "Forward", "Index Name": "l_ok", "Relation Name": "lineitem", "Schema": "public", "Alias": "lineitem", "Startup Cost": 0.56, "Total Cost": 2.81, "Plan Rows": 7, "Plan Width": 16, "Output": ["lineitem.l_orderkey", "lineitem.l_partkey", "lineitem.l_suppkey", "lineitem.l_linenumber", "lineitem.l_quantity", "lineitem.l_extendedprice", "lineitem.l_discount", "lineitem.l_tax", "lineitem.l_returnflag", "lineitem.l_linestatus", "lineitem.l_shipdate", "lineitem.l_commitdate", "lineitem.l_receiptdate", "lineitem.l_shipinstruct", "lineitem.l_shipmode", "lineitem.l_comment"], "Index Cond": "(lineitem.l_orderkey = orders.o_orderkey)", "Filter": "(lineitem.l_returnflag = 'R'::bpchar)"}]}]}]}, {"Node Type": "Hash", "Parent Relationship": "Inner", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 1.25, "Total Cost": 1.25, "Plan Rows": 25, "Plan Width": 30, "Output": ["nation.n_name", "nation.n_nationkey"], "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Relation Name": "nation", "Schema": "public", "Alias": "nation", "Startup Cost": 0.0, "Total Cost": 1.25, "Plan Rows": 25, "Plan Width": 30, "Output": ["nation.n_name", "nation.n_nationkey"]}]}]}]}]}]}]}]}} diff --git a/dev9/pg15/tpch/sf_10/explain/15721/11-1.ok b/dev9/pg15/tpch/sf_10/explain/15721/11-1.ok new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/dev9/pg15/tpch/sf_10/explain/15721/11-1.res b/dev9/pg15/tpch/sf_10/explain/15721/11-1.res new file mode 100644 index 0000000000000000000000000000000000000000..b988d242dc402f0dc5cbc3a9f12253e4aaf89031 --- /dev/null +++ b/dev9/pg15/tpch/sf_10/explain/15721/11-1.res @@ -0,0 +1 @@ +{"Plan": {"Node Type": "Sort", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 66881.91, "Total Cost": 67148.57, "Plan Rows": 106664, "Plan Width": 36, "Output": ["partsupp.ps_partkey", "(sum((partsupp.ps_supplycost * (partsupp.ps_availqty)::numeric)))"], "Sort Key": ["(sum((partsupp.ps_supplycost * (partsupp.ps_availqty)::numeric))) DESC"], "Plans": [{"Node Type": "Aggregate", "Strategy": "Plain", "Partial Mode": "Finalize", "Parent Relationship": "InitPlan", "Subplan Name": "InitPlan 1 (returns $2)", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 16279.13, "Total Cost": 16279.14, "Plan Rows": 1, "Plan Width": 32, "Output": ["(sum((partsupp_1.ps_supplycost * (partsupp_1.ps_availqty)::numeric)) * 0.0001000000)"], "Plans": [{"Node Type": "Gather", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 16279.01, "Total Cost": 16279.12, "Plan Rows": 1, "Plan Width": 32, "Output": ["(PARTIAL sum((partsupp_1.ps_supplycost * (partsupp_1.ps_availqty)::numeric)))"], "Workers Planned": 1, "Single Copy": false, "Plans": [{"Node Type": "Aggregate", "Strategy": "Plain", "Partial Mode": "Partial", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 15279.01, "Total Cost": 15279.02, "Plan Rows": 1, "Plan Width": 32, "Output": ["PARTIAL sum((partsupp_1.ps_supplycost * (partsupp_1.ps_availqty)::numeric))"], "Plans": [{"Node Type": "Nested Loop", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Join Type": "Inner", "Startup Cost": 1.76, "Total Cost": 13867.28, "Plan Rows": 188231, "Plan Width": 10, "Output": ["partsupp_1.ps_supplycost", "partsupp_1.ps_availqty"], "Inner Unique": false, "Plans": [{"Node Type": "Hash Join", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Join Type": "Inner", "Startup Cost": 1.32, "Total Cost": 2986.15, "Plan Rows": 2353, "Plan Width": 4, "Output": ["supplier_1.s_suppkey"], "Inner Unique": true, "Hash Cond": "(supplier_1.s_nationkey = nation_1.n_nationkey)", "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": true, "Async Capable": false, "Relation Name": "supplier", "Schema": "public", "Alias": "supplier_1", "Startup Cost": 0.0, "Total Cost": 2804.24, "Plan Rows": 58824, "Plan Width": 8, "Output": ["supplier_1.s_suppkey", "supplier_1.s_name", "supplier_1.s_address", "supplier_1.s_nationkey", "supplier_1.s_phone", "supplier_1.s_acctbal", "supplier_1.s_comment"]}, {"Node Type": "Hash", "Parent Relationship": "Inner", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 1.31, "Total Cost": 1.31, "Plan Rows": 1, "Plan Width": 4, "Output": ["nation_1.n_nationkey"], "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Relation Name": "nation", "Schema": "public", "Alias": "nation_1", "Startup Cost": 0.0, "Total Cost": 1.31, "Plan Rows": 1, "Plan Width": 4, "Output": ["nation_1.n_nationkey"], "Filter": "(nation_1.n_name = 'CHINA'::bpchar)"}]}]}, {"Node Type": "Index Scan", "Parent Relationship": "Inner", "Parallel Aware": false, "Async Capable": false, "Scan Direction": "Forward", "Index Name": "ps_sk", "Relation Name": "partsupp", "Schema": "public", "Alias": "partsupp_1", "Startup Cost": 0.43, "Total Cost": 3.82, "Plan Rows": 80, "Plan Width": 14, "Output": ["partsupp_1.ps_partkey", "partsupp_1.ps_suppkey", "partsupp_1.ps_availqty", "partsupp_1.ps_supplycost", "partsupp_1.ps_comment"], "Index Cond": "(partsupp_1.ps_suppkey = supplier_1.s_suppkey)"}]}]}]}]}, {"Node Type": "Aggregate", "Strategy": "Hashed", "Partial Mode": "Simple", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 33770.07, "Total Cost": 41694.87, "Plan Rows": 106664, "Plan Width": 36, "Output": ["partsupp.ps_partkey", "sum((partsupp.ps_supplycost * (partsupp.ps_availqty)::numeric))"], "Group Key": ["partsupp.ps_partkey"], "Filter": "(sum((partsupp.ps_supplycost * (partsupp.ps_availqty)::numeric)) > $2)", "Planned Partitions": 4, "Plans": [{"Node Type": "Nested Loop", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Join Type": "Inner", "Startup Cost": 36.12, "Total Cost": 20732.89, "Plan Rows": 319992, "Plan Width": 14, "Output": ["partsupp.ps_partkey", "partsupp.ps_supplycost", "partsupp.ps_availqty"], "Inner Unique": false, "Plans": [{"Node Type": "Nested Loop", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Join Type": "Inner", "Startup Cost": 35.69, "Total Cost": 2235.44, "Plan Rows": 4000, "Plan Width": 4, "Output": ["supplier.s_suppkey"], "Inner Unique": false, "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Relation Name": "nation", "Schema": "public", "Alias": "nation", "Startup Cost": 0.0, "Total Cost": 1.31, "Plan Rows": 1, "Plan Width": 4, "Output": ["nation.n_nationkey", "nation.n_name", "nation.n_regionkey", "nation.n_comment"], "Filter": "(nation.n_name = 'CHINA'::bpchar)"}, {"Node Type": "Bitmap Heap Scan", "Parent Relationship": "Inner", "Parallel Aware": false, "Async Capable": false, "Relation Name": "supplier", "Schema": "public", "Alias": "supplier", "Startup Cost": 35.69, "Total Cost": 2194.12, "Plan Rows": 4000, "Plan Width": 8, "Output": ["supplier.s_suppkey", "supplier.s_name", "supplier.s_address", "supplier.s_nationkey", "supplier.s_phone", "supplier.s_acctbal", "supplier.s_comment"], "Recheck Cond": "(supplier.s_nationkey = nation.n_nationkey)", "Plans": [{"Node Type": "Bitmap Index Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Index Name": "s_nk", "Startup Cost": 0.0, "Total Cost": 34.69, "Plan Rows": 4000, "Plan Width": 0, "Index Cond": "(supplier.s_nationkey = nation.n_nationkey)"}]}]}, {"Node Type": "Index Scan", "Parent Relationship": "Inner", "Parallel Aware": false, "Async Capable": false, "Scan Direction": "Forward", "Index Name": "ps_sk", "Relation Name": "partsupp", "Schema": "public", "Alias": "partsupp", "Startup Cost": 0.43, "Total Cost": 3.82, "Plan Rows": 80, "Plan Width": 18, "Output": ["partsupp.ps_partkey", "partsupp.ps_suppkey", "partsupp.ps_availqty", "partsupp.ps_supplycost", "partsupp.ps_comment"], "Index Cond": "(partsupp.ps_suppkey = supplier.s_suppkey)"}]}]}]}} diff --git a/dev9/pg15/tpch/sf_10/explain/15721/12-1.ok b/dev9/pg15/tpch/sf_10/explain/15721/12-1.ok new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/dev9/pg15/tpch/sf_10/explain/15721/12-1.res b/dev9/pg15/tpch/sf_10/explain/15721/12-1.res new file mode 100644 index 0000000000000000000000000000000000000000..590e6df6e067f1047f08481012b416dca174e77a --- /dev/null +++ b/dev9/pg15/tpch/sf_10/explain/15721/12-1.res @@ -0,0 +1 @@ +{"Plan": {"Node Type": "Aggregate", "Strategy": "Sorted", "Partial Mode": "Finalize", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 1375064.16, "Total Cost": 1375879.75, "Plan Rows": 7, "Plan Width": 27, "Output": ["lineitem.l_shipmode", "sum(CASE WHEN ((orders.o_orderpriority = '1-URGENT'::bpchar) OR (orders.o_orderpriority = '2-HIGH'::bpchar)) THEN 1 ELSE 0 END)", "sum(CASE WHEN ((orders.o_orderpriority <> '1-URGENT'::bpchar) AND (orders.o_orderpriority <> '2-HIGH'::bpchar)) THEN 1 ELSE 0 END)"], "Group Key": ["lineitem.l_shipmode"], "Plans": [{"Node Type": "Gather Merge", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 1375064.16, "Total Cost": 1375879.32, "Plan Rows": 49, "Plan Width": 27, "Output": ["lineitem.l_shipmode", "(PARTIAL sum(CASE WHEN ((orders.o_orderpriority = '1-URGENT'::bpchar) OR (orders.o_orderpriority = '2-HIGH'::bpchar)) THEN 1 ELSE 0 END))", "(PARTIAL sum(CASE WHEN ((orders.o_orderpriority <> '1-URGENT'::bpchar) AND (orders.o_orderpriority <> '2-HIGH'::bpchar)) THEN 1 ELSE 0 END))"], "Workers Planned": 7, "Plans": [{"Node Type": "Aggregate", "Strategy": "Sorted", "Partial Mode": "Partial", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 1374064.04, "Total Cost": 1374873.19, "Plan Rows": 7, "Plan Width": 27, "Output": ["lineitem.l_shipmode", "PARTIAL sum(CASE WHEN ((orders.o_orderpriority = '1-URGENT'::bpchar) OR (orders.o_orderpriority = '2-HIGH'::bpchar)) THEN 1 ELSE 0 END)", "PARTIAL sum(CASE WHEN ((orders.o_orderpriority <> '1-URGENT'::bpchar) AND (orders.o_orderpriority <> '2-HIGH'::bpchar)) THEN 1 ELSE 0 END)"], "Group Key": ["lineitem.l_shipmode"], "Plans": [{"Node Type": "Sort", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 1374064.04, "Total Cost": 1374165.18, "Plan Rows": 40454, "Plan Width": 27, "Output": ["lineitem.l_shipmode", "orders.o_orderpriority"], "Sort Key": ["lineitem.l_shipmode"], "Plans": [{"Node Type": "Nested Loop", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Join Type": "Inner", "Startup Cost": 0.43, "Total Cost": 1370968.51, "Plan Rows": 40454, "Plan Width": 27, "Output": ["lineitem.l_shipmode", "orders.o_orderpriority"], "Inner Unique": true, "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": true, "Async Capable": false, "Relation Name": "lineitem", "Schema": "public", "Alias": "lineitem", "Startup Cost": 0.0, "Total Cost": 1317353.73, "Plan Rows": 40454, "Plan Width": 15, "Output": ["lineitem.l_orderkey", "lineitem.l_partkey", "lineitem.l_suppkey", "lineitem.l_linenumber", "lineitem.l_quantity", "lineitem.l_extendedprice", "lineitem.l_discount", "lineitem.l_tax", "lineitem.l_returnflag", "lineitem.l_linestatus", "lineitem.l_shipdate", "lineitem.l_commitdate", "lineitem.l_receiptdate", "lineitem.l_shipinstruct", "lineitem.l_shipmode", "lineitem.l_comment"], "Filter": "((lineitem.l_shipmode = ANY ('{MAIL,TRUCK}'::bpchar[])) AND (lineitem.l_commitdate < lineitem.l_receiptdate) AND (lineitem.l_shipdate < lineitem.l_commitdate) AND (lineitem.l_receiptdate >= '1995-01-01'::date) AND (lineitem.l_receiptdate < '1996-01-01 00:00:00'::timestamp without time zone))"}, {"Node Type": "Index Scan", "Parent Relationship": "Inner", "Parallel Aware": false, "Async Capable": false, "Scan Direction": "Forward", "Index Name": "o_ok", "Relation Name": "orders", "Schema": "public", "Alias": "orders", "Startup Cost": 0.43, "Total Cost": 1.33, "Plan Rows": 1, "Plan Width": 20, "Output": ["orders.o_orderkey", "orders.o_custkey", "orders.o_orderstatus", "orders.o_totalprice", "orders.o_orderdate", "orders.o_orderpriority", "orders.o_clerk", "orders.o_shippriority", "orders.o_comment"], "Index Cond": "(orders.o_orderkey = lineitem.l_orderkey)"}]}]}]}]}]}} diff --git a/dev9/pg15/tpch/sf_10/explain/15721/13-1.ok b/dev9/pg15/tpch/sf_10/explain/15721/13-1.ok new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/dev9/pg15/tpch/sf_10/explain/15721/13-1.res b/dev9/pg15/tpch/sf_10/explain/15721/13-1.res new file mode 100644 index 0000000000000000000000000000000000000000..944ecb3e8d17d3d009604659997750c69dc683a3 --- /dev/null +++ b/dev9/pg15/tpch/sf_10/explain/15721/13-1.res @@ -0,0 +1 @@ +{"Plan": {"Node Type": "Sort", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 894561.52, "Total Cost": 894562.02, "Plan Rows": 200, "Plan Width": 16, "Output": ["(count(orders.o_orderkey))", "(count(*))"], "Sort Key": ["(count(*)) DESC", "(count(orders.o_orderkey)) DESC"], "Plans": [{"Node Type": "Aggregate", "Strategy": "Hashed", "Partial Mode": "Simple", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 894551.88, "Total Cost": 894553.88, "Plan Rows": 200, "Plan Width": 16, "Output": ["(count(orders.o_orderkey))", "count(*)"], "Group Key": ["count(orders.o_orderkey)"], "Planned Partitions": 0, "Plans": [{"Node Type": "Aggregate", "Strategy": "Sorted", "Partial Mode": "Simple", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 1.27, "Total Cost": 872051.88, "Plan Rows": 1500000, "Plan Width": 12, "Output": ["customer.c_custkey", "count(orders.o_orderkey)"], "Group Key": ["customer.c_custkey"], "Plans": [{"Node Type": "Merge Join", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Join Type": "Left", "Startup Cost": 1.27, "Total Cost": 782803.4, "Plan Rows": 14849695, "Plan Width": 8, "Output": ["customer.c_custkey", "orders.o_orderkey"], "Inner Unique": false, "Merge Cond": "(customer.c_custkey = orders.o_custkey)", "Plans": [{"Node Type": "Index Only Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Scan Direction": "Forward", "Index Name": "c_ck", "Relation Name": "customer", "Schema": "public", "Alias": "customer", "Startup Cost": 0.43, "Total Cost": 27028.03, "Plan Rows": 1500000, "Plan Width": 4, "Output": ["customer.c_custkey"]}, {"Node Type": "Index Scan", "Parent Relationship": "Inner", "Parallel Aware": false, "Async Capable": false, "Scan Direction": "Forward", "Index Name": "o_ck", "Relation Name": "orders", "Schema": "public", "Alias": "orders", "Startup Cost": 0.43, "Total Cost": 566433.65, "Plan Rows": 14849695, "Plan Width": 8, "Output": ["orders.o_orderkey", "orders.o_custkey", "orders.o_orderstatus", "orders.o_totalprice", "orders.o_orderdate", "orders.o_orderpriority", "orders.o_clerk", "orders.o_shippriority", "orders.o_comment"], "Filter": "((orders.o_comment)::text !~~ '%unusual%requests%'::text)"}]}]}]}]}} diff --git a/dev9/pg15/tpch/sf_10/explain/15721/14-1.ok b/dev9/pg15/tpch/sf_10/explain/15721/14-1.ok new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/dev9/pg15/tpch/sf_10/explain/15721/14-1.res b/dev9/pg15/tpch/sf_10/explain/15721/14-1.res new file mode 100644 index 0000000000000000000000000000000000000000..da68661468ffc7a77a0dd1b4b18988ceb06b3ee8 --- /dev/null +++ b/dev9/pg15/tpch/sf_10/explain/15721/14-1.res @@ -0,0 +1 @@ +{"Plan": {"Node Type": "Aggregate", "Strategy": "Plain", "Partial Mode": "Finalize", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 696074.44, "Total Cost": 696074.46, "Plan Rows": 1, "Plan Width": 32, "Output": ["((100.00 * sum(CASE WHEN ((part.p_type)::text ~~ 'PROMO%'::text) THEN (lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount)) ELSE '0'::numeric END)) / sum((lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount))))"], "Plans": [{"Node Type": "Gather", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 696074.1, "Total Cost": 696074.41, "Plan Rows": 3, "Plan Width": 64, "Output": ["(PARTIAL sum(CASE WHEN ((part.p_type)::text ~~ 'PROMO%'::text) THEN (lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount)) ELSE '0'::numeric END))", "(PARTIAL sum((lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount))))"], "Workers Planned": 3, "Single Copy": false, "Plans": [{"Node Type": "Aggregate", "Strategy": "Plain", "Partial Mode": "Partial", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 695074.1, "Total Cost": 695074.11, "Plan Rows": 1, "Plan Width": 64, "Output": ["PARTIAL sum(CASE WHEN ((part.p_type)::text ~~ 'PROMO%'::text) THEN (lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount)) ELSE '0'::numeric END)", "PARTIAL sum((lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount)))"], "Plans": [{"Node Type": "Hash Join", "Parent Relationship": "Outer", "Parallel Aware": true, "Async Capable": false, "Join Type": "Inner", "Startup Cost": 52212.57, "Total Cost": 690763.06, "Plan Rows": 246345, "Plan Width": 33, "Output": ["part.p_type", "lineitem.l_extendedprice", "lineitem.l_discount"], "Inner Unique": true, "Hash Cond": "(lineitem.l_partkey = part.p_partkey)", "Plans": [{"Node Type": "Index Scan", "Parent Relationship": "Outer", "Parallel Aware": true, "Async Capable": false, "Scan Direction": "Forward", "Index Name": "l_sd", "Relation Name": "lineitem", "Schema": "public", "Alias": "lineitem", "Startup Cost": 0.56, "Total Cost": 637904.4, "Plan Rows": 246345, "Plan Width": 16, "Output": ["lineitem.l_orderkey", "lineitem.l_partkey", "lineitem.l_suppkey", "lineitem.l_linenumber", "lineitem.l_quantity", "lineitem.l_extendedprice", "lineitem.l_discount", "lineitem.l_tax", "lineitem.l_returnflag", "lineitem.l_linestatus", "lineitem.l_shipdate", "lineitem.l_commitdate", "lineitem.l_receiptdate", "lineitem.l_shipinstruct", "lineitem.l_shipmode", "lineitem.l_comment"], "Index Cond": "((lineitem.l_shipdate >= '1995-05-01'::date) AND (lineitem.l_shipdate < '1995-06-01 00:00:00'::timestamp without time zone))"}, {"Node Type": "Hash", "Parent Relationship": "Inner", "Parallel Aware": true, "Async Capable": false, "Startup Cost": 45962.0, "Total Cost": 45962.0, "Plan Rows": 500000, "Plan Width": 25, "Output": ["part.p_type", "part.p_partkey"], "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": true, "Async Capable": false, "Relation Name": "part", "Schema": "public", "Alias": "part", "Startup Cost": 0.0, "Total Cost": 45962.0, "Plan Rows": 500000, "Plan Width": 25, "Output": ["part.p_type", "part.p_partkey"]}]}]}]}]}]}} diff --git a/dev9/pg15/tpch/sf_10/explain/15721/15-1.ok b/dev9/pg15/tpch/sf_10/explain/15721/15-1.ok new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/dev9/pg15/tpch/sf_10/explain/15721/15-1.res b/dev9/pg15/tpch/sf_10/explain/15721/15-1.res new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/dev9/pg15/tpch/sf_10/explain/15721/15-2.ok b/dev9/pg15/tpch/sf_10/explain/15721/15-2.ok new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/dev9/pg15/tpch/sf_10/explain/15721/15-2.res b/dev9/pg15/tpch/sf_10/explain/15721/15-2.res new file mode 100644 index 0000000000000000000000000000000000000000..249eaeb81f647a9cecb4ba065c60b114b426d2b4 --- /dev/null +++ b/dev9/pg15/tpch/sf_10/explain/15721/15-2.res @@ -0,0 +1 @@ +{"Plan": {"Node Type": "Merge Join", "Parallel Aware": false, "Async Capable": false, "Join Type": "Inner", "Startup Cost": 2611276.53, "Total Cost": 2615553.84, "Plan Rows": 500, "Plan Width": 103, "Output": ["supplier.s_suppkey", "supplier.s_name", "supplier.s_address", "supplier.s_phone", "revenue0.total_revenue"], "Inner Unique": true, "Merge Cond": "(supplier.s_suppkey = revenue0.supplier_no)", "Plans": [{"Node Type": "Aggregate", "Strategy": "Plain", "Partial Mode": "Simple", "Parent Relationship": "InitPlan", "Subplan Name": "InitPlan 1 (returns $0)", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 1306124.53, "Total Cost": 1306124.54, "Plan Rows": 1, "Plan Width": 32, "Output": ["max((sum((lineitem_1.l_extendedprice * ('1'::numeric - lineitem_1.l_discount)))))"], "Plans": [{"Node Type": "Aggregate", "Strategy": "Hashed", "Partial Mode": "Simple", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 1303623.93, "Total Cost": 1304874.23, "Plan Rows": 100024, "Plan Width": 36, "Output": ["lineitem_1.l_suppkey", "sum((lineitem_1.l_extendedprice * ('1'::numeric - lineitem_1.l_discount)))"], "Group Key": ["lineitem_1.l_suppkey"], "Planned Partitions": 0, "Plans": [{"Node Type": "Index Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Scan Direction": "Forward", "Index Name": "l_sd", "Relation Name": "lineitem", "Schema": "public", "Alias": "lineitem_1", "Startup Cost": 0.56, "Total Cost": 1281228.23, "Plan Rows": 2239570, "Plan Width": 16, "Output": ["lineitem_1.l_orderkey", "lineitem_1.l_partkey", "lineitem_1.l_suppkey", "lineitem_1.l_linenumber", "lineitem_1.l_quantity", "lineitem_1.l_extendedprice", "lineitem_1.l_discount", "lineitem_1.l_tax", "lineitem_1.l_returnflag", "lineitem_1.l_linestatus", "lineitem_1.l_shipdate", "lineitem_1.l_commitdate", "lineitem_1.l_receiptdate", "lineitem_1.l_shipinstruct", "lineitem_1.l_shipmode", "lineitem_1.l_comment"], "Index Cond": "((lineitem_1.l_shipdate >= '1995-01-01'::date) AND (lineitem_1.l_shipdate < '1995-04-01 00:00:00'::timestamp without time zone))"}]}]}, {"Node Type": "Index Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Scan Direction": "Forward", "Index Name": "s_sk", "Relation Name": "supplier", "Schema": "public", "Alias": "supplier", "Startup Cost": 0.29, "Total Cost": 4020.1, "Plan Rows": 100000, "Plan Width": 71, "Output": ["supplier.s_suppkey", "supplier.s_name", "supplier.s_address", "supplier.s_nationkey", "supplier.s_phone", "supplier.s_acctbal", "supplier.s_comment"]}, {"Node Type": "Sort", "Parent Relationship": "Inner", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 1305151.7, "Total Cost": 1305152.95, "Plan Rows": 500, "Plan Width": 36, "Output": ["revenue0.total_revenue", "revenue0.supplier_no"], "Sort Key": ["revenue0.supplier_no"], "Plans": [{"Node Type": "Subquery Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Alias": "revenue0", "Startup Cost": 1303623.93, "Total Cost": 1305129.29, "Plan Rows": 500, "Plan Width": 36, "Output": ["revenue0.total_revenue", "revenue0.supplier_no"], "Plans": [{"Node Type": "Aggregate", "Strategy": "Hashed", "Partial Mode": "Simple", "Parent Relationship": "Subquery", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 1303623.93, "Total Cost": 1305124.29, "Plan Rows": 500, "Plan Width": 36, "Output": ["lineitem.l_suppkey", "sum((lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount)))"], "Group Key": ["lineitem.l_suppkey"], "Filter": "(sum((lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount))) = $0)", "Planned Partitions": 0, "Plans": [{"Node Type": "Index Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Scan Direction": "Forward", "Index Name": "l_sd", "Relation Name": "lineitem", "Schema": "public", "Alias": "lineitem", "Startup Cost": 0.56, "Total Cost": 1281228.23, "Plan Rows": 2239570, "Plan Width": 16, "Output": ["lineitem.l_orderkey", "lineitem.l_partkey", "lineitem.l_suppkey", "lineitem.l_linenumber", "lineitem.l_quantity", "lineitem.l_extendedprice", "lineitem.l_discount", "lineitem.l_tax", "lineitem.l_returnflag", "lineitem.l_linestatus", "lineitem.l_shipdate", "lineitem.l_commitdate", "lineitem.l_receiptdate", "lineitem.l_shipinstruct", "lineitem.l_shipmode", "lineitem.l_comment"], "Index Cond": "((lineitem.l_shipdate >= '1995-01-01'::date) AND (lineitem.l_shipdate < '1995-04-01 00:00:00'::timestamp without time zone))"}]}]}]}]}} diff --git a/dev9/pg15/tpch/sf_10/explain/15721/15-3.ok b/dev9/pg15/tpch/sf_10/explain/15721/15-3.ok new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/dev9/pg15/tpch/sf_10/explain/15721/15-3.res b/dev9/pg15/tpch/sf_10/explain/15721/15-3.res new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/dev9/pg15/tpch/sf_10/explain/15721/16-1.ok b/dev9/pg15/tpch/sf_10/explain/15721/16-1.ok new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/dev9/pg15/tpch/sf_10/explain/15721/16-1.res b/dev9/pg15/tpch/sf_10/explain/15721/16-1.res new file mode 100644 index 0000000000000000000000000000000000000000..cbbc6b7da66d9edbf828a0b6e5a8d49850bb990f --- /dev/null +++ b/dev9/pg15/tpch/sf_10/explain/15721/16-1.res @@ -0,0 +1 @@ +{"Plan": {"Node Type": "Sort", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 243532.22, "Total Cost": 243917.83, "Plan Rows": 154244, "Plan Width": 44, "Output": ["part.p_brand", "part.p_type", "part.p_size", "(count(DISTINCT partsupp.ps_suppkey))"], "Sort Key": ["(count(DISTINCT partsupp.ps_suppkey)) DESC", "part.p_brand", "part.p_type", "part.p_size"], "Plans": [{"Node Type": "Aggregate", "Strategy": "Sorted", "Partial Mode": "Simple", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 149695.54, "Total Cost": 230240.35, "Plan Rows": 154244, "Plan Width": 44, "Output": ["part.p_brand", "part.p_type", "part.p_size", "count(DISTINCT partsupp.ps_suppkey)"], "Group Key": ["part.p_brand", "part.p_type", "part.p_size"], "Plans": [{"Node Type": "Gather Merge", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 149695.54, "Total Cost": 222710.77, "Plan Rows": 598714, "Plan Width": 40, "Output": ["part.p_brand", "part.p_type", "part.p_size", "partsupp.ps_suppkey"], "Workers Planned": 6, "Plans": [{"Node Type": "Sort", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 148695.44, "Total Cost": 148944.91, "Plan Rows": 99786, "Plan Width": 40, "Output": ["part.p_brand", "part.p_type", "part.p_size", "partsupp.ps_suppkey"], "Sort Key": ["part.p_brand", "part.p_type", "part.p_size"], "Plans": [{"Node Type": "Hash Join", "Parent Relationship": "Outer", "Parallel Aware": true, "Async Capable": false, "Join Type": "Inner", "Startup Cost": 57863.97, "Total Cost": 140409.94, "Plan Rows": 99786, "Plan Width": 40, "Output": ["part.p_brand", "part.p_type", "part.p_size", "partsupp.ps_suppkey"], "Inner Unique": true, "Hash Cond": "(partsupp.ps_partkey = part.p_partkey)", "Plans": [{"Node Type": "Index Only Scan", "Parent Relationship": "Outer", "Parallel Aware": true, "Async Capable": false, "Scan Direction": "Forward", "Index Name": "ps_pk_sk", "Relation Name": "partsupp", "Schema": "public", "Alias": "partsupp", "Startup Cost": 3466.46, "Total Cost": 84262.46, "Plan Rows": 666651, "Plan Width": 8, "Output": ["partsupp.ps_partkey", "partsupp.ps_suppkey"], "Filter": "(NOT (hashed SubPlan 1))", "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "SubPlan", "Subplan Name": "SubPlan 1", "Parallel Aware": false, "Async Capable": false, "Relation Name": "supplier", "Schema": "public", "Alias": "supplier", "Startup Cost": 0.0, "Total Cost": 3466.0, "Plan Rows": 10, "Plan Width": 4, "Output": ["supplier.s_suppkey"], "Filter": "((supplier.s_comment)::text ~~ '%Customer%Complaints%'::text)"}]}, {"Node Type": "Hash", "Parent Relationship": "Inner", "Parallel Aware": true, "Async Capable": false, "Startup Cost": 53462.0, "Total Cost": 53462.0, "Plan Rows": 74841, "Plan Width": 40, "Output": ["part.p_brand", "part.p_type", "part.p_size", "part.p_partkey"], "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": true, "Async Capable": false, "Relation Name": "part", "Schema": "public", "Alias": "part", "Startup Cost": 0.0, "Total Cost": 53462.0, "Plan Rows": 74841, "Plan Width": 40, "Output": ["part.p_brand", "part.p_type", "part.p_size", "part.p_partkey"], "Filter": "((part.p_brand <> 'Brand#11'::bpchar) AND ((part.p_type)::text !~~ 'ECONOMY ANODIZED%'::text) AND (part.p_size = ANY ('{42,16,39,18,23,32,44,41}'::integer[])))"}]}]}]}]}]}]}} diff --git a/dev9/pg15/tpch/sf_10/explain/15721/17-1.ok b/dev9/pg15/tpch/sf_10/explain/15721/17-1.ok new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/dev9/pg15/tpch/sf_10/explain/15721/17-1.res b/dev9/pg15/tpch/sf_10/explain/15721/17-1.res new file mode 100644 index 0000000000000000000000000000000000000000..375d51f10602e735ba05ebdd56f80e085e863d81 --- /dev/null +++ b/dev9/pg15/tpch/sf_10/explain/15721/17-1.res @@ -0,0 +1 @@ +{"Plan": {"Node Type": "Aggregate", "Strategy": "Plain", "Partial Mode": "Simple", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 1931964.2, "Total Cost": 1931964.21, "Plan Rows": 1, "Plan Width": 32, "Output": ["(sum(lineitem.l_extendedprice) / 7.0)"], "Plans": [{"Node Type": "Hash Join", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Join Type": "Inner", "Startup Cost": 49687.56, "Total Cost": 1931914.08, "Plan Rows": 20045, "Plan Width": 8, "Output": ["lineitem.l_extendedprice"], "Inner Unique": true, "Hash Cond": "(lineitem.l_partkey = part.p_partkey)", "Join Filter": "(lineitem.l_quantity < (SubPlan 1))", "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Relation Name": "lineitem", "Schema": "public", "Alias": "lineitem", "Startup Cost": 0.0, "Total Cost": 1724400.72, "Plan Rows": 59985872, "Plan Width": 17, "Output": ["lineitem.l_orderkey", "lineitem.l_partkey", "lineitem.l_suppkey", "lineitem.l_linenumber", "lineitem.l_quantity", "lineitem.l_extendedprice", "lineitem.l_discount", "lineitem.l_tax", "lineitem.l_returnflag", "lineitem.l_linestatus", "lineitem.l_shipdate", "lineitem.l_commitdate", "lineitem.l_receiptdate", "lineitem.l_shipinstruct", "lineitem.l_shipmode", "lineitem.l_comment"]}, {"Node Type": "Hash", "Parent Relationship": "Inner", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 49662.5, "Total Cost": 49662.5, "Plan Rows": 2005, "Plan Width": 4, "Output": ["part.p_partkey"], "Plans": [{"Node Type": "Gather", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 1000.0, "Total Cost": 49662.5, "Plan Rows": 2005, "Plan Width": 4, "Output": ["part.p_partkey"], "Workers Planned": 4, "Single Copy": false, "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": true, "Async Capable": false, "Relation Name": "part", "Schema": "public", "Alias": "part", "Startup Cost": 0.0, "Total Cost": 48462.0, "Plan Rows": 501, "Plan Width": 4, "Output": ["part.p_partkey"], "Filter": "((part.p_brand = 'Brand#14'::bpchar) AND (part.p_container = 'WRAP BOX'::bpchar))"}]}]}, {"Node Type": "Aggregate", "Strategy": "Plain", "Partial Mode": "Simple", "Parent Relationship": "SubPlan", "Subplan Name": "SubPlan 1", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 36.26, "Total Cost": 36.27, "Plan Rows": 1, "Plan Width": 32, "Output": ["(0.2 * avg(lineitem_1.l_quantity))"], "Plans": [{"Node Type": "Index Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Scan Direction": "Forward", "Index Name": "l_pk", "Relation Name": "lineitem", "Schema": "public", "Alias": "lineitem_1", "Startup Cost": 0.44, "Total Cost": 36.18, "Plan Rows": 31, "Plan Width": 5, "Output": ["lineitem_1.l_orderkey", "lineitem_1.l_partkey", "lineitem_1.l_suppkey", "lineitem_1.l_linenumber", "lineitem_1.l_quantity", "lineitem_1.l_extendedprice", "lineitem_1.l_discount", "lineitem_1.l_tax", "lineitem_1.l_returnflag", "lineitem_1.l_linestatus", "lineitem_1.l_shipdate", "lineitem_1.l_commitdate", "lineitem_1.l_receiptdate", "lineitem_1.l_shipinstruct", "lineitem_1.l_shipmode", "lineitem_1.l_comment"], "Index Cond": "(lineitem_1.l_partkey = part.p_partkey)"}]}]}]}} diff --git a/dev9/pg15/tpch/sf_10/explain/15721/18-1.ok b/dev9/pg15/tpch/sf_10/explain/15721/18-1.ok new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/dev9/pg15/tpch/sf_10/explain/15721/18-1.res b/dev9/pg15/tpch/sf_10/explain/15721/18-1.res new file mode 100644 index 0000000000000000000000000000000000000000..3a14aab6ac05ffb70e99edf31fff0c1d7d10b9ab --- /dev/null +++ b/dev9/pg15/tpch/sf_10/explain/15721/18-1.res @@ -0,0 +1 @@ +{"Plan": {"Node Type": "Limit", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 3552347.98, "Total Cost": 3552348.23, "Plan Rows": 100, "Plan Width": 71, "Output": ["customer.c_name", "customer.c_custkey", "orders.o_orderkey", "orders.o_orderdate", "orders.o_totalprice", "(sum(lineitem.l_quantity))"], "Plans": [{"Node Type": "Sort", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 3552347.98, "Total Cost": 3558982.88, "Plan Rows": 2653960, "Plan Width": 71, "Output": ["customer.c_name", "customer.c_custkey", "orders.o_orderkey", "orders.o_orderdate", "orders.o_totalprice", "(sum(lineitem.l_quantity))"], "Sort Key": ["orders.o_totalprice DESC", "orders.o_orderdate"], "Plans": [{"Node Type": "Aggregate", "Strategy": "Sorted", "Partial Mode": "Simple", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 3074176.78, "Total Cost": 3450915.54, "Plan Rows": 2653960, "Plan Width": 71, "Output": ["customer.c_name", "customer.c_custkey", "orders.o_orderkey", "orders.o_orderdate", "orders.o_totalprice", "sum(lineitem.l_quantity)"], "Group Key": ["customer.c_custkey", "orders.o_orderkey"], "Plans": [{"Node Type": "Gather Merge", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 3074176.78, "Total Cost": 3397836.34, "Plan Rows": 2653960, "Plan Width": 44, "Output": ["customer.c_custkey", "orders.o_orderkey", "customer.c_name", "orders.o_orderdate", "orders.o_totalprice", "lineitem.l_quantity"], "Workers Planned": 6, "Plans": [{"Node Type": "Sort", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 3073176.68, "Total Cost": 3074282.5, "Plan Rows": 442327, "Plan Width": 44, "Output": ["customer.c_custkey", "orders.o_orderkey", "customer.c_name", "orders.o_orderdate", "orders.o_totalprice", "lineitem.l_quantity"], "Sort Key": ["customer.c_custkey", "orders.o_orderkey"], "Plans": [{"Node Type": "Hash Join", "Parent Relationship": "Outer", "Parallel Aware": true, "Async Capable": false, "Join Type": "Inner", "Startup Cost": 2566455.25, "Total Cost": 3023727.61, "Plan Rows": 442327, "Plan Width": 44, "Output": ["customer.c_custkey", "orders.o_orderkey", "customer.c_name", "orders.o_orderdate", "orders.o_totalprice", "lineitem.l_quantity"], "Inner Unique": true, "Hash Cond": "(orders.o_custkey = customer.c_custkey)", "Plans": [{"Node Type": "Nested Loop", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Join Type": "Inner", "Startup Cost": 2522190.75, "Total Cost": 2978302.0, "Plan Rows": 442327, "Plan Width": 25, "Output": ["orders.o_orderkey", "orders.o_orderdate", "orders.o_totalprice", "orders.o_custkey", "lineitem.l_quantity"], "Inner Unique": false, "Plans": [{"Node Type": "Hash Join", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Join Type": "Inner", "Startup Cost": 2522190.18, "Total Cost": 2814664.67, "Plan Rows": 110608, "Plan Width": 24, "Output": ["orders.o_orderkey", "orders.o_orderdate", "orders.o_totalprice", "orders.o_custkey", "lineitem_1.l_orderkey"], "Inner Unique": true, "Hash Cond": "(orders.o_orderkey = lineitem_1.l_orderkey)", "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": true, "Async Capable": false, "Relation Name": "orders", "Schema": "public", "Alias": "orders", "Startup Cost": 0.0, "Total Cost": 285911.99, "Plan Rows": 2499999, "Plan Width": 20, "Output": ["orders.o_orderkey", "orders.o_custkey", "orders.o_orderstatus", "orders.o_totalprice", "orders.o_orderdate", "orders.o_orderpriority", "orders.o_clerk", "orders.o_shippriority", "orders.o_comment"]}, {"Node Type": "Hash", "Parent Relationship": "Inner", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 2513894.61, "Total Cost": 2513894.61, "Plan Rows": 663646, "Plan Width": 4, "Output": ["lineitem_1.l_orderkey"], "Plans": [{"Node Type": "Aggregate", "Strategy": "Sorted", "Partial Mode": "Simple", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 0.56, "Total Cost": 2507258.15, "Plan Rows": 663646, "Plan Width": 4, "Output": ["lineitem_1.l_orderkey"], "Group Key": ["lineitem_1.l_orderkey"], "Filter": "(sum(lineitem_1.l_quantity) > '314'::numeric)", "Plans": [{"Node Type": "Index Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Scan Direction": "Forward", "Index Name": "l_ok", "Relation Name": "lineitem", "Schema": "public", "Alias": "lineitem_1", "Startup Cost": 0.56, "Total Cost": 2177464.7, "Plan Rows": 59985872, "Plan Width": 9, "Output": ["lineitem_1.l_orderkey", "lineitem_1.l_partkey", "lineitem_1.l_suppkey", "lineitem_1.l_linenumber", "lineitem_1.l_quantity", "lineitem_1.l_extendedprice", "lineitem_1.l_discount", "lineitem_1.l_tax", "lineitem_1.l_returnflag", "lineitem_1.l_linestatus", "lineitem_1.l_shipdate", "lineitem_1.l_commitdate", "lineitem_1.l_receiptdate", "lineitem_1.l_shipinstruct", "lineitem_1.l_shipmode", "lineitem_1.l_comment"]}]}]}]}, {"Node Type": "Index Scan", "Parent Relationship": "Inner", "Parallel Aware": false, "Async Capable": false, "Scan Direction": "Forward", "Index Name": "l_ok", "Relation Name": "lineitem", "Schema": "public", "Alias": "lineitem", "Startup Cost": 0.56, "Total Cost": 1.18, "Plan Rows": 30, "Plan Width": 9, "Output": ["lineitem.l_orderkey", "lineitem.l_partkey", "lineitem.l_suppkey", "lineitem.l_linenumber", "lineitem.l_quantity", "lineitem.l_extendedprice", "lineitem.l_discount", "lineitem.l_tax", "lineitem.l_returnflag", "lineitem.l_linestatus", "lineitem.l_shipdate", "lineitem.l_commitdate", "lineitem.l_receiptdate", "lineitem.l_shipinstruct", "lineitem.l_shipmode", "lineitem.l_comment"], "Index Cond": "(lineitem.l_orderkey = orders.o_orderkey)"}]}, {"Node Type": "Hash", "Parent Relationship": "Inner", "Parallel Aware": true, "Async Capable": false, "Startup Cost": 39577.0, "Total Cost": 39577.0, "Plan Rows": 375000, "Plan Width": 23, "Output": ["customer.c_name", "customer.c_custkey"], "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": true, "Async Capable": false, "Relation Name": "customer", "Schema": "public", "Alias": "customer", "Startup Cost": 0.0, "Total Cost": 39577.0, "Plan Rows": 375000, "Plan Width": 23, "Output": ["customer.c_name", "customer.c_custkey"]}]}]}]}]}]}]}]}} diff --git a/dev9/pg15/tpch/sf_10/explain/15721/19-1.ok b/dev9/pg15/tpch/sf_10/explain/15721/19-1.ok new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/dev9/pg15/tpch/sf_10/explain/15721/19-1.res b/dev9/pg15/tpch/sf_10/explain/15721/19-1.res new file mode 100644 index 0000000000000000000000000000000000000000..b5b04421031260da701b81238a37bb10c8009c53 --- /dev/null +++ b/dev9/pg15/tpch/sf_10/explain/15721/19-1.res @@ -0,0 +1 @@ +{"Plan": {"Node Type": "Aggregate", "Strategy": "Plain", "Partial Mode": "Finalize", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 105754.21, "Total Cost": 105754.22, "Plan Rows": 1, "Plan Width": 32, "Output": ["sum((lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount)))"], "Plans": [{"Node Type": "Gather", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 105753.78, "Total Cost": 105754.19, "Plan Rows": 4, "Plan Width": 32, "Output": ["(PARTIAL sum((lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount))))"], "Workers Planned": 4, "Single Copy": false, "Plans": [{"Node Type": "Aggregate", "Strategy": "Plain", "Partial Mode": "Partial", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 104753.78, "Total Cost": 104753.79, "Plan Rows": 1, "Plan Width": 32, "Output": ["PARTIAL sum((lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount)))"], "Plans": [{"Node Type": "Nested Loop", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Join Type": "Inner", "Startup Cost": 0.44, "Total Cost": 104751.69, "Plan Rows": 278, "Plan Width": 12, "Output": ["lineitem.l_extendedprice", "lineitem.l_discount"], "Inner Unique": false, "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": true, "Async Capable": false, "Relation Name": "part", "Schema": "public", "Alias": "part", "Startup Cost": 0.0, "Total Cost": 62212.0, "Plan Rows": 1179, "Plan Width": 30, "Output": ["part.p_partkey", "part.p_name", "part.p_mfgr", "part.p_brand", "part.p_type", "part.p_size", "part.p_container", "part.p_retailprice", "part.p_comment"], "Filter": "((part.p_size >= 1) AND (((part.p_brand = 'Brand#52'::bpchar) AND (part.p_container = ANY ('{\"SM CASE\",\"SM BOX\",\"SM PACK\",\"SM PKG\"}'::bpchar[])) AND (part.p_size <= 5)) OR ((part.p_brand = 'Brand#42'::bpchar) AND (part.p_container = ANY ('{\"MED BAG\",\"MED BOX\",\"MED PKG\",\"MED PACK\"}'::bpchar[])) AND (part.p_size <= 10)) OR ((part.p_brand = 'Brand#23'::bpchar) AND (part.p_container = ANY ('{\"LG CASE\",\"LG BOX\",\"LG PACK\",\"LG PKG\"}'::bpchar[])) AND (part.p_size <= 15))))"}, {"Node Type": "Index Scan", "Parent Relationship": "Inner", "Parallel Aware": false, "Async Capable": false, "Scan Direction": "Forward", "Index Name": "l_pk", "Relation Name": "lineitem", "Schema": "public", "Alias": "lineitem", "Startup Cost": 0.44, "Total Cost": 36.07, "Plan Rows": 1, "Plan Width": 21, "Output": ["lineitem.l_orderkey", "lineitem.l_partkey", "lineitem.l_suppkey", "lineitem.l_linenumber", "lineitem.l_quantity", "lineitem.l_extendedprice", "lineitem.l_discount", "lineitem.l_tax", "lineitem.l_returnflag", "lineitem.l_linestatus", "lineitem.l_shipdate", "lineitem.l_commitdate", "lineitem.l_receiptdate", "lineitem.l_shipinstruct", "lineitem.l_shipmode", "lineitem.l_comment"], "Index Cond": "(lineitem.l_partkey = part.p_partkey)", "Filter": "((lineitem.l_shipmode = ANY ('{AIR,\"AIR REG\"}'::bpchar[])) AND (lineitem.l_shipinstruct = 'DELIVER IN PERSON'::bpchar) AND (((lineitem.l_quantity >= '9'::numeric) AND (lineitem.l_quantity <= '19'::numeric)) OR ((lineitem.l_quantity >= '18'::numeric) AND (lineitem.l_quantity <= '28'::numeric)) OR ((lineitem.l_quantity >= '22'::numeric) AND (lineitem.l_quantity <= '32'::numeric))) AND (((part.p_brand = 'Brand#52'::bpchar) AND (part.p_container = ANY ('{\"SM CASE\",\"SM BOX\",\"SM PACK\",\"SM PKG\"}'::bpchar[])) AND (lineitem.l_quantity >= '9'::numeric) AND (lineitem.l_quantity <= '19'::numeric) AND (part.p_size <= 5)) OR ((part.p_brand = 'Brand#42'::bpchar) AND (part.p_container = ANY ('{\"MED BAG\",\"MED BOX\",\"MED PKG\",\"MED PACK\"}'::bpchar[])) AND (lineitem.l_quantity >= '18'::numeric) AND (lineitem.l_quantity <= '28'::numeric) AND (part.p_size <= 10)) OR ((part.p_brand = 'Brand#23'::bpchar) AND (part.p_container = ANY ('{\"LG CASE\",\"LG BOX\",\"LG PACK\",\"LG PKG\"}'::bpchar[])) AND (lineitem.l_quantity >= '22'::numeric) AND (lineitem.l_quantity <= '32'::numeric) AND (part.p_size <= 15))))"}]}]}]}]}} diff --git a/dev9/pg15/tpch/sf_10/explain/15721/2-1.ok b/dev9/pg15/tpch/sf_10/explain/15721/2-1.ok new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/dev9/pg15/tpch/sf_10/explain/15721/2-1.res b/dev9/pg15/tpch/sf_10/explain/15721/2-1.res new file mode 100644 index 0000000000000000000000000000000000000000..4ece39e140156003492e97a2aeddfa10f31425f6 --- /dev/null +++ b/dev9/pg15/tpch/sf_10/explain/15721/2-1.res @@ -0,0 +1 @@ +{"Plan": {"Node Type": "Limit", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 385806.27, "Total Cost": 385806.27, "Plan Rows": 1, "Plan Width": 192, "Output": ["supplier.s_acctbal", "supplier.s_name", "nation.n_name", "part.p_partkey", "part.p_mfgr", "supplier.s_address", "supplier.s_phone", "supplier.s_comment"], "Plans": [{"Node Type": "Sort", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 385806.27, "Total Cost": 385806.27, "Plan Rows": 1, "Plan Width": 192, "Output": ["supplier.s_acctbal", "supplier.s_name", "nation.n_name", "part.p_partkey", "part.p_mfgr", "supplier.s_address", "supplier.s_phone", "supplier.s_comment"], "Sort Key": ["supplier.s_acctbal DESC", "nation.n_name", "supplier.s_name", "part.p_partkey"], "Plans": [{"Node Type": "Hash Join", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Join Type": "Inner", "Startup Cost": 157604.13, "Total Cost": 385806.26, "Plan Rows": 1, "Plan Width": 192, "Output": ["supplier.s_acctbal", "supplier.s_name", "nation.n_name", "part.p_partkey", "part.p_mfgr", "supplier.s_address", "supplier.s_phone", "supplier.s_comment"], "Inner Unique": false, "Hash Cond": "((part.p_partkey = partsupp.ps_partkey) AND ((SubPlan 1) = partsupp.ps_supplycost))", "Plans": [{"Node Type": "Gather", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 1000.0, "Total Cost": 50274.8, "Plan Rows": 8128, "Plan Width": 30, "Output": ["part.p_partkey", "part.p_mfgr"], "Workers Planned": 4, "Single Copy": false, "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": true, "Async Capable": false, "Relation Name": "part", "Schema": "public", "Alias": "part", "Startup Cost": 0.0, "Total Cost": 48462.0, "Plan Rows": 2032, "Plan Width": 30, "Output": ["part.p_partkey", "part.p_mfgr"], "Filter": "(((part.p_type)::text ~~ '%TIN'::text) AND (part.p_size = 44))"}]}, {"Node Type": "Hash", "Parent Relationship": "Inner", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 93542.7, "Total Cost": 93542.7, "Plan Rows": 1599962, "Plan Width": 172, "Output": ["supplier.s_acctbal", "supplier.s_name", "supplier.s_address", "supplier.s_phone", "supplier.s_comment", "partsupp.ps_partkey", "partsupp.ps_supplycost", "nation.n_name"], "Plans": [{"Node Type": "Nested Loop", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Join Type": "Inner", "Startup Cost": 0.72, "Total Cost": 93542.7, "Plan Rows": 1599962, "Plan Width": 172, "Output": ["supplier.s_acctbal", "supplier.s_name", "supplier.s_address", "supplier.s_phone", "supplier.s_comment", "partsupp.ps_partkey", "partsupp.ps_supplycost", "nation.n_name"], "Inner Unique": false, "Plans": [{"Node Type": "Nested Loop", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Join Type": "Inner", "Startup Cost": 0.29, "Total Cost": 1055.41, "Plan Rows": 20000, "Plan Width": 166, "Output": ["supplier.s_acctbal", "supplier.s_name", "supplier.s_address", "supplier.s_phone", "supplier.s_comment", "supplier.s_suppkey", "nation.n_name"], "Inner Unique": false, "Plans": [{"Node Type": "Nested Loop", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Join Type": "Inner", "Startup Cost": 0.0, "Total Cost": 2.62, "Plan Rows": 5, "Plan Width": 30, "Output": ["nation.n_name", "nation.n_nationkey"], "Inner Unique": false, "Join Filter": "(nation.n_regionkey = region.r_regionkey)", "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Relation Name": "region", "Schema": "public", "Alias": "region", "Startup Cost": 0.0, "Total Cost": 1.06, "Plan Rows": 1, "Plan Width": 4, "Output": ["region.r_regionkey", "region.r_name", "region.r_comment"], "Filter": "(region.r_name = 'EUROPE'::bpchar)"}, {"Node Type": "Seq Scan", "Parent Relationship": "Inner", "Parallel Aware": false, "Async Capable": false, "Relation Name": "nation", "Schema": "public", "Alias": "nation", "Startup Cost": 0.0, "Total Cost": 1.25, "Plan Rows": 25, "Plan Width": 34, "Output": ["nation.n_nationkey", "nation.n_name", "nation.n_regionkey", "nation.n_comment"]}]}, {"Node Type": "Index Scan", "Parent Relationship": "Inner", "Parallel Aware": false, "Async Capable": false, "Scan Direction": "Forward", "Index Name": "s_nk", "Relation Name": "supplier", "Schema": "public", "Alias": "supplier", "Startup Cost": 0.29, "Total Cost": 170.56, "Plan Rows": 4000, "Plan Width": 144, "Output": ["supplier.s_suppkey", "supplier.s_name", "supplier.s_address", "supplier.s_nationkey", "supplier.s_phone", "supplier.s_acctbal", "supplier.s_comment"], "Index Cond": "(supplier.s_nationkey = nation.n_nationkey)"}]}, {"Node Type": "Index Scan", "Parent Relationship": "Inner", "Parallel Aware": false, "Async Capable": false, "Scan Direction": "Forward", "Index Name": "ps_sk", "Relation Name": "partsupp", "Schema": "public", "Alias": "partsupp", "Startup Cost": 0.43, "Total Cost": 3.82, "Plan Rows": 80, "Plan Width": 14, "Output": ["partsupp.ps_partkey", "partsupp.ps_suppkey", "partsupp.ps_availqty", "partsupp.ps_supplycost", "partsupp.ps_comment"], "Index Cond": "(partsupp.ps_suppkey = supplier.s_suppkey)"}]}]}, {"Node Type": "Aggregate", "Strategy": "Plain", "Partial Mode": "Simple", "Parent Relationship": "SubPlan", "Subplan Name": "SubPlan 1", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 17.17, "Total Cost": 17.18, "Plan Rows": 1, "Plan Width": 32, "Output": ["min(partsupp_1.ps_supplycost)"], "Plans": [{"Node Type": "Nested Loop", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Join Type": "Inner", "Startup Cost": 0.86, "Total Cost": 17.17, "Plan Rows": 1, "Plan Width": 6, "Output": ["partsupp_1.ps_supplycost"], "Inner Unique": false, "Join Filter": "(nation_1.n_regionkey = region_1.r_regionkey)", "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Relation Name": "region", "Schema": "public", "Alias": "region_1", "Startup Cost": 0.0, "Total Cost": 1.06, "Plan Rows": 1, "Plan Width": 4, "Output": ["region_1.r_regionkey", "region_1.r_name", "region_1.r_comment"], "Filter": "(region_1.r_name = 'EUROPE'::bpchar)"}, {"Node Type": "Nested Loop", "Parent Relationship": "Inner", "Parallel Aware": false, "Async Capable": false, "Join Type": "Inner", "Startup Cost": 0.86, "Total Cost": 16.05, "Plan Rows": 5, "Plan Width": 10, "Output": ["partsupp_1.ps_supplycost", "nation_1.n_regionkey"], "Inner Unique": true, "Plans": [{"Node Type": "Nested Loop", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Join Type": "Inner", "Startup Cost": 0.72, "Total Cost": 15.27, "Plan Rows": 5, "Plan Width": 10, "Output": ["partsupp_1.ps_supplycost", "supplier_1.s_nationkey"], "Inner Unique": true, "Plans": [{"Node Type": "Index Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Scan Direction": "Forward", "Index Name": "ps_pk", "Relation Name": "partsupp", "Schema": "public", "Alias": "partsupp_1", "Startup Cost": 0.43, "Total Cost": 2.72, "Plan Rows": 5, "Plan Width": 10, "Output": ["partsupp_1.ps_partkey", "partsupp_1.ps_suppkey", "partsupp_1.ps_availqty", "partsupp_1.ps_supplycost", "partsupp_1.ps_comment"], "Index Cond": "(partsupp_1.ps_partkey = part.p_partkey)"}, {"Node Type": "Index Scan", "Parent Relationship": "Inner", "Parallel Aware": false, "Async Capable": false, "Scan Direction": "Forward", "Index Name": "s_sk", "Relation Name": "supplier", "Schema": "public", "Alias": "supplier_1", "Startup Cost": 0.29, "Total Cost": 2.51, "Plan Rows": 1, "Plan Width": 8, "Output": ["supplier_1.s_suppkey", "supplier_1.s_name", "supplier_1.s_address", "supplier_1.s_nationkey", "supplier_1.s_phone", "supplier_1.s_acctbal", "supplier_1.s_comment"], "Index Cond": "(supplier_1.s_suppkey = partsupp_1.ps_suppkey)"}]}, {"Node Type": "Index Scan", "Parent Relationship": "Inner", "Parallel Aware": false, "Async Capable": false, "Scan Direction": "Forward", "Index Name": "n_nk", "Relation Name": "nation", "Schema": "public", "Alias": "nation_1", "Startup Cost": 0.14, "Total Cost": 0.16, "Plan Rows": 1, "Plan Width": 8, "Output": ["nation_1.n_nationkey", "nation_1.n_name", "nation_1.n_regionkey", "nation_1.n_comment"], "Index Cond": "(nation_1.n_nationkey = supplier_1.s_nationkey)"}]}]}]}]}]}]}} diff --git a/dev9/pg15/tpch/sf_10/explain/15721/20-1.ok b/dev9/pg15/tpch/sf_10/explain/15721/20-1.ok new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/dev9/pg15/tpch/sf_10/explain/15721/20-1.res b/dev9/pg15/tpch/sf_10/explain/15721/20-1.res new file mode 100644 index 0000000000000000000000000000000000000000..b8f7e78867213f64b0db370e1a2884ea69695a54 --- /dev/null +++ b/dev9/pg15/tpch/sf_10/explain/15721/20-1.res @@ -0,0 +1 @@ +{"Plan": {"Node Type": "Sort", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 427453.9, "Total Cost": 427457.11, "Plan Rows": 1283, "Plan Width": 51, "Output": ["supplier.s_name", "supplier.s_address"], "Sort Key": ["supplier.s_name"], "Plans": [{"Node Type": "Hash Join", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Join Type": "Semi", "Startup Cost": 425155.13, "Total Cost": 427387.66, "Plan Rows": 1283, "Plan Width": 51, "Output": ["supplier.s_name", "supplier.s_address"], "Inner Unique": false, "Hash Cond": "(supplier.s_suppkey = partsupp.ps_suppkey)", "Plans": [{"Node Type": "Nested Loop", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Join Type": "Inner", "Startup Cost": 35.69, "Total Cost": 2235.44, "Plan Rows": 4000, "Plan Width": 55, "Output": ["supplier.s_name", "supplier.s_address", "supplier.s_suppkey"], "Inner Unique": false, "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Relation Name": "nation", "Schema": "public", "Alias": "nation", "Startup Cost": 0.0, "Total Cost": 1.31, "Plan Rows": 1, "Plan Width": 4, "Output": ["nation.n_nationkey", "nation.n_name", "nation.n_regionkey", "nation.n_comment"], "Filter": "(nation.n_name = 'GERMANY'::bpchar)"}, {"Node Type": "Bitmap Heap Scan", "Parent Relationship": "Inner", "Parallel Aware": false, "Async Capable": false, "Relation Name": "supplier", "Schema": "public", "Alias": "supplier", "Startup Cost": 35.69, "Total Cost": 2194.12, "Plan Rows": 4000, "Plan Width": 59, "Output": ["supplier.s_suppkey", "supplier.s_name", "supplier.s_address", "supplier.s_nationkey", "supplier.s_phone", "supplier.s_acctbal", "supplier.s_comment"], "Recheck Cond": "(supplier.s_nationkey = nation.n_nationkey)", "Plans": [{"Node Type": "Bitmap Index Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Index Name": "s_nk", "Startup Cost": 0.0, "Total Cost": 34.69, "Plan Rows": 4000, "Plan Width": 0, "Index Cond": "(supplier.s_nationkey = nation.n_nationkey)"}]}]}, {"Node Type": "Hash", "Parent Relationship": "Inner", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 424718.65, "Total Cost": 424718.65, "Plan Rows": 32063, "Plan Width": 4, "Output": ["partsupp.ps_suppkey"], "Plans": [{"Node Type": "Nested Loop", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Join Type": "Inner", "Startup Cost": 1000.43, "Total Cost": 424718.65, "Plan Rows": 32063, "Plan Width": 4, "Output": ["partsupp.ps_suppkey"], "Inner Unique": false, "Plans": [{"Node Type": "Gather", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 1000.0, "Total Cost": 50616.8, "Plan Rows": 24048, "Plan Width": 4, "Output": ["part.p_partkey"], "Workers Planned": 4, "Single Copy": false, "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": true, "Async Capable": false, "Relation Name": "part", "Schema": "public", "Alias": "part", "Startup Cost": 0.0, "Total Cost": 47212.0, "Plan Rows": 6012, "Plan Width": 4, "Output": ["part.p_partkey"], "Filter": "((part.p_name)::text ~~ 'floral%'::text)"}]}, {"Node Type": "Index Scan", "Parent Relationship": "Inner", "Parallel Aware": false, "Async Capable": false, "Scan Direction": "Forward", "Index Name": "ps_pk", "Relation Name": "partsupp", "Schema": "public", "Alias": "partsupp", "Startup Cost": 0.43, "Total Cost": 15.54, "Plan Rows": 2, "Plan Width": 8, "Output": ["partsupp.ps_partkey", "partsupp.ps_suppkey", "partsupp.ps_availqty", "partsupp.ps_supplycost", "partsupp.ps_comment"], "Index Cond": "(partsupp.ps_partkey = part.p_partkey)", "Filter": "((partsupp.ps_availqty)::numeric > (SubPlan 1))", "Plans": [{"Node Type": "Aggregate", "Strategy": "Plain", "Partial Mode": "Simple", "Parent Relationship": "SubPlan", "Subplan Name": "SubPlan 1", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 2.67, "Total Cost": 2.68, "Plan Rows": 1, "Plan Width": 32, "Output": ["(0.5 * sum(lineitem.l_quantity))"], "Plans": [{"Node Type": "Index Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Scan Direction": "Forward", "Index Name": "l_sk_pk", "Relation Name": "lineitem", "Schema": "public", "Alias": "lineitem", "Startup Cost": 0.44, "Total Cost": 2.67, "Plan Rows": 1, "Plan Width": 5, "Output": ["lineitem.l_orderkey", "lineitem.l_partkey", "lineitem.l_suppkey", "lineitem.l_linenumber", "lineitem.l_quantity", "lineitem.l_extendedprice", "lineitem.l_discount", "lineitem.l_tax", "lineitem.l_returnflag", "lineitem.l_linestatus", "lineitem.l_shipdate", "lineitem.l_commitdate", "lineitem.l_receiptdate", "lineitem.l_shipinstruct", "lineitem.l_shipmode", "lineitem.l_comment"], "Index Cond": "((lineitem.l_suppkey = partsupp.ps_suppkey) AND (lineitem.l_partkey = partsupp.ps_partkey))", "Filter": "((lineitem.l_shipdate >= '1996-01-01'::date) AND (lineitem.l_shipdate < '1997-01-01 00:00:00'::timestamp without time zone))"}]}]}]}]}]}]}} diff --git a/dev9/pg15/tpch/sf_10/explain/15721/21-1.ok b/dev9/pg15/tpch/sf_10/explain/15721/21-1.ok new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/dev9/pg15/tpch/sf_10/explain/15721/21-1.res b/dev9/pg15/tpch/sf_10/explain/15721/21-1.res new file mode 100644 index 0000000000000000000000000000000000000000..37037db1da926f4af0addd72e1e64a114e4cbbc1 --- /dev/null +++ b/dev9/pg15/tpch/sf_10/explain/15721/21-1.res @@ -0,0 +1 @@ +{"Plan": {"Node Type": "Limit", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 406111.61, "Total Cost": 406111.61, "Plan Rows": 1, "Plan Width": 34, "Output": ["supplier.s_name", "(count(*))"], "Plans": [{"Node Type": "Sort", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 406111.61, "Total Cost": 406111.61, "Plan Rows": 1, "Plan Width": 34, "Output": ["supplier.s_name", "(count(*))"], "Sort Key": ["(count(*)) DESC", "supplier.s_name"], "Plans": [{"Node Type": "Aggregate", "Strategy": "Sorted", "Partial Mode": "Simple", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 406111.58, "Total Cost": 406111.6, "Plan Rows": 1, "Plan Width": 34, "Output": ["supplier.s_name", "count(*)"], "Group Key": ["supplier.s_name"], "Plans": [{"Node Type": "Sort", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 406111.58, "Total Cost": 406111.58, "Plan Rows": 1, "Plan Width": 26, "Output": ["supplier.s_name"], "Sort Key": ["supplier.s_name"], "Plans": [{"Node Type": "Nested Loop", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Join Type": "Inner", "Startup Cost": 1003.33, "Total Cost": 406111.57, "Plan Rows": 1, "Plan Width": 26, "Output": ["supplier.s_name"], "Inner Unique": true, "Plans": [{"Node Type": "Nested Loop", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Join Type": "Semi", "Startup Cost": 1002.9, "Total Cost": 406111.1, "Plan Rows": 1, "Plan Width": 34, "Output": ["supplier.s_name", "l1.l_orderkey", "l2.l_orderkey"], "Inner Unique": false, "Plans": [{"Node Type": "Gather", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 1002.33, "Total Cost": 406109.85, "Plan Rows": 1, "Plan Width": 34, "Output": ["supplier.s_name", "l1.l_suppkey", "l1.l_orderkey"], "Workers Planned": 1, "Single Copy": false, "Plans": [{"Node Type": "Nested Loop", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Join Type": "Anti", "Startup Cost": 2.33, "Total Cost": 405109.75, "Plan Rows": 1, "Plan Width": 34, "Output": ["supplier.s_name", "l1.l_suppkey", "l1.l_orderkey"], "Inner Unique": false, "Plans": [{"Node Type": "Nested Loop", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Join Type": "Inner", "Startup Cost": 1.76, "Total Cost": 67617.16, "Plan Rows": 470365, "Plan Width": 34, "Output": ["supplier.s_name", "l1.l_suppkey", "l1.l_orderkey"], "Inner Unique": false, "Plans": [{"Node Type": "Hash Join", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Join Type": "Inner", "Startup Cost": 1.32, "Total Cost": 2986.15, "Plan Rows": 2353, "Plan Width": 30, "Output": ["supplier.s_name", "supplier.s_suppkey"], "Inner Unique": true, "Hash Cond": "(supplier.s_nationkey = nation.n_nationkey)", "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": true, "Async Capable": false, "Relation Name": "supplier", "Schema": "public", "Alias": "supplier", "Startup Cost": 0.0, "Total Cost": 2804.24, "Plan Rows": 58824, "Plan Width": 34, "Output": ["supplier.s_suppkey", "supplier.s_name", "supplier.s_address", "supplier.s_nationkey", "supplier.s_phone", "supplier.s_acctbal", "supplier.s_comment"]}, {"Node Type": "Hash", "Parent Relationship": "Inner", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 1.31, "Total Cost": 1.31, "Plan Rows": 1, "Plan Width": 4, "Output": ["nation.n_nationkey"], "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Relation Name": "nation", "Schema": "public", "Alias": "nation", "Startup Cost": 0.0, "Total Cost": 1.31, "Plan Rows": 1, "Plan Width": 4, "Output": ["nation.n_nationkey"], "Filter": "(nation.n_name = 'CHINA'::bpchar)"}]}]}, {"Node Type": "Index Scan", "Parent Relationship": "Inner", "Parallel Aware": false, "Async Capable": false, "Scan Direction": "Forward", "Index Name": "l_sk_pk", "Relation Name": "lineitem", "Schema": "public", "Alias": "l1", "Startup Cost": 0.44, "Total Cost": 25.47, "Plan Rows": 200, "Plan Width": 8, "Output": ["l1.l_orderkey", "l1.l_partkey", "l1.l_suppkey", "l1.l_linenumber", "l1.l_quantity", "l1.l_extendedprice", "l1.l_discount", "l1.l_tax", "l1.l_returnflag", "l1.l_linestatus", "l1.l_shipdate", "l1.l_commitdate", "l1.l_receiptdate", "l1.l_shipinstruct", "l1.l_shipmode", "l1.l_comment"], "Index Cond": "(l1.l_suppkey = supplier.s_suppkey)", "Filter": "(l1.l_receiptdate > l1.l_commitdate)"}]}, {"Node Type": "Index Scan", "Parent Relationship": "Inner", "Parallel Aware": false, "Async Capable": false, "Scan Direction": "Forward", "Index Name": "l_ok", "Relation Name": "lineitem", "Schema": "public", "Alias": "l3", "Startup Cost": 0.56, "Total Cost": 1.31, "Plan Rows": 10, "Plan Width": 8, "Output": ["l3.l_orderkey", "l3.l_partkey", "l3.l_suppkey", "l3.l_linenumber", "l3.l_quantity", "l3.l_extendedprice", "l3.l_discount", "l3.l_tax", "l3.l_returnflag", "l3.l_linestatus", "l3.l_shipdate", "l3.l_commitdate", "l3.l_receiptdate", "l3.l_shipinstruct", "l3.l_shipmode", "l3.l_comment"], "Index Cond": "(l3.l_orderkey = l1.l_orderkey)", "Filter": "((l3.l_receiptdate > l3.l_commitdate) AND (l3.l_suppkey <> l1.l_suppkey))"}]}]}, {"Node Type": "Index Scan", "Parent Relationship": "Inner", "Parallel Aware": false, "Async Capable": false, "Scan Direction": "Forward", "Index Name": "l_ok", "Relation Name": "lineitem", "Schema": "public", "Alias": "l2", "Startup Cost": 0.56, "Total Cost": 1.23, "Plan Rows": 30, "Plan Width": 8, "Output": ["l2.l_orderkey", "l2.l_partkey", "l2.l_suppkey", "l2.l_linenumber", "l2.l_quantity", "l2.l_extendedprice", "l2.l_discount", "l2.l_tax", "l2.l_returnflag", "l2.l_linestatus", "l2.l_shipdate", "l2.l_commitdate", "l2.l_receiptdate", "l2.l_shipinstruct", "l2.l_shipmode", "l2.l_comment"], "Index Cond": "(l2.l_orderkey = l1.l_orderkey)", "Filter": "(l2.l_suppkey <> l1.l_suppkey)"}]}, {"Node Type": "Index Scan", "Parent Relationship": "Inner", "Parallel Aware": false, "Async Capable": false, "Scan Direction": "Forward", "Index Name": "o_ok", "Relation Name": "orders", "Schema": "public", "Alias": "orders", "Startup Cost": 0.43, "Total Cost": 0.47, "Plan Rows": 1, "Plan Width": 4, "Output": ["orders.o_orderkey", "orders.o_custkey", "orders.o_orderstatus", "orders.o_totalprice", "orders.o_orderdate", "orders.o_orderpriority", "orders.o_clerk", "orders.o_shippriority", "orders.o_comment"], "Index Cond": "(orders.o_orderkey = l1.l_orderkey)", "Filter": "(orders.o_orderstatus = 'F'::bpchar)"}]}]}]}]}]}} diff --git a/dev9/pg15/tpch/sf_10/explain/15721/22-1.ok b/dev9/pg15/tpch/sf_10/explain/15721/22-1.ok new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/dev9/pg15/tpch/sf_10/explain/15721/22-1.res b/dev9/pg15/tpch/sf_10/explain/15721/22-1.res new file mode 100644 index 0000000000000000000000000000000000000000..d5b24c174a8f4b314960698e96f92d4ec7d9a362 --- /dev/null +++ b/dev9/pg15/tpch/sf_10/explain/15721/22-1.res @@ -0,0 +1 @@ +{"Plan": {"Node Type": "Aggregate", "Strategy": "Sorted", "Partial Mode": "Simple", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 95815.29, "Total Cost": 96901.52, "Plan Rows": 7505, "Plan Width": 72, "Output": ["(SUBSTRING(customer.c_phone FROM 1 FOR 2))", "count(*)", "sum(customer.c_acctbal)"], "Group Key": ["(SUBSTRING(customer.c_phone FROM 1 FOR 2))"], "Plans": [{"Node Type": "Aggregate", "Strategy": "Plain", "Partial Mode": "Finalize", "Parent Relationship": "InitPlan", "Subplan Name": "InitPlan 1 (returns $1)", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 46701.0, "Total Cost": 46701.01, "Plan Rows": 1, "Plan Width": 32, "Output": ["avg(customer_1.c_acctbal)"], "Plans": [{"Node Type": "Gather", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 46700.57, "Total Cost": 46700.98, "Plan Rows": 4, "Plan Width": 32, "Output": ["(PARTIAL avg(customer_1.c_acctbal))"], "Workers Planned": 4, "Single Copy": false, "Plans": [{"Node Type": "Aggregate", "Strategy": "Plain", "Partial Mode": "Partial", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 45700.57, "Total Cost": 45700.58, "Plan Rows": 1, "Plan Width": 32, "Output": ["PARTIAL avg(customer_1.c_acctbal)"], "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": true, "Async Capable": false, "Relation Name": "customer", "Schema": "public", "Alias": "customer_1", "Startup Cost": 0.0, "Total Cost": 45670.75, "Plan Rows": 11926, "Plan Width": 6, "Output": ["customer_1.c_custkey", "customer_1.c_name", "customer_1.c_address", "customer_1.c_nationkey", "customer_1.c_phone", "customer_1.c_acctbal", "customer_1.c_mktsegment", "customer_1.c_comment"], "Filter": "((customer_1.c_acctbal > 0.00) AND (SUBSTRING(customer_1.c_phone FROM 1 FOR 2) = ANY ('{17,20,25,31,30,11,33}'::text[])))"}]}]}]}, {"Node Type": "Gather Merge", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 49114.28, "Total Cost": 50012.89, "Plan Rows": 7505, "Plan Width": 38, "Output": ["(SUBSTRING(customer.c_phone FROM 1 FOR 2))", "customer.c_acctbal"], "Workers Planned": 4, "Params Evaluated": ["$1"], "Plans": [{"Node Type": "Sort", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 48114.22, "Total Cost": 48118.91, "Plan Rows": 1876, "Plan Width": 38, "Output": ["(SUBSTRING(customer.c_phone FROM 1 FOR 2))", "customer.c_acctbal"], "Sort Key": ["(SUBSTRING(customer.c_phone FROM 1 FOR 2))"], "Plans": [{"Node Type": "Nested Loop", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Join Type": "Anti", "Startup Cost": 0.43, "Total Cost": 48012.23, "Plan Rows": 1876, "Plan Width": 38, "Output": ["SUBSTRING(customer.c_phone FROM 1 FOR 2)", "customer.c_acctbal"], "Inner Unique": false, "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": true, "Async Capable": false, "Relation Name": "customer", "Schema": "public", "Alias": "customer", "Startup Cost": 0.0, "Total Cost": 45670.75, "Plan Rows": 4375, "Plan Width": 26, "Output": ["customer.c_custkey", "customer.c_name", "customer.c_address", "customer.c_nationkey", "customer.c_phone", "customer.c_acctbal", "customer.c_mktsegment", "customer.c_comment"], "Filter": "((customer.c_acctbal > $1) AND (SUBSTRING(customer.c_phone FROM 1 FOR 2) = ANY ('{17,20,25,31,30,11,33}'::text[])))"}, {"Node Type": "Index Only Scan", "Parent Relationship": "Inner", "Parallel Aware": false, "Async Capable": false, "Scan Direction": "Forward", "Index Name": "o_ck", "Relation Name": "orders", "Schema": "public", "Alias": "orders", "Startup Cost": 0.43, "Total Cost": 1.45, "Plan Rows": 18, "Plan Width": 4, "Output": ["orders.o_custkey"], "Index Cond": "(orders.o_custkey = customer.c_custkey)"}]}]}]}]}} diff --git a/dev9/pg15/tpch/sf_10/explain/15721/3-1.ok b/dev9/pg15/tpch/sf_10/explain/15721/3-1.ok new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/dev9/pg15/tpch/sf_10/explain/15721/3-1.res b/dev9/pg15/tpch/sf_10/explain/15721/3-1.res new file mode 100644 index 0000000000000000000000000000000000000000..aee6632e10017f0805d3ce95cd292a41c3151347 --- /dev/null +++ b/dev9/pg15/tpch/sf_10/explain/15721/3-1.res @@ -0,0 +1 @@ +{"Plan": {"Node Type": "Limit", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 1344471.47, "Total Cost": 1344471.49, "Plan Rows": 10, "Plan Width": 44, "Output": ["lineitem.l_orderkey", "(sum((lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount))))", "orders.o_orderdate", "orders.o_shippriority"], "Plans": [{"Node Type": "Sort", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 1344471.47, "Total Cost": 1352287.47, "Plan Rows": 3126401, "Plan Width": 44, "Output": ["lineitem.l_orderkey", "(sum((lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount))))", "orders.o_orderdate", "orders.o_shippriority"], "Sort Key": ["(sum((lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount)))) DESC", "orders.o_orderdate"], "Plans": [{"Node Type": "Aggregate", "Strategy": "Sorted", "Partial Mode": "Simple", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 816596.54, "Total Cost": 1276911.07, "Plan Rows": 3126401, "Plan Width": 44, "Output": ["lineitem.l_orderkey", "sum((lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount)))", "orders.o_orderdate", "orders.o_shippriority"], "Group Key": ["lineitem.l_orderkey", "orders.o_orderdate", "orders.o_shippriority"], "Plans": [{"Node Type": "Gather Merge", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 816596.54, "Total Cost": 1190935.04, "Plan Rows": 3126401, "Plan Width": 24, "Output": ["lineitem.l_orderkey", "orders.o_orderdate", "orders.o_shippriority", "lineitem.l_extendedprice", "lineitem.l_discount"], "Workers Planned": 4, "Plans": [{"Node Type": "Sort", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 815596.48, "Total Cost": 817550.48, "Plan Rows": 781600, "Plan Width": 24, "Output": ["lineitem.l_orderkey", "orders.o_orderdate", "orders.o_shippriority", "lineitem.l_extendedprice", "lineitem.l_discount"], "Sort Key": ["lineitem.l_orderkey", "orders.o_orderdate", "orders.o_shippriority"], "Plans": [{"Node Type": "Nested Loop", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Join Type": "Inner", "Startup Cost": 1.0, "Total Cost": 729704.2, "Plan Rows": 781600, "Plan Width": 24, "Output": ["lineitem.l_orderkey", "orders.o_orderdate", "orders.o_shippriority", "lineitem.l_extendedprice", "lineitem.l_discount"], "Inner Unique": false, "Plans": [{"Node Type": "Nested Loop", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Join Type": "Inner", "Startup Cost": 0.43, "Total Cost": 182386.07, "Plan Rows": 362818, "Plan Width": 12, "Output": ["orders.o_orderdate", "orders.o_shippriority", "orders.o_orderkey"], "Inner Unique": false, "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": true, "Async Capable": false, "Relation Name": "customer", "Schema": "public", "Alias": "customer", "Startup Cost": 0.0, "Total Cost": 40514.5, "Plan Rows": 74450, "Plan Width": 4, "Output": ["customer.c_custkey", "customer.c_name", "customer.c_address", "customer.c_nationkey", "customer.c_phone", "customer.c_acctbal", "customer.c_mktsegment", "customer.c_comment"], "Filter": "(customer.c_mktsegment = 'FURNITURE'::bpchar)"}, {"Node Type": "Index Scan", "Parent Relationship": "Inner", "Parallel Aware": false, "Async Capable": false, "Scan Direction": "Forward", "Index Name": "o_ck", "Relation Name": "orders", "Schema": "public", "Alias": "orders", "Startup Cost": 0.43, "Total Cost": 1.82, "Plan Rows": 9, "Plan Width": 16, "Output": ["orders.o_orderkey", "orders.o_custkey", "orders.o_orderstatus", "orders.o_totalprice", "orders.o_orderdate", "orders.o_orderpriority", "orders.o_clerk", "orders.o_shippriority", "orders.o_comment"], "Index Cond": "(orders.o_custkey = customer.c_custkey)", "Filter": "(orders.o_orderdate < '1995-03-20'::date)"}]}, {"Node Type": "Index Scan", "Parent Relationship": "Inner", "Parallel Aware": false, "Async Capable": false, "Scan Direction": "Forward", "Index Name": "l_ok", "Relation Name": "lineitem", "Schema": "public", "Alias": "lineitem", "Startup Cost": 0.56, "Total Cost": 1.35, "Plan Rows": 16, "Plan Width": 16, "Output": ["lineitem.l_orderkey", "lineitem.l_partkey", "lineitem.l_suppkey", "lineitem.l_linenumber", "lineitem.l_quantity", "lineitem.l_extendedprice", "lineitem.l_discount", "lineitem.l_tax", "lineitem.l_returnflag", "lineitem.l_linestatus", "lineitem.l_shipdate", "lineitem.l_commitdate", "lineitem.l_receiptdate", "lineitem.l_shipinstruct", "lineitem.l_shipmode", "lineitem.l_comment"], "Index Cond": "(lineitem.l_orderkey = orders.o_orderkey)", "Filter": "(lineitem.l_shipdate > '1995-03-20'::date)"}]}]}]}]}]}]}} diff --git a/dev9/pg15/tpch/sf_10/explain/15721/4-1.ok b/dev9/pg15/tpch/sf_10/explain/15721/4-1.ok new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/dev9/pg15/tpch/sf_10/explain/15721/4-1.res b/dev9/pg15/tpch/sf_10/explain/15721/4-1.res new file mode 100644 index 0000000000000000000000000000000000000000..db7fd3b607ef38a8c9741ac2cbb08bec7c4aa949 --- /dev/null +++ b/dev9/pg15/tpch/sf_10/explain/15721/4-1.res @@ -0,0 +1 @@ +{"Plan": {"Node Type": "Aggregate", "Strategy": "Sorted", "Partial Mode": "Finalize", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 347147.2, "Total Cost": 347244.77, "Plan Rows": 5, "Plan Width": 24, "Output": ["orders.o_orderpriority", "count(*)"], "Group Key": ["orders.o_orderpriority"], "Plans": [{"Node Type": "Gather Merge", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 347147.2, "Total Cost": 347244.57, "Plan Rows": 30, "Plan Width": 24, "Output": ["orders.o_orderpriority", "(PARTIAL count(*))"], "Workers Planned": 6, "Plans": [{"Node Type": "Aggregate", "Strategy": "Sorted", "Partial Mode": "Partial", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 346147.1, "Total Cost": 346240.83, "Plan Rows": 5, "Plan Width": 24, "Output": ["orders.o_orderpriority", "PARTIAL count(*)"], "Group Key": ["orders.o_orderpriority"], "Plans": [{"Node Type": "Sort", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 346147.1, "Total Cost": 346178.32, "Plan Rows": 12491, "Plan Width": 16, "Output": ["orders.o_orderpriority"], "Sort Key": ["orders.o_orderpriority"], "Plans": [{"Node Type": "Nested Loop", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Join Type": "Semi", "Startup Cost": 6319.85, "Total Cost": 345297.17, "Plan Rows": 12491, "Plan Width": 16, "Output": ["orders.o_orderpriority"], "Inner Unique": false, "Plans": [{"Node Type": "Bitmap Heap Scan", "Parent Relationship": "Outer", "Parallel Aware": true, "Async Capable": false, "Relation Name": "orders", "Schema": "public", "Alias": "orders", "Startup Cost": 6319.28, "Total Cost": 268642.88, "Plan Rows": 94106, "Plan Width": 20, "Output": ["orders.o_orderkey", "orders.o_custkey", "orders.o_orderstatus", "orders.o_totalprice", "orders.o_orderdate", "orders.o_orderpriority", "orders.o_clerk", "orders.o_shippriority", "orders.o_comment"], "Recheck Cond": "((orders.o_orderdate >= '1996-01-01'::date) AND (orders.o_orderdate < '1996-04-01 00:00:00'::timestamp without time zone))", "Plans": [{"Node Type": "Bitmap Index Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Index Name": "o_od", "Startup Cost": 0.0, "Total Cost": 6178.13, "Plan Rows": 564639, "Plan Width": 0, "Index Cond": "((orders.o_orderdate >= '1996-01-01'::date) AND (orders.o_orderdate < '1996-04-01 00:00:00'::timestamp without time zone))"}]}, {"Node Type": "Index Scan", "Parent Relationship": "Inner", "Parallel Aware": false, "Async Capable": false, "Scan Direction": "Forward", "Index Name": "l_ok", "Relation Name": "lineitem", "Schema": "public", "Alias": "lineitem", "Startup Cost": 0.56, "Total Cost": 2.8, "Plan Rows": 10, "Plan Width": 4, "Output": ["lineitem.l_orderkey", "lineitem.l_partkey", "lineitem.l_suppkey", "lineitem.l_linenumber", "lineitem.l_quantity", "lineitem.l_extendedprice", "lineitem.l_discount", "lineitem.l_tax", "lineitem.l_returnflag", "lineitem.l_linestatus", "lineitem.l_shipdate", "lineitem.l_commitdate", "lineitem.l_receiptdate", "lineitem.l_shipinstruct", "lineitem.l_shipmode", "lineitem.l_comment"], "Index Cond": "(lineitem.l_orderkey = orders.o_orderkey)", "Filter": "(lineitem.l_commitdate < lineitem.l_receiptdate)"}]}]}]}]}]}} diff --git a/dev9/pg15/tpch/sf_10/explain/15721/5-1.ok b/dev9/pg15/tpch/sf_10/explain/15721/5-1.ok new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/dev9/pg15/tpch/sf_10/explain/15721/5-1.res b/dev9/pg15/tpch/sf_10/explain/15721/5-1.res new file mode 100644 index 0000000000000000000000000000000000000000..4be4c5466ddf6933c44e3b679758f972ff72ba25 --- /dev/null +++ b/dev9/pg15/tpch/sf_10/explain/15721/5-1.res @@ -0,0 +1 @@ +{"Plan": {"Node Type": "Sort", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 356393.39, "Total Cost": 356393.45, "Plan Rows": 25, "Plan Width": 58, "Output": ["nation.n_name", "(sum((lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount))))"], "Sort Key": ["(sum((lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount)))) DESC"], "Plans": [{"Node Type": "Aggregate", "Strategy": "Sorted", "Partial Mode": "Finalize", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 356151.55, "Total Cost": 356392.81, "Plan Rows": 25, "Plan Width": 58, "Output": ["nation.n_name", "sum((lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount)))"], "Group Key": ["nation.n_name"], "Plans": [{"Node Type": "Gather Merge", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 356151.55, "Total Cost": 356391.74, "Plan Rows": 100, "Plan Width": 58, "Output": ["nation.n_name", "(PARTIAL sum((lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount))))"], "Workers Planned": 4, "Plans": [{"Node Type": "Aggregate", "Strategy": "Sorted", "Partial Mode": "Partial", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 355151.49, "Total Cost": 355379.78, "Plan Rows": 25, "Plan Width": 58, "Output": ["nation.n_name", "PARTIAL sum((lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount)))"], "Group Key": ["nation.n_name"], "Plans": [{"Node Type": "Sort", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 355151.49, "Total Cost": 355197.08, "Plan Rows": 18238, "Plan Width": 38, "Output": ["nation.n_name", "lineitem.l_extendedprice", "lineitem.l_discount"], "Sort Key": ["nation.n_name"], "Plans": [{"Node Type": "Hash Join", "Parent Relationship": "Outer", "Parallel Aware": true, "Async Capable": false, "Join Type": "Inner", "Startup Cost": 3690.1, "Total Cost": 353860.72, "Plan Rows": 18238, "Plan Width": 38, "Output": ["nation.n_name", "lineitem.l_extendedprice", "lineitem.l_discount"], "Inner Unique": true, "Hash Cond": "((lineitem.l_suppkey = supplier.s_suppkey) AND (customer.c_nationkey = supplier.s_nationkey))", "Plans": [{"Node Type": "Nested Loop", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Join Type": "Inner", "Startup Cost": 3.51, "Total Cost": 347779.77, "Plan Rows": 456068, "Plan Width": 50, "Output": ["customer.c_nationkey", "lineitem.l_extendedprice", "lineitem.l_discount", "lineitem.l_suppkey", "nation.n_name", "nation.n_nationkey"], "Inner Unique": false, "Plans": [{"Node Type": "Nested Loop", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Join Type": "Inner", "Startup Cost": 2.94, "Total Cost": 122182.42, "Plan Rows": 114044, "Plan Width": 38, "Output": ["customer.c_nationkey", "orders.o_orderkey", "nation.n_name", "nation.n_nationkey"], "Inner Unique": false, "Plans": [{"Node Type": "Hash Join", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Join Type": "Inner", "Startup Cost": 2.51, "Total Cost": 41735.76, "Plan Rows": 75000, "Plan Width": 38, "Output": ["customer.c_custkey", "customer.c_nationkey", "nation.n_name", "nation.n_nationkey"], "Inner Unique": false, "Hash Cond": "(customer.c_nationkey = nation.n_nationkey)", "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": true, "Async Capable": false, "Relation Name": "customer", "Schema": "public", "Alias": "customer", "Startup Cost": 0.0, "Total Cost": 39577.0, "Plan Rows": 375000, "Plan Width": 8, "Output": ["customer.c_custkey", "customer.c_name", "customer.c_address", "customer.c_nationkey", "customer.c_phone", "customer.c_acctbal", "customer.c_mktsegment", "customer.c_comment"]}, {"Node Type": "Hash", "Parent Relationship": "Inner", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 2.45, "Total Cost": 2.45, "Plan Rows": 5, "Plan Width": 30, "Output": ["nation.n_name", "nation.n_nationkey"], "Plans": [{"Node Type": "Hash Join", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Join Type": "Inner", "Startup Cost": 1.07, "Total Cost": 2.45, "Plan Rows": 5, "Plan Width": 30, "Output": ["nation.n_name", "nation.n_nationkey"], "Inner Unique": true, "Hash Cond": "(nation.n_regionkey = region.r_regionkey)", "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Relation Name": "nation", "Schema": "public", "Alias": "nation", "Startup Cost": 0.0, "Total Cost": 1.25, "Plan Rows": 25, "Plan Width": 34, "Output": ["nation.n_nationkey", "nation.n_name", "nation.n_regionkey", "nation.n_comment"]}, {"Node Type": "Hash", "Parent Relationship": "Inner", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 1.06, "Total Cost": 1.06, "Plan Rows": 1, "Plan Width": 4, "Output": ["region.r_regionkey"], "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Relation Name": "region", "Schema": "public", "Alias": "region", "Startup Cost": 0.0, "Total Cost": 1.06, "Plan Rows": 1, "Plan Width": 4, "Output": ["region.r_regionkey"], "Filter": "(region.r_name = 'AMERICA'::bpchar)"}]}]}]}]}, {"Node Type": "Index Scan", "Parent Relationship": "Inner", "Parallel Aware": false, "Async Capable": false, "Scan Direction": "Forward", "Index Name": "o_ck", "Relation Name": "orders", "Schema": "public", "Alias": "orders", "Startup Cost": 0.43, "Total Cost": 1.04, "Plan Rows": 3, "Plan Width": 8, "Output": ["orders.o_orderkey", "orders.o_custkey", "orders.o_orderstatus", "orders.o_totalprice", "orders.o_orderdate", "orders.o_orderpriority", "orders.o_clerk", "orders.o_shippriority", "orders.o_comment"], "Index Cond": "(orders.o_custkey = customer.c_custkey)", "Filter": "((orders.o_orderdate >= '1995-01-01'::date) AND (orders.o_orderdate < '1996-01-01 00:00:00'::timestamp without time zone))"}]}, {"Node Type": "Index Scan", "Parent Relationship": "Inner", "Parallel Aware": false, "Async Capable": false, "Scan Direction": "Forward", "Index Name": "l_ok", "Relation Name": "lineitem", "Schema": "public", "Alias": "lineitem", "Startup Cost": 0.56, "Total Cost": 1.68, "Plan Rows": 30, "Plan Width": 20, "Output": ["lineitem.l_orderkey", "lineitem.l_partkey", "lineitem.l_suppkey", "lineitem.l_linenumber", "lineitem.l_quantity", "lineitem.l_extendedprice", "lineitem.l_discount", "lineitem.l_tax", "lineitem.l_returnflag", "lineitem.l_linestatus", "lineitem.l_shipdate", "lineitem.l_commitdate", "lineitem.l_receiptdate", "lineitem.l_shipinstruct", "lineitem.l_shipmode", "lineitem.l_comment"], "Index Cond": "(lineitem.l_orderkey = orders.o_orderkey)"}]}, {"Node Type": "Hash", "Parent Relationship": "Inner", "Parallel Aware": true, "Async Capable": false, "Startup Cost": 2804.24, "Total Cost": 2804.24, "Plan Rows": 58824, "Plan Width": 8, "Output": ["supplier.s_suppkey", "supplier.s_nationkey"], "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": true, "Async Capable": false, "Relation Name": "supplier", "Schema": "public", "Alias": "supplier", "Startup Cost": 0.0, "Total Cost": 2804.24, "Plan Rows": 58824, "Plan Width": 8, "Output": ["supplier.s_suppkey", "supplier.s_nationkey"]}]}]}]}]}]}]}]}} diff --git a/dev9/pg15/tpch/sf_10/explain/15721/6-1.ok b/dev9/pg15/tpch/sf_10/explain/15721/6-1.ok new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/dev9/pg15/tpch/sf_10/explain/15721/6-1.res b/dev9/pg15/tpch/sf_10/explain/15721/6-1.res new file mode 100644 index 0000000000000000000000000000000000000000..7549c4a7052a85a13d162a0aecf1f65c74870e50 --- /dev/null +++ b/dev9/pg15/tpch/sf_10/explain/15721/6-1.res @@ -0,0 +1 @@ +{"Plan": {"Node Type": "Aggregate", "Strategy": "Plain", "Partial Mode": "Finalize", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 1319165.85, "Total Cost": 1319165.86, "Plan Rows": 1, "Plan Width": 32, "Output": ["sum((l_extendedprice * l_discount))"], "Plans": [{"Node Type": "Gather", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 1319165.1, "Total Cost": 1319165.81, "Plan Rows": 7, "Plan Width": 32, "Output": ["(PARTIAL sum((l_extendedprice * l_discount)))"], "Workers Planned": 7, "Single Copy": false, "Plans": [{"Node Type": "Aggregate", "Strategy": "Plain", "Partial Mode": "Partial", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 1318165.1, "Total Cost": 1318165.11, "Plan Rows": 1, "Plan Width": 32, "Output": ["PARTIAL sum((l_extendedprice * l_discount))"], "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": true, "Async Capable": false, "Relation Name": "lineitem", "Schema": "public", "Alias": "lineitem", "Startup Cost": 0.0, "Total Cost": 1317353.73, "Plan Rows": 162273, "Plan Width": 12, "Output": ["l_orderkey", "l_partkey", "l_suppkey", "l_linenumber", "l_quantity", "l_extendedprice", "l_discount", "l_tax", "l_returnflag", "l_linestatus", "l_shipdate", "l_commitdate", "l_receiptdate", "l_shipinstruct", "l_shipmode", "l_comment"], "Filter": "((lineitem.l_shipdate >= '1995-01-01'::date) AND (lineitem.l_shipdate < '1996-01-01 00:00:00'::timestamp without time zone) AND (lineitem.l_discount >= 0.04) AND (lineitem.l_discount <= 0.06) AND (lineitem.l_quantity < '24'::numeric))"}]}]}]}} diff --git a/dev9/pg15/tpch/sf_10/explain/15721/7-1.ok b/dev9/pg15/tpch/sf_10/explain/15721/7-1.ok new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/dev9/pg15/tpch/sf_10/explain/15721/7-1.res b/dev9/pg15/tpch/sf_10/explain/15721/7-1.res new file mode 100644 index 0000000000000000000000000000000000000000..1984a4a9ac37b45b0aeead35a06e173ed97dec1b --- /dev/null +++ b/dev9/pg15/tpch/sf_10/explain/15721/7-1.res @@ -0,0 +1 @@ +{"Plan": {"Node Type": "Aggregate", "Strategy": "Sorted", "Partial Mode": "Finalize", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 227442.53, "Total Cost": 233319.0, "Plan Rows": 10084, "Plan Width": 116, "Output": ["n1.n_name", "n2.n_name", "(EXTRACT(year FROM lineitem.l_shipdate))", "sum((lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount)))"], "Group Key": ["n1.n_name", "n2.n_name", "(EXTRACT(year FROM lineitem.l_shipdate))"], "Plans": [{"Node Type": "Gather Merge", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 227442.53, "Total Cost": 232663.54, "Plan Rows": 40336, "Plan Width": 116, "Output": ["n1.n_name", "n2.n_name", "(EXTRACT(year FROM lineitem.l_shipdate))", "(PARTIAL sum((lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount))))"], "Workers Planned": 4, "Plans": [{"Node Type": "Aggregate", "Strategy": "Sorted", "Partial Mode": "Partial", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 226442.48, "Total Cost": 226859.07, "Plan Rows": 10084, "Plan Width": 116, "Output": ["n1.n_name", "n2.n_name", "(EXTRACT(year FROM lineitem.l_shipdate))", "PARTIAL sum((lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount)))"], "Group Key": ["n1.n_name", "n2.n_name", "(EXTRACT(year FROM lineitem.l_shipdate))"], "Plans": [{"Node Type": "Sort", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 226442.48, "Total Cost": 226480.38, "Plan Rows": 15162, "Plan Width": 96, "Output": ["n1.n_name", "n2.n_name", "(EXTRACT(year FROM lineitem.l_shipdate))", "lineitem.l_extendedprice", "lineitem.l_discount"], "Sort Key": ["n1.n_name", "n2.n_name", "(EXTRACT(year FROM lineitem.l_shipdate))"], "Plans": [{"Node Type": "Hash Join", "Parent Relationship": "Outer", "Parallel Aware": true, "Async Capable": false, "Join Type": "Inner", "Startup Cost": 149177.33, "Total Cost": 225389.61, "Plan Rows": 15162, "Plan Width": 96, "Output": ["n1.n_name", "n2.n_name", "EXTRACT(year FROM lineitem.l_shipdate)", "lineitem.l_extendedprice", "lineitem.l_discount"], "Inner Unique": false, "Hash Cond": "(orders.o_orderkey = lineitem.l_orderkey)", "Join Filter": "(((n1.n_name = 'IRAN'::bpchar) AND (n2.n_name = 'ETHIOPIA'::bpchar)) OR ((n1.n_name = 'ETHIOPIA'::bpchar) AND (n2.n_name = 'IRAN'::bpchar)))", "Plans": [{"Node Type": "Nested Loop", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Join Type": "Inner", "Startup Cost": 1.83, "Total Cost": 74708.32, "Plan Rows": 300000, "Plan Width": 30, "Output": ["orders.o_orderkey", "n2.n_name"], "Inner Unique": false, "Plans": [{"Node Type": "Hash Join", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Join Type": "Inner", "Startup Cost": 1.4, "Total Cost": 40729.65, "Plan Rows": 30000, "Plan Width": 30, "Output": ["customer.c_custkey", "n2.n_name"], "Inner Unique": true, "Hash Cond": "(customer.c_nationkey = n2.n_nationkey)", "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": true, "Async Capable": false, "Relation Name": "customer", "Schema": "public", "Alias": "customer", "Startup Cost": 0.0, "Total Cost": 39577.0, "Plan Rows": 375000, "Plan Width": 8, "Output": ["customer.c_custkey", "customer.c_name", "customer.c_address", "customer.c_nationkey", "customer.c_phone", "customer.c_acctbal", "customer.c_mktsegment", "customer.c_comment"]}, {"Node Type": "Hash", "Parent Relationship": "Inner", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 1.38, "Total Cost": 1.38, "Plan Rows": 2, "Plan Width": 30, "Output": ["n2.n_name", "n2.n_nationkey"], "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Relation Name": "nation", "Schema": "public", "Alias": "n2", "Startup Cost": 0.0, "Total Cost": 1.38, "Plan Rows": 2, "Plan Width": 30, "Output": ["n2.n_name", "n2.n_nationkey"], "Filter": "((n2.n_name = 'ETHIOPIA'::bpchar) OR (n2.n_name = 'IRAN'::bpchar))"}]}]}, {"Node Type": "Index Scan", "Parent Relationship": "Inner", "Parallel Aware": false, "Async Capable": false, "Scan Direction": "Forward", "Index Name": "o_ck", "Relation Name": "orders", "Schema": "public", "Alias": "orders", "Startup Cost": 0.43, "Total Cost": 0.95, "Plan Rows": 18, "Plan Width": 8, "Output": ["orders.o_orderkey", "orders.o_custkey", "orders.o_orderstatus", "orders.o_totalprice", "orders.o_orderdate", "orders.o_orderpriority", "orders.o_clerk", "orders.o_shippriority", "orders.o_comment"], "Index Cond": "(orders.o_custkey = customer.c_custkey)"}]}, {"Node Type": "Hash", "Parent Relationship": "Inner", "Parallel Aware": true, "Async Capable": false, "Startup Cost": 138460.17, "Total Cost": 138460.17, "Plan Rows": 857226, "Plan Width": 46, "Output": ["lineitem.l_shipdate", "lineitem.l_extendedprice", "lineitem.l_discount", "lineitem.l_orderkey", "n1.n_name"], "Plans": [{"Node Type": "Nested Loop", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Join Type": "Inner", "Startup Cost": 1.84, "Total Cost": 138460.17, "Plan Rows": 857226, "Plan Width": 46, "Output": ["lineitem.l_shipdate", "lineitem.l_extendedprice", "lineitem.l_discount", "lineitem.l_orderkey", "n1.n_name"], "Inner Unique": false, "Plans": [{"Node Type": "Hash Join", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Join Type": "Inner", "Startup Cost": 1.4, "Total Cost": 2986.23, "Plan Rows": 4706, "Plan Width": 30, "Output": ["supplier.s_suppkey", "n1.n_name"], "Inner Unique": true, "Hash Cond": "(supplier.s_nationkey = n1.n_nationkey)", "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": true, "Async Capable": false, "Relation Name": "supplier", "Schema": "public", "Alias": "supplier", "Startup Cost": 0.0, "Total Cost": 2804.24, "Plan Rows": 58824, "Plan Width": 8, "Output": ["supplier.s_suppkey", "supplier.s_name", "supplier.s_address", "supplier.s_nationkey", "supplier.s_phone", "supplier.s_acctbal", "supplier.s_comment"]}, {"Node Type": "Hash", "Parent Relationship": "Inner", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 1.38, "Total Cost": 1.38, "Plan Rows": 2, "Plan Width": 30, "Output": ["n1.n_name", "n1.n_nationkey"], "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Relation Name": "nation", "Schema": "public", "Alias": "n1", "Startup Cost": 0.0, "Total Cost": 1.38, "Plan Rows": 2, "Plan Width": 30, "Output": ["n1.n_name", "n1.n_nationkey"], "Filter": "((n1.n_name = 'IRAN'::bpchar) OR (n1.n_name = 'ETHIOPIA'::bpchar))"}]}]}, {"Node Type": "Index Scan", "Parent Relationship": "Inner", "Parallel Aware": false, "Async Capable": false, "Scan Direction": "Forward", "Index Name": "l_sk_pk", "Relation Name": "lineitem", "Schema": "public", "Alias": "lineitem", "Startup Cost": 0.44, "Total Cost": 26.97, "Plan Rows": 182, "Plan Width": 24, "Output": ["lineitem.l_orderkey", "lineitem.l_partkey", "lineitem.l_suppkey", "lineitem.l_linenumber", "lineitem.l_quantity", "lineitem.l_extendedprice", "lineitem.l_discount", "lineitem.l_tax", "lineitem.l_returnflag", "lineitem.l_linestatus", "lineitem.l_shipdate", "lineitem.l_commitdate", "lineitem.l_receiptdate", "lineitem.l_shipinstruct", "lineitem.l_shipmode", "lineitem.l_comment"], "Index Cond": "(lineitem.l_suppkey = supplier.s_suppkey)", "Filter": "((lineitem.l_shipdate >= '1995-01-01'::date) AND (lineitem.l_shipdate <= '1996-12-31'::date))"}]}]}]}]}]}]}]}} diff --git a/dev9/pg15/tpch/sf_10/explain/15721/8-1.ok b/dev9/pg15/tpch/sf_10/explain/15721/8-1.ok new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/dev9/pg15/tpch/sf_10/explain/15721/8-1.res b/dev9/pg15/tpch/sf_10/explain/15721/8-1.res new file mode 100644 index 0000000000000000000000000000000000000000..39c5790604f15560690ebcbf014f4302337e8c90 --- /dev/null +++ b/dev9/pg15/tpch/sf_10/explain/15721/8-1.res @@ -0,0 +1 @@ +{"Plan": {"Node Type": "Aggregate", "Strategy": "Sorted", "Partial Mode": "Finalize", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 208467.5, "Total Cost": 209955.6, "Plan Rows": 2406, "Plan Width": 64, "Output": ["(EXTRACT(year FROM orders.o_orderdate))", "(sum(CASE WHEN (n2.n_name = 'ETHIOPIA'::bpchar) THEN (lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount)) ELSE '0'::numeric END) / sum((lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount))))"], "Group Key": ["(EXTRACT(year FROM orders.o_orderdate))"], "Plans": [{"Node Type": "Gather Merge", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 208467.5, "Total Cost": 209787.18, "Plan Rows": 9624, "Plan Width": 96, "Output": ["(EXTRACT(year FROM orders.o_orderdate))", "(PARTIAL sum(CASE WHEN (n2.n_name = 'ETHIOPIA'::bpchar) THEN (lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount)) ELSE '0'::numeric END))", "(PARTIAL sum((lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount))))"], "Workers Planned": 4, "Plans": [{"Node Type": "Aggregate", "Strategy": "Sorted", "Partial Mode": "Partial", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 207467.44, "Total Cost": 207640.81, "Plan Rows": 2406, "Plan Width": 96, "Output": ["(EXTRACT(year FROM orders.o_orderdate))", "PARTIAL sum(CASE WHEN (n2.n_name = 'ETHIOPIA'::bpchar) THEN (lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount)) ELSE '0'::numeric END)", "PARTIAL sum((lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount)))"], "Group Key": ["(EXTRACT(year FROM orders.o_orderdate))"], "Plans": [{"Node Type": "Sort", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 207467.44, "Total Cost": 207482.02, "Plan Rows": 5834, "Plan Width": 70, "Output": ["(EXTRACT(year FROM orders.o_orderdate))", "n2.n_name", "lineitem.l_extendedprice", "lineitem.l_discount"], "Sort Key": ["(EXTRACT(year FROM orders.o_orderdate))"], "Plans": [{"Node Type": "Hash Join", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Join Type": "Inner", "Startup Cost": 5.67, "Total Cost": 207102.51, "Plan Rows": 5834, "Plan Width": 70, "Output": ["EXTRACT(year FROM orders.o_orderdate)", "n2.n_name", "lineitem.l_extendedprice", "lineitem.l_discount"], "Inner Unique": true, "Hash Cond": "(supplier.s_nationkey = n2.n_nationkey)", "Plans": [{"Node Type": "Nested Loop", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Join Type": "Inner", "Startup Cost": 4.1, "Total Cost": 207068.46, "Plan Rows": 5834, "Plan Width": 20, "Output": ["lineitem.l_extendedprice", "lineitem.l_discount", "supplier.s_nationkey", "orders.o_orderdate"], "Inner Unique": true, "Plans": [{"Node Type": "Hash Join", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Join Type": "Inner", "Startup Cost": 3.81, "Total Cost": 205259.03, "Plan Rows": 5836, "Plan Width": 20, "Output": ["lineitem.l_extendedprice", "lineitem.l_discount", "lineitem.l_suppkey", "orders.o_orderdate"], "Inner Unique": false, "Hash Cond": "(customer.c_nationkey = n1.n_nationkey)", "Plans": [{"Node Type": "Nested Loop", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Join Type": "Inner", "Startup Cost": 1.3, "Total Cost": 205088.74, "Plan Rows": 29180, "Plan Width": 24, "Output": ["lineitem.l_extendedprice", "lineitem.l_discount", "lineitem.l_suppkey", "orders.o_orderdate", "customer.c_nationkey"], "Inner Unique": true, "Plans": [{"Node Type": "Nested Loop", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Join Type": "Inner", "Startup Cost": 0.88, "Total Cost": 191822.22, "Plan Rows": 29180, "Plan Width": 24, "Output": ["lineitem.l_extendedprice", "lineitem.l_discount", "lineitem.l_suppkey", "orders.o_orderdate", "orders.o_custkey"], "Inner Unique": true, "Plans": [{"Node Type": "Nested Loop", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Join Type": "Inner", "Startup Cost": 0.44, "Total Cost": 147335.77, "Plan Rows": 96075, "Plan Width": 20, "Output": ["lineitem.l_extendedprice", "lineitem.l_discount", "lineitem.l_suppkey", "lineitem.l_orderkey"], "Inner Unique": false, "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": true, "Async Capable": false, "Relation Name": "part", "Schema": "public", "Alias": "part", "Startup Cost": 0.0, "Total Cost": 47212.0, "Plan Rows": 3203, "Plan Width": 4, "Output": ["part.p_partkey", "part.p_name", "part.p_mfgr", "part.p_brand", "part.p_type", "part.p_size", "part.p_container", "part.p_retailprice", "part.p_comment"], "Filter": "((part.p_type)::text = 'SMALL BRUSHED NICKEL'::text)"}, {"Node Type": "Index Scan", "Parent Relationship": "Inner", "Parallel Aware": false, "Async Capable": false, "Scan Direction": "Forward", "Index Name": "l_pk", "Relation Name": "lineitem", "Schema": "public", "Alias": "lineitem", "Startup Cost": 0.44, "Total Cost": 30.95, "Plan Rows": 31, "Plan Width": 24, "Output": ["lineitem.l_orderkey", "lineitem.l_partkey", "lineitem.l_suppkey", "lineitem.l_linenumber", "lineitem.l_quantity", "lineitem.l_extendedprice", "lineitem.l_discount", "lineitem.l_tax", "lineitem.l_returnflag", "lineitem.l_linestatus", "lineitem.l_shipdate", "lineitem.l_commitdate", "lineitem.l_receiptdate", "lineitem.l_shipinstruct", "lineitem.l_shipmode", "lineitem.l_comment"], "Index Cond": "(lineitem.l_partkey = part.p_partkey)"}]}, {"Node Type": "Index Scan", "Parent Relationship": "Inner", "Parallel Aware": false, "Async Capable": false, "Scan Direction": "Forward", "Index Name": "o_ok", "Relation Name": "orders", "Schema": "public", "Alias": "orders", "Startup Cost": 0.43, "Total Cost": 0.46, "Plan Rows": 1, "Plan Width": 12, "Output": ["orders.o_orderkey", "orders.o_custkey", "orders.o_orderstatus", "orders.o_totalprice", "orders.o_orderdate", "orders.o_orderpriority", "orders.o_clerk", "orders.o_shippriority", "orders.o_comment"], "Index Cond": "(orders.o_orderkey = lineitem.l_orderkey)", "Filter": "((orders.o_orderdate >= '1995-01-01'::date) AND (orders.o_orderdate <= '1996-12-31'::date))"}]}, {"Node Type": "Index Scan", "Parent Relationship": "Inner", "Parallel Aware": false, "Async Capable": false, "Scan Direction": "Forward", "Index Name": "c_ck", "Relation Name": "customer", "Schema": "public", "Alias": "customer", "Startup Cost": 0.43, "Total Cost": 0.45, "Plan Rows": 1, "Plan Width": 8, "Output": ["customer.c_custkey", "customer.c_name", "customer.c_address", "customer.c_nationkey", "customer.c_phone", "customer.c_acctbal", "customer.c_mktsegment", "customer.c_comment"], "Index Cond": "(customer.c_custkey = orders.o_custkey)"}]}, {"Node Type": "Hash", "Parent Relationship": "Inner", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 2.45, "Total Cost": 2.45, "Plan Rows": 5, "Plan Width": 4, "Output": ["n1.n_nationkey"], "Plans": [{"Node Type": "Hash Join", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Join Type": "Inner", "Startup Cost": 1.07, "Total Cost": 2.45, "Plan Rows": 5, "Plan Width": 4, "Output": ["n1.n_nationkey"], "Inner Unique": true, "Hash Cond": "(n1.n_regionkey = region.r_regionkey)", "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Relation Name": "nation", "Schema": "public", "Alias": "n1", "Startup Cost": 0.0, "Total Cost": 1.25, "Plan Rows": 25, "Plan Width": 8, "Output": ["n1.n_nationkey", "n1.n_name", "n1.n_regionkey", "n1.n_comment"]}, {"Node Type": "Hash", "Parent Relationship": "Inner", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 1.06, "Total Cost": 1.06, "Plan Rows": 1, "Plan Width": 4, "Output": ["region.r_regionkey"], "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Relation Name": "region", "Schema": "public", "Alias": "region", "Startup Cost": 0.0, "Total Cost": 1.06, "Plan Rows": 1, "Plan Width": 4, "Output": ["region.r_regionkey"], "Filter": "(region.r_name = 'AFRICA'::bpchar)"}]}]}]}]}, {"Node Type": "Index Scan", "Parent Relationship": "Inner", "Parallel Aware": false, "Async Capable": false, "Scan Direction": "Forward", "Index Name": "s_sk", "Relation Name": "supplier", "Schema": "public", "Alias": "supplier", "Startup Cost": 0.29, "Total Cost": 0.31, "Plan Rows": 1, "Plan Width": 8, "Output": ["supplier.s_suppkey", "supplier.s_name", "supplier.s_address", "supplier.s_nationkey", "supplier.s_phone", "supplier.s_acctbal", "supplier.s_comment"], "Index Cond": "(supplier.s_suppkey = lineitem.l_suppkey)"}]}, {"Node Type": "Hash", "Parent Relationship": "Inner", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 1.25, "Total Cost": 1.25, "Plan Rows": 25, "Plan Width": 30, "Output": ["n2.n_name", "n2.n_nationkey"], "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Relation Name": "nation", "Schema": "public", "Alias": "n2", "Startup Cost": 0.0, "Total Cost": 1.25, "Plan Rows": 25, "Plan Width": 30, "Output": ["n2.n_name", "n2.n_nationkey"]}]}]}]}]}]}]}} diff --git a/dev9/pg15/tpch/sf_10/explain/15721/9-1.ok b/dev9/pg15/tpch/sf_10/explain/15721/9-1.ok new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/dev9/pg15/tpch/sf_10/explain/15721/9-1.res b/dev9/pg15/tpch/sf_10/explain/15721/9-1.res new file mode 100644 index 0000000000000000000000000000000000000000..69be1116c2adb6bb7715d8c312fa90487d20e097 --- /dev/null +++ b/dev9/pg15/tpch/sf_10/explain/15721/9-1.res @@ -0,0 +1 @@ +{"Plan": {"Node Type": "Sort", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 523308.93, "Total Cost": 523459.31, "Plan Rows": 60150, "Plan Width": 90, "Output": ["nation.n_name", "(EXTRACT(year FROM orders.o_orderdate))", "(sum(((lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount)) - (partsupp.ps_supplycost * lineitem.l_quantity))))"], "Sort Key": ["nation.n_name", "(EXTRACT(year FROM orders.o_orderdate)) DESC"], "Plans": [{"Node Type": "Aggregate", "Strategy": "Hashed", "Partial Mode": "Finalize", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 517631.89, "Total Cost": 518534.14, "Plan Rows": 60150, "Plan Width": 90, "Output": ["nation.n_name", "(EXTRACT(year FROM orders.o_orderdate))", "sum(((lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount)) - (partsupp.ps_supplycost * lineitem.l_quantity)))"], "Group Key": ["nation.n_name", "(EXTRACT(year FROM orders.o_orderdate))"], "Planned Partitions": 0, "Plans": [{"Node Type": "Gather", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 477030.64, "Total Cost": 514022.89, "Plan Rows": 360900, "Plan Width": 90, "Output": ["nation.n_name", "(EXTRACT(year FROM orders.o_orderdate))", "(PARTIAL sum(((lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount)) - (partsupp.ps_supplycost * lineitem.l_quantity))))"], "Workers Planned": 6, "Single Copy": false, "Plans": [{"Node Type": "Aggregate", "Strategy": "Hashed", "Partial Mode": "Partial", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 476030.64, "Total Cost": 476932.89, "Plan Rows": 60150, "Plan Width": 90, "Output": ["nation.n_name", "(EXTRACT(year FROM orders.o_orderdate))", "PARTIAL sum(((lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount)) - (partsupp.ps_supplycost * lineitem.l_quantity)))"], "Group Key": ["nation.n_name", "EXTRACT(year FROM orders.o_orderdate)"], "Planned Partitions": 0, "Plans": [{"Node Type": "Hash Join", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Join Type": "Inner", "Startup Cost": 167427.0, "Total Cost": 466916.78, "Plan Rows": 520792, "Plan Width": 81, "Output": ["nation.n_name", "EXTRACT(year FROM orders.o_orderdate)", "lineitem.l_extendedprice", "lineitem.l_discount", "partsupp.ps_supplycost", "lineitem.l_quantity"], "Inner Unique": true, "Hash Cond": "(supplier.s_nationkey = nation.n_nationkey)", "Plans": [{"Node Type": "Hash Join", "Parent Relationship": "Outer", "Parallel Aware": true, "Async Capable": false, "Join Type": "Inner", "Startup Cost": 167425.44, "Total Cost": 464014.4, "Plan Rows": 520792, "Plan Width": 31, "Output": ["lineitem.l_extendedprice", "lineitem.l_discount", "lineitem.l_quantity", "supplier.s_nationkey", "partsupp.ps_supplycost", "orders.o_orderdate"], "Inner Unique": false, "Hash Cond": "(orders.o_orderkey = lineitem.l_orderkey)", "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": true, "Async Capable": false, "Relation Name": "orders", "Schema": "public", "Alias": "orders", "Startup Cost": 0.0, "Total Cost": 285911.99, "Plan Rows": 2499999, "Plan Width": 8, "Output": ["orders.o_orderkey", "orders.o_custkey", "orders.o_orderstatus", "orders.o_totalprice", "orders.o_orderdate", "orders.o_orderpriority", "orders.o_clerk", "orders.o_shippriority", "orders.o_comment"]}, {"Node Type": "Hash", "Parent Relationship": "Inner", "Parallel Aware": true, "Async Capable": false, "Startup Cost": 157660.59, "Total Cost": 157660.59, "Plan Rows": 781188, "Plan Width": 31, "Output": ["lineitem.l_extendedprice", "lineitem.l_discount", "lineitem.l_quantity", "lineitem.l_orderkey", "supplier.s_nationkey", "partsupp.ps_supplycost"], "Plans": [{"Node Type": "Nested Loop", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Join Type": "Inner", "Startup Cost": 3540.41, "Total Cost": 157660.59, "Plan Rows": 781188, "Plan Width": 31, "Output": ["lineitem.l_extendedprice", "lineitem.l_discount", "lineitem.l_quantity", "lineitem.l_orderkey", "supplier.s_nationkey", "partsupp.ps_supplycost"], "Inner Unique": false, "Join Filter": "(supplier.s_suppkey = lineitem.l_suppkey)", "Plans": [{"Node Type": "Hash Join", "Parent Relationship": "Outer", "Parallel Aware": true, "Async Capable": false, "Join Type": "Inner", "Startup Cost": 3539.97, "Total Cost": 91245.41, "Plan Rows": 104206, "Plan Width": 26, "Output": ["part.p_partkey", "partsupp.ps_supplycost", "partsupp.ps_suppkey", "partsupp.ps_partkey", "supplier.s_suppkey", "supplier.s_nationkey"], "Inner Unique": true, "Hash Cond": "(partsupp.ps_suppkey = supplier.s_suppkey)", "Plans": [{"Node Type": "Nested Loop", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Join Type": "Inner", "Startup Cost": 0.43, "Total Cost": 87432.32, "Plan Rows": 104206, "Plan Width": 18, "Output": ["part.p_partkey", "partsupp.ps_supplycost", "partsupp.ps_suppkey", "partsupp.ps_partkey"], "Inner Unique": false, "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": true, "Async Capable": false, "Relation Name": "part", "Schema": "public", "Alias": "part", "Startup Cost": 0.0, "Total Cost": 47212.0, "Plan Rows": 26052, "Plan Width": 4, "Output": ["part.p_partkey", "part.p_name", "part.p_mfgr", "part.p_brand", "part.p_type", "part.p_size", "part.p_container", "part.p_retailprice", "part.p_comment"], "Filter": "((part.p_name)::text ~~ '%forest%'::text)"}, {"Node Type": "Index Scan", "Parent Relationship": "Inner", "Parallel Aware": false, "Async Capable": false, "Scan Direction": "Forward", "Index Name": "ps_pk", "Relation Name": "partsupp", "Schema": "public", "Alias": "partsupp", "Startup Cost": 0.43, "Total Cost": 1.49, "Plan Rows": 5, "Plan Width": 14, "Output": ["partsupp.ps_partkey", "partsupp.ps_suppkey", "partsupp.ps_availqty", "partsupp.ps_supplycost", "partsupp.ps_comment"], "Index Cond": "(partsupp.ps_partkey = part.p_partkey)"}]}, {"Node Type": "Hash", "Parent Relationship": "Inner", "Parallel Aware": true, "Async Capable": false, "Startup Cost": 2804.24, "Total Cost": 2804.24, "Plan Rows": 58824, "Plan Width": 8, "Output": ["supplier.s_suppkey", "supplier.s_nationkey"], "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": true, "Async Capable": false, "Relation Name": "supplier", "Schema": "public", "Alias": "supplier", "Startup Cost": 0.0, "Total Cost": 2804.24, "Plan Rows": 58824, "Plan Width": 8, "Output": ["supplier.s_suppkey", "supplier.s_nationkey"]}]}]}, {"Node Type": "Index Scan", "Parent Relationship": "Inner", "Parallel Aware": false, "Async Capable": false, "Scan Direction": "Forward", "Index Name": "l_pk_sk", "Relation Name": "lineitem", "Schema": "public", "Alias": "lineitem", "Startup Cost": 0.44, "Total Cost": 0.62, "Plan Rows": 1, "Plan Width": 29, "Output": ["lineitem.l_orderkey", "lineitem.l_partkey", "lineitem.l_suppkey", "lineitem.l_linenumber", "lineitem.l_quantity", "lineitem.l_extendedprice", "lineitem.l_discount", "lineitem.l_tax", "lineitem.l_returnflag", "lineitem.l_linestatus", "lineitem.l_shipdate", "lineitem.l_commitdate", "lineitem.l_receiptdate", "lineitem.l_shipinstruct", "lineitem.l_shipmode", "lineitem.l_comment"], "Index Cond": "((lineitem.l_partkey = partsupp.ps_partkey) AND (lineitem.l_suppkey = partsupp.ps_suppkey))"}]}]}]}, {"Node Type": "Hash", "Parent Relationship": "Inner", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 1.25, "Total Cost": 1.25, "Plan Rows": 25, "Plan Width": 30, "Output": ["nation.n_name", "nation.n_nationkey"], "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Relation Name": "nation", "Schema": "public", "Alias": "nation", "Startup Cost": 0.0, "Total Cost": 1.25, "Plan Rows": 25, "Plan Width": 30, "Output": ["nation.n_name", "nation.n_nationkey"]}]}]}]}]}]}]}} diff --git a/dev9/pg15/tpch/sf_10/explain_analyze/15721/1-1.ok b/dev9/pg15/tpch/sf_10/explain_analyze/15721/1-1.ok new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/dev9/pg15/tpch/sf_10/explain_analyze/15721/1-1.res b/dev9/pg15/tpch/sf_10/explain_analyze/15721/1-1.res new file mode 100644 index 0000000000000000000000000000000000000000..7a83fc61d3053ace1970986cc184a6023c61fd7a --- /dev/null +++ b/dev9/pg15/tpch/sf_10/explain_analyze/15721/1-1.res @@ -0,0 +1 @@ +{"Plan": {"Node Type": "Aggregate", "Strategy": "Sorted", "Partial Mode": "Finalize", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 1525733.83, "Total Cost": 1525740.52, "Plan Rows": 6, "Plan Width": 236, "Actual Startup Time": 12796.965, "Actual Total Time": 12853.463, "Actual Rows": 4, "Actual Loops": 1, "Output": ["l_returnflag", "l_linestatus", "sum(l_quantity)", "sum(l_extendedprice)", "sum((l_extendedprice * ('1'::numeric - l_discount)))", "sum(((l_extendedprice * ('1'::numeric - l_discount)) * ('1'::numeric + l_tax)))", "avg(l_quantity)", "avg(l_extendedprice)", "avg(l_discount)", "count(*)"], "Group Key": ["lineitem.l_returnflag", "lineitem.l_linestatus"], "Plans": [{"Node Type": "Gather Merge", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 1525733.83, "Total Cost": 1525738.99, "Plan Rows": 42, "Plan Width": 236, "Actual Startup Time": 12796.926, "Actual Total Time": 12853.37, "Actual Rows": 32, "Actual Loops": 1, "Output": ["l_returnflag", "l_linestatus", "(PARTIAL sum(l_quantity))", "(PARTIAL sum(l_extendedprice))", "(PARTIAL sum((l_extendedprice * ('1'::numeric - l_discount))))", "(PARTIAL sum(((l_extendedprice * ('1'::numeric - l_discount)) * ('1'::numeric + l_tax))))", "(PARTIAL avg(l_quantity))", "(PARTIAL avg(l_extendedprice))", "(PARTIAL avg(l_discount))", "(PARTIAL count(*))"], "Workers Planned": 7, "Workers Launched": 7, "Plans": [{"Node Type": "Sort", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 1524733.71, "Total Cost": 1524733.73, "Plan Rows": 6, "Plan Width": 236, "Actual Startup Time": 12792.55, "Actual Total Time": 12792.551, "Actual Rows": 4, "Actual Loops": 8, "Output": ["l_returnflag", "l_linestatus", "(PARTIAL sum(l_quantity))", "(PARTIAL sum(l_extendedprice))", "(PARTIAL sum((l_extendedprice * ('1'::numeric - l_discount))))", "(PARTIAL sum(((l_extendedprice * ('1'::numeric - l_discount)) * ('1'::numeric + l_tax))))", "(PARTIAL avg(l_quantity))", "(PARTIAL avg(l_extendedprice))", "(PARTIAL avg(l_discount))", "(PARTIAL count(*))"], "Sort Key": ["lineitem.l_returnflag", "lineitem.l_linestatus"], "Sort Method": "quicksort", "Sort Space Used": 27, "Sort Space Type": "Memory", "Workers": [{"Worker Number": 0, "Actual Startup Time": 12791.686, "Actual Total Time": 12791.688, "Actual Rows": 4, "Actual Loops": 1, "Sort Method": "quicksort", "Sort Space Used": 27, "Sort Space Type": "Memory"}, {"Worker Number": 1, "Actual Startup Time": 12791.815, "Actual Total Time": 12791.817, "Actual Rows": 4, "Actual Loops": 1, "Sort Method": "quicksort", "Sort Space Used": 27, "Sort Space Type": "Memory"}, {"Worker Number": 2, "Actual Startup Time": 12791.924, "Actual Total Time": 12791.926, "Actual Rows": 4, "Actual Loops": 1, "Sort Method": "quicksort", "Sort Space Used": 27, "Sort Space Type": "Memory"}, {"Worker Number": 3, "Actual Startup Time": 12791.977, "Actual Total Time": 12791.978, "Actual Rows": 4, "Actual Loops": 1, "Sort Method": "quicksort", "Sort Space Used": 27, "Sort Space Type": "Memory"}, {"Worker Number": 4, "Actual Startup Time": 12792.172, "Actual Total Time": 12792.173, "Actual Rows": 4, "Actual Loops": 1, "Sort Method": "quicksort", "Sort Space Used": 27, "Sort Space Type": "Memory"}, {"Worker Number": 5, "Actual Startup Time": 12792.164, "Actual Total Time": 12792.166, "Actual Rows": 4, "Actual Loops": 1, "Sort Method": "quicksort", "Sort Space Used": 27, "Sort Space Type": "Memory"}, {"Worker Number": 6, "Actual Startup Time": 12792.237, "Actual Total Time": 12792.238, "Actual Rows": 4, "Actual Loops": 1, "Sort Method": "quicksort", "Sort Space Used": 27, "Sort Space Type": "Memory"}], "Plans": [{"Node Type": "Aggregate", "Strategy": "Hashed", "Partial Mode": "Partial", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 1524733.5, "Total Cost": 1524733.63, "Plan Rows": 6, "Plan Width": 236, "Actual Startup Time": 12792.501, "Actual Total Time": 12792.509, "Actual Rows": 4, "Actual Loops": 8, "Output": ["l_returnflag", "l_linestatus", "PARTIAL sum(l_quantity)", "PARTIAL sum(l_extendedprice)", "PARTIAL sum((l_extendedprice * ('1'::numeric - l_discount)))", "PARTIAL sum(((l_extendedprice * ('1'::numeric - l_discount)) * ('1'::numeric + l_tax)))", "PARTIAL avg(l_quantity)", "PARTIAL avg(l_extendedprice)", "PARTIAL avg(l_discount)", "PARTIAL count(*)"], "Group Key": ["lineitem.l_returnflag", "lineitem.l_linestatus"], "Planned Partitions": 0, "HashAgg Batches": 1, "Peak Memory Usage": 32, "Disk Usage": 0, "Workers": [{"Worker Number": 0, "Actual Startup Time": 12791.639, "Actual Total Time": 12791.646, "Actual Rows": 4, "Actual Loops": 1, "HashAgg Batches": 1, "Peak Memory Usage": 32, "Disk Usage": 0}, {"Worker Number": 1, "Actual Startup Time": 12791.766, "Actual Total Time": 12791.774, "Actual Rows": 4, "Actual Loops": 1, "HashAgg Batches": 1, "Peak Memory Usage": 32, "Disk Usage": 0}, {"Worker Number": 2, "Actual Startup Time": 12791.873, "Actual Total Time": 12791.882, "Actual Rows": 4, "Actual Loops": 1, "HashAgg Batches": 1, "Peak Memory Usage": 32, "Disk Usage": 0}, {"Worker Number": 3, "Actual Startup Time": 12791.93, "Actual Total Time": 12791.938, "Actual Rows": 4, "Actual Loops": 1, "HashAgg Batches": 1, "Peak Memory Usage": 32, "Disk Usage": 0}, {"Worker Number": 4, "Actual Startup Time": 12792.125, "Actual Total Time": 12792.133, "Actual Rows": 4, "Actual Loops": 1, "HashAgg Batches": 1, "Peak Memory Usage": 32, "Disk Usage": 0}, {"Worker Number": 5, "Actual Startup Time": 12792.114, "Actual Total Time": 12792.122, "Actual Rows": 4, "Actual Loops": 1, "HashAgg Batches": 1, "Peak Memory Usage": 32, "Disk Usage": 0}, {"Worker Number": 6, "Actual Startup Time": 12792.159, "Actual Total Time": 12792.167, "Actual Rows": 4, "Actual Loops": 1, "HashAgg Batches": 1, "Peak Memory Usage": 32, "Disk Usage": 0}], "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": true, "Async Capable": false, "Relation Name": "lineitem", "Schema": "public", "Alias": "lineitem", "Startup Cost": 0.0, "Total Cost": 1231661.28, "Plan Rows": 8373492, "Plan Width": 25, "Actual Startup Time": 0.027, "Actual Total Time": 1735.392, "Actual Rows": 7323456, "Actual Loops": 8, "Output": ["l_orderkey", "l_partkey", "l_suppkey", "l_linenumber", "l_quantity", "l_extendedprice", "l_discount", "l_tax", "l_returnflag", "l_linestatus", "l_shipdate", "l_commitdate", "l_receiptdate", "l_shipinstruct", "l_shipmode", "l_comment"], "Filter": "(lineitem.l_shipdate <= '1998-08-07 23:59:57'::timestamp without time zone)", "Rows Removed by Filter": 174801, "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.028, "Actual Total Time": 1727.755, "Actual Rows": 7305679, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 0.028, "Actual Total Time": 1733.793, "Actual Rows": 7325402, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 0.03, "Actual Total Time": 1753.782, "Actual Rows": 7312536, "Actual Loops": 1}, {"Worker Number": 3, "Actual Startup Time": 0.028, "Actual Total Time": 1760.378, "Actual Rows": 7322491, "Actual Loops": 1}, {"Worker Number": 4, "Actual Startup Time": 0.032, "Actual Total Time": 1753.941, "Actual Rows": 7324082, "Actual Loops": 1}, {"Worker Number": 5, "Actual Startup Time": 0.027, "Actual Total Time": 1736.484, "Actual Rows": 7319944, "Actual Loops": 1}, {"Worker Number": 6, "Actual Startup Time": 0.029, "Actual Total Time": 1738.332, "Actual Rows": 7308241, "Actual Loops": 1}]}]}]}]}]}, "Planning Time": 0.556, "Triggers": [], "Execution Time": 12853.551} diff --git a/dev9/pg15/tpch/sf_10/explain_analyze/15721/10-1.ok b/dev9/pg15/tpch/sf_10/explain_analyze/15721/10-1.ok new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/dev9/pg15/tpch/sf_10/explain_analyze/15721/10-1.res b/dev9/pg15/tpch/sf_10/explain_analyze/15721/10-1.res new file mode 100644 index 0000000000000000000000000000000000000000..932d3390366d2ab580156107f52b933a9339d728 --- /dev/null +++ b/dev9/pg15/tpch/sf_10/explain_analyze/15721/10-1.res @@ -0,0 +1 @@ +{"Plan": {"Node Type": "Limit", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 693549.61, "Total Cost": 693549.66, "Plan Rows": 20, "Plan Width": 202, "Actual Startup Time": 3258.831, "Actual Total Time": 3449.225, "Actual Rows": 20, "Actual Loops": 1, "Output": ["customer.c_custkey", "customer.c_name", "(sum((lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount))))", "customer.c_acctbal", "nation.n_name", "customer.c_address", "customer.c_phone", "customer.c_comment"], "Plans": [{"Node Type": "Sort", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 693549.61, "Total Cost": 694930.69, "Plan Rows": 552434, "Plan Width": 202, "Actual Startup Time": 3258.829, "Actual Total Time": 3449.22, "Actual Rows": 20, "Actual Loops": 1, "Output": ["customer.c_custkey", "customer.c_name", "(sum((lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount))))", "customer.c_acctbal", "nation.n_name", "customer.c_address", "customer.c_phone", "customer.c_comment"], "Sort Key": ["(sum((lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount)))) DESC"], "Sort Method": "top-N heapsort", "Sort Space Used": 34, "Sort Space Type": "Memory", "Plans": [{"Node Type": "Aggregate", "Strategy": "Sorted", "Partial Mode": "Simple", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 598893.2, "Total Cost": 678849.54, "Plan Rows": 552434, "Plan Width": 202, "Actual Startup Time": 1906.498, "Actual Total Time": 3307.09, "Actual Rows": 372741, "Actual Loops": 1, "Output": ["customer.c_custkey", "customer.c_name", "sum((lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount)))", "customer.c_acctbal", "nation.n_name", "customer.c_address", "customer.c_phone", "customer.c_comment"], "Group Key": ["customer.c_custkey", "nation.n_name"], "Plans": [{"Node Type": "Gather Merge", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 598893.2, "Total Cost": 665038.69, "Plan Rows": 552434, "Plan Width": 182, "Actual Startup Time": 1906.477, "Actual Total Time": 2401.906, "Actual Rows": 1112878, "Actual Loops": 1, "Output": ["customer.c_custkey", "nation.n_name", "customer.c_name", "lineitem.l_extendedprice", "lineitem.l_discount", "customer.c_acctbal", "customer.c_address", "customer.c_phone", "customer.c_comment"], "Workers Planned": 4, "Workers Launched": 4, "Plans": [{"Node Type": "Sort", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 597893.15, "Total Cost": 598238.42, "Plan Rows": 138108, "Plan Width": 182, "Actual Startup Time": 1896.132, "Actual Total Time": 1939.909, "Actual Rows": 222576, "Actual Loops": 5, "Output": ["customer.c_custkey", "nation.n_name", "customer.c_name", "lineitem.l_extendedprice", "lineitem.l_discount", "customer.c_acctbal", "customer.c_address", "customer.c_phone", "customer.c_comment"], "Sort Key": ["customer.c_custkey", "nation.n_name"], "Sort Method": "external merge", "Sort Space Used": 43360, "Sort Space Type": "Disk", "Workers": [{"Worker Number": 0, "Actual Startup Time": 1892.909, "Actual Total Time": 1939.169, "Actual Rows": 219631, "Actual Loops": 1, "Sort Method": "external merge", "Sort Space Used": 41872, "Sort Space Type": "Disk"}, {"Worker Number": 1, "Actual Startup Time": 1893.53, "Actual Total Time": 1939.666, "Actual Rows": 221379, "Actual Loops": 1, "Sort Method": "external merge", "Sort Space Used": 42232, "Sort Space Type": "Disk"}, {"Worker Number": 2, "Actual Startup Time": 1894.296, "Actual Total Time": 1940.762, "Actual Rows": 221901, "Actual Loops": 1, "Sort Method": "external merge", "Sort Space Used": 42344, "Sort Space Type": "Disk"}, {"Worker Number": 3, "Actual Startup Time": 1893.95, "Actual Total Time": 1939.936, "Actual Rows": 222674, "Actual Loops": 1, "Sort Method": "external merge", "Sort Space Used": 42512, "Sort Space Type": "Disk"}], "Plans": [{"Node Type": "Hash Join", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Join Type": "Inner", "Startup Cost": 536337.61, "Total Cost": 578912.52, "Plan Rows": 138108, "Plan Width": 182, "Actual Startup Time": 1446.742, "Actual Total Time": 1725.501, "Actual Rows": 222576, "Actual Loops": 5, "Output": ["customer.c_custkey", "nation.n_name", "customer.c_name", "lineitem.l_extendedprice", "lineitem.l_discount", "customer.c_acctbal", "customer.c_address", "customer.c_phone", "customer.c_comment"], "Inner Unique": true, "Hash Cond": "(customer.c_nationkey = nation.n_nationkey)", "Workers": [{"Worker Number": 0, "Actual Startup Time": 1445.782, "Actual Total Time": 1721.357, "Actual Rows": 219631, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 1445.814, "Actual Total Time": 1722.405, "Actual Rows": 221379, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 1445.806, "Actual Total Time": 1723.467, "Actual Rows": 221901, "Actual Loops": 1}, {"Worker Number": 3, "Actual Startup Time": 1445.901, "Actual Total Time": 1722.021, "Actual Rows": 222674, "Actual Loops": 1}], "Plans": [{"Node Type": "Hash Join", "Parent Relationship": "Outer", "Parallel Aware": true, "Async Capable": false, "Join Type": "Inner", "Startup Cost": 536336.04, "Total Cost": 578486.97, "Plan Rows": 138108, "Plan Width": 160, "Actual Startup Time": 1446.573, "Actual Total Time": 1673.077, "Actual Rows": 222576, "Actual Loops": 5, "Output": ["customer.c_custkey", "customer.c_name", "customer.c_acctbal", "customer.c_address", "customer.c_phone", "customer.c_comment", "customer.c_nationkey", "lineitem.l_extendedprice", "lineitem.l_discount"], "Inner Unique": false, "Hash Cond": "(customer.c_custkey = orders.o_custkey)", "Workers": [{"Worker Number": 0, "Actual Startup Time": 1445.587, "Actual Total Time": 1669.457, "Actual Rows": 219631, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 1445.602, "Actual Total Time": 1670.232, "Actual Rows": 221379, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 1445.597, "Actual Total Time": 1670.993, "Actual Rows": 221901, "Actual Loops": 1}, {"Worker Number": 3, "Actual Startup Time": 1445.709, "Actual Total Time": 1669.521, "Actual Rows": 222674, "Actual Loops": 1}], "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": true, "Async Capable": false, "Relation Name": "customer", "Schema": "public", "Alias": "customer", "Startup Cost": 0.0, "Total Cost": 39577.0, "Plan Rows": 375000, "Plan Width": 148, "Actual Startup Time": 0.014, "Actual Total Time": 31.085, "Actual Rows": 300000, "Actual Loops": 5, "Output": ["customer.c_custkey", "customer.c_name", "customer.c_address", "customer.c_nationkey", "customer.c_phone", "customer.c_acctbal", "customer.c_mktsegment", "customer.c_comment"], "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.016, "Actual Total Time": 30.635, "Actual Rows": 295496, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 0.016, "Actual Total Time": 31.022, "Actual Rows": 300088, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 0.017, "Actual Total Time": 30.944, "Actual Rows": 299324, "Actual Loops": 1}, {"Worker Number": 3, "Actual Startup Time": 0.016, "Actual Total Time": 31.16, "Actual Rows": 300510, "Actual Loops": 1}]}, {"Node Type": "Hash", "Parent Relationship": "Inner", "Parallel Aware": true, "Async Capable": false, "Startup Cost": 535185.14, "Total Cost": 535185.14, "Plan Rows": 92072, "Plan Width": 16, "Actual Startup Time": 1445.09, "Actual Total Time": 1445.092, "Actual Rows": 222576, "Actual Loops": 5, "Output": ["orders.o_custkey", "lineitem.l_extendedprice", "lineitem.l_discount"], "Hash Buckets": 2097152, "Original Hash Buckets": 1048576, "Hash Batches": 1, "Original Hash Batches": 1, "Peak Memory Usage": 83488, "Workers": [{"Worker Number": 0, "Actual Startup Time": 1445.528, "Actual Total Time": 1445.531, "Actual Rows": 209746, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 1445.55, "Actual Total Time": 1445.553, "Actual Rows": 211487, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 1445.552, "Actual Total Time": 1445.555, "Actual Rows": 212183, "Actual Loops": 1}, {"Worker Number": 3, "Actual Startup Time": 1445.658, "Actual Total Time": 1445.66, "Actual Rows": 212338, "Actual Loops": 1}], "Plans": [{"Node Type": "Nested Loop", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Join Type": "Inner", "Startup Cost": 6227.12, "Total Cost": 535185.14, "Plan Rows": 92072, "Plan Width": 16, "Actual Startup Time": 176.762, "Actual Total Time": 1329.237, "Actual Rows": 222576, "Actual Loops": 5, "Output": ["orders.o_custkey", "lineitem.l_extendedprice", "lineitem.l_discount"], "Inner Unique": false, "Workers": [{"Worker Number": 0, "Actual Startup Time": 176.97, "Actual Total Time": 1327.717, "Actual Rows": 209746, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 176.946, "Actual Total Time": 1331.768, "Actual Rows": 211487, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 176.939, "Actual Total Time": 1332.813, "Actual Rows": 212183, "Actual Loops": 1}, {"Worker Number": 3, "Actual Startup Time": 176.934, "Actual Total Time": 1332.377, "Actual Rows": 212338, "Actual Loops": 1}], "Plans": [{"Node Type": "Bitmap Heap Scan", "Parent Relationship": "Outer", "Parallel Aware": true, "Async Capable": false, "Relation Name": "orders", "Schema": "public", "Alias": "orders", "Startup Cost": 6226.55, "Total Cost": 268529.41, "Plan Rows": 92724, "Plan Width": 8, "Actual Startup Time": 176.672, "Actual Total Time": 409.998, "Actual Rows": 111024, "Actual Loops": 5, "Output": ["orders.o_orderkey", "orders.o_custkey", "orders.o_orderstatus", "orders.o_totalprice", "orders.o_orderdate", "orders.o_orderpriority", "orders.o_clerk", "orders.o_shippriority", "orders.o_comment"], "Recheck Cond": "((orders.o_orderdate >= '1993-02-01'::date) AND (orders.o_orderdate < '1993-05-01 00:00:00'::timestamp without time zone))", "Rows Removed by Index Recheck": 0, "Exact Heap Blocks": 55442, "Lossy Heap Blocks": 0, "Workers": [{"Worker Number": 0, "Actual Startup Time": 176.87, "Actual Total Time": 411.245, "Actual Rows": 104703, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 176.841, "Actual Total Time": 411.488, "Actual Rows": 105723, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 176.841, "Actual Total Time": 411.97, "Actual Rows": 105654, "Actual Loops": 1}, {"Worker Number": 3, "Actual Startup Time": 176.825, "Actual Total Time": 411.532, "Actual Rows": 105732, "Actual Loops": 1}], "Plans": [{"Node Type": "Bitmap Index Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Index Name": "o_od", "Startup Cost": 0.0, "Total Cost": 6087.47, "Plan Rows": 556343, "Plan Width": 0, "Actual Startup Time": 96.289, "Actual Total Time": 96.289, "Actual Rows": 555118, "Actual Loops": 1, "Index Cond": "((orders.o_orderdate >= '1993-02-01'::date) AND (orders.o_orderdate < '1993-05-01 00:00:00'::timestamp without time zone))", "Workers": []}]}, {"Node Type": "Index Scan", "Parent Relationship": "Inner", "Parallel Aware": false, "Async Capable": false, "Scan Direction": "Forward", "Index Name": "l_ok", "Relation Name": "lineitem", "Schema": "public", "Alias": "lineitem", "Startup Cost": 0.56, "Total Cost": 2.81, "Plan Rows": 7, "Plan Width": 16, "Actual Startup Time": 0.007, "Actual Total Time": 0.008, "Actual Rows": 2, "Actual Loops": 555118, "Output": ["lineitem.l_orderkey", "lineitem.l_partkey", "lineitem.l_suppkey", "lineitem.l_linenumber", "lineitem.l_quantity", "lineitem.l_extendedprice", "lineitem.l_discount", "lineitem.l_tax", "lineitem.l_returnflag", "lineitem.l_linestatus", "lineitem.l_shipdate", "lineitem.l_commitdate", "lineitem.l_receiptdate", "lineitem.l_shipinstruct", "lineitem.l_shipmode", "lineitem.l_comment"], "Index Cond": "(lineitem.l_orderkey = orders.o_orderkey)", "Rows Removed by Index Recheck": 0, "Filter": "(lineitem.l_returnflag = 'R'::bpchar)", "Rows Removed by Filter": 2, "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.007, "Actual Total Time": 0.008, "Actual Rows": 2, "Actual Loops": 104703}, {"Worker Number": 1, "Actual Startup Time": 0.007, "Actual Total Time": 0.008, "Actual Rows": 2, "Actual Loops": 105723}, {"Worker Number": 2, "Actual Startup Time": 0.007, "Actual Total Time": 0.008, "Actual Rows": 2, "Actual Loops": 105654}, {"Worker Number": 3, "Actual Startup Time": 0.007, "Actual Total Time": 0.008, "Actual Rows": 2, "Actual Loops": 105732}]}]}]}]}, {"Node Type": "Hash", "Parent Relationship": "Inner", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 1.25, "Total Cost": 1.25, "Plan Rows": 25, "Plan Width": 30, "Actual Startup Time": 0.031, "Actual Total Time": 0.032, "Actual Rows": 25, "Actual Loops": 5, "Output": ["nation.n_name", "nation.n_nationkey"], "Hash Buckets": 1024, "Original Hash Buckets": 1024, "Hash Batches": 1, "Original Hash Batches": 1, "Peak Memory Usage": 10, "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.033, "Actual Total Time": 0.034, "Actual Rows": 25, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 0.033, "Actual Total Time": 0.034, "Actual Rows": 25, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 0.035, "Actual Total Time": 0.036, "Actual Rows": 25, "Actual Loops": 1}, {"Worker Number": 3, "Actual Startup Time": 0.037, "Actual Total Time": 0.038, "Actual Rows": 25, "Actual Loops": 1}], "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Relation Name": "nation", "Schema": "public", "Alias": "nation", "Startup Cost": 0.0, "Total Cost": 1.25, "Plan Rows": 25, "Plan Width": 30, "Actual Startup Time": 0.017, "Actual Total Time": 0.022, "Actual Rows": 25, "Actual Loops": 5, "Output": ["nation.n_name", "nation.n_nationkey"], "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.019, "Actual Total Time": 0.023, "Actual Rows": 25, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 0.02, "Actual Total Time": 0.024, "Actual Rows": 25, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 0.021, "Actual Total Time": 0.025, "Actual Rows": 25, "Actual Loops": 1}, {"Worker Number": 3, "Actual Startup Time": 0.021, "Actual Total Time": 0.027, "Actual Rows": 25, "Actual Loops": 1}]}]}]}]}]}]}]}]}, "Planning Time": 1.222, "Triggers": [], "Execution Time": 3457.879} diff --git a/dev9/pg15/tpch/sf_10/explain_analyze/15721/11-1.ok b/dev9/pg15/tpch/sf_10/explain_analyze/15721/11-1.ok new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/dev9/pg15/tpch/sf_10/explain_analyze/15721/11-1.res b/dev9/pg15/tpch/sf_10/explain_analyze/15721/11-1.res new file mode 100644 index 0000000000000000000000000000000000000000..bfd94c528ec089cde66ab9de121918519a954408 --- /dev/null +++ b/dev9/pg15/tpch/sf_10/explain_analyze/15721/11-1.res @@ -0,0 +1 @@ +{"Plan": {"Node Type": "Sort", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 66882.23, "Total Cost": 67148.89, "Plan Rows": 106665, "Plan Width": 36, "Actual Startup Time": 1262.381, "Actual Total Time": 1262.464, "Actual Rows": 0, "Actual Loops": 1, "Output": ["partsupp.ps_partkey", "(sum((partsupp.ps_supplycost * (partsupp.ps_availqty)::numeric)))"], "Sort Key": ["(sum((partsupp.ps_supplycost * (partsupp.ps_availqty)::numeric))) DESC"], "Sort Method": "quicksort", "Sort Space Used": 25, "Sort Space Type": "Memory", "Plans": [{"Node Type": "Aggregate", "Strategy": "Plain", "Partial Mode": "Finalize", "Parent Relationship": "InitPlan", "Subplan Name": "InitPlan 1 (returns $2)", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 16279.15, "Total Cost": 16279.16, "Plan Rows": 1, "Plan Width": 32, "Actual Startup Time": 305.332, "Actual Total Time": 305.41, "Actual Rows": 1, "Actual Loops": 1, "Output": ["(sum((partsupp_1.ps_supplycost * (partsupp_1.ps_availqty)::numeric)) * 0.0001000000)"], "Plans": [{"Node Type": "Gather", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 16279.03, "Total Cost": 16279.14, "Plan Rows": 1, "Plan Width": 32, "Actual Startup Time": 305.284, "Actual Total Time": 305.4, "Actual Rows": 2, "Actual Loops": 1, "Output": ["(PARTIAL sum((partsupp_1.ps_supplycost * (partsupp_1.ps_availqty)::numeric)))"], "Workers Planned": 1, "Workers Launched": 1, "Single Copy": false, "Plans": [{"Node Type": "Aggregate", "Strategy": "Plain", "Partial Mode": "Partial", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 15279.03, "Total Cost": 15279.04, "Plan Rows": 1, "Plan Width": 32, "Actual Startup Time": 302.916, "Actual Total Time": 302.92, "Actual Rows": 1, "Actual Loops": 2, "Output": ["PARTIAL sum((partsupp_1.ps_supplycost * (partsupp_1.ps_availqty)::numeric))"], "Workers": [{"Worker Number": 0, "Actual Startup Time": 300.861, "Actual Total Time": 300.864, "Actual Rows": 1, "Actual Loops": 1}], "Plans": [{"Node Type": "Nested Loop", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Join Type": "Inner", "Startup Cost": 1.76, "Total Cost": 13867.29, "Plan Rows": 188232, "Plan Width": 10, "Actual Startup Time": 0.153, "Actual Total Time": 246.861, "Actual Rows": 159520, "Actual Loops": 2, "Output": ["partsupp_1.ps_supplycost", "partsupp_1.ps_availqty"], "Inner Unique": false, "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.257, "Actual Total Time": 253.359, "Actual Rows": 131680, "Actual Loops": 1}], "Plans": [{"Node Type": "Hash Join", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Join Type": "Inner", "Startup Cost": 1.32, "Total Cost": 2986.15, "Plan Rows": 2353, "Plan Width": 4, "Actual Startup Time": 0.102, "Actual Total Time": 17.152, "Actual Rows": 1994, "Actual Loops": 2, "Output": ["supplier_1.s_suppkey"], "Inner Unique": true, "Hash Cond": "(supplier_1.s_nationkey = nation_1.n_nationkey)", "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.17, "Actual Total Time": 14.372, "Actual Rows": 1646, "Actual Loops": 1}], "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": true, "Async Capable": false, "Relation Name": "supplier", "Schema": "public", "Alias": "supplier_1", "Startup Cost": 0.0, "Total Cost": 2804.24, "Plan Rows": 58824, "Plan Width": 8, "Actual Startup Time": 0.008, "Actual Total Time": 5.098, "Actual Rows": 50000, "Actual Loops": 2, "Output": ["supplier_1.s_suppkey", "supplier_1.s_name", "supplier_1.s_address", "supplier_1.s_nationkey", "supplier_1.s_phone", "supplier_1.s_acctbal", "supplier_1.s_comment"], "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.014, "Actual Total Time": 4.681, "Actual Rows": 43152, "Actual Loops": 1}]}, {"Node Type": "Hash", "Parent Relationship": "Inner", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 1.31, "Total Cost": 1.31, "Plan Rows": 1, "Plan Width": 4, "Actual Startup Time": 0.023, "Actual Total Time": 0.024, "Actual Rows": 1, "Actual Loops": 2, "Output": ["nation_1.n_nationkey"], "Hash Buckets": 1024, "Original Hash Buckets": 1024, "Hash Batches": 1, "Original Hash Batches": 1, "Peak Memory Usage": 9, "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.033, "Actual Total Time": 0.034, "Actual Rows": 1, "Actual Loops": 1}], "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Relation Name": "nation", "Schema": "public", "Alias": "nation_1", "Startup Cost": 0.0, "Total Cost": 1.31, "Plan Rows": 1, "Plan Width": 4, "Actual Startup Time": 0.017, "Actual Total Time": 0.019, "Actual Rows": 1, "Actual Loops": 2, "Output": ["nation_1.n_nationkey"], "Filter": "(nation_1.n_name = 'CHINA'::bpchar)", "Rows Removed by Filter": 24, "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.026, "Actual Total Time": 0.027, "Actual Rows": 1, "Actual Loops": 1}]}]}]}, {"Node Type": "Index Scan", "Parent Relationship": "Inner", "Parallel Aware": false, "Async Capable": false, "Scan Direction": "Forward", "Index Name": "ps_sk", "Relation Name": "partsupp", "Schema": "public", "Alias": "partsupp_1", "Startup Cost": 0.43, "Total Cost": 3.82, "Plan Rows": 80, "Plan Width": 14, "Actual Startup Time": 0.005, "Actual Total Time": 0.102, "Actual Rows": 80, "Actual Loops": 3988, "Output": ["partsupp_1.ps_partkey", "partsupp_1.ps_suppkey", "partsupp_1.ps_availqty", "partsupp_1.ps_supplycost", "partsupp_1.ps_comment"], "Index Cond": "(partsupp_1.ps_suppkey = supplier_1.s_suppkey)", "Rows Removed by Index Recheck": 0, "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.007, "Actual Total Time": 0.131, "Actual Rows": 80, "Actual Loops": 1646}]}]}]}]}]}, {"Node Type": "Aggregate", "Strategy": "Hashed", "Partial Mode": "Simple", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 33770.21, "Total Cost": 41695.08, "Plan Rows": 106665, "Plan Width": 36, "Actual Startup Time": 1262.374, "Actual Total Time": 1262.378, "Actual Rows": 0, "Actual Loops": 1, "Output": ["partsupp.ps_partkey", "sum((partsupp.ps_supplycost * (partsupp.ps_availqty)::numeric))"], "Group Key": ["partsupp.ps_partkey"], "Filter": "(sum((partsupp.ps_supplycost * (partsupp.ps_availqty)::numeric)) > $2)", "Planned Partitions": 4, "HashAgg Batches": 5, "Peak Memory Usage": 42033, "Disk Usage": 7848, "Rows Removed by Filter": 300316, "Plans": [{"Node Type": "Nested Loop", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Join Type": "Inner", "Startup Cost": 36.12, "Total Cost": 20732.91, "Plan Rows": 319995, "Plan Width": 14, "Actual Startup Time": 0.761, "Actual Total Time": 433.42, "Actual Rows": 319040, "Actual Loops": 1, "Output": ["partsupp.ps_partkey", "partsupp.ps_supplycost", "partsupp.ps_availqty"], "Inner Unique": false, "Plans": [{"Node Type": "Nested Loop", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Join Type": "Inner", "Startup Cost": 35.69, "Total Cost": 2235.44, "Plan Rows": 4000, "Plan Width": 4, "Actual Startup Time": 0.745, "Actual Total Time": 5.58, "Actual Rows": 3988, "Actual Loops": 1, "Output": ["supplier.s_suppkey"], "Inner Unique": false, "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Relation Name": "nation", "Schema": "public", "Alias": "nation", "Startup Cost": 0.0, "Total Cost": 1.31, "Plan Rows": 1, "Plan Width": 4, "Actual Startup Time": 0.012, "Actual Total Time": 0.018, "Actual Rows": 1, "Actual Loops": 1, "Output": ["nation.n_nationkey", "nation.n_name", "nation.n_regionkey", "nation.n_comment"], "Filter": "(nation.n_name = 'CHINA'::bpchar)", "Rows Removed by Filter": 24}, {"Node Type": "Bitmap Heap Scan", "Parent Relationship": "Inner", "Parallel Aware": false, "Async Capable": false, "Relation Name": "supplier", "Schema": "public", "Alias": "supplier", "Startup Cost": 35.69, "Total Cost": 2194.12, "Plan Rows": 4000, "Plan Width": 8, "Actual Startup Time": 0.731, "Actual Total Time": 4.976, "Actual Rows": 3988, "Actual Loops": 1, "Output": ["supplier.s_suppkey", "supplier.s_name", "supplier.s_address", "supplier.s_nationkey", "supplier.s_phone", "supplier.s_acctbal", "supplier.s_comment"], "Recheck Cond": "(supplier.s_nationkey = nation.n_nationkey)", "Rows Removed by Index Recheck": 0, "Exact Heap Blocks": 1857, "Lossy Heap Blocks": 0, "Plans": [{"Node Type": "Bitmap Index Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Index Name": "s_nk", "Startup Cost": 0.0, "Total Cost": 34.69, "Plan Rows": 4000, "Plan Width": 0, "Actual Startup Time": 0.372, "Actual Total Time": 0.373, "Actual Rows": 3988, "Actual Loops": 1, "Index Cond": "(supplier.s_nationkey = nation.n_nationkey)"}]}]}, {"Node Type": "Index Scan", "Parent Relationship": "Inner", "Parallel Aware": false, "Async Capable": false, "Scan Direction": "Forward", "Index Name": "ps_sk", "Relation Name": "partsupp", "Schema": "public", "Alias": "partsupp", "Startup Cost": 0.43, "Total Cost": 3.82, "Plan Rows": 80, "Plan Width": 18, "Actual Startup Time": 0.004, "Actual Total Time": 0.093, "Actual Rows": 80, "Actual Loops": 3988, "Output": ["partsupp.ps_partkey", "partsupp.ps_suppkey", "partsupp.ps_availqty", "partsupp.ps_supplycost", "partsupp.ps_comment"], "Index Cond": "(partsupp.ps_suppkey = supplier.s_suppkey)", "Rows Removed by Index Recheck": 0}]}]}]}, "Planning Time": 0.937, "Triggers": [], "Execution Time": 1266.839} diff --git a/dev9/pg15/tpch/sf_10/explain_analyze/15721/12-1.ok b/dev9/pg15/tpch/sf_10/explain_analyze/15721/12-1.ok new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/dev9/pg15/tpch/sf_10/explain_analyze/15721/12-1.res b/dev9/pg15/tpch/sf_10/explain_analyze/15721/12-1.res new file mode 100644 index 0000000000000000000000000000000000000000..b122fb53c01d294c6757205c8de7294593110a6d --- /dev/null +++ b/dev9/pg15/tpch/sf_10/explain_analyze/15721/12-1.res @@ -0,0 +1 @@ +{"Plan": {"Node Type": "Aggregate", "Strategy": "Sorted", "Partial Mode": "Finalize", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 1376264.52, "Total Cost": 1377104.21, "Plan Rows": 7, "Plan Width": 27, "Actual Startup Time": 2615.298, "Actual Total Time": 2663.646, "Actual Rows": 2, "Actual Loops": 1, "Output": ["lineitem.l_shipmode", "sum(CASE WHEN ((orders.o_orderpriority = '1-URGENT'::bpchar) OR (orders.o_orderpriority = '2-HIGH'::bpchar)) THEN 1 ELSE 0 END)", "sum(CASE WHEN ((orders.o_orderpriority <> '1-URGENT'::bpchar) AND (orders.o_orderpriority <> '2-HIGH'::bpchar)) THEN 1 ELSE 0 END)"], "Group Key": ["lineitem.l_shipmode"], "Plans": [{"Node Type": "Gather Merge", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 1376264.52, "Total Cost": 1377103.77, "Plan Rows": 49, "Plan Width": 27, "Actual Startup Time": 2607.078, "Actual Total Time": 2663.632, "Actual Rows": 16, "Actual Loops": 1, "Output": ["lineitem.l_shipmode", "(PARTIAL sum(CASE WHEN ((orders.o_orderpriority = '1-URGENT'::bpchar) OR (orders.o_orderpriority = '2-HIGH'::bpchar)) THEN 1 ELSE 0 END))", "(PARTIAL sum(CASE WHEN ((orders.o_orderpriority <> '1-URGENT'::bpchar) AND (orders.o_orderpriority <> '2-HIGH'::bpchar)) THEN 1 ELSE 0 END))"], "Workers Planned": 7, "Workers Launched": 7, "Plans": [{"Node Type": "Aggregate", "Strategy": "Sorted", "Partial Mode": "Partial", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 1375264.4, "Total Cost": 1376097.65, "Plan Rows": 7, "Plan Width": 27, "Actual Startup Time": 2593.439, "Actual Total Time": 2601.864, "Actual Rows": 2, "Actual Loops": 8, "Output": ["lineitem.l_shipmode", "PARTIAL sum(CASE WHEN ((orders.o_orderpriority = '1-URGENT'::bpchar) OR (orders.o_orderpriority = '2-HIGH'::bpchar)) THEN 1 ELSE 0 END)", "PARTIAL sum(CASE WHEN ((orders.o_orderpriority <> '1-URGENT'::bpchar) AND (orders.o_orderpriority <> '2-HIGH'::bpchar)) THEN 1 ELSE 0 END)"], "Group Key": ["lineitem.l_shipmode"], "Workers": [{"Worker Number": 0, "Actual Startup Time": 2592.449, "Actual Total Time": 2600.869, "Actual Rows": 2, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 2592.623, "Actual Total Time": 2601.123, "Actual Rows": 2, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 2592.83, "Actual Total Time": 2601.41, "Actual Rows": 2, "Actual Loops": 1}, {"Worker Number": 3, "Actual Startup Time": 2592.938, "Actual Total Time": 2601.461, "Actual Rows": 2, "Actual Loops": 1}, {"Worker Number": 4, "Actual Startup Time": 2593.982, "Actual Total Time": 2602.174, "Actual Rows": 2, "Actual Loops": 1}, {"Worker Number": 5, "Actual Startup Time": 2592.746, "Actual Total Time": 2601.185, "Actual Rows": 2, "Actual Loops": 1}, {"Worker Number": 6, "Actual Startup Time": 2593.108, "Actual Total Time": 2601.642, "Actual Rows": 2, "Actual Loops": 1}], "Plans": [{"Node Type": "Sort", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 1375264.4, "Total Cost": 1375368.55, "Plan Rows": 41659, "Plan Width": 27, "Actual Startup Time": 2584.968, "Actual Total Time": 2587.399, "Actual Rows": 38973, "Actual Loops": 8, "Output": ["lineitem.l_shipmode", "orders.o_orderpriority"], "Sort Key": ["lineitem.l_shipmode"], "Sort Method": "quicksort", "Sort Space Used": 4222, "Sort Space Type": "Memory", "Workers": [{"Worker Number": 0, "Actual Startup Time": 2583.966, "Actual Total Time": 2586.421, "Actual Rows": 38887, "Actual Loops": 1, "Sort Method": "quicksort", "Sort Space Used": 4271, "Sort Space Type": "Memory"}, {"Worker Number": 1, "Actual Startup Time": 2584.069, "Actual Total Time": 2586.543, "Actual Rows": 39277, "Actual Loops": 1, "Sort Method": "quicksort", "Sort Space Used": 4298, "Sort Space Type": "Memory"}, {"Worker Number": 2, "Actual Startup Time": 2584.234, "Actual Total Time": 2586.717, "Actual Rows": 39649, "Actual Loops": 1, "Sort Method": "quicksort", "Sort Space Used": 4324, "Sort Space Type": "Memory"}, {"Worker Number": 3, "Actual Startup Time": 2584.349, "Actual Total Time": 2586.842, "Actual Rows": 39447, "Actual Loops": 1, "Sort Method": "quicksort", "Sort Space Used": 4310, "Sort Space Type": "Memory"}, {"Worker Number": 4, "Actual Startup Time": 2585.782, "Actual Total Time": 2588.113, "Actual Rows": 37913, "Actual Loops": 1, "Sort Method": "quicksort", "Sort Space Used": 4202, "Sort Space Type": "Memory"}, {"Worker Number": 5, "Actual Startup Time": 2584.237, "Actual Total Time": 2586.683, "Actual Rows": 39039, "Actual Loops": 1, "Sort Method": "quicksort", "Sort Space Used": 4281, "Sort Space Type": "Memory"}, {"Worker Number": 6, "Actual Startup Time": 2584.539, "Actual Total Time": 2587.005, "Actual Rows": 39381, "Actual Loops": 1, "Sort Method": "quicksort", "Sort Space Used": 4305, "Sort Space Type": "Memory"}], "Plans": [{"Node Type": "Nested Loop", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Join Type": "Inner", "Startup Cost": 0.43, "Total Cost": 1372067.84, "Plan Rows": 41659, "Plan Width": 27, "Actual Startup Time": 0.174, "Actual Total Time": 2573.226, "Actual Rows": 38973, "Actual Loops": 8, "Output": ["lineitem.l_shipmode", "orders.o_orderpriority"], "Inner Unique": true, "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.182, "Actual Total Time": 2572.239, "Actual Rows": 38887, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 0.252, "Actual Total Time": 2572.322, "Actual Rows": 39277, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 0.161, "Actual Total Time": 2572.356, "Actual Rows": 39649, "Actual Loops": 1}, {"Worker Number": 3, "Actual Startup Time": 0.21, "Actual Total Time": 2572.44, "Actual Rows": 39447, "Actual Loops": 1}, {"Worker Number": 4, "Actual Startup Time": 0.22, "Actual Total Time": 2572.565, "Actual Rows": 37913, "Actual Loops": 1}, {"Worker Number": 5, "Actual Startup Time": 0.132, "Actual Total Time": 2572.46, "Actual Rows": 39039, "Actual Loops": 1}, {"Worker Number": 6, "Actual Startup Time": 0.186, "Actual Total Time": 2572.688, "Actual Rows": 39381, "Actual Loops": 1}], "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": true, "Async Capable": false, "Relation Name": "lineitem", "Schema": "public", "Alias": "lineitem", "Startup Cost": 0.0, "Total Cost": 1317356.7, "Plan Rows": 41659, "Plan Width": 15, "Actual Startup Time": 0.094, "Actual Total Time": 2425.92, "Actual Rows": 38973, "Actual Loops": 8, "Output": ["lineitem.l_orderkey", "lineitem.l_partkey", "lineitem.l_suppkey", "lineitem.l_linenumber", "lineitem.l_quantity", "lineitem.l_extendedprice", "lineitem.l_discount", "lineitem.l_tax", "lineitem.l_returnflag", "lineitem.l_linestatus", "lineitem.l_shipdate", "lineitem.l_commitdate", "lineitem.l_receiptdate", "lineitem.l_shipinstruct", "lineitem.l_shipmode", "lineitem.l_comment"], "Filter": "((lineitem.l_shipmode = ANY ('{MAIL,TRUCK}'::bpchar[])) AND (lineitem.l_commitdate < lineitem.l_receiptdate) AND (lineitem.l_shipdate < lineitem.l_commitdate) AND (lineitem.l_receiptdate >= '1995-01-01'::date) AND (lineitem.l_receiptdate < '1996-01-01 00:00:00'::timestamp without time zone))", "Rows Removed by Filter": 7459283, "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.097, "Actual Total Time": 2425.998, "Actual Rows": 38887, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 0.169, "Actual Total Time": 2424.878, "Actual Rows": 39277, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 0.072, "Actual Total Time": 2422.52, "Actual Rows": 39649, "Actual Loops": 1}, {"Worker Number": 3, "Actual Startup Time": 0.122, "Actual Total Time": 2424.147, "Actual Rows": 39447, "Actual Loops": 1}, {"Worker Number": 4, "Actual Startup Time": 0.13, "Actual Total Time": 2422.906, "Actual Rows": 37913, "Actual Loops": 1}, {"Worker Number": 5, "Actual Startup Time": 0.039, "Actual Total Time": 2425.225, "Actual Rows": 39039, "Actual Loops": 1}, {"Worker Number": 6, "Actual Startup Time": 0.094, "Actual Total Time": 2424.63, "Actual Rows": 39381, "Actual Loops": 1}]}, {"Node Type": "Index Scan", "Parent Relationship": "Inner", "Parallel Aware": false, "Async Capable": false, "Scan Direction": "Forward", "Index Name": "o_ok", "Relation Name": "orders", "Schema": "public", "Alias": "orders", "Startup Cost": 0.43, "Total Cost": 1.31, "Plan Rows": 1, "Plan Width": 20, "Actual Startup Time": 0.003, "Actual Total Time": 0.003, "Actual Rows": 1, "Actual Loops": 311787, "Output": ["orders.o_orderkey", "orders.o_custkey", "orders.o_orderstatus", "orders.o_totalprice", "orders.o_orderdate", "orders.o_orderpriority", "orders.o_clerk", "orders.o_shippriority", "orders.o_comment"], "Index Cond": "(orders.o_orderkey = lineitem.l_orderkey)", "Rows Removed by Index Recheck": 0, "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.003, "Actual Total Time": 0.003, "Actual Rows": 1, "Actual Loops": 38887}, {"Worker Number": 1, "Actual Startup Time": 0.003, "Actual Total Time": 0.003, "Actual Rows": 1, "Actual Loops": 39277}, {"Worker Number": 2, "Actual Startup Time": 0.003, "Actual Total Time": 0.003, "Actual Rows": 1, "Actual Loops": 39649}, {"Worker Number": 3, "Actual Startup Time": 0.003, "Actual Total Time": 0.003, "Actual Rows": 1, "Actual Loops": 39447}, {"Worker Number": 4, "Actual Startup Time": 0.003, "Actual Total Time": 0.003, "Actual Rows": 1, "Actual Loops": 37913}, {"Worker Number": 5, "Actual Startup Time": 0.003, "Actual Total Time": 0.003, "Actual Rows": 1, "Actual Loops": 39039}, {"Worker Number": 6, "Actual Startup Time": 0.003, "Actual Total Time": 0.003, "Actual Rows": 1, "Actual Loops": 39381}]}]}]}]}]}]}, "Planning Time": 0.462, "Triggers": [], "Execution Time": 2663.713} diff --git a/dev9/pg15/tpch/sf_10/explain_analyze/15721/13-1.ok b/dev9/pg15/tpch/sf_10/explain_analyze/15721/13-1.ok new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/dev9/pg15/tpch/sf_10/explain_analyze/15721/13-1.res b/dev9/pg15/tpch/sf_10/explain_analyze/15721/13-1.res new file mode 100644 index 0000000000000000000000000000000000000000..bad7456ae5644de5b38c28f3e6b3b963479183f6 --- /dev/null +++ b/dev9/pg15/tpch/sf_10/explain_analyze/15721/13-1.res @@ -0,0 +1 @@ +{"Plan": {"Node Type": "Sort", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 896173.32, "Total Cost": 896173.82, "Plan Rows": 200, "Plan Width": 16, "Actual Startup Time": 27451.869, "Actual Total Time": 27451.875, "Actual Rows": 46, "Actual Loops": 1, "Output": ["(count(orders.o_orderkey))", "(count(*))"], "Sort Key": ["(count(*)) DESC", "(count(orders.o_orderkey)) DESC"], "Sort Method": "quicksort", "Sort Space Used": 27, "Sort Space Type": "Memory", "Plans": [{"Node Type": "Aggregate", "Strategy": "Hashed", "Partial Mode": "Simple", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 896163.67, "Total Cost": 896165.67, "Plan Rows": 200, "Plan Width": 16, "Actual Startup Time": 27451.832, "Actual Total Time": 27451.842, "Actual Rows": 46, "Actual Loops": 1, "Output": ["(count(orders.o_orderkey))", "count(*)"], "Group Key": ["count(orders.o_orderkey)"], "Planned Partitions": 0, "HashAgg Batches": 1, "Peak Memory Usage": 40, "Disk Usage": 0, "Plans": [{"Node Type": "Aggregate", "Strategy": "Sorted", "Partial Mode": "Simple", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 4.1, "Total Cost": 873663.67, "Plan Rows": 1500000, "Plan Width": 12, "Actual Startup Time": 0.071, "Actual Total Time": 27145.068, "Actual Rows": 1500000, "Actual Loops": 1, "Output": ["customer.c_custkey", "count(orders.o_orderkey)"], "Group Key": ["customer.c_custkey"], "Plans": [{"Node Type": "Merge Join", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Join Type": "Left", "Startup Cost": 4.1, "Total Cost": 783963.66, "Plan Rows": 14940002, "Plan Width": 8, "Actual Startup Time": 0.026, "Actual Total Time": 25326.911, "Actual Rows": 15338712, "Actual Loops": 1, "Output": ["customer.c_custkey", "orders.o_orderkey"], "Inner Unique": false, "Merge Cond": "(customer.c_custkey = orders.o_custkey)", "Plans": [{"Node Type": "Index Only Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Scan Direction": "Forward", "Index Name": "c_ck", "Relation Name": "customer", "Schema": "public", "Alias": "customer", "Startup Cost": 0.43, "Total Cost": 27028.03, "Plan Rows": 1500000, "Plan Width": 4, "Actual Startup Time": 0.01, "Actual Total Time": 195.512, "Actual Rows": 1500000, "Actual Loops": 1, "Output": ["customer.c_custkey"], "Heap Fetches": 0}, {"Node Type": "Index Scan", "Parent Relationship": "Inner", "Parallel Aware": false, "Async Capable": false, "Scan Direction": "Forward", "Index Name": "o_ck", "Relation Name": "orders", "Schema": "public", "Alias": "orders", "Startup Cost": 0.43, "Total Cost": 566435.61, "Plan Rows": 14940002, "Plan Width": 8, "Actual Startup Time": 0.012, "Actual Total Time": 22805.757, "Actual Rows": 14838692, "Actual Loops": 1, "Output": ["orders.o_orderkey", "orders.o_custkey", "orders.o_orderstatus", "orders.o_totalprice", "orders.o_orderdate", "orders.o_orderpriority", "orders.o_clerk", "orders.o_shippriority", "orders.o_comment"], "Filter": "((orders.o_comment)::text !~~ '%unusual%requests%'::text)", "Rows Removed by Filter": 161308}]}]}]}]}, "Planning Time": 0.574, "Triggers": [], "Execution Time": 27451.94} diff --git a/dev9/pg15/tpch/sf_10/explain_analyze/15721/14-1.ok b/dev9/pg15/tpch/sf_10/explain_analyze/15721/14-1.ok new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/dev9/pg15/tpch/sf_10/explain_analyze/15721/14-1.res b/dev9/pg15/tpch/sf_10/explain_analyze/15721/14-1.res new file mode 100644 index 0000000000000000000000000000000000000000..e73acb6d90caaa6bfe18a8db6d673da20f12fed3 --- /dev/null +++ b/dev9/pg15/tpch/sf_10/explain_analyze/15721/14-1.res @@ -0,0 +1 @@ +{"Plan": {"Node Type": "Aggregate", "Strategy": "Plain", "Partial Mode": "Finalize", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 716797.65, "Total Cost": 716797.67, "Plan Rows": 1, "Plan Width": 32, "Actual Startup Time": 1047.989, "Actual Total Time": 1176.727, "Actual Rows": 1, "Actual Loops": 1, "Output": ["((100.00 * sum(CASE WHEN ((part.p_type)::text ~~ 'PROMO%'::text) THEN (lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount)) ELSE '0'::numeric END)) / sum((lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount))))"], "Plans": [{"Node Type": "Gather", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 716797.31, "Total Cost": 716797.62, "Plan Rows": 3, "Plan Width": 64, "Actual Startup Time": 1032.367, "Actual Total Time": 1176.695, "Actual Rows": 4, "Actual Loops": 1, "Output": ["(PARTIAL sum(CASE WHEN ((part.p_type)::text ~~ 'PROMO%'::text) THEN (lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount)) ELSE '0'::numeric END))", "(PARTIAL sum((lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount))))"], "Workers Planned": 3, "Workers Launched": 3, "Single Copy": false, "Plans": [{"Node Type": "Aggregate", "Strategy": "Plain", "Partial Mode": "Partial", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 715797.31, "Total Cost": 715797.32, "Plan Rows": 1, "Plan Width": 64, "Actual Startup Time": 1026.537, "Actual Total Time": 1026.541, "Actual Rows": 1, "Actual Loops": 4, "Output": ["PARTIAL sum(CASE WHEN ((part.p_type)::text ~~ 'PROMO%'::text) THEN (lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount)) ELSE '0'::numeric END)", "PARTIAL sum((lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount)))"], "Workers": [{"Worker Number": 0, "Actual Startup Time": 1022.586, "Actual Total Time": 1022.589, "Actual Rows": 1, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 1024.481, "Actual Total Time": 1024.484, "Actual Rows": 1, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 1027.087, "Actual Total Time": 1027.09, "Actual Rows": 1, "Actual Loops": 1}], "Plans": [{"Node Type": "Hash Join", "Parent Relationship": "Outer", "Parallel Aware": true, "Async Capable": false, "Join Type": "Inner", "Startup Cost": 52212.57, "Total Cost": 711299.75, "Plan Rows": 257003, "Plan Width": 33, "Actual Startup Time": 334.808, "Actual Total Time": 913.053, "Actual Rows": 193211, "Actual Loops": 4, "Output": ["part.p_type", "lineitem.l_extendedprice", "lineitem.l_discount"], "Inner Unique": true, "Hash Cond": "(lineitem.l_partkey = part.p_partkey)", "Workers": [{"Worker Number": 0, "Actual Startup Time": 332.991, "Actual Total Time": 923.339, "Actual Rows": 166158, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 332.91, "Actual Total Time": 923.624, "Actual Rows": 168918, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 332.993, "Actual Total Time": 927.677, "Actual Rows": 166057, "Actual Loops": 1}], "Plans": [{"Node Type": "Index Scan", "Parent Relationship": "Outer", "Parallel Aware": true, "Async Capable": false, "Scan Direction": "Forward", "Index Name": "l_sd", "Relation Name": "lineitem", "Schema": "public", "Alias": "lineitem", "Startup Cost": 0.56, "Total Cost": 658413.11, "Plan Rows": 257003, "Plan Width": 16, "Actual Startup Time": 0.153, "Actual Total Time": 430.862, "Actual Rows": 193211, "Actual Loops": 4, "Output": ["lineitem.l_orderkey", "lineitem.l_partkey", "lineitem.l_suppkey", "lineitem.l_linenumber", "lineitem.l_quantity", "lineitem.l_extendedprice", "lineitem.l_discount", "lineitem.l_tax", "lineitem.l_returnflag", "lineitem.l_linestatus", "lineitem.l_shipdate", "lineitem.l_commitdate", "lineitem.l_receiptdate", "lineitem.l_shipinstruct", "lineitem.l_shipmode", "lineitem.l_comment"], "Index Cond": "((lineitem.l_shipdate >= '1995-05-01'::date) AND (lineitem.l_shipdate < '1995-06-01 00:00:00'::timestamp without time zone))", "Rows Removed by Index Recheck": 0, "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.199, "Actual Total Time": 459.717, "Actual Rows": 166158, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 0.115, "Actual Total Time": 458.051, "Actual Rows": 168918, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 0.178, "Actual Total Time": 464.112, "Actual Rows": 166057, "Actual Loops": 1}]}, {"Node Type": "Hash", "Parent Relationship": "Inner", "Parallel Aware": true, "Async Capable": false, "Startup Cost": 45962.0, "Total Cost": 45962.0, "Plan Rows": 500000, "Plan Width": 25, "Actual Startup Time": 330.905, "Actual Total Time": 330.906, "Actual Rows": 500000, "Actual Loops": 4, "Output": ["part.p_type", "part.p_partkey"], "Hash Buckets": 2097152, "Original Hash Buckets": 2097152, "Hash Batches": 1, "Original Hash Batches": 1, "Peak Memory Usage": 137248, "Workers": [{"Worker Number": 0, "Actual Startup Time": 332.635, "Actual Total Time": 332.637, "Actual Rows": 503036, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 332.644, "Actual Total Time": 332.645, "Actual Rows": 500919, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 332.657, "Actual Total Time": 332.657, "Actual Rows": 503617, "Actual Loops": 1}], "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": true, "Async Capable": false, "Relation Name": "part", "Schema": "public", "Alias": "part", "Startup Cost": 0.0, "Total Cost": 45962.0, "Plan Rows": 500000, "Plan Width": 25, "Actual Startup Time": 0.041, "Actual Total Time": 116.147, "Actual Rows": 500000, "Actual Loops": 4, "Output": ["part.p_type", "part.p_partkey"], "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.056, "Actual Total Time": 115.094, "Actual Rows": 503036, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 0.054, "Actual Total Time": 115.124, "Actual Rows": 500919, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 0.048, "Actual Total Time": 115.217, "Actual Rows": 503617, "Actual Loops": 1}]}]}]}]}]}]}, "Planning Time": 0.379, "Triggers": [], "Execution Time": 1176.782} diff --git a/dev9/pg15/tpch/sf_10/explain_analyze/15721/15-1.ok b/dev9/pg15/tpch/sf_10/explain_analyze/15721/15-1.ok new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/dev9/pg15/tpch/sf_10/explain_analyze/15721/15-1.res b/dev9/pg15/tpch/sf_10/explain_analyze/15721/15-1.res new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/dev9/pg15/tpch/sf_10/explain_analyze/15721/15-2.ok b/dev9/pg15/tpch/sf_10/explain_analyze/15721/15-2.ok new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/dev9/pg15/tpch/sf_10/explain_analyze/15721/15-2.res b/dev9/pg15/tpch/sf_10/explain_analyze/15721/15-2.res new file mode 100644 index 0000000000000000000000000000000000000000..a6faffb9dd237d6119c20c171f39389b9058435a --- /dev/null +++ b/dev9/pg15/tpch/sf_10/explain_analyze/15721/15-2.res @@ -0,0 +1 @@ +{"Plan": {"Node Type": "Merge Join", "Parallel Aware": false, "Async Capable": false, "Join Type": "Inner", "Startup Cost": 2609707.2, "Total Cost": 2613984.51, "Plan Rows": 500, "Plan Width": 103, "Actual Startup Time": 10059.998, "Actual Total Time": 10060.005, "Actual Rows": 1, "Actual Loops": 1, "Output": ["supplier.s_suppkey", "supplier.s_name", "supplier.s_address", "supplier.s_phone", "revenue0.total_revenue"], "Inner Unique": true, "Merge Cond": "(supplier.s_suppkey = revenue0.supplier_no)", "Plans": [{"Node Type": "Aggregate", "Strategy": "Plain", "Partial Mode": "Simple", "Parent Relationship": "InitPlan", "Subplan Name": "InitPlan 1 (returns $0)", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 1305339.45, "Total Cost": 1305339.46, "Plan Rows": 1, "Plan Width": 32, "Actual Startup Time": 5018.736, "Actual Total Time": 5018.738, "Actual Rows": 1, "Actual Loops": 1, "Output": ["max((sum((lineitem_1.l_extendedprice * ('1'::numeric - lineitem_1.l_discount)))))"], "Plans": [{"Node Type": "Aggregate", "Strategy": "Hashed", "Partial Mode": "Simple", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 1302840.92, "Total Cost": 1304090.19, "Plan Rows": 99941, "Plan Width": 36, "Actual Startup Time": 4879.161, "Actual Total Time": 5009.086, "Actual Rows": 100000, "Actual Loops": 1, "Output": ["lineitem_1.l_suppkey", "sum((lineitem_1.l_extendedprice * ('1'::numeric - lineitem_1.l_discount)))"], "Group Key": ["lineitem_1.l_suppkey"], "Planned Partitions": 0, "HashAgg Batches": 5, "Peak Memory Usage": 42033, "Disk Usage": 7416, "Plans": [{"Node Type": "Index Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Scan Direction": "Forward", "Index Name": "l_sd", "Relation Name": "lineitem", "Schema": "public", "Alias": "lineitem_1", "Startup Cost": 0.56, "Total Cost": 1280471.23, "Plan Rows": 2236969, "Plan Width": 16, "Actual Startup Time": 0.021, "Actual Total Time": 2879.302, "Actual Rows": 2247315, "Actual Loops": 1, "Output": ["lineitem_1.l_orderkey", "lineitem_1.l_partkey", "lineitem_1.l_suppkey", "lineitem_1.l_linenumber", "lineitem_1.l_quantity", "lineitem_1.l_extendedprice", "lineitem_1.l_discount", "lineitem_1.l_tax", "lineitem_1.l_returnflag", "lineitem_1.l_linestatus", "lineitem_1.l_shipdate", "lineitem_1.l_commitdate", "lineitem_1.l_receiptdate", "lineitem_1.l_shipinstruct", "lineitem_1.l_shipmode", "lineitem_1.l_comment"], "Index Cond": "((lineitem_1.l_shipdate >= '1995-01-01'::date) AND (lineitem_1.l_shipdate < '1995-04-01 00:00:00'::timestamp without time zone))", "Rows Removed by Index Recheck": 0}]}]}, {"Node Type": "Index Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Scan Direction": "Forward", "Index Name": "s_sk", "Relation Name": "supplier", "Schema": "public", "Alias": "supplier", "Startup Cost": 0.29, "Total Cost": 4020.1, "Plan Rows": 100000, "Plan Width": 71, "Actual Startup Time": 0.012, "Actual Total Time": 21.989, "Actual Rows": 83967, "Actual Loops": 1, "Output": ["supplier.s_suppkey", "supplier.s_name", "supplier.s_address", "supplier.s_nationkey", "supplier.s_phone", "supplier.s_acctbal", "supplier.s_comment"]}, {"Node Type": "Sort", "Parent Relationship": "Inner", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 1304367.45, "Total Cost": 1304368.7, "Plan Rows": 500, "Plan Width": 36, "Actual Startup Time": 10031.041, "Actual Total Time": 10031.044, "Actual Rows": 1, "Actual Loops": 1, "Output": ["revenue0.total_revenue", "revenue0.supplier_no"], "Sort Key": ["revenue0.supplier_no"], "Sort Method": "quicksort", "Sort Space Used": 25, "Sort Space Type": "Memory", "Plans": [{"Node Type": "Subquery Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Alias": "revenue0", "Startup Cost": 1302840.92, "Total Cost": 1304345.04, "Plan Rows": 500, "Plan Width": 36, "Actual Startup Time": 9909.002, "Actual Total Time": 10031.034, "Actual Rows": 1, "Actual Loops": 1, "Output": ["revenue0.total_revenue", "revenue0.supplier_no"], "Plans": [{"Node Type": "Aggregate", "Strategy": "Hashed", "Partial Mode": "Simple", "Parent Relationship": "Subquery", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 1302840.92, "Total Cost": 1304340.04, "Plan Rows": 500, "Plan Width": 36, "Actual Startup Time": 9909.0, "Actual Total Time": 10031.03, "Actual Rows": 1, "Actual Loops": 1, "Output": ["lineitem.l_suppkey", "sum((lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount)))"], "Group Key": ["lineitem.l_suppkey"], "Filter": "(sum((lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount))) = $0)", "Planned Partitions": 0, "HashAgg Batches": 5, "Peak Memory Usage": 42033, "Disk Usage": 7416, "Rows Removed by Filter": 99999, "Plans": [{"Node Type": "Index Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Scan Direction": "Forward", "Index Name": "l_sd", "Relation Name": "lineitem", "Schema": "public", "Alias": "lineitem", "Startup Cost": 0.56, "Total Cost": 1280471.23, "Plan Rows": 2236969, "Plan Width": 16, "Actual Startup Time": 0.016, "Actual Total Time": 2900.633, "Actual Rows": 2247315, "Actual Loops": 1, "Output": ["lineitem.l_orderkey", "lineitem.l_partkey", "lineitem.l_suppkey", "lineitem.l_linenumber", "lineitem.l_quantity", "lineitem.l_extendedprice", "lineitem.l_discount", "lineitem.l_tax", "lineitem.l_returnflag", "lineitem.l_linestatus", "lineitem.l_shipdate", "lineitem.l_commitdate", "lineitem.l_receiptdate", "lineitem.l_shipinstruct", "lineitem.l_shipmode", "lineitem.l_comment"], "Index Cond": "((lineitem.l_shipdate >= '1995-01-01'::date) AND (lineitem.l_shipdate < '1995-04-01 00:00:00'::timestamp without time zone))", "Rows Removed by Index Recheck": 0}]}]}]}]}, "Planning Time": 0.443, "Triggers": [], "Execution Time": 10067.339} diff --git a/dev9/pg15/tpch/sf_10/explain_analyze/15721/15-3.ok b/dev9/pg15/tpch/sf_10/explain_analyze/15721/15-3.ok new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/dev9/pg15/tpch/sf_10/explain_analyze/15721/15-3.res b/dev9/pg15/tpch/sf_10/explain_analyze/15721/15-3.res new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/dev9/pg15/tpch/sf_10/explain_analyze/15721/16-1.ok b/dev9/pg15/tpch/sf_10/explain_analyze/15721/16-1.ok new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/dev9/pg15/tpch/sf_10/explain_analyze/15721/16-1.res b/dev9/pg15/tpch/sf_10/explain_analyze/15721/16-1.res new file mode 100644 index 0000000000000000000000000000000000000000..b8da4eec3a110c38c70ccae374e2dee9fdde886a --- /dev/null +++ b/dev9/pg15/tpch/sf_10/explain_analyze/15721/16-1.res @@ -0,0 +1 @@ +{"Plan": {"Node Type": "Sort", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 244015.88, "Total Cost": 244402.28, "Plan Rows": 154559, "Plan Width": 44, "Actual Startup Time": 2150.564, "Actual Total Time": 2158.62, "Actual Rows": 27840, "Actual Loops": 1, "Output": ["part.p_brand", "part.p_type", "part.p_size", "(count(DISTINCT partsupp.ps_suppkey))"], "Sort Key": ["(count(DISTINCT partsupp.ps_suppkey)) DESC", "part.p_brand", "part.p_type", "part.p_size"], "Sort Method": "quicksort", "Sort Space Used": 3160, "Sort Space Type": "Memory", "Plans": [{"Node Type": "Aggregate", "Strategy": "Sorted", "Partial Mode": "Simple", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 149746.29, "Total Cost": 230694.6, "Plan Rows": 154559, "Plan Width": 44, "Actual Startup Time": 1208.705, "Actual Total Time": 2060.33, "Actual Rows": 27840, "Actual Loops": 1, "Output": ["part.p_brand", "part.p_type", "part.p_size", "count(DISTINCT partsupp.ps_suppkey)"], "Group Key": ["part.p_brand", "part.p_type", "part.p_size"], "Plans": [{"Node Type": "Gather Merge", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 149746.29, "Total Cost": 223131.53, "Plan Rows": 601748, "Plan Width": 40, "Actual Startup Time": 1208.599, "Actual Total Time": 1671.207, "Actual Rows": 1190471, "Actual Loops": 1, "Output": ["part.p_brand", "part.p_type", "part.p_size", "partsupp.ps_suppkey"], "Workers Planned": 6, "Workers Launched": 6, "Plans": [{"Node Type": "Sort", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 148746.19, "Total Cost": 148996.92, "Plan Rows": 100291, "Plan Width": 40, "Actual Startup Time": 1195.209, "Actual Total Time": 1221.089, "Actual Rows": 170067, "Actual Loops": 7, "Output": ["part.p_brand", "part.p_type", "part.p_size", "partsupp.ps_suppkey"], "Sort Key": ["part.p_brand", "part.p_type", "part.p_size"], "Sort Method": "quicksort", "Sort Space Used": 18310, "Sort Space Type": "Memory", "Workers": [{"Worker Number": 0, "Actual Startup Time": 1203.406, "Actual Total Time": 1231.323, "Actual Rows": 172276, "Actual Loops": 1, "Sort Method": "quicksort", "Sort Space Used": 18817, "Sort Space Type": "Memory"}, {"Worker Number": 1, "Actual Startup Time": 1197.009, "Actual Total Time": 1225.554, "Actual Rows": 170770, "Actual Loops": 1, "Sort Method": "quicksort", "Sort Space Used": 18693, "Sort Space Type": "Memory"}, {"Worker Number": 2, "Actual Startup Time": 1193.231, "Actual Total Time": 1221.339, "Actual Rows": 169826, "Actual Loops": 1, "Sort Method": "quicksort", "Sort Space Used": 18619, "Sort Space Type": "Memory"}, {"Worker Number": 3, "Actual Startup Time": 1199.781, "Actual Total Time": 1227.724, "Actual Rows": 170787, "Actual Loops": 1, "Sort Method": "quicksort", "Sort Space Used": 18692, "Sort Space Type": "Memory"}, {"Worker Number": 4, "Actual Startup Time": 1202.781, "Actual Total Time": 1230.505, "Actual Rows": 170613, "Actual Loops": 1, "Sort Method": "quicksort", "Sort Space Used": 18682, "Sort Space Type": "Memory"}, {"Worker Number": 5, "Actual Startup Time": 1193.471, "Actual Total Time": 1221.328, "Actual Rows": 170052, "Actual Loops": 1, "Sort Method": "quicksort", "Sort Space Used": 18634, "Sort Space Type": "Memory"}], "Plans": [{"Node Type": "Hash Join", "Parent Relationship": "Outer", "Parallel Aware": true, "Async Capable": false, "Join Type": "Inner", "Startup Cost": 57868.71, "Total Cost": 140415.1, "Plan Rows": 100291, "Plan Width": 40, "Actual Startup Time": 170.433, "Actual Total Time": 633.742, "Actual Rows": 170067, "Actual Loops": 7, "Output": ["part.p_brand", "part.p_type", "part.p_size", "partsupp.ps_suppkey"], "Inner Unique": true, "Hash Cond": "(partsupp.ps_partkey = part.p_partkey)", "Workers": [{"Worker Number": 0, "Actual Startup Time": 170.1, "Actual Total Time": 632.849, "Actual Rows": 172276, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 170.22, "Actual Total Time": 633.101, "Actual Rows": 170770, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 170.27, "Actual Total Time": 633.498, "Actual Rows": 169826, "Actual Loops": 1}, {"Worker Number": 3, "Actual Startup Time": 170.361, "Actual Total Time": 633.754, "Actual Rows": 170787, "Actual Loops": 1}, {"Worker Number": 4, "Actual Startup Time": 170.328, "Actual Total Time": 633.32, "Actual Rows": 170613, "Actual Loops": 1}, {"Worker Number": 5, "Actual Startup Time": 170.612, "Actual Total Time": 633.736, "Actual Rows": 170052, "Actual Loops": 1}], "Plans": [{"Node Type": "Index Only Scan", "Parent Relationship": "Outer", "Parallel Aware": true, "Async Capable": false, "Scan Direction": "Forward", "Index Name": "ps_pk_sk", "Relation Name": "partsupp", "Schema": "public", "Alias": "partsupp", "Startup Cost": 3466.46, "Total Cost": 84262.88, "Plan Rows": 666656, "Plan Width": 8, "Actual Startup Time": 40.12, "Actual Total Time": 324.844, "Actual Rows": 1142217, "Actual Loops": 7, "Output": ["partsupp.ps_partkey", "partsupp.ps_suppkey"], "Filter": "(NOT (hashed SubPlan 1))", "Rows Removed by Filter": 640, "Heap Fetches": 0, "Workers": [{"Worker Number": 0, "Actual Startup Time": 40.642, "Actual Total Time": 326.994, "Actual Rows": 1143124, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 40.639, "Actual Total Time": 326.749, "Actual Rows": 1146423, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 40.635, "Actual Total Time": 326.857, "Actual Rows": 1143461, "Actual Loops": 1}, {"Worker Number": 3, "Actual Startup Time": 40.637, "Actual Total Time": 326.728, "Actual Rows": 1146745, "Actual Loops": 1}, {"Worker Number": 4, "Actual Startup Time": 40.642, "Actual Total Time": 326.726, "Actual Rows": 1146387, "Actual Loops": 1}, {"Worker Number": 5, "Actual Startup Time": 40.643, "Actual Total Time": 327.272, "Actual Rows": 1147498, "Actual Loops": 1}], "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "SubPlan", "Subplan Name": "SubPlan 1", "Parallel Aware": false, "Async Capable": false, "Relation Name": "supplier", "Schema": "public", "Alias": "supplier", "Startup Cost": 0.0, "Total Cost": 3466.0, "Plan Rows": 10, "Plan Width": 4, "Actual Startup Time": 0.16, "Actual Total Time": 39.927, "Actual Rows": 56, "Actual Loops": 7, "Output": ["supplier.s_suppkey"], "Filter": "((supplier.s_comment)::text ~~ '%Customer%Complaints%'::text)", "Rows Removed by Filter": 99944, "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.137, "Actual Total Time": 40.496, "Actual Rows": 56, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 0.128, "Actual Total Time": 40.442, "Actual Rows": 56, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 0.127, "Actual Total Time": 40.386, "Actual Rows": 56, "Actual Loops": 1}, {"Worker Number": 3, "Actual Startup Time": 0.127, "Actual Total Time": 40.411, "Actual Rows": 56, "Actual Loops": 1}, {"Worker Number": 4, "Actual Startup Time": 0.127, "Actual Total Time": 40.47, "Actual Rows": 56, "Actual Loops": 1}, {"Worker Number": 5, "Actual Startup Time": 0.164, "Actual Total Time": 40.534, "Actual Rows": 56, "Actual Loops": 1}]}]}, {"Node Type": "Hash", "Parent Relationship": "Inner", "Parallel Aware": true, "Async Capable": false, "Startup Cost": 53462.0, "Total Cost": 53462.0, "Plan Rows": 75220, "Plan Width": 40, "Actual Startup Time": 129.733, "Actual Total Time": 129.735, "Actual Rows": 42542, "Actual Loops": 7, "Output": ["part.p_brand", "part.p_type", "part.p_size", "part.p_partkey"], "Hash Buckets": 524288, "Original Hash Buckets": 524288, "Hash Batches": 1, "Original Hash Batches": 1, "Peak Memory Usage": 26464, "Workers": [{"Worker Number": 0, "Actual Startup Time": 129.337, "Actual Total Time": 129.338, "Actual Rows": 42386, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 129.431, "Actual Total Time": 129.433, "Actual Rows": 42086, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 129.515, "Actual Total Time": 129.516, "Actual Rows": 42224, "Actual Loops": 1}, {"Worker Number": 3, "Actual Startup Time": 129.575, "Actual Total Time": 129.576, "Actual Rows": 42511, "Actual Loops": 1}, {"Worker Number": 4, "Actual Startup Time": 129.552, "Actual Total Time": 129.553, "Actual Rows": 42562, "Actual Loops": 1}, {"Worker Number": 5, "Actual Startup Time": 129.831, "Actual Total Time": 129.833, "Actual Rows": 42546, "Actual Loops": 1}], "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": true, "Async Capable": false, "Relation Name": "part", "Schema": "public", "Alias": "part", "Startup Cost": 0.0, "Total Cost": 53462.0, "Plan Rows": 75220, "Plan Width": 40, "Actual Startup Time": 0.024, "Actual Total Time": 105.324, "Actual Rows": 42542, "Actual Loops": 7, "Output": ["part.p_brand", "part.p_type", "part.p_size", "part.p_partkey"], "Filter": "((part.p_brand <> 'Brand#11'::bpchar) AND ((part.p_type)::text !~~ 'ECONOMY ANODIZED%'::text) AND (part.p_size = ANY ('{42,16,39,18,23,32,44,41}'::integer[])))", "Rows Removed by Filter": 243172, "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.025, "Actual Total Time": 104.624, "Actual Rows": 42386, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 0.025, "Actual Total Time": 104.732, "Actual Rows": 42086, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 0.03, "Actual Total Time": 105.635, "Actual Rows": 42224, "Actual Loops": 1}, {"Worker Number": 3, "Actual Startup Time": 0.028, "Actual Total Time": 105.245, "Actual Rows": 42511, "Actual Loops": 1}, {"Worker Number": 4, "Actual Startup Time": 0.021, "Actual Total Time": 105.903, "Actual Rows": 42562, "Actual Loops": 1}, {"Worker Number": 5, "Actual Startup Time": 0.026, "Actual Total Time": 105.354, "Actual Rows": 42546, "Actual Loops": 1}]}]}]}]}]}]}]}, "Planning Time": 0.678, "Triggers": [], "Execution Time": 2161.198} diff --git a/dev9/pg15/tpch/sf_10/explain_analyze/15721/17-1.ok b/dev9/pg15/tpch/sf_10/explain_analyze/15721/17-1.ok new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/dev9/pg15/tpch/sf_10/explain_analyze/15721/17-1.res b/dev9/pg15/tpch/sf_10/explain_analyze/15721/17-1.res new file mode 100644 index 0000000000000000000000000000000000000000..d25ce4afd14b7acd8e448dd775c49ae5aaaacf24 --- /dev/null +++ b/dev9/pg15/tpch/sf_10/explain_analyze/15721/17-1.res @@ -0,0 +1 @@ +{"Plan": {"Node Type": "Aggregate", "Strategy": "Plain", "Partial Mode": "Simple", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 1931967.2, "Total Cost": 1931967.22, "Plan Rows": 1, "Plan Width": 32, "Actual Startup Time": 18635.037, "Actual Total Time": 18635.15, "Actual Rows": 1, "Actual Loops": 1, "Output": ["(sum(lineitem.l_extendedprice) / 7.0)"], "Plans": [{"Node Type": "Hash Join", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Join Type": "Inner", "Startup Cost": 49680.47, "Total Cost": 1931918.66, "Plan Rows": 19416, "Plan Width": 8, "Actual Startup Time": 97.081, "Actual Total Time": 18633.344, "Actual Rows": 5383, "Actual Loops": 1, "Output": ["lineitem.l_extendedprice"], "Inner Unique": true, "Hash Cond": "(lineitem.l_partkey = part.p_partkey)", "Join Filter": "(lineitem.l_quantity < (SubPlan 1))", "Rows Removed by Join Filter": 56148, "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Relation Name": "lineitem", "Schema": "public", "Alias": "lineitem", "Startup Cost": 0.0, "Total Cost": 1724409.96, "Plan Rows": 59986796, "Plan Width": 17, "Actual Startup Time": 0.006, "Actual Total Time": 5008.964, "Actual Rows": 59986052, "Actual Loops": 1, "Output": ["lineitem.l_orderkey", "lineitem.l_partkey", "lineitem.l_suppkey", "lineitem.l_linenumber", "lineitem.l_quantity", "lineitem.l_extendedprice", "lineitem.l_discount", "lineitem.l_tax", "lineitem.l_returnflag", "lineitem.l_linestatus", "lineitem.l_shipdate", "lineitem.l_commitdate", "lineitem.l_receiptdate", "lineitem.l_shipinstruct", "lineitem.l_shipmode", "lineitem.l_comment"]}, {"Node Type": "Hash", "Parent Relationship": "Inner", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 49656.2, "Total Cost": 49656.2, "Plan Rows": 1942, "Plan Width": 4, "Actual Startup Time": 90.532, "Actual Total Time": 90.642, "Actual Rows": 2063, "Actual Loops": 1, "Output": ["part.p_partkey"], "Hash Buckets": 4096, "Original Hash Buckets": 2048, "Hash Batches": 1, "Original Hash Batches": 1, "Peak Memory Usage": 105, "Plans": [{"Node Type": "Gather", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 1000.0, "Total Cost": 49656.2, "Plan Rows": 1942, "Plan Width": 4, "Actual Startup Time": 0.724, "Actual Total Time": 90.377, "Actual Rows": 2063, "Actual Loops": 1, "Output": ["part.p_partkey"], "Workers Planned": 4, "Workers Launched": 4, "Single Copy": false, "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": true, "Async Capable": false, "Relation Name": "part", "Schema": "public", "Alias": "part", "Startup Cost": 0.0, "Total Cost": 48462.0, "Plan Rows": 486, "Plan Width": 4, "Actual Startup Time": 0.192, "Actual Total Time": 86.805, "Actual Rows": 413, "Actual Loops": 5, "Output": ["part.p_partkey"], "Filter": "((part.p_brand = 'Brand#14'::bpchar) AND (part.p_container = 'WRAP BOX'::bpchar))", "Rows Removed by Filter": 399587, "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.055, "Actual Total Time": 85.898, "Actual Rows": 422, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 0.304, "Actual Total Time": 86.026, "Actual Rows": 430, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 0.091, "Actual Total Time": 86.063, "Actual Rows": 375, "Actual Loops": 1}, {"Worker Number": 3, "Actual Startup Time": 0.028, "Actual Total Time": 86.293, "Actual Rows": 430, "Actual Loops": 1}]}]}]}, {"Node Type": "Aggregate", "Strategy": "Plain", "Partial Mode": "Simple", "Parent Relationship": "SubPlan", "Subplan Name": "SubPlan 1", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 36.26, "Total Cost": 36.27, "Plan Rows": 1, "Plan Width": 32, "Actual Startup Time": 0.048, "Actual Total Time": 0.048, "Actual Rows": 1, "Actual Loops": 61531, "Output": ["(0.2 * avg(lineitem_1.l_quantity))"], "Plans": [{"Node Type": "Index Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Scan Direction": "Forward", "Index Name": "l_pk", "Relation Name": "lineitem", "Schema": "public", "Alias": "lineitem_1", "Startup Cost": 0.44, "Total Cost": 36.18, "Plan Rows": 31, "Plan Width": 5, "Actual Startup Time": 0.005, "Actual Total Time": 0.041, "Actual Rows": 31, "Actual Loops": 61531, "Output": ["lineitem_1.l_orderkey", "lineitem_1.l_partkey", "lineitem_1.l_suppkey", "lineitem_1.l_linenumber", "lineitem_1.l_quantity", "lineitem_1.l_extendedprice", "lineitem_1.l_discount", "lineitem_1.l_tax", "lineitem_1.l_returnflag", "lineitem_1.l_linestatus", "lineitem_1.l_shipdate", "lineitem_1.l_commitdate", "lineitem_1.l_receiptdate", "lineitem_1.l_shipinstruct", "lineitem_1.l_shipmode", "lineitem_1.l_comment"], "Index Cond": "(lineitem_1.l_partkey = part.p_partkey)", "Rows Removed by Index Recheck": 0}]}]}]}, "Planning Time": 0.393, "Triggers": [], "Execution Time": 18635.2} diff --git a/dev9/pg15/tpch/sf_10/explain_analyze/15721/18-1.ok b/dev9/pg15/tpch/sf_10/explain_analyze/15721/18-1.ok new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/dev9/pg15/tpch/sf_10/explain_analyze/15721/18-1.res b/dev9/pg15/tpch/sf_10/explain_analyze/15721/18-1.res new file mode 100644 index 0000000000000000000000000000000000000000..fe01ff9b12b1b34e5f9609fd24e7fcefd09eae09 --- /dev/null +++ b/dev9/pg15/tpch/sf_10/explain_analyze/15721/18-1.res @@ -0,0 +1 @@ +{"Plan": {"Node Type": "Limit", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 3559987.05, "Total Cost": 3559987.3, "Plan Rows": 100, "Plan Width": 71, "Actual Startup Time": 38864.331, "Actual Total Time": 39122.436, "Actual Rows": 84, "Actual Loops": 1, "Output": ["customer.c_name", "customer.c_custkey", "orders.o_orderkey", "orders.o_orderdate", "orders.o_totalprice", "(sum(lineitem.l_quantity))"], "Plans": [{"Node Type": "Sort", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 3559987.05, "Total Cost": 3566696.89, "Plan Rows": 2683935, "Plan Width": 71, "Actual Startup Time": 38864.329, "Actual Total Time": 39122.426, "Actual Rows": 84, "Actual Loops": 1, "Output": ["customer.c_name", "customer.c_custkey", "orders.o_orderkey", "orders.o_orderdate", "orders.o_totalprice", "(sum(lineitem.l_quantity))"], "Sort Key": ["orders.o_totalprice DESC", "orders.o_orderdate"], "Sort Method": "quicksort", "Sort Space Used": 31, "Sort Space Type": "Memory", "Plans": [{"Node Type": "Aggregate", "Strategy": "Sorted", "Partial Mode": "Simple", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 3076415.18, "Total Cost": 3457408.99, "Plan Rows": 2683935, "Plan Width": 71, "Actual Startup Time": 38863.982, "Actual Total Time": 39122.345, "Actual Rows": 84, "Actual Loops": 1, "Output": ["customer.c_name", "customer.c_custkey", "orders.o_orderkey", "orders.o_orderdate", "orders.o_totalprice", "sum(lineitem.l_quantity)"], "Group Key": ["customer.c_custkey", "orders.o_orderkey"], "Plans": [{"Node Type": "Gather Merge", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 3076415.18, "Total Cost": 3403730.29, "Plan Rows": 2683935, "Plan Width": 44, "Actual Startup Time": 38863.957, "Actual Total Time": 39122.155, "Actual Rows": 588, "Actual Loops": 1, "Output": ["customer.c_custkey", "orders.o_orderkey", "customer.c_name", "orders.o_orderdate", "orders.o_totalprice", "lineitem.l_quantity"], "Workers Planned": 6, "Workers Launched": 6, "Plans": [{"Node Type": "Sort", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 3075415.08, "Total Cost": 3076533.39, "Plan Rows": 447322, "Plan Width": 44, "Actual Startup Time": 38464.12, "Actual Total Time": 38464.136, "Actual Rows": 84, "Actual Loops": 7, "Output": ["customer.c_custkey", "orders.o_orderkey", "customer.c_name", "orders.o_orderdate", "orders.o_totalprice", "lineitem.l_quantity"], "Sort Key": ["customer.c_custkey", "orders.o_orderkey"], "Sort Method": "quicksort", "Sort Space Used": 75, "Sort Space Type": "Memory", "Workers": [{"Worker Number": 0, "Actual Startup Time": 38850.663, "Actual Total Time": 38850.668, "Actual Rows": 0, "Actual Loops": 1, "Sort Method": "quicksort", "Sort Space Used": 25, "Sort Space Type": "Memory"}, {"Worker Number": 1, "Actual Startup Time": 38501.928, "Actual Total Time": 38501.955, "Actual Rows": 0, "Actual Loops": 1, "Sort Method": "quicksort", "Sort Space Used": 25, "Sort Space Type": "Memory"}, {"Worker Number": 2, "Actual Startup Time": 38855.604, "Actual Total Time": 38855.609, "Actual Rows": 0, "Actual Loops": 1, "Sort Method": "quicksort", "Sort Space Used": 25, "Sort Space Type": "Memory"}, {"Worker Number": 3, "Actual Startup Time": 38850.878, "Actual Total Time": 38850.882, "Actual Rows": 0, "Actual Loops": 1, "Sort Method": "quicksort", "Sort Space Used": 25, "Sort Space Type": "Memory"}, {"Worker Number": 4, "Actual Startup Time": 38850.876, "Actual Total Time": 38850.88, "Actual Rows": 0, "Actual Loops": 1, "Sort Method": "quicksort", "Sort Space Used": 25, "Sort Space Type": "Memory"}, {"Worker Number": 5, "Actual Startup Time": 38850.902, "Actual Total Time": 38850.906, "Actual Rows": 0, "Actual Loops": 1, "Sort Method": "quicksort", "Sort Space Used": 25, "Sort Space Type": "Memory"}], "Plans": [{"Node Type": "Hash Join", "Parent Relationship": "Outer", "Parallel Aware": true, "Async Capable": false, "Join Type": "Inner", "Startup Cost": 2566239.18, "Total Cost": 3025371.18, "Plan Rows": 447322, "Plan Width": 44, "Actual Startup Time": 37906.899, "Actual Total Time": 38464.048, "Actual Rows": 84, "Actual Loops": 7, "Output": ["customer.c_custkey", "orders.o_orderkey", "customer.c_name", "orders.o_orderdate", "orders.o_totalprice", "lineitem.l_quantity"], "Inner Unique": true, "Hash Cond": "(orders.o_custkey = customer.c_custkey)", "Workers": [{"Worker Number": 0, "Actual Startup Time": 38850.621, "Actual Total Time": 38850.625, "Actual Rows": 0, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 38501.875, "Actual Total Time": 38501.901, "Actual Rows": 0, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 38855.562, "Actual Total Time": 38855.567, "Actual Rows": 0, "Actual Loops": 1}, {"Worker Number": 3, "Actual Startup Time": 38850.835, "Actual Total Time": 38850.839, "Actual Rows": 0, "Actual Loops": 1}, {"Worker Number": 4, "Actual Startup Time": 38850.833, "Actual Total Time": 38850.837, "Actual Rows": 0, "Actual Loops": 1}, {"Worker Number": 5, "Actual Startup Time": 38850.859, "Actual Total Time": 38850.864, "Actual Rows": 0, "Actual Loops": 1}], "Plans": [{"Node Type": "Nested Loop", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Join Type": "Inner", "Startup Cost": 2521974.68, "Total Cost": 2979932.46, "Plan Rows": 447322, "Plan Width": 25, "Actual Startup Time": 37744.615, "Actual Total Time": 38301.657, "Actual Rows": 84, "Actual Loops": 7, "Output": ["orders.o_orderkey", "orders.o_orderdate", "orders.o_totalprice", "orders.o_custkey", "lineitem.l_quantity"], "Inner Unique": false, "Workers": [{"Worker Number": 0, "Actual Startup Time": 38690.242, "Actual Total Time": 38690.245, "Actual Rows": 0, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 38341.444, "Actual Total Time": 38341.46, "Actual Rows": 0, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 38690.344, "Actual Total Time": 38690.347, "Actual Rows": 0, "Actual Loops": 1}, {"Worker Number": 3, "Actual Startup Time": 38690.314, "Actual Total Time": 38690.316, "Actual Rows": 0, "Actual Loops": 1}, {"Worker Number": 4, "Actual Startup Time": 38690.296, "Actual Total Time": 38690.299, "Actual Rows": 0, "Actual Loops": 1}, {"Worker Number": 5, "Actual Startup Time": 38690.245, "Actual Total Time": 38690.248, "Actual Rows": 0, "Actual Loops": 1}], "Plans": [{"Node Type": "Hash Join", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Join Type": "Inner", "Startup Cost": 2521974.12, "Total Cost": 2814448.87, "Plan Rows": 111856, "Plan Width": 24, "Actual Startup Time": 37744.608, "Actual Total Time": 38301.467, "Actual Rows": 12, "Actual Loops": 7, "Output": ["orders.o_orderkey", "orders.o_orderdate", "orders.o_totalprice", "orders.o_custkey", "lineitem_1.l_orderkey"], "Inner Unique": true, "Hash Cond": "(orders.o_orderkey = lineitem_1.l_orderkey)", "Workers": [{"Worker Number": 0, "Actual Startup Time": 38690.24, "Actual Total Time": 38690.243, "Actual Rows": 0, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 38341.438, "Actual Total Time": 38341.445, "Actual Rows": 0, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 38690.342, "Actual Total Time": 38690.345, "Actual Rows": 0, "Actual Loops": 1}, {"Worker Number": 3, "Actual Startup Time": 38690.312, "Actual Total Time": 38690.314, "Actual Rows": 0, "Actual Loops": 1}, {"Worker Number": 4, "Actual Startup Time": 38690.295, "Actual Total Time": 38690.297, "Actual Rows": 0, "Actual Loops": 1}, {"Worker Number": 5, "Actual Startup Time": 38690.244, "Actual Total Time": 38690.246, "Actual Rows": 0, "Actual Loops": 1}], "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": true, "Async Capable": false, "Relation Name": "orders", "Schema": "public", "Alias": "orders", "Startup Cost": 0.0, "Total Cost": 285912.21, "Plan Rows": 2500020, "Plan Width": 20, "Actual Startup Time": 0.016, "Actual Total Time": 183.823, "Actual Rows": 2142857, "Actual Loops": 7, "Output": ["orders.o_orderkey", "orders.o_custkey", "orders.o_orderstatus", "orders.o_totalprice", "orders.o_orderdate", "orders.o_orderpriority", "orders.o_clerk", "orders.o_shippriority", "orders.o_comment"], "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.015, "Actual Total Time": 0.649, "Actual Rows": 7352, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 0.019, "Actual Total Time": 0.702, "Actual Rows": 7370, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 0.02, "Actual Total Time": 0.664, "Actual Rows": 7370, "Actual Loops": 1}, {"Worker Number": 3, "Actual Startup Time": 0.02, "Actual Total Time": 0.657, "Actual Rows": 7348, "Actual Loops": 1}, {"Worker Number": 4, "Actual Startup Time": 0.016, "Actual Total Time": 0.656, "Actual Rows": 7343, "Actual Loops": 1}, {"Worker Number": 5, "Actual Startup Time": 0.014, "Actual Total Time": 0.651, "Actual Rows": 7350, "Actual Loops": 1}]}, {"Node Type": "Hash", "Parent Relationship": "Inner", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 2513584.9, "Total Cost": 2513584.9, "Plan Rows": 671137, "Plan Width": 4, "Actual Startup Time": 37723.802, "Actual Total Time": 37723.804, "Actual Rows": 84, "Actual Loops": 7, "Output": ["lineitem_1.l_orderkey"], "Hash Buckets": 1048576, "Original Hash Buckets": 1048576, "Hash Batches": 1, "Original Hash Batches": 1, "Peak Memory Usage": 8195, "Workers": [{"Worker Number": 0, "Actual Startup Time": 38682.547, "Actual Total Time": 38682.548, "Actual Rows": 84, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 38325.15, "Actual Total Time": 38325.151, "Actual Rows": 84, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 38682.567, "Actual Total Time": 38682.568, "Actual Rows": 84, "Actual Loops": 1}, {"Worker Number": 3, "Actual Startup Time": 38682.57, "Actual Total Time": 38682.571, "Actual Rows": 84, "Actual Loops": 1}, {"Worker Number": 4, "Actual Startup Time": 38682.565, "Actual Total Time": 38682.566, "Actual Rows": 84, "Actual Loops": 1}, {"Worker Number": 5, "Actual Startup Time": 38682.547, "Actual Total Time": 38682.548, "Actual Rows": 84, "Actual Loops": 1}], "Plans": [{"Node Type": "Aggregate", "Strategy": "Sorted", "Partial Mode": "Simple", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 0.56, "Total Cost": 2506873.53, "Plan Rows": 671137, "Plan Width": 4, "Actual Startup Time": 799.249, "Actual Total Time": 37723.656, "Actual Rows": 84, "Actual Loops": 7, "Output": ["lineitem_1.l_orderkey"], "Group Key": ["lineitem_1.l_orderkey"], "Filter": "(sum(lineitem_1.l_quantity) > '314'::numeric)", "Rows Removed by Filter": 14999916, "Workers": [{"Worker Number": 0, "Actual Startup Time": 818.385, "Actual Total Time": 38682.381, "Actual Rows": 84, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 818.403, "Actual Total Time": 38324.956, "Actual Rows": 84, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 818.41, "Actual Total Time": 38682.413, "Actual Rows": 84, "Actual Loops": 1}, {"Worker Number": 3, "Actual Startup Time": 818.413, "Actual Total Time": 38682.442, "Actual Rows": 84, "Actual Loops": 1}, {"Worker Number": 4, "Actual Startup Time": 818.356, "Actual Total Time": 38682.431, "Actual Rows": 84, "Actual Loops": 1}, {"Worker Number": 5, "Actual Startup Time": 818.382, "Actual Total Time": 38682.39, "Actual Rows": 84, "Actual Loops": 1}], "Plans": [{"Node Type": "Index Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Scan Direction": "Forward", "Index Name": "l_ok", "Relation Name": "lineitem", "Schema": "public", "Alias": "lineitem_1", "Startup Cost": 0.56, "Total Cost": 2176738.37, "Plan Rows": 59986796, "Plan Width": 9, "Actual Startup Time": 0.068, "Actual Total Time": 19805.395, "Actual Rows": 59986052, "Actual Loops": 7, "Output": ["lineitem_1.l_orderkey", "lineitem_1.l_partkey", "lineitem_1.l_suppkey", "lineitem_1.l_linenumber", "lineitem_1.l_quantity", "lineitem_1.l_extendedprice", "lineitem_1.l_discount", "lineitem_1.l_tax", "lineitem_1.l_returnflag", "lineitem_1.l_linestatus", "lineitem_1.l_shipdate", "lineitem_1.l_commitdate", "lineitem_1.l_receiptdate", "lineitem_1.l_shipinstruct", "lineitem_1.l_shipmode", "lineitem_1.l_comment"], "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.092, "Actual Total Time": 20694.247, "Actual Rows": 59986052, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 0.067, "Actual Total Time": 20386.001, "Actual Rows": 59986052, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 0.066, "Actual Total Time": 20801.902, "Actual Rows": 59986052, "Actual Loops": 1}, {"Worker Number": 3, "Actual Startup Time": 0.07, "Actual Total Time": 20818.609, "Actual Rows": 59986052, "Actual Loops": 1}, {"Worker Number": 4, "Actual Startup Time": 0.081, "Actual Total Time": 20798.872, "Actual Rows": 59986052, "Actual Loops": 1}, {"Worker Number": 5, "Actual Startup Time": 0.077, "Actual Total Time": 20717.256, "Actual Rows": 59986052, "Actual Loops": 1}]}]}]}]}, {"Node Type": "Index Scan", "Parent Relationship": "Inner", "Parallel Aware": false, "Async Capable": false, "Scan Direction": "Forward", "Index Name": "l_ok", "Relation Name": "lineitem", "Schema": "public", "Alias": "lineitem", "Startup Cost": 0.56, "Total Cost": 1.18, "Plan Rows": 30, "Plan Width": 9, "Actual Startup Time": 0.011, "Actual Total Time": 0.013, "Actual Rows": 7, "Actual Loops": 84, "Output": ["lineitem.l_orderkey", "lineitem.l_partkey", "lineitem.l_suppkey", "lineitem.l_linenumber", "lineitem.l_quantity", "lineitem.l_extendedprice", "lineitem.l_discount", "lineitem.l_tax", "lineitem.l_returnflag", "lineitem.l_linestatus", "lineitem.l_shipdate", "lineitem.l_commitdate", "lineitem.l_receiptdate", "lineitem.l_shipinstruct", "lineitem.l_shipmode", "lineitem.l_comment"], "Index Cond": "(lineitem.l_orderkey = orders.o_orderkey)", "Rows Removed by Index Recheck": 0, "Workers": []}]}, {"Node Type": "Hash", "Parent Relationship": "Inner", "Parallel Aware": true, "Async Capable": false, "Startup Cost": 39577.0, "Total Cost": 39577.0, "Plan Rows": 375000, "Plan Width": 23, "Actual Startup Time": 159.457, "Actual Total Time": 159.459, "Actual Rows": 214286, "Actual Loops": 7, "Output": ["customer.c_name", "customer.c_custkey"], "Hash Buckets": 2097152, "Original Hash Buckets": 2097152, "Hash Batches": 1, "Original Hash Batches": 1, "Peak Memory Usage": 98720, "Workers": [{"Worker Number": 0, "Actual Startup Time": 160.313, "Actual Total Time": 160.314, "Actual Rows": 213228, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 160.347, "Actual Total Time": 160.352, "Actual Rows": 212916, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 160.388, "Actual Total Time": 160.389, "Actual Rows": 212593, "Actual Loops": 1}, {"Worker Number": 3, "Actual Startup Time": 160.446, "Actual Total Time": 160.447, "Actual Rows": 212234, "Actual Loops": 1}, {"Worker Number": 4, "Actual Startup Time": 160.462, "Actual Total Time": 160.463, "Actual Rows": 214118, "Actual Loops": 1}, {"Worker Number": 5, "Actual Startup Time": 160.541, "Actual Total Time": 160.541, "Actual Rows": 215043, "Actual Loops": 1}], "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": true, "Async Capable": false, "Relation Name": "customer", "Schema": "public", "Alias": "customer", "Startup Cost": 0.0, "Total Cost": 39577.0, "Plan Rows": 375000, "Plan Width": 23, "Actual Startup Time": 0.051, "Actual Total Time": 47.937, "Actual Rows": 214286, "Actual Loops": 7, "Output": ["customer.c_name", "customer.c_custkey"], "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.056, "Actual Total Time": 48.381, "Actual Rows": 213228, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 0.06, "Actual Total Time": 47.953, "Actual Rows": 212916, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 0.056, "Actual Total Time": 48.185, "Actual Rows": 212593, "Actual Loops": 1}, {"Worker Number": 3, "Actual Startup Time": 0.065, "Actual Total Time": 47.983, "Actual Rows": 212234, "Actual Loops": 1}, {"Worker Number": 4, "Actual Startup Time": 0.059, "Actual Total Time": 47.59, "Actual Rows": 214118, "Actual Loops": 1}, {"Worker Number": 5, "Actual Startup Time": 0.057, "Actual Total Time": 47.727, "Actual Rows": 215043, "Actual Loops": 1}]}]}]}]}]}]}]}]}, "Planning Time": 1.235, "Triggers": [], "Execution Time": 39122.513} diff --git a/dev9/pg15/tpch/sf_10/explain_analyze/15721/19-1.ok b/dev9/pg15/tpch/sf_10/explain_analyze/15721/19-1.ok new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/dev9/pg15/tpch/sf_10/explain_analyze/15721/19-1.res b/dev9/pg15/tpch/sf_10/explain_analyze/15721/19-1.res new file mode 100644 index 0000000000000000000000000000000000000000..6a1b5bade265f7e194bf2bcce6cd7b100cf73382 --- /dev/null +++ b/dev9/pg15/tpch/sf_10/explain_analyze/15721/19-1.res @@ -0,0 +1 @@ +{"Plan": {"Node Type": "Aggregate", "Strategy": "Plain", "Partial Mode": "Finalize", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 107080.16, "Total Cost": 107080.17, "Plan Rows": 1, "Plan Width": 32, "Actual Startup Time": 294.403, "Actual Total Time": 356.355, "Actual Rows": 1, "Actual Loops": 1, "Output": ["sum((lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount)))"], "Plans": [{"Node Type": "Gather", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 107079.73, "Total Cost": 107080.14, "Plan Rows": 4, "Plan Width": 32, "Actual Startup Time": 294.318, "Actual Total Time": 356.345, "Actual Rows": 5, "Actual Loops": 1, "Output": ["(PARTIAL sum((lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount))))"], "Workers Planned": 4, "Workers Launched": 4, "Single Copy": false, "Plans": [{"Node Type": "Aggregate", "Strategy": "Plain", "Partial Mode": "Partial", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 106079.73, "Total Cost": 106079.74, "Plan Rows": 1, "Plan Width": 32, "Actual Startup Time": 290.46, "Actual Total Time": 290.461, "Actual Rows": 1, "Actual Loops": 5, "Output": ["PARTIAL sum((lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount)))"], "Workers": [{"Worker Number": 0, "Actual Startup Time": 289.568, "Actual Total Time": 289.57, "Actual Rows": 1, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 289.534, "Actual Total Time": 289.536, "Actual Rows": 1, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 289.625, "Actual Total Time": 289.627, "Actual Rows": 1, "Actual Loops": 1}, {"Worker Number": 3, "Actual Startup Time": 289.735, "Actual Total Time": 289.737, "Actual Rows": 1, "Actual Loops": 1}], "Plans": [{"Node Type": "Nested Loop", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Join Type": "Inner", "Startup Cost": 0.44, "Total Cost": 106077.6, "Plan Rows": 284, "Plan Width": 12, "Actual Startup Time": 2.703, "Actual Total Time": 290.294, "Actual Rows": 229, "Actual Loops": 5, "Output": ["lineitem.l_extendedprice", "lineitem.l_discount"], "Inner Unique": false, "Workers": [{"Worker Number": 0, "Actual Startup Time": 3.875, "Actual Total Time": 289.4, "Actual Rows": 217, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 0.599, "Actual Total Time": 289.391, "Actual Rows": 192, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 4.701, "Actual Total Time": 289.466, "Actual Rows": 207, "Actual Loops": 1}, {"Worker Number": 3, "Actual Startup Time": 4.074, "Actual Total Time": 289.579, "Actual Rows": 211, "Actual Loops": 1}], "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": true, "Async Capable": false, "Relation Name": "part", "Schema": "public", "Alias": "part", "Startup Cost": 0.0, "Total Cost": 62212.0, "Plan Rows": 1218, "Plan Width": 30, "Actual Startup Time": 0.15, "Actual Total Time": 164.977, "Actual Rows": 942, "Actual Loops": 5, "Output": ["part.p_partkey", "part.p_name", "part.p_mfgr", "part.p_brand", "part.p_type", "part.p_size", "part.p_container", "part.p_retailprice", "part.p_comment"], "Filter": "((part.p_size >= 1) AND (((part.p_brand = 'Brand#52'::bpchar) AND (part.p_container = ANY ('{\"SM CASE\",\"SM BOX\",\"SM PACK\",\"SM PKG\"}'::bpchar[])) AND (part.p_size <= 5)) OR ((part.p_brand = 'Brand#42'::bpchar) AND (part.p_container = ANY ('{\"MED BAG\",\"MED BOX\",\"MED PKG\",\"MED PACK\"}'::bpchar[])) AND (part.p_size <= 10)) OR ((part.p_brand = 'Brand#23'::bpchar) AND (part.p_container = ANY ('{\"LG CASE\",\"LG BOX\",\"LG PACK\",\"LG PKG\"}'::bpchar[])) AND (part.p_size <= 15))))", "Rows Removed by Filter": 399058, "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.293, "Actual Total Time": 150.309, "Actual Rows": 872, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 0.12, "Actual Total Time": 150.71, "Actual Rows": 872, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 0.075, "Actual Total Time": 148.877, "Actual Rows": 867, "Actual Loops": 1}, {"Worker Number": 3, "Actual Startup Time": 0.224, "Actual Total Time": 149.227, "Actual Rows": 877, "Actual Loops": 1}]}, {"Node Type": "Index Scan", "Parent Relationship": "Inner", "Parallel Aware": false, "Async Capable": false, "Scan Direction": "Forward", "Index Name": "l_pk", "Relation Name": "lineitem", "Schema": "public", "Alias": "lineitem", "Startup Cost": 0.44, "Total Cost": 36.0, "Plan Rows": 1, "Plan Width": 21, "Actual Startup Time": 0.119, "Actual Total Time": 0.133, "Actual Rows": 0, "Actual Loops": 4710, "Output": ["lineitem.l_orderkey", "lineitem.l_partkey", "lineitem.l_suppkey", "lineitem.l_linenumber", "lineitem.l_quantity", "lineitem.l_extendedprice", "lineitem.l_discount", "lineitem.l_tax", "lineitem.l_returnflag", "lineitem.l_linestatus", "lineitem.l_shipdate", "lineitem.l_commitdate", "lineitem.l_receiptdate", "lineitem.l_shipinstruct", "lineitem.l_shipmode", "lineitem.l_comment"], "Index Cond": "(lineitem.l_partkey = part.p_partkey)", "Rows Removed by Index Recheck": 0, "Filter": "((lineitem.l_shipmode = ANY ('{AIR,\"AIR REG\"}'::bpchar[])) AND (lineitem.l_shipinstruct = 'DELIVER IN PERSON'::bpchar) AND (((lineitem.l_quantity >= '9'::numeric) AND (lineitem.l_quantity <= '19'::numeric)) OR ((lineitem.l_quantity >= '18'::numeric) AND (lineitem.l_quantity <= '28'::numeric)) OR ((lineitem.l_quantity >= '22'::numeric) AND (lineitem.l_quantity <= '32'::numeric))) AND (((part.p_brand = 'Brand#52'::bpchar) AND (part.p_container = ANY ('{\"SM CASE\",\"SM BOX\",\"SM PACK\",\"SM PKG\"}'::bpchar[])) AND (lineitem.l_quantity >= '9'::numeric) AND (lineitem.l_quantity <= '19'::numeric) AND (part.p_size <= 5)) OR ((part.p_brand = 'Brand#42'::bpchar) AND (part.p_container = ANY ('{\"MED BAG\",\"MED BOX\",\"MED PKG\",\"MED PACK\"}'::bpchar[])) AND (lineitem.l_quantity >= '18'::numeric) AND (lineitem.l_quantity <= '28'::numeric) AND (part.p_size <= 10)) OR ((part.p_brand = 'Brand#23'::bpchar) AND (part.p_container = ANY ('{\"LG CASE\",\"LG BOX\",\"LG PACK\",\"LG PKG\"}'::bpchar[])) AND (lineitem.l_quantity >= '22'::numeric) AND (lineitem.l_quantity <= '32'::numeric) AND (part.p_size <= 15))))", "Rows Removed by Filter": 30, "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.142, "Actual Total Time": 0.159, "Actual Rows": 0, "Actual Loops": 872}, {"Worker Number": 1, "Actual Startup Time": 0.144, "Actual Total Time": 0.159, "Actual Rows": 0, "Actual Loops": 872}, {"Worker Number": 2, "Actual Startup Time": 0.144, "Actual Total Time": 0.162, "Actual Rows": 0, "Actual Loops": 867}, {"Worker Number": 3, "Actual Startup Time": 0.143, "Actual Total Time": 0.16, "Actual Rows": 0, "Actual Loops": 877}]}]}]}]}]}, "Planning Time": 0.614, "Triggers": [], "Execution Time": 356.402} diff --git a/dev9/pg15/tpch/sf_10/explain_analyze/15721/2-1.ok b/dev9/pg15/tpch/sf_10/explain_analyze/15721/2-1.ok new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/dev9/pg15/tpch/sf_10/explain_analyze/15721/2-1.res b/dev9/pg15/tpch/sf_10/explain_analyze/15721/2-1.res new file mode 100644 index 0000000000000000000000000000000000000000..631bb776b9bcd422d966cf7133a9af8035d7c23e --- /dev/null +++ b/dev9/pg15/tpch/sf_10/explain_analyze/15721/2-1.res @@ -0,0 +1 @@ +{"Plan": {"Node Type": "Limit", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 385858.39, "Total Cost": 385858.4, "Plan Rows": 1, "Plan Width": 192, "Actual Startup Time": 3140.882, "Actual Total Time": 3141.102, "Actual Rows": 100, "Actual Loops": 1, "Output": ["supplier.s_acctbal", "supplier.s_name", "nation.n_name", "part.p_partkey", "part.p_mfgr", "supplier.s_address", "supplier.s_phone", "supplier.s_comment"], "Plans": [{"Node Type": "Sort", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 385858.39, "Total Cost": 385858.4, "Plan Rows": 1, "Plan Width": 192, "Actual Startup Time": 3140.876, "Actual Total Time": 3141.087, "Actual Rows": 100, "Actual Loops": 1, "Output": ["supplier.s_acctbal", "supplier.s_name", "nation.n_name", "part.p_partkey", "part.p_mfgr", "supplier.s_address", "supplier.s_phone", "supplier.s_comment"], "Sort Key": ["supplier.s_acctbal DESC", "nation.n_name", "supplier.s_name", "part.p_partkey"], "Sort Method": "top-N heapsort", "Sort Space Used": 71, "Sort Space Type": "Memory", "Plans": [{"Node Type": "Hash Join", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Join Type": "Inner", "Startup Cost": 157604.38, "Total Cost": 385858.38, "Plan Rows": 1, "Plan Width": 192, "Actual Startup Time": 2471.752, "Actual Total Time": 3138.58, "Actual Rows": 4732, "Actual Loops": 1, "Output": ["supplier.s_acctbal", "supplier.s_name", "nation.n_name", "part.p_partkey", "part.p_mfgr", "supplier.s_address", "supplier.s_phone", "supplier.s_comment"], "Inner Unique": false, "Hash Cond": "((part.p_partkey = partsupp.ps_partkey) AND ((SubPlan 1) = partsupp.ps_supplycost))", "Plans": [{"Node Type": "Gather", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 1000.0, "Total Cost": 50275.1, "Plan Rows": 8131, "Plan Width": 30, "Actual Startup Time": 0.312, "Actual Total Time": 2.468, "Actual Rows": 8075, "Actual Loops": 1, "Output": ["part.p_partkey", "part.p_mfgr"], "Workers Planned": 4, "Workers Launched": 4, "Single Copy": false, "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": true, "Async Capable": false, "Relation Name": "part", "Schema": "public", "Alias": "part", "Startup Cost": 0.0, "Total Cost": 48462.0, "Plan Rows": 2033, "Plan Width": 30, "Actual Startup Time": 0.06, "Actual Total Time": 114.265, "Actual Rows": 1615, "Actual Loops": 5, "Output": ["part.p_partkey", "part.p_mfgr"], "Filter": "(((part.p_type)::text ~~ '%TIN'::text) AND (part.p_size = 44))", "Rows Removed by Filter": 398385, "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.112, "Actual Total Time": 188.328, "Actual Rows": 2632, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 0.095, "Actual Total Time": 165.282, "Actual Rows": 2349, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 0.034, "Actual Total Time": 127.163, "Actual Rows": 1808, "Actual Loops": 1}, {"Worker Number": 3, "Actual Startup Time": 0.033, "Actual Total Time": 90.031, "Actual Rows": 1280, "Actual Loops": 1}]}]}, {"Node Type": "Hash", "Parent Relationship": "Inner", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 93542.79, "Total Cost": 93542.79, "Plan Rows": 1599973, "Plan Width": 172, "Actual Startup Time": 2470.67, "Actual Total Time": 2470.707, "Actual Rows": 1602640, "Actual Loops": 1, "Output": ["supplier.s_acctbal", "supplier.s_name", "supplier.s_address", "supplier.s_phone", "supplier.s_comment", "partsupp.ps_partkey", "partsupp.ps_supplycost", "nation.n_name"], "Hash Buckets": 262144, "Original Hash Buckets": 262144, "Hash Batches": 16, "Original Hash Batches": 16, "Peak Memory Usage": 22469, "Plans": [{"Node Type": "Nested Loop", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Join Type": "Inner", "Startup Cost": 0.72, "Total Cost": 93542.79, "Plan Rows": 1599973, "Plan Width": 172, "Actual Startup Time": 0.037, "Actual Total Time": 1626.66, "Actual Rows": 1602640, "Actual Loops": 1, "Output": ["supplier.s_acctbal", "supplier.s_name", "supplier.s_address", "supplier.s_phone", "supplier.s_comment", "partsupp.ps_partkey", "partsupp.ps_supplycost", "nation.n_name"], "Inner Unique": false, "Plans": [{"Node Type": "Nested Loop", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Join Type": "Inner", "Startup Cost": 0.29, "Total Cost": 1055.41, "Plan Rows": 20000, "Plan Width": 166, "Actual Startup Time": 0.024, "Actual Total Time": 17.665, "Actual Rows": 20033, "Actual Loops": 1, "Output": ["supplier.s_acctbal", "supplier.s_name", "supplier.s_address", "supplier.s_phone", "supplier.s_comment", "supplier.s_suppkey", "nation.n_name"], "Inner Unique": false, "Plans": [{"Node Type": "Nested Loop", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Join Type": "Inner", "Startup Cost": 0.0, "Total Cost": 2.62, "Plan Rows": 5, "Plan Width": 30, "Actual Startup Time": 0.011, "Actual Total Time": 0.044, "Actual Rows": 5, "Actual Loops": 1, "Output": ["nation.n_name", "nation.n_nationkey"], "Inner Unique": false, "Join Filter": "(nation.n_regionkey = region.r_regionkey)", "Rows Removed by Join Filter": 20, "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Relation Name": "region", "Schema": "public", "Alias": "region", "Startup Cost": 0.0, "Total Cost": 1.06, "Plan Rows": 1, "Plan Width": 4, "Actual Startup Time": 0.005, "Actual Total Time": 0.013, "Actual Rows": 1, "Actual Loops": 1, "Output": ["region.r_regionkey", "region.r_name", "region.r_comment"], "Filter": "(region.r_name = 'EUROPE'::bpchar)", "Rows Removed by Filter": 4}, {"Node Type": "Seq Scan", "Parent Relationship": "Inner", "Parallel Aware": false, "Async Capable": false, "Relation Name": "nation", "Schema": "public", "Alias": "nation", "Startup Cost": 0.0, "Total Cost": 1.25, "Plan Rows": 25, "Plan Width": 34, "Actual Startup Time": 0.003, "Actual Total Time": 0.012, "Actual Rows": 25, "Actual Loops": 1, "Output": ["nation.n_nationkey", "nation.n_name", "nation.n_regionkey", "nation.n_comment"]}]}, {"Node Type": "Index Scan", "Parent Relationship": "Inner", "Parallel Aware": false, "Async Capable": false, "Scan Direction": "Forward", "Index Name": "s_nk", "Relation Name": "supplier", "Schema": "public", "Alias": "supplier", "Startup Cost": 0.29, "Total Cost": 170.56, "Plan Rows": 4000, "Plan Width": 144, "Actual Startup Time": 0.008, "Actual Total Time": 2.363, "Actual Rows": 4007, "Actual Loops": 5, "Output": ["supplier.s_suppkey", "supplier.s_name", "supplier.s_address", "supplier.s_nationkey", "supplier.s_phone", "supplier.s_acctbal", "supplier.s_comment"], "Index Cond": "(supplier.s_nationkey = nation.n_nationkey)", "Rows Removed by Index Recheck": 0}]}, {"Node Type": "Index Scan", "Parent Relationship": "Inner", "Parallel Aware": false, "Async Capable": false, "Scan Direction": "Forward", "Index Name": "ps_sk", "Relation Name": "partsupp", "Schema": "public", "Alias": "partsupp", "Startup Cost": 0.43, "Total Cost": 3.82, "Plan Rows": 80, "Plan Width": 14, "Actual Startup Time": 0.003, "Actual Total Time": 0.067, "Actual Rows": 80, "Actual Loops": 20033, "Output": ["partsupp.ps_partkey", "partsupp.ps_suppkey", "partsupp.ps_availqty", "partsupp.ps_supplycost", "partsupp.ps_comment"], "Index Cond": "(partsupp.ps_suppkey = supplier.s_suppkey)", "Rows Removed by Index Recheck": 0}]}]}, {"Node Type": "Aggregate", "Strategy": "Plain", "Partial Mode": "Simple", "Parent Relationship": "SubPlan", "Subplan Name": "SubPlan 1", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 17.17, "Total Cost": 17.18, "Plan Rows": 1, "Plan Width": 32, "Actual Startup Time": 0.025, "Actual Total Time": 0.025, "Actual Rows": 1, "Actual Loops": 12807, "Output": ["min(partsupp_1.ps_supplycost)"], "Plans": [{"Node Type": "Nested Loop", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Join Type": "Inner", "Startup Cost": 0.86, "Total Cost": 17.17, "Plan Rows": 1, "Plan Width": 6, "Actual Startup Time": 0.018, "Actual Total Time": 0.024, "Actual Rows": 1, "Actual Loops": 12807, "Output": ["partsupp_1.ps_supplycost"], "Inner Unique": false, "Join Filter": "(nation_1.n_regionkey = region_1.r_regionkey)", "Rows Removed by Join Filter": 3, "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Relation Name": "region", "Schema": "public", "Alias": "region_1", "Startup Cost": 0.0, "Total Cost": 1.06, "Plan Rows": 1, "Plan Width": 4, "Actual Startup Time": 0.001, "Actual Total Time": 0.001, "Actual Rows": 1, "Actual Loops": 12807, "Output": ["region_1.r_regionkey", "region_1.r_name", "region_1.r_comment"], "Filter": "(region_1.r_name = 'EUROPE'::bpchar)", "Rows Removed by Filter": 4}, {"Node Type": "Nested Loop", "Parent Relationship": "Inner", "Parallel Aware": false, "Async Capable": false, "Join Type": "Inner", "Startup Cost": 0.86, "Total Cost": 16.05, "Plan Rows": 5, "Plan Width": 10, "Actual Startup Time": 0.009, "Actual Total Time": 0.022, "Actual Rows": 4, "Actual Loops": 12807, "Output": ["partsupp_1.ps_supplycost", "nation_1.n_regionkey"], "Inner Unique": true, "Plans": [{"Node Type": "Nested Loop", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Join Type": "Inner", "Startup Cost": 0.72, "Total Cost": 15.27, "Plan Rows": 5, "Plan Width": 10, "Actual Startup Time": 0.008, "Actual Total Time": 0.017, "Actual Rows": 4, "Actual Loops": 12807, "Output": ["partsupp_1.ps_supplycost", "supplier_1.s_nationkey"], "Inner Unique": true, "Plans": [{"Node Type": "Index Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Scan Direction": "Forward", "Index Name": "ps_pk", "Relation Name": "partsupp", "Schema": "public", "Alias": "partsupp_1", "Startup Cost": 0.43, "Total Cost": 2.72, "Plan Rows": 5, "Plan Width": 10, "Actual Startup Time": 0.005, "Actual Total Time": 0.006, "Actual Rows": 4, "Actual Loops": 12807, "Output": ["partsupp_1.ps_partkey", "partsupp_1.ps_suppkey", "partsupp_1.ps_availqty", "partsupp_1.ps_supplycost", "partsupp_1.ps_comment"], "Index Cond": "(partsupp_1.ps_partkey = part.p_partkey)", "Rows Removed by Index Recheck": 0}, {"Node Type": "Index Scan", "Parent Relationship": "Inner", "Parallel Aware": false, "Async Capable": false, "Scan Direction": "Forward", "Index Name": "s_sk", "Relation Name": "supplier", "Schema": "public", "Alias": "supplier_1", "Startup Cost": 0.29, "Total Cost": 2.51, "Plan Rows": 1, "Plan Width": 8, "Actual Startup Time": 0.002, "Actual Total Time": 0.002, "Actual Rows": 1, "Actual Loops": 51228, "Output": ["supplier_1.s_suppkey", "supplier_1.s_name", "supplier_1.s_address", "supplier_1.s_nationkey", "supplier_1.s_phone", "supplier_1.s_acctbal", "supplier_1.s_comment"], "Index Cond": "(supplier_1.s_suppkey = partsupp_1.ps_suppkey)", "Rows Removed by Index Recheck": 0}]}, {"Node Type": "Index Scan", "Parent Relationship": "Inner", "Parallel Aware": false, "Async Capable": false, "Scan Direction": "Forward", "Index Name": "n_nk", "Relation Name": "nation", "Schema": "public", "Alias": "nation_1", "Startup Cost": 0.14, "Total Cost": 0.16, "Plan Rows": 1, "Plan Width": 8, "Actual Startup Time": 0.001, "Actual Total Time": 0.001, "Actual Rows": 1, "Actual Loops": 51228, "Output": ["nation_1.n_nationkey", "nation_1.n_name", "nation_1.n_regionkey", "nation_1.n_comment"], "Index Cond": "(nation_1.n_nationkey = supplier_1.s_nationkey)", "Rows Removed by Index Recheck": 0}]}]}]}]}]}]}, "Planning Time": 2.389, "Triggers": [], "Execution Time": 3142.468} diff --git a/dev9/pg15/tpch/sf_10/explain_analyze/15721/20-1.ok b/dev9/pg15/tpch/sf_10/explain_analyze/15721/20-1.ok new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/dev9/pg15/tpch/sf_10/explain_analyze/15721/20-1.res b/dev9/pg15/tpch/sf_10/explain_analyze/15721/20-1.res new file mode 100644 index 0000000000000000000000000000000000000000..0ef12914d697253682730cb287d1c1967af885a9 --- /dev/null +++ b/dev9/pg15/tpch/sf_10/explain_analyze/15721/20-1.res @@ -0,0 +1 @@ +{"Plan": {"Node Type": "Sort", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 427452.28, "Total Cost": 427455.49, "Plan Rows": 1283, "Plan Width": 51, "Actual Startup Time": 1612.643, "Actual Total Time": 1612.863, "Actual Rows": 1786, "Actual Loops": 1, "Output": ["supplier.s_name", "supplier.s_address"], "Sort Key": ["supplier.s_name"], "Sort Method": "quicksort", "Sort Space Used": 214, "Sort Space Type": "Memory", "Plans": [{"Node Type": "Hash Join", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Join Type": "Semi", "Startup Cost": 425155.11, "Total Cost": 427386.04, "Plan Rows": 1283, "Plan Width": 51, "Actual Startup Time": 1604.075, "Actual Total Time": 1609.28, "Actual Rows": 1786, "Actual Loops": 1, "Output": ["supplier.s_name", "supplier.s_address"], "Inner Unique": false, "Hash Cond": "(supplier.s_suppkey = partsupp.ps_suppkey)", "Plans": [{"Node Type": "Nested Loop", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Join Type": "Inner", "Startup Cost": 35.69, "Total Cost": 2235.44, "Plan Rows": 4000, "Plan Width": 55, "Actual Startup Time": 0.747, "Actual Total Time": 4.738, "Actual Rows": 4049, "Actual Loops": 1, "Output": ["supplier.s_name", "supplier.s_address", "supplier.s_suppkey"], "Inner Unique": false, "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Relation Name": "nation", "Schema": "public", "Alias": "nation", "Startup Cost": 0.0, "Total Cost": 1.31, "Plan Rows": 1, "Plan Width": 4, "Actual Startup Time": 0.006, "Actual Total Time": 0.012, "Actual Rows": 1, "Actual Loops": 1, "Output": ["nation.n_nationkey", "nation.n_name", "nation.n_regionkey", "nation.n_comment"], "Filter": "(nation.n_name = 'GERMANY'::bpchar)", "Rows Removed by Filter": 24}, {"Node Type": "Bitmap Heap Scan", "Parent Relationship": "Inner", "Parallel Aware": false, "Async Capable": false, "Relation Name": "supplier", "Schema": "public", "Alias": "supplier", "Startup Cost": 35.69, "Total Cost": 2194.12, "Plan Rows": 4000, "Plan Width": 59, "Actual Startup Time": 0.738, "Actual Total Time": 4.04, "Actual Rows": 4049, "Actual Loops": 1, "Output": ["supplier.s_suppkey", "supplier.s_name", "supplier.s_address", "supplier.s_nationkey", "supplier.s_phone", "supplier.s_acctbal", "supplier.s_comment"], "Recheck Cond": "(supplier.s_nationkey = nation.n_nationkey)", "Rows Removed by Index Recheck": 0, "Exact Heap Blocks": 1874, "Lossy Heap Blocks": 0, "Plans": [{"Node Type": "Bitmap Index Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Index Name": "s_nk", "Startup Cost": 0.0, "Total Cost": 34.69, "Plan Rows": 4000, "Plan Width": 0, "Actual Startup Time": 0.369, "Actual Total Time": 0.369, "Actual Rows": 4049, "Actual Loops": 1, "Index Cond": "(supplier.s_nationkey = nation.n_nationkey)"}]}]}, {"Node Type": "Hash", "Parent Relationship": "Inner", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 424718.63, "Total Cost": 424718.63, "Plan Rows": 32063, "Plan Width": 4, "Actual Startup Time": 1603.273, "Actual Total Time": 1603.393, "Actual Rows": 59274, "Actual Loops": 1, "Output": ["partsupp.ps_suppkey"], "Hash Buckets": 65536, "Original Hash Buckets": 32768, "Hash Batches": 1, "Original Hash Batches": 1, "Peak Memory Usage": 2596, "Plans": [{"Node Type": "Nested Loop", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Join Type": "Inner", "Startup Cost": 1000.43, "Total Cost": 424718.63, "Plan Rows": 32063, "Plan Width": 4, "Actual Startup Time": 0.343, "Actual Total Time": 1587.7, "Actual Rows": 59274, "Actual Loops": 1, "Output": ["partsupp.ps_suppkey"], "Inner Unique": false, "Plans": [{"Node Type": "Gather", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 1000.0, "Total Cost": 50616.8, "Plan Rows": 24048, "Plan Width": 4, "Actual Startup Time": 0.293, "Actual Total Time": 6.293, "Actual Rows": 21783, "Actual Loops": 1, "Output": ["part.p_partkey"], "Workers Planned": 4, "Workers Launched": 4, "Single Copy": false, "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": true, "Async Capable": false, "Relation Name": "part", "Schema": "public", "Alias": "part", "Startup Cost": 0.0, "Total Cost": 47212.0, "Plan Rows": 6012, "Plan Width": 4, "Actual Startup Time": 0.043, "Actual Total Time": 70.906, "Actual Rows": 4357, "Actual Loops": 5, "Output": ["part.p_partkey"], "Filter": "((part.p_name)::text ~~ 'floral%'::text)", "Rows Removed by Filter": 395643, "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.024, "Actual Total Time": 35.906, "Actual Rows": 2061, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 0.051, "Actual Total Time": 35.353, "Actual Rows": 2068, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 0.027, "Actual Total Time": 37.311, "Actual Rows": 2054, "Actual Loops": 1}, {"Worker Number": 3, "Actual Startup Time": 0.085, "Actual Total Time": 243.357, "Actual Rows": 15448, "Actual Loops": 1}]}]}, {"Node Type": "Index Scan", "Parent Relationship": "Inner", "Parallel Aware": false, "Async Capable": false, "Scan Direction": "Forward", "Index Name": "ps_pk", "Relation Name": "partsupp", "Schema": "public", "Alias": "partsupp", "Startup Cost": 0.43, "Total Cost": 15.54, "Plan Rows": 2, "Plan Width": 8, "Actual Startup Time": 0.028, "Actual Total Time": 0.072, "Actual Rows": 3, "Actual Loops": 21783, "Output": ["partsupp.ps_partkey", "partsupp.ps_suppkey", "partsupp.ps_availqty", "partsupp.ps_supplycost", "partsupp.ps_comment"], "Index Cond": "(partsupp.ps_partkey = part.p_partkey)", "Rows Removed by Index Recheck": 0, "Filter": "((partsupp.ps_availqty)::numeric > (SubPlan 1))", "Rows Removed by Filter": 1, "Plans": [{"Node Type": "Aggregate", "Strategy": "Plain", "Partial Mode": "Simple", "Parent Relationship": "SubPlan", "Subplan Name": "SubPlan 1", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 2.67, "Total Cost": 2.68, "Plan Rows": 1, "Plan Width": 32, "Actual Startup Time": 0.016, "Actual Total Time": 0.016, "Actual Rows": 1, "Actual Loops": 87132, "Output": ["(0.5 * sum(lineitem.l_quantity))"], "Plans": [{"Node Type": "Index Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Scan Direction": "Forward", "Index Name": "l_sk_pk", "Relation Name": "lineitem", "Schema": "public", "Alias": "lineitem", "Startup Cost": 0.44, "Total Cost": 2.67, "Plan Rows": 1, "Plan Width": 5, "Actual Startup Time": 0.011, "Actual Total Time": 0.015, "Actual Rows": 1, "Actual Loops": 87132, "Output": ["lineitem.l_orderkey", "lineitem.l_partkey", "lineitem.l_suppkey", "lineitem.l_linenumber", "lineitem.l_quantity", "lineitem.l_extendedprice", "lineitem.l_discount", "lineitem.l_tax", "lineitem.l_returnflag", "lineitem.l_linestatus", "lineitem.l_shipdate", "lineitem.l_commitdate", "lineitem.l_receiptdate", "lineitem.l_shipinstruct", "lineitem.l_shipmode", "lineitem.l_comment"], "Index Cond": "((lineitem.l_suppkey = partsupp.ps_suppkey) AND (lineitem.l_partkey = partsupp.ps_partkey))", "Rows Removed by Index Recheck": 0, "Filter": "((lineitem.l_shipdate >= '1996-01-01'::date) AND (lineitem.l_shipdate < '1997-01-01 00:00:00'::timestamp without time zone))", "Rows Removed by Filter": 6}]}]}]}]}]}]}, "Planning Time": 0.817, "Triggers": [], "Execution Time": 1613.007} diff --git a/dev9/pg15/tpch/sf_10/explain_analyze/15721/21-1.ok b/dev9/pg15/tpch/sf_10/explain_analyze/15721/21-1.ok new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/dev9/pg15/tpch/sf_10/explain_analyze/15721/21-1.res b/dev9/pg15/tpch/sf_10/explain_analyze/15721/21-1.res new file mode 100644 index 0000000000000000000000000000000000000000..1877d974b90e108ab8b7e8b1d5bc751db3de0276 --- /dev/null +++ b/dev9/pg15/tpch/sf_10/explain_analyze/15721/21-1.res @@ -0,0 +1 @@ +{"Plan": {"Node Type": "Limit", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 406932.39, "Total Cost": 406932.39, "Plan Rows": 1, "Plan Width": 34, "Actual Startup Time": 6964.561, "Actual Total Time": 7101.17, "Actual Rows": 100, "Actual Loops": 1, "Output": ["supplier.s_name", "(count(*))"], "Plans": [{"Node Type": "Sort", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 406932.39, "Total Cost": 406932.39, "Plan Rows": 1, "Plan Width": 34, "Actual Startup Time": 6964.56, "Actual Total Time": 7101.16, "Actual Rows": 100, "Actual Loops": 1, "Output": ["supplier.s_name", "(count(*))"], "Sort Key": ["(count(*)) DESC", "supplier.s_name"], "Sort Method": "top-N heapsort", "Sort Space Used": 38, "Sort Space Type": "Memory", "Plans": [{"Node Type": "Aggregate", "Strategy": "Sorted", "Partial Mode": "Simple", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 406932.36, "Total Cost": 406932.38, "Plan Rows": 1, "Plan Width": 34, "Actual Startup Time": 6953.757, "Actual Total Time": 7099.502, "Actual Rows": 3988, "Actual Loops": 1, "Output": ["supplier.s_name", "count(*)"], "Group Key": ["supplier.s_name"], "Plans": [{"Node Type": "Sort", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 406932.36, "Total Cost": 406932.36, "Plan Rows": 1, "Plan Width": 26, "Actual Startup Time": 6953.745, "Actual Total Time": 7092.671, "Actual Rows": 39932, "Actual Loops": 1, "Output": ["supplier.s_name"], "Sort Key": ["supplier.s_name"], "Sort Method": "quicksort", "Sort Space Used": 4344, "Sort Space Type": "Memory", "Plans": [{"Node Type": "Nested Loop", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Join Type": "Inner", "Startup Cost": 1003.33, "Total Cost": 406932.35, "Plan Rows": 1, "Plan Width": 26, "Actual Startup Time": 0.987, "Actual Total Time": 7013.45, "Actual Rows": 39932, "Actual Loops": 1, "Output": ["supplier.s_name"], "Inner Unique": true, "Plans": [{"Node Type": "Nested Loop", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Join Type": "Semi", "Startup Cost": 1002.9, "Total Cost": 406931.87, "Plan Rows": 1, "Plan Width": 34, "Actual Startup Time": 0.975, "Actual Total Time": 6508.662, "Actual Rows": 81076, "Actual Loops": 1, "Output": ["supplier.s_name", "l1.l_orderkey", "l2.l_orderkey"], "Inner Unique": false, "Plans": [{"Node Type": "Gather", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 1002.33, "Total Cost": 406930.62, "Plan Rows": 1, "Plan Width": 34, "Actual Startup Time": 0.434, "Actual Total Time": 5876.389, "Actual Rows": 135007, "Actual Loops": 1, "Output": ["supplier.s_name", "l1.l_suppkey", "l1.l_orderkey"], "Workers Planned": 1, "Workers Launched": 1, "Single Copy": false, "Plans": [{"Node Type": "Nested Loop", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Join Type": "Anti", "Startup Cost": 2.33, "Total Cost": 405930.52, "Plan Rows": 1, "Plan Width": 34, "Actual Startup Time": 0.64, "Actual Total Time": 6288.343, "Actual Rows": 67504, "Actual Loops": 2, "Output": ["supplier.s_name", "l1.l_suppkey", "l1.l_orderkey"], "Inner Unique": false, "Workers": [{"Worker Number": 0, "Actual Startup Time": 1.165, "Actual Total Time": 6857.748, "Actual Rows": 74075, "Actual Loops": 1}], "Plans": [{"Node Type": "Nested Loop", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Join Type": "Inner", "Startup Cost": 1.76, "Total Cost": 67617.1, "Plan Rows": 470485, "Plan Width": 34, "Actual Startup Time": 0.192, "Actual Total Time": 2074.89, "Actual Rows": 756457, "Actual Loops": 2, "Output": ["supplier.s_name", "l1.l_suppkey", "l1.l_orderkey"], "Inner Unique": false, "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.337, "Actual Total Time": 2345.857, "Actual Rows": 832915, "Actual Loops": 1}], "Plans": [{"Node Type": "Hash Join", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Join Type": "Inner", "Startup Cost": 1.32, "Total Cost": 2986.15, "Plan Rows": 2353, "Plan Width": 30, "Actual Startup Time": 0.121, "Actual Total Time": 20.295, "Actual Rows": 1994, "Actual Loops": 2, "Output": ["supplier.s_name", "supplier.s_suppkey"], "Inner Unique": true, "Hash Cond": "(supplier.s_nationkey = nation.n_nationkey)", "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.219, "Actual Total Time": 22.809, "Actual Rows": 2196, "Actual Loops": 1}], "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": true, "Async Capable": false, "Relation Name": "supplier", "Schema": "public", "Alias": "supplier", "Startup Cost": 0.0, "Total Cost": 2804.24, "Plan Rows": 58824, "Plan Width": 34, "Actual Startup Time": 0.01, "Actual Total Time": 5.96, "Actual Rows": 50000, "Actual Loops": 2, "Output": ["supplier.s_suppkey", "supplier.s_name", "supplier.s_address", "supplier.s_nationkey", "supplier.s_phone", "supplier.s_acctbal", "supplier.s_comment"], "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.017, "Actual Total Time": 6.835, "Actual Rows": 56517, "Actual Loops": 1}]}, {"Node Type": "Hash", "Parent Relationship": "Inner", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 1.31, "Total Cost": 1.31, "Plan Rows": 1, "Plan Width": 4, "Actual Startup Time": 0.021, "Actual Total Time": 0.022, "Actual Rows": 1, "Actual Loops": 2, "Output": ["nation.n_nationkey"], "Hash Buckets": 1024, "Original Hash Buckets": 1024, "Hash Batches": 1, "Original Hash Batches": 1, "Peak Memory Usage": 9, "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.032, "Actual Total Time": 0.033, "Actual Rows": 1, "Actual Loops": 1}], "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Relation Name": "nation", "Schema": "public", "Alias": "nation", "Startup Cost": 0.0, "Total Cost": 1.31, "Plan Rows": 1, "Plan Width": 4, "Actual Startup Time": 0.017, "Actual Total Time": 0.019, "Actual Rows": 1, "Actual Loops": 2, "Output": ["nation.n_nationkey"], "Filter": "(nation.n_name = 'CHINA'::bpchar)", "Rows Removed by Filter": 24, "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.027, "Actual Total Time": 0.028, "Actual Rows": 1, "Actual Loops": 1}]}]}]}, {"Node Type": "Index Scan", "Parent Relationship": "Inner", "Parallel Aware": false, "Async Capable": false, "Scan Direction": "Forward", "Index Name": "l_sk_pk", "Relation Name": "lineitem", "Schema": "public", "Alias": "l1", "Startup Cost": 0.44, "Total Cost": 25.47, "Plan Rows": 200, "Plan Width": 8, "Actual Startup Time": 0.015, "Actual Total Time": 0.98, "Actual Rows": 379, "Actual Loops": 3988, "Output": ["l1.l_orderkey", "l1.l_partkey", "l1.l_suppkey", "l1.l_linenumber", "l1.l_quantity", "l1.l_extendedprice", "l1.l_discount", "l1.l_tax", "l1.l_returnflag", "l1.l_linestatus", "l1.l_shipdate", "l1.l_commitdate", "l1.l_receiptdate", "l1.l_shipinstruct", "l1.l_shipmode", "l1.l_comment"], "Index Cond": "(l1.l_suppkey = supplier.s_suppkey)", "Rows Removed by Index Recheck": 0, "Filter": "(l1.l_receiptdate > l1.l_commitdate)", "Rows Removed by Filter": 221, "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.017, "Actual Total Time": 1.007, "Actual Rows": 379, "Actual Loops": 2196}]}]}, {"Node Type": "Index Scan", "Parent Relationship": "Inner", "Parallel Aware": false, "Async Capable": false, "Scan Direction": "Forward", "Index Name": "l_ok", "Relation Name": "lineitem", "Schema": "public", "Alias": "l3", "Startup Cost": 0.56, "Total Cost": 1.31, "Plan Rows": 10, "Plan Width": 8, "Actual Startup Time": 0.005, "Actual Total Time": 0.005, "Actual Rows": 1, "Actual Loops": 1512914, "Output": ["l3.l_orderkey", "l3.l_partkey", "l3.l_suppkey", "l3.l_linenumber", "l3.l_quantity", "l3.l_extendedprice", "l3.l_discount", "l3.l_tax", "l3.l_returnflag", "l3.l_linestatus", "l3.l_shipdate", "l3.l_commitdate", "l3.l_receiptdate", "l3.l_shipinstruct", "l3.l_shipmode", "l3.l_comment"], "Index Cond": "(l3.l_orderkey = l1.l_orderkey)", "Rows Removed by Index Recheck": 0, "Filter": "((l3.l_receiptdate > l3.l_commitdate) AND (l3.l_suppkey <> l1.l_suppkey))", "Rows Removed by Filter": 1, "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.005, "Actual Total Time": 0.005, "Actual Rows": 1, "Actual Loops": 832915}]}]}]}, {"Node Type": "Index Scan", "Parent Relationship": "Inner", "Parallel Aware": false, "Async Capable": false, "Scan Direction": "Forward", "Index Name": "l_ok", "Relation Name": "lineitem", "Schema": "public", "Alias": "l2", "Startup Cost": 0.56, "Total Cost": 1.23, "Plan Rows": 30, "Plan Width": 8, "Actual Startup Time": 0.004, "Actual Total Time": 0.004, "Actual Rows": 1, "Actual Loops": 135007, "Output": ["l2.l_orderkey", "l2.l_partkey", "l2.l_suppkey", "l2.l_linenumber", "l2.l_quantity", "l2.l_extendedprice", "l2.l_discount", "l2.l_tax", "l2.l_returnflag", "l2.l_linestatus", "l2.l_shipdate", "l2.l_commitdate", "l2.l_receiptdate", "l2.l_shipinstruct", "l2.l_shipmode", "l2.l_comment"], "Index Cond": "(l2.l_orderkey = l1.l_orderkey)", "Rows Removed by Index Recheck": 0, "Filter": "(l2.l_suppkey <> l1.l_suppkey)", "Rows Removed by Filter": 1}]}, {"Node Type": "Index Scan", "Parent Relationship": "Inner", "Parallel Aware": false, "Async Capable": false, "Scan Direction": "Forward", "Index Name": "o_ok", "Relation Name": "orders", "Schema": "public", "Alias": "orders", "Startup Cost": 0.43, "Total Cost": 0.47, "Plan Rows": 1, "Plan Width": 4, "Actual Startup Time": 0.006, "Actual Total Time": 0.006, "Actual Rows": 0, "Actual Loops": 81076, "Output": ["orders.o_orderkey", "orders.o_custkey", "orders.o_orderstatus", "orders.o_totalprice", "orders.o_orderdate", "orders.o_orderpriority", "orders.o_clerk", "orders.o_shippriority", "orders.o_comment"], "Index Cond": "(orders.o_orderkey = l1.l_orderkey)", "Rows Removed by Index Recheck": 0, "Filter": "(orders.o_orderstatus = 'F'::bpchar)", "Rows Removed by Filter": 1}]}]}]}]}]}, "Planning Time": 2.845, "Triggers": [], "Execution Time": 7101.248} diff --git a/dev9/pg15/tpch/sf_10/explain_analyze/15721/22-1.ok b/dev9/pg15/tpch/sf_10/explain_analyze/15721/22-1.ok new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/dev9/pg15/tpch/sf_10/explain_analyze/15721/22-1.res b/dev9/pg15/tpch/sf_10/explain_analyze/15721/22-1.res new file mode 100644 index 0000000000000000000000000000000000000000..16ed92be4e24317089c7225d426646ad6fec5129 --- /dev/null +++ b/dev9/pg15/tpch/sf_10/explain_analyze/15721/22-1.res @@ -0,0 +1 @@ +{"Plan": {"Node Type": "Aggregate", "Strategy": "Sorted", "Partial Mode": "Simple", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 95812.06, "Total Cost": 96913.35, "Plan Rows": 7609, "Plan Width": 72, "Actual Startup Time": 531.693, "Actual Total Time": 560.305, "Actual Rows": 7, "Actual Loops": 1, "Output": ["(SUBSTRING(customer.c_phone FROM 1 FOR 2))", "count(*)", "sum(customer.c_acctbal)"], "Group Key": ["(SUBSTRING(customer.c_phone FROM 1 FOR 2))"], "Plans": [{"Node Type": "Aggregate", "Strategy": "Plain", "Partial Mode": "Finalize", "Parent Relationship": "InitPlan", "Subplan Name": "InitPlan 1 (returns $1)", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 46701.06, "Total Cost": 46701.07, "Plan Rows": 1, "Plan Width": 32, "Actual Startup Time": 240.398, "Actual Total Time": 240.479, "Actual Rows": 1, "Actual Loops": 1, "Output": ["avg(customer_1.c_acctbal)"], "Plans": [{"Node Type": "Gather", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 46700.63, "Total Cost": 46701.04, "Plan Rows": 4, "Plan Width": 32, "Actual Startup Time": 240.32, "Actual Total Time": 240.467, "Actual Rows": 5, "Actual Loops": 1, "Output": ["(PARTIAL avg(customer_1.c_acctbal))"], "Workers Planned": 4, "Workers Launched": 4, "Single Copy": false, "Plans": [{"Node Type": "Aggregate", "Strategy": "Plain", "Partial Mode": "Partial", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 45700.63, "Total Cost": 45700.64, "Plan Rows": 1, "Plan Width": 32, "Actual Startup Time": 236.704, "Actual Total Time": 236.704, "Actual Rows": 1, "Actual Loops": 5, "Output": ["PARTIAL avg(customer_1.c_acctbal)"], "Workers": [{"Worker Number": 0, "Actual Startup Time": 235.756, "Actual Total Time": 235.756, "Actual Rows": 1, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 235.878, "Actual Total Time": 235.879, "Actual Rows": 1, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 235.885, "Actual Total Time": 235.885, "Actual Rows": 1, "Actual Loops": 1}, {"Worker Number": 3, "Actual Startup Time": 235.992, "Actual Total Time": 235.993, "Actual Rows": 1, "Actual Loops": 1}], "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": true, "Async Capable": false, "Relation Name": "customer", "Schema": "public", "Alias": "customer_1", "Startup Cost": 0.0, "Total Cost": 45670.75, "Plan Rows": 11950, "Plan Width": 6, "Actual Startup Time": 0.037, "Actual Total Time": 227.73, "Actual Rows": 76349, "Actual Loops": 5, "Output": ["customer_1.c_custkey", "customer_1.c_name", "customer_1.c_address", "customer_1.c_nationkey", "customer_1.c_phone", "customer_1.c_acctbal", "customer_1.c_mktsegment", "customer_1.c_comment"], "Filter": "((customer_1.c_acctbal > 0.00) AND (SUBSTRING(customer_1.c_phone FROM 1 FOR 2) = ANY ('{17,20,25,31,30,11,33}'::text[])))", "Rows Removed by Filter": 223651, "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.042, "Actual Total Time": 226.879, "Actual Rows": 75719, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 0.044, "Actual Total Time": 227.028, "Actual Rows": 75549, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 0.041, "Actual Total Time": 226.967, "Actual Rows": 76013, "Actual Loops": 1}, {"Worker Number": 3, "Actual Startup Time": 0.046, "Actual Total Time": 227.054, "Actual Rows": 76190, "Actual Loops": 1}]}]}]}]}, {"Node Type": "Gather Merge", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 49110.99, "Total Cost": 50022.05, "Plan Rows": 7609, "Plan Width": 38, "Actual Startup Time": 527.832, "Actual Total Time": 547.267, "Actual Rows": 64032, "Actual Loops": 1, "Output": ["(SUBSTRING(customer.c_phone FROM 1 FOR 2))", "customer.c_acctbal"], "Workers Planned": 4, "Params Evaluated": ["$1"], "Workers Launched": 4, "Plans": [{"Node Type": "Sort", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 48110.94, "Total Cost": 48115.69, "Plan Rows": 1902, "Plan Width": 38, "Actual Startup Time": 283.217, "Actual Total Time": 284.24, "Actual Rows": 12806, "Actual Loops": 5, "Output": ["(SUBSTRING(customer.c_phone FROM 1 FOR 2))", "customer.c_acctbal"], "Sort Key": ["(SUBSTRING(customer.c_phone FROM 1 FOR 2))"], "Sort Method": "quicksort", "Sort Space Used": 1112, "Sort Space Type": "Memory", "Workers": [{"Worker Number": 0, "Actual Startup Time": 282.019, "Actual Total Time": 283.03, "Actual Rows": 12475, "Actual Loops": 1, "Sort Method": "quicksort", "Sort Space Used": 1066, "Sort Space Type": "Memory"}, {"Worker Number": 1, "Actual Startup Time": 282.607, "Actual Total Time": 283.649, "Actual Rows": 12901, "Actual Loops": 1, "Sort Method": "quicksort", "Sort Space Used": 1089, "Sort Space Type": "Memory"}, {"Worker Number": 2, "Actual Startup Time": 282.363, "Actual Total Time": 283.555, "Actual Rows": 12705, "Actual Loops": 1, "Sort Method": "quicksort", "Sort Space Used": 1078, "Sort Space Type": "Memory"}, {"Worker Number": 3, "Actual Startup Time": 282.566, "Actual Total Time": 283.581, "Actual Rows": 12631, "Actual Loops": 1, "Sort Method": "quicksort", "Sort Space Used": 1074, "Sort Space Type": "Memory"}], "Plans": [{"Node Type": "Nested Loop", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Join Type": "Anti", "Startup Cost": 0.43, "Total Cost": 48007.34, "Plan Rows": 1902, "Plan Width": 38, "Actual Startup Time": 0.119, "Actual Total Time": 278.491, "Actual Rows": 12806, "Actual Loops": 5, "Output": ["SUBSTRING(customer.c_phone FROM 1 FOR 2)", "customer.c_acctbal"], "Inner Unique": false, "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.134, "Actual Total Time": 277.348, "Actual Rows": 12475, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 0.14, "Actual Total Time": 277.494, "Actual Rows": 12901, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 0.112, "Actual Total Time": 277.566, "Actual Rows": 12705, "Actual Loops": 1}, {"Worker Number": 3, "Actual Startup Time": 0.189, "Actual Total Time": 277.803, "Actual Rows": 12631, "Actual Loops": 1}], "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": true, "Async Capable": false, "Relation Name": "customer", "Schema": "public", "Alias": "customer", "Startup Cost": 0.0, "Total Cost": 45670.75, "Plan Rows": 4375, "Plan Width": 26, "Actual Startup Time": 0.033, "Actual Total Time": 164.414, "Actual Rows": 38175, "Actual Loops": 5, "Output": ["customer.c_custkey", "customer.c_name", "customer.c_address", "customer.c_nationkey", "customer.c_phone", "customer.c_acctbal", "customer.c_mktsegment", "customer.c_comment"], "Filter": "((customer.c_acctbal > $1) AND (SUBSTRING(customer.c_phone FROM 1 FOR 2) = ANY ('{17,20,25,31,30,11,33}'::text[])))", "Rows Removed by Filter": 261825, "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.041, "Actual Total Time": 161.981, "Actual Rows": 37305, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 0.04, "Actual Total Time": 162.279, "Actual Rows": 38048, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 0.034, "Actual Total Time": 163.123, "Actual Rows": 37723, "Actual Loops": 1}, {"Worker Number": 3, "Actual Startup Time": 0.042, "Actual Total Time": 162.734, "Actual Rows": 37931, "Actual Loops": 1}]}, {"Node Type": "Index Only Scan", "Parent Relationship": "Inner", "Parallel Aware": false, "Async Capable": false, "Scan Direction": "Forward", "Index Name": "o_ck", "Relation Name": "orders", "Schema": "public", "Alias": "orders", "Startup Cost": 0.43, "Total Cost": 1.45, "Plan Rows": 18, "Plan Width": 4, "Actual Startup Time": 0.003, "Actual Total Time": 0.003, "Actual Rows": 1, "Actual Loops": 190873, "Output": ["orders.o_custkey"], "Index Cond": "(orders.o_custkey = customer.c_custkey)", "Rows Removed by Index Recheck": 0, "Heap Fetches": 0, "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.003, "Actual Total Time": 0.003, "Actual Rows": 1, "Actual Loops": 37305}, {"Worker Number": 1, "Actual Startup Time": 0.003, "Actual Total Time": 0.003, "Actual Rows": 1, "Actual Loops": 38048}, {"Worker Number": 2, "Actual Startup Time": 0.003, "Actual Total Time": 0.003, "Actual Rows": 1, "Actual Loops": 37723}, {"Worker Number": 3, "Actual Startup Time": 0.003, "Actual Total Time": 0.003, "Actual Rows": 1, "Actual Loops": 37931}]}]}]}]}]}, "Planning Time": 0.405, "Triggers": [], "Execution Time": 560.363} diff --git a/dev9/pg15/tpch/sf_10/explain_analyze/15721/3-1.ok b/dev9/pg15/tpch/sf_10/explain_analyze/15721/3-1.ok new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/dev9/pg15/tpch/sf_10/explain_analyze/15721/3-1.res b/dev9/pg15/tpch/sf_10/explain_analyze/15721/3-1.res new file mode 100644 index 0000000000000000000000000000000000000000..783e1e1686d5d833bc0c83956b912d27b8c91f34 --- /dev/null +++ b/dev9/pg15/tpch/sf_10/explain_analyze/15721/3-1.res @@ -0,0 +1 @@ +{"Plan": {"Node Type": "Limit", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 1347430.0, "Total Cost": 1347430.02, "Plan Rows": 10, "Plan Width": 44, "Actual Startup Time": 3867.434, "Actual Total Time": 5199.827, "Actual Rows": 10, "Actual Loops": 1, "Output": ["lineitem.l_orderkey", "(sum((lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount))))", "orders.o_orderdate", "orders.o_shippriority"], "Plans": [{"Node Type": "Sort", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 1347430.0, "Total Cost": 1355237.11, "Plan Rows": 3122846, "Plan Width": 44, "Actual Startup Time": 3867.432, "Actual Total Time": 5199.822, "Actual Rows": 10, "Actual Loops": 1, "Output": ["lineitem.l_orderkey", "(sum((lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount))))", "orders.o_orderdate", "orders.o_shippriority"], "Sort Key": ["(sum((lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount)))) DESC", "orders.o_orderdate"], "Sort Method": "top-N heapsort", "Sort Space Used": 26, "Sort Space Type": "Memory", "Plans": [{"Node Type": "Aggregate", "Strategy": "Sorted", "Partial Mode": "Simple", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 820155.31, "Total Cost": 1279946.42, "Plan Rows": 3122846, "Plan Width": 44, "Actual Startup Time": 3560.82, "Actual Total Time": 5170.689, "Actual Rows": 113340, "Actual Loops": 1, "Output": ["lineitem.l_orderkey", "sum((lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount)))", "orders.o_orderdate", "orders.o_shippriority"], "Group Key": ["lineitem.l_orderkey", "orders.o_orderdate", "orders.o_shippriority"], "Plans": [{"Node Type": "Gather Merge", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 820155.31, "Total Cost": 1194068.16, "Plan Rows": 3122846, "Plan Width": 24, "Actual Startup Time": 3560.799, "Actual Total Time": 4960.74, "Actual Rows": 298749, "Actual Loops": 1, "Output": ["lineitem.l_orderkey", "orders.o_orderdate", "orders.o_shippriority", "lineitem.l_extendedprice", "lineitem.l_discount"], "Workers Planned": 4, "Workers Launched": 4, "Plans": [{"Node Type": "Sort", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 819155.25, "Total Cost": 821107.03, "Plan Rows": 780712, "Plan Width": 24, "Actual Startup Time": 3556.662, "Actual Total Time": 3565.969, "Actual Rows": 59750, "Actual Loops": 5, "Output": ["lineitem.l_orderkey", "orders.o_orderdate", "orders.o_shippriority", "lineitem.l_extendedprice", "lineitem.l_discount"], "Sort Key": ["lineitem.l_orderkey", "orders.o_orderdate", "orders.o_shippriority"], "Sort Method": "quicksort", "Sort Space Used": 5776, "Sort Space Type": "Memory", "Workers": [{"Worker Number": 0, "Actual Startup Time": 3555.58, "Actual Total Time": 3565.953, "Actual Rows": 58879, "Actual Loops": 1, "Sort Method": "quicksort", "Sort Space Used": 5563, "Sort Space Type": "Memory"}, {"Worker Number": 1, "Actual Startup Time": 3555.58, "Actual Total Time": 3565.559, "Actual Rows": 58906, "Actual Loops": 1, "Sort Method": "quicksort", "Sort Space Used": 5564, "Sort Space Type": "Memory"}, {"Worker Number": 2, "Actual Startup Time": 3555.864, "Actual Total Time": 3566.131, "Actual Rows": 59696, "Actual Loops": 1, "Sort Method": "quicksort", "Sort Space Used": 5618, "Sort Space Type": "Memory"}, {"Worker Number": 3, "Actual Startup Time": 3556.003, "Actual Total Time": 3566.217, "Actual Rows": 59307, "Actual Loops": 1, "Sort Method": "quicksort", "Sort Space Used": 5591, "Sort Space Type": "Memory"}], "Plans": [{"Node Type": "Nested Loop", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Join Type": "Inner", "Startup Cost": 1.0, "Total Cost": 733366.54, "Plan Rows": 780712, "Plan Width": 24, "Actual Startup Time": 0.86, "Actual Total Time": 3528.955, "Actual Rows": 59750, "Actual Loops": 5, "Output": ["lineitem.l_orderkey", "orders.o_orderdate", "orders.o_shippriority", "lineitem.l_extendedprice", "lineitem.l_discount"], "Inner Unique": false, "Workers": [{"Worker Number": 0, "Actual Startup Time": 3.102, "Actual Total Time": 3528.376, "Actual Rows": 58879, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 0.212, "Actual Total Time": 3528.553, "Actual Rows": 58906, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 0.574, "Actual Total Time": 3528.338, "Actual Rows": 59696, "Actual Loops": 1}, {"Worker Number": 3, "Actual Startup Time": 0.259, "Actual Total Time": 3529.001, "Actual Rows": 59307, "Actual Loops": 1}], "Plans": [{"Node Type": "Nested Loop", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Join Type": "Inner", "Startup Cost": 0.43, "Total Cost": 182925.72, "Plan Rows": 364763, "Plan Width": 12, "Actual Startup Time": 0.122, "Actual Total Time": 1073.526, "Actual Rows": 292930, "Actual Loops": 5, "Output": ["orders.o_orderdate", "orders.o_shippriority", "orders.o_orderkey"], "Inner Unique": false, "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.18, "Actual Total Time": 1047.764, "Actual Rows": 288677, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 0.119, "Actual Total Time": 1048.984, "Actual Rows": 291259, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 0.116, "Actual Total Time": 1051.868, "Actual Rows": 290116, "Actual Loops": 1}, {"Worker Number": 3, "Actual Startup Time": 0.159, "Actual Total Time": 1051.458, "Actual Rows": 290946, "Actual Loops": 1}], "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": true, "Async Capable": false, "Relation Name": "customer", "Schema": "public", "Alias": "customer", "Startup Cost": 0.0, "Total Cost": 40514.5, "Plan Rows": 75060, "Plan Width": 4, "Actual Startup Time": 0.025, "Actual Total Time": 92.459, "Actual Rows": 59899, "Actual Loops": 5, "Output": ["customer.c_custkey", "customer.c_name", "customer.c_address", "customer.c_nationkey", "customer.c_phone", "customer.c_acctbal", "customer.c_mktsegment", "customer.c_comment"], "Filter": "(customer.c_mktsegment = 'FURNITURE'::bpchar)", "Rows Removed by Filter": 240101, "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.029, "Actual Total Time": 86.849, "Actual Rows": 59051, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 0.024, "Actual Total Time": 87.4, "Actual Rows": 59514, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 0.032, "Actual Total Time": 88.09, "Actual Rows": 59186, "Actual Loops": 1}, {"Worker Number": 3, "Actual Startup Time": 0.03, "Actual Total Time": 87.68, "Actual Rows": 59469, "Actual Loops": 1}]}, {"Node Type": "Index Scan", "Parent Relationship": "Inner", "Parallel Aware": false, "Async Capable": false, "Scan Direction": "Forward", "Index Name": "o_ck", "Relation Name": "orders", "Schema": "public", "Alias": "orders", "Startup Cost": 0.43, "Total Cost": 1.81, "Plan Rows": 9, "Plan Width": 16, "Actual Startup Time": 0.004, "Actual Total Time": 0.015, "Actual Rows": 5, "Actual Loops": 299496, "Output": ["orders.o_orderkey", "orders.o_custkey", "orders.o_orderstatus", "orders.o_totalprice", "orders.o_orderdate", "orders.o_orderpriority", "orders.o_clerk", "orders.o_shippriority", "orders.o_comment"], "Index Cond": "(orders.o_custkey = customer.c_custkey)", "Rows Removed by Index Recheck": 0, "Filter": "(orders.o_orderdate < '1995-03-20'::date)", "Rows Removed by Filter": 5, "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.004, "Actual Total Time": 0.015, "Actual Rows": 5, "Actual Loops": 59051}, {"Worker Number": 1, "Actual Startup Time": 0.004, "Actual Total Time": 0.015, "Actual Rows": 5, "Actual Loops": 59514}, {"Worker Number": 2, "Actual Startup Time": 0.004, "Actual Total Time": 0.015, "Actual Rows": 5, "Actual Loops": 59186}, {"Worker Number": 3, "Actual Startup Time": 0.004, "Actual Total Time": 0.015, "Actual Rows": 5, "Actual Loops": 59469}]}]}, {"Node Type": "Index Scan", "Parent Relationship": "Inner", "Parallel Aware": false, "Async Capable": false, "Scan Direction": "Forward", "Index Name": "l_ok", "Relation Name": "lineitem", "Schema": "public", "Alias": "lineitem", "Startup Cost": 0.56, "Total Cost": 1.35, "Plan Rows": 16, "Plan Width": 16, "Actual Startup Time": 0.008, "Actual Total Time": 0.008, "Actual Rows": 0, "Actual Loops": 1464651, "Output": ["lineitem.l_orderkey", "lineitem.l_partkey", "lineitem.l_suppkey", "lineitem.l_linenumber", "lineitem.l_quantity", "lineitem.l_extendedprice", "lineitem.l_discount", "lineitem.l_tax", "lineitem.l_returnflag", "lineitem.l_linestatus", "lineitem.l_shipdate", "lineitem.l_commitdate", "lineitem.l_receiptdate", "lineitem.l_shipinstruct", "lineitem.l_shipmode", "lineitem.l_comment"], "Index Cond": "(lineitem.l_orderkey = orders.o_orderkey)", "Rows Removed by Index Recheck": 0, "Filter": "(lineitem.l_shipdate > '1995-03-20'::date)", "Rows Removed by Filter": 4, "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.008, "Actual Total Time": 0.008, "Actual Rows": 0, "Actual Loops": 288677}, {"Worker Number": 1, "Actual Startup Time": 0.008, "Actual Total Time": 0.008, "Actual Rows": 0, "Actual Loops": 291259}, {"Worker Number": 2, "Actual Startup Time": 0.008, "Actual Total Time": 0.008, "Actual Rows": 0, "Actual Loops": 290116}, {"Worker Number": 3, "Actual Startup Time": 0.008, "Actual Total Time": 0.008, "Actual Rows": 0, "Actual Loops": 290946}]}]}]}]}]}]}]}, "Planning Time": 1.253, "Triggers": [], "Execution Time": 5199.906} diff --git a/dev9/pg15/tpch/sf_10/explain_analyze/15721/4-1.ok b/dev9/pg15/tpch/sf_10/explain_analyze/15721/4-1.ok new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/dev9/pg15/tpch/sf_10/explain_analyze/15721/4-1.res b/dev9/pg15/tpch/sf_10/explain_analyze/15721/4-1.res new file mode 100644 index 0000000000000000000000000000000000000000..3cefd3df57c6e48ec14631869124cebb1051dd4f --- /dev/null +++ b/dev9/pg15/tpch/sf_10/explain_analyze/15721/4-1.res @@ -0,0 +1 @@ +{"Plan": {"Node Type": "Aggregate", "Strategy": "Sorted", "Partial Mode": "Finalize", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 348369.91, "Total Cost": 348470.14, "Plan Rows": 5, "Plan Width": 24, "Actual Startup Time": 1039.953, "Actual Total Time": 1187.223, "Actual Rows": 5, "Actual Loops": 1, "Output": ["orders.o_orderpriority", "count(*)"], "Group Key": ["orders.o_orderpriority"], "Plans": [{"Node Type": "Gather Merge", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 348369.91, "Total Cost": 348469.94, "Plan Rows": 30, "Plan Width": 24, "Actual Startup Time": 1035.619, "Actual Total Time": 1187.198, "Actual Rows": 35, "Actual Loops": 1, "Output": ["orders.o_orderpriority", "(PARTIAL count(*))"], "Workers Planned": 6, "Workers Launched": 6, "Plans": [{"Node Type": "Aggregate", "Strategy": "Sorted", "Partial Mode": "Partial", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 347369.81, "Total Cost": 347466.19, "Plan Rows": 5, "Plan Width": 24, "Actual Startup Time": 1017.532, "Actual Total Time": 1030.216, "Actual Rows": 5, "Actual Loops": 7, "Output": ["orders.o_orderpriority", "PARTIAL count(*)"], "Group Key": ["orders.o_orderpriority"], "Workers": [{"Worker Number": 0, "Actual Startup Time": 1017.451, "Actual Total Time": 1029.903, "Actual Rows": 5, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 1015.6, "Actual Total Time": 1027.605, "Actual Rows": 5, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 1015.594, "Actual Total Time": 1027.608, "Actual Rows": 5, "Actual Loops": 1}, {"Worker Number": 3, "Actual Startup Time": 1016.254, "Actual Total Time": 1028.218, "Actual Rows": 5, "Actual Loops": 1}, {"Worker Number": 4, "Actual Startup Time": 1015.61, "Actual Total Time": 1027.587, "Actual Rows": 5, "Actual Loops": 1}, {"Worker Number": 5, "Actual Startup Time": 1016.296, "Actual Total Time": 1028.344, "Actual Rows": 5, "Actual Loops": 1}], "Plans": [{"Node Type": "Sort", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 347369.81, "Total Cost": 347401.92, "Plan Rows": 12844, "Plan Width": 16, "Actual Startup Time": 1014.391, "Actual Total Time": 1019.488, "Actual Rows": 74276, "Actual Loops": 7, "Output": ["orders.o_orderpriority"], "Sort Key": ["orders.o_orderpriority"], "Sort Method": "quicksort", "Sort Space Used": 8461, "Sort Space Type": "Memory", "Workers": [{"Worker Number": 0, "Actual Startup Time": 1014.446, "Actual Total Time": 1019.523, "Actual Rows": 70942, "Actual Loops": 1, "Sort Method": "quicksort", "Sort Space Used": 6952, "Sort Space Type": "Memory"}, {"Worker Number": 1, "Actual Startup Time": 1012.6, "Actual Total Time": 1017.498, "Actual Rows": 69804, "Actual Loops": 1, "Sort Method": "quicksort", "Sort Space Used": 6890, "Sort Space Type": "Memory"}, {"Worker Number": 2, "Actual Startup Time": 1012.608, "Actual Total Time": 1017.513, "Actual Rows": 69809, "Actual Loops": 1, "Sort Method": "quicksort", "Sort Space Used": 6890, "Sort Space Type": "Memory"}, {"Worker Number": 3, "Actual Startup Time": 1013.275, "Actual Total Time": 1018.132, "Actual Rows": 70193, "Actual Loops": 1, "Sort Method": "quicksort", "Sort Space Used": 6911, "Sort Space Type": "Memory"}, {"Worker Number": 4, "Actual Startup Time": 1012.579, "Actual Total Time": 1017.5, "Actual Rows": 70352, "Actual Loops": 1, "Sort Method": "quicksort", "Sort Space Used": 6920, "Sort Space Type": "Memory"}, {"Worker Number": 5, "Actual Startup Time": 1013.317, "Actual Total Time": 1018.235, "Actual Rows": 70309, "Actual Loops": 1, "Sort Method": "quicksort", "Sort Space Used": 6918, "Sort Space Type": "Memory"}], "Plans": [{"Node Type": "Nested Loop", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Join Type": "Semi", "Startup Cost": 6425.92, "Total Cost": 346493.29, "Plan Rows": 12844, "Plan Width": 16, "Actual Startup Time": 173.628, "Actual Total Time": 987.509, "Actual Rows": 74276, "Actual Loops": 7, "Output": ["orders.o_orderpriority"], "Inner Unique": false, "Workers": [{"Worker Number": 0, "Actual Startup Time": 172.987, "Actual Total Time": 987.475, "Actual Rows": 70942, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 173.06, "Actual Total Time": 987.779, "Actual Rows": 69804, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 173.054, "Actual Total Time": 987.489, "Actual Rows": 69809, "Actual Loops": 1}, {"Worker Number": 3, "Actual Startup Time": 173.071, "Actual Total Time": 987.242, "Actual Rows": 70193, "Actual Loops": 1}, {"Worker Number": 4, "Actual Startup Time": 173.017, "Actual Total Time": 987.826, "Actual Rows": 70352, "Actual Loops": 1}, {"Worker Number": 5, "Actual Startup Time": 173.107, "Actual Total Time": 987.238, "Actual Rows": 70309, "Actual Loops": 1}], "Plans": [{"Node Type": "Bitmap Heap Scan", "Parent Relationship": "Outer", "Parallel Aware": true, "Async Capable": false, "Relation Name": "orders", "Schema": "public", "Alias": "orders", "Startup Cost": 6425.36, "Total Cost": 268772.68, "Plan Rows": 95688, "Plan Width": 20, "Actual Startup Time": 173.539, "Actual Total Time": 376.509, "Actual Rows": 81014, "Actual Loops": 7, "Output": ["orders.o_orderkey", "orders.o_custkey", "orders.o_orderstatus", "orders.o_totalprice", "orders.o_orderdate", "orders.o_orderpriority", "orders.o_clerk", "orders.o_shippriority", "orders.o_comment"], "Recheck Cond": "((orders.o_orderdate >= '1996-01-01'::date) AND (orders.o_orderdate < '1996-04-01 00:00:00'::timestamp without time zone))", "Rows Removed by Index Recheck": 0, "Exact Heap Blocks": 44075, "Lossy Heap Blocks": 0, "Workers": [{"Worker Number": 0, "Actual Startup Time": 172.893, "Actual Total Time": 375.693, "Actual Rows": 77373, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 172.964, "Actual Total Time": 376.759, "Actual Rows": 76140, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 172.953, "Actual Total Time": 376.458, "Actual Rows": 76080, "Actual Loops": 1}, {"Worker Number": 3, "Actual Startup Time": 172.97, "Actual Total Time": 375.286, "Actual Rows": 76602, "Actual Loops": 1}, {"Worker Number": 4, "Actual Startup Time": 172.918, "Actual Total Time": 375.687, "Actual Rows": 76692, "Actual Loops": 1}, {"Worker Number": 5, "Actual Startup Time": 173.009, "Actual Total Time": 375.436, "Actual Rows": 76671, "Actual Loops": 1}], "Plans": [{"Node Type": "Bitmap Index Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Index Name": "o_od", "Startup Cost": 0.0, "Total Cost": 6281.83, "Plan Rows": 574129, "Plan Width": 0, "Actual Startup Time": 96.089, "Actual Total Time": 96.09, "Actual Rows": 567099, "Actual Loops": 1, "Index Cond": "((orders.o_orderdate >= '1996-01-01'::date) AND (orders.o_orderdate < '1996-04-01 00:00:00'::timestamp without time zone))", "Workers": []}]}, {"Node Type": "Index Scan", "Parent Relationship": "Inner", "Parallel Aware": false, "Async Capable": false, "Scan Direction": "Forward", "Index Name": "l_ok", "Relation Name": "lineitem", "Schema": "public", "Alias": "lineitem", "Startup Cost": 0.56, "Total Cost": 2.77, "Plan Rows": 10, "Plan Width": 4, "Actual Startup Time": 0.007, "Actual Total Time": 0.007, "Actual Rows": 1, "Actual Loops": 567099, "Output": ["lineitem.l_orderkey", "lineitem.l_partkey", "lineitem.l_suppkey", "lineitem.l_linenumber", "lineitem.l_quantity", "lineitem.l_extendedprice", "lineitem.l_discount", "lineitem.l_tax", "lineitem.l_returnflag", "lineitem.l_linestatus", "lineitem.l_shipdate", "lineitem.l_commitdate", "lineitem.l_receiptdate", "lineitem.l_shipinstruct", "lineitem.l_shipmode", "lineitem.l_comment"], "Index Cond": "(lineitem.l_orderkey = orders.o_orderkey)", "Rows Removed by Index Recheck": 0, "Filter": "(lineitem.l_commitdate < lineitem.l_receiptdate)", "Rows Removed by Filter": 1, "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.007, "Actual Total Time": 0.007, "Actual Rows": 1, "Actual Loops": 77373}, {"Worker Number": 1, "Actual Startup Time": 0.008, "Actual Total Time": 0.008, "Actual Rows": 1, "Actual Loops": 76140}, {"Worker Number": 2, "Actual Startup Time": 0.008, "Actual Total Time": 0.008, "Actual Rows": 1, "Actual Loops": 76080}, {"Worker Number": 3, "Actual Startup Time": 0.008, "Actual Total Time": 0.008, "Actual Rows": 1, "Actual Loops": 76602}, {"Worker Number": 4, "Actual Startup Time": 0.008, "Actual Total Time": 0.008, "Actual Rows": 1, "Actual Loops": 76692}, {"Worker Number": 5, "Actual Startup Time": 0.008, "Actual Total Time": 0.008, "Actual Rows": 1, "Actual Loops": 76671}]}]}]}]}]}]}, "Planning Time": 0.484, "Triggers": [], "Execution Time": 1187.284} diff --git a/dev9/pg15/tpch/sf_10/explain_analyze/15721/5-1.ok b/dev9/pg15/tpch/sf_10/explain_analyze/15721/5-1.ok new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/dev9/pg15/tpch/sf_10/explain_analyze/15721/5-1.res b/dev9/pg15/tpch/sf_10/explain_analyze/15721/5-1.res new file mode 100644 index 0000000000000000000000000000000000000000..bd7673abb746be00fb7fc186eac462a8e2dacb5b --- /dev/null +++ b/dev9/pg15/tpch/sf_10/explain_analyze/15721/5-1.res @@ -0,0 +1 @@ +{"Plan": {"Node Type": "Sort", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 355329.19, "Total Cost": 355329.25, "Plan Rows": 25, "Plan Width": 58, "Actual Startup Time": 2127.169, "Actual Total Time": 2324.826, "Actual Rows": 5, "Actual Loops": 1, "Output": ["nation.n_name", "(sum((lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount))))"], "Sort Key": ["(sum((lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount)))) DESC"], "Sort Method": "quicksort", "Sort Space Used": 25, "Sort Space Type": "Memory", "Plans": [{"Node Type": "Aggregate", "Strategy": "Sorted", "Partial Mode": "Finalize", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 355088.78, "Total Cost": 355328.61, "Plan Rows": 25, "Plan Width": 58, "Actual Startup Time": 2121.645, "Actual Total Time": 2324.815, "Actual Rows": 5, "Actual Loops": 1, "Output": ["nation.n_name", "sum((lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount)))"], "Group Key": ["nation.n_name"], "Plans": [{"Node Type": "Gather Merge", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 355088.78, "Total Cost": 355327.55, "Plan Rows": 100, "Plan Width": 58, "Actual Startup Time": 2119.547, "Actual Total Time": 2324.75, "Actual Rows": 25, "Actual Loops": 1, "Output": ["nation.n_name", "(PARTIAL sum((lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount))))"], "Workers Planned": 4, "Workers Launched": 4, "Plans": [{"Node Type": "Aggregate", "Strategy": "Sorted", "Partial Mode": "Partial", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 354088.72, "Total Cost": 354315.58, "Plan Rows": 25, "Plan Width": 58, "Actual Startup Time": 2108.359, "Actual Total Time": 2115.302, "Actual Rows": 5, "Actual Loops": 5, "Output": ["nation.n_name", "PARTIAL sum((lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount)))"], "Group Key": ["nation.n_name"], "Workers": [{"Worker Number": 0, "Actual Startup Time": 2107.126, "Actual Total Time": 2113.784, "Actual Rows": 5, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 2107.313, "Actual Total Time": 2114.222, "Actual Rows": 5, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 2107.69, "Actual Total Time": 2114.528, "Actual Rows": 5, "Actual Loops": 1}, {"Worker Number": 3, "Actual Startup Time": 2107.649, "Actual Total Time": 2114.417, "Actual Rows": 5, "Actual Loops": 1}], "Plans": [{"Node Type": "Sort", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 354088.72, "Total Cost": 354134.03, "Plan Rows": 18124, "Plan Width": 38, "Actual Startup Time": 2106.638, "Actual Total Time": 2107.586, "Actual Rows": 14545, "Actual Loops": 5, "Output": ["nation.n_name", "lineitem.l_extendedprice", "lineitem.l_discount"], "Sort Key": ["nation.n_name"], "Sort Method": "quicksort", "Sort Space Used": 1580, "Sort Space Type": "Memory", "Workers": [{"Worker Number": 0, "Actual Startup Time": 2105.399, "Actual Total Time": 2106.311, "Actual Rows": 14154, "Actual Loops": 1, "Sort Method": "quicksort", "Sort Space Used": 1490, "Sort Space Type": "Memory"}, {"Worker Number": 1, "Actual Startup Time": 2105.61, "Actual Total Time": 2106.543, "Actual Rows": 14556, "Actual Loops": 1, "Sort Method": "quicksort", "Sort Space Used": 1522, "Sort Space Type": "Memory"}, {"Worker Number": 2, "Actual Startup Time": 2105.956, "Actual Total Time": 2106.888, "Actual Rows": 14498, "Actual Loops": 1, "Sort Method": "quicksort", "Sort Space Used": 1517, "Sort Space Type": "Memory"}, {"Worker Number": 3, "Actual Startup Time": 2105.998, "Actual Total Time": 2106.915, "Actual Rows": 14220, "Actual Loops": 1, "Sort Method": "quicksort", "Sort Space Used": 1495, "Sort Space Type": "Memory"}], "Plans": [{"Node Type": "Hash Join", "Parent Relationship": "Outer", "Parallel Aware": true, "Async Capable": false, "Join Type": "Inner", "Startup Cost": 3690.1, "Total Cost": 352806.84, "Plan Rows": 18124, "Plan Width": 38, "Actual Startup Time": 16.605, "Actual Total Time": 2099.883, "Actual Rows": 14545, "Actual Loops": 5, "Output": ["nation.n_name", "lineitem.l_extendedprice", "lineitem.l_discount"], "Inner Unique": true, "Hash Cond": "((lineitem.l_suppkey = supplier.s_suppkey) AND (customer.c_nationkey = supplier.s_nationkey))", "Workers": [{"Worker Number": 0, "Actual Startup Time": 14.271, "Actual Total Time": 2098.768, "Actual Rows": 14154, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 15.035, "Actual Total Time": 2098.912, "Actual Rows": 14556, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 14.389, "Actual Total Time": 2099.172, "Actual Rows": 14498, "Actual Loops": 1}, {"Worker Number": 3, "Actual Startup Time": 20.164, "Actual Total Time": 2099.285, "Actual Rows": 14220, "Actual Loops": 1}], "Plans": [{"Node Type": "Nested Loop", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Join Type": "Inner", "Startup Cost": 3.51, "Total Cost": 346741.56, "Plan Rows": 453083, "Plan Width": 50, "Actual Startup Time": 0.33, "Actual Total Time": 1982.963, "Actual Rows": 363271, "Actual Loops": 5, "Output": ["customer.c_nationkey", "lineitem.l_extendedprice", "lineitem.l_discount", "lineitem.l_suppkey", "nation.n_name", "nation.n_nationkey"], "Inner Unique": false, "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.403, "Actual Total Time": 1985.237, "Actual Rows": 358049, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 0.514, "Actual Total Time": 1985.288, "Actual Rows": 361100, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 0.328, "Actual Total Time": 1985.896, "Actual Rows": 357555, "Actual Loops": 1}, {"Worker Number": 3, "Actual Startup Time": 0.308, "Actual Total Time": 1985.945, "Actual Rows": 360064, "Actual Loops": 1}], "Plans": [{"Node Type": "Nested Loop", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Join Type": "Inner", "Startup Cost": 2.94, "Total Cost": 122182.42, "Plan Rows": 113297, "Plan Width": 38, "Actual Startup Time": 0.254, "Actual Total Time": 1042.612, "Actual Rows": 90894, "Actual Loops": 5, "Output": ["customer.c_nationkey", "orders.o_orderkey", "nation.n_name", "nation.n_nationkey"], "Inner Unique": false, "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.3, "Actual Total Time": 1017.225, "Actual Rows": 89447, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 0.433, "Actual Total Time": 1017.139, "Actual Rows": 90463, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 0.242, "Actual Total Time": 1021.03, "Actual Rows": 89718, "Actual Loops": 1}, {"Worker Number": 3, "Actual Startup Time": 0.216, "Actual Total Time": 1019.261, "Actual Rows": 89975, "Actual Loops": 1}], "Plans": [{"Node Type": "Hash Join", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Join Type": "Inner", "Startup Cost": 2.51, "Total Cost": 41735.76, "Plan Rows": 75000, "Plan Width": 38, "Actual Startup Time": 0.113, "Actual Total Time": 121.454, "Actual Rows": 59887, "Actual Loops": 5, "Output": ["customer.c_custkey", "customer.c_nationkey", "nation.n_name", "nation.n_nationkey"], "Inner Unique": false, "Hash Cond": "(customer.c_nationkey = nation.n_nationkey)", "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.126, "Actual Total Time": 115.86, "Actual Rows": 59246, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 0.128, "Actual Total Time": 114.761, "Actual Rows": 59372, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 0.132, "Actual Total Time": 116.376, "Actual Rows": 59214, "Actual Loops": 1}, {"Worker Number": 3, "Actual Startup Time": 0.126, "Actual Total Time": 118.345, "Actual Rows": 59194, "Actual Loops": 1}], "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": true, "Async Capable": false, "Relation Name": "customer", "Schema": "public", "Alias": "customer", "Startup Cost": 0.0, "Total Cost": 39577.0, "Plan Rows": 375000, "Plan Width": 8, "Actual Startup Time": 0.017, "Actual Total Time": 30.397, "Actual Rows": 300000, "Actual Loops": 5, "Output": ["customer.c_custkey", "customer.c_name", "customer.c_address", "customer.c_nationkey", "customer.c_phone", "customer.c_acctbal", "customer.c_mktsegment", "customer.c_comment"], "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.019, "Actual Total Time": 29.829, "Actual Rows": 296681, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 0.021, "Actual Total Time": 29.853, "Actual Rows": 298039, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 0.021, "Actual Total Time": 29.758, "Actual Rows": 295667, "Actual Loops": 1}, {"Worker Number": 3, "Actual Startup Time": 0.022, "Actual Total Time": 29.748, "Actual Rows": 295975, "Actual Loops": 1}]}, {"Node Type": "Hash", "Parent Relationship": "Inner", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 2.45, "Total Cost": 2.45, "Plan Rows": 5, "Plan Width": 30, "Actual Startup Time": 0.077, "Actual Total Time": 0.08, "Actual Rows": 5, "Actual Loops": 5, "Output": ["nation.n_name", "nation.n_nationkey"], "Hash Buckets": 1024, "Original Hash Buckets": 1024, "Hash Batches": 1, "Original Hash Batches": 1, "Peak Memory Usage": 9, "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.091, "Actual Total Time": 0.093, "Actual Rows": 5, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 0.088, "Actual Total Time": 0.091, "Actual Rows": 5, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 0.095, "Actual Total Time": 0.097, "Actual Rows": 5, "Actual Loops": 1}, {"Worker Number": 3, "Actual Startup Time": 0.085, "Actual Total Time": 0.087, "Actual Rows": 5, "Actual Loops": 1}], "Plans": [{"Node Type": "Hash Join", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Join Type": "Inner", "Startup Cost": 1.07, "Total Cost": 2.45, "Plan Rows": 5, "Plan Width": 30, "Actual Startup Time": 0.061, "Actual Total Time": 0.072, "Actual Rows": 5, "Actual Loops": 5, "Output": ["nation.n_name", "nation.n_nationkey"], "Inner Unique": true, "Hash Cond": "(nation.n_regionkey = region.r_regionkey)", "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.075, "Actual Total Time": 0.084, "Actual Rows": 5, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 0.07, "Actual Total Time": 0.081, "Actual Rows": 5, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 0.076, "Actual Total Time": 0.087, "Actual Rows": 5, "Actual Loops": 1}, {"Worker Number": 3, "Actual Startup Time": 0.067, "Actual Total Time": 0.078, "Actual Rows": 5, "Actual Loops": 1}], "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Relation Name": "nation", "Schema": "public", "Alias": "nation", "Startup Cost": 0.0, "Total Cost": 1.25, "Plan Rows": 25, "Plan Width": 34, "Actual Startup Time": 0.016, "Actual Total Time": 0.019, "Actual Rows": 25, "Actual Loops": 5, "Output": ["nation.n_nationkey", "nation.n_name", "nation.n_regionkey", "nation.n_comment"], "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.02, "Actual Total Time": 0.022, "Actual Rows": 25, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 0.02, "Actual Total Time": 0.022, "Actual Rows": 25, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 0.022, "Actual Total Time": 0.025, "Actual Rows": 25, "Actual Loops": 1}, {"Worker Number": 3, "Actual Startup Time": 0.016, "Actual Total Time": 0.019, "Actual Rows": 25, "Actual Loops": 1}]}, {"Node Type": "Hash", "Parent Relationship": "Inner", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 1.06, "Total Cost": 1.06, "Plan Rows": 1, "Plan Width": 4, "Actual Startup Time": 0.024, "Actual Total Time": 0.024, "Actual Rows": 1, "Actual Loops": 5, "Output": ["region.r_regionkey"], "Hash Buckets": 1024, "Original Hash Buckets": 1024, "Hash Batches": 1, "Original Hash Batches": 1, "Peak Memory Usage": 9, "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.029, "Actual Total Time": 0.03, "Actual Rows": 1, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 0.025, "Actual Total Time": 0.026, "Actual Rows": 1, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 0.025, "Actual Total Time": 0.026, "Actual Rows": 1, "Actual Loops": 1}, {"Worker Number": 3, "Actual Startup Time": 0.03, "Actual Total Time": 0.031, "Actual Rows": 1, "Actual Loops": 1}], "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Relation Name": "region", "Schema": "public", "Alias": "region", "Startup Cost": 0.0, "Total Cost": 1.06, "Plan Rows": 1, "Plan Width": 4, "Actual Startup Time": 0.019, "Actual Total Time": 0.021, "Actual Rows": 1, "Actual Loops": 5, "Output": ["region.r_regionkey"], "Filter": "(region.r_name = 'AMERICA'::bpchar)", "Rows Removed by Filter": 4, "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.025, "Actual Total Time": 0.026, "Actual Rows": 1, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 0.021, "Actual Total Time": 0.022, "Actual Rows": 1, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 0.021, "Actual Total Time": 0.022, "Actual Rows": 1, "Actual Loops": 1}, {"Worker Number": 3, "Actual Startup Time": 0.025, "Actual Total Time": 0.027, "Actual Rows": 1, "Actual Loops": 1}]}]}]}]}]}, {"Node Type": "Index Scan", "Parent Relationship": "Inner", "Parallel Aware": false, "Async Capable": false, "Scan Direction": "Forward", "Index Name": "o_ck", "Relation Name": "orders", "Schema": "public", "Alias": "orders", "Startup Cost": 0.43, "Total Cost": 1.04, "Plan Rows": 3, "Plan Width": 8, "Actual Startup Time": 0.007, "Actual Total Time": 0.015, "Actual Rows": 2, "Actual Loops": 299436, "Output": ["orders.o_orderkey", "orders.o_custkey", "orders.o_orderstatus", "orders.o_totalprice", "orders.o_orderdate", "orders.o_orderpriority", "orders.o_clerk", "orders.o_shippriority", "orders.o_comment"], "Index Cond": "(orders.o_custkey = customer.c_custkey)", "Rows Removed by Index Recheck": 0, "Filter": "((orders.o_orderdate >= '1995-01-01'::date) AND (orders.o_orderdate < '1996-01-01 00:00:00'::timestamp without time zone))", "Rows Removed by Filter": 8, "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.007, "Actual Total Time": 0.015, "Actual Rows": 2, "Actual Loops": 59246}, {"Worker Number": 1, "Actual Startup Time": 0.007, "Actual Total Time": 0.015, "Actual Rows": 2, "Actual Loops": 59372}, {"Worker Number": 2, "Actual Startup Time": 0.007, "Actual Total Time": 0.015, "Actual Rows": 2, "Actual Loops": 59214}, {"Worker Number": 3, "Actual Startup Time": 0.007, "Actual Total Time": 0.015, "Actual Rows": 2, "Actual Loops": 59194}]}]}, {"Node Type": "Index Scan", "Parent Relationship": "Inner", "Parallel Aware": false, "Async Capable": false, "Scan Direction": "Forward", "Index Name": "l_ok", "Relation Name": "lineitem", "Schema": "public", "Alias": "lineitem", "Startup Cost": 0.56, "Total Cost": 1.68, "Plan Rows": 30, "Plan Width": 20, "Actual Startup Time": 0.008, "Actual Total Time": 0.009, "Actual Rows": 4, "Actual Loops": 454468, "Output": ["lineitem.l_orderkey", "lineitem.l_partkey", "lineitem.l_suppkey", "lineitem.l_linenumber", "lineitem.l_quantity", "lineitem.l_extendedprice", "lineitem.l_discount", "lineitem.l_tax", "lineitem.l_returnflag", "lineitem.l_linestatus", "lineitem.l_shipdate", "lineitem.l_commitdate", "lineitem.l_receiptdate", "lineitem.l_shipinstruct", "lineitem.l_shipmode", "lineitem.l_comment"], "Index Cond": "(lineitem.l_orderkey = orders.o_orderkey)", "Rows Removed by Index Recheck": 0, "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.009, "Actual Total Time": 0.01, "Actual Rows": 4, "Actual Loops": 89447}, {"Worker Number": 1, "Actual Startup Time": 0.009, "Actual Total Time": 0.01, "Actual Rows": 4, "Actual Loops": 90463}, {"Worker Number": 2, "Actual Startup Time": 0.009, "Actual Total Time": 0.01, "Actual Rows": 4, "Actual Loops": 89718}, {"Worker Number": 3, "Actual Startup Time": 0.009, "Actual Total Time": 0.01, "Actual Rows": 4, "Actual Loops": 89975}]}]}, {"Node Type": "Hash", "Parent Relationship": "Inner", "Parallel Aware": true, "Async Capable": false, "Startup Cost": 2804.24, "Total Cost": 2804.24, "Plan Rows": 58824, "Plan Width": 8, "Actual Startup Time": 14.473, "Actual Total Time": 14.473, "Actual Rows": 20000, "Actual Loops": 5, "Output": ["supplier.s_suppkey", "supplier.s_nationkey"], "Hash Buckets": 131072, "Original Hash Buckets": 131072, "Hash Batches": 1, "Original Hash Batches": 1, "Peak Memory Usage": 4992, "Workers": [{"Worker Number": 0, "Actual Startup Time": 13.768, "Actual Total Time": 13.769, "Actual Rows": 18601, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 13.872, "Actual Total Time": 13.873, "Actual Rows": 18654, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 13.875, "Actual Total Time": 13.875, "Actual Rows": 18645, "Actual Loops": 1}, {"Worker Number": 3, "Actual Startup Time": 14.002, "Actual Total Time": 14.003, "Actual Rows": 18730, "Actual Loops": 1}], "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": true, "Async Capable": false, "Relation Name": "supplier", "Schema": "public", "Alias": "supplier", "Startup Cost": 0.0, "Total Cost": 2804.24, "Plan Rows": 58824, "Plan Width": 8, "Actual Startup Time": 0.014, "Actual Total Time": 6.483, "Actual Rows": 20000, "Actual Loops": 5, "Output": ["supplier.s_suppkey", "supplier.s_nationkey"], "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.016, "Actual Total Time": 6.375, "Actual Rows": 18601, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 0.016, "Actual Total Time": 6.327, "Actual Rows": 18654, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 0.016, "Actual Total Time": 6.323, "Actual Rows": 18645, "Actual Loops": 1}, {"Worker Number": 3, "Actual Startup Time": 0.016, "Actual Total Time": 6.323, "Actual Rows": 18730, "Actual Loops": 1}]}]}]}]}]}]}]}]}, "Planning Time": 3.0, "Triggers": [], "Execution Time": 2324.91} diff --git a/dev9/pg15/tpch/sf_10/explain_analyze/15721/6-1.ok b/dev9/pg15/tpch/sf_10/explain_analyze/15721/6-1.ok new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/dev9/pg15/tpch/sf_10/explain_analyze/15721/6-1.res b/dev9/pg15/tpch/sf_10/explain_analyze/15721/6-1.res new file mode 100644 index 0000000000000000000000000000000000000000..203e0d61c1aa57f3c734117a9bb02fdb810c4088 --- /dev/null +++ b/dev9/pg15/tpch/sf_10/explain_analyze/15721/6-1.res @@ -0,0 +1 @@ +{"Plan": {"Node Type": "Aggregate", "Strategy": "Plain", "Partial Mode": "Finalize", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 1319174.85, "Total Cost": 1319174.86, "Plan Rows": 1, "Plan Width": 32, "Actual Startup Time": 1651.244, "Actual Total Time": 1688.968, "Actual Rows": 1, "Actual Loops": 1, "Output": ["sum((l_extendedprice * l_discount))"], "Plans": [{"Node Type": "Gather", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 1319174.1, "Total Cost": 1319174.81, "Plan Rows": 7, "Plan Width": 32, "Actual Startup Time": 1651.145, "Actual Total Time": 1688.956, "Actual Rows": 8, "Actual Loops": 1, "Output": ["(PARTIAL sum((l_extendedprice * l_discount)))"], "Workers Planned": 7, "Workers Launched": 7, "Single Copy": false, "Plans": [{"Node Type": "Aggregate", "Strategy": "Plain", "Partial Mode": "Partial", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 1318174.1, "Total Cost": 1318174.11, "Plan Rows": 1, "Plan Width": 32, "Actual Startup Time": 1647.13, "Actual Total Time": 1647.13, "Actual Rows": 1, "Actual Loops": 8, "Output": ["PARTIAL sum((l_extendedprice * l_discount))"], "Workers": [{"Worker Number": 0, "Actual Startup Time": 1646.359, "Actual Total Time": 1646.36, "Actual Rows": 1, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 1646.419, "Actual Total Time": 1646.42, "Actual Rows": 1, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 1646.527, "Actual Total Time": 1646.528, "Actual Rows": 1, "Actual Loops": 1}, {"Worker Number": 3, "Actual Startup Time": 1646.68, "Actual Total Time": 1646.681, "Actual Rows": 1, "Actual Loops": 1}, {"Worker Number": 4, "Actual Startup Time": 1646.718, "Actual Total Time": 1646.719, "Actual Rows": 1, "Actual Loops": 1}, {"Worker Number": 5, "Actual Startup Time": 1646.72, "Actual Total Time": 1646.721, "Actual Rows": 1, "Actual Loops": 1}, {"Worker Number": 6, "Actual Startup Time": 1646.898, "Actual Total Time": 1646.899, "Actual Rows": 1, "Actual Loops": 1}], "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": true, "Async Capable": false, "Relation Name": "lineitem", "Schema": "public", "Alias": "lineitem", "Startup Cost": 0.0, "Total Cost": 1317356.7, "Plan Rows": 163479, "Plan Width": 12, "Actual Startup Time": 0.065, "Actual Total Time": 1603.574, "Actual Rows": 143005, "Actual Loops": 8, "Output": ["l_orderkey", "l_partkey", "l_suppkey", "l_linenumber", "l_quantity", "l_extendedprice", "l_discount", "l_tax", "l_returnflag", "l_linestatus", "l_shipdate", "l_commitdate", "l_receiptdate", "l_shipinstruct", "l_shipmode", "l_comment"], "Filter": "((lineitem.l_shipdate >= '1995-01-01'::date) AND (lineitem.l_shipdate < '1996-01-01 00:00:00'::timestamp without time zone) AND (lineitem.l_discount >= 0.04) AND (lineitem.l_discount <= 0.06) AND (lineitem.l_quantity < '24'::numeric))", "Rows Removed by Filter": 7355252, "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.097, "Actual Total Time": 1602.135, "Actual Rows": 144724, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 0.093, "Actual Total Time": 1602.577, "Actual Rows": 143802, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 0.075, "Actual Total Time": 1602.93, "Actual Rows": 142483, "Actual Loops": 1}, {"Worker Number": 3, "Actual Startup Time": 0.033, "Actual Total Time": 1602.843, "Actual Rows": 143317, "Actual Loops": 1}, {"Worker Number": 4, "Actual Startup Time": 0.033, "Actual Total Time": 1603.203, "Actual Rows": 142485, "Actual Loops": 1}, {"Worker Number": 5, "Actual Startup Time": 0.103, "Actual Total Time": 1602.632, "Actual Rows": 144295, "Actual Loops": 1}, {"Worker Number": 6, "Actual Startup Time": 0.069, "Actual Total Time": 1603.0, "Actual Rows": 143345, "Actual Loops": 1}]}]}]}]}, "Planning Time": 0.175, "Triggers": [], "Execution Time": 1689.001} diff --git a/dev9/pg15/tpch/sf_10/explain_analyze/15721/7-1.ok b/dev9/pg15/tpch/sf_10/explain_analyze/15721/7-1.ok new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/dev9/pg15/tpch/sf_10/explain_analyze/15721/7-1.res b/dev9/pg15/tpch/sf_10/explain_analyze/15721/7-1.res new file mode 100644 index 0000000000000000000000000000000000000000..ca54c0eced101e36c7b3746fe801ba679c061739 --- /dev/null +++ b/dev9/pg15/tpch/sf_10/explain_analyze/15721/7-1.res @@ -0,0 +1 @@ +{"Plan": {"Node Type": "Aggregate", "Strategy": "Sorted", "Partial Mode": "Finalize", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 227415.93, "Total Cost": 233300.71, "Plan Rows": 10100, "Plan Width": 116, "Actual Startup Time": 2499.725, "Actual Total Time": 2795.765, "Actual Rows": 4, "Actual Loops": 1, "Output": ["n1.n_name", "n2.n_name", "(EXTRACT(year FROM lineitem.l_shipdate))", "sum((lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount)))"], "Group Key": ["n1.n_name", "n2.n_name", "(EXTRACT(year FROM lineitem.l_shipdate))"], "Plans": [{"Node Type": "Gather Merge", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 227415.93, "Total Cost": 232644.21, "Plan Rows": 40400, "Plan Width": 116, "Actual Startup Time": 2497.01, "Actual Total Time": 2795.726, "Actual Rows": 20, "Actual Loops": 1, "Output": ["n1.n_name", "n2.n_name", "(EXTRACT(year FROM lineitem.l_shipdate))", "(PARTIAL sum((lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount))))"], "Workers Planned": 4, "Workers Launched": 4, "Plans": [{"Node Type": "Aggregate", "Strategy": "Sorted", "Partial Mode": "Partial", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 226415.87, "Total Cost": 226832.13, "Plan Rows": 10100, "Plan Width": 116, "Actual Startup Time": 2481.979, "Actual Total Time": 2488.982, "Actual Rows": 4, "Actual Loops": 5, "Output": ["n1.n_name", "n2.n_name", "(EXTRACT(year FROM lineitem.l_shipdate))", "PARTIAL sum((lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount)))"], "Group Key": ["n1.n_name", "n2.n_name", "(EXTRACT(year FROM lineitem.l_shipdate))"], "Workers": [{"Worker Number": 0, "Actual Startup Time": 2479.892, "Actual Total Time": 2486.915, "Actual Rows": 4, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 2481.896, "Actual Total Time": 2488.643, "Actual Rows": 4, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 2479.882, "Actual Total Time": 2486.591, "Actual Rows": 4, "Actual Loops": 1}, {"Worker Number": 3, "Actual Startup Time": 2479.966, "Actual Total Time": 2486.897, "Actual Rows": 4, "Actual Loops": 1}], "Plans": [{"Node Type": "Sort", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 226415.87, "Total Cost": 226453.69, "Plan Rows": 15129, "Plan Width": 96, "Actual Startup Time": 2479.722, "Actual Total Time": 2480.525, "Actual Rows": 11559, "Actual Loops": 5, "Output": ["n1.n_name", "n2.n_name", "(EXTRACT(year FROM lineitem.l_shipdate))", "lineitem.l_extendedprice", "lineitem.l_discount"], "Sort Key": ["n1.n_name", "n2.n_name", "(EXTRACT(year FROM lineitem.l_shipdate))"], "Sort Method": "quicksort", "Sort Space Used": 1737, "Sort Space Type": "Memory", "Workers": [{"Worker Number": 0, "Actual Startup Time": 2477.669, "Actual Total Time": 2478.469, "Actual Rows": 11582, "Actual Loops": 1, "Sort Method": "quicksort", "Sort Space Used": 1651, "Sort Space Type": "Memory"}, {"Worker Number": 1, "Actual Startup Time": 2479.705, "Actual Total Time": 2480.478, "Actual Rows": 11234, "Actual Loops": 1, "Sort Method": "quicksort", "Sort Space Used": 1613, "Sort Space Type": "Memory"}, {"Worker Number": 2, "Actual Startup Time": 2477.665, "Actual Total Time": 2478.433, "Actual Rows": 11216, "Actual Loops": 1, "Sort Method": "quicksort", "Sort Space Used": 1611, "Sort Space Type": "Memory"}, {"Worker Number": 3, "Actual Startup Time": 2477.758, "Actual Total Time": 2478.556, "Actual Rows": 11394, "Actual Loops": 1, "Sort Method": "quicksort", "Sort Space Used": 1631, "Sort Space Type": "Memory"}], "Plans": [{"Node Type": "Hash Join", "Parent Relationship": "Outer", "Parallel Aware": true, "Async Capable": false, "Join Type": "Inner", "Startup Cost": 149154.09, "Total Cost": 225365.54, "Plan Rows": 15129, "Plan Width": 96, "Actual Startup Time": 1828.844, "Actual Total Time": 2471.506, "Actual Rows": 11559, "Actual Loops": 5, "Output": ["n1.n_name", "n2.n_name", "EXTRACT(year FROM lineitem.l_shipdate)", "lineitem.l_extendedprice", "lineitem.l_discount"], "Inner Unique": false, "Hash Cond": "(orders.o_orderkey = lineitem.l_orderkey)", "Join Filter": "(((n1.n_name = 'IRAN'::bpchar) AND (n2.n_name = 'ETHIOPIA'::bpchar)) OR ((n1.n_name = 'ETHIOPIA'::bpchar) AND (n2.n_name = 'IRAN'::bpchar)))", "Rows Removed by Join Filter": 11570, "Workers": [{"Worker Number": 0, "Actual Startup Time": 1827.264, "Actual Total Time": 2469.337, "Actual Rows": 11582, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 1827.16, "Actual Total Time": 2471.64, "Actual Rows": 11234, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 1827.204, "Actual Total Time": 2469.626, "Actual Rows": 11216, "Actual Loops": 1}, {"Worker Number": 3, "Actual Startup Time": 1827.471, "Actual Total Time": 2469.584, "Actual Rows": 11394, "Actual Loops": 1}], "Plans": [{"Node Type": "Nested Loop", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Join Type": "Inner", "Startup Cost": 1.83, "Total Cost": 74708.32, "Plan Rows": 300002, "Plan Width": 30, "Actual Startup Time": 0.132, "Actual Total Time": 524.924, "Actual Rows": 240625, "Actual Loops": 5, "Output": ["orders.o_orderkey", "n2.n_name"], "Inner Unique": false, "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.14, "Actual Total Time": 524.828, "Actual Rows": 237520, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 0.144, "Actual Total Time": 524.029, "Actual Rows": 235150, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 0.134, "Actual Total Time": 524.826, "Actual Rows": 236053, "Actual Loops": 1}, {"Worker Number": 3, "Actual Startup Time": 0.142, "Actual Total Time": 524.523, "Actual Rows": 237920, "Actual Loops": 1}], "Plans": [{"Node Type": "Hash Join", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Join Type": "Inner", "Startup Cost": 1.4, "Total Cost": 40729.65, "Plan Rows": 30000, "Plan Width": 30, "Actual Startup Time": 0.077, "Actual Total Time": 100.453, "Actual Rows": 24114, "Actual Loops": 5, "Output": ["customer.c_custkey", "n2.n_name"], "Inner Unique": true, "Hash Cond": "(customer.c_nationkey = n2.n_nationkey)", "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.082, "Actual Total Time": 95.83, "Actual Rows": 23847, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 0.079, "Actual Total Time": 96.251, "Actual Rows": 23520, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 0.081, "Actual Total Time": 96.874, "Actual Rows": 23747, "Actual Loops": 1}, {"Worker Number": 3, "Actual Startup Time": 0.08, "Actual Total Time": 96.674, "Actual Rows": 23597, "Actual Loops": 1}], "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": true, "Async Capable": false, "Relation Name": "customer", "Schema": "public", "Alias": "customer", "Startup Cost": 0.0, "Total Cost": 39577.0, "Plan Rows": 375000, "Plan Width": 8, "Actual Startup Time": 0.015, "Actual Total Time": 28.64, "Actual Rows": 300000, "Actual Loops": 5, "Output": ["customer.c_custkey", "customer.c_name", "customer.c_address", "customer.c_nationkey", "customer.c_phone", "customer.c_acctbal", "customer.c_mktsegment", "customer.c_comment"], "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.016, "Actual Total Time": 28.221, "Actual Rows": 297656, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 0.018, "Actual Total Time": 28.051, "Actual Rows": 294421, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 0.018, "Actual Total Time": 27.959, "Actual Rows": 294216, "Actual Loops": 1}, {"Worker Number": 3, "Actual Startup Time": 0.016, "Actual Total Time": 27.708, "Actual Rows": 291637, "Actual Loops": 1}]}, {"Node Type": "Hash", "Parent Relationship": "Inner", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 1.38, "Total Cost": 1.38, "Plan Rows": 2, "Plan Width": 30, "Actual Startup Time": 0.02, "Actual Total Time": 0.021, "Actual Rows": 2, "Actual Loops": 5, "Output": ["n2.n_name", "n2.n_nationkey"], "Hash Buckets": 1024, "Original Hash Buckets": 1024, "Hash Batches": 1, "Original Hash Batches": 1, "Peak Memory Usage": 9, "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.017, "Actual Total Time": 0.018, "Actual Rows": 2, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 0.022, "Actual Total Time": 0.023, "Actual Rows": 2, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 0.022, "Actual Total Time": 0.023, "Actual Rows": 2, "Actual Loops": 1}, {"Worker Number": 3, "Actual Startup Time": 0.018, "Actual Total Time": 0.019, "Actual Rows": 2, "Actual Loops": 1}], "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Relation Name": "nation", "Schema": "public", "Alias": "n2", "Startup Cost": 0.0, "Total Cost": 1.38, "Plan Rows": 2, "Plan Width": 30, "Actual Startup Time": 0.011, "Actual Total Time": 0.016, "Actual Rows": 2, "Actual Loops": 5, "Output": ["n2.n_name", "n2.n_nationkey"], "Filter": "((n2.n_name = 'ETHIOPIA'::bpchar) OR (n2.n_name = 'IRAN'::bpchar))", "Rows Removed by Filter": 23, "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.008, "Actual Total Time": 0.013, "Actual Rows": 2, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 0.012, "Actual Total Time": 0.018, "Actual Rows": 2, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 0.012, "Actual Total Time": 0.018, "Actual Rows": 2, "Actual Loops": 1}, {"Worker Number": 3, "Actual Startup Time": 0.008, "Actual Total Time": 0.014, "Actual Rows": 2, "Actual Loops": 1}]}]}]}, {"Node Type": "Index Scan", "Parent Relationship": "Inner", "Parallel Aware": false, "Async Capable": false, "Scan Direction": "Forward", "Index Name": "o_ck", "Relation Name": "orders", "Schema": "public", "Alias": "orders", "Startup Cost": 0.43, "Total Cost": 0.95, "Plan Rows": 18, "Plan Width": 8, "Actual Startup Time": 0.003, "Actual Total Time": 0.016, "Actual Rows": 10, "Actual Loops": 120572, "Output": ["orders.o_orderkey", "orders.o_custkey", "orders.o_orderstatus", "orders.o_totalprice", "orders.o_orderdate", "orders.o_orderpriority", "orders.o_clerk", "orders.o_shippriority", "orders.o_comment"], "Index Cond": "(orders.o_custkey = customer.c_custkey)", "Rows Removed by Index Recheck": 0, "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.003, "Actual Total Time": 0.016, "Actual Rows": 10, "Actual Loops": 23847}, {"Worker Number": 1, "Actual Startup Time": 0.003, "Actual Total Time": 0.017, "Actual Rows": 10, "Actual Loops": 23520}, {"Worker Number": 2, "Actual Startup Time": 0.003, "Actual Total Time": 0.016, "Actual Rows": 10, "Actual Loops": 23747}, {"Worker Number": 3, "Actual Startup Time": 0.003, "Actual Total Time": 0.017, "Actual Rows": 10, "Actual Loops": 23597}]}]}, {"Node Type": "Hash", "Parent Relationship": "Inner", "Parallel Aware": true, "Async Capable": false, "Startup Cost": 138460.05, "Total Cost": 138460.05, "Plan Rows": 855376, "Plan Width": 46, "Actual Startup Time": 1825.608, "Actual Total Time": 1825.61, "Actual Rows": 290167, "Actual Loops": 5, "Output": ["lineitem.l_shipdate", "lineitem.l_extendedprice", "lineitem.l_discount", "lineitem.l_orderkey", "n1.n_name"], "Hash Buckets": 2097152, "Original Hash Buckets": 2097152, "Hash Batches": 1, "Original Hash Batches": 1, "Peak Memory Usage": 138592, "Workers": [{"Worker Number": 0, "Actual Startup Time": 1826.846, "Actual Total Time": 1826.849, "Actual Rows": 281312, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 1826.89, "Actual Total Time": 1826.893, "Actual Rows": 280044, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 1826.902, "Actual Total Time": 1826.904, "Actual Rows": 280830, "Actual Loops": 1}, {"Worker Number": 3, "Actual Startup Time": 1827.0, "Actual Total Time": 1827.003, "Actual Rows": 282249, "Actual Loops": 1}], "Plans": [{"Node Type": "Nested Loop", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Join Type": "Inner", "Startup Cost": 1.84, "Total Cost": 138460.05, "Plan Rows": 855376, "Plan Width": 46, "Actual Startup Time": 0.264, "Actual Total Time": 1650.166, "Actual Rows": 290167, "Actual Loops": 5, "Output": ["lineitem.l_shipdate", "lineitem.l_extendedprice", "lineitem.l_discount", "lineitem.l_orderkey", "n1.n_name"], "Inner Unique": false, "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.314, "Actual Total Time": 1651.027, "Actual Rows": 281312, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 0.29, "Actual Total Time": 1650.596, "Actual Rows": 280044, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 0.332, "Actual Total Time": 1649.456, "Actual Rows": 280830, "Actual Loops": 1}, {"Worker Number": 3, "Actual Startup Time": 0.317, "Actual Total Time": 1649.07, "Actual Rows": 282249, "Actual Loops": 1}], "Plans": [{"Node Type": "Hash Join", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Join Type": "Inner", "Startup Cost": 1.4, "Total Cost": 2986.23, "Plan Rows": 4706, "Plan Width": 30, "Actual Startup Time": 0.134, "Actual Total Time": 8.916, "Actual Rows": 1594, "Actual Loops": 5, "Output": ["supplier.s_suppkey", "n1.n_name"], "Inner Unique": true, "Hash Cond": "(supplier.s_nationkey = n1.n_nationkey)", "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.157, "Actual Total Time": 8.845, "Actual Rows": 1545, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 0.178, "Actual Total Time": 8.529, "Actual Rows": 1539, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 0.147, "Actual Total Time": 8.736, "Actual Rows": 1539, "Actual Loops": 1}, {"Worker Number": 3, "Actual Startup Time": 0.146, "Actual Total Time": 8.656, "Actual Rows": 1552, "Actual Loops": 1}], "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": true, "Async Capable": false, "Relation Name": "supplier", "Schema": "public", "Alias": "supplier", "Startup Cost": 0.0, "Total Cost": 2804.24, "Plan Rows": 58824, "Plan Width": 8, "Actual Startup Time": 0.028, "Actual Total Time": 3.008, "Actual Rows": 20000, "Actual Loops": 5, "Output": ["supplier.s_suppkey", "supplier.s_name", "supplier.s_address", "supplier.s_nationkey", "supplier.s_phone", "supplier.s_acctbal", "supplier.s_comment"], "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.035, "Actual Total Time": 3.084, "Actual Rows": 19941, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 0.036, "Actual Total Time": 2.995, "Actual Rows": 18725, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 0.037, "Actual Total Time": 3.103, "Actual Rows": 19742, "Actual Loops": 1}, {"Worker Number": 3, "Actual Startup Time": 0.028, "Actual Total Time": 3.019, "Actual Rows": 19278, "Actual Loops": 1}]}, {"Node Type": "Hash", "Parent Relationship": "Inner", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 1.38, "Total Cost": 1.38, "Plan Rows": 2, "Plan Width": 30, "Actual Startup Time": 0.064, "Actual Total Time": 0.064, "Actual Rows": 2, "Actual Loops": 5, "Output": ["n1.n_name", "n1.n_nationkey"], "Hash Buckets": 1024, "Original Hash Buckets": 1024, "Hash Batches": 1, "Original Hash Batches": 1, "Peak Memory Usage": 9, "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.076, "Actual Total Time": 0.077, "Actual Rows": 2, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 0.074, "Actual Total Time": 0.075, "Actual Rows": 2, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 0.074, "Actual Total Time": 0.075, "Actual Rows": 2, "Actual Loops": 1}, {"Worker Number": 3, "Actual Startup Time": 0.076, "Actual Total Time": 0.077, "Actual Rows": 2, "Actual Loops": 1}], "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Relation Name": "nation", "Schema": "public", "Alias": "n1", "Startup Cost": 0.0, "Total Cost": 1.38, "Plan Rows": 2, "Plan Width": 30, "Actual Startup Time": 0.043, "Actual Total Time": 0.055, "Actual Rows": 2, "Actual Loops": 5, "Output": ["n1.n_name", "n1.n_nationkey"], "Filter": "((n1.n_name = 'IRAN'::bpchar) OR (n1.n_name = 'ETHIOPIA'::bpchar))", "Rows Removed by Filter": 23, "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.052, "Actual Total Time": 0.066, "Actual Rows": 2, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 0.051, "Actual Total Time": 0.064, "Actual Rows": 2, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 0.051, "Actual Total Time": 0.064, "Actual Rows": 2, "Actual Loops": 1}, {"Worker Number": 3, "Actual Startup Time": 0.052, "Actual Total Time": 0.066, "Actual Rows": 2, "Actual Loops": 1}]}]}]}, {"Node Type": "Index Scan", "Parent Relationship": "Inner", "Parallel Aware": false, "Async Capable": false, "Scan Direction": "Forward", "Index Name": "l_sk_pk", "Relation Name": "lineitem", "Schema": "public", "Alias": "lineitem", "Startup Cost": 0.44, "Total Cost": 26.97, "Plan Rows": 182, "Plan Width": 24, "Actual Startup Time": 0.017, "Actual Total Time": 1.005, "Actual Rows": 182, "Actual Loops": 7968, "Output": ["lineitem.l_orderkey", "lineitem.l_partkey", "lineitem.l_suppkey", "lineitem.l_linenumber", "lineitem.l_quantity", "lineitem.l_extendedprice", "lineitem.l_discount", "lineitem.l_tax", "lineitem.l_returnflag", "lineitem.l_linestatus", "lineitem.l_shipdate", "lineitem.l_commitdate", "lineitem.l_receiptdate", "lineitem.l_shipinstruct", "lineitem.l_shipmode", "lineitem.l_comment"], "Index Cond": "(lineitem.l_suppkey = supplier.s_suppkey)", "Rows Removed by Index Recheck": 0, "Filter": "((lineitem.l_shipdate >= '1995-01-01'::date) AND (lineitem.l_shipdate <= '1996-12-31'::date))", "Rows Removed by Filter": 417, "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.018, "Actual Total Time": 1.038, "Actual Rows": 182, "Actual Loops": 1545}, {"Worker Number": 1, "Actual Startup Time": 0.018, "Actual Total Time": 1.042, "Actual Rows": 182, "Actual Loops": 1539}, {"Worker Number": 2, "Actual Startup Time": 0.018, "Actual Total Time": 1.041, "Actual Rows": 182, "Actual Loops": 1539}, {"Worker Number": 3, "Actual Startup Time": 0.018, "Actual Total Time": 1.032, "Actual Rows": 182, "Actual Loops": 1552}]}]}]}]}]}]}]}]}, "Planning Time": 2.004, "Triggers": [], "Execution Time": 2795.849} diff --git a/dev9/pg15/tpch/sf_10/explain_analyze/15721/8-1.ok b/dev9/pg15/tpch/sf_10/explain_analyze/15721/8-1.ok new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/dev9/pg15/tpch/sf_10/explain_analyze/15721/8-1.res b/dev9/pg15/tpch/sf_10/explain_analyze/15721/8-1.res new file mode 100644 index 0000000000000000000000000000000000000000..96db42d18c29f00f633050461b076f7607166ffe --- /dev/null +++ b/dev9/pg15/tpch/sf_10/explain_analyze/15721/8-1.res @@ -0,0 +1 @@ +{"Plan": {"Node Type": "Aggregate", "Strategy": "Sorted", "Partial Mode": "Finalize", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 221928.07, "Total Cost": 223428.59, "Plan Rows": 2406, "Plan Width": 64, "Actual Startup Time": 1112.996, "Actual Total Time": 1342.529, "Actual Rows": 2, "Actual Loops": 1, "Output": ["(EXTRACT(year FROM orders.o_orderdate))", "(sum(CASE WHEN (n2.n_name = 'ETHIOPIA'::bpchar) THEN (lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount)) ELSE '0'::numeric END) / sum((lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount))))"], "Group Key": ["(EXTRACT(year FROM orders.o_orderdate))"], "Plans": [{"Node Type": "Gather Merge", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 221928.07, "Total Cost": 223260.17, "Plan Rows": 9624, "Plan Width": 96, "Actual Startup Time": 1110.765, "Actual Total Time": 1342.504, "Actual Rows": 10, "Actual Loops": 1, "Output": ["(EXTRACT(year FROM orders.o_orderdate))", "(PARTIAL sum(CASE WHEN (n2.n_name = 'ETHIOPIA'::bpchar) THEN (lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount)) ELSE '0'::numeric END))", "(PARTIAL sum((lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount))))"], "Workers Planned": 4, "Workers Launched": 4, "Plans": [{"Node Type": "Aggregate", "Strategy": "Sorted", "Partial Mode": "Partial", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 220928.01, "Total Cost": 221113.8, "Plan Rows": 2406, "Plan Width": 96, "Actual Startup Time": 1104.539, "Actual Total Time": 1106.314, "Actual Rows": 2, "Actual Loops": 5, "Output": ["(EXTRACT(year FROM orders.o_orderdate))", "PARTIAL sum(CASE WHEN (n2.n_name = 'ETHIOPIA'::bpchar) THEN (lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount)) ELSE '0'::numeric END)", "PARTIAL sum((lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount)))"], "Group Key": ["(EXTRACT(year FROM orders.o_orderdate))"], "Workers": [{"Worker Number": 0, "Actual Startup Time": 1103.179, "Actual Total Time": 1104.841, "Actual Rows": 2, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 1103.44, "Actual Total Time": 1105.175, "Actual Rows": 2, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 1103.355, "Actual Total Time": 1105.002, "Actual Rows": 2, "Actual Loops": 1}, {"Worker Number": 3, "Actual Startup Time": 1104.014, "Actual Total Time": 1105.627, "Actual Rows": 2, "Actual Loops": 1}], "Plans": [{"Node Type": "Sort", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 220928.01, "Total Cost": 220943.97, "Plan Rows": 6386, "Plan Width": 70, "Actual Startup Time": 1102.711, "Actual Total Time": 1103.016, "Actual Rows": 4974, "Actual Loops": 5, "Output": ["(EXTRACT(year FROM orders.o_orderdate))", "n2.n_name", "lineitem.l_extendedprice", "lineitem.l_discount"], "Sort Key": ["(EXTRACT(year FROM orders.o_orderdate))"], "Sort Method": "quicksort", "Sort Space Used": 725, "Sort Space Type": "Memory", "Workers": [{"Worker Number": 0, "Actual Startup Time": 1101.421, "Actual Total Time": 1101.711, "Actual Rows": 4726, "Actual Loops": 1, "Sort Method": "quicksort", "Sort Space Used": 599, "Sort Space Type": "Memory"}, {"Worker Number": 1, "Actual Startup Time": 1101.806, "Actual Total Time": 1102.091, "Actual Rows": 4657, "Actual Loops": 1, "Sort Method": "quicksort", "Sort Space Used": 593, "Sort Space Type": "Memory"}, {"Worker Number": 2, "Actual Startup Time": 1101.62, "Actual Total Time": 1101.905, "Actual Rows": 4663, "Actual Loops": 1, "Sort Method": "quicksort", "Sort Space Used": 593, "Sort Space Type": "Memory"}, {"Worker Number": 3, "Actual Startup Time": 1102.283, "Actual Total Time": 1102.568, "Actual Rows": 4635, "Actual Loops": 1, "Sort Method": "quicksort", "Sort Space Used": 591, "Sort Space Type": "Memory"}], "Plans": [{"Node Type": "Hash Join", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Join Type": "Inner", "Startup Cost": 5.67, "Total Cost": 220524.39, "Plan Rows": 6386, "Plan Width": 70, "Actual Startup Time": 1.5, "Actual Total Time": 1100.336, "Actual Rows": 4974, "Actual Loops": 5, "Output": ["EXTRACT(year FROM orders.o_orderdate)", "n2.n_name", "lineitem.l_extendedprice", "lineitem.l_discount"], "Inner Unique": true, "Hash Cond": "(supplier.s_nationkey = n2.n_nationkey)", "Workers": [{"Worker Number": 0, "Actual Startup Time": 1.677, "Actual Total Time": 1099.024, "Actual Rows": 4726, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 1.347, "Actual Total Time": 1099.501, "Actual Rows": 4657, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 1.214, "Actual Total Time": 1099.299, "Actual Rows": 4663, "Actual Loops": 1}, {"Worker Number": 3, "Actual Startup Time": 3.153, "Actual Total Time": 1099.99, "Actual Rows": 4635, "Actual Loops": 1}], "Plans": [{"Node Type": "Nested Loop", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Join Type": "Inner", "Startup Cost": 4.1, "Total Cost": 220487.26, "Plan Rows": 6386, "Plan Width": 20, "Actual Startup Time": 1.413, "Actual Total Time": 1097.378, "Actual Rows": 4974, "Actual Loops": 5, "Output": ["lineitem.l_extendedprice", "lineitem.l_discount", "supplier.s_nationkey", "orders.o_orderdate"], "Inner Unique": true, "Workers": [{"Worker Number": 0, "Actual Startup Time": 1.575, "Actual Total Time": 1096.214, "Actual Rows": 4726, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 1.24, "Actual Total Time": 1096.72, "Actual Rows": 4657, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 1.109, "Actual Total Time": 1096.538, "Actual Rows": 4663, "Actual Loops": 1}, {"Worker Number": 3, "Actual Startup Time": 3.053, "Actual Total Time": 1097.248, "Actual Rows": 4635, "Actual Loops": 1}], "Plans": [{"Node Type": "Hash Join", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Join Type": "Inner", "Startup Cost": 3.81, "Total Cost": 218507.31, "Plan Rows": 6386, "Plan Width": 20, "Actual Startup Time": 1.37, "Actual Total Time": 1078.052, "Actual Rows": 4974, "Actual Loops": 5, "Output": ["lineitem.l_extendedprice", "lineitem.l_discount", "lineitem.l_suppkey", "orders.o_orderdate"], "Inner Unique": false, "Hash Cond": "(customer.c_nationkey = n1.n_nationkey)", "Workers": [{"Worker Number": 0, "Actual Startup Time": 1.527, "Actual Total Time": 1077.981, "Actual Rows": 4726, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 1.184, "Actual Total Time": 1078.628, "Actual Rows": 4657, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 1.06, "Actual Total Time": 1078.41, "Actual Rows": 4663, "Actual Loops": 1}, {"Worker Number": 3, "Actual Startup Time": 3.002, "Actual Total Time": 1079.206, "Actual Rows": 4635, "Actual Loops": 1}], "Plans": [{"Node Type": "Nested Loop", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Join Type": "Inner", "Startup Cost": 1.3, "Total Cost": 218321.2, "Plan Rows": 31932, "Plan Width": 24, "Actual Startup Time": 0.489, "Actual Total Time": 1072.985, "Actual Rows": 24632, "Actual Loops": 5, "Output": ["lineitem.l_extendedprice", "lineitem.l_discount", "lineitem.l_suppkey", "orders.o_orderdate", "customer.c_nationkey"], "Inner Unique": true, "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.362, "Actual Total Time": 1073.161, "Actual Rows": 23160, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 0.299, "Actual Total Time": 1073.896, "Actual Rows": 23230, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 0.975, "Actual Total Time": 1073.492, "Actual Rows": 23161, "Actual Loops": 1}, {"Worker Number": 3, "Actual Startup Time": 0.755, "Actual Total Time": 1074.469, "Actual Rows": 22834, "Actual Loops": 1}], "Plans": [{"Node Type": "Nested Loop", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Join Type": "Inner", "Startup Cost": 0.88, "Total Cost": 203803.96, "Plan Rows": 31932, "Plan Width": 24, "Actual Startup Time": 0.423, "Actual Total Time": 935.164, "Actual Rows": 24632, "Actual Loops": 5, "Output": ["lineitem.l_extendedprice", "lineitem.l_discount", "lineitem.l_suppkey", "orders.o_orderdate", "orders.o_custkey"], "Inner Unique": true, "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.278, "Actual Total Time": 940.937, "Actual Rows": 23160, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 0.223, "Actual Total Time": 942.594, "Actual Rows": 23230, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 0.893, "Actual Total Time": 942.022, "Actual Rows": 23161, "Actual Loops": 1}, {"Worker Number": 3, "Actual Startup Time": 0.677, "Actual Total Time": 944.786, "Actual Rows": 22834, "Actual Loops": 1}], "Plans": [{"Node Type": "Nested Loop", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Join Type": "Inner", "Startup Cost": 0.44, "Total Cost": 155195.55, "Plan Rows": 104977, "Plan Width": 20, "Actual Startup Time": 0.122, "Actual Total Time": 390.38, "Actual Rows": 80815, "Actual Loops": 5, "Output": ["lineitem.l_extendedprice", "lineitem.l_discount", "lineitem.l_suppkey", "lineitem.l_orderkey"], "Inner Unique": false, "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.113, "Actual Total Time": 410.482, "Actual Rows": 75398, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 0.134, "Actual Total Time": 414.273, "Actual Rows": 75847, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 0.183, "Actual Total Time": 409.325, "Actual Rows": 75742, "Actual Loops": 1}, {"Worker Number": 3, "Actual Startup Time": 0.146, "Actual Total Time": 414.114, "Actual Rows": 75608, "Actual Loops": 1}], "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": true, "Async Capable": false, "Relation Name": "part", "Schema": "public", "Alias": "part", "Startup Cost": 0.0, "Total Cost": 47212.0, "Plan Rows": 3500, "Plan Width": 4, "Actual Startup Time": 0.041, "Actual Total Time": 81.46, "Actual Rows": 2697, "Actual Loops": 5, "Output": ["part.p_partkey", "part.p_name", "part.p_mfgr", "part.p_brand", "part.p_type", "part.p_size", "part.p_container", "part.p_retailprice", "part.p_comment"], "Filter": "((part.p_type)::text = 'SMALL BRUSHED NICKEL'::text)", "Rows Removed by Filter": 397303, "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.019, "Actual Total Time": 71.007, "Actual Rows": 2530, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 0.035, "Actual Total Time": 75.612, "Actual Rows": 2536, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 0.088, "Actual Total Time": 70.533, "Actual Rows": 2513, "Actual Loops": 1}, {"Worker Number": 3, "Actual Startup Time": 0.049, "Actual Total Time": 76.219, "Actual Rows": 2520, "Actual Loops": 1}]}, {"Node Type": "Index Scan", "Parent Relationship": "Inner", "Parallel Aware": false, "Async Capable": false, "Scan Direction": "Forward", "Index Name": "l_pk", "Relation Name": "lineitem", "Schema": "public", "Alias": "lineitem", "Startup Cost": 0.44, "Total Cost": 30.54, "Plan Rows": 31, "Plan Width": 24, "Actual Startup Time": 0.008, "Actual Total Time": 0.107, "Actual Rows": 30, "Actual Loops": 13487, "Output": ["lineitem.l_orderkey", "lineitem.l_partkey", "lineitem.l_suppkey", "lineitem.l_linenumber", "lineitem.l_quantity", "lineitem.l_extendedprice", "lineitem.l_discount", "lineitem.l_tax", "lineitem.l_returnflag", "lineitem.l_linestatus", "lineitem.l_shipdate", "lineitem.l_commitdate", "lineitem.l_receiptdate", "lineitem.l_shipinstruct", "lineitem.l_shipmode", "lineitem.l_comment"], "Index Cond": "(lineitem.l_partkey = part.p_partkey)", "Rows Removed by Index Recheck": 0, "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.009, "Actual Total Time": 0.127, "Actual Rows": 30, "Actual Loops": 2530}, {"Worker Number": 1, "Actual Startup Time": 0.009, "Actual Total Time": 0.126, "Actual Rows": 30, "Actual Loops": 2536}, {"Worker Number": 2, "Actual Startup Time": 0.009, "Actual Total Time": 0.127, "Actual Rows": 30, "Actual Loops": 2513}, {"Worker Number": 3, "Actual Startup Time": 0.009, "Actual Total Time": 0.127, "Actual Rows": 30, "Actual Loops": 2520}]}]}, {"Node Type": "Index Scan", "Parent Relationship": "Inner", "Parallel Aware": false, "Async Capable": false, "Scan Direction": "Forward", "Index Name": "o_ok", "Relation Name": "orders", "Schema": "public", "Alias": "orders", "Startup Cost": 0.43, "Total Cost": 0.46, "Plan Rows": 1, "Plan Width": 12, "Actual Startup Time": 0.006, "Actual Total Time": 0.006, "Actual Rows": 0, "Actual Loops": 404076, "Output": ["orders.o_orderkey", "orders.o_custkey", "orders.o_orderstatus", "orders.o_totalprice", "orders.o_orderdate", "orders.o_orderpriority", "orders.o_clerk", "orders.o_shippriority", "orders.o_comment"], "Index Cond": "(orders.o_orderkey = lineitem.l_orderkey)", "Rows Removed by Index Recheck": 0, "Filter": "((orders.o_orderdate >= '1995-01-01'::date) AND (orders.o_orderdate <= '1996-12-31'::date))", "Rows Removed by Filter": 1, "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.007, "Actual Total Time": 0.007, "Actual Rows": 0, "Actual Loops": 75398}, {"Worker Number": 1, "Actual Startup Time": 0.007, "Actual Total Time": 0.007, "Actual Rows": 0, "Actual Loops": 75847}, {"Worker Number": 2, "Actual Startup Time": 0.007, "Actual Total Time": 0.007, "Actual Rows": 0, "Actual Loops": 75742}, {"Worker Number": 3, "Actual Startup Time": 0.007, "Actual Total Time": 0.007, "Actual Rows": 0, "Actual Loops": 75608}]}]}, {"Node Type": "Index Scan", "Parent Relationship": "Inner", "Parallel Aware": false, "Async Capable": false, "Scan Direction": "Forward", "Index Name": "c_ck", "Relation Name": "customer", "Schema": "public", "Alias": "customer", "Startup Cost": 0.43, "Total Cost": 0.45, "Plan Rows": 1, "Plan Width": 8, "Actual Startup Time": 0.005, "Actual Total Time": 0.005, "Actual Rows": 1, "Actual Loops": 123159, "Output": ["customer.c_custkey", "customer.c_name", "customer.c_address", "customer.c_nationkey", "customer.c_phone", "customer.c_acctbal", "customer.c_mktsegment", "customer.c_comment"], "Index Cond": "(customer.c_custkey = orders.o_custkey)", "Rows Removed by Index Recheck": 0, "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.005, "Actual Total Time": 0.005, "Actual Rows": 1, "Actual Loops": 23160}, {"Worker Number": 1, "Actual Startup Time": 0.005, "Actual Total Time": 0.005, "Actual Rows": 1, "Actual Loops": 23230}, {"Worker Number": 2, "Actual Startup Time": 0.005, "Actual Total Time": 0.005, "Actual Rows": 1, "Actual Loops": 23161}, {"Worker Number": 3, "Actual Startup Time": 0.005, "Actual Total Time": 0.005, "Actual Rows": 1, "Actual Loops": 22834}]}]}, {"Node Type": "Hash", "Parent Relationship": "Inner", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 2.45, "Total Cost": 2.45, "Plan Rows": 5, "Plan Width": 4, "Actual Startup Time": 0.055, "Actual Total Time": 0.057, "Actual Rows": 5, "Actual Loops": 5, "Output": ["n1.n_nationkey"], "Hash Buckets": 1024, "Original Hash Buckets": 1024, "Hash Batches": 1, "Original Hash Batches": 1, "Peak Memory Usage": 9, "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.065, "Actual Total Time": 0.067, "Actual Rows": 5, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 0.063, "Actual Total Time": 0.065, "Actual Rows": 5, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 0.065, "Actual Total Time": 0.067, "Actual Rows": 5, "Actual Loops": 1}, {"Worker Number": 3, "Actual Startup Time": 0.065, "Actual Total Time": 0.066, "Actual Rows": 5, "Actual Loops": 1}], "Plans": [{"Node Type": "Hash Join", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Join Type": "Inner", "Startup Cost": 1.07, "Total Cost": 2.45, "Plan Rows": 5, "Plan Width": 4, "Actual Startup Time": 0.046, "Actual Total Time": 0.054, "Actual Rows": 5, "Actual Loops": 5, "Output": ["n1.n_nationkey"], "Inner Unique": true, "Hash Cond": "(n1.n_regionkey = region.r_regionkey)", "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.055, "Actual Total Time": 0.063, "Actual Rows": 5, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 0.053, "Actual Total Time": 0.061, "Actual Rows": 5, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 0.055, "Actual Total Time": 0.063, "Actual Rows": 5, "Actual Loops": 1}, {"Worker Number": 3, "Actual Startup Time": 0.055, "Actual Total Time": 0.063, "Actual Rows": 5, "Actual Loops": 1}], "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Relation Name": "nation", "Schema": "public", "Alias": "n1", "Startup Cost": 0.0, "Total Cost": 1.25, "Plan Rows": 25, "Plan Width": 8, "Actual Startup Time": 0.002, "Actual Total Time": 0.004, "Actual Rows": 25, "Actual Loops": 5, "Output": ["n1.n_nationkey", "n1.n_name", "n1.n_regionkey", "n1.n_comment"], "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.001, "Actual Total Time": 0.003, "Actual Rows": 25, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 0.001, "Actual Total Time": 0.004, "Actual Rows": 25, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 0.002, "Actual Total Time": 0.004, "Actual Rows": 25, "Actual Loops": 1}, {"Worker Number": 3, "Actual Startup Time": 0.002, "Actual Total Time": 0.004, "Actual Rows": 25, "Actual Loops": 1}]}, {"Node Type": "Hash", "Parent Relationship": "Inner", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 1.06, "Total Cost": 1.06, "Plan Rows": 1, "Plan Width": 4, "Actual Startup Time": 0.027, "Actual Total Time": 0.027, "Actual Rows": 1, "Actual Loops": 5, "Output": ["region.r_regionkey"], "Hash Buckets": 1024, "Original Hash Buckets": 1024, "Hash Batches": 1, "Original Hash Batches": 1, "Peak Memory Usage": 9, "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.028, "Actual Total Time": 0.029, "Actual Rows": 1, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 0.026, "Actual Total Time": 0.027, "Actual Rows": 1, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 0.036, "Actual Total Time": 0.037, "Actual Rows": 1, "Actual Loops": 1}, {"Worker Number": 3, "Actual Startup Time": 0.037, "Actual Total Time": 0.038, "Actual Rows": 1, "Actual Loops": 1}], "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Relation Name": "region", "Schema": "public", "Alias": "region", "Startup Cost": 0.0, "Total Cost": 1.06, "Plan Rows": 1, "Plan Width": 4, "Actual Startup Time": 0.019, "Actual Total Time": 0.021, "Actual Rows": 1, "Actual Loops": 5, "Output": ["region.r_regionkey"], "Filter": "(region.r_name = 'AFRICA'::bpchar)", "Rows Removed by Filter": 4, "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.024, "Actual Total Time": 0.025, "Actual Rows": 1, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 0.022, "Actual Total Time": 0.023, "Actual Rows": 1, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 0.024, "Actual Total Time": 0.025, "Actual Rows": 1, "Actual Loops": 1}, {"Worker Number": 3, "Actual Startup Time": 0.023, "Actual Total Time": 0.025, "Actual Rows": 1, "Actual Loops": 1}]}]}]}]}]}, {"Node Type": "Index Scan", "Parent Relationship": "Inner", "Parallel Aware": false, "Async Capable": false, "Scan Direction": "Forward", "Index Name": "s_sk", "Relation Name": "supplier", "Schema": "public", "Alias": "supplier", "Startup Cost": 0.29, "Total Cost": 0.31, "Plan Rows": 1, "Plan Width": 8, "Actual Startup Time": 0.003, "Actual Total Time": 0.003, "Actual Rows": 1, "Actual Loops": 24872, "Output": ["supplier.s_suppkey", "supplier.s_name", "supplier.s_address", "supplier.s_nationkey", "supplier.s_phone", "supplier.s_acctbal", "supplier.s_comment"], "Index Cond": "(supplier.s_suppkey = lineitem.l_suppkey)", "Rows Removed by Index Recheck": 0, "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.003, "Actual Total Time": 0.003, "Actual Rows": 1, "Actual Loops": 4726}, {"Worker Number": 1, "Actual Startup Time": 0.003, "Actual Total Time": 0.003, "Actual Rows": 1, "Actual Loops": 4657}, {"Worker Number": 2, "Actual Startup Time": 0.003, "Actual Total Time": 0.003, "Actual Rows": 1, "Actual Loops": 4663}, {"Worker Number": 3, "Actual Startup Time": 0.003, "Actual Total Time": 0.003, "Actual Rows": 1, "Actual Loops": 4635}]}]}, {"Node Type": "Hash", "Parent Relationship": "Inner", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 1.25, "Total Cost": 1.25, "Plan Rows": 25, "Plan Width": 30, "Actual Startup Time": 0.031, "Actual Total Time": 0.031, "Actual Rows": 25, "Actual Loops": 5, "Output": ["n2.n_name", "n2.n_nationkey"], "Hash Buckets": 1024, "Original Hash Buckets": 1024, "Hash Batches": 1, "Original Hash Batches": 1, "Peak Memory Usage": 10, "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.034, "Actual Total Time": 0.034, "Actual Rows": 25, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 0.034, "Actual Total Time": 0.035, "Actual Rows": 25, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 0.034, "Actual Total Time": 0.035, "Actual Rows": 25, "Actual Loops": 1}, {"Worker Number": 3, "Actual Startup Time": 0.035, "Actual Total Time": 0.036, "Actual Rows": 25, "Actual Loops": 1}], "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Relation Name": "nation", "Schema": "public", "Alias": "n2", "Startup Cost": 0.0, "Total Cost": 1.25, "Plan Rows": 25, "Plan Width": 30, "Actual Startup Time": 0.019, "Actual Total Time": 0.023, "Actual Rows": 25, "Actual Loops": 5, "Output": ["n2.n_name", "n2.n_nationkey"], "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.022, "Actual Total Time": 0.026, "Actual Rows": 25, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 0.022, "Actual Total Time": 0.026, "Actual Rows": 25, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 0.022, "Actual Total Time": 0.026, "Actual Rows": 25, "Actual Loops": 1}, {"Worker Number": 3, "Actual Startup Time": 0.021, "Actual Total Time": 0.027, "Actual Rows": 25, "Actual Loops": 1}]}]}]}]}]}]}]}, "Planning Time": 3.128, "Triggers": [], "Execution Time": 1342.632} diff --git a/dev9/pg15/tpch/sf_10/explain_analyze/15721/9-1.ok b/dev9/pg15/tpch/sf_10/explain_analyze/15721/9-1.ok new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/dev9/pg15/tpch/sf_10/explain_analyze/15721/9-1.res b/dev9/pg15/tpch/sf_10/explain_analyze/15721/9-1.res new file mode 100644 index 0000000000000000000000000000000000000000..f9feb4c783fa6977451d7e895a9f526abe3474ac --- /dev/null +++ b/dev9/pg15/tpch/sf_10/explain_analyze/15721/9-1.res @@ -0,0 +1 @@ +{"Plan": {"Node Type": "Sort", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 527987.01, "Total Cost": 528137.39, "Plan Rows": 60150, "Plan Width": 90, "Actual Startup Time": 3827.288, "Actual Total Time": 4077.98, "Actual Rows": 175, "Actual Loops": 1, "Output": ["nation.n_name", "(EXTRACT(year FROM orders.o_orderdate))", "(sum(((lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount)) - (partsupp.ps_supplycost * lineitem.l_quantity))))"], "Sort Key": ["nation.n_name", "(EXTRACT(year FROM orders.o_orderdate)) DESC"], "Sort Method": "quicksort", "Sort Space Used": 40, "Sort Space Type": "Memory", "Plans": [{"Node Type": "Aggregate", "Strategy": "Hashed", "Partial Mode": "Finalize", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 522309.97, "Total Cost": 523212.22, "Plan Rows": 60150, "Plan Width": 90, "Actual Startup Time": 3825.576, "Actual Total Time": 4076.867, "Actual Rows": 175, "Actual Loops": 1, "Output": ["nation.n_name", "(EXTRACT(year FROM orders.o_orderdate))", "sum(((lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount)) - (partsupp.ps_supplycost * lineitem.l_quantity)))"], "Group Key": ["nation.n_name", "(EXTRACT(year FROM orders.o_orderdate))"], "Planned Partitions": 0, "HashAgg Batches": 1, "Peak Memory Usage": 3345, "Disk Usage": 0, "Plans": [{"Node Type": "Gather", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 481708.72, "Total Cost": 518700.97, "Plan Rows": 360900, "Plan Width": 90, "Actual Startup Time": 3777.641, "Actual Total Time": 4074.971, "Actual Rows": 1225, "Actual Loops": 1, "Output": ["nation.n_name", "(EXTRACT(year FROM orders.o_orderdate))", "(PARTIAL sum(((lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount)) - (partsupp.ps_supplycost * lineitem.l_quantity))))"], "Workers Planned": 6, "Workers Launched": 6, "Single Copy": false, "Plans": [{"Node Type": "Aggregate", "Strategy": "Hashed", "Partial Mode": "Partial", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 480708.72, "Total Cost": 481610.97, "Plan Rows": 60150, "Plan Width": 90, "Actual Startup Time": 3763.678, "Actual Total Time": 3764.187, "Actual Rows": 175, "Actual Loops": 7, "Output": ["nation.n_name", "(EXTRACT(year FROM orders.o_orderdate))", "PARTIAL sum(((lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount)) - (partsupp.ps_supplycost * lineitem.l_quantity)))"], "Group Key": ["nation.n_name", "EXTRACT(year FROM orders.o_orderdate)"], "Planned Partitions": 0, "HashAgg Batches": 1, "Peak Memory Usage": 3217, "Disk Usage": 0, "Workers": [{"Worker Number": 0, "Actual Startup Time": 3760.636, "Actual Total Time": 3761.096, "Actual Rows": 175, "Actual Loops": 1, "HashAgg Batches": 1, "Peak Memory Usage": 3217, "Disk Usage": 0}, {"Worker Number": 1, "Actual Startup Time": 3764.923, "Actual Total Time": 3765.374, "Actual Rows": 175, "Actual Loops": 1, "HashAgg Batches": 1, "Peak Memory Usage": 3217, "Disk Usage": 0}, {"Worker Number": 2, "Actual Startup Time": 3760.734, "Actual Total Time": 3761.205, "Actual Rows": 175, "Actual Loops": 1, "HashAgg Batches": 1, "Peak Memory Usage": 3217, "Disk Usage": 0}, {"Worker Number": 3, "Actual Startup Time": 3760.777, "Actual Total Time": 3761.241, "Actual Rows": 175, "Actual Loops": 1, "HashAgg Batches": 1, "Peak Memory Usage": 3217, "Disk Usage": 0}, {"Worker Number": 4, "Actual Startup Time": 3760.809, "Actual Total Time": 3761.279, "Actual Rows": 175, "Actual Loops": 1, "HashAgg Batches": 1, "Peak Memory Usage": 3217, "Disk Usage": 0}, {"Worker Number": 5, "Actual Startup Time": 3760.851, "Actual Total Time": 3761.311, "Actual Rows": 175, "Actual Loops": 1, "HashAgg Batches": 1, "Peak Memory Usage": 3217, "Disk Usage": 0}], "Plans": [{"Node Type": "Hash Join", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Join Type": "Inner", "Startup Cost": 171589.07, "Total Cost": 471241.9, "Plan Rows": 540961, "Plan Width": 81, "Actual Startup Time": 1764.106, "Actual Total Time": 3240.682, "Actual Rows": 464980, "Actual Loops": 7, "Output": ["nation.n_name", "EXTRACT(year FROM orders.o_orderdate)", "lineitem.l_extendedprice", "lineitem.l_discount", "partsupp.ps_supplycost", "lineitem.l_quantity"], "Inner Unique": true, "Hash Cond": "(supplier.s_nationkey = nation.n_nationkey)", "Workers": [{"Worker Number": 0, "Actual Startup Time": 1761.683, "Actual Total Time": 3229.615, "Actual Rows": 472187, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 1761.743, "Actual Total Time": 3234.71, "Actual Rows": 471706, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 1761.75, "Actual Total Time": 3231.409, "Actual Rows": 471212, "Actual Loops": 1}, {"Worker Number": 3, "Actual Startup Time": 1761.825, "Actual Total Time": 3232.106, "Actual Rows": 470155, "Actual Loops": 1}, {"Worker Number": 4, "Actual Startup Time": 1761.815, "Actual Total Time": 3232.735, "Actual Rows": 469814, "Actual Loops": 1}, {"Worker Number": 5, "Actual Startup Time": 1761.931, "Actual Total Time": 3230.95, "Actual Rows": 471627, "Actual Loops": 1}], "Plans": [{"Node Type": "Hash Join", "Parent Relationship": "Outer", "Parallel Aware": true, "Async Capable": false, "Join Type": "Inner", "Startup Cost": 171587.51, "Total Cost": 468227.19, "Plan Rows": 540961, "Plan Width": 31, "Actual Startup Time": 1764.017, "Actual Total Time": 3067.213, "Actual Rows": 464980, "Actual Loops": 7, "Output": ["lineitem.l_extendedprice", "lineitem.l_discount", "lineitem.l_quantity", "supplier.s_nationkey", "partsupp.ps_supplycost", "orders.o_orderdate"], "Inner Unique": false, "Hash Cond": "(orders.o_orderkey = lineitem.l_orderkey)", "Workers": [{"Worker Number": 0, "Actual Startup Time": 1761.587, "Actual Total Time": 3052.06, "Actual Rows": 472187, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 1761.647, "Actual Total Time": 3059.127, "Actual Rows": 471706, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 1761.652, "Actual Total Time": 3053.906, "Actual Rows": 471212, "Actual Loops": 1}, {"Worker Number": 3, "Actual Startup Time": 1761.728, "Actual Total Time": 3055.15, "Actual Rows": 470155, "Actual Loops": 1}, {"Worker Number": 4, "Actual Startup Time": 1761.71, "Actual Total Time": 3057.771, "Actual Rows": 469814, "Actual Loops": 1}, {"Worker Number": 5, "Actual Startup Time": 1761.83, "Actual Total Time": 3055.334, "Actual Rows": 471627, "Actual Loops": 1}], "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": true, "Async Capable": false, "Relation Name": "orders", "Schema": "public", "Alias": "orders", "Startup Cost": 0.0, "Total Cost": 285912.21, "Plan Rows": 2500020, "Plan Width": 8, "Actual Startup Time": 0.024, "Actual Total Time": 196.286, "Actual Rows": 2142857, "Actual Loops": 7, "Output": ["orders.o_orderkey", "orders.o_custkey", "orders.o_orderstatus", "orders.o_totalprice", "orders.o_orderdate", "orders.o_orderpriority", "orders.o_clerk", "orders.o_shippriority", "orders.o_comment"], "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.03, "Actual Total Time": 198.599, "Actual Rows": 2174786, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 0.027, "Actual Total Time": 199.09, "Actual Rows": 2182903, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 0.028, "Actual Total Time": 198.261, "Actual Rows": 2171120, "Actual Loops": 1}, {"Worker Number": 3, "Actual Startup Time": 0.026, "Actual Total Time": 197.707, "Actual Rows": 2166850, "Actual Loops": 1}, {"Worker Number": 4, "Actual Startup Time": 0.027, "Actual Total Time": 197.576, "Actual Rows": 2163848, "Actual Loops": 1}, {"Worker Number": 5, "Actual Startup Time": 0.024, "Actual Total Time": 198.434, "Actual Rows": 2171883, "Actual Loops": 1}]}, {"Node Type": "Hash", "Parent Relationship": "Inner", "Parallel Aware": true, "Async Capable": false, "Startup Cost": 161444.49, "Total Cost": 161444.49, "Plan Rows": 811442, "Plan Width": 31, "Actual Startup Time": 1759.559, "Actual Total Time": 1759.61, "Actual Rows": 464980, "Actual Loops": 7, "Output": ["lineitem.l_extendedprice", "lineitem.l_discount", "lineitem.l_quantity", "lineitem.l_orderkey", "supplier.s_nationkey", "partsupp.ps_supplycost"], "Hash Buckets": 4194304, "Original Hash Buckets": 4194304, "Hash Batches": 1, "Original Hash Batches": 1, "Peak Memory Usage": 261696, "Workers": [{"Worker Number": 0, "Actual Startup Time": 1761.51, "Actual Total Time": 1761.515, "Actual Rows": 449273, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 1761.536, "Actual Total Time": 1761.54, "Actual Rows": 447475, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 1761.585, "Actual Total Time": 1761.59, "Actual Rows": 443045, "Actual Loops": 1}, {"Worker Number": 3, "Actual Startup Time": 1761.637, "Actual Total Time": 1761.641, "Actual Rows": 446149, "Actual Loops": 1}, {"Worker Number": 4, "Actual Startup Time": 1761.646, "Actual Total Time": 1761.65, "Actual Rows": 442401, "Actual Loops": 1}, {"Worker Number": 5, "Actual Startup Time": 1761.718, "Actual Total Time": 1761.723, "Actual Rows": 443927, "Actual Loops": 1}], "Plans": [{"Node Type": "Nested Loop", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Join Type": "Inner", "Startup Cost": 3540.41, "Total Cost": 161444.49, "Plan Rows": 811442, "Plan Width": 31, "Actual Startup Time": 12.328, "Actual Total Time": 1452.339, "Actual Rows": 464980, "Actual Loops": 7, "Output": ["lineitem.l_extendedprice", "lineitem.l_discount", "lineitem.l_quantity", "lineitem.l_orderkey", "supplier.s_nationkey", "partsupp.ps_supplycost"], "Inner Unique": false, "Join Filter": "(supplier.s_suppkey = lineitem.l_suppkey)", "Rows Removed by Join Filter": 0, "Workers": [{"Worker Number": 0, "Actual Startup Time": 12.315, "Actual Total Time": 1457.201, "Actual Rows": 449273, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 12.324, "Actual Total Time": 1457.087, "Actual Rows": 447475, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 12.335, "Actual Total Time": 1454.548, "Actual Rows": 443045, "Actual Loops": 1}, {"Worker Number": 3, "Actual Startup Time": 12.327, "Actual Total Time": 1455.899, "Actual Rows": 446149, "Actual Loops": 1}, {"Worker Number": 4, "Actual Startup Time": 12.324, "Actual Total Time": 1453.811, "Actual Rows": 442401, "Actual Loops": 1}, {"Worker Number": 5, "Actual Startup Time": 12.331, "Actual Total Time": 1454.608, "Actual Rows": 443927, "Actual Loops": 1}], "Plans": [{"Node Type": "Hash Join", "Parent Relationship": "Outer", "Parallel Aware": true, "Async Capable": false, "Join Type": "Inner", "Startup Cost": 3539.97, "Total Cost": 92474.97, "Plan Rows": 108214, "Plan Width": 26, "Actual Startup Time": 12.262, "Actual Total Time": 226.24, "Actual Rows": 62025, "Actual Loops": 7, "Output": ["part.p_partkey", "partsupp.ps_supplycost", "partsupp.ps_suppkey", "partsupp.ps_partkey", "supplier.s_suppkey", "supplier.s_nationkey"], "Inner Unique": true, "Hash Cond": "(partsupp.ps_suppkey = supplier.s_suppkey)", "Workers": [{"Worker Number": 0, "Actual Startup Time": 12.256, "Actual Total Time": 218.069, "Actual Rows": 59848, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 12.251, "Actual Total Time": 218.23, "Actual Rows": 59688, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 12.259, "Actual Total Time": 216.395, "Actual Rows": 59064, "Actual Loops": 1}, {"Worker Number": 3, "Actual Startup Time": 12.252, "Actual Total Time": 217.688, "Actual Rows": 59428, "Actual Loops": 1}, {"Worker Number": 4, "Actual Startup Time": 12.245, "Actual Total Time": 216.681, "Actual Rows": 59092, "Actual Loops": 1}, {"Worker Number": 5, "Actual Startup Time": 12.248, "Actual Total Time": 218.056, "Actual Rows": 59192, "Actual Loops": 1}], "Plans": [{"Node Type": "Nested Loop", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Join Type": "Inner", "Startup Cost": 0.43, "Total Cost": 88651.36, "Plan Rows": 108214, "Plan Width": 18, "Actual Startup Time": 0.109, "Actual Total Time": 177.549, "Actual Rows": 62025, "Actual Loops": 7, "Output": ["part.p_partkey", "partsupp.ps_supplycost", "partsupp.ps_suppkey", "partsupp.ps_partkey"], "Inner Unique": false, "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.126, "Actual Total Time": 170.902, "Actual Rows": 59848, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 0.116, "Actual Total Time": 170.933, "Actual Rows": 59688, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 0.116, "Actual Total Time": 169.618, "Actual Rows": 59064, "Actual Loops": 1}, {"Worker Number": 3, "Actual Startup Time": 0.122, "Actual Total Time": 170.458, "Actual Rows": 59428, "Actual Loops": 1}, {"Worker Number": 4, "Actual Startup Time": 0.119, "Actual Total Time": 169.67, "Actual Rows": 59092, "Actual Loops": 1}, {"Worker Number": 5, "Actual Startup Time": 0.119, "Actual Total Time": 171.166, "Actual Rows": 59192, "Actual Loops": 1}], "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": true, "Async Capable": false, "Relation Name": "part", "Schema": "public", "Alias": "part", "Startup Cost": 0.0, "Total Cost": 47212.0, "Plan Rows": 27054, "Plan Width": 4, "Actual Startup Time": 0.021, "Actual Total Time": 83.223, "Actual Rows": 15506, "Actual Loops": 7, "Output": ["part.p_partkey", "part.p_name", "part.p_mfgr", "part.p_brand", "part.p_type", "part.p_size", "part.p_container", "part.p_retailprice", "part.p_comment"], "Filter": "((part.p_name)::text ~~ '%forest%'::text)", "Rows Removed by Filter": 270208, "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.021, "Actual Total Time": 79.271, "Actual Rows": 14962, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 0.025, "Actual Total Time": 79.302, "Actual Rows": 14922, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 0.02, "Actual Total Time": 78.868, "Actual Rows": 14766, "Actual Loops": 1}, {"Worker Number": 3, "Actual Startup Time": 0.018, "Actual Total Time": 79.491, "Actual Rows": 14857, "Actual Loops": 1}, {"Worker Number": 4, "Actual Startup Time": 0.026, "Actual Total Time": 78.41, "Actual Rows": 14773, "Actual Loops": 1}, {"Worker Number": 5, "Actual Startup Time": 0.024, "Actual Total Time": 80.004, "Actual Rows": 14798, "Actual Loops": 1}]}, {"Node Type": "Index Scan", "Parent Relationship": "Inner", "Parallel Aware": false, "Async Capable": false, "Scan Direction": "Forward", "Index Name": "ps_pk", "Relation Name": "partsupp", "Schema": "public", "Alias": "partsupp", "Startup Cost": 0.43, "Total Cost": 1.48, "Plan Rows": 5, "Plan Width": 14, "Actual Startup Time": 0.004, "Actual Total Time": 0.005, "Actual Rows": 4, "Actual Loops": 108543, "Output": ["partsupp.ps_partkey", "partsupp.ps_suppkey", "partsupp.ps_availqty", "partsupp.ps_supplycost", "partsupp.ps_comment"], "Index Cond": "(partsupp.ps_partkey = part.p_partkey)", "Rows Removed by Index Recheck": 0, "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.004, "Actual Total Time": 0.005, "Actual Rows": 4, "Actual Loops": 14962}, {"Worker Number": 1, "Actual Startup Time": 0.004, "Actual Total Time": 0.005, "Actual Rows": 4, "Actual Loops": 14922}, {"Worker Number": 2, "Actual Startup Time": 0.004, "Actual Total Time": 0.005, "Actual Rows": 4, "Actual Loops": 14766}, {"Worker Number": 3, "Actual Startup Time": 0.004, "Actual Total Time": 0.005, "Actual Rows": 4, "Actual Loops": 14857}, {"Worker Number": 4, "Actual Startup Time": 0.004, "Actual Total Time": 0.005, "Actual Rows": 4, "Actual Loops": 14773}, {"Worker Number": 5, "Actual Startup Time": 0.004, "Actual Total Time": 0.005, "Actual Rows": 4, "Actual Loops": 14798}]}]}, {"Node Type": "Hash", "Parent Relationship": "Inner", "Parallel Aware": true, "Async Capable": false, "Startup Cost": 2804.24, "Total Cost": 2804.24, "Plan Rows": 58824, "Plan Width": 8, "Actual Startup Time": 11.932, "Actual Total Time": 11.933, "Actual Rows": 14286, "Actual Loops": 7, "Output": ["supplier.s_suppkey", "supplier.s_nationkey"], "Hash Buckets": 131072, "Original Hash Buckets": 131072, "Hash Batches": 1, "Original Hash Batches": 1, "Peak Memory Usage": 5056, "Workers": [{"Worker Number": 0, "Actual Startup Time": 12.088, "Actual Total Time": 12.089, "Actual Rows": 14515, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 12.093, "Actual Total Time": 12.093, "Actual Rows": 13929, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 12.1, "Actual Total Time": 12.101, "Actual Rows": 13840, "Actual Loops": 1}, {"Worker Number": 3, "Actual Startup Time": 12.083, "Actual Total Time": 12.084, "Actual Rows": 14164, "Actual Loops": 1}, {"Worker Number": 4, "Actual Startup Time": 12.085, "Actual Total Time": 12.085, "Actual Rows": 13877, "Actual Loops": 1}, {"Worker Number": 5, "Actual Startup Time": 12.092, "Actual Total Time": 12.093, "Actual Rows": 13951, "Actual Loops": 1}], "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": true, "Async Capable": false, "Relation Name": "supplier", "Schema": "public", "Alias": "supplier", "Startup Cost": 0.0, "Total Cost": 2804.24, "Plan Rows": 58824, "Plan Width": 8, "Actual Startup Time": 0.031, "Actual Total Time": 5.008, "Actual Rows": 14286, "Actual Loops": 7, "Output": ["supplier.s_suppkey", "supplier.s_nationkey"], "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.033, "Actual Total Time": 5.247, "Actual Rows": 14515, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 0.035, "Actual Total Time": 5.061, "Actual Rows": 13929, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 0.033, "Actual Total Time": 5.126, "Actual Rows": 13840, "Actual Loops": 1}, {"Worker Number": 3, "Actual Startup Time": 0.024, "Actual Total Time": 5.133, "Actual Rows": 14164, "Actual Loops": 1}, {"Worker Number": 4, "Actual Startup Time": 0.047, "Actual Total Time": 5.032, "Actual Rows": 13877, "Actual Loops": 1}, {"Worker Number": 5, "Actual Startup Time": 0.036, "Actual Total Time": 5.081, "Actual Rows": 13951, "Actual Loops": 1}]}]}]}, {"Node Type": "Index Scan", "Parent Relationship": "Inner", "Parallel Aware": false, "Async Capable": false, "Scan Direction": "Forward", "Index Name": "l_pk_sk", "Relation Name": "lineitem", "Schema": "public", "Alias": "lineitem", "Startup Cost": 0.44, "Total Cost": 0.62, "Plan Rows": 1, "Plan Width": 29, "Actual Startup Time": 0.004, "Actual Total Time": 0.018, "Actual Rows": 7, "Actual Loops": 434172, "Output": ["lineitem.l_orderkey", "lineitem.l_partkey", "lineitem.l_suppkey", "lineitem.l_linenumber", "lineitem.l_quantity", "lineitem.l_extendedprice", "lineitem.l_discount", "lineitem.l_tax", "lineitem.l_returnflag", "lineitem.l_linestatus", "lineitem.l_shipdate", "lineitem.l_commitdate", "lineitem.l_receiptdate", "lineitem.l_shipinstruct", "lineitem.l_shipmode", "lineitem.l_comment"], "Index Cond": "((lineitem.l_partkey = partsupp.ps_partkey) AND (lineitem.l_suppkey = partsupp.ps_suppkey))", "Rows Removed by Index Recheck": 0, "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.005, "Actual Total Time": 0.019, "Actual Rows": 8, "Actual Loops": 59848}, {"Worker Number": 1, "Actual Startup Time": 0.005, "Actual Total Time": 0.019, "Actual Rows": 7, "Actual Loops": 59688}, {"Worker Number": 2, "Actual Startup Time": 0.005, "Actual Total Time": 0.019, "Actual Rows": 8, "Actual Loops": 59064}, {"Worker Number": 3, "Actual Startup Time": 0.005, "Actual Total Time": 0.019, "Actual Rows": 8, "Actual Loops": 59428}, {"Worker Number": 4, "Actual Startup Time": 0.005, "Actual Total Time": 0.019, "Actual Rows": 7, "Actual Loops": 59092}, {"Worker Number": 5, "Actual Startup Time": 0.005, "Actual Total Time": 0.019, "Actual Rows": 7, "Actual Loops": 59192}]}]}]}]}, {"Node Type": "Hash", "Parent Relationship": "Inner", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 1.25, "Total Cost": 1.25, "Plan Rows": 25, "Plan Width": 30, "Actual Startup Time": 0.033, "Actual Total Time": 0.034, "Actual Rows": 25, "Actual Loops": 7, "Output": ["nation.n_name", "nation.n_nationkey"], "Hash Buckets": 1024, "Original Hash Buckets": 1024, "Hash Batches": 1, "Original Hash Batches": 1, "Peak Memory Usage": 10, "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.034, "Actual Total Time": 0.035, "Actual Rows": 25, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 0.034, "Actual Total Time": 0.034, "Actual Rows": 25, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 0.034, "Actual Total Time": 0.035, "Actual Rows": 25, "Actual Loops": 1}, {"Worker Number": 3, "Actual Startup Time": 0.034, "Actual Total Time": 0.035, "Actual Rows": 25, "Actual Loops": 1}, {"Worker Number": 4, "Actual Startup Time": 0.037, "Actual Total Time": 0.038, "Actual Rows": 25, "Actual Loops": 1}, {"Worker Number": 5, "Actual Startup Time": 0.039, "Actual Total Time": 0.04, "Actual Rows": 25, "Actual Loops": 1}], "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Relation Name": "nation", "Schema": "public", "Alias": "nation", "Startup Cost": 0.0, "Total Cost": 1.25, "Plan Rows": 25, "Plan Width": 30, "Actual Startup Time": 0.021, "Actual Total Time": 0.025, "Actual Rows": 25, "Actual Loops": 7, "Output": ["nation.n_name", "nation.n_nationkey"], "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.023, "Actual Total Time": 0.026, "Actual Rows": 25, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 0.023, "Actual Total Time": 0.026, "Actual Rows": 25, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 0.023, "Actual Total Time": 0.026, "Actual Rows": 25, "Actual Loops": 1}, {"Worker Number": 3, "Actual Startup Time": 0.023, "Actual Total Time": 0.027, "Actual Rows": 25, "Actual Loops": 1}, {"Worker Number": 4, "Actual Startup Time": 0.025, "Actual Total Time": 0.029, "Actual Rows": 25, "Actual Loops": 1}, {"Worker Number": 5, "Actual Startup Time": 0.025, "Actual Total Time": 0.031, "Actual Rows": 25, "Actual Loops": 1}]}]}]}]}]}]}]}, "Planning Time": 4.831, "Triggers": [], "Execution Time": 4078.971} diff --git a/dev9/pg16/tpch/sf_1/explain/15721/1-1.ok b/dev9/pg16/tpch/sf_1/explain/15721/1-1.ok new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/dev9/pg16/tpch/sf_1/explain/15721/1-1.res b/dev9/pg16/tpch/sf_1/explain/15721/1-1.res new file mode 100644 index 0000000000000000000000000000000000000000..ad3c4e45b3c3292d3fb7ff54edca65b3249c6b2c --- /dev/null +++ b/dev9/pg16/tpch/sf_1/explain/15721/1-1.res @@ -0,0 +1 @@ +{"Plan": {"Node Type": "Aggregate", "Strategy": "Sorted", "Partial Mode": "Finalize", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 169580.01, "Total Cost": 169584.78, "Plan Rows": 6, "Plan Width": 236, "Output": ["l_returnflag", "l_linestatus", "sum(l_quantity)", "sum(l_extendedprice)", "sum((l_extendedprice * ('1'::numeric - l_discount)))", "sum(((l_extendedprice * ('1'::numeric - l_discount)) * ('1'::numeric + l_tax)))", "avg(l_quantity)", "avg(l_extendedprice)", "avg(l_discount)", "count(*)"], "Group Key": ["lineitem.l_returnflag", "lineitem.l_linestatus"], "Plans": [{"Node Type": "Gather Merge", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 169580.01, "Total Cost": 169583.64, "Plan Rows": 30, "Plan Width": 236, "Output": ["l_returnflag", "l_linestatus", "(PARTIAL sum(l_quantity))", "(PARTIAL sum(l_extendedprice))", "(PARTIAL sum((l_extendedprice * ('1'::numeric - l_discount))))", "(PARTIAL sum(((l_extendedprice * ('1'::numeric - l_discount)) * ('1'::numeric + l_tax))))", "(PARTIAL avg(l_quantity))", "(PARTIAL avg(l_extendedprice))", "(PARTIAL avg(l_discount))", "(PARTIAL count(*))"], "Workers Planned": 5, "Plans": [{"Node Type": "Sort", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 168579.93, "Total Cost": 168579.95, "Plan Rows": 6, "Plan Width": 236, "Output": ["l_returnflag", "l_linestatus", "(PARTIAL sum(l_quantity))", "(PARTIAL sum(l_extendedprice))", "(PARTIAL sum((l_extendedprice * ('1'::numeric - l_discount))))", "(PARTIAL sum(((l_extendedprice * ('1'::numeric - l_discount)) * ('1'::numeric + l_tax))))", "(PARTIAL avg(l_quantity))", "(PARTIAL avg(l_extendedprice))", "(PARTIAL avg(l_discount))", "(PARTIAL count(*))"], "Sort Key": ["lineitem.l_returnflag", "lineitem.l_linestatus"], "Plans": [{"Node Type": "Aggregate", "Strategy": "Hashed", "Partial Mode": "Partial", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 168579.72, "Total Cost": 168579.85, "Plan Rows": 6, "Plan Width": 236, "Output": ["l_returnflag", "l_linestatus", "PARTIAL sum(l_quantity)", "PARTIAL sum(l_extendedprice)", "PARTIAL sum((l_extendedprice * ('1'::numeric - l_discount)))", "PARTIAL sum(((l_extendedprice * ('1'::numeric - l_discount)) * ('1'::numeric + l_tax)))", "PARTIAL avg(l_quantity)", "PARTIAL avg(l_extendedprice)", "PARTIAL avg(l_discount)", "PARTIAL count(*)"], "Group Key": ["lineitem.l_returnflag", "lineitem.l_linestatus"], "Planned Partitions": 0, "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": true, "Async Capable": false, "Relation Name": "lineitem", "Schema": "public", "Alias": "lineitem", "Startup Cost": 0.0, "Total Cost": 127558.04, "Plan Rows": 1172048, "Plan Width": 25, "Output": ["l_orderkey", "l_partkey", "l_suppkey", "l_linenumber", "l_quantity", "l_extendedprice", "l_discount", "l_tax", "l_returnflag", "l_linestatus", "l_shipdate", "l_commitdate", "l_receiptdate", "l_shipinstruct", "l_shipmode", "l_comment"], "Filter": "(lineitem.l_shipdate <= '1998-08-07 23:59:57'::timestamp without time zone)"}]}]}]}]}} diff --git a/dev9/pg16/tpch/sf_1/explain/15721/10-1.ok b/dev9/pg16/tpch/sf_1/explain/15721/10-1.ok new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/dev9/pg16/tpch/sf_1/explain/15721/10-1.res b/dev9/pg16/tpch/sf_1/explain/15721/10-1.res new file mode 100644 index 0000000000000000000000000000000000000000..b4617b7ee3c320b766da8d791d43835eded7b31c --- /dev/null +++ b/dev9/pg16/tpch/sf_1/explain/15721/10-1.res @@ -0,0 +1 @@ +{"Plan": {"Node Type": "Limit", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 69555.44, "Total Cost": 69555.49, "Plan Rows": 20, "Plan Width": 202, "Output": ["customer.c_custkey", "customer.c_name", "(sum((lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount))))", "customer.c_acctbal", "nation.n_name", "customer.c_address", "customer.c_phone", "customer.c_comment"], "Plans": [{"Node Type": "Sort", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 69555.44, "Total Cost": 69688.69, "Plan Rows": 53300, "Plan Width": 202, "Output": ["customer.c_custkey", "customer.c_name", "(sum((lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount))))", "customer.c_acctbal", "nation.n_name", "customer.c_address", "customer.c_phone", "customer.c_comment"], "Sort Key": ["(sum((lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount)))) DESC"], "Plans": [{"Node Type": "Aggregate", "Strategy": "Hashed", "Partial Mode": "Simple", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 67470.9, "Total Cost": 68137.15, "Plan Rows": 53300, "Plan Width": 202, "Output": ["customer.c_custkey", "customer.c_name", "sum((lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount)))", "customer.c_acctbal", "nation.n_name", "customer.c_address", "customer.c_phone", "customer.c_comment"], "Group Key": ["customer.c_custkey", "nation.n_name"], "Planned Partitions": 0, "Plans": [{"Node Type": "Gather", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 6612.57, "Total Cost": 66804.65, "Plan Rows": 53300, "Plan Width": 182, "Output": ["customer.c_custkey", "nation.n_name", "customer.c_name", "lineitem.l_extendedprice", "lineitem.l_discount", "customer.c_acctbal", "customer.c_address", "customer.c_phone", "customer.c_comment"], "Workers Planned": 3, "Single Copy": false, "Plans": [{"Node Type": "Hash Join", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Join Type": "Inner", "Startup Cost": 5612.57, "Total Cost": 60474.65, "Plan Rows": 17194, "Plan Width": 182, "Output": ["customer.c_custkey", "nation.n_name", "customer.c_name", "lineitem.l_extendedprice", "lineitem.l_discount", "customer.c_acctbal", "customer.c_address", "customer.c_phone", "customer.c_comment"], "Inner Unique": true, "Hash Cond": "(customer.c_nationkey = nation.n_nationkey)", "Plans": [{"Node Type": "Hash Join", "Parent Relationship": "Outer", "Parallel Aware": true, "Async Capable": false, "Join Type": "Inner", "Startup Cost": 5611.01, "Total Cost": 60420.3, "Plan Rows": 17194, "Plan Width": 160, "Output": ["customer.c_custkey", "customer.c_name", "customer.c_acctbal", "customer.c_address", "customer.c_phone", "customer.c_comment", "customer.c_nationkey", "lineitem.l_extendedprice", "lineitem.l_discount"], "Inner Unique": true, "Hash Cond": "(orders.o_custkey = customer.c_custkey)", "Plans": [{"Node Type": "Nested Loop", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Join Type": "Inner", "Startup Cost": 610.76, "Total Cost": 55374.91, "Plan Rows": 17194, "Plan Width": 16, "Output": ["orders.o_custkey", "lineitem.l_extendedprice", "lineitem.l_discount"], "Inner Unique": false, "Plans": [{"Node Type": "Bitmap Heap Scan", "Parent Relationship": "Outer", "Parallel Aware": true, "Async Capable": false, "Relation Name": "orders", "Schema": "public", "Alias": "orders", "Startup Cost": 610.33, "Total Cost": 26997.8, "Plan Rows": 17498, "Plan Width": 8, "Output": ["orders.o_orderkey", "orders.o_custkey", "orders.o_orderstatus", "orders.o_totalprice", "orders.o_orderdate", "orders.o_orderpriority", "orders.o_clerk", "orders.o_shippriority", "orders.o_comment"], "Recheck Cond": "((orders.o_orderdate >= '1993-02-01'::date) AND (orders.o_orderdate < '1993-05-01 00:00:00'::timestamp without time zone))", "Plans": [{"Node Type": "Bitmap Index Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Index Name": "o_od", "Startup Cost": 0.0, "Total Cost": 596.77, "Plan Rows": 54244, "Plan Width": 0, "Index Cond": "((orders.o_orderdate >= '1993-02-01'::date) AND (orders.o_orderdate < '1993-05-01 00:00:00'::timestamp without time zone))"}]}, {"Node Type": "Index Scan", "Parent Relationship": "Inner", "Parallel Aware": false, "Async Capable": false, "Scan Direction": "Forward", "Index Name": "l_ok", "Relation Name": "lineitem", "Schema": "public", "Alias": "lineitem", "Startup Cost": 0.43, "Total Cost": 1.61, "Plan Rows": 1, "Plan Width": 16, "Output": ["lineitem.l_orderkey", "lineitem.l_partkey", "lineitem.l_suppkey", "lineitem.l_linenumber", "lineitem.l_quantity", "lineitem.l_extendedprice", "lineitem.l_discount", "lineitem.l_tax", "lineitem.l_returnflag", "lineitem.l_linestatus", "lineitem.l_shipdate", "lineitem.l_commitdate", "lineitem.l_receiptdate", "lineitem.l_shipinstruct", "lineitem.l_shipmode", "lineitem.l_comment"], "Index Cond": "(lineitem.l_orderkey = orders.o_orderkey)", "Filter": "(lineitem.l_returnflag = 'R'::bpchar)"}]}, {"Node Type": "Hash", "Parent Relationship": "Inner", "Parallel Aware": true, "Async Capable": false, "Startup Cost": 4219.0, "Total Cost": 4219.0, "Plan Rows": 62500, "Plan Width": 148, "Output": ["customer.c_custkey", "customer.c_name", "customer.c_acctbal", "customer.c_address", "customer.c_phone", "customer.c_comment", "customer.c_nationkey"], "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": true, "Async Capable": false, "Relation Name": "customer", "Schema": "public", "Alias": "customer", "Startup Cost": 0.0, "Total Cost": 4219.0, "Plan Rows": 62500, "Plan Width": 148, "Output": ["customer.c_custkey", "customer.c_name", "customer.c_acctbal", "customer.c_address", "customer.c_phone", "customer.c_comment", "customer.c_nationkey"]}]}]}, {"Node Type": "Hash", "Parent Relationship": "Inner", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 1.25, "Total Cost": 1.25, "Plan Rows": 25, "Plan Width": 30, "Output": ["nation.n_name", "nation.n_nationkey"], "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Relation Name": "nation", "Schema": "public", "Alias": "nation", "Startup Cost": 0.0, "Total Cost": 1.25, "Plan Rows": 25, "Plan Width": 30, "Output": ["nation.n_name", "nation.n_nationkey"]}]}]}]}]}]}]}} diff --git a/dev9/pg16/tpch/sf_1/explain/15721/11-1.ok b/dev9/pg16/tpch/sf_1/explain/15721/11-1.ok new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/dev9/pg16/tpch/sf_1/explain/15721/11-1.res b/dev9/pg16/tpch/sf_1/explain/15721/11-1.res new file mode 100644 index 0000000000000000000000000000000000000000..26909476806526396362e0680b15139eb6b8fb8b --- /dev/null +++ b/dev9/pg16/tpch/sf_1/explain/15721/11-1.res @@ -0,0 +1 @@ +{"Plan": {"Node Type": "Sort", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 5906.97, "Total Cost": 5933.64, "Plan Rows": 10667, "Plan Width": 36, "Output": ["partsupp.ps_partkey", "(sum((partsupp.ps_supplycost * (partsupp.ps_availqty)::numeric)))"], "Sort Key": ["(sum((partsupp.ps_supplycost * (partsupp.ps_availqty)::numeric))) DESC"], "Plans": [{"Node Type": "Aggregate", "Strategy": "Plain", "Partial Mode": "Simple", "Parent Relationship": "InitPlan", "Subplan Name": "InitPlan 1 (returns $2)", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 2316.65, "Total Cost": 2316.66, "Plan Rows": 1, "Plan Width": 32, "Output": ["(sum((partsupp_1.ps_supplycost * (partsupp_1.ps_availqty)::numeric)) * 0.0001000000)"], "Plans": [{"Node Type": "Nested Loop", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Join Type": "Inner", "Startup Cost": 4.91, "Total Cost": 2076.64, "Plan Rows": 32000, "Plan Width": 10, "Output": ["partsupp_1.ps_supplycost", "partsupp_1.ps_availqty"], "Inner Unique": false, "Plans": [{"Node Type": "Nested Loop", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Join Type": "Inner", "Startup Cost": 4.48, "Total Cost": 226.37, "Plan Rows": 400, "Plan Width": 4, "Output": ["supplier_1.s_suppkey"], "Inner Unique": false, "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Relation Name": "nation", "Schema": "public", "Alias": "nation_1", "Startup Cost": 0.0, "Total Cost": 1.31, "Plan Rows": 1, "Plan Width": 4, "Output": ["nation_1.n_nationkey", "nation_1.n_name", "nation_1.n_regionkey", "nation_1.n_comment"], "Filter": "(nation_1.n_name = 'CHINA'::bpchar)"}, {"Node Type": "Bitmap Heap Scan", "Parent Relationship": "Inner", "Parallel Aware": false, "Async Capable": false, "Relation Name": "supplier", "Schema": "public", "Alias": "supplier_1", "Startup Cost": 4.48, "Total Cost": 221.06, "Plan Rows": 400, "Plan Width": 8, "Output": ["supplier_1.s_suppkey", "supplier_1.s_name", "supplier_1.s_address", "supplier_1.s_nationkey", "supplier_1.s_phone", "supplier_1.s_acctbal", "supplier_1.s_comment"], "Recheck Cond": "(supplier_1.s_nationkey = nation_1.n_nationkey)", "Plans": [{"Node Type": "Bitmap Index Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Index Name": "s_nk", "Startup Cost": 0.0, "Total Cost": 4.38, "Plan Rows": 400, "Plan Width": 0, "Index Cond": "(supplier_1.s_nationkey = nation_1.n_nationkey)"}]}]}, {"Node Type": "Index Scan", "Parent Relationship": "Inner", "Parallel Aware": false, "Async Capable": false, "Scan Direction": "Forward", "Index Name": "ps_sk", "Relation Name": "partsupp", "Schema": "public", "Alias": "partsupp_1", "Startup Cost": 0.42, "Total Cost": 3.83, "Plan Rows": 80, "Plan Width": 14, "Output": ["partsupp_1.ps_partkey", "partsupp_1.ps_suppkey", "partsupp_1.ps_availqty", "partsupp_1.ps_supplycost", "partsupp_1.ps_comment"], "Index Cond": "(partsupp_1.ps_suppkey = supplier_1.s_suppkey)"}]}]}, {"Node Type": "Aggregate", "Strategy": "Hashed", "Partial Mode": "Simple", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 2396.64, "Total Cost": 2876.64, "Plan Rows": 10667, "Plan Width": 36, "Output": ["partsupp.ps_partkey", "sum((partsupp.ps_supplycost * (partsupp.ps_availqty)::numeric))"], "Group Key": ["partsupp.ps_partkey"], "Filter": "(sum((partsupp.ps_supplycost * (partsupp.ps_availqty)::numeric)) > $2)", "Planned Partitions": 0, "Plans": [{"Node Type": "Nested Loop", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Join Type": "Inner", "Startup Cost": 4.91, "Total Cost": 2076.64, "Plan Rows": 32000, "Plan Width": 14, "Output": ["partsupp.ps_partkey", "partsupp.ps_supplycost", "partsupp.ps_availqty"], "Inner Unique": false, "Plans": [{"Node Type": "Nested Loop", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Join Type": "Inner", "Startup Cost": 4.48, "Total Cost": 226.37, "Plan Rows": 400, "Plan Width": 4, "Output": ["supplier.s_suppkey"], "Inner Unique": false, "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Relation Name": "nation", "Schema": "public", "Alias": "nation", "Startup Cost": 0.0, "Total Cost": 1.31, "Plan Rows": 1, "Plan Width": 4, "Output": ["nation.n_nationkey", "nation.n_name", "nation.n_regionkey", "nation.n_comment"], "Filter": "(nation.n_name = 'CHINA'::bpchar)"}, {"Node Type": "Bitmap Heap Scan", "Parent Relationship": "Inner", "Parallel Aware": false, "Async Capable": false, "Relation Name": "supplier", "Schema": "public", "Alias": "supplier", "Startup Cost": 4.48, "Total Cost": 221.06, "Plan Rows": 400, "Plan Width": 8, "Output": ["supplier.s_suppkey", "supplier.s_name", "supplier.s_address", "supplier.s_nationkey", "supplier.s_phone", "supplier.s_acctbal", "supplier.s_comment"], "Recheck Cond": "(supplier.s_nationkey = nation.n_nationkey)", "Plans": [{"Node Type": "Bitmap Index Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Index Name": "s_nk", "Startup Cost": 0.0, "Total Cost": 4.38, "Plan Rows": 400, "Plan Width": 0, "Index Cond": "(supplier.s_nationkey = nation.n_nationkey)"}]}]}, {"Node Type": "Index Scan", "Parent Relationship": "Inner", "Parallel Aware": false, "Async Capable": false, "Scan Direction": "Forward", "Index Name": "ps_sk", "Relation Name": "partsupp", "Schema": "public", "Alias": "partsupp", "Startup Cost": 0.42, "Total Cost": 3.83, "Plan Rows": 80, "Plan Width": 18, "Output": ["partsupp.ps_partkey", "partsupp.ps_suppkey", "partsupp.ps_availqty", "partsupp.ps_supplycost", "partsupp.ps_comment"], "Index Cond": "(partsupp.ps_suppkey = supplier.s_suppkey)"}]}]}]}} diff --git a/dev9/pg16/tpch/sf_1/explain/15721/12-1.ok b/dev9/pg16/tpch/sf_1/explain/15721/12-1.ok new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/dev9/pg16/tpch/sf_1/explain/15721/12-1.res b/dev9/pg16/tpch/sf_1/explain/15721/12-1.res new file mode 100644 index 0000000000000000000000000000000000000000..55d3706bb214dd1ba6411e93a5fb0ce24c33a670 --- /dev/null +++ b/dev9/pg16/tpch/sf_1/explain/15721/12-1.res @@ -0,0 +1 @@ +{"Plan": {"Node Type": "Aggregate", "Strategy": "Sorted", "Partial Mode": "Finalize", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 135627.43, "Total Cost": 135748.01, "Plan Rows": 7, "Plan Width": 27, "Output": ["lineitem.l_shipmode", "sum(CASE WHEN ((orders.o_orderpriority = '1-URGENT'::bpchar) OR (orders.o_orderpriority = '2-HIGH'::bpchar)) THEN 1 ELSE 0 END)", "sum(CASE WHEN ((orders.o_orderpriority <> '1-URGENT'::bpchar) AND (orders.o_orderpriority <> '2-HIGH'::bpchar)) THEN 1 ELSE 0 END)"], "Group Key": ["lineitem.l_shipmode"], "Plans": [{"Node Type": "Gather Merge", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 135627.43, "Total Cost": 135747.68, "Plan Rows": 35, "Plan Width": 27, "Output": ["lineitem.l_shipmode", "(PARTIAL sum(CASE WHEN ((orders.o_orderpriority = '1-URGENT'::bpchar) OR (orders.o_orderpriority = '2-HIGH'::bpchar)) THEN 1 ELSE 0 END))", "(PARTIAL sum(CASE WHEN ((orders.o_orderpriority <> '1-URGENT'::bpchar) AND (orders.o_orderpriority <> '2-HIGH'::bpchar)) THEN 1 ELSE 0 END))"], "Workers Planned": 5, "Plans": [{"Node Type": "Aggregate", "Strategy": "Sorted", "Partial Mode": "Partial", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 134627.36, "Total Cost": 134743.39, "Plan Rows": 7, "Plan Width": 27, "Output": ["lineitem.l_shipmode", "PARTIAL sum(CASE WHEN ((orders.o_orderpriority = '1-URGENT'::bpchar) OR (orders.o_orderpriority = '2-HIGH'::bpchar)) THEN 1 ELSE 0 END)", "PARTIAL sum(CASE WHEN ((orders.o_orderpriority <> '1-URGENT'::bpchar) AND (orders.o_orderpriority <> '2-HIGH'::bpchar)) THEN 1 ELSE 0 END)"], "Group Key": ["lineitem.l_shipmode"], "Plans": [{"Node Type": "Sort", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 134627.36, "Total Cost": 134641.85, "Plan Rows": 5798, "Plan Width": 27, "Output": ["lineitem.l_shipmode", "orders.o_orderpriority"], "Sort Key": ["lineitem.l_shipmode"], "Plans": [{"Node Type": "Nested Loop", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Join Type": "Inner", "Startup Cost": 10013.43, "Total Cost": 134264.94, "Plan Rows": 5798, "Plan Width": 27, "Output": ["lineitem.l_shipmode", "orders.o_orderpriority"], "Inner Unique": true, "Plans": [{"Node Type": "Bitmap Heap Scan", "Parent Relationship": "Outer", "Parallel Aware": true, "Async Capable": false, "Relation Name": "lineitem", "Schema": "public", "Alias": "lineitem", "Startup Cost": 10013.0, "Total Cost": 126677.36, "Plan Rows": 5798, "Plan Width": 15, "Output": ["lineitem.l_orderkey", "lineitem.l_partkey", "lineitem.l_suppkey", "lineitem.l_linenumber", "lineitem.l_quantity", "lineitem.l_extendedprice", "lineitem.l_discount", "lineitem.l_tax", "lineitem.l_returnflag", "lineitem.l_linestatus", "lineitem.l_shipdate", "lineitem.l_commitdate", "lineitem.l_receiptdate", "lineitem.l_shipinstruct", "lineitem.l_shipmode", "lineitem.l_comment"], "Recheck Cond": "((lineitem.l_receiptdate >= '1995-01-01'::date) AND (lineitem.l_receiptdate < '1996-01-01 00:00:00'::timestamp without time zone))", "Filter": "((lineitem.l_shipmode = ANY ('{MAIL,TRUCK}'::bpchar[])) AND (lineitem.l_commitdate < lineitem.l_receiptdate) AND (lineitem.l_shipdate < lineitem.l_commitdate))", "Plans": [{"Node Type": "Bitmap Index Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Index Name": "l_rd", "Startup Cost": 0.0, "Total Cost": 10005.75, "Plan Rows": 913192, "Plan Width": 0, "Index Cond": "((lineitem.l_receiptdate >= '1995-01-01'::date) AND (lineitem.l_receiptdate < '1996-01-01 00:00:00'::timestamp without time zone))"}]}, {"Node Type": "Index Scan", "Parent Relationship": "Inner", "Parallel Aware": false, "Async Capable": false, "Scan Direction": "Forward", "Index Name": "o_ok", "Relation Name": "orders", "Schema": "public", "Alias": "orders", "Startup Cost": 0.43, "Total Cost": 1.31, "Plan Rows": 1, "Plan Width": 20, "Output": ["orders.o_orderkey", "orders.o_custkey", "orders.o_orderstatus", "orders.o_totalprice", "orders.o_orderdate", "orders.o_orderpriority", "orders.o_clerk", "orders.o_shippriority", "orders.o_comment"], "Index Cond": "(orders.o_orderkey = lineitem.l_orderkey)"}]}]}]}]}]}} diff --git a/dev9/pg16/tpch/sf_1/explain/15721/13-1.ok b/dev9/pg16/tpch/sf_1/explain/15721/13-1.ok new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/dev9/pg16/tpch/sf_1/explain/15721/13-1.res b/dev9/pg16/tpch/sf_1/explain/15721/13-1.res new file mode 100644 index 0000000000000000000000000000000000000000..1494b09f468ee148d94027ea2f14ec3bde68a6d4 --- /dev/null +++ b/dev9/pg16/tpch/sf_1/explain/15721/13-1.res @@ -0,0 +1 @@ +{"Plan": {"Node Type": "Sort", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 64584.31, "Total Cost": 64584.81, "Plan Rows": 200, "Plan Width": 16, "Output": ["(count(orders.o_orderkey))", "(count(*))"], "Sort Key": ["(count(*)) DESC", "(count(orders.o_orderkey)) DESC"], "Plans": [{"Node Type": "Aggregate", "Strategy": "Hashed", "Partial Mode": "Simple", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 64574.67, "Total Cost": 64576.67, "Plan Rows": 200, "Plan Width": 16, "Output": ["(count(orders.o_orderkey))", "count(*)"], "Group Key": ["count(orders.o_orderkey)"], "Planned Partitions": 0, "Plans": [{"Node Type": "Aggregate", "Strategy": "Hashed", "Partial Mode": "Simple", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 60824.67, "Total Cost": 62324.67, "Plan Rows": 150000, "Plan Width": 12, "Output": ["customer.c_custkey", "count(orders.o_orderkey)"], "Group Key": ["customer.c_custkey"], "Planned Partitions": 0, "Plans": [{"Node Type": "Hash Join", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Join Type": "Right", "Startup Cost": 4580.82, "Total Cost": 53369.76, "Plan Rows": 1490982, "Plan Width": 8, "Output": ["customer.c_custkey", "orders.o_orderkey"], "Inner Unique": true, "Hash Cond": "(orders.o_custkey = customer.c_custkey)", "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Relation Name": "orders", "Schema": "public", "Alias": "orders", "Startup Cost": 0.0, "Total Cost": 44875.0, "Plan Rows": 1490982, "Plan Width": 8, "Output": ["orders.o_orderkey", "orders.o_custkey", "orders.o_orderstatus", "orders.o_totalprice", "orders.o_orderdate", "orders.o_orderpriority", "orders.o_clerk", "orders.o_shippriority", "orders.o_comment"], "Filter": "((orders.o_comment)::text !~~ '%unusual%requests%'::text)"}, {"Node Type": "Hash", "Parent Relationship": "Inner", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 2705.82, "Total Cost": 2705.82, "Plan Rows": 150000, "Plan Width": 4, "Output": ["customer.c_custkey"], "Plans": [{"Node Type": "Index Only Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Scan Direction": "Forward", "Index Name": "c_ck", "Relation Name": "customer", "Schema": "public", "Alias": "customer", "Startup Cost": 0.42, "Total Cost": 2705.82, "Plan Rows": 150000, "Plan Width": 4, "Output": ["customer.c_custkey"]}]}]}]}]}]}} diff --git a/dev9/pg16/tpch/sf_1/explain/15721/14-1.ok b/dev9/pg16/tpch/sf_1/explain/15721/14-1.ok new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/dev9/pg16/tpch/sf_1/explain/15721/14-1.res b/dev9/pg16/tpch/sf_1/explain/15721/14-1.res new file mode 100644 index 0000000000000000000000000000000000000000..7d6aa2186002c248c768f1c9e4d9ffcf3a8d4a65 --- /dev/null +++ b/dev9/pg16/tpch/sf_1/explain/15721/14-1.res @@ -0,0 +1 @@ +{"Plan": {"Node Type": "Aggregate", "Strategy": "Plain", "Partial Mode": "Finalize", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 66256.93, "Total Cost": 66256.94, "Plan Rows": 1, "Plan Width": 32, "Output": ["((100.00 * sum(CASE WHEN ((part.p_type)::text ~~ 'PROMO%'::text) THEN (lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount)) ELSE '0'::numeric END)) / sum((lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount))))"], "Plans": [{"Node Type": "Gather", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 66256.47, "Total Cost": 66256.88, "Plan Rows": 4, "Plan Width": 64, "Output": ["(PARTIAL sum(CASE WHEN ((part.p_type)::text ~~ 'PROMO%'::text) THEN (lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount)) ELSE '0'::numeric END))", "(PARTIAL sum((lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount))))"], "Workers Planned": 4, "Single Copy": false, "Plans": [{"Node Type": "Aggregate", "Strategy": "Plain", "Partial Mode": "Partial", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 65256.47, "Total Cost": 65256.48, "Plan Rows": 1, "Plan Width": 64, "Output": ["PARTIAL sum(CASE WHEN ((part.p_type)::text ~~ 'PROMO%'::text) THEN (lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount)) ELSE '0'::numeric END)", "PARTIAL sum((lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount)))"], "Plans": [{"Node Type": "Hash Join", "Parent Relationship": "Outer", "Parallel Aware": true, "Async Capable": false, "Join Type": "Inner", "Startup Cost": 6810.55, "Total Cost": 64929.25, "Plan Rows": 18698, "Plan Width": 33, "Output": ["part.p_type", "lineitem.l_extendedprice", "lineitem.l_discount"], "Inner Unique": true, "Hash Cond": "(lineitem.l_partkey = part.p_partkey)", "Plans": [{"Node Type": "Bitmap Heap Scan", "Parent Relationship": "Outer", "Parallel Aware": true, "Async Capable": false, "Relation Name": "lineitem", "Schema": "public", "Alias": "lineitem", "Startup Cost": 838.55, "Total Cost": 58908.18, "Plan Rows": 18698, "Plan Width": 16, "Output": ["lineitem.l_orderkey", "lineitem.l_partkey", "lineitem.l_suppkey", "lineitem.l_linenumber", "lineitem.l_quantity", "lineitem.l_extendedprice", "lineitem.l_discount", "lineitem.l_tax", "lineitem.l_returnflag", "lineitem.l_linestatus", "lineitem.l_shipdate", "lineitem.l_commitdate", "lineitem.l_receiptdate", "lineitem.l_shipinstruct", "lineitem.l_shipmode", "lineitem.l_comment"], "Recheck Cond": "((lineitem.l_shipdate >= '1995-05-01'::date) AND (lineitem.l_shipdate < '1995-06-01 00:00:00'::timestamp without time zone))", "Plans": [{"Node Type": "Bitmap Index Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Index Name": "l_sd", "Startup Cost": 0.0, "Total Cost": 819.85, "Plan Rows": 74792, "Plan Width": 0, "Index Cond": "((lineitem.l_shipdate >= '1995-05-01'::date) AND (lineitem.l_shipdate < '1995-06-01 00:00:00'::timestamp without time zone))"}]}, {"Node Type": "Hash", "Parent Relationship": "Inner", "Parallel Aware": true, "Async Capable": false, "Startup Cost": 4930.33, "Total Cost": 4930.33, "Plan Rows": 83333, "Plan Width": 25, "Output": ["part.p_type", "part.p_partkey"], "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": true, "Async Capable": false, "Relation Name": "part", "Schema": "public", "Alias": "part", "Startup Cost": 0.0, "Total Cost": 4930.33, "Plan Rows": 83333, "Plan Width": 25, "Output": ["part.p_type", "part.p_partkey"]}]}]}]}]}]}} diff --git a/dev9/pg16/tpch/sf_1/explain/15721/15-1.ok b/dev9/pg16/tpch/sf_1/explain/15721/15-1.ok new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/dev9/pg16/tpch/sf_1/explain/15721/15-1.res b/dev9/pg16/tpch/sf_1/explain/15721/15-1.res new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/dev9/pg16/tpch/sf_1/explain/15721/15-2.ok b/dev9/pg16/tpch/sf_1/explain/15721/15-2.ok new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/dev9/pg16/tpch/sf_1/explain/15721/15-2.res b/dev9/pg16/tpch/sf_1/explain/15721/15-2.res new file mode 100644 index 0000000000000000000000000000000000000000..9f3a503f25cc2de13debacdf09bc641e500fcb5b --- /dev/null +++ b/dev9/pg16/tpch/sf_1/explain/15721/15-2.res @@ -0,0 +1 @@ +{"Plan": {"Node Type": "Merge Join", "Parallel Aware": false, "Async Capable": false, "Join Type": "Inner", "Startup Cost": 242133.03, "Total Cost": 242564.9, "Plan Rows": 50, "Plan Width": 103, "Output": ["supplier.s_suppkey", "supplier.s_name", "supplier.s_address", "supplier.s_phone", "revenue0.total_revenue"], "Inner Unique": true, "Merge Cond": "(supplier.s_suppkey = revenue0.supplier_no)", "Plans": [{"Node Type": "Aggregate", "Strategy": "Plain", "Partial Mode": "Simple", "Parent Relationship": "InitPlan", "Subplan Name": "InitPlan 1 (returns $0)", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 121115.41, "Total Cost": 121115.42, "Plan Rows": 1, "Plan Width": 32, "Output": ["max((sum((lineitem_1.l_extendedprice * ('1'::numeric - lineitem_1.l_discount)))))"], "Plans": [{"Node Type": "Aggregate", "Strategy": "Hashed", "Partial Mode": "Simple", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 120865.41, "Total Cost": 120990.41, "Plan Rows": 10000, "Plan Width": 36, "Output": ["lineitem_1.l_suppkey", "sum((lineitem_1.l_extendedprice * ('1'::numeric - lineitem_1.l_discount)))"], "Group Key": ["lineitem_1.l_suppkey"], "Planned Partitions": 0, "Plans": [{"Node Type": "Bitmap Heap Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Relation Name": "lineitem", "Schema": "public", "Alias": "lineitem_1", "Startup Cost": 2572.84, "Total Cost": 118570.38, "Plan Rows": 229503, "Plan Width": 16, "Output": ["lineitem_1.l_orderkey", "lineitem_1.l_partkey", "lineitem_1.l_suppkey", "lineitem_1.l_linenumber", "lineitem_1.l_quantity", "lineitem_1.l_extendedprice", "lineitem_1.l_discount", "lineitem_1.l_tax", "lineitem_1.l_returnflag", "lineitem_1.l_linestatus", "lineitem_1.l_shipdate", "lineitem_1.l_commitdate", "lineitem_1.l_receiptdate", "lineitem_1.l_shipinstruct", "lineitem_1.l_shipmode", "lineitem_1.l_comment"], "Recheck Cond": "((lineitem_1.l_shipdate >= '1995-01-01'::date) AND (lineitem_1.l_shipdate < '1995-04-01 00:00:00'::timestamp without time zone))", "Plans": [{"Node Type": "Bitmap Index Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Index Name": "l_sd", "Startup Cost": 0.0, "Total Cost": 2515.46, "Plan Rows": 229503, "Plan Width": 0, "Index Cond": "((lineitem_1.l_shipdate >= '1995-01-01'::date) AND (lineitem_1.l_shipdate < '1995-04-01 00:00:00'::timestamp without time zone))"}]}]}]}, {"Node Type": "Index Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Scan Direction": "Forward", "Index Name": "s_sk", "Relation Name": "supplier", "Schema": "public", "Alias": "supplier", "Startup Cost": 0.29, "Total Cost": 406.4, "Plan Rows": 10000, "Plan Width": 71, "Output": ["supplier.s_suppkey", "supplier.s_name", "supplier.s_address", "supplier.s_nationkey", "supplier.s_phone", "supplier.s_acctbal", "supplier.s_comment"]}, {"Node Type": "Sort", "Parent Relationship": "Inner", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 121017.32, "Total Cost": 121017.45, "Plan Rows": 50, "Plan Width": 36, "Output": ["revenue0.total_revenue", "revenue0.supplier_no"], "Sort Key": ["revenue0.supplier_no"], "Plans": [{"Node Type": "Subquery Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Alias": "revenue0", "Startup Cost": 120865.41, "Total Cost": 121015.91, "Plan Rows": 50, "Plan Width": 36, "Output": ["revenue0.total_revenue", "revenue0.supplier_no"], "Plans": [{"Node Type": "Aggregate", "Strategy": "Hashed", "Partial Mode": "Simple", "Parent Relationship": "Subquery", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 120865.41, "Total Cost": 121015.41, "Plan Rows": 50, "Plan Width": 36, "Output": ["lineitem.l_suppkey", "sum((lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount)))"], "Group Key": ["lineitem.l_suppkey"], "Filter": "(sum((lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount))) = $0)", "Planned Partitions": 0, "Plans": [{"Node Type": "Bitmap Heap Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Relation Name": "lineitem", "Schema": "public", "Alias": "lineitem", "Startup Cost": 2572.84, "Total Cost": 118570.38, "Plan Rows": 229503, "Plan Width": 16, "Output": ["lineitem.l_orderkey", "lineitem.l_partkey", "lineitem.l_suppkey", "lineitem.l_linenumber", "lineitem.l_quantity", "lineitem.l_extendedprice", "lineitem.l_discount", "lineitem.l_tax", "lineitem.l_returnflag", "lineitem.l_linestatus", "lineitem.l_shipdate", "lineitem.l_commitdate", "lineitem.l_receiptdate", "lineitem.l_shipinstruct", "lineitem.l_shipmode", "lineitem.l_comment"], "Recheck Cond": "((lineitem.l_shipdate >= '1995-01-01'::date) AND (lineitem.l_shipdate < '1995-04-01 00:00:00'::timestamp without time zone))", "Plans": [{"Node Type": "Bitmap Index Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Index Name": "l_sd", "Startup Cost": 0.0, "Total Cost": 2515.46, "Plan Rows": 229503, "Plan Width": 0, "Index Cond": "((lineitem.l_shipdate >= '1995-01-01'::date) AND (lineitem.l_shipdate < '1995-04-01 00:00:00'::timestamp without time zone))"}]}]}]}]}]}} diff --git a/dev9/pg16/tpch/sf_1/explain/15721/15-3.ok b/dev9/pg16/tpch/sf_1/explain/15721/15-3.ok new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/dev9/pg16/tpch/sf_1/explain/15721/15-3.res b/dev9/pg16/tpch/sf_1/explain/15721/15-3.res new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/dev9/pg16/tpch/sf_1/explain/15721/16-1.ok b/dev9/pg16/tpch/sf_1/explain/15721/16-1.ok new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/dev9/pg16/tpch/sf_1/explain/15721/16-1.res b/dev9/pg16/tpch/sf_1/explain/15721/16-1.res new file mode 100644 index 0000000000000000000000000000000000000000..a38fcc30abd134bf74d914f8237ef60892122fec --- /dev/null +++ b/dev9/pg16/tpch/sf_1/explain/15721/16-1.res @@ -0,0 +1 @@ +{"Plan": {"Node Type": "Sort", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 26862.81, "Total Cost": 26902.77, "Plan Rows": 15985, "Plan Width": 44, "Output": ["part.p_brand", "part.p_type", "part.p_size", "(count(DISTINCT partsupp.ps_suppkey))"], "Sort Key": ["(count(DISTINCT partsupp.ps_suppkey)) DESC", "part.p_brand", "part.p_type", "part.p_size"], "Plans": [{"Node Type": "Aggregate", "Strategy": "Sorted", "Partial Mode": "Simple", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 17889.18, "Total Cost": 25746.7, "Plan Rows": 15985, "Plan Width": 44, "Output": ["part.p_brand", "part.p_type", "part.p_size", "count(DISTINCT partsupp.ps_suppkey)"], "Group Key": ["part.p_brand", "part.p_type", "part.p_size"], "Plans": [{"Node Type": "Gather Merge", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 17889.18, "Total Cost": 24993.51, "Plan Rows": 59334, "Plan Width": 40, "Output": ["part.p_brand", "part.p_type", "part.p_size", "partsupp.ps_suppkey"], "Workers Planned": 4, "Plans": [{"Node Type": "Sort", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 16889.12, "Total Cost": 16926.2, "Plan Rows": 14834, "Plan Width": 40, "Output": ["part.p_brand", "part.p_type", "part.p_size", "partsupp.ps_suppkey"], "Sort Key": ["part.p_brand", "part.p_type", "part.p_size", "partsupp.ps_suppkey"], "Plans": [{"Node Type": "Hash Join", "Parent Relationship": "Outer", "Parallel Aware": true, "Async Capable": false, "Join Type": "Inner", "Startup Cost": 6683.27, "Total Cost": 15861.37, "Plan Rows": 14834, "Plan Width": 40, "Output": ["part.p_brand", "part.p_type", "part.p_size", "partsupp.ps_suppkey"], "Inner Unique": true, "Hash Cond": "(partsupp.ps_partkey = part.p_partkey)", "Plans": [{"Node Type": "Index Only Scan", "Parent Relationship": "Outer", "Parallel Aware": true, "Async Capable": false, "Scan Direction": "Forward", "Index Name": "ps_pk_sk", "Relation Name": "partsupp", "Schema": "public", "Alias": "partsupp", "Startup Cost": 348.43, "Total Cost": 9264.03, "Plan Rows": 100000, "Plan Width": 8, "Output": ["partsupp.ps_partkey", "partsupp.ps_suppkey"], "Filter": "(NOT (hashed SubPlan 1))", "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "SubPlan", "Subplan Name": "SubPlan 1", "Parallel Aware": false, "Async Capable": false, "Relation Name": "supplier", "Schema": "public", "Alias": "supplier", "Startup Cost": 0.0, "Total Cost": 348.0, "Plan Rows": 1, "Plan Width": 4, "Output": ["supplier.s_suppkey"], "Filter": "((supplier.s_comment)::text ~~ '%Customer%Complaints%'::text)"}]}, {"Node Type": "Hash", "Parent Relationship": "Inner", "Parallel Aware": true, "Async Capable": false, "Startup Cost": 6180.33, "Total Cost": 6180.33, "Plan Rows": 12361, "Plan Width": 40, "Output": ["part.p_brand", "part.p_type", "part.p_size", "part.p_partkey"], "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": true, "Async Capable": false, "Relation Name": "part", "Schema": "public", "Alias": "part", "Startup Cost": 0.0, "Total Cost": 6180.33, "Plan Rows": 12361, "Plan Width": 40, "Output": ["part.p_brand", "part.p_type", "part.p_size", "part.p_partkey"], "Filter": "((part.p_brand <> 'Brand#11'::bpchar) AND ((part.p_type)::text !~~ 'ECONOMY ANODIZED%'::text) AND (part.p_size = ANY ('{42,16,39,18,23,32,44,41}'::integer[])))"}]}]}]}]}]}]}} diff --git a/dev9/pg16/tpch/sf_1/explain/15721/17-1.ok b/dev9/pg16/tpch/sf_1/explain/15721/17-1.ok new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/dev9/pg16/tpch/sf_1/explain/15721/17-1.res b/dev9/pg16/tpch/sf_1/explain/15721/17-1.res new file mode 100644 index 0000000000000000000000000000000000000000..785a142404fe3164f790710661f8911a6f28a14b --- /dev/null +++ b/dev9/pg16/tpch/sf_1/explain/15721/17-1.res @@ -0,0 +1 @@ +{"Plan": {"Node Type": "Aggregate", "Strategy": "Plain", "Partial Mode": "Simple", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 195057.65, "Total Cost": 195057.67, "Plan Rows": 1, "Plan Width": 32, "Output": ["(sum(lineitem.l_extendedprice) / 7.0)"], "Plans": [{"Node Type": "Hash Join", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Join Type": "Inner", "Startup Cost": 6369.5, "Total Cost": 195052.65, "Plan Rows": 2000, "Plan Width": 8, "Output": ["lineitem.l_extendedprice"], "Inner Unique": true, "Hash Cond": "(lineitem.l_partkey = part.p_partkey)", "Join Filter": "(lineitem.l_quantity < (SubPlan 1))", "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Relation Name": "lineitem", "Schema": "public", "Alias": "lineitem", "Startup Cost": 0.0, "Total Cost": 172567.15, "Plan Rows": 6001215, "Plan Width": 17, "Output": ["lineitem.l_orderkey", "lineitem.l_partkey", "lineitem.l_suppkey", "lineitem.l_linenumber", "lineitem.l_quantity", "lineitem.l_extendedprice", "lineitem.l_discount", "lineitem.l_tax", "lineitem.l_returnflag", "lineitem.l_linestatus", "lineitem.l_shipdate", "lineitem.l_commitdate", "lineitem.l_receiptdate", "lineitem.l_shipinstruct", "lineitem.l_shipmode", "lineitem.l_comment"]}, {"Node Type": "Hash", "Parent Relationship": "Inner", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 6367.0, "Total Cost": 6367.0, "Plan Rows": 200, "Plan Width": 4, "Output": ["part.p_partkey"], "Plans": [{"Node Type": "Gather", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 1000.0, "Total Cost": 6367.0, "Plan Rows": 200, "Plan Width": 4, "Output": ["part.p_partkey"], "Workers Planned": 2, "Single Copy": false, "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": true, "Async Capable": false, "Relation Name": "part", "Schema": "public", "Alias": "part", "Startup Cost": 0.0, "Total Cost": 5347.0, "Plan Rows": 83, "Plan Width": 4, "Output": ["part.p_partkey"], "Filter": "((part.p_brand = 'Brand#14'::bpchar) AND (part.p_container = 'WRAP BOX'::bpchar))"}]}]}, {"Node Type": "Aggregate", "Strategy": "Plain", "Partial Mode": "Simple", "Parent Relationship": "SubPlan", "Subplan Name": "SubPlan 1", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 36.25, "Total Cost": 36.27, "Plan Rows": 1, "Plan Width": 32, "Output": ["(0.2 * avg(lineitem_1.l_quantity))"], "Plans": [{"Node Type": "Index Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Scan Direction": "Forward", "Index Name": "l_pk", "Relation Name": "lineitem", "Schema": "public", "Alias": "lineitem_1", "Startup Cost": 0.43, "Total Cost": 36.17, "Plan Rows": 31, "Plan Width": 5, "Output": ["lineitem_1.l_orderkey", "lineitem_1.l_partkey", "lineitem_1.l_suppkey", "lineitem_1.l_linenumber", "lineitem_1.l_quantity", "lineitem_1.l_extendedprice", "lineitem_1.l_discount", "lineitem_1.l_tax", "lineitem_1.l_returnflag", "lineitem_1.l_linestatus", "lineitem_1.l_shipdate", "lineitem_1.l_commitdate", "lineitem_1.l_receiptdate", "lineitem_1.l_shipinstruct", "lineitem_1.l_shipmode", "lineitem_1.l_comment"], "Index Cond": "(lineitem_1.l_partkey = part.p_partkey)"}]}]}]}} diff --git a/dev9/pg16/tpch/sf_1/explain/15721/18-1.ok b/dev9/pg16/tpch/sf_1/explain/15721/18-1.ok new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/dev9/pg16/tpch/sf_1/explain/15721/18-1.res b/dev9/pg16/tpch/sf_1/explain/15721/18-1.res new file mode 100644 index 0000000000000000000000000000000000000000..977f96961484297bfdb960271a3d813ee36aa319 --- /dev/null +++ b/dev9/pg16/tpch/sf_1/explain/15721/18-1.res @@ -0,0 +1 @@ +{"Plan": {"Node Type": "Limit", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 718101.52, "Total Cost": 718101.77, "Plan Rows": 100, "Plan Width": 71, "Output": ["customer.c_name", "customer.c_custkey", "orders.o_orderkey", "orders.o_orderdate", "orders.o_totalprice", "(sum(lineitem.l_quantity))"], "Plans": [{"Node Type": "Sort", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 718101.52, "Total Cost": 722167.79, "Plan Rows": 1626509, "Plan Width": 71, "Output": ["customer.c_name", "customer.c_custkey", "orders.o_orderkey", "orders.o_orderdate", "orders.o_totalprice", "(sum(lineitem.l_quantity))"], "Sort Key": ["orders.o_totalprice DESC", "orders.o_orderdate"], "Plans": [{"Node Type": "Aggregate", "Strategy": "Sorted", "Partial Mode": "Simple", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 328787.67, "Total Cost": 655937.51, "Plan Rows": 1626509, "Plan Width": 71, "Output": ["customer.c_name", "customer.c_custkey", "orders.o_orderkey", "orders.o_orderdate", "orders.o_totalprice", "sum(lineitem.l_quantity)"], "Group Key": ["customer.c_custkey", "orders.o_orderkey"], "Plans": [{"Node Type": "Gather Merge", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 328787.67, "Total Cost": 623407.33, "Plan Rows": 1626509, "Plan Width": 44, "Output": ["customer.c_custkey", "orders.o_orderkey", "customer.c_name", "orders.o_orderdate", "orders.o_totalprice", "lineitem.l_quantity"], "Workers Planned": 3, "Plans": [{"Node Type": "Incremental Sort", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 327787.63, "Total Cost": 431292.49, "Plan Rows": 524680, "Plan Width": 44, "Output": ["customer.c_custkey", "orders.o_orderkey", "customer.c_name", "orders.o_orderdate", "orders.o_totalprice", "lineitem.l_quantity"], "Sort Key": ["customer.c_custkey", "orders.o_orderkey"], "Presorted Key": ["customer.c_custkey"], "Plans": [{"Node Type": "Nested Loop", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Join Type": "Inner", "Startup Cost": 327787.0, "Total Cost": 416994.88, "Plan Rows": 524680, "Plan Width": 44, "Output": ["customer.c_custkey", "orders.o_orderkey", "customer.c_name", "orders.o_orderdate", "orders.o_totalprice", "lineitem.l_quantity"], "Inner Unique": false, "Plans": [{"Node Type": "Merge Join", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Join Type": "Inner", "Startup Cost": 327786.57, "Total Cost": 330503.72, "Plan Rows": 131144, "Plan Width": 43, "Output": ["customer.c_name", "customer.c_custkey", "orders.o_orderkey", "orders.o_orderdate", "orders.o_totalprice", "lineitem_1.l_orderkey"], "Inner Unique": true, "Merge Cond": "(orders.o_custkey = customer.c_custkey)", "Plans": [{"Node Type": "Sort", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 309796.62, "Total Cost": 310124.48, "Plan Rows": 131144, "Plan Width": 24, "Output": ["orders.o_orderkey", "orders.o_orderdate", "orders.o_totalprice", "orders.o_custkey", "lineitem_1.l_orderkey"], "Sort Key": ["orders.o_custkey"], "Plans": [{"Node Type": "Hash Join", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Join Type": "Inner", "Startup Cost": 266414.98, "Total Cost": 298648.86, "Plan Rows": 131144, "Plan Width": 24, "Output": ["orders.o_orderkey", "orders.o_orderdate", "orders.o_totalprice", "orders.o_custkey", "lineitem_1.l_orderkey"], "Inner Unique": true, "Hash Cond": "(orders.o_orderkey = lineitem_1.l_orderkey)", "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": true, "Async Capable": false, "Relation Name": "orders", "Schema": "public", "Alias": "orders", "Startup Cost": 0.0, "Total Cost": 30963.71, "Plan Rows": 483871, "Plan Width": 20, "Output": ["orders.o_orderkey", "orders.o_custkey", "orders.o_orderstatus", "orders.o_totalprice", "orders.o_orderdate", "orders.o_orderpriority", "orders.o_clerk", "orders.o_shippriority", "orders.o_comment"]}, {"Node Type": "Hash", "Parent Relationship": "Inner", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 261333.17, "Total Cost": 261333.17, "Plan Rows": 406545, "Plan Width": 4, "Output": ["lineitem_1.l_orderkey"], "Plans": [{"Node Type": "Aggregate", "Strategy": "Sorted", "Partial Mode": "Simple", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 0.43, "Total Cost": 261333.17, "Plan Rows": 406545, "Plan Width": 4, "Output": ["lineitem_1.l_orderkey"], "Group Key": ["lineitem_1.l_orderkey"], "Filter": "(sum(lineitem_1.l_quantity) > '314'::numeric)", "Plans": [{"Node Type": "Index Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Scan Direction": "Forward", "Index Name": "l_ok", "Relation Name": "lineitem", "Schema": "public", "Alias": "lineitem_1", "Startup Cost": 0.43, "Total Cost": 213032.56, "Plan Rows": 6001215, "Plan Width": 9, "Output": ["lineitem_1.l_orderkey", "lineitem_1.l_partkey", "lineitem_1.l_suppkey", "lineitem_1.l_linenumber", "lineitem_1.l_quantity", "lineitem_1.l_extendedprice", "lineitem_1.l_discount", "lineitem_1.l_tax", "lineitem_1.l_returnflag", "lineitem_1.l_linestatus", "lineitem_1.l_shipdate", "lineitem_1.l_commitdate", "lineitem_1.l_receiptdate", "lineitem_1.l_shipinstruct", "lineitem_1.l_shipmode", "lineitem_1.l_comment"]}]}]}]}]}, {"Node Type": "Sort", "Parent Relationship": "Inner", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 17989.95, "Total Cost": 18364.95, "Plan Rows": 150000, "Plan Width": 23, "Output": ["customer.c_name", "customer.c_custkey"], "Sort Key": ["customer.c_custkey"], "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Relation Name": "customer", "Schema": "public", "Alias": "customer", "Startup Cost": 0.0, "Total Cost": 5094.0, "Plan Rows": 150000, "Plan Width": 23, "Output": ["customer.c_name", "customer.c_custkey"]}]}]}, {"Node Type": "Index Scan", "Parent Relationship": "Inner", "Parallel Aware": false, "Async Capable": false, "Scan Direction": "Forward", "Index Name": "l_ok", "Relation Name": "lineitem", "Schema": "public", "Alias": "lineitem", "Startup Cost": 0.43, "Total Cost": 0.61, "Plan Rows": 5, "Plan Width": 9, "Output": ["lineitem.l_orderkey", "lineitem.l_partkey", "lineitem.l_suppkey", "lineitem.l_linenumber", "lineitem.l_quantity", "lineitem.l_extendedprice", "lineitem.l_discount", "lineitem.l_tax", "lineitem.l_returnflag", "lineitem.l_linestatus", "lineitem.l_shipdate", "lineitem.l_commitdate", "lineitem.l_receiptdate", "lineitem.l_shipinstruct", "lineitem.l_shipmode", "lineitem.l_comment"], "Index Cond": "(lineitem.l_orderkey = orders.o_orderkey)"}]}]}]}]}]}]}} diff --git a/dev9/pg16/tpch/sf_1/explain/15721/19-1.ok b/dev9/pg16/tpch/sf_1/explain/15721/19-1.ok new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/dev9/pg16/tpch/sf_1/explain/15721/19-1.res b/dev9/pg16/tpch/sf_1/explain/15721/19-1.res new file mode 100644 index 0000000000000000000000000000000000000000..973cefe5c01b3f264388e208e507531201ab9e48 --- /dev/null +++ b/dev9/pg16/tpch/sf_1/explain/15721/19-1.res @@ -0,0 +1 @@ +{"Plan": {"Node Type": "Aggregate", "Strategy": "Plain", "Partial Mode": "Finalize", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 15846.57, "Total Cost": 15846.58, "Plan Rows": 1, "Plan Width": 32, "Output": ["sum((lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount)))"], "Plans": [{"Node Type": "Gather", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 15846.34, "Total Cost": 15846.55, "Plan Rows": 2, "Plan Width": 32, "Output": ["(PARTIAL sum((lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount))))"], "Workers Planned": 2, "Single Copy": false, "Plans": [{"Node Type": "Aggregate", "Strategy": "Plain", "Partial Mode": "Partial", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 14846.34, "Total Cost": 14846.35, "Plan Rows": 1, "Plan Width": 32, "Output": ["PARTIAL sum((lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount)))"], "Plans": [{"Node Type": "Nested Loop", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Join Type": "Inner", "Startup Cost": 0.43, "Total Cost": 14845.98, "Plan Rows": 48, "Plan Width": 12, "Output": ["lineitem.l_extendedprice", "lineitem.l_discount"], "Inner Unique": false, "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": true, "Async Capable": false, "Relation Name": "part", "Schema": "public", "Alias": "part", "Startup Cost": 0.0, "Total Cost": 7638.67, "Plan Rows": 200, "Plan Width": 30, "Output": ["part.p_partkey", "part.p_name", "part.p_mfgr", "part.p_brand", "part.p_type", "part.p_size", "part.p_container", "part.p_retailprice", "part.p_comment"], "Filter": "((part.p_size >= 1) AND (((part.p_brand = 'Brand#52'::bpchar) AND (part.p_container = ANY ('{\"SM CASE\",\"SM BOX\",\"SM PACK\",\"SM PKG\"}'::bpchar[])) AND (part.p_size <= 5)) OR ((part.p_brand = 'Brand#42'::bpchar) AND (part.p_container = ANY ('{\"MED BAG\",\"MED BOX\",\"MED PKG\",\"MED PACK\"}'::bpchar[])) AND (part.p_size <= 10)) OR ((part.p_brand = 'Brand#23'::bpchar) AND (part.p_container = ANY ('{\"LG CASE\",\"LG BOX\",\"LG PACK\",\"LG PKG\"}'::bpchar[])) AND (part.p_size <= 15))))"}, {"Node Type": "Index Scan", "Parent Relationship": "Inner", "Parallel Aware": false, "Async Capable": false, "Scan Direction": "Forward", "Index Name": "l_pk", "Relation Name": "lineitem", "Schema": "public", "Alias": "lineitem", "Startup Cost": 0.43, "Total Cost": 36.03, "Plan Rows": 1, "Plan Width": 21, "Output": ["lineitem.l_orderkey", "lineitem.l_partkey", "lineitem.l_suppkey", "lineitem.l_linenumber", "lineitem.l_quantity", "lineitem.l_extendedprice", "lineitem.l_discount", "lineitem.l_tax", "lineitem.l_returnflag", "lineitem.l_linestatus", "lineitem.l_shipdate", "lineitem.l_commitdate", "lineitem.l_receiptdate", "lineitem.l_shipinstruct", "lineitem.l_shipmode", "lineitem.l_comment"], "Index Cond": "(lineitem.l_partkey = part.p_partkey)", "Filter": "((lineitem.l_shipmode = ANY ('{AIR,\"AIR REG\"}'::bpchar[])) AND (lineitem.l_shipinstruct = 'DELIVER IN PERSON'::bpchar) AND (((lineitem.l_quantity >= '9'::numeric) AND (lineitem.l_quantity <= '19'::numeric)) OR ((lineitem.l_quantity >= '18'::numeric) AND (lineitem.l_quantity <= '28'::numeric)) OR ((lineitem.l_quantity >= '22'::numeric) AND (lineitem.l_quantity <= '32'::numeric))) AND (((part.p_brand = 'Brand#52'::bpchar) AND (part.p_container = ANY ('{\"SM CASE\",\"SM BOX\",\"SM PACK\",\"SM PKG\"}'::bpchar[])) AND (lineitem.l_quantity >= '9'::numeric) AND (lineitem.l_quantity <= '19'::numeric) AND (part.p_size <= 5)) OR ((part.p_brand = 'Brand#42'::bpchar) AND (part.p_container = ANY ('{\"MED BAG\",\"MED BOX\",\"MED PKG\",\"MED PACK\"}'::bpchar[])) AND (lineitem.l_quantity >= '18'::numeric) AND (lineitem.l_quantity <= '28'::numeric) AND (part.p_size <= 10)) OR ((part.p_brand = 'Brand#23'::bpchar) AND (part.p_container = ANY ('{\"LG CASE\",\"LG BOX\",\"LG PACK\",\"LG PKG\"}'::bpchar[])) AND (lineitem.l_quantity >= '22'::numeric) AND (lineitem.l_quantity <= '32'::numeric) AND (part.p_size <= 15))))"}]}]}]}]}} diff --git a/dev9/pg16/tpch/sf_1/explain/15721/2-1.ok b/dev9/pg16/tpch/sf_1/explain/15721/2-1.ok new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/dev9/pg16/tpch/sf_1/explain/15721/2-1.res b/dev9/pg16/tpch/sf_1/explain/15721/2-1.res new file mode 100644 index 0000000000000000000000000000000000000000..c8d4e6ad2eb66d0248a693a81126351c0bb5f931 --- /dev/null +++ b/dev9/pg16/tpch/sf_1/explain/15721/2-1.res @@ -0,0 +1 @@ +{"Plan": {"Node Type": "Limit", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 23888.27, "Total Cost": 23888.28, "Plan Rows": 1, "Plan Width": 192, "Output": ["supplier.s_acctbal", "supplier.s_name", "nation.n_name", "part.p_partkey", "part.p_mfgr", "supplier.s_address", "supplier.s_phone", "supplier.s_comment"], "Plans": [{"Node Type": "Sort", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 23888.27, "Total Cost": 23888.28, "Plan Rows": 1, "Plan Width": 192, "Output": ["supplier.s_acctbal", "supplier.s_name", "nation.n_name", "part.p_partkey", "part.p_mfgr", "supplier.s_address", "supplier.s_phone", "supplier.s_comment"], "Sort Key": ["supplier.s_acctbal DESC", "nation.n_name", "supplier.s_name", "part.p_partkey"], "Plans": [{"Node Type": "Hash Join", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Join Type": "Inner", "Startup Cost": 12761.85, "Total Cost": 23888.26, "Plan Rows": 1, "Plan Width": 192, "Output": ["supplier.s_acctbal", "supplier.s_name", "nation.n_name", "part.p_partkey", "part.p_mfgr", "supplier.s_address", "supplier.s_phone", "supplier.s_comment"], "Inner Unique": false, "Hash Cond": "((part.p_partkey = partsupp.ps_partkey) AND ((SubPlan 1) = partsupp.ps_supplycost))", "Plans": [{"Node Type": "Gather", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 1000.0, "Total Cost": 6425.8, "Plan Rows": 788, "Plan Width": 30, "Output": ["part.p_partkey", "part.p_mfgr"], "Workers Planned": 2, "Single Copy": false, "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": true, "Async Capable": false, "Relation Name": "part", "Schema": "public", "Alias": "part", "Startup Cost": 0.0, "Total Cost": 5347.0, "Plan Rows": 328, "Plan Width": 30, "Output": ["part.p_partkey", "part.p_mfgr"], "Filter": "(((part.p_type)::text ~~ '%TIN'::text) AND (part.p_size = 44))"}]}, {"Node Type": "Hash", "Parent Relationship": "Inner", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 9361.85, "Total Cost": 9361.85, "Plan Rows": 160000, "Plan Width": 172, "Output": ["supplier.s_acctbal", "supplier.s_name", "supplier.s_address", "supplier.s_phone", "supplier.s_comment", "partsupp.ps_partkey", "partsupp.ps_supplycost", "nation.n_name"], "Plans": [{"Node Type": "Nested Loop", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Join Type": "Inner", "Startup Cost": 0.71, "Total Cost": 9361.85, "Plan Rows": 160000, "Plan Width": 172, "Output": ["supplier.s_acctbal", "supplier.s_name", "supplier.s_address", "supplier.s_phone", "supplier.s_comment", "partsupp.ps_partkey", "partsupp.ps_supplycost", "nation.n_name"], "Inner Unique": false, "Plans": [{"Node Type": "Nested Loop", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Join Type": "Inner", "Startup Cost": 0.29, "Total Cost": 110.5, "Plan Rows": 2000, "Plan Width": 166, "Output": ["supplier.s_acctbal", "supplier.s_name", "supplier.s_address", "supplier.s_phone", "supplier.s_comment", "supplier.s_suppkey", "nation.n_name"], "Inner Unique": false, "Plans": [{"Node Type": "Nested Loop", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Join Type": "Inner", "Startup Cost": 0.0, "Total Cost": 2.62, "Plan Rows": 5, "Plan Width": 30, "Output": ["nation.n_name", "nation.n_nationkey"], "Inner Unique": false, "Join Filter": "(nation.n_regionkey = region.r_regionkey)", "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Relation Name": "region", "Schema": "public", "Alias": "region", "Startup Cost": 0.0, "Total Cost": 1.06, "Plan Rows": 1, "Plan Width": 4, "Output": ["region.r_regionkey", "region.r_name", "region.r_comment"], "Filter": "(region.r_name = 'EUROPE'::bpchar)"}, {"Node Type": "Seq Scan", "Parent Relationship": "Inner", "Parallel Aware": false, "Async Capable": false, "Relation Name": "nation", "Schema": "public", "Alias": "nation", "Startup Cost": 0.0, "Total Cost": 1.25, "Plan Rows": 25, "Plan Width": 34, "Output": ["nation.n_nationkey", "nation.n_name", "nation.n_regionkey", "nation.n_comment"]}]}, {"Node Type": "Index Scan", "Parent Relationship": "Inner", "Parallel Aware": false, "Async Capable": false, "Scan Direction": "Forward", "Index Name": "s_nk", "Relation Name": "supplier", "Schema": "public", "Alias": "supplier", "Startup Cost": 0.29, "Total Cost": 17.57, "Plan Rows": 400, "Plan Width": 144, "Output": ["supplier.s_suppkey", "supplier.s_name", "supplier.s_address", "supplier.s_nationkey", "supplier.s_phone", "supplier.s_acctbal", "supplier.s_comment"], "Index Cond": "(supplier.s_nationkey = nation.n_nationkey)"}]}, {"Node Type": "Index Scan", "Parent Relationship": "Inner", "Parallel Aware": false, "Async Capable": false, "Scan Direction": "Forward", "Index Name": "ps_sk", "Relation Name": "partsupp", "Schema": "public", "Alias": "partsupp", "Startup Cost": 0.42, "Total Cost": 3.83, "Plan Rows": 80, "Plan Width": 14, "Output": ["partsupp.ps_partkey", "partsupp.ps_suppkey", "partsupp.ps_availqty", "partsupp.ps_supplycost", "partsupp.ps_comment"], "Index Cond": "(partsupp.ps_suppkey = supplier.s_suppkey)"}]}]}, {"Node Type": "Aggregate", "Strategy": "Plain", "Partial Mode": "Simple", "Parent Relationship": "SubPlan", "Subplan Name": "SubPlan 1", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 14.44, "Total Cost": 14.45, "Plan Rows": 1, "Plan Width": 32, "Output": ["min(partsupp_1.ps_supplycost)"], "Plans": [{"Node Type": "Nested Loop", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Join Type": "Inner", "Startup Cost": 0.85, "Total Cost": 14.44, "Plan Rows": 1, "Plan Width": 6, "Output": ["partsupp_1.ps_supplycost"], "Inner Unique": false, "Join Filter": "(nation_1.n_regionkey = region_1.r_regionkey)", "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Relation Name": "region", "Schema": "public", "Alias": "region_1", "Startup Cost": 0.0, "Total Cost": 1.06, "Plan Rows": 1, "Plan Width": 4, "Output": ["region_1.r_regionkey", "region_1.r_name", "region_1.r_comment"], "Filter": "(region_1.r_name = 'EUROPE'::bpchar)"}, {"Node Type": "Nested Loop", "Parent Relationship": "Inner", "Parallel Aware": false, "Async Capable": false, "Join Type": "Inner", "Startup Cost": 0.85, "Total Cost": 13.33, "Plan Rows": 4, "Plan Width": 10, "Output": ["partsupp_1.ps_supplycost", "nation_1.n_regionkey"], "Inner Unique": true, "Plans": [{"Node Type": "Nested Loop", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Join Type": "Inner", "Startup Cost": 0.71, "Total Cost": 12.71, "Plan Rows": 4, "Plan Width": 10, "Output": ["partsupp_1.ps_supplycost", "supplier_1.s_nationkey"], "Inner Unique": true, "Plans": [{"Node Type": "Index Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Scan Direction": "Forward", "Index Name": "ps_pk", "Relation Name": "partsupp", "Schema": "public", "Alias": "partsupp_1", "Startup Cost": 0.42, "Total Cost": 2.7, "Plan Rows": 4, "Plan Width": 10, "Output": ["partsupp_1.ps_partkey", "partsupp_1.ps_suppkey", "partsupp_1.ps_availqty", "partsupp_1.ps_supplycost", "partsupp_1.ps_comment"], "Index Cond": "(partsupp_1.ps_partkey = part.p_partkey)"}, {"Node Type": "Index Scan", "Parent Relationship": "Inner", "Parallel Aware": false, "Async Capable": false, "Scan Direction": "Forward", "Index Name": "s_sk", "Relation Name": "supplier", "Schema": "public", "Alias": "supplier_1", "Startup Cost": 0.29, "Total Cost": 2.5, "Plan Rows": 1, "Plan Width": 8, "Output": ["supplier_1.s_suppkey", "supplier_1.s_name", "supplier_1.s_address", "supplier_1.s_nationkey", "supplier_1.s_phone", "supplier_1.s_acctbal", "supplier_1.s_comment"], "Index Cond": "(supplier_1.s_suppkey = partsupp_1.ps_suppkey)"}]}, {"Node Type": "Index Scan", "Parent Relationship": "Inner", "Parallel Aware": false, "Async Capable": false, "Scan Direction": "Forward", "Index Name": "n_nk", "Relation Name": "nation", "Schema": "public", "Alias": "nation_1", "Startup Cost": 0.14, "Total Cost": 0.16, "Plan Rows": 1, "Plan Width": 8, "Output": ["nation_1.n_nationkey", "nation_1.n_name", "nation_1.n_regionkey", "nation_1.n_comment"], "Index Cond": "(nation_1.n_nationkey = supplier_1.s_nationkey)"}]}]}]}]}]}]}} diff --git a/dev9/pg16/tpch/sf_1/explain/15721/20-1.ok b/dev9/pg16/tpch/sf_1/explain/15721/20-1.ok new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/dev9/pg16/tpch/sf_1/explain/15721/20-1.res b/dev9/pg16/tpch/sf_1/explain/15721/20-1.res new file mode 100644 index 0000000000000000000000000000000000000000..477ab6d1ad47d48662b7202f7b8bcfe4b56409d5 --- /dev/null +++ b/dev9/pg16/tpch/sf_1/explain/15721/20-1.res @@ -0,0 +1 @@ +{"Plan": {"Node Type": "Sort", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 32648.24, "Total Cost": 32648.51, "Plan Rows": 107, "Plan Width": 51, "Output": ["supplier.s_name", "supplier.s_address"], "Sort Key": ["supplier.s_name"], "Plans": [{"Node Type": "Hash Join", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Join Type": "Semi", "Startup Cost": 32420.51, "Total Cost": 32644.64, "Plan Rows": 107, "Plan Width": 51, "Output": ["supplier.s_name", "supplier.s_address"], "Inner Unique": false, "Hash Cond": "(supplier.s_suppkey = partsupp.ps_suppkey)", "Plans": [{"Node Type": "Nested Loop", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Join Type": "Inner", "Startup Cost": 4.48, "Total Cost": 226.37, "Plan Rows": 400, "Plan Width": 55, "Output": ["supplier.s_name", "supplier.s_address", "supplier.s_suppkey"], "Inner Unique": false, "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Relation Name": "nation", "Schema": "public", "Alias": "nation", "Startup Cost": 0.0, "Total Cost": 1.31, "Plan Rows": 1, "Plan Width": 4, "Output": ["nation.n_nationkey", "nation.n_name", "nation.n_regionkey", "nation.n_comment"], "Filter": "(nation.n_name = 'GERMANY'::bpchar)"}, {"Node Type": "Bitmap Heap Scan", "Parent Relationship": "Inner", "Parallel Aware": false, "Async Capable": false, "Relation Name": "supplier", "Schema": "public", "Alias": "supplier", "Startup Cost": 4.48, "Total Cost": 221.06, "Plan Rows": 400, "Plan Width": 59, "Output": ["supplier.s_suppkey", "supplier.s_name", "supplier.s_address", "supplier.s_nationkey", "supplier.s_phone", "supplier.s_acctbal", "supplier.s_comment"], "Recheck Cond": "(supplier.s_nationkey = nation.n_nationkey)", "Plans": [{"Node Type": "Bitmap Index Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Index Name": "s_nk", "Startup Cost": 0.0, "Total Cost": 4.38, "Plan Rows": 400, "Plan Width": 0, "Index Cond": "(supplier.s_nationkey = nation.n_nationkey)"}]}]}, {"Node Type": "Hash", "Parent Relationship": "Inner", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 32382.62, "Total Cost": 32382.62, "Plan Rows": 2672, "Plan Width": 4, "Output": ["partsupp.ps_suppkey"], "Plans": [{"Node Type": "Nested Loop", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Join Type": "Inner", "Startup Cost": 0.42, "Total Cost": 32382.62, "Plan Rows": 2672, "Plan Width": 4, "Output": ["partsupp.ps_suppkey"], "Inner Unique": false, "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Relation Name": "part", "Schema": "public", "Alias": "part", "Startup Cost": 0.0, "Total Cost": 6597.0, "Plan Rows": 2004, "Plan Width": 4, "Output": ["part.p_partkey", "part.p_name", "part.p_mfgr", "part.p_brand", "part.p_type", "part.p_size", "part.p_container", "part.p_retailprice", "part.p_comment"], "Filter": "((part.p_name)::text ~~ 'floral%'::text)"}, {"Node Type": "Index Scan", "Parent Relationship": "Inner", "Parallel Aware": false, "Async Capable": false, "Scan Direction": "Forward", "Index Name": "ps_pk", "Relation Name": "partsupp", "Schema": "public", "Alias": "partsupp", "Startup Cost": 0.42, "Total Cost": 12.86, "Plan Rows": 1, "Plan Width": 8, "Output": ["partsupp.ps_partkey", "partsupp.ps_suppkey", "partsupp.ps_availqty", "partsupp.ps_supplycost", "partsupp.ps_comment"], "Index Cond": "(partsupp.ps_partkey = part.p_partkey)", "Filter": "((partsupp.ps_availqty)::numeric > (SubPlan 1))", "Plans": [{"Node Type": "Aggregate", "Strategy": "Plain", "Partial Mode": "Simple", "Parent Relationship": "SubPlan", "Subplan Name": "SubPlan 1", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 2.66, "Total Cost": 2.68, "Plan Rows": 1, "Plan Width": 32, "Output": ["(0.5 * sum(lineitem.l_quantity))"], "Plans": [{"Node Type": "Index Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Scan Direction": "Forward", "Index Name": "l_sk_pk", "Relation Name": "lineitem", "Schema": "public", "Alias": "lineitem", "Startup Cost": 0.43, "Total Cost": 2.66, "Plan Rows": 1, "Plan Width": 5, "Output": ["lineitem.l_orderkey", "lineitem.l_partkey", "lineitem.l_suppkey", "lineitem.l_linenumber", "lineitem.l_quantity", "lineitem.l_extendedprice", "lineitem.l_discount", "lineitem.l_tax", "lineitem.l_returnflag", "lineitem.l_linestatus", "lineitem.l_shipdate", "lineitem.l_commitdate", "lineitem.l_receiptdate", "lineitem.l_shipinstruct", "lineitem.l_shipmode", "lineitem.l_comment"], "Index Cond": "((lineitem.l_suppkey = partsupp.ps_suppkey) AND (lineitem.l_partkey = partsupp.ps_partkey))", "Filter": "((lineitem.l_shipdate >= '1996-01-01'::date) AND (lineitem.l_shipdate < '1997-01-01 00:00:00'::timestamp without time zone))"}]}]}]}]}]}]}} diff --git a/dev9/pg16/tpch/sf_1/explain/15721/21-1.ok b/dev9/pg16/tpch/sf_1/explain/15721/21-1.ok new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/dev9/pg16/tpch/sf_1/explain/15721/21-1.res b/dev9/pg16/tpch/sf_1/explain/15721/21-1.res new file mode 100644 index 0000000000000000000000000000000000000000..63830958c4fe200daac3b8812033f19a89e5aa6f --- /dev/null +++ b/dev9/pg16/tpch/sf_1/explain/15721/21-1.res @@ -0,0 +1 @@ +{"Plan": {"Node Type": "Limit", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 53704.04, "Total Cost": 53704.05, "Plan Rows": 1, "Plan Width": 34, "Output": ["supplier.s_name", "(count(*))"], "Plans": [{"Node Type": "Sort", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 53704.04, "Total Cost": 53704.05, "Plan Rows": 1, "Plan Width": 34, "Output": ["supplier.s_name", "(count(*))"], "Sort Key": ["(count(*)) DESC", "supplier.s_name"], "Plans": [{"Node Type": "Aggregate", "Strategy": "Sorted", "Partial Mode": "Simple", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 53704.01, "Total Cost": 53704.03, "Plan Rows": 1, "Plan Width": 34, "Output": ["supplier.s_name", "count(*)"], "Group Key": ["supplier.s_name"], "Plans": [{"Node Type": "Sort", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 53704.01, "Total Cost": 53704.02, "Plan Rows": 1, "Plan Width": 26, "Output": ["supplier.s_name"], "Sort Key": ["supplier.s_name"], "Plans": [{"Node Type": "Nested Loop", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Join Type": "Semi", "Startup Cost": 13177.26, "Total Cost": 53704.0, "Plan Rows": 1, "Plan Width": 26, "Output": ["supplier.s_name"], "Inner Unique": false, "Join Filter": "(orders.o_orderkey = l2.l_orderkey)", "Plans": [{"Node Type": "Gather", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 13176.83, "Total Cost": 53703.38, "Plan Rows": 1, "Plan Width": 38, "Output": ["supplier.s_name", "l1.l_suppkey", "l1.l_orderkey", "orders.o_orderkey"], "Workers Planned": 3, "Single Copy": false, "Plans": [{"Node Type": "Nested Loop", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Join Type": "Anti", "Startup Cost": 12176.83, "Total Cost": 52703.28, "Plan Rows": 1, "Plan Width": 38, "Output": ["supplier.s_name", "l1.l_suppkey", "l1.l_orderkey", "orders.o_orderkey"], "Inner Unique": false, "Plans": [{"Node Type": "Hash Join", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Join Type": "Inner", "Startup Cost": 12176.39, "Total Cost": 45359.94, "Plan Rows": 12580, "Plan Width": 38, "Output": ["supplier.s_name", "l1.l_suppkey", "l1.l_orderkey", "orders.o_orderkey"], "Inner Unique": false, "Hash Cond": "(orders.o_orderkey = l1.l_orderkey)", "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": true, "Async Capable": false, "Relation Name": "orders", "Schema": "public", "Alias": "orders", "Startup Cost": 0.0, "Total Cost": 32173.39, "Plan Rows": 235829, "Plan Width": 4, "Output": ["orders.o_orderkey", "orders.o_custkey", "orders.o_orderstatus", "orders.o_totalprice", "orders.o_orderdate", "orders.o_orderpriority", "orders.o_clerk", "orders.o_shippriority", "orders.o_comment"], "Filter": "(orders.o_orderstatus = 'F'::bpchar)"}, {"Node Type": "Hash", "Parent Relationship": "Inner", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 11176.19, "Total Cost": 11176.19, "Plan Rows": 80016, "Plan Width": 34, "Output": ["supplier.s_name", "l1.l_suppkey", "l1.l_orderkey"], "Plans": [{"Node Type": "Nested Loop", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Join Type": "Inner", "Startup Cost": 4.92, "Total Cost": 11176.19, "Plan Rows": 80016, "Plan Width": 34, "Output": ["supplier.s_name", "l1.l_suppkey", "l1.l_orderkey"], "Inner Unique": false, "Plans": [{"Node Type": "Nested Loop", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Join Type": "Inner", "Startup Cost": 4.48, "Total Cost": 226.37, "Plan Rows": 400, "Plan Width": 30, "Output": ["supplier.s_name", "supplier.s_suppkey"], "Inner Unique": false, "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Relation Name": "nation", "Schema": "public", "Alias": "nation", "Startup Cost": 0.0, "Total Cost": 1.31, "Plan Rows": 1, "Plan Width": 4, "Output": ["nation.n_nationkey", "nation.n_name", "nation.n_regionkey", "nation.n_comment"], "Filter": "(nation.n_name = 'CHINA'::bpchar)"}, {"Node Type": "Bitmap Heap Scan", "Parent Relationship": "Inner", "Parallel Aware": false, "Async Capable": false, "Relation Name": "supplier", "Schema": "public", "Alias": "supplier", "Startup Cost": 4.48, "Total Cost": 221.06, "Plan Rows": 400, "Plan Width": 34, "Output": ["supplier.s_suppkey", "supplier.s_name", "supplier.s_address", "supplier.s_nationkey", "supplier.s_phone", "supplier.s_acctbal", "supplier.s_comment"], "Recheck Cond": "(supplier.s_nationkey = nation.n_nationkey)", "Plans": [{"Node Type": "Bitmap Index Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Index Name": "s_nk", "Startup Cost": 0.0, "Total Cost": 4.38, "Plan Rows": 400, "Plan Width": 0, "Index Cond": "(supplier.s_nationkey = nation.n_nationkey)"}]}]}, {"Node Type": "Index Scan", "Parent Relationship": "Inner", "Parallel Aware": false, "Async Capable": false, "Scan Direction": "Forward", "Index Name": "l_sk", "Relation Name": "lineitem", "Schema": "public", "Alias": "l1", "Startup Cost": 0.43, "Total Cost": 25.37, "Plan Rows": 200, "Plan Width": 8, "Output": ["l1.l_orderkey", "l1.l_partkey", "l1.l_suppkey", "l1.l_linenumber", "l1.l_quantity", "l1.l_extendedprice", "l1.l_discount", "l1.l_tax", "l1.l_returnflag", "l1.l_linestatus", "l1.l_shipdate", "l1.l_commitdate", "l1.l_receiptdate", "l1.l_shipinstruct", "l1.l_shipmode", "l1.l_comment"], "Index Cond": "(l1.l_suppkey = supplier.s_suppkey)", "Filter": "(l1.l_receiptdate > l1.l_commitdate)"}]}]}]}, {"Node Type": "Index Scan", "Parent Relationship": "Inner", "Parallel Aware": false, "Async Capable": false, "Scan Direction": "Forward", "Index Name": "l_ok", "Relation Name": "lineitem", "Schema": "public", "Alias": "l3", "Startup Cost": 0.43, "Total Cost": 0.61, "Plan Rows": 2, "Plan Width": 8, "Output": ["l3.l_orderkey", "l3.l_partkey", "l3.l_suppkey", "l3.l_linenumber", "l3.l_quantity", "l3.l_extendedprice", "l3.l_discount", "l3.l_tax", "l3.l_returnflag", "l3.l_linestatus", "l3.l_shipdate", "l3.l_commitdate", "l3.l_receiptdate", "l3.l_shipinstruct", "l3.l_shipmode", "l3.l_comment"], "Index Cond": "(l3.l_orderkey = l1.l_orderkey)", "Filter": "((l3.l_receiptdate > l3.l_commitdate) AND (l3.l_suppkey <> l1.l_suppkey))"}]}]}, {"Node Type": "Index Scan", "Parent Relationship": "Inner", "Parallel Aware": false, "Async Capable": false, "Scan Direction": "Forward", "Index Name": "l_ok", "Relation Name": "lineitem", "Schema": "public", "Alias": "l2", "Startup Cost": 0.43, "Total Cost": 0.6, "Plan Rows": 5, "Plan Width": 8, "Output": ["l2.l_orderkey", "l2.l_partkey", "l2.l_suppkey", "l2.l_linenumber", "l2.l_quantity", "l2.l_extendedprice", "l2.l_discount", "l2.l_tax", "l2.l_returnflag", "l2.l_linestatus", "l2.l_shipdate", "l2.l_commitdate", "l2.l_receiptdate", "l2.l_shipinstruct", "l2.l_shipmode", "l2.l_comment"], "Index Cond": "(l2.l_orderkey = l1.l_orderkey)", "Filter": "(l2.l_suppkey <> l1.l_suppkey)"}]}]}]}]}]}} diff --git a/dev9/pg16/tpch/sf_1/explain/15721/22-1.ok b/dev9/pg16/tpch/sf_1/explain/15721/22-1.ok new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/dev9/pg16/tpch/sf_1/explain/15721/22-1.res b/dev9/pg16/tpch/sf_1/explain/15721/22-1.res new file mode 100644 index 0000000000000000000000000000000000000000..13a79a50e40c05129fd70a8e68f1bd0e5bac225a --- /dev/null +++ b/dev9/pg16/tpch/sf_1/explain/15721/22-1.res @@ -0,0 +1 @@ +{"Plan": {"Node Type": "Aggregate", "Strategy": "Sorted", "Partial Mode": "Finalize", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 12875.62, "Total Cost": 12965.32, "Plan Rows": 672, "Plan Width": 72, "Output": ["(SUBSTRING(customer.c_phone FROM 1 FOR 2))", "count(*)", "sum(customer.c_acctbal)"], "Group Key": ["(SUBSTRING(customer.c_phone FROM 1 FOR 2))"], "Plans": [{"Node Type": "Aggregate", "Strategy": "Plain", "Partial Mode": "Finalize", "Parent Relationship": "InitPlan", "Subplan Name": "InitPlan 1 (returns $1)", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 6239.82, "Total Cost": 6239.83, "Plan Rows": 1, "Plan Width": 32, "Output": ["avg(customer_1.c_acctbal)"], "Plans": [{"Node Type": "Gather", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 6239.6, "Total Cost": 6239.81, "Plan Rows": 2, "Plan Width": 32, "Output": ["(PARTIAL avg(customer_1.c_acctbal))"], "Workers Planned": 2, "Single Copy": false, "Plans": [{"Node Type": "Aggregate", "Strategy": "Plain", "Partial Mode": "Partial", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 5239.6, "Total Cost": 5239.61, "Plan Rows": 1, "Plan Width": 32, "Output": ["PARTIAL avg(customer_1.c_acctbal)"], "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": true, "Async Capable": false, "Relation Name": "customer", "Schema": "public", "Alias": "customer_1", "Startup Cost": 0.0, "Total Cost": 5234.62, "Plan Rows": 1988, "Plan Width": 6, "Output": ["customer_1.c_custkey", "customer_1.c_name", "customer_1.c_address", "customer_1.c_nationkey", "customer_1.c_phone", "customer_1.c_acctbal", "customer_1.c_mktsegment", "customer_1.c_comment"], "Filter": "((customer_1.c_acctbal > 0.00) AND (SUBSTRING(customer_1.c_phone FROM 1 FOR 2) = ANY ('{17,20,25,31,30,11,33}'::text[])))"}]}]}]}, {"Node Type": "Gather Merge", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 6635.79, "Total Cost": 6708.13, "Plan Rows": 560, "Plan Width": 72, "Output": ["(SUBSTRING(customer.c_phone FROM 1 FOR 2))", "(PARTIAL count(*))", "(PARTIAL sum(customer.c_acctbal))"], "Workers Planned": 2, "Params Evaluated": ["$1"], "Plans": [{"Node Type": "Aggregate", "Strategy": "Sorted", "Partial Mode": "Partial", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 5635.77, "Total Cost": 5643.47, "Plan Rows": 280, "Plan Width": 72, "Output": ["(SUBSTRING(customer.c_phone FROM 1 FOR 2))", "PARTIAL count(*)", "PARTIAL sum(customer.c_acctbal)"], "Group Key": ["(SUBSTRING(customer.c_phone FROM 1 FOR 2))"], "Plans": [{"Node Type": "Sort", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 5635.77, "Total Cost": 5636.47, "Plan Rows": 280, "Plan Width": 38, "Output": ["(SUBSTRING(customer.c_phone FROM 1 FOR 2))", "customer.c_acctbal"], "Sort Key": ["(SUBSTRING(customer.c_phone FROM 1 FOR 2))"], "Plans": [{"Node Type": "Nested Loop", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Join Type": "Anti", "Startup Cost": 0.43, "Total Cost": 5624.39, "Plan Rows": 280, "Plan Width": 38, "Output": ["SUBSTRING(customer.c_phone FROM 1 FOR 2)", "customer.c_acctbal"], "Inner Unique": false, "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": true, "Async Capable": false, "Relation Name": "customer", "Schema": "public", "Alias": "customer", "Startup Cost": 0.0, "Total Cost": 5234.62, "Plan Rows": 729, "Plan Width": 26, "Output": ["customer.c_custkey", "customer.c_name", "customer.c_address", "customer.c_nationkey", "customer.c_phone", "customer.c_acctbal", "customer.c_mktsegment", "customer.c_comment"], "Filter": "((customer.c_acctbal > $1) AND (SUBSTRING(customer.c_phone FROM 1 FOR 2) = ANY ('{17,20,25,31,30,11,33}'::text[])))"}, {"Node Type": "Index Only Scan", "Parent Relationship": "Inner", "Parallel Aware": false, "Async Capable": false, "Scan Direction": "Forward", "Index Name": "o_ck", "Relation Name": "orders", "Schema": "public", "Alias": "orders", "Startup Cost": 0.43, "Total Cost": 1.41, "Plan Rows": 16, "Plan Width": 4, "Output": ["orders.o_custkey"], "Index Cond": "(orders.o_custkey = customer.c_custkey)"}]}]}]}]}]}} diff --git a/dev9/pg16/tpch/sf_1/explain/15721/3-1.ok b/dev9/pg16/tpch/sf_1/explain/15721/3-1.ok new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/dev9/pg16/tpch/sf_1/explain/15721/3-1.res b/dev9/pg16/tpch/sf_1/explain/15721/3-1.res new file mode 100644 index 0000000000000000000000000000000000000000..ea9bef711626e894f5781199e711a2e85096fe71 --- /dev/null +++ b/dev9/pg16/tpch/sf_1/explain/15721/3-1.res @@ -0,0 +1 @@ +{"Plan": {"Node Type": "Limit", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 133245.44, "Total Cost": 133245.46, "Plan Rows": 10, "Plan Width": 44, "Output": ["lineitem.l_orderkey", "(sum((lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount))))", "orders.o_orderdate", "orders.o_shippriority"], "Plans": [{"Node Type": "Sort", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 133245.44, "Total Cost": 134033.19, "Plan Rows": 315103, "Plan Width": 44, "Output": ["lineitem.l_orderkey", "(sum((lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount))))", "orders.o_orderdate", "orders.o_shippriority"], "Sort Key": ["(sum((lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount)))) DESC", "orders.o_orderdate"], "Plans": [{"Node Type": "Aggregate", "Strategy": "Sorted", "Partial Mode": "Finalize", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 84967.33, "Total Cost": 126436.17, "Plan Rows": 315103, "Plan Width": 44, "Output": ["lineitem.l_orderkey", "sum((lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount)))", "orders.o_orderdate", "orders.o_shippriority"], "Group Key": ["lineitem.l_orderkey", "orders.o_orderdate", "orders.o_shippriority"], "Plans": [{"Node Type": "Gather Merge", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 84967.33, "Total Cost": 119215.06, "Plan Rows": 262586, "Plan Width": 44, "Output": ["lineitem.l_orderkey", "orders.o_orderdate", "orders.o_shippriority", "(PARTIAL sum((lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount))))"], "Workers Planned": 2, "Plans": [{"Node Type": "Aggregate", "Strategy": "Sorted", "Partial Mode": "Partial", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 83967.31, "Total Cost": 87906.1, "Plan Rows": 131293, "Plan Width": 44, "Output": ["lineitem.l_orderkey", "orders.o_orderdate", "orders.o_shippriority", "PARTIAL sum((lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount)))"], "Group Key": ["lineitem.l_orderkey", "orders.o_orderdate", "orders.o_shippriority"], "Plans": [{"Node Type": "Sort", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 83967.31, "Total Cost": 84295.54, "Plan Rows": 131293, "Plan Width": 24, "Output": ["lineitem.l_orderkey", "orders.o_orderdate", "orders.o_shippriority", "lineitem.l_extendedprice", "lineitem.l_discount"], "Sort Key": ["lineitem.l_orderkey", "orders.o_orderdate", "orders.o_shippriority"], "Plans": [{"Node Type": "Nested Loop", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Join Type": "Inner", "Startup Cost": 0.86, "Total Cost": 72805.81, "Plan Rows": 131293, "Plan Width": 24, "Output": ["lineitem.l_orderkey", "orders.o_orderdate", "orders.o_shippriority", "lineitem.l_extendedprice", "lineitem.l_discount"], "Inner Unique": false, "Plans": [{"Node Type": "Nested Loop", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Join Type": "Inner", "Startup Cost": 0.43, "Total Cost": 27389.23, "Plan Rows": 60870, "Plan Width": 12, "Output": ["orders.o_orderdate", "orders.o_shippriority", "orders.o_orderkey"], "Inner Unique": false, "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": true, "Async Capable": false, "Relation Name": "customer", "Schema": "public", "Alias": "customer", "Startup Cost": 0.0, "Total Cost": 4375.25, "Plan Rows": 12487, "Plan Width": 4, "Output": ["customer.c_custkey", "customer.c_name", "customer.c_address", "customer.c_nationkey", "customer.c_phone", "customer.c_acctbal", "customer.c_mktsegment", "customer.c_comment"], "Filter": "(customer.c_mktsegment = 'FURNITURE'::bpchar)"}, {"Node Type": "Index Scan", "Parent Relationship": "Inner", "Parallel Aware": false, "Async Capable": false, "Scan Direction": "Forward", "Index Name": "o_ck", "Relation Name": "orders", "Schema": "public", "Alias": "orders", "Startup Cost": 0.43, "Total Cost": 1.76, "Plan Rows": 8, "Plan Width": 16, "Output": ["orders.o_orderkey", "orders.o_custkey", "orders.o_orderstatus", "orders.o_totalprice", "orders.o_orderdate", "orders.o_orderpriority", "orders.o_clerk", "orders.o_shippriority", "orders.o_comment"], "Index Cond": "(orders.o_custkey = customer.c_custkey)", "Filter": "(orders.o_orderdate < '1995-03-20'::date)"}]}, {"Node Type": "Index Scan", "Parent Relationship": "Inner", "Parallel Aware": false, "Async Capable": false, "Scan Direction": "Forward", "Index Name": "l_ok", "Relation Name": "lineitem", "Schema": "public", "Alias": "lineitem", "Startup Cost": 0.43, "Total Cost": 0.72, "Plan Rows": 3, "Plan Width": 16, "Output": ["lineitem.l_orderkey", "lineitem.l_partkey", "lineitem.l_suppkey", "lineitem.l_linenumber", "lineitem.l_quantity", "lineitem.l_extendedprice", "lineitem.l_discount", "lineitem.l_tax", "lineitem.l_returnflag", "lineitem.l_linestatus", "lineitem.l_shipdate", "lineitem.l_commitdate", "lineitem.l_receiptdate", "lineitem.l_shipinstruct", "lineitem.l_shipmode", "lineitem.l_comment"], "Index Cond": "(lineitem.l_orderkey = orders.o_orderkey)", "Filter": "(lineitem.l_shipdate > '1995-03-20'::date)"}]}]}]}]}]}]}]}} diff --git a/dev9/pg16/tpch/sf_1/explain/15721/4-1.ok b/dev9/pg16/tpch/sf_1/explain/15721/4-1.ok new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/dev9/pg16/tpch/sf_1/explain/15721/4-1.res b/dev9/pg16/tpch/sf_1/explain/15721/4-1.res new file mode 100644 index 0000000000000000000000000000000000000000..bcb05435a8562e3aa60a098b4f45c52908e2f968 --- /dev/null +++ b/dev9/pg16/tpch/sf_1/explain/15721/4-1.res @@ -0,0 +1 @@ +{"Plan": {"Node Type": "Aggregate", "Strategy": "Sorted", "Partial Mode": "Finalize", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 51603.71, "Total Cost": 51605.61, "Plan Rows": 5, "Plan Width": 24, "Output": ["orders.o_orderpriority", "count(*)"], "Group Key": ["orders.o_orderpriority"], "Plans": [{"Node Type": "Gather Merge", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 51603.71, "Total Cost": 51605.48, "Plan Rows": 15, "Plan Width": 24, "Output": ["orders.o_orderpriority", "(PARTIAL count(*))"], "Workers Planned": 3, "Plans": [{"Node Type": "Sort", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 50603.67, "Total Cost": 50603.68, "Plan Rows": 5, "Plan Width": 24, "Output": ["orders.o_orderpriority", "(PARTIAL count(*))"], "Sort Key": ["orders.o_orderpriority"], "Plans": [{"Node Type": "Aggregate", "Strategy": "Hashed", "Partial Mode": "Partial", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 50603.56, "Total Cost": 50603.61, "Plan Rows": 5, "Plan Width": 24, "Output": ["orders.o_orderpriority", "PARTIAL count(*)"], "Group Key": ["orders.o_orderpriority"], "Planned Partitions": 0, "Plans": [{"Node Type": "Nested Loop", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Join Type": "Semi", "Startup Cost": 646.03, "Total Cost": 50528.19, "Plan Rows": 15074, "Plan Width": 16, "Output": ["orders.o_orderpriority"], "Inner Unique": false, "Plans": [{"Node Type": "Bitmap Heap Scan", "Parent Relationship": "Outer", "Parallel Aware": true, "Async Capable": false, "Relation Name": "orders", "Schema": "public", "Alias": "orders", "Startup Cost": 645.6, "Total Cost": 27048.68, "Plan Rows": 18539, "Plan Width": 20, "Output": ["orders.o_orderkey", "orders.o_custkey", "orders.o_orderstatus", "orders.o_totalprice", "orders.o_orderdate", "orders.o_orderpriority", "orders.o_clerk", "orders.o_shippriority", "orders.o_comment"], "Recheck Cond": "((orders.o_orderdate >= '1996-01-01'::date) AND (orders.o_orderdate < '1996-04-01 00:00:00'::timestamp without time zone))", "Plans": [{"Node Type": "Bitmap Index Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Index Name": "o_od", "Startup Cost": 0.0, "Total Cost": 631.23, "Plan Rows": 57470, "Plan Width": 0, "Index Cond": "((orders.o_orderdate >= '1996-01-01'::date) AND (orders.o_orderdate < '1996-04-01 00:00:00'::timestamp without time zone))"}]}, {"Node Type": "Index Scan", "Parent Relationship": "Inner", "Parallel Aware": false, "Async Capable": false, "Scan Direction": "Forward", "Index Name": "l_ok", "Relation Name": "lineitem", "Schema": "public", "Alias": "lineitem", "Startup Cost": 0.43, "Total Cost": 1.59, "Plan Rows": 2, "Plan Width": 4, "Output": ["lineitem.l_orderkey", "lineitem.l_partkey", "lineitem.l_suppkey", "lineitem.l_linenumber", "lineitem.l_quantity", "lineitem.l_extendedprice", "lineitem.l_discount", "lineitem.l_tax", "lineitem.l_returnflag", "lineitem.l_linestatus", "lineitem.l_shipdate", "lineitem.l_commitdate", "lineitem.l_receiptdate", "lineitem.l_shipinstruct", "lineitem.l_shipmode", "lineitem.l_comment"], "Index Cond": "(lineitem.l_orderkey = orders.o_orderkey)", "Filter": "(lineitem.l_commitdate < lineitem.l_receiptdate)"}]}]}]}]}]}} diff --git a/dev9/pg16/tpch/sf_1/explain/15721/5-1.ok b/dev9/pg16/tpch/sf_1/explain/15721/5-1.ok new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/dev9/pg16/tpch/sf_1/explain/15721/5-1.res b/dev9/pg16/tpch/sf_1/explain/15721/5-1.res new file mode 100644 index 0000000000000000000000000000000000000000..492023b839496a37336fc0b8c4c6d3b44264ede4 --- /dev/null +++ b/dev9/pg16/tpch/sf_1/explain/15721/5-1.res @@ -0,0 +1 @@ +{"Plan": {"Node Type": "Sort", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 41271.32, "Total Cost": 41271.38, "Plan Rows": 25, "Plan Width": 58, "Output": ["nation.n_name", "(sum((lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount))))"], "Sort Key": ["(sum((lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount)))) DESC"], "Plans": [{"Node Type": "Aggregate", "Strategy": "Sorted", "Partial Mode": "Finalize", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 41226.13, "Total Cost": 41270.74, "Plan Rows": 25, "Plan Width": 58, "Output": ["nation.n_name", "sum((lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount)))"], "Group Key": ["nation.n_name"], "Plans": [{"Node Type": "Gather Merge", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 41226.13, "Total Cost": 41270.05, "Plan Rows": 50, "Plan Width": 58, "Output": ["nation.n_name", "(PARTIAL sum((lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount))))"], "Workers Planned": 2, "Plans": [{"Node Type": "Aggregate", "Strategy": "Sorted", "Partial Mode": "Partial", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 40226.11, "Total Cost": 40264.26, "Plan Rows": 25, "Plan Width": 58, "Output": ["nation.n_name", "PARTIAL sum((lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount)))"], "Group Key": ["nation.n_name"], "Plans": [{"Node Type": "Sort", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 40226.11, "Total Cost": 40233.68, "Plan Rows": 3027, "Plan Width": 38, "Output": ["nation.n_name", "lineitem.l_extendedprice", "lineitem.l_discount"], "Sort Key": ["nation.n_name"], "Plans": [{"Node Type": "Hash Join", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Join Type": "Inner", "Startup Cost": 476.37, "Total Cost": 40051.09, "Plan Rows": 3027, "Plan Width": 38, "Output": ["nation.n_name", "lineitem.l_extendedprice", "lineitem.l_discount"], "Inner Unique": true, "Hash Cond": "((lineitem.l_suppkey = supplier.s_suppkey) AND (customer.c_nationkey = supplier.s_nationkey))", "Plans": [{"Node Type": "Nested Loop", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Join Type": "Inner", "Startup Cost": 3.37, "Total Cost": 39180.81, "Plan Rows": 75672, "Plan Width": 50, "Output": ["customer.c_nationkey", "lineitem.l_extendedprice", "lineitem.l_discount", "lineitem.l_suppkey", "nation.n_name", "nation.n_nationkey"], "Inner Unique": false, "Plans": [{"Node Type": "Nested Loop", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Join Type": "Inner", "Startup Cost": 2.94, "Total Cost": 17210.78, "Plan Rows": 18914, "Plan Width": 38, "Output": ["customer.c_nationkey", "orders.o_orderkey", "nation.n_name", "nation.n_nationkey"], "Inner Unique": false, "Plans": [{"Node Type": "Hash Join", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Join Type": "Inner", "Startup Cost": 2.51, "Total Cost": 4580.88, "Plan Rows": 12500, "Plan Width": 38, "Output": ["customer.c_custkey", "customer.c_nationkey", "nation.n_name", "nation.n_nationkey"], "Inner Unique": false, "Hash Cond": "(customer.c_nationkey = nation.n_nationkey)", "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": true, "Async Capable": false, "Relation Name": "customer", "Schema": "public", "Alias": "customer", "Startup Cost": 0.0, "Total Cost": 4219.0, "Plan Rows": 62500, "Plan Width": 8, "Output": ["customer.c_custkey", "customer.c_name", "customer.c_address", "customer.c_nationkey", "customer.c_phone", "customer.c_acctbal", "customer.c_mktsegment", "customer.c_comment"]}, {"Node Type": "Hash", "Parent Relationship": "Inner", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 2.45, "Total Cost": 2.45, "Plan Rows": 5, "Plan Width": 30, "Output": ["nation.n_name", "nation.n_nationkey"], "Plans": [{"Node Type": "Hash Join", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Join Type": "Inner", "Startup Cost": 1.07, "Total Cost": 2.45, "Plan Rows": 5, "Plan Width": 30, "Output": ["nation.n_name", "nation.n_nationkey"], "Inner Unique": true, "Hash Cond": "(nation.n_regionkey = region.r_regionkey)", "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Relation Name": "nation", "Schema": "public", "Alias": "nation", "Startup Cost": 0.0, "Total Cost": 1.25, "Plan Rows": 25, "Plan Width": 34, "Output": ["nation.n_nationkey", "nation.n_name", "nation.n_regionkey", "nation.n_comment"]}, {"Node Type": "Hash", "Parent Relationship": "Inner", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 1.06, "Total Cost": 1.06, "Plan Rows": 1, "Plan Width": 4, "Output": ["region.r_regionkey"], "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Relation Name": "region", "Schema": "public", "Alias": "region", "Startup Cost": 0.0, "Total Cost": 1.06, "Plan Rows": 1, "Plan Width": 4, "Output": ["region.r_regionkey"], "Filter": "(region.r_name = 'AMERICA'::bpchar)"}]}]}]}]}, {"Node Type": "Index Scan", "Parent Relationship": "Inner", "Parallel Aware": false, "Async Capable": false, "Scan Direction": "Forward", "Index Name": "o_ck", "Relation Name": "orders", "Schema": "public", "Alias": "orders", "Startup Cost": 0.43, "Total Cost": 0.99, "Plan Rows": 2, "Plan Width": 8, "Output": ["orders.o_orderkey", "orders.o_custkey", "orders.o_orderstatus", "orders.o_totalprice", "orders.o_orderdate", "orders.o_orderpriority", "orders.o_clerk", "orders.o_shippriority", "orders.o_comment"], "Index Cond": "(orders.o_custkey = customer.c_custkey)", "Filter": "((orders.o_orderdate >= '1995-01-01'::date) AND (orders.o_orderdate < '1996-01-01 00:00:00'::timestamp without time zone))"}]}, {"Node Type": "Index Scan", "Parent Relationship": "Inner", "Parallel Aware": false, "Async Capable": false, "Scan Direction": "Forward", "Index Name": "l_ok", "Relation Name": "lineitem", "Schema": "public", "Alias": "lineitem", "Startup Cost": 0.43, "Total Cost": 1.11, "Plan Rows": 5, "Plan Width": 20, "Output": ["lineitem.l_orderkey", "lineitem.l_partkey", "lineitem.l_suppkey", "lineitem.l_linenumber", "lineitem.l_quantity", "lineitem.l_extendedprice", "lineitem.l_discount", "lineitem.l_tax", "lineitem.l_returnflag", "lineitem.l_linestatus", "lineitem.l_shipdate", "lineitem.l_commitdate", "lineitem.l_receiptdate", "lineitem.l_shipinstruct", "lineitem.l_shipmode", "lineitem.l_comment"], "Index Cond": "(lineitem.l_orderkey = orders.o_orderkey)"}]}, {"Node Type": "Hash", "Parent Relationship": "Inner", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 323.0, "Total Cost": 323.0, "Plan Rows": 10000, "Plan Width": 8, "Output": ["supplier.s_suppkey", "supplier.s_nationkey"], "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Relation Name": "supplier", "Schema": "public", "Alias": "supplier", "Startup Cost": 0.0, "Total Cost": 323.0, "Plan Rows": 10000, "Plan Width": 8, "Output": ["supplier.s_suppkey", "supplier.s_nationkey"]}]}]}]}]}]}]}]}} diff --git a/dev9/pg16/tpch/sf_1/explain/15721/6-1.ok b/dev9/pg16/tpch/sf_1/explain/15721/6-1.ok new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/dev9/pg16/tpch/sf_1/explain/15721/6-1.res b/dev9/pg16/tpch/sf_1/explain/15721/6-1.res new file mode 100644 index 0000000000000000000000000000000000000000..a82f6fa4dbddc79004562740a25a0a5743e73eb2 --- /dev/null +++ b/dev9/pg16/tpch/sf_1/explain/15721/6-1.res @@ -0,0 +1 @@ +{"Plan": {"Node Type": "Aggregate", "Strategy": "Plain", "Partial Mode": "Finalize", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 127808.95, "Total Cost": 127808.96, "Plan Rows": 1, "Plan Width": 32, "Output": ["sum((l_extendedprice * l_discount))"], "Plans": [{"Node Type": "Gather", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 127808.42, "Total Cost": 127808.93, "Plan Rows": 5, "Plan Width": 32, "Output": ["(PARTIAL sum((l_extendedprice * l_discount)))"], "Workers Planned": 5, "Single Copy": false, "Plans": [{"Node Type": "Aggregate", "Strategy": "Plain", "Partial Mode": "Partial", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 126808.42, "Total Cost": 126808.43, "Plan Rows": 1, "Plan Width": 32, "Output": ["PARTIAL sum((l_extendedprice * l_discount))"], "Plans": [{"Node Type": "Bitmap Heap Scan", "Parent Relationship": "Outer", "Parallel Aware": true, "Async Capable": false, "Relation Name": "lineitem", "Schema": "public", "Alias": "lineitem", "Startup Cost": 10030.75, "Total Cost": 126693.98, "Plan Rows": 22886, "Plan Width": 12, "Output": ["l_orderkey", "l_partkey", "l_suppkey", "l_linenumber", "l_quantity", "l_extendedprice", "l_discount", "l_tax", "l_returnflag", "l_linestatus", "l_shipdate", "l_commitdate", "l_receiptdate", "l_shipinstruct", "l_shipmode", "l_comment"], "Recheck Cond": "((lineitem.l_shipdate >= '1995-01-01'::date) AND (lineitem.l_shipdate < '1996-01-01 00:00:00'::timestamp without time zone))", "Filter": "((lineitem.l_discount >= 0.04) AND (lineitem.l_discount <= 0.06) AND (lineitem.l_quantity < '24'::numeric))", "Plans": [{"Node Type": "Bitmap Index Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Index Name": "l_sd", "Startup Cost": 0.0, "Total Cost": 10002.14, "Plan Rows": 912941, "Plan Width": 0, "Index Cond": "((lineitem.l_shipdate >= '1995-01-01'::date) AND (lineitem.l_shipdate < '1996-01-01 00:00:00'::timestamp without time zone))"}]}]}]}]}} diff --git a/dev9/pg16/tpch/sf_1/explain/15721/7-1.ok b/dev9/pg16/tpch/sf_1/explain/15721/7-1.ok new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/dev9/pg16/tpch/sf_1/explain/15721/7-1.res b/dev9/pg16/tpch/sf_1/explain/15721/7-1.res new file mode 100644 index 0000000000000000000000000000000000000000..92397efaae74db03ba1f59931a89ef0b6dfda5bf --- /dev/null +++ b/dev9/pg16/tpch/sf_1/explain/15721/7-1.res @@ -0,0 +1 @@ +{"Plan": {"Node Type": "Aggregate", "Strategy": "Sorted", "Partial Mode": "Finalize", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 36253.78, "Total Cost": 37077.94, "Plan Rows": 6098, "Plan Width": 116, "Output": ["n1.n_name", "n2.n_name", "(EXTRACT(year FROM lineitem.l_shipdate))", "sum((lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount)))"], "Group Key": ["n1.n_name", "n2.n_name", "(EXTRACT(year FROM lineitem.l_shipdate))"], "Plans": [{"Node Type": "Gather Merge", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 36253.78, "Total Cost": 36922.95, "Plan Rows": 5082, "Plan Width": 116, "Output": ["n1.n_name", "n2.n_name", "(EXTRACT(year FROM lineitem.l_shipdate))", "(PARTIAL sum((lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount))))"], "Workers Planned": 2, "Plans": [{"Node Type": "Aggregate", "Strategy": "Sorted", "Partial Mode": "Partial", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 35253.75, "Total Cost": 35336.34, "Plan Rows": 2541, "Plan Width": 116, "Output": ["n1.n_name", "n2.n_name", "(EXTRACT(year FROM lineitem.l_shipdate))", "PARTIAL sum((lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount)))"], "Group Key": ["n1.n_name", "n2.n_name", "(EXTRACT(year FROM lineitem.l_shipdate))"], "Plans": [{"Node Type": "Sort", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 35253.75, "Total Cost": 35260.11, "Plan Rows": 2541, "Plan Width": 96, "Output": ["n1.n_name", "n2.n_name", "(EXTRACT(year FROM lineitem.l_shipdate))", "lineitem.l_extendedprice", "lineitem.l_discount"], "Sort Key": ["n1.n_name", "n2.n_name", "(EXTRACT(year FROM lineitem.l_shipdate))"], "Plans": [{"Node Type": "Hash Join", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Join Type": "Inner", "Startup Cost": 25056.09, "Total Cost": 35110.04, "Plan Rows": 2541, "Plan Width": 96, "Output": ["n1.n_name", "n2.n_name", "EXTRACT(year FROM lineitem.l_shipdate)", "lineitem.l_extendedprice", "lineitem.l_discount"], "Inner Unique": false, "Hash Cond": "(orders.o_orderkey = lineitem.l_orderkey)", "Join Filter": "(((n1.n_name = 'IRAN'::bpchar) AND (n2.n_name = 'ETHIOPIA'::bpchar)) OR ((n1.n_name = 'ETHIOPIA'::bpchar) AND (n2.n_name = 'IRAN'::bpchar)))", "Plans": [{"Node Type": "Nested Loop", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Join Type": "Inner", "Startup Cost": 1.83, "Total Cost": 9764.23, "Plan Rows": 50000, "Plan Width": 30, "Output": ["orders.o_orderkey", "n2.n_name"], "Inner Unique": false, "Plans": [{"Node Type": "Hash Join", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Join Type": "Inner", "Startup Cost": 1.4, "Total Cost": 4412.27, "Plan Rows": 5000, "Plan Width": 30, "Output": ["customer.c_custkey", "n2.n_name"], "Inner Unique": true, "Hash Cond": "(customer.c_nationkey = n2.n_nationkey)", "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": true, "Async Capable": false, "Relation Name": "customer", "Schema": "public", "Alias": "customer", "Startup Cost": 0.0, "Total Cost": 4219.0, "Plan Rows": 62500, "Plan Width": 8, "Output": ["customer.c_custkey", "customer.c_name", "customer.c_address", "customer.c_nationkey", "customer.c_phone", "customer.c_acctbal", "customer.c_mktsegment", "customer.c_comment"]}, {"Node Type": "Hash", "Parent Relationship": "Inner", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 1.38, "Total Cost": 1.38, "Plan Rows": 2, "Plan Width": 30, "Output": ["n2.n_name", "n2.n_nationkey"], "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Relation Name": "nation", "Schema": "public", "Alias": "n2", "Startup Cost": 0.0, "Total Cost": 1.38, "Plan Rows": 2, "Plan Width": 30, "Output": ["n2.n_name", "n2.n_nationkey"], "Filter": "((n2.n_name = 'ETHIOPIA'::bpchar) OR (n2.n_name = 'IRAN'::bpchar))"}]}]}, {"Node Type": "Index Scan", "Parent Relationship": "Inner", "Parallel Aware": false, "Async Capable": false, "Scan Direction": "Forward", "Index Name": "o_ck", "Relation Name": "orders", "Schema": "public", "Alias": "orders", "Startup Cost": 0.43, "Total Cost": 0.91, "Plan Rows": 16, "Plan Width": 8, "Output": ["orders.o_orderkey", "orders.o_custkey", "orders.o_orderstatus", "orders.o_totalprice", "orders.o_orderdate", "orders.o_orderpriority", "orders.o_clerk", "orders.o_shippriority", "orders.o_comment"], "Index Cond": "(orders.o_custkey = customer.c_custkey)"}]}, {"Node Type": "Hash", "Parent Relationship": "Inner", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 23222.51, "Total Cost": 23222.51, "Plan Rows": 146540, "Plan Width": 46, "Output": ["lineitem.l_shipdate", "lineitem.l_extendedprice", "lineitem.l_discount", "lineitem.l_orderkey", "n1.n_name"], "Plans": [{"Node Type": "Nested Loop", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Join Type": "Inner", "Startup Cost": 4.92, "Total Cost": 23222.51, "Plan Rows": 146540, "Plan Width": 46, "Output": ["lineitem.l_shipdate", "lineitem.l_extendedprice", "lineitem.l_discount", "lineitem.l_orderkey", "n1.n_name"], "Inner Unique": false, "Plans": [{"Node Type": "Nested Loop", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Join Type": "Inner", "Startup Cost": 4.48, "Total Cost": 258.87, "Plan Rows": 800, "Plan Width": 30, "Output": ["supplier.s_suppkey", "n1.n_name"], "Inner Unique": false, "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Relation Name": "nation", "Schema": "public", "Alias": "n1", "Startup Cost": 0.0, "Total Cost": 1.38, "Plan Rows": 2, "Plan Width": 30, "Output": ["n1.n_nationkey", "n1.n_name", "n1.n_regionkey", "n1.n_comment"], "Filter": "((n1.n_name = 'IRAN'::bpchar) OR (n1.n_name = 'ETHIOPIA'::bpchar))"}, {"Node Type": "Bitmap Heap Scan", "Parent Relationship": "Inner", "Parallel Aware": false, "Async Capable": false, "Relation Name": "supplier", "Schema": "public", "Alias": "supplier", "Startup Cost": 4.48, "Total Cost": 124.75, "Plan Rows": 400, "Plan Width": 8, "Output": ["supplier.s_suppkey", "supplier.s_name", "supplier.s_address", "supplier.s_nationkey", "supplier.s_phone", "supplier.s_acctbal", "supplier.s_comment"], "Recheck Cond": "(supplier.s_nationkey = n1.n_nationkey)", "Plans": [{"Node Type": "Bitmap Index Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Index Name": "s_nk", "Startup Cost": 0.0, "Total Cost": 4.38, "Plan Rows": 400, "Plan Width": 0, "Index Cond": "(supplier.s_nationkey = n1.n_nationkey)"}]}]}, {"Node Type": "Index Scan", "Parent Relationship": "Inner", "Parallel Aware": false, "Async Capable": false, "Scan Direction": "Forward", "Index Name": "l_sk", "Relation Name": "lineitem", "Schema": "public", "Alias": "lineitem", "Startup Cost": 0.43, "Total Cost": 26.87, "Plan Rows": 183, "Plan Width": 24, "Output": ["lineitem.l_orderkey", "lineitem.l_partkey", "lineitem.l_suppkey", "lineitem.l_linenumber", "lineitem.l_quantity", "lineitem.l_extendedprice", "lineitem.l_discount", "lineitem.l_tax", "lineitem.l_returnflag", "lineitem.l_linestatus", "lineitem.l_shipdate", "lineitem.l_commitdate", "lineitem.l_receiptdate", "lineitem.l_shipinstruct", "lineitem.l_shipmode", "lineitem.l_comment"], "Index Cond": "(lineitem.l_suppkey = supplier.s_suppkey)", "Filter": "((lineitem.l_shipdate >= '1995-01-01'::date) AND (lineitem.l_shipdate <= '1996-12-31'::date))"}]}]}]}]}]}]}]}} diff --git a/dev9/pg16/tpch/sf_1/explain/15721/8-1.ok b/dev9/pg16/tpch/sf_1/explain/15721/8-1.ok new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/dev9/pg16/tpch/sf_1/explain/15721/8-1.res b/dev9/pg16/tpch/sf_1/explain/15721/8-1.res new file mode 100644 index 0000000000000000000000000000000000000000..2cd2c3fa08073f6daa2c74c400d242ed8c63a6c8 --- /dev/null +++ b/dev9/pg16/tpch/sf_1/explain/15721/8-1.res @@ -0,0 +1 @@ +{"Plan": {"Node Type": "Aggregate", "Strategy": "Sorted", "Partial Mode": "Finalize", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 33879.06, "Total Cost": 34234.57, "Plan Rows": 2406, "Plan Width": 64, "Output": ["(EXTRACT(year FROM orders.o_orderdate))", "(sum(CASE WHEN (n2.n_name = 'ETHIOPIA'::bpchar) THEN (lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount)) ELSE '0'::numeric END) / sum((lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount))))"], "Group Key": ["(EXTRACT(year FROM orders.o_orderdate))"], "Plans": [{"Node Type": "Gather Merge", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 33879.06, "Total Cost": 34160.47, "Plan Rows": 2078, "Plan Width": 96, "Output": ["(EXTRACT(year FROM orders.o_orderdate))", "(PARTIAL sum(CASE WHEN (n2.n_name = 'ETHIOPIA'::bpchar) THEN (lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount)) ELSE '0'::numeric END))", "(PARTIAL sum((lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount))))"], "Workers Planned": 2, "Plans": [{"Node Type": "Aggregate", "Strategy": "Sorted", "Partial Mode": "Partial", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 32879.04, "Total Cost": 32920.6, "Plan Rows": 1039, "Plan Width": 96, "Output": ["(EXTRACT(year FROM orders.o_orderdate))", "PARTIAL sum(CASE WHEN (n2.n_name = 'ETHIOPIA'::bpchar) THEN (lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount)) ELSE '0'::numeric END)", "PARTIAL sum((lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount)))"], "Group Key": ["(EXTRACT(year FROM orders.o_orderdate))"], "Plans": [{"Node Type": "Sort", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 32879.04, "Total Cost": 32881.64, "Plan Rows": 1039, "Plan Width": 70, "Output": ["(EXTRACT(year FROM orders.o_orderdate))", "n2.n_name", "lineitem.l_extendedprice", "lineitem.l_discount"], "Sort Key": ["(EXTRACT(year FROM orders.o_orderdate))"], "Plans": [{"Node Type": "Hash Join", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Join Type": "Inner", "Startup Cost": 2020.81, "Total Cost": 32826.98, "Plan Rows": 1039, "Plan Width": 70, "Output": ["EXTRACT(year FROM orders.o_orderdate)", "n2.n_name", "lineitem.l_extendedprice", "lineitem.l_discount"], "Inner Unique": true, "Hash Cond": "(supplier.s_nationkey = n2.n_nationkey)", "Plans": [{"Node Type": "Nested Loop", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Join Type": "Inner", "Startup Cost": 2019.24, "Total Cost": 32819.62, "Plan Rows": 1039, "Plan Width": 20, "Output": ["lineitem.l_extendedprice", "lineitem.l_discount", "supplier.s_nationkey", "orders.o_orderdate"], "Inner Unique": true, "Plans": [{"Node Type": "Hash Join", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Join Type": "Inner", "Startup Cost": 2018.96, "Total Cost": 32505.28, "Plan Rows": 1039, "Plan Width": 20, "Output": ["lineitem.l_extendedprice", "lineitem.l_discount", "lineitem.l_suppkey", "orders.o_orderdate"], "Inner Unique": false, "Hash Cond": "(orders.o_custkey = customer.c_custkey)", "Plans": [{"Node Type": "Nested Loop", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Join Type": "Inner", "Startup Cost": 0.86, "Total Cost": 30457.3, "Plan Rows": 5197, "Plan Width": 24, "Output": ["lineitem.l_extendedprice", "lineitem.l_discount", "lineitem.l_suppkey", "orders.o_orderdate", "orders.o_custkey"], "Inner Unique": true, "Plans": [{"Node Type": "Nested Loop", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Join Type": "Inner", "Startup Cost": 0.43, "Total Cost": 22705.78, "Plan Rows": 17016, "Plan Width": 20, "Output": ["lineitem.l_extendedprice", "lineitem.l_discount", "lineitem.l_suppkey", "lineitem.l_orderkey"], "Inner Unique": false, "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": true, "Async Capable": false, "Relation Name": "part", "Schema": "public", "Alias": "part", "Startup Cost": 0.0, "Total Cost": 5138.67, "Plan Rows": 567, "Plan Width": 4, "Output": ["part.p_partkey", "part.p_name", "part.p_mfgr", "part.p_brand", "part.p_type", "part.p_size", "part.p_container", "part.p_retailprice", "part.p_comment"], "Filter": "((part.p_type)::text = 'SMALL BRUSHED NICKEL'::text)"}, {"Node Type": "Index Scan", "Parent Relationship": "Inner", "Parallel Aware": false, "Async Capable": false, "Scan Direction": "Forward", "Index Name": "l_pk", "Relation Name": "lineitem", "Schema": "public", "Alias": "lineitem", "Startup Cost": 0.43, "Total Cost": 30.67, "Plan Rows": 31, "Plan Width": 24, "Output": ["lineitem.l_orderkey", "lineitem.l_partkey", "lineitem.l_suppkey", "lineitem.l_linenumber", "lineitem.l_quantity", "lineitem.l_extendedprice", "lineitem.l_discount", "lineitem.l_tax", "lineitem.l_returnflag", "lineitem.l_linestatus", "lineitem.l_shipdate", "lineitem.l_commitdate", "lineitem.l_receiptdate", "lineitem.l_shipinstruct", "lineitem.l_shipmode", "lineitem.l_comment"], "Index Cond": "(lineitem.l_partkey = part.p_partkey)"}]}, {"Node Type": "Index Scan", "Parent Relationship": "Inner", "Parallel Aware": false, "Async Capable": false, "Scan Direction": "Forward", "Index Name": "o_ok", "Relation Name": "orders", "Schema": "public", "Alias": "orders", "Startup Cost": 0.43, "Total Cost": 0.46, "Plan Rows": 1, "Plan Width": 12, "Output": ["orders.o_orderkey", "orders.o_custkey", "orders.o_orderstatus", "orders.o_totalprice", "orders.o_orderdate", "orders.o_orderpriority", "orders.o_clerk", "orders.o_shippriority", "orders.o_comment"], "Index Cond": "(orders.o_orderkey = lineitem.l_orderkey)", "Filter": "((orders.o_orderdate >= '1995-01-01'::date) AND (orders.o_orderdate <= '1996-12-31'::date))"}]}, {"Node Type": "Hash", "Parent Relationship": "Inner", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 1643.1, "Total Cost": 1643.1, "Plan Rows": 30000, "Plan Width": 4, "Output": ["customer.c_custkey"], "Plans": [{"Node Type": "Nested Loop", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Join Type": "Inner", "Startup Cost": 0.43, "Total Cost": 1643.1, "Plan Rows": 30000, "Plan Width": 4, "Output": ["customer.c_custkey"], "Inner Unique": false, "Plans": [{"Node Type": "Nested Loop", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Join Type": "Inner", "Startup Cost": 0.14, "Total Cost": 5.25, "Plan Rows": 5, "Plan Width": 4, "Output": ["n1.n_nationkey"], "Inner Unique": true, "Join Filter": "(n1.n_regionkey = region.r_regionkey)", "Plans": [{"Node Type": "Index Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Scan Direction": "Forward", "Index Name": "n_nk", "Relation Name": "nation", "Schema": "public", "Alias": "n1", "Startup Cost": 0.14, "Total Cost": 3.81, "Plan Rows": 25, "Plan Width": 8, "Output": ["n1.n_nationkey", "n1.n_name", "n1.n_regionkey", "n1.n_comment"]}, {"Node Type": "Materialize", "Parent Relationship": "Inner", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 0.0, "Total Cost": 1.07, "Plan Rows": 1, "Plan Width": 4, "Output": ["region.r_regionkey"], "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Relation Name": "region", "Schema": "public", "Alias": "region", "Startup Cost": 0.0, "Total Cost": 1.06, "Plan Rows": 1, "Plan Width": 4, "Output": ["region.r_regionkey"], "Filter": "(region.r_name = 'AFRICA'::bpchar)"}]}]}, {"Node Type": "Index Scan", "Parent Relationship": "Inner", "Parallel Aware": false, "Async Capable": false, "Scan Direction": "Forward", "Index Name": "c_nk", "Relation Name": "customer", "Schema": "public", "Alias": "customer", "Startup Cost": 0.29, "Total Cost": 267.57, "Plan Rows": 6000, "Plan Width": 8, "Output": ["customer.c_custkey", "customer.c_name", "customer.c_address", "customer.c_nationkey", "customer.c_phone", "customer.c_acctbal", "customer.c_mktsegment", "customer.c_comment"], "Index Cond": "(customer.c_nationkey = n1.n_nationkey)"}]}]}]}, {"Node Type": "Index Scan", "Parent Relationship": "Inner", "Parallel Aware": false, "Async Capable": false, "Scan Direction": "Forward", "Index Name": "s_sk", "Relation Name": "supplier", "Schema": "public", "Alias": "supplier", "Startup Cost": 0.29, "Total Cost": 0.3, "Plan Rows": 1, "Plan Width": 8, "Output": ["supplier.s_suppkey", "supplier.s_name", "supplier.s_address", "supplier.s_nationkey", "supplier.s_phone", "supplier.s_acctbal", "supplier.s_comment"], "Index Cond": "(supplier.s_suppkey = lineitem.l_suppkey)"}]}, {"Node Type": "Hash", "Parent Relationship": "Inner", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 1.25, "Total Cost": 1.25, "Plan Rows": 25, "Plan Width": 30, "Output": ["n2.n_name", "n2.n_nationkey"], "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Relation Name": "nation", "Schema": "public", "Alias": "n2", "Startup Cost": 0.0, "Total Cost": 1.25, "Plan Rows": 25, "Plan Width": 30, "Output": ["n2.n_name", "n2.n_nationkey"]}]}]}]}]}]}]}} diff --git a/dev9/pg16/tpch/sf_1/explain/15721/9-1.ok b/dev9/pg16/tpch/sf_1/explain/15721/9-1.ok new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/dev9/pg16/tpch/sf_1/explain/15721/9-1.res b/dev9/pg16/tpch/sf_1/explain/15721/9-1.res new file mode 100644 index 0000000000000000000000000000000000000000..f2a09421506444b27f5077da584867e3979f853e --- /dev/null +++ b/dev9/pg16/tpch/sf_1/explain/15721/9-1.res @@ -0,0 +1 @@ +{"Plan": {"Node Type": "Sort", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 91333.36, "Total Cost": 91483.74, "Plan Rows": 60150, "Plan Width": 90, "Output": ["nation.n_name", "(EXTRACT(year FROM orders.o_orderdate))", "(sum(((lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount)) - (partsupp.ps_supplycost * lineitem.l_quantity))))"], "Sort Key": ["nation.n_name", "(EXTRACT(year FROM orders.o_orderdate)) DESC"], "Plans": [{"Node Type": "Aggregate", "Strategy": "Hashed", "Partial Mode": "Finalize", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 85656.32, "Total Cost": 86558.57, "Plan Rows": 60150, "Plan Width": 90, "Output": ["nation.n_name", "(EXTRACT(year FROM orders.o_orderdate))", "sum(((lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount)) - (partsupp.ps_supplycost * lineitem.l_quantity)))"], "Group Key": ["nation.n_name", "(EXTRACT(year FROM orders.o_orderdate))"], "Planned Partitions": 0, "Plans": [{"Node Type": "Gather", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 64904.57, "Total Cost": 83851.82, "Plan Rows": 180450, "Plan Width": 90, "Output": ["nation.n_name", "(EXTRACT(year FROM orders.o_orderdate))", "(PARTIAL sum(((lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount)) - (partsupp.ps_supplycost * lineitem.l_quantity))))"], "Workers Planned": 3, "Single Copy": false, "Plans": [{"Node Type": "Aggregate", "Strategy": "Hashed", "Partial Mode": "Partial", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 63904.57, "Total Cost": 64806.82, "Plan Rows": 60150, "Plan Width": 90, "Output": ["nation.n_name", "(EXTRACT(year FROM orders.o_orderdate))", "PARTIAL sum(((lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount)) - (partsupp.ps_supplycost * lineitem.l_quantity)))"], "Group Key": ["nation.n_name", "EXTRACT(year FROM orders.o_orderdate)"], "Planned Partitions": 0, "Plans": [{"Node Type": "Hash Join", "Parent Relationship": "Outer", "Parallel Aware": true, "Async Capable": false, "Join Type": "Inner", "Startup Cost": 28219.92, "Total Cost": 61799.92, "Plan Rows": 120266, "Plan Width": 81, "Output": ["nation.n_name", "EXTRACT(year FROM orders.o_orderdate)", "lineitem.l_extendedprice", "lineitem.l_discount", "partsupp.ps_supplycost", "lineitem.l_quantity"], "Inner Unique": false, "Hash Cond": "(orders.o_orderkey = lineitem.l_orderkey)", "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": true, "Async Capable": false, "Relation Name": "orders", "Schema": "public", "Alias": "orders", "Startup Cost": 0.0, "Total Cost": 30963.71, "Plan Rows": 483871, "Plan Width": 8, "Output": ["orders.o_orderkey", "orders.o_custkey", "orders.o_orderstatus", "orders.o_totalprice", "orders.o_orderdate", "orders.o_orderpriority", "orders.o_clerk", "orders.o_shippriority", "orders.o_comment"]}, {"Node Type": "Hash", "Parent Relationship": "Inner", "Parallel Aware": true, "Async Capable": false, "Startup Cost": 26278.12, "Total Cost": 26278.12, "Plan Rows": 155344, "Plan Width": 53, "Output": ["lineitem.l_extendedprice", "lineitem.l_discount", "lineitem.l_quantity", "lineitem.l_orderkey", "partsupp.ps_supplycost", "nation.n_name"], "Plans": [{"Node Type": "Nested Loop", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Join Type": "Inner", "Startup Cost": 450.42, "Total Cost": 26278.12, "Plan Rows": 155344, "Plan Width": 53, "Output": ["lineitem.l_extendedprice", "lineitem.l_discount", "lineitem.l_quantity", "lineitem.l_orderkey", "partsupp.ps_supplycost", "nation.n_name"], "Inner Unique": false, "Join Filter": "(supplier.s_suppkey = lineitem.l_suppkey)", "Plans": [{"Node Type": "Hash Join", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Join Type": "Inner", "Startup Cost": 449.99, "Total Cost": 13232.39, "Plan Rows": 20708, "Plan Width": 48, "Output": ["part.p_partkey", "partsupp.ps_supplycost", "partsupp.ps_suppkey", "partsupp.ps_partkey", "supplier.s_suppkey", "nation.n_name"], "Inner Unique": true, "Hash Cond": "(supplier.s_nationkey = nation.n_nationkey)", "Plans": [{"Node Type": "Hash Join", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Join Type": "Inner", "Startup Cost": 448.43, "Total Cost": 13167.26, "Plan Rows": 20708, "Plan Width": 26, "Output": ["part.p_partkey", "partsupp.ps_supplycost", "partsupp.ps_suppkey", "partsupp.ps_partkey", "supplier.s_suppkey", "supplier.s_nationkey"], "Inner Unique": true, "Hash Cond": "(partsupp.ps_suppkey = supplier.s_suppkey)", "Plans": [{"Node Type": "Nested Loop", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Join Type": "Inner", "Startup Cost": 0.42, "Total Cost": 12664.88, "Plan Rows": 20708, "Plan Width": 18, "Output": ["part.p_partkey", "partsupp.ps_supplycost", "partsupp.ps_suppkey", "partsupp.ps_partkey"], "Inner Unique": false, "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": true, "Async Capable": false, "Relation Name": "part", "Schema": "public", "Alias": "part", "Startup Cost": 0.0, "Total Cost": 5138.67, "Plan Rows": 5177, "Plan Width": 4, "Output": ["part.p_partkey", "part.p_name", "part.p_mfgr", "part.p_brand", "part.p_type", "part.p_size", "part.p_container", "part.p_retailprice", "part.p_comment"], "Filter": "((part.p_name)::text ~~ '%forest%'::text)"}, {"Node Type": "Index Scan", "Parent Relationship": "Inner", "Parallel Aware": false, "Async Capable": false, "Scan Direction": "Forward", "Index Name": "ps_pk", "Relation Name": "partsupp", "Schema": "public", "Alias": "partsupp", "Startup Cost": 0.42, "Total Cost": 1.41, "Plan Rows": 4, "Plan Width": 14, "Output": ["partsupp.ps_partkey", "partsupp.ps_suppkey", "partsupp.ps_availqty", "partsupp.ps_supplycost", "partsupp.ps_comment"], "Index Cond": "(partsupp.ps_partkey = part.p_partkey)"}]}, {"Node Type": "Hash", "Parent Relationship": "Inner", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 323.0, "Total Cost": 323.0, "Plan Rows": 10000, "Plan Width": 8, "Output": ["supplier.s_suppkey", "supplier.s_nationkey"], "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Relation Name": "supplier", "Schema": "public", "Alias": "supplier", "Startup Cost": 0.0, "Total Cost": 323.0, "Plan Rows": 10000, "Plan Width": 8, "Output": ["supplier.s_suppkey", "supplier.s_nationkey"]}]}]}, {"Node Type": "Hash", "Parent Relationship": "Inner", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 1.25, "Total Cost": 1.25, "Plan Rows": 25, "Plan Width": 30, "Output": ["nation.n_name", "nation.n_nationkey"], "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Relation Name": "nation", "Schema": "public", "Alias": "nation", "Startup Cost": 0.0, "Total Cost": 1.25, "Plan Rows": 25, "Plan Width": 30, "Output": ["nation.n_name", "nation.n_nationkey"]}]}]}, {"Node Type": "Index Scan", "Parent Relationship": "Inner", "Parallel Aware": false, "Async Capable": false, "Scan Direction": "Forward", "Index Name": "l_sk_pk", "Relation Name": "lineitem", "Schema": "public", "Alias": "lineitem", "Startup Cost": 0.43, "Total Cost": 0.62, "Plan Rows": 1, "Plan Width": 29, "Output": ["lineitem.l_orderkey", "lineitem.l_partkey", "lineitem.l_suppkey", "lineitem.l_linenumber", "lineitem.l_quantity", "lineitem.l_extendedprice", "lineitem.l_discount", "lineitem.l_tax", "lineitem.l_returnflag", "lineitem.l_linestatus", "lineitem.l_shipdate", "lineitem.l_commitdate", "lineitem.l_receiptdate", "lineitem.l_shipinstruct", "lineitem.l_shipmode", "lineitem.l_comment"], "Index Cond": "((lineitem.l_suppkey = partsupp.ps_suppkey) AND (lineitem.l_partkey = partsupp.ps_partkey))"}]}]}]}]}]}]}]}} diff --git a/dev9/pg16/tpch/sf_1/explain_analyze/15721/1-1.ok b/dev9/pg16/tpch/sf_1/explain_analyze/15721/1-1.ok new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/dev9/pg16/tpch/sf_1/explain_analyze/15721/1-1.res b/dev9/pg16/tpch/sf_1/explain_analyze/15721/1-1.res new file mode 100644 index 0000000000000000000000000000000000000000..33f14003212ff1a1f28e5526d0a63d794e57a057 --- /dev/null +++ b/dev9/pg16/tpch/sf_1/explain_analyze/15721/1-1.res @@ -0,0 +1 @@ +{"Plan": {"Node Type": "Aggregate", "Strategy": "Sorted", "Partial Mode": "Finalize", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 169580.43, "Total Cost": 169585.2, "Plan Rows": 6, "Plan Width": 236, "Actual Startup Time": 1692.247, "Actual Total Time": 1707.835, "Actual Rows": 4, "Actual Loops": 1, "Output": ["l_returnflag", "l_linestatus", "sum(l_quantity)", "sum(l_extendedprice)", "sum((l_extendedprice * ('1'::numeric - l_discount)))", "sum(((l_extendedprice * ('1'::numeric - l_discount)) * ('1'::numeric + l_tax)))", "avg(l_quantity)", "avg(l_extendedprice)", "avg(l_discount)", "count(*)"], "Group Key": ["lineitem.l_returnflag", "lineitem.l_linestatus"], "Plans": [{"Node Type": "Gather Merge", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 169580.43, "Total Cost": 169584.06, "Plan Rows": 30, "Plan Width": 236, "Actual Startup Time": 1692.214, "Actual Total Time": 1707.759, "Actual Rows": 24, "Actual Loops": 1, "Output": ["l_returnflag", "l_linestatus", "(PARTIAL sum(l_quantity))", "(PARTIAL sum(l_extendedprice))", "(PARTIAL sum((l_extendedprice * ('1'::numeric - l_discount))))", "(PARTIAL sum(((l_extendedprice * ('1'::numeric - l_discount)) * ('1'::numeric + l_tax))))", "(PARTIAL avg(l_quantity))", "(PARTIAL avg(l_extendedprice))", "(PARTIAL avg(l_discount))", "(PARTIAL count(*))"], "Workers Planned": 5, "Workers Launched": 5, "Plans": [{"Node Type": "Sort", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 168580.35, "Total Cost": 168580.37, "Plan Rows": 6, "Plan Width": 236, "Actual Startup Time": 1688.251, "Actual Total Time": 1688.253, "Actual Rows": 4, "Actual Loops": 6, "Output": ["l_returnflag", "l_linestatus", "(PARTIAL sum(l_quantity))", "(PARTIAL sum(l_extendedprice))", "(PARTIAL sum((l_extendedprice * ('1'::numeric - l_discount))))", "(PARTIAL sum(((l_extendedprice * ('1'::numeric - l_discount)) * ('1'::numeric + l_tax))))", "(PARTIAL avg(l_quantity))", "(PARTIAL avg(l_extendedprice))", "(PARTIAL avg(l_discount))", "(PARTIAL count(*))"], "Sort Key": ["lineitem.l_returnflag", "lineitem.l_linestatus"], "Sort Method": "quicksort", "Sort Space Used": 27, "Sort Space Type": "Memory", "Workers": [{"Worker Number": 0, "Actual Startup Time": 1687.327, "Actual Total Time": 1687.329, "Actual Rows": 4, "Actual Loops": 1, "Sort Method": "quicksort", "Sort Space Used": 27, "Sort Space Type": "Memory"}, {"Worker Number": 1, "Actual Startup Time": 1687.436, "Actual Total Time": 1687.438, "Actual Rows": 4, "Actual Loops": 1, "Sort Method": "quicksort", "Sort Space Used": 27, "Sort Space Type": "Memory"}, {"Worker Number": 2, "Actual Startup Time": 1687.609, "Actual Total Time": 1687.61, "Actual Rows": 4, "Actual Loops": 1, "Sort Method": "quicksort", "Sort Space Used": 27, "Sort Space Type": "Memory"}, {"Worker Number": 3, "Actual Startup Time": 1687.658, "Actual Total Time": 1687.659, "Actual Rows": 4, "Actual Loops": 1, "Sort Method": "quicksort", "Sort Space Used": 27, "Sort Space Type": "Memory"}, {"Worker Number": 4, "Actual Startup Time": 1687.75, "Actual Total Time": 1687.751, "Actual Rows": 4, "Actual Loops": 1, "Sort Method": "quicksort", "Sort Space Used": 27, "Sort Space Type": "Memory"}], "Plans": [{"Node Type": "Aggregate", "Strategy": "Hashed", "Partial Mode": "Partial", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 168580.14, "Total Cost": 168580.27, "Plan Rows": 6, "Plan Width": 236, "Actual Startup Time": 1688.209, "Actual Total Time": 1688.217, "Actual Rows": 4, "Actual Loops": 6, "Output": ["l_returnflag", "l_linestatus", "PARTIAL sum(l_quantity)", "PARTIAL sum(l_extendedprice)", "PARTIAL sum((l_extendedprice * ('1'::numeric - l_discount)))", "PARTIAL sum(((l_extendedprice * ('1'::numeric - l_discount)) * ('1'::numeric + l_tax)))", "PARTIAL avg(l_quantity)", "PARTIAL avg(l_extendedprice)", "PARTIAL avg(l_discount)", "PARTIAL count(*)"], "Group Key": ["lineitem.l_returnflag", "lineitem.l_linestatus"], "Planned Partitions": 0, "HashAgg Batches": 1, "Peak Memory Usage": 24, "Disk Usage": 0, "Workers": [{"Worker Number": 0, "Actual Startup Time": 1687.278, "Actual Total Time": 1687.286, "Actual Rows": 4, "Actual Loops": 1, "HashAgg Batches": 1, "Peak Memory Usage": 24, "Disk Usage": 0}, {"Worker Number": 1, "Actual Startup Time": 1687.389, "Actual Total Time": 1687.397, "Actual Rows": 4, "Actual Loops": 1, "HashAgg Batches": 1, "Peak Memory Usage": 24, "Disk Usage": 0}, {"Worker Number": 2, "Actual Startup Time": 1687.564, "Actual Total Time": 1687.572, "Actual Rows": 4, "Actual Loops": 1, "HashAgg Batches": 1, "Peak Memory Usage": 24, "Disk Usage": 0}, {"Worker Number": 3, "Actual Startup Time": 1687.613, "Actual Total Time": 1687.62, "Actual Rows": 4, "Actual Loops": 1, "HashAgg Batches": 1, "Peak Memory Usage": 24, "Disk Usage": 0}, {"Worker Number": 4, "Actual Startup Time": 1687.704, "Actual Total Time": 1687.712, "Actual Rows": 4, "Actual Loops": 1, "HashAgg Batches": 1, "Peak Memory Usage": 24, "Disk Usage": 0}], "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": true, "Async Capable": false, "Relation Name": "lineitem", "Schema": "public", "Alias": "lineitem", "Startup Cost": 0.0, "Total Cost": 127558.04, "Plan Rows": 1172060, "Plan Width": 25, "Actual Startup Time": 0.025, "Actual Total Time": 219.275, "Actual Rows": 976793, "Actual Loops": 6, "Output": ["l_orderkey", "l_partkey", "l_suppkey", "l_linenumber", "l_quantity", "l_extendedprice", "l_discount", "l_tax", "l_returnflag", "l_linestatus", "l_shipdate", "l_commitdate", "l_receiptdate", "l_shipinstruct", "l_shipmode", "l_comment"], "Filter": "(lineitem.l_shipdate <= '1998-08-07 23:59:57'::timestamp without time zone)", "Rows Removed by Filter": 23410, "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.028, "Actual Total Time": 218.752, "Actual Rows": 973259, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 0.028, "Actual Total Time": 222.406, "Actual Rows": 974996, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 0.033, "Actual Total Time": 222.995, "Actual Rows": 974745, "Actual Loops": 1}, {"Worker Number": 3, "Actual Startup Time": 0.027, "Actual Total Time": 222.404, "Actual Rows": 975044, "Actual Loops": 1}, {"Worker Number": 4, "Actual Startup Time": 0.029, "Actual Total Time": 221.192, "Actual Rows": 973742, "Actual Loops": 1}]}]}]}]}]}, "Planning Time": 0.384, "Triggers": [], "Execution Time": 1707.909} diff --git a/dev9/pg16/tpch/sf_1/explain_analyze/15721/10-1.ok b/dev9/pg16/tpch/sf_1/explain_analyze/15721/10-1.ok new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/dev9/pg16/tpch/sf_1/explain_analyze/15721/10-1.res b/dev9/pg16/tpch/sf_1/explain_analyze/15721/10-1.res new file mode 100644 index 0000000000000000000000000000000000000000..78f5d0bf622b6dd826dac8cb3c75743b44d1eb4e --- /dev/null +++ b/dev9/pg16/tpch/sf_1/explain_analyze/15721/10-1.res @@ -0,0 +1 @@ +{"Plan": {"Node Type": "Limit", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 70713.41, "Total Cost": 70713.46, "Plan Rows": 20, "Plan Width": 202, "Actual Startup Time": 290.488, "Actual Total Time": 297.799, "Actual Rows": 20, "Actual Loops": 1, "Output": ["customer.c_custkey", "customer.c_name", "(sum((lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount))))", "customer.c_acctbal", "nation.n_name", "customer.c_address", "customer.c_phone", "customer.c_comment"], "Plans": [{"Node Type": "Sort", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 70713.41, "Total Cost": 70851.72, "Plan Rows": 55324, "Plan Width": 202, "Actual Startup Time": 290.487, "Actual Total Time": 297.795, "Actual Rows": 20, "Actual Loops": 1, "Output": ["customer.c_custkey", "customer.c_name", "(sum((lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount))))", "customer.c_acctbal", "nation.n_name", "customer.c_address", "customer.c_phone", "customer.c_comment"], "Sort Key": ["(sum((lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount)))) DESC"], "Sort Method": "top-N heapsort", "Sort Space Used": 34, "Sort Space Type": "Memory", "Plans": [{"Node Type": "Aggregate", "Strategy": "Hashed", "Partial Mode": "Simple", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 68549.71, "Total Cost": 69241.26, "Plan Rows": 55324, "Plan Width": 202, "Actual Startup Time": 248.955, "Actual Total Time": 284.371, "Actual Rows": 37047, "Actual Loops": 1, "Output": ["customer.c_custkey", "customer.c_name", "sum((lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount)))", "customer.c_acctbal", "nation.n_name", "customer.c_address", "customer.c_phone", "customer.c_comment"], "Group Key": ["customer.c_custkey", "nation.n_name"], "Planned Partitions": 0, "HashAgg Batches": 1, "Peak Memory Usage": 24081, "Disk Usage": 0, "Plans": [{"Node Type": "Gather", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 6634.4, "Total Cost": 67858.16, "Plan Rows": 55324, "Plan Width": 182, "Actual Startup Time": 60.5, "Actual Total Time": 142.255, "Actual Rows": 110515, "Actual Loops": 1, "Output": ["customer.c_custkey", "nation.n_name", "customer.c_name", "lineitem.l_extendedprice", "lineitem.l_discount", "customer.c_acctbal", "customer.c_address", "customer.c_phone", "customer.c_comment"], "Workers Planned": 3, "Workers Launched": 3, "Single Copy": false, "Plans": [{"Node Type": "Hash Join", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Join Type": "Inner", "Startup Cost": 5634.4, "Total Cost": 61325.76, "Plan Rows": 17846, "Plan Width": 182, "Actual Startup Time": 57.165, "Actual Total Time": 200.385, "Actual Rows": 27629, "Actual Loops": 4, "Output": ["customer.c_custkey", "nation.n_name", "customer.c_name", "lineitem.l_extendedprice", "lineitem.l_discount", "customer.c_acctbal", "customer.c_address", "customer.c_phone", "customer.c_comment"], "Inner Unique": true, "Hash Cond": "(customer.c_nationkey = nation.n_nationkey)", "Workers": [{"Worker Number": 0, "Actual Startup Time": 56.176, "Actual Total Time": 228.026, "Actual Rows": 32596, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 55.988, "Actual Total Time": 227.755, "Actual Rows": 32187, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 56.395, "Actual Total Time": 228.497, "Actual Rows": 32047, "Actual Loops": 1}], "Plans": [{"Node Type": "Hash Join", "Parent Relationship": "Outer", "Parallel Aware": true, "Async Capable": false, "Join Type": "Inner", "Startup Cost": 5632.84, "Total Cost": 61269.41, "Plan Rows": 17846, "Plan Width": 160, "Actual Startup Time": 56.998, "Actual Total Time": 193.042, "Actual Rows": 27629, "Actual Loops": 4, "Output": ["customer.c_custkey", "customer.c_name", "customer.c_acctbal", "customer.c_address", "customer.c_phone", "customer.c_comment", "customer.c_nationkey", "lineitem.l_extendedprice", "lineitem.l_discount"], "Inner Unique": true, "Hash Cond": "(orders.o_custkey = customer.c_custkey)", "Workers": [{"Worker Number": 0, "Actual Startup Time": 55.96, "Actual Total Time": 219.397, "Actual Rows": 32596, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 55.773, "Actual Total Time": 219.184, "Actual Rows": 32187, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 56.183, "Actual Total Time": 220.018, "Actual Rows": 32047, "Actual Loops": 1}], "Plans": [{"Node Type": "Nested Loop", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Join Type": "Inner", "Startup Cost": 632.59, "Total Cost": 56222.31, "Plan Rows": 17846, "Plan Width": 16, "Actual Startup Time": 18.428, "Actual Total Time": 138.988, "Actual Rows": 27629, "Actual Loops": 4, "Output": ["orders.o_custkey", "lineitem.l_extendedprice", "lineitem.l_discount"], "Inner Unique": false, "Workers": [{"Worker Number": 0, "Actual Startup Time": 18.537, "Actual Total Time": 164.107, "Actual Rows": 32596, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 18.332, "Actual Total Time": 164.203, "Actual Rows": 32187, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 18.529, "Actual Total Time": 164.613, "Actual Rows": 32047, "Actual Loops": 1}], "Plans": [{"Node Type": "Bitmap Heap Scan", "Parent Relationship": "Outer", "Parallel Aware": true, "Async Capable": false, "Relation Name": "orders", "Schema": "public", "Alias": "orders", "Startup Cost": 632.15, "Total Cost": 27029.41, "Plan Rows": 18150, "Plan Width": 8, "Actual Startup Time": 18.37, "Actual Total Time": 41.309, "Actual Rows": 13816, "Actual Loops": 4, "Output": ["orders.o_orderkey", "orders.o_custkey", "orders.o_orderstatus", "orders.o_totalprice", "orders.o_orderdate", "orders.o_orderpriority", "orders.o_clerk", "orders.o_shippriority", "orders.o_comment"], "Recheck Cond": "((orders.o_orderdate >= '1993-02-01'::date) AND (orders.o_orderdate < '1993-05-01 00:00:00'::timestamp without time zone))", "Rows Removed by Index Recheck": 0, "Exact Heap Blocks": 2882, "Lossy Heap Blocks": 0, "Workers": [{"Worker Number": 0, "Actual Startup Time": 18.454, "Actual Total Time": 46.39, "Actual Rows": 16162, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 18.266, "Actual Total Time": 46.503, "Actual Rows": 16130, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 18.468, "Actual Total Time": 46.598, "Actual Rows": 16073, "Actual Loops": 1}], "Plans": [{"Node Type": "Bitmap Index Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Index Name": "o_od", "Startup Cost": 0.0, "Total Cost": 618.09, "Plan Rows": 56266, "Plan Width": 0, "Actual Startup Time": 12.382, "Actual Total Time": 12.383, "Actual Rows": 55266, "Actual Loops": 1, "Index Cond": "((orders.o_orderdate >= '1993-02-01'::date) AND (orders.o_orderdate < '1993-05-01 00:00:00'::timestamp without time zone))", "Workers": [{"Worker Number": 1, "Actual Startup Time": 12.382, "Actual Total Time": 12.383, "Actual Rows": 55266, "Actual Loops": 1}]}]}, {"Node Type": "Index Scan", "Parent Relationship": "Inner", "Parallel Aware": false, "Async Capable": false, "Scan Direction": "Forward", "Index Name": "l_ok", "Relation Name": "lineitem", "Schema": "public", "Alias": "lineitem", "Startup Cost": 0.43, "Total Cost": 1.6, "Plan Rows": 1, "Plan Width": 16, "Actual Startup Time": 0.005, "Actual Total Time": 0.006, "Actual Rows": 2, "Actual Loops": 55266, "Output": ["lineitem.l_orderkey", "lineitem.l_partkey", "lineitem.l_suppkey", "lineitem.l_linenumber", "lineitem.l_quantity", "lineitem.l_extendedprice", "lineitem.l_discount", "lineitem.l_tax", "lineitem.l_returnflag", "lineitem.l_linestatus", "lineitem.l_shipdate", "lineitem.l_commitdate", "lineitem.l_receiptdate", "lineitem.l_shipinstruct", "lineitem.l_shipmode", "lineitem.l_comment"], "Index Cond": "(lineitem.l_orderkey = orders.o_orderkey)", "Rows Removed by Index Recheck": 0, "Filter": "(lineitem.l_returnflag = 'R'::bpchar)", "Rows Removed by Filter": 2, "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.006, "Actual Total Time": 0.007, "Actual Rows": 2, "Actual Loops": 16162}, {"Worker Number": 1, "Actual Startup Time": 0.006, "Actual Total Time": 0.007, "Actual Rows": 2, "Actual Loops": 16130}, {"Worker Number": 2, "Actual Startup Time": 0.006, "Actual Total Time": 0.007, "Actual Rows": 2, "Actual Loops": 16073}]}]}, {"Node Type": "Hash", "Parent Relationship": "Inner", "Parallel Aware": true, "Async Capable": false, "Startup Cost": 4219.0, "Total Cost": 4219.0, "Plan Rows": 62500, "Plan Width": 148, "Actual Startup Time": 37.98, "Actual Total Time": 37.981, "Actual Rows": 37500, "Actual Loops": 4, "Output": ["customer.c_custkey", "customer.c_name", "customer.c_acctbal", "customer.c_address", "customer.c_phone", "customer.c_comment", "customer.c_nationkey"], "Hash Buckets": 262144, "Original Hash Buckets": 262144, "Hash Batches": 1, "Original Hash Batches": 1, "Peak Memory Usage": 29312, "Workers": [{"Worker Number": 0, "Actual Startup Time": 37.395, "Actual Total Time": 37.395, "Actual Rows": 35162, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 37.412, "Actual Total Time": 37.413, "Actual Rows": 35061, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 37.622, "Actual Total Time": 37.622, "Actual Rows": 35184, "Actual Loops": 1}], "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": true, "Async Capable": false, "Relation Name": "customer", "Schema": "public", "Alias": "customer", "Startup Cost": 0.0, "Total Cost": 4219.0, "Plan Rows": 62500, "Plan Width": 148, "Actual Startup Time": 0.016, "Actual Total Time": 11.97, "Actual Rows": 37500, "Actual Loops": 4, "Output": ["customer.c_custkey", "customer.c_name", "customer.c_acctbal", "customer.c_address", "customer.c_phone", "customer.c_comment", "customer.c_nationkey"], "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.019, "Actual Total Time": 12.193, "Actual Rows": 35162, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 0.018, "Actual Total Time": 12.314, "Actual Rows": 35061, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 0.021, "Actual Total Time": 12.342, "Actual Rows": 35184, "Actual Loops": 1}]}]}]}, {"Node Type": "Hash", "Parent Relationship": "Inner", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 1.25, "Total Cost": 1.25, "Plan Rows": 25, "Plan Width": 30, "Actual Startup Time": 0.032, "Actual Total Time": 0.033, "Actual Rows": 25, "Actual Loops": 4, "Output": ["nation.n_name", "nation.n_nationkey"], "Hash Buckets": 1024, "Original Hash Buckets": 1024, "Hash Batches": 1, "Original Hash Batches": 1, "Peak Memory Usage": 10, "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.038, "Actual Total Time": 0.039, "Actual Rows": 25, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 0.038, "Actual Total Time": 0.039, "Actual Rows": 25, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 0.037, "Actual Total Time": 0.037, "Actual Rows": 25, "Actual Loops": 1}], "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Relation Name": "nation", "Schema": "public", "Alias": "nation", "Startup Cost": 0.0, "Total Cost": 1.25, "Plan Rows": 25, "Plan Width": 30, "Actual Startup Time": 0.018, "Actual Total Time": 0.022, "Actual Rows": 25, "Actual Loops": 4, "Output": ["nation.n_name", "nation.n_nationkey"], "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.023, "Actual Total Time": 0.027, "Actual Rows": 25, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 0.023, "Actual Total Time": 0.027, "Actual Rows": 25, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 0.021, "Actual Total Time": 0.025, "Actual Rows": 25, "Actual Loops": 1}]}]}]}]}]}]}]}, "Planning Time": 1.092, "Triggers": [], "Execution Time": 299.291} diff --git a/dev9/pg16/tpch/sf_1/explain_analyze/15721/11-1.ok b/dev9/pg16/tpch/sf_1/explain_analyze/15721/11-1.ok new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/dev9/pg16/tpch/sf_1/explain_analyze/15721/11-1.res b/dev9/pg16/tpch/sf_1/explain_analyze/15721/11-1.res new file mode 100644 index 0000000000000000000000000000000000000000..27ffd2f11c5aeafede5eb4ec7c60e75b06876162 --- /dev/null +++ b/dev9/pg16/tpch/sf_1/explain_analyze/15721/11-1.res @@ -0,0 +1 @@ +{"Plan": {"Node Type": "Sort", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 5906.97, "Total Cost": 5933.64, "Plan Rows": 10667, "Plan Width": 36, "Actual Startup Time": 111.366, "Actual Total Time": 111.445, "Actual Rows": 869, "Actual Loops": 1, "Output": ["partsupp.ps_partkey", "(sum((partsupp.ps_supplycost * (partsupp.ps_availqty)::numeric)))"], "Sort Key": ["(sum((partsupp.ps_supplycost * (partsupp.ps_availqty)::numeric))) DESC"], "Sort Method": "quicksort", "Sort Space Used": 58, "Sort Space Type": "Memory", "Plans": [{"Node Type": "Aggregate", "Strategy": "Plain", "Partial Mode": "Simple", "Parent Relationship": "InitPlan", "Subplan Name": "InitPlan 1 (returns $2)", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 2316.65, "Total Cost": 2316.66, "Plan Rows": 1, "Plan Width": 32, "Actual Startup Time": 39.182, "Actual Total Time": 39.185, "Actual Rows": 1, "Actual Loops": 1, "Output": ["(sum((partsupp_1.ps_supplycost * (partsupp_1.ps_availqty)::numeric)) * 0.0001000000)"], "Plans": [{"Node Type": "Nested Loop", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Join Type": "Inner", "Startup Cost": 4.91, "Total Cost": 2076.64, "Plan Rows": 32000, "Plan Width": 10, "Actual Startup Time": 0.07, "Actual Total Time": 27.894, "Actual Rows": 32560, "Actual Loops": 1, "Output": ["partsupp_1.ps_supplycost", "partsupp_1.ps_availqty"], "Inner Unique": false, "Plans": [{"Node Type": "Nested Loop", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Join Type": "Inner", "Startup Cost": 4.48, "Total Cost": 226.37, "Plan Rows": 400, "Plan Width": 4, "Actual Startup Time": 0.063, "Actual Total Time": 0.401, "Actual Rows": 407, "Actual Loops": 1, "Output": ["supplier_1.s_suppkey"], "Inner Unique": false, "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Relation Name": "nation", "Schema": "public", "Alias": "nation_1", "Startup Cost": 0.0, "Total Cost": 1.31, "Plan Rows": 1, "Plan Width": 4, "Actual Startup Time": 0.008, "Actual Total Time": 0.011, "Actual Rows": 1, "Actual Loops": 1, "Output": ["nation_1.n_nationkey", "nation_1.n_name", "nation_1.n_regionkey", "nation_1.n_comment"], "Filter": "(nation_1.n_name = 'CHINA'::bpchar)", "Rows Removed by Filter": 24}, {"Node Type": "Bitmap Heap Scan", "Parent Relationship": "Inner", "Parallel Aware": false, "Async Capable": false, "Relation Name": "supplier", "Schema": "public", "Alias": "supplier_1", "Startup Cost": 4.48, "Total Cost": 221.06, "Plan Rows": 400, "Plan Width": 8, "Actual Startup Time": 0.053, "Actual Total Time": 0.33, "Actual Rows": 407, "Actual Loops": 1, "Output": ["supplier_1.s_suppkey", "supplier_1.s_name", "supplier_1.s_address", "supplier_1.s_nationkey", "supplier_1.s_phone", "supplier_1.s_acctbal", "supplier_1.s_comment"], "Recheck Cond": "(supplier_1.s_nationkey = nation_1.n_nationkey)", "Rows Removed by Index Recheck": 0, "Exact Heap Blocks": 184, "Lossy Heap Blocks": 0, "Plans": [{"Node Type": "Bitmap Index Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Index Name": "s_nk", "Startup Cost": 0.0, "Total Cost": 4.38, "Plan Rows": 400, "Plan Width": 0, "Actual Startup Time": 0.024, "Actual Total Time": 0.024, "Actual Rows": 407, "Actual Loops": 1, "Index Cond": "(supplier_1.s_nationkey = nation_1.n_nationkey)"}]}]}, {"Node Type": "Index Scan", "Parent Relationship": "Inner", "Parallel Aware": false, "Async Capable": false, "Scan Direction": "Forward", "Index Name": "ps_sk", "Relation Name": "partsupp", "Schema": "public", "Alias": "partsupp_1", "Startup Cost": 0.42, "Total Cost": 3.83, "Plan Rows": 80, "Plan Width": 14, "Actual Startup Time": 0.003, "Actual Total Time": 0.056, "Actual Rows": 80, "Actual Loops": 407, "Output": ["partsupp_1.ps_partkey", "partsupp_1.ps_suppkey", "partsupp_1.ps_availqty", "partsupp_1.ps_supplycost", "partsupp_1.ps_comment"], "Index Cond": "(partsupp_1.ps_suppkey = supplier_1.s_suppkey)", "Rows Removed by Index Recheck": 0}]}]}, {"Node Type": "Aggregate", "Strategy": "Hashed", "Partial Mode": "Simple", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 2396.64, "Total Cost": 2876.64, "Plan Rows": 10667, "Plan Width": 36, "Actual Startup Time": 96.609, "Actual Total Time": 111.021, "Actual Rows": 869, "Actual Loops": 1, "Output": ["partsupp.ps_partkey", "sum((partsupp.ps_supplycost * (partsupp.ps_availqty)::numeric))"], "Group Key": ["partsupp.ps_partkey"], "Filter": "(sum((partsupp.ps_supplycost * (partsupp.ps_availqty)::numeric)) > $2)", "Planned Partitions": 0, "HashAgg Batches": 1, "Peak Memory Usage": 12817, "Disk Usage": 0, "Rows Removed by Filter": 29770, "Plans": [{"Node Type": "Nested Loop", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Join Type": "Inner", "Startup Cost": 4.91, "Total Cost": 2076.64, "Plan Rows": 32000, "Plan Width": 14, "Actual Startup Time": 0.079, "Actual Total Time": 32.757, "Actual Rows": 32560, "Actual Loops": 1, "Output": ["partsupp.ps_partkey", "partsupp.ps_supplycost", "partsupp.ps_availqty"], "Inner Unique": false, "Plans": [{"Node Type": "Nested Loop", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Join Type": "Inner", "Startup Cost": 4.48, "Total Cost": 226.37, "Plan Rows": 400, "Plan Width": 4, "Actual Startup Time": 0.069, "Actual Total Time": 0.467, "Actual Rows": 407, "Actual Loops": 1, "Output": ["supplier.s_suppkey"], "Inner Unique": false, "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Relation Name": "nation", "Schema": "public", "Alias": "nation", "Startup Cost": 0.0, "Total Cost": 1.31, "Plan Rows": 1, "Plan Width": 4, "Actual Startup Time": 0.009, "Actual Total Time": 0.013, "Actual Rows": 1, "Actual Loops": 1, "Output": ["nation.n_nationkey", "nation.n_name", "nation.n_regionkey", "nation.n_comment"], "Filter": "(nation.n_name = 'CHINA'::bpchar)", "Rows Removed by Filter": 24}, {"Node Type": "Bitmap Heap Scan", "Parent Relationship": "Inner", "Parallel Aware": false, "Async Capable": false, "Relation Name": "supplier", "Schema": "public", "Alias": "supplier", "Startup Cost": 4.48, "Total Cost": 221.06, "Plan Rows": 400, "Plan Width": 8, "Actual Startup Time": 0.058, "Actual Total Time": 0.392, "Actual Rows": 407, "Actual Loops": 1, "Output": ["supplier.s_suppkey", "supplier.s_name", "supplier.s_address", "supplier.s_nationkey", "supplier.s_phone", "supplier.s_acctbal", "supplier.s_comment"], "Recheck Cond": "(supplier.s_nationkey = nation.n_nationkey)", "Rows Removed by Index Recheck": 0, "Exact Heap Blocks": 184, "Lossy Heap Blocks": 0, "Plans": [{"Node Type": "Bitmap Index Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Index Name": "s_nk", "Startup Cost": 0.0, "Total Cost": 4.38, "Plan Rows": 400, "Plan Width": 0, "Actual Startup Time": 0.025, "Actual Total Time": 0.025, "Actual Rows": 407, "Actual Loops": 1, "Index Cond": "(supplier.s_nationkey = nation.n_nationkey)"}]}]}, {"Node Type": "Index Scan", "Parent Relationship": "Inner", "Parallel Aware": false, "Async Capable": false, "Scan Direction": "Forward", "Index Name": "ps_sk", "Relation Name": "partsupp", "Schema": "public", "Alias": "partsupp", "Startup Cost": 0.42, "Total Cost": 3.83, "Plan Rows": 80, "Plan Width": 18, "Actual Startup Time": 0.003, "Actual Total Time": 0.067, "Actual Rows": 80, "Actual Loops": 407, "Output": ["partsupp.ps_partkey", "partsupp.ps_suppkey", "partsupp.ps_availqty", "partsupp.ps_supplycost", "partsupp.ps_comment"], "Index Cond": "(partsupp.ps_suppkey = supplier.s_suppkey)", "Rows Removed by Index Recheck": 0}]}]}]}, "Planning Time": 0.723, "Triggers": [], "Execution Time": 111.744} diff --git a/dev9/pg16/tpch/sf_1/explain_analyze/15721/12-1.ok b/dev9/pg16/tpch/sf_1/explain_analyze/15721/12-1.ok new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/dev9/pg16/tpch/sf_1/explain_analyze/15721/12-1.res b/dev9/pg16/tpch/sf_1/explain_analyze/15721/12-1.res new file mode 100644 index 0000000000000000000000000000000000000000..3c4c19240cd88efed8a3832ebd3a0899cf463d9e --- /dev/null +++ b/dev9/pg16/tpch/sf_1/explain_analyze/15721/12-1.res @@ -0,0 +1 @@ +{"Plan": {"Node Type": "Aggregate", "Strategy": "Sorted", "Partial Mode": "Finalize", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 135729.97, "Total Cost": 135850.95, "Plan Rows": 7, "Plan Width": 27, "Actual Startup Time": 287.755, "Actual Total Time": 319.073, "Actual Rows": 2, "Actual Loops": 1, "Output": ["lineitem.l_shipmode", "sum(CASE WHEN ((orders.o_orderpriority = '1-URGENT'::bpchar) OR (orders.o_orderpriority = '2-HIGH'::bpchar)) THEN 1 ELSE 0 END)", "sum(CASE WHEN ((orders.o_orderpriority <> '1-URGENT'::bpchar) AND (orders.o_orderpriority <> '2-HIGH'::bpchar)) THEN 1 ELSE 0 END)"], "Group Key": ["lineitem.l_shipmode"], "Plans": [{"Node Type": "Gather Merge", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 135729.97, "Total Cost": 135850.62, "Plan Rows": 35, "Plan Width": 27, "Actual Startup Time": 286.037, "Actual Total Time": 319.062, "Actual Rows": 12, "Actual Loops": 1, "Output": ["lineitem.l_shipmode", "(PARTIAL sum(CASE WHEN ((orders.o_orderpriority = '1-URGENT'::bpchar) OR (orders.o_orderpriority = '2-HIGH'::bpchar)) THEN 1 ELSE 0 END))", "(PARTIAL sum(CASE WHEN ((orders.o_orderpriority <> '1-URGENT'::bpchar) AND (orders.o_orderpriority <> '2-HIGH'::bpchar)) THEN 1 ELSE 0 END))"], "Workers Planned": 5, "Workers Launched": 5, "Plans": [{"Node Type": "Aggregate", "Strategy": "Sorted", "Partial Mode": "Partial", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 134729.89, "Total Cost": 134846.32, "Plan Rows": 7, "Plan Width": 27, "Actual Startup Time": 280.901, "Actual Total Time": 282.042, "Actual Rows": 2, "Actual Loops": 6, "Output": ["lineitem.l_shipmode", "PARTIAL sum(CASE WHEN ((orders.o_orderpriority = '1-URGENT'::bpchar) OR (orders.o_orderpriority = '2-HIGH'::bpchar)) THEN 1 ELSE 0 END)", "PARTIAL sum(CASE WHEN ((orders.o_orderpriority <> '1-URGENT'::bpchar) AND (orders.o_orderpriority <> '2-HIGH'::bpchar)) THEN 1 ELSE 0 END)"], "Group Key": ["lineitem.l_shipmode"], "Workers": [{"Worker Number": 0, "Actual Startup Time": 279.271, "Actual Total Time": 280.311, "Actual Rows": 2, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 280.109, "Actual Total Time": 281.102, "Actual Rows": 2, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 280.206, "Actual Total Time": 281.242, "Actual Rows": 2, "Actual Loops": 1}, {"Worker Number": 3, "Actual Startup Time": 280.136, "Actual Total Time": 281.169, "Actual Rows": 2, "Actual Loops": 1}, {"Worker Number": 4, "Actual Startup Time": 280.318, "Actual Total Time": 281.356, "Actual Rows": 2, "Actual Loops": 1}], "Plans": [{"Node Type": "Sort", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 134729.89, "Total Cost": 134744.44, "Plan Rows": 5818, "Plan Width": 27, "Actual Startup Time": 279.775, "Actual Total Time": 280.098, "Actual Rows": 5187, "Actual Loops": 6, "Output": ["lineitem.l_shipmode", "orders.o_orderpriority"], "Sort Key": ["lineitem.l_shipmode"], "Sort Method": "quicksort", "Sort Space Used": 611, "Sort Space Type": "Memory", "Workers": [{"Worker Number": 0, "Actual Startup Time": 278.26, "Actual Total Time": 278.544, "Actual Rows": 4700, "Actual Loops": 1, "Sort Method": "quicksort", "Sort Space Used": 450, "Sort Space Type": "Memory"}, {"Worker Number": 1, "Actual Startup Time": 279.053, "Actual Total Time": 279.346, "Actual Rows": 4713, "Actual Loops": 1, "Sort Method": "quicksort", "Sort Space Used": 450, "Sort Space Type": "Memory"}, {"Worker Number": 2, "Actual Startup Time": 279.165, "Actual Total Time": 279.458, "Actual Rows": 4779, "Actual Loops": 1, "Sort Method": "quicksort", "Sort Space Used": 454, "Sort Space Type": "Memory"}, {"Worker Number": 3, "Actual Startup Time": 279.151, "Actual Total Time": 279.433, "Actual Rows": 4629, "Actual Loops": 1, "Sort Method": "quicksort", "Sort Space Used": 446, "Sort Space Type": "Memory"}, {"Worker Number": 4, "Actual Startup Time": 279.332, "Actual Total Time": 279.615, "Actual Rows": 4654, "Actual Loops": 1, "Sort Method": "quicksort", "Sort Space Used": 447, "Sort Space Type": "Memory"}], "Plans": [{"Node Type": "Nested Loop", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Join Type": "Inner", "Startup Cost": 10072.16, "Total Cost": 134366.08, "Plan Rows": 5818, "Plan Width": 27, "Actual Startup Time": 102.96, "Actual Total Time": 277.978, "Actual Rows": 5187, "Actual Loops": 6, "Output": ["lineitem.l_shipmode", "orders.o_orderpriority"], "Inner Unique": true, "Workers": [{"Worker Number": 0, "Actual Startup Time": 101.655, "Actual Total Time": 276.576, "Actual Rows": 4700, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 102.285, "Actual Total Time": 277.327, "Actual Rows": 4713, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 102.438, "Actual Total Time": 277.434, "Actual Rows": 4779, "Actual Loops": 1}, {"Worker Number": 3, "Actual Startup Time": 102.346, "Actual Total Time": 277.478, "Actual Rows": 4629, "Actual Loops": 1}, {"Worker Number": 4, "Actual Startup Time": 102.771, "Actual Total Time": 277.644, "Actual Rows": 4654, "Actual Loops": 1}], "Plans": [{"Node Type": "Bitmap Heap Scan", "Parent Relationship": "Outer", "Parallel Aware": true, "Async Capable": false, "Relation Name": "lineitem", "Schema": "public", "Alias": "lineitem", "Startup Cost": 10071.74, "Total Cost": 126760.54, "Plan Rows": 5818, "Plan Width": 15, "Actual Startup Time": 102.9, "Actual Total Time": 247.268, "Actual Rows": 5187, "Actual Loops": 6, "Output": ["lineitem.l_orderkey", "lineitem.l_partkey", "lineitem.l_suppkey", "lineitem.l_linenumber", "lineitem.l_quantity", "lineitem.l_extendedprice", "lineitem.l_discount", "lineitem.l_tax", "lineitem.l_returnflag", "lineitem.l_linestatus", "lineitem.l_shipdate", "lineitem.l_commitdate", "lineitem.l_receiptdate", "lineitem.l_shipinstruct", "lineitem.l_shipmode", "lineitem.l_comment"], "Recheck Cond": "((lineitem.l_receiptdate >= '1995-01-01'::date) AND (lineitem.l_receiptdate < '1996-01-01 00:00:00'::timestamp without time zone))", "Rows Removed by Index Recheck": 0, "Filter": "((lineitem.l_shipmode = ANY ('{MAIL,TRUCK}'::bpchar[])) AND (lineitem.l_commitdate < lineitem.l_receiptdate) AND (lineitem.l_shipdate < lineitem.l_commitdate))", "Rows Removed by Filter": 147278, "Exact Heap Blocks": 26039, "Lossy Heap Blocks": 0, "Workers": [{"Worker Number": 0, "Actual Startup Time": 101.58, "Actual Total Time": 245.141, "Actual Rows": 4700, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 102.22, "Actual Total Time": 246.044, "Actual Rows": 4713, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 102.372, "Actual Total Time": 245.903, "Actual Rows": 4779, "Actual Loops": 1}, {"Worker Number": 3, "Actual Startup Time": 102.275, "Actual Total Time": 246.354, "Actual Rows": 4629, "Actual Loops": 1}, {"Worker Number": 4, "Actual Startup Time": 102.701, "Actual Total Time": 246.346, "Actual Rows": 4654, "Actual Loops": 1}], "Plans": [{"Node Type": "Bitmap Index Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Index Name": "l_rd", "Startup Cost": 0.0, "Total Cost": 10064.46, "Plan Rows": 918623, "Plan Width": 0, "Actual Startup Time": 76.056, "Actual Total Time": 76.057, "Actual Rows": 914792, "Actual Loops": 1, "Index Cond": "((lineitem.l_receiptdate >= '1995-01-01'::date) AND (lineitem.l_receiptdate < '1996-01-01 00:00:00'::timestamp without time zone))", "Workers": []}]}, {"Node Type": "Index Scan", "Parent Relationship": "Inner", "Parallel Aware": false, "Async Capable": false, "Scan Direction": "Forward", "Index Name": "o_ok", "Relation Name": "orders", "Schema": "public", "Alias": "orders", "Startup Cost": 0.43, "Total Cost": 1.31, "Plan Rows": 1, "Plan Width": 20, "Actual Startup Time": 0.005, "Actual Total Time": 0.005, "Actual Rows": 1, "Actual Loops": 31122, "Output": ["orders.o_orderkey", "orders.o_custkey", "orders.o_orderstatus", "orders.o_totalprice", "orders.o_orderdate", "orders.o_orderpriority", "orders.o_clerk", "orders.o_shippriority", "orders.o_comment"], "Index Cond": "(orders.o_orderkey = lineitem.l_orderkey)", "Rows Removed by Index Recheck": 0, "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.006, "Actual Total Time": 0.006, "Actual Rows": 1, "Actual Loops": 4700}, {"Worker Number": 1, "Actual Startup Time": 0.006, "Actual Total Time": 0.006, "Actual Rows": 1, "Actual Loops": 4713}, {"Worker Number": 2, "Actual Startup Time": 0.006, "Actual Total Time": 0.006, "Actual Rows": 1, "Actual Loops": 4779}, {"Worker Number": 3, "Actual Startup Time": 0.006, "Actual Total Time": 0.006, "Actual Rows": 1, "Actual Loops": 4629}, {"Worker Number": 4, "Actual Startup Time": 0.006, "Actual Total Time": 0.006, "Actual Rows": 1, "Actual Loops": 4654}]}]}]}]}]}]}, "Planning Time": 0.371, "Triggers": [], "Execution Time": 319.13} diff --git a/dev9/pg16/tpch/sf_1/explain_analyze/15721/13-1.ok b/dev9/pg16/tpch/sf_1/explain_analyze/15721/13-1.ok new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/dev9/pg16/tpch/sf_1/explain_analyze/15721/13-1.res b/dev9/pg16/tpch/sf_1/explain_analyze/15721/13-1.res new file mode 100644 index 0000000000000000000000000000000000000000..85330c20c92edfca5bf6e9dfad10e2ee55beb242 --- /dev/null +++ b/dev9/pg16/tpch/sf_1/explain_analyze/15721/13-1.res @@ -0,0 +1 @@ +{"Plan": {"Node Type": "Sort", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 64538.47, "Total Cost": 64538.97, "Plan Rows": 200, "Plan Width": 16, "Actual Startup Time": 1715.319, "Actual Total Time": 1715.325, "Actual Rows": 42, "Actual Loops": 1, "Output": ["(count(orders.o_orderkey))", "(count(*))"], "Sort Key": ["(count(*)) DESC", "(count(orders.o_orderkey)) DESC"], "Sort Method": "quicksort", "Sort Space Used": 26, "Sort Space Type": "Memory", "Plans": [{"Node Type": "Aggregate", "Strategy": "Hashed", "Partial Mode": "Simple", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 64528.83, "Total Cost": 64530.83, "Plan Rows": 200, "Plan Width": 16, "Actual Startup Time": 1715.285, "Actual Total Time": 1715.295, "Actual Rows": 42, "Actual Loops": 1, "Output": ["(count(orders.o_orderkey))", "count(*)"], "Group Key": ["count(orders.o_orderkey)"], "Planned Partitions": 0, "HashAgg Batches": 1, "Peak Memory Usage": 40, "Disk Usage": 0, "Plans": [{"Node Type": "Aggregate", "Strategy": "Hashed", "Partial Mode": "Simple", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 60778.83, "Total Cost": 62278.83, "Plan Rows": 150000, "Plan Width": 12, "Actual Startup Time": 1658.07, "Actual Total Time": 1690.438, "Actual Rows": 150000, "Actual Loops": 1, "Output": ["customer.c_custkey", "count(orders.o_orderkey)"], "Group Key": ["customer.c_custkey"], "Planned Partitions": 0, "HashAgg Batches": 1, "Peak Memory Usage": 16401, "Disk Usage": 0, "Plans": [{"Node Type": "Hash Join", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Join Type": "Right", "Startup Cost": 4580.82, "Total Cost": 53353.98, "Plan Rows": 1484970, "Plan Width": 8, "Actual Startup Time": 41.409, "Actual Total Time": 1211.909, "Actual Rows": 1533817, "Actual Loops": 1, "Output": ["customer.c_custkey", "orders.o_orderkey"], "Inner Unique": true, "Hash Cond": "(orders.o_custkey = customer.c_custkey)", "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Relation Name": "orders", "Schema": "public", "Alias": "orders", "Startup Cost": 0.0, "Total Cost": 44875.0, "Plan Rows": 1484970, "Plan Width": 8, "Actual Startup Time": 0.01, "Actual Total Time": 693.404, "Actual Rows": 1483813, "Actual Loops": 1, "Output": ["orders.o_orderkey", "orders.o_custkey", "orders.o_orderstatus", "orders.o_totalprice", "orders.o_orderdate", "orders.o_orderpriority", "orders.o_clerk", "orders.o_shippriority", "orders.o_comment"], "Filter": "((orders.o_comment)::text !~~ '%unusual%requests%'::text)", "Rows Removed by Filter": 16187}, {"Node Type": "Hash", "Parent Relationship": "Inner", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 2705.82, "Total Cost": 2705.82, "Plan Rows": 150000, "Plan Width": 4, "Actual Startup Time": 41.097, "Actual Total Time": 41.098, "Actual Rows": 150000, "Actual Loops": 1, "Output": ["customer.c_custkey"], "Hash Buckets": 262144, "Original Hash Buckets": 262144, "Hash Batches": 1, "Original Hash Batches": 1, "Peak Memory Usage": 7322, "Plans": [{"Node Type": "Index Only Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Scan Direction": "Forward", "Index Name": "c_ck", "Relation Name": "customer", "Schema": "public", "Alias": "customer", "Startup Cost": 0.42, "Total Cost": 2705.82, "Plan Rows": 150000, "Plan Width": 4, "Actual Startup Time": 0.012, "Actual Total Time": 18.14, "Actual Rows": 150000, "Actual Loops": 1, "Output": ["customer.c_custkey"], "Heap Fetches": 0}]}]}]}]}]}, "Planning Time": 0.525, "Triggers": [], "Execution Time": 1717.587} diff --git a/dev9/pg16/tpch/sf_1/explain_analyze/15721/14-1.ok b/dev9/pg16/tpch/sf_1/explain_analyze/15721/14-1.ok new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/dev9/pg16/tpch/sf_1/explain_analyze/15721/14-1.res b/dev9/pg16/tpch/sf_1/explain_analyze/15721/14-1.res new file mode 100644 index 0000000000000000000000000000000000000000..3a2b4b9446e2dba18b27c492866e995c87c9a4f4 --- /dev/null +++ b/dev9/pg16/tpch/sf_1/explain_analyze/15721/14-1.res @@ -0,0 +1 @@ +{"Plan": {"Node Type": "Aggregate", "Strategy": "Plain", "Partial Mode": "Finalize", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 66614.64, "Total Cost": 66614.65, "Plan Rows": 1, "Plan Width": 32, "Actual Startup Time": 119.074, "Actual Total Time": 135.223, "Actual Rows": 1, "Actual Loops": 1, "Output": ["((100.00 * sum(CASE WHEN ((part.p_type)::text ~~ 'PROMO%'::text) THEN (lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount)) ELSE '0'::numeric END)) / sum((lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount))))"], "Plans": [{"Node Type": "Gather", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 66614.18, "Total Cost": 66614.59, "Plan Rows": 4, "Plan Width": 64, "Actual Startup Time": 116.401, "Actual Total Time": 135.202, "Actual Rows": 5, "Actual Loops": 1, "Output": ["(PARTIAL sum(CASE WHEN ((part.p_type)::text ~~ 'PROMO%'::text) THEN (lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount)) ELSE '0'::numeric END))", "(PARTIAL sum((lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount))))"], "Workers Planned": 4, "Workers Launched": 4, "Single Copy": false, "Plans": [{"Node Type": "Aggregate", "Strategy": "Plain", "Partial Mode": "Partial", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 65614.18, "Total Cost": 65614.19, "Plan Rows": 1, "Plan Width": 64, "Actual Startup Time": 112.809, "Actual Total Time": 112.812, "Actual Rows": 1, "Actual Loops": 5, "Output": ["PARTIAL sum(CASE WHEN ((part.p_type)::text ~~ 'PROMO%'::text) THEN (lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount)) ELSE '0'::numeric END)", "PARTIAL sum((lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount)))"], "Workers": [{"Worker Number": 0, "Actual Startup Time": 111.73, "Actual Total Time": 111.733, "Actual Rows": 1, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 111.923, "Actual Total Time": 111.926, "Actual Rows": 1, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 112.086, "Actual Total Time": 112.088, "Actual Rows": 1, "Actual Loops": 1}, {"Worker Number": 3, "Actual Startup Time": 112.23, "Actual Total Time": 112.232, "Actual Rows": 1, "Actual Loops": 1}], "Plans": [{"Node Type": "Hash Join", "Parent Relationship": "Outer", "Parallel Aware": true, "Async Capable": false, "Join Type": "Inner", "Startup Cost": 6817.96, "Total Cost": 65284.27, "Plan Rows": 18852, "Plan Width": 33, "Actual Startup Time": 50.501, "Actual Total Time": 102.941, "Actual Rows": 15580, "Actual Loops": 5, "Output": ["part.p_type", "lineitem.l_extendedprice", "lineitem.l_discount"], "Inner Unique": true, "Hash Cond": "(lineitem.l_partkey = part.p_partkey)", "Workers": [{"Worker Number": 0, "Actual Startup Time": 49.574, "Actual Total Time": 103.219, "Actual Rows": 13090, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 49.768, "Actual Total Time": 103.461, "Actual Rows": 13012, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 49.816, "Actual Total Time": 103.609, "Actual Rows": 12980, "Actual Loops": 1}, {"Worker Number": 3, "Actual Startup Time": 50.068, "Actual Total Time": 103.849, "Actual Rows": 12971, "Actual Loops": 1}], "Plans": [{"Node Type": "Bitmap Heap Scan", "Parent Relationship": "Outer", "Parallel Aware": true, "Async Capable": false, "Relation Name": "lineitem", "Schema": "public", "Alias": "lineitem", "Startup Cost": 845.96, "Total Cost": 59262.78, "Plan Rows": 18852, "Plan Width": 16, "Actual Startup Time": 22.242, "Actual Total Time": 64.866, "Actual Rows": 15580, "Actual Loops": 5, "Output": ["lineitem.l_orderkey", "lineitem.l_partkey", "lineitem.l_suppkey", "lineitem.l_linenumber", "lineitem.l_quantity", "lineitem.l_extendedprice", "lineitem.l_discount", "lineitem.l_tax", "lineitem.l_returnflag", "lineitem.l_linestatus", "lineitem.l_shipdate", "lineitem.l_commitdate", "lineitem.l_receiptdate", "lineitem.l_shipinstruct", "lineitem.l_shipmode", "lineitem.l_comment"], "Recheck Cond": "((lineitem.l_shipdate >= '1995-05-01'::date) AND (lineitem.l_shipdate < '1995-06-01 00:00:00'::timestamp without time zone))", "Rows Removed by Index Recheck": 0, "Exact Heap Blocks": 13898, "Lossy Heap Blocks": 0, "Workers": [{"Worker Number": 0, "Actual Startup Time": 22.38, "Actual Total Time": 67.39, "Actual Rows": 13090, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 22.373, "Actual Total Time": 67.601, "Actual Rows": 13012, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 22.374, "Actual Total Time": 67.603, "Actual Rows": 12980, "Actual Loops": 1}, {"Worker Number": 3, "Actual Startup Time": 22.367, "Actual Total Time": 67.569, "Actual Rows": 12971, "Actual Loops": 1}], "Plans": [{"Node Type": "Bitmap Index Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Index Name": "l_sd", "Startup Cost": 0.0, "Total Cost": 827.11, "Plan Rows": 75408, "Plan Width": 0, "Actual Startup Time": 10.448, "Actual Total Time": 10.448, "Actual Rows": 77900, "Actual Loops": 1, "Index Cond": "((lineitem.l_shipdate >= '1995-05-01'::date) AND (lineitem.l_shipdate < '1995-06-01 00:00:00'::timestamp without time zone))", "Workers": []}]}, {"Node Type": "Hash", "Parent Relationship": "Inner", "Parallel Aware": true, "Async Capable": false, "Startup Cost": 4930.33, "Total Cost": 4930.33, "Plan Rows": 83333, "Plan Width": 25, "Actual Startup Time": 27.747, "Actual Total Time": 27.748, "Actual Rows": 40000, "Actual Loops": 5, "Output": ["part.p_type", "part.p_partkey"], "Hash Buckets": 262144, "Original Hash Buckets": 262144, "Hash Batches": 1, "Original Hash Batches": 1, "Peak Memory Usage": 14208, "Workers": [{"Worker Number": 0, "Actual Startup Time": 27.044, "Actual Total Time": 27.045, "Actual Rows": 36510, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 27.249, "Actual Total Time": 27.25, "Actual Rows": 37651, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 27.287, "Actual Total Time": 27.288, "Actual Rows": 37263, "Actual Loops": 1}, {"Worker Number": 3, "Actual Startup Time": 27.55, "Actual Total Time": 27.55, "Actual Rows": 37379, "Actual Loops": 1}], "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": true, "Async Capable": false, "Relation Name": "part", "Schema": "public", "Alias": "part", "Startup Cost": 0.0, "Total Cost": 4930.33, "Plan Rows": 83333, "Plan Width": 25, "Actual Startup Time": 0.015, "Actual Total Time": 10.976, "Actual Rows": 40000, "Actual Loops": 5, "Output": ["part.p_type", "part.p_partkey"], "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.017, "Actual Total Time": 10.961, "Actual Rows": 36510, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 0.017, "Actual Total Time": 11.16, "Actual Rows": 37651, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 0.017, "Actual Total Time": 11.215, "Actual Rows": 37263, "Actual Loops": 1}, {"Worker Number": 3, "Actual Startup Time": 0.017, "Actual Total Time": 11.142, "Actual Rows": 37379, "Actual Loops": 1}]}]}]}]}]}]}, "Planning Time": 0.322, "Triggers": [], "Execution Time": 135.276} diff --git a/dev9/pg16/tpch/sf_1/explain_analyze/15721/15-1.ok b/dev9/pg16/tpch/sf_1/explain_analyze/15721/15-1.ok new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/dev9/pg16/tpch/sf_1/explain_analyze/15721/15-1.res b/dev9/pg16/tpch/sf_1/explain_analyze/15721/15-1.res new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/dev9/pg16/tpch/sf_1/explain_analyze/15721/15-2.ok b/dev9/pg16/tpch/sf_1/explain_analyze/15721/15-2.ok new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/dev9/pg16/tpch/sf_1/explain_analyze/15721/15-2.res b/dev9/pg16/tpch/sf_1/explain_analyze/15721/15-2.res new file mode 100644 index 0000000000000000000000000000000000000000..185ca404a6c643ab54197071d90bcf27a9889f18 --- /dev/null +++ b/dev9/pg16/tpch/sf_1/explain_analyze/15721/15-2.res @@ -0,0 +1 @@ +{"Plan": {"Node Type": "Merge Join", "Parallel Aware": false, "Async Capable": false, "Join Type": "Inner", "Startup Cost": 242212.78, "Total Cost": 242644.65, "Plan Rows": 50, "Plan Width": 103, "Actual Startup Time": 649.586, "Actual Total Time": 649.592, "Actual Rows": 1, "Actual Loops": 1, "Output": ["supplier.s_suppkey", "supplier.s_name", "supplier.s_address", "supplier.s_phone", "revenue0.total_revenue"], "Inner Unique": true, "Merge Cond": "(supplier.s_suppkey = revenue0.supplier_no)", "Plans": [{"Node Type": "Aggregate", "Strategy": "Plain", "Partial Mode": "Simple", "Parent Relationship": "InitPlan", "Subplan Name": "InitPlan 1 (returns $0)", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 121155.29, "Total Cost": 121155.3, "Plan Rows": 1, "Plan Width": 32, "Actual Startup Time": 319.803, "Actual Total Time": 319.805, "Actual Rows": 1, "Actual Loops": 1, "Output": ["max((sum((lineitem_1.l_extendedprice * ('1'::numeric - lineitem_1.l_discount)))))"], "Plans": [{"Node Type": "Aggregate", "Strategy": "Hashed", "Partial Mode": "Simple", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 120905.29, "Total Cost": 121030.29, "Plan Rows": 10000, "Plan Width": 36, "Actual Startup Time": 315.241, "Actual Total Time": 318.9, "Actual Rows": 10000, "Actual Loops": 1, "Output": ["lineitem_1.l_suppkey", "sum((lineitem_1.l_extendedprice * ('1'::numeric - lineitem_1.l_discount)))"], "Group Key": ["lineitem_1.l_suppkey"], "Planned Partitions": 0, "HashAgg Batches": 1, "Peak Memory Usage": 4497, "Disk Usage": 0, "Plans": [{"Node Type": "Bitmap Heap Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Relation Name": "lineitem", "Schema": "public", "Alias": "lineitem_1", "Startup Cost": 2585.21, "Total Cost": 118599.26, "Plan Rows": 230603, "Plan Width": 16, "Actual Startup Time": 43.386, "Actual Total Time": 157.083, "Actual Rows": 225253, "Actual Loops": 1, "Output": ["lineitem_1.l_orderkey", "lineitem_1.l_partkey", "lineitem_1.l_suppkey", "lineitem_1.l_linenumber", "lineitem_1.l_quantity", "lineitem_1.l_extendedprice", "lineitem_1.l_discount", "lineitem_1.l_tax", "lineitem_1.l_returnflag", "lineitem_1.l_linestatus", "lineitem_1.l_shipdate", "lineitem_1.l_commitdate", "lineitem_1.l_receiptdate", "lineitem_1.l_shipinstruct", "lineitem_1.l_shipmode", "lineitem_1.l_comment"], "Recheck Cond": "((lineitem_1.l_shipdate >= '1995-01-01'::date) AND (lineitem_1.l_shipdate < '1995-04-01 00:00:00'::timestamp without time zone))", "Rows Removed by Index Recheck": 0, "Exact Heap Blocks": 66823, "Lossy Heap Blocks": 0, "Plans": [{"Node Type": "Bitmap Index Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Index Name": "l_sd", "Startup Cost": 0.0, "Total Cost": 2527.56, "Plan Rows": 230603, "Plan Width": 0, "Actual Startup Time": 23.975, "Actual Total Time": 23.976, "Actual Rows": 225253, "Actual Loops": 1, "Index Cond": "((lineitem_1.l_shipdate >= '1995-01-01'::date) AND (lineitem_1.l_shipdate < '1995-04-01 00:00:00'::timestamp without time zone))"}]}]}]}, {"Node Type": "Index Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Scan Direction": "Forward", "Index Name": "s_sk", "Relation Name": "supplier", "Schema": "public", "Alias": "supplier", "Startup Cost": 0.29, "Total Cost": 406.4, "Plan Rows": 10000, "Plan Width": 71, "Actual Startup Time": 0.009, "Actual Total Time": 2.083, "Actual Rows": 9493, "Actual Loops": 1, "Output": ["supplier.s_suppkey", "supplier.s_name", "supplier.s_address", "supplier.s_nationkey", "supplier.s_phone", "supplier.s_acctbal", "supplier.s_comment"]}, {"Node Type": "Sort", "Parent Relationship": "Inner", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 121057.2, "Total Cost": 121057.32, "Plan Rows": 50, "Plan Width": 36, "Actual Startup Time": 646.72, "Actual Total Time": 646.722, "Actual Rows": 1, "Actual Loops": 1, "Output": ["revenue0.total_revenue", "revenue0.supplier_no"], "Sort Key": ["revenue0.supplier_no"], "Sort Method": "quicksort", "Sort Space Used": 25, "Sort Space Type": "Memory", "Plans": [{"Node Type": "Subquery Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Alias": "revenue0", "Startup Cost": 120905.29, "Total Cost": 121055.79, "Plan Rows": 50, "Plan Width": 36, "Actual Startup Time": 641.577, "Actual Total Time": 646.714, "Actual Rows": 1, "Actual Loops": 1, "Output": ["revenue0.total_revenue", "revenue0.supplier_no"], "Plans": [{"Node Type": "Aggregate", "Strategy": "Hashed", "Partial Mode": "Simple", "Parent Relationship": "Subquery", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 120905.29, "Total Cost": 121055.29, "Plan Rows": 50, "Plan Width": 36, "Actual Startup Time": 641.575, "Actual Total Time": 646.711, "Actual Rows": 1, "Actual Loops": 1, "Output": ["lineitem.l_suppkey", "sum((lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount)))"], "Group Key": ["lineitem.l_suppkey"], "Filter": "(sum((lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount))) = $0)", "Planned Partitions": 0, "HashAgg Batches": 1, "Peak Memory Usage": 4497, "Disk Usage": 0, "Rows Removed by Filter": 9999, "Plans": [{"Node Type": "Bitmap Heap Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Relation Name": "lineitem", "Schema": "public", "Alias": "lineitem", "Startup Cost": 2585.21, "Total Cost": 118599.26, "Plan Rows": 230603, "Plan Width": 16, "Actual Startup Time": 43.025, "Actual Total Time": 161.04, "Actual Rows": 225253, "Actual Loops": 1, "Output": ["lineitem.l_orderkey", "lineitem.l_partkey", "lineitem.l_suppkey", "lineitem.l_linenumber", "lineitem.l_quantity", "lineitem.l_extendedprice", "lineitem.l_discount", "lineitem.l_tax", "lineitem.l_returnflag", "lineitem.l_linestatus", "lineitem.l_shipdate", "lineitem.l_commitdate", "lineitem.l_receiptdate", "lineitem.l_shipinstruct", "lineitem.l_shipmode", "lineitem.l_comment"], "Recheck Cond": "((lineitem.l_shipdate >= '1995-01-01'::date) AND (lineitem.l_shipdate < '1995-04-01 00:00:00'::timestamp without time zone))", "Rows Removed by Index Recheck": 0, "Exact Heap Blocks": 66823, "Lossy Heap Blocks": 0, "Plans": [{"Node Type": "Bitmap Index Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Index Name": "l_sd", "Startup Cost": 0.0, "Total Cost": 2527.56, "Plan Rows": 230603, "Plan Width": 0, "Actual Startup Time": 23.766, "Actual Total Time": 23.766, "Actual Rows": 225253, "Actual Loops": 1, "Index Cond": "((lineitem.l_shipdate >= '1995-01-01'::date) AND (lineitem.l_shipdate < '1995-04-01 00:00:00'::timestamp without time zone))"}]}]}]}]}]}, "Planning Time": 0.383, "Triggers": [], "Execution Time": 651.193} diff --git a/dev9/pg16/tpch/sf_1/explain_analyze/15721/15-3.ok b/dev9/pg16/tpch/sf_1/explain_analyze/15721/15-3.ok new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/dev9/pg16/tpch/sf_1/explain_analyze/15721/15-3.res b/dev9/pg16/tpch/sf_1/explain_analyze/15721/15-3.res new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/dev9/pg16/tpch/sf_1/explain_analyze/15721/16-1.ok b/dev9/pg16/tpch/sf_1/explain_analyze/15721/16-1.ok new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/dev9/pg16/tpch/sf_1/explain_analyze/15721/16-1.res b/dev9/pg16/tpch/sf_1/explain_analyze/15721/16-1.res new file mode 100644 index 0000000000000000000000000000000000000000..cf3bf4a653097f73af99cb04898d20d557fe0bad --- /dev/null +++ b/dev9/pg16/tpch/sf_1/explain_analyze/15721/16-1.res @@ -0,0 +1 @@ +{"Plan": {"Node Type": "Sort", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 26973.31, "Total Cost": 27013.47, "Plan Rows": 16065, "Plan Width": 44, "Actual Startup Time": 340.888, "Actual Total Time": 342.646, "Actual Rows": 18263, "Actual Loops": 1, "Output": ["part.p_brand", "part.p_type", "part.p_size", "(count(DISTINCT partsupp.ps_suppkey))"], "Sort Key": ["(count(DISTINCT partsupp.ps_suppkey)) DESC", "part.p_brand", "part.p_type", "part.p_size"], "Sort Method": "quicksort", "Sort Space Used": 2052, "Sort Space Type": "Memory", "Plans": [{"Node Type": "Aggregate", "Strategy": "Sorted", "Partial Mode": "Simple", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 17903.98, "Total Cost": 25851.04, "Plan Rows": 16065, "Plan Width": 44, "Actual Startup Time": 174.241, "Actual Total Time": 274.711, "Actual Rows": 18263, "Actual Loops": 1, "Output": ["part.p_brand", "part.p_type", "part.p_size", "count(DISTINCT partsupp.ps_suppkey)"], "Group Key": ["part.p_brand", "part.p_type", "part.p_size"], "Plans": [{"Node Type": "Gather Merge", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 17903.98, "Total Cost": 25090.21, "Plan Rows": 60018, "Plan Width": 40, "Actual Startup Time": 174.225, "Actual Total Time": 245.744, "Actual Rows": 119250, "Actual Loops": 1, "Output": ["part.p_brand", "part.p_type", "part.p_size", "partsupp.ps_suppkey"], "Workers Planned": 4, "Workers Launched": 4, "Plans": [{"Node Type": "Sort", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 16903.92, "Total Cost": 16941.43, "Plan Rows": 15004, "Plan Width": 40, "Actual Startup Time": 166.111, "Actual Total Time": 167.863, "Actual Rows": 23850, "Actual Loops": 5, "Output": ["part.p_brand", "part.p_type", "part.p_size", "partsupp.ps_suppkey"], "Sort Key": ["part.p_brand", "part.p_type", "part.p_size", "partsupp.ps_suppkey"], "Sort Method": "quicksort", "Sort Space Used": 2431, "Sort Space Type": "Memory", "Workers": [{"Worker Number": 0, "Actual Startup Time": 162.706, "Actual Total Time": 164.391, "Actual Rows": 23301, "Actual Loops": 1, "Sort Method": "quicksort", "Sort Space Used": 2318, "Sort Space Type": "Memory"}, {"Worker Number": 1, "Actual Startup Time": 164.167, "Actual Total Time": 165.894, "Actual Rows": 23635, "Actual Loops": 1, "Sort Method": "quicksort", "Sort Space Used": 2342, "Sort Space Type": "Memory"}, {"Worker Number": 2, "Actual Startup Time": 164.591, "Actual Total Time": 166.254, "Actual Rows": 23641, "Actual Loops": 1, "Sort Method": "quicksort", "Sort Space Used": 2343, "Sort Space Type": "Memory"}, {"Worker Number": 3, "Actual Startup Time": 165.194, "Actual Total Time": 166.856, "Actual Rows": 23720, "Actual Loops": 1, "Sort Method": "quicksort", "Sort Space Used": 2350, "Sort Space Type": "Memory"}], "Plans": [{"Node Type": "Hash Join", "Parent Relationship": "Outer", "Parallel Aware": true, "Async Capable": false, "Join Type": "Inner", "Startup Cost": 6685.06, "Total Cost": 15863.16, "Plan Rows": 15004, "Plan Width": 40, "Actual Startup Time": 22.926, "Actual Total Time": 81.278, "Actual Rows": 23850, "Actual Loops": 5, "Output": ["part.p_brand", "part.p_type", "part.p_size", "partsupp.ps_suppkey"], "Inner Unique": true, "Hash Cond": "(partsupp.ps_partkey = part.p_partkey)", "Workers": [{"Worker Number": 0, "Actual Startup Time": 22.032, "Actual Total Time": 80.231, "Actual Rows": 23301, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 22.239, "Actual Total Time": 80.404, "Actual Rows": 23635, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 22.26, "Actual Total Time": 80.323, "Actual Rows": 23641, "Actual Loops": 1}, {"Worker Number": 3, "Actual Startup Time": 22.313, "Actual Total Time": 80.438, "Actual Rows": 23720, "Actual Loops": 1}], "Plans": [{"Node Type": "Index Only Scan", "Parent Relationship": "Outer", "Parallel Aware": true, "Async Capable": false, "Scan Direction": "Forward", "Index Name": "ps_pk_sk", "Relation Name": "partsupp", "Schema": "public", "Alias": "partsupp", "Startup Cost": 348.43, "Total Cost": 9264.03, "Plan Rows": 100000, "Plan Width": 8, "Actual Startup Time": 3.641, "Actual Total Time": 39.192, "Actual Rows": 159936, "Actual Loops": 5, "Output": ["partsupp.ps_partkey", "partsupp.ps_suppkey"], "Filter": "(NOT (hashed SubPlan 1))", "Rows Removed by Filter": 64, "Heap Fetches": 0, "Workers": [{"Worker Number": 0, "Actual Startup Time": 3.758, "Actual Total Time": 39.272, "Actual Rows": 158781, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 3.759, "Actual Total Time": 39.292, "Actual Rows": 159064, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 3.753, "Actual Total Time": 39.213, "Actual Rows": 158785, "Actual Loops": 1}, {"Worker Number": 3, "Actual Startup Time": 3.759, "Actual Total Time": 39.139, "Actual Rows": 158780, "Actual Loops": 1}], "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "SubPlan", "Subplan Name": "SubPlan 1", "Parallel Aware": false, "Async Capable": false, "Relation Name": "supplier", "Schema": "public", "Alias": "supplier", "Startup Cost": 0.0, "Total Cost": 348.0, "Plan Rows": 1, "Plan Width": 4, "Actual Startup Time": 0.14, "Actual Total Time": 3.548, "Actual Rows": 4, "Actual Loops": 5, "Output": ["supplier.s_suppkey"], "Filter": "((supplier.s_comment)::text ~~ '%Customer%Complaints%'::text)", "Rows Removed by Filter": 9996, "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.149, "Actual Total Time": 3.652, "Actual Rows": 4, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 0.142, "Actual Total Time": 3.641, "Actual Rows": 4, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 0.138, "Actual Total Time": 3.617, "Actual Rows": 4, "Actual Loops": 1}, {"Worker Number": 3, "Actual Startup Time": 0.144, "Actual Total Time": 3.68, "Actual Rows": 4, "Actual Loops": 1}]}]}, {"Node Type": "Hash", "Parent Relationship": "Inner", "Parallel Aware": true, "Async Capable": false, "Startup Cost": 6180.33, "Total Cost": 6180.33, "Plan Rows": 12504, "Plan Width": 40, "Actual Startup Time": 19.091, "Actual Total Time": 19.091, "Actual Rows": 5965, "Actual Loops": 5, "Output": ["part.p_brand", "part.p_type", "part.p_size", "part.p_partkey"], "Hash Buckets": 32768, "Original Hash Buckets": 32768, "Hash Batches": 1, "Original Hash Batches": 1, "Peak Memory Usage": 2592, "Workers": [{"Worker Number": 0, "Actual Startup Time": 18.177, "Actual Total Time": 18.178, "Actual Rows": 5208, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 18.351, "Actual Total Time": 18.351, "Actual Rows": 5192, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 18.359, "Actual Total Time": 18.36, "Actual Rows": 5299, "Actual Loops": 1}, {"Worker Number": 3, "Actual Startup Time": 18.446, "Actual Total Time": 18.447, "Actual Rows": 5590, "Actual Loops": 1}], "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": true, "Async Capable": false, "Relation Name": "part", "Schema": "public", "Alias": "part", "Startup Cost": 0.0, "Total Cost": 6180.33, "Plan Rows": 12504, "Plan Width": 40, "Actual Startup Time": 0.027, "Actual Total Time": 16.654, "Actual Rows": 5965, "Actual Loops": 5, "Output": ["part.p_brand", "part.p_type", "part.p_size", "part.p_partkey"], "Filter": "((part.p_brand <> 'Brand#11'::bpchar) AND ((part.p_type)::text !~~ 'ECONOMY ANODIZED%'::text) AND (part.p_size = ANY ('{42,16,39,18,23,32,44,41}'::integer[])))", "Rows Removed by Filter": 34035, "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.029, "Actual Total Time": 15.737, "Actual Rows": 5208, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 0.029, "Actual Total Time": 15.926, "Actual Rows": 5192, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 0.03, "Actual Total Time": 15.885, "Actual Rows": 5299, "Actual Loops": 1}, {"Worker Number": 3, "Actual Startup Time": 0.035, "Actual Total Time": 16.609, "Actual Rows": 5590, "Actual Loops": 1}]}]}]}]}]}]}]}, "Planning Time": 0.586, "Triggers": [], "Execution Time": 343.445} diff --git a/dev9/pg16/tpch/sf_1/explain_analyze/15721/17-1.ok b/dev9/pg16/tpch/sf_1/explain_analyze/15721/17-1.ok new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/dev9/pg16/tpch/sf_1/explain_analyze/15721/17-1.res b/dev9/pg16/tpch/sf_1/explain_analyze/15721/17-1.res new file mode 100644 index 0000000000000000000000000000000000000000..54d761a51b383347335604e48b1f5a24a4ba0576 --- /dev/null +++ b/dev9/pg16/tpch/sf_1/explain_analyze/15721/17-1.res @@ -0,0 +1 @@ +{"Plan": {"Node Type": "Aggregate", "Strategy": "Plain", "Partial Mode": "Simple", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 195057.38, "Total Cost": 195057.39, "Plan Rows": 1, "Plan Width": 32, "Actual Startup Time": 1500.971, "Actual Total Time": 1501.041, "Actual Rows": 1, "Actual Loops": 1, "Output": ["(sum(lineitem.l_extendedprice) / 7.0)"], "Plans": [{"Node Type": "Hash Join", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Join Type": "Inner", "Startup Cost": 6369.28, "Total Cost": 195052.42, "Plan Rows": 1980, "Plan Width": 8, "Actual Startup Time": 19.312, "Actual Total Time": 1500.874, "Actual Rows": 588, "Actual Loops": 1, "Output": ["lineitem.l_extendedprice"], "Inner Unique": true, "Hash Cond": "(lineitem.l_partkey = part.p_partkey)", "Join Filter": "(lineitem.l_quantity < (SubPlan 1))", "Rows Removed by Join Filter": 6005, "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Relation Name": "lineitem", "Schema": "public", "Alias": "lineitem", "Startup Cost": 0.0, "Total Cost": 172567.15, "Plan Rows": 6001215, "Plan Width": 17, "Actual Startup Time": 0.004, "Actual Total Time": 520.286, "Actual Rows": 6001215, "Actual Loops": 1, "Output": ["lineitem.l_orderkey", "lineitem.l_partkey", "lineitem.l_suppkey", "lineitem.l_linenumber", "lineitem.l_quantity", "lineitem.l_extendedprice", "lineitem.l_discount", "lineitem.l_tax", "lineitem.l_returnflag", "lineitem.l_linestatus", "lineitem.l_shipdate", "lineitem.l_commitdate", "lineitem.l_receiptdate", "lineitem.l_shipinstruct", "lineitem.l_shipmode", "lineitem.l_comment"]}, {"Node Type": "Hash", "Parent Relationship": "Inner", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 6366.8, "Total Cost": 6366.8, "Plan Rows": 198, "Plan Width": 4, "Actual Startup Time": 16.9, "Actual Total Time": 16.968, "Actual Rows": 222, "Actual Loops": 1, "Output": ["part.p_partkey"], "Hash Buckets": 1024, "Original Hash Buckets": 1024, "Hash Batches": 1, "Original Hash Batches": 1, "Peak Memory Usage": 16, "Plans": [{"Node Type": "Gather", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 1000.0, "Total Cost": 6366.8, "Plan Rows": 198, "Plan Width": 4, "Actual Startup Time": 0.548, "Actual Total Time": 16.921, "Actual Rows": 222, "Actual Loops": 1, "Output": ["part.p_partkey"], "Workers Planned": 2, "Workers Launched": 2, "Single Copy": false, "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": true, "Async Capable": false, "Relation Name": "part", "Schema": "public", "Alias": "part", "Startup Cost": 0.0, "Total Cost": 5347.0, "Plan Rows": 82, "Plan Width": 4, "Actual Startup Time": 0.21, "Actual Total Time": 14.531, "Actual Rows": 74, "Actual Loops": 3, "Output": ["part.p_partkey"], "Filter": "((part.p_brand = 'Brand#14'::bpchar) AND (part.p_container = 'WRAP BOX'::bpchar))", "Rows Removed by Filter": 66593, "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.214, "Actual Total Time": 13.332, "Actual Rows": 50, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 0.038, "Actual Total Time": 13.624, "Actual Rows": 51, "Actual Loops": 1}]}]}]}, {"Node Type": "Aggregate", "Strategy": "Plain", "Partial Mode": "Simple", "Parent Relationship": "SubPlan", "Subplan Name": "SubPlan 1", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 36.25, "Total Cost": 36.27, "Plan Rows": 1, "Plan Width": 32, "Actual Startup Time": 0.028, "Actual Total Time": 0.028, "Actual Rows": 1, "Actual Loops": 6593, "Output": ["(0.2 * avg(lineitem_1.l_quantity))"], "Plans": [{"Node Type": "Index Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Scan Direction": "Forward", "Index Name": "l_pk", "Relation Name": "lineitem", "Schema": "public", "Alias": "lineitem_1", "Startup Cost": 0.43, "Total Cost": 36.17, "Plan Rows": 31, "Plan Width": 5, "Actual Startup Time": 0.003, "Actual Total Time": 0.022, "Actual Rows": 31, "Actual Loops": 6593, "Output": ["lineitem_1.l_orderkey", "lineitem_1.l_partkey", "lineitem_1.l_suppkey", "lineitem_1.l_linenumber", "lineitem_1.l_quantity", "lineitem_1.l_extendedprice", "lineitem_1.l_discount", "lineitem_1.l_tax", "lineitem_1.l_returnflag", "lineitem_1.l_linestatus", "lineitem_1.l_shipdate", "lineitem_1.l_commitdate", "lineitem_1.l_receiptdate", "lineitem_1.l_shipinstruct", "lineitem_1.l_shipmode", "lineitem_1.l_comment"], "Index Cond": "(lineitem_1.l_partkey = part.p_partkey)", "Rows Removed by Index Recheck": 0}]}]}]}, "Planning Time": 0.34, "Triggers": [], "Execution Time": 1501.083} diff --git a/dev9/pg16/tpch/sf_1/explain_analyze/15721/18-1.ok b/dev9/pg16/tpch/sf_1/explain_analyze/15721/18-1.ok new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/dev9/pg16/tpch/sf_1/explain_analyze/15721/18-1.res b/dev9/pg16/tpch/sf_1/explain_analyze/15721/18-1.res new file mode 100644 index 0000000000000000000000000000000000000000..afa753696b5f0691d549b2c93713a9c079c43634 --- /dev/null +++ b/dev9/pg16/tpch/sf_1/explain_analyze/15721/18-1.res @@ -0,0 +1 @@ +{"Plan": {"Node Type": "Limit", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 713856.68, "Total Cost": 713856.93, "Plan Rows": 100, "Plan Width": 71, "Actual Startup Time": 3282.815, "Actual Total Time": 3311.558, "Actual Rows": 9, "Actual Loops": 1, "Output": ["customer.c_name", "customer.c_custkey", "orders.o_orderkey", "orders.o_orderdate", "orders.o_totalprice", "(sum(lineitem.l_quantity))"], "Plans": [{"Node Type": "Sort", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 713856.68, "Total Cost": 717882.32, "Plan Rows": 1610258, "Plan Width": 71, "Actual Startup Time": 3282.814, "Actual Total Time": 3311.555, "Actual Rows": 9, "Actual Loops": 1, "Output": ["customer.c_name", "customer.c_custkey", "orders.o_orderkey", "orders.o_orderdate", "orders.o_totalprice", "(sum(lineitem.l_quantity))"], "Sort Key": ["orders.o_totalprice DESC", "orders.o_orderdate"], "Sort Method": "quicksort", "Sort Space Used": 25, "Sort Space Type": "Memory", "Plans": [{"Node Type": "Aggregate", "Strategy": "Sorted", "Partial Mode": "Simple", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 328433.22, "Total Cost": 652313.77, "Plan Rows": 1610258, "Plan Width": 71, "Actual Startup Time": 3282.776, "Actual Total Time": 3311.543, "Actual Rows": 9, "Actual Loops": 1, "Output": ["customer.c_name", "customer.c_custkey", "orders.o_orderkey", "orders.o_orderdate", "orders.o_totalprice", "sum(lineitem.l_quantity)"], "Group Key": ["customer.c_custkey", "orders.o_orderkey"], "Plans": [{"Node Type": "Gather Merge", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 328433.22, "Total Cost": 620108.61, "Plan Rows": 1610258, "Plan Width": 44, "Actual Startup Time": 3282.763, "Actual Total Time": 3311.514, "Actual Rows": 63, "Actual Loops": 1, "Output": ["customer.c_custkey", "orders.o_orderkey", "customer.c_name", "orders.o_orderdate", "orders.o_totalprice", "lineitem.l_quantity"], "Workers Planned": 3, "Workers Launched": 3, "Plans": [{"Node Type": "Incremental Sort", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 327433.18, "Total Cost": 429903.26, "Plan Rows": 519438, "Plan Width": 44, "Actual Startup Time": 3274.373, "Actual Total Time": 3274.379, "Actual Rows": 16, "Actual Loops": 4, "Output": ["customer.c_custkey", "orders.o_orderkey", "customer.c_name", "orders.o_orderdate", "orders.o_totalprice", "lineitem.l_quantity"], "Sort Key": ["customer.c_custkey", "orders.o_orderkey"], "Presorted Key": ["customer.c_custkey"], "Full-sort Groups": {"Group Count": 1, "Sort Methods Used": ["quicksort"], "Sort Space Memory": {"Average Sort Space Used": 26, "Peak Sort Space Used": 26}}, "Workers": [{"Worker Number": 0, "Actual Startup Time": 3262.456, "Actual Total Time": 3262.461, "Actual Rows": 7, "Actual Loops": 1, "Full-sort Groups": {"Group Count": 1, "Sort Methods Used": ["quicksort"], "Sort Space Memory": {"Average Sort Space Used": 25, "Peak Sort Space Used": 25}}}, {"Worker Number": 1, "Actual Startup Time": 3275.414, "Actual Total Time": 3275.42, "Actual Rows": 14, "Actual Loops": 1, "Full-sort Groups": {"Group Count": 1, "Sort Methods Used": ["quicksort"], "Sort Space Memory": {"Average Sort Space Used": 25, "Peak Sort Space Used": 25}}}, {"Worker Number": 2, "Actual Startup Time": 3278.082, "Actual Total Time": 3278.088, "Actual Rows": 21, "Actual Loops": 1, "Full-sort Groups": {"Group Count": 1, "Sort Methods Used": ["quicksort"], "Sort Space Memory": {"Average Sort Space Used": 26, "Peak Sort Space Used": 26}}}], "Plans": [{"Node Type": "Nested Loop", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Join Type": "Inner", "Startup Cost": 327432.56, "Total Cost": 415756.15, "Plan Rows": 519438, "Plan Width": 44, "Actual Startup Time": 3266.551, "Actual Total Time": 3274.306, "Actual Rows": 16, "Actual Loops": 4, "Output": ["customer.c_custkey", "orders.o_orderkey", "customer.c_name", "orders.o_orderdate", "orders.o_totalprice", "lineitem.l_quantity"], "Inner Unique": false, "Workers": [{"Worker Number": 0, "Actual Startup Time": 3262.365, "Actual Total Time": 3262.373, "Actual Rows": 7, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 3259.33, "Actual Total Time": 3275.327, "Actual Rows": 14, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 3266.773, "Actual Total Time": 3277.989, "Actual Rows": 21, "Actual Loops": 1}], "Plans": [{"Node Type": "Merge Join", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Join Type": "Inner", "Startup Cost": 327432.12, "Total Cost": 330129.61, "Plan Rows": 129833, "Plan Width": 43, "Actual Startup Time": 3266.53, "Actual Total Time": 3274.266, "Actual Rows": 2, "Actual Loops": 4, "Output": ["customer.c_name", "customer.c_custkey", "orders.o_orderkey", "orders.o_orderdate", "orders.o_totalprice", "lineitem_1.l_orderkey"], "Inner Unique": true, "Merge Cond": "(orders.o_custkey = customer.c_custkey)", "Workers": [{"Worker Number": 0, "Actual Startup Time": 3262.345, "Actual Total Time": 3262.35, "Actual Rows": 1, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 3259.306, "Actual Total Time": 3275.283, "Actual Rows": 2, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 3266.753, "Actual Total Time": 3277.943, "Actual Rows": 3, "Actual Loops": 1}], "Plans": [{"Node Type": "Sort", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 309442.17, "Total Cost": 309766.75, "Plan Rows": 129833, "Plan Width": 24, "Actual Startup Time": 3196.31, "Actual Total Time": 3196.314, "Actual Rows": 2, "Actual Loops": 4, "Output": ["orders.o_orderkey", "orders.o_orderdate", "orders.o_totalprice", "orders.o_custkey", "lineitem_1.l_orderkey"], "Sort Key": ["orders.o_custkey"], "Sort Method": "quicksort", "Sort Space Used": 25, "Sort Space Type": "Memory", "Workers": [{"Worker Number": 0, "Actual Startup Time": 3195.171, "Actual Total Time": 3195.174, "Actual Rows": 1, "Actual Loops": 1, "Sort Method": "quicksort", "Sort Space Used": 25, "Sort Space Type": "Memory"}, {"Worker Number": 1, "Actual Startup Time": 3195.179, "Actual Total Time": 3195.183, "Actual Rows": 2, "Actual Loops": 1, "Sort Method": "quicksort", "Sort Space Used": 25, "Sort Space Type": "Memory"}, {"Worker Number": 2, "Actual Startup Time": 3195.283, "Actual Total Time": 3195.287, "Actual Rows": 3, "Actual Loops": 1, "Sort Method": "quicksort", "Sort Space Used": 25, "Sort Space Type": "Memory"}], "Plans": [{"Node Type": "Hash Join", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Join Type": "Inner", "Startup Cost": 266181.39, "Total Cost": 298415.26, "Plan Rows": 129833, "Plan Width": 24, "Actual Startup Time": 3137.051, "Actual Total Time": 3196.298, "Actual Rows": 2, "Actual Loops": 4, "Output": ["orders.o_orderkey", "orders.o_orderdate", "orders.o_totalprice", "orders.o_custkey", "lineitem_1.l_orderkey"], "Inner Unique": true, "Hash Cond": "(orders.o_orderkey = lineitem_1.l_orderkey)", "Workers": [{"Worker Number": 0, "Actual Startup Time": 3174.077, "Actual Total Time": 3195.159, "Actual Rows": 1, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 3155.822, "Actual Total Time": 3195.165, "Actual Rows": 2, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 3122.33, "Actual Total Time": 3195.269, "Actual Rows": 3, "Actual Loops": 1}], "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": true, "Async Capable": false, "Relation Name": "orders", "Schema": "public", "Alias": "orders", "Startup Cost": 0.0, "Total Cost": 30963.71, "Plan Rows": 483871, "Plan Width": 20, "Actual Startup Time": 0.017, "Actual Total Time": 35.16, "Actual Rows": 375000, "Actual Loops": 4, "Output": ["orders.o_orderkey", "orders.o_custkey", "orders.o_orderstatus", "orders.o_totalprice", "orders.o_orderdate", "orders.o_orderpriority", "orders.o_clerk", "orders.o_shippriority", "orders.o_comment"], "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.022, "Actual Total Time": 24.789, "Actual Rows": 255419, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 0.021, "Actual Total Time": 16.08, "Actual Rows": 164734, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 0.022, "Actual Total Time": 44.02, "Actual Rows": 456658, "Actual Loops": 1}]}, {"Node Type": "Hash", "Parent Relationship": "Inner", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 261150.35, "Total Cost": 261150.35, "Plan Rows": 402483, "Plan Width": 4, "Actual Startup Time": 3088.718, "Actual Total Time": 3088.719, "Actual Rows": 9, "Actual Loops": 4, "Output": ["lineitem_1.l_orderkey"], "Hash Buckets": 524288, "Original Hash Buckets": 524288, "Hash Batches": 1, "Original Hash Batches": 1, "Peak Memory Usage": 4097, "Workers": [{"Worker Number": 0, "Actual Startup Time": 3116.827, "Actual Total Time": 3116.829, "Actual Rows": 9, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 3142.721, "Actual Total Time": 3142.723, "Actual Rows": 9, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 3062.817, "Actual Total Time": 3062.819, "Actual Rows": 9, "Actual Loops": 1}], "Plans": [{"Node Type": "Aggregate", "Strategy": "Sorted", "Partial Mode": "Simple", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 0.43, "Total Cost": 261150.35, "Plan Rows": 402483, "Plan Width": 4, "Actual Startup Time": 668.284, "Actual Total Time": 3088.695, "Actual Rows": 9, "Actual Loops": 4, "Output": ["lineitem_1.l_orderkey"], "Group Key": ["lineitem_1.l_orderkey"], "Filter": "(sum(lineitem_1.l_quantity) > '314'::numeric)", "Rows Removed by Filter": 1499991, "Workers": [{"Worker Number": 0, "Actual Startup Time": 692.383, "Actual Total Time": 3116.805, "Actual Rows": 9, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 695.99, "Actual Total Time": 3142.698, "Actual Rows": 9, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 651.864, "Actual Total Time": 3062.79, "Actual Rows": 9, "Actual Loops": 1}], "Plans": [{"Node Type": "Index Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Scan Direction": "Forward", "Index Name": "l_ok", "Relation Name": "lineitem", "Schema": "public", "Alias": "lineitem_1", "Startup Cost": 0.43, "Total Cost": 213032.56, "Plan Rows": 6001215, "Plan Width": 9, "Actual Startup Time": 0.059, "Actual Total Time": 1255.824, "Actual Rows": 6001215, "Actual Loops": 4, "Output": ["lineitem_1.l_orderkey", "lineitem_1.l_partkey", "lineitem_1.l_suppkey", "lineitem_1.l_linenumber", "lineitem_1.l_quantity", "lineitem_1.l_extendedprice", "lineitem_1.l_discount", "lineitem_1.l_tax", "lineitem_1.l_returnflag", "lineitem_1.l_linestatus", "lineitem_1.l_shipdate", "lineitem_1.l_commitdate", "lineitem_1.l_receiptdate", "lineitem_1.l_shipinstruct", "lineitem_1.l_shipmode", "lineitem_1.l_comment"], "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.071, "Actual Total Time": 1281.058, "Actual Rows": 6001215, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 0.074, "Actual Total Time": 1285.448, "Actual Rows": 6001215, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 0.074, "Actual Total Time": 1243.736, "Actual Rows": 6001215, "Actual Loops": 1}]}]}]}]}]}, {"Node Type": "Sort", "Parent Relationship": "Inner", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 17989.95, "Total Cost": 18364.95, "Plan Rows": 150000, "Plan Width": 23, "Actual Startup Time": 61.801, "Actual Total Time": 68.214, "Actual Rows": 113824, "Actual Loops": 4, "Output": ["customer.c_name", "customer.c_custkey"], "Sort Key": ["customer.c_custkey"], "Sort Method": "quicksort", "Sort Space Used": 13176, "Sort Space Type": "Memory", "Workers": [{"Worker Number": 0, "Actual Startup Time": 61.906, "Actual Total Time": 63.993, "Actual Rows": 36619, "Actual Loops": 1, "Sort Method": "quicksort", "Sort Space Used": 13176, "Sort Space Type": "Memory"}, {"Worker Number": 1, "Actual Startup Time": 61.883, "Actual Total Time": 69.063, "Actual Rows": 126865, "Actual Loops": 1, "Sort Method": "quicksort", "Sort Space Used": 13176, "Sort Space Type": "Memory"}, {"Worker Number": 2, "Actual Startup Time": 61.891, "Actual Total Time": 70.118, "Actual Rows": 144617, "Actual Loops": 1, "Sort Method": "quicksort", "Sort Space Used": 13176, "Sort Space Type": "Memory"}], "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Relation Name": "customer", "Schema": "public", "Alias": "customer", "Startup Cost": 0.0, "Total Cost": 5094.0, "Plan Rows": 150000, "Plan Width": 23, "Actual Startup Time": 0.03, "Actual Total Time": 24.979, "Actual Rows": 150000, "Actual Loops": 4, "Output": ["customer.c_name", "customer.c_custkey"], "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.035, "Actual Total Time": 25.61, "Actual Rows": 150000, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 0.041, "Actual Total Time": 25.657, "Actual Rows": 150000, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 0.037, "Actual Total Time": 25.639, "Actual Rows": 150000, "Actual Loops": 1}]}]}]}, {"Node Type": "Index Scan", "Parent Relationship": "Inner", "Parallel Aware": false, "Async Capable": false, "Scan Direction": "Forward", "Index Name": "l_ok", "Relation Name": "lineitem", "Schema": "public", "Alias": "lineitem", "Startup Cost": 0.43, "Total Cost": 0.61, "Plan Rows": 5, "Plan Width": 9, "Actual Startup Time": 0.011, "Actual Total Time": 0.013, "Actual Rows": 7, "Actual Loops": 9, "Output": ["lineitem.l_orderkey", "lineitem.l_partkey", "lineitem.l_suppkey", "lineitem.l_linenumber", "lineitem.l_quantity", "lineitem.l_extendedprice", "lineitem.l_discount", "lineitem.l_tax", "lineitem.l_returnflag", "lineitem.l_linestatus", "lineitem.l_shipdate", "lineitem.l_commitdate", "lineitem.l_receiptdate", "lineitem.l_shipinstruct", "lineitem.l_shipmode", "lineitem.l_comment"], "Index Cond": "(lineitem.l_orderkey = orders.o_orderkey)", "Rows Removed by Index Recheck": 0, "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.015, "Actual Total Time": 0.017, "Actual Rows": 7, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 0.014, "Actual Total Time": 0.017, "Actual Rows": 7, "Actual Loops": 2}, {"Worker Number": 2, "Actual Startup Time": 0.01, "Actual Total Time": 0.012, "Actual Rows": 7, "Actual Loops": 3}]}]}]}]}]}]}]}, "Planning Time": 1.079, "Triggers": [], "Execution Time": 3312.778} diff --git a/dev9/pg16/tpch/sf_1/explain_analyze/15721/19-1.ok b/dev9/pg16/tpch/sf_1/explain_analyze/15721/19-1.ok new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/dev9/pg16/tpch/sf_1/explain_analyze/15721/19-1.res b/dev9/pg16/tpch/sf_1/explain_analyze/15721/19-1.res new file mode 100644 index 0000000000000000000000000000000000000000..e8fe8dc7499e0a5808a39b86b21eded5c73e7100 --- /dev/null +++ b/dev9/pg16/tpch/sf_1/explain_analyze/15721/19-1.res @@ -0,0 +1 @@ +{"Plan": {"Node Type": "Aggregate", "Strategy": "Plain", "Partial Mode": "Finalize", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 15848.87, "Total Cost": 15848.88, "Plan Rows": 1, "Plan Width": 32, "Actual Startup Time": 44.591, "Actual Total Time": 54.05, "Actual Rows": 1, "Actual Loops": 1, "Output": ["sum((lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount)))"], "Plans": [{"Node Type": "Gather", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 15848.65, "Total Cost": 15848.86, "Plan Rows": 2, "Plan Width": 32, "Actual Startup Time": 44.407, "Actual Total Time": 54.04, "Actual Rows": 3, "Actual Loops": 1, "Output": ["(PARTIAL sum((lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount))))"], "Workers Planned": 2, "Workers Launched": 2, "Single Copy": false, "Plans": [{"Node Type": "Aggregate", "Strategy": "Plain", "Partial Mode": "Partial", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 14848.65, "Total Cost": 14848.66, "Plan Rows": 1, "Plan Width": 32, "Actual Startup Time": 41.364, "Actual Total Time": 41.365, "Actual Rows": 1, "Actual Loops": 3, "Output": ["PARTIAL sum((lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount)))"], "Workers": [{"Worker Number": 0, "Actual Startup Time": 39.992, "Actual Total Time": 39.993, "Actual Rows": 1, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 40.09, "Actual Total Time": 40.091, "Actual Rows": 1, "Actual Loops": 1}], "Plans": [{"Node Type": "Nested Loop", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Join Type": "Inner", "Startup Cost": 0.43, "Total Cost": 14848.29, "Plan Rows": 48, "Plan Width": 12, "Actual Startup Time": 1.307, "Actual Total Time": 41.321, "Actual Rows": 35, "Actual Loops": 3, "Output": ["lineitem.l_extendedprice", "lineitem.l_discount"], "Inner Unique": false, "Workers": [{"Worker Number": 0, "Actual Startup Time": 2.184, "Actual Total Time": 39.956, "Actual Rows": 21, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 0.778, "Actual Total Time": 40.039, "Actual Rows": 34, "Actual Loops": 1}], "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": true, "Async Capable": false, "Relation Name": "part", "Schema": "public", "Alias": "part", "Startup Cost": 0.0, "Total Cost": 7638.67, "Plan Rows": 200, "Plan Width": 30, "Actual Startup Time": 0.247, "Actual Total Time": 26.269, "Actual Rows": 143, "Actual Loops": 3, "Output": ["part.p_partkey", "part.p_name", "part.p_mfgr", "part.p_brand", "part.p_type", "part.p_size", "part.p_container", "part.p_retailprice", "part.p_comment"], "Filter": "((part.p_size >= 1) AND (((part.p_brand = 'Brand#52'::bpchar) AND (part.p_container = ANY ('{\"SM CASE\",\"SM BOX\",\"SM PACK\",\"SM PKG\"}'::bpchar[])) AND (part.p_size <= 5)) OR ((part.p_brand = 'Brand#42'::bpchar) AND (part.p_container = ANY ('{\"MED BAG\",\"MED BOX\",\"MED PKG\",\"MED PACK\"}'::bpchar[])) AND (part.p_size <= 10)) OR ((part.p_brand = 'Brand#23'::bpchar) AND (part.p_container = ANY ('{\"LG CASE\",\"LG BOX\",\"LG PACK\",\"LG PKG\"}'::bpchar[])) AND (part.p_size <= 15))))", "Rows Removed by Filter": 66524, "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.024, "Actual Total Time": 22.166, "Actual Rows": 104, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 0.679, "Actual Total Time": 21.29, "Actual Rows": 111, "Actual Loops": 1}]}, {"Node Type": "Index Scan", "Parent Relationship": "Inner", "Parallel Aware": false, "Async Capable": false, "Scan Direction": "Forward", "Index Name": "l_pk", "Relation Name": "lineitem", "Schema": "public", "Alias": "lineitem", "Startup Cost": 0.43, "Total Cost": 36.04, "Plan Rows": 1, "Plan Width": 21, "Actual Startup Time": 0.092, "Actual Total Time": 0.105, "Actual Rows": 0, "Actual Loops": 428, "Output": ["lineitem.l_orderkey", "lineitem.l_partkey", "lineitem.l_suppkey", "lineitem.l_linenumber", "lineitem.l_quantity", "lineitem.l_extendedprice", "lineitem.l_discount", "lineitem.l_tax", "lineitem.l_returnflag", "lineitem.l_linestatus", "lineitem.l_shipdate", "lineitem.l_commitdate", "lineitem.l_receiptdate", "lineitem.l_shipinstruct", "lineitem.l_shipmode", "lineitem.l_comment"], "Index Cond": "(lineitem.l_partkey = part.p_partkey)", "Rows Removed by Index Recheck": 0, "Filter": "((lineitem.l_shipmode = ANY ('{AIR,\"AIR REG\"}'::bpchar[])) AND (lineitem.l_shipinstruct = 'DELIVER IN PERSON'::bpchar) AND (((lineitem.l_quantity >= '9'::numeric) AND (lineitem.l_quantity <= '19'::numeric)) OR ((lineitem.l_quantity >= '18'::numeric) AND (lineitem.l_quantity <= '28'::numeric)) OR ((lineitem.l_quantity >= '22'::numeric) AND (lineitem.l_quantity <= '32'::numeric))) AND (((part.p_brand = 'Brand#52'::bpchar) AND (part.p_container = ANY ('{\"SM CASE\",\"SM BOX\",\"SM PACK\",\"SM PKG\"}'::bpchar[])) AND (lineitem.l_quantity >= '9'::numeric) AND (lineitem.l_quantity <= '19'::numeric) AND (part.p_size <= 5)) OR ((part.p_brand = 'Brand#42'::bpchar) AND (part.p_container = ANY ('{\"MED BAG\",\"MED BOX\",\"MED PKG\",\"MED PACK\"}'::bpchar[])) AND (lineitem.l_quantity >= '18'::numeric) AND (lineitem.l_quantity <= '28'::numeric) AND (part.p_size <= 10)) OR ((part.p_brand = 'Brand#23'::bpchar) AND (part.p_container = ANY ('{\"LG CASE\",\"LG BOX\",\"LG PACK\",\"LG PKG\"}'::bpchar[])) AND (lineitem.l_quantity >= '22'::numeric) AND (lineitem.l_quantity <= '32'::numeric) AND (part.p_size <= 15))))", "Rows Removed by Filter": 30, "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.154, "Actual Total Time": 0.171, "Actual Rows": 0, "Actual Loops": 104}, {"Worker Number": 1, "Actual Startup Time": 0.142, "Actual Total Time": 0.168, "Actual Rows": 0, "Actual Loops": 111}]}]}]}]}]}, "Planning Time": 0.577, "Triggers": [], "Execution Time": 54.099} diff --git a/dev9/pg16/tpch/sf_1/explain_analyze/15721/2-1.ok b/dev9/pg16/tpch/sf_1/explain_analyze/15721/2-1.ok new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/dev9/pg16/tpch/sf_1/explain_analyze/15721/2-1.res b/dev9/pg16/tpch/sf_1/explain_analyze/15721/2-1.res new file mode 100644 index 0000000000000000000000000000000000000000..52ed6649d9ea00bd034a7b604aea604fa23a588b --- /dev/null +++ b/dev9/pg16/tpch/sf_1/explain_analyze/15721/2-1.res @@ -0,0 +1 @@ +{"Plan": {"Node Type": "Limit", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 24057.05, "Total Cost": 24057.06, "Plan Rows": 1, "Plan Width": 192, "Actual Startup Time": 249.36, "Actual Total Time": 249.441, "Actual Rows": 100, "Actual Loops": 1, "Output": ["supplier.s_acctbal", "supplier.s_name", "nation.n_name", "part.p_partkey", "part.p_mfgr", "supplier.s_address", "supplier.s_phone", "supplier.s_comment"], "Plans": [{"Node Type": "Sort", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 24057.05, "Total Cost": 24057.06, "Plan Rows": 1, "Plan Width": 192, "Actual Startup Time": 249.359, "Actual Total Time": 249.431, "Actual Rows": 100, "Actual Loops": 1, "Output": ["supplier.s_acctbal", "supplier.s_name", "nation.n_name", "part.p_partkey", "part.p_mfgr", "supplier.s_address", "supplier.s_phone", "supplier.s_comment"], "Sort Key": ["supplier.s_acctbal DESC", "nation.n_name", "supplier.s_name", "part.p_partkey"], "Sort Method": "top-N heapsort", "Sort Space Used": 69, "Sort Space Type": "Memory", "Plans": [{"Node Type": "Hash Join", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Join Type": "Inner", "Startup Cost": 12761.85, "Total Cost": 24057.04, "Plan Rows": 1, "Plan Width": 192, "Actual Startup Time": 219.96, "Actual Total Time": 248.959, "Actual Rows": 509, "Actual Loops": 1, "Output": ["supplier.s_acctbal", "supplier.s_name", "nation.n_name", "part.p_partkey", "part.p_mfgr", "supplier.s_address", "supplier.s_phone", "supplier.s_comment"], "Inner Unique": false, "Hash Cond": "((part.p_partkey = partsupp.ps_partkey) AND ((SubPlan 1) = partsupp.ps_supplycost))", "Plans": [{"Node Type": "Gather", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 1000.0, "Total Cost": 6428.1, "Plan Rows": 811, "Plan Width": 30, "Actual Startup Time": 0.236, "Actual Total Time": 0.432, "Actual Rows": 854, "Actual Loops": 1, "Output": ["part.p_partkey", "part.p_mfgr"], "Workers Planned": 2, "Workers Launched": 2, "Single Copy": false, "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": true, "Async Capable": false, "Relation Name": "part", "Schema": "public", "Alias": "part", "Startup Cost": 0.0, "Total Cost": 5347.0, "Plan Rows": 338, "Plan Width": 30, "Actual Startup Time": 0.048, "Actual Total Time": 20.494, "Actual Rows": 285, "Actual Loops": 3, "Output": ["part.p_partkey", "part.p_mfgr"], "Filter": "(((part.p_type)::text ~~ '%TIN'::text) AND (part.p_size = 44))", "Rows Removed by Filter": 66382, "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.084, "Actual Total Time": 30.617, "Actual Rows": 443, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 0.038, "Actual Total Time": 30.823, "Actual Rows": 410, "Actual Loops": 1}]}]}, {"Node Type": "Hash", "Parent Relationship": "Inner", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 9361.85, "Total Cost": 9361.85, "Plan Rows": 160000, "Plan Width": 172, "Actual Startup Time": 219.293, "Actual Total Time": 219.296, "Actual Rows": 158960, "Actual Loops": 1, "Output": ["supplier.s_acctbal", "supplier.s_name", "supplier.s_address", "supplier.s_phone", "supplier.s_comment", "partsupp.ps_partkey", "partsupp.ps_supplycost", "nation.n_name"], "Hash Buckets": 262144, "Original Hash Buckets": 262144, "Hash Batches": 1, "Original Hash Batches": 1, "Peak Memory Usage": 34502, "Plans": [{"Node Type": "Nested Loop", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Join Type": "Inner", "Startup Cost": 0.71, "Total Cost": 9361.85, "Plan Rows": 160000, "Plan Width": 172, "Actual Startup Time": 0.033, "Actual Total Time": 150.21, "Actual Rows": 158960, "Actual Loops": 1, "Output": ["supplier.s_acctbal", "supplier.s_name", "supplier.s_address", "supplier.s_phone", "supplier.s_comment", "partsupp.ps_partkey", "partsupp.ps_supplycost", "nation.n_name"], "Inner Unique": false, "Plans": [{"Node Type": "Nested Loop", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Join Type": "Inner", "Startup Cost": 0.29, "Total Cost": 110.5, "Plan Rows": 2000, "Plan Width": 166, "Actual Startup Time": 0.022, "Actual Total Time": 1.712, "Actual Rows": 1987, "Actual Loops": 1, "Output": ["supplier.s_acctbal", "supplier.s_name", "supplier.s_address", "supplier.s_phone", "supplier.s_comment", "supplier.s_suppkey", "nation.n_name"], "Inner Unique": false, "Plans": [{"Node Type": "Nested Loop", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Join Type": "Inner", "Startup Cost": 0.0, "Total Cost": 2.62, "Plan Rows": 5, "Plan Width": 30, "Actual Startup Time": 0.01, "Actual Total Time": 0.024, "Actual Rows": 5, "Actual Loops": 1, "Output": ["nation.n_name", "nation.n_nationkey"], "Inner Unique": false, "Join Filter": "(nation.n_regionkey = region.r_regionkey)", "Rows Removed by Join Filter": 20, "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Relation Name": "region", "Schema": "public", "Alias": "region", "Startup Cost": 0.0, "Total Cost": 1.06, "Plan Rows": 1, "Plan Width": 4, "Actual Startup Time": 0.004, "Actual Total Time": 0.006, "Actual Rows": 1, "Actual Loops": 1, "Output": ["region.r_regionkey", "region.r_name", "region.r_comment"], "Filter": "(region.r_name = 'EUROPE'::bpchar)", "Rows Removed by Filter": 4}, {"Node Type": "Seq Scan", "Parent Relationship": "Inner", "Parallel Aware": false, "Async Capable": false, "Relation Name": "nation", "Schema": "public", "Alias": "nation", "Startup Cost": 0.0, "Total Cost": 1.25, "Plan Rows": 25, "Plan Width": 34, "Actual Startup Time": 0.002, "Actual Total Time": 0.007, "Actual Rows": 25, "Actual Loops": 1, "Output": ["nation.n_nationkey", "nation.n_name", "nation.n_regionkey", "nation.n_comment"]}]}, {"Node Type": "Index Scan", "Parent Relationship": "Inner", "Parallel Aware": false, "Async Capable": false, "Scan Direction": "Forward", "Index Name": "s_nk", "Relation Name": "supplier", "Schema": "public", "Alias": "supplier", "Startup Cost": 0.29, "Total Cost": 17.57, "Plan Rows": 400, "Plan Width": 144, "Actual Startup Time": 0.006, "Actual Total Time": 0.225, "Actual Rows": 397, "Actual Loops": 5, "Output": ["supplier.s_suppkey", "supplier.s_name", "supplier.s_address", "supplier.s_nationkey", "supplier.s_phone", "supplier.s_acctbal", "supplier.s_comment"], "Index Cond": "(supplier.s_nationkey = nation.n_nationkey)", "Rows Removed by Index Recheck": 0}]}, {"Node Type": "Index Scan", "Parent Relationship": "Inner", "Parallel Aware": false, "Async Capable": false, "Scan Direction": "Forward", "Index Name": "ps_sk", "Relation Name": "partsupp", "Schema": "public", "Alias": "partsupp", "Startup Cost": 0.42, "Total Cost": 3.83, "Plan Rows": 80, "Plan Width": 14, "Actual Startup Time": 0.003, "Actual Total Time": 0.06, "Actual Rows": 80, "Actual Loops": 1987, "Output": ["partsupp.ps_partkey", "partsupp.ps_suppkey", "partsupp.ps_availqty", "partsupp.ps_supplycost", "partsupp.ps_comment"], "Index Cond": "(partsupp.ps_suppkey = supplier.s_suppkey)", "Rows Removed by Index Recheck": 0}]}]}, {"Node Type": "Aggregate", "Strategy": "Plain", "Partial Mode": "Simple", "Parent Relationship": "SubPlan", "Subplan Name": "SubPlan 1", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 14.44, "Total Cost": 14.45, "Plan Rows": 1, "Plan Width": 32, "Actual Startup Time": 0.02, "Actual Total Time": 0.02, "Actual Rows": 1, "Actual Loops": 1363, "Output": ["min(partsupp_1.ps_supplycost)"], "Plans": [{"Node Type": "Nested Loop", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Join Type": "Inner", "Startup Cost": 0.85, "Total Cost": 14.44, "Plan Rows": 1, "Plan Width": 6, "Actual Startup Time": 0.014, "Actual Total Time": 0.019, "Actual Rows": 1, "Actual Loops": 1363, "Output": ["partsupp_1.ps_supplycost"], "Inner Unique": false, "Join Filter": "(nation_1.n_regionkey = region_1.r_regionkey)", "Rows Removed by Join Filter": 3, "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Relation Name": "region", "Schema": "public", "Alias": "region_1", "Startup Cost": 0.0, "Total Cost": 1.06, "Plan Rows": 1, "Plan Width": 4, "Actual Startup Time": 0.001, "Actual Total Time": 0.001, "Actual Rows": 1, "Actual Loops": 1363, "Output": ["region_1.r_regionkey", "region_1.r_name", "region_1.r_comment"], "Filter": "(region_1.r_name = 'EUROPE'::bpchar)", "Rows Removed by Filter": 4}, {"Node Type": "Nested Loop", "Parent Relationship": "Inner", "Parallel Aware": false, "Async Capable": false, "Join Type": "Inner", "Startup Cost": 0.85, "Total Cost": 13.33, "Plan Rows": 4, "Plan Width": 10, "Actual Startup Time": 0.006, "Actual Total Time": 0.017, "Actual Rows": 4, "Actual Loops": 1363, "Output": ["partsupp_1.ps_supplycost", "nation_1.n_regionkey"], "Inner Unique": true, "Plans": [{"Node Type": "Nested Loop", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Join Type": "Inner", "Startup Cost": 0.71, "Total Cost": 12.71, "Plan Rows": 4, "Plan Width": 10, "Actual Startup Time": 0.005, "Actual Total Time": 0.012, "Actual Rows": 4, "Actual Loops": 1363, "Output": ["partsupp_1.ps_supplycost", "supplier_1.s_nationkey"], "Inner Unique": true, "Plans": [{"Node Type": "Index Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Scan Direction": "Forward", "Index Name": "ps_pk", "Relation Name": "partsupp", "Schema": "public", "Alias": "partsupp_1", "Startup Cost": 0.42, "Total Cost": 2.7, "Plan Rows": 4, "Plan Width": 10, "Actual Startup Time": 0.003, "Actual Total Time": 0.004, "Actual Rows": 4, "Actual Loops": 1363, "Output": ["partsupp_1.ps_partkey", "partsupp_1.ps_suppkey", "partsupp_1.ps_availqty", "partsupp_1.ps_supplycost", "partsupp_1.ps_comment"], "Index Cond": "(partsupp_1.ps_partkey = part.p_partkey)", "Rows Removed by Index Recheck": 0}, {"Node Type": "Index Scan", "Parent Relationship": "Inner", "Parallel Aware": false, "Async Capable": false, "Scan Direction": "Forward", "Index Name": "s_sk", "Relation Name": "supplier", "Schema": "public", "Alias": "supplier_1", "Startup Cost": 0.29, "Total Cost": 2.5, "Plan Rows": 1, "Plan Width": 8, "Actual Startup Time": 0.002, "Actual Total Time": 0.002, "Actual Rows": 1, "Actual Loops": 5452, "Output": ["supplier_1.s_suppkey", "supplier_1.s_name", "supplier_1.s_address", "supplier_1.s_nationkey", "supplier_1.s_phone", "supplier_1.s_acctbal", "supplier_1.s_comment"], "Index Cond": "(supplier_1.s_suppkey = partsupp_1.ps_suppkey)", "Rows Removed by Index Recheck": 0}]}, {"Node Type": "Index Scan", "Parent Relationship": "Inner", "Parallel Aware": false, "Async Capable": false, "Scan Direction": "Forward", "Index Name": "n_nk", "Relation Name": "nation", "Schema": "public", "Alias": "nation_1", "Startup Cost": 0.14, "Total Cost": 0.16, "Plan Rows": 1, "Plan Width": 8, "Actual Startup Time": 0.001, "Actual Total Time": 0.001, "Actual Rows": 1, "Actual Loops": 5452, "Output": ["nation_1.n_nationkey", "nation_1.n_name", "nation_1.n_regionkey", "nation_1.n_comment"], "Index Cond": "(nation_1.n_nationkey = supplier_1.s_nationkey)", "Rows Removed by Index Recheck": 0}]}]}]}]}]}]}, "Planning Time": 1.936, "Triggers": [], "Execution Time": 249.641} diff --git a/dev9/pg16/tpch/sf_1/explain_analyze/15721/20-1.ok b/dev9/pg16/tpch/sf_1/explain_analyze/15721/20-1.ok new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/dev9/pg16/tpch/sf_1/explain_analyze/15721/20-1.res b/dev9/pg16/tpch/sf_1/explain_analyze/15721/20-1.res new file mode 100644 index 0000000000000000000000000000000000000000..2d779a27c934153fd49635dc9f590b1ba4652c96 --- /dev/null +++ b/dev9/pg16/tpch/sf_1/explain_analyze/15721/20-1.res @@ -0,0 +1 @@ +{"Plan": {"Node Type": "Sort", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 37668.31, "Total Cost": 37668.63, "Plan Rows": 128, "Plan Width": 51, "Actual Startup Time": 151.34, "Actual Total Time": 151.356, "Actual Rows": 187, "Actual Loops": 1, "Output": ["supplier.s_name", "supplier.s_address"], "Sort Key": ["supplier.s_name"], "Sort Method": "quicksort", "Sort Space Used": 39, "Sort Space Type": "Memory", "Plans": [{"Node Type": "Hash Join", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Join Type": "Semi", "Startup Cost": 37439.31, "Total Cost": 37663.83, "Plan Rows": 128, "Plan Width": 51, "Actual Startup Time": 150.807, "Actual Total Time": 151.195, "Actual Rows": 187, "Actual Loops": 1, "Output": ["supplier.s_name", "supplier.s_address"], "Inner Unique": false, "Hash Cond": "(supplier.s_suppkey = partsupp.ps_suppkey)", "Plans": [{"Node Type": "Nested Loop", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Join Type": "Inner", "Startup Cost": 4.48, "Total Cost": 226.37, "Plan Rows": 400, "Plan Width": 55, "Actual Startup Time": 0.066, "Actual Total Time": 0.369, "Actual Rows": 396, "Actual Loops": 1, "Output": ["supplier.s_name", "supplier.s_address", "supplier.s_suppkey"], "Inner Unique": false, "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Relation Name": "nation", "Schema": "public", "Alias": "nation", "Startup Cost": 0.0, "Total Cost": 1.31, "Plan Rows": 1, "Plan Width": 4, "Actual Startup Time": 0.006, "Actual Total Time": 0.01, "Actual Rows": 1, "Actual Loops": 1, "Output": ["nation.n_nationkey", "nation.n_name", "nation.n_regionkey", "nation.n_comment"], "Filter": "(nation.n_name = 'GERMANY'::bpchar)", "Rows Removed by Filter": 24}, {"Node Type": "Bitmap Heap Scan", "Parent Relationship": "Inner", "Parallel Aware": false, "Async Capable": false, "Relation Name": "supplier", "Schema": "public", "Alias": "supplier", "Startup Cost": 4.48, "Total Cost": 221.06, "Plan Rows": 400, "Plan Width": 59, "Actual Startup Time": 0.057, "Actual Total Time": 0.291, "Actual Rows": 396, "Actual Loops": 1, "Output": ["supplier.s_suppkey", "supplier.s_name", "supplier.s_address", "supplier.s_nationkey", "supplier.s_phone", "supplier.s_acctbal", "supplier.s_comment"], "Recheck Cond": "(supplier.s_nationkey = nation.n_nationkey)", "Rows Removed by Index Recheck": 0, "Exact Heap Blocks": 188, "Lossy Heap Blocks": 0, "Plans": [{"Node Type": "Bitmap Index Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Index Name": "s_nk", "Startup Cost": 0.0, "Total Cost": 4.38, "Plan Rows": 400, "Plan Width": 0, "Actual Startup Time": 0.026, "Actual Total Time": 0.026, "Actual Rows": 396, "Actual Loops": 1, "Index Cond": "(supplier.s_nationkey = nation.n_nationkey)"}]}]}, {"Node Type": "Hash", "Parent Relationship": "Inner", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 37394.74, "Total Cost": 37394.74, "Plan Rows": 3207, "Plan Width": 4, "Actual Startup Time": 150.732, "Actual Total Time": 150.734, "Actual Rows": 5970, "Actual Loops": 1, "Output": ["partsupp.ps_suppkey"], "Hash Buckets": 8192, "Original Hash Buckets": 4096, "Hash Batches": 1, "Original Hash Batches": 1, "Peak Memory Usage": 274, "Plans": [{"Node Type": "Nested Loop", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Join Type": "Inner", "Startup Cost": 0.42, "Total Cost": 37394.74, "Plan Rows": 3207, "Plan Width": 4, "Actual Startup Time": 0.086, "Actual Total Time": 149.411, "Actual Rows": 5970, "Actual Loops": 1, "Output": ["partsupp.ps_suppkey"], "Inner Unique": false, "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Relation Name": "part", "Schema": "public", "Alias": "part", "Startup Cost": 0.0, "Total Cost": 6597.0, "Plan Rows": 2405, "Plan Width": 4, "Actual Startup Time": 0.025, "Actual Total Time": 31.505, "Actual Rows": 2186, "Actual Loops": 1, "Output": ["part.p_partkey", "part.p_name", "part.p_mfgr", "part.p_brand", "part.p_type", "part.p_size", "part.p_container", "part.p_retailprice", "part.p_comment"], "Filter": "((part.p_name)::text ~~ 'floral%'::text)", "Rows Removed by Filter": 197814}, {"Node Type": "Index Scan", "Parent Relationship": "Inner", "Parallel Aware": false, "Async Capable": false, "Scan Direction": "Forward", "Index Name": "ps_pk", "Relation Name": "partsupp", "Schema": "public", "Alias": "partsupp", "Startup Cost": 0.42, "Total Cost": 12.8, "Plan Rows": 1, "Plan Width": 8, "Actual Startup Time": 0.021, "Actual Total Time": 0.053, "Actual Rows": 3, "Actual Loops": 2186, "Output": ["partsupp.ps_partkey", "partsupp.ps_suppkey", "partsupp.ps_availqty", "partsupp.ps_supplycost", "partsupp.ps_comment"], "Index Cond": "(partsupp.ps_partkey = part.p_partkey)", "Rows Removed by Index Recheck": 0, "Filter": "((partsupp.ps_availqty)::numeric > (SubPlan 1))", "Rows Removed by Filter": 1, "Plans": [{"Node Type": "Aggregate", "Strategy": "Plain", "Partial Mode": "Simple", "Parent Relationship": "SubPlan", "Subplan Name": "SubPlan 1", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 2.66, "Total Cost": 2.68, "Plan Rows": 1, "Plan Width": 32, "Actual Startup Time": 0.012, "Actual Total Time": 0.012, "Actual Rows": 1, "Actual Loops": 8744, "Output": ["(0.5 * sum(lineitem.l_quantity))"], "Plans": [{"Node Type": "Index Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Scan Direction": "Forward", "Index Name": "l_sk_pk", "Relation Name": "lineitem", "Schema": "public", "Alias": "lineitem", "Startup Cost": 0.43, "Total Cost": 2.66, "Plan Rows": 1, "Plan Width": 5, "Actual Startup Time": 0.008, "Actual Total Time": 0.011, "Actual Rows": 1, "Actual Loops": 8744, "Output": ["lineitem.l_orderkey", "lineitem.l_partkey", "lineitem.l_suppkey", "lineitem.l_linenumber", "lineitem.l_quantity", "lineitem.l_extendedprice", "lineitem.l_discount", "lineitem.l_tax", "lineitem.l_returnflag", "lineitem.l_linestatus", "lineitem.l_shipdate", "lineitem.l_commitdate", "lineitem.l_receiptdate", "lineitem.l_shipinstruct", "lineitem.l_shipmode", "lineitem.l_comment"], "Index Cond": "((lineitem.l_suppkey = partsupp.ps_suppkey) AND (lineitem.l_partkey = partsupp.ps_partkey))", "Rows Removed by Index Recheck": 0, "Filter": "((lineitem.l_shipdate >= '1996-01-01'::date) AND (lineitem.l_shipdate < '1997-01-01 00:00:00'::timestamp without time zone))", "Rows Removed by Filter": 6}]}]}]}]}]}]}, "Planning Time": 0.76, "Triggers": [], "Execution Time": 151.414} diff --git a/dev9/pg16/tpch/sf_1/explain_analyze/15721/21-1.ok b/dev9/pg16/tpch/sf_1/explain_analyze/15721/21-1.ok new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/dev9/pg16/tpch/sf_1/explain_analyze/15721/21-1.res b/dev9/pg16/tpch/sf_1/explain_analyze/15721/21-1.res new file mode 100644 index 0000000000000000000000000000000000000000..4cc9b4d65bb35a1a96d854b450bf2cab62ff16b2 --- /dev/null +++ b/dev9/pg16/tpch/sf_1/explain_analyze/15721/21-1.res @@ -0,0 +1 @@ +{"Plan": {"Node Type": "Limit", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 53688.22, "Total Cost": 53688.22, "Plan Rows": 1, "Plan Width": 34, "Actual Startup Time": 551.63, "Actual Total Time": 570.498, "Actual Rows": 100, "Actual Loops": 1, "Output": ["supplier.s_name", "(count(*))"], "Plans": [{"Node Type": "Sort", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 53688.22, "Total Cost": 53688.22, "Plan Rows": 1, "Plan Width": 34, "Actual Startup Time": 551.629, "Actual Total Time": 570.488, "Actual Rows": 100, "Actual Loops": 1, "Output": ["supplier.s_name", "(count(*))"], "Sort Key": ["(count(*)) DESC", "supplier.s_name"], "Sort Method": "top-N heapsort", "Sort Space Used": 36, "Sort Space Type": "Memory", "Plans": [{"Node Type": "Aggregate", "Strategy": "Sorted", "Partial Mode": "Simple", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 53688.19, "Total Cost": 53688.21, "Plan Rows": 1, "Plan Width": 34, "Actual Startup Time": 550.22, "Actual Total Time": 569.974, "Actual Rows": 407, "Actual Loops": 1, "Output": ["supplier.s_name", "count(*)"], "Group Key": ["supplier.s_name"], "Plans": [{"Node Type": "Sort", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 53688.19, "Total Cost": 53688.19, "Plan Rows": 1, "Plan Width": 26, "Actual Startup Time": 550.208, "Actual Total Time": 569.296, "Actual Rows": 3965, "Actual Loops": 1, "Output": ["supplier.s_name"], "Sort Key": ["supplier.s_name"], "Sort Method": "quicksort", "Sort Space Used": 251, "Sort Space Type": "Memory", "Plans": [{"Node Type": "Nested Loop", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Join Type": "Semi", "Startup Cost": 13177.26, "Total Cost": 53688.18, "Plan Rows": 1, "Plan Width": 26, "Actual Startup Time": 303.889, "Actual Total Time": 554.439, "Actual Rows": 3965, "Actual Loops": 1, "Output": ["supplier.s_name"], "Inner Unique": false, "Join Filter": "(orders.o_orderkey = l2.l_orderkey)", "Rows Removed by Join Filter": 0, "Plans": [{"Node Type": "Gather", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 13176.82, "Total Cost": 53687.56, "Plan Rows": 1, "Plan Width": 38, "Actual Startup Time": 303.824, "Actual Total Time": 532.029, "Actual Rows": 6626, "Actual Loops": 1, "Output": ["supplier.s_name", "l1.l_suppkey", "l1.l_orderkey", "orders.o_orderkey"], "Workers Planned": 3, "Workers Launched": 3, "Single Copy": false, "Plans": [{"Node Type": "Nested Loop", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Join Type": "Anti", "Startup Cost": 12176.82, "Total Cost": 52687.46, "Plan Rows": 1, "Plan Width": 38, "Actual Startup Time": 340.031, "Actual Total Time": 525.056, "Actual Rows": 1656, "Actual Loops": 4, "Output": ["supplier.s_name", "l1.l_suppkey", "l1.l_orderkey", "orders.o_orderkey"], "Inner Unique": false, "Workers": [{"Worker Number": 0, "Actual Startup Time": 352.595, "Actual Total Time": 529.713, "Actual Rows": 1627, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 352.966, "Actual Total Time": 529.804, "Actual Rows": 1553, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 351.153, "Actual Total Time": 529.936, "Actual Rows": 1577, "Actual Loops": 1}], "Plans": [{"Node Type": "Hash Join", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Join Type": "Inner", "Startup Cost": 12176.39, "Total Cost": 45359.47, "Plan Rows": 12574, "Plan Width": 38, "Actual Startup Time": 339.895, "Actual Total Time": 456.069, "Actual Rows": 18520, "Actual Loops": 4, "Output": ["supplier.s_name", "l1.l_suppkey", "l1.l_orderkey", "orders.o_orderkey"], "Inner Unique": false, "Hash Cond": "(orders.o_orderkey = l1.l_orderkey)", "Workers": [{"Worker Number": 0, "Actual Startup Time": 352.517, "Actual Total Time": 462.78, "Actual Rows": 17749, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 352.66, "Actual Total Time": 462.578, "Actual Rows": 17466, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 351.052, "Actual Total Time": 462.927, "Actual Rows": 17637, "Actual Loops": 1}], "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": true, "Async Capable": false, "Relation Name": "orders", "Schema": "public", "Alias": "orders", "Startup Cost": 0.0, "Total Cost": 32173.39, "Plan Rows": 235719, "Plan Width": 4, "Actual Startup Time": 0.018, "Actual Total Time": 73.683, "Actual Rows": 182353, "Actual Loops": 4, "Output": ["orders.o_orderkey", "orders.o_custkey", "orders.o_orderstatus", "orders.o_totalprice", "orders.o_orderdate", "orders.o_orderpriority", "orders.o_clerk", "orders.o_shippriority", "orders.o_comment"], "Filter": "(orders.o_orderstatus = 'F'::bpchar)", "Rows Removed by Filter": 192647, "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.023, "Actual Total Time": 71.218, "Actual Rows": 174040, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 0.021, "Actual Total Time": 71.084, "Actual Rows": 172249, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 0.023, "Actual Total Time": 71.501, "Actual Rows": 173636, "Actual Loops": 1}]}, {"Node Type": "Hash", "Parent Relationship": "Inner", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 11176.19, "Total Cost": 11176.19, "Plan Rows": 80016, "Plan Width": 34, "Actual Startup Time": 339.208, "Actual Total Time": 339.211, "Actual Rows": 153758, "Actual Loops": 4, "Output": ["supplier.s_name", "l1.l_suppkey", "l1.l_orderkey"], "Hash Buckets": 262144, "Original Hash Buckets": 131072, "Hash Batches": 1, "Original Hash Batches": 1, "Peak Memory Usage": 12259, "Workers": [{"Worker Number": 0, "Actual Startup Time": 351.657, "Actual Total Time": 351.66, "Actual Rows": 153758, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 351.805, "Actual Total Time": 351.808, "Actual Rows": 153758, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 350.187, "Actual Total Time": 350.191, "Actual Rows": 153758, "Actual Loops": 1}], "Plans": [{"Node Type": "Nested Loop", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Join Type": "Inner", "Startup Cost": 4.92, "Total Cost": 11176.19, "Plan Rows": 80016, "Plan Width": 34, "Actual Startup Time": 0.176, "Actual Total Time": 291.999, "Actual Rows": 153758, "Actual Loops": 4, "Output": ["supplier.s_name", "l1.l_suppkey", "l1.l_orderkey"], "Inner Unique": false, "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.204, "Actual Total Time": 304.712, "Actual Rows": 153758, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 0.213, "Actual Total Time": 303.512, "Actual Rows": 153758, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 0.211, "Actual Total Time": 302.337, "Actual Rows": 153758, "Actual Loops": 1}], "Plans": [{"Node Type": "Nested Loop", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Join Type": "Inner", "Startup Cost": 4.48, "Total Cost": 226.37, "Plan Rows": 400, "Plan Width": 30, "Actual Startup Time": 0.108, "Actual Total Time": 0.692, "Actual Rows": 407, "Actual Loops": 4, "Output": ["supplier.s_name", "supplier.s_suppkey"], "Inner Unique": false, "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.121, "Actual Total Time": 0.727, "Actual Rows": 407, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 0.124, "Actual Total Time": 0.749, "Actual Rows": 407, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 0.124, "Actual Total Time": 0.746, "Actual Rows": 407, "Actual Loops": 1}], "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Relation Name": "nation", "Schema": "public", "Alias": "nation", "Startup Cost": 0.0, "Total Cost": 1.31, "Plan Rows": 1, "Plan Width": 4, "Actual Startup Time": 0.021, "Actual Total Time": 0.025, "Actual Rows": 1, "Actual Loops": 4, "Output": ["nation.n_nationkey", "nation.n_name", "nation.n_regionkey", "nation.n_comment"], "Filter": "(nation.n_name = 'CHINA'::bpchar)", "Rows Removed by Filter": 24, "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.027, "Actual Total Time": 0.03, "Actual Rows": 1, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 0.027, "Actual Total Time": 0.03, "Actual Rows": 1, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 0.027, "Actual Total Time": 0.031, "Actual Rows": 1, "Actual Loops": 1}]}, {"Node Type": "Bitmap Heap Scan", "Parent Relationship": "Inner", "Parallel Aware": false, "Async Capable": false, "Relation Name": "supplier", "Schema": "public", "Alias": "supplier", "Startup Cost": 4.48, "Total Cost": 221.06, "Plan Rows": 400, "Plan Width": 34, "Actual Startup Time": 0.084, "Actual Total Time": 0.58, "Actual Rows": 407, "Actual Loops": 4, "Output": ["supplier.s_suppkey", "supplier.s_name", "supplier.s_address", "supplier.s_nationkey", "supplier.s_phone", "supplier.s_acctbal", "supplier.s_comment"], "Recheck Cond": "(supplier.s_nationkey = nation.n_nationkey)", "Rows Removed by Index Recheck": 0, "Exact Heap Blocks": 184, "Lossy Heap Blocks": 0, "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.092, "Actual Total Time": 0.614, "Actual Rows": 407, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 0.095, "Actual Total Time": 0.625, "Actual Rows": 407, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 0.094, "Actual Total Time": 0.629, "Actual Rows": 407, "Actual Loops": 1}], "Plans": [{"Node Type": "Bitmap Index Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Index Name": "s_nk", "Startup Cost": 0.0, "Total Cost": 4.38, "Plan Rows": 400, "Plan Width": 0, "Actual Startup Time": 0.048, "Actual Total Time": 0.048, "Actual Rows": 407, "Actual Loops": 4, "Index Cond": "(supplier.s_nationkey = nation.n_nationkey)", "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.054, "Actual Total Time": 0.055, "Actual Rows": 407, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 0.056, "Actual Total Time": 0.056, "Actual Rows": 407, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 0.056, "Actual Total Time": 0.056, "Actual Rows": 407, "Actual Loops": 1}]}]}]}, {"Node Type": "Index Scan", "Parent Relationship": "Inner", "Parallel Aware": false, "Async Capable": false, "Scan Direction": "Forward", "Index Name": "l_sk", "Relation Name": "lineitem", "Schema": "public", "Alias": "l1", "Startup Cost": 0.43, "Total Cost": 25.37, "Plan Rows": 200, "Plan Width": 8, "Actual Startup Time": 0.01, "Actual Total Time": 0.669, "Actual Rows": 378, "Actual Loops": 1628, "Output": ["l1.l_orderkey", "l1.l_partkey", "l1.l_suppkey", "l1.l_linenumber", "l1.l_quantity", "l1.l_extendedprice", "l1.l_discount", "l1.l_tax", "l1.l_returnflag", "l1.l_linestatus", "l1.l_shipdate", "l1.l_commitdate", "l1.l_receiptdate", "l1.l_shipinstruct", "l1.l_shipmode", "l1.l_comment"], "Index Cond": "(l1.l_suppkey = supplier.s_suppkey)", "Rows Removed by Index Recheck": 0, "Filter": "(l1.l_receiptdate > l1.l_commitdate)", "Rows Removed by Filter": 221, "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.01, "Actual Total Time": 0.702, "Actual Rows": 378, "Actual Loops": 407}, {"Worker Number": 1, "Actual Startup Time": 0.01, "Actual Total Time": 0.697, "Actual Rows": 378, "Actual Loops": 407}, {"Worker Number": 2, "Actual Startup Time": 0.01, "Actual Total Time": 0.697, "Actual Rows": 378, "Actual Loops": 407}]}]}]}]}, {"Node Type": "Index Scan", "Parent Relationship": "Inner", "Parallel Aware": false, "Async Capable": false, "Scan Direction": "Forward", "Index Name": "l_ok", "Relation Name": "lineitem", "Schema": "public", "Alias": "l3", "Startup Cost": 0.43, "Total Cost": 0.61, "Plan Rows": 2, "Plan Width": 8, "Actual Startup Time": 0.003, "Actual Total Time": 0.003, "Actual Rows": 1, "Actual Loops": 74080, "Output": ["l3.l_orderkey", "l3.l_partkey", "l3.l_suppkey", "l3.l_linenumber", "l3.l_quantity", "l3.l_extendedprice", "l3.l_discount", "l3.l_tax", "l3.l_returnflag", "l3.l_linestatus", "l3.l_shipdate", "l3.l_commitdate", "l3.l_receiptdate", "l3.l_shipinstruct", "l3.l_shipmode", "l3.l_comment"], "Index Cond": "(l3.l_orderkey = l1.l_orderkey)", "Rows Removed by Index Recheck": 0, "Filter": "((l3.l_receiptdate > l3.l_commitdate) AND (l3.l_suppkey <> l1.l_suppkey))", "Rows Removed by Filter": 1, "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.003, "Actual Total Time": 0.003, "Actual Rows": 1, "Actual Loops": 17749}, {"Worker Number": 1, "Actual Startup Time": 0.004, "Actual Total Time": 0.004, "Actual Rows": 1, "Actual Loops": 17466}, {"Worker Number": 2, "Actual Startup Time": 0.003, "Actual Total Time": 0.003, "Actual Rows": 1, "Actual Loops": 17637}]}]}]}, {"Node Type": "Index Scan", "Parent Relationship": "Inner", "Parallel Aware": false, "Async Capable": false, "Scan Direction": "Forward", "Index Name": "l_ok", "Relation Name": "lineitem", "Schema": "public", "Alias": "l2", "Startup Cost": 0.43, "Total Cost": 0.6, "Plan Rows": 5, "Plan Width": 8, "Actual Startup Time": 0.003, "Actual Total Time": 0.003, "Actual Rows": 1, "Actual Loops": 6626, "Output": ["l2.l_orderkey", "l2.l_partkey", "l2.l_suppkey", "l2.l_linenumber", "l2.l_quantity", "l2.l_extendedprice", "l2.l_discount", "l2.l_tax", "l2.l_returnflag", "l2.l_linestatus", "l2.l_shipdate", "l2.l_commitdate", "l2.l_receiptdate", "l2.l_shipinstruct", "l2.l_shipmode", "l2.l_comment"], "Index Cond": "(l2.l_orderkey = l1.l_orderkey)", "Rows Removed by Index Recheck": 0, "Filter": "(l2.l_suppkey <> l1.l_suppkey)", "Rows Removed by Filter": 1}]}]}]}]}]}, "Planning Time": 2.427, "Triggers": [], "Execution Time": 570.62} diff --git a/dev9/pg16/tpch/sf_1/explain_analyze/15721/22-1.ok b/dev9/pg16/tpch/sf_1/explain_analyze/15721/22-1.ok new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/dev9/pg16/tpch/sf_1/explain_analyze/15721/22-1.res b/dev9/pg16/tpch/sf_1/explain_analyze/15721/22-1.res new file mode 100644 index 0000000000000000000000000000000000000000..91371e12afef0120bf2db7efadcc61854bfae0c0 --- /dev/null +++ b/dev9/pg16/tpch/sf_1/explain_analyze/15721/22-1.res @@ -0,0 +1 @@ +{"Plan": {"Node Type": "Aggregate", "Strategy": "Sorted", "Partial Mode": "Finalize", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 12875.63, "Total Cost": 12965.32, "Plan Rows": 672, "Plan Width": 72, "Actual Startup Time": 92.997, "Actual Total Time": 96.568, "Actual Rows": 7, "Actual Loops": 1, "Output": ["(SUBSTRING(customer.c_phone FROM 1 FOR 2))", "count(*)", "sum(customer.c_acctbal)"], "Group Key": ["(SUBSTRING(customer.c_phone FROM 1 FOR 2))"], "Plans": [{"Node Type": "Aggregate", "Strategy": "Plain", "Partial Mode": "Finalize", "Parent Relationship": "InitPlan", "Subplan Name": "InitPlan 1 (returns $1)", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 6239.82, "Total Cost": 6239.83, "Plan Rows": 1, "Plan Width": 32, "Actual Startup Time": 43.278, "Actual Total Time": 43.334, "Actual Rows": 1, "Actual Loops": 1, "Output": ["avg(customer_1.c_acctbal)"], "Plans": [{"Node Type": "Gather", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 6239.6, "Total Cost": 6239.81, "Plan Rows": 2, "Plan Width": 32, "Actual Startup Time": 43.209, "Actual Total Time": 43.324, "Actual Rows": 3, "Actual Loops": 1, "Output": ["(PARTIAL avg(customer_1.c_acctbal))"], "Workers Planned": 2, "Workers Launched": 2, "Single Copy": false, "Plans": [{"Node Type": "Aggregate", "Strategy": "Plain", "Partial Mode": "Partial", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 5239.6, "Total Cost": 5239.61, "Plan Rows": 1, "Plan Width": 32, "Actual Startup Time": 40.539, "Actual Total Time": 40.539, "Actual Rows": 1, "Actual Loops": 3, "Output": ["PARTIAL avg(customer_1.c_acctbal)"], "Workers": [{"Worker Number": 0, "Actual Startup Time": 39.213, "Actual Total Time": 39.214, "Actual Rows": 1, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 39.424, "Actual Total Time": 39.425, "Actual Rows": 1, "Actual Loops": 1}], "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": true, "Async Capable": false, "Relation Name": "customer", "Schema": "public", "Alias": "customer_1", "Startup Cost": 0.0, "Total Cost": 5234.62, "Plan Rows": 1988, "Plan Width": 6, "Actual Startup Time": 0.026, "Actual Total Time": 38.995, "Actual Rows": 12636, "Actual Loops": 3, "Output": ["customer_1.c_custkey", "customer_1.c_name", "customer_1.c_address", "customer_1.c_nationkey", "customer_1.c_phone", "customer_1.c_acctbal", "customer_1.c_mktsegment", "customer_1.c_comment"], "Filter": "((customer_1.c_acctbal > 0.00) AND (SUBSTRING(customer_1.c_phone FROM 1 FOR 2) = ANY ('{17,20,25,31,30,11,33}'::text[])))", "Rows Removed by Filter": 37364, "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.033, "Actual Total Time": 37.792, "Actual Rows": 11474, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 0.035, "Actual Total Time": 38.0, "Actual Rows": 11581, "Actual Loops": 1}]}]}]}]}, {"Node Type": "Gather Merge", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 6635.8, "Total Cost": 6708.13, "Plan Rows": 560, "Plan Width": 72, "Actual Startup Time": 92.877, "Actual Total Time": 96.487, "Actual Rows": 21, "Actual Loops": 1, "Output": ["(SUBSTRING(customer.c_phone FROM 1 FOR 2))", "(PARTIAL count(*))", "(PARTIAL sum(customer.c_acctbal))"], "Workers Planned": 2, "Params Evaluated": ["$1"], "Workers Launched": 2, "Plans": [{"Node Type": "Aggregate", "Strategy": "Sorted", "Partial Mode": "Partial", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 5635.77, "Total Cost": 5643.47, "Plan Rows": 280, "Plan Width": 72, "Actual Startup Time": 45.896, "Actual Total Time": 46.404, "Actual Rows": 7, "Actual Loops": 3, "Output": ["(SUBSTRING(customer.c_phone FROM 1 FOR 2))", "PARTIAL count(*)", "PARTIAL sum(customer.c_acctbal)"], "Group Key": ["(SUBSTRING(customer.c_phone FROM 1 FOR 2))"], "Workers": [{"Worker Number": 0, "Actual Startup Time": 44.459, "Actual Total Time": 44.92, "Actual Rows": 7, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 44.714, "Actual Total Time": 45.181, "Actual Rows": 7, "Actual Loops": 1}], "Plans": [{"Node Type": "Sort", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 5635.77, "Total Cost": 5636.47, "Plan Rows": 280, "Plan Width": 38, "Actual Startup Time": 45.802, "Actual Total Time": 45.929, "Actual Rows": 2112, "Actual Loops": 3, "Output": ["(SUBSTRING(customer.c_phone FROM 1 FOR 2))", "customer.c_acctbal"], "Sort Key": ["(SUBSTRING(customer.c_phone FROM 1 FOR 2))"], "Sort Method": "quicksort", "Sort Space Used": 192, "Sort Space Type": "Memory", "Workers": [{"Worker Number": 0, "Actual Startup Time": 44.372, "Actual Total Time": 44.486, "Actual Rows": 1930, "Actual Loops": 1, "Sort Method": "quicksort", "Sort Space Used": 124, "Sort Space Type": "Memory"}, {"Worker Number": 1, "Actual Startup Time": 44.624, "Actual Total Time": 44.74, "Actual Rows": 1961, "Actual Loops": 1, "Sort Method": "quicksort", "Sort Space Used": 125, "Sort Space Type": "Memory"}], "Plans": [{"Node Type": "Nested Loop", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Join Type": "Anti", "Startup Cost": 0.43, "Total Cost": 5624.39, "Plan Rows": 280, "Plan Width": 38, "Actual Startup Time": 0.071, "Actual Total Time": 45.001, "Actual Rows": 2112, "Actual Loops": 3, "Output": ["SUBSTRING(customer.c_phone FROM 1 FOR 2)", "customer.c_acctbal"], "Inner Unique": false, "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.103, "Actual Total Time": 43.569, "Actual Rows": 1930, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 0.088, "Actual Total Time": 43.811, "Actual Rows": 1961, "Actual Loops": 1}], "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": true, "Async Capable": false, "Relation Name": "customer", "Schema": "public", "Alias": "customer", "Startup Cost": 0.0, "Total Cost": 5234.62, "Plan Rows": 729, "Plan Width": 26, "Actual Startup Time": 0.027, "Actual Total Time": 27.54, "Actual Rows": 6294, "Actual Loops": 3, "Output": ["customer.c_custkey", "customer.c_name", "customer.c_address", "customer.c_nationkey", "customer.c_phone", "customer.c_acctbal", "customer.c_mktsegment", "customer.c_comment"], "Filter": "((customer.c_acctbal > $1) AND (SUBSTRING(customer.c_phone FROM 1 FOR 2) = ANY ('{17,20,25,31,30,11,33}'::text[])))", "Rows Removed by Filter": 43706, "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.032, "Actual Total Time": 26.5, "Actual Rows": 5688, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 0.042, "Actual Total Time": 26.56, "Actual Rows": 5801, "Actual Loops": 1}]}, {"Node Type": "Index Only Scan", "Parent Relationship": "Inner", "Parallel Aware": false, "Async Capable": false, "Scan Direction": "Forward", "Index Name": "o_ck", "Relation Name": "orders", "Schema": "public", "Alias": "orders", "Startup Cost": 0.43, "Total Cost": 1.41, "Plan Rows": 16, "Plan Width": 4, "Actual Startup Time": 0.002, "Actual Total Time": 0.002, "Actual Rows": 1, "Actual Loops": 18883, "Output": ["orders.o_custkey"], "Index Cond": "(orders.o_custkey = customer.c_custkey)", "Rows Removed by Index Recheck": 0, "Heap Fetches": 0, "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.003, "Actual Total Time": 0.003, "Actual Rows": 1, "Actual Loops": 5688}, {"Worker Number": 1, "Actual Startup Time": 0.003, "Actual Total Time": 0.003, "Actual Rows": 1, "Actual Loops": 5801}]}]}]}]}]}]}, "Planning Time": 0.406, "Triggers": [], "Execution Time": 96.627} diff --git a/dev9/pg16/tpch/sf_1/explain_analyze/15721/3-1.ok b/dev9/pg16/tpch/sf_1/explain_analyze/15721/3-1.ok new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/dev9/pg16/tpch/sf_1/explain_analyze/15721/3-1.res b/dev9/pg16/tpch/sf_1/explain_analyze/15721/3-1.res new file mode 100644 index 0000000000000000000000000000000000000000..3415ea9ac9d9b576bd38b5f3fbcc4f5b5d893a8e --- /dev/null +++ b/dev9/pg16/tpch/sf_1/explain_analyze/15721/3-1.res @@ -0,0 +1 @@ +{"Plan": {"Node Type": "Limit", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 133297.7, "Total Cost": 133297.73, "Plan Rows": 10, "Plan Width": 44, "Actual Startup Time": 460.455, "Actual Total Time": 549.297, "Actual Rows": 10, "Actual Loops": 1, "Output": ["lineitem.l_orderkey", "(sum((lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount))))", "orders.o_orderdate", "orders.o_shippriority"], "Plans": [{"Node Type": "Sort", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 133297.7, "Total Cost": 134085.89, "Plan Rows": 315276, "Plan Width": 44, "Actual Startup Time": 460.453, "Actual Total Time": 549.294, "Actual Rows": 10, "Actual Loops": 1, "Output": ["lineitem.l_orderkey", "(sum((lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount))))", "orders.o_orderdate", "orders.o_shippriority"], "Sort Key": ["(sum((lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount)))) DESC", "orders.o_orderdate"], "Sort Method": "top-N heapsort", "Sort Space Used": 26, "Sort Space Type": "Memory", "Plans": [{"Node Type": "Aggregate", "Strategy": "Sorted", "Partial Mode": "Finalize", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 84993.11, "Total Cost": 126484.7, "Plan Rows": 315276, "Plan Width": 44, "Actual Startup Time": 434.274, "Actual Total Time": 546.276, "Actual Rows": 11439, "Actual Loops": 1, "Output": ["lineitem.l_orderkey", "sum((lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount)))", "orders.o_orderdate", "orders.o_shippriority"], "Group Key": ["lineitem.l_orderkey", "orders.o_orderdate", "orders.o_shippriority"], "Plans": [{"Node Type": "Gather Merge", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 84993.11, "Total Cost": 119259.63, "Plan Rows": 262730, "Plan Width": 44, "Actual Startup Time": 434.263, "Actual Total Time": 536.315, "Actual Rows": 11439, "Actual Loops": 1, "Output": ["lineitem.l_orderkey", "orders.o_orderdate", "orders.o_shippriority", "(PARTIAL sum((lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount))))"], "Workers Planned": 2, "Workers Launched": 2, "Plans": [{"Node Type": "Aggregate", "Strategy": "Sorted", "Partial Mode": "Partial", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 83993.09, "Total Cost": 87934.04, "Plan Rows": 131365, "Plan Width": 44, "Actual Startup Time": 430.883, "Actual Total Time": 439.886, "Actual Rows": 3813, "Actual Loops": 3, "Output": ["lineitem.l_orderkey", "orders.o_orderdate", "orders.o_shippriority", "PARTIAL sum((lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount)))"], "Group Key": ["lineitem.l_orderkey", "orders.o_orderdate", "orders.o_shippriority"], "Workers": [{"Worker Number": 0, "Actual Startup Time": 429.208, "Actual Total Time": 437.292, "Actual Rows": 3498, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 429.619, "Actual Total Time": 437.721, "Actual Rows": 3565, "Actual Loops": 1}], "Plans": [{"Node Type": "Sort", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 83993.09, "Total Cost": 84321.5, "Plan Rows": 131365, "Plan Width": 24, "Actual Startup Time": 430.856, "Actual Total Time": 431.818, "Actual Rows": 10095, "Actual Loops": 3, "Output": ["lineitem.l_orderkey", "orders.o_orderdate", "orders.o_shippriority", "lineitem.l_extendedprice", "lineitem.l_discount"], "Sort Key": ["lineitem.l_orderkey", "orders.o_orderdate", "orders.o_shippriority"], "Sort Method": "quicksort", "Sort Space Used": 1004, "Sort Space Type": "Memory", "Workers": [{"Worker Number": 0, "Actual Startup Time": 429.174, "Actual Total Time": 430.016, "Actual Rows": 9192, "Actual Loops": 1, "Sort Method": "quicksort", "Sort Space Used": 870, "Sort Space Type": "Memory"}, {"Worker Number": 1, "Actual Startup Time": 429.589, "Actual Total Time": 430.357, "Actual Rows": 9357, "Actual Loops": 1, "Sort Method": "quicksort", "Sort Space Used": 878, "Sort Space Type": "Memory"}], "Plans": [{"Node Type": "Nested Loop", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Join Type": "Inner", "Startup Cost": 0.86, "Total Cost": 72824.95, "Plan Rows": 131365, "Plan Width": 24, "Actual Startup Time": 0.71, "Actual Total Time": 426.794, "Actual Rows": 10095, "Actual Loops": 3, "Output": ["lineitem.l_orderkey", "orders.o_orderdate", "orders.o_shippriority", "lineitem.l_extendedprice", "lineitem.l_discount"], "Inner Unique": false, "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.626, "Actual Total Time": 425.365, "Actual Rows": 9192, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 1.417, "Actual Total Time": 425.75, "Actual Rows": 9357, "Actual Loops": 1}], "Plans": [{"Node Type": "Nested Loop", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Join Type": "Inner", "Startup Cost": 0.43, "Total Cost": 27389.24, "Plan Rows": 60904, "Plan Width": 12, "Actual Startup Time": 0.07, "Actual Total Time": 139.855, "Actual Rows": 48593, "Actual Loops": 3, "Output": ["orders.o_orderdate", "orders.o_shippriority", "orders.o_orderkey"], "Inner Unique": false, "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.088, "Actual Total Time": 136.614, "Actual Rows": 45436, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 0.094, "Actual Total Time": 136.915, "Actual Rows": 45257, "Actual Loops": 1}], "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": true, "Async Capable": false, "Relation Name": "customer", "Schema": "public", "Alias": "customer", "Startup Cost": 0.0, "Total Cost": 4375.25, "Plan Rows": 12487, "Plan Width": 4, "Actual Startup Time": 0.015, "Actual Total Time": 14.51, "Actual Rows": 9989, "Actual Loops": 3, "Output": ["customer.c_custkey", "customer.c_name", "customer.c_address", "customer.c_nationkey", "customer.c_phone", "customer.c_acctbal", "customer.c_mktsegment", "customer.c_comment"], "Filter": "(customer.c_mktsegment = 'FURNITURE'::bpchar)", "Rows Removed by Filter": 40011, "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.018, "Actual Total Time": 14.217, "Actual Rows": 9252, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 0.019, "Actual Total Time": 14.264, "Actual Rows": 9428, "Actual Loops": 1}]}, {"Node Type": "Index Scan", "Parent Relationship": "Inner", "Parallel Aware": false, "Async Capable": false, "Scan Direction": "Forward", "Index Name": "o_ck", "Relation Name": "orders", "Schema": "public", "Alias": "orders", "Startup Cost": 0.43, "Total Cost": 1.76, "Plan Rows": 8, "Plan Width": 16, "Actual Startup Time": 0.003, "Actual Total Time": 0.011, "Actual Rows": 5, "Actual Loops": 29968, "Output": ["orders.o_orderkey", "orders.o_custkey", "orders.o_orderstatus", "orders.o_totalprice", "orders.o_orderdate", "orders.o_orderpriority", "orders.o_clerk", "orders.o_shippriority", "orders.o_comment"], "Index Cond": "(orders.o_custkey = customer.c_custkey)", "Rows Removed by Index Recheck": 0, "Filter": "(orders.o_orderdate < '1995-03-20'::date)", "Rows Removed by Filter": 5, "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.003, "Actual Total Time": 0.012, "Actual Rows": 5, "Actual Loops": 9252}, {"Worker Number": 1, "Actual Startup Time": 0.003, "Actual Total Time": 0.012, "Actual Rows": 5, "Actual Loops": 9428}]}]}, {"Node Type": "Index Scan", "Parent Relationship": "Inner", "Parallel Aware": false, "Async Capable": false, "Scan Direction": "Forward", "Index Name": "l_ok", "Relation Name": "lineitem", "Schema": "public", "Alias": "lineitem", "Startup Cost": 0.43, "Total Cost": 0.72, "Plan Rows": 3, "Plan Width": 16, "Actual Startup Time": 0.006, "Actual Total Time": 0.006, "Actual Rows": 0, "Actual Loops": 145780, "Output": ["lineitem.l_orderkey", "lineitem.l_partkey", "lineitem.l_suppkey", "lineitem.l_linenumber", "lineitem.l_quantity", "lineitem.l_extendedprice", "lineitem.l_discount", "lineitem.l_tax", "lineitem.l_returnflag", "lineitem.l_linestatus", "lineitem.l_shipdate", "lineitem.l_commitdate", "lineitem.l_receiptdate", "lineitem.l_shipinstruct", "lineitem.l_shipmode", "lineitem.l_comment"], "Index Cond": "(lineitem.l_orderkey = orders.o_orderkey)", "Rows Removed by Index Recheck": 0, "Filter": "(lineitem.l_shipdate > '1995-03-20'::date)", "Rows Removed by Filter": 4, "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.006, "Actual Total Time": 0.006, "Actual Rows": 0, "Actual Loops": 45436}, {"Worker Number": 1, "Actual Startup Time": 0.006, "Actual Total Time": 0.006, "Actual Rows": 0, "Actual Loops": 45257}]}]}]}]}]}]}]}]}, "Planning Time": 0.723, "Triggers": [], "Execution Time": 549.359} diff --git a/dev9/pg16/tpch/sf_1/explain_analyze/15721/4-1.ok b/dev9/pg16/tpch/sf_1/explain_analyze/15721/4-1.ok new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/dev9/pg16/tpch/sf_1/explain_analyze/15721/4-1.res b/dev9/pg16/tpch/sf_1/explain_analyze/15721/4-1.res new file mode 100644 index 0000000000000000000000000000000000000000..062a0fc9779197d00bb59862a261bb4c63d456d9 --- /dev/null +++ b/dev9/pg16/tpch/sf_1/explain_analyze/15721/4-1.res @@ -0,0 +1 @@ +{"Plan": {"Node Type": "Aggregate", "Strategy": "Sorted", "Partial Mode": "Finalize", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 51002.57, "Total Cost": 51004.47, "Plan Rows": 5, "Plan Width": 24, "Actual Startup Time": 119.186, "Actual Total Time": 143.537, "Actual Rows": 5, "Actual Loops": 1, "Output": ["orders.o_orderpriority", "count(*)"], "Group Key": ["orders.o_orderpriority"], "Plans": [{"Node Type": "Gather Merge", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 51002.57, "Total Cost": 51004.35, "Plan Rows": 15, "Plan Width": 24, "Actual Startup Time": 119.175, "Actual Total Time": 143.523, "Actual Rows": 20, "Actual Loops": 1, "Output": ["orders.o_orderpriority", "(PARTIAL count(*))"], "Workers Planned": 3, "Workers Launched": 3, "Plans": [{"Node Type": "Sort", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 50002.53, "Total Cost": 50002.55, "Plan Rows": 5, "Plan Width": 24, "Actual Startup Time": 115.658, "Actual Total Time": 115.66, "Actual Rows": 5, "Actual Loops": 4, "Output": ["orders.o_orderpriority", "(PARTIAL count(*))"], "Sort Key": ["orders.o_orderpriority"], "Sort Method": "quicksort", "Sort Space Used": 25, "Sort Space Type": "Memory", "Workers": [{"Worker Number": 0, "Actual Startup Time": 114.529, "Actual Total Time": 114.531, "Actual Rows": 5, "Actual Loops": 1, "Sort Method": "quicksort", "Sort Space Used": 25, "Sort Space Type": "Memory"}, {"Worker Number": 1, "Actual Startup Time": 114.548, "Actual Total Time": 114.551, "Actual Rows": 5, "Actual Loops": 1, "Sort Method": "quicksort", "Sort Space Used": 25, "Sort Space Type": "Memory"}, {"Worker Number": 2, "Actual Startup Time": 114.723, "Actual Total Time": 114.726, "Actual Rows": 5, "Actual Loops": 1, "Sort Method": "quicksort", "Sort Space Used": 25, "Sort Space Type": "Memory"}], "Plans": [{"Node Type": "Aggregate", "Strategy": "Hashed", "Partial Mode": "Partial", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 50002.42, "Total Cost": 50002.47, "Plan Rows": 5, "Plan Width": 24, "Actual Startup Time": 115.63, "Actual Total Time": 115.632, "Actual Rows": 5, "Actual Loops": 4, "Output": ["orders.o_orderpriority", "PARTIAL count(*)"], "Group Key": ["orders.o_orderpriority"], "Planned Partitions": 0, "HashAgg Batches": 1, "Peak Memory Usage": 24, "Disk Usage": 0, "Workers": [{"Worker Number": 0, "Actual Startup Time": 114.499, "Actual Total Time": 114.502, "Actual Rows": 5, "Actual Loops": 1, "HashAgg Batches": 1, "Peak Memory Usage": 24, "Disk Usage": 0}, {"Worker Number": 1, "Actual Startup Time": 114.51, "Actual Total Time": 114.513, "Actual Rows": 5, "Actual Loops": 1, "HashAgg Batches": 1, "Peak Memory Usage": 24, "Disk Usage": 0}, {"Worker Number": 2, "Actual Startup Time": 114.688, "Actual Total Time": 114.691, "Actual Rows": 5, "Actual Loops": 1, "HashAgg Batches": 1, "Peak Memory Usage": 24, "Disk Usage": 0}], "Plans": [{"Node Type": "Nested Loop", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Join Type": "Semi", "Startup Cost": 630.85, "Total Cost": 49929.59, "Plan Rows": 14566, "Plan Width": 16, "Actual Startup Time": 11.107, "Actual Total Time": 110.91, "Actual Rows": 12952, "Actual Loops": 4, "Output": ["orders.o_orderpriority"], "Inner Unique": false, "Workers": [{"Worker Number": 0, "Actual Startup Time": 10.112, "Actual Total Time": 110.352, "Actual Rows": 11049, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 10.155, "Actual Total Time": 110.331, "Actual Rows": 11076, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 10.316, "Actual Total Time": 110.62, "Actual Rows": 10933, "Actual Loops": 1}], "Plans": [{"Node Type": "Bitmap Heap Scan", "Parent Relationship": "Outer", "Parallel Aware": true, "Async Capable": false, "Relation Name": "orders", "Schema": "public", "Alias": "orders", "Startup Cost": 630.42, "Total Cost": 27026.86, "Plan Rows": 18096, "Plan Width": 20, "Actual Startup Time": 11.049, "Actual Total Time": 33.656, "Actual Rows": 14142, "Actual Loops": 4, "Output": ["orders.o_orderkey", "orders.o_custkey", "orders.o_orderstatus", "orders.o_totalprice", "orders.o_orderdate", "orders.o_orderpriority", "orders.o_clerk", "orders.o_shippriority", "orders.o_comment"], "Recheck Cond": "((orders.o_orderdate >= '1996-01-01'::date) AND (orders.o_orderdate < '1996-04-01 00:00:00'::timestamp without time zone))", "Rows Removed by Index Recheck": 0, "Exact Heap Blocks": 8440, "Lossy Heap Blocks": 0, "Workers": [{"Worker Number": 0, "Actual Startup Time": 10.042, "Actual Total Time": 33.702, "Actual Rows": 12085, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 10.078, "Actual Total Time": 33.75, "Actual Rows": 12089, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 10.248, "Actual Total Time": 34.041, "Actual Rows": 11968, "Actual Loops": 1}], "Plans": [{"Node Type": "Bitmap Index Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Index Name": "o_od", "Startup Cost": 0.0, "Total Cost": 616.4, "Plan Rows": 56097, "Plan Width": 0, "Actual Startup Time": 7.982, "Actual Total Time": 7.982, "Actual Rows": 56568, "Actual Loops": 1, "Index Cond": "((orders.o_orderdate >= '1996-01-01'::date) AND (orders.o_orderdate < '1996-04-01 00:00:00'::timestamp without time zone))", "Workers": []}]}, {"Node Type": "Index Scan", "Parent Relationship": "Inner", "Parallel Aware": false, "Async Capable": false, "Scan Direction": "Forward", "Index Name": "l_ok", "Relation Name": "lineitem", "Schema": "public", "Alias": "lineitem", "Startup Cost": 0.43, "Total Cost": 1.6, "Plan Rows": 2, "Plan Width": 4, "Actual Startup Time": 0.005, "Actual Total Time": 0.005, "Actual Rows": 1, "Actual Loops": 56568, "Output": ["lineitem.l_orderkey", "lineitem.l_partkey", "lineitem.l_suppkey", "lineitem.l_linenumber", "lineitem.l_quantity", "lineitem.l_extendedprice", "lineitem.l_discount", "lineitem.l_tax", "lineitem.l_returnflag", "lineitem.l_linestatus", "lineitem.l_shipdate", "lineitem.l_commitdate", "lineitem.l_receiptdate", "lineitem.l_shipinstruct", "lineitem.l_shipmode", "lineitem.l_comment"], "Index Cond": "(lineitem.l_orderkey = orders.o_orderkey)", "Rows Removed by Index Recheck": 0, "Filter": "(lineitem.l_commitdate < lineitem.l_receiptdate)", "Rows Removed by Filter": 1, "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.006, "Actual Total Time": 0.006, "Actual Rows": 1, "Actual Loops": 12085}, {"Worker Number": 1, "Actual Startup Time": 0.006, "Actual Total Time": 0.006, "Actual Rows": 1, "Actual Loops": 12089}, {"Worker Number": 2, "Actual Startup Time": 0.006, "Actual Total Time": 0.006, "Actual Rows": 1, "Actual Loops": 11968}]}]}]}]}]}]}, "Planning Time": 0.411, "Triggers": [], "Execution Time": 143.597} diff --git a/dev9/pg16/tpch/sf_1/explain_analyze/15721/5-1.ok b/dev9/pg16/tpch/sf_1/explain_analyze/15721/5-1.ok new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/dev9/pg16/tpch/sf_1/explain_analyze/15721/5-1.res b/dev9/pg16/tpch/sf_1/explain_analyze/15721/5-1.res new file mode 100644 index 0000000000000000000000000000000000000000..555f3a9cf396410543a691a6c3586aa7f22eaa5f --- /dev/null +++ b/dev9/pg16/tpch/sf_1/explain_analyze/15721/5-1.res @@ -0,0 +1 @@ +{"Plan": {"Node Type": "Sort", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 41390.77, "Total Cost": 41390.84, "Plan Rows": 25, "Plan Width": 58, "Actual Startup Time": 270.887, "Actual Total Time": 300.019, "Actual Rows": 5, "Actual Loops": 1, "Output": ["nation.n_name", "(sum((lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount))))"], "Sort Key": ["(sum((lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount)))) DESC"], "Sort Method": "quicksort", "Sort Space Used": 25, "Sort Space Type": "Memory", "Plans": [{"Node Type": "Aggregate", "Strategy": "Sorted", "Partial Mode": "Finalize", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 41345.18, "Total Cost": 41390.19, "Plan Rows": 25, "Plan Width": 58, "Actual Startup Time": 269.803, "Actual Total Time": 300.01, "Actual Rows": 5, "Actual Loops": 1, "Output": ["nation.n_name", "sum((lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount)))"], "Group Key": ["nation.n_name"], "Plans": [{"Node Type": "Gather Merge", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 41345.18, "Total Cost": 41389.51, "Plan Rows": 50, "Plan Width": 58, "Actual Startup Time": 269.432, "Actual Total Time": 299.988, "Actual Rows": 15, "Actual Loops": 1, "Output": ["nation.n_name", "(PARTIAL sum((lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount))))"], "Workers Planned": 2, "Workers Launched": 2, "Plans": [{"Node Type": "Aggregate", "Strategy": "Sorted", "Partial Mode": "Partial", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 40345.16, "Total Cost": 40383.71, "Plan Rows": 25, "Plan Width": 58, "Actual Startup Time": 264.899, "Actual Total Time": 266.1, "Actual Rows": 5, "Actual Loops": 3, "Output": ["nation.n_name", "PARTIAL sum((lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount)))"], "Group Key": ["nation.n_name"], "Workers": [{"Worker Number": 0, "Actual Startup Time": 263.182, "Actual Total Time": 264.226, "Actual Rows": 5, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 263.772, "Actual Total Time": 264.906, "Actual Rows": 5, "Actual Loops": 1}], "Plans": [{"Node Type": "Sort", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 40345.16, "Total Cost": 40352.81, "Plan Rows": 3059, "Plan Width": 38, "Actual Startup Time": 264.585, "Actual Total Time": 264.749, "Actual Rows": 2456, "Actual Loops": 3, "Output": ["nation.n_name", "lineitem.l_extendedprice", "lineitem.l_discount"], "Sort Key": ["nation.n_name"], "Sort Method": "quicksort", "Sort Space Used": 277, "Sort Space Type": "Memory", "Workers": [{"Worker Number": 0, "Actual Startup Time": 262.91, "Actual Total Time": 263.043, "Actual Rows": 2147, "Actual Loops": 1, "Sort Method": "quicksort", "Sort Space Used": 231, "Sort Space Type": "Memory"}, {"Worker Number": 1, "Actual Startup Time": 263.473, "Actual Total Time": 263.628, "Actual Rows": 2330, "Actual Loops": 1, "Sort Method": "quicksort", "Sort Space Used": 242, "Sort Space Type": "Memory"}], "Plans": [{"Node Type": "Hash Join", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Join Type": "Inner", "Startup Cost": 476.37, "Total Cost": 40168.06, "Plan Rows": 3059, "Plan Width": 38, "Actual Startup Time": 5.424, "Actual Total Time": 263.408, "Actual Rows": 2456, "Actual Loops": 3, "Output": ["nation.n_name", "lineitem.l_extendedprice", "lineitem.l_discount"], "Inner Unique": true, "Hash Cond": "((lineitem.l_suppkey = supplier.s_suppkey) AND (customer.c_nationkey = supplier.s_nationkey))", "Workers": [{"Worker Number": 0, "Actual Startup Time": 6.26, "Actual Total Time": 261.857, "Actual Rows": 2147, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 6.521, "Actual Total Time": 262.291, "Actual Rows": 2330, "Actual Loops": 1}], "Plans": [{"Node Type": "Nested Loop", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Join Type": "Inner", "Startup Cost": 3.37, "Total Cost": 39293.63, "Plan Rows": 76464, "Plan Width": 50, "Actual Startup Time": 0.316, "Actual Total Time": 247.376, "Actual Rows": 60955, "Actual Loops": 3, "Output": ["customer.c_nationkey", "lineitem.l_extendedprice", "lineitem.l_discount", "lineitem.l_suppkey", "nation.n_name", "nation.n_nationkey"], "Inner Unique": false, "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.437, "Actual Total Time": 246.271, "Actual Rows": 55907, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 0.447, "Actual Total Time": 246.877, "Actual Rows": 55364, "Actual Loops": 1}], "Plans": [{"Node Type": "Nested Loop", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Join Type": "Inner", "Startup Cost": 2.94, "Total Cost": 17210.78, "Plan Rows": 19112, "Plan Width": 38, "Actual Startup Time": 0.269, "Actual Total Time": 134.588, "Actual Rows": 15210, "Actual Loops": 3, "Output": ["customer.c_nationkey", "orders.o_orderkey", "nation.n_name", "nation.n_nationkey"], "Inner Unique": false, "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.369, "Actual Total Time": 129.176, "Actual Rows": 13848, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 0.383, "Actual Total Time": 129.715, "Actual Rows": 13824, "Actual Loops": 1}], "Plans": [{"Node Type": "Hash Join", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Join Type": "Inner", "Startup Cost": 2.51, "Total Cost": 4580.88, "Plan Rows": 12500, "Plan Width": 38, "Actual Startup Time": 0.124, "Actual Total Time": 18.986, "Actual Rows": 9984, "Actual Loops": 3, "Output": ["customer.c_custkey", "customer.c_nationkey", "nation.n_name", "nation.n_nationkey"], "Inner Unique": false, "Hash Cond": "(customer.c_nationkey = nation.n_nationkey)", "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.173, "Actual Total Time": 17.908, "Actual Rows": 9092, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 0.163, "Actual Total Time": 18.052, "Actual Rows": 9100, "Actual Loops": 1}], "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": true, "Async Capable": false, "Relation Name": "customer", "Schema": "public", "Alias": "customer", "Startup Cost": 0.0, "Total Cost": 4219.0, "Plan Rows": 62500, "Plan Width": 8, "Actual Startup Time": 0.013, "Actual Total Time": 6.182, "Actual Rows": 50000, "Actual Loops": 3, "Output": ["customer.c_custkey", "customer.c_name", "customer.c_address", "customer.c_nationkey", "customer.c_phone", "customer.c_acctbal", "customer.c_mktsegment", "customer.c_comment"], "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.02, "Actual Total Time": 6.142, "Actual Rows": 45406, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 0.016, "Actual Total Time": 6.154, "Actual Rows": 45879, "Actual Loops": 1}]}, {"Node Type": "Hash", "Parent Relationship": "Inner", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 2.45, "Total Cost": 2.45, "Plan Rows": 5, "Plan Width": 30, "Actual Startup Time": 0.063, "Actual Total Time": 0.065, "Actual Rows": 5, "Actual Loops": 3, "Output": ["nation.n_name", "nation.n_nationkey"], "Hash Buckets": 1024, "Original Hash Buckets": 1024, "Hash Batches": 1, "Original Hash Batches": 1, "Peak Memory Usage": 9, "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.083, "Actual Total Time": 0.085, "Actual Rows": 5, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 0.081, "Actual Total Time": 0.083, "Actual Rows": 5, "Actual Loops": 1}], "Plans": [{"Node Type": "Hash Join", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Join Type": "Inner", "Startup Cost": 1.07, "Total Cost": 2.45, "Plan Rows": 5, "Plan Width": 30, "Actual Startup Time": 0.053, "Actual Total Time": 0.061, "Actual Rows": 5, "Actual Loops": 3, "Output": ["nation.n_name", "nation.n_nationkey"], "Inner Unique": true, "Hash Cond": "(nation.n_regionkey = region.r_regionkey)", "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.072, "Actual Total Time": 0.079, "Actual Rows": 5, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 0.069, "Actual Total Time": 0.078, "Actual Rows": 5, "Actual Loops": 1}], "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Relation Name": "nation", "Schema": "public", "Alias": "nation", "Startup Cost": 0.0, "Total Cost": 1.25, "Plan Rows": 25, "Plan Width": 34, "Actual Startup Time": 0.014, "Actual Total Time": 0.017, "Actual Rows": 25, "Actual Loops": 3, "Output": ["nation.n_nationkey", "nation.n_name", "nation.n_regionkey", "nation.n_comment"], "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.021, "Actual Total Time": 0.024, "Actual Rows": 25, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 0.02, "Actual Total Time": 0.022, "Actual Rows": 25, "Actual Loops": 1}]}, {"Node Type": "Hash", "Parent Relationship": "Inner", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 1.06, "Total Cost": 1.06, "Plan Rows": 1, "Plan Width": 4, "Actual Startup Time": 0.022, "Actual Total Time": 0.023, "Actual Rows": 1, "Actual Loops": 3, "Output": ["region.r_regionkey"], "Hash Buckets": 1024, "Original Hash Buckets": 1024, "Hash Batches": 1, "Original Hash Batches": 1, "Peak Memory Usage": 9, "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.029, "Actual Total Time": 0.03, "Actual Rows": 1, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 0.028, "Actual Total Time": 0.029, "Actual Rows": 1, "Actual Loops": 1}], "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Relation Name": "region", "Schema": "public", "Alias": "region", "Startup Cost": 0.0, "Total Cost": 1.06, "Plan Rows": 1, "Plan Width": 4, "Actual Startup Time": 0.014, "Actual Total Time": 0.015, "Actual Rows": 1, "Actual Loops": 3, "Output": ["region.r_regionkey"], "Filter": "(region.r_name = 'AMERICA'::bpchar)", "Rows Removed by Filter": 4, "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.019, "Actual Total Time": 0.02, "Actual Rows": 1, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 0.018, "Actual Total Time": 0.019, "Actual Rows": 1, "Actual Loops": 1}]}]}]}]}]}, {"Node Type": "Index Scan", "Parent Relationship": "Inner", "Parallel Aware": false, "Async Capable": false, "Scan Direction": "Forward", "Index Name": "o_ck", "Relation Name": "orders", "Schema": "public", "Alias": "orders", "Startup Cost": 0.43, "Total Cost": 0.99, "Plan Rows": 2, "Plan Width": 8, "Actual Startup Time": 0.005, "Actual Total Time": 0.011, "Actual Rows": 2, "Actual Loops": 29952, "Output": ["orders.o_orderkey", "orders.o_custkey", "orders.o_orderstatus", "orders.o_totalprice", "orders.o_orderdate", "orders.o_orderpriority", "orders.o_clerk", "orders.o_shippriority", "orders.o_comment"], "Index Cond": "(orders.o_custkey = customer.c_custkey)", "Rows Removed by Index Recheck": 0, "Filter": "((orders.o_orderdate >= '1995-01-01'::date) AND (orders.o_orderdate < '1996-01-01 00:00:00'::timestamp without time zone))", "Rows Removed by Filter": 8, "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.006, "Actual Total Time": 0.012, "Actual Rows": 2, "Actual Loops": 9092}, {"Worker Number": 1, "Actual Startup Time": 0.006, "Actual Total Time": 0.012, "Actual Rows": 2, "Actual Loops": 9100}]}]}, {"Node Type": "Index Scan", "Parent Relationship": "Inner", "Parallel Aware": false, "Async Capable": false, "Scan Direction": "Forward", "Index Name": "l_ok", "Relation Name": "lineitem", "Schema": "public", "Alias": "lineitem", "Startup Cost": 0.43, "Total Cost": 1.11, "Plan Rows": 5, "Plan Width": 20, "Actual Startup Time": 0.005, "Actual Total Time": 0.006, "Actual Rows": 4, "Actual Loops": 45630, "Output": ["lineitem.l_orderkey", "lineitem.l_partkey", "lineitem.l_suppkey", "lineitem.l_linenumber", "lineitem.l_quantity", "lineitem.l_extendedprice", "lineitem.l_discount", "lineitem.l_tax", "lineitem.l_returnflag", "lineitem.l_linestatus", "lineitem.l_shipdate", "lineitem.l_commitdate", "lineitem.l_receiptdate", "lineitem.l_shipinstruct", "lineitem.l_shipmode", "lineitem.l_comment"], "Index Cond": "(lineitem.l_orderkey = orders.o_orderkey)", "Rows Removed by Index Recheck": 0, "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.006, "Actual Total Time": 0.007, "Actual Rows": 4, "Actual Loops": 13848}, {"Worker Number": 1, "Actual Startup Time": 0.007, "Actual Total Time": 0.007, "Actual Rows": 4, "Actual Loops": 13824}]}]}, {"Node Type": "Hash", "Parent Relationship": "Inner", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 323.0, "Total Cost": 323.0, "Plan Rows": 10000, "Plan Width": 8, "Actual Startup Time": 4.196, "Actual Total Time": 4.197, "Actual Rows": 10000, "Actual Loops": 3, "Output": ["supplier.s_suppkey", "supplier.s_nationkey"], "Hash Buckets": 16384, "Original Hash Buckets": 16384, "Hash Batches": 1, "Original Hash Batches": 1, "Peak Memory Usage": 519, "Workers": [{"Worker Number": 0, "Actual Startup Time": 4.647, "Actual Total Time": 4.648, "Actual Rows": 10000, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 4.54, "Actual Total Time": 4.54, "Actual Rows": 10000, "Actual Loops": 1}], "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Relation Name": "supplier", "Schema": "public", "Alias": "supplier", "Startup Cost": 0.0, "Total Cost": 323.0, "Plan Rows": 10000, "Plan Width": 8, "Actual Startup Time": 0.014, "Actual Total Time": 2.445, "Actual Rows": 10000, "Actual Loops": 3, "Output": ["supplier.s_suppkey", "supplier.s_nationkey"], "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.02, "Actual Total Time": 2.828, "Actual Rows": 10000, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 0.019, "Actual Total Time": 2.708, "Actual Rows": 10000, "Actual Loops": 1}]}]}]}]}]}]}]}]}, "Planning Time": 2.588, "Triggers": [], "Execution Time": 300.098} diff --git a/dev9/pg16/tpch/sf_1/explain_analyze/15721/6-1.ok b/dev9/pg16/tpch/sf_1/explain_analyze/15721/6-1.ok new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/dev9/pg16/tpch/sf_1/explain_analyze/15721/6-1.res b/dev9/pg16/tpch/sf_1/explain_analyze/15721/6-1.res new file mode 100644 index 0000000000000000000000000000000000000000..4ee6a85e9a6160a4584bdc2e025f9871a6d5c43a --- /dev/null +++ b/dev9/pg16/tpch/sf_1/explain_analyze/15721/6-1.res @@ -0,0 +1 @@ +{"Plan": {"Node Type": "Aggregate", "Strategy": "Plain", "Partial Mode": "Finalize", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 127863.58, "Total Cost": 127863.59, "Plan Rows": 1, "Plan Width": 32, "Actual Startup Time": 271.791, "Actual Total Time": 296.025, "Actual Rows": 1, "Actual Loops": 1, "Output": ["sum((l_extendedprice * l_discount))"], "Plans": [{"Node Type": "Gather", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 127863.04, "Total Cost": 127863.55, "Plan Rows": 5, "Plan Width": 32, "Actual Startup Time": 270.356, "Actual Total Time": 296.012, "Actual Rows": 6, "Actual Loops": 1, "Output": ["(PARTIAL sum((l_extendedprice * l_discount)))"], "Workers Planned": 5, "Workers Launched": 5, "Single Copy": false, "Plans": [{"Node Type": "Aggregate", "Strategy": "Plain", "Partial Mode": "Partial", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 126863.04, "Total Cost": 126863.05, "Plan Rows": 1, "Plan Width": 32, "Actual Startup Time": 266.346, "Actual Total Time": 266.347, "Actual Rows": 1, "Actual Loops": 6, "Output": ["PARTIAL sum((l_extendedprice * l_discount))"], "Workers": [{"Worker Number": 0, "Actual Startup Time": 265.029, "Actual Total Time": 265.03, "Actual Rows": 1, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 265.074, "Actual Total Time": 265.075, "Actual Rows": 1, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 265.898, "Actual Total Time": 265.899, "Actual Rows": 1, "Actual Loops": 1}, {"Worker Number": 3, "Actual Startup Time": 265.936, "Actual Total Time": 265.938, "Actual Rows": 1, "Actual Loops": 1}, {"Worker Number": 4, "Actual Startup Time": 266.132, "Actual Total Time": 266.133, "Actual Rows": 1, "Actual Loops": 1}], "Plans": [{"Node Type": "Bitmap Heap Scan", "Parent Relationship": "Outer", "Parallel Aware": true, "Async Capable": false, "Relation Name": "lineitem", "Schema": "public", "Alias": "lineitem", "Startup Cost": 10069.21, "Total Cost": 126748.22, "Plan Rows": 22964, "Plan Width": 12, "Actual Startup Time": 116.526, "Actual Total Time": 260.044, "Actual Rows": 19184, "Actual Loops": 6, "Output": ["l_orderkey", "l_partkey", "l_suppkey", "l_linenumber", "l_quantity", "l_extendedprice", "l_discount", "l_tax", "l_returnflag", "l_linestatus", "l_shipdate", "l_commitdate", "l_receiptdate", "l_shipinstruct", "l_shipmode", "l_comment"], "Recheck Cond": "((lineitem.l_shipdate >= '1995-01-01'::date) AND (lineitem.l_shipdate < '1996-01-01 00:00:00'::timestamp without time zone))", "Rows Removed by Index Recheck": 0, "Filter": "((lineitem.l_discount >= 0.04) AND (lineitem.l_discount <= 0.06) AND (lineitem.l_quantity < '24'::numeric))", "Rows Removed by Filter": 133310, "Exact Heap Blocks": 25836, "Lossy Heap Blocks": 0, "Workers": [{"Worker Number": 0, "Actual Startup Time": 115.302, "Actual Total Time": 259.227, "Actual Rows": 17263, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 115.357, "Actual Total Time": 259.203, "Actual Rows": 17449, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 116.163, "Actual Total Time": 259.992, "Actual Rows": 17544, "Actual Loops": 1}, {"Worker Number": 3, "Actual Startup Time": 116.191, "Actual Total Time": 260.151, "Actual Rows": 17167, "Actual Loops": 1}, {"Worker Number": 4, "Actual Startup Time": 116.369, "Actual Total Time": 260.323, "Actual Rows": 17255, "Actual Loops": 1}], "Plans": [{"Node Type": "Bitmap Index Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Index Name": "l_sd", "Startup Cost": 0.0, "Total Cost": 10040.5, "Plan Rows": 916447, "Plan Width": 0, "Actual Startup Time": 86.278, "Actual Total Time": 86.278, "Actual Rows": 914963, "Actual Loops": 1, "Index Cond": "((lineitem.l_shipdate >= '1995-01-01'::date) AND (lineitem.l_shipdate < '1996-01-01 00:00:00'::timestamp without time zone))", "Workers": []}]}]}]}]}, "Planning Time": 0.144, "Triggers": [], "Execution Time": 296.061} diff --git a/dev9/pg16/tpch/sf_1/explain_analyze/15721/7-1.ok b/dev9/pg16/tpch/sf_1/explain_analyze/15721/7-1.ok new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/dev9/pg16/tpch/sf_1/explain_analyze/15721/7-1.res b/dev9/pg16/tpch/sf_1/explain_analyze/15721/7-1.res new file mode 100644 index 0000000000000000000000000000000000000000..afe603a4ab832a48f324def20ea88ab3aa05449d --- /dev/null +++ b/dev9/pg16/tpch/sf_1/explain_analyze/15721/7-1.res @@ -0,0 +1 @@ +{"Plan": {"Node Type": "Aggregate", "Strategy": "Sorted", "Partial Mode": "Finalize", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 36248.54, "Total Cost": 37070.75, "Plan Rows": 6083, "Plan Width": 116, "Actual Startup Time": 656.627, "Actual Total Time": 695.14, "Actual Rows": 4, "Actual Loops": 1, "Output": ["n1.n_name", "n2.n_name", "(EXTRACT(year FROM lineitem.l_shipdate))", "sum((lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount)))"], "Group Key": ["n1.n_name", "n2.n_name", "(EXTRACT(year FROM lineitem.l_shipdate))"], "Plans": [{"Node Type": "Gather Merge", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 36248.54, "Total Cost": 36916.13, "Plan Rows": 5070, "Plan Width": 116, "Actual Startup Time": 655.813, "Actual Total Time": 695.121, "Actual Rows": 12, "Actual Loops": 1, "Output": ["n1.n_name", "n2.n_name", "(EXTRACT(year FROM lineitem.l_shipdate))", "(PARTIAL sum((lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount))))"], "Workers Planned": 2, "Workers Launched": 2, "Plans": [{"Node Type": "Aggregate", "Strategy": "Sorted", "Partial Mode": "Partial", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 35248.52, "Total Cost": 35330.91, "Plan Rows": 2535, "Plan Width": 116, "Actual Startup Time": 651.158, "Actual Total Time": 652.322, "Actual Rows": 4, "Actual Loops": 3, "Output": ["n1.n_name", "n2.n_name", "(EXTRACT(year FROM lineitem.l_shipdate))", "PARTIAL sum((lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount)))"], "Group Key": ["n1.n_name", "n2.n_name", "(EXTRACT(year FROM lineitem.l_shipdate))"], "Workers": [{"Worker Number": 0, "Actual Startup Time": 648.942, "Actual Total Time": 649.423, "Actual Rows": 4, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 649.199, "Actual Total Time": 649.687, "Actual Rows": 4, "Actual Loops": 1}], "Plans": [{"Node Type": "Sort", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 35248.52, "Total Cost": 35254.86, "Plan Rows": 2535, "Plan Width": 96, "Actual Startup Time": 650.76, "Actual Total Time": 650.881, "Actual Rows": 1875, "Actual Loops": 3, "Output": ["n1.n_name", "n2.n_name", "(EXTRACT(year FROM lineitem.l_shipdate))", "lineitem.l_extendedprice", "lineitem.l_discount"], "Sort Key": ["n1.n_name", "n2.n_name", "(EXTRACT(year FROM lineitem.l_shipdate))"], "Sort Method": "quicksort", "Sort Space Used": 477, "Sort Space Type": "Memory", "Workers": [{"Worker Number": 0, "Actual Startup Time": 648.748, "Actual Total Time": 648.8, "Actual Rows": 796, "Actual Loops": 1, "Sort Method": "quicksort", "Sort Space Used": 99, "Sort Space Type": "Memory"}, {"Worker Number": 1, "Actual Startup Time": 649.031, "Actual Total Time": 649.082, "Actual Rows": 765, "Actual Loops": 1, "Sort Method": "quicksort", "Sort Space Used": 96, "Sort Space Type": "Memory"}], "Plans": [{"Node Type": "Hash Join", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Join Type": "Inner", "Startup Cost": 25051.51, "Total Cost": 35105.19, "Plan Rows": 2535, "Plan Width": 96, "Actual Startup Time": 568.585, "Actual Total Time": 649.372, "Actual Rows": 1875, "Actual Loops": 3, "Output": ["n1.n_name", "n2.n_name", "EXTRACT(year FROM lineitem.l_shipdate)", "lineitem.l_extendedprice", "lineitem.l_discount"], "Inner Unique": false, "Hash Cond": "(orders.o_orderkey = lineitem.l_orderkey)", "Join Filter": "(((n1.n_name = 'IRAN'::bpchar) AND (n2.n_name = 'ETHIOPIA'::bpchar)) OR ((n1.n_name = 'ETHIOPIA'::bpchar) AND (n2.n_name = 'IRAN'::bpchar)))", "Rows Removed by Join Filter": 1861, "Workers": [{"Worker Number": 0, "Actual Startup Time": 604.799, "Actual Total Time": 648.095, "Actual Rows": 796, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 604.707, "Actual Total Time": 648.386, "Actual Rows": 765, "Actual Loops": 1}], "Plans": [{"Node Type": "Nested Loop", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Join Type": "Inner", "Startup Cost": 1.83, "Total Cost": 9764.23, "Plan Rows": 50000, "Plan Width": 30, "Actual Startup Time": 0.127, "Actual Total Time": 68.92, "Actual Rows": 39794, "Actual Loops": 3, "Output": ["orders.o_orderkey", "n2.n_name"], "Inner Unique": false, "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.175, "Actual Total Time": 38.557, "Actual Rows": 16515, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 0.166, "Actual Total Time": 38.654, "Actual Rows": 16627, "Actual Loops": 1}], "Plans": [{"Node Type": "Hash Join", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Join Type": "Inner", "Startup Cost": 1.4, "Total Cost": 4412.27, "Plan Rows": 5000, "Plan Width": 30, "Actual Startup Time": 0.086, "Actual Total Time": 15.532, "Actual Rows": 3987, "Actual Loops": 3, "Output": ["customer.c_custkey", "n2.n_name"], "Inner Unique": true, "Hash Cond": "(customer.c_nationkey = n2.n_nationkey)", "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.118, "Actual Total Time": 7.211, "Actual Rows": 1672, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 0.112, "Actual Total Time": 7.115, "Actual Rows": 1637, "Actual Loops": 1}], "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": true, "Async Capable": false, "Relation Name": "customer", "Schema": "public", "Alias": "customer", "Startup Cost": 0.0, "Total Cost": 4219.0, "Plan Rows": 62500, "Plan Width": 8, "Actual Startup Time": 0.014, "Actual Total Time": 5.504, "Actual Rows": 50000, "Actual Loops": 3, "Output": ["customer.c_custkey", "customer.c_name", "customer.c_address", "customer.c_nationkey", "customer.c_phone", "customer.c_acctbal", "customer.c_mktsegment", "customer.c_comment"], "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.02, "Actual Total Time": 2.78, "Actual Rows": 21017, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 0.019, "Actual Total Time": 2.74, "Actual Rows": 20680, "Actual Loops": 1}]}, {"Node Type": "Hash", "Parent Relationship": "Inner", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 1.38, "Total Cost": 1.38, "Plan Rows": 2, "Plan Width": 30, "Actual Startup Time": 0.026, "Actual Total Time": 0.027, "Actual Rows": 2, "Actual Loops": 3, "Output": ["n2.n_name", "n2.n_nationkey"], "Hash Buckets": 1024, "Original Hash Buckets": 1024, "Hash Batches": 1, "Original Hash Batches": 1, "Peak Memory Usage": 9, "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.032, "Actual Total Time": 0.032, "Actual Rows": 2, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 0.032, "Actual Total Time": 0.033, "Actual Rows": 2, "Actual Loops": 1}], "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Relation Name": "nation", "Schema": "public", "Alias": "n2", "Startup Cost": 0.0, "Total Cost": 1.38, "Plan Rows": 2, "Plan Width": 30, "Actual Startup Time": 0.016, "Actual Total Time": 0.02, "Actual Rows": 2, "Actual Loops": 3, "Output": ["n2.n_name", "n2.n_nationkey"], "Filter": "((n2.n_name = 'ETHIOPIA'::bpchar) OR (n2.n_name = 'IRAN'::bpchar))", "Rows Removed by Filter": 23, "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.02, "Actual Total Time": 0.025, "Actual Rows": 2, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 0.02, "Actual Total Time": 0.025, "Actual Rows": 2, "Actual Loops": 1}]}]}]}, {"Node Type": "Index Scan", "Parent Relationship": "Inner", "Parallel Aware": false, "Async Capable": false, "Scan Direction": "Forward", "Index Name": "o_ck", "Relation Name": "orders", "Schema": "public", "Alias": "orders", "Startup Cost": 0.43, "Total Cost": 0.91, "Plan Rows": 16, "Plan Width": 8, "Actual Startup Time": 0.003, "Actual Total Time": 0.012, "Actual Rows": 10, "Actual Loops": 11961, "Output": ["orders.o_orderkey", "orders.o_custkey", "orders.o_orderstatus", "orders.o_totalprice", "orders.o_orderdate", "orders.o_orderpriority", "orders.o_clerk", "orders.o_shippriority", "orders.o_comment"], "Index Cond": "(orders.o_custkey = customer.c_custkey)", "Rows Removed by Index Recheck": 0, "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.003, "Actual Total Time": 0.017, "Actual Rows": 10, "Actual Loops": 1672}, {"Worker Number": 1, "Actual Startup Time": 0.003, "Actual Total Time": 0.018, "Actual Rows": 10, "Actual Loops": 1637}]}]}, {"Node Type": "Hash", "Parent Relationship": "Inner", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 23222.51, "Total Cost": 23222.51, "Plan Rows": 146174, "Plan Width": 46, "Actual Startup Time": 567.351, "Actual Total Time": 567.353, "Actual Rows": 140959, "Actual Loops": 3, "Output": ["lineitem.l_shipdate", "lineitem.l_extendedprice", "lineitem.l_discount", "lineitem.l_orderkey", "n1.n_name"], "Hash Buckets": 262144, "Original Hash Buckets": 262144, "Hash Batches": 1, "Original Hash Batches": 1, "Peak Memory Usage": 13200, "Workers": [{"Worker Number": 0, "Actual Startup Time": 602.958, "Actual Total Time": 602.96, "Actual Rows": 140959, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 603.201, "Actual Total Time": 603.204, "Actual Rows": 140959, "Actual Loops": 1}], "Plans": [{"Node Type": "Nested Loop", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Join Type": "Inner", "Startup Cost": 4.92, "Total Cost": 23222.51, "Plan Rows": 146174, "Plan Width": 46, "Actual Startup Time": 0.16, "Actual Total Time": 517.439, "Actual Rows": 140959, "Actual Loops": 3, "Output": ["lineitem.l_shipdate", "lineitem.l_extendedprice", "lineitem.l_discount", "lineitem.l_orderkey", "n1.n_name"], "Inner Unique": false, "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.2, "Actual Total Time": 550.922, "Actual Rows": 140959, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 0.196, "Actual Total Time": 553.707, "Actual Rows": 140959, "Actual Loops": 1}], "Plans": [{"Node Type": "Nested Loop", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Join Type": "Inner", "Startup Cost": 4.48, "Total Cost": 258.87, "Plan Rows": 800, "Plan Width": 30, "Actual Startup Time": 0.1, "Actual Total Time": 1.201, "Actual Rows": 773, "Actual Loops": 3, "Output": ["supplier.s_suppkey", "n1.n_name"], "Inner Unique": false, "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.116, "Actual Total Time": 1.283, "Actual Rows": 773, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 0.117, "Actual Total Time": 1.276, "Actual Rows": 773, "Actual Loops": 1}], "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Relation Name": "nation", "Schema": "public", "Alias": "n1", "Startup Cost": 0.0, "Total Cost": 1.38, "Plan Rows": 2, "Plan Width": 30, "Actual Startup Time": 0.004, "Actual Total Time": 0.014, "Actual Rows": 2, "Actual Loops": 3, "Output": ["n1.n_nationkey", "n1.n_name", "n1.n_regionkey", "n1.n_comment"], "Filter": "((n1.n_name = 'IRAN'::bpchar) OR (n1.n_name = 'ETHIOPIA'::bpchar))", "Rows Removed by Filter": 23, "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.004, "Actual Total Time": 0.015, "Actual Rows": 2, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 0.004, "Actual Total Time": 0.014, "Actual Rows": 2, "Actual Loops": 1}]}, {"Node Type": "Bitmap Heap Scan", "Parent Relationship": "Inner", "Parallel Aware": false, "Async Capable": false, "Relation Name": "supplier", "Schema": "public", "Alias": "supplier", "Startup Cost": 4.48, "Total Cost": 124.75, "Plan Rows": 400, "Plan Width": 8, "Actual Startup Time": 0.073, "Actual Total Time": 0.515, "Actual Rows": 386, "Actual Loops": 6, "Output": ["supplier.s_suppkey", "supplier.s_name", "supplier.s_address", "supplier.s_nationkey", "supplier.s_phone", "supplier.s_acctbal", "supplier.s_comment"], "Recheck Cond": "(supplier.s_nationkey = n1.n_nationkey)", "Rows Removed by Index Recheck": 0, "Exact Heap Blocks": 369, "Lossy Heap Blocks": 0, "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.081, "Actual Total Time": 0.558, "Actual Rows": 386, "Actual Loops": 2}, {"Worker Number": 1, "Actual Startup Time": 0.082, "Actual Total Time": 0.556, "Actual Rows": 386, "Actual Loops": 2}], "Plans": [{"Node Type": "Bitmap Index Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Index Name": "s_nk", "Startup Cost": 0.0, "Total Cost": 4.38, "Plan Rows": 400, "Plan Width": 0, "Actual Startup Time": 0.039, "Actual Total Time": 0.039, "Actual Rows": 386, "Actual Loops": 6, "Index Cond": "(supplier.s_nationkey = n1.n_nationkey)", "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.046, "Actual Total Time": 0.046, "Actual Rows": 386, "Actual Loops": 2}, {"Worker Number": 1, "Actual Startup Time": 0.046, "Actual Total Time": 0.046, "Actual Rows": 386, "Actual Loops": 2}]}]}]}, {"Node Type": "Index Scan", "Parent Relationship": "Inner", "Parallel Aware": false, "Async Capable": false, "Scan Direction": "Forward", "Index Name": "l_sk", "Relation Name": "lineitem", "Schema": "public", "Alias": "lineitem", "Startup Cost": 0.43, "Total Cost": 26.87, "Plan Rows": 183, "Plan Width": 24, "Actual Startup Time": 0.01, "Actual Total Time": 0.643, "Actual Rows": 182, "Actual Loops": 2319, "Output": ["lineitem.l_orderkey", "lineitem.l_partkey", "lineitem.l_suppkey", "lineitem.l_linenumber", "lineitem.l_quantity", "lineitem.l_extendedprice", "lineitem.l_discount", "lineitem.l_tax", "lineitem.l_returnflag", "lineitem.l_linestatus", "lineitem.l_shipdate", "lineitem.l_commitdate", "lineitem.l_receiptdate", "lineitem.l_shipinstruct", "lineitem.l_shipmode", "lineitem.l_comment"], "Index Cond": "(lineitem.l_suppkey = supplier.s_suppkey)", "Rows Removed by Index Recheck": 0, "Filter": "((lineitem.l_shipdate >= '1995-01-01'::date) AND (lineitem.l_shipdate <= '1996-12-31'::date))", "Rows Removed by Filter": 417, "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.012, "Actual Total Time": 0.686, "Actual Rows": 182, "Actual Loops": 773}, {"Worker Number": 1, "Actual Startup Time": 0.012, "Actual Total Time": 0.69, "Actual Rows": 182, "Actual Loops": 773}]}]}]}]}]}]}]}]}, "Planning Time": 1.652, "Triggers": [], "Execution Time": 695.284} diff --git a/dev9/pg16/tpch/sf_1/explain_analyze/15721/8-1.ok b/dev9/pg16/tpch/sf_1/explain_analyze/15721/8-1.ok new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/dev9/pg16/tpch/sf_1/explain_analyze/15721/8-1.res b/dev9/pg16/tpch/sf_1/explain_analyze/15721/8-1.res new file mode 100644 index 0000000000000000000000000000000000000000..46d0b5a4c10f2f7496c0292c376c297a0eab8f2f --- /dev/null +++ b/dev9/pg16/tpch/sf_1/explain_analyze/15721/8-1.res @@ -0,0 +1 @@ +{"Plan": {"Node Type": "Aggregate", "Strategy": "Sorted", "Partial Mode": "Finalize", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 34691.29, "Total Cost": 35057.75, "Plan Rows": 2406, "Plan Width": 64, "Actual Startup Time": 148.52, "Actual Total Time": 174.943, "Actual Rows": 2, "Actual Loops": 1, "Output": ["(EXTRACT(year FROM orders.o_orderdate))", "(sum(CASE WHEN (n2.n_name = 'ETHIOPIA'::bpchar) THEN (lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount)) ELSE '0'::numeric END) / sum((lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount))))"], "Group Key": ["(EXTRACT(year FROM orders.o_orderdate))"], "Plans": [{"Node Type": "Gather Merge", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 34691.29, "Total Cost": 34982.73, "Plan Rows": 2152, "Plan Width": 96, "Actual Startup Time": 148.101, "Actual Total Time": 174.926, "Actual Rows": 6, "Actual Loops": 1, "Output": ["(EXTRACT(year FROM orders.o_orderdate))", "(PARTIAL sum(CASE WHEN (n2.n_name = 'ETHIOPIA'::bpchar) THEN (lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount)) ELSE '0'::numeric END))", "(PARTIAL sum((lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount))))"], "Workers Planned": 2, "Workers Launched": 2, "Plans": [{"Node Type": "Aggregate", "Strategy": "Sorted", "Partial Mode": "Partial", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 33691.27, "Total Cost": 33734.31, "Plan Rows": 1076, "Plan Width": 96, "Actual Startup Time": 144.383, "Actual Total Time": 144.69, "Actual Rows": 2, "Actual Loops": 3, "Output": ["(EXTRACT(year FROM orders.o_orderdate))", "PARTIAL sum(CASE WHEN (n2.n_name = 'ETHIOPIA'::bpchar) THEN (lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount)) ELSE '0'::numeric END)", "PARTIAL sum((lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount)))"], "Group Key": ["(EXTRACT(year FROM orders.o_orderdate))"], "Workers": [{"Worker Number": 0, "Actual Startup Time": 142.834, "Actual Total Time": 143.082, "Actual Rows": 2, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 142.925, "Actual Total Time": 143.186, "Actual Rows": 2, "Actual Loops": 1}], "Plans": [{"Node Type": "Sort", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 33691.27, "Total Cost": 33693.96, "Plan Rows": 1076, "Plan Width": 70, "Actual Startup Time": 144.067, "Actual Total Time": 144.121, "Actual Rows": 809, "Actual Loops": 3, "Output": ["(EXTRACT(year FROM orders.o_orderdate))", "n2.n_name", "lineitem.l_extendedprice", "lineitem.l_discount"], "Sort Key": ["(EXTRACT(year FROM orders.o_orderdate))"], "Sort Method": "quicksort", "Sort Space Used": 127, "Sort Space Type": "Memory", "Workers": [{"Worker Number": 0, "Actual Startup Time": 142.573, "Actual Total Time": 142.617, "Actual Rows": 653, "Actual Loops": 1, "Sort Method": "quicksort", "Sort Space Used": 70, "Sort Space Type": "Memory"}, {"Worker Number": 1, "Actual Startup Time": 142.67, "Actual Total Time": 142.714, "Actual Rows": 658, "Actual Loops": 1, "Sort Method": "quicksort", "Sort Space Used": 71, "Sort Space Type": "Memory"}], "Plans": [{"Node Type": "Hash Join", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Join Type": "Inner", "Startup Cost": 2020.81, "Total Cost": 33637.08, "Plan Rows": 1076, "Plan Width": 70, "Actual Startup Time": 26.624, "Actual Total Time": 143.667, "Actual Rows": 809, "Actual Loops": 3, "Output": ["EXTRACT(year FROM orders.o_orderdate)", "n2.n_name", "lineitem.l_extendedprice", "lineitem.l_discount"], "Inner Unique": true, "Hash Cond": "(supplier.s_nationkey = n2.n_nationkey)", "Workers": [{"Worker Number": 0, "Actual Startup Time": 27.61, "Actual Total Time": 142.205, "Actual Rows": 653, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 28.509, "Actual Total Time": 142.298, "Actual Rows": 658, "Actual Loops": 1}], "Plans": [{"Node Type": "Nested Loop", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Join Type": "Inner", "Startup Cost": 2019.24, "Total Cost": 33629.53, "Plan Rows": 1076, "Plan Width": 20, "Actual Startup Time": 26.545, "Actual Total Time": 143.134, "Actual Rows": 809, "Actual Loops": 3, "Output": ["lineitem.l_extendedprice", "lineitem.l_discount", "supplier.s_nationkey", "orders.o_orderdate"], "Inner Unique": true, "Workers": [{"Worker Number": 0, "Actual Startup Time": 27.504, "Actual Total Time": 141.731, "Actual Rows": 653, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 28.405, "Actual Total Time": 141.812, "Actual Rows": 658, "Actual Loops": 1}], "Plans": [{"Node Type": "Hash Join", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Join Type": "Inner", "Startup Cost": 2018.96, "Total Cost": 33303.99, "Plan Rows": 1076, "Plan Width": 20, "Actual Startup Time": 26.524, "Actual Total Time": 140.764, "Actual Rows": 809, "Actual Loops": 3, "Output": ["lineitem.l_extendedprice", "lineitem.l_discount", "lineitem.l_suppkey", "orders.o_orderdate"], "Inner Unique": false, "Hash Cond": "(orders.o_custkey = customer.c_custkey)", "Workers": [{"Worker Number": 0, "Actual Startup Time": 27.476, "Actual Total Time": 139.716, "Actual Rows": 653, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 28.377, "Actual Total Time": 139.78, "Actual Rows": 658, "Actual Loops": 1}], "Plans": [{"Node Type": "Nested Loop", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Join Type": "Inner", "Startup Cost": 0.86, "Total Cost": 31254.95, "Plan Rows": 5382, "Plan Width": 24, "Actual Startup Time": 0.167, "Actual Total Time": 113.382, "Actual Rows": 4114, "Actual Loops": 3, "Output": ["lineitem.l_extendedprice", "lineitem.l_discount", "lineitem.l_suppkey", "orders.o_orderdate", "orders.o_custkey"], "Inner Unique": true, "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.244, "Actual Total Time": 111.437, "Actual Rows": 3258, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 0.163, "Actual Total Time": 111.22, "Actual Rows": 3308, "Actual Loops": 1}], "Plans": [{"Node Type": "Nested Loop", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Join Type": "Inner", "Startup Cost": 0.43, "Total Cost": 23230.1, "Plan Rows": 17616, "Plan Width": 20, "Actual Startup Time": 0.097, "Actual Total Time": 48.373, "Actual Rows": 13553, "Actual Loops": 3, "Output": ["lineitem.l_extendedprice", "lineitem.l_discount", "lineitem.l_suppkey", "lineitem.l_orderkey"], "Inner Unique": false, "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.171, "Actual Total Time": 52.279, "Actual Rows": 10790, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 0.093, "Actual Total Time": 52.07, "Actual Rows": 10764, "Actual Loops": 1}], "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": true, "Async Capable": false, "Relation Name": "part", "Schema": "public", "Alias": "part", "Startup Cost": 0.0, "Total Cost": 5138.67, "Plan Rows": 587, "Plan Width": 4, "Actual Startup Time": 0.04, "Actual Total Time": 12.281, "Actual Rows": 451, "Actual Loops": 3, "Output": ["part.p_partkey", "part.p_name", "part.p_mfgr", "part.p_brand", "part.p_type", "part.p_size", "part.p_container", "part.p_retailprice", "part.p_comment"], "Filter": "((part.p_type)::text = 'SMALL BRUSHED NICKEL'::text)", "Rows Removed by Filter": 66216, "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.088, "Actual Total Time": 10.597, "Actual Rows": 360, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 0.021, "Actual Total Time": 10.31, "Actual Rows": 357, "Actual Loops": 1}]}, {"Node Type": "Index Scan", "Parent Relationship": "Inner", "Parallel Aware": false, "Async Capable": false, "Scan Direction": "Forward", "Index Name": "l_pk", "Relation Name": "lineitem", "Schema": "public", "Alias": "lineitem", "Startup Cost": 0.43, "Total Cost": 30.51, "Plan Rows": 31, "Plan Width": 24, "Actual Startup Time": 0.007, "Actual Total Time": 0.074, "Actual Rows": 30, "Actual Loops": 1352, "Output": ["lineitem.l_orderkey", "lineitem.l_partkey", "lineitem.l_suppkey", "lineitem.l_linenumber", "lineitem.l_quantity", "lineitem.l_extendedprice", "lineitem.l_discount", "lineitem.l_tax", "lineitem.l_returnflag", "lineitem.l_linestatus", "lineitem.l_shipdate", "lineitem.l_commitdate", "lineitem.l_receiptdate", "lineitem.l_shipinstruct", "lineitem.l_shipmode", "lineitem.l_comment"], "Index Cond": "(lineitem.l_partkey = part.p_partkey)", "Rows Removed by Index Recheck": 0, "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.01, "Actual Total Time": 0.109, "Actual Rows": 30, "Actual Loops": 360}, {"Worker Number": 1, "Actual Startup Time": 0.01, "Actual Total Time": 0.11, "Actual Rows": 30, "Actual Loops": 357}]}]}, {"Node Type": "Index Scan", "Parent Relationship": "Inner", "Parallel Aware": false, "Async Capable": false, "Scan Direction": "Forward", "Index Name": "o_ok", "Relation Name": "orders", "Schema": "public", "Alias": "orders", "Startup Cost": 0.43, "Total Cost": 0.46, "Plan Rows": 1, "Plan Width": 12, "Actual Startup Time": 0.004, "Actual Total Time": 0.004, "Actual Rows": 0, "Actual Loops": 40658, "Output": ["orders.o_orderkey", "orders.o_custkey", "orders.o_orderstatus", "orders.o_totalprice", "orders.o_orderdate", "orders.o_orderpriority", "orders.o_clerk", "orders.o_shippriority", "orders.o_comment"], "Index Cond": "(orders.o_orderkey = lineitem.l_orderkey)", "Rows Removed by Index Recheck": 0, "Filter": "((orders.o_orderdate >= '1995-01-01'::date) AND (orders.o_orderdate <= '1996-12-31'::date))", "Rows Removed by Filter": 1, "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.005, "Actual Total Time": 0.005, "Actual Rows": 0, "Actual Loops": 10790}, {"Worker Number": 1, "Actual Startup Time": 0.005, "Actual Total Time": 0.005, "Actual Rows": 0, "Actual Loops": 10764}]}]}, {"Node Type": "Hash", "Parent Relationship": "Inner", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 1643.1, "Total Cost": 1643.1, "Plan Rows": 30000, "Plan Width": 4, "Actual Startup Time": 25.87, "Actual Total Time": 25.872, "Actual Rows": 29764, "Actual Loops": 3, "Output": ["customer.c_custkey"], "Hash Buckets": 32768, "Original Hash Buckets": 32768, "Hash Batches": 1, "Original Hash Batches": 1, "Peak Memory Usage": 1303, "Workers": [{"Worker Number": 0, "Actual Startup Time": 26.956, "Actual Total Time": 26.958, "Actual Rows": 29764, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 27.275, "Actual Total Time": 27.277, "Actual Rows": 29764, "Actual Loops": 1}], "Plans": [{"Node Type": "Nested Loop", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Join Type": "Inner", "Startup Cost": 0.43, "Total Cost": 1643.1, "Plan Rows": 30000, "Plan Width": 4, "Actual Startup Time": 0.081, "Actual Total Time": 20.836, "Actual Rows": 29764, "Actual Loops": 3, "Output": ["customer.c_custkey"], "Inner Unique": false, "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.109, "Actual Total Time": 21.76, "Actual Rows": 29764, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 0.11, "Actual Total Time": 21.986, "Actual Rows": 29764, "Actual Loops": 1}], "Plans": [{"Node Type": "Nested Loop", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Join Type": "Inner", "Startup Cost": 0.14, "Total Cost": 5.25, "Plan Rows": 5, "Plan Width": 4, "Actual Startup Time": 0.038, "Actual Total Time": 0.059, "Actual Rows": 5, "Actual Loops": 3, "Output": ["n1.n_nationkey"], "Inner Unique": true, "Join Filter": "(n1.n_regionkey = region.r_regionkey)", "Rows Removed by Join Filter": 20, "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.048, "Actual Total Time": 0.069, "Actual Rows": 5, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 0.054, "Actual Total Time": 0.074, "Actual Rows": 5, "Actual Loops": 1}], "Plans": [{"Node Type": "Index Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Scan Direction": "Forward", "Index Name": "n_nk", "Relation Name": "nation", "Schema": "public", "Alias": "n1", "Startup Cost": 0.14, "Total Cost": 3.81, "Plan Rows": 25, "Plan Width": 8, "Actual Startup Time": 0.018, "Actual Total Time": 0.024, "Actual Rows": 25, "Actual Loops": 3, "Output": ["n1.n_nationkey", "n1.n_name", "n1.n_regionkey", "n1.n_comment"], "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.023, "Actual Total Time": 0.029, "Actual Rows": 25, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 0.027, "Actual Total Time": 0.033, "Actual Rows": 25, "Actual Loops": 1}]}, {"Node Type": "Materialize", "Parent Relationship": "Inner", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 0.0, "Total Cost": 1.07, "Plan Rows": 1, "Plan Width": 4, "Actual Startup Time": 0.001, "Actual Total Time": 0.001, "Actual Rows": 1, "Actual Loops": 75, "Output": ["region.r_regionkey"], "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.001, "Actual Total Time": 0.001, "Actual Rows": 1, "Actual Loops": 25}, {"Worker Number": 1, "Actual Startup Time": 0.001, "Actual Total Time": 0.001, "Actual Rows": 1, "Actual Loops": 25}], "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Relation Name": "region", "Schema": "public", "Alias": "region", "Startup Cost": 0.0, "Total Cost": 1.06, "Plan Rows": 1, "Plan Width": 4, "Actual Startup Time": 0.015, "Actual Total Time": 0.017, "Actual Rows": 1, "Actual Loops": 3, "Output": ["region.r_regionkey"], "Filter": "(region.r_name = 'AFRICA'::bpchar)", "Rows Removed by Filter": 4, "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.02, "Actual Total Time": 0.022, "Actual Rows": 1, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 0.022, "Actual Total Time": 0.024, "Actual Rows": 1, "Actual Loops": 1}]}]}]}, {"Node Type": "Index Scan", "Parent Relationship": "Inner", "Parallel Aware": false, "Async Capable": false, "Scan Direction": "Forward", "Index Name": "c_nk", "Relation Name": "customer", "Schema": "public", "Alias": "customer", "Startup Cost": 0.29, "Total Cost": 267.57, "Plan Rows": 6000, "Plan Width": 8, "Actual Startup Time": 0.013, "Actual Total Time": 3.403, "Actual Rows": 5953, "Actual Loops": 15, "Output": ["customer.c_custkey", "customer.c_name", "customer.c_address", "customer.c_nationkey", "customer.c_phone", "customer.c_acctbal", "customer.c_mktsegment", "customer.c_comment"], "Index Cond": "(customer.c_nationkey = n1.n_nationkey)", "Rows Removed by Index Recheck": 0, "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.017, "Actual Total Time": 3.635, "Actual Rows": 5953, "Actual Loops": 5}, {"Worker Number": 1, "Actual Startup Time": 0.016, "Actual Total Time": 3.67, "Actual Rows": 5953, "Actual Loops": 5}]}]}]}]}, {"Node Type": "Index Scan", "Parent Relationship": "Inner", "Parallel Aware": false, "Async Capable": false, "Scan Direction": "Forward", "Index Name": "s_sk", "Relation Name": "supplier", "Schema": "public", "Alias": "supplier", "Startup Cost": 0.29, "Total Cost": 0.3, "Plan Rows": 1, "Plan Width": 8, "Actual Startup Time": 0.002, "Actual Total Time": 0.002, "Actual Rows": 1, "Actual Loops": 2426, "Output": ["supplier.s_suppkey", "supplier.s_name", "supplier.s_address", "supplier.s_nationkey", "supplier.s_phone", "supplier.s_acctbal", "supplier.s_comment"], "Index Cond": "(supplier.s_suppkey = lineitem.l_suppkey)", "Rows Removed by Index Recheck": 0, "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.003, "Actual Total Time": 0.003, "Actual Rows": 1, "Actual Loops": 653}, {"Worker Number": 1, "Actual Startup Time": 0.002, "Actual Total Time": 0.002, "Actual Rows": 1, "Actual Loops": 658}]}]}, {"Node Type": "Hash", "Parent Relationship": "Inner", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 1.25, "Total Cost": 1.25, "Plan Rows": 25, "Plan Width": 30, "Actual Startup Time": 0.028, "Actual Total Time": 0.028, "Actual Rows": 25, "Actual Loops": 3, "Output": ["n2.n_name", "n2.n_nationkey"], "Hash Buckets": 1024, "Original Hash Buckets": 1024, "Hash Batches": 1, "Original Hash Batches": 1, "Peak Memory Usage": 10, "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.034, "Actual Total Time": 0.035, "Actual Rows": 25, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 0.033, "Actual Total Time": 0.033, "Actual Rows": 25, "Actual Loops": 1}], "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Relation Name": "nation", "Schema": "public", "Alias": "n2", "Startup Cost": 0.0, "Total Cost": 1.25, "Plan Rows": 25, "Plan Width": 30, "Actual Startup Time": 0.013, "Actual Total Time": 0.017, "Actual Rows": 25, "Actual Loops": 3, "Output": ["n2.n_name", "n2.n_nationkey"], "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.017, "Actual Total Time": 0.021, "Actual Rows": 25, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 0.016, "Actual Total Time": 0.02, "Actual Rows": 25, "Actual Loops": 1}]}]}]}]}]}]}]}, "Planning Time": 2.71, "Triggers": [], "Execution Time": 175.037} diff --git a/dev9/pg16/tpch/sf_1/explain_analyze/15721/9-1.ok b/dev9/pg16/tpch/sf_1/explain_analyze/15721/9-1.ok new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/dev9/pg16/tpch/sf_1/explain_analyze/15721/9-1.res b/dev9/pg16/tpch/sf_1/explain_analyze/15721/9-1.res new file mode 100644 index 0000000000000000000000000000000000000000..b1fcf66733a67b6fb0819e7bc40a0f790dfc10f7 --- /dev/null +++ b/dev9/pg16/tpch/sf_1/explain_analyze/15721/9-1.res @@ -0,0 +1 @@ +{"Plan": {"Node Type": "Sort", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 86679.01, "Total Cost": 86829.38, "Plan Rows": 60150, "Plan Width": 90, "Actual Startup Time": 538.899, "Actual Total Time": 578.237, "Actual Rows": 175, "Actual Loops": 1, "Output": ["nation.n_name", "(EXTRACT(year FROM orders.o_orderdate))", "(sum(((lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount)) - (partsupp.ps_supplycost * lineitem.l_quantity))))"], "Sort Key": ["nation.n_name", "(EXTRACT(year FROM orders.o_orderdate)) DESC"], "Sort Method": "quicksort", "Sort Space Used": 35, "Sort Space Type": "Memory", "Plans": [{"Node Type": "Aggregate", "Strategy": "Hashed", "Partial Mode": "Finalize", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 81001.97, "Total Cost": 81904.22, "Plan Rows": 60150, "Plan Width": 90, "Actual Startup Time": 538.218, "Actual Total Time": 577.969, "Actual Rows": 175, "Actual Loops": 1, "Output": ["nation.n_name", "(EXTRACT(year FROM orders.o_orderdate))", "sum(((lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount)) - (partsupp.ps_supplycost * lineitem.l_quantity)))"], "Group Key": ["nation.n_name", "(EXTRACT(year FROM orders.o_orderdate))"], "Planned Partitions": 0, "HashAgg Batches": 1, "Peak Memory Usage": 3217, "Disk Usage": 0, "Plans": [{"Node Type": "Gather", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 60250.22, "Total Cost": 79197.47, "Plan Rows": 180450, "Plan Width": 90, "Actual Startup Time": 532.707, "Actual Total Time": 576.908, "Actual Rows": 700, "Actual Loops": 1, "Output": ["nation.n_name", "(EXTRACT(year FROM orders.o_orderdate))", "(PARTIAL sum(((lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount)) - (partsupp.ps_supplycost * lineitem.l_quantity))))"], "Workers Planned": 3, "Workers Launched": 3, "Single Copy": false, "Plans": [{"Node Type": "Aggregate", "Strategy": "Hashed", "Partial Mode": "Partial", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 59250.22, "Total Cost": 60152.47, "Plan Rows": 60150, "Plan Width": 90, "Actual Startup Time": 527.467, "Actual Total Time": 527.921, "Actual Rows": 175, "Actual Loops": 4, "Output": ["nation.n_name", "(EXTRACT(year FROM orders.o_orderdate))", "PARTIAL sum(((lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount)) - (partsupp.ps_supplycost * lineitem.l_quantity)))"], "Group Key": ["nation.n_name", "EXTRACT(year FROM orders.o_orderdate)"], "Planned Partitions": 0, "HashAgg Batches": 1, "Peak Memory Usage": 3217, "Disk Usage": 0, "Workers": [{"Worker Number": 0, "Actual Startup Time": 525.7, "Actual Total Time": 526.149, "Actual Rows": 175, "Actual Loops": 1, "HashAgg Batches": 1, "Peak Memory Usage": 3217, "Disk Usage": 0}, {"Worker Number": 1, "Actual Startup Time": 525.738, "Actual Total Time": 526.188, "Actual Rows": 175, "Actual Loops": 1, "HashAgg Batches": 1, "Peak Memory Usage": 3217, "Disk Usage": 0}, {"Worker Number": 2, "Actual Startup Time": 526.2, "Actual Total Time": 526.649, "Actual Rows": 175, "Actual Loops": 1, "HashAgg Batches": 1, "Peak Memory Usage": 3217, "Disk Usage": 0}], "Plans": [{"Node Type": "Hash Join", "Parent Relationship": "Outer", "Parallel Aware": true, "Async Capable": false, "Join Type": "Inner", "Startup Cost": 24128.14, "Total Cost": 57552.95, "Plan Rows": 96987, "Plan Width": 81, "Actual Startup Time": 257.822, "Actual Total Time": 435.359, "Actual Rows": 80496, "Actual Loops": 4, "Output": ["nation.n_name", "EXTRACT(year FROM orders.o_orderdate)", "lineitem.l_extendedprice", "lineitem.l_discount", "partsupp.ps_supplycost", "lineitem.l_quantity"], "Inner Unique": false, "Hash Cond": "(orders.o_orderkey = lineitem.l_orderkey)", "Workers": [{"Worker Number": 0, "Actual Startup Time": 256.116, "Actual Total Time": 433.481, "Actual Rows": 80431, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 256.178, "Actual Total Time": 434.266, "Actual Rows": 80030, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 256.369, "Actual Total Time": 434.998, "Actual Rows": 79727, "Actual Loops": 1}], "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": true, "Async Capable": false, "Relation Name": "orders", "Schema": "public", "Alias": "orders", "Startup Cost": 0.0, "Total Cost": 30963.71, "Plan Rows": 483871, "Plan Width": 8, "Actual Startup Time": 0.017, "Actual Total Time": 36.293, "Actual Rows": 375000, "Actual Loops": 4, "Output": ["orders.o_orderkey", "orders.o_custkey", "orders.o_orderstatus", "orders.o_totalprice", "orders.o_orderdate", "orders.o_orderpriority", "orders.o_clerk", "orders.o_shippriority", "orders.o_comment"], "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.021, "Actual Total Time": 36.86, "Actual Rows": 373792, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 0.023, "Actual Total Time": 36.784, "Actual Rows": 372141, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 0.022, "Actual Total Time": 36.738, "Actual Rows": 371851, "Actual Loops": 1}]}, {"Node Type": "Hash", "Parent Relationship": "Inner", "Parallel Aware": true, "Async Capable": false, "Startup Cost": 22562.21, "Total Cost": 22562.21, "Plan Rows": 125275, "Plan Width": 53, "Actual Startup Time": 256.679, "Actual Total Time": 256.684, "Actual Rows": 80496, "Actual Loops": 4, "Output": ["lineitem.l_extendedprice", "lineitem.l_discount", "lineitem.l_quantity", "lineitem.l_orderkey", "partsupp.ps_supplycost", "nation.n_name"], "Hash Buckets": 524288, "Original Hash Buckets": 524288, "Hash Batches": 1, "Original Hash Batches": 1, "Peak Memory Usage": 34336, "Workers": [{"Worker Number": 0, "Actual Startup Time": 256.0, "Actual Total Time": 256.006, "Actual Rows": 74375, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 256.024, "Actual Total Time": 256.029, "Actual Rows": 73551, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 256.237, "Actual Total Time": 256.242, "Actual Rows": 74491, "Actual Loops": 1}], "Plans": [{"Node Type": "Nested Loop", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Join Type": "Inner", "Startup Cost": 450.42, "Total Cost": 22562.21, "Plan Rows": 125275, "Plan Width": 53, "Actual Startup Time": 4.522, "Actual Total Time": 212.412, "Actual Rows": 80496, "Actual Loops": 4, "Output": ["lineitem.l_extendedprice", "lineitem.l_discount", "lineitem.l_quantity", "lineitem.l_orderkey", "partsupp.ps_supplycost", "nation.n_name"], "Inner Unique": false, "Join Filter": "(supplier.s_suppkey = lineitem.l_suppkey)", "Rows Removed by Join Filter": 0, "Workers": [{"Worker Number": 0, "Actual Startup Time": 4.955, "Actual Total Time": 213.582, "Actual Rows": 74375, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 4.983, "Actual Total Time": 214.182, "Actual Rows": 73551, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 4.721, "Actual Total Time": 215.102, "Actual Rows": 74491, "Actual Loops": 1}], "Plans": [{"Node Type": "Hash Join", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Join Type": "Inner", "Startup Cost": 449.99, "Total Cost": 12041.46, "Plan Rows": 16700, "Plan Width": 48, "Actual Startup Time": 4.464, "Actual Total Time": 44.208, "Actual Rows": 10737, "Actual Loops": 4, "Output": ["part.p_partkey", "partsupp.ps_supplycost", "partsupp.ps_suppkey", "partsupp.ps_partkey", "supplier.s_suppkey", "nation.n_name"], "Inner Unique": true, "Hash Cond": "(supplier.s_nationkey = nation.n_nationkey)", "Workers": [{"Worker Number": 0, "Actual Startup Time": 4.879, "Actual Total Time": 43.641, "Actual Rows": 9952, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 4.909, "Actual Total Time": 43.256, "Actual Rows": 9836, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 4.651, "Actual Total Time": 43.375, "Actual Rows": 9900, "Actual Loops": 1}], "Plans": [{"Node Type": "Hash Join", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Join Type": "Inner", "Startup Cost": 448.43, "Total Cost": 11988.63, "Plan Rows": 16700, "Plan Width": 26, "Actual Startup Time": 4.422, "Actual Total Time": 40.908, "Actual Rows": 10737, "Actual Loops": 4, "Output": ["part.p_partkey", "partsupp.ps_supplycost", "partsupp.ps_suppkey", "partsupp.ps_partkey", "supplier.s_suppkey", "supplier.s_nationkey"], "Inner Unique": true, "Hash Cond": "(partsupp.ps_suppkey = supplier.s_suppkey)", "Workers": [{"Worker Number": 0, "Actual Startup Time": 4.832, "Actual Total Time": 40.437, "Actual Rows": 9952, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 4.861, "Actual Total Time": 40.352, "Actual Rows": 9836, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 4.602, "Actual Total Time": 40.205, "Actual Rows": 9900, "Actual Loops": 1}], "Plans": [{"Node Type": "Nested Loop", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Join Type": "Inner", "Startup Cost": 0.42, "Total Cost": 11496.77, "Plan Rows": 16700, "Plan Width": 18, "Actual Startup Time": 0.074, "Actual Total Time": 31.298, "Actual Rows": 10737, "Actual Loops": 4, "Output": ["part.p_partkey", "partsupp.ps_supplycost", "partsupp.ps_suppkey", "partsupp.ps_partkey"], "Inner Unique": false, "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.094, "Actual Total Time": 30.777, "Actual Rows": 9952, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 0.094, "Actual Total Time": 30.687, "Actual Rows": 9836, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 0.088, "Actual Total Time": 30.749, "Actual Rows": 9900, "Actual Loops": 1}], "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": true, "Async Capable": false, "Relation Name": "part", "Schema": "public", "Alias": "part", "Startup Cost": 0.0, "Total Cost": 5138.67, "Plan Rows": 4175, "Plan Width": 4, "Actual Startup Time": 0.021, "Actual Total Time": 14.689, "Actual Rows": 2684, "Actual Loops": 4, "Output": ["part.p_partkey", "part.p_name", "part.p_mfgr", "part.p_brand", "part.p_type", "part.p_size", "part.p_container", "part.p_retailprice", "part.p_comment"], "Filter": "((part.p_name)::text ~~ '%forest%'::text)", "Rows Removed by Filter": 47316, "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.027, "Actual Total Time": 14.218, "Actual Rows": 2488, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 0.028, "Actual Total Time": 14.19, "Actual Rows": 2459, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 0.025, "Actual Total Time": 14.124, "Actual Rows": 2475, "Actual Loops": 1}]}, {"Node Type": "Index Scan", "Parent Relationship": "Inner", "Parallel Aware": false, "Async Capable": false, "Scan Direction": "Forward", "Index Name": "ps_pk", "Relation Name": "partsupp", "Schema": "public", "Alias": "partsupp", "Startup Cost": 0.42, "Total Cost": 1.48, "Plan Rows": 4, "Plan Width": 14, "Actual Startup Time": 0.004, "Actual Total Time": 0.005, "Actual Rows": 4, "Actual Loops": 10737, "Output": ["partsupp.ps_partkey", "partsupp.ps_suppkey", "partsupp.ps_availqty", "partsupp.ps_supplycost", "partsupp.ps_comment"], "Index Cond": "(partsupp.ps_partkey = part.p_partkey)", "Rows Removed by Index Recheck": 0, "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.005, "Actual Total Time": 0.006, "Actual Rows": 4, "Actual Loops": 2488}, {"Worker Number": 1, "Actual Startup Time": 0.005, "Actual Total Time": 0.006, "Actual Rows": 4, "Actual Loops": 2459}, {"Worker Number": 2, "Actual Startup Time": 0.005, "Actual Total Time": 0.006, "Actual Rows": 4, "Actual Loops": 2475}]}]}, {"Node Type": "Hash", "Parent Relationship": "Inner", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 323.0, "Total Cost": 323.0, "Plan Rows": 10000, "Plan Width": 8, "Actual Startup Time": 4.27, "Actual Total Time": 4.27, "Actual Rows": 10000, "Actual Loops": 4, "Output": ["supplier.s_suppkey", "supplier.s_nationkey"], "Hash Buckets": 16384, "Original Hash Buckets": 16384, "Hash Batches": 1, "Original Hash Batches": 1, "Peak Memory Usage": 519, "Workers": [{"Worker Number": 0, "Actual Startup Time": 4.643, "Actual Total Time": 4.644, "Actual Rows": 10000, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 4.668, "Actual Total Time": 4.669, "Actual Rows": 10000, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 4.417, "Actual Total Time": 4.417, "Actual Rows": 10000, "Actual Loops": 1}], "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Relation Name": "supplier", "Schema": "public", "Alias": "supplier", "Startup Cost": 0.0, "Total Cost": 323.0, "Plan Rows": 10000, "Plan Width": 8, "Actual Startup Time": 0.012, "Actual Total Time": 2.614, "Actual Rows": 10000, "Actual Loops": 4, "Output": ["supplier.s_suppkey", "supplier.s_nationkey"], "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.015, "Actual Total Time": 2.946, "Actual Rows": 10000, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 0.015, "Actual Total Time": 2.959, "Actual Rows": 10000, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 0.016, "Actual Total Time": 2.695, "Actual Rows": 10000, "Actual Loops": 1}]}]}]}, {"Node Type": "Hash", "Parent Relationship": "Inner", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 1.25, "Total Cost": 1.25, "Plan Rows": 25, "Plan Width": 30, "Actual Startup Time": 0.03, "Actual Total Time": 0.031, "Actual Rows": 25, "Actual Loops": 4, "Output": ["nation.n_name", "nation.n_nationkey"], "Hash Buckets": 1024, "Original Hash Buckets": 1024, "Hash Batches": 1, "Original Hash Batches": 1, "Peak Memory Usage": 10, "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.033, "Actual Total Time": 0.034, "Actual Rows": 25, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 0.034, "Actual Total Time": 0.035, "Actual Rows": 25, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 0.035, "Actual Total Time": 0.036, "Actual Rows": 25, "Actual Loops": 1}], "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Relation Name": "nation", "Schema": "public", "Alias": "nation", "Startup Cost": 0.0, "Total Cost": 1.25, "Plan Rows": 25, "Plan Width": 30, "Actual Startup Time": 0.014, "Actual Total Time": 0.018, "Actual Rows": 25, "Actual Loops": 4, "Output": ["nation.n_name", "nation.n_nationkey"], "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.016, "Actual Total Time": 0.02, "Actual Rows": 25, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 0.017, "Actual Total Time": 0.021, "Actual Rows": 25, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 0.017, "Actual Total Time": 0.021, "Actual Rows": 25, "Actual Loops": 1}]}]}]}, {"Node Type": "Index Scan", "Parent Relationship": "Inner", "Parallel Aware": false, "Async Capable": false, "Scan Direction": "Forward", "Index Name": "l_sk_pk", "Relation Name": "lineitem", "Schema": "public", "Alias": "lineitem", "Startup Cost": 0.43, "Total Cost": 0.62, "Plan Rows": 1, "Plan Width": 29, "Actual Startup Time": 0.005, "Actual Total Time": 0.014, "Actual Rows": 7, "Actual Loops": 42948, "Output": ["lineitem.l_orderkey", "lineitem.l_partkey", "lineitem.l_suppkey", "lineitem.l_linenumber", "lineitem.l_quantity", "lineitem.l_extendedprice", "lineitem.l_discount", "lineitem.l_tax", "lineitem.l_returnflag", "lineitem.l_linestatus", "lineitem.l_shipdate", "lineitem.l_commitdate", "lineitem.l_receiptdate", "lineitem.l_shipinstruct", "lineitem.l_shipmode", "lineitem.l_comment"], "Index Cond": "((lineitem.l_suppkey = partsupp.ps_suppkey) AND (lineitem.l_partkey = partsupp.ps_partkey))", "Rows Removed by Index Recheck": 0, "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.005, "Actual Total Time": 0.015, "Actual Rows": 7, "Actual Loops": 9952}, {"Worker Number": 1, "Actual Startup Time": 0.005, "Actual Total Time": 0.015, "Actual Rows": 7, "Actual Loops": 9836}, {"Worker Number": 2, "Actual Startup Time": 0.005, "Actual Total Time": 0.015, "Actual Rows": 8, "Actual Loops": 9900}]}]}]}]}]}]}]}]}, "Planning Time": 4.295, "Triggers": [], "Execution Time": 579.204} diff --git a/dev9/pg16/tpch/sf_10/explain/15721/1-1.ok b/dev9/pg16/tpch/sf_10/explain/15721/1-1.ok new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/dev9/pg16/tpch/sf_10/explain/15721/1-1.res b/dev9/pg16/tpch/sf_10/explain/15721/1-1.res new file mode 100644 index 0000000000000000000000000000000000000000..3d232fc4ee4973a9bf2c0c6db8f8dc761e4b335d --- /dev/null +++ b/dev9/pg16/tpch/sf_10/explain/15721/1-1.res @@ -0,0 +1 @@ +{"Plan": {"Node Type": "Aggregate", "Strategy": "Sorted", "Partial Mode": "Finalize", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 1526283.03, "Total Cost": 1526289.72, "Plan Rows": 6, "Plan Width": 236, "Output": ["l_returnflag", "l_linestatus", "sum(l_quantity)", "sum(l_extendedprice)", "sum((l_extendedprice * ('1'::numeric - l_discount)))", "sum(((l_extendedprice * ('1'::numeric - l_discount)) * ('1'::numeric + l_tax)))", "avg(l_quantity)", "avg(l_extendedprice)", "avg(l_discount)", "count(*)"], "Group Key": ["lineitem.l_returnflag", "lineitem.l_linestatus"], "Plans": [{"Node Type": "Gather Merge", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 1526283.03, "Total Cost": 1526288.19, "Plan Rows": 42, "Plan Width": 236, "Output": ["l_returnflag", "l_linestatus", "(PARTIAL sum(l_quantity))", "(PARTIAL sum(l_extendedprice))", "(PARTIAL sum((l_extendedprice * ('1'::numeric - l_discount))))", "(PARTIAL sum(((l_extendedprice * ('1'::numeric - l_discount)) * ('1'::numeric + l_tax))))", "(PARTIAL avg(l_quantity))", "(PARTIAL avg(l_extendedprice))", "(PARTIAL avg(l_discount))", "(PARTIAL count(*))"], "Workers Planned": 7, "Plans": [{"Node Type": "Sort", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 1525282.91, "Total Cost": 1525282.92, "Plan Rows": 6, "Plan Width": 236, "Output": ["l_returnflag", "l_linestatus", "(PARTIAL sum(l_quantity))", "(PARTIAL sum(l_extendedprice))", "(PARTIAL sum((l_extendedprice * ('1'::numeric - l_discount))))", "(PARTIAL sum(((l_extendedprice * ('1'::numeric - l_discount)) * ('1'::numeric + l_tax))))", "(PARTIAL avg(l_quantity))", "(PARTIAL avg(l_extendedprice))", "(PARTIAL avg(l_discount))", "(PARTIAL count(*))"], "Sort Key": ["lineitem.l_returnflag", "lineitem.l_linestatus"], "Plans": [{"Node Type": "Aggregate", "Strategy": "Hashed", "Partial Mode": "Partial", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 1525282.69, "Total Cost": 1525282.83, "Plan Rows": 6, "Plan Width": 236, "Output": ["l_returnflag", "l_linestatus", "PARTIAL sum(l_quantity)", "PARTIAL sum(l_extendedprice)", "PARTIAL sum((l_extendedprice * ('1'::numeric - l_discount)))", "PARTIAL sum(((l_extendedprice * ('1'::numeric - l_discount)) * ('1'::numeric + l_tax)))", "PARTIAL avg(l_quantity)", "PARTIAL avg(l_extendedprice)", "PARTIAL avg(l_discount)", "PARTIAL count(*)"], "Group Key": ["lineitem.l_returnflag", "lineitem.l_linestatus"], "Planned Partitions": 0, "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": true, "Async Capable": false, "Relation Name": "lineitem", "Schema": "public", "Alias": "lineitem", "Startup Cost": 0.0, "Total Cost": 1232208.2, "Plan Rows": 8373557, "Plan Width": 25, "Output": ["l_orderkey", "l_partkey", "l_suppkey", "l_linenumber", "l_quantity", "l_extendedprice", "l_discount", "l_tax", "l_returnflag", "l_linestatus", "l_shipdate", "l_commitdate", "l_receiptdate", "l_shipinstruct", "l_shipmode", "l_comment"], "Filter": "(lineitem.l_shipdate <= '1998-08-07 23:59:57'::timestamp without time zone)"}]}]}]}]}} diff --git a/dev9/pg16/tpch/sf_10/explain/15721/10-1.ok b/dev9/pg16/tpch/sf_10/explain/15721/10-1.ok new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/dev9/pg16/tpch/sf_10/explain/15721/10-1.res b/dev9/pg16/tpch/sf_10/explain/15721/10-1.res new file mode 100644 index 0000000000000000000000000000000000000000..3459deacd99bde051119049ffbba3761f2e3bf1f --- /dev/null +++ b/dev9/pg16/tpch/sf_10/explain/15721/10-1.res @@ -0,0 +1 @@ +{"Plan": {"Node Type": "Limit", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 640768.75, "Total Cost": 640768.8, "Plan Rows": 20, "Plan Width": 202, "Output": ["customer.c_custkey", "customer.c_name", "(sum((lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount))))", "customer.c_acctbal", "nation.n_name", "customer.c_address", "customer.c_phone", "customer.c_comment"], "Plans": [{"Node Type": "Sort", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 640768.75, "Total Cost": 642139.43, "Plan Rows": 548273, "Plan Width": 202, "Output": ["customer.c_custkey", "customer.c_name", "(sum((lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount))))", "customer.c_acctbal", "nation.n_name", "customer.c_address", "customer.c_phone", "customer.c_comment"], "Sort Key": ["(sum((lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount)))) DESC"], "Plans": [{"Node Type": "Aggregate", "Strategy": "Sorted", "Partial Mode": "Simple", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 546825.31, "Total Cost": 626179.4, "Plan Rows": 548273, "Plan Width": 202, "Output": ["customer.c_custkey", "customer.c_name", "sum((lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount)))", "customer.c_acctbal", "nation.n_name", "customer.c_address", "customer.c_phone", "customer.c_comment"], "Group Key": ["customer.c_custkey", "nation.n_name"], "Plans": [{"Node Type": "Gather Merge", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 546825.31, "Total Cost": 612472.58, "Plan Rows": 548273, "Plan Width": 182, "Output": ["customer.c_custkey", "nation.n_name", "customer.c_name", "lineitem.l_extendedprice", "lineitem.l_discount", "customer.c_acctbal", "customer.c_address", "customer.c_phone", "customer.c_comment"], "Workers Planned": 4, "Plans": [{"Node Type": "Sort", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 545825.25, "Total Cost": 546167.92, "Plan Rows": 137068, "Plan Width": 182, "Output": ["customer.c_custkey", "nation.n_name", "customer.c_name", "lineitem.l_extendedprice", "lineitem.l_discount", "customer.c_acctbal", "customer.c_address", "customer.c_phone", "customer.c_comment"], "Sort Key": ["customer.c_custkey", "nation.n_name"], "Plans": [{"Node Type": "Hash Join", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Join Type": "Inner", "Startup Cost": 484327.19, "Total Cost": 526994.19, "Plan Rows": 137068, "Plan Width": 182, "Output": ["customer.c_custkey", "nation.n_name", "customer.c_name", "lineitem.l_extendedprice", "lineitem.l_discount", "customer.c_acctbal", "customer.c_address", "customer.c_phone", "customer.c_comment"], "Inner Unique": true, "Hash Cond": "(customer.c_nationkey = nation.n_nationkey)", "Plans": [{"Node Type": "Hash Join", "Parent Relationship": "Outer", "Parallel Aware": true, "Async Capable": false, "Join Type": "Inner", "Startup Cost": 484325.63, "Total Cost": 526571.83, "Plan Rows": 137068, "Plan Width": 160, "Output": ["customer.c_custkey", "customer.c_name", "customer.c_acctbal", "customer.c_address", "customer.c_phone", "customer.c_comment", "customer.c_nationkey", "lineitem.l_extendedprice", "lineitem.l_discount"], "Inner Unique": false, "Hash Cond": "(customer.c_custkey = orders.o_custkey)", "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": true, "Async Capable": false, "Relation Name": "customer", "Schema": "public", "Alias": "customer", "Startup Cost": 0.0, "Total Cost": 39674.0, "Plan Rows": 375000, "Plan Width": 148, "Output": ["customer.c_custkey", "customer.c_name", "customer.c_address", "customer.c_nationkey", "customer.c_phone", "customer.c_acctbal", "customer.c_mktsegment", "customer.c_comment"]}, {"Node Type": "Hash", "Parent Relationship": "Inner", "Parallel Aware": true, "Async Capable": false, "Startup Cost": 483183.39, "Total Cost": 483183.39, "Plan Rows": 91379, "Plan Width": 16, "Output": ["orders.o_custkey", "lineitem.l_extendedprice", "lineitem.l_discount"], "Plans": [{"Node Type": "Nested Loop", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Join Type": "Inner", "Startup Cost": 6217.4, "Total Cost": 483183.39, "Plan Rows": 91379, "Plan Width": 16, "Output": ["orders.o_custkey", "lineitem.l_extendedprice", "lineitem.l_discount"], "Inner Unique": false, "Plans": [{"Node Type": "Bitmap Heap Scan", "Parent Relationship": "Outer", "Parallel Aware": true, "Async Capable": false, "Relation Name": "orders", "Schema": "public", "Alias": "orders", "Startup Cost": 6216.83, "Total Cost": 268816.59, "Plan Rows": 92584, "Plan Width": 8, "Output": ["orders.o_orderkey", "orders.o_custkey", "orders.o_orderstatus", "orders.o_totalprice", "orders.o_orderdate", "orders.o_orderpriority", "orders.o_clerk", "orders.o_shippriority", "orders.o_comment"], "Recheck Cond": "((orders.o_orderdate >= '1993-02-01'::date) AND (orders.o_orderdate < '1993-05-01 00:00:00'::timestamp without time zone))", "Plans": [{"Node Type": "Bitmap Index Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Index Name": "o_od", "Startup Cost": 0.0, "Total Cost": 6077.96, "Plan Rows": 555502, "Plan Width": 0, "Index Cond": "((orders.o_orderdate >= '1993-02-01'::date) AND (orders.o_orderdate < '1993-05-01 00:00:00'::timestamp without time zone))"}]}, {"Node Type": "Index Scan", "Parent Relationship": "Inner", "Parallel Aware": false, "Async Capable": false, "Scan Direction": "Forward", "Index Name": "l_ok", "Relation Name": "lineitem", "Schema": "public", "Alias": "lineitem", "Startup Cost": 0.56, "Total Cost": 2.24, "Plan Rows": 8, "Plan Width": 16, "Output": ["lineitem.l_orderkey", "lineitem.l_partkey", "lineitem.l_suppkey", "lineitem.l_linenumber", "lineitem.l_quantity", "lineitem.l_extendedprice", "lineitem.l_discount", "lineitem.l_tax", "lineitem.l_returnflag", "lineitem.l_linestatus", "lineitem.l_shipdate", "lineitem.l_commitdate", "lineitem.l_receiptdate", "lineitem.l_shipinstruct", "lineitem.l_shipmode", "lineitem.l_comment"], "Index Cond": "(lineitem.l_orderkey = orders.o_orderkey)", "Filter": "(lineitem.l_returnflag = 'R'::bpchar)"}]}]}]}, {"Node Type": "Hash", "Parent Relationship": "Inner", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 1.25, "Total Cost": 1.25, "Plan Rows": 25, "Plan Width": 30, "Output": ["nation.n_name", "nation.n_nationkey"], "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Relation Name": "nation", "Schema": "public", "Alias": "nation", "Startup Cost": 0.0, "Total Cost": 1.25, "Plan Rows": 25, "Plan Width": 30, "Output": ["nation.n_name", "nation.n_nationkey"]}]}]}]}]}]}]}]}} diff --git a/dev9/pg16/tpch/sf_10/explain/15721/11-1.ok b/dev9/pg16/tpch/sf_10/explain/15721/11-1.ok new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/dev9/pg16/tpch/sf_10/explain/15721/11-1.res b/dev9/pg16/tpch/sf_10/explain/15721/11-1.res new file mode 100644 index 0000000000000000000000000000000000000000..48c024c07b106964d20821b7080bdde3dabdaa48 --- /dev/null +++ b/dev9/pg16/tpch/sf_10/explain/15721/11-1.res @@ -0,0 +1 @@ +{"Plan": {"Node Type": "Sort", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 66931.43, "Total Cost": 67198.08, "Plan Rows": 106662, "Plan Width": 36, "Output": ["partsupp.ps_partkey", "(sum((partsupp.ps_supplycost * (partsupp.ps_availqty)::numeric)))"], "Sort Key": ["(sum((partsupp.ps_supplycost * (partsupp.ps_availqty)::numeric))) DESC"], "Plans": [{"Node Type": "Aggregate", "Strategy": "Plain", "Partial Mode": "Finalize", "Parent Relationship": "InitPlan", "Subplan Name": "InitPlan 1 (returns $2)", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 16299.13, "Total Cost": 16299.15, "Plan Rows": 1, "Plan Width": 32, "Output": ["(sum((partsupp_1.ps_supplycost * (partsupp_1.ps_availqty)::numeric)) * 0.0001000000)"], "Plans": [{"Node Type": "Gather", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 16299.02, "Total Cost": 16299.13, "Plan Rows": 1, "Plan Width": 32, "Output": ["(PARTIAL sum((partsupp_1.ps_supplycost * (partsupp_1.ps_availqty)::numeric)))"], "Workers Planned": 1, "Single Copy": false, "Plans": [{"Node Type": "Aggregate", "Strategy": "Plain", "Partial Mode": "Partial", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 15299.02, "Total Cost": 15299.03, "Plan Rows": 1, "Plan Width": 32, "Output": ["PARTIAL sum((partsupp_1.ps_supplycost * (partsupp_1.ps_availqty)::numeric))"], "Plans": [{"Node Type": "Nested Loop", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Join Type": "Inner", "Startup Cost": 1.76, "Total Cost": 13887.3, "Plan Rows": 188228, "Plan Width": 10, "Output": ["partsupp_1.ps_supplycost", "partsupp_1.ps_availqty"], "Inner Unique": false, "Plans": [{"Node Type": "Hash Join", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Join Type": "Inner", "Startup Cost": 1.32, "Total Cost": 2989.15, "Plan Rows": 2353, "Plan Width": 4, "Output": ["supplier_1.s_suppkey"], "Inner Unique": true, "Hash Cond": "(supplier_1.s_nationkey = nation_1.n_nationkey)", "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": true, "Async Capable": false, "Relation Name": "supplier", "Schema": "public", "Alias": "supplier_1", "Startup Cost": 0.0, "Total Cost": 2807.24, "Plan Rows": 58824, "Plan Width": 8, "Output": ["supplier_1.s_suppkey", "supplier_1.s_name", "supplier_1.s_address", "supplier_1.s_nationkey", "supplier_1.s_phone", "supplier_1.s_acctbal", "supplier_1.s_comment"]}, {"Node Type": "Hash", "Parent Relationship": "Inner", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 1.31, "Total Cost": 1.31, "Plan Rows": 1, "Plan Width": 4, "Output": ["nation_1.n_nationkey"], "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Relation Name": "nation", "Schema": "public", "Alias": "nation_1", "Startup Cost": 0.0, "Total Cost": 1.31, "Plan Rows": 1, "Plan Width": 4, "Output": ["nation_1.n_nationkey"], "Filter": "(nation_1.n_name = 'CHINA'::bpchar)"}]}]}, {"Node Type": "Index Scan", "Parent Relationship": "Inner", "Parallel Aware": false, "Async Capable": false, "Scan Direction": "Forward", "Index Name": "ps_sk", "Relation Name": "partsupp", "Schema": "public", "Alias": "partsupp_1", "Startup Cost": 0.43, "Total Cost": 3.83, "Plan Rows": 80, "Plan Width": 14, "Output": ["partsupp_1.ps_partkey", "partsupp_1.ps_suppkey", "partsupp_1.ps_availqty", "partsupp_1.ps_supplycost", "partsupp_1.ps_comment"], "Index Cond": "(partsupp_1.ps_suppkey = supplier_1.s_suppkey)"}]}]}]}]}, {"Node Type": "Aggregate", "Strategy": "Hashed", "Partial Mode": "Simple", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 33799.9, "Total Cost": 41724.57, "Plan Rows": 106662, "Plan Width": 36, "Output": ["partsupp.ps_partkey", "sum((partsupp.ps_supplycost * (partsupp.ps_availqty)::numeric))"], "Group Key": ["partsupp.ps_partkey"], "Filter": "(sum((partsupp.ps_supplycost * (partsupp.ps_availqty)::numeric)) > $2)", "Planned Partitions": 4, "Plans": [{"Node Type": "Nested Loop", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Join Type": "Inner", "Startup Cost": 36.12, "Total Cost": 20762.93, "Plan Rows": 319987, "Plan Width": 14, "Output": ["partsupp.ps_partkey", "partsupp.ps_supplycost", "partsupp.ps_availqty"], "Inner Unique": false, "Plans": [{"Node Type": "Nested Loop", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Join Type": "Inner", "Startup Cost": 35.69, "Total Cost": 2236.53, "Plan Rows": 4000, "Plan Width": 4, "Output": ["supplier.s_suppkey"], "Inner Unique": false, "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Relation Name": "nation", "Schema": "public", "Alias": "nation", "Startup Cost": 0.0, "Total Cost": 1.31, "Plan Rows": 1, "Plan Width": 4, "Output": ["nation.n_nationkey", "nation.n_name", "nation.n_regionkey", "nation.n_comment"], "Filter": "(nation.n_name = 'CHINA'::bpchar)"}, {"Node Type": "Bitmap Heap Scan", "Parent Relationship": "Inner", "Parallel Aware": false, "Async Capable": false, "Relation Name": "supplier", "Schema": "public", "Alias": "supplier", "Startup Cost": 35.69, "Total Cost": 2195.22, "Plan Rows": 4000, "Plan Width": 8, "Output": ["supplier.s_suppkey", "supplier.s_name", "supplier.s_address", "supplier.s_nationkey", "supplier.s_phone", "supplier.s_acctbal", "supplier.s_comment"], "Recheck Cond": "(supplier.s_nationkey = nation.n_nationkey)", "Plans": [{"Node Type": "Bitmap Index Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Index Name": "s_nk", "Startup Cost": 0.0, "Total Cost": 34.69, "Plan Rows": 4000, "Plan Width": 0, "Index Cond": "(supplier.s_nationkey = nation.n_nationkey)"}]}]}, {"Node Type": "Index Scan", "Parent Relationship": "Inner", "Parallel Aware": false, "Async Capable": false, "Scan Direction": "Forward", "Index Name": "ps_sk", "Relation Name": "partsupp", "Schema": "public", "Alias": "partsupp", "Startup Cost": 0.43, "Total Cost": 3.83, "Plan Rows": 80, "Plan Width": 18, "Output": ["partsupp.ps_partkey", "partsupp.ps_suppkey", "partsupp.ps_availqty", "partsupp.ps_supplycost", "partsupp.ps_comment"], "Index Cond": "(partsupp.ps_suppkey = supplier.s_suppkey)"}]}]}]}} diff --git a/dev9/pg16/tpch/sf_10/explain/15721/12-1.ok b/dev9/pg16/tpch/sf_10/explain/15721/12-1.ok new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/dev9/pg16/tpch/sf_10/explain/15721/12-1.res b/dev9/pg16/tpch/sf_10/explain/15721/12-1.res new file mode 100644 index 0000000000000000000000000000000000000000..de67264e987b530c9c171b6fcd3ef937acee417e --- /dev/null +++ b/dev9/pg16/tpch/sf_10/explain/15721/12-1.res @@ -0,0 +1 @@ +{"Plan": {"Node Type": "Aggregate", "Strategy": "Sorted", "Partial Mode": "Finalize", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 1375853.85, "Total Cost": 1376674.08, "Plan Rows": 7, "Plan Width": 27, "Output": ["lineitem.l_shipmode", "sum(CASE WHEN ((orders.o_orderpriority = '1-URGENT'::bpchar) OR (orders.o_orderpriority = '2-HIGH'::bpchar)) THEN 1 ELSE 0 END)", "sum(CASE WHEN ((orders.o_orderpriority <> '1-URGENT'::bpchar) AND (orders.o_orderpriority <> '2-HIGH'::bpchar)) THEN 1 ELSE 0 END)"], "Group Key": ["lineitem.l_shipmode"], "Plans": [{"Node Type": "Gather Merge", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 1375853.85, "Total Cost": 1376673.64, "Plan Rows": 49, "Plan Width": 27, "Output": ["lineitem.l_shipmode", "(PARTIAL sum(CASE WHEN ((orders.o_orderpriority = '1-URGENT'::bpchar) OR (orders.o_orderpriority = '2-HIGH'::bpchar)) THEN 1 ELSE 0 END))", "(PARTIAL sum(CASE WHEN ((orders.o_orderpriority <> '1-URGENT'::bpchar) AND (orders.o_orderpriority <> '2-HIGH'::bpchar)) THEN 1 ELSE 0 END))"], "Workers Planned": 7, "Plans": [{"Node Type": "Aggregate", "Strategy": "Sorted", "Partial Mode": "Partial", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 1374853.73, "Total Cost": 1375667.52, "Plan Rows": 7, "Plan Width": 27, "Output": ["lineitem.l_shipmode", "PARTIAL sum(CASE WHEN ((orders.o_orderpriority = '1-URGENT'::bpchar) OR (orders.o_orderpriority = '2-HIGH'::bpchar)) THEN 1 ELSE 0 END)", "PARTIAL sum(CASE WHEN ((orders.o_orderpriority <> '1-URGENT'::bpchar) AND (orders.o_orderpriority <> '2-HIGH'::bpchar)) THEN 1 ELSE 0 END)"], "Group Key": ["lineitem.l_shipmode"], "Plans": [{"Node Type": "Sort", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 1374853.73, "Total Cost": 1374955.44, "Plan Rows": 40686, "Plan Width": 27, "Output": ["lineitem.l_shipmode", "orders.o_orderpriority"], "Sort Key": ["lineitem.l_shipmode"], "Plans": [{"Node Type": "Nested Loop", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Join Type": "Inner", "Startup Cost": 0.43, "Total Cost": 1371738.76, "Plan Rows": 40686, "Plan Width": 27, "Output": ["lineitem.l_shipmode", "orders.o_orderpriority"], "Inner Unique": true, "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": true, "Async Capable": false, "Relation Name": "lineitem", "Schema": "public", "Alias": "lineitem", "Startup Cost": 0.0, "Total Cost": 1317900.36, "Plan Rows": 40686, "Plan Width": 15, "Output": ["lineitem.l_orderkey", "lineitem.l_partkey", "lineitem.l_suppkey", "lineitem.l_linenumber", "lineitem.l_quantity", "lineitem.l_extendedprice", "lineitem.l_discount", "lineitem.l_tax", "lineitem.l_returnflag", "lineitem.l_linestatus", "lineitem.l_shipdate", "lineitem.l_commitdate", "lineitem.l_receiptdate", "lineitem.l_shipinstruct", "lineitem.l_shipmode", "lineitem.l_comment"], "Filter": "((lineitem.l_shipmode = ANY ('{MAIL,TRUCK}'::bpchar[])) AND (lineitem.l_commitdate < lineitem.l_receiptdate) AND (lineitem.l_shipdate < lineitem.l_commitdate) AND (lineitem.l_receiptdate >= '1995-01-01'::date) AND (lineitem.l_receiptdate < '1996-01-01 00:00:00'::timestamp without time zone))"}, {"Node Type": "Index Scan", "Parent Relationship": "Inner", "Parallel Aware": false, "Async Capable": false, "Scan Direction": "Forward", "Index Name": "o_ok", "Relation Name": "orders", "Schema": "public", "Alias": "orders", "Startup Cost": 0.43, "Total Cost": 1.32, "Plan Rows": 1, "Plan Width": 20, "Output": ["orders.o_orderkey", "orders.o_custkey", "orders.o_orderstatus", "orders.o_totalprice", "orders.o_orderdate", "orders.o_orderpriority", "orders.o_clerk", "orders.o_shippriority", "orders.o_comment"], "Index Cond": "(orders.o_orderkey = lineitem.l_orderkey)"}]}]}]}]}]}} diff --git a/dev9/pg16/tpch/sf_10/explain/15721/13-1.ok b/dev9/pg16/tpch/sf_10/explain/15721/13-1.ok new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/dev9/pg16/tpch/sf_10/explain/15721/13-1.res b/dev9/pg16/tpch/sf_10/explain/15721/13-1.res new file mode 100644 index 0000000000000000000000000000000000000000..dcb5637993b5609d72cecab34e7b8e0df6ea5385 --- /dev/null +++ b/dev9/pg16/tpch/sf_10/explain/15721/13-1.res @@ -0,0 +1 @@ +{"Plan": {"Node Type": "Sort", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 894911.06, "Total Cost": 894911.56, "Plan Rows": 200, "Plan Width": 16, "Output": ["(count(orders.o_orderkey))", "(count(*))"], "Sort Key": ["(count(*)) DESC", "(count(orders.o_orderkey)) DESC"], "Plans": [{"Node Type": "Aggregate", "Strategy": "Hashed", "Partial Mode": "Simple", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 894901.42, "Total Cost": 894903.42, "Plan Rows": 200, "Plan Width": 16, "Output": ["(count(orders.o_orderkey))", "count(*)"], "Group Key": ["count(orders.o_orderkey)"], "Planned Partitions": 0, "Plans": [{"Node Type": "Aggregate", "Strategy": "Sorted", "Partial Mode": "Simple", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 0.86, "Total Cost": 872401.42, "Plan Rows": 1500000, "Plan Width": 12, "Output": ["customer.c_custkey", "count(orders.o_orderkey)"], "Group Key": ["customer.c_custkey"], "Plans": [{"Node Type": "Merge Join", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Join Type": "Left", "Startup Cost": 0.86, "Total Cost": 783154.01, "Plan Rows": 14849482, "Plan Width": 8, "Output": ["customer.c_custkey", "orders.o_orderkey"], "Inner Unique": false, "Merge Cond": "(customer.c_custkey = orders.o_custkey)", "Plans": [{"Node Type": "Index Only Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Scan Direction": "Forward", "Index Name": "c_ck", "Relation Name": "customer", "Schema": "public", "Alias": "customer", "Startup Cost": 0.43, "Total Cost": 27028.03, "Plan Rows": 1500000, "Plan Width": 4, "Output": ["customer.c_custkey"]}, {"Node Type": "Index Scan", "Parent Relationship": "Inner", "Parallel Aware": false, "Async Capable": false, "Scan Direction": "Forward", "Index Name": "o_ck", "Relation Name": "orders", "Schema": "public", "Alias": "orders", "Startup Cost": 0.43, "Total Cost": 566758.55, "Plan Rows": 14849482, "Plan Width": 8, "Output": ["orders.o_orderkey", "orders.o_custkey", "orders.o_orderstatus", "orders.o_totalprice", "orders.o_orderdate", "orders.o_orderpriority", "orders.o_clerk", "orders.o_shippriority", "orders.o_comment"], "Filter": "((orders.o_comment)::text !~~ '%unusual%requests%'::text)"}]}]}]}]}} diff --git a/dev9/pg16/tpch/sf_10/explain/15721/14-1.ok b/dev9/pg16/tpch/sf_10/explain/15721/14-1.ok new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/dev9/pg16/tpch/sf_10/explain/15721/14-1.res b/dev9/pg16/tpch/sf_10/explain/15721/14-1.res new file mode 100644 index 0000000000000000000000000000000000000000..3d061150e026f4b839d9eb098fbe222cd62e141f --- /dev/null +++ b/dev9/pg16/tpch/sf_10/explain/15721/14-1.res @@ -0,0 +1 @@ +{"Plan": {"Node Type": "Aggregate", "Strategy": "Plain", "Partial Mode": "Finalize", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 684696.94, "Total Cost": 684696.96, "Plan Rows": 1, "Plan Width": 32, "Output": ["((100.00 * sum(CASE WHEN ((part.p_type)::text ~~ 'PROMO%'::text) THEN (lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount)) ELSE '0'::numeric END)) / sum((lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount))))"], "Plans": [{"Node Type": "Gather", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 684696.6, "Total Cost": 684696.91, "Plan Rows": 3, "Plan Width": 64, "Output": ["(PARTIAL sum(CASE WHEN ((part.p_type)::text ~~ 'PROMO%'::text) THEN (lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount)) ELSE '0'::numeric END))", "(PARTIAL sum((lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount))))"], "Workers Planned": 3, "Single Copy": false, "Plans": [{"Node Type": "Aggregate", "Strategy": "Plain", "Partial Mode": "Partial", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 683696.6, "Total Cost": 683696.61, "Plan Rows": 1, "Plan Width": 64, "Output": ["PARTIAL sum(CASE WHEN ((part.p_type)::text ~~ 'PROMO%'::text) THEN (lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount)) ELSE '0'::numeric END)", "PARTIAL sum((lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount)))"], "Plans": [{"Node Type": "Hash Join", "Parent Relationship": "Outer", "Parallel Aware": true, "Async Capable": false, "Join Type": "Inner", "Startup Cost": 52211.57, "Total Cost": 679487.11, "Plan Rows": 240542, "Plan Width": 33, "Output": ["part.p_type", "lineitem.l_extendedprice", "lineitem.l_discount"], "Inner Unique": true, "Hash Cond": "(lineitem.l_partkey = part.p_partkey)", "Plans": [{"Node Type": "Index Scan", "Parent Relationship": "Outer", "Parallel Aware": true, "Async Capable": false, "Scan Direction": "Forward", "Index Name": "l_sd", "Relation Name": "lineitem", "Schema": "public", "Alias": "lineitem", "Startup Cost": 0.56, "Total Cost": 626644.69, "Plan Rows": 240542, "Plan Width": 16, "Output": ["lineitem.l_orderkey", "lineitem.l_partkey", "lineitem.l_suppkey", "lineitem.l_linenumber", "lineitem.l_quantity", "lineitem.l_extendedprice", "lineitem.l_discount", "lineitem.l_tax", "lineitem.l_returnflag", "lineitem.l_linestatus", "lineitem.l_shipdate", "lineitem.l_commitdate", "lineitem.l_receiptdate", "lineitem.l_shipinstruct", "lineitem.l_shipmode", "lineitem.l_comment"], "Index Cond": "((lineitem.l_shipdate >= '1995-05-01'::date) AND (lineitem.l_shipdate < '1995-06-01 00:00:00'::timestamp without time zone))"}, {"Node Type": "Hash", "Parent Relationship": "Inner", "Parallel Aware": true, "Async Capable": false, "Startup Cost": 45961.0, "Total Cost": 45961.0, "Plan Rows": 500000, "Plan Width": 25, "Output": ["part.p_type", "part.p_partkey"], "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": true, "Async Capable": false, "Relation Name": "part", "Schema": "public", "Alias": "part", "Startup Cost": 0.0, "Total Cost": 45961.0, "Plan Rows": 500000, "Plan Width": 25, "Output": ["part.p_type", "part.p_partkey"]}]}]}]}]}]}} diff --git a/dev9/pg16/tpch/sf_10/explain/15721/15-1.ok b/dev9/pg16/tpch/sf_10/explain/15721/15-1.ok new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/dev9/pg16/tpch/sf_10/explain/15721/15-1.res b/dev9/pg16/tpch/sf_10/explain/15721/15-1.res new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/dev9/pg16/tpch/sf_10/explain/15721/15-2.ok b/dev9/pg16/tpch/sf_10/explain/15721/15-2.ok new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/dev9/pg16/tpch/sf_10/explain/15721/15-2.res b/dev9/pg16/tpch/sf_10/explain/15721/15-2.res new file mode 100644 index 0000000000000000000000000000000000000000..e22399ce555a7536ec26d188060d419527d2c7a7 --- /dev/null +++ b/dev9/pg16/tpch/sf_10/explain/15721/15-2.res @@ -0,0 +1 @@ +{"Plan": {"Node Type": "Merge Join", "Parallel Aware": false, "Async Capable": false, "Join Type": "Inner", "Startup Cost": 2585580.85, "Total Cost": 2589861.08, "Plan Rows": 497, "Plan Width": 103, "Output": ["supplier.s_suppkey", "supplier.s_name", "supplier.s_address", "supplier.s_phone", "revenue0.total_revenue"], "Inner Unique": true, "Merge Cond": "(supplier.s_suppkey = revenue0.supplier_no)", "Plans": [{"Node Type": "Aggregate", "Strategy": "Plain", "Partial Mode": "Simple", "Parent Relationship": "InitPlan", "Subplan Name": "InitPlan 1 (returns $0)", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 1293273.23, "Total Cost": 1293273.24, "Plan Rows": 1, "Plan Width": 32, "Output": ["max((sum((lineitem_1.l_extendedprice * ('1'::numeric - lineitem_1.l_discount)))))"], "Plans": [{"Node Type": "Aggregate", "Strategy": "Hashed", "Partial Mode": "Simple", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 1290790.4, "Total Cost": 1292031.81, "Plan Rows": 99313, "Plan Width": 36, "Output": ["lineitem_1.l_suppkey", "sum((lineitem_1.l_extendedprice * ('1'::numeric - lineitem_1.l_discount)))"], "Group Key": ["lineitem_1.l_suppkey"], "Planned Partitions": 0, "Plans": [{"Node Type": "Index Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Scan Direction": "Forward", "Index Name": "l_sd", "Relation Name": "lineitem", "Schema": "public", "Alias": "lineitem_1", "Startup Cost": 0.56, "Total Cost": 1268819.5, "Plan Rows": 2197090, "Plan Width": 16, "Output": ["lineitem_1.l_orderkey", "lineitem_1.l_partkey", "lineitem_1.l_suppkey", "lineitem_1.l_linenumber", "lineitem_1.l_quantity", "lineitem_1.l_extendedprice", "lineitem_1.l_discount", "lineitem_1.l_tax", "lineitem_1.l_returnflag", "lineitem_1.l_linestatus", "lineitem_1.l_shipdate", "lineitem_1.l_commitdate", "lineitem_1.l_receiptdate", "lineitem_1.l_shipinstruct", "lineitem_1.l_shipmode", "lineitem_1.l_comment"], "Index Cond": "((lineitem_1.l_shipdate >= '1995-01-01'::date) AND (lineitem_1.l_shipdate < '1995-04-01 00:00:00'::timestamp without time zone))"}]}]}, {"Node Type": "Index Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Scan Direction": "Forward", "Index Name": "s_sk", "Relation Name": "supplier", "Schema": "public", "Alias": "supplier", "Startup Cost": 0.29, "Total Cost": 4023.06, "Plan Rows": 100000, "Plan Width": 71, "Output": ["supplier.s_suppkey", "supplier.s_name", "supplier.s_address", "supplier.s_nationkey", "supplier.s_phone", "supplier.s_acctbal", "supplier.s_comment"]}, {"Node Type": "Sort", "Parent Relationship": "Inner", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 1292307.32, "Total Cost": 1292308.57, "Plan Rows": 497, "Plan Width": 36, "Output": ["revenue0.total_revenue", "revenue0.supplier_no"], "Sort Key": ["revenue0.supplier_no"], "Plans": [{"Node Type": "Subquery Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Alias": "revenue0", "Startup Cost": 1290790.4, "Total Cost": 1292285.07, "Plan Rows": 497, "Plan Width": 36, "Output": ["revenue0.total_revenue", "revenue0.supplier_no"], "Plans": [{"Node Type": "Aggregate", "Strategy": "Hashed", "Partial Mode": "Simple", "Parent Relationship": "Subquery", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 1290790.4, "Total Cost": 1292280.1, "Plan Rows": 497, "Plan Width": 36, "Output": ["lineitem.l_suppkey", "sum((lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount)))"], "Group Key": ["lineitem.l_suppkey"], "Filter": "(sum((lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount))) = $0)", "Planned Partitions": 0, "Plans": [{"Node Type": "Index Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Scan Direction": "Forward", "Index Name": "l_sd", "Relation Name": "lineitem", "Schema": "public", "Alias": "lineitem", "Startup Cost": 0.56, "Total Cost": 1268819.5, "Plan Rows": 2197090, "Plan Width": 16, "Output": ["lineitem.l_orderkey", "lineitem.l_partkey", "lineitem.l_suppkey", "lineitem.l_linenumber", "lineitem.l_quantity", "lineitem.l_extendedprice", "lineitem.l_discount", "lineitem.l_tax", "lineitem.l_returnflag", "lineitem.l_linestatus", "lineitem.l_shipdate", "lineitem.l_commitdate", "lineitem.l_receiptdate", "lineitem.l_shipinstruct", "lineitem.l_shipmode", "lineitem.l_comment"], "Index Cond": "((lineitem.l_shipdate >= '1995-01-01'::date) AND (lineitem.l_shipdate < '1995-04-01 00:00:00'::timestamp without time zone))"}]}]}]}]}} diff --git a/dev9/pg16/tpch/sf_10/explain/15721/15-3.ok b/dev9/pg16/tpch/sf_10/explain/15721/15-3.ok new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/dev9/pg16/tpch/sf_10/explain/15721/15-3.res b/dev9/pg16/tpch/sf_10/explain/15721/15-3.res new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/dev9/pg16/tpch/sf_10/explain/15721/16-1.ok b/dev9/pg16/tpch/sf_10/explain/15721/16-1.ok new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/dev9/pg16/tpch/sf_10/explain/15721/16-1.res b/dev9/pg16/tpch/sf_10/explain/15721/16-1.res new file mode 100644 index 0000000000000000000000000000000000000000..698d4c4c5b65108a49a04e3fa71e2c3199cf830c --- /dev/null +++ b/dev9/pg16/tpch/sf_10/explain/15721/16-1.res @@ -0,0 +1 @@ +{"Plan": {"Node Type": "Sort", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 242969.39, "Total Cost": 243354.08, "Plan Rows": 153874, "Plan Width": 44, "Output": ["part.p_brand", "part.p_type", "part.p_size", "(count(DISTINCT partsupp.ps_suppkey))"], "Sort Key": ["(count(DISTINCT partsupp.ps_suppkey)) DESC", "part.p_brand", "part.p_type", "part.p_size"], "Plans": [{"Node Type": "Aggregate", "Strategy": "Sorted", "Partial Mode": "Simple", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 149637.82, "Total Cost": 229712.08, "Plan Rows": 153874, "Plan Width": 44, "Output": ["part.p_brand", "part.p_type", "part.p_size", "count(DISTINCT partsupp.ps_suppkey)"], "Group Key": ["part.p_brand", "part.p_type", "part.p_size"], "Plans": [{"Node Type": "Gather Merge", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 149637.82, "Total Cost": 222221.58, "Plan Rows": 595176, "Plan Width": 40, "Output": ["part.p_brand", "part.p_type", "part.p_size", "partsupp.ps_suppkey"], "Workers Planned": 6, "Plans": [{"Node Type": "Sort", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 148637.72, "Total Cost": 148885.71, "Plan Rows": 99196, "Plan Width": 40, "Output": ["part.p_brand", "part.p_type", "part.p_size", "partsupp.ps_suppkey"], "Sort Key": ["part.p_brand", "part.p_type", "part.p_size", "partsupp.ps_suppkey"], "Plans": [{"Node Type": "Hash Join", "Parent Relationship": "Outer", "Parallel Aware": true, "Async Capable": false, "Join Type": "Inner", "Startup Cost": 57860.46, "Total Cost": 140405.45, "Plan Rows": 99196, "Plan Width": 40, "Output": ["part.p_brand", "part.p_type", "part.p_size", "partsupp.ps_suppkey"], "Inner Unique": true, "Hash Cond": "(partsupp.ps_partkey = part.p_partkey)", "Plans": [{"Node Type": "Index Only Scan", "Parent Relationship": "Outer", "Parallel Aware": true, "Async Capable": false, "Scan Direction": "Forward", "Index Name": "ps_pk_sk", "Relation Name": "partsupp", "Schema": "public", "Alias": "partsupp", "Startup Cost": 3469.46, "Total Cost": 84264.51, "Plan Rows": 666640, "Plan Width": 8, "Output": ["partsupp.ps_partkey", "partsupp.ps_suppkey"], "Filter": "(NOT (hashed SubPlan 1))", "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "SubPlan", "Subplan Name": "SubPlan 1", "Parallel Aware": false, "Async Capable": false, "Relation Name": "supplier", "Schema": "public", "Alias": "supplier", "Startup Cost": 0.0, "Total Cost": 3469.0, "Plan Rows": 10, "Plan Width": 4, "Output": ["supplier.s_suppkey"], "Filter": "((supplier.s_comment)::text ~~ '%Customer%Complaints%'::text)"}]}, {"Node Type": "Hash", "Parent Relationship": "Inner", "Parallel Aware": true, "Async Capable": false, "Startup Cost": 53461.0, "Total Cost": 53461.0, "Plan Rows": 74400, "Plan Width": 40, "Output": ["part.p_brand", "part.p_type", "part.p_size", "part.p_partkey"], "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": true, "Async Capable": false, "Relation Name": "part", "Schema": "public", "Alias": "part", "Startup Cost": 0.0, "Total Cost": 53461.0, "Plan Rows": 74400, "Plan Width": 40, "Output": ["part.p_brand", "part.p_type", "part.p_size", "part.p_partkey"], "Filter": "((part.p_brand <> 'Brand#11'::bpchar) AND ((part.p_type)::text !~~ 'ECONOMY ANODIZED%'::text) AND (part.p_size = ANY ('{42,16,39,18,23,32,44,41}'::integer[])))"}]}]}]}]}]}]}} diff --git a/dev9/pg16/tpch/sf_10/explain/15721/17-1.ok b/dev9/pg16/tpch/sf_10/explain/15721/17-1.ok new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/dev9/pg16/tpch/sf_10/explain/15721/17-1.res b/dev9/pg16/tpch/sf_10/explain/15721/17-1.res new file mode 100644 index 0000000000000000000000000000000000000000..ccf4c53f48324e8ae0743231af5ea029ffd5c9c5 --- /dev/null +++ b/dev9/pg16/tpch/sf_10/explain/15721/17-1.res @@ -0,0 +1 @@ +{"Plan": {"Node Type": "Aggregate", "Strategy": "Plain", "Partial Mode": "Simple", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 1932500.6, "Total Cost": 1932500.62, "Plan Rows": 1, "Plan Width": 32, "Output": ["(sum(lineitem.l_extendedprice) / 7.0)"], "Plans": [{"Node Type": "Hash Join", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Join Type": "Inner", "Startup Cost": 49689.49, "Total Cost": 1932449.84, "Plan Rows": 20305, "Plan Width": 8, "Output": ["lineitem.l_extendedprice"], "Inner Unique": true, "Hash Cond": "(lineitem.l_partkey = part.p_partkey)", "Join Filter": "(lineitem.l_quantity < (SubPlan 1))", "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Relation Name": "lineitem", "Schema": "public", "Alias": "lineitem", "Startup Cost": 0.0, "Total Cost": 1724938.12, "Plan Rows": 59984512, "Plan Width": 17, "Output": ["lineitem.l_orderkey", "lineitem.l_partkey", "lineitem.l_suppkey", "lineitem.l_linenumber", "lineitem.l_quantity", "lineitem.l_extendedprice", "lineitem.l_discount", "lineitem.l_tax", "lineitem.l_returnflag", "lineitem.l_linestatus", "lineitem.l_shipdate", "lineitem.l_commitdate", "lineitem.l_receiptdate", "lineitem.l_shipinstruct", "lineitem.l_shipmode", "lineitem.l_comment"]}, {"Node Type": "Hash", "Parent Relationship": "Inner", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 49664.1, "Total Cost": 49664.1, "Plan Rows": 2031, "Plan Width": 4, "Output": ["part.p_partkey"], "Plans": [{"Node Type": "Gather", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 1000.0, "Total Cost": 49664.1, "Plan Rows": 2031, "Plan Width": 4, "Output": ["part.p_partkey"], "Workers Planned": 4, "Single Copy": false, "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": true, "Async Capable": false, "Relation Name": "part", "Schema": "public", "Alias": "part", "Startup Cost": 0.0, "Total Cost": 48461.0, "Plan Rows": 508, "Plan Width": 4, "Output": ["part.p_partkey"], "Filter": "((part.p_brand = 'Brand#14'::bpchar) AND (part.p_container = 'WRAP BOX'::bpchar))"}]}]}, {"Node Type": "Aggregate", "Strategy": "Plain", "Partial Mode": "Simple", "Parent Relationship": "SubPlan", "Subplan Name": "SubPlan 1", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 36.26, "Total Cost": 36.27, "Plan Rows": 1, "Plan Width": 32, "Output": ["(0.2 * avg(lineitem_1.l_quantity))"], "Plans": [{"Node Type": "Index Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Scan Direction": "Forward", "Index Name": "l_pk", "Relation Name": "lineitem", "Schema": "public", "Alias": "lineitem_1", "Startup Cost": 0.44, "Total Cost": 36.18, "Plan Rows": 31, "Plan Width": 5, "Output": ["lineitem_1.l_orderkey", "lineitem_1.l_partkey", "lineitem_1.l_suppkey", "lineitem_1.l_linenumber", "lineitem_1.l_quantity", "lineitem_1.l_extendedprice", "lineitem_1.l_discount", "lineitem_1.l_tax", "lineitem_1.l_returnflag", "lineitem_1.l_linestatus", "lineitem_1.l_shipdate", "lineitem_1.l_commitdate", "lineitem_1.l_receiptdate", "lineitem_1.l_shipinstruct", "lineitem_1.l_shipmode", "lineitem_1.l_comment"], "Index Cond": "(lineitem_1.l_partkey = part.p_partkey)"}]}]}]}} diff --git a/dev9/pg16/tpch/sf_10/explain/15721/18-1.ok b/dev9/pg16/tpch/sf_10/explain/15721/18-1.ok new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/dev9/pg16/tpch/sf_10/explain/15721/18-1.res b/dev9/pg16/tpch/sf_10/explain/15721/18-1.res new file mode 100644 index 0000000000000000000000000000000000000000..976d5f3b42c8011d2ff88a016341444fabc4697d --- /dev/null +++ b/dev9/pg16/tpch/sf_10/explain/15721/18-1.res @@ -0,0 +1 @@ +{"Plan": {"Node Type": "Limit", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 3489760.75, "Total Cost": 3489761.0, "Plan Rows": 100, "Plan Width": 71, "Output": ["customer.c_name", "customer.c_custkey", "orders.o_orderkey", "orders.o_orderdate", "orders.o_totalprice", "(sum(lineitem.l_quantity))"], "Plans": [{"Node Type": "Sort", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 3489760.75, "Total Cost": 3496320.89, "Plan Rows": 2624057, "Plan Width": 71, "Output": ["customer.c_name", "customer.c_custkey", "orders.o_orderkey", "orders.o_orderdate", "orders.o_totalprice", "(sum(lineitem.l_quantity))"], "Sort Key": ["orders.o_totalprice DESC", "orders.o_orderdate"], "Plans": [{"Node Type": "Aggregate", "Strategy": "Sorted", "Partial Mode": "Simple", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 3016977.25, "Total Cost": 3389471.17, "Plan Rows": 2624057, "Plan Width": 71, "Output": ["customer.c_name", "customer.c_custkey", "orders.o_orderkey", "orders.o_orderdate", "orders.o_totalprice", "sum(lineitem.l_quantity)"], "Group Key": ["customer.c_custkey", "orders.o_orderkey"], "Plans": [{"Node Type": "Gather Merge", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 3016977.25, "Total Cost": 3336990.03, "Plan Rows": 2624057, "Plan Width": 44, "Output": ["customer.c_custkey", "orders.o_orderkey", "customer.c_name", "orders.o_orderdate", "orders.o_totalprice", "lineitem.l_quantity"], "Workers Planned": 6, "Plans": [{"Node Type": "Sort", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 3015977.15, "Total Cost": 3017070.51, "Plan Rows": 437343, "Plan Width": 44, "Output": ["customer.c_custkey", "orders.o_orderkey", "customer.c_name", "orders.o_orderdate", "orders.o_totalprice", "lineitem.l_quantity"], "Sort Key": ["customer.c_custkey", "orders.o_orderkey"], "Plans": [{"Node Type": "Hash Join", "Parent Relationship": "Outer", "Parallel Aware": true, "Async Capable": false, "Join Type": "Inner", "Startup Cost": 2511402.39, "Total Cost": 2967121.4, "Plan Rows": 437343, "Plan Width": 44, "Output": ["customer.c_custkey", "orders.o_orderkey", "customer.c_name", "orders.o_orderdate", "orders.o_totalprice", "lineitem.l_quantity"], "Inner Unique": true, "Hash Cond": "(orders.o_custkey = customer.c_custkey)", "Plans": [{"Node Type": "Nested Loop", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Join Type": "Inner", "Startup Cost": 2467040.89, "Total Cost": 2921611.88, "Plan Rows": 437343, "Plan Width": 25, "Output": ["orders.o_orderkey", "orders.o_orderdate", "orders.o_totalprice", "orders.o_custkey", "lineitem.l_quantity"], "Inner Unique": false, "Plans": [{"Node Type": "Hash Join", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Join Type": "Inner", "Startup Cost": 2467040.32, "Total Cost": 2759813.36, "Plan Rows": 109362, "Plan Width": 24, "Output": ["orders.o_orderkey", "orders.o_orderdate", "orders.o_totalprice", "orders.o_custkey", "lineitem_1.l_orderkey"], "Inner Unique": true, "Hash Cond": "(orders.o_orderkey = lineitem_1.l_orderkey)", "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": true, "Async Capable": false, "Relation Name": "orders", "Schema": "public", "Alias": "orders", "Startup Cost": 0.0, "Total Cost": 286210.63, "Plan Rows": 2499963, "Plan Width": 20, "Output": ["orders.o_orderkey", "orders.o_custkey", "orders.o_orderstatus", "orders.o_totalprice", "orders.o_orderdate", "orders.o_orderpriority", "orders.o_clerk", "orders.o_shippriority", "orders.o_comment"]}, {"Node Type": "Hash", "Parent Relationship": "Inner", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 2458838.15, "Total Cost": 2458838.15, "Plan Rows": 656174, "Plan Width": 4, "Output": ["lineitem_1.l_orderkey"], "Plans": [{"Node Type": "Aggregate", "Strategy": "Sorted", "Partial Mode": "Simple", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 0.56, "Total Cost": 2458838.15, "Plan Rows": 656174, "Plan Width": 4, "Output": ["lineitem_1.l_orderkey"], "Group Key": ["lineitem_1.l_orderkey"], "Filter": "(sum(lineitem_1.l_quantity) > '314'::numeric)", "Plans": [{"Node Type": "Index Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Scan Direction": "Forward", "Index Name": "l_ok", "Relation Name": "lineitem", "Schema": "public", "Alias": "lineitem_1", "Startup Cost": 0.56, "Total Cost": 2129387.75, "Plan Rows": 59984512, "Plan Width": 9, "Output": ["lineitem_1.l_orderkey", "lineitem_1.l_partkey", "lineitem_1.l_suppkey", "lineitem_1.l_linenumber", "lineitem_1.l_quantity", "lineitem_1.l_extendedprice", "lineitem_1.l_discount", "lineitem_1.l_tax", "lineitem_1.l_returnflag", "lineitem_1.l_linestatus", "lineitem_1.l_shipdate", "lineitem_1.l_commitdate", "lineitem_1.l_receiptdate", "lineitem_1.l_shipinstruct", "lineitem_1.l_shipmode", "lineitem_1.l_comment"]}]}]}]}, {"Node Type": "Index Scan", "Parent Relationship": "Inner", "Parallel Aware": false, "Async Capable": false, "Scan Direction": "Forward", "Index Name": "l_ok", "Relation Name": "lineitem", "Schema": "public", "Alias": "lineitem", "Startup Cost": 0.56, "Total Cost": 1.18, "Plan Rows": 30, "Plan Width": 9, "Output": ["lineitem.l_orderkey", "lineitem.l_partkey", "lineitem.l_suppkey", "lineitem.l_linenumber", "lineitem.l_quantity", "lineitem.l_extendedprice", "lineitem.l_discount", "lineitem.l_tax", "lineitem.l_returnflag", "lineitem.l_linestatus", "lineitem.l_shipdate", "lineitem.l_commitdate", "lineitem.l_receiptdate", "lineitem.l_shipinstruct", "lineitem.l_shipmode", "lineitem.l_comment"], "Index Cond": "(lineitem.l_orderkey = orders.o_orderkey)"}]}, {"Node Type": "Hash", "Parent Relationship": "Inner", "Parallel Aware": true, "Async Capable": false, "Startup Cost": 39674.0, "Total Cost": 39674.0, "Plan Rows": 375000, "Plan Width": 23, "Output": ["customer.c_name", "customer.c_custkey"], "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": true, "Async Capable": false, "Relation Name": "customer", "Schema": "public", "Alias": "customer", "Startup Cost": 0.0, "Total Cost": 39674.0, "Plan Rows": 375000, "Plan Width": 23, "Output": ["customer.c_name", "customer.c_custkey"]}]}]}]}]}]}]}]}} diff --git a/dev9/pg16/tpch/sf_10/explain/15721/19-1.ok b/dev9/pg16/tpch/sf_10/explain/15721/19-1.ok new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/dev9/pg16/tpch/sf_10/explain/15721/19-1.res b/dev9/pg16/tpch/sf_10/explain/15721/19-1.res new file mode 100644 index 0000000000000000000000000000000000000000..1e71ac2a6e73daf9bc9815c47b71b39897783fa4 --- /dev/null +++ b/dev9/pg16/tpch/sf_10/explain/15721/19-1.res @@ -0,0 +1 @@ +{"Plan": {"Node Type": "Aggregate", "Strategy": "Plain", "Partial Mode": "Finalize", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 105855.45, "Total Cost": 105855.46, "Plan Rows": 1, "Plan Width": 32, "Output": ["sum((lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount)))"], "Plans": [{"Node Type": "Gather", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 105855.02, "Total Cost": 105855.43, "Plan Rows": 4, "Plan Width": 32, "Output": ["(PARTIAL sum((lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount))))"], "Workers Planned": 4, "Single Copy": false, "Plans": [{"Node Type": "Aggregate", "Strategy": "Plain", "Partial Mode": "Partial", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 104855.02, "Total Cost": 104855.03, "Plan Rows": 1, "Plan Width": 32, "Output": ["PARTIAL sum((lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount)))"], "Plans": [{"Node Type": "Nested Loop", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Join Type": "Inner", "Startup Cost": 0.44, "Total Cost": 104852.94, "Plan Rows": 276, "Plan Width": 12, "Output": ["lineitem.l_extendedprice", "lineitem.l_discount"], "Inner Unique": false, "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": true, "Async Capable": false, "Relation Name": "part", "Schema": "public", "Alias": "part", "Startup Cost": 0.0, "Total Cost": 62211.0, "Plan Rows": 1182, "Plan Width": 30, "Output": ["part.p_partkey", "part.p_name", "part.p_mfgr", "part.p_brand", "part.p_type", "part.p_size", "part.p_container", "part.p_retailprice", "part.p_comment"], "Filter": "((part.p_size >= 1) AND (((part.p_brand = 'Brand#52'::bpchar) AND (part.p_container = ANY ('{\"SM CASE\",\"SM BOX\",\"SM PACK\",\"SM PKG\"}'::bpchar[])) AND (part.p_size <= 5)) OR ((part.p_brand = 'Brand#42'::bpchar) AND (part.p_container = ANY ('{\"MED BAG\",\"MED BOX\",\"MED PKG\",\"MED PACK\"}'::bpchar[])) AND (part.p_size <= 10)) OR ((part.p_brand = 'Brand#23'::bpchar) AND (part.p_container = ANY ('{\"LG CASE\",\"LG BOX\",\"LG PACK\",\"LG PKG\"}'::bpchar[])) AND (part.p_size <= 15))))"}, {"Node Type": "Index Scan", "Parent Relationship": "Inner", "Parallel Aware": false, "Async Capable": false, "Scan Direction": "Forward", "Index Name": "l_pk", "Relation Name": "lineitem", "Schema": "public", "Alias": "lineitem", "Startup Cost": 0.44, "Total Cost": 36.07, "Plan Rows": 1, "Plan Width": 21, "Output": ["lineitem.l_orderkey", "lineitem.l_partkey", "lineitem.l_suppkey", "lineitem.l_linenumber", "lineitem.l_quantity", "lineitem.l_extendedprice", "lineitem.l_discount", "lineitem.l_tax", "lineitem.l_returnflag", "lineitem.l_linestatus", "lineitem.l_shipdate", "lineitem.l_commitdate", "lineitem.l_receiptdate", "lineitem.l_shipinstruct", "lineitem.l_shipmode", "lineitem.l_comment"], "Index Cond": "(lineitem.l_partkey = part.p_partkey)", "Filter": "((lineitem.l_shipmode = ANY ('{AIR,\"AIR REG\"}'::bpchar[])) AND (lineitem.l_shipinstruct = 'DELIVER IN PERSON'::bpchar) AND (((lineitem.l_quantity >= '9'::numeric) AND (lineitem.l_quantity <= '19'::numeric)) OR ((lineitem.l_quantity >= '18'::numeric) AND (lineitem.l_quantity <= '28'::numeric)) OR ((lineitem.l_quantity >= '22'::numeric) AND (lineitem.l_quantity <= '32'::numeric))) AND (((part.p_brand = 'Brand#52'::bpchar) AND (part.p_container = ANY ('{\"SM CASE\",\"SM BOX\",\"SM PACK\",\"SM PKG\"}'::bpchar[])) AND (lineitem.l_quantity >= '9'::numeric) AND (lineitem.l_quantity <= '19'::numeric) AND (part.p_size <= 5)) OR ((part.p_brand = 'Brand#42'::bpchar) AND (part.p_container = ANY ('{\"MED BAG\",\"MED BOX\",\"MED PKG\",\"MED PACK\"}'::bpchar[])) AND (lineitem.l_quantity >= '18'::numeric) AND (lineitem.l_quantity <= '28'::numeric) AND (part.p_size <= 10)) OR ((part.p_brand = 'Brand#23'::bpchar) AND (part.p_container = ANY ('{\"LG CASE\",\"LG BOX\",\"LG PACK\",\"LG PKG\"}'::bpchar[])) AND (lineitem.l_quantity >= '22'::numeric) AND (lineitem.l_quantity <= '32'::numeric) AND (part.p_size <= 15))))"}]}]}]}]}} diff --git a/dev9/pg16/tpch/sf_10/explain/15721/2-1.ok b/dev9/pg16/tpch/sf_10/explain/15721/2-1.ok new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/dev9/pg16/tpch/sf_10/explain/15721/2-1.res b/dev9/pg16/tpch/sf_10/explain/15721/2-1.res new file mode 100644 index 0000000000000000000000000000000000000000..f963076c35ca720e719c3b242f7127d726aa5374 --- /dev/null +++ b/dev9/pg16/tpch/sf_10/explain/15721/2-1.res @@ -0,0 +1 @@ +{"Plan": {"Node Type": "Limit", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 380790.6, "Total Cost": 380790.6, "Plan Rows": 1, "Plan Width": 192, "Output": ["supplier.s_acctbal", "supplier.s_name", "nation.n_name", "part.p_partkey", "part.p_mfgr", "supplier.s_address", "supplier.s_phone", "supplier.s_comment"], "Plans": [{"Node Type": "Sort", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 380790.6, "Total Cost": 380790.6, "Plan Rows": 1, "Plan Width": 192, "Output": ["supplier.s_acctbal", "supplier.s_name", "nation.n_name", "part.p_partkey", "part.p_mfgr", "supplier.s_address", "supplier.s_phone", "supplier.s_comment"], "Sort Key": ["supplier.s_acctbal DESC", "nation.n_name", "supplier.s_name", "part.p_partkey"], "Plans": [{"Node Type": "Hash Join", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Join Type": "Inner", "Startup Cost": 157748.08, "Total Cost": 380790.59, "Plan Rows": 1, "Plan Width": 192, "Output": ["supplier.s_acctbal", "supplier.s_name", "nation.n_name", "part.p_partkey", "part.p_mfgr", "supplier.s_address", "supplier.s_phone", "supplier.s_comment"], "Inner Unique": false, "Hash Cond": "((part.p_partkey = partsupp.ps_partkey) AND ((SubPlan 1) = partsupp.ps_supplycost))", "Plans": [{"Node Type": "Gather", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 1000.0, "Total Cost": 50244.0, "Plan Rows": 7830, "Plan Width": 30, "Output": ["part.p_partkey", "part.p_mfgr"], "Workers Planned": 4, "Single Copy": false, "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": true, "Async Capable": false, "Relation Name": "part", "Schema": "public", "Alias": "part", "Startup Cost": 0.0, "Total Cost": 48461.0, "Plan Rows": 1958, "Plan Width": 30, "Output": ["part.p_partkey", "part.p_mfgr"], "Filter": "(((part.p_type)::text ~~ '%TIN'::text) AND (part.p_size = 44))"}]}, {"Node Type": "Hash", "Parent Relationship": "Inner", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 93688.05, "Total Cost": 93688.05, "Plan Rows": 1599935, "Plan Width": 172, "Output": ["supplier.s_acctbal", "supplier.s_name", "supplier.s_address", "supplier.s_phone", "supplier.s_comment", "partsupp.ps_partkey", "partsupp.ps_supplycost", "nation.n_name"], "Plans": [{"Node Type": "Nested Loop", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Join Type": "Inner", "Startup Cost": 0.72, "Total Cost": 93688.05, "Plan Rows": 1599935, "Plan Width": 172, "Output": ["supplier.s_acctbal", "supplier.s_name", "supplier.s_address", "supplier.s_phone", "supplier.s_comment", "partsupp.ps_partkey", "partsupp.ps_supplycost", "nation.n_name"], "Inner Unique": false, "Plans": [{"Node Type": "Nested Loop", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Join Type": "Inner", "Startup Cost": 0.29, "Total Cost": 1056.07, "Plan Rows": 20000, "Plan Width": 166, "Output": ["supplier.s_acctbal", "supplier.s_name", "supplier.s_address", "supplier.s_phone", "supplier.s_comment", "supplier.s_suppkey", "nation.n_name"], "Inner Unique": false, "Plans": [{"Node Type": "Nested Loop", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Join Type": "Inner", "Startup Cost": 0.0, "Total Cost": 2.62, "Plan Rows": 5, "Plan Width": 30, "Output": ["nation.n_name", "nation.n_nationkey"], "Inner Unique": false, "Join Filter": "(nation.n_regionkey = region.r_regionkey)", "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Relation Name": "region", "Schema": "public", "Alias": "region", "Startup Cost": 0.0, "Total Cost": 1.06, "Plan Rows": 1, "Plan Width": 4, "Output": ["region.r_regionkey", "region.r_name", "region.r_comment"], "Filter": "(region.r_name = 'EUROPE'::bpchar)"}, {"Node Type": "Seq Scan", "Parent Relationship": "Inner", "Parallel Aware": false, "Async Capable": false, "Relation Name": "nation", "Schema": "public", "Alias": "nation", "Startup Cost": 0.0, "Total Cost": 1.25, "Plan Rows": 25, "Plan Width": 34, "Output": ["nation.n_nationkey", "nation.n_name", "nation.n_regionkey", "nation.n_comment"]}]}, {"Node Type": "Index Scan", "Parent Relationship": "Inner", "Parallel Aware": false, "Async Capable": false, "Scan Direction": "Forward", "Index Name": "s_nk", "Relation Name": "supplier", "Schema": "public", "Alias": "supplier", "Startup Cost": 0.29, "Total Cost": 170.69, "Plan Rows": 4000, "Plan Width": 144, "Output": ["supplier.s_suppkey", "supplier.s_name", "supplier.s_address", "supplier.s_nationkey", "supplier.s_phone", "supplier.s_acctbal", "supplier.s_comment"], "Index Cond": "(supplier.s_nationkey = nation.n_nationkey)"}]}, {"Node Type": "Index Scan", "Parent Relationship": "Inner", "Parallel Aware": false, "Async Capable": false, "Scan Direction": "Forward", "Index Name": "ps_sk", "Relation Name": "partsupp", "Schema": "public", "Alias": "partsupp", "Startup Cost": 0.43, "Total Cost": 3.83, "Plan Rows": 80, "Plan Width": 14, "Output": ["partsupp.ps_partkey", "partsupp.ps_suppkey", "partsupp.ps_availqty", "partsupp.ps_supplycost", "partsupp.ps_comment"], "Index Cond": "(partsupp.ps_suppkey = supplier.s_suppkey)"}]}]}, {"Node Type": "Aggregate", "Strategy": "Plain", "Partial Mode": "Simple", "Parent Relationship": "SubPlan", "Subplan Name": "SubPlan 1", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 17.17, "Total Cost": 17.18, "Plan Rows": 1, "Plan Width": 32, "Output": ["min(partsupp_1.ps_supplycost)"], "Plans": [{"Node Type": "Nested Loop", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Join Type": "Inner", "Startup Cost": 0.86, "Total Cost": 17.17, "Plan Rows": 1, "Plan Width": 6, "Output": ["partsupp_1.ps_supplycost"], "Inner Unique": false, "Join Filter": "(nation_1.n_regionkey = region_1.r_regionkey)", "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Relation Name": "region", "Schema": "public", "Alias": "region_1", "Startup Cost": 0.0, "Total Cost": 1.06, "Plan Rows": 1, "Plan Width": 4, "Output": ["region_1.r_regionkey", "region_1.r_name", "region_1.r_comment"], "Filter": "(region_1.r_name = 'EUROPE'::bpchar)"}, {"Node Type": "Nested Loop", "Parent Relationship": "Inner", "Parallel Aware": false, "Async Capable": false, "Join Type": "Inner", "Startup Cost": 0.86, "Total Cost": 16.05, "Plan Rows": 5, "Plan Width": 10, "Output": ["partsupp_1.ps_supplycost", "nation_1.n_regionkey"], "Inner Unique": true, "Plans": [{"Node Type": "Nested Loop", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Join Type": "Inner", "Startup Cost": 0.72, "Total Cost": 15.27, "Plan Rows": 5, "Plan Width": 10, "Output": ["partsupp_1.ps_supplycost", "supplier_1.s_nationkey"], "Inner Unique": true, "Plans": [{"Node Type": "Index Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Scan Direction": "Forward", "Index Name": "ps_pk", "Relation Name": "partsupp", "Schema": "public", "Alias": "partsupp_1", "Startup Cost": 0.43, "Total Cost": 2.72, "Plan Rows": 5, "Plan Width": 10, "Output": ["partsupp_1.ps_partkey", "partsupp_1.ps_suppkey", "partsupp_1.ps_availqty", "partsupp_1.ps_supplycost", "partsupp_1.ps_comment"], "Index Cond": "(partsupp_1.ps_partkey = part.p_partkey)"}, {"Node Type": "Index Scan", "Parent Relationship": "Inner", "Parallel Aware": false, "Async Capable": false, "Scan Direction": "Forward", "Index Name": "s_sk", "Relation Name": "supplier", "Schema": "public", "Alias": "supplier_1", "Startup Cost": 0.29, "Total Cost": 2.51, "Plan Rows": 1, "Plan Width": 8, "Output": ["supplier_1.s_suppkey", "supplier_1.s_name", "supplier_1.s_address", "supplier_1.s_nationkey", "supplier_1.s_phone", "supplier_1.s_acctbal", "supplier_1.s_comment"], "Index Cond": "(supplier_1.s_suppkey = partsupp_1.ps_suppkey)"}]}, {"Node Type": "Index Scan", "Parent Relationship": "Inner", "Parallel Aware": false, "Async Capable": false, "Scan Direction": "Forward", "Index Name": "n_nk", "Relation Name": "nation", "Schema": "public", "Alias": "nation_1", "Startup Cost": 0.14, "Total Cost": 0.16, "Plan Rows": 1, "Plan Width": 8, "Output": ["nation_1.n_nationkey", "nation_1.n_name", "nation_1.n_regionkey", "nation_1.n_comment"], "Index Cond": "(nation_1.n_nationkey = supplier_1.s_nationkey)"}]}]}]}]}]}]}} diff --git a/dev9/pg16/tpch/sf_10/explain/15721/20-1.ok b/dev9/pg16/tpch/sf_10/explain/15721/20-1.ok new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/dev9/pg16/tpch/sf_10/explain/15721/20-1.res b/dev9/pg16/tpch/sf_10/explain/15721/20-1.res new file mode 100644 index 0000000000000000000000000000000000000000..280b98eda2f7aada95869d6b9b20300e89a99ceb --- /dev/null +++ b/dev9/pg16/tpch/sf_10/explain/15721/20-1.res @@ -0,0 +1 @@ +{"Plan": {"Node Type": "Sort", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 427460.47, "Total Cost": 427463.67, "Plan Rows": 1281, "Plan Width": 51, "Output": ["supplier.s_name", "supplier.s_address"], "Sort Key": ["supplier.s_name"], "Plans": [{"Node Type": "Hash Join", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Join Type": "Semi", "Startup Cost": 425160.75, "Total Cost": 427394.35, "Plan Rows": 1281, "Plan Width": 51, "Output": ["supplier.s_name", "supplier.s_address"], "Inner Unique": false, "Hash Cond": "(supplier.s_suppkey = partsupp.ps_suppkey)", "Plans": [{"Node Type": "Nested Loop", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Join Type": "Inner", "Startup Cost": 35.69, "Total Cost": 2236.53, "Plan Rows": 4000, "Plan Width": 55, "Output": ["supplier.s_name", "supplier.s_address", "supplier.s_suppkey"], "Inner Unique": false, "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Relation Name": "nation", "Schema": "public", "Alias": "nation", "Startup Cost": 0.0, "Total Cost": 1.31, "Plan Rows": 1, "Plan Width": 4, "Output": ["nation.n_nationkey", "nation.n_name", "nation.n_regionkey", "nation.n_comment"], "Filter": "(nation.n_name = 'GERMANY'::bpchar)"}, {"Node Type": "Bitmap Heap Scan", "Parent Relationship": "Inner", "Parallel Aware": false, "Async Capable": false, "Relation Name": "supplier", "Schema": "public", "Alias": "supplier", "Startup Cost": 35.69, "Total Cost": 2195.22, "Plan Rows": 4000, "Plan Width": 59, "Output": ["supplier.s_suppkey", "supplier.s_name", "supplier.s_address", "supplier.s_nationkey", "supplier.s_phone", "supplier.s_acctbal", "supplier.s_comment"], "Recheck Cond": "(supplier.s_nationkey = nation.n_nationkey)", "Plans": [{"Node Type": "Bitmap Index Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Index Name": "s_nk", "Startup Cost": 0.0, "Total Cost": 34.69, "Plan Rows": 4000, "Plan Width": 0, "Index Cond": "(supplier.s_nationkey = nation.n_nationkey)"}]}]}, {"Node Type": "Hash", "Parent Relationship": "Inner", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 424724.27, "Total Cost": 424724.27, "Plan Rows": 32063, "Plan Width": 4, "Output": ["partsupp.ps_suppkey"], "Plans": [{"Node Type": "Nested Loop", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Join Type": "Inner", "Startup Cost": 1000.43, "Total Cost": 424724.27, "Plan Rows": 32063, "Plan Width": 4, "Output": ["partsupp.ps_suppkey"], "Inner Unique": false, "Plans": [{"Node Type": "Gather", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 1000.0, "Total Cost": 50615.8, "Plan Rows": 24048, "Plan Width": 4, "Output": ["part.p_partkey"], "Workers Planned": 4, "Single Copy": false, "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": true, "Async Capable": false, "Relation Name": "part", "Schema": "public", "Alias": "part", "Startup Cost": 0.0, "Total Cost": 47211.0, "Plan Rows": 6012, "Plan Width": 4, "Output": ["part.p_partkey"], "Filter": "((part.p_name)::text ~~ 'floral%'::text)"}]}, {"Node Type": "Index Scan", "Parent Relationship": "Inner", "Parallel Aware": false, "Async Capable": false, "Scan Direction": "Forward", "Index Name": "ps_pk", "Relation Name": "partsupp", "Schema": "public", "Alias": "partsupp", "Startup Cost": 0.43, "Total Cost": 15.54, "Plan Rows": 2, "Plan Width": 8, "Output": ["partsupp.ps_partkey", "partsupp.ps_suppkey", "partsupp.ps_availqty", "partsupp.ps_supplycost", "partsupp.ps_comment"], "Index Cond": "(partsupp.ps_partkey = part.p_partkey)", "Filter": "((partsupp.ps_availqty)::numeric > (SubPlan 1))", "Plans": [{"Node Type": "Aggregate", "Strategy": "Plain", "Partial Mode": "Simple", "Parent Relationship": "SubPlan", "Subplan Name": "SubPlan 1", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 2.67, "Total Cost": 2.68, "Plan Rows": 1, "Plan Width": 32, "Output": ["(0.5 * sum(lineitem.l_quantity))"], "Plans": [{"Node Type": "Index Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Scan Direction": "Forward", "Index Name": "l_sk_pk", "Relation Name": "lineitem", "Schema": "public", "Alias": "lineitem", "Startup Cost": 0.44, "Total Cost": 2.67, "Plan Rows": 1, "Plan Width": 5, "Output": ["lineitem.l_orderkey", "lineitem.l_partkey", "lineitem.l_suppkey", "lineitem.l_linenumber", "lineitem.l_quantity", "lineitem.l_extendedprice", "lineitem.l_discount", "lineitem.l_tax", "lineitem.l_returnflag", "lineitem.l_linestatus", "lineitem.l_shipdate", "lineitem.l_commitdate", "lineitem.l_receiptdate", "lineitem.l_shipinstruct", "lineitem.l_shipmode", "lineitem.l_comment"], "Index Cond": "((lineitem.l_suppkey = partsupp.ps_suppkey) AND (lineitem.l_partkey = partsupp.ps_partkey))", "Filter": "((lineitem.l_shipdate >= '1996-01-01'::date) AND (lineitem.l_shipdate < '1997-01-01 00:00:00'::timestamp without time zone))"}]}]}]}]}]}]}} diff --git a/dev9/pg16/tpch/sf_10/explain/15721/21-1.ok b/dev9/pg16/tpch/sf_10/explain/15721/21-1.ok new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/dev9/pg16/tpch/sf_10/explain/15721/21-1.res b/dev9/pg16/tpch/sf_10/explain/15721/21-1.res new file mode 100644 index 0000000000000000000000000000000000000000..187d0d25e9d777825a5ddfc1cf57925469f80c51 --- /dev/null +++ b/dev9/pg16/tpch/sf_10/explain/15721/21-1.res @@ -0,0 +1 @@ +{"Plan": {"Node Type": "Limit", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 405681.84, "Total Cost": 405681.84, "Plan Rows": 1, "Plan Width": 34, "Output": ["supplier.s_name", "(count(*))"], "Plans": [{"Node Type": "Sort", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 405681.84, "Total Cost": 405681.84, "Plan Rows": 1, "Plan Width": 34, "Output": ["supplier.s_name", "(count(*))"], "Sort Key": ["(count(*)) DESC", "supplier.s_name"], "Plans": [{"Node Type": "Aggregate", "Strategy": "Sorted", "Partial Mode": "Simple", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 405681.81, "Total Cost": 405681.83, "Plan Rows": 1, "Plan Width": 34, "Output": ["supplier.s_name", "count(*)"], "Group Key": ["supplier.s_name"], "Plans": [{"Node Type": "Sort", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 405681.81, "Total Cost": 405681.81, "Plan Rows": 1, "Plan Width": 26, "Output": ["supplier.s_name"], "Sort Key": ["supplier.s_name"], "Plans": [{"Node Type": "Nested Loop", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Join Type": "Inner", "Startup Cost": 1003.33, "Total Cost": 405681.8, "Plan Rows": 1, "Plan Width": 26, "Output": ["supplier.s_name"], "Inner Unique": true, "Plans": [{"Node Type": "Nested Loop", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Join Type": "Semi", "Startup Cost": 1002.9, "Total Cost": 405681.32, "Plan Rows": 1, "Plan Width": 34, "Output": ["supplier.s_name", "l1.l_orderkey", "l2.l_orderkey"], "Inner Unique": false, "Plans": [{"Node Type": "Gather", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 1002.33, "Total Cost": 405680.07, "Plan Rows": 1, "Plan Width": 34, "Output": ["supplier.s_name", "l1.l_suppkey", "l1.l_orderkey"], "Workers Planned": 1, "Single Copy": false, "Plans": [{"Node Type": "Nested Loop", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Join Type": "Anti", "Startup Cost": 2.33, "Total Cost": 404679.97, "Plan Rows": 1, "Plan Width": 34, "Output": ["supplier.s_name", "l1.l_suppkey", "l1.l_orderkey"], "Inner Unique": false, "Plans": [{"Node Type": "Nested Loop", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Join Type": "Inner", "Startup Cost": 1.76, "Total Cost": 67846.2, "Plan Rows": 470466, "Plan Width": 34, "Output": ["supplier.s_name", "l1.l_suppkey", "l1.l_orderkey"], "Inner Unique": false, "Plans": [{"Node Type": "Hash Join", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Join Type": "Inner", "Startup Cost": 1.32, "Total Cost": 2989.15, "Plan Rows": 2353, "Plan Width": 30, "Output": ["supplier.s_name", "supplier.s_suppkey"], "Inner Unique": true, "Hash Cond": "(supplier.s_nationkey = nation.n_nationkey)", "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": true, "Async Capable": false, "Relation Name": "supplier", "Schema": "public", "Alias": "supplier", "Startup Cost": 0.0, "Total Cost": 2807.24, "Plan Rows": 58824, "Plan Width": 34, "Output": ["supplier.s_suppkey", "supplier.s_name", "supplier.s_address", "supplier.s_nationkey", "supplier.s_phone", "supplier.s_acctbal", "supplier.s_comment"]}, {"Node Type": "Hash", "Parent Relationship": "Inner", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 1.31, "Total Cost": 1.31, "Plan Rows": 1, "Plan Width": 4, "Output": ["nation.n_nationkey"], "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Relation Name": "nation", "Schema": "public", "Alias": "nation", "Startup Cost": 0.0, "Total Cost": 1.31, "Plan Rows": 1, "Plan Width": 4, "Output": ["nation.n_nationkey"], "Filter": "(nation.n_name = 'CHINA'::bpchar)"}]}]}, {"Node Type": "Index Scan", "Parent Relationship": "Inner", "Parallel Aware": false, "Async Capable": false, "Scan Direction": "Forward", "Index Name": "l_sk_pk", "Relation Name": "lineitem", "Schema": "public", "Alias": "l1", "Startup Cost": 0.44, "Total Cost": 25.55, "Plan Rows": 201, "Plan Width": 8, "Output": ["l1.l_orderkey", "l1.l_partkey", "l1.l_suppkey", "l1.l_linenumber", "l1.l_quantity", "l1.l_extendedprice", "l1.l_discount", "l1.l_tax", "l1.l_returnflag", "l1.l_linestatus", "l1.l_shipdate", "l1.l_commitdate", "l1.l_receiptdate", "l1.l_shipinstruct", "l1.l_shipmode", "l1.l_comment"], "Index Cond": "(l1.l_suppkey = supplier.s_suppkey)", "Filter": "(l1.l_receiptdate > l1.l_commitdate)"}]}, {"Node Type": "Index Scan", "Parent Relationship": "Inner", "Parallel Aware": false, "Async Capable": false, "Scan Direction": "Forward", "Index Name": "l_ok", "Relation Name": "lineitem", "Schema": "public", "Alias": "l3", "Startup Cost": 0.56, "Total Cost": 1.31, "Plan Rows": 10, "Plan Width": 8, "Output": ["l3.l_orderkey", "l3.l_partkey", "l3.l_suppkey", "l3.l_linenumber", "l3.l_quantity", "l3.l_extendedprice", "l3.l_discount", "l3.l_tax", "l3.l_returnflag", "l3.l_linestatus", "l3.l_shipdate", "l3.l_commitdate", "l3.l_receiptdate", "l3.l_shipinstruct", "l3.l_shipmode", "l3.l_comment"], "Index Cond": "(l3.l_orderkey = l1.l_orderkey)", "Filter": "((l3.l_receiptdate > l3.l_commitdate) AND (l3.l_suppkey <> l1.l_suppkey))"}]}]}, {"Node Type": "Index Scan", "Parent Relationship": "Inner", "Parallel Aware": false, "Async Capable": false, "Scan Direction": "Forward", "Index Name": "l_ok", "Relation Name": "lineitem", "Schema": "public", "Alias": "l2", "Startup Cost": 0.56, "Total Cost": 1.23, "Plan Rows": 30, "Plan Width": 8, "Output": ["l2.l_orderkey", "l2.l_partkey", "l2.l_suppkey", "l2.l_linenumber", "l2.l_quantity", "l2.l_extendedprice", "l2.l_discount", "l2.l_tax", "l2.l_returnflag", "l2.l_linestatus", "l2.l_shipdate", "l2.l_commitdate", "l2.l_receiptdate", "l2.l_shipinstruct", "l2.l_shipmode", "l2.l_comment"], "Index Cond": "(l2.l_orderkey = l1.l_orderkey)", "Filter": "(l2.l_suppkey <> l1.l_suppkey)"}]}, {"Node Type": "Index Scan", "Parent Relationship": "Inner", "Parallel Aware": false, "Async Capable": false, "Scan Direction": "Forward", "Index Name": "o_ok", "Relation Name": "orders", "Schema": "public", "Alias": "orders", "Startup Cost": 0.43, "Total Cost": 0.47, "Plan Rows": 1, "Plan Width": 4, "Output": ["orders.o_orderkey", "orders.o_custkey", "orders.o_orderstatus", "orders.o_totalprice", "orders.o_orderdate", "orders.o_orderpriority", "orders.o_clerk", "orders.o_shippriority", "orders.o_comment"], "Index Cond": "(orders.o_orderkey = l1.l_orderkey)", "Filter": "(orders.o_orderstatus = 'F'::bpchar)"}]}]}]}]}]}} diff --git a/dev9/pg16/tpch/sf_10/explain/15721/22-1.ok b/dev9/pg16/tpch/sf_10/explain/15721/22-1.ok new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/dev9/pg16/tpch/sf_10/explain/15721/22-1.res b/dev9/pg16/tpch/sf_10/explain/15721/22-1.res new file mode 100644 index 0000000000000000000000000000000000000000..bda0e347b851d0e5657743210648ad064070367f --- /dev/null +++ b/dev9/pg16/tpch/sf_10/explain/15721/22-1.res @@ -0,0 +1 @@ +{"Plan": {"Node Type": "Aggregate", "Strategy": "Sorted", "Partial Mode": "Simple", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 96008.81, "Total Cost": 97083.03, "Plan Rows": 7422, "Plan Width": 72, "Output": ["(SUBSTRING(customer.c_phone FROM 1 FOR 2))", "count(*)", "sum(customer.c_acctbal)"], "Group Key": ["(SUBSTRING(customer.c_phone FROM 1 FOR 2))"], "Plans": [{"Node Type": "Aggregate", "Strategy": "Plain", "Partial Mode": "Finalize", "Parent Relationship": "InitPlan", "Subplan Name": "InitPlan 1 (returns $1)", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 46798.03, "Total Cost": 46798.04, "Plan Rows": 1, "Plan Width": 32, "Output": ["avg(customer_1.c_acctbal)"], "Plans": [{"Node Type": "Gather", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 46797.6, "Total Cost": 46798.01, "Plan Rows": 4, "Plan Width": 32, "Output": ["(PARTIAL avg(customer_1.c_acctbal))"], "Workers Planned": 4, "Single Copy": false, "Plans": [{"Node Type": "Aggregate", "Strategy": "Plain", "Partial Mode": "Partial", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 45797.6, "Total Cost": 45797.61, "Plan Rows": 1, "Plan Width": 32, "Output": ["PARTIAL avg(customer_1.c_acctbal)"], "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": true, "Async Capable": false, "Relation Name": "customer", "Schema": "public", "Alias": "customer_1", "Startup Cost": 0.0, "Total Cost": 45767.75, "Plan Rows": 11938, "Plan Width": 6, "Output": ["customer_1.c_custkey", "customer_1.c_name", "customer_1.c_address", "customer_1.c_nationkey", "customer_1.c_phone", "customer_1.c_acctbal", "customer_1.c_mktsegment", "customer_1.c_comment"], "Filter": "((customer_1.c_acctbal > 0.00) AND (SUBSTRING(customer_1.c_phone FROM 1 FOR 2) = ANY ('{17,20,25,31,30,11,33}'::text[])))"}]}]}]}, {"Node Type": "Gather Merge", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 49210.77, "Total Cost": 50099.44, "Plan Rows": 7422, "Plan Width": 38, "Output": ["(SUBSTRING(customer.c_phone FROM 1 FOR 2))", "customer.c_acctbal"], "Workers Planned": 4, "Params Evaluated": ["$1"], "Plans": [{"Node Type": "Sort", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 48210.71, "Total Cost": 48215.35, "Plan Rows": 1856, "Plan Width": 38, "Output": ["(SUBSTRING(customer.c_phone FROM 1 FOR 2))", "customer.c_acctbal"], "Sort Key": ["(SUBSTRING(customer.c_phone FROM 1 FOR 2))"], "Plans": [{"Node Type": "Nested Loop", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Join Type": "Anti", "Startup Cost": 0.43, "Total Cost": 48109.95, "Plan Rows": 1856, "Plan Width": 38, "Output": ["SUBSTRING(customer.c_phone FROM 1 FOR 2)", "customer.c_acctbal"], "Inner Unique": false, "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": true, "Async Capable": false, "Relation Name": "customer", "Schema": "public", "Alias": "customer", "Startup Cost": 0.0, "Total Cost": 45767.75, "Plan Rows": 4375, "Plan Width": 26, "Output": ["customer.c_custkey", "customer.c_name", "customer.c_address", "customer.c_nationkey", "customer.c_phone", "customer.c_acctbal", "customer.c_mktsegment", "customer.c_comment"], "Filter": "((customer.c_acctbal > $1) AND (SUBSTRING(customer.c_phone FROM 1 FOR 2) = ANY ('{17,20,25,31,30,11,33}'::text[])))"}, {"Node Type": "Index Only Scan", "Parent Relationship": "Inner", "Parallel Aware": false, "Async Capable": false, "Scan Direction": "Forward", "Index Name": "o_ck", "Relation Name": "orders", "Schema": "public", "Alias": "orders", "Startup Cost": 0.43, "Total Cost": 1.43, "Plan Rows": 17, "Plan Width": 4, "Output": ["orders.o_custkey"], "Index Cond": "(orders.o_custkey = customer.c_custkey)"}]}]}]}]}} diff --git a/dev9/pg16/tpch/sf_10/explain/15721/3-1.ok b/dev9/pg16/tpch/sf_10/explain/15721/3-1.ok new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/dev9/pg16/tpch/sf_10/explain/15721/3-1.res b/dev9/pg16/tpch/sf_10/explain/15721/3-1.res new file mode 100644 index 0000000000000000000000000000000000000000..fd9719fd4923314a4401d0e58e687f7641299dcd --- /dev/null +++ b/dev9/pg16/tpch/sf_10/explain/15721/3-1.res @@ -0,0 +1 @@ +{"Plan": {"Node Type": "Limit", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 1353668.54, "Total Cost": 1353668.57, "Plan Rows": 10, "Plan Width": 44, "Output": ["lineitem.l_orderkey", "(sum((lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount))))", "orders.o_orderdate", "orders.o_shippriority"], "Plans": [{"Node Type": "Sort", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 1353668.54, "Total Cost": 1361549.24, "Plan Rows": 3152278, "Plan Width": 44, "Output": ["lineitem.l_orderkey", "(sum((lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount))))", "orders.o_orderdate", "orders.o_shippriority"], "Sort Key": ["(sum((lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount)))) DESC", "orders.o_orderdate"], "Plans": [{"Node Type": "Aggregate", "Strategy": "Sorted", "Partial Mode": "Simple", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 821424.43, "Total Cost": 1285548.95, "Plan Rows": 3152278, "Plan Width": 44, "Output": ["lineitem.l_orderkey", "sum((lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount)))", "orders.o_orderdate", "orders.o_shippriority"], "Group Key": ["lineitem.l_orderkey", "orders.o_orderdate", "orders.o_shippriority"], "Plans": [{"Node Type": "Gather Merge", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 821424.43, "Total Cost": 1198861.3, "Plan Rows": 3152278, "Plan Width": 24, "Output": ["lineitem.l_orderkey", "orders.o_orderdate", "orders.o_shippriority", "lineitem.l_extendedprice", "lineitem.l_discount"], "Workers Planned": 4, "Plans": [{"Node Type": "Sort", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 820424.37, "Total Cost": 822394.55, "Plan Rows": 788070, "Plan Width": 24, "Output": ["lineitem.l_orderkey", "orders.o_orderdate", "orders.o_shippriority", "lineitem.l_extendedprice", "lineitem.l_discount"], "Sort Key": ["lineitem.l_orderkey", "orders.o_orderdate", "orders.o_shippriority"], "Plans": [{"Node Type": "Nested Loop", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Join Type": "Inner", "Startup Cost": 1.0, "Total Cost": 733774.04, "Plan Rows": 788070, "Plan Width": 24, "Output": ["lineitem.l_orderkey", "orders.o_orderdate", "orders.o_shippriority", "lineitem.l_extendedprice", "lineitem.l_discount"], "Inner Unique": false, "Plans": [{"Node Type": "Nested Loop", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Join Type": "Inner", "Startup Cost": 0.43, "Total Cost": 180908.75, "Plan Rows": 366526, "Plan Width": 12, "Output": ["orders.o_orderdate", "orders.o_shippriority", "orders.o_orderkey"], "Inner Unique": false, "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": true, "Async Capable": false, "Relation Name": "customer", "Schema": "public", "Alias": "customer", "Startup Cost": 0.0, "Total Cost": 40611.5, "Plan Rows": 75125, "Plan Width": 4, "Output": ["customer.c_custkey", "customer.c_name", "customer.c_address", "customer.c_nationkey", "customer.c_phone", "customer.c_acctbal", "customer.c_mktsegment", "customer.c_comment"], "Filter": "(customer.c_mktsegment = 'FURNITURE'::bpchar)"}, {"Node Type": "Index Scan", "Parent Relationship": "Inner", "Parallel Aware": false, "Async Capable": false, "Scan Direction": "Forward", "Index Name": "o_ck", "Relation Name": "orders", "Schema": "public", "Alias": "orders", "Startup Cost": 0.43, "Total Cost": 1.79, "Plan Rows": 8, "Plan Width": 16, "Output": ["orders.o_orderkey", "orders.o_custkey", "orders.o_orderstatus", "orders.o_totalprice", "orders.o_orderdate", "orders.o_orderpriority", "orders.o_clerk", "orders.o_shippriority", "orders.o_comment"], "Index Cond": "(orders.o_custkey = customer.c_custkey)", "Filter": "(orders.o_orderdate < '1995-03-20'::date)"}]}, {"Node Type": "Index Scan", "Parent Relationship": "Inner", "Parallel Aware": false, "Async Capable": false, "Scan Direction": "Forward", "Index Name": "l_ok", "Relation Name": "lineitem", "Schema": "public", "Alias": "lineitem", "Startup Cost": 0.56, "Total Cost": 1.35, "Plan Rows": 16, "Plan Width": 16, "Output": ["lineitem.l_orderkey", "lineitem.l_partkey", "lineitem.l_suppkey", "lineitem.l_linenumber", "lineitem.l_quantity", "lineitem.l_extendedprice", "lineitem.l_discount", "lineitem.l_tax", "lineitem.l_returnflag", "lineitem.l_linestatus", "lineitem.l_shipdate", "lineitem.l_commitdate", "lineitem.l_receiptdate", "lineitem.l_shipinstruct", "lineitem.l_shipmode", "lineitem.l_comment"], "Index Cond": "(lineitem.l_orderkey = orders.o_orderkey)", "Filter": "(lineitem.l_shipdate > '1995-03-20'::date)"}]}]}]}]}]}]}} diff --git a/dev9/pg16/tpch/sf_10/explain/15721/4-1.ok b/dev9/pg16/tpch/sf_10/explain/15721/4-1.ok new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/dev9/pg16/tpch/sf_10/explain/15721/4-1.res b/dev9/pg16/tpch/sf_10/explain/15721/4-1.res new file mode 100644 index 0000000000000000000000000000000000000000..df5bea500cbd213b75f9c81668f40c6983e30ada --- /dev/null +++ b/dev9/pg16/tpch/sf_10/explain/15721/4-1.res @@ -0,0 +1 @@ +{"Plan": {"Node Type": "Aggregate", "Strategy": "Sorted", "Partial Mode": "Finalize", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 341339.97, "Total Cost": 341436.34, "Plan Rows": 5, "Plan Width": 24, "Output": ["orders.o_orderpriority", "count(*)"], "Group Key": ["orders.o_orderpriority"], "Plans": [{"Node Type": "Gather Merge", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 341339.97, "Total Cost": 341436.14, "Plan Rows": 30, "Plan Width": 24, "Output": ["orders.o_orderpriority", "(PARTIAL count(*))"], "Workers Planned": 6, "Plans": [{"Node Type": "Aggregate", "Strategy": "Sorted", "Partial Mode": "Partial", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 340339.87, "Total Cost": 340432.4, "Plan Rows": 5, "Plan Width": 24, "Output": ["orders.o_orderpriority", "PARTIAL count(*)"], "Group Key": ["orders.o_orderpriority"], "Plans": [{"Node Type": "Sort", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 340339.87, "Total Cost": 340370.7, "Plan Rows": 12330, "Plan Width": 16, "Output": ["orders.o_orderpriority"], "Sort Key": ["orders.o_orderpriority"], "Plans": [{"Node Type": "Nested Loop", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Join Type": "Semi", "Startup Cost": 6309.15, "Total Cost": 339502.06, "Plan Rows": 12330, "Plan Width": 16, "Output": ["orders.o_orderpriority"], "Inner Unique": false, "Plans": [{"Node Type": "Bitmap Heap Scan", "Parent Relationship": "Outer", "Parallel Aware": true, "Async Capable": false, "Relation Name": "orders", "Schema": "public", "Alias": "orders", "Startup Cost": 6308.58, "Total Cost": 268928.84, "Plan Rows": 93950, "Plan Width": 20, "Output": ["orders.o_orderkey", "orders.o_custkey", "orders.o_orderstatus", "orders.o_totalprice", "orders.o_orderdate", "orders.o_orderpriority", "orders.o_clerk", "orders.o_shippriority", "orders.o_comment"], "Recheck Cond": "((orders.o_orderdate >= '1996-01-01'::date) AND (orders.o_orderdate < '1996-04-01 00:00:00'::timestamp without time zone))", "Plans": [{"Node Type": "Bitmap Index Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Index Name": "o_od", "Startup Cost": 0.0, "Total Cost": 6167.66, "Plan Rows": 563702, "Plan Width": 0, "Index Cond": "((orders.o_orderdate >= '1996-01-01'::date) AND (orders.o_orderdate < '1996-04-01 00:00:00'::timestamp without time zone))"}]}, {"Node Type": "Index Scan", "Parent Relationship": "Inner", "Parallel Aware": false, "Async Capable": false, "Scan Direction": "Forward", "Index Name": "l_ok", "Relation Name": "lineitem", "Schema": "public", "Alias": "lineitem", "Startup Cost": 0.56, "Total Cost": 2.23, "Plan Rows": 10, "Plan Width": 4, "Output": ["lineitem.l_orderkey", "lineitem.l_partkey", "lineitem.l_suppkey", "lineitem.l_linenumber", "lineitem.l_quantity", "lineitem.l_extendedprice", "lineitem.l_discount", "lineitem.l_tax", "lineitem.l_returnflag", "lineitem.l_linestatus", "lineitem.l_shipdate", "lineitem.l_commitdate", "lineitem.l_receiptdate", "lineitem.l_shipinstruct", "lineitem.l_shipmode", "lineitem.l_comment"], "Index Cond": "(lineitem.l_orderkey = orders.o_orderkey)", "Filter": "(lineitem.l_commitdate < lineitem.l_receiptdate)"}]}]}]}]}]}} diff --git a/dev9/pg16/tpch/sf_10/explain/15721/5-1.ok b/dev9/pg16/tpch/sf_10/explain/15721/5-1.ok new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/dev9/pg16/tpch/sf_10/explain/15721/5-1.res b/dev9/pg16/tpch/sf_10/explain/15721/5-1.res new file mode 100644 index 0000000000000000000000000000000000000000..9495c5997e13809ff9c3cba371370b60a1da7d05 --- /dev/null +++ b/dev9/pg16/tpch/sf_10/explain/15721/5-1.res @@ -0,0 +1 @@ +{"Plan": {"Node Type": "Sort", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 355897.72, "Total Cost": 355897.78, "Plan Rows": 25, "Plan Width": 58, "Output": ["nation.n_name", "(sum((lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount))))"], "Sort Key": ["(sum((lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount)))) DESC"], "Plans": [{"Node Type": "Aggregate", "Strategy": "Sorted", "Partial Mode": "Finalize", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 355654.36, "Total Cost": 355897.14, "Plan Rows": 25, "Plan Width": 58, "Output": ["nation.n_name", "sum((lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount)))"], "Group Key": ["nation.n_name"], "Plans": [{"Node Type": "Gather Merge", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 355654.36, "Total Cost": 355896.08, "Plan Rows": 100, "Plan Width": 58, "Output": ["nation.n_name", "(PARTIAL sum((lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount))))"], "Workers Planned": 4, "Plans": [{"Node Type": "Aggregate", "Strategy": "Sorted", "Partial Mode": "Partial", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 354654.3, "Total Cost": 354884.11, "Plan Rows": 25, "Plan Width": 58, "Output": ["nation.n_name", "PARTIAL sum((lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount)))"], "Group Key": ["nation.n_name"], "Plans": [{"Node Type": "Sort", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 354654.3, "Total Cost": 354700.2, "Plan Rows": 18360, "Plan Width": 38, "Output": ["nation.n_name", "lineitem.l_extendedprice", "lineitem.l_discount"], "Sort Key": ["nation.n_name"], "Plans": [{"Node Type": "Hash Join", "Parent Relationship": "Outer", "Parallel Aware": true, "Async Capable": false, "Join Type": "Inner", "Startup Cost": 3693.1, "Total Cost": 353354.02, "Plan Rows": 18360, "Plan Width": 38, "Output": ["nation.n_name", "lineitem.l_extendedprice", "lineitem.l_discount"], "Inner Unique": true, "Hash Cond": "((lineitem.l_suppkey = supplier.s_suppkey) AND (customer.c_nationkey = supplier.s_nationkey))", "Plans": [{"Node Type": "Nested Loop", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Join Type": "Inner", "Startup Cost": 3.51, "Total Cost": 347254.69, "Plan Rows": 458997, "Plan Width": 50, "Output": ["customer.c_nationkey", "lineitem.l_extendedprice", "lineitem.l_discount", "lineitem.l_suppkey", "nation.n_name", "nation.n_nationkey"], "Inner Unique": false, "Plans": [{"Node Type": "Nested Loop", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Join Type": "Inner", "Startup Cost": 2.94, "Total Cost": 120608.37, "Plan Rows": 114777, "Plan Width": 38, "Output": ["customer.c_nationkey", "orders.o_orderkey", "nation.n_name", "nation.n_nationkey"], "Inner Unique": false, "Plans": [{"Node Type": "Hash Join", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Join Type": "Inner", "Startup Cost": 2.51, "Total Cost": 41832.76, "Plan Rows": 75000, "Plan Width": 38, "Output": ["customer.c_custkey", "customer.c_nationkey", "nation.n_name", "nation.n_nationkey"], "Inner Unique": false, "Hash Cond": "(customer.c_nationkey = nation.n_nationkey)", "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": true, "Async Capable": false, "Relation Name": "customer", "Schema": "public", "Alias": "customer", "Startup Cost": 0.0, "Total Cost": 39674.0, "Plan Rows": 375000, "Plan Width": 8, "Output": ["customer.c_custkey", "customer.c_name", "customer.c_address", "customer.c_nationkey", "customer.c_phone", "customer.c_acctbal", "customer.c_mktsegment", "customer.c_comment"]}, {"Node Type": "Hash", "Parent Relationship": "Inner", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 2.45, "Total Cost": 2.45, "Plan Rows": 5, "Plan Width": 30, "Output": ["nation.n_name", "nation.n_nationkey"], "Plans": [{"Node Type": "Hash Join", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Join Type": "Inner", "Startup Cost": 1.07, "Total Cost": 2.45, "Plan Rows": 5, "Plan Width": 30, "Output": ["nation.n_name", "nation.n_nationkey"], "Inner Unique": true, "Hash Cond": "(nation.n_regionkey = region.r_regionkey)", "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Relation Name": "nation", "Schema": "public", "Alias": "nation", "Startup Cost": 0.0, "Total Cost": 1.25, "Plan Rows": 25, "Plan Width": 34, "Output": ["nation.n_nationkey", "nation.n_name", "nation.n_regionkey", "nation.n_comment"]}, {"Node Type": "Hash", "Parent Relationship": "Inner", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 1.06, "Total Cost": 1.06, "Plan Rows": 1, "Plan Width": 4, "Output": ["region.r_regionkey"], "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Relation Name": "region", "Schema": "public", "Alias": "region", "Startup Cost": 0.0, "Total Cost": 1.06, "Plan Rows": 1, "Plan Width": 4, "Output": ["region.r_regionkey"], "Filter": "(region.r_name = 'AMERICA'::bpchar)"}]}]}]}]}, {"Node Type": "Index Scan", "Parent Relationship": "Inner", "Parallel Aware": false, "Async Capable": false, "Scan Direction": "Forward", "Index Name": "o_ck", "Relation Name": "orders", "Schema": "public", "Alias": "orders", "Startup Cost": 0.43, "Total Cost": 1.02, "Plan Rows": 3, "Plan Width": 8, "Output": ["orders.o_orderkey", "orders.o_custkey", "orders.o_orderstatus", "orders.o_totalprice", "orders.o_orderdate", "orders.o_orderpriority", "orders.o_clerk", "orders.o_shippriority", "orders.o_comment"], "Index Cond": "(orders.o_custkey = customer.c_custkey)", "Filter": "((orders.o_orderdate >= '1995-01-01'::date) AND (orders.o_orderdate < '1996-01-01 00:00:00'::timestamp without time zone))"}]}, {"Node Type": "Index Scan", "Parent Relationship": "Inner", "Parallel Aware": false, "Async Capable": false, "Scan Direction": "Forward", "Index Name": "l_ok", "Relation Name": "lineitem", "Schema": "public", "Alias": "lineitem", "Startup Cost": 0.56, "Total Cost": 1.67, "Plan Rows": 30, "Plan Width": 20, "Output": ["lineitem.l_orderkey", "lineitem.l_partkey", "lineitem.l_suppkey", "lineitem.l_linenumber", "lineitem.l_quantity", "lineitem.l_extendedprice", "lineitem.l_discount", "lineitem.l_tax", "lineitem.l_returnflag", "lineitem.l_linestatus", "lineitem.l_shipdate", "lineitem.l_commitdate", "lineitem.l_receiptdate", "lineitem.l_shipinstruct", "lineitem.l_shipmode", "lineitem.l_comment"], "Index Cond": "(lineitem.l_orderkey = orders.o_orderkey)"}]}, {"Node Type": "Hash", "Parent Relationship": "Inner", "Parallel Aware": true, "Async Capable": false, "Startup Cost": 2807.24, "Total Cost": 2807.24, "Plan Rows": 58824, "Plan Width": 8, "Output": ["supplier.s_suppkey", "supplier.s_nationkey"], "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": true, "Async Capable": false, "Relation Name": "supplier", "Schema": "public", "Alias": "supplier", "Startup Cost": 0.0, "Total Cost": 2807.24, "Plan Rows": 58824, "Plan Width": 8, "Output": ["supplier.s_suppkey", "supplier.s_nationkey"]}]}]}]}]}]}]}]}} diff --git a/dev9/pg16/tpch/sf_10/explain/15721/6-1.ok b/dev9/pg16/tpch/sf_10/explain/15721/6-1.ok new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/dev9/pg16/tpch/sf_10/explain/15721/6-1.res b/dev9/pg16/tpch/sf_10/explain/15721/6-1.res new file mode 100644 index 0000000000000000000000000000000000000000..17c0bdd57d329c28b6f301c18e9f6f959798e4cc --- /dev/null +++ b/dev9/pg16/tpch/sf_10/explain/15721/6-1.res @@ -0,0 +1 @@ +{"Plan": {"Node Type": "Aggregate", "Strategy": "Plain", "Partial Mode": "Finalize", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 1319706.79, "Total Cost": 1319706.8, "Plan Rows": 1, "Plan Width": 32, "Output": ["sum((l_extendedprice * l_discount))"], "Plans": [{"Node Type": "Gather", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 1319706.04, "Total Cost": 1319706.75, "Plan Rows": 7, "Plan Width": 32, "Output": ["(PARTIAL sum((l_extendedprice * l_discount)))"], "Workers Planned": 7, "Single Copy": false, "Plans": [{"Node Type": "Aggregate", "Strategy": "Plain", "Partial Mode": "Partial", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 1318706.04, "Total Cost": 1318706.05, "Plan Rows": 1, "Plan Width": 32, "Output": ["PARTIAL sum((l_extendedprice * l_discount))"], "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": true, "Async Capable": false, "Relation Name": "lineitem", "Schema": "public", "Alias": "lineitem", "Startup Cost": 0.0, "Total Cost": 1317900.36, "Plan Rows": 161136, "Plan Width": 12, "Output": ["l_orderkey", "l_partkey", "l_suppkey", "l_linenumber", "l_quantity", "l_extendedprice", "l_discount", "l_tax", "l_returnflag", "l_linestatus", "l_shipdate", "l_commitdate", "l_receiptdate", "l_shipinstruct", "l_shipmode", "l_comment"], "Filter": "((lineitem.l_shipdate >= '1995-01-01'::date) AND (lineitem.l_shipdate < '1996-01-01 00:00:00'::timestamp without time zone) AND (lineitem.l_discount >= 0.04) AND (lineitem.l_discount <= 0.06) AND (lineitem.l_quantity < '24'::numeric))"}]}]}]}} diff --git a/dev9/pg16/tpch/sf_10/explain/15721/7-1.ok b/dev9/pg16/tpch/sf_10/explain/15721/7-1.ok new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/dev9/pg16/tpch/sf_10/explain/15721/7-1.res b/dev9/pg16/tpch/sf_10/explain/15721/7-1.res new file mode 100644 index 0000000000000000000000000000000000000000..25a53be8651202bb19ed7c1194dfcf4b32dba6a4 --- /dev/null +++ b/dev9/pg16/tpch/sf_10/explain/15721/7-1.res @@ -0,0 +1 @@ +{"Plan": {"Node Type": "Aggregate", "Strategy": "Sorted", "Partial Mode": "Finalize", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 227199.31, "Total Cost": 233079.7, "Plan Rows": 10092, "Plan Width": 116, "Output": ["n1.n_name", "n2.n_name", "(EXTRACT(year FROM lineitem.l_shipdate))", "sum((lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount)))"], "Group Key": ["n1.n_name", "n2.n_name", "(EXTRACT(year FROM lineitem.l_shipdate))"], "Plans": [{"Node Type": "Gather Merge", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 227199.31, "Total Cost": 232423.72, "Plan Rows": 40368, "Plan Width": 116, "Output": ["n1.n_name", "n2.n_name", "(EXTRACT(year FROM lineitem.l_shipdate))", "(PARTIAL sum((lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount))))"], "Workers Planned": 4, "Plans": [{"Node Type": "Aggregate", "Strategy": "Sorted", "Partial Mode": "Partial", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 226199.25, "Total Cost": 226615.44, "Plan Rows": 10092, "Plan Width": 116, "Output": ["n1.n_name", "n2.n_name", "(EXTRACT(year FROM lineitem.l_shipdate))", "PARTIAL sum((lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount)))"], "Group Key": ["n1.n_name", "n2.n_name", "(EXTRACT(year FROM lineitem.l_shipdate))"], "Plans": [{"Node Type": "Sort", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 226199.25, "Total Cost": 226237.08, "Plan Rows": 15132, "Plan Width": 96, "Output": ["n1.n_name", "n2.n_name", "(EXTRACT(year FROM lineitem.l_shipdate))", "lineitem.l_extendedprice", "lineitem.l_discount"], "Sort Key": ["n1.n_name", "n2.n_name", "(EXTRACT(year FROM lineitem.l_shipdate))"], "Plans": [{"Node Type": "Hash Join", "Parent Relationship": "Outer", "Parallel Aware": true, "Async Capable": false, "Join Type": "Inner", "Startup Cost": 149658.6, "Total Cost": 225148.69, "Plan Rows": 15132, "Plan Width": 96, "Output": ["n1.n_name", "n2.n_name", "EXTRACT(year FROM lineitem.l_shipdate)", "lineitem.l_extendedprice", "lineitem.l_discount"], "Inner Unique": false, "Hash Cond": "(orders.o_orderkey = lineitem.l_orderkey)", "Join Filter": "(((n1.n_name = 'IRAN'::bpchar) AND (n2.n_name = 'ETHIOPIA'::bpchar)) OR ((n1.n_name = 'ETHIOPIA'::bpchar) AND (n2.n_name = 'IRAN'::bpchar)))", "Plans": [{"Node Type": "Nested Loop", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Join Type": "Inner", "Startup Cost": 1.83, "Total Cost": 73986.89, "Plan Rows": 299996, "Plan Width": 30, "Output": ["orders.o_orderkey", "n2.n_name"], "Inner Unique": false, "Plans": [{"Node Type": "Hash Join", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Join Type": "Inner", "Startup Cost": 1.4, "Total Cost": 40826.65, "Plan Rows": 30000, "Plan Width": 30, "Output": ["customer.c_custkey", "n2.n_name"], "Inner Unique": true, "Hash Cond": "(customer.c_nationkey = n2.n_nationkey)", "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": true, "Async Capable": false, "Relation Name": "customer", "Schema": "public", "Alias": "customer", "Startup Cost": 0.0, "Total Cost": 39674.0, "Plan Rows": 375000, "Plan Width": 8, "Output": ["customer.c_custkey", "customer.c_name", "customer.c_address", "customer.c_nationkey", "customer.c_phone", "customer.c_acctbal", "customer.c_mktsegment", "customer.c_comment"]}, {"Node Type": "Hash", "Parent Relationship": "Inner", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 1.38, "Total Cost": 1.38, "Plan Rows": 2, "Plan Width": 30, "Output": ["n2.n_name", "n2.n_nationkey"], "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Relation Name": "nation", "Schema": "public", "Alias": "n2", "Startup Cost": 0.0, "Total Cost": 1.38, "Plan Rows": 2, "Plan Width": 30, "Output": ["n2.n_name", "n2.n_nationkey"], "Filter": "((n2.n_name = 'ETHIOPIA'::bpchar) OR (n2.n_name = 'IRAN'::bpchar))"}]}]}, {"Node Type": "Index Scan", "Parent Relationship": "Inner", "Parallel Aware": false, "Async Capable": false, "Scan Direction": "Forward", "Index Name": "o_ck", "Relation Name": "orders", "Schema": "public", "Alias": "orders", "Startup Cost": 0.43, "Total Cost": 0.94, "Plan Rows": 17, "Plan Width": 8, "Output": ["orders.o_orderkey", "orders.o_custkey", "orders.o_orderstatus", "orders.o_totalprice", "orders.o_orderdate", "orders.o_orderpriority", "orders.o_clerk", "orders.o_shippriority", "orders.o_comment"], "Index Cond": "(orders.o_custkey = customer.c_custkey)"}]}, {"Node Type": "Hash", "Parent Relationship": "Inner", "Parallel Aware": true, "Async Capable": false, "Startup Cost": 138962.31, "Total Cost": 138962.31, "Plan Rows": 855556, "Plan Width": 46, "Output": ["lineitem.l_shipdate", "lineitem.l_extendedprice", "lineitem.l_discount", "lineitem.l_orderkey", "n1.n_name"], "Plans": [{"Node Type": "Nested Loop", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Join Type": "Inner", "Startup Cost": 1.84, "Total Cost": 138962.31, "Plan Rows": 855556, "Plan Width": 46, "Output": ["lineitem.l_shipdate", "lineitem.l_extendedprice", "lineitem.l_discount", "lineitem.l_orderkey", "n1.n_name"], "Inner Unique": false, "Plans": [{"Node Type": "Hash Join", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Join Type": "Inner", "Startup Cost": 1.4, "Total Cost": 2989.23, "Plan Rows": 4706, "Plan Width": 30, "Output": ["supplier.s_suppkey", "n1.n_name"], "Inner Unique": true, "Hash Cond": "(supplier.s_nationkey = n1.n_nationkey)", "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": true, "Async Capable": false, "Relation Name": "supplier", "Schema": "public", "Alias": "supplier", "Startup Cost": 0.0, "Total Cost": 2807.24, "Plan Rows": 58824, "Plan Width": 8, "Output": ["supplier.s_suppkey", "supplier.s_name", "supplier.s_address", "supplier.s_nationkey", "supplier.s_phone", "supplier.s_acctbal", "supplier.s_comment"]}, {"Node Type": "Hash", "Parent Relationship": "Inner", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 1.38, "Total Cost": 1.38, "Plan Rows": 2, "Plan Width": 30, "Output": ["n1.n_name", "n1.n_nationkey"], "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Relation Name": "nation", "Schema": "public", "Alias": "n1", "Startup Cost": 0.0, "Total Cost": 1.38, "Plan Rows": 2, "Plan Width": 30, "Output": ["n1.n_name", "n1.n_nationkey"], "Filter": "((n1.n_name = 'IRAN'::bpchar) OR (n1.n_name = 'ETHIOPIA'::bpchar))"}]}]}, {"Node Type": "Index Scan", "Parent Relationship": "Inner", "Parallel Aware": false, "Async Capable": false, "Scan Direction": "Forward", "Index Name": "l_sk_pk", "Relation Name": "lineitem", "Schema": "public", "Alias": "lineitem", "Startup Cost": 0.44, "Total Cost": 27.06, "Plan Rows": 183, "Plan Width": 24, "Output": ["lineitem.l_orderkey", "lineitem.l_partkey", "lineitem.l_suppkey", "lineitem.l_linenumber", "lineitem.l_quantity", "lineitem.l_extendedprice", "lineitem.l_discount", "lineitem.l_tax", "lineitem.l_returnflag", "lineitem.l_linestatus", "lineitem.l_shipdate", "lineitem.l_commitdate", "lineitem.l_receiptdate", "lineitem.l_shipinstruct", "lineitem.l_shipmode", "lineitem.l_comment"], "Index Cond": "(lineitem.l_suppkey = supplier.s_suppkey)", "Filter": "((lineitem.l_shipdate >= '1995-01-01'::date) AND (lineitem.l_shipdate <= '1996-12-31'::date))"}]}]}]}]}]}]}]}} diff --git a/dev9/pg16/tpch/sf_10/explain/15721/8-1.ok b/dev9/pg16/tpch/sf_10/explain/15721/8-1.ok new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/dev9/pg16/tpch/sf_10/explain/15721/8-1.res b/dev9/pg16/tpch/sf_10/explain/15721/8-1.res new file mode 100644 index 0000000000000000000000000000000000000000..11c3a7ba1c56d01789ef6c7334049bfd18360bce --- /dev/null +++ b/dev9/pg16/tpch/sf_10/explain/15721/8-1.res @@ -0,0 +1 @@ +{"Plan": {"Node Type": "Aggregate", "Strategy": "Sorted", "Partial Mode": "Finalize", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 228992.29, "Total Cost": 230498.52, "Plan Rows": 2406, "Plan Width": 64, "Output": ["(EXTRACT(year FROM orders.o_orderdate))", "(sum(CASE WHEN (n2.n_name = 'ETHIOPIA'::bpchar) THEN (lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount)) ELSE '0'::numeric END) / sum((lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount))))"], "Group Key": ["(EXTRACT(year FROM orders.o_orderdate))"], "Plans": [{"Node Type": "Gather Merge", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 228992.29, "Total Cost": 230330.1, "Plan Rows": 9624, "Plan Width": 96, "Output": ["(EXTRACT(year FROM orders.o_orderdate))", "(PARTIAL sum(CASE WHEN (n2.n_name = 'ETHIOPIA'::bpchar) THEN (lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount)) ELSE '0'::numeric END))", "(PARTIAL sum((lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount))))"], "Workers Planned": 4, "Plans": [{"Node Type": "Aggregate", "Strategy": "Sorted", "Partial Mode": "Partial", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 227992.23, "Total Cost": 228183.73, "Plan Rows": 2406, "Plan Width": 96, "Output": ["(EXTRACT(year FROM orders.o_orderdate))", "PARTIAL sum(CASE WHEN (n2.n_name = 'ETHIOPIA'::bpchar) THEN (lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount)) ELSE '0'::numeric END)", "PARTIAL sum((lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount)))"], "Group Key": ["(EXTRACT(year FROM orders.o_orderdate))"], "Plans": [{"Node Type": "Sort", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 227992.23, "Total Cost": 228008.83, "Plan Rows": 6640, "Plan Width": 70, "Output": ["(EXTRACT(year FROM orders.o_orderdate))", "n2.n_name", "lineitem.l_extendedprice", "lineitem.l_discount"], "Sort Key": ["(EXTRACT(year FROM orders.o_orderdate))"], "Plans": [{"Node Type": "Hash Join", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Join Type": "Inner", "Startup Cost": 5.67, "Total Cost": 227570.69, "Plan Rows": 6640, "Plan Width": 70, "Output": ["EXTRACT(year FROM orders.o_orderdate)", "n2.n_name", "lineitem.l_extendedprice", "lineitem.l_discount"], "Inner Unique": true, "Hash Cond": "(supplier.s_nationkey = n2.n_nationkey)", "Plans": [{"Node Type": "Nested Loop", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Join Type": "Inner", "Startup Cost": 4.1, "Total Cost": 227532.14, "Plan Rows": 6640, "Plan Width": 20, "Output": ["lineitem.l_extendedprice", "lineitem.l_discount", "supplier.s_nationkey", "orders.o_orderdate"], "Inner Unique": true, "Plans": [{"Node Type": "Hash Join", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Join Type": "Inner", "Startup Cost": 3.81, "Total Cost": 225473.43, "Plan Rows": 6640, "Plan Width": 20, "Output": ["lineitem.l_extendedprice", "lineitem.l_discount", "lineitem.l_suppkey", "orders.o_orderdate"], "Inner Unique": false, "Hash Cond": "(customer.c_nationkey = n1.n_nationkey)", "Plans": [{"Node Type": "Nested Loop", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Join Type": "Inner", "Startup Cost": 1.3, "Total Cost": 225280.02, "Plan Rows": 33202, "Plan Width": 24, "Output": ["lineitem.l_extendedprice", "lineitem.l_discount", "lineitem.l_suppkey", "orders.o_orderdate", "customer.c_nationkey"], "Inner Unique": true, "Plans": [{"Node Type": "Nested Loop", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Join Type": "Inner", "Startup Cost": 0.88, "Total Cost": 210182.8, "Plan Rows": 33202, "Plan Width": 24, "Output": ["lineitem.l_extendedprice", "lineitem.l_discount", "lineitem.l_suppkey", "orders.o_orderdate", "orders.o_custkey"], "Inner Unique": true, "Plans": [{"Node Type": "Nested Loop", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Join Type": "Inner", "Startup Cost": 0.44, "Total Cost": 159353.49, "Plan Rows": 109772, "Plan Width": 20, "Output": ["lineitem.l_extendedprice", "lineitem.l_discount", "lineitem.l_suppkey", "lineitem.l_orderkey"], "Inner Unique": false, "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": true, "Async Capable": false, "Relation Name": "part", "Schema": "public", "Alias": "part", "Startup Cost": 0.0, "Total Cost": 47211.0, "Plan Rows": 3660, "Plan Width": 4, "Output": ["part.p_partkey", "part.p_name", "part.p_mfgr", "part.p_brand", "part.p_type", "part.p_size", "part.p_container", "part.p_retailprice", "part.p_comment"], "Filter": "((part.p_type)::text = 'SMALL BRUSHED NICKEL'::text)"}, {"Node Type": "Index Scan", "Parent Relationship": "Inner", "Parallel Aware": false, "Async Capable": false, "Scan Direction": "Forward", "Index Name": "l_pk", "Relation Name": "lineitem", "Schema": "public", "Alias": "lineitem", "Startup Cost": 0.44, "Total Cost": 30.33, "Plan Rows": 31, "Plan Width": 24, "Output": ["lineitem.l_orderkey", "lineitem.l_partkey", "lineitem.l_suppkey", "lineitem.l_linenumber", "lineitem.l_quantity", "lineitem.l_extendedprice", "lineitem.l_discount", "lineitem.l_tax", "lineitem.l_returnflag", "lineitem.l_linestatus", "lineitem.l_shipdate", "lineitem.l_commitdate", "lineitem.l_receiptdate", "lineitem.l_shipinstruct", "lineitem.l_shipmode", "lineitem.l_comment"], "Index Cond": "(lineitem.l_partkey = part.p_partkey)"}]}, {"Node Type": "Index Scan", "Parent Relationship": "Inner", "Parallel Aware": false, "Async Capable": false, "Scan Direction": "Forward", "Index Name": "o_ok", "Relation Name": "orders", "Schema": "public", "Alias": "orders", "Startup Cost": 0.43, "Total Cost": 0.46, "Plan Rows": 1, "Plan Width": 12, "Output": ["orders.o_orderkey", "orders.o_custkey", "orders.o_orderstatus", "orders.o_totalprice", "orders.o_orderdate", "orders.o_orderpriority", "orders.o_clerk", "orders.o_shippriority", "orders.o_comment"], "Index Cond": "(orders.o_orderkey = lineitem.l_orderkey)", "Filter": "((orders.o_orderdate >= '1995-01-01'::date) AND (orders.o_orderdate <= '1996-12-31'::date))"}]}, {"Node Type": "Index Scan", "Parent Relationship": "Inner", "Parallel Aware": false, "Async Capable": false, "Scan Direction": "Forward", "Index Name": "c_ck", "Relation Name": "customer", "Schema": "public", "Alias": "customer", "Startup Cost": 0.43, "Total Cost": 0.45, "Plan Rows": 1, "Plan Width": 8, "Output": ["customer.c_custkey", "customer.c_name", "customer.c_address", "customer.c_nationkey", "customer.c_phone", "customer.c_acctbal", "customer.c_mktsegment", "customer.c_comment"], "Index Cond": "(customer.c_custkey = orders.o_custkey)"}]}, {"Node Type": "Hash", "Parent Relationship": "Inner", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 2.45, "Total Cost": 2.45, "Plan Rows": 5, "Plan Width": 4, "Output": ["n1.n_nationkey"], "Plans": [{"Node Type": "Hash Join", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Join Type": "Inner", "Startup Cost": 1.07, "Total Cost": 2.45, "Plan Rows": 5, "Plan Width": 4, "Output": ["n1.n_nationkey"], "Inner Unique": true, "Hash Cond": "(n1.n_regionkey = region.r_regionkey)", "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Relation Name": "nation", "Schema": "public", "Alias": "n1", "Startup Cost": 0.0, "Total Cost": 1.25, "Plan Rows": 25, "Plan Width": 8, "Output": ["n1.n_nationkey", "n1.n_name", "n1.n_regionkey", "n1.n_comment"]}, {"Node Type": "Hash", "Parent Relationship": "Inner", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 1.06, "Total Cost": 1.06, "Plan Rows": 1, "Plan Width": 4, "Output": ["region.r_regionkey"], "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Relation Name": "region", "Schema": "public", "Alias": "region", "Startup Cost": 0.0, "Total Cost": 1.06, "Plan Rows": 1, "Plan Width": 4, "Output": ["region.r_regionkey"], "Filter": "(region.r_name = 'AFRICA'::bpchar)"}]}]}]}]}, {"Node Type": "Index Scan", "Parent Relationship": "Inner", "Parallel Aware": false, "Async Capable": false, "Scan Direction": "Forward", "Index Name": "s_sk", "Relation Name": "supplier", "Schema": "public", "Alias": "supplier", "Startup Cost": 0.29, "Total Cost": 0.31, "Plan Rows": 1, "Plan Width": 8, "Output": ["supplier.s_suppkey", "supplier.s_name", "supplier.s_address", "supplier.s_nationkey", "supplier.s_phone", "supplier.s_acctbal", "supplier.s_comment"], "Index Cond": "(supplier.s_suppkey = lineitem.l_suppkey)"}]}, {"Node Type": "Hash", "Parent Relationship": "Inner", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 1.25, "Total Cost": 1.25, "Plan Rows": 25, "Plan Width": 30, "Output": ["n2.n_name", "n2.n_nationkey"], "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Relation Name": "nation", "Schema": "public", "Alias": "n2", "Startup Cost": 0.0, "Total Cost": 1.25, "Plan Rows": 25, "Plan Width": 30, "Output": ["n2.n_name", "n2.n_nationkey"]}]}]}]}]}]}]}} diff --git a/dev9/pg16/tpch/sf_10/explain/15721/9-1.ok b/dev9/pg16/tpch/sf_10/explain/15721/9-1.ok new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/dev9/pg16/tpch/sf_10/explain/15721/9-1.res b/dev9/pg16/tpch/sf_10/explain/15721/9-1.res new file mode 100644 index 0000000000000000000000000000000000000000..e4e349bf889d239b4b04dadf70537ae6edb7d9e6 --- /dev/null +++ b/dev9/pg16/tpch/sf_10/explain/15721/9-1.res @@ -0,0 +1 @@ +{"Plan": {"Node Type": "Sort", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 542266.48, "Total Cost": 542416.85, "Plan Rows": 60150, "Plan Width": 90, "Output": ["nation.n_name", "(EXTRACT(year FROM orders.o_orderdate))", "(sum(((lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount)) - (partsupp.ps_supplycost * lineitem.l_quantity))))"], "Sort Key": ["nation.n_name", "(EXTRACT(year FROM orders.o_orderdate)) DESC"], "Plans": [{"Node Type": "Aggregate", "Strategy": "Hashed", "Partial Mode": "Finalize", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 536589.44, "Total Cost": 537491.69, "Plan Rows": 60150, "Plan Width": 90, "Output": ["nation.n_name", "(EXTRACT(year FROM orders.o_orderdate))", "sum(((lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount)) - (partsupp.ps_supplycost * lineitem.l_quantity)))"], "Group Key": ["nation.n_name", "(EXTRACT(year FROM orders.o_orderdate))"], "Planned Partitions": 0, "Plans": [{"Node Type": "Gather", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 495988.19, "Total Cost": 532980.44, "Plan Rows": 360900, "Plan Width": 90, "Output": ["nation.n_name", "(EXTRACT(year FROM orders.o_orderdate))", "(PARTIAL sum(((lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount)) - (partsupp.ps_supplycost * lineitem.l_quantity))))"], "Workers Planned": 6, "Single Copy": false, "Plans": [{"Node Type": "Aggregate", "Strategy": "Hashed", "Partial Mode": "Partial", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 494988.19, "Total Cost": 495890.44, "Plan Rows": 60150, "Plan Width": 90, "Output": ["nation.n_name", "(EXTRACT(year FROM orders.o_orderdate))", "PARTIAL sum(((lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount)) - (partsupp.ps_supplycost * lineitem.l_quantity)))"], "Group Key": ["nation.n_name", "EXTRACT(year FROM orders.o_orderdate)"], "Planned Partitions": 0, "Plans": [{"Node Type": "Hash Join", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Join Type": "Inner", "Startup Cost": 184033.97, "Total Cost": 484469.9, "Plan Rows": 601045, "Plan Width": 81, "Output": ["nation.n_name", "EXTRACT(year FROM orders.o_orderdate)", "lineitem.l_extendedprice", "lineitem.l_discount", "partsupp.ps_supplycost", "lineitem.l_quantity"], "Inner Unique": true, "Hash Cond": "(supplier.s_nationkey = nation.n_nationkey)", "Plans": [{"Node Type": "Hash Join", "Parent Relationship": "Outer", "Parallel Aware": true, "Async Capable": false, "Join Type": "Inner", "Startup Cost": 184032.41, "Total Cost": 481120.52, "Plan Rows": 601045, "Plan Width": 31, "Output": ["lineitem.l_extendedprice", "lineitem.l_discount", "lineitem.l_quantity", "supplier.s_nationkey", "partsupp.ps_supplycost", "orders.o_orderdate"], "Inner Unique": false, "Hash Cond": "(orders.o_orderkey = lineitem.l_orderkey)", "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": true, "Async Capable": false, "Relation Name": "orders", "Schema": "public", "Alias": "orders", "Startup Cost": 0.0, "Total Cost": 286210.63, "Plan Rows": 2499963, "Plan Width": 8, "Output": ["orders.o_orderkey", "orders.o_custkey", "orders.o_orderstatus", "orders.o_totalprice", "orders.o_orderdate", "orders.o_orderpriority", "orders.o_clerk", "orders.o_shippriority", "orders.o_comment"]}, {"Node Type": "Hash", "Parent Relationship": "Inner", "Parallel Aware": true, "Async Capable": false, "Startup Cost": 172762.82, "Total Cost": 172762.82, "Plan Rows": 901567, "Plan Width": 31, "Output": ["lineitem.l_extendedprice", "lineitem.l_discount", "lineitem.l_quantity", "lineitem.l_orderkey", "supplier.s_nationkey", "partsupp.ps_supplycost"], "Plans": [{"Node Type": "Nested Loop", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Join Type": "Inner", "Startup Cost": 3543.41, "Total Cost": 172762.82, "Plan Rows": 901567, "Plan Width": 31, "Output": ["lineitem.l_extendedprice", "lineitem.l_discount", "lineitem.l_quantity", "lineitem.l_orderkey", "supplier.s_nationkey", "partsupp.ps_supplycost"], "Inner Unique": false, "Join Filter": "(supplier.s_suppkey = lineitem.l_suppkey)", "Plans": [{"Node Type": "Hash Join", "Parent Relationship": "Outer", "Parallel Aware": true, "Async Capable": false, "Join Type": "Inner", "Startup Cost": 3542.97, "Total Cost": 96122.21, "Plan Rows": 120235, "Plan Width": 26, "Output": ["part.p_partkey", "partsupp.ps_supplycost", "partsupp.ps_suppkey", "partsupp.ps_partkey", "supplier.s_suppkey", "supplier.s_nationkey"], "Inner Unique": true, "Hash Cond": "(partsupp.ps_suppkey = supplier.s_suppkey)", "Plans": [{"Node Type": "Nested Loop", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Join Type": "Inner", "Startup Cost": 0.43, "Total Cost": 92264.04, "Plan Rows": 120235, "Plan Width": 18, "Output": ["part.p_partkey", "partsupp.ps_supplycost", "partsupp.ps_suppkey", "partsupp.ps_partkey"], "Inner Unique": false, "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": true, "Async Capable": false, "Relation Name": "part", "Schema": "public", "Alias": "part", "Startup Cost": 0.0, "Total Cost": 47211.0, "Plan Rows": 30060, "Plan Width": 4, "Output": ["part.p_partkey", "part.p_name", "part.p_mfgr", "part.p_brand", "part.p_type", "part.p_size", "part.p_container", "part.p_retailprice", "part.p_comment"], "Filter": "((part.p_name)::text ~~ '%forest%'::text)"}, {"Node Type": "Index Scan", "Parent Relationship": "Inner", "Parallel Aware": false, "Async Capable": false, "Scan Direction": "Forward", "Index Name": "ps_pk", "Relation Name": "partsupp", "Schema": "public", "Alias": "partsupp", "Startup Cost": 0.43, "Total Cost": 1.45, "Plan Rows": 5, "Plan Width": 14, "Output": ["partsupp.ps_partkey", "partsupp.ps_suppkey", "partsupp.ps_availqty", "partsupp.ps_supplycost", "partsupp.ps_comment"], "Index Cond": "(partsupp.ps_partkey = part.p_partkey)"}]}, {"Node Type": "Hash", "Parent Relationship": "Inner", "Parallel Aware": true, "Async Capable": false, "Startup Cost": 2807.24, "Total Cost": 2807.24, "Plan Rows": 58824, "Plan Width": 8, "Output": ["supplier.s_suppkey", "supplier.s_nationkey"], "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": true, "Async Capable": false, "Relation Name": "supplier", "Schema": "public", "Alias": "supplier", "Startup Cost": 0.0, "Total Cost": 2807.24, "Plan Rows": 58824, "Plan Width": 8, "Output": ["supplier.s_suppkey", "supplier.s_nationkey"]}]}]}, {"Node Type": "Index Scan", "Parent Relationship": "Inner", "Parallel Aware": false, "Async Capable": false, "Scan Direction": "Forward", "Index Name": "l_pk_sk", "Relation Name": "lineitem", "Schema": "public", "Alias": "lineitem", "Startup Cost": 0.44, "Total Cost": 0.62, "Plan Rows": 1, "Plan Width": 29, "Output": ["lineitem.l_orderkey", "lineitem.l_partkey", "lineitem.l_suppkey", "lineitem.l_linenumber", "lineitem.l_quantity", "lineitem.l_extendedprice", "lineitem.l_discount", "lineitem.l_tax", "lineitem.l_returnflag", "lineitem.l_linestatus", "lineitem.l_shipdate", "lineitem.l_commitdate", "lineitem.l_receiptdate", "lineitem.l_shipinstruct", "lineitem.l_shipmode", "lineitem.l_comment"], "Index Cond": "((lineitem.l_partkey = partsupp.ps_partkey) AND (lineitem.l_suppkey = partsupp.ps_suppkey))"}]}]}]}, {"Node Type": "Hash", "Parent Relationship": "Inner", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 1.25, "Total Cost": 1.25, "Plan Rows": 25, "Plan Width": 30, "Output": ["nation.n_name", "nation.n_nationkey"], "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Relation Name": "nation", "Schema": "public", "Alias": "nation", "Startup Cost": 0.0, "Total Cost": 1.25, "Plan Rows": 25, "Plan Width": 30, "Output": ["nation.n_name", "nation.n_nationkey"]}]}]}]}]}]}]}} diff --git a/dev9/pg16/tpch/sf_10/explain_analyze/15721/1-1.ok b/dev9/pg16/tpch/sf_10/explain_analyze/15721/1-1.ok new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/dev9/pg16/tpch/sf_10/explain_analyze/15721/1-1.res b/dev9/pg16/tpch/sf_10/explain_analyze/15721/1-1.res new file mode 100644 index 0000000000000000000000000000000000000000..54d5c5dfd31e1338236f0ed47d8506cd7961122d --- /dev/null +++ b/dev9/pg16/tpch/sf_10/explain_analyze/15721/1-1.res @@ -0,0 +1 @@ +{"Plan": {"Node Type": "Aggregate", "Strategy": "Sorted", "Partial Mode": "Finalize", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 1526282.53, "Total Cost": 1526289.22, "Plan Rows": 6, "Plan Width": 236, "Actual Startup Time": 12659.722, "Actual Total Time": 12716.267, "Actual Rows": 4, "Actual Loops": 1, "Output": ["l_returnflag", "l_linestatus", "sum(l_quantity)", "sum(l_extendedprice)", "sum((l_extendedprice * ('1'::numeric - l_discount)))", "sum(((l_extendedprice * ('1'::numeric - l_discount)) * ('1'::numeric + l_tax)))", "avg(l_quantity)", "avg(l_extendedprice)", "avg(l_discount)", "count(*)"], "Group Key": ["lineitem.l_returnflag", "lineitem.l_linestatus"], "Plans": [{"Node Type": "Gather Merge", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 1526282.53, "Total Cost": 1526287.69, "Plan Rows": 42, "Plan Width": 236, "Actual Startup Time": 12659.684, "Actual Total Time": 12716.175, "Actual Rows": 32, "Actual Loops": 1, "Output": ["l_returnflag", "l_linestatus", "(PARTIAL sum(l_quantity))", "(PARTIAL sum(l_extendedprice))", "(PARTIAL sum((l_extendedprice * ('1'::numeric - l_discount))))", "(PARTIAL sum(((l_extendedprice * ('1'::numeric - l_discount)) * ('1'::numeric + l_tax))))", "(PARTIAL avg(l_quantity))", "(PARTIAL avg(l_extendedprice))", "(PARTIAL avg(l_discount))", "(PARTIAL count(*))"], "Workers Planned": 7, "Workers Launched": 7, "Plans": [{"Node Type": "Sort", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 1525282.41, "Total Cost": 1525282.42, "Plan Rows": 6, "Plan Width": 236, "Actual Startup Time": 12654.949, "Actual Total Time": 12654.95, "Actual Rows": 4, "Actual Loops": 8, "Output": ["l_returnflag", "l_linestatus", "(PARTIAL sum(l_quantity))", "(PARTIAL sum(l_extendedprice))", "(PARTIAL sum((l_extendedprice * ('1'::numeric - l_discount))))", "(PARTIAL sum(((l_extendedprice * ('1'::numeric - l_discount)) * ('1'::numeric + l_tax))))", "(PARTIAL avg(l_quantity))", "(PARTIAL avg(l_extendedprice))", "(PARTIAL avg(l_discount))", "(PARTIAL count(*))"], "Sort Key": ["lineitem.l_returnflag", "lineitem.l_linestatus"], "Sort Method": "quicksort", "Sort Space Used": 27, "Sort Space Type": "Memory", "Workers": [{"Worker Number": 0, "Actual Startup Time": 12653.993, "Actual Total Time": 12653.995, "Actual Rows": 4, "Actual Loops": 1, "Sort Method": "quicksort", "Sort Space Used": 27, "Sort Space Type": "Memory"}, {"Worker Number": 1, "Actual Startup Time": 12654.189, "Actual Total Time": 12654.191, "Actual Rows": 4, "Actual Loops": 1, "Sort Method": "quicksort", "Sort Space Used": 27, "Sort Space Type": "Memory"}, {"Worker Number": 2, "Actual Startup Time": 12654.272, "Actual Total Time": 12654.273, "Actual Rows": 4, "Actual Loops": 1, "Sort Method": "quicksort", "Sort Space Used": 27, "Sort Space Type": "Memory"}, {"Worker Number": 3, "Actual Startup Time": 12654.423, "Actual Total Time": 12654.425, "Actual Rows": 4, "Actual Loops": 1, "Sort Method": "quicksort", "Sort Space Used": 27, "Sort Space Type": "Memory"}, {"Worker Number": 4, "Actual Startup Time": 12654.575, "Actual Total Time": 12654.577, "Actual Rows": 4, "Actual Loops": 1, "Sort Method": "quicksort", "Sort Space Used": 27, "Sort Space Type": "Memory"}, {"Worker Number": 5, "Actual Startup Time": 12654.578, "Actual Total Time": 12654.58, "Actual Rows": 4, "Actual Loops": 1, "Sort Method": "quicksort", "Sort Space Used": 27, "Sort Space Type": "Memory"}, {"Worker Number": 6, "Actual Startup Time": 12654.727, "Actual Total Time": 12654.728, "Actual Rows": 4, "Actual Loops": 1, "Sort Method": "quicksort", "Sort Space Used": 27, "Sort Space Type": "Memory"}], "Plans": [{"Node Type": "Aggregate", "Strategy": "Hashed", "Partial Mode": "Partial", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 1525282.2, "Total Cost": 1525282.33, "Plan Rows": 6, "Plan Width": 236, "Actual Startup Time": 12654.898, "Actual Total Time": 12654.906, "Actual Rows": 4, "Actual Loops": 8, "Output": ["l_returnflag", "l_linestatus", "PARTIAL sum(l_quantity)", "PARTIAL sum(l_extendedprice)", "PARTIAL sum((l_extendedprice * ('1'::numeric - l_discount)))", "PARTIAL sum(((l_extendedprice * ('1'::numeric - l_discount)) * ('1'::numeric + l_tax)))", "PARTIAL avg(l_quantity)", "PARTIAL avg(l_extendedprice)", "PARTIAL avg(l_discount)", "PARTIAL count(*)"], "Group Key": ["lineitem.l_returnflag", "lineitem.l_linestatus"], "Planned Partitions": 0, "HashAgg Batches": 1, "Peak Memory Usage": 24, "Disk Usage": 0, "Workers": [{"Worker Number": 0, "Actual Startup Time": 12653.945, "Actual Total Time": 12653.953, "Actual Rows": 4, "Actual Loops": 1, "HashAgg Batches": 1, "Peak Memory Usage": 24, "Disk Usage": 0}, {"Worker Number": 1, "Actual Startup Time": 12654.085, "Actual Total Time": 12654.094, "Actual Rows": 4, "Actual Loops": 1, "HashAgg Batches": 1, "Peak Memory Usage": 24, "Disk Usage": 0}, {"Worker Number": 2, "Actual Startup Time": 12654.224, "Actual Total Time": 12654.232, "Actual Rows": 4, "Actual Loops": 1, "HashAgg Batches": 1, "Peak Memory Usage": 24, "Disk Usage": 0}, {"Worker Number": 3, "Actual Startup Time": 12654.377, "Actual Total Time": 12654.385, "Actual Rows": 4, "Actual Loops": 1, "HashAgg Batches": 1, "Peak Memory Usage": 24, "Disk Usage": 0}, {"Worker Number": 4, "Actual Startup Time": 12654.53, "Actual Total Time": 12654.538, "Actual Rows": 4, "Actual Loops": 1, "HashAgg Batches": 1, "Peak Memory Usage": 24, "Disk Usage": 0}, {"Worker Number": 5, "Actual Startup Time": 12654.529, "Actual Total Time": 12654.537, "Actual Rows": 4, "Actual Loops": 1, "HashAgg Batches": 1, "Peak Memory Usage": 24, "Disk Usage": 0}, {"Worker Number": 6, "Actual Startup Time": 12654.68, "Actual Total Time": 12654.687, "Actual Rows": 4, "Actual Loops": 1, "HashAgg Batches": 1, "Peak Memory Usage": 24, "Disk Usage": 0}], "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": true, "Async Capable": false, "Relation Name": "lineitem", "Schema": "public", "Alias": "lineitem", "Startup Cost": 0.0, "Total Cost": 1232211.27, "Plan Rows": 8373455, "Plan Width": 25, "Actual Startup Time": 0.026, "Actual Total Time": 1588.066, "Actual Rows": 7323456, "Actual Loops": 8, "Output": ["l_orderkey", "l_partkey", "l_suppkey", "l_linenumber", "l_quantity", "l_extendedprice", "l_discount", "l_tax", "l_returnflag", "l_linestatus", "l_shipdate", "l_commitdate", "l_receiptdate", "l_shipinstruct", "l_shipmode", "l_comment"], "Filter": "(lineitem.l_shipdate <= '1998-08-07 23:59:57'::timestamp without time zone)", "Rows Removed by Filter": 174801, "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.028, "Actual Total Time": 1585.378, "Actual Rows": 7295197, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 0.028, "Actual Total Time": 1626.39, "Actual Rows": 7300894, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 0.029, "Actual Total Time": 1590.397, "Actual Rows": 7324619, "Actual Loops": 1}, {"Worker Number": 3, "Actual Startup Time": 0.028, "Actual Total Time": 1588.989, "Actual Rows": 7328346, "Actual Loops": 1}, {"Worker Number": 4, "Actual Startup Time": 0.028, "Actual Total Time": 1586.837, "Actual Rows": 7330818, "Actual Loops": 1}, {"Worker Number": 5, "Actual Startup Time": 0.028, "Actual Total Time": 1601.401, "Actual Rows": 7311785, "Actual Loops": 1}, {"Worker Number": 6, "Actual Startup Time": 0.028, "Actual Total Time": 1584.431, "Actual Rows": 7304399, "Actual Loops": 1}]}]}]}]}]}, "Planning Time": 0.552, "Triggers": [], "Execution Time": 12716.352} diff --git a/dev9/pg16/tpch/sf_10/explain_analyze/15721/10-1.ok b/dev9/pg16/tpch/sf_10/explain_analyze/15721/10-1.ok new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/dev9/pg16/tpch/sf_10/explain_analyze/15721/10-1.res b/dev9/pg16/tpch/sf_10/explain_analyze/15721/10-1.res new file mode 100644 index 0000000000000000000000000000000000000000..a032ef493b2bf639a6dca89b43df331ee7ef0e55 --- /dev/null +++ b/dev9/pg16/tpch/sf_10/explain_analyze/15721/10-1.res @@ -0,0 +1 @@ +{"Plan": {"Node Type": "Limit", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 643389.53, "Total Cost": 643389.58, "Plan Rows": 20, "Plan Width": 202, "Actual Startup Time": 3065.535, "Actual Total Time": 3250.142, "Actual Rows": 20, "Actual Loops": 1, "Output": ["customer.c_custkey", "customer.c_name", "(sum((lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount))))", "customer.c_acctbal", "nation.n_name", "customer.c_address", "customer.c_phone", "customer.c_comment"], "Plans": [{"Node Type": "Sort", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 643389.53, "Total Cost": 644781.31, "Plan Rows": 556713, "Plan Width": 202, "Actual Startup Time": 3065.533, "Actual Total Time": 3250.138, "Actual Rows": 20, "Actual Loops": 1, "Output": ["customer.c_custkey", "customer.c_name", "(sum((lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount))))", "customer.c_acctbal", "nation.n_name", "customer.c_address", "customer.c_phone", "customer.c_comment"], "Sort Key": ["(sum((lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount)))) DESC"], "Sort Method": "top-N heapsort", "Sort Space Used": 33, "Sort Space Type": "Memory", "Plans": [{"Node Type": "Aggregate", "Strategy": "Sorted", "Partial Mode": "Simple", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 547999.94, "Total Cost": 628575.6, "Plan Rows": 556713, "Plan Width": 202, "Actual Startup Time": 1758.776, "Actual Total Time": 3115.832, "Actual Rows": 372741, "Actual Loops": 1, "Output": ["customer.c_custkey", "customer.c_name", "sum((lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount)))", "customer.c_acctbal", "nation.n_name", "customer.c_address", "customer.c_phone", "customer.c_comment"], "Group Key": ["customer.c_custkey", "nation.n_name"], "Plans": [{"Node Type": "Gather Merge", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 547999.94, "Total Cost": 614657.77, "Plan Rows": 556713, "Plan Width": 182, "Actual Startup Time": 1758.758, "Actual Total Time": 2205.876, "Actual Rows": 1112878, "Actual Loops": 1, "Output": ["customer.c_custkey", "nation.n_name", "customer.c_name", "lineitem.l_extendedprice", "lineitem.l_discount", "customer.c_acctbal", "customer.c_address", "customer.c_phone", "customer.c_comment"], "Workers Planned": 4, "Workers Launched": 4, "Plans": [{"Node Type": "Sort", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 546999.88, "Total Cost": 547347.83, "Plan Rows": 139178, "Plan Width": 182, "Actual Startup Time": 1748.801, "Actual Total Time": 1784.874, "Actual Rows": 222576, "Actual Loops": 5, "Output": ["customer.c_custkey", "nation.n_name", "customer.c_name", "lineitem.l_extendedprice", "lineitem.l_discount", "customer.c_acctbal", "customer.c_address", "customer.c_phone", "customer.c_comment"], "Sort Key": ["customer.c_custkey", "nation.n_name"], "Sort Method": "external merge", "Sort Space Used": 46160, "Sort Space Type": "Disk", "Workers": [{"Worker Number": 0, "Actual Startup Time": 1748.018, "Actual Total Time": 1783.464, "Actual Rows": 220284, "Actual Loops": 1, "Sort Method": "external merge", "Sort Space Used": 42016, "Sort Space Type": "Disk"}, {"Worker Number": 1, "Actual Startup Time": 1746.532, "Actual Total Time": 1782.789, "Actual Rows": 216816, "Actual Loops": 1, "Sort Method": "external merge", "Sort Space Used": 41392, "Sort Space Type": "Disk"}, {"Worker Number": 2, "Actual Startup Time": 1745.048, "Actual Total Time": 1780.304, "Actual Rows": 217106, "Actual Loops": 1, "Sort Method": "external merge", "Sort Space Used": 41416, "Sort Space Type": "Disk"}, {"Worker Number": 3, "Actual Startup Time": 1746.121, "Actual Total Time": 1781.261, "Actual Rows": 216839, "Actual Loops": 1, "Sort Method": "external merge", "Sort Space Used": 41344, "Sort Space Type": "Disk"}], "Plans": [{"Node Type": "Hash Join", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Join Type": "Inner", "Startup Cost": 485187.82, "Total Cost": 527864.81, "Plan Rows": 139178, "Plan Width": 182, "Actual Startup Time": 1335.419, "Actual Total Time": 1579.812, "Actual Rows": 222576, "Actual Loops": 5, "Output": ["customer.c_custkey", "nation.n_name", "customer.c_name", "lineitem.l_extendedprice", "lineitem.l_discount", "customer.c_acctbal", "customer.c_address", "customer.c_phone", "customer.c_comment"], "Inner Unique": true, "Hash Cond": "(customer.c_nationkey = nation.n_nationkey)", "Workers": [{"Worker Number": 0, "Actual Startup Time": 1334.513, "Actual Total Time": 1577.093, "Actual Rows": 220284, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 1334.544, "Actual Total Time": 1574.569, "Actual Rows": 216816, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 1334.523, "Actual Total Time": 1574.73, "Actual Rows": 217106, "Actual Loops": 1}, {"Worker Number": 3, "Actual Startup Time": 1334.552, "Actual Total Time": 1575.177, "Actual Rows": 216839, "Actual Loops": 1}], "Plans": [{"Node Type": "Hash Join", "Parent Relationship": "Outer", "Parallel Aware": true, "Async Capable": false, "Join Type": "Inner", "Startup Cost": 485186.26, "Total Cost": 527435.97, "Plan Rows": 139178, "Plan Width": 160, "Actual Startup Time": 1335.261, "Actual Total Time": 1526.478, "Actual Rows": 222576, "Actual Loops": 5, "Output": ["customer.c_custkey", "customer.c_name", "customer.c_acctbal", "customer.c_address", "customer.c_phone", "customer.c_comment", "customer.c_nationkey", "lineitem.l_extendedprice", "lineitem.l_discount"], "Inner Unique": false, "Hash Cond": "(customer.c_custkey = orders.o_custkey)", "Workers": [{"Worker Number": 0, "Actual Startup Time": 1334.326, "Actual Total Time": 1524.04, "Actual Rows": 220284, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 1334.349, "Actual Total Time": 1522.363, "Actual Rows": 216816, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 1334.334, "Actual Total Time": 1522.714, "Actual Rows": 217106, "Actual Loops": 1}, {"Worker Number": 3, "Actual Startup Time": 1334.358, "Actual Total Time": 1523.124, "Actual Rows": 216839, "Actual Loops": 1}], "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": true, "Async Capable": false, "Relation Name": "customer", "Schema": "public", "Alias": "customer", "Startup Cost": 0.0, "Total Cost": 39674.0, "Plan Rows": 375000, "Plan Width": 148, "Actual Startup Time": 0.016, "Actual Total Time": 31.237, "Actual Rows": 300000, "Actual Loops": 5, "Output": ["customer.c_custkey", "customer.c_name", "customer.c_address", "customer.c_nationkey", "customer.c_phone", "customer.c_acctbal", "customer.c_mktsegment", "customer.c_comment"], "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.016, "Actual Total Time": 31.587, "Actual Rows": 298258, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 0.018, "Actual Total Time": 31.027, "Actual Rows": 291806, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 0.019, "Actual Total Time": 31.162, "Actual Rows": 292553, "Actual Loops": 1}, {"Worker Number": 3, "Actual Startup Time": 0.017, "Actual Total Time": 30.972, "Actual Rows": 291529, "Actual Loops": 1}]}, {"Node Type": "Hash", "Parent Relationship": "Inner", "Parallel Aware": true, "Async Capable": false, "Startup Cost": 484026.44, "Total Cost": 484026.44, "Plan Rows": 92786, "Plan Width": 16, "Actual Startup Time": 1333.565, "Actual Total Time": 1333.567, "Actual Rows": 222576, "Actual Loops": 5, "Output": ["orders.o_custkey", "lineitem.l_extendedprice", "lineitem.l_discount"], "Hash Buckets": 2097152, "Original Hash Buckets": 1048576, "Hash Batches": 1, "Original Hash Batches": 1, "Peak Memory Usage": 83456, "Workers": [{"Worker Number": 0, "Actual Startup Time": 1334.266, "Actual Total Time": 1334.268, "Actual Rows": 205056, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 1334.278, "Actual Total Time": 1334.281, "Actual Rows": 203708, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 1334.271, "Actual Total Time": 1334.273, "Actual Rows": 204417, "Actual Loops": 1}, {"Worker Number": 3, "Actual Startup Time": 1334.297, "Actual Total Time": 1334.3, "Actual Rows": 204517, "Actual Loops": 1}], "Plans": [{"Node Type": "Nested Loop", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Join Type": "Inner", "Startup Cost": 6276.67, "Total Cost": 484026.44, "Plan Rows": 92786, "Plan Width": 16, "Actual Startup Time": 195.738, "Actual Total Time": 1226.275, "Actual Rows": 222576, "Actual Loops": 5, "Output": ["orders.o_custkey", "lineitem.l_extendedprice", "lineitem.l_discount"], "Inner Unique": false, "Workers": [{"Worker Number": 0, "Actual Startup Time": 195.934, "Actual Total Time": 1227.224, "Actual Rows": 205056, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 195.921, "Actual Total Time": 1231.832, "Actual Rows": 203708, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 195.922, "Actual Total Time": 1232.146, "Actual Rows": 204417, "Actual Loops": 1}, {"Worker Number": 3, "Actual Startup Time": 195.924, "Actual Total Time": 1231.647, "Actual Rows": 204517, "Actual Loops": 1}], "Plans": [{"Node Type": "Bitmap Heap Scan", "Parent Relationship": "Outer", "Parallel Aware": true, "Async Capable": false, "Relation Name": "orders", "Schema": "public", "Alias": "orders", "Startup Cost": 6276.1, "Total Cost": 268888.97, "Plan Rows": 93458, "Plan Width": 8, "Actual Startup Time": 195.643, "Actual Total Time": 391.139, "Actual Rows": 111024, "Actual Loops": 5, "Output": ["orders.o_orderkey", "orders.o_custkey", "orders.o_orderstatus", "orders.o_totalprice", "orders.o_orderdate", "orders.o_orderpriority", "orders.o_clerk", "orders.o_shippriority", "orders.o_comment"], "Recheck Cond": "((orders.o_orderdate >= '1993-02-01'::date) AND (orders.o_orderdate < '1993-05-01 00:00:00'::timestamp without time zone))", "Rows Removed by Index Recheck": 0, "Exact Heap Blocks": 61300, "Lossy Heap Blocks": 0, "Workers": [{"Worker Number": 0, "Actual Startup Time": 195.83, "Actual Total Time": 399.621, "Actual Rows": 102162, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 195.807, "Actual Total Time": 402.357, "Actual Rows": 101671, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 195.812, "Actual Total Time": 401.08, "Actual Rows": 102170, "Actual Loops": 1}, {"Worker Number": 3, "Actual Startup Time": 195.805, "Actual Total Time": 401.007, "Actual Rows": 101820, "Actual Loops": 1}], "Plans": [{"Node Type": "Bitmap Index Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Index Name": "o_od", "Startup Cost": 0.0, "Total Cost": 6135.92, "Plan Rows": 560748, "Plan Width": 0, "Actual Startup Time": 109.316, "Actual Total Time": 109.316, "Actual Rows": 555118, "Actual Loops": 1, "Index Cond": "((orders.o_orderdate >= '1993-02-01'::date) AND (orders.o_orderdate < '1993-05-01 00:00:00'::timestamp without time zone))", "Workers": []}]}, {"Node Type": "Index Scan", "Parent Relationship": "Inner", "Parallel Aware": false, "Async Capable": false, "Scan Direction": "Forward", "Index Name": "l_ok", "Relation Name": "lineitem", "Schema": "public", "Alias": "lineitem", "Startup Cost": 0.56, "Total Cost": 2.23, "Plan Rows": 7, "Plan Width": 16, "Actual Startup Time": 0.006, "Actual Total Time": 0.007, "Actual Rows": 2, "Actual Loops": 555118, "Output": ["lineitem.l_orderkey", "lineitem.l_partkey", "lineitem.l_suppkey", "lineitem.l_linenumber", "lineitem.l_quantity", "lineitem.l_extendedprice", "lineitem.l_discount", "lineitem.l_tax", "lineitem.l_returnflag", "lineitem.l_linestatus", "lineitem.l_shipdate", "lineitem.l_commitdate", "lineitem.l_receiptdate", "lineitem.l_shipinstruct", "lineitem.l_shipmode", "lineitem.l_comment"], "Index Cond": "(lineitem.l_orderkey = orders.o_orderkey)", "Rows Removed by Index Recheck": 0, "Filter": "(lineitem.l_returnflag = 'R'::bpchar)", "Rows Removed by Filter": 2, "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.007, "Actual Total Time": 0.008, "Actual Rows": 2, "Actual Loops": 102162}, {"Worker Number": 1, "Actual Startup Time": 0.007, "Actual Total Time": 0.008, "Actual Rows": 2, "Actual Loops": 101671}, {"Worker Number": 2, "Actual Startup Time": 0.007, "Actual Total Time": 0.008, "Actual Rows": 2, "Actual Loops": 102170}, {"Worker Number": 3, "Actual Startup Time": 0.007, "Actual Total Time": 0.008, "Actual Rows": 2, "Actual Loops": 101820}]}]}]}]}, {"Node Type": "Hash", "Parent Relationship": "Inner", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 1.25, "Total Cost": 1.25, "Plan Rows": 25, "Plan Width": 30, "Actual Startup Time": 0.036, "Actual Total Time": 0.037, "Actual Rows": 25, "Actual Loops": 5, "Output": ["nation.n_name", "nation.n_nationkey"], "Hash Buckets": 1024, "Original Hash Buckets": 1024, "Hash Batches": 1, "Original Hash Batches": 1, "Peak Memory Usage": 10, "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.04, "Actual Total Time": 0.041, "Actual Rows": 25, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 0.041, "Actual Total Time": 0.042, "Actual Rows": 25, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 0.04, "Actual Total Time": 0.041, "Actual Rows": 25, "Actual Loops": 1}, {"Worker Number": 3, "Actual Startup Time": 0.042, "Actual Total Time": 0.043, "Actual Rows": 25, "Actual Loops": 1}], "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Relation Name": "nation", "Schema": "public", "Alias": "nation", "Startup Cost": 0.0, "Total Cost": 1.25, "Plan Rows": 25, "Plan Width": 30, "Actual Startup Time": 0.019, "Actual Total Time": 0.023, "Actual Rows": 25, "Actual Loops": 5, "Output": ["nation.n_name", "nation.n_nationkey"], "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.021, "Actual Total Time": 0.025, "Actual Rows": 25, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 0.022, "Actual Total Time": 0.026, "Actual Rows": 25, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 0.021, "Actual Total Time": 0.025, "Actual Rows": 25, "Actual Loops": 1}, {"Worker Number": 3, "Actual Startup Time": 0.023, "Actual Total Time": 0.027, "Actual Rows": 25, "Actual Loops": 1}]}]}]}]}]}]}]}]}, "Planning Time": 1.109, "Triggers": [], "Execution Time": 3259.125} diff --git a/dev9/pg16/tpch/sf_10/explain_analyze/15721/11-1.ok b/dev9/pg16/tpch/sf_10/explain_analyze/15721/11-1.ok new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/dev9/pg16/tpch/sf_10/explain_analyze/15721/11-1.res b/dev9/pg16/tpch/sf_10/explain_analyze/15721/11-1.res new file mode 100644 index 0000000000000000000000000000000000000000..d6373081555eaa333f1525d40a1e98c949becc35 --- /dev/null +++ b/dev9/pg16/tpch/sf_10/explain_analyze/15721/11-1.res @@ -0,0 +1 @@ +{"Plan": {"Node Type": "Sort", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 66932.63, "Total Cost": 67199.3, "Plan Rows": 106666, "Plan Width": 36, "Actual Startup Time": 1079.587, "Actual Total Time": 1079.662, "Actual Rows": 0, "Actual Loops": 1, "Output": ["partsupp.ps_partkey", "(sum((partsupp.ps_supplycost * (partsupp.ps_availqty)::numeric)))"], "Sort Key": ["(sum((partsupp.ps_supplycost * (partsupp.ps_availqty)::numeric))) DESC"], "Sort Method": "quicksort", "Sort Space Used": 25, "Sort Space Type": "Memory", "Plans": [{"Node Type": "Aggregate", "Strategy": "Plain", "Partial Mode": "Finalize", "Parent Relationship": "InitPlan", "Subplan Name": "InitPlan 1 (returns $2)", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 16299.21, "Total Cost": 16299.22, "Plan Rows": 1, "Plan Width": 32, "Actual Startup Time": 261.636, "Actual Total Time": 261.707, "Actual Rows": 1, "Actual Loops": 1, "Output": ["(sum((partsupp_1.ps_supplycost * (partsupp_1.ps_availqty)::numeric)) * 0.0001000000)"], "Plans": [{"Node Type": "Gather", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 16299.09, "Total Cost": 16299.2, "Plan Rows": 1, "Plan Width": 32, "Actual Startup Time": 261.581, "Actual Total Time": 261.697, "Actual Rows": 2, "Actual Loops": 1, "Output": ["(PARTIAL sum((partsupp_1.ps_supplycost * (partsupp_1.ps_availqty)::numeric)))"], "Workers Planned": 1, "Workers Launched": 1, "Single Copy": false, "Plans": [{"Node Type": "Aggregate", "Strategy": "Plain", "Partial Mode": "Partial", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 15299.09, "Total Cost": 15299.1, "Plan Rows": 1, "Plan Width": 32, "Actual Startup Time": 259.265, "Actual Total Time": 259.268, "Actual Rows": 1, "Actual Loops": 2, "Output": ["PARTIAL sum((partsupp_1.ps_supplycost * (partsupp_1.ps_availqty)::numeric))"], "Workers": [{"Worker Number": 0, "Actual Startup Time": 257.209, "Actual Total Time": 257.211, "Actual Rows": 1, "Actual Loops": 1}], "Plans": [{"Node Type": "Nested Loop", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Join Type": "Inner", "Startup Cost": 1.76, "Total Cost": 13887.33, "Plan Rows": 188234, "Plan Width": 10, "Actual Startup Time": 0.151, "Actual Total Time": 203.146, "Actual Rows": 159520, "Actual Loops": 2, "Output": ["partsupp_1.ps_supplycost", "partsupp_1.ps_availqty"], "Inner Unique": false, "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.265, "Actual Total Time": 210.286, "Actual Rows": 131680, "Actual Loops": 1}], "Plans": [{"Node Type": "Hash Join", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Join Type": "Inner", "Startup Cost": 1.32, "Total Cost": 2989.15, "Plan Rows": 2353, "Plan Width": 4, "Actual Startup Time": 0.104, "Actual Total Time": 14.493, "Actual Rows": 1994, "Actual Loops": 2, "Output": ["supplier_1.s_suppkey"], "Inner Unique": true, "Hash Cond": "(supplier_1.s_nationkey = nation_1.n_nationkey)", "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.182, "Actual Total Time": 12.847, "Actual Rows": 1646, "Actual Loops": 1}], "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": true, "Async Capable": false, "Relation Name": "supplier", "Schema": "public", "Alias": "supplier_1", "Startup Cost": 0.0, "Total Cost": 2807.24, "Plan Rows": 58824, "Plan Width": 8, "Actual Startup Time": 0.008, "Actual Total Time": 5.018, "Actual Rows": 50000, "Actual Loops": 2, "Output": ["supplier_1.s_suppkey", "supplier_1.s_name", "supplier_1.s_address", "supplier_1.s_nationkey", "supplier_1.s_phone", "supplier_1.s_acctbal", "supplier_1.s_comment"], "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.012, "Actual Total Time": 4.584, "Actual Rows": 41685, "Actual Loops": 1}]}, {"Node Type": "Hash", "Parent Relationship": "Inner", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 1.31, "Total Cost": 1.31, "Plan Rows": 1, "Plan Width": 4, "Actual Startup Time": 0.023, "Actual Total Time": 0.024, "Actual Rows": 1, "Actual Loops": 2, "Output": ["nation_1.n_nationkey"], "Hash Buckets": 1024, "Original Hash Buckets": 1024, "Hash Batches": 1, "Original Hash Batches": 1, "Peak Memory Usage": 9, "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.034, "Actual Total Time": 0.035, "Actual Rows": 1, "Actual Loops": 1}], "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Relation Name": "nation", "Schema": "public", "Alias": "nation_1", "Startup Cost": 0.0, "Total Cost": 1.31, "Plan Rows": 1, "Plan Width": 4, "Actual Startup Time": 0.017, "Actual Total Time": 0.018, "Actual Rows": 1, "Actual Loops": 2, "Output": ["nation_1.n_nationkey"], "Filter": "(nation_1.n_name = 'CHINA'::bpchar)", "Rows Removed by Filter": 24, "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.026, "Actual Total Time": 0.028, "Actual Rows": 1, "Actual Loops": 1}]}]}]}, {"Node Type": "Index Scan", "Parent Relationship": "Inner", "Parallel Aware": false, "Async Capable": false, "Scan Direction": "Forward", "Index Name": "ps_sk", "Relation Name": "partsupp", "Schema": "public", "Alias": "partsupp_1", "Startup Cost": 0.43, "Total Cost": 3.83, "Plan Rows": 80, "Plan Width": 14, "Actual Startup Time": 0.004, "Actual Total Time": 0.082, "Actual Rows": 80, "Actual Loops": 3988, "Output": ["partsupp_1.ps_partkey", "partsupp_1.ps_suppkey", "partsupp_1.ps_availqty", "partsupp_1.ps_supplycost", "partsupp_1.ps_comment"], "Index Cond": "(partsupp_1.ps_suppkey = supplier_1.s_suppkey)", "Rows Removed by Index Recheck": 0, "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.005, "Actual Total Time": 0.107, "Actual Rows": 80, "Actual Loops": 1646}]}]}]}]}]}, {"Node Type": "Aggregate", "Strategy": "Hashed", "Partial Mode": "Simple", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 33800.39, "Total Cost": 41725.34, "Plan Rows": 106666, "Plan Width": 36, "Actual Startup Time": 1079.582, "Actual Total Time": 1079.585, "Actual Rows": 0, "Actual Loops": 1, "Output": ["partsupp.ps_partkey", "sum((partsupp.ps_supplycost * (partsupp.ps_availqty)::numeric))"], "Group Key": ["partsupp.ps_partkey"], "Filter": "(sum((partsupp.ps_supplycost * (partsupp.ps_availqty)::numeric)) > $2)", "Planned Partitions": 4, "HashAgg Batches": 5, "Peak Memory Usage": 42033, "Disk Usage": 7752, "Rows Removed by Filter": 300316, "Plans": [{"Node Type": "Nested Loop", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Join Type": "Inner", "Startup Cost": 36.12, "Total Cost": 20762.97, "Plan Rows": 319998, "Plan Width": 14, "Actual Startup Time": 0.765, "Actual Total Time": 320.859, "Actual Rows": 319040, "Actual Loops": 1, "Output": ["partsupp.ps_partkey", "partsupp.ps_supplycost", "partsupp.ps_availqty"], "Inner Unique": false, "Plans": [{"Node Type": "Nested Loop", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Join Type": "Inner", "Startup Cost": 35.69, "Total Cost": 2236.53, "Plan Rows": 4000, "Plan Width": 4, "Actual Startup Time": 0.754, "Actual Total Time": 5.173, "Actual Rows": 3988, "Actual Loops": 1, "Output": ["supplier.s_suppkey"], "Inner Unique": false, "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Relation Name": "nation", "Schema": "public", "Alias": "nation", "Startup Cost": 0.0, "Total Cost": 1.31, "Plan Rows": 1, "Plan Width": 4, "Actual Startup Time": 0.01, "Actual Total Time": 0.014, "Actual Rows": 1, "Actual Loops": 1, "Output": ["nation.n_nationkey", "nation.n_name", "nation.n_regionkey", "nation.n_comment"], "Filter": "(nation.n_name = 'CHINA'::bpchar)", "Rows Removed by Filter": 24}, {"Node Type": "Bitmap Heap Scan", "Parent Relationship": "Inner", "Parallel Aware": false, "Async Capable": false, "Relation Name": "supplier", "Schema": "public", "Alias": "supplier", "Startup Cost": 35.69, "Total Cost": 2195.22, "Plan Rows": 4000, "Plan Width": 8, "Actual Startup Time": 0.742, "Actual Total Time": 4.584, "Actual Rows": 3988, "Actual Loops": 1, "Output": ["supplier.s_suppkey", "supplier.s_name", "supplier.s_address", "supplier.s_nationkey", "supplier.s_phone", "supplier.s_acctbal", "supplier.s_comment"], "Recheck Cond": "(supplier.s_nationkey = nation.n_nationkey)", "Rows Removed by Index Recheck": 0, "Exact Heap Blocks": 1862, "Lossy Heap Blocks": 0, "Plans": [{"Node Type": "Bitmap Index Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Index Name": "s_nk", "Startup Cost": 0.0, "Total Cost": 34.69, "Plan Rows": 4000, "Plan Width": 0, "Actual Startup Time": 0.371, "Actual Total Time": 0.371, "Actual Rows": 3988, "Actual Loops": 1, "Index Cond": "(supplier.s_nationkey = nation.n_nationkey)"}]}]}, {"Node Type": "Index Scan", "Parent Relationship": "Inner", "Parallel Aware": false, "Async Capable": false, "Scan Direction": "Forward", "Index Name": "ps_sk", "Relation Name": "partsupp", "Schema": "public", "Alias": "partsupp", "Startup Cost": 0.43, "Total Cost": 3.83, "Plan Rows": 80, "Plan Width": 18, "Actual Startup Time": 0.003, "Actual Total Time": 0.067, "Actual Rows": 80, "Actual Loops": 3988, "Output": ["partsupp.ps_partkey", "partsupp.ps_suppkey", "partsupp.ps_availqty", "partsupp.ps_supplycost", "partsupp.ps_comment"], "Index Cond": "(partsupp.ps_suppkey = supplier.s_suppkey)", "Rows Removed by Index Recheck": 0}]}]}]}, "Planning Time": 0.756, "Triggers": [], "Execution Time": 1081.852} diff --git a/dev9/pg16/tpch/sf_10/explain_analyze/15721/12-1.ok b/dev9/pg16/tpch/sf_10/explain_analyze/15721/12-1.ok new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/dev9/pg16/tpch/sf_10/explain_analyze/15721/12-1.res b/dev9/pg16/tpch/sf_10/explain_analyze/15721/12-1.res new file mode 100644 index 0000000000000000000000000000000000000000..63ececa9d751cc1cc032307e6e1a85003c8e7d05 --- /dev/null +++ b/dev9/pg16/tpch/sf_10/explain_analyze/15721/12-1.res @@ -0,0 +1 @@ +{"Plan": {"Node Type": "Aggregate", "Strategy": "Sorted", "Partial Mode": "Finalize", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 1376666.28, "Total Cost": 1377502.75, "Plan Rows": 7, "Plan Width": 27, "Actual Startup Time": 2459.06, "Actual Total Time": 2501.897, "Actual Rows": 2, "Actual Loops": 1, "Output": ["lineitem.l_shipmode", "sum(CASE WHEN ((orders.o_orderpriority = '1-URGENT'::bpchar) OR (orders.o_orderpriority = '2-HIGH'::bpchar)) THEN 1 ELSE 0 END)", "sum(CASE WHEN ((orders.o_orderpriority <> '1-URGENT'::bpchar) AND (orders.o_orderpriority <> '2-HIGH'::bpchar)) THEN 1 ELSE 0 END)"], "Group Key": ["lineitem.l_shipmode"], "Plans": [{"Node Type": "Gather Merge", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 1376666.28, "Total Cost": 1377502.32, "Plan Rows": 49, "Plan Width": 27, "Actual Startup Time": 2450.471, "Actual Total Time": 2501.883, "Actual Rows": 16, "Actual Loops": 1, "Output": ["lineitem.l_shipmode", "(PARTIAL sum(CASE WHEN ((orders.o_orderpriority = '1-URGENT'::bpchar) OR (orders.o_orderpriority = '2-HIGH'::bpchar)) THEN 1 ELSE 0 END))", "(PARTIAL sum(CASE WHEN ((orders.o_orderpriority <> '1-URGENT'::bpchar) AND (orders.o_orderpriority <> '2-HIGH'::bpchar)) THEN 1 ELSE 0 END))"], "Workers Planned": 7, "Workers Launched": 7, "Plans": [{"Node Type": "Aggregate", "Strategy": "Sorted", "Partial Mode": "Partial", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 1375666.16, "Total Cost": 1376496.19, "Plan Rows": 7, "Plan Width": 27, "Actual Startup Time": 2437.652, "Actual Total Time": 2446.028, "Actual Rows": 2, "Actual Loops": 8, "Output": ["lineitem.l_shipmode", "PARTIAL sum(CASE WHEN ((orders.o_orderpriority = '1-URGENT'::bpchar) OR (orders.o_orderpriority = '2-HIGH'::bpchar)) THEN 1 ELSE 0 END)", "PARTIAL sum(CASE WHEN ((orders.o_orderpriority <> '1-URGENT'::bpchar) AND (orders.o_orderpriority <> '2-HIGH'::bpchar)) THEN 1 ELSE 0 END)"], "Group Key": ["lineitem.l_shipmode"], "Workers": [{"Worker Number": 0, "Actual Startup Time": 2436.703, "Actual Total Time": 2445.086, "Actual Rows": 2, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 2436.676, "Actual Total Time": 2445.093, "Actual Rows": 2, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 2437.027, "Actual Total Time": 2445.364, "Actual Rows": 2, "Actual Loops": 1}, {"Worker Number": 3, "Actual Startup Time": 2437.035, "Actual Total Time": 2445.346, "Actual Rows": 2, "Actual Loops": 1}, {"Worker Number": 4, "Actual Startup Time": 2437.202, "Actual Total Time": 2445.467, "Actual Rows": 2, "Actual Loops": 1}, {"Worker Number": 5, "Actual Startup Time": 2437.317, "Actual Total Time": 2445.709, "Actual Rows": 2, "Actual Loops": 1}, {"Worker Number": 6, "Actual Startup Time": 2437.339, "Actual Total Time": 2445.673, "Actual Rows": 2, "Actual Loops": 1}], "Plans": [{"Node Type": "Sort", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 1375666.16, "Total Cost": 1375769.91, "Plan Rows": 41498, "Plan Width": 27, "Actual Startup Time": 2429.222, "Actual Total Time": 2431.609, "Actual Rows": 38973, "Actual Loops": 8, "Output": ["lineitem.l_shipmode", "orders.o_orderpriority"], "Sort Key": ["lineitem.l_shipmode"], "Sort Method": "quicksort", "Sort Space Used": 3744, "Sort Space Type": "Memory", "Workers": [{"Worker Number": 0, "Actual Startup Time": 2428.284, "Actual Total Time": 2430.665, "Actual Rows": 38976, "Actual Loops": 1, "Sort Method": "quicksort", "Sort Space Used": 3668, "Sort Space Type": "Memory"}, {"Worker Number": 1, "Actual Startup Time": 2428.303, "Actual Total Time": 2430.694, "Actual Rows": 38849, "Actual Loops": 1, "Sort Method": "quicksort", "Sort Space Used": 3661, "Sort Space Type": "Memory"}, {"Worker Number": 2, "Actual Startup Time": 2428.681, "Actual Total Time": 2431.055, "Actual Rows": 38617, "Actual Loops": 1, "Sort Method": "quicksort", "Sort Space Used": 3648, "Sort Space Type": "Memory"}, {"Worker Number": 3, "Actual Startup Time": 2428.687, "Actual Total Time": 2431.058, "Actual Rows": 38584, "Actual Loops": 1, "Sort Method": "quicksort", "Sort Space Used": 3647, "Sort Space Type": "Memory"}, {"Worker Number": 4, "Actual Startup Time": 2428.849, "Actual Total Time": 2431.208, "Actual Rows": 38511, "Actual Loops": 1, "Sort Method": "quicksort", "Sort Space Used": 3643, "Sort Space Type": "Memory"}, {"Worker Number": 5, "Actual Startup Time": 2428.862, "Actual Total Time": 2431.249, "Actual Rows": 39067, "Actual Loops": 1, "Sort Method": "quicksort", "Sort Space Used": 3673, "Sort Space Type": "Memory"}, {"Worker Number": 6, "Actual Startup Time": 2428.898, "Actual Total Time": 2431.291, "Actual Rows": 38822, "Actual Loops": 1, "Sort Method": "quicksort", "Sort Space Used": 3660, "Sort Space Type": "Memory"}], "Plans": [{"Node Type": "Nested Loop", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Join Type": "Inner", "Startup Cost": 0.43, "Total Cost": 1372483.11, "Plan Rows": 41498, "Plan Width": 27, "Actual Startup Time": 0.163, "Actual Total Time": 2417.498, "Actual Rows": 38973, "Actual Loops": 8, "Output": ["lineitem.l_shipmode", "orders.o_orderpriority"], "Inner Unique": true, "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.12, "Actual Total Time": 2416.408, "Actual Rows": 38976, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 0.147, "Actual Total Time": 2416.418, "Actual Rows": 38849, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 0.299, "Actual Total Time": 2416.664, "Actual Rows": 38617, "Actual Loops": 1}, {"Worker Number": 3, "Actual Startup Time": 0.157, "Actual Total Time": 2416.768, "Actual Rows": 38584, "Actual Loops": 1}, {"Worker Number": 4, "Actual Startup Time": 0.162, "Actual Total Time": 2417.017, "Actual Rows": 38511, "Actual Loops": 1}, {"Worker Number": 5, "Actual Startup Time": 0.213, "Actual Total Time": 2416.968, "Actual Rows": 39067, "Actual Loops": 1}, {"Worker Number": 6, "Actual Startup Time": 0.169, "Actual Total Time": 2417.05, "Actual Rows": 38822, "Actual Loops": 1}], "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": true, "Async Capable": false, "Relation Name": "lineitem", "Schema": "public", "Alias": "lineitem", "Startup Cost": 0.0, "Total Cost": 1317905.89, "Plan Rows": 41498, "Plan Width": 15, "Actual Startup Time": 0.093, "Actual Total Time": 2280.904, "Actual Rows": 38973, "Actual Loops": 8, "Output": ["lineitem.l_orderkey", "lineitem.l_partkey", "lineitem.l_suppkey", "lineitem.l_linenumber", "lineitem.l_quantity", "lineitem.l_extendedprice", "lineitem.l_discount", "lineitem.l_tax", "lineitem.l_returnflag", "lineitem.l_linestatus", "lineitem.l_shipdate", "lineitem.l_commitdate", "lineitem.l_receiptdate", "lineitem.l_shipinstruct", "lineitem.l_shipmode", "lineitem.l_comment"], "Filter": "((lineitem.l_shipmode = ANY ('{MAIL,TRUCK}'::bpchar[])) AND (lineitem.l_commitdate < lineitem.l_receiptdate) AND (lineitem.l_shipdate < lineitem.l_commitdate) AND (lineitem.l_receiptdate >= '1995-01-01'::date) AND (lineitem.l_receiptdate < '1996-01-01 00:00:00'::timestamp without time zone))", "Rows Removed by Filter": 7459283, "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.039, "Actual Total Time": 2277.746, "Actual Rows": 38976, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 0.068, "Actual Total Time": 2277.815, "Actual Rows": 38849, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 0.223, "Actual Total Time": 2278.171, "Actual Rows": 38617, "Actual Loops": 1}, {"Worker Number": 3, "Actual Startup Time": 0.073, "Actual Total Time": 2279.131, "Actual Rows": 38584, "Actual Loops": 1}, {"Worker Number": 4, "Actual Startup Time": 0.081, "Actual Total Time": 2280.52, "Actual Rows": 38511, "Actual Loops": 1}, {"Worker Number": 5, "Actual Startup Time": 0.144, "Actual Total Time": 2278.312, "Actual Rows": 39067, "Actual Loops": 1}, {"Worker Number": 6, "Actual Startup Time": 0.087, "Actual Total Time": 2277.898, "Actual Rows": 38822, "Actual Loops": 1}]}, {"Node Type": "Index Scan", "Parent Relationship": "Inner", "Parallel Aware": false, "Async Capable": false, "Scan Direction": "Forward", "Index Name": "o_ok", "Relation Name": "orders", "Schema": "public", "Alias": "orders", "Startup Cost": 0.43, "Total Cost": 1.32, "Plan Rows": 1, "Plan Width": 20, "Actual Startup Time": 0.003, "Actual Total Time": 0.003, "Actual Rows": 1, "Actual Loops": 311787, "Output": ["orders.o_orderkey", "orders.o_custkey", "orders.o_orderstatus", "orders.o_totalprice", "orders.o_orderdate", "orders.o_orderpriority", "orders.o_clerk", "orders.o_shippriority", "orders.o_comment"], "Index Cond": "(orders.o_orderkey = lineitem.l_orderkey)", "Rows Removed by Index Recheck": 0, "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.003, "Actual Total Time": 0.003, "Actual Rows": 1, "Actual Loops": 38976}, {"Worker Number": 1, "Actual Startup Time": 0.003, "Actual Total Time": 0.003, "Actual Rows": 1, "Actual Loops": 38849}, {"Worker Number": 2, "Actual Startup Time": 0.003, "Actual Total Time": 0.003, "Actual Rows": 1, "Actual Loops": 38617}, {"Worker Number": 3, "Actual Startup Time": 0.003, "Actual Total Time": 0.003, "Actual Rows": 1, "Actual Loops": 38584}, {"Worker Number": 4, "Actual Startup Time": 0.003, "Actual Total Time": 0.003, "Actual Rows": 1, "Actual Loops": 38511}, {"Worker Number": 5, "Actual Startup Time": 0.003, "Actual Total Time": 0.003, "Actual Rows": 1, "Actual Loops": 39067}, {"Worker Number": 6, "Actual Startup Time": 0.003, "Actual Total Time": 0.003, "Actual Rows": 1, "Actual Loops": 38822}]}]}]}]}]}]}, "Planning Time": 0.391, "Triggers": [], "Execution Time": 2501.955} diff --git a/dev9/pg16/tpch/sf_10/explain_analyze/15721/13-1.ok b/dev9/pg16/tpch/sf_10/explain_analyze/15721/13-1.ok new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/dev9/pg16/tpch/sf_10/explain_analyze/15721/13-1.res b/dev9/pg16/tpch/sf_10/explain_analyze/15721/13-1.res new file mode 100644 index 0000000000000000000000000000000000000000..acdd56d0029e8a837208fdbd789dd2694c8cf202 --- /dev/null +++ b/dev9/pg16/tpch/sf_10/explain_analyze/15721/13-1.res @@ -0,0 +1 @@ +{"Plan": {"Node Type": "Sort", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 894924.13, "Total Cost": 894924.63, "Plan Rows": 200, "Plan Width": 16, "Actual Startup Time": 22959.662, "Actual Total Time": 22959.666, "Actual Rows": 46, "Actual Loops": 1, "Output": ["(count(orders.o_orderkey))", "(count(*))"], "Sort Key": ["(count(*)) DESC", "(count(orders.o_orderkey)) DESC"], "Sort Method": "quicksort", "Sort Space Used": 26, "Sort Space Type": "Memory", "Plans": [{"Node Type": "Aggregate", "Strategy": "Hashed", "Partial Mode": "Simple", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 894914.48, "Total Cost": 894916.48, "Plan Rows": 200, "Plan Width": 16, "Actual Startup Time": 22959.63, "Actual Total Time": 22959.64, "Actual Rows": 46, "Actual Loops": 1, "Output": ["(count(orders.o_orderkey))", "count(*)"], "Group Key": ["count(orders.o_orderkey)"], "Planned Partitions": 0, "HashAgg Batches": 1, "Peak Memory Usage": 40, "Disk Usage": 0, "Plans": [{"Node Type": "Aggregate", "Strategy": "Sorted", "Partial Mode": "Simple", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 0.86, "Total Cost": 872414.48, "Plan Rows": 1500000, "Plan Width": 12, "Actual Startup Time": 0.062, "Actual Total Time": 22636.68, "Actual Rows": 1500000, "Actual Loops": 1, "Output": ["customer.c_custkey", "count(orders.o_orderkey)"], "Group Key": ["customer.c_custkey"], "Plans": [{"Node Type": "Merge Join", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Join Type": "Left", "Startup Cost": 0.86, "Total Cost": 783165.39, "Plan Rows": 14849818, "Plan Width": 8, "Actual Startup Time": 0.025, "Actual Total Time": 20760.436, "Actual Rows": 15338712, "Actual Loops": 1, "Output": ["customer.c_custkey", "orders.o_orderkey"], "Inner Unique": false, "Merge Cond": "(customer.c_custkey = orders.o_custkey)", "Plans": [{"Node Type": "Index Only Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Scan Direction": "Forward", "Index Name": "c_ck", "Relation Name": "customer", "Schema": "public", "Alias": "customer", "Startup Cost": 0.43, "Total Cost": 27028.03, "Plan Rows": 1500000, "Plan Width": 4, "Actual Startup Time": 0.011, "Actual Total Time": 188.805, "Actual Rows": 1500000, "Actual Loops": 1, "Output": ["customer.c_custkey"], "Heap Fetches": 0}, {"Node Type": "Index Scan", "Parent Relationship": "Inner", "Parallel Aware": false, "Async Capable": false, "Scan Direction": "Forward", "Index Name": "o_ck", "Relation Name": "orders", "Schema": "public", "Alias": "orders", "Startup Cost": 0.43, "Total Cost": 566764.64, "Plan Rows": 14849818, "Plan Width": 8, "Actual Startup Time": 0.011, "Actual Total Time": 18140.286, "Actual Rows": 14838692, "Actual Loops": 1, "Output": ["orders.o_orderkey", "orders.o_custkey", "orders.o_orderstatus", "orders.o_totalprice", "orders.o_orderdate", "orders.o_orderpriority", "orders.o_clerk", "orders.o_shippriority", "orders.o_comment"], "Filter": "((orders.o_comment)::text !~~ '%unusual%requests%'::text)", "Rows Removed by Filter": 161308}]}]}]}]}, "Planning Time": 0.531, "Triggers": [], "Execution Time": 22959.718} diff --git a/dev9/pg16/tpch/sf_10/explain_analyze/15721/14-1.ok b/dev9/pg16/tpch/sf_10/explain_analyze/15721/14-1.ok new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/dev9/pg16/tpch/sf_10/explain_analyze/15721/14-1.res b/dev9/pg16/tpch/sf_10/explain_analyze/15721/14-1.res new file mode 100644 index 0000000000000000000000000000000000000000..f1b64f6ca06537ba0123ddfa826d4f1e5aca2376 --- /dev/null +++ b/dev9/pg16/tpch/sf_10/explain_analyze/15721/14-1.res @@ -0,0 +1 @@ +{"Plan": {"Node Type": "Aggregate", "Strategy": "Plain", "Partial Mode": "Finalize", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 690416.38, "Total Cost": 690416.39, "Plan Rows": 1, "Plan Width": 32, "Actual Startup Time": 984.141, "Actual Total Time": 1119.691, "Actual Rows": 1, "Actual Loops": 1, "Output": ["((100.00 * sum(CASE WHEN ((part.p_type)::text ~~ 'PROMO%'::text) THEN (lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount)) ELSE '0'::numeric END)) / sum((lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount))))"], "Plans": [{"Node Type": "Gather", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 690416.03, "Total Cost": 690416.34, "Plan Rows": 3, "Plan Width": 64, "Actual Startup Time": 967.08, "Actual Total Time": 1119.671, "Actual Rows": 4, "Actual Loops": 1, "Output": ["(PARTIAL sum(CASE WHEN ((part.p_type)::text ~~ 'PROMO%'::text) THEN (lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount)) ELSE '0'::numeric END))", "(PARTIAL sum((lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount))))"], "Workers Planned": 3, "Workers Launched": 3, "Single Copy": false, "Plans": [{"Node Type": "Aggregate", "Strategy": "Plain", "Partial Mode": "Partial", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 689416.03, "Total Cost": 689416.04, "Plan Rows": 1, "Plan Width": 64, "Actual Startup Time": 961.749, "Actual Total Time": 961.753, "Actual Rows": 1, "Actual Loops": 4, "Output": ["PARTIAL sum(CASE WHEN ((part.p_type)::text ~~ 'PROMO%'::text) THEN (lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount)) ELSE '0'::numeric END)", "PARTIAL sum((lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount)))"], "Workers": [{"Worker Number": 0, "Actual Startup Time": 961.507, "Actual Total Time": 961.509, "Actual Rows": 1, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 958.534, "Actual Total Time": 958.537, "Actual Rows": 1, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 960.213, "Actual Total Time": 960.216, "Actual Rows": 1, "Actual Loops": 1}], "Plans": [{"Node Type": "Hash Join", "Parent Relationship": "Outer", "Parallel Aware": true, "Async Capable": false, "Join Type": "Inner", "Startup Cost": 52211.57, "Total Cost": 685156.06, "Plan Rows": 243427, "Plan Width": 33, "Actual Startup Time": 297.562, "Actual Total Time": 838.572, "Actual Rows": 193211, "Actual Loops": 4, "Output": ["part.p_type", "lineitem.l_extendedprice", "lineitem.l_discount"], "Inner Unique": true, "Hash Cond": "(lineitem.l_partkey = part.p_partkey)", "Workers": [{"Worker Number": 0, "Actual Startup Time": 295.699, "Actual Total Time": 856.4, "Actual Rows": 159635, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 295.746, "Actual Total Time": 853.822, "Actual Rows": 160066, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 295.778, "Actual Total Time": 856.111, "Actual Rows": 158720, "Actual Loops": 1}], "Plans": [{"Node Type": "Index Scan", "Parent Relationship": "Outer", "Parallel Aware": true, "Async Capable": false, "Scan Direction": "Forward", "Index Name": "l_sd", "Relation Name": "lineitem", "Schema": "public", "Alias": "lineitem", "Startup Cost": 0.56, "Total Cost": 632306.06, "Plan Rows": 243427, "Plan Width": 16, "Actual Startup Time": 0.09, "Actual Total Time": 399.272, "Actual Rows": 193211, "Actual Loops": 4, "Output": ["lineitem.l_orderkey", "lineitem.l_partkey", "lineitem.l_suppkey", "lineitem.l_linenumber", "lineitem.l_quantity", "lineitem.l_extendedprice", "lineitem.l_discount", "lineitem.l_tax", "lineitem.l_returnflag", "lineitem.l_linestatus", "lineitem.l_shipdate", "lineitem.l_commitdate", "lineitem.l_receiptdate", "lineitem.l_shipinstruct", "lineitem.l_shipmode", "lineitem.l_comment"], "Index Cond": "((lineitem.l_shipdate >= '1995-05-01'::date) AND (lineitem.l_shipdate < '1995-06-01 00:00:00'::timestamp without time zone))", "Rows Removed by Index Recheck": 0, "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.088, "Actual Total Time": 438.103, "Actual Rows": 159635, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 0.134, "Actual Total Time": 437.342, "Actual Rows": 160066, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 0.115, "Actual Total Time": 439.362, "Actual Rows": 158720, "Actual Loops": 1}]}, {"Node Type": "Hash", "Parent Relationship": "Inner", "Parallel Aware": true, "Async Capable": false, "Startup Cost": 45961.0, "Total Cost": 45961.0, "Plan Rows": 500000, "Plan Width": 25, "Actual Startup Time": 293.301, "Actual Total Time": 293.302, "Actual Rows": 500000, "Actual Loops": 4, "Output": ["part.p_type", "part.p_partkey"], "Hash Buckets": 2097152, "Original Hash Buckets": 2097152, "Hash Batches": 1, "Original Hash Batches": 1, "Peak Memory Usage": 137280, "Workers": [{"Worker Number": 0, "Actual Startup Time": 295.444, "Actual Total Time": 295.445, "Actual Rows": 494879, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 295.444, "Actual Total Time": 295.445, "Actual Rows": 495590, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 295.507, "Actual Total Time": 295.508, "Actual Rows": 492213, "Actual Loops": 1}], "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": true, "Async Capable": false, "Relation Name": "part", "Schema": "public", "Alias": "part", "Startup Cost": 0.0, "Total Cost": 45961.0, "Plan Rows": 500000, "Plan Width": 25, "Actual Startup Time": 0.019, "Actual Total Time": 104.155, "Actual Rows": 500000, "Actual Loops": 4, "Output": ["part.p_type", "part.p_partkey"], "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.026, "Actual Total Time": 105.404, "Actual Rows": 494879, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 0.023, "Actual Total Time": 105.324, "Actual Rows": 495590, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 0.022, "Actual Total Time": 105.245, "Actual Rows": 492213, "Actual Loops": 1}]}]}]}]}]}]}, "Planning Time": 0.325, "Triggers": [], "Execution Time": 1119.738} diff --git a/dev9/pg16/tpch/sf_10/explain_analyze/15721/15-1.ok b/dev9/pg16/tpch/sf_10/explain_analyze/15721/15-1.ok new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/dev9/pg16/tpch/sf_10/explain_analyze/15721/15-1.res b/dev9/pg16/tpch/sf_10/explain_analyze/15721/15-1.res new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/dev9/pg16/tpch/sf_10/explain_analyze/15721/15-2.ok b/dev9/pg16/tpch/sf_10/explain_analyze/15721/15-2.ok new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/dev9/pg16/tpch/sf_10/explain_analyze/15721/15-2.res b/dev9/pg16/tpch/sf_10/explain_analyze/15721/15-2.res new file mode 100644 index 0000000000000000000000000000000000000000..1365136452f2c3cda7ff7c545499fce70ba30fc2 --- /dev/null +++ b/dev9/pg16/tpch/sf_10/explain_analyze/15721/15-2.res @@ -0,0 +1 @@ +{"Plan": {"Node Type": "Merge Join", "Parallel Aware": false, "Async Capable": false, "Join Type": "Inner", "Startup Cost": 2620591.7, "Total Cost": 2624871.96, "Plan Rows": 499, "Plan Width": 103, "Actual Startup Time": 8654.797, "Actual Total Time": 8654.802, "Actual Rows": 1, "Actual Loops": 1, "Output": ["supplier.s_suppkey", "supplier.s_name", "supplier.s_address", "supplier.s_phone", "revenue0.total_revenue"], "Inner Unique": true, "Merge Cond": "(supplier.s_suppkey = revenue0.supplier_no)", "Plans": [{"Node Type": "Aggregate", "Strategy": "Plain", "Partial Mode": "Simple", "Parent Relationship": "InitPlan", "Subplan Name": "InitPlan 1 (returns $0)", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 1310780.86, "Total Cost": 1310780.87, "Plan Rows": 1, "Plan Width": 32, "Actual Startup Time": 4315.563, "Actual Total Time": 4315.564, "Actual Rows": 1, "Actual Loops": 1, "Output": ["max((sum((lineitem_1.l_extendedprice * ('1'::numeric - lineitem_1.l_discount)))))"], "Plans": [{"Node Type": "Aggregate", "Strategy": "Hashed", "Partial Mode": "Simple", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 1308286.66, "Total Cost": 1309533.76, "Plan Rows": 99768, "Plan Width": 36, "Actual Startup Time": 4231.512, "Actual Total Time": 4306.551, "Actual Rows": 100000, "Actual Loops": 1, "Output": ["lineitem_1.l_suppkey", "sum((lineitem_1.l_extendedprice * ('1'::numeric - lineitem_1.l_discount)))"], "Group Key": ["lineitem_1.l_suppkey"], "Planned Partitions": 0, "HashAgg Batches": 5, "Peak Memory Usage": 43057, "Disk Usage": 1664, "Plans": [{"Node Type": "Index Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Scan Direction": "Forward", "Index Name": "l_sd", "Relation Name": "lineitem", "Schema": "public", "Alias": "lineitem_1", "Startup Cost": 0.56, "Total Cost": 1285436.35, "Plan Rows": 2285031, "Plan Width": 16, "Actual Startup Time": 0.016, "Actual Total Time": 2084.168, "Actual Rows": 2247315, "Actual Loops": 1, "Output": ["lineitem_1.l_orderkey", "lineitem_1.l_partkey", "lineitem_1.l_suppkey", "lineitem_1.l_linenumber", "lineitem_1.l_quantity", "lineitem_1.l_extendedprice", "lineitem_1.l_discount", "lineitem_1.l_tax", "lineitem_1.l_returnflag", "lineitem_1.l_linestatus", "lineitem_1.l_shipdate", "lineitem_1.l_commitdate", "lineitem_1.l_receiptdate", "lineitem_1.l_shipinstruct", "lineitem_1.l_shipmode", "lineitem_1.l_comment"], "Index Cond": "((lineitem_1.l_shipdate >= '1995-01-01'::date) AND (lineitem_1.l_shipdate < '1995-04-01 00:00:00'::timestamp without time zone))", "Rows Removed by Index Recheck": 0}]}]}, {"Node Type": "Index Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Scan Direction": "Forward", "Index Name": "s_sk", "Relation Name": "supplier", "Schema": "public", "Alias": "supplier", "Startup Cost": 0.29, "Total Cost": 4023.06, "Plan Rows": 100000, "Plan Width": 71, "Actual Startup Time": 0.012, "Actual Total Time": 18.361, "Actual Rows": 83967, "Actual Loops": 1, "Output": ["supplier.s_suppkey", "supplier.s_name", "supplier.s_address", "supplier.s_nationkey", "supplier.s_phone", "supplier.s_acctbal", "supplier.s_comment"]}, {"Node Type": "Sort", "Parent Relationship": "Inner", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 1309810.54, "Total Cost": 1309811.78, "Plan Rows": 499, "Plan Width": 36, "Actual Startup Time": 8629.334, "Actual Total Time": 8629.336, "Actual Rows": 1, "Actual Loops": 1, "Output": ["revenue0.total_revenue", "revenue0.supplier_no"], "Sort Key": ["revenue0.supplier_no"], "Sort Method": "quicksort", "Sort Space Used": 25, "Sort Space Type": "Memory", "Plans": [{"Node Type": "Subquery Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Alias": "revenue0", "Startup Cost": 1308286.66, "Total Cost": 1309788.17, "Plan Rows": 499, "Plan Width": 36, "Actual Startup Time": 8583.888, "Actual Total Time": 8629.329, "Actual Rows": 1, "Actual Loops": 1, "Output": ["revenue0.total_revenue", "revenue0.supplier_no"], "Plans": [{"Node Type": "Aggregate", "Strategy": "Hashed", "Partial Mode": "Simple", "Parent Relationship": "Subquery", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 1308286.66, "Total Cost": 1309783.18, "Plan Rows": 499, "Plan Width": 36, "Actual Startup Time": 8583.887, "Actual Total Time": 8629.326, "Actual Rows": 1, "Actual Loops": 1, "Output": ["lineitem.l_suppkey", "sum((lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount)))"], "Group Key": ["lineitem.l_suppkey"], "Filter": "(sum((lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount))) = $0)", "Planned Partitions": 0, "HashAgg Batches": 5, "Peak Memory Usage": 43057, "Disk Usage": 1664, "Rows Removed by Filter": 99999, "Plans": [{"Node Type": "Index Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Scan Direction": "Forward", "Index Name": "l_sd", "Relation Name": "lineitem", "Schema": "public", "Alias": "lineitem", "Startup Cost": 0.56, "Total Cost": 1285436.35, "Plan Rows": 2285031, "Plan Width": 16, "Actual Startup Time": 0.012, "Actual Total Time": 2099.425, "Actual Rows": 2247315, "Actual Loops": 1, "Output": ["lineitem.l_orderkey", "lineitem.l_partkey", "lineitem.l_suppkey", "lineitem.l_linenumber", "lineitem.l_quantity", "lineitem.l_extendedprice", "lineitem.l_discount", "lineitem.l_tax", "lineitem.l_returnflag", "lineitem.l_linestatus", "lineitem.l_shipdate", "lineitem.l_commitdate", "lineitem.l_receiptdate", "lineitem.l_shipinstruct", "lineitem.l_shipmode", "lineitem.l_comment"], "Index Cond": "((lineitem.l_shipdate >= '1995-01-01'::date) AND (lineitem.l_shipdate < '1995-04-01 00:00:00'::timestamp without time zone))", "Rows Removed by Index Recheck": 0}]}]}]}]}, "Planning Time": 0.385, "Triggers": [], "Execution Time": 8660.189} diff --git a/dev9/pg16/tpch/sf_10/explain_analyze/15721/15-3.ok b/dev9/pg16/tpch/sf_10/explain_analyze/15721/15-3.ok new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/dev9/pg16/tpch/sf_10/explain_analyze/15721/15-3.res b/dev9/pg16/tpch/sf_10/explain_analyze/15721/15-3.res new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/dev9/pg16/tpch/sf_10/explain_analyze/15721/16-1.ok b/dev9/pg16/tpch/sf_10/explain_analyze/15721/16-1.ok new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/dev9/pg16/tpch/sf_10/explain_analyze/15721/16-1.res b/dev9/pg16/tpch/sf_10/explain_analyze/15721/16-1.res new file mode 100644 index 0000000000000000000000000000000000000000..b94b8dda1ed313f91d2ede007f24c3ab14044c3b --- /dev/null +++ b/dev9/pg16/tpch/sf_10/explain_analyze/15721/16-1.res @@ -0,0 +1 @@ +{"Plan": {"Node Type": "Sort", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 242799.21, "Total Cost": 243183.61, "Plan Rows": 153758, "Plan Width": 44, "Actual Startup Time": 2341.96, "Actual Total Time": 2349.53, "Actual Rows": 27840, "Actual Loops": 1, "Output": ["part.p_brand", "part.p_type", "part.p_size", "(count(DISTINCT partsupp.ps_suppkey))"], "Sort Key": ["(count(DISTINCT partsupp.ps_suppkey)) DESC", "part.p_brand", "part.p_type", "part.p_size"], "Sort Method": "quicksort", "Sort Space Used": 2725, "Sort Space Type": "Memory", "Plans": [{"Node Type": "Aggregate", "Strategy": "Sorted", "Partial Mode": "Simple", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 149621.87, "Total Cost": 229552.73, "Plan Rows": 153758, "Plan Width": 44, "Actual Startup Time": 1320.95, "Actual Total Time": 2250.397, "Actual Rows": 27840, "Actual Loops": 1, "Output": ["part.p_brand", "part.p_type", "part.p_size", "count(DISTINCT partsupp.ps_suppkey)"], "Group Key": ["part.p_brand", "part.p_type", "part.p_size"], "Plans": [{"Node Type": "Gather Merge", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 149621.87, "Total Cost": 222074.17, "Plan Rows": 594098, "Plan Width": 40, "Actual Startup Time": 1320.901, "Actual Total Time": 2008.781, "Actual Rows": 1190471, "Actual Loops": 1, "Output": ["part.p_brand", "part.p_type", "part.p_size", "partsupp.ps_suppkey"], "Workers Planned": 6, "Workers Launched": 6, "Plans": [{"Node Type": "Sort", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 148621.78, "Total Cost": 148869.32, "Plan Rows": 99016, "Plan Width": 40, "Actual Startup Time": 1311.64, "Actual Total Time": 1328.141, "Actual Rows": 170067, "Actual Loops": 7, "Output": ["part.p_brand", "part.p_type", "part.p_size", "partsupp.ps_suppkey"], "Sort Key": ["part.p_brand", "part.p_type", "part.p_size", "partsupp.ps_suppkey"], "Sort Method": "quicksort", "Sort Space Used": 16764, "Sort Space Type": "Memory", "Workers": [{"Worker Number": 0, "Actual Startup Time": 1311.593, "Actual Total Time": 1328.104, "Actual Rows": 169651, "Actual Loops": 1, "Sort Method": "quicksort", "Sort Space Used": 16755, "Sort Space Type": "Memory"}, {"Worker Number": 1, "Actual Startup Time": 1313.115, "Actual Total Time": 1329.823, "Actual Rows": 169718, "Actual Loops": 1, "Sort Method": "quicksort", "Sort Space Used": 16765, "Sort Space Type": "Memory"}, {"Worker Number": 2, "Actual Startup Time": 1315.235, "Actual Total Time": 1331.863, "Actual Rows": 170613, "Actual Loops": 1, "Sort Method": "quicksort", "Sort Space Used": 16821, "Sort Space Type": "Memory"}, {"Worker Number": 3, "Actual Startup Time": 1316.254, "Actual Total Time": 1333.064, "Actual Rows": 171363, "Actual Loops": 1, "Sort Method": "quicksort", "Sort Space Used": 16870, "Sort Space Type": "Memory"}, {"Worker Number": 4, "Actual Startup Time": 1310.399, "Actual Total Time": 1326.884, "Actual Rows": 170052, "Actual Loops": 1, "Sort Method": "quicksort", "Sort Space Used": 16785, "Sort Space Type": "Memory"}, {"Worker Number": 5, "Actual Startup Time": 1306.607, "Actual Total Time": 1323.268, "Actual Rows": 169318, "Actual Loops": 1, "Sort Method": "quicksort", "Sort Space Used": 16737, "Sort Space Type": "Memory"}], "Plans": [{"Node Type": "Hash Join", "Parent Relationship": "Outer", "Parallel Aware": true, "Async Capable": false, "Join Type": "Inner", "Startup Cost": 57858.74, "Total Cost": 140405.74, "Plan Rows": 99016, "Plan Width": 40, "Actual Startup Time": 159.124, "Actual Total Time": 615.057, "Actual Rows": 170067, "Actual Loops": 7, "Output": ["part.p_brand", "part.p_type", "part.p_size", "partsupp.ps_suppkey"], "Inner Unique": true, "Hash Cond": "(partsupp.ps_partkey = part.p_partkey)", "Workers": [{"Worker Number": 0, "Actual Startup Time": 158.384, "Actual Total Time": 614.085, "Actual Rows": 169651, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 158.493, "Actual Total Time": 613.901, "Actual Rows": 169718, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 158.655, "Actual Total Time": 613.85, "Actual Rows": 170613, "Actual Loops": 1}, {"Worker Number": 3, "Actual Startup Time": 158.842, "Actual Total Time": 613.983, "Actual Rows": 171363, "Actual Loops": 1}, {"Worker Number": 4, "Actual Startup Time": 158.855, "Actual Total Time": 614.268, "Actual Rows": 170052, "Actual Loops": 1}, {"Worker Number": 5, "Actual Startup Time": 158.854, "Actual Total Time": 614.271, "Actual Rows": 169318, "Actual Loops": 1}], "Plans": [{"Node Type": "Index Only Scan", "Parent Relationship": "Outer", "Parallel Aware": true, "Async Capable": false, "Scan Direction": "Forward", "Index Name": "ps_pk_sk", "Relation Name": "partsupp", "Schema": "public", "Alias": "partsupp", "Startup Cost": 3469.46, "Total Cost": 84266.46, "Plan Rows": 666662, "Plan Width": 8, "Actual Startup Time": 32.358, "Actual Total Time": 313.987, "Actual Rows": 1142217, "Actual Loops": 7, "Output": ["partsupp.ps_partkey", "partsupp.ps_suppkey"], "Filter": "(NOT (hashed SubPlan 1))", "Rows Removed by Filter": 640, "Heap Fetches": 0, "Workers": [{"Worker Number": 0, "Actual Startup Time": 32.538, "Actual Total Time": 314.042, "Actual Rows": 1144165, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 32.539, "Actual Total Time": 313.456, "Actual Rows": 1139814, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 32.544, "Actual Total Time": 313.418, "Actual Rows": 1142348, "Actual Loops": 1}, {"Worker Number": 3, "Actual Startup Time": 32.537, "Actual Total Time": 313.447, "Actual Rows": 1142741, "Actual Loops": 1}, {"Worker Number": 4, "Actual Startup Time": 32.541, "Actual Total Time": 313.929, "Actual Rows": 1144953, "Actual Loops": 1}, {"Worker Number": 5, "Actual Startup Time": 32.542, "Actual Total Time": 313.639, "Actual Rows": 1142063, "Actual Loops": 1}], "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "SubPlan", "Subplan Name": "SubPlan 1", "Parallel Aware": false, "Async Capable": false, "Relation Name": "supplier", "Schema": "public", "Alias": "supplier", "Startup Cost": 0.0, "Total Cost": 3469.0, "Plan Rows": 10, "Plan Width": 4, "Actual Startup Time": 0.131, "Actual Total Time": 32.206, "Actual Rows": 56, "Actual Loops": 7, "Output": ["supplier.s_suppkey"], "Filter": "((supplier.s_comment)::text ~~ '%Customer%Complaints%'::text)", "Rows Removed by Filter": 99944, "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.128, "Actual Total Time": 32.33, "Actual Rows": 56, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 0.129, "Actual Total Time": 32.355, "Actual Rows": 56, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 0.133, "Actual Total Time": 32.412, "Actual Rows": 56, "Actual Loops": 1}, {"Worker Number": 3, "Actual Startup Time": 0.128, "Actual Total Time": 32.308, "Actual Rows": 56, "Actual Loops": 1}, {"Worker Number": 4, "Actual Startup Time": 0.128, "Actual Total Time": 32.386, "Actual Rows": 56, "Actual Loops": 1}, {"Worker Number": 5, "Actual Startup Time": 0.139, "Actual Total Time": 32.435, "Actual Rows": 56, "Actual Loops": 1}]}]}, {"Node Type": "Hash", "Parent Relationship": "Inner", "Parallel Aware": true, "Async Capable": false, "Startup Cost": 53461.0, "Total Cost": 53461.0, "Plan Rows": 74263, "Plan Width": 40, "Actual Startup Time": 126.051, "Actual Total Time": 126.052, "Actual Rows": 42542, "Actual Loops": 7, "Output": ["part.p_brand", "part.p_type", "part.p_size", "part.p_partkey"], "Hash Buckets": 524288, "Original Hash Buckets": 524288, "Hash Batches": 1, "Original Hash Batches": 1, "Peak Memory Usage": 26432, "Workers": [{"Worker Number": 0, "Actual Startup Time": 125.734, "Actual Total Time": 125.735, "Actual Rows": 42261, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 125.821, "Actual Total Time": 125.822, "Actual Rows": 42112, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 126.001, "Actual Total Time": 126.002, "Actual Rows": 42105, "Actual Loops": 1}, {"Worker Number": 3, "Actual Startup Time": 126.163, "Actual Total Time": 126.164, "Actual Rows": 41765, "Actual Loops": 1}, {"Worker Number": 4, "Actual Startup Time": 126.175, "Actual Total Time": 126.176, "Actual Rows": 42259, "Actual Loops": 1}, {"Worker Number": 5, "Actual Startup Time": 126.197, "Actual Total Time": 126.198, "Actual Rows": 41927, "Actual Loops": 1}], "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": true, "Async Capable": false, "Relation Name": "part", "Schema": "public", "Alias": "part", "Startup Cost": 0.0, "Total Cost": 53461.0, "Plan Rows": 74263, "Plan Width": 40, "Actual Startup Time": 0.029, "Actual Total Time": 104.079, "Actual Rows": 42542, "Actual Loops": 7, "Output": ["part.p_brand", "part.p_type", "part.p_size", "part.p_partkey"], "Filter": "((part.p_brand <> 'Brand#11'::bpchar) AND ((part.p_type)::text !~~ 'ECONOMY ANODIZED%'::text) AND (part.p_size = ANY ('{42,16,39,18,23,32,44,41}'::integer[])))", "Rows Removed by Filter": 243172, "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.024, "Actual Total Time": 103.929, "Actual Rows": 42261, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 0.029, "Actual Total Time": 104.598, "Actual Rows": 42112, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 0.036, "Actual Total Time": 104.364, "Actual Rows": 42105, "Actual Loops": 1}, {"Worker Number": 3, "Actual Startup Time": 0.031, "Actual Total Time": 103.854, "Actual Rows": 41765, "Actual Loops": 1}, {"Worker Number": 4, "Actual Startup Time": 0.033, "Actual Total Time": 104.55, "Actual Rows": 42259, "Actual Loops": 1}, {"Worker Number": 5, "Actual Startup Time": 0.034, "Actual Total Time": 104.24, "Actual Rows": 41927, "Actual Loops": 1}]}]}]}]}]}]}]}, "Planning Time": 0.602, "Triggers": [], "Execution Time": 2350.724} diff --git a/dev9/pg16/tpch/sf_10/explain_analyze/15721/17-1.ok b/dev9/pg16/tpch/sf_10/explain_analyze/15721/17-1.ok new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/dev9/pg16/tpch/sf_10/explain_analyze/15721/17-1.res b/dev9/pg16/tpch/sf_10/explain_analyze/15721/17-1.res new file mode 100644 index 0000000000000000000000000000000000000000..9987ee832457520c32924cbfd272c3ebac3f189c --- /dev/null +++ b/dev9/pg16/tpch/sf_10/explain_analyze/15721/17-1.res @@ -0,0 +1 @@ +{"Plan": {"Node Type": "Aggregate", "Strategy": "Plain", "Partial Mode": "Simple", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 1932518.19, "Total Cost": 1932518.2, "Plan Rows": 1, "Plan Width": 32, "Actual Startup Time": 16550.86, "Actual Total Time": 16550.957, "Actual Rows": 1, "Actual Loops": 1, "Output": ["(sum(lineitem.l_extendedprice) / 7.0)"], "Plans": [{"Node Type": "Hash Join", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Join Type": "Inner", "Startup Cost": 49686.11, "Total Cost": 1932468.18, "Plan Rows": 20005, "Plan Width": 8, "Actual Startup Time": 83.712, "Actual Total Time": 16549.054, "Actual Rows": 5383, "Actual Loops": 1, "Output": ["lineitem.l_extendedprice"], "Inner Unique": true, "Hash Cond": "(lineitem.l_partkey = part.p_partkey)", "Join Filter": "(lineitem.l_quantity < (SubPlan 1))", "Rows Removed by Join Filter": 56148, "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Relation Name": "lineitem", "Schema": "public", "Alias": "lineitem", "Startup Cost": 0.0, "Total Cost": 1724955.32, "Plan Rows": 59986232, "Plan Width": 17, "Actual Startup Time": 0.005, "Actual Total Time": 5294.524, "Actual Rows": 59986052, "Actual Loops": 1, "Output": ["lineitem.l_orderkey", "lineitem.l_partkey", "lineitem.l_suppkey", "lineitem.l_linenumber", "lineitem.l_quantity", "lineitem.l_extendedprice", "lineitem.l_discount", "lineitem.l_tax", "lineitem.l_returnflag", "lineitem.l_linestatus", "lineitem.l_shipdate", "lineitem.l_commitdate", "lineitem.l_receiptdate", "lineitem.l_shipinstruct", "lineitem.l_shipmode", "lineitem.l_comment"]}, {"Node Type": "Hash", "Parent Relationship": "Inner", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 49661.1, "Total Cost": 49661.1, "Plan Rows": 2001, "Plan Width": 4, "Actual Startup Time": 79.931, "Actual Total Time": 80.025, "Actual Rows": 2063, "Actual Loops": 1, "Output": ["part.p_partkey"], "Hash Buckets": 4096, "Original Hash Buckets": 2048, "Hash Batches": 1, "Original Hash Batches": 1, "Peak Memory Usage": 105, "Plans": [{"Node Type": "Gather", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 1000.0, "Total Cost": 49661.1, "Plan Rows": 2001, "Plan Width": 4, "Actual Startup Time": 0.627, "Actual Total Time": 79.737, "Actual Rows": 2063, "Actual Loops": 1, "Output": ["part.p_partkey"], "Workers Planned": 4, "Workers Launched": 4, "Single Copy": false, "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": true, "Async Capable": false, "Relation Name": "part", "Schema": "public", "Alias": "part", "Startup Cost": 0.0, "Total Cost": 48461.0, "Plan Rows": 500, "Plan Width": 4, "Actual Startup Time": 0.228, "Actual Total Time": 76.301, "Actual Rows": 413, "Actual Loops": 5, "Output": ["part.p_partkey"], "Filter": "((part.p_brand = 'Brand#14'::bpchar) AND (part.p_container = 'WRAP BOX'::bpchar))", "Rows Removed by Filter": 399587, "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.297, "Actual Total Time": 75.432, "Actual Rows": 368, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 0.22, "Actual Total Time": 75.557, "Actual Rows": 368, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 0.06, "Actual Total Time": 75.616, "Actual Rows": 415, "Actual Loops": 1}, {"Worker Number": 3, "Actual Startup Time": 0.177, "Actual Total Time": 75.8, "Actual Rows": 407, "Actual Loops": 1}]}]}]}, {"Node Type": "Aggregate", "Strategy": "Plain", "Partial Mode": "Simple", "Parent Relationship": "SubPlan", "Subplan Name": "SubPlan 1", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 36.26, "Total Cost": 36.27, "Plan Rows": 1, "Plan Width": 32, "Actual Startup Time": 0.039, "Actual Total Time": 0.039, "Actual Rows": 1, "Actual Loops": 61531, "Output": ["(0.2 * avg(lineitem_1.l_quantity))"], "Plans": [{"Node Type": "Index Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Scan Direction": "Forward", "Index Name": "l_pk", "Relation Name": "lineitem", "Schema": "public", "Alias": "lineitem_1", "Startup Cost": 0.44, "Total Cost": 36.18, "Plan Rows": 31, "Plan Width": 5, "Actual Startup Time": 0.004, "Actual Total Time": 0.032, "Actual Rows": 31, "Actual Loops": 61531, "Output": ["lineitem_1.l_orderkey", "lineitem_1.l_partkey", "lineitem_1.l_suppkey", "lineitem_1.l_linenumber", "lineitem_1.l_quantity", "lineitem_1.l_extendedprice", "lineitem_1.l_discount", "lineitem_1.l_tax", "lineitem_1.l_returnflag", "lineitem_1.l_linestatus", "lineitem_1.l_shipdate", "lineitem_1.l_commitdate", "lineitem_1.l_receiptdate", "lineitem_1.l_shipinstruct", "lineitem_1.l_shipmode", "lineitem_1.l_comment"], "Index Cond": "(lineitem_1.l_partkey = part.p_partkey)", "Rows Removed by Index Recheck": 0}]}]}]}, "Planning Time": 0.349, "Triggers": [], "Execution Time": 16550.999} diff --git a/dev9/pg16/tpch/sf_10/explain_analyze/15721/18-1.ok b/dev9/pg16/tpch/sf_10/explain_analyze/15721/18-1.ok new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/dev9/pg16/tpch/sf_10/explain_analyze/15721/18-1.res b/dev9/pg16/tpch/sf_10/explain_analyze/15721/18-1.res new file mode 100644 index 0000000000000000000000000000000000000000..b104a8209a8b17f443de69d7fe1d6017abb77c1c --- /dev/null +++ b/dev9/pg16/tpch/sf_10/explain_analyze/15721/18-1.res @@ -0,0 +1 @@ +{"Plan": {"Node Type": "Limit", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 3503628.77, "Total Cost": 3503629.02, "Plan Rows": 100, "Plan Width": 71, "Actual Startup Time": 32257.602, "Actual Total Time": 32481.613, "Actual Rows": 84, "Actual Loops": 1, "Output": ["customer.c_name", "customer.c_custkey", "orders.o_orderkey", "orders.o_orderdate", "orders.o_totalprice", "(sum(lineitem.l_quantity))"], "Plans": [{"Node Type": "Sort", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 3503628.77, "Total Cost": 3510313.99, "Plan Rows": 2674086, "Plan Width": 71, "Actual Startup Time": 32257.6, "Actual Total Time": 32481.592, "Actual Rows": 84, "Actual Loops": 1, "Output": ["customer.c_name", "customer.c_custkey", "orders.o_orderkey", "orders.o_orderdate", "orders.o_totalprice", "(sum(lineitem.l_quantity))"], "Sort Key": ["orders.o_totalprice DESC", "orders.o_orderdate"], "Sort Method": "quicksort", "Sort Space Used": 30, "Sort Space Type": "Memory", "Plans": [{"Node Type": "Aggregate", "Strategy": "Sorted", "Partial Mode": "Simple", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 3021831.42, "Total Cost": 3401427.13, "Plan Rows": 2674086, "Plan Width": 71, "Actual Startup Time": 32257.16, "Actual Total Time": 32481.45, "Actual Rows": 84, "Actual Loops": 1, "Output": ["customer.c_name", "customer.c_custkey", "orders.o_orderkey", "orders.o_orderdate", "orders.o_totalprice", "sum(lineitem.l_quantity)"], "Group Key": ["customer.c_custkey", "orders.o_orderkey"], "Plans": [{"Node Type": "Gather Merge", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 3021831.42, "Total Cost": 3347945.41, "Plan Rows": 2674086, "Plan Width": 44, "Actual Startup Time": 32257.029, "Actual Total Time": 32481.167, "Actual Rows": 588, "Actual Loops": 1, "Output": ["customer.c_custkey", "orders.o_orderkey", "customer.c_name", "orders.o_orderdate", "orders.o_totalprice", "lineitem.l_quantity"], "Workers Planned": 6, "Workers Launched": 6, "Plans": [{"Node Type": "Sort", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 3020831.32, "Total Cost": 3021945.52, "Plan Rows": 445681, "Plan Width": 44, "Actual Startup Time": 32246.326, "Actual Total Time": 32246.339, "Actual Rows": 84, "Actual Loops": 7, "Output": ["customer.c_custkey", "orders.o_orderkey", "customer.c_name", "orders.o_orderdate", "orders.o_totalprice", "lineitem.l_quantity"], "Sort Key": ["customer.c_custkey", "orders.o_orderkey"], "Sort Method": "quicksort", "Sort Space Used": 35, "Sort Space Type": "Memory", "Workers": [{"Worker Number": 0, "Actual Startup Time": 32244.56, "Actual Total Time": 32244.568, "Actual Rows": 42, "Actual Loops": 1, "Sort Method": "quicksort", "Sort Space Used": 27, "Sort Space Type": "Memory"}, {"Worker Number": 1, "Actual Startup Time": 32248.728, "Actual Total Time": 32248.737, "Actual Rows": 56, "Actual Loops": 1, "Sort Method": "quicksort", "Sort Space Used": 28, "Sort Space Type": "Memory"}, {"Worker Number": 2, "Actual Startup Time": 32244.67, "Actual Total Time": 32244.687, "Actual Rows": 224, "Actual Loops": 1, "Sort Method": "quicksort", "Sort Space Used": 40, "Sort Space Type": "Memory"}, {"Worker Number": 3, "Actual Startup Time": 32244.676, "Actual Total Time": 32244.684, "Actual Rows": 28, "Actual Loops": 1, "Sort Method": "quicksort", "Sort Space Used": 26, "Sort Space Type": "Memory"}, {"Worker Number": 4, "Actual Startup Time": 32244.675, "Actual Total Time": 32244.682, "Actual Rows": 35, "Actual Loops": 1, "Sort Method": "quicksort", "Sort Space Used": 27, "Sort Space Type": "Memory"}, {"Worker Number": 5, "Actual Startup Time": 32244.746, "Actual Total Time": 32244.755, "Actual Rows": 56, "Actual Loops": 1, "Sort Method": "quicksort", "Sort Space Used": 28, "Sort Space Type": "Memory"}], "Plans": [{"Node Type": "Hash Join", "Parent Relationship": "Outer", "Parallel Aware": true, "Async Capable": false, "Join Type": "Inner", "Startup Cost": 2512155.86, "Total Cost": 2970981.95, "Plan Rows": 445681, "Plan Width": 44, "Actual Startup Time": 31686.762, "Actual Total Time": 32246.249, "Actual Rows": 84, "Actual Loops": 7, "Output": ["customer.c_custkey", "orders.o_orderkey", "customer.c_name", "orders.o_orderdate", "orders.o_totalprice", "lineitem.l_quantity"], "Inner Unique": true, "Hash Cond": "(orders.o_custkey = customer.c_custkey)", "Workers": [{"Worker Number": 0, "Actual Startup Time": 32000.365, "Actual Total Time": 32244.504, "Actual Rows": 42, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 31909.991, "Actual Total Time": 32248.666, "Actual Rows": 56, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 30920.74, "Actual Total Time": 32244.514, "Actual Rows": 224, "Actual Loops": 1}, {"Worker Number": 3, "Actual Startup Time": 31912.44, "Actual Total Time": 32244.625, "Actual Rows": 28, "Actual Loops": 1}, {"Worker Number": 4, "Actual Startup Time": 31923.569, "Actual Total Time": 32244.621, "Actual Rows": 35, "Actual Loops": 1}, {"Worker Number": 5, "Actual Startup Time": 31871.088, "Actual Total Time": 32244.682, "Actual Rows": 56, "Actual Loops": 1}], "Plans": [{"Node Type": "Nested Loop", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Join Type": "Inner", "Startup Cost": 2467794.36, "Total Cost": 2925450.53, "Plan Rows": 445681, "Plan Width": 25, "Actual Startup Time": 31536.118, "Actual Total Time": 32094.907, "Actual Rows": 84, "Actual Loops": 7, "Output": ["orders.o_orderkey", "orders.o_orderdate", "orders.o_totalprice", "orders.o_custkey", "lineitem.l_quantity"], "Inner Unique": false, "Workers": [{"Worker Number": 0, "Actual Startup Time": 31850.895, "Actual Total Time": 32094.987, "Actual Rows": 42, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 31760.524, "Actual Total Time": 32094.995, "Actual Rows": 56, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 30771.175, "Actual Total Time": 32094.655, "Actual Rows": 224, "Actual Loops": 1}, {"Worker Number": 3, "Actual Startup Time": 31762.849, "Actual Total Time": 32095.005, "Actual Rows": 28, "Actual Loops": 1}, {"Worker Number": 4, "Actual Startup Time": 31773.98, "Actual Total Time": 32094.995, "Actual Rows": 35, "Actual Loops": 1}, {"Worker Number": 5, "Actual Startup Time": 31721.449, "Actual Total Time": 32094.98, "Actual Rows": 56, "Actual Loops": 1}], "Plans": [{"Node Type": "Hash Join", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Join Type": "Inner", "Startup Cost": 2467793.79, "Total Cost": 2760567.53, "Plan Rows": 111447, "Plan Width": 24, "Actual Startup Time": 31536.077, "Actual Total Time": 32094.68, "Actual Rows": 12, "Actual Loops": 7, "Output": ["orders.o_orderkey", "orders.o_orderdate", "orders.o_totalprice", "orders.o_custkey", "lineitem_1.l_orderkey"], "Inner Unique": true, "Hash Cond": "(orders.o_orderkey = lineitem_1.l_orderkey)", "Workers": [{"Worker Number": 0, "Actual Startup Time": 31850.865, "Actual Total Time": 32094.872, "Actual Rows": 6, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 31760.494, "Actual Total Time": 32094.846, "Actual Rows": 8, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 30771.144, "Actual Total Time": 32094.108, "Actual Rows": 32, "Actual Loops": 1}, {"Worker Number": 3, "Actual Startup Time": 31762.819, "Actual Total Time": 32094.922, "Actual Rows": 4, "Actual Loops": 1}, {"Worker Number": 4, "Actual Startup Time": 31773.953, "Actual Total Time": 32094.898, "Actual Rows": 5, "Actual Loops": 1}, {"Worker Number": 5, "Actual Startup Time": 31721.416, "Actual Total Time": 32094.829, "Actual Rows": 8, "Actual Loops": 1}], "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": true, "Async Capable": false, "Relation Name": "orders", "Schema": "public", "Alias": "orders", "Startup Cost": 0.0, "Total Cost": 286211.19, "Plan Rows": 2500019, "Plan Width": 20, "Actual Startup Time": 0.013, "Actual Total Time": 197.609, "Actual Rows": 2142857, "Actual Loops": 7, "Output": ["orders.o_orderkey", "orders.o_custkey", "orders.o_orderstatus", "orders.o_totalprice", "orders.o_orderdate", "orders.o_orderpriority", "orders.o_clerk", "orders.o_shippriority", "orders.o_comment"], "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.013, "Actual Total Time": 117.916, "Actual Rows": 1272377, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 0.014, "Actual Total Time": 104.827, "Actual Rows": 1130492, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 0.019, "Actual Total Time": 454.144, "Actual Rows": 4949184, "Actual Loops": 1}, {"Worker Number": 3, "Actual Startup Time": 0.014, "Actual Total Time": 119.409, "Actual Rows": 1291182, "Actual Loops": 1}, {"Worker Number": 4, "Actual Startup Time": 0.012, "Actual Total Time": 104.496, "Actual Rows": 1126708, "Actual Loops": 1}, {"Worker Number": 5, "Actual Startup Time": 0.014, "Actual Total Time": 117.379, "Actual Rows": 1267677, "Actual Loops": 1}]}, {"Node Type": "Hash", "Parent Relationship": "Inner", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 2459435.29, "Total Cost": 2459435.29, "Plan Rows": 668680, "Plan Width": 4, "Actual Startup Time": 31477.399, "Actual Total Time": 31477.401, "Actual Rows": 84, "Actual Loops": 7, "Output": ["lineitem_1.l_orderkey"], "Hash Buckets": 1048576, "Original Hash Buckets": 1048576, "Hash Batches": 1, "Original Hash Batches": 1, "Peak Memory Usage": 8195, "Workers": [{"Worker Number": 0, "Actual Startup Time": 31708.751, "Actual Total Time": 31708.752, "Actual Rows": 84, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 31750.688, "Actual Total Time": 31750.689, "Actual Rows": 84, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 30687.337, "Actual Total Time": 30687.338, "Actual Rows": 84, "Actual Loops": 1}, {"Worker Number": 3, "Actual Startup Time": 31707.672, "Actual Total Time": 31707.673, "Actual Rows": 84, "Actual Loops": 1}, {"Worker Number": 4, "Actual Startup Time": 31751.947, "Actual Total Time": 31751.948, "Actual Rows": 84, "Actual Loops": 1}, {"Worker Number": 5, "Actual Startup Time": 31710.208, "Actual Total Time": 31710.209, "Actual Rows": 84, "Actual Loops": 1}], "Plans": [{"Node Type": "Aggregate", "Strategy": "Sorted", "Partial Mode": "Simple", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 0.56, "Total Cost": 2459435.29, "Plan Rows": 668680, "Plan Width": 4, "Actual Startup Time": 656.075, "Actual Total Time": 31477.154, "Actual Rows": 84, "Actual Loops": 7, "Output": ["lineitem_1.l_orderkey"], "Group Key": ["lineitem_1.l_orderkey"], "Filter": "(sum(lineitem_1.l_quantity) > '314'::numeric)", "Rows Removed by Filter": 14999916, "Workers": [{"Worker Number": 0, "Actual Startup Time": 669.943, "Actual Total Time": 31708.596, "Actual Rows": 84, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 645.108, "Actual Total Time": 31750.532, "Actual Rows": 84, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 649.155, "Actual Total Time": 30687.171, "Actual Rows": 84, "Actual Loops": 1}, {"Worker Number": 3, "Actual Startup Time": 661.219, "Actual Total Time": 31707.511, "Actual Rows": 84, "Actual Loops": 1}, {"Worker Number": 4, "Actual Startup Time": 658.802, "Actual Total Time": 31751.789, "Actual Rows": 84, "Actual Loops": 1}, {"Worker Number": 5, "Actual Startup Time": 663.258, "Actual Total Time": 31710.045, "Actual Rows": 84, "Actual Loops": 1}], "Plans": [{"Node Type": "Index Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Scan Direction": "Forward", "Index Name": "l_ok", "Relation Name": "lineitem", "Schema": "public", "Alias": "lineitem_1", "Startup Cost": 0.56, "Total Cost": 2129413.55, "Plan Rows": 59986232, "Plan Width": 9, "Actual Startup Time": 0.067, "Actual Total Time": 13178.059, "Actual Rows": 59986052, "Actual Loops": 7, "Output": ["lineitem_1.l_orderkey", "lineitem_1.l_partkey", "lineitem_1.l_suppkey", "lineitem_1.l_linenumber", "lineitem_1.l_quantity", "lineitem_1.l_extendedprice", "lineitem_1.l_discount", "lineitem_1.l_tax", "lineitem_1.l_returnflag", "lineitem_1.l_linestatus", "lineitem_1.l_shipdate", "lineitem_1.l_commitdate", "lineitem_1.l_receiptdate", "lineitem_1.l_shipinstruct", "lineitem_1.l_shipmode", "lineitem_1.l_comment"], "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.077, "Actual Total Time": 13318.408, "Actual Rows": 59986052, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 0.072, "Actual Total Time": 13356.082, "Actual Rows": 59986052, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 0.082, "Actual Total Time": 12637.475, "Actual Rows": 59986052, "Actual Loops": 1}, {"Worker Number": 3, "Actual Startup Time": 0.064, "Actual Total Time": 13335.387, "Actual Rows": 59986052, "Actual Loops": 1}, {"Worker Number": 4, "Actual Startup Time": 0.074, "Actual Total Time": 13464.441, "Actual Rows": 59986052, "Actual Loops": 1}, {"Worker Number": 5, "Actual Startup Time": 0.079, "Actual Total Time": 13378.976, "Actual Rows": 59986052, "Actual Loops": 1}]}]}]}]}, {"Node Type": "Index Scan", "Parent Relationship": "Inner", "Parallel Aware": false, "Async Capable": false, "Scan Direction": "Forward", "Index Name": "l_ok", "Relation Name": "lineitem", "Schema": "public", "Alias": "lineitem", "Startup Cost": 0.56, "Total Cost": 1.18, "Plan Rows": 30, "Plan Width": 9, "Actual Startup Time": 0.012, "Actual Total Time": 0.014, "Actual Rows": 7, "Actual Loops": 84, "Output": ["lineitem.l_orderkey", "lineitem.l_partkey", "lineitem.l_suppkey", "lineitem.l_linenumber", "lineitem.l_quantity", "lineitem.l_extendedprice", "lineitem.l_discount", "lineitem.l_tax", "lineitem.l_returnflag", "lineitem.l_linestatus", "lineitem.l_shipdate", "lineitem.l_commitdate", "lineitem.l_receiptdate", "lineitem.l_shipinstruct", "lineitem.l_shipmode", "lineitem.l_comment"], "Index Cond": "(lineitem.l_orderkey = orders.o_orderkey)", "Rows Removed by Index Recheck": 0, "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.013, "Actual Total Time": 0.014, "Actual Rows": 7, "Actual Loops": 6}, {"Worker Number": 1, "Actual Startup Time": 0.012, "Actual Total Time": 0.014, "Actual Rows": 7, "Actual Loops": 8}, {"Worker Number": 2, "Actual Startup Time": 0.011, "Actual Total Time": 0.013, "Actual Rows": 7, "Actual Loops": 32}, {"Worker Number": 3, "Actual Startup Time": 0.014, "Actual Total Time": 0.016, "Actual Rows": 7, "Actual Loops": 4}, {"Worker Number": 4, "Actual Startup Time": 0.012, "Actual Total Time": 0.014, "Actual Rows": 7, "Actual Loops": 5}, {"Worker Number": 5, "Actual Startup Time": 0.012, "Actual Total Time": 0.014, "Actual Rows": 7, "Actual Loops": 8}]}]}, {"Node Type": "Hash", "Parent Relationship": "Inner", "Parallel Aware": true, "Async Capable": false, "Startup Cost": 39674.0, "Total Cost": 39674.0, "Plan Rows": 375000, "Plan Width": 23, "Actual Startup Time": 148.259, "Actual Total Time": 148.259, "Actual Rows": 214286, "Actual Loops": 7, "Output": ["customer.c_name", "customer.c_custkey"], "Hash Buckets": 2097152, "Original Hash Buckets": 2097152, "Hash Batches": 1, "Original Hash Batches": 1, "Peak Memory Usage": 98720, "Workers": [{"Worker Number": 0, "Actual Startup Time": 149.37, "Actual Total Time": 149.37, "Actual Rows": 209714, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 149.378, "Actual Total Time": 149.379, "Actual Rows": 212020, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 149.479, "Actual Total Time": 149.479, "Actual Rows": 211802, "Actual Loops": 1}, {"Worker Number": 3, "Actual Startup Time": 149.494, "Actual Total Time": 149.495, "Actual Rows": 211995, "Actual Loops": 1}, {"Worker Number": 4, "Actual Startup Time": 149.484, "Actual Total Time": 149.485, "Actual Rows": 210966, "Actual Loops": 1}, {"Worker Number": 5, "Actual Startup Time": 149.543, "Actual Total Time": 149.544, "Actual Rows": 210784, "Actual Loops": 1}], "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": true, "Async Capable": false, "Relation Name": "customer", "Schema": "public", "Alias": "customer", "Startup Cost": 0.0, "Total Cost": 39674.0, "Plan Rows": 375000, "Plan Width": 23, "Actual Startup Time": 0.025, "Actual Total Time": 46.003, "Actual Rows": 214286, "Actual Loops": 7, "Output": ["customer.c_name", "customer.c_custkey"], "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.029, "Actual Total Time": 46.379, "Actual Rows": 209714, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 0.025, "Actual Total Time": 46.557, "Actual Rows": 212020, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 0.027, "Actual Total Time": 46.412, "Actual Rows": 211802, "Actual Loops": 1}, {"Worker Number": 3, "Actual Startup Time": 0.028, "Actual Total Time": 46.401, "Actual Rows": 211995, "Actual Loops": 1}, {"Worker Number": 4, "Actual Startup Time": 0.03, "Actual Total Time": 46.332, "Actual Rows": 210966, "Actual Loops": 1}, {"Worker Number": 5, "Actual Startup Time": 0.03, "Actual Total Time": 46.536, "Actual Rows": 210784, "Actual Loops": 1}]}]}]}]}]}]}]}]}, "Planning Time": 1.043, "Triggers": [], "Execution Time": 32481.807} diff --git a/dev9/pg16/tpch/sf_10/explain_analyze/15721/19-1.ok b/dev9/pg16/tpch/sf_10/explain_analyze/15721/19-1.ok new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/dev9/pg16/tpch/sf_10/explain_analyze/15721/19-1.res b/dev9/pg16/tpch/sf_10/explain_analyze/15721/19-1.res new file mode 100644 index 0000000000000000000000000000000000000000..548f5447abd742866fed0384266181ba6faba863 --- /dev/null +++ b/dev9/pg16/tpch/sf_10/explain_analyze/15721/19-1.res @@ -0,0 +1 @@ +{"Plan": {"Node Type": "Aggregate", "Strategy": "Plain", "Partial Mode": "Finalize", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 105652.0, "Total Cost": 105652.01, "Plan Rows": 1, "Plan Width": 32, "Actual Startup Time": 286.114, "Actual Total Time": 348.862, "Actual Rows": 1, "Actual Loops": 1, "Output": ["sum((lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount)))"], "Plans": [{"Node Type": "Gather", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 105651.57, "Total Cost": 105651.98, "Plan Rows": 4, "Plan Width": 32, "Actual Startup Time": 286.039, "Actual Total Time": 348.851, "Actual Rows": 5, "Actual Loops": 1, "Output": ["(PARTIAL sum((lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount))))"], "Workers Planned": 4, "Workers Launched": 4, "Single Copy": false, "Plans": [{"Node Type": "Aggregate", "Strategy": "Plain", "Partial Mode": "Partial", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 104651.57, "Total Cost": 104651.58, "Plan Rows": 1, "Plan Width": 32, "Actual Startup Time": 281.916, "Actual Total Time": 281.917, "Actual Rows": 1, "Actual Loops": 5, "Output": ["PARTIAL sum((lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount)))"], "Workers": [{"Worker Number": 0, "Actual Startup Time": 280.867, "Actual Total Time": 280.868, "Actual Rows": 1, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 281.023, "Actual Total Time": 281.025, "Actual Rows": 1, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 281.032, "Actual Total Time": 281.033, "Actual Rows": 1, "Actual Loops": 1}, {"Worker Number": 3, "Actual Startup Time": 281.209, "Actual Total Time": 281.21, "Actual Rows": 1, "Actual Loops": 1}], "Plans": [{"Node Type": "Nested Loop", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Join Type": "Inner", "Startup Cost": 0.44, "Total Cost": 104649.5, "Plan Rows": 276, "Plan Width": 12, "Actual Startup Time": 2.663, "Actual Total Time": 281.72, "Actual Rows": 229, "Actual Loops": 5, "Output": ["lineitem.l_extendedprice", "lineitem.l_discount"], "Inner Unique": false, "Workers": [{"Worker Number": 0, "Actual Startup Time": 1.603, "Actual Total Time": 280.678, "Actual Rows": 204, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 0.585, "Actual Total Time": 280.842, "Actual Rows": 205, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 5.832, "Actual Total Time": 280.825, "Actual Rows": 238, "Actual Loops": 1}, {"Worker Number": 3, "Actual Startup Time": 5.04, "Actual Total Time": 281.035, "Actual Rows": 189, "Actual Loops": 1}], "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": true, "Async Capable": false, "Relation Name": "part", "Schema": "public", "Alias": "part", "Startup Cost": 0.0, "Total Cost": 62211.0, "Plan Rows": 1176, "Plan Width": 30, "Actual Startup Time": 0.132, "Actual Total Time": 155.294, "Actual Rows": 942, "Actual Loops": 5, "Output": ["part.p_partkey", "part.p_name", "part.p_mfgr", "part.p_brand", "part.p_type", "part.p_size", "part.p_container", "part.p_retailprice", "part.p_comment"], "Filter": "((part.p_size >= 1) AND (((part.p_brand = 'Brand#52'::bpchar) AND (part.p_container = ANY ('{\"SM CASE\",\"SM BOX\",\"SM PACK\",\"SM PKG\"}'::bpchar[])) AND (part.p_size <= 5)) OR ((part.p_brand = 'Brand#42'::bpchar) AND (part.p_container = ANY ('{\"MED BAG\",\"MED BOX\",\"MED PKG\",\"MED PACK\"}'::bpchar[])) AND (part.p_size <= 10)) OR ((part.p_brand = 'Brand#23'::bpchar) AND (part.p_container = ANY ('{\"LG CASE\",\"LG BOX\",\"LG PACK\",\"LG PKG\"}'::bpchar[])) AND (part.p_size <= 15))))", "Rows Removed by Filter": 399058, "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.165, "Actual Total Time": 141.01, "Actual Rows": 863, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 0.101, "Actual Total Time": 141.794, "Actual Rows": 869, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 0.282, "Actual Total Time": 142.207, "Actual Rows": 861, "Actual Loops": 1}, {"Worker Number": 3, "Actual Startup Time": 0.073, "Actual Total Time": 140.067, "Actual Rows": 875, "Actual Loops": 1}]}, {"Node Type": "Index Scan", "Parent Relationship": "Inner", "Parallel Aware": false, "Async Capable": false, "Scan Direction": "Forward", "Index Name": "l_pk", "Relation Name": "lineitem", "Schema": "public", "Alias": "lineitem", "Startup Cost": 0.44, "Total Cost": 36.08, "Plan Rows": 1, "Plan Width": 21, "Actual Startup Time": 0.12, "Actual Total Time": 0.134, "Actual Rows": 0, "Actual Loops": 4710, "Output": ["lineitem.l_orderkey", "lineitem.l_partkey", "lineitem.l_suppkey", "lineitem.l_linenumber", "lineitem.l_quantity", "lineitem.l_extendedprice", "lineitem.l_discount", "lineitem.l_tax", "lineitem.l_returnflag", "lineitem.l_linestatus", "lineitem.l_shipdate", "lineitem.l_commitdate", "lineitem.l_receiptdate", "lineitem.l_shipinstruct", "lineitem.l_shipmode", "lineitem.l_comment"], "Index Cond": "(lineitem.l_partkey = part.p_partkey)", "Rows Removed by Index Recheck": 0, "Filter": "((lineitem.l_shipmode = ANY ('{AIR,\"AIR REG\"}'::bpchar[])) AND (lineitem.l_shipinstruct = 'DELIVER IN PERSON'::bpchar) AND (((lineitem.l_quantity >= '9'::numeric) AND (lineitem.l_quantity <= '19'::numeric)) OR ((lineitem.l_quantity >= '18'::numeric) AND (lineitem.l_quantity <= '28'::numeric)) OR ((lineitem.l_quantity >= '22'::numeric) AND (lineitem.l_quantity <= '32'::numeric))) AND (((part.p_brand = 'Brand#52'::bpchar) AND (part.p_container = ANY ('{\"SM CASE\",\"SM BOX\",\"SM PACK\",\"SM PKG\"}'::bpchar[])) AND (lineitem.l_quantity >= '9'::numeric) AND (lineitem.l_quantity <= '19'::numeric) AND (part.p_size <= 5)) OR ((part.p_brand = 'Brand#42'::bpchar) AND (part.p_container = ANY ('{\"MED BAG\",\"MED BOX\",\"MED PKG\",\"MED PACK\"}'::bpchar[])) AND (lineitem.l_quantity >= '18'::numeric) AND (lineitem.l_quantity <= '28'::numeric) AND (part.p_size <= 10)) OR ((part.p_brand = 'Brand#23'::bpchar) AND (part.p_container = ANY ('{\"LG CASE\",\"LG BOX\",\"LG PACK\",\"LG PKG\"}'::bpchar[])) AND (lineitem.l_quantity >= '22'::numeric) AND (lineitem.l_quantity <= '32'::numeric) AND (part.p_size <= 15))))", "Rows Removed by Filter": 30, "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.144, "Actual Total Time": 0.161, "Actual Rows": 0, "Actual Loops": 863}, {"Worker Number": 1, "Actual Startup Time": 0.143, "Actual Total Time": 0.16, "Actual Rows": 0, "Actual Loops": 869}, {"Worker Number": 2, "Actual Startup Time": 0.142, "Actual Total Time": 0.161, "Actual Rows": 0, "Actual Loops": 861}, {"Worker Number": 3, "Actual Startup Time": 0.145, "Actual Total Time": 0.161, "Actual Rows": 0, "Actual Loops": 875}]}]}]}]}]}, "Planning Time": 0.873, "Triggers": [], "Execution Time": 348.93} diff --git a/dev9/pg16/tpch/sf_10/explain_analyze/15721/2-1.ok b/dev9/pg16/tpch/sf_10/explain_analyze/15721/2-1.ok new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/dev9/pg16/tpch/sf_10/explain_analyze/15721/2-1.res b/dev9/pg16/tpch/sf_10/explain_analyze/15721/2-1.res new file mode 100644 index 0000000000000000000000000000000000000000..6fe49a68607c3b86fb86c6be296c6e99fdce9cac --- /dev/null +++ b/dev9/pg16/tpch/sf_10/explain_analyze/15721/2-1.res @@ -0,0 +1 @@ +{"Plan": {"Node Type": "Limit", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 361594.79, "Total Cost": 361594.8, "Plan Rows": 1, "Plan Width": 192, "Actual Startup Time": 3041.503, "Actual Total Time": 3041.637, "Actual Rows": 100, "Actual Loops": 1, "Output": ["supplier.s_acctbal", "supplier.s_name", "nation.n_name", "part.p_partkey", "part.p_mfgr", "supplier.s_address", "supplier.s_phone", "supplier.s_comment"], "Plans": [{"Node Type": "Sort", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 361594.79, "Total Cost": 361594.8, "Plan Rows": 1, "Plan Width": 192, "Actual Startup Time": 3041.502, "Actual Total Time": 3041.627, "Actual Rows": 100, "Actual Loops": 1, "Output": ["supplier.s_acctbal", "supplier.s_name", "nation.n_name", "part.p_partkey", "part.p_mfgr", "supplier.s_address", "supplier.s_phone", "supplier.s_comment"], "Sort Key": ["supplier.s_acctbal DESC", "nation.n_name", "supplier.s_name", "part.p_partkey"], "Sort Method": "top-N heapsort", "Sort Space Used": 69, "Sort Space Type": "Memory", "Plans": [{"Node Type": "Hash Join", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Join Type": "Inner", "Startup Cost": 157751.14, "Total Cost": 361594.78, "Plan Rows": 1, "Plan Width": 192, "Actual Startup Time": 2453.917, "Actual Total Time": 3039.154, "Actual Rows": 4732, "Actual Loops": 1, "Output": ["supplier.s_acctbal", "supplier.s_name", "nation.n_name", "part.p_partkey", "part.p_mfgr", "supplier.s_address", "supplier.s_phone", "supplier.s_comment"], "Inner Unique": false, "Hash Cond": "((part.p_partkey = partsupp.ps_partkey) AND ((SubPlan 1) = partsupp.ps_supplycost))", "Plans": [{"Node Type": "Gather", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 1000.0, "Total Cost": 50257.0, "Plan Rows": 7960, "Plan Width": 30, "Actual Startup Time": 0.298, "Actual Total Time": 2.077, "Actual Rows": 8075, "Actual Loops": 1, "Output": ["part.p_partkey", "part.p_mfgr"], "Workers Planned": 4, "Workers Launched": 4, "Single Copy": false, "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": true, "Async Capable": false, "Relation Name": "part", "Schema": "public", "Alias": "part", "Startup Cost": 0.0, "Total Cost": 48461.0, "Plan Rows": 1990, "Plan Width": 30, "Actual Startup Time": 0.061, "Actual Total Time": 105.156, "Actual Rows": 1615, "Actual Loops": 5, "Output": ["part.p_partkey", "part.p_mfgr"], "Filter": "(((part.p_type)::text ~~ '%TIN'::text) AND (part.p_size = 44))", "Rows Removed by Filter": 398385, "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.039, "Actual Total Time": 169.514, "Actual Rows": 2638, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 0.096, "Actual Total Time": 153.723, "Actual Rows": 2389, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 0.107, "Actual Total Time": 113.999, "Actual Rows": 1798, "Actual Loops": 1}, {"Worker Number": 3, "Actual Startup Time": 0.041, "Actual Total Time": 88.112, "Actual Rows": 1244, "Actual Loops": 1}]}]}, {"Node Type": "Hash", "Parent Relationship": "Inner", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 93688.29, "Total Cost": 93688.29, "Plan Rows": 1599990, "Plan Width": 172, "Actual Startup Time": 2451.966, "Actual Total Time": 2451.97, "Actual Rows": 1602640, "Actual Loops": 1, "Output": ["supplier.s_acctbal", "supplier.s_name", "supplier.s_address", "supplier.s_phone", "supplier.s_comment", "partsupp.ps_partkey", "partsupp.ps_supplycost", "nation.n_name"], "Hash Buckets": 262144, "Original Hash Buckets": 262144, "Hash Batches": 16, "Original Hash Batches": 16, "Peak Memory Usage": 22469, "Plans": [{"Node Type": "Nested Loop", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Join Type": "Inner", "Startup Cost": 0.72, "Total Cost": 93688.29, "Plan Rows": 1599990, "Plan Width": 172, "Actual Startup Time": 0.035, "Actual Total Time": 1622.379, "Actual Rows": 1602640, "Actual Loops": 1, "Output": ["supplier.s_acctbal", "supplier.s_name", "supplier.s_address", "supplier.s_phone", "supplier.s_comment", "partsupp.ps_partkey", "partsupp.ps_supplycost", "nation.n_name"], "Inner Unique": false, "Plans": [{"Node Type": "Nested Loop", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Join Type": "Inner", "Startup Cost": 0.29, "Total Cost": 1056.07, "Plan Rows": 20000, "Plan Width": 166, "Actual Startup Time": 0.024, "Actual Total Time": 17.332, "Actual Rows": 20033, "Actual Loops": 1, "Output": ["supplier.s_acctbal", "supplier.s_name", "supplier.s_address", "supplier.s_phone", "supplier.s_comment", "supplier.s_suppkey", "nation.n_name"], "Inner Unique": false, "Plans": [{"Node Type": "Nested Loop", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Join Type": "Inner", "Startup Cost": 0.0, "Total Cost": 2.62, "Plan Rows": 5, "Plan Width": 30, "Actual Startup Time": 0.01, "Actual Total Time": 0.029, "Actual Rows": 5, "Actual Loops": 1, "Output": ["nation.n_name", "nation.n_nationkey"], "Inner Unique": false, "Join Filter": "(nation.n_regionkey = region.r_regionkey)", "Rows Removed by Join Filter": 20, "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Relation Name": "region", "Schema": "public", "Alias": "region", "Startup Cost": 0.0, "Total Cost": 1.06, "Plan Rows": 1, "Plan Width": 4, "Actual Startup Time": 0.004, "Actual Total Time": 0.007, "Actual Rows": 1, "Actual Loops": 1, "Output": ["region.r_regionkey", "region.r_name", "region.r_comment"], "Filter": "(region.r_name = 'EUROPE'::bpchar)", "Rows Removed by Filter": 4}, {"Node Type": "Seq Scan", "Parent Relationship": "Inner", "Parallel Aware": false, "Async Capable": false, "Relation Name": "nation", "Schema": "public", "Alias": "nation", "Startup Cost": 0.0, "Total Cost": 1.25, "Plan Rows": 25, "Plan Width": 34, "Actual Startup Time": 0.003, "Actual Total Time": 0.009, "Actual Rows": 25, "Actual Loops": 1, "Output": ["nation.n_nationkey", "nation.n_name", "nation.n_regionkey", "nation.n_comment"]}]}, {"Node Type": "Index Scan", "Parent Relationship": "Inner", "Parallel Aware": false, "Async Capable": false, "Scan Direction": "Forward", "Index Name": "s_nk", "Relation Name": "supplier", "Schema": "public", "Alias": "supplier", "Startup Cost": 0.29, "Total Cost": 170.69, "Plan Rows": 4000, "Plan Width": 144, "Actual Startup Time": 0.008, "Actual Total Time": 2.347, "Actual Rows": 4007, "Actual Loops": 5, "Output": ["supplier.s_suppkey", "supplier.s_name", "supplier.s_address", "supplier.s_nationkey", "supplier.s_phone", "supplier.s_acctbal", "supplier.s_comment"], "Index Cond": "(supplier.s_nationkey = nation.n_nationkey)", "Rows Removed by Index Recheck": 0}]}, {"Node Type": "Index Scan", "Parent Relationship": "Inner", "Parallel Aware": false, "Async Capable": false, "Scan Direction": "Forward", "Index Name": "ps_sk", "Relation Name": "partsupp", "Schema": "public", "Alias": "partsupp", "Startup Cost": 0.43, "Total Cost": 3.83, "Plan Rows": 80, "Plan Width": 14, "Actual Startup Time": 0.003, "Actual Total Time": 0.066, "Actual Rows": 80, "Actual Loops": 20033, "Output": ["partsupp.ps_partkey", "partsupp.ps_suppkey", "partsupp.ps_availqty", "partsupp.ps_supplycost", "partsupp.ps_comment"], "Index Cond": "(partsupp.ps_suppkey = supplier.s_suppkey)", "Rows Removed by Index Recheck": 0}]}]}, {"Node Type": "Aggregate", "Strategy": "Plain", "Partial Mode": "Simple", "Parent Relationship": "SubPlan", "Subplan Name": "SubPlan 1", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 14.48, "Total Cost": 14.49, "Plan Rows": 1, "Plan Width": 32, "Actual Startup Time": 0.023, "Actual Total Time": 0.023, "Actual Rows": 1, "Actual Loops": 12807, "Output": ["min(partsupp_1.ps_supplycost)"], "Plans": [{"Node Type": "Nested Loop", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Join Type": "Inner", "Startup Cost": 0.86, "Total Cost": 14.48, "Plan Rows": 1, "Plan Width": 6, "Actual Startup Time": 0.016, "Actual Total Time": 0.022, "Actual Rows": 1, "Actual Loops": 12807, "Output": ["partsupp_1.ps_supplycost"], "Inner Unique": false, "Join Filter": "(nation_1.n_regionkey = region_1.r_regionkey)", "Rows Removed by Join Filter": 3, "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Relation Name": "region", "Schema": "public", "Alias": "region_1", "Startup Cost": 0.0, "Total Cost": 1.06, "Plan Rows": 1, "Plan Width": 4, "Actual Startup Time": 0.001, "Actual Total Time": 0.001, "Actual Rows": 1, "Actual Loops": 12807, "Output": ["region_1.r_regionkey", "region_1.r_name", "region_1.r_comment"], "Filter": "(region_1.r_name = 'EUROPE'::bpchar)", "Rows Removed by Filter": 4}, {"Node Type": "Nested Loop", "Parent Relationship": "Inner", "Parallel Aware": false, "Async Capable": false, "Join Type": "Inner", "Startup Cost": 0.86, "Total Cost": 13.36, "Plan Rows": 4, "Plan Width": 10, "Actual Startup Time": 0.007, "Actual Total Time": 0.02, "Actual Rows": 4, "Actual Loops": 12807, "Output": ["partsupp_1.ps_supplycost", "nation_1.n_regionkey"], "Inner Unique": true, "Plans": [{"Node Type": "Nested Loop", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Join Type": "Inner", "Startup Cost": 0.72, "Total Cost": 12.74, "Plan Rows": 4, "Plan Width": 10, "Actual Startup Time": 0.006, "Actual Total Time": 0.015, "Actual Rows": 4, "Actual Loops": 12807, "Output": ["partsupp_1.ps_supplycost", "supplier_1.s_nationkey"], "Inner Unique": true, "Plans": [{"Node Type": "Index Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Scan Direction": "Forward", "Index Name": "ps_pk", "Relation Name": "partsupp", "Schema": "public", "Alias": "partsupp_1", "Startup Cost": 0.43, "Total Cost": 2.7, "Plan Rows": 4, "Plan Width": 10, "Actual Startup Time": 0.004, "Actual Total Time": 0.005, "Actual Rows": 4, "Actual Loops": 12807, "Output": ["partsupp_1.ps_partkey", "partsupp_1.ps_suppkey", "partsupp_1.ps_availqty", "partsupp_1.ps_supplycost", "partsupp_1.ps_comment"], "Index Cond": "(partsupp_1.ps_partkey = part.p_partkey)", "Rows Removed by Index Recheck": 0}, {"Node Type": "Index Scan", "Parent Relationship": "Inner", "Parallel Aware": false, "Async Capable": false, "Scan Direction": "Forward", "Index Name": "s_sk", "Relation Name": "supplier", "Schema": "public", "Alias": "supplier_1", "Startup Cost": 0.29, "Total Cost": 2.51, "Plan Rows": 1, "Plan Width": 8, "Actual Startup Time": 0.002, "Actual Total Time": 0.002, "Actual Rows": 1, "Actual Loops": 51228, "Output": ["supplier_1.s_suppkey", "supplier_1.s_name", "supplier_1.s_address", "supplier_1.s_nationkey", "supplier_1.s_phone", "supplier_1.s_acctbal", "supplier_1.s_comment"], "Index Cond": "(supplier_1.s_suppkey = partsupp_1.ps_suppkey)", "Rows Removed by Index Recheck": 0}]}, {"Node Type": "Index Scan", "Parent Relationship": "Inner", "Parallel Aware": false, "Async Capable": false, "Scan Direction": "Forward", "Index Name": "n_nk", "Relation Name": "nation", "Schema": "public", "Alias": "nation_1", "Startup Cost": 0.14, "Total Cost": 0.16, "Plan Rows": 1, "Plan Width": 8, "Actual Startup Time": 0.001, "Actual Total Time": 0.001, "Actual Rows": 1, "Actual Loops": 51228, "Output": ["nation_1.n_nationkey", "nation_1.n_name", "nation_1.n_regionkey", "nation_1.n_comment"], "Index Cond": "(nation_1.n_nationkey = supplier_1.s_nationkey)", "Rows Removed by Index Recheck": 0}]}]}]}]}]}]}, "Planning Time": 2.161, "Triggers": [], "Execution Time": 3041.758} diff --git a/dev9/pg16/tpch/sf_10/explain_analyze/15721/20-1.ok b/dev9/pg16/tpch/sf_10/explain_analyze/15721/20-1.ok new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/dev9/pg16/tpch/sf_10/explain_analyze/15721/20-1.res b/dev9/pg16/tpch/sf_10/explain_analyze/15721/20-1.res new file mode 100644 index 0000000000000000000000000000000000000000..2f1ca69d1cdeacd75ea01bab4a1b2763d7e816f5 --- /dev/null +++ b/dev9/pg16/tpch/sf_10/explain_analyze/15721/20-1.res @@ -0,0 +1 @@ +{"Plan": {"Node Type": "Sort", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 362173.34, "Total Cost": 362176.55, "Plan Rows": 1283, "Plan Width": 51, "Actual Startup Time": 1691.114, "Actual Total Time": 1691.329, "Actual Rows": 1786, "Actual Loops": 1, "Output": ["supplier.s_name", "supplier.s_address"], "Sort Key": ["supplier.s_name"], "Sort Method": "quicksort", "Sort Space Used": 186, "Sort Space Type": "Memory", "Plans": [{"Node Type": "Hash Join", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Join Type": "Semi", "Startup Cost": 359873.48, "Total Cost": 362107.1, "Plan Rows": 1283, "Plan Width": 51, "Actual Startup Time": 1680.843, "Actual Total Time": 1686.262, "Actual Rows": 1786, "Actual Loops": 1, "Output": ["supplier.s_name", "supplier.s_address"], "Inner Unique": false, "Hash Cond": "(supplier.s_suppkey = partsupp.ps_suppkey)", "Plans": [{"Node Type": "Nested Loop", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Join Type": "Inner", "Startup Cost": 35.69, "Total Cost": 2236.53, "Plan Rows": 4000, "Plan Width": 55, "Actual Startup Time": 0.839, "Actual Total Time": 5.092, "Actual Rows": 4049, "Actual Loops": 1, "Output": ["supplier.s_name", "supplier.s_address", "supplier.s_suppkey"], "Inner Unique": false, "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Relation Name": "nation", "Schema": "public", "Alias": "nation", "Startup Cost": 0.0, "Total Cost": 1.31, "Plan Rows": 1, "Plan Width": 4, "Actual Startup Time": 0.007, "Actual Total Time": 0.013, "Actual Rows": 1, "Actual Loops": 1, "Output": ["nation.n_nationkey", "nation.n_name", "nation.n_regionkey", "nation.n_comment"], "Filter": "(nation.n_name = 'GERMANY'::bpchar)", "Rows Removed by Filter": 24}, {"Node Type": "Bitmap Heap Scan", "Parent Relationship": "Inner", "Parallel Aware": false, "Async Capable": false, "Relation Name": "supplier", "Schema": "public", "Alias": "supplier", "Startup Cost": 35.69, "Total Cost": 2195.22, "Plan Rows": 4000, "Plan Width": 59, "Actual Startup Time": 0.828, "Actual Total Time": 4.241, "Actual Rows": 4049, "Actual Loops": 1, "Output": ["supplier.s_suppkey", "supplier.s_name", "supplier.s_address", "supplier.s_nationkey", "supplier.s_phone", "supplier.s_acctbal", "supplier.s_comment"], "Recheck Cond": "(supplier.s_nationkey = nation.n_nationkey)", "Rows Removed by Index Recheck": 0, "Exact Heap Blocks": 1851, "Lossy Heap Blocks": 0, "Plans": [{"Node Type": "Bitmap Index Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Index Name": "s_nk", "Startup Cost": 0.0, "Total Cost": 34.69, "Plan Rows": 4000, "Plan Width": 0, "Actual Startup Time": 0.457, "Actual Total Time": 0.457, "Actual Rows": 4049, "Actual Loops": 1, "Index Cond": "(supplier.s_nationkey = nation.n_nationkey)"}]}]}, {"Node Type": "Hash", "Parent Relationship": "Inner", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 359436.98, "Total Cost": 359436.98, "Plan Rows": 32064, "Plan Width": 4, "Actual Startup Time": 1679.633, "Actual Total Time": 1679.746, "Actual Rows": 59274, "Actual Loops": 1, "Output": ["partsupp.ps_suppkey"], "Hash Buckets": 65536, "Original Hash Buckets": 32768, "Hash Batches": 1, "Original Hash Batches": 1, "Peak Memory Usage": 2596, "Plans": [{"Node Type": "Nested Loop", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Join Type": "Inner", "Startup Cost": 1000.43, "Total Cost": 359436.98, "Plan Rows": 32064, "Plan Width": 4, "Actual Startup Time": 0.433, "Actual Total Time": 1658.642, "Actual Rows": 59274, "Actual Loops": 1, "Output": ["partsupp.ps_suppkey"], "Inner Unique": false, "Plans": [{"Node Type": "Gather", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 1000.0, "Total Cost": 50615.8, "Plan Rows": 24048, "Plan Width": 4, "Actual Startup Time": 0.372, "Actual Total Time": 7.819, "Actual Rows": 21783, "Actual Loops": 1, "Output": ["part.p_partkey"], "Workers Planned": 4, "Workers Launched": 4, "Single Copy": false, "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": true, "Async Capable": false, "Relation Name": "part", "Schema": "public", "Alias": "part", "Startup Cost": 0.0, "Total Cost": 47211.0, "Plan Rows": 6012, "Plan Width": 4, "Actual Startup Time": 0.048, "Actual Total Time": 71.109, "Actual Rows": 4357, "Actual Loops": 5, "Output": ["part.p_partkey"], "Filter": "((part.p_name)::text ~~ 'floral%'::text)", "Rows Removed by Filter": 395643, "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.066, "Actual Total Time": 38.225, "Actual Rows": 2065, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 0.034, "Actual Total Time": 36.536, "Actual Rows": 2060, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 0.029, "Actual Total Time": 240.84, "Actual Rows": 15454, "Actual Loops": 1}, {"Worker Number": 3, "Actual Startup Time": 0.08, "Actual Total Time": 37.145, "Actual Rows": 2057, "Actual Loops": 1}]}]}, {"Node Type": "Index Scan", "Parent Relationship": "Inner", "Parallel Aware": false, "Async Capable": false, "Scan Direction": "Forward", "Index Name": "ps_pk", "Relation Name": "partsupp", "Schema": "public", "Alias": "partsupp", "Startup Cost": 0.43, "Total Cost": 12.83, "Plan Rows": 1, "Plan Width": 8, "Actual Startup Time": 0.03, "Actual Total Time": 0.075, "Actual Rows": 3, "Actual Loops": 21783, "Output": ["partsupp.ps_partkey", "partsupp.ps_suppkey", "partsupp.ps_availqty", "partsupp.ps_supplycost", "partsupp.ps_comment"], "Index Cond": "(partsupp.ps_partkey = part.p_partkey)", "Rows Removed by Index Recheck": 0, "Filter": "((partsupp.ps_availqty)::numeric > (SubPlan 1))", "Rows Removed by Filter": 1, "Plans": [{"Node Type": "Aggregate", "Strategy": "Plain", "Partial Mode": "Simple", "Parent Relationship": "SubPlan", "Subplan Name": "SubPlan 1", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 2.67, "Total Cost": 2.68, "Plan Rows": 1, "Plan Width": 32, "Actual Startup Time": 0.017, "Actual Total Time": 0.017, "Actual Rows": 1, "Actual Loops": 87132, "Output": ["(0.5 * sum(lineitem.l_quantity))"], "Plans": [{"Node Type": "Index Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Scan Direction": "Forward", "Index Name": "l_sk_pk", "Relation Name": "lineitem", "Schema": "public", "Alias": "lineitem", "Startup Cost": 0.44, "Total Cost": 2.67, "Plan Rows": 1, "Plan Width": 5, "Actual Startup Time": 0.011, "Actual Total Time": 0.016, "Actual Rows": 1, "Actual Loops": 87132, "Output": ["lineitem.l_orderkey", "lineitem.l_partkey", "lineitem.l_suppkey", "lineitem.l_linenumber", "lineitem.l_quantity", "lineitem.l_extendedprice", "lineitem.l_discount", "lineitem.l_tax", "lineitem.l_returnflag", "lineitem.l_linestatus", "lineitem.l_shipdate", "lineitem.l_commitdate", "lineitem.l_receiptdate", "lineitem.l_shipinstruct", "lineitem.l_shipmode", "lineitem.l_comment"], "Index Cond": "((lineitem.l_suppkey = partsupp.ps_suppkey) AND (lineitem.l_partkey = partsupp.ps_partkey))", "Rows Removed by Index Recheck": 0, "Filter": "((lineitem.l_shipdate >= '1996-01-01'::date) AND (lineitem.l_shipdate < '1997-01-01 00:00:00'::timestamp without time zone))", "Rows Removed by Filter": 6}]}]}]}]}]}]}, "Planning Time": 0.882, "Triggers": [], "Execution Time": 1691.468} diff --git a/dev9/pg16/tpch/sf_10/explain_analyze/15721/21-1.ok b/dev9/pg16/tpch/sf_10/explain_analyze/15721/21-1.ok new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/dev9/pg16/tpch/sf_10/explain_analyze/15721/21-1.res b/dev9/pg16/tpch/sf_10/explain_analyze/15721/21-1.res new file mode 100644 index 0000000000000000000000000000000000000000..c5de7de48a28a9b23af517ac052ac4b8988eb1cd --- /dev/null +++ b/dev9/pg16/tpch/sf_10/explain_analyze/15721/21-1.res @@ -0,0 +1 @@ +{"Plan": {"Node Type": "Limit", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 406755.17, "Total Cost": 406755.18, "Plan Rows": 1, "Plan Width": 34, "Actual Startup Time": 7127.742, "Actual Total Time": 7263.858, "Actual Rows": 100, "Actual Loops": 1, "Output": ["supplier.s_name", "(count(*))"], "Plans": [{"Node Type": "Sort", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 406755.17, "Total Cost": 406755.18, "Plan Rows": 1, "Plan Width": 34, "Actual Startup Time": 7127.74, "Actual Total Time": 7263.847, "Actual Rows": 100, "Actual Loops": 1, "Output": ["supplier.s_name", "(count(*))"], "Sort Key": ["(count(*)) DESC", "supplier.s_name"], "Sort Method": "top-N heapsort", "Sort Space Used": 37, "Sort Space Type": "Memory", "Plans": [{"Node Type": "Aggregate", "Strategy": "Sorted", "Partial Mode": "Simple", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 406755.14, "Total Cost": 406755.16, "Plan Rows": 1, "Plan Width": 34, "Actual Startup Time": 7116.86, "Actual Total Time": 7262.181, "Actual Rows": 3988, "Actual Loops": 1, "Output": ["supplier.s_name", "count(*)"], "Group Key": ["supplier.s_name"], "Plans": [{"Node Type": "Sort", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 406755.14, "Total Cost": 406755.15, "Plan Rows": 1, "Plan Width": 26, "Actual Startup Time": 7116.847, "Actual Total Time": 7255.388, "Actual Rows": 39932, "Actual Loops": 1, "Output": ["supplier.s_name"], "Sort Key": ["supplier.s_name"], "Sort Method": "quicksort", "Sort Space Used": 3096, "Sort Space Type": "Memory", "Plans": [{"Node Type": "Nested Loop", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Join Type": "Inner", "Startup Cost": 1003.33, "Total Cost": 406755.13, "Plan Rows": 1, "Plan Width": 26, "Actual Startup Time": 0.964, "Actual Total Time": 7176.023, "Actual Rows": 39932, "Actual Loops": 1, "Output": ["supplier.s_name"], "Inner Unique": true, "Plans": [{"Node Type": "Nested Loop", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Join Type": "Semi", "Startup Cost": 1002.9, "Total Cost": 406754.66, "Plan Rows": 1, "Plan Width": 34, "Actual Startup Time": 0.952, "Actual Total Time": 6674.771, "Actual Rows": 81076, "Actual Loops": 1, "Output": ["supplier.s_name", "l1.l_orderkey", "l2.l_orderkey"], "Inner Unique": false, "Plans": [{"Node Type": "Gather", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 1002.33, "Total Cost": 406753.41, "Plan Rows": 1, "Plan Width": 34, "Actual Startup Time": 0.426, "Actual Total Time": 6020.65, "Actual Rows": 135007, "Actual Loops": 1, "Output": ["supplier.s_name", "l1.l_suppkey", "l1.l_orderkey"], "Workers Planned": 1, "Workers Launched": 1, "Single Copy": false, "Plans": [{"Node Type": "Nested Loop", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Join Type": "Anti", "Startup Cost": 2.33, "Total Cost": 405753.31, "Plan Rows": 1, "Plan Width": 34, "Actual Startup Time": 0.661, "Actual Total Time": 6441.45, "Actual Rows": 67504, "Actual Loops": 2, "Output": ["supplier.s_name", "l1.l_suppkey", "l1.l_orderkey"], "Inner Unique": false, "Workers": [{"Worker Number": 0, "Actual Startup Time": 1.198, "Actual Total Time": 7022.767, "Actual Rows": 73905, "Actual Loops": 1}], "Plans": [{"Node Type": "Nested Loop", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Join Type": "Inner", "Startup Cost": 1.76, "Total Cost": 67681.46, "Plan Rows": 470480, "Plan Width": 34, "Actual Startup Time": 0.187, "Actual Total Time": 2099.344, "Actual Rows": 756457, "Actual Loops": 2, "Output": ["supplier.s_name", "l1.l_suppkey", "l1.l_orderkey"], "Inner Unique": false, "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.316, "Actual Total Time": 2345.103, "Actual Rows": 825545, "Actual Loops": 1}], "Plans": [{"Node Type": "Hash Join", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Join Type": "Inner", "Startup Cost": 1.32, "Total Cost": 2989.15, "Plan Rows": 2353, "Plan Width": 30, "Actual Startup Time": 0.122, "Actual Total Time": 18.749, "Actual Rows": 1994, "Actual Loops": 2, "Output": ["supplier.s_name", "supplier.s_suppkey"], "Inner Unique": true, "Hash Cond": "(supplier.s_nationkey = nation.n_nationkey)", "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.212, "Actual Total Time": 19.39, "Actual Rows": 2173, "Actual Loops": 1}], "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": true, "Async Capable": false, "Relation Name": "supplier", "Schema": "public", "Alias": "supplier", "Startup Cost": 0.0, "Total Cost": 2807.24, "Plan Rows": 58824, "Plan Width": 34, "Actual Startup Time": 0.007, "Actual Total Time": 6.151, "Actual Rows": 50000, "Actual Loops": 2, "Output": ["supplier.s_suppkey", "supplier.s_name", "supplier.s_address", "supplier.s_nationkey", "supplier.s_phone", "supplier.s_acctbal", "supplier.s_comment"], "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.011, "Actual Total Time": 6.828, "Actual Rows": 54449, "Actual Loops": 1}]}, {"Node Type": "Hash", "Parent Relationship": "Inner", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 1.31, "Total Cost": 1.31, "Plan Rows": 1, "Plan Width": 4, "Actual Startup Time": 0.023, "Actual Total Time": 0.024, "Actual Rows": 1, "Actual Loops": 2, "Output": ["nation.n_nationkey"], "Hash Buckets": 1024, "Original Hash Buckets": 1024, "Hash Batches": 1, "Original Hash Batches": 1, "Peak Memory Usage": 9, "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.034, "Actual Total Time": 0.035, "Actual Rows": 1, "Actual Loops": 1}], "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Relation Name": "nation", "Schema": "public", "Alias": "nation", "Startup Cost": 0.0, "Total Cost": 1.31, "Plan Rows": 1, "Plan Width": 4, "Actual Startup Time": 0.017, "Actual Total Time": 0.018, "Actual Rows": 1, "Actual Loops": 2, "Output": ["nation.n_nationkey"], "Filter": "(nation.n_name = 'CHINA'::bpchar)", "Rows Removed by Filter": 24, "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.026, "Actual Total Time": 0.027, "Actual Rows": 1, "Actual Loops": 1}]}]}]}, {"Node Type": "Index Scan", "Parent Relationship": "Inner", "Parallel Aware": false, "Async Capable": false, "Scan Direction": "Forward", "Index Name": "l_sk_pk", "Relation Name": "lineitem", "Schema": "public", "Alias": "l1", "Startup Cost": 0.44, "Total Cost": 25.49, "Plan Rows": 200, "Plan Width": 8, "Actual Startup Time": 0.015, "Actual Total Time": 0.993, "Actual Rows": 379, "Actual Loops": 3988, "Output": ["l1.l_orderkey", "l1.l_partkey", "l1.l_suppkey", "l1.l_linenumber", "l1.l_quantity", "l1.l_extendedprice", "l1.l_discount", "l1.l_tax", "l1.l_returnflag", "l1.l_linestatus", "l1.l_shipdate", "l1.l_commitdate", "l1.l_receiptdate", "l1.l_shipinstruct", "l1.l_shipmode", "l1.l_comment"], "Index Cond": "(l1.l_suppkey = supplier.s_suppkey)", "Rows Removed by Index Recheck": 0, "Filter": "(l1.l_receiptdate > l1.l_commitdate)", "Rows Removed by Filter": 221, "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.017, "Actual Total Time": 1.019, "Actual Rows": 380, "Actual Loops": 2173}]}]}, {"Node Type": "Index Scan", "Parent Relationship": "Inner", "Parallel Aware": false, "Async Capable": false, "Scan Direction": "Forward", "Index Name": "l_ok", "Relation Name": "lineitem", "Schema": "public", "Alias": "l3", "Startup Cost": 0.56, "Total Cost": 1.31, "Plan Rows": 10, "Plan Width": 8, "Actual Startup Time": 0.005, "Actual Total Time": 0.005, "Actual Rows": 1, "Actual Loops": 1512914, "Output": ["l3.l_orderkey", "l3.l_partkey", "l3.l_suppkey", "l3.l_linenumber", "l3.l_quantity", "l3.l_extendedprice", "l3.l_discount", "l3.l_tax", "l3.l_returnflag", "l3.l_linestatus", "l3.l_shipdate", "l3.l_commitdate", "l3.l_receiptdate", "l3.l_shipinstruct", "l3.l_shipmode", "l3.l_comment"], "Index Cond": "(l3.l_orderkey = l1.l_orderkey)", "Rows Removed by Index Recheck": 0, "Filter": "((l3.l_receiptdate > l3.l_commitdate) AND (l3.l_suppkey <> l1.l_suppkey))", "Rows Removed by Filter": 1, "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.005, "Actual Total Time": 0.005, "Actual Rows": 1, "Actual Loops": 825545}]}]}]}, {"Node Type": "Index Scan", "Parent Relationship": "Inner", "Parallel Aware": false, "Async Capable": false, "Scan Direction": "Forward", "Index Name": "l_ok", "Relation Name": "lineitem", "Schema": "public", "Alias": "l2", "Startup Cost": 0.56, "Total Cost": 1.23, "Plan Rows": 30, "Plan Width": 8, "Actual Startup Time": 0.004, "Actual Total Time": 0.004, "Actual Rows": 1, "Actual Loops": 135007, "Output": ["l2.l_orderkey", "l2.l_partkey", "l2.l_suppkey", "l2.l_linenumber", "l2.l_quantity", "l2.l_extendedprice", "l2.l_discount", "l2.l_tax", "l2.l_returnflag", "l2.l_linestatus", "l2.l_shipdate", "l2.l_commitdate", "l2.l_receiptdate", "l2.l_shipinstruct", "l2.l_shipmode", "l2.l_comment"], "Index Cond": "(l2.l_orderkey = l1.l_orderkey)", "Rows Removed by Index Recheck": 0, "Filter": "(l2.l_suppkey <> l1.l_suppkey)", "Rows Removed by Filter": 1}]}, {"Node Type": "Index Scan", "Parent Relationship": "Inner", "Parallel Aware": false, "Async Capable": false, "Scan Direction": "Forward", "Index Name": "o_ok", "Relation Name": "orders", "Schema": "public", "Alias": "orders", "Startup Cost": 0.43, "Total Cost": 0.47, "Plan Rows": 1, "Plan Width": 4, "Actual Startup Time": 0.006, "Actual Total Time": 0.006, "Actual Rows": 0, "Actual Loops": 81076, "Output": ["orders.o_orderkey", "orders.o_custkey", "orders.o_orderstatus", "orders.o_totalprice", "orders.o_orderdate", "orders.o_orderpriority", "orders.o_clerk", "orders.o_shippriority", "orders.o_comment"], "Index Cond": "(orders.o_orderkey = l1.l_orderkey)", "Rows Removed by Index Recheck": 0, "Filter": "(orders.o_orderstatus = 'F'::bpchar)", "Rows Removed by Filter": 1}]}]}]}]}]}, "Planning Time": 2.961, "Triggers": [], "Execution Time": 7263.938} diff --git a/dev9/pg16/tpch/sf_10/explain_analyze/15721/22-1.ok b/dev9/pg16/tpch/sf_10/explain_analyze/15721/22-1.ok new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/dev9/pg16/tpch/sf_10/explain_analyze/15721/22-1.res b/dev9/pg16/tpch/sf_10/explain_analyze/15721/22-1.res new file mode 100644 index 0000000000000000000000000000000000000000..0b1a3bec2195cd9f82471e52fb31e258310929d8 --- /dev/null +++ b/dev9/pg16/tpch/sf_10/explain_analyze/15721/22-1.res @@ -0,0 +1 @@ +{"Plan": {"Node Type": "Aggregate", "Strategy": "Sorted", "Partial Mode": "Simple", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 96007.82, "Total Cost": 97086.38, "Plan Rows": 7452, "Plan Width": 72, "Actual Startup Time": 521.469, "Actual Total Time": 550.004, "Actual Rows": 7, "Actual Loops": 1, "Output": ["(SUBSTRING(customer.c_phone FROM 1 FOR 2))", "count(*)", "sum(customer.c_acctbal)"], "Group Key": ["(SUBSTRING(customer.c_phone FROM 1 FOR 2))"], "Plans": [{"Node Type": "Aggregate", "Strategy": "Plain", "Partial Mode": "Finalize", "Parent Relationship": "InitPlan", "Subplan Name": "InitPlan 1 (returns $1)", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 46798.03, "Total Cost": 46798.04, "Plan Rows": 1, "Plan Width": 32, "Actual Startup Time": 235.931, "Actual Total Time": 236.011, "Actual Rows": 1, "Actual Loops": 1, "Output": ["avg(customer_1.c_acctbal)"], "Plans": [{"Node Type": "Gather", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 46797.6, "Total Cost": 46798.01, "Plan Rows": 4, "Plan Width": 32, "Actual Startup Time": 235.869, "Actual Total Time": 235.999, "Actual Rows": 5, "Actual Loops": 1, "Output": ["(PARTIAL avg(customer_1.c_acctbal))"], "Workers Planned": 4, "Workers Launched": 4, "Single Copy": false, "Plans": [{"Node Type": "Aggregate", "Strategy": "Plain", "Partial Mode": "Partial", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 45797.6, "Total Cost": 45797.61, "Plan Rows": 1, "Plan Width": 32, "Actual Startup Time": 232.212, "Actual Total Time": 232.213, "Actual Rows": 1, "Actual Loops": 5, "Output": ["PARTIAL avg(customer_1.c_acctbal)"], "Workers": [{"Worker Number": 0, "Actual Startup Time": 231.24, "Actual Total Time": 231.24, "Actual Rows": 1, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 231.337, "Actual Total Time": 231.337, "Actual Rows": 1, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 231.401, "Actual Total Time": 231.402, "Actual Rows": 1, "Actual Loops": 1}, {"Worker Number": 3, "Actual Startup Time": 231.533, "Actual Total Time": 231.534, "Actual Rows": 1, "Actual Loops": 1}], "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": true, "Async Capable": false, "Relation Name": "customer", "Schema": "public", "Alias": "customer_1", "Startup Cost": 0.0, "Total Cost": 45767.75, "Plan Rows": 11939, "Plan Width": 6, "Actual Startup Time": 0.035, "Actual Total Time": 223.08, "Actual Rows": 76349, "Actual Loops": 5, "Output": ["customer_1.c_custkey", "customer_1.c_name", "customer_1.c_address", "customer_1.c_nationkey", "customer_1.c_phone", "customer_1.c_acctbal", "customer_1.c_mktsegment", "customer_1.c_comment"], "Filter": "((customer_1.c_acctbal > 0.00) AND (SUBSTRING(customer_1.c_phone FROM 1 FOR 2) = ANY ('{17,20,25,31,30,11,33}'::text[])))", "Rows Removed by Filter": 223651, "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.039, "Actual Total Time": 222.213, "Actual Rows": 75549, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 0.042, "Actual Total Time": 222.207, "Actual Rows": 75478, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 0.042, "Actual Total Time": 222.395, "Actual Rows": 75110, "Actual Loops": 1}, {"Worker Number": 3, "Actual Startup Time": 0.042, "Actual Total Time": 222.466, "Actual Rows": 75831, "Actual Loops": 1}]}]}]}]}, {"Node Type": "Gather Merge", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 49209.78, "Total Cost": 50102.04, "Plan Rows": 7452, "Plan Width": 38, "Actual Startup Time": 517.619, "Actual Total Time": 537.073, "Actual Rows": 64032, "Actual Loops": 1, "Output": ["(SUBSTRING(customer.c_phone FROM 1 FOR 2))", "customer.c_acctbal"], "Workers Planned": 4, "Params Evaluated": ["$1"], "Workers Launched": 4, "Plans": [{"Node Type": "Sort", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 48209.72, "Total Cost": 48214.38, "Plan Rows": 1863, "Plan Width": 38, "Actual Startup Time": 277.681, "Actual Total Time": 278.742, "Actual Rows": 12806, "Actual Loops": 5, "Output": ["(SUBSTRING(customer.c_phone FROM 1 FOR 2))", "customer.c_acctbal"], "Sort Key": ["(SUBSTRING(customer.c_phone FROM 1 FOR 2))"], "Sort Method": "quicksort", "Sort Space Used": 909, "Sort Space Type": "Memory", "Workers": [{"Worker Number": 0, "Actual Startup Time": 276.62, "Actual Total Time": 277.797, "Actual Rows": 12536, "Actual Loops": 1, "Sort Method": "quicksort", "Sort Space Used": 873, "Sort Space Type": "Memory"}, {"Worker Number": 1, "Actual Startup Time": 276.732, "Actual Total Time": 277.742, "Actual Rows": 12711, "Actual Loops": 1, "Sort Method": "quicksort", "Sort Space Used": 880, "Sort Space Type": "Memory"}, {"Worker Number": 2, "Actual Startup Time": 276.919, "Actual Total Time": 277.968, "Actual Rows": 12582, "Actual Loops": 1, "Sort Method": "quicksort", "Sort Space Used": 875, "Sort Space Type": "Memory"}, {"Worker Number": 3, "Actual Startup Time": 277.198, "Actual Total Time": 278.429, "Actual Rows": 12753, "Actual Loops": 1, "Sort Method": "quicksort", "Sort Space Used": 882, "Sort Space Type": "Memory"}], "Plans": [{"Node Type": "Nested Loop", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Join Type": "Anti", "Startup Cost": 0.43, "Total Cost": 48108.53, "Plan Rows": 1863, "Plan Width": 38, "Actual Startup Time": 0.114, "Actual Total Time": 273.208, "Actual Rows": 12806, "Actual Loops": 5, "Output": ["SUBSTRING(customer.c_phone FROM 1 FOR 2)", "customer.c_acctbal"], "Inner Unique": false, "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.147, "Actual Total Time": 272.227, "Actual Rows": 12536, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 0.099, "Actual Total Time": 272.123, "Actual Rows": 12711, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 0.105, "Actual Total Time": 272.302, "Actual Rows": 12582, "Actual Loops": 1}, {"Worker Number": 3, "Actual Startup Time": 0.195, "Actual Total Time": 272.673, "Actual Rows": 12753, "Actual Loops": 1}], "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": true, "Async Capable": false, "Relation Name": "customer", "Schema": "public", "Alias": "customer", "Startup Cost": 0.0, "Total Cost": 45767.75, "Plan Rows": 4375, "Plan Width": 26, "Actual Startup Time": 0.031, "Actual Total Time": 158.974, "Actual Rows": 38175, "Actual Loops": 5, "Output": ["customer.c_custkey", "customer.c_name", "customer.c_address", "customer.c_nationkey", "customer.c_phone", "customer.c_acctbal", "customer.c_mktsegment", "customer.c_comment"], "Filter": "((customer.c_acctbal > $1) AND (SUBSTRING(customer.c_phone FROM 1 FOR 2) = ANY ('{17,20,25,31,30,11,33}'::text[])))", "Rows Removed by Filter": 261825, "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.04, "Actual Total Time": 158.439, "Actual Rows": 37633, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 0.035, "Actual Total Time": 158.961, "Actual Rows": 37584, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 0.038, "Actual Total Time": 157.744, "Actual Rows": 37641, "Actual Loops": 1}, {"Worker Number": 3, "Actual Startup Time": 0.033, "Actual Total Time": 158.019, "Actual Rows": 37924, "Actual Loops": 1}]}, {"Node Type": "Index Only Scan", "Parent Relationship": "Inner", "Parallel Aware": false, "Async Capable": false, "Scan Direction": "Forward", "Index Name": "o_ck", "Relation Name": "orders", "Schema": "public", "Alias": "orders", "Startup Cost": 0.43, "Total Cost": 1.43, "Plan Rows": 17, "Plan Width": 4, "Actual Startup Time": 0.003, "Actual Total Time": 0.003, "Actual Rows": 1, "Actual Loops": 190873, "Output": ["orders.o_custkey"], "Index Cond": "(orders.o_custkey = customer.c_custkey)", "Rows Removed by Index Recheck": 0, "Heap Fetches": 0, "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.003, "Actual Total Time": 0.003, "Actual Rows": 1, "Actual Loops": 37633}, {"Worker Number": 1, "Actual Startup Time": 0.003, "Actual Total Time": 0.003, "Actual Rows": 1, "Actual Loops": 37584}, {"Worker Number": 2, "Actual Startup Time": 0.003, "Actual Total Time": 0.003, "Actual Rows": 1, "Actual Loops": 37641}, {"Worker Number": 3, "Actual Startup Time": 0.003, "Actual Total Time": 0.003, "Actual Rows": 1, "Actual Loops": 37924}]}]}]}]}]}, "Planning Time": 0.455, "Triggers": [], "Execution Time": 550.069} diff --git a/dev9/pg16/tpch/sf_10/explain_analyze/15721/3-1.ok b/dev9/pg16/tpch/sf_10/explain_analyze/15721/3-1.ok new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/dev9/pg16/tpch/sf_10/explain_analyze/15721/3-1.res b/dev9/pg16/tpch/sf_10/explain_analyze/15721/3-1.res new file mode 100644 index 0000000000000000000000000000000000000000..afcb1ae9352cc00c0c7ec2cfa2bdd076f0375b01 --- /dev/null +++ b/dev9/pg16/tpch/sf_10/explain_analyze/15721/3-1.res @@ -0,0 +1 @@ +{"Plan": {"Node Type": "Limit", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 1344947.07, "Total Cost": 1344947.09, "Plan Rows": 10, "Plan Width": 44, "Actual Startup Time": 3610.146, "Actual Total Time": 4965.019, "Actual Rows": 10, "Actual Loops": 1, "Output": ["lineitem.l_orderkey", "(sum((lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount))))", "orders.o_orderdate", "orders.o_shippriority"], "Plans": [{"Node Type": "Sort", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 1344947.07, "Total Cost": 1352770.34, "Plan Rows": 3129310, "Plan Width": 44, "Actual Startup Time": 3610.145, "Actual Total Time": 4965.016, "Actual Rows": 10, "Actual Loops": 1, "Output": ["lineitem.l_orderkey", "(sum((lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount))))", "orders.o_orderdate", "orders.o_shippriority"], "Sort Key": ["(sum((lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount)))) DESC", "orders.o_orderdate"], "Sort Method": "top-N heapsort", "Sort Space Used": 26, "Sort Space Type": "Memory", "Plans": [{"Node Type": "Aggregate", "Strategy": "Sorted", "Partial Mode": "Simple", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 816580.97, "Total Cost": 1277323.81, "Plan Rows": 3129310, "Plan Width": 44, "Actual Startup Time": 3306.468, "Actual Total Time": 4938.573, "Actual Rows": 113340, "Actual Loops": 1, "Output": ["lineitem.l_orderkey", "sum((lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount)))", "orders.o_orderdate", "orders.o_shippriority"], "Group Key": ["lineitem.l_orderkey", "orders.o_orderdate", "orders.o_shippriority"], "Plans": [{"Node Type": "Gather Merge", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 816580.97, "Total Cost": 1191267.78, "Plan Rows": 3129310, "Plan Width": 24, "Actual Startup Time": 3306.45, "Actual Total Time": 4726.833, "Actual Rows": 298749, "Actual Loops": 1, "Output": ["lineitem.l_orderkey", "orders.o_orderdate", "orders.o_shippriority", "lineitem.l_extendedprice", "lineitem.l_discount"], "Workers Planned": 4, "Workers Launched": 4, "Plans": [{"Node Type": "Sort", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 815580.91, "Total Cost": 817536.73, "Plan Rows": 782328, "Plan Width": 24, "Actual Startup Time": 3300.54, "Actual Total Time": 3307.435, "Actual Rows": 59750, "Actual Loops": 5, "Output": ["lineitem.l_orderkey", "orders.o_orderdate", "orders.o_shippriority", "lineitem.l_extendedprice", "lineitem.l_discount"], "Sort Key": ["lineitem.l_orderkey", "orders.o_orderdate", "orders.o_shippriority"], "Sort Method": "quicksort", "Sort Space Used": 6803, "Sort Space Type": "Memory", "Workers": [{"Worker Number": 0, "Actual Startup Time": 3298.99, "Actual Total Time": 3305.594, "Actual Rows": 57480, "Actual Loops": 1, "Sort Method": "quicksort", "Sort Space Used": 4568, "Sort Space Type": "Memory"}, {"Worker Number": 1, "Actual Startup Time": 3299.158, "Actual Total Time": 3305.767, "Actual Rows": 57321, "Actual Loops": 1, "Sort Method": "quicksort", "Sort Space Used": 4562, "Sort Space Type": "Memory"}, {"Worker Number": 2, "Actual Startup Time": 3299.005, "Actual Total Time": 3305.853, "Actual Rows": 56866, "Actual Loops": 1, "Sort Method": "quicksort", "Sort Space Used": 4537, "Sort Space Type": "Memory"}, {"Worker Number": 3, "Actual Startup Time": 3299.475, "Actual Total Time": 3306.109, "Actual Rows": 56382, "Actual Loops": 1, "Sort Method": "quicksort", "Sort Space Used": 4511, "Sort Space Type": "Memory"}], "Plans": [{"Node Type": "Nested Loop", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Join Type": "Inner", "Startup Cost": 1.0, "Total Cost": 729603.92, "Plan Rows": 782328, "Plan Width": 24, "Actual Startup Time": 1.085, "Actual Total Time": 3275.25, "Actual Rows": 59750, "Actual Loops": 5, "Output": ["lineitem.l_orderkey", "orders.o_orderdate", "orders.o_shippriority", "lineitem.l_extendedprice", "lineitem.l_discount"], "Inner Unique": false, "Workers": [{"Worker Number": 0, "Actual Startup Time": 3.125, "Actual Total Time": 3274.411, "Actual Rows": 57480, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 0.628, "Actual Total Time": 3274.683, "Actual Rows": 57321, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 1.293, "Actual Total Time": 3274.552, "Actual Rows": 56866, "Actual Loops": 1}, {"Worker Number": 3, "Actual Startup Time": 0.271, "Actual Total Time": 3275.479, "Actual Rows": 56382, "Actual Loops": 1}], "Plans": [{"Node Type": "Nested Loop", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Join Type": "Inner", "Startup Cost": 0.43, "Total Cost": 181034.26, "Plan Rows": 363772, "Plan Width": 12, "Actual Startup Time": 0.125, "Actual Total Time": 995.551, "Actual Rows": 292930, "Actual Loops": 5, "Output": ["orders.o_orderdate", "orders.o_shippriority", "orders.o_orderkey"], "Inner Unique": false, "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.178, "Actual Total Time": 980.083, "Actual Rows": 282022, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 0.109, "Actual Total Time": 981.987, "Actual Rows": 281398, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 0.138, "Actual Total Time": 981.063, "Actual Rows": 278314, "Actual Loops": 1}, {"Worker Number": 3, "Actual Startup Time": 0.177, "Actual Total Time": 980.646, "Actual Rows": 279198, "Actual Loops": 1}], "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": true, "Async Capable": false, "Relation Name": "customer", "Schema": "public", "Alias": "customer", "Startup Cost": 0.0, "Total Cost": 40611.5, "Plan Rows": 74402, "Plan Width": 4, "Actual Startup Time": 0.022, "Actual Total Time": 83.882, "Actual Rows": 59899, "Actual Loops": 5, "Output": ["customer.c_custkey", "customer.c_name", "customer.c_address", "customer.c_nationkey", "customer.c_phone", "customer.c_acctbal", "customer.c_mktsegment", "customer.c_comment"], "Filter": "(customer.c_mktsegment = 'FURNITURE'::bpchar)", "Rows Removed by Filter": 240101, "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.029, "Actual Total Time": 81.419, "Actual Rows": 57453, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 0.023, "Actual Total Time": 81.821, "Actual Rows": 57855, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 0.026, "Actual Total Time": 81.395, "Actual Rows": 57001, "Actual Loops": 1}, {"Worker Number": 3, "Actual Startup Time": 0.028, "Actual Total Time": 80.965, "Actual Rows": 57021, "Actual Loops": 1}]}, {"Node Type": "Index Scan", "Parent Relationship": "Inner", "Parallel Aware": false, "Async Capable": false, "Scan Direction": "Forward", "Index Name": "o_ck", "Relation Name": "orders", "Schema": "public", "Alias": "orders", "Startup Cost": 0.43, "Total Cost": 1.8, "Plan Rows": 9, "Plan Width": 16, "Actual Startup Time": 0.004, "Actual Total Time": 0.014, "Actual Rows": 5, "Actual Loops": 299496, "Output": ["orders.o_orderkey", "orders.o_custkey", "orders.o_orderstatus", "orders.o_totalprice", "orders.o_orderdate", "orders.o_orderpriority", "orders.o_clerk", "orders.o_shippriority", "orders.o_comment"], "Index Cond": "(orders.o_custkey = customer.c_custkey)", "Rows Removed by Index Recheck": 0, "Filter": "(orders.o_orderdate < '1995-03-20'::date)", "Rows Removed by Filter": 5, "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.004, "Actual Total Time": 0.015, "Actual Rows": 5, "Actual Loops": 57453}, {"Worker Number": 1, "Actual Startup Time": 0.004, "Actual Total Time": 0.014, "Actual Rows": 5, "Actual Loops": 57855}, {"Worker Number": 2, "Actual Startup Time": 0.004, "Actual Total Time": 0.015, "Actual Rows": 5, "Actual Loops": 57001}, {"Worker Number": 3, "Actual Startup Time": 0.004, "Actual Total Time": 0.015, "Actual Rows": 5, "Actual Loops": 57021}]}]}, {"Node Type": "Index Scan", "Parent Relationship": "Inner", "Parallel Aware": false, "Async Capable": false, "Scan Direction": "Forward", "Index Name": "l_ok", "Relation Name": "lineitem", "Schema": "public", "Alias": "lineitem", "Startup Cost": 0.56, "Total Cost": 1.35, "Plan Rows": 16, "Plan Width": 16, "Actual Startup Time": 0.007, "Actual Total Time": 0.007, "Actual Rows": 0, "Actual Loops": 1464651, "Output": ["lineitem.l_orderkey", "lineitem.l_partkey", "lineitem.l_suppkey", "lineitem.l_linenumber", "lineitem.l_quantity", "lineitem.l_extendedprice", "lineitem.l_discount", "lineitem.l_tax", "lineitem.l_returnflag", "lineitem.l_linestatus", "lineitem.l_shipdate", "lineitem.l_commitdate", "lineitem.l_receiptdate", "lineitem.l_shipinstruct", "lineitem.l_shipmode", "lineitem.l_comment"], "Index Cond": "(lineitem.l_orderkey = orders.o_orderkey)", "Rows Removed by Index Recheck": 0, "Filter": "(lineitem.l_shipdate > '1995-03-20'::date)", "Rows Removed by Filter": 4, "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.008, "Actual Total Time": 0.008, "Actual Rows": 0, "Actual Loops": 282022}, {"Worker Number": 1, "Actual Startup Time": 0.008, "Actual Total Time": 0.008, "Actual Rows": 0, "Actual Loops": 281398}, {"Worker Number": 2, "Actual Startup Time": 0.008, "Actual Total Time": 0.008, "Actual Rows": 0, "Actual Loops": 278314}, {"Worker Number": 3, "Actual Startup Time": 0.008, "Actual Total Time": 0.008, "Actual Rows": 0, "Actual Loops": 279198}]}]}]}]}]}]}]}, "Planning Time": 0.831, "Triggers": [], "Execution Time": 4965.076} diff --git a/dev9/pg16/tpch/sf_10/explain_analyze/15721/4-1.ok b/dev9/pg16/tpch/sf_10/explain_analyze/15721/4-1.ok new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/dev9/pg16/tpch/sf_10/explain_analyze/15721/4-1.res b/dev9/pg16/tpch/sf_10/explain_analyze/15721/4-1.res new file mode 100644 index 0000000000000000000000000000000000000000..9df28296099b9542145f1adea5f6c00a26931415 --- /dev/null +++ b/dev9/pg16/tpch/sf_10/explain_analyze/15721/4-1.res @@ -0,0 +1 @@ +{"Plan": {"Node Type": "Aggregate", "Strategy": "Sorted", "Partial Mode": "Finalize", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 342108.29, "Total Cost": 342207.22, "Plan Rows": 5, "Plan Width": 24, "Actual Startup Time": 965.644, "Actual Total Time": 1114.76, "Actual Rows": 5, "Actual Loops": 1, "Output": ["orders.o_orderpriority", "count(*)"], "Group Key": ["orders.o_orderpriority"], "Plans": [{"Node Type": "Gather Merge", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 342108.29, "Total Cost": 342207.02, "Plan Rows": 30, "Plan Width": 24, "Actual Startup Time": 961.422, "Actual Total Time": 1114.742, "Actual Rows": 35, "Actual Loops": 1, "Output": ["orders.o_orderpriority", "(PARTIAL count(*))"], "Workers Planned": 6, "Workers Launched": 6, "Plans": [{"Node Type": "Aggregate", "Strategy": "Sorted", "Partial Mode": "Partial", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 341108.19, "Total Cost": 341203.28, "Plan Rows": 5, "Plan Width": 24, "Actual Startup Time": 947.542, "Actual Total Time": 958.607, "Actual Rows": 5, "Actual Loops": 7, "Output": ["orders.o_orderpriority", "PARTIAL count(*)"], "Group Key": ["orders.o_orderpriority"], "Workers": [{"Worker Number": 0, "Actual Startup Time": 945.049, "Actual Total Time": 955.204, "Actual Rows": 5, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 945.108, "Actual Total Time": 955.346, "Actual Rows": 5, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 946.445, "Actual Total Time": 956.62, "Actual Rows": 5, "Actual Loops": 1}, {"Worker Number": 3, "Actual Startup Time": 945.783, "Actual Total Time": 955.927, "Actual Rows": 5, "Actual Loops": 1}, {"Worker Number": 4, "Actual Startup Time": 946.497, "Actual Total Time": 956.654, "Actual Rows": 5, "Actual Loops": 1}, {"Worker Number": 5, "Actual Startup Time": 946.204, "Actual Total Time": 956.4, "Actual Rows": 5, "Actual Loops": 1}], "Plans": [{"Node Type": "Sort", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 341108.19, "Total Cost": 341139.87, "Plan Rows": 12672, "Plan Width": 16, "Actual Startup Time": 944.756, "Actual Total Time": 949.082, "Actual Rows": 74276, "Actual Loops": 7, "Output": ["orders.o_orderpriority"], "Sort Key": ["orders.o_orderpriority"], "Sort Method": "quicksort", "Sort Space Used": 5673, "Sort Space Type": "Memory", "Workers": [{"Worker Number": 0, "Actual Startup Time": 942.496, "Actual Total Time": 946.466, "Actual Rows": 68029, "Actual Loops": 1, "Sort Method": "quicksort", "Sort Space Used": 4667, "Sort Space Type": "Memory"}, {"Worker Number": 1, "Actual Startup Time": 942.555, "Actual Total Time": 946.55, "Actual Rows": 68391, "Actual Loops": 1, "Sort Method": "quicksort", "Sort Space Used": 4675, "Sort Space Type": "Memory"}, {"Worker Number": 2, "Actual Startup Time": 943.858, "Actual Total Time": 947.852, "Actual Rows": 68482, "Actual Loops": 1, "Sort Method": "quicksort", "Sort Space Used": 4678, "Sort Space Type": "Memory"}, {"Worker Number": 3, "Actual Startup Time": 943.258, "Actual Total Time": 947.22, "Actual Rows": 67715, "Actual Loops": 1, "Sort Method": "quicksort", "Sort Space Used": 4660, "Sort Space Type": "Memory"}, {"Worker Number": 4, "Actual Startup Time": 943.883, "Actual Total Time": 947.87, "Actual Rows": 68177, "Actual Loops": 1, "Sort Method": "quicksort", "Sort Space Used": 4670, "Sort Space Type": "Memory"}, {"Worker Number": 5, "Actual Startup Time": 943.642, "Actual Total Time": 947.633, "Actual Rows": 68173, "Actual Loops": 1, "Sort Method": "quicksort", "Sort Space Used": 4670, "Sort Space Type": "Memory"}], "Plans": [{"Node Type": "Nested Loop", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Join Type": "Semi", "Startup Cost": 6364.02, "Total Cost": 340244.63, "Plan Rows": 12672, "Plan Width": 16, "Actual Startup Time": 193.511, "Actual Total Time": 924.0, "Actual Rows": 74276, "Actual Loops": 7, "Output": ["orders.o_orderpriority"], "Inner Unique": false, "Workers": [{"Worker Number": 0, "Actual Startup Time": 192.381, "Actual Total Time": 923.166, "Actual Rows": 68029, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 192.42, "Actual Total Time": 923.247, "Actual Rows": 68391, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 193.171, "Actual Total Time": 923.953, "Actual Rows": 68482, "Actual Loops": 1}, {"Worker Number": 3, "Actual Startup Time": 193.254, "Actual Total Time": 924.03, "Actual Rows": 67715, "Actual Loops": 1}, {"Worker Number": 4, "Actual Startup Time": 193.27, "Actual Total Time": 924.023, "Actual Rows": 68177, "Actual Loops": 1}, {"Worker Number": 5, "Actual Startup Time": 193.45, "Actual Total Time": 924.32, "Actual Rows": 68173, "Actual Loops": 1}], "Plans": [{"Node Type": "Bitmap Heap Scan", "Parent Relationship": "Outer", "Parallel Aware": true, "Async Capable": false, "Relation Name": "orders", "Schema": "public", "Alias": "orders", "Startup Cost": 6363.45, "Total Cost": 268995.75, "Plan Rows": 94753, "Plan Width": 20, "Actual Startup Time": 193.432, "Actual Total Time": 364.969, "Actual Rows": 81014, "Actual Loops": 7, "Output": ["orders.o_orderkey", "orders.o_custkey", "orders.o_orderstatus", "orders.o_totalprice", "orders.o_orderdate", "orders.o_orderpriority", "orders.o_clerk", "orders.o_shippriority", "orders.o_comment"], "Recheck Cond": "((orders.o_orderdate >= '1996-01-01'::date) AND (orders.o_orderdate < '1996-04-01 00:00:00'::timestamp without time zone))", "Rows Removed by Index Recheck": 0, "Exact Heap Blocks": 49498, "Lossy Heap Blocks": 0, "Workers": [{"Worker Number": 0, "Actual Startup Time": 192.287, "Actual Total Time": 369.657, "Actual Rows": 74303, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 192.34, "Actual Total Time": 369.236, "Actual Rows": 74612, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 193.08, "Actual Total Time": 369.604, "Actual Rows": 74654, "Actual Loops": 1}, {"Worker Number": 3, "Actual Startup Time": 193.164, "Actual Total Time": 371.862, "Actual Rows": 73770, "Actual Loops": 1}, {"Worker Number": 4, "Actual Startup Time": 193.188, "Actual Total Time": 370.203, "Actual Rows": 74377, "Actual Loops": 1}, {"Worker Number": 5, "Actual Startup Time": 193.36, "Actual Total Time": 370.142, "Actual Rows": 74320, "Actual Loops": 1}], "Plans": [{"Node Type": "Bitmap Index Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Index Name": "o_od", "Startup Cost": 0.0, "Total Cost": 6221.33, "Plan Rows": 568519, "Plan Width": 0, "Actual Startup Time": 113.071, "Actual Total Time": 113.072, "Actual Rows": 567099, "Actual Loops": 1, "Index Cond": "((orders.o_orderdate >= '1996-01-01'::date) AND (orders.o_orderdate < '1996-04-01 00:00:00'::timestamp without time zone))", "Workers": []}]}, {"Node Type": "Index Scan", "Parent Relationship": "Inner", "Parallel Aware": false, "Async Capable": false, "Scan Direction": "Forward", "Index Name": "l_ok", "Relation Name": "lineitem", "Schema": "public", "Alias": "lineitem", "Startup Cost": 0.56, "Total Cost": 2.23, "Plan Rows": 10, "Plan Width": 4, "Actual Startup Time": 0.006, "Actual Total Time": 0.006, "Actual Rows": 1, "Actual Loops": 567099, "Output": ["lineitem.l_orderkey", "lineitem.l_partkey", "lineitem.l_suppkey", "lineitem.l_linenumber", "lineitem.l_quantity", "lineitem.l_extendedprice", "lineitem.l_discount", "lineitem.l_tax", "lineitem.l_returnflag", "lineitem.l_linestatus", "lineitem.l_shipdate", "lineitem.l_commitdate", "lineitem.l_receiptdate", "lineitem.l_shipinstruct", "lineitem.l_shipmode", "lineitem.l_comment"], "Index Cond": "(lineitem.l_orderkey = orders.o_orderkey)", "Rows Removed by Index Recheck": 0, "Filter": "(lineitem.l_commitdate < lineitem.l_receiptdate)", "Rows Removed by Filter": 1, "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.007, "Actual Total Time": 0.007, "Actual Rows": 1, "Actual Loops": 74303}, {"Worker Number": 1, "Actual Startup Time": 0.007, "Actual Total Time": 0.007, "Actual Rows": 1, "Actual Loops": 74612}, {"Worker Number": 2, "Actual Startup Time": 0.007, "Actual Total Time": 0.007, "Actual Rows": 1, "Actual Loops": 74654}, {"Worker Number": 3, "Actual Startup Time": 0.007, "Actual Total Time": 0.007, "Actual Rows": 1, "Actual Loops": 73770}, {"Worker Number": 4, "Actual Startup Time": 0.007, "Actual Total Time": 0.007, "Actual Rows": 1, "Actual Loops": 74377}, {"Worker Number": 5, "Actual Startup Time": 0.007, "Actual Total Time": 0.007, "Actual Rows": 1, "Actual Loops": 74320}]}]}]}]}]}]}, "Planning Time": 0.411, "Triggers": [], "Execution Time": 1114.817} diff --git a/dev9/pg16/tpch/sf_10/explain_analyze/15721/5-1.ok b/dev9/pg16/tpch/sf_10/explain_analyze/15721/5-1.ok new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/dev9/pg16/tpch/sf_10/explain_analyze/15721/5-1.res b/dev9/pg16/tpch/sf_10/explain_analyze/15721/5-1.res new file mode 100644 index 0000000000000000000000000000000000000000..694d77e8b5136692492f51a448b921a7044f5424 --- /dev/null +++ b/dev9/pg16/tpch/sf_10/explain_analyze/15721/5-1.res @@ -0,0 +1 @@ +{"Plan": {"Node Type": "Sort", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 354205.72, "Total Cost": 354205.78, "Plan Rows": 25, "Plan Width": 58, "Actual Startup Time": 1978.98, "Actual Total Time": 2162.803, "Actual Rows": 5, "Actual Loops": 1, "Output": ["nation.n_name", "(sum((lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount))))"], "Sort Key": ["(sum((lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount)))) DESC"], "Sort Method": "quicksort", "Sort Space Used": 25, "Sort Space Type": "Memory", "Plans": [{"Node Type": "Aggregate", "Strategy": "Sorted", "Partial Mode": "Finalize", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 353964.73, "Total Cost": 354205.14, "Plan Rows": 25, "Plan Width": 58, "Actual Startup Time": 1972.58, "Actual Total Time": 2162.793, "Actual Rows": 5, "Actual Loops": 1, "Output": ["nation.n_name", "sum((lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount)))"], "Group Key": ["nation.n_name"], "Plans": [{"Node Type": "Gather Merge", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 353964.73, "Total Cost": 354204.08, "Plan Rows": 100, "Plan Width": 58, "Actual Startup Time": 1970.421, "Actual Total Time": 2162.76, "Actual Rows": 25, "Actual Loops": 1, "Output": ["nation.n_name", "(PARTIAL sum((lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount))))"], "Workers Planned": 4, "Workers Launched": 4, "Plans": [{"Node Type": "Aggregate", "Strategy": "Sorted", "Partial Mode": "Partial", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 352964.67, "Total Cost": 353192.11, "Plan Rows": 25, "Plan Width": 58, "Actual Startup Time": 1959.516, "Actual Total Time": 1966.535, "Actual Rows": 5, "Actual Loops": 5, "Output": ["nation.n_name", "PARTIAL sum((lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount)))"], "Group Key": ["nation.n_name"], "Workers": [{"Worker Number": 0, "Actual Startup Time": 1958.175, "Actual Total Time": 1964.929, "Actual Rows": 5, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 1958.158, "Actual Total Time": 1964.726, "Actual Rows": 5, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 1958.856, "Actual Total Time": 1965.491, "Actual Rows": 5, "Actual Loops": 1}, {"Worker Number": 3, "Actual Startup Time": 1958.614, "Actual Total Time": 1965.238, "Actual Rows": 5, "Actual Loops": 1}], "Plans": [{"Node Type": "Sort", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 352964.67, "Total Cost": 353010.1, "Plan Rows": 18170, "Plan Width": 38, "Actual Startup Time": 1957.756, "Actual Total Time": 1958.698, "Actual Rows": 14545, "Actual Loops": 5, "Output": ["nation.n_name", "lineitem.l_extendedprice", "lineitem.l_discount"], "Sort Key": ["nation.n_name"], "Sort Method": "quicksort", "Sort Space Used": 1866, "Sort Space Type": "Memory", "Workers": [{"Worker Number": 0, "Actual Startup Time": 1956.501, "Actual Total Time": 1957.393, "Actual Rows": 13974, "Actual Loops": 1, "Sort Method": "quicksort", "Sort Space Used": 1258, "Sort Space Type": "Memory"}, {"Worker Number": 1, "Actual Startup Time": 1956.481, "Actual Total Time": 1957.348, "Actual Rows": 13701, "Actual Loops": 1, "Sort Method": "quicksort", "Sort Space Used": 1241, "Sort Space Type": "Memory"}, {"Worker Number": 2, "Actual Startup Time": 1957.209, "Actual Total Time": 1958.091, "Actual Rows": 13743, "Actual Loops": 1, "Sort Method": "quicksort", "Sort Space Used": 1243, "Sort Space Type": "Memory"}, {"Worker Number": 3, "Actual Startup Time": 1956.948, "Actual Total Time": 1957.821, "Actual Rows": 13752, "Actual Loops": 1, "Sort Method": "quicksort", "Sort Space Used": 1244, "Sort Space Type": "Memory"}], "Plans": [{"Node Type": "Hash Join", "Parent Relationship": "Outer", "Parallel Aware": true, "Async Capable": false, "Join Type": "Inner", "Startup Cost": 3693.1, "Total Cost": 351679.21, "Plan Rows": 18170, "Plan Width": 38, "Actual Startup Time": 15.851, "Actual Total Time": 1951.02, "Actual Rows": 14545, "Actual Loops": 5, "Output": ["nation.n_name", "lineitem.l_extendedprice", "lineitem.l_discount"], "Inner Unique": true, "Hash Cond": "((lineitem.l_suppkey = supplier.s_suppkey) AND (customer.c_nationkey = supplier.s_nationkey))", "Workers": [{"Worker Number": 0, "Actual Startup Time": 13.068, "Actual Total Time": 1949.932, "Actual Rows": 13974, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 18.822, "Actual Total Time": 1949.934, "Actual Rows": 13701, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 15.912, "Actual Total Time": 1950.635, "Actual Rows": 13743, "Actual Loops": 1}, {"Worker Number": 3, "Actual Startup Time": 14.073, "Actual Total Time": 1950.463, "Actual Rows": 13752, "Actual Loops": 1}], "Plans": [{"Node Type": "Nested Loop", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Join Type": "Inner", "Startup Cost": 3.51, "Total Cost": 345604.79, "Plan Rows": 454253, "Plan Width": 50, "Actual Startup Time": 0.356, "Actual Total Time": 1839.867, "Actual Rows": 363271, "Actual Loops": 5, "Output": ["customer.c_nationkey", "lineitem.l_extendedprice", "lineitem.l_discount", "lineitem.l_suppkey", "nation.n_name", "nation.n_nationkey"], "Inner Unique": false, "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.339, "Actual Total Time": 1844.522, "Actual Rows": 346177, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 0.354, "Actual Total Time": 1843.588, "Actual Rows": 343933, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 0.43, "Actual Total Time": 1844.056, "Actual Rows": 347642, "Actual Loops": 1}, {"Worker Number": 3, "Actual Startup Time": 0.568, "Actual Total Time": 1843.871, "Actual Rows": 344967, "Actual Loops": 1}], "Plans": [{"Node Type": "Nested Loop", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Join Type": "Inner", "Startup Cost": 2.94, "Total Cost": 120608.37, "Plan Rows": 113590, "Plan Width": 38, "Actual Startup Time": 0.279, "Actual Total Time": 968.494, "Actual Rows": 90894, "Actual Loops": 5, "Output": ["customer.c_nationkey", "orders.o_orderkey", "nation.n_name", "nation.n_nationkey"], "Inner Unique": false, "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.253, "Actual Total Time": 950.107, "Actual Rows": 86894, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 0.258, "Actual Total Time": 948.183, "Actual Rows": 85806, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 0.335, "Actual Total Time": 946.514, "Actual Rows": 86773, "Actual Loops": 1}, {"Worker Number": 3, "Actual Startup Time": 0.475, "Actual Total Time": 945.771, "Actual Rows": 86292, "Actual Loops": 1}], "Plans": [{"Node Type": "Hash Join", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Join Type": "Inner", "Startup Cost": 2.51, "Total Cost": 41832.76, "Plan Rows": 75000, "Plan Width": 38, "Actual Startup Time": 0.128, "Actual Total Time": 109.72, "Actual Rows": 59887, "Actual Loops": 5, "Output": ["customer.c_custkey", "customer.c_nationkey", "nation.n_name", "nation.n_nationkey"], "Inner Unique": false, "Hash Cond": "(customer.c_nationkey = nation.n_nationkey)", "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.14, "Actual Total Time": 105.767, "Actual Rows": 57349, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 0.149, "Actual Total Time": 104.408, "Actual Rows": 56710, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 0.15, "Actual Total Time": 105.278, "Actual Rows": 57113, "Actual Loops": 1}, {"Worker Number": 3, "Actual Startup Time": 0.152, "Actual Total Time": 104.137, "Actual Rows": 56449, "Actual Loops": 1}], "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": true, "Async Capable": false, "Relation Name": "customer", "Schema": "public", "Alias": "customer", "Startup Cost": 0.0, "Total Cost": 39674.0, "Plan Rows": 375000, "Plan Width": 8, "Actual Startup Time": 0.021, "Actual Total Time": 31.551, "Actual Rows": 300000, "Actual Loops": 5, "Output": ["customer.c_custkey", "customer.c_name", "customer.c_address", "customer.c_nationkey", "customer.c_phone", "customer.c_acctbal", "customer.c_mktsegment", "customer.c_comment"], "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.024, "Actual Total Time": 30.459, "Actual Rows": 286756, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 0.024, "Actual Total Time": 30.13, "Actual Rows": 282941, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 0.028, "Actual Total Time": 30.384, "Actual Rows": 285720, "Actual Loops": 1}, {"Worker Number": 3, "Actual Startup Time": 0.025, "Actual Total Time": 29.997, "Actual Rows": 282275, "Actual Loops": 1}]}, {"Node Type": "Hash", "Parent Relationship": "Inner", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 2.45, "Total Cost": 2.45, "Plan Rows": 5, "Plan Width": 30, "Actual Startup Time": 0.082, "Actual Total Time": 0.084, "Actual Rows": 5, "Actual Loops": 5, "Output": ["nation.n_name", "nation.n_nationkey"], "Hash Buckets": 1024, "Original Hash Buckets": 1024, "Hash Batches": 1, "Original Hash Batches": 1, "Peak Memory Usage": 9, "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.09, "Actual Total Time": 0.092, "Actual Rows": 5, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 0.095, "Actual Total Time": 0.098, "Actual Rows": 5, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 0.095, "Actual Total Time": 0.097, "Actual Rows": 5, "Actual Loops": 1}, {"Worker Number": 3, "Actual Startup Time": 0.098, "Actual Total Time": 0.101, "Actual Rows": 5, "Actual Loops": 1}], "Plans": [{"Node Type": "Hash Join", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Join Type": "Inner", "Startup Cost": 1.07, "Total Cost": 2.45, "Plan Rows": 5, "Plan Width": 30, "Actual Startup Time": 0.072, "Actual Total Time": 0.08, "Actual Rows": 5, "Actual Loops": 5, "Output": ["nation.n_name", "nation.n_nationkey"], "Inner Unique": true, "Hash Cond": "(nation.n_regionkey = region.r_regionkey)", "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.08, "Actual Total Time": 0.087, "Actual Rows": 5, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 0.085, "Actual Total Time": 0.093, "Actual Rows": 5, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 0.084, "Actual Total Time": 0.092, "Actual Rows": 5, "Actual Loops": 1}, {"Worker Number": 3, "Actual Startup Time": 0.088, "Actual Total Time": 0.095, "Actual Rows": 5, "Actual Loops": 1}], "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Relation Name": "nation", "Schema": "public", "Alias": "nation", "Startup Cost": 0.0, "Total Cost": 1.25, "Plan Rows": 25, "Plan Width": 34, "Actual Startup Time": 0.018, "Actual Total Time": 0.02, "Actual Rows": 25, "Actual Loops": 5, "Output": ["nation.n_nationkey", "nation.n_name", "nation.n_regionkey", "nation.n_comment"], "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.017, "Actual Total Time": 0.02, "Actual Rows": 25, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 0.025, "Actual Total Time": 0.027, "Actual Rows": 25, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 0.02, "Actual Total Time": 0.023, "Actual Rows": 25, "Actual Loops": 1}, {"Worker Number": 3, "Actual Startup Time": 0.024, "Actual Total Time": 0.026, "Actual Rows": 25, "Actual Loops": 1}]}, {"Node Type": "Hash", "Parent Relationship": "Inner", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 1.06, "Total Cost": 1.06, "Plan Rows": 1, "Plan Width": 4, "Actual Startup Time": 0.029, "Actual Total Time": 0.03, "Actual Rows": 1, "Actual Loops": 5, "Output": ["region.r_regionkey"], "Hash Buckets": 1024, "Original Hash Buckets": 1024, "Hash Batches": 1, "Original Hash Batches": 1, "Peak Memory Usage": 9, "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.033, "Actual Total Time": 0.034, "Actual Rows": 1, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 0.033, "Actual Total Time": 0.034, "Actual Rows": 1, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 0.034, "Actual Total Time": 0.035, "Actual Rows": 1, "Actual Loops": 1}, {"Worker Number": 3, "Actual Startup Time": 0.034, "Actual Total Time": 0.034, "Actual Rows": 1, "Actual Loops": 1}], "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Relation Name": "region", "Schema": "public", "Alias": "region", "Startup Cost": 0.0, "Total Cost": 1.06, "Plan Rows": 1, "Plan Width": 4, "Actual Startup Time": 0.02, "Actual Total Time": 0.021, "Actual Rows": 1, "Actual Loops": 5, "Output": ["region.r_regionkey"], "Filter": "(region.r_name = 'AMERICA'::bpchar)", "Rows Removed by Filter": 4, "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.022, "Actual Total Time": 0.023, "Actual Rows": 1, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 0.023, "Actual Total Time": 0.024, "Actual Rows": 1, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 0.023, "Actual Total Time": 0.024, "Actual Rows": 1, "Actual Loops": 1}, {"Worker Number": 3, "Actual Startup Time": 0.023, "Actual Total Time": 0.024, "Actual Rows": 1, "Actual Loops": 1}]}]}]}]}]}, {"Node Type": "Index Scan", "Parent Relationship": "Inner", "Parallel Aware": false, "Async Capable": false, "Scan Direction": "Forward", "Index Name": "o_ck", "Relation Name": "orders", "Schema": "public", "Alias": "orders", "Startup Cost": 0.43, "Total Cost": 1.02, "Plan Rows": 3, "Plan Width": 8, "Actual Startup Time": 0.006, "Actual Total Time": 0.014, "Actual Rows": 2, "Actual Loops": 299436, "Output": ["orders.o_orderkey", "orders.o_custkey", "orders.o_orderstatus", "orders.o_totalprice", "orders.o_orderdate", "orders.o_orderpriority", "orders.o_clerk", "orders.o_shippriority", "orders.o_comment"], "Index Cond": "(orders.o_custkey = customer.c_custkey)", "Rows Removed by Index Recheck": 0, "Filter": "((orders.o_orderdate >= '1995-01-01'::date) AND (orders.o_orderdate < '1996-01-01 00:00:00'::timestamp without time zone))", "Rows Removed by Filter": 8, "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.007, "Actual Total Time": 0.014, "Actual Rows": 2, "Actual Loops": 57349}, {"Worker Number": 1, "Actual Startup Time": 0.007, "Actual Total Time": 0.014, "Actual Rows": 2, "Actual Loops": 56710}, {"Worker Number": 2, "Actual Startup Time": 0.007, "Actual Total Time": 0.014, "Actual Rows": 2, "Actual Loops": 57113}, {"Worker Number": 3, "Actual Startup Time": 0.007, "Actual Total Time": 0.014, "Actual Rows": 2, "Actual Loops": 56449}]}]}, {"Node Type": "Index Scan", "Parent Relationship": "Inner", "Parallel Aware": false, "Async Capable": false, "Scan Direction": "Forward", "Index Name": "l_ok", "Relation Name": "lineitem", "Schema": "public", "Alias": "lineitem", "Startup Cost": 0.56, "Total Cost": 1.68, "Plan Rows": 30, "Plan Width": 20, "Actual Startup Time": 0.008, "Actual Total Time": 0.009, "Actual Rows": 4, "Actual Loops": 454468, "Output": ["lineitem.l_orderkey", "lineitem.l_partkey", "lineitem.l_suppkey", "lineitem.l_linenumber", "lineitem.l_quantity", "lineitem.l_extendedprice", "lineitem.l_discount", "lineitem.l_tax", "lineitem.l_returnflag", "lineitem.l_linestatus", "lineitem.l_shipdate", "lineitem.l_commitdate", "lineitem.l_receiptdate", "lineitem.l_shipinstruct", "lineitem.l_shipmode", "lineitem.l_comment"], "Index Cond": "(lineitem.l_orderkey = orders.o_orderkey)", "Rows Removed by Index Recheck": 0, "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.008, "Actual Total Time": 0.009, "Actual Rows": 4, "Actual Loops": 86894}, {"Worker Number": 1, "Actual Startup Time": 0.008, "Actual Total Time": 0.009, "Actual Rows": 4, "Actual Loops": 85806}, {"Worker Number": 2, "Actual Startup Time": 0.008, "Actual Total Time": 0.009, "Actual Rows": 4, "Actual Loops": 86773}, {"Worker Number": 3, "Actual Startup Time": 0.008, "Actual Total Time": 0.009, "Actual Rows": 4, "Actual Loops": 86292}]}]}, {"Node Type": "Hash", "Parent Relationship": "Inner", "Parallel Aware": true, "Async Capable": false, "Startup Cost": 2807.24, "Total Cost": 2807.24, "Plan Rows": 58824, "Plan Width": 8, "Actual Startup Time": 13.251, "Actual Total Time": 13.251, "Actual Rows": 20000, "Actual Loops": 5, "Output": ["supplier.s_suppkey", "supplier.s_nationkey"], "Hash Buckets": 131072, "Original Hash Buckets": 131072, "Hash Batches": 1, "Original Hash Batches": 1, "Peak Memory Usage": 4992, "Workers": [{"Worker Number": 0, "Actual Startup Time": 12.536, "Actual Total Time": 12.537, "Actual Rows": 17204, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 12.586, "Actual Total Time": 12.586, "Actual Rows": 17172, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 12.704, "Actual Total Time": 12.705, "Actual Rows": 17913, "Actual Loops": 1}, {"Worker Number": 3, "Actual Startup Time": 12.858, "Actual Total Time": 12.859, "Actual Rows": 17959, "Actual Loops": 1}], "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": true, "Async Capable": false, "Relation Name": "supplier", "Schema": "public", "Alias": "supplier", "Startup Cost": 0.0, "Total Cost": 2807.24, "Plan Rows": 58824, "Plan Width": 8, "Actual Startup Time": 0.011, "Actual Total Time": 5.807, "Actual Rows": 20000, "Actual Loops": 5, "Output": ["supplier.s_suppkey", "supplier.s_nationkey"], "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.013, "Actual Total Time": 5.495, "Actual Rows": 17204, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 0.013, "Actual Total Time": 5.612, "Actual Rows": 17172, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 0.013, "Actual Total Time": 5.779, "Actual Rows": 17913, "Actual Loops": 1}, {"Worker Number": 3, "Actual Startup Time": 0.012, "Actual Total Time": 5.79, "Actual Rows": 17959, "Actual Loops": 1}]}]}]}]}]}]}]}]}, "Planning Time": 2.603, "Triggers": [], "Execution Time": 2162.89} diff --git a/dev9/pg16/tpch/sf_10/explain_analyze/15721/6-1.ok b/dev9/pg16/tpch/sf_10/explain_analyze/15721/6-1.ok new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/dev9/pg16/tpch/sf_10/explain_analyze/15721/6-1.res b/dev9/pg16/tpch/sf_10/explain_analyze/15721/6-1.res new file mode 100644 index 0000000000000000000000000000000000000000..a6d852f65e9b211c5d004dc8ccceaf3ecad681b6 --- /dev/null +++ b/dev9/pg16/tpch/sf_10/explain_analyze/15721/6-1.res @@ -0,0 +1 @@ +{"Plan": {"Node Type": "Aggregate", "Strategy": "Plain", "Partial Mode": "Finalize", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 1319727.61, "Total Cost": 1319727.62, "Plan Rows": 1, "Plan Width": 32, "Actual Startup Time": 1524.183, "Actual Total Time": 1564.109, "Actual Rows": 1, "Actual Loops": 1, "Output": ["sum((l_extendedprice * l_discount))"], "Plans": [{"Node Type": "Gather", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 1319726.86, "Total Cost": 1319727.57, "Plan Rows": 7, "Plan Width": 32, "Actual Startup Time": 1524.091, "Actual Total Time": 1564.096, "Actual Rows": 8, "Actual Loops": 1, "Output": ["(PARTIAL sum((l_extendedprice * l_discount)))"], "Workers Planned": 7, "Workers Launched": 7, "Single Copy": false, "Plans": [{"Node Type": "Aggregate", "Strategy": "Plain", "Partial Mode": "Partial", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 1318726.86, "Total Cost": 1318726.87, "Plan Rows": 1, "Plan Width": 32, "Actual Startup Time": 1520.126, "Actual Total Time": 1520.127, "Actual Rows": 1, "Actual Loops": 8, "Output": ["PARTIAL sum((l_extendedprice * l_discount))"], "Workers": [{"Worker Number": 0, "Actual Startup Time": 1519.225, "Actual Total Time": 1519.225, "Actual Rows": 1, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 1519.37, "Actual Total Time": 1519.371, "Actual Rows": 1, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 1519.478, "Actual Total Time": 1519.479, "Actual Rows": 1, "Actual Loops": 1}, {"Worker Number": 3, "Actual Startup Time": 1519.63, "Actual Total Time": 1519.631, "Actual Rows": 1, "Actual Loops": 1}, {"Worker Number": 4, "Actual Startup Time": 1519.8, "Actual Total Time": 1519.801, "Actual Rows": 1, "Actual Loops": 1}, {"Worker Number": 5, "Actual Startup Time": 1519.858, "Actual Total Time": 1519.86, "Actual Rows": 1, "Actual Loops": 1}, {"Worker Number": 6, "Actual Startup Time": 1520.0, "Actual Total Time": 1520.001, "Actual Rows": 1, "Actual Loops": 1}], "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": true, "Async Capable": false, "Relation Name": "lineitem", "Schema": "public", "Alias": "lineitem", "Startup Cost": 0.0, "Total Cost": 1317905.89, "Plan Rows": 164194, "Plan Width": 12, "Actual Startup Time": 0.035, "Actual Total Time": 1475.73, "Actual Rows": 143005, "Actual Loops": 8, "Output": ["l_orderkey", "l_partkey", "l_suppkey", "l_linenumber", "l_quantity", "l_extendedprice", "l_discount", "l_tax", "l_returnflag", "l_linestatus", "l_shipdate", "l_commitdate", "l_receiptdate", "l_shipinstruct", "l_shipmode", "l_comment"], "Filter": "((lineitem.l_shipdate >= '1995-01-01'::date) AND (lineitem.l_shipdate < '1996-01-01 00:00:00'::timestamp without time zone) AND (lineitem.l_discount >= 0.04) AND (lineitem.l_discount <= 0.06) AND (lineitem.l_quantity < '24'::numeric))", "Rows Removed by Filter": 7355252, "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.037, "Actual Total Time": 1476.097, "Actual Rows": 141500, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 0.04, "Actual Total Time": 1475.936, "Actual Rows": 142443, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 0.036, "Actual Total Time": 1476.154, "Actual Rows": 142454, "Actual Loops": 1}, {"Worker Number": 3, "Actual Startup Time": 0.037, "Actual Total Time": 1476.334, "Actual Rows": 142300, "Actual Loops": 1}, {"Worker Number": 4, "Actual Startup Time": 0.042, "Actual Total Time": 1476.677, "Actual Rows": 141772, "Actual Loops": 1}, {"Worker Number": 5, "Actual Startup Time": 0.033, "Actual Total Time": 1473.1, "Actual Rows": 141147, "Actual Loops": 1}, {"Worker Number": 6, "Actual Startup Time": 0.039, "Actual Total Time": 1472.902, "Actual Rows": 142278, "Actual Loops": 1}]}]}]}]}, "Planning Time": 0.142, "Triggers": [], "Execution Time": 1564.141} diff --git a/dev9/pg16/tpch/sf_10/explain_analyze/15721/7-1.ok b/dev9/pg16/tpch/sf_10/explain_analyze/15721/7-1.ok new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/dev9/pg16/tpch/sf_10/explain_analyze/15721/7-1.res b/dev9/pg16/tpch/sf_10/explain_analyze/15721/7-1.res new file mode 100644 index 0000000000000000000000000000000000000000..231d9996ab2cb2f96dede32aa50070e25161034d --- /dev/null +++ b/dev9/pg16/tpch/sf_10/explain_analyze/15721/7-1.res @@ -0,0 +1 @@ +{"Plan": {"Node Type": "Aggregate", "Strategy": "Sorted", "Partial Mode": "Finalize", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 226936.23, "Total Cost": 232817.8, "Plan Rows": 10092, "Plan Width": 116, "Actual Startup Time": 2325.291, "Actual Total Time": 2599.023, "Actual Rows": 4, "Actual Loops": 1, "Output": ["n1.n_name", "n2.n_name", "(EXTRACT(year FROM lineitem.l_shipdate))", "sum((lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount)))"], "Group Key": ["n1.n_name", "n2.n_name", "(EXTRACT(year FROM lineitem.l_shipdate))"], "Plans": [{"Node Type": "Gather Merge", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 226936.23, "Total Cost": 232161.82, "Plan Rows": 40368, "Plan Width": 116, "Actual Startup Time": 2322.513, "Actual Total Time": 2598.992, "Actual Rows": 20, "Actual Loops": 1, "Output": ["n1.n_name", "n2.n_name", "(EXTRACT(year FROM lineitem.l_shipdate))", "(PARTIAL sum((lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount))))"], "Workers Planned": 4, "Workers Launched": 4, "Plans": [{"Node Type": "Aggregate", "Strategy": "Sorted", "Partial Mode": "Partial", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 225936.17, "Total Cost": 226353.55, "Plan Rows": 10092, "Plan Width": 116, "Actual Startup Time": 2308.123, "Actual Total Time": 2315.283, "Actual Rows": 4, "Actual Loops": 5, "Output": ["n1.n_name", "n2.n_name", "(EXTRACT(year FROM lineitem.l_shipdate))", "PARTIAL sum((lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount)))"], "Group Key": ["n1.n_name", "n2.n_name", "(EXTRACT(year FROM lineitem.l_shipdate))"], "Workers": [{"Worker Number": 0, "Actual Startup Time": 2305.824, "Actual Total Time": 2312.761, "Actual Rows": 4, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 2305.707, "Actual Total Time": 2312.572, "Actual Rows": 4, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 2307.48, "Actual Total Time": 2314.331, "Actual Rows": 4, "Actual Loops": 1}, {"Worker Number": 3, "Actual Startup Time": 2306.086, "Actual Total Time": 2312.831, "Actual Rows": 4, "Actual Loops": 1}], "Plans": [{"Node Type": "Sort", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 225936.17, "Total Cost": 225974.17, "Plan Rows": 15200, "Plan Width": 96, "Actual Startup Time": 2305.734, "Actual Total Time": 2306.471, "Actual Rows": 11559, "Actual Loops": 5, "Output": ["n1.n_name", "n2.n_name", "(EXTRACT(year FROM lineitem.l_shipdate))", "lineitem.l_extendedprice", "lineitem.l_discount"], "Sort Key": ["n1.n_name", "n2.n_name", "(EXTRACT(year FROM lineitem.l_shipdate))"], "Sort Method": "quicksort", "Sort Space Used": 1654, "Sort Space Type": "Memory", "Workers": [{"Worker Number": 0, "Actual Startup Time": 2303.613, "Actual Total Time": 2304.316, "Actual Rows": 11207, "Actual Loops": 1, "Sort Method": "quicksort", "Sort Space Used": 1435, "Sort Space Type": "Memory"}, {"Worker Number": 1, "Actual Startup Time": 2303.559, "Actual Total Time": 2304.247, "Actual Rows": 10977, "Actual Loops": 1, "Sort Method": "quicksort", "Sort Space Used": 1414, "Sort Space Type": "Memory"}, {"Worker Number": 2, "Actual Startup Time": 2305.265, "Actual Total Time": 2305.962, "Actual Rows": 11115, "Actual Loops": 1, "Sort Method": "quicksort", "Sort Space Used": 1427, "Sort Space Type": "Memory"}, {"Worker Number": 3, "Actual Startup Time": 2303.896, "Actual Total Time": 2304.579, "Actual Rows": 10953, "Actual Loops": 1, "Sort Method": "quicksort", "Sort Space Used": 1411, "Sort Space Type": "Memory"}], "Plans": [{"Node Type": "Hash Join", "Parent Relationship": "Outer", "Parallel Aware": true, "Async Capable": false, "Join Type": "Inner", "Startup Cost": 149388.58, "Total Cost": 224880.39, "Plan Rows": 15200, "Plan Width": 96, "Actual Startup Time": 1704.968, "Actual Total Time": 2297.527, "Actual Rows": 11559, "Actual Loops": 5, "Output": ["n1.n_name", "n2.n_name", "EXTRACT(year FROM lineitem.l_shipdate)", "lineitem.l_extendedprice", "lineitem.l_discount"], "Inner Unique": false, "Hash Cond": "(orders.o_orderkey = lineitem.l_orderkey)", "Join Filter": "(((n1.n_name = 'IRAN'::bpchar) AND (n2.n_name = 'ETHIOPIA'::bpchar)) OR ((n1.n_name = 'ETHIOPIA'::bpchar) AND (n2.n_name = 'IRAN'::bpchar)))", "Rows Removed by Join Filter": 11570, "Workers": [{"Worker Number": 0, "Actual Startup Time": 1703.925, "Actual Total Time": 2295.679, "Actual Rows": 11207, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 1703.43, "Actual Total Time": 2295.729, "Actual Rows": 10977, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 1703.248, "Actual Total Time": 2297.312, "Actual Rows": 11115, "Actual Loops": 1}, {"Worker Number": 3, "Actual Startup Time": 1703.405, "Actual Total Time": 2295.829, "Actual Rows": 10953, "Actual Loops": 1}], "Plans": [{"Node Type": "Nested Loop", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Join Type": "Inner", "Startup Cost": 1.83, "Total Cost": 73986.89, "Plan Rows": 300002, "Plan Width": 30, "Actual Startup Time": 0.127, "Actual Total Time": 493.168, "Actual Rows": 240625, "Actual Loops": 5, "Output": ["orders.o_orderkey", "n2.n_name"], "Inner Unique": false, "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.166, "Actual Total Time": 496.868, "Actual Rows": 232121, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 0.14, "Actual Total Time": 496.677, "Actual Rows": 228046, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 0.137, "Actual Total Time": 496.623, "Actual Rows": 231189, "Actual Loops": 1}, {"Worker Number": 3, "Actual Startup Time": 0.131, "Actual Total Time": 496.744, "Actual Rows": 229072, "Actual Loops": 1}], "Plans": [{"Node Type": "Hash Join", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Join Type": "Inner", "Startup Cost": 1.4, "Total Cost": 40826.65, "Plan Rows": 30000, "Plan Width": 30, "Actual Startup Time": 0.07, "Actual Total Time": 91.36, "Actual Rows": 24114, "Actual Loops": 5, "Output": ["customer.c_custkey", "n2.n_name"], "Inner Unique": true, "Hash Cond": "(customer.c_nationkey = n2.n_nationkey)", "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.076, "Actual Total Time": 88.666, "Actual Rows": 23162, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 0.079, "Actual Total Time": 88.461, "Actual Rows": 23070, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 0.079, "Actual Total Time": 88.285, "Actual Rows": 22987, "Actual Loops": 1}, {"Worker Number": 3, "Actual Startup Time": 0.073, "Actual Total Time": 87.622, "Actual Rows": 23066, "Actual Loops": 1}], "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": true, "Async Capable": false, "Relation Name": "customer", "Schema": "public", "Alias": "customer", "Startup Cost": 0.0, "Total Cost": 39674.0, "Plan Rows": 375000, "Plan Width": 8, "Actual Startup Time": 0.017, "Actual Total Time": 30.942, "Actual Rows": 300000, "Actual Loops": 5, "Output": ["customer.c_custkey", "customer.c_name", "customer.c_address", "customer.c_nationkey", "customer.c_phone", "customer.c_acctbal", "customer.c_mktsegment", "customer.c_comment"], "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.021, "Actual Total Time": 30.191, "Actual Rows": 288567, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 0.018, "Actual Total Time": 30.099, "Actual Rows": 286422, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 0.021, "Actual Total Time": 30.094, "Actual Rows": 286725, "Actual Loops": 1}, {"Worker Number": 3, "Actual Startup Time": 0.019, "Actual Total Time": 29.745, "Actual Rows": 283568, "Actual Loops": 1}]}, {"Node Type": "Hash", "Parent Relationship": "Inner", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 1.38, "Total Cost": 1.38, "Plan Rows": 2, "Plan Width": 30, "Actual Startup Time": 0.021, "Actual Total Time": 0.022, "Actual Rows": 2, "Actual Loops": 5, "Output": ["n2.n_name", "n2.n_nationkey"], "Hash Buckets": 1024, "Original Hash Buckets": 1024, "Hash Batches": 1, "Original Hash Batches": 1, "Peak Memory Usage": 9, "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.021, "Actual Total Time": 0.022, "Actual Rows": 2, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 0.02, "Actual Total Time": 0.021, "Actual Rows": 2, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 0.022, "Actual Total Time": 0.022, "Actual Rows": 2, "Actual Loops": 1}, {"Worker Number": 3, "Actual Startup Time": 0.021, "Actual Total Time": 0.021, "Actual Rows": 2, "Actual Loops": 1}], "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Relation Name": "nation", "Schema": "public", "Alias": "n2", "Startup Cost": 0.0, "Total Cost": 1.38, "Plan Rows": 2, "Plan Width": 30, "Actual Startup Time": 0.012, "Actual Total Time": 0.017, "Actual Rows": 2, "Actual Loops": 5, "Output": ["n2.n_name", "n2.n_nationkey"], "Filter": "((n2.n_name = 'ETHIOPIA'::bpchar) OR (n2.n_name = 'IRAN'::bpchar))", "Rows Removed by Filter": 23, "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.011, "Actual Total Time": 0.017, "Actual Rows": 2, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 0.012, "Actual Total Time": 0.016, "Actual Rows": 2, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 0.012, "Actual Total Time": 0.017, "Actual Rows": 2, "Actual Loops": 1}, {"Worker Number": 3, "Actual Startup Time": 0.011, "Actual Total Time": 0.016, "Actual Rows": 2, "Actual Loops": 1}]}]}]}, {"Node Type": "Index Scan", "Parent Relationship": "Inner", "Parallel Aware": false, "Async Capable": false, "Scan Direction": "Forward", "Index Name": "o_ck", "Relation Name": "orders", "Schema": "public", "Alias": "orders", "Startup Cost": 0.43, "Total Cost": 0.94, "Plan Rows": 17, "Plan Width": 8, "Actual Startup Time": 0.003, "Actual Total Time": 0.015, "Actual Rows": 10, "Actual Loops": 120572, "Output": ["orders.o_orderkey", "orders.o_custkey", "orders.o_orderstatus", "orders.o_totalprice", "orders.o_orderdate", "orders.o_orderpriority", "orders.o_clerk", "orders.o_shippriority", "orders.o_comment"], "Index Cond": "(orders.o_custkey = customer.c_custkey)", "Rows Removed by Index Recheck": 0, "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.003, "Actual Total Time": 0.016, "Actual Rows": 10, "Actual Loops": 23162}, {"Worker Number": 1, "Actual Startup Time": 0.003, "Actual Total Time": 0.016, "Actual Rows": 10, "Actual Loops": 23070}, {"Worker Number": 2, "Actual Startup Time": 0.003, "Actual Total Time": 0.016, "Actual Rows": 10, "Actual Loops": 22987}, {"Worker Number": 3, "Actual Startup Time": 0.003, "Actual Total Time": 0.016, "Actual Rows": 10, "Actual Loops": 23066}]}]}, {"Node Type": "Hash", "Parent Relationship": "Inner", "Parallel Aware": true, "Async Capable": false, "Startup Cost": 138644.59, "Total Cost": 138644.59, "Plan Rows": 859373, "Plan Width": 46, "Actual Startup Time": 1701.29, "Actual Total Time": 1701.292, "Actual Rows": 290167, "Actual Loops": 5, "Output": ["lineitem.l_shipdate", "lineitem.l_extendedprice", "lineitem.l_discount", "lineitem.l_orderkey", "n1.n_name"], "Hash Buckets": 2097152, "Original Hash Buckets": 2097152, "Hash Batches": 1, "Original Hash Batches": 1, "Peak Memory Usage": 138624, "Workers": [{"Worker Number": 0, "Actual Startup Time": 1702.907, "Actual Total Time": 1702.91, "Actual Rows": 273005, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 1702.901, "Actual Total Time": 1702.904, "Actual Rows": 269414, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 1702.981, "Actual Total Time": 1702.983, "Actual Rows": 272781, "Actual Loops": 1}, {"Worker Number": 3, "Actual Startup Time": 1702.954, "Actual Total Time": 1702.956, "Actual Rows": 271090, "Actual Loops": 1}], "Plans": [{"Node Type": "Nested Loop", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Join Type": "Inner", "Startup Cost": 1.84, "Total Cost": 138644.59, "Plan Rows": 859373, "Plan Width": 46, "Actual Startup Time": 0.172, "Actual Total Time": 1536.246, "Actual Rows": 290167, "Actual Loops": 5, "Output": ["lineitem.l_shipdate", "lineitem.l_extendedprice", "lineitem.l_discount", "lineitem.l_orderkey", "n1.n_name"], "Inner Unique": false, "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.186, "Actual Total Time": 1537.764, "Actual Rows": 273005, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 0.187, "Actual Total Time": 1544.398, "Actual Rows": 269414, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 0.23, "Actual Total Time": 1542.43, "Actual Rows": 272781, "Actual Loops": 1}, {"Worker Number": 3, "Actual Startup Time": 0.202, "Actual Total Time": 1546.124, "Actual Rows": 271090, "Actual Loops": 1}], "Plans": [{"Node Type": "Hash Join", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Join Type": "Inner", "Startup Cost": 1.4, "Total Cost": 2989.23, "Plan Rows": 4706, "Plan Width": 30, "Actual Startup Time": 0.072, "Actual Total Time": 8.041, "Actual Rows": 1594, "Actual Loops": 5, "Output": ["supplier.s_suppkey", "n1.n_name"], "Inner Unique": true, "Hash Cond": "(supplier.s_nationkey = n1.n_nationkey)", "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.086, "Actual Total Time": 7.598, "Actual Rows": 1497, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 0.088, "Actual Total Time": 7.681, "Actual Rows": 1483, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 0.078, "Actual Total Time": 7.688, "Actual Rows": 1494, "Actual Loops": 1}, {"Worker Number": 3, "Actual Startup Time": 0.079, "Actual Total Time": 7.754, "Actual Rows": 1486, "Actual Loops": 1}], "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": true, "Async Capable": false, "Relation Name": "supplier", "Schema": "public", "Alias": "supplier", "Startup Cost": 0.0, "Total Cost": 2807.24, "Plan Rows": 58824, "Plan Width": 8, "Actual Startup Time": 0.014, "Actual Total Time": 3.145, "Actual Rows": 20000, "Actual Loops": 5, "Output": ["supplier.s_suppkey", "supplier.s_name", "supplier.s_address", "supplier.s_nationkey", "supplier.s_phone", "supplier.s_acctbal", "supplier.s_comment"], "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.017, "Actual Total Time": 3.004, "Actual Rows": 18480, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 0.016, "Actual Total Time": 3.061, "Actual Rows": 18712, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 0.016, "Actual Total Time": 3.105, "Actual Rows": 18382, "Actual Loops": 1}, {"Worker Number": 3, "Actual Startup Time": 0.015, "Actual Total Time": 3.026, "Actual Rows": 18596, "Actual Loops": 1}]}, {"Node Type": "Hash", "Parent Relationship": "Inner", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 1.38, "Total Cost": 1.38, "Plan Rows": 2, "Plan Width": 30, "Actual Startup Time": 0.037, "Actual Total Time": 0.038, "Actual Rows": 2, "Actual Loops": 5, "Output": ["n1.n_name", "n1.n_nationkey"], "Hash Buckets": 1024, "Original Hash Buckets": 1024, "Hash Batches": 1, "Original Hash Batches": 1, "Peak Memory Usage": 9, "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.044, "Actual Total Time": 0.044, "Actual Rows": 2, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 0.042, "Actual Total Time": 0.043, "Actual Rows": 2, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 0.041, "Actual Total Time": 0.041, "Actual Rows": 2, "Actual Loops": 1}, {"Worker Number": 3, "Actual Startup Time": 0.041, "Actual Total Time": 0.041, "Actual Rows": 2, "Actual Loops": 1}], "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Relation Name": "nation", "Schema": "public", "Alias": "n1", "Startup Cost": 0.0, "Total Cost": 1.38, "Plan Rows": 2, "Plan Width": 30, "Actual Startup Time": 0.025, "Actual Total Time": 0.03, "Actual Rows": 2, "Actual Loops": 5, "Output": ["n1.n_name", "n1.n_nationkey"], "Filter": "((n1.n_name = 'IRAN'::bpchar) OR (n1.n_name = 'ETHIOPIA'::bpchar))", "Rows Removed by Filter": 23, "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.03, "Actual Total Time": 0.035, "Actual Rows": 2, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 0.029, "Actual Total Time": 0.034, "Actual Rows": 2, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 0.028, "Actual Total Time": 0.033, "Actual Rows": 2, "Actual Loops": 1}, {"Worker Number": 3, "Actual Startup Time": 0.028, "Actual Total Time": 0.033, "Actual Rows": 2, "Actual Loops": 1}]}]}]}, {"Node Type": "Index Scan", "Parent Relationship": "Inner", "Parallel Aware": false, "Async Capable": false, "Scan Direction": "Forward", "Index Name": "l_sk_pk", "Relation Name": "lineitem", "Schema": "public", "Alias": "lineitem", "Startup Cost": 0.44, "Total Cost": 27.0, "Plan Rows": 183, "Plan Width": 24, "Actual Startup Time": 0.016, "Actual Total Time": 0.931, "Actual Rows": 182, "Actual Loops": 7968, "Output": ["lineitem.l_orderkey", "lineitem.l_partkey", "lineitem.l_suppkey", "lineitem.l_linenumber", "lineitem.l_quantity", "lineitem.l_extendedprice", "lineitem.l_discount", "lineitem.l_tax", "lineitem.l_returnflag", "lineitem.l_linestatus", "lineitem.l_shipdate", "lineitem.l_commitdate", "lineitem.l_receiptdate", "lineitem.l_shipinstruct", "lineitem.l_shipmode", "lineitem.l_comment"], "Index Cond": "(lineitem.l_suppkey = supplier.s_suppkey)", "Rows Removed by Index Recheck": 0, "Filter": "((lineitem.l_shipdate >= '1995-01-01'::date) AND (lineitem.l_shipdate <= '1996-12-31'::date))", "Rows Removed by Filter": 417, "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.018, "Actual Total Time": 0.993, "Actual Rows": 182, "Actual Loops": 1497}, {"Worker Number": 1, "Actual Startup Time": 0.017, "Actual Total Time": 1.007, "Actual Rows": 182, "Actual Loops": 1483}, {"Worker Number": 2, "Actual Startup Time": 0.018, "Actual Total Time": 0.998, "Actual Rows": 183, "Actual Loops": 1494}, {"Worker Number": 3, "Actual Startup Time": 0.018, "Actual Total Time": 1.006, "Actual Rows": 182, "Actual Loops": 1486}]}]}]}]}]}]}]}]}, "Planning Time": 1.743, "Triggers": [], "Execution Time": 2599.109} diff --git a/dev9/pg16/tpch/sf_10/explain_analyze/15721/8-1.ok b/dev9/pg16/tpch/sf_10/explain_analyze/15721/8-1.ok new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/dev9/pg16/tpch/sf_10/explain_analyze/15721/8-1.res b/dev9/pg16/tpch/sf_10/explain_analyze/15721/8-1.res new file mode 100644 index 0000000000000000000000000000000000000000..d874107ff75a4b1dc57367a0bf608756c20d7896 --- /dev/null +++ b/dev9/pg16/tpch/sf_10/explain_analyze/15721/8-1.res @@ -0,0 +1 @@ +{"Plan": {"Node Type": "Aggregate", "Strategy": "Sorted", "Partial Mode": "Finalize", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 214286.84, "Total Cost": 215780.57, "Plan Rows": 2406, "Plan Width": 64, "Actual Startup Time": 1018.085, "Actual Total Time": 1232.533, "Actual Rows": 2, "Actual Loops": 1, "Output": ["(EXTRACT(year FROM orders.o_orderdate))", "(sum(CASE WHEN (n2.n_name = 'ETHIOPIA'::bpchar) THEN (lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount)) ELSE '0'::numeric END) / sum((lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount))))"], "Group Key": ["(EXTRACT(year FROM orders.o_orderdate))"], "Plans": [{"Node Type": "Gather Merge", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 214286.84, "Total Cost": 215612.15, "Plan Rows": 9624, "Plan Width": 96, "Actual Startup Time": 1015.533, "Actual Total Time": 1232.51, "Actual Rows": 10, "Actual Loops": 1, "Output": ["(EXTRACT(year FROM orders.o_orderdate))", "(PARTIAL sum(CASE WHEN (n2.n_name = 'ETHIOPIA'::bpchar) THEN (lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount)) ELSE '0'::numeric END))", "(PARTIAL sum((lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount))))"], "Workers Planned": 4, "Workers Launched": 4, "Plans": [{"Node Type": "Aggregate", "Strategy": "Sorted", "Partial Mode": "Partial", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 213286.79, "Total Cost": 213465.78, "Plan Rows": 2406, "Plan Width": 96, "Actual Startup Time": 1009.45, "Actual Total Time": 1011.258, "Actual Rows": 2, "Actual Loops": 5, "Output": ["(EXTRACT(year FROM orders.o_orderdate))", "PARTIAL sum(CASE WHEN (n2.n_name = 'ETHIOPIA'::bpchar) THEN (lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount)) ELSE '0'::numeric END)", "PARTIAL sum((lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount)))"], "Group Key": ["(EXTRACT(year FROM orders.o_orderdate))"], "Workers": [{"Worker Number": 0, "Actual Startup Time": 1008.13, "Actual Total Time": 1009.756, "Actual Rows": 2, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 1008.163, "Actual Total Time": 1009.834, "Actual Rows": 2, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 1008.723, "Actual Total Time": 1010.315, "Actual Rows": 2, "Actual Loops": 1}, {"Worker Number": 3, "Actual Startup Time": 1008.268, "Actual Total Time": 1009.879, "Actual Rows": 2, "Actual Loops": 1}], "Plans": [{"Node Type": "Sort", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 213286.79, "Total Cost": 213302.0, "Plan Rows": 6084, "Plan Width": 70, "Actual Startup Time": 1007.592, "Actual Total Time": 1007.903, "Actual Rows": 4974, "Actual Loops": 5, "Output": ["(EXTRACT(year FROM orders.o_orderdate))", "n2.n_name", "lineitem.l_extendedprice", "lineitem.l_discount"], "Sort Key": ["(EXTRACT(year FROM orders.o_orderdate))"], "Sort Method": "quicksort", "Sort Space Used": 687, "Sort Space Type": "Memory", "Workers": [{"Worker Number": 0, "Actual Startup Time": 1006.511, "Actual Total Time": 1006.784, "Actual Rows": 4414, "Actual Loops": 1, "Sort Method": "quicksort", "Sort Space Used": 503, "Sort Space Type": "Memory"}, {"Worker Number": 1, "Actual Startup Time": 1006.501, "Actual Total Time": 1006.787, "Actual Rows": 4533, "Actual Loops": 1, "Sort Method": "quicksort", "Sort Space Used": 511, "Sort Space Type": "Memory"}, {"Worker Number": 2, "Actual Startup Time": 1007.02, "Actual Total Time": 1007.296, "Actual Rows": 4497, "Actual Loops": 1, "Sort Method": "quicksort", "Sort Space Used": 509, "Sort Space Type": "Memory"}, {"Worker Number": 3, "Actual Startup Time": 1006.594, "Actual Total Time": 1006.866, "Actual Rows": 4393, "Actual Loops": 1, "Sort Method": "quicksort", "Sort Space Used": 501, "Sort Space Type": "Memory"}], "Plans": [{"Node Type": "Hash Join", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Join Type": "Inner", "Startup Cost": 5.67, "Total Cost": 212904.38, "Plan Rows": 6084, "Plan Width": 70, "Actual Startup Time": 1.266, "Actual Total Time": 1005.184, "Actual Rows": 4974, "Actual Loops": 5, "Output": ["EXTRACT(year FROM orders.o_orderdate)", "n2.n_name", "lineitem.l_extendedprice", "lineitem.l_discount"], "Inner Unique": true, "Hash Cond": "(supplier.s_nationkey = n2.n_nationkey)", "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.745, "Actual Total Time": 1004.272, "Actual Rows": 4414, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 1.226, "Actual Total Time": 1004.185, "Actual Rows": 4533, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 1.215, "Actual Total Time": 1004.761, "Actual Rows": 4497, "Actual Loops": 1}, {"Worker Number": 3, "Actual Startup Time": 3.044, "Actual Total Time": 1004.355, "Actual Rows": 4393, "Actual Loops": 1}], "Plans": [{"Node Type": "Nested Loop", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Join Type": "Inner", "Startup Cost": 4.1, "Total Cost": 212868.94, "Plan Rows": 6084, "Plan Width": 20, "Actual Startup Time": 1.17, "Actual Total Time": 1002.29, "Actual Rows": 4974, "Actual Loops": 5, "Output": ["lineitem.l_extendedprice", "lineitem.l_discount", "supplier.s_nationkey", "orders.o_orderdate"], "Inner Unique": true, "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.633, "Actual Total Time": 1001.723, "Actual Rows": 4414, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 1.114, "Actual Total Time": 1001.556, "Actual Rows": 4533, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 1.099, "Actual Total Time": 1002.147, "Actual Rows": 4497, "Actual Loops": 1}, {"Worker Number": 3, "Actual Startup Time": 2.929, "Actual Total Time": 1001.716, "Actual Rows": 4393, "Actual Loops": 1}], "Plans": [{"Node Type": "Hash Join", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Join Type": "Inner", "Startup Cost": 3.81, "Total Cost": 210982.62, "Plan Rows": 6084, "Plan Width": 20, "Actual Startup Time": 1.13, "Actual Total Time": 984.533, "Actual Rows": 4974, "Actual Loops": 5, "Output": ["lineitem.l_extendedprice", "lineitem.l_discount", "lineitem.l_suppkey", "orders.o_orderdate"], "Inner Unique": false, "Hash Cond": "(customer.c_nationkey = n1.n_nationkey)", "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.584, "Actual Total Time": 985.363, "Actual Rows": 4414, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 1.067, "Actual Total Time": 984.94, "Actual Rows": 4533, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 1.047, "Actual Total Time": 985.557, "Actual Rows": 4497, "Actual Loops": 1}, {"Worker Number": 3, "Actual Startup Time": 2.885, "Actual Total Time": 985.622, "Actual Rows": 4393, "Actual Loops": 1}], "Plans": [{"Node Type": "Nested Loop", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Join Type": "Inner", "Startup Cost": 1.3, "Total Cost": 210805.2, "Plan Rows": 30418, "Plan Width": 24, "Actual Startup Time": 0.455, "Actual Total Time": 978.904, "Actual Rows": 24632, "Actual Loops": 5, "Output": ["lineitem.l_extendedprice", "lineitem.l_discount", "lineitem.l_suppkey", "orders.o_orderdate", "customer.c_nationkey"], "Inner Unique": true, "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.265, "Actual Total Time": 980.342, "Actual Rows": 21896, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 0.985, "Actual Total Time": 979.753, "Actual Rows": 22162, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 0.413, "Actual Total Time": 980.457, "Actual Rows": 22236, "Actual Loops": 1}, {"Worker Number": 3, "Actual Startup Time": 0.565, "Actual Total Time": 980.489, "Actual Rows": 21954, "Actual Loops": 1}], "Plans": [{"Node Type": "Nested Loop", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Join Type": "Inner", "Startup Cost": 0.88, "Total Cost": 196975.92, "Plan Rows": 30418, "Plan Width": 24, "Actual Startup Time": 0.392, "Actual Total Time": 854.83, "Actual Rows": 24632, "Actual Loops": 5, "Output": ["lineitem.l_extendedprice", "lineitem.l_discount", "lineitem.l_suppkey", "orders.o_orderdate", "orders.o_custkey"], "Inner Unique": true, "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.189, "Actual Total Time": 864.492, "Actual Rows": 21896, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 0.902, "Actual Total Time": 863.075, "Actual Rows": 22162, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 0.336, "Actual Total Time": 863.121, "Actual Rows": 22236, "Actual Loops": 1}, {"Worker Number": 3, "Actual Startup Time": 0.498, "Actual Total Time": 863.495, "Actual Rows": 21954, "Actual Loops": 1}], "Plans": [{"Node Type": "Nested Loop", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Join Type": "Inner", "Startup Cost": 0.44, "Total Cost": 150728.46, "Plan Rows": 99877, "Plan Width": 20, "Actual Startup Time": 0.112, "Actual Total Time": 361.77, "Actual Rows": 80815, "Actual Loops": 5, "Output": ["lineitem.l_extendedprice", "lineitem.l_discount", "lineitem.l_suppkey", "lineitem.l_orderkey"], "Inner Unique": false, "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.112, "Actual Total Time": 386.589, "Actual Rows": 72777, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 0.169, "Actual Total Time": 387.247, "Actual Rows": 72408, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 0.122, "Actual Total Time": 385.268, "Actual Rows": 72391, "Actual Loops": 1}, {"Worker Number": 3, "Actual Startup Time": 0.132, "Actual Total Time": 385.714, "Actual Rows": 71881, "Actual Loops": 1}], "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": true, "Async Capable": false, "Relation Name": "part", "Schema": "public", "Alias": "part", "Startup Cost": 0.0, "Total Cost": 47211.0, "Plan Rows": 3330, "Plan Width": 4, "Actual Startup Time": 0.037, "Actual Total Time": 72.043, "Actual Rows": 2697, "Actual Loops": 5, "Output": ["part.p_partkey", "part.p_name", "part.p_mfgr", "part.p_brand", "part.p_type", "part.p_size", "part.p_container", "part.p_retailprice", "part.p_comment"], "Filter": "((part.p_type)::text = 'SMALL BRUSHED NICKEL'::text)", "Rows Removed by Filter": 397303, "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.018, "Actual Total Time": 65.34, "Actual Rows": 2425, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 0.083, "Actual Total Time": 67.577, "Actual Rows": 2407, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 0.032, "Actual Total Time": 64.797, "Actual Rows": 2421, "Actual Loops": 1}, {"Worker Number": 3, "Actual Startup Time": 0.044, "Actual Total Time": 65.496, "Actual Rows": 2413, "Actual Loops": 1}]}, {"Node Type": "Index Scan", "Parent Relationship": "Inner", "Parallel Aware": false, "Async Capable": false, "Scan Direction": "Forward", "Index Name": "l_pk", "Relation Name": "lineitem", "Schema": "public", "Alias": "lineitem", "Startup Cost": 0.44, "Total Cost": 30.78, "Plan Rows": 31, "Plan Width": 24, "Actual Startup Time": 0.008, "Actual Total Time": 0.101, "Actual Rows": 30, "Actual Loops": 13487, "Output": ["lineitem.l_orderkey", "lineitem.l_partkey", "lineitem.l_suppkey", "lineitem.l_linenumber", "lineitem.l_quantity", "lineitem.l_extendedprice", "lineitem.l_discount", "lineitem.l_tax", "lineitem.l_returnflag", "lineitem.l_linestatus", "lineitem.l_shipdate", "lineitem.l_commitdate", "lineitem.l_receiptdate", "lineitem.l_shipinstruct", "lineitem.l_shipmode", "lineitem.l_comment"], "Index Cond": "(lineitem.l_partkey = part.p_partkey)", "Rows Removed by Index Recheck": 0, "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.009, "Actual Total Time": 0.125, "Actual Rows": 30, "Actual Loops": 2425}, {"Worker Number": 1, "Actual Startup Time": 0.009, "Actual Total Time": 0.126, "Actual Rows": 30, "Actual Loops": 2407}, {"Worker Number": 2, "Actual Startup Time": 0.009, "Actual Total Time": 0.125, "Actual Rows": 30, "Actual Loops": 2421}, {"Worker Number": 3, "Actual Startup Time": 0.009, "Actual Total Time": 0.126, "Actual Rows": 30, "Actual Loops": 2413}]}]}, {"Node Type": "Index Scan", "Parent Relationship": "Inner", "Parallel Aware": false, "Async Capable": false, "Scan Direction": "Forward", "Index Name": "o_ok", "Relation Name": "orders", "Schema": "public", "Alias": "orders", "Startup Cost": 0.43, "Total Cost": 0.46, "Plan Rows": 1, "Plan Width": 12, "Actual Startup Time": 0.006, "Actual Total Time": 0.006, "Actual Rows": 0, "Actual Loops": 404076, "Output": ["orders.o_orderkey", "orders.o_custkey", "orders.o_orderstatus", "orders.o_totalprice", "orders.o_orderdate", "orders.o_orderpriority", "orders.o_clerk", "orders.o_shippriority", "orders.o_comment"], "Index Cond": "(orders.o_orderkey = lineitem.l_orderkey)", "Rows Removed by Index Recheck": 0, "Filter": "((orders.o_orderdate >= '1995-01-01'::date) AND (orders.o_orderdate <= '1996-12-31'::date))", "Rows Removed by Filter": 1, "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.006, "Actual Total Time": 0.006, "Actual Rows": 0, "Actual Loops": 72777}, {"Worker Number": 1, "Actual Startup Time": 0.006, "Actual Total Time": 0.006, "Actual Rows": 0, "Actual Loops": 72408}, {"Worker Number": 2, "Actual Startup Time": 0.006, "Actual Total Time": 0.006, "Actual Rows": 0, "Actual Loops": 72391}, {"Worker Number": 3, "Actual Startup Time": 0.006, "Actual Total Time": 0.006, "Actual Rows": 0, "Actual Loops": 71881}]}]}, {"Node Type": "Index Scan", "Parent Relationship": "Inner", "Parallel Aware": false, "Async Capable": false, "Scan Direction": "Forward", "Index Name": "c_ck", "Relation Name": "customer", "Schema": "public", "Alias": "customer", "Startup Cost": 0.43, "Total Cost": 0.45, "Plan Rows": 1, "Plan Width": 8, "Actual Startup Time": 0.005, "Actual Total Time": 0.005, "Actual Rows": 1, "Actual Loops": 123159, "Output": ["customer.c_custkey", "customer.c_name", "customer.c_address", "customer.c_nationkey", "customer.c_phone", "customer.c_acctbal", "customer.c_mktsegment", "customer.c_comment"], "Index Cond": "(customer.c_custkey = orders.o_custkey)", "Rows Removed by Index Recheck": 0, "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.005, "Actual Total Time": 0.005, "Actual Rows": 1, "Actual Loops": 21896}, {"Worker Number": 1, "Actual Startup Time": 0.005, "Actual Total Time": 0.005, "Actual Rows": 1, "Actual Loops": 22162}, {"Worker Number": 2, "Actual Startup Time": 0.005, "Actual Total Time": 0.005, "Actual Rows": 1, "Actual Loops": 22236}, {"Worker Number": 3, "Actual Startup Time": 0.005, "Actual Total Time": 0.005, "Actual Rows": 1, "Actual Loops": 21954}]}]}, {"Node Type": "Hash", "Parent Relationship": "Inner", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 2.45, "Total Cost": 2.45, "Plan Rows": 5, "Plan Width": 4, "Actual Startup Time": 0.053, "Actual Total Time": 0.054, "Actual Rows": 5, "Actual Loops": 5, "Output": ["n1.n_nationkey"], "Hash Buckets": 1024, "Original Hash Buckets": 1024, "Hash Batches": 1, "Original Hash Batches": 1, "Peak Memory Usage": 9, "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.061, "Actual Total Time": 0.063, "Actual Rows": 5, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 0.056, "Actual Total Time": 0.059, "Actual Rows": 5, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 0.062, "Actual Total Time": 0.063, "Actual Rows": 5, "Actual Loops": 1}, {"Worker Number": 3, "Actual Startup Time": 0.065, "Actual Total Time": 0.067, "Actual Rows": 5, "Actual Loops": 1}], "Plans": [{"Node Type": "Hash Join", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Join Type": "Inner", "Startup Cost": 1.07, "Total Cost": 2.45, "Plan Rows": 5, "Plan Width": 4, "Actual Startup Time": 0.044, "Actual Total Time": 0.051, "Actual Rows": 5, "Actual Loops": 5, "Output": ["n1.n_nationkey"], "Inner Unique": true, "Hash Cond": "(n1.n_regionkey = region.r_regionkey)", "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.052, "Actual Total Time": 0.059, "Actual Rows": 5, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 0.047, "Actual Total Time": 0.055, "Actual Rows": 5, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 0.052, "Actual Total Time": 0.06, "Actual Rows": 5, "Actual Loops": 1}, {"Worker Number": 3, "Actual Startup Time": 0.055, "Actual Total Time": 0.063, "Actual Rows": 5, "Actual Loops": 1}], "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Relation Name": "nation", "Schema": "public", "Alias": "n1", "Startup Cost": 0.0, "Total Cost": 1.25, "Plan Rows": 25, "Plan Width": 8, "Actual Startup Time": 0.002, "Actual Total Time": 0.004, "Actual Rows": 25, "Actual Loops": 5, "Output": ["n1.n_nationkey", "n1.n_name", "n1.n_regionkey", "n1.n_comment"], "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.002, "Actual Total Time": 0.004, "Actual Rows": 25, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 0.002, "Actual Total Time": 0.004, "Actual Rows": 25, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 0.002, "Actual Total Time": 0.004, "Actual Rows": 25, "Actual Loops": 1}, {"Worker Number": 3, "Actual Startup Time": 0.002, "Actual Total Time": 0.004, "Actual Rows": 25, "Actual Loops": 1}]}, {"Node Type": "Hash", "Parent Relationship": "Inner", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 1.06, "Total Cost": 1.06, "Plan Rows": 1, "Plan Width": 4, "Actual Startup Time": 0.023, "Actual Total Time": 0.023, "Actual Rows": 1, "Actual Loops": 5, "Output": ["region.r_regionkey"], "Hash Buckets": 1024, "Original Hash Buckets": 1024, "Hash Batches": 1, "Original Hash Batches": 1, "Peak Memory Usage": 9, "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.031, "Actual Total Time": 0.032, "Actual Rows": 1, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 0.026, "Actual Total Time": 0.027, "Actual Rows": 1, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 0.026, "Actual Total Time": 0.026, "Actual Rows": 1, "Actual Loops": 1}, {"Worker Number": 3, "Actual Startup Time": 0.025, "Actual Total Time": 0.026, "Actual Rows": 1, "Actual Loops": 1}], "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Relation Name": "region", "Schema": "public", "Alias": "region", "Startup Cost": 0.0, "Total Cost": 1.06, "Plan Rows": 1, "Plan Width": 4, "Actual Startup Time": 0.019, "Actual Total Time": 0.02, "Actual Rows": 1, "Actual Loops": 5, "Output": ["region.r_regionkey"], "Filter": "(region.r_name = 'AFRICA'::bpchar)", "Rows Removed by Filter": 4, "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.027, "Actual Total Time": 0.029, "Actual Rows": 1, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 0.022, "Actual Total Time": 0.023, "Actual Rows": 1, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 0.022, "Actual Total Time": 0.023, "Actual Rows": 1, "Actual Loops": 1}, {"Worker Number": 3, "Actual Startup Time": 0.021, "Actual Total Time": 0.023, "Actual Rows": 1, "Actual Loops": 1}]}]}]}]}]}, {"Node Type": "Index Scan", "Parent Relationship": "Inner", "Parallel Aware": false, "Async Capable": false, "Scan Direction": "Forward", "Index Name": "s_sk", "Relation Name": "supplier", "Schema": "public", "Alias": "supplier", "Startup Cost": 0.29, "Total Cost": 0.31, "Plan Rows": 1, "Plan Width": 8, "Actual Startup Time": 0.003, "Actual Total Time": 0.003, "Actual Rows": 1, "Actual Loops": 24872, "Output": ["supplier.s_suppkey", "supplier.s_name", "supplier.s_address", "supplier.s_nationkey", "supplier.s_phone", "supplier.s_acctbal", "supplier.s_comment"], "Index Cond": "(supplier.s_suppkey = lineitem.l_suppkey)", "Rows Removed by Index Recheck": 0, "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.003, "Actual Total Time": 0.003, "Actual Rows": 1, "Actual Loops": 4414}, {"Worker Number": 1, "Actual Startup Time": 0.003, "Actual Total Time": 0.003, "Actual Rows": 1, "Actual Loops": 4533}, {"Worker Number": 2, "Actual Startup Time": 0.003, "Actual Total Time": 0.003, "Actual Rows": 1, "Actual Loops": 4497}, {"Worker Number": 3, "Actual Startup Time": 0.003, "Actual Total Time": 0.003, "Actual Rows": 1, "Actual Loops": 4393}]}]}, {"Node Type": "Hash", "Parent Relationship": "Inner", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 1.25, "Total Cost": 1.25, "Plan Rows": 25, "Plan Width": 30, "Actual Startup Time": 0.036, "Actual Total Time": 0.037, "Actual Rows": 25, "Actual Loops": 5, "Output": ["n2.n_name", "n2.n_nationkey"], "Hash Buckets": 1024, "Original Hash Buckets": 1024, "Hash Batches": 1, "Original Hash Batches": 1, "Peak Memory Usage": 10, "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.04, "Actual Total Time": 0.041, "Actual Rows": 25, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 0.04, "Actual Total Time": 0.04, "Actual Rows": 25, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 0.042, "Actual Total Time": 0.042, "Actual Rows": 25, "Actual Loops": 1}, {"Worker Number": 3, "Actual Startup Time": 0.043, "Actual Total Time": 0.043, "Actual Rows": 25, "Actual Loops": 1}], "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Relation Name": "nation", "Schema": "public", "Alias": "n2", "Startup Cost": 0.0, "Total Cost": 1.25, "Plan Rows": 25, "Plan Width": 30, "Actual Startup Time": 0.019, "Actual Total Time": 0.023, "Actual Rows": 25, "Actual Loops": 5, "Output": ["n2.n_name", "n2.n_nationkey"], "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.022, "Actual Total Time": 0.026, "Actual Rows": 25, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 0.022, "Actual Total Time": 0.025, "Actual Rows": 25, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 0.023, "Actual Total Time": 0.027, "Actual Rows": 25, "Actual Loops": 1}, {"Worker Number": 3, "Actual Startup Time": 0.024, "Actual Total Time": 0.028, "Actual Rows": 25, "Actual Loops": 1}]}]}]}]}]}]}]}, "Planning Time": 2.702, "Triggers": [], "Execution Time": 1232.626} diff --git a/dev9/pg16/tpch/sf_10/explain_analyze/15721/9-1.ok b/dev9/pg16/tpch/sf_10/explain_analyze/15721/9-1.ok new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/dev9/pg16/tpch/sf_10/explain_analyze/15721/9-1.res b/dev9/pg16/tpch/sf_10/explain_analyze/15721/9-1.res new file mode 100644 index 0000000000000000000000000000000000000000..18c8a062a828349a2fa259a1d83c6758db13ff52 --- /dev/null +++ b/dev9/pg16/tpch/sf_10/explain_analyze/15721/9-1.res @@ -0,0 +1 @@ +{"Plan": {"Node Type": "Aggregate", "Strategy": "Sorted", "Partial Mode": "Finalize", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 464843.2, "Total Cost": 496959.61, "Plan Rows": 60150, "Plan Width": 90, "Actual Startup Time": 6006.68, "Actual Total Time": 6284.261, "Actual Rows": 175, "Actual Loops": 1, "Output": ["nation.n_name", "(EXTRACT(year FROM orders.o_orderdate))", "sum(((lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount)) - (partsupp.ps_supplycost * lineitem.l_quantity)))"], "Group Key": ["nation.n_name", "(EXTRACT(year FROM orders.o_orderdate))"], "Plans": [{"Node Type": "Gather Merge", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 464843.2, "Total Cost": 493651.36, "Plan Rows": 240600, "Plan Width": 90, "Actual Startup Time": 6006.664, "Actual Total Time": 6283.655, "Actual Rows": 875, "Actual Loops": 1, "Output": ["nation.n_name", "(EXTRACT(year FROM orders.o_orderdate))", "(PARTIAL sum(((lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount)) - (partsupp.ps_supplycost * lineitem.l_quantity))))"], "Workers Planned": 4, "Workers Launched": 4, "Plans": [{"Node Type": "Sort", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 463843.14, "Total Cost": 463993.52, "Plan Rows": 60150, "Plan Width": 90, "Actual Startup Time": 6000.605, "Actual Total Time": 6000.621, "Actual Rows": 175, "Actual Loops": 5, "Output": ["nation.n_name", "(EXTRACT(year FROM orders.o_orderdate))", "(PARTIAL sum(((lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount)) - (partsupp.ps_supplycost * lineitem.l_quantity))))"], "Sort Key": ["nation.n_name", "(EXTRACT(year FROM orders.o_orderdate)) DESC"], "Sort Method": "quicksort", "Sort Space Used": 46, "Sort Space Type": "Memory", "Workers": [{"Worker Number": 0, "Actual Startup Time": 5999.417, "Actual Total Time": 5999.433, "Actual Rows": 175, "Actual Loops": 1, "Sort Method": "quicksort", "Sort Space Used": 46, "Sort Space Type": "Memory"}, {"Worker Number": 1, "Actual Startup Time": 5998.866, "Actual Total Time": 5998.883, "Actual Rows": 175, "Actual Loops": 1, "Sort Method": "quicksort", "Sort Space Used": 46, "Sort Space Type": "Memory"}, {"Worker Number": 2, "Actual Startup Time": 5999.385, "Actual Total Time": 5999.401, "Actual Rows": 175, "Actual Loops": 1, "Sort Method": "quicksort", "Sort Space Used": 46, "Sort Space Type": "Memory"}, {"Worker Number": 3, "Actual Startup Time": 5999.569, "Actual Total Time": 5999.585, "Actual Rows": 175, "Actual Loops": 1, "Sort Method": "quicksort", "Sort Space Used": 46, "Sort Space Type": "Memory"}], "Plans": [{"Node Type": "Aggregate", "Strategy": "Hashed", "Partial Mode": "Partial", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 458166.1, "Total Cost": 459068.35, "Plan Rows": 60150, "Plan Width": 90, "Actual Startup Time": 5999.848, "Actual Total Time": 6000.3, "Actual Rows": 175, "Actual Loops": 5, "Output": ["nation.n_name", "(EXTRACT(year FROM orders.o_orderdate))", "PARTIAL sum(((lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount)) - (partsupp.ps_supplycost * lineitem.l_quantity)))"], "Group Key": ["nation.n_name", "EXTRACT(year FROM orders.o_orderdate)"], "Planned Partitions": 0, "HashAgg Batches": 1, "Peak Memory Usage": 3217, "Disk Usage": 0, "Workers": [{"Worker Number": 0, "Actual Startup Time": 5998.65, "Actual Total Time": 5999.097, "Actual Rows": 175, "Actual Loops": 1, "HashAgg Batches": 1, "Peak Memory Usage": 3217, "Disk Usage": 0}, {"Worker Number": 1, "Actual Startup Time": 5998.091, "Actual Total Time": 5998.544, "Actual Rows": 175, "Actual Loops": 1, "HashAgg Batches": 1, "Peak Memory Usage": 3217, "Disk Usage": 0}, {"Worker Number": 2, "Actual Startup Time": 5998.622, "Actual Total Time": 5999.073, "Actual Rows": 175, "Actual Loops": 1, "HashAgg Batches": 1, "Peak Memory Usage": 3217, "Disk Usage": 0}, {"Worker Number": 3, "Actual Startup Time": 5998.79, "Actual Total Time": 5999.247, "Actual Rows": 175, "Actual Loops": 1, "HashAgg Batches": 1, "Peak Memory Usage": 3217, "Disk Usage": 0}], "Plans": [{"Node Type": "Nested Loop", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Join Type": "Inner", "Startup Cost": 3545.41, "Total Cost": 446595.66, "Plan Rows": 661168, "Plan Width": 81, "Actual Startup Time": 13.491, "Actual Total Time": 5154.058, "Actual Rows": 650972, "Actual Loops": 5, "Output": ["nation.n_name", "EXTRACT(year FROM orders.o_orderdate)", "lineitem.l_extendedprice", "lineitem.l_discount", "partsupp.ps_supplycost", "lineitem.l_quantity"], "Inner Unique": true, "Workers": [{"Worker Number": 0, "Actual Startup Time": 12.064, "Actual Total Time": 5170.661, "Actual Rows": 639023, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 12.138, "Actual Total Time": 5162.7, "Actual Rows": 628280, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 12.276, "Actual Total Time": 5178.065, "Actual Rows": 637110, "Actual Loops": 1}, {"Worker Number": 3, "Actual Startup Time": 12.387, "Actual Total Time": 5173.862, "Actual Rows": 633189, "Actual Loops": 1}], "Plans": [{"Node Type": "Nested Loop", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Join Type": "Inner", "Startup Cost": 3544.97, "Total Cost": 142098.57, "Plan Rows": 661168, "Plan Width": 53, "Actual Startup Time": 13.422, "Actual Total Time": 1858.889, "Actual Rows": 650972, "Actual Loops": 5, "Output": ["lineitem.l_extendedprice", "lineitem.l_discount", "lineitem.l_quantity", "lineitem.l_orderkey", "partsupp.ps_supplycost", "nation.n_name"], "Inner Unique": false, "Join Filter": "(supplier.s_suppkey = lineitem.l_suppkey)", "Rows Removed by Join Filter": 0, "Workers": [{"Worker Number": 0, "Actual Startup Time": 11.978, "Actual Total Time": 1924.093, "Actual Rows": 639023, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 12.056, "Actual Total Time": 1925.644, "Actual Rows": 628280, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 12.194, "Actual Total Time": 1926.277, "Actual Rows": 637110, "Actual Loops": 1}, {"Worker Number": 3, "Actual Startup Time": 12.304, "Actual Total Time": 1925.065, "Actual Rows": 633189, "Actual Loops": 1}], "Plans": [{"Node Type": "Hash Join", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Join Type": "Inner", "Startup Cost": 3544.53, "Total Cost": 85893.61, "Plan Rows": 88176, "Plan Width": 48, "Actual Startup Time": 13.365, "Actual Total Time": 333.216, "Actual Rows": 86834, "Actual Loops": 5, "Output": ["part.p_partkey", "partsupp.ps_supplycost", "partsupp.ps_suppkey", "partsupp.ps_partkey", "supplier.s_suppkey", "nation.n_name"], "Inner Unique": true, "Hash Cond": "(supplier.s_nationkey = nation.n_nationkey)", "Workers": [{"Worker Number": 0, "Actual Startup Time": 11.926, "Actual Total Time": 329.533, "Actual Rows": 85116, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 11.984, "Actual Total Time": 326.853, "Actual Rows": 83784, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 12.116, "Actual Total Time": 330.565, "Actual Rows": 85080, "Actual Loops": 1}, {"Worker Number": 3, "Actual Startup Time": 12.235, "Actual Total Time": 329.051, "Actual Rows": 84480, "Actual Loops": 1}], "Plans": [{"Node Type": "Hash Join", "Parent Relationship": "Outer", "Parallel Aware": true, "Async Capable": false, "Join Type": "Inner", "Startup Cost": 3542.97, "Total Cost": 85621.35, "Plan Rows": 88176, "Plan Width": 26, "Actual Startup Time": 13.276, "Actual Total Time": 305.974, "Actual Rows": 86834, "Actual Loops": 5, "Output": ["part.p_partkey", "partsupp.ps_supplycost", "partsupp.ps_suppkey", "partsupp.ps_partkey", "supplier.s_suppkey", "supplier.s_nationkey"], "Inner Unique": true, "Hash Cond": "(partsupp.ps_suppkey = supplier.s_suppkey)", "Workers": [{"Worker Number": 0, "Actual Startup Time": 11.822, "Actual Total Time": 302.861, "Actual Rows": 85116, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 11.879, "Actual Total Time": 300.058, "Actual Rows": 83784, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 12.011, "Actual Total Time": 303.781, "Actual Rows": 85080, "Actual Loops": 1}, {"Worker Number": 3, "Actual Startup Time": 12.128, "Actual Total Time": 302.199, "Actual Rows": 84480, "Actual Loops": 1}], "Plans": [{"Node Type": "Nested Loop", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Join Type": "Inner", "Startup Cost": 0.43, "Total Cost": 81847.34, "Plan Rows": 88176, "Plan Width": 18, "Actual Startup Time": 0.106, "Actual Total Time": 242.965, "Actual Rows": 86834, "Actual Loops": 5, "Output": ["part.p_partkey", "partsupp.ps_supplycost", "partsupp.ps_suppkey", "partsupp.ps_partkey"], "Inner Unique": false, "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.115, "Actual Total Time": 242.766, "Actual Rows": 85116, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 0.131, "Actual Total Time": 240.498, "Actual Rows": 83784, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 0.137, "Actual Total Time": 243.612, "Actual Rows": 85080, "Actual Loops": 1}, {"Worker Number": 3, "Actual Startup Time": 0.114, "Actual Total Time": 241.224, "Actual Rows": 84480, "Actual Loops": 1}], "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": true, "Async Capable": false, "Relation Name": "part", "Schema": "public", "Alias": "part", "Startup Cost": 0.0, "Total Cost": 47211.0, "Plan Rows": 22044, "Plan Width": 4, "Actual Startup Time": 0.029, "Actual Total Time": 113.22, "Actual Rows": 21709, "Actual Loops": 5, "Output": ["part.p_partkey", "part.p_name", "part.p_mfgr", "part.p_brand", "part.p_type", "part.p_size", "part.p_container", "part.p_retailprice", "part.p_comment"], "Filter": "((part.p_name)::text ~~ '%forest%'::text)", "Rows Removed by Filter": 378291, "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.028, "Actual Total Time": 111.914, "Actual Rows": 21279, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 0.034, "Actual Total Time": 110.665, "Actual Rows": 20946, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 0.039, "Actual Total Time": 112.657, "Actual Rows": 21270, "Actual Loops": 1}, {"Worker Number": 3, "Actual Startup Time": 0.03, "Actual Total Time": 111.079, "Actual Rows": 21120, "Actual Loops": 1}]}, {"Node Type": "Index Scan", "Parent Relationship": "Inner", "Parallel Aware": false, "Async Capable": false, "Scan Direction": "Forward", "Index Name": "ps_pk", "Relation Name": "partsupp", "Schema": "public", "Alias": "partsupp", "Startup Cost": 0.43, "Total Cost": 1.53, "Plan Rows": 4, "Plan Width": 14, "Actual Startup Time": 0.004, "Actual Total Time": 0.005, "Actual Rows": 4, "Actual Loops": 108543, "Output": ["partsupp.ps_partkey", "partsupp.ps_suppkey", "partsupp.ps_availqty", "partsupp.ps_supplycost", "partsupp.ps_comment"], "Index Cond": "(partsupp.ps_partkey = part.p_partkey)", "Rows Removed by Index Recheck": 0, "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.004, "Actual Total Time": 0.005, "Actual Rows": 4, "Actual Loops": 21279}, {"Worker Number": 1, "Actual Startup Time": 0.004, "Actual Total Time": 0.005, "Actual Rows": 4, "Actual Loops": 20946}, {"Worker Number": 2, "Actual Startup Time": 0.004, "Actual Total Time": 0.005, "Actual Rows": 4, "Actual Loops": 21270}, {"Worker Number": 3, "Actual Startup Time": 0.004, "Actual Total Time": 0.005, "Actual Rows": 4, "Actual Loops": 21120}]}]}, {"Node Type": "Hash", "Parent Relationship": "Inner", "Parallel Aware": true, "Async Capable": false, "Startup Cost": 2807.24, "Total Cost": 2807.24, "Plan Rows": 58824, "Plan Width": 8, "Actual Startup Time": 12.793, "Actual Total Time": 12.794, "Actual Rows": 20000, "Actual Loops": 5, "Output": ["supplier.s_suppkey", "supplier.s_nationkey"], "Hash Buckets": 131072, "Original Hash Buckets": 131072, "Hash Batches": 1, "Original Hash Batches": 1, "Peak Memory Usage": 4992, "Workers": [{"Worker Number": 0, "Actual Startup Time": 11.68, "Actual Total Time": 11.681, "Actual Rows": 16227, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 11.715, "Actual Total Time": 11.716, "Actual Rows": 16298, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 11.84, "Actual Total Time": 11.841, "Actual Rows": 16956, "Actual Loops": 1}, {"Worker Number": 3, "Actual Startup Time": 11.973, "Actual Total Time": 11.974, "Actual Rows": 16975, "Actual Loops": 1}], "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": true, "Async Capable": false, "Relation Name": "supplier", "Schema": "public", "Alias": "supplier", "Startup Cost": 0.0, "Total Cost": 2807.24, "Plan Rows": 58824, "Plan Width": 8, "Actual Startup Time": 0.011, "Actual Total Time": 5.701, "Actual Rows": 20000, "Actual Loops": 5, "Output": ["supplier.s_suppkey", "supplier.s_nationkey"], "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.011, "Actual Total Time": 5.295, "Actual Rows": 16227, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 0.012, "Actual Total Time": 5.29, "Actual Rows": 16298, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 0.014, "Actual Total Time": 5.463, "Actual Rows": 16956, "Actual Loops": 1}, {"Worker Number": 3, "Actual Startup Time": 0.013, "Actual Total Time": 5.472, "Actual Rows": 16975, "Actual Loops": 1}]}]}]}, {"Node Type": "Hash", "Parent Relationship": "Inner", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 1.25, "Total Cost": 1.25, "Plan Rows": 25, "Plan Width": 30, "Actual Startup Time": 0.037, "Actual Total Time": 0.037, "Actual Rows": 25, "Actual Loops": 5, "Output": ["nation.n_name", "nation.n_nationkey"], "Hash Buckets": 1024, "Original Hash Buckets": 1024, "Hash Batches": 1, "Original Hash Batches": 1, "Peak Memory Usage": 10, "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.041, "Actual Total Time": 0.041, "Actual Rows": 25, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 0.041, "Actual Total Time": 0.042, "Actual Rows": 25, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 0.042, "Actual Total Time": 0.042, "Actual Rows": 25, "Actual Loops": 1}, {"Worker Number": 3, "Actual Startup Time": 0.043, "Actual Total Time": 0.044, "Actual Rows": 25, "Actual Loops": 1}], "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Relation Name": "nation", "Schema": "public", "Alias": "nation", "Startup Cost": 0.0, "Total Cost": 1.25, "Plan Rows": 25, "Plan Width": 30, "Actual Startup Time": 0.021, "Actual Total Time": 0.025, "Actual Rows": 25, "Actual Loops": 5, "Output": ["nation.n_name", "nation.n_nationkey"], "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.024, "Actual Total Time": 0.028, "Actual Rows": 25, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 0.024, "Actual Total Time": 0.028, "Actual Rows": 25, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 0.025, "Actual Total Time": 0.029, "Actual Rows": 25, "Actual Loops": 1}, {"Worker Number": 3, "Actual Startup Time": 0.026, "Actual Total Time": 0.03, "Actual Rows": 25, "Actual Loops": 1}]}]}]}, {"Node Type": "Index Scan", "Parent Relationship": "Inner", "Parallel Aware": false, "Async Capable": false, "Scan Direction": "Forward", "Index Name": "l_pk_sk", "Relation Name": "lineitem", "Schema": "public", "Alias": "lineitem", "Startup Cost": 0.44, "Total Cost": 0.62, "Plan Rows": 1, "Plan Width": 29, "Actual Startup Time": 0.004, "Actual Total Time": 0.015, "Actual Rows": 7, "Actual Loops": 434172, "Output": ["lineitem.l_orderkey", "lineitem.l_partkey", "lineitem.l_suppkey", "lineitem.l_linenumber", "lineitem.l_quantity", "lineitem.l_extendedprice", "lineitem.l_discount", "lineitem.l_tax", "lineitem.l_returnflag", "lineitem.l_linestatus", "lineitem.l_shipdate", "lineitem.l_commitdate", "lineitem.l_receiptdate", "lineitem.l_shipinstruct", "lineitem.l_shipmode", "lineitem.l_comment"], "Index Cond": "((lineitem.l_partkey = partsupp.ps_partkey) AND (lineitem.l_suppkey = partsupp.ps_suppkey))", "Rows Removed by Index Recheck": 0, "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.004, "Actual Total Time": 0.016, "Actual Rows": 8, "Actual Loops": 85116}, {"Worker Number": 1, "Actual Startup Time": 0.004, "Actual Total Time": 0.017, "Actual Rows": 7, "Actual Loops": 83784}, {"Worker Number": 2, "Actual Startup Time": 0.004, "Actual Total Time": 0.016, "Actual Rows": 7, "Actual Loops": 85080}, {"Worker Number": 3, "Actual Startup Time": 0.004, "Actual Total Time": 0.017, "Actual Rows": 7, "Actual Loops": 84480}]}]}, {"Node Type": "Index Scan", "Parent Relationship": "Inner", "Parallel Aware": false, "Async Capable": false, "Scan Direction": "Forward", "Index Name": "o_ok", "Relation Name": "orders", "Schema": "public", "Alias": "orders", "Startup Cost": 0.43, "Total Cost": 0.46, "Plan Rows": 1, "Plan Width": 8, "Actual Startup Time": 0.004, "Actual Total Time": 0.004, "Actual Rows": 1, "Actual Loops": 3254858, "Output": ["orders.o_orderkey", "orders.o_custkey", "orders.o_orderstatus", "orders.o_totalprice", "orders.o_orderdate", "orders.o_orderpriority", "orders.o_clerk", "orders.o_shippriority", "orders.o_comment"], "Index Cond": "(orders.o_orderkey = lineitem.l_orderkey)", "Rows Removed by Index Recheck": 0, "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.004, "Actual Total Time": 0.004, "Actual Rows": 1, "Actual Loops": 639023}, {"Worker Number": 1, "Actual Startup Time": 0.005, "Actual Total Time": 0.005, "Actual Rows": 1, "Actual Loops": 628280}, {"Worker Number": 2, "Actual Startup Time": 0.004, "Actual Total Time": 0.004, "Actual Rows": 1, "Actual Loops": 637110}, {"Worker Number": 3, "Actual Startup Time": 0.005, "Actual Total Time": 0.005, "Actual Rows": 1, "Actual Loops": 633189}]}]}]}]}]}]}, "Planning Time": 4.277, "Triggers": [], "Execution Time": 6284.792} diff --git a/dev9/pg17/tpch/sf_1/explain/15721/1-1.ok b/dev9/pg17/tpch/sf_1/explain/15721/1-1.ok new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/dev9/pg17/tpch/sf_1/explain/15721/1-1.res b/dev9/pg17/tpch/sf_1/explain/15721/1-1.res new file mode 100644 index 0000000000000000000000000000000000000000..f5f374b7604217564858a953795f65c493b98462 --- /dev/null +++ b/dev9/pg17/tpch/sf_1/explain/15721/1-1.res @@ -0,0 +1 @@ +{"Plan": {"Node Type": "Aggregate", "Strategy": "Sorted", "Partial Mode": "Finalize", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 169587.43, "Total Cost": 169592.2, "Plan Rows": 6, "Plan Width": 236, "Output": ["l_returnflag", "l_linestatus", "sum(l_quantity)", "sum(l_extendedprice)", "sum((l_extendedprice * ('1'::numeric - l_discount)))", "sum(((l_extendedprice * ('1'::numeric - l_discount)) * ('1'::numeric + l_tax)))", "avg(l_quantity)", "avg(l_extendedprice)", "avg(l_discount)", "count(*)"], "Group Key": ["lineitem.l_returnflag", "lineitem.l_linestatus"], "Plans": [{"Node Type": "Gather Merge", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 169587.43, "Total Cost": 169591.06, "Plan Rows": 30, "Plan Width": 236, "Output": ["l_returnflag", "l_linestatus", "(PARTIAL sum(l_quantity))", "(PARTIAL sum(l_extendedprice))", "(PARTIAL sum((l_extendedprice * ('1'::numeric - l_discount))))", "(PARTIAL sum(((l_extendedprice * ('1'::numeric - l_discount)) * ('1'::numeric + l_tax))))", "(PARTIAL avg(l_quantity))", "(PARTIAL avg(l_extendedprice))", "(PARTIAL avg(l_discount))", "(PARTIAL count(*))"], "Workers Planned": 5, "Plans": [{"Node Type": "Sort", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 168587.35, "Total Cost": 168587.37, "Plan Rows": 6, "Plan Width": 236, "Output": ["l_returnflag", "l_linestatus", "(PARTIAL sum(l_quantity))", "(PARTIAL sum(l_extendedprice))", "(PARTIAL sum((l_extendedprice * ('1'::numeric - l_discount))))", "(PARTIAL sum(((l_extendedprice * ('1'::numeric - l_discount)) * ('1'::numeric + l_tax))))", "(PARTIAL avg(l_quantity))", "(PARTIAL avg(l_extendedprice))", "(PARTIAL avg(l_discount))", "(PARTIAL count(*))"], "Sort Key": ["lineitem.l_returnflag", "lineitem.l_linestatus"], "Plans": [{"Node Type": "Aggregate", "Strategy": "Hashed", "Partial Mode": "Partial", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 168587.14, "Total Cost": 168587.27, "Plan Rows": 6, "Plan Width": 236, "Output": ["l_returnflag", "l_linestatus", "PARTIAL sum(l_quantity)", "PARTIAL sum(l_extendedprice)", "PARTIAL sum((l_extendedprice * ('1'::numeric - l_discount)))", "PARTIAL sum(((l_extendedprice * ('1'::numeric - l_discount)) * ('1'::numeric + l_tax)))", "PARTIAL avg(l_quantity)", "PARTIAL avg(l_extendedprice)", "PARTIAL avg(l_discount)", "PARTIAL count(*)"], "Group Key": ["lineitem.l_returnflag", "lineitem.l_linestatus"], "Planned Partitions": 0, "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": true, "Async Capable": false, "Relation Name": "lineitem", "Schema": "public", "Alias": "lineitem", "Startup Cost": 0.0, "Total Cost": 127558.04, "Plan Rows": 1172260, "Plan Width": 25, "Output": ["l_orderkey", "l_partkey", "l_suppkey", "l_linenumber", "l_quantity", "l_extendedprice", "l_discount", "l_tax", "l_returnflag", "l_linestatus", "l_shipdate", "l_commitdate", "l_receiptdate", "l_shipinstruct", "l_shipmode", "l_comment"], "Filter": "(lineitem.l_shipdate <= '1998-08-07 23:59:57'::timestamp without time zone)"}]}]}]}]}} diff --git a/dev9/pg17/tpch/sf_1/explain/15721/10-1.ok b/dev9/pg17/tpch/sf_1/explain/15721/10-1.ok new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/dev9/pg17/tpch/sf_1/explain/15721/10-1.res b/dev9/pg17/tpch/sf_1/explain/15721/10-1.res new file mode 100644 index 0000000000000000000000000000000000000000..898eee83c8ca28c8448b0a7254857ebb989c1b21 --- /dev/null +++ b/dev9/pg17/tpch/sf_1/explain/15721/10-1.res @@ -0,0 +1 @@ +{"Plan": {"Node Type": "Limit", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 69751.34, "Total Cost": 69751.39, "Plan Rows": 20, "Plan Width": 202, "Output": ["customer.c_custkey", "customer.c_name", "(sum((lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount))))", "customer.c_acctbal", "nation.n_name", "customer.c_address", "customer.c_phone", "customer.c_comment"], "Plans": [{"Node Type": "Sort", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 69751.34, "Total Cost": 69885.22, "Plan Rows": 53552, "Plan Width": 202, "Output": ["customer.c_custkey", "customer.c_name", "(sum((lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount))))", "customer.c_acctbal", "nation.n_name", "customer.c_address", "customer.c_phone", "customer.c_comment"], "Sort Key": ["(sum((lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount)))) DESC"], "Plans": [{"Node Type": "Aggregate", "Strategy": "Hashed", "Partial Mode": "Simple", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 67656.94, "Total Cost": 68326.34, "Plan Rows": 53552, "Plan Width": 202, "Output": ["customer.c_custkey", "customer.c_name", "sum((lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount)))", "customer.c_acctbal", "nation.n_name", "customer.c_address", "customer.c_phone", "customer.c_comment"], "Group Key": ["customer.c_custkey", "nation.n_name"], "Planned Partitions": 0, "Plans": [{"Node Type": "Gather", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 6616.43, "Total Cost": 66987.54, "Plan Rows": 53552, "Plan Width": 182, "Output": ["customer.c_custkey", "nation.n_name", "customer.c_name", "lineitem.l_extendedprice", "lineitem.l_discount", "customer.c_acctbal", "customer.c_address", "customer.c_phone", "customer.c_comment"], "Workers Planned": 3, "Single Copy": false, "Plans": [{"Node Type": "Hash Join", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Join Type": "Inner", "Startup Cost": 5616.43, "Total Cost": 60632.34, "Plan Rows": 17275, "Plan Width": 182, "Output": ["customer.c_custkey", "nation.n_name", "customer.c_name", "lineitem.l_extendedprice", "lineitem.l_discount", "customer.c_acctbal", "customer.c_address", "customer.c_phone", "customer.c_comment"], "Inner Unique": true, "Hash Cond": "(customer.c_nationkey = nation.n_nationkey)", "Plans": [{"Node Type": "Hash Join", "Parent Relationship": "Outer", "Parallel Aware": true, "Async Capable": false, "Join Type": "Inner", "Startup Cost": 5614.86, "Total Cost": 60577.74, "Plan Rows": 17275, "Plan Width": 160, "Output": ["customer.c_custkey", "customer.c_name", "customer.c_acctbal", "customer.c_address", "customer.c_phone", "customer.c_comment", "customer.c_nationkey", "lineitem.l_extendedprice", "lineitem.l_discount"], "Inner Unique": true, "Hash Cond": "(orders.o_custkey = customer.c_custkey)", "Plans": [{"Node Type": "Nested Loop", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Join Type": "Inner", "Startup Cost": 614.62, "Total Cost": 55532.14, "Plan Rows": 17275, "Plan Width": 16, "Output": ["orders.o_custkey", "lineitem.l_extendedprice", "lineitem.l_discount"], "Inner Unique": false, "Plans": [{"Node Type": "Bitmap Heap Scan", "Parent Relationship": "Outer", "Parallel Aware": true, "Async Capable": false, "Relation Name": "orders", "Schema": "public", "Alias": "orders", "Startup Cost": 614.18, "Total Cost": 27003.47, "Plan Rows": 17619, "Plan Width": 8, "Output": ["orders.o_orderkey", "orders.o_custkey", "orders.o_orderstatus", "orders.o_totalprice", "orders.o_orderdate", "orders.o_orderpriority", "orders.o_clerk", "orders.o_shippriority", "orders.o_comment"], "Recheck Cond": "((orders.o_orderdate >= '1993-02-01'::date) AND (orders.o_orderdate < '1993-05-01 00:00:00'::timestamp without time zone))", "Plans": [{"Node Type": "Bitmap Index Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Index Name": "o_od", "Startup Cost": 0.0, "Total Cost": 600.53, "Plan Rows": 54620, "Plan Width": 0, "Index Cond": "((orders.o_orderdate >= '1993-02-01'::date) AND (orders.o_orderdate < '1993-05-01 00:00:00'::timestamp without time zone))"}]}, {"Node Type": "Index Scan", "Parent Relationship": "Inner", "Parallel Aware": false, "Async Capable": false, "Scan Direction": "Forward", "Index Name": "l_ok", "Relation Name": "lineitem", "Schema": "public", "Alias": "lineitem", "Startup Cost": 0.43, "Total Cost": 1.61, "Plan Rows": 1, "Plan Width": 16, "Output": ["lineitem.l_orderkey", "lineitem.l_partkey", "lineitem.l_suppkey", "lineitem.l_linenumber", "lineitem.l_quantity", "lineitem.l_extendedprice", "lineitem.l_discount", "lineitem.l_tax", "lineitem.l_returnflag", "lineitem.l_linestatus", "lineitem.l_shipdate", "lineitem.l_commitdate", "lineitem.l_receiptdate", "lineitem.l_shipinstruct", "lineitem.l_shipmode", "lineitem.l_comment"], "Index Cond": "(lineitem.l_orderkey = orders.o_orderkey)", "Filter": "(lineitem.l_returnflag = 'R'::bpchar)"}]}, {"Node Type": "Hash", "Parent Relationship": "Inner", "Parallel Aware": true, "Async Capable": false, "Startup Cost": 4219.0, "Total Cost": 4219.0, "Plan Rows": 62500, "Plan Width": 148, "Output": ["customer.c_custkey", "customer.c_name", "customer.c_acctbal", "customer.c_address", "customer.c_phone", "customer.c_comment", "customer.c_nationkey"], "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": true, "Async Capable": false, "Relation Name": "customer", "Schema": "public", "Alias": "customer", "Startup Cost": 0.0, "Total Cost": 4219.0, "Plan Rows": 62500, "Plan Width": 148, "Output": ["customer.c_custkey", "customer.c_name", "customer.c_acctbal", "customer.c_address", "customer.c_phone", "customer.c_comment", "customer.c_nationkey"]}]}]}, {"Node Type": "Hash", "Parent Relationship": "Inner", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 1.25, "Total Cost": 1.25, "Plan Rows": 25, "Plan Width": 30, "Output": ["nation.n_name", "nation.n_nationkey"], "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Relation Name": "nation", "Schema": "public", "Alias": "nation", "Startup Cost": 0.0, "Total Cost": 1.25, "Plan Rows": 25, "Plan Width": 30, "Output": ["nation.n_name", "nation.n_nationkey"]}]}]}]}]}]}]}} diff --git a/dev9/pg17/tpch/sf_1/explain/15721/11-1.ok b/dev9/pg17/tpch/sf_1/explain/15721/11-1.ok new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/dev9/pg17/tpch/sf_1/explain/15721/11-1.res b/dev9/pg17/tpch/sf_1/explain/15721/11-1.res new file mode 100644 index 0000000000000000000000000000000000000000..9b39d970c336feacc7e1c4749856c27e3bd0452f --- /dev/null +++ b/dev9/pg17/tpch/sf_1/explain/15721/11-1.res @@ -0,0 +1 @@ +{"Plan": {"Node Type": "Sort", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 5906.96, "Total Cost": 5933.63, "Plan Rows": 10667, "Plan Width": 36, "Output": ["partsupp.ps_partkey", "(sum((partsupp.ps_supplycost * (partsupp.ps_availqty)::numeric)))"], "Sort Key": ["(sum((partsupp.ps_supplycost * (partsupp.ps_availqty)::numeric))) DESC"], "Plans": [{"Node Type": "Aggregate", "Strategy": "Plain", "Partial Mode": "Simple", "Parent Relationship": "InitPlan", "Subplan Name": "InitPlan 1", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 2316.64, "Total Cost": 2316.65, "Plan Rows": 1, "Plan Width": 32, "Output": ["(sum((partsupp_1.ps_supplycost * (partsupp_1.ps_availqty)::numeric)) * 0.0001000000)"], "Plans": [{"Node Type": "Nested Loop", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Join Type": "Inner", "Startup Cost": 4.91, "Total Cost": 2076.64, "Plan Rows": 32000, "Plan Width": 10, "Output": ["partsupp_1.ps_supplycost", "partsupp_1.ps_availqty"], "Inner Unique": false, "Plans": [{"Node Type": "Nested Loop", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Join Type": "Inner", "Startup Cost": 4.48, "Total Cost": 226.37, "Plan Rows": 400, "Plan Width": 4, "Output": ["supplier_1.s_suppkey"], "Inner Unique": false, "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Relation Name": "nation", "Schema": "public", "Alias": "nation_1", "Startup Cost": 0.0, "Total Cost": 1.31, "Plan Rows": 1, "Plan Width": 4, "Output": ["nation_1.n_nationkey", "nation_1.n_name", "nation_1.n_regionkey", "nation_1.n_comment"], "Filter": "(nation_1.n_name = 'CHINA'::bpchar)"}, {"Node Type": "Bitmap Heap Scan", "Parent Relationship": "Inner", "Parallel Aware": false, "Async Capable": false, "Relation Name": "supplier", "Schema": "public", "Alias": "supplier_1", "Startup Cost": 4.48, "Total Cost": 221.06, "Plan Rows": 400, "Plan Width": 8, "Output": ["supplier_1.s_suppkey", "supplier_1.s_name", "supplier_1.s_address", "supplier_1.s_nationkey", "supplier_1.s_phone", "supplier_1.s_acctbal", "supplier_1.s_comment"], "Recheck Cond": "(supplier_1.s_nationkey = nation_1.n_nationkey)", "Plans": [{"Node Type": "Bitmap Index Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Index Name": "s_nk", "Startup Cost": 0.0, "Total Cost": 4.38, "Plan Rows": 400, "Plan Width": 0, "Index Cond": "(supplier_1.s_nationkey = nation_1.n_nationkey)"}]}]}, {"Node Type": "Index Scan", "Parent Relationship": "Inner", "Parallel Aware": false, "Async Capable": false, "Scan Direction": "Forward", "Index Name": "ps_sk", "Relation Name": "partsupp", "Schema": "public", "Alias": "partsupp_1", "Startup Cost": 0.42, "Total Cost": 3.83, "Plan Rows": 80, "Plan Width": 14, "Output": ["partsupp_1.ps_partkey", "partsupp_1.ps_suppkey", "partsupp_1.ps_availqty", "partsupp_1.ps_supplycost", "partsupp_1.ps_comment"], "Index Cond": "(partsupp_1.ps_suppkey = supplier_1.s_suppkey)"}]}]}, {"Node Type": "Aggregate", "Strategy": "Hashed", "Partial Mode": "Simple", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 2396.64, "Total Cost": 2876.64, "Plan Rows": 10667, "Plan Width": 36, "Output": ["partsupp.ps_partkey", "sum((partsupp.ps_supplycost * (partsupp.ps_availqty)::numeric))"], "Group Key": ["partsupp.ps_partkey"], "Filter": "(sum((partsupp.ps_supplycost * (partsupp.ps_availqty)::numeric)) > (InitPlan 1).col1)", "Planned Partitions": 0, "Plans": [{"Node Type": "Nested Loop", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Join Type": "Inner", "Startup Cost": 4.91, "Total Cost": 2076.64, "Plan Rows": 32000, "Plan Width": 14, "Output": ["partsupp.ps_partkey", "partsupp.ps_supplycost", "partsupp.ps_availqty"], "Inner Unique": false, "Plans": [{"Node Type": "Nested Loop", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Join Type": "Inner", "Startup Cost": 4.48, "Total Cost": 226.37, "Plan Rows": 400, "Plan Width": 4, "Output": ["supplier.s_suppkey"], "Inner Unique": false, "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Relation Name": "nation", "Schema": "public", "Alias": "nation", "Startup Cost": 0.0, "Total Cost": 1.31, "Plan Rows": 1, "Plan Width": 4, "Output": ["nation.n_nationkey", "nation.n_name", "nation.n_regionkey", "nation.n_comment"], "Filter": "(nation.n_name = 'CHINA'::bpchar)"}, {"Node Type": "Bitmap Heap Scan", "Parent Relationship": "Inner", "Parallel Aware": false, "Async Capable": false, "Relation Name": "supplier", "Schema": "public", "Alias": "supplier", "Startup Cost": 4.48, "Total Cost": 221.06, "Plan Rows": 400, "Plan Width": 8, "Output": ["supplier.s_suppkey", "supplier.s_name", "supplier.s_address", "supplier.s_nationkey", "supplier.s_phone", "supplier.s_acctbal", "supplier.s_comment"], "Recheck Cond": "(supplier.s_nationkey = nation.n_nationkey)", "Plans": [{"Node Type": "Bitmap Index Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Index Name": "s_nk", "Startup Cost": 0.0, "Total Cost": 4.38, "Plan Rows": 400, "Plan Width": 0, "Index Cond": "(supplier.s_nationkey = nation.n_nationkey)"}]}]}, {"Node Type": "Index Scan", "Parent Relationship": "Inner", "Parallel Aware": false, "Async Capable": false, "Scan Direction": "Forward", "Index Name": "ps_sk", "Relation Name": "partsupp", "Schema": "public", "Alias": "partsupp", "Startup Cost": 0.42, "Total Cost": 3.83, "Plan Rows": 80, "Plan Width": 18, "Output": ["partsupp.ps_partkey", "partsupp.ps_suppkey", "partsupp.ps_availqty", "partsupp.ps_supplycost", "partsupp.ps_comment"], "Index Cond": "(partsupp.ps_suppkey = supplier.s_suppkey)"}]}]}]}} diff --git a/dev9/pg17/tpch/sf_1/explain/15721/12-1.ok b/dev9/pg17/tpch/sf_1/explain/15721/12-1.ok new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/dev9/pg17/tpch/sf_1/explain/15721/12-1.res b/dev9/pg17/tpch/sf_1/explain/15721/12-1.res new file mode 100644 index 0000000000000000000000000000000000000000..ceb13330206728c43bf705f9f9014c2fe785a099 --- /dev/null +++ b/dev9/pg17/tpch/sf_1/explain/15721/12-1.res @@ -0,0 +1 @@ +{"Plan": {"Node Type": "Aggregate", "Strategy": "Sorted", "Partial Mode": "Finalize", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 135699.5, "Total Cost": 135820.2, "Plan Rows": 7, "Plan Width": 27, "Output": ["lineitem.l_shipmode", "sum(CASE WHEN ((orders.o_orderpriority = '1-URGENT'::bpchar) OR (orders.o_orderpriority = '2-HIGH'::bpchar)) THEN 1 ELSE 0 END)", "sum(CASE WHEN ((orders.o_orderpriority <> '1-URGENT'::bpchar) AND (orders.o_orderpriority <> '2-HIGH'::bpchar)) THEN 1 ELSE 0 END)"], "Group Key": ["lineitem.l_shipmode"], "Plans": [{"Node Type": "Gather Merge", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 135699.5, "Total Cost": 135819.86, "Plan Rows": 35, "Plan Width": 27, "Output": ["lineitem.l_shipmode", "(PARTIAL sum(CASE WHEN ((orders.o_orderpriority = '1-URGENT'::bpchar) OR (orders.o_orderpriority = '2-HIGH'::bpchar)) THEN 1 ELSE 0 END))", "(PARTIAL sum(CASE WHEN ((orders.o_orderpriority <> '1-URGENT'::bpchar) AND (orders.o_orderpriority <> '2-HIGH'::bpchar)) THEN 1 ELSE 0 END))"], "Workers Planned": 5, "Plans": [{"Node Type": "Aggregate", "Strategy": "Sorted", "Partial Mode": "Partial", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 134699.42, "Total Cost": 134815.57, "Plan Rows": 7, "Plan Width": 27, "Output": ["lineitem.l_shipmode", "PARTIAL sum(CASE WHEN ((orders.o_orderpriority = '1-URGENT'::bpchar) OR (orders.o_orderpriority = '2-HIGH'::bpchar)) THEN 1 ELSE 0 END)", "PARTIAL sum(CASE WHEN ((orders.o_orderpriority <> '1-URGENT'::bpchar) AND (orders.o_orderpriority <> '2-HIGH'::bpchar)) THEN 1 ELSE 0 END)"], "Group Key": ["lineitem.l_shipmode"], "Plans": [{"Node Type": "Sort", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 134699.42, "Total Cost": 134713.93, "Plan Rows": 5804, "Plan Width": 27, "Output": ["lineitem.l_shipmode", "orders.o_orderpriority"], "Sort Key": ["lineitem.l_shipmode"], "Plans": [{"Node Type": "Nested Loop", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Join Type": "Inner", "Startup Cost": 10060.08, "Total Cost": 134336.59, "Plan Rows": 5804, "Plan Width": 27, "Output": ["lineitem.l_shipmode", "orders.o_orderpriority"], "Inner Unique": true, "Plans": [{"Node Type": "Bitmap Heap Scan", "Parent Relationship": "Outer", "Parallel Aware": true, "Async Capable": false, "Relation Name": "lineitem", "Schema": "public", "Alias": "lineitem", "Startup Cost": 10059.66, "Total Cost": 126743.53, "Plan Rows": 5804, "Plan Width": 15, "Output": ["lineitem.l_orderkey", "lineitem.l_partkey", "lineitem.l_suppkey", "lineitem.l_linenumber", "lineitem.l_quantity", "lineitem.l_extendedprice", "lineitem.l_discount", "lineitem.l_tax", "lineitem.l_returnflag", "lineitem.l_linestatus", "lineitem.l_shipdate", "lineitem.l_commitdate", "lineitem.l_receiptdate", "lineitem.l_shipinstruct", "lineitem.l_shipmode", "lineitem.l_comment"], "Recheck Cond": "((lineitem.l_receiptdate >= '1995-01-01'::date) AND (lineitem.l_receiptdate < '1996-01-01 00:00:00'::timestamp without time zone))", "Filter": "((lineitem.l_shipmode = ANY ('{MAIL,TRUCK}'::bpchar[])) AND (lineitem.l_commitdate < lineitem.l_receiptdate) AND (lineitem.l_shipdate < lineitem.l_commitdate))", "Plans": [{"Node Type": "Bitmap Index Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Index Name": "l_rd", "Startup Cost": 0.0, "Total Cost": 10052.4, "Plan Rows": 917527, "Plan Width": 0, "Index Cond": "((lineitem.l_receiptdate >= '1995-01-01'::date) AND (lineitem.l_receiptdate < '1996-01-01 00:00:00'::timestamp without time zone))"}]}, {"Node Type": "Index Scan", "Parent Relationship": "Inner", "Parallel Aware": false, "Async Capable": false, "Scan Direction": "Forward", "Index Name": "o_ok", "Relation Name": "orders", "Schema": "public", "Alias": "orders", "Startup Cost": 0.43, "Total Cost": 1.31, "Plan Rows": 1, "Plan Width": 20, "Output": ["orders.o_orderkey", "orders.o_custkey", "orders.o_orderstatus", "orders.o_totalprice", "orders.o_orderdate", "orders.o_orderpriority", "orders.o_clerk", "orders.o_shippriority", "orders.o_comment"], "Index Cond": "(orders.o_orderkey = lineitem.l_orderkey)"}]}]}]}]}]}} diff --git a/dev9/pg17/tpch/sf_1/explain/15721/13-1.ok b/dev9/pg17/tpch/sf_1/explain/15721/13-1.ok new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/dev9/pg17/tpch/sf_1/explain/15721/13-1.res b/dev9/pg17/tpch/sf_1/explain/15721/13-1.res new file mode 100644 index 0000000000000000000000000000000000000000..3f99afe3994a870dfea31d768e23149c7c9cf61e --- /dev/null +++ b/dev9/pg17/tpch/sf_1/explain/15721/13-1.res @@ -0,0 +1 @@ +{"Plan": {"Node Type": "Sort", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 64469.71, "Total Cost": 64470.21, "Plan Rows": 200, "Plan Width": 16, "Output": ["(count(orders.o_orderkey))", "(count(*))"], "Sort Key": ["(count(*)) DESC", "(count(orders.o_orderkey)) DESC"], "Plans": [{"Node Type": "Aggregate", "Strategy": "Hashed", "Partial Mode": "Simple", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 64460.07, "Total Cost": 64462.07, "Plan Rows": 200, "Plan Width": 16, "Output": ["(count(orders.o_orderkey))", "count(*)"], "Group Key": ["count(orders.o_orderkey)"], "Planned Partitions": 0, "Plans": [{"Node Type": "Aggregate", "Strategy": "Hashed", "Partial Mode": "Simple", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 60710.07, "Total Cost": 62210.07, "Plan Rows": 150000, "Plan Width": 12, "Output": ["customer.c_custkey", "count(orders.o_orderkey)"], "Group Key": ["customer.c_custkey"], "Planned Partitions": 0, "Plans": [{"Node Type": "Hash Join", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Join Type": "Right", "Startup Cost": 4580.82, "Total Cost": 53330.31, "Plan Rows": 1475952, "Plan Width": 8, "Output": ["customer.c_custkey", "orders.o_orderkey"], "Inner Unique": true, "Hash Cond": "(orders.o_custkey = customer.c_custkey)", "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Relation Name": "orders", "Schema": "public", "Alias": "orders", "Startup Cost": 0.0, "Total Cost": 44875.0, "Plan Rows": 1475952, "Plan Width": 8, "Output": ["orders.o_orderkey", "orders.o_custkey", "orders.o_orderstatus", "orders.o_totalprice", "orders.o_orderdate", "orders.o_orderpriority", "orders.o_clerk", "orders.o_shippriority", "orders.o_comment"], "Filter": "((orders.o_comment)::text !~~ '%unusual%requests%'::text)"}, {"Node Type": "Hash", "Parent Relationship": "Inner", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 2705.82, "Total Cost": 2705.82, "Plan Rows": 150000, "Plan Width": 4, "Output": ["customer.c_custkey"], "Plans": [{"Node Type": "Index Only Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Scan Direction": "Forward", "Index Name": "c_ck", "Relation Name": "customer", "Schema": "public", "Alias": "customer", "Startup Cost": 0.42, "Total Cost": 2705.82, "Plan Rows": 150000, "Plan Width": 4, "Output": ["customer.c_custkey"]}]}]}]}]}]}} diff --git a/dev9/pg17/tpch/sf_1/explain/15721/14-1.ok b/dev9/pg17/tpch/sf_1/explain/15721/14-1.ok new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/dev9/pg17/tpch/sf_1/explain/15721/14-1.res b/dev9/pg17/tpch/sf_1/explain/15721/14-1.res new file mode 100644 index 0000000000000000000000000000000000000000..3e5692f94ecf2d5d7f4dc7b21ea025c10e5bc20c --- /dev/null +++ b/dev9/pg17/tpch/sf_1/explain/15721/14-1.res @@ -0,0 +1 @@ +{"Plan": {"Node Type": "Aggregate", "Strategy": "Plain", "Partial Mode": "Finalize", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 67173.69, "Total Cost": 67173.71, "Plan Rows": 1, "Plan Width": 32, "Output": ["((100.00 * sum(CASE WHEN ((part.p_type)::text ~~ 'PROMO%'::text) THEN (lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount)) ELSE '0'::numeric END)) / sum((lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount))))"], "Plans": [{"Node Type": "Gather", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 67173.24, "Total Cost": 67173.65, "Plan Rows": 4, "Plan Width": 64, "Output": ["(PARTIAL sum(CASE WHEN ((part.p_type)::text ~~ 'PROMO%'::text) THEN (lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount)) ELSE '0'::numeric END))", "(PARTIAL sum((lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount))))"], "Workers Planned": 4, "Single Copy": false, "Plans": [{"Node Type": "Aggregate", "Strategy": "Plain", "Partial Mode": "Partial", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 66173.24, "Total Cost": 66173.25, "Plan Rows": 1, "Plan Width": 64, "Output": ["PARTIAL sum(CASE WHEN ((part.p_type)::text ~~ 'PROMO%'::text) THEN (lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount)) ELSE '0'::numeric END)", "PARTIAL sum((lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount)))"], "Plans": [{"Node Type": "Hash Join", "Parent Relationship": "Outer", "Parallel Aware": true, "Async Capable": false, "Join Type": "Inner", "Startup Cost": 6829.02, "Total Cost": 65839.07, "Plan Rows": 19095, "Plan Width": 33, "Output": ["part.p_type", "lineitem.l_extendedprice", "lineitem.l_discount"], "Inner Unique": true, "Hash Cond": "(lineitem.l_partkey = part.p_partkey)", "Plans": [{"Node Type": "Bitmap Heap Scan", "Parent Relationship": "Outer", "Parallel Aware": true, "Async Capable": false, "Relation Name": "lineitem", "Schema": "public", "Alias": "lineitem", "Startup Cost": 857.03, "Total Cost": 59816.95, "Plan Rows": 19095, "Plan Width": 16, "Output": ["lineitem.l_orderkey", "lineitem.l_partkey", "lineitem.l_suppkey", "lineitem.l_linenumber", "lineitem.l_quantity", "lineitem.l_extendedprice", "lineitem.l_discount", "lineitem.l_tax", "lineitem.l_returnflag", "lineitem.l_linestatus", "lineitem.l_shipdate", "lineitem.l_commitdate", "lineitem.l_receiptdate", "lineitem.l_shipinstruct", "lineitem.l_shipmode", "lineitem.l_comment"], "Recheck Cond": "((lineitem.l_shipdate >= '1995-05-01'::date) AND (lineitem.l_shipdate < '1995-06-01 00:00:00'::timestamp without time zone))", "Plans": [{"Node Type": "Bitmap Index Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Index Name": "l_sd", "Startup Cost": 0.0, "Total Cost": 837.93, "Plan Rows": 76380, "Plan Width": 0, "Index Cond": "((lineitem.l_shipdate >= '1995-05-01'::date) AND (lineitem.l_shipdate < '1995-06-01 00:00:00'::timestamp without time zone))"}]}, {"Node Type": "Hash", "Parent Relationship": "Inner", "Parallel Aware": true, "Async Capable": false, "Startup Cost": 4930.33, "Total Cost": 4930.33, "Plan Rows": 83333, "Plan Width": 25, "Output": ["part.p_type", "part.p_partkey"], "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": true, "Async Capable": false, "Relation Name": "part", "Schema": "public", "Alias": "part", "Startup Cost": 0.0, "Total Cost": 4930.33, "Plan Rows": 83333, "Plan Width": 25, "Output": ["part.p_type", "part.p_partkey"]}]}]}]}]}]}} diff --git a/dev9/pg17/tpch/sf_1/explain/15721/15-1.ok b/dev9/pg17/tpch/sf_1/explain/15721/15-1.ok new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/dev9/pg17/tpch/sf_1/explain/15721/15-1.res b/dev9/pg17/tpch/sf_1/explain/15721/15-1.res new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/dev9/pg17/tpch/sf_1/explain/15721/15-2.ok b/dev9/pg17/tpch/sf_1/explain/15721/15-2.ok new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/dev9/pg17/tpch/sf_1/explain/15721/15-2.res b/dev9/pg17/tpch/sf_1/explain/15721/15-2.res new file mode 100644 index 0000000000000000000000000000000000000000..d30c3839eaefa5f2164851cb26c6eb0626343ed2 --- /dev/null +++ b/dev9/pg17/tpch/sf_1/explain/15721/15-2.res @@ -0,0 +1 @@ +{"Plan": {"Node Type": "Merge Join", "Parallel Aware": false, "Async Capable": false, "Join Type": "Inner", "Startup Cost": 239043.94, "Total Cost": 239475.8, "Plan Rows": 50, "Plan Width": 103, "Output": ["supplier.s_suppkey", "supplier.s_name", "supplier.s_address", "supplier.s_phone", "revenue0.total_revenue"], "Inner Unique": true, "Merge Cond": "(supplier.s_suppkey = revenue0.supplier_no)", "Plans": [{"Node Type": "Aggregate", "Strategy": "Plain", "Partial Mode": "Simple", "Parent Relationship": "InitPlan", "Subplan Name": "InitPlan 1", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 119570.87, "Total Cost": 119570.88, "Plan Rows": 1, "Plan Width": 32, "Output": ["max((sum((lineitem_1.l_extendedprice * ('1'::numeric - lineitem_1.l_discount)))))"], "Plans": [{"Node Type": "Aggregate", "Strategy": "Hashed", "Partial Mode": "Simple", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 119320.87, "Total Cost": 119445.87, "Plan Rows": 10000, "Plan Width": 36, "Output": ["lineitem_1.l_suppkey", "sum((lineitem_1.l_extendedprice * ('1'::numeric - lineitem_1.l_discount)))"], "Group Key": ["lineitem_1.l_suppkey"], "Planned Partitions": 0, "Plans": [{"Node Type": "Bitmap Heap Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Relation Name": "lineitem", "Schema": "public", "Alias": "lineitem_1", "Startup Cost": 2467.63, "Total Cost": 117119.9, "Plan Rows": 220097, "Plan Width": 16, "Output": ["lineitem_1.l_orderkey", "lineitem_1.l_partkey", "lineitem_1.l_suppkey", "lineitem_1.l_linenumber", "lineitem_1.l_quantity", "lineitem_1.l_extendedprice", "lineitem_1.l_discount", "lineitem_1.l_tax", "lineitem_1.l_returnflag", "lineitem_1.l_linestatus", "lineitem_1.l_shipdate", "lineitem_1.l_commitdate", "lineitem_1.l_receiptdate", "lineitem_1.l_shipinstruct", "lineitem_1.l_shipmode", "lineitem_1.l_comment"], "Recheck Cond": "((lineitem_1.l_shipdate >= '1995-01-01'::date) AND (lineitem_1.l_shipdate < '1995-04-01 00:00:00'::timestamp without time zone))", "Plans": [{"Node Type": "Bitmap Index Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Index Name": "l_sd", "Startup Cost": 0.0, "Total Cost": 2412.6, "Plan Rows": 220097, "Plan Width": 0, "Index Cond": "((lineitem_1.l_shipdate >= '1995-01-01'::date) AND (lineitem_1.l_shipdate < '1995-04-01 00:00:00'::timestamp without time zone))"}]}]}]}, {"Node Type": "Index Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Scan Direction": "Forward", "Index Name": "s_sk", "Relation Name": "supplier", "Schema": "public", "Alias": "supplier", "Startup Cost": 0.29, "Total Cost": 406.4, "Plan Rows": 10000, "Plan Width": 71, "Output": ["supplier.s_suppkey", "supplier.s_name", "supplier.s_address", "supplier.s_nationkey", "supplier.s_phone", "supplier.s_acctbal", "supplier.s_comment"]}, {"Node Type": "Sort", "Parent Relationship": "Inner", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 119472.78, "Total Cost": 119472.9, "Plan Rows": 50, "Plan Width": 36, "Output": ["revenue0.total_revenue", "revenue0.supplier_no"], "Sort Key": ["revenue0.supplier_no"], "Plans": [{"Node Type": "Subquery Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Alias": "revenue0", "Startup Cost": 119320.87, "Total Cost": 119471.37, "Plan Rows": 50, "Plan Width": 36, "Output": ["revenue0.total_revenue", "revenue0.supplier_no"], "Plans": [{"Node Type": "Aggregate", "Strategy": "Hashed", "Partial Mode": "Simple", "Parent Relationship": "Subquery", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 119320.87, "Total Cost": 119470.87, "Plan Rows": 50, "Plan Width": 36, "Output": ["lineitem.l_suppkey", "sum((lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount)))"], "Group Key": ["lineitem.l_suppkey"], "Filter": "(sum((lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount))) = (InitPlan 1).col1)", "Planned Partitions": 0, "Plans": [{"Node Type": "Bitmap Heap Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Relation Name": "lineitem", "Schema": "public", "Alias": "lineitem", "Startup Cost": 2467.63, "Total Cost": 117119.9, "Plan Rows": 220097, "Plan Width": 16, "Output": ["lineitem.l_orderkey", "lineitem.l_partkey", "lineitem.l_suppkey", "lineitem.l_linenumber", "lineitem.l_quantity", "lineitem.l_extendedprice", "lineitem.l_discount", "lineitem.l_tax", "lineitem.l_returnflag", "lineitem.l_linestatus", "lineitem.l_shipdate", "lineitem.l_commitdate", "lineitem.l_receiptdate", "lineitem.l_shipinstruct", "lineitem.l_shipmode", "lineitem.l_comment"], "Recheck Cond": "((lineitem.l_shipdate >= '1995-01-01'::date) AND (lineitem.l_shipdate < '1995-04-01 00:00:00'::timestamp without time zone))", "Plans": [{"Node Type": "Bitmap Index Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Index Name": "l_sd", "Startup Cost": 0.0, "Total Cost": 2412.6, "Plan Rows": 220097, "Plan Width": 0, "Index Cond": "((lineitem.l_shipdate >= '1995-01-01'::date) AND (lineitem.l_shipdate < '1995-04-01 00:00:00'::timestamp without time zone))"}]}]}]}]}]}} diff --git a/dev9/pg17/tpch/sf_1/explain/15721/15-3.ok b/dev9/pg17/tpch/sf_1/explain/15721/15-3.ok new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/dev9/pg17/tpch/sf_1/explain/15721/15-3.res b/dev9/pg17/tpch/sf_1/explain/15721/15-3.res new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/dev9/pg17/tpch/sf_1/explain/15721/16-1.ok b/dev9/pg17/tpch/sf_1/explain/15721/16-1.ok new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/dev9/pg17/tpch/sf_1/explain/15721/16-1.res b/dev9/pg17/tpch/sf_1/explain/15721/16-1.res new file mode 100644 index 0000000000000000000000000000000000000000..cee0204ca486ee8e51c3e924e1ed5c6ae4ab716a --- /dev/null +++ b/dev9/pg17/tpch/sf_1/explain/15721/16-1.res @@ -0,0 +1 @@ +{"Plan": {"Node Type": "Sort", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 26901.6, "Total Cost": 26941.63, "Plan Rows": 16013, "Plan Width": 44, "Output": ["part.p_brand", "part.p_type", "part.p_size", "(count(DISTINCT partsupp.ps_suppkey))"], "Sort Key": ["(count(DISTINCT partsupp.ps_suppkey)) DESC", "part.p_brand", "part.p_type", "part.p_size"], "Plans": [{"Node Type": "Aggregate", "Strategy": "Sorted", "Partial Mode": "Simple", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 17894.39, "Total Cost": 25783.34, "Plan Rows": 16013, "Plan Width": 44, "Output": ["part.p_brand", "part.p_type", "part.p_size", "count(DISTINCT partsupp.ps_suppkey)"], "Group Key": ["part.p_brand", "part.p_type", "part.p_size"], "Plans": [{"Node Type": "Gather Merge", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 17894.39, "Total Cost": 25027.47, "Plan Rows": 59574, "Plan Width": 40, "Output": ["part.p_brand", "part.p_type", "part.p_size", "partsupp.ps_suppkey"], "Workers Planned": 4, "Plans": [{"Node Type": "Sort", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 16894.33, "Total Cost": 16931.57, "Plan Rows": 14894, "Plan Width": 40, "Output": ["part.p_brand", "part.p_type", "part.p_size", "partsupp.ps_suppkey"], "Sort Key": ["part.p_brand", "part.p_type", "part.p_size", "partsupp.ps_suppkey"], "Plans": [{"Node Type": "Hash Join", "Parent Relationship": "Outer", "Parallel Aware": true, "Async Capable": false, "Join Type": "Inner", "Startup Cost": 6683.9, "Total Cost": 15862.0, "Plan Rows": 14894, "Plan Width": 40, "Output": ["part.p_brand", "part.p_type", "part.p_size", "partsupp.ps_suppkey"], "Inner Unique": true, "Hash Cond": "(partsupp.ps_partkey = part.p_partkey)", "Plans": [{"Node Type": "Index Only Scan", "Parent Relationship": "Outer", "Parallel Aware": true, "Async Capable": false, "Scan Direction": "Forward", "Index Name": "ps_sk_pk", "Relation Name": "partsupp", "Schema": "public", "Alias": "partsupp", "Startup Cost": 348.43, "Total Cost": 9264.03, "Plan Rows": 100000, "Plan Width": 8, "Output": ["partsupp.ps_suppkey", "partsupp.ps_partkey"], "Filter": "(NOT (ANY (partsupp.ps_suppkey = (hashed SubPlan 1).col1)))", "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "SubPlan", "Subplan Name": "SubPlan 1", "Parallel Aware": false, "Async Capable": false, "Relation Name": "supplier", "Schema": "public", "Alias": "supplier", "Startup Cost": 0.0, "Total Cost": 348.0, "Plan Rows": 1, "Plan Width": 4, "Output": ["supplier.s_suppkey"], "Filter": "((supplier.s_comment)::text ~~ '%Customer%Complaints%'::text)"}]}, {"Node Type": "Hash", "Parent Relationship": "Inner", "Parallel Aware": true, "Async Capable": false, "Startup Cost": 6180.33, "Total Cost": 6180.33, "Plan Rows": 12411, "Plan Width": 40, "Output": ["part.p_brand", "part.p_type", "part.p_size", "part.p_partkey"], "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": true, "Async Capable": false, "Relation Name": "part", "Schema": "public", "Alias": "part", "Startup Cost": 0.0, "Total Cost": 6180.33, "Plan Rows": 12411, "Plan Width": 40, "Output": ["part.p_brand", "part.p_type", "part.p_size", "part.p_partkey"], "Filter": "((part.p_brand <> 'Brand#11'::bpchar) AND ((part.p_type)::text !~~ 'ECONOMY ANODIZED%'::text) AND (part.p_size = ANY ('{42,16,39,18,23,32,44,41}'::integer[])))"}]}]}]}]}]}]}} diff --git a/dev9/pg17/tpch/sf_1/explain/15721/17-1.ok b/dev9/pg17/tpch/sf_1/explain/15721/17-1.ok new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/dev9/pg17/tpch/sf_1/explain/15721/17-1.res b/dev9/pg17/tpch/sf_1/explain/15721/17-1.res new file mode 100644 index 0000000000000000000000000000000000000000..0bfc7e1e46e72b9efaffe18b2e16ae6bf74e65b2 --- /dev/null +++ b/dev9/pg17/tpch/sf_1/explain/15721/17-1.res @@ -0,0 +1 @@ +{"Plan": {"Node Type": "Aggregate", "Strategy": "Plain", "Partial Mode": "Simple", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 195057.38, "Total Cost": 195057.39, "Plan Rows": 1, "Plan Width": 32, "Output": ["(sum(lineitem.l_extendedprice) / 7.0)"], "Plans": [{"Node Type": "Hash Join", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Join Type": "Inner", "Startup Cost": 6369.28, "Total Cost": 195052.42, "Plan Rows": 1980, "Plan Width": 8, "Output": ["lineitem.l_extendedprice"], "Inner Unique": true, "Hash Cond": "(lineitem.l_partkey = part.p_partkey)", "Join Filter": "(lineitem.l_quantity < (SubPlan 1))", "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Relation Name": "lineitem", "Schema": "public", "Alias": "lineitem", "Startup Cost": 0.0, "Total Cost": 172567.15, "Plan Rows": 6001215, "Plan Width": 17, "Output": ["lineitem.l_orderkey", "lineitem.l_partkey", "lineitem.l_suppkey", "lineitem.l_linenumber", "lineitem.l_quantity", "lineitem.l_extendedprice", "lineitem.l_discount", "lineitem.l_tax", "lineitem.l_returnflag", "lineitem.l_linestatus", "lineitem.l_shipdate", "lineitem.l_commitdate", "lineitem.l_receiptdate", "lineitem.l_shipinstruct", "lineitem.l_shipmode", "lineitem.l_comment"]}, {"Node Type": "Hash", "Parent Relationship": "Inner", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 6366.8, "Total Cost": 6366.8, "Plan Rows": 198, "Plan Width": 4, "Output": ["part.p_partkey"], "Plans": [{"Node Type": "Gather", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 1000.0, "Total Cost": 6366.8, "Plan Rows": 198, "Plan Width": 4, "Output": ["part.p_partkey"], "Workers Planned": 2, "Single Copy": false, "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": true, "Async Capable": false, "Relation Name": "part", "Schema": "public", "Alias": "part", "Startup Cost": 0.0, "Total Cost": 5347.0, "Plan Rows": 82, "Plan Width": 4, "Output": ["part.p_partkey"], "Filter": "((part.p_brand = 'Brand#14'::bpchar) AND (part.p_container = 'WRAP BOX'::bpchar))"}]}]}, {"Node Type": "Aggregate", "Strategy": "Plain", "Partial Mode": "Simple", "Parent Relationship": "SubPlan", "Subplan Name": "SubPlan 1", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 36.25, "Total Cost": 36.27, "Plan Rows": 1, "Plan Width": 32, "Output": ["(0.2 * avg(lineitem_1.l_quantity))"], "Plans": [{"Node Type": "Index Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Scan Direction": "Forward", "Index Name": "l_pk", "Relation Name": "lineitem", "Schema": "public", "Alias": "lineitem_1", "Startup Cost": 0.43, "Total Cost": 36.17, "Plan Rows": 31, "Plan Width": 5, "Output": ["lineitem_1.l_orderkey", "lineitem_1.l_partkey", "lineitem_1.l_suppkey", "lineitem_1.l_linenumber", "lineitem_1.l_quantity", "lineitem_1.l_extendedprice", "lineitem_1.l_discount", "lineitem_1.l_tax", "lineitem_1.l_returnflag", "lineitem_1.l_linestatus", "lineitem_1.l_shipdate", "lineitem_1.l_commitdate", "lineitem_1.l_receiptdate", "lineitem_1.l_shipinstruct", "lineitem_1.l_shipmode", "lineitem_1.l_comment"], "Index Cond": "(lineitem_1.l_partkey = part.p_partkey)"}]}]}]}} diff --git a/dev9/pg17/tpch/sf_1/explain/15721/18-1.ok b/dev9/pg17/tpch/sf_1/explain/15721/18-1.ok new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/dev9/pg17/tpch/sf_1/explain/15721/18-1.res b/dev9/pg17/tpch/sf_1/explain/15721/18-1.res new file mode 100644 index 0000000000000000000000000000000000000000..7356150058027dde9a395412b574e7889df90b97 --- /dev/null +++ b/dev9/pg17/tpch/sf_1/explain/15721/18-1.res @@ -0,0 +1 @@ +{"Plan": {"Node Type": "Limit", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 716180.95, "Total Cost": 716181.2, "Plan Rows": 100, "Plan Width": 71, "Output": ["customer.c_name", "customer.c_custkey", "orders.o_orderkey", "orders.o_orderdate", "orders.o_totalprice", "(sum(lineitem.l_quantity))"], "Plans": [{"Node Type": "Sort", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 716180.95, "Total Cost": 720228.84, "Plan Rows": 1619156, "Plan Width": 71, "Output": ["customer.c_name", "customer.c_custkey", "orders.o_orderkey", "orders.o_orderdate", "orders.o_totalprice", "(sum(lineitem.l_quantity))"], "Sort Key": ["orders.o_totalprice DESC", "orders.o_orderdate"], "Plans": [{"Node Type": "Aggregate", "Strategy": "Sorted", "Partial Mode": "Simple", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 328627.29, "Total Cost": 654297.97, "Plan Rows": 1619156, "Plan Width": 71, "Output": ["customer.c_name", "customer.c_custkey", "orders.o_orderkey", "orders.o_orderdate", "orders.o_totalprice", "sum(lineitem.l_quantity)"], "Group Key": ["customer.c_custkey", "orders.o_orderkey"], "Plans": [{"Node Type": "Gather Merge", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 328627.29, "Total Cost": 621914.85, "Plan Rows": 1619156, "Plan Width": 44, "Output": ["customer.c_custkey", "orders.o_orderkey", "customer.c_name", "orders.o_orderdate", "orders.o_totalprice", "lineitem.l_quantity"], "Workers Planned": 3, "Plans": [{"Node Type": "Incremental Sort", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 327627.25, "Total Cost": 430663.98, "Plan Rows": 522308, "Plan Width": 44, "Output": ["customer.c_custkey", "orders.o_orderkey", "customer.c_name", "orders.o_orderdate", "orders.o_totalprice", "lineitem.l_quantity"], "Sort Key": ["customer.c_custkey", "orders.o_orderkey"], "Presorted Key": ["customer.c_custkey"], "Plans": [{"Node Type": "Nested Loop", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Join Type": "Inner", "Startup Cost": 327626.63, "Total Cost": 416434.52, "Plan Rows": 522308, "Plan Width": 44, "Output": ["customer.c_custkey", "orders.o_orderkey", "customer.c_name", "orders.o_orderdate", "orders.o_totalprice", "lineitem.l_quantity"], "Inner Unique": false, "Plans": [{"Node Type": "Merge Join", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Join Type": "Inner", "Startup Cost": 327626.19, "Total Cost": 330334.45, "Plan Rows": 130551, "Plan Width": 43, "Output": ["customer.c_name", "customer.c_custkey", "orders.o_orderkey", "orders.o_orderdate", "orders.o_totalprice", "lineitem_1.l_orderkey"], "Inner Unique": true, "Merge Cond": "(orders.o_custkey = customer.c_custkey)", "Plans": [{"Node Type": "Sort", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 309636.24, "Total Cost": 309962.62, "Plan Rows": 130551, "Plan Width": 24, "Output": ["orders.o_orderkey", "orders.o_orderdate", "orders.o_totalprice", "orders.o_custkey", "lineitem_1.l_orderkey"], "Sort Key": ["orders.o_custkey"], "Plans": [{"Node Type": "Hash Join", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Join Type": "Inner", "Startup Cost": 266309.29, "Total Cost": 298543.16, "Plan Rows": 130551, "Plan Width": 24, "Output": ["orders.o_orderkey", "orders.o_orderdate", "orders.o_totalprice", "orders.o_custkey", "lineitem_1.l_orderkey"], "Inner Unique": true, "Hash Cond": "(orders.o_orderkey = lineitem_1.l_orderkey)", "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": true, "Async Capable": false, "Relation Name": "orders", "Schema": "public", "Alias": "orders", "Startup Cost": 0.0, "Total Cost": 30963.71, "Plan Rows": 483871, "Plan Width": 20, "Output": ["orders.o_orderkey", "orders.o_custkey", "orders.o_orderstatus", "orders.o_totalprice", "orders.o_orderdate", "orders.o_orderpriority", "orders.o_clerk", "orders.o_shippriority", "orders.o_comment"]}, {"Node Type": "Hash", "Parent Relationship": "Inner", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 261250.45, "Total Cost": 261250.45, "Plan Rows": 404707, "Plan Width": 4, "Output": ["lineitem_1.l_orderkey"], "Plans": [{"Node Type": "Aggregate", "Strategy": "Sorted", "Partial Mode": "Simple", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 0.43, "Total Cost": 261250.45, "Plan Rows": 404707, "Plan Width": 4, "Output": ["lineitem_1.l_orderkey"], "Group Key": ["lineitem_1.l_orderkey"], "Filter": "(sum(lineitem_1.l_quantity) > '314'::numeric)", "Plans": [{"Node Type": "Index Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Scan Direction": "Forward", "Index Name": "l_ok", "Relation Name": "lineitem", "Schema": "public", "Alias": "lineitem_1", "Startup Cost": 0.43, "Total Cost": 213032.56, "Plan Rows": 6001215, "Plan Width": 9, "Output": ["lineitem_1.l_orderkey", "lineitem_1.l_partkey", "lineitem_1.l_suppkey", "lineitem_1.l_linenumber", "lineitem_1.l_quantity", "lineitem_1.l_extendedprice", "lineitem_1.l_discount", "lineitem_1.l_tax", "lineitem_1.l_returnflag", "lineitem_1.l_linestatus", "lineitem_1.l_shipdate", "lineitem_1.l_commitdate", "lineitem_1.l_receiptdate", "lineitem_1.l_shipinstruct", "lineitem_1.l_shipmode", "lineitem_1.l_comment"]}]}]}]}]}, {"Node Type": "Sort", "Parent Relationship": "Inner", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 17989.95, "Total Cost": 18364.95, "Plan Rows": 150000, "Plan Width": 23, "Output": ["customer.c_name", "customer.c_custkey"], "Sort Key": ["customer.c_custkey"], "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Relation Name": "customer", "Schema": "public", "Alias": "customer", "Startup Cost": 0.0, "Total Cost": 5094.0, "Plan Rows": 150000, "Plan Width": 23, "Output": ["customer.c_name", "customer.c_custkey"]}]}]}, {"Node Type": "Index Scan", "Parent Relationship": "Inner", "Parallel Aware": false, "Async Capable": false, "Scan Direction": "Forward", "Index Name": "l_ok", "Relation Name": "lineitem", "Schema": "public", "Alias": "lineitem", "Startup Cost": 0.43, "Total Cost": 0.61, "Plan Rows": 5, "Plan Width": 9, "Output": ["lineitem.l_orderkey", "lineitem.l_partkey", "lineitem.l_suppkey", "lineitem.l_linenumber", "lineitem.l_quantity", "lineitem.l_extendedprice", "lineitem.l_discount", "lineitem.l_tax", "lineitem.l_returnflag", "lineitem.l_linestatus", "lineitem.l_shipdate", "lineitem.l_commitdate", "lineitem.l_receiptdate", "lineitem.l_shipinstruct", "lineitem.l_shipmode", "lineitem.l_comment"], "Index Cond": "(lineitem.l_orderkey = orders.o_orderkey)"}]}]}]}]}]}]}} diff --git a/dev9/pg17/tpch/sf_1/explain/15721/19-1.ok b/dev9/pg17/tpch/sf_1/explain/15721/19-1.ok new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/dev9/pg17/tpch/sf_1/explain/15721/19-1.res b/dev9/pg17/tpch/sf_1/explain/15721/19-1.res new file mode 100644 index 0000000000000000000000000000000000000000..62afd0dfbfe4a2c6bf44bd8cde749fc9bc70f240 --- /dev/null +++ b/dev9/pg17/tpch/sf_1/explain/15721/19-1.res @@ -0,0 +1 @@ +{"Plan": {"Node Type": "Aggregate", "Strategy": "Plain", "Partial Mode": "Finalize", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 15847.47, "Total Cost": 15847.48, "Plan Rows": 1, "Plan Width": 32, "Output": ["sum((lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount)))"], "Plans": [{"Node Type": "Gather", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 15847.25, "Total Cost": 15847.46, "Plan Rows": 2, "Plan Width": 32, "Output": ["(PARTIAL sum((lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount))))"], "Workers Planned": 2, "Single Copy": false, "Plans": [{"Node Type": "Aggregate", "Strategy": "Plain", "Partial Mode": "Partial", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 14847.25, "Total Cost": 14847.26, "Plan Rows": 1, "Plan Width": 32, "Output": ["PARTIAL sum((lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount)))"], "Plans": [{"Node Type": "Nested Loop", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Join Type": "Inner", "Startup Cost": 0.43, "Total Cost": 14846.89, "Plan Rows": 47, "Plan Width": 12, "Output": ["lineitem.l_extendedprice", "lineitem.l_discount"], "Inner Unique": false, "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": true, "Async Capable": false, "Relation Name": "part", "Schema": "public", "Alias": "part", "Startup Cost": 0.0, "Total Cost": 7638.67, "Plan Rows": 200, "Plan Width": 30, "Output": ["part.p_partkey", "part.p_name", "part.p_mfgr", "part.p_brand", "part.p_type", "part.p_size", "part.p_container", "part.p_retailprice", "part.p_comment"], "Filter": "((part.p_size >= 1) AND (((part.p_brand = 'Brand#52'::bpchar) AND (part.p_container = ANY ('{\"SM CASE\",\"SM BOX\",\"SM PACK\",\"SM PKG\"}'::bpchar[])) AND (part.p_size <= 5)) OR ((part.p_brand = 'Brand#42'::bpchar) AND (part.p_container = ANY ('{\"MED BAG\",\"MED BOX\",\"MED PKG\",\"MED PACK\"}'::bpchar[])) AND (part.p_size <= 10)) OR ((part.p_brand = 'Brand#23'::bpchar) AND (part.p_container = ANY ('{\"LG CASE\",\"LG BOX\",\"LG PACK\",\"LG PKG\"}'::bpchar[])) AND (part.p_size <= 15))))"}, {"Node Type": "Index Scan", "Parent Relationship": "Inner", "Parallel Aware": false, "Async Capable": false, "Scan Direction": "Forward", "Index Name": "l_pk", "Relation Name": "lineitem", "Schema": "public", "Alias": "lineitem", "Startup Cost": 0.43, "Total Cost": 36.03, "Plan Rows": 1, "Plan Width": 21, "Output": ["lineitem.l_orderkey", "lineitem.l_partkey", "lineitem.l_suppkey", "lineitem.l_linenumber", "lineitem.l_quantity", "lineitem.l_extendedprice", "lineitem.l_discount", "lineitem.l_tax", "lineitem.l_returnflag", "lineitem.l_linestatus", "lineitem.l_shipdate", "lineitem.l_commitdate", "lineitem.l_receiptdate", "lineitem.l_shipinstruct", "lineitem.l_shipmode", "lineitem.l_comment"], "Index Cond": "(lineitem.l_partkey = part.p_partkey)", "Filter": "((lineitem.l_shipmode = ANY ('{AIR,\"AIR REG\"}'::bpchar[])) AND (lineitem.l_shipinstruct = 'DELIVER IN PERSON'::bpchar) AND (((lineitem.l_quantity >= '9'::numeric) AND (lineitem.l_quantity <= '19'::numeric)) OR ((lineitem.l_quantity >= '18'::numeric) AND (lineitem.l_quantity <= '28'::numeric)) OR ((lineitem.l_quantity >= '22'::numeric) AND (lineitem.l_quantity <= '32'::numeric))) AND (((part.p_brand = 'Brand#52'::bpchar) AND (part.p_container = ANY ('{\"SM CASE\",\"SM BOX\",\"SM PACK\",\"SM PKG\"}'::bpchar[])) AND (lineitem.l_quantity >= '9'::numeric) AND (lineitem.l_quantity <= '19'::numeric) AND (part.p_size <= 5)) OR ((part.p_brand = 'Brand#42'::bpchar) AND (part.p_container = ANY ('{\"MED BAG\",\"MED BOX\",\"MED PKG\",\"MED PACK\"}'::bpchar[])) AND (lineitem.l_quantity >= '18'::numeric) AND (lineitem.l_quantity <= '28'::numeric) AND (part.p_size <= 10)) OR ((part.p_brand = 'Brand#23'::bpchar) AND (part.p_container = ANY ('{\"LG CASE\",\"LG BOX\",\"LG PACK\",\"LG PKG\"}'::bpchar[])) AND (lineitem.l_quantity >= '22'::numeric) AND (lineitem.l_quantity <= '32'::numeric) AND (part.p_size <= 15))))"}]}]}]}]}} diff --git a/dev9/pg17/tpch/sf_1/explain/15721/2-1.ok b/dev9/pg17/tpch/sf_1/explain/15721/2-1.ok new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/dev9/pg17/tpch/sf_1/explain/15721/2-1.res b/dev9/pg17/tpch/sf_1/explain/15721/2-1.res new file mode 100644 index 0000000000000000000000000000000000000000..de6d8101762d98d18022ad30ee9d467eb192344a --- /dev/null +++ b/dev9/pg17/tpch/sf_1/explain/15721/2-1.res @@ -0,0 +1 @@ +{"Plan": {"Node Type": "Limit", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 23873.61, "Total Cost": 23873.61, "Plan Rows": 1, "Plan Width": 192, "Output": ["supplier.s_acctbal", "supplier.s_name", "nation.n_name", "part.p_partkey", "part.p_mfgr", "supplier.s_address", "supplier.s_phone", "supplier.s_comment"], "Plans": [{"Node Type": "Sort", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 23873.61, "Total Cost": 23873.61, "Plan Rows": 1, "Plan Width": 192, "Output": ["supplier.s_acctbal", "supplier.s_name", "nation.n_name", "part.p_partkey", "part.p_mfgr", "supplier.s_address", "supplier.s_phone", "supplier.s_comment"], "Sort Key": ["supplier.s_acctbal DESC", "nation.n_name", "supplier.s_name", "part.p_partkey"], "Plans": [{"Node Type": "Hash Join", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Join Type": "Inner", "Startup Cost": 12761.82, "Total Cost": 23873.6, "Plan Rows": 1, "Plan Width": 192, "Output": ["supplier.s_acctbal", "supplier.s_name", "nation.n_name", "part.p_partkey", "part.p_mfgr", "supplier.s_address", "supplier.s_phone", "supplier.s_comment"], "Inner Unique": false, "Hash Cond": "((part.p_partkey = partsupp.ps_partkey) AND ((SubPlan 1) = partsupp.ps_supplycost))", "Plans": [{"Node Type": "Gather", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 1000.0, "Total Cost": 6425.6, "Plan Rows": 786, "Plan Width": 30, "Output": ["part.p_partkey", "part.p_mfgr"], "Workers Planned": 2, "Single Copy": false, "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": true, "Async Capable": false, "Relation Name": "part", "Schema": "public", "Alias": "part", "Startup Cost": 0.0, "Total Cost": 5347.0, "Plan Rows": 328, "Plan Width": 30, "Output": ["part.p_partkey", "part.p_mfgr"], "Filter": "(((part.p_type)::text ~~ '%TIN'::text) AND (part.p_size = 44))"}]}, {"Node Type": "Hash", "Parent Relationship": "Inner", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 9361.82, "Total Cost": 9361.82, "Plan Rows": 160000, "Plan Width": 172, "Output": ["supplier.s_acctbal", "supplier.s_name", "supplier.s_address", "supplier.s_phone", "supplier.s_comment", "partsupp.ps_partkey", "partsupp.ps_supplycost", "nation.n_name"], "Plans": [{"Node Type": "Nested Loop", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Join Type": "Inner", "Startup Cost": 0.71, "Total Cost": 9361.82, "Plan Rows": 160000, "Plan Width": 172, "Output": ["supplier.s_acctbal", "supplier.s_name", "supplier.s_address", "supplier.s_phone", "supplier.s_comment", "partsupp.ps_partkey", "partsupp.ps_supplycost", "nation.n_name"], "Inner Unique": false, "Plans": [{"Node Type": "Nested Loop", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Join Type": "Inner", "Startup Cost": 0.29, "Total Cost": 110.5, "Plan Rows": 2000, "Plan Width": 166, "Output": ["supplier.s_acctbal", "supplier.s_name", "supplier.s_address", "supplier.s_phone", "supplier.s_comment", "supplier.s_suppkey", "nation.n_name"], "Inner Unique": false, "Plans": [{"Node Type": "Nested Loop", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Join Type": "Inner", "Startup Cost": 0.0, "Total Cost": 2.62, "Plan Rows": 5, "Plan Width": 30, "Output": ["nation.n_name", "nation.n_nationkey"], "Inner Unique": false, "Join Filter": "(nation.n_regionkey = region.r_regionkey)", "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Relation Name": "region", "Schema": "public", "Alias": "region", "Startup Cost": 0.0, "Total Cost": 1.06, "Plan Rows": 1, "Plan Width": 4, "Output": ["region.r_regionkey", "region.r_name", "region.r_comment"], "Filter": "(region.r_name = 'EUROPE'::bpchar)"}, {"Node Type": "Seq Scan", "Parent Relationship": "Inner", "Parallel Aware": false, "Async Capable": false, "Relation Name": "nation", "Schema": "public", "Alias": "nation", "Startup Cost": 0.0, "Total Cost": 1.25, "Plan Rows": 25, "Plan Width": 34, "Output": ["nation.n_nationkey", "nation.n_name", "nation.n_regionkey", "nation.n_comment"]}]}, {"Node Type": "Index Scan", "Parent Relationship": "Inner", "Parallel Aware": false, "Async Capable": false, "Scan Direction": "Forward", "Index Name": "s_nk", "Relation Name": "supplier", "Schema": "public", "Alias": "supplier", "Startup Cost": 0.29, "Total Cost": 17.57, "Plan Rows": 400, "Plan Width": 144, "Output": ["supplier.s_suppkey", "supplier.s_name", "supplier.s_address", "supplier.s_nationkey", "supplier.s_phone", "supplier.s_acctbal", "supplier.s_comment"], "Index Cond": "(supplier.s_nationkey = nation.n_nationkey)"}]}, {"Node Type": "Index Scan", "Parent Relationship": "Inner", "Parallel Aware": false, "Async Capable": false, "Scan Direction": "Forward", "Index Name": "ps_sk", "Relation Name": "partsupp", "Schema": "public", "Alias": "partsupp", "Startup Cost": 0.42, "Total Cost": 3.83, "Plan Rows": 80, "Plan Width": 14, "Output": ["partsupp.ps_partkey", "partsupp.ps_suppkey", "partsupp.ps_availqty", "partsupp.ps_supplycost", "partsupp.ps_comment"], "Index Cond": "(partsupp.ps_suppkey = supplier.s_suppkey)"}]}]}, {"Node Type": "Aggregate", "Strategy": "Plain", "Partial Mode": "Simple", "Parent Relationship": "SubPlan", "Subplan Name": "SubPlan 1", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 14.44, "Total Cost": 14.45, "Plan Rows": 1, "Plan Width": 32, "Output": ["min(partsupp_1.ps_supplycost)"], "Plans": [{"Node Type": "Nested Loop", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Join Type": "Inner", "Startup Cost": 0.85, "Total Cost": 14.44, "Plan Rows": 1, "Plan Width": 6, "Output": ["partsupp_1.ps_supplycost"], "Inner Unique": false, "Join Filter": "(nation_1.n_regionkey = region_1.r_regionkey)", "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Relation Name": "region", "Schema": "public", "Alias": "region_1", "Startup Cost": 0.0, "Total Cost": 1.06, "Plan Rows": 1, "Plan Width": 4, "Output": ["region_1.r_regionkey", "region_1.r_name", "region_1.r_comment"], "Filter": "(region_1.r_name = 'EUROPE'::bpchar)"}, {"Node Type": "Nested Loop", "Parent Relationship": "Inner", "Parallel Aware": false, "Async Capable": false, "Join Type": "Inner", "Startup Cost": 0.85, "Total Cost": 13.33, "Plan Rows": 4, "Plan Width": 10, "Output": ["partsupp_1.ps_supplycost", "nation_1.n_regionkey"], "Inner Unique": true, "Plans": [{"Node Type": "Nested Loop", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Join Type": "Inner", "Startup Cost": 0.71, "Total Cost": 12.71, "Plan Rows": 4, "Plan Width": 10, "Output": ["partsupp_1.ps_supplycost", "supplier_1.s_nationkey"], "Inner Unique": true, "Plans": [{"Node Type": "Index Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Scan Direction": "Forward", "Index Name": "ps_pk", "Relation Name": "partsupp", "Schema": "public", "Alias": "partsupp_1", "Startup Cost": 0.42, "Total Cost": 2.7, "Plan Rows": 4, "Plan Width": 10, "Output": ["partsupp_1.ps_partkey", "partsupp_1.ps_suppkey", "partsupp_1.ps_availqty", "partsupp_1.ps_supplycost", "partsupp_1.ps_comment"], "Index Cond": "(partsupp_1.ps_partkey = part.p_partkey)"}, {"Node Type": "Index Scan", "Parent Relationship": "Inner", "Parallel Aware": false, "Async Capable": false, "Scan Direction": "Forward", "Index Name": "s_sk", "Relation Name": "supplier", "Schema": "public", "Alias": "supplier_1", "Startup Cost": 0.29, "Total Cost": 2.5, "Plan Rows": 1, "Plan Width": 8, "Output": ["supplier_1.s_suppkey", "supplier_1.s_name", "supplier_1.s_address", "supplier_1.s_nationkey", "supplier_1.s_phone", "supplier_1.s_acctbal", "supplier_1.s_comment"], "Index Cond": "(supplier_1.s_suppkey = partsupp_1.ps_suppkey)"}]}, {"Node Type": "Index Scan", "Parent Relationship": "Inner", "Parallel Aware": false, "Async Capable": false, "Scan Direction": "Forward", "Index Name": "n_nk", "Relation Name": "nation", "Schema": "public", "Alias": "nation_1", "Startup Cost": 0.14, "Total Cost": 0.16, "Plan Rows": 1, "Plan Width": 8, "Output": ["nation_1.n_nationkey", "nation_1.n_name", "nation_1.n_regionkey", "nation_1.n_comment"], "Index Cond": "(nation_1.n_nationkey = supplier_1.s_nationkey)"}]}]}]}]}]}]}} diff --git a/dev9/pg17/tpch/sf_1/explain/15721/20-1.ok b/dev9/pg17/tpch/sf_1/explain/15721/20-1.ok new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/dev9/pg17/tpch/sf_1/explain/15721/20-1.res b/dev9/pg17/tpch/sf_1/explain/15721/20-1.res new file mode 100644 index 0000000000000000000000000000000000000000..b328304d902e26d163d44f68b885255e680146b5 --- /dev/null +++ b/dev9/pg17/tpch/sf_1/explain/15721/20-1.res @@ -0,0 +1 @@ +{"Plan": {"Node Type": "Sort", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 37668.03, "Total Cost": 37668.35, "Plan Rows": 128, "Plan Width": 51, "Output": ["supplier.s_name", "supplier.s_address"], "Sort Key": ["supplier.s_name"], "Plans": [{"Node Type": "Hash Join", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Join Type": "Semi", "Startup Cost": 37439.03, "Total Cost": 37663.55, "Plan Rows": 128, "Plan Width": 51, "Output": ["supplier.s_name", "supplier.s_address"], "Inner Unique": false, "Hash Cond": "(supplier.s_suppkey = partsupp.ps_suppkey)", "Plans": [{"Node Type": "Nested Loop", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Join Type": "Inner", "Startup Cost": 4.48, "Total Cost": 226.37, "Plan Rows": 400, "Plan Width": 55, "Output": ["supplier.s_name", "supplier.s_address", "supplier.s_suppkey"], "Inner Unique": false, "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Relation Name": "nation", "Schema": "public", "Alias": "nation", "Startup Cost": 0.0, "Total Cost": 1.31, "Plan Rows": 1, "Plan Width": 4, "Output": ["nation.n_nationkey", "nation.n_name", "nation.n_regionkey", "nation.n_comment"], "Filter": "(nation.n_name = 'GERMANY'::bpchar)"}, {"Node Type": "Bitmap Heap Scan", "Parent Relationship": "Inner", "Parallel Aware": false, "Async Capable": false, "Relation Name": "supplier", "Schema": "public", "Alias": "supplier", "Startup Cost": 4.48, "Total Cost": 221.06, "Plan Rows": 400, "Plan Width": 59, "Output": ["supplier.s_suppkey", "supplier.s_name", "supplier.s_address", "supplier.s_nationkey", "supplier.s_phone", "supplier.s_acctbal", "supplier.s_comment"], "Recheck Cond": "(supplier.s_nationkey = nation.n_nationkey)", "Plans": [{"Node Type": "Bitmap Index Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Index Name": "s_nk", "Startup Cost": 0.0, "Total Cost": 4.38, "Plan Rows": 400, "Plan Width": 0, "Index Cond": "(supplier.s_nationkey = nation.n_nationkey)"}]}]}, {"Node Type": "Hash", "Parent Relationship": "Inner", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 37394.46, "Total Cost": 37394.46, "Plan Rows": 3207, "Plan Width": 4, "Output": ["partsupp.ps_suppkey"], "Plans": [{"Node Type": "Nested Loop", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Join Type": "Inner", "Startup Cost": 0.42, "Total Cost": 37394.46, "Plan Rows": 3207, "Plan Width": 4, "Output": ["partsupp.ps_suppkey"], "Inner Unique": false, "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Relation Name": "part", "Schema": "public", "Alias": "part", "Startup Cost": 0.0, "Total Cost": 6597.0, "Plan Rows": 2405, "Plan Width": 4, "Output": ["part.p_partkey", "part.p_name", "part.p_mfgr", "part.p_brand", "part.p_type", "part.p_size", "part.p_container", "part.p_retailprice", "part.p_comment"], "Filter": "((part.p_name)::text ~~ 'floral%'::text)"}, {"Node Type": "Index Scan", "Parent Relationship": "Inner", "Parallel Aware": false, "Async Capable": false, "Scan Direction": "Forward", "Index Name": "ps_pk", "Relation Name": "partsupp", "Schema": "public", "Alias": "partsupp", "Startup Cost": 0.42, "Total Cost": 12.8, "Plan Rows": 1, "Plan Width": 8, "Output": ["partsupp.ps_partkey", "partsupp.ps_suppkey", "partsupp.ps_availqty", "partsupp.ps_supplycost", "partsupp.ps_comment"], "Index Cond": "(partsupp.ps_partkey = part.p_partkey)", "Filter": "((partsupp.ps_availqty)::numeric > (SubPlan 1))", "Plans": [{"Node Type": "Aggregate", "Strategy": "Plain", "Partial Mode": "Simple", "Parent Relationship": "SubPlan", "Subplan Name": "SubPlan 1", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 2.66, "Total Cost": 2.68, "Plan Rows": 1, "Plan Width": 32, "Output": ["(0.5 * sum(lineitem.l_quantity))"], "Plans": [{"Node Type": "Index Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Scan Direction": "Forward", "Index Name": "l_sk_pk", "Relation Name": "lineitem", "Schema": "public", "Alias": "lineitem", "Startup Cost": 0.43, "Total Cost": 2.66, "Plan Rows": 1, "Plan Width": 5, "Output": ["lineitem.l_orderkey", "lineitem.l_partkey", "lineitem.l_suppkey", "lineitem.l_linenumber", "lineitem.l_quantity", "lineitem.l_extendedprice", "lineitem.l_discount", "lineitem.l_tax", "lineitem.l_returnflag", "lineitem.l_linestatus", "lineitem.l_shipdate", "lineitem.l_commitdate", "lineitem.l_receiptdate", "lineitem.l_shipinstruct", "lineitem.l_shipmode", "lineitem.l_comment"], "Index Cond": "((lineitem.l_suppkey = partsupp.ps_suppkey) AND (lineitem.l_partkey = partsupp.ps_partkey))", "Filter": "((lineitem.l_shipdate >= '1996-01-01'::date) AND (lineitem.l_shipdate < '1997-01-01 00:00:00'::timestamp without time zone))"}]}]}]}]}]}]}} diff --git a/dev9/pg17/tpch/sf_1/explain/15721/21-1.ok b/dev9/pg17/tpch/sf_1/explain/15721/21-1.ok new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/dev9/pg17/tpch/sf_1/explain/15721/21-1.res b/dev9/pg17/tpch/sf_1/explain/15721/21-1.res new file mode 100644 index 0000000000000000000000000000000000000000..5d8855adc105d38e531d84e6fcd0d05a3222ab96 --- /dev/null +++ b/dev9/pg17/tpch/sf_1/explain/15721/21-1.res @@ -0,0 +1 @@ +{"Plan": {"Node Type": "Limit", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 53619.66, "Total Cost": 53619.67, "Plan Rows": 1, "Plan Width": 34, "Output": ["supplier.s_name", "(count(*))"], "Plans": [{"Node Type": "Sort", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 53619.66, "Total Cost": 53619.67, "Plan Rows": 1, "Plan Width": 34, "Output": ["supplier.s_name", "(count(*))"], "Sort Key": ["(count(*)) DESC", "supplier.s_name"], "Plans": [{"Node Type": "Aggregate", "Strategy": "Sorted", "Partial Mode": "Simple", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 53619.63, "Total Cost": 53619.65, "Plan Rows": 1, "Plan Width": 34, "Output": ["supplier.s_name", "count(*)"], "Group Key": ["supplier.s_name"], "Plans": [{"Node Type": "Sort", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 53619.63, "Total Cost": 53619.64, "Plan Rows": 1, "Plan Width": 26, "Output": ["supplier.s_name"], "Sort Key": ["supplier.s_name"], "Plans": [{"Node Type": "Nested Loop", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Join Type": "Semi", "Startup Cost": 13177.25, "Total Cost": 53619.62, "Plan Rows": 1, "Plan Width": 26, "Output": ["supplier.s_name"], "Inner Unique": false, "Join Filter": "(orders.o_orderkey = l2.l_orderkey)", "Plans": [{"Node Type": "Gather", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 13176.82, "Total Cost": 53619.0, "Plan Rows": 1, "Plan Width": 38, "Output": ["supplier.s_name", "l1.l_suppkey", "l1.l_orderkey", "orders.o_orderkey"], "Workers Planned": 3, "Single Copy": false, "Plans": [{"Node Type": "Nested Loop", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Join Type": "Anti", "Startup Cost": 12176.82, "Total Cost": 52618.9, "Plan Rows": 1, "Plan Width": 38, "Output": ["supplier.s_name", "l1.l_suppkey", "l1.l_orderkey", "orders.o_orderkey"], "Inner Unique": false, "Plans": [{"Node Type": "Hash Join", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Join Type": "Inner", "Startup Cost": 12176.39, "Total Cost": 45350.33, "Plan Rows": 12461, "Plan Width": 38, "Output": ["supplier.s_name", "l1.l_suppkey", "l1.l_orderkey", "orders.o_orderkey"], "Inner Unique": false, "Hash Cond": "(orders.o_orderkey = l1.l_orderkey)", "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": true, "Async Capable": false, "Relation Name": "orders", "Schema": "public", "Alias": "orders", "Startup Cost": 0.0, "Total Cost": 32173.39, "Plan Rows": 233587, "Plan Width": 4, "Output": ["orders.o_orderkey", "orders.o_custkey", "orders.o_orderstatus", "orders.o_totalprice", "orders.o_orderdate", "orders.o_orderpriority", "orders.o_clerk", "orders.o_shippriority", "orders.o_comment"], "Filter": "(orders.o_orderstatus = 'F'::bpchar)"}, {"Node Type": "Hash", "Parent Relationship": "Inner", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 11176.19, "Total Cost": 11176.19, "Plan Rows": 80016, "Plan Width": 34, "Output": ["supplier.s_name", "l1.l_suppkey", "l1.l_orderkey"], "Plans": [{"Node Type": "Nested Loop", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Join Type": "Inner", "Startup Cost": 4.92, "Total Cost": 11176.19, "Plan Rows": 80016, "Plan Width": 34, "Output": ["supplier.s_name", "l1.l_suppkey", "l1.l_orderkey"], "Inner Unique": false, "Plans": [{"Node Type": "Nested Loop", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Join Type": "Inner", "Startup Cost": 4.48, "Total Cost": 226.37, "Plan Rows": 400, "Plan Width": 30, "Output": ["supplier.s_name", "supplier.s_suppkey"], "Inner Unique": false, "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Relation Name": "nation", "Schema": "public", "Alias": "nation", "Startup Cost": 0.0, "Total Cost": 1.31, "Plan Rows": 1, "Plan Width": 4, "Output": ["nation.n_nationkey", "nation.n_name", "nation.n_regionkey", "nation.n_comment"], "Filter": "(nation.n_name = 'CHINA'::bpchar)"}, {"Node Type": "Bitmap Heap Scan", "Parent Relationship": "Inner", "Parallel Aware": false, "Async Capable": false, "Relation Name": "supplier", "Schema": "public", "Alias": "supplier", "Startup Cost": 4.48, "Total Cost": 221.06, "Plan Rows": 400, "Plan Width": 34, "Output": ["supplier.s_suppkey", "supplier.s_name", "supplier.s_address", "supplier.s_nationkey", "supplier.s_phone", "supplier.s_acctbal", "supplier.s_comment"], "Recheck Cond": "(supplier.s_nationkey = nation.n_nationkey)", "Plans": [{"Node Type": "Bitmap Index Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Index Name": "s_nk", "Startup Cost": 0.0, "Total Cost": 4.38, "Plan Rows": 400, "Plan Width": 0, "Index Cond": "(supplier.s_nationkey = nation.n_nationkey)"}]}]}, {"Node Type": "Index Scan", "Parent Relationship": "Inner", "Parallel Aware": false, "Async Capable": false, "Scan Direction": "Forward", "Index Name": "l_sk", "Relation Name": "lineitem", "Schema": "public", "Alias": "l1", "Startup Cost": 0.43, "Total Cost": 25.37, "Plan Rows": 200, "Plan Width": 8, "Output": ["l1.l_orderkey", "l1.l_partkey", "l1.l_suppkey", "l1.l_linenumber", "l1.l_quantity", "l1.l_extendedprice", "l1.l_discount", "l1.l_tax", "l1.l_returnflag", "l1.l_linestatus", "l1.l_shipdate", "l1.l_commitdate", "l1.l_receiptdate", "l1.l_shipinstruct", "l1.l_shipmode", "l1.l_comment"], "Index Cond": "(l1.l_suppkey = supplier.s_suppkey)", "Filter": "(l1.l_receiptdate > l1.l_commitdate)"}]}]}]}, {"Node Type": "Index Scan", "Parent Relationship": "Inner", "Parallel Aware": false, "Async Capable": false, "Scan Direction": "Forward", "Index Name": "l_ok", "Relation Name": "lineitem", "Schema": "public", "Alias": "l3", "Startup Cost": 0.43, "Total Cost": 0.61, "Plan Rows": 2, "Plan Width": 8, "Output": ["l3.l_orderkey", "l3.l_partkey", "l3.l_suppkey", "l3.l_linenumber", "l3.l_quantity", "l3.l_extendedprice", "l3.l_discount", "l3.l_tax", "l3.l_returnflag", "l3.l_linestatus", "l3.l_shipdate", "l3.l_commitdate", "l3.l_receiptdate", "l3.l_shipinstruct", "l3.l_shipmode", "l3.l_comment"], "Index Cond": "(l3.l_orderkey = l1.l_orderkey)", "Filter": "((l3.l_receiptdate > l3.l_commitdate) AND (l3.l_suppkey <> l1.l_suppkey))"}]}]}, {"Node Type": "Index Scan", "Parent Relationship": "Inner", "Parallel Aware": false, "Async Capable": false, "Scan Direction": "Forward", "Index Name": "l_ok", "Relation Name": "lineitem", "Schema": "public", "Alias": "l2", "Startup Cost": 0.43, "Total Cost": 0.6, "Plan Rows": 5, "Plan Width": 8, "Output": ["l2.l_orderkey", "l2.l_partkey", "l2.l_suppkey", "l2.l_linenumber", "l2.l_quantity", "l2.l_extendedprice", "l2.l_discount", "l2.l_tax", "l2.l_returnflag", "l2.l_linestatus", "l2.l_shipdate", "l2.l_commitdate", "l2.l_receiptdate", "l2.l_shipinstruct", "l2.l_shipmode", "l2.l_comment"], "Index Cond": "(l2.l_orderkey = l1.l_orderkey)", "Filter": "(l2.l_suppkey <> l1.l_suppkey)"}]}]}]}]}]}} diff --git a/dev9/pg17/tpch/sf_1/explain/15721/22-1.ok b/dev9/pg17/tpch/sf_1/explain/15721/22-1.ok new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/dev9/pg17/tpch/sf_1/explain/15721/22-1.res b/dev9/pg17/tpch/sf_1/explain/15721/22-1.res new file mode 100644 index 0000000000000000000000000000000000000000..4b74cfc4d58576dee63ec4e727bbd2af759b19cf --- /dev/null +++ b/dev9/pg17/tpch/sf_1/explain/15721/22-1.res @@ -0,0 +1 @@ +{"Plan": {"Node Type": "Aggregate", "Strategy": "Sorted", "Partial Mode": "Finalize", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 12875.85, "Total Cost": 12964.92, "Plan Rows": 668, "Plan Width": 72, "Output": ["(SUBSTRING(customer.c_phone FROM 1 FOR 2))", "count(*)", "sum(customer.c_acctbal)"], "Group Key": ["(SUBSTRING(customer.c_phone FROM 1 FOR 2))"], "Plans": [{"Node Type": "Aggregate", "Strategy": "Plain", "Partial Mode": "Finalize", "Parent Relationship": "InitPlan", "Subplan Name": "InitPlan 1", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 6239.82, "Total Cost": 6239.83, "Plan Rows": 1, "Plan Width": 32, "Output": ["avg(customer_1.c_acctbal)"], "Plans": [{"Node Type": "Gather", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 6239.6, "Total Cost": 6239.81, "Plan Rows": 2, "Plan Width": 32, "Output": ["(PARTIAL avg(customer_1.c_acctbal))"], "Workers Planned": 2, "Single Copy": false, "Plans": [{"Node Type": "Aggregate", "Strategy": "Plain", "Partial Mode": "Partial", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 5239.6, "Total Cost": 5239.61, "Plan Rows": 1, "Plan Width": 32, "Output": ["PARTIAL avg(customer_1.c_acctbal)"], "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": true, "Async Capable": false, "Relation Name": "customer", "Schema": "public", "Alias": "customer_1", "Startup Cost": 0.0, "Total Cost": 5234.62, "Plan Rows": 1988, "Plan Width": 6, "Output": ["customer_1.c_custkey", "customer_1.c_name", "customer_1.c_address", "customer_1.c_nationkey", "customer_1.c_phone", "customer_1.c_acctbal", "customer_1.c_mktsegment", "customer_1.c_comment"], "Filter": "((customer_1.c_acctbal > 0.00) AND (SUBSTRING(customer_1.c_phone FROM 1 FOR 2) = ANY ('{17,20,25,31,30,11,33}'::text[])))"}]}]}]}, {"Node Type": "Gather Merge", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 6636.02, "Total Cost": 6707.84, "Plan Rows": 556, "Plan Width": 72, "Output": ["(SUBSTRING(customer.c_phone FROM 1 FOR 2))", "(PARTIAL count(*))", "(PARTIAL sum(customer.c_acctbal))"], "Workers Planned": 2, "Plans": [{"Node Type": "Aggregate", "Strategy": "Sorted", "Partial Mode": "Partial", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 5635.99, "Total Cost": 5643.64, "Plan Rows": 278, "Plan Width": 72, "Output": ["(SUBSTRING(customer.c_phone FROM 1 FOR 2))", "PARTIAL count(*)", "PARTIAL sum(customer.c_acctbal)"], "Group Key": ["(SUBSTRING(customer.c_phone FROM 1 FOR 2))"], "Plans": [{"Node Type": "Sort", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 5635.99, "Total Cost": 5636.69, "Plan Rows": 278, "Plan Width": 38, "Output": ["(SUBSTRING(customer.c_phone FROM 1 FOR 2))", "customer.c_acctbal"], "Sort Key": ["(SUBSTRING(customer.c_phone FROM 1 FOR 2))"], "Plans": [{"Node Type": "Nested Loop", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Join Type": "Anti", "Startup Cost": 0.43, "Total Cost": 5624.71, "Plan Rows": 278, "Plan Width": 38, "Output": ["SUBSTRING(customer.c_phone FROM 1 FOR 2)", "customer.c_acctbal"], "Inner Unique": false, "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": true, "Async Capable": false, "Relation Name": "customer", "Schema": "public", "Alias": "customer", "Startup Cost": 0.0, "Total Cost": 5234.62, "Plan Rows": 729, "Plan Width": 26, "Output": ["customer.c_custkey", "customer.c_name", "customer.c_address", "customer.c_nationkey", "customer.c_phone", "customer.c_acctbal", "customer.c_mktsegment", "customer.c_comment"], "Filter": "((customer.c_acctbal > (InitPlan 1).col1) AND (SUBSTRING(customer.c_phone FROM 1 FOR 2) = ANY ('{17,20,25,31,30,11,33}'::text[])))"}, {"Node Type": "Index Only Scan", "Parent Relationship": "Inner", "Parallel Aware": false, "Async Capable": false, "Scan Direction": "Forward", "Index Name": "o_ck", "Relation Name": "orders", "Schema": "public", "Alias": "orders", "Startup Cost": 0.43, "Total Cost": 1.41, "Plan Rows": 16, "Plan Width": 4, "Output": ["orders.o_custkey"], "Index Cond": "(orders.o_custkey = customer.c_custkey)"}]}]}]}]}]}} diff --git a/dev9/pg17/tpch/sf_1/explain/15721/3-1.ok b/dev9/pg17/tpch/sf_1/explain/15721/3-1.ok new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/dev9/pg17/tpch/sf_1/explain/15721/3-1.res b/dev9/pg17/tpch/sf_1/explain/15721/3-1.res new file mode 100644 index 0000000000000000000000000000000000000000..c4a7e1b338c728b2382de7a66b870f370382ca03 --- /dev/null +++ b/dev9/pg17/tpch/sf_1/explain/15721/3-1.res @@ -0,0 +1 @@ +{"Plan": {"Node Type": "Limit", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 132527.77, "Total Cost": 132527.8, "Plan Rows": 10, "Plan Width": 44, "Output": ["lineitem.l_orderkey", "(sum((lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount))))", "orders.o_orderdate", "orders.o_shippriority"], "Plans": [{"Node Type": "Sort", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 132527.77, "Total Cost": 133309.81, "Plan Rows": 312814, "Plan Width": 44, "Output": ["lineitem.l_orderkey", "(sum((lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount))))", "orders.o_orderdate", "orders.o_shippriority"], "Sort Key": ["(sum((lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount)))) DESC", "orders.o_orderdate"], "Plans": [{"Node Type": "Aggregate", "Strategy": "Sorted", "Partial Mode": "Finalize", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 84600.44, "Total Cost": 125767.97, "Plan Rows": 312814, "Plan Width": 44, "Output": ["lineitem.l_orderkey", "sum((lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount)))", "orders.o_orderdate", "orders.o_shippriority"], "Group Key": ["lineitem.l_orderkey", "orders.o_orderdate", "orders.o_shippriority"], "Plans": [{"Node Type": "Gather Merge", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 84600.44, "Total Cost": 118599.32, "Plan Rows": 260678, "Plan Width": 44, "Output": ["lineitem.l_orderkey", "orders.o_orderdate", "orders.o_shippriority", "(PARTIAL sum((lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount))))"], "Workers Planned": 2, "Plans": [{"Node Type": "Aggregate", "Strategy": "Sorted", "Partial Mode": "Partial", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 83600.42, "Total Cost": 87510.59, "Plan Rows": 130339, "Plan Width": 44, "Output": ["lineitem.l_orderkey", "orders.o_orderdate", "orders.o_shippriority", "PARTIAL sum((lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount)))"], "Group Key": ["lineitem.l_orderkey", "orders.o_orderdate", "orders.o_shippriority"], "Plans": [{"Node Type": "Sort", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 83600.42, "Total Cost": 83926.27, "Plan Rows": 130339, "Plan Width": 24, "Output": ["lineitem.l_orderkey", "orders.o_orderdate", "orders.o_shippriority", "lineitem.l_extendedprice", "lineitem.l_discount"], "Sort Key": ["lineitem.l_orderkey", "orders.o_orderdate", "orders.o_shippriority"], "Plans": [{"Node Type": "Nested Loop", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Join Type": "Inner", "Startup Cost": 0.86, "Total Cost": 72526.88, "Plan Rows": 130339, "Plan Width": 24, "Output": ["lineitem.l_orderkey", "orders.o_orderdate", "orders.o_shippriority", "lineitem.l_extendedprice", "lineitem.l_discount"], "Inner Unique": false, "Plans": [{"Node Type": "Nested Loop", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Join Type": "Inner", "Startup Cost": 0.43, "Total Cost": 27389.29, "Plan Rows": 60374, "Plan Width": 12, "Output": ["orders.o_orderdate", "orders.o_shippriority", "orders.o_orderkey"], "Inner Unique": false, "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": true, "Async Capable": false, "Relation Name": "customer", "Schema": "public", "Alias": "customer", "Startup Cost": 0.0, "Total Cost": 4375.25, "Plan Rows": 12487, "Plan Width": 4, "Output": ["customer.c_custkey", "customer.c_name", "customer.c_address", "customer.c_nationkey", "customer.c_phone", "customer.c_acctbal", "customer.c_mktsegment", "customer.c_comment"], "Filter": "(customer.c_mktsegment = 'FURNITURE'::bpchar)"}, {"Node Type": "Index Scan", "Parent Relationship": "Inner", "Parallel Aware": false, "Async Capable": false, "Scan Direction": "Forward", "Index Name": "o_ck", "Relation Name": "orders", "Schema": "public", "Alias": "orders", "Startup Cost": 0.43, "Total Cost": 1.76, "Plan Rows": 8, "Plan Width": 16, "Output": ["orders.o_orderkey", "orders.o_custkey", "orders.o_orderstatus", "orders.o_totalprice", "orders.o_orderdate", "orders.o_orderpriority", "orders.o_clerk", "orders.o_shippriority", "orders.o_comment"], "Index Cond": "(orders.o_custkey = customer.c_custkey)", "Filter": "(orders.o_orderdate < '1995-03-20'::date)"}]}, {"Node Type": "Index Scan", "Parent Relationship": "Inner", "Parallel Aware": false, "Async Capable": false, "Scan Direction": "Forward", "Index Name": "l_ok", "Relation Name": "lineitem", "Schema": "public", "Alias": "lineitem", "Startup Cost": 0.43, "Total Cost": 0.72, "Plan Rows": 3, "Plan Width": 16, "Output": ["lineitem.l_orderkey", "lineitem.l_partkey", "lineitem.l_suppkey", "lineitem.l_linenumber", "lineitem.l_quantity", "lineitem.l_extendedprice", "lineitem.l_discount", "lineitem.l_tax", "lineitem.l_returnflag", "lineitem.l_linestatus", "lineitem.l_shipdate", "lineitem.l_commitdate", "lineitem.l_receiptdate", "lineitem.l_shipinstruct", "lineitem.l_shipmode", "lineitem.l_comment"], "Index Cond": "(lineitem.l_orderkey = orders.o_orderkey)", "Filter": "(lineitem.l_shipdate > '1995-03-20'::date)"}]}]}]}]}]}]}]}} diff --git a/dev9/pg17/tpch/sf_1/explain/15721/4-1.ok b/dev9/pg17/tpch/sf_1/explain/15721/4-1.ok new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/dev9/pg17/tpch/sf_1/explain/15721/4-1.res b/dev9/pg17/tpch/sf_1/explain/15721/4-1.res new file mode 100644 index 0000000000000000000000000000000000000000..e2dad728106df54ded6215ba5c72060d4c942924 --- /dev/null +++ b/dev9/pg17/tpch/sf_1/explain/15721/4-1.res @@ -0,0 +1 @@ +{"Plan": {"Node Type": "Aggregate", "Strategy": "Sorted", "Partial Mode": "Finalize", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 51119.54, "Total Cost": 51121.44, "Plan Rows": 5, "Plan Width": 24, "Output": ["orders.o_orderpriority", "count(*)"], "Group Key": ["orders.o_orderpriority"], "Plans": [{"Node Type": "Gather Merge", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 51119.54, "Total Cost": 51121.32, "Plan Rows": 15, "Plan Width": 24, "Output": ["orders.o_orderpriority", "(PARTIAL count(*))"], "Workers Planned": 3, "Plans": [{"Node Type": "Sort", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 50119.5, "Total Cost": 50119.51, "Plan Rows": 5, "Plan Width": 24, "Output": ["orders.o_orderpriority", "(PARTIAL count(*))"], "Sort Key": ["orders.o_orderpriority"], "Plans": [{"Node Type": "Aggregate", "Strategy": "Hashed", "Partial Mode": "Partial", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 50119.39, "Total Cost": 50119.44, "Plan Rows": 5, "Plan Width": 24, "Output": ["orders.o_orderpriority", "PARTIAL count(*)"], "Group Key": ["orders.o_orderpriority"], "Planned Partitions": 0, "Plans": [{"Node Type": "Nested Loop", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Join Type": "Semi", "Startup Cost": 632.27, "Total Cost": 50045.98, "Plan Rows": 14683, "Plan Width": 16, "Output": ["orders.o_orderpriority"], "Inner Unique": false, "Plans": [{"Node Type": "Bitmap Heap Scan", "Parent Relationship": "Outer", "Parallel Aware": true, "Async Capable": false, "Relation Name": "orders", "Schema": "public", "Alias": "orders", "Startup Cost": 631.84, "Total Cost": 27028.94, "Plan Rows": 18140, "Plan Width": 20, "Output": ["orders.o_orderkey", "orders.o_custkey", "orders.o_orderstatus", "orders.o_totalprice", "orders.o_orderdate", "orders.o_orderpriority", "orders.o_clerk", "orders.o_shippriority", "orders.o_comment"], "Recheck Cond": "((orders.o_orderdate >= '1996-01-01'::date) AND (orders.o_orderdate < '1996-04-01 00:00:00'::timestamp without time zone))", "Plans": [{"Node Type": "Bitmap Index Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Index Name": "o_od", "Startup Cost": 0.0, "Total Cost": 617.78, "Plan Rows": 56235, "Plan Width": 0, "Index Cond": "((orders.o_orderdate >= '1996-01-01'::date) AND (orders.o_orderdate < '1996-04-01 00:00:00'::timestamp without time zone))"}]}, {"Node Type": "Index Scan", "Parent Relationship": "Inner", "Parallel Aware": false, "Async Capable": false, "Scan Direction": "Forward", "Index Name": "l_ok", "Relation Name": "lineitem", "Schema": "public", "Alias": "lineitem", "Startup Cost": 0.43, "Total Cost": 1.6, "Plan Rows": 2, "Plan Width": 4, "Output": ["lineitem.l_orderkey", "lineitem.l_partkey", "lineitem.l_suppkey", "lineitem.l_linenumber", "lineitem.l_quantity", "lineitem.l_extendedprice", "lineitem.l_discount", "lineitem.l_tax", "lineitem.l_returnflag", "lineitem.l_linestatus", "lineitem.l_shipdate", "lineitem.l_commitdate", "lineitem.l_receiptdate", "lineitem.l_shipinstruct", "lineitem.l_shipmode", "lineitem.l_comment"], "Index Cond": "(lineitem.l_orderkey = orders.o_orderkey)", "Filter": "(lineitem.l_commitdate < lineitem.l_receiptdate)"}]}]}]}]}]}} diff --git a/dev9/pg17/tpch/sf_1/explain/15721/5-1.ok b/dev9/pg17/tpch/sf_1/explain/15721/5-1.ok new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/dev9/pg17/tpch/sf_1/explain/15721/5-1.res b/dev9/pg17/tpch/sf_1/explain/15721/5-1.res new file mode 100644 index 0000000000000000000000000000000000000000..56b96ad36e8035730171e224be4e29b33d50b8d2 --- /dev/null +++ b/dev9/pg17/tpch/sf_1/explain/15721/5-1.res @@ -0,0 +1 @@ +{"Plan": {"Node Type": "Sort", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 41644.41, "Total Cost": 41644.47, "Plan Rows": 25, "Plan Width": 58, "Output": ["nation.n_name", "(sum((lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount))))"], "Sort Key": ["(sum((lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount)))) DESC"], "Plans": [{"Node Type": "Aggregate", "Strategy": "Sorted", "Partial Mode": "Finalize", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 41598.41, "Total Cost": 41643.83, "Plan Rows": 25, "Plan Width": 58, "Output": ["nation.n_name", "sum((lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount)))"], "Group Key": ["nation.n_name"], "Plans": [{"Node Type": "Gather Merge", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 41598.41, "Total Cost": 41643.14, "Plan Rows": 50, "Plan Width": 58, "Output": ["nation.n_name", "(PARTIAL sum((lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount))))"], "Workers Planned": 2, "Plans": [{"Node Type": "Aggregate", "Strategy": "Sorted", "Partial Mode": "Partial", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 40598.38, "Total Cost": 40637.34, "Plan Rows": 25, "Plan Width": 58, "Output": ["nation.n_name", "PARTIAL sum((lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount)))"], "Group Key": ["nation.n_name"], "Plans": [{"Node Type": "Sort", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 40598.38, "Total Cost": 40606.11, "Plan Rows": 3092, "Plan Width": 38, "Output": ["nation.n_name", "lineitem.l_extendedprice", "lineitem.l_discount"], "Sort Key": ["nation.n_name"], "Plans": [{"Node Type": "Hash Join", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Join Type": "Inner", "Startup Cost": 476.37, "Total Cost": 40419.13, "Plan Rows": 3092, "Plan Width": 38, "Output": ["nation.n_name", "lineitem.l_extendedprice", "lineitem.l_discount"], "Inner Unique": true, "Hash Cond": "((lineitem.l_suppkey = supplier.s_suppkey) AND (customer.c_nationkey = supplier.s_nationkey))", "Plans": [{"Node Type": "Nested Loop", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Join Type": "Inner", "Startup Cost": 3.37, "Total Cost": 39540.23, "Plan Rows": 77315, "Plan Width": 50, "Output": ["customer.c_nationkey", "lineitem.l_extendedprice", "lineitem.l_discount", "lineitem.l_suppkey", "nation.n_name", "nation.n_nationkey"], "Inner Unique": false, "Plans": [{"Node Type": "Nested Loop", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Join Type": "Inner", "Startup Cost": 2.94, "Total Cost": 17335.78, "Plan Rows": 19325, "Plan Width": 38, "Output": ["customer.c_nationkey", "orders.o_orderkey", "nation.n_name", "nation.n_nationkey"], "Inner Unique": false, "Plans": [{"Node Type": "Hash Join", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Join Type": "Inner", "Startup Cost": 2.51, "Total Cost": 4580.88, "Plan Rows": 12500, "Plan Width": 38, "Output": ["customer.c_custkey", "customer.c_nationkey", "nation.n_name", "nation.n_nationkey"], "Inner Unique": false, "Hash Cond": "(customer.c_nationkey = nation.n_nationkey)", "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": true, "Async Capable": false, "Relation Name": "customer", "Schema": "public", "Alias": "customer", "Startup Cost": 0.0, "Total Cost": 4219.0, "Plan Rows": 62500, "Plan Width": 8, "Output": ["customer.c_custkey", "customer.c_name", "customer.c_address", "customer.c_nationkey", "customer.c_phone", "customer.c_acctbal", "customer.c_mktsegment", "customer.c_comment"]}, {"Node Type": "Hash", "Parent Relationship": "Inner", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 2.45, "Total Cost": 2.45, "Plan Rows": 5, "Plan Width": 30, "Output": ["nation.n_name", "nation.n_nationkey"], "Plans": [{"Node Type": "Hash Join", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Join Type": "Inner", "Startup Cost": 1.07, "Total Cost": 2.45, "Plan Rows": 5, "Plan Width": 30, "Output": ["nation.n_name", "nation.n_nationkey"], "Inner Unique": true, "Hash Cond": "(nation.n_regionkey = region.r_regionkey)", "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Relation Name": "nation", "Schema": "public", "Alias": "nation", "Startup Cost": 0.0, "Total Cost": 1.25, "Plan Rows": 25, "Plan Width": 34, "Output": ["nation.n_nationkey", "nation.n_name", "nation.n_regionkey", "nation.n_comment"]}, {"Node Type": "Hash", "Parent Relationship": "Inner", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 1.06, "Total Cost": 1.06, "Plan Rows": 1, "Plan Width": 4, "Output": ["region.r_regionkey"], "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Relation Name": "region", "Schema": "public", "Alias": "region", "Startup Cost": 0.0, "Total Cost": 1.06, "Plan Rows": 1, "Plan Width": 4, "Output": ["region.r_regionkey"], "Filter": "(region.r_name = 'AMERICA'::bpchar)"}]}]}]}]}, {"Node Type": "Index Scan", "Parent Relationship": "Inner", "Parallel Aware": false, "Async Capable": false, "Scan Direction": "Forward", "Index Name": "o_ck", "Relation Name": "orders", "Schema": "public", "Alias": "orders", "Startup Cost": 0.43, "Total Cost": 0.99, "Plan Rows": 3, "Plan Width": 8, "Output": ["orders.o_orderkey", "orders.o_custkey", "orders.o_orderstatus", "orders.o_totalprice", "orders.o_orderdate", "orders.o_orderpriority", "orders.o_clerk", "orders.o_shippriority", "orders.o_comment"], "Index Cond": "(orders.o_custkey = customer.c_custkey)", "Filter": "((orders.o_orderdate >= '1995-01-01'::date) AND (orders.o_orderdate < '1996-01-01 00:00:00'::timestamp without time zone))"}]}, {"Node Type": "Index Scan", "Parent Relationship": "Inner", "Parallel Aware": false, "Async Capable": false, "Scan Direction": "Forward", "Index Name": "l_ok", "Relation Name": "lineitem", "Schema": "public", "Alias": "lineitem", "Startup Cost": 0.43, "Total Cost": 1.1, "Plan Rows": 5, "Plan Width": 20, "Output": ["lineitem.l_orderkey", "lineitem.l_partkey", "lineitem.l_suppkey", "lineitem.l_linenumber", "lineitem.l_quantity", "lineitem.l_extendedprice", "lineitem.l_discount", "lineitem.l_tax", "lineitem.l_returnflag", "lineitem.l_linestatus", "lineitem.l_shipdate", "lineitem.l_commitdate", "lineitem.l_receiptdate", "lineitem.l_shipinstruct", "lineitem.l_shipmode", "lineitem.l_comment"], "Index Cond": "(lineitem.l_orderkey = orders.o_orderkey)"}]}, {"Node Type": "Hash", "Parent Relationship": "Inner", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 323.0, "Total Cost": 323.0, "Plan Rows": 10000, "Plan Width": 8, "Output": ["supplier.s_suppkey", "supplier.s_nationkey"], "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Relation Name": "supplier", "Schema": "public", "Alias": "supplier", "Startup Cost": 0.0, "Total Cost": 323.0, "Plan Rows": 10000, "Plan Width": 8, "Output": ["supplier.s_suppkey", "supplier.s_nationkey"]}]}]}]}]}]}]}]}} diff --git a/dev9/pg17/tpch/sf_1/explain/15721/6-1.ok b/dev9/pg17/tpch/sf_1/explain/15721/6-1.ok new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/dev9/pg17/tpch/sf_1/explain/15721/6-1.res b/dev9/pg17/tpch/sf_1/explain/15721/6-1.res new file mode 100644 index 0000000000000000000000000000000000000000..be3b727a7ac435fa40efabe0ab71c9e4c8a222e5 --- /dev/null +++ b/dev9/pg17/tpch/sf_1/explain/15721/6-1.res @@ -0,0 +1 @@ +{"Plan": {"Node Type": "Aggregate", "Strategy": "Plain", "Partial Mode": "Finalize", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 127858.42, "Total Cost": 127858.43, "Plan Rows": 1, "Plan Width": 32, "Output": ["sum((l_extendedprice * l_discount))"], "Plans": [{"Node Type": "Gather", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 127857.89, "Total Cost": 127858.4, "Plan Rows": 5, "Plan Width": 32, "Output": ["(PARTIAL sum((l_extendedprice * l_discount)))"], "Workers Planned": 5, "Single Copy": false, "Plans": [{"Node Type": "Aggregate", "Strategy": "Plain", "Partial Mode": "Partial", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 126857.89, "Total Cost": 126857.9, "Plan Rows": 1, "Plan Width": 32, "Output": ["PARTIAL sum((l_extendedprice * l_discount))"], "Plans": [{"Node Type": "Bitmap Heap Scan", "Parent Relationship": "Outer", "Parallel Aware": true, "Async Capable": false, "Relation Name": "lineitem", "Schema": "public", "Alias": "lineitem", "Startup Cost": 10065.67, "Total Cost": 126743.09, "Plan Rows": 22958, "Plan Width": 12, "Output": ["l_orderkey", "l_partkey", "l_suppkey", "l_linenumber", "l_quantity", "l_extendedprice", "l_discount", "l_tax", "l_returnflag", "l_linestatus", "l_shipdate", "l_commitdate", "l_receiptdate", "l_shipinstruct", "l_shipmode", "l_comment"], "Recheck Cond": "((lineitem.l_shipdate >= '1995-01-01'::date) AND (lineitem.l_shipdate < '1996-01-01 00:00:00'::timestamp without time zone))", "Filter": "((lineitem.l_discount >= 0.04) AND (lineitem.l_discount <= 0.06) AND (lineitem.l_quantity < '24'::numeric))", "Plans": [{"Node Type": "Bitmap Index Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Index Name": "l_sd", "Startup Cost": 0.0, "Total Cost": 10036.97, "Plan Rows": 916094, "Plan Width": 0, "Index Cond": "((lineitem.l_shipdate >= '1995-01-01'::date) AND (lineitem.l_shipdate < '1996-01-01 00:00:00'::timestamp without time zone))"}]}]}]}]}} diff --git a/dev9/pg17/tpch/sf_1/explain/15721/7-1.ok b/dev9/pg17/tpch/sf_1/explain/15721/7-1.ok new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/dev9/pg17/tpch/sf_1/explain/15721/7-1.res b/dev9/pg17/tpch/sf_1/explain/15721/7-1.res new file mode 100644 index 0000000000000000000000000000000000000000..1d94baee0cbcc5d02b729cd8f724e14c3de24154 --- /dev/null +++ b/dev9/pg17/tpch/sf_1/explain/15721/7-1.res @@ -0,0 +1 @@ +{"Plan": {"Node Type": "Aggregate", "Strategy": "Sorted", "Partial Mode": "Finalize", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 36254.06, "Total Cost": 37078.25, "Plan Rows": 6099, "Plan Width": 116, "Output": ["n1.n_name", "n2.n_name", "(EXTRACT(year FROM lineitem.l_shipdate))", "sum((lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount)))"], "Group Key": ["n1.n_name", "n2.n_name", "(EXTRACT(year FROM lineitem.l_shipdate))"], "Plans": [{"Node Type": "Gather Merge", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 36254.06, "Total Cost": 36923.24, "Plan Rows": 5082, "Plan Width": 116, "Output": ["n1.n_name", "n2.n_name", "(EXTRACT(year FROM lineitem.l_shipdate))", "(PARTIAL sum((lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount))))"], "Workers Planned": 2, "Plans": [{"Node Type": "Aggregate", "Strategy": "Sorted", "Partial Mode": "Partial", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 35254.04, "Total Cost": 35336.62, "Plan Rows": 2541, "Plan Width": 116, "Output": ["n1.n_name", "n2.n_name", "(EXTRACT(year FROM lineitem.l_shipdate))", "PARTIAL sum((lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount)))"], "Group Key": ["n1.n_name", "n2.n_name", "(EXTRACT(year FROM lineitem.l_shipdate))"], "Plans": [{"Node Type": "Sort", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 35254.04, "Total Cost": 35260.39, "Plan Rows": 2541, "Plan Width": 96, "Output": ["n1.n_name", "n2.n_name", "(EXTRACT(year FROM lineitem.l_shipdate))", "lineitem.l_extendedprice", "lineitem.l_discount"], "Sort Key": ["n1.n_name", "n2.n_name", "(EXTRACT(year FROM lineitem.l_shipdate))"], "Plans": [{"Node Type": "Hash Join", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Join Type": "Inner", "Startup Cost": 25056.38, "Total Cost": 35110.33, "Plan Rows": 2541, "Plan Width": 96, "Output": ["n1.n_name", "n2.n_name", "EXTRACT(year FROM lineitem.l_shipdate)", "lineitem.l_extendedprice", "lineitem.l_discount"], "Inner Unique": false, "Hash Cond": "(orders.o_orderkey = lineitem.l_orderkey)", "Join Filter": "(((n1.n_name = 'IRAN'::bpchar) AND (n2.n_name = 'ETHIOPIA'::bpchar)) OR ((n1.n_name = 'ETHIOPIA'::bpchar) AND (n2.n_name = 'IRAN'::bpchar)))", "Plans": [{"Node Type": "Nested Loop", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Join Type": "Inner", "Startup Cost": 1.83, "Total Cost": 9764.23, "Plan Rows": 50000, "Plan Width": 30, "Output": ["orders.o_orderkey", "n2.n_name"], "Inner Unique": false, "Plans": [{"Node Type": "Hash Join", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Join Type": "Inner", "Startup Cost": 1.4, "Total Cost": 4412.27, "Plan Rows": 5000, "Plan Width": 30, "Output": ["customer.c_custkey", "n2.n_name"], "Inner Unique": true, "Hash Cond": "(customer.c_nationkey = n2.n_nationkey)", "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": true, "Async Capable": false, "Relation Name": "customer", "Schema": "public", "Alias": "customer", "Startup Cost": 0.0, "Total Cost": 4219.0, "Plan Rows": 62500, "Plan Width": 8, "Output": ["customer.c_custkey", "customer.c_name", "customer.c_address", "customer.c_nationkey", "customer.c_phone", "customer.c_acctbal", "customer.c_mktsegment", "customer.c_comment"]}, {"Node Type": "Hash", "Parent Relationship": "Inner", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 1.38, "Total Cost": 1.38, "Plan Rows": 2, "Plan Width": 30, "Output": ["n2.n_name", "n2.n_nationkey"], "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Relation Name": "nation", "Schema": "public", "Alias": "n2", "Startup Cost": 0.0, "Total Cost": 1.38, "Plan Rows": 2, "Plan Width": 30, "Output": ["n2.n_name", "n2.n_nationkey"], "Filter": "((n2.n_name = 'ETHIOPIA'::bpchar) OR (n2.n_name = 'IRAN'::bpchar))"}]}]}, {"Node Type": "Index Scan", "Parent Relationship": "Inner", "Parallel Aware": false, "Async Capable": false, "Scan Direction": "Forward", "Index Name": "o_ck", "Relation Name": "orders", "Schema": "public", "Alias": "orders", "Startup Cost": 0.43, "Total Cost": 0.91, "Plan Rows": 16, "Plan Width": 8, "Output": ["orders.o_orderkey", "orders.o_custkey", "orders.o_orderstatus", "orders.o_totalprice", "orders.o_orderdate", "orders.o_orderpriority", "orders.o_clerk", "orders.o_shippriority", "orders.o_comment"], "Index Cond": "(orders.o_custkey = customer.c_custkey)"}]}, {"Node Type": "Hash", "Parent Relationship": "Inner", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 23222.5, "Total Cost": 23222.5, "Plan Rows": 146564, "Plan Width": 46, "Output": ["lineitem.l_shipdate", "lineitem.l_extendedprice", "lineitem.l_discount", "lineitem.l_orderkey", "n1.n_name"], "Plans": [{"Node Type": "Nested Loop", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Join Type": "Inner", "Startup Cost": 4.92, "Total Cost": 23222.5, "Plan Rows": 146564, "Plan Width": 46, "Output": ["lineitem.l_shipdate", "lineitem.l_extendedprice", "lineitem.l_discount", "lineitem.l_orderkey", "n1.n_name"], "Inner Unique": false, "Plans": [{"Node Type": "Nested Loop", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Join Type": "Inner", "Startup Cost": 4.48, "Total Cost": 258.87, "Plan Rows": 800, "Plan Width": 30, "Output": ["supplier.s_suppkey", "n1.n_name"], "Inner Unique": false, "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Relation Name": "nation", "Schema": "public", "Alias": "n1", "Startup Cost": 0.0, "Total Cost": 1.38, "Plan Rows": 2, "Plan Width": 30, "Output": ["n1.n_nationkey", "n1.n_name", "n1.n_regionkey", "n1.n_comment"], "Filter": "((n1.n_name = 'IRAN'::bpchar) OR (n1.n_name = 'ETHIOPIA'::bpchar))"}, {"Node Type": "Bitmap Heap Scan", "Parent Relationship": "Inner", "Parallel Aware": false, "Async Capable": false, "Relation Name": "supplier", "Schema": "public", "Alias": "supplier", "Startup Cost": 4.48, "Total Cost": 124.75, "Plan Rows": 400, "Plan Width": 8, "Output": ["supplier.s_suppkey", "supplier.s_name", "supplier.s_address", "supplier.s_nationkey", "supplier.s_phone", "supplier.s_acctbal", "supplier.s_comment"], "Recheck Cond": "(supplier.s_nationkey = n1.n_nationkey)", "Plans": [{"Node Type": "Bitmap Index Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Index Name": "s_nk", "Startup Cost": 0.0, "Total Cost": 4.38, "Plan Rows": 400, "Plan Width": 0, "Index Cond": "(supplier.s_nationkey = n1.n_nationkey)"}]}]}, {"Node Type": "Index Scan", "Parent Relationship": "Inner", "Parallel Aware": false, "Async Capable": false, "Scan Direction": "Forward", "Index Name": "l_sk", "Relation Name": "lineitem", "Schema": "public", "Alias": "lineitem", "Startup Cost": 0.43, "Total Cost": 26.87, "Plan Rows": 183, "Plan Width": 24, "Output": ["lineitem.l_orderkey", "lineitem.l_partkey", "lineitem.l_suppkey", "lineitem.l_linenumber", "lineitem.l_quantity", "lineitem.l_extendedprice", "lineitem.l_discount", "lineitem.l_tax", "lineitem.l_returnflag", "lineitem.l_linestatus", "lineitem.l_shipdate", "lineitem.l_commitdate", "lineitem.l_receiptdate", "lineitem.l_shipinstruct", "lineitem.l_shipmode", "lineitem.l_comment"], "Index Cond": "(lineitem.l_suppkey = supplier.s_suppkey)", "Filter": "((lineitem.l_shipdate >= '1995-01-01'::date) AND (lineitem.l_shipdate <= '1996-12-31'::date))"}]}]}]}]}]}]}]}} diff --git a/dev9/pg17/tpch/sf_1/explain/15721/8-1.ok b/dev9/pg17/tpch/sf_1/explain/15721/8-1.ok new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/dev9/pg17/tpch/sf_1/explain/15721/8-1.res b/dev9/pg17/tpch/sf_1/explain/15721/8-1.res new file mode 100644 index 0000000000000000000000000000000000000000..ac87c09b7d99e0167f357912d6a89f89e3608916 --- /dev/null +++ b/dev9/pg17/tpch/sf_1/explain/15721/8-1.res @@ -0,0 +1 @@ +{"Plan": {"Node Type": "Aggregate", "Strategy": "Sorted", "Partial Mode": "Finalize", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 33313.53, "Total Cost": 33664.3, "Plan Rows": 2406, "Plan Width": 64, "Output": ["(EXTRACT(year FROM orders.o_orderdate))", "(sum(CASE WHEN (n2.n_name = 'ETHIOPIA'::bpchar) THEN (lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount)) ELSE '0'::numeric END) / sum((lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount))))"], "Group Key": ["(EXTRACT(year FROM orders.o_orderdate))"], "Plans": [{"Node Type": "Gather Merge", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 33313.53, "Total Cost": 33590.61, "Plan Rows": 2046, "Plan Width": 96, "Output": ["(EXTRACT(year FROM orders.o_orderdate))", "(PARTIAL sum(CASE WHEN (n2.n_name = 'ETHIOPIA'::bpchar) THEN (lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount)) ELSE '0'::numeric END))", "(PARTIAL sum((lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount))))"], "Workers Planned": 2, "Plans": [{"Node Type": "Aggregate", "Strategy": "Sorted", "Partial Mode": "Partial", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 32313.5, "Total Cost": 32354.42, "Plan Rows": 1023, "Plan Width": 96, "Output": ["(EXTRACT(year FROM orders.o_orderdate))", "PARTIAL sum(CASE WHEN (n2.n_name = 'ETHIOPIA'::bpchar) THEN (lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount)) ELSE '0'::numeric END)", "PARTIAL sum((lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount)))"], "Group Key": ["(EXTRACT(year FROM orders.o_orderdate))"], "Plans": [{"Node Type": "Sort", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 32313.5, "Total Cost": 32316.06, "Plan Rows": 1023, "Plan Width": 70, "Output": ["(EXTRACT(year FROM orders.o_orderdate))", "n2.n_name", "lineitem.l_extendedprice", "lineitem.l_discount"], "Sort Key": ["(EXTRACT(year FROM orders.o_orderdate))"], "Plans": [{"Node Type": "Hash Join", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Join Type": "Inner", "Startup Cost": 2020.81, "Total Cost": 32262.36, "Plan Rows": 1023, "Plan Width": 70, "Output": ["EXTRACT(year FROM orders.o_orderdate)", "n2.n_name", "lineitem.l_extendedprice", "lineitem.l_discount"], "Inner Unique": true, "Hash Cond": "(supplier.s_nationkey = n2.n_nationkey)", "Plans": [{"Node Type": "Nested Loop", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Join Type": "Inner", "Startup Cost": 2019.24, "Total Cost": 32255.1, "Plan Rows": 1023, "Plan Width": 20, "Output": ["lineitem.l_extendedprice", "lineitem.l_discount", "supplier.s_nationkey", "orders.o_orderdate"], "Inner Unique": true, "Plans": [{"Node Type": "Hash Join", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Join Type": "Inner", "Startup Cost": 2018.96, "Total Cost": 31945.59, "Plan Rows": 1023, "Plan Width": 20, "Output": ["lineitem.l_extendedprice", "lineitem.l_discount", "lineitem.l_suppkey", "orders.o_orderdate"], "Inner Unique": false, "Hash Cond": "(orders.o_custkey = customer.c_custkey)", "Plans": [{"Node Type": "Nested Loop", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Join Type": "Inner", "Startup Cost": 0.86, "Total Cost": 29898.08, "Plan Rows": 5117, "Plan Width": 24, "Output": ["lineitem.l_extendedprice", "lineitem.l_discount", "lineitem.l_suppkey", "orders.o_orderdate", "orders.o_custkey"], "Inner Unique": true, "Plans": [{"Node Type": "Nested Loop", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Join Type": "Inner", "Startup Cost": 0.43, "Total Cost": 22334.7, "Plan Rows": 16603, "Plan Width": 20, "Output": ["lineitem.l_extendedprice", "lineitem.l_discount", "lineitem.l_suppkey", "lineitem.l_orderkey"], "Inner Unique": false, "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": true, "Async Capable": false, "Relation Name": "part", "Schema": "public", "Alias": "part", "Startup Cost": 0.0, "Total Cost": 5138.67, "Plan Rows": 553, "Plan Width": 4, "Output": ["part.p_partkey", "part.p_name", "part.p_mfgr", "part.p_brand", "part.p_type", "part.p_size", "part.p_container", "part.p_retailprice", "part.p_comment"], "Filter": "((part.p_type)::text = 'SMALL BRUSHED NICKEL'::text)"}, {"Node Type": "Index Scan", "Parent Relationship": "Inner", "Parallel Aware": false, "Async Capable": false, "Scan Direction": "Forward", "Index Name": "l_pk", "Relation Name": "lineitem", "Schema": "public", "Alias": "lineitem", "Startup Cost": 0.43, "Total Cost": 30.79, "Plan Rows": 31, "Plan Width": 24, "Output": ["lineitem.l_orderkey", "lineitem.l_partkey", "lineitem.l_suppkey", "lineitem.l_linenumber", "lineitem.l_quantity", "lineitem.l_extendedprice", "lineitem.l_discount", "lineitem.l_tax", "lineitem.l_returnflag", "lineitem.l_linestatus", "lineitem.l_shipdate", "lineitem.l_commitdate", "lineitem.l_receiptdate", "lineitem.l_shipinstruct", "lineitem.l_shipmode", "lineitem.l_comment"], "Index Cond": "(lineitem.l_partkey = part.p_partkey)"}]}, {"Node Type": "Index Scan", "Parent Relationship": "Inner", "Parallel Aware": false, "Async Capable": false, "Scan Direction": "Forward", "Index Name": "o_ok", "Relation Name": "orders", "Schema": "public", "Alias": "orders", "Startup Cost": 0.43, "Total Cost": 0.46, "Plan Rows": 1, "Plan Width": 12, "Output": ["orders.o_orderkey", "orders.o_custkey", "orders.o_orderstatus", "orders.o_totalprice", "orders.o_orderdate", "orders.o_orderpriority", "orders.o_clerk", "orders.o_shippriority", "orders.o_comment"], "Index Cond": "(orders.o_orderkey = lineitem.l_orderkey)", "Filter": "((orders.o_orderdate >= '1995-01-01'::date) AND (orders.o_orderdate <= '1996-12-31'::date))"}]}, {"Node Type": "Hash", "Parent Relationship": "Inner", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 1643.1, "Total Cost": 1643.1, "Plan Rows": 30000, "Plan Width": 4, "Output": ["customer.c_custkey"], "Plans": [{"Node Type": "Nested Loop", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Join Type": "Inner", "Startup Cost": 0.43, "Total Cost": 1643.1, "Plan Rows": 30000, "Plan Width": 4, "Output": ["customer.c_custkey"], "Inner Unique": false, "Plans": [{"Node Type": "Nested Loop", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Join Type": "Inner", "Startup Cost": 0.14, "Total Cost": 5.25, "Plan Rows": 5, "Plan Width": 4, "Output": ["n1.n_nationkey"], "Inner Unique": true, "Join Filter": "(n1.n_regionkey = region.r_regionkey)", "Plans": [{"Node Type": "Index Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Scan Direction": "Forward", "Index Name": "n_nk", "Relation Name": "nation", "Schema": "public", "Alias": "n1", "Startup Cost": 0.14, "Total Cost": 3.81, "Plan Rows": 25, "Plan Width": 8, "Output": ["n1.n_nationkey", "n1.n_name", "n1.n_regionkey", "n1.n_comment"]}, {"Node Type": "Materialize", "Parent Relationship": "Inner", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 0.0, "Total Cost": 1.07, "Plan Rows": 1, "Plan Width": 4, "Output": ["region.r_regionkey"], "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Relation Name": "region", "Schema": "public", "Alias": "region", "Startup Cost": 0.0, "Total Cost": 1.06, "Plan Rows": 1, "Plan Width": 4, "Output": ["region.r_regionkey"], "Filter": "(region.r_name = 'AFRICA'::bpchar)"}]}]}, {"Node Type": "Index Scan", "Parent Relationship": "Inner", "Parallel Aware": false, "Async Capable": false, "Scan Direction": "Forward", "Index Name": "c_nk", "Relation Name": "customer", "Schema": "public", "Alias": "customer", "Startup Cost": 0.29, "Total Cost": 267.57, "Plan Rows": 6000, "Plan Width": 8, "Output": ["customer.c_custkey", "customer.c_name", "customer.c_address", "customer.c_nationkey", "customer.c_phone", "customer.c_acctbal", "customer.c_mktsegment", "customer.c_comment"], "Index Cond": "(customer.c_nationkey = n1.n_nationkey)"}]}]}]}, {"Node Type": "Index Scan", "Parent Relationship": "Inner", "Parallel Aware": false, "Async Capable": false, "Scan Direction": "Forward", "Index Name": "s_sk", "Relation Name": "supplier", "Schema": "public", "Alias": "supplier", "Startup Cost": 0.29, "Total Cost": 0.3, "Plan Rows": 1, "Plan Width": 8, "Output": ["supplier.s_suppkey", "supplier.s_name", "supplier.s_address", "supplier.s_nationkey", "supplier.s_phone", "supplier.s_acctbal", "supplier.s_comment"], "Index Cond": "(supplier.s_suppkey = lineitem.l_suppkey)"}]}, {"Node Type": "Hash", "Parent Relationship": "Inner", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 1.25, "Total Cost": 1.25, "Plan Rows": 25, "Plan Width": 30, "Output": ["n2.n_name", "n2.n_nationkey"], "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Relation Name": "nation", "Schema": "public", "Alias": "n2", "Startup Cost": 0.0, "Total Cost": 1.25, "Plan Rows": 25, "Plan Width": 30, "Output": ["n2.n_name", "n2.n_nationkey"]}]}]}]}]}]}]}} diff --git a/dev9/pg17/tpch/sf_1/explain/15721/9-1.ok b/dev9/pg17/tpch/sf_1/explain/15721/9-1.ok new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/dev9/pg17/tpch/sf_1/explain/15721/9-1.res b/dev9/pg17/tpch/sf_1/explain/15721/9-1.res new file mode 100644 index 0000000000000000000000000000000000000000..8fa1e1150c2077d8e71c689dda9f6bfb8b3f063f --- /dev/null +++ b/dev9/pg17/tpch/sf_1/explain/15721/9-1.res @@ -0,0 +1 @@ +{"Plan": {"Node Type": "Sort", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 84326.0, "Total Cost": 84476.37, "Plan Rows": 60150, "Plan Width": 90, "Output": ["nation.n_name", "(EXTRACT(year FROM orders.o_orderdate))", "(sum(((lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount)) - (partsupp.ps_supplycost * lineitem.l_quantity))))"], "Sort Key": ["nation.n_name", "(EXTRACT(year FROM orders.o_orderdate)) DESC"], "Plans": [{"Node Type": "Aggregate", "Strategy": "Hashed", "Partial Mode": "Finalize", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 78648.96, "Total Cost": 79551.21, "Plan Rows": 60150, "Plan Width": 90, "Output": ["nation.n_name", "(EXTRACT(year FROM orders.o_orderdate))", "sum(((lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount)) - (partsupp.ps_supplycost * lineitem.l_quantity)))"], "Group Key": ["nation.n_name", "(EXTRACT(year FROM orders.o_orderdate))"], "Planned Partitions": 0, "Plans": [{"Node Type": "Gather", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 57897.21, "Total Cost": 76844.46, "Plan Rows": 180450, "Plan Width": 90, "Output": ["nation.n_name", "(EXTRACT(year FROM orders.o_orderdate))", "(PARTIAL sum(((lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount)) - (partsupp.ps_supplycost * lineitem.l_quantity))))"], "Workers Planned": 3, "Single Copy": false, "Plans": [{"Node Type": "Aggregate", "Strategy": "Hashed", "Partial Mode": "Partial", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 56897.21, "Total Cost": 57799.46, "Plan Rows": 60150, "Plan Width": 90, "Output": ["nation.n_name", "(EXTRACT(year FROM orders.o_orderdate))", "PARTIAL sum(((lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount)) - (partsupp.ps_supplycost * lineitem.l_quantity)))"], "Group Key": ["nation.n_name", "EXTRACT(year FROM orders.o_orderdate)"], "Planned Partitions": 0, "Plans": [{"Node Type": "Hash Join", "Parent Relationship": "Outer", "Parallel Aware": true, "Async Capable": false, "Join Type": "Inner", "Startup Cost": 22056.28, "Total Cost": 55403.53, "Plan Rows": 85353, "Plan Width": 81, "Output": ["nation.n_name", "EXTRACT(year FROM orders.o_orderdate)", "lineitem.l_extendedprice", "lineitem.l_discount", "partsupp.ps_supplycost", "lineitem.l_quantity"], "Inner Unique": false, "Hash Cond": "(orders.o_orderkey = lineitem.l_orderkey)", "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": true, "Async Capable": false, "Relation Name": "orders", "Schema": "public", "Alias": "orders", "Startup Cost": 0.0, "Total Cost": 30963.71, "Plan Rows": 483871, "Plan Width": 8, "Output": ["orders.o_orderkey", "orders.o_custkey", "orders.o_orderstatus", "orders.o_totalprice", "orders.o_orderdate", "orders.o_orderpriority", "orders.o_clerk", "orders.o_shippriority", "orders.o_comment"]}, {"Node Type": "Hash", "Parent Relationship": "Inner", "Parallel Aware": true, "Async Capable": false, "Startup Cost": 20678.18, "Total Cost": 20678.18, "Plan Rows": 110248, "Plan Width": 53, "Output": ["lineitem.l_extendedprice", "lineitem.l_discount", "lineitem.l_quantity", "lineitem.l_orderkey", "partsupp.ps_supplycost", "nation.n_name"], "Plans": [{"Node Type": "Nested Loop", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Join Type": "Inner", "Startup Cost": 450.42, "Total Cost": 20678.18, "Plan Rows": 110248, "Plan Width": 53, "Output": ["lineitem.l_extendedprice", "lineitem.l_discount", "lineitem.l_quantity", "lineitem.l_orderkey", "partsupp.ps_supplycost", "nation.n_name"], "Inner Unique": false, "Join Filter": "(supplier.s_suppkey = lineitem.l_suppkey)", "Plans": [{"Node Type": "Hash Join", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Join Type": "Inner", "Startup Cost": 449.99, "Total Cost": 11419.29, "Plan Rows": 14697, "Plan Width": 48, "Output": ["part.p_partkey", "partsupp.ps_supplycost", "partsupp.ps_suppkey", "partsupp.ps_partkey", "supplier.s_suppkey", "nation.n_name"], "Inner Unique": true, "Hash Cond": "(supplier.s_nationkey = nation.n_nationkey)", "Plans": [{"Node Type": "Hash Join", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Join Type": "Inner", "Startup Cost": 448.43, "Total Cost": 11372.61, "Plan Rows": 14697, "Plan Width": 26, "Output": ["part.p_partkey", "partsupp.ps_supplycost", "partsupp.ps_suppkey", "partsupp.ps_partkey", "supplier.s_suppkey", "supplier.s_nationkey"], "Inner Unique": true, "Hash Cond": "(partsupp.ps_suppkey = supplier.s_suppkey)", "Plans": [{"Node Type": "Nested Loop", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Join Type": "Inner", "Startup Cost": 0.42, "Total Cost": 10886.02, "Plan Rows": 14697, "Plan Width": 18, "Output": ["part.p_partkey", "partsupp.ps_supplycost", "partsupp.ps_suppkey", "partsupp.ps_partkey"], "Inner Unique": false, "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": true, "Async Capable": false, "Relation Name": "part", "Schema": "public", "Alias": "part", "Startup Cost": 0.0, "Total Cost": 5138.67, "Plan Rows": 3674, "Plan Width": 4, "Output": ["part.p_partkey", "part.p_name", "part.p_mfgr", "part.p_brand", "part.p_type", "part.p_size", "part.p_container", "part.p_retailprice", "part.p_comment"], "Filter": "((part.p_name)::text ~~ '%forest%'::text)"}, {"Node Type": "Index Scan", "Parent Relationship": "Inner", "Parallel Aware": false, "Async Capable": false, "Scan Direction": "Forward", "Index Name": "ps_pk", "Relation Name": "partsupp", "Schema": "public", "Alias": "partsupp", "Startup Cost": 0.42, "Total Cost": 1.52, "Plan Rows": 4, "Plan Width": 14, "Output": ["partsupp.ps_partkey", "partsupp.ps_suppkey", "partsupp.ps_availqty", "partsupp.ps_supplycost", "partsupp.ps_comment"], "Index Cond": "(partsupp.ps_partkey = part.p_partkey)"}]}, {"Node Type": "Hash", "Parent Relationship": "Inner", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 323.0, "Total Cost": 323.0, "Plan Rows": 10000, "Plan Width": 8, "Output": ["supplier.s_suppkey", "supplier.s_nationkey"], "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Relation Name": "supplier", "Schema": "public", "Alias": "supplier", "Startup Cost": 0.0, "Total Cost": 323.0, "Plan Rows": 10000, "Plan Width": 8, "Output": ["supplier.s_suppkey", "supplier.s_nationkey"]}]}]}, {"Node Type": "Hash", "Parent Relationship": "Inner", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 1.25, "Total Cost": 1.25, "Plan Rows": 25, "Plan Width": 30, "Output": ["nation.n_name", "nation.n_nationkey"], "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Relation Name": "nation", "Schema": "public", "Alias": "nation", "Startup Cost": 0.0, "Total Cost": 1.25, "Plan Rows": 25, "Plan Width": 30, "Output": ["nation.n_name", "nation.n_nationkey"]}]}]}, {"Node Type": "Index Scan", "Parent Relationship": "Inner", "Parallel Aware": false, "Async Capable": false, "Scan Direction": "Forward", "Index Name": "l_sk_pk", "Relation Name": "lineitem", "Schema": "public", "Alias": "lineitem", "Startup Cost": 0.43, "Total Cost": 0.62, "Plan Rows": 1, "Plan Width": 29, "Output": ["lineitem.l_orderkey", "lineitem.l_partkey", "lineitem.l_suppkey", "lineitem.l_linenumber", "lineitem.l_quantity", "lineitem.l_extendedprice", "lineitem.l_discount", "lineitem.l_tax", "lineitem.l_returnflag", "lineitem.l_linestatus", "lineitem.l_shipdate", "lineitem.l_commitdate", "lineitem.l_receiptdate", "lineitem.l_shipinstruct", "lineitem.l_shipmode", "lineitem.l_comment"], "Index Cond": "((lineitem.l_suppkey = partsupp.ps_suppkey) AND (lineitem.l_partkey = partsupp.ps_partkey))"}]}]}]}]}]}]}]}} diff --git a/dev9/pg17/tpch/sf_1/explain_analyze/15721/1-1.ok b/dev9/pg17/tpch/sf_1/explain_analyze/15721/1-1.ok new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/dev9/pg17/tpch/sf_1/explain_analyze/15721/1-1.res b/dev9/pg17/tpch/sf_1/explain_analyze/15721/1-1.res new file mode 100644 index 0000000000000000000000000000000000000000..d66e2ba40cdeea63be9bf54bbe45d474169140e2 --- /dev/null +++ b/dev9/pg17/tpch/sf_1/explain_analyze/15721/1-1.res @@ -0,0 +1 @@ +{"Plan": {"Node Type": "Aggregate", "Strategy": "Sorted", "Partial Mode": "Finalize", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 169592.08, "Total Cost": 169596.85, "Plan Rows": 6, "Plan Width": 236, "Actual Startup Time": 1610.646, "Actual Total Time": 1626.449, "Actual Rows": 4, "Actual Loops": 1, "Output": ["l_returnflag", "l_linestatus", "sum(l_quantity)", "sum(l_extendedprice)", "sum((l_extendedprice * ('1'::numeric - l_discount)))", "sum(((l_extendedprice * ('1'::numeric - l_discount)) * ('1'::numeric + l_tax)))", "avg(l_quantity)", "avg(l_extendedprice)", "avg(l_discount)", "count(*)"], "Group Key": ["lineitem.l_returnflag", "lineitem.l_linestatus"], "Plans": [{"Node Type": "Gather Merge", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 169592.08, "Total Cost": 169595.71, "Plan Rows": 30, "Plan Width": 236, "Actual Startup Time": 1610.614, "Actual Total Time": 1626.38, "Actual Rows": 24, "Actual Loops": 1, "Output": ["l_returnflag", "l_linestatus", "(PARTIAL sum(l_quantity))", "(PARTIAL sum(l_extendedprice))", "(PARTIAL sum((l_extendedprice * ('1'::numeric - l_discount))))", "(PARTIAL sum(((l_extendedprice * ('1'::numeric - l_discount)) * ('1'::numeric + l_tax))))", "(PARTIAL avg(l_quantity))", "(PARTIAL avg(l_extendedprice))", "(PARTIAL avg(l_discount))", "(PARTIAL count(*))"], "Workers Planned": 5, "Workers Launched": 5, "Plans": [{"Node Type": "Sort", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 168592.01, "Total Cost": 168592.02, "Plan Rows": 6, "Plan Width": 236, "Actual Startup Time": 1606.699, "Actual Total Time": 1606.701, "Actual Rows": 4, "Actual Loops": 6, "Output": ["l_returnflag", "l_linestatus", "(PARTIAL sum(l_quantity))", "(PARTIAL sum(l_extendedprice))", "(PARTIAL sum((l_extendedprice * ('1'::numeric - l_discount))))", "(PARTIAL sum(((l_extendedprice * ('1'::numeric - l_discount)) * ('1'::numeric + l_tax))))", "(PARTIAL avg(l_quantity))", "(PARTIAL avg(l_extendedprice))", "(PARTIAL avg(l_discount))", "(PARTIAL count(*))"], "Sort Key": ["lineitem.l_returnflag", "lineitem.l_linestatus"], "Sort Method": "quicksort", "Sort Space Used": 26, "Sort Space Type": "Memory", "Workers": [{"Worker Number": 0, "Actual Startup Time": 1605.751, "Actual Total Time": 1605.753, "Actual Rows": 4, "Actual Loops": 1, "Sort Method": "quicksort", "Sort Space Used": 26, "Sort Space Type": "Memory"}, {"Worker Number": 1, "Actual Startup Time": 1605.879, "Actual Total Time": 1605.881, "Actual Rows": 4, "Actual Loops": 1, "Sort Method": "quicksort", "Sort Space Used": 26, "Sort Space Type": "Memory"}, {"Worker Number": 2, "Actual Startup Time": 1606.044, "Actual Total Time": 1606.045, "Actual Rows": 4, "Actual Loops": 1, "Sort Method": "quicksort", "Sort Space Used": 26, "Sort Space Type": "Memory"}, {"Worker Number": 3, "Actual Startup Time": 1606.094, "Actual Total Time": 1606.095, "Actual Rows": 4, "Actual Loops": 1, "Sort Method": "quicksort", "Sort Space Used": 26, "Sort Space Type": "Memory"}, {"Worker Number": 4, "Actual Startup Time": 1606.287, "Actual Total Time": 1606.288, "Actual Rows": 4, "Actual Loops": 1, "Sort Method": "quicksort", "Sort Space Used": 26, "Sort Space Type": "Memory"}], "Plans": [{"Node Type": "Aggregate", "Strategy": "Hashed", "Partial Mode": "Partial", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 168591.79, "Total Cost": 168591.93, "Plan Rows": 6, "Plan Width": 236, "Actual Startup Time": 1606.654, "Actual Total Time": 1606.662, "Actual Rows": 4, "Actual Loops": 6, "Output": ["l_returnflag", "l_linestatus", "PARTIAL sum(l_quantity)", "PARTIAL sum(l_extendedprice)", "PARTIAL sum((l_extendedprice * ('1'::numeric - l_discount)))", "PARTIAL sum(((l_extendedprice * ('1'::numeric - l_discount)) * ('1'::numeric + l_tax)))", "PARTIAL avg(l_quantity)", "PARTIAL avg(l_extendedprice)", "PARTIAL avg(l_discount)", "PARTIAL count(*)"], "Group Key": ["lineitem.l_returnflag", "lineitem.l_linestatus"], "Planned Partitions": 0, "HashAgg Batches": 1, "Peak Memory Usage": 24, "Disk Usage": 0, "Workers": [{"Worker Number": 0, "Actual Startup Time": 1605.701, "Actual Total Time": 1605.709, "Actual Rows": 4, "Actual Loops": 1, "HashAgg Batches": 1, "Peak Memory Usage": 24, "Disk Usage": 0}, {"Worker Number": 1, "Actual Startup Time": 1605.828, "Actual Total Time": 1605.836, "Actual Rows": 4, "Actual Loops": 1, "HashAgg Batches": 1, "Peak Memory Usage": 24, "Disk Usage": 0}, {"Worker Number": 2, "Actual Startup Time": 1605.995, "Actual Total Time": 1606.003, "Actual Rows": 4, "Actual Loops": 1, "HashAgg Batches": 1, "Peak Memory Usage": 24, "Disk Usage": 0}, {"Worker Number": 3, "Actual Startup Time": 1606.043, "Actual Total Time": 1606.051, "Actual Rows": 4, "Actual Loops": 1, "HashAgg Batches": 1, "Peak Memory Usage": 24, "Disk Usage": 0}, {"Worker Number": 4, "Actual Startup Time": 1606.237, "Actual Total Time": 1606.244, "Actual Rows": 4, "Actual Loops": 1, "HashAgg Batches": 1, "Peak Memory Usage": 24, "Disk Usage": 0}], "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": true, "Async Capable": false, "Relation Name": "lineitem", "Schema": "public", "Alias": "lineitem", "Startup Cost": 0.0, "Total Cost": 127558.04, "Plan Rows": 1172393, "Plan Width": 25, "Actual Startup Time": 0.025, "Actual Total Time": 212.612, "Actual Rows": 976793, "Actual Loops": 6, "Output": ["l_orderkey", "l_partkey", "l_suppkey", "l_linenumber", "l_quantity", "l_extendedprice", "l_discount", "l_tax", "l_returnflag", "l_linestatus", "l_shipdate", "l_commitdate", "l_receiptdate", "l_shipinstruct", "l_shipmode", "l_comment"], "Filter": "(lineitem.l_shipdate <= '1998-08-07 23:59:57'::timestamp without time zone)", "Rows Removed by Filter": 23410, "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.029, "Actual Total Time": 214.712, "Actual Rows": 971176, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 0.028, "Actual Total Time": 214.908, "Actual Rows": 975244, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 0.027, "Actual Total Time": 214.875, "Actual Rows": 975457, "Actual Loops": 1}, {"Worker Number": 3, "Actual Startup Time": 0.03, "Actual Total Time": 214.99, "Actual Rows": 974842, "Actual Loops": 1}, {"Worker Number": 4, "Actual Startup Time": 0.029, "Actual Total Time": 214.927, "Actual Rows": 975591, "Actual Loops": 1}]}]}]}]}]}, "Planning Time": 0.376, "Triggers": [], "Execution Time": 1626.522} diff --git a/dev9/pg17/tpch/sf_1/explain_analyze/15721/10-1.ok b/dev9/pg17/tpch/sf_1/explain_analyze/15721/10-1.ok new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/dev9/pg17/tpch/sf_1/explain_analyze/15721/10-1.res b/dev9/pg17/tpch/sf_1/explain_analyze/15721/10-1.res new file mode 100644 index 0000000000000000000000000000000000000000..0aaee348cb7ea174dcc17b9c36433efb4b38e931 --- /dev/null +++ b/dev9/pg17/tpch/sf_1/explain_analyze/15721/10-1.res @@ -0,0 +1 @@ +{"Plan": {"Node Type": "Limit", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 70306.26, "Total Cost": 70306.31, "Plan Rows": 20, "Plan Width": 202, "Actual Startup Time": 282.612, "Actual Total Time": 289.517, "Actual Rows": 20, "Actual Loops": 1, "Output": ["customer.c_custkey", "customer.c_name", "(sum((lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount))))", "customer.c_acctbal", "nation.n_name", "customer.c_address", "customer.c_phone", "customer.c_comment"], "Plans": [{"Node Type": "Sort", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 70306.26, "Total Cost": 70443.02, "Plan Rows": 54704, "Plan Width": 202, "Actual Startup Time": 282.611, "Actual Total Time": 289.513, "Actual Rows": 20, "Actual Loops": 1, "Output": ["customer.c_custkey", "customer.c_name", "(sum((lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount))))", "customer.c_acctbal", "nation.n_name", "customer.c_address", "customer.c_phone", "customer.c_comment"], "Sort Key": ["(sum((lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount)))) DESC"], "Sort Method": "top-N heapsort", "Sort Space Used": 34, "Sort Space Type": "Memory", "Plans": [{"Node Type": "Aggregate", "Strategy": "Hashed", "Partial Mode": "Simple", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 68166.8, "Total Cost": 68850.6, "Plan Rows": 54704, "Plan Width": 202, "Actual Startup Time": 242.062, "Actual Total Time": 276.649, "Actual Rows": 37047, "Actual Loops": 1, "Output": ["customer.c_custkey", "customer.c_name", "sum((lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount)))", "customer.c_acctbal", "nation.n_name", "customer.c_address", "customer.c_phone", "customer.c_comment"], "Group Key": ["customer.c_custkey", "nation.n_name"], "Planned Partitions": 0, "HashAgg Batches": 1, "Peak Memory Usage": 24081, "Disk Usage": 0, "Plans": [{"Node Type": "Gather", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 6626.74, "Total Cost": 67483.0, "Plan Rows": 54704, "Plan Width": 182, "Actual Startup Time": 60.075, "Actual Total Time": 143.527, "Actual Rows": 110515, "Actual Loops": 1, "Output": ["customer.c_custkey", "nation.n_name", "customer.c_name", "lineitem.l_extendedprice", "lineitem.l_discount", "customer.c_acctbal", "customer.c_address", "customer.c_phone", "customer.c_comment"], "Workers Planned": 3, "Workers Launched": 3, "Single Copy": false, "Plans": [{"Node Type": "Hash Join", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Join Type": "Inner", "Startup Cost": 5626.74, "Total Cost": 61012.6, "Plan Rows": 17646, "Plan Width": 182, "Actual Startup Time": 56.835, "Actual Total Time": 196.835, "Actual Rows": 27629, "Actual Loops": 4, "Output": ["customer.c_custkey", "nation.n_name", "customer.c_name", "lineitem.l_extendedprice", "lineitem.l_discount", "customer.c_acctbal", "customer.c_address", "customer.c_phone", "customer.c_comment"], "Inner Unique": true, "Hash Cond": "(customer.c_nationkey = nation.n_nationkey)", "Workers": [{"Worker Number": 0, "Actual Startup Time": 56.039, "Actual Total Time": 222.404, "Actual Rows": 32134, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 55.669, "Actual Total Time": 222.544, "Actual Rows": 31563, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 55.968, "Actual Total Time": 222.701, "Actual Rows": 32057, "Actual Loops": 1}], "Plans": [{"Node Type": "Hash Join", "Parent Relationship": "Outer", "Parallel Aware": true, "Async Capable": false, "Join Type": "Inner", "Startup Cost": 5625.18, "Total Cost": 60956.86, "Plan Rows": 17646, "Plan Width": 160, "Actual Startup Time": 56.675, "Actual Total Time": 189.382, "Actual Rows": 27629, "Actual Loops": 4, "Output": ["customer.c_custkey", "customer.c_name", "customer.c_acctbal", "customer.c_address", "customer.c_phone", "customer.c_comment", "customer.c_nationkey", "lineitem.l_extendedprice", "lineitem.l_discount"], "Inner Unique": true, "Hash Cond": "(orders.o_custkey = customer.c_custkey)", "Workers": [{"Worker Number": 0, "Actual Startup Time": 55.835, "Actual Total Time": 213.751, "Actual Rows": 32134, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 55.461, "Actual Total Time": 213.937, "Actual Rows": 31563, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 55.766, "Actual Total Time": 214.076, "Actual Rows": 32057, "Actual Loops": 1}], "Plans": [{"Node Type": "Nested Loop", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Join Type": "Inner", "Startup Cost": 624.93, "Total Cost": 55910.29, "Plan Rows": 17646, "Plan Width": 16, "Actual Startup Time": 18.747, "Actual Total Time": 136.614, "Actual Rows": 27629, "Actual Loops": 4, "Output": ["orders.o_custkey", "lineitem.l_extendedprice", "lineitem.l_discount"], "Inner Unique": false, "Workers": [{"Worker Number": 0, "Actual Startup Time": 19.054, "Actual Total Time": 160.253, "Actual Rows": 32134, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 18.624, "Actual Total Time": 160.429, "Actual Rows": 31563, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 18.721, "Actual Total Time": 160.228, "Actual Rows": 32057, "Actual Loops": 1}], "Plans": [{"Node Type": "Bitmap Heap Scan", "Parent Relationship": "Outer", "Parallel Aware": true, "Async Capable": false, "Relation Name": "orders", "Schema": "public", "Alias": "orders", "Startup Cost": 624.5, "Total Cost": 27018.14, "Plan Rows": 17909, "Plan Width": 8, "Actual Startup Time": 18.691, "Actual Total Time": 40.212, "Actual Rows": 13816, "Actual Loops": 4, "Output": ["orders.o_orderkey", "orders.o_custkey", "orders.o_orderstatus", "orders.o_totalprice", "orders.o_orderdate", "orders.o_orderpriority", "orders.o_clerk", "orders.o_shippriority", "orders.o_comment"], "Recheck Cond": "((orders.o_orderdate >= '1993-02-01'::date) AND (orders.o_orderdate < '1993-05-01 00:00:00'::timestamp without time zone))", "Rows Removed by Index Recheck": 0, "Exact Heap Blocks": 3031, "Lossy Heap Blocks": 0, "Workers": [{"Worker Number": 0, "Actual Startup Time": 18.978, "Actual Total Time": 44.849, "Actual Rows": 16080, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 18.562, "Actual Total Time": 44.839, "Actual Rows": 15767, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 18.656, "Actual Total Time": 44.784, "Actual Rows": 16075, "Actual Loops": 1}], "Plans": [{"Node Type": "Bitmap Index Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Index Name": "o_od", "Startup Cost": 0.0, "Total Cost": 610.62, "Plan Rows": 55519, "Plan Width": 0, "Actual Startup Time": 12.414, "Actual Total Time": 12.415, "Actual Rows": 55266, "Actual Loops": 1, "Index Cond": "((orders.o_orderdate >= '1993-02-01'::date) AND (orders.o_orderdate < '1993-05-01 00:00:00'::timestamp without time zone))", "Workers": [{"Worker Number": 1, "Actual Startup Time": 12.414, "Actual Total Time": 12.415, "Actual Rows": 55266, "Actual Loops": 1}]}]}, {"Node Type": "Index Scan", "Parent Relationship": "Inner", "Parallel Aware": false, "Async Capable": false, "Scan Direction": "Forward", "Index Name": "l_ok", "Relation Name": "lineitem", "Schema": "public", "Alias": "lineitem", "Startup Cost": 0.43, "Total Cost": 1.6, "Plan Rows": 1, "Plan Width": 16, "Actual Startup Time": 0.005, "Actual Total Time": 0.006, "Actual Rows": 2, "Actual Loops": 55266, "Output": ["lineitem.l_orderkey", "lineitem.l_partkey", "lineitem.l_suppkey", "lineitem.l_linenumber", "lineitem.l_quantity", "lineitem.l_extendedprice", "lineitem.l_discount", "lineitem.l_tax", "lineitem.l_returnflag", "lineitem.l_linestatus", "lineitem.l_shipdate", "lineitem.l_commitdate", "lineitem.l_receiptdate", "lineitem.l_shipinstruct", "lineitem.l_shipmode", "lineitem.l_comment"], "Index Cond": "(lineitem.l_orderkey = orders.o_orderkey)", "Rows Removed by Index Recheck": 0, "Filter": "(lineitem.l_returnflag = 'R'::bpchar)", "Rows Removed by Filter": 2, "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.006, "Actual Total Time": 0.007, "Actual Rows": 2, "Actual Loops": 16080}, {"Worker Number": 1, "Actual Startup Time": 0.006, "Actual Total Time": 0.007, "Actual Rows": 2, "Actual Loops": 15767}, {"Worker Number": 2, "Actual Startup Time": 0.006, "Actual Total Time": 0.007, "Actual Rows": 2, "Actual Loops": 16075}]}]}, {"Node Type": "Hash", "Parent Relationship": "Inner", "Parallel Aware": true, "Async Capable": false, "Startup Cost": 4219.0, "Total Cost": 4219.0, "Plan Rows": 62500, "Plan Width": 148, "Actual Startup Time": 37.379, "Actual Total Time": 37.38, "Actual Rows": 37500, "Actual Loops": 4, "Output": ["customer.c_custkey", "customer.c_name", "customer.c_acctbal", "customer.c_address", "customer.c_phone", "customer.c_comment", "customer.c_nationkey"], "Hash Buckets": 262144, "Original Hash Buckets": 262144, "Hash Batches": 1, "Original Hash Batches": 1, "Peak Memory Usage": 29344, "Workers": [{"Worker Number": 0, "Actual Startup Time": 36.748, "Actual Total Time": 36.749, "Actual Rows": 35066, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 36.805, "Actual Total Time": 36.806, "Actual Rows": 35133, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 37.014, "Actual Total Time": 37.015, "Actual Rows": 35432, "Actual Loops": 1}], "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": true, "Async Capable": false, "Relation Name": "customer", "Schema": "public", "Alias": "customer", "Startup Cost": 0.0, "Total Cost": 4219.0, "Plan Rows": 62500, "Plan Width": 148, "Actual Startup Time": 0.015, "Actual Total Time": 11.558, "Actual Rows": 37500, "Actual Loops": 4, "Output": ["customer.c_custkey", "customer.c_name", "customer.c_acctbal", "customer.c_address", "customer.c_phone", "customer.c_comment", "customer.c_nationkey"], "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.018, "Actual Total Time": 11.718, "Actual Rows": 35066, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 0.019, "Actual Total Time": 11.742, "Actual Rows": 35133, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 0.018, "Actual Total Time": 11.739, "Actual Rows": 35432, "Actual Loops": 1}]}]}]}, {"Node Type": "Hash", "Parent Relationship": "Inner", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 1.25, "Total Cost": 1.25, "Plan Rows": 25, "Plan Width": 30, "Actual Startup Time": 0.036, "Actual Total Time": 0.037, "Actual Rows": 25, "Actual Loops": 4, "Output": ["nation.n_name", "nation.n_nationkey"], "Hash Buckets": 1024, "Original Hash Buckets": 1024, "Hash Batches": 1, "Original Hash Batches": 1, "Peak Memory Usage": 10, "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.042, "Actual Total Time": 0.043, "Actual Rows": 25, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 0.042, "Actual Total Time": 0.043, "Actual Rows": 25, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 0.041, "Actual Total Time": 0.042, "Actual Rows": 25, "Actual Loops": 1}], "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Relation Name": "nation", "Schema": "public", "Alias": "nation", "Startup Cost": 0.0, "Total Cost": 1.25, "Plan Rows": 25, "Plan Width": 30, "Actual Startup Time": 0.025, "Actual Total Time": 0.029, "Actual Rows": 25, "Actual Loops": 4, "Output": ["nation.n_name", "nation.n_nationkey"], "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.031, "Actual Total Time": 0.034, "Actual Rows": 25, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 0.031, "Actual Total Time": 0.034, "Actual Rows": 25, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 0.03, "Actual Total Time": 0.034, "Actual Rows": 25, "Actual Loops": 1}]}]}]}]}]}]}]}, "Planning Time": 1.12, "Triggers": [], "Execution Time": 290.775} diff --git a/dev9/pg17/tpch/sf_1/explain_analyze/15721/11-1.ok b/dev9/pg17/tpch/sf_1/explain_analyze/15721/11-1.ok new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/dev9/pg17/tpch/sf_1/explain_analyze/15721/11-1.res b/dev9/pg17/tpch/sf_1/explain_analyze/15721/11-1.res new file mode 100644 index 0000000000000000000000000000000000000000..3a1b67679bf07a83e967f8d1e117be31531ef0cc --- /dev/null +++ b/dev9/pg17/tpch/sf_1/explain_analyze/15721/11-1.res @@ -0,0 +1 @@ +{"Plan": {"Node Type": "Sort", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 5906.97, "Total Cost": 5933.64, "Plan Rows": 10667, "Plan Width": 36, "Actual Startup Time": 102.13, "Actual Total Time": 102.2, "Actual Rows": 869, "Actual Loops": 1, "Output": ["partsupp.ps_partkey", "(sum((partsupp.ps_supplycost * (partsupp.ps_availqty)::numeric)))"], "Sort Key": ["(sum((partsupp.ps_supplycost * (partsupp.ps_availqty)::numeric))) DESC"], "Sort Method": "quicksort", "Sort Space Used": 52, "Sort Space Type": "Memory", "Plans": [{"Node Type": "Aggregate", "Strategy": "Plain", "Partial Mode": "Simple", "Parent Relationship": "InitPlan", "Subplan Name": "InitPlan 1", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 2316.65, "Total Cost": 2316.66, "Plan Rows": 1, "Plan Width": 32, "Actual Startup Time": 35.798, "Actual Total Time": 35.801, "Actual Rows": 1, "Actual Loops": 1, "Output": ["(sum((partsupp_1.ps_supplycost * (partsupp_1.ps_availqty)::numeric)) * 0.0001000000)"], "Plans": [{"Node Type": "Nested Loop", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Join Type": "Inner", "Startup Cost": 4.91, "Total Cost": 2076.65, "Plan Rows": 32000, "Plan Width": 10, "Actual Startup Time": 0.075, "Actual Total Time": 25.38, "Actual Rows": 32560, "Actual Loops": 1, "Output": ["partsupp_1.ps_supplycost", "partsupp_1.ps_availqty"], "Inner Unique": false, "Plans": [{"Node Type": "Nested Loop", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Join Type": "Inner", "Startup Cost": 4.48, "Total Cost": 226.37, "Plan Rows": 400, "Plan Width": 4, "Actual Startup Time": 0.067, "Actual Total Time": 0.367, "Actual Rows": 407, "Actual Loops": 1, "Output": ["supplier_1.s_suppkey"], "Inner Unique": false, "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Relation Name": "nation", "Schema": "public", "Alias": "nation_1", "Startup Cost": 0.0, "Total Cost": 1.31, "Plan Rows": 1, "Plan Width": 4, "Actual Startup Time": 0.011, "Actual Total Time": 0.014, "Actual Rows": 1, "Actual Loops": 1, "Output": ["nation_1.n_nationkey", "nation_1.n_name", "nation_1.n_regionkey", "nation_1.n_comment"], "Filter": "(nation_1.n_name = 'CHINA'::bpchar)", "Rows Removed by Filter": 24}, {"Node Type": "Bitmap Heap Scan", "Parent Relationship": "Inner", "Parallel Aware": false, "Async Capable": false, "Relation Name": "supplier", "Schema": "public", "Alias": "supplier_1", "Startup Cost": 4.48, "Total Cost": 221.06, "Plan Rows": 400, "Plan Width": 8, "Actual Startup Time": 0.054, "Actual Total Time": 0.29, "Actual Rows": 407, "Actual Loops": 1, "Output": ["supplier_1.s_suppkey", "supplier_1.s_name", "supplier_1.s_address", "supplier_1.s_nationkey", "supplier_1.s_phone", "supplier_1.s_acctbal", "supplier_1.s_comment"], "Recheck Cond": "(supplier_1.s_nationkey = nation_1.n_nationkey)", "Rows Removed by Index Recheck": 0, "Exact Heap Blocks": 184, "Lossy Heap Blocks": 0, "Plans": [{"Node Type": "Bitmap Index Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Index Name": "s_nk", "Startup Cost": 0.0, "Total Cost": 4.38, "Plan Rows": 400, "Plan Width": 0, "Actual Startup Time": 0.025, "Actual Total Time": 0.025, "Actual Rows": 407, "Actual Loops": 1, "Index Cond": "(supplier_1.s_nationkey = nation_1.n_nationkey)"}]}]}, {"Node Type": "Index Scan", "Parent Relationship": "Inner", "Parallel Aware": false, "Async Capable": false, "Scan Direction": "Forward", "Index Name": "ps_sk", "Relation Name": "partsupp", "Schema": "public", "Alias": "partsupp_1", "Startup Cost": 0.42, "Total Cost": 3.83, "Plan Rows": 80, "Plan Width": 14, "Actual Startup Time": 0.003, "Actual Total Time": 0.05, "Actual Rows": 80, "Actual Loops": 407, "Output": ["partsupp_1.ps_partkey", "partsupp_1.ps_suppkey", "partsupp_1.ps_availqty", "partsupp_1.ps_supplycost", "partsupp_1.ps_comment"], "Index Cond": "(partsupp_1.ps_suppkey = supplier_1.s_suppkey)", "Rows Removed by Index Recheck": 0}]}]}, {"Node Type": "Aggregate", "Strategy": "Hashed", "Partial Mode": "Simple", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 2396.65, "Total Cost": 2876.65, "Plan Rows": 10667, "Plan Width": 36, "Actual Startup Time": 88.217, "Actual Total Time": 101.814, "Actual Rows": 869, "Actual Loops": 1, "Output": ["partsupp.ps_partkey", "sum((partsupp.ps_supplycost * (partsupp.ps_availqty)::numeric))"], "Group Key": ["partsupp.ps_partkey"], "Filter": "(sum((partsupp.ps_supplycost * (partsupp.ps_availqty)::numeric)) > (InitPlan 1).col1)", "Planned Partitions": 0, "HashAgg Batches": 1, "Peak Memory Usage": 12817, "Disk Usage": 0, "Rows Removed by Filter": 29770, "Plans": [{"Node Type": "Nested Loop", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Join Type": "Inner", "Startup Cost": 4.91, "Total Cost": 2076.65, "Plan Rows": 32000, "Plan Width": 14, "Actual Startup Time": 0.082, "Actual Total Time": 30.257, "Actual Rows": 32560, "Actual Loops": 1, "Output": ["partsupp.ps_partkey", "partsupp.ps_supplycost", "partsupp.ps_availqty"], "Inner Unique": false, "Plans": [{"Node Type": "Nested Loop", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Join Type": "Inner", "Startup Cost": 4.48, "Total Cost": 226.37, "Plan Rows": 400, "Plan Width": 4, "Actual Startup Time": 0.071, "Actual Total Time": 0.451, "Actual Rows": 407, "Actual Loops": 1, "Output": ["supplier.s_suppkey"], "Inner Unique": false, "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Relation Name": "nation", "Schema": "public", "Alias": "nation", "Startup Cost": 0.0, "Total Cost": 1.31, "Plan Rows": 1, "Plan Width": 4, "Actual Startup Time": 0.012, "Actual Total Time": 0.016, "Actual Rows": 1, "Actual Loops": 1, "Output": ["nation.n_nationkey", "nation.n_name", "nation.n_regionkey", "nation.n_comment"], "Filter": "(nation.n_name = 'CHINA'::bpchar)", "Rows Removed by Filter": 24}, {"Node Type": "Bitmap Heap Scan", "Parent Relationship": "Inner", "Parallel Aware": false, "Async Capable": false, "Relation Name": "supplier", "Schema": "public", "Alias": "supplier", "Startup Cost": 4.48, "Total Cost": 221.06, "Plan Rows": 400, "Plan Width": 8, "Actual Startup Time": 0.058, "Actual Total Time": 0.373, "Actual Rows": 407, "Actual Loops": 1, "Output": ["supplier.s_suppkey", "supplier.s_name", "supplier.s_address", "supplier.s_nationkey", "supplier.s_phone", "supplier.s_acctbal", "supplier.s_comment"], "Recheck Cond": "(supplier.s_nationkey = nation.n_nationkey)", "Rows Removed by Index Recheck": 0, "Exact Heap Blocks": 184, "Lossy Heap Blocks": 0, "Plans": [{"Node Type": "Bitmap Index Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Index Name": "s_nk", "Startup Cost": 0.0, "Total Cost": 4.38, "Plan Rows": 400, "Plan Width": 0, "Actual Startup Time": 0.026, "Actual Total Time": 0.027, "Actual Rows": 407, "Actual Loops": 1, "Index Cond": "(supplier.s_nationkey = nation.n_nationkey)"}]}]}, {"Node Type": "Index Scan", "Parent Relationship": "Inner", "Parallel Aware": false, "Async Capable": false, "Scan Direction": "Forward", "Index Name": "ps_sk", "Relation Name": "partsupp", "Schema": "public", "Alias": "partsupp", "Startup Cost": 0.42, "Total Cost": 3.83, "Plan Rows": 80, "Plan Width": 18, "Actual Startup Time": 0.003, "Actual Total Time": 0.061, "Actual Rows": 80, "Actual Loops": 407, "Output": ["partsupp.ps_partkey", "partsupp.ps_suppkey", "partsupp.ps_availqty", "partsupp.ps_supplycost", "partsupp.ps_comment"], "Index Cond": "(partsupp.ps_suppkey = supplier.s_suppkey)", "Rows Removed by Index Recheck": 0}]}]}]}, "Planning Time": 0.731, "Triggers": [], "Execution Time": 102.503} diff --git a/dev9/pg17/tpch/sf_1/explain_analyze/15721/12-1.ok b/dev9/pg17/tpch/sf_1/explain_analyze/15721/12-1.ok new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/dev9/pg17/tpch/sf_1/explain_analyze/15721/12-1.res b/dev9/pg17/tpch/sf_1/explain_analyze/15721/12-1.res new file mode 100644 index 0000000000000000000000000000000000000000..2b047666cdc95655626b19875d48b3a5481e6146 --- /dev/null +++ b/dev9/pg17/tpch/sf_1/explain_analyze/15721/12-1.res @@ -0,0 +1 @@ +{"Plan": {"Node Type": "Aggregate", "Strategy": "Sorted", "Partial Mode": "Finalize", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 135716.38, "Total Cost": 135837.66, "Plan Rows": 7, "Plan Width": 27, "Actual Startup Time": 291.869, "Actual Total Time": 321.701, "Actual Rows": 2, "Actual Loops": 1, "Output": ["lineitem.l_shipmode", "sum(CASE WHEN ((orders.o_orderpriority = '1-URGENT'::bpchar) OR (orders.o_orderpriority = '2-HIGH'::bpchar)) THEN 1 ELSE 0 END)", "sum(CASE WHEN ((orders.o_orderpriority <> '1-URGENT'::bpchar) AND (orders.o_orderpriority <> '2-HIGH'::bpchar)) THEN 1 ELSE 0 END)"], "Group Key": ["lineitem.l_shipmode"], "Plans": [{"Node Type": "Gather Merge", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 135716.38, "Total Cost": 135837.33, "Plan Rows": 35, "Plan Width": 27, "Actual Startup Time": 290.146, "Actual Total Time": 321.691, "Actual Rows": 12, "Actual Loops": 1, "Output": ["lineitem.l_shipmode", "(PARTIAL sum(CASE WHEN ((orders.o_orderpriority = '1-URGENT'::bpchar) OR (orders.o_orderpriority = '2-HIGH'::bpchar)) THEN 1 ELSE 0 END))", "(PARTIAL sum(CASE WHEN ((orders.o_orderpriority <> '1-URGENT'::bpchar) AND (orders.o_orderpriority <> '2-HIGH'::bpchar)) THEN 1 ELSE 0 END))"], "Workers Planned": 5, "Workers Launched": 5, "Plans": [{"Node Type": "Aggregate", "Strategy": "Sorted", "Partial Mode": "Partial", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 134716.3, "Total Cost": 134833.03, "Plan Rows": 7, "Plan Width": 27, "Actual Startup Time": 284.931, "Actual Total Time": 286.083, "Actual Rows": 2, "Actual Loops": 6, "Output": ["lineitem.l_shipmode", "PARTIAL sum(CASE WHEN ((orders.o_orderpriority = '1-URGENT'::bpchar) OR (orders.o_orderpriority = '2-HIGH'::bpchar)) THEN 1 ELSE 0 END)", "PARTIAL sum(CASE WHEN ((orders.o_orderpriority <> '1-URGENT'::bpchar) AND (orders.o_orderpriority <> '2-HIGH'::bpchar)) THEN 1 ELSE 0 END)"], "Group Key": ["lineitem.l_shipmode"], "Workers": [{"Worker Number": 0, "Actual Startup Time": 283.462, "Actual Total Time": 284.526, "Actual Rows": 2, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 283.457, "Actual Total Time": 284.513, "Actual Rows": 2, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 284.365, "Actual Total Time": 285.428, "Actual Rows": 2, "Actual Loops": 1}, {"Worker Number": 3, "Actual Startup Time": 284.351, "Actual Total Time": 285.379, "Actual Rows": 2, "Actual Loops": 1}, {"Worker Number": 4, "Actual Startup Time": 284.552, "Actual Total Time": 285.539, "Actual Rows": 2, "Actual Loops": 1}], "Plans": [{"Node Type": "Sort", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 134716.3, "Total Cost": 134730.89, "Plan Rows": 5833, "Plan Width": 27, "Actual Startup Time": 283.801, "Actual Total Time": 284.107, "Actual Rows": 5187, "Actual Loops": 6, "Output": ["lineitem.l_shipmode", "orders.o_orderpriority"], "Sort Key": ["lineitem.l_shipmode"], "Sort Method": "quicksort", "Sort Space Used": 547, "Sort Space Type": "Memory", "Workers": [{"Worker Number": 0, "Actual Startup Time": 282.418, "Actual Total Time": 282.705, "Actual Rows": 4818, "Actual Loops": 1, "Sort Method": "quicksort", "Sort Space Used": 418, "Sort Space Type": "Memory"}, {"Worker Number": 1, "Actual Startup Time": 282.442, "Actual Total Time": 282.717, "Actual Rows": 4716, "Actual Loops": 1, "Sort Method": "quicksort", "Sort Space Used": 414, "Sort Space Type": "Memory"}, {"Worker Number": 2, "Actual Startup Time": 283.324, "Actual Total Time": 283.605, "Actual Rows": 4800, "Actual Loops": 1, "Sort Method": "quicksort", "Sort Space Used": 418, "Sort Space Type": "Memory"}, {"Worker Number": 3, "Actual Startup Time": 283.345, "Actual Total Time": 283.616, "Actual Rows": 4630, "Actual Loops": 1, "Sort Method": "quicksort", "Sort Space Used": 410, "Sort Space Type": "Memory"}, {"Worker Number": 4, "Actual Startup Time": 283.519, "Actual Total Time": 283.787, "Actual Rows": 4600, "Actual Loops": 1, "Sort Method": "quicksort", "Sort Space Used": 408, "Sort Space Type": "Memory"}], "Plans": [{"Node Type": "Nested Loop", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Join Type": "Inner", "Startup Cost": 10052.34, "Total Cost": 134351.45, "Plan Rows": 5833, "Plan Width": 27, "Actual Startup Time": 110.313, "Actual Total Time": 282.207, "Actual Rows": 5187, "Actual Loops": 6, "Output": ["lineitem.l_shipmode", "orders.o_orderpriority"], "Inner Unique": true, "Workers": [{"Worker Number": 0, "Actual Startup Time": 108.948, "Actual Total Time": 280.868, "Actual Rows": 4818, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 108.948, "Actual Total Time": 280.912, "Actual Rows": 4716, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 110.116, "Actual Total Time": 281.776, "Actual Rows": 4800, "Actual Loops": 1}, {"Worker Number": 3, "Actual Startup Time": 110.055, "Actual Total Time": 281.848, "Actual Rows": 4630, "Actual Loops": 1}, {"Worker Number": 4, "Actual Startup Time": 110.125, "Actual Total Time": 282.033, "Actual Rows": 4600, "Actual Loops": 1}], "Plans": [{"Node Type": "Bitmap Heap Scan", "Parent Relationship": "Outer", "Parallel Aware": true, "Async Capable": false, "Relation Name": "lineitem", "Schema": "public", "Alias": "lineitem", "Startup Cost": 10051.91, "Total Cost": 126732.28, "Plan Rows": 5833, "Plan Width": 15, "Actual Startup Time": 110.259, "Actual Total Time": 252.96, "Actual Rows": 5187, "Actual Loops": 6, "Output": ["lineitem.l_orderkey", "lineitem.l_partkey", "lineitem.l_suppkey", "lineitem.l_linenumber", "lineitem.l_quantity", "lineitem.l_extendedprice", "lineitem.l_discount", "lineitem.l_tax", "lineitem.l_returnflag", "lineitem.l_linestatus", "lineitem.l_shipdate", "lineitem.l_commitdate", "lineitem.l_receiptdate", "lineitem.l_shipinstruct", "lineitem.l_shipmode", "lineitem.l_comment"], "Recheck Cond": "((lineitem.l_receiptdate >= '1995-01-01'::date) AND (lineitem.l_receiptdate < '1996-01-01 00:00:00'::timestamp without time zone))", "Rows Removed by Index Recheck": 0, "Filter": "((lineitem.l_shipmode = ANY ('{MAIL,TRUCK}'::bpchar[])) AND (lineitem.l_commitdate < lineitem.l_receiptdate) AND (lineitem.l_shipdate < lineitem.l_commitdate))", "Rows Removed by Filter": 147278, "Exact Heap Blocks": 25264, "Lossy Heap Blocks": 0, "Workers": [{"Worker Number": 0, "Actual Startup Time": 108.888, "Actual Total Time": 250.794, "Actual Rows": 4818, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 108.891, "Actual Total Time": 251.429, "Actual Rows": 4716, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 110.047, "Actual Total Time": 252.02, "Actual Rows": 4800, "Actual Loops": 1}, {"Worker Number": 3, "Actual Startup Time": 109.987, "Actual Total Time": 252.497, "Actual Rows": 4630, "Actual Loops": 1}, {"Worker Number": 4, "Actual Startup Time": 110.071, "Actual Total Time": 252.931, "Actual Rows": 4600, "Actual Loops": 1}], "Plans": [{"Node Type": "Bitmap Index Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Index Name": "l_rd", "Startup Cost": 0.0, "Total Cost": 10044.62, "Plan Rows": 916749, "Plan Width": 0, "Actual Startup Time": 81.613, "Actual Total Time": 81.613, "Actual Rows": 914792, "Actual Loops": 1, "Index Cond": "((lineitem.l_receiptdate >= '1995-01-01'::date) AND (lineitem.l_receiptdate < '1996-01-01 00:00:00'::timestamp without time zone))", "Workers": []}]}, {"Node Type": "Index Scan", "Parent Relationship": "Inner", "Parallel Aware": false, "Async Capable": false, "Scan Direction": "Forward", "Index Name": "o_ok", "Relation Name": "orders", "Schema": "public", "Alias": "orders", "Startup Cost": 0.43, "Total Cost": 1.31, "Plan Rows": 1, "Plan Width": 20, "Actual Startup Time": 0.005, "Actual Total Time": 0.005, "Actual Rows": 1, "Actual Loops": 31122, "Output": ["orders.o_orderkey", "orders.o_custkey", "orders.o_orderstatus", "orders.o_totalprice", "orders.o_orderdate", "orders.o_orderpriority", "orders.o_clerk", "orders.o_shippriority", "orders.o_comment"], "Index Cond": "(orders.o_orderkey = lineitem.l_orderkey)", "Rows Removed by Index Recheck": 0, "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.006, "Actual Total Time": 0.006, "Actual Rows": 1, "Actual Loops": 4818}, {"Worker Number": 1, "Actual Startup Time": 0.006, "Actual Total Time": 0.006, "Actual Rows": 1, "Actual Loops": 4716}, {"Worker Number": 2, "Actual Startup Time": 0.006, "Actual Total Time": 0.006, "Actual Rows": 1, "Actual Loops": 4800}, {"Worker Number": 3, "Actual Startup Time": 0.006, "Actual Total Time": 0.006, "Actual Rows": 1, "Actual Loops": 4630}, {"Worker Number": 4, "Actual Startup Time": 0.006, "Actual Total Time": 0.006, "Actual Rows": 1, "Actual Loops": 4600}]}]}]}]}]}]}, "Planning Time": 0.378, "Triggers": [], "Execution Time": 321.755} diff --git a/dev9/pg17/tpch/sf_1/explain_analyze/15721/13-1.ok b/dev9/pg17/tpch/sf_1/explain_analyze/15721/13-1.ok new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/dev9/pg17/tpch/sf_1/explain_analyze/15721/13-1.res b/dev9/pg17/tpch/sf_1/explain_analyze/15721/13-1.res new file mode 100644 index 0000000000000000000000000000000000000000..f4c8845b9f6972f94c364b7eaffb73317411ec68 --- /dev/null +++ b/dev9/pg17/tpch/sf_1/explain_analyze/15721/13-1.res @@ -0,0 +1 @@ +{"Plan": {"Node Type": "Sort", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 64561.39, "Total Cost": 64561.89, "Plan Rows": 200, "Plan Width": 16, "Actual Startup Time": 1693.44, "Actual Total Time": 1693.446, "Actual Rows": 42, "Actual Loops": 1, "Output": ["(count(orders.o_orderkey))", "(count(*))"], "Sort Key": ["(count(*)) DESC", "(count(orders.o_orderkey)) DESC"], "Sort Method": "quicksort", "Sort Space Used": 26, "Sort Space Type": "Memory", "Plans": [{"Node Type": "Aggregate", "Strategy": "Hashed", "Partial Mode": "Simple", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 64551.75, "Total Cost": 64553.75, "Plan Rows": 200, "Plan Width": 16, "Actual Startup Time": 1693.407, "Actual Total Time": 1693.418, "Actual Rows": 42, "Actual Loops": 1, "Output": ["(count(orders.o_orderkey))", "count(*)"], "Group Key": ["count(orders.o_orderkey)"], "Planned Partitions": 0, "HashAgg Batches": 1, "Peak Memory Usage": 40, "Disk Usage": 0, "Plans": [{"Node Type": "Aggregate", "Strategy": "Hashed", "Partial Mode": "Simple", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 60801.75, "Total Cost": 62301.75, "Plan Rows": 150000, "Plan Width": 12, "Actual Startup Time": 1635.776, "Actual Total Time": 1668.796, "Actual Rows": 150000, "Actual Loops": 1, "Output": ["customer.c_custkey", "count(orders.o_orderkey)"], "Group Key": ["customer.c_custkey"], "Planned Partitions": 0, "HashAgg Batches": 1, "Peak Memory Usage": 16401, "Disk Usage": 0, "Plans": [{"Node Type": "Hash Join", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Join Type": "Right", "Startup Cost": 4580.82, "Total Cost": 53361.87, "Plan Rows": 1487976, "Plan Width": 8, "Actual Startup Time": 39.915, "Actual Total Time": 1174.184, "Actual Rows": 1533817, "Actual Loops": 1, "Output": ["customer.c_custkey", "orders.o_orderkey"], "Inner Unique": true, "Hash Cond": "(orders.o_custkey = customer.c_custkey)", "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Relation Name": "orders", "Schema": "public", "Alias": "orders", "Startup Cost": 0.0, "Total Cost": 44875.0, "Plan Rows": 1487976, "Plan Width": 8, "Actual Startup Time": 0.013, "Actual Total Time": 679.532, "Actual Rows": 1483813, "Actual Loops": 1, "Output": ["orders.o_orderkey", "orders.o_custkey", "orders.o_orderstatus", "orders.o_totalprice", "orders.o_orderdate", "orders.o_orderpriority", "orders.o_clerk", "orders.o_shippriority", "orders.o_comment"], "Filter": "((orders.o_comment)::text !~~ '%unusual%requests%'::text)", "Rows Removed by Filter": 16187}, {"Node Type": "Hash", "Parent Relationship": "Inner", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 2705.82, "Total Cost": 2705.82, "Plan Rows": 150000, "Plan Width": 4, "Actual Startup Time": 39.598, "Actual Total Time": 39.599, "Actual Rows": 150000, "Actual Loops": 1, "Output": ["customer.c_custkey"], "Hash Buckets": 262144, "Original Hash Buckets": 262144, "Hash Batches": 1, "Original Hash Batches": 1, "Peak Memory Usage": 7322, "Plans": [{"Node Type": "Index Only Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Scan Direction": "Forward", "Index Name": "c_ck", "Relation Name": "customer", "Schema": "public", "Alias": "customer", "Startup Cost": 0.42, "Total Cost": 2705.82, "Plan Rows": 150000, "Plan Width": 4, "Actual Startup Time": 0.015, "Actual Total Time": 18.618, "Actual Rows": 150000, "Actual Loops": 1, "Output": ["customer.c_custkey"], "Heap Fetches": 0}]}]}]}]}]}, "Planning Time": 0.528, "Triggers": [], "Execution Time": 1695.805} diff --git a/dev9/pg17/tpch/sf_1/explain_analyze/15721/14-1.ok b/dev9/pg17/tpch/sf_1/explain_analyze/15721/14-1.ok new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/dev9/pg17/tpch/sf_1/explain_analyze/15721/14-1.res b/dev9/pg17/tpch/sf_1/explain_analyze/15721/14-1.res new file mode 100644 index 0000000000000000000000000000000000000000..5e56b1f341923e93788ba844a3cf5a2f8a9aa35c --- /dev/null +++ b/dev9/pg17/tpch/sf_1/explain_analyze/15721/14-1.res @@ -0,0 +1 @@ +{"Plan": {"Node Type": "Aggregate", "Strategy": "Plain", "Partial Mode": "Finalize", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 67998.56, "Total Cost": 67998.57, "Plan Rows": 1, "Plan Width": 32, "Actual Startup Time": 116.939, "Actual Total Time": 132.864, "Actual Rows": 1, "Actual Loops": 1, "Output": ["((100.00 * sum(CASE WHEN ((part.p_type)::text ~~ 'PROMO%'::text) THEN (lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount)) ELSE '0'::numeric END)) / sum((lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount))))"], "Plans": [{"Node Type": "Gather", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 67998.1, "Total Cost": 67998.51, "Plan Rows": 4, "Plan Width": 64, "Actual Startup Time": 114.173, "Actual Total Time": 132.846, "Actual Rows": 5, "Actual Loops": 1, "Output": ["(PARTIAL sum(CASE WHEN ((part.p_type)::text ~~ 'PROMO%'::text) THEN (lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount)) ELSE '0'::numeric END))", "(PARTIAL sum((lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount))))"], "Workers Planned": 4, "Workers Launched": 4, "Single Copy": false, "Plans": [{"Node Type": "Aggregate", "Strategy": "Plain", "Partial Mode": "Partial", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 66998.1, "Total Cost": 66998.11, "Plan Rows": 1, "Plan Width": 64, "Actual Startup Time": 110.581, "Actual Total Time": 110.584, "Actual Rows": 1, "Actual Loops": 5, "Output": ["PARTIAL sum(CASE WHEN ((part.p_type)::text ~~ 'PROMO%'::text) THEN (lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount)) ELSE '0'::numeric END)", "PARTIAL sum((lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount)))"], "Workers": [{"Worker Number": 0, "Actual Startup Time": 109.588, "Actual Total Time": 109.592, "Actual Rows": 1, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 109.84, "Actual Total Time": 109.843, "Actual Rows": 1, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 109.726, "Actual Total Time": 109.729, "Actual Rows": 1, "Actual Loops": 1}, {"Worker Number": 3, "Actual Startup Time": 109.915, "Actual Total Time": 109.918, "Actual Rows": 1, "Actual Loops": 1}], "Plans": [{"Node Type": "Hash Join", "Parent Relationship": "Outer", "Parallel Aware": true, "Async Capable": false, "Join Type": "Inner", "Startup Cost": 6844.93, "Total Cost": 66657.62, "Plan Rows": 19456, "Plan Width": 33, "Actual Startup Time": 50.736, "Actual Total Time": 101.742, "Actual Rows": 15580, "Actual Loops": 5, "Output": ["part.p_type", "lineitem.l_extendedprice", "lineitem.l_discount"], "Inner Unique": true, "Hash Cond": "(lineitem.l_partkey = part.p_partkey)", "Workers": [{"Worker Number": 0, "Actual Startup Time": 49.378, "Actual Total Time": 101.995, "Actual Rows": 13070, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 50.159, "Actual Total Time": 102.243, "Actual Rows": 13002, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 50.135, "Actual Total Time": 102.33, "Actual Rows": 12710, "Actual Loops": 1}, {"Worker Number": 3, "Actual Startup Time": 50.337, "Actual Total Time": 102.379, "Actual Rows": 12957, "Actual Loops": 1}], "Plans": [{"Node Type": "Bitmap Heap Scan", "Parent Relationship": "Outer", "Parallel Aware": true, "Async Capable": false, "Relation Name": "lineitem", "Schema": "public", "Alias": "lineitem", "Startup Cost": 872.94, "Total Cost": 60634.55, "Plan Rows": 19456, "Plan Width": 16, "Actual Startup Time": 23.095, "Actual Total Time": 64.855, "Actual Rows": 15580, "Actual Loops": 5, "Output": ["lineitem.l_orderkey", "lineitem.l_partkey", "lineitem.l_suppkey", "lineitem.l_linenumber", "lineitem.l_quantity", "lineitem.l_extendedprice", "lineitem.l_discount", "lineitem.l_tax", "lineitem.l_returnflag", "lineitem.l_linestatus", "lineitem.l_shipdate", "lineitem.l_commitdate", "lineitem.l_receiptdate", "lineitem.l_shipinstruct", "lineitem.l_shipmode", "lineitem.l_comment"], "Recheck Cond": "((lineitem.l_shipdate >= '1995-05-01'::date) AND (lineitem.l_shipdate < '1995-06-01 00:00:00'::timestamp without time zone))", "Rows Removed by Index Recheck": 0, "Exact Heap Blocks": 14028, "Lossy Heap Blocks": 0, "Workers": [{"Worker Number": 0, "Actual Startup Time": 22.711, "Actual Total Time": 67.226, "Actual Rows": 13070, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 23.344, "Actual Total Time": 67.309, "Actual Rows": 13002, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 23.328, "Actual Total Time": 67.556, "Actual Rows": 12710, "Actual Loops": 1}, {"Worker Number": 3, "Actual Startup Time": 23.339, "Actual Total Time": 67.287, "Actual Rows": 12957, "Actual Loops": 1}], "Plans": [{"Node Type": "Bitmap Index Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Index Name": "l_sd", "Startup Cost": 0.0, "Total Cost": 853.48, "Plan Rows": 77825, "Plan Width": 0, "Actual Startup Time": 10.916, "Actual Total Time": 10.916, "Actual Rows": 77900, "Actual Loops": 1, "Index Cond": "((lineitem.l_shipdate >= '1995-05-01'::date) AND (lineitem.l_shipdate < '1995-06-01 00:00:00'::timestamp without time zone))", "Workers": [{"Worker Number": 0, "Actual Startup Time": 10.916, "Actual Total Time": 10.916, "Actual Rows": 77900, "Actual Loops": 1}]}]}, {"Node Type": "Hash", "Parent Relationship": "Inner", "Parallel Aware": true, "Async Capable": false, "Startup Cost": 4930.33, "Total Cost": 4930.33, "Plan Rows": 83333, "Plan Width": 25, "Actual Startup Time": 27.166, "Actual Total Time": 27.167, "Actual Rows": 40000, "Actual Loops": 5, "Output": ["part.p_type", "part.p_partkey"], "Hash Buckets": 262144, "Original Hash Buckets": 262144, "Hash Batches": 1, "Original Hash Batches": 1, "Peak Memory Usage": 14208, "Workers": [{"Worker Number": 0, "Actual Startup Time": 26.532, "Actual Total Time": 26.533, "Actual Rows": 36814, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 26.654, "Actual Total Time": 26.655, "Actual Rows": 37444, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 26.655, "Actual Total Time": 26.656, "Actual Rows": 37186, "Actual Loops": 1}, {"Worker Number": 3, "Actual Startup Time": 26.854, "Actual Total Time": 26.855, "Actual Rows": 37524, "Actual Loops": 1}], "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": true, "Async Capable": false, "Relation Name": "part", "Schema": "public", "Alias": "part", "Startup Cost": 0.0, "Total Cost": 4930.33, "Plan Rows": 83333, "Plan Width": 25, "Actual Startup Time": 0.017, "Actual Total Time": 10.814, "Actual Rows": 40000, "Actual Loops": 5, "Output": ["part.p_type", "part.p_partkey"], "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.018, "Actual Total Time": 10.661, "Actual Rows": 36814, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 0.016, "Actual Total Time": 10.81, "Actual Rows": 37444, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 0.024, "Actual Total Time": 10.857, "Actual Rows": 37186, "Actual Loops": 1}, {"Worker Number": 3, "Actual Startup Time": 0.019, "Actual Total Time": 10.933, "Actual Rows": 37524, "Actual Loops": 1}]}]}]}]}]}]}, "Planning Time": 0.324, "Triggers": [], "Execution Time": 132.908} diff --git a/dev9/pg17/tpch/sf_1/explain_analyze/15721/15-1.ok b/dev9/pg17/tpch/sf_1/explain_analyze/15721/15-1.ok new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/dev9/pg17/tpch/sf_1/explain_analyze/15721/15-1.res b/dev9/pg17/tpch/sf_1/explain_analyze/15721/15-1.res new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/dev9/pg17/tpch/sf_1/explain_analyze/15721/15-2.ok b/dev9/pg17/tpch/sf_1/explain_analyze/15721/15-2.ok new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/dev9/pg17/tpch/sf_1/explain_analyze/15721/15-2.res b/dev9/pg17/tpch/sf_1/explain_analyze/15721/15-2.res new file mode 100644 index 0000000000000000000000000000000000000000..70ef68de45e7e4720a44ae61ef0d46f633aebf3a --- /dev/null +++ b/dev9/pg17/tpch/sf_1/explain_analyze/15721/15-2.res @@ -0,0 +1 @@ +{"Plan": {"Node Type": "Merge Join", "Parallel Aware": false, "Async Capable": false, "Join Type": "Inner", "Startup Cost": 240643.27, "Total Cost": 241075.14, "Plan Rows": 50, "Plan Width": 103, "Actual Startup Time": 621.026, "Actual Total Time": 621.031, "Actual Rows": 1, "Actual Loops": 1, "Output": ["supplier.s_suppkey", "supplier.s_name", "supplier.s_address", "supplier.s_phone", "revenue0.total_revenue"], "Inner Unique": true, "Merge Cond": "(supplier.s_suppkey = revenue0.supplier_no)", "Plans": [{"Node Type": "Aggregate", "Strategy": "Plain", "Partial Mode": "Simple", "Parent Relationship": "InitPlan", "Subplan Name": "InitPlan 1", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 120370.53, "Total Cost": 120370.54, "Plan Rows": 1, "Plan Width": 32, "Actual Startup Time": 309.284, "Actual Total Time": 309.285, "Actual Rows": 1, "Actual Loops": 1, "Output": ["max((sum((lineitem_1.l_extendedprice * ('1'::numeric - lineitem_1.l_discount)))))"], "Plans": [{"Node Type": "Aggregate", "Strategy": "Hashed", "Partial Mode": "Simple", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 120120.53, "Total Cost": 120245.53, "Plan Rows": 10000, "Plan Width": 36, "Actual Startup Time": 304.895, "Actual Total Time": 308.345, "Actual Rows": 10000, "Actual Loops": 1, "Output": ["lineitem_1.l_suppkey", "sum((lineitem_1.l_extendedprice * ('1'::numeric - lineitem_1.l_discount)))"], "Group Key": ["lineitem_1.l_suppkey"], "Planned Partitions": 0, "HashAgg Batches": 1, "Peak Memory Usage": 4497, "Disk Usage": 0, "Plans": [{"Node Type": "Bitmap Heap Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Relation Name": "lineitem", "Schema": "public", "Alias": "lineitem_1", "Startup Cost": 2499.38, "Total Cost": 117890.73, "Plan Rows": 222980, "Plan Width": 16, "Actual Startup Time": 43.542, "Actual Total Time": 155.1, "Actual Rows": 225253, "Actual Loops": 1, "Output": ["lineitem_1.l_orderkey", "lineitem_1.l_partkey", "lineitem_1.l_suppkey", "lineitem_1.l_linenumber", "lineitem_1.l_quantity", "lineitem_1.l_extendedprice", "lineitem_1.l_discount", "lineitem_1.l_tax", "lineitem_1.l_returnflag", "lineitem_1.l_linestatus", "lineitem_1.l_shipdate", "lineitem_1.l_commitdate", "lineitem_1.l_receiptdate", "lineitem_1.l_shipinstruct", "lineitem_1.l_shipmode", "lineitem_1.l_comment"], "Recheck Cond": "((lineitem_1.l_shipdate >= '1995-01-01'::date) AND (lineitem_1.l_shipdate < '1995-04-01 00:00:00'::timestamp without time zone))", "Rows Removed by Index Recheck": 0, "Exact Heap Blocks": 66823, "Lossy Heap Blocks": 0, "Plans": [{"Node Type": "Bitmap Index Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Index Name": "l_sd", "Startup Cost": 0.0, "Total Cost": 2443.63, "Plan Rows": 222980, "Plan Width": 0, "Actual Startup Time": 24.714, "Actual Total Time": 24.715, "Actual Rows": 225253, "Actual Loops": 1, "Index Cond": "((lineitem_1.l_shipdate >= '1995-01-01'::date) AND (lineitem_1.l_shipdate < '1995-04-01 00:00:00'::timestamp without time zone))"}]}]}]}, {"Node Type": "Index Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Scan Direction": "Forward", "Index Name": "s_sk", "Relation Name": "supplier", "Schema": "public", "Alias": "supplier", "Startup Cost": 0.29, "Total Cost": 406.4, "Plan Rows": 10000, "Plan Width": 71, "Actual Startup Time": 0.012, "Actual Total Time": 2.143, "Actual Rows": 9493, "Actual Loops": 1, "Output": ["supplier.s_suppkey", "supplier.s_name", "supplier.s_address", "supplier.s_nationkey", "supplier.s_phone", "supplier.s_acctbal", "supplier.s_comment"]}, {"Node Type": "Sort", "Parent Relationship": "Inner", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 120272.44, "Total Cost": 120272.57, "Plan Rows": 50, "Plan Width": 36, "Actual Startup Time": 618.108, "Actual Total Time": 618.11, "Actual Rows": 1, "Actual Loops": 1, "Output": ["revenue0.total_revenue", "revenue0.supplier_no"], "Sort Key": ["revenue0.supplier_no"], "Sort Method": "quicksort", "Sort Space Used": 25, "Sort Space Type": "Memory", "Plans": [{"Node Type": "Subquery Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Alias": "revenue0", "Startup Cost": 120120.53, "Total Cost": 120271.03, "Plan Rows": 50, "Plan Width": 36, "Actual Startup Time": 613.559, "Actual Total Time": 618.104, "Actual Rows": 1, "Actual Loops": 1, "Output": ["revenue0.total_revenue", "revenue0.supplier_no"], "Plans": [{"Node Type": "Aggregate", "Strategy": "Hashed", "Partial Mode": "Simple", "Parent Relationship": "Subquery", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 120120.53, "Total Cost": 120270.53, "Plan Rows": 50, "Plan Width": 36, "Actual Startup Time": 613.558, "Actual Total Time": 618.102, "Actual Rows": 1, "Actual Loops": 1, "Output": ["lineitem.l_suppkey", "sum((lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount)))"], "Group Key": ["lineitem.l_suppkey"], "Filter": "(sum((lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount))) = (InitPlan 1).col1)", "Planned Partitions": 0, "HashAgg Batches": 1, "Peak Memory Usage": 4497, "Disk Usage": 0, "Rows Removed by Filter": 9999, "Plans": [{"Node Type": "Bitmap Heap Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Relation Name": "lineitem", "Schema": "public", "Alias": "lineitem", "Startup Cost": 2499.38, "Total Cost": 117890.73, "Plan Rows": 222980, "Plan Width": 16, "Actual Startup Time": 42.948, "Actual Total Time": 155.671, "Actual Rows": 225253, "Actual Loops": 1, "Output": ["lineitem.l_orderkey", "lineitem.l_partkey", "lineitem.l_suppkey", "lineitem.l_linenumber", "lineitem.l_quantity", "lineitem.l_extendedprice", "lineitem.l_discount", "lineitem.l_tax", "lineitem.l_returnflag", "lineitem.l_linestatus", "lineitem.l_shipdate", "lineitem.l_commitdate", "lineitem.l_receiptdate", "lineitem.l_shipinstruct", "lineitem.l_shipmode", "lineitem.l_comment"], "Recheck Cond": "((lineitem.l_shipdate >= '1995-01-01'::date) AND (lineitem.l_shipdate < '1995-04-01 00:00:00'::timestamp without time zone))", "Rows Removed by Index Recheck": 0, "Exact Heap Blocks": 66823, "Lossy Heap Blocks": 0, "Plans": [{"Node Type": "Bitmap Index Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Index Name": "l_sd", "Startup Cost": 0.0, "Total Cost": 2443.63, "Plan Rows": 222980, "Plan Width": 0, "Actual Startup Time": 24.473, "Actual Total Time": 24.473, "Actual Rows": 225253, "Actual Loops": 1, "Index Cond": "((lineitem.l_shipdate >= '1995-01-01'::date) AND (lineitem.l_shipdate < '1995-04-01 00:00:00'::timestamp without time zone))"}]}]}]}]}]}, "Planning Time": 0.376, "Triggers": [], "Execution Time": 622.37} diff --git a/dev9/pg17/tpch/sf_1/explain_analyze/15721/15-3.ok b/dev9/pg17/tpch/sf_1/explain_analyze/15721/15-3.ok new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/dev9/pg17/tpch/sf_1/explain_analyze/15721/15-3.res b/dev9/pg17/tpch/sf_1/explain_analyze/15721/15-3.res new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/dev9/pg17/tpch/sf_1/explain_analyze/15721/16-1.ok b/dev9/pg17/tpch/sf_1/explain_analyze/15721/16-1.ok new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/dev9/pg17/tpch/sf_1/explain_analyze/15721/16-1.res b/dev9/pg17/tpch/sf_1/explain_analyze/15721/16-1.res new file mode 100644 index 0000000000000000000000000000000000000000..351f2f4b8069c90ea99c691994a8996ad88d628a --- /dev/null +++ b/dev9/pg17/tpch/sf_1/explain_analyze/15721/16-1.res @@ -0,0 +1 @@ +{"Plan": {"Node Type": "Sort", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 26925.76, "Total Cost": 26965.83, "Plan Rows": 16030, "Plan Width": 44, "Actual Startup Time": 361.901, "Actual Total Time": 363.537, "Actual Rows": 18263, "Actual Loops": 1, "Output": ["part.p_brand", "part.p_type", "part.p_size", "(count(DISTINCT partsupp.ps_suppkey))"], "Sort Key": ["(count(DISTINCT partsupp.ps_suppkey)) DESC", "part.p_brand", "part.p_type", "part.p_size"], "Sort Method": "quicksort", "Sort Space Used": 1909, "Sort Space Type": "Memory", "Plans": [{"Node Type": "Aggregate", "Strategy": "Sorted", "Partial Mode": "Simple", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 17897.61, "Total Cost": 25806.18, "Plan Rows": 16030, "Plan Width": 44, "Actual Startup Time": 193.932, "Actual Total Time": 296.934, "Actual Rows": 18263, "Actual Loops": 1, "Output": ["part.p_brand", "part.p_type", "part.p_size", "count(DISTINCT partsupp.ps_suppkey)"], "Group Key": ["part.p_brand", "part.p_type", "part.p_size"], "Plans": [{"Node Type": "Gather Merge", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 17897.61, "Total Cost": 25048.64, "Plan Rows": 59724, "Plan Width": 40, "Actual Startup Time": 193.916, "Actual Total Time": 268.951, "Actual Rows": 119250, "Actual Loops": 1, "Output": ["part.p_brand", "part.p_type", "part.p_size", "partsupp.ps_suppkey"], "Workers Planned": 4, "Workers Launched": 4, "Plans": [{"Node Type": "Sort", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 16897.55, "Total Cost": 16934.88, "Plan Rows": 14931, "Plan Width": 40, "Actual Startup Time": 185.868, "Actual Total Time": 187.876, "Actual Rows": 23850, "Actual Loops": 5, "Output": ["part.p_brand", "part.p_type", "part.p_size", "partsupp.ps_suppkey"], "Sort Key": ["part.p_brand", "part.p_type", "part.p_size", "partsupp.ps_suppkey"], "Sort Method": "quicksort", "Sort Space Used": 2209, "Sort Space Type": "Memory", "Workers": [{"Worker Number": 0, "Actual Startup Time": 182.977, "Actual Total Time": 184.967, "Actual Rows": 23769, "Actual Loops": 1, "Sort Method": "quicksort", "Sort Space Used": 2166, "Sort Space Type": "Memory"}, {"Worker Number": 1, "Actual Startup Time": 183.978, "Actual Total Time": 185.882, "Actual Rows": 23678, "Actual Loops": 1, "Sort Method": "quicksort", "Sort Space Used": 2161, "Sort Space Type": "Memory"}, {"Worker Number": 2, "Actual Startup Time": 183.869, "Actual Total Time": 185.864, "Actual Rows": 23663, "Actual Loops": 1, "Sort Method": "quicksort", "Sort Space Used": 2160, "Sort Space Type": "Memory"}, {"Worker Number": 3, "Actual Startup Time": 184.943, "Actual Total Time": 186.857, "Actual Rows": 23637, "Actual Loops": 1, "Sort Method": "quicksort", "Sort Space Used": 2158, "Sort Space Type": "Memory"}], "Plans": [{"Node Type": "Hash Join", "Parent Relationship": "Outer", "Parallel Aware": true, "Async Capable": false, "Join Type": "Inner", "Startup Cost": 6684.29, "Total Cost": 15862.39, "Plan Rows": 14931, "Plan Width": 40, "Actual Startup Time": 22.454, "Actual Total Time": 84.346, "Actual Rows": 23850, "Actual Loops": 5, "Output": ["part.p_brand", "part.p_type", "part.p_size", "partsupp.ps_suppkey"], "Inner Unique": true, "Hash Cond": "(partsupp.ps_partkey = part.p_partkey)", "Workers": [{"Worker Number": 0, "Actual Startup Time": 21.586, "Actual Total Time": 83.398, "Actual Rows": 23769, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 21.671, "Actual Total Time": 83.557, "Actual Rows": 23678, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 21.681, "Actual Total Time": 83.514, "Actual Rows": 23663, "Actual Loops": 1}, {"Worker Number": 3, "Actual Startup Time": 21.833, "Actual Total Time": 83.761, "Actual Rows": 23637, "Actual Loops": 1}], "Plans": [{"Node Type": "Index Only Scan", "Parent Relationship": "Outer", "Parallel Aware": true, "Async Capable": false, "Scan Direction": "Forward", "Index Name": "ps_sk_pk", "Relation Name": "partsupp", "Schema": "public", "Alias": "partsupp", "Startup Cost": 348.43, "Total Cost": 9264.03, "Plan Rows": 100000, "Plan Width": 8, "Actual Startup Time": 3.482, "Actual Total Time": 38.711, "Actual Rows": 159936, "Actual Loops": 5, "Output": ["partsupp.ps_suppkey", "partsupp.ps_partkey"], "Filter": "(NOT (ANY (partsupp.ps_suppkey = (hashed SubPlan 1).col1)))", "Rows Removed by Filter": 64, "Heap Fetches": 0, "Workers": [{"Worker Number": 0, "Actual Startup Time": 3.581, "Actual Total Time": 38.925, "Actual Rows": 158844, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 3.531, "Actual Total Time": 38.914, "Actual Rows": 158844, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 3.536, "Actual Total Time": 38.781, "Actual Rows": 158032, "Actual Loops": 1}, {"Worker Number": 3, "Actual Startup Time": 3.521, "Actual Total Time": 38.981, "Actual Rows": 158398, "Actual Loops": 1}], "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "SubPlan", "Subplan Name": "SubPlan 1", "Parallel Aware": false, "Async Capable": false, "Relation Name": "supplier", "Schema": "public", "Alias": "supplier", "Startup Cost": 0.0, "Total Cost": 348.0, "Plan Rows": 1, "Plan Width": 4, "Actual Startup Time": 0.146, "Actual Total Time": 3.371, "Actual Rows": 4, "Actual Loops": 5, "Output": ["supplier.s_suppkey"], "Filter": "((supplier.s_comment)::text ~~ '%Customer%Complaints%'::text)", "Rows Removed by Filter": 9996, "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.144, "Actual Total Time": 3.431, "Actual Rows": 4, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 0.154, "Actual Total Time": 3.408, "Actual Rows": 4, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 0.159, "Actual Total Time": 3.462, "Actual Rows": 4, "Actual Loops": 1}, {"Worker Number": 3, "Actual Startup Time": 0.148, "Actual Total Time": 3.421, "Actual Rows": 4, "Actual Loops": 1}]}]}, {"Node Type": "Hash", "Parent Relationship": "Inner", "Parallel Aware": true, "Async Capable": false, "Startup Cost": 6180.33, "Total Cost": 6180.33, "Plan Rows": 12442, "Plan Width": 40, "Actual Startup Time": 18.813, "Actual Total Time": 18.814, "Actual Rows": 5965, "Actual Loops": 5, "Output": ["part.p_brand", "part.p_type", "part.p_size", "part.p_partkey"], "Hash Buckets": 32768, "Original Hash Buckets": 32768, "Hash Batches": 1, "Original Hash Batches": 1, "Peak Memory Usage": 2592, "Workers": [{"Worker Number": 0, "Actual Startup Time": 17.92, "Actual Total Time": 17.921, "Actual Rows": 5299, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 18.045, "Actual Total Time": 18.046, "Actual Rows": 5357, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 18.068, "Actual Total Time": 18.069, "Actual Rows": 5333, "Actual Loops": 1}, {"Worker Number": 3, "Actual Startup Time": 18.235, "Actual Total Time": 18.236, "Actual Rows": 5644, "Actual Loops": 1}], "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": true, "Async Capable": false, "Relation Name": "part", "Schema": "public", "Alias": "part", "Startup Cost": 0.0, "Total Cost": 6180.33, "Plan Rows": 12442, "Plan Width": 40, "Actual Startup Time": 0.025, "Actual Total Time": 16.668, "Actual Rows": 5965, "Actual Loops": 5, "Output": ["part.p_brand", "part.p_type", "part.p_size", "part.p_partkey"], "Filter": "((part.p_brand <> 'Brand#11'::bpchar) AND ((part.p_type)::text !~~ 'ECONOMY ANODIZED%'::text) AND (part.p_size = ANY ('{42,16,39,18,23,32,44,41}'::integer[])))", "Rows Removed by Filter": 34035, "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.028, "Actual Total Time": 15.819, "Actual Rows": 5299, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 0.026, "Actual Total Time": 15.784, "Actual Rows": 5357, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 0.03, "Actual Total Time": 15.713, "Actual Rows": 5333, "Actual Loops": 1}, {"Worker Number": 3, "Actual Startup Time": 0.026, "Actual Total Time": 16.525, "Actual Rows": 5644, "Actual Loops": 1}]}]}]}]}]}]}]}, "Planning Time": 0.601, "Triggers": [], "Execution Time": 364.322} diff --git a/dev9/pg17/tpch/sf_1/explain_analyze/15721/17-1.ok b/dev9/pg17/tpch/sf_1/explain_analyze/15721/17-1.ok new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/dev9/pg17/tpch/sf_1/explain_analyze/15721/17-1.res b/dev9/pg17/tpch/sf_1/explain_analyze/15721/17-1.res new file mode 100644 index 0000000000000000000000000000000000000000..38c3545bd5249f739f4ea56b8294504b22b39fb2 --- /dev/null +++ b/dev9/pg17/tpch/sf_1/explain_analyze/15721/17-1.res @@ -0,0 +1 @@ +{"Plan": {"Node Type": "Aggregate", "Strategy": "Plain", "Partial Mode": "Simple", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 195057.38, "Total Cost": 195057.39, "Plan Rows": 1, "Plan Width": 32, "Actual Startup Time": 1495.875, "Actual Total Time": 1495.95, "Actual Rows": 1, "Actual Loops": 1, "Output": ["(sum(lineitem.l_extendedprice) / 7.0)"], "Plans": [{"Node Type": "Hash Join", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Join Type": "Inner", "Startup Cost": 6369.28, "Total Cost": 195052.43, "Plan Rows": 1980, "Plan Width": 8, "Actual Startup Time": 18.453, "Actual Total Time": 1495.791, "Actual Rows": 588, "Actual Loops": 1, "Output": ["lineitem.l_extendedprice"], "Inner Unique": true, "Hash Cond": "(lineitem.l_partkey = part.p_partkey)", "Join Filter": "(lineitem.l_quantity < (SubPlan 1))", "Rows Removed by Join Filter": 6005, "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Relation Name": "lineitem", "Schema": "public", "Alias": "lineitem", "Startup Cost": 0.0, "Total Cost": 172567.15, "Plan Rows": 6001215, "Plan Width": 17, "Actual Startup Time": 0.007, "Actual Total Time": 493.773, "Actual Rows": 6001215, "Actual Loops": 1, "Output": ["lineitem.l_orderkey", "lineitem.l_partkey", "lineitem.l_suppkey", "lineitem.l_linenumber", "lineitem.l_quantity", "lineitem.l_extendedprice", "lineitem.l_discount", "lineitem.l_tax", "lineitem.l_returnflag", "lineitem.l_linestatus", "lineitem.l_shipdate", "lineitem.l_commitdate", "lineitem.l_receiptdate", "lineitem.l_shipinstruct", "lineitem.l_shipmode", "lineitem.l_comment"]}, {"Node Type": "Hash", "Parent Relationship": "Inner", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 6366.8, "Total Cost": 6366.8, "Plan Rows": 198, "Plan Width": 4, "Actual Startup Time": 16.012, "Actual Total Time": 16.085, "Actual Rows": 222, "Actual Loops": 1, "Output": ["part.p_partkey"], "Hash Buckets": 1024, "Original Hash Buckets": 1024, "Hash Batches": 1, "Original Hash Batches": 1, "Peak Memory Usage": 16, "Plans": [{"Node Type": "Gather", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 1000.0, "Total Cost": 6366.8, "Plan Rows": 198, "Plan Width": 4, "Actual Startup Time": 0.54, "Actual Total Time": 16.05, "Actual Rows": 222, "Actual Loops": 1, "Output": ["part.p_partkey"], "Workers Planned": 2, "Workers Launched": 2, "Single Copy": false, "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": true, "Async Capable": false, "Relation Name": "part", "Schema": "public", "Alias": "part", "Startup Cost": 0.0, "Total Cost": 5347.0, "Plan Rows": 82, "Plan Width": 4, "Actual Startup Time": 0.386, "Actual Total Time": 13.548, "Actual Rows": 74, "Actual Loops": 3, "Output": ["part.p_partkey"], "Filter": "((part.p_brand = 'Brand#14'::bpchar) AND (part.p_container = 'WRAP BOX'::bpchar))", "Rows Removed by Filter": 66593, "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.364, "Actual Total Time": 12.348, "Actual Rows": 53, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 0.426, "Actual Total Time": 12.558, "Actual Rows": 62, "Actual Loops": 1}]}]}]}, {"Node Type": "Aggregate", "Strategy": "Plain", "Partial Mode": "Simple", "Parent Relationship": "SubPlan", "Subplan Name": "SubPlan 1", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 36.25, "Total Cost": 36.27, "Plan Rows": 1, "Plan Width": 32, "Actual Startup Time": 0.027, "Actual Total Time": 0.028, "Actual Rows": 1, "Actual Loops": 6593, "Output": ["(0.2 * avg(lineitem_1.l_quantity))"], "Plans": [{"Node Type": "Index Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Scan Direction": "Forward", "Index Name": "l_pk", "Relation Name": "lineitem", "Schema": "public", "Alias": "lineitem_1", "Startup Cost": 0.43, "Total Cost": 36.17, "Plan Rows": 31, "Plan Width": 5, "Actual Startup Time": 0.003, "Actual Total Time": 0.022, "Actual Rows": 31, "Actual Loops": 6593, "Output": ["lineitem_1.l_orderkey", "lineitem_1.l_partkey", "lineitem_1.l_suppkey", "lineitem_1.l_linenumber", "lineitem_1.l_quantity", "lineitem_1.l_extendedprice", "lineitem_1.l_discount", "lineitem_1.l_tax", "lineitem_1.l_returnflag", "lineitem_1.l_linestatus", "lineitem_1.l_shipdate", "lineitem_1.l_commitdate", "lineitem_1.l_receiptdate", "lineitem_1.l_shipinstruct", "lineitem_1.l_shipmode", "lineitem_1.l_comment"], "Index Cond": "(lineitem_1.l_partkey = part.p_partkey)", "Rows Removed by Index Recheck": 0}]}]}]}, "Planning Time": 0.336, "Triggers": [], "Execution Time": 1495.99} diff --git a/dev9/pg17/tpch/sf_1/explain_analyze/15721/18-1.ok b/dev9/pg17/tpch/sf_1/explain_analyze/15721/18-1.ok new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/dev9/pg17/tpch/sf_1/explain_analyze/15721/18-1.res b/dev9/pg17/tpch/sf_1/explain_analyze/15721/18-1.res new file mode 100644 index 0000000000000000000000000000000000000000..db754bcdde9349189535fec421686d1b2664a2d4 --- /dev/null +++ b/dev9/pg17/tpch/sf_1/explain_analyze/15721/18-1.res @@ -0,0 +1 @@ +{"Plan": {"Node Type": "Limit", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 708395.89, "Total Cost": 708396.14, "Plan Rows": 100, "Plan Width": 71, "Actual Startup Time": 3188.547, "Actual Total Time": 3219.9, "Actual Rows": 9, "Actual Loops": 1, "Output": ["customer.c_name", "customer.c_custkey", "orders.o_orderkey", "orders.o_orderdate", "orders.o_totalprice", "(sum(lineitem.l_quantity))"], "Plans": [{"Node Type": "Sort", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 708395.89, "Total Cost": 712369.26, "Plan Rows": 1589346, "Plan Width": 71, "Actual Startup Time": 3188.546, "Actual Total Time": 3219.897, "Actual Rows": 9, "Actual Loops": 1, "Output": ["customer.c_name", "customer.c_custkey", "orders.o_orderkey", "orders.o_orderdate", "orders.o_totalprice", "(sum(lineitem.l_quantity))"], "Sort Key": ["orders.o_totalprice DESC", "orders.o_orderdate"], "Sort Method": "quicksort", "Sort Space Used": 25, "Sort Space Type": "Memory", "Plans": [{"Node Type": "Aggregate", "Strategy": "Sorted", "Partial Mode": "Simple", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 327977.42, "Total Cost": 647652.23, "Plan Rows": 1589346, "Plan Width": 71, "Actual Startup Time": 3188.508, "Actual Total Time": 3219.885, "Actual Rows": 9, "Actual Loops": 1, "Output": ["customer.c_name", "customer.c_custkey", "orders.o_orderkey", "orders.o_orderdate", "orders.o_totalprice", "sum(lineitem.l_quantity)"], "Group Key": ["customer.c_custkey", "orders.o_orderkey"], "Plans": [{"Node Type": "Gather Merge", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 327977.42, "Total Cost": 615865.31, "Plan Rows": 1589346, "Plan Width": 44, "Actual Startup Time": 3188.494, "Actual Total Time": 3219.854, "Actual Rows": 63, "Actual Loops": 1, "Output": ["customer.c_custkey", "orders.o_orderkey", "customer.c_name", "orders.o_orderdate", "orders.o_totalprice", "lineitem.l_quantity"], "Workers Planned": 3, "Workers Launched": 3, "Plans": [{"Node Type": "Incremental Sort", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 326977.38, "Total Cost": 428117.12, "Plan Rows": 512692, "Plan Width": 44, "Actual Startup Time": 3181.528, "Actual Total Time": 3181.534, "Actual Rows": 16, "Actual Loops": 4, "Output": ["customer.c_custkey", "orders.o_orderkey", "customer.c_name", "orders.o_orderdate", "orders.o_totalprice", "lineitem.l_quantity"], "Sort Key": ["customer.c_custkey", "orders.o_orderkey"], "Presorted Key": ["customer.c_custkey"], "Full-sort Groups": {"Group Count": 1, "Sort Methods Used": ["quicksort"], "Sort Space Memory": {"Average Sort Space Used": 25, "Peak Sort Space Used": 25}}, "Workers": [{"Worker Number": 0, "Actual Startup Time": 3172.268, "Actual Total Time": 3172.274, "Actual Rows": 14, "Actual Loops": 1, "Full-sort Groups": {"Group Count": 1, "Sort Methods Used": ["quicksort"], "Sort Space Memory": {"Average Sort Space Used": 25, "Peak Sort Space Used": 25}}}, {"Worker Number": 1, "Actual Startup Time": 3183.796, "Actual Total Time": 3183.801, "Actual Rows": 14, "Actual Loops": 1, "Full-sort Groups": {"Group Count": 1, "Sort Methods Used": ["quicksort"], "Sort Space Memory": {"Average Sort Space Used": 25, "Peak Sort Space Used": 25}}}, {"Worker Number": 2, "Actual Startup Time": 3183.371, "Actual Total Time": 3183.378, "Actual Rows": 28, "Actual Loops": 1, "Full-sort Groups": {"Group Count": 1, "Sort Methods Used": ["quicksort"], "Sort Space Memory": {"Average Sort Space Used": 26, "Peak Sort Space Used": 26}}}], "Plans": [{"Node Type": "Nested Loop", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Join Type": "Inner", "Startup Cost": 326976.77, "Total Cost": 414163.12, "Plan Rows": 512692, "Plan Width": 44, "Actual Startup Time": 3175.131, "Actual Total Time": 3181.468, "Actual Rows": 16, "Actual Loops": 4, "Output": ["customer.c_custkey", "orders.o_orderkey", "customer.c_name", "orders.o_orderdate", "orders.o_totalprice", "lineitem.l_quantity"], "Inner Unique": false, "Workers": [{"Worker Number": 0, "Actual Startup Time": 3164.975, "Actual Total Time": 3172.191, "Actual Rows": 14, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 3180.817, "Actual Total Time": 3183.718, "Actual Rows": 14, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 3168.063, "Actual Total Time": 3183.287, "Actual Rows": 28, "Actual Loops": 1}], "Plans": [{"Node Type": "Merge Join", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Join Type": "Inner", "Startup Cost": 326976.34, "Total Cost": 329648.52, "Plan Rows": 128147, "Plan Width": 43, "Actual Startup Time": 3175.111, "Actual Total Time": 3181.43, "Actual Rows": 2, "Actual Loops": 4, "Output": ["customer.c_name", "customer.c_custkey", "orders.o_orderkey", "orders.o_orderdate", "orders.o_totalprice", "lineitem_1.l_orderkey"], "Inner Unique": true, "Merge Cond": "(orders.o_custkey = customer.c_custkey)", "Workers": [{"Worker Number": 0, "Actual Startup Time": 3164.952, "Actual Total Time": 3172.151, "Actual Rows": 2, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 3180.798, "Actual Total Time": 3183.683, "Actual Rows": 2, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 3168.044, "Actual Total Time": 3183.232, "Actual Rows": 4, "Actual Loops": 1}], "Plans": [{"Node Type": "Sort", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 308986.37, "Total Cost": 309306.74, "Plan Rows": 128147, "Plan Width": 24, "Actual Startup Time": 3104.086, "Actual Total Time": 3104.089, "Actual Rows": 2, "Actual Loops": 4, "Output": ["orders.o_orderkey", "orders.o_orderdate", "orders.o_totalprice", "orders.o_custkey", "lineitem_1.l_orderkey"], "Sort Key": ["orders.o_custkey"], "Sort Method": "quicksort", "Sort Space Used": 25, "Sort Space Type": "Memory", "Workers": [{"Worker Number": 0, "Actual Startup Time": 3102.907, "Actual Total Time": 3102.91, "Actual Rows": 2, "Actual Loops": 1, "Sort Method": "quicksort", "Sort Space Used": 25, "Sort Space Type": "Memory"}, {"Worker Number": 1, "Actual Startup Time": 3102.986, "Actual Total Time": 3102.989, "Actual Rows": 2, "Actual Loops": 1, "Sort Method": "quicksort", "Sort Space Used": 25, "Sort Space Type": "Memory"}, {"Worker Number": 2, "Actual Startup Time": 3103.127, "Actual Total Time": 3103.132, "Actual Rows": 4, "Actual Loops": 1, "Sort Method": "quicksort", "Sort Space Used": 25, "Sort Space Type": "Memory"}], "Plans": [{"Node Type": "Hash Join", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Join Type": "Inner", "Startup Cost": 265880.87, "Total Cost": 298114.74, "Plan Rows": 128147, "Plan Width": 24, "Actual Startup Time": 3040.714, "Actual Total Time": 3104.076, "Actual Rows": 2, "Actual Loops": 4, "Output": ["orders.o_orderkey", "orders.o_orderdate", "orders.o_totalprice", "orders.o_custkey", "lineitem_1.l_orderkey"], "Inner Unique": true, "Hash Cond": "(orders.o_orderkey = lineitem_1.l_orderkey)", "Workers": [{"Worker Number": 0, "Actual Startup Time": 3035.787, "Actual Total Time": 3102.895, "Actual Rows": 2, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 3018.395, "Actual Total Time": 3102.973, "Actual Rows": 2, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 3023.736, "Actual Total Time": 3103.116, "Actual Rows": 4, "Actual Loops": 1}], "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": true, "Async Capable": false, "Relation Name": "orders", "Schema": "public", "Alias": "orders", "Startup Cost": 0.0, "Total Cost": 30963.71, "Plan Rows": 483871, "Plan Width": 20, "Actual Startup Time": 0.017, "Actual Total Time": 32.156, "Actual Rows": 375000, "Actual Loops": 4, "Output": ["orders.o_orderkey", "orders.o_custkey", "orders.o_orderstatus", "orders.o_totalprice", "orders.o_orderdate", "orders.o_orderpriority", "orders.o_clerk", "orders.o_shippriority", "orders.o_comment"], "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.019, "Actual Total Time": 26.592, "Actual Rows": 303070, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 0.022, "Actual Total Time": 26.755, "Actual Rows": 303840, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 0.022, "Actual Total Time": 28.09, "Actual Rows": 320449, "Actual Loops": 1}]}, {"Node Type": "Hash", "Parent Relationship": "Inner", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 260915.17, "Total Cost": 260915.17, "Plan Rows": 397256, "Plan Width": 4, "Actual Startup Time": 2994.128, "Actual Total Time": 2994.129, "Actual Rows": 9, "Actual Loops": 4, "Output": ["lineitem_1.l_orderkey"], "Hash Buckets": 524288, "Original Hash Buckets": 524288, "Hash Batches": 1, "Original Hash Batches": 1, "Peak Memory Usage": 4097, "Workers": [{"Worker Number": 0, "Actual Startup Time": 3011.776, "Actual Total Time": 3011.777, "Actual Rows": 9, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 3011.875, "Actual Total Time": 3011.877, "Actual Rows": 9, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 3007.491, "Actual Total Time": 3007.492, "Actual Rows": 9, "Actual Loops": 1}], "Plans": [{"Node Type": "Aggregate", "Strategy": "Sorted", "Partial Mode": "Simple", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 0.43, "Total Cost": 260915.17, "Plan Rows": 397256, "Plan Width": 4, "Actual Startup Time": 640.455, "Actual Total Time": 2994.113, "Actual Rows": 9, "Actual Loops": 4, "Output": ["lineitem_1.l_orderkey"], "Group Key": ["lineitem_1.l_orderkey"], "Filter": "(sum(lineitem_1.l_quantity) > '314'::numeric)", "Rows Removed by Filter": 1499991, "Workers": [{"Worker Number": 0, "Actual Startup Time": 654.952, "Actual Total Time": 3011.761, "Actual Rows": 9, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 649.904, "Actual Total Time": 3011.861, "Actual Rows": 9, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 637.465, "Actual Total Time": 3007.475, "Actual Rows": 9, "Actual Loops": 1}], "Plans": [{"Node Type": "Index Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Scan Direction": "Forward", "Index Name": "l_ok", "Relation Name": "lineitem", "Schema": "public", "Alias": "lineitem_1", "Startup Cost": 0.43, "Total Cost": 213032.56, "Plan Rows": 6001215, "Plan Width": 9, "Actual Startup Time": 0.051, "Actual Total Time": 1248.429, "Actual Rows": 6001215, "Actual Loops": 4, "Output": ["lineitem_1.l_orderkey", "lineitem_1.l_partkey", "lineitem_1.l_suppkey", "lineitem_1.l_linenumber", "lineitem_1.l_quantity", "lineitem_1.l_extendedprice", "lineitem_1.l_discount", "lineitem_1.l_tax", "lineitem_1.l_returnflag", "lineitem_1.l_linestatus", "lineitem_1.l_shipdate", "lineitem_1.l_commitdate", "lineitem_1.l_receiptdate", "lineitem_1.l_shipinstruct", "lineitem_1.l_shipmode", "lineitem_1.l_comment"], "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.062, "Actual Total Time": 1279.003, "Actual Rows": 6001215, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 0.065, "Actual Total Time": 1263.487, "Actual Rows": 6001215, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 0.063, "Actual Total Time": 1258.15, "Actual Rows": 6001215, "Actual Loops": 1}]}]}]}]}]}, {"Node Type": "Sort", "Parent Relationship": "Inner", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 17989.95, "Total Cost": 18364.95, "Plan Rows": 150000, "Plan Width": 23, "Actual Startup Time": 60.085, "Actual Total Time": 66.941, "Actual Rows": 121681, "Actual Loops": 4, "Output": ["customer.c_name", "customer.c_custkey"], "Sort Key": ["customer.c_custkey"], "Sort Method": "quicksort", "Sort Space Used": 12004, "Sort Space Type": "Memory", "Workers": [{"Worker Number": 0, "Actual Startup Time": 59.807, "Actual Total Time": 63.578, "Actual Rows": 66790, "Actual Loops": 1, "Sort Method": "quicksort", "Sort Space Used": 12004, "Sort Space Type": "Memory"}, {"Worker Number": 1, "Actual Startup Time": 59.885, "Actual Total Time": 68.161, "Actual Rows": 147197, "Actual Loops": 1, "Sort Method": "quicksort", "Sort Space Used": 12004, "Sort Space Type": "Memory"}, {"Worker Number": 2, "Actual Startup Time": 59.761, "Actual Total Time": 67.894, "Actual Rows": 144617, "Actual Loops": 1, "Sort Method": "quicksort", "Sort Space Used": 12004, "Sort Space Type": "Memory"}], "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Relation Name": "customer", "Schema": "public", "Alias": "customer", "Startup Cost": 0.0, "Total Cost": 5094.0, "Plan Rows": 150000, "Plan Width": 23, "Actual Startup Time": 0.04, "Actual Total Time": 22.967, "Actual Rows": 150000, "Actual Loops": 4, "Output": ["customer.c_name", "customer.c_custkey"], "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.054, "Actual Total Time": 23.452, "Actual Rows": 150000, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 0.049, "Actual Total Time": 23.616, "Actual Rows": 150000, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 0.045, "Actual Total Time": 23.529, "Actual Rows": 150000, "Actual Loops": 1}]}]}]}, {"Node Type": "Index Scan", "Parent Relationship": "Inner", "Parallel Aware": false, "Async Capable": false, "Scan Direction": "Forward", "Index Name": "l_ok", "Relation Name": "lineitem", "Schema": "public", "Alias": "lineitem", "Startup Cost": 0.43, "Total Cost": 0.61, "Plan Rows": 5, "Plan Width": 9, "Actual Startup Time": 0.011, "Actual Total Time": 0.013, "Actual Rows": 7, "Actual Loops": 9, "Output": ["lineitem.l_orderkey", "lineitem.l_partkey", "lineitem.l_suppkey", "lineitem.l_linenumber", "lineitem.l_quantity", "lineitem.l_extendedprice", "lineitem.l_discount", "lineitem.l_tax", "lineitem.l_returnflag", "lineitem.l_linestatus", "lineitem.l_shipdate", "lineitem.l_commitdate", "lineitem.l_receiptdate", "lineitem.l_shipinstruct", "lineitem.l_shipmode", "lineitem.l_comment"], "Index Cond": "(lineitem.l_orderkey = orders.o_orderkey)", "Rows Removed by Index Recheck": 0, "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.013, "Actual Total Time": 0.015, "Actual Rows": 7, "Actual Loops": 2}, {"Worker Number": 1, "Actual Startup Time": 0.011, "Actual Total Time": 0.013, "Actual Rows": 7, "Actual Loops": 2}, {"Worker Number": 2, "Actual Startup Time": 0.009, "Actual Total Time": 0.011, "Actual Rows": 7, "Actual Loops": 4}]}]}]}]}]}]}]}, "Planning Time": 1.046, "Triggers": [], "Execution Time": 3221.005} diff --git a/dev9/pg17/tpch/sf_1/explain_analyze/15721/19-1.ok b/dev9/pg17/tpch/sf_1/explain_analyze/15721/19-1.ok new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/dev9/pg17/tpch/sf_1/explain_analyze/15721/19-1.res b/dev9/pg17/tpch/sf_1/explain_analyze/15721/19-1.res new file mode 100644 index 0000000000000000000000000000000000000000..d0ad89e8f54c3f19aabe307f654b1b8cc121bad4 --- /dev/null +++ b/dev9/pg17/tpch/sf_1/explain_analyze/15721/19-1.res @@ -0,0 +1 @@ +{"Plan": {"Node Type": "Aggregate", "Strategy": "Plain", "Partial Mode": "Finalize", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 15814.26, "Total Cost": 15814.27, "Plan Rows": 1, "Plan Width": 32, "Actual Startup Time": 44.014, "Actual Total Time": 52.373, "Actual Rows": 1, "Actual Loops": 1, "Output": ["sum((lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount)))"], "Plans": [{"Node Type": "Gather", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 15814.03, "Total Cost": 15814.24, "Plan Rows": 2, "Plan Width": 32, "Actual Startup Time": 43.831, "Actual Total Time": 52.364, "Actual Rows": 3, "Actual Loops": 1, "Output": ["(PARTIAL sum((lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount))))"], "Workers Planned": 2, "Workers Launched": 2, "Single Copy": false, "Plans": [{"Node Type": "Aggregate", "Strategy": "Plain", "Partial Mode": "Partial", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 14814.03, "Total Cost": 14814.04, "Plan Rows": 1, "Plan Width": 32, "Actual Startup Time": 40.838, "Actual Total Time": 40.839, "Actual Rows": 1, "Actual Loops": 3, "Output": ["PARTIAL sum((lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount)))"], "Workers": [{"Worker Number": 0, "Actual Startup Time": 39.501, "Actual Total Time": 39.502, "Actual Rows": 1, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 39.577, "Actual Total Time": 39.578, "Actual Rows": 1, "Actual Loops": 1}], "Plans": [{"Node Type": "Nested Loop", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Join Type": "Inner", "Startup Cost": 0.43, "Total Cost": 14813.68, "Plan Rows": 47, "Plan Width": 12, "Actual Startup Time": 0.884, "Actual Total Time": 40.804, "Actual Rows": 35, "Actual Loops": 3, "Output": ["lineitem.l_extendedprice", "lineitem.l_discount"], "Inner Unique": false, "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.636, "Actual Total Time": 39.472, "Actual Rows": 26, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 1.051, "Actual Total Time": 39.549, "Actual Rows": 25, "Actual Loops": 1}], "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": true, "Async Capable": false, "Relation Name": "part", "Schema": "public", "Alias": "part", "Startup Cost": 0.0, "Total Cost": 7638.67, "Plan Rows": 199, "Plan Width": 30, "Actual Startup Time": 0.166, "Actual Total Time": 26.096, "Actual Rows": 143, "Actual Loops": 3, "Output": ["part.p_partkey", "part.p_name", "part.p_mfgr", "part.p_brand", "part.p_type", "part.p_size", "part.p_container", "part.p_retailprice", "part.p_comment"], "Filter": "((part.p_size >= 1) AND (((part.p_brand = 'Brand#52'::bpchar) AND (part.p_container = ANY ('{\"SM CASE\",\"SM BOX\",\"SM PACK\",\"SM PKG\"}'::bpchar[])) AND (part.p_size <= 5)) OR ((part.p_brand = 'Brand#42'::bpchar) AND (part.p_container = ANY ('{\"MED BAG\",\"MED BOX\",\"MED PKG\",\"MED PACK\"}'::bpchar[])) AND (part.p_size <= 10)) OR ((part.p_brand = 'Brand#23'::bpchar) AND (part.p_container = ANY ('{\"LG CASE\",\"LG BOX\",\"LG PACK\",\"LG PKG\"}'::bpchar[])) AND (part.p_size <= 15))))", "Rows Removed by Filter": 66524, "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.078, "Actual Total Time": 21.085, "Actual Rows": 116, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 0.383, "Actual Total Time": 22.591, "Actual Rows": 105, "Actual Loops": 1}]}, {"Node Type": "Index Scan", "Parent Relationship": "Inner", "Parallel Aware": false, "Async Capable": false, "Scan Direction": "Forward", "Index Name": "l_pk", "Relation Name": "lineitem", "Schema": "public", "Alias": "lineitem", "Startup Cost": 0.43, "Total Cost": 36.05, "Plan Rows": 1, "Plan Width": 21, "Actual Startup Time": 0.091, "Actual Total Time": 0.103, "Actual Rows": 0, "Actual Loops": 428, "Output": ["lineitem.l_orderkey", "lineitem.l_partkey", "lineitem.l_suppkey", "lineitem.l_linenumber", "lineitem.l_quantity", "lineitem.l_extendedprice", "lineitem.l_discount", "lineitem.l_tax", "lineitem.l_returnflag", "lineitem.l_linestatus", "lineitem.l_shipdate", "lineitem.l_commitdate", "lineitem.l_receiptdate", "lineitem.l_shipinstruct", "lineitem.l_shipmode", "lineitem.l_comment"], "Index Cond": "(lineitem.l_partkey = part.p_partkey)", "Rows Removed by Index Recheck": 0, "Filter": "((lineitem.l_shipmode = ANY ('{AIR,\"AIR REG\"}'::bpchar[])) AND (lineitem.l_shipinstruct = 'DELIVER IN PERSON'::bpchar) AND (((lineitem.l_quantity >= '9'::numeric) AND (lineitem.l_quantity <= '19'::numeric)) OR ((lineitem.l_quantity >= '18'::numeric) AND (lineitem.l_quantity <= '28'::numeric)) OR ((lineitem.l_quantity >= '22'::numeric) AND (lineitem.l_quantity <= '32'::numeric))) AND (((part.p_brand = 'Brand#52'::bpchar) AND (part.p_container = ANY ('{\"SM CASE\",\"SM BOX\",\"SM PACK\",\"SM PKG\"}'::bpchar[])) AND (lineitem.l_quantity >= '9'::numeric) AND (lineitem.l_quantity <= '19'::numeric) AND (part.p_size <= 5)) OR ((part.p_brand = 'Brand#42'::bpchar) AND (part.p_container = ANY ('{\"MED BAG\",\"MED BOX\",\"MED PKG\",\"MED PACK\"}'::bpchar[])) AND (lineitem.l_quantity >= '18'::numeric) AND (lineitem.l_quantity <= '28'::numeric) AND (part.p_size <= 10)) OR ((part.p_brand = 'Brand#23'::bpchar) AND (part.p_container = ANY ('{\"LG CASE\",\"LG BOX\",\"LG PACK\",\"LG PKG\"}'::bpchar[])) AND (lineitem.l_quantity >= '22'::numeric) AND (lineitem.l_quantity <= '32'::numeric) AND (part.p_size <= 15))))", "Rows Removed by Filter": 30, "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.14, "Actual Total Time": 0.158, "Actual Rows": 0, "Actual Loops": 116}, {"Worker Number": 1, "Actual Startup Time": 0.144, "Actual Total Time": 0.161, "Actual Rows": 0, "Actual Loops": 105}]}]}]}]}]}, "Planning Time": 0.578, "Triggers": [], "Execution Time": 52.417} diff --git a/dev9/pg17/tpch/sf_1/explain_analyze/15721/2-1.ok b/dev9/pg17/tpch/sf_1/explain_analyze/15721/2-1.ok new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/dev9/pg17/tpch/sf_1/explain_analyze/15721/2-1.res b/dev9/pg17/tpch/sf_1/explain_analyze/15721/2-1.res new file mode 100644 index 0000000000000000000000000000000000000000..2dbfa9b349592889d710dcd70fff435e27ba4fd5 --- /dev/null +++ b/dev9/pg17/tpch/sf_1/explain_analyze/15721/2-1.res @@ -0,0 +1 @@ +{"Plan": {"Node Type": "Limit", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 23991.04, "Total Cost": 23991.04, "Plan Rows": 1, "Plan Width": 192, "Actual Startup Time": 240.419, "Actual Total Time": 240.503, "Actual Rows": 100, "Actual Loops": 1, "Output": ["supplier.s_acctbal", "supplier.s_name", "nation.n_name", "part.p_partkey", "part.p_mfgr", "supplier.s_address", "supplier.s_phone", "supplier.s_comment"], "Plans": [{"Node Type": "Sort", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 23991.04, "Total Cost": 23991.04, "Plan Rows": 1, "Plan Width": 192, "Actual Startup Time": 240.418, "Actual Total Time": 240.493, "Actual Rows": 100, "Actual Loops": 1, "Output": ["supplier.s_acctbal", "supplier.s_name", "nation.n_name", "part.p_partkey", "part.p_mfgr", "supplier.s_address", "supplier.s_phone", "supplier.s_comment"], "Sort Key": ["supplier.s_acctbal DESC", "nation.n_name", "supplier.s_name", "part.p_partkey"], "Sort Method": "top-N heapsort", "Sort Space Used": 69, "Sort Space Type": "Memory", "Plans": [{"Node Type": "Hash Join", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Join Type": "Inner", "Startup Cost": 12761.86, "Total Cost": 23991.03, "Plan Rows": 1, "Plan Width": 192, "Actual Startup Time": 210.863, "Actual Total Time": 240.058, "Actual Rows": 509, "Actual Loops": 1, "Output": ["supplier.s_acctbal", "supplier.s_name", "nation.n_name", "part.p_partkey", "part.p_mfgr", "supplier.s_address", "supplier.s_phone", "supplier.s_comment"], "Inner Unique": false, "Hash Cond": "((part.p_partkey = partsupp.ps_partkey) AND ((SubPlan 1) = partsupp.ps_supplycost))", "Plans": [{"Node Type": "Gather", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 1000.0, "Total Cost": 6427.2, "Plan Rows": 802, "Plan Width": 30, "Actual Startup Time": 0.235, "Actual Total Time": 0.465, "Actual Rows": 854, "Actual Loops": 1, "Output": ["part.p_partkey", "part.p_mfgr"], "Workers Planned": 2, "Workers Launched": 2, "Single Copy": false, "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": true, "Async Capable": false, "Relation Name": "part", "Schema": "public", "Alias": "part", "Startup Cost": 0.0, "Total Cost": 5347.0, "Plan Rows": 334, "Plan Width": 30, "Actual Startup Time": 0.04, "Actual Total Time": 19.094, "Actual Rows": 285, "Actual Loops": 3, "Output": ["part.p_partkey", "part.p_mfgr"], "Filter": "(((part.p_type)::text ~~ '%TIN'::text) AND (part.p_size = 44))", "Rows Removed by Filter": 66382, "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.049, "Actual Total Time": 28.492, "Actual Rows": 444, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 0.046, "Actual Total Time": 28.722, "Actual Rows": 408, "Actual Loops": 1}]}]}, {"Node Type": "Hash", "Parent Relationship": "Inner", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 9361.86, "Total Cost": 9361.86, "Plan Rows": 160000, "Plan Width": 172, "Actual Startup Time": 210.172, "Actual Total Time": 210.174, "Actual Rows": 158960, "Actual Loops": 1, "Output": ["supplier.s_acctbal", "supplier.s_name", "supplier.s_address", "supplier.s_phone", "supplier.s_comment", "partsupp.ps_partkey", "partsupp.ps_supplycost", "nation.n_name"], "Hash Buckets": 262144, "Original Hash Buckets": 262144, "Hash Batches": 1, "Original Hash Batches": 1, "Peak Memory Usage": 34502, "Plans": [{"Node Type": "Nested Loop", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Join Type": "Inner", "Startup Cost": 0.71, "Total Cost": 9361.86, "Plan Rows": 160000, "Plan Width": 172, "Actual Startup Time": 0.035, "Actual Total Time": 141.29, "Actual Rows": 158960, "Actual Loops": 1, "Output": ["supplier.s_acctbal", "supplier.s_name", "supplier.s_address", "supplier.s_phone", "supplier.s_comment", "partsupp.ps_partkey", "partsupp.ps_supplycost", "nation.n_name"], "Inner Unique": false, "Plans": [{"Node Type": "Nested Loop", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Join Type": "Inner", "Startup Cost": 0.29, "Total Cost": 110.5, "Plan Rows": 2000, "Plan Width": 166, "Actual Startup Time": 0.025, "Actual Total Time": 1.618, "Actual Rows": 1987, "Actual Loops": 1, "Output": ["supplier.s_acctbal", "supplier.s_name", "supplier.s_address", "supplier.s_phone", "supplier.s_comment", "supplier.s_suppkey", "nation.n_name"], "Inner Unique": false, "Plans": [{"Node Type": "Nested Loop", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Join Type": "Inner", "Startup Cost": 0.0, "Total Cost": 2.62, "Plan Rows": 5, "Plan Width": 30, "Actual Startup Time": 0.013, "Actual Total Time": 0.027, "Actual Rows": 5, "Actual Loops": 1, "Output": ["nation.n_name", "nation.n_nationkey"], "Inner Unique": false, "Join Filter": "(nation.n_regionkey = region.r_regionkey)", "Rows Removed by Join Filter": 20, "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Relation Name": "region", "Schema": "public", "Alias": "region", "Startup Cost": 0.0, "Total Cost": 1.06, "Plan Rows": 1, "Plan Width": 4, "Actual Startup Time": 0.006, "Actual Total Time": 0.009, "Actual Rows": 1, "Actual Loops": 1, "Output": ["region.r_regionkey", "region.r_name", "region.r_comment"], "Filter": "(region.r_name = 'EUROPE'::bpchar)", "Rows Removed by Filter": 4}, {"Node Type": "Seq Scan", "Parent Relationship": "Inner", "Parallel Aware": false, "Async Capable": false, "Relation Name": "nation", "Schema": "public", "Alias": "nation", "Startup Cost": 0.0, "Total Cost": 1.25, "Plan Rows": 25, "Plan Width": 34, "Actual Startup Time": 0.003, "Actual Total Time": 0.008, "Actual Rows": 25, "Actual Loops": 1, "Output": ["nation.n_nationkey", "nation.n_name", "nation.n_regionkey", "nation.n_comment"]}]}, {"Node Type": "Index Scan", "Parent Relationship": "Inner", "Parallel Aware": false, "Async Capable": false, "Scan Direction": "Forward", "Index Name": "s_nk", "Relation Name": "supplier", "Schema": "public", "Alias": "supplier", "Startup Cost": 0.29, "Total Cost": 17.57, "Plan Rows": 400, "Plan Width": 144, "Actual Startup Time": 0.006, "Actual Total Time": 0.205, "Actual Rows": 397, "Actual Loops": 5, "Output": ["supplier.s_suppkey", "supplier.s_name", "supplier.s_address", "supplier.s_nationkey", "supplier.s_phone", "supplier.s_acctbal", "supplier.s_comment"], "Index Cond": "(supplier.s_nationkey = nation.n_nationkey)", "Rows Removed by Index Recheck": 0}]}, {"Node Type": "Index Scan", "Parent Relationship": "Inner", "Parallel Aware": false, "Async Capable": false, "Scan Direction": "Forward", "Index Name": "ps_sk", "Relation Name": "partsupp", "Schema": "public", "Alias": "partsupp", "Startup Cost": 0.42, "Total Cost": 3.83, "Plan Rows": 80, "Plan Width": 14, "Actual Startup Time": 0.003, "Actual Total Time": 0.055, "Actual Rows": 80, "Actual Loops": 1987, "Output": ["partsupp.ps_partkey", "partsupp.ps_suppkey", "partsupp.ps_availqty", "partsupp.ps_supplycost", "partsupp.ps_comment"], "Index Cond": "(partsupp.ps_suppkey = supplier.s_suppkey)", "Rows Removed by Index Recheck": 0}]}]}, {"Node Type": "Aggregate", "Strategy": "Plain", "Partial Mode": "Simple", "Parent Relationship": "SubPlan", "Subplan Name": "SubPlan 1", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 14.44, "Total Cost": 14.45, "Plan Rows": 1, "Plan Width": 32, "Actual Startup Time": 0.02, "Actual Total Time": 0.021, "Actual Rows": 1, "Actual Loops": 1363, "Output": ["min(partsupp_1.ps_supplycost)"], "Plans": [{"Node Type": "Nested Loop", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Join Type": "Inner", "Startup Cost": 0.85, "Total Cost": 14.44, "Plan Rows": 1, "Plan Width": 6, "Actual Startup Time": 0.014, "Actual Total Time": 0.019, "Actual Rows": 1, "Actual Loops": 1363, "Output": ["partsupp_1.ps_supplycost"], "Inner Unique": false, "Join Filter": "(nation_1.n_regionkey = region_1.r_regionkey)", "Rows Removed by Join Filter": 3, "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Relation Name": "region", "Schema": "public", "Alias": "region_1", "Startup Cost": 0.0, "Total Cost": 1.06, "Plan Rows": 1, "Plan Width": 4, "Actual Startup Time": 0.001, "Actual Total Time": 0.001, "Actual Rows": 1, "Actual Loops": 1363, "Output": ["region_1.r_regionkey", "region_1.r_name", "region_1.r_comment"], "Filter": "(region_1.r_name = 'EUROPE'::bpchar)", "Rows Removed by Filter": 4}, {"Node Type": "Nested Loop", "Parent Relationship": "Inner", "Parallel Aware": false, "Async Capable": false, "Join Type": "Inner", "Startup Cost": 0.85, "Total Cost": 13.33, "Plan Rows": 4, "Plan Width": 10, "Actual Startup Time": 0.006, "Actual Total Time": 0.017, "Actual Rows": 4, "Actual Loops": 1363, "Output": ["partsupp_1.ps_supplycost", "nation_1.n_regionkey"], "Inner Unique": true, "Plans": [{"Node Type": "Nested Loop", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Join Type": "Inner", "Startup Cost": 0.71, "Total Cost": 12.71, "Plan Rows": 4, "Plan Width": 10, "Actual Startup Time": 0.005, "Actual Total Time": 0.012, "Actual Rows": 4, "Actual Loops": 1363, "Output": ["partsupp_1.ps_supplycost", "supplier_1.s_nationkey"], "Inner Unique": true, "Plans": [{"Node Type": "Index Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Scan Direction": "Forward", "Index Name": "ps_pk", "Relation Name": "partsupp", "Schema": "public", "Alias": "partsupp_1", "Startup Cost": 0.42, "Total Cost": 2.7, "Plan Rows": 4, "Plan Width": 10, "Actual Startup Time": 0.003, "Actual Total Time": 0.004, "Actual Rows": 4, "Actual Loops": 1363, "Output": ["partsupp_1.ps_partkey", "partsupp_1.ps_suppkey", "partsupp_1.ps_availqty", "partsupp_1.ps_supplycost", "partsupp_1.ps_comment"], "Index Cond": "(partsupp_1.ps_partkey = part.p_partkey)", "Rows Removed by Index Recheck": 0}, {"Node Type": "Index Scan", "Parent Relationship": "Inner", "Parallel Aware": false, "Async Capable": false, "Scan Direction": "Forward", "Index Name": "s_sk", "Relation Name": "supplier", "Schema": "public", "Alias": "supplier_1", "Startup Cost": 0.29, "Total Cost": 2.5, "Plan Rows": 1, "Plan Width": 8, "Actual Startup Time": 0.002, "Actual Total Time": 0.002, "Actual Rows": 1, "Actual Loops": 5452, "Output": ["supplier_1.s_suppkey", "supplier_1.s_name", "supplier_1.s_address", "supplier_1.s_nationkey", "supplier_1.s_phone", "supplier_1.s_acctbal", "supplier_1.s_comment"], "Index Cond": "(supplier_1.s_suppkey = partsupp_1.ps_suppkey)", "Rows Removed by Index Recheck": 0}]}, {"Node Type": "Index Scan", "Parent Relationship": "Inner", "Parallel Aware": false, "Async Capable": false, "Scan Direction": "Forward", "Index Name": "n_nk", "Relation Name": "nation", "Schema": "public", "Alias": "nation_1", "Startup Cost": 0.14, "Total Cost": 0.16, "Plan Rows": 1, "Plan Width": 8, "Actual Startup Time": 0.001, "Actual Total Time": 0.001, "Actual Rows": 1, "Actual Loops": 5452, "Output": ["nation_1.n_nationkey", "nation_1.n_name", "nation_1.n_regionkey", "nation_1.n_comment"], "Index Cond": "(nation_1.n_nationkey = supplier_1.s_nationkey)", "Rows Removed by Index Recheck": 0}]}]}]}]}]}]}, "Planning Time": 1.933, "Triggers": [], "Execution Time": 240.698} diff --git a/dev9/pg17/tpch/sf_1/explain_analyze/15721/20-1.ok b/dev9/pg17/tpch/sf_1/explain_analyze/15721/20-1.ok new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/dev9/pg17/tpch/sf_1/explain_analyze/15721/20-1.res b/dev9/pg17/tpch/sf_1/explain_analyze/15721/20-1.res new file mode 100644 index 0000000000000000000000000000000000000000..ef9edc15f967edb03b95a3640a7a4b58993c4c02 --- /dev/null +++ b/dev9/pg17/tpch/sf_1/explain_analyze/15721/20-1.res @@ -0,0 +1 @@ +{"Plan": {"Node Type": "Sort", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 37668.26, "Total Cost": 37668.58, "Plan Rows": 128, "Plan Width": 51, "Actual Startup Time": 151.795, "Actual Total Time": 151.809, "Actual Rows": 187, "Actual Loops": 1, "Output": ["supplier.s_name", "supplier.s_address"], "Sort Key": ["supplier.s_name"], "Sort Method": "quicksort", "Sort Space Used": 37, "Sort Space Type": "Memory", "Plans": [{"Node Type": "Hash Join", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Join Type": "Semi", "Startup Cost": 37439.26, "Total Cost": 37663.78, "Plan Rows": 128, "Plan Width": 51, "Actual Startup Time": 151.287, "Actual Total Time": 151.663, "Actual Rows": 187, "Actual Loops": 1, "Output": ["supplier.s_name", "supplier.s_address"], "Inner Unique": false, "Hash Cond": "(supplier.s_suppkey = partsupp.ps_suppkey)", "Plans": [{"Node Type": "Nested Loop", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Join Type": "Inner", "Startup Cost": 4.48, "Total Cost": 226.37, "Plan Rows": 400, "Plan Width": 55, "Actual Startup Time": 0.068, "Actual Total Time": 0.372, "Actual Rows": 396, "Actual Loops": 1, "Output": ["supplier.s_name", "supplier.s_address", "supplier.s_suppkey"], "Inner Unique": false, "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Relation Name": "nation", "Schema": "public", "Alias": "nation", "Startup Cost": 0.0, "Total Cost": 1.31, "Plan Rows": 1, "Plan Width": 4, "Actual Startup Time": 0.009, "Actual Total Time": 0.015, "Actual Rows": 1, "Actual Loops": 1, "Output": ["nation.n_nationkey", "nation.n_name", "nation.n_regionkey", "nation.n_comment"], "Filter": "(nation.n_name = 'GERMANY'::bpchar)", "Rows Removed by Filter": 24}, {"Node Type": "Bitmap Heap Scan", "Parent Relationship": "Inner", "Parallel Aware": false, "Async Capable": false, "Relation Name": "supplier", "Schema": "public", "Alias": "supplier", "Startup Cost": 4.48, "Total Cost": 221.06, "Plan Rows": 400, "Plan Width": 59, "Actual Startup Time": 0.057, "Actual Total Time": 0.291, "Actual Rows": 396, "Actual Loops": 1, "Output": ["supplier.s_suppkey", "supplier.s_name", "supplier.s_address", "supplier.s_nationkey", "supplier.s_phone", "supplier.s_acctbal", "supplier.s_comment"], "Recheck Cond": "(supplier.s_nationkey = nation.n_nationkey)", "Rows Removed by Index Recheck": 0, "Exact Heap Blocks": 188, "Lossy Heap Blocks": 0, "Plans": [{"Node Type": "Bitmap Index Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Index Name": "s_nk", "Startup Cost": 0.0, "Total Cost": 4.38, "Plan Rows": 400, "Plan Width": 0, "Actual Startup Time": 0.025, "Actual Total Time": 0.025, "Actual Rows": 396, "Actual Loops": 1, "Index Cond": "(supplier.s_nationkey = nation.n_nationkey)"}]}]}, {"Node Type": "Hash", "Parent Relationship": "Inner", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 37394.68, "Total Cost": 37394.68, "Plan Rows": 3207, "Plan Width": 4, "Actual Startup Time": 151.209, "Actual Total Time": 151.21, "Actual Rows": 5970, "Actual Loops": 1, "Output": ["partsupp.ps_suppkey"], "Hash Buckets": 8192, "Original Hash Buckets": 4096, "Hash Batches": 1, "Original Hash Batches": 1, "Peak Memory Usage": 274, "Plans": [{"Node Type": "Nested Loop", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Join Type": "Inner", "Startup Cost": 0.42, "Total Cost": 37394.68, "Plan Rows": 3207, "Plan Width": 4, "Actual Startup Time": 0.091, "Actual Total Time": 149.868, "Actual Rows": 5970, "Actual Loops": 1, "Output": ["partsupp.ps_suppkey"], "Inner Unique": false, "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Relation Name": "part", "Schema": "public", "Alias": "part", "Startup Cost": 0.0, "Total Cost": 6597.0, "Plan Rows": 2405, "Plan Width": 4, "Actual Startup Time": 0.027, "Actual Total Time": 31.069, "Actual Rows": 2186, "Actual Loops": 1, "Output": ["part.p_partkey", "part.p_name", "part.p_mfgr", "part.p_brand", "part.p_type", "part.p_size", "part.p_container", "part.p_retailprice", "part.p_comment"], "Filter": "((part.p_name)::text ~~ 'floral%'::text)", "Rows Removed by Filter": 197814}, {"Node Type": "Index Scan", "Parent Relationship": "Inner", "Parallel Aware": false, "Async Capable": false, "Scan Direction": "Forward", "Index Name": "ps_pk", "Relation Name": "partsupp", "Schema": "public", "Alias": "partsupp", "Startup Cost": 0.42, "Total Cost": 12.8, "Plan Rows": 1, "Plan Width": 8, "Actual Startup Time": 0.021, "Actual Total Time": 0.053, "Actual Rows": 3, "Actual Loops": 2186, "Output": ["partsupp.ps_partkey", "partsupp.ps_suppkey", "partsupp.ps_availqty", "partsupp.ps_supplycost", "partsupp.ps_comment"], "Index Cond": "(partsupp.ps_partkey = part.p_partkey)", "Rows Removed by Index Recheck": 0, "Filter": "((partsupp.ps_availqty)::numeric > (SubPlan 1))", "Rows Removed by Filter": 1, "Plans": [{"Node Type": "Aggregate", "Strategy": "Plain", "Partial Mode": "Simple", "Parent Relationship": "SubPlan", "Subplan Name": "SubPlan 1", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 2.66, "Total Cost": 2.68, "Plan Rows": 1, "Plan Width": 32, "Actual Startup Time": 0.012, "Actual Total Time": 0.012, "Actual Rows": 1, "Actual Loops": 8744, "Output": ["(0.5 * sum(lineitem.l_quantity))"], "Plans": [{"Node Type": "Index Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Scan Direction": "Forward", "Index Name": "l_sk_pk", "Relation Name": "lineitem", "Schema": "public", "Alias": "lineitem", "Startup Cost": 0.43, "Total Cost": 2.66, "Plan Rows": 1, "Plan Width": 5, "Actual Startup Time": 0.008, "Actual Total Time": 0.011, "Actual Rows": 1, "Actual Loops": 8744, "Output": ["lineitem.l_orderkey", "lineitem.l_partkey", "lineitem.l_suppkey", "lineitem.l_linenumber", "lineitem.l_quantity", "lineitem.l_extendedprice", "lineitem.l_discount", "lineitem.l_tax", "lineitem.l_returnflag", "lineitem.l_linestatus", "lineitem.l_shipdate", "lineitem.l_commitdate", "lineitem.l_receiptdate", "lineitem.l_shipinstruct", "lineitem.l_shipmode", "lineitem.l_comment"], "Index Cond": "((lineitem.l_suppkey = partsupp.ps_suppkey) AND (lineitem.l_partkey = partsupp.ps_partkey))", "Rows Removed by Index Recheck": 0, "Filter": "((lineitem.l_shipdate >= '1996-01-01'::date) AND (lineitem.l_shipdate < '1997-01-01 00:00:00'::timestamp without time zone))", "Rows Removed by Filter": 6}]}]}]}]}]}]}, "Planning Time": 0.767, "Triggers": [], "Execution Time": 151.863} diff --git a/dev9/pg17/tpch/sf_1/explain_analyze/15721/21-1.ok b/dev9/pg17/tpch/sf_1/explain_analyze/15721/21-1.ok new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/dev9/pg17/tpch/sf_1/explain_analyze/15721/21-1.res b/dev9/pg17/tpch/sf_1/explain_analyze/15721/21-1.res new file mode 100644 index 0000000000000000000000000000000000000000..8a48c95544032fe971f3cfe4f76722c9e65944e5 --- /dev/null +++ b/dev9/pg17/tpch/sf_1/explain_analyze/15721/21-1.res @@ -0,0 +1 @@ +{"Plan": {"Node Type": "Limit", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 53660.94, "Total Cost": 53660.94, "Plan Rows": 1, "Plan Width": 34, "Actual Startup Time": 547.346, "Actual Total Time": 563.351, "Actual Rows": 100, "Actual Loops": 1, "Output": ["supplier.s_name", "(count(*))"], "Plans": [{"Node Type": "Sort", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 53660.94, "Total Cost": 53660.94, "Plan Rows": 1, "Plan Width": 34, "Actual Startup Time": 547.345, "Actual Total Time": 563.341, "Actual Rows": 100, "Actual Loops": 1, "Output": ["supplier.s_name", "(count(*))"], "Sort Key": ["(count(*)) DESC", "supplier.s_name"], "Sort Method": "top-N heapsort", "Sort Space Used": 36, "Sort Space Type": "Memory", "Plans": [{"Node Type": "Aggregate", "Strategy": "Sorted", "Partial Mode": "Simple", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 53660.91, "Total Cost": 53660.93, "Plan Rows": 1, "Plan Width": 34, "Actual Startup Time": 545.974, "Actual Total Time": 562.83, "Actual Rows": 407, "Actual Loops": 1, "Output": ["supplier.s_name", "count(*)"], "Group Key": ["supplier.s_name"], "Plans": [{"Node Type": "Sort", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 53660.91, "Total Cost": 53660.91, "Plan Rows": 1, "Plan Width": 26, "Actual Startup Time": 545.963, "Actual Total Time": 562.189, "Actual Rows": 3965, "Actual Loops": 1, "Output": ["supplier.s_name"], "Sort Key": ["supplier.s_name"], "Sort Method": "quicksort", "Sort Space Used": 97, "Sort Space Type": "Memory", "Plans": [{"Node Type": "Nested Loop", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Join Type": "Semi", "Startup Cost": 13177.26, "Total Cost": 53660.9, "Plan Rows": 1, "Plan Width": 26, "Actual Startup Time": 299.847, "Actual Total Time": 547.091, "Actual Rows": 3965, "Actual Loops": 1, "Output": ["supplier.s_name"], "Inner Unique": false, "Join Filter": "(orders.o_orderkey = l2.l_orderkey)", "Rows Removed by Join Filter": 0, "Plans": [{"Node Type": "Gather", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 13176.82, "Total Cost": 53660.28, "Plan Rows": 1, "Plan Width": 38, "Actual Startup Time": 299.785, "Actual Total Time": 524.445, "Actual Rows": 6626, "Actual Loops": 1, "Output": ["supplier.s_name", "l1.l_suppkey", "l1.l_orderkey", "orders.o_orderkey"], "Workers Planned": 3, "Workers Launched": 3, "Single Copy": false, "Plans": [{"Node Type": "Nested Loop", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Join Type": "Anti", "Startup Cost": 12176.82, "Total Cost": 52660.18, "Plan Rows": 1, "Plan Width": 38, "Actual Startup Time": 338.734, "Actual Total Time": 520.679, "Actual Rows": 1656, "Actual Loops": 4, "Output": ["supplier.s_name", "l1.l_suppkey", "l1.l_orderkey", "orders.o_orderkey"], "Inner Unique": false, "Workers": [{"Worker Number": 0, "Actual Startup Time": 356.603, "Actual Total Time": 525.153, "Actual Rows": 1595, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 356.889, "Actual Total Time": 525.282, "Actual Rows": 1488, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 342.075, "Actual Total Time": 525.376, "Actual Rows": 1666, "Actual Loops": 1}], "Plans": [{"Node Type": "Hash Join", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Join Type": "Inner", "Startup Cost": 12176.39, "Total Cost": 45358.03, "Plan Rows": 12556, "Plan Width": 38, "Actual Startup Time": 338.6, "Actual Total Time": 453.095, "Actual Rows": 18520, "Actual Loops": 4, "Output": ["supplier.s_name", "l1.l_suppkey", "l1.l_orderkey", "orders.o_orderkey"], "Inner Unique": false, "Hash Cond": "(orders.o_orderkey = l1.l_orderkey)", "Workers": [{"Worker Number": 0, "Actual Startup Time": 356.525, "Actual Total Time": 461.467, "Actual Rows": 17080, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 356.586, "Actual Total Time": 461.623, "Actual Rows": 17113, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 341.976, "Actual Total Time": 457.422, "Actual Rows": 18403, "Actual Loops": 1}], "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": true, "Async Capable": false, "Relation Name": "orders", "Schema": "public", "Alias": "orders", "Startup Cost": 0.0, "Total Cost": 32173.39, "Plan Rows": 235384, "Plan Width": 4, "Actual Startup Time": 0.019, "Actual Total Time": 70.809, "Actual Rows": 182353, "Actual Loops": 4, "Output": ["orders.o_orderkey", "orders.o_custkey", "orders.o_orderstatus", "orders.o_totalprice", "orders.o_orderdate", "orders.o_orderpriority", "orders.o_clerk", "orders.o_shippriority", "orders.o_comment"], "Filter": "(orders.o_orderstatus = 'F'::bpchar)", "Rows Removed by Filter": 192647, "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.021, "Actual Total Time": 66.64, "Actual Rows": 168060, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 0.024, "Actual Total Time": 66.858, "Actual Rows": 169468, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 0.025, "Actual Total Time": 71.282, "Actual Rows": 180894, "Actual Loops": 1}]}, {"Node Type": "Hash", "Parent Relationship": "Inner", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 11176.19, "Total Cost": 11176.19, "Plan Rows": 80016, "Plan Width": 34, "Actual Startup Time": 337.921, "Actual Total Time": 337.923, "Actual Rows": 153758, "Actual Loops": 4, "Output": ["supplier.s_name", "l1.l_suppkey", "l1.l_orderkey"], "Hash Buckets": 262144, "Original Hash Buckets": 131072, "Hash Batches": 1, "Original Hash Batches": 1, "Peak Memory Usage": 12259, "Workers": [{"Worker Number": 0, "Actual Startup Time": 355.674, "Actual Total Time": 355.676, "Actual Rows": 153758, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 355.739, "Actual Total Time": 355.742, "Actual Rows": 153758, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 341.13, "Actual Total Time": 341.133, "Actual Rows": 153758, "Actual Loops": 1}], "Plans": [{"Node Type": "Nested Loop", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Join Type": "Inner", "Startup Cost": 4.92, "Total Cost": 11176.19, "Plan Rows": 80016, "Plan Width": 34, "Actual Startup Time": 0.176, "Actual Total Time": 292.446, "Actual Rows": 153758, "Actual Loops": 4, "Output": ["supplier.s_name", "l1.l_suppkey", "l1.l_orderkey"], "Inner Unique": false, "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.212, "Actual Total Time": 310.232, "Actual Rows": 153758, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 0.208, "Actual Total Time": 310.731, "Actual Rows": 153758, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 0.203, "Actual Total Time": 294.892, "Actual Rows": 153758, "Actual Loops": 1}], "Plans": [{"Node Type": "Nested Loop", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Join Type": "Inner", "Startup Cost": 4.48, "Total Cost": 226.37, "Plan Rows": 400, "Plan Width": 30, "Actual Startup Time": 0.113, "Actual Total Time": 0.651, "Actual Rows": 407, "Actual Loops": 4, "Output": ["supplier.s_name", "supplier.s_suppkey"], "Inner Unique": false, "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.134, "Actual Total Time": 0.697, "Actual Rows": 407, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 0.127, "Actual Total Time": 0.685, "Actual Rows": 407, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 0.127, "Actual Total Time": 0.688, "Actual Rows": 407, "Actual Loops": 1}], "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Relation Name": "nation", "Schema": "public", "Alias": "nation", "Startup Cost": 0.0, "Total Cost": 1.31, "Plan Rows": 1, "Plan Width": 4, "Actual Startup Time": 0.025, "Actual Total Time": 0.028, "Actual Rows": 1, "Actual Loops": 4, "Output": ["nation.n_nationkey", "nation.n_name", "nation.n_regionkey", "nation.n_comment"], "Filter": "(nation.n_name = 'CHINA'::bpchar)", "Rows Removed by Filter": 24, "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.03, "Actual Total Time": 0.033, "Actual Rows": 1, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 0.031, "Actual Total Time": 0.034, "Actual Rows": 1, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 0.031, "Actual Total Time": 0.034, "Actual Rows": 1, "Actual Loops": 1}]}, {"Node Type": "Bitmap Heap Scan", "Parent Relationship": "Inner", "Parallel Aware": false, "Async Capable": false, "Relation Name": "supplier", "Schema": "public", "Alias": "supplier", "Startup Cost": 4.48, "Total Cost": 221.06, "Plan Rows": 400, "Plan Width": 34, "Actual Startup Time": 0.087, "Actual Total Time": 0.536, "Actual Rows": 407, "Actual Loops": 4, "Output": ["supplier.s_suppkey", "supplier.s_name", "supplier.s_address", "supplier.s_nationkey", "supplier.s_phone", "supplier.s_acctbal", "supplier.s_comment"], "Recheck Cond": "(supplier.s_nationkey = nation.n_nationkey)", "Rows Removed by Index Recheck": 0, "Exact Heap Blocks": 184, "Lossy Heap Blocks": 0, "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.102, "Actual Total Time": 0.579, "Actual Rows": 407, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 0.094, "Actual Total Time": 0.567, "Actual Rows": 407, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 0.094, "Actual Total Time": 0.568, "Actual Rows": 407, "Actual Loops": 1}], "Plans": [{"Node Type": "Bitmap Index Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Index Name": "s_nk", "Startup Cost": 0.0, "Total Cost": 4.38, "Plan Rows": 400, "Plan Width": 0, "Actual Startup Time": 0.047, "Actual Total Time": 0.047, "Actual Rows": 407, "Actual Loops": 4, "Index Cond": "(supplier.s_nationkey = nation.n_nationkey)", "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.059, "Actual Total Time": 0.059, "Actual Rows": 407, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 0.052, "Actual Total Time": 0.052, "Actual Rows": 407, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 0.05, "Actual Total Time": 0.051, "Actual Rows": 407, "Actual Loops": 1}]}]}]}, {"Node Type": "Index Scan", "Parent Relationship": "Inner", "Parallel Aware": false, "Async Capable": false, "Scan Direction": "Forward", "Index Name": "l_sk", "Relation Name": "lineitem", "Schema": "public", "Alias": "l1", "Startup Cost": 0.43, "Total Cost": 25.37, "Plan Rows": 200, "Plan Width": 8, "Actual Startup Time": 0.009, "Actual Total Time": 0.671, "Actual Rows": 378, "Actual Loops": 1628, "Output": ["l1.l_orderkey", "l1.l_partkey", "l1.l_suppkey", "l1.l_linenumber", "l1.l_quantity", "l1.l_extendedprice", "l1.l_discount", "l1.l_tax", "l1.l_returnflag", "l1.l_linestatus", "l1.l_shipdate", "l1.l_commitdate", "l1.l_receiptdate", "l1.l_shipinstruct", "l1.l_shipmode", "l1.l_comment"], "Index Cond": "(l1.l_suppkey = supplier.s_suppkey)", "Rows Removed by Index Recheck": 0, "Filter": "(l1.l_receiptdate > l1.l_commitdate)", "Rows Removed by Filter": 221, "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.01, "Actual Total Time": 0.715, "Actual Rows": 378, "Actual Loops": 407}, {"Worker Number": 1, "Actual Startup Time": 0.01, "Actual Total Time": 0.716, "Actual Rows": 378, "Actual Loops": 407}, {"Worker Number": 2, "Actual Startup Time": 0.01, "Actual Total Time": 0.677, "Actual Rows": 378, "Actual Loops": 407}]}]}]}]}, {"Node Type": "Index Scan", "Parent Relationship": "Inner", "Parallel Aware": false, "Async Capable": false, "Scan Direction": "Forward", "Index Name": "l_ok", "Relation Name": "lineitem", "Schema": "public", "Alias": "l3", "Startup Cost": 0.43, "Total Cost": 0.61, "Plan Rows": 2, "Plan Width": 8, "Actual Startup Time": 0.003, "Actual Total Time": 0.003, "Actual Rows": 1, "Actual Loops": 74080, "Output": ["l3.l_orderkey", "l3.l_partkey", "l3.l_suppkey", "l3.l_linenumber", "l3.l_quantity", "l3.l_extendedprice", "l3.l_discount", "l3.l_tax", "l3.l_returnflag", "l3.l_linestatus", "l3.l_shipdate", "l3.l_commitdate", "l3.l_receiptdate", "l3.l_shipinstruct", "l3.l_shipmode", "l3.l_comment"], "Index Cond": "(l3.l_orderkey = l1.l_orderkey)", "Rows Removed by Index Recheck": 0, "Filter": "((l3.l_receiptdate > l3.l_commitdate) AND (l3.l_suppkey <> l1.l_suppkey))", "Rows Removed by Filter": 1, "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.003, "Actual Total Time": 0.003, "Actual Rows": 1, "Actual Loops": 17080}, {"Worker Number": 1, "Actual Startup Time": 0.003, "Actual Total Time": 0.003, "Actual Rows": 1, "Actual Loops": 17113}, {"Worker Number": 2, "Actual Startup Time": 0.003, "Actual Total Time": 0.003, "Actual Rows": 1, "Actual Loops": 18403}]}]}]}, {"Node Type": "Index Scan", "Parent Relationship": "Inner", "Parallel Aware": false, "Async Capable": false, "Scan Direction": "Forward", "Index Name": "l_ok", "Relation Name": "lineitem", "Schema": "public", "Alias": "l2", "Startup Cost": 0.43, "Total Cost": 0.6, "Plan Rows": 5, "Plan Width": 8, "Actual Startup Time": 0.003, "Actual Total Time": 0.003, "Actual Rows": 1, "Actual Loops": 6626, "Output": ["l2.l_orderkey", "l2.l_partkey", "l2.l_suppkey", "l2.l_linenumber", "l2.l_quantity", "l2.l_extendedprice", "l2.l_discount", "l2.l_tax", "l2.l_returnflag", "l2.l_linestatus", "l2.l_shipdate", "l2.l_commitdate", "l2.l_receiptdate", "l2.l_shipinstruct", "l2.l_shipmode", "l2.l_comment"], "Index Cond": "(l2.l_orderkey = l1.l_orderkey)", "Rows Removed by Index Recheck": 0, "Filter": "(l2.l_suppkey <> l1.l_suppkey)", "Rows Removed by Filter": 1}]}]}]}]}]}, "Planning Time": 2.428, "Triggers": [], "Execution Time": 563.471} diff --git a/dev9/pg17/tpch/sf_1/explain_analyze/15721/22-1.ok b/dev9/pg17/tpch/sf_1/explain_analyze/15721/22-1.ok new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/dev9/pg17/tpch/sf_1/explain_analyze/15721/22-1.res b/dev9/pg17/tpch/sf_1/explain_analyze/15721/22-1.res new file mode 100644 index 0000000000000000000000000000000000000000..bb56ab25c43f8dfb3534ac662462729d4408627a --- /dev/null +++ b/dev9/pg17/tpch/sf_1/explain_analyze/15721/22-1.res @@ -0,0 +1 @@ +{"Plan": {"Node Type": "Aggregate", "Strategy": "Sorted", "Partial Mode": "Finalize", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 12875.63, "Total Cost": 12965.32, "Plan Rows": 672, "Plan Width": 72, "Actual Startup Time": 89.662, "Actual Total Time": 92.703, "Actual Rows": 7, "Actual Loops": 1, "Output": ["(SUBSTRING(customer.c_phone FROM 1 FOR 2))", "count(*)", "sum(customer.c_acctbal)"], "Group Key": ["(SUBSTRING(customer.c_phone FROM 1 FOR 2))"], "Plans": [{"Node Type": "Aggregate", "Strategy": "Plain", "Partial Mode": "Finalize", "Parent Relationship": "InitPlan", "Subplan Name": "InitPlan 1", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 6239.82, "Total Cost": 6239.83, "Plan Rows": 1, "Plan Width": 32, "Actual Startup Time": 41.383, "Actual Total Time": 41.438, "Actual Rows": 1, "Actual Loops": 1, "Output": ["avg(customer_1.c_acctbal)"], "Plans": [{"Node Type": "Gather", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 6239.6, "Total Cost": 6239.81, "Plan Rows": 2, "Plan Width": 32, "Actual Startup Time": 41.319, "Actual Total Time": 41.428, "Actual Rows": 3, "Actual Loops": 1, "Output": ["(PARTIAL avg(customer_1.c_acctbal))"], "Workers Planned": 2, "Workers Launched": 2, "Single Copy": false, "Plans": [{"Node Type": "Aggregate", "Strategy": "Plain", "Partial Mode": "Partial", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 5239.6, "Total Cost": 5239.61, "Plan Rows": 1, "Plan Width": 32, "Actual Startup Time": 38.724, "Actual Total Time": 38.724, "Actual Rows": 1, "Actual Loops": 3, "Output": ["PARTIAL avg(customer_1.c_acctbal)"], "Workers": [{"Worker Number": 0, "Actual Startup Time": 37.435, "Actual Total Time": 37.436, "Actual Rows": 1, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 37.65, "Actual Total Time": 37.651, "Actual Rows": 1, "Actual Loops": 1}], "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": true, "Async Capable": false, "Relation Name": "customer", "Schema": "public", "Alias": "customer_1", "Startup Cost": 0.0, "Total Cost": 5234.62, "Plan Rows": 1988, "Plan Width": 6, "Actual Startup Time": 0.025, "Actual Total Time": 37.207, "Actual Rows": 12636, "Actual Loops": 3, "Output": ["customer_1.c_custkey", "customer_1.c_name", "customer_1.c_address", "customer_1.c_nationkey", "customer_1.c_phone", "customer_1.c_acctbal", "customer_1.c_mktsegment", "customer_1.c_comment"], "Filter": "((customer_1.c_acctbal > 0.00) AND (SUBSTRING(customer_1.c_phone FROM 1 FOR 2) = ANY ('{17,20,25,31,30,11,33}'::text[])))", "Rows Removed by Filter": 37364, "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.029, "Actual Total Time": 36.02, "Actual Rows": 11679, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 0.034, "Actual Total Time": 36.233, "Actual Rows": 11752, "Actual Loops": 1}]}]}]}]}, {"Node Type": "Gather Merge", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 6635.8, "Total Cost": 6708.13, "Plan Rows": 560, "Plan Width": 72, "Actual Startup Time": 89.537, "Actual Total Time": 92.626, "Actual Rows": 21, "Actual Loops": 1, "Output": ["(SUBSTRING(customer.c_phone FROM 1 FOR 2))", "(PARTIAL count(*))", "(PARTIAL sum(customer.c_acctbal))"], "Workers Planned": 2, "Workers Launched": 2, "Plans": [{"Node Type": "Aggregate", "Strategy": "Sorted", "Partial Mode": "Partial", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 5635.77, "Total Cost": 5643.47, "Plan Rows": 280, "Plan Width": 72, "Actual Startup Time": 44.491, "Actual Total Time": 44.997, "Actual Rows": 7, "Actual Loops": 3, "Output": ["(SUBSTRING(customer.c_phone FROM 1 FOR 2))", "PARTIAL count(*)", "PARTIAL sum(customer.c_acctbal)"], "Group Key": ["(SUBSTRING(customer.c_phone FROM 1 FOR 2))"], "Workers": [{"Worker Number": 0, "Actual Startup Time": 43.008, "Actual Total Time": 43.459, "Actual Rows": 7, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 43.314, "Actual Total Time": 43.777, "Actual Rows": 7, "Actual Loops": 1}], "Plans": [{"Node Type": "Sort", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 5635.77, "Total Cost": 5636.47, "Plan Rows": 280, "Plan Width": 38, "Actual Startup Time": 44.4, "Actual Total Time": 44.53, "Actual Rows": 2112, "Actual Loops": 3, "Output": ["(SUBSTRING(customer.c_phone FROM 1 FOR 2))", "customer.c_acctbal"], "Sort Key": ["(SUBSTRING(customer.c_phone FROM 1 FOR 2))"], "Sort Method": "quicksort", "Sort Space Used": 173, "Sort Space Type": "Memory", "Workers": [{"Worker Number": 0, "Actual Startup Time": 42.921, "Actual Total Time": 43.038, "Actual Rows": 1921, "Actual Loops": 1, "Sort Method": "quicksort", "Sort Space Used": 108, "Sort Space Type": "Memory"}, {"Worker Number": 1, "Actual Startup Time": 43.231, "Actual Total Time": 43.35, "Actual Rows": 1948, "Actual Loops": 1, "Sort Method": "quicksort", "Sort Space Used": 109, "Sort Space Type": "Memory"}], "Plans": [{"Node Type": "Nested Loop", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Join Type": "Anti", "Startup Cost": 0.43, "Total Cost": 5624.39, "Plan Rows": 280, "Plan Width": 38, "Actual Startup Time": 0.083, "Actual Total Time": 43.659, "Actual Rows": 2112, "Actual Loops": 3, "Output": ["SUBSTRING(customer.c_phone FROM 1 FOR 2)", "customer.c_acctbal"], "Inner Unique": false, "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.126, "Actual Total Time": 42.188, "Actual Rows": 1921, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 0.102, "Actual Total Time": 42.511, "Actual Rows": 1948, "Actual Loops": 1}], "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": true, "Async Capable": false, "Relation Name": "customer", "Schema": "public", "Alias": "customer", "Startup Cost": 0.0, "Total Cost": 5234.62, "Plan Rows": 729, "Plan Width": 26, "Actual Startup Time": 0.024, "Actual Total Time": 26.554, "Actual Rows": 6294, "Actual Loops": 3, "Output": ["customer.c_custkey", "customer.c_name", "customer.c_address", "customer.c_nationkey", "customer.c_phone", "customer.c_acctbal", "customer.c_mktsegment", "customer.c_comment"], "Filter": "((customer.c_acctbal > (InitPlan 1).col1) AND (SUBSTRING(customer.c_phone FROM 1 FOR 2) = ANY ('{17,20,25,31,30,11,33}'::text[])))", "Rows Removed by Filter": 43706, "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.038, "Actual Total Time": 25.646, "Actual Rows": 5683, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 0.025, "Actual Total Time": 25.778, "Actual Rows": 5793, "Actual Loops": 1}]}, {"Node Type": "Index Only Scan", "Parent Relationship": "Inner", "Parallel Aware": false, "Async Capable": false, "Scan Direction": "Forward", "Index Name": "o_ck", "Relation Name": "orders", "Schema": "public", "Alias": "orders", "Startup Cost": 0.43, "Total Cost": 1.41, "Plan Rows": 16, "Plan Width": 4, "Actual Startup Time": 0.002, "Actual Total Time": 0.002, "Actual Rows": 1, "Actual Loops": 18883, "Output": ["orders.o_custkey"], "Index Cond": "(orders.o_custkey = customer.c_custkey)", "Rows Removed by Index Recheck": 0, "Heap Fetches": 0, "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.002, "Actual Total Time": 0.002, "Actual Rows": 1, "Actual Loops": 5683}, {"Worker Number": 1, "Actual Startup Time": 0.002, "Actual Total Time": 0.002, "Actual Rows": 1, "Actual Loops": 5793}]}]}]}]}]}]}, "Planning Time": 0.412, "Triggers": [], "Execution Time": 92.759} diff --git a/dev9/pg17/tpch/sf_1/explain_analyze/15721/3-1.ok b/dev9/pg17/tpch/sf_1/explain_analyze/15721/3-1.ok new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/dev9/pg17/tpch/sf_1/explain_analyze/15721/3-1.res b/dev9/pg17/tpch/sf_1/explain_analyze/15721/3-1.res new file mode 100644 index 0000000000000000000000000000000000000000..c20ebca3b919c38d9ae58689003930abd8e0dc41 --- /dev/null +++ b/dev9/pg17/tpch/sf_1/explain_analyze/15721/3-1.res @@ -0,0 +1 @@ +{"Plan": {"Node Type": "Limit", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 132933.59, "Total Cost": 132933.61, "Plan Rows": 10, "Plan Width": 44, "Actual Startup Time": 454.665, "Actual Total Time": 540.126, "Actual Rows": 10, "Actual Loops": 1, "Output": ["lineitem.l_orderkey", "(sum((lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount))))", "orders.o_orderdate", "orders.o_shippriority"], "Plans": [{"Node Type": "Sort", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 132933.59, "Total Cost": 133717.61, "Plan Rows": 313611, "Plan Width": 44, "Actual Startup Time": 454.664, "Actual Total Time": 540.123, "Actual Rows": 10, "Actual Loops": 1, "Output": ["lineitem.l_orderkey", "(sum((lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount))))", "orders.o_orderdate", "orders.o_shippriority"], "Sort Key": ["(sum((lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount)))) DESC", "orders.o_orderdate"], "Sort Method": "top-N heapsort", "Sort Space Used": 26, "Sort Space Type": "Memory", "Plans": [{"Node Type": "Aggregate", "Strategy": "Sorted", "Partial Mode": "Finalize", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 84884.17, "Total Cost": 126156.57, "Plan Rows": 313611, "Plan Width": 44, "Actual Startup Time": 432.357, "Actual Total Time": 537.588, "Actual Rows": 11439, "Actual Loops": 1, "Output": ["lineitem.l_orderkey", "sum((lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount)))", "orders.o_orderdate", "orders.o_shippriority"], "Group Key": ["lineitem.l_orderkey", "orders.o_orderdate", "orders.o_shippriority"], "Plans": [{"Node Type": "Gather Merge", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 84884.17, "Total Cost": 118969.65, "Plan Rows": 261342, "Plan Width": 44, "Actual Startup Time": 432.349, "Actual Total Time": 529.203, "Actual Rows": 11439, "Actual Loops": 1, "Output": ["lineitem.l_orderkey", "orders.o_orderdate", "orders.o_shippriority", "(PARTIAL sum((lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount))))"], "Workers Planned": 2, "Workers Launched": 2, "Plans": [{"Node Type": "Aggregate", "Strategy": "Sorted", "Partial Mode": "Partial", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 83884.15, "Total Cost": 87804.28, "Plan Rows": 130671, "Plan Width": 44, "Actual Startup Time": 428.997, "Actual Total Time": 437.146, "Actual Rows": 3813, "Actual Loops": 3, "Output": ["lineitem.l_orderkey", "orders.o_orderdate", "orders.o_shippriority", "PARTIAL sum((lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount)))"], "Group Key": ["lineitem.l_orderkey", "orders.o_orderdate", "orders.o_shippriority"], "Workers": [{"Worker Number": 0, "Actual Startup Time": 427.444, "Actual Total Time": 434.981, "Actual Rows": 3555, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 427.696, "Actual Total Time": 435.352, "Actual Rows": 3590, "Actual Loops": 1}], "Plans": [{"Node Type": "Sort", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 83884.15, "Total Cost": 84210.82, "Plan Rows": 130671, "Plan Width": 24, "Actual Startup Time": 428.975, "Actual Total Time": 429.691, "Actual Rows": 10095, "Actual Loops": 3, "Output": ["lineitem.l_orderkey", "orders.o_orderdate", "orders.o_shippriority", "lineitem.l_extendedprice", "lineitem.l_discount"], "Sort Key": ["lineitem.l_orderkey", "orders.o_orderdate", "orders.o_shippriority"], "Sort Method": "quicksort", "Sort Space Used": 887, "Sort Space Type": "Memory", "Workers": [{"Worker Number": 0, "Actual Startup Time": 427.419, "Actual Total Time": 428.077, "Actual Rows": 9452, "Actual Loops": 1, "Sort Method": "quicksort", "Sort Space Used": 809, "Sort Space Type": "Memory"}, {"Worker Number": 1, "Actual Startup Time": 427.672, "Actual Total Time": 428.341, "Actual Rows": 9640, "Actual Loops": 1, "Sort Method": "quicksort", "Sort Space Used": 818, "Sort Space Type": "Memory"}], "Plans": [{"Node Type": "Nested Loop", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Join Type": "Inner", "Startup Cost": 0.86, "Total Cost": 72780.0, "Plan Rows": 130671, "Plan Width": 24, "Actual Startup Time": 0.852, "Actual Total Time": 425.062, "Actual Rows": 10095, "Actual Loops": 3, "Output": ["lineitem.l_orderkey", "orders.o_orderdate", "orders.o_shippriority", "lineitem.l_extendedprice", "lineitem.l_discount"], "Inner Unique": false, "Workers": [{"Worker Number": 0, "Actual Startup Time": 1.909, "Actual Total Time": 423.668, "Actual Rows": 9452, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 0.56, "Actual Total Time": 423.834, "Actual Rows": 9640, "Actual Loops": 1}], "Plans": [{"Node Type": "Nested Loop", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Join Type": "Inner", "Startup Cost": 0.43, "Total Cost": 27389.26, "Plan Rows": 60824, "Plan Width": 12, "Actual Startup Time": 0.085, "Actual Total Time": 136.448, "Actual Rows": 48593, "Actual Loops": 3, "Output": ["orders.o_orderdate", "orders.o_shippriority", "orders.o_orderkey"], "Inner Unique": false, "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.138, "Actual Total Time": 132.663, "Actual Rows": 45546, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 0.088, "Actual Total Time": 133.091, "Actual Rows": 45754, "Actual Loops": 1}], "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": true, "Async Capable": false, "Relation Name": "customer", "Schema": "public", "Alias": "customer", "Startup Cost": 0.0, "Total Cost": 4375.25, "Plan Rows": 12487, "Plan Width": 4, "Actual Startup Time": 0.018, "Actual Total Time": 14.143, "Actual Rows": 9989, "Actual Loops": 3, "Output": ["customer.c_custkey", "customer.c_name", "customer.c_address", "customer.c_nationkey", "customer.c_phone", "customer.c_acctbal", "customer.c_mktsegment", "customer.c_comment"], "Filter": "(customer.c_mktsegment = 'FURNITURE'::bpchar)", "Rows Removed by Filter": 40011, "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.025, "Actual Total Time": 13.546, "Actual Rows": 9310, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 0.022, "Actual Total Time": 13.967, "Actual Rows": 9418, "Actual Loops": 1}]}, {"Node Type": "Index Scan", "Parent Relationship": "Inner", "Parallel Aware": false, "Async Capable": false, "Scan Direction": "Forward", "Index Name": "o_ck", "Relation Name": "orders", "Schema": "public", "Alias": "orders", "Startup Cost": 0.43, "Total Cost": 1.76, "Plan Rows": 8, "Plan Width": 16, "Actual Startup Time": 0.003, "Actual Total Time": 0.011, "Actual Rows": 5, "Actual Loops": 29968, "Output": ["orders.o_orderkey", "orders.o_custkey", "orders.o_orderstatus", "orders.o_totalprice", "orders.o_orderdate", "orders.o_orderpriority", "orders.o_clerk", "orders.o_shippriority", "orders.o_comment"], "Index Cond": "(orders.o_custkey = customer.c_custkey)", "Rows Removed by Index Recheck": 0, "Filter": "(orders.o_orderdate < '1995-03-20'::date)", "Rows Removed by Filter": 5, "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.003, "Actual Total Time": 0.012, "Actual Rows": 5, "Actual Loops": 9310}, {"Worker Number": 1, "Actual Startup Time": 0.003, "Actual Total Time": 0.012, "Actual Rows": 5, "Actual Loops": 9418}]}]}, {"Node Type": "Index Scan", "Parent Relationship": "Inner", "Parallel Aware": false, "Async Capable": false, "Scan Direction": "Forward", "Index Name": "l_ok", "Relation Name": "lineitem", "Schema": "public", "Alias": "lineitem", "Startup Cost": 0.43, "Total Cost": 0.72, "Plan Rows": 3, "Plan Width": 16, "Actual Startup Time": 0.006, "Actual Total Time": 0.006, "Actual Rows": 0, "Actual Loops": 145780, "Output": ["lineitem.l_orderkey", "lineitem.l_partkey", "lineitem.l_suppkey", "lineitem.l_linenumber", "lineitem.l_quantity", "lineitem.l_extendedprice", "lineitem.l_discount", "lineitem.l_tax", "lineitem.l_returnflag", "lineitem.l_linestatus", "lineitem.l_shipdate", "lineitem.l_commitdate", "lineitem.l_receiptdate", "lineitem.l_shipinstruct", "lineitem.l_shipmode", "lineitem.l_comment"], "Index Cond": "(lineitem.l_orderkey = orders.o_orderkey)", "Rows Removed by Index Recheck": 0, "Filter": "(lineitem.l_shipdate > '1995-03-20'::date)", "Rows Removed by Filter": 4, "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.006, "Actual Total Time": 0.006, "Actual Rows": 0, "Actual Loops": 45546}, {"Worker Number": 1, "Actual Startup Time": 0.006, "Actual Total Time": 0.006, "Actual Rows": 0, "Actual Loops": 45754}]}]}]}]}]}]}]}]}, "Planning Time": 0.751, "Triggers": [], "Execution Time": 540.185} diff --git a/dev9/pg17/tpch/sf_1/explain_analyze/15721/4-1.ok b/dev9/pg17/tpch/sf_1/explain_analyze/15721/4-1.ok new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/dev9/pg17/tpch/sf_1/explain_analyze/15721/4-1.res b/dev9/pg17/tpch/sf_1/explain_analyze/15721/4-1.res new file mode 100644 index 0000000000000000000000000000000000000000..2bd23ab24781edf2dfed8acc2a2c9d7038fc819d --- /dev/null +++ b/dev9/pg17/tpch/sf_1/explain_analyze/15721/4-1.res @@ -0,0 +1 @@ +{"Plan": {"Node Type": "Aggregate", "Strategy": "Sorted", "Partial Mode": "Finalize", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 51040.58, "Total Cost": 51042.48, "Plan Rows": 5, "Plan Width": 24, "Actual Startup Time": 117.542, "Actual Total Time": 139.628, "Actual Rows": 5, "Actual Loops": 1, "Output": ["orders.o_orderpriority", "count(*)"], "Group Key": ["orders.o_orderpriority"], "Plans": [{"Node Type": "Gather Merge", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 51040.58, "Total Cost": 51042.36, "Plan Rows": 15, "Plan Width": 24, "Actual Startup Time": 117.533, "Actual Total Time": 139.616, "Actual Rows": 20, "Actual Loops": 1, "Output": ["orders.o_orderpriority", "(PARTIAL count(*))"], "Workers Planned": 3, "Workers Launched": 3, "Plans": [{"Node Type": "Sort", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 50040.54, "Total Cost": 50040.55, "Plan Rows": 5, "Plan Width": 24, "Actual Startup Time": 114.132, "Actual Total Time": 114.134, "Actual Rows": 5, "Actual Loops": 4, "Output": ["orders.o_orderpriority", "(PARTIAL count(*))"], "Sort Key": ["orders.o_orderpriority"], "Sort Method": "quicksort", "Sort Space Used": 25, "Sort Space Type": "Memory", "Workers": [{"Worker Number": 0, "Actual Startup Time": 112.971, "Actual Total Time": 112.974, "Actual Rows": 5, "Actual Loops": 1, "Sort Method": "quicksort", "Sort Space Used": 25, "Sort Space Type": "Memory"}, {"Worker Number": 1, "Actual Startup Time": 113.065, "Actual Total Time": 113.068, "Actual Rows": 5, "Actual Loops": 1, "Sort Method": "quicksort", "Sort Space Used": 25, "Sort Space Type": "Memory"}, {"Worker Number": 2, "Actual Startup Time": 113.309, "Actual Total Time": 113.311, "Actual Rows": 5, "Actual Loops": 1, "Sort Method": "quicksort", "Sort Space Used": 25, "Sort Space Type": "Memory"}], "Plans": [{"Node Type": "Aggregate", "Strategy": "Hashed", "Partial Mode": "Partial", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 50040.43, "Total Cost": 50040.48, "Plan Rows": 5, "Plan Width": 24, "Actual Startup Time": 114.097, "Actual Total Time": 114.1, "Actual Rows": 5, "Actual Loops": 4, "Output": ["orders.o_orderpriority", "PARTIAL count(*)"], "Group Key": ["orders.o_orderpriority"], "Planned Partitions": 0, "HashAgg Batches": 1, "Peak Memory Usage": 24, "Disk Usage": 0, "Workers": [{"Worker Number": 0, "Actual Startup Time": 112.928, "Actual Total Time": 112.931, "Actual Rows": 5, "Actual Loops": 1, "HashAgg Batches": 1, "Peak Memory Usage": 24, "Disk Usage": 0}, {"Worker Number": 1, "Actual Startup Time": 113.021, "Actual Total Time": 113.023, "Actual Rows": 5, "Actual Loops": 1, "HashAgg Batches": 1, "Peak Memory Usage": 24, "Disk Usage": 0}, {"Worker Number": 2, "Actual Startup Time": 113.269, "Actual Total Time": 113.271, "Actual Rows": 5, "Actual Loops": 1, "HashAgg Batches": 1, "Peak Memory Usage": 24, "Disk Usage": 0}], "Plans": [{"Node Type": "Nested Loop", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Join Type": "Semi", "Startup Cost": 638.02, "Total Cost": 49967.79, "Plan Rows": 14529, "Plan Width": 16, "Actual Startup Time": 11.407, "Actual Total Time": 109.293, "Actual Rows": 12952, "Actual Loops": 4, "Output": ["orders.o_orderpriority"], "Inner Unique": false, "Workers": [{"Worker Number": 0, "Actual Startup Time": 10.375, "Actual Total Time": 108.514, "Actual Rows": 11075, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 10.481, "Actual Total Time": 108.674, "Actual Rows": 11121, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 10.707, "Actual Total Time": 108.932, "Actual Rows": 11147, "Actual Loops": 1}], "Plans": [{"Node Type": "Bitmap Heap Scan", "Parent Relationship": "Outer", "Parallel Aware": true, "Async Capable": false, "Relation Name": "orders", "Schema": "public", "Alias": "orders", "Startup Cost": 637.59, "Total Cost": 27036.89, "Plan Rows": 18287, "Plan Width": 20, "Actual Startup Time": 11.349, "Actual Total Time": 32.862, "Actual Rows": 14142, "Actual Loops": 4, "Output": ["orders.o_orderkey", "orders.o_custkey", "orders.o_orderstatus", "orders.o_totalprice", "orders.o_orderdate", "orders.o_orderpriority", "orders.o_clerk", "orders.o_shippriority", "orders.o_comment"], "Recheck Cond": "((orders.o_orderdate >= '1996-01-01'::date) AND (orders.o_orderdate < '1996-04-01 00:00:00'::timestamp without time zone))", "Rows Removed by Index Recheck": 0, "Exact Heap Blocks": 8264, "Lossy Heap Blocks": 0, "Workers": [{"Worker Number": 0, "Actual Startup Time": 10.301, "Actual Total Time": 32.622, "Actual Rows": 12114, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 10.402, "Actual Total Time": 32.887, "Actual Rows": 12097, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 10.644, "Actual Total Time": 32.985, "Actual Rows": 12178, "Actual Loops": 1}], "Plans": [{"Node Type": "Bitmap Index Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Index Name": "o_od", "Startup Cost": 0.0, "Total Cost": 623.42, "Plan Rows": 56689, "Plan Width": 0, "Actual Startup Time": 8.026, "Actual Total Time": 8.026, "Actual Rows": 56568, "Actual Loops": 1, "Index Cond": "((orders.o_orderdate >= '1996-01-01'::date) AND (orders.o_orderdate < '1996-04-01 00:00:00'::timestamp without time zone))", "Workers": []}]}, {"Node Type": "Index Scan", "Parent Relationship": "Inner", "Parallel Aware": false, "Async Capable": false, "Scan Direction": "Forward", "Index Name": "l_ok", "Relation Name": "lineitem", "Schema": "public", "Alias": "lineitem", "Startup Cost": 0.43, "Total Cost": 1.6, "Plan Rows": 2, "Plan Width": 4, "Actual Startup Time": 0.005, "Actual Total Time": 0.005, "Actual Rows": 1, "Actual Loops": 56568, "Output": ["lineitem.l_orderkey", "lineitem.l_partkey", "lineitem.l_suppkey", "lineitem.l_linenumber", "lineitem.l_quantity", "lineitem.l_extendedprice", "lineitem.l_discount", "lineitem.l_tax", "lineitem.l_returnflag", "lineitem.l_linestatus", "lineitem.l_shipdate", "lineitem.l_commitdate", "lineitem.l_receiptdate", "lineitem.l_shipinstruct", "lineitem.l_shipmode", "lineitem.l_comment"], "Index Cond": "(lineitem.l_orderkey = orders.o_orderkey)", "Rows Removed by Index Recheck": 0, "Filter": "(lineitem.l_commitdate < lineitem.l_receiptdate)", "Rows Removed by Filter": 1, "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.006, "Actual Total Time": 0.006, "Actual Rows": 1, "Actual Loops": 12114}, {"Worker Number": 1, "Actual Startup Time": 0.006, "Actual Total Time": 0.006, "Actual Rows": 1, "Actual Loops": 12097}, {"Worker Number": 2, "Actual Startup Time": 0.006, "Actual Total Time": 0.006, "Actual Rows": 1, "Actual Loops": 12178}]}]}]}]}]}]}, "Planning Time": 0.42, "Triggers": [], "Execution Time": 139.683} diff --git a/dev9/pg17/tpch/sf_1/explain_analyze/15721/5-1.ok b/dev9/pg17/tpch/sf_1/explain_analyze/15721/5-1.ok new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/dev9/pg17/tpch/sf_1/explain_analyze/15721/5-1.res b/dev9/pg17/tpch/sf_1/explain_analyze/15721/5-1.res new file mode 100644 index 0000000000000000000000000000000000000000..694358348931226a1654d11b5572a079af60652c --- /dev/null +++ b/dev9/pg17/tpch/sf_1/explain_analyze/15721/5-1.res @@ -0,0 +1 @@ +{"Plan": {"Node Type": "Sort", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 41457.24, "Total Cost": 41457.31, "Plan Rows": 25, "Plan Width": 58, "Actual Startup Time": 267.177, "Actual Total Time": 293.001, "Actual Rows": 5, "Actual Loops": 1, "Output": ["nation.n_name", "(sum((lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount))))"], "Sort Key": ["(sum((lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount)))) DESC"], "Sort Method": "quicksort", "Sort Space Used": 25, "Sort Space Type": "Memory", "Plans": [{"Node Type": "Aggregate", "Strategy": "Sorted", "Partial Mode": "Finalize", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 41411.44, "Total Cost": 41456.66, "Plan Rows": 25, "Plan Width": 58, "Actual Startup Time": 266.139, "Actual Total Time": 292.993, "Actual Rows": 5, "Actual Loops": 1, "Output": ["nation.n_name", "sum((lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount)))"], "Group Key": ["nation.n_name"], "Plans": [{"Node Type": "Gather Merge", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 41411.44, "Total Cost": 41455.98, "Plan Rows": 50, "Plan Width": 58, "Actual Startup Time": 265.788, "Actual Total Time": 292.972, "Actual Rows": 15, "Actual Loops": 1, "Output": ["nation.n_name", "(PARTIAL sum((lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount))))"], "Workers Planned": 2, "Workers Launched": 2, "Plans": [{"Node Type": "Aggregate", "Strategy": "Sorted", "Partial Mode": "Partial", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 40411.42, "Total Cost": 40450.18, "Plan Rows": 25, "Plan Width": 58, "Actual Startup Time": 261.366, "Actual Total Time": 262.499, "Actual Rows": 5, "Actual Loops": 3, "Output": ["nation.n_name", "PARTIAL sum((lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount)))"], "Group Key": ["nation.n_name"], "Workers": [{"Worker Number": 0, "Actual Startup Time": 260.117, "Actual Total Time": 261.125, "Actual Rows": 5, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 260.082, "Actual Total Time": 261.113, "Actual Rows": 5, "Actual Loops": 1}], "Plans": [{"Node Type": "Sort", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 40411.42, "Total Cost": 40419.11, "Plan Rows": 3076, "Plan Width": 38, "Actual Startup Time": 261.077, "Actual Total Time": 261.234, "Actual Rows": 2456, "Actual Loops": 3, "Output": ["nation.n_name", "lineitem.l_extendedprice", "lineitem.l_discount"], "Sort Key": ["nation.n_name"], "Sort Method": "quicksort", "Sort Space Used": 254, "Sort Space Type": "Memory", "Workers": [{"Worker Number": 0, "Actual Startup Time": 259.824, "Actual Total Time": 259.966, "Actual Rows": 2251, "Actual Loops": 1, "Sort Method": "quicksort", "Sort Space Used": 220, "Sort Space Type": "Memory"}, {"Worker Number": 1, "Actual Startup Time": 259.82, "Actual Total Time": 259.96, "Actual Rows": 2236, "Actual Loops": 1, "Sort Method": "quicksort", "Sort Space Used": 219, "Sort Space Type": "Memory"}], "Plans": [{"Node Type": "Hash Join", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Join Type": "Inner", "Startup Cost": 476.37, "Total Cost": 40233.21, "Plan Rows": 3076, "Plan Width": 38, "Actual Startup Time": 4.409, "Actual Total Time": 259.924, "Actual Rows": 2456, "Actual Loops": 3, "Output": ["nation.n_name", "lineitem.l_extendedprice", "lineitem.l_discount"], "Inner Unique": true, "Hash Cond": "((lineitem.l_suppkey = supplier.s_suppkey) AND (customer.c_nationkey = supplier.s_nationkey))", "Workers": [{"Worker Number": 0, "Actual Startup Time": 5.124, "Actual Total Time": 258.667, "Actual Rows": 2251, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 4.794, "Actual Total Time": 258.742, "Actual Rows": 2236, "Actual Loops": 1}], "Plans": [{"Node Type": "Nested Loop", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Join Type": "Inner", "Startup Cost": 3.37, "Total Cost": 39356.47, "Plan Rows": 76903, "Plan Width": 50, "Actual Startup Time": 0.229, "Actual Total Time": 244.599, "Actual Rows": 60955, "Actual Loops": 3, "Output": ["customer.c_nationkey", "lineitem.l_extendedprice", "lineitem.l_discount", "lineitem.l_suppkey", "nation.n_name", "nation.n_nationkey"], "Inner Unique": false, "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.311, "Actual Total Time": 243.586, "Actual Rows": 55692, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 0.309, "Actual Total Time": 243.813, "Actual Rows": 56607, "Actual Loops": 1}], "Plans": [{"Node Type": "Nested Loop", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Join Type": "Inner", "Startup Cost": 2.94, "Total Cost": 17210.78, "Plan Rows": 19222, "Plan Width": 38, "Actual Startup Time": 0.182, "Actual Total Time": 131.36, "Actual Rows": 15210, "Actual Loops": 3, "Output": ["customer.c_nationkey", "orders.o_orderkey", "nation.n_name", "nation.n_nationkey"], "Inner Unique": false, "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.243, "Actual Total Time": 125.891, "Actual Rows": 13878, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 0.245, "Actual Total Time": 125.27, "Actual Rows": 14100, "Actual Loops": 1}], "Plans": [{"Node Type": "Hash Join", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Join Type": "Inner", "Startup Cost": 2.51, "Total Cost": 4580.88, "Plan Rows": 12500, "Plan Width": 38, "Actual Startup Time": 0.134, "Actual Total Time": 18.422, "Actual Rows": 9984, "Actual Loops": 3, "Output": ["customer.c_custkey", "customer.c_nationkey", "nation.n_name", "nation.n_nationkey"], "Inner Unique": false, "Hash Cond": "(customer.c_nationkey = nation.n_nationkey)", "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.185, "Actual Total Time": 17.647, "Actual Rows": 9274, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 0.178, "Actual Total Time": 17.326, "Actual Rows": 9100, "Actual Loops": 1}], "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": true, "Async Capable": false, "Relation Name": "customer", "Schema": "public", "Alias": "customer", "Startup Cost": 0.0, "Total Cost": 4219.0, "Plan Rows": 62500, "Plan Width": 8, "Actual Startup Time": 0.014, "Actual Total Time": 5.66, "Actual Rows": 50000, "Actual Loops": 3, "Output": ["customer.c_custkey", "customer.c_name", "customer.c_address", "customer.c_nationkey", "customer.c_phone", "customer.c_acctbal", "customer.c_mktsegment", "customer.c_comment"], "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.019, "Actual Total Time": 5.572, "Actual Rows": 46543, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 0.018, "Actual Total Time": 5.584, "Actual Rows": 45539, "Actual Loops": 1}]}, {"Node Type": "Hash", "Parent Relationship": "Inner", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 2.45, "Total Cost": 2.45, "Plan Rows": 5, "Plan Width": 30, "Actual Startup Time": 0.072, "Actual Total Time": 0.074, "Actual Rows": 5, "Actual Loops": 3, "Output": ["nation.n_name", "nation.n_nationkey"], "Hash Buckets": 1024, "Original Hash Buckets": 1024, "Hash Batches": 1, "Original Hash Batches": 1, "Peak Memory Usage": 9, "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.095, "Actual Total Time": 0.098, "Actual Rows": 5, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 0.092, "Actual Total Time": 0.095, "Actual Rows": 5, "Actual Loops": 1}], "Plans": [{"Node Type": "Hash Join", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Join Type": "Inner", "Startup Cost": 1.07, "Total Cost": 2.45, "Plan Rows": 5, "Plan Width": 30, "Actual Startup Time": 0.063, "Actual Total Time": 0.071, "Actual Rows": 5, "Actual Loops": 3, "Output": ["nation.n_name", "nation.n_nationkey"], "Inner Unique": true, "Hash Cond": "(nation.n_regionkey = region.r_regionkey)", "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.086, "Actual Total Time": 0.094, "Actual Rows": 5, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 0.082, "Actual Total Time": 0.091, "Actual Rows": 5, "Actual Loops": 1}], "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Relation Name": "nation", "Schema": "public", "Alias": "nation", "Startup Cost": 0.0, "Total Cost": 1.25, "Plan Rows": 25, "Plan Width": 34, "Actual Startup Time": 0.02, "Actual Total Time": 0.022, "Actual Rows": 25, "Actual Loops": 3, "Output": ["nation.n_nationkey", "nation.n_name", "nation.n_regionkey", "nation.n_comment"], "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.028, "Actual Total Time": 0.03, "Actual Rows": 25, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 0.027, "Actual Total Time": 0.03, "Actual Rows": 25, "Actual Loops": 1}]}, {"Node Type": "Hash", "Parent Relationship": "Inner", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 1.06, "Total Cost": 1.06, "Plan Rows": 1, "Plan Width": 4, "Actual Startup Time": 0.027, "Actual Total Time": 0.028, "Actual Rows": 1, "Actual Loops": 3, "Output": ["region.r_regionkey"], "Hash Buckets": 1024, "Original Hash Buckets": 1024, "Hash Batches": 1, "Original Hash Batches": 1, "Peak Memory Usage": 9, "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.037, "Actual Total Time": 0.038, "Actual Rows": 1, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 0.035, "Actual Total Time": 0.036, "Actual Rows": 1, "Actual Loops": 1}], "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Relation Name": "region", "Schema": "public", "Alias": "region", "Startup Cost": 0.0, "Total Cost": 1.06, "Plan Rows": 1, "Plan Width": 4, "Actual Startup Time": 0.023, "Actual Total Time": 0.024, "Actual Rows": 1, "Actual Loops": 3, "Output": ["region.r_regionkey"], "Filter": "(region.r_name = 'AMERICA'::bpchar)", "Rows Removed by Filter": 4, "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.032, "Actual Total Time": 0.033, "Actual Rows": 1, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 0.03, "Actual Total Time": 0.032, "Actual Rows": 1, "Actual Loops": 1}]}]}]}]}]}, {"Node Type": "Index Scan", "Parent Relationship": "Inner", "Parallel Aware": false, "Async Capable": false, "Scan Direction": "Forward", "Index Name": "o_ck", "Relation Name": "orders", "Schema": "public", "Alias": "orders", "Startup Cost": 0.43, "Total Cost": 0.99, "Plan Rows": 2, "Plan Width": 8, "Actual Startup Time": 0.005, "Actual Total Time": 0.011, "Actual Rows": 2, "Actual Loops": 29952, "Output": ["orders.o_orderkey", "orders.o_custkey", "orders.o_orderstatus", "orders.o_totalprice", "orders.o_orderdate", "orders.o_orderpriority", "orders.o_clerk", "orders.o_shippriority", "orders.o_comment"], "Index Cond": "(orders.o_custkey = customer.c_custkey)", "Rows Removed by Index Recheck": 0, "Filter": "((orders.o_orderdate >= '1995-01-01'::date) AND (orders.o_orderdate < '1996-01-01 00:00:00'::timestamp without time zone))", "Rows Removed by Filter": 8, "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.006, "Actual Total Time": 0.011, "Actual Rows": 1, "Actual Loops": 9274}, {"Worker Number": 1, "Actual Startup Time": 0.006, "Actual Total Time": 0.011, "Actual Rows": 2, "Actual Loops": 9100}]}]}, {"Node Type": "Index Scan", "Parent Relationship": "Inner", "Parallel Aware": false, "Async Capable": false, "Scan Direction": "Forward", "Index Name": "l_ok", "Relation Name": "lineitem", "Schema": "public", "Alias": "lineitem", "Startup Cost": 0.43, "Total Cost": 1.1, "Plan Rows": 5, "Plan Width": 20, "Actual Startup Time": 0.005, "Actual Total Time": 0.006, "Actual Rows": 4, "Actual Loops": 45630, "Output": ["lineitem.l_orderkey", "lineitem.l_partkey", "lineitem.l_suppkey", "lineitem.l_linenumber", "lineitem.l_quantity", "lineitem.l_extendedprice", "lineitem.l_discount", "lineitem.l_tax", "lineitem.l_returnflag", "lineitem.l_linestatus", "lineitem.l_shipdate", "lineitem.l_commitdate", "lineitem.l_receiptdate", "lineitem.l_shipinstruct", "lineitem.l_shipmode", "lineitem.l_comment"], "Index Cond": "(lineitem.l_orderkey = orders.o_orderkey)", "Rows Removed by Index Recheck": 0, "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.006, "Actual Total Time": 0.007, "Actual Rows": 4, "Actual Loops": 13878}, {"Worker Number": 1, "Actual Startup Time": 0.006, "Actual Total Time": 0.007, "Actual Rows": 4, "Actual Loops": 14100}]}]}, {"Node Type": "Hash", "Parent Relationship": "Inner", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 323.0, "Total Cost": 323.0, "Plan Rows": 10000, "Plan Width": 8, "Actual Startup Time": 3.921, "Actual Total Time": 3.922, "Actual Rows": 10000, "Actual Loops": 3, "Output": ["supplier.s_suppkey", "supplier.s_nationkey"], "Hash Buckets": 16384, "Original Hash Buckets": 16384, "Hash Batches": 1, "Original Hash Batches": 1, "Peak Memory Usage": 519, "Workers": [{"Worker Number": 0, "Actual Startup Time": 4.233, "Actual Total Time": 4.234, "Actual Rows": 10000, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 4.315, "Actual Total Time": 4.316, "Actual Rows": 10000, "Actual Loops": 1}], "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Relation Name": "supplier", "Schema": "public", "Alias": "supplier", "Startup Cost": 0.0, "Total Cost": 323.0, "Plan Rows": 10000, "Plan Width": 8, "Actual Startup Time": 0.026, "Actual Total Time": 2.213, "Actual Rows": 10000, "Actual Loops": 3, "Output": ["supplier.s_suppkey", "supplier.s_nationkey"], "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.038, "Actual Total Time": 2.44, "Actual Rows": 10000, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 0.035, "Actual Total Time": 2.523, "Actual Rows": 10000, "Actual Loops": 1}]}]}]}]}]}]}]}]}, "Planning Time": 2.459, "Triggers": [], "Execution Time": 293.078} diff --git a/dev9/pg17/tpch/sf_1/explain_analyze/15721/6-1.ok b/dev9/pg17/tpch/sf_1/explain_analyze/15721/6-1.ok new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/dev9/pg17/tpch/sf_1/explain_analyze/15721/6-1.res b/dev9/pg17/tpch/sf_1/explain_analyze/15721/6-1.res new file mode 100644 index 0000000000000000000000000000000000000000..74f5475bff11306c3b82fdc61e9f44137fcc0d45 --- /dev/null +++ b/dev9/pg17/tpch/sf_1/explain_analyze/15721/6-1.res @@ -0,0 +1 @@ +{"Plan": {"Node Type": "Aggregate", "Strategy": "Plain", "Partial Mode": "Finalize", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 127836.63, "Total Cost": 127836.64, "Plan Rows": 1, "Plan Width": 32, "Actual Startup Time": 262.767, "Actual Total Time": 288.553, "Actual Rows": 1, "Actual Loops": 1, "Output": ["sum((l_extendedprice * l_discount))"], "Plans": [{"Node Type": "Gather", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 127836.09, "Total Cost": 127836.6, "Plan Rows": 5, "Plan Width": 32, "Actual Startup Time": 261.373, "Actual Total Time": 288.541, "Actual Rows": 6, "Actual Loops": 1, "Output": ["(PARTIAL sum((l_extendedprice * l_discount)))"], "Workers Planned": 5, "Workers Launched": 5, "Single Copy": false, "Plans": [{"Node Type": "Aggregate", "Strategy": "Plain", "Partial Mode": "Partial", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 126836.09, "Total Cost": 126836.1, "Plan Rows": 1, "Plan Width": 32, "Actual Startup Time": 257.581, "Actual Total Time": 257.583, "Actual Rows": 1, "Actual Loops": 6, "Output": ["PARTIAL sum((l_extendedprice * l_discount))"], "Workers": [{"Worker Number": 0, "Actual Startup Time": 256.114, "Actual Total Time": 256.115, "Actual Rows": 1, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 256.907, "Actual Total Time": 256.908, "Actual Rows": 1, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 257.04, "Actual Total Time": 257.041, "Actual Rows": 1, "Actual Loops": 1}, {"Worker Number": 3, "Actual Startup Time": 257.087, "Actual Total Time": 257.089, "Actual Rows": 1, "Actual Loops": 1}, {"Worker Number": 4, "Actual Startup Time": 257.314, "Actual Total Time": 257.316, "Actual Rows": 1, "Actual Loops": 1}], "Plans": [{"Node Type": "Bitmap Heap Scan", "Parent Relationship": "Outer", "Parallel Aware": true, "Async Capable": false, "Relation Name": "lineitem", "Schema": "public", "Alias": "lineitem", "Startup Cost": 10050.23, "Total Cost": 126721.2, "Plan Rows": 22978, "Plan Width": 12, "Actual Startup Time": 108.614, "Actual Total Time": 251.651, "Actual Rows": 19184, "Actual Loops": 6, "Output": ["l_orderkey", "l_partkey", "l_suppkey", "l_linenumber", "l_quantity", "l_extendedprice", "l_discount", "l_tax", "l_returnflag", "l_linestatus", "l_shipdate", "l_commitdate", "l_receiptdate", "l_shipinstruct", "l_shipmode", "l_comment"], "Recheck Cond": "((lineitem.l_shipdate >= '1995-01-01'::date) AND (lineitem.l_shipdate < '1996-01-01 00:00:00'::timestamp without time zone))", "Rows Removed by Index Recheck": 0, "Filter": "((lineitem.l_discount >= 0.04) AND (lineitem.l_discount <= 0.06) AND (lineitem.l_quantity < '24'::numeric))", "Rows Removed by Filter": 133310, "Exact Heap Blocks": 25539, "Lossy Heap Blocks": 0, "Workers": [{"Worker Number": 0, "Actual Startup Time": 107.163, "Actual Total Time": 250.616, "Actual Rows": 17344, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 107.968, "Actual Total Time": 251.301, "Actual Rows": 17658, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 108.142, "Actual Total Time": 251.505, "Actual Rows": 17459, "Actual Loops": 1}, {"Worker Number": 3, "Actual Startup Time": 108.187, "Actual Total Time": 251.664, "Actual Rows": 17166, "Actual Loops": 1}, {"Worker Number": 4, "Actual Startup Time": 108.485, "Actual Total Time": 251.809, "Actual Rows": 17393, "Actual Loops": 1}], "Plans": [{"Node Type": "Bitmap Index Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Index Name": "l_sd", "Startup Cost": 0.0, "Total Cost": 10021.51, "Plan Rows": 914658, "Plan Width": 0, "Actual Startup Time": 80.05, "Actual Total Time": 80.051, "Actual Rows": 914963, "Actual Loops": 1, "Index Cond": "((lineitem.l_shipdate >= '1995-01-01'::date) AND (lineitem.l_shipdate < '1996-01-01 00:00:00'::timestamp without time zone))", "Workers": []}]}]}]}]}, "Planning Time": 0.149, "Triggers": [], "Execution Time": 288.585} diff --git a/dev9/pg17/tpch/sf_1/explain_analyze/15721/7-1.ok b/dev9/pg17/tpch/sf_1/explain_analyze/15721/7-1.ok new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/dev9/pg17/tpch/sf_1/explain_analyze/15721/7-1.res b/dev9/pg17/tpch/sf_1/explain_analyze/15721/7-1.res new file mode 100644 index 0000000000000000000000000000000000000000..136dc45d661205a9363ee1e580ac751fb49b82c5 --- /dev/null +++ b/dev9/pg17/tpch/sf_1/explain_analyze/15721/7-1.res @@ -0,0 +1 @@ +{"Plan": {"Node Type": "Aggregate", "Strategy": "Sorted", "Partial Mode": "Finalize", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 36246.44, "Total Cost": 37067.69, "Plan Rows": 6077, "Plan Width": 116, "Actual Startup Time": 650.21, "Actual Total Time": 686.207, "Actual Rows": 4, "Actual Loops": 1, "Output": ["n1.n_name", "n2.n_name", "(EXTRACT(year FROM lineitem.l_shipdate))", "sum((lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount)))"], "Group Key": ["n1.n_name", "n2.n_name", "(EXTRACT(year FROM lineitem.l_shipdate))"], "Plans": [{"Node Type": "Gather Merge", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 36246.44, "Total Cost": 36913.24, "Plan Rows": 5064, "Plan Width": 116, "Actual Startup Time": 649.461, "Actual Total Time": 686.188, "Actual Rows": 12, "Actual Loops": 1, "Output": ["n1.n_name", "n2.n_name", "(EXTRACT(year FROM lineitem.l_shipdate))", "(PARTIAL sum((lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount))))"], "Workers Planned": 2, "Workers Launched": 2, "Plans": [{"Node Type": "Aggregate", "Strategy": "Sorted", "Partial Mode": "Partial", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 35246.41, "Total Cost": 35328.7, "Plan Rows": 2532, "Plan Width": 116, "Actual Startup Time": 644.926, "Actual Total Time": 646.007, "Actual Rows": 4, "Actual Loops": 3, "Output": ["n1.n_name", "n2.n_name", "(EXTRACT(year FROM lineitem.l_shipdate))", "PARTIAL sum((lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount)))"], "Group Key": ["n1.n_name", "n2.n_name", "(EXTRACT(year FROM lineitem.l_shipdate))"], "Workers": [{"Worker Number": 0, "Actual Startup Time": 642.763, "Actual Total Time": 643.222, "Actual Rows": 4, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 643.014, "Actual Total Time": 643.457, "Actual Rows": 4, "Actual Loops": 1}], "Plans": [{"Node Type": "Sort", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 35246.41, "Total Cost": 35252.74, "Plan Rows": 2532, "Plan Width": 96, "Actual Startup Time": 644.554, "Actual Total Time": 644.675, "Actual Rows": 1875, "Actual Loops": 3, "Output": ["n1.n_name", "n2.n_name", "(EXTRACT(year FROM lineitem.l_shipdate))", "lineitem.l_extendedprice", "lineitem.l_discount"], "Sort Key": ["n1.n_name", "n2.n_name", "(EXTRACT(year FROM lineitem.l_shipdate))"], "Sort Method": "quicksort", "Sort Space Used": 444, "Sort Space Type": "Memory", "Workers": [{"Worker Number": 0, "Actual Startup Time": 642.603, "Actual Total Time": 642.655, "Actual Rows": 786, "Actual Loops": 1, "Sort Method": "quicksort", "Sort Space Used": 92, "Sort Space Type": "Memory"}, {"Worker Number": 1, "Actual Startup Time": 642.831, "Actual Total Time": 642.884, "Actual Rows": 791, "Actual Loops": 1, "Sort Method": "quicksort", "Sort Space Used": 92, "Sort Space Type": "Memory"}], "Plans": [{"Node Type": "Hash Join", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Join Type": "Inner", "Startup Cost": 25049.68, "Total Cost": 35103.28, "Plan Rows": 2532, "Plan Width": 96, "Actual Startup Time": 563.544, "Actual Total Time": 643.18, "Actual Rows": 1875, "Actual Loops": 3, "Output": ["n1.n_name", "n2.n_name", "EXTRACT(year FROM lineitem.l_shipdate)", "lineitem.l_extendedprice", "lineitem.l_discount"], "Inner Unique": false, "Hash Cond": "(orders.o_orderkey = lineitem.l_orderkey)", "Join Filter": "(((n1.n_name = 'IRAN'::bpchar) AND (n2.n_name = 'ETHIOPIA'::bpchar)) OR ((n1.n_name = 'ETHIOPIA'::bpchar) AND (n2.n_name = 'IRAN'::bpchar)))", "Rows Removed by Join Filter": 1861, "Workers": [{"Worker Number": 0, "Actual Startup Time": 600.264, "Actual Total Time": 641.957, "Actual Rows": 786, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 600.535, "Actual Total Time": 642.159, "Actual Rows": 791, "Actual Loops": 1}], "Plans": [{"Node Type": "Nested Loop", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Join Type": "Inner", "Startup Cost": 1.83, "Total Cost": 9764.23, "Plan Rows": 50000, "Plan Width": 30, "Actual Startup Time": 0.133, "Actual Total Time": 68.012, "Actual Rows": 39794, "Actual Loops": 3, "Output": ["orders.o_orderkey", "n2.n_name"], "Inner Unique": false, "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.187, "Actual Total Time": 36.906, "Actual Rows": 16916, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 0.169, "Actual Total Time": 36.848, "Actual Rows": 16748, "Actual Loops": 1}], "Plans": [{"Node Type": "Hash Join", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Join Type": "Inner", "Startup Cost": 1.4, "Total Cost": 4412.27, "Plan Rows": 5000, "Plan Width": 30, "Actual Startup Time": 0.09, "Actual Total Time": 15.138, "Actual Rows": 3987, "Actual Loops": 3, "Output": ["customer.c_custkey", "n2.n_name"], "Inner Unique": true, "Hash Cond": "(customer.c_nationkey = n2.n_nationkey)", "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.121, "Actual Total Time": 6.842, "Actual Rows": 1668, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 0.12, "Actual Total Time": 7.049, "Actual Rows": 1678, "Actual Loops": 1}], "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": true, "Async Capable": false, "Relation Name": "customer", "Schema": "public", "Alias": "customer", "Startup Cost": 0.0, "Total Cost": 4219.0, "Plan Rows": 62500, "Plan Width": 8, "Actual Startup Time": 0.013, "Actual Total Time": 5.021, "Actual Rows": 50000, "Actual Loops": 3, "Output": ["customer.c_custkey", "customer.c_name", "customer.c_address", "customer.c_nationkey", "customer.c_phone", "customer.c_acctbal", "customer.c_mktsegment", "customer.c_comment"], "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.018, "Actual Total Time": 2.484, "Actual Rows": 20616, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 0.016, "Actual Total Time": 2.527, "Actual Rows": 21182, "Actual Loops": 1}]}, {"Node Type": "Hash", "Parent Relationship": "Inner", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 1.38, "Total Cost": 1.38, "Plan Rows": 2, "Plan Width": 30, "Actual Startup Time": 0.036, "Actual Total Time": 0.037, "Actual Rows": 2, "Actual Loops": 3, "Output": ["n2.n_name", "n2.n_nationkey"], "Hash Buckets": 1024, "Original Hash Buckets": 1024, "Hash Batches": 1, "Original Hash Batches": 1, "Peak Memory Usage": 9, "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.046, "Actual Total Time": 0.047, "Actual Rows": 2, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 0.045, "Actual Total Time": 0.046, "Actual Rows": 2, "Actual Loops": 1}], "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Relation Name": "nation", "Schema": "public", "Alias": "n2", "Startup Cost": 0.0, "Total Cost": 1.38, "Plan Rows": 2, "Plan Width": 30, "Actual Startup Time": 0.025, "Actual Total Time": 0.03, "Actual Rows": 2, "Actual Loops": 3, "Output": ["n2.n_name", "n2.n_nationkey"], "Filter": "((n2.n_name = 'ETHIOPIA'::bpchar) OR (n2.n_name = 'IRAN'::bpchar))", "Rows Removed by Filter": 23, "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.033, "Actual Total Time": 0.038, "Actual Rows": 2, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 0.032, "Actual Total Time": 0.037, "Actual Rows": 2, "Actual Loops": 1}]}]}]}, {"Node Type": "Index Scan", "Parent Relationship": "Inner", "Parallel Aware": false, "Async Capable": false, "Scan Direction": "Forward", "Index Name": "o_ck", "Relation Name": "orders", "Schema": "public", "Alias": "orders", "Startup Cost": 0.43, "Total Cost": 0.91, "Plan Rows": 16, "Plan Width": 8, "Actual Startup Time": 0.003, "Actual Total Time": 0.012, "Actual Rows": 10, "Actual Loops": 11961, "Output": ["orders.o_orderkey", "orders.o_custkey", "orders.o_orderstatus", "orders.o_totalprice", "orders.o_orderdate", "orders.o_orderpriority", "orders.o_clerk", "orders.o_shippriority", "orders.o_comment"], "Index Cond": "(orders.o_custkey = customer.c_custkey)", "Rows Removed by Index Recheck": 0, "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.003, "Actual Total Time": 0.016, "Actual Rows": 10, "Actual Loops": 1668}, {"Worker Number": 1, "Actual Startup Time": 0.003, "Actual Total Time": 0.016, "Actual Rows": 10, "Actual Loops": 1678}]}]}, {"Node Type": "Hash", "Parent Relationship": "Inner", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 23222.51, "Total Cost": 23222.51, "Plan Rows": 146028, "Plan Width": 46, "Actual Startup Time": 561.942, "Actual Total Time": 561.944, "Actual Rows": 140959, "Actual Loops": 3, "Output": ["lineitem.l_shipdate", "lineitem.l_extendedprice", "lineitem.l_discount", "lineitem.l_orderkey", "n1.n_name"], "Hash Buckets": 262144, "Original Hash Buckets": 262144, "Hash Batches": 1, "Original Hash Batches": 1, "Peak Memory Usage": 13200, "Workers": [{"Worker Number": 0, "Actual Startup Time": 598.489, "Actual Total Time": 598.491, "Actual Rows": 140959, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 598.759, "Actual Total Time": 598.761, "Actual Rows": 140959, "Actual Loops": 1}], "Plans": [{"Node Type": "Nested Loop", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Join Type": "Inner", "Startup Cost": 4.92, "Total Cost": 23222.51, "Plan Rows": 146028, "Plan Width": 46, "Actual Startup Time": 0.154, "Actual Total Time": 514.486, "Actual Rows": 140959, "Actual Loops": 3, "Output": ["lineitem.l_shipdate", "lineitem.l_extendedprice", "lineitem.l_discount", "lineitem.l_orderkey", "n1.n_name"], "Inner Unique": false, "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.19, "Actual Total Time": 550.495, "Actual Rows": 140959, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 0.184, "Actual Total Time": 551.162, "Actual Rows": 140959, "Actual Loops": 1}], "Plans": [{"Node Type": "Nested Loop", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Join Type": "Inner", "Startup Cost": 4.48, "Total Cost": 258.87, "Plan Rows": 800, "Plan Width": 30, "Actual Startup Time": 0.1, "Actual Total Time": 1.165, "Actual Rows": 773, "Actual Loops": 3, "Output": ["supplier.s_suppkey", "n1.n_name"], "Inner Unique": false, "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.116, "Actual Total Time": 1.248, "Actual Rows": 773, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 0.112, "Actual Total Time": 1.237, "Actual Rows": 773, "Actual Loops": 1}], "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Relation Name": "nation", "Schema": "public", "Alias": "n1", "Startup Cost": 0.0, "Total Cost": 1.38, "Plan Rows": 2, "Plan Width": 30, "Actual Startup Time": 0.011, "Actual Total Time": 0.021, "Actual Rows": 2, "Actual Loops": 3, "Output": ["n1.n_nationkey", "n1.n_name", "n1.n_regionkey", "n1.n_comment"], "Filter": "((n1.n_name = 'IRAN'::bpchar) OR (n1.n_name = 'ETHIOPIA'::bpchar))", "Rows Removed by Filter": 23, "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.014, "Actual Total Time": 0.023, "Actual Rows": 2, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 0.014, "Actual Total Time": 0.023, "Actual Rows": 2, "Actual Loops": 1}]}, {"Node Type": "Bitmap Heap Scan", "Parent Relationship": "Inner", "Parallel Aware": false, "Async Capable": false, "Relation Name": "supplier", "Schema": "public", "Alias": "supplier", "Startup Cost": 4.48, "Total Cost": 124.75, "Plan Rows": 400, "Plan Width": 8, "Actual Startup Time": 0.07, "Actual Total Time": 0.49, "Actual Rows": 386, "Actual Loops": 6, "Output": ["supplier.s_suppkey", "supplier.s_name", "supplier.s_address", "supplier.s_nationkey", "supplier.s_phone", "supplier.s_acctbal", "supplier.s_comment"], "Recheck Cond": "(supplier.s_nationkey = n1.n_nationkey)", "Rows Removed by Index Recheck": 0, "Exact Heap Blocks": 369, "Lossy Heap Blocks": 0, "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.077, "Actual Total Time": 0.529, "Actual Rows": 386, "Actual Loops": 2}, {"Worker Number": 1, "Actual Startup Time": 0.075, "Actual Total Time": 0.524, "Actual Rows": 386, "Actual Loops": 2}], "Plans": [{"Node Type": "Bitmap Index Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Index Name": "s_nk", "Startup Cost": 0.0, "Total Cost": 4.38, "Plan Rows": 400, "Plan Width": 0, "Actual Startup Time": 0.035, "Actual Total Time": 0.035, "Actual Rows": 386, "Actual Loops": 6, "Index Cond": "(supplier.s_nationkey = n1.n_nationkey)", "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.039, "Actual Total Time": 0.039, "Actual Rows": 386, "Actual Loops": 2}, {"Worker Number": 1, "Actual Startup Time": 0.038, "Actual Total Time": 0.038, "Actual Rows": 386, "Actual Loops": 2}]}]}]}, {"Node Type": "Index Scan", "Parent Relationship": "Inner", "Parallel Aware": false, "Async Capable": false, "Scan Direction": "Forward", "Index Name": "l_sk", "Relation Name": "lineitem", "Schema": "public", "Alias": "lineitem", "Startup Cost": 0.43, "Total Cost": 26.87, "Plan Rows": 183, "Plan Width": 24, "Actual Startup Time": 0.01, "Actual Total Time": 0.641, "Actual Rows": 182, "Actual Loops": 2319, "Output": ["lineitem.l_orderkey", "lineitem.l_partkey", "lineitem.l_suppkey", "lineitem.l_linenumber", "lineitem.l_quantity", "lineitem.l_extendedprice", "lineitem.l_discount", "lineitem.l_tax", "lineitem.l_returnflag", "lineitem.l_linestatus", "lineitem.l_shipdate", "lineitem.l_commitdate", "lineitem.l_receiptdate", "lineitem.l_shipinstruct", "lineitem.l_shipmode", "lineitem.l_comment"], "Index Cond": "(lineitem.l_suppkey = supplier.s_suppkey)", "Rows Removed by Index Recheck": 0, "Filter": "((lineitem.l_shipdate >= '1995-01-01'::date) AND (lineitem.l_shipdate <= '1996-12-31'::date))", "Rows Removed by Filter": 417, "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.011, "Actual Total Time": 0.687, "Actual Rows": 182, "Actual Loops": 773}, {"Worker Number": 1, "Actual Startup Time": 0.011, "Actual Total Time": 0.688, "Actual Rows": 182, "Actual Loops": 773}]}]}]}]}]}]}]}]}, "Planning Time": 1.625, "Triggers": [], "Execution Time": 686.35} diff --git a/dev9/pg17/tpch/sf_1/explain_analyze/15721/8-1.ok b/dev9/pg17/tpch/sf_1/explain_analyze/15721/8-1.ok new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/dev9/pg17/tpch/sf_1/explain_analyze/15721/8-1.res b/dev9/pg17/tpch/sf_1/explain_analyze/15721/8-1.res new file mode 100644 index 0000000000000000000000000000000000000000..f3114ff5f2022d408c0d1fa08e6cdc42e87bb50f --- /dev/null +++ b/dev9/pg17/tpch/sf_1/explain_analyze/15721/8-1.res @@ -0,0 +1 @@ +{"Plan": {"Node Type": "Aggregate", "Strategy": "Sorted", "Partial Mode": "Finalize", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 33996.22, "Total Cost": 34353.21, "Plan Rows": 2406, "Plan Width": 64, "Actual Startup Time": 147.14, "Actual Total Time": 170.83, "Actual Rows": 2, "Actual Loops": 1, "Output": ["(EXTRACT(year FROM orders.o_orderdate))", "(sum(CASE WHEN (n2.n_name = 'ETHIOPIA'::bpchar) THEN (lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount)) ELSE '0'::numeric END) / sum((lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount))))"], "Group Key": ["(EXTRACT(year FROM orders.o_orderdate))"], "Plans": [{"Node Type": "Gather Merge", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 33996.22, "Total Cost": 34278.99, "Plan Rows": 2088, "Plan Width": 96, "Actual Startup Time": 146.715, "Actual Total Time": 170.814, "Actual Rows": 6, "Actual Loops": 1, "Output": ["(EXTRACT(year FROM orders.o_orderdate))", "(PARTIAL sum(CASE WHEN (n2.n_name = 'ETHIOPIA'::bpchar) THEN (lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount)) ELSE '0'::numeric END))", "(PARTIAL sum((lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount))))"], "Workers Planned": 2, "Workers Launched": 2, "Plans": [{"Node Type": "Aggregate", "Strategy": "Sorted", "Partial Mode": "Partial", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 32996.2, "Total Cost": 33037.96, "Plan Rows": 1044, "Plan Width": 96, "Actual Startup Time": 143.108, "Actual Total Time": 143.402, "Actual Rows": 2, "Actual Loops": 3, "Output": ["(EXTRACT(year FROM orders.o_orderdate))", "PARTIAL sum(CASE WHEN (n2.n_name = 'ETHIOPIA'::bpchar) THEN (lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount)) ELSE '0'::numeric END)", "PARTIAL sum((lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount)))"], "Group Key": ["(EXTRACT(year FROM orders.o_orderdate))"], "Workers": [{"Worker Number": 0, "Actual Startup Time": 141.375, "Actual Total Time": 141.597, "Actual Rows": 2, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 141.756, "Actual Total Time": 142.0, "Actual Rows": 2, "Actual Loops": 1}], "Plans": [{"Node Type": "Sort", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 32996.2, "Total Cost": 32998.81, "Plan Rows": 1044, "Plan Width": 70, "Actual Startup Time": 142.811, "Actual Total Time": 142.869, "Actual Rows": 809, "Actual Loops": 3, "Output": ["(EXTRACT(year FROM orders.o_orderdate))", "n2.n_name", "lineitem.l_extendedprice", "lineitem.l_discount"], "Sort Key": ["(EXTRACT(year FROM orders.o_orderdate))"], "Sort Method": "quicksort", "Sort Space Used": 118, "Sort Space Type": "Memory", "Workers": [{"Worker Number": 0, "Actual Startup Time": 141.137, "Actual Total Time": 141.18, "Actual Rows": 628, "Actual Loops": 1, "Sort Method": "quicksort", "Sort Space Used": 64, "Sort Space Type": "Memory"}, {"Worker Number": 1, "Actual Startup Time": 141.506, "Actual Total Time": 141.552, "Actual Rows": 680, "Actual Loops": 1, "Sort Method": "quicksort", "Sort Space Used": 67, "Sort Space Type": "Memory"}], "Plans": [{"Node Type": "Hash Join", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Join Type": "Inner", "Startup Cost": 2020.81, "Total Cost": 32943.85, "Plan Rows": 1044, "Plan Width": 70, "Actual Startup Time": 25.923, "Actual Total Time": 142.428, "Actual Rows": 809, "Actual Loops": 3, "Output": ["EXTRACT(year FROM orders.o_orderdate)", "n2.n_name", "lineitem.l_extendedprice", "lineitem.l_discount"], "Inner Unique": true, "Hash Cond": "(supplier.s_nationkey = n2.n_nationkey)", "Workers": [{"Worker Number": 0, "Actual Startup Time": 26.654, "Actual Total Time": 140.802, "Actual Rows": 628, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 27.459, "Actual Total Time": 141.153, "Actual Rows": 680, "Actual Loops": 1}], "Plans": [{"Node Type": "Nested Loop", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Join Type": "Inner", "Startup Cost": 2019.24, "Total Cost": 32936.47, "Plan Rows": 1044, "Plan Width": 20, "Actual Startup Time": 25.836, "Actual Total Time": 141.925, "Actual Rows": 809, "Actual Loops": 3, "Output": ["lineitem.l_extendedprice", "lineitem.l_discount", "supplier.s_nationkey", "orders.o_orderdate"], "Inner Unique": true, "Workers": [{"Worker Number": 0, "Actual Startup Time": 26.533, "Actual Total Time": 140.359, "Actual Rows": 628, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 27.346, "Actual Total Time": 140.679, "Actual Rows": 680, "Actual Loops": 1}], "Plans": [{"Node Type": "Hash Join", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Join Type": "Inner", "Startup Cost": 2018.96, "Total Cost": 32620.61, "Plan Rows": 1044, "Plan Width": 20, "Actual Startup Time": 25.818, "Actual Total Time": 139.492, "Actual Rows": 809, "Actual Loops": 3, "Output": ["lineitem.l_extendedprice", "lineitem.l_discount", "lineitem.l_suppkey", "orders.o_orderdate"], "Inner Unique": false, "Hash Cond": "(orders.o_custkey = customer.c_custkey)", "Workers": [{"Worker Number": 0, "Actual Startup Time": 26.508, "Actual Total Time": 138.36, "Actual Rows": 628, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 27.323, "Actual Total Time": 138.589, "Actual Rows": 680, "Actual Loops": 1}], "Plans": [{"Node Type": "Nested Loop", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Join Type": "Inner", "Startup Cost": 0.86, "Total Cost": 30572.5, "Plan Rows": 5221, "Plan Width": 24, "Actual Startup Time": 0.156, "Actual Total Time": 112.837, "Actual Rows": 4114, "Actual Loops": 3, "Output": ["lineitem.l_extendedprice", "lineitem.l_discount", "lineitem.l_suppkey", "orders.o_orderdate", "orders.o_custkey"], "Inner Unique": true, "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.226, "Actual Total Time": 111.168, "Actual Rows": 3257, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 0.151, "Actual Total Time": 111.09, "Actual Rows": 3360, "Actual Loops": 1}], "Plans": [{"Node Type": "Nested Loop", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Join Type": "Inner", "Startup Cost": 0.43, "Total Cost": 22786.81, "Plan Rows": 17091, "Plan Width": 20, "Actual Startup Time": 0.095, "Actual Total Time": 48.152, "Actual Rows": 13553, "Actual Loops": 3, "Output": ["lineitem.l_extendedprice", "lineitem.l_discount", "lineitem.l_suppkey", "lineitem.l_orderkey"], "Inner Unique": false, "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.164, "Actual Total Time": 52.727, "Actual Rows": 10911, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 0.095, "Actual Total Time": 52.222, "Actual Rows": 11127, "Actual Loops": 1}], "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": true, "Async Capable": false, "Relation Name": "part", "Schema": "public", "Alias": "part", "Startup Cost": 0.0, "Total Cost": 5138.67, "Plan Rows": 570, "Plan Width": 4, "Actual Startup Time": 0.041, "Actual Total Time": 12.145, "Actual Rows": 451, "Actual Loops": 3, "Output": ["part.p_partkey", "part.p_name", "part.p_mfgr", "part.p_brand", "part.p_type", "part.p_size", "part.p_container", "part.p_retailprice", "part.p_comment"], "Filter": "((part.p_type)::text = 'SMALL BRUSHED NICKEL'::text)", "Rows Removed by Filter": 66216, "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.089, "Actual Total Time": 10.955, "Actual Rows": 369, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 0.023, "Actual Total Time": 10.278, "Actual Rows": 364, "Actual Loops": 1}]}, {"Node Type": "Index Scan", "Parent Relationship": "Inner", "Parallel Aware": false, "Async Capable": false, "Scan Direction": "Forward", "Index Name": "l_pk", "Relation Name": "lineitem", "Schema": "public", "Alias": "lineitem", "Startup Cost": 0.43, "Total Cost": 30.65, "Plan Rows": 31, "Plan Width": 24, "Actual Startup Time": 0.007, "Actual Total Time": 0.073, "Actual Rows": 30, "Actual Loops": 1352, "Output": ["lineitem.l_orderkey", "lineitem.l_partkey", "lineitem.l_suppkey", "lineitem.l_linenumber", "lineitem.l_quantity", "lineitem.l_extendedprice", "lineitem.l_discount", "lineitem.l_tax", "lineitem.l_returnflag", "lineitem.l_linestatus", "lineitem.l_shipdate", "lineitem.l_commitdate", "lineitem.l_receiptdate", "lineitem.l_shipinstruct", "lineitem.l_shipmode", "lineitem.l_comment"], "Index Cond": "(lineitem.l_partkey = part.p_partkey)", "Rows Removed by Index Recheck": 0, "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.009, "Actual Total Time": 0.106, "Actual Rows": 30, "Actual Loops": 369}, {"Worker Number": 1, "Actual Startup Time": 0.009, "Actual Total Time": 0.108, "Actual Rows": 31, "Actual Loops": 364}]}]}, {"Node Type": "Index Scan", "Parent Relationship": "Inner", "Parallel Aware": false, "Async Capable": false, "Scan Direction": "Forward", "Index Name": "o_ok", "Relation Name": "orders", "Schema": "public", "Alias": "orders", "Startup Cost": 0.43, "Total Cost": 0.46, "Plan Rows": 1, "Plan Width": 12, "Actual Startup Time": 0.004, "Actual Total Time": 0.004, "Actual Rows": 0, "Actual Loops": 40658, "Output": ["orders.o_orderkey", "orders.o_custkey", "orders.o_orderstatus", "orders.o_totalprice", "orders.o_orderdate", "orders.o_orderpriority", "orders.o_clerk", "orders.o_shippriority", "orders.o_comment"], "Index Cond": "(orders.o_orderkey = lineitem.l_orderkey)", "Rows Removed by Index Recheck": 0, "Filter": "((orders.o_orderdate >= '1995-01-01'::date) AND (orders.o_orderdate <= '1996-12-31'::date))", "Rows Removed by Filter": 1, "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.005, "Actual Total Time": 0.005, "Actual Rows": 0, "Actual Loops": 10911}, {"Worker Number": 1, "Actual Startup Time": 0.005, "Actual Total Time": 0.005, "Actual Rows": 0, "Actual Loops": 11127}]}]}, {"Node Type": "Hash", "Parent Relationship": "Inner", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 1643.1, "Total Cost": 1643.1, "Plan Rows": 30000, "Plan Width": 4, "Actual Startup Time": 25.182, "Actual Total Time": 25.184, "Actual Rows": 29764, "Actual Loops": 3, "Output": ["customer.c_custkey"], "Hash Buckets": 32768, "Original Hash Buckets": 32768, "Hash Batches": 1, "Original Hash Batches": 1, "Peak Memory Usage": 1303, "Workers": [{"Worker Number": 0, "Actual Startup Time": 26.004, "Actual Total Time": 26.005, "Actual Rows": 29764, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 26.27, "Actual Total Time": 26.272, "Actual Rows": 29764, "Actual Loops": 1}], "Plans": [{"Node Type": "Nested Loop", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Join Type": "Inner", "Startup Cost": 0.43, "Total Cost": 1643.1, "Plan Rows": 30000, "Plan Width": 4, "Actual Startup Time": 0.083, "Actual Total Time": 20.483, "Actual Rows": 29764, "Actual Loops": 3, "Output": ["customer.c_custkey"], "Inner Unique": false, "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.115, "Actual Total Time": 21.077, "Actual Rows": 29764, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 0.108, "Actual Total Time": 21.384, "Actual Rows": 29764, "Actual Loops": 1}], "Plans": [{"Node Type": "Nested Loop", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Join Type": "Inner", "Startup Cost": 0.14, "Total Cost": 5.25, "Plan Rows": 5, "Plan Width": 4, "Actual Startup Time": 0.043, "Actual Total Time": 0.065, "Actual Rows": 5, "Actual Loops": 3, "Output": ["n1.n_nationkey"], "Inner Unique": true, "Join Filter": "(n1.n_regionkey = region.r_regionkey)", "Rows Removed by Join Filter": 20, "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.06, "Actual Total Time": 0.082, "Actual Rows": 5, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 0.055, "Actual Total Time": 0.076, "Actual Rows": 5, "Actual Loops": 1}], "Plans": [{"Node Type": "Index Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Scan Direction": "Forward", "Index Name": "n_nk", "Relation Name": "nation", "Schema": "public", "Alias": "n1", "Startup Cost": 0.14, "Total Cost": 3.81, "Plan Rows": 25, "Plan Width": 8, "Actual Startup Time": 0.017, "Actual Total Time": 0.023, "Actual Rows": 25, "Actual Loops": 3, "Output": ["n1.n_nationkey", "n1.n_name", "n1.n_regionkey", "n1.n_comment"], "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.027, "Actual Total Time": 0.033, "Actual Rows": 25, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 0.021, "Actual Total Time": 0.026, "Actual Rows": 25, "Actual Loops": 1}]}, {"Node Type": "Materialize", "Parent Relationship": "Inner", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 0.0, "Total Cost": 1.07, "Plan Rows": 1, "Plan Width": 4, "Actual Startup Time": 0.001, "Actual Total Time": 0.001, "Actual Rows": 1, "Actual Loops": 75, "Output": ["region.r_regionkey"], "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.001, "Actual Total Time": 0.001, "Actual Rows": 1, "Actual Loops": 25}, {"Worker Number": 1, "Actual Startup Time": 0.001, "Actual Total Time": 0.002, "Actual Rows": 1, "Actual Loops": 25}], "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Relation Name": "region", "Schema": "public", "Alias": "region", "Startup Cost": 0.0, "Total Cost": 1.06, "Plan Rows": 1, "Plan Width": 4, "Actual Startup Time": 0.021, "Actual Total Time": 0.023, "Actual Rows": 1, "Actual Loops": 3, "Output": ["region.r_regionkey"], "Filter": "(region.r_name = 'AFRICA'::bpchar)", "Rows Removed by Filter": 4, "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.028, "Actual Total Time": 0.03, "Actual Rows": 1, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 0.029, "Actual Total Time": 0.031, "Actual Rows": 1, "Actual Loops": 1}]}]}]}, {"Node Type": "Index Scan", "Parent Relationship": "Inner", "Parallel Aware": false, "Async Capable": false, "Scan Direction": "Forward", "Index Name": "c_nk", "Relation Name": "customer", "Schema": "public", "Alias": "customer", "Startup Cost": 0.29, "Total Cost": 267.57, "Plan Rows": 6000, "Plan Width": 8, "Actual Startup Time": 0.013, "Actual Total Time": 3.313, "Actual Rows": 5953, "Actual Loops": 15, "Output": ["customer.c_custkey", "customer.c_name", "customer.c_address", "customer.c_nationkey", "customer.c_phone", "customer.c_acctbal", "customer.c_mktsegment", "customer.c_comment"], "Index Cond": "(customer.c_nationkey = n1.n_nationkey)", "Rows Removed by Index Recheck": 0, "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.016, "Actual Total Time": 3.467, "Actual Rows": 5953, "Actual Loops": 5}, {"Worker Number": 1, "Actual Startup Time": 0.016, "Actual Total Time": 3.52, "Actual Rows": 5953, "Actual Loops": 5}]}]}]}]}, {"Node Type": "Index Scan", "Parent Relationship": "Inner", "Parallel Aware": false, "Async Capable": false, "Scan Direction": "Forward", "Index Name": "s_sk", "Relation Name": "supplier", "Schema": "public", "Alias": "supplier", "Startup Cost": 0.29, "Total Cost": 0.3, "Plan Rows": 1, "Plan Width": 8, "Actual Startup Time": 0.002, "Actual Total Time": 0.002, "Actual Rows": 1, "Actual Loops": 2426, "Output": ["supplier.s_suppkey", "supplier.s_name", "supplier.s_address", "supplier.s_nationkey", "supplier.s_phone", "supplier.s_acctbal", "supplier.s_comment"], "Index Cond": "(supplier.s_suppkey = lineitem.l_suppkey)", "Rows Removed by Index Recheck": 0, "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.003, "Actual Total Time": 0.003, "Actual Rows": 1, "Actual Loops": 628}, {"Worker Number": 1, "Actual Startup Time": 0.002, "Actual Total Time": 0.002, "Actual Rows": 1, "Actual Loops": 680}]}]}, {"Node Type": "Hash", "Parent Relationship": "Inner", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 1.25, "Total Cost": 1.25, "Plan Rows": 25, "Plan Width": 30, "Actual Startup Time": 0.033, "Actual Total Time": 0.034, "Actual Rows": 25, "Actual Loops": 3, "Output": ["n2.n_name", "n2.n_nationkey"], "Hash Buckets": 1024, "Original Hash Buckets": 1024, "Hash Batches": 1, "Original Hash Batches": 1, "Peak Memory Usage": 10, "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.041, "Actual Total Time": 0.041, "Actual Rows": 25, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 0.04, "Actual Total Time": 0.04, "Actual Rows": 25, "Actual Loops": 1}], "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Relation Name": "nation", "Schema": "public", "Alias": "n2", "Startup Cost": 0.0, "Total Cost": 1.25, "Plan Rows": 25, "Plan Width": 30, "Actual Startup Time": 0.022, "Actual Total Time": 0.026, "Actual Rows": 25, "Actual Loops": 3, "Output": ["n2.n_name", "n2.n_nationkey"], "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.029, "Actual Total Time": 0.033, "Actual Rows": 25, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 0.028, "Actual Total Time": 0.032, "Actual Rows": 25, "Actual Loops": 1}]}]}]}]}]}]}]}, "Planning Time": 2.571, "Triggers": [], "Execution Time": 170.919} diff --git a/dev9/pg17/tpch/sf_1/explain_analyze/15721/9-1.ok b/dev9/pg17/tpch/sf_1/explain_analyze/15721/9-1.ok new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/dev9/pg17/tpch/sf_1/explain_analyze/15721/9-1.res b/dev9/pg17/tpch/sf_1/explain_analyze/15721/9-1.res new file mode 100644 index 0000000000000000000000000000000000000000..92a99ee8436a1572112ecfbc9e558afded447720 --- /dev/null +++ b/dev9/pg17/tpch/sf_1/explain_analyze/15721/9-1.res @@ -0,0 +1 @@ +{"Plan": {"Node Type": "Sort", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 84326.19, "Total Cost": 84476.56, "Plan Rows": 60150, "Plan Width": 90, "Actual Startup Time": 537.98, "Actual Total Time": 576.67, "Actual Rows": 175, "Actual Loops": 1, "Output": ["nation.n_name", "(EXTRACT(year FROM orders.o_orderdate))", "(sum(((lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount)) - (partsupp.ps_supplycost * lineitem.l_quantity))))"], "Sort Key": ["nation.n_name", "(EXTRACT(year FROM orders.o_orderdate)) DESC"], "Sort Method": "quicksort", "Sort Space Used": 34, "Sort Space Type": "Memory", "Plans": [{"Node Type": "Aggregate", "Strategy": "Hashed", "Partial Mode": "Finalize", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 78649.15, "Total Cost": 79551.4, "Plan Rows": 60150, "Plan Width": 90, "Actual Startup Time": 537.314, "Actual Total Time": 576.407, "Actual Rows": 175, "Actual Loops": 1, "Output": ["nation.n_name", "(EXTRACT(year FROM orders.o_orderdate))", "sum(((lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount)) - (partsupp.ps_supplycost * lineitem.l_quantity)))"], "Group Key": ["nation.n_name", "(EXTRACT(year FROM orders.o_orderdate))"], "Planned Partitions": 0, "HashAgg Batches": 1, "Peak Memory Usage": 3217, "Disk Usage": 0, "Plans": [{"Node Type": "Gather", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 57897.4, "Total Cost": 76844.65, "Plan Rows": 180450, "Plan Width": 90, "Actual Startup Time": 532.111, "Actual Total Time": 575.374, "Actual Rows": 700, "Actual Loops": 1, "Output": ["nation.n_name", "(EXTRACT(year FROM orders.o_orderdate))", "(PARTIAL sum(((lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount)) - (partsupp.ps_supplycost * lineitem.l_quantity))))"], "Workers Planned": 3, "Workers Launched": 3, "Single Copy": false, "Plans": [{"Node Type": "Aggregate", "Strategy": "Hashed", "Partial Mode": "Partial", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 56897.4, "Total Cost": 57799.65, "Plan Rows": 60150, "Plan Width": 90, "Actual Startup Time": 526.937, "Actual Total Time": 527.39, "Actual Rows": 175, "Actual Loops": 4, "Output": ["nation.n_name", "(EXTRACT(year FROM orders.o_orderdate))", "PARTIAL sum(((lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount)) - (partsupp.ps_supplycost * lineitem.l_quantity)))"], "Group Key": ["nation.n_name", "EXTRACT(year FROM orders.o_orderdate)"], "Planned Partitions": 0, "HashAgg Batches": 1, "Peak Memory Usage": 3217, "Disk Usage": 0, "Workers": [{"Worker Number": 0, "Actual Startup Time": 525.179, "Actual Total Time": 525.635, "Actual Rows": 175, "Actual Loops": 1, "HashAgg Batches": 1, "Peak Memory Usage": 3217, "Disk Usage": 0}, {"Worker Number": 1, "Actual Startup Time": 525.499, "Actual Total Time": 525.949, "Actual Rows": 175, "Actual Loops": 1, "HashAgg Batches": 1, "Peak Memory Usage": 3217, "Disk Usage": 0}, {"Worker Number": 2, "Actual Startup Time": 525.435, "Actual Total Time": 525.889, "Actual Rows": 175, "Actual Loops": 1, "HashAgg Batches": 1, "Peak Memory Usage": 3217, "Disk Usage": 0}], "Plans": [{"Node Type": "Hash Join", "Parent Relationship": "Outer", "Parallel Aware": true, "Async Capable": false, "Join Type": "Inner", "Startup Cost": 22056.47, "Total Cost": 55403.72, "Plan Rows": 85353, "Plan Width": 81, "Actual Startup Time": 256.156, "Actual Total Time": 436.071, "Actual Rows": 80496, "Actual Loops": 4, "Output": ["nation.n_name", "EXTRACT(year FROM orders.o_orderdate)", "lineitem.l_extendedprice", "lineitem.l_discount", "partsupp.ps_supplycost", "lineitem.l_quantity"], "Inner Unique": false, "Hash Cond": "(orders.o_orderkey = lineitem.l_orderkey)", "Workers": [{"Worker Number": 0, "Actual Startup Time": 254.463, "Actual Total Time": 435.339, "Actual Rows": 81221, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 254.52, "Actual Total Time": 434.184, "Actual Rows": 79117, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 254.723, "Actual Total Time": 434.724, "Actual Rows": 80236, "Actual Loops": 1}], "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": true, "Async Capable": false, "Relation Name": "orders", "Schema": "public", "Alias": "orders", "Startup Cost": 0.0, "Total Cost": 30963.71, "Plan Rows": 483871, "Plan Width": 8, "Actual Startup Time": 0.011, "Actual Total Time": 33.883, "Actual Rows": 375000, "Actual Loops": 4, "Output": ["orders.o_orderkey", "orders.o_custkey", "orders.o_orderstatus", "orders.o_totalprice", "orders.o_orderdate", "orders.o_orderpriority", "orders.o_clerk", "orders.o_shippriority", "orders.o_comment"], "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.014, "Actual Total Time": 34.507, "Actual Rows": 378617, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 0.014, "Actual Total Time": 33.788, "Actual Rows": 368912, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 0.013, "Actual Total Time": 34.069, "Actual Rows": 373469, "Actual Loops": 1}]}, {"Node Type": "Hash", "Parent Relationship": "Inner", "Parallel Aware": true, "Async Capable": false, "Startup Cost": 20678.37, "Total Cost": 20678.37, "Plan Rows": 110248, "Plan Width": 53, "Actual Startup Time": 255.119, "Actual Total Time": 255.124, "Actual Rows": 80496, "Actual Loops": 4, "Output": ["lineitem.l_extendedprice", "lineitem.l_discount", "lineitem.l_quantity", "lineitem.l_orderkey", "partsupp.ps_supplycost", "nation.n_name"], "Hash Buckets": 524288, "Original Hash Buckets": 524288, "Hash Batches": 1, "Original Hash Batches": 1, "Peak Memory Usage": 34336, "Workers": [{"Worker Number": 0, "Actual Startup Time": 254.359, "Actual Total Time": 254.364, "Actual Rows": 74619, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 254.407, "Actual Total Time": 254.412, "Actual Rows": 74050, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 254.616, "Actual Total Time": 254.621, "Actual Rows": 74533, "Actual Loops": 1}], "Plans": [{"Node Type": "Nested Loop", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Join Type": "Inner", "Startup Cost": 450.42, "Total Cost": 20678.37, "Plan Rows": 110248, "Plan Width": 53, "Actual Startup Time": 4.128, "Actual Total Time": 209.801, "Actual Rows": 80496, "Actual Loops": 4, "Output": ["lineitem.l_extendedprice", "lineitem.l_discount", "lineitem.l_quantity", "lineitem.l_orderkey", "partsupp.ps_supplycost", "nation.n_name"], "Inner Unique": false, "Join Filter": "(supplier.s_suppkey = lineitem.l_suppkey)", "Rows Removed by Join Filter": 0, "Workers": [{"Worker Number": 0, "Actual Startup Time": 4.469, "Actual Total Time": 211.081, "Actual Rows": 74619, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 4.521, "Actual Total Time": 212.593, "Actual Rows": 74050, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 4.395, "Actual Total Time": 210.726, "Actual Rows": 74533, "Actual Loops": 1}], "Plans": [{"Node Type": "Hash Join", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Join Type": "Inner", "Startup Cost": 449.99, "Total Cost": 11419.48, "Plan Rows": 14697, "Plan Width": 48, "Actual Startup Time": 4.079, "Actual Total Time": 42.944, "Actual Rows": 10737, "Actual Loops": 4, "Output": ["part.p_partkey", "partsupp.ps_supplycost", "partsupp.ps_suppkey", "partsupp.ps_partkey", "supplier.s_suppkey", "nation.n_name"], "Inner Unique": true, "Hash Cond": "(supplier.s_nationkey = nation.n_nationkey)", "Workers": [{"Worker Number": 0, "Actual Startup Time": 4.407, "Actual Total Time": 42.153, "Actual Rows": 9984, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 4.455, "Actual Total Time": 42.461, "Actual Rows": 9868, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 4.337, "Actual Total Time": 41.222, "Actual Rows": 9884, "Actual Loops": 1}], "Plans": [{"Node Type": "Hash Join", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Join Type": "Inner", "Startup Cost": 448.43, "Total Cost": 11372.8, "Plan Rows": 14697, "Plan Width": 26, "Actual Startup Time": 4.027, "Actual Total Time": 39.977, "Actual Rows": 10737, "Actual Loops": 4, "Output": ["part.p_partkey", "partsupp.ps_supplycost", "partsupp.ps_suppkey", "partsupp.ps_partkey", "supplier.s_suppkey", "supplier.s_nationkey"], "Inner Unique": true, "Hash Cond": "(partsupp.ps_suppkey = supplier.s_suppkey)", "Workers": [{"Worker Number": 0, "Actual Startup Time": 4.347, "Actual Total Time": 39.354, "Actual Rows": 9984, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 4.395, "Actual Total Time": 39.683, "Actual Rows": 9868, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 4.275, "Actual Total Time": 38.449, "Actual Rows": 9884, "Actual Loops": 1}], "Plans": [{"Node Type": "Nested Loop", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Join Type": "Inner", "Startup Cost": 0.42, "Total Cost": 10886.21, "Plan Rows": 14697, "Plan Width": 18, "Actual Startup Time": 0.064, "Actual Total Time": 30.733, "Actual Rows": 10737, "Actual Loops": 4, "Output": ["part.p_partkey", "partsupp.ps_supplycost", "partsupp.ps_suppkey", "partsupp.ps_partkey"], "Inner Unique": false, "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.075, "Actual Total Time": 30.126, "Actual Rows": 9984, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 0.084, "Actual Total Time": 30.428, "Actual Rows": 9868, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 0.077, "Actual Total Time": 29.292, "Actual Rows": 9884, "Actual Loops": 1}], "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": true, "Async Capable": false, "Relation Name": "part", "Schema": "public", "Alias": "part", "Startup Cost": 0.0, "Total Cost": 5138.67, "Plan Rows": 3674, "Plan Width": 4, "Actual Startup Time": 0.017, "Actual Total Time": 14.295, "Actual Rows": 2684, "Actual Loops": 4, "Output": ["part.p_partkey", "part.p_name", "part.p_mfgr", "part.p_brand", "part.p_type", "part.p_size", "part.p_container", "part.p_retailprice", "part.p_comment"], "Filter": "((part.p_name)::text ~~ '%forest%'::text)", "Rows Removed by Filter": 47316, "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.019, "Actual Total Time": 13.735, "Actual Rows": 2496, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 0.022, "Actual Total Time": 13.827, "Actual Rows": 2467, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 0.022, "Actual Total Time": 13.238, "Actual Rows": 2471, "Actual Loops": 1}]}, {"Node Type": "Index Scan", "Parent Relationship": "Inner", "Parallel Aware": false, "Async Capable": false, "Scan Direction": "Forward", "Index Name": "ps_pk", "Relation Name": "partsupp", "Schema": "public", "Alias": "partsupp", "Startup Cost": 0.42, "Total Cost": 1.52, "Plan Rows": 4, "Plan Width": 14, "Actual Startup Time": 0.004, "Actual Total Time": 0.005, "Actual Rows": 4, "Actual Loops": 10737, "Output": ["partsupp.ps_partkey", "partsupp.ps_suppkey", "partsupp.ps_availqty", "partsupp.ps_supplycost", "partsupp.ps_comment"], "Index Cond": "(partsupp.ps_partkey = part.p_partkey)", "Rows Removed by Index Recheck": 0, "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.004, "Actual Total Time": 0.005, "Actual Rows": 4, "Actual Loops": 2496}, {"Worker Number": 1, "Actual Startup Time": 0.004, "Actual Total Time": 0.006, "Actual Rows": 4, "Actual Loops": 2467}, {"Worker Number": 2, "Actual Startup Time": 0.004, "Actual Total Time": 0.005, "Actual Rows": 4, "Actual Loops": 2471}]}]}, {"Node Type": "Hash", "Parent Relationship": "Inner", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 323.0, "Total Cost": 323.0, "Plan Rows": 10000, "Plan Width": 8, "Actual Startup Time": 3.883, "Actual Total Time": 3.884, "Actual Rows": 10000, "Actual Loops": 4, "Output": ["supplier.s_suppkey", "supplier.s_nationkey"], "Hash Buckets": 16384, "Original Hash Buckets": 16384, "Hash Batches": 1, "Original Hash Batches": 1, "Peak Memory Usage": 519, "Workers": [{"Worker Number": 0, "Actual Startup Time": 4.175, "Actual Total Time": 4.176, "Actual Rows": 10000, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 4.213, "Actual Total Time": 4.213, "Actual Rows": 10000, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 4.1, "Actual Total Time": 4.101, "Actual Rows": 10000, "Actual Loops": 1}], "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Relation Name": "supplier", "Schema": "public", "Alias": "supplier", "Startup Cost": 0.0, "Total Cost": 323.0, "Plan Rows": 10000, "Plan Width": 8, "Actual Startup Time": 0.02, "Actual Total Time": 2.314, "Actual Rows": 10000, "Actual Loops": 4, "Output": ["supplier.s_suppkey", "supplier.s_nationkey"], "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.025, "Actual Total Time": 2.547, "Actual Rows": 10000, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 0.025, "Actual Total Time": 2.575, "Actual Rows": 10000, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 0.024, "Actual Total Time": 2.479, "Actual Rows": 10000, "Actual Loops": 1}]}]}]}, {"Node Type": "Hash", "Parent Relationship": "Inner", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 1.25, "Total Cost": 1.25, "Plan Rows": 25, "Plan Width": 30, "Actual Startup Time": 0.037, "Actual Total Time": 0.038, "Actual Rows": 25, "Actual Loops": 4, "Output": ["nation.n_name", "nation.n_nationkey"], "Hash Buckets": 1024, "Original Hash Buckets": 1024, "Hash Batches": 1, "Original Hash Batches": 1, "Peak Memory Usage": 10, "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.043, "Actual Total Time": 0.043, "Actual Rows": 25, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 0.045, "Actual Total Time": 0.045, "Actual Rows": 25, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 0.043, "Actual Total Time": 0.044, "Actual Rows": 25, "Actual Loops": 1}], "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Relation Name": "nation", "Schema": "public", "Alias": "nation", "Startup Cost": 0.0, "Total Cost": 1.25, "Plan Rows": 25, "Plan Width": 30, "Actual Startup Time": 0.025, "Actual Total Time": 0.029, "Actual Rows": 25, "Actual Loops": 4, "Output": ["nation.n_name", "nation.n_nationkey"], "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.03, "Actual Total Time": 0.034, "Actual Rows": 25, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 0.031, "Actual Total Time": 0.035, "Actual Rows": 25, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 0.03, "Actual Total Time": 0.034, "Actual Rows": 25, "Actual Loops": 1}]}]}]}, {"Node Type": "Index Scan", "Parent Relationship": "Inner", "Parallel Aware": false, "Async Capable": false, "Scan Direction": "Forward", "Index Name": "l_sk_pk", "Relation Name": "lineitem", "Schema": "public", "Alias": "lineitem", "Startup Cost": 0.43, "Total Cost": 0.62, "Plan Rows": 1, "Plan Width": 29, "Actual Startup Time": 0.005, "Actual Total Time": 0.014, "Actual Rows": 7, "Actual Loops": 42948, "Output": ["lineitem.l_orderkey", "lineitem.l_partkey", "lineitem.l_suppkey", "lineitem.l_linenumber", "lineitem.l_quantity", "lineitem.l_extendedprice", "lineitem.l_discount", "lineitem.l_tax", "lineitem.l_returnflag", "lineitem.l_linestatus", "lineitem.l_shipdate", "lineitem.l_commitdate", "lineitem.l_receiptdate", "lineitem.l_shipinstruct", "lineitem.l_shipmode", "lineitem.l_comment"], "Index Cond": "((lineitem.l_suppkey = partsupp.ps_suppkey) AND (lineitem.l_partkey = partsupp.ps_partkey))", "Rows Removed by Index Recheck": 0, "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.005, "Actual Total Time": 0.015, "Actual Rows": 7, "Actual Loops": 9984}, {"Worker Number": 1, "Actual Startup Time": 0.005, "Actual Total Time": 0.015, "Actual Rows": 8, "Actual Loops": 9868}, {"Worker Number": 2, "Actual Startup Time": 0.005, "Actual Total Time": 0.015, "Actual Rows": 8, "Actual Loops": 9884}]}]}]}]}]}]}]}]}, "Planning Time": 4.175, "Triggers": [], "Execution Time": 577.658} diff --git a/dev9/pg17/tpch/sf_10/explain/15721/1-1.ok b/dev9/pg17/tpch/sf_10/explain/15721/1-1.ok new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/dev9/pg17/tpch/sf_10/explain/15721/1-1.res b/dev9/pg17/tpch/sf_10/explain/15721/1-1.res new file mode 100644 index 0000000000000000000000000000000000000000..d2d0584cb0a16721e892314cba21e1cd4a7637be --- /dev/null +++ b/dev9/pg17/tpch/sf_10/explain/15721/1-1.res @@ -0,0 +1 @@ +{"Plan": {"Node Type": "Aggregate", "Strategy": "Sorted", "Partial Mode": "Finalize", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 1526120.57, "Total Cost": 1526127.26, "Plan Rows": 6, "Plan Width": 236, "Output": ["l_returnflag", "l_linestatus", "sum(l_quantity)", "sum(l_extendedprice)", "sum((l_extendedprice * ('1'::numeric - l_discount)))", "sum(((l_extendedprice * ('1'::numeric - l_discount)) * ('1'::numeric + l_tax)))", "avg(l_quantity)", "avg(l_extendedprice)", "avg(l_discount)", "count(*)"], "Group Key": ["lineitem.l_returnflag", "lineitem.l_linestatus"], "Plans": [{"Node Type": "Gather Merge", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 1526120.57, "Total Cost": 1526125.73, "Plan Rows": 42, "Plan Width": 236, "Output": ["l_returnflag", "l_linestatus", "(PARTIAL sum(l_quantity))", "(PARTIAL sum(l_extendedprice))", "(PARTIAL sum((l_extendedprice * ('1'::numeric - l_discount))))", "(PARTIAL sum(((l_extendedprice * ('1'::numeric - l_discount)) * ('1'::numeric + l_tax))))", "(PARTIAL avg(l_quantity))", "(PARTIAL avg(l_extendedprice))", "(PARTIAL avg(l_discount))", "(PARTIAL count(*))"], "Workers Planned": 7, "Plans": [{"Node Type": "Sort", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 1525120.45, "Total Cost": 1525120.47, "Plan Rows": 6, "Plan Width": 236, "Output": ["l_returnflag", "l_linestatus", "(PARTIAL sum(l_quantity))", "(PARTIAL sum(l_extendedprice))", "(PARTIAL sum((l_extendedprice * ('1'::numeric - l_discount))))", "(PARTIAL sum(((l_extendedprice * ('1'::numeric - l_discount)) * ('1'::numeric + l_tax))))", "(PARTIAL avg(l_quantity))", "(PARTIAL avg(l_extendedprice))", "(PARTIAL avg(l_discount))", "(PARTIAL count(*))"], "Sort Key": ["lineitem.l_returnflag", "lineitem.l_linestatus"], "Plans": [{"Node Type": "Aggregate", "Strategy": "Hashed", "Partial Mode": "Partial", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 1525120.24, "Total Cost": 1525120.37, "Plan Rows": 6, "Plan Width": 236, "Output": ["l_returnflag", "l_linestatus", "PARTIAL sum(l_quantity)", "PARTIAL sum(l_extendedprice)", "PARTIAL sum((l_extendedprice * ('1'::numeric - l_discount)))", "PARTIAL sum(((l_extendedprice * ('1'::numeric - l_discount)) * ('1'::numeric + l_tax)))", "PARTIAL avg(l_quantity)", "PARTIAL avg(l_extendedprice)", "PARTIAL avg(l_discount)", "PARTIAL count(*)"], "Group Key": ["lineitem.l_returnflag", "lineitem.l_linestatus"], "Planned Partitions": 0, "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": true, "Async Capable": false, "Relation Name": "lineitem", "Schema": "public", "Alias": "lineitem", "Startup Cost": 0.0, "Total Cost": 1232207.44, "Plan Rows": 8368937, "Plan Width": 25, "Output": ["l_orderkey", "l_partkey", "l_suppkey", "l_linenumber", "l_quantity", "l_extendedprice", "l_discount", "l_tax", "l_returnflag", "l_linestatus", "l_shipdate", "l_commitdate", "l_receiptdate", "l_shipinstruct", "l_shipmode", "l_comment"], "Filter": "(lineitem.l_shipdate <= '1998-08-07 23:59:57'::timestamp without time zone)"}]}]}]}]}} diff --git a/dev9/pg17/tpch/sf_10/explain/15721/10-1.ok b/dev9/pg17/tpch/sf_10/explain/15721/10-1.ok new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/dev9/pg17/tpch/sf_10/explain/15721/10-1.res b/dev9/pg17/tpch/sf_10/explain/15721/10-1.res new file mode 100644 index 0000000000000000000000000000000000000000..ebf99cfdf3dc5bb12fd069fca457326ca263dd9b --- /dev/null +++ b/dev9/pg17/tpch/sf_10/explain/15721/10-1.res @@ -0,0 +1 @@ +{"Plan": {"Node Type": "Limit", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 739576.29, "Total Cost": 739576.34, "Plan Rows": 20, "Plan Width": 202, "Output": ["customer.c_custkey", "customer.c_name", "(sum((lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount))))", "customer.c_acctbal", "nation.n_name", "customer.c_address", "customer.c_phone", "customer.c_comment"], "Plans": [{"Node Type": "Sort", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 739576.29, "Total Cost": 740952.91, "Plan Rows": 550649, "Plan Width": 202, "Output": ["customer.c_custkey", "customer.c_name", "(sum((lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount))))", "customer.c_acctbal", "nation.n_name", "customer.c_address", "customer.c_phone", "customer.c_comment"], "Sort Key": ["(sum((lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount)))) DESC"], "Plans": [{"Node Type": "Aggregate", "Strategy": "Sorted", "Partial Mode": "Simple", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 645225.73, "Total Cost": 724923.71, "Plan Rows": 550649, "Plan Width": 202, "Output": ["customer.c_custkey", "customer.c_name", "sum((lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount)))", "customer.c_acctbal", "nation.n_name", "customer.c_address", "customer.c_phone", "customer.c_comment"], "Group Key": ["customer.c_custkey", "nation.n_name"], "Plans": [{"Node Type": "Gather Merge", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 645225.73, "Total Cost": 711157.49, "Plan Rows": 550649, "Plan Width": 182, "Output": ["customer.c_custkey", "nation.n_name", "customer.c_name", "lineitem.l_extendedprice", "lineitem.l_discount", "customer.c_acctbal", "customer.c_address", "customer.c_phone", "customer.c_comment"], "Workers Planned": 4, "Plans": [{"Node Type": "Sort", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 644225.67, "Total Cost": 644569.83, "Plan Rows": 137662, "Plan Width": 182, "Output": ["customer.c_custkey", "nation.n_name", "customer.c_name", "lineitem.l_extendedprice", "lineitem.l_discount", "customer.c_acctbal", "customer.c_address", "customer.c_phone", "customer.c_comment"], "Sort Key": ["customer.c_custkey", "nation.n_name"], "Plans": [{"Node Type": "Hash Join", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Join Type": "Inner", "Startup Cost": 582639.08, "Total Cost": 625308.89, "Plan Rows": 137662, "Plan Width": 182, "Output": ["customer.c_custkey", "nation.n_name", "customer.c_name", "lineitem.l_extendedprice", "lineitem.l_discount", "customer.c_acctbal", "customer.c_address", "customer.c_phone", "customer.c_comment"], "Inner Unique": true, "Hash Cond": "(customer.c_nationkey = nation.n_nationkey)", "Plans": [{"Node Type": "Hash Join", "Parent Relationship": "Outer", "Parallel Aware": true, "Async Capable": false, "Join Type": "Inner", "Startup Cost": 582637.52, "Total Cost": 624884.71, "Plan Rows": 137662, "Plan Width": 160, "Output": ["customer.c_custkey", "customer.c_name", "customer.c_acctbal", "customer.c_address", "customer.c_phone", "customer.c_comment", "customer.c_nationkey", "lineitem.l_extendedprice", "lineitem.l_discount"], "Inner Unique": false, "Hash Cond": "(customer.c_custkey = orders.o_custkey)", "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": true, "Async Capable": false, "Relation Name": "customer", "Schema": "public", "Alias": "customer", "Startup Cost": 0.0, "Total Cost": 39674.0, "Plan Rows": 375000, "Plan Width": 148, "Output": ["customer.c_custkey", "customer.c_name", "customer.c_address", "customer.c_nationkey", "customer.c_phone", "customer.c_acctbal", "customer.c_mktsegment", "customer.c_comment"]}, {"Node Type": "Hash", "Parent Relationship": "Inner", "Parallel Aware": true, "Async Capable": false, "Startup Cost": 581490.33, "Total Cost": 581490.33, "Plan Rows": 91775, "Plan Width": 16, "Output": ["orders.o_custkey", "lineitem.l_extendedprice", "lineitem.l_discount"], "Plans": [{"Node Type": "Nested Loop", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Join Type": "Inner", "Startup Cost": 6265.2, "Total Cost": 581490.33, "Plan Rows": 91775, "Plan Width": 16, "Output": ["orders.o_custkey", "lineitem.l_extendedprice", "lineitem.l_discount"], "Inner Unique": false, "Plans": [{"Node Type": "Bitmap Heap Scan", "Parent Relationship": "Outer", "Parallel Aware": true, "Async Capable": false, "Relation Name": "orders", "Schema": "public", "Alias": "orders", "Startup Cost": 6264.64, "Total Cost": 268874.98, "Plan Rows": 93290, "Plan Width": 8, "Output": ["orders.o_orderkey", "orders.o_custkey", "orders.o_orderstatus", "orders.o_totalprice", "orders.o_orderdate", "orders.o_orderpriority", "orders.o_clerk", "orders.o_shippriority", "orders.o_comment"], "Recheck Cond": "((orders.o_orderdate >= '1993-02-01'::date) AND (orders.o_orderdate < '1993-05-01 00:00:00'::timestamp without time zone))", "Plans": [{"Node Type": "Bitmap Index Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Index Name": "o_od", "Startup Cost": 0.0, "Total Cost": 6124.71, "Plan Rows": 559737, "Plan Width": 0, "Index Cond": "((orders.o_orderdate >= '1993-02-01'::date) AND (orders.o_orderdate < '1993-05-01 00:00:00'::timestamp without time zone))"}]}, {"Node Type": "Index Scan", "Parent Relationship": "Inner", "Parallel Aware": false, "Async Capable": false, "Scan Direction": "Forward", "Index Name": "l_ok", "Relation Name": "lineitem", "Schema": "public", "Alias": "lineitem", "Startup Cost": 0.56, "Total Cost": 3.28, "Plan Rows": 7, "Plan Width": 16, "Output": ["lineitem.l_orderkey", "lineitem.l_partkey", "lineitem.l_suppkey", "lineitem.l_linenumber", "lineitem.l_quantity", "lineitem.l_extendedprice", "lineitem.l_discount", "lineitem.l_tax", "lineitem.l_returnflag", "lineitem.l_linestatus", "lineitem.l_shipdate", "lineitem.l_commitdate", "lineitem.l_receiptdate", "lineitem.l_shipinstruct", "lineitem.l_shipmode", "lineitem.l_comment"], "Index Cond": "(lineitem.l_orderkey = orders.o_orderkey)", "Filter": "(lineitem.l_returnflag = 'R'::bpchar)"}]}]}]}, {"Node Type": "Hash", "Parent Relationship": "Inner", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 1.25, "Total Cost": 1.25, "Plan Rows": 25, "Plan Width": 30, "Output": ["nation.n_name", "nation.n_nationkey"], "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Relation Name": "nation", "Schema": "public", "Alias": "nation", "Startup Cost": 0.0, "Total Cost": 1.25, "Plan Rows": 25, "Plan Width": 30, "Output": ["nation.n_name", "nation.n_nationkey"]}]}]}]}]}]}]}]}} diff --git a/dev9/pg17/tpch/sf_10/explain/15721/11-1.ok b/dev9/pg17/tpch/sf_10/explain/15721/11-1.ok new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/dev9/pg17/tpch/sf_10/explain/15721/11-1.res b/dev9/pg17/tpch/sf_10/explain/15721/11-1.res new file mode 100644 index 0000000000000000000000000000000000000000..6ccd1088b4c7688a13224a47da2a3d78a2ce9e1f --- /dev/null +++ b/dev9/pg17/tpch/sf_10/explain/15721/11-1.res @@ -0,0 +1 @@ +{"Plan": {"Node Type": "Sort", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 66933.86, "Total Cost": 67200.54, "Plan Rows": 106670, "Plan Width": 36, "Output": ["partsupp.ps_partkey", "(sum((partsupp.ps_supplycost * (partsupp.ps_availqty)::numeric)))"], "Sort Key": ["(sum((partsupp.ps_supplycost * (partsupp.ps_availqty)::numeric))) DESC"], "Plans": [{"Node Type": "Aggregate", "Strategy": "Plain", "Partial Mode": "Finalize", "Parent Relationship": "InitPlan", "Subplan Name": "InitPlan 1", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 16299.27, "Total Cost": 16299.28, "Plan Rows": 1, "Plan Width": 32, "Output": ["(sum((partsupp_1.ps_supplycost * (partsupp_1.ps_availqty)::numeric)) * 0.0001000000)"], "Plans": [{"Node Type": "Gather", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 16299.15, "Total Cost": 16299.26, "Plan Rows": 1, "Plan Width": 32, "Output": ["(PARTIAL sum((partsupp_1.ps_supplycost * (partsupp_1.ps_availqty)::numeric)))"], "Workers Planned": 1, "Single Copy": false, "Plans": [{"Node Type": "Aggregate", "Strategy": "Plain", "Partial Mode": "Partial", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 15299.15, "Total Cost": 15299.16, "Plan Rows": 1, "Plan Width": 32, "Output": ["PARTIAL sum((partsupp_1.ps_supplycost * (partsupp_1.ps_availqty)::numeric))"], "Plans": [{"Node Type": "Nested Loop", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Join Type": "Inner", "Startup Cost": 1.76, "Total Cost": 13887.34, "Plan Rows": 188241, "Plan Width": 10, "Output": ["partsupp_1.ps_supplycost", "partsupp_1.ps_availqty"], "Inner Unique": false, "Plans": [{"Node Type": "Hash Join", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Join Type": "Inner", "Startup Cost": 1.32, "Total Cost": 2989.15, "Plan Rows": 2353, "Plan Width": 4, "Output": ["supplier_1.s_suppkey"], "Inner Unique": true, "Hash Cond": "(supplier_1.s_nationkey = nation_1.n_nationkey)", "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": true, "Async Capable": false, "Relation Name": "supplier", "Schema": "public", "Alias": "supplier_1", "Startup Cost": 0.0, "Total Cost": 2807.24, "Plan Rows": 58824, "Plan Width": 8, "Output": ["supplier_1.s_suppkey", "supplier_1.s_name", "supplier_1.s_address", "supplier_1.s_nationkey", "supplier_1.s_phone", "supplier_1.s_acctbal", "supplier_1.s_comment"]}, {"Node Type": "Hash", "Parent Relationship": "Inner", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 1.31, "Total Cost": 1.31, "Plan Rows": 1, "Plan Width": 4, "Output": ["nation_1.n_nationkey"], "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Relation Name": "nation", "Schema": "public", "Alias": "nation_1", "Startup Cost": 0.0, "Total Cost": 1.31, "Plan Rows": 1, "Plan Width": 4, "Output": ["nation_1.n_nationkey"], "Filter": "(nation_1.n_name = 'CHINA'::bpchar)"}]}]}, {"Node Type": "Index Scan", "Parent Relationship": "Inner", "Parallel Aware": false, "Async Capable": false, "Scan Direction": "Forward", "Index Name": "ps_sk", "Relation Name": "partsupp", "Schema": "public", "Alias": "partsupp_1", "Startup Cost": 0.43, "Total Cost": 3.83, "Plan Rows": 80, "Plan Width": 14, "Output": ["partsupp_1.ps_partkey", "partsupp_1.ps_suppkey", "partsupp_1.ps_availqty", "partsupp_1.ps_supplycost", "partsupp_1.ps_comment"], "Index Cond": "(partsupp_1.ps_suppkey = supplier_1.s_suppkey)"}]}]}]}]}, {"Node Type": "Aggregate", "Strategy": "Hashed", "Partial Mode": "Simple", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 33800.9, "Total Cost": 41726.15, "Plan Rows": 106670, "Plan Width": 36, "Output": ["partsupp.ps_partkey", "sum((partsupp.ps_supplycost * (partsupp.ps_availqty)::numeric))"], "Group Key": ["partsupp.ps_partkey"], "Filter": "(sum((partsupp.ps_supplycost * (partsupp.ps_availqty)::numeric)) > (InitPlan 1).col1)", "Planned Partitions": 4, "Plans": [{"Node Type": "Nested Loop", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Join Type": "Inner", "Startup Cost": 36.12, "Total Cost": 20762.99, "Plan Rows": 320010, "Plan Width": 14, "Output": ["partsupp.ps_partkey", "partsupp.ps_supplycost", "partsupp.ps_availqty"], "Inner Unique": false, "Plans": [{"Node Type": "Nested Loop", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Join Type": "Inner", "Startup Cost": 35.69, "Total Cost": 2236.53, "Plan Rows": 4000, "Plan Width": 4, "Output": ["supplier.s_suppkey"], "Inner Unique": false, "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Relation Name": "nation", "Schema": "public", "Alias": "nation", "Startup Cost": 0.0, "Total Cost": 1.31, "Plan Rows": 1, "Plan Width": 4, "Output": ["nation.n_nationkey", "nation.n_name", "nation.n_regionkey", "nation.n_comment"], "Filter": "(nation.n_name = 'CHINA'::bpchar)"}, {"Node Type": "Bitmap Heap Scan", "Parent Relationship": "Inner", "Parallel Aware": false, "Async Capable": false, "Relation Name": "supplier", "Schema": "public", "Alias": "supplier", "Startup Cost": 35.69, "Total Cost": 2195.22, "Plan Rows": 4000, "Plan Width": 8, "Output": ["supplier.s_suppkey", "supplier.s_name", "supplier.s_address", "supplier.s_nationkey", "supplier.s_phone", "supplier.s_acctbal", "supplier.s_comment"], "Recheck Cond": "(supplier.s_nationkey = nation.n_nationkey)", "Plans": [{"Node Type": "Bitmap Index Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Index Name": "s_nk", "Startup Cost": 0.0, "Total Cost": 34.69, "Plan Rows": 4000, "Plan Width": 0, "Index Cond": "(supplier.s_nationkey = nation.n_nationkey)"}]}]}, {"Node Type": "Index Scan", "Parent Relationship": "Inner", "Parallel Aware": false, "Async Capable": false, "Scan Direction": "Forward", "Index Name": "ps_sk", "Relation Name": "partsupp", "Schema": "public", "Alias": "partsupp", "Startup Cost": 0.43, "Total Cost": 3.83, "Plan Rows": 80, "Plan Width": 18, "Output": ["partsupp.ps_partkey", "partsupp.ps_suppkey", "partsupp.ps_availqty", "partsupp.ps_supplycost", "partsupp.ps_comment"], "Index Cond": "(partsupp.ps_suppkey = supplier.s_suppkey)"}]}]}]}} diff --git a/dev9/pg17/tpch/sf_10/explain/15721/12-1.ok b/dev9/pg17/tpch/sf_10/explain/15721/12-1.ok new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/dev9/pg17/tpch/sf_10/explain/15721/12-1.res b/dev9/pg17/tpch/sf_10/explain/15721/12-1.res new file mode 100644 index 0000000000000000000000000000000000000000..516db738dccb6d013b4f0959cbd69b93a664fa55 --- /dev/null +++ b/dev9/pg17/tpch/sf_10/explain/15721/12-1.res @@ -0,0 +1 @@ +{"Plan": {"Node Type": "Aggregate", "Strategy": "Sorted", "Partial Mode": "Finalize", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 1376750.51, "Total Cost": 1377588.8, "Plan Rows": 7, "Plan Width": 27, "Output": ["lineitem.l_shipmode", "sum(CASE WHEN ((orders.o_orderpriority = '1-URGENT'::bpchar) OR (orders.o_orderpriority = '2-HIGH'::bpchar)) THEN 1 ELSE 0 END)", "sum(CASE WHEN ((orders.o_orderpriority <> '1-URGENT'::bpchar) AND (orders.o_orderpriority <> '2-HIGH'::bpchar)) THEN 1 ELSE 0 END)"], "Group Key": ["lineitem.l_shipmode"], "Plans": [{"Node Type": "Gather Merge", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 1376750.51, "Total Cost": 1377588.37, "Plan Rows": 49, "Plan Width": 27, "Output": ["lineitem.l_shipmode", "(PARTIAL sum(CASE WHEN ((orders.o_orderpriority = '1-URGENT'::bpchar) OR (orders.o_orderpriority = '2-HIGH'::bpchar)) THEN 1 ELSE 0 END))", "(PARTIAL sum(CASE WHEN ((orders.o_orderpriority <> '1-URGENT'::bpchar) AND (orders.o_orderpriority <> '2-HIGH'::bpchar)) THEN 1 ELSE 0 END))"], "Workers Planned": 7, "Plans": [{"Node Type": "Aggregate", "Strategy": "Sorted", "Partial Mode": "Partial", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 1375750.39, "Total Cost": 1376582.24, "Plan Rows": 7, "Plan Width": 27, "Output": ["lineitem.l_shipmode", "PARTIAL sum(CASE WHEN ((orders.o_orderpriority = '1-URGENT'::bpchar) OR (orders.o_orderpriority = '2-HIGH'::bpchar)) THEN 1 ELSE 0 END)", "PARTIAL sum(CASE WHEN ((orders.o_orderpriority <> '1-URGENT'::bpchar) AND (orders.o_orderpriority <> '2-HIGH'::bpchar)) THEN 1 ELSE 0 END)"], "Group Key": ["lineitem.l_shipmode"], "Plans": [{"Node Type": "Sort", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 1375750.39, "Total Cost": 1375854.37, "Plan Rows": 41589, "Plan Width": 27, "Output": ["lineitem.l_shipmode", "orders.o_orderpriority"], "Sort Key": ["lineitem.l_shipmode"], "Plans": [{"Node Type": "Nested Loop", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Join Type": "Inner", "Startup Cost": 0.43, "Total Cost": 1372559.7, "Plan Rows": 41589, "Plan Width": 27, "Output": ["lineitem.l_shipmode", "orders.o_orderpriority"], "Inner Unique": true, "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": true, "Async Capable": false, "Relation Name": "lineitem", "Schema": "public", "Alias": "lineitem", "Startup Cost": 0.0, "Total Cost": 1317899.8, "Plan Rows": 41589, "Plan Width": 15, "Output": ["lineitem.l_orderkey", "lineitem.l_partkey", "lineitem.l_suppkey", "lineitem.l_linenumber", "lineitem.l_quantity", "lineitem.l_extendedprice", "lineitem.l_discount", "lineitem.l_tax", "lineitem.l_returnflag", "lineitem.l_linestatus", "lineitem.l_shipdate", "lineitem.l_commitdate", "lineitem.l_receiptdate", "lineitem.l_shipinstruct", "lineitem.l_shipmode", "lineitem.l_comment"], "Filter": "((lineitem.l_shipmode = ANY ('{MAIL,TRUCK}'::bpchar[])) AND (lineitem.l_commitdate < lineitem.l_receiptdate) AND (lineitem.l_shipdate < lineitem.l_commitdate) AND (lineitem.l_receiptdate >= '1995-01-01'::date) AND (lineitem.l_receiptdate < '1996-01-01 00:00:00'::timestamp without time zone))"}, {"Node Type": "Index Scan", "Parent Relationship": "Inner", "Parallel Aware": false, "Async Capable": false, "Scan Direction": "Forward", "Index Name": "o_ok", "Relation Name": "orders", "Schema": "public", "Alias": "orders", "Startup Cost": 0.43, "Total Cost": 1.31, "Plan Rows": 1, "Plan Width": 20, "Output": ["orders.o_orderkey", "orders.o_custkey", "orders.o_orderstatus", "orders.o_totalprice", "orders.o_orderdate", "orders.o_orderpriority", "orders.o_clerk", "orders.o_shippriority", "orders.o_comment"], "Index Cond": "(orders.o_orderkey = lineitem.l_orderkey)"}]}]}]}]}]}} diff --git a/dev9/pg17/tpch/sf_10/explain/15721/13-1.ok b/dev9/pg17/tpch/sf_10/explain/15721/13-1.ok new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/dev9/pg17/tpch/sf_10/explain/15721/13-1.res b/dev9/pg17/tpch/sf_10/explain/15721/13-1.res new file mode 100644 index 0000000000000000000000000000000000000000..f21bf0b4d8e37032c6789e4086ea20a86fc4af80 --- /dev/null +++ b/dev9/pg17/tpch/sf_10/explain/15721/13-1.res @@ -0,0 +1 @@ +{"Plan": {"Node Type": "Sort", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 895449.0, "Total Cost": 895449.5, "Plan Rows": 200, "Plan Width": 16, "Output": ["(count(orders.o_orderkey))", "(count(*))"], "Sort Key": ["(count(*)) DESC", "(count(orders.o_orderkey)) DESC"], "Plans": [{"Node Type": "Aggregate", "Strategy": "Hashed", "Partial Mode": "Simple", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 895439.36, "Total Cost": 895441.36, "Plan Rows": 200, "Plan Width": 16, "Output": ["(count(orders.o_orderkey))", "count(*)"], "Group Key": ["count(orders.o_orderkey)"], "Planned Partitions": 0, "Plans": [{"Node Type": "Aggregate", "Strategy": "Sorted", "Partial Mode": "Simple", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 0.86, "Total Cost": 872939.36, "Plan Rows": 1500000, "Plan Width": 12, "Output": ["customer.c_custkey", "count(orders.o_orderkey)"], "Group Key": ["customer.c_custkey"], "Plans": [{"Node Type": "Merge Join", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Join Type": "Left", "Startup Cost": 0.86, "Total Cost": 783539.7, "Plan Rows": 14879931, "Plan Width": 8, "Output": ["customer.c_custkey", "orders.o_orderkey"], "Inner Unique": false, "Merge Cond": "(customer.c_custkey = orders.o_custkey)", "Plans": [{"Node Type": "Index Only Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Scan Direction": "Forward", "Index Name": "c_ck", "Relation Name": "customer", "Schema": "public", "Alias": "customer", "Startup Cost": 0.43, "Total Cost": 27028.03, "Plan Rows": 1500000, "Plan Width": 4, "Output": ["customer.c_custkey"]}, {"Node Type": "Index Scan", "Parent Relationship": "Inner", "Parallel Aware": false, "Async Capable": false, "Scan Direction": "Forward", "Index Name": "o_ck", "Relation Name": "orders", "Schema": "public", "Alias": "orders", "Startup Cost": 0.43, "Total Cost": 566765.38, "Plan Rows": 14879931, "Plan Width": 8, "Output": ["orders.o_orderkey", "orders.o_custkey", "orders.o_orderstatus", "orders.o_totalprice", "orders.o_orderdate", "orders.o_orderpriority", "orders.o_clerk", "orders.o_shippriority", "orders.o_comment"], "Filter": "((orders.o_comment)::text !~~ '%unusual%requests%'::text)"}]}]}]}]}} diff --git a/dev9/pg17/tpch/sf_10/explain/15721/14-1.ok b/dev9/pg17/tpch/sf_10/explain/15721/14-1.ok new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/dev9/pg17/tpch/sf_10/explain/15721/14-1.res b/dev9/pg17/tpch/sf_10/explain/15721/14-1.res new file mode 100644 index 0000000000000000000000000000000000000000..5c58b7f64b221c2d8c2052fd00cb8503c60bc940 --- /dev/null +++ b/dev9/pg17/tpch/sf_10/explain/15721/14-1.res @@ -0,0 +1 @@ +{"Plan": {"Node Type": "Aggregate", "Strategy": "Plain", "Partial Mode": "Finalize", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 686599.5, "Total Cost": 686599.51, "Plan Rows": 1, "Plan Width": 32, "Output": ["((100.00 * sum(CASE WHEN ((part.p_type)::text ~~ 'PROMO%'::text) THEN (lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount)) ELSE '0'::numeric END)) / sum((lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount))))"], "Plans": [{"Node Type": "Gather", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 686599.15, "Total Cost": 686599.46, "Plan Rows": 3, "Plan Width": 64, "Output": ["(PARTIAL sum(CASE WHEN ((part.p_type)::text ~~ 'PROMO%'::text) THEN (lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount)) ELSE '0'::numeric END))", "(PARTIAL sum((lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount))))"], "Workers Planned": 3, "Single Copy": false, "Plans": [{"Node Type": "Aggregate", "Strategy": "Plain", "Partial Mode": "Partial", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 685599.15, "Total Cost": 685599.16, "Plan Rows": 1, "Plan Width": 64, "Output": ["PARTIAL sum(CASE WHEN ((part.p_type)::text ~~ 'PROMO%'::text) THEN (lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount)) ELSE '0'::numeric END)", "PARTIAL sum((lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount)))"], "Plans": [{"Node Type": "Hash Join", "Parent Relationship": "Outer", "Parallel Aware": true, "Async Capable": false, "Join Type": "Inner", "Startup Cost": 52211.57, "Total Cost": 681372.9, "Plan Rows": 241500, "Plan Width": 33, "Output": ["part.p_type", "lineitem.l_extendedprice", "lineitem.l_discount"], "Inner Unique": true, "Hash Cond": "(lineitem.l_partkey = part.p_partkey)", "Plans": [{"Node Type": "Index Scan", "Parent Relationship": "Outer", "Parallel Aware": true, "Async Capable": false, "Scan Direction": "Forward", "Index Name": "l_sd", "Relation Name": "lineitem", "Schema": "public", "Alias": "lineitem", "Startup Cost": 0.56, "Total Cost": 628527.96, "Plan Rows": 241500, "Plan Width": 16, "Output": ["lineitem.l_orderkey", "lineitem.l_partkey", "lineitem.l_suppkey", "lineitem.l_linenumber", "lineitem.l_quantity", "lineitem.l_extendedprice", "lineitem.l_discount", "lineitem.l_tax", "lineitem.l_returnflag", "lineitem.l_linestatus", "lineitem.l_shipdate", "lineitem.l_commitdate", "lineitem.l_receiptdate", "lineitem.l_shipinstruct", "lineitem.l_shipmode", "lineitem.l_comment"], "Index Cond": "((lineitem.l_shipdate >= '1995-05-01'::date) AND (lineitem.l_shipdate < '1995-06-01 00:00:00'::timestamp without time zone))"}, {"Node Type": "Hash", "Parent Relationship": "Inner", "Parallel Aware": true, "Async Capable": false, "Startup Cost": 45961.0, "Total Cost": 45961.0, "Plan Rows": 500000, "Plan Width": 25, "Output": ["part.p_type", "part.p_partkey"], "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": true, "Async Capable": false, "Relation Name": "part", "Schema": "public", "Alias": "part", "Startup Cost": 0.0, "Total Cost": 45961.0, "Plan Rows": 500000, "Plan Width": 25, "Output": ["part.p_type", "part.p_partkey"]}]}]}]}]}]}} diff --git a/dev9/pg17/tpch/sf_10/explain/15721/15-1.ok b/dev9/pg17/tpch/sf_10/explain/15721/15-1.ok new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/dev9/pg17/tpch/sf_10/explain/15721/15-1.res b/dev9/pg17/tpch/sf_10/explain/15721/15-1.res new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/dev9/pg17/tpch/sf_10/explain/15721/15-2.ok b/dev9/pg17/tpch/sf_10/explain/15721/15-2.ok new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/dev9/pg17/tpch/sf_10/explain/15721/15-2.res b/dev9/pg17/tpch/sf_10/explain/15721/15-2.res new file mode 100644 index 0000000000000000000000000000000000000000..a11988ab4356c4091fb658206b2e4894e2b21045 --- /dev/null +++ b/dev9/pg17/tpch/sf_10/explain/15721/15-2.res @@ -0,0 +1 @@ +{"Plan": {"Node Type": "Merge Join", "Parallel Aware": false, "Async Capable": false, "Join Type": "Inner", "Startup Cost": 2617731.24, "Total Cost": 2622011.46, "Plan Rows": 497, "Plan Width": 103, "Output": ["supplier.s_suppkey", "supplier.s_name", "supplier.s_address", "supplier.s_phone", "revenue0.total_revenue"], "Inner Unique": true, "Merge Cond": "(supplier.s_suppkey = revenue0.supplier_no)", "Plans": [{"Node Type": "Aggregate", "Strategy": "Plain", "Partial Mode": "Simple", "Parent Relationship": "InitPlan", "Subplan Name": "InitPlan 1", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 1309348.53, "Total Cost": 1309348.54, "Plan Rows": 1, "Plan Width": 32, "Output": ["max((sum((lineitem_1.l_extendedprice * ('1'::numeric - lineitem_1.l_discount)))))"], "Plans": [{"Node Type": "Aggregate", "Strategy": "Hashed", "Partial Mode": "Simple", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 1306865.13, "Total Cost": 1308106.83, "Plan Rows": 99336, "Plan Width": 36, "Output": ["lineitem_1.l_suppkey", "sum((lineitem_1.l_extendedprice * ('1'::numeric - lineitem_1.l_discount)))"], "Group Key": ["lineitem_1.l_suppkey"], "Planned Partitions": 0, "Plans": [{"Node Type": "Index Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Scan Direction": "Forward", "Index Name": "l_sd", "Relation Name": "lineitem", "Schema": "public", "Alias": "lineitem_1", "Startup Cost": 0.56, "Total Cost": 1284374.41, "Plan Rows": 2249072, "Plan Width": 16, "Output": ["lineitem_1.l_orderkey", "lineitem_1.l_partkey", "lineitem_1.l_suppkey", "lineitem_1.l_linenumber", "lineitem_1.l_quantity", "lineitem_1.l_extendedprice", "lineitem_1.l_discount", "lineitem_1.l_tax", "lineitem_1.l_returnflag", "lineitem_1.l_linestatus", "lineitem_1.l_shipdate", "lineitem_1.l_commitdate", "lineitem_1.l_receiptdate", "lineitem_1.l_shipinstruct", "lineitem_1.l_shipmode", "lineitem_1.l_comment"], "Index Cond": "((lineitem_1.l_shipdate >= '1995-01-01'::date) AND (lineitem_1.l_shipdate < '1995-04-01 00:00:00'::timestamp without time zone))"}]}]}, {"Node Type": "Index Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Scan Direction": "Forward", "Index Name": "s_sk", "Relation Name": "supplier", "Schema": "public", "Alias": "supplier", "Startup Cost": 0.29, "Total Cost": 4023.06, "Plan Rows": 100000, "Plan Width": 71, "Output": ["supplier.s_suppkey", "supplier.s_name", "supplier.s_address", "supplier.s_nationkey", "supplier.s_phone", "supplier.s_acctbal", "supplier.s_comment"]}, {"Node Type": "Sort", "Parent Relationship": "Inner", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 1308382.4, "Total Cost": 1308383.64, "Plan Rows": 497, "Plan Width": 36, "Output": ["revenue0.total_revenue", "revenue0.supplier_no"], "Sort Key": ["revenue0.supplier_no"], "Plans": [{"Node Type": "Subquery Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Alias": "revenue0", "Startup Cost": 1306865.13, "Total Cost": 1308360.14, "Plan Rows": 497, "Plan Width": 36, "Output": ["revenue0.total_revenue", "revenue0.supplier_no"], "Plans": [{"Node Type": "Aggregate", "Strategy": "Hashed", "Partial Mode": "Simple", "Parent Relationship": "Subquery", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 1306865.13, "Total Cost": 1308355.17, "Plan Rows": 497, "Plan Width": 36, "Output": ["lineitem.l_suppkey", "sum((lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount)))"], "Group Key": ["lineitem.l_suppkey"], "Filter": "(sum((lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount))) = (InitPlan 1).col1)", "Planned Partitions": 0, "Plans": [{"Node Type": "Index Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Scan Direction": "Forward", "Index Name": "l_sd", "Relation Name": "lineitem", "Schema": "public", "Alias": "lineitem", "Startup Cost": 0.56, "Total Cost": 1284374.41, "Plan Rows": 2249072, "Plan Width": 16, "Output": ["lineitem.l_orderkey", "lineitem.l_partkey", "lineitem.l_suppkey", "lineitem.l_linenumber", "lineitem.l_quantity", "lineitem.l_extendedprice", "lineitem.l_discount", "lineitem.l_tax", "lineitem.l_returnflag", "lineitem.l_linestatus", "lineitem.l_shipdate", "lineitem.l_commitdate", "lineitem.l_receiptdate", "lineitem.l_shipinstruct", "lineitem.l_shipmode", "lineitem.l_comment"], "Index Cond": "((lineitem.l_shipdate >= '1995-01-01'::date) AND (lineitem.l_shipdate < '1995-04-01 00:00:00'::timestamp without time zone))"}]}]}]}]}} diff --git a/dev9/pg17/tpch/sf_10/explain/15721/15-3.ok b/dev9/pg17/tpch/sf_10/explain/15721/15-3.ok new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/dev9/pg17/tpch/sf_10/explain/15721/15-3.res b/dev9/pg17/tpch/sf_10/explain/15721/15-3.res new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/dev9/pg17/tpch/sf_10/explain/15721/16-1.ok b/dev9/pg17/tpch/sf_10/explain/15721/16-1.ok new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/dev9/pg17/tpch/sf_10/explain/15721/16-1.res b/dev9/pg17/tpch/sf_10/explain/15721/16-1.res new file mode 100644 index 0000000000000000000000000000000000000000..17cd36cd44a19d3d807407bae04069bb81222eea --- /dev/null +++ b/dev9/pg17/tpch/sf_10/explain/15721/16-1.res @@ -0,0 +1 @@ +{"Plan": {"Node Type": "Sort", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 243170.41, "Total Cost": 243555.41, "Plan Rows": 154000, "Plan Width": 44, "Output": ["part.p_brand", "part.p_type", "part.p_size", "(count(DISTINCT partsupp.ps_suppkey))"], "Sort Key": ["(count(DISTINCT partsupp.ps_suppkey)) DESC", "part.p_brand", "part.p_type", "part.p_size"], "Plans": [{"Node Type": "Aggregate", "Strategy": "Sorted", "Partial Mode": "Simple", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 149662.45, "Total Cost": 229901.33, "Plan Rows": 154000, "Plan Width": 44, "Output": ["part.p_brand", "part.p_type", "part.p_size", "count(DISTINCT partsupp.ps_suppkey)"], "Group Key": ["part.p_brand", "part.p_type", "part.p_size"], "Plans": [{"Node Type": "Gather Merge", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 149662.45, "Total Cost": 222397.19, "Plan Rows": 596414, "Plan Width": 40, "Output": ["part.p_brand", "part.p_type", "part.p_size", "partsupp.ps_suppkey"], "Workers Planned": 6, "Plans": [{"Node Type": "Sort", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 148662.35, "Total Cost": 148910.86, "Plan Rows": 99402, "Plan Width": 40, "Output": ["part.p_brand", "part.p_type", "part.p_size", "partsupp.ps_suppkey"], "Sort Key": ["part.p_brand", "part.p_type", "part.p_size", "partsupp.ps_suppkey"], "Plans": [{"Node Type": "Hash Join", "Parent Relationship": "Outer", "Parallel Aware": true, "Async Capable": false, "Join Type": "Inner", "Startup Cost": 57862.33, "Total Cost": 140411.5, "Plan Rows": 99402, "Plan Width": 40, "Output": ["part.p_brand", "part.p_type", "part.p_size", "partsupp.ps_suppkey"], "Inner Unique": true, "Hash Cond": "(partsupp.ps_partkey = part.p_partkey)", "Plans": [{"Node Type": "Index Only Scan", "Parent Relationship": "Outer", "Parallel Aware": true, "Async Capable": false, "Scan Direction": "Forward", "Index Name": "ps_sk_pk", "Relation Name": "partsupp", "Schema": "public", "Alias": "partsupp", "Startup Cost": 3469.46, "Total Cost": 84268.57, "Plan Rows": 666687, "Plan Width": 8, "Output": ["partsupp.ps_suppkey", "partsupp.ps_partkey"], "Filter": "(NOT (ANY (partsupp.ps_suppkey = (hashed SubPlan 1).col1)))", "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "SubPlan", "Subplan Name": "SubPlan 1", "Parallel Aware": false, "Async Capable": false, "Relation Name": "supplier", "Schema": "public", "Alias": "supplier", "Startup Cost": 0.0, "Total Cost": 3469.0, "Plan Rows": 10, "Plan Width": 4, "Output": ["supplier.s_suppkey"], "Filter": "((supplier.s_comment)::text ~~ '%Customer%Complaints%'::text)"}]}, {"Node Type": "Hash", "Parent Relationship": "Inner", "Parallel Aware": true, "Async Capable": false, "Startup Cost": 53461.0, "Total Cost": 53461.0, "Plan Rows": 74550, "Plan Width": 40, "Output": ["part.p_brand", "part.p_type", "part.p_size", "part.p_partkey"], "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": true, "Async Capable": false, "Relation Name": "part", "Schema": "public", "Alias": "part", "Startup Cost": 0.0, "Total Cost": 53461.0, "Plan Rows": 74550, "Plan Width": 40, "Output": ["part.p_brand", "part.p_type", "part.p_size", "part.p_partkey"], "Filter": "((part.p_brand <> 'Brand#11'::bpchar) AND ((part.p_type)::text !~~ 'ECONOMY ANODIZED%'::text) AND (part.p_size = ANY ('{42,16,39,18,23,32,44,41}'::integer[])))"}]}]}]}]}]}]}} diff --git a/dev9/pg17/tpch/sf_10/explain/15721/17-1.ok b/dev9/pg17/tpch/sf_10/explain/15721/17-1.ok new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/dev9/pg17/tpch/sf_10/explain/15721/17-1.res b/dev9/pg17/tpch/sf_10/explain/15721/17-1.res new file mode 100644 index 0000000000000000000000000000000000000000..e4664dd5d2d515174ef9d850ba27103309bd5055 --- /dev/null +++ b/dev9/pg17/tpch/sf_10/explain/15721/17-1.res @@ -0,0 +1 @@ +{"Plan": {"Node Type": "Aggregate", "Strategy": "Plain", "Partial Mode": "Simple", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 1932487.98, "Total Cost": 1932487.99, "Plan Rows": 1, "Plan Width": 32, "Output": ["(sum(lineitem.l_extendedprice) / 7.0)"], "Plans": [{"Node Type": "Hash Join", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Join Type": "Inner", "Startup Cost": 49678.58, "Total Cost": 1932439.64, "Plan Rows": 19335, "Plan Width": 8, "Output": ["lineitem.l_extendedprice"], "Inner Unique": true, "Hash Cond": "(lineitem.l_partkey = part.p_partkey)", "Join Filter": "(lineitem.l_quantity < (SubPlan 1))", "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Relation Name": "lineitem", "Schema": "public", "Alias": "lineitem", "Startup Cost": 0.0, "Total Cost": 1724938.48, "Plan Rows": 59984648, "Plan Width": 17, "Output": ["lineitem.l_orderkey", "lineitem.l_partkey", "lineitem.l_suppkey", "lineitem.l_linenumber", "lineitem.l_quantity", "lineitem.l_extendedprice", "lineitem.l_discount", "lineitem.l_tax", "lineitem.l_returnflag", "lineitem.l_linestatus", "lineitem.l_shipdate", "lineitem.l_commitdate", "lineitem.l_receiptdate", "lineitem.l_shipinstruct", "lineitem.l_shipmode", "lineitem.l_comment"]}, {"Node Type": "Hash", "Parent Relationship": "Inner", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 49654.4, "Total Cost": 49654.4, "Plan Rows": 1934, "Plan Width": 4, "Output": ["part.p_partkey"], "Plans": [{"Node Type": "Gather", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 1000.0, "Total Cost": 49654.4, "Plan Rows": 1934, "Plan Width": 4, "Output": ["part.p_partkey"], "Workers Planned": 4, "Single Copy": false, "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": true, "Async Capable": false, "Relation Name": "part", "Schema": "public", "Alias": "part", "Startup Cost": 0.0, "Total Cost": 48461.0, "Plan Rows": 484, "Plan Width": 4, "Output": ["part.p_partkey"], "Filter": "((part.p_brand = 'Brand#14'::bpchar) AND (part.p_container = 'WRAP BOX'::bpchar))"}]}]}, {"Node Type": "Aggregate", "Strategy": "Plain", "Partial Mode": "Simple", "Parent Relationship": "SubPlan", "Subplan Name": "SubPlan 1", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 36.26, "Total Cost": 36.27, "Plan Rows": 1, "Plan Width": 32, "Output": ["(0.2 * avg(lineitem_1.l_quantity))"], "Plans": [{"Node Type": "Index Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Scan Direction": "Forward", "Index Name": "l_pk", "Relation Name": "lineitem", "Schema": "public", "Alias": "lineitem_1", "Startup Cost": 0.44, "Total Cost": 36.18, "Plan Rows": 31, "Plan Width": 5, "Output": ["lineitem_1.l_orderkey", "lineitem_1.l_partkey", "lineitem_1.l_suppkey", "lineitem_1.l_linenumber", "lineitem_1.l_quantity", "lineitem_1.l_extendedprice", "lineitem_1.l_discount", "lineitem_1.l_tax", "lineitem_1.l_returnflag", "lineitem_1.l_linestatus", "lineitem_1.l_shipdate", "lineitem_1.l_commitdate", "lineitem_1.l_receiptdate", "lineitem_1.l_shipinstruct", "lineitem_1.l_shipmode", "lineitem_1.l_comment"], "Index Cond": "(lineitem_1.l_partkey = part.p_partkey)"}]}]}]}} diff --git a/dev9/pg17/tpch/sf_10/explain/15721/18-1.ok b/dev9/pg17/tpch/sf_10/explain/15721/18-1.ok new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/dev9/pg17/tpch/sf_10/explain/15721/18-1.res b/dev9/pg17/tpch/sf_10/explain/15721/18-1.res new file mode 100644 index 0000000000000000000000000000000000000000..676f5eb0acc3d62b7ed8d847111226ba4d28eeb3 --- /dev/null +++ b/dev9/pg17/tpch/sf_10/explain/15721/18-1.res @@ -0,0 +1 @@ +{"Plan": {"Node Type": "Limit", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 3602401.98, "Total Cost": 3602402.23, "Plan Rows": 100, "Plan Width": 71, "Output": ["customer.c_name", "customer.c_custkey", "orders.o_orderkey", "orders.o_orderdate", "orders.o_totalprice", "(sum(lineitem.l_quantity))"], "Plans": [{"Node Type": "Sort", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 3602401.98, "Total Cost": 3609191.6, "Plan Rows": 2715846, "Plan Width": 71, "Output": ["customer.c_name", "customer.c_custkey", "orders.o_orderkey", "orders.o_orderdate", "orders.o_totalprice", "(sum(lineitem.l_quantity))"], "Sort Key": ["orders.o_totalprice DESC", "orders.o_orderdate"], "Plans": [{"Node Type": "Aggregate", "Strategy": "Sorted", "Partial Mode": "Simple", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 3113080.61, "Total Cost": 3498604.3, "Plan Rows": 2715846, "Plan Width": 71, "Output": ["customer.c_name", "customer.c_custkey", "orders.o_orderkey", "orders.o_orderdate", "orders.o_totalprice", "sum(lineitem.l_quantity)"], "Group Key": ["customer.c_custkey", "orders.o_orderkey"], "Plans": [{"Node Type": "Gather Merge", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 3113080.61, "Total Cost": 3444287.38, "Plan Rows": 2715846, "Plan Width": 44, "Output": ["customer.c_custkey", "orders.o_orderkey", "customer.c_name", "orders.o_orderdate", "orders.o_totalprice", "lineitem.l_quantity"], "Workers Planned": 6, "Plans": [{"Node Type": "Sort", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 3112080.52, "Total Cost": 3113212.12, "Plan Rows": 452641, "Plan Width": 44, "Output": ["customer.c_custkey", "orders.o_orderkey", "customer.c_name", "orders.o_orderdate", "orders.o_totalprice", "lineitem.l_quantity"], "Sort Key": ["customer.c_custkey", "orders.o_orderkey"], "Plans": [{"Node Type": "Hash Join", "Parent Relationship": "Outer", "Parallel Aware": true, "Async Capable": false, "Join Type": "Inner", "Startup Cost": 2603092.02, "Total Cost": 3061402.45, "Plan Rows": 452641, "Plan Width": 44, "Output": ["customer.c_custkey", "orders.o_orderkey", "customer.c_name", "orders.o_orderdate", "orders.o_totalprice", "lineitem.l_quantity"], "Inner Unique": true, "Hash Cond": "(orders.o_custkey = customer.c_custkey)", "Plans": [{"Node Type": "Nested Loop", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Join Type": "Inner", "Startup Cost": 2558730.52, "Total Cost": 3015852.77, "Plan Rows": 452641, "Plan Width": 25, "Output": ["orders.o_orderkey", "orders.o_orderdate", "orders.o_totalprice", "orders.o_custkey", "lineitem.l_quantity"], "Inner Unique": false, "Plans": [{"Node Type": "Hash Join", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Join Type": "Inner", "Startup Cost": 2558729.96, "Total Cost": 2851503.81, "Plan Rows": 113190, "Plan Width": 24, "Output": ["orders.o_orderkey", "orders.o_orderdate", "orders.o_totalprice", "orders.o_custkey", "lineitem_1.l_orderkey"], "Inner Unique": true, "Hash Cond": "(orders.o_orderkey = lineitem_1.l_orderkey)", "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": true, "Async Capable": false, "Relation Name": "orders", "Schema": "public", "Alias": "orders", "Startup Cost": 0.0, "Total Cost": 286211.28, "Plan Rows": 2500028, "Plan Width": 20, "Output": ["orders.o_orderkey", "orders.o_custkey", "orders.o_orderstatus", "orders.o_totalprice", "orders.o_orderdate", "orders.o_orderpriority", "orders.o_clerk", "orders.o_shippriority", "orders.o_comment"]}, {"Node Type": "Hash", "Parent Relationship": "Inner", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 2550240.67, "Total Cost": 2550240.67, "Plan Rows": 679143, "Plan Width": 4, "Output": ["lineitem_1.l_orderkey"], "Plans": [{"Node Type": "Aggregate", "Strategy": "Sorted", "Partial Mode": "Simple", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 0.56, "Total Cost": 2550240.67, "Plan Rows": 679143, "Plan Width": 4, "Output": ["lineitem_1.l_orderkey"], "Group Key": ["lineitem_1.l_orderkey"], "Filter": "(sum(lineitem_1.l_quantity) > '314'::numeric)", "Plans": [{"Node Type": "Index Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Scan Direction": "Forward", "Index Name": "l_ok", "Relation Name": "lineitem", "Schema": "public", "Alias": "lineitem_1", "Startup Cost": 0.56, "Total Cost": 2219756.0, "Plan Rows": 59984648, "Plan Width": 9, "Output": ["lineitem_1.l_orderkey", "lineitem_1.l_partkey", "lineitem_1.l_suppkey", "lineitem_1.l_linenumber", "lineitem_1.l_quantity", "lineitem_1.l_extendedprice", "lineitem_1.l_discount", "lineitem_1.l_tax", "lineitem_1.l_returnflag", "lineitem_1.l_linestatus", "lineitem_1.l_shipdate", "lineitem_1.l_commitdate", "lineitem_1.l_receiptdate", "lineitem_1.l_shipinstruct", "lineitem_1.l_shipmode", "lineitem_1.l_comment"]}]}]}]}, {"Node Type": "Index Scan", "Parent Relationship": "Inner", "Parallel Aware": false, "Async Capable": false, "Scan Direction": "Forward", "Index Name": "l_ok", "Relation Name": "lineitem", "Schema": "public", "Alias": "lineitem", "Startup Cost": 0.56, "Total Cost": 1.16, "Plan Rows": 29, "Plan Width": 9, "Output": ["lineitem.l_orderkey", "lineitem.l_partkey", "lineitem.l_suppkey", "lineitem.l_linenumber", "lineitem.l_quantity", "lineitem.l_extendedprice", "lineitem.l_discount", "lineitem.l_tax", "lineitem.l_returnflag", "lineitem.l_linestatus", "lineitem.l_shipdate", "lineitem.l_commitdate", "lineitem.l_receiptdate", "lineitem.l_shipinstruct", "lineitem.l_shipmode", "lineitem.l_comment"], "Index Cond": "(lineitem.l_orderkey = orders.o_orderkey)"}]}, {"Node Type": "Hash", "Parent Relationship": "Inner", "Parallel Aware": true, "Async Capable": false, "Startup Cost": 39674.0, "Total Cost": 39674.0, "Plan Rows": 375000, "Plan Width": 23, "Output": ["customer.c_name", "customer.c_custkey"], "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": true, "Async Capable": false, "Relation Name": "customer", "Schema": "public", "Alias": "customer", "Startup Cost": 0.0, "Total Cost": 39674.0, "Plan Rows": 375000, "Plan Width": 23, "Output": ["customer.c_name", "customer.c_custkey"]}]}]}]}]}]}]}]}} diff --git a/dev9/pg17/tpch/sf_10/explain/15721/19-1.ok b/dev9/pg17/tpch/sf_10/explain/15721/19-1.ok new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/dev9/pg17/tpch/sf_10/explain/15721/19-1.res b/dev9/pg17/tpch/sf_10/explain/15721/19-1.res new file mode 100644 index 0000000000000000000000000000000000000000..fb3bab4542075a1848f2577c33cc2958365fa00e --- /dev/null +++ b/dev9/pg17/tpch/sf_10/explain/15721/19-1.res @@ -0,0 +1 @@ +{"Plan": {"Node Type": "Aggregate", "Strategy": "Plain", "Partial Mode": "Finalize", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 106400.55, "Total Cost": 106400.56, "Plan Rows": 1, "Plan Width": 32, "Output": ["sum((lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount)))"], "Plans": [{"Node Type": "Gather", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 106400.12, "Total Cost": 106400.53, "Plan Rows": 4, "Plan Width": 32, "Output": ["(PARTIAL sum((lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount))))"], "Workers Planned": 4, "Single Copy": false, "Plans": [{"Node Type": "Aggregate", "Strategy": "Plain", "Partial Mode": "Partial", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 105400.12, "Total Cost": 105400.13, "Plan Rows": 1, "Plan Width": 32, "Output": ["PARTIAL sum((lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount)))"], "Plans": [{"Node Type": "Nested Loop", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Join Type": "Inner", "Startup Cost": 0.44, "Total Cost": 105398.04, "Plan Rows": 276, "Plan Width": 12, "Output": ["lineitem.l_extendedprice", "lineitem.l_discount"], "Inner Unique": false, "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": true, "Async Capable": false, "Relation Name": "part", "Schema": "public", "Alias": "part", "Startup Cost": 0.0, "Total Cost": 62211.0, "Plan Rows": 1198, "Plan Width": 30, "Output": ["part.p_partkey", "part.p_name", "part.p_mfgr", "part.p_brand", "part.p_type", "part.p_size", "part.p_container", "part.p_retailprice", "part.p_comment"], "Filter": "((part.p_size >= 1) AND (((part.p_brand = 'Brand#52'::bpchar) AND (part.p_container = ANY ('{\"SM CASE\",\"SM BOX\",\"SM PACK\",\"SM PKG\"}'::bpchar[])) AND (part.p_size <= 5)) OR ((part.p_brand = 'Brand#42'::bpchar) AND (part.p_container = ANY ('{\"MED BAG\",\"MED BOX\",\"MED PKG\",\"MED PACK\"}'::bpchar[])) AND (part.p_size <= 10)) OR ((part.p_brand = 'Brand#23'::bpchar) AND (part.p_container = ANY ('{\"LG CASE\",\"LG BOX\",\"LG PACK\",\"LG PKG\"}'::bpchar[])) AND (part.p_size <= 15))))"}, {"Node Type": "Index Scan", "Parent Relationship": "Inner", "Parallel Aware": false, "Async Capable": false, "Scan Direction": "Forward", "Index Name": "l_pk", "Relation Name": "lineitem", "Schema": "public", "Alias": "lineitem", "Startup Cost": 0.44, "Total Cost": 36.04, "Plan Rows": 1, "Plan Width": 21, "Output": ["lineitem.l_orderkey", "lineitem.l_partkey", "lineitem.l_suppkey", "lineitem.l_linenumber", "lineitem.l_quantity", "lineitem.l_extendedprice", "lineitem.l_discount", "lineitem.l_tax", "lineitem.l_returnflag", "lineitem.l_linestatus", "lineitem.l_shipdate", "lineitem.l_commitdate", "lineitem.l_receiptdate", "lineitem.l_shipinstruct", "lineitem.l_shipmode", "lineitem.l_comment"], "Index Cond": "(lineitem.l_partkey = part.p_partkey)", "Filter": "((lineitem.l_shipmode = ANY ('{AIR,\"AIR REG\"}'::bpchar[])) AND (lineitem.l_shipinstruct = 'DELIVER IN PERSON'::bpchar) AND (((lineitem.l_quantity >= '9'::numeric) AND (lineitem.l_quantity <= '19'::numeric)) OR ((lineitem.l_quantity >= '18'::numeric) AND (lineitem.l_quantity <= '28'::numeric)) OR ((lineitem.l_quantity >= '22'::numeric) AND (lineitem.l_quantity <= '32'::numeric))) AND (((part.p_brand = 'Brand#52'::bpchar) AND (part.p_container = ANY ('{\"SM CASE\",\"SM BOX\",\"SM PACK\",\"SM PKG\"}'::bpchar[])) AND (lineitem.l_quantity >= '9'::numeric) AND (lineitem.l_quantity <= '19'::numeric) AND (part.p_size <= 5)) OR ((part.p_brand = 'Brand#42'::bpchar) AND (part.p_container = ANY ('{\"MED BAG\",\"MED BOX\",\"MED PKG\",\"MED PACK\"}'::bpchar[])) AND (lineitem.l_quantity >= '18'::numeric) AND (lineitem.l_quantity <= '28'::numeric) AND (part.p_size <= 10)) OR ((part.p_brand = 'Brand#23'::bpchar) AND (part.p_container = ANY ('{\"LG CASE\",\"LG BOX\",\"LG PACK\",\"LG PKG\"}'::bpchar[])) AND (lineitem.l_quantity >= '22'::numeric) AND (lineitem.l_quantity <= '32'::numeric) AND (part.p_size <= 15))))"}]}]}]}]}} diff --git a/dev9/pg17/tpch/sf_10/explain/15721/2-1.ok b/dev9/pg17/tpch/sf_10/explain/15721/2-1.ok new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/dev9/pg17/tpch/sf_10/explain/15721/2-1.res b/dev9/pg17/tpch/sf_10/explain/15721/2-1.res new file mode 100644 index 0000000000000000000000000000000000000000..2c513075c10b23c02ac1537218b32fa02186890d --- /dev/null +++ b/dev9/pg17/tpch/sf_10/explain/15721/2-1.res @@ -0,0 +1 @@ +{"Plan": {"Node Type": "Limit", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 386111.92, "Total Cost": 386111.92, "Plan Rows": 1, "Plan Width": 192, "Output": ["supplier.s_acctbal", "supplier.s_name", "nation.n_name", "part.p_partkey", "part.p_mfgr", "supplier.s_address", "supplier.s_phone", "supplier.s_comment"], "Plans": [{"Node Type": "Sort", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 386111.92, "Total Cost": 386111.92, "Plan Rows": 1, "Plan Width": 192, "Output": ["supplier.s_acctbal", "supplier.s_name", "nation.n_name", "part.p_partkey", "part.p_mfgr", "supplier.s_address", "supplier.s_phone", "supplier.s_comment"], "Sort Key": ["supplier.s_acctbal DESC", "nation.n_name", "supplier.s_name", "part.p_partkey"], "Plans": [{"Node Type": "Hash Join", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Join Type": "Inner", "Startup Cost": 157753.12, "Total Cost": 386111.91, "Plan Rows": 1, "Plan Width": 192, "Output": ["supplier.s_acctbal", "supplier.s_name", "nation.n_name", "part.p_partkey", "part.p_mfgr", "supplier.s_address", "supplier.s_phone", "supplier.s_comment"], "Inner Unique": false, "Hash Cond": "((part.p_partkey = partsupp.ps_partkey) AND ((SubPlan 1) = partsupp.ps_supplycost))", "Plans": [{"Node Type": "Gather", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 1000.0, "Total Cost": 50274.7, "Plan Rows": 8137, "Plan Width": 30, "Output": ["part.p_partkey", "part.p_mfgr"], "Workers Planned": 4, "Single Copy": false, "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": true, "Async Capable": false, "Relation Name": "part", "Schema": "public", "Alias": "part", "Startup Cost": 0.0, "Total Cost": 48461.0, "Plan Rows": 2034, "Plan Width": 30, "Output": ["part.p_partkey", "part.p_mfgr"], "Filter": "(((part.p_type)::text ~~ '%TIN'::text) AND (part.p_size = 44))"}]}, {"Node Type": "Hash", "Parent Relationship": "Inner", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 93688.38, "Total Cost": 93688.38, "Plan Rows": 1600049, "Plan Width": 172, "Output": ["supplier.s_acctbal", "supplier.s_name", "supplier.s_address", "supplier.s_phone", "supplier.s_comment", "partsupp.ps_partkey", "partsupp.ps_supplycost", "nation.n_name"], "Plans": [{"Node Type": "Nested Loop", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Join Type": "Inner", "Startup Cost": 0.72, "Total Cost": 93688.38, "Plan Rows": 1600049, "Plan Width": 172, "Output": ["supplier.s_acctbal", "supplier.s_name", "supplier.s_address", "supplier.s_phone", "supplier.s_comment", "partsupp.ps_partkey", "partsupp.ps_supplycost", "nation.n_name"], "Inner Unique": false, "Plans": [{"Node Type": "Nested Loop", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Join Type": "Inner", "Startup Cost": 0.29, "Total Cost": 1056.07, "Plan Rows": 20000, "Plan Width": 166, "Output": ["supplier.s_acctbal", "supplier.s_name", "supplier.s_address", "supplier.s_phone", "supplier.s_comment", "supplier.s_suppkey", "nation.n_name"], "Inner Unique": false, "Plans": [{"Node Type": "Nested Loop", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Join Type": "Inner", "Startup Cost": 0.0, "Total Cost": 2.62, "Plan Rows": 5, "Plan Width": 30, "Output": ["nation.n_name", "nation.n_nationkey"], "Inner Unique": false, "Join Filter": "(nation.n_regionkey = region.r_regionkey)", "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Relation Name": "region", "Schema": "public", "Alias": "region", "Startup Cost": 0.0, "Total Cost": 1.06, "Plan Rows": 1, "Plan Width": 4, "Output": ["region.r_regionkey", "region.r_name", "region.r_comment"], "Filter": "(region.r_name = 'EUROPE'::bpchar)"}, {"Node Type": "Seq Scan", "Parent Relationship": "Inner", "Parallel Aware": false, "Async Capable": false, "Relation Name": "nation", "Schema": "public", "Alias": "nation", "Startup Cost": 0.0, "Total Cost": 1.25, "Plan Rows": 25, "Plan Width": 34, "Output": ["nation.n_nationkey", "nation.n_name", "nation.n_regionkey", "nation.n_comment"]}]}, {"Node Type": "Index Scan", "Parent Relationship": "Inner", "Parallel Aware": false, "Async Capable": false, "Scan Direction": "Forward", "Index Name": "s_nk", "Relation Name": "supplier", "Schema": "public", "Alias": "supplier", "Startup Cost": 0.29, "Total Cost": 170.69, "Plan Rows": 4000, "Plan Width": 144, "Output": ["supplier.s_suppkey", "supplier.s_name", "supplier.s_address", "supplier.s_nationkey", "supplier.s_phone", "supplier.s_acctbal", "supplier.s_comment"], "Index Cond": "(supplier.s_nationkey = nation.n_nationkey)"}]}, {"Node Type": "Index Scan", "Parent Relationship": "Inner", "Parallel Aware": false, "Async Capable": false, "Scan Direction": "Forward", "Index Name": "ps_sk", "Relation Name": "partsupp", "Schema": "public", "Alias": "partsupp", "Startup Cost": 0.43, "Total Cost": 3.83, "Plan Rows": 80, "Plan Width": 14, "Output": ["partsupp.ps_partkey", "partsupp.ps_suppkey", "partsupp.ps_availqty", "partsupp.ps_supplycost", "partsupp.ps_comment"], "Index Cond": "(partsupp.ps_suppkey = supplier.s_suppkey)"}]}]}, {"Node Type": "Aggregate", "Strategy": "Plain", "Partial Mode": "Simple", "Parent Relationship": "SubPlan", "Subplan Name": "SubPlan 1", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 17.17, "Total Cost": 17.18, "Plan Rows": 1, "Plan Width": 32, "Output": ["min(partsupp_1.ps_supplycost)"], "Plans": [{"Node Type": "Nested Loop", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Join Type": "Inner", "Startup Cost": 0.86, "Total Cost": 17.17, "Plan Rows": 1, "Plan Width": 6, "Output": ["partsupp_1.ps_supplycost"], "Inner Unique": false, "Join Filter": "(nation_1.n_regionkey = region_1.r_regionkey)", "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Relation Name": "region", "Schema": "public", "Alias": "region_1", "Startup Cost": 0.0, "Total Cost": 1.06, "Plan Rows": 1, "Plan Width": 4, "Output": ["region_1.r_regionkey", "region_1.r_name", "region_1.r_comment"], "Filter": "(region_1.r_name = 'EUROPE'::bpchar)"}, {"Node Type": "Nested Loop", "Parent Relationship": "Inner", "Parallel Aware": false, "Async Capable": false, "Join Type": "Inner", "Startup Cost": 0.86, "Total Cost": 16.05, "Plan Rows": 5, "Plan Width": 10, "Output": ["partsupp_1.ps_supplycost", "nation_1.n_regionkey"], "Inner Unique": true, "Plans": [{"Node Type": "Nested Loop", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Join Type": "Inner", "Startup Cost": 0.72, "Total Cost": 15.27, "Plan Rows": 5, "Plan Width": 10, "Output": ["partsupp_1.ps_supplycost", "supplier_1.s_nationkey"], "Inner Unique": true, "Plans": [{"Node Type": "Index Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Scan Direction": "Forward", "Index Name": "ps_pk", "Relation Name": "partsupp", "Schema": "public", "Alias": "partsupp_1", "Startup Cost": 0.43, "Total Cost": 2.72, "Plan Rows": 5, "Plan Width": 10, "Output": ["partsupp_1.ps_partkey", "partsupp_1.ps_suppkey", "partsupp_1.ps_availqty", "partsupp_1.ps_supplycost", "partsupp_1.ps_comment"], "Index Cond": "(partsupp_1.ps_partkey = part.p_partkey)"}, {"Node Type": "Index Scan", "Parent Relationship": "Inner", "Parallel Aware": false, "Async Capable": false, "Scan Direction": "Forward", "Index Name": "s_sk", "Relation Name": "supplier", "Schema": "public", "Alias": "supplier_1", "Startup Cost": 0.29, "Total Cost": 2.51, "Plan Rows": 1, "Plan Width": 8, "Output": ["supplier_1.s_suppkey", "supplier_1.s_name", "supplier_1.s_address", "supplier_1.s_nationkey", "supplier_1.s_phone", "supplier_1.s_acctbal", "supplier_1.s_comment"], "Index Cond": "(supplier_1.s_suppkey = partsupp_1.ps_suppkey)"}]}, {"Node Type": "Index Scan", "Parent Relationship": "Inner", "Parallel Aware": false, "Async Capable": false, "Scan Direction": "Forward", "Index Name": "n_nk", "Relation Name": "nation", "Schema": "public", "Alias": "nation_1", "Startup Cost": 0.14, "Total Cost": 0.16, "Plan Rows": 1, "Plan Width": 8, "Output": ["nation_1.n_nationkey", "nation_1.n_name", "nation_1.n_regionkey", "nation_1.n_comment"], "Index Cond": "(nation_1.n_nationkey = supplier_1.s_nationkey)"}]}]}]}]}]}]}} diff --git a/dev9/pg17/tpch/sf_10/explain/15721/20-1.ok b/dev9/pg17/tpch/sf_10/explain/15721/20-1.ok new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/dev9/pg17/tpch/sf_10/explain/15721/20-1.res b/dev9/pg17/tpch/sf_10/explain/15721/20-1.res new file mode 100644 index 0000000000000000000000000000000000000000..bf4b57c73c3168afbadc190c13217f2708b762fe --- /dev/null +++ b/dev9/pg17/tpch/sf_10/explain/15721/20-1.res @@ -0,0 +1 @@ +{"Plan": {"Node Type": "Sort", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 365850.82, "Total Cost": 365853.49, "Plan Rows": 1069, "Plan Width": 51, "Output": ["supplier.s_name", "supplier.s_address"], "Sort Key": ["supplier.s_name"], "Plans": [{"Node Type": "Hash Join", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Join Type": "Semi", "Startup Cost": 363568.46, "Total Cost": 365797.03, "Plan Rows": 1069, "Plan Width": 51, "Output": ["supplier.s_name", "supplier.s_address"], "Inner Unique": false, "Hash Cond": "(supplier.s_suppkey = partsupp.ps_suppkey)", "Plans": [{"Node Type": "Nested Loop", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Join Type": "Inner", "Startup Cost": 35.69, "Total Cost": 2236.53, "Plan Rows": 4000, "Plan Width": 55, "Output": ["supplier.s_name", "supplier.s_address", "supplier.s_suppkey"], "Inner Unique": false, "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Relation Name": "nation", "Schema": "public", "Alias": "nation", "Startup Cost": 0.0, "Total Cost": 1.31, "Plan Rows": 1, "Plan Width": 4, "Output": ["nation.n_nationkey", "nation.n_name", "nation.n_regionkey", "nation.n_comment"], "Filter": "(nation.n_name = 'GERMANY'::bpchar)"}, {"Node Type": "Bitmap Heap Scan", "Parent Relationship": "Inner", "Parallel Aware": false, "Async Capable": false, "Relation Name": "supplier", "Schema": "public", "Alias": "supplier", "Startup Cost": 35.69, "Total Cost": 2195.22, "Plan Rows": 4000, "Plan Width": 59, "Output": ["supplier.s_suppkey", "supplier.s_name", "supplier.s_address", "supplier.s_nationkey", "supplier.s_phone", "supplier.s_acctbal", "supplier.s_comment"], "Recheck Cond": "(supplier.s_nationkey = nation.n_nationkey)", "Plans": [{"Node Type": "Bitmap Index Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Index Name": "s_nk", "Startup Cost": 0.0, "Total Cost": 34.69, "Plan Rows": 4000, "Plan Width": 0, "Index Cond": "(supplier.s_nationkey = nation.n_nationkey)"}]}]}, {"Node Type": "Hash", "Parent Relationship": "Inner", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 363198.75, "Total Cost": 363198.75, "Plan Rows": 26721, "Plan Width": 4, "Output": ["partsupp.ps_suppkey"], "Plans": [{"Node Type": "Nested Loop", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Join Type": "Inner", "Startup Cost": 1000.43, "Total Cost": 363198.75, "Plan Rows": 26721, "Plan Width": 4, "Output": ["partsupp.ps_suppkey"], "Inner Unique": false, "Plans": [{"Node Type": "Gather", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 1000.0, "Total Cost": 50215.0, "Plan Rows": 20040, "Plan Width": 4, "Output": ["part.p_partkey"], "Workers Planned": 4, "Single Copy": false, "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": true, "Async Capable": false, "Relation Name": "part", "Schema": "public", "Alias": "part", "Startup Cost": 0.0, "Total Cost": 47211.0, "Plan Rows": 5010, "Plan Width": 4, "Output": ["part.p_partkey"], "Filter": "((part.p_name)::text ~~ 'floral%'::text)"}]}, {"Node Type": "Index Scan", "Parent Relationship": "Inner", "Parallel Aware": false, "Async Capable": false, "Scan Direction": "Forward", "Index Name": "ps_pk", "Relation Name": "partsupp", "Schema": "public", "Alias": "partsupp", "Startup Cost": 0.43, "Total Cost": 15.6, "Plan Rows": 2, "Plan Width": 8, "Output": ["partsupp.ps_partkey", "partsupp.ps_suppkey", "partsupp.ps_availqty", "partsupp.ps_supplycost", "partsupp.ps_comment"], "Index Cond": "(partsupp.ps_partkey = part.p_partkey)", "Filter": "((partsupp.ps_availqty)::numeric > (SubPlan 1))", "Plans": [{"Node Type": "Aggregate", "Strategy": "Plain", "Partial Mode": "Simple", "Parent Relationship": "SubPlan", "Subplan Name": "SubPlan 1", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 2.67, "Total Cost": 2.68, "Plan Rows": 1, "Plan Width": 32, "Output": ["(0.5 * sum(lineitem.l_quantity))"], "Plans": [{"Node Type": "Index Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Scan Direction": "Forward", "Index Name": "l_sk_pk", "Relation Name": "lineitem", "Schema": "public", "Alias": "lineitem", "Startup Cost": 0.44, "Total Cost": 2.67, "Plan Rows": 1, "Plan Width": 5, "Output": ["lineitem.l_orderkey", "lineitem.l_partkey", "lineitem.l_suppkey", "lineitem.l_linenumber", "lineitem.l_quantity", "lineitem.l_extendedprice", "lineitem.l_discount", "lineitem.l_tax", "lineitem.l_returnflag", "lineitem.l_linestatus", "lineitem.l_shipdate", "lineitem.l_commitdate", "lineitem.l_receiptdate", "lineitem.l_shipinstruct", "lineitem.l_shipmode", "lineitem.l_comment"], "Index Cond": "((lineitem.l_suppkey = partsupp.ps_suppkey) AND (lineitem.l_partkey = partsupp.ps_partkey))", "Filter": "((lineitem.l_shipdate >= '1996-01-01'::date) AND (lineitem.l_shipdate < '1997-01-01 00:00:00'::timestamp without time zone))"}]}]}]}]}]}]}} diff --git a/dev9/pg17/tpch/sf_10/explain/15721/21-1.ok b/dev9/pg17/tpch/sf_10/explain/15721/21-1.ok new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/dev9/pg17/tpch/sf_10/explain/15721/21-1.res b/dev9/pg17/tpch/sf_10/explain/15721/21-1.res new file mode 100644 index 0000000000000000000000000000000000000000..787b982cea6e806a80073406c687e7b10a537754 --- /dev/null +++ b/dev9/pg17/tpch/sf_10/explain/15721/21-1.res @@ -0,0 +1 @@ +{"Plan": {"Node Type": "Limit", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 405981.28, "Total Cost": 405981.28, "Plan Rows": 1, "Plan Width": 34, "Output": ["supplier.s_name", "(count(*))"], "Plans": [{"Node Type": "Sort", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 405981.28, "Total Cost": 405981.28, "Plan Rows": 1, "Plan Width": 34, "Output": ["supplier.s_name", "(count(*))"], "Sort Key": ["(count(*)) DESC", "supplier.s_name"], "Plans": [{"Node Type": "Aggregate", "Strategy": "Sorted", "Partial Mode": "Simple", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 405981.25, "Total Cost": 405981.27, "Plan Rows": 1, "Plan Width": 34, "Output": ["supplier.s_name", "count(*)"], "Group Key": ["supplier.s_name"], "Plans": [{"Node Type": "Sort", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 405981.25, "Total Cost": 405981.25, "Plan Rows": 1, "Plan Width": 26, "Output": ["supplier.s_name"], "Sort Key": ["supplier.s_name"], "Plans": [{"Node Type": "Nested Loop", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Join Type": "Inner", "Startup Cost": 1003.33, "Total Cost": 405981.24, "Plan Rows": 1, "Plan Width": 26, "Output": ["supplier.s_name"], "Inner Unique": true, "Plans": [{"Node Type": "Nested Loop", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Join Type": "Semi", "Startup Cost": 1002.9, "Total Cost": 405980.76, "Plan Rows": 1, "Plan Width": 34, "Output": ["supplier.s_name", "l1.l_orderkey", "l2.l_orderkey"], "Inner Unique": false, "Plans": [{"Node Type": "Gather", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 1002.33, "Total Cost": 405979.53, "Plan Rows": 1, "Plan Width": 34, "Output": ["supplier.s_name", "l1.l_suppkey", "l1.l_orderkey"], "Workers Planned": 1, "Single Copy": false, "Plans": [{"Node Type": "Nested Loop", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Join Type": "Anti", "Startup Cost": 2.33, "Total Cost": 404979.43, "Plan Rows": 1, "Plan Width": 34, "Output": ["supplier.s_name", "l1.l_suppkey", "l1.l_orderkey"], "Inner Unique": false, "Plans": [{"Node Type": "Nested Loop", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Join Type": "Inner", "Startup Cost": 1.76, "Total Cost": 67846.14, "Plan Rows": 470468, "Plan Width": 34, "Output": ["supplier.s_name", "l1.l_suppkey", "l1.l_orderkey"], "Inner Unique": false, "Plans": [{"Node Type": "Hash Join", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Join Type": "Inner", "Startup Cost": 1.32, "Total Cost": 2989.15, "Plan Rows": 2353, "Plan Width": 30, "Output": ["supplier.s_name", "supplier.s_suppkey"], "Inner Unique": true, "Hash Cond": "(supplier.s_nationkey = nation.n_nationkey)", "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": true, "Async Capable": false, "Relation Name": "supplier", "Schema": "public", "Alias": "supplier", "Startup Cost": 0.0, "Total Cost": 2807.24, "Plan Rows": 58824, "Plan Width": 34, "Output": ["supplier.s_suppkey", "supplier.s_name", "supplier.s_address", "supplier.s_nationkey", "supplier.s_phone", "supplier.s_acctbal", "supplier.s_comment"]}, {"Node Type": "Hash", "Parent Relationship": "Inner", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 1.31, "Total Cost": 1.31, "Plan Rows": 1, "Plan Width": 4, "Output": ["nation.n_nationkey"], "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Relation Name": "nation", "Schema": "public", "Alias": "nation", "Startup Cost": 0.0, "Total Cost": 1.31, "Plan Rows": 1, "Plan Width": 4, "Output": ["nation.n_nationkey"], "Filter": "(nation.n_name = 'CHINA'::bpchar)"}]}]}, {"Node Type": "Index Scan", "Parent Relationship": "Inner", "Parallel Aware": false, "Async Capable": false, "Scan Direction": "Forward", "Index Name": "l_sk_pk", "Relation Name": "lineitem", "Schema": "public", "Alias": "l1", "Startup Cost": 0.44, "Total Cost": 25.55, "Plan Rows": 201, "Plan Width": 8, "Output": ["l1.l_orderkey", "l1.l_partkey", "l1.l_suppkey", "l1.l_linenumber", "l1.l_quantity", "l1.l_extendedprice", "l1.l_discount", "l1.l_tax", "l1.l_returnflag", "l1.l_linestatus", "l1.l_shipdate", "l1.l_commitdate", "l1.l_receiptdate", "l1.l_shipinstruct", "l1.l_shipmode", "l1.l_comment"], "Index Cond": "(l1.l_suppkey = supplier.s_suppkey)", "Filter": "(l1.l_receiptdate > l1.l_commitdate)"}]}, {"Node Type": "Index Scan", "Parent Relationship": "Inner", "Parallel Aware": false, "Async Capable": false, "Scan Direction": "Forward", "Index Name": "l_ok", "Relation Name": "lineitem", "Schema": "public", "Alias": "l3", "Startup Cost": 0.56, "Total Cost": 1.28, "Plan Rows": 10, "Plan Width": 8, "Output": ["l3.l_orderkey", "l3.l_partkey", "l3.l_suppkey", "l3.l_linenumber", "l3.l_quantity", "l3.l_extendedprice", "l3.l_discount", "l3.l_tax", "l3.l_returnflag", "l3.l_linestatus", "l3.l_shipdate", "l3.l_commitdate", "l3.l_receiptdate", "l3.l_shipinstruct", "l3.l_shipmode", "l3.l_comment"], "Index Cond": "(l3.l_orderkey = l1.l_orderkey)", "Filter": "((l3.l_receiptdate > l3.l_commitdate) AND (l3.l_suppkey <> l1.l_suppkey))"}]}]}, {"Node Type": "Index Scan", "Parent Relationship": "Inner", "Parallel Aware": false, "Async Capable": false, "Scan Direction": "Forward", "Index Name": "l_ok", "Relation Name": "lineitem", "Schema": "public", "Alias": "l2", "Startup Cost": 0.56, "Total Cost": 1.21, "Plan Rows": 29, "Plan Width": 8, "Output": ["l2.l_orderkey", "l2.l_partkey", "l2.l_suppkey", "l2.l_linenumber", "l2.l_quantity", "l2.l_extendedprice", "l2.l_discount", "l2.l_tax", "l2.l_returnflag", "l2.l_linestatus", "l2.l_shipdate", "l2.l_commitdate", "l2.l_receiptdate", "l2.l_shipinstruct", "l2.l_shipmode", "l2.l_comment"], "Index Cond": "(l2.l_orderkey = l1.l_orderkey)", "Filter": "(l2.l_suppkey <> l1.l_suppkey)"}]}, {"Node Type": "Index Scan", "Parent Relationship": "Inner", "Parallel Aware": false, "Async Capable": false, "Scan Direction": "Forward", "Index Name": "o_ok", "Relation Name": "orders", "Schema": "public", "Alias": "orders", "Startup Cost": 0.43, "Total Cost": 0.47, "Plan Rows": 1, "Plan Width": 4, "Output": ["orders.o_orderkey", "orders.o_custkey", "orders.o_orderstatus", "orders.o_totalprice", "orders.o_orderdate", "orders.o_orderpriority", "orders.o_clerk", "orders.o_shippriority", "orders.o_comment"], "Index Cond": "(orders.o_orderkey = l1.l_orderkey)", "Filter": "(orders.o_orderstatus = 'F'::bpchar)"}]}]}]}]}]}} diff --git a/dev9/pg17/tpch/sf_10/explain/15721/22-1.ok b/dev9/pg17/tpch/sf_10/explain/15721/22-1.ok new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/dev9/pg17/tpch/sf_10/explain/15721/22-1.res b/dev9/pg17/tpch/sf_10/explain/15721/22-1.res new file mode 100644 index 0000000000000000000000000000000000000000..0f8e4aad9d70c40b176a60bb7939ca91d578d97f --- /dev/null +++ b/dev9/pg17/tpch/sf_10/explain/15721/22-1.res @@ -0,0 +1 @@ +{"Plan": {"Node Type": "Aggregate", "Strategy": "Sorted", "Partial Mode": "Simple", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 96010.3, "Total Cost": 97077.14, "Plan Rows": 7371, "Plan Width": 72, "Output": ["(SUBSTRING(customer.c_phone FROM 1 FOR 2))", "count(*)", "sum(customer.c_acctbal)"], "Group Key": ["(SUBSTRING(customer.c_phone FROM 1 FOR 2))"], "Plans": [{"Node Type": "Aggregate", "Strategy": "Plain", "Partial Mode": "Finalize", "Parent Relationship": "InitPlan", "Subplan Name": "InitPlan 1", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 46798.04, "Total Cost": 46798.05, "Plan Rows": 1, "Plan Width": 32, "Output": ["avg(customer_1.c_acctbal)"], "Plans": [{"Node Type": "Gather", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 46797.6, "Total Cost": 46798.01, "Plan Rows": 4, "Plan Width": 32, "Output": ["(PARTIAL avg(customer_1.c_acctbal))"], "Workers Planned": 4, "Single Copy": false, "Plans": [{"Node Type": "Aggregate", "Strategy": "Plain", "Partial Mode": "Partial", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 45797.6, "Total Cost": 45797.61, "Plan Rows": 1, "Plan Width": 32, "Output": ["PARTIAL avg(customer_1.c_acctbal)"], "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": true, "Async Capable": false, "Relation Name": "customer", "Schema": "public", "Alias": "customer_1", "Startup Cost": 0.0, "Total Cost": 45767.75, "Plan Rows": 11940, "Plan Width": 6, "Output": ["customer_1.c_custkey", "customer_1.c_name", "customer_1.c_address", "customer_1.c_nationkey", "customer_1.c_phone", "customer_1.c_acctbal", "customer_1.c_mktsegment", "customer_1.c_comment"], "Filter": "((customer_1.c_acctbal > 0.00) AND (SUBSTRING(customer_1.c_phone FROM 1 FOR 2) = ANY ('{17,20,25,31,30,11,33}'::text[])))"}]}]}]}, {"Node Type": "Gather Merge", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 49212.26, "Total Cost": 50094.82, "Plan Rows": 7371, "Plan Width": 38, "Output": ["(SUBSTRING(customer.c_phone FROM 1 FOR 2))", "customer.c_acctbal"], "Workers Planned": 4, "Plans": [{"Node Type": "Sort", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 48212.2, "Total Cost": 48216.81, "Plan Rows": 1843, "Plan Width": 38, "Output": ["(SUBSTRING(customer.c_phone FROM 1 FOR 2))", "customer.c_acctbal"], "Sort Key": ["(SUBSTRING(customer.c_phone FROM 1 FOR 2))"], "Plans": [{"Node Type": "Nested Loop", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Join Type": "Anti", "Startup Cost": 0.43, "Total Cost": 48112.24, "Plan Rows": 1843, "Plan Width": 38, "Output": ["SUBSTRING(customer.c_phone FROM 1 FOR 2)", "customer.c_acctbal"], "Inner Unique": false, "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": true, "Async Capable": false, "Relation Name": "customer", "Schema": "public", "Alias": "customer", "Startup Cost": 0.0, "Total Cost": 45767.75, "Plan Rows": 4375, "Plan Width": 26, "Output": ["customer.c_custkey", "customer.c_name", "customer.c_address", "customer.c_nationkey", "customer.c_phone", "customer.c_acctbal", "customer.c_mktsegment", "customer.c_comment"], "Filter": "((customer.c_acctbal > (InitPlan 1).col1) AND (SUBSTRING(customer.c_phone FROM 1 FOR 2) = ANY ('{17,20,25,31,30,11,33}'::text[])))"}, {"Node Type": "Index Only Scan", "Parent Relationship": "Inner", "Parallel Aware": false, "Async Capable": false, "Scan Direction": "Forward", "Index Name": "o_ck", "Relation Name": "orders", "Schema": "public", "Alias": "orders", "Startup Cost": 0.43, "Total Cost": 1.43, "Plan Rows": 17, "Plan Width": 4, "Output": ["orders.o_custkey"], "Index Cond": "(orders.o_custkey = customer.c_custkey)"}]}]}]}]}} diff --git a/dev9/pg17/tpch/sf_10/explain/15721/3-1.ok b/dev9/pg17/tpch/sf_10/explain/15721/3-1.ok new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/dev9/pg17/tpch/sf_10/explain/15721/3-1.res b/dev9/pg17/tpch/sf_10/explain/15721/3-1.res new file mode 100644 index 0000000000000000000000000000000000000000..7e99467dc665f64dcde249f31e1740a85c28df23 --- /dev/null +++ b/dev9/pg17/tpch/sf_10/explain/15721/3-1.res @@ -0,0 +1 @@ +{"Plan": {"Node Type": "Limit", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 1340344.59, "Total Cost": 1340344.61, "Plan Rows": 10, "Plan Width": 44, "Output": ["lineitem.l_orderkey", "(sum((lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount))))", "orders.o_orderdate", "orders.o_shippriority"], "Plans": [{"Node Type": "Sort", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 1340344.59, "Total Cost": 1348188.36, "Plan Rows": 3137510, "Plan Width": 44, "Output": ["lineitem.l_orderkey", "(sum((lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount))))", "orders.o_orderdate", "orders.o_shippriority"], "Sort Key": ["(sum((lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount)))) DESC", "orders.o_orderdate"], "Plans": [{"Node Type": "Aggregate", "Strategy": "Sorted", "Partial Mode": "Simple", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 810593.97, "Total Cost": 1272544.12, "Plan Rows": 3137510, "Plan Width": 44, "Output": ["lineitem.l_orderkey", "sum((lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount)))", "orders.o_orderdate", "orders.o_shippriority"], "Group Key": ["lineitem.l_orderkey", "orders.o_orderdate", "orders.o_shippriority"], "Plans": [{"Node Type": "Gather Merge", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 810593.97, "Total Cost": 1186262.6, "Plan Rows": 3137510, "Plan Width": 24, "Output": ["lineitem.l_orderkey", "orders.o_orderdate", "orders.o_shippriority", "lineitem.l_extendedprice", "lineitem.l_discount"], "Workers Planned": 4, "Plans": [{"Node Type": "Sort", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 809593.91, "Total Cost": 811554.85, "Plan Rows": 784378, "Plan Width": 24, "Output": ["lineitem.l_orderkey", "orders.o_orderdate", "orders.o_shippriority", "lineitem.l_extendedprice", "lineitem.l_discount"], "Sort Key": ["lineitem.l_orderkey", "orders.o_orderdate", "orders.o_shippriority"], "Plans": [{"Node Type": "Nested Loop", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Join Type": "Inner", "Startup Cost": 1.0, "Total Cost": 723376.84, "Plan Rows": 784378, "Plan Width": 24, "Output": ["lineitem.l_orderkey", "orders.o_orderdate", "orders.o_shippriority", "lineitem.l_extendedprice", "lineitem.l_discount"], "Inner Unique": false, "Plans": [{"Node Type": "Nested Loop", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Join Type": "Inner", "Startup Cost": 0.43, "Total Cost": 180469.64, "Plan Rows": 364864, "Plan Width": 12, "Output": ["orders.o_orderdate", "orders.o_shippriority", "orders.o_orderkey"], "Inner Unique": false, "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": true, "Async Capable": false, "Relation Name": "customer", "Schema": "public", "Alias": "customer", "Startup Cost": 0.0, "Total Cost": 40611.5, "Plan Rows": 74612, "Plan Width": 4, "Output": ["customer.c_custkey", "customer.c_name", "customer.c_address", "customer.c_nationkey", "customer.c_phone", "customer.c_acctbal", "customer.c_mktsegment", "customer.c_comment"], "Filter": "(customer.c_mktsegment = 'FURNITURE'::bpchar)"}, {"Node Type": "Index Scan", "Parent Relationship": "Inner", "Parallel Aware": false, "Async Capable": false, "Scan Direction": "Forward", "Index Name": "o_ck", "Relation Name": "orders", "Schema": "public", "Alias": "orders", "Startup Cost": 0.43, "Total Cost": 1.79, "Plan Rows": 8, "Plan Width": 16, "Output": ["orders.o_orderkey", "orders.o_custkey", "orders.o_orderstatus", "orders.o_totalprice", "orders.o_orderdate", "orders.o_orderpriority", "orders.o_clerk", "orders.o_shippriority", "orders.o_comment"], "Index Cond": "(orders.o_custkey = customer.c_custkey)", "Filter": "(orders.o_orderdate < '1995-03-20'::date)"}]}, {"Node Type": "Index Scan", "Parent Relationship": "Inner", "Parallel Aware": false, "Async Capable": false, "Scan Direction": "Forward", "Index Name": "l_ok", "Relation Name": "lineitem", "Schema": "public", "Alias": "lineitem", "Startup Cost": 0.56, "Total Cost": 1.33, "Plan Rows": 16, "Plan Width": 16, "Output": ["lineitem.l_orderkey", "lineitem.l_partkey", "lineitem.l_suppkey", "lineitem.l_linenumber", "lineitem.l_quantity", "lineitem.l_extendedprice", "lineitem.l_discount", "lineitem.l_tax", "lineitem.l_returnflag", "lineitem.l_linestatus", "lineitem.l_shipdate", "lineitem.l_commitdate", "lineitem.l_receiptdate", "lineitem.l_shipinstruct", "lineitem.l_shipmode", "lineitem.l_comment"], "Index Cond": "(lineitem.l_orderkey = orders.o_orderkey)", "Filter": "(lineitem.l_shipdate > '1995-03-20'::date)"}]}]}]}]}]}]}} diff --git a/dev9/pg17/tpch/sf_10/explain/15721/4-1.ok b/dev9/pg17/tpch/sf_10/explain/15721/4-1.ok new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/dev9/pg17/tpch/sf_10/explain/15721/4-1.res b/dev9/pg17/tpch/sf_10/explain/15721/4-1.res new file mode 100644 index 0000000000000000000000000000000000000000..388f7da73403561180fb37cd670382403f4cb409 --- /dev/null +++ b/dev9/pg17/tpch/sf_10/explain/15721/4-1.res @@ -0,0 +1 @@ +{"Plan": {"Node Type": "Aggregate", "Strategy": "Sorted", "Partial Mode": "Finalize", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 353341.11, "Total Cost": 353441.97, "Plan Rows": 5, "Plan Width": 24, "Output": ["orders.o_orderpriority", "count(*)"], "Group Key": ["orders.o_orderpriority"], "Plans": [{"Node Type": "Gather Merge", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 353341.11, "Total Cost": 353441.77, "Plan Rows": 30, "Plan Width": 24, "Output": ["orders.o_orderpriority", "(PARTIAL count(*))"], "Workers Planned": 6, "Plans": [{"Node Type": "Aggregate", "Strategy": "Sorted", "Partial Mode": "Partial", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 352341.01, "Total Cost": 352438.02, "Plan Rows": 5, "Plan Width": 24, "Output": ["orders.o_orderpriority", "PARTIAL count(*)"], "Group Key": ["orders.o_orderpriority"], "Plans": [{"Node Type": "Sort", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 352341.01, "Total Cost": 352373.33, "Plan Rows": 12928, "Plan Width": 16, "Output": ["orders.o_orderpriority"], "Sort Key": ["orders.o_orderpriority"], "Plans": [{"Node Type": "Nested Loop", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Join Type": "Semi", "Startup Cost": 6392.43, "Total Cost": 351458.14, "Plan Rows": 12928, "Plan Width": 16, "Output": ["orders.o_orderpriority"], "Inner Unique": false, "Plans": [{"Node Type": "Bitmap Heap Scan", "Parent Relationship": "Outer", "Parallel Aware": true, "Async Capable": false, "Relation Name": "orders", "Schema": "public", "Alias": "orders", "Startup Cost": 6391.86, "Total Cost": 269030.55, "Plan Rows": 95179, "Plan Width": 20, "Output": ["orders.o_orderkey", "orders.o_custkey", "orders.o_orderstatus", "orders.o_totalprice", "orders.o_orderdate", "orders.o_orderpriority", "orders.o_clerk", "orders.o_shippriority", "orders.o_comment"], "Recheck Cond": "((orders.o_orderdate >= '1996-01-01'::date) AND (orders.o_orderdate < '1996-04-01 00:00:00'::timestamp without time zone))", "Plans": [{"Node Type": "Bitmap Index Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Index Name": "o_od", "Startup Cost": 0.0, "Total Cost": 6249.1, "Plan Rows": 571076, "Plan Width": 0, "Index Cond": "((orders.o_orderdate >= '1996-01-01'::date) AND (orders.o_orderdate < '1996-04-01 00:00:00'::timestamp without time zone))"}]}, {"Node Type": "Index Scan", "Parent Relationship": "Inner", "Parallel Aware": false, "Async Capable": false, "Scan Direction": "Forward", "Index Name": "l_ok", "Relation Name": "lineitem", "Schema": "public", "Alias": "lineitem", "Startup Cost": 0.56, "Total Cost": 3.24, "Plan Rows": 10, "Plan Width": 4, "Output": ["lineitem.l_orderkey", "lineitem.l_partkey", "lineitem.l_suppkey", "lineitem.l_linenumber", "lineitem.l_quantity", "lineitem.l_extendedprice", "lineitem.l_discount", "lineitem.l_tax", "lineitem.l_returnflag", "lineitem.l_linestatus", "lineitem.l_shipdate", "lineitem.l_commitdate", "lineitem.l_receiptdate", "lineitem.l_shipinstruct", "lineitem.l_shipmode", "lineitem.l_comment"], "Index Cond": "(lineitem.l_orderkey = orders.o_orderkey)", "Filter": "(lineitem.l_commitdate < lineitem.l_receiptdate)"}]}]}]}]}]}} diff --git a/dev9/pg17/tpch/sf_10/explain/15721/5-1.ok b/dev9/pg17/tpch/sf_10/explain/15721/5-1.ok new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/dev9/pg17/tpch/sf_10/explain/15721/5-1.res b/dev9/pg17/tpch/sf_10/explain/15721/5-1.res new file mode 100644 index 0000000000000000000000000000000000000000..0e34936f469f05fdc87980d6663a0a0b74ee8c25 --- /dev/null +++ b/dev9/pg17/tpch/sf_10/explain/15721/5-1.res @@ -0,0 +1 @@ +{"Plan": {"Node Type": "Sort", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 349759.31, "Total Cost": 349759.37, "Plan Rows": 25, "Plan Width": 58, "Output": ["nation.n_name", "(sum((lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount))))"], "Sort Key": ["(sum((lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount)))) DESC"], "Plans": [{"Node Type": "Aggregate", "Strategy": "Sorted", "Partial Mode": "Finalize", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 349520.22, "Total Cost": 349758.73, "Plan Rows": 25, "Plan Width": 58, "Output": ["nation.n_name", "sum((lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount)))"], "Group Key": ["nation.n_name"], "Plans": [{"Node Type": "Gather Merge", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 349520.22, "Total Cost": 349757.67, "Plan Rows": 100, "Plan Width": 58, "Output": ["nation.n_name", "(PARTIAL sum((lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount))))"], "Workers Planned": 4, "Plans": [{"Node Type": "Aggregate", "Strategy": "Sorted", "Partial Mode": "Partial", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 348520.16, "Total Cost": 348745.7, "Plan Rows": 25, "Plan Width": 58, "Output": ["nation.n_name", "PARTIAL sum((lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount)))"], "Group Key": ["nation.n_name"], "Plans": [{"Node Type": "Sort", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 348520.16, "Total Cost": 348565.21, "Plan Rows": 18018, "Plan Width": 38, "Output": ["nation.n_name", "lineitem.l_extendedprice", "lineitem.l_discount"], "Sort Key": ["nation.n_name"], "Plans": [{"Node Type": "Hash Join", "Parent Relationship": "Outer", "Parallel Aware": true, "Async Capable": false, "Join Type": "Inner", "Startup Cost": 3693.1, "Total Cost": 347246.54, "Plan Rows": 18018, "Plan Width": 38, "Output": ["nation.n_name", "lineitem.l_extendedprice", "lineitem.l_discount"], "Inner Unique": true, "Hash Cond": "((lineitem.l_suppkey = supplier.s_suppkey) AND (customer.c_nationkey = supplier.s_nationkey))", "Plans": [{"Node Type": "Nested Loop", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Join Type": "Inner", "Startup Cost": 3.51, "Total Cost": 341192.05, "Plan Rows": 450457, "Plan Width": 50, "Output": ["customer.c_nationkey", "lineitem.l_extendedprice", "lineitem.l_discount", "lineitem.l_suppkey", "nation.n_name", "nation.n_nationkey"], "Inner Unique": false, "Plans": [{"Node Type": "Nested Loop", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Join Type": "Inner", "Startup Cost": 2.94, "Total Cost": 120608.37, "Plan Rows": 112644, "Plan Width": 38, "Output": ["customer.c_nationkey", "orders.o_orderkey", "nation.n_name", "nation.n_nationkey"], "Inner Unique": false, "Plans": [{"Node Type": "Hash Join", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Join Type": "Inner", "Startup Cost": 2.51, "Total Cost": 41832.76, "Plan Rows": 75000, "Plan Width": 38, "Output": ["customer.c_custkey", "customer.c_nationkey", "nation.n_name", "nation.n_nationkey"], "Inner Unique": false, "Hash Cond": "(customer.c_nationkey = nation.n_nationkey)", "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": true, "Async Capable": false, "Relation Name": "customer", "Schema": "public", "Alias": "customer", "Startup Cost": 0.0, "Total Cost": 39674.0, "Plan Rows": 375000, "Plan Width": 8, "Output": ["customer.c_custkey", "customer.c_name", "customer.c_address", "customer.c_nationkey", "customer.c_phone", "customer.c_acctbal", "customer.c_mktsegment", "customer.c_comment"]}, {"Node Type": "Hash", "Parent Relationship": "Inner", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 2.45, "Total Cost": 2.45, "Plan Rows": 5, "Plan Width": 30, "Output": ["nation.n_name", "nation.n_nationkey"], "Plans": [{"Node Type": "Hash Join", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Join Type": "Inner", "Startup Cost": 1.07, "Total Cost": 2.45, "Plan Rows": 5, "Plan Width": 30, "Output": ["nation.n_name", "nation.n_nationkey"], "Inner Unique": true, "Hash Cond": "(nation.n_regionkey = region.r_regionkey)", "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Relation Name": "nation", "Schema": "public", "Alias": "nation", "Startup Cost": 0.0, "Total Cost": 1.25, "Plan Rows": 25, "Plan Width": 34, "Output": ["nation.n_nationkey", "nation.n_name", "nation.n_regionkey", "nation.n_comment"]}, {"Node Type": "Hash", "Parent Relationship": "Inner", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 1.06, "Total Cost": 1.06, "Plan Rows": 1, "Plan Width": 4, "Output": ["region.r_regionkey"], "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Relation Name": "region", "Schema": "public", "Alias": "region", "Startup Cost": 0.0, "Total Cost": 1.06, "Plan Rows": 1, "Plan Width": 4, "Output": ["region.r_regionkey"], "Filter": "(region.r_name = 'AMERICA'::bpchar)"}]}]}]}]}, {"Node Type": "Index Scan", "Parent Relationship": "Inner", "Parallel Aware": false, "Async Capable": false, "Scan Direction": "Forward", "Index Name": "o_ck", "Relation Name": "orders", "Schema": "public", "Alias": "orders", "Startup Cost": 0.43, "Total Cost": 1.02, "Plan Rows": 3, "Plan Width": 8, "Output": ["orders.o_orderkey", "orders.o_custkey", "orders.o_orderstatus", "orders.o_totalprice", "orders.o_orderdate", "orders.o_orderpriority", "orders.o_clerk", "orders.o_shippriority", "orders.o_comment"], "Index Cond": "(orders.o_custkey = customer.c_custkey)", "Filter": "((orders.o_orderdate >= '1995-01-01'::date) AND (orders.o_orderdate < '1996-01-01 00:00:00'::timestamp without time zone))"}]}, {"Node Type": "Index Scan", "Parent Relationship": "Inner", "Parallel Aware": false, "Async Capable": false, "Scan Direction": "Forward", "Index Name": "l_ok", "Relation Name": "lineitem", "Schema": "public", "Alias": "lineitem", "Startup Cost": 0.56, "Total Cost": 1.67, "Plan Rows": 29, "Plan Width": 20, "Output": ["lineitem.l_orderkey", "lineitem.l_partkey", "lineitem.l_suppkey", "lineitem.l_linenumber", "lineitem.l_quantity", "lineitem.l_extendedprice", "lineitem.l_discount", "lineitem.l_tax", "lineitem.l_returnflag", "lineitem.l_linestatus", "lineitem.l_shipdate", "lineitem.l_commitdate", "lineitem.l_receiptdate", "lineitem.l_shipinstruct", "lineitem.l_shipmode", "lineitem.l_comment"], "Index Cond": "(lineitem.l_orderkey = orders.o_orderkey)"}]}, {"Node Type": "Hash", "Parent Relationship": "Inner", "Parallel Aware": true, "Async Capable": false, "Startup Cost": 2807.24, "Total Cost": 2807.24, "Plan Rows": 58824, "Plan Width": 8, "Output": ["supplier.s_suppkey", "supplier.s_nationkey"], "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": true, "Async Capable": false, "Relation Name": "supplier", "Schema": "public", "Alias": "supplier", "Startup Cost": 0.0, "Total Cost": 2807.24, "Plan Rows": 58824, "Plan Width": 8, "Output": ["supplier.s_suppkey", "supplier.s_nationkey"]}]}]}]}]}]}]}]}} diff --git a/dev9/pg17/tpch/sf_10/explain/15721/6-1.ok b/dev9/pg17/tpch/sf_10/explain/15721/6-1.ok new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/dev9/pg17/tpch/sf_10/explain/15721/6-1.res b/dev9/pg17/tpch/sf_10/explain/15721/6-1.res new file mode 100644 index 0000000000000000000000000000000000000000..3d33aca8bb5c668f1031827d7e3d9394004e0423 --- /dev/null +++ b/dev9/pg17/tpch/sf_10/explain/15721/6-1.res @@ -0,0 +1 @@ +{"Plan": {"Node Type": "Aggregate", "Strategy": "Plain", "Partial Mode": "Finalize", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 1319712.72, "Total Cost": 1319712.73, "Plan Rows": 1, "Plan Width": 32, "Output": ["sum((l_extendedprice * l_discount))"], "Plans": [{"Node Type": "Gather", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 1319711.97, "Total Cost": 1319712.68, "Plan Rows": 7, "Plan Width": 32, "Output": ["(PARTIAL sum((l_extendedprice * l_discount)))"], "Workers Planned": 7, "Single Copy": false, "Plans": [{"Node Type": "Aggregate", "Strategy": "Plain", "Partial Mode": "Partial", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 1318711.97, "Total Cost": 1318711.98, "Plan Rows": 1, "Plan Width": 32, "Output": ["PARTIAL sum((l_extendedprice * l_discount))"], "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": true, "Async Capable": false, "Relation Name": "lineitem", "Schema": "public", "Alias": "lineitem", "Startup Cost": 0.0, "Total Cost": 1317899.8, "Plan Rows": 162435, "Plan Width": 12, "Output": ["l_orderkey", "l_partkey", "l_suppkey", "l_linenumber", "l_quantity", "l_extendedprice", "l_discount", "l_tax", "l_returnflag", "l_linestatus", "l_shipdate", "l_commitdate", "l_receiptdate", "l_shipinstruct", "l_shipmode", "l_comment"], "Filter": "((lineitem.l_shipdate >= '1995-01-01'::date) AND (lineitem.l_shipdate < '1996-01-01 00:00:00'::timestamp without time zone) AND (lineitem.l_discount >= 0.04) AND (lineitem.l_discount <= 0.06) AND (lineitem.l_quantity < '24'::numeric))"}]}]}]}} diff --git a/dev9/pg17/tpch/sf_10/explain/15721/7-1.ok b/dev9/pg17/tpch/sf_10/explain/15721/7-1.ok new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/dev9/pg17/tpch/sf_10/explain/15721/7-1.res b/dev9/pg17/tpch/sf_10/explain/15721/7-1.res new file mode 100644 index 0000000000000000000000000000000000000000..f010a3f0f55a753477f4b3a7e8525cc379ee765a --- /dev/null +++ b/dev9/pg17/tpch/sf_10/explain/15721/7-1.res @@ -0,0 +1 @@ +{"Plan": {"Node Type": "Aggregate", "Strategy": "Sorted", "Partial Mode": "Finalize", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 227330.5, "Total Cost": 233210.49, "Plan Rows": 10088, "Plan Width": 116, "Output": ["n1.n_name", "n2.n_name", "(EXTRACT(year FROM lineitem.l_shipdate))", "sum((lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount)))"], "Group Key": ["n1.n_name", "n2.n_name", "(EXTRACT(year FROM lineitem.l_shipdate))"], "Plans": [{"Node Type": "Gather Merge", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 227330.5, "Total Cost": 232554.77, "Plan Rows": 40352, "Plan Width": 116, "Output": ["n1.n_name", "n2.n_name", "(EXTRACT(year FROM lineitem.l_shipdate))", "(PARTIAL sum((lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount))))"], "Workers Planned": 4, "Plans": [{"Node Type": "Aggregate", "Strategy": "Sorted", "Partial Mode": "Partial", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 226330.45, "Total Cost": 226748.4, "Plan Rows": 10088, "Plan Width": 116, "Output": ["n1.n_name", "n2.n_name", "(EXTRACT(year FROM lineitem.l_shipdate))", "PARTIAL sum((lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount)))"], "Group Key": ["n1.n_name", "n2.n_name", "(EXTRACT(year FROM lineitem.l_shipdate))"], "Plans": [{"Node Type": "Sort", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 226330.45, "Total Cost": 226368.54, "Plan Rows": 15236, "Plan Width": 96, "Output": ["n1.n_name", "n2.n_name", "(EXTRACT(year FROM lineitem.l_shipdate))", "lineitem.l_extendedprice", "lineitem.l_discount"], "Sort Key": ["n1.n_name", "n2.n_name", "(EXTRACT(year FROM lineitem.l_shipdate))"], "Plans": [{"Node Type": "Hash Join", "Parent Relationship": "Outer", "Parallel Aware": true, "Async Capable": false, "Join Type": "Inner", "Startup Cost": 149779.17, "Total Cost": 225271.91, "Plan Rows": 15236, "Plan Width": 96, "Output": ["n1.n_name", "n2.n_name", "EXTRACT(year FROM lineitem.l_shipdate)", "lineitem.l_extendedprice", "lineitem.l_discount"], "Inner Unique": false, "Hash Cond": "(orders.o_orderkey = lineitem.l_orderkey)", "Join Filter": "(((n1.n_name = 'IRAN'::bpchar) AND (n2.n_name = 'ETHIOPIA'::bpchar)) OR ((n1.n_name = 'ETHIOPIA'::bpchar) AND (n2.n_name = 'IRAN'::bpchar)))", "Plans": [{"Node Type": "Nested Loop", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Join Type": "Inner", "Startup Cost": 1.83, "Total Cost": 73986.89, "Plan Rows": 300004, "Plan Width": 30, "Output": ["orders.o_orderkey", "n2.n_name"], "Inner Unique": false, "Plans": [{"Node Type": "Hash Join", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Join Type": "Inner", "Startup Cost": 1.4, "Total Cost": 40826.65, "Plan Rows": 30000, "Plan Width": 30, "Output": ["customer.c_custkey", "n2.n_name"], "Inner Unique": true, "Hash Cond": "(customer.c_nationkey = n2.n_nationkey)", "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": true, "Async Capable": false, "Relation Name": "customer", "Schema": "public", "Alias": "customer", "Startup Cost": 0.0, "Total Cost": 39674.0, "Plan Rows": 375000, "Plan Width": 8, "Output": ["customer.c_custkey", "customer.c_name", "customer.c_address", "customer.c_nationkey", "customer.c_phone", "customer.c_acctbal", "customer.c_mktsegment", "customer.c_comment"]}, {"Node Type": "Hash", "Parent Relationship": "Inner", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 1.38, "Total Cost": 1.38, "Plan Rows": 2, "Plan Width": 30, "Output": ["n2.n_name", "n2.n_nationkey"], "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Relation Name": "nation", "Schema": "public", "Alias": "n2", "Startup Cost": 0.0, "Total Cost": 1.38, "Plan Rows": 2, "Plan Width": 30, "Output": ["n2.n_name", "n2.n_nationkey"], "Filter": "((n2.n_name = 'ETHIOPIA'::bpchar) OR (n2.n_name = 'IRAN'::bpchar))"}]}]}, {"Node Type": "Index Scan", "Parent Relationship": "Inner", "Parallel Aware": false, "Async Capable": false, "Scan Direction": "Forward", "Index Name": "o_ck", "Relation Name": "orders", "Schema": "public", "Alias": "orders", "Startup Cost": 0.43, "Total Cost": 0.94, "Plan Rows": 17, "Plan Width": 8, "Output": ["orders.o_orderkey", "orders.o_custkey", "orders.o_orderstatus", "orders.o_totalprice", "orders.o_orderdate", "orders.o_orderpriority", "orders.o_clerk", "orders.o_shippriority", "orders.o_comment"], "Index Cond": "(orders.o_custkey = customer.c_custkey)"}]}, {"Node Type": "Hash", "Parent Relationship": "Inner", "Parallel Aware": true, "Async Capable": false, "Startup Cost": 139009.24, "Total Cost": 139009.24, "Plan Rows": 861447, "Plan Width": 46, "Output": ["lineitem.l_shipdate", "lineitem.l_extendedprice", "lineitem.l_discount", "lineitem.l_orderkey", "n1.n_name"], "Plans": [{"Node Type": "Nested Loop", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Join Type": "Inner", "Startup Cost": 1.84, "Total Cost": 139009.24, "Plan Rows": 861447, "Plan Width": 46, "Output": ["lineitem.l_shipdate", "lineitem.l_extendedprice", "lineitem.l_discount", "lineitem.l_orderkey", "n1.n_name"], "Inner Unique": false, "Plans": [{"Node Type": "Hash Join", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Join Type": "Inner", "Startup Cost": 1.4, "Total Cost": 2989.23, "Plan Rows": 4706, "Plan Width": 30, "Output": ["supplier.s_suppkey", "n1.n_name"], "Inner Unique": true, "Hash Cond": "(supplier.s_nationkey = n1.n_nationkey)", "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": true, "Async Capable": false, "Relation Name": "supplier", "Schema": "public", "Alias": "supplier", "Startup Cost": 0.0, "Total Cost": 2807.24, "Plan Rows": 58824, "Plan Width": 8, "Output": ["supplier.s_suppkey", "supplier.s_name", "supplier.s_address", "supplier.s_nationkey", "supplier.s_phone", "supplier.s_acctbal", "supplier.s_comment"]}, {"Node Type": "Hash", "Parent Relationship": "Inner", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 1.38, "Total Cost": 1.38, "Plan Rows": 2, "Plan Width": 30, "Output": ["n1.n_name", "n1.n_nationkey"], "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Relation Name": "nation", "Schema": "public", "Alias": "n1", "Startup Cost": 0.0, "Total Cost": 1.38, "Plan Rows": 2, "Plan Width": 30, "Output": ["n1.n_name", "n1.n_nationkey"], "Filter": "((n1.n_name = 'IRAN'::bpchar) OR (n1.n_name = 'ETHIOPIA'::bpchar))"}]}]}, {"Node Type": "Index Scan", "Parent Relationship": "Inner", "Parallel Aware": false, "Async Capable": false, "Scan Direction": "Forward", "Index Name": "l_sk_pk", "Relation Name": "lineitem", "Schema": "public", "Alias": "lineitem", "Startup Cost": 0.44, "Total Cost": 27.06, "Plan Rows": 184, "Plan Width": 24, "Output": ["lineitem.l_orderkey", "lineitem.l_partkey", "lineitem.l_suppkey", "lineitem.l_linenumber", "lineitem.l_quantity", "lineitem.l_extendedprice", "lineitem.l_discount", "lineitem.l_tax", "lineitem.l_returnflag", "lineitem.l_linestatus", "lineitem.l_shipdate", "lineitem.l_commitdate", "lineitem.l_receiptdate", "lineitem.l_shipinstruct", "lineitem.l_shipmode", "lineitem.l_comment"], "Index Cond": "(lineitem.l_suppkey = supplier.s_suppkey)", "Filter": "((lineitem.l_shipdate >= '1995-01-01'::date) AND (lineitem.l_shipdate <= '1996-12-31'::date))"}]}]}]}]}]}]}]}} diff --git a/dev9/pg17/tpch/sf_10/explain/15721/8-1.ok b/dev9/pg17/tpch/sf_10/explain/15721/8-1.ok new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/dev9/pg17/tpch/sf_10/explain/15721/8-1.res b/dev9/pg17/tpch/sf_10/explain/15721/8-1.res new file mode 100644 index 0000000000000000000000000000000000000000..5a38b3f825bad3689b4ea17183ab21926cecbb85 --- /dev/null +++ b/dev9/pg17/tpch/sf_10/explain/15721/8-1.res @@ -0,0 +1 @@ +{"Plan": {"Node Type": "Aggregate", "Strategy": "Sorted", "Partial Mode": "Finalize", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 220465.62, "Total Cost": 221963.9, "Plan Rows": 2406, "Plan Width": 64, "Output": ["(EXTRACT(year FROM orders.o_orderdate))", "(sum(CASE WHEN (n2.n_name = 'ETHIOPIA'::bpchar) THEN (lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount)) ELSE '0'::numeric END) / sum((lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount))))"], "Group Key": ["(EXTRACT(year FROM orders.o_orderdate))"], "Plans": [{"Node Type": "Gather Merge", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 220465.62, "Total Cost": 221795.48, "Plan Rows": 9624, "Plan Width": 96, "Output": ["(EXTRACT(year FROM orders.o_orderdate))", "(PARTIAL sum(CASE WHEN (n2.n_name = 'ETHIOPIA'::bpchar) THEN (lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount)) ELSE '0'::numeric END))", "(PARTIAL sum((lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount))))"], "Workers Planned": 4, "Plans": [{"Node Type": "Aggregate", "Strategy": "Sorted", "Partial Mode": "Partial", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 219465.57, "Total Cost": 219649.11, "Plan Rows": 2406, "Plan Width": 96, "Output": ["(EXTRACT(year FROM orders.o_orderdate))", "PARTIAL sum(CASE WHEN (n2.n_name = 'ETHIOPIA'::bpchar) THEN (lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount)) ELSE '0'::numeric END)", "PARTIAL sum((lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount)))"], "Group Key": ["(EXTRACT(year FROM orders.o_orderdate))"], "Plans": [{"Node Type": "Sort", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 219465.57, "Total Cost": 219481.28, "Plan Rows": 6286, "Plan Width": 70, "Output": ["(EXTRACT(year FROM orders.o_orderdate))", "n2.n_name", "lineitem.l_extendedprice", "lineitem.l_discount"], "Sort Key": ["(EXTRACT(year FROM orders.o_orderdate))"], "Plans": [{"Node Type": "Hash Join", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Join Type": "Inner", "Startup Cost": 5.67, "Total Cost": 219068.98, "Plan Rows": 6286, "Plan Width": 70, "Output": ["EXTRACT(year FROM orders.o_orderdate)", "n2.n_name", "lineitem.l_extendedprice", "lineitem.l_discount"], "Inner Unique": true, "Hash Cond": "(supplier.s_nationkey = n2.n_nationkey)", "Plans": [{"Node Type": "Nested Loop", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Join Type": "Inner", "Startup Cost": 4.1, "Total Cost": 219032.41, "Plan Rows": 6286, "Plan Width": 20, "Output": ["lineitem.l_extendedprice", "lineitem.l_discount", "supplier.s_nationkey", "orders.o_orderdate"], "Inner Unique": true, "Plans": [{"Node Type": "Hash Join", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Join Type": "Inner", "Startup Cost": 3.81, "Total Cost": 217083.47, "Plan Rows": 6286, "Plan Width": 20, "Output": ["lineitem.l_extendedprice", "lineitem.l_discount", "lineitem.l_suppkey", "orders.o_orderdate"], "Inner Unique": false, "Hash Cond": "(customer.c_nationkey = n1.n_nationkey)", "Plans": [{"Node Type": "Nested Loop", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Join Type": "Inner", "Startup Cost": 1.3, "Total Cost": 216900.23, "Plan Rows": 31431, "Plan Width": 24, "Output": ["lineitem.l_extendedprice", "lineitem.l_discount", "lineitem.l_suppkey", "orders.o_orderdate", "customer.c_nationkey"], "Inner Unique": true, "Plans": [{"Node Type": "Nested Loop", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Join Type": "Inner", "Startup Cost": 0.88, "Total Cost": 202607.86, "Plan Rows": 31431, "Plan Width": 24, "Output": ["lineitem.l_extendedprice", "lineitem.l_discount", "lineitem.l_suppkey", "orders.o_orderdate", "orders.o_custkey"], "Inner Unique": true, "Plans": [{"Node Type": "Nested Loop", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Join Type": "Inner", "Startup Cost": 0.44, "Total Cost": 154417.44, "Plan Rows": 104073, "Plan Width": 20, "Output": ["lineitem.l_extendedprice", "lineitem.l_discount", "lineitem.l_suppkey", "lineitem.l_orderkey"], "Inner Unique": false, "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": true, "Async Capable": false, "Relation Name": "part", "Schema": "public", "Alias": "part", "Startup Cost": 0.0, "Total Cost": 47211.0, "Plan Rows": 3470, "Plan Width": 4, "Output": ["part.p_partkey", "part.p_name", "part.p_mfgr", "part.p_brand", "part.p_type", "part.p_size", "part.p_container", "part.p_retailprice", "part.p_comment"], "Filter": "((part.p_type)::text = 'SMALL BRUSHED NICKEL'::text)"}, {"Node Type": "Index Scan", "Parent Relationship": "Inner", "Parallel Aware": false, "Async Capable": false, "Scan Direction": "Forward", "Index Name": "l_pk", "Relation Name": "lineitem", "Schema": "public", "Alias": "lineitem", "Startup Cost": 0.44, "Total Cost": 30.59, "Plan Rows": 31, "Plan Width": 24, "Output": ["lineitem.l_orderkey", "lineitem.l_partkey", "lineitem.l_suppkey", "lineitem.l_linenumber", "lineitem.l_quantity", "lineitem.l_extendedprice", "lineitem.l_discount", "lineitem.l_tax", "lineitem.l_returnflag", "lineitem.l_linestatus", "lineitem.l_shipdate", "lineitem.l_commitdate", "lineitem.l_receiptdate", "lineitem.l_shipinstruct", "lineitem.l_shipmode", "lineitem.l_comment"], "Index Cond": "(lineitem.l_partkey = part.p_partkey)"}]}, {"Node Type": "Index Scan", "Parent Relationship": "Inner", "Parallel Aware": false, "Async Capable": false, "Scan Direction": "Forward", "Index Name": "o_ok", "Relation Name": "orders", "Schema": "public", "Alias": "orders", "Startup Cost": 0.43, "Total Cost": 0.46, "Plan Rows": 1, "Plan Width": 12, "Output": ["orders.o_orderkey", "orders.o_custkey", "orders.o_orderstatus", "orders.o_totalprice", "orders.o_orderdate", "orders.o_orderpriority", "orders.o_clerk", "orders.o_shippriority", "orders.o_comment"], "Index Cond": "(orders.o_orderkey = lineitem.l_orderkey)", "Filter": "((orders.o_orderdate >= '1995-01-01'::date) AND (orders.o_orderdate <= '1996-12-31'::date))"}]}, {"Node Type": "Index Scan", "Parent Relationship": "Inner", "Parallel Aware": false, "Async Capable": false, "Scan Direction": "Forward", "Index Name": "c_ck", "Relation Name": "customer", "Schema": "public", "Alias": "customer", "Startup Cost": 0.43, "Total Cost": 0.45, "Plan Rows": 1, "Plan Width": 8, "Output": ["customer.c_custkey", "customer.c_name", "customer.c_address", "customer.c_nationkey", "customer.c_phone", "customer.c_acctbal", "customer.c_mktsegment", "customer.c_comment"], "Index Cond": "(customer.c_custkey = orders.o_custkey)"}]}, {"Node Type": "Hash", "Parent Relationship": "Inner", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 2.45, "Total Cost": 2.45, "Plan Rows": 5, "Plan Width": 4, "Output": ["n1.n_nationkey"], "Plans": [{"Node Type": "Hash Join", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Join Type": "Inner", "Startup Cost": 1.07, "Total Cost": 2.45, "Plan Rows": 5, "Plan Width": 4, "Output": ["n1.n_nationkey"], "Inner Unique": true, "Hash Cond": "(n1.n_regionkey = region.r_regionkey)", "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Relation Name": "nation", "Schema": "public", "Alias": "n1", "Startup Cost": 0.0, "Total Cost": 1.25, "Plan Rows": 25, "Plan Width": 8, "Output": ["n1.n_nationkey", "n1.n_name", "n1.n_regionkey", "n1.n_comment"]}, {"Node Type": "Hash", "Parent Relationship": "Inner", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 1.06, "Total Cost": 1.06, "Plan Rows": 1, "Plan Width": 4, "Output": ["region.r_regionkey"], "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Relation Name": "region", "Schema": "public", "Alias": "region", "Startup Cost": 0.0, "Total Cost": 1.06, "Plan Rows": 1, "Plan Width": 4, "Output": ["region.r_regionkey"], "Filter": "(region.r_name = 'AFRICA'::bpchar)"}]}]}]}]}, {"Node Type": "Index Scan", "Parent Relationship": "Inner", "Parallel Aware": false, "Async Capable": false, "Scan Direction": "Forward", "Index Name": "s_sk", "Relation Name": "supplier", "Schema": "public", "Alias": "supplier", "Startup Cost": 0.29, "Total Cost": 0.31, "Plan Rows": 1, "Plan Width": 8, "Output": ["supplier.s_suppkey", "supplier.s_name", "supplier.s_address", "supplier.s_nationkey", "supplier.s_phone", "supplier.s_acctbal", "supplier.s_comment"], "Index Cond": "(supplier.s_suppkey = lineitem.l_suppkey)"}]}, {"Node Type": "Hash", "Parent Relationship": "Inner", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 1.25, "Total Cost": 1.25, "Plan Rows": 25, "Plan Width": 30, "Output": ["n2.n_name", "n2.n_nationkey"], "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Relation Name": "nation", "Schema": "public", "Alias": "n2", "Startup Cost": 0.0, "Total Cost": 1.25, "Plan Rows": 25, "Plan Width": 30, "Output": ["n2.n_name", "n2.n_nationkey"]}]}]}]}]}]}]}} diff --git a/dev9/pg17/tpch/sf_10/explain/15721/9-1.ok b/dev9/pg17/tpch/sf_10/explain/15721/9-1.ok new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/dev9/pg17/tpch/sf_10/explain/15721/9-1.res b/dev9/pg17/tpch/sf_10/explain/15721/9-1.res new file mode 100644 index 0000000000000000000000000000000000000000..d244c21ad0de4d900839f88509d735f948804b92 --- /dev/null +++ b/dev9/pg17/tpch/sf_10/explain/15721/9-1.res @@ -0,0 +1 @@ +{"Plan": {"Node Type": "Sort", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 518960.19, "Total Cost": 519110.57, "Plan Rows": 60150, "Plan Width": 90, "Output": ["nation.n_name", "(EXTRACT(year FROM orders.o_orderdate))", "(sum(((lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount)) - (partsupp.ps_supplycost * lineitem.l_quantity))))"], "Sort Key": ["nation.n_name", "(EXTRACT(year FROM orders.o_orderdate)) DESC"], "Plans": [{"Node Type": "Aggregate", "Strategy": "Hashed", "Partial Mode": "Finalize", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 513283.15, "Total Cost": 514185.4, "Plan Rows": 60150, "Plan Width": 90, "Output": ["nation.n_name", "(EXTRACT(year FROM orders.o_orderdate))", "sum(((lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount)) - (partsupp.ps_supplycost * lineitem.l_quantity)))"], "Group Key": ["nation.n_name", "(EXTRACT(year FROM orders.o_orderdate))"], "Planned Partitions": 0, "Plans": [{"Node Type": "Gather", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 472681.9, "Total Cost": 509674.15, "Plan Rows": 360900, "Plan Width": 90, "Output": ["nation.n_name", "(EXTRACT(year FROM orders.o_orderdate))", "(PARTIAL sum(((lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount)) - (partsupp.ps_supplycost * lineitem.l_quantity))))"], "Workers Planned": 6, "Single Copy": false, "Plans": [{"Node Type": "Aggregate", "Strategy": "Hashed", "Partial Mode": "Partial", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 471681.9, "Total Cost": 472584.15, "Plan Rows": 60150, "Plan Width": 90, "Output": ["nation.n_name", "(EXTRACT(year FROM orders.o_orderdate))", "PARTIAL sum(((lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount)) - (partsupp.ps_supplycost * lineitem.l_quantity)))"], "Group Key": ["nation.n_name", "EXTRACT(year FROM orders.o_orderdate)"], "Planned Partitions": 0, "Plans": [{"Node Type": "Hash Join", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Join Type": "Inner", "Startup Cost": 163288.22, "Total Cost": 462916.64, "Plan Rows": 500872, "Plan Width": 81, "Output": ["nation.n_name", "EXTRACT(year FROM orders.o_orderdate)", "lineitem.l_extendedprice", "lineitem.l_discount", "partsupp.ps_supplycost", "lineitem.l_quantity"], "Inner Unique": true, "Hash Cond": "(supplier.s_nationkey = nation.n_nationkey)", "Plans": [{"Node Type": "Hash Join", "Parent Relationship": "Outer", "Parallel Aware": true, "Async Capable": false, "Join Type": "Inner", "Startup Cost": 163286.66, "Total Cost": 460125.22, "Plan Rows": 500872, "Plan Width": 31, "Output": ["lineitem.l_extendedprice", "lineitem.l_discount", "lineitem.l_quantity", "supplier.s_nationkey", "partsupp.ps_supplycost", "orders.o_orderdate"], "Inner Unique": false, "Hash Cond": "(orders.o_orderkey = lineitem.l_orderkey)", "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": true, "Async Capable": false, "Relation Name": "orders", "Schema": "public", "Alias": "orders", "Startup Cost": 0.0, "Total Cost": 286211.28, "Plan Rows": 2500028, "Plan Width": 8, "Output": ["orders.o_orderkey", "orders.o_custkey", "orders.o_orderstatus", "orders.o_totalprice", "orders.o_orderdate", "orders.o_orderpriority", "orders.o_clerk", "orders.o_shippriority", "orders.o_comment"]}, {"Node Type": "Hash", "Parent Relationship": "Inner", "Parallel Aware": true, "Async Capable": false, "Startup Cost": 153895.31, "Total Cost": 153895.31, "Plan Rows": 751308, "Plan Width": 31, "Output": ["lineitem.l_extendedprice", "lineitem.l_discount", "lineitem.l_quantity", "lineitem.l_orderkey", "supplier.s_nationkey", "partsupp.ps_supplycost"], "Plans": [{"Node Type": "Nested Loop", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Join Type": "Inner", "Startup Cost": 3543.41, "Total Cost": 153895.31, "Plan Rows": 751308, "Plan Width": 31, "Output": ["lineitem.l_extendedprice", "lineitem.l_discount", "lineitem.l_quantity", "lineitem.l_orderkey", "supplier.s_nationkey", "partsupp.ps_supplycost"], "Inner Unique": false, "Join Filter": "(supplier.s_suppkey = lineitem.l_suppkey)", "Plans": [{"Node Type": "Hash Join", "Parent Relationship": "Outer", "Parallel Aware": true, "Async Capable": false, "Join Type": "Inner", "Startup Cost": 3542.97, "Total Cost": 90024.75, "Plan Rows": 100203, "Plan Width": 26, "Output": ["part.p_partkey", "partsupp.ps_supplycost", "partsupp.ps_suppkey", "partsupp.ps_partkey", "supplier.s_suppkey", "supplier.s_nationkey"], "Inner Unique": true, "Hash Cond": "(partsupp.ps_suppkey = supplier.s_suppkey)", "Plans": [{"Node Type": "Nested Loop", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Join Type": "Inner", "Startup Cost": 0.43, "Total Cost": 86219.17, "Plan Rows": 100203, "Plan Width": 18, "Output": ["part.p_partkey", "partsupp.ps_supplycost", "partsupp.ps_suppkey", "partsupp.ps_partkey"], "Inner Unique": false, "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": true, "Async Capable": false, "Relation Name": "part", "Schema": "public", "Alias": "part", "Startup Cost": 0.0, "Total Cost": 47211.0, "Plan Rows": 25050, "Plan Width": 4, "Output": ["part.p_partkey", "part.p_name", "part.p_mfgr", "part.p_brand", "part.p_type", "part.p_size", "part.p_container", "part.p_retailprice", "part.p_comment"], "Filter": "((part.p_name)::text ~~ '%forest%'::text)"}, {"Node Type": "Index Scan", "Parent Relationship": "Inner", "Parallel Aware": false, "Async Capable": false, "Scan Direction": "Forward", "Index Name": "ps_pk", "Relation Name": "partsupp", "Schema": "public", "Alias": "partsupp", "Startup Cost": 0.43, "Total Cost": 1.51, "Plan Rows": 5, "Plan Width": 14, "Output": ["partsupp.ps_partkey", "partsupp.ps_suppkey", "partsupp.ps_availqty", "partsupp.ps_supplycost", "partsupp.ps_comment"], "Index Cond": "(partsupp.ps_partkey = part.p_partkey)"}]}, {"Node Type": "Hash", "Parent Relationship": "Inner", "Parallel Aware": true, "Async Capable": false, "Startup Cost": 2807.24, "Total Cost": 2807.24, "Plan Rows": 58824, "Plan Width": 8, "Output": ["supplier.s_suppkey", "supplier.s_nationkey"], "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": true, "Async Capable": false, "Relation Name": "supplier", "Schema": "public", "Alias": "supplier", "Startup Cost": 0.0, "Total Cost": 2807.24, "Plan Rows": 58824, "Plan Width": 8, "Output": ["supplier.s_suppkey", "supplier.s_nationkey"]}]}]}, {"Node Type": "Index Scan", "Parent Relationship": "Inner", "Parallel Aware": false, "Async Capable": false, "Scan Direction": "Forward", "Index Name": "l_pk_sk", "Relation Name": "lineitem", "Schema": "public", "Alias": "lineitem", "Startup Cost": 0.44, "Total Cost": 0.62, "Plan Rows": 1, "Plan Width": 29, "Output": ["lineitem.l_orderkey", "lineitem.l_partkey", "lineitem.l_suppkey", "lineitem.l_linenumber", "lineitem.l_quantity", "lineitem.l_extendedprice", "lineitem.l_discount", "lineitem.l_tax", "lineitem.l_returnflag", "lineitem.l_linestatus", "lineitem.l_shipdate", "lineitem.l_commitdate", "lineitem.l_receiptdate", "lineitem.l_shipinstruct", "lineitem.l_shipmode", "lineitem.l_comment"], "Index Cond": "((lineitem.l_partkey = partsupp.ps_partkey) AND (lineitem.l_suppkey = partsupp.ps_suppkey))"}]}]}]}, {"Node Type": "Hash", "Parent Relationship": "Inner", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 1.25, "Total Cost": 1.25, "Plan Rows": 25, "Plan Width": 30, "Output": ["nation.n_name", "nation.n_nationkey"], "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Relation Name": "nation", "Schema": "public", "Alias": "nation", "Startup Cost": 0.0, "Total Cost": 1.25, "Plan Rows": 25, "Plan Width": 30, "Output": ["nation.n_name", "nation.n_nationkey"]}]}]}]}]}]}]}} diff --git a/dev9/pg17/tpch/sf_10/explain_analyze/15721/1-1.ok b/dev9/pg17/tpch/sf_10/explain_analyze/15721/1-1.ok new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/dev9/pg17/tpch/sf_10/explain_analyze/15721/1-1.res b/dev9/pg17/tpch/sf_10/explain_analyze/15721/1-1.res new file mode 100644 index 0000000000000000000000000000000000000000..7e750a007a84f2babfdaf3c6e5895a29b36b616a --- /dev/null +++ b/dev9/pg17/tpch/sf_10/explain_analyze/15721/1-1.res @@ -0,0 +1 @@ +{"Plan": {"Node Type": "Aggregate", "Strategy": "Sorted", "Partial Mode": "Finalize", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 1526253.37, "Total Cost": 1526260.06, "Plan Rows": 6, "Plan Width": 236, "Actual Startup Time": 12042.03, "Actual Total Time": 12106.473, "Actual Rows": 4, "Actual Loops": 1, "Output": ["l_returnflag", "l_linestatus", "sum(l_quantity)", "sum(l_extendedprice)", "sum((l_extendedprice * ('1'::numeric - l_discount)))", "sum(((l_extendedprice * ('1'::numeric - l_discount)) * ('1'::numeric + l_tax)))", "avg(l_quantity)", "avg(l_extendedprice)", "avg(l_discount)", "count(*)"], "Group Key": ["lineitem.l_returnflag", "lineitem.l_linestatus"], "Plans": [{"Node Type": "Gather Merge", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 1526253.37, "Total Cost": 1526258.53, "Plan Rows": 42, "Plan Width": 236, "Actual Startup Time": 12041.993, "Actual Total Time": 12106.389, "Actual Rows": 32, "Actual Loops": 1, "Output": ["l_returnflag", "l_linestatus", "(PARTIAL sum(l_quantity))", "(PARTIAL sum(l_extendedprice))", "(PARTIAL sum((l_extendedprice * ('1'::numeric - l_discount))))", "(PARTIAL sum(((l_extendedprice * ('1'::numeric - l_discount)) * ('1'::numeric + l_tax))))", "(PARTIAL avg(l_quantity))", "(PARTIAL avg(l_extendedprice))", "(PARTIAL avg(l_discount))", "(PARTIAL count(*))"], "Workers Planned": 7, "Workers Launched": 7, "Plans": [{"Node Type": "Sort", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 1525253.25, "Total Cost": 1525253.27, "Plan Rows": 6, "Plan Width": 236, "Actual Startup Time": 12037.511, "Actual Total Time": 12037.514, "Actual Rows": 4, "Actual Loops": 8, "Output": ["l_returnflag", "l_linestatus", "(PARTIAL sum(l_quantity))", "(PARTIAL sum(l_extendedprice))", "(PARTIAL sum((l_extendedprice * ('1'::numeric - l_discount))))", "(PARTIAL sum(((l_extendedprice * ('1'::numeric - l_discount)) * ('1'::numeric + l_tax))))", "(PARTIAL avg(l_quantity))", "(PARTIAL avg(l_extendedprice))", "(PARTIAL avg(l_discount))", "(PARTIAL count(*))"], "Sort Key": ["lineitem.l_returnflag", "lineitem.l_linestatus"], "Sort Method": "quicksort", "Sort Space Used": 26, "Sort Space Type": "Memory", "Workers": [{"Worker Number": 0, "Actual Startup Time": 12036.554, "Actual Total Time": 12036.556, "Actual Rows": 4, "Actual Loops": 1, "Sort Method": "quicksort", "Sort Space Used": 26, "Sort Space Type": "Memory"}, {"Worker Number": 1, "Actual Startup Time": 12036.793, "Actual Total Time": 12036.799, "Actual Rows": 4, "Actual Loops": 1, "Sort Method": "quicksort", "Sort Space Used": 26, "Sort Space Type": "Memory"}, {"Worker Number": 2, "Actual Startup Time": 12036.865, "Actual Total Time": 12036.872, "Actual Rows": 4, "Actual Loops": 1, "Sort Method": "quicksort", "Sort Space Used": 26, "Sort Space Type": "Memory"}, {"Worker Number": 3, "Actual Startup Time": 12036.923, "Actual Total Time": 12036.925, "Actual Rows": 4, "Actual Loops": 1, "Sort Method": "quicksort", "Sort Space Used": 26, "Sort Space Type": "Memory"}, {"Worker Number": 4, "Actual Startup Time": 12037.07, "Actual Total Time": 12037.071, "Actual Rows": 4, "Actual Loops": 1, "Sort Method": "quicksort", "Sort Space Used": 26, "Sort Space Type": "Memory"}, {"Worker Number": 5, "Actual Startup Time": 12037.187, "Actual Total Time": 12037.188, "Actual Rows": 4, "Actual Loops": 1, "Sort Method": "quicksort", "Sort Space Used": 26, "Sort Space Type": "Memory"}, {"Worker Number": 6, "Actual Startup Time": 12037.307, "Actual Total Time": 12037.309, "Actual Rows": 4, "Actual Loops": 1, "Sort Method": "quicksort", "Sort Space Used": 26, "Sort Space Type": "Memory"}], "Plans": [{"Node Type": "Aggregate", "Strategy": "Hashed", "Partial Mode": "Partial", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 1525253.04, "Total Cost": 1525253.17, "Plan Rows": 6, "Plan Width": 236, "Actual Startup Time": 12037.453, "Actual Total Time": 12037.462, "Actual Rows": 4, "Actual Loops": 8, "Output": ["l_returnflag", "l_linestatus", "PARTIAL sum(l_quantity)", "PARTIAL sum(l_extendedprice)", "PARTIAL sum((l_extendedprice * ('1'::numeric - l_discount)))", "PARTIAL sum(((l_extendedprice * ('1'::numeric - l_discount)) * ('1'::numeric + l_tax)))", "PARTIAL avg(l_quantity)", "PARTIAL avg(l_extendedprice)", "PARTIAL avg(l_discount)", "PARTIAL count(*)"], "Group Key": ["lineitem.l_returnflag", "lineitem.l_linestatus"], "Planned Partitions": 0, "HashAgg Batches": 1, "Peak Memory Usage": 24, "Disk Usage": 0, "Workers": [{"Worker Number": 0, "Actual Startup Time": 12036.503, "Actual Total Time": 12036.51, "Actual Rows": 4, "Actual Loops": 1, "HashAgg Batches": 1, "Peak Memory Usage": 24, "Disk Usage": 0}, {"Worker Number": 1, "Actual Startup Time": 12036.7, "Actual Total Time": 12036.711, "Actual Rows": 4, "Actual Loops": 1, "HashAgg Batches": 1, "Peak Memory Usage": 24, "Disk Usage": 0}, {"Worker Number": 2, "Actual Startup Time": 12036.766, "Actual Total Time": 12036.779, "Actual Rows": 4, "Actual Loops": 1, "HashAgg Batches": 1, "Peak Memory Usage": 24, "Disk Usage": 0}, {"Worker Number": 3, "Actual Startup Time": 12036.872, "Actual Total Time": 12036.88, "Actual Rows": 4, "Actual Loops": 1, "HashAgg Batches": 1, "Peak Memory Usage": 24, "Disk Usage": 0}, {"Worker Number": 4, "Actual Startup Time": 12037.017, "Actual Total Time": 12037.024, "Actual Rows": 4, "Actual Loops": 1, "HashAgg Batches": 1, "Peak Memory Usage": 24, "Disk Usage": 0}, {"Worker Number": 5, "Actual Startup Time": 12037.137, "Actual Total Time": 12037.145, "Actual Rows": 4, "Actual Loops": 1, "HashAgg Batches": 1, "Peak Memory Usage": 24, "Disk Usage": 0}, {"Worker Number": 6, "Actual Startup Time": 12037.256, "Actual Total Time": 12037.264, "Actual Rows": 4, "Actual Loops": 1, "HashAgg Batches": 1, "Peak Memory Usage": 24, "Disk Usage": 0}], "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": true, "Async Capable": false, "Relation Name": "lineitem", "Schema": "public", "Alias": "lineitem", "Startup Cost": 0.0, "Total Cost": 1232212.84, "Plan Rows": 8372577, "Plan Width": 25, "Actual Startup Time": 0.032, "Actual Total Time": 1569.212, "Actual Rows": 7323456, "Actual Loops": 8, "Output": ["l_orderkey", "l_partkey", "l_suppkey", "l_linenumber", "l_quantity", "l_extendedprice", "l_discount", "l_tax", "l_returnflag", "l_linestatus", "l_shipdate", "l_commitdate", "l_receiptdate", "l_shipinstruct", "l_shipmode", "l_comment"], "Filter": "(lineitem.l_shipdate <= '1998-08-07 23:59:57'::timestamp without time zone)", "Rows Removed by Filter": 174801, "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.034, "Actual Total Time": 1563.4, "Actual Rows": 7307945, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 0.034, "Actual Total Time": 1595.095, "Actual Rows": 7316344, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 0.036, "Actual Total Time": 1622.353, "Actual Rows": 7297428, "Actual Loops": 1}, {"Worker Number": 3, "Actual Startup Time": 0.031, "Actual Total Time": 1570.86, "Actual Rows": 7333862, "Actual Loops": 1}, {"Worker Number": 4, "Actual Startup Time": 0.032, "Actual Total Time": 1568.417, "Actual Rows": 7335265, "Actual Loops": 1}, {"Worker Number": 5, "Actual Startup Time": 0.04, "Actual Total Time": 1560.002, "Actual Rows": 7296204, "Actual Loops": 1}, {"Worker Number": 6, "Actual Startup Time": 0.038, "Actual Total Time": 1569.016, "Actual Rows": 7329533, "Actual Loops": 1}]}]}]}]}]}, "Planning Time": 0.538, "Triggers": [], "Execution Time": 12106.554} diff --git a/dev9/pg17/tpch/sf_10/explain_analyze/15721/10-1.ok b/dev9/pg17/tpch/sf_10/explain_analyze/15721/10-1.ok new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/dev9/pg17/tpch/sf_10/explain_analyze/15721/10-1.res b/dev9/pg17/tpch/sf_10/explain_analyze/15721/10-1.res new file mode 100644 index 0000000000000000000000000000000000000000..c9dec47582bb4489dfa2769c056485a4e8969b4b --- /dev/null +++ b/dev9/pg17/tpch/sf_10/explain_analyze/15721/10-1.res @@ -0,0 +1 @@ +{"Plan": {"Node Type": "Limit", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 732000.57, "Total Cost": 732000.62, "Plan Rows": 20, "Plan Width": 201, "Actual Startup Time": 2972.756, "Actual Total Time": 3145.54, "Actual Rows": 20, "Actual Loops": 1, "Output": ["customer.c_custkey", "customer.c_name", "(sum((lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount))))", "customer.c_acctbal", "nation.n_name", "customer.c_address", "customer.c_phone", "customer.c_comment"], "Plans": [{"Node Type": "Sort", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 732000.57, "Total Cost": 733324.65, "Plan Rows": 529632, "Plan Width": 201, "Actual Startup Time": 2972.754, "Actual Total Time": 3145.535, "Actual Rows": 20, "Actual Loops": 1, "Output": ["customer.c_custkey", "customer.c_name", "(sum((lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount))))", "customer.c_acctbal", "nation.n_name", "customer.c_address", "customer.c_phone", "customer.c_comment"], "Sort Key": ["(sum((lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount)))) DESC"], "Sort Method": "top-N heapsort", "Sort Space Used": 33, "Sort Space Type": "Memory", "Plans": [{"Node Type": "Aggregate", "Strategy": "Sorted", "Partial Mode": "Simple", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 641251.16, "Total Cost": 717907.25, "Plan Rows": 529632, "Plan Width": 201, "Actual Startup Time": 1722.594, "Actual Total Time": 3016.022, "Actual Rows": 372741, "Actual Loops": 1, "Output": ["customer.c_custkey", "customer.c_name", "sum((lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount)))", "customer.c_acctbal", "nation.n_name", "customer.c_address", "customer.c_phone", "customer.c_comment"], "Group Key": ["customer.c_custkey", "nation.n_name"], "Plans": [{"Node Type": "Gather Merge", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 641251.16, "Total Cost": 704666.45, "Plan Rows": 529632, "Plan Width": 181, "Actual Startup Time": 1722.576, "Actual Total Time": 2150.521, "Actual Rows": 1112878, "Actual Loops": 1, "Output": ["customer.c_custkey", "nation.n_name", "customer.c_name", "lineitem.l_extendedprice", "lineitem.l_discount", "customer.c_acctbal", "customer.c_address", "customer.c_phone", "customer.c_comment"], "Workers Planned": 4, "Workers Launched": 4, "Plans": [{"Node Type": "Sort", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 640251.1, "Total Cost": 640582.12, "Plan Rows": 132408, "Plan Width": 181, "Actual Startup Time": 1716.096, "Actual Total Time": 1748.849, "Actual Rows": 222576, "Actual Loops": 5, "Output": ["customer.c_custkey", "nation.n_name", "customer.c_name", "lineitem.l_extendedprice", "lineitem.l_discount", "customer.c_acctbal", "customer.c_address", "customer.c_phone", "customer.c_comment"], "Sort Key": ["customer.c_custkey", "nation.n_name"], "Sort Method": "external merge", "Sort Space Used": 45968, "Sort Space Type": "Disk", "Workers": [{"Worker Number": 0, "Actual Startup Time": 1715.068, "Actual Total Time": 1746.808, "Actual Rows": 217303, "Actual Loops": 1, "Sort Method": "external merge", "Sort Space Used": 41440, "Sort Space Type": "Disk"}, {"Worker Number": 1, "Actual Startup Time": 1715.115, "Actual Total Time": 1746.771, "Actual Rows": 219375, "Actual Loops": 1, "Sort Method": "external merge", "Sort Space Used": 41872, "Sort Space Type": "Disk"}, {"Worker Number": 2, "Actual Startup Time": 1715.641, "Actual Total Time": 1747.363, "Actual Rows": 219711, "Actual Loops": 1, "Sort Method": "external merge", "Sort Space Used": 41920, "Sort Space Type": "Disk"}, {"Worker Number": 3, "Actual Startup Time": 1712.557, "Actual Total Time": 1744.038, "Actual Rows": 215573, "Actual Loops": 1, "Sort Method": "external merge", "Sort Space Used": 41120, "Sort Space Type": "Disk"}], "Plans": [{"Node Type": "Hash Join", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Join Type": "Inner", "Startup Cost": 579449.71, "Total Cost": 622094.63, "Plan Rows": 132408, "Plan Width": 181, "Actual Startup Time": 1304.68, "Actual Total Time": 1550.911, "Actual Rows": 222576, "Actual Loops": 5, "Output": ["customer.c_custkey", "nation.n_name", "customer.c_name", "lineitem.l_extendedprice", "lineitem.l_discount", "customer.c_acctbal", "customer.c_address", "customer.c_phone", "customer.c_comment"], "Inner Unique": true, "Hash Cond": "(customer.c_nationkey = nation.n_nationkey)", "Workers": [{"Worker Number": 0, "Actual Startup Time": 1303.611, "Actual Total Time": 1546.438, "Actual Rows": 217303, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 1303.818, "Actual Total Time": 1547.345, "Actual Rows": 219375, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 1303.862, "Actual Total Time": 1547.536, "Actual Rows": 219711, "Actual Loops": 1}, {"Worker Number": 3, "Actual Startup Time": 1303.841, "Actual Total Time": 1545.569, "Actual Rows": 215573, "Actual Loops": 1}], "Plans": [{"Node Type": "Hash Join", "Parent Relationship": "Outer", "Parallel Aware": true, "Async Capable": false, "Join Type": "Inner", "Startup Cost": 579448.15, "Total Cost": 621686.58, "Plan Rows": 132408, "Plan Width": 159, "Actual Startup Time": 1304.509, "Actual Total Time": 1500.434, "Actual Rows": 222576, "Actual Loops": 5, "Output": ["customer.c_custkey", "customer.c_name", "customer.c_acctbal", "customer.c_address", "customer.c_phone", "customer.c_comment", "customer.c_nationkey", "lineitem.l_extendedprice", "lineitem.l_discount"], "Inner Unique": false, "Hash Cond": "(customer.c_custkey = orders.o_custkey)", "Workers": [{"Worker Number": 0, "Actual Startup Time": 1303.417, "Actual Total Time": 1497.154, "Actual Rows": 217303, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 1303.6, "Actual Total Time": 1497.5, "Actual Rows": 219375, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 1303.655, "Actual Total Time": 1497.711, "Actual Rows": 219711, "Actual Loops": 1}, {"Worker Number": 3, "Actual Startup Time": 1303.631, "Actual Total Time": 1496.595, "Actual Rows": 215573, "Actual Loops": 1}], "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": true, "Async Capable": false, "Relation Name": "customer", "Schema": "public", "Alias": "customer", "Startup Cost": 0.0, "Total Cost": 39674.0, "Plan Rows": 375000, "Plan Width": 147, "Actual Startup Time": 0.016, "Actual Total Time": 29.154, "Actual Rows": 300000, "Actual Loops": 5, "Output": ["customer.c_custkey", "customer.c_name", "customer.c_address", "customer.c_nationkey", "customer.c_phone", "customer.c_acctbal", "customer.c_mktsegment", "customer.c_comment"], "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.018, "Actual Total Time": 29.06, "Actual Rows": 293578, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 0.02, "Actual Total Time": 29.07, "Actual Rows": 295574, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 0.02, "Actual Total Time": 29.113, "Actual Rows": 296572, "Actual Loops": 1}, {"Worker Number": 3, "Actual Startup Time": 0.016, "Actual Total Time": 28.568, "Actual Rows": 289435, "Actual Loops": 1}]}, {"Node Type": "Hash", "Parent Relationship": "Inner", "Parallel Aware": true, "Async Capable": false, "Startup Cost": 578344.75, "Total Cost": 578344.75, "Plan Rows": 88272, "Plan Width": 16, "Actual Startup Time": 1302.943, "Actual Total Time": 1302.945, "Actual Rows": 222576, "Actual Loops": 5, "Output": ["orders.o_custkey", "lineitem.l_extendedprice", "lineitem.l_discount"], "Hash Buckets": 2097152, "Original Hash Buckets": 1048576, "Hash Batches": 1, "Original Hash Batches": 1, "Peak Memory Usage": 83456, "Workers": [{"Worker Number": 0, "Actual Startup Time": 1303.358, "Actual Total Time": 1303.361, "Actual Rows": 196047, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 1303.535, "Actual Total Time": 1303.537, "Actual Rows": 205869, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 1303.594, "Actual Total Time": 1303.596, "Actual Rows": 207177, "Actual Loops": 1}, {"Worker Number": 3, "Actual Startup Time": 1303.579, "Actual Total Time": 1303.582, "Actual Rows": 205128, "Actual Loops": 1}], "Plans": [{"Node Type": "Nested Loop", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Join Type": "Inner", "Startup Cost": 6068.54, "Total Cost": 578344.75, "Plan Rows": 88272, "Plan Width": 16, "Actual Startup Time": 175.692, "Actual Total Time": 1199.94, "Actual Rows": 222576, "Actual Loops": 5, "Output": ["orders.o_custkey", "lineitem.l_extendedprice", "lineitem.l_discount"], "Inner Unique": false, "Workers": [{"Worker Number": 0, "Actual Startup Time": 175.799, "Actual Total Time": 1204.734, "Actual Rows": 196047, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 175.854, "Actual Total Time": 1204.423, "Actual Rows": 205869, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 175.919, "Actual Total Time": 1203.023, "Actual Rows": 207177, "Actual Loops": 1}, {"Worker Number": 3, "Actual Startup Time": 175.916, "Actual Total Time": 1203.994, "Actual Rows": 205128, "Actual Loops": 1}], "Plans": [{"Node Type": "Bitmap Heap Scan", "Parent Relationship": "Outer", "Parallel Aware": true, "Async Capable": false, "Relation Name": "orders", "Schema": "public", "Alias": "orders", "Startup Cost": 6067.98, "Total Cost": 268634.38, "Plan Rows": 90360, "Plan Width": 8, "Actual Startup Time": 175.608, "Actual Total Time": 371.625, "Actual Rows": 111024, "Actual Loops": 5, "Output": ["orders.o_orderkey", "orders.o_custkey", "orders.o_orderstatus", "orders.o_totalprice", "orders.o_orderdate", "orders.o_orderpriority", "orders.o_clerk", "orders.o_shippriority", "orders.o_comment"], "Recheck Cond": "((orders.o_orderdate >= '1993-02-01'::date) AND (orders.o_orderdate < '1993-05-01 00:00:00'::timestamp without time zone))", "Rows Removed by Index Recheck": 0, "Exact Heap Blocks": 62084, "Lossy Heap Blocks": 0, "Workers": [{"Worker Number": 0, "Actual Startup Time": 175.71, "Actual Total Time": 379.367, "Actual Rows": 98042, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 175.764, "Actual Total Time": 382.712, "Actual Rows": 102789, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 175.814, "Actual Total Time": 381.859, "Actual Rows": 103001, "Actual Loops": 1}, {"Worker Number": 3, "Actual Startup Time": 175.813, "Actual Total Time": 383.278, "Actual Rows": 102199, "Actual Loops": 1}], "Plans": [{"Node Type": "Bitmap Index Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Index Name": "o_od", "Startup Cost": 0.0, "Total Cost": 5932.44, "Plan Rows": 542160, "Plan Width": 0, "Actual Startup Time": 96.09, "Actual Total Time": 96.091, "Actual Rows": 555118, "Actual Loops": 1, "Index Cond": "((orders.o_orderdate >= '1993-02-01'::date) AND (orders.o_orderdate < '1993-05-01 00:00:00'::timestamp without time zone))", "Workers": []}]}, {"Node Type": "Index Scan", "Parent Relationship": "Inner", "Parallel Aware": false, "Async Capable": false, "Scan Direction": "Forward", "Index Name": "l_ok", "Relation Name": "lineitem", "Schema": "public", "Alias": "lineitem", "Startup Cost": 0.56, "Total Cost": 3.36, "Plan Rows": 7, "Plan Width": 16, "Actual Startup Time": 0.006, "Actual Total Time": 0.007, "Actual Rows": 2, "Actual Loops": 555118, "Output": ["lineitem.l_orderkey", "lineitem.l_partkey", "lineitem.l_suppkey", "lineitem.l_linenumber", "lineitem.l_quantity", "lineitem.l_extendedprice", "lineitem.l_discount", "lineitem.l_tax", "lineitem.l_returnflag", "lineitem.l_linestatus", "lineitem.l_shipdate", "lineitem.l_commitdate", "lineitem.l_receiptdate", "lineitem.l_shipinstruct", "lineitem.l_shipmode", "lineitem.l_comment"], "Index Cond": "(lineitem.l_orderkey = orders.o_orderkey)", "Rows Removed by Index Recheck": 0, "Filter": "(lineitem.l_returnflag = 'R'::bpchar)", "Rows Removed by Filter": 2, "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.007, "Actual Total Time": 0.008, "Actual Rows": 2, "Actual Loops": 98042}, {"Worker Number": 1, "Actual Startup Time": 0.006, "Actual Total Time": 0.007, "Actual Rows": 2, "Actual Loops": 102789}, {"Worker Number": 2, "Actual Startup Time": 0.006, "Actual Total Time": 0.007, "Actual Rows": 2, "Actual Loops": 103001}, {"Worker Number": 3, "Actual Startup Time": 0.006, "Actual Total Time": 0.008, "Actual Rows": 2, "Actual Loops": 102199}]}]}]}]}, {"Node Type": "Hash", "Parent Relationship": "Inner", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 1.25, "Total Cost": 1.25, "Plan Rows": 25, "Plan Width": 30, "Actual Startup Time": 0.037, "Actual Total Time": 0.037, "Actual Rows": 25, "Actual Loops": 5, "Output": ["nation.n_name", "nation.n_nationkey"], "Hash Buckets": 1024, "Original Hash Buckets": 1024, "Hash Batches": 1, "Original Hash Batches": 1, "Peak Memory Usage": 10, "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.041, "Actual Total Time": 0.041, "Actual Rows": 25, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 0.041, "Actual Total Time": 0.041, "Actual Rows": 25, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 0.042, "Actual Total Time": 0.043, "Actual Rows": 25, "Actual Loops": 1}, {"Worker Number": 3, "Actual Startup Time": 0.042, "Actual Total Time": 0.043, "Actual Rows": 25, "Actual Loops": 1}], "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Relation Name": "nation", "Schema": "public", "Alias": "nation", "Startup Cost": 0.0, "Total Cost": 1.25, "Plan Rows": 25, "Plan Width": 30, "Actual Startup Time": 0.026, "Actual Total Time": 0.029, "Actual Rows": 25, "Actual Loops": 5, "Output": ["nation.n_name", "nation.n_nationkey"], "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.03, "Actual Total Time": 0.033, "Actual Rows": 25, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 0.029, "Actual Total Time": 0.033, "Actual Rows": 25, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 0.03, "Actual Total Time": 0.034, "Actual Rows": 25, "Actual Loops": 1}, {"Worker Number": 3, "Actual Startup Time": 0.031, "Actual Total Time": 0.034, "Actual Rows": 25, "Actual Loops": 1}]}]}]}]}]}]}]}]}, "Planning Time": 1.122, "Triggers": [], "Execution Time": 3154.256} diff --git a/dev9/pg17/tpch/sf_10/explain_analyze/15721/11-1.ok b/dev9/pg17/tpch/sf_10/explain_analyze/15721/11-1.ok new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/dev9/pg17/tpch/sf_10/explain_analyze/15721/11-1.res b/dev9/pg17/tpch/sf_10/explain_analyze/15721/11-1.res new file mode 100644 index 0000000000000000000000000000000000000000..0942cabaee1ab2f002607e7c6ada8b5cb8acf1c4 --- /dev/null +++ b/dev9/pg17/tpch/sf_10/explain_analyze/15721/11-1.res @@ -0,0 +1 @@ +{"Plan": {"Node Type": "Sort", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 66934.76, "Total Cost": 67201.45, "Plan Rows": 106674, "Plan Width": 36, "Actual Startup Time": 1003.277, "Actual Total Time": 1003.363, "Actual Rows": 0, "Actual Loops": 1, "Output": ["partsupp.ps_partkey", "(sum((partsupp.ps_supplycost * (partsupp.ps_availqty)::numeric)))"], "Sort Key": ["(sum((partsupp.ps_supplycost * (partsupp.ps_availqty)::numeric))) DESC"], "Sort Method": "quicksort", "Sort Space Used": 25, "Sort Space Type": "Memory", "Plans": [{"Node Type": "Aggregate", "Strategy": "Plain", "Partial Mode": "Finalize", "Parent Relationship": "InitPlan", "Subplan Name": "InitPlan 1", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 16299.23, "Total Cost": 16299.25, "Plan Rows": 1, "Plan Width": 32, "Actual Startup Time": 254.433, "Actual Total Time": 254.516, "Actual Rows": 1, "Actual Loops": 1, "Output": ["(sum((partsupp_1.ps_supplycost * (partsupp_1.ps_availqty)::numeric)) * 0.0001000000)"], "Plans": [{"Node Type": "Gather", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 16299.12, "Total Cost": 16299.23, "Plan Rows": 1, "Plan Width": 32, "Actual Startup Time": 254.422, "Actual Total Time": 254.506, "Actual Rows": 2, "Actual Loops": 1, "Output": ["(PARTIAL sum((partsupp_1.ps_supplycost * (partsupp_1.ps_availqty)::numeric)))"], "Workers Planned": 1, "Workers Launched": 1, "Single Copy": false, "Plans": [{"Node Type": "Aggregate", "Strategy": "Plain", "Partial Mode": "Partial", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 15299.12, "Total Cost": 15299.13, "Plan Rows": 1, "Plan Width": 32, "Actual Startup Time": 252.059, "Actual Total Time": 252.063, "Actual Rows": 1, "Actual Loops": 2, "Output": ["PARTIAL sum((partsupp_1.ps_supplycost * (partsupp_1.ps_availqty)::numeric))"], "Workers": [{"Worker Number": 0, "Actual Startup Time": 249.964, "Actual Total Time": 249.967, "Actual Rows": 1, "Actual Loops": 1}], "Plans": [{"Node Type": "Nested Loop", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Join Type": "Inner", "Startup Cost": 1.76, "Total Cost": 13887.25, "Plan Rows": 188248, "Plan Width": 10, "Actual Startup Time": 0.147, "Actual Total Time": 200.399, "Actual Rows": 159520, "Actual Loops": 2, "Output": ["partsupp_1.ps_supplycost", "partsupp_1.ps_availqty"], "Inner Unique": false, "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.253, "Actual Total Time": 206.624, "Actual Rows": 131440, "Actual Loops": 1}], "Plans": [{"Node Type": "Hash Join", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Join Type": "Inner", "Startup Cost": 1.32, "Total Cost": 2989.15, "Plan Rows": 2353, "Plan Width": 4, "Actual Startup Time": 0.103, "Actual Total Time": 14.045, "Actual Rows": 1994, "Actual Loops": 2, "Output": ["supplier_1.s_suppkey"], "Inner Unique": true, "Hash Cond": "(supplier_1.s_nationkey = nation_1.n_nationkey)", "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.176, "Actual Total Time": 12.153, "Actual Rows": 1643, "Actual Loops": 1}], "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": true, "Async Capable": false, "Relation Name": "supplier", "Schema": "public", "Alias": "supplier_1", "Startup Cost": 0.0, "Total Cost": 2807.24, "Plan Rows": 58824, "Plan Width": 8, "Actual Startup Time": 0.009, "Actual Total Time": 4.706, "Actual Rows": 50000, "Actual Loops": 2, "Output": ["supplier_1.s_suppkey", "supplier_1.s_name", "supplier_1.s_address", "supplier_1.s_nationkey", "supplier_1.s_phone", "supplier_1.s_acctbal", "supplier_1.s_comment"], "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.014, "Actual Total Time": 4.213, "Actual Rows": 41185, "Actual Loops": 1}]}, {"Node Type": "Hash", "Parent Relationship": "Inner", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 1.31, "Total Cost": 1.31, "Plan Rows": 1, "Plan Width": 4, "Actual Startup Time": 0.026, "Actual Total Time": 0.027, "Actual Rows": 1, "Actual Loops": 2, "Output": ["nation_1.n_nationkey"], "Hash Buckets": 1024, "Original Hash Buckets": 1024, "Hash Batches": 1, "Original Hash Batches": 1, "Peak Memory Usage": 9, "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.037, "Actual Total Time": 0.038, "Actual Rows": 1, "Actual Loops": 1}], "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Relation Name": "nation", "Schema": "public", "Alias": "nation_1", "Startup Cost": 0.0, "Total Cost": 1.31, "Plan Rows": 1, "Plan Width": 4, "Actual Startup Time": 0.022, "Actual Total Time": 0.023, "Actual Rows": 1, "Actual Loops": 2, "Output": ["nation_1.n_nationkey"], "Filter": "(nation_1.n_name = 'CHINA'::bpchar)", "Rows Removed by Filter": 24, "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.032, "Actual Total Time": 0.034, "Actual Rows": 1, "Actual Loops": 1}]}]}]}, {"Node Type": "Index Scan", "Parent Relationship": "Inner", "Parallel Aware": false, "Async Capable": false, "Scan Direction": "Forward", "Index Name": "ps_sk", "Relation Name": "partsupp", "Schema": "public", "Alias": "partsupp_1", "Startup Cost": 0.43, "Total Cost": 3.83, "Plan Rows": 80, "Plan Width": 14, "Actual Startup Time": 0.004, "Actual Total Time": 0.081, "Actual Rows": 80, "Actual Loops": 3988, "Output": ["partsupp_1.ps_partkey", "partsupp_1.ps_suppkey", "partsupp_1.ps_availqty", "partsupp_1.ps_supplycost", "partsupp_1.ps_comment"], "Index Cond": "(partsupp_1.ps_suppkey = supplier_1.s_suppkey)", "Rows Removed by Index Recheck": 0, "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.005, "Actual Total Time": 0.106, "Actual Rows": 80, "Actual Loops": 1643}]}]}]}]}]}, {"Node Type": "Aggregate", "Strategy": "Hashed", "Partial Mode": "Simple", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 33801.2, "Total Cost": 41726.72, "Plan Rows": 106674, "Plan Width": 36, "Actual Startup Time": 1003.272, "Actual Total Time": 1003.274, "Actual Rows": 0, "Actual Loops": 1, "Output": ["partsupp.ps_partkey", "sum((partsupp.ps_supplycost * (partsupp.ps_availqty)::numeric))"], "Group Key": ["partsupp.ps_partkey"], "Filter": "(sum((partsupp.ps_supplycost * (partsupp.ps_availqty)::numeric)) > (InitPlan 1).col1)", "Planned Partitions": 4, "HashAgg Batches": 5, "Peak Memory Usage": 42033, "Disk Usage": 7752, "Rows Removed by Filter": 300316, "Plans": [{"Node Type": "Nested Loop", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Join Type": "Inner", "Startup Cost": 36.12, "Total Cost": 20762.84, "Plan Rows": 320021, "Plan Width": 14, "Actual Startup Time": 0.765, "Actual Total Time": 318.847, "Actual Rows": 319040, "Actual Loops": 1, "Output": ["partsupp.ps_partkey", "partsupp.ps_supplycost", "partsupp.ps_availqty"], "Inner Unique": false, "Plans": [{"Node Type": "Nested Loop", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Join Type": "Inner", "Startup Cost": 35.69, "Total Cost": 2236.53, "Plan Rows": 4000, "Plan Width": 4, "Actual Startup Time": 0.755, "Actual Total Time": 4.59, "Actual Rows": 3988, "Actual Loops": 1, "Output": ["supplier.s_suppkey"], "Inner Unique": false, "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Relation Name": "nation", "Schema": "public", "Alias": "nation", "Startup Cost": 0.0, "Total Cost": 1.31, "Plan Rows": 1, "Plan Width": 4, "Actual Startup Time": 0.013, "Actual Total Time": 0.018, "Actual Rows": 1, "Actual Loops": 1, "Output": ["nation.n_nationkey", "nation.n_name", "nation.n_regionkey", "nation.n_comment"], "Filter": "(nation.n_name = 'CHINA'::bpchar)", "Rows Removed by Filter": 24}, {"Node Type": "Bitmap Heap Scan", "Parent Relationship": "Inner", "Parallel Aware": false, "Async Capable": false, "Relation Name": "supplier", "Schema": "public", "Alias": "supplier", "Startup Cost": 35.69, "Total Cost": 2195.22, "Plan Rows": 4000, "Plan Width": 8, "Actual Startup Time": 0.74, "Actual Total Time": 4.023, "Actual Rows": 3988, "Actual Loops": 1, "Output": ["supplier.s_suppkey", "supplier.s_name", "supplier.s_address", "supplier.s_nationkey", "supplier.s_phone", "supplier.s_acctbal", "supplier.s_comment"], "Recheck Cond": "(supplier.s_nationkey = nation.n_nationkey)", "Rows Removed by Index Recheck": 0, "Exact Heap Blocks": 1862, "Lossy Heap Blocks": 0, "Plans": [{"Node Type": "Bitmap Index Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Index Name": "s_nk", "Startup Cost": 0.0, "Total Cost": 34.69, "Plan Rows": 4000, "Plan Width": 0, "Actual Startup Time": 0.376, "Actual Total Time": 0.376, "Actual Rows": 3988, "Actual Loops": 1, "Index Cond": "(supplier.s_nationkey = nation.n_nationkey)"}]}]}, {"Node Type": "Index Scan", "Parent Relationship": "Inner", "Parallel Aware": false, "Async Capable": false, "Scan Direction": "Forward", "Index Name": "ps_sk", "Relation Name": "partsupp", "Schema": "public", "Alias": "partsupp", "Startup Cost": 0.43, "Total Cost": 3.83, "Plan Rows": 80, "Plan Width": 18, "Actual Startup Time": 0.003, "Actual Total Time": 0.066, "Actual Rows": 80, "Actual Loops": 3988, "Output": ["partsupp.ps_partkey", "partsupp.ps_suppkey", "partsupp.ps_availqty", "partsupp.ps_supplycost", "partsupp.ps_comment"], "Index Cond": "(partsupp.ps_suppkey = supplier.s_suppkey)", "Rows Removed by Index Recheck": 0}]}]}]}, "Planning Time": 0.759, "Triggers": [], "Execution Time": 1005.539} diff --git a/dev9/pg17/tpch/sf_10/explain_analyze/15721/12-1.ok b/dev9/pg17/tpch/sf_10/explain_analyze/15721/12-1.ok new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/dev9/pg17/tpch/sf_10/explain_analyze/15721/12-1.res b/dev9/pg17/tpch/sf_10/explain_analyze/15721/12-1.res new file mode 100644 index 0000000000000000000000000000000000000000..7a31a6336fb064b63d05662fa31ba01cf0b56e88 --- /dev/null +++ b/dev9/pg17/tpch/sf_10/explain_analyze/15721/12-1.res @@ -0,0 +1 @@ +{"Plan": {"Node Type": "Aggregate", "Strategy": "Sorted", "Partial Mode": "Finalize", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 1376370.64, "Total Cost": 1377201.07, "Plan Rows": 7, "Plan Width": 27, "Actual Startup Time": 2426.714, "Actual Total Time": 2472.873, "Actual Rows": 2, "Actual Loops": 1, "Output": ["lineitem.l_shipmode", "sum(CASE WHEN ((orders.o_orderpriority = '1-URGENT'::bpchar) OR (orders.o_orderpriority = '2-HIGH'::bpchar)) THEN 1 ELSE 0 END)", "sum(CASE WHEN ((orders.o_orderpriority <> '1-URGENT'::bpchar) AND (orders.o_orderpriority <> '2-HIGH'::bpchar)) THEN 1 ELSE 0 END)"], "Group Key": ["lineitem.l_shipmode"], "Plans": [{"Node Type": "Gather Merge", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 1376370.64, "Total Cost": 1377200.63, "Plan Rows": 49, "Plan Width": 27, "Actual Startup Time": 2417.779, "Actual Total Time": 2472.855, "Actual Rows": 16, "Actual Loops": 1, "Output": ["lineitem.l_shipmode", "(PARTIAL sum(CASE WHEN ((orders.o_orderpriority = '1-URGENT'::bpchar) OR (orders.o_orderpriority = '2-HIGH'::bpchar)) THEN 1 ELSE 0 END))", "(PARTIAL sum(CASE WHEN ((orders.o_orderpriority <> '1-URGENT'::bpchar) AND (orders.o_orderpriority <> '2-HIGH'::bpchar)) THEN 1 ELSE 0 END))"], "Workers Planned": 7, "Workers Launched": 7, "Plans": [{"Node Type": "Aggregate", "Strategy": "Sorted", "Partial Mode": "Partial", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 1375370.52, "Total Cost": 1376194.51, "Plan Rows": 7, "Plan Width": 27, "Actual Startup Time": 2404.843, "Actual Total Time": 2413.316, "Actual Rows": 2, "Actual Loops": 8, "Output": ["lineitem.l_shipmode", "PARTIAL sum(CASE WHEN ((orders.o_orderpriority = '1-URGENT'::bpchar) OR (orders.o_orderpriority = '2-HIGH'::bpchar)) THEN 1 ELSE 0 END)", "PARTIAL sum(CASE WHEN ((orders.o_orderpriority <> '1-URGENT'::bpchar) AND (orders.o_orderpriority <> '2-HIGH'::bpchar)) THEN 1 ELSE 0 END)"], "Group Key": ["lineitem.l_shipmode"], "Workers": [{"Worker Number": 0, "Actual Startup Time": 2403.923, "Actual Total Time": 2412.384, "Actual Rows": 2, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 2403.954, "Actual Total Time": 2412.257, "Actual Rows": 2, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 2404.259, "Actual Total Time": 2412.659, "Actual Rows": 2, "Actual Loops": 1}, {"Worker Number": 3, "Actual Startup Time": 2404.262, "Actual Total Time": 2412.673, "Actual Rows": 2, "Actual Loops": 1}, {"Worker Number": 4, "Actual Startup Time": 2404.412, "Actual Total Time": 2412.787, "Actual Rows": 2, "Actual Loops": 1}, {"Worker Number": 5, "Actual Startup Time": 2404.368, "Actual Total Time": 2412.87, "Actual Rows": 2, "Actual Loops": 1}, {"Worker Number": 6, "Actual Startup Time": 2404.508, "Actual Total Time": 2412.922, "Actual Rows": 2, "Actual Loops": 1}], "Plans": [{"Node Type": "Sort", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 1375370.52, "Total Cost": 1375473.51, "Plan Rows": 41196, "Plan Width": 27, "Actual Startup Time": 2396.344, "Actual Total Time": 2398.671, "Actual Rows": 38973, "Actual Loops": 8, "Output": ["lineitem.l_shipmode", "orders.o_orderpriority"], "Sort Key": ["lineitem.l_shipmode"], "Sort Method": "quicksort", "Sort Space Used": 3416, "Sort Space Type": "Memory", "Workers": [{"Worker Number": 0, "Actual Startup Time": 2395.434, "Actual Total Time": 2397.74, "Actual Rows": 39004, "Actual Loops": 1, "Sort Method": "quicksort", "Sort Space Used": 3365, "Sort Space Type": "Memory"}, {"Worker Number": 1, "Actual Startup Time": 2395.497, "Actual Total Time": 2397.793, "Actual Rows": 38643, "Actual Loops": 1, "Sort Method": "quicksort", "Sort Space Used": 3348, "Sort Space Type": "Memory"}, {"Worker Number": 2, "Actual Startup Time": 2395.681, "Actual Total Time": 2397.995, "Actual Rows": 39036, "Actual Loops": 1, "Sort Method": "quicksort", "Sort Space Used": 3366, "Sort Space Type": "Memory"}, {"Worker Number": 3, "Actual Startup Time": 2395.763, "Actual Total Time": 2398.064, "Actual Rows": 38860, "Actual Loops": 1, "Sort Method": "quicksort", "Sort Space Used": 3358, "Sort Space Type": "Memory"}, {"Worker Number": 4, "Actual Startup Time": 2395.921, "Actual Total Time": 2398.219, "Actual Rows": 38778, "Actual Loops": 1, "Sort Method": "quicksort", "Sort Space Used": 3354, "Sort Space Type": "Memory"}, {"Worker Number": 5, "Actual Startup Time": 2396.02, "Actual Total Time": 2398.314, "Actual Rows": 38715, "Actual Loops": 1, "Sort Method": "quicksort", "Sort Space Used": 3351, "Sort Space Type": "Memory"}, {"Worker Number": 6, "Actual Startup Time": 2396.108, "Actual Total Time": 2398.394, "Actual Rows": 38658, "Actual Loops": 1, "Sort Method": "quicksort", "Sort Space Used": 3349, "Sort Space Type": "Memory"}], "Plans": [{"Node Type": "Nested Loop", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Join Type": "Inner", "Startup Cost": 0.43, "Total Cost": 1372212.8, "Plan Rows": 41196, "Plan Width": 27, "Actual Startup Time": 0.168, "Actual Total Time": 2386.01, "Actual Rows": 38973, "Actual Loops": 8, "Output": ["lineitem.l_shipmode", "orders.o_orderpriority"], "Inner Unique": true, "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.189, "Actual Total Time": 2384.907, "Actual Rows": 39004, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 0.327, "Actual Total Time": 2384.961, "Actual Rows": 38643, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 0.151, "Actual Total Time": 2385.071, "Actual Rows": 39036, "Actual Loops": 1}, {"Worker Number": 3, "Actual Startup Time": 0.112, "Actual Total Time": 2385.299, "Actual Rows": 38860, "Actual Loops": 1}, {"Worker Number": 4, "Actual Startup Time": 0.163, "Actual Total Time": 2385.436, "Actual Rows": 38778, "Actual Loops": 1}, {"Worker Number": 5, "Actual Startup Time": 0.17, "Actual Total Time": 2385.563, "Actual Rows": 38715, "Actual Loops": 1}, {"Worker Number": 6, "Actual Startup Time": 0.203, "Actual Total Time": 2385.68, "Actual Rows": 38658, "Actual Loops": 1}], "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": true, "Async Capable": false, "Relation Name": "lineitem", "Schema": "public", "Alias": "lineitem", "Startup Cost": 0.0, "Total Cost": 1317909.52, "Plan Rows": 41196, "Plan Width": 15, "Actual Startup Time": 0.101, "Actual Total Time": 2246.787, "Actual Rows": 38973, "Actual Loops": 8, "Output": ["lineitem.l_orderkey", "lineitem.l_partkey", "lineitem.l_suppkey", "lineitem.l_linenumber", "lineitem.l_quantity", "lineitem.l_extendedprice", "lineitem.l_discount", "lineitem.l_tax", "lineitem.l_returnflag", "lineitem.l_linestatus", "lineitem.l_shipdate", "lineitem.l_commitdate", "lineitem.l_receiptdate", "lineitem.l_shipinstruct", "lineitem.l_shipmode", "lineitem.l_comment"], "Filter": "((lineitem.l_shipmode = ANY ('{MAIL,TRUCK}'::bpchar[])) AND (lineitem.l_commitdate < lineitem.l_receiptdate) AND (lineitem.l_shipdate < lineitem.l_commitdate) AND (lineitem.l_receiptdate >= '1995-01-01'::date) AND (lineitem.l_receiptdate < '1996-01-01 00:00:00'::timestamp without time zone))", "Rows Removed by Filter": 7459283, "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.114, "Actual Total Time": 2243.896, "Actual Rows": 39004, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 0.257, "Actual Total Time": 2243.803, "Actual Rows": 38643, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 0.085, "Actual Total Time": 2243.972, "Actual Rows": 39036, "Actual Loops": 1}, {"Worker Number": 3, "Actual Startup Time": 0.038, "Actual Total Time": 2243.559, "Actual Rows": 38860, "Actual Loops": 1}, {"Worker Number": 4, "Actual Startup Time": 0.089, "Actual Total Time": 2244.475, "Actual Rows": 38778, "Actual Loops": 1}, {"Worker Number": 5, "Actual Startup Time": 0.099, "Actual Total Time": 2244.265, "Actual Rows": 38715, "Actual Loops": 1}, {"Worker Number": 6, "Actual Startup Time": 0.114, "Actual Total Time": 2244.862, "Actual Rows": 38658, "Actual Loops": 1}]}, {"Node Type": "Index Scan", "Parent Relationship": "Inner", "Parallel Aware": false, "Async Capable": false, "Scan Direction": "Forward", "Index Name": "o_ok", "Relation Name": "orders", "Schema": "public", "Alias": "orders", "Startup Cost": 0.43, "Total Cost": 1.32, "Plan Rows": 1, "Plan Width": 20, "Actual Startup Time": 0.003, "Actual Total Time": 0.003, "Actual Rows": 1, "Actual Loops": 311787, "Output": ["orders.o_orderkey", "orders.o_custkey", "orders.o_orderstatus", "orders.o_totalprice", "orders.o_orderdate", "orders.o_orderpriority", "orders.o_clerk", "orders.o_shippriority", "orders.o_comment"], "Index Cond": "(orders.o_orderkey = lineitem.l_orderkey)", "Rows Removed by Index Recheck": 0, "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.003, "Actual Total Time": 0.003, "Actual Rows": 1, "Actual Loops": 39004}, {"Worker Number": 1, "Actual Startup Time": 0.003, "Actual Total Time": 0.003, "Actual Rows": 1, "Actual Loops": 38643}, {"Worker Number": 2, "Actual Startup Time": 0.003, "Actual Total Time": 0.003, "Actual Rows": 1, "Actual Loops": 39036}, {"Worker Number": 3, "Actual Startup Time": 0.003, "Actual Total Time": 0.003, "Actual Rows": 1, "Actual Loops": 38860}, {"Worker Number": 4, "Actual Startup Time": 0.003, "Actual Total Time": 0.003, "Actual Rows": 1, "Actual Loops": 38778}, {"Worker Number": 5, "Actual Startup Time": 0.003, "Actual Total Time": 0.003, "Actual Rows": 1, "Actual Loops": 38715}, {"Worker Number": 6, "Actual Startup Time": 0.003, "Actual Total Time": 0.003, "Actual Rows": 1, "Actual Loops": 38658}]}]}]}]}]}]}, "Planning Time": 0.391, "Triggers": [], "Execution Time": 2472.929} diff --git a/dev9/pg17/tpch/sf_10/explain_analyze/15721/13-1.ok b/dev9/pg17/tpch/sf_10/explain_analyze/15721/13-1.ok new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/dev9/pg17/tpch/sf_10/explain_analyze/15721/13-1.res b/dev9/pg17/tpch/sf_10/explain_analyze/15721/13-1.res new file mode 100644 index 0000000000000000000000000000000000000000..9177cecac42fb765f1614f26f06c608f823e839f --- /dev/null +++ b/dev9/pg17/tpch/sf_10/explain_analyze/15721/13-1.res @@ -0,0 +1 @@ +{"Plan": {"Node Type": "Sort", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 893896.18, "Total Cost": 893896.68, "Plan Rows": 200, "Plan Width": 16, "Actual Startup Time": 22635.51, "Actual Total Time": 22635.514, "Actual Rows": 46, "Actual Loops": 1, "Output": ["(count(orders.o_orderkey))", "(count(*))"], "Sort Key": ["(count(*)) DESC", "(count(orders.o_orderkey)) DESC"], "Sort Method": "quicksort", "Sort Space Used": 26, "Sort Space Type": "Memory", "Plans": [{"Node Type": "Aggregate", "Strategy": "Hashed", "Partial Mode": "Simple", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 893886.53, "Total Cost": 893888.53, "Plan Rows": 200, "Plan Width": 16, "Actual Startup Time": 22635.477, "Actual Total Time": 22635.488, "Actual Rows": 46, "Actual Loops": 1, "Output": ["(count(orders.o_orderkey))", "count(*)"], "Group Key": ["count(orders.o_orderkey)"], "Planned Partitions": 0, "HashAgg Batches": 1, "Peak Memory Usage": 40, "Disk Usage": 0, "Plans": [{"Node Type": "Aggregate", "Strategy": "Sorted", "Partial Mode": "Simple", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 0.86, "Total Cost": 871386.53, "Plan Rows": 1500000, "Plan Width": 12, "Actual Startup Time": 0.067, "Actual Total Time": 22320.366, "Actual Rows": 1500000, "Actual Loops": 1, "Output": ["customer.c_custkey", "count(orders.o_orderkey)"], "Group Key": ["customer.c_custkey"], "Plans": [{"Node Type": "Merge Join", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Join Type": "Left", "Startup Cost": 0.86, "Total Cost": 782434.57, "Plan Rows": 14790393, "Plan Width": 8, "Actual Startup Time": 0.03, "Actual Total Time": 20458.438, "Actual Rows": 15338712, "Actual Loops": 1, "Output": ["customer.c_custkey", "orders.o_orderkey"], "Inner Unique": false, "Merge Cond": "(customer.c_custkey = orders.o_custkey)", "Plans": [{"Node Type": "Index Only Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Scan Direction": "Forward", "Index Name": "c_ck", "Relation Name": "customer", "Schema": "public", "Alias": "customer", "Startup Cost": 0.43, "Total Cost": 27028.03, "Plan Rows": 1500000, "Plan Width": 4, "Actual Startup Time": 0.015, "Actual Total Time": 205.168, "Actual Rows": 1500000, "Actual Loops": 1, "Output": ["customer.c_custkey"], "Heap Fetches": 0}, {"Node Type": "Index Scan", "Parent Relationship": "Inner", "Parallel Aware": false, "Async Capable": false, "Scan Direction": "Forward", "Index Name": "o_ck", "Relation Name": "orders", "Schema": "public", "Alias": "orders", "Startup Cost": 0.43, "Total Cost": 566776.63, "Plan Rows": 14790393, "Plan Width": 8, "Actual Startup Time": 0.012, "Actual Total Time": 17936.241, "Actual Rows": 14838692, "Actual Loops": 1, "Output": ["orders.o_orderkey", "orders.o_custkey", "orders.o_orderstatus", "orders.o_totalprice", "orders.o_orderdate", "orders.o_orderpriority", "orders.o_clerk", "orders.o_shippriority", "orders.o_comment"], "Filter": "((orders.o_comment)::text !~~ '%unusual%requests%'::text)", "Rows Removed by Filter": 161308}]}]}]}]}, "Planning Time": 0.525, "Triggers": [], "Execution Time": 22635.567} diff --git a/dev9/pg17/tpch/sf_10/explain_analyze/15721/14-1.ok b/dev9/pg17/tpch/sf_10/explain_analyze/15721/14-1.ok new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/dev9/pg17/tpch/sf_10/explain_analyze/15721/14-1.res b/dev9/pg17/tpch/sf_10/explain_analyze/15721/14-1.res new file mode 100644 index 0000000000000000000000000000000000000000..5c14460fe984f0d8fa9ae8423d2915c135b7008f --- /dev/null +++ b/dev9/pg17/tpch/sf_10/explain_analyze/15721/14-1.res @@ -0,0 +1 @@ +{"Plan": {"Node Type": "Aggregate", "Strategy": "Plain", "Partial Mode": "Finalize", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 693060.04, "Total Cost": 693060.06, "Plan Rows": 1, "Plan Width": 32, "Actual Startup Time": 957.035, "Actual Total Time": 1087.605, "Actual Rows": 1, "Actual Loops": 1, "Output": ["((100.00 * sum(CASE WHEN ((part.p_type)::text ~~ 'PROMO%'::text) THEN (lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount)) ELSE '0'::numeric END)) / sum((lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount))))"], "Plans": [{"Node Type": "Gather", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 693059.7, "Total Cost": 693060.01, "Plan Rows": 3, "Plan Width": 64, "Actual Startup Time": 939.792, "Actual Total Time": 1087.585, "Actual Rows": 4, "Actual Loops": 1, "Output": ["(PARTIAL sum(CASE WHEN ((part.p_type)::text ~~ 'PROMO%'::text) THEN (lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount)) ELSE '0'::numeric END))", "(PARTIAL sum((lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount))))"], "Workers Planned": 3, "Workers Launched": 3, "Single Copy": false, "Plans": [{"Node Type": "Aggregate", "Strategy": "Plain", "Partial Mode": "Partial", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 692059.7, "Total Cost": 692059.71, "Plan Rows": 1, "Plan Width": 64, "Actual Startup Time": 934.54, "Actual Total Time": 934.543, "Actual Rows": 1, "Actual Loops": 4, "Output": ["PARTIAL sum(CASE WHEN ((part.p_type)::text ~~ 'PROMO%'::text) THEN (lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount)) ELSE '0'::numeric END)", "PARTIAL sum((lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount)))"], "Workers": [{"Worker Number": 0, "Actual Startup Time": 934.465, "Actual Total Time": 934.467, "Actual Rows": 1, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 931.035, "Actual Total Time": 931.038, "Actual Rows": 1, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 933.195, "Actual Total Time": 933.198, "Actual Rows": 1, "Actual Loops": 1}], "Plans": [{"Node Type": "Hash Join", "Parent Relationship": "Outer", "Parallel Aware": true, "Async Capable": false, "Join Type": "Inner", "Startup Cost": 52211.57, "Total Cost": 687776.17, "Plan Rows": 244773, "Plan Width": 33, "Actual Startup Time": 298.479, "Actual Total Time": 824.567, "Actual Rows": 193211, "Actual Loops": 4, "Output": ["part.p_type", "lineitem.l_extendedprice", "lineitem.l_discount"], "Inner Unique": true, "Hash Cond": "(lineitem.l_partkey = part.p_partkey)", "Workers": [{"Worker Number": 0, "Actual Startup Time": 296.618, "Actual Total Time": 841.316, "Actual Rows": 158919, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 296.664, "Actual Total Time": 838.912, "Actual Rows": 156189, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 296.641, "Actual Total Time": 842.206, "Actual Rows": 156656, "Actual Loops": 1}], "Plans": [{"Node Type": "Index Scan", "Parent Relationship": "Outer", "Parallel Aware": true, "Async Capable": false, "Scan Direction": "Forward", "Index Name": "l_sd", "Relation Name": "lineitem", "Schema": "public", "Alias": "lineitem", "Startup Cost": 0.56, "Total Cost": 634922.64, "Plan Rows": 244773, "Plan Width": 16, "Actual Startup Time": 0.135, "Actual Total Time": 392.41, "Actual Rows": 193211, "Actual Loops": 4, "Output": ["lineitem.l_orderkey", "lineitem.l_partkey", "lineitem.l_suppkey", "lineitem.l_linenumber", "lineitem.l_quantity", "lineitem.l_extendedprice", "lineitem.l_discount", "lineitem.l_tax", "lineitem.l_returnflag", "lineitem.l_linestatus", "lineitem.l_shipdate", "lineitem.l_commitdate", "lineitem.l_receiptdate", "lineitem.l_shipinstruct", "lineitem.l_shipmode", "lineitem.l_comment"], "Index Cond": "((lineitem.l_shipdate >= '1995-05-01'::date) AND (lineitem.l_shipdate < '1995-06-01 00:00:00'::timestamp without time zone))", "Rows Removed by Index Recheck": 0, "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.154, "Actual Total Time": 427.299, "Actual Rows": 158919, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 0.182, "Actual Total Time": 427.687, "Actual Rows": 156189, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 0.103, "Actual Total Time": 430.716, "Actual Rows": 156656, "Actual Loops": 1}]}, {"Node Type": "Hash", "Parent Relationship": "Inner", "Parallel Aware": true, "Async Capable": false, "Startup Cost": 45961.0, "Total Cost": 45961.0, "Plan Rows": 500000, "Plan Width": 25, "Actual Startup Time": 294.508, "Actual Total Time": 294.509, "Actual Rows": 500000, "Actual Loops": 4, "Output": ["part.p_type", "part.p_partkey"], "Hash Buckets": 2097152, "Original Hash Buckets": 2097152, "Hash Batches": 1, "Original Hash Batches": 1, "Peak Memory Usage": 137312, "Workers": [{"Worker Number": 0, "Actual Startup Time": 296.33, "Actual Total Time": 296.331, "Actual Rows": 495253, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 296.345, "Actual Total Time": 296.346, "Actual Rows": 495664, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 296.394, "Actual Total Time": 296.395, "Actual Rows": 493643, "Actual Loops": 1}], "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": true, "Async Capable": false, "Relation Name": "part", "Schema": "public", "Alias": "part", "Startup Cost": 0.0, "Total Cost": 45961.0, "Plan Rows": 500000, "Plan Width": 25, "Actual Startup Time": 0.022, "Actual Total Time": 106.08, "Actual Rows": 500000, "Actual Loops": 4, "Output": ["part.p_type", "part.p_partkey"], "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.025, "Actual Total Time": 106.794, "Actual Rows": 495253, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 0.032, "Actual Total Time": 106.307, "Actual Rows": 495664, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 0.022, "Actual Total Time": 106.467, "Actual Rows": 493643, "Actual Loops": 1}]}]}]}]}]}]}, "Planning Time": 0.333, "Triggers": [], "Execution Time": 1087.65} diff --git a/dev9/pg17/tpch/sf_10/explain_analyze/15721/15-1.ok b/dev9/pg17/tpch/sf_10/explain_analyze/15721/15-1.ok new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/dev9/pg17/tpch/sf_10/explain_analyze/15721/15-1.res b/dev9/pg17/tpch/sf_10/explain_analyze/15721/15-1.res new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/dev9/pg17/tpch/sf_10/explain_analyze/15721/15-2.ok b/dev9/pg17/tpch/sf_10/explain_analyze/15721/15-2.ok new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/dev9/pg17/tpch/sf_10/explain_analyze/15721/15-2.res b/dev9/pg17/tpch/sf_10/explain_analyze/15721/15-2.res new file mode 100644 index 0000000000000000000000000000000000000000..d8f6199cb05b7d0a6239293d54ed460e024c0871 --- /dev/null +++ b/dev9/pg17/tpch/sf_10/explain_analyze/15721/15-2.res @@ -0,0 +1 @@ +{"Plan": {"Node Type": "Merge Join", "Parallel Aware": false, "Async Capable": false, "Join Type": "Inner", "Startup Cost": 2613103.56, "Total Cost": 2617383.77, "Plan Rows": 496, "Plan Width": 103, "Actual Startup Time": 7941.57, "Actual Total Time": 7941.575, "Actual Rows": 1, "Actual Loops": 1, "Output": ["supplier.s_suppkey", "supplier.s_name", "supplier.s_address", "supplier.s_phone", "revenue0.total_revenue"], "Inner Unique": true, "Merge Cond": "(supplier.s_suppkey = revenue0.supplier_no)", "Plans": [{"Node Type": "Aggregate", "Strategy": "Plain", "Partial Mode": "Simple", "Parent Relationship": "InitPlan", "Subplan Name": "InitPlan 1", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 1307033.91, "Total Cost": 1307033.92, "Plan Rows": 1, "Plan Width": 32, "Actual Startup Time": 3998.961, "Actual Total Time": 3998.963, "Actual Rows": 1, "Actual Loops": 1, "Output": ["max((sum((lineitem_1.l_extendedprice * ('1'::numeric - lineitem_1.l_discount)))))"], "Plans": [{"Node Type": "Aggregate", "Strategy": "Hashed", "Partial Mode": "Simple", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 1304554.61, "Total Cost": 1305794.26, "Plan Rows": 99172, "Plan Width": 36, "Actual Startup Time": 3923.683, "Actual Total Time": 3989.574, "Actual Rows": 100000, "Actual Loops": 1, "Output": ["lineitem_1.l_suppkey", "sum((lineitem_1.l_extendedprice * ('1'::numeric - lineitem_1.l_discount)))"], "Group Key": ["lineitem_1.l_suppkey"], "Planned Partitions": 0, "HashAgg Batches": 5, "Peak Memory Usage": 43057, "Disk Usage": 1648, "Plans": [{"Node Type": "Index Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Scan Direction": "Forward", "Index Name": "l_sd", "Relation Name": "lineitem", "Schema": "public", "Alias": "lineitem_1", "Startup Cost": 0.56, "Total Cost": 1282138.56, "Plan Rows": 2241605, "Plan Width": 16, "Actual Startup Time": 0.015, "Actual Total Time": 2081.764, "Actual Rows": 2247315, "Actual Loops": 1, "Output": ["lineitem_1.l_orderkey", "lineitem_1.l_partkey", "lineitem_1.l_suppkey", "lineitem_1.l_linenumber", "lineitem_1.l_quantity", "lineitem_1.l_extendedprice", "lineitem_1.l_discount", "lineitem_1.l_tax", "lineitem_1.l_returnflag", "lineitem_1.l_linestatus", "lineitem_1.l_shipdate", "lineitem_1.l_commitdate", "lineitem_1.l_receiptdate", "lineitem_1.l_shipinstruct", "lineitem_1.l_shipmode", "lineitem_1.l_comment"], "Index Cond": "((lineitem_1.l_shipdate >= '1995-01-01'::date) AND (lineitem_1.l_shipdate < '1995-04-01 00:00:00'::timestamp without time zone))", "Rows Removed by Index Recheck": 0}]}]}, {"Node Type": "Index Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Scan Direction": "Forward", "Index Name": "s_sk", "Relation Name": "supplier", "Schema": "public", "Alias": "supplier", "Startup Cost": 0.29, "Total Cost": 4023.06, "Plan Rows": 100000, "Plan Width": 71, "Actual Startup Time": 0.015, "Actual Total Time": 18.987, "Actual Rows": 83967, "Actual Loops": 1, "Output": ["supplier.s_suppkey", "supplier.s_name", "supplier.s_address", "supplier.s_nationkey", "supplier.s_phone", "supplier.s_acctbal", "supplier.s_comment"]}, {"Node Type": "Sort", "Parent Relationship": "Inner", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 1306069.35, "Total Cost": 1306070.59, "Plan Rows": 496, "Plan Width": 36, "Actual Startup Time": 7915.606, "Actual Total Time": 7915.608, "Actual Rows": 1, "Actual Loops": 1, "Output": ["revenue0.total_revenue", "revenue0.supplier_no"], "Sort Key": ["revenue0.supplier_no"], "Sort Method": "quicksort", "Sort Space Used": 25, "Sort Space Type": "Memory", "Plans": [{"Node Type": "Subquery Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Alias": "revenue0", "Startup Cost": 1304554.61, "Total Cost": 1306047.15, "Plan Rows": 496, "Plan Width": 36, "Actual Startup Time": 7876.637, "Actual Total Time": 7915.601, "Actual Rows": 1, "Actual Loops": 1, "Output": ["revenue0.total_revenue", "revenue0.supplier_no"], "Plans": [{"Node Type": "Aggregate", "Strategy": "Hashed", "Partial Mode": "Simple", "Parent Relationship": "Subquery", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 1304554.61, "Total Cost": 1306042.19, "Plan Rows": 496, "Plan Width": 36, "Actual Startup Time": 7876.635, "Actual Total Time": 7915.598, "Actual Rows": 1, "Actual Loops": 1, "Output": ["lineitem.l_suppkey", "sum((lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount)))"], "Group Key": ["lineitem.l_suppkey"], "Filter": "(sum((lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount))) = (InitPlan 1).col1)", "Planned Partitions": 0, "HashAgg Batches": 5, "Peak Memory Usage": 43057, "Disk Usage": 1648, "Rows Removed by Filter": 99999, "Plans": [{"Node Type": "Index Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Scan Direction": "Forward", "Index Name": "l_sd", "Relation Name": "lineitem", "Schema": "public", "Alias": "lineitem", "Startup Cost": 0.56, "Total Cost": 1282138.56, "Plan Rows": 2241605, "Plan Width": 16, "Actual Startup Time": 0.012, "Actual Total Time": 2066.77, "Actual Rows": 2247315, "Actual Loops": 1, "Output": ["lineitem.l_orderkey", "lineitem.l_partkey", "lineitem.l_suppkey", "lineitem.l_linenumber", "lineitem.l_quantity", "lineitem.l_extendedprice", "lineitem.l_discount", "lineitem.l_tax", "lineitem.l_returnflag", "lineitem.l_linestatus", "lineitem.l_shipdate", "lineitem.l_commitdate", "lineitem.l_receiptdate", "lineitem.l_shipinstruct", "lineitem.l_shipmode", "lineitem.l_comment"], "Index Cond": "((lineitem.l_shipdate >= '1995-01-01'::date) AND (lineitem.l_shipdate < '1995-04-01 00:00:00'::timestamp without time zone))", "Rows Removed by Index Recheck": 0}]}]}]}]}, "Planning Time": 0.376, "Triggers": [], "Execution Time": 7946.296} diff --git a/dev9/pg17/tpch/sf_10/explain_analyze/15721/15-3.ok b/dev9/pg17/tpch/sf_10/explain_analyze/15721/15-3.ok new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/dev9/pg17/tpch/sf_10/explain_analyze/15721/15-3.res b/dev9/pg17/tpch/sf_10/explain_analyze/15721/15-3.res new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/dev9/pg17/tpch/sf_10/explain_analyze/15721/16-1.ok b/dev9/pg17/tpch/sf_10/explain_analyze/15721/16-1.ok new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/dev9/pg17/tpch/sf_10/explain_analyze/15721/16-1.res b/dev9/pg17/tpch/sf_10/explain_analyze/15721/16-1.res new file mode 100644 index 0000000000000000000000000000000000000000..a3daf6492c2663d0ab3cfc865f8e057d9da0ed9e --- /dev/null +++ b/dev9/pg17/tpch/sf_10/explain_analyze/15721/16-1.res @@ -0,0 +1 @@ +{"Plan": {"Node Type": "Sort", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 243500.32, "Total Cost": 243885.85, "Plan Rows": 154213, "Plan Width": 44, "Actual Startup Time": 2605.563, "Actual Total Time": 2612.684, "Actual Rows": 27840, "Actual Loops": 1, "Output": ["part.p_brand", "part.p_type", "part.p_size", "(count(DISTINCT partsupp.ps_suppkey))"], "Sort Key": ["(count(DISTINCT partsupp.ps_suppkey)) DESC", "part.p_brand", "part.p_type", "part.p_size"], "Sort Method": "quicksort", "Sort Space Used": 2507, "Sort Space Type": "Memory", "Plans": [{"Node Type": "Aggregate", "Strategy": "Sorted", "Partial Mode": "Simple", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 149698.64, "Total Cost": 230211.35, "Plan Rows": 154213, "Plan Width": 44, "Actual Startup Time": 1558.643, "Actual Total Time": 2514.71, "Actual Rows": 27840, "Actual Loops": 1, "Output": ["part.p_brand", "part.p_type", "part.p_size", "count(DISTINCT partsupp.ps_suppkey)"], "Group Key": ["part.p_brand", "part.p_type", "part.p_size"], "Plans": [{"Node Type": "Gather Merge", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 149698.64, "Total Cost": 222684.49, "Plan Rows": 598473, "Plan Width": 40, "Actual Startup Time": 1558.545, "Actual Total Time": 2269.42, "Actual Rows": 1190471, "Actual Loops": 1, "Output": ["part.p_brand", "part.p_type", "part.p_size", "partsupp.ps_suppkey"], "Workers Planned": 6, "Workers Launched": 6, "Plans": [{"Node Type": "Sort", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 148698.55, "Total Cost": 148947.91, "Plan Rows": 99746, "Plan Width": 40, "Actual Startup Time": 1531.884, "Actual Total Time": 1565.285, "Actual Rows": 170067, "Actual Loops": 7, "Output": ["part.p_brand", "part.p_type", "part.p_size", "partsupp.ps_suppkey"], "Sort Key": ["part.p_brand", "part.p_type", "part.p_size", "partsupp.ps_suppkey"], "Sort Method": "quicksort", "Sort Space Used": 15343, "Sort Space Type": "Memory", "Workers": [{"Worker Number": 0, "Actual Startup Time": 1535.568, "Actual Total Time": 1572.567, "Actual Rows": 172256, "Actual Loops": 1, "Sort Method": "quicksort", "Sort Space Used": 16103, "Sort Space Type": "Memory"}, {"Worker Number": 1, "Actual Startup Time": 1542.999, "Actual Total Time": 1579.458, "Actual Rows": 170571, "Actual Loops": 1, "Sort Method": "quicksort", "Sort Space Used": 16004, "Sort Space Type": "Memory"}, {"Worker Number": 2, "Actual Startup Time": 1537.264, "Actual Total Time": 1573.487, "Actual Rows": 171446, "Actual Loops": 1, "Sort Method": "quicksort", "Sort Space Used": 16055, "Sort Space Type": "Memory"}, {"Worker Number": 3, "Actual Startup Time": 1535.905, "Actual Total Time": 1572.228, "Actual Rows": 171832, "Actual Loops": 1, "Sort Method": "quicksort", "Sort Space Used": 16078, "Sort Space Type": "Memory"}, {"Worker Number": 4, "Actual Startup Time": 1553.797, "Actual Total Time": 1590.618, "Actual Rows": 173476, "Actual Loops": 1, "Sort Method": "quicksort", "Sort Space Used": 16176, "Sort Space Type": "Memory"}, {"Worker Number": 5, "Actual Startup Time": 1541.873, "Actual Total Time": 1578.497, "Actual Rows": 171605, "Actual Loops": 1, "Sort Method": "quicksort", "Sort Space Used": 16066, "Sort Space Type": "Memory"}], "Plans": [{"Node Type": "Hash Join", "Parent Relationship": "Outer", "Parallel Aware": true, "Async Capable": false, "Join Type": "Inner", "Startup Cost": 57865.51, "Total Cost": 140416.65, "Plan Rows": 99746, "Plan Width": 40, "Actual Startup Time": 161.626, "Actual Total Time": 720.026, "Actual Rows": 170067, "Actual Loops": 7, "Output": ["part.p_brand", "part.p_type", "part.p_size", "partsupp.ps_suppkey"], "Inner Unique": true, "Hash Cond": "(partsupp.ps_partkey = part.p_partkey)", "Workers": [{"Worker Number": 0, "Actual Startup Time": 160.815, "Actual Total Time": 720.415, "Actual Rows": 172256, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 160.966, "Actual Total Time": 720.548, "Actual Rows": 170571, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 161.128, "Actual Total Time": 720.974, "Actual Rows": 171446, "Actual Loops": 1}, {"Worker Number": 3, "Actual Startup Time": 161.137, "Actual Total Time": 720.982, "Actual Rows": 171832, "Actual Loops": 1}, {"Worker Number": 4, "Actual Startup Time": 161.316, "Actual Total Time": 721.029, "Actual Rows": 173476, "Actual Loops": 1}, {"Worker Number": 5, "Actual Startup Time": 161.435, "Actual Total Time": 721.015, "Actual Rows": 171605, "Actual Loops": 1}], "Plans": [{"Node Type": "Index Only Scan", "Parent Relationship": "Outer", "Parallel Aware": true, "Async Capable": false, "Scan Direction": "Forward", "Index Name": "ps_sk_pk", "Relation Name": "partsupp", "Schema": "public", "Alias": "partsupp", "Startup Cost": 3469.46, "Total Cost": 84270.49, "Plan Rows": 666710, "Plan Width": 8, "Actual Startup Time": 31.89, "Actual Total Time": 351.27, "Actual Rows": 1142217, "Actual Loops": 7, "Output": ["partsupp.ps_suppkey", "partsupp.ps_partkey"], "Filter": "(NOT (ANY (partsupp.ps_suppkey = (hashed SubPlan 1).col1)))", "Rows Removed by Filter": 640, "Heap Fetches": 0, "Workers": [{"Worker Number": 0, "Actual Startup Time": 32.043, "Actual Total Time": 353.069, "Actual Rows": 1156668, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 32.057, "Actual Total Time": 352.715, "Actual Rows": 1143234, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 32.062, "Actual Total Time": 352.305, "Actual Rows": 1150488, "Actual Loops": 1}, {"Worker Number": 3, "Actual Startup Time": 31.91, "Actual Total Time": 353.893, "Actual Rows": 1159506, "Actual Loops": 1}, {"Worker Number": 4, "Actual Startup Time": 32.043, "Actual Total Time": 353.991, "Actual Rows": 1160524, "Actual Loops": 1}, {"Worker Number": 5, "Actual Startup Time": 32.037, "Actual Total Time": 352.648, "Actual Rows": 1154754, "Actual Loops": 1}], "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "SubPlan", "Subplan Name": "SubPlan 1", "Parallel Aware": false, "Async Capable": false, "Relation Name": "supplier", "Schema": "public", "Alias": "supplier", "Startup Cost": 0.0, "Total Cost": 3469.0, "Plan Rows": 10, "Plan Width": 4, "Actual Startup Time": 0.139, "Actual Total Time": 31.707, "Actual Rows": 56, "Actual Loops": 7, "Output": ["supplier.s_suppkey"], "Filter": "((supplier.s_comment)::text ~~ '%Customer%Complaints%'::text)", "Rows Removed by Filter": 99944, "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.141, "Actual Total Time": 31.827, "Actual Rows": 56, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 0.138, "Actual Total Time": 31.915, "Actual Rows": 56, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 0.154, "Actual Total Time": 31.954, "Actual Rows": 56, "Actual Loops": 1}, {"Worker Number": 3, "Actual Startup Time": 0.137, "Actual Total Time": 31.722, "Actual Rows": 56, "Actual Loops": 1}, {"Worker Number": 4, "Actual Startup Time": 0.139, "Actual Total Time": 31.798, "Actual Rows": 56, "Actual Loops": 1}, {"Worker Number": 5, "Actual Startup Time": 0.138, "Actual Total Time": 31.766, "Actual Rows": 56, "Actual Loops": 1}]}]}, {"Node Type": "Hash", "Parent Relationship": "Inner", "Parallel Aware": true, "Async Capable": false, "Startup Cost": 53461.0, "Total Cost": 53461.0, "Plan Rows": 74804, "Plan Width": 40, "Actual Startup Time": 129.1, "Actual Total Time": 129.102, "Actual Rows": 42542, "Actual Loops": 7, "Output": ["part.p_brand", "part.p_type", "part.p_size", "part.p_partkey"], "Hash Buckets": 524288, "Original Hash Buckets": 524288, "Hash Batches": 1, "Original Hash Batches": 1, "Peak Memory Usage": 26432, "Workers": [{"Worker Number": 0, "Actual Startup Time": 128.68, "Actual Total Time": 128.682, "Actual Rows": 42234, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 128.815, "Actual Total Time": 128.816, "Actual Rows": 41766, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 128.97, "Actual Total Time": 128.971, "Actual Rows": 42463, "Actual Loops": 1}, {"Worker Number": 3, "Actual Startup Time": 129.134, "Actual Total Time": 129.135, "Actual Rows": 42168, "Actual Loops": 1}, {"Worker Number": 4, "Actual Startup Time": 129.184, "Actual Total Time": 129.186, "Actual Rows": 42114, "Actual Loops": 1}, {"Worker Number": 5, "Actual Startup Time": 129.295, "Actual Total Time": 129.296, "Actual Rows": 42193, "Actual Loops": 1}], "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": true, "Async Capable": false, "Relation Name": "part", "Schema": "public", "Alias": "part", "Startup Cost": 0.0, "Total Cost": 53461.0, "Plan Rows": 74804, "Plan Width": 40, "Actual Startup Time": 0.026, "Actual Total Time": 107.971, "Actual Rows": 42542, "Actual Loops": 7, "Output": ["part.p_brand", "part.p_type", "part.p_size", "part.p_partkey"], "Filter": "((part.p_brand <> 'Brand#11'::bpchar) AND ((part.p_type)::text !~~ 'ECONOMY ANODIZED%'::text) AND (part.p_size = ANY ('{42,16,39,18,23,32,44,41}'::integer[])))", "Rows Removed by Filter": 243172, "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.027, "Actual Total Time": 107.811, "Actual Rows": 42234, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 0.026, "Actual Total Time": 107.103, "Actual Rows": 41766, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 0.027, "Actual Total Time": 108.563, "Actual Rows": 42463, "Actual Loops": 1}, {"Worker Number": 3, "Actual Startup Time": 0.036, "Actual Total Time": 108.198, "Actual Rows": 42168, "Actual Loops": 1}, {"Worker Number": 4, "Actual Startup Time": 0.029, "Actual Total Time": 107.956, "Actual Rows": 42114, "Actual Loops": 1}, {"Worker Number": 5, "Actual Startup Time": 0.025, "Actual Total Time": 108.03, "Actual Rows": 42193, "Actual Loops": 1}]}]}]}]}]}]}]}, "Planning Time": 0.622, "Triggers": [], "Execution Time": 2613.965} diff --git a/dev9/pg17/tpch/sf_10/explain_analyze/15721/17-1.ok b/dev9/pg17/tpch/sf_10/explain_analyze/15721/17-1.ok new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/dev9/pg17/tpch/sf_10/explain_analyze/15721/17-1.res b/dev9/pg17/tpch/sf_10/explain_analyze/15721/17-1.res new file mode 100644 index 0000000000000000000000000000000000000000..8b283f3ef28764c29c34f3bdca1d4df14632fcec --- /dev/null +++ b/dev9/pg17/tpch/sf_10/explain_analyze/15721/17-1.res @@ -0,0 +1 @@ +{"Plan": {"Node Type": "Aggregate", "Strategy": "Plain", "Partial Mode": "Simple", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 1932536.75, "Total Cost": 1932536.76, "Plan Rows": 1, "Plan Width": 32, "Actual Startup Time": 18519.294, "Actual Total Time": 18519.406, "Actual Rows": 1, "Actual Loops": 1, "Output": ["(sum(lineitem.l_extendedprice) / 7.0)"], "Plans": [{"Node Type": "Hash Join", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Join Type": "Inner", "Startup Cost": 49687.24, "Total Cost": 1932486.48, "Plan Rows": 20106, "Plan Width": 8, "Actual Startup Time": 87.851, "Actual Total Time": 18517.408, "Actual Rows": 5383, "Actual Loops": 1, "Output": ["lineitem.l_extendedprice"], "Inner Unique": true, "Hash Cond": "(lineitem.l_partkey = part.p_partkey)", "Join Filter": "(lineitem.l_quantity < (SubPlan 1))", "Rows Removed by Join Filter": 56148, "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Relation Name": "lineitem", "Schema": "public", "Alias": "lineitem", "Startup Cost": 0.0, "Total Cost": 1724968.72, "Plan Rows": 59987672, "Plan Width": 17, "Actual Startup Time": 0.018, "Actual Total Time": 5132.849, "Actual Rows": 59986052, "Actual Loops": 1, "Output": ["lineitem.l_orderkey", "lineitem.l_partkey", "lineitem.l_suppkey", "lineitem.l_linenumber", "lineitem.l_quantity", "lineitem.l_extendedprice", "lineitem.l_discount", "lineitem.l_tax", "lineitem.l_returnflag", "lineitem.l_linestatus", "lineitem.l_shipdate", "lineitem.l_commitdate", "lineitem.l_receiptdate", "lineitem.l_shipinstruct", "lineitem.l_shipmode", "lineitem.l_comment"]}, {"Node Type": "Hash", "Parent Relationship": "Inner", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 49662.1, "Total Cost": 49662.1, "Plan Rows": 2011, "Plan Width": 4, "Actual Startup Time": 78.023, "Actual Total Time": 78.131, "Actual Rows": 2063, "Actual Loops": 1, "Output": ["part.p_partkey"], "Hash Buckets": 4096, "Original Hash Buckets": 2048, "Hash Batches": 1, "Original Hash Batches": 1, "Peak Memory Usage": 105, "Plans": [{"Node Type": "Gather", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 1000.0, "Total Cost": 49662.1, "Plan Rows": 2011, "Plan Width": 4, "Actual Startup Time": 0.735, "Actual Total Time": 77.814, "Actual Rows": 2063, "Actual Loops": 1, "Output": ["part.p_partkey"], "Workers Planned": 4, "Workers Launched": 4, "Single Copy": false, "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": true, "Async Capable": false, "Relation Name": "part", "Schema": "public", "Alias": "part", "Startup Cost": 0.0, "Total Cost": 48461.0, "Plan Rows": 503, "Plan Width": 4, "Actual Startup Time": 0.227, "Actual Total Time": 74.078, "Actual Rows": 413, "Actual Loops": 5, "Output": ["part.p_partkey"], "Filter": "((part.p_brand = 'Brand#14'::bpchar) AND (part.p_container = 'WRAP BOX'::bpchar))", "Rows Removed by Filter": 399587, "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.28, "Actual Total Time": 73.212, "Actual Rows": 394, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 0.063, "Actual Total Time": 73.304, "Actual Rows": 365, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 0.199, "Actual Total Time": 73.273, "Actual Rows": 406, "Actual Loops": 1}, {"Worker Number": 3, "Actual Startup Time": 0.191, "Actual Total Time": 73.536, "Actual Rows": 425, "Actual Loops": 1}]}]}]}, {"Node Type": "Aggregate", "Strategy": "Plain", "Partial Mode": "Simple", "Parent Relationship": "SubPlan", "Subplan Name": "SubPlan 1", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 36.26, "Total Cost": 36.27, "Plan Rows": 1, "Plan Width": 32, "Actual Startup Time": 0.048, "Actual Total Time": 0.048, "Actual Rows": 1, "Actual Loops": 61531, "Output": ["(0.2 * avg(lineitem_1.l_quantity))"], "Plans": [{"Node Type": "Index Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Scan Direction": "Forward", "Index Name": "l_pk", "Relation Name": "lineitem", "Schema": "public", "Alias": "lineitem_1", "Startup Cost": 0.44, "Total Cost": 36.18, "Plan Rows": 31, "Plan Width": 5, "Actual Startup Time": 0.005, "Actual Total Time": 0.042, "Actual Rows": 31, "Actual Loops": 61531, "Output": ["lineitem_1.l_orderkey", "lineitem_1.l_partkey", "lineitem_1.l_suppkey", "lineitem_1.l_linenumber", "lineitem_1.l_quantity", "lineitem_1.l_extendedprice", "lineitem_1.l_discount", "lineitem_1.l_tax", "lineitem_1.l_returnflag", "lineitem_1.l_linestatus", "lineitem_1.l_shipdate", "lineitem_1.l_commitdate", "lineitem_1.l_receiptdate", "lineitem_1.l_shipinstruct", "lineitem_1.l_shipmode", "lineitem_1.l_comment"], "Index Cond": "(lineitem_1.l_partkey = part.p_partkey)", "Rows Removed by Index Recheck": 0}]}]}]}, "Planning Time": 0.633, "Triggers": [], "Execution Time": 18519.47} diff --git a/dev9/pg17/tpch/sf_10/explain_analyze/15721/18-1.ok b/dev9/pg17/tpch/sf_10/explain_analyze/15721/18-1.ok new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/dev9/pg17/tpch/sf_10/explain_analyze/15721/18-1.res b/dev9/pg17/tpch/sf_10/explain_analyze/15721/18-1.res new file mode 100644 index 0000000000000000000000000000000000000000..721725ad84078e97a20cfa8925dfd1ab3df711dc --- /dev/null +++ b/dev9/pg17/tpch/sf_10/explain_analyze/15721/18-1.res @@ -0,0 +1 @@ +{"Plan": {"Node Type": "Limit", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 3596251.23, "Total Cost": 3596251.48, "Plan Rows": 100, "Plan Width": 71, "Actual Startup Time": 33508.304, "Actual Total Time": 33706.698, "Actual Rows": 84, "Actual Loops": 1, "Output": ["customer.c_name", "customer.c_custkey", "orders.o_orderkey", "orders.o_orderdate", "orders.o_totalprice", "(sum(lineitem.l_quantity))"], "Plans": [{"Node Type": "Sort", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 3596251.23, "Total Cost": 3602962.53, "Plan Rows": 2684518, "Plan Width": 71, "Actual Startup Time": 33508.301, "Actual Total Time": 33706.688, "Actual Rows": 84, "Actual Loops": 1, "Output": ["customer.c_name", "customer.c_custkey", "orders.o_orderkey", "orders.o_orderdate", "orders.o_totalprice", "(sum(lineitem.l_quantity))"], "Sort Key": ["orders.o_totalprice DESC", "orders.o_orderdate"], "Sort Method": "quicksort", "Sort Space Used": 30, "Sort Space Type": "Memory", "Plans": [{"Node Type": "Aggregate", "Strategy": "Sorted", "Partial Mode": "Simple", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 3112574.32, "Total Cost": 3493650.89, "Plan Rows": 2684518, "Plan Width": 71, "Actual Startup Time": 33507.942, "Actual Total Time": 33706.592, "Actual Rows": 84, "Actual Loops": 1, "Output": ["customer.c_name", "customer.c_custkey", "orders.o_orderkey", "orders.o_orderdate", "orders.o_totalprice", "sum(lineitem.l_quantity)"], "Group Key": ["customer.c_custkey", "orders.o_orderkey"], "Plans": [{"Node Type": "Gather Merge", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 3112574.32, "Total Cost": 3439960.53, "Plan Rows": 2684518, "Plan Width": 44, "Actual Startup Time": 33507.925, "Actual Total Time": 33706.417, "Actual Rows": 588, "Actual Loops": 1, "Output": ["customer.c_custkey", "orders.o_orderkey", "customer.c_name", "orders.o_orderdate", "orders.o_totalprice", "lineitem.l_quantity"], "Workers Planned": 6, "Workers Launched": 6, "Plans": [{"Node Type": "Sort", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 3111574.22, "Total Cost": 3112692.77, "Plan Rows": 447420, "Plan Width": 44, "Actual Startup Time": 33497.311, "Actual Total Time": 33497.321, "Actual Rows": 84, "Actual Loops": 7, "Output": ["customer.c_custkey", "orders.o_orderkey", "customer.c_name", "orders.o_orderdate", "orders.o_totalprice", "lineitem.l_quantity"], "Sort Key": ["customer.c_custkey", "orders.o_orderkey"], "Sort Method": "quicksort", "Sort Space Used": 56, "Sort Space Type": "Memory", "Workers": [{"Worker Number": 0, "Actual Startup Time": 33499.623, "Actual Total Time": 33499.628, "Actual Rows": 7, "Actual Loops": 1, "Sort Method": "quicksort", "Sort Space Used": 25, "Sort Space Type": "Memory"}, {"Worker Number": 1, "Actual Startup Time": 33495.605, "Actual Total Time": 33495.61, "Actual Rows": 7, "Actual Loops": 1, "Sort Method": "quicksort", "Sort Space Used": 25, "Sort Space Type": "Memory"}, {"Worker Number": 2, "Actual Startup Time": 33495.636, "Actual Total Time": 33495.642, "Actual Rows": 7, "Actual Loops": 1, "Sort Method": "quicksort", "Sort Space Used": 25, "Sort Space Type": "Memory"}, {"Worker Number": 3, "Actual Startup Time": 33495.62, "Actual Total Time": 33495.626, "Actual Rows": 28, "Actual Loops": 1, "Sort Method": "quicksort", "Sort Space Used": 26, "Sort Space Type": "Memory"}, {"Worker Number": 4, "Actual Startup Time": 33495.609, "Actual Total Time": 33495.616, "Actual Rows": 21, "Actual Loops": 1, "Sort Method": "quicksort", "Sort Space Used": 26, "Sort Space Type": "Memory"}, {"Worker Number": 5, "Actual Startup Time": 33495.701, "Actual Total Time": 33495.706, "Actual Rows": 14, "Actual Loops": 1, "Sort Method": "quicksort", "Sort Space Used": 25, "Sort Space Type": "Memory"}], "Plans": [{"Node Type": "Hash Join", "Parent Relationship": "Outer", "Parallel Aware": true, "Async Capable": false, "Join Type": "Inner", "Startup Cost": 2602040.17, "Total Cost": 3061518.36, "Plan Rows": 447420, "Plan Width": 44, "Actual Startup Time": 32963.33, "Actual Total Time": 33497.252, "Actual Rows": 84, "Actual Loops": 7, "Output": ["customer.c_custkey", "orders.o_orderkey", "customer.c_name", "orders.o_orderdate", "orders.o_totalprice", "lineitem.l_quantity"], "Inner Unique": true, "Hash Cond": "(orders.o_custkey = customer.c_custkey)", "Workers": [{"Worker Number": 0, "Actual Startup Time": 33404.942, "Actual Total Time": 33499.59, "Actual Rows": 7, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 33435.412, "Actual Total Time": 33495.573, "Actual Rows": 7, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 33486.92, "Actual Total Time": 33495.603, "Actual Rows": 7, "Actual Loops": 1}, {"Worker Number": 3, "Actual Startup Time": 33389.931, "Actual Total Time": 33495.579, "Actual Rows": 28, "Actual Loops": 1}, {"Worker Number": 4, "Actual Startup Time": 33416.141, "Actual Total Time": 33495.571, "Actual Rows": 21, "Actual Loops": 1}, {"Worker Number": 5, "Actual Startup Time": 33386.417, "Actual Total Time": 33495.665, "Actual Rows": 14, "Actual Loops": 1}], "Plans": [{"Node Type": "Nested Loop", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Join Type": "Inner", "Startup Cost": 2557678.67, "Total Cost": 3015982.38, "Plan Rows": 447420, "Plan Width": 25, "Actual Startup Time": 32802.643, "Actual Total Time": 33335.899, "Actual Rows": 84, "Actual Loops": 7, "Output": ["orders.o_orderkey", "orders.o_orderdate", "orders.o_totalprice", "orders.o_custkey", "lineitem.l_quantity"], "Inner Unique": false, "Workers": [{"Worker Number": 0, "Actual Startup Time": 33245.379, "Actual Total Time": 33336.017, "Actual Rows": 7, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 33275.864, "Actual Total Time": 33336.021, "Actual Rows": 7, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 33327.338, "Actual Total Time": 33336.017, "Actual Rows": 7, "Actual Loops": 1}, {"Worker Number": 3, "Actual Startup Time": 33230.354, "Actual Total Time": 33335.984, "Actual Rows": 28, "Actual Loops": 1}, {"Worker Number": 4, "Actual Startup Time": 33256.567, "Actual Total Time": 33335.976, "Actual Rows": 21, "Actual Loops": 1}, {"Worker Number": 5, "Actual Startup Time": 33226.756, "Actual Total Time": 33335.991, "Actual Rows": 14, "Actual Loops": 1}], "Plans": [{"Node Type": "Hash Join", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Join Type": "Inner", "Startup Cost": 2557678.11, "Total Cost": 2850453.33, "Plan Rows": 111884, "Plan Width": 24, "Actual Startup Time": 32802.612, "Actual Total Time": 33335.694, "Actual Rows": 12, "Actual Loops": 7, "Output": ["orders.o_orderkey", "orders.o_orderdate", "orders.o_totalprice", "orders.o_custkey", "lineitem_1.l_orderkey"], "Inner Unique": true, "Hash Cond": "(orders.o_orderkey = lineitem_1.l_orderkey)", "Workers": [{"Worker Number": 0, "Actual Startup Time": 33245.349, "Actual Total Time": 33335.982, "Actual Rows": 1, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 33275.831, "Actual Total Time": 33335.983, "Actual Rows": 1, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 33327.306, "Actual Total Time": 33335.98, "Actual Rows": 1, "Actual Loops": 1}, {"Worker Number": 3, "Actual Startup Time": 33230.327, "Actual Total Time": 33335.906, "Actual Rows": 4, "Actual Loops": 1}, {"Worker Number": 4, "Actual Startup Time": 33256.54, "Actual Total Time": 33335.913, "Actual Rows": 3, "Actual Loops": 1}, {"Worker Number": 5, "Actual Startup Time": 33226.72, "Actual Total Time": 33335.933, "Actual Rows": 2, "Actual Loops": 1}], "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": true, "Async Capable": false, "Relation Name": "orders", "Schema": "public", "Alias": "orders", "Startup Cost": 0.0, "Total Cost": 286212.36, "Plan Rows": 2500136, "Plan Width": 20, "Actual Startup Time": 0.015, "Actual Total Time": 185.863, "Actual Rows": 2142857, "Actual Loops": 7, "Output": ["orders.o_orderkey", "orders.o_custkey", "orders.o_orderstatus", "orders.o_totalprice", "orders.o_orderdate", "orders.o_orderpriority", "orders.o_clerk", "orders.o_shippriority", "orders.o_comment"], "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.014, "Actual Total Time": 33.948, "Actual Rows": 384168, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 0.017, "Actual Total Time": 34.123, "Actual Rows": 389775, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 0.015, "Actual Total Time": 34.35, "Actual Rows": 392361, "Actual Loops": 1}, {"Worker Number": 3, "Actual Startup Time": 0.014, "Actual Total Time": 34.753, "Actual Rows": 397749, "Actual Loops": 1}, {"Worker Number": 4, "Actual Startup Time": 0.022, "Actual Total Time": 33.95, "Actual Rows": 388991, "Actual Loops": 1}, {"Worker Number": 5, "Actual Startup Time": 0.014, "Actual Total Time": 33.913, "Actual Rows": 387478, "Actual Loops": 1}]}, {"Node Type": "Hash", "Parent Relationship": "Inner", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 2549286.81, "Total Cost": 2549286.81, "Plan Rows": 671304, "Plan Width": 4, "Actual Startup Time": 32751.239, "Actual Total Time": 32751.24, "Actual Rows": 84, "Actual Loops": 7, "Output": ["lineitem_1.l_orderkey"], "Hash Buckets": 1048576, "Original Hash Buckets": 1048576, "Hash Batches": 1, "Original Hash Batches": 1, "Peak Memory Usage": 8195, "Workers": [{"Worker Number": 0, "Actual Startup Time": 33215.247, "Actual Total Time": 33215.248, "Actual Rows": 84, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 33215.116, "Actual Total Time": 33215.117, "Actual Rows": 84, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 33214.955, "Actual Total Time": 33214.957, "Actual Rows": 84, "Actual Loops": 1}, {"Worker Number": 3, "Actual Startup Time": 33212.972, "Actual Total Time": 33212.974, "Actual Rows": 84, "Actual Loops": 1}, {"Worker Number": 4, "Actual Startup Time": 33215.043, "Actual Total Time": 33215.045, "Actual Rows": 84, "Actual Loops": 1}, {"Worker Number": 5, "Actual Startup Time": 33215.321, "Actual Total Time": 33215.323, "Actual Rows": 84, "Actual Loops": 1}], "Plans": [{"Node Type": "Aggregate", "Strategy": "Sorted", "Partial Mode": "Simple", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 0.56, "Total Cost": 2549286.81, "Plan Rows": 671304, "Plan Width": 4, "Actual Startup Time": 698.9, "Actual Total Time": 32751.111, "Actual Rows": 84, "Actual Loops": 7, "Output": ["lineitem_1.l_orderkey"], "Group Key": ["lineitem_1.l_orderkey"], "Filter": "(sum(lineitem_1.l_quantity) > '314'::numeric)", "Rows Removed by Filter": 14999916, "Workers": [{"Worker Number": 0, "Actual Startup Time": 711.194, "Actual Total Time": 33215.105, "Actual Rows": 84, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 711.236, "Actual Total Time": 33214.988, "Actual Rows": 84, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 710.861, "Actual Total Time": 33214.827, "Actual Rows": 84, "Actual Loops": 1}, {"Worker Number": 3, "Actual Startup Time": 710.807, "Actual Total Time": 33212.836, "Actual Rows": 84, "Actual Loops": 1}, {"Worker Number": 4, "Actual Startup Time": 710.969, "Actual Total Time": 33214.901, "Actual Rows": 84, "Actual Loops": 1}, {"Worker Number": 5, "Actual Startup Time": 710.213, "Actual Total Time": 33215.178, "Actual Rows": 84, "Actual Loops": 1}], "Plans": [{"Node Type": "Index Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Scan Direction": "Forward", "Index Name": "l_ok", "Relation Name": "lineitem", "Schema": "public", "Alias": "lineitem_1", "Startup Cost": 0.56, "Total Cost": 2219139.78, "Plan Rows": 59987672, "Plan Width": 9, "Actual Startup Time": 0.065, "Actual Total Time": 15458.186, "Actual Rows": 59986052, "Actual Loops": 7, "Output": ["lineitem_1.l_orderkey", "lineitem_1.l_partkey", "lineitem_1.l_suppkey", "lineitem_1.l_linenumber", "lineitem_1.l_quantity", "lineitem_1.l_extendedprice", "lineitem_1.l_discount", "lineitem_1.l_tax", "lineitem_1.l_returnflag", "lineitem_1.l_linestatus", "lineitem_1.l_shipdate", "lineitem_1.l_commitdate", "lineitem_1.l_receiptdate", "lineitem_1.l_shipinstruct", "lineitem_1.l_shipmode", "lineitem_1.l_comment"], "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.059, "Actual Total Time": 15821.095, "Actual Rows": 59986052, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 0.079, "Actual Total Time": 16005.089, "Actual Rows": 59986052, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 0.078, "Actual Total Time": 15940.032, "Actual Rows": 59986052, "Actual Loops": 1}, {"Worker Number": 3, "Actual Startup Time": 0.057, "Actual Total Time": 15878.53, "Actual Rows": 59986052, "Actual Loops": 1}, {"Worker Number": 4, "Actual Startup Time": 0.07, "Actual Total Time": 15914.92, "Actual Rows": 59986052, "Actual Loops": 1}, {"Worker Number": 5, "Actual Startup Time": 0.087, "Actual Total Time": 15927.401, "Actual Rows": 59986052, "Actual Loops": 1}]}]}]}]}, {"Node Type": "Index Scan", "Parent Relationship": "Inner", "Parallel Aware": false, "Async Capable": false, "Scan Direction": "Forward", "Index Name": "l_ok", "Relation Name": "lineitem", "Schema": "public", "Alias": "lineitem", "Startup Cost": 0.56, "Total Cost": 1.18, "Plan Rows": 30, "Plan Width": 9, "Actual Startup Time": 0.012, "Actual Total Time": 0.014, "Actual Rows": 7, "Actual Loops": 84, "Output": ["lineitem.l_orderkey", "lineitem.l_partkey", "lineitem.l_suppkey", "lineitem.l_linenumber", "lineitem.l_quantity", "lineitem.l_extendedprice", "lineitem.l_discount", "lineitem.l_tax", "lineitem.l_returnflag", "lineitem.l_linestatus", "lineitem.l_shipdate", "lineitem.l_commitdate", "lineitem.l_receiptdate", "lineitem.l_shipinstruct", "lineitem.l_shipmode", "lineitem.l_comment"], "Index Cond": "(lineitem.l_orderkey = orders.o_orderkey)", "Rows Removed by Index Recheck": 0, "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.024, "Actual Total Time": 0.027, "Actual Rows": 7, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 0.027, "Actual Total Time": 0.029, "Actual Rows": 7, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 0.027, "Actual Total Time": 0.029, "Actual Rows": 7, "Actual Loops": 1}, {"Worker Number": 3, "Actual Startup Time": 0.013, "Actual Total Time": 0.015, "Actual Rows": 7, "Actual Loops": 4}, {"Worker Number": 4, "Actual Startup Time": 0.014, "Actual Total Time": 0.016, "Actual Rows": 7, "Actual Loops": 3}, {"Worker Number": 5, "Actual Startup Time": 0.02, "Actual Total Time": 0.022, "Actual Rows": 7, "Actual Loops": 2}]}]}, {"Node Type": "Hash", "Parent Relationship": "Inner", "Parallel Aware": true, "Async Capable": false, "Startup Cost": 39674.0, "Total Cost": 39674.0, "Plan Rows": 375000, "Plan Width": 23, "Actual Startup Time": 158.6, "Actual Total Time": 158.6, "Actual Rows": 214286, "Actual Loops": 7, "Output": ["customer.c_name", "customer.c_custkey"], "Hash Buckets": 2097152, "Original Hash Buckets": 2097152, "Hash Batches": 1, "Original Hash Batches": 1, "Peak Memory Usage": 98624, "Workers": [{"Worker Number": 0, "Actual Startup Time": 159.483, "Actual Total Time": 159.483, "Actual Rows": 212561, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 159.451, "Actual Total Time": 159.451, "Actual Rows": 213497, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 159.502, "Actual Total Time": 159.502, "Actual Rows": 214187, "Actual Loops": 1}, {"Worker Number": 3, "Actual Startup Time": 159.508, "Actual Total Time": 159.509, "Actual Rows": 214251, "Actual Loops": 1}, {"Worker Number": 4, "Actual Startup Time": 159.493, "Actual Total Time": 159.494, "Actual Rows": 216040, "Actual Loops": 1}, {"Worker Number": 5, "Actual Startup Time": 159.581, "Actual Total Time": 159.582, "Actual Rows": 214141, "Actual Loops": 1}], "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": true, "Async Capable": false, "Relation Name": "customer", "Schema": "public", "Alias": "customer", "Startup Cost": 0.0, "Total Cost": 39674.0, "Plan Rows": 375000, "Plan Width": 23, "Actual Startup Time": 0.06, "Actual Total Time": 48.232, "Actual Rows": 214286, "Actual Loops": 7, "Output": ["customer.c_name", "customer.c_custkey"], "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.07, "Actual Total Time": 47.886, "Actual Rows": 212561, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 0.068, "Actual Total Time": 47.937, "Actual Rows": 213497, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 0.069, "Actual Total Time": 48.069, "Actual Rows": 214187, "Actual Loops": 1}, {"Worker Number": 3, "Actual Startup Time": 0.068, "Actual Total Time": 47.92, "Actual Rows": 214251, "Actual Loops": 1}, {"Worker Number": 4, "Actual Startup Time": 0.061, "Actual Total Time": 48.255, "Actual Rows": 216040, "Actual Loops": 1}, {"Worker Number": 5, "Actual Startup Time": 0.075, "Actual Total Time": 48.168, "Actual Rows": 214141, "Actual Loops": 1}]}]}]}]}]}]}]}]}, "Planning Time": 1.292, "Triggers": [], "Execution Time": 33706.783} diff --git a/dev9/pg17/tpch/sf_10/explain_analyze/15721/19-1.ok b/dev9/pg17/tpch/sf_10/explain_analyze/15721/19-1.ok new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/dev9/pg17/tpch/sf_10/explain_analyze/15721/19-1.res b/dev9/pg17/tpch/sf_10/explain_analyze/15721/19-1.res new file mode 100644 index 0000000000000000000000000000000000000000..338601382f79490021388565aecf090ecfc1939d --- /dev/null +++ b/dev9/pg17/tpch/sf_10/explain_analyze/15721/19-1.res @@ -0,0 +1 @@ +{"Plan": {"Node Type": "Aggregate", "Strategy": "Plain", "Partial Mode": "Finalize", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 106401.87, "Total Cost": 106401.88, "Plan Rows": 1, "Plan Width": 32, "Actual Startup Time": 285.204, "Actual Total Time": 342.263, "Actual Rows": 1, "Actual Loops": 1, "Output": ["sum((lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount)))"], "Plans": [{"Node Type": "Gather", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 106401.44, "Total Cost": 106401.85, "Plan Rows": 4, "Plan Width": 32, "Actual Startup Time": 285.106, "Actual Total Time": 342.253, "Actual Rows": 5, "Actual Loops": 1, "Output": ["(PARTIAL sum((lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount))))"], "Workers Planned": 4, "Workers Launched": 4, "Single Copy": false, "Plans": [{"Node Type": "Aggregate", "Strategy": "Plain", "Partial Mode": "Partial", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 105401.44, "Total Cost": 105401.45, "Plan Rows": 1, "Plan Width": 32, "Actual Startup Time": 281.148, "Actual Total Time": 281.15, "Actual Rows": 1, "Actual Loops": 5, "Output": ["PARTIAL sum((lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount)))"], "Workers": [{"Worker Number": 0, "Actual Startup Time": 280.19, "Actual Total Time": 280.191, "Actual Rows": 1, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 280.235, "Actual Total Time": 280.237, "Actual Rows": 1, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 280.245, "Actual Total Time": 280.247, "Actual Rows": 1, "Actual Loops": 1}, {"Worker Number": 3, "Actual Startup Time": 280.465, "Actual Total Time": 280.466, "Actual Rows": 1, "Actual Loops": 1}], "Plans": [{"Node Type": "Nested Loop", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Join Type": "Inner", "Startup Cost": 0.44, "Total Cost": 105399.32, "Plan Rows": 282, "Plan Width": 12, "Actual Startup Time": 2.258, "Actual Total Time": 280.976, "Actual Rows": 229, "Actual Loops": 5, "Output": ["lineitem.l_extendedprice", "lineitem.l_discount"], "Inner Unique": false, "Workers": [{"Worker Number": 0, "Actual Startup Time": 1.581, "Actual Total Time": 280.02, "Actual Rows": 231, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 0.584, "Actual Total Time": 280.082, "Actual Rows": 205, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 4.413, "Actual Total Time": 280.089, "Actual Rows": 207, "Actual Loops": 1}, {"Worker Number": 3, "Actual Startup Time": 4.449, "Actual Total Time": 280.301, "Actual Rows": 207, "Actual Loops": 1}], "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": true, "Async Capable": false, "Relation Name": "part", "Schema": "public", "Alias": "part", "Startup Cost": 0.0, "Total Cost": 62211.0, "Plan Rows": 1198, "Plan Width": 30, "Actual Startup Time": 0.137, "Actual Total Time": 156.702, "Actual Rows": 942, "Actual Loops": 5, "Output": ["part.p_partkey", "part.p_name", "part.p_mfgr", "part.p_brand", "part.p_type", "part.p_size", "part.p_container", "part.p_retailprice", "part.p_comment"], "Filter": "((part.p_size >= 1) AND (((part.p_brand = 'Brand#52'::bpchar) AND (part.p_container = ANY ('{\"SM CASE\",\"SM BOX\",\"SM PACK\",\"SM PKG\"}'::bpchar[])) AND (part.p_size <= 5)) OR ((part.p_brand = 'Brand#42'::bpchar) AND (part.p_container = ANY ('{\"MED BAG\",\"MED BOX\",\"MED PKG\",\"MED PACK\"}'::bpchar[])) AND (part.p_size <= 10)) OR ((part.p_brand = 'Brand#23'::bpchar) AND (part.p_container = ANY ('{\"LG CASE\",\"LG BOX\",\"LG PACK\",\"LG PKG\"}'::bpchar[])) AND (part.p_size <= 15))))", "Rows Removed by Filter": 399058, "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.18, "Actual Total Time": 143.94, "Actual Rows": 868, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 0.113, "Actual Total Time": 141.824, "Actual Rows": 883, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 0.275, "Actual Total Time": 141.491, "Actual Rows": 896, "Actual Loops": 1}, {"Worker Number": 3, "Actual Startup Time": 0.077, "Actual Total Time": 146.258, "Actual Rows": 845, "Actual Loops": 1}]}, {"Node Type": "Index Scan", "Parent Relationship": "Inner", "Parallel Aware": false, "Async Capable": false, "Scan Direction": "Forward", "Index Name": "l_pk", "Relation Name": "lineitem", "Schema": "public", "Alias": "lineitem", "Startup Cost": 0.44, "Total Cost": 36.04, "Plan Rows": 1, "Plan Width": 21, "Actual Startup Time": 0.117, "Actual Total Time": 0.131, "Actual Rows": 0, "Actual Loops": 4710, "Output": ["lineitem.l_orderkey", "lineitem.l_partkey", "lineitem.l_suppkey", "lineitem.l_linenumber", "lineitem.l_quantity", "lineitem.l_extendedprice", "lineitem.l_discount", "lineitem.l_tax", "lineitem.l_returnflag", "lineitem.l_linestatus", "lineitem.l_shipdate", "lineitem.l_commitdate", "lineitem.l_receiptdate", "lineitem.l_shipinstruct", "lineitem.l_shipmode", "lineitem.l_comment"], "Index Cond": "(lineitem.l_partkey = part.p_partkey)", "Rows Removed by Index Recheck": 0, "Filter": "((lineitem.l_shipmode = ANY ('{AIR,\"AIR REG\"}'::bpchar[])) AND (lineitem.l_shipinstruct = 'DELIVER IN PERSON'::bpchar) AND (((lineitem.l_quantity >= '9'::numeric) AND (lineitem.l_quantity <= '19'::numeric)) OR ((lineitem.l_quantity >= '18'::numeric) AND (lineitem.l_quantity <= '28'::numeric)) OR ((lineitem.l_quantity >= '22'::numeric) AND (lineitem.l_quantity <= '32'::numeric))) AND (((part.p_brand = 'Brand#52'::bpchar) AND (part.p_container = ANY ('{\"SM CASE\",\"SM BOX\",\"SM PACK\",\"SM PKG\"}'::bpchar[])) AND (lineitem.l_quantity >= '9'::numeric) AND (lineitem.l_quantity <= '19'::numeric) AND (part.p_size <= 5)) OR ((part.p_brand = 'Brand#42'::bpchar) AND (part.p_container = ANY ('{\"MED BAG\",\"MED BOX\",\"MED PKG\",\"MED PACK\"}'::bpchar[])) AND (lineitem.l_quantity >= '18'::numeric) AND (lineitem.l_quantity <= '28'::numeric) AND (part.p_size <= 10)) OR ((part.p_brand = 'Brand#23'::bpchar) AND (part.p_container = ANY ('{\"LG CASE\",\"LG BOX\",\"LG PACK\",\"LG PKG\"}'::bpchar[])) AND (lineitem.l_quantity >= '22'::numeric) AND (lineitem.l_quantity <= '32'::numeric) AND (part.p_size <= 15))))", "Rows Removed by Filter": 30, "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.139, "Actual Total Time": 0.156, "Actual Rows": 0, "Actual Loops": 868}, {"Worker Number": 1, "Actual Startup Time": 0.138, "Actual Total Time": 0.156, "Actual Rows": 0, "Actual Loops": 883}, {"Worker Number": 2, "Actual Startup Time": 0.138, "Actual Total Time": 0.154, "Actual Rows": 0, "Actual Loops": 896}, {"Worker Number": 3, "Actual Startup Time": 0.142, "Actual Total Time": 0.158, "Actual Rows": 0, "Actual Loops": 845}]}]}]}]}]}, "Planning Time": 0.62, "Triggers": [], "Execution Time": 342.313} diff --git a/dev9/pg17/tpch/sf_10/explain_analyze/15721/2-1.ok b/dev9/pg17/tpch/sf_10/explain_analyze/15721/2-1.ok new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/dev9/pg17/tpch/sf_10/explain_analyze/15721/2-1.res b/dev9/pg17/tpch/sf_10/explain_analyze/15721/2-1.res new file mode 100644 index 0000000000000000000000000000000000000000..af503ba9409073bdb058b41e311121eccb3da038 --- /dev/null +++ b/dev9/pg17/tpch/sf_10/explain_analyze/15721/2-1.res @@ -0,0 +1 @@ +{"Plan": {"Node Type": "Limit", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 363923.72, "Total Cost": 363923.72, "Plan Rows": 1, "Plan Width": 192, "Actual Startup Time": 2986.562, "Actual Total Time": 2986.687, "Actual Rows": 100, "Actual Loops": 1, "Output": ["supplier.s_acctbal", "supplier.s_name", "nation.n_name", "part.p_partkey", "part.p_mfgr", "supplier.s_address", "supplier.s_phone", "supplier.s_comment"], "Plans": [{"Node Type": "Sort", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 363923.72, "Total Cost": 363923.72, "Plan Rows": 1, "Plan Width": 192, "Actual Startup Time": 2986.56, "Actual Total Time": 2986.677, "Actual Rows": 100, "Actual Loops": 1, "Output": ["supplier.s_acctbal", "supplier.s_name", "nation.n_name", "part.p_partkey", "part.p_mfgr", "supplier.s_address", "supplier.s_phone", "supplier.s_comment"], "Sort Key": ["supplier.s_acctbal DESC", "nation.n_name", "supplier.s_name", "part.p_partkey"], "Sort Method": "top-N heapsort", "Sort Space Used": 68, "Sort Space Type": "Memory", "Plans": [{"Node Type": "Hash Join", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Join Type": "Inner", "Startup Cost": 157755.18, "Total Cost": 363923.71, "Plan Rows": 1, "Plan Width": 192, "Actual Startup Time": 2401.695, "Actual Total Time": 2984.357, "Actual Rows": 4732, "Actual Loops": 1, "Output": ["supplier.s_acctbal", "supplier.s_name", "nation.n_name", "part.p_partkey", "part.p_mfgr", "supplier.s_address", "supplier.s_phone", "supplier.s_comment"], "Inner Unique": false, "Hash Cond": "((part.p_partkey = partsupp.ps_partkey) AND ((SubPlan 1) = partsupp.ps_supplycost))", "Plans": [{"Node Type": "Gather", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 1000.0, "Total Cost": 50272.9, "Plan Rows": 8119, "Plan Width": 30, "Actual Startup Time": 0.299, "Actual Total Time": 2.148, "Actual Rows": 8075, "Actual Loops": 1, "Output": ["part.p_partkey", "part.p_mfgr"], "Workers Planned": 4, "Workers Launched": 4, "Single Copy": false, "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": true, "Async Capable": false, "Relation Name": "part", "Schema": "public", "Alias": "part", "Startup Cost": 0.0, "Total Cost": 48461.0, "Plan Rows": 2030, "Plan Width": 30, "Actual Startup Time": 0.056, "Actual Total Time": 101.323, "Actual Rows": 1615, "Actual Loops": 5, "Output": ["part.p_partkey", "part.p_mfgr"], "Filter": "(((part.p_type)::text ~~ '%TIN'::text) AND (part.p_size = 44))", "Rows Removed by Filter": 398385, "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.035, "Actual Total Time": 161.269, "Actual Rows": 2634, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 0.109, "Actual Total Time": 149.497, "Actual Rows": 2387, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 0.076, "Actual Total Time": 114.757, "Actual Rows": 1832, "Actual Loops": 1}, {"Worker Number": 3, "Actual Startup Time": 0.036, "Actual Total Time": 80.678, "Actual Rows": 1216, "Actual Loops": 1}]}]}, {"Node Type": "Hash", "Parent Relationship": "Inner", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 93687.64, "Total Cost": 93687.64, "Plan Rows": 1600103, "Plan Width": 172, "Actual Startup Time": 2399.321, "Actual Total Time": 2399.324, "Actual Rows": 1602640, "Actual Loops": 1, "Output": ["supplier.s_acctbal", "supplier.s_name", "supplier.s_address", "supplier.s_phone", "supplier.s_comment", "partsupp.ps_partkey", "partsupp.ps_supplycost", "nation.n_name"], "Hash Buckets": 262144, "Original Hash Buckets": 262144, "Hash Batches": 16, "Original Hash Batches": 16, "Peak Memory Usage": 22469, "Plans": [{"Node Type": "Nested Loop", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Join Type": "Inner", "Startup Cost": 0.72, "Total Cost": 93687.64, "Plan Rows": 1600103, "Plan Width": 172, "Actual Startup Time": 0.038, "Actual Total Time": 1601.164, "Actual Rows": 1602640, "Actual Loops": 1, "Output": ["supplier.s_acctbal", "supplier.s_name", "supplier.s_address", "supplier.s_phone", "supplier.s_comment", "partsupp.ps_partkey", "partsupp.ps_supplycost", "nation.n_name"], "Inner Unique": false, "Plans": [{"Node Type": "Nested Loop", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Join Type": "Inner", "Startup Cost": 0.29, "Total Cost": 1056.07, "Plan Rows": 20000, "Plan Width": 166, "Actual Startup Time": 0.028, "Actual Total Time": 17.217, "Actual Rows": 20033, "Actual Loops": 1, "Output": ["supplier.s_acctbal", "supplier.s_name", "supplier.s_address", "supplier.s_phone", "supplier.s_comment", "supplier.s_suppkey", "nation.n_name"], "Inner Unique": false, "Plans": [{"Node Type": "Nested Loop", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Join Type": "Inner", "Startup Cost": 0.0, "Total Cost": 2.62, "Plan Rows": 5, "Plan Width": 30, "Actual Startup Time": 0.014, "Actual Total Time": 0.035, "Actual Rows": 5, "Actual Loops": 1, "Output": ["nation.n_name", "nation.n_nationkey"], "Inner Unique": false, "Join Filter": "(nation.n_regionkey = region.r_regionkey)", "Rows Removed by Join Filter": 20, "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Relation Name": "region", "Schema": "public", "Alias": "region", "Startup Cost": 0.0, "Total Cost": 1.06, "Plan Rows": 1, "Plan Width": 4, "Actual Startup Time": 0.006, "Actual Total Time": 0.009, "Actual Rows": 1, "Actual Loops": 1, "Output": ["region.r_regionkey", "region.r_name", "region.r_comment"], "Filter": "(region.r_name = 'EUROPE'::bpchar)", "Rows Removed by Filter": 4}, {"Node Type": "Seq Scan", "Parent Relationship": "Inner", "Parallel Aware": false, "Async Capable": false, "Relation Name": "nation", "Schema": "public", "Alias": "nation", "Startup Cost": 0.0, "Total Cost": 1.25, "Plan Rows": 25, "Plan Width": 34, "Actual Startup Time": 0.004, "Actual Total Time": 0.012, "Actual Rows": 25, "Actual Loops": 1, "Output": ["nation.n_nationkey", "nation.n_name", "nation.n_regionkey", "nation.n_comment"]}]}, {"Node Type": "Index Scan", "Parent Relationship": "Inner", "Parallel Aware": false, "Async Capable": false, "Scan Direction": "Forward", "Index Name": "s_nk", "Relation Name": "supplier", "Schema": "public", "Alias": "supplier", "Startup Cost": 0.29, "Total Cost": 170.69, "Plan Rows": 4000, "Plan Width": 144, "Actual Startup Time": 0.008, "Actual Total Time": 2.314, "Actual Rows": 4007, "Actual Loops": 5, "Output": ["supplier.s_suppkey", "supplier.s_name", "supplier.s_address", "supplier.s_nationkey", "supplier.s_phone", "supplier.s_acctbal", "supplier.s_comment"], "Index Cond": "(supplier.s_nationkey = nation.n_nationkey)", "Rows Removed by Index Recheck": 0}]}, {"Node Type": "Index Scan", "Parent Relationship": "Inner", "Parallel Aware": false, "Async Capable": false, "Scan Direction": "Forward", "Index Name": "ps_sk", "Relation Name": "partsupp", "Schema": "public", "Alias": "partsupp", "Startup Cost": 0.43, "Total Cost": 3.83, "Plan Rows": 80, "Plan Width": 14, "Actual Startup Time": 0.003, "Actual Total Time": 0.065, "Actual Rows": 80, "Actual Loops": 20033, "Output": ["partsupp.ps_partkey", "partsupp.ps_suppkey", "partsupp.ps_availqty", "partsupp.ps_supplycost", "partsupp.ps_comment"], "Index Cond": "(partsupp.ps_suppkey = supplier.s_suppkey)", "Rows Removed by Index Recheck": 0}]}]}, {"Node Type": "Aggregate", "Strategy": "Plain", "Partial Mode": "Simple", "Parent Relationship": "SubPlan", "Subplan Name": "SubPlan 1", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 14.48, "Total Cost": 14.49, "Plan Rows": 1, "Plan Width": 32, "Actual Startup Time": 0.024, "Actual Total Time": 0.024, "Actual Rows": 1, "Actual Loops": 12807, "Output": ["min(partsupp_1.ps_supplycost)"], "Plans": [{"Node Type": "Nested Loop", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Join Type": "Inner", "Startup Cost": 0.86, "Total Cost": 14.48, "Plan Rows": 1, "Plan Width": 6, "Actual Startup Time": 0.016, "Actual Total Time": 0.023, "Actual Rows": 1, "Actual Loops": 12807, "Output": ["partsupp_1.ps_supplycost"], "Inner Unique": false, "Join Filter": "(nation_1.n_regionkey = region_1.r_regionkey)", "Rows Removed by Join Filter": 3, "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Relation Name": "region", "Schema": "public", "Alias": "region_1", "Startup Cost": 0.0, "Total Cost": 1.06, "Plan Rows": 1, "Plan Width": 4, "Actual Startup Time": 0.001, "Actual Total Time": 0.001, "Actual Rows": 1, "Actual Loops": 12807, "Output": ["region_1.r_regionkey", "region_1.r_name", "region_1.r_comment"], "Filter": "(region_1.r_name = 'EUROPE'::bpchar)", "Rows Removed by Filter": 4}, {"Node Type": "Nested Loop", "Parent Relationship": "Inner", "Parallel Aware": false, "Async Capable": false, "Join Type": "Inner", "Startup Cost": 0.86, "Total Cost": 13.36, "Plan Rows": 4, "Plan Width": 10, "Actual Startup Time": 0.008, "Actual Total Time": 0.021, "Actual Rows": 4, "Actual Loops": 12807, "Output": ["partsupp_1.ps_supplycost", "nation_1.n_regionkey"], "Inner Unique": true, "Plans": [{"Node Type": "Nested Loop", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Join Type": "Inner", "Startup Cost": 0.72, "Total Cost": 12.74, "Plan Rows": 4, "Plan Width": 10, "Actual Startup Time": 0.006, "Actual Total Time": 0.015, "Actual Rows": 4, "Actual Loops": 12807, "Output": ["partsupp_1.ps_supplycost", "supplier_1.s_nationkey"], "Inner Unique": true, "Plans": [{"Node Type": "Index Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Scan Direction": "Forward", "Index Name": "ps_pk", "Relation Name": "partsupp", "Schema": "public", "Alias": "partsupp_1", "Startup Cost": 0.43, "Total Cost": 2.7, "Plan Rows": 4, "Plan Width": 10, "Actual Startup Time": 0.004, "Actual Total Time": 0.005, "Actual Rows": 4, "Actual Loops": 12807, "Output": ["partsupp_1.ps_partkey", "partsupp_1.ps_suppkey", "partsupp_1.ps_availqty", "partsupp_1.ps_supplycost", "partsupp_1.ps_comment"], "Index Cond": "(partsupp_1.ps_partkey = part.p_partkey)", "Rows Removed by Index Recheck": 0}, {"Node Type": "Index Scan", "Parent Relationship": "Inner", "Parallel Aware": false, "Async Capable": false, "Scan Direction": "Forward", "Index Name": "s_sk", "Relation Name": "supplier", "Schema": "public", "Alias": "supplier_1", "Startup Cost": 0.29, "Total Cost": 2.51, "Plan Rows": 1, "Plan Width": 8, "Actual Startup Time": 0.002, "Actual Total Time": 0.002, "Actual Rows": 1, "Actual Loops": 51228, "Output": ["supplier_1.s_suppkey", "supplier_1.s_name", "supplier_1.s_address", "supplier_1.s_nationkey", "supplier_1.s_phone", "supplier_1.s_acctbal", "supplier_1.s_comment"], "Index Cond": "(supplier_1.s_suppkey = partsupp_1.ps_suppkey)", "Rows Removed by Index Recheck": 0}]}, {"Node Type": "Index Scan", "Parent Relationship": "Inner", "Parallel Aware": false, "Async Capable": false, "Scan Direction": "Forward", "Index Name": "n_nk", "Relation Name": "nation", "Schema": "public", "Alias": "nation_1", "Startup Cost": 0.14, "Total Cost": 0.16, "Plan Rows": 1, "Plan Width": 8, "Actual Startup Time": 0.001, "Actual Total Time": 0.001, "Actual Rows": 1, "Actual Loops": 51228, "Output": ["nation_1.n_nationkey", "nation_1.n_name", "nation_1.n_regionkey", "nation_1.n_comment"], "Index Cond": "(nation_1.n_nationkey = supplier_1.s_nationkey)", "Rows Removed by Index Recheck": 0}]}]}]}]}]}]}, "Planning Time": 2.141, "Triggers": [], "Execution Time": 2986.801} diff --git a/dev9/pg17/tpch/sf_10/explain_analyze/15721/20-1.ok b/dev9/pg17/tpch/sf_10/explain_analyze/15721/20-1.ok new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/dev9/pg17/tpch/sf_10/explain_analyze/15721/20-1.res b/dev9/pg17/tpch/sf_10/explain_analyze/15721/20-1.res new file mode 100644 index 0000000000000000000000000000000000000000..4575aa20364eda375ae2a2ea646f86fee95ec34b --- /dev/null +++ b/dev9/pg17/tpch/sf_10/explain_analyze/15721/20-1.res @@ -0,0 +1 @@ +{"Plan": {"Node Type": "Sort", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 311442.09, "Total Cost": 311444.75, "Plan Rows": 1067, "Plan Width": 51, "Actual Startup Time": 1668.307, "Actual Total Time": 1668.523, "Actual Rows": 1786, "Actual Loops": 1, "Output": ["supplier.s_name", "supplier.s_address"], "Sort Key": ["supplier.s_name"], "Sort Method": "quicksort", "Sort Space Used": 172, "Sort Space Type": "Memory", "Plans": [{"Node Type": "Hash Join", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Join Type": "Semi", "Startup Cost": 309159.88, "Total Cost": 311388.42, "Plan Rows": 1067, "Plan Width": 51, "Actual Startup Time": 1658.532, "Actual Total Time": 1663.552, "Actual Rows": 1786, "Actual Loops": 1, "Output": ["supplier.s_name", "supplier.s_address"], "Inner Unique": false, "Hash Cond": "(supplier.s_suppkey = partsupp.ps_suppkey)", "Plans": [{"Node Type": "Nested Loop", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Join Type": "Inner", "Startup Cost": 35.69, "Total Cost": 2236.53, "Plan Rows": 4000, "Plan Width": 55, "Actual Startup Time": 0.767, "Actual Total Time": 4.711, "Actual Rows": 4049, "Actual Loops": 1, "Output": ["supplier.s_name", "supplier.s_address", "supplier.s_suppkey"], "Inner Unique": false, "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Relation Name": "nation", "Schema": "public", "Alias": "nation", "Startup Cost": 0.0, "Total Cost": 1.31, "Plan Rows": 1, "Plan Width": 4, "Actual Startup Time": 0.01, "Actual Total Time": 0.016, "Actual Rows": 1, "Actual Loops": 1, "Output": ["nation.n_nationkey", "nation.n_name", "nation.n_regionkey", "nation.n_comment"], "Filter": "(nation.n_name = 'GERMANY'::bpchar)", "Rows Removed by Filter": 24}, {"Node Type": "Bitmap Heap Scan", "Parent Relationship": "Inner", "Parallel Aware": false, "Async Capable": false, "Relation Name": "supplier", "Schema": "public", "Alias": "supplier", "Startup Cost": 35.69, "Total Cost": 2195.22, "Plan Rows": 4000, "Plan Width": 59, "Actual Startup Time": 0.755, "Actual Total Time": 4.034, "Actual Rows": 4049, "Actual Loops": 1, "Output": ["supplier.s_suppkey", "supplier.s_name", "supplier.s_address", "supplier.s_nationkey", "supplier.s_phone", "supplier.s_acctbal", "supplier.s_comment"], "Recheck Cond": "(supplier.s_nationkey = nation.n_nationkey)", "Rows Removed by Index Recheck": 0, "Exact Heap Blocks": 1851, "Lossy Heap Blocks": 0, "Plans": [{"Node Type": "Bitmap Index Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Index Name": "s_nk", "Startup Cost": 0.0, "Total Cost": 34.69, "Plan Rows": 4000, "Plan Width": 0, "Actual Startup Time": 0.392, "Actual Total Time": 0.392, "Actual Rows": 4049, "Actual Loops": 1, "Index Cond": "(supplier.s_nationkey = nation.n_nationkey)"}]}]}, {"Node Type": "Hash", "Parent Relationship": "Inner", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 308790.16, "Total Cost": 308790.16, "Plan Rows": 26722, "Plan Width": 4, "Actual Startup Time": 1657.711, "Actual Total Time": 1657.825, "Actual Rows": 59274, "Actual Loops": 1, "Output": ["partsupp.ps_suppkey"], "Hash Buckets": 65536, "Original Hash Buckets": 32768, "Hash Batches": 1, "Original Hash Batches": 1, "Peak Memory Usage": 2596, "Plans": [{"Node Type": "Nested Loop", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Join Type": "Inner", "Startup Cost": 1000.43, "Total Cost": 308790.16, "Plan Rows": 26722, "Plan Width": 4, "Actual Startup Time": 0.372, "Actual Total Time": 1641.201, "Actual Rows": 59274, "Actual Loops": 1, "Output": ["partsupp.ps_suppkey"], "Inner Unique": false, "Plans": [{"Node Type": "Gather", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 1000.0, "Total Cost": 50215.0, "Plan Rows": 20040, "Plan Width": 4, "Actual Startup Time": 0.318, "Actual Total Time": 6.247, "Actual Rows": 21783, "Actual Loops": 1, "Output": ["part.p_partkey"], "Workers Planned": 4, "Workers Launched": 4, "Single Copy": false, "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": true, "Async Capable": false, "Relation Name": "part", "Schema": "public", "Alias": "part", "Startup Cost": 0.0, "Total Cost": 47211.0, "Plan Rows": 5010, "Plan Width": 4, "Actual Startup Time": 0.05, "Actual Total Time": 68.183, "Actual Rows": 4357, "Actual Loops": 5, "Output": ["part.p_partkey"], "Filter": "((part.p_name)::text ~~ 'floral%'::text)", "Rows Removed by Filter": 395643, "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.064, "Actual Total Time": 34.241, "Actual Rows": 2056, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 0.031, "Actual Total Time": 34.956, "Actual Rows": 2059, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 0.039, "Actual Total Time": 232.722, "Actual Rows": 15455, "Actual Loops": 1}, {"Worker Number": 3, "Actual Startup Time": 0.084, "Actual Total Time": 36.564, "Actual Rows": 2059, "Actual Loops": 1}]}]}, {"Node Type": "Index Scan", "Parent Relationship": "Inner", "Parallel Aware": false, "Async Capable": false, "Scan Direction": "Forward", "Index Name": "ps_pk", "Relation Name": "partsupp", "Schema": "public", "Alias": "partsupp", "Startup Cost": 0.43, "Total Cost": 12.89, "Plan Rows": 1, "Plan Width": 8, "Actual Startup Time": 0.029, "Actual Total Time": 0.074, "Actual Rows": 3, "Actual Loops": 21783, "Output": ["partsupp.ps_partkey", "partsupp.ps_suppkey", "partsupp.ps_availqty", "partsupp.ps_supplycost", "partsupp.ps_comment"], "Index Cond": "(partsupp.ps_partkey = part.p_partkey)", "Rows Removed by Index Recheck": 0, "Filter": "((partsupp.ps_availqty)::numeric > (SubPlan 1))", "Rows Removed by Filter": 1, "Plans": [{"Node Type": "Aggregate", "Strategy": "Plain", "Partial Mode": "Simple", "Parent Relationship": "SubPlan", "Subplan Name": "SubPlan 1", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 2.67, "Total Cost": 2.68, "Plan Rows": 1, "Plan Width": 32, "Actual Startup Time": 0.017, "Actual Total Time": 0.017, "Actual Rows": 1, "Actual Loops": 87132, "Output": ["(0.5 * sum(lineitem.l_quantity))"], "Plans": [{"Node Type": "Index Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Scan Direction": "Forward", "Index Name": "l_sk_pk", "Relation Name": "lineitem", "Schema": "public", "Alias": "lineitem", "Startup Cost": 0.44, "Total Cost": 2.67, "Plan Rows": 1, "Plan Width": 5, "Actual Startup Time": 0.011, "Actual Total Time": 0.016, "Actual Rows": 1, "Actual Loops": 87132, "Output": ["lineitem.l_orderkey", "lineitem.l_partkey", "lineitem.l_suppkey", "lineitem.l_linenumber", "lineitem.l_quantity", "lineitem.l_extendedprice", "lineitem.l_discount", "lineitem.l_tax", "lineitem.l_returnflag", "lineitem.l_linestatus", "lineitem.l_shipdate", "lineitem.l_commitdate", "lineitem.l_receiptdate", "lineitem.l_shipinstruct", "lineitem.l_shipmode", "lineitem.l_comment"], "Index Cond": "((lineitem.l_suppkey = partsupp.ps_suppkey) AND (lineitem.l_partkey = partsupp.ps_partkey))", "Rows Removed by Index Recheck": 0, "Filter": "((lineitem.l_shipdate >= '1996-01-01'::date) AND (lineitem.l_shipdate < '1997-01-01 00:00:00'::timestamp without time zone))", "Rows Removed by Filter": 6}]}]}]}]}]}]}, "Planning Time": 0.879, "Triggers": [], "Execution Time": 1668.661} diff --git a/dev9/pg17/tpch/sf_10/explain_analyze/15721/21-1.ok b/dev9/pg17/tpch/sf_10/explain_analyze/15721/21-1.ok new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/dev9/pg17/tpch/sf_10/explain_analyze/15721/21-1.res b/dev9/pg17/tpch/sf_10/explain_analyze/15721/21-1.res new file mode 100644 index 0000000000000000000000000000000000000000..6f47a2c8b51455324380ad22b0d3c98b98cfe451 --- /dev/null +++ b/dev9/pg17/tpch/sf_10/explain_analyze/15721/21-1.res @@ -0,0 +1 @@ +{"Plan": {"Node Type": "Limit", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 407254.97, "Total Cost": 407254.97, "Plan Rows": 1, "Plan Width": 34, "Actual Startup Time": 7093.375, "Actual Total Time": 7201.881, "Actual Rows": 100, "Actual Loops": 1, "Output": ["supplier.s_name", "(count(*))"], "Plans": [{"Node Type": "Sort", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 407254.97, "Total Cost": 407254.97, "Plan Rows": 1, "Plan Width": 34, "Actual Startup Time": 7093.373, "Actual Total Time": 7201.87, "Actual Rows": 100, "Actual Loops": 1, "Output": ["supplier.s_name", "(count(*))"], "Sort Key": ["(count(*)) DESC", "supplier.s_name"], "Sort Method": "top-N heapsort", "Sort Space Used": 37, "Sort Space Type": "Memory", "Plans": [{"Node Type": "Aggregate", "Strategy": "Sorted", "Partial Mode": "Simple", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 407254.94, "Total Cost": 407254.96, "Plan Rows": 1, "Plan Width": 34, "Actual Startup Time": 7082.741, "Actual Total Time": 7200.228, "Actual Rows": 3988, "Actual Loops": 1, "Output": ["supplier.s_name", "count(*)"], "Group Key": ["supplier.s_name"], "Plans": [{"Node Type": "Sort", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 407254.94, "Total Cost": 407254.94, "Plan Rows": 1, "Plan Width": 26, "Actual Startup Time": 7082.729, "Actual Total Time": 7193.609, "Actual Rows": 39932, "Actual Loops": 1, "Output": ["supplier.s_name"], "Sort Key": ["supplier.s_name"], "Sort Method": "quicksort", "Sort Space Used": 1537, "Sort Space Type": "Memory", "Plans": [{"Node Type": "Nested Loop", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Join Type": "Inner", "Startup Cost": 1003.33, "Total Cost": 407254.93, "Plan Rows": 1, "Plan Width": 26, "Actual Startup Time": 0.963, "Actual Total Time": 7114.651, "Actual Rows": 39932, "Actual Loops": 1, "Output": ["supplier.s_name"], "Inner Unique": true, "Plans": [{"Node Type": "Nested Loop", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Join Type": "Semi", "Startup Cost": 1002.9, "Total Cost": 407254.46, "Plan Rows": 1, "Plan Width": 34, "Actual Startup Time": 0.951, "Actual Total Time": 6601.567, "Actual Rows": 81076, "Actual Loops": 1, "Output": ["supplier.s_name", "l1.l_orderkey", "l2.l_orderkey"], "Inner Unique": false, "Plans": [{"Node Type": "Gather", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 1002.33, "Total Cost": 407253.21, "Plan Rows": 1, "Plan Width": 34, "Actual Startup Time": 0.427, "Actual Total Time": 5944.822, "Actual Rows": 135007, "Actual Loops": 1, "Output": ["supplier.s_name", "l1.l_suppkey", "l1.l_orderkey"], "Workers Planned": 1, "Workers Launched": 1, "Single Copy": false, "Plans": [{"Node Type": "Nested Loop", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Join Type": "Anti", "Startup Cost": 2.33, "Total Cost": 406253.11, "Plan Rows": 1, "Plan Width": 34, "Actual Startup Time": 0.537, "Actual Total Time": 6400.315, "Actual Rows": 67504, "Actual Loops": 2, "Output": ["supplier.s_name", "l1.l_suppkey", "l1.l_orderkey"], "Inner Unique": false, "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.947, "Actual Total Time": 6985.347, "Actual Rows": 73755, "Actual Loops": 1}], "Plans": [{"Node Type": "Nested Loop", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Join Type": "Inner", "Startup Cost": 1.76, "Total Cost": 67916.77, "Plan Rows": 470492, "Plan Width": 34, "Actual Startup Time": 0.17, "Actual Total Time": 2098.648, "Actual Rows": 756457, "Actual Loops": 2, "Output": ["supplier.s_name", "l1.l_suppkey", "l1.l_orderkey"], "Inner Unique": false, "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.291, "Actual Total Time": 2353.751, "Actual Rows": 826314, "Actual Loops": 1}], "Plans": [{"Node Type": "Hash Join", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Join Type": "Inner", "Startup Cost": 1.32, "Total Cost": 2989.15, "Plan Rows": 2353, "Plan Width": 30, "Actual Startup Time": 0.122, "Actual Total Time": 18.638, "Actual Rows": 1994, "Actual Loops": 2, "Output": ["supplier.s_name", "supplier.s_suppkey"], "Inner Unique": true, "Hash Cond": "(supplier.s_nationkey = nation.n_nationkey)", "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.218, "Actual Total Time": 19.496, "Actual Rows": 2179, "Actual Loops": 1}], "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": true, "Async Capable": false, "Relation Name": "supplier", "Schema": "public", "Alias": "supplier", "Startup Cost": 0.0, "Total Cost": 2807.24, "Plan Rows": 58824, "Plan Width": 34, "Actual Startup Time": 0.009, "Actual Total Time": 6.087, "Actual Rows": 50000, "Actual Loops": 2, "Output": ["supplier.s_suppkey", "supplier.s_name", "supplier.s_address", "supplier.s_nationkey", "supplier.s_phone", "supplier.s_acctbal", "supplier.s_comment"], "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.014, "Actual Total Time": 6.7, "Actual Rows": 54754, "Actual Loops": 1}]}, {"Node Type": "Hash", "Parent Relationship": "Inner", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 1.31, "Total Cost": 1.31, "Plan Rows": 1, "Plan Width": 4, "Actual Startup Time": 0.03, "Actual Total Time": 0.032, "Actual Rows": 1, "Actual Loops": 2, "Output": ["nation.n_nationkey"], "Hash Buckets": 1024, "Original Hash Buckets": 1024, "Hash Batches": 1, "Original Hash Batches": 1, "Peak Memory Usage": 9, "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.048, "Actual Total Time": 0.049, "Actual Rows": 1, "Actual Loops": 1}], "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Relation Name": "nation", "Schema": "public", "Alias": "nation", "Startup Cost": 0.0, "Total Cost": 1.31, "Plan Rows": 1, "Plan Width": 4, "Actual Startup Time": 0.024, "Actual Total Time": 0.026, "Actual Rows": 1, "Actual Loops": 2, "Output": ["nation.n_nationkey"], "Filter": "(nation.n_name = 'CHINA'::bpchar)", "Rows Removed by Filter": 24, "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.039, "Actual Total Time": 0.041, "Actual Rows": 1, "Actual Loops": 1}]}]}]}, {"Node Type": "Index Scan", "Parent Relationship": "Inner", "Parallel Aware": false, "Async Capable": false, "Scan Direction": "Forward", "Index Name": "l_sk_pk", "Relation Name": "lineitem", "Schema": "public", "Alias": "l1", "Startup Cost": 0.44, "Total Cost": 25.57, "Plan Rows": 202, "Plan Width": 8, "Actual Startup Time": 0.016, "Actual Total Time": 0.995, "Actual Rows": 379, "Actual Loops": 3988, "Output": ["l1.l_orderkey", "l1.l_partkey", "l1.l_suppkey", "l1.l_linenumber", "l1.l_quantity", "l1.l_extendedprice", "l1.l_discount", "l1.l_tax", "l1.l_returnflag", "l1.l_linestatus", "l1.l_shipdate", "l1.l_commitdate", "l1.l_receiptdate", "l1.l_shipinstruct", "l1.l_shipmode", "l1.l_comment"], "Index Cond": "(l1.l_suppkey = supplier.s_suppkey)", "Rows Removed by Index Recheck": 0, "Filter": "(l1.l_receiptdate > l1.l_commitdate)", "Rows Removed by Filter": 221, "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.017, "Actual Total Time": 1.023, "Actual Rows": 379, "Actual Loops": 2179}]}]}, {"Node Type": "Index Scan", "Parent Relationship": "Inner", "Parallel Aware": false, "Async Capable": false, "Scan Direction": "Forward", "Index Name": "l_ok", "Relation Name": "lineitem", "Schema": "public", "Alias": "l3", "Startup Cost": 0.56, "Total Cost": 1.31, "Plan Rows": 10, "Plan Width": 8, "Actual Startup Time": 0.005, "Actual Total Time": 0.005, "Actual Rows": 1, "Actual Loops": 1512914, "Output": ["l3.l_orderkey", "l3.l_partkey", "l3.l_suppkey", "l3.l_linenumber", "l3.l_quantity", "l3.l_extendedprice", "l3.l_discount", "l3.l_tax", "l3.l_returnflag", "l3.l_linestatus", "l3.l_shipdate", "l3.l_commitdate", "l3.l_receiptdate", "l3.l_shipinstruct", "l3.l_shipmode", "l3.l_comment"], "Index Cond": "(l3.l_orderkey = l1.l_orderkey)", "Rows Removed by Index Recheck": 0, "Filter": "((l3.l_receiptdate > l3.l_commitdate) AND (l3.l_suppkey <> l1.l_suppkey))", "Rows Removed by Filter": 1, "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.005, "Actual Total Time": 0.005, "Actual Rows": 1, "Actual Loops": 826314}]}]}]}, {"Node Type": "Index Scan", "Parent Relationship": "Inner", "Parallel Aware": false, "Async Capable": false, "Scan Direction": "Forward", "Index Name": "l_ok", "Relation Name": "lineitem", "Schema": "public", "Alias": "l2", "Startup Cost": 0.56, "Total Cost": 1.23, "Plan Rows": 30, "Plan Width": 8, "Actual Startup Time": 0.004, "Actual Total Time": 0.004, "Actual Rows": 1, "Actual Loops": 135007, "Output": ["l2.l_orderkey", "l2.l_partkey", "l2.l_suppkey", "l2.l_linenumber", "l2.l_quantity", "l2.l_extendedprice", "l2.l_discount", "l2.l_tax", "l2.l_returnflag", "l2.l_linestatus", "l2.l_shipdate", "l2.l_commitdate", "l2.l_receiptdate", "l2.l_shipinstruct", "l2.l_shipmode", "l2.l_comment"], "Index Cond": "(l2.l_orderkey = l1.l_orderkey)", "Rows Removed by Index Recheck": 0, "Filter": "(l2.l_suppkey <> l1.l_suppkey)", "Rows Removed by Filter": 1}]}, {"Node Type": "Index Scan", "Parent Relationship": "Inner", "Parallel Aware": false, "Async Capable": false, "Scan Direction": "Forward", "Index Name": "o_ok", "Relation Name": "orders", "Schema": "public", "Alias": "orders", "Startup Cost": 0.43, "Total Cost": 0.47, "Plan Rows": 1, "Plan Width": 4, "Actual Startup Time": 0.006, "Actual Total Time": 0.006, "Actual Rows": 0, "Actual Loops": 81076, "Output": ["orders.o_orderkey", "orders.o_custkey", "orders.o_orderstatus", "orders.o_totalprice", "orders.o_orderdate", "orders.o_orderpriority", "orders.o_clerk", "orders.o_shippriority", "orders.o_comment"], "Index Cond": "(orders.o_orderkey = l1.l_orderkey)", "Rows Removed by Index Recheck": 0, "Filter": "(orders.o_orderstatus = 'F'::bpchar)", "Rows Removed by Filter": 1}]}]}]}]}]}, "Planning Time": 2.755, "Triggers": [], "Execution Time": 7201.956} diff --git a/dev9/pg17/tpch/sf_10/explain_analyze/15721/22-1.ok b/dev9/pg17/tpch/sf_10/explain_analyze/15721/22-1.ok new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/dev9/pg17/tpch/sf_10/explain_analyze/15721/22-1.res b/dev9/pg17/tpch/sf_10/explain_analyze/15721/22-1.res new file mode 100644 index 0000000000000000000000000000000000000000..6e29fe3cfc1c48e8b01a9e9ecef889706ddf17bc --- /dev/null +++ b/dev9/pg17/tpch/sf_10/explain_analyze/15721/22-1.res @@ -0,0 +1 @@ +{"Plan": {"Node Type": "Aggregate", "Strategy": "Sorted", "Partial Mode": "Simple", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 96008.81, "Total Cost": 97097.22, "Plan Rows": 7520, "Plan Width": 72, "Actual Startup Time": 505.079, "Actual Total Time": 532.884, "Actual Rows": 7, "Actual Loops": 1, "Output": ["(SUBSTRING(customer.c_phone FROM 1 FOR 2))", "count(*)", "sum(customer.c_acctbal)"], "Group Key": ["(SUBSTRING(customer.c_phone FROM 1 FOR 2))"], "Plans": [{"Node Type": "Aggregate", "Strategy": "Plain", "Partial Mode": "Finalize", "Parent Relationship": "InitPlan", "Subplan Name": "InitPlan 1", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 46798.02, "Total Cost": 46798.03, "Plan Rows": 1, "Plan Width": 32, "Actual Startup Time": 227.693, "Actual Total Time": 227.775, "Actual Rows": 1, "Actual Loops": 1, "Output": ["avg(customer_1.c_acctbal)"], "Plans": [{"Node Type": "Gather", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 46797.58, "Total Cost": 46797.99, "Plan Rows": 4, "Plan Width": 32, "Actual Startup Time": 227.625, "Actual Total Time": 227.763, "Actual Rows": 5, "Actual Loops": 1, "Output": ["(PARTIAL avg(customer_1.c_acctbal))"], "Workers Planned": 4, "Workers Launched": 4, "Single Copy": false, "Plans": [{"Node Type": "Aggregate", "Strategy": "Plain", "Partial Mode": "Partial", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 45797.58, "Total Cost": 45797.59, "Plan Rows": 1, "Plan Width": 32, "Actual Startup Time": 223.999, "Actual Total Time": 224.0, "Actual Rows": 1, "Actual Loops": 5, "Output": ["PARTIAL avg(customer_1.c_acctbal)"], "Workers": [{"Worker Number": 0, "Actual Startup Time": 223.005, "Actual Total Time": 223.006, "Actual Rows": 1, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 223.134, "Actual Total Time": 223.134, "Actual Rows": 1, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 223.172, "Actual Total Time": 223.173, "Actual Rows": 1, "Actual Loops": 1}, {"Worker Number": 3, "Actual Startup Time": 223.369, "Actual Total Time": 223.37, "Actual Rows": 1, "Actual Loops": 1}], "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": true, "Async Capable": false, "Relation Name": "customer", "Schema": "public", "Alias": "customer_1", "Startup Cost": 0.0, "Total Cost": 45767.75, "Plan Rows": 11932, "Plan Width": 6, "Actual Startup Time": 0.035, "Actual Total Time": 214.969, "Actual Rows": 76349, "Actual Loops": 5, "Output": ["customer_1.c_custkey", "customer_1.c_name", "customer_1.c_address", "customer_1.c_nationkey", "customer_1.c_phone", "customer_1.c_acctbal", "customer_1.c_mktsegment", "customer_1.c_comment"], "Filter": "((customer_1.c_acctbal > 0.00) AND (SUBSTRING(customer_1.c_phone FROM 1 FOR 2) = ANY ('{17,20,25,31,30,11,33}'::text[])))", "Rows Removed by Filter": 223651, "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.041, "Actual Total Time": 214.08, "Actual Rows": 75748, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 0.038, "Actual Total Time": 214.262, "Actual Rows": 75263, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 0.041, "Actual Total Time": 214.197, "Actual Rows": 76155, "Actual Loops": 1}, {"Worker Number": 3, "Actual Startup Time": 0.044, "Actual Total Time": 214.462, "Actual Rows": 75568, "Actual Loops": 1}]}]}]}]}, {"Node Type": "Gather Merge", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 49210.79, "Total Cost": 50111.19, "Plan Rows": 7520, "Plan Width": 38, "Actual Startup Time": 501.259, "Actual Total Time": 519.59, "Actual Rows": 64032, "Actual Loops": 1, "Output": ["(SUBSTRING(customer.c_phone FROM 1 FOR 2))", "customer.c_acctbal"], "Workers Planned": 4, "Workers Launched": 4, "Plans": [{"Node Type": "Sort", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 48210.73, "Total Cost": 48215.43, "Plan Rows": 1880, "Plan Width": 38, "Actual Startup Time": 269.446, "Actual Total Time": 270.465, "Actual Rows": 12806, "Actual Loops": 5, "Output": ["(SUBSTRING(customer.c_phone FROM 1 FOR 2))", "customer.c_acctbal"], "Sort Key": ["(SUBSTRING(customer.c_phone FROM 1 FOR 2))"], "Sort Method": "quicksort", "Sort Space Used": 800, "Sort Space Type": "Memory", "Workers": [{"Worker Number": 0, "Actual Startup Time": 268.513, "Actual Total Time": 269.595, "Actual Rows": 12699, "Actual Loops": 1, "Sort Method": "quicksort", "Sort Space Used": 780, "Sort Space Type": "Memory"}, {"Worker Number": 1, "Actual Startup Time": 268.715, "Actual Total Time": 269.899, "Actual Rows": 12688, "Actual Loops": 1, "Sort Method": "quicksort", "Sort Space Used": 780, "Sort Space Type": "Memory"}, {"Worker Number": 2, "Actual Startup Time": 268.598, "Actual Total Time": 269.594, "Actual Rows": 12562, "Actual Loops": 1, "Sort Method": "quicksort", "Sort Space Used": 776, "Sort Space Type": "Memory"}, {"Worker Number": 3, "Actual Startup Time": 268.8, "Actual Total Time": 269.829, "Actual Rows": 12756, "Actual Loops": 1, "Sort Method": "quicksort", "Sort Space Used": 782, "Sort Space Type": "Memory"}], "Plans": [{"Node Type": "Nested Loop", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Join Type": "Anti", "Startup Cost": 0.43, "Total Cost": 48108.49, "Plan Rows": 1880, "Plan Width": 38, "Actual Startup Time": 0.109, "Actual Total Time": 265.037, "Actual Rows": 12806, "Actual Loops": 5, "Output": ["SUBSTRING(customer.c_phone FROM 1 FOR 2)", "customer.c_acctbal"], "Inner Unique": false, "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.156, "Actual Total Time": 264.025, "Actual Rows": 12699, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 0.087, "Actual Total Time": 264.13, "Actual Rows": 12688, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 0.09, "Actual Total Time": 264.241, "Actual Rows": 12562, "Actual Loops": 1}, {"Worker Number": 3, "Actual Startup Time": 0.186, "Actual Total Time": 264.183, "Actual Rows": 12756, "Actual Loops": 1}], "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": true, "Async Capable": false, "Relation Name": "customer", "Schema": "public", "Alias": "customer", "Startup Cost": 0.0, "Total Cost": 45767.75, "Plan Rows": 4375, "Plan Width": 26, "Actual Startup Time": 0.031, "Actual Total Time": 154.438, "Actual Rows": 38175, "Actual Loops": 5, "Output": ["customer.c_custkey", "customer.c_name", "customer.c_address", "customer.c_nationkey", "customer.c_phone", "customer.c_acctbal", "customer.c_mktsegment", "customer.c_comment"], "Filter": "((customer.c_acctbal > (InitPlan 1).col1) AND (SUBSTRING(customer.c_phone FROM 1 FOR 2) = ANY ('{17,20,25,31,30,11,33}'::text[])))", "Rows Removed by Filter": 261825, "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.036, "Actual Total Time": 153.557, "Actual Rows": 37900, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 0.035, "Actual Total Time": 153.643, "Actual Rows": 37774, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 0.037, "Actual Total Time": 153.469, "Actual Rows": 37639, "Actual Loops": 1}, {"Worker Number": 3, "Actual Startup Time": 0.037, "Actual Total Time": 152.669, "Actual Rows": 37874, "Actual Loops": 1}]}, {"Node Type": "Index Only Scan", "Parent Relationship": "Inner", "Parallel Aware": false, "Async Capable": false, "Scan Direction": "Forward", "Index Name": "o_ck", "Relation Name": "orders", "Schema": "public", "Alias": "orders", "Startup Cost": 0.43, "Total Cost": 1.45, "Plan Rows": 18, "Plan Width": 4, "Actual Startup Time": 0.003, "Actual Total Time": 0.003, "Actual Rows": 1, "Actual Loops": 190873, "Output": ["orders.o_custkey"], "Index Cond": "(orders.o_custkey = customer.c_custkey)", "Rows Removed by Index Recheck": 0, "Heap Fetches": 0, "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.003, "Actual Total Time": 0.003, "Actual Rows": 1, "Actual Loops": 37900}, {"Worker Number": 1, "Actual Startup Time": 0.003, "Actual Total Time": 0.003, "Actual Rows": 1, "Actual Loops": 37774}, {"Worker Number": 2, "Actual Startup Time": 0.003, "Actual Total Time": 0.003, "Actual Rows": 1, "Actual Loops": 37639}, {"Worker Number": 3, "Actual Startup Time": 0.003, "Actual Total Time": 0.003, "Actual Rows": 1, "Actual Loops": 37874}]}]}]}]}]}, "Planning Time": 0.449, "Triggers": [], "Execution Time": 532.953} diff --git a/dev9/pg17/tpch/sf_10/explain_analyze/15721/3-1.ok b/dev9/pg17/tpch/sf_10/explain_analyze/15721/3-1.ok new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/dev9/pg17/tpch/sf_10/explain_analyze/15721/3-1.res b/dev9/pg17/tpch/sf_10/explain_analyze/15721/3-1.res new file mode 100644 index 0000000000000000000000000000000000000000..54a0bb8335dbe93d6209526acad076000a15fa6b --- /dev/null +++ b/dev9/pg17/tpch/sf_10/explain_analyze/15721/3-1.res @@ -0,0 +1 @@ +{"Plan": {"Node Type": "Limit", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 1358507.74, "Total Cost": 1358507.76, "Plan Rows": 10, "Plan Width": 44, "Actual Startup Time": 3555.655, "Actual Total Time": 4964.711, "Actual Rows": 10, "Actual Loops": 1, "Output": ["lineitem.l_orderkey", "(sum((lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount))))", "orders.o_orderdate", "orders.o_shippriority"], "Plans": [{"Node Type": "Sort", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 1358507.74, "Total Cost": 1366403.27, "Plan Rows": 3158212, "Plan Width": 44, "Actual Startup Time": 3555.653, "Actual Total Time": 4964.707, "Actual Rows": 10, "Actual Loops": 1, "Output": ["lineitem.l_orderkey", "(sum((lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount))))", "orders.o_orderdate", "orders.o_shippriority"], "Sort Key": ["(sum((lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount)))) DESC", "orders.o_orderdate"], "Sort Method": "top-N heapsort", "Sort Space Used": 26, "Sort Space Type": "Memory", "Plans": [{"Node Type": "Aggregate", "Strategy": "Sorted", "Partial Mode": "Simple", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 825261.7, "Total Cost": 1290259.91, "Plan Rows": 3158212, "Plan Width": 44, "Actual Startup Time": 3270.723, "Actual Total Time": 4939.732, "Actual Rows": 113340, "Actual Loops": 1, "Output": ["lineitem.l_orderkey", "sum((lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount)))", "orders.o_orderdate", "orders.o_shippriority"], "Group Key": ["lineitem.l_orderkey", "orders.o_orderdate", "orders.o_shippriority"], "Plans": [{"Node Type": "Gather Merge", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 825261.7, "Total Cost": 1203409.08, "Plan Rows": 3158212, "Plan Width": 24, "Actual Startup Time": 3270.706, "Actual Total Time": 4741.579, "Actual Rows": 298749, "Actual Loops": 1, "Output": ["lineitem.l_orderkey", "orders.o_orderdate", "orders.o_shippriority", "lineitem.l_extendedprice", "lineitem.l_discount"], "Workers Planned": 4, "Workers Launched": 4, "Plans": [{"Node Type": "Sort", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 824261.64, "Total Cost": 826235.53, "Plan Rows": 789553, "Plan Width": 24, "Actual Startup Time": 3264.402, "Actual Total Time": 3270.062, "Actual Rows": 59750, "Actual Loops": 5, "Output": ["lineitem.l_orderkey", "orders.o_orderdate", "orders.o_shippriority", "lineitem.l_extendedprice", "lineitem.l_discount"], "Sort Key": ["lineitem.l_orderkey", "orders.o_orderdate", "orders.o_shippriority"], "Sort Method": "quicksort", "Sort Space Used": 6238, "Sort Space Type": "Memory", "Workers": [{"Worker Number": 0, "Actual Startup Time": 3262.612, "Actual Total Time": 3268.16, "Actual Rows": 56940, "Actual Loops": 1, "Sort Method": "quicksort", "Sort Space Used": 4096, "Sort Space Type": "Memory"}, {"Worker Number": 1, "Actual Startup Time": 3262.921, "Actual Total Time": 3268.382, "Actual Rows": 57063, "Actual Loops": 1, "Sort Method": "quicksort", "Sort Space Used": 4101, "Sort Space Type": "Memory"}, {"Worker Number": 2, "Actual Startup Time": 3263.46, "Actual Total Time": 3268.93, "Actual Rows": 57618, "Actual Loops": 1, "Sort Method": "quicksort", "Sort Space Used": 4127, "Sort Space Type": "Memory"}, {"Worker Number": 3, "Actual Startup Time": 3262.691, "Actual Total Time": 3268.258, "Actual Rows": 56660, "Actual Loops": 1, "Sort Method": "quicksort", "Sort Space Used": 4085, "Sort Space Type": "Memory"}], "Plans": [{"Node Type": "Nested Loop", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Join Type": "Inner", "Startup Cost": 1.0, "Total Cost": 737436.91, "Plan Rows": 789553, "Plan Width": 24, "Actual Startup Time": 0.974, "Actual Total Time": 3239.448, "Actual Rows": 59750, "Actual Loops": 5, "Output": ["lineitem.l_orderkey", "orders.o_orderdate", "orders.o_shippriority", "lineitem.l_extendedprice", "lineitem.l_discount"], "Inner Unique": false, "Workers": [{"Worker Number": 0, "Actual Startup Time": 2.807, "Actual Total Time": 3238.589, "Actual Rows": 56940, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 1.123, "Actual Total Time": 3238.894, "Actual Rows": 57063, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 0.578, "Actual Total Time": 3239.241, "Actual Rows": 57618, "Actual Loops": 1}, {"Worker Number": 3, "Actual Startup Time": 0.257, "Actual Total Time": 3238.874, "Actual Rows": 56660, "Actual Loops": 1}], "Plans": [{"Node Type": "Nested Loop", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Join Type": "Inner", "Startup Cost": 0.43, "Total Cost": 183339.44, "Plan Rows": 367321, "Plan Width": 12, "Actual Startup Time": 0.119, "Actual Total Time": 994.085, "Actual Rows": 292930, "Actual Loops": 5, "Output": ["orders.o_orderdate", "orders.o_shippriority", "orders.o_orderkey"], "Inner Unique": false, "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.16, "Actual Total Time": 980.878, "Actual Rows": 277467, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 0.131, "Actual Total Time": 978.595, "Actual Rows": 279750, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 0.118, "Actual Total Time": 981.977, "Actual Rows": 281754, "Actual Loops": 1}, {"Worker Number": 3, "Actual Startup Time": 0.161, "Actual Total Time": 975.729, "Actual Rows": 278416, "Actual Loops": 1}], "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": true, "Async Capable": false, "Relation Name": "customer", "Schema": "public", "Alias": "customer", "Startup Cost": 0.0, "Total Cost": 40611.5, "Plan Rows": 75325, "Plan Width": 4, "Actual Startup Time": 0.031, "Actual Total Time": 81.771, "Actual Rows": 59899, "Actual Loops": 5, "Output": ["customer.c_custkey", "customer.c_name", "customer.c_address", "customer.c_nationkey", "customer.c_phone", "customer.c_acctbal", "customer.c_mktsegment", "customer.c_comment"], "Filter": "(customer.c_mktsegment = 'FURNITURE'::bpchar)", "Rows Removed by Filter": 240101, "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.034, "Actual Total Time": 78.68, "Actual Rows": 56760, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 0.042, "Actual Total Time": 79.139, "Actual Rows": 56954, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 0.033, "Actual Total Time": 79.776, "Actual Rows": 57738, "Actual Loops": 1}, {"Worker Number": 3, "Actual Startup Time": 0.037, "Actual Total Time": 78.727, "Actual Rows": 57067, "Actual Loops": 1}]}, {"Node Type": "Index Scan", "Parent Relationship": "Inner", "Parallel Aware": false, "Async Capable": false, "Scan Direction": "Forward", "Index Name": "o_ck", "Relation Name": "orders", "Schema": "public", "Alias": "orders", "Startup Cost": 0.43, "Total Cost": 1.8, "Plan Rows": 9, "Plan Width": 16, "Actual Startup Time": 0.004, "Actual Total Time": 0.014, "Actual Rows": 5, "Actual Loops": 299496, "Output": ["orders.o_orderkey", "orders.o_custkey", "orders.o_orderstatus", "orders.o_totalprice", "orders.o_orderdate", "orders.o_orderpriority", "orders.o_clerk", "orders.o_shippriority", "orders.o_comment"], "Index Cond": "(orders.o_custkey = customer.c_custkey)", "Rows Removed by Index Recheck": 0, "Filter": "(orders.o_orderdate < '1995-03-20'::date)", "Rows Removed by Filter": 5, "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.004, "Actual Total Time": 0.015, "Actual Rows": 5, "Actual Loops": 56760}, {"Worker Number": 1, "Actual Startup Time": 0.004, "Actual Total Time": 0.015, "Actual Rows": 5, "Actual Loops": 56954}, {"Worker Number": 2, "Actual Startup Time": 0.004, "Actual Total Time": 0.015, "Actual Rows": 5, "Actual Loops": 57738}, {"Worker Number": 3, "Actual Startup Time": 0.004, "Actual Total Time": 0.015, "Actual Rows": 5, "Actual Loops": 57067}]}]}, {"Node Type": "Index Scan", "Parent Relationship": "Inner", "Parallel Aware": false, "Async Capable": false, "Scan Direction": "Forward", "Index Name": "l_ok", "Relation Name": "lineitem", "Schema": "public", "Alias": "lineitem", "Startup Cost": 0.56, "Total Cost": 1.35, "Plan Rows": 16, "Plan Width": 16, "Actual Startup Time": 0.007, "Actual Total Time": 0.007, "Actual Rows": 0, "Actual Loops": 1464651, "Output": ["lineitem.l_orderkey", "lineitem.l_partkey", "lineitem.l_suppkey", "lineitem.l_linenumber", "lineitem.l_quantity", "lineitem.l_extendedprice", "lineitem.l_discount", "lineitem.l_tax", "lineitem.l_returnflag", "lineitem.l_linestatus", "lineitem.l_shipdate", "lineitem.l_commitdate", "lineitem.l_receiptdate", "lineitem.l_shipinstruct", "lineitem.l_shipmode", "lineitem.l_comment"], "Index Cond": "(lineitem.l_orderkey = orders.o_orderkey)", "Rows Removed by Index Recheck": 0, "Filter": "(lineitem.l_shipdate > '1995-03-20'::date)", "Rows Removed by Filter": 4, "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.008, "Actual Total Time": 0.008, "Actual Rows": 0, "Actual Loops": 277467}, {"Worker Number": 1, "Actual Startup Time": 0.008, "Actual Total Time": 0.008, "Actual Rows": 0, "Actual Loops": 279750}, {"Worker Number": 2, "Actual Startup Time": 0.008, "Actual Total Time": 0.008, "Actual Rows": 0, "Actual Loops": 281754}, {"Worker Number": 3, "Actual Startup Time": 0.008, "Actual Total Time": 0.008, "Actual Rows": 0, "Actual Loops": 278416}]}]}]}]}]}]}]}, "Planning Time": 0.876, "Triggers": [], "Execution Time": 4964.765} diff --git a/dev9/pg17/tpch/sf_10/explain_analyze/15721/4-1.ok b/dev9/pg17/tpch/sf_10/explain_analyze/15721/4-1.ok new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/dev9/pg17/tpch/sf_10/explain_analyze/15721/4-1.res b/dev9/pg17/tpch/sf_10/explain_analyze/15721/4-1.res new file mode 100644 index 0000000000000000000000000000000000000000..f8ee853f51ff4e90152d1cd1f9969e74c1f19850 --- /dev/null +++ b/dev9/pg17/tpch/sf_10/explain_analyze/15721/4-1.res @@ -0,0 +1 @@ +{"Plan": {"Node Type": "Aggregate", "Strategy": "Sorted", "Partial Mode": "Finalize", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 352560.36, "Total Cost": 352659.01, "Plan Rows": 5, "Plan Width": 24, "Actual Startup Time": 939.823, "Actual Total Time": 1072.581, "Actual Rows": 5, "Actual Loops": 1, "Output": ["orders.o_orderpriority", "count(*)"], "Group Key": ["orders.o_orderpriority"], "Plans": [{"Node Type": "Gather Merge", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 352560.36, "Total Cost": 352658.81, "Plan Rows": 30, "Plan Width": 24, "Actual Startup Time": 935.613, "Actual Total Time": 1072.561, "Actual Rows": 35, "Actual Loops": 1, "Output": ["orders.o_orderpriority", "(PARTIAL count(*))"], "Workers Planned": 6, "Workers Launched": 6, "Plans": [{"Node Type": "Aggregate", "Strategy": "Sorted", "Partial Mode": "Partial", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 351560.26, "Total Cost": 351655.07, "Plan Rows": 5, "Plan Width": 24, "Actual Startup Time": 921.244, "Actual Total Time": 932.063, "Actual Rows": 5, "Actual Loops": 7, "Output": ["orders.o_orderpriority", "PARTIAL count(*)"], "Group Key": ["orders.o_orderpriority"], "Workers": [{"Worker Number": 0, "Actual Startup Time": 918.809, "Actual Total Time": 928.753, "Actual Rows": 5, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 918.866, "Actual Total Time": 928.696, "Actual Rows": 5, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 918.664, "Actual Total Time": 928.509, "Actual Rows": 5, "Actual Loops": 1}, {"Worker Number": 3, "Actual Startup Time": 918.849, "Actual Total Time": 928.716, "Actual Rows": 5, "Actual Loops": 1}, {"Worker Number": 4, "Actual Startup Time": 919.818, "Actual Total Time": 929.778, "Actual Rows": 5, "Actual Loops": 1}, {"Worker Number": 5, "Actual Startup Time": 921.317, "Actual Total Time": 931.133, "Actual Rows": 5, "Actual Loops": 1}], "Plans": [{"Node Type": "Sort", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 351560.26, "Total Cost": 351591.85, "Plan Rows": 12634, "Plan Width": 16, "Actual Startup Time": 918.526, "Actual Total Time": 922.766, "Actual Rows": 74276, "Actual Loops": 7, "Output": ["orders.o_orderpriority"], "Sort Key": ["orders.o_orderpriority"], "Sort Method": "quicksort", "Sort Space Used": 3073, "Sort Space Type": "Memory", "Workers": [{"Worker Number": 0, "Actual Startup Time": 916.341, "Actual Total Time": 920.228, "Actual Rows": 68125, "Actual Loops": 1, "Sort Method": "quicksort", "Sort Space Used": 3073, "Sort Space Type": "Memory"}, {"Worker Number": 1, "Actual Startup Time": 916.388, "Actual Total Time": 920.249, "Actual Rows": 67691, "Actual Loops": 1, "Sort Method": "quicksort", "Sort Space Used": 3073, "Sort Space Type": "Memory"}, {"Worker Number": 2, "Actual Startup Time": 916.216, "Actual Total Time": 920.069, "Actual Rows": 67539, "Actual Loops": 1, "Sort Method": "quicksort", "Sort Space Used": 3073, "Sort Space Type": "Memory"}, {"Worker Number": 3, "Actual Startup Time": 916.331, "Actual Total Time": 920.204, "Actual Rows": 68035, "Actual Loops": 1, "Sort Method": "quicksort", "Sort Space Used": 3073, "Sort Space Type": "Memory"}, {"Worker Number": 4, "Actual Startup Time": 917.305, "Actual Total Time": 921.202, "Actual Rows": 68476, "Actual Loops": 1, "Sort Method": "quicksort", "Sort Space Used": 3073, "Sort Space Type": "Memory"}, {"Worker Number": 5, "Actual Startup Time": 918.853, "Actual Total Time": 922.695, "Actual Rows": 67446, "Actual Loops": 1, "Sort Method": "quicksort", "Sort Space Used": 3073, "Sort Space Type": "Memory"}], "Plans": [{"Node Type": "Nested Loop", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Join Type": "Semi", "Startup Cost": 6320.0, "Total Cost": 350699.57, "Plan Rows": 12634, "Plan Width": 16, "Actual Startup Time": 174.072, "Actual Total Time": 898.175, "Actual Rows": 74276, "Actual Loops": 7, "Output": ["orders.o_orderpriority"], "Inner Unique": false, "Workers": [{"Worker Number": 0, "Actual Startup Time": 173.208, "Actual Total Time": 897.719, "Actual Rows": 68125, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 173.185, "Actual Total Time": 897.73, "Actual Rows": 67691, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 173.214, "Actual Total Time": 897.754, "Actual Rows": 67539, "Actual Loops": 1}, {"Worker Number": 3, "Actual Startup Time": 173.206, "Actual Total Time": 897.667, "Actual Rows": 68035, "Actual Loops": 1}, {"Worker Number": 4, "Actual Startup Time": 174.064, "Actual Total Time": 898.554, "Actual Rows": 68476, "Actual Loops": 1}, {"Worker Number": 5, "Actual Startup Time": 174.234, "Actual Total Time": 898.827, "Actual Rows": 67446, "Actual Loops": 1}], "Plans": [{"Node Type": "Bitmap Heap Scan", "Parent Relationship": "Outer", "Parallel Aware": true, "Async Capable": false, "Relation Name": "orders", "Schema": "public", "Alias": "orders", "Startup Cost": 6319.44, "Total Cost": 268942.07, "Plan Rows": 94109, "Plan Width": 20, "Actual Startup Time": 173.993, "Actual Total Time": 348.645, "Actual Rows": 81014, "Actual Loops": 7, "Output": ["orders.o_orderkey", "orders.o_custkey", "orders.o_orderstatus", "orders.o_totalprice", "orders.o_orderdate", "orders.o_orderpriority", "orders.o_clerk", "orders.o_shippriority", "orders.o_comment"], "Recheck Cond": "((orders.o_orderdate >= '1996-01-01'::date) AND (orders.o_orderdate < '1996-04-01 00:00:00'::timestamp without time zone))", "Rows Removed by Index Recheck": 0, "Exact Heap Blocks": 50287, "Lossy Heap Blocks": 0, "Workers": [{"Worker Number": 0, "Actual Startup Time": 173.113, "Actual Total Time": 354.038, "Actual Rows": 74192, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 173.103, "Actual Total Time": 354.278, "Actual Rows": 73778, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 173.129, "Actual Total Time": 353.658, "Actual Rows": 73825, "Actual Loops": 1}, {"Worker Number": 3, "Actual Startup Time": 173.118, "Actual Total Time": 353.437, "Actual Rows": 74265, "Actual Loops": 1}, {"Worker Number": 4, "Actual Startup Time": 173.977, "Actual Total Time": 354.814, "Actual Rows": 74738, "Actual Loops": 1}, {"Worker Number": 5, "Actual Startup Time": 174.149, "Actual Total Time": 354.549, "Actual Rows": 73608, "Actual Loops": 1}], "Plans": [{"Node Type": "Bitmap Index Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Index Name": "o_od", "Startup Cost": 0.0, "Total Cost": 6178.28, "Plan Rows": 564654, "Plan Width": 0, "Actual Startup Time": 96.796, "Actual Total Time": 96.796, "Actual Rows": 567099, "Actual Loops": 1, "Index Cond": "((orders.o_orderdate >= '1996-01-01'::date) AND (orders.o_orderdate < '1996-04-01 00:00:00'::timestamp without time zone))", "Workers": []}]}, {"Node Type": "Index Scan", "Parent Relationship": "Inner", "Parallel Aware": false, "Async Capable": false, "Scan Direction": "Forward", "Index Name": "l_ok", "Relation Name": "lineitem", "Schema": "public", "Alias": "lineitem", "Startup Cost": 0.56, "Total Cost": 3.28, "Plan Rows": 10, "Plan Width": 4, "Actual Startup Time": 0.006, "Actual Total Time": 0.006, "Actual Rows": 1, "Actual Loops": 567099, "Output": ["lineitem.l_orderkey", "lineitem.l_partkey", "lineitem.l_suppkey", "lineitem.l_linenumber", "lineitem.l_quantity", "lineitem.l_extendedprice", "lineitem.l_discount", "lineitem.l_tax", "lineitem.l_returnflag", "lineitem.l_linestatus", "lineitem.l_shipdate", "lineitem.l_commitdate", "lineitem.l_receiptdate", "lineitem.l_shipinstruct", "lineitem.l_shipmode", "lineitem.l_comment"], "Index Cond": "(lineitem.l_orderkey = orders.o_orderkey)", "Rows Removed by Index Recheck": 0, "Filter": "(lineitem.l_commitdate < lineitem.l_receiptdate)", "Rows Removed by Filter": 1, "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.007, "Actual Total Time": 0.007, "Actual Rows": 1, "Actual Loops": 74192}, {"Worker Number": 1, "Actual Startup Time": 0.007, "Actual Total Time": 0.007, "Actual Rows": 1, "Actual Loops": 73778}, {"Worker Number": 2, "Actual Startup Time": 0.007, "Actual Total Time": 0.007, "Actual Rows": 1, "Actual Loops": 73825}, {"Worker Number": 3, "Actual Startup Time": 0.007, "Actual Total Time": 0.007, "Actual Rows": 1, "Actual Loops": 74265}, {"Worker Number": 4, "Actual Startup Time": 0.007, "Actual Total Time": 0.007, "Actual Rows": 1, "Actual Loops": 74738}, {"Worker Number": 5, "Actual Startup Time": 0.007, "Actual Total Time": 0.007, "Actual Rows": 1, "Actual Loops": 73608}]}]}]}]}]}]}, "Planning Time": 0.418, "Triggers": [], "Execution Time": 1072.631} diff --git a/dev9/pg17/tpch/sf_10/explain_analyze/15721/5-1.ok b/dev9/pg17/tpch/sf_10/explain_analyze/15721/5-1.ok new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/dev9/pg17/tpch/sf_10/explain_analyze/15721/5-1.res b/dev9/pg17/tpch/sf_10/explain_analyze/15721/5-1.res new file mode 100644 index 0000000000000000000000000000000000000000..f28acea817c00b7f0ab8565e43f3c259565167ae --- /dev/null +++ b/dev9/pg17/tpch/sf_10/explain_analyze/15721/5-1.res @@ -0,0 +1 @@ +{"Plan": {"Node Type": "Sort", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 357301.42, "Total Cost": 357301.48, "Plan Rows": 25, "Plan Width": 58, "Actual Startup Time": 1943.705, "Actual Total Time": 2113.259, "Actual Rows": 5, "Actual Loops": 1, "Output": ["nation.n_name", "(sum((lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount))))"], "Sort Key": ["(sum((lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount)))) DESC"], "Sort Method": "quicksort", "Sort Space Used": 25, "Sort Space Type": "Memory", "Plans": [{"Node Type": "Aggregate", "Strategy": "Sorted", "Partial Mode": "Finalize", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 357058.45, "Total Cost": 357300.83, "Plan Rows": 25, "Plan Width": 58, "Actual Startup Time": 1937.734, "Actual Total Time": 2113.251, "Actual Rows": 5, "Actual Loops": 1, "Output": ["nation.n_name", "sum((lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount)))"], "Group Key": ["nation.n_name"], "Plans": [{"Node Type": "Gather Merge", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 357058.45, "Total Cost": 357299.77, "Plan Rows": 100, "Plan Width": 58, "Actual Startup Time": 1935.669, "Actual Total Time": 2113.223, "Actual Rows": 25, "Actual Loops": 1, "Output": ["nation.n_name", "(PARTIAL sum((lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount))))"], "Workers Planned": 4, "Workers Launched": 4, "Plans": [{"Node Type": "Aggregate", "Strategy": "Sorted", "Partial Mode": "Partial", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 356058.39, "Total Cost": 356287.8, "Plan Rows": 25, "Plan Width": 58, "Actual Startup Time": 1924.855, "Actual Total Time": 1931.48, "Actual Rows": 5, "Actual Loops": 5, "Output": ["nation.n_name", "PARTIAL sum((lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount)))"], "Group Key": ["nation.n_name"], "Workers": [{"Worker Number": 0, "Actual Startup Time": 1923.672, "Actual Total Time": 1930.016, "Actual Rows": 5, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 1923.358, "Actual Total Time": 1929.591, "Actual Rows": 5, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 1924.496, "Actual Total Time": 1930.81, "Actual Rows": 5, "Actual Loops": 1}, {"Worker Number": 3, "Actual Startup Time": 1923.697, "Actual Total Time": 1929.936, "Actual Rows": 5, "Actual Loops": 1}], "Plans": [{"Node Type": "Sort", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 356058.39, "Total Cost": 356104.21, "Plan Rows": 18328, "Plan Width": 38, "Actual Startup Time": 1923.194, "Actual Total Time": 1924.111, "Actual Rows": 14545, "Actual Loops": 5, "Output": ["nation.n_name", "lineitem.l_extendedprice", "lineitem.l_discount"], "Sort Key": ["nation.n_name"], "Sort Method": "quicksort", "Sort Space Used": 1731, "Sort Space Type": "Memory", "Workers": [{"Worker Number": 0, "Actual Startup Time": 1922.092, "Actual Total Time": 1922.963, "Actual Rows": 13918, "Actual Loops": 1, "Sort Method": "quicksort", "Sort Space Used": 1146, "Sort Space Type": "Memory"}, {"Worker Number": 1, "Actual Startup Time": 1921.804, "Actual Total Time": 1922.658, "Actual Rows": 13674, "Actual Loops": 1, "Sort Method": "quicksort", "Sort Space Used": 1132, "Sort Space Type": "Memory"}, {"Worker Number": 2, "Actual Startup Time": 1922.875, "Actual Total Time": 1923.747, "Actual Rows": 13924, "Actual Loops": 1, "Sort Method": "quicksort", "Sort Space Used": 1146, "Sort Space Type": "Memory"}, {"Worker Number": 3, "Actual Startup Time": 1922.189, "Actual Total Time": 1923.04, "Actual Rows": 13609, "Actual Loops": 1, "Sort Method": "quicksort", "Sort Space Used": 1129, "Sort Space Type": "Memory"}], "Plans": [{"Node Type": "Hash Join", "Parent Relationship": "Outer", "Parallel Aware": true, "Async Capable": false, "Join Type": "Inner", "Startup Cost": 3693.1, "Total Cost": 354760.61, "Plan Rows": 18328, "Plan Width": 38, "Actual Startup Time": 15.039, "Actual Total Time": 1916.625, "Actual Rows": 14545, "Actual Loops": 5, "Output": ["nation.n_name", "lineitem.l_extendedprice", "lineitem.l_discount"], "Inner Unique": true, "Hash Cond": "((lineitem.l_suppkey = supplier.s_suppkey) AND (customer.c_nationkey = supplier.s_nationkey))", "Workers": [{"Worker Number": 0, "Actual Startup Time": 17.639, "Actual Total Time": 1915.654, "Actual Rows": 13918, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 13.15, "Actual Total Time": 1915.639, "Actual Rows": 13674, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 14.974, "Actual Total Time": 1916.235, "Actual Rows": 13924, "Actual Loops": 1}, {"Worker Number": 3, "Actual Startup Time": 12.734, "Actual Total Time": 1916.006, "Actual Rows": 13609, "Actual Loops": 1}], "Plans": [{"Node Type": "Nested Loop", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Join Type": "Inner", "Startup Cost": 3.51, "Total Cost": 348665.49, "Plan Rows": 458194, "Plan Width": 50, "Actual Startup Time": 0.343, "Actual Total Time": 1811.056, "Actual Rows": 363271, "Actual Loops": 5, "Output": ["customer.c_nationkey", "lineitem.l_extendedprice", "lineitem.l_discount", "lineitem.l_suppkey", "nation.n_name", "nation.n_nationkey"], "Inner Unique": false, "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.333, "Actual Total Time": 1815.05, "Actual Rows": 342956, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 0.506, "Actual Total Time": 1815.082, "Actual Rows": 345635, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 0.396, "Actual Total Time": 1815.245, "Actual Rows": 347866, "Actual Loops": 1}, {"Worker Number": 3, "Actual Startup Time": 0.392, "Actual Total Time": 1815.36, "Actual Rows": 342259, "Actual Loops": 1}], "Plans": [{"Node Type": "Nested Loop", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Join Type": "Inner", "Startup Cost": 2.94, "Total Cost": 122295.87, "Plan Rows": 114578, "Plan Width": 38, "Actual Startup Time": 0.279, "Actual Total Time": 958.737, "Actual Rows": 90894, "Actual Loops": 5, "Output": ["customer.c_nationkey", "orders.o_orderkey", "nation.n_name", "nation.n_nationkey"], "Inner Unique": false, "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.252, "Actual Total Time": 938.377, "Actual Rows": 85822, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 0.433, "Actual Total Time": 937.417, "Actual Rows": 86514, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 0.321, "Actual Total Time": 938.021, "Actual Rows": 86833, "Actual Loops": 1}, {"Worker Number": 3, "Actual Startup Time": 0.314, "Actual Total Time": 936.105, "Actual Rows": 85850, "Actual Loops": 1}], "Plans": [{"Node Type": "Hash Join", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Join Type": "Inner", "Startup Cost": 2.51, "Total Cost": 41832.76, "Plan Rows": 75000, "Plan Width": 38, "Actual Startup Time": 0.137, "Actual Total Time": 105.556, "Actual Rows": 59887, "Actual Loops": 5, "Output": ["customer.c_custkey", "customer.c_nationkey", "nation.n_name", "nation.n_nationkey"], "Inner Unique": false, "Hash Cond": "(customer.c_nationkey = nation.n_nationkey)", "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.163, "Actual Total Time": 100.516, "Actual Rows": 56376, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 0.164, "Actual Total Time": 101.313, "Actual Rows": 57135, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 0.157, "Actual Total Time": 101.423, "Actual Rows": 57375, "Actual Loops": 1}, {"Worker Number": 3, "Actual Startup Time": 0.151, "Actual Total Time": 99.872, "Actual Rows": 56300, "Actual Loops": 1}], "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": true, "Async Capable": false, "Relation Name": "customer", "Schema": "public", "Alias": "customer", "Startup Cost": 0.0, "Total Cost": 39674.0, "Plan Rows": 375000, "Plan Width": 8, "Actual Startup Time": 0.024, "Actual Total Time": 29.132, "Actual Rows": 300000, "Actual Loops": 5, "Output": ["customer.c_custkey", "customer.c_name", "customer.c_address", "customer.c_nationkey", "customer.c_phone", "customer.c_acctbal", "customer.c_mktsegment", "customer.c_comment"], "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.029, "Actual Total Time": 27.805, "Actual Rows": 283021, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 0.032, "Actual Total Time": 28.043, "Actual Rows": 285983, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 0.029, "Actual Total Time": 28.101, "Actual Rows": 287056, "Actual Loops": 1}, {"Worker Number": 3, "Actual Startup Time": 0.027, "Actual Total Time": 27.578, "Actual Rows": 280914, "Actual Loops": 1}]}, {"Node Type": "Hash", "Parent Relationship": "Inner", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 2.45, "Total Cost": 2.45, "Plan Rows": 5, "Plan Width": 30, "Actual Startup Time": 0.094, "Actual Total Time": 0.096, "Actual Rows": 5, "Actual Loops": 5, "Output": ["nation.n_name", "nation.n_nationkey"], "Hash Buckets": 1024, "Original Hash Buckets": 1024, "Hash Batches": 1, "Original Hash Batches": 1, "Peak Memory Usage": 9, "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.112, "Actual Total Time": 0.114, "Actual Rows": 5, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 0.11, "Actual Total Time": 0.113, "Actual Rows": 5, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 0.109, "Actual Total Time": 0.111, "Actual Rows": 5, "Actual Loops": 1}, {"Worker Number": 3, "Actual Startup Time": 0.103, "Actual Total Time": 0.106, "Actual Rows": 5, "Actual Loops": 1}], "Plans": [{"Node Type": "Hash Join", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Join Type": "Inner", "Startup Cost": 1.07, "Total Cost": 2.45, "Plan Rows": 5, "Plan Width": 30, "Actual Startup Time": 0.084, "Actual Total Time": 0.092, "Actual Rows": 5, "Actual Loops": 5, "Output": ["nation.n_name", "nation.n_nationkey"], "Inner Unique": true, "Hash Cond": "(nation.n_regionkey = region.r_regionkey)", "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.102, "Actual Total Time": 0.109, "Actual Rows": 5, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 0.1, "Actual Total Time": 0.109, "Actual Rows": 5, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 0.099, "Actual Total Time": 0.106, "Actual Rows": 5, "Actual Loops": 1}, {"Worker Number": 3, "Actual Startup Time": 0.093, "Actual Total Time": 0.101, "Actual Rows": 5, "Actual Loops": 1}], "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Relation Name": "nation", "Schema": "public", "Alias": "nation", "Startup Cost": 0.0, "Total Cost": 1.25, "Plan Rows": 25, "Plan Width": 34, "Actual Startup Time": 0.032, "Actual Total Time": 0.034, "Actual Rows": 25, "Actual Loops": 5, "Output": ["nation.n_nationkey", "nation.n_name", "nation.n_regionkey", "nation.n_comment"], "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.039, "Actual Total Time": 0.041, "Actual Rows": 25, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 0.04, "Actual Total Time": 0.042, "Actual Rows": 25, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 0.04, "Actual Total Time": 0.043, "Actual Rows": 25, "Actual Loops": 1}, {"Worker Number": 3, "Actual Startup Time": 0.033, "Actual Total Time": 0.036, "Actual Rows": 25, "Actual Loops": 1}]}, {"Node Type": "Hash", "Parent Relationship": "Inner", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 1.06, "Total Cost": 1.06, "Plan Rows": 1, "Plan Width": 4, "Actual Startup Time": 0.033, "Actual Total Time": 0.034, "Actual Rows": 1, "Actual Loops": 5, "Output": ["region.r_regionkey"], "Hash Buckets": 1024, "Original Hash Buckets": 1024, "Hash Batches": 1, "Original Hash Batches": 1, "Peak Memory Usage": 9, "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.041, "Actual Total Time": 0.042, "Actual Rows": 1, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 0.037, "Actual Total Time": 0.038, "Actual Rows": 1, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 0.037, "Actual Total Time": 0.038, "Actual Rows": 1, "Actual Loops": 1}, {"Worker Number": 3, "Actual Startup Time": 0.038, "Actual Total Time": 0.039, "Actual Rows": 1, "Actual Loops": 1}], "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Relation Name": "region", "Schema": "public", "Alias": "region", "Startup Cost": 0.0, "Total Cost": 1.06, "Plan Rows": 1, "Plan Width": 4, "Actual Startup Time": 0.026, "Actual Total Time": 0.027, "Actual Rows": 1, "Actual Loops": 5, "Output": ["region.r_regionkey"], "Filter": "(region.r_name = 'AMERICA'::bpchar)", "Rows Removed by Filter": 4, "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.032, "Actual Total Time": 0.034, "Actual Rows": 1, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 0.029, "Actual Total Time": 0.03, "Actual Rows": 1, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 0.029, "Actual Total Time": 0.03, "Actual Rows": 1, "Actual Loops": 1}, {"Worker Number": 3, "Actual Startup Time": 0.03, "Actual Total Time": 0.032, "Actual Rows": 1, "Actual Loops": 1}]}]}]}]}]}, {"Node Type": "Index Scan", "Parent Relationship": "Inner", "Parallel Aware": false, "Async Capable": false, "Scan Direction": "Forward", "Index Name": "o_ck", "Relation Name": "orders", "Schema": "public", "Alias": "orders", "Startup Cost": 0.43, "Total Cost": 1.04, "Plan Rows": 3, "Plan Width": 8, "Actual Startup Time": 0.006, "Actual Total Time": 0.014, "Actual Rows": 2, "Actual Loops": 299436, "Output": ["orders.o_orderkey", "orders.o_custkey", "orders.o_orderstatus", "orders.o_totalprice", "orders.o_orderdate", "orders.o_orderpriority", "orders.o_clerk", "orders.o_shippriority", "orders.o_comment"], "Index Cond": "(orders.o_custkey = customer.c_custkey)", "Rows Removed by Index Recheck": 0, "Filter": "((orders.o_orderdate >= '1995-01-01'::date) AND (orders.o_orderdate < '1996-01-01 00:00:00'::timestamp without time zone))", "Rows Removed by Filter": 8, "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.007, "Actual Total Time": 0.014, "Actual Rows": 2, "Actual Loops": 56376}, {"Worker Number": 1, "Actual Startup Time": 0.007, "Actual Total Time": 0.014, "Actual Rows": 2, "Actual Loops": 57135}, {"Worker Number": 2, "Actual Startup Time": 0.007, "Actual Total Time": 0.014, "Actual Rows": 2, "Actual Loops": 57375}, {"Worker Number": 3, "Actual Startup Time": 0.007, "Actual Total Time": 0.014, "Actual Rows": 2, "Actual Loops": 56300}]}]}, {"Node Type": "Index Scan", "Parent Relationship": "Inner", "Parallel Aware": false, "Async Capable": false, "Scan Direction": "Forward", "Index Name": "l_ok", "Relation Name": "lineitem", "Schema": "public", "Alias": "lineitem", "Startup Cost": 0.56, "Total Cost": 1.68, "Plan Rows": 30, "Plan Width": 20, "Actual Startup Time": 0.007, "Actual Total Time": 0.008, "Actual Rows": 4, "Actual Loops": 454468, "Output": ["lineitem.l_orderkey", "lineitem.l_partkey", "lineitem.l_suppkey", "lineitem.l_linenumber", "lineitem.l_quantity", "lineitem.l_extendedprice", "lineitem.l_discount", "lineitem.l_tax", "lineitem.l_returnflag", "lineitem.l_linestatus", "lineitem.l_shipdate", "lineitem.l_commitdate", "lineitem.l_receiptdate", "lineitem.l_shipinstruct", "lineitem.l_shipmode", "lineitem.l_comment"], "Index Cond": "(lineitem.l_orderkey = orders.o_orderkey)", "Rows Removed by Index Recheck": 0, "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.008, "Actual Total Time": 0.009, "Actual Rows": 4, "Actual Loops": 85822}, {"Worker Number": 1, "Actual Startup Time": 0.008, "Actual Total Time": 0.009, "Actual Rows": 4, "Actual Loops": 86514}, {"Worker Number": 2, "Actual Startup Time": 0.008, "Actual Total Time": 0.009, "Actual Rows": 4, "Actual Loops": 86833}, {"Worker Number": 3, "Actual Startup Time": 0.008, "Actual Total Time": 0.009, "Actual Rows": 4, "Actual Loops": 85850}]}]}, {"Node Type": "Hash", "Parent Relationship": "Inner", "Parallel Aware": true, "Async Capable": false, "Startup Cost": 2807.24, "Total Cost": 2807.24, "Plan Rows": 58824, "Plan Width": 8, "Actual Startup Time": 12.658, "Actual Total Time": 12.659, "Actual Rows": 20000, "Actual Loops": 5, "Output": ["supplier.s_suppkey", "supplier.s_nationkey"], "Hash Buckets": 131072, "Original Hash Buckets": 131072, "Hash Batches": 1, "Original Hash Batches": 1, "Peak Memory Usage": 5024, "Workers": [{"Worker Number": 0, "Actual Startup Time": 11.906, "Actual Total Time": 11.907, "Actual Rows": 17129, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 12.073, "Actual Total Time": 12.074, "Actual Rows": 17850, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 12.104, "Actual Total Time": 12.105, "Actual Rows": 17441, "Actual Loops": 1}, {"Worker Number": 3, "Actual Startup Time": 12.249, "Actual Total Time": 12.249, "Actual Rows": 18082, "Actual Loops": 1}], "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": true, "Async Capable": false, "Relation Name": "supplier", "Schema": "public", "Alias": "supplier", "Startup Cost": 0.0, "Total Cost": 2807.24, "Plan Rows": 58824, "Plan Width": 8, "Actual Startup Time": 0.014, "Actual Total Time": 5.528, "Actual Rows": 20000, "Actual Loops": 5, "Output": ["supplier.s_suppkey", "supplier.s_nationkey"], "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.018, "Actual Total Time": 5.264, "Actual Rows": 17129, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 0.015, "Actual Total Time": 5.453, "Actual Rows": 17850, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 0.014, "Actual Total Time": 5.317, "Actual Rows": 17441, "Actual Loops": 1}, {"Worker Number": 3, "Actual Startup Time": 0.015, "Actual Total Time": 5.47, "Actual Rows": 18082, "Actual Loops": 1}]}]}]}]}]}]}]}]}, "Planning Time": 2.593, "Triggers": [], "Execution Time": 2113.343} diff --git a/dev9/pg17/tpch/sf_10/explain_analyze/15721/6-1.ok b/dev9/pg17/tpch/sf_10/explain_analyze/15721/6-1.ok new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/dev9/pg17/tpch/sf_10/explain_analyze/15721/6-1.res b/dev9/pg17/tpch/sf_10/explain_analyze/15721/6-1.res new file mode 100644 index 0000000000000000000000000000000000000000..73d733802b232c8104d7255c19c3b4827c7ce9fd --- /dev/null +++ b/dev9/pg17/tpch/sf_10/explain_analyze/15721/6-1.res @@ -0,0 +1 @@ +{"Plan": {"Node Type": "Aggregate", "Strategy": "Plain", "Partial Mode": "Finalize", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 1319734.03, "Total Cost": 1319734.04, "Plan Rows": 1, "Plan Width": 32, "Actual Startup Time": 1463.535, "Actual Total Time": 1507.368, "Actual Rows": 1, "Actual Loops": 1, "Output": ["sum((l_extendedprice * l_discount))"], "Plans": [{"Node Type": "Gather", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 1319733.28, "Total Cost": 1319733.99, "Plan Rows": 7, "Plan Width": 32, "Actual Startup Time": 1463.259, "Actual Total Time": 1507.355, "Actual Rows": 8, "Actual Loops": 1, "Output": ["(PARTIAL sum((l_extendedprice * l_discount)))"], "Workers Planned": 7, "Workers Launched": 7, "Single Copy": false, "Plans": [{"Node Type": "Aggregate", "Strategy": "Plain", "Partial Mode": "Partial", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 1318733.28, "Total Cost": 1318733.29, "Plan Rows": 1, "Plan Width": 32, "Actual Startup Time": 1459.251, "Actual Total Time": 1459.252, "Actual Rows": 1, "Actual Loops": 8, "Output": ["PARTIAL sum((l_extendedprice * l_discount))"], "Workers": [{"Worker Number": 0, "Actual Startup Time": 1458.341, "Actual Total Time": 1458.342, "Actual Rows": 1, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 1458.459, "Actual Total Time": 1458.46, "Actual Rows": 1, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 1458.602, "Actual Total Time": 1458.604, "Actual Rows": 1, "Actual Loops": 1}, {"Worker Number": 3, "Actual Startup Time": 1458.757, "Actual Total Time": 1458.758, "Actual Rows": 1, "Actual Loops": 1}, {"Worker Number": 4, "Actual Startup Time": 1458.925, "Actual Total Time": 1458.926, "Actual Rows": 1, "Actual Loops": 1}, {"Worker Number": 5, "Actual Startup Time": 1458.945, "Actual Total Time": 1458.946, "Actual Rows": 1, "Actual Loops": 1}, {"Worker Number": 6, "Actual Startup Time": 1459.132, "Actual Total Time": 1459.133, "Actual Rows": 1, "Actual Loops": 1}], "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": true, "Async Capable": false, "Relation Name": "lineitem", "Schema": "public", "Alias": "lineitem", "Startup Cost": 0.0, "Total Cost": 1317909.52, "Plan Rows": 164753, "Plan Width": 12, "Actual Startup Time": 0.052, "Actual Total Time": 1417.538, "Actual Rows": 143005, "Actual Loops": 8, "Output": ["l_orderkey", "l_partkey", "l_suppkey", "l_linenumber", "l_quantity", "l_extendedprice", "l_discount", "l_tax", "l_returnflag", "l_linestatus", "l_shipdate", "l_commitdate", "l_receiptdate", "l_shipinstruct", "l_shipmode", "l_comment"], "Filter": "((lineitem.l_shipdate >= '1995-01-01'::date) AND (lineitem.l_shipdate < '1996-01-01 00:00:00'::timestamp without time zone) AND (lineitem.l_discount >= 0.04) AND (lineitem.l_discount <= 0.06) AND (lineitem.l_quantity < '24'::numeric))", "Rows Removed by Filter": 7355252, "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.076, "Actual Total Time": 1416.513, "Actual Rows": 143254, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 0.105, "Actual Total Time": 1416.83, "Actual Rows": 142201, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 0.042, "Actual Total Time": 1418.146, "Actual Rows": 137416, "Actual Loops": 1}, {"Worker Number": 3, "Actual Startup Time": 0.052, "Actual Total Time": 1416.545, "Actual Rows": 142552, "Actual Loops": 1}, {"Worker Number": 4, "Actual Startup Time": 0.04, "Actual Total Time": 1417.469, "Actual Rows": 141771, "Actual Loops": 1}, {"Worker Number": 5, "Actual Startup Time": 0.046, "Actual Total Time": 1416.78, "Actual Rows": 143691, "Actual Loops": 1}, {"Worker Number": 6, "Actual Startup Time": 0.044, "Actual Total Time": 1417.366, "Actual Rows": 143012, "Actual Loops": 1}]}]}]}]}, "Planning Time": 0.138, "Triggers": [], "Execution Time": 1507.402} diff --git a/dev9/pg17/tpch/sf_10/explain_analyze/15721/7-1.ok b/dev9/pg17/tpch/sf_10/explain_analyze/15721/7-1.ok new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/dev9/pg17/tpch/sf_10/explain_analyze/15721/7-1.res b/dev9/pg17/tpch/sf_10/explain_analyze/15721/7-1.res new file mode 100644 index 0000000000000000000000000000000000000000..f0fb6cb08059cefcce60352fc944b33e20c65b0e --- /dev/null +++ b/dev9/pg17/tpch/sf_10/explain_analyze/15721/7-1.res @@ -0,0 +1 @@ +{"Plan": {"Node Type": "Aggregate", "Strategy": "Sorted", "Partial Mode": "Finalize", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 228309.32, "Total Cost": 234195.99, "Plan Rows": 10100, "Plan Width": 116, "Actual Startup Time": 2277.529, "Actual Total Time": 2537.024, "Actual Rows": 4, "Actual Loops": 1, "Output": ["n1.n_name", "n2.n_name", "(EXTRACT(year FROM lineitem.l_shipdate))", "sum((lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount)))"], "Group Key": ["n1.n_name", "n2.n_name", "(EXTRACT(year FROM lineitem.l_shipdate))"], "Plans": [{"Node Type": "Gather Merge", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 228309.32, "Total Cost": 233539.49, "Plan Rows": 40400, "Plan Width": 116, "Actual Startup Time": 2274.863, "Actual Total Time": 2536.995, "Actual Rows": 20, "Actual Loops": 1, "Output": ["n1.n_name", "n2.n_name", "(EXTRACT(year FROM lineitem.l_shipdate))", "(PARTIAL sum((lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount))))"], "Workers Planned": 4, "Workers Launched": 4, "Plans": [{"Node Type": "Aggregate", "Strategy": "Sorted", "Partial Mode": "Partial", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 227309.26, "Total Cost": 227727.41, "Plan Rows": 10100, "Plan Width": 116, "Actual Startup Time": 2260.618, "Actual Total Time": 2267.286, "Actual Rows": 4, "Actual Loops": 5, "Output": ["n1.n_name", "n2.n_name", "(EXTRACT(year FROM lineitem.l_shipdate))", "PARTIAL sum((lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount)))"], "Group Key": ["n1.n_name", "n2.n_name", "(EXTRACT(year FROM lineitem.l_shipdate))"], "Workers": [{"Worker Number": 0, "Actual Startup Time": 2258.384, "Actual Total Time": 2264.75, "Actual Rows": 4, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 2258.302, "Actual Total Time": 2264.664, "Actual Rows": 4, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 2258.561, "Actual Total Time": 2265.008, "Actual Rows": 4, "Actual Loops": 1}, {"Worker Number": 3, "Actual Startup Time": 2260.385, "Actual Total Time": 2266.696, "Actual Rows": 4, "Actual Loops": 1}], "Plans": [{"Node Type": "Sort", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 227309.26, "Total Cost": 227347.35, "Plan Rows": 15237, "Plan Width": 96, "Actual Startup Time": 2258.452, "Actual Total Time": 2259.184, "Actual Rows": 11559, "Actual Loops": 5, "Output": ["n1.n_name", "n2.n_name", "(EXTRACT(year FROM lineitem.l_shipdate))", "lineitem.l_extendedprice", "lineitem.l_discount"], "Sort Key": ["n1.n_name", "n2.n_name", "(EXTRACT(year FROM lineitem.l_shipdate))"], "Sort Method": "quicksort", "Sort Space Used": 1554, "Sort Space Type": "Memory", "Workers": [{"Worker Number": 0, "Actual Startup Time": 2256.366, "Actual Total Time": 2257.053, "Actual Rows": 10992, "Actual Loops": 1, "Sort Method": "quicksort", "Sort Space Used": 1329, "Sort Space Type": "Memory"}, {"Worker Number": 1, "Actual Startup Time": 2256.289, "Actual Total Time": 2256.981, "Actual Rows": 10956, "Actual Loops": 1, "Sort Method": "quicksort", "Sort Space Used": 1326, "Sort Space Type": "Memory"}, {"Worker Number": 2, "Actual Startup Time": 2256.421, "Actual Total Time": 2257.137, "Actual Rows": 11219, "Actual Loops": 1, "Sort Method": "quicksort", "Sort Space Used": 1349, "Sort Space Type": "Memory"}, {"Worker Number": 3, "Actual Startup Time": 2258.278, "Actual Total Time": 2258.964, "Actual Rows": 11018, "Actual Loops": 1, "Sort Method": "quicksort", "Sort Space Used": 1331, "Sort Space Type": "Memory"}], "Plans": [{"Node Type": "Hash Join", "Parent Relationship": "Outer", "Parallel Aware": true, "Async Capable": false, "Join Type": "Inner", "Startup Cost": 149932.83, "Total Cost": 226250.65, "Plan Rows": 15237, "Plan Width": 96, "Actual Startup Time": 1664.558, "Actual Total Time": 2250.378, "Actual Rows": 11559, "Actual Loops": 5, "Output": ["n1.n_name", "n2.n_name", "EXTRACT(year FROM lineitem.l_shipdate)", "lineitem.l_extendedprice", "lineitem.l_discount"], "Inner Unique": false, "Hash Cond": "(orders.o_orderkey = lineitem.l_orderkey)", "Join Filter": "(((n1.n_name = 'IRAN'::bpchar) AND (n2.n_name = 'ETHIOPIA'::bpchar)) OR ((n1.n_name = 'ETHIOPIA'::bpchar) AND (n2.n_name = 'IRAN'::bpchar)))", "Rows Removed by Join Filter": 11570, "Workers": [{"Worker Number": 0, "Actual Startup Time": 1662.965, "Actual Total Time": 2248.764, "Actual Rows": 10992, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 1663.062, "Actual Total Time": 2248.737, "Actual Rows": 10956, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 1663.108, "Actual Total Time": 2248.453, "Actual Rows": 11219, "Actual Loops": 1}, {"Worker Number": 3, "Actual Startup Time": 1662.935, "Actual Total Time": 2250.117, "Actual Rows": 11018, "Actual Loops": 1}], "Plans": [{"Node Type": "Nested Loop", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Join Type": "Inner", "Startup Cost": 1.83, "Total Cost": 74811.89, "Plan Rows": 300016, "Plan Width": 30, "Actual Startup Time": 0.129, "Actual Total Time": 488.597, "Actual Rows": 240625, "Actual Loops": 5, "Output": ["orders.o_orderkey", "n2.n_name"], "Inner Unique": false, "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.139, "Actual Total Time": 492.835, "Actual Rows": 228627, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 0.135, "Actual Total Time": 493.144, "Actual Rows": 229502, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 0.147, "Actual Total Time": 492.037, "Actual Rows": 232291, "Actual Loops": 1}, {"Worker Number": 3, "Actual Startup Time": 0.144, "Actual Total Time": 491.889, "Actual Rows": 228815, "Actual Loops": 1}], "Plans": [{"Node Type": "Hash Join", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Join Type": "Inner", "Startup Cost": 1.4, "Total Cost": 40826.65, "Plan Rows": 30000, "Plan Width": 30, "Actual Startup Time": 0.077, "Actual Total Time": 88.862, "Actual Rows": 24114, "Actual Loops": 5, "Output": ["customer.c_custkey", "n2.n_name"], "Inner Unique": true, "Hash Cond": "(customer.c_nationkey = n2.n_nationkey)", "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.09, "Actual Total Time": 85.581, "Actual Rows": 22955, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 0.081, "Actual Total Time": 87.01, "Actual Rows": 23144, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 0.087, "Actual Total Time": 85.911, "Actual Rows": 23131, "Actual Loops": 1}, {"Worker Number": 3, "Actual Startup Time": 0.088, "Actual Total Time": 85.313, "Actual Rows": 22911, "Actual Loops": 1}], "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": true, "Async Capable": false, "Relation Name": "customer", "Schema": "public", "Alias": "customer", "Startup Cost": 0.0, "Total Cost": 39674.0, "Plan Rows": 375000, "Plan Width": 8, "Actual Startup Time": 0.019, "Actual Total Time": 27.926, "Actual Rows": 300000, "Actual Loops": 5, "Output": ["customer.c_custkey", "customer.c_name", "customer.c_address", "customer.c_nationkey", "customer.c_phone", "customer.c_acctbal", "customer.c_mktsegment", "customer.c_comment"], "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.023, "Actual Total Time": 26.702, "Actual Rows": 285006, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 0.021, "Actual Total Time": 27.248, "Actual Rows": 290388, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 0.021, "Actual Total Time": 26.931, "Actual Rows": 286694, "Actual Loops": 1}, {"Worker Number": 3, "Actual Startup Time": 0.022, "Actual Total Time": 26.691, "Actual Rows": 284664, "Actual Loops": 1}]}, {"Node Type": "Hash", "Parent Relationship": "Inner", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 1.38, "Total Cost": 1.38, "Plan Rows": 2, "Plan Width": 30, "Actual Startup Time": 0.031, "Actual Total Time": 0.032, "Actual Rows": 2, "Actual Loops": 5, "Output": ["n2.n_name", "n2.n_nationkey"], "Hash Buckets": 1024, "Original Hash Buckets": 1024, "Hash Batches": 1, "Original Hash Batches": 1, "Peak Memory Usage": 9, "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.034, "Actual Total Time": 0.035, "Actual Rows": 2, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 0.035, "Actual Total Time": 0.036, "Actual Rows": 2, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 0.031, "Actual Total Time": 0.032, "Actual Rows": 2, "Actual Loops": 1}, {"Worker Number": 3, "Actual Startup Time": 0.034, "Actual Total Time": 0.035, "Actual Rows": 2, "Actual Loops": 1}], "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Relation Name": "nation", "Schema": "public", "Alias": "n2", "Startup Cost": 0.0, "Total Cost": 1.38, "Plan Rows": 2, "Plan Width": 30, "Actual Startup Time": 0.02, "Actual Total Time": 0.025, "Actual Rows": 2, "Actual Loops": 5, "Output": ["n2.n_name", "n2.n_nationkey"], "Filter": "((n2.n_name = 'ETHIOPIA'::bpchar) OR (n2.n_name = 'IRAN'::bpchar))", "Rows Removed by Filter": 23, "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.022, "Actual Total Time": 0.027, "Actual Rows": 2, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 0.023, "Actual Total Time": 0.029, "Actual Rows": 2, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 0.02, "Actual Total Time": 0.025, "Actual Rows": 2, "Actual Loops": 1}, {"Worker Number": 3, "Actual Startup Time": 0.021, "Actual Total Time": 0.027, "Actual Rows": 2, "Actual Loops": 1}]}]}]}, {"Node Type": "Index Scan", "Parent Relationship": "Inner", "Parallel Aware": false, "Async Capable": false, "Scan Direction": "Forward", "Index Name": "o_ck", "Relation Name": "orders", "Schema": "public", "Alias": "orders", "Startup Cost": 0.43, "Total Cost": 0.95, "Plan Rows": 18, "Plan Width": 8, "Actual Startup Time": 0.003, "Actual Total Time": 0.015, "Actual Rows": 10, "Actual Loops": 120572, "Output": ["orders.o_orderkey", "orders.o_custkey", "orders.o_orderstatus", "orders.o_totalprice", "orders.o_orderdate", "orders.o_orderpriority", "orders.o_clerk", "orders.o_shippriority", "orders.o_comment"], "Index Cond": "(orders.o_custkey = customer.c_custkey)", "Rows Removed by Index Recheck": 0, "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.003, "Actual Total Time": 0.016, "Actual Rows": 10, "Actual Loops": 22955}, {"Worker Number": 1, "Actual Startup Time": 0.003, "Actual Total Time": 0.016, "Actual Rows": 10, "Actual Loops": 23144}, {"Worker Number": 2, "Actual Startup Time": 0.003, "Actual Total Time": 0.016, "Actual Rows": 10, "Actual Loops": 23131}, {"Worker Number": 3, "Actual Startup Time": 0.003, "Actual Total Time": 0.016, "Actual Rows": 10, "Actual Loops": 22911}]}]}, {"Node Type": "Hash", "Parent Relationship": "Inner", "Parallel Aware": true, "Async Capable": false, "Startup Cost": 139162.26, "Total Cost": 139162.26, "Plan Rows": 861499, "Plan Width": 46, "Actual Startup Time": 1661.215, "Actual Total Time": 1661.217, "Actual Rows": 290167, "Actual Loops": 5, "Output": ["lineitem.l_shipdate", "lineitem.l_extendedprice", "lineitem.l_discount", "lineitem.l_orderkey", "n1.n_name"], "Hash Buckets": 2097152, "Original Hash Buckets": 2097152, "Hash Batches": 1, "Original Hash Batches": 1, "Peak Memory Usage": 138592, "Workers": [{"Worker Number": 0, "Actual Startup Time": 1662.675, "Actual Total Time": 1662.677, "Actual Rows": 266101, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 1662.615, "Actual Total Time": 1662.618, "Actual Rows": 269245, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 1662.609, "Actual Total Time": 1662.611, "Actual Rows": 271639, "Actual Loops": 1}, {"Worker Number": 3, "Actual Startup Time": 1662.673, "Actual Total Time": 1662.675, "Actual Rows": 266245, "Actual Loops": 1}], "Plans": [{"Node Type": "Nested Loop", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Join Type": "Inner", "Startup Cost": 1.84, "Total Cost": 139162.26, "Plan Rows": 861499, "Plan Width": 46, "Actual Startup Time": 0.19, "Actual Total Time": 1503.03, "Actual Rows": 290167, "Actual Loops": 5, "Output": ["lineitem.l_shipdate", "lineitem.l_extendedprice", "lineitem.l_discount", "lineitem.l_orderkey", "n1.n_name"], "Inner Unique": false, "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.255, "Actual Total Time": 1512.331, "Actual Rows": 266101, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 0.231, "Actual Total Time": 1513.76, "Actual Rows": 269245, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 0.203, "Actual Total Time": 1512.001, "Actual Rows": 271639, "Actual Loops": 1}, {"Worker Number": 3, "Actual Startup Time": 0.199, "Actual Total Time": 1509.256, "Actual Rows": 266245, "Actual Loops": 1}], "Plans": [{"Node Type": "Hash Join", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Join Type": "Inner", "Startup Cost": 1.4, "Total Cost": 2989.23, "Plan Rows": 4706, "Plan Width": 30, "Actual Startup Time": 0.086, "Actual Total Time": 7.725, "Actual Rows": 1594, "Actual Loops": 5, "Output": ["supplier.s_suppkey", "n1.n_name"], "Inner Unique": true, "Hash Cond": "(supplier.s_nationkey = n1.n_nationkey)", "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.098, "Actual Total Time": 7.518, "Actual Rows": 1457, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 0.095, "Actual Total Time": 7.479, "Actual Rows": 1482, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 0.105, "Actual Total Time": 7.276, "Actual Rows": 1491, "Actual Loops": 1}, {"Worker Number": 3, "Actual Startup Time": 0.095, "Actual Total Time": 7.44, "Actual Rows": 1465, "Actual Loops": 1}], "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": true, "Async Capable": false, "Relation Name": "supplier", "Schema": "public", "Alias": "supplier", "Startup Cost": 0.0, "Total Cost": 2807.24, "Plan Rows": 58824, "Plan Width": 8, "Actual Startup Time": 0.018, "Actual Total Time": 2.828, "Actual Rows": 20000, "Actual Loops": 5, "Output": ["supplier.s_suppkey", "supplier.s_name", "supplier.s_address", "supplier.s_nationkey", "supplier.s_phone", "supplier.s_acctbal", "supplier.s_comment"], "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.021, "Actual Total Time": 2.879, "Actual Rows": 18701, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 0.02, "Actual Total Time": 2.842, "Actual Rows": 18389, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 0.022, "Actual Total Time": 2.759, "Actual Rows": 18018, "Actual Loops": 1}, {"Worker Number": 3, "Actual Startup Time": 0.021, "Actual Total Time": 2.846, "Actual Rows": 18343, "Actual Loops": 1}]}, {"Node Type": "Hash", "Parent Relationship": "Inner", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 1.38, "Total Cost": 1.38, "Plan Rows": 2, "Plan Width": 30, "Actual Startup Time": 0.045, "Actual Total Time": 0.045, "Actual Rows": 2, "Actual Loops": 5, "Output": ["n1.n_name", "n1.n_nationkey"], "Hash Buckets": 1024, "Original Hash Buckets": 1024, "Hash Batches": 1, "Original Hash Batches": 1, "Peak Memory Usage": 9, "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.054, "Actual Total Time": 0.054, "Actual Rows": 2, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 0.05, "Actual Total Time": 0.05, "Actual Rows": 2, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 0.05, "Actual Total Time": 0.051, "Actual Rows": 2, "Actual Loops": 1}, {"Worker Number": 3, "Actual Startup Time": 0.05, "Actual Total Time": 0.051, "Actual Rows": 2, "Actual Loops": 1}], "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Relation Name": "nation", "Schema": "public", "Alias": "n1", "Startup Cost": 0.0, "Total Cost": 1.38, "Plan Rows": 2, "Plan Width": 30, "Actual Startup Time": 0.032, "Actual Total Time": 0.037, "Actual Rows": 2, "Actual Loops": 5, "Output": ["n1.n_name", "n1.n_nationkey"], "Filter": "((n1.n_name = 'IRAN'::bpchar) OR (n1.n_name = 'ETHIOPIA'::bpchar))", "Rows Removed by Filter": 23, "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.038, "Actual Total Time": 0.043, "Actual Rows": 2, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 0.036, "Actual Total Time": 0.041, "Actual Rows": 2, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 0.036, "Actual Total Time": 0.042, "Actual Rows": 2, "Actual Loops": 1}, {"Worker Number": 3, "Actual Startup Time": 0.036, "Actual Total Time": 0.041, "Actual Rows": 2, "Actual Loops": 1}]}]}]}, {"Node Type": "Index Scan", "Parent Relationship": "Inner", "Parallel Aware": false, "Async Capable": false, "Scan Direction": "Forward", "Index Name": "l_sk_pk", "Relation Name": "lineitem", "Schema": "public", "Alias": "lineitem", "Startup Cost": 0.44, "Total Cost": 27.09, "Plan Rows": 185, "Plan Width": 24, "Actual Startup Time": 0.016, "Actual Total Time": 0.913, "Actual Rows": 182, "Actual Loops": 7968, "Output": ["lineitem.l_orderkey", "lineitem.l_partkey", "lineitem.l_suppkey", "lineitem.l_linenumber", "lineitem.l_quantity", "lineitem.l_extendedprice", "lineitem.l_discount", "lineitem.l_tax", "lineitem.l_returnflag", "lineitem.l_linestatus", "lineitem.l_shipdate", "lineitem.l_commitdate", "lineitem.l_receiptdate", "lineitem.l_shipinstruct", "lineitem.l_shipmode", "lineitem.l_comment"], "Index Cond": "(lineitem.l_suppkey = supplier.s_suppkey)", "Rows Removed by Index Recheck": 0, "Filter": "((lineitem.l_shipdate >= '1995-01-01'::date) AND (lineitem.l_shipdate <= '1996-12-31'::date))", "Rows Removed by Filter": 417, "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.017, "Actual Total Time": 1.007, "Actual Rows": 183, "Actual Loops": 1457}, {"Worker Number": 1, "Actual Startup Time": 0.018, "Actual Total Time": 0.99, "Actual Rows": 182, "Actual Loops": 1482}, {"Worker Number": 2, "Actual Startup Time": 0.017, "Actual Total Time": 0.983, "Actual Rows": 182, "Actual Loops": 1491}, {"Worker Number": 3, "Actual Startup Time": 0.018, "Actual Total Time": 0.999, "Actual Rows": 182, "Actual Loops": 1465}]}]}]}]}]}]}]}]}, "Planning Time": 1.721, "Triggers": [], "Execution Time": 2537.108} diff --git a/dev9/pg17/tpch/sf_10/explain_analyze/15721/8-1.ok b/dev9/pg17/tpch/sf_10/explain_analyze/15721/8-1.ok new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/dev9/pg17/tpch/sf_10/explain_analyze/15721/8-1.res b/dev9/pg17/tpch/sf_10/explain_analyze/15721/8-1.res new file mode 100644 index 0000000000000000000000000000000000000000..14578ef641e418f1712dde72feaac76affdcec8d --- /dev/null +++ b/dev9/pg17/tpch/sf_10/explain_analyze/15721/8-1.res @@ -0,0 +1 @@ +{"Plan": {"Node Type": "Aggregate", "Strategy": "Sorted", "Partial Mode": "Finalize", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 218848.47, "Total Cost": 220346.65, "Plan Rows": 2406, "Plan Width": 64, "Actual Startup Time": 1016.55, "Actual Total Time": 1230.67, "Actual Rows": 2, "Actual Loops": 1, "Output": ["(EXTRACT(year FROM orders.o_orderdate))", "(sum(CASE WHEN (n2.n_name = 'ETHIOPIA'::bpchar) THEN (lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount)) ELSE '0'::numeric END) / sum((lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount))))"], "Group Key": ["(EXTRACT(year FROM orders.o_orderdate))"], "Plans": [{"Node Type": "Gather Merge", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 218848.47, "Total Cost": 220178.23, "Plan Rows": 9624, "Plan Width": 96, "Actual Startup Time": 1014.131, "Actual Total Time": 1230.649, "Actual Rows": 10, "Actual Loops": 1, "Output": ["(EXTRACT(year FROM orders.o_orderdate))", "(PARTIAL sum(CASE WHEN (n2.n_name = 'ETHIOPIA'::bpchar) THEN (lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount)) ELSE '0'::numeric END))", "(PARTIAL sum((lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount))))"], "Workers Planned": 4, "Workers Launched": 4, "Plans": [{"Node Type": "Aggregate", "Strategy": "Sorted", "Partial Mode": "Partial", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 217848.41, "Total Cost": 218031.86, "Plan Rows": 2406, "Plan Width": 96, "Actual Startup Time": 1007.765, "Actual Total Time": 1009.467, "Actual Rows": 2, "Actual Loops": 5, "Output": ["(EXTRACT(year FROM orders.o_orderdate))", "PARTIAL sum(CASE WHEN (n2.n_name = 'ETHIOPIA'::bpchar) THEN (lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount)) ELSE '0'::numeric END)", "PARTIAL sum((lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount)))"], "Group Key": ["(EXTRACT(year FROM orders.o_orderdate))"], "Workers": [{"Worker Number": 0, "Actual Startup Time": 1006.008, "Actual Total Time": 1007.55, "Actual Rows": 2, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 1006.559, "Actual Total Time": 1008.092, "Actual Rows": 2, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 1007.413, "Actual Total Time": 1008.947, "Actual Rows": 2, "Actual Loops": 1}, {"Worker Number": 3, "Actual Startup Time": 1006.978, "Actual Total Time": 1008.471, "Actual Rows": 2, "Actual Loops": 1}], "Plans": [{"Node Type": "Sort", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 217848.41, "Total Cost": 217864.11, "Plan Rows": 6282, "Plan Width": 70, "Actual Startup Time": 1006.009, "Actual Total Time": 1006.315, "Actual Rows": 4974, "Actual Loops": 5, "Output": ["(EXTRACT(year FROM orders.o_orderdate))", "n2.n_name", "lineitem.l_extendedprice", "lineitem.l_discount"], "Sort Key": ["(EXTRACT(year FROM orders.o_orderdate))"], "Sort Method": "quicksort", "Sort Space Used": 630, "Sort Space Type": "Memory", "Workers": [{"Worker Number": 0, "Actual Startup Time": 1004.459, "Actual Total Time": 1004.732, "Actual Rows": 4442, "Actual Loops": 1, "Sort Method": "quicksort", "Sort Space Used": 470, "Sort Space Type": "Memory"}, {"Worker Number": 1, "Actual Startup Time": 1004.95, "Actual Total Time": 1005.232, "Actual Rows": 4517, "Actual Loops": 1, "Sort Method": "quicksort", "Sort Space Used": 475, "Sort Space Type": "Memory"}, {"Worker Number": 2, "Actual Startup Time": 1005.848, "Actual Total Time": 1006.123, "Actual Rows": 4468, "Actual Loops": 1, "Sort Method": "quicksort", "Sort Space Used": 472, "Sort Space Type": "Memory"}, {"Worker Number": 3, "Actual Startup Time": 1005.375, "Actual Total Time": 1005.65, "Actual Rows": 4450, "Actual Loops": 1, "Sort Method": "quicksort", "Sort Space Used": 471, "Sort Space Type": "Memory"}], "Plans": [{"Node Type": "Hash Join", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Join Type": "Inner", "Startup Cost": 5.67, "Total Cost": 217452.11, "Plan Rows": 6282, "Plan Width": 70, "Actual Startup Time": 1.049, "Actual Total Time": 1003.619, "Actual Rows": 4974, "Actual Loops": 5, "Output": ["EXTRACT(year FROM orders.o_orderdate)", "n2.n_name", "lineitem.l_extendedprice", "lineitem.l_discount"], "Inner Unique": true, "Hash Cond": "(supplier.s_nationkey = n2.n_nationkey)", "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.882, "Actual Total Time": 1002.203, "Actual Rows": 4442, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 0.558, "Actual Total Time": 1002.579, "Actual Rows": 4517, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 0.75, "Actual Total Time": 1003.599, "Actual Rows": 4468, "Actual Loops": 1}, {"Worker Number": 3, "Actual Startup Time": 2.95, "Actual Total Time": 1003.166, "Actual Rows": 4450, "Actual Loops": 1}], "Plans": [{"Node Type": "Nested Loop", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Join Type": "Inner", "Startup Cost": 4.1, "Total Cost": 217415.56, "Plan Rows": 6282, "Plan Width": 20, "Actual Startup Time": 0.956, "Actual Total Time": 1000.969, "Actual Rows": 4974, "Actual Loops": 5, "Output": ["lineitem.l_extendedprice", "lineitem.l_discount", "supplier.s_nationkey", "orders.o_orderdate"], "Inner Unique": true, "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.773, "Actual Total Time": 999.815, "Actual Rows": 4442, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 0.447, "Actual Total Time": 1000.142, "Actual Rows": 4517, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 0.637, "Actual Total Time": 1001.155, "Actual Rows": 4468, "Actual Loops": 1}, {"Worker Number": 3, "Actual Startup Time": 2.841, "Actual Total Time": 1000.669, "Actual Rows": 4450, "Actual Loops": 1}], "Plans": [{"Node Type": "Hash Join", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Join Type": "Inner", "Startup Cost": 3.81, "Total Cost": 215467.85, "Plan Rows": 6282, "Plan Width": 20, "Actual Startup Time": 0.914, "Actual Total Time": 982.842, "Actual Rows": 4974, "Actual Loops": 5, "Output": ["lineitem.l_extendedprice", "lineitem.l_discount", "lineitem.l_suppkey", "orders.o_orderdate"], "Inner Unique": false, "Hash Cond": "(customer.c_nationkey = n1.n_nationkey)", "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.721, "Actual Total Time": 983.104, "Actual Rows": 4442, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 0.396, "Actual Total Time": 983.205, "Actual Rows": 4517, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 0.586, "Actual Total Time": 984.494, "Actual Rows": 4468, "Actual Loops": 1}, {"Worker Number": 3, "Actual Startup Time": 2.794, "Actual Total Time": 984.138, "Actual Rows": 4450, "Actual Loops": 1}], "Plans": [{"Node Type": "Nested Loop", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Join Type": "Inner", "Startup Cost": 1.3, "Total Cost": 215284.74, "Plan Rows": 31409, "Plan Width": 24, "Actual Startup Time": 0.405, "Actual Total Time": 978.063, "Actual Rows": 24632, "Actual Loops": 5, "Output": ["lineitem.l_extendedprice", "lineitem.l_discount", "lineitem.l_suppkey", "orders.o_orderdate", "customer.c_nationkey"], "Inner Unique": true, "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.36, "Actual Total Time": 978.752, "Actual Rows": 21886, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 0.307, "Actual Total Time": 978.859, "Actual Rows": 22138, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 0.495, "Actual Total Time": 980.123, "Actual Rows": 22258, "Actual Loops": 1}, {"Worker Number": 3, "Actual Startup Time": 0.816, "Actual Total Time": 979.656, "Actual Rows": 21908, "Actual Loops": 1}], "Plans": [{"Node Type": "Nested Loop", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Join Type": "Inner", "Startup Cost": 0.88, "Total Cost": 201005.67, "Plan Rows": 31409, "Plan Width": 24, "Actual Startup Time": 0.35, "Actual Total Time": 852.06, "Actual Rows": 24632, "Actual Loops": 5, "Output": ["lineitem.l_extendedprice", "lineitem.l_discount", "lineitem.l_suppkey", "orders.o_orderdate", "orders.o_custkey"], "Inner Unique": true, "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.29, "Actual Total Time": 859.726, "Actual Rows": 21886, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 0.239, "Actual Total Time": 859.653, "Actual Rows": 22138, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 0.427, "Actual Total Time": 861.221, "Actual Rows": 22258, "Actual Loops": 1}, {"Worker Number": 3, "Actual Startup Time": 0.754, "Actual Total Time": 861.827, "Actual Rows": 21908, "Actual Loops": 1}], "Plans": [{"Node Type": "Nested Loop", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Join Type": "Inner", "Startup Cost": 0.44, "Total Cost": 153368.16, "Plan Rows": 102879, "Plan Width": 20, "Actual Startup Time": 0.11, "Actual Total Time": 357.106, "Actual Rows": 80815, "Actual Loops": 5, "Output": ["lineitem.l_extendedprice", "lineitem.l_discount", "lineitem.l_suppkey", "lineitem.l_orderkey"], "Inner Unique": false, "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.103, "Actual Total Time": 379.072, "Actual Rows": 71929, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 0.165, "Actual Total Time": 379.853, "Actual Rows": 72499, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 0.119, "Actual Total Time": 381.45, "Actual Rows": 72795, "Actual Loops": 1}, {"Worker Number": 3, "Actual Startup Time": 0.131, "Actual Total Time": 380.787, "Actual Rows": 72321, "Actual Loops": 1}], "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": true, "Async Capable": false, "Relation Name": "part", "Schema": "public", "Alias": "part", "Startup Cost": 0.0, "Total Cost": 47211.0, "Plan Rows": 3430, "Plan Width": 4, "Actual Startup Time": 0.04, "Actual Total Time": 71.271, "Actual Rows": 2697, "Actual Loops": 5, "Output": ["part.p_partkey", "part.p_name", "part.p_mfgr", "part.p_brand", "part.p_type", "part.p_size", "part.p_container", "part.p_retailprice", "part.p_comment"], "Filter": "((part.p_type)::text = 'SMALL BRUSHED NICKEL'::text)", "Rows Removed by Filter": 397303, "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.02, "Actual Total Time": 64.344, "Actual Rows": 2395, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 0.083, "Actual Total Time": 64.31, "Actual Rows": 2410, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 0.039, "Actual Total Time": 65.106, "Actual Rows": 2427, "Actual Loops": 1}, {"Worker Number": 3, "Actual Startup Time": 0.047, "Actual Total Time": 65.17, "Actual Rows": 2424, "Actual Loops": 1}]}, {"Node Type": "Index Scan", "Parent Relationship": "Inner", "Parallel Aware": false, "Async Capable": false, "Scan Direction": "Forward", "Index Name": "l_pk", "Relation Name": "lineitem", "Schema": "public", "Alias": "lineitem", "Startup Cost": 0.44, "Total Cost": 30.64, "Plan Rows": 31, "Plan Width": 24, "Actual Startup Time": 0.008, "Actual Total Time": 0.099, "Actual Rows": 30, "Actual Loops": 13487, "Output": ["lineitem.l_orderkey", "lineitem.l_partkey", "lineitem.l_suppkey", "lineitem.l_linenumber", "lineitem.l_quantity", "lineitem.l_extendedprice", "lineitem.l_discount", "lineitem.l_tax", "lineitem.l_returnflag", "lineitem.l_linestatus", "lineitem.l_shipdate", "lineitem.l_commitdate", "lineitem.l_receiptdate", "lineitem.l_shipinstruct", "lineitem.l_shipmode", "lineitem.l_comment"], "Index Cond": "(lineitem.l_partkey = part.p_partkey)", "Rows Removed by Index Recheck": 0, "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.009, "Actual Total Time": 0.124, "Actual Rows": 30, "Actual Loops": 2395}, {"Worker Number": 1, "Actual Startup Time": 0.009, "Actual Total Time": 0.124, "Actual Rows": 30, "Actual Loops": 2410}, {"Worker Number": 2, "Actual Startup Time": 0.009, "Actual Total Time": 0.123, "Actual Rows": 30, "Actual Loops": 2427}, {"Worker Number": 3, "Actual Startup Time": 0.009, "Actual Total Time": 0.123, "Actual Rows": 30, "Actual Loops": 2424}]}]}, {"Node Type": "Index Scan", "Parent Relationship": "Inner", "Parallel Aware": false, "Async Capable": false, "Scan Direction": "Forward", "Index Name": "o_ok", "Relation Name": "orders", "Schema": "public", "Alias": "orders", "Startup Cost": 0.43, "Total Cost": 0.46, "Plan Rows": 1, "Plan Width": 12, "Actual Startup Time": 0.006, "Actual Total Time": 0.006, "Actual Rows": 0, "Actual Loops": 404076, "Output": ["orders.o_orderkey", "orders.o_custkey", "orders.o_orderstatus", "orders.o_totalprice", "orders.o_orderdate", "orders.o_orderpriority", "orders.o_clerk", "orders.o_shippriority", "orders.o_comment"], "Index Cond": "(orders.o_orderkey = lineitem.l_orderkey)", "Rows Removed by Index Recheck": 0, "Filter": "((orders.o_orderdate >= '1995-01-01'::date) AND (orders.o_orderdate <= '1996-12-31'::date))", "Rows Removed by Filter": 1, "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.006, "Actual Total Time": 0.006, "Actual Rows": 0, "Actual Loops": 71929}, {"Worker Number": 1, "Actual Startup Time": 0.006, "Actual Total Time": 0.006, "Actual Rows": 0, "Actual Loops": 72499}, {"Worker Number": 2, "Actual Startup Time": 0.006, "Actual Total Time": 0.006, "Actual Rows": 0, "Actual Loops": 72795}, {"Worker Number": 3, "Actual Startup Time": 0.006, "Actual Total Time": 0.006, "Actual Rows": 0, "Actual Loops": 72321}]}]}, {"Node Type": "Index Scan", "Parent Relationship": "Inner", "Parallel Aware": false, "Async Capable": false, "Scan Direction": "Forward", "Index Name": "c_ck", "Relation Name": "customer", "Schema": "public", "Alias": "customer", "Startup Cost": 0.43, "Total Cost": 0.45, "Plan Rows": 1, "Plan Width": 8, "Actual Startup Time": 0.005, "Actual Total Time": 0.005, "Actual Rows": 1, "Actual Loops": 123159, "Output": ["customer.c_custkey", "customer.c_name", "customer.c_address", "customer.c_nationkey", "customer.c_phone", "customer.c_acctbal", "customer.c_mktsegment", "customer.c_comment"], "Index Cond": "(customer.c_custkey = orders.o_custkey)", "Rows Removed by Index Recheck": 0, "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.005, "Actual Total Time": 0.005, "Actual Rows": 1, "Actual Loops": 21886}, {"Worker Number": 1, "Actual Startup Time": 0.005, "Actual Total Time": 0.005, "Actual Rows": 1, "Actual Loops": 22138}, {"Worker Number": 2, "Actual Startup Time": 0.005, "Actual Total Time": 0.005, "Actual Rows": 1, "Actual Loops": 22258}, {"Worker Number": 3, "Actual Startup Time": 0.005, "Actual Total Time": 0.005, "Actual Rows": 1, "Actual Loops": 21908}]}]}, {"Node Type": "Hash", "Parent Relationship": "Inner", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 2.45, "Total Cost": 2.45, "Plan Rows": 5, "Plan Width": 4, "Actual Startup Time": 0.061, "Actual Total Time": 0.063, "Actual Rows": 5, "Actual Loops": 5, "Output": ["n1.n_nationkey"], "Hash Buckets": 1024, "Original Hash Buckets": 1024, "Hash Batches": 1, "Original Hash Batches": 1, "Peak Memory Usage": 9, "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.071, "Actual Total Time": 0.073, "Actual Rows": 5, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 0.07, "Actual Total Time": 0.072, "Actual Rows": 5, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 0.071, "Actual Total Time": 0.073, "Actual Rows": 5, "Actual Loops": 1}, {"Worker Number": 3, "Actual Startup Time": 0.072, "Actual Total Time": 0.073, "Actual Rows": 5, "Actual Loops": 1}], "Plans": [{"Node Type": "Hash Join", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Join Type": "Inner", "Startup Cost": 1.07, "Total Cost": 2.45, "Plan Rows": 5, "Plan Width": 4, "Actual Startup Time": 0.052, "Actual Total Time": 0.06, "Actual Rows": 5, "Actual Loops": 5, "Output": ["n1.n_nationkey"], "Inner Unique": true, "Hash Cond": "(n1.n_regionkey = region.r_regionkey)", "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.062, "Actual Total Time": 0.069, "Actual Rows": 5, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 0.061, "Actual Total Time": 0.069, "Actual Rows": 5, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 0.062, "Actual Total Time": 0.069, "Actual Rows": 5, "Actual Loops": 1}, {"Worker Number": 3, "Actual Startup Time": 0.062, "Actual Total Time": 0.07, "Actual Rows": 5, "Actual Loops": 1}], "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Relation Name": "nation", "Schema": "public", "Alias": "n1", "Startup Cost": 0.0, "Total Cost": 1.25, "Plan Rows": 25, "Plan Width": 8, "Actual Startup Time": 0.009, "Actual Total Time": 0.011, "Actual Rows": 25, "Actual Loops": 5, "Output": ["n1.n_nationkey", "n1.n_name", "n1.n_regionkey", "n1.n_comment"], "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.01, "Actual Total Time": 0.012, "Actual Rows": 25, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 0.01, "Actual Total Time": 0.012, "Actual Rows": 25, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 0.01, "Actual Total Time": 0.012, "Actual Rows": 25, "Actual Loops": 1}, {"Worker Number": 3, "Actual Startup Time": 0.01, "Actual Total Time": 0.013, "Actual Rows": 25, "Actual Loops": 1}]}, {"Node Type": "Hash", "Parent Relationship": "Inner", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 1.06, "Total Cost": 1.06, "Plan Rows": 1, "Plan Width": 4, "Actual Startup Time": 0.028, "Actual Total Time": 0.028, "Actual Rows": 1, "Actual Loops": 5, "Output": ["region.r_regionkey"], "Hash Buckets": 1024, "Original Hash Buckets": 1024, "Hash Batches": 1, "Original Hash Batches": 1, "Peak Memory Usage": 9, "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.033, "Actual Total Time": 0.033, "Actual Rows": 1, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 0.032, "Actual Total Time": 0.033, "Actual Rows": 1, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 0.033, "Actual Total Time": 0.033, "Actual Rows": 1, "Actual Loops": 1}, {"Worker Number": 3, "Actual Startup Time": 0.033, "Actual Total Time": 0.034, "Actual Rows": 1, "Actual Loops": 1}], "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Relation Name": "region", "Schema": "public", "Alias": "region", "Startup Cost": 0.0, "Total Cost": 1.06, "Plan Rows": 1, "Plan Width": 4, "Actual Startup Time": 0.023, "Actual Total Time": 0.024, "Actual Rows": 1, "Actual Loops": 5, "Output": ["region.r_regionkey"], "Filter": "(region.r_name = 'AFRICA'::bpchar)", "Rows Removed by Filter": 4, "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.027, "Actual Total Time": 0.029, "Actual Rows": 1, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 0.027, "Actual Total Time": 0.029, "Actual Rows": 1, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 0.027, "Actual Total Time": 0.029, "Actual Rows": 1, "Actual Loops": 1}, {"Worker Number": 3, "Actual Startup Time": 0.028, "Actual Total Time": 0.029, "Actual Rows": 1, "Actual Loops": 1}]}]}]}]}]}, {"Node Type": "Index Scan", "Parent Relationship": "Inner", "Parallel Aware": false, "Async Capable": false, "Scan Direction": "Forward", "Index Name": "s_sk", "Relation Name": "supplier", "Schema": "public", "Alias": "supplier", "Startup Cost": 0.29, "Total Cost": 0.31, "Plan Rows": 1, "Plan Width": 8, "Actual Startup Time": 0.003, "Actual Total Time": 0.003, "Actual Rows": 1, "Actual Loops": 24872, "Output": ["supplier.s_suppkey", "supplier.s_name", "supplier.s_address", "supplier.s_nationkey", "supplier.s_phone", "supplier.s_acctbal", "supplier.s_comment"], "Index Cond": "(supplier.s_suppkey = lineitem.l_suppkey)", "Rows Removed by Index Recheck": 0, "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.003, "Actual Total Time": 0.003, "Actual Rows": 1, "Actual Loops": 4442}, {"Worker Number": 1, "Actual Startup Time": 0.003, "Actual Total Time": 0.003, "Actual Rows": 1, "Actual Loops": 4517}, {"Worker Number": 2, "Actual Startup Time": 0.003, "Actual Total Time": 0.003, "Actual Rows": 1, "Actual Loops": 4468}, {"Worker Number": 3, "Actual Startup Time": 0.003, "Actual Total Time": 0.003, "Actual Rows": 1, "Actual Loops": 4450}]}]}, {"Node Type": "Hash", "Parent Relationship": "Inner", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 1.25, "Total Cost": 1.25, "Plan Rows": 25, "Plan Width": 30, "Actual Startup Time": 0.035, "Actual Total Time": 0.035, "Actual Rows": 25, "Actual Loops": 5, "Output": ["n2.n_name", "n2.n_nationkey"], "Hash Buckets": 1024, "Original Hash Buckets": 1024, "Hash Batches": 1, "Original Hash Batches": 1, "Peak Memory Usage": 10, "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.039, "Actual Total Time": 0.039, "Actual Rows": 25, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 0.039, "Actual Total Time": 0.039, "Actual Rows": 25, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 0.039, "Actual Total Time": 0.04, "Actual Rows": 25, "Actual Loops": 1}, {"Worker Number": 3, "Actual Startup Time": 0.039, "Actual Total Time": 0.04, "Actual Rows": 25, "Actual Loops": 1}], "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Relation Name": "nation", "Schema": "public", "Alias": "n2", "Startup Cost": 0.0, "Total Cost": 1.25, "Plan Rows": 25, "Plan Width": 30, "Actual Startup Time": 0.024, "Actual Total Time": 0.027, "Actual Rows": 25, "Actual Loops": 5, "Output": ["n2.n_name", "n2.n_nationkey"], "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.028, "Actual Total Time": 0.031, "Actual Rows": 25, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 0.027, "Actual Total Time": 0.031, "Actual Rows": 25, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 0.027, "Actual Total Time": 0.031, "Actual Rows": 25, "Actual Loops": 1}, {"Worker Number": 3, "Actual Startup Time": 0.028, "Actual Total Time": 0.031, "Actual Rows": 25, "Actual Loops": 1}]}]}]}]}]}]}]}, "Planning Time": 2.904, "Triggers": [], "Execution Time": 1230.761} diff --git a/dev9/pg17/tpch/sf_10/explain_analyze/15721/9-1.ok b/dev9/pg17/tpch/sf_10/explain_analyze/15721/9-1.ok new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/dev9/pg17/tpch/sf_10/explain_analyze/15721/9-1.res b/dev9/pg17/tpch/sf_10/explain_analyze/15721/9-1.res new file mode 100644 index 0000000000000000000000000000000000000000..604294747d136eaa9065dd1035b0d505a8f908dd --- /dev/null +++ b/dev9/pg17/tpch/sf_10/explain_analyze/15721/9-1.res @@ -0,0 +1 @@ +{"Plan": {"Node Type": "Sort", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 507793.08, "Total Cost": 507943.46, "Plan Rows": 60150, "Plan Width": 90, "Actual Startup Time": 4100.89, "Actual Total Time": 4656.399, "Actual Rows": 175, "Actual Loops": 1, "Output": ["nation.n_name", "(EXTRACT(year FROM orders.o_orderdate))", "(sum(((lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount)) - (partsupp.ps_supplycost * lineitem.l_quantity))))"], "Sort Key": ["nation.n_name", "(EXTRACT(year FROM orders.o_orderdate)) DESC"], "Sort Method": "quicksort", "Sort Space Used": 35, "Sort Space Type": "Memory", "Plans": [{"Node Type": "Aggregate", "Strategy": "Hashed", "Partial Mode": "Finalize", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 502116.04, "Total Cost": 503018.29, "Plan Rows": 60150, "Plan Width": 90, "Actual Startup Time": 4100.191, "Actual Total Time": 4656.132, "Actual Rows": 175, "Actual Loops": 1, "Output": ["nation.n_name", "(EXTRACT(year FROM orders.o_orderdate))", "sum(((lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount)) - (partsupp.ps_supplycost * lineitem.l_quantity)))"], "Group Key": ["nation.n_name", "(EXTRACT(year FROM orders.o_orderdate))"], "Planned Partitions": 0, "HashAgg Batches": 1, "Peak Memory Usage": 3217, "Disk Usage": 0, "Plans": [{"Node Type": "Gather", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 461514.79, "Total Cost": 498507.04, "Plan Rows": 360900, "Plan Width": 90, "Actual Startup Time": 4065.023, "Actual Total Time": 4654.578, "Actual Rows": 1225, "Actual Loops": 1, "Output": ["nation.n_name", "(EXTRACT(year FROM orders.o_orderdate))", "(PARTIAL sum(((lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount)) - (partsupp.ps_supplycost * lineitem.l_quantity))))"], "Workers Planned": 6, "Workers Launched": 6, "Single Copy": false, "Plans": [{"Node Type": "Aggregate", "Strategy": "Hashed", "Partial Mode": "Partial", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 460514.79, "Total Cost": 461417.04, "Plan Rows": 60150, "Plan Width": 90, "Actual Startup Time": 4052.233, "Actual Total Time": 4057.508, "Actual Rows": 175, "Actual Loops": 7, "Output": ["nation.n_name", "(EXTRACT(year FROM orders.o_orderdate))", "PARTIAL sum(((lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount)) - (partsupp.ps_supplycost * lineitem.l_quantity)))"], "Group Key": ["nation.n_name", "EXTRACT(year FROM orders.o_orderdate)"], "Planned Partitions": 0, "HashAgg Batches": 1, "Peak Memory Usage": 3217, "Disk Usage": 0, "Workers": [{"Worker Number": 0, "Actual Startup Time": 4056.732, "Actual Total Time": 4057.145, "Actual Rows": 175, "Actual Loops": 1, "HashAgg Batches": 1, "Peak Memory Usage": 3217, "Disk Usage": 0}, {"Worker Number": 1, "Actual Startup Time": 4048.744, "Actual Total Time": 4049.585, "Actual Rows": 175, "Actual Loops": 1, "HashAgg Batches": 1, "Peak Memory Usage": 3217, "Disk Usage": 0}, {"Worker Number": 2, "Actual Startup Time": 4048.898, "Actual Total Time": 4049.742, "Actual Rows": 175, "Actual Loops": 1, "HashAgg Batches": 1, "Peak Memory Usage": 3217, "Disk Usage": 0}, {"Worker Number": 3, "Actual Startup Time": 4048.916, "Actual Total Time": 4049.794, "Actual Rows": 175, "Actual Loops": 1, "HashAgg Batches": 1, "Peak Memory Usage": 3217, "Disk Usage": 0}, {"Worker Number": 4, "Actual Startup Time": 4048.942, "Actual Total Time": 4049.793, "Actual Rows": 175, "Actual Loops": 1, "HashAgg Batches": 1, "Peak Memory Usage": 3217, "Disk Usage": 0}, {"Worker Number": 5, "Actual Startup Time": 4048.959, "Actual Total Time": 4049.816, "Actual Rows": 175, "Actual Loops": 1, "HashAgg Batches": 1, "Peak Memory Usage": 3217, "Disk Usage": 0}], "Plans": [{"Node Type": "Hash Join", "Parent Relationship": "Outer", "Parallel Aware": true, "Async Capable": false, "Join Type": "Inner", "Startup Cost": 154558.36, "Total Cost": 452450.36, "Plan Rows": 460825, "Plan Width": 81, "Actual Startup Time": 2645.448, "Actual Total Time": 3550.685, "Actual Rows": 464980, "Actual Loops": 7, "Output": ["nation.n_name", "EXTRACT(year FROM orders.o_orderdate)", "lineitem.l_extendedprice", "lineitem.l_discount", "partsupp.ps_supplycost", "lineitem.l_quantity"], "Inner Unique": false, "Hash Cond": "(orders.o_orderkey = lineitem.l_orderkey)", "Workers": [{"Worker Number": 0, "Actual Startup Time": 2649.88, "Actual Total Time": 3552.576, "Actual Rows": 464618, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 2649.502, "Actual Total Time": 3545.846, "Actual Rows": 464176, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 2650.183, "Actual Total Time": 3542.852, "Actual Rows": 466607, "Actual Loops": 1}, {"Worker Number": 3, "Actual Startup Time": 2649.547, "Actual Total Time": 3535.931, "Actual Rows": 466194, "Actual Loops": 1}, {"Worker Number": 4, "Actual Startup Time": 2649.749, "Actual Total Time": 3550.986, "Actual Rows": 457328, "Actual Loops": 1}, {"Worker Number": 5, "Actual Startup Time": 2650.208, "Actual Total Time": 3543.998, "Actual Rows": 464934, "Actual Loops": 1}], "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": true, "Async Capable": false, "Relation Name": "orders", "Schema": "public", "Alias": "orders", "Startup Cost": 0.0, "Total Cost": 286212.36, "Plan Rows": 2500136, "Plan Width": 8, "Actual Startup Time": 0.015, "Actual Total Time": 181.178, "Actual Rows": 2142857, "Actual Loops": 7, "Output": ["orders.o_orderkey", "orders.o_custkey", "orders.o_orderstatus", "orders.o_totalprice", "orders.o_orderdate", "orders.o_orderpriority", "orders.o_clerk", "orders.o_shippriority", "orders.o_comment"], "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.016, "Actual Total Time": 180.491, "Actual Rows": 2137896, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 0.016, "Actual Total Time": 180.376, "Actual Rows": 2129749, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 0.017, "Actual Total Time": 180.199, "Actual Rows": 2132151, "Actual Loops": 1}, {"Worker Number": 3, "Actual Startup Time": 0.016, "Actual Total Time": 180.825, "Actual Rows": 2138693, "Actual Loops": 1}, {"Worker Number": 4, "Actual Startup Time": 0.018, "Actual Total Time": 180.854, "Actual Rows": 2143303, "Actual Loops": 1}, {"Worker Number": 5, "Actual Startup Time": 0.016, "Actual Total Time": 180.09, "Actual Rows": 2129330, "Actual Loops": 1}]}, {"Node Type": "Hash", "Parent Relationship": "Inner", "Parallel Aware": true, "Async Capable": false, "Startup Cost": 145917.88, "Total Cost": 145917.88, "Plan Rows": 691238, "Plan Width": 53, "Actual Startup Time": 1807.797, "Actual Total Time": 1809.748, "Actual Rows": 464980, "Actual Loops": 7, "Output": ["lineitem.l_extendedprice", "lineitem.l_discount", "lineitem.l_quantity", "lineitem.l_orderkey", "partsupp.ps_supplycost", "nation.n_name"], "Hash Buckets": 524288, "Original Hash Buckets": 4194304, "Hash Batches": 16, "Original Hash Batches": 1, "Peak Memory Usage": 23328, "Workers": [{"Worker Number": 0, "Actual Startup Time": 1809.766, "Actual Total Time": 1809.772, "Actual Rows": 436822, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 1809.786, "Actual Total Time": 1809.798, "Actual Rows": 433708, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 1809.869, "Actual Total Time": 1809.875, "Actual Rows": 433534, "Actual Loops": 1}, {"Worker Number": 3, "Actual Startup Time": 1809.921, "Actual Total Time": 1809.927, "Actual Rows": 438843, "Actual Loops": 1}, {"Worker Number": 4, "Actual Startup Time": 1809.912, "Actual Total Time": 1809.92, "Actual Rows": 439883, "Actual Loops": 1}, {"Worker Number": 5, "Actual Startup Time": 1809.934, "Actual Total Time": 1809.941, "Actual Rows": 435789, "Actual Loops": 1}], "Plans": [{"Node Type": "Nested Loop", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Join Type": "Inner", "Startup Cost": 3544.97, "Total Cost": 145917.88, "Plan Rows": 691238, "Plan Width": 53, "Actual Startup Time": 11.045, "Actual Total Time": 1401.109, "Actual Rows": 464980, "Actual Loops": 7, "Output": ["lineitem.l_extendedprice", "lineitem.l_discount", "lineitem.l_quantity", "lineitem.l_orderkey", "partsupp.ps_supplycost", "nation.n_name"], "Inner Unique": false, "Join Filter": "(supplier.s_suppkey = lineitem.l_suppkey)", "Rows Removed by Join Filter": 0, "Workers": [{"Worker Number": 0, "Actual Startup Time": 11.039, "Actual Total Time": 1409.363, "Actual Rows": 436822, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 11.048, "Actual Total Time": 1410.063, "Actual Rows": 433708, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 11.052, "Actual Total Time": 1408.585, "Actual Rows": 433534, "Actual Loops": 1}, {"Worker Number": 3, "Actual Startup Time": 11.055, "Actual Total Time": 1408.849, "Actual Rows": 438843, "Actual Loops": 1}, {"Worker Number": 4, "Actual Startup Time": 11.031, "Actual Total Time": 1410.709, "Actual Rows": 439883, "Actual Loops": 1}, {"Worker Number": 5, "Actual Startup Time": 11.054, "Actual Total Time": 1409.198, "Actual Rows": 435789, "Actual Loops": 1}], "Plans": [{"Node Type": "Hash Join", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Join Type": "Inner", "Startup Cost": 3544.53, "Total Cost": 87155.42, "Plan Rows": 92190, "Plan Width": 48, "Actual Startup Time": 10.983, "Actual Total Time": 231.937, "Actual Rows": 62025, "Actual Loops": 7, "Output": ["part.p_partkey", "partsupp.ps_supplycost", "partsupp.ps_suppkey", "partsupp.ps_partkey", "supplier.s_suppkey", "nation.n_name"], "Inner Unique": true, "Hash Cond": "(supplier.s_nationkey = nation.n_nationkey)", "Workers": [{"Worker Number": 0, "Actual Startup Time": 10.963, "Actual Total Time": 222.451, "Actual Rows": 58408, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 10.976, "Actual Total Time": 219.268, "Actual Rows": 57828, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 10.982, "Actual Total Time": 218.119, "Actual Rows": 57804, "Actual Loops": 1}, {"Worker Number": 3, "Actual Startup Time": 10.969, "Actual Total Time": 220.464, "Actual Rows": 58512, "Actual Loops": 1}, {"Worker Number": 4, "Actual Startup Time": 10.967, "Actual Total Time": 221.118, "Actual Rows": 58824, "Actual Loops": 1}, {"Worker Number": 5, "Actual Startup Time": 11.001, "Actual Total Time": 220.979, "Actual Rows": 58048, "Actual Loops": 1}], "Plans": [{"Node Type": "Hash Join", "Parent Relationship": "Outer", "Parallel Aware": true, "Async Capable": false, "Join Type": "Inner", "Startup Cost": 3542.97, "Total Cost": 86870.83, "Plan Rows": 92190, "Plan Width": 26, "Actual Startup Time": 10.908, "Actual Total Time": 214.364, "Actual Rows": 62025, "Actual Loops": 7, "Output": ["part.p_partkey", "partsupp.ps_supplycost", "partsupp.ps_suppkey", "partsupp.ps_partkey", "supplier.s_suppkey", "supplier.s_nationkey"], "Inner Unique": true, "Hash Cond": "(partsupp.ps_suppkey = supplier.s_suppkey)", "Workers": [{"Worker Number": 0, "Actual Startup Time": 10.881, "Actual Total Time": 205.924, "Actual Rows": 58408, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 10.899, "Actual Total Time": 202.959, "Actual Rows": 57828, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 10.903, "Actual Total Time": 201.81, "Actual Rows": 57804, "Actual Loops": 1}, {"Worker Number": 3, "Actual Startup Time": 10.887, "Actual Total Time": 203.884, "Actual Rows": 58512, "Actual Loops": 1}, {"Worker Number": 4, "Actual Startup Time": 10.881, "Actual Total Time": 204.466, "Actual Rows": 58824, "Actual Loops": 1}, {"Worker Number": 5, "Actual Startup Time": 10.912, "Actual Total Time": 204.637, "Actual Rows": 58048, "Actual Loops": 1}], "Plans": [{"Node Type": "Nested Loop", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Join Type": "Inner", "Startup Cost": 0.43, "Total Cost": 83086.29, "Plan Rows": 92190, "Plan Width": 18, "Actual Startup Time": 0.102, "Actual Total Time": 168.008, "Actual Rows": 62025, "Actual Loops": 7, "Output": ["part.p_partkey", "partsupp.ps_supplycost", "partsupp.ps_suppkey", "partsupp.ps_partkey"], "Inner Unique": false, "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.106, "Actual Total Time": 163.325, "Actual Rows": 58408, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 0.124, "Actual Total Time": 160.371, "Actual Rows": 57828, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 0.122, "Actual Total Time": 159.51, "Actual Rows": 57804, "Actual Loops": 1}, {"Worker Number": 3, "Actual Startup Time": 0.114, "Actual Total Time": 161.532, "Actual Rows": 58512, "Actual Loops": 1}, {"Worker Number": 4, "Actual Startup Time": 0.114, "Actual Total Time": 161.941, "Actual Rows": 58824, "Actual Loops": 1}, {"Worker Number": 5, "Actual Startup Time": 0.1, "Actual Total Time": 161.907, "Actual Rows": 58048, "Actual Loops": 1}], "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": true, "Async Capable": false, "Relation Name": "part", "Schema": "public", "Alias": "part", "Startup Cost": 0.0, "Total Cost": 47211.0, "Plan Rows": 23046, "Plan Width": 4, "Actual Startup Time": 0.024, "Actual Total Time": 77.17, "Actual Rows": 15506, "Actual Loops": 7, "Output": ["part.p_partkey", "part.p_name", "part.p_mfgr", "part.p_brand", "part.p_type", "part.p_size", "part.p_container", "part.p_retailprice", "part.p_comment"], "Filter": "((part.p_name)::text ~~ '%forest%'::text)", "Rows Removed by Filter": 270208, "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.023, "Actual Total Time": 73.83, "Actual Rows": 14602, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 0.033, "Actual Total Time": 72.629, "Actual Rows": 14457, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 0.027, "Actual Total Time": 71.887, "Actual Rows": 14451, "Actual Loops": 1}, {"Worker Number": 3, "Actual Startup Time": 0.028, "Actual Total Time": 73.448, "Actual Rows": 14628, "Actual Loops": 1}, {"Worker Number": 4, "Actual Startup Time": 0.028, "Actual Total Time": 73.65, "Actual Rows": 14706, "Actual Loops": 1}, {"Worker Number": 5, "Actual Startup Time": 0.021, "Actual Total Time": 73.836, "Actual Rows": 14512, "Actual Loops": 1}]}, {"Node Type": "Index Scan", "Parent Relationship": "Inner", "Parallel Aware": false, "Async Capable": false, "Scan Direction": "Forward", "Index Name": "ps_pk", "Relation Name": "partsupp", "Schema": "public", "Alias": "partsupp", "Startup Cost": 0.43, "Total Cost": 1.52, "Plan Rows": 4, "Plan Width": 14, "Actual Startup Time": 0.004, "Actual Total Time": 0.005, "Actual Rows": 4, "Actual Loops": 108543, "Output": ["partsupp.ps_partkey", "partsupp.ps_suppkey", "partsupp.ps_availqty", "partsupp.ps_supplycost", "partsupp.ps_comment"], "Index Cond": "(partsupp.ps_partkey = part.p_partkey)", "Rows Removed by Index Recheck": 0, "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.004, "Actual Total Time": 0.005, "Actual Rows": 4, "Actual Loops": 14602}, {"Worker Number": 1, "Actual Startup Time": 0.004, "Actual Total Time": 0.005, "Actual Rows": 4, "Actual Loops": 14457}, {"Worker Number": 2, "Actual Startup Time": 0.004, "Actual Total Time": 0.005, "Actual Rows": 4, "Actual Loops": 14451}, {"Worker Number": 3, "Actual Startup Time": 0.004, "Actual Total Time": 0.005, "Actual Rows": 4, "Actual Loops": 14628}, {"Worker Number": 4, "Actual Startup Time": 0.004, "Actual Total Time": 0.005, "Actual Rows": 4, "Actual Loops": 14706}, {"Worker Number": 5, "Actual Startup Time": 0.004, "Actual Total Time": 0.005, "Actual Rows": 4, "Actual Loops": 14512}]}]}, {"Node Type": "Hash", "Parent Relationship": "Inner", "Parallel Aware": true, "Async Capable": false, "Startup Cost": 2807.24, "Total Cost": 2807.24, "Plan Rows": 58824, "Plan Width": 8, "Actual Startup Time": 10.595, "Actual Total Time": 10.596, "Actual Rows": 14286, "Actual Loops": 7, "Output": ["supplier.s_suppkey", "supplier.s_nationkey"], "Hash Buckets": 131072, "Original Hash Buckets": 131072, "Hash Batches": 1, "Original Hash Batches": 1, "Peak Memory Usage": 5056, "Workers": [{"Worker Number": 0, "Actual Startup Time": 10.736, "Actual Total Time": 10.737, "Actual Rows": 13406, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 10.744, "Actual Total Time": 10.746, "Actual Rows": 13749, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 10.74, "Actual Total Time": 10.741, "Actual Rows": 13119, "Actual Loops": 1}, {"Worker Number": 3, "Actual Startup Time": 10.737, "Actual Total Time": 10.737, "Actual Rows": 13615, "Actual Loops": 1}, {"Worker Number": 4, "Actual Startup Time": 10.728, "Actual Total Time": 10.729, "Actual Rows": 14313, "Actual Loops": 1}, {"Worker Number": 5, "Actual Startup Time": 10.771, "Actual Total Time": 10.772, "Actual Rows": 14053, "Actual Loops": 1}], "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": true, "Async Capable": false, "Relation Name": "supplier", "Schema": "public", "Alias": "supplier", "Startup Cost": 0.0, "Total Cost": 2807.24, "Plan Rows": 58824, "Plan Width": 8, "Actual Startup Time": 0.016, "Actual Total Time": 4.499, "Actual Rows": 14286, "Actual Loops": 7, "Output": ["supplier.s_suppkey", "supplier.s_nationkey"], "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.021, "Actual Total Time": 4.587, "Actual Rows": 13406, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 0.016, "Actual Total Time": 4.666, "Actual Rows": 13749, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 0.016, "Actual Total Time": 4.531, "Actual Rows": 13119, "Actual Loops": 1}, {"Worker Number": 3, "Actual Startup Time": 0.017, "Actual Total Time": 4.62, "Actual Rows": 13615, "Actual Loops": 1}, {"Worker Number": 4, "Actual Startup Time": 0.018, "Actual Total Time": 4.731, "Actual Rows": 14313, "Actual Loops": 1}, {"Worker Number": 5, "Actual Startup Time": 0.016, "Actual Total Time": 4.711, "Actual Rows": 14053, "Actual Loops": 1}]}]}]}, {"Node Type": "Hash", "Parent Relationship": "Inner", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 1.25, "Total Cost": 1.25, "Plan Rows": 25, "Plan Width": 30, "Actual Startup Time": 0.054, "Actual Total Time": 0.055, "Actual Rows": 25, "Actual Loops": 7, "Output": ["nation.n_name", "nation.n_nationkey"], "Hash Buckets": 1024, "Original Hash Buckets": 1024, "Hash Batches": 1, "Original Hash Batches": 1, "Peak Memory Usage": 10, "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.058, "Actual Total Time": 0.059, "Actual Rows": 25, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 0.056, "Actual Total Time": 0.058, "Actual Rows": 25, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 0.055, "Actual Total Time": 0.056, "Actual Rows": 25, "Actual Loops": 1}, {"Worker Number": 3, "Actual Startup Time": 0.054, "Actual Total Time": 0.055, "Actual Rows": 25, "Actual Loops": 1}, {"Worker Number": 4, "Actual Startup Time": 0.061, "Actual Total Time": 0.062, "Actual Rows": 25, "Actual Loops": 1}, {"Worker Number": 5, "Actual Startup Time": 0.066, "Actual Total Time": 0.067, "Actual Rows": 25, "Actual Loops": 1}], "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Relation Name": "nation", "Schema": "public", "Alias": "nation", "Startup Cost": 0.0, "Total Cost": 1.25, "Plan Rows": 25, "Plan Width": 30, "Actual Startup Time": 0.039, "Actual Total Time": 0.043, "Actual Rows": 25, "Actual Loops": 7, "Output": ["nation.n_name", "nation.n_nationkey"], "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.044, "Actual Total Time": 0.048, "Actual Rows": 25, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 0.041, "Actual Total Time": 0.045, "Actual Rows": 25, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 0.04, "Actual Total Time": 0.044, "Actual Rows": 25, "Actual Loops": 1}, {"Worker Number": 3, "Actual Startup Time": 0.039, "Actual Total Time": 0.044, "Actual Rows": 25, "Actual Loops": 1}, {"Worker Number": 4, "Actual Startup Time": 0.046, "Actual Total Time": 0.05, "Actual Rows": 25, "Actual Loops": 1}, {"Worker Number": 5, "Actual Startup Time": 0.049, "Actual Total Time": 0.053, "Actual Rows": 25, "Actual Loops": 1}]}]}]}, {"Node Type": "Index Scan", "Parent Relationship": "Inner", "Parallel Aware": false, "Async Capable": false, "Scan Direction": "Forward", "Index Name": "l_pk_sk", "Relation Name": "lineitem", "Schema": "public", "Alias": "lineitem", "Startup Cost": 0.44, "Total Cost": 0.62, "Plan Rows": 1, "Plan Width": 29, "Actual Startup Time": 0.004, "Actual Total Time": 0.017, "Actual Rows": 7, "Actual Loops": 434172, "Output": ["lineitem.l_orderkey", "lineitem.l_partkey", "lineitem.l_suppkey", "lineitem.l_linenumber", "lineitem.l_quantity", "lineitem.l_extendedprice", "lineitem.l_discount", "lineitem.l_tax", "lineitem.l_returnflag", "lineitem.l_linestatus", "lineitem.l_shipdate", "lineitem.l_commitdate", "lineitem.l_receiptdate", "lineitem.l_shipinstruct", "lineitem.l_shipmode", "lineitem.l_comment"], "Index Cond": "((lineitem.l_partkey = partsupp.ps_partkey) AND (lineitem.l_suppkey = partsupp.ps_suppkey))", "Rows Removed by Index Recheck": 0, "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.005, "Actual Total Time": 0.018, "Actual Rows": 7, "Actual Loops": 58408}, {"Worker Number": 1, "Actual Startup Time": 0.005, "Actual Total Time": 0.018, "Actual Rows": 7, "Actual Loops": 57828}, {"Worker Number": 2, "Actual Startup Time": 0.005, "Actual Total Time": 0.018, "Actual Rows": 8, "Actual Loops": 57804}, {"Worker Number": 3, "Actual Startup Time": 0.005, "Actual Total Time": 0.018, "Actual Rows": 8, "Actual Loops": 58512}, {"Worker Number": 4, "Actual Startup Time": 0.005, "Actual Total Time": 0.018, "Actual Rows": 7, "Actual Loops": 58824}, {"Worker Number": 5, "Actual Startup Time": 0.005, "Actual Total Time": 0.018, "Actual Rows": 8, "Actual Loops": 58048}]}]}]}]}]}]}]}]}, "Planning Time": 4.237, "Triggers": [], "Execution Time": 4657.362} diff --git a/dev9/pg9/tpch/sf_1/explain/15721/1-1.ok b/dev9/pg9/tpch/sf_1/explain/15721/1-1.ok new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/dev9/pg9/tpch/sf_1/explain/15721/1-1.res b/dev9/pg9/tpch/sf_1/explain/15721/1-1.res new file mode 100644 index 0000000000000000000000000000000000000000..469324ffc89c489b370927945a6d07ebcf7f8978 --- /dev/null +++ b/dev9/pg9/tpch/sf_1/explain/15721/1-1.res @@ -0,0 +1 @@ +{"Plan": {"Node Type": "Aggregate", "Strategy": "Sorted", "Partial Mode": "Finalize", "Parallel Aware": false, "Startup Cost": 175391.22, "Total Cost": 175392.73, "Plan Rows": 6, "Plan Width": 236, "Output": ["l_returnflag", "l_linestatus", "sum(l_quantity)", "sum(l_extendedprice)", "sum((l_extendedprice * ('1'::numeric - l_discount)))", "sum(((l_extendedprice * ('1'::numeric - l_discount)) * ('1'::numeric + l_tax)))", "avg(l_quantity)", "avg(l_extendedprice)", "avg(l_discount)", "count(*)"], "Group Key": ["lineitem.l_returnflag", "lineitem.l_linestatus"], "Plans": [{"Node Type": "Sort", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 175391.22, "Total Cost": 175391.29, "Plan Rows": 30, "Plan Width": 236, "Output": ["l_returnflag", "l_linestatus", "(PARTIAL sum(l_quantity))", "(PARTIAL sum(l_extendedprice))", "(PARTIAL sum((l_extendedprice * ('1'::numeric - l_discount))))", "(PARTIAL sum(((l_extendedprice * ('1'::numeric - l_discount)) * ('1'::numeric + l_tax))))", "(PARTIAL avg(l_quantity))", "(PARTIAL avg(l_extendedprice))", "(PARTIAL avg(l_discount))", "(PARTIAL count(*))"], "Sort Key": ["lineitem.l_returnflag", "lineitem.l_linestatus"], "Plans": [{"Node Type": "Gather", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 175387.32, "Total Cost": 175390.48, "Plan Rows": 30, "Plan Width": 236, "Output": ["l_returnflag", "l_linestatus", "(PARTIAL sum(l_quantity))", "(PARTIAL sum(l_extendedprice))", "(PARTIAL sum((l_extendedprice * ('1'::numeric - l_discount))))", "(PARTIAL sum(((l_extendedprice * ('1'::numeric - l_discount)) * ('1'::numeric + l_tax))))", "(PARTIAL avg(l_quantity))", "(PARTIAL avg(l_extendedprice))", "(PARTIAL avg(l_discount))", "(PARTIAL count(*))"], "Workers Planned": 5, "Single Copy": false, "Plans": [{"Node Type": "Aggregate", "Strategy": "Hashed", "Partial Mode": "Partial", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 174387.32, "Total Cost": 174387.48, "Plan Rows": 6, "Plan Width": 236, "Output": ["l_returnflag", "l_linestatus", "PARTIAL sum(l_quantity)", "PARTIAL sum(l_extendedprice)", "PARTIAL sum((l_extendedprice * ('1'::numeric - l_discount)))", "PARTIAL sum(((l_extendedprice * ('1'::numeric - l_discount)) * ('1'::numeric + l_tax)))", "PARTIAL avg(l_quantity)", "PARTIAL avg(l_extendedprice)", "PARTIAL avg(l_discount)", "PARTIAL count(*)"], "Group Key": ["lineitem.l_returnflag", "lineitem.l_linestatus"], "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": true, "Relation Name": "lineitem", "Schema": "public", "Alias": "lineitem", "Startup Cost": 0.0, "Total Cost": 127506.04, "Plan Rows": 1172032, "Plan Width": 25, "Output": ["l_returnflag", "l_linestatus", "l_quantity", "l_extendedprice", "l_discount", "l_tax"], "Filter": "(lineitem.l_shipdate <= '1998-08-07 23:59:57'::timestamp without time zone)"}]}]}]}]}} diff --git a/dev9/pg9/tpch/sf_1/explain/15721/10-1.ok b/dev9/pg9/tpch/sf_1/explain/15721/10-1.ok new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/dev9/pg9/tpch/sf_1/explain/15721/10-1.res b/dev9/pg9/tpch/sf_1/explain/15721/10-1.res new file mode 100644 index 0000000000000000000000000000000000000000..e3089582739db938f3e388ecfef663f7f08dc3ce --- /dev/null +++ b/dev9/pg9/tpch/sf_1/explain/15721/10-1.res @@ -0,0 +1 @@ +{"Plan": {"Node Type": "Limit", "Parallel Aware": false, "Startup Cost": 82958.93, "Total Cost": 82958.98, "Plan Rows": 20, "Plan Width": 202, "Output": ["customer.c_custkey", "customer.c_name", "(sum((lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount))))", "customer.c_acctbal", "nation.n_name", "customer.c_address", "customer.c_phone", "customer.c_comment"], "Plans": [{"Node Type": "Sort", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 82958.93, "Total Cost": 83093.71, "Plan Rows": 53913, "Plan Width": 202, "Output": ["customer.c_custkey", "customer.c_name", "(sum((lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount))))", "customer.c_acctbal", "nation.n_name", "customer.c_address", "customer.c_phone", "customer.c_comment"], "Sort Key": ["(sum((lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount)))) DESC"], "Plans": [{"Node Type": "Aggregate", "Strategy": "Hashed", "Partial Mode": "Simple", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 80850.41, "Total Cost": 81524.32, "Plan Rows": 53913, "Plan Width": 202, "Output": ["customer.c_custkey", "customer.c_name", "sum((lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount)))", "customer.c_acctbal", "nation.n_name", "customer.c_address", "customer.c_phone", "customer.c_comment"], "Group Key": ["customer.c_custkey", "nation.n_name"], "Plans": [{"Node Type": "Gather", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 1002.41, "Total Cost": 80176.5, "Plan Rows": 53913, "Plan Width": 182, "Output": ["customer.c_custkey", "nation.n_name", "customer.c_name", "lineitem.l_extendedprice", "lineitem.l_discount", "customer.c_acctbal", "customer.c_address", "customer.c_phone", "customer.c_comment"], "Workers Planned": 3, "Single Copy": false, "Plans": [{"Node Type": "Hash Join", "Parent Relationship": "Outer", "Parallel Aware": false, "Join Type": "Inner", "Startup Cost": 2.42, "Total Cost": 73785.2, "Plan Rows": 17391, "Plan Width": 182, "Output": ["customer.c_custkey", "nation.n_name", "customer.c_name", "lineitem.l_extendedprice", "lineitem.l_discount", "customer.c_acctbal", "customer.c_address", "customer.c_phone", "customer.c_comment"], "Hash Cond": "(customer.c_nationkey = nation.n_nationkey)", "Plans": [{"Node Type": "Nested Loop", "Parent Relationship": "Outer", "Parallel Aware": false, "Join Type": "Inner", "Startup Cost": 0.85, "Total Cost": 73544.51, "Plan Rows": 17391, "Plan Width": 160, "Output": ["customer.c_custkey", "customer.c_name", "customer.c_acctbal", "customer.c_address", "customer.c_phone", "customer.c_comment", "customer.c_nationkey", "lineitem.l_extendedprice", "lineitem.l_discount"], "Plans": [{"Node Type": "Nested Loop", "Parent Relationship": "Outer", "Parallel Aware": false, "Join Type": "Inner", "Startup Cost": 0.43, "Total Cost": 64362.45, "Plan Rows": 17391, "Plan Width": 16, "Output": ["orders.o_custkey", "lineitem.l_extendedprice", "lineitem.l_discount"], "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": true, "Relation Name": "orders", "Schema": "public", "Alias": "orders", "Startup Cost": 0.0, "Total Cost": 33353.06, "Plan Rows": 17632, "Plan Width": 8, "Output": ["orders.o_orderkey", "orders.o_custkey", "orders.o_orderstatus", "orders.o_totalprice", "orders.o_orderdate", "orders.o_orderpriority", "orders.o_clerk", "orders.o_shippriority", "orders.o_comment"], "Filter": "((orders.o_orderdate >= '1993-02-01'::date) AND (orders.o_orderdate < '1993-05-01 00:00:00'::timestamp without time zone))"}, {"Node Type": "Index Scan", "Parent Relationship": "Inner", "Parallel Aware": false, "Scan Direction": "Forward", "Index Name": "l_ok", "Relation Name": "lineitem", "Schema": "public", "Alias": "lineitem", "Startup Cost": 0.43, "Total Cost": 1.75, "Plan Rows": 1, "Plan Width": 16, "Output": ["lineitem.l_orderkey", "lineitem.l_partkey", "lineitem.l_suppkey", "lineitem.l_linenumber", "lineitem.l_quantity", "lineitem.l_extendedprice", "lineitem.l_discount", "lineitem.l_tax", "lineitem.l_returnflag", "lineitem.l_linestatus", "lineitem.l_shipdate", "lineitem.l_commitdate", "lineitem.l_receiptdate", "lineitem.l_shipinstruct", "lineitem.l_shipmode", "lineitem.l_comment"], "Index Cond": "(lineitem.l_orderkey = orders.o_orderkey)", "Filter": "(lineitem.l_returnflag = 'R'::bpchar)"}]}, {"Node Type": "Index Scan", "Parent Relationship": "Inner", "Parallel Aware": false, "Scan Direction": "Forward", "Index Name": "c_ck", "Relation Name": "customer", "Schema": "public", "Alias": "customer", "Startup Cost": 0.42, "Total Cost": 0.52, "Plan Rows": 1, "Plan Width": 148, "Output": ["customer.c_custkey", "customer.c_name", "customer.c_address", "customer.c_nationkey", "customer.c_phone", "customer.c_acctbal", "customer.c_mktsegment", "customer.c_comment"], "Index Cond": "(customer.c_custkey = orders.o_custkey)"}]}, {"Node Type": "Hash", "Parent Relationship": "Inner", "Parallel Aware": false, "Startup Cost": 1.25, "Total Cost": 1.25, "Plan Rows": 25, "Plan Width": 30, "Output": ["nation.n_name", "nation.n_nationkey"], "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Relation Name": "nation", "Schema": "public", "Alias": "nation", "Startup Cost": 0.0, "Total Cost": 1.25, "Plan Rows": 25, "Plan Width": 30, "Output": ["nation.n_name", "nation.n_nationkey"]}]}]}]}]}]}]}} diff --git a/dev9/pg9/tpch/sf_1/explain/15721/11-1.ok b/dev9/pg9/tpch/sf_1/explain/15721/11-1.ok new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/dev9/pg9/tpch/sf_1/explain/15721/11-1.res b/dev9/pg9/tpch/sf_1/explain/15721/11-1.res new file mode 100644 index 0000000000000000000000000000000000000000..54666ad648ea8b8dbfa6fd0729dbbd51e2689786 --- /dev/null +++ b/dev9/pg9/tpch/sf_1/explain/15721/11-1.res @@ -0,0 +1 @@ +{"Plan": {"Node Type": "Sort", "Parallel Aware": false, "Startup Cost": 7958.31, "Total Cost": 8038.31, "Plan Rows": 32000, "Plan Width": 36, "Output": ["partsupp.ps_partkey", "(sum((partsupp.ps_supplycost * (partsupp.ps_availqty)::numeric)))"], "Sort Key": ["(sum((partsupp.ps_supplycost * (partsupp.ps_availqty)::numeric))) DESC"], "Plans": [{"Node Type": "Aggregate", "Strategy": "Plain", "Partial Mode": "Simple", "Parent Relationship": "InitPlan", "Subplan Name": "InitPlan 1 (returns $2)", "Parallel Aware": false, "Startup Cost": 2381.88, "Total Cost": 2381.9, "Plan Rows": 1, "Plan Width": 32, "Output": ["(sum((partsupp_1.ps_supplycost * (partsupp_1.ps_availqty)::numeric)) * 0.0001000000)"], "Plans": [{"Node Type": "Nested Loop", "Parent Relationship": "Outer", "Parallel Aware": false, "Join Type": "Inner", "Startup Cost": 6.01, "Total Cost": 2141.88, "Plan Rows": 32000, "Plan Width": 10, "Output": ["partsupp_1.ps_supplycost", "partsupp_1.ps_availqty"], "Plans": [{"Node Type": "Nested Loop", "Parent Relationship": "Outer", "Parallel Aware": false, "Join Type": "Inner", "Startup Cost": 5.58, "Total Cost": 227.43, "Plan Rows": 400, "Plan Width": 4, "Output": ["supplier_1.s_suppkey"], "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Relation Name": "nation", "Schema": "public", "Alias": "nation_1", "Startup Cost": 0.0, "Total Cost": 1.31, "Plan Rows": 1, "Plan Width": 4, "Output": ["nation_1.n_nationkey", "nation_1.n_name", "nation_1.n_regionkey", "nation_1.n_comment"], "Filter": "(nation_1.n_name = 'CHINA'::bpchar)"}, {"Node Type": "Bitmap Heap Scan", "Parent Relationship": "Inner", "Parallel Aware": false, "Relation Name": "supplier", "Schema": "public", "Alias": "supplier_1", "Startup Cost": 5.58, "Total Cost": 222.11, "Plan Rows": 400, "Plan Width": 8, "Output": ["supplier_1.s_suppkey", "supplier_1.s_name", "supplier_1.s_address", "supplier_1.s_nationkey", "supplier_1.s_phone", "supplier_1.s_acctbal", "supplier_1.s_comment"], "Recheck Cond": "(supplier_1.s_nationkey = nation_1.n_nationkey)", "Plans": [{"Node Type": "Bitmap Index Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Index Name": "s_nk", "Startup Cost": 0.0, "Total Cost": 5.49, "Plan Rows": 400, "Plan Width": 0, "Index Cond": "(supplier_1.s_nationkey = nation_1.n_nationkey)"}]}]}, {"Node Type": "Index Scan", "Parent Relationship": "Inner", "Parallel Aware": false, "Scan Direction": "Forward", "Index Name": "ps_sk", "Relation Name": "partsupp", "Schema": "public", "Alias": "partsupp_1", "Startup Cost": 0.42, "Total Cost": 3.99, "Plan Rows": 80, "Plan Width": 14, "Output": ["partsupp_1.ps_partkey", "partsupp_1.ps_suppkey", "partsupp_1.ps_availqty", "partsupp_1.ps_supplycost", "partsupp_1.ps_comment"], "Index Cond": "(partsupp_1.ps_suppkey = supplier_1.s_suppkey)"}]}]}, {"Node Type": "Aggregate", "Strategy": "Hashed", "Partial Mode": "Simple", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 2701.88, "Total Cost": 3181.88, "Plan Rows": 32000, "Plan Width": 36, "Output": ["partsupp.ps_partkey", "sum((partsupp.ps_supplycost * (partsupp.ps_availqty)::numeric))"], "Group Key": ["partsupp.ps_partkey"], "Filter": "(sum((partsupp.ps_supplycost * (partsupp.ps_availqty)::numeric)) > $2)", "Plans": [{"Node Type": "Nested Loop", "Parent Relationship": "Outer", "Parallel Aware": false, "Join Type": "Inner", "Startup Cost": 6.01, "Total Cost": 2141.88, "Plan Rows": 32000, "Plan Width": 14, "Output": ["partsupp.ps_partkey", "partsupp.ps_supplycost", "partsupp.ps_availqty"], "Plans": [{"Node Type": "Nested Loop", "Parent Relationship": "Outer", "Parallel Aware": false, "Join Type": "Inner", "Startup Cost": 5.58, "Total Cost": 227.43, "Plan Rows": 400, "Plan Width": 4, "Output": ["supplier.s_suppkey"], "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Relation Name": "nation", "Schema": "public", "Alias": "nation", "Startup Cost": 0.0, "Total Cost": 1.31, "Plan Rows": 1, "Plan Width": 4, "Output": ["nation.n_nationkey", "nation.n_name", "nation.n_regionkey", "nation.n_comment"], "Filter": "(nation.n_name = 'CHINA'::bpchar)"}, {"Node Type": "Bitmap Heap Scan", "Parent Relationship": "Inner", "Parallel Aware": false, "Relation Name": "supplier", "Schema": "public", "Alias": "supplier", "Startup Cost": 5.58, "Total Cost": 222.11, "Plan Rows": 400, "Plan Width": 8, "Output": ["supplier.s_suppkey", "supplier.s_name", "supplier.s_address", "supplier.s_nationkey", "supplier.s_phone", "supplier.s_acctbal", "supplier.s_comment"], "Recheck Cond": "(supplier.s_nationkey = nation.n_nationkey)", "Plans": [{"Node Type": "Bitmap Index Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Index Name": "s_nk", "Startup Cost": 0.0, "Total Cost": 5.49, "Plan Rows": 400, "Plan Width": 0, "Index Cond": "(supplier.s_nationkey = nation.n_nationkey)"}]}]}, {"Node Type": "Index Scan", "Parent Relationship": "Inner", "Parallel Aware": false, "Scan Direction": "Forward", "Index Name": "ps_sk", "Relation Name": "partsupp", "Schema": "public", "Alias": "partsupp", "Startup Cost": 0.42, "Total Cost": 3.99, "Plan Rows": 80, "Plan Width": 18, "Output": ["partsupp.ps_partkey", "partsupp.ps_suppkey", "partsupp.ps_availqty", "partsupp.ps_supplycost", "partsupp.ps_comment"], "Index Cond": "(partsupp.ps_suppkey = supplier.s_suppkey)"}]}]}]}} diff --git a/dev9/pg9/tpch/sf_1/explain/15721/12-1.ok b/dev9/pg9/tpch/sf_1/explain/15721/12-1.ok new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/dev9/pg9/tpch/sf_1/explain/15721/12-1.res b/dev9/pg9/tpch/sf_1/explain/15721/12-1.res new file mode 100644 index 0000000000000000000000000000000000000000..c16169e9347a2916cf99d17944e55870c5e0d590 --- /dev/null +++ b/dev9/pg9/tpch/sf_1/explain/15721/12-1.res @@ -0,0 +1 @@ +{"Plan": {"Node Type": "Aggregate", "Strategy": "Sorted", "Partial Mode": "Finalize", "Parallel Aware": false, "Startup Cost": 148648.25, "Total Cost": 148648.67, "Plan Rows": 7, "Plan Width": 27, "Output": ["lineitem.l_shipmode", "sum(CASE WHEN ((orders.o_orderpriority = '1-URGENT'::bpchar) OR (orders.o_orderpriority = '2-HIGH'::bpchar)) THEN 1 ELSE 0 END)", "sum(CASE WHEN ((orders.o_orderpriority <> '1-URGENT'::bpchar) AND (orders.o_orderpriority <> '2-HIGH'::bpchar)) THEN 1 ELSE 0 END)"], "Group Key": ["lineitem.l_shipmode"], "Plans": [{"Node Type": "Sort", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 148648.25, "Total Cost": 148648.34, "Plan Rows": 35, "Plan Width": 27, "Output": ["lineitem.l_shipmode", "(PARTIAL sum(CASE WHEN ((orders.o_orderpriority = '1-URGENT'::bpchar) OR (orders.o_orderpriority = '2-HIGH'::bpchar)) THEN 1 ELSE 0 END))", "(PARTIAL sum(CASE WHEN ((orders.o_orderpriority <> '1-URGENT'::bpchar) AND (orders.o_orderpriority <> '2-HIGH'::bpchar)) THEN 1 ELSE 0 END))"], "Sort Key": ["lineitem.l_shipmode"], "Plans": [{"Node Type": "Gather", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 148527.57, "Total Cost": 148647.36, "Plan Rows": 35, "Plan Width": 27, "Output": ["lineitem.l_shipmode", "(PARTIAL sum(CASE WHEN ((orders.o_orderpriority = '1-URGENT'::bpchar) OR (orders.o_orderpriority = '2-HIGH'::bpchar)) THEN 1 ELSE 0 END))", "(PARTIAL sum(CASE WHEN ((orders.o_orderpriority <> '1-URGENT'::bpchar) AND (orders.o_orderpriority <> '2-HIGH'::bpchar)) THEN 1 ELSE 0 END))"], "Workers Planned": 5, "Single Copy": false, "Plans": [{"Node Type": "Aggregate", "Strategy": "Sorted", "Partial Mode": "Partial", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 147527.57, "Total Cost": 147643.86, "Plan Rows": 7, "Plan Width": 27, "Output": ["lineitem.l_shipmode", "PARTIAL sum(CASE WHEN ((orders.o_orderpriority = '1-URGENT'::bpchar) OR (orders.o_orderpriority = '2-HIGH'::bpchar)) THEN 1 ELSE 0 END)", "PARTIAL sum(CASE WHEN ((orders.o_orderpriority <> '1-URGENT'::bpchar) AND (orders.o_orderpriority <> '2-HIGH'::bpchar)) THEN 1 ELSE 0 END)"], "Group Key": ["lineitem.l_shipmode"], "Plans": [{"Node Type": "Sort", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 147527.57, "Total Cost": 147542.09, "Plan Rows": 5811, "Plan Width": 27, "Output": ["lineitem.l_shipmode", "orders.o_orderpriority"], "Sort Key": ["lineitem.l_shipmode"], "Plans": [{"Node Type": "Nested Loop", "Parent Relationship": "Outer", "Parallel Aware": false, "Join Type": "Inner", "Startup Cost": 0.43, "Total Cost": 147164.24, "Plan Rows": 5811, "Plan Width": 27, "Output": ["lineitem.l_shipmode", "orders.o_orderpriority"], "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": true, "Relation Name": "lineitem", "Schema": "public", "Alias": "lineitem", "Startup Cost": 0.0, "Total Cost": 139508.47, "Plan Rows": 5811, "Plan Width": 15, "Output": ["lineitem.l_orderkey", "lineitem.l_partkey", "lineitem.l_suppkey", "lineitem.l_linenumber", "lineitem.l_quantity", "lineitem.l_extendedprice", "lineitem.l_discount", "lineitem.l_tax", "lineitem.l_returnflag", "lineitem.l_linestatus", "lineitem.l_shipdate", "lineitem.l_commitdate", "lineitem.l_receiptdate", "lineitem.l_shipinstruct", "lineitem.l_shipmode", "lineitem.l_comment"], "Filter": "((lineitem.l_shipmode = ANY ('{MAIL,TRUCK}'::bpchar[])) AND (lineitem.l_commitdate < lineitem.l_receiptdate) AND (lineitem.l_shipdate < lineitem.l_commitdate) AND (lineitem.l_receiptdate >= '1995-01-01'::date) AND (lineitem.l_receiptdate < '1996-01-01 00:00:00'::timestamp without time zone))"}, {"Node Type": "Index Scan", "Parent Relationship": "Inner", "Parallel Aware": false, "Scan Direction": "Forward", "Index Name": "o_ok", "Relation Name": "orders", "Schema": "public", "Alias": "orders", "Startup Cost": 0.43, "Total Cost": 1.31, "Plan Rows": 1, "Plan Width": 20, "Output": ["orders.o_orderkey", "orders.o_custkey", "orders.o_orderstatus", "orders.o_totalprice", "orders.o_orderdate", "orders.o_orderpriority", "orders.o_clerk", "orders.o_shippriority", "orders.o_comment"], "Index Cond": "(orders.o_orderkey = lineitem.l_orderkey)"}]}]}]}]}]}]}} diff --git a/dev9/pg9/tpch/sf_1/explain/15721/13-1.ok b/dev9/pg9/tpch/sf_1/explain/15721/13-1.ok new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/dev9/pg9/tpch/sf_1/explain/15721/13-1.res b/dev9/pg9/tpch/sf_1/explain/15721/13-1.res new file mode 100644 index 0000000000000000000000000000000000000000..f0e7617ddcb4ad976a904664db26156f0a8e8428 --- /dev/null +++ b/dev9/pg9/tpch/sf_1/explain/15721/13-1.res @@ -0,0 +1 @@ +{"Plan": {"Node Type": "Sort", "Parallel Aware": false, "Startup Cost": 81029.1, "Total Cost": 81029.6, "Plan Rows": 200, "Plan Width": 16, "Output": ["(count(orders.o_orderkey))", "(count(*))"], "Sort Key": ["(count(*)) DESC", "(count(orders.o_orderkey)) DESC"], "Plans": [{"Node Type": "Aggregate", "Strategy": "Hashed", "Partial Mode": "Simple", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 81019.46, "Total Cost": 81021.46, "Plan Rows": 200, "Plan Width": 16, "Output": ["(count(orders.o_orderkey))", "count(*)"], "Group Key": ["count(orders.o_orderkey)"], "Plans": [{"Node Type": "Aggregate", "Strategy": "Hashed", "Partial Mode": "Simple", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 77269.46, "Total Cost": 78769.46, "Plan Rows": 150000, "Plan Width": 12, "Output": ["customer.c_custkey", "count(orders.o_orderkey)"], "Group Key": ["customer.c_custkey"], "Plans": [{"Node Type": "Hash Join", "Parent Relationship": "Outer", "Parallel Aware": false, "Join Type": "Right", "Startup Cost": 4580.82, "Total Cost": 69844.49, "Plan Rows": 1484994, "Plan Width": 8, "Output": ["customer.c_custkey", "orders.o_orderkey"], "Hash Cond": "(orders.o_custkey = customer.c_custkey)", "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Relation Name": "orders", "Schema": "public", "Alias": "orders", "Startup Cost": 0.0, "Total Cost": 44845.0, "Plan Rows": 1484994, "Plan Width": 8, "Output": ["orders.o_orderkey", "orders.o_custkey", "orders.o_orderstatus", "orders.o_totalprice", "orders.o_orderdate", "orders.o_orderpriority", "orders.o_clerk", "orders.o_shippriority", "orders.o_comment"], "Filter": "((orders.o_comment)::text !~~ '%unusual%requests%'::text)"}, {"Node Type": "Hash", "Parent Relationship": "Inner", "Parallel Aware": false, "Startup Cost": 2705.82, "Total Cost": 2705.82, "Plan Rows": 150000, "Plan Width": 4, "Output": ["customer.c_custkey"], "Plans": [{"Node Type": "Index Only Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Scan Direction": "Forward", "Index Name": "c_ck", "Relation Name": "customer", "Schema": "public", "Alias": "customer", "Startup Cost": 0.42, "Total Cost": 2705.82, "Plan Rows": 150000, "Plan Width": 4, "Output": ["customer.c_custkey"]}]}]}]}]}]}} diff --git a/dev9/pg9/tpch/sf_1/explain/15721/14-1.ok b/dev9/pg9/tpch/sf_1/explain/15721/14-1.ok new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/dev9/pg9/tpch/sf_1/explain/15721/14-1.res b/dev9/pg9/tpch/sf_1/explain/15721/14-1.res new file mode 100644 index 0000000000000000000000000000000000000000..b96f6ddd9b9bc64edb0275fe83447e776561a337 --- /dev/null +++ b/dev9/pg9/tpch/sf_1/explain/15721/14-1.res @@ -0,0 +1 @@ +{"Plan": {"Node Type": "Aggregate", "Strategy": "Plain", "Partial Mode": "Simple", "Parallel Aware": false, "Startup Cost": 73419.89, "Total Cost": 73419.9, "Plan Rows": 1, "Plan Width": 32, "Output": ["((100.00 * sum(CASE WHEN ((part.p_type)::text ~~ 'PROMO%'::text) THEN (lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount)) ELSE '0'::numeric END)) / sum((lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount))))"], "Plans": [{"Node Type": "Hash Join", "Parent Relationship": "Outer", "Parallel Aware": false, "Join Type": "Inner", "Startup Cost": 9646.17, "Total Cost": 72036.89, "Plan Rows": 79028, "Plan Width": 33, "Output": ["part.p_type", "lineitem.l_extendedprice", "lineitem.l_discount"], "Hash Cond": "(lineitem.l_partkey = part.p_partkey)", "Plans": [{"Node Type": "Bitmap Heap Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Relation Name": "lineitem", "Schema": "public", "Alias": "lineitem", "Startup Cost": 1049.17, "Total Cost": 62353.26, "Plan Rows": 79028, "Plan Width": 16, "Output": ["lineitem.l_orderkey", "lineitem.l_partkey", "lineitem.l_suppkey", "lineitem.l_linenumber", "lineitem.l_quantity", "lineitem.l_extendedprice", "lineitem.l_discount", "lineitem.l_tax", "lineitem.l_returnflag", "lineitem.l_linestatus", "lineitem.l_shipdate", "lineitem.l_commitdate", "lineitem.l_receiptdate", "lineitem.l_shipinstruct", "lineitem.l_shipmode", "lineitem.l_comment"], "Recheck Cond": "((lineitem.l_shipdate >= '1995-05-01'::date) AND (lineitem.l_shipdate < '1995-06-01 00:00:00'::timestamp without time zone))", "Plans": [{"Node Type": "Bitmap Index Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Index Name": "l_sd", "Startup Cost": 0.0, "Total Cost": 1029.41, "Plan Rows": 79028, "Plan Width": 0, "Index Cond": "((lineitem.l_shipdate >= '1995-05-01'::date) AND (lineitem.l_shipdate < '1995-06-01 00:00:00'::timestamp without time zone))"}]}, {"Node Type": "Hash", "Parent Relationship": "Inner", "Parallel Aware": false, "Startup Cost": 6097.0, "Total Cost": 6097.0, "Plan Rows": 200000, "Plan Width": 25, "Output": ["part.p_type", "part.p_partkey"], "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Relation Name": "part", "Schema": "public", "Alias": "part", "Startup Cost": 0.0, "Total Cost": 6097.0, "Plan Rows": 200000, "Plan Width": 25, "Output": ["part.p_type", "part.p_partkey"]}]}]}]}} diff --git a/dev9/pg9/tpch/sf_1/explain/15721/15-1.ok b/dev9/pg9/tpch/sf_1/explain/15721/15-1.ok new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/dev9/pg9/tpch/sf_1/explain/15721/15-1.res b/dev9/pg9/tpch/sf_1/explain/15721/15-1.res new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/dev9/pg9/tpch/sf_1/explain/15721/15-2.ok b/dev9/pg9/tpch/sf_1/explain/15721/15-2.ok new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/dev9/pg9/tpch/sf_1/explain/15721/15-2.res b/dev9/pg9/tpch/sf_1/explain/15721/15-2.res new file mode 100644 index 0000000000000000000000000000000000000000..574aacc1d84f06e969bdf4194fababce00a7f1a0 --- /dev/null +++ b/dev9/pg9/tpch/sf_1/explain/15721/15-2.res @@ -0,0 +1 @@ +{"Plan": {"Node Type": "Merge Join", "Parallel Aware": false, "Join Type": "Inner", "Startup Cost": 242635.47, "Total Cost": 243215.58, "Plan Rows": 10000, "Plan Width": 103, "Output": ["supplier.s_suppkey", "supplier.s_name", "supplier.s_address", "supplier.s_phone", "revenue0.total_revenue"], "Merge Cond": "(supplier.s_suppkey = revenue0.supplier_no)", "Plans": [{"Node Type": "Aggregate", "Strategy": "Plain", "Partial Mode": "Simple", "Parent Relationship": "InitPlan", "Subplan Name": "InitPlan 1 (returns $0)", "Parallel Aware": false, "Startup Cost": 120157.89, "Total Cost": 120157.9, "Plan Rows": 1, "Plan Width": 32, "Output": ["max((sum((lineitem_1.l_extendedprice * ('1'::numeric - lineitem_1.l_discount)))))"], "Plans": [{"Node Type": "Aggregate", "Strategy": "Hashed", "Partial Mode": "Simple", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 119907.89, "Total Cost": 120032.89, "Plan Rows": 10000, "Plan Width": 36, "Output": ["lineitem_1.l_suppkey", "sum((lineitem_1.l_extendedprice * ('1'::numeric - lineitem_1.l_discount)))"], "Group Key": ["lineitem_1.l_suppkey"], "Plans": [{"Node Type": "Bitmap Heap Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Relation Name": "lineitem", "Schema": "public", "Alias": "lineitem_1", "Startup Cost": 2928.87, "Total Cost": 117701.22, "Plan Rows": 220667, "Plan Width": 16, "Output": ["lineitem_1.l_orderkey", "lineitem_1.l_partkey", "lineitem_1.l_suppkey", "lineitem_1.l_linenumber", "lineitem_1.l_quantity", "lineitem_1.l_extendedprice", "lineitem_1.l_discount", "lineitem_1.l_tax", "lineitem_1.l_returnflag", "lineitem_1.l_linestatus", "lineitem_1.l_shipdate", "lineitem_1.l_commitdate", "lineitem_1.l_receiptdate", "lineitem_1.l_shipinstruct", "lineitem_1.l_shipmode", "lineitem_1.l_comment"], "Recheck Cond": "((lineitem_1.l_shipdate >= '1995-01-01'::date) AND (lineitem_1.l_shipdate < '1995-04-01 00:00:00'::timestamp without time zone))", "Plans": [{"Node Type": "Bitmap Index Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Index Name": "l_sd", "Startup Cost": 0.0, "Total Cost": 2873.7, "Plan Rows": 220667, "Plan Width": 0, "Index Cond": "((lineitem_1.l_shipdate >= '1995-01-01'::date) AND (lineitem_1.l_shipdate < '1995-04-01 00:00:00'::timestamp without time zone))"}]}]}]}, {"Node Type": "Index Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Scan Direction": "Forward", "Index Name": "s_sk", "Relation Name": "supplier", "Schema": "public", "Alias": "supplier", "Startup Cost": 0.29, "Total Cost": 405.39, "Plan Rows": 10000, "Plan Width": 71, "Output": ["supplier.s_suppkey", "supplier.s_name", "supplier.s_address", "supplier.s_nationkey", "supplier.s_phone", "supplier.s_acctbal", "supplier.s_comment"]}, {"Node Type": "Sort", "Parent Relationship": "Inner", "Parallel Aware": false, "Startup Cost": 122477.28, "Total Cost": 122502.28, "Plan Rows": 10000, "Plan Width": 36, "Output": ["revenue0.total_revenue", "revenue0.supplier_no"], "Sort Key": ["revenue0.supplier_no"], "Plans": [{"Node Type": "Subquery Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Alias": "revenue0", "Startup Cost": 121562.9, "Total Cost": 121812.9, "Plan Rows": 10000, "Plan Width": 36, "Output": ["revenue0.total_revenue", "revenue0.supplier_no"], "Plans": [{"Node Type": "Aggregate", "Strategy": "Hashed", "Partial Mode": "Simple", "Parent Relationship": "Subquery", "Parallel Aware": false, "Startup Cost": 121562.9, "Total Cost": 121712.9, "Plan Rows": 10000, "Plan Width": 36, "Output": ["lineitem.l_suppkey", "sum((lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount)))"], "Group Key": ["lineitem.l_suppkey"], "Filter": "(sum((lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount))) = $0)", "Plans": [{"Node Type": "Bitmap Heap Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Relation Name": "lineitem", "Schema": "public", "Alias": "lineitem", "Startup Cost": 2928.87, "Total Cost": 117701.22, "Plan Rows": 220667, "Plan Width": 16, "Output": ["lineitem.l_orderkey", "lineitem.l_partkey", "lineitem.l_suppkey", "lineitem.l_linenumber", "lineitem.l_quantity", "lineitem.l_extendedprice", "lineitem.l_discount", "lineitem.l_tax", "lineitem.l_returnflag", "lineitem.l_linestatus", "lineitem.l_shipdate", "lineitem.l_commitdate", "lineitem.l_receiptdate", "lineitem.l_shipinstruct", "lineitem.l_shipmode", "lineitem.l_comment"], "Recheck Cond": "((lineitem.l_shipdate >= '1995-01-01'::date) AND (lineitem.l_shipdate < '1995-04-01 00:00:00'::timestamp without time zone))", "Plans": [{"Node Type": "Bitmap Index Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Index Name": "l_sd", "Startup Cost": 0.0, "Total Cost": 2873.7, "Plan Rows": 220667, "Plan Width": 0, "Index Cond": "((lineitem.l_shipdate >= '1995-01-01'::date) AND (lineitem.l_shipdate < '1995-04-01 00:00:00'::timestamp without time zone))"}]}]}]}]}]}} diff --git a/dev9/pg9/tpch/sf_1/explain/15721/15-3.ok b/dev9/pg9/tpch/sf_1/explain/15721/15-3.ok new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/dev9/pg9/tpch/sf_1/explain/15721/15-3.res b/dev9/pg9/tpch/sf_1/explain/15721/15-3.res new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/dev9/pg9/tpch/sf_1/explain/15721/16-1.ok b/dev9/pg9/tpch/sf_1/explain/15721/16-1.ok new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/dev9/pg9/tpch/sf_1/explain/15721/16-1.res b/dev9/pg9/tpch/sf_1/explain/15721/16-1.res new file mode 100644 index 0000000000000000000000000000000000000000..9f5fdd447d03b71a260e72affea4b8f45c31bb60 --- /dev/null +++ b/dev9/pg9/tpch/sf_1/explain/15721/16-1.res @@ -0,0 +1 @@ +{"Plan": {"Node Type": "Sort", "Parallel Aware": false, "Startup Cost": 35079.36, "Total Cost": 35119.4, "Plan Rows": 16016, "Plan Width": 44, "Output": ["part.p_brand", "part.p_type", "part.p_size", "(count(DISTINCT partsupp.ps_suppkey))"], "Sort Key": ["(count(DISTINCT partsupp.ps_suppkey)) DESC", "part.p_brand", "part.p_type", "part.p_size"], "Plans": [{"Node Type": "Aggregate", "Strategy": "Sorted", "Partial Mode": "Simple", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 33055.71, "Total Cost": 33960.87, "Plan Rows": 16016, "Plan Width": 44, "Output": ["part.p_brand", "part.p_type", "part.p_size", "count(DISTINCT partsupp.ps_suppkey)"], "Group Key": ["part.p_brand", "part.p_type", "part.p_size"], "Plans": [{"Node Type": "Sort", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 33055.71, "Total Cost": 33204.71, "Plan Rows": 59600, "Plan Width": 40, "Output": ["part.p_brand", "part.p_type", "part.p_size", "partsupp.ps_suppkey"], "Sort Key": ["part.p_brand", "part.p_type", "part.p_size"], "Plans": [{"Node Type": "Hash Join", "Parent Relationship": "Outer", "Parallel Aware": false, "Join Type": "Inner", "Startup Cost": 9816.93, "Total Cost": 28328.53, "Plan Rows": 59600, "Plan Width": 40, "Output": ["part.p_brand", "part.p_type", "part.p_size", "partsupp.ps_suppkey"], "Hash Cond": "(partsupp.ps_partkey = part.p_partkey)", "Plans": [{"Node Type": "Index Only Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Scan Direction": "Forward", "Index Name": "ps_pk_sk", "Relation Name": "partsupp", "Schema": "public", "Alias": "partsupp", "Startup Cost": 347.43, "Total Cost": 16763.03, "Plan Rows": 400000, "Plan Width": 8, "Output": ["partsupp.ps_partkey", "partsupp.ps_suppkey"], "Filter": "(NOT (hashed SubPlan 1))", "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "SubPlan", "Subplan Name": "SubPlan 1", "Parallel Aware": false, "Relation Name": "supplier", "Schema": "public", "Alias": "supplier", "Startup Cost": 0.0, "Total Cost": 347.0, "Plan Rows": 1, "Plan Width": 4, "Output": ["supplier.s_suppkey"], "Filter": "((supplier.s_comment)::text ~~ '%Customer%Complaints%'::text)"}]}, {"Node Type": "Hash", "Parent Relationship": "Inner", "Parallel Aware": false, "Startup Cost": 9097.0, "Total Cost": 9097.0, "Plan Rows": 29800, "Plan Width": 40, "Output": ["part.p_brand", "part.p_type", "part.p_size", "part.p_partkey"], "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Relation Name": "part", "Schema": "public", "Alias": "part", "Startup Cost": 0.0, "Total Cost": 9097.0, "Plan Rows": 29800, "Plan Width": 40, "Output": ["part.p_brand", "part.p_type", "part.p_size", "part.p_partkey"], "Filter": "((part.p_brand <> 'Brand#11'::bpchar) AND ((part.p_type)::text !~~ 'ECONOMY ANODIZED%'::text) AND (part.p_size = ANY ('{42,16,39,18,23,32,44,41}'::integer[])))"}]}]}]}]}]}} diff --git a/dev9/pg9/tpch/sf_1/explain/15721/17-1.ok b/dev9/pg9/tpch/sf_1/explain/15721/17-1.ok new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/dev9/pg9/tpch/sf_1/explain/15721/17-1.res b/dev9/pg9/tpch/sf_1/explain/15721/17-1.res new file mode 100644 index 0000000000000000000000000000000000000000..8b120eab92787fe615e95cabd1882c00d23647d3 --- /dev/null +++ b/dev9/pg9/tpch/sf_1/explain/15721/17-1.res @@ -0,0 +1 @@ +{"Plan": {"Node Type": "Aggregate", "Strategy": "Plain", "Partial Mode": "Simple", "Parallel Aware": false, "Startup Cost": 240206.66, "Total Cost": 240206.68, "Plan Rows": 1, "Plan Width": 32, "Output": ["(sum(lineitem.l_extendedprice) / 7.0)"], "Plans": [{"Node Type": "Nested Loop", "Parent Relationship": "Outer", "Parallel Aware": false, "Join Type": "Inner", "Startup Cost": 0.43, "Total Cost": 240201.64, "Plan Rows": 2010, "Plan Width": 8, "Output": ["lineitem.l_extendedprice"], "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Relation Name": "part", "Schema": "public", "Alias": "part", "Startup Cost": 0.0, "Total Cost": 7097.0, "Plan Rows": 201, "Plan Width": 4, "Output": ["part.p_partkey", "part.p_name", "part.p_mfgr", "part.p_brand", "part.p_type", "part.p_size", "part.p_container", "part.p_retailprice", "part.p_comment"], "Filter": "((part.p_brand = 'Brand#14'::bpchar) AND (part.p_container = 'WRAP BOX'::bpchar))"}, {"Node Type": "Index Scan", "Parent Relationship": "Inner", "Parallel Aware": false, "Scan Direction": "Forward", "Index Name": "l_pk", "Relation Name": "lineitem", "Schema": "public", "Alias": "lineitem", "Startup Cost": 0.43, "Total Cost": 1159.62, "Plan Rows": 10, "Plan Width": 17, "Output": ["lineitem.l_orderkey", "lineitem.l_partkey", "lineitem.l_suppkey", "lineitem.l_linenumber", "lineitem.l_quantity", "lineitem.l_extendedprice", "lineitem.l_discount", "lineitem.l_tax", "lineitem.l_returnflag", "lineitem.l_linestatus", "lineitem.l_shipdate", "lineitem.l_commitdate", "lineitem.l_receiptdate", "lineitem.l_shipinstruct", "lineitem.l_shipmode", "lineitem.l_comment"], "Index Cond": "(lineitem.l_partkey = part.p_partkey)", "Filter": "(lineitem.l_quantity < (SubPlan 1))", "Plans": [{"Node Type": "Aggregate", "Strategy": "Plain", "Partial Mode": "Simple", "Parent Relationship": "SubPlan", "Subplan Name": "SubPlan 1", "Parallel Aware": false, "Startup Cost": 36.25, "Total Cost": 36.27, "Plan Rows": 1, "Plan Width": 32, "Output": ["(0.2 * avg(lineitem_1.l_quantity))"], "Plans": [{"Node Type": "Index Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Scan Direction": "Forward", "Index Name": "l_pk", "Relation Name": "lineitem", "Schema": "public", "Alias": "lineitem_1", "Startup Cost": 0.43, "Total Cost": 36.17, "Plan Rows": 31, "Plan Width": 5, "Output": ["lineitem_1.l_orderkey", "lineitem_1.l_partkey", "lineitem_1.l_suppkey", "lineitem_1.l_linenumber", "lineitem_1.l_quantity", "lineitem_1.l_extendedprice", "lineitem_1.l_discount", "lineitem_1.l_tax", "lineitem_1.l_returnflag", "lineitem_1.l_linestatus", "lineitem_1.l_shipdate", "lineitem_1.l_commitdate", "lineitem_1.l_receiptdate", "lineitem_1.l_shipinstruct", "lineitem_1.l_shipmode", "lineitem_1.l_comment"], "Index Cond": "(lineitem_1.l_partkey = part.p_partkey)"}]}]}]}]}} diff --git a/dev9/pg9/tpch/sf_1/explain/15721/18-1.ok b/dev9/pg9/tpch/sf_1/explain/15721/18-1.ok new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/dev9/pg9/tpch/sf_1/explain/15721/18-1.res b/dev9/pg9/tpch/sf_1/explain/15721/18-1.res new file mode 100644 index 0000000000000000000000000000000000000000..b52421eef675c8d2e502ac751011bdcebbb1b484 --- /dev/null +++ b/dev9/pg9/tpch/sf_1/explain/15721/18-1.res @@ -0,0 +1 @@ +{"Plan": {"Node Type": "Limit", "Parallel Aware": false, "Startup Cost": 1226845.48, "Total Cost": 1226845.73, "Plan Rows": 100, "Plan Width": 71, "Output": ["customer.c_name", "customer.c_custkey", "orders.o_orderkey", "orders.o_orderdate", "orders.o_totalprice", "(sum(lineitem.l_quantity))"], "Plans": [{"Node Type": "Sort", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 1226845.48, "Total Cost": 1234347.0, "Plan Rows": 3000608, "Plan Width": 71, "Output": ["customer.c_name", "customer.c_custkey", "orders.o_orderkey", "orders.o_orderdate", "orders.o_totalprice", "(sum(lineitem.l_quantity))"], "Sort Key": ["orders.o_totalprice DESC", "orders.o_orderdate"], "Plans": [{"Node Type": "Aggregate", "Strategy": "Sorted", "Partial Mode": "Simple", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 1044650.72, "Total Cost": 1112164.4, "Plan Rows": 3000608, "Plan Width": 71, "Output": ["customer.c_name", "customer.c_custkey", "orders.o_orderkey", "orders.o_orderdate", "orders.o_totalprice", "sum(lineitem.l_quantity)"], "Group Key": ["customer.c_custkey", "orders.o_orderkey"], "Plans": [{"Node Type": "Sort", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 1044650.72, "Total Cost": 1052152.24, "Plan Rows": 3000608, "Plan Width": 44, "Output": ["customer.c_custkey", "orders.o_orderkey", "customer.c_name", "orders.o_orderdate", "orders.o_totalprice", "lineitem.l_quantity"], "Sort Key": ["customer.c_custkey", "orders.o_orderkey"], "Plans": [{"Node Type": "Hash Join", "Parent Relationship": "Outer", "Parallel Aware": false, "Join Type": "Inner", "Startup Cost": 6963.18, "Total Cost": 667768.31, "Plan Rows": 3000608, "Plan Width": 44, "Output": ["customer.c_custkey", "orders.o_orderkey", "customer.c_name", "orders.o_orderdate", "orders.o_totalprice", "lineitem.l_quantity"], "Hash Cond": "(orders.o_custkey = customer.c_custkey)", "Plans": [{"Node Type": "Merge Join", "Parent Relationship": "Outer", "Parallel Aware": false, "Join Type": "Inner", "Startup Cost": 3.18, "Total Cost": 619549.95, "Plan Rows": 3000608, "Plan Width": 25, "Output": ["orders.o_orderkey", "orders.o_orderdate", "orders.o_totalprice", "orders.o_custkey", "lineitem.l_quantity"], "Merge Cond": "(orders.o_orderkey = lineitem.l_orderkey)", "Plans": [{"Node Type": "Merge Join", "Parent Relationship": "Outer", "Parallel Aware": false, "Join Type": "Semi", "Startup Cost": 0.86, "Total Cost": 352043.99, "Plan Rows": 750000, "Plan Width": 24, "Output": ["orders.o_orderkey", "orders.o_orderdate", "orders.o_totalprice", "orders.o_custkey", "lineitem_1.l_orderkey"], "Merge Cond": "(orders.o_orderkey = lineitem_1.l_orderkey)", "Plans": [{"Node Type": "Index Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Scan Direction": "Forward", "Index Name": "o_ok", "Relation Name": "orders", "Schema": "public", "Alias": "orders", "Startup Cost": 0.43, "Total Cost": 53123.13, "Plan Rows": 1500000, "Plan Width": 20, "Output": ["orders.o_orderkey", "orders.o_custkey", "orders.o_orderstatus", "orders.o_totalprice", "orders.o_orderdate", "orders.o_orderpriority", "orders.o_clerk", "orders.o_shippriority", "orders.o_comment"]}, {"Node Type": "Materialize", "Parent Relationship": "Inner", "Parallel Aware": false, "Startup Cost": 0.43, "Total Cost": 280324.09, "Plan Rows": 1187742, "Plan Width": 4, "Output": ["lineitem_1.l_orderkey"], "Plans": [{"Node Type": "Aggregate", "Strategy": "Sorted", "Partial Mode": "Simple", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 0.43, "Total Cost": 265477.32, "Plan Rows": 1187742, "Plan Width": 4, "Output": ["lineitem_1.l_orderkey"], "Group Key": ["lineitem_1.l_orderkey"], "Filter": "(sum(lineitem_1.l_quantity) > '314'::numeric)", "Plans": [{"Node Type": "Index Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Scan Direction": "Forward", "Index Name": "l_ok", "Relation Name": "lineitem", "Schema": "public", "Alias": "lineitem_1", "Startup Cost": 0.43, "Total Cost": 220624.47, "Plan Rows": 6001215, "Plan Width": 9, "Output": ["lineitem_1.l_orderkey", "lineitem_1.l_partkey", "lineitem_1.l_suppkey", "lineitem_1.l_linenumber", "lineitem_1.l_quantity", "lineitem_1.l_extendedprice", "lineitem_1.l_discount", "lineitem_1.l_tax", "lineitem_1.l_returnflag", "lineitem_1.l_linestatus", "lineitem_1.l_shipdate", "lineitem_1.l_commitdate", "lineitem_1.l_receiptdate", "lineitem_1.l_shipinstruct", "lineitem_1.l_shipmode", "lineitem_1.l_comment"]}]}]}]}, {"Node Type": "Index Scan", "Parent Relationship": "Inner", "Parallel Aware": false, "Scan Direction": "Forward", "Index Name": "l_ok", "Relation Name": "lineitem", "Schema": "public", "Alias": "lineitem", "Startup Cost": 0.43, "Total Cost": 220624.47, "Plan Rows": 6001215, "Plan Width": 9, "Output": ["lineitem.l_orderkey", "lineitem.l_partkey", "lineitem.l_suppkey", "lineitem.l_linenumber", "lineitem.l_quantity", "lineitem.l_extendedprice", "lineitem.l_discount", "lineitem.l_tax", "lineitem.l_returnflag", "lineitem.l_linestatus", "lineitem.l_shipdate", "lineitem.l_commitdate", "lineitem.l_receiptdate", "lineitem.l_shipinstruct", "lineitem.l_shipmode", "lineitem.l_comment"]}]}, {"Node Type": "Hash", "Parent Relationship": "Inner", "Parallel Aware": false, "Startup Cost": 5085.0, "Total Cost": 5085.0, "Plan Rows": 150000, "Plan Width": 23, "Output": ["customer.c_name", "customer.c_custkey"], "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Relation Name": "customer", "Schema": "public", "Alias": "customer", "Startup Cost": 0.0, "Total Cost": 5085.0, "Plan Rows": 150000, "Plan Width": 23, "Output": ["customer.c_name", "customer.c_custkey"]}]}]}]}]}]}]}} diff --git a/dev9/pg9/tpch/sf_1/explain/15721/19-1.ok b/dev9/pg9/tpch/sf_1/explain/15721/19-1.ok new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/dev9/pg9/tpch/sf_1/explain/15721/19-1.res b/dev9/pg9/tpch/sf_1/explain/15721/19-1.res new file mode 100644 index 0000000000000000000000000000000000000000..f6012e7aa0b9143ececf7b184389425f61fa786a --- /dev/null +++ b/dev9/pg9/tpch/sf_1/explain/15721/19-1.res @@ -0,0 +1 @@ +{"Plan": {"Node Type": "Aggregate", "Strategy": "Plain", "Partial Mode": "Finalize", "Parallel Aware": false, "Startup Cost": 15852.97, "Total Cost": 15852.98, "Plan Rows": 1, "Plan Width": 32, "Output": ["sum((lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount)))"], "Plans": [{"Node Type": "Gather", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 15852.74, "Total Cost": 15852.95, "Plan Rows": 2, "Plan Width": 32, "Output": ["(PARTIAL sum((lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount))))"], "Workers Planned": 2, "Single Copy": false, "Plans": [{"Node Type": "Aggregate", "Strategy": "Plain", "Partial Mode": "Partial", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 14852.74, "Total Cost": 14852.75, "Plan Rows": 1, "Plan Width": 32, "Output": ["PARTIAL sum((lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount)))"], "Plans": [{"Node Type": "Nested Loop", "Parent Relationship": "Outer", "Parallel Aware": false, "Join Type": "Inner", "Startup Cost": 0.43, "Total Cost": 14852.38, "Plan Rows": 48, "Plan Width": 12, "Output": ["lineitem.l_extendedprice", "lineitem.l_discount"], "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": true, "Relation Name": "part", "Schema": "public", "Alias": "part", "Startup Cost": 0.0, "Total Cost": 7638.67, "Plan Rows": 200, "Plan Width": 30, "Output": ["part.p_partkey", "part.p_name", "part.p_mfgr", "part.p_brand", "part.p_type", "part.p_size", "part.p_container", "part.p_retailprice", "part.p_comment"], "Filter": "((part.p_size >= 1) AND (((part.p_brand = 'Brand#52'::bpchar) AND (part.p_container = ANY ('{\"SM CASE\",\"SM BOX\",\"SM PACK\",\"SM PKG\"}'::bpchar[])) AND (part.p_size <= 5)) OR ((part.p_brand = 'Brand#42'::bpchar) AND (part.p_container = ANY ('{\"MED BAG\",\"MED BOX\",\"MED PKG\",\"MED PACK\"}'::bpchar[])) AND (part.p_size <= 10)) OR ((part.p_brand = 'Brand#23'::bpchar) AND (part.p_container = ANY ('{\"LG CASE\",\"LG BOX\",\"LG PACK\",\"LG PKG\"}'::bpchar[])) AND (part.p_size <= 15))))"}, {"Node Type": "Index Scan", "Parent Relationship": "Inner", "Parallel Aware": false, "Scan Direction": "Forward", "Index Name": "l_pk", "Relation Name": "lineitem", "Schema": "public", "Alias": "lineitem", "Startup Cost": 0.43, "Total Cost": 36.06, "Plan Rows": 1, "Plan Width": 21, "Output": ["lineitem.l_orderkey", "lineitem.l_partkey", "lineitem.l_suppkey", "lineitem.l_linenumber", "lineitem.l_quantity", "lineitem.l_extendedprice", "lineitem.l_discount", "lineitem.l_tax", "lineitem.l_returnflag", "lineitem.l_linestatus", "lineitem.l_shipdate", "lineitem.l_commitdate", "lineitem.l_receiptdate", "lineitem.l_shipinstruct", "lineitem.l_shipmode", "lineitem.l_comment"], "Index Cond": "(lineitem.l_partkey = part.p_partkey)", "Filter": "((lineitem.l_shipmode = ANY ('{AIR,\"AIR REG\"}'::bpchar[])) AND (lineitem.l_shipinstruct = 'DELIVER IN PERSON'::bpchar) AND (((lineitem.l_quantity >= '9'::numeric) AND (lineitem.l_quantity <= '19'::numeric)) OR ((lineitem.l_quantity >= '18'::numeric) AND (lineitem.l_quantity <= '28'::numeric)) OR ((lineitem.l_quantity >= '22'::numeric) AND (lineitem.l_quantity <= '32'::numeric))) AND (((part.p_brand = 'Brand#52'::bpchar) AND (part.p_container = ANY ('{\"SM CASE\",\"SM BOX\",\"SM PACK\",\"SM PKG\"}'::bpchar[])) AND (lineitem.l_quantity >= '9'::numeric) AND (lineitem.l_quantity <= '19'::numeric) AND (part.p_size <= 5)) OR ((part.p_brand = 'Brand#42'::bpchar) AND (part.p_container = ANY ('{\"MED BAG\",\"MED BOX\",\"MED PKG\",\"MED PACK\"}'::bpchar[])) AND (lineitem.l_quantity >= '18'::numeric) AND (lineitem.l_quantity <= '28'::numeric) AND (part.p_size <= 10)) OR ((part.p_brand = 'Brand#23'::bpchar) AND (part.p_container = ANY ('{\"LG CASE\",\"LG BOX\",\"LG PACK\",\"LG PKG\"}'::bpchar[])) AND (lineitem.l_quantity >= '22'::numeric) AND (lineitem.l_quantity <= '32'::numeric) AND (part.p_size <= 15))))"}]}]}]}]}} diff --git a/dev9/pg9/tpch/sf_1/explain/15721/2-1.ok b/dev9/pg9/tpch/sf_1/explain/15721/2-1.ok new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/dev9/pg9/tpch/sf_1/explain/15721/2-1.res b/dev9/pg9/tpch/sf_1/explain/15721/2-1.res new file mode 100644 index 0000000000000000000000000000000000000000..a00c4194828acbecc96e5fc336d9d3ea29732cf6 --- /dev/null +++ b/dev9/pg9/tpch/sf_1/explain/15721/2-1.res @@ -0,0 +1 @@ +{"Plan": {"Node Type": "Limit", "Parallel Aware": false, "Startup Cost": 49718.27, "Total Cost": 49718.27, "Plan Rows": 1, "Plan Width": 192, "Output": ["supplier.s_acctbal", "supplier.s_name", "nation.n_name", "part.p_partkey", "part.p_mfgr", "supplier.s_address", "supplier.s_phone", "supplier.s_comment"], "Plans": [{"Node Type": "Sort", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 49718.27, "Total Cost": 49718.27, "Plan Rows": 1, "Plan Width": 192, "Output": ["supplier.s_acctbal", "supplier.s_name", "nation.n_name", "part.p_partkey", "part.p_mfgr", "supplier.s_address", "supplier.s_phone", "supplier.s_comment"], "Sort Key": ["supplier.s_acctbal DESC", "nation.n_name", "supplier.s_name", "part.p_partkey"], "Plans": [{"Node Type": "Hash Join", "Parent Relationship": "Outer", "Parallel Aware": false, "Join Type": "Inner", "Startup Cost": 16993.29, "Total Cost": 49718.26, "Plan Rows": 1, "Plan Width": 192, "Output": ["supplier.s_acctbal", "supplier.s_name", "nation.n_name", "part.p_partkey", "part.p_mfgr", "supplier.s_address", "supplier.s_phone", "supplier.s_comment"], "Hash Cond": "((part.p_partkey = partsupp.ps_partkey) AND ((SubPlan 1) = partsupp.ps_supplycost))", "Plans": [{"Node Type": "Gather", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 1000.0, "Total Cost": 6427.4, "Plan Rows": 804, "Plan Width": 30, "Output": ["part.p_partkey", "part.p_mfgr"], "Workers Planned": 2, "Single Copy": false, "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": true, "Relation Name": "part", "Schema": "public", "Alias": "part", "Startup Cost": 0.0, "Total Cost": 5347.0, "Plan Rows": 335, "Plan Width": 30, "Output": ["part.p_partkey", "part.p_mfgr"], "Filter": "(((part.p_type)::text ~~ '%TIN'::text) AND (part.p_size = 44))"}]}, {"Node Type": "Hash", "Parent Relationship": "Inner", "Parallel Aware": false, "Startup Cost": 9686.29, "Total Cost": 9686.29, "Plan Rows": 160000, "Plan Width": 172, "Output": ["supplier.s_acctbal", "supplier.s_name", "supplier.s_address", "supplier.s_phone", "supplier.s_comment", "partsupp.ps_partkey", "partsupp.ps_supplycost", "nation.n_name"], "Plans": [{"Node Type": "Nested Loop", "Parent Relationship": "Outer", "Parallel Aware": false, "Join Type": "Inner", "Startup Cost": 0.71, "Total Cost": 9686.29, "Plan Rows": 160000, "Plan Width": 172, "Output": ["supplier.s_acctbal", "supplier.s_name", "supplier.s_address", "supplier.s_phone", "supplier.s_comment", "partsupp.ps_partkey", "partsupp.ps_supplycost", "nation.n_name"], "Plans": [{"Node Type": "Nested Loop", "Parent Relationship": "Outer", "Parallel Aware": false, "Join Type": "Inner", "Startup Cost": 0.29, "Total Cost": 114.02, "Plan Rows": 2000, "Plan Width": 166, "Output": ["supplier.s_acctbal", "supplier.s_name", "supplier.s_address", "supplier.s_phone", "supplier.s_comment", "supplier.s_suppkey", "nation.n_name"], "Plans": [{"Node Type": "Nested Loop", "Parent Relationship": "Outer", "Parallel Aware": false, "Join Type": "Inner", "Startup Cost": 0.0, "Total Cost": 2.62, "Plan Rows": 5, "Plan Width": 30, "Output": ["nation.n_name", "nation.n_nationkey"], "Join Filter": "(nation.n_regionkey = region.r_regionkey)", "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Relation Name": "region", "Schema": "public", "Alias": "region", "Startup Cost": 0.0, "Total Cost": 1.06, "Plan Rows": 1, "Plan Width": 4, "Output": ["region.r_regionkey", "region.r_name", "region.r_comment"], "Filter": "(region.r_name = 'EUROPE'::bpchar)"}, {"Node Type": "Seq Scan", "Parent Relationship": "Inner", "Parallel Aware": false, "Relation Name": "nation", "Schema": "public", "Alias": "nation", "Startup Cost": 0.0, "Total Cost": 1.25, "Plan Rows": 25, "Plan Width": 34, "Output": ["nation.n_nationkey", "nation.n_name", "nation.n_regionkey", "nation.n_comment"]}]}, {"Node Type": "Index Scan", "Parent Relationship": "Inner", "Parallel Aware": false, "Scan Direction": "Forward", "Index Name": "s_nk", "Relation Name": "supplier", "Schema": "public", "Alias": "supplier", "Startup Cost": 0.29, "Total Cost": 18.28, "Plan Rows": 400, "Plan Width": 144, "Output": ["supplier.s_suppkey", "supplier.s_name", "supplier.s_address", "supplier.s_nationkey", "supplier.s_phone", "supplier.s_acctbal", "supplier.s_comment"], "Index Cond": "(supplier.s_nationkey = nation.n_nationkey)"}]}, {"Node Type": "Index Scan", "Parent Relationship": "Inner", "Parallel Aware": false, "Scan Direction": "Forward", "Index Name": "ps_sk", "Relation Name": "partsupp", "Schema": "public", "Alias": "partsupp", "Startup Cost": 0.42, "Total Cost": 3.99, "Plan Rows": 80, "Plan Width": 14, "Output": ["partsupp.ps_partkey", "partsupp.ps_suppkey", "partsupp.ps_availqty", "partsupp.ps_supplycost", "partsupp.ps_comment"], "Index Cond": "(partsupp.ps_suppkey = supplier.s_suppkey)"}]}]}, {"Node Type": "Aggregate", "Strategy": "Plain", "Partial Mode": "Simple", "Parent Relationship": "SubPlan", "Subplan Name": "SubPlan 1", "Parallel Aware": false, "Startup Cost": 14.52, "Total Cost": 14.53, "Plan Rows": 1, "Plan Width": 32, "Output": ["min(partsupp_1.ps_supplycost)"], "Plans": [{"Node Type": "Nested Loop", "Parent Relationship": "Outer", "Parallel Aware": false, "Join Type": "Inner", "Startup Cost": 0.85, "Total Cost": 14.52, "Plan Rows": 1, "Plan Width": 6, "Output": ["partsupp_1.ps_supplycost"], "Join Filter": "(nation_1.n_regionkey = region_1.r_regionkey)", "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Relation Name": "region", "Schema": "public", "Alias": "region_1", "Startup Cost": 0.0, "Total Cost": 1.06, "Plan Rows": 1, "Plan Width": 4, "Output": ["region_1.r_regionkey", "region_1.r_name", "region_1.r_comment"], "Filter": "(region_1.r_name = 'EUROPE'::bpchar)"}, {"Node Type": "Nested Loop", "Parent Relationship": "Inner", "Parallel Aware": false, "Join Type": "Inner", "Startup Cost": 0.85, "Total Cost": 13.41, "Plan Rows": 4, "Plan Width": 10, "Output": ["partsupp_1.ps_supplycost", "nation_1.n_regionkey"], "Plans": [{"Node Type": "Nested Loop", "Parent Relationship": "Outer", "Parallel Aware": false, "Join Type": "Inner", "Startup Cost": 0.71, "Total Cost": 12.75, "Plan Rows": 4, "Plan Width": 10, "Output": ["partsupp_1.ps_supplycost", "supplier_1.s_nationkey"], "Plans": [{"Node Type": "Index Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Scan Direction": "Forward", "Index Name": "ps_pk", "Relation Name": "partsupp", "Schema": "public", "Alias": "partsupp_1", "Startup Cost": 0.42, "Total Cost": 2.7, "Plan Rows": 4, "Plan Width": 10, "Output": ["partsupp_1.ps_partkey", "partsupp_1.ps_suppkey", "partsupp_1.ps_availqty", "partsupp_1.ps_supplycost", "partsupp_1.ps_comment"], "Index Cond": "(part.p_partkey = partsupp_1.ps_partkey)"}, {"Node Type": "Index Scan", "Parent Relationship": "Inner", "Parallel Aware": false, "Scan Direction": "Forward", "Index Name": "s_sk", "Relation Name": "supplier", "Schema": "public", "Alias": "supplier_1", "Startup Cost": 0.29, "Total Cost": 2.5, "Plan Rows": 1, "Plan Width": 8, "Output": ["supplier_1.s_suppkey", "supplier_1.s_name", "supplier_1.s_address", "supplier_1.s_nationkey", "supplier_1.s_phone", "supplier_1.s_acctbal", "supplier_1.s_comment"], "Index Cond": "(supplier_1.s_suppkey = partsupp_1.ps_suppkey)"}]}, {"Node Type": "Index Scan", "Parent Relationship": "Inner", "Parallel Aware": false, "Scan Direction": "Forward", "Index Name": "n_nk", "Relation Name": "nation", "Schema": "public", "Alias": "nation_1", "Startup Cost": 0.14, "Total Cost": 0.16, "Plan Rows": 1, "Plan Width": 8, "Output": ["nation_1.n_nationkey", "nation_1.n_name", "nation_1.n_regionkey", "nation_1.n_comment"], "Index Cond": "(nation_1.n_nationkey = supplier_1.s_nationkey)"}]}]}]}]}]}]}} diff --git a/dev9/pg9/tpch/sf_1/explain/15721/20-1.ok b/dev9/pg9/tpch/sf_1/explain/15721/20-1.ok new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/dev9/pg9/tpch/sf_1/explain/15721/20-1.res b/dev9/pg9/tpch/sf_1/explain/15721/20-1.res new file mode 100644 index 0000000000000000000000000000000000000000..be27c99bf4d8146163a771f67445c4456f4a4984 --- /dev/null +++ b/dev9/pg9/tpch/sf_1/explain/15721/20-1.res @@ -0,0 +1 @@ +{"Plan": {"Node Type": "Sort", "Parallel Aware": false, "Startup Cost": 32701.2, "Total Cost": 32701.47, "Plan Rows": 107, "Plan Width": 51, "Output": ["supplier.s_name", "supplier.s_address"], "Sort Key": ["supplier.s_name"], "Plans": [{"Node Type": "Hash Join", "Parent Relationship": "Outer", "Parallel Aware": false, "Join Type": "Semi", "Startup Cost": 32473.38, "Total Cost": 32697.59, "Plan Rows": 107, "Plan Width": 51, "Output": ["supplier.s_name", "supplier.s_address"], "Hash Cond": "(supplier.s_suppkey = partsupp.ps_suppkey)", "Plans": [{"Node Type": "Nested Loop", "Parent Relationship": "Outer", "Parallel Aware": false, "Join Type": "Inner", "Startup Cost": 5.58, "Total Cost": 227.43, "Plan Rows": 400, "Plan Width": 55, "Output": ["supplier.s_name", "supplier.s_address", "supplier.s_suppkey"], "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Relation Name": "nation", "Schema": "public", "Alias": "nation", "Startup Cost": 0.0, "Total Cost": 1.31, "Plan Rows": 1, "Plan Width": 4, "Output": ["nation.n_nationkey", "nation.n_name", "nation.n_regionkey", "nation.n_comment"], "Filter": "(nation.n_name = 'GERMANY'::bpchar)"}, {"Node Type": "Bitmap Heap Scan", "Parent Relationship": "Inner", "Parallel Aware": false, "Relation Name": "supplier", "Schema": "public", "Alias": "supplier", "Startup Cost": 5.58, "Total Cost": 222.11, "Plan Rows": 400, "Plan Width": 59, "Output": ["supplier.s_suppkey", "supplier.s_name", "supplier.s_address", "supplier.s_nationkey", "supplier.s_phone", "supplier.s_acctbal", "supplier.s_comment"], "Recheck Cond": "(supplier.s_nationkey = nation.n_nationkey)", "Plans": [{"Node Type": "Bitmap Index Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Index Name": "s_nk", "Startup Cost": 0.0, "Total Cost": 5.49, "Plan Rows": 400, "Plan Width": 0, "Index Cond": "(supplier.s_nationkey = nation.n_nationkey)"}]}]}, {"Node Type": "Hash", "Parent Relationship": "Inner", "Parallel Aware": false, "Startup Cost": 32434.39, "Total Cost": 32434.39, "Plan Rows": 2672, "Plan Width": 4, "Output": ["partsupp.ps_suppkey"], "Plans": [{"Node Type": "Nested Loop", "Parent Relationship": "Outer", "Parallel Aware": false, "Join Type": "Inner", "Startup Cost": 1000.42, "Total Cost": 32434.39, "Plan Rows": 2672, "Plan Width": 4, "Output": ["partsupp.ps_suppkey"], "Plans": [{"Node Type": "Gather", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 1000.0, "Total Cost": 6339.07, "Plan Rows": 2004, "Plan Width": 4, "Output": ["part.p_partkey"], "Workers Planned": 2, "Single Copy": false, "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": true, "Relation Name": "part", "Schema": "public", "Alias": "part", "Startup Cost": 0.0, "Total Cost": 5138.67, "Plan Rows": 835, "Plan Width": 4, "Output": ["part.p_partkey"], "Filter": "((part.p_name)::text ~~ 'floral%'::text)"}]}, {"Node Type": "Index Scan", "Parent Relationship": "Inner", "Parallel Aware": false, "Scan Direction": "Forward", "Index Name": "ps_pk", "Relation Name": "partsupp", "Schema": "public", "Alias": "partsupp", "Startup Cost": 0.42, "Total Cost": 13.01, "Plan Rows": 1, "Plan Width": 8, "Output": ["partsupp.ps_partkey", "partsupp.ps_suppkey", "partsupp.ps_availqty", "partsupp.ps_supplycost", "partsupp.ps_comment"], "Index Cond": "(partsupp.ps_partkey = part.p_partkey)", "Filter": "((partsupp.ps_availqty)::numeric > (SubPlan 1))", "Plans": [{"Node Type": "Aggregate", "Strategy": "Plain", "Partial Mode": "Simple", "Parent Relationship": "SubPlan", "Subplan Name": "SubPlan 1", "Parallel Aware": false, "Startup Cost": 2.66, "Total Cost": 2.68, "Plan Rows": 1, "Plan Width": 32, "Output": ["(0.5 * sum(lineitem.l_quantity))"], "Plans": [{"Node Type": "Index Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Scan Direction": "Forward", "Index Name": "l_sk_pk", "Relation Name": "lineitem", "Schema": "public", "Alias": "lineitem", "Startup Cost": 0.43, "Total Cost": 2.66, "Plan Rows": 1, "Plan Width": 5, "Output": ["lineitem.l_orderkey", "lineitem.l_partkey", "lineitem.l_suppkey", "lineitem.l_linenumber", "lineitem.l_quantity", "lineitem.l_extendedprice", "lineitem.l_discount", "lineitem.l_tax", "lineitem.l_returnflag", "lineitem.l_linestatus", "lineitem.l_shipdate", "lineitem.l_commitdate", "lineitem.l_receiptdate", "lineitem.l_shipinstruct", "lineitem.l_shipmode", "lineitem.l_comment"], "Index Cond": "((lineitem.l_suppkey = partsupp.ps_suppkey) AND (lineitem.l_partkey = partsupp.ps_partkey))", "Filter": "((lineitem.l_shipdate >= '1996-01-01'::date) AND (lineitem.l_shipdate < '1997-01-01 00:00:00'::timestamp without time zone))"}]}]}]}]}]}]}} diff --git a/dev9/pg9/tpch/sf_1/explain/15721/21-1.ok b/dev9/pg9/tpch/sf_1/explain/15721/21-1.ok new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/dev9/pg9/tpch/sf_1/explain/15721/21-1.res b/dev9/pg9/tpch/sf_1/explain/15721/21-1.res new file mode 100644 index 0000000000000000000000000000000000000000..9ae8cd571705b1495062071e209d727345cdf4ac --- /dev/null +++ b/dev9/pg9/tpch/sf_1/explain/15721/21-1.res @@ -0,0 +1 @@ +{"Plan": {"Node Type": "Limit", "Parallel Aware": false, "Startup Cost": 56493.61, "Total Cost": 56493.62, "Plan Rows": 1, "Plan Width": 34, "Output": ["supplier.s_name", "(count(*))"], "Plans": [{"Node Type": "Sort", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 56493.61, "Total Cost": 56493.62, "Plan Rows": 1, "Plan Width": 34, "Output": ["supplier.s_name", "(count(*))"], "Sort Key": ["(count(*)) DESC", "supplier.s_name"], "Plans": [{"Node Type": "Aggregate", "Strategy": "Sorted", "Partial Mode": "Simple", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 56493.58, "Total Cost": 56493.6, "Plan Rows": 1, "Plan Width": 34, "Output": ["supplier.s_name", "count(*)"], "Group Key": ["supplier.s_name"], "Plans": [{"Node Type": "Sort", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 56493.58, "Total Cost": 56493.59, "Plan Rows": 1, "Plan Width": 26, "Output": ["supplier.s_name"], "Sort Key": ["supplier.s_name"], "Plans": [{"Node Type": "Nested Loop", "Parent Relationship": "Outer", "Parallel Aware": false, "Join Type": "Anti", "Startup Cost": 13498.98, "Total Cost": 56493.57, "Plan Rows": 1, "Plan Width": 26, "Output": ["supplier.s_name"], "Plans": [{"Node Type": "Gather", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 13498.55, "Total Cost": 56492.75, "Plan Rows": 1, "Plan Width": 34, "Output": ["supplier.s_name", "l1.l_suppkey", "l1.l_orderkey"], "Workers Planned": 3, "Single Copy": false, "Plans": [{"Node Type": "Nested Loop", "Parent Relationship": "Outer", "Parallel Aware": false, "Join Type": "Semi", "Startup Cost": 12498.55, "Total Cost": 55492.65, "Plan Rows": 1, "Plan Width": 34, "Output": ["supplier.s_name", "l1.l_suppkey", "l1.l_orderkey"], "Join Filter": "(orders.o_orderkey = l2.l_orderkey)", "Plans": [{"Node Type": "Hash Join", "Parent Relationship": "Outer", "Parallel Aware": false, "Join Type": "Inner", "Startup Cost": 12498.11, "Total Cost": 47123.28, "Plan Rows": 12568, "Plan Width": 38, "Output": ["supplier.s_name", "l1.l_suppkey", "l1.l_orderkey", "orders.o_orderkey"], "Hash Cond": "(orders.o_orderkey = l1.l_orderkey)", "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": true, "Relation Name": "orders", "Schema": "public", "Alias": "orders", "Startup Cost": 0.0, "Total Cost": 32143.39, "Plan Rows": 235610, "Plan Width": 4, "Output": ["orders.o_orderkey", "orders.o_custkey", "orders.o_orderstatus", "orders.o_totalprice", "orders.o_orderdate", "orders.o_orderpriority", "orders.o_clerk", "orders.o_shippriority", "orders.o_comment"], "Filter": "(orders.o_orderstatus = 'F'::bpchar)"}, {"Node Type": "Hash", "Parent Relationship": "Inner", "Parallel Aware": false, "Startup Cost": 11497.91, "Total Cost": 11497.91, "Plan Rows": 80016, "Plan Width": 34, "Output": ["supplier.s_name", "l1.l_suppkey", "l1.l_orderkey"], "Plans": [{"Node Type": "Nested Loop", "Parent Relationship": "Outer", "Parallel Aware": false, "Join Type": "Inner", "Startup Cost": 6.02, "Total Cost": 11497.91, "Plan Rows": 80016, "Plan Width": 34, "Output": ["supplier.s_name", "l1.l_suppkey", "l1.l_orderkey"], "Plans": [{"Node Type": "Nested Loop", "Parent Relationship": "Outer", "Parallel Aware": false, "Join Type": "Inner", "Startup Cost": 5.58, "Total Cost": 227.43, "Plan Rows": 400, "Plan Width": 30, "Output": ["supplier.s_name", "supplier.s_suppkey"], "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Relation Name": "nation", "Schema": "public", "Alias": "nation", "Startup Cost": 0.0, "Total Cost": 1.31, "Plan Rows": 1, "Plan Width": 4, "Output": ["nation.n_nationkey", "nation.n_name", "nation.n_regionkey", "nation.n_comment"], "Filter": "(nation.n_name = 'CHINA'::bpchar)"}, {"Node Type": "Bitmap Heap Scan", "Parent Relationship": "Inner", "Parallel Aware": false, "Relation Name": "supplier", "Schema": "public", "Alias": "supplier", "Startup Cost": 5.58, "Total Cost": 222.11, "Plan Rows": 400, "Plan Width": 34, "Output": ["supplier.s_suppkey", "supplier.s_name", "supplier.s_address", "supplier.s_nationkey", "supplier.s_phone", "supplier.s_acctbal", "supplier.s_comment"], "Recheck Cond": "(supplier.s_nationkey = nation.n_nationkey)", "Plans": [{"Node Type": "Bitmap Index Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Index Name": "s_nk", "Startup Cost": 0.0, "Total Cost": 5.49, "Plan Rows": 400, "Plan Width": 0, "Index Cond": "(supplier.s_nationkey = nation.n_nationkey)"}]}]}, {"Node Type": "Index Scan", "Parent Relationship": "Inner", "Parallel Aware": false, "Scan Direction": "Forward", "Index Name": "l_sk", "Relation Name": "lineitem", "Schema": "public", "Alias": "l1", "Startup Cost": 0.43, "Total Cost": 26.18, "Plan Rows": 200, "Plan Width": 8, "Output": ["l1.l_orderkey", "l1.l_partkey", "l1.l_suppkey", "l1.l_linenumber", "l1.l_quantity", "l1.l_extendedprice", "l1.l_discount", "l1.l_tax", "l1.l_returnflag", "l1.l_linestatus", "l1.l_shipdate", "l1.l_commitdate", "l1.l_receiptdate", "l1.l_shipinstruct", "l1.l_shipmode", "l1.l_comment"], "Index Cond": "(l1.l_suppkey = supplier.s_suppkey)", "Filter": "(l1.l_receiptdate > l1.l_commitdate)"}]}]}]}, {"Node Type": "Index Scan", "Parent Relationship": "Inner", "Parallel Aware": false, "Scan Direction": "Forward", "Index Name": "l_ok", "Relation Name": "lineitem", "Schema": "public", "Alias": "l2", "Startup Cost": 0.43, "Total Cost": 0.6, "Plan Rows": 5, "Plan Width": 8, "Output": ["l2.l_orderkey", "l2.l_partkey", "l2.l_suppkey", "l2.l_linenumber", "l2.l_quantity", "l2.l_extendedprice", "l2.l_discount", "l2.l_tax", "l2.l_returnflag", "l2.l_linestatus", "l2.l_shipdate", "l2.l_commitdate", "l2.l_receiptdate", "l2.l_shipinstruct", "l2.l_shipmode", "l2.l_comment"], "Index Cond": "(l2.l_orderkey = l1.l_orderkey)", "Filter": "(l2.l_suppkey <> l1.l_suppkey)"}]}]}, {"Node Type": "Index Scan", "Parent Relationship": "Inner", "Parallel Aware": false, "Scan Direction": "Forward", "Index Name": "l_ok", "Relation Name": "lineitem", "Schema": "public", "Alias": "l3", "Startup Cost": 0.43, "Total Cost": 0.62, "Plan Rows": 2, "Plan Width": 8, "Output": ["l3.l_orderkey", "l3.l_partkey", "l3.l_suppkey", "l3.l_linenumber", "l3.l_quantity", "l3.l_extendedprice", "l3.l_discount", "l3.l_tax", "l3.l_returnflag", "l3.l_linestatus", "l3.l_shipdate", "l3.l_commitdate", "l3.l_receiptdate", "l3.l_shipinstruct", "l3.l_shipmode", "l3.l_comment"], "Index Cond": "(l3.l_orderkey = l1.l_orderkey)", "Filter": "((l3.l_receiptdate > l3.l_commitdate) AND (l3.l_suppkey <> l1.l_suppkey))"}]}]}]}]}]}} diff --git a/dev9/pg9/tpch/sf_1/explain/15721/22-1.ok b/dev9/pg9/tpch/sf_1/explain/15721/22-1.ok new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/dev9/pg9/tpch/sf_1/explain/15721/22-1.res b/dev9/pg9/tpch/sf_1/explain/15721/22-1.res new file mode 100644 index 0000000000000000000000000000000000000000..4cfb82bedf79e7a8a036528481c9b41d1d8a11d1 --- /dev/null +++ b/dev9/pg9/tpch/sf_1/explain/15721/22-1.res @@ -0,0 +1 @@ +{"Plan": {"Node Type": "Aggregate", "Strategy": "Sorted", "Partial Mode": "Simple", "Parallel Aware": false, "Startup Cost": 14754.83, "Total Cost": 14773.31, "Plan Rows": 672, "Plan Width": 72, "Output": ["(\"substring\"((customer.c_phone)::text, 1, 2))", "count(*)", "sum(customer.c_acctbal)"], "Group Key": ["(\"substring\"((customer.c_phone)::text, 1, 2))"], "Plans": [{"Node Type": "Aggregate", "Strategy": "Plain", "Partial Mode": "Finalize", "Parent Relationship": "InitPlan", "Subplan Name": "InitPlan 1 (returns $0)", "Parallel Aware": false, "Startup Cost": 6230.82, "Total Cost": 6230.83, "Plan Rows": 1, "Plan Width": 32, "Output": ["avg(customer_1.c_acctbal)"], "Plans": [{"Node Type": "Gather", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 6230.6, "Total Cost": 6230.81, "Plan Rows": 2, "Plan Width": 32, "Output": ["(PARTIAL avg(customer_1.c_acctbal))"], "Workers Planned": 2, "Single Copy": false, "Plans": [{"Node Type": "Aggregate", "Strategy": "Plain", "Partial Mode": "Partial", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 5230.6, "Total Cost": 5230.61, "Plan Rows": 1, "Plan Width": 32, "Output": ["PARTIAL avg(customer_1.c_acctbal)"], "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": true, "Relation Name": "customer", "Schema": "public", "Alias": "customer_1", "Startup Cost": 0.0, "Total Cost": 5225.62, "Plan Rows": 1988, "Plan Width": 6, "Output": ["customer_1.c_acctbal"], "Filter": "((customer_1.c_acctbal > 0.00) AND (\"substring\"((customer_1.c_phone)::text, 1, 2) = ANY ('{17,20,25,31,30,11,33}'::text[])))"}]}]}]}, {"Node Type": "Sort", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 8524.0, "Total Cost": 8525.68, "Plan Rows": 672, "Plan Width": 38, "Output": ["(\"substring\"((customer.c_phone)::text, 1, 2))", "customer.c_acctbal"], "Sort Key": ["(\"substring\"((customer.c_phone)::text, 1, 2))"], "Plans": [{"Node Type": "Nested Loop", "Parent Relationship": "Outer", "Parallel Aware": false, "Join Type": "Anti", "Startup Cost": 0.43, "Total Cost": 8492.44, "Plan Rows": 672, "Plan Width": 38, "Output": ["\"substring\"((customer.c_phone)::text, 1, 2)", "customer.c_acctbal"], "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Relation Name": "customer", "Schema": "public", "Alias": "customer", "Startup Cost": 0.0, "Total Cost": 7522.5, "Plan Rows": 1750, "Plan Width": 26, "Output": ["customer.c_custkey", "customer.c_name", "customer.c_address", "customer.c_nationkey", "customer.c_phone", "customer.c_acctbal", "customer.c_mktsegment", "customer.c_comment"], "Filter": "((customer.c_acctbal > $0) AND (\"substring\"((customer.c_phone)::text, 1, 2) = ANY ('{17,20,25,31,30,11,33}'::text[])))"}, {"Node Type": "Index Only Scan", "Parent Relationship": "Inner", "Parallel Aware": false, "Scan Direction": "Forward", "Index Name": "o_ck", "Relation Name": "orders", "Schema": "public", "Alias": "orders", "Startup Cost": 0.43, "Total Cost": 1.62, "Plan Rows": 16, "Plan Width": 4, "Output": ["orders.o_custkey"], "Index Cond": "(orders.o_custkey = customer.c_custkey)"}]}]}]}} diff --git a/dev9/pg9/tpch/sf_1/explain/15721/3-1.ok b/dev9/pg9/tpch/sf_1/explain/15721/3-1.ok new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/dev9/pg9/tpch/sf_1/explain/15721/3-1.res b/dev9/pg9/tpch/sf_1/explain/15721/3-1.res new file mode 100644 index 0000000000000000000000000000000000000000..849f60311d654536debd2408f68f8522ceaa7fd8 --- /dev/null +++ b/dev9/pg9/tpch/sf_1/explain/15721/3-1.res @@ -0,0 +1 @@ +{"Plan": {"Node Type": "Limit", "Parallel Aware": false, "Startup Cost": 152031.17, "Total Cost": 152031.19, "Plan Rows": 10, "Plan Width": 44, "Output": ["lineitem.l_orderkey", "(sum((lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount))))", "orders.o_orderdate", "orders.o_shippriority"], "Plans": [{"Node Type": "Sort", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 152031.17, "Total Cost": 152817.69, "Plan Rows": 314611, "Plan Width": 44, "Output": ["lineitem.l_orderkey", "(sum((lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount))))", "orders.o_orderdate", "orders.o_shippriority"], "Sort Key": ["(sum((lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount)))) DESC", "orders.o_orderdate"], "Plans": [{"Node Type": "Aggregate", "Strategy": "Sorted", "Partial Mode": "Simple", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 135794.21, "Total Cost": 145232.54, "Plan Rows": 314611, "Plan Width": 44, "Output": ["lineitem.l_orderkey", "sum((lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount)))", "orders.o_orderdate", "orders.o_shippriority"], "Group Key": ["lineitem.l_orderkey", "orders.o_orderdate", "orders.o_shippriority"], "Plans": [{"Node Type": "Sort", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 135794.21, "Total Cost": 136580.73, "Plan Rows": 314611, "Plan Width": 24, "Output": ["lineitem.l_orderkey", "orders.o_orderdate", "orders.o_shippriority", "lineitem.l_extendedprice", "lineitem.l_discount"], "Sort Key": ["lineitem.l_orderkey", "orders.o_orderdate", "orders.o_shippriority"], "Plans": [{"Node Type": "Gather", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 1000.86, "Total Cost": 107065.17, "Plan Rows": 314611, "Plan Width": 24, "Output": ["lineitem.l_orderkey", "orders.o_orderdate", "orders.o_shippriority", "lineitem.l_extendedprice", "lineitem.l_discount"], "Workers Planned": 2, "Single Copy": false, "Plans": [{"Node Type": "Nested Loop", "Parent Relationship": "Outer", "Parallel Aware": false, "Join Type": "Inner", "Startup Cost": 0.86, "Total Cost": 74604.07, "Plan Rows": 131088, "Plan Width": 24, "Output": ["lineitem.l_orderkey", "orders.o_orderdate", "orders.o_shippriority", "lineitem.l_extendedprice", "lineitem.l_discount"], "Plans": [{"Node Type": "Nested Loop", "Parent Relationship": "Outer", "Parallel Aware": false, "Join Type": "Inner", "Startup Cost": 0.43, "Total Cost": 28546.31, "Plan Rows": 60887, "Plan Width": 12, "Output": ["orders.o_orderdate", "orders.o_shippriority", "orders.o_orderkey"], "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": true, "Relation Name": "customer", "Schema": "public", "Alias": "customer", "Startup Cost": 0.0, "Total Cost": 4366.25, "Plan Rows": 12487, "Plan Width": 4, "Output": ["customer.c_custkey", "customer.c_name", "customer.c_address", "customer.c_nationkey", "customer.c_phone", "customer.c_acctbal", "customer.c_mktsegment", "customer.c_comment"], "Filter": "(customer.c_mktsegment = 'FURNITURE'::bpchar)"}, {"Node Type": "Index Scan", "Parent Relationship": "Inner", "Parallel Aware": false, "Scan Direction": "Forward", "Index Name": "o_ck", "Relation Name": "orders", "Schema": "public", "Alias": "orders", "Startup Cost": 0.43, "Total Cost": 1.86, "Plan Rows": 8, "Plan Width": 16, "Output": ["orders.o_orderkey", "orders.o_custkey", "orders.o_orderstatus", "orders.o_totalprice", "orders.o_orderdate", "orders.o_orderpriority", "orders.o_clerk", "orders.o_shippriority", "orders.o_comment"], "Index Cond": "(orders.o_custkey = customer.c_custkey)", "Filter": "(orders.o_orderdate < '1995-03-20'::date)"}]}, {"Node Type": "Index Scan", "Parent Relationship": "Inner", "Parallel Aware": false, "Scan Direction": "Forward", "Index Name": "l_ok", "Relation Name": "lineitem", "Schema": "public", "Alias": "lineitem", "Startup Cost": 0.43, "Total Cost": 0.73, "Plan Rows": 3, "Plan Width": 16, "Output": ["lineitem.l_orderkey", "lineitem.l_partkey", "lineitem.l_suppkey", "lineitem.l_linenumber", "lineitem.l_quantity", "lineitem.l_extendedprice", "lineitem.l_discount", "lineitem.l_tax", "lineitem.l_returnflag", "lineitem.l_linestatus", "lineitem.l_shipdate", "lineitem.l_commitdate", "lineitem.l_receiptdate", "lineitem.l_shipinstruct", "lineitem.l_shipmode", "lineitem.l_comment"], "Index Cond": "(lineitem.l_orderkey = orders.o_orderkey)", "Filter": "(lineitem.l_shipdate > '1995-03-20'::date)"}]}]}]}]}]}]}} diff --git a/dev9/pg9/tpch/sf_1/explain/15721/4-1.ok b/dev9/pg9/tpch/sf_1/explain/15721/4-1.ok new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/dev9/pg9/tpch/sf_1/explain/15721/4-1.res b/dev9/pg9/tpch/sf_1/explain/15721/4-1.res new file mode 100644 index 0000000000000000000000000000000000000000..f82756e5aa7d8f59392e2c4e03f2603b19112705 --- /dev/null +++ b/dev9/pg9/tpch/sf_1/explain/15721/4-1.res @@ -0,0 +1 @@ +{"Plan": {"Node Type": "Aggregate", "Strategy": "Sorted", "Partial Mode": "Finalize", "Parallel Aware": false, "Startup Cost": 58939.14, "Total Cost": 58939.31, "Plan Rows": 5, "Plan Width": 24, "Output": ["orders.o_orderpriority", "count(*)"], "Group Key": ["orders.o_orderpriority"], "Plans": [{"Node Type": "Sort", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 58939.14, "Total Cost": 58939.18, "Plan Rows": 15, "Plan Width": 24, "Output": ["orders.o_orderpriority", "(PARTIAL count(*))"], "Sort Key": ["orders.o_orderpriority"], "Plans": [{"Node Type": "Gather", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 58937.3, "Total Cost": 58938.85, "Plan Rows": 15, "Plan Width": 24, "Output": ["orders.o_orderpriority", "(PARTIAL count(*))"], "Workers Planned": 3, "Single Copy": false, "Plans": [{"Node Type": "Aggregate", "Strategy": "Hashed", "Partial Mode": "Partial", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 57937.3, "Total Cost": 57937.35, "Plan Rows": 5, "Plan Width": 24, "Output": ["orders.o_orderpriority", "PARTIAL count(*)"], "Group Key": ["orders.o_orderpriority"], "Plans": [{"Node Type": "Nested Loop", "Parent Relationship": "Outer", "Parallel Aware": false, "Join Type": "Semi", "Startup Cost": 0.43, "Total Cost": 57865.24, "Plan Rows": 14411, "Plan Width": 16, "Output": ["orders.o_orderpriority"], "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": true, "Relation Name": "orders", "Schema": "public", "Alias": "orders", "Startup Cost": 0.0, "Total Cost": 33353.06, "Plan Rows": 18200, "Plan Width": 20, "Output": ["orders.o_orderkey", "orders.o_custkey", "orders.o_orderstatus", "orders.o_totalprice", "orders.o_orderdate", "orders.o_orderpriority", "orders.o_clerk", "orders.o_shippriority", "orders.o_comment"], "Filter": "((orders.o_orderdate >= '1996-01-01'::date) AND (orders.o_orderdate < '1996-04-01 00:00:00'::timestamp without time zone))"}, {"Node Type": "Index Scan", "Parent Relationship": "Inner", "Parallel Aware": false, "Scan Direction": "Forward", "Index Name": "l_ok", "Relation Name": "lineitem", "Schema": "public", "Alias": "lineitem", "Startup Cost": 0.43, "Total Cost": 1.73, "Plan Rows": 2, "Plan Width": 4, "Output": ["lineitem.l_orderkey", "lineitem.l_partkey", "lineitem.l_suppkey", "lineitem.l_linenumber", "lineitem.l_quantity", "lineitem.l_extendedprice", "lineitem.l_discount", "lineitem.l_tax", "lineitem.l_returnflag", "lineitem.l_linestatus", "lineitem.l_shipdate", "lineitem.l_commitdate", "lineitem.l_receiptdate", "lineitem.l_shipinstruct", "lineitem.l_shipmode", "lineitem.l_comment"], "Index Cond": "(lineitem.l_orderkey = orders.o_orderkey)", "Filter": "(lineitem.l_commitdate < lineitem.l_receiptdate)"}]}]}]}]}]}} diff --git a/dev9/pg9/tpch/sf_1/explain/15721/5-1.ok b/dev9/pg9/tpch/sf_1/explain/15721/5-1.ok new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/dev9/pg9/tpch/sf_1/explain/15721/5-1.res b/dev9/pg9/tpch/sf_1/explain/15721/5-1.res new file mode 100644 index 0000000000000000000000000000000000000000..db2ce34be0eb7f07d72a9a1a68f2141d8bdf6600 --- /dev/null +++ b/dev9/pg9/tpch/sf_1/explain/15721/5-1.res @@ -0,0 +1 @@ +{"Plan": {"Node Type": "Sort", "Parallel Aware": false, "Startup Cost": 42458.17, "Total Cost": 42458.23, "Plan Rows": 25, "Plan Width": 58, "Output": ["nation.n_name", "(sum((lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount))))"], "Sort Key": ["(sum((lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount)))) DESC"], "Plans": [{"Node Type": "Aggregate", "Strategy": "Sorted", "Partial Mode": "Finalize", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 42456.77, "Total Cost": 42457.59, "Plan Rows": 25, "Plan Width": 58, "Output": ["nation.n_name", "sum((lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount)))"], "Group Key": ["nation.n_name"], "Plans": [{"Node Type": "Sort", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 42456.77, "Total Cost": 42456.9, "Plan Rows": 50, "Plan Width": 58, "Output": ["nation.n_name", "(PARTIAL sum((lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount))))"], "Sort Key": ["nation.n_name"], "Plans": [{"Node Type": "Gather", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 42411.79, "Total Cost": 42455.36, "Plan Rows": 50, "Plan Width": 58, "Output": ["nation.n_name", "(PARTIAL sum((lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount))))"], "Workers Planned": 2, "Single Copy": false, "Plans": [{"Node Type": "Aggregate", "Strategy": "Sorted", "Partial Mode": "Partial", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 41411.79, "Total Cost": 41450.36, "Plan Rows": 25, "Plan Width": 58, "Output": ["nation.n_name", "PARTIAL sum((lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount)))"], "Group Key": ["nation.n_name"], "Plans": [{"Node Type": "Sort", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 41411.79, "Total Cost": 41419.44, "Plan Rows": 3061, "Plan Width": 38, "Output": ["nation.n_name", "lineitem.l_extendedprice", "lineitem.l_discount"], "Sort Key": ["nation.n_name"], "Plans": [{"Node Type": "Hash Join", "Parent Relationship": "Outer", "Parallel Aware": false, "Join Type": "Inner", "Startup Cost": 475.39, "Total Cost": 41234.56, "Plan Rows": 3061, "Plan Width": 38, "Output": ["nation.n_name", "lineitem.l_extendedprice", "lineitem.l_discount"], "Hash Cond": "((lineitem.l_suppkey = supplier.s_suppkey) AND (customer.c_nationkey = supplier.s_nationkey))", "Plans": [{"Node Type": "Nested Loop", "Parent Relationship": "Outer", "Parallel Aware": false, "Join Type": "Inner", "Startup Cost": 3.39, "Total Cost": 40158.05, "Plan Rows": 76520, "Plan Width": 50, "Output": ["customer.c_nationkey", "lineitem.l_extendedprice", "lineitem.l_discount", "lineitem.l_suppkey", "nation.n_name", "nation.n_nationkey"], "Plans": [{"Node Type": "Nested Loop", "Parent Relationship": "Outer", "Parallel Aware": false, "Join Type": "Inner", "Startup Cost": 2.96, "Total Cost": 17435.0, "Plan Rows": 19126, "Plan Width": 38, "Output": ["customer.c_nationkey", "orders.o_orderkey", "nation.n_name", "nation.n_nationkey"], "Plans": [{"Node Type": "Hash Join", "Parent Relationship": "Outer", "Parallel Aware": false, "Join Type": "Inner", "Startup Cost": 2.53, "Total Cost": 4571.91, "Plan Rows": 12500, "Plan Width": 38, "Output": ["customer.c_custkey", "customer.c_nationkey", "nation.n_name", "nation.n_nationkey"], "Hash Cond": "(customer.c_nationkey = nation.n_nationkey)", "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": true, "Relation Name": "customer", "Schema": "public", "Alias": "customer", "Startup Cost": 0.0, "Total Cost": 4210.0, "Plan Rows": 62500, "Plan Width": 8, "Output": ["customer.c_custkey", "customer.c_name", "customer.c_address", "customer.c_nationkey", "customer.c_phone", "customer.c_acctbal", "customer.c_mktsegment", "customer.c_comment"]}, {"Node Type": "Hash", "Parent Relationship": "Inner", "Parallel Aware": false, "Startup Cost": 2.47, "Total Cost": 2.47, "Plan Rows": 5, "Plan Width": 30, "Output": ["nation.n_name", "nation.n_nationkey"], "Plans": [{"Node Type": "Hash Join", "Parent Relationship": "Outer", "Parallel Aware": false, "Join Type": "Inner", "Startup Cost": 1.07, "Total Cost": 2.47, "Plan Rows": 5, "Plan Width": 30, "Output": ["nation.n_name", "nation.n_nationkey"], "Hash Cond": "(nation.n_regionkey = region.r_regionkey)", "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Relation Name": "nation", "Schema": "public", "Alias": "nation", "Startup Cost": 0.0, "Total Cost": 1.25, "Plan Rows": 25, "Plan Width": 34, "Output": ["nation.n_nationkey", "nation.n_name", "nation.n_regionkey", "nation.n_comment"]}, {"Node Type": "Hash", "Parent Relationship": "Inner", "Parallel Aware": false, "Startup Cost": 1.06, "Total Cost": 1.06, "Plan Rows": 1, "Plan Width": 4, "Output": ["region.r_regionkey"], "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Relation Name": "region", "Schema": "public", "Alias": "region", "Startup Cost": 0.0, "Total Cost": 1.06, "Plan Rows": 1, "Plan Width": 4, "Output": ["region.r_regionkey"], "Filter": "(region.r_name = 'AMERICA'::bpchar)"}]}]}]}]}, {"Node Type": "Index Scan", "Parent Relationship": "Inner", "Parallel Aware": false, "Scan Direction": "Forward", "Index Name": "o_ck", "Relation Name": "orders", "Schema": "public", "Alias": "orders", "Startup Cost": 0.43, "Total Cost": 1.01, "Plan Rows": 2, "Plan Width": 8, "Output": ["orders.o_orderkey", "orders.o_custkey", "orders.o_orderstatus", "orders.o_totalprice", "orders.o_orderdate", "orders.o_orderpriority", "orders.o_clerk", "orders.o_shippriority", "orders.o_comment"], "Index Cond": "(orders.o_custkey = customer.c_custkey)", "Filter": "((orders.o_orderdate >= '1995-01-01'::date) AND (orders.o_orderdate < '1996-01-01 00:00:00'::timestamp without time zone))"}]}, {"Node Type": "Index Scan", "Parent Relationship": "Inner", "Parallel Aware": false, "Scan Direction": "Forward", "Index Name": "l_ok", "Relation Name": "lineitem", "Schema": "public", "Alias": "lineitem", "Startup Cost": 0.43, "Total Cost": 1.14, "Plan Rows": 5, "Plan Width": 20, "Output": ["lineitem.l_orderkey", "lineitem.l_partkey", "lineitem.l_suppkey", "lineitem.l_linenumber", "lineitem.l_quantity", "lineitem.l_extendedprice", "lineitem.l_discount", "lineitem.l_tax", "lineitem.l_returnflag", "lineitem.l_linestatus", "lineitem.l_shipdate", "lineitem.l_commitdate", "lineitem.l_receiptdate", "lineitem.l_shipinstruct", "lineitem.l_shipmode", "lineitem.l_comment"], "Index Cond": "(lineitem.l_orderkey = orders.o_orderkey)"}]}, {"Node Type": "Hash", "Parent Relationship": "Inner", "Parallel Aware": false, "Startup Cost": 322.0, "Total Cost": 322.0, "Plan Rows": 10000, "Plan Width": 8, "Output": ["supplier.s_suppkey", "supplier.s_nationkey"], "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Relation Name": "supplier", "Schema": "public", "Alias": "supplier", "Startup Cost": 0.0, "Total Cost": 322.0, "Plan Rows": 10000, "Plan Width": 8, "Output": ["supplier.s_suppkey", "supplier.s_nationkey"]}]}]}]}]}]}]}]}]}} diff --git a/dev9/pg9/tpch/sf_1/explain/15721/6-1.ok b/dev9/pg9/tpch/sf_1/explain/15721/6-1.ok new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/dev9/pg9/tpch/sf_1/explain/15721/6-1.res b/dev9/pg9/tpch/sf_1/explain/15721/6-1.res new file mode 100644 index 0000000000000000000000000000000000000000..d00b6b774d7b2d8005b39bc8e847fc3d071960b9 --- /dev/null +++ b/dev9/pg9/tpch/sf_1/explain/15721/6-1.res @@ -0,0 +1 @@ +{"Plan": {"Node Type": "Aggregate", "Strategy": "Plain", "Partial Mode": "Finalize", "Parallel Aware": false, "Startup Cost": 140624.15, "Total Cost": 140624.16, "Plan Rows": 1, "Plan Width": 32, "Output": ["sum((l_extendedprice * l_discount))"], "Plans": [{"Node Type": "Gather", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 140623.61, "Total Cost": 140624.12, "Plan Rows": 5, "Plan Width": 32, "Output": ["(PARTIAL sum((l_extendedprice * l_discount)))"], "Workers Planned": 5, "Single Copy": false, "Plans": [{"Node Type": "Aggregate", "Strategy": "Plain", "Partial Mode": "Partial", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 139623.61, "Total Cost": 139623.62, "Plan Rows": 1, "Plan Width": 32, "Output": ["PARTIAL sum((l_extendedprice * l_discount))"], "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": true, "Relation Name": "lineitem", "Schema": "public", "Alias": "lineitem", "Startup Cost": 0.0, "Total Cost": 139508.47, "Plan Rows": 23029, "Plan Width": 12, "Output": ["l_extendedprice", "l_discount"], "Filter": "((lineitem.l_shipdate >= '1995-01-01'::date) AND (lineitem.l_shipdate < '1996-01-01 00:00:00'::timestamp without time zone) AND (lineitem.l_discount >= 0.04) AND (lineitem.l_discount <= 0.06) AND (lineitem.l_quantity < '24'::numeric))"}]}]}]}} diff --git a/dev9/pg9/tpch/sf_1/explain/15721/7-1.ok b/dev9/pg9/tpch/sf_1/explain/15721/7-1.ok new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/dev9/pg9/tpch/sf_1/explain/15721/7-1.res b/dev9/pg9/tpch/sf_1/explain/15721/7-1.res new file mode 100644 index 0000000000000000000000000000000000000000..1e9a25cb03ce8ef413c52233490cd79373fa26bd --- /dev/null +++ b/dev9/pg9/tpch/sf_1/explain/15721/7-1.res @@ -0,0 +1 @@ +{"Plan": {"Node Type": "Aggregate", "Strategy": "Sorted", "Partial Mode": "Simple", "Parallel Aware": false, "Startup Cost": 38687.1, "Total Cost": 38899.94, "Plan Rows": 6081, "Plan Width": 92, "Output": ["n1.n_name", "n2.n_name", "(date_part('year'::text, (lineitem.l_shipdate)::timestamp without time zone))", "sum((lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount)))"], "Group Key": ["n1.n_name", "n2.n_name", "(date_part('year'::text, (lineitem.l_shipdate)::timestamp without time zone))"], "Plans": [{"Node Type": "Sort", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 38687.1, "Total Cost": 38702.3, "Plan Rows": 6081, "Plan Width": 72, "Output": ["n1.n_name", "n2.n_name", "(date_part('year'::text, (lineitem.l_shipdate)::timestamp without time zone))", "lineitem.l_extendedprice", "lineitem.l_discount"], "Sort Key": ["n1.n_name", "n2.n_name", "(date_part('year'::text, (lineitem.l_shipdate)::timestamp without time zone))"], "Plans": [{"Node Type": "Gather", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 26692.3, "Total Cost": 38304.91, "Plan Rows": 6081, "Plan Width": 72, "Output": ["n1.n_name", "n2.n_name", "(date_part('year'::text, (lineitem.l_shipdate)::timestamp without time zone))", "lineitem.l_extendedprice", "lineitem.l_discount"], "Workers Planned": 2, "Single Copy": false, "Plans": [{"Node Type": "Hash Join", "Parent Relationship": "Outer", "Parallel Aware": false, "Join Type": "Inner", "Startup Cost": 25692.3, "Total Cost": 36679.07, "Plan Rows": 2534, "Plan Width": 72, "Output": ["n1.n_name", "n2.n_name", "date_part('year'::text, (lineitem.l_shipdate)::timestamp without time zone)", "lineitem.l_extendedprice", "lineitem.l_discount"], "Hash Cond": "(orders.o_orderkey = lineitem.l_orderkey)", "Join Filter": "(((n1.n_name = 'IRAN'::bpchar) AND (n2.n_name = 'ETHIOPIA'::bpchar)) OR ((n1.n_name = 'ETHIOPIA'::bpchar) AND (n2.n_name = 'IRAN'::bpchar)))", "Plans": [{"Node Type": "Nested Loop", "Parent Relationship": "Outer", "Parallel Aware": false, "Join Type": "Inner", "Startup Cost": 1.83, "Total Cost": 9941.01, "Plan Rows": 50000, "Plan Width": 30, "Output": ["orders.o_orderkey", "n2.n_name"], "Plans": [{"Node Type": "Hash Join", "Parent Relationship": "Outer", "Parallel Aware": false, "Join Type": "Inner", "Startup Cost": 1.4, "Total Cost": 4495.77, "Plan Rows": 5000, "Plan Width": 30, "Output": ["customer.c_custkey", "n2.n_name"], "Hash Cond": "(customer.c_nationkey = n2.n_nationkey)", "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": true, "Relation Name": "customer", "Schema": "public", "Alias": "customer", "Startup Cost": 0.0, "Total Cost": 4210.0, "Plan Rows": 62500, "Plan Width": 8, "Output": ["customer.c_custkey", "customer.c_name", "customer.c_address", "customer.c_nationkey", "customer.c_phone", "customer.c_acctbal", "customer.c_mktsegment", "customer.c_comment"]}, {"Node Type": "Hash", "Parent Relationship": "Inner", "Parallel Aware": false, "Startup Cost": 1.38, "Total Cost": 1.38, "Plan Rows": 2, "Plan Width": 30, "Output": ["n2.n_name", "n2.n_nationkey"], "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Relation Name": "nation", "Schema": "public", "Alias": "n2", "Startup Cost": 0.0, "Total Cost": 1.38, "Plan Rows": 2, "Plan Width": 30, "Output": ["n2.n_name", "n2.n_nationkey"], "Filter": "((n2.n_name = 'ETHIOPIA'::bpchar) OR (n2.n_name = 'IRAN'::bpchar))"}]}]}, {"Node Type": "Index Scan", "Parent Relationship": "Inner", "Parallel Aware": false, "Scan Direction": "Forward", "Index Name": "o_ck", "Relation Name": "orders", "Schema": "public", "Alias": "orders", "Startup Cost": 0.43, "Total Cost": 0.93, "Plan Rows": 16, "Plan Width": 8, "Output": ["orders.o_orderkey", "orders.o_custkey", "orders.o_orderstatus", "orders.o_totalprice", "orders.o_orderdate", "orders.o_orderpriority", "orders.o_clerk", "orders.o_shippriority", "orders.o_comment"], "Index Cond": "(orders.o_custkey = customer.c_custkey)"}]}, {"Node Type": "Hash", "Parent Relationship": "Inner", "Parallel Aware": false, "Startup Cost": 23864.02, "Total Cost": 23864.02, "Plan Rows": 146116, "Plan Width": 46, "Output": ["lineitem.l_shipdate", "lineitem.l_extendedprice", "lineitem.l_discount", "lineitem.l_orderkey", "n1.n_name"], "Plans": [{"Node Type": "Nested Loop", "Parent Relationship": "Outer", "Parallel Aware": false, "Join Type": "Inner", "Startup Cost": 6.02, "Total Cost": 23864.02, "Plan Rows": 146116, "Plan Width": 46, "Output": ["lineitem.l_shipdate", "lineitem.l_extendedprice", "lineitem.l_discount", "lineitem.l_orderkey", "n1.n_name"], "Plans": [{"Node Type": "Nested Loop", "Parent Relationship": "Outer", "Parallel Aware": false, "Join Type": "Inner", "Startup Cost": 5.58, "Total Cost": 259.05, "Plan Rows": 800, "Plan Width": 30, "Output": ["supplier.s_suppkey", "n1.n_name"], "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Relation Name": "nation", "Schema": "public", "Alias": "n1", "Startup Cost": 0.0, "Total Cost": 1.38, "Plan Rows": 2, "Plan Width": 30, "Output": ["n1.n_nationkey", "n1.n_name", "n1.n_regionkey", "n1.n_comment"], "Filter": "((n1.n_name = 'IRAN'::bpchar) OR (n1.n_name = 'ETHIOPIA'::bpchar))"}, {"Node Type": "Bitmap Heap Scan", "Parent Relationship": "Inner", "Parallel Aware": false, "Relation Name": "supplier", "Schema": "public", "Alias": "supplier", "Startup Cost": 5.58, "Total Cost": 124.84, "Plan Rows": 400, "Plan Width": 8, "Output": ["supplier.s_suppkey", "supplier.s_name", "supplier.s_address", "supplier.s_nationkey", "supplier.s_phone", "supplier.s_acctbal", "supplier.s_comment"], "Recheck Cond": "(supplier.s_nationkey = n1.n_nationkey)", "Plans": [{"Node Type": "Bitmap Index Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Index Name": "s_nk", "Startup Cost": 0.0, "Total Cost": 5.49, "Plan Rows": 400, "Plan Width": 0, "Index Cond": "(supplier.s_nationkey = n1.n_nationkey)"}]}]}, {"Node Type": "Index Scan", "Parent Relationship": "Inner", "Parallel Aware": false, "Scan Direction": "Forward", "Index Name": "l_sk", "Relation Name": "lineitem", "Schema": "public", "Alias": "lineitem", "Startup Cost": 0.43, "Total Cost": 27.68, "Plan Rows": 183, "Plan Width": 24, "Output": ["lineitem.l_orderkey", "lineitem.l_partkey", "lineitem.l_suppkey", "lineitem.l_linenumber", "lineitem.l_quantity", "lineitem.l_extendedprice", "lineitem.l_discount", "lineitem.l_tax", "lineitem.l_returnflag", "lineitem.l_linestatus", "lineitem.l_shipdate", "lineitem.l_commitdate", "lineitem.l_receiptdate", "lineitem.l_shipinstruct", "lineitem.l_shipmode", "lineitem.l_comment"], "Index Cond": "(lineitem.l_suppkey = supplier.s_suppkey)", "Filter": "((lineitem.l_shipdate >= '1995-01-01'::date) AND (lineitem.l_shipdate <= '1996-12-31'::date))"}]}]}]}]}]}]}} diff --git a/dev9/pg9/tpch/sf_1/explain/15721/8-1.ok b/dev9/pg9/tpch/sf_1/explain/15721/8-1.ok new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/dev9/pg9/tpch/sf_1/explain/15721/8-1.res b/dev9/pg9/tpch/sf_1/explain/15721/8-1.res new file mode 100644 index 0000000000000000000000000000000000000000..094fbad3c020bcb8d42e575200d53e2711df7a63 --- /dev/null +++ b/dev9/pg9/tpch/sf_1/explain/15721/8-1.res @@ -0,0 +1 @@ +{"Plan": {"Node Type": "Aggregate", "Strategy": "Sorted", "Partial Mode": "Finalize", "Parallel Aware": false, "Startup Cost": 34352.89, "Total Cost": 34437.86, "Plan Rows": 2406, "Plan Width": 40, "Output": ["(date_part('year'::text, (orders.o_orderdate)::timestamp without time zone))", "(sum(CASE WHEN (n2.n_name = 'ETHIOPIA'::bpchar) THEN (lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount)) ELSE '0'::numeric END) / sum((lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount))))"], "Group Key": ["(date_part('year'::text, (orders.o_orderdate)::timestamp without time zone))"], "Plans": [{"Node Type": "Sort", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 34352.89, "Total Cost": 34358.03, "Plan Rows": 2056, "Plan Width": 72, "Output": ["(date_part('year'::text, (orders.o_orderdate)::timestamp without time zone))", "(PARTIAL sum(CASE WHEN (n2.n_name = 'ETHIOPIA'::bpchar) THEN (lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount)) ELSE '0'::numeric END))", "(PARTIAL sum((lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount))))"], "Sort Key": ["(date_part('year'::text, (orders.o_orderdate)::timestamp without time zone))"], "Plans": [{"Node Type": "Gather", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 33990.46, "Total Cost": 34239.75, "Plan Rows": 2056, "Plan Width": 72, "Output": ["(date_part('year'::text, (orders.o_orderdate)::timestamp without time zone))", "(PARTIAL sum(CASE WHEN (n2.n_name = 'ETHIOPIA'::bpchar) THEN (lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount)) ELSE '0'::numeric END))", "(PARTIAL sum((lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount))))"], "Workers Planned": 2, "Single Copy": false, "Plans": [{"Node Type": "Aggregate", "Strategy": "Sorted", "Partial Mode": "Partial", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 32990.46, "Total Cost": 33034.15, "Plan Rows": 1028, "Plan Width": 72, "Output": ["(date_part('year'::text, (orders.o_orderdate)::timestamp without time zone))", "PARTIAL sum(CASE WHEN (n2.n_name = 'ETHIOPIA'::bpchar) THEN (lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount)) ELSE '0'::numeric END)", "PARTIAL sum((lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount)))"], "Group Key": ["(date_part('year'::text, (orders.o_orderdate)::timestamp without time zone))"], "Plans": [{"Node Type": "Sort", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 32990.46, "Total Cost": 32993.03, "Plan Rows": 1028, "Plan Width": 46, "Output": ["(date_part('year'::text, (orders.o_orderdate)::timestamp without time zone))", "n2.n_name", "lineitem.l_extendedprice", "lineitem.l_discount"], "Sort Key": ["(date_part('year'::text, (orders.o_orderdate)::timestamp without time zone))"], "Plans": [{"Node Type": "Hash Join", "Parent Relationship": "Outer", "Parallel Aware": false, "Join Type": "Inner", "Startup Cost": 2060.15, "Total Cost": 32939.03, "Plan Rows": 1028, "Plan Width": 46, "Output": ["date_part('year'::text, (orders.o_orderdate)::timestamp without time zone)", "n2.n_name", "lineitem.l_extendedprice", "lineitem.l_discount"], "Hash Cond": "(supplier.s_nationkey = n2.n_nationkey)", "Plans": [{"Node Type": "Nested Loop", "Parent Relationship": "Outer", "Parallel Aware": false, "Join Type": "Inner", "Startup Cost": 2058.59, "Total Cost": 32918.19, "Plan Rows": 1028, "Plan Width": 20, "Output": ["lineitem.l_extendedprice", "lineitem.l_discount", "supplier.s_nationkey", "orders.o_orderdate"], "Plans": [{"Node Type": "Hash Join", "Parent Relationship": "Outer", "Parallel Aware": false, "Join Type": "Inner", "Startup Cost": 2058.3, "Total Cost": 32596.89, "Plan Rows": 1028, "Plan Width": 20, "Output": ["lineitem.l_extendedprice", "lineitem.l_discount", "lineitem.l_suppkey", "orders.o_orderdate"], "Hash Cond": "(orders.o_custkey = customer.c_custkey)", "Plans": [{"Node Type": "Nested Loop", "Parent Relationship": "Outer", "Parallel Aware": false, "Join Type": "Inner", "Startup Cost": 0.86, "Total Cost": 30509.9, "Plan Rows": 5138, "Plan Width": 24, "Output": ["lineitem.l_extendedprice", "lineitem.l_discount", "lineitem.l_suppkey", "orders.o_orderdate", "orders.o_custkey"], "Plans": [{"Node Type": "Nested Loop", "Parent Relationship": "Outer", "Parallel Aware": false, "Join Type": "Inner", "Startup Cost": 0.43, "Total Cost": 22640.92, "Plan Rows": 16903, "Plan Width": 20, "Output": ["lineitem.l_extendedprice", "lineitem.l_discount", "lineitem.l_suppkey", "lineitem.l_orderkey"], "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": true, "Relation Name": "part", "Schema": "public", "Alias": "part", "Startup Cost": 0.0, "Total Cost": 5138.67, "Plan Rows": 563, "Plan Width": 4, "Output": ["part.p_partkey", "part.p_name", "part.p_mfgr", "part.p_brand", "part.p_type", "part.p_size", "part.p_container", "part.p_retailprice", "part.p_comment"], "Filter": "((part.p_type)::text = 'SMALL BRUSHED NICKEL'::text)"}, {"Node Type": "Index Scan", "Parent Relationship": "Inner", "Parallel Aware": false, "Scan Direction": "Forward", "Index Name": "l_pk", "Relation Name": "lineitem", "Schema": "public", "Alias": "lineitem", "Startup Cost": 0.43, "Total Cost": 30.78, "Plan Rows": 31, "Plan Width": 24, "Output": ["lineitem.l_orderkey", "lineitem.l_partkey", "lineitem.l_suppkey", "lineitem.l_linenumber", "lineitem.l_quantity", "lineitem.l_extendedprice", "lineitem.l_discount", "lineitem.l_tax", "lineitem.l_returnflag", "lineitem.l_linestatus", "lineitem.l_shipdate", "lineitem.l_commitdate", "lineitem.l_receiptdate", "lineitem.l_shipinstruct", "lineitem.l_shipmode", "lineitem.l_comment"], "Index Cond": "(lineitem.l_partkey = part.p_partkey)"}]}, {"Node Type": "Index Scan", "Parent Relationship": "Inner", "Parallel Aware": false, "Scan Direction": "Forward", "Index Name": "o_ok", "Relation Name": "orders", "Schema": "public", "Alias": "orders", "Startup Cost": 0.43, "Total Cost": 0.46, "Plan Rows": 1, "Plan Width": 12, "Output": ["orders.o_orderkey", "orders.o_custkey", "orders.o_orderstatus", "orders.o_totalprice", "orders.o_orderdate", "orders.o_orderpriority", "orders.o_clerk", "orders.o_shippriority", "orders.o_comment"], "Index Cond": "(orders.o_orderkey = lineitem.l_orderkey)", "Filter": "((orders.o_orderdate >= '1995-01-01'::date) AND (orders.o_orderdate <= '1996-12-31'::date))"}]}, {"Node Type": "Hash", "Parent Relationship": "Inner", "Parallel Aware": false, "Startup Cost": 1682.44, "Total Cost": 1682.44, "Plan Rows": 30000, "Plan Width": 4, "Output": ["customer.c_custkey"], "Plans": [{"Node Type": "Nested Loop", "Parent Relationship": "Outer", "Parallel Aware": false, "Join Type": "Inner", "Startup Cost": 0.56, "Total Cost": 1682.44, "Plan Rows": 30000, "Plan Width": 4, "Output": ["customer.c_custkey"], "Plans": [{"Node Type": "Nested Loop", "Parent Relationship": "Outer", "Parallel Aware": false, "Join Type": "Inner", "Startup Cost": 0.14, "Total Cost": 5.25, "Plan Rows": 5, "Plan Width": 4, "Output": ["n1.n_nationkey"], "Join Filter": "(n1.n_regionkey = region.r_regionkey)", "Plans": [{"Node Type": "Index Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Scan Direction": "Forward", "Index Name": "n_nk", "Relation Name": "nation", "Schema": "public", "Alias": "n1", "Startup Cost": 0.14, "Total Cost": 3.81, "Plan Rows": 25, "Plan Width": 8, "Output": ["n1.n_nationkey", "n1.n_name", "n1.n_regionkey", "n1.n_comment"]}, {"Node Type": "Materialize", "Parent Relationship": "Inner", "Parallel Aware": false, "Startup Cost": 0.0, "Total Cost": 1.07, "Plan Rows": 1, "Plan Width": 4, "Output": ["region.r_regionkey"], "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Relation Name": "region", "Schema": "public", "Alias": "region", "Startup Cost": 0.0, "Total Cost": 1.06, "Plan Rows": 1, "Plan Width": 4, "Output": ["region.r_regionkey"], "Filter": "(region.r_name = 'AFRICA'::bpchar)"}]}]}, {"Node Type": "Index Scan", "Parent Relationship": "Inner", "Parallel Aware": false, "Scan Direction": "Forward", "Index Name": "c_nk", "Relation Name": "customer", "Schema": "public", "Alias": "customer", "Startup Cost": 0.42, "Total Cost": 275.44, "Plan Rows": 6000, "Plan Width": 8, "Output": ["customer.c_custkey", "customer.c_name", "customer.c_address", "customer.c_nationkey", "customer.c_phone", "customer.c_acctbal", "customer.c_mktsegment", "customer.c_comment"], "Index Cond": "(customer.c_nationkey = n1.n_nationkey)"}]}]}]}, {"Node Type": "Index Scan", "Parent Relationship": "Inner", "Parallel Aware": false, "Scan Direction": "Forward", "Index Name": "s_sk", "Relation Name": "supplier", "Schema": "public", "Alias": "supplier", "Startup Cost": 0.29, "Total Cost": 0.3, "Plan Rows": 1, "Plan Width": 8, "Output": ["supplier.s_suppkey", "supplier.s_name", "supplier.s_address", "supplier.s_nationkey", "supplier.s_phone", "supplier.s_acctbal", "supplier.s_comment"], "Index Cond": "(supplier.s_suppkey = lineitem.l_suppkey)"}]}, {"Node Type": "Hash", "Parent Relationship": "Inner", "Parallel Aware": false, "Startup Cost": 1.25, "Total Cost": 1.25, "Plan Rows": 25, "Plan Width": 30, "Output": ["n2.n_name", "n2.n_nationkey"], "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Relation Name": "nation", "Schema": "public", "Alias": "n2", "Startup Cost": 0.0, "Total Cost": 1.25, "Plan Rows": 25, "Plan Width": 30, "Output": ["n2.n_name", "n2.n_nationkey"]}]}]}]}]}]}]}]}} diff --git a/dev9/pg9/tpch/sf_1/explain/15721/9-1.ok b/dev9/pg9/tpch/sf_1/explain/15721/9-1.ok new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/dev9/pg9/tpch/sf_1/explain/15721/9-1.res b/dev9/pg9/tpch/sf_1/explain/15721/9-1.res new file mode 100644 index 0000000000000000000000000000000000000000..44dfc2676fb3aeda36ae1b2bfca36e97bb6d21e9 --- /dev/null +++ b/dev9/pg9/tpch/sf_1/explain/15721/9-1.res @@ -0,0 +1 @@ +{"Plan": {"Node Type": "Sort", "Parallel Aware": false, "Startup Cost": 114280.47, "Total Cost": 114430.84, "Plan Rows": 60150, "Plan Width": 66, "Output": ["nation.n_name", "(date_part('year'::text, (orders.o_orderdate)::timestamp without time zone))", "(sum(((lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount)) - (partsupp.ps_supplycost * lineitem.l_quantity))))"], "Sort Key": ["nation.n_name", "(date_part('year'::text, (orders.o_orderdate)::timestamp without time zone)) DESC"], "Plans": [{"Node Type": "Aggregate", "Strategy": "Hashed", "Partial Mode": "Finalize", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 108453.05, "Total Cost": 109505.68, "Plan Rows": 60150, "Plan Width": 66, "Output": ["nation.n_name", "(date_part('year'::text, (orders.o_orderdate)::timestamp without time zone))", "sum(((lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount)) - (partsupp.ps_supplycost * lineitem.l_quantity)))"], "Group Key": ["nation.n_name", "(date_part('year'::text, (orders.o_orderdate)::timestamp without time zone))"], "Plans": [{"Node Type": "Gather", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 94167.43, "Total Cost": 107250.05, "Plan Rows": 120300, "Plan Width": 66, "Output": ["nation.n_name", "(date_part('year'::text, (orders.o_orderdate)::timestamp without time zone))", "(PARTIAL sum(((lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount)) - (partsupp.ps_supplycost * lineitem.l_quantity))))"], "Workers Planned": 2, "Single Copy": false, "Plans": [{"Node Type": "Aggregate", "Strategy": "Hashed", "Partial Mode": "Partial", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 93167.43, "Total Cost": 94220.05, "Plan Rows": 60150, "Plan Width": 66, "Output": ["nation.n_name", "(date_part('year'::text, (orders.o_orderdate)::timestamp without time zone))", "PARTIAL sum(((lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount)) - (partsupp.ps_supplycost * lineitem.l_quantity)))"], "Group Key": ["nation.n_name", "date_part('year'::text, (orders.o_orderdate)::timestamp without time zone)"], "Plans": [{"Node Type": "Nested Loop", "Parent Relationship": "Outer", "Parallel Aware": false, "Join Type": "Inner", "Startup Cost": 587.35, "Total Cost": 90712.13, "Plan Rows": 140303, "Plan Width": 57, "Output": ["nation.n_name", "date_part('year'::text, (orders.o_orderdate)::timestamp without time zone)", "lineitem.l_extendedprice", "lineitem.l_discount", "partsupp.ps_supplycost", "lineitem.l_quantity"], "Plans": [{"Node Type": "Nested Loop", "Parent Relationship": "Outer", "Parallel Aware": false, "Join Type": "Inner", "Startup Cost": 586.92, "Total Cost": 25395.81, "Plan Rows": 140303, "Plan Width": 53, "Output": ["lineitem.l_extendedprice", "lineitem.l_discount", "lineitem.l_quantity", "lineitem.l_orderkey", "partsupp.ps_supplycost", "nation.n_name"], "Join Filter": "(supplier.s_suppkey = lineitem.l_suppkey)", "Plans": [{"Node Type": "Hash Join", "Parent Relationship": "Outer", "Parallel Aware": false, "Join Type": "Inner", "Startup Cost": 586.49, "Total Cost": 13382.5, "Plan Rows": 18703, "Plan Width": 48, "Output": ["part.p_partkey", "partsupp.ps_supplycost", "partsupp.ps_suppkey", "partsupp.ps_partkey", "supplier.s_suppkey", "nation.n_name"], "Hash Cond": "(partsupp.ps_suppkey = supplier.s_suppkey)", "Plans": [{"Node Type": "Nested Loop", "Parent Relationship": "Outer", "Parallel Aware": false, "Join Type": "Inner", "Startup Cost": 0.42, "Total Cost": 12539.27, "Plan Rows": 18703, "Plan Width": 18, "Output": ["part.p_partkey", "partsupp.ps_supplycost", "partsupp.ps_suppkey", "partsupp.ps_partkey"], "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": true, "Relation Name": "part", "Schema": "public", "Alias": "part", "Startup Cost": 0.0, "Total Cost": 5138.67, "Plan Rows": 4676, "Plan Width": 4, "Output": ["part.p_partkey", "part.p_name", "part.p_mfgr", "part.p_brand", "part.p_type", "part.p_size", "part.p_container", "part.p_retailprice", "part.p_comment"], "Filter": "((part.p_name)::text ~~ '%forest%'::text)"}, {"Node Type": "Index Scan", "Parent Relationship": "Inner", "Parallel Aware": false, "Scan Direction": "Forward", "Index Name": "ps_pk", "Relation Name": "partsupp", "Schema": "public", "Alias": "partsupp", "Startup Cost": 0.42, "Total Cost": 1.54, "Plan Rows": 4, "Plan Width": 14, "Output": ["partsupp.ps_partkey", "partsupp.ps_suppkey", "partsupp.ps_availqty", "partsupp.ps_supplycost", "partsupp.ps_comment"], "Index Cond": "(partsupp.ps_partkey = part.p_partkey)"}]}, {"Node Type": "Hash", "Parent Relationship": "Inner", "Parallel Aware": false, "Startup Cost": 461.06, "Total Cost": 461.06, "Plan Rows": 10000, "Plan Width": 30, "Output": ["supplier.s_suppkey", "nation.n_name"], "Plans": [{"Node Type": "Hash Join", "Parent Relationship": "Outer", "Parallel Aware": false, "Join Type": "Inner", "Startup Cost": 1.56, "Total Cost": 461.06, "Plan Rows": 10000, "Plan Width": 30, "Output": ["supplier.s_suppkey", "nation.n_name"], "Hash Cond": "(supplier.s_nationkey = nation.n_nationkey)", "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Relation Name": "supplier", "Schema": "public", "Alias": "supplier", "Startup Cost": 0.0, "Total Cost": 322.0, "Plan Rows": 10000, "Plan Width": 8, "Output": ["supplier.s_suppkey", "supplier.s_name", "supplier.s_address", "supplier.s_nationkey", "supplier.s_phone", "supplier.s_acctbal", "supplier.s_comment"]}, {"Node Type": "Hash", "Parent Relationship": "Inner", "Parallel Aware": false, "Startup Cost": 1.25, "Total Cost": 1.25, "Plan Rows": 25, "Plan Width": 30, "Output": ["nation.n_name", "nation.n_nationkey"], "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Relation Name": "nation", "Schema": "public", "Alias": "nation", "Startup Cost": 0.0, "Total Cost": 1.25, "Plan Rows": 25, "Plan Width": 30, "Output": ["nation.n_name", "nation.n_nationkey"]}]}]}]}]}, {"Node Type": "Index Scan", "Parent Relationship": "Inner", "Parallel Aware": false, "Scan Direction": "Forward", "Index Name": "l_sk_pk", "Relation Name": "lineitem", "Schema": "public", "Alias": "lineitem", "Startup Cost": 0.43, "Total Cost": 0.63, "Plan Rows": 1, "Plan Width": 29, "Output": ["lineitem.l_orderkey", "lineitem.l_partkey", "lineitem.l_suppkey", "lineitem.l_linenumber", "lineitem.l_quantity", "lineitem.l_extendedprice", "lineitem.l_discount", "lineitem.l_tax", "lineitem.l_returnflag", "lineitem.l_linestatus", "lineitem.l_shipdate", "lineitem.l_commitdate", "lineitem.l_receiptdate", "lineitem.l_shipinstruct", "lineitem.l_shipmode", "lineitem.l_comment"], "Index Cond": "((lineitem.l_suppkey = partsupp.ps_suppkey) AND (lineitem.l_partkey = partsupp.ps_partkey))"}]}, {"Node Type": "Index Scan", "Parent Relationship": "Inner", "Parallel Aware": false, "Scan Direction": "Forward", "Index Name": "o_ok", "Relation Name": "orders", "Schema": "public", "Alias": "orders", "Startup Cost": 0.43, "Total Cost": 0.45, "Plan Rows": 1, "Plan Width": 8, "Output": ["orders.o_orderkey", "orders.o_custkey", "orders.o_orderstatus", "orders.o_totalprice", "orders.o_orderdate", "orders.o_orderpriority", "orders.o_clerk", "orders.o_shippriority", "orders.o_comment"], "Index Cond": "(orders.o_orderkey = lineitem.l_orderkey)"}]}]}]}]}]}} diff --git a/dev9/pg9/tpch/sf_1/explain_analyze/15721/1-1.ok b/dev9/pg9/tpch/sf_1/explain_analyze/15721/1-1.ok new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/dev9/pg9/tpch/sf_1/explain_analyze/15721/1-1.res b/dev9/pg9/tpch/sf_1/explain_analyze/15721/1-1.res new file mode 100644 index 0000000000000000000000000000000000000000..efb6db5cabf38b63f6469c704231be1d68b061fa --- /dev/null +++ b/dev9/pg9/tpch/sf_1/explain_analyze/15721/1-1.res @@ -0,0 +1 @@ +{"Plan": {"Node Type": "Aggregate", "Strategy": "Sorted", "Partial Mode": "Finalize", "Parallel Aware": false, "Startup Cost": 175397.5, "Total Cost": 175399.01, "Plan Rows": 6, "Plan Width": 236, "Actual Startup Time": 2292.775, "Actual Total Time": 2292.835, "Actual Rows": 4, "Actual Loops": 1, "Output": ["l_returnflag", "l_linestatus", "sum(l_quantity)", "sum(l_extendedprice)", "sum((l_extendedprice * ('1'::numeric - l_discount)))", "sum(((l_extendedprice * ('1'::numeric - l_discount)) * ('1'::numeric + l_tax)))", "avg(l_quantity)", "avg(l_extendedprice)", "avg(l_discount)", "count(*)"], "Group Key": ["lineitem.l_returnflag", "lineitem.l_linestatus"], "Plans": [{"Node Type": "Sort", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 175397.5, "Total Cost": 175397.57, "Plan Rows": 30, "Plan Width": 236, "Actual Startup Time": 2292.745, "Actual Total Time": 2292.747, "Actual Rows": 24, "Actual Loops": 1, "Output": ["l_returnflag", "l_linestatus", "(PARTIAL sum(l_quantity))", "(PARTIAL sum(l_extendedprice))", "(PARTIAL sum((l_extendedprice * ('1'::numeric - l_discount))))", "(PARTIAL sum(((l_extendedprice * ('1'::numeric - l_discount)) * ('1'::numeric + l_tax))))", "(PARTIAL avg(l_quantity))", "(PARTIAL avg(l_extendedprice))", "(PARTIAL avg(l_discount))", "(PARTIAL count(*))"], "Sort Key": ["lineitem.l_returnflag", "lineitem.l_linestatus"], "Sort Method": "quicksort", "Sort Space Used": 37, "Sort Space Type": "Memory", "Plans": [{"Node Type": "Gather", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 175393.6, "Total Cost": 175396.76, "Plan Rows": 30, "Plan Width": 236, "Actual Startup Time": 2292.383, "Actual Total Time": 2503.036, "Actual Rows": 24, "Actual Loops": 1, "Output": ["l_returnflag", "l_linestatus", "(PARTIAL sum(l_quantity))", "(PARTIAL sum(l_extendedprice))", "(PARTIAL sum((l_extendedprice * ('1'::numeric - l_discount))))", "(PARTIAL sum(((l_extendedprice * ('1'::numeric - l_discount)) * ('1'::numeric + l_tax))))", "(PARTIAL avg(l_quantity))", "(PARTIAL avg(l_extendedprice))", "(PARTIAL avg(l_discount))", "(PARTIAL count(*))"], "Workers Planned": 5, "Workers Launched": 5, "Single Copy": false, "Plans": [{"Node Type": "Aggregate", "Strategy": "Hashed", "Partial Mode": "Partial", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 174393.6, "Total Cost": 174393.76, "Plan Rows": 6, "Plan Width": 236, "Actual Startup Time": 2288.792, "Actual Total Time": 2288.801, "Actual Rows": 4, "Actual Loops": 6, "Output": ["l_returnflag", "l_linestatus", "PARTIAL sum(l_quantity)", "PARTIAL sum(l_extendedprice)", "PARTIAL sum((l_extendedprice * ('1'::numeric - l_discount)))", "PARTIAL sum(((l_extendedprice * ('1'::numeric - l_discount)) * ('1'::numeric + l_tax)))", "PARTIAL avg(l_quantity)", "PARTIAL avg(l_extendedprice)", "PARTIAL avg(l_discount)", "PARTIAL count(*)"], "Group Key": ["lineitem.l_returnflag", "lineitem.l_linestatus"], "Workers": [{"Worker Number": 0, "Actual Startup Time": 2288.209, "Actual Total Time": 2288.217, "Actual Rows": 4, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 2288.224, "Actual Total Time": 2288.233, "Actual Rows": 4, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 2288.165, "Actual Total Time": 2288.174, "Actual Rows": 4, "Actual Loops": 1}, {"Worker Number": 3, "Actual Startup Time": 2288.087, "Actual Total Time": 2288.095, "Actual Rows": 4, "Actual Loops": 1}, {"Worker Number": 4, "Actual Startup Time": 2288.079, "Actual Total Time": 2288.088, "Actual Rows": 4, "Actual Loops": 1}], "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": true, "Relation Name": "lineitem", "Schema": "public", "Alias": "lineitem", "Startup Cost": 0.0, "Total Cost": 127506.04, "Plan Rows": 1172189, "Plan Width": 25, "Actual Startup Time": 0.024, "Actual Total Time": 326.632, "Actual Rows": 976793, "Actual Loops": 6, "Output": ["l_returnflag", "l_linestatus", "l_quantity", "l_extendedprice", "l_discount", "l_tax"], "Filter": "(lineitem.l_shipdate <= '1998-08-07 23:59:57'::timestamp without time zone)", "Rows Removed by Filter": 23410, "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.025, "Actual Total Time": 326.312, "Actual Rows": 975785, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 0.027, "Actual Total Time": 350.601, "Actual Rows": 954121, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 0.025, "Actual Total Time": 329.983, "Actual Rows": 968989, "Actual Loops": 1}, {"Worker Number": 3, "Actual Startup Time": 0.034, "Actual Total Time": 333.992, "Actual Rows": 977156, "Actual Loops": 1}, {"Worker Number": 4, "Actual Startup Time": 0.026, "Actual Total Time": 332.717, "Actual Rows": 977674, "Actual Loops": 1}]}]}]}]}]}, "Planning Time": 0.39, "Triggers": [], "Execution Time": 2503.263} diff --git a/dev9/pg9/tpch/sf_1/explain_analyze/15721/10-1.ok b/dev9/pg9/tpch/sf_1/explain_analyze/15721/10-1.ok new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/dev9/pg9/tpch/sf_1/explain_analyze/15721/10-1.res b/dev9/pg9/tpch/sf_1/explain_analyze/15721/10-1.res new file mode 100644 index 0000000000000000000000000000000000000000..71ea636e0bbf1df4edaf4134301146919cf21051 --- /dev/null +++ b/dev9/pg9/tpch/sf_1/explain_analyze/15721/10-1.res @@ -0,0 +1 @@ +{"Plan": {"Node Type": "Limit", "Parallel Aware": false, "Startup Cost": 81921.63, "Total Cost": 81921.68, "Plan Rows": 20, "Plan Width": 202, "Actual Startup Time": 359.245, "Actual Total Time": 359.249, "Actual Rows": 20, "Actual Loops": 1, "Output": ["customer.c_custkey", "customer.c_name", "(sum((lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount))))", "customer.c_acctbal", "nation.n_name", "customer.c_address", "customer.c_phone", "customer.c_comment"], "Plans": [{"Node Type": "Sort", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 81921.63, "Total Cost": 82052.48, "Plan Rows": 52341, "Plan Width": 202, "Actual Startup Time": 359.243, "Actual Total Time": 359.244, "Actual Rows": 20, "Actual Loops": 1, "Output": ["customer.c_custkey", "customer.c_name", "(sum((lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount))))", "customer.c_acctbal", "nation.n_name", "customer.c_address", "customer.c_phone", "customer.c_comment"], "Sort Key": ["(sum((lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount)))) DESC"], "Sort Method": "top-N heapsort", "Sort Space Used": 30, "Sort Space Type": "Memory", "Plans": [{"Node Type": "Aggregate", "Strategy": "Hashed", "Partial Mode": "Simple", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 79874.59, "Total Cost": 80528.85, "Plan Rows": 52341, "Plan Width": 202, "Actual Startup Time": 324.087, "Actual Total Time": 345.7, "Actual Rows": 37047, "Actual Loops": 1, "Output": ["customer.c_custkey", "customer.c_name", "sum((lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount)))", "customer.c_acctbal", "nation.n_name", "customer.c_address", "customer.c_phone", "customer.c_comment"], "Group Key": ["customer.c_custkey", "nation.n_name"], "Plans": [{"Node Type": "Gather", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 1002.41, "Total Cost": 79220.33, "Plan Rows": 52341, "Plan Width": 182, "Actual Startup Time": 0.504, "Actual Total Time": 215.1, "Actual Rows": 110515, "Actual Loops": 1, "Output": ["customer.c_custkey", "nation.n_name", "customer.c_name", "lineitem.l_extendedprice", "lineitem.l_discount", "customer.c_acctbal", "customer.c_address", "customer.c_phone", "customer.c_comment"], "Workers Planned": 3, "Workers Launched": 3, "Single Copy": false, "Plans": [{"Node Type": "Hash Join", "Parent Relationship": "Outer", "Parallel Aware": false, "Join Type": "Inner", "Startup Cost": 2.42, "Total Cost": 72986.23, "Plan Rows": 16884, "Plan Width": 182, "Actual Startup Time": 0.257, "Actual Total Time": 272.14, "Actual Rows": 27629, "Actual Loops": 4, "Output": ["customer.c_custkey", "nation.n_name", "customer.c_name", "lineitem.l_extendedprice", "lineitem.l_discount", "customer.c_acctbal", "customer.c_address", "customer.c_phone", "customer.c_comment"], "Hash Cond": "(customer.c_nationkey = nation.n_nationkey)", "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.328, "Actual Total Time": 305.546, "Actual Rows": 30132, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 0.324, "Actual Total Time": 305.633, "Actual Rows": 29978, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 0.323, "Actual Total Time": 305.647, "Actual Rows": 30788, "Actual Loops": 1}], "Plans": [{"Node Type": "Nested Loop", "Parent Relationship": "Outer", "Parallel Aware": false, "Join Type": "Inner", "Startup Cost": 0.85, "Total Cost": 72752.51, "Plan Rows": 16884, "Plan Width": 160, "Actual Startup Time": 0.127, "Actual Total Time": 263.363, "Actual Rows": 27629, "Actual Loops": 4, "Output": ["customer.c_custkey", "customer.c_name", "customer.c_acctbal", "customer.c_address", "customer.c_phone", "customer.c_comment", "customer.c_nationkey", "lineitem.l_extendedprice", "lineitem.l_discount"], "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.16, "Actual Total Time": 295.953, "Actual Rows": 30132, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 0.154, "Actual Total Time": 296.231, "Actual Rows": 29978, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 0.16, "Actual Total Time": 295.977, "Actual Rows": 30788, "Actual Loops": 1}], "Plans": [{"Node Type": "Nested Loop", "Parent Relationship": "Outer", "Parallel Aware": false, "Join Type": "Inner", "Startup Cost": 0.43, "Total Cost": 63802.94, "Plan Rows": 16884, "Plan Width": 16, "Actual Startup Time": 0.079, "Actual Total Time": 181.186, "Actual Rows": 27629, "Actual Loops": 4, "Output": ["orders.o_custkey", "lineitem.l_extendedprice", "lineitem.l_discount"], "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.098, "Actual Total Time": 207.12, "Actual Rows": 30132, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 0.093, "Actual Total Time": 206.407, "Actual Rows": 29978, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 0.099, "Actual Total Time": 205.719, "Actual Rows": 30788, "Actual Loops": 1}], "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": true, "Relation Name": "orders", "Schema": "public", "Alias": "orders", "Startup Cost": 0.0, "Total Cost": 33353.06, "Plan Rows": 17187, "Plan Width": 8, "Actual Startup Time": 0.023, "Actual Total Time": 82.764, "Actual Rows": 13816, "Actual Loops": 4, "Output": ["orders.o_orderkey", "orders.o_custkey", "orders.o_orderstatus", "orders.o_totalprice", "orders.o_orderdate", "orders.o_orderpriority", "orders.o_clerk", "orders.o_shippriority", "orders.o_comment"], "Filter": "((orders.o_orderdate >= '1993-02-01'::date) AND (orders.o_orderdate < '1993-05-01 00:00:00'::timestamp without time zone))", "Rows Removed by Filter": 361184, "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.025, "Actual Total Time": 93.687, "Actual Rows": 15023, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 0.026, "Actual Total Time": 92.908, "Actual Rows": 15139, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 0.026, "Actual Total Time": 92.214, "Actual Rows": 15318, "Actual Loops": 1}]}, {"Node Type": "Index Scan", "Parent Relationship": "Inner", "Parallel Aware": false, "Scan Direction": "Forward", "Index Name": "l_ok", "Relation Name": "lineitem", "Schema": "public", "Alias": "lineitem", "Startup Cost": 0.43, "Total Cost": 1.76, "Plan Rows": 1, "Plan Width": 16, "Actual Startup Time": 0.006, "Actual Total Time": 0.007, "Actual Rows": 2, "Actual Loops": 55266, "Output": ["lineitem.l_orderkey", "lineitem.l_partkey", "lineitem.l_suppkey", "lineitem.l_linenumber", "lineitem.l_quantity", "lineitem.l_extendedprice", "lineitem.l_discount", "lineitem.l_tax", "lineitem.l_returnflag", "lineitem.l_linestatus", "lineitem.l_shipdate", "lineitem.l_commitdate", "lineitem.l_receiptdate", "lineitem.l_shipinstruct", "lineitem.l_shipmode", "lineitem.l_comment"], "Index Cond": "(lineitem.l_orderkey = orders.o_orderkey)", "Rows Removed by Index Recheck": 0, "Filter": "(lineitem.l_returnflag = 'R'::bpchar)", "Rows Removed by Filter": 2, "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.006, "Actual Total Time": 0.007, "Actual Rows": 2, "Actual Loops": 15023}, {"Worker Number": 1, "Actual Startup Time": 0.006, "Actual Total Time": 0.007, "Actual Rows": 2, "Actual Loops": 15139}, {"Worker Number": 2, "Actual Startup Time": 0.006, "Actual Total Time": 0.007, "Actual Rows": 2, "Actual Loops": 15318}]}]}, {"Node Type": "Index Scan", "Parent Relationship": "Inner", "Parallel Aware": false, "Scan Direction": "Forward", "Index Name": "c_ck", "Relation Name": "customer", "Schema": "public", "Alias": "customer", "Startup Cost": 0.42, "Total Cost": 0.52, "Plan Rows": 1, "Plan Width": 148, "Actual Startup Time": 0.002, "Actual Total Time": 0.003, "Actual Rows": 1, "Actual Loops": 110515, "Output": ["customer.c_custkey", "customer.c_name", "customer.c_address", "customer.c_nationkey", "customer.c_phone", "customer.c_acctbal", "customer.c_mktsegment", "customer.c_comment"], "Index Cond": "(customer.c_custkey = orders.o_custkey)", "Rows Removed by Index Recheck": 0, "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.002, "Actual Total Time": 0.003, "Actual Rows": 1, "Actual Loops": 30132}, {"Worker Number": 1, "Actual Startup Time": 0.002, "Actual Total Time": 0.003, "Actual Rows": 1, "Actual Loops": 29978}, {"Worker Number": 2, "Actual Startup Time": 0.002, "Actual Total Time": 0.002, "Actual Rows": 1, "Actual Loops": 30788}]}]}, {"Node Type": "Hash", "Parent Relationship": "Inner", "Parallel Aware": false, "Startup Cost": 1.25, "Total Cost": 1.25, "Plan Rows": 25, "Plan Width": 30, "Actual Startup Time": 0.023, "Actual Total Time": 0.023, "Actual Rows": 25, "Actual Loops": 4, "Output": ["nation.n_name", "nation.n_nationkey"], "Hash Buckets": 1024, "Original Hash Buckets": 1024, "Hash Batches": 1, "Original Hash Batches": 1, "Peak Memory Usage": 10, "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.026, "Actual Total Time": 0.026, "Actual Rows": 25, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 0.026, "Actual Total Time": 0.026, "Actual Rows": 25, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 0.027, "Actual Total Time": 0.027, "Actual Rows": 25, "Actual Loops": 1}], "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Relation Name": "nation", "Schema": "public", "Alias": "nation", "Startup Cost": 0.0, "Total Cost": 1.25, "Plan Rows": 25, "Plan Width": 30, "Actual Startup Time": 0.012, "Actual Total Time": 0.017, "Actual Rows": 25, "Actual Loops": 4, "Output": ["nation.n_name", "nation.n_nationkey"], "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.016, "Actual Total Time": 0.02, "Actual Rows": 25, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 0.015, "Actual Total Time": 0.018, "Actual Rows": 25, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 0.015, "Actual Total Time": 0.02, "Actual Rows": 25, "Actual Loops": 1}]}]}]}]}]}]}]}, "Planning Time": 0.937, "Triggers": [], "Execution Time": 359.495} diff --git a/dev9/pg9/tpch/sf_1/explain_analyze/15721/11-1.ok b/dev9/pg9/tpch/sf_1/explain_analyze/15721/11-1.ok new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/dev9/pg9/tpch/sf_1/explain_analyze/15721/11-1.res b/dev9/pg9/tpch/sf_1/explain_analyze/15721/11-1.res new file mode 100644 index 0000000000000000000000000000000000000000..57208c342d32f231d511f1b9a39187ccf9504bcf --- /dev/null +++ b/dev9/pg9/tpch/sf_1/explain_analyze/15721/11-1.res @@ -0,0 +1 @@ +{"Plan": {"Node Type": "Sort", "Parallel Aware": false, "Startup Cost": 7958.32, "Total Cost": 8038.32, "Plan Rows": 32000, "Plan Width": 36, "Actual Startup Time": 105.043, "Actual Total Time": 105.119, "Actual Rows": 869, "Actual Loops": 1, "Output": ["partsupp.ps_partkey", "(sum((partsupp.ps_supplycost * (partsupp.ps_availqty)::numeric)))"], "Sort Key": ["(sum((partsupp.ps_supplycost * (partsupp.ps_availqty)::numeric))) DESC"], "Sort Method": "quicksort", "Sort Space Used": 65, "Sort Space Type": "Memory", "Plans": [{"Node Type": "Aggregate", "Strategy": "Plain", "Partial Mode": "Simple", "Parent Relationship": "InitPlan", "Subplan Name": "InitPlan 1 (returns $2)", "Parallel Aware": false, "Startup Cost": 2381.89, "Total Cost": 2381.9, "Plan Rows": 1, "Plan Width": 32, "Actual Startup Time": 40.825, "Actual Total Time": 40.826, "Actual Rows": 1, "Actual Loops": 1, "Output": ["(sum((partsupp_1.ps_supplycost * (partsupp_1.ps_availqty)::numeric)) * 0.0001000000)"], "Plans": [{"Node Type": "Nested Loop", "Parent Relationship": "Outer", "Parallel Aware": false, "Join Type": "Inner", "Startup Cost": 6.01, "Total Cost": 2141.89, "Plan Rows": 32000, "Plan Width": 10, "Actual Startup Time": 0.091, "Actual Total Time": 25.502, "Actual Rows": 32560, "Actual Loops": 1, "Output": ["partsupp_1.ps_supplycost", "partsupp_1.ps_availqty"], "Plans": [{"Node Type": "Nested Loop", "Parent Relationship": "Outer", "Parallel Aware": false, "Join Type": "Inner", "Startup Cost": 5.58, "Total Cost": 227.43, "Plan Rows": 400, "Plan Width": 4, "Actual Startup Time": 0.084, "Actual Total Time": 0.369, "Actual Rows": 407, "Actual Loops": 1, "Output": ["supplier_1.s_suppkey"], "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Relation Name": "nation", "Schema": "public", "Alias": "nation_1", "Startup Cost": 0.0, "Total Cost": 1.31, "Plan Rows": 1, "Plan Width": 4, "Actual Startup Time": 0.007, "Actual Total Time": 0.009, "Actual Rows": 1, "Actual Loops": 1, "Output": ["nation_1.n_nationkey", "nation_1.n_name", "nation_1.n_regionkey", "nation_1.n_comment"], "Filter": "(nation_1.n_name = 'CHINA'::bpchar)", "Rows Removed by Filter": 24}, {"Node Type": "Bitmap Heap Scan", "Parent Relationship": "Inner", "Parallel Aware": false, "Relation Name": "supplier", "Schema": "public", "Alias": "supplier_1", "Startup Cost": 5.58, "Total Cost": 222.11, "Plan Rows": 400, "Plan Width": 8, "Actual Startup Time": 0.075, "Actual Total Time": 0.314, "Actual Rows": 407, "Actual Loops": 1, "Output": ["supplier_1.s_suppkey", "supplier_1.s_name", "supplier_1.s_address", "supplier_1.s_nationkey", "supplier_1.s_phone", "supplier_1.s_acctbal", "supplier_1.s_comment"], "Recheck Cond": "(supplier_1.s_nationkey = nation_1.n_nationkey)", "Rows Removed by Index Recheck": 0, "Exact Heap Blocks": 186, "Lossy Heap Blocks": 0, "Plans": [{"Node Type": "Bitmap Index Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Index Name": "s_nk", "Startup Cost": 0.0, "Total Cost": 5.49, "Plan Rows": 400, "Plan Width": 0, "Actual Startup Time": 0.048, "Actual Total Time": 0.048, "Actual Rows": 407, "Actual Loops": 1, "Index Cond": "(supplier_1.s_nationkey = nation_1.n_nationkey)"}]}]}, {"Node Type": "Index Scan", "Parent Relationship": "Inner", "Parallel Aware": false, "Scan Direction": "Forward", "Index Name": "ps_sk", "Relation Name": "partsupp", "Schema": "public", "Alias": "partsupp_1", "Startup Cost": 0.42, "Total Cost": 3.99, "Plan Rows": 80, "Plan Width": 14, "Actual Startup Time": 0.004, "Actual Total Time": 0.05, "Actual Rows": 80, "Actual Loops": 407, "Output": ["partsupp_1.ps_partkey", "partsupp_1.ps_suppkey", "partsupp_1.ps_availqty", "partsupp_1.ps_supplycost", "partsupp_1.ps_comment"], "Index Cond": "(partsupp_1.ps_suppkey = supplier_1.s_suppkey)", "Rows Removed by Index Recheck": 0}]}]}, {"Node Type": "Aggregate", "Strategy": "Hashed", "Partial Mode": "Simple", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 2701.89, "Total Cost": 3181.89, "Plan Rows": 32000, "Plan Width": 36, "Actual Startup Time": 95.394, "Actual Total Time": 104.717, "Actual Rows": 869, "Actual Loops": 1, "Output": ["partsupp.ps_partkey", "sum((partsupp.ps_supplycost * (partsupp.ps_availqty)::numeric))"], "Group Key": ["partsupp.ps_partkey"], "Filter": "(sum((partsupp.ps_supplycost * (partsupp.ps_availqty)::numeric)) > $2)", "Rows Removed by Filter": 29770, "Plans": [{"Node Type": "Nested Loop", "Parent Relationship": "Outer", "Parallel Aware": false, "Join Type": "Inner", "Startup Cost": 6.01, "Total Cost": 2141.89, "Plan Rows": 32000, "Plan Width": 14, "Actual Startup Time": 0.099, "Actual Total Time": 31.473, "Actual Rows": 32560, "Actual Loops": 1, "Output": ["partsupp.ps_partkey", "partsupp.ps_supplycost", "partsupp.ps_availqty"], "Plans": [{"Node Type": "Nested Loop", "Parent Relationship": "Outer", "Parallel Aware": false, "Join Type": "Inner", "Startup Cost": 5.58, "Total Cost": 227.43, "Plan Rows": 400, "Plan Width": 4, "Actual Startup Time": 0.09, "Actual Total Time": 0.446, "Actual Rows": 407, "Actual Loops": 1, "Output": ["supplier.s_suppkey"], "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Relation Name": "nation", "Schema": "public", "Alias": "nation", "Startup Cost": 0.0, "Total Cost": 1.31, "Plan Rows": 1, "Plan Width": 4, "Actual Startup Time": 0.009, "Actual Total Time": 0.012, "Actual Rows": 1, "Actual Loops": 1, "Output": ["nation.n_nationkey", "nation.n_name", "nation.n_regionkey", "nation.n_comment"], "Filter": "(nation.n_name = 'CHINA'::bpchar)", "Rows Removed by Filter": 24}, {"Node Type": "Bitmap Heap Scan", "Parent Relationship": "Inner", "Parallel Aware": false, "Relation Name": "supplier", "Schema": "public", "Alias": "supplier", "Startup Cost": 5.58, "Total Cost": 222.11, "Plan Rows": 400, "Plan Width": 8, "Actual Startup Time": 0.079, "Actual Total Time": 0.374, "Actual Rows": 407, "Actual Loops": 1, "Output": ["supplier.s_suppkey", "supplier.s_name", "supplier.s_address", "supplier.s_nationkey", "supplier.s_phone", "supplier.s_acctbal", "supplier.s_comment"], "Recheck Cond": "(supplier.s_nationkey = nation.n_nationkey)", "Rows Removed by Index Recheck": 0, "Exact Heap Blocks": 186, "Lossy Heap Blocks": 0, "Plans": [{"Node Type": "Bitmap Index Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Index Name": "s_nk", "Startup Cost": 0.0, "Total Cost": 5.49, "Plan Rows": 400, "Plan Width": 0, "Actual Startup Time": 0.05, "Actual Total Time": 0.05, "Actual Rows": 407, "Actual Loops": 1, "Index Cond": "(supplier.s_nationkey = nation.n_nationkey)"}]}]}, {"Node Type": "Index Scan", "Parent Relationship": "Inner", "Parallel Aware": false, "Scan Direction": "Forward", "Index Name": "ps_sk", "Relation Name": "partsupp", "Schema": "public", "Alias": "partsupp", "Startup Cost": 0.42, "Total Cost": 3.99, "Plan Rows": 80, "Plan Width": 18, "Actual Startup Time": 0.005, "Actual Total Time": 0.064, "Actual Rows": 80, "Actual Loops": 407, "Output": ["partsupp.ps_partkey", "partsupp.ps_suppkey", "partsupp.ps_availqty", "partsupp.ps_supplycost", "partsupp.ps_comment"], "Index Cond": "(partsupp.ps_suppkey = supplier.s_suppkey)", "Rows Removed by Index Recheck": 0}]}]}]}, "Planning Time": 0.929, "Triggers": [], "Execution Time": 105.249} diff --git a/dev9/pg9/tpch/sf_1/explain_analyze/15721/12-1.ok b/dev9/pg9/tpch/sf_1/explain_analyze/15721/12-1.ok new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/dev9/pg9/tpch/sf_1/explain_analyze/15721/12-1.res b/dev9/pg9/tpch/sf_1/explain_analyze/15721/12-1.res new file mode 100644 index 0000000000000000000000000000000000000000..dccb6effaff45fdebf9f0720f136c08264dc406e --- /dev/null +++ b/dev9/pg9/tpch/sf_1/explain_analyze/15721/12-1.res @@ -0,0 +1 @@ +{"Plan": {"Node Type": "Aggregate", "Strategy": "Sorted", "Partial Mode": "Finalize", "Parallel Aware": false, "Startup Cost": 148700.29, "Total Cost": 148700.71, "Plan Rows": 7, "Plan Width": 27, "Actual Startup Time": 380.078, "Actual Total Time": 380.081, "Actual Rows": 2, "Actual Loops": 1, "Output": ["lineitem.l_shipmode", "sum(CASE WHEN ((orders.o_orderpriority = '1-URGENT'::bpchar) OR (orders.o_orderpriority = '2-HIGH'::bpchar)) THEN 1 ELSE 0 END)", "sum(CASE WHEN ((orders.o_orderpriority <> '1-URGENT'::bpchar) AND (orders.o_orderpriority <> '2-HIGH'::bpchar)) THEN 1 ELSE 0 END)"], "Group Key": ["lineitem.l_shipmode"], "Plans": [{"Node Type": "Sort", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 148700.29, "Total Cost": 148700.38, "Plan Rows": 35, "Plan Width": 27, "Actual Startup Time": 380.073, "Actual Total Time": 380.074, "Actual Rows": 12, "Actual Loops": 1, "Output": ["lineitem.l_shipmode", "(PARTIAL sum(CASE WHEN ((orders.o_orderpriority = '1-URGENT'::bpchar) OR (orders.o_orderpriority = '2-HIGH'::bpchar)) THEN 1 ELSE 0 END))", "(PARTIAL sum(CASE WHEN ((orders.o_orderpriority <> '1-URGENT'::bpchar) AND (orders.o_orderpriority <> '2-HIGH'::bpchar)) THEN 1 ELSE 0 END))"], "Sort Key": ["lineitem.l_shipmode"], "Sort Method": "quicksort", "Sort Space Used": 25, "Sort Space Type": "Memory", "Plans": [{"Node Type": "Gather", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 148578.56, "Total Cost": 148699.39, "Plan Rows": 35, "Plan Width": 27, "Actual Startup Time": 378.302, "Actual Total Time": 415.652, "Actual Rows": 12, "Actual Loops": 1, "Output": ["lineitem.l_shipmode", "(PARTIAL sum(CASE WHEN ((orders.o_orderpriority = '1-URGENT'::bpchar) OR (orders.o_orderpriority = '2-HIGH'::bpchar)) THEN 1 ELSE 0 END))", "(PARTIAL sum(CASE WHEN ((orders.o_orderpriority <> '1-URGENT'::bpchar) AND (orders.o_orderpriority <> '2-HIGH'::bpchar)) THEN 1 ELSE 0 END))"], "Workers Planned": 5, "Workers Launched": 5, "Single Copy": false, "Plans": [{"Node Type": "Aggregate", "Strategy": "Sorted", "Partial Mode": "Partial", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 147578.56, "Total Cost": 147695.89, "Plan Rows": 7, "Plan Width": 27, "Actual Startup Time": 374.428, "Actual Total Time": 375.822, "Actual Rows": 2, "Actual Loops": 6, "Output": ["lineitem.l_shipmode", "PARTIAL sum(CASE WHEN ((orders.o_orderpriority = '1-URGENT'::bpchar) OR (orders.o_orderpriority = '2-HIGH'::bpchar)) THEN 1 ELSE 0 END)", "PARTIAL sum(CASE WHEN ((orders.o_orderpriority <> '1-URGENT'::bpchar) AND (orders.o_orderpriority <> '2-HIGH'::bpchar)) THEN 1 ELSE 0 END)"], "Group Key": ["lineitem.l_shipmode"], "Workers": [{"Worker Number": 0, "Actual Startup Time": 373.657, "Actual Total Time": 374.978, "Actual Rows": 2, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 373.693, "Actual Total Time": 375.007, "Actual Rows": 2, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 373.756, "Actual Total Time": 375.073, "Actual Rows": 2, "Actual Loops": 1}, {"Worker Number": 3, "Actual Startup Time": 373.701, "Actual Total Time": 375.022, "Actual Rows": 2, "Actual Loops": 1}, {"Worker Number": 4, "Actual Startup Time": 373.933, "Actual Total Time": 375.269, "Actual Rows": 2, "Actual Loops": 1}], "Plans": [{"Node Type": "Sort", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 147578.56, "Total Cost": 147593.22, "Plan Rows": 5863, "Plan Width": 27, "Actual Startup Time": 373.057, "Actual Total Time": 373.461, "Actual Rows": 5187, "Actual Loops": 6, "Output": ["lineitem.l_shipmode", "orders.o_orderpriority"], "Sort Key": ["lineitem.l_shipmode"], "Sort Method": "quicksort", "Sort Space Used": 689, "Sort Space Type": "Memory", "Workers": [{"Worker Number": 0, "Actual Startup Time": 372.325, "Actual Total Time": 372.702, "Actual Rows": 5003, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 372.367, "Actual Total Time": 372.738, "Actual Rows": 4978, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 372.43, "Actual Total Time": 372.808, "Actual Rows": 4964, "Actual Loops": 1}, {"Worker Number": 3, "Actual Startup Time": 372.439, "Actual Total Time": 372.827, "Actual Rows": 4849, "Actual Loops": 1}, {"Worker Number": 4, "Actual Startup Time": 372.629, "Actual Total Time": 372.998, "Actual Rows": 4971, "Actual Loops": 1}], "Plans": [{"Node Type": "Nested Loop", "Parent Relationship": "Outer", "Parallel Aware": false, "Join Type": "Inner", "Startup Cost": 0.43, "Total Cost": 147211.62, "Plan Rows": 5863, "Plan Width": 27, "Actual Startup Time": 0.16, "Actual Total Time": 371.436, "Actual Rows": 5187, "Actual Loops": 6, "Output": ["lineitem.l_shipmode", "orders.o_orderpriority"], "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.214, "Actual Total Time": 370.684, "Actual Rows": 5003, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 0.094, "Actual Total Time": 370.726, "Actual Rows": 4978, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 0.22, "Actual Total Time": 370.805, "Actual Rows": 4964, "Actual Loops": 1}, {"Worker Number": 3, "Actual Startup Time": 0.288, "Actual Total Time": 370.822, "Actual Rows": 4849, "Actual Loops": 1}, {"Worker Number": 4, "Actual Startup Time": 0.109, "Actual Total Time": 371.022, "Actual Rows": 4971, "Actual Loops": 1}], "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": true, "Relation Name": "lineitem", "Schema": "public", "Alias": "lineitem", "Startup Cost": 0.0, "Total Cost": 139508.47, "Plan Rows": 5863, "Plan Width": 15, "Actual Startup Time": 0.106, "Actual Total Time": 342.654, "Actual Rows": 5187, "Actual Loops": 6, "Output": ["lineitem.l_orderkey", "lineitem.l_partkey", "lineitem.l_suppkey", "lineitem.l_linenumber", "lineitem.l_quantity", "lineitem.l_extendedprice", "lineitem.l_discount", "lineitem.l_tax", "lineitem.l_returnflag", "lineitem.l_linestatus", "lineitem.l_shipdate", "lineitem.l_commitdate", "lineitem.l_receiptdate", "lineitem.l_shipinstruct", "lineitem.l_shipmode", "lineitem.l_comment"], "Filter": "((lineitem.l_shipmode = ANY ('{MAIL,TRUCK}'::bpchar[])) AND (lineitem.l_commitdate < lineitem.l_receiptdate) AND (lineitem.l_shipdate < lineitem.l_commitdate) AND (lineitem.l_receiptdate >= '1995-01-01'::date) AND (lineitem.l_receiptdate < '1996-01-01 00:00:00'::timestamp without time zone))", "Rows Removed by Filter": 995016, "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.153, "Actual Total Time": 340.403, "Actual Rows": 5003, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 0.033, "Actual Total Time": 340.622, "Actual Rows": 4978, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 0.158, "Actual Total Time": 340.23, "Actual Rows": 4964, "Actual Loops": 1}, {"Worker Number": 3, "Actual Startup Time": 0.227, "Actual Total Time": 340.837, "Actual Rows": 4849, "Actual Loops": 1}, {"Worker Number": 4, "Actual Startup Time": 0.04, "Actual Total Time": 340.891, "Actual Rows": 4971, "Actual Loops": 1}]}, {"Node Type": "Index Scan", "Parent Relationship": "Inner", "Parallel Aware": false, "Scan Direction": "Forward", "Index Name": "o_ok", "Relation Name": "orders", "Schema": "public", "Alias": "orders", "Startup Cost": 0.43, "Total Cost": 1.3, "Plan Rows": 1, "Plan Width": 20, "Actual Startup Time": 0.005, "Actual Total Time": 0.005, "Actual Rows": 1, "Actual Loops": 31122, "Output": ["orders.o_orderkey", "orders.o_custkey", "orders.o_orderstatus", "orders.o_totalprice", "orders.o_orderdate", "orders.o_orderpriority", "orders.o_clerk", "orders.o_shippriority", "orders.o_comment"], "Index Cond": "(orders.o_orderkey = lineitem.l_orderkey)", "Rows Removed by Index Recheck": 0, "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.005, "Actual Total Time": 0.006, "Actual Rows": 1, "Actual Loops": 5003}, {"Worker Number": 1, "Actual Startup Time": 0.005, "Actual Total Time": 0.006, "Actual Rows": 1, "Actual Loops": 4978}, {"Worker Number": 2, "Actual Startup Time": 0.006, "Actual Total Time": 0.006, "Actual Rows": 1, "Actual Loops": 4964}, {"Worker Number": 3, "Actual Startup Time": 0.006, "Actual Total Time": 0.006, "Actual Rows": 1, "Actual Loops": 4849}, {"Worker Number": 4, "Actual Startup Time": 0.005, "Actual Total Time": 0.006, "Actual Rows": 1, "Actual Loops": 4971}]}]}]}]}]}]}]}, "Planning Time": 0.389, "Triggers": [], "Execution Time": 415.726} diff --git a/dev9/pg9/tpch/sf_1/explain_analyze/15721/13-1.ok b/dev9/pg9/tpch/sf_1/explain_analyze/15721/13-1.ok new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/dev9/pg9/tpch/sf_1/explain_analyze/15721/13-1.res b/dev9/pg9/tpch/sf_1/explain_analyze/15721/13-1.res new file mode 100644 index 0000000000000000000000000000000000000000..b95b600be0a96cd4fb372de5e54bb140b6639390 --- /dev/null +++ b/dev9/pg9/tpch/sf_1/explain_analyze/15721/13-1.res @@ -0,0 +1 @@ +{"Plan": {"Node Type": "Sort", "Parallel Aware": false, "Startup Cost": 80917.13, "Total Cost": 80917.63, "Plan Rows": 200, "Plan Width": 16, "Actual Startup Time": 1753.65, "Actual Total Time": 1753.654, "Actual Rows": 42, "Actual Loops": 1, "Output": ["(count(orders.o_orderkey))", "(count(*))"], "Sort Key": ["(count(*)) DESC", "(count(orders.o_orderkey)) DESC"], "Sort Method": "quicksort", "Sort Space Used": 26, "Sort Space Type": "Memory", "Plans": [{"Node Type": "Aggregate", "Strategy": "Hashed", "Partial Mode": "Simple", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 80907.48, "Total Cost": 80909.48, "Plan Rows": 200, "Plan Width": 16, "Actual Startup Time": 1753.616, "Actual Total Time": 1753.622, "Actual Rows": 42, "Actual Loops": 1, "Output": ["(count(orders.o_orderkey))", "count(*)"], "Group Key": ["count(orders.o_orderkey)"], "Plans": [{"Node Type": "Aggregate", "Strategy": "Hashed", "Partial Mode": "Simple", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 77157.48, "Total Cost": 78657.48, "Plan Rows": 150000, "Plan Width": 12, "Actual Startup Time": 1691.342, "Actual Total Time": 1724.114, "Actual Rows": 150000, "Actual Loops": 1, "Output": ["customer.c_custkey", "count(orders.o_orderkey)"], "Group Key": ["customer.c_custkey"], "Plans": [{"Node Type": "Hash Join", "Parent Relationship": "Outer", "Parallel Aware": false, "Join Type": "Right", "Startup Cost": 4580.82, "Total Cost": 69762.37, "Plan Rows": 1479022, "Plan Width": 8, "Actual Startup Time": 37.631, "Actual Total Time": 1191.113, "Actual Rows": 1533817, "Actual Loops": 1, "Output": ["customer.c_custkey", "orders.o_orderkey"], "Hash Cond": "(orders.o_custkey = customer.c_custkey)", "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Relation Name": "orders", "Schema": "public", "Alias": "orders", "Startup Cost": 0.0, "Total Cost": 44845.0, "Plan Rows": 1479022, "Plan Width": 8, "Actual Startup Time": 0.009, "Actual Total Time": 667.727, "Actual Rows": 1483813, "Actual Loops": 1, "Output": ["orders.o_orderkey", "orders.o_custkey", "orders.o_orderstatus", "orders.o_totalprice", "orders.o_orderdate", "orders.o_orderpriority", "orders.o_clerk", "orders.o_shippriority", "orders.o_comment"], "Filter": "((orders.o_comment)::text !~~ '%unusual%requests%'::text)", "Rows Removed by Filter": 16187}, {"Node Type": "Hash", "Parent Relationship": "Inner", "Parallel Aware": false, "Startup Cost": 2705.82, "Total Cost": 2705.82, "Plan Rows": 150000, "Plan Width": 4, "Actual Startup Time": 37.319, "Actual Total Time": 37.319, "Actual Rows": 150000, "Actual Loops": 1, "Output": ["customer.c_custkey"], "Hash Buckets": 262144, "Original Hash Buckets": 262144, "Hash Batches": 1, "Original Hash Batches": 1, "Peak Memory Usage": 7322, "Plans": [{"Node Type": "Index Only Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Scan Direction": "Forward", "Index Name": "c_ck", "Relation Name": "customer", "Schema": "public", "Alias": "customer", "Startup Cost": 0.42, "Total Cost": 2705.82, "Plan Rows": 150000, "Plan Width": 4, "Actual Startup Time": 0.029, "Actual Total Time": 16.511, "Actual Rows": 150000, "Actual Loops": 1, "Output": ["customer.c_custkey"], "Heap Fetches": 0}]}]}]}]}]}, "Planning Time": 0.638, "Triggers": [], "Execution Time": 1753.984} diff --git a/dev9/pg9/tpch/sf_1/explain_analyze/15721/14-1.ok b/dev9/pg9/tpch/sf_1/explain_analyze/15721/14-1.ok new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/dev9/pg9/tpch/sf_1/explain_analyze/15721/14-1.res b/dev9/pg9/tpch/sf_1/explain_analyze/15721/14-1.res new file mode 100644 index 0000000000000000000000000000000000000000..5443214d107369ac2add53364a532468f1bb25d1 --- /dev/null +++ b/dev9/pg9/tpch/sf_1/explain_analyze/15721/14-1.res @@ -0,0 +1 @@ +{"Plan": {"Node Type": "Aggregate", "Strategy": "Plain", "Partial Mode": "Simple", "Parallel Aware": false, "Startup Cost": 72294.38, "Total Cost": 72294.39, "Plan Rows": 1, "Plan Width": 32, "Actual Startup Time": 255.784, "Actual Total Time": 255.784, "Actual Rows": 1, "Actual Loops": 1, "Output": ["((100.00 * sum(CASE WHEN ((part.p_type)::text ~~ 'PROMO%'::text) THEN (lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount)) ELSE '0'::numeric END)) / sum((lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount))))"], "Plans": [{"Node Type": "Hash Join", "Parent Relationship": "Outer", "Parallel Aware": false, "Join Type": "Inner", "Startup Cost": 9621.65, "Total Cost": 70943.86, "Plan Rows": 77172, "Plan Width": 33, "Actual Startup Time": 97.688, "Actual Total Time": 192.652, "Actual Rows": 77900, "Actual Loops": 1, "Output": ["part.p_type", "lineitem.l_extendedprice", "lineitem.l_discount"], "Hash Cond": "(lineitem.l_partkey = part.p_partkey)", "Plans": [{"Node Type": "Bitmap Heap Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Relation Name": "lineitem", "Schema": "public", "Alias": "lineitem", "Startup Cost": 1024.65, "Total Cost": 61285.75, "Plan Rows": 77172, "Plan Width": 16, "Actual Startup Time": 23.678, "Actual Total Time": 82.286, "Actual Rows": 77900, "Actual Loops": 1, "Output": ["lineitem.l_orderkey", "lineitem.l_partkey", "lineitem.l_suppkey", "lineitem.l_linenumber", "lineitem.l_quantity", "lineitem.l_extendedprice", "lineitem.l_discount", "lineitem.l_tax", "lineitem.l_returnflag", "lineitem.l_linestatus", "lineitem.l_shipdate", "lineitem.l_commitdate", "lineitem.l_receiptdate", "lineitem.l_shipinstruct", "lineitem.l_shipmode", "lineitem.l_comment"], "Recheck Cond": "((lineitem.l_shipdate >= '1995-05-01'::date) AND (lineitem.l_shipdate < '1995-06-01 00:00:00'::timestamp without time zone))", "Rows Removed by Index Recheck": 0, "Exact Heap Blocks": 41981, "Lossy Heap Blocks": 0, "Plans": [{"Node Type": "Bitmap Index Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Index Name": "l_sd", "Startup Cost": 0.0, "Total Cost": 1005.35, "Plan Rows": 77172, "Plan Width": 0, "Actual Startup Time": 13.155, "Actual Total Time": 13.155, "Actual Rows": 77900, "Actual Loops": 1, "Index Cond": "((lineitem.l_shipdate >= '1995-05-01'::date) AND (lineitem.l_shipdate < '1995-06-01 00:00:00'::timestamp without time zone))"}]}, {"Node Type": "Hash", "Parent Relationship": "Inner", "Parallel Aware": false, "Startup Cost": 6097.0, "Total Cost": 6097.0, "Plan Rows": 200000, "Plan Width": 25, "Actual Startup Time": 73.765, "Actual Total Time": 73.765, "Actual Rows": 200000, "Actual Loops": 1, "Output": ["part.p_type", "part.p_partkey"], "Hash Buckets": 262144, "Original Hash Buckets": 262144, "Hash Batches": 1, "Original Hash Batches": 1, "Peak Memory Usage": 13600, "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Relation Name": "part", "Schema": "public", "Alias": "part", "Startup Cost": 0.0, "Total Cost": 6097.0, "Plan Rows": 200000, "Plan Width": 25, "Actual Startup Time": 0.005, "Actual Total Time": 40.923, "Actual Rows": 200000, "Actual Loops": 1, "Output": ["part.p_type", "part.p_partkey"]}]}]}]}, "Planning Time": 0.357, "Triggers": [], "Execution Time": 255.869} diff --git a/dev9/pg9/tpch/sf_1/explain_analyze/15721/15-1.ok b/dev9/pg9/tpch/sf_1/explain_analyze/15721/15-1.ok new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/dev9/pg9/tpch/sf_1/explain_analyze/15721/15-1.res b/dev9/pg9/tpch/sf_1/explain_analyze/15721/15-1.res new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/dev9/pg9/tpch/sf_1/explain_analyze/15721/15-2.ok b/dev9/pg9/tpch/sf_1/explain_analyze/15721/15-2.ok new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/dev9/pg9/tpch/sf_1/explain_analyze/15721/15-2.res b/dev9/pg9/tpch/sf_1/explain_analyze/15721/15-2.res new file mode 100644 index 0000000000000000000000000000000000000000..1a4df1de201922f53a53f87984dd70fbf25de9f6 --- /dev/null +++ b/dev9/pg9/tpch/sf_1/explain_analyze/15721/15-2.res @@ -0,0 +1 @@ +{"Plan": {"Node Type": "Merge Join", "Parallel Aware": false, "Join Type": "Inner", "Startup Cost": 243969.43, "Total Cost": 244549.54, "Plan Rows": 10000, "Plan Width": 103, "Actual Startup Time": 711.292, "Actual Total Time": 711.293, "Actual Rows": 1, "Actual Loops": 1, "Output": ["supplier.s_suppkey", "supplier.s_name", "supplier.s_address", "supplier.s_phone", "revenue0.total_revenue"], "Merge Cond": "(supplier.s_suppkey = revenue0.supplier_no)", "Plans": [{"Node Type": "Aggregate", "Strategy": "Plain", "Partial Mode": "Simple", "Parent Relationship": "InitPlan", "Subplan Name": "InitPlan 1 (returns $0)", "Parallel Aware": false, "Startup Cost": 120816.03, "Total Cost": 120816.04, "Plan Rows": 1, "Plan Width": 32, "Actual Startup Time": 356.222, "Actual Total Time": 356.222, "Actual Rows": 1, "Actual Loops": 1, "Output": ["max((sum((lineitem_1.l_extendedprice * ('1'::numeric - lineitem_1.l_discount)))))"], "Plans": [{"Node Type": "Aggregate", "Strategy": "Hashed", "Partial Mode": "Simple", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 120566.03, "Total Cost": 120691.03, "Plan Rows": 10000, "Plan Width": 36, "Actual Startup Time": 352.847, "Actual Total Time": 355.318, "Actual Rows": 10000, "Actual Loops": 1, "Output": ["lineitem_1.l_suppkey", "sum((lineitem_1.l_extendedprice * ('1'::numeric - lineitem_1.l_discount)))"], "Group Key": ["lineitem_1.l_suppkey"], "Plans": [{"Node Type": "Bitmap Heap Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Relation Name": "lineitem", "Schema": "public", "Alias": "lineitem_1", "Startup Cost": 2959.64, "Total Cost": 118335.78, "Plan Rows": 223025, "Plan Width": 16, "Actual Startup Time": 59.484, "Actual Total Time": 164.915, "Actual Rows": 225253, "Actual Loops": 1, "Output": ["lineitem_1.l_orderkey", "lineitem_1.l_partkey", "lineitem_1.l_suppkey", "lineitem_1.l_linenumber", "lineitem_1.l_quantity", "lineitem_1.l_extendedprice", "lineitem_1.l_discount", "lineitem_1.l_tax", "lineitem_1.l_returnflag", "lineitem_1.l_linestatus", "lineitem_1.l_shipdate", "lineitem_1.l_commitdate", "lineitem_1.l_receiptdate", "lineitem_1.l_shipinstruct", "lineitem_1.l_shipmode", "lineitem_1.l_comment"], "Recheck Cond": "((lineitem_1.l_shipdate >= '1995-01-01'::date) AND (lineitem_1.l_shipdate < '1995-04-01 00:00:00'::timestamp without time zone))", "Rows Removed by Index Recheck": 0, "Exact Heap Blocks": 66731, "Lossy Heap Blocks": 0, "Plans": [{"Node Type": "Bitmap Index Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Index Name": "l_sd", "Startup Cost": 0.0, "Total Cost": 2903.88, "Plan Rows": 223025, "Plan Width": 0, "Actual Startup Time": 41.489, "Actual Total Time": 41.49, "Actual Rows": 225253, "Actual Loops": 1, "Index Cond": "((lineitem_1.l_shipdate >= '1995-01-01'::date) AND (lineitem_1.l_shipdate < '1995-04-01 00:00:00'::timestamp without time zone))"}]}]}]}, {"Node Type": "Index Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Scan Direction": "Forward", "Index Name": "s_sk", "Relation Name": "supplier", "Schema": "public", "Alias": "supplier", "Startup Cost": 0.29, "Total Cost": 405.39, "Plan Rows": 10000, "Plan Width": 71, "Actual Startup Time": 0.007, "Actual Total Time": 2.0, "Actual Rows": 9493, "Actual Loops": 1, "Output": ["supplier.s_suppkey", "supplier.s_name", "supplier.s_address", "supplier.s_nationkey", "supplier.s_phone", "supplier.s_acctbal", "supplier.s_comment"]}, {"Node Type": "Sort", "Parent Relationship": "Inner", "Parallel Aware": false, "Startup Cost": 123153.1, "Total Cost": 123178.1, "Plan Rows": 10000, "Plan Width": 36, "Actual Startup Time": 708.488, "Actual Total Time": 708.489, "Actual Rows": 1, "Actual Loops": 1, "Output": ["revenue0.total_revenue", "revenue0.supplier_no"], "Sort Key": ["revenue0.supplier_no"], "Sort Method": "quicksort", "Sort Space Used": 25, "Sort Space Type": "Memory", "Plans": [{"Node Type": "Subquery Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Alias": "revenue0", "Startup Cost": 122238.72, "Total Cost": 122488.72, "Plan Rows": 10000, "Plan Width": 36, "Actual Startup Time": 707.532, "Actual Total Time": 708.483, "Actual Rows": 1, "Actual Loops": 1, "Output": ["revenue0.total_revenue", "revenue0.supplier_no"], "Plans": [{"Node Type": "Aggregate", "Strategy": "Hashed", "Partial Mode": "Simple", "Parent Relationship": "Subquery", "Parallel Aware": false, "Startup Cost": 122238.72, "Total Cost": 122388.72, "Plan Rows": 10000, "Plan Width": 36, "Actual Startup Time": 707.53, "Actual Total Time": 708.481, "Actual Rows": 1, "Actual Loops": 1, "Output": ["lineitem.l_suppkey", "sum((lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount)))"], "Group Key": ["lineitem.l_suppkey"], "Filter": "(sum((lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount))) = $0)", "Rows Removed by Filter": 9999, "Plans": [{"Node Type": "Bitmap Heap Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Relation Name": "lineitem", "Schema": "public", "Alias": "lineitem", "Startup Cost": 2959.64, "Total Cost": 118335.78, "Plan Rows": 223025, "Plan Width": 16, "Actual Startup Time": 56.127, "Actual Total Time": 160.747, "Actual Rows": 225253, "Actual Loops": 1, "Output": ["lineitem.l_orderkey", "lineitem.l_partkey", "lineitem.l_suppkey", "lineitem.l_linenumber", "lineitem.l_quantity", "lineitem.l_extendedprice", "lineitem.l_discount", "lineitem.l_tax", "lineitem.l_returnflag", "lineitem.l_linestatus", "lineitem.l_shipdate", "lineitem.l_commitdate", "lineitem.l_receiptdate", "lineitem.l_shipinstruct", "lineitem.l_shipmode", "lineitem.l_comment"], "Recheck Cond": "((lineitem.l_shipdate >= '1995-01-01'::date) AND (lineitem.l_shipdate < '1995-04-01 00:00:00'::timestamp without time zone))", "Rows Removed by Index Recheck": 0, "Exact Heap Blocks": 66731, "Lossy Heap Blocks": 0, "Plans": [{"Node Type": "Bitmap Index Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Index Name": "l_sd", "Startup Cost": 0.0, "Total Cost": 2903.88, "Plan Rows": 223025, "Plan Width": 0, "Actual Startup Time": 38.009, "Actual Total Time": 38.009, "Actual Rows": 225253, "Actual Loops": 1, "Index Cond": "((lineitem.l_shipdate >= '1995-01-01'::date) AND (lineitem.l_shipdate < '1995-04-01 00:00:00'::timestamp without time zone))"}]}]}]}]}]}, "Planning Time": 0.356, "Triggers": [], "Execution Time": 711.403} diff --git a/dev9/pg9/tpch/sf_1/explain_analyze/15721/15-3.ok b/dev9/pg9/tpch/sf_1/explain_analyze/15721/15-3.ok new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/dev9/pg9/tpch/sf_1/explain_analyze/15721/15-3.res b/dev9/pg9/tpch/sf_1/explain_analyze/15721/15-3.res new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/dev9/pg9/tpch/sf_1/explain_analyze/15721/16-1.ok b/dev9/pg9/tpch/sf_1/explain_analyze/15721/16-1.ok new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/dev9/pg9/tpch/sf_1/explain_analyze/15721/16-1.res b/dev9/pg9/tpch/sf_1/explain_analyze/15721/16-1.res new file mode 100644 index 0000000000000000000000000000000000000000..1f5a674120a9b6288090cdea57d811ab8a784feb --- /dev/null +++ b/dev9/pg9/tpch/sf_1/explain_analyze/15721/16-1.res @@ -0,0 +1 @@ +{"Plan": {"Node Type": "Sort", "Parallel Aware": false, "Startup Cost": 35100.37, "Total Cost": 35140.46, "Plan Rows": 16036, "Plan Width": 44, "Actual Startup Time": 850.851, "Actual Total Time": 852.275, "Actual Rows": 18263, "Actual Loops": 1, "Output": ["part.p_brand", "part.p_type", "part.p_size", "(count(DISTINCT partsupp.ps_suppkey))"], "Sort Key": ["(count(DISTINCT partsupp.ps_suppkey)) DESC", "part.p_brand", "part.p_type", "part.p_size"], "Sort Method": "quicksort", "Sort Space Used": 2211, "Sort Space Type": "Memory", "Plans": [{"Node Type": "Aggregate", "Strategy": "Sorted", "Partial Mode": "Simple", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 33072.82, "Total Cost": 33980.33, "Plan Rows": 16036, "Plan Width": 44, "Actual Startup Time": 720.054, "Actual Total Time": 785.866, "Actual Rows": 18263, "Actual Loops": 1, "Output": ["part.p_brand", "part.p_type", "part.p_size", "count(DISTINCT partsupp.ps_suppkey)"], "Group Key": ["part.p_brand", "part.p_type", "part.p_size"], "Plans": [{"Node Type": "Sort", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 33072.82, "Total Cost": 33222.25, "Plan Rows": 59772, "Plan Width": 40, "Actual Startup Time": 720.035, "Actual Total Time": 731.614, "Actual Rows": 119250, "Actual Loops": 1, "Output": ["part.p_brand", "part.p_type", "part.p_size", "partsupp.ps_suppkey"], "Sort Key": ["part.p_brand", "part.p_type", "part.p_size"], "Sort Method": "quicksort", "Sort Space Used": 12389, "Sort Space Type": "Memory", "Plans": [{"Node Type": "Hash Join", "Parent Relationship": "Outer", "Parallel Aware": false, "Join Type": "Inner", "Startup Cost": 9818.0, "Total Cost": 28330.75, "Plan Rows": 59772, "Plan Width": 40, "Actual Startup Time": 82.295, "Actual Total Time": 351.299, "Actual Rows": 119250, "Actual Loops": 1, "Output": ["part.p_brand", "part.p_type", "part.p_size", "partsupp.ps_suppkey"], "Hash Cond": "(partsupp.ps_partkey = part.p_partkey)", "Plans": [{"Node Type": "Index Only Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Scan Direction": "Forward", "Index Name": "ps_pk_sk", "Relation Name": "partsupp", "Schema": "public", "Alias": "partsupp", "Startup Cost": 347.43, "Total Cost": 16763.03, "Plan Rows": 400000, "Plan Width": 8, "Actual Startup Time": 3.3, "Actual Total Time": 169.095, "Actual Rows": 799680, "Actual Loops": 1, "Output": ["partsupp.ps_partkey", "partsupp.ps_suppkey"], "Filter": "(NOT (hashed SubPlan 1))", "Rows Removed by Filter": 320, "Heap Fetches": 0, "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "SubPlan", "Subplan Name": "SubPlan 1", "Parallel Aware": false, "Relation Name": "supplier", "Schema": "public", "Alias": "supplier", "Startup Cost": 0.0, "Total Cost": 347.0, "Plan Rows": 1, "Plan Width": 4, "Actual Startup Time": 0.128, "Actual Total Time": 3.267, "Actual Rows": 4, "Actual Loops": 1, "Output": ["supplier.s_suppkey"], "Filter": "((supplier.s_comment)::text ~~ '%Customer%Complaints%'::text)", "Rows Removed by Filter": 9996}]}, {"Node Type": "Hash", "Parent Relationship": "Inner", "Parallel Aware": false, "Startup Cost": 9097.0, "Total Cost": 9097.0, "Plan Rows": 29886, "Plan Width": 40, "Actual Startup Time": 78.957, "Actual Total Time": 78.957, "Actual Rows": 29824, "Actual Loops": 1, "Output": ["part.p_brand", "part.p_type", "part.p_size", "part.p_partkey"], "Hash Buckets": 32768, "Original Hash Buckets": 32768, "Hash Batches": 1, "Original Hash Batches": 1, "Peak Memory Usage": 2414, "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Relation Name": "part", "Schema": "public", "Alias": "part", "Startup Cost": 0.0, "Total Cost": 9097.0, "Plan Rows": 29886, "Plan Width": 40, "Actual Startup Time": 0.009, "Actual Total Time": 73.308, "Actual Rows": 29824, "Actual Loops": 1, "Output": ["part.p_brand", "part.p_type", "part.p_size", "part.p_partkey"], "Filter": "((part.p_brand <> 'Brand#11'::bpchar) AND ((part.p_type)::text !~~ 'ECONOMY ANODIZED%'::text) AND (part.p_size = ANY ('{42,16,39,18,23,32,44,41}'::integer[])))", "Rows Removed by Filter": 170176}]}]}]}]}]}, "Planning Time": 0.672, "Triggers": [], "Execution Time": 852.983} diff --git a/dev9/pg9/tpch/sf_1/explain_analyze/15721/17-1.ok b/dev9/pg9/tpch/sf_1/explain_analyze/15721/17-1.ok new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/dev9/pg9/tpch/sf_1/explain_analyze/15721/17-1.res b/dev9/pg9/tpch/sf_1/explain_analyze/15721/17-1.res new file mode 100644 index 0000000000000000000000000000000000000000..7bf8e37e29b37e73885c99f531ea9f900f4482f2 --- /dev/null +++ b/dev9/pg9/tpch/sf_1/explain_analyze/15721/17-1.res @@ -0,0 +1 @@ +{"Plan": {"Node Type": "Aggregate", "Strategy": "Plain", "Partial Mode": "Simple", "Parallel Aware": false, "Startup Cost": 240206.19, "Total Cost": 240206.21, "Plan Rows": 1, "Plan Width": 32, "Actual Startup Time": 183.386, "Actual Total Time": 183.386, "Actual Rows": 1, "Actual Loops": 1, "Output": ["(sum(lineitem.l_extendedprice) / 7.0)"], "Plans": [{"Node Type": "Nested Loop", "Parent Relationship": "Outer", "Parallel Aware": false, "Join Type": "Inner", "Startup Cost": 0.43, "Total Cost": 240201.17, "Plan Rows": 2010, "Plan Width": 8, "Actual Startup Time": 0.596, "Actual Total Time": 183.236, "Actual Rows": 588, "Actual Loops": 1, "Output": ["lineitem.l_extendedprice"], "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Relation Name": "part", "Schema": "public", "Alias": "part", "Startup Cost": 0.0, "Total Cost": 7097.0, "Plan Rows": 201, "Plan Width": 4, "Actual Startup Time": 0.406, "Actual Total Time": 32.699, "Actual Rows": 222, "Actual Loops": 1, "Output": ["part.p_partkey", "part.p_name", "part.p_mfgr", "part.p_brand", "part.p_type", "part.p_size", "part.p_container", "part.p_retailprice", "part.p_comment"], "Filter": "((part.p_brand = 'Brand#14'::bpchar) AND (part.p_container = 'WRAP BOX'::bpchar))", "Rows Removed by Filter": 199778}, {"Node Type": "Index Scan", "Parent Relationship": "Inner", "Parallel Aware": false, "Scan Direction": "Forward", "Index Name": "l_pk", "Relation Name": "lineitem", "Schema": "public", "Alias": "lineitem", "Startup Cost": 0.43, "Total Cost": 1159.62, "Plan Rows": 10, "Plan Width": 17, "Actual Startup Time": 0.243, "Actual Total Time": 0.677, "Actual Rows": 3, "Actual Loops": 222, "Output": ["lineitem.l_orderkey", "lineitem.l_partkey", "lineitem.l_suppkey", "lineitem.l_linenumber", "lineitem.l_quantity", "lineitem.l_extendedprice", "lineitem.l_discount", "lineitem.l_tax", "lineitem.l_returnflag", "lineitem.l_linestatus", "lineitem.l_shipdate", "lineitem.l_commitdate", "lineitem.l_receiptdate", "lineitem.l_shipinstruct", "lineitem.l_shipmode", "lineitem.l_comment"], "Index Cond": "(lineitem.l_partkey = part.p_partkey)", "Rows Removed by Index Recheck": 0, "Filter": "(lineitem.l_quantity < (SubPlan 1))", "Rows Removed by Filter": 27, "Plans": [{"Node Type": "Aggregate", "Strategy": "Plain", "Partial Mode": "Simple", "Parent Relationship": "SubPlan", "Subplan Name": "SubPlan 1", "Parallel Aware": false, "Startup Cost": 36.25, "Total Cost": 36.27, "Plan Rows": 1, "Plan Width": 32, "Actual Startup Time": 0.022, "Actual Total Time": 0.022, "Actual Rows": 1, "Actual Loops": 6593, "Output": ["(0.2 * avg(lineitem_1.l_quantity))"], "Plans": [{"Node Type": "Index Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Scan Direction": "Forward", "Index Name": "l_pk", "Relation Name": "lineitem", "Schema": "public", "Alias": "lineitem_1", "Startup Cost": 0.43, "Total Cost": 36.17, "Plan Rows": 31, "Plan Width": 5, "Actual Startup Time": 0.002, "Actual Total Time": 0.014, "Actual Rows": 31, "Actual Loops": 6593, "Output": ["lineitem_1.l_orderkey", "lineitem_1.l_partkey", "lineitem_1.l_suppkey", "lineitem_1.l_linenumber", "lineitem_1.l_quantity", "lineitem_1.l_extendedprice", "lineitem_1.l_discount", "lineitem_1.l_tax", "lineitem_1.l_returnflag", "lineitem_1.l_linestatus", "lineitem_1.l_shipdate", "lineitem_1.l_commitdate", "lineitem_1.l_receiptdate", "lineitem_1.l_shipinstruct", "lineitem_1.l_shipmode", "lineitem_1.l_comment"], "Index Cond": "(lineitem_1.l_partkey = part.p_partkey)", "Rows Removed by Index Recheck": 0}]}]}]}]}, "Planning Time": 0.39, "Triggers": [], "Execution Time": 183.429} diff --git a/dev9/pg9/tpch/sf_1/explain_analyze/15721/18-1.ok b/dev9/pg9/tpch/sf_1/explain_analyze/15721/18-1.ok new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/dev9/pg9/tpch/sf_1/explain_analyze/15721/18-1.res b/dev9/pg9/tpch/sf_1/explain_analyze/15721/18-1.res new file mode 100644 index 0000000000000000000000000000000000000000..bb0766bdb28eadd8e15ff315c58ad7d4584f8ef1 --- /dev/null +++ b/dev9/pg9/tpch/sf_1/explain_analyze/15721/18-1.res @@ -0,0 +1 @@ +{"Plan": {"Node Type": "Limit", "Parallel Aware": false, "Startup Cost": 1227734.89, "Total Cost": 1227735.14, "Plan Rows": 100, "Plan Width": 71, "Actual Startup Time": 4574.694, "Actual Total Time": 4574.696, "Actual Rows": 9, "Actual Loops": 1, "Output": ["customer.c_name", "customer.c_custkey", "orders.o_orderkey", "orders.o_orderdate", "orders.o_totalprice", "(sum(lineitem.l_quantity))"], "Plans": [{"Node Type": "Sort", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 1227734.89, "Total Cost": 1235236.41, "Plan Rows": 3000608, "Plan Width": 71, "Actual Startup Time": 4574.692, "Actual Total Time": 4574.693, "Actual Rows": 9, "Actual Loops": 1, "Output": ["customer.c_name", "customer.c_custkey", "orders.o_orderkey", "orders.o_orderdate", "orders.o_totalprice", "(sum(lineitem.l_quantity))"], "Sort Key": ["orders.o_totalprice DESC", "orders.o_orderdate"], "Sort Method": "quicksort", "Sort Space Used": 25, "Sort Space Type": "Memory", "Plans": [{"Node Type": "Aggregate", "Strategy": "Sorted", "Partial Mode": "Simple", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 1045540.13, "Total Cost": 1113053.81, "Plan Rows": 3000608, "Plan Width": 71, "Actual Startup Time": 4574.662, "Actual Total Time": 4574.683, "Actual Rows": 9, "Actual Loops": 1, "Output": ["customer.c_name", "customer.c_custkey", "orders.o_orderkey", "orders.o_orderdate", "orders.o_totalprice", "sum(lineitem.l_quantity)"], "Group Key": ["customer.c_custkey", "orders.o_orderkey"], "Plans": [{"Node Type": "Sort", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 1045540.13, "Total Cost": 1053041.65, "Plan Rows": 3000608, "Plan Width": 44, "Actual Startup Time": 4574.654, "Actual Total Time": 4574.657, "Actual Rows": 63, "Actual Loops": 1, "Output": ["customer.c_custkey", "orders.o_orderkey", "customer.c_name", "orders.o_orderdate", "orders.o_totalprice", "lineitem.l_quantity"], "Sort Key": ["customer.c_custkey", "orders.o_orderkey"], "Sort Method": "quicksort", "Sort Space Used": 29, "Sort Space Type": "Memory", "Plans": [{"Node Type": "Hash Join", "Parent Relationship": "Outer", "Parallel Aware": false, "Join Type": "Inner", "Startup Cost": 6961.45, "Total Cost": 668657.71, "Plan Rows": 3000608, "Plan Width": 44, "Actual Startup Time": 1085.707, "Actual Total Time": 4574.625, "Actual Rows": 63, "Actual Loops": 1, "Output": ["customer.c_custkey", "orders.o_orderkey", "customer.c_name", "orders.o_orderdate", "orders.o_totalprice", "lineitem.l_quantity"], "Hash Cond": "(orders.o_custkey = customer.c_custkey)", "Plans": [{"Node Type": "Merge Join", "Parent Relationship": "Outer", "Parallel Aware": false, "Join Type": "Inner", "Startup Cost": 1.45, "Total Cost": 620439.35, "Plan Rows": 3000608, "Plan Width": 25, "Actual Startup Time": 1034.939, "Actual Total Time": 4523.829, "Actual Rows": 63, "Actual Loops": 1, "Output": ["orders.o_orderkey", "orders.o_orderdate", "orders.o_totalprice", "orders.o_custkey", "lineitem.l_quantity"], "Merge Cond": "(orders.o_orderkey = lineitem.l_orderkey)", "Plans": [{"Node Type": "Merge Join", "Parent Relationship": "Outer", "Parallel Aware": false, "Join Type": "Semi", "Startup Cost": 0.86, "Total Cost": 352932.11, "Plan Rows": 750000, "Plan Width": 24, "Actual Startup Time": 707.691, "Actual Total Time": 3279.816, "Actual Rows": 9, "Actual Loops": 1, "Output": ["orders.o_orderkey", "orders.o_orderdate", "orders.o_totalprice", "orders.o_custkey", "lineitem_1.l_orderkey"], "Merge Cond": "(orders.o_orderkey = lineitem_1.l_orderkey)", "Plans": [{"Node Type": "Index Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Scan Direction": "Forward", "Index Name": "o_ok", "Relation Name": "orders", "Schema": "public", "Alias": "orders", "Startup Cost": 0.43, "Total Cost": 53123.13, "Plan Rows": 1500000, "Plan Width": 20, "Actual Startup Time": 0.005, "Actual Total Time": 215.82, "Actual Rows": 1201687, "Actual Loops": 1, "Output": ["orders.o_orderkey", "orders.o_custkey", "orders.o_orderstatus", "orders.o_totalprice", "orders.o_orderdate", "orders.o_orderpriority", "orders.o_clerk", "orders.o_shippriority", "orders.o_comment"]}, {"Node Type": "Materialize", "Parent Relationship": "Inner", "Parallel Aware": false, "Startup Cost": 0.43, "Total Cost": 280916.17, "Plan Rows": 1211425, "Plan Width": 4, "Actual Startup Time": 625.267, "Actual Total Time": 2967.93, "Actual Rows": 9, "Actual Loops": 1, "Output": ["lineitem_1.l_orderkey"], "Plans": [{"Node Type": "Aggregate", "Strategy": "Sorted", "Partial Mode": "Simple", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 0.43, "Total Cost": 265773.35, "Plan Rows": 1211425, "Plan Width": 4, "Actual Startup Time": 625.256, "Actual Total Time": 2967.912, "Actual Rows": 9, "Actual Loops": 1, "Output": ["lineitem_1.l_orderkey"], "Group Key": ["lineitem_1.l_orderkey"], "Filter": "(sum(lineitem_1.l_quantity) > '314'::numeric)", "Rows Removed by Filter": 1499991, "Plans": [{"Node Type": "Index Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Scan Direction": "Forward", "Index Name": "l_ok", "Relation Name": "lineitem", "Schema": "public", "Alias": "lineitem_1", "Startup Cost": 0.43, "Total Cost": 220624.47, "Plan Rows": 6001215, "Plan Width": 9, "Actual Startup Time": 0.005, "Actual Total Time": 1158.158, "Actual Rows": 6001215, "Actual Loops": 1, "Output": ["lineitem_1.l_orderkey", "lineitem_1.l_partkey", "lineitem_1.l_suppkey", "lineitem_1.l_linenumber", "lineitem_1.l_quantity", "lineitem_1.l_extendedprice", "lineitem_1.l_discount", "lineitem_1.l_tax", "lineitem_1.l_returnflag", "lineitem_1.l_linestatus", "lineitem_1.l_shipdate", "lineitem_1.l_commitdate", "lineitem_1.l_receiptdate", "lineitem_1.l_shipinstruct", "lineitem_1.l_shipmode", "lineitem_1.l_comment"]}]}]}]}, {"Node Type": "Index Scan", "Parent Relationship": "Inner", "Parallel Aware": false, "Scan Direction": "Forward", "Index Name": "l_ok", "Relation Name": "lineitem", "Schema": "public", "Alias": "lineitem", "Startup Cost": 0.43, "Total Cost": 220624.47, "Plan Rows": 6001215, "Plan Width": 9, "Actual Startup Time": 0.009, "Actual Total Time": 862.301, "Actual Rows": 4807580, "Actual Loops": 1, "Output": ["lineitem.l_orderkey", "lineitem.l_partkey", "lineitem.l_suppkey", "lineitem.l_linenumber", "lineitem.l_quantity", "lineitem.l_extendedprice", "lineitem.l_discount", "lineitem.l_tax", "lineitem.l_returnflag", "lineitem.l_linestatus", "lineitem.l_shipdate", "lineitem.l_commitdate", "lineitem.l_receiptdate", "lineitem.l_shipinstruct", "lineitem.l_shipmode", "lineitem.l_comment"]}]}, {"Node Type": "Hash", "Parent Relationship": "Inner", "Parallel Aware": false, "Startup Cost": 5085.0, "Total Cost": 5085.0, "Plan Rows": 150000, "Plan Width": 23, "Actual Startup Time": 50.512, "Actual Total Time": 50.512, "Actual Rows": 150000, "Actual Loops": 1, "Output": ["customer.c_name", "customer.c_custkey"], "Hash Buckets": 262144, "Original Hash Buckets": 262144, "Hash Batches": 1, "Original Hash Batches": 1, "Peak Memory Usage": 10252, "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Relation Name": "customer", "Schema": "public", "Alias": "customer", "Startup Cost": 0.0, "Total Cost": 5085.0, "Plan Rows": 150000, "Plan Width": 23, "Actual Startup Time": 0.006, "Actual Total Time": 27.23, "Actual Rows": 150000, "Actual Loops": 1, "Output": ["customer.c_name", "customer.c_custkey"]}]}]}]}]}]}]}, "Planning Time": 0.979, "Triggers": [], "Execution Time": 4574.793} diff --git a/dev9/pg9/tpch/sf_1/explain_analyze/15721/19-1.ok b/dev9/pg9/tpch/sf_1/explain_analyze/15721/19-1.ok new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/dev9/pg9/tpch/sf_1/explain_analyze/15721/19-1.res b/dev9/pg9/tpch/sf_1/explain_analyze/15721/19-1.res new file mode 100644 index 0000000000000000000000000000000000000000..9bbed9d9c5c7d1f3b9d09805f6fec44f5b1c0c35 --- /dev/null +++ b/dev9/pg9/tpch/sf_1/explain_analyze/15721/19-1.res @@ -0,0 +1 @@ +{"Plan": {"Node Type": "Aggregate", "Strategy": "Plain", "Partial Mode": "Finalize", "Parallel Aware": false, "Startup Cost": 15854.39, "Total Cost": 15854.4, "Plan Rows": 1, "Plan Width": 32, "Actual Startup Time": 46.209, "Actual Total Time": 46.209, "Actual Rows": 1, "Actual Loops": 1, "Output": ["sum((lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount)))"], "Plans": [{"Node Type": "Gather", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 15854.17, "Total Cost": 15854.38, "Plan Rows": 2, "Plan Width": 32, "Actual Startup Time": 46.02, "Actual Total Time": 55.873, "Actual Rows": 3, "Actual Loops": 1, "Output": ["(PARTIAL sum((lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount))))"], "Workers Planned": 2, "Workers Launched": 2, "Single Copy": false, "Plans": [{"Node Type": "Aggregate", "Strategy": "Plain", "Partial Mode": "Partial", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 14854.17, "Total Cost": 14854.18, "Plan Rows": 1, "Plan Width": 32, "Actual Startup Time": 43.179, "Actual Total Time": 43.179, "Actual Rows": 1, "Actual Loops": 3, "Output": ["PARTIAL sum((lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount)))"], "Workers": [{"Worker Number": 0, "Actual Startup Time": 42.049, "Actual Total Time": 42.049, "Actual Rows": 1, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 41.993, "Actual Total Time": 41.993, "Actual Rows": 1, "Actual Loops": 1}], "Plans": [{"Node Type": "Nested Loop", "Parent Relationship": "Outer", "Parallel Aware": false, "Join Type": "Inner", "Startup Cost": 0.43, "Total Cost": 14853.8, "Plan Rows": 48, "Plan Width": 12, "Actual Startup Time": 2.103, "Actual Total Time": 43.136, "Actual Rows": 35, "Actual Loops": 3, "Output": ["lineitem.l_extendedprice", "lineitem.l_discount"], "Workers": [{"Worker Number": 0, "Actual Startup Time": 1.348, "Actual Total Time": 42.009, "Actual Rows": 24, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 3.936, "Actual Total Time": 41.952, "Actual Rows": 34, "Actual Loops": 1}], "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": true, "Relation Name": "part", "Schema": "public", "Alias": "part", "Startup Cost": 0.0, "Total Cost": 7638.67, "Plan Rows": 200, "Plan Width": 30, "Actual Startup Time": 0.138, "Actual Total Time": 27.389, "Actual Rows": 143, "Actual Loops": 3, "Output": ["part.p_partkey", "part.p_name", "part.p_mfgr", "part.p_brand", "part.p_type", "part.p_size", "part.p_container", "part.p_retailprice", "part.p_comment"], "Filter": "((part.p_size >= 1) AND (((part.p_brand = 'Brand#52'::bpchar) AND (part.p_container = ANY ('{\"SM CASE\",\"SM BOX\",\"SM PACK\",\"SM PKG\"}'::bpchar[])) AND (part.p_size <= 5)) OR ((part.p_brand = 'Brand#42'::bpchar) AND (part.p_container = ANY ('{\"MED BAG\",\"MED BOX\",\"MED PKG\",\"MED PACK\"}'::bpchar[])) AND (part.p_size <= 10)) OR ((part.p_brand = 'Brand#23'::bpchar) AND (part.p_container = ANY ('{\"LG CASE\",\"LG BOX\",\"LG PACK\",\"LG PKG\"}'::bpchar[])) AND (part.p_size <= 15))))", "Rows Removed by Filter": 66524, "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.036, "Actual Total Time": 21.669, "Actual Rows": 115, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 0.33, "Actual Total Time": 23.189, "Actual Rows": 107, "Actual Loops": 1}]}, {"Node Type": "Index Scan", "Parent Relationship": "Inner", "Parallel Aware": false, "Scan Direction": "Forward", "Index Name": "l_pk", "Relation Name": "lineitem", "Schema": "public", "Alias": "lineitem", "Startup Cost": 0.43, "Total Cost": 36.07, "Plan Rows": 1, "Plan Width": 21, "Actual Startup Time": 0.098, "Actual Total Time": 0.11, "Actual Rows": 0, "Actual Loops": 428, "Output": ["lineitem.l_orderkey", "lineitem.l_partkey", "lineitem.l_suppkey", "lineitem.l_linenumber", "lineitem.l_quantity", "lineitem.l_extendedprice", "lineitem.l_discount", "lineitem.l_tax", "lineitem.l_returnflag", "lineitem.l_linestatus", "lineitem.l_shipdate", "lineitem.l_commitdate", "lineitem.l_receiptdate", "lineitem.l_shipinstruct", "lineitem.l_shipmode", "lineitem.l_comment"], "Index Cond": "(lineitem.l_partkey = part.p_partkey)", "Rows Removed by Index Recheck": 0, "Filter": "((lineitem.l_shipmode = ANY ('{AIR,\"AIR REG\"}'::bpchar[])) AND (lineitem.l_shipinstruct = 'DELIVER IN PERSON'::bpchar) AND (((lineitem.l_quantity >= '9'::numeric) AND (lineitem.l_quantity <= '19'::numeric)) OR ((lineitem.l_quantity >= '18'::numeric) AND (lineitem.l_quantity <= '28'::numeric)) OR ((lineitem.l_quantity >= '22'::numeric) AND (lineitem.l_quantity <= '32'::numeric))) AND (((part.p_brand = 'Brand#52'::bpchar) AND (part.p_container = ANY ('{\"SM CASE\",\"SM BOX\",\"SM PACK\",\"SM PKG\"}'::bpchar[])) AND (lineitem.l_quantity >= '9'::numeric) AND (lineitem.l_quantity <= '19'::numeric) AND (part.p_size <= 5)) OR ((part.p_brand = 'Brand#42'::bpchar) AND (part.p_container = ANY ('{\"MED BAG\",\"MED BOX\",\"MED PKG\",\"MED PACK\"}'::bpchar[])) AND (lineitem.l_quantity >= '18'::numeric) AND (lineitem.l_quantity <= '28'::numeric) AND (part.p_size <= 10)) OR ((part.p_brand = 'Brand#23'::bpchar) AND (part.p_container = ANY ('{\"LG CASE\",\"LG BOX\",\"LG PACK\",\"LG PKG\"}'::bpchar[])) AND (lineitem.l_quantity >= '22'::numeric) AND (lineitem.l_quantity <= '32'::numeric) AND (part.p_size <= 15))))", "Rows Removed by Filter": 30, "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.156, "Actual Total Time": 0.176, "Actual Rows": 0, "Actual Loops": 115}, {"Worker Number": 1, "Actual Startup Time": 0.155, "Actual Total Time": 0.175, "Actual Rows": 0, "Actual Loops": 107}]}]}]}]}]}, "Planning Time": 0.64, "Triggers": [], "Execution Time": 55.934} diff --git a/dev9/pg9/tpch/sf_1/explain_analyze/15721/2-1.ok b/dev9/pg9/tpch/sf_1/explain_analyze/15721/2-1.ok new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/dev9/pg9/tpch/sf_1/explain_analyze/15721/2-1.res b/dev9/pg9/tpch/sf_1/explain_analyze/15721/2-1.res new file mode 100644 index 0000000000000000000000000000000000000000..e009e8410dff5804e3b527e1b7dfe73f3bcf3aa0 --- /dev/null +++ b/dev9/pg9/tpch/sf_1/explain_analyze/15721/2-1.res @@ -0,0 +1 @@ +{"Plan": {"Node Type": "Limit", "Parallel Aware": false, "Startup Cost": 49951.69, "Total Cost": 49951.7, "Plan Rows": 1, "Plan Width": 192, "Actual Startup Time": 260.712, "Actual Total Time": 260.735, "Actual Rows": 100, "Actual Loops": 1, "Output": ["supplier.s_acctbal", "supplier.s_name", "nation.n_name", "part.p_partkey", "part.p_mfgr", "supplier.s_address", "supplier.s_phone", "supplier.s_comment"], "Plans": [{"Node Type": "Sort", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 49951.69, "Total Cost": 49951.7, "Plan Rows": 1, "Plan Width": 192, "Actual Startup Time": 260.71, "Actual Total Time": 260.727, "Actual Rows": 100, "Actual Loops": 1, "Output": ["supplier.s_acctbal", "supplier.s_name", "nation.n_name", "part.p_partkey", "part.p_mfgr", "supplier.s_address", "supplier.s_phone", "supplier.s_comment"], "Sort Key": ["supplier.s_acctbal DESC", "nation.n_name", "supplier.s_name", "part.p_partkey"], "Sort Method": "top-N heapsort", "Sort Space Used": 51, "Sort Space Type": "Memory", "Plans": [{"Node Type": "Hash Join", "Parent Relationship": "Outer", "Parallel Aware": false, "Join Type": "Inner", "Startup Cost": 16993.33, "Total Cost": 49951.68, "Plan Rows": 1, "Plan Width": 192, "Actual Startup Time": 216.894, "Actual Total Time": 260.235, "Actual Rows": 509, "Actual Loops": 1, "Output": ["supplier.s_acctbal", "supplier.s_name", "nation.n_name", "part.p_partkey", "part.p_mfgr", "supplier.s_address", "supplier.s_phone", "supplier.s_comment"], "Hash Cond": "((part.p_partkey = partsupp.ps_partkey) AND ((SubPlan 1) = partsupp.ps_supplycost))", "Plans": [{"Node Type": "Gather", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 1000.0, "Total Cost": 6428.2, "Plan Rows": 812, "Plan Width": 30, "Actual Startup Time": 0.244, "Actual Total Time": 0.608, "Actual Rows": 854, "Actual Loops": 1, "Output": ["part.p_partkey", "part.p_mfgr"], "Workers Planned": 2, "Workers Launched": 2, "Single Copy": false, "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": true, "Relation Name": "part", "Schema": "public", "Alias": "part", "Startup Cost": 0.0, "Total Cost": 5347.0, "Plan Rows": 338, "Plan Width": 30, "Actual Startup Time": 0.033, "Actual Total Time": 21.41, "Actual Rows": 285, "Actual Loops": 3, "Output": ["part.p_partkey", "part.p_mfgr"], "Filter": "(((part.p_type)::text ~~ '%TIN'::text) AND (part.p_size = 44))", "Rows Removed by Filter": 66382, "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.036, "Actual Total Time": 32.071, "Actual Rows": 411, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 0.038, "Actual Total Time": 32.117, "Actual Rows": 442, "Actual Loops": 1}]}]}, {"Node Type": "Hash", "Parent Relationship": "Inner", "Parallel Aware": false, "Startup Cost": 9686.33, "Total Cost": 9686.33, "Plan Rows": 160000, "Plan Width": 172, "Actual Startup Time": 216.362, "Actual Total Time": 216.362, "Actual Rows": 158960, "Actual Loops": 1, "Output": ["supplier.s_acctbal", "supplier.s_name", "supplier.s_address", "supplier.s_phone", "supplier.s_comment", "partsupp.ps_partkey", "partsupp.ps_supplycost", "nation.n_name"], "Hash Buckets": 131072, "Original Hash Buckets": 131072, "Hash Batches": 2, "Original Hash Batches": 2, "Peak Memory Usage": 17198, "Plans": [{"Node Type": "Nested Loop", "Parent Relationship": "Outer", "Parallel Aware": false, "Join Type": "Inner", "Startup Cost": 0.71, "Total Cost": 9686.33, "Plan Rows": 160000, "Plan Width": 172, "Actual Startup Time": 0.041, "Actual Total Time": 147.778, "Actual Rows": 158960, "Actual Loops": 1, "Output": ["supplier.s_acctbal", "supplier.s_name", "supplier.s_address", "supplier.s_phone", "supplier.s_comment", "partsupp.ps_partkey", "partsupp.ps_supplycost", "nation.n_name"], "Plans": [{"Node Type": "Nested Loop", "Parent Relationship": "Outer", "Parallel Aware": false, "Join Type": "Inner", "Startup Cost": 0.29, "Total Cost": 114.02, "Plan Rows": 2000, "Plan Width": 166, "Actual Startup Time": 0.029, "Actual Total Time": 1.729, "Actual Rows": 1987, "Actual Loops": 1, "Output": ["supplier.s_acctbal", "supplier.s_name", "supplier.s_address", "supplier.s_phone", "supplier.s_comment", "supplier.s_suppkey", "nation.n_name"], "Plans": [{"Node Type": "Nested Loop", "Parent Relationship": "Outer", "Parallel Aware": false, "Join Type": "Inner", "Startup Cost": 0.0, "Total Cost": 2.62, "Plan Rows": 5, "Plan Width": 30, "Actual Startup Time": 0.015, "Actual Total Time": 0.029, "Actual Rows": 5, "Actual Loops": 1, "Output": ["nation.n_name", "nation.n_nationkey"], "Join Filter": "(nation.n_regionkey = region.r_regionkey)", "Rows Removed by Join Filter": 20, "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Relation Name": "region", "Schema": "public", "Alias": "region", "Startup Cost": 0.0, "Total Cost": 1.06, "Plan Rows": 1, "Plan Width": 4, "Actual Startup Time": 0.005, "Actual Total Time": 0.007, "Actual Rows": 1, "Actual Loops": 1, "Output": ["region.r_regionkey", "region.r_name", "region.r_comment"], "Filter": "(region.r_name = 'EUROPE'::bpchar)", "Rows Removed by Filter": 4}, {"Node Type": "Seq Scan", "Parent Relationship": "Inner", "Parallel Aware": false, "Relation Name": "nation", "Schema": "public", "Alias": "nation", "Startup Cost": 0.0, "Total Cost": 1.25, "Plan Rows": 25, "Plan Width": 34, "Actual Startup Time": 0.007, "Actual Total Time": 0.013, "Actual Rows": 25, "Actual Loops": 1, "Output": ["nation.n_nationkey", "nation.n_name", "nation.n_regionkey", "nation.n_comment"]}]}, {"Node Type": "Index Scan", "Parent Relationship": "Inner", "Parallel Aware": false, "Scan Direction": "Forward", "Index Name": "s_nk", "Relation Name": "supplier", "Schema": "public", "Alias": "supplier", "Startup Cost": 0.29, "Total Cost": 18.28, "Plan Rows": 400, "Plan Width": 144, "Actual Startup Time": 0.009, "Actual Total Time": 0.221, "Actual Rows": 397, "Actual Loops": 5, "Output": ["supplier.s_suppkey", "supplier.s_name", "supplier.s_address", "supplier.s_nationkey", "supplier.s_phone", "supplier.s_acctbal", "supplier.s_comment"], "Index Cond": "(supplier.s_nationkey = nation.n_nationkey)", "Rows Removed by Index Recheck": 0}]}, {"Node Type": "Index Scan", "Parent Relationship": "Inner", "Parallel Aware": false, "Scan Direction": "Forward", "Index Name": "ps_sk", "Relation Name": "partsupp", "Schema": "public", "Alias": "partsupp", "Startup Cost": 0.42, "Total Cost": 3.99, "Plan Rows": 80, "Plan Width": 14, "Actual Startup Time": 0.005, "Actual Total Time": 0.059, "Actual Rows": 80, "Actual Loops": 1987, "Output": ["partsupp.ps_partkey", "partsupp.ps_suppkey", "partsupp.ps_availqty", "partsupp.ps_supplycost", "partsupp.ps_comment"], "Index Cond": "(partsupp.ps_suppkey = supplier.s_suppkey)", "Rows Removed by Index Recheck": 0}]}]}, {"Node Type": "Aggregate", "Strategy": "Plain", "Partial Mode": "Simple", "Parent Relationship": "SubPlan", "Subplan Name": "SubPlan 1", "Parallel Aware": false, "Startup Cost": 14.52, "Total Cost": 14.53, "Plan Rows": 1, "Plan Width": 32, "Actual Startup Time": 0.02, "Actual Total Time": 0.021, "Actual Rows": 1, "Actual Loops": 1363, "Output": ["min(partsupp_1.ps_supplycost)"], "Plans": [{"Node Type": "Nested Loop", "Parent Relationship": "Outer", "Parallel Aware": false, "Join Type": "Inner", "Startup Cost": 0.85, "Total Cost": 14.52, "Plan Rows": 1, "Plan Width": 6, "Actual Startup Time": 0.014, "Actual Total Time": 0.019, "Actual Rows": 1, "Actual Loops": 1363, "Output": ["partsupp_1.ps_supplycost"], "Join Filter": "(nation_1.n_regionkey = region_1.r_regionkey)", "Rows Removed by Join Filter": 3, "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Relation Name": "region", "Schema": "public", "Alias": "region_1", "Startup Cost": 0.0, "Total Cost": 1.06, "Plan Rows": 1, "Plan Width": 4, "Actual Startup Time": 0.001, "Actual Total Time": 0.001, "Actual Rows": 1, "Actual Loops": 1363, "Output": ["region_1.r_regionkey", "region_1.r_name", "region_1.r_comment"], "Filter": "(region_1.r_name = 'EUROPE'::bpchar)", "Rows Removed by Filter": 4}, {"Node Type": "Nested Loop", "Parent Relationship": "Inner", "Parallel Aware": false, "Join Type": "Inner", "Startup Cost": 0.85, "Total Cost": 13.41, "Plan Rows": 4, "Plan Width": 10, "Actual Startup Time": 0.006, "Actual Total Time": 0.018, "Actual Rows": 4, "Actual Loops": 1363, "Output": ["partsupp_1.ps_supplycost", "nation_1.n_regionkey"], "Plans": [{"Node Type": "Nested Loop", "Parent Relationship": "Outer", "Parallel Aware": false, "Join Type": "Inner", "Startup Cost": 0.71, "Total Cost": 12.75, "Plan Rows": 4, "Plan Width": 10, "Actual Startup Time": 0.005, "Actual Total Time": 0.012, "Actual Rows": 4, "Actual Loops": 1363, "Output": ["partsupp_1.ps_supplycost", "supplier_1.s_nationkey"], "Plans": [{"Node Type": "Index Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Scan Direction": "Forward", "Index Name": "ps_pk", "Relation Name": "partsupp", "Schema": "public", "Alias": "partsupp_1", "Startup Cost": 0.42, "Total Cost": 2.7, "Plan Rows": 4, "Plan Width": 10, "Actual Startup Time": 0.003, "Actual Total Time": 0.004, "Actual Rows": 4, "Actual Loops": 1363, "Output": ["partsupp_1.ps_partkey", "partsupp_1.ps_suppkey", "partsupp_1.ps_availqty", "partsupp_1.ps_supplycost", "partsupp_1.ps_comment"], "Index Cond": "(part.p_partkey = partsupp_1.ps_partkey)", "Rows Removed by Index Recheck": 0}, {"Node Type": "Index Scan", "Parent Relationship": "Inner", "Parallel Aware": false, "Scan Direction": "Forward", "Index Name": "s_sk", "Relation Name": "supplier", "Schema": "public", "Alias": "supplier_1", "Startup Cost": 0.29, "Total Cost": 2.5, "Plan Rows": 1, "Plan Width": 8, "Actual Startup Time": 0.001, "Actual Total Time": 0.002, "Actual Rows": 1, "Actual Loops": 5452, "Output": ["supplier_1.s_suppkey", "supplier_1.s_name", "supplier_1.s_address", "supplier_1.s_nationkey", "supplier_1.s_phone", "supplier_1.s_acctbal", "supplier_1.s_comment"], "Index Cond": "(supplier_1.s_suppkey = partsupp_1.ps_suppkey)", "Rows Removed by Index Recheck": 0}]}, {"Node Type": "Index Scan", "Parent Relationship": "Inner", "Parallel Aware": false, "Scan Direction": "Forward", "Index Name": "n_nk", "Relation Name": "nation", "Schema": "public", "Alias": "nation_1", "Startup Cost": 0.14, "Total Cost": 0.16, "Plan Rows": 1, "Plan Width": 8, "Actual Startup Time": 0.001, "Actual Total Time": 0.001, "Actual Rows": 1, "Actual Loops": 5452, "Output": ["nation_1.n_nationkey", "nation_1.n_name", "nation_1.n_regionkey", "nation_1.n_comment"], "Index Cond": "(nation_1.n_nationkey = supplier_1.s_nationkey)", "Rows Removed by Index Recheck": 0}]}]}]}]}]}]}, "Planning Time": 2.347, "Triggers": [], "Execution Time": 260.936} diff --git a/dev9/pg9/tpch/sf_1/explain_analyze/15721/20-1.ok b/dev9/pg9/tpch/sf_1/explain_analyze/15721/20-1.ok new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/dev9/pg9/tpch/sf_1/explain_analyze/15721/20-1.res b/dev9/pg9/tpch/sf_1/explain_analyze/15721/20-1.res new file mode 100644 index 0000000000000000000000000000000000000000..677f516cbd98339a445e1b9a6422878f7c97f068 --- /dev/null +++ b/dev9/pg9/tpch/sf_1/explain_analyze/15721/20-1.res @@ -0,0 +1 @@ +{"Plan": {"Node Type": "Sort", "Parallel Aware": false, "Startup Cost": 32701.17, "Total Cost": 32701.43, "Plan Rows": 107, "Plan Width": 51, "Actual Startup Time": 126.823, "Actual Total Time": 126.836, "Actual Rows": 187, "Actual Loops": 1, "Output": ["supplier.s_name", "supplier.s_address"], "Sort Key": ["supplier.s_name"], "Sort Method": "quicksort", "Sort Space Used": 46, "Sort Space Type": "Memory", "Plans": [{"Node Type": "Hash Join", "Parent Relationship": "Outer", "Parallel Aware": false, "Join Type": "Semi", "Startup Cost": 32473.34, "Total Cost": 32697.56, "Plan Rows": 107, "Plan Width": 51, "Actual Startup Time": 126.317, "Actual Total Time": 126.687, "Actual Rows": 187, "Actual Loops": 1, "Output": ["supplier.s_name", "supplier.s_address"], "Hash Cond": "(supplier.s_suppkey = partsupp.ps_suppkey)", "Plans": [{"Node Type": "Nested Loop", "Parent Relationship": "Outer", "Parallel Aware": false, "Join Type": "Inner", "Startup Cost": 5.58, "Total Cost": 227.43, "Plan Rows": 400, "Plan Width": 55, "Actual Startup Time": 0.085, "Actual Total Time": 0.373, "Actual Rows": 396, "Actual Loops": 1, "Output": ["supplier.s_name", "supplier.s_address", "supplier.s_suppkey"], "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Relation Name": "nation", "Schema": "public", "Alias": "nation", "Startup Cost": 0.0, "Total Cost": 1.31, "Plan Rows": 1, "Plan Width": 4, "Actual Startup Time": 0.005, "Actual Total Time": 0.009, "Actual Rows": 1, "Actual Loops": 1, "Output": ["nation.n_nationkey", "nation.n_name", "nation.n_regionkey", "nation.n_comment"], "Filter": "(nation.n_name = 'GERMANY'::bpchar)", "Rows Removed by Filter": 24}, {"Node Type": "Bitmap Heap Scan", "Parent Relationship": "Inner", "Parallel Aware": false, "Relation Name": "supplier", "Schema": "public", "Alias": "supplier", "Startup Cost": 5.58, "Total Cost": 222.11, "Plan Rows": 400, "Plan Width": 59, "Actual Startup Time": 0.077, "Actual Total Time": 0.291, "Actual Rows": 396, "Actual Loops": 1, "Output": ["supplier.s_suppkey", "supplier.s_name", "supplier.s_address", "supplier.s_nationkey", "supplier.s_phone", "supplier.s_acctbal", "supplier.s_comment"], "Recheck Cond": "(supplier.s_nationkey = nation.n_nationkey)", "Rows Removed by Index Recheck": 0, "Exact Heap Blocks": 191, "Lossy Heap Blocks": 0, "Plans": [{"Node Type": "Bitmap Index Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Index Name": "s_nk", "Startup Cost": 0.0, "Total Cost": 5.49, "Plan Rows": 400, "Plan Width": 0, "Actual Startup Time": 0.049, "Actual Total Time": 0.049, "Actual Rows": 396, "Actual Loops": 1, "Index Cond": "(supplier.s_nationkey = nation.n_nationkey)"}]}]}, {"Node Type": "Hash", "Parent Relationship": "Inner", "Parallel Aware": false, "Startup Cost": 32434.36, "Total Cost": 32434.36, "Plan Rows": 2672, "Plan Width": 4, "Actual Startup Time": 126.222, "Actual Total Time": 126.222, "Actual Rows": 5970, "Actual Loops": 1, "Output": ["partsupp.ps_suppkey"], "Hash Buckets": 8192, "Original Hash Buckets": 4096, "Hash Batches": 1, "Original Hash Batches": 1, "Peak Memory Usage": 274, "Plans": [{"Node Type": "Nested Loop", "Parent Relationship": "Outer", "Parallel Aware": false, "Join Type": "Inner", "Startup Cost": 1000.42, "Total Cost": 32434.36, "Plan Rows": 2672, "Plan Width": 4, "Actual Startup Time": 0.287, "Actual Total Time": 124.967, "Actual Rows": 5970, "Actual Loops": 1, "Output": ["partsupp.ps_suppkey"], "Plans": [{"Node Type": "Gather", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 1000.0, "Total Cost": 6339.07, "Plan Rows": 2004, "Plan Width": 4, "Actual Startup Time": 0.223, "Actual Total Time": 1.314, "Actual Rows": 2186, "Actual Loops": 1, "Output": ["part.p_partkey"], "Workers Planned": 2, "Workers Launched": 2, "Single Copy": false, "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": true, "Relation Name": "part", "Schema": "public", "Alias": "part", "Startup Cost": 0.0, "Total Cost": 5138.67, "Plan Rows": 835, "Plan Width": 4, "Actual Startup Time": 0.032, "Actual Total Time": 13.58, "Actual Rows": 729, "Actual Loops": 3, "Output": ["part.p_partkey"], "Filter": "((part.p_name)::text ~~ 'floral%'::text)", "Rows Removed by Filter": 65938, "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.026, "Actual Total Time": 20.01, "Actual Rows": 1039, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 0.042, "Actual Total Time": 20.23, "Actual Rows": 1115, "Actual Loops": 1}]}]}, {"Node Type": "Index Scan", "Parent Relationship": "Inner", "Parallel Aware": false, "Scan Direction": "Forward", "Index Name": "ps_pk", "Relation Name": "partsupp", "Schema": "public", "Alias": "partsupp", "Startup Cost": 0.42, "Total Cost": 13.01, "Plan Rows": 1, "Plan Width": 8, "Actual Startup Time": 0.022, "Actual Total Time": 0.056, "Actual Rows": 3, "Actual Loops": 2186, "Output": ["partsupp.ps_partkey", "partsupp.ps_suppkey", "partsupp.ps_availqty", "partsupp.ps_supplycost", "partsupp.ps_comment"], "Index Cond": "(partsupp.ps_partkey = part.p_partkey)", "Rows Removed by Index Recheck": 0, "Filter": "((partsupp.ps_availqty)::numeric > (SubPlan 1))", "Rows Removed by Filter": 1, "Plans": [{"Node Type": "Aggregate", "Strategy": "Plain", "Partial Mode": "Simple", "Parent Relationship": "SubPlan", "Subplan Name": "SubPlan 1", "Parallel Aware": false, "Startup Cost": 2.66, "Total Cost": 2.68, "Plan Rows": 1, "Plan Width": 32, "Actual Startup Time": 0.012, "Actual Total Time": 0.012, "Actual Rows": 1, "Actual Loops": 8744, "Output": ["(0.5 * sum(lineitem.l_quantity))"], "Plans": [{"Node Type": "Index Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Scan Direction": "Forward", "Index Name": "l_sk_pk", "Relation Name": "lineitem", "Schema": "public", "Alias": "lineitem", "Startup Cost": 0.43, "Total Cost": 2.66, "Plan Rows": 1, "Plan Width": 5, "Actual Startup Time": 0.008, "Actual Total Time": 0.011, "Actual Rows": 1, "Actual Loops": 8744, "Output": ["lineitem.l_orderkey", "lineitem.l_partkey", "lineitem.l_suppkey", "lineitem.l_linenumber", "lineitem.l_quantity", "lineitem.l_extendedprice", "lineitem.l_discount", "lineitem.l_tax", "lineitem.l_returnflag", "lineitem.l_linestatus", "lineitem.l_shipdate", "lineitem.l_commitdate", "lineitem.l_receiptdate", "lineitem.l_shipinstruct", "lineitem.l_shipmode", "lineitem.l_comment"], "Index Cond": "((lineitem.l_suppkey = partsupp.ps_suppkey) AND (lineitem.l_partkey = partsupp.ps_partkey))", "Rows Removed by Index Recheck": 0, "Filter": "((lineitem.l_shipdate >= '1996-01-01'::date) AND (lineitem.l_shipdate < '1997-01-01 00:00:00'::timestamp without time zone))", "Rows Removed by Filter": 6}]}]}]}]}]}]}, "Planning Time": 0.929, "Triggers": [], "Execution Time": 126.97} diff --git a/dev9/pg9/tpch/sf_1/explain_analyze/15721/21-1.ok b/dev9/pg9/tpch/sf_1/explain_analyze/15721/21-1.ok new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/dev9/pg9/tpch/sf_1/explain_analyze/15721/21-1.res b/dev9/pg9/tpch/sf_1/explain_analyze/15721/21-1.res new file mode 100644 index 0000000000000000000000000000000000000000..5f746ca1f4508ad0fb30d4923520c7931fe1d652 --- /dev/null +++ b/dev9/pg9/tpch/sf_1/explain_analyze/15721/21-1.res @@ -0,0 +1 @@ +{"Plan": {"Node Type": "Limit", "Parallel Aware": false, "Startup Cost": 56462.46, "Total Cost": 56462.46, "Plan Rows": 1, "Plan Width": 34, "Actual Startup Time": 636.165, "Actual Total Time": 636.177, "Actual Rows": 100, "Actual Loops": 1, "Output": ["supplier.s_name", "(count(*))"], "Plans": [{"Node Type": "Sort", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 56462.46, "Total Cost": 56462.46, "Plan Rows": 1, "Plan Width": 34, "Actual Startup Time": 636.164, "Actual Total Time": 636.173, "Actual Rows": 100, "Actual Loops": 1, "Output": ["supplier.s_name", "(count(*))"], "Sort Key": ["(count(*)) DESC", "supplier.s_name"], "Sort Method": "top-N heapsort", "Sort Space Used": 32, "Sort Space Type": "Memory", "Plans": [{"Node Type": "Aggregate", "Strategy": "Sorted", "Partial Mode": "Simple", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 56462.43, "Total Cost": 56462.45, "Plan Rows": 1, "Plan Width": 34, "Actual Startup Time": 634.66, "Actual Total Time": 635.623, "Actual Rows": 407, "Actual Loops": 1, "Output": ["supplier.s_name", "count(*)"], "Group Key": ["supplier.s_name"], "Plans": [{"Node Type": "Sort", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 56462.43, "Total Cost": 56462.43, "Plan Rows": 1, "Plan Width": 26, "Actual Startup Time": 634.65, "Actual Total Time": 634.981, "Actual Rows": 3965, "Actual Loops": 1, "Output": ["supplier.s_name"], "Sort Key": ["supplier.s_name"], "Sort Method": "quicksort", "Sort Space Used": 406, "Sort Space Type": "Memory", "Plans": [{"Node Type": "Nested Loop", "Parent Relationship": "Outer", "Parallel Aware": false, "Join Type": "Anti", "Startup Cost": 13499.03, "Total Cost": 56462.42, "Plan Rows": 1, "Plan Width": 26, "Actual Startup Time": 308.012, "Actual Total Time": 619.806, "Actual Rows": 3965, "Actual Loops": 1, "Output": ["supplier.s_name"], "Plans": [{"Node Type": "Gather", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 13498.6, "Total Cost": 56461.6, "Plan Rows": 1, "Plan Width": 34, "Actual Startup Time": 307.439, "Actual Total Time": 404.799, "Actual Rows": 71419, "Actual Loops": 1, "Output": ["supplier.s_name", "l1.l_suppkey", "l1.l_orderkey"], "Workers Planned": 3, "Workers Launched": 3, "Single Copy": false, "Plans": [{"Node Type": "Nested Loop", "Parent Relationship": "Outer", "Parallel Aware": false, "Join Type": "Semi", "Startup Cost": 12498.6, "Total Cost": 55461.5, "Plan Rows": 1, "Plan Width": 34, "Actual Startup Time": 346.159, "Actual Total Time": 545.381, "Actual Rows": 17855, "Actual Loops": 4, "Output": ["supplier.s_name", "l1.l_suppkey", "l1.l_orderkey"], "Join Filter": "(orders.o_orderkey = l2.l_orderkey)", "Rows Removed by Join Filter": 0, "Workers": [{"Worker Number": 0, "Actual Startup Time": 360.901, "Actual Total Time": 608.032, "Actual Rows": 21779, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 361.005, "Actual Total Time": 607.947, "Actual Rows": 21912, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 355.772, "Actual Total Time": 607.926, "Actual Rows": 22596, "Actual Loops": 1}], "Plans": [{"Node Type": "Hash Join", "Parent Relationship": "Outer", "Parallel Aware": false, "Join Type": "Inner", "Startup Cost": 12498.16, "Total Cost": 47116.1, "Plan Rows": 12532, "Plan Width": 38, "Actual Startup Time": 346.135, "Actual Total Time": 470.227, "Actual Rows": 18520, "Actual Loops": 4, "Output": ["supplier.s_name", "l1.l_suppkey", "l1.l_orderkey", "orders.o_orderkey"], "Hash Cond": "(orders.o_orderkey = l1.l_orderkey)", "Workers": [{"Worker Number": 0, "Actual Startup Time": 360.871, "Actual Total Time": 514.433, "Actual Rows": 22568, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 360.974, "Actual Total Time": 514.086, "Actual Rows": 22746, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 355.751, "Actual Total Time": 512.431, "Actual Rows": 23429, "Actual Loops": 1}], "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": true, "Relation Name": "orders", "Schema": "public", "Alias": "orders", "Startup Cost": 0.0, "Total Cost": 32143.39, "Plan Rows": 234923, "Plan Width": 4, "Actual Startup Time": 0.021, "Actual Total Time": 82.058, "Actual Rows": 182353, "Actual Loops": 4, "Output": ["orders.o_orderkey", "orders.o_custkey", "orders.o_orderstatus", "orders.o_totalprice", "orders.o_orderdate", "orders.o_orderpriority", "orders.o_clerk", "orders.o_shippriority", "orders.o_comment"], "Filter": "(orders.o_orderstatus = 'F'::bpchar)", "Rows Removed by Filter": 192647, "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.03, "Actual Total Time": 102.229, "Actual Rows": 223714, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 0.022, "Actual Total Time": 101.372, "Actual Rows": 223545, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 0.025, "Actual Total Time": 103.827, "Actual Rows": 229415, "Actual Loops": 1}]}, {"Node Type": "Hash", "Parent Relationship": "Inner", "Parallel Aware": false, "Startup Cost": 11497.96, "Total Cost": 11497.96, "Plan Rows": 80016, "Plan Width": 34, "Actual Startup Time": 345.484, "Actual Total Time": 345.484, "Actual Rows": 153758, "Actual Loops": 4, "Output": ["supplier.s_name", "l1.l_suppkey", "l1.l_orderkey"], "Hash Buckets": 262144, "Original Hash Buckets": 131072, "Hash Batches": 1, "Original Hash Batches": 1, "Peak Memory Usage": 12259, "Workers": [{"Worker Number": 0, "Actual Startup Time": 360.053, "Actual Total Time": 360.053, "Actual Rows": 153758, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 360.156, "Actual Total Time": 360.156, "Actual Rows": 153758, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 354.948, "Actual Total Time": 354.949, "Actual Rows": 153758, "Actual Loops": 1}], "Plans": [{"Node Type": "Nested Loop", "Parent Relationship": "Outer", "Parallel Aware": false, "Join Type": "Inner", "Startup Cost": 6.02, "Total Cost": 11497.96, "Plan Rows": 80016, "Plan Width": 34, "Actual Startup Time": 0.192, "Actual Total Time": 302.936, "Actual Rows": 153758, "Actual Loops": 4, "Output": ["supplier.s_name", "l1.l_suppkey", "l1.l_orderkey"], "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.226, "Actual Total Time": 315.544, "Actual Rows": 153758, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 0.226, "Actual Total Time": 315.383, "Actual Rows": 153758, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 0.214, "Actual Total Time": 310.485, "Actual Rows": 153758, "Actual Loops": 1}], "Plans": [{"Node Type": "Nested Loop", "Parent Relationship": "Outer", "Parallel Aware": false, "Join Type": "Inner", "Startup Cost": 5.58, "Total Cost": 227.43, "Plan Rows": 400, "Plan Width": 30, "Actual Startup Time": 0.136, "Actual Total Time": 0.728, "Actual Rows": 407, "Actual Loops": 4, "Output": ["supplier.s_name", "supplier.s_suppkey"], "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.153, "Actual Total Time": 0.769, "Actual Rows": 407, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 0.152, "Actual Total Time": 0.798, "Actual Rows": 407, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 0.146, "Actual Total Time": 0.797, "Actual Rows": 407, "Actual Loops": 1}], "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Relation Name": "nation", "Schema": "public", "Alias": "nation", "Startup Cost": 0.0, "Total Cost": 1.31, "Plan Rows": 1, "Plan Width": 4, "Actual Startup Time": 0.017, "Actual Total Time": 0.02, "Actual Rows": 1, "Actual Loops": 4, "Output": ["nation.n_nationkey", "nation.n_name", "nation.n_regionkey", "nation.n_comment"], "Filter": "(nation.n_name = 'CHINA'::bpchar)", "Rows Removed by Filter": 24, "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.021, "Actual Total Time": 0.024, "Actual Rows": 1, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 0.02, "Actual Total Time": 0.023, "Actual Rows": 1, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 0.02, "Actual Total Time": 0.024, "Actual Rows": 1, "Actual Loops": 1}]}, {"Node Type": "Bitmap Heap Scan", "Parent Relationship": "Inner", "Parallel Aware": false, "Relation Name": "supplier", "Schema": "public", "Alias": "supplier", "Startup Cost": 5.58, "Total Cost": 222.11, "Plan Rows": 400, "Plan Width": 34, "Actual Startup Time": 0.116, "Actual Total Time": 0.634, "Actual Rows": 407, "Actual Loops": 4, "Output": ["supplier.s_suppkey", "supplier.s_name", "supplier.s_address", "supplier.s_nationkey", "supplier.s_phone", "supplier.s_acctbal", "supplier.s_comment"], "Recheck Cond": "(supplier.s_nationkey = nation.n_nationkey)", "Rows Removed by Index Recheck": 0, "Exact Heap Blocks": 186, "Lossy Heap Blocks": 0, "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.129, "Actual Total Time": 0.676, "Actual Rows": 407, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 0.13, "Actual Total Time": 0.694, "Actual Rows": 407, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 0.123, "Actual Total Time": 0.692, "Actual Rows": 407, "Actual Loops": 1}], "Plans": [{"Node Type": "Bitmap Index Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Index Name": "s_nk", "Startup Cost": 0.0, "Total Cost": 5.49, "Plan Rows": 400, "Plan Width": 0, "Actual Startup Time": 0.084, "Actual Total Time": 0.084, "Actual Rows": 407, "Actual Loops": 4, "Index Cond": "(supplier.s_nationkey = nation.n_nationkey)", "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.095, "Actual Total Time": 0.095, "Actual Rows": 407, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 0.095, "Actual Total Time": 0.095, "Actual Rows": 407, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 0.09, "Actual Total Time": 0.09, "Actual Rows": 407, "Actual Loops": 1}]}]}]}, {"Node Type": "Index Scan", "Parent Relationship": "Inner", "Parallel Aware": false, "Scan Direction": "Forward", "Index Name": "l_sk", "Relation Name": "lineitem", "Schema": "public", "Alias": "l1", "Startup Cost": 0.43, "Total Cost": 26.18, "Plan Rows": 200, "Plan Width": 8, "Actual Startup Time": 0.013, "Actual Total Time": 0.697, "Actual Rows": 378, "Actual Loops": 1628, "Output": ["l1.l_orderkey", "l1.l_partkey", "l1.l_suppkey", "l1.l_linenumber", "l1.l_quantity", "l1.l_extendedprice", "l1.l_discount", "l1.l_tax", "l1.l_returnflag", "l1.l_linestatus", "l1.l_shipdate", "l1.l_commitdate", "l1.l_receiptdate", "l1.l_shipinstruct", "l1.l_shipmode", "l1.l_comment"], "Index Cond": "(l1.l_suppkey = supplier.s_suppkey)", "Rows Removed by Index Recheck": 0, "Filter": "(l1.l_receiptdate > l1.l_commitdate)", "Rows Removed by Filter": 221, "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.015, "Actual Total Time": 0.728, "Actual Rows": 378, "Actual Loops": 407}, {"Worker Number": 1, "Actual Startup Time": 0.015, "Actual Total Time": 0.727, "Actual Rows": 378, "Actual Loops": 407}, {"Worker Number": 2, "Actual Startup Time": 0.014, "Actual Total Time": 0.716, "Actual Rows": 378, "Actual Loops": 407}]}]}]}]}, {"Node Type": "Index Scan", "Parent Relationship": "Inner", "Parallel Aware": false, "Scan Direction": "Forward", "Index Name": "l_ok", "Relation Name": "lineitem", "Schema": "public", "Alias": "l2", "Startup Cost": 0.43, "Total Cost": 0.6, "Plan Rows": 5, "Plan Width": 8, "Actual Startup Time": 0.004, "Actual Total Time": 0.004, "Actual Rows": 1, "Actual Loops": 74080, "Output": ["l2.l_orderkey", "l2.l_partkey", "l2.l_suppkey", "l2.l_linenumber", "l2.l_quantity", "l2.l_extendedprice", "l2.l_discount", "l2.l_tax", "l2.l_returnflag", "l2.l_linestatus", "l2.l_shipdate", "l2.l_commitdate", "l2.l_receiptdate", "l2.l_shipinstruct", "l2.l_shipmode", "l2.l_comment"], "Index Cond": "(l2.l_orderkey = l1.l_orderkey)", "Rows Removed by Index Recheck": 0, "Filter": "(l2.l_suppkey <> l1.l_suppkey)", "Rows Removed by Filter": 0, "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.004, "Actual Total Time": 0.004, "Actual Rows": 1, "Actual Loops": 22568}, {"Worker Number": 1, "Actual Startup Time": 0.004, "Actual Total Time": 0.004, "Actual Rows": 1, "Actual Loops": 22746}, {"Worker Number": 2, "Actual Startup Time": 0.004, "Actual Total Time": 0.004, "Actual Rows": 1, "Actual Loops": 23429}]}]}]}, {"Node Type": "Index Scan", "Parent Relationship": "Inner", "Parallel Aware": false, "Scan Direction": "Forward", "Index Name": "l_ok", "Relation Name": "lineitem", "Schema": "public", "Alias": "l3", "Startup Cost": 0.43, "Total Cost": 0.62, "Plan Rows": 2, "Plan Width": 8, "Actual Startup Time": 0.003, "Actual Total Time": 0.003, "Actual Rows": 1, "Actual Loops": 71419, "Output": ["l3.l_orderkey", "l3.l_partkey", "l3.l_suppkey", "l3.l_linenumber", "l3.l_quantity", "l3.l_extendedprice", "l3.l_discount", "l3.l_tax", "l3.l_returnflag", "l3.l_linestatus", "l3.l_shipdate", "l3.l_commitdate", "l3.l_receiptdate", "l3.l_shipinstruct", "l3.l_shipmode", "l3.l_comment"], "Index Cond": "(l3.l_orderkey = l1.l_orderkey)", "Rows Removed by Index Recheck": 0, "Filter": "((l3.l_receiptdate > l3.l_commitdate) AND (l3.l_suppkey <> l1.l_suppkey))", "Rows Removed by Filter": 1}]}]}]}]}]}, "Planning Time": 3.359, "Triggers": [], "Execution Time": 659.261} diff --git a/dev9/pg9/tpch/sf_1/explain_analyze/15721/22-1.ok b/dev9/pg9/tpch/sf_1/explain_analyze/15721/22-1.ok new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/dev9/pg9/tpch/sf_1/explain_analyze/15721/22-1.res b/dev9/pg9/tpch/sf_1/explain_analyze/15721/22-1.res new file mode 100644 index 0000000000000000000000000000000000000000..8f3b431746a42e8e453d325fca1cf5a00413ad90 --- /dev/null +++ b/dev9/pg9/tpch/sf_1/explain_analyze/15721/22-1.res @@ -0,0 +1 @@ +{"Plan": {"Node Type": "Aggregate", "Strategy": "Sorted", "Partial Mode": "Simple", "Parallel Aware": false, "Startup Cost": 14755.52, "Total Cost": 14773.89, "Plan Rows": 668, "Plan Width": 72, "Actual Startup Time": 167.938, "Actual Total Time": 169.872, "Actual Rows": 7, "Actual Loops": 1, "Output": ["(\"substring\"((customer.c_phone)::text, 1, 2))", "count(*)", "sum(customer.c_acctbal)"], "Group Key": ["(\"substring\"((customer.c_phone)::text, 1, 2))"], "Plans": [{"Node Type": "Aggregate", "Strategy": "Plain", "Partial Mode": "Finalize", "Parent Relationship": "InitPlan", "Subplan Name": "InitPlan 1 (returns $0)", "Parallel Aware": false, "Startup Cost": 6230.82, "Total Cost": 6230.83, "Plan Rows": 1, "Plan Width": 32, "Actual Startup Time": 44.257, "Actual Total Time": 44.257, "Actual Rows": 1, "Actual Loops": 1, "Output": ["avg(customer_1.c_acctbal)"], "Plans": [{"Node Type": "Gather", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 6230.6, "Total Cost": 6230.81, "Plan Rows": 2, "Plan Width": 32, "Actual Startup Time": 44.195, "Actual Total Time": 44.303, "Actual Rows": 3, "Actual Loops": 1, "Output": ["(PARTIAL avg(customer_1.c_acctbal))"], "Workers Planned": 2, "Workers Launched": 2, "Single Copy": false, "Plans": [{"Node Type": "Aggregate", "Strategy": "Plain", "Partial Mode": "Partial", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 5230.6, "Total Cost": 5230.61, "Plan Rows": 1, "Plan Width": 32, "Actual Startup Time": 41.995, "Actual Total Time": 41.995, "Actual Rows": 1, "Actual Loops": 3, "Output": ["PARTIAL avg(customer_1.c_acctbal)"], "Workers": [{"Worker Number": 0, "Actual Startup Time": 40.903, "Actual Total Time": 40.903, "Actual Rows": 1, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 41.121, "Actual Total Time": 41.121, "Actual Rows": 1, "Actual Loops": 1}], "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": true, "Relation Name": "customer", "Schema": "public", "Alias": "customer_1", "Startup Cost": 0.0, "Total Cost": 5225.62, "Plan Rows": 1988, "Plan Width": 6, "Actual Startup Time": 0.023, "Actual Total Time": 39.464, "Actual Rows": 12636, "Actual Loops": 3, "Output": ["customer_1.c_acctbal"], "Filter": "((customer_1.c_acctbal > 0.00) AND (\"substring\"((customer_1.c_phone)::text, 1, 2) = ANY ('{17,20,25,31,30,11,33}'::text[])))", "Rows Removed by Filter": 37364, "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.029, "Actual Total Time": 38.601, "Actual Rows": 11797, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 0.03, "Actual Total Time": 38.708, "Actual Rows": 11844, "Actual Loops": 1}]}]}]}]}, {"Node Type": "Sort", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 8524.69, "Total Cost": 8526.36, "Plan Rows": 668, "Plan Width": 38, "Actual Startup Time": 167.607, "Actual Total Time": 168.083, "Actual Rows": 6336, "Actual Loops": 1, "Output": ["(\"substring\"((customer.c_phone)::text, 1, 2))", "customer.c_acctbal"], "Sort Key": ["(\"substring\"((customer.c_phone)::text, 1, 2))"], "Sort Method": "quicksort", "Sort Space Used": 490, "Sort Space Type": "Memory", "Plans": [{"Node Type": "Nested Loop", "Parent Relationship": "Outer", "Parallel Aware": false, "Join Type": "Anti", "Startup Cost": 0.43, "Total Cost": 8493.35, "Plan Rows": 668, "Plan Width": 38, "Actual Startup Time": 44.282, "Actual Total Time": 165.67, "Actual Rows": 6336, "Actual Loops": 1, "Output": ["\"substring\"((customer.c_phone)::text, 1, 2)", "customer.c_acctbal"], "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Relation Name": "customer", "Schema": "public", "Alias": "customer", "Startup Cost": 0.0, "Total Cost": 7522.5, "Plan Rows": 1750, "Plan Width": 26, "Actual Startup Time": 44.269, "Actual Total Time": 121.619, "Actual Rows": 18883, "Actual Loops": 1, "Output": ["customer.c_custkey", "customer.c_name", "customer.c_address", "customer.c_nationkey", "customer.c_phone", "customer.c_acctbal", "customer.c_mktsegment", "customer.c_comment"], "Filter": "((customer.c_acctbal > $0) AND (\"substring\"((customer.c_phone)::text, 1, 2) = ANY ('{17,20,25,31,30,11,33}'::text[])))", "Rows Removed by Filter": 131117}, {"Node Type": "Index Only Scan", "Parent Relationship": "Inner", "Parallel Aware": false, "Scan Direction": "Forward", "Index Name": "o_ck", "Relation Name": "orders", "Schema": "public", "Alias": "orders", "Startup Cost": 0.43, "Total Cost": 1.62, "Plan Rows": 16, "Plan Width": 4, "Actual Startup Time": 0.002, "Actual Total Time": 0.002, "Actual Rows": 1, "Actual Loops": 18883, "Output": ["orders.o_custkey"], "Index Cond": "(orders.o_custkey = customer.c_custkey)", "Rows Removed by Index Recheck": 0, "Heap Fetches": 0}]}]}]}, "Planning Time": 0.462, "Triggers": [], "Execution Time": 169.985} diff --git a/dev9/pg9/tpch/sf_1/explain_analyze/15721/3-1.ok b/dev9/pg9/tpch/sf_1/explain_analyze/15721/3-1.ok new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/dev9/pg9/tpch/sf_1/explain_analyze/15721/3-1.res b/dev9/pg9/tpch/sf_1/explain_analyze/15721/3-1.res new file mode 100644 index 0000000000000000000000000000000000000000..e2892ca7800dae9ab933e247d57f4b70231442f5 --- /dev/null +++ b/dev9/pg9/tpch/sf_1/explain_analyze/15721/3-1.res @@ -0,0 +1 @@ +{"Plan": {"Node Type": "Limit", "Parallel Aware": false, "Startup Cost": 152156.49, "Total Cost": 152156.51, "Plan Rows": 10, "Plan Width": 44, "Actual Startup Time": 501.471, "Actual Total Time": 501.473, "Actual Rows": 10, "Actual Loops": 1, "Output": ["lineitem.l_orderkey", "(sum((lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount))))", "orders.o_orderdate", "orders.o_shippriority"], "Plans": [{"Node Type": "Sort", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 152156.49, "Total Cost": 152945.1, "Plan Rows": 315445, "Plan Width": 44, "Actual Startup Time": 501.469, "Actual Total Time": 501.47, "Actual Rows": 10, "Actual Loops": 1, "Output": ["lineitem.l_orderkey", "(sum((lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount))))", "orders.o_orderdate", "orders.o_shippriority"], "Sort Key": ["(sum((lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount)))) DESC", "orders.o_orderdate"], "Sort Method": "top-N heapsort", "Sort Space Used": 25, "Sort Space Type": "Memory", "Plans": [{"Node Type": "Aggregate", "Strategy": "Sorted", "Partial Mode": "Simple", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 135876.48, "Total Cost": 145339.83, "Plan Rows": 315445, "Plan Width": 44, "Actual Startup Time": 472.623, "Actual Total Time": 498.761, "Actual Rows": 11439, "Actual Loops": 1, "Output": ["lineitem.l_orderkey", "sum((lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount)))", "orders.o_orderdate", "orders.o_shippriority"], "Group Key": ["lineitem.l_orderkey", "orders.o_orderdate", "orders.o_shippriority"], "Plans": [{"Node Type": "Sort", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 135876.48, "Total Cost": 136665.1, "Plan Rows": 315445, "Plan Width": 24, "Actual Startup Time": 472.604, "Actual Total Time": 476.767, "Actual Rows": 30285, "Actual Loops": 1, "Output": ["lineitem.l_orderkey", "orders.o_orderdate", "orders.o_shippriority", "lineitem.l_extendedprice", "lineitem.l_discount"], "Sort Key": ["lineitem.l_orderkey", "orders.o_orderdate", "orders.o_shippriority"], "Sort Method": "quicksort", "Sort Space Used": 3135, "Sort Space Type": "Memory", "Plans": [{"Node Type": "Gather", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 1000.86, "Total Cost": 107065.27, "Plan Rows": 315445, "Plan Width": 24, "Actual Startup Time": 0.422, "Actual Total Time": 475.545, "Actual Rows": 30285, "Actual Loops": 1, "Output": ["lineitem.l_orderkey", "orders.o_orderdate", "orders.o_shippriority", "lineitem.l_extendedprice", "lineitem.l_discount"], "Workers Planned": 2, "Workers Launched": 2, "Single Copy": false, "Plans": [{"Node Type": "Nested Loop", "Parent Relationship": "Outer", "Parallel Aware": false, "Join Type": "Inner", "Startup Cost": 0.86, "Total Cost": 74520.77, "Plan Rows": 131435, "Plan Width": 24, "Actual Startup Time": 0.55, "Actual Total Time": 454.907, "Actual Rows": 10095, "Actual Loops": 3, "Output": ["lineitem.l_orderkey", "orders.o_orderdate", "orders.o_shippriority", "lineitem.l_extendedprice", "lineitem.l_discount"], "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.925, "Actual Total Time": 457.527, "Actual Rows": 9373, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 0.64, "Actual Total Time": 457.212, "Actual Rows": 9709, "Actual Loops": 1}], "Plans": [{"Node Type": "Nested Loop", "Parent Relationship": "Outer", "Parallel Aware": false, "Join Type": "Inner", "Startup Cost": 0.43, "Total Cost": 28546.32, "Plan Rows": 60739, "Plan Width": 12, "Actual Startup Time": 0.084, "Actual Total Time": 148.066, "Actual Rows": 48593, "Actual Loops": 3, "Output": ["orders.o_orderdate", "orders.o_shippriority", "orders.o_orderkey"], "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.099, "Actual Total Time": 147.066, "Actual Rows": 45631, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 0.128, "Actual Total Time": 146.736, "Actual Rows": 46607, "Actual Loops": 1}], "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": true, "Relation Name": "customer", "Schema": "public", "Alias": "customer", "Startup Cost": 0.0, "Total Cost": 4366.25, "Plan Rows": 12487, "Plan Width": 4, "Actual Startup Time": 0.018, "Actual Total Time": 14.459, "Actual Rows": 9989, "Actual Loops": 3, "Output": ["customer.c_custkey", "customer.c_name", "customer.c_address", "customer.c_nationkey", "customer.c_phone", "customer.c_acctbal", "customer.c_mktsegment", "customer.c_comment"], "Filter": "(customer.c_mktsegment = 'FURNITURE'::bpchar)", "Rows Removed by Filter": 40011, "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.031, "Actual Total Time": 14.391, "Actual Rows": 9467, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 0.017, "Actual Total Time": 14.447, "Actual Rows": 9541, "Actual Loops": 1}]}, {"Node Type": "Index Scan", "Parent Relationship": "Inner", "Parallel Aware": false, "Scan Direction": "Forward", "Index Name": "o_ck", "Relation Name": "orders", "Schema": "public", "Alias": "orders", "Startup Cost": 0.43, "Total Cost": 1.86, "Plan Rows": 8, "Plan Width": 16, "Actual Startup Time": 0.004, "Actual Total Time": 0.012, "Actual Rows": 5, "Actual Loops": 29968, "Output": ["orders.o_orderkey", "orders.o_custkey", "orders.o_orderstatus", "orders.o_totalprice", "orders.o_orderdate", "orders.o_orderpriority", "orders.o_clerk", "orders.o_shippriority", "orders.o_comment"], "Index Cond": "(orders.o_custkey = customer.c_custkey)", "Rows Removed by Index Recheck": 0, "Filter": "(orders.o_orderdate < '1995-03-20'::date)", "Rows Removed by Filter": 5, "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.004, "Actual Total Time": 0.013, "Actual Rows": 5, "Actual Loops": 9467}, {"Worker Number": 1, "Actual Startup Time": 0.004, "Actual Total Time": 0.013, "Actual Rows": 5, "Actual Loops": 9541}]}]}, {"Node Type": "Index Scan", "Parent Relationship": "Inner", "Parallel Aware": false, "Scan Direction": "Forward", "Index Name": "l_ok", "Relation Name": "lineitem", "Schema": "public", "Alias": "lineitem", "Startup Cost": 0.43, "Total Cost": 0.73, "Plan Rows": 3, "Plan Width": 16, "Actual Startup Time": 0.006, "Actual Total Time": 0.006, "Actual Rows": 0, "Actual Loops": 145780, "Output": ["lineitem.l_orderkey", "lineitem.l_partkey", "lineitem.l_suppkey", "lineitem.l_linenumber", "lineitem.l_quantity", "lineitem.l_extendedprice", "lineitem.l_discount", "lineitem.l_tax", "lineitem.l_returnflag", "lineitem.l_linestatus", "lineitem.l_shipdate", "lineitem.l_commitdate", "lineitem.l_receiptdate", "lineitem.l_shipinstruct", "lineitem.l_shipmode", "lineitem.l_comment"], "Index Cond": "(lineitem.l_orderkey = orders.o_orderkey)", "Rows Removed by Index Recheck": 0, "Filter": "(lineitem.l_shipdate > '1995-03-20'::date)", "Rows Removed by Filter": 4, "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.006, "Actual Total Time": 0.007, "Actual Rows": 0, "Actual Loops": 45631}, {"Worker Number": 1, "Actual Startup Time": 0.006, "Actual Total Time": 0.006, "Actual Rows": 0, "Actual Loops": 46607}]}]}]}]}]}]}]}, "Planning Time": 0.813, "Triggers": [], "Execution Time": 518.215} diff --git a/dev9/pg9/tpch/sf_1/explain_analyze/15721/4-1.ok b/dev9/pg9/tpch/sf_1/explain_analyze/15721/4-1.ok new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/dev9/pg9/tpch/sf_1/explain_analyze/15721/4-1.res b/dev9/pg9/tpch/sf_1/explain_analyze/15721/4-1.res new file mode 100644 index 0000000000000000000000000000000000000000..648fe12e67e9dd1033739561e985b2d8cb8ff54f --- /dev/null +++ b/dev9/pg9/tpch/sf_1/explain_analyze/15721/4-1.res @@ -0,0 +1 @@ +{"Plan": {"Node Type": "Aggregate", "Strategy": "Sorted", "Partial Mode": "Finalize", "Parallel Aware": false, "Startup Cost": 59398.69, "Total Cost": 59398.86, "Plan Rows": 5, "Plan Width": 24, "Actual Startup Time": 163.529, "Actual Total Time": 163.534, "Actual Rows": 5, "Actual Loops": 1, "Output": ["orders.o_orderpriority", "count(*)"], "Group Key": ["orders.o_orderpriority"], "Plans": [{"Node Type": "Sort", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 59398.69, "Total Cost": 59398.73, "Plan Rows": 15, "Plan Width": 24, "Actual Startup Time": 163.524, "Actual Total Time": 163.528, "Actual Rows": 20, "Actual Loops": 1, "Output": ["orders.o_orderpriority", "(PARTIAL count(*))"], "Sort Key": ["orders.o_orderpriority"], "Sort Method": "quicksort", "Sort Space Used": 26, "Sort Space Type": "Memory", "Plans": [{"Node Type": "Gather", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 59396.85, "Total Cost": 59398.4, "Plan Rows": 15, "Plan Width": 24, "Actual Startup Time": 163.442, "Actual Total Time": 188.835, "Actual Rows": 20, "Actual Loops": 1, "Output": ["orders.o_orderpriority", "(PARTIAL count(*))"], "Workers Planned": 3, "Workers Launched": 3, "Single Copy": false, "Plans": [{"Node Type": "Aggregate", "Strategy": "Hashed", "Partial Mode": "Partial", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 58396.85, "Total Cost": 58396.9, "Plan Rows": 5, "Plan Width": 24, "Actual Startup Time": 160.537, "Actual Total Time": 160.539, "Actual Rows": 5, "Actual Loops": 4, "Output": ["orders.o_orderpriority", "PARTIAL count(*)"], "Group Key": ["orders.o_orderpriority"], "Workers": [{"Worker Number": 0, "Actual Startup Time": 159.563, "Actual Total Time": 159.565, "Actual Rows": 5, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 159.624, "Actual Total Time": 159.627, "Actual Rows": 5, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 159.861, "Actual Total Time": 159.863, "Actual Rows": 5, "Actual Loops": 1}], "Plans": [{"Node Type": "Nested Loop", "Parent Relationship": "Outer", "Parallel Aware": false, "Join Type": "Semi", "Startup Cost": 0.43, "Total Cost": 58322.63, "Plan Rows": 14844, "Plan Width": 16, "Actual Startup Time": 0.072, "Actual Total Time": 156.547, "Actual Rows": 12952, "Actual Loops": 4, "Output": ["orders.o_orderpriority"], "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.093, "Actual Total Time": 155.892, "Actual Rows": 11619, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 0.095, "Actual Total Time": 155.996, "Actual Rows": 11651, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 0.088, "Actual Total Time": 156.212, "Actual Rows": 11753, "Actual Loops": 1}], "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": true, "Relation Name": "orders", "Schema": "public", "Alias": "orders", "Startup Cost": 0.0, "Total Cost": 33353.06, "Plan Rows": 18380, "Plan Width": 20, "Actual Startup Time": 0.018, "Actual Total Time": 76.374, "Actual Rows": 14142, "Actual Loops": 4, "Output": ["orders.o_orderkey", "orders.o_custkey", "orders.o_orderstatus", "orders.o_totalprice", "orders.o_orderdate", "orders.o_orderpriority", "orders.o_clerk", "orders.o_shippriority", "orders.o_comment"], "Filter": "((orders.o_orderdate >= '1996-01-01'::date) AND (orders.o_orderdate < '1996-04-01 00:00:00'::timestamp without time zone))", "Rows Removed by Filter": 360858, "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.02, "Actual Total Time": 73.302, "Actual Rows": 12687, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 0.024, "Actual Total Time": 73.36, "Actual Rows": 12710, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 0.022, "Actual Total Time": 73.605, "Actual Rows": 12840, "Actual Loops": 1}]}, {"Node Type": "Index Scan", "Parent Relationship": "Inner", "Parallel Aware": false, "Scan Direction": "Forward", "Index Name": "l_ok", "Relation Name": "lineitem", "Schema": "public", "Alias": "lineitem", "Startup Cost": 0.43, "Total Cost": 1.73, "Plan Rows": 2, "Plan Width": 4, "Actual Startup Time": 0.005, "Actual Total Time": 0.005, "Actual Rows": 1, "Actual Loops": 56568, "Output": ["lineitem.l_orderkey", "lineitem.l_partkey", "lineitem.l_suppkey", "lineitem.l_linenumber", "lineitem.l_quantity", "lineitem.l_extendedprice", "lineitem.l_discount", "lineitem.l_tax", "lineitem.l_returnflag", "lineitem.l_linestatus", "lineitem.l_shipdate", "lineitem.l_commitdate", "lineitem.l_receiptdate", "lineitem.l_shipinstruct", "lineitem.l_shipmode", "lineitem.l_comment"], "Index Cond": "(lineitem.l_orderkey = orders.o_orderkey)", "Rows Removed by Index Recheck": 0, "Filter": "(lineitem.l_commitdate < lineitem.l_receiptdate)", "Rows Removed by Filter": 1, "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.006, "Actual Total Time": 0.006, "Actual Rows": 1, "Actual Loops": 12687}, {"Worker Number": 1, "Actual Startup Time": 0.006, "Actual Total Time": 0.006, "Actual Rows": 1, "Actual Loops": 12710}, {"Worker Number": 2, "Actual Startup Time": 0.006, "Actual Total Time": 0.006, "Actual Rows": 1, "Actual Loops": 12840}]}]}]}]}]}]}, "Planning Time": 0.427, "Triggers": [], "Execution Time": 188.923} diff --git a/dev9/pg9/tpch/sf_1/explain_analyze/15721/5-1.ok b/dev9/pg9/tpch/sf_1/explain_analyze/15721/5-1.ok new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/dev9/pg9/tpch/sf_1/explain_analyze/15721/5-1.res b/dev9/pg9/tpch/sf_1/explain_analyze/15721/5-1.res new file mode 100644 index 0000000000000000000000000000000000000000..ed657e2ceb49ee2fe7257ef31af3add9e44f398d --- /dev/null +++ b/dev9/pg9/tpch/sf_1/explain_analyze/15721/5-1.res @@ -0,0 +1 @@ +{"Plan": {"Node Type": "Sort", "Parallel Aware": false, "Startup Cost": 42349.38, "Total Cost": 42349.45, "Plan Rows": 25, "Plan Width": 58, "Actual Startup Time": 276.494, "Actual Total Time": 276.494, "Actual Rows": 5, "Actual Loops": 1, "Output": ["nation.n_name", "(sum((lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount))))"], "Sort Key": ["(sum((lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount)))) DESC"], "Sort Method": "quicksort", "Sort Space Used": 25, "Sort Space Type": "Memory", "Plans": [{"Node Type": "Aggregate", "Strategy": "Sorted", "Partial Mode": "Finalize", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 42347.99, "Total Cost": 42348.8, "Plan Rows": 25, "Plan Width": 58, "Actual Startup Time": 276.478, "Actual Total Time": 276.485, "Actual Rows": 5, "Actual Loops": 1, "Output": ["nation.n_name", "sum((lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount)))"], "Group Key": ["nation.n_name"], "Plans": [{"Node Type": "Sort", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 42347.99, "Total Cost": 42348.12, "Plan Rows": 50, "Plan Width": 58, "Actual Startup Time": 276.472, "Actual Total Time": 276.473, "Actual Rows": 15, "Actual Loops": 1, "Output": ["nation.n_name", "(PARTIAL sum((lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount))))"], "Sort Key": ["nation.n_name"], "Sort Method": "quicksort", "Sort Space Used": 27, "Sort Space Type": "Memory", "Plans": [{"Node Type": "Gather", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 42303.37, "Total Cost": 42346.58, "Plan Rows": 50, "Plan Width": 58, "Actual Startup Time": 274.75, "Actual Total Time": 309.318, "Actual Rows": 15, "Actual Loops": 1, "Output": ["nation.n_name", "(PARTIAL sum((lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount))))"], "Workers Planned": 2, "Workers Launched": 2, "Single Copy": false, "Plans": [{"Node Type": "Aggregate", "Strategy": "Sorted", "Partial Mode": "Partial", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 41303.37, "Total Cost": 41341.58, "Plan Rows": 25, "Plan Width": 58, "Actual Startup Time": 271.776, "Actual Total Time": 273.204, "Actual Rows": 5, "Actual Loops": 3, "Output": ["nation.n_name", "PARTIAL sum((lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount)))"], "Group Key": ["nation.n_name"], "Workers": [{"Worker Number": 0, "Actual Startup Time": 270.516, "Actual Total Time": 271.779, "Actual Rows": 5, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 270.564, "Actual Total Time": 271.886, "Actual Rows": 5, "Actual Loops": 1}], "Plans": [{"Node Type": "Sort", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 41303.37, "Total Cost": 41310.95, "Plan Rows": 3032, "Plan Width": 38, "Actual Startup Time": 271.412, "Actual Total Time": 271.602, "Actual Rows": 2456, "Actual Loops": 3, "Output": ["nation.n_name", "lineitem.l_extendedprice", "lineitem.l_discount"], "Sort Key": ["nation.n_name"], "Sort Method": "quicksort", "Sort Space Used": 321, "Sort Space Type": "Memory", "Workers": [{"Worker Number": 0, "Actual Startup Time": 270.141, "Actual Total Time": 270.304, "Actual Rows": 2242, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 270.243, "Actual Total Time": 270.405, "Actual Rows": 2251, "Actual Loops": 1}], "Plans": [{"Node Type": "Hash Join", "Parent Relationship": "Outer", "Parallel Aware": false, "Join Type": "Inner", "Startup Cost": 475.39, "Total Cost": 41128.03, "Plan Rows": 3032, "Plan Width": 38, "Actual Startup Time": 5.057, "Actual Total Time": 270.37, "Actual Rows": 2456, "Actual Loops": 3, "Output": ["nation.n_name", "lineitem.l_extendedprice", "lineitem.l_discount"], "Hash Cond": "((lineitem.l_suppkey = supplier.s_suppkey) AND (customer.c_nationkey = supplier.s_nationkey))", "Workers": [{"Worker Number": 0, "Actual Startup Time": 5.167, "Actual Total Time": 269.139, "Actual Rows": 2242, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 6.559, "Actual Total Time": 269.191, "Actual Rows": 2251, "Actual Loops": 1}], "Plans": [{"Node Type": "Nested Loop", "Parent Relationship": "Outer", "Parallel Aware": false, "Join Type": "Inner", "Startup Cost": 3.39, "Total Cost": 40057.11, "Plan Rows": 75812, "Plan Width": 50, "Actual Startup Time": 0.237, "Actual Total Time": 255.001, "Actual Rows": 60955, "Actual Loops": 3, "Output": ["customer.c_nationkey", "lineitem.l_extendedprice", "lineitem.l_discount", "lineitem.l_suppkey", "nation.n_name", "nation.n_nationkey"], "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.296, "Actual Total Time": 254.317, "Actual Rows": 55467, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 0.358, "Actual Total Time": 254.552, "Actual Rows": 55890, "Actual Loops": 1}], "Plans": [{"Node Type": "Nested Loop", "Parent Relationship": "Outer", "Parallel Aware": false, "Join Type": "Inner", "Startup Cost": 2.96, "Total Cost": 17435.0, "Plan Rows": 18949, "Plan Width": 38, "Actual Startup Time": 0.195, "Actual Total Time": 137.658, "Actual Rows": 15210, "Actual Loops": 3, "Output": ["customer.c_nationkey", "orders.o_orderkey", "nation.n_name", "nation.n_nationkey"], "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.233, "Actual Total Time": 132.979, "Actual Rows": 13784, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 0.301, "Actual Total Time": 133.071, "Actual Rows": 14035, "Actual Loops": 1}], "Plans": [{"Node Type": "Hash Join", "Parent Relationship": "Outer", "Parallel Aware": false, "Join Type": "Inner", "Startup Cost": 2.53, "Total Cost": 4571.91, "Plan Rows": 12500, "Plan Width": 38, "Actual Startup Time": 0.093, "Actual Total Time": 17.291, "Actual Rows": 9984, "Actual Loops": 3, "Output": ["customer.c_custkey", "customer.c_nationkey", "nation.n_name", "nation.n_nationkey"], "Hash Cond": "(customer.c_nationkey = nation.n_nationkey)", "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.127, "Actual Total Time": 16.796, "Actual Rows": 9131, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 0.118, "Actual Total Time": 16.758, "Actual Rows": 9243, "Actual Loops": 1}], "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": true, "Relation Name": "customer", "Schema": "public", "Alias": "customer", "Startup Cost": 0.0, "Total Cost": 4210.0, "Plan Rows": 62500, "Plan Width": 8, "Actual Startup Time": 0.009, "Actual Total Time": 5.556, "Actual Rows": 50000, "Actual Loops": 3, "Output": ["customer.c_custkey", "customer.c_name", "customer.c_address", "customer.c_nationkey", "customer.c_phone", "customer.c_acctbal", "customer.c_mktsegment", "customer.c_comment"], "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.012, "Actual Total Time": 5.616, "Actual Rows": 45902, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 0.011, "Actual Total Time": 5.73, "Actual Rows": 45999, "Actual Loops": 1}]}, {"Node Type": "Hash", "Parent Relationship": "Inner", "Parallel Aware": false, "Startup Cost": 2.47, "Total Cost": 2.47, "Plan Rows": 5, "Plan Width": 30, "Actual Startup Time": 0.046, "Actual Total Time": 0.046, "Actual Rows": 5, "Actual Loops": 3, "Output": ["nation.n_name", "nation.n_nationkey"], "Hash Buckets": 1024, "Original Hash Buckets": 1024, "Hash Batches": 1, "Original Hash Batches": 1, "Peak Memory Usage": 9, "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.059, "Actual Total Time": 0.059, "Actual Rows": 5, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 0.055, "Actual Total Time": 0.055, "Actual Rows": 5, "Actual Loops": 1}], "Plans": [{"Node Type": "Hash Join", "Parent Relationship": "Outer", "Parallel Aware": false, "Join Type": "Inner", "Startup Cost": 1.07, "Total Cost": 2.47, "Plan Rows": 5, "Plan Width": 30, "Actual Startup Time": 0.036, "Actual Total Time": 0.044, "Actual Rows": 5, "Actual Loops": 3, "Output": ["nation.n_name", "nation.n_nationkey"], "Hash Cond": "(nation.n_regionkey = region.r_regionkey)", "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.049, "Actual Total Time": 0.057, "Actual Rows": 5, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 0.044, "Actual Total Time": 0.051, "Actual Rows": 5, "Actual Loops": 1}], "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Relation Name": "nation", "Schema": "public", "Alias": "nation", "Startup Cost": 0.0, "Total Cost": 1.25, "Plan Rows": 25, "Plan Width": 34, "Actual Startup Time": 0.01, "Actual Total Time": 0.013, "Actual Rows": 25, "Actual Loops": 3, "Output": ["nation.n_nationkey", "nation.n_name", "nation.n_regionkey", "nation.n_comment"], "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.015, "Actual Total Time": 0.019, "Actual Rows": 25, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 0.014, "Actual Total Time": 0.016, "Actual Rows": 25, "Actual Loops": 1}]}, {"Node Type": "Hash", "Parent Relationship": "Inner", "Parallel Aware": false, "Startup Cost": 1.06, "Total Cost": 1.06, "Plan Rows": 1, "Plan Width": 4, "Actual Startup Time": 0.015, "Actual Total Time": 0.015, "Actual Rows": 1, "Actual Loops": 3, "Output": ["region.r_regionkey"], "Hash Buckets": 1024, "Original Hash Buckets": 1024, "Hash Batches": 1, "Original Hash Batches": 1, "Peak Memory Usage": 9, "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.02, "Actual Total Time": 0.02, "Actual Rows": 1, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 0.017, "Actual Total Time": 0.017, "Actual Rows": 1, "Actual Loops": 1}], "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Relation Name": "region", "Schema": "public", "Alias": "region", "Startup Cost": 0.0, "Total Cost": 1.06, "Plan Rows": 1, "Plan Width": 4, "Actual Startup Time": 0.011, "Actual Total Time": 0.012, "Actual Rows": 1, "Actual Loops": 3, "Output": ["region.r_regionkey"], "Filter": "(region.r_name = 'AMERICA'::bpchar)", "Rows Removed by Filter": 4, "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.015, "Actual Total Time": 0.017, "Actual Rows": 1, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 0.013, "Actual Total Time": 0.014, "Actual Rows": 1, "Actual Loops": 1}]}]}]}]}]}, {"Node Type": "Index Scan", "Parent Relationship": "Inner", "Parallel Aware": false, "Scan Direction": "Forward", "Index Name": "o_ck", "Relation Name": "orders", "Schema": "public", "Alias": "orders", "Startup Cost": 0.43, "Total Cost": 1.01, "Plan Rows": 2, "Plan Width": 8, "Actual Startup Time": 0.006, "Actual Total Time": 0.012, "Actual Rows": 2, "Actual Loops": 29952, "Output": ["orders.o_orderkey", "orders.o_custkey", "orders.o_orderstatus", "orders.o_totalprice", "orders.o_orderdate", "orders.o_orderpriority", "orders.o_clerk", "orders.o_shippriority", "orders.o_comment"], "Index Cond": "(orders.o_custkey = customer.c_custkey)", "Rows Removed by Index Recheck": 0, "Filter": "((orders.o_orderdate >= '1995-01-01'::date) AND (orders.o_orderdate < '1996-01-01 00:00:00'::timestamp without time zone))", "Rows Removed by Filter": 8, "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.006, "Actual Total Time": 0.012, "Actual Rows": 2, "Actual Loops": 9131}, {"Worker Number": 1, "Actual Startup Time": 0.006, "Actual Total Time": 0.012, "Actual Rows": 2, "Actual Loops": 9243}]}]}, {"Node Type": "Index Scan", "Parent Relationship": "Inner", "Parallel Aware": false, "Scan Direction": "Forward", "Index Name": "l_ok", "Relation Name": "lineitem", "Schema": "public", "Alias": "lineitem", "Startup Cost": 0.43, "Total Cost": 1.14, "Plan Rows": 5, "Plan Width": 20, "Actual Startup Time": 0.006, "Actual Total Time": 0.007, "Actual Rows": 4, "Actual Loops": 45630, "Output": ["lineitem.l_orderkey", "lineitem.l_partkey", "lineitem.l_suppkey", "lineitem.l_linenumber", "lineitem.l_quantity", "lineitem.l_extendedprice", "lineitem.l_discount", "lineitem.l_tax", "lineitem.l_returnflag", "lineitem.l_linestatus", "lineitem.l_shipdate", "lineitem.l_commitdate", "lineitem.l_receiptdate", "lineitem.l_shipinstruct", "lineitem.l_shipmode", "lineitem.l_comment"], "Index Cond": "(lineitem.l_orderkey = orders.o_orderkey)", "Rows Removed by Index Recheck": 0, "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.007, "Actual Total Time": 0.008, "Actual Rows": 4, "Actual Loops": 13784}, {"Worker Number": 1, "Actual Startup Time": 0.007, "Actual Total Time": 0.008, "Actual Rows": 4, "Actual Loops": 14035}]}]}, {"Node Type": "Hash", "Parent Relationship": "Inner", "Parallel Aware": false, "Startup Cost": 322.0, "Total Cost": 322.0, "Plan Rows": 10000, "Plan Width": 8, "Actual Startup Time": 4.031, "Actual Total Time": 4.031, "Actual Rows": 10000, "Actual Loops": 3, "Output": ["supplier.s_suppkey", "supplier.s_nationkey"], "Hash Buckets": 16384, "Original Hash Buckets": 16384, "Hash Batches": 1, "Original Hash Batches": 1, "Peak Memory Usage": 519, "Workers": [{"Worker Number": 0, "Actual Startup Time": 4.398, "Actual Total Time": 4.398, "Actual Rows": 10000, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 4.333, "Actual Total Time": 4.334, "Actual Rows": 10000, "Actual Loops": 1}], "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Relation Name": "supplier", "Schema": "public", "Alias": "supplier", "Startup Cost": 0.0, "Total Cost": 322.0, "Plan Rows": 10000, "Plan Width": 8, "Actual Startup Time": 0.007, "Actual Total Time": 2.362, "Actual Rows": 10000, "Actual Loops": 3, "Output": ["supplier.s_suppkey", "supplier.s_nationkey"], "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.01, "Actual Total Time": 2.637, "Actual Rows": 10000, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 0.008, "Actual Total Time": 2.575, "Actual Rows": 10000, "Actual Loops": 1}]}]}]}]}]}]}]}]}]}, "Planning Time": 2.124, "Triggers": [], "Execution Time": 309.444} diff --git a/dev9/pg9/tpch/sf_1/explain_analyze/15721/6-1.ok b/dev9/pg9/tpch/sf_1/explain_analyze/15721/6-1.ok new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/dev9/pg9/tpch/sf_1/explain_analyze/15721/6-1.res b/dev9/pg9/tpch/sf_1/explain_analyze/15721/6-1.res new file mode 100644 index 0000000000000000000000000000000000000000..56f2e8dce00dffbbcc91fae9b3d5d38a50f400ce --- /dev/null +++ b/dev9/pg9/tpch/sf_1/explain_analyze/15721/6-1.res @@ -0,0 +1 @@ +{"Plan": {"Node Type": "Aggregate", "Strategy": "Plain", "Partial Mode": "Finalize", "Parallel Aware": false, "Startup Cost": 140626.22, "Total Cost": 140626.23, "Plan Rows": 1, "Plan Width": 32, "Actual Startup Time": 303.005, "Actual Total Time": 303.006, "Actual Rows": 1, "Actual Loops": 1, "Output": ["sum((l_extendedprice * l_discount))"], "Plans": [{"Node Type": "Gather", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 140625.68, "Total Cost": 140626.2, "Plan Rows": 5, "Plan Width": 32, "Actual Startup Time": 302.93, "Actual Total Time": 330.873, "Actual Rows": 6, "Actual Loops": 1, "Output": ["(PARTIAL sum((l_extendedprice * l_discount)))"], "Workers Planned": 5, "Workers Launched": 5, "Single Copy": false, "Plans": [{"Node Type": "Aggregate", "Strategy": "Plain", "Partial Mode": "Partial", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 139625.68, "Total Cost": 139625.7, "Plan Rows": 1, "Plan Width": 32, "Actual Startup Time": 299.881, "Actual Total Time": 299.881, "Actual Rows": 1, "Actual Loops": 6, "Output": ["PARTIAL sum((l_extendedprice * l_discount))"], "Workers": [{"Worker Number": 0, "Actual Startup Time": 299.134, "Actual Total Time": 299.134, "Actual Rows": 1, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 299.244, "Actual Total Time": 299.244, "Actual Rows": 1, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 299.345, "Actual Total Time": 299.345, "Actual Rows": 1, "Actual Loops": 1}, {"Worker Number": 3, "Actual Startup Time": 299.356, "Actual Total Time": 299.356, "Actual Rows": 1, "Actual Loops": 1}, {"Worker Number": 4, "Actual Startup Time": 299.609, "Actual Total Time": 299.609, "Actual Rows": 1, "Actual Loops": 1}], "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": true, "Relation Name": "lineitem", "Schema": "public", "Alias": "lineitem", "Startup Cost": 0.0, "Total Cost": 139508.47, "Plan Rows": 23443, "Plan Width": 12, "Actual Startup Time": 0.038, "Actual Total Time": 291.896, "Actual Rows": 19184, "Actual Loops": 6, "Output": ["l_extendedprice", "l_discount"], "Filter": "((lineitem.l_shipdate >= '1995-01-01'::date) AND (lineitem.l_shipdate < '1996-01-01 00:00:00'::timestamp without time zone) AND (lineitem.l_discount >= 0.04) AND (lineitem.l_discount <= 0.06) AND (lineitem.l_quantity < '24'::numeric))", "Rows Removed by Filter": 981019, "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.056, "Actual Total Time": 291.434, "Actual Rows": 18241, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 0.03, "Actual Total Time": 291.457, "Actual Rows": 18509, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 0.038, "Actual Total Time": 291.765, "Actual Rows": 18237, "Actual Loops": 1}, {"Worker Number": 3, "Actual Startup Time": 0.032, "Actual Total Time": 291.653, "Actual Rows": 18046, "Actual Loops": 1}, {"Worker Number": 4, "Actual Startup Time": 0.054, "Actual Total Time": 291.859, "Actual Rows": 18450, "Actual Loops": 1}]}]}]}]}, "Planning Time": 0.145, "Triggers": [], "Execution Time": 330.919} diff --git a/dev9/pg9/tpch/sf_1/explain_analyze/15721/7-1.ok b/dev9/pg9/tpch/sf_1/explain_analyze/15721/7-1.ok new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/dev9/pg9/tpch/sf_1/explain_analyze/15721/7-1.res b/dev9/pg9/tpch/sf_1/explain_analyze/15721/7-1.res new file mode 100644 index 0000000000000000000000000000000000000000..3a3919131a5d97433d060a9e0c4920ed39fa2ff5 --- /dev/null +++ b/dev9/pg9/tpch/sf_1/explain_analyze/15721/7-1.res @@ -0,0 +1 @@ +{"Plan": {"Node Type": "Aggregate", "Strategy": "Sorted", "Partial Mode": "Simple", "Parallel Aware": false, "Startup Cost": 38713.38, "Total Cost": 38927.51, "Plan Rows": 6118, "Plan Width": 92, "Actual Startup Time": 674.697, "Actual Total Time": 678.282, "Actual Rows": 4, "Actual Loops": 1, "Output": ["n1.n_name", "n2.n_name", "(date_part('year'::text, (lineitem.l_shipdate)::timestamp without time zone))", "sum((lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount)))"], "Group Key": ["n1.n_name", "n2.n_name", "(date_part('year'::text, (lineitem.l_shipdate)::timestamp without time zone))"], "Plans": [{"Node Type": "Sort", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 38713.38, "Total Cost": 38728.68, "Plan Rows": 6118, "Plan Width": 72, "Actual Startup Time": 673.46, "Actual Total Time": 674.089, "Actual Rows": 5624, "Actual Loops": 1, "Output": ["n1.n_name", "n2.n_name", "(date_part('year'::text, (lineitem.l_shipdate)::timestamp without time zone))", "lineitem.l_extendedprice", "lineitem.l_discount"], "Sort Key": ["n1.n_name", "n2.n_name", "(date_part('year'::text, (lineitem.l_shipdate)::timestamp without time zone))"], "Sort Method": "quicksort", "Sort Space Used": 983, "Sort Space Type": "Memory", "Plans": [{"Node Type": "Gather", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 26711.52, "Total Cost": 38328.6, "Plan Rows": 6118, "Plan Width": 72, "Actual Startup Time": 513.926, "Actual Total Time": 701.941, "Actual Rows": 5624, "Actual Loops": 1, "Output": ["n1.n_name", "n2.n_name", "(date_part('year'::text, (lineitem.l_shipdate)::timestamp without time zone))", "lineitem.l_extendedprice", "lineitem.l_discount"], "Workers Planned": 2, "Workers Launched": 2, "Single Copy": false, "Plans": [{"Node Type": "Hash Join", "Parent Relationship": "Outer", "Parallel Aware": false, "Join Type": "Inner", "Startup Cost": 25711.52, "Total Cost": 36698.95, "Plan Rows": 2549, "Plan Width": 72, "Actual Startup Time": 586.008, "Actual Total Time": 666.338, "Actual Rows": 1875, "Actual Loops": 3, "Output": ["n1.n_name", "n2.n_name", "date_part('year'::text, (lineitem.l_shipdate)::timestamp without time zone)", "lineitem.l_extendedprice", "lineitem.l_discount"], "Hash Cond": "(orders.o_orderkey = lineitem.l_orderkey)", "Join Filter": "(((n1.n_name = 'IRAN'::bpchar) AND (n2.n_name = 'ETHIOPIA'::bpchar)) OR ((n1.n_name = 'ETHIOPIA'::bpchar) AND (n2.n_name = 'IRAN'::bpchar)))", "Rows Removed by Join Filter": 1861, "Workers": [{"Worker Number": 0, "Actual Startup Time": 622.355, "Actual Total Time": 665.944, "Actual Rows": 800, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 622.275, "Actual Total Time": 666.174, "Actual Rows": 791, "Actual Loops": 1}], "Plans": [{"Node Type": "Nested Loop", "Parent Relationship": "Outer", "Parallel Aware": false, "Join Type": "Inner", "Startup Cost": 1.83, "Total Cost": 9941.01, "Plan Rows": 50000, "Plan Width": 30, "Actual Startup Time": 0.165, "Actual Total Time": 68.71, "Actual Rows": 39794, "Actual Loops": 3, "Output": ["orders.o_orderkey", "n2.n_name"], "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.239, "Actual Total Time": 38.714, "Actual Rows": 16451, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 0.22, "Actual Total Time": 38.921, "Actual Rows": 16795, "Actual Loops": 1}], "Plans": [{"Node Type": "Hash Join", "Parent Relationship": "Outer", "Parallel Aware": false, "Join Type": "Inner", "Startup Cost": 1.4, "Total Cost": 4495.77, "Plan Rows": 5000, "Plan Width": 30, "Actual Startup Time": 0.124, "Actual Total Time": 14.1, "Actual Rows": 3987, "Actual Loops": 3, "Output": ["customer.c_custkey", "n2.n_name"], "Hash Cond": "(customer.c_nationkey = n2.n_nationkey)", "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.179, "Actual Total Time": 6.674, "Actual Rows": 1656, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 0.165, "Actual Total Time": 6.752, "Actual Rows": 1657, "Actual Loops": 1}], "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": true, "Relation Name": "customer", "Schema": "public", "Alias": "customer", "Startup Cost": 0.0, "Total Cost": 4210.0, "Plan Rows": 62500, "Plan Width": 8, "Actual Startup Time": 0.008, "Actual Total Time": 4.845, "Actual Rows": 50000, "Actual Loops": 3, "Output": ["customer.c_custkey", "customer.c_name", "customer.c_address", "customer.c_nationkey", "customer.c_phone", "customer.c_acctbal", "customer.c_mktsegment", "customer.c_comment"], "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.011, "Actual Total Time": 2.567, "Actual Rows": 20792, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 0.011, "Actual Total Time": 2.563, "Actual Rows": 21171, "Actual Loops": 1}]}, {"Node Type": "Hash", "Parent Relationship": "Inner", "Parallel Aware": false, "Startup Cost": 1.38, "Total Cost": 1.38, "Plan Rows": 2, "Plan Width": 30, "Actual Startup Time": 0.024, "Actual Total Time": 0.024, "Actual Rows": 2, "Actual Loops": 3, "Output": ["n2.n_name", "n2.n_nationkey"], "Hash Buckets": 1024, "Original Hash Buckets": 1024, "Hash Batches": 1, "Original Hash Batches": 1, "Peak Memory Usage": 9, "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.03, "Actual Total Time": 0.03, "Actual Rows": 2, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 0.029, "Actual Total Time": 0.029, "Actual Rows": 2, "Actual Loops": 1}], "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Relation Name": "nation", "Schema": "public", "Alias": "n2", "Startup Cost": 0.0, "Total Cost": 1.38, "Plan Rows": 2, "Plan Width": 30, "Actual Startup Time": 0.016, "Actual Total Time": 0.02, "Actual Rows": 2, "Actual Loops": 3, "Output": ["n2.n_name", "n2.n_nationkey"], "Filter": "((n2.n_name = 'ETHIOPIA'::bpchar) OR (n2.n_name = 'IRAN'::bpchar))", "Rows Removed by Filter": 23, "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.022, "Actual Total Time": 0.026, "Actual Rows": 2, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 0.02, "Actual Total Time": 0.024, "Actual Rows": 2, "Actual Loops": 1}]}]}]}, {"Node Type": "Index Scan", "Parent Relationship": "Inner", "Parallel Aware": false, "Scan Direction": "Forward", "Index Name": "o_ck", "Relation Name": "orders", "Schema": "public", "Alias": "orders", "Startup Cost": 0.43, "Total Cost": 0.93, "Plan Rows": 16, "Plan Width": 8, "Actual Startup Time": 0.003, "Actual Total Time": 0.012, "Actual Rows": 10, "Actual Loops": 11961, "Output": ["orders.o_orderkey", "orders.o_custkey", "orders.o_orderstatus", "orders.o_totalprice", "orders.o_orderdate", "orders.o_orderpriority", "orders.o_clerk", "orders.o_shippriority", "orders.o_comment"], "Index Cond": "(orders.o_custkey = customer.c_custkey)", "Rows Removed by Index Recheck": 0, "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.004, "Actual Total Time": 0.018, "Actual Rows": 10, "Actual Loops": 1656}, {"Worker Number": 1, "Actual Startup Time": 0.004, "Actual Total Time": 0.018, "Actual Rows": 10, "Actual Loops": 1657}]}]}, {"Node Type": "Hash", "Parent Relationship": "Inner", "Parallel Aware": false, "Startup Cost": 23872.12, "Total Cost": 23872.12, "Plan Rows": 147006, "Plan Width": 46, "Actual Startup Time": 584.744, "Actual Total Time": 584.744, "Actual Rows": 140959, "Actual Loops": 3, "Output": ["lineitem.l_shipdate", "lineitem.l_extendedprice", "lineitem.l_discount", "lineitem.l_orderkey", "n1.n_name"], "Hash Buckets": 262144, "Original Hash Buckets": 262144, "Hash Batches": 1, "Original Hash Batches": 1, "Peak Memory Usage": 13200, "Workers": [{"Worker Number": 0, "Actual Startup Time": 620.478, "Actual Total Time": 620.478, "Actual Rows": 140959, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 620.731, "Actual Total Time": 620.731, "Actual Rows": 140959, "Actual Loops": 1}], "Plans": [{"Node Type": "Nested Loop", "Parent Relationship": "Outer", "Parallel Aware": false, "Join Type": "Inner", "Startup Cost": 6.02, "Total Cost": 23872.12, "Plan Rows": 147006, "Plan Width": 46, "Actual Startup Time": 0.17, "Actual Total Time": 541.483, "Actual Rows": 140959, "Actual Loops": 3, "Output": ["lineitem.l_shipdate", "lineitem.l_extendedprice", "lineitem.l_discount", "lineitem.l_orderkey", "n1.n_name"], "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.208, "Actual Total Time": 574.505, "Actual Rows": 140959, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 0.2, "Actual Total Time": 575.742, "Actual Rows": 140959, "Actual Loops": 1}], "Plans": [{"Node Type": "Nested Loop", "Parent Relationship": "Outer", "Parallel Aware": false, "Join Type": "Inner", "Startup Cost": 5.58, "Total Cost": 259.05, "Plan Rows": 800, "Plan Width": 30, "Actual Startup Time": 0.117, "Actual Total Time": 1.265, "Actual Rows": 773, "Actual Loops": 3, "Output": ["supplier.s_suppkey", "n1.n_name"], "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.133, "Actual Total Time": 1.381, "Actual Rows": 773, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 0.131, "Actual Total Time": 1.372, "Actual Rows": 773, "Actual Loops": 1}], "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Relation Name": "nation", "Schema": "public", "Alias": "n1", "Startup Cost": 0.0, "Total Cost": 1.38, "Plan Rows": 2, "Plan Width": 30, "Actual Startup Time": 0.004, "Actual Total Time": 0.014, "Actual Rows": 2, "Actual Loops": 3, "Output": ["n1.n_nationkey", "n1.n_name", "n1.n_regionkey", "n1.n_comment"], "Filter": "((n1.n_name = 'IRAN'::bpchar) OR (n1.n_name = 'ETHIOPIA'::bpchar))", "Rows Removed by Filter": 23, "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.003, "Actual Total Time": 0.013, "Actual Rows": 2, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 0.004, "Actual Total Time": 0.014, "Actual Rows": 2, "Actual Loops": 1}]}, {"Node Type": "Bitmap Heap Scan", "Parent Relationship": "Inner", "Parallel Aware": false, "Relation Name": "supplier", "Schema": "public", "Alias": "supplier", "Startup Cost": 5.58, "Total Cost": 124.84, "Plan Rows": 400, "Plan Width": 8, "Actual Startup Time": 0.098, "Actual Total Time": 0.542, "Actual Rows": 386, "Actual Loops": 6, "Output": ["supplier.s_suppkey", "supplier.s_name", "supplier.s_address", "supplier.s_nationkey", "supplier.s_phone", "supplier.s_acctbal", "supplier.s_comment"], "Recheck Cond": "(supplier.s_nationkey = n1.n_nationkey)", "Rows Removed by Index Recheck": 0, "Exact Heap Blocks": 371, "Lossy Heap Blocks": 0, "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.108, "Actual Total Time": 0.597, "Actual Rows": 386, "Actual Loops": 2}, {"Worker Number": 1, "Actual Startup Time": 0.107, "Actual Total Time": 0.592, "Actual Rows": 386, "Actual Loops": 2}], "Plans": [{"Node Type": "Bitmap Index Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Index Name": "s_nk", "Startup Cost": 0.0, "Total Cost": 5.49, "Plan Rows": 400, "Plan Width": 0, "Actual Startup Time": 0.068, "Actual Total Time": 0.068, "Actual Rows": 386, "Actual Loops": 6, "Index Cond": "(supplier.s_nationkey = n1.n_nationkey)", "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.077, "Actual Total Time": 0.077, "Actual Rows": 386, "Actual Loops": 2}, {"Worker Number": 1, "Actual Startup Time": 0.076, "Actual Total Time": 0.076, "Actual Rows": 386, "Actual Loops": 2}]}]}]}, {"Node Type": "Index Scan", "Parent Relationship": "Inner", "Parallel Aware": false, "Scan Direction": "Forward", "Index Name": "l_sk", "Relation Name": "lineitem", "Schema": "public", "Alias": "lineitem", "Startup Cost": 0.43, "Total Cost": 27.68, "Plan Rows": 184, "Plan Width": 24, "Actual Startup Time": 0.015, "Actual Total Time": 0.675, "Actual Rows": 182, "Actual Loops": 2319, "Output": ["lineitem.l_orderkey", "lineitem.l_partkey", "lineitem.l_suppkey", "lineitem.l_linenumber", "lineitem.l_quantity", "lineitem.l_extendedprice", "lineitem.l_discount", "lineitem.l_tax", "lineitem.l_returnflag", "lineitem.l_linestatus", "lineitem.l_shipdate", "lineitem.l_commitdate", "lineitem.l_receiptdate", "lineitem.l_shipinstruct", "lineitem.l_shipmode", "lineitem.l_comment"], "Index Cond": "(lineitem.l_suppkey = supplier.s_suppkey)", "Rows Removed by Index Recheck": 0, "Filter": "((lineitem.l_shipdate >= '1995-01-01'::date) AND (lineitem.l_shipdate <= '1996-12-31'::date))", "Rows Removed by Filter": 417, "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.017, "Actual Total Time": 0.718, "Actual Rows": 182, "Actual Loops": 773}, {"Worker Number": 1, "Actual Startup Time": 0.017, "Actual Total Time": 0.719, "Actual Rows": 182, "Actual Loops": 773}]}]}]}]}]}]}]}, "Planning Time": 1.784, "Triggers": [], "Execution Time": 710.028} diff --git a/dev9/pg9/tpch/sf_1/explain_analyze/15721/8-1.ok b/dev9/pg9/tpch/sf_1/explain_analyze/15721/8-1.ok new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/dev9/pg9/tpch/sf_1/explain_analyze/15721/8-1.res b/dev9/pg9/tpch/sf_1/explain_analyze/15721/8-1.res new file mode 100644 index 0000000000000000000000000000000000000000..4a2e72bfc5d79ff948a154d06d0849f476119e31 --- /dev/null +++ b/dev9/pg9/tpch/sf_1/explain_analyze/15721/8-1.res @@ -0,0 +1 @@ +{"Plan": {"Node Type": "Aggregate", "Strategy": "Sorted", "Partial Mode": "Finalize", "Parallel Aware": false, "Startup Cost": 34729.35, "Total Cost": 34814.87, "Plan Rows": 2406, "Plan Width": 40, "Actual Startup Time": 144.755, "Actual Total Time": 144.759, "Actual Rows": 2, "Actual Loops": 1, "Output": ["(date_part('year'::text, (orders.o_orderdate)::timestamp without time zone))", "(sum(CASE WHEN (n2.n_name = 'ETHIOPIA'::bpchar) THEN (lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount)) ELSE '0'::numeric END) / sum((lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount))))"], "Group Key": ["(date_part('year'::text, (orders.o_orderdate)::timestamp without time zone))"], "Plans": [{"Node Type": "Sort", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 34729.35, "Total Cost": 34734.58, "Plan Rows": 2092, "Plan Width": 72, "Actual Startup Time": 144.745, "Actual Total Time": 144.746, "Actual Rows": 6, "Actual Loops": 1, "Output": ["(date_part('year'::text, (orders.o_orderdate)::timestamp without time zone))", "(PARTIAL sum(CASE WHEN (n2.n_name = 'ETHIOPIA'::bpchar) THEN (lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount)) ELSE '0'::numeric END))", "(PARTIAL sum((lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount))))"], "Sort Key": ["(date_part('year'::text, (orders.o_orderdate)::timestamp without time zone))"], "Sort Method": "quicksort", "Sort Space Used": 25, "Sort Space Type": "Memory", "Plans": [{"Node Type": "Gather", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 34360.32, "Total Cost": 34613.97, "Plan Rows": 2092, "Plan Width": 72, "Actual Startup Time": 144.217, "Actual Total Time": 171.859, "Actual Rows": 6, "Actual Loops": 1, "Output": ["(date_part('year'::text, (orders.o_orderdate)::timestamp without time zone))", "(PARTIAL sum(CASE WHEN (n2.n_name = 'ETHIOPIA'::bpchar) THEN (lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount)) ELSE '0'::numeric END))", "(PARTIAL sum((lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount))))"], "Workers Planned": 2, "Workers Launched": 2, "Single Copy": false, "Plans": [{"Node Type": "Aggregate", "Strategy": "Sorted", "Partial Mode": "Partial", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 33360.32, "Total Cost": 33404.77, "Plan Rows": 1046, "Plan Width": 72, "Actual Startup Time": 141.002, "Actual Total Time": 141.376, "Actual Rows": 2, "Actual Loops": 3, "Output": ["(date_part('year'::text, (orders.o_orderdate)::timestamp without time zone))", "PARTIAL sum(CASE WHEN (n2.n_name = 'ETHIOPIA'::bpchar) THEN (lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount)) ELSE '0'::numeric END)", "PARTIAL sum((lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount)))"], "Group Key": ["(date_part('year'::text, (orders.o_orderdate)::timestamp without time zone))"], "Workers": [{"Worker Number": 0, "Actual Startup Time": 139.532, "Actual Total Time": 139.814, "Actual Rows": 2, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 139.88, "Actual Total Time": 140.202, "Actual Rows": 2, "Actual Loops": 1}], "Plans": [{"Node Type": "Sort", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 33360.32, "Total Cost": 33362.93, "Plan Rows": 1046, "Plan Width": 46, "Actual Startup Time": 140.607, "Actual Total Time": 140.67, "Actual Rows": 809, "Actual Loops": 3, "Output": ["(date_part('year'::text, (orders.o_orderdate)::timestamp without time zone))", "n2.n_name", "lineitem.l_extendedprice", "lineitem.l_discount"], "Sort Key": ["(date_part('year'::text, (orders.o_orderdate)::timestamp without time zone))"], "Sort Method": "quicksort", "Sort Space Used": 135, "Sort Space Type": "Memory", "Workers": [{"Worker Number": 0, "Actual Startup Time": 139.195, "Actual Total Time": 139.246, "Actual Rows": 650, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 139.568, "Actual Total Time": 139.614, "Actual Rows": 665, "Actual Loops": 1}], "Plans": [{"Node Type": "Hash Join", "Parent Relationship": "Outer", "Parallel Aware": false, "Join Type": "Inner", "Startup Cost": 2060.15, "Total Cost": 33307.86, "Plan Rows": 1046, "Plan Width": 46, "Actual Startup Time": 25.446, "Actual Total Time": 140.323, "Actual Rows": 809, "Actual Loops": 3, "Output": ["date_part('year'::text, (orders.o_orderdate)::timestamp without time zone)", "n2.n_name", "lineitem.l_extendedprice", "lineitem.l_discount"], "Hash Cond": "(supplier.s_nationkey = n2.n_nationkey)", "Workers": [{"Worker Number": 0, "Actual Startup Time": 26.657, "Actual Total Time": 138.92, "Actual Rows": 650, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 26.566, "Actual Total Time": 139.327, "Actual Rows": 665, "Actual Loops": 1}], "Plans": [{"Node Type": "Nested Loop", "Parent Relationship": "Outer", "Parallel Aware": false, "Join Type": "Inner", "Startup Cost": 2058.59, "Total Cost": 33286.68, "Plan Rows": 1046, "Plan Width": 20, "Actual Startup Time": 25.378, "Actual Total Time": 139.771, "Actual Rows": 809, "Actual Loops": 3, "Output": ["lineitem.l_extendedprice", "lineitem.l_discount", "supplier.s_nationkey", "orders.o_orderdate"], "Workers": [{"Worker Number": 0, "Actual Startup Time": 26.56, "Actual Total Time": 138.417, "Actual Rows": 650, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 26.482, "Actual Total Time": 138.845, "Actual Rows": 665, "Actual Loops": 1}], "Plans": [{"Node Type": "Hash Join", "Parent Relationship": "Outer", "Parallel Aware": false, "Join Type": "Inner", "Startup Cost": 2058.3, "Total Cost": 32959.76, "Plan Rows": 1046, "Plan Width": 20, "Actual Startup Time": 25.358, "Actual Total Time": 137.348, "Actual Rows": 809, "Actual Loops": 3, "Output": ["lineitem.l_extendedprice", "lineitem.l_discount", "lineitem.l_suppkey", "orders.o_orderdate"], "Hash Cond": "(orders.o_custkey = customer.c_custkey)", "Workers": [{"Worker Number": 0, "Actual Startup Time": 26.535, "Actual Total Time": 136.384, "Actual Rows": 650, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 26.454, "Actual Total Time": 136.754, "Actual Rows": 665, "Actual Loops": 1}], "Plans": [{"Node Type": "Nested Loop", "Parent Relationship": "Outer", "Parallel Aware": false, "Join Type": "Inner", "Startup Cost": 0.86, "Total Cost": 30872.24, "Plan Rows": 5230, "Plan Width": 24, "Actual Startup Time": 0.141, "Actual Total Time": 111.102, "Actual Rows": 4114, "Actual Loops": 3, "Output": ["lineitem.l_extendedprice", "lineitem.l_discount", "lineitem.l_suppkey", "orders.o_orderdate", "orders.o_custkey"], "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.163, "Actual Total Time": 109.014, "Actual Rows": 3204, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 0.173, "Actual Total Time": 110.128, "Actual Rows": 3360, "Actual Loops": 1}], "Plans": [{"Node Type": "Nested Loop", "Parent Relationship": "Outer", "Parallel Aware": false, "Join Type": "Inner", "Startup Cost": 0.43, "Total Cost": 22880.83, "Plan Rows": 17166, "Plan Width": 20, "Actual Startup Time": 0.081, "Actual Total Time": 48.517, "Actual Rows": 13553, "Actual Loops": 3, "Output": ["lineitem.l_extendedprice", "lineitem.l_discount", "lineitem.l_suppkey", "lineitem.l_orderkey"], "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.101, "Actual Total Time": 51.572, "Actual Rows": 10886, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 0.118, "Actual Total Time": 52.808, "Actual Rows": 10990, "Actual Loops": 1}], "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": true, "Relation Name": "part", "Schema": "public", "Alias": "part", "Startup Cost": 0.0, "Total Cost": 5138.67, "Plan Rows": 572, "Plan Width": 4, "Actual Startup Time": 0.026, "Actual Total Time": 12.605, "Actual Rows": 451, "Actual Loops": 3, "Output": ["part.p_partkey", "part.p_name", "part.p_mfgr", "part.p_brand", "part.p_type", "part.p_size", "part.p_container", "part.p_retailprice", "part.p_comment"], "Filter": "((part.p_type)::text = 'SMALL BRUSHED NICKEL'::text)", "Rows Removed by Filter": 66216, "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.023, "Actual Total Time": 10.186, "Actual Rows": 361, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 0.045, "Actual Total Time": 11.099, "Actual Rows": 368, "Actual Loops": 1}]}, {"Node Type": "Index Scan", "Parent Relationship": "Inner", "Parallel Aware": false, "Scan Direction": "Forward", "Index Name": "l_pk", "Relation Name": "lineitem", "Schema": "public", "Alias": "lineitem", "Startup Cost": 0.43, "Total Cost": 30.71, "Plan Rows": 31, "Plan Width": 24, "Actual Startup Time": 0.009, "Actual Total Time": 0.073, "Actual Rows": 30, "Actual Loops": 1352, "Output": ["lineitem.l_orderkey", "lineitem.l_partkey", "lineitem.l_suppkey", "lineitem.l_linenumber", "lineitem.l_quantity", "lineitem.l_extendedprice", "lineitem.l_discount", "lineitem.l_tax", "lineitem.l_returnflag", "lineitem.l_linestatus", "lineitem.l_shipdate", "lineitem.l_commitdate", "lineitem.l_receiptdate", "lineitem.l_shipinstruct", "lineitem.l_shipmode", "lineitem.l_comment"], "Index Cond": "(lineitem.l_partkey = part.p_partkey)", "Rows Removed by Index Recheck": 0, "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.012, "Actual Total Time": 0.108, "Actual Rows": 30, "Actual Loops": 361}, {"Worker Number": 1, "Actual Startup Time": 0.012, "Actual Total Time": 0.107, "Actual Rows": 30, "Actual Loops": 368}]}]}, {"Node Type": "Index Scan", "Parent Relationship": "Inner", "Parallel Aware": false, "Scan Direction": "Forward", "Index Name": "o_ok", "Relation Name": "orders", "Schema": "public", "Alias": "orders", "Startup Cost": 0.43, "Total Cost": 0.46, "Plan Rows": 1, "Plan Width": 12, "Actual Startup Time": 0.004, "Actual Total Time": 0.004, "Actual Rows": 0, "Actual Loops": 40658, "Output": ["orders.o_orderkey", "orders.o_custkey", "orders.o_orderstatus", "orders.o_totalprice", "orders.o_orderdate", "orders.o_orderpriority", "orders.o_clerk", "orders.o_shippriority", "orders.o_comment"], "Index Cond": "(orders.o_orderkey = lineitem.l_orderkey)", "Rows Removed by Index Recheck": 0, "Filter": "((orders.o_orderdate >= '1995-01-01'::date) AND (orders.o_orderdate <= '1996-12-31'::date))", "Rows Removed by Filter": 1, "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.005, "Actual Total Time": 0.005, "Actual Rows": 0, "Actual Loops": 10886}, {"Worker Number": 1, "Actual Startup Time": 0.005, "Actual Total Time": 0.005, "Actual Rows": 0, "Actual Loops": 10990}]}]}, {"Node Type": "Hash", "Parent Relationship": "Inner", "Parallel Aware": false, "Startup Cost": 1682.44, "Total Cost": 1682.44, "Plan Rows": 30000, "Plan Width": 4, "Actual Startup Time": 24.706, "Actual Total Time": 24.706, "Actual Rows": 29764, "Actual Loops": 3, "Output": ["customer.c_custkey"], "Hash Buckets": 32768, "Original Hash Buckets": 32768, "Hash Batches": 1, "Original Hash Batches": 1, "Peak Memory Usage": 1303, "Workers": [{"Worker Number": 0, "Actual Startup Time": 26.102, "Actual Total Time": 26.102, "Actual Rows": 29764, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 25.295, "Actual Total Time": 25.295, "Actual Rows": 29764, "Actual Loops": 1}], "Plans": [{"Node Type": "Nested Loop", "Parent Relationship": "Outer", "Parallel Aware": false, "Join Type": "Inner", "Startup Cost": 0.56, "Total Cost": 1682.44, "Plan Rows": 30000, "Plan Width": 4, "Actual Startup Time": 0.069, "Actual Total Time": 20.06, "Actual Rows": 29764, "Actual Loops": 3, "Output": ["customer.c_custkey"], "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.1, "Actual Total Time": 21.197, "Actual Rows": 29764, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 0.081, "Actual Total Time": 20.454, "Actual Rows": 29764, "Actual Loops": 1}], "Plans": [{"Node Type": "Nested Loop", "Parent Relationship": "Outer", "Parallel Aware": false, "Join Type": "Inner", "Startup Cost": 0.14, "Total Cost": 5.25, "Plan Rows": 5, "Plan Width": 4, "Actual Startup Time": 0.026, "Actual Total Time": 0.047, "Actual Rows": 5, "Actual Loops": 3, "Output": ["n1.n_nationkey"], "Join Filter": "(n1.n_regionkey = region.r_regionkey)", "Rows Removed by Join Filter": 20, "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.036, "Actual Total Time": 0.057, "Actual Rows": 5, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 0.033, "Actual Total Time": 0.054, "Actual Rows": 5, "Actual Loops": 1}], "Plans": [{"Node Type": "Index Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Scan Direction": "Forward", "Index Name": "n_nk", "Relation Name": "nation", "Schema": "public", "Alias": "n1", "Startup Cost": 0.14, "Total Cost": 3.81, "Plan Rows": 25, "Plan Width": 8, "Actual Startup Time": 0.01, "Actual Total Time": 0.016, "Actual Rows": 25, "Actual Loops": 3, "Output": ["n1.n_nationkey", "n1.n_name", "n1.n_regionkey", "n1.n_comment"], "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.015, "Actual Total Time": 0.018, "Actual Rows": 25, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 0.012, "Actual Total Time": 0.016, "Actual Rows": 25, "Actual Loops": 1}]}, {"Node Type": "Materialize", "Parent Relationship": "Inner", "Parallel Aware": false, "Startup Cost": 0.0, "Total Cost": 1.07, "Plan Rows": 1, "Plan Width": 4, "Actual Startup Time": 0.001, "Actual Total Time": 0.001, "Actual Rows": 1, "Actual Loops": 75, "Output": ["region.r_regionkey"], "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.001, "Actual Total Time": 0.001, "Actual Rows": 1, "Actual Loops": 25}, {"Worker Number": 1, "Actual Startup Time": 0.001, "Actual Total Time": 0.001, "Actual Rows": 1, "Actual Loops": 25}], "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Relation Name": "region", "Schema": "public", "Alias": "region", "Startup Cost": 0.0, "Total Cost": 1.06, "Plan Rows": 1, "Plan Width": 4, "Actual Startup Time": 0.012, "Actual Total Time": 0.014, "Actual Rows": 1, "Actual Loops": 3, "Output": ["region.r_regionkey"], "Filter": "(region.r_name = 'AFRICA'::bpchar)", "Rows Removed by Filter": 4, "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.017, "Actual Total Time": 0.019, "Actual Rows": 1, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 0.016, "Actual Total Time": 0.019, "Actual Rows": 1, "Actual Loops": 1}]}]}]}, {"Node Type": "Index Scan", "Parent Relationship": "Inner", "Parallel Aware": false, "Scan Direction": "Forward", "Index Name": "c_nk", "Relation Name": "customer", "Schema": "public", "Alias": "customer", "Startup Cost": 0.42, "Total Cost": 275.44, "Plan Rows": 6000, "Plan Width": 8, "Actual Startup Time": 0.015, "Actual Total Time": 3.214, "Actual Rows": 5953, "Actual Loops": 15, "Output": ["customer.c_custkey", "customer.c_name", "customer.c_address", "customer.c_nationkey", "customer.c_phone", "customer.c_acctbal", "customer.c_mktsegment", "customer.c_comment"], "Index Cond": "(customer.c_nationkey = n1.n_nationkey)", "Rows Removed by Index Recheck": 0, "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.02, "Actual Total Time": 3.455, "Actual Rows": 5953, "Actual Loops": 5}, {"Worker Number": 1, "Actual Startup Time": 0.016, "Actual Total Time": 3.284, "Actual Rows": 5953, "Actual Loops": 5}]}]}]}]}, {"Node Type": "Index Scan", "Parent Relationship": "Inner", "Parallel Aware": false, "Scan Direction": "Forward", "Index Name": "s_sk", "Relation Name": "supplier", "Schema": "public", "Alias": "supplier", "Startup Cost": 0.29, "Total Cost": 0.3, "Plan Rows": 1, "Plan Width": 8, "Actual Startup Time": 0.002, "Actual Total Time": 0.003, "Actual Rows": 1, "Actual Loops": 2426, "Output": ["supplier.s_suppkey", "supplier.s_name", "supplier.s_address", "supplier.s_nationkey", "supplier.s_phone", "supplier.s_acctbal", "supplier.s_comment"], "Index Cond": "(supplier.s_suppkey = lineitem.l_suppkey)", "Rows Removed by Index Recheck": 0, "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.003, "Actual Total Time": 0.003, "Actual Rows": 1, "Actual Loops": 650}, {"Worker Number": 1, "Actual Startup Time": 0.002, "Actual Total Time": 0.003, "Actual Rows": 1, "Actual Loops": 665}]}]}, {"Node Type": "Hash", "Parent Relationship": "Inner", "Parallel Aware": false, "Startup Cost": 1.25, "Total Cost": 1.25, "Plan Rows": 25, "Plan Width": 30, "Actual Startup Time": 0.028, "Actual Total Time": 0.028, "Actual Rows": 25, "Actual Loops": 3, "Output": ["n2.n_name", "n2.n_nationkey"], "Hash Buckets": 1024, "Original Hash Buckets": 1024, "Hash Batches": 1, "Original Hash Batches": 1, "Peak Memory Usage": 10, "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.039, "Actual Total Time": 0.039, "Actual Rows": 25, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 0.031, "Actual Total Time": 0.031, "Actual Rows": 25, "Actual Loops": 1}], "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Relation Name": "nation", "Schema": "public", "Alias": "n2", "Startup Cost": 0.0, "Total Cost": 1.25, "Plan Rows": 25, "Plan Width": 30, "Actual Startup Time": 0.013, "Actual Total Time": 0.018, "Actual Rows": 25, "Actual Loops": 3, "Output": ["n2.n_name", "n2.n_nationkey"], "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.018, "Actual Total Time": 0.024, "Actual Rows": 25, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 0.017, "Actual Total Time": 0.02, "Actual Rows": 25, "Actual Loops": 1}]}]}]}]}]}]}]}]}, "Planning Time": 2.429, "Triggers": [], "Execution Time": 171.997} diff --git a/dev9/pg9/tpch/sf_1/explain_analyze/15721/9-1.ok b/dev9/pg9/tpch/sf_1/explain_analyze/15721/9-1.ok new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/dev9/pg9/tpch/sf_1/explain_analyze/15721/9-1.res b/dev9/pg9/tpch/sf_1/explain_analyze/15721/9-1.res new file mode 100644 index 0000000000000000000000000000000000000000..831f55199658cb7974f3136f110b7758d2d66bb9 --- /dev/null +++ b/dev9/pg9/tpch/sf_1/explain_analyze/15721/9-1.res @@ -0,0 +1 @@ +{"Plan": {"Node Type": "Sort", "Parallel Aware": false, "Startup Cost": 131556.88, "Total Cost": 131707.26, "Plan Rows": 60150, "Plan Width": 66, "Actual Startup Time": 1229.789, "Actual Total Time": 1229.8, "Actual Rows": 175, "Actual Loops": 1, "Output": ["nation.n_name", "(date_part('year'::text, (orders.o_orderdate)::timestamp without time zone))", "(sum(((lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount)) - (partsupp.ps_supplycost * lineitem.l_quantity))))"], "Sort Key": ["nation.n_name", "(date_part('year'::text, (orders.o_orderdate)::timestamp without time zone)) DESC"], "Sort Method": "quicksort", "Sort Space Used": 49, "Sort Space Type": "Memory", "Plans": [{"Node Type": "Aggregate", "Strategy": "Hashed", "Partial Mode": "Finalize", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 125729.47, "Total Cost": 126782.09, "Plan Rows": 60150, "Plan Width": 66, "Actual Startup Time": 1229.389, "Actual Total Time": 1229.554, "Actual Rows": 175, "Actual Loops": 1, "Output": ["nation.n_name", "(date_part('year'::text, (orders.o_orderdate)::timestamp without time zone))", "sum(((lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount)) - (partsupp.ps_supplycost * lineitem.l_quantity)))"], "Group Key": ["nation.n_name", "(date_part('year'::text, (orders.o_orderdate)::timestamp without time zone))"], "Plans": [{"Node Type": "Gather", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 111443.84, "Total Cost": 124526.47, "Plan Rows": 120300, "Plan Width": 66, "Actual Startup Time": 1228.704, "Actual Total Time": 1253.33, "Actual Rows": 525, "Actual Loops": 1, "Output": ["nation.n_name", "(date_part('year'::text, (orders.o_orderdate)::timestamp without time zone))", "(PARTIAL sum(((lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount)) - (partsupp.ps_supplycost * lineitem.l_quantity))))"], "Workers Planned": 2, "Workers Launched": 2, "Single Copy": false, "Plans": [{"Node Type": "Aggregate", "Strategy": "Hashed", "Partial Mode": "Partial", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 110443.84, "Total Cost": 111496.47, "Plan Rows": 60150, "Plan Width": 66, "Actual Startup Time": 1210.408, "Actual Total Time": 1210.623, "Actual Rows": 175, "Actual Loops": 3, "Output": ["nation.n_name", "(date_part('year'::text, (orders.o_orderdate)::timestamp without time zone))", "PARTIAL sum(((lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount)) - (partsupp.ps_supplycost * lineitem.l_quantity)))"], "Group Key": ["nation.n_name", "date_part('year'::text, (orders.o_orderdate)::timestamp without time zone)"], "Workers": [{"Worker Number": 0, "Actual Startup Time": 1199.925, "Actual Total Time": 1200.155, "Actual Rows": 175, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 1203.117, "Actual Total Time": 1203.325, "Actual Rows": 175, "Actual Loops": 1}], "Plans": [{"Node Type": "Hash Join", "Parent Relationship": "Outer", "Parallel Aware": false, "Join Type": "Inner", "Startup Cost": 66291.92, "Total Cost": 107462.33, "Plan Rows": 170372, "Plan Width": 57, "Actual Startup Time": 573.465, "Actual Total Time": 1076.769, "Actual Rows": 107327, "Actual Loops": 3, "Output": ["nation.n_name", "date_part('year'::text, (orders.o_orderdate)::timestamp without time zone)", "lineitem.l_extendedprice", "lineitem.l_discount", "partsupp.ps_supplycost", "lineitem.l_quantity"], "Hash Cond": "(lineitem.l_orderkey = orders.o_orderkey)", "Workers": [{"Worker Number": 0, "Actual Startup Time": 587.097, "Actual Total Time": 1082.197, "Actual Rows": 94224, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 587.268, "Actual Total Time": 1084.52, "Actual Rows": 94833, "Actual Loops": 1}], "Plans": [{"Node Type": "Nested Loop", "Parent Relationship": "Outer", "Parallel Aware": false, "Join Type": "Inner", "Startup Cost": 586.92, "Total Cost": 29161.89, "Plan Rows": 170372, "Plan Width": 53, "Actual Startup Time": 6.372, "Actual Total Time": 272.701, "Actual Rows": 107327, "Actual Loops": 3, "Output": ["lineitem.l_extendedprice", "lineitem.l_discount", "lineitem.l_quantity", "lineitem.l_orderkey", "partsupp.ps_supplycost", "nation.n_name"], "Join Filter": "(supplier.s_suppkey = lineitem.l_suppkey)", "Rows Removed by Join Filter": 0, "Workers": [{"Worker Number": 0, "Actual Startup Time": 6.826, "Actual Total Time": 267.554, "Actual Rows": 94224, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 6.771, "Actual Total Time": 266.954, "Actual Rows": 94833, "Actual Loops": 1}], "Plans": [{"Node Type": "Hash Join", "Parent Relationship": "Outer", "Parallel Aware": false, "Join Type": "Inner", "Startup Cost": 586.49, "Total Cost": 14573.52, "Plan Rows": 22712, "Plan Width": 48, "Actual Startup Time": 6.33, "Actual Total Time": 54.573, "Actual Rows": 14316, "Actual Loops": 3, "Output": ["part.p_partkey", "partsupp.ps_supplycost", "partsupp.ps_suppkey", "partsupp.ps_partkey", "supplier.s_suppkey", "nation.n_name"], "Hash Cond": "(partsupp.ps_suppkey = supplier.s_suppkey)", "Workers": [{"Worker Number": 0, "Actual Startup Time": 6.773, "Actual Total Time": 52.491, "Actual Rows": 12532, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 6.71, "Actual Total Time": 52.318, "Actual Rows": 12684, "Actual Loops": 1}], "Plans": [{"Node Type": "Nested Loop", "Parent Relationship": "Outer", "Parallel Aware": false, "Join Type": "Inner", "Startup Cost": 0.42, "Total Cost": 13675.17, "Plan Rows": 22712, "Plan Width": 18, "Actual Startup Time": 0.066, "Actual Total Time": 41.344, "Actual Rows": 14316, "Actual Loops": 3, "Output": ["part.p_partkey", "partsupp.ps_supplycost", "partsupp.ps_suppkey", "partsupp.ps_partkey"], "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.087, "Actual Total Time": 39.505, "Actual Rows": 12532, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 0.092, "Actual Total Time": 39.403, "Actual Rows": 12684, "Actual Loops": 1}], "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": true, "Relation Name": "part", "Schema": "public", "Alias": "part", "Startup Cost": 0.0, "Total Cost": 5138.67, "Plan Rows": 5678, "Plan Width": 4, "Actual Startup Time": 0.019, "Actual Total Time": 19.434, "Actual Rows": 3579, "Actual Loops": 3, "Output": ["part.p_partkey", "part.p_name", "part.p_mfgr", "part.p_brand", "part.p_type", "part.p_size", "part.p_container", "part.p_retailprice", "part.p_comment"], "Filter": "((part.p_name)::text ~~ '%forest%'::text)", "Rows Removed by Filter": 63088, "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.023, "Actual Total Time": 17.764, "Actual Rows": 3133, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 0.028, "Actual Total Time": 17.623, "Actual Rows": 3171, "Actual Loops": 1}]}, {"Node Type": "Index Scan", "Parent Relationship": "Inner", "Parallel Aware": false, "Scan Direction": "Forward", "Index Name": "ps_pk", "Relation Name": "partsupp", "Schema": "public", "Alias": "partsupp", "Startup Cost": 0.42, "Total Cost": 1.46, "Plan Rows": 4, "Plan Width": 14, "Actual Startup Time": 0.004, "Actual Total Time": 0.005, "Actual Rows": 4, "Actual Loops": 10737, "Output": ["partsupp.ps_partkey", "partsupp.ps_suppkey", "partsupp.ps_availqty", "partsupp.ps_supplycost", "partsupp.ps_comment"], "Index Cond": "(partsupp.ps_partkey = part.p_partkey)", "Rows Removed by Index Recheck": 0, "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.005, "Actual Total Time": 0.006, "Actual Rows": 4, "Actual Loops": 3133}, {"Worker Number": 1, "Actual Startup Time": 0.005, "Actual Total Time": 0.006, "Actual Rows": 4, "Actual Loops": 3171}]}]}, {"Node Type": "Hash", "Parent Relationship": "Inner", "Parallel Aware": false, "Startup Cost": 461.06, "Total Cost": 461.06, "Plan Rows": 10000, "Plan Width": 30, "Actual Startup Time": 6.172, "Actual Total Time": 6.172, "Actual Rows": 10000, "Actual Loops": 3, "Output": ["supplier.s_suppkey", "nation.n_name"], "Hash Buckets": 16384, "Original Hash Buckets": 16384, "Hash Batches": 1, "Original Hash Batches": 1, "Peak Memory Usage": 734, "Workers": [{"Worker Number": 0, "Actual Startup Time": 6.558, "Actual Total Time": 6.558, "Actual Rows": 10000, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 6.493, "Actual Total Time": 6.493, "Actual Rows": 10000, "Actual Loops": 1}], "Plans": [{"Node Type": "Hash Join", "Parent Relationship": "Outer", "Parallel Aware": false, "Join Type": "Inner", "Startup Cost": 1.56, "Total Cost": 461.06, "Plan Rows": 10000, "Plan Width": 30, "Actual Startup Time": 0.041, "Actual Total Time": 4.482, "Actual Rows": 10000, "Actual Loops": 3, "Output": ["supplier.s_suppkey", "nation.n_name"], "Hash Cond": "(supplier.s_nationkey = nation.n_nationkey)", "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.053, "Actual Total Time": 4.813, "Actual Rows": 10000, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 0.049, "Actual Total Time": 4.642, "Actual Rows": 10000, "Actual Loops": 1}], "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Relation Name": "supplier", "Schema": "public", "Alias": "supplier", "Startup Cost": 0.0, "Total Cost": 322.0, "Plan Rows": 10000, "Plan Width": 8, "Actual Startup Time": 0.013, "Actual Total Time": 1.358, "Actual Rows": 10000, "Actual Loops": 3, "Output": ["supplier.s_suppkey", "supplier.s_name", "supplier.s_address", "supplier.s_nationkey", "supplier.s_phone", "supplier.s_acctbal", "supplier.s_comment"], "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.019, "Actual Total Time": 1.702, "Actual Rows": 10000, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 0.016, "Actual Total Time": 1.478, "Actual Rows": 10000, "Actual Loops": 1}]}, {"Node Type": "Hash", "Parent Relationship": "Inner", "Parallel Aware": false, "Startup Cost": 1.25, "Total Cost": 1.25, "Plan Rows": 25, "Plan Width": 30, "Actual Startup Time": 0.018, "Actual Total Time": 0.019, "Actual Rows": 25, "Actual Loops": 3, "Output": ["nation.n_name", "nation.n_nationkey"], "Hash Buckets": 1024, "Original Hash Buckets": 1024, "Hash Batches": 1, "Original Hash Batches": 1, "Peak Memory Usage": 10, "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.022, "Actual Total Time": 0.022, "Actual Rows": 25, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 0.02, "Actual Total Time": 0.021, "Actual Rows": 25, "Actual Loops": 1}], "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Relation Name": "nation", "Schema": "public", "Alias": "nation", "Startup Cost": 0.0, "Total Cost": 1.25, "Plan Rows": 25, "Plan Width": 30, "Actual Startup Time": 0.006, "Actual Total Time": 0.011, "Actual Rows": 25, "Actual Loops": 3, "Output": ["nation.n_name", "nation.n_nationkey"], "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.009, "Actual Total Time": 0.013, "Actual Rows": 25, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 0.008, "Actual Total Time": 0.014, "Actual Rows": 25, "Actual Loops": 1}]}]}]}]}]}, {"Node Type": "Index Scan", "Parent Relationship": "Inner", "Parallel Aware": false, "Scan Direction": "Forward", "Index Name": "l_sk_pk", "Relation Name": "lineitem", "Schema": "public", "Alias": "lineitem", "Startup Cost": 0.43, "Total Cost": 0.63, "Plan Rows": 1, "Plan Width": 29, "Actual Startup Time": 0.005, "Actual Total Time": 0.013, "Actual Rows": 7, "Actual Loops": 42948, "Output": ["lineitem.l_orderkey", "lineitem.l_partkey", "lineitem.l_suppkey", "lineitem.l_linenumber", "lineitem.l_quantity", "lineitem.l_extendedprice", "lineitem.l_discount", "lineitem.l_tax", "lineitem.l_returnflag", "lineitem.l_linestatus", "lineitem.l_shipdate", "lineitem.l_commitdate", "lineitem.l_receiptdate", "lineitem.l_shipinstruct", "lineitem.l_shipmode", "lineitem.l_comment"], "Index Cond": "((lineitem.l_suppkey = partsupp.ps_suppkey) AND (lineitem.l_partkey = partsupp.ps_partkey))", "Rows Removed by Index Recheck": 0, "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.006, "Actual Total Time": 0.015, "Actual Rows": 8, "Actual Loops": 12532}, {"Worker Number": 1, "Actual Startup Time": 0.006, "Actual Total Time": 0.015, "Actual Rows": 7, "Actual Loops": 12684}]}]}, {"Node Type": "Hash", "Parent Relationship": "Inner", "Parallel Aware": false, "Startup Cost": 41095.0, "Total Cost": 41095.0, "Plan Rows": 1500000, "Plan Width": 8, "Actual Startup Time": 565.019, "Actual Total Time": 565.019, "Actual Rows": 1500000, "Actual Loops": 3, "Output": ["orders.o_orderdate", "orders.o_orderkey"], "Hash Buckets": 524288, "Original Hash Buckets": 524288, "Hash Batches": 4, "Original Hash Batches": 4, "Peak Memory Usage": 18788, "Workers": [{"Worker Number": 0, "Actual Startup Time": 577.46, "Actual Total Time": 577.46, "Actual Rows": 1500000, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 577.768, "Actual Total Time": 577.768, "Actual Rows": 1500000, "Actual Loops": 1}], "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Relation Name": "orders", "Schema": "public", "Alias": "orders", "Startup Cost": 0.0, "Total Cost": 41095.0, "Plan Rows": 1500000, "Plan Width": 8, "Actual Startup Time": 0.013, "Actual Total Time": 285.018, "Actual Rows": 1500000, "Actual Loops": 3, "Output": ["orders.o_orderdate", "orders.o_orderkey"], "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.019, "Actual Total Time": 290.257, "Actual Rows": 1500000, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 0.018, "Actual Total Time": 292.721, "Actual Rows": 1500000, "Actual Loops": 1}]}]}]}]}]}]}]}, "Planning Time": 8.502, "Triggers": [], "Execution Time": 1254.417} diff --git a/dev9/pg9/tpch/sf_10/explain/15721/1-1.ok b/dev9/pg9/tpch/sf_10/explain/15721/1-1.ok new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/dev9/pg9/tpch/sf_10/explain/15721/1-1.res b/dev9/pg9/tpch/sf_10/explain/15721/1-1.res new file mode 100644 index 0000000000000000000000000000000000000000..d1e3697060db8ec89d9572ab755c1816b619679d --- /dev/null +++ b/dev9/pg9/tpch/sf_10/explain/15721/1-1.res @@ -0,0 +1 @@ +{"Plan": {"Node Type": "Aggregate", "Strategy": "Sorted", "Partial Mode": "Finalize", "Parallel Aware": false, "Startup Cost": 1567379.05, "Total Cost": 1567381.1, "Plan Rows": 6, "Plan Width": 236, "Output": ["l_returnflag", "l_linestatus", "sum(l_quantity)", "sum(l_extendedprice)", "sum((l_extendedprice * ('1'::numeric - l_discount)))", "sum(((l_extendedprice * ('1'::numeric - l_discount)) * ('1'::numeric + l_tax)))", "avg(l_quantity)", "avg(l_extendedprice)", "avg(l_discount)", "count(*)"], "Group Key": ["lineitem.l_returnflag", "lineitem.l_linestatus"], "Plans": [{"Node Type": "Sort", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 1567379.05, "Total Cost": 1567379.15, "Plan Rows": 42, "Plan Width": 236, "Output": ["l_returnflag", "l_linestatus", "(PARTIAL sum(l_quantity))", "(PARTIAL sum(l_extendedprice))", "(PARTIAL sum((l_extendedprice * ('1'::numeric - l_discount))))", "(PARTIAL sum(((l_extendedprice * ('1'::numeric - l_discount)) * ('1'::numeric + l_tax))))", "(PARTIAL avg(l_quantity))", "(PARTIAL avg(l_extendedprice))", "(PARTIAL avg(l_discount))", "(PARTIAL count(*))"], "Sort Key": ["lineitem.l_returnflag", "lineitem.l_linestatus"], "Plans": [{"Node Type": "Gather", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 1567373.55, "Total Cost": 1567377.92, "Plan Rows": 42, "Plan Width": 236, "Output": ["l_returnflag", "l_linestatus", "(PARTIAL sum(l_quantity))", "(PARTIAL sum(l_extendedprice))", "(PARTIAL sum((l_extendedprice * ('1'::numeric - l_discount))))", "(PARTIAL sum(((l_extendedprice * ('1'::numeric - l_discount)) * ('1'::numeric + l_tax))))", "(PARTIAL avg(l_quantity))", "(PARTIAL avg(l_extendedprice))", "(PARTIAL avg(l_discount))", "(PARTIAL count(*))"], "Workers Planned": 7, "Single Copy": false, "Plans": [{"Node Type": "Aggregate", "Strategy": "Hashed", "Partial Mode": "Partial", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 1566373.55, "Total Cost": 1566373.72, "Plan Rows": 6, "Plan Width": 236, "Output": ["l_returnflag", "l_linestatus", "PARTIAL sum(l_quantity)", "PARTIAL sum(l_extendedprice)", "PARTIAL sum((l_extendedprice * ('1'::numeric - l_discount)))", "PARTIAL sum(((l_extendedprice * ('1'::numeric - l_discount)) * ('1'::numeric + l_tax)))", "PARTIAL avg(l_quantity)", "PARTIAL avg(l_extendedprice)", "PARTIAL avg(l_discount)", "PARTIAL count(*)"], "Group Key": ["lineitem.l_returnflag", "lineitem.l_linestatus"], "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": true, "Relation Name": "lineitem", "Schema": "public", "Alias": "lineitem", "Startup Cost": 0.0, "Total Cost": 1231659.55, "Plan Rows": 8367850, "Plan Width": 25, "Output": ["l_returnflag", "l_linestatus", "l_quantity", "l_extendedprice", "l_discount", "l_tax"], "Filter": "(lineitem.l_shipdate <= '1998-08-07 23:59:57'::timestamp without time zone)"}]}]}]}]}} diff --git a/dev9/pg9/tpch/sf_10/explain/15721/10-1.ok b/dev9/pg9/tpch/sf_10/explain/15721/10-1.ok new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/dev9/pg9/tpch/sf_10/explain/15721/10-1.res b/dev9/pg9/tpch/sf_10/explain/15721/10-1.res new file mode 100644 index 0000000000000000000000000000000000000000..303ae6a5f860794dd6f14175c1cbe2a06db66abf --- /dev/null +++ b/dev9/pg9/tpch/sf_10/explain/15721/10-1.res @@ -0,0 +1 @@ +{"Plan": {"Node Type": "Limit", "Parallel Aware": false, "Startup Cost": 741615.1, "Total Cost": 741615.15, "Plan Rows": 20, "Plan Width": 202, "Output": ["customer.c_custkey", "customer.c_name", "(sum((lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount))))", "customer.c_acctbal", "nation.n_name", "customer.c_address", "customer.c_phone", "customer.c_comment"], "Plans": [{"Node Type": "Sort", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 741615.1, "Total Cost": 742974.43, "Plan Rows": 543730, "Plan Width": 202, "Output": ["customer.c_custkey", "customer.c_name", "(sum((lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount))))", "customer.c_acctbal", "nation.n_name", "customer.c_address", "customer.c_phone", "customer.c_comment"], "Sort Key": ["(sum((lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount)))) DESC"], "Plans": [{"Node Type": "Aggregate", "Strategy": "Sorted", "Partial Mode": "Simple", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 712194.07, "Total Cost": 727146.64, "Plan Rows": 543730, "Plan Width": 202, "Output": ["customer.c_custkey", "customer.c_name", "sum((lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount)))", "customer.c_acctbal", "nation.n_name", "customer.c_address", "customer.c_phone", "customer.c_comment"], "Group Key": ["customer.c_custkey", "nation.n_name"], "Plans": [{"Node Type": "Sort", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 712194.07, "Total Cost": 713553.39, "Plan Rows": 543730, "Plan Width": 182, "Output": ["customer.c_custkey", "nation.n_name", "customer.c_name", "lineitem.l_extendedprice", "lineitem.l_discount", "customer.c_acctbal", "customer.c_address", "customer.c_phone", "customer.c_comment"], "Sort Key": ["customer.c_custkey", "nation.n_name"], "Plans": [{"Node Type": "Gather", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 1002.55, "Total Cost": 632094.6, "Plan Rows": 543730, "Plan Width": 182, "Output": ["customer.c_custkey", "nation.n_name", "customer.c_name", "lineitem.l_extendedprice", "lineitem.l_discount", "customer.c_acctbal", "customer.c_address", "customer.c_phone", "customer.c_comment"], "Workers Planned": 6, "Single Copy": false, "Plans": [{"Node Type": "Hash Join", "Parent Relationship": "Outer", "Parallel Aware": false, "Join Type": "Inner", "Startup Cost": 2.55, "Total Cost": 576721.6, "Plan Rows": 90622, "Plan Width": 182, "Output": ["customer.c_custkey", "nation.n_name", "customer.c_name", "lineitem.l_extendedprice", "lineitem.l_discount", "customer.c_acctbal", "customer.c_address", "customer.c_phone", "customer.c_comment"], "Hash Cond": "(customer.c_nationkey = nation.n_nationkey)", "Plans": [{"Node Type": "Nested Loop", "Parent Relationship": "Outer", "Parallel Aware": false, "Join Type": "Inner", "Startup Cost": 0.99, "Total Cost": 575473.99, "Plan Rows": 90622, "Plan Width": 160, "Output": ["customer.c_custkey", "customer.c_name", "customer.c_acctbal", "customer.c_address", "customer.c_phone", "customer.c_comment", "customer.c_nationkey", "lineitem.l_extendedprice", "lineitem.l_discount"], "Plans": [{"Node Type": "Nested Loop", "Parent Relationship": "Outer", "Parallel Aware": false, "Join Type": "Inner", "Startup Cost": 0.56, "Total Cost": 527061.67, "Plan Rows": 90622, "Plan Width": 16, "Output": ["orders.o_custkey", "lineitem.l_extendedprice", "lineitem.l_discount"], "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": true, "Relation Name": "orders", "Schema": "public", "Alias": "orders", "Startup Cost": 0.0, "Total Cost": 298413.77, "Plan Rows": 92434, "Plan Width": 8, "Output": ["orders.o_orderkey", "orders.o_custkey", "orders.o_orderstatus", "orders.o_totalprice", "orders.o_orderdate", "orders.o_orderpriority", "orders.o_clerk", "orders.o_shippriority", "orders.o_comment"], "Filter": "((orders.o_orderdate >= '1993-02-01'::date) AND (orders.o_orderdate < '1993-05-01 00:00:00'::timestamp without time zone))"}, {"Node Type": "Index Scan", "Parent Relationship": "Inner", "Parallel Aware": false, "Scan Direction": "Forward", "Index Name": "l_ok", "Relation Name": "lineitem", "Schema": "public", "Alias": "lineitem", "Startup Cost": 0.56, "Total Cost": 2.39, "Plan Rows": 8, "Plan Width": 16, "Output": ["lineitem.l_orderkey", "lineitem.l_partkey", "lineitem.l_suppkey", "lineitem.l_linenumber", "lineitem.l_quantity", "lineitem.l_extendedprice", "lineitem.l_discount", "lineitem.l_tax", "lineitem.l_returnflag", "lineitem.l_linestatus", "lineitem.l_shipdate", "lineitem.l_commitdate", "lineitem.l_receiptdate", "lineitem.l_shipinstruct", "lineitem.l_shipmode", "lineitem.l_comment"], "Index Cond": "(lineitem.l_orderkey = orders.o_orderkey)", "Filter": "(lineitem.l_returnflag = 'R'::bpchar)"}]}, {"Node Type": "Index Scan", "Parent Relationship": "Inner", "Parallel Aware": false, "Scan Direction": "Forward", "Index Name": "c_ck", "Relation Name": "customer", "Schema": "public", "Alias": "customer", "Startup Cost": 0.43, "Total Cost": 0.52, "Plan Rows": 1, "Plan Width": 148, "Output": ["customer.c_custkey", "customer.c_name", "customer.c_address", "customer.c_nationkey", "customer.c_phone", "customer.c_acctbal", "customer.c_mktsegment", "customer.c_comment"], "Index Cond": "(customer.c_custkey = orders.o_custkey)"}]}, {"Node Type": "Hash", "Parent Relationship": "Inner", "Parallel Aware": false, "Startup Cost": 1.25, "Total Cost": 1.25, "Plan Rows": 25, "Plan Width": 30, "Output": ["nation.n_name", "nation.n_nationkey"], "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Relation Name": "nation", "Schema": "public", "Alias": "nation", "Startup Cost": 0.0, "Total Cost": 1.25, "Plan Rows": 25, "Plan Width": 30, "Output": ["nation.n_name", "nation.n_nationkey"]}]}]}]}]}]}]}]}} diff --git a/dev9/pg9/tpch/sf_10/explain/15721/11-1.ok b/dev9/pg9/tpch/sf_10/explain/15721/11-1.ok new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/dev9/pg9/tpch/sf_10/explain/15721/11-1.res b/dev9/pg9/tpch/sf_10/explain/15721/11-1.res new file mode 100644 index 0000000000000000000000000000000000000000..9775e7f299023651733da484335879f80a4dfcc4 --- /dev/null +++ b/dev9/pg9/tpch/sf_10/explain/15721/11-1.res @@ -0,0 +1 @@ +{"Plan": {"Node Type": "Sort", "Parallel Aware": false, "Startup Cost": 107869.19, "Total Cost": 108669.18, "Plan Rows": 319996, "Plan Width": 36, "Output": ["partsupp.ps_partkey", "(sum((partsupp.ps_supplycost * (partsupp.ps_availqty)::numeric)))"], "Sort Key": ["(sum((partsupp.ps_supplycost * (partsupp.ps_availqty)::numeric))) DESC"], "Plans": [{"Node Type": "Aggregate", "Strategy": "Plain", "Partial Mode": "Finalize", "Parent Relationship": "InitPlan", "Subplan Name": "InitPlan 1 (returns $1)", "Parallel Aware": false, "Startup Cost": 16737.15, "Total Cost": 16737.16, "Plan Rows": 1, "Plan Width": 32, "Output": ["(sum((partsupp_1.ps_supplycost * (partsupp_1.ps_availqty)::numeric)) * 0.0001000000)"], "Plans": [{"Node Type": "Gather", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 16737.03, "Total Cost": 16737.14, "Plan Rows": 1, "Plan Width": 32, "Output": ["(PARTIAL sum((partsupp_1.ps_supplycost * (partsupp_1.ps_availqty)::numeric)))"], "Workers Planned": 1, "Single Copy": false, "Plans": [{"Node Type": "Aggregate", "Strategy": "Plain", "Partial Mode": "Partial", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 15737.03, "Total Cost": 15737.04, "Plan Rows": 1, "Plan Width": 32, "Output": ["PARTIAL sum((partsupp_1.ps_supplycost * (partsupp_1.ps_availqty)::numeric))"], "Plans": [{"Node Type": "Nested Loop", "Parent Relationship": "Outer", "Parallel Aware": false, "Join Type": "Inner", "Startup Cost": 1.76, "Total Cost": 14325.28, "Plan Rows": 188233, "Plan Width": 10, "Output": ["partsupp_1.ps_supplycost", "partsupp_1.ps_availqty"], "Plans": [{"Node Type": "Hash Join", "Parent Relationship": "Outer", "Parallel Aware": false, "Join Type": "Inner", "Startup Cost": 1.32, "Total Cost": 3049.68, "Plan Rows": 2353, "Plan Width": 4, "Output": ["supplier_1.s_suppkey"], "Hash Cond": "(supplier_1.s_nationkey = nation_1.n_nationkey)", "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": true, "Relation Name": "supplier", "Schema": "public", "Alias": "supplier_1", "Startup Cost": 0.0, "Total Cost": 2804.24, "Plan Rows": 58824, "Plan Width": 8, "Output": ["supplier_1.s_suppkey", "supplier_1.s_name", "supplier_1.s_address", "supplier_1.s_nationkey", "supplier_1.s_phone", "supplier_1.s_acctbal", "supplier_1.s_comment"]}, {"Node Type": "Hash", "Parent Relationship": "Inner", "Parallel Aware": false, "Startup Cost": 1.31, "Total Cost": 1.31, "Plan Rows": 1, "Plan Width": 4, "Output": ["nation_1.n_nationkey"], "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Relation Name": "nation", "Schema": "public", "Alias": "nation_1", "Startup Cost": 0.0, "Total Cost": 1.31, "Plan Rows": 1, "Plan Width": 4, "Output": ["nation_1.n_nationkey"], "Filter": "(nation_1.n_name = 'CHINA'::bpchar)"}]}]}, {"Node Type": "Index Scan", "Parent Relationship": "Inner", "Parallel Aware": false, "Scan Direction": "Forward", "Index Name": "ps_sk", "Relation Name": "partsupp", "Schema": "public", "Alias": "partsupp_1", "Startup Cost": 0.43, "Total Cost": 3.99, "Plan Rows": 80, "Plan Width": 14, "Output": ["partsupp_1.ps_partkey", "partsupp_1.ps_suppkey", "partsupp_1.ps_availqty", "partsupp_1.ps_supplycost", "partsupp_1.ps_comment"], "Index Cond": "(partsupp_1.ps_suppkey = supplier_1.s_suppkey)"}]}]}]}]}, {"Node Type": "Aggregate", "Strategy": "Sorted", "Partial Mode": "Simple", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 50672.22, "Total Cost": 61872.08, "Plan Rows": 319996, "Plan Width": 36, "Output": ["partsupp.ps_partkey", "sum((partsupp.ps_supplycost * (partsupp.ps_availqty)::numeric))"], "Group Key": ["partsupp.ps_partkey"], "Filter": "(sum((partsupp.ps_supplycost * (partsupp.ps_availqty)::numeric)) > $1)", "Plans": [{"Node Type": "Sort", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 50672.22, "Total Cost": 51472.21, "Plan Rows": 319996, "Plan Width": 14, "Output": ["partsupp.ps_partkey", "partsupp.ps_supplycost", "partsupp.ps_availqty"], "Sort Key": ["partsupp.ps_partkey"], "Plans": [{"Node Type": "Nested Loop", "Parent Relationship": "Outer", "Parallel Aware": false, "Join Type": "Inner", "Startup Cost": 44.92, "Total Cost": 21412.28, "Plan Rows": 319996, "Plan Width": 14, "Output": ["partsupp.ps_partkey", "partsupp.ps_supplycost", "partsupp.ps_availqty"], "Plans": [{"Node Type": "Nested Loop", "Parent Relationship": "Outer", "Parallel Aware": false, "Join Type": "Inner", "Startup Cost": 44.49, "Total Cost": 2244.24, "Plan Rows": 4000, "Plan Width": 4, "Output": ["supplier.s_suppkey"], "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Relation Name": "nation", "Schema": "public", "Alias": "nation", "Startup Cost": 0.0, "Total Cost": 1.31, "Plan Rows": 1, "Plan Width": 4, "Output": ["nation.n_nationkey", "nation.n_name", "nation.n_regionkey", "nation.n_comment"], "Filter": "(nation.n_name = 'CHINA'::bpchar)"}, {"Node Type": "Bitmap Heap Scan", "Parent Relationship": "Inner", "Parallel Aware": false, "Relation Name": "supplier", "Schema": "public", "Alias": "supplier", "Startup Cost": 44.49, "Total Cost": 2202.92, "Plan Rows": 4000, "Plan Width": 8, "Output": ["supplier.s_suppkey", "supplier.s_name", "supplier.s_address", "supplier.s_nationkey", "supplier.s_phone", "supplier.s_acctbal", "supplier.s_comment"], "Recheck Cond": "(supplier.s_nationkey = nation.n_nationkey)", "Plans": [{"Node Type": "Bitmap Index Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Index Name": "s_nk", "Startup Cost": 0.0, "Total Cost": 43.49, "Plan Rows": 4000, "Plan Width": 0, "Index Cond": "(supplier.s_nationkey = nation.n_nationkey)"}]}]}, {"Node Type": "Index Scan", "Parent Relationship": "Inner", "Parallel Aware": false, "Scan Direction": "Forward", "Index Name": "ps_sk", "Relation Name": "partsupp", "Schema": "public", "Alias": "partsupp", "Startup Cost": 0.43, "Total Cost": 3.99, "Plan Rows": 80, "Plan Width": 18, "Output": ["partsupp.ps_partkey", "partsupp.ps_suppkey", "partsupp.ps_availqty", "partsupp.ps_supplycost", "partsupp.ps_comment"], "Index Cond": "(partsupp.ps_suppkey = supplier.s_suppkey)"}]}]}]}]}} diff --git a/dev9/pg9/tpch/sf_10/explain/15721/12-1.ok b/dev9/pg9/tpch/sf_10/explain/15721/12-1.ok new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/dev9/pg9/tpch/sf_10/explain/15721/12-1.res b/dev9/pg9/tpch/sf_10/explain/15721/12-1.res new file mode 100644 index 0000000000000000000000000000000000000000..a7af532210531b96297c25f9de604add8ce603c6 --- /dev/null +++ b/dev9/pg9/tpch/sf_10/explain/15721/12-1.res @@ -0,0 +1 @@ +{"Plan": {"Node Type": "Aggregate", "Strategy": "Sorted", "Partial Mode": "Finalize", "Parallel Aware": false, "Startup Cost": 1376948.43, "Total Cost": 1376948.99, "Plan Rows": 7, "Plan Width": 27, "Output": ["lineitem.l_shipmode", "sum(CASE WHEN ((orders.o_orderpriority = '1-URGENT'::bpchar) OR (orders.o_orderpriority = '2-HIGH'::bpchar)) THEN 1 ELSE 0 END)", "sum(CASE WHEN ((orders.o_orderpriority <> '1-URGENT'::bpchar) AND (orders.o_orderpriority <> '2-HIGH'::bpchar)) THEN 1 ELSE 0 END)"], "Group Key": ["lineitem.l_shipmode"], "Plans": [{"Node Type": "Sort", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 1376948.43, "Total Cost": 1376948.55, "Plan Rows": 49, "Plan Width": 27, "Output": ["lineitem.l_shipmode", "(PARTIAL sum(CASE WHEN ((orders.o_orderpriority = '1-URGENT'::bpchar) OR (orders.o_orderpriority = '2-HIGH'::bpchar)) THEN 1 ELSE 0 END))", "(PARTIAL sum(CASE WHEN ((orders.o_orderpriority <> '1-URGENT'::bpchar) AND (orders.o_orderpriority <> '2-HIGH'::bpchar)) THEN 1 ELSE 0 END))"], "Sort Key": ["lineitem.l_shipmode"], "Plans": [{"Node Type": "Gather", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 1376120.04, "Total Cost": 1376947.05, "Plan Rows": 49, "Plan Width": 27, "Output": ["lineitem.l_shipmode", "(PARTIAL sum(CASE WHEN ((orders.o_orderpriority = '1-URGENT'::bpchar) OR (orders.o_orderpriority = '2-HIGH'::bpchar)) THEN 1 ELSE 0 END))", "(PARTIAL sum(CASE WHEN ((orders.o_orderpriority <> '1-URGENT'::bpchar) AND (orders.o_orderpriority <> '2-HIGH'::bpchar)) THEN 1 ELSE 0 END))"], "Workers Planned": 7, "Single Copy": false, "Plans": [{"Node Type": "Aggregate", "Strategy": "Sorted", "Partial Mode": "Partial", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 1375120.04, "Total Cost": 1375942.15, "Plan Rows": 7, "Plan Width": 27, "Output": ["lineitem.l_shipmode", "PARTIAL sum(CASE WHEN ((orders.o_orderpriority = '1-URGENT'::bpchar) OR (orders.o_orderpriority = '2-HIGH'::bpchar)) THEN 1 ELSE 0 END)", "PARTIAL sum(CASE WHEN ((orders.o_orderpriority <> '1-URGENT'::bpchar) AND (orders.o_orderpriority <> '2-HIGH'::bpchar)) THEN 1 ELSE 0 END)"], "Group Key": ["lineitem.l_shipmode"], "Plans": [{"Node Type": "Sort", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 1375120.04, "Total Cost": 1375222.8, "Plan Rows": 41102, "Plan Width": 27, "Output": ["lineitem.l_shipmode", "orders.o_orderpriority"], "Sort Key": ["lineitem.l_shipmode"], "Plans": [{"Node Type": "Nested Loop", "Parent Relationship": "Outer", "Parallel Aware": false, "Join Type": "Inner", "Startup Cost": 0.43, "Total Cost": 1371970.21, "Plan Rows": 41102, "Plan Width": 27, "Output": ["lineitem.l_shipmode", "orders.o_orderpriority"], "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": true, "Relation Name": "lineitem", "Schema": "public", "Alias": "lineitem", "Startup Cost": 0.0, "Total Cost": 1317353.59, "Plan Rows": 41102, "Plan Width": 15, "Output": ["lineitem.l_orderkey", "lineitem.l_partkey", "lineitem.l_suppkey", "lineitem.l_linenumber", "lineitem.l_quantity", "lineitem.l_extendedprice", "lineitem.l_discount", "lineitem.l_tax", "lineitem.l_returnflag", "lineitem.l_linestatus", "lineitem.l_shipdate", "lineitem.l_commitdate", "lineitem.l_receiptdate", "lineitem.l_shipinstruct", "lineitem.l_shipmode", "lineitem.l_comment"], "Filter": "((lineitem.l_shipmode = ANY ('{MAIL,TRUCK}'::bpchar[])) AND (lineitem.l_commitdate < lineitem.l_receiptdate) AND (lineitem.l_shipdate < lineitem.l_commitdate) AND (lineitem.l_receiptdate >= '1995-01-01'::date) AND (lineitem.l_receiptdate < '1996-01-01 00:00:00'::timestamp without time zone))"}, {"Node Type": "Index Scan", "Parent Relationship": "Inner", "Parallel Aware": false, "Scan Direction": "Forward", "Index Name": "o_ok", "Relation Name": "orders", "Schema": "public", "Alias": "orders", "Startup Cost": 0.43, "Total Cost": 1.32, "Plan Rows": 1, "Plan Width": 20, "Output": ["orders.o_orderkey", "orders.o_custkey", "orders.o_orderstatus", "orders.o_totalprice", "orders.o_orderdate", "orders.o_orderpriority", "orders.o_clerk", "orders.o_shippriority", "orders.o_comment"], "Index Cond": "(orders.o_orderkey = lineitem.l_orderkey)"}]}]}]}]}]}]}} diff --git a/dev9/pg9/tpch/sf_10/explain/15721/13-1.ok b/dev9/pg9/tpch/sf_10/explain/15721/13-1.ok new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/dev9/pg9/tpch/sf_10/explain/15721/13-1.res b/dev9/pg9/tpch/sf_10/explain/15721/13-1.res new file mode 100644 index 0000000000000000000000000000000000000000..3c526dca2a7698d9fbe3aa9dc68c122637c12bba --- /dev/null +++ b/dev9/pg9/tpch/sf_10/explain/15721/13-1.res @@ -0,0 +1 @@ +{"Plan": {"Node Type": "Sort", "Parallel Aware": false, "Startup Cost": 923983.12, "Total Cost": 923983.62, "Plan Rows": 200, "Plan Width": 16, "Output": ["(count(orders.o_orderkey))", "(count(*))"], "Sort Key": ["(count(*)) DESC", "(count(orders.o_orderkey)) DESC"], "Plans": [{"Node Type": "Aggregate", "Strategy": "Hashed", "Partial Mode": "Simple", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 923973.48, "Total Cost": 923975.48, "Plan Rows": 200, "Plan Width": 16, "Output": ["(count(orders.o_orderkey))", "count(*)"], "Group Key": ["count(orders.o_orderkey)"], "Plans": [{"Node Type": "Aggregate", "Strategy": "Sorted", "Partial Mode": "Simple", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 0.86, "Total Cost": 901473.48, "Plan Rows": 1500000, "Plan Width": 12, "Output": ["customer.c_custkey", "count(orders.o_orderkey)"], "Group Key": ["customer.c_custkey"], "Plans": [{"Node Type": "Merge Join", "Parent Relationship": "Outer", "Parallel Aware": false, "Join Type": "Left", "Startup Cost": 0.86, "Total Cost": 811920.49, "Plan Rows": 14910597, "Plan Width": 8, "Output": ["customer.c_custkey", "orders.o_orderkey"], "Merge Cond": "(customer.c_custkey = orders.o_custkey)", "Plans": [{"Node Type": "Index Only Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Scan Direction": "Forward", "Index Name": "c_ck", "Relation Name": "customer", "Schema": "public", "Alias": "customer", "Startup Cost": 0.43, "Total Cost": 27028.03, "Plan Rows": 1500000, "Plan Width": 4, "Output": ["customer.c_custkey"]}, {"Node Type": "Index Scan", "Parent Relationship": "Inner", "Parallel Aware": false, "Scan Direction": "Forward", "Index Name": "o_ck", "Relation Name": "orders", "Schema": "public", "Alias": "orders", "Startup Cost": 0.43, "Total Cost": 594760.0, "Plan Rows": 14910597, "Plan Width": 8, "Output": ["orders.o_orderkey", "orders.o_custkey", "orders.o_orderstatus", "orders.o_totalprice", "orders.o_orderdate", "orders.o_orderpriority", "orders.o_clerk", "orders.o_shippriority", "orders.o_comment"], "Filter": "((orders.o_comment)::text !~~ '%unusual%requests%'::text)"}]}]}]}]}} diff --git a/dev9/pg9/tpch/sf_10/explain/15721/14-1.ok b/dev9/pg9/tpch/sf_10/explain/15721/14-1.ok new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/dev9/pg9/tpch/sf_10/explain/15721/14-1.res b/dev9/pg9/tpch/sf_10/explain/15721/14-1.res new file mode 100644 index 0000000000000000000000000000000000000000..fbd833247ffca8543cce63c5dab0ef89ad0feb19 --- /dev/null +++ b/dev9/pg9/tpch/sf_10/explain/15721/14-1.res @@ -0,0 +1 @@ +{"Plan": {"Node Type": "Aggregate", "Strategy": "Plain", "Partial Mode": "Simple", "Parallel Aware": false, "Startup Cost": 776356.98, "Total Cost": 776357.0, "Plan Rows": 1, "Plan Width": 32, "Output": ["((100.00 * sum(CASE WHEN ((part.p_type)::text ~~ 'PROMO%'::text) THEN (lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount)) ELSE '0'::numeric END)) / sum((lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount))))"], "Plans": [{"Node Type": "Hash Join", "Parent Relationship": "Outer", "Parallel Aware": false, "Join Type": "Inner", "Startup Cost": 110253.4, "Total Cost": 762349.58, "Plan Rows": 800423, "Plan Width": 33, "Output": ["part.p_type", "lineitem.l_extendedprice", "lineitem.l_discount"], "Hash Cond": "(lineitem.l_partkey = part.p_partkey)", "Plans": [{"Node Type": "Bitmap Heap Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Relation Name": "lineitem", "Schema": "public", "Alias": "lineitem", "Startup Cost": 10619.4, "Total Cost": 629219.23, "Plan Rows": 800423, "Plan Width": 16, "Output": ["lineitem.l_extendedprice", "lineitem.l_discount", "lineitem.l_partkey"], "Recheck Cond": "((lineitem.l_shipdate >= '1995-05-01'::date) AND (lineitem.l_shipdate < '1995-06-01 00:00:00'::timestamp without time zone))", "Plans": [{"Node Type": "Bitmap Index Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Index Name": "l_sd", "Startup Cost": 0.0, "Total Cost": 10419.3, "Plan Rows": 800423, "Plan Width": 0, "Index Cond": "((lineitem.l_shipdate >= '1995-05-01'::date) AND (lineitem.l_shipdate < '1995-06-01 00:00:00'::timestamp without time zone))"}]}, {"Node Type": "Hash", "Parent Relationship": "Inner", "Parallel Aware": false, "Startup Cost": 60962.0, "Total Cost": 60962.0, "Plan Rows": 2000000, "Plan Width": 25, "Output": ["part.p_type", "part.p_partkey"], "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Relation Name": "part", "Schema": "public", "Alias": "part", "Startup Cost": 0.0, "Total Cost": 60962.0, "Plan Rows": 2000000, "Plan Width": 25, "Output": ["part.p_type", "part.p_partkey"]}]}]}]}} diff --git a/dev9/pg9/tpch/sf_10/explain/15721/15-1.ok b/dev9/pg9/tpch/sf_10/explain/15721/15-1.ok new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/dev9/pg9/tpch/sf_10/explain/15721/15-1.res b/dev9/pg9/tpch/sf_10/explain/15721/15-1.res new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/dev9/pg9/tpch/sf_10/explain/15721/15-2.ok b/dev9/pg9/tpch/sf_10/explain/15721/15-2.ok new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/dev9/pg9/tpch/sf_10/explain/15721/15-2.res b/dev9/pg9/tpch/sf_10/explain/15721/15-2.res new file mode 100644 index 0000000000000000000000000000000000000000..ebbeb0e6e94d13d8856cb14a697a26c1a01bf909 --- /dev/null +++ b/dev9/pg9/tpch/sf_10/explain/15721/15-2.res @@ -0,0 +1 @@ +{"Plan": {"Node Type": "Merge Join", "Parallel Aware": false, "Join Type": "Inner", "Startup Cost": 2663029.05, "Total Cost": 2716248.83, "Plan Rows": 100084, "Plan Width": 103, "Output": ["supplier.s_suppkey", "supplier.s_name", "supplier.s_address", "supplier.s_phone", "(sum((lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount))))"], "Merge Cond": "(lineitem.l_suppkey = supplier.s_suppkey)", "Plans": [{"Node Type": "Aggregate", "Strategy": "Plain", "Partial Mode": "Simple", "Parent Relationship": "InitPlan", "Subplan Name": "InitPlan 1 (returns $0)", "Parallel Aware": false, "Startup Cost": 1213513.35, "Total Cost": 1213513.36, "Plan Rows": 1, "Plan Width": 32, "Output": ["max((sum((lineitem_1.l_extendedprice * ('1'::numeric - lineitem_1.l_discount)))))"], "Plans": [{"Node Type": "Aggregate", "Strategy": "Hashed", "Partial Mode": "Simple", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 1211011.25, "Total Cost": 1212262.3, "Plan Rows": 100084, "Plan Width": 36, "Output": ["lineitem_1.l_suppkey", "sum((lineitem_1.l_extendedprice * ('1'::numeric - lineitem_1.l_discount)))"], "Group Key": ["lineitem_1.l_suppkey"], "Plans": [{"Node Type": "Bitmap Heap Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Relation Name": "lineitem", "Schema": "public", "Alias": "lineitem_1", "Startup Cost": 29977.7, "Total Cost": 1188414.63, "Plan Rows": 2259662, "Plan Width": 16, "Output": ["lineitem_1.l_orderkey", "lineitem_1.l_partkey", "lineitem_1.l_suppkey", "lineitem_1.l_linenumber", "lineitem_1.l_quantity", "lineitem_1.l_extendedprice", "lineitem_1.l_discount", "lineitem_1.l_tax", "lineitem_1.l_returnflag", "lineitem_1.l_linestatus", "lineitem_1.l_shipdate", "lineitem_1.l_commitdate", "lineitem_1.l_receiptdate", "lineitem_1.l_shipinstruct", "lineitem_1.l_shipmode", "lineitem_1.l_comment"], "Recheck Cond": "((lineitem_1.l_shipdate >= '1995-01-01'::date) AND (lineitem_1.l_shipdate < '1995-04-01 00:00:00'::timestamp without time zone))", "Plans": [{"Node Type": "Bitmap Index Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Index Name": "l_sd", "Startup Cost": 0.0, "Total Cost": 29412.78, "Plan Rows": 2259662, "Plan Width": 0, "Index Cond": "((lineitem_1.l_shipdate >= '1995-01-01'::date) AND (lineitem_1.l_shipdate < '1995-04-01 00:00:00'::timestamp without time zone))"}]}]}]}, {"Node Type": "Aggregate", "Strategy": "Sorted", "Partial Mode": "Simple", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 1449515.39, "Total Cost": 1496209.89, "Plan Rows": 100084, "Plan Width": 36, "Output": ["lineitem.l_suppkey", "sum((lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount)))"], "Group Key": ["lineitem.l_suppkey"], "Filter": "(sum((lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount))) = $0)", "Plans": [{"Node Type": "Sort", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 1449515.39, "Total Cost": 1455164.55, "Plan Rows": 2259662, "Plan Width": 16, "Output": ["lineitem.l_suppkey", "lineitem.l_extendedprice", "lineitem.l_discount"], "Sort Key": ["lineitem.l_suppkey"], "Plans": [{"Node Type": "Bitmap Heap Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Relation Name": "lineitem", "Schema": "public", "Alias": "lineitem", "Startup Cost": 29977.7, "Total Cost": 1188414.63, "Plan Rows": 2259662, "Plan Width": 16, "Output": ["lineitem.l_suppkey", "lineitem.l_extendedprice", "lineitem.l_discount"], "Recheck Cond": "((lineitem.l_shipdate >= '1995-01-01'::date) AND (lineitem.l_shipdate < '1995-04-01 00:00:00'::timestamp without time zone))", "Plans": [{"Node Type": "Bitmap Index Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Index Name": "l_sd", "Startup Cost": 0.0, "Total Cost": 29412.78, "Plan Rows": 2259662, "Plan Width": 0, "Index Cond": "((lineitem.l_shipdate >= '1995-01-01'::date) AND (lineitem.l_shipdate < '1995-04-01 00:00:00'::timestamp without time zone))"}]}]}]}, {"Node Type": "Index Scan", "Parent Relationship": "Inner", "Parallel Aware": false, "Scan Direction": "Forward", "Index Name": "s_sk", "Relation Name": "supplier", "Schema": "public", "Alias": "supplier", "Startup Cost": 0.29, "Total Cost": 4020.1, "Plan Rows": 100000, "Plan Width": 71, "Output": ["supplier.s_suppkey", "supplier.s_name", "supplier.s_address", "supplier.s_nationkey", "supplier.s_phone", "supplier.s_acctbal", "supplier.s_comment"]}]}} diff --git a/dev9/pg9/tpch/sf_10/explain/15721/15-3.ok b/dev9/pg9/tpch/sf_10/explain/15721/15-3.ok new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/dev9/pg9/tpch/sf_10/explain/15721/15-3.res b/dev9/pg9/tpch/sf_10/explain/15721/15-3.res new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/dev9/pg9/tpch/sf_10/explain/15721/16-1.ok b/dev9/pg9/tpch/sf_10/explain/15721/16-1.ok new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/dev9/pg9/tpch/sf_10/explain/15721/16-1.res b/dev9/pg9/tpch/sf_10/explain/15721/16-1.res new file mode 100644 index 0000000000000000000000000000000000000000..28d7ce6e3bb763bcfc84f2898db976768afcfe93 --- /dev/null +++ b/dev9/pg9/tpch/sf_10/explain/15721/16-1.res @@ -0,0 +1 @@ +{"Plan": {"Node Type": "Sort", "Parallel Aware": false, "Startup Cost": 379649.55, "Total Cost": 380033.38, "Plan Rows": 153533, "Plan Width": 44, "Output": ["part.p_brand", "part.p_type", "part.p_size", "(count(DISTINCT partsupp.ps_suppkey))"], "Sort Key": ["(count(DISTINCT partsupp.ps_suppkey)) DESC", "part.p_brand", "part.p_type", "part.p_size"], "Plans": [{"Node Type": "Aggregate", "Strategy": "Sorted", "Partial Mode": "Simple", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 357489.18, "Total Cost": 366424.07, "Plan Rows": 153533, "Plan Width": 44, "Output": ["part.p_brand", "part.p_type", "part.p_size", "count(DISTINCT partsupp.ps_suppkey)"], "Group Key": ["part.p_brand", "part.p_type", "part.p_size"], "Plans": [{"Node Type": "Sort", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 357489.18, "Total Cost": 358969.09, "Plan Rows": 591965, "Plan Width": 40, "Output": ["part.p_brand", "part.p_type", "part.p_size", "partsupp.ps_suppkey"], "Sort Key": ["part.p_brand", "part.p_type", "part.p_size"], "Plans": [{"Node Type": "Merge Join", "Parent Relationship": "Outer", "Parallel Aware": false, "Join Type": "Inner", "Startup Cost": 3468.89, "Total Cost": 291252.84, "Plan Rows": 591965, "Plan Width": 40, "Output": ["part.p_brand", "part.p_type", "part.p_size", "partsupp.ps_suppkey"], "Merge Cond": "(part.p_partkey = partsupp.ps_partkey)", "Plans": [{"Node Type": "Index Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Scan Direction": "Forward", "Index Name": "p_pk", "Relation Name": "part", "Schema": "public", "Alias": "part", "Startup Cost": 0.43, "Total Cost": 106998.23, "Plan Rows": 295986, "Plan Width": 40, "Output": ["part.p_partkey", "part.p_name", "part.p_mfgr", "part.p_brand", "part.p_type", "part.p_size", "part.p_container", "part.p_retailprice", "part.p_comment"], "Filter": "((part.p_brand <> 'Brand#11'::bpchar) AND ((part.p_type)::text !~~ 'ECONOMY ANODIZED%'::text) AND (part.p_size = ANY ('{42,16,39,18,23,32,44,41}'::integer[])))"}, {"Node Type": "Index Only Scan", "Parent Relationship": "Inner", "Parallel Aware": false, "Scan Direction": "Forward", "Index Name": "ps_pk_sk", "Relation Name": "partsupp", "Schema": "public", "Alias": "partsupp", "Startup Cost": 3466.46, "Total Cost": 167595.48, "Plan Rows": 3999952, "Plan Width": 8, "Output": ["partsupp.ps_partkey", "partsupp.ps_suppkey"], "Filter": "(NOT (hashed SubPlan 1))", "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "SubPlan", "Subplan Name": "SubPlan 1", "Parallel Aware": false, "Relation Name": "supplier", "Schema": "public", "Alias": "supplier", "Startup Cost": 0.0, "Total Cost": 3466.0, "Plan Rows": 10, "Plan Width": 4, "Output": ["supplier.s_suppkey"], "Filter": "((supplier.s_comment)::text ~~ '%Customer%Complaints%'::text)"}]}]}]}]}]}} diff --git a/dev9/pg9/tpch/sf_10/explain/15721/17-1.ok b/dev9/pg9/tpch/sf_10/explain/15721/17-1.ok new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/dev9/pg9/tpch/sf_10/explain/15721/17-1.res b/dev9/pg9/tpch/sf_10/explain/15721/17-1.res new file mode 100644 index 0000000000000000000000000000000000000000..ec15ddcbfd91dbd29468bbed7df752f31b6418b5 --- /dev/null +++ b/dev9/pg9/tpch/sf_10/explain/15721/17-1.res @@ -0,0 +1 @@ +{"Plan": {"Node Type": "Aggregate", "Strategy": "Plain", "Partial Mode": "Simple", "Parallel Aware": false, "Startup Cost": 2381486.93, "Total Cost": 2381486.94, "Plan Rows": 1, "Plan Width": 32, "Output": ["(sum(lineitem.l_extendedprice) / 7.0)"], "Plans": [{"Node Type": "Nested Loop", "Parent Relationship": "Outer", "Parallel Aware": false, "Join Type": "Inner", "Startup Cost": 0.56, "Total Cost": 2381437.31, "Plan Rows": 19845, "Plan Width": 8, "Output": ["lineitem.l_extendedprice"], "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Relation Name": "part", "Schema": "public", "Alias": "part", "Startup Cost": 0.0, "Total Cost": 70962.0, "Plan Rows": 1985, "Plan Width": 4, "Output": ["part.p_partkey", "part.p_name", "part.p_mfgr", "part.p_brand", "part.p_type", "part.p_size", "part.p_container", "part.p_retailprice", "part.p_comment"], "Filter": "((part.p_brand = 'Brand#14'::bpchar) AND (part.p_container = 'WRAP BOX'::bpchar))"}, {"Node Type": "Index Scan", "Parent Relationship": "Inner", "Parallel Aware": false, "Scan Direction": "Forward", "Index Name": "l_pk", "Relation Name": "lineitem", "Schema": "public", "Alias": "lineitem", "Startup Cost": 0.56, "Total Cost": 1163.87, "Plan Rows": 10, "Plan Width": 17, "Output": ["lineitem.l_orderkey", "lineitem.l_partkey", "lineitem.l_suppkey", "lineitem.l_linenumber", "lineitem.l_quantity", "lineitem.l_extendedprice", "lineitem.l_discount", "lineitem.l_tax", "lineitem.l_returnflag", "lineitem.l_linestatus", "lineitem.l_shipdate", "lineitem.l_commitdate", "lineitem.l_receiptdate", "lineitem.l_shipinstruct", "lineitem.l_shipmode", "lineitem.l_comment"], "Index Cond": "(lineitem.l_partkey = part.p_partkey)", "Filter": "(lineitem.l_quantity < (SubPlan 1))", "Plans": [{"Node Type": "Aggregate", "Strategy": "Plain", "Partial Mode": "Simple", "Parent Relationship": "SubPlan", "Subplan Name": "SubPlan 1", "Parallel Aware": false, "Startup Cost": 36.39, "Total Cost": 36.4, "Plan Rows": 1, "Plan Width": 32, "Output": ["(0.2 * avg(lineitem_1.l_quantity))"], "Plans": [{"Node Type": "Index Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Scan Direction": "Forward", "Index Name": "l_pk", "Relation Name": "lineitem", "Schema": "public", "Alias": "lineitem_1", "Startup Cost": 0.56, "Total Cost": 36.31, "Plan Rows": 31, "Plan Width": 5, "Output": ["lineitem_1.l_orderkey", "lineitem_1.l_partkey", "lineitem_1.l_suppkey", "lineitem_1.l_linenumber", "lineitem_1.l_quantity", "lineitem_1.l_extendedprice", "lineitem_1.l_discount", "lineitem_1.l_tax", "lineitem_1.l_returnflag", "lineitem_1.l_linestatus", "lineitem_1.l_shipdate", "lineitem_1.l_commitdate", "lineitem_1.l_receiptdate", "lineitem_1.l_shipinstruct", "lineitem_1.l_shipmode", "lineitem_1.l_comment"], "Index Cond": "(lineitem_1.l_partkey = part.p_partkey)"}]}]}]}]}} diff --git a/dev9/pg9/tpch/sf_10/explain/15721/18-1.ok b/dev9/pg9/tpch/sf_10/explain/15721/18-1.ok new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/dev9/pg9/tpch/sf_10/explain/15721/18-1.res b/dev9/pg9/tpch/sf_10/explain/15721/18-1.res new file mode 100644 index 0000000000000000000000000000000000000000..612e06822ad5c55166df686fd782c7669673ed5b --- /dev/null +++ b/dev9/pg9/tpch/sf_10/explain/15721/18-1.res @@ -0,0 +1 @@ +{"Plan": {"Node Type": "Limit", "Parallel Aware": false, "Startup Cost": 13394880.93, "Total Cost": 13394881.18, "Plan Rows": 100, "Plan Width": 71, "Output": ["customer.c_name", "customer.c_custkey", "orders.o_orderkey", "orders.o_orderdate", "orders.o_totalprice", "(sum(lineitem.l_quantity))"], "Plans": [{"Node Type": "Sort", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 13394880.93, "Total Cost": 13469863.22, "Plan Rows": 29992914, "Plan Width": 71, "Output": ["customer.c_name", "customer.c_custkey", "orders.o_orderkey", "orders.o_orderdate", "orders.o_totalprice", "(sum(lineitem.l_quantity))"], "Sort Key": ["orders.o_totalprice DESC", "orders.o_orderdate"], "Plans": [{"Node Type": "Aggregate", "Strategy": "Sorted", "Partial Mode": "Simple", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 11573732.76, "Total Cost": 12248573.32, "Plan Rows": 29992914, "Plan Width": 71, "Output": ["customer.c_name", "customer.c_custkey", "orders.o_orderkey", "orders.o_orderdate", "orders.o_totalprice", "sum(lineitem.l_quantity)"], "Group Key": ["customer.c_custkey", "orders.o_orderkey"], "Plans": [{"Node Type": "Sort", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 11573732.76, "Total Cost": 11648715.04, "Plan Rows": 29992914, "Plan Width": 44, "Output": ["customer.c_custkey", "orders.o_orderkey", "customer.c_name", "orders.o_orderdate", "orders.o_totalprice", "lineitem.l_quantity"], "Sort Key": ["customer.c_custkey", "orders.o_orderkey"], "Plans": [{"Node Type": "Hash Join", "Parent Relationship": "Outer", "Parallel Aware": false, "Join Type": "Inner", "Startup Cost": 78433.15, "Total Cost": 6768094.02, "Plan Rows": 29992914, "Plan Width": 44, "Output": ["customer.c_custkey", "orders.o_orderkey", "customer.c_name", "orders.o_orderdate", "orders.o_totalprice", "lineitem.l_quantity"], "Hash Cond": "(orders.o_custkey = customer.c_custkey)", "Plans": [{"Node Type": "Merge Join", "Parent Relationship": "Outer", "Parallel Aware": false, "Join Type": "Inner", "Startup Cost": 66.15, "Total Cost": 5820983.31, "Plan Rows": 29992914, "Plan Width": 25, "Output": ["orders.o_orderkey", "orders.o_orderdate", "orders.o_totalprice", "orders.o_custkey", "lineitem.l_quantity"], "Merge Cond": "(orders.o_orderkey = lineitem.l_orderkey)", "Plans": [{"Node Type": "Merge Join", "Parent Relationship": "Outer", "Parallel Aware": false, "Join Type": "Semi", "Startup Cost": 1.0, "Total Cost": 3147108.08, "Plan Rows": 7500353, "Plan Width": 24, "Output": ["orders.o_orderkey", "orders.o_orderdate", "orders.o_totalprice", "orders.o_custkey", "lineitem_1.l_orderkey"], "Merge Cond": "(orders.o_orderkey = lineitem_1.l_orderkey)", "Plans": [{"Node Type": "Index Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Scan Direction": "Forward", "Index Name": "o_ok", "Relation Name": "orders", "Schema": "public", "Alias": "orders", "Startup Cost": 0.43, "Total Cost": 531167.23, "Plan Rows": 15000706, "Plan Width": 20, "Output": ["orders.o_orderkey", "orders.o_custkey", "orders.o_orderstatus", "orders.o_totalprice", "orders.o_orderdate", "orders.o_orderpriority", "orders.o_clerk", "orders.o_shippriority", "orders.o_comment"]}, {"Node Type": "Materialize", "Parent Relationship": "Inner", "Parallel Aware": false, "Startup Cost": 0.56, "Total Cost": 2554021.8, "Plan Rows": 1953383, "Plan Width": 4, "Output": ["lineitem_1.l_orderkey"], "Plans": [{"Node Type": "Aggregate", "Strategy": "Sorted", "Partial Mode": "Simple", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 0.56, "Total Cost": 2529604.51, "Plan Rows": 1953383, "Plan Width": 4, "Output": ["lineitem_1.l_orderkey"], "Group Key": ["lineitem_1.l_orderkey"], "Filter": "(sum(lineitem_1.l_quantity) > '314'::numeric)", "Plans": [{"Node Type": "Index Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Scan Direction": "Forward", "Index Name": "l_ok", "Relation Name": "lineitem", "Schema": "public", "Alias": "lineitem_1", "Startup Cost": 0.56, "Total Cost": 2205258.08, "Plan Rows": 59985828, "Plan Width": 9, "Output": ["lineitem_1.l_orderkey", "lineitem_1.l_partkey", "lineitem_1.l_suppkey", "lineitem_1.l_linenumber", "lineitem_1.l_quantity", "lineitem_1.l_extendedprice", "lineitem_1.l_discount", "lineitem_1.l_tax", "lineitem_1.l_returnflag", "lineitem_1.l_linestatus", "lineitem_1.l_shipdate", "lineitem_1.l_commitdate", "lineitem_1.l_receiptdate", "lineitem_1.l_shipinstruct", "lineitem_1.l_shipmode", "lineitem_1.l_comment"]}]}]}]}, {"Node Type": "Index Scan", "Parent Relationship": "Inner", "Parallel Aware": false, "Scan Direction": "Forward", "Index Name": "l_ok", "Relation Name": "lineitem", "Schema": "public", "Alias": "lineitem", "Startup Cost": 0.56, "Total Cost": 2205258.08, "Plan Rows": 59985828, "Plan Width": 9, "Output": ["lineitem.l_orderkey", "lineitem.l_partkey", "lineitem.l_suppkey", "lineitem.l_linenumber", "lineitem.l_quantity", "lineitem.l_extendedprice", "lineitem.l_discount", "lineitem.l_tax", "lineitem.l_returnflag", "lineitem.l_linestatus", "lineitem.l_shipdate", "lineitem.l_commitdate", "lineitem.l_receiptdate", "lineitem.l_shipinstruct", "lineitem.l_shipmode", "lineitem.l_comment"]}]}, {"Node Type": "Hash", "Parent Relationship": "Inner", "Parallel Aware": false, "Startup Cost": 50827.0, "Total Cost": 50827.0, "Plan Rows": 1500000, "Plan Width": 23, "Output": ["customer.c_name", "customer.c_custkey"], "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Relation Name": "customer", "Schema": "public", "Alias": "customer", "Startup Cost": 0.0, "Total Cost": 50827.0, "Plan Rows": 1500000, "Plan Width": 23, "Output": ["customer.c_name", "customer.c_custkey"]}]}]}]}]}]}]}} diff --git a/dev9/pg9/tpch/sf_10/explain/15721/19-1.ok b/dev9/pg9/tpch/sf_10/explain/15721/19-1.ok new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/dev9/pg9/tpch/sf_10/explain/15721/19-1.res b/dev9/pg9/tpch/sf_10/explain/15721/19-1.res new file mode 100644 index 0000000000000000000000000000000000000000..5ebc895eadba0608177c5a92631f15d01deef237 --- /dev/null +++ b/dev9/pg9/tpch/sf_10/explain/15721/19-1.res @@ -0,0 +1 @@ +{"Plan": {"Node Type": "Aggregate", "Strategy": "Plain", "Partial Mode": "Finalize", "Parallel Aware": false, "Startup Cost": 106484.32, "Total Cost": 106484.33, "Plan Rows": 1, "Plan Width": 32, "Output": ["sum((lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount)))"], "Plans": [{"Node Type": "Gather", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 106483.88, "Total Cost": 106484.29, "Plan Rows": 4, "Plan Width": 32, "Output": ["(PARTIAL sum((lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount))))"], "Workers Planned": 4, "Single Copy": false, "Plans": [{"Node Type": "Aggregate", "Strategy": "Plain", "Partial Mode": "Partial", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 105483.88, "Total Cost": 105483.89, "Plan Rows": 1, "Plan Width": 32, "Output": ["PARTIAL sum((lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount)))"], "Plans": [{"Node Type": "Nested Loop", "Parent Relationship": "Outer", "Parallel Aware": false, "Join Type": "Inner", "Startup Cost": 0.56, "Total Cost": 105481.78, "Plan Rows": 280, "Plan Width": 12, "Output": ["lineitem.l_extendedprice", "lineitem.l_discount"], "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": true, "Relation Name": "part", "Schema": "public", "Alias": "part", "Startup Cost": 0.0, "Total Cost": 62212.0, "Plan Rows": 1195, "Plan Width": 30, "Output": ["part.p_partkey", "part.p_name", "part.p_mfgr", "part.p_brand", "part.p_type", "part.p_size", "part.p_container", "part.p_retailprice", "part.p_comment"], "Filter": "((part.p_size >= 1) AND (((part.p_brand = 'Brand#52'::bpchar) AND (part.p_container = ANY ('{\"SM CASE\",\"SM BOX\",\"SM PACK\",\"SM PKG\"}'::bpchar[])) AND (part.p_size <= 5)) OR ((part.p_brand = 'Brand#42'::bpchar) AND (part.p_container = ANY ('{\"MED BAG\",\"MED BOX\",\"MED PKG\",\"MED PACK\"}'::bpchar[])) AND (part.p_size <= 10)) OR ((part.p_brand = 'Brand#23'::bpchar) AND (part.p_container = ANY ('{\"LG CASE\",\"LG BOX\",\"LG PACK\",\"LG PKG\"}'::bpchar[])) AND (part.p_size <= 15))))"}, {"Node Type": "Index Scan", "Parent Relationship": "Inner", "Parallel Aware": false, "Scan Direction": "Forward", "Index Name": "l_pk", "Relation Name": "lineitem", "Schema": "public", "Alias": "lineitem", "Startup Cost": 0.56, "Total Cost": 36.2, "Plan Rows": 1, "Plan Width": 21, "Output": ["lineitem.l_orderkey", "lineitem.l_partkey", "lineitem.l_suppkey", "lineitem.l_linenumber", "lineitem.l_quantity", "lineitem.l_extendedprice", "lineitem.l_discount", "lineitem.l_tax", "lineitem.l_returnflag", "lineitem.l_linestatus", "lineitem.l_shipdate", "lineitem.l_commitdate", "lineitem.l_receiptdate", "lineitem.l_shipinstruct", "lineitem.l_shipmode", "lineitem.l_comment"], "Index Cond": "(lineitem.l_partkey = part.p_partkey)", "Filter": "((lineitem.l_shipmode = ANY ('{AIR,\"AIR REG\"}'::bpchar[])) AND (lineitem.l_shipinstruct = 'DELIVER IN PERSON'::bpchar) AND (((lineitem.l_quantity >= '9'::numeric) AND (lineitem.l_quantity <= '19'::numeric)) OR ((lineitem.l_quantity >= '18'::numeric) AND (lineitem.l_quantity <= '28'::numeric)) OR ((lineitem.l_quantity >= '22'::numeric) AND (lineitem.l_quantity <= '32'::numeric))) AND (((part.p_brand = 'Brand#52'::bpchar) AND (part.p_container = ANY ('{\"SM CASE\",\"SM BOX\",\"SM PACK\",\"SM PKG\"}'::bpchar[])) AND (lineitem.l_quantity >= '9'::numeric) AND (lineitem.l_quantity <= '19'::numeric) AND (part.p_size <= 5)) OR ((part.p_brand = 'Brand#42'::bpchar) AND (part.p_container = ANY ('{\"MED BAG\",\"MED BOX\",\"MED PKG\",\"MED PACK\"}'::bpchar[])) AND (lineitem.l_quantity >= '18'::numeric) AND (lineitem.l_quantity <= '28'::numeric) AND (part.p_size <= 10)) OR ((part.p_brand = 'Brand#23'::bpchar) AND (part.p_container = ANY ('{\"LG CASE\",\"LG BOX\",\"LG PACK\",\"LG PKG\"}'::bpchar[])) AND (lineitem.l_quantity >= '22'::numeric) AND (lineitem.l_quantity <= '32'::numeric) AND (part.p_size <= 15))))"}]}]}]}]}} diff --git a/dev9/pg9/tpch/sf_10/explain/15721/2-1.ok b/dev9/pg9/tpch/sf_10/explain/15721/2-1.ok new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/dev9/pg9/tpch/sf_10/explain/15721/2-1.res b/dev9/pg9/tpch/sf_10/explain/15721/2-1.res new file mode 100644 index 0000000000000000000000000000000000000000..49fcb5b244f377ed90adafa17e511feec4eb6e5b --- /dev/null +++ b/dev9/pg9/tpch/sf_10/explain/15721/2-1.res @@ -0,0 +1 @@ +{"Plan": {"Node Type": "Limit", "Parallel Aware": false, "Startup Cost": 536659.54, "Total Cost": 536659.54, "Plan Rows": 1, "Plan Width": 192, "Output": ["supplier.s_acctbal", "supplier.s_name", "nation.n_name", "part.p_partkey", "part.p_mfgr", "supplier.s_address", "supplier.s_phone", "supplier.s_comment"], "Plans": [{"Node Type": "Sort", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 536659.54, "Total Cost": 536659.54, "Plan Rows": 1, "Plan Width": 192, "Output": ["supplier.s_acctbal", "supplier.s_name", "nation.n_name", "part.p_partkey", "part.p_mfgr", "supplier.s_address", "supplier.s_phone", "supplier.s_comment"], "Sort Key": ["supplier.s_acctbal DESC", "nation.n_name", "supplier.s_name", "part.p_partkey"], "Plans": [{"Node Type": "Merge Join", "Parent Relationship": "Outer", "Parallel Aware": false, "Join Type": "Inner", "Startup Cost": 341879.12, "Total Cost": 536659.53, "Plan Rows": 1, "Plan Width": 192, "Output": ["supplier.s_acctbal", "supplier.s_name", "nation.n_name", "part.p_partkey", "part.p_mfgr", "supplier.s_address", "supplier.s_phone", "supplier.s_comment"], "Merge Cond": "(part.p_partkey = partsupp.ps_partkey)", "Join Filter": "(partsupp.ps_supplycost = (SubPlan 1))", "Plans": [{"Node Type": "Index Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Scan Direction": "Forward", "Index Name": "p_pk", "Relation Name": "part", "Schema": "public", "Alias": "part", "Startup Cost": 0.43, "Total Cost": 86998.23, "Plan Rows": 8210, "Plan Width": 30, "Output": ["part.p_partkey", "part.p_name", "part.p_mfgr", "part.p_brand", "part.p_type", "part.p_size", "part.p_container", "part.p_retailprice", "part.p_comment"], "Filter": "(((part.p_type)::text ~~ '%TIN'::text) AND (part.p_size = 44))"}, {"Node Type": "Materialize", "Parent Relationship": "Inner", "Parallel Aware": false, "Startup Cost": 341878.61, "Total Cost": 349878.51, "Plan Rows": 1599981, "Plan Width": 172, "Output": ["supplier.s_acctbal", "supplier.s_name", "supplier.s_address", "supplier.s_phone", "supplier.s_comment", "partsupp.ps_partkey", "partsupp.ps_supplycost", "nation.n_name"], "Plans": [{"Node Type": "Sort", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 341878.61, "Total Cost": 345878.56, "Plan Rows": 1599981, "Plan Width": 172, "Output": ["supplier.s_acctbal", "supplier.s_name", "supplier.s_address", "supplier.s_phone", "supplier.s_comment", "partsupp.ps_partkey", "partsupp.ps_supplycost", "nation.n_name"], "Sort Key": ["partsupp.ps_partkey"], "Plans": [{"Node Type": "Nested Loop", "Parent Relationship": "Outer", "Parallel Aware": false, "Join Type": "Inner", "Startup Cost": 0.72, "Total Cost": 96924.43, "Plan Rows": 1599981, "Plan Width": 172, "Output": ["supplier.s_acctbal", "supplier.s_name", "supplier.s_address", "supplier.s_phone", "supplier.s_comment", "partsupp.ps_partkey", "partsupp.ps_supplycost", "nation.n_name"], "Plans": [{"Node Type": "Nested Loop", "Parent Relationship": "Outer", "Parallel Aware": false, "Join Type": "Inner", "Startup Cost": 0.29, "Total Cost": 1084.23, "Plan Rows": 20000, "Plan Width": 166, "Output": ["supplier.s_acctbal", "supplier.s_name", "supplier.s_address", "supplier.s_phone", "supplier.s_comment", "supplier.s_suppkey", "nation.n_name"], "Plans": [{"Node Type": "Nested Loop", "Parent Relationship": "Outer", "Parallel Aware": false, "Join Type": "Inner", "Startup Cost": 0.0, "Total Cost": 2.62, "Plan Rows": 5, "Plan Width": 30, "Output": ["nation.n_name", "nation.n_nationkey"], "Join Filter": "(nation.n_regionkey = region.r_regionkey)", "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Relation Name": "region", "Schema": "public", "Alias": "region", "Startup Cost": 0.0, "Total Cost": 1.06, "Plan Rows": 1, "Plan Width": 4, "Output": ["region.r_regionkey", "region.r_name", "region.r_comment"], "Filter": "(region.r_name = 'EUROPE'::bpchar)"}, {"Node Type": "Seq Scan", "Parent Relationship": "Inner", "Parallel Aware": false, "Relation Name": "nation", "Schema": "public", "Alias": "nation", "Startup Cost": 0.0, "Total Cost": 1.25, "Plan Rows": 25, "Plan Width": 34, "Output": ["nation.n_nationkey", "nation.n_name", "nation.n_regionkey", "nation.n_comment"]}]}, {"Node Type": "Index Scan", "Parent Relationship": "Inner", "Parallel Aware": false, "Scan Direction": "Forward", "Index Name": "s_nk", "Relation Name": "supplier", "Schema": "public", "Alias": "supplier", "Startup Cost": 0.29, "Total Cost": 176.32, "Plan Rows": 4000, "Plan Width": 144, "Output": ["supplier.s_suppkey", "supplier.s_name", "supplier.s_address", "supplier.s_nationkey", "supplier.s_phone", "supplier.s_acctbal", "supplier.s_comment"], "Index Cond": "(supplier.s_nationkey = nation.n_nationkey)"}]}, {"Node Type": "Index Scan", "Parent Relationship": "Inner", "Parallel Aware": false, "Scan Direction": "Forward", "Index Name": "ps_sk", "Relation Name": "partsupp", "Schema": "public", "Alias": "partsupp", "Startup Cost": 0.43, "Total Cost": 3.99, "Plan Rows": 80, "Plan Width": 14, "Output": ["partsupp.ps_partkey", "partsupp.ps_suppkey", "partsupp.ps_availqty", "partsupp.ps_supplycost", "partsupp.ps_comment"], "Index Cond": "(partsupp.ps_suppkey = supplier.s_suppkey)"}]}]}]}, {"Node Type": "Aggregate", "Strategy": "Plain", "Partial Mode": "Simple", "Parent Relationship": "SubPlan", "Subplan Name": "SubPlan 1", "Parallel Aware": false, "Startup Cost": 14.56, "Total Cost": 14.57, "Plan Rows": 1, "Plan Width": 32, "Output": ["min(partsupp_1.ps_supplycost)"], "Plans": [{"Node Type": "Nested Loop", "Parent Relationship": "Outer", "Parallel Aware": false, "Join Type": "Inner", "Startup Cost": 0.86, "Total Cost": 14.56, "Plan Rows": 1, "Plan Width": 6, "Output": ["partsupp_1.ps_supplycost"], "Join Filter": "(nation_1.n_regionkey = region_1.r_regionkey)", "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Relation Name": "region", "Schema": "public", "Alias": "region_1", "Startup Cost": 0.0, "Total Cost": 1.06, "Plan Rows": 1, "Plan Width": 4, "Output": ["region_1.r_regionkey", "region_1.r_name", "region_1.r_comment"], "Filter": "(region_1.r_name = 'EUROPE'::bpchar)"}, {"Node Type": "Nested Loop", "Parent Relationship": "Inner", "Parallel Aware": false, "Join Type": "Inner", "Startup Cost": 0.86, "Total Cost": 13.44, "Plan Rows": 4, "Plan Width": 10, "Output": ["partsupp_1.ps_supplycost", "nation_1.n_regionkey"], "Plans": [{"Node Type": "Nested Loop", "Parent Relationship": "Outer", "Parallel Aware": false, "Join Type": "Inner", "Startup Cost": 0.72, "Total Cost": 12.78, "Plan Rows": 4, "Plan Width": 10, "Output": ["partsupp_1.ps_supplycost", "supplier_1.s_nationkey"], "Plans": [{"Node Type": "Index Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Scan Direction": "Forward", "Index Name": "ps_pk", "Relation Name": "partsupp", "Schema": "public", "Alias": "partsupp_1", "Startup Cost": 0.43, "Total Cost": 2.7, "Plan Rows": 4, "Plan Width": 10, "Output": ["partsupp_1.ps_partkey", "partsupp_1.ps_suppkey", "partsupp_1.ps_availqty", "partsupp_1.ps_supplycost", "partsupp_1.ps_comment"], "Index Cond": "(part.p_partkey = partsupp_1.ps_partkey)"}, {"Node Type": "Index Scan", "Parent Relationship": "Inner", "Parallel Aware": false, "Scan Direction": "Forward", "Index Name": "s_sk", "Relation Name": "supplier", "Schema": "public", "Alias": "supplier_1", "Startup Cost": 0.29, "Total Cost": 2.51, "Plan Rows": 1, "Plan Width": 8, "Output": ["supplier_1.s_suppkey", "supplier_1.s_name", "supplier_1.s_address", "supplier_1.s_nationkey", "supplier_1.s_phone", "supplier_1.s_acctbal", "supplier_1.s_comment"], "Index Cond": "(supplier_1.s_suppkey = partsupp_1.ps_suppkey)"}]}, {"Node Type": "Index Scan", "Parent Relationship": "Inner", "Parallel Aware": false, "Scan Direction": "Forward", "Index Name": "n_nk", "Relation Name": "nation", "Schema": "public", "Alias": "nation_1", "Startup Cost": 0.14, "Total Cost": 0.16, "Plan Rows": 1, "Plan Width": 8, "Output": ["nation_1.n_nationkey", "nation_1.n_name", "nation_1.n_regionkey", "nation_1.n_comment"], "Index Cond": "(nation_1.n_nationkey = supplier_1.s_nationkey)"}]}]}]}]}]}]}} diff --git a/dev9/pg9/tpch/sf_10/explain/15721/20-1.ok b/dev9/pg9/tpch/sf_10/explain/15721/20-1.ok new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/dev9/pg9/tpch/sf_10/explain/15721/20-1.res b/dev9/pg9/tpch/sf_10/explain/15721/20-1.res new file mode 100644 index 0000000000000000000000000000000000000000..6f3a286c9f1201641ed12d623b7d1407705051f0 --- /dev/null +++ b/dev9/pg9/tpch/sf_10/explain/15721/20-1.res @@ -0,0 +1 @@ +{"Plan": {"Node Type": "Sort", "Parallel Aware": false, "Startup Cost": 378059.57, "Total Cost": 378062.78, "Plan Rows": 1283, "Plan Width": 51, "Output": ["supplier.s_name", "supplier.s_address"], "Sort Key": ["supplier.s_name"], "Plans": [{"Node Type": "Hash Join", "Parent Relationship": "Outer", "Parallel Aware": false, "Join Type": "Semi", "Startup Cost": 375760.8, "Total Cost": 377993.34, "Plan Rows": 1283, "Plan Width": 51, "Output": ["supplier.s_name", "supplier.s_address"], "Hash Cond": "(supplier.s_suppkey = partsupp.ps_suppkey)", "Plans": [{"Node Type": "Nested Loop", "Parent Relationship": "Outer", "Parallel Aware": false, "Join Type": "Inner", "Startup Cost": 44.49, "Total Cost": 2244.24, "Plan Rows": 4000, "Plan Width": 55, "Output": ["supplier.s_name", "supplier.s_address", "supplier.s_suppkey"], "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Relation Name": "nation", "Schema": "public", "Alias": "nation", "Startup Cost": 0.0, "Total Cost": 1.31, "Plan Rows": 1, "Plan Width": 4, "Output": ["nation.n_nationkey", "nation.n_name", "nation.n_regionkey", "nation.n_comment"], "Filter": "(nation.n_name = 'GERMANY'::bpchar)"}, {"Node Type": "Bitmap Heap Scan", "Parent Relationship": "Inner", "Parallel Aware": false, "Relation Name": "supplier", "Schema": "public", "Alias": "supplier", "Startup Cost": 44.49, "Total Cost": 2202.92, "Plan Rows": 4000, "Plan Width": 59, "Output": ["supplier.s_suppkey", "supplier.s_name", "supplier.s_address", "supplier.s_nationkey", "supplier.s_phone", "supplier.s_acctbal", "supplier.s_comment"], "Recheck Cond": "(supplier.s_nationkey = nation.n_nationkey)", "Plans": [{"Node Type": "Bitmap Index Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Index Name": "s_nk", "Startup Cost": 0.0, "Total Cost": 43.49, "Plan Rows": 4000, "Plan Width": 0, "Index Cond": "(supplier.s_nationkey = nation.n_nationkey)"}]}]}, {"Node Type": "Hash", "Parent Relationship": "Inner", "Parallel Aware": false, "Startup Cost": 375315.51, "Total Cost": 375315.51, "Plan Rows": 32064, "Plan Width": 4, "Output": ["partsupp.ps_suppkey"], "Plans": [{"Node Type": "Nested Loop", "Parent Relationship": "Outer", "Parallel Aware": false, "Join Type": "Inner", "Startup Cost": 1000.43, "Total Cost": 375315.51, "Plan Rows": 32064, "Plan Width": 4, "Output": ["partsupp.ps_suppkey"], "Plans": [{"Node Type": "Gather", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 1000.0, "Total Cost": 50616.8, "Plan Rows": 24048, "Plan Width": 4, "Output": ["part.p_partkey"], "Workers Planned": 4, "Single Copy": false, "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": true, "Relation Name": "part", "Schema": "public", "Alias": "part", "Startup Cost": 0.0, "Total Cost": 47212.0, "Plan Rows": 6012, "Plan Width": 4, "Output": ["part.p_partkey"], "Filter": "((part.p_name)::text ~~ 'floral%'::text)"}]}, {"Node Type": "Index Scan", "Parent Relationship": "Inner", "Parallel Aware": false, "Scan Direction": "Forward", "Index Name": "ps_pk", "Relation Name": "partsupp", "Schema": "public", "Alias": "partsupp", "Startup Cost": 0.43, "Total Cost": 13.49, "Plan Rows": 1, "Plan Width": 8, "Output": ["partsupp.ps_partkey", "partsupp.ps_suppkey", "partsupp.ps_availqty", "partsupp.ps_supplycost", "partsupp.ps_comment"], "Index Cond": "(partsupp.ps_partkey = part.p_partkey)", "Filter": "((partsupp.ps_availqty)::numeric > (SubPlan 1))", "Plans": [{"Node Type": "Aggregate", "Strategy": "Plain", "Partial Mode": "Simple", "Parent Relationship": "SubPlan", "Subplan Name": "SubPlan 1", "Parallel Aware": false, "Startup Cost": 2.79, "Total Cost": 2.81, "Plan Rows": 1, "Plan Width": 32, "Output": ["(0.5 * sum(lineitem.l_quantity))"], "Plans": [{"Node Type": "Index Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Scan Direction": "Forward", "Index Name": "l_sk_pk", "Relation Name": "lineitem", "Schema": "public", "Alias": "lineitem", "Startup Cost": 0.56, "Total Cost": 2.79, "Plan Rows": 1, "Plan Width": 5, "Output": ["lineitem.l_orderkey", "lineitem.l_partkey", "lineitem.l_suppkey", "lineitem.l_linenumber", "lineitem.l_quantity", "lineitem.l_extendedprice", "lineitem.l_discount", "lineitem.l_tax", "lineitem.l_returnflag", "lineitem.l_linestatus", "lineitem.l_shipdate", "lineitem.l_commitdate", "lineitem.l_receiptdate", "lineitem.l_shipinstruct", "lineitem.l_shipmode", "lineitem.l_comment"], "Index Cond": "((lineitem.l_suppkey = partsupp.ps_suppkey) AND (lineitem.l_partkey = partsupp.ps_partkey))", "Filter": "((lineitem.l_shipdate >= '1996-01-01'::date) AND (lineitem.l_shipdate < '1997-01-01 00:00:00'::timestamp without time zone))"}]}]}]}]}]}]}} diff --git a/dev9/pg9/tpch/sf_10/explain/15721/21-1.ok b/dev9/pg9/tpch/sf_10/explain/15721/21-1.ok new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/dev9/pg9/tpch/sf_10/explain/15721/21-1.res b/dev9/pg9/tpch/sf_10/explain/15721/21-1.res new file mode 100644 index 0000000000000000000000000000000000000000..9e2d553240e7ed949acbf256792f601671a2be1a --- /dev/null +++ b/dev9/pg9/tpch/sf_10/explain/15721/21-1.res @@ -0,0 +1 @@ +{"Plan": {"Node Type": "Limit", "Parallel Aware": false, "Startup Cost": 674413.51, "Total Cost": 674413.52, "Plan Rows": 1, "Plan Width": 34, "Output": ["supplier.s_name", "(count(*))"], "Plans": [{"Node Type": "Sort", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 674413.51, "Total Cost": 674413.52, "Plan Rows": 1, "Plan Width": 34, "Output": ["supplier.s_name", "(count(*))"], "Sort Key": ["(count(*)) DESC", "supplier.s_name"], "Plans": [{"Node Type": "Aggregate", "Strategy": "Sorted", "Partial Mode": "Simple", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 674413.48, "Total Cost": 674413.5, "Plan Rows": 1, "Plan Width": 34, "Output": ["supplier.s_name", "count(*)"], "Group Key": ["supplier.s_name"], "Plans": [{"Node Type": "Sort", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 674413.48, "Total Cost": 674413.49, "Plan Rows": 1, "Plan Width": 26, "Output": ["supplier.s_name"], "Sort Key": ["supplier.s_name"], "Plans": [{"Node Type": "Nested Loop", "Parent Relationship": "Outer", "Parallel Aware": false, "Join Type": "Anti", "Startup Cost": 1003.46, "Total Cost": 674413.47, "Plan Rows": 1, "Plan Width": 26, "Output": ["supplier.s_name"], "Plans": [{"Node Type": "Gather", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 1002.89, "Total Cost": 674411.27, "Plan Rows": 1, "Plan Width": 34, "Output": ["supplier.s_name", "l1.l_suppkey", "l1.l_orderkey"], "Workers Planned": 1, "Single Copy": false, "Plans": [{"Node Type": "Nested Loop", "Parent Relationship": "Outer", "Parallel Aware": false, "Join Type": "Semi", "Startup Cost": 2.89, "Total Cost": 673411.17, "Plan Rows": 1, "Plan Width": 34, "Output": ["supplier.s_name", "l1.l_suppkey", "l1.l_orderkey"], "Join Filter": "(orders.o_orderkey = l2.l_orderkey)", "Plans": [{"Node Type": "Nested Loop", "Parent Relationship": "Outer", "Parallel Aware": false, "Join Type": "Inner", "Startup Cost": 2.32, "Total Cost": 295999.05, "Plan Rows": 229651, "Plan Width": 38, "Output": ["supplier.s_name", "l1.l_suppkey", "l1.l_orderkey", "orders.o_orderkey"], "Plans": [{"Node Type": "Nested Loop", "Parent Relationship": "Outer", "Parallel Aware": false, "Join Type": "Inner", "Startup Cost": 1.89, "Total Cost": 69599.9, "Plan Rows": 470082, "Plan Width": 34, "Output": ["supplier.s_name", "l1.l_suppkey", "l1.l_orderkey"], "Plans": [{"Node Type": "Hash Join", "Parent Relationship": "Outer", "Parallel Aware": false, "Join Type": "Inner", "Startup Cost": 1.32, "Total Cost": 3049.68, "Plan Rows": 2353, "Plan Width": 30, "Output": ["supplier.s_name", "supplier.s_suppkey"], "Hash Cond": "(supplier.s_nationkey = nation.n_nationkey)", "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": true, "Relation Name": "supplier", "Schema": "public", "Alias": "supplier", "Startup Cost": 0.0, "Total Cost": 2804.24, "Plan Rows": 58824, "Plan Width": 34, "Output": ["supplier.s_suppkey", "supplier.s_name", "supplier.s_address", "supplier.s_nationkey", "supplier.s_phone", "supplier.s_acctbal", "supplier.s_comment"]}, {"Node Type": "Hash", "Parent Relationship": "Inner", "Parallel Aware": false, "Startup Cost": 1.31, "Total Cost": 1.31, "Plan Rows": 1, "Plan Width": 4, "Output": ["nation.n_nationkey"], "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Relation Name": "nation", "Schema": "public", "Alias": "nation", "Startup Cost": 0.0, "Total Cost": 1.31, "Plan Rows": 1, "Plan Width": 4, "Output": ["nation.n_nationkey"], "Filter": "(nation.n_name = 'CHINA'::bpchar)"}]}]}, {"Node Type": "Index Scan", "Parent Relationship": "Inner", "Parallel Aware": false, "Scan Direction": "Forward", "Index Name": "l_sk", "Relation Name": "lineitem", "Schema": "public", "Alias": "l1", "Startup Cost": 0.56, "Total Cost": 26.28, "Plan Rows": 200, "Plan Width": 8, "Output": ["l1.l_orderkey", "l1.l_partkey", "l1.l_suppkey", "l1.l_linenumber", "l1.l_quantity", "l1.l_extendedprice", "l1.l_discount", "l1.l_tax", "l1.l_returnflag", "l1.l_linestatus", "l1.l_shipdate", "l1.l_commitdate", "l1.l_receiptdate", "l1.l_shipinstruct", "l1.l_shipmode", "l1.l_comment"], "Index Cond": "(l1.l_suppkey = supplier.s_suppkey)", "Filter": "(l1.l_receiptdate > l1.l_commitdate)"}]}, {"Node Type": "Index Scan", "Parent Relationship": "Inner", "Parallel Aware": false, "Scan Direction": "Forward", "Index Name": "o_ok", "Relation Name": "orders", "Schema": "public", "Alias": "orders", "Startup Cost": 0.43, "Total Cost": 0.47, "Plan Rows": 1, "Plan Width": 4, "Output": ["orders.o_orderkey", "orders.o_custkey", "orders.o_orderstatus", "orders.o_totalprice", "orders.o_orderdate", "orders.o_orderpriority", "orders.o_clerk", "orders.o_shippriority", "orders.o_comment"], "Index Cond": "(orders.o_orderkey = l1.l_orderkey)", "Filter": "(orders.o_orderstatus = 'F'::bpchar)"}]}, {"Node Type": "Index Scan", "Parent Relationship": "Inner", "Parallel Aware": false, "Scan Direction": "Forward", "Index Name": "l_ok", "Relation Name": "lineitem", "Schema": "public", "Alias": "l2", "Startup Cost": 0.56, "Total Cost": 1.26, "Plan Rows": 31, "Plan Width": 8, "Output": ["l2.l_orderkey", "l2.l_partkey", "l2.l_suppkey", "l2.l_linenumber", "l2.l_quantity", "l2.l_extendedprice", "l2.l_discount", "l2.l_tax", "l2.l_returnflag", "l2.l_linestatus", "l2.l_shipdate", "l2.l_commitdate", "l2.l_receiptdate", "l2.l_shipinstruct", "l2.l_shipmode", "l2.l_comment"], "Index Cond": "(l2.l_orderkey = l1.l_orderkey)", "Filter": "(l2.l_suppkey <> l1.l_suppkey)"}]}]}, {"Node Type": "Index Scan", "Parent Relationship": "Inner", "Parallel Aware": false, "Scan Direction": "Forward", "Index Name": "l_ok", "Relation Name": "lineitem", "Schema": "public", "Alias": "l3", "Startup Cost": 0.56, "Total Cost": 1.33, "Plan Rows": 10, "Plan Width": 8, "Output": ["l3.l_orderkey", "l3.l_partkey", "l3.l_suppkey", "l3.l_linenumber", "l3.l_quantity", "l3.l_extendedprice", "l3.l_discount", "l3.l_tax", "l3.l_returnflag", "l3.l_linestatus", "l3.l_shipdate", "l3.l_commitdate", "l3.l_receiptdate", "l3.l_shipinstruct", "l3.l_shipmode", "l3.l_comment"], "Index Cond": "(l3.l_orderkey = l1.l_orderkey)", "Filter": "((l3.l_receiptdate > l3.l_commitdate) AND (l3.l_suppkey <> l1.l_suppkey))"}]}]}]}]}]}} diff --git a/dev9/pg9/tpch/sf_10/explain/15721/22-1.ok b/dev9/pg9/tpch/sf_10/explain/15721/22-1.ok new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/dev9/pg9/tpch/sf_10/explain/15721/22-1.res b/dev9/pg9/tpch/sf_10/explain/15721/22-1.res new file mode 100644 index 0000000000000000000000000000000000000000..aa9804d2ba855f122939a4eabac6b6b2e760915c --- /dev/null +++ b/dev9/pg9/tpch/sf_10/explain/15721/22-1.res @@ -0,0 +1 @@ +{"Plan": {"Node Type": "Aggregate", "Strategy": "Sorted", "Partial Mode": "Simple", "Parallel Aware": false, "Startup Cost": 132059.16, "Total Cost": 132265.68, "Plan Rows": 7510, "Plan Width": 72, "Output": ["(\"substring\"((customer.c_phone)::text, 1, 2))", "count(*)", "sum(customer.c_acctbal)"], "Group Key": ["(\"substring\"((customer.c_phone)::text, 1, 2))"], "Plans": [{"Node Type": "Aggregate", "Strategy": "Plain", "Partial Mode": "Finalize", "Parent Relationship": "InitPlan", "Subplan Name": "InitPlan 1 (returns $0)", "Parallel Aware": false, "Startup Cost": 46701.0, "Total Cost": 46701.01, "Plan Rows": 1, "Plan Width": 32, "Output": ["avg(customer_1.c_acctbal)"], "Plans": [{"Node Type": "Gather", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 46700.57, "Total Cost": 46700.98, "Plan Rows": 4, "Plan Width": 32, "Output": ["(PARTIAL avg(customer_1.c_acctbal))"], "Workers Planned": 4, "Single Copy": false, "Plans": [{"Node Type": "Aggregate", "Strategy": "Plain", "Partial Mode": "Partial", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 45700.57, "Total Cost": 45700.58, "Plan Rows": 1, "Plan Width": 32, "Output": ["PARTIAL avg(customer_1.c_acctbal)"], "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": true, "Relation Name": "customer", "Schema": "public", "Alias": "customer_1", "Startup Cost": 0.0, "Total Cost": 45670.75, "Plan Rows": 11925, "Plan Width": 6, "Output": ["customer_1.c_acctbal"], "Filter": "((customer_1.c_acctbal > 0.00) AND (\"substring\"((customer_1.c_phone)::text, 1, 2) = ANY ('{17,20,25,31,30,11,33}'::text[])))"}]}]}]}, {"Node Type": "Sort", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 85358.15, "Total Cost": 85376.92, "Plan Rows": 7510, "Plan Width": 38, "Output": ["(\"substring\"((customer.c_phone)::text, 1, 2))", "customer.c_acctbal"], "Sort Key": ["(\"substring\"((customer.c_phone)::text, 1, 2))"], "Plans": [{"Node Type": "Nested Loop", "Parent Relationship": "Outer", "Parallel Aware": false, "Join Type": "Anti", "Startup Cost": 0.43, "Total Cost": 84874.71, "Plan Rows": 7510, "Plan Width": 38, "Output": ["\"substring\"((customer.c_phone)::text, 1, 2)", "customer.c_acctbal"], "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Relation Name": "customer", "Schema": "public", "Alias": "customer", "Startup Cost": 0.0, "Total Cost": 75202.0, "Plan Rows": 17500, "Plan Width": 26, "Output": ["customer.c_custkey", "customer.c_name", "customer.c_address", "customer.c_nationkey", "customer.c_phone", "customer.c_acctbal", "customer.c_mktsegment", "customer.c_comment"], "Filter": "((customer.c_acctbal > $0) AND (\"substring\"((customer.c_phone)::text, 1, 2) = ANY ('{17,20,25,31,30,11,33}'::text[])))"}, {"Node Type": "Index Only Scan", "Parent Relationship": "Inner", "Parallel Aware": false, "Scan Direction": "Forward", "Index Name": "o_ck", "Relation Name": "orders", "Schema": "public", "Alias": "orders", "Startup Cost": 0.43, "Total Cost": 1.66, "Plan Rows": 18, "Plan Width": 4, "Output": ["orders.o_custkey"], "Index Cond": "(orders.o_custkey = customer.c_custkey)"}]}]}]}} diff --git a/dev9/pg9/tpch/sf_10/explain/15721/3-1.ok b/dev9/pg9/tpch/sf_10/explain/15721/3-1.ok new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/dev9/pg9/tpch/sf_10/explain/15721/3-1.res b/dev9/pg9/tpch/sf_10/explain/15721/3-1.res new file mode 100644 index 0000000000000000000000000000000000000000..51834d31d323a623306f68cf9ca82e56e49f0636 --- /dev/null +++ b/dev9/pg9/tpch/sf_10/explain/15721/3-1.res @@ -0,0 +1 @@ +{"Plan": {"Node Type": "Limit", "Parallel Aware": false, "Startup Cost": 1613692.16, "Total Cost": 1613692.19, "Plan Rows": 10, "Plan Width": 44, "Output": ["lineitem.l_orderkey", "(sum((lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount))))", "orders.o_orderdate", "orders.o_shippriority"], "Plans": [{"Node Type": "Sort", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 1613692.16, "Total Cost": 1621575.21, "Plan Rows": 3153219, "Plan Width": 44, "Output": ["lineitem.l_orderkey", "(sum((lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount))))", "orders.o_orderdate", "orders.o_shippriority"], "Sort Key": ["(sum((lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount)))) DESC", "orders.o_orderdate"], "Plans": [{"Node Type": "Aggregate", "Strategy": "Sorted", "Partial Mode": "Simple", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 1450955.66, "Total Cost": 1545552.23, "Plan Rows": 3153219, "Plan Width": 44, "Output": ["lineitem.l_orderkey", "sum((lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount)))", "orders.o_orderdate", "orders.o_shippriority"], "Group Key": ["lineitem.l_orderkey", "orders.o_orderdate", "orders.o_shippriority"], "Plans": [{"Node Type": "Sort", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 1450955.66, "Total Cost": 1458838.71, "Plan Rows": 3153219, "Plan Width": 24, "Output": ["lineitem.l_orderkey", "orders.o_orderdate", "orders.o_shippriority", "lineitem.l_extendedprice", "lineitem.l_discount"], "Sort Key": ["lineitem.l_orderkey", "orders.o_orderdate", "orders.o_shippriority"], "Plans": [{"Node Type": "Gather", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 1001.0, "Total Cost": 1072715.19, "Plan Rows": 3153219, "Plan Width": 24, "Output": ["lineitem.l_orderkey", "orders.o_orderdate", "orders.o_shippriority", "lineitem.l_extendedprice", "lineitem.l_discount"], "Workers Planned": 4, "Single Copy": false, "Plans": [{"Node Type": "Nested Loop", "Parent Relationship": "Outer", "Parallel Aware": false, "Join Type": "Inner", "Startup Cost": 1.0, "Total Cost": 756393.29, "Plan Rows": 788305, "Plan Width": 24, "Output": ["lineitem.l_orderkey", "orders.o_orderdate", "orders.o_shippriority", "lineitem.l_extendedprice", "lineitem.l_discount"], "Plans": [{"Node Type": "Nested Loop", "Parent Relationship": "Outer", "Parallel Aware": false, "Join Type": "Inner", "Startup Cost": 0.43, "Total Cost": 189793.17, "Plan Rows": 365957, "Plan Width": 12, "Output": ["orders.o_orderdate", "orders.o_shippriority", "orders.o_orderkey"], "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": true, "Relation Name": "customer", "Schema": "public", "Alias": "customer", "Startup Cost": 0.0, "Total Cost": 40514.5, "Plan Rows": 74822, "Plan Width": 4, "Output": ["customer.c_custkey", "customer.c_name", "customer.c_address", "customer.c_nationkey", "customer.c_phone", "customer.c_acctbal", "customer.c_mktsegment", "customer.c_comment"], "Filter": "(customer.c_mktsegment = 'FURNITURE'::bpchar)"}, {"Node Type": "Index Scan", "Parent Relationship": "Inner", "Parallel Aware": false, "Scan Direction": "Forward", "Index Name": "o_ck", "Relation Name": "orders", "Schema": "public", "Alias": "orders", "Startup Cost": 0.43, "Total Cost": 1.91, "Plan Rows": 9, "Plan Width": 16, "Output": ["orders.o_orderkey", "orders.o_custkey", "orders.o_orderstatus", "orders.o_totalprice", "orders.o_orderdate", "orders.o_orderpriority", "orders.o_clerk", "orders.o_shippriority", "orders.o_comment"], "Index Cond": "(orders.o_custkey = customer.c_custkey)", "Filter": "(orders.o_orderdate < '1995-03-20'::date)"}]}, {"Node Type": "Index Scan", "Parent Relationship": "Inner", "Parallel Aware": false, "Scan Direction": "Forward", "Index Name": "l_ok", "Relation Name": "lineitem", "Schema": "public", "Alias": "lineitem", "Startup Cost": 0.56, "Total Cost": 1.38, "Plan Rows": 17, "Plan Width": 16, "Output": ["lineitem.l_orderkey", "lineitem.l_partkey", "lineitem.l_suppkey", "lineitem.l_linenumber", "lineitem.l_quantity", "lineitem.l_extendedprice", "lineitem.l_discount", "lineitem.l_tax", "lineitem.l_returnflag", "lineitem.l_linestatus", "lineitem.l_shipdate", "lineitem.l_commitdate", "lineitem.l_receiptdate", "lineitem.l_shipinstruct", "lineitem.l_shipmode", "lineitem.l_comment"], "Index Cond": "(lineitem.l_orderkey = orders.o_orderkey)", "Filter": "(lineitem.l_shipdate > '1995-03-20'::date)"}]}]}]}]}]}]}} diff --git a/dev9/pg9/tpch/sf_10/explain/15721/4-1.ok b/dev9/pg9/tpch/sf_10/explain/15721/4-1.ok new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/dev9/pg9/tpch/sf_10/explain/15721/4-1.res b/dev9/pg9/tpch/sf_10/explain/15721/4-1.res new file mode 100644 index 0000000000000000000000000000000000000000..3f36ee1c905ad1354649e3a654ef636d7e1ded98 --- /dev/null +++ b/dev9/pg9/tpch/sf_10/explain/15721/4-1.res @@ -0,0 +1 @@ +{"Plan": {"Node Type": "Aggregate", "Strategy": "Sorted", "Partial Mode": "Finalize", "Parallel Aware": false, "Startup Cost": 372795.97, "Total Cost": 372796.24, "Plan Rows": 5, "Plan Width": 24, "Output": ["orders.o_orderpriority", "count(*)"], "Group Key": ["orders.o_orderpriority"], "Plans": [{"Node Type": "Sort", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 372795.97, "Total Cost": 372796.04, "Plan Rows": 30, "Plan Width": 24, "Output": ["orders.o_orderpriority", "(PARTIAL count(*))"], "Sort Key": ["orders.o_orderpriority"], "Plans": [{"Node Type": "Gather", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 372700.0, "Total Cost": 372795.23, "Plan Rows": 30, "Plan Width": 24, "Output": ["orders.o_orderpriority", "(PARTIAL count(*))"], "Workers Planned": 6, "Single Copy": false, "Plans": [{"Node Type": "Aggregate", "Strategy": "Sorted", "Partial Mode": "Partial", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 371700.0, "Total Cost": 371792.23, "Plan Rows": 5, "Plan Width": 24, "Output": ["orders.o_orderpriority", "PARTIAL count(*)"], "Group Key": ["orders.o_orderpriority"], "Plans": [{"Node Type": "Sort", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 371700.0, "Total Cost": 371730.73, "Plan Rows": 12291, "Plan Width": 16, "Output": ["orders.o_orderpriority"], "Sort Key": ["orders.o_orderpriority"], "Plans": [{"Node Type": "Nested Loop", "Parent Relationship": "Outer", "Parallel Aware": false, "Join Type": "Semi", "Startup Cost": 0.56, "Total Cost": 370865.12, "Plan Rows": 12291, "Plan Width": 16, "Output": ["orders.o_orderpriority"], "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": true, "Relation Name": "orders", "Schema": "public", "Alias": "orders", "Startup Cost": 0.0, "Total Cost": 298413.77, "Plan Rows": 94386, "Plan Width": 20, "Output": ["orders.o_orderkey", "orders.o_custkey", "orders.o_orderstatus", "orders.o_totalprice", "orders.o_orderdate", "orders.o_orderpriority", "orders.o_clerk", "orders.o_shippriority", "orders.o_comment"], "Filter": "((orders.o_orderdate >= '1996-01-01'::date) AND (orders.o_orderdate < '1996-04-01 00:00:00'::timestamp without time zone))"}, {"Node Type": "Index Scan", "Parent Relationship": "Inner", "Parallel Aware": false, "Scan Direction": "Forward", "Index Name": "l_ok", "Relation Name": "lineitem", "Schema": "public", "Alias": "lineitem", "Startup Cost": 0.56, "Total Cost": 2.38, "Plan Rows": 10, "Plan Width": 4, "Output": ["lineitem.l_orderkey", "lineitem.l_partkey", "lineitem.l_suppkey", "lineitem.l_linenumber", "lineitem.l_quantity", "lineitem.l_extendedprice", "lineitem.l_discount", "lineitem.l_tax", "lineitem.l_returnflag", "lineitem.l_linestatus", "lineitem.l_shipdate", "lineitem.l_commitdate", "lineitem.l_receiptdate", "lineitem.l_shipinstruct", "lineitem.l_shipmode", "lineitem.l_comment"], "Index Cond": "(lineitem.l_orderkey = orders.o_orderkey)", "Filter": "(lineitem.l_commitdate < lineitem.l_receiptdate)"}]}]}]}]}]}]}} diff --git a/dev9/pg9/tpch/sf_10/explain/15721/5-1.ok b/dev9/pg9/tpch/sf_10/explain/15721/5-1.ok new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/dev9/pg9/tpch/sf_10/explain/15721/5-1.res b/dev9/pg9/tpch/sf_10/explain/15721/5-1.res new file mode 100644 index 0000000000000000000000000000000000000000..8618355ca9fe2d88123937a9a49df982084ed859 --- /dev/null +++ b/dev9/pg9/tpch/sf_10/explain/15721/5-1.res @@ -0,0 +1 @@ +{"Plan": {"Node Type": "Sort", "Parallel Aware": false, "Startup Cost": 366941.88, "Total Cost": 366941.94, "Plan Rows": 25, "Plan Width": 58, "Output": ["nation.n_name", "(sum((lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount))))"], "Sort Key": ["(sum((lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount)))) DESC"], "Plans": [{"Node Type": "Aggregate", "Strategy": "Sorted", "Partial Mode": "Finalize", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 366939.99, "Total Cost": 366941.3, "Plan Rows": 25, "Plan Width": 58, "Output": ["nation.n_name", "sum((lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount)))"], "Group Key": ["nation.n_name"], "Plans": [{"Node Type": "Sort", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 366939.99, "Total Cost": 366940.24, "Plan Rows": 100, "Plan Width": 58, "Output": ["nation.n_name", "(PARTIAL sum((lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount))))"], "Sort Key": ["nation.n_name"], "Plans": [{"Node Type": "Gather", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 366698.6, "Total Cost": 366936.66, "Plan Rows": 100, "Plan Width": 58, "Output": ["nation.n_name", "(PARTIAL sum((lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount))))"], "Workers Planned": 4, "Single Copy": false, "Plans": [{"Node Type": "Aggregate", "Strategy": "Sorted", "Partial Mode": "Partial", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 365698.6, "Total Cost": 365926.66, "Plan Rows": 25, "Plan Width": 58, "Output": ["nation.n_name", "PARTIAL sum((lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount)))"], "Group Key": ["nation.n_name"], "Plans": [{"Node Type": "Sort", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 365698.6, "Total Cost": 365744.15, "Plan Rows": 18220, "Plan Width": 38, "Output": ["nation.n_name", "lineitem.l_extendedprice", "lineitem.l_discount"], "Sort Key": ["nation.n_name"], "Plans": [{"Node Type": "Hash Join", "Parent Relationship": "Outer", "Parallel Aware": false, "Join Type": "Inner", "Startup Cost": 4719.53, "Total Cost": 364409.24, "Plan Rows": 18220, "Plan Width": 38, "Output": ["nation.n_name", "lineitem.l_extendedprice", "lineitem.l_discount"], "Hash Cond": "((lineitem.l_suppkey = supplier.s_suppkey) AND (customer.c_nationkey = supplier.s_nationkey))", "Plans": [{"Node Type": "Nested Loop", "Parent Relationship": "Outer", "Parallel Aware": false, "Join Type": "Inner", "Startup Cost": 3.53, "Total Cost": 356091.94, "Plan Rows": 455880, "Plan Width": 50, "Output": ["customer.c_nationkey", "lineitem.l_extendedprice", "lineitem.l_discount", "lineitem.l_suppkey", "nation.n_name", "nation.n_nationkey"], "Plans": [{"Node Type": "Nested Loop", "Parent Relationship": "Outer", "Parallel Aware": false, "Join Type": "Inner", "Startup Cost": 2.97, "Total Cost": 123598.15, "Plan Rows": 114002, "Plan Width": 38, "Output": ["customer.c_nationkey", "orders.o_orderkey", "nation.n_name", "nation.n_nationkey"], "Plans": [{"Node Type": "Hash Join", "Parent Relationship": "Outer", "Parallel Aware": false, "Join Type": "Inner", "Startup Cost": 2.53, "Total Cost": 41735.78, "Plan Rows": 75000, "Plan Width": 38, "Output": ["customer.c_custkey", "customer.c_nationkey", "nation.n_name", "nation.n_nationkey"], "Hash Cond": "(customer.c_nationkey = nation.n_nationkey)", "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": true, "Relation Name": "customer", "Schema": "public", "Alias": "customer", "Startup Cost": 0.0, "Total Cost": 39577.0, "Plan Rows": 375000, "Plan Width": 8, "Output": ["customer.c_custkey", "customer.c_name", "customer.c_address", "customer.c_nationkey", "customer.c_phone", "customer.c_acctbal", "customer.c_mktsegment", "customer.c_comment"]}, {"Node Type": "Hash", "Parent Relationship": "Inner", "Parallel Aware": false, "Startup Cost": 2.47, "Total Cost": 2.47, "Plan Rows": 5, "Plan Width": 30, "Output": ["nation.n_name", "nation.n_nationkey"], "Plans": [{"Node Type": "Hash Join", "Parent Relationship": "Outer", "Parallel Aware": false, "Join Type": "Inner", "Startup Cost": 1.07, "Total Cost": 2.47, "Plan Rows": 5, "Plan Width": 30, "Output": ["nation.n_name", "nation.n_nationkey"], "Hash Cond": "(nation.n_regionkey = region.r_regionkey)", "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Relation Name": "nation", "Schema": "public", "Alias": "nation", "Startup Cost": 0.0, "Total Cost": 1.25, "Plan Rows": 25, "Plan Width": 34, "Output": ["nation.n_nationkey", "nation.n_name", "nation.n_regionkey", "nation.n_comment"]}, {"Node Type": "Hash", "Parent Relationship": "Inner", "Parallel Aware": false, "Startup Cost": 1.06, "Total Cost": 1.06, "Plan Rows": 1, "Plan Width": 4, "Output": ["region.r_regionkey"], "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Relation Name": "region", "Schema": "public", "Alias": "region", "Startup Cost": 0.0, "Total Cost": 1.06, "Plan Rows": 1, "Plan Width": 4, "Output": ["region.r_regionkey"], "Filter": "(region.r_name = 'AMERICA'::bpchar)"}]}]}]}]}, {"Node Type": "Index Scan", "Parent Relationship": "Inner", "Parallel Aware": false, "Scan Direction": "Forward", "Index Name": "o_ck", "Relation Name": "orders", "Schema": "public", "Alias": "orders", "Startup Cost": 0.43, "Total Cost": 1.06, "Plan Rows": 3, "Plan Width": 8, "Output": ["orders.o_orderkey", "orders.o_custkey", "orders.o_orderstatus", "orders.o_totalprice", "orders.o_orderdate", "orders.o_orderpriority", "orders.o_clerk", "orders.o_shippriority", "orders.o_comment"], "Index Cond": "(orders.o_custkey = customer.c_custkey)", "Filter": "((orders.o_orderdate >= '1995-01-01'::date) AND (orders.o_orderdate < '1996-01-01 00:00:00'::timestamp without time zone))"}]}, {"Node Type": "Index Scan", "Parent Relationship": "Inner", "Parallel Aware": false, "Scan Direction": "Forward", "Index Name": "l_ok", "Relation Name": "lineitem", "Schema": "public", "Alias": "lineitem", "Startup Cost": 0.56, "Total Cost": 1.73, "Plan Rows": 31, "Plan Width": 20, "Output": ["lineitem.l_orderkey", "lineitem.l_partkey", "lineitem.l_suppkey", "lineitem.l_linenumber", "lineitem.l_quantity", "lineitem.l_extendedprice", "lineitem.l_discount", "lineitem.l_tax", "lineitem.l_returnflag", "lineitem.l_linestatus", "lineitem.l_shipdate", "lineitem.l_commitdate", "lineitem.l_receiptdate", "lineitem.l_shipinstruct", "lineitem.l_shipmode", "lineitem.l_comment"], "Index Cond": "(lineitem.l_orderkey = orders.o_orderkey)"}]}, {"Node Type": "Hash", "Parent Relationship": "Inner", "Parallel Aware": false, "Startup Cost": 3216.0, "Total Cost": 3216.0, "Plan Rows": 100000, "Plan Width": 8, "Output": ["supplier.s_suppkey", "supplier.s_nationkey"], "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Relation Name": "supplier", "Schema": "public", "Alias": "supplier", "Startup Cost": 0.0, "Total Cost": 3216.0, "Plan Rows": 100000, "Plan Width": 8, "Output": ["supplier.s_suppkey", "supplier.s_nationkey"]}]}]}]}]}]}]}]}]}} diff --git a/dev9/pg9/tpch/sf_10/explain/15721/6-1.ok b/dev9/pg9/tpch/sf_10/explain/15721/6-1.ok new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/dev9/pg9/tpch/sf_10/explain/15721/6-1.res b/dev9/pg9/tpch/sf_10/explain/15721/6-1.res new file mode 100644 index 0000000000000000000000000000000000000000..ee3a31fd793c1d4a3a6dfec9e95986f2a3686d73 --- /dev/null +++ b/dev9/pg9/tpch/sf_10/explain/15721/6-1.res @@ -0,0 +1 @@ +{"Plan": {"Node Type": "Aggregate", "Strategy": "Plain", "Partial Mode": "Finalize", "Parallel Aware": false, "Startup Cost": 1319172.85, "Total Cost": 1319172.86, "Plan Rows": 1, "Plan Width": 32, "Output": ["sum((l_extendedprice * l_discount))"], "Plans": [{"Node Type": "Gather", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 1319172.11, "Total Cost": 1319172.82, "Plan Rows": 7, "Plan Width": 32, "Output": ["(PARTIAL sum((l_extendedprice * l_discount)))"], "Workers Planned": 7, "Single Copy": false, "Plans": [{"Node Type": "Aggregate", "Strategy": "Plain", "Partial Mode": "Partial", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 1318172.11, "Total Cost": 1318172.12, "Plan Rows": 1, "Plan Width": 32, "Output": ["PARTIAL sum((l_extendedprice * l_discount))"], "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": true, "Relation Name": "lineitem", "Schema": "public", "Alias": "lineitem", "Startup Cost": 0.0, "Total Cost": 1317353.59, "Plan Rows": 163703, "Plan Width": 12, "Output": ["l_extendedprice", "l_discount"], "Filter": "((lineitem.l_shipdate >= '1995-01-01'::date) AND (lineitem.l_shipdate < '1996-01-01 00:00:00'::timestamp without time zone) AND (lineitem.l_discount >= 0.04) AND (lineitem.l_discount <= 0.06) AND (lineitem.l_quantity < '24'::numeric))"}]}]}]}} diff --git a/dev9/pg9/tpch/sf_10/explain/15721/7-1.ok b/dev9/pg9/tpch/sf_10/explain/15721/7-1.ok new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/dev9/pg9/tpch/sf_10/explain/15721/7-1.res b/dev9/pg9/tpch/sf_10/explain/15721/7-1.res new file mode 100644 index 0000000000000000000000000000000000000000..d703d0fbca9a1851acf13688ceff5e5964436178 --- /dev/null +++ b/dev9/pg9/tpch/sf_10/explain/15721/7-1.res @@ -0,0 +1 @@ +{"Plan": {"Node Type": "Aggregate", "Strategy": "Sorted", "Partial Mode": "Finalize", "Parallel Aware": false, "Startup Cost": 378954.25, "Total Cost": 379282.24, "Plan Rows": 10092, "Plan Width": 92, "Output": ["n1.n_name", "n2.n_name", "(date_part('year'::text, (lineitem.l_shipdate)::timestamp without time zone))", "sum((lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount)))"], "Group Key": ["n1.n_name", "n2.n_name", "(date_part('year'::text, (lineitem.l_shipdate)::timestamp without time zone))"], "Plans": [{"Node Type": "Sort", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 378954.25, "Total Cost": 378979.48, "Plan Rows": 10092, "Plan Width": 92, "Output": ["n1.n_name", "n2.n_name", "(date_part('year'::text, (lineitem.l_shipdate)::timestamp without time zone))", "(PARTIAL sum((lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount))))"], "Sort Key": ["n1.n_name", "n2.n_name", "(date_part('year'::text, (lineitem.l_shipdate)::timestamp without time zone))"], "Plans": [{"Node Type": "Gather", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 376471.02, "Total Cost": 378283.09, "Plan Rows": 10092, "Plan Width": 92, "Output": ["n1.n_name", "n2.n_name", "(date_part('year'::text, (lineitem.l_shipdate)::timestamp without time zone))", "(PARTIAL sum((lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount))))"], "Workers Planned": 1, "Single Copy": false, "Plans": [{"Node Type": "Aggregate", "Strategy": "Sorted", "Partial Mode": "Partial", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 375471.02, "Total Cost": 376273.89, "Plan Rows": 10092, "Plan Width": 92, "Output": ["n1.n_name", "n2.n_name", "(date_part('year'::text, (lineitem.l_shipdate)::timestamp without time zone))", "PARTIAL sum((lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount)))"], "Group Key": ["n1.n_name", "n2.n_name", "(date_part('year'::text, (lineitem.l_shipdate)::timestamp without time zone))"], "Plans": [{"Node Type": "Sort", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 375471.02, "Total Cost": 375560.49, "Plan Rows": 35786, "Plan Width": 72, "Output": ["n1.n_name", "n2.n_name", "(date_part('year'::text, (lineitem.l_shipdate)::timestamp without time zone))", "lineitem.l_extendedprice", "lineitem.l_discount"], "Sort Key": ["n1.n_name", "n2.n_name", "(date_part('year'::text, (lineitem.l_shipdate)::timestamp without time zone))"], "Plans": [{"Node Type": "Hash Join", "Parent Relationship": "Outer", "Parallel Aware": false, "Join Type": "Inner", "Startup Cost": 202245.82, "Total Cost": 372764.33, "Plan Rows": 35786, "Plan Width": 72, "Output": ["n1.n_name", "n2.n_name", "date_part('year'::text, (lineitem.l_shipdate)::timestamp without time zone)", "lineitem.l_extendedprice", "lineitem.l_discount"], "Hash Cond": "(lineitem.l_orderkey = orders.o_orderkey)", "Join Filter": "(((n1.n_name = 'IRAN'::bpchar) AND (n2.n_name = 'ETHIOPIA'::bpchar)) OR ((n1.n_name = 'ETHIOPIA'::bpchar) AND (n2.n_name = 'IRAN'::bpchar)))", "Plans": [{"Node Type": "Nested Loop", "Parent Relationship": "Outer", "Parallel Aware": false, "Join Type": "Inner", "Startup Cost": 1.96, "Total Cost": 142420.95, "Plan Rows": 859924, "Plan Width": 46, "Output": ["lineitem.l_shipdate", "lineitem.l_extendedprice", "lineitem.l_discount", "lineitem.l_orderkey", "n1.n_name"], "Plans": [{"Node Type": "Hash Join", "Parent Relationship": "Outer", "Parallel Aware": false, "Join Type": "Inner", "Startup Cost": 1.4, "Total Cost": 3073.29, "Plan Rows": 4706, "Plan Width": 30, "Output": ["supplier.s_suppkey", "n1.n_name"], "Hash Cond": "(supplier.s_nationkey = n1.n_nationkey)", "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": true, "Relation Name": "supplier", "Schema": "public", "Alias": "supplier", "Startup Cost": 0.0, "Total Cost": 2804.24, "Plan Rows": 58824, "Plan Width": 8, "Output": ["supplier.s_suppkey", "supplier.s_name", "supplier.s_address", "supplier.s_nationkey", "supplier.s_phone", "supplier.s_acctbal", "supplier.s_comment"]}, {"Node Type": "Hash", "Parent Relationship": "Inner", "Parallel Aware": false, "Startup Cost": 1.38, "Total Cost": 1.38, "Plan Rows": 2, "Plan Width": 30, "Output": ["n1.n_name", "n1.n_nationkey"], "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Relation Name": "nation", "Schema": "public", "Alias": "n1", "Startup Cost": 0.0, "Total Cost": 1.38, "Plan Rows": 2, "Plan Width": 30, "Output": ["n1.n_name", "n1.n_nationkey"], "Filter": "((n1.n_name = 'IRAN'::bpchar) OR (n1.n_name = 'ETHIOPIA'::bpchar))"}]}]}, {"Node Type": "Index Scan", "Parent Relationship": "Inner", "Parallel Aware": false, "Scan Direction": "Forward", "Index Name": "l_sk", "Relation Name": "lineitem", "Schema": "public", "Alias": "lineitem", "Startup Cost": 0.56, "Total Cost": 27.78, "Plan Rows": 183, "Plan Width": 24, "Output": ["lineitem.l_orderkey", "lineitem.l_partkey", "lineitem.l_suppkey", "lineitem.l_linenumber", "lineitem.l_quantity", "lineitem.l_extendedprice", "lineitem.l_discount", "lineitem.l_tax", "lineitem.l_returnflag", "lineitem.l_linestatus", "lineitem.l_shipdate", "lineitem.l_commitdate", "lineitem.l_receiptdate", "lineitem.l_shipinstruct", "lineitem.l_shipmode", "lineitem.l_comment"], "Index Cond": "(lineitem.l_suppkey = supplier.s_suppkey)", "Filter": "((lineitem.l_shipdate >= '1995-01-01'::date) AND (lineitem.l_shipdate <= '1996-12-31'::date))"}]}, {"Node Type": "Hash", "Parent Relationship": "Inner", "Parallel Aware": false, "Startup Cost": 179039.16, "Total Cost": 179039.16, "Plan Rows": 1200056, "Plan Width": 30, "Output": ["orders.o_orderkey", "n2.n_name"], "Plans": [{"Node Type": "Nested Loop", "Parent Relationship": "Outer", "Parallel Aware": false, "Join Type": "Inner", "Startup Cost": 640.76, "Total Cost": 179039.16, "Plan Rows": 1200056, "Plan Width": 30, "Output": ["orders.o_orderkey", "n2.n_name"], "Plans": [{"Node Type": "Nested Loop", "Parent Relationship": "Outer", "Parallel Aware": false, "Join Type": "Inner", "Startup Cost": 640.33, "Total Cost": 40859.37, "Plan Rows": 120000, "Plan Width": 30, "Output": ["customer.c_custkey", "n2.n_name"], "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Relation Name": "nation", "Schema": "public", "Alias": "n2", "Startup Cost": 0.0, "Total Cost": 1.38, "Plan Rows": 2, "Plan Width": 30, "Output": ["n2.n_nationkey", "n2.n_name", "n2.n_regionkey", "n2.n_comment"], "Filter": "((n2.n_name = 'ETHIOPIA'::bpchar) OR (n2.n_name = 'IRAN'::bpchar))"}, {"Node Type": "Bitmap Heap Scan", "Parent Relationship": "Inner", "Parallel Aware": false, "Relation Name": "customer", "Schema": "public", "Alias": "customer", "Startup Cost": 640.33, "Total Cost": 19829.0, "Plan Rows": 60000, "Plan Width": 8, "Output": ["customer.c_custkey", "customer.c_name", "customer.c_address", "customer.c_nationkey", "customer.c_phone", "customer.c_acctbal", "customer.c_mktsegment", "customer.c_comment"], "Recheck Cond": "(customer.c_nationkey = n2.n_nationkey)", "Plans": [{"Node Type": "Bitmap Index Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Index Name": "c_nk", "Startup Cost": 0.0, "Total Cost": 625.33, "Plan Rows": 60000, "Plan Width": 0, "Index Cond": "(customer.c_nationkey = n2.n_nationkey)"}]}]}, {"Node Type": "Index Scan", "Parent Relationship": "Inner", "Parallel Aware": false, "Scan Direction": "Forward", "Index Name": "o_ck", "Relation Name": "orders", "Schema": "public", "Alias": "orders", "Startup Cost": 0.43, "Total Cost": 0.97, "Plan Rows": 18, "Plan Width": 8, "Output": ["orders.o_orderkey", "orders.o_custkey", "orders.o_orderstatus", "orders.o_totalprice", "orders.o_orderdate", "orders.o_orderpriority", "orders.o_clerk", "orders.o_shippriority", "orders.o_comment"], "Index Cond": "(orders.o_custkey = customer.c_custkey)"}]}]}]}]}]}]}]}]}} diff --git a/dev9/pg9/tpch/sf_10/explain/15721/8-1.ok b/dev9/pg9/tpch/sf_10/explain/15721/8-1.ok new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/dev9/pg9/tpch/sf_10/explain/15721/8-1.res b/dev9/pg9/tpch/sf_10/explain/15721/8-1.res new file mode 100644 index 0000000000000000000000000000000000000000..ca49ee8a9ea055992771988b78b5fbc37684b8c0 --- /dev/null +++ b/dev9/pg9/tpch/sf_10/explain/15721/8-1.res @@ -0,0 +1 @@ +{"Plan": {"Node Type": "Aggregate", "Strategy": "Sorted", "Partial Mode": "Finalize", "Parallel Aware": false, "Startup Cost": 220429.99, "Total Cost": 220628.48, "Plan Rows": 2406, "Plan Width": 40, "Output": ["(date_part('year'::text, (orders.o_orderdate)::timestamp without time zone))", "(sum(CASE WHEN (n2.n_name = 'ETHIOPIA'::bpchar) THEN (lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount)) ELSE '0'::numeric END) / sum((lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount))))"], "Group Key": ["(date_part('year'::text, (orders.o_orderdate)::timestamp without time zone))"], "Plans": [{"Node Type": "Sort", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 220429.99, "Total Cost": 220454.05, "Plan Rows": 9624, "Plan Width": 72, "Output": ["(date_part('year'::text, (orders.o_orderdate)::timestamp without time zone))", "(PARTIAL sum(CASE WHEN (n2.n_name = 'ETHIOPIA'::bpchar) THEN (lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount)) ELSE '0'::numeric END))", "(PARTIAL sum((lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount))))"], "Sort Key": ["(date_part('year'::text, (orders.o_orderdate)::timestamp without time zone))"], "Plans": [{"Node Type": "Gather", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 218644.28, "Total Cost": 219793.25, "Plan Rows": 9624, "Plan Width": 72, "Output": ["(date_part('year'::text, (orders.o_orderdate)::timestamp without time zone))", "(PARTIAL sum(CASE WHEN (n2.n_name = 'ETHIOPIA'::bpchar) THEN (lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount)) ELSE '0'::numeric END))", "(PARTIAL sum((lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount))))"], "Workers Planned": 4, "Single Copy": false, "Plans": [{"Node Type": "Aggregate", "Strategy": "Sorted", "Partial Mode": "Partial", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 217644.28, "Total Cost": 217830.85, "Plan Rows": 2406, "Plan Width": 72, "Output": ["(date_part('year'::text, (orders.o_orderdate)::timestamp without time zone))", "PARTIAL sum(CASE WHEN (n2.n_name = 'ETHIOPIA'::bpchar) THEN (lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount)) ELSE '0'::numeric END)", "PARTIAL sum((lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount)))"], "Group Key": ["(date_part('year'::text, (orders.o_orderdate)::timestamp without time zone))"], "Plans": [{"Node Type": "Sort", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 217644.28, "Total Cost": 217659.67, "Plan Rows": 6153, "Plan Width": 46, "Output": ["(date_part('year'::text, (orders.o_orderdate)::timestamp without time zone))", "n2.n_name", "lineitem.l_extendedprice", "lineitem.l_discount"], "Sort Key": ["(date_part('year'::text, (orders.o_orderdate)::timestamp without time zone))"], "Plans": [{"Node Type": "Hash Join", "Parent Relationship": "Outer", "Parallel Aware": false, "Join Type": "Inner", "Startup Cost": 5.81, "Total Cost": 217257.04, "Plan Rows": 6153, "Plan Width": 46, "Output": ["date_part('year'::text, (orders.o_orderdate)::timestamp without time zone)", "n2.n_name", "lineitem.l_extendedprice", "lineitem.l_discount"], "Hash Cond": "(supplier.s_nationkey = n2.n_nationkey)", "Plans": [{"Node Type": "Nested Loop", "Parent Relationship": "Outer", "Parallel Aware": false, "Join Type": "Inner", "Startup Cost": 4.25, "Total Cost": 217140.11, "Plan Rows": 6153, "Plan Width": 20, "Output": ["lineitem.l_extendedprice", "lineitem.l_discount", "supplier.s_nationkey", "orders.o_orderdate"], "Plans": [{"Node Type": "Hash Join", "Parent Relationship": "Outer", "Parallel Aware": false, "Join Type": "Inner", "Startup Cost": 3.96, "Total Cost": 215169.27, "Plan Rows": 6158, "Plan Width": 20, "Output": ["lineitem.l_extendedprice", "lineitem.l_discount", "lineitem.l_suppkey", "orders.o_orderdate"], "Hash Cond": "(customer.c_nationkey = n1.n_nationkey)", "Plans": [{"Node Type": "Nested Loop", "Parent Relationship": "Outer", "Parallel Aware": false, "Join Type": "Inner", "Startup Cost": 1.43, "Total Cost": 214989.69, "Plan Rows": 30792, "Plan Width": 24, "Output": ["lineitem.l_extendedprice", "lineitem.l_discount", "lineitem.l_suppkey", "orders.o_orderdate", "customer.c_nationkey"], "Plans": [{"Node Type": "Nested Loop", "Parent Relationship": "Outer", "Parallel Aware": false, "Join Type": "Inner", "Startup Cost": 1.0, "Total Cost": 200682.39, "Plan Rows": 30792, "Plan Width": 24, "Output": ["lineitem.l_extendedprice", "lineitem.l_discount", "lineitem.l_suppkey", "orders.o_orderdate", "orders.o_custkey"], "Plans": [{"Node Type": "Nested Loop", "Parent Relationship": "Outer", "Parallel Aware": false, "Join Type": "Inner", "Startup Cost": 0.56, "Total Cost": 152727.61, "Plan Rows": 101376, "Plan Width": 20, "Output": ["lineitem.l_extendedprice", "lineitem.l_discount", "lineitem.l_suppkey", "lineitem.l_orderkey"], "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": true, "Relation Name": "part", "Schema": "public", "Alias": "part", "Startup Cost": 0.0, "Total Cost": 47212.0, "Plan Rows": 3380, "Plan Width": 4, "Output": ["part.p_partkey", "part.p_name", "part.p_mfgr", "part.p_brand", "part.p_type", "part.p_size", "part.p_container", "part.p_retailprice", "part.p_comment"], "Filter": "((part.p_type)::text = 'SMALL BRUSHED NICKEL'::text)"}, {"Node Type": "Index Scan", "Parent Relationship": "Inner", "Parallel Aware": false, "Scan Direction": "Forward", "Index Name": "l_pk", "Relation Name": "lineitem", "Schema": "public", "Alias": "lineitem", "Startup Cost": 0.56, "Total Cost": 30.91, "Plan Rows": 31, "Plan Width": 24, "Output": ["lineitem.l_orderkey", "lineitem.l_partkey", "lineitem.l_suppkey", "lineitem.l_linenumber", "lineitem.l_quantity", "lineitem.l_extendedprice", "lineitem.l_discount", "lineitem.l_tax", "lineitem.l_returnflag", "lineitem.l_linestatus", "lineitem.l_shipdate", "lineitem.l_commitdate", "lineitem.l_receiptdate", "lineitem.l_shipinstruct", "lineitem.l_shipmode", "lineitem.l_comment"], "Index Cond": "(lineitem.l_partkey = part.p_partkey)"}]}, {"Node Type": "Index Scan", "Parent Relationship": "Inner", "Parallel Aware": false, "Scan Direction": "Forward", "Index Name": "o_ok", "Relation Name": "orders", "Schema": "public", "Alias": "orders", "Startup Cost": 0.43, "Total Cost": 0.46, "Plan Rows": 1, "Plan Width": 12, "Output": ["orders.o_orderkey", "orders.o_custkey", "orders.o_orderstatus", "orders.o_totalprice", "orders.o_orderdate", "orders.o_orderpriority", "orders.o_clerk", "orders.o_shippriority", "orders.o_comment"], "Index Cond": "(orders.o_orderkey = lineitem.l_orderkey)", "Filter": "((orders.o_orderdate >= '1995-01-01'::date) AND (orders.o_orderdate <= '1996-12-31'::date))"}]}, {"Node Type": "Index Scan", "Parent Relationship": "Inner", "Parallel Aware": false, "Scan Direction": "Forward", "Index Name": "c_ck", "Relation Name": "customer", "Schema": "public", "Alias": "customer", "Startup Cost": 0.43, "Total Cost": 0.45, "Plan Rows": 1, "Plan Width": 8, "Output": ["customer.c_custkey", "customer.c_name", "customer.c_address", "customer.c_nationkey", "customer.c_phone", "customer.c_acctbal", "customer.c_mktsegment", "customer.c_comment"], "Index Cond": "(customer.c_custkey = orders.o_custkey)"}]}, {"Node Type": "Hash", "Parent Relationship": "Inner", "Parallel Aware": false, "Startup Cost": 2.47, "Total Cost": 2.47, "Plan Rows": 5, "Plan Width": 4, "Output": ["n1.n_nationkey"], "Plans": [{"Node Type": "Hash Join", "Parent Relationship": "Outer", "Parallel Aware": false, "Join Type": "Inner", "Startup Cost": 1.07, "Total Cost": 2.47, "Plan Rows": 5, "Plan Width": 4, "Output": ["n1.n_nationkey"], "Hash Cond": "(n1.n_regionkey = region.r_regionkey)", "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Relation Name": "nation", "Schema": "public", "Alias": "n1", "Startup Cost": 0.0, "Total Cost": 1.25, "Plan Rows": 25, "Plan Width": 8, "Output": ["n1.n_nationkey", "n1.n_name", "n1.n_regionkey", "n1.n_comment"]}, {"Node Type": "Hash", "Parent Relationship": "Inner", "Parallel Aware": false, "Startup Cost": 1.06, "Total Cost": 1.06, "Plan Rows": 1, "Plan Width": 4, "Output": ["region.r_regionkey"], "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Relation Name": "region", "Schema": "public", "Alias": "region", "Startup Cost": 0.0, "Total Cost": 1.06, "Plan Rows": 1, "Plan Width": 4, "Output": ["region.r_regionkey"], "Filter": "(region.r_name = 'AFRICA'::bpchar)"}]}]}]}]}, {"Node Type": "Index Scan", "Parent Relationship": "Inner", "Parallel Aware": false, "Scan Direction": "Forward", "Index Name": "s_sk", "Relation Name": "supplier", "Schema": "public", "Alias": "supplier", "Startup Cost": 0.29, "Total Cost": 0.31, "Plan Rows": 1, "Plan Width": 8, "Output": ["supplier.s_suppkey", "supplier.s_name", "supplier.s_address", "supplier.s_nationkey", "supplier.s_phone", "supplier.s_acctbal", "supplier.s_comment"], "Index Cond": "(supplier.s_suppkey = lineitem.l_suppkey)"}]}, {"Node Type": "Hash", "Parent Relationship": "Inner", "Parallel Aware": false, "Startup Cost": 1.25, "Total Cost": 1.25, "Plan Rows": 25, "Plan Width": 30, "Output": ["n2.n_name", "n2.n_nationkey"], "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Relation Name": "nation", "Schema": "public", "Alias": "n2", "Startup Cost": 0.0, "Total Cost": 1.25, "Plan Rows": 25, "Plan Width": 30, "Output": ["n2.n_name", "n2.n_nationkey"]}]}]}]}]}]}]}]}} diff --git a/dev9/pg9/tpch/sf_10/explain/15721/9-1.ok b/dev9/pg9/tpch/sf_10/explain/15721/9-1.ok new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/dev9/pg9/tpch/sf_10/explain/15721/9-1.res b/dev9/pg9/tpch/sf_10/explain/15721/9-1.res new file mode 100644 index 0000000000000000000000000000000000000000..c1891e7c589a39f9d6426c799945f73d4b09d040 --- /dev/null +++ b/dev9/pg9/tpch/sf_10/explain/15721/9-1.res @@ -0,0 +1 @@ +{"Plan": {"Node Type": "Sort", "Parallel Aware": false, "Startup Cost": 537342.64, "Total Cost": 537493.01, "Plan Rows": 60150, "Plan Width": 66, "Output": ["nation.n_name", "(date_part('year'::text, (orders.o_orderdate)::timestamp without time zone))", "(sum(((lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount)) - (partsupp.ps_supplycost * lineitem.l_quantity))))"], "Sort Key": ["nation.n_name", "(date_part('year'::text, (orders.o_orderdate)::timestamp without time zone)) DESC"], "Plans": [{"Node Type": "Aggregate", "Strategy": "Hashed", "Partial Mode": "Finalize", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 531515.22, "Total Cost": 532567.85, "Plan Rows": 60150, "Plan Width": 66, "Output": ["nation.n_name", "(date_part('year'::text, (orders.o_orderdate)::timestamp without time zone))", "sum(((lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount)) - (partsupp.ps_supplycost * lineitem.l_quantity)))"], "Group Key": ["nation.n_name", "(date_part('year'::text, (orders.o_orderdate)::timestamp without time zone))"], "Plans": [{"Node Type": "Gather", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 503996.6, "Total Cost": 529109.22, "Plan Rows": 240600, "Plan Width": 66, "Output": ["nation.n_name", "(date_part('year'::text, (orders.o_orderdate)::timestamp without time zone))", "(PARTIAL sum(((lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount)) - (partsupp.ps_supplycost * lineitem.l_quantity))))"], "Workers Planned": 4, "Single Copy": false, "Plans": [{"Node Type": "Aggregate", "Strategy": "Hashed", "Partial Mode": "Partial", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 502996.6, "Total Cost": 504049.22, "Plan Rows": 60150, "Plan Width": 66, "Output": ["nation.n_name", "(date_part('year'::text, (orders.o_orderdate)::timestamp without time zone))", "PARTIAL sum(((lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount)) - (partsupp.ps_supplycost * lineitem.l_quantity)))"], "Group Key": ["nation.n_name", "date_part('year'::text, (orders.o_orderdate)::timestamp without time zone)"], "Plans": [{"Node Type": "Nested Loop", "Parent Relationship": "Outer", "Parallel Aware": false, "Join Type": "Inner", "Startup Cost": 4468.99, "Total Cost": 490910.59, "Plan Rows": 690629, "Plan Width": 57, "Output": ["nation.n_name", "date_part('year'::text, (orders.o_orderdate)::timestamp without time zone)", "lineitem.l_extendedprice", "lineitem.l_discount", "partsupp.ps_supplycost", "lineitem.l_quantity"], "Plans": [{"Node Type": "Nested Loop", "Parent Relationship": "Outer", "Parallel Aware": false, "Join Type": "Inner", "Startup Cost": 4468.56, "Total Cost": 164216.3, "Plan Rows": 690629, "Plan Width": 53, "Output": ["lineitem.l_extendedprice", "lineitem.l_discount", "lineitem.l_quantity", "lineitem.l_orderkey", "partsupp.ps_supplycost", "nation.n_name"], "Join Filter": "(supplier.s_suppkey = lineitem.l_suppkey)", "Plans": [{"Node Type": "Hash Join", "Parent Relationship": "Outer", "Parallel Aware": false, "Join Type": "Inner", "Startup Cost": 4467.99, "Total Cost": 92798.97, "Plan Rows": 92182, "Plan Width": 48, "Output": ["part.p_partkey", "partsupp.ps_supplycost", "partsupp.ps_suppkey", "partsupp.ps_partkey", "supplier.s_suppkey", "nation.n_name"], "Hash Cond": "(supplier.s_nationkey = nation.n_nationkey)", "Plans": [{"Node Type": "Hash Join", "Parent Relationship": "Outer", "Parallel Aware": false, "Join Type": "Inner", "Startup Cost": 4466.43, "Total Cost": 91529.91, "Plan Rows": 92182, "Plan Width": 26, "Output": ["part.p_partkey", "partsupp.ps_supplycost", "partsupp.ps_suppkey", "partsupp.ps_partkey", "supplier.s_suppkey", "supplier.s_nationkey"], "Hash Cond": "(partsupp.ps_suppkey = supplier.s_suppkey)", "Plans": [{"Node Type": "Nested Loop", "Parent Relationship": "Outer", "Parallel Aware": false, "Join Type": "Inner", "Startup Cost": 0.43, "Total Cost": 85798.22, "Plan Rows": 92182, "Plan Width": 18, "Output": ["part.p_partkey", "partsupp.ps_supplycost", "partsupp.ps_suppkey", "partsupp.ps_partkey"], "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": true, "Relation Name": "part", "Schema": "public", "Alias": "part", "Startup Cost": 0.0, "Total Cost": 47212.0, "Plan Rows": 23046, "Plan Width": 4, "Output": ["part.p_partkey", "part.p_name", "part.p_mfgr", "part.p_brand", "part.p_type", "part.p_size", "part.p_container", "part.p_retailprice", "part.p_comment"], "Filter": "((part.p_name)::text ~~ '%forest%'::text)"}, {"Node Type": "Index Scan", "Parent Relationship": "Inner", "Parallel Aware": false, "Scan Direction": "Forward", "Index Name": "ps_pk", "Relation Name": "partsupp", "Schema": "public", "Alias": "partsupp", "Startup Cost": 0.43, "Total Cost": 1.63, "Plan Rows": 4, "Plan Width": 14, "Output": ["partsupp.ps_partkey", "partsupp.ps_suppkey", "partsupp.ps_availqty", "partsupp.ps_supplycost", "partsupp.ps_comment"], "Index Cond": "(partsupp.ps_partkey = part.p_partkey)"}]}, {"Node Type": "Hash", "Parent Relationship": "Inner", "Parallel Aware": false, "Startup Cost": 3216.0, "Total Cost": 3216.0, "Plan Rows": 100000, "Plan Width": 8, "Output": ["supplier.s_suppkey", "supplier.s_nationkey"], "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Relation Name": "supplier", "Schema": "public", "Alias": "supplier", "Startup Cost": 0.0, "Total Cost": 3216.0, "Plan Rows": 100000, "Plan Width": 8, "Output": ["supplier.s_suppkey", "supplier.s_nationkey"]}]}]}, {"Node Type": "Hash", "Parent Relationship": "Inner", "Parallel Aware": false, "Startup Cost": 1.25, "Total Cost": 1.25, "Plan Rows": 25, "Plan Width": 30, "Output": ["nation.n_name", "nation.n_nationkey"], "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Relation Name": "nation", "Schema": "public", "Alias": "nation", "Startup Cost": 0.0, "Total Cost": 1.25, "Plan Rows": 25, "Plan Width": 30, "Output": ["nation.n_name", "nation.n_nationkey"]}]}]}, {"Node Type": "Index Scan", "Parent Relationship": "Inner", "Parallel Aware": false, "Scan Direction": "Forward", "Index Name": "l_sk_pk", "Relation Name": "lineitem", "Schema": "public", "Alias": "lineitem", "Startup Cost": 0.56, "Total Cost": 0.76, "Plan Rows": 1, "Plan Width": 29, "Output": ["lineitem.l_orderkey", "lineitem.l_partkey", "lineitem.l_suppkey", "lineitem.l_linenumber", "lineitem.l_quantity", "lineitem.l_extendedprice", "lineitem.l_discount", "lineitem.l_tax", "lineitem.l_returnflag", "lineitem.l_linestatus", "lineitem.l_shipdate", "lineitem.l_commitdate", "lineitem.l_receiptdate", "lineitem.l_shipinstruct", "lineitem.l_shipmode", "lineitem.l_comment"], "Index Cond": "((lineitem.l_suppkey = partsupp.ps_suppkey) AND (lineitem.l_partkey = partsupp.ps_partkey))"}]}, {"Node Type": "Index Scan", "Parent Relationship": "Inner", "Parallel Aware": false, "Scan Direction": "Forward", "Index Name": "o_ok", "Relation Name": "orders", "Schema": "public", "Alias": "orders", "Startup Cost": 0.43, "Total Cost": 0.46, "Plan Rows": 1, "Plan Width": 8, "Output": ["orders.o_orderkey", "orders.o_custkey", "orders.o_orderstatus", "orders.o_totalprice", "orders.o_orderdate", "orders.o_orderpriority", "orders.o_clerk", "orders.o_shippriority", "orders.o_comment"], "Index Cond": "(orders.o_orderkey = lineitem.l_orderkey)"}]}]}]}]}]}} diff --git a/dev9/pg9/tpch/sf_10/explain_analyze/15721/1-1.ok b/dev9/pg9/tpch/sf_10/explain_analyze/15721/1-1.ok new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/dev9/pg9/tpch/sf_10/explain_analyze/15721/1-1.res b/dev9/pg9/tpch/sf_10/explain_analyze/15721/1-1.res new file mode 100644 index 0000000000000000000000000000000000000000..c73195664e0e6fc57e864dac58ac6cca9f6022ed --- /dev/null +++ b/dev9/pg9/tpch/sf_10/explain_analyze/15721/1-1.res @@ -0,0 +1 @@ +{"Plan": {"Node Type": "Aggregate", "Strategy": "Sorted", "Partial Mode": "Finalize", "Parallel Aware": false, "Startup Cost": 1567507.97, "Total Cost": 1567510.03, "Plan Rows": 6, "Plan Width": 236, "Actual Startup Time": 17356.664, "Actual Total Time": 17356.743, "Actual Rows": 4, "Actual Loops": 1, "Output": ["l_returnflag", "l_linestatus", "sum(l_quantity)", "sum(l_extendedprice)", "sum((l_extendedprice * ('1'::numeric - l_discount)))", "sum(((l_extendedprice * ('1'::numeric - l_discount)) * ('1'::numeric + l_tax)))", "avg(l_quantity)", "avg(l_extendedprice)", "avg(l_discount)", "count(*)"], "Group Key": ["lineitem.l_returnflag", "lineitem.l_linestatus"], "Plans": [{"Node Type": "Sort", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 1567507.97, "Total Cost": 1567508.08, "Plan Rows": 42, "Plan Width": 236, "Actual Startup Time": 17356.619, "Actual Total Time": 17356.625, "Actual Rows": 32, "Actual Loops": 1, "Output": ["l_returnflag", "l_linestatus", "(PARTIAL sum(l_quantity))", "(PARTIAL sum(l_extendedprice))", "(PARTIAL sum((l_extendedprice * ('1'::numeric - l_discount))))", "(PARTIAL sum(((l_extendedprice * ('1'::numeric - l_discount)) * ('1'::numeric + l_tax))))", "(PARTIAL avg(l_quantity))", "(PARTIAL avg(l_extendedprice))", "(PARTIAL avg(l_discount))", "(PARTIAL count(*))"], "Sort Key": ["lineitem.l_returnflag", "lineitem.l_linestatus"], "Sort Method": "quicksort", "Sort Space Used": 41, "Sort Space Type": "Memory", "Plans": [{"Node Type": "Gather", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 1567502.47, "Total Cost": 1567506.84, "Plan Rows": 42, "Plan Width": 236, "Actual Startup Time": 17356.301, "Actual Total Time": 19880.941, "Actual Rows": 32, "Actual Loops": 1, "Output": ["l_returnflag", "l_linestatus", "(PARTIAL sum(l_quantity))", "(PARTIAL sum(l_extendedprice))", "(PARTIAL sum((l_extendedprice * ('1'::numeric - l_discount))))", "(PARTIAL sum(((l_extendedprice * ('1'::numeric - l_discount)) * ('1'::numeric + l_tax))))", "(PARTIAL avg(l_quantity))", "(PARTIAL avg(l_extendedprice))", "(PARTIAL avg(l_discount))", "(PARTIAL count(*))"], "Workers Planned": 7, "Workers Launched": 7, "Single Copy": false, "Plans": [{"Node Type": "Aggregate", "Strategy": "Hashed", "Partial Mode": "Partial", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 1566502.47, "Total Cost": 1566502.64, "Plan Rows": 6, "Plan Width": 236, "Actual Startup Time": 17351.501, "Actual Total Time": 17351.51, "Actual Rows": 4, "Actual Loops": 8, "Output": ["l_returnflag", "l_linestatus", "PARTIAL sum(l_quantity)", "PARTIAL sum(l_extendedprice)", "PARTIAL sum((l_extendedprice * ('1'::numeric - l_discount)))", "PARTIAL sum(((l_extendedprice * ('1'::numeric - l_discount)) * ('1'::numeric + l_tax)))", "PARTIAL avg(l_quantity)", "PARTIAL avg(l_extendedprice)", "PARTIAL avg(l_discount)", "PARTIAL count(*)"], "Group Key": ["lineitem.l_returnflag", "lineitem.l_linestatus"], "Workers": [{"Worker Number": 0, "Actual Startup Time": 17350.9, "Actual Total Time": 17350.908, "Actual Rows": 4, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 17350.912, "Actual Total Time": 17350.92, "Actual Rows": 4, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 17350.751, "Actual Total Time": 17350.759, "Actual Rows": 4, "Actual Loops": 1}, {"Worker Number": 3, "Actual Startup Time": 17350.846, "Actual Total Time": 17350.857, "Actual Rows": 4, "Actual Loops": 1}, {"Worker Number": 4, "Actual Startup Time": 17350.923, "Actual Total Time": 17350.934, "Actual Rows": 4, "Actual Loops": 1}, {"Worker Number": 5, "Actual Startup Time": 17350.957, "Actual Total Time": 17350.965, "Actual Rows": 4, "Actual Loops": 1}, {"Worker Number": 6, "Actual Startup Time": 17350.891, "Actual Total Time": 17350.9, "Actual Rows": 4, "Actual Loops": 1}], "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": true, "Relation Name": "lineitem", "Schema": "public", "Alias": "lineitem", "Startup Cost": 0.0, "Total Cost": 1231657.31, "Plan Rows": 8371129, "Plan Width": 25, "Actual Startup Time": 0.025, "Actual Total Time": 2663.246, "Actual Rows": 7323456, "Actual Loops": 8, "Output": ["l_returnflag", "l_linestatus", "l_quantity", "l_extendedprice", "l_discount", "l_tax"], "Filter": "(lineitem.l_shipdate <= '1998-08-07 23:59:57'::timestamp without time zone)", "Rows Removed by Filter": 174801, "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.032, "Actual Total Time": 2690.408, "Actual Rows": 7290342, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 0.024, "Actual Total Time": 2686.327, "Actual Rows": 7273457, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 0.025, "Actual Total Time": 2704.814, "Actual Rows": 7315248, "Actual Loops": 1}, {"Worker Number": 3, "Actual Startup Time": 0.026, "Actual Total Time": 2689.564, "Actual Rows": 7297348, "Actual Loops": 1}, {"Worker Number": 4, "Actual Startup Time": 0.029, "Actual Total Time": 2702.779, "Actual Rows": 7319248, "Actual Loops": 1}, {"Worker Number": 5, "Actual Startup Time": 0.023, "Actual Total Time": 2777.823, "Actual Rows": 7268900, "Actual Loops": 1}, {"Worker Number": 6, "Actual Startup Time": 0.028, "Actual Total Time": 2791.253, "Actual Rows": 7253841, "Actual Loops": 1}]}]}]}]}]}, "Planning Time": 0.56, "Triggers": [], "Execution Time": 19881.285} diff --git a/dev9/pg9/tpch/sf_10/explain_analyze/15721/10-1.ok b/dev9/pg9/tpch/sf_10/explain_analyze/15721/10-1.ok new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/dev9/pg9/tpch/sf_10/explain_analyze/15721/10-1.res b/dev9/pg9/tpch/sf_10/explain_analyze/15721/10-1.res new file mode 100644 index 0000000000000000000000000000000000000000..ca6810ced41a9750cd6227fa97dfcf9abb3d61f1 --- /dev/null +++ b/dev9/pg9/tpch/sf_10/explain_analyze/15721/10-1.res @@ -0,0 +1 @@ +{"Plan": {"Node Type": "Limit", "Parallel Aware": false, "Startup Cost": 738448.06, "Total Cost": 738448.11, "Plan Rows": 20, "Plan Width": 201, "Actual Startup Time": 4181.788, "Actual Total Time": 4181.791, "Actual Rows": 20, "Actual Loops": 1, "Output": ["customer.c_custkey", "customer.c_name", "(sum((lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount))))", "customer.c_acctbal", "nation.n_name", "customer.c_address", "customer.c_phone", "customer.c_comment"], "Plans": [{"Node Type": "Sort", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 738448.06, "Total Cost": 739808.73, "Plan Rows": 544270, "Plan Width": 201, "Actual Startup Time": 4181.787, "Actual Total Time": 4181.789, "Actual Rows": 20, "Actual Loops": 1, "Output": ["customer.c_custkey", "customer.c_name", "(sum((lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount))))", "customer.c_acctbal", "nation.n_name", "customer.c_address", "customer.c_phone", "customer.c_comment"], "Sort Key": ["(sum((lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount)))) DESC"], "Sort Method": "top-N heapsort", "Sort Space Used": 30, "Sort Space Type": "Memory", "Plans": [{"Node Type": "Aggregate", "Strategy": "Sorted", "Partial Mode": "Simple", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 708997.81, "Total Cost": 723965.23, "Plan Rows": 544270, "Plan Width": 201, "Actual Startup Time": 2738.678, "Actual Total Time": 4045.2, "Actual Rows": 372741, "Actual Loops": 1, "Output": ["customer.c_custkey", "customer.c_name", "sum((lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount)))", "customer.c_acctbal", "nation.n_name", "customer.c_address", "customer.c_phone", "customer.c_comment"], "Group Key": ["customer.c_custkey", "nation.n_name"], "Plans": [{"Node Type": "Sort", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 708997.81, "Total Cost": 710358.48, "Plan Rows": 544270, "Plan Width": 181, "Actual Startup Time": 2738.659, "Actual Total Time": 3151.116, "Actual Rows": 1112878, "Actual Loops": 1, "Output": ["customer.c_custkey", "nation.n_name", "customer.c_name", "lineitem.l_extendedprice", "lineitem.l_discount", "customer.c_acctbal", "customer.c_address", "customer.c_phone", "customer.c_comment"], "Sort Key": ["customer.c_custkey", "nation.n_name"], "Sort Method": "external merge", "Sort Space Used": 211936, "Sort Space Type": "Disk", "Plans": [{"Node Type": "Gather", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 1002.55, "Total Cost": 628814.3, "Plan Rows": 544270, "Plan Width": 181, "Actual Startup Time": 0.647, "Actual Total Time": 1709.208, "Actual Rows": 1112878, "Actual Loops": 1, "Output": ["customer.c_custkey", "nation.n_name", "customer.c_name", "lineitem.l_extendedprice", "lineitem.l_discount", "customer.c_acctbal", "customer.c_address", "customer.c_phone", "customer.c_comment"], "Workers Planned": 6, "Workers Launched": 6, "Single Copy": false, "Plans": [{"Node Type": "Hash Join", "Parent Relationship": "Outer", "Parallel Aware": false, "Join Type": "Inner", "Startup Cost": 2.55, "Total Cost": 573387.3, "Plan Rows": 90712, "Plan Width": 181, "Actual Startup Time": 0.334, "Actual Total Time": 1922.116, "Actual Rows": 158983, "Actual Loops": 7, "Output": ["customer.c_custkey", "nation.n_name", "customer.c_name", "lineitem.l_extendedprice", "lineitem.l_discount", "customer.c_acctbal", "customer.c_address", "customer.c_phone", "customer.c_comment"], "Hash Cond": "(customer.c_nationkey = nation.n_nationkey)", "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.375, "Actual Total Time": 2082.064, "Actual Rows": 172102, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 0.347, "Actual Total Time": 2080.685, "Actual Rows": 172736, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 0.391, "Actual Total Time": 2078.815, "Actual Rows": 172404, "Actual Loops": 1}, {"Worker Number": 3, "Actual Startup Time": 0.389, "Actual Total Time": 2080.264, "Actual Rows": 173526, "Actual Loops": 1}, {"Worker Number": 4, "Actual Startup Time": 0.392, "Actual Total Time": 2075.478, "Actual Rows": 170861, "Actual Loops": 1}, {"Worker Number": 5, "Actual Startup Time": 0.374, "Actual Total Time": 2084.262, "Actual Rows": 171215, "Actual Loops": 1}], "Plans": [{"Node Type": "Nested Loop", "Parent Relationship": "Outer", "Parallel Aware": false, "Join Type": "Inner", "Startup Cost": 0.99, "Total Cost": 572138.45, "Plan Rows": 90712, "Plan Width": 159, "Actual Startup Time": 0.182, "Actual Total Time": 1872.319, "Actual Rows": 158983, "Actual Loops": 7, "Output": ["customer.c_custkey", "customer.c_name", "customer.c_acctbal", "customer.c_address", "customer.c_phone", "customer.c_comment", "customer.c_nationkey", "lineitem.l_extendedprice", "lineitem.l_discount"], "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.205, "Actual Total Time": 2028.492, "Actual Rows": 172102, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 0.178, "Actual Total Time": 2027.003, "Actual Rows": 172736, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 0.22, "Actual Total Time": 2024.548, "Actual Rows": 172404, "Actual Loops": 1}, {"Worker Number": 3, "Actual Startup Time": 0.213, "Actual Total Time": 2025.927, "Actual Rows": 173526, "Actual Loops": 1}, {"Worker Number": 4, "Actual Startup Time": 0.219, "Actual Total Time": 2022.369, "Actual Rows": 170861, "Actual Loops": 1}, {"Worker Number": 5, "Actual Startup Time": 0.197, "Actual Total Time": 2031.096, "Actual Rows": 171215, "Actual Loops": 1}], "Plans": [{"Node Type": "Nested Loop", "Parent Relationship": "Outer", "Parallel Aware": false, "Join Type": "Inner", "Startup Cost": 0.56, "Total Cost": 523652.58, "Plan Rows": 90712, "Plan Width": 16, "Actual Startup Time": 0.115, "Actual Total Time": 1282.58, "Actual Rows": 158983, "Actual Loops": 7, "Output": ["orders.o_custkey", "lineitem.l_extendedprice", "lineitem.l_discount"], "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.122, "Actual Total Time": 1399.946, "Actual Rows": 172102, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 0.108, "Actual Total Time": 1398.065, "Actual Rows": 172736, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 0.151, "Actual Total Time": 1399.196, "Actual Rows": 172404, "Actual Loops": 1}, {"Worker Number": 3, "Actual Startup Time": 0.134, "Actual Total Time": 1396.648, "Actual Rows": 173526, "Actual Loops": 1}, {"Worker Number": 4, "Actual Startup Time": 0.136, "Actual Total Time": 1395.102, "Actual Rows": 170861, "Actual Loops": 1}, {"Worker Number": 5, "Actual Startup Time": 0.123, "Actual Total Time": 1403.545, "Actual Rows": 171215, "Actual Loops": 1}], "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": true, "Relation Name": "orders", "Schema": "public", "Alias": "orders", "Startup Cost": 0.0, "Total Cost": 298410.88, "Plan Rows": 92108, "Plan Width": 8, "Actual Startup Time": 0.03, "Actual Total Time": 549.604, "Actual Rows": 79303, "Actual Loops": 7, "Output": ["orders.o_orderkey", "orders.o_custkey", "orders.o_orderstatus", "orders.o_totalprice", "orders.o_orderdate", "orders.o_orderpriority", "orders.o_clerk", "orders.o_shippriority", "orders.o_comment"], "Filter": "((orders.o_orderdate >= '1993-02-01'::date) AND (orders.o_orderdate < '1993-05-01 00:00:00'::timestamp without time zone))", "Rows Removed by Filter": 2063555, "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.033, "Actual Total Time": 597.578, "Actual Rows": 85836, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 0.024, "Actual Total Time": 596.208, "Actual Rows": 85953, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 0.03, "Actual Total Time": 598.894, "Actual Rows": 86037, "Actual Loops": 1}, {"Worker Number": 3, "Actual Startup Time": 0.032, "Actual Total Time": 596.772, "Actual Rows": 86159, "Actual Loops": 1}, {"Worker Number": 4, "Actual Startup Time": 0.033, "Actual Total Time": 596.449, "Actual Rows": 85374, "Actual Loops": 1}, {"Worker Number": 5, "Actual Startup Time": 0.035, "Actual Total Time": 598.773, "Actual Rows": 85599, "Actual Loops": 1}]}, {"Node Type": "Index Scan", "Parent Relationship": "Inner", "Parallel Aware": false, "Scan Direction": "Forward", "Index Name": "l_ok", "Relation Name": "lineitem", "Schema": "public", "Alias": "lineitem", "Startup Cost": 0.56, "Total Cost": 2.38, "Plan Rows": 7, "Plan Width": 16, "Actual Startup Time": 0.008, "Actual Total Time": 0.009, "Actual Rows": 2, "Actual Loops": 555118, "Output": ["lineitem.l_orderkey", "lineitem.l_partkey", "lineitem.l_suppkey", "lineitem.l_linenumber", "lineitem.l_quantity", "lineitem.l_extendedprice", "lineitem.l_discount", "lineitem.l_tax", "lineitem.l_returnflag", "lineitem.l_linestatus", "lineitem.l_shipdate", "lineitem.l_commitdate", "lineitem.l_receiptdate", "lineitem.l_shipinstruct", "lineitem.l_shipmode", "lineitem.l_comment"], "Index Cond": "(lineitem.l_orderkey = orders.o_orderkey)", "Rows Removed by Index Recheck": 0, "Filter": "(lineitem.l_returnflag = 'R'::bpchar)", "Rows Removed by Filter": 2, "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.008, "Actual Total Time": 0.009, "Actual Rows": 2, "Actual Loops": 85836}, {"Worker Number": 1, "Actual Startup Time": 0.008, "Actual Total Time": 0.009, "Actual Rows": 2, "Actual Loops": 85953}, {"Worker Number": 2, "Actual Startup Time": 0.008, "Actual Total Time": 0.009, "Actual Rows": 2, "Actual Loops": 86037}, {"Worker Number": 3, "Actual Startup Time": 0.008, "Actual Total Time": 0.009, "Actual Rows": 2, "Actual Loops": 86159}, {"Worker Number": 4, "Actual Startup Time": 0.008, "Actual Total Time": 0.009, "Actual Rows": 2, "Actual Loops": 85374}, {"Worker Number": 5, "Actual Startup Time": 0.008, "Actual Total Time": 0.009, "Actual Rows": 2, "Actual Loops": 85599}]}]}, {"Node Type": "Index Scan", "Parent Relationship": "Inner", "Parallel Aware": false, "Scan Direction": "Forward", "Index Name": "c_ck", "Relation Name": "customer", "Schema": "public", "Alias": "customer", "Startup Cost": 0.43, "Total Cost": 0.52, "Plan Rows": 1, "Plan Width": 147, "Actual Startup Time": 0.003, "Actual Total Time": 0.003, "Actual Rows": 1, "Actual Loops": 1112878, "Output": ["customer.c_custkey", "customer.c_name", "customer.c_address", "customer.c_nationkey", "customer.c_phone", "customer.c_acctbal", "customer.c_mktsegment", "customer.c_comment"], "Index Cond": "(customer.c_custkey = orders.o_custkey)", "Rows Removed by Index Recheck": 0, "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.003, "Actual Total Time": 0.003, "Actual Rows": 1, "Actual Loops": 172102}, {"Worker Number": 1, "Actual Startup Time": 0.003, "Actual Total Time": 0.003, "Actual Rows": 1, "Actual Loops": 172736}, {"Worker Number": 2, "Actual Startup Time": 0.003, "Actual Total Time": 0.003, "Actual Rows": 1, "Actual Loops": 172404}, {"Worker Number": 3, "Actual Startup Time": 0.003, "Actual Total Time": 0.003, "Actual Rows": 1, "Actual Loops": 173526}, {"Worker Number": 4, "Actual Startup Time": 0.003, "Actual Total Time": 0.003, "Actual Rows": 1, "Actual Loops": 170861}, {"Worker Number": 5, "Actual Startup Time": 0.003, "Actual Total Time": 0.003, "Actual Rows": 1, "Actual Loops": 171215}]}]}, {"Node Type": "Hash", "Parent Relationship": "Inner", "Parallel Aware": false, "Startup Cost": 1.25, "Total Cost": 1.25, "Plan Rows": 25, "Plan Width": 30, "Actual Startup Time": 0.029, "Actual Total Time": 0.029, "Actual Rows": 25, "Actual Loops": 7, "Output": ["nation.n_name", "nation.n_nationkey"], "Hash Buckets": 1024, "Original Hash Buckets": 1024, "Hash Batches": 1, "Original Hash Batches": 1, "Peak Memory Usage": 10, "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.03, "Actual Total Time": 0.03, "Actual Rows": 25, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 0.03, "Actual Total Time": 0.03, "Actual Rows": 25, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 0.03, "Actual Total Time": 0.03, "Actual Rows": 25, "Actual Loops": 1}, {"Worker Number": 3, "Actual Startup Time": 0.031, "Actual Total Time": 0.031, "Actual Rows": 25, "Actual Loops": 1}, {"Worker Number": 4, "Actual Startup Time": 0.03, "Actual Total Time": 0.03, "Actual Rows": 25, "Actual Loops": 1}, {"Worker Number": 5, "Actual Startup Time": 0.034, "Actual Total Time": 0.034, "Actual Rows": 25, "Actual Loops": 1}], "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Relation Name": "nation", "Schema": "public", "Alias": "nation", "Startup Cost": 0.0, "Total Cost": 1.25, "Plan Rows": 25, "Plan Width": 30, "Actual Startup Time": 0.015, "Actual Total Time": 0.02, "Actual Rows": 25, "Actual Loops": 7, "Output": ["nation.n_name", "nation.n_nationkey"], "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.017, "Actual Total Time": 0.02, "Actual Rows": 25, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 0.017, "Actual Total Time": 0.022, "Actual Rows": 25, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 0.017, "Actual Total Time": 0.02, "Actual Rows": 25, "Actual Loops": 1}, {"Worker Number": 3, "Actual Startup Time": 0.018, "Actual Total Time": 0.021, "Actual Rows": 25, "Actual Loops": 1}, {"Worker Number": 4, "Actual Startup Time": 0.017, "Actual Total Time": 0.021, "Actual Rows": 25, "Actual Loops": 1}, {"Worker Number": 5, "Actual Startup Time": 0.018, "Actual Total Time": 0.024, "Actual Rows": 25, "Actual Loops": 1}]}]}]}]}]}]}]}]}, "Planning Time": 1.137, "Triggers": [], "Execution Time": 4223.864} diff --git a/dev9/pg9/tpch/sf_10/explain_analyze/15721/11-1.ok b/dev9/pg9/tpch/sf_10/explain_analyze/15721/11-1.ok new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/dev9/pg9/tpch/sf_10/explain_analyze/15721/11-1.res b/dev9/pg9/tpch/sf_10/explain_analyze/15721/11-1.res new file mode 100644 index 0000000000000000000000000000000000000000..5003cbf2fe669dded4b3981289abb5278a157ab8 --- /dev/null +++ b/dev9/pg9/tpch/sf_10/explain_analyze/15721/11-1.res @@ -0,0 +1 @@ +{"Plan": {"Node Type": "Sort", "Parallel Aware": false, "Startup Cost": 107872.04, "Total Cost": 108672.06, "Plan Rows": 320007, "Plan Width": 36, "Actual Startup Time": 1189.809, "Actual Total Time": 1189.809, "Actual Rows": 0, "Actual Loops": 1, "Output": ["partsupp.ps_partkey", "(sum((partsupp.ps_supplycost * (partsupp.ps_availqty)::numeric)))"], "Sort Key": ["(sum((partsupp.ps_supplycost * (partsupp.ps_availqty)::numeric))) DESC"], "Sort Method": "quicksort", "Sort Space Used": 25, "Sort Space Type": "Memory", "Plans": [{"Node Type": "Aggregate", "Strategy": "Plain", "Partial Mode": "Finalize", "Parent Relationship": "InitPlan", "Subplan Name": "InitPlan 1 (returns $1)", "Parallel Aware": false, "Startup Cost": 16737.29, "Total Cost": 16737.3, "Plan Rows": 1, "Plan Width": 32, "Actual Startup Time": 341.847, "Actual Total Time": 341.847, "Actual Rows": 1, "Actual Loops": 1, "Output": ["(sum((partsupp_1.ps_supplycost * (partsupp_1.ps_availqty)::numeric)) * 0.0001000000)"], "Plans": [{"Node Type": "Gather", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 16737.17, "Total Cost": 16737.28, "Plan Rows": 1, "Plan Width": 32, "Actual Startup Time": 341.738, "Actual Total Time": 341.896, "Actual Rows": 2, "Actual Loops": 1, "Output": ["(PARTIAL sum((partsupp_1.ps_supplycost * (partsupp_1.ps_availqty)::numeric)))"], "Workers Planned": 1, "Workers Launched": 1, "Single Copy": false, "Plans": [{"Node Type": "Aggregate", "Strategy": "Plain", "Partial Mode": "Partial", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 15737.17, "Total Cost": 15737.18, "Plan Rows": 1, "Plan Width": 32, "Actual Startup Time": 339.402, "Actual Total Time": 339.402, "Actual Rows": 1, "Actual Loops": 2, "Output": ["PARTIAL sum((partsupp_1.ps_supplycost * (partsupp_1.ps_availqty)::numeric))"], "Workers": [{"Worker Number": 0, "Actual Startup Time": 337.351, "Actual Total Time": 337.351, "Actual Rows": 1, "Actual Loops": 1}], "Plans": [{"Node Type": "Nested Loop", "Parent Relationship": "Outer", "Parallel Aware": false, "Join Type": "Inner", "Startup Cost": 1.76, "Total Cost": 14325.37, "Plan Rows": 188239, "Plan Width": 10, "Actual Startup Time": 0.195, "Actual Total Time": 264.339, "Actual Rows": 159520, "Actual Loops": 2, "Output": ["partsupp_1.ps_supplycost", "partsupp_1.ps_availqty"], "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.349, "Actual Total Time": 276.223, "Actual Rows": 128720, "Actual Loops": 1}], "Plans": [{"Node Type": "Hash Join", "Parent Relationship": "Outer", "Parallel Aware": false, "Join Type": "Inner", "Startup Cost": 1.32, "Total Cost": 3049.68, "Plan Rows": 2353, "Plan Width": 4, "Actual Startup Time": 0.133, "Actual Total Time": 15.357, "Actual Rows": 1994, "Actual Loops": 2, "Output": ["supplier_1.s_suppkey"], "Hash Cond": "(supplier_1.s_nationkey = nation_1.n_nationkey)", "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.237, "Actual Total Time": 12.951, "Actual Rows": 1609, "Actual Loops": 1}], "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": true, "Relation Name": "supplier", "Schema": "public", "Alias": "supplier_1", "Startup Cost": 0.0, "Total Cost": 2804.24, "Plan Rows": 58824, "Plan Width": 8, "Actual Startup Time": 0.015, "Actual Total Time": 5.048, "Actual Rows": 50000, "Actual Loops": 2, "Output": ["supplier_1.s_suppkey", "supplier_1.s_name", "supplier_1.s_address", "supplier_1.s_nationkey", "supplier_1.s_phone", "supplier_1.s_acctbal", "supplier_1.s_comment"], "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.028, "Actual Total Time": 4.829, "Actual Rows": 41388, "Actual Loops": 1}]}, {"Node Type": "Hash", "Parent Relationship": "Inner", "Parallel Aware": false, "Startup Cost": 1.31, "Total Cost": 1.31, "Plan Rows": 1, "Plan Width": 4, "Actual Startup Time": 0.026, "Actual Total Time": 0.026, "Actual Rows": 1, "Actual Loops": 2, "Output": ["nation_1.n_nationkey"], "Hash Buckets": 1024, "Original Hash Buckets": 1024, "Hash Batches": 1, "Original Hash Batches": 1, "Peak Memory Usage": 9, "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.041, "Actual Total Time": 0.041, "Actual Rows": 1, "Actual Loops": 1}], "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Relation Name": "nation", "Schema": "public", "Alias": "nation_1", "Startup Cost": 0.0, "Total Cost": 1.31, "Plan Rows": 1, "Plan Width": 4, "Actual Startup Time": 0.022, "Actual Total Time": 0.023, "Actual Rows": 1, "Actual Loops": 2, "Output": ["nation_1.n_nationkey"], "Filter": "(nation_1.n_name = 'CHINA'::bpchar)", "Rows Removed by Filter": 24, "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.036, "Actual Total Time": 0.037, "Actual Rows": 1, "Actual Loops": 1}]}]}]}, {"Node Type": "Index Scan", "Parent Relationship": "Inner", "Parallel Aware": false, "Scan Direction": "Forward", "Index Name": "ps_sk", "Relation Name": "partsupp", "Schema": "public", "Alias": "partsupp_1", "Startup Cost": 0.43, "Total Cost": 3.99, "Plan Rows": 80, "Plan Width": 14, "Actual Startup Time": 0.008, "Actual Total Time": 0.111, "Actual Rows": 80, "Actual Loops": 3988, "Output": ["partsupp_1.ps_partkey", "partsupp_1.ps_suppkey", "partsupp_1.ps_availqty", "partsupp_1.ps_supplycost", "partsupp_1.ps_comment"], "Index Cond": "(partsupp_1.ps_suppkey = supplier_1.s_suppkey)", "Rows Removed by Index Recheck": 0, "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.011, "Actual Total Time": 0.149, "Actual Rows": 80, "Actual Loops": 1609}]}]}]}]}]}, {"Node Type": "Aggregate", "Strategy": "Sorted", "Partial Mode": "Simple", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 50673.47, "Total Cost": 61873.71, "Plan Rows": 320007, "Plan Width": 36, "Actual Startup Time": 1189.804, "Actual Total Time": 1189.804, "Actual Rows": 0, "Actual Loops": 1, "Output": ["partsupp.ps_partkey", "sum((partsupp.ps_supplycost * (partsupp.ps_availqty)::numeric))"], "Group Key": ["partsupp.ps_partkey"], "Filter": "(sum((partsupp.ps_supplycost * (partsupp.ps_availqty)::numeric)) > $1)", "Rows Removed by Filter": 300316, "Plans": [{"Node Type": "Sort", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 50673.47, "Total Cost": 51473.49, "Plan Rows": 320007, "Plan Width": 14, "Actual Startup Time": 579.742, "Actual Total Time": 616.841, "Actual Rows": 319040, "Actual Loops": 1, "Output": ["partsupp.ps_partkey", "partsupp.ps_supplycost", "partsupp.ps_availqty"], "Sort Key": ["partsupp.ps_partkey"], "Sort Method": "external merge", "Sort Space Used": 8096, "Sort Space Type": "Disk", "Plans": [{"Node Type": "Nested Loop", "Parent Relationship": "Outer", "Parallel Aware": false, "Join Type": "Inner", "Startup Cost": 44.92, "Total Cost": 21412.44, "Plan Rows": 320007, "Plan Width": 14, "Actual Startup Time": 0.839, "Actual Total Time": 420.563, "Actual Rows": 319040, "Actual Loops": 1, "Output": ["partsupp.ps_partkey", "partsupp.ps_supplycost", "partsupp.ps_availqty"], "Plans": [{"Node Type": "Nested Loop", "Parent Relationship": "Outer", "Parallel Aware": false, "Join Type": "Inner", "Startup Cost": 44.49, "Total Cost": 2244.24, "Plan Rows": 4000, "Plan Width": 4, "Actual Startup Time": 0.825, "Actual Total Time": 5.337, "Actual Rows": 3988, "Actual Loops": 1, "Output": ["supplier.s_suppkey"], "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Relation Name": "nation", "Schema": "public", "Alias": "nation", "Startup Cost": 0.0, "Total Cost": 1.31, "Plan Rows": 1, "Plan Width": 4, "Actual Startup Time": 0.008, "Actual Total Time": 0.013, "Actual Rows": 1, "Actual Loops": 1, "Output": ["nation.n_nationkey", "nation.n_name", "nation.n_regionkey", "nation.n_comment"], "Filter": "(nation.n_name = 'CHINA'::bpchar)", "Rows Removed by Filter": 24}, {"Node Type": "Bitmap Heap Scan", "Parent Relationship": "Inner", "Parallel Aware": false, "Relation Name": "supplier", "Schema": "public", "Alias": "supplier", "Startup Cost": 44.49, "Total Cost": 2202.92, "Plan Rows": 4000, "Plan Width": 8, "Actual Startup Time": 0.814, "Actual Total Time": 4.69, "Actual Rows": 3988, "Actual Loops": 1, "Output": ["supplier.s_suppkey", "supplier.s_name", "supplier.s_address", "supplier.s_nationkey", "supplier.s_phone", "supplier.s_acctbal", "supplier.s_comment"], "Recheck Cond": "(supplier.s_nationkey = nation.n_nationkey)", "Rows Removed by Index Recheck": 0, "Exact Heap Blocks": 1857, "Lossy Heap Blocks": 0, "Plans": [{"Node Type": "Bitmap Index Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Index Name": "s_nk", "Startup Cost": 0.0, "Total Cost": 43.49, "Plan Rows": 4000, "Plan Width": 0, "Actual Startup Time": 0.493, "Actual Total Time": 0.493, "Actual Rows": 3988, "Actual Loops": 1, "Index Cond": "(supplier.s_nationkey = nation.n_nationkey)"}]}]}, {"Node Type": "Index Scan", "Parent Relationship": "Inner", "Parallel Aware": false, "Scan Direction": "Forward", "Index Name": "ps_sk", "Relation Name": "partsupp", "Schema": "public", "Alias": "partsupp", "Startup Cost": 0.43, "Total Cost": 3.99, "Plan Rows": 80, "Plan Width": 18, "Actual Startup Time": 0.006, "Actual Total Time": 0.09, "Actual Rows": 80, "Actual Loops": 3988, "Output": ["partsupp.ps_partkey", "partsupp.ps_suppkey", "partsupp.ps_availqty", "partsupp.ps_supplycost", "partsupp.ps_comment"], "Index Cond": "(partsupp.ps_suppkey = supplier.s_suppkey)", "Rows Removed by Index Recheck": 0}]}]}]}]}, "Planning Time": 0.948, "Triggers": [], "Execution Time": 1191.843} diff --git a/dev9/pg9/tpch/sf_10/explain_analyze/15721/12-1.ok b/dev9/pg9/tpch/sf_10/explain_analyze/15721/12-1.ok new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/dev9/pg9/tpch/sf_10/explain_analyze/15721/12-1.res b/dev9/pg9/tpch/sf_10/explain_analyze/15721/12-1.res new file mode 100644 index 0000000000000000000000000000000000000000..6e5b692eb38d1512c44080bafca21d4f79848f37 --- /dev/null +++ b/dev9/pg9/tpch/sf_10/explain_analyze/15721/12-1.res @@ -0,0 +1 @@ +{"Plan": {"Node Type": "Aggregate", "Strategy": "Sorted", "Partial Mode": "Finalize", "Parallel Aware": false, "Startup Cost": 1377266.53, "Total Cost": 1377267.09, "Plan Rows": 7, "Plan Width": 27, "Actual Startup Time": 3207.21, "Actual Total Time": 3207.213, "Actual Rows": 2, "Actual Loops": 1, "Output": ["lineitem.l_shipmode", "sum(CASE WHEN ((orders.o_orderpriority = '1-URGENT'::bpchar) OR (orders.o_orderpriority = '2-HIGH'::bpchar)) THEN 1 ELSE 0 END)", "sum(CASE WHEN ((orders.o_orderpriority <> '1-URGENT'::bpchar) AND (orders.o_orderpriority <> '2-HIGH'::bpchar)) THEN 1 ELSE 0 END)"], "Group Key": ["lineitem.l_shipmode"], "Plans": [{"Node Type": "Sort", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 1377266.53, "Total Cost": 1377266.66, "Plan Rows": 49, "Plan Width": 27, "Actual Startup Time": 3207.205, "Actual Total Time": 3207.206, "Actual Rows": 16, "Actual Loops": 1, "Output": ["lineitem.l_shipmode", "(PARTIAL sum(CASE WHEN ((orders.o_orderpriority = '1-URGENT'::bpchar) OR (orders.o_orderpriority = '2-HIGH'::bpchar)) THEN 1 ELSE 0 END))", "(PARTIAL sum(CASE WHEN ((orders.o_orderpriority <> '1-URGENT'::bpchar) AND (orders.o_orderpriority <> '2-HIGH'::bpchar)) THEN 1 ELSE 0 END))"], "Sort Key": ["lineitem.l_shipmode"], "Sort Method": "quicksort", "Sort Space Used": 26, "Sort Space Type": "Memory", "Plans": [{"Node Type": "Gather", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 1376431.85, "Total Cost": 1377265.16, "Plan Rows": 49, "Plan Width": 27, "Actual Startup Time": 3194.838, "Actual Total Time": 3530.954, "Actual Rows": 16, "Actual Loops": 1, "Output": ["lineitem.l_shipmode", "(PARTIAL sum(CASE WHEN ((orders.o_orderpriority = '1-URGENT'::bpchar) OR (orders.o_orderpriority = '2-HIGH'::bpchar)) THEN 1 ELSE 0 END))", "(PARTIAL sum(CASE WHEN ((orders.o_orderpriority <> '1-URGENT'::bpchar) AND (orders.o_orderpriority <> '2-HIGH'::bpchar)) THEN 1 ELSE 0 END))"], "Workers Planned": 7, "Workers Launched": 7, "Single Copy": false, "Plans": [{"Node Type": "Aggregate", "Strategy": "Sorted", "Partial Mode": "Partial", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 1375431.85, "Total Cost": 1376260.26, "Plan Rows": 7, "Plan Width": 27, "Actual Startup Time": 3188.614, "Actual Total Time": 3198.993, "Actual Rows": 2, "Actual Loops": 8, "Output": ["lineitem.l_shipmode", "PARTIAL sum(CASE WHEN ((orders.o_orderpriority = '1-URGENT'::bpchar) OR (orders.o_orderpriority = '2-HIGH'::bpchar)) THEN 1 ELSE 0 END)", "PARTIAL sum(CASE WHEN ((orders.o_orderpriority <> '1-URGENT'::bpchar) AND (orders.o_orderpriority <> '2-HIGH'::bpchar)) THEN 1 ELSE 0 END)"], "Group Key": ["lineitem.l_shipmode"], "Workers": [{"Worker Number": 0, "Actual Startup Time": 3187.802, "Actual Total Time": 3197.898, "Actual Rows": 2, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 3187.582, "Actual Total Time": 3197.685, "Actual Rows": 2, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 3187.806, "Actual Total Time": 3197.808, "Actual Rows": 2, "Actual Loops": 1}, {"Worker Number": 3, "Actual Startup Time": 3187.889, "Actual Total Time": 3198.141, "Actual Rows": 2, "Actual Loops": 1}, {"Worker Number": 4, "Actual Startup Time": 3187.681, "Actual Total Time": 3197.786, "Actual Rows": 2, "Actual Loops": 1}, {"Worker Number": 5, "Actual Startup Time": 3187.882, "Actual Total Time": 3198.002, "Actual Rows": 2, "Actual Loops": 1}, {"Worker Number": 6, "Actual Startup Time": 3187.946, "Actual Total Time": 3197.971, "Actual Rows": 2, "Actual Loops": 1}], "Plans": [{"Node Type": "Sort", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 1375431.85, "Total Cost": 1375535.39, "Plan Rows": 41417, "Plan Width": 27, "Actual Startup Time": 3178.17, "Actual Total Time": 3181.33, "Actual Rows": 38973, "Actual Loops": 8, "Output": ["lineitem.l_shipmode", "orders.o_orderpriority"], "Sort Key": ["lineitem.l_shipmode"], "Sort Method": "quicksort", "Sort Space Used": 5157, "Sort Space Type": "Memory", "Workers": [{"Worker Number": 0, "Actual Startup Time": 3177.585, "Actual Total Time": 3180.616, "Actual Rows": 37962, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 3177.513, "Actual Total Time": 3180.612, "Actual Rows": 37697, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 3177.616, "Actual Total Time": 3180.671, "Actual Rows": 37768, "Actual Loops": 1}, {"Worker Number": 3, "Actual Startup Time": 3177.619, "Actual Total Time": 3180.749, "Actual Rows": 38407, "Actual Loops": 1}, {"Worker Number": 4, "Actual Startup Time": 3177.618, "Actual Total Time": 3180.71, "Actual Rows": 37701, "Actual Loops": 1}, {"Worker Number": 5, "Actual Startup Time": 3177.633, "Actual Total Time": 3180.684, "Actual Rows": 38079, "Actual Loops": 1}, {"Worker Number": 6, "Actual Startup Time": 3177.718, "Actual Total Time": 3180.824, "Actual Rows": 37829, "Actual Loops": 1}], "Plans": [{"Node Type": "Nested Loop", "Parent Relationship": "Outer", "Parallel Aware": false, "Join Type": "Inner", "Startup Cost": 0.43, "Total Cost": 1372255.59, "Plan Rows": 41417, "Plan Width": 27, "Actual Startup Time": 0.131, "Actual Total Time": 3166.005, "Actual Rows": 38973, "Actual Loops": 8, "Output": ["lineitem.l_shipmode", "orders.o_orderpriority"], "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.13, "Actual Total Time": 3165.062, "Actual Rows": 37962, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 0.146, "Actual Total Time": 3165.512, "Actual Rows": 37697, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 0.119, "Actual Total Time": 3165.635, "Actual Rows": 37768, "Actual Loops": 1}, {"Worker Number": 3, "Actual Startup Time": 0.157, "Actual Total Time": 3165.329, "Actual Rows": 38407, "Actual Loops": 1}, {"Worker Number": 4, "Actual Startup Time": 0.142, "Actual Total Time": 3165.538, "Actual Rows": 37701, "Actual Loops": 1}, {"Worker Number": 5, "Actual Startup Time": 0.14, "Actual Total Time": 3165.32, "Actual Rows": 38079, "Actual Loops": 1}, {"Worker Number": 6, "Actual Startup Time": 0.18, "Actual Total Time": 3165.554, "Actual Rows": 37829, "Actual Loops": 1}], "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": true, "Relation Name": "lineitem", "Schema": "public", "Alias": "lineitem", "Startup Cost": 0.0, "Total Cost": 1317349.57, "Plan Rows": 41417, "Plan Width": 15, "Actual Startup Time": 0.056, "Actual Total Time": 2907.698, "Actual Rows": 38973, "Actual Loops": 8, "Output": ["lineitem.l_orderkey", "lineitem.l_partkey", "lineitem.l_suppkey", "lineitem.l_linenumber", "lineitem.l_quantity", "lineitem.l_extendedprice", "lineitem.l_discount", "lineitem.l_tax", "lineitem.l_returnflag", "lineitem.l_linestatus", "lineitem.l_shipdate", "lineitem.l_commitdate", "lineitem.l_receiptdate", "lineitem.l_shipinstruct", "lineitem.l_shipmode", "lineitem.l_comment"], "Filter": "((lineitem.l_shipmode = ANY ('{MAIL,TRUCK}'::bpchar[])) AND (lineitem.l_commitdate < lineitem.l_receiptdate) AND (lineitem.l_shipdate < lineitem.l_commitdate) AND (lineitem.l_receiptdate >= '1995-01-01'::date) AND (lineitem.l_receiptdate < '1996-01-01 00:00:00'::timestamp without time zone))", "Rows Removed by Filter": 7459283, "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.051, "Actual Total Time": 2900.814, "Actual Rows": 37962, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 0.062, "Actual Total Time": 2904.278, "Actual Rows": 37697, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 0.035, "Actual Total Time": 2904.544, "Actual Rows": 37768, "Actual Loops": 1}, {"Worker Number": 3, "Actual Startup Time": 0.08, "Actual Total Time": 2901.045, "Actual Rows": 38407, "Actual Loops": 1}, {"Worker Number": 4, "Actual Startup Time": 0.063, "Actual Total Time": 2905.002, "Actual Rows": 37701, "Actual Loops": 1}, {"Worker Number": 5, "Actual Startup Time": 0.059, "Actual Total Time": 2901.124, "Actual Rows": 38079, "Actual Loops": 1}, {"Worker Number": 6, "Actual Startup Time": 0.073, "Actual Total Time": 2902.379, "Actual Rows": 37829, "Actual Loops": 1}]}, {"Node Type": "Index Scan", "Parent Relationship": "Inner", "Parallel Aware": false, "Scan Direction": "Forward", "Index Name": "o_ok", "Relation Name": "orders", "Schema": "public", "Alias": "orders", "Startup Cost": 0.43, "Total Cost": 1.32, "Plan Rows": 1, "Plan Width": 20, "Actual Startup Time": 0.006, "Actual Total Time": 0.006, "Actual Rows": 1, "Actual Loops": 311787, "Output": ["orders.o_orderkey", "orders.o_custkey", "orders.o_orderstatus", "orders.o_totalprice", "orders.o_orderdate", "orders.o_orderpriority", "orders.o_clerk", "orders.o_shippriority", "orders.o_comment"], "Index Cond": "(orders.o_orderkey = lineitem.l_orderkey)", "Rows Removed by Index Recheck": 0, "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.006, "Actual Total Time": 0.006, "Actual Rows": 1, "Actual Loops": 37962}, {"Worker Number": 1, "Actual Startup Time": 0.006, "Actual Total Time": 0.006, "Actual Rows": 1, "Actual Loops": 37697}, {"Worker Number": 2, "Actual Startup Time": 0.006, "Actual Total Time": 0.006, "Actual Rows": 1, "Actual Loops": 37768}, {"Worker Number": 3, "Actual Startup Time": 0.006, "Actual Total Time": 0.006, "Actual Rows": 1, "Actual Loops": 38407}, {"Worker Number": 4, "Actual Startup Time": 0.006, "Actual Total Time": 0.006, "Actual Rows": 1, "Actual Loops": 37701}, {"Worker Number": 5, "Actual Startup Time": 0.006, "Actual Total Time": 0.006, "Actual Rows": 1, "Actual Loops": 38079}, {"Worker Number": 6, "Actual Startup Time": 0.006, "Actual Total Time": 0.006, "Actual Rows": 1, "Actual Loops": 37829}]}]}]}]}]}]}]}, "Planning Time": 0.474, "Triggers": [], "Execution Time": 3531.031} diff --git a/dev9/pg9/tpch/sf_10/explain_analyze/15721/13-1.ok b/dev9/pg9/tpch/sf_10/explain_analyze/15721/13-1.ok new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/dev9/pg9/tpch/sf_10/explain_analyze/15721/13-1.res b/dev9/pg9/tpch/sf_10/explain_analyze/15721/13-1.res new file mode 100644 index 0000000000000000000000000000000000000000..d9f596c6963d419bef2548a19ba16ddeb9c634a1 --- /dev/null +++ b/dev9/pg9/tpch/sf_10/explain_analyze/15721/13-1.res @@ -0,0 +1 @@ +{"Plan": {"Node Type": "Sort", "Parallel Aware": false, "Startup Cost": 923420.46, "Total Cost": 923420.96, "Plan Rows": 200, "Plan Width": 16, "Actual Startup Time": 27043.012, "Actual Total Time": 27043.019, "Actual Rows": 46, "Actual Loops": 1, "Output": ["(count(orders.o_orderkey))", "(count(*))"], "Sort Key": ["(count(*)) DESC", "(count(orders.o_orderkey)) DESC"], "Sort Method": "quicksort", "Sort Space Used": 27, "Sort Space Type": "Memory", "Plans": [{"Node Type": "Aggregate", "Strategy": "Hashed", "Partial Mode": "Simple", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 923410.82, "Total Cost": 923412.82, "Plan Rows": 200, "Plan Width": 16, "Actual Startup Time": 27042.976, "Actual Total Time": 27042.981, "Actual Rows": 46, "Actual Loops": 1, "Output": ["(count(orders.o_orderkey))", "count(*)"], "Group Key": ["count(orders.o_orderkey)"], "Plans": [{"Node Type": "Aggregate", "Strategy": "Sorted", "Partial Mode": "Simple", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 8.34, "Total Cost": 900910.82, "Plan Rows": 1500000, "Plan Width": 12, "Actual Startup Time": 0.077, "Actual Total Time": 26712.636, "Actual Rows": 1500000, "Actual Loops": 1, "Output": ["customer.c_custkey", "count(orders.o_orderkey)"], "Group Key": ["customer.c_custkey"], "Plans": [{"Node Type": "Merge Join", "Parent Relationship": "Outer", "Parallel Aware": false, "Join Type": "Left", "Startup Cost": 8.34, "Total Cost": 811512.41, "Plan Rows": 14879682, "Plan Width": 8, "Actual Startup Time": 0.037, "Actual Total Time": 24670.49, "Actual Rows": 15338712, "Actual Loops": 1, "Output": ["customer.c_custkey", "orders.o_orderkey"], "Merge Cond": "(customer.c_custkey = orders.o_custkey)", "Plans": [{"Node Type": "Index Only Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Scan Direction": "Forward", "Index Name": "c_ck", "Relation Name": "customer", "Schema": "public", "Alias": "customer", "Startup Cost": 0.43, "Total Cost": 27028.03, "Plan Rows": 1500000, "Plan Width": 4, "Actual Startup Time": 0.026, "Actual Total Time": 174.36, "Actual Rows": 1500000, "Actual Loops": 1, "Output": ["customer.c_custkey"], "Heap Fetches": 0}, {"Node Type": "Index Scan", "Parent Relationship": "Inner", "Parallel Aware": false, "Scan Direction": "Forward", "Index Name": "o_ck", "Relation Name": "orders", "Schema": "public", "Alias": "orders", "Startup Cost": 0.43, "Total Cost": 594738.35, "Plan Rows": 14879682, "Plan Width": 8, "Actual Startup Time": 0.009, "Actual Total Time": 22177.315, "Actual Rows": 14838692, "Actual Loops": 1, "Output": ["orders.o_orderkey", "orders.o_custkey", "orders.o_orderstatus", "orders.o_totalprice", "orders.o_orderdate", "orders.o_orderpriority", "orders.o_clerk", "orders.o_shippriority", "orders.o_comment"], "Filter": "((orders.o_comment)::text !~~ '%unusual%requests%'::text)", "Rows Removed by Filter": 161308}]}]}]}]}, "Planning Time": 0.646, "Triggers": [], "Execution Time": 27043.084} diff --git a/dev9/pg9/tpch/sf_10/explain_analyze/15721/14-1.ok b/dev9/pg9/tpch/sf_10/explain_analyze/15721/14-1.ok new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/dev9/pg9/tpch/sf_10/explain_analyze/15721/14-1.res b/dev9/pg9/tpch/sf_10/explain_analyze/15721/14-1.res new file mode 100644 index 0000000000000000000000000000000000000000..9c7c33cec310eb47eeac14d3c108a94e7f156f56 --- /dev/null +++ b/dev9/pg9/tpch/sf_10/explain_analyze/15721/14-1.res @@ -0,0 +1 @@ +{"Plan": {"Node Type": "Aggregate", "Strategy": "Plain", "Partial Mode": "Simple", "Parallel Aware": false, "Startup Cost": 758266.52, "Total Cost": 758266.53, "Plan Rows": 1, "Plan Width": 32, "Actual Startup Time": 6785.081, "Actual Total Time": 6785.081, "Actual Rows": 1, "Actual Loops": 1, "Output": ["((100.00 * sum(CASE WHEN ((part.p_type)::text ~~ 'PROMO%'::text) THEN (lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount)) ELSE '0'::numeric END)) / sum((lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount))))"], "Plans": [{"Node Type": "Hash Join", "Parent Relationship": "Outer", "Parallel Aware": false, "Join Type": "Inner", "Startup Cost": 109864.1, "Total Cost": 744773.52, "Plan Rows": 771028, "Plan Width": 33, "Actual Startup Time": 1127.913, "Actual Total Time": 6173.191, "Actual Rows": 772845, "Actual Loops": 1, "Output": ["part.p_type", "lineitem.l_extendedprice", "lineitem.l_discount"], "Hash Cond": "(lineitem.l_partkey = part.p_partkey)", "Plans": [{"Node Type": "Bitmap Heap Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Relation Name": "lineitem", "Schema": "public", "Alias": "lineitem", "Startup Cost": 10230.1, "Total Cost": 612372.1, "Plan Rows": 771028, "Plan Width": 16, "Actual Startup Time": 253.141, "Actual Total Time": 4662.536, "Actual Rows": 772845, "Actual Loops": 1, "Output": ["lineitem.l_extendedprice", "lineitem.l_discount", "lineitem.l_partkey"], "Recheck Cond": "((lineitem.l_shipdate >= '1995-05-01'::date) AND (lineitem.l_shipdate < '1995-06-01 00:00:00'::timestamp without time zone))", "Rows Removed by Index Recheck": 14070863, "Exact Heap Blocks": 143572, "Lossy Heap Blocks": 273405, "Plans": [{"Node Type": "Bitmap Index Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Index Name": "l_sd", "Startup Cost": 0.0, "Total Cost": 10037.35, "Plan Rows": 771028, "Plan Width": 0, "Actual Startup Time": 207.382, "Actual Total Time": 207.382, "Actual Rows": 772845, "Actual Loops": 1, "Index Cond": "((lineitem.l_shipdate >= '1995-05-01'::date) AND (lineitem.l_shipdate < '1995-06-01 00:00:00'::timestamp without time zone))"}]}, {"Node Type": "Hash", "Parent Relationship": "Inner", "Parallel Aware": false, "Startup Cost": 60962.0, "Total Cost": 60962.0, "Plan Rows": 2000000, "Plan Width": 25, "Actual Startup Time": 871.464, "Actual Total Time": 871.464, "Actual Rows": 2000000, "Actual Loops": 1, "Output": ["part.p_type", "part.p_partkey"], "Hash Buckets": 524288, "Original Hash Buckets": 524288, "Hash Batches": 8, "Original Hash Batches": 8, "Peak Memory Usage": 18555, "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Relation Name": "part", "Schema": "public", "Alias": "part", "Startup Cost": 0.0, "Total Cost": 60962.0, "Plan Rows": 2000000, "Plan Width": 25, "Actual Startup Time": 0.007, "Actual Total Time": 469.074, "Actual Rows": 2000000, "Actual Loops": 1, "Output": ["part.p_type", "part.p_partkey"]}]}]}]}, "Planning Time": 0.378, "Triggers": [], "Execution Time": 6785.164} diff --git a/dev9/pg9/tpch/sf_10/explain_analyze/15721/15-1.ok b/dev9/pg9/tpch/sf_10/explain_analyze/15721/15-1.ok new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/dev9/pg9/tpch/sf_10/explain_analyze/15721/15-1.res b/dev9/pg9/tpch/sf_10/explain_analyze/15721/15-1.res new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/dev9/pg9/tpch/sf_10/explain_analyze/15721/15-2.ok b/dev9/pg9/tpch/sf_10/explain_analyze/15721/15-2.ok new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/dev9/pg9/tpch/sf_10/explain_analyze/15721/15-2.res b/dev9/pg9/tpch/sf_10/explain_analyze/15721/15-2.res new file mode 100644 index 0000000000000000000000000000000000000000..0ef6b3cdaa378e42274ceecc09022da5d121a61b --- /dev/null +++ b/dev9/pg9/tpch/sf_10/explain_analyze/15721/15-2.res @@ -0,0 +1 @@ +{"Plan": {"Node Type": "Merge Join", "Parallel Aware": false, "Join Type": "Inner", "Startup Cost": 2660148.05, "Total Cost": 2713113.32, "Plan Rows": 99734, "Plan Width": 103, "Actual Startup Time": 19368.313, "Actual Total Time": 19675.643, "Actual Rows": 1, "Actual Loops": 1, "Output": ["supplier.s_suppkey", "supplier.s_name", "supplier.s_address", "supplier.s_phone", "(sum((lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount))))"], "Merge Cond": "(lineitem.l_suppkey = supplier.s_suppkey)", "Plans": [{"Node Type": "Aggregate", "Strategy": "Plain", "Partial Mode": "Simple", "Parent Relationship": "InitPlan", "Subplan Name": "InitPlan 1 (returns $0)", "Parallel Aware": false, "Startup Cost": 1212738.67, "Total Cost": 1212738.68, "Plan Rows": 1, "Plan Width": 32, "Actual Startup Time": 9314.851, "Actual Total Time": 9314.851, "Actual Rows": 1, "Actual Loops": 1, "Output": ["max((sum((lineitem_1.l_extendedprice * ('1'::numeric - lineitem_1.l_discount)))))"], "Plans": [{"Node Type": "Aggregate", "Strategy": "Hashed", "Partial Mode": "Simple", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 1210245.32, "Total Cost": 1211492.0, "Plan Rows": 99734, "Plan Width": 36, "Actual Startup Time": 9267.583, "Actual Total Time": 9304.449, "Actual Rows": 100000, "Actual Loops": 1, "Output": ["lineitem_1.l_suppkey", "sum((lineitem_1.l_extendedprice * ('1'::numeric - lineitem_1.l_discount)))"], "Group Key": ["lineitem_1.l_suppkey"], "Plans": [{"Node Type": "Bitmap Heap Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Relation Name": "lineitem", "Schema": "public", "Alias": "lineitem_1", "Startup Cost": 29820.63, "Total Cost": 1187767.6, "Plan Rows": 2247772, "Plan Width": 16, "Actual Startup Time": 586.725, "Actual Total Time": 7042.479, "Actual Rows": 2247315, "Actual Loops": 1, "Output": ["lineitem_1.l_orderkey", "lineitem_1.l_partkey", "lineitem_1.l_suppkey", "lineitem_1.l_linenumber", "lineitem_1.l_quantity", "lineitem_1.l_extendedprice", "lineitem_1.l_discount", "lineitem_1.l_tax", "lineitem_1.l_returnflag", "lineitem_1.l_linestatus", "lineitem_1.l_shipdate", "lineitem_1.l_commitdate", "lineitem_1.l_receiptdate", "lineitem_1.l_shipinstruct", "lineitem_1.l_shipmode", "lineitem_1.l_comment"], "Recheck Cond": "((lineitem_1.l_shipdate >= '1995-01-01'::date) AND (lineitem_1.l_shipdate < '1995-04-01 00:00:00'::timestamp without time zone))", "Rows Removed by Index Recheck": 20263504, "Exact Heap Blocks": 257797, "Lossy Heap Blocks": 408617, "Plans": [{"Node Type": "Bitmap Index Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Index Name": "l_sd", "Startup Cost": 0.0, "Total Cost": 29258.69, "Plan Rows": 2247772, "Plan Width": 0, "Actual Startup Time": 497.867, "Actual Total Time": 497.867, "Actual Rows": 2247315, "Actual Loops": 1, "Index Cond": "((lineitem_1.l_shipdate >= '1995-01-01'::date) AND (lineitem_1.l_shipdate < '1995-04-01 00:00:00'::timestamp without time zone))"}]}]}]}, {"Node Type": "Aggregate", "Strategy": "Sorted", "Partial Mode": "Simple", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 1447409.07, "Total Cost": 1493860.52, "Plan Rows": 99734, "Plan Width": 36, "Actual Startup Time": 19339.206, "Actual Total Time": 19646.536, "Actual Rows": 1, "Actual Loops": 1, "Output": ["lineitem.l_suppkey", "sum((lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount)))"], "Group Key": ["lineitem.l_suppkey"], "Filter": "(sum((lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount))) = $0)", "Rows Removed by Filter": 99999, "Plans": [{"Node Type": "Sort", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 1447409.07, "Total Cost": 1453028.5, "Plan Rows": 2247772, "Plan Width": 16, "Actual Startup Time": 8393.861, "Actual Total Time": 8971.676, "Actual Rows": 2247315, "Actual Loops": 1, "Output": ["lineitem.l_suppkey", "lineitem.l_extendedprice", "lineitem.l_discount"], "Sort Key": ["lineitem.l_suppkey"], "Sort Method": "external merge", "Sort Space Used": 60240, "Sort Space Type": "Disk", "Plans": [{"Node Type": "Bitmap Heap Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Relation Name": "lineitem", "Schema": "public", "Alias": "lineitem", "Startup Cost": 29820.63, "Total Cost": 1187767.6, "Plan Rows": 2247772, "Plan Width": 16, "Actual Startup Time": 636.878, "Actual Total Time": 7297.365, "Actual Rows": 2247315, "Actual Loops": 1, "Output": ["lineitem.l_suppkey", "lineitem.l_extendedprice", "lineitem.l_discount"], "Recheck Cond": "((lineitem.l_shipdate >= '1995-01-01'::date) AND (lineitem.l_shipdate < '1995-04-01 00:00:00'::timestamp without time zone))", "Rows Removed by Index Recheck": 20263504, "Exact Heap Blocks": 257797, "Lossy Heap Blocks": 408617, "Plans": [{"Node Type": "Bitmap Index Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Index Name": "l_sd", "Startup Cost": 0.0, "Total Cost": 29258.69, "Plan Rows": 2247772, "Plan Width": 0, "Actual Startup Time": 544.47, "Actual Total Time": 544.47, "Actual Rows": 2247315, "Actual Loops": 1, "Index Cond": "((lineitem.l_shipdate >= '1995-01-01'::date) AND (lineitem.l_shipdate < '1995-04-01 00:00:00'::timestamp without time zone))"}]}]}]}, {"Node Type": "Index Scan", "Parent Relationship": "Inner", "Parallel Aware": false, "Scan Direction": "Forward", "Index Name": "s_sk", "Relation Name": "supplier", "Schema": "public", "Alias": "supplier", "Startup Cost": 0.29, "Total Cost": 4020.1, "Plan Rows": 100000, "Plan Width": 71, "Actual Startup Time": 0.018, "Actual Total Time": 21.896, "Actual Rows": 83967, "Actual Loops": 1, "Output": ["supplier.s_suppkey", "supplier.s_name", "supplier.s_address", "supplier.s_nationkey", "supplier.s_phone", "supplier.s_acctbal", "supplier.s_comment"]}]}, "Planning Time": 0.37, "Triggers": [], "Execution Time": 19690.567} diff --git a/dev9/pg9/tpch/sf_10/explain_analyze/15721/15-3.ok b/dev9/pg9/tpch/sf_10/explain_analyze/15721/15-3.ok new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/dev9/pg9/tpch/sf_10/explain_analyze/15721/15-3.res b/dev9/pg9/tpch/sf_10/explain_analyze/15721/15-3.res new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/dev9/pg9/tpch/sf_10/explain_analyze/15721/16-1.ok b/dev9/pg9/tpch/sf_10/explain_analyze/15721/16-1.ok new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/dev9/pg9/tpch/sf_10/explain_analyze/15721/16-1.res b/dev9/pg9/tpch/sf_10/explain_analyze/15721/16-1.res new file mode 100644 index 0000000000000000000000000000000000000000..2406f38ceb3373d5a0a2191a7eb8c051b64f2e94 --- /dev/null +++ b/dev9/pg9/tpch/sf_10/explain_analyze/15721/16-1.res @@ -0,0 +1 @@ +{"Plan": {"Node Type": "Sort", "Parallel Aware": false, "Startup Cost": 379769.27, "Total Cost": 380153.3, "Plan Rows": 153610, "Plan Width": 44, "Actual Startup Time": 8622.775, "Actual Total Time": 8625.239, "Actual Rows": 27840, "Actual Loops": 1, "Output": ["part.p_brand", "part.p_type", "part.p_size", "(count(DISTINCT partsupp.ps_suppkey))"], "Sort Key": ["(count(DISTINCT partsupp.ps_suppkey)) DESC", "part.p_brand", "part.p_type", "part.p_size"], "Sort Method": "quicksort", "Sort Space Used": 2968, "Sort Space Type": "Memory", "Plans": [{"Node Type": "Aggregate", "Strategy": "Sorted", "Partial Mode": "Simple", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 357591.61, "Total Cost": 366536.61, "Plan Rows": 153610, "Plan Width": 44, "Actual Startup Time": 7229.47, "Actual Total Time": 8528.752, "Actual Rows": 27840, "Actual Loops": 1, "Output": ["part.p_brand", "part.p_type", "part.p_size", "count(DISTINCT partsupp.ps_suppkey)"], "Group Key": ["part.p_brand", "part.p_type", "part.p_size"], "Plans": [{"Node Type": "Sort", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 357591.61, "Total Cost": 359073.39, "Plan Rows": 592712, "Plan Width": 40, "Actual Startup Time": 7229.415, "Actual Total Time": 8095.974, "Actual Rows": 1190471, "Actual Loops": 1, "Output": ["part.p_brand", "part.p_type", "part.p_size", "partsupp.ps_suppkey"], "Sort Key": ["part.p_brand", "part.p_type", "part.p_size"], "Sort Method": "external merge", "Sort Space Used": 60568, "Sort Space Type": "Disk", "Plans": [{"Node Type": "Merge Join", "Parent Relationship": "Outer", "Parallel Aware": false, "Join Type": "Inner", "Startup Cost": 3467.98, "Total Cost": 291265.95, "Plan Rows": 592712, "Plan Width": 40, "Actual Startup Time": 35.738, "Actual Total Time": 3412.665, "Actual Rows": 1190471, "Actual Loops": 1, "Output": ["part.p_brand", "part.p_type", "part.p_size", "partsupp.ps_suppkey"], "Merge Cond": "(part.p_partkey = partsupp.ps_partkey)", "Plans": [{"Node Type": "Index Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Scan Direction": "Forward", "Index Name": "p_pk", "Relation Name": "part", "Schema": "public", "Alias": "part", "Startup Cost": 0.43, "Total Cost": 106998.23, "Plan Rows": 296349, "Plan Width": 40, "Actual Startup Time": 0.014, "Actual Total Time": 976.961, "Actual Rows": 297793, "Actual Loops": 1, "Output": ["part.p_partkey", "part.p_name", "part.p_mfgr", "part.p_brand", "part.p_type", "part.p_size", "part.p_container", "part.p_retailprice", "part.p_comment"], "Filter": "((part.p_brand <> 'Brand#11'::bpchar) AND ((part.p_type)::text !~~ 'ECONOMY ANODIZED%'::text) AND (part.p_size = ANY ('{42,16,39,18,23,32,44,41}'::integer[])))", "Rows Removed by Filter": 1702207}, {"Node Type": "Index Only Scan", "Parent Relationship": "Inner", "Parallel Aware": false, "Scan Direction": "Forward", "Index Name": "ps_pk_sk", "Relation Name": "partsupp", "Schema": "public", "Alias": "partsupp", "Startup Cost": 3466.46, "Total Cost": 167600.41, "Plan Rows": 4000093, "Plan Width": 8, "Actual Startup Time": 35.712, "Actual Total Time": 1759.299, "Actual Rows": 7995433, "Actual Loops": 1, "Output": ["partsupp.ps_partkey", "partsupp.ps_suppkey"], "Filter": "(NOT (hashed SubPlan 1))", "Rows Removed by Filter": 4480, "Heap Fetches": 0, "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "SubPlan", "Subplan Name": "SubPlan 1", "Parallel Aware": false, "Relation Name": "supplier", "Schema": "public", "Alias": "supplier", "Startup Cost": 0.0, "Total Cost": 3466.0, "Plan Rows": 10, "Plan Width": 4, "Actual Startup Time": 0.14, "Actual Total Time": 35.658, "Actual Rows": 56, "Actual Loops": 1, "Output": ["supplier.s_suppkey"], "Filter": "((supplier.s_comment)::text ~~ '%Customer%Complaints%'::text)", "Rows Removed by Filter": 99944}]}]}]}]}]}, "Planning Time": 0.712, "Triggers": [], "Execution Time": 8639.678} diff --git a/dev9/pg9/tpch/sf_10/explain_analyze/15721/17-1.ok b/dev9/pg9/tpch/sf_10/explain_analyze/15721/17-1.ok new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/dev9/pg9/tpch/sf_10/explain_analyze/15721/17-1.res b/dev9/pg9/tpch/sf_10/explain_analyze/15721/17-1.res new file mode 100644 index 0000000000000000000000000000000000000000..55dd47db5af5d8dfebfbd6d7f8fd644e80c51122 --- /dev/null +++ b/dev9/pg9/tpch/sf_10/explain_analyze/15721/17-1.res @@ -0,0 +1 @@ +{"Plan": {"Node Type": "Aggregate", "Strategy": "Plain", "Partial Mode": "Simple", "Parallel Aware": false, "Startup Cost": 2419868.27, "Total Cost": 2419868.28, "Plan Rows": 1, "Plan Width": 32, "Actual Startup Time": 1817.466, "Actual Total Time": 1817.466, "Actual Rows": 1, "Actual Loops": 1, "Output": ["(sum(lineitem.l_extendedprice) / 7.0)"], "Plans": [{"Node Type": "Nested Loop", "Parent Relationship": "Outer", "Parallel Aware": false, "Join Type": "Inner", "Startup Cost": 0.56, "Total Cost": 2419817.83, "Plan Rows": 20175, "Plan Width": 8, "Actual Startup Time": 0.672, "Actual Total Time": 1816.072, "Actual Rows": 5383, "Actual Loops": 1, "Output": ["lineitem.l_extendedprice"], "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Relation Name": "part", "Schema": "public", "Alias": "part", "Startup Cost": 0.0, "Total Cost": 70962.0, "Plan Rows": 2018, "Plan Width": 4, "Actual Startup Time": 0.419, "Actual Total Time": 375.025, "Actual Rows": 2063, "Actual Loops": 1, "Output": ["part.p_partkey", "part.p_name", "part.p_mfgr", "part.p_brand", "part.p_type", "part.p_size", "part.p_container", "part.p_retailprice", "part.p_comment"], "Filter": "((part.p_brand = 'Brand#14'::bpchar) AND (part.p_container = 'WRAP BOX'::bpchar))", "Rows Removed by Filter": 1997937}, {"Node Type": "Index Scan", "Parent Relationship": "Inner", "Parallel Aware": false, "Scan Direction": "Forward", "Index Name": "l_pk", "Relation Name": "lineitem", "Schema": "public", "Alias": "lineitem", "Startup Cost": 0.56, "Total Cost": 1163.85, "Plan Rows": 10, "Plan Width": 17, "Actual Startup Time": 0.257, "Actual Total Time": 0.698, "Actual Rows": 3, "Actual Loops": 2063, "Output": ["lineitem.l_orderkey", "lineitem.l_partkey", "lineitem.l_suppkey", "lineitem.l_linenumber", "lineitem.l_quantity", "lineitem.l_extendedprice", "lineitem.l_discount", "lineitem.l_tax", "lineitem.l_returnflag", "lineitem.l_linestatus", "lineitem.l_shipdate", "lineitem.l_commitdate", "lineitem.l_receiptdate", "lineitem.l_shipinstruct", "lineitem.l_shipmode", "lineitem.l_comment"], "Index Cond": "(lineitem.l_partkey = part.p_partkey)", "Rows Removed by Index Recheck": 0, "Filter": "(lineitem.l_quantity < (SubPlan 1))", "Rows Removed by Filter": 27, "Plans": [{"Node Type": "Aggregate", "Strategy": "Plain", "Partial Mode": "Simple", "Parent Relationship": "SubPlan", "Subplan Name": "SubPlan 1", "Parallel Aware": false, "Startup Cost": 36.39, "Total Cost": 36.4, "Plan Rows": 1, "Plan Width": 32, "Actual Startup Time": 0.022, "Actual Total Time": 0.022, "Actual Rows": 1, "Actual Loops": 61531, "Output": ["(0.2 * avg(lineitem_1.l_quantity))"], "Plans": [{"Node Type": "Index Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Scan Direction": "Forward", "Index Name": "l_pk", "Relation Name": "lineitem", "Schema": "public", "Alias": "lineitem_1", "Startup Cost": 0.56, "Total Cost": 36.31, "Plan Rows": 31, "Plan Width": 5, "Actual Startup Time": 0.003, "Actual Total Time": 0.015, "Actual Rows": 31, "Actual Loops": 61531, "Output": ["lineitem_1.l_orderkey", "lineitem_1.l_partkey", "lineitem_1.l_suppkey", "lineitem_1.l_linenumber", "lineitem_1.l_quantity", "lineitem_1.l_extendedprice", "lineitem_1.l_discount", "lineitem_1.l_tax", "lineitem_1.l_returnflag", "lineitem_1.l_linestatus", "lineitem_1.l_shipdate", "lineitem_1.l_commitdate", "lineitem_1.l_receiptdate", "lineitem_1.l_shipinstruct", "lineitem_1.l_shipmode", "lineitem_1.l_comment"], "Index Cond": "(lineitem_1.l_partkey = part.p_partkey)", "Rows Removed by Index Recheck": 0}]}]}]}]}, "Planning Time": 0.392, "Triggers": [], "Execution Time": 1817.509} diff --git a/dev9/pg9/tpch/sf_10/explain_analyze/15721/18-1.ok b/dev9/pg9/tpch/sf_10/explain_analyze/15721/18-1.ok new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/dev9/pg9/tpch/sf_10/explain_analyze/15721/18-1.res b/dev9/pg9/tpch/sf_10/explain_analyze/15721/18-1.res new file mode 100644 index 0000000000000000000000000000000000000000..4f09323f000b139d9c0de3e80b5a6eae93f5216b --- /dev/null +++ b/dev9/pg9/tpch/sf_10/explain_analyze/15721/18-1.res @@ -0,0 +1 @@ +{"Plan": {"Node Type": "Limit", "Parallel Aware": false, "Startup Cost": 13395734.7, "Total Cost": 13395734.95, "Plan Rows": 100, "Plan Width": 71, "Actual Startup Time": 53487.27, "Actual Total Time": 53487.283, "Actual Rows": 84, "Actual Loops": 1, "Output": ["customer.c_name", "customer.c_custkey", "orders.o_orderkey", "orders.o_orderdate", "orders.o_totalprice", "(sum(lineitem.l_quantity))"], "Plans": [{"Node Type": "Sort", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 13395734.7, "Total Cost": 13470715.42, "Plan Rows": 29992288, "Plan Width": 71, "Actual Startup Time": 53487.27, "Actual Total Time": 53487.278, "Actual Rows": 84, "Actual Loops": 1, "Output": ["customer.c_name", "customer.c_custkey", "orders.o_orderkey", "orders.o_orderdate", "orders.o_totalprice", "(sum(lineitem.l_quantity))"], "Sort Key": ["orders.o_totalprice DESC", "orders.o_orderdate"], "Sort Method": "quicksort", "Sort Space Used": 31, "Sort Space Type": "Memory", "Plans": [{"Node Type": "Aggregate", "Strategy": "Sorted", "Partial Mode": "Simple", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 11574624.54, "Total Cost": 12249451.02, "Plan Rows": 29992288, "Plan Width": 71, "Actual Startup Time": 53486.988, "Actual Total Time": 53487.199, "Actual Rows": 84, "Actual Loops": 1, "Output": ["customer.c_name", "customer.c_custkey", "orders.o_orderkey", "orders.o_orderdate", "orders.o_totalprice", "sum(lineitem.l_quantity)"], "Group Key": ["customer.c_custkey", "orders.o_orderkey"], "Plans": [{"Node Type": "Sort", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 11574624.54, "Total Cost": 11649605.26, "Plan Rows": 29992288, "Plan Width": 44, "Actual Startup Time": 53486.977, "Actual Total Time": 53487.024, "Actual Rows": 588, "Actual Loops": 1, "Output": ["customer.c_custkey", "orders.o_orderkey", "customer.c_name", "orders.o_orderdate", "orders.o_totalprice", "lineitem.l_quantity"], "Sort Key": ["customer.c_custkey", "orders.o_orderkey"], "Sort Method": "quicksort", "Sort Space Used": 70, "Sort Space Type": "Memory", "Plans": [{"Node Type": "Hash Join", "Parent Relationship": "Outer", "Parallel Aware": false, "Join Type": "Inner", "Startup Cost": 78409.12, "Total Cost": 6769088.56, "Plan Rows": 29992288, "Plan Width": 44, "Actual Startup Time": 4813.506, "Actual Total Time": 53486.762, "Actual Rows": 588, "Actual Loops": 1, "Output": ["customer.c_custkey", "orders.o_orderkey", "customer.c_name", "orders.o_orderdate", "orders.o_totalprice", "lineitem.l_quantity"], "Hash Cond": "(orders.o_custkey = customer.c_custkey)", "Plans": [{"Node Type": "Merge Join", "Parent Relationship": "Outer", "Parallel Aware": false, "Join Type": "Inner", "Startup Cost": 42.12, "Total Cost": 5821995.24, "Plan Rows": 29992288, "Plan Width": 25, "Actual Startup Time": 1110.661, "Actual Total Time": 52730.132, "Actual Rows": 588, "Actual Loops": 1, "Output": ["orders.o_orderkey", "orders.o_orderdate", "orders.o_totalprice", "orders.o_custkey", "lineitem.l_quantity"], "Merge Cond": "(orders.o_orderkey = lineitem.l_orderkey)", "Plans": [{"Node Type": "Merge Join", "Parent Relationship": "Outer", "Parallel Aware": false, "Join Type": "Semi", "Startup Cost": 1.0, "Total Cost": 3148159.92, "Plan Rows": 7499776, "Plan Width": 24, "Actual Startup Time": 764.491, "Actual Total Time": 36259.507, "Actual Rows": 84, "Actual Loops": 1, "Output": ["orders.o_orderkey", "orders.o_orderdate", "orders.o_totalprice", "orders.o_custkey", "lineitem_1.l_orderkey"], "Merge Cond": "(orders.o_orderkey = lineitem_1.l_orderkey)", "Plans": [{"Node Type": "Index Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Scan Direction": "Forward", "Index Name": "o_ok", "Relation Name": "orders", "Schema": "public", "Alias": "orders", "Startup Cost": 0.43, "Total Cost": 531149.93, "Plan Rows": 14999553, "Plan Width": 20, "Actual Startup Time": 0.005, "Actual Total Time": 3162.974, "Actual Rows": 14982724, "Actual Loops": 1, "Output": ["orders.o_orderkey", "orders.o_custkey", "orders.o_orderstatus", "orders.o_totalprice", "orders.o_orderdate", "orders.o_orderpriority", "orders.o_clerk", "orders.o_shippriority", "orders.o_comment"]}, {"Node Type": "Materialize", "Parent Relationship": "Inner", "Parallel Aware": false, "Startup Cost": 0.56, "Total Cost": 2554728.14, "Plan Rows": 1982638, "Plan Width": 4, "Actual Startup Time": 671.198, "Actual Total Time": 31865.969, "Actual Rows": 84, "Actual Loops": 1, "Output": ["lineitem_1.l_orderkey"], "Plans": [{"Node Type": "Aggregate", "Strategy": "Sorted", "Partial Mode": "Simple", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 0.56, "Total Cost": 2529945.16, "Plan Rows": 1982638, "Plan Width": 4, "Actual Startup Time": 671.196, "Actual Total Time": 31865.886, "Actual Rows": 84, "Actual Loops": 1, "Output": ["lineitem_1.l_orderkey"], "Group Key": ["lineitem_1.l_orderkey"], "Filter": "(sum(lineitem_1.l_quantity) > '314'::numeric)", "Rows Removed by Filter": 14999916, "Plans": [{"Node Type": "Index Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Scan Direction": "Forward", "Index Name": "l_ok", "Relation Name": "lineitem", "Schema": "public", "Alias": "lineitem_1", "Startup Cost": 0.56, "Total Cost": 2205239.31, "Plan Rows": 59984576, "Plan Width": 9, "Actual Startup Time": 0.005, "Actual Total Time": 13433.061, "Actual Rows": 59986052, "Actual Loops": 1, "Output": ["lineitem_1.l_orderkey", "lineitem_1.l_partkey", "lineitem_1.l_suppkey", "lineitem_1.l_linenumber", "lineitem_1.l_quantity", "lineitem_1.l_extendedprice", "lineitem_1.l_discount", "lineitem_1.l_tax", "lineitem_1.l_returnflag", "lineitem_1.l_linestatus", "lineitem_1.l_shipdate", "lineitem_1.l_commitdate", "lineitem_1.l_receiptdate", "lineitem_1.l_shipinstruct", "lineitem_1.l_shipmode", "lineitem_1.l_comment"]}]}]}]}, {"Node Type": "Index Scan", "Parent Relationship": "Inner", "Parallel Aware": false, "Scan Direction": "Forward", "Index Name": "l_ok", "Relation Name": "lineitem", "Schema": "public", "Alias": "lineitem", "Startup Cost": 0.56, "Total Cost": 2205239.31, "Plan Rows": 59984576, "Plan Width": 9, "Actual Startup Time": 0.009, "Actual Total Time": 11685.911, "Actual Rows": 59916431, "Actual Loops": 1, "Output": ["lineitem.l_orderkey", "lineitem.l_partkey", "lineitem.l_suppkey", "lineitem.l_linenumber", "lineitem.l_quantity", "lineitem.l_extendedprice", "lineitem.l_discount", "lineitem.l_tax", "lineitem.l_returnflag", "lineitem.l_linestatus", "lineitem.l_shipdate", "lineitem.l_commitdate", "lineitem.l_receiptdate", "lineitem.l_shipinstruct", "lineitem.l_shipmode", "lineitem.l_comment"]}]}, {"Node Type": "Hash", "Parent Relationship": "Inner", "Parallel Aware": false, "Startup Cost": 50827.0, "Total Cost": 50827.0, "Plan Rows": 1500000, "Plan Width": 23, "Actual Startup Time": 623.151, "Actual Total Time": 623.151, "Actual Rows": 1500000, "Actual Loops": 1, "Output": ["customer.c_name", "customer.c_custkey"], "Hash Buckets": 524288, "Original Hash Buckets": 524288, "Hash Batches": 8, "Original Hash Batches": 8, "Peak Memory Usage": 14408, "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Relation Name": "customer", "Schema": "public", "Alias": "customer", "Startup Cost": 0.0, "Total Cost": 50827.0, "Plan Rows": 1500000, "Plan Width": 23, "Actual Startup Time": 0.006, "Actual Total Time": 322.063, "Actual Rows": 1500000, "Actual Loops": 1, "Output": ["customer.c_name", "customer.c_custkey"]}]}]}]}]}]}]}, "Planning Time": 1.002, "Triggers": [], "Execution Time": 53487.376} diff --git a/dev9/pg9/tpch/sf_10/explain_analyze/15721/19-1.ok b/dev9/pg9/tpch/sf_10/explain_analyze/15721/19-1.ok new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/dev9/pg9/tpch/sf_10/explain_analyze/15721/19-1.res b/dev9/pg9/tpch/sf_10/explain_analyze/15721/19-1.res new file mode 100644 index 0000000000000000000000000000000000000000..6542c771cefa8ebbf217454cdb35e4f318707c85 --- /dev/null +++ b/dev9/pg9/tpch/sf_10/explain_analyze/15721/19-1.res @@ -0,0 +1 @@ +{"Plan": {"Node Type": "Aggregate", "Strategy": "Plain", "Partial Mode": "Finalize", "Parallel Aware": false, "Startup Cost": 106484.31, "Total Cost": 106484.32, "Plan Rows": 1, "Plan Width": 32, "Actual Startup Time": 330.842, "Actual Total Time": 330.842, "Actual Rows": 1, "Actual Loops": 1, "Output": ["sum((lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount)))"], "Plans": [{"Node Type": "Gather", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 106483.88, "Total Cost": 106484.29, "Plan Rows": 4, "Plan Width": 32, "Actual Startup Time": 330.758, "Actual Total Time": 411.497, "Actual Rows": 5, "Actual Loops": 1, "Output": ["(PARTIAL sum((lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount))))"], "Workers Planned": 4, "Workers Launched": 4, "Single Copy": false, "Plans": [{"Node Type": "Aggregate", "Strategy": "Plain", "Partial Mode": "Partial", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 105483.88, "Total Cost": 105483.89, "Plan Rows": 1, "Plan Width": 32, "Actual Startup Time": 327.196, "Actual Total Time": 327.196, "Actual Rows": 1, "Actual Loops": 5, "Output": ["PARTIAL sum((lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount)))"], "Workers": [{"Worker Number": 0, "Actual Startup Time": 326.392, "Actual Total Time": 326.392, "Actual Rows": 1, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 326.372, "Actual Total Time": 326.372, "Actual Rows": 1, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 326.459, "Actual Total Time": 326.459, "Actual Rows": 1, "Actual Loops": 1}, {"Worker Number": 3, "Actual Startup Time": 326.585, "Actual Total Time": 326.585, "Actual Rows": 1, "Actual Loops": 1}], "Plans": [{"Node Type": "Nested Loop", "Parent Relationship": "Outer", "Parallel Aware": false, "Join Type": "Inner", "Startup Cost": 0.56, "Total Cost": 105481.78, "Plan Rows": 280, "Plan Width": 12, "Actual Startup Time": 5.389, "Actual Total Time": 326.981, "Actual Rows": 229, "Actual Loops": 5, "Output": ["lineitem.l_extendedprice", "lineitem.l_discount"], "Workers": [{"Worker Number": 0, "Actual Startup Time": 9.066, "Actual Total Time": 326.199, "Actual Rows": 203, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 1.986, "Actual Total Time": 326.162, "Actual Rows": 205, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 4.496, "Actual Total Time": 326.263, "Actual Rows": 200, "Actual Loops": 1}, {"Worker Number": 3, "Actual Startup Time": 11.147, "Actual Total Time": 326.399, "Actual Rows": 180, "Actual Loops": 1}], "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": true, "Relation Name": "part", "Schema": "public", "Alias": "part", "Startup Cost": 0.0, "Total Cost": 62212.0, "Plan Rows": 1195, "Plan Width": 30, "Actual Startup Time": 0.145, "Actual Total Time": 185.463, "Actual Rows": 942, "Actual Loops": 5, "Output": ["part.p_partkey", "part.p_name", "part.p_mfgr", "part.p_brand", "part.p_type", "part.p_size", "part.p_container", "part.p_retailprice", "part.p_comment"], "Filter": "((part.p_size >= 1) AND (((part.p_brand = 'Brand#52'::bpchar) AND (part.p_container = ANY ('{\"SM CASE\",\"SM BOX\",\"SM PACK\",\"SM PKG\"}'::bpchar[])) AND (part.p_size <= 5)) OR ((part.p_brand = 'Brand#42'::bpchar) AND (part.p_container = ANY ('{\"MED BAG\",\"MED BOX\",\"MED PKG\",\"MED PACK\"}'::bpchar[])) AND (part.p_size <= 10)) OR ((part.p_brand = 'Brand#23'::bpchar) AND (part.p_container = ANY ('{\"LG CASE\",\"LG BOX\",\"LG PACK\",\"LG PKG\"}'::bpchar[])) AND (part.p_size <= 15))))", "Rows Removed by Filter": 399058, "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.037, "Actual Total Time": 167.273, "Actual Rows": 833, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 0.259, "Actual Total Time": 168.4, "Actual Rows": 821, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 0.201, "Actual Total Time": 168.291, "Actual Rows": 826, "Actual Loops": 1}, {"Worker Number": 3, "Actual Startup Time": 0.187, "Actual Total Time": 168.301, "Actual Rows": 821, "Actual Loops": 1}]}, {"Node Type": "Index Scan", "Parent Relationship": "Inner", "Parallel Aware": false, "Scan Direction": "Forward", "Index Name": "l_pk", "Relation Name": "lineitem", "Schema": "public", "Alias": "lineitem", "Startup Cost": 0.56, "Total Cost": 36.2, "Plan Rows": 1, "Plan Width": 21, "Actual Startup Time": 0.135, "Actual Total Time": 0.15, "Actual Rows": 0, "Actual Loops": 4710, "Output": ["lineitem.l_orderkey", "lineitem.l_partkey", "lineitem.l_suppkey", "lineitem.l_linenumber", "lineitem.l_quantity", "lineitem.l_extendedprice", "lineitem.l_discount", "lineitem.l_tax", "lineitem.l_returnflag", "lineitem.l_linestatus", "lineitem.l_shipdate", "lineitem.l_commitdate", "lineitem.l_receiptdate", "lineitem.l_shipinstruct", "lineitem.l_shipmode", "lineitem.l_comment"], "Index Cond": "(lineitem.l_partkey = part.p_partkey)", "Rows Removed by Index Recheck": 0, "Filter": "((lineitem.l_shipmode = ANY ('{AIR,\"AIR REG\"}'::bpchar[])) AND (lineitem.l_shipinstruct = 'DELIVER IN PERSON'::bpchar) AND (((lineitem.l_quantity >= '9'::numeric) AND (lineitem.l_quantity <= '19'::numeric)) OR ((lineitem.l_quantity >= '18'::numeric) AND (lineitem.l_quantity <= '28'::numeric)) OR ((lineitem.l_quantity >= '22'::numeric) AND (lineitem.l_quantity <= '32'::numeric))) AND (((part.p_brand = 'Brand#52'::bpchar) AND (part.p_container = ANY ('{\"SM CASE\",\"SM BOX\",\"SM PACK\",\"SM PKG\"}'::bpchar[])) AND (lineitem.l_quantity >= '9'::numeric) AND (lineitem.l_quantity <= '19'::numeric) AND (part.p_size <= 5)) OR ((part.p_brand = 'Brand#42'::bpchar) AND (part.p_container = ANY ('{\"MED BAG\",\"MED BOX\",\"MED PKG\",\"MED PACK\"}'::bpchar[])) AND (lineitem.l_quantity >= '18'::numeric) AND (lineitem.l_quantity <= '28'::numeric) AND (part.p_size <= 10)) OR ((part.p_brand = 'Brand#23'::bpchar) AND (part.p_container = ANY ('{\"LG CASE\",\"LG BOX\",\"LG PACK\",\"LG PKG\"}'::bpchar[])) AND (lineitem.l_quantity >= '22'::numeric) AND (lineitem.l_quantity <= '32'::numeric) AND (part.p_size <= 15))))", "Rows Removed by Filter": 30, "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.172, "Actual Total Time": 0.19, "Actual Rows": 0, "Actual Loops": 833}, {"Worker Number": 1, "Actual Startup Time": 0.172, "Actual Total Time": 0.192, "Actual Rows": 0, "Actual Loops": 821}, {"Worker Number": 2, "Actual Startup Time": 0.171, "Actual Total Time": 0.191, "Actual Rows": 0, "Actual Loops": 826}, {"Worker Number": 3, "Actual Startup Time": 0.175, "Actual Total Time": 0.192, "Actual Rows": 0, "Actual Loops": 821}]}]}]}]}]}, "Planning Time": 0.639, "Triggers": [], "Execution Time": 411.559} diff --git a/dev9/pg9/tpch/sf_10/explain_analyze/15721/2-1.ok b/dev9/pg9/tpch/sf_10/explain_analyze/15721/2-1.ok new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/dev9/pg9/tpch/sf_10/explain_analyze/15721/2-1.res b/dev9/pg9/tpch/sf_10/explain_analyze/15721/2-1.res new file mode 100644 index 0000000000000000000000000000000000000000..430d919f0bc3afdd341038771164ad0a54217efd --- /dev/null +++ b/dev9/pg9/tpch/sf_10/explain_analyze/15721/2-1.res @@ -0,0 +1 @@ +{"Plan": {"Node Type": "Limit", "Parallel Aware": false, "Startup Cost": 521345.71, "Total Cost": 521345.71, "Plan Rows": 1, "Plan Width": 192, "Actual Startup Time": 59355.728, "Actual Total Time": 59355.76, "Actual Rows": 100, "Actual Loops": 1, "Output": ["supplier.s_acctbal", "supplier.s_name", "nation.n_name", "part.p_partkey", "part.p_mfgr", "supplier.s_address", "supplier.s_phone", "supplier.s_comment"], "Plans": [{"Node Type": "Sort", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 521345.71, "Total Cost": 521345.71, "Plan Rows": 1, "Plan Width": 192, "Actual Startup Time": 59355.726, "Actual Total Time": 59355.742, "Actual Rows": 100, "Actual Loops": 1, "Output": ["supplier.s_acctbal", "supplier.s_name", "nation.n_name", "part.p_partkey", "part.p_mfgr", "supplier.s_address", "supplier.s_phone", "supplier.s_comment"], "Sort Key": ["supplier.s_acctbal DESC", "nation.n_name", "supplier.s_name", "part.p_partkey"], "Sort Method": "top-N heapsort", "Sort Space Used": 51, "Sort Space Type": "Memory", "Plans": [{"Node Type": "Nested Loop", "Parent Relationship": "Outer", "Parallel Aware": false, "Join Type": "Inner", "Startup Cost": 1000.73, "Total Cost": 521345.7, "Plan Rows": 1, "Plan Width": 192, "Actual Startup Time": 20.896, "Actual Total Time": 59350.807, "Actual Rows": 4732, "Actual Loops": 1, "Output": ["supplier.s_acctbal", "supplier.s_name", "nation.n_name", "part.p_partkey", "part.p_mfgr", "supplier.s_address", "supplier.s_phone", "supplier.s_comment"], "Join Filter": "(partsupp.ps_suppkey = supplier.s_suppkey)", "Rows Removed by Join Filter": 94791424, "Plans": [{"Node Type": "Nested Loop", "Parent Relationship": "Outer", "Parallel Aware": false, "Join Type": "Inner", "Startup Cost": 1000.43, "Total Cost": 520011.46, "Plan Rows": 1, "Plan Width": 34, "Actual Startup Time": 0.731, "Actual Total Time": 746.158, "Actual Rows": 4732, "Actual Loops": 1, "Output": ["part.p_partkey", "part.p_mfgr", "partsupp.ps_suppkey"], "Plans": [{"Node Type": "Gather", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 1000.0, "Total Cost": 50234.6, "Plan Rows": 7726, "Plan Width": 30, "Actual Startup Time": 0.342, "Actual Total Time": 12.58, "Actual Rows": 8075, "Actual Loops": 1, "Output": ["part.p_partkey", "part.p_mfgr"], "Workers Planned": 4, "Workers Launched": 4, "Single Copy": false, "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": true, "Relation Name": "part", "Schema": "public", "Alias": "part", "Startup Cost": 0.0, "Total Cost": 48462.0, "Plan Rows": 1932, "Plan Width": 30, "Actual Startup Time": 0.091, "Actual Total Time": 144.485, "Actual Rows": 1615, "Actual Loops": 5, "Output": ["part.p_partkey", "part.p_mfgr"], "Filter": "(((part.p_type)::text ~~ '%TIN'::text) AND (part.p_size = 44))", "Rows Removed by Filter": 398385, "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.037, "Actual Total Time": 435.083, "Actual Rows": 4999, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 0.223, "Actual Total Time": 96.855, "Actual Rows": 1025, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 0.127, "Actual Total Time": 91.854, "Actual Rows": 1024, "Actual Loops": 1}, {"Worker Number": 3, "Actual Startup Time": 0.038, "Actual Total Time": 98.52, "Actual Rows": 1024, "Actual Loops": 1}]}]}, {"Node Type": "Index Scan", "Parent Relationship": "Inner", "Parallel Aware": false, "Scan Direction": "Forward", "Index Name": "ps_pk", "Relation Name": "partsupp", "Schema": "public", "Alias": "partsupp", "Startup Cost": 0.43, "Total Cost": 60.79, "Plan Rows": 1, "Plan Width": 14, "Actual Startup Time": 0.069, "Actual Total Time": 0.09, "Actual Rows": 1, "Actual Loops": 8075, "Output": ["partsupp.ps_partkey", "partsupp.ps_suppkey", "partsupp.ps_availqty", "partsupp.ps_supplycost", "partsupp.ps_comment"], "Index Cond": "(partsupp.ps_partkey = part.p_partkey)", "Rows Removed by Index Recheck": 0, "Filter": "((SubPlan 1) = partsupp.ps_supplycost)", "Rows Removed by Filter": 3, "Plans": [{"Node Type": "Aggregate", "Strategy": "Plain", "Partial Mode": "Simple", "Parent Relationship": "SubPlan", "Subplan Name": "SubPlan 1", "Parallel Aware": false, "Startup Cost": 14.56, "Total Cost": 14.57, "Plan Rows": 1, "Plan Width": 32, "Actual Startup Time": 0.02, "Actual Total Time": 0.02, "Actual Rows": 1, "Actual Loops": 32300, "Output": ["min(partsupp_1.ps_supplycost)"], "Plans": [{"Node Type": "Nested Loop", "Parent Relationship": "Outer", "Parallel Aware": false, "Join Type": "Inner", "Startup Cost": 0.86, "Total Cost": 14.56, "Plan Rows": 1, "Plan Width": 6, "Actual Startup Time": 0.015, "Actual Total Time": 0.019, "Actual Rows": 1, "Actual Loops": 32300, "Output": ["partsupp_1.ps_supplycost"], "Join Filter": "(nation_1.n_regionkey = region_1.r_regionkey)", "Rows Removed by Join Filter": 3, "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Relation Name": "region", "Schema": "public", "Alias": "region_1", "Startup Cost": 0.0, "Total Cost": 1.06, "Plan Rows": 1, "Plan Width": 4, "Actual Startup Time": 0.001, "Actual Total Time": 0.001, "Actual Rows": 1, "Actual Loops": 32300, "Output": ["region_1.r_regionkey", "region_1.r_name", "region_1.r_comment"], "Filter": "(region_1.r_name = 'EUROPE'::bpchar)", "Rows Removed by Filter": 4}, {"Node Type": "Nested Loop", "Parent Relationship": "Inner", "Parallel Aware": false, "Join Type": "Inner", "Startup Cost": 0.86, "Total Cost": 13.44, "Plan Rows": 4, "Plan Width": 10, "Actual Startup Time": 0.006, "Actual Total Time": 0.017, "Actual Rows": 4, "Actual Loops": 32300, "Output": ["partsupp_1.ps_supplycost", "nation_1.n_regionkey"], "Plans": [{"Node Type": "Nested Loop", "Parent Relationship": "Outer", "Parallel Aware": false, "Join Type": "Inner", "Startup Cost": 0.72, "Total Cost": 12.78, "Plan Rows": 4, "Plan Width": 10, "Actual Startup Time": 0.004, "Actual Total Time": 0.012, "Actual Rows": 4, "Actual Loops": 32300, "Output": ["partsupp_1.ps_supplycost", "supplier_1.s_nationkey"], "Plans": [{"Node Type": "Index Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Scan Direction": "Forward", "Index Name": "ps_pk", "Relation Name": "partsupp", "Schema": "public", "Alias": "partsupp_1", "Startup Cost": 0.43, "Total Cost": 2.7, "Plan Rows": 4, "Plan Width": 10, "Actual Startup Time": 0.002, "Actual Total Time": 0.003, "Actual Rows": 4, "Actual Loops": 32300, "Output": ["partsupp_1.ps_partkey", "partsupp_1.ps_suppkey", "partsupp_1.ps_availqty", "partsupp_1.ps_supplycost", "partsupp_1.ps_comment"], "Index Cond": "(part.p_partkey = partsupp_1.ps_partkey)", "Rows Removed by Index Recheck": 0}, {"Node Type": "Index Scan", "Parent Relationship": "Inner", "Parallel Aware": false, "Scan Direction": "Forward", "Index Name": "s_sk", "Relation Name": "supplier", "Schema": "public", "Alias": "supplier_1", "Startup Cost": 0.29, "Total Cost": 2.51, "Plan Rows": 1, "Plan Width": 8, "Actual Startup Time": 0.002, "Actual Total Time": 0.002, "Actual Rows": 1, "Actual Loops": 129200, "Output": ["supplier_1.s_suppkey", "supplier_1.s_name", "supplier_1.s_address", "supplier_1.s_nationkey", "supplier_1.s_phone", "supplier_1.s_acctbal", "supplier_1.s_comment"], "Index Cond": "(supplier_1.s_suppkey = partsupp_1.ps_suppkey)", "Rows Removed by Index Recheck": 0}]}, {"Node Type": "Index Scan", "Parent Relationship": "Inner", "Parallel Aware": false, "Scan Direction": "Forward", "Index Name": "n_nk", "Relation Name": "nation", "Schema": "public", "Alias": "nation_1", "Startup Cost": 0.14, "Total Cost": 0.16, "Plan Rows": 1, "Plan Width": 8, "Actual Startup Time": 0.001, "Actual Total Time": 0.001, "Actual Rows": 1, "Actual Loops": 129200, "Output": ["nation_1.n_nationkey", "nation_1.n_name", "nation_1.n_regionkey", "nation_1.n_comment"], "Index Cond": "(nation_1.n_nationkey = supplier_1.s_nationkey)", "Rows Removed by Index Recheck": 0}]}]}]}]}]}, {"Node Type": "Nested Loop", "Parent Relationship": "Inner", "Parallel Aware": false, "Join Type": "Inner", "Startup Cost": 0.29, "Total Cost": 1084.23, "Plan Rows": 20000, "Plan Width": 166, "Actual Startup Time": 0.011, "Actual Total Time": 10.659, "Actual Rows": 20033, "Actual Loops": 4732, "Output": ["supplier.s_acctbal", "supplier.s_name", "supplier.s_address", "supplier.s_phone", "supplier.s_comment", "supplier.s_suppkey", "nation.n_name"], "Plans": [{"Node Type": "Nested Loop", "Parent Relationship": "Outer", "Parallel Aware": false, "Join Type": "Inner", "Startup Cost": 0.0, "Total Cost": 2.62, "Plan Rows": 5, "Plan Width": 30, "Actual Startup Time": 0.003, "Actual Total Time": 0.01, "Actual Rows": 5, "Actual Loops": 4732, "Output": ["nation.n_name", "nation.n_nationkey"], "Join Filter": "(nation.n_regionkey = region.r_regionkey)", "Rows Removed by Join Filter": 20, "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Relation Name": "region", "Schema": "public", "Alias": "region", "Startup Cost": 0.0, "Total Cost": 1.06, "Plan Rows": 1, "Plan Width": 4, "Actual Startup Time": 0.001, "Actual Total Time": 0.001, "Actual Rows": 1, "Actual Loops": 4732, "Output": ["region.r_regionkey", "region.r_name", "region.r_comment"], "Filter": "(region.r_name = 'EUROPE'::bpchar)", "Rows Removed by Filter": 4}, {"Node Type": "Seq Scan", "Parent Relationship": "Inner", "Parallel Aware": false, "Relation Name": "nation", "Schema": "public", "Alias": "nation", "Startup Cost": 0.0, "Total Cost": 1.25, "Plan Rows": 25, "Plan Width": 34, "Actual Startup Time": 0.001, "Actual Total Time": 0.003, "Actual Rows": 25, "Actual Loops": 4732, "Output": ["nation.n_nationkey", "nation.n_name", "nation.n_regionkey", "nation.n_comment"]}]}, {"Node Type": "Index Scan", "Parent Relationship": "Inner", "Parallel Aware": false, "Scan Direction": "Forward", "Index Name": "s_nk", "Relation Name": "supplier", "Schema": "public", "Alias": "supplier", "Startup Cost": 0.29, "Total Cost": 176.32, "Plan Rows": 4000, "Plan Width": 144, "Actual Startup Time": 0.007, "Actual Total Time": 1.427, "Actual Rows": 4007, "Actual Loops": 23660, "Output": ["supplier.s_suppkey", "supplier.s_name", "supplier.s_address", "supplier.s_nationkey", "supplier.s_phone", "supplier.s_acctbal", "supplier.s_comment"], "Index Cond": "(supplier.s_nationkey = nation.n_nationkey)", "Rows Removed by Index Recheck": 0}]}]}]}]}, "Planning Time": 2.567, "Triggers": [], "Execution Time": 59355.964} diff --git a/dev9/pg9/tpch/sf_10/explain_analyze/15721/20-1.ok b/dev9/pg9/tpch/sf_10/explain_analyze/15721/20-1.ok new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/dev9/pg9/tpch/sf_10/explain_analyze/15721/20-1.res b/dev9/pg9/tpch/sf_10/explain_analyze/15721/20-1.res new file mode 100644 index 0000000000000000000000000000000000000000..acf8a398d69d370d2f497bdad35922c9556aa5cf --- /dev/null +++ b/dev9/pg9/tpch/sf_10/explain_analyze/15721/20-1.res @@ -0,0 +1 @@ +{"Plan": {"Node Type": "Sort", "Parallel Aware": false, "Startup Cost": 324576.18, "Total Cost": 324578.85, "Plan Rows": 1069, "Plan Width": 51, "Actual Startup Time": 1613.96, "Actual Total Time": 1614.096, "Actual Rows": 1786, "Actual Loops": 1, "Output": ["supplier.s_name", "supplier.s_address"], "Sort Key": ["supplier.s_name"], "Sort Method": "quicksort", "Sort Space Used": 254, "Sort Space Type": "Memory", "Plans": [{"Node Type": "Hash Join", "Parent Relationship": "Outer", "Parallel Aware": false, "Join Type": "Semi", "Startup Cost": 322294.92, "Total Cost": 324522.4, "Plan Rows": 1069, "Plan Width": 51, "Actual Startup Time": 1605.505, "Actual Total Time": 1610.484, "Actual Rows": 1786, "Actual Loops": 1, "Output": ["supplier.s_name", "supplier.s_address"], "Hash Cond": "(supplier.s_suppkey = partsupp.ps_suppkey)", "Plans": [{"Node Type": "Nested Loop", "Parent Relationship": "Outer", "Parallel Aware": false, "Join Type": "Inner", "Startup Cost": 44.49, "Total Cost": 2244.24, "Plan Rows": 4000, "Plan Width": 55, "Actual Startup Time": 0.806, "Actual Total Time": 4.668, "Actual Rows": 4049, "Actual Loops": 1, "Output": ["supplier.s_name", "supplier.s_address", "supplier.s_suppkey"], "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Relation Name": "nation", "Schema": "public", "Alias": "nation", "Startup Cost": 0.0, "Total Cost": 1.31, "Plan Rows": 1, "Plan Width": 4, "Actual Startup Time": 0.006, "Actual Total Time": 0.012, "Actual Rows": 1, "Actual Loops": 1, "Output": ["nation.n_nationkey", "nation.n_name", "nation.n_regionkey", "nation.n_comment"], "Filter": "(nation.n_name = 'GERMANY'::bpchar)", "Rows Removed by Filter": 24}, {"Node Type": "Bitmap Heap Scan", "Parent Relationship": "Inner", "Parallel Aware": false, "Relation Name": "supplier", "Schema": "public", "Alias": "supplier", "Startup Cost": 44.49, "Total Cost": 2202.92, "Plan Rows": 4000, "Plan Width": 59, "Actual Startup Time": 0.798, "Actual Total Time": 3.86, "Actual Rows": 4049, "Actual Loops": 1, "Output": ["supplier.s_suppkey", "supplier.s_name", "supplier.s_address", "supplier.s_nationkey", "supplier.s_phone", "supplier.s_acctbal", "supplier.s_comment"], "Recheck Cond": "(supplier.s_nationkey = nation.n_nationkey)", "Rows Removed by Index Recheck": 0, "Exact Heap Blocks": 1874, "Lossy Heap Blocks": 0, "Plans": [{"Node Type": "Bitmap Index Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Index Name": "s_nk", "Startup Cost": 0.0, "Total Cost": 43.49, "Plan Rows": 4000, "Plan Width": 0, "Actual Startup Time": 0.472, "Actual Total Time": 0.472, "Actual Rows": 4049, "Actual Loops": 1, "Index Cond": "(supplier.s_nationkey = nation.n_nationkey)"}]}]}, {"Node Type": "Hash", "Parent Relationship": "Inner", "Parallel Aware": false, "Startup Cost": 321916.41, "Total Cost": 321916.41, "Plan Rows": 26721, "Plan Width": 4, "Actual Startup Time": 1604.654, "Actual Total Time": 1604.654, "Actual Rows": 59274, "Actual Loops": 1, "Output": ["partsupp.ps_suppkey"], "Hash Buckets": 65536, "Original Hash Buckets": 32768, "Hash Batches": 1, "Original Hash Batches": 1, "Peak Memory Usage": 2596, "Plans": [{"Node Type": "Nested Loop", "Parent Relationship": "Outer", "Parallel Aware": false, "Join Type": "Inner", "Startup Cost": 1000.43, "Total Cost": 321916.41, "Plan Rows": 26721, "Plan Width": 4, "Actual Startup Time": 0.34, "Actual Total Time": 1589.452, "Actual Rows": 59274, "Actual Loops": 1, "Output": ["partsupp.ps_suppkey"], "Plans": [{"Node Type": "Gather", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 1000.0, "Total Cost": 50216.0, "Plan Rows": 20040, "Plan Width": 4, "Actual Startup Time": 0.296, "Actual Total Time": 53.032, "Actual Rows": 21783, "Actual Loops": 1, "Output": ["part.p_partkey"], "Workers Planned": 4, "Workers Launched": 4, "Single Copy": false, "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": true, "Relation Name": "part", "Schema": "public", "Alias": "part", "Startup Cost": 0.0, "Total Cost": 47212.0, "Plan Rows": 5010, "Plan Width": 4, "Actual Startup Time": 0.075, "Actual Total Time": 92.765, "Actual Rows": 4357, "Actual Loops": 5, "Output": ["part.p_partkey"], "Filter": "((part.p_name)::text ~~ 'floral%'::text)", "Rows Removed by Filter": 395643, "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.107, "Actual Total Time": 39.063, "Actual Rows": 1638, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 0.131, "Actual Total Time": 37.529, "Actual Rows": 1638, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 0.046, "Actual Total Time": 39.357, "Actual Rows": 1638, "Actual Loops": 1}, {"Worker Number": 3, "Actual Startup Time": 0.062, "Actual Total Time": 347.337, "Actual Rows": 16834, "Actual Loops": 1}]}]}, {"Node Type": "Index Scan", "Parent Relationship": "Inner", "Parallel Aware": false, "Scan Direction": "Forward", "Index Name": "ps_pk", "Relation Name": "partsupp", "Schema": "public", "Alias": "partsupp", "Startup Cost": 0.43, "Total Cost": 13.55, "Plan Rows": 1, "Plan Width": 8, "Actual Startup Time": 0.028, "Actual Total Time": 0.07, "Actual Rows": 3, "Actual Loops": 21783, "Output": ["partsupp.ps_partkey", "partsupp.ps_suppkey", "partsupp.ps_availqty", "partsupp.ps_supplycost", "partsupp.ps_comment"], "Index Cond": "(partsupp.ps_partkey = part.p_partkey)", "Rows Removed by Index Recheck": 0, "Filter": "((partsupp.ps_availqty)::numeric > (SubPlan 1))", "Rows Removed by Filter": 1, "Plans": [{"Node Type": "Aggregate", "Strategy": "Plain", "Partial Mode": "Simple", "Parent Relationship": "SubPlan", "Subplan Name": "SubPlan 1", "Parallel Aware": false, "Startup Cost": 2.79, "Total Cost": 2.81, "Plan Rows": 1, "Plan Width": 32, "Actual Startup Time": 0.015, "Actual Total Time": 0.015, "Actual Rows": 1, "Actual Loops": 87132, "Output": ["(0.5 * sum(lineitem.l_quantity))"], "Plans": [{"Node Type": "Index Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Scan Direction": "Forward", "Index Name": "l_sk_pk", "Relation Name": "lineitem", "Schema": "public", "Alias": "lineitem", "Startup Cost": 0.56, "Total Cost": 2.79, "Plan Rows": 1, "Plan Width": 5, "Actual Startup Time": 0.011, "Actual Total Time": 0.015, "Actual Rows": 1, "Actual Loops": 87132, "Output": ["lineitem.l_orderkey", "lineitem.l_partkey", "lineitem.l_suppkey", "lineitem.l_linenumber", "lineitem.l_quantity", "lineitem.l_extendedprice", "lineitem.l_discount", "lineitem.l_tax", "lineitem.l_returnflag", "lineitem.l_linestatus", "lineitem.l_shipdate", "lineitem.l_commitdate", "lineitem.l_receiptdate", "lineitem.l_shipinstruct", "lineitem.l_shipmode", "lineitem.l_comment"], "Index Cond": "((lineitem.l_suppkey = partsupp.ps_suppkey) AND (lineitem.l_partkey = partsupp.ps_partkey))", "Rows Removed by Index Recheck": 0, "Filter": "((lineitem.l_shipdate >= '1996-01-01'::date) AND (lineitem.l_shipdate < '1997-01-01 00:00:00'::timestamp without time zone))", "Rows Removed by Filter": 6}]}]}]}]}]}]}, "Planning Time": 0.936, "Triggers": [], "Execution Time": 1614.357} diff --git a/dev9/pg9/tpch/sf_10/explain_analyze/15721/21-1.ok b/dev9/pg9/tpch/sf_10/explain_analyze/15721/21-1.ok new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/dev9/pg9/tpch/sf_10/explain_analyze/15721/21-1.res b/dev9/pg9/tpch/sf_10/explain_analyze/15721/21-1.res new file mode 100644 index 0000000000000000000000000000000000000000..bf1a8603c31e4864b5bcd4c128e910e23f702115 --- /dev/null +++ b/dev9/pg9/tpch/sf_10/explain_analyze/15721/21-1.res @@ -0,0 +1 @@ +{"Plan": {"Node Type": "Limit", "Parallel Aware": false, "Startup Cost": 666835.14, "Total Cost": 666835.14, "Plan Rows": 1, "Plan Width": 34, "Actual Startup Time": 11047.294, "Actual Total Time": 11047.305, "Actual Rows": 100, "Actual Loops": 1, "Output": ["supplier.s_name", "(count(*))"], "Plans": [{"Node Type": "Sort", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 666835.14, "Total Cost": 666835.14, "Plan Rows": 1, "Plan Width": 34, "Actual Startup Time": 11047.293, "Actual Total Time": 11047.301, "Actual Rows": 100, "Actual Loops": 1, "Output": ["supplier.s_name", "(count(*))"], "Sort Key": ["(count(*)) DESC", "supplier.s_name"], "Sort Method": "top-N heapsort", "Sort Space Used": 32, "Sort Space Type": "Memory", "Plans": [{"Node Type": "Aggregate", "Strategy": "Sorted", "Partial Mode": "Simple", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 666835.11, "Total Cost": 666835.13, "Plan Rows": 1, "Plan Width": 34, "Actual Startup Time": 11036.069, "Actual Total Time": 11045.444, "Actual Rows": 3988, "Actual Loops": 1, "Output": ["supplier.s_name", "count(*)"], "Group Key": ["supplier.s_name"], "Plans": [{"Node Type": "Sort", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 666835.11, "Total Cost": 666835.11, "Plan Rows": 1, "Plan Width": 26, "Actual Startup Time": 11036.062, "Actual Total Time": 11039.162, "Actual Rows": 39932, "Actual Loops": 1, "Output": ["supplier.s_name"], "Sort Key": ["supplier.s_name"], "Sort Method": "quicksort", "Sort Space Used": 4656, "Sort Space Type": "Memory", "Plans": [{"Node Type": "Nested Loop", "Parent Relationship": "Outer", "Parallel Aware": false, "Join Type": "Anti", "Startup Cost": 1003.46, "Total Cost": 666835.1, "Plan Rows": 1, "Plan Width": 26, "Actual Startup Time": 0.717, "Actual Total Time": 10910.59, "Actual Rows": 39932, "Actual Loops": 1, "Output": ["supplier.s_name"], "Plans": [{"Node Type": "Gather", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 1002.89, "Total Cost": 666832.94, "Plan Rows": 1, "Plan Width": 34, "Actual Startup Time": 0.488, "Actual Total Time": 7144.866, "Actual Rows": 705191, "Actual Loops": 1, "Output": ["supplier.s_name", "l1.l_suppkey", "l1.l_orderkey"], "Workers Planned": 1, "Workers Launched": 1, "Single Copy": false, "Plans": [{"Node Type": "Nested Loop", "Parent Relationship": "Outer", "Parallel Aware": false, "Join Type": "Semi", "Startup Cost": 2.89, "Total Cost": 665832.84, "Plan Rows": 1, "Plan Width": 34, "Actual Startup Time": 0.278, "Actual Total Time": 8614.905, "Actual Rows": 352596, "Actual Loops": 2, "Output": ["supplier.s_name", "l1.l_suppkey", "l1.l_orderkey"], "Join Filter": "(orders.o_orderkey = l2.l_orderkey)", "Rows Removed by Join Filter": 0, "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.484, "Actual Total Time": 10672.132, "Actual Rows": 429951, "Actual Loops": 1}], "Plans": [{"Node Type": "Nested Loop", "Parent Relationship": "Outer", "Parallel Aware": false, "Join Type": "Inner", "Startup Cost": 2.32, "Total Cost": 296278.73, "Plan Rows": 229406, "Plan Width": 38, "Actual Startup Time": 0.249, "Actual Total Time": 6404.239, "Actual Rows": 365736, "Actual Loops": 2, "Output": ["supplier.s_name", "l1.l_suppkey", "l1.l_orderkey", "orders.o_orderkey"], "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.436, "Actual Total Time": 7952.396, "Actual Rows": 445930, "Actual Loops": 1}], "Plans": [{"Node Type": "Nested Loop", "Parent Relationship": "Outer", "Parallel Aware": false, "Join Type": "Inner", "Startup Cost": 1.89, "Total Cost": 69694.0, "Plan Rows": 470467, "Plan Width": 34, "Actual Startup Time": 0.172, "Actual Total Time": 2237.661, "Actual Rows": 756457, "Actual Loops": 2, "Output": ["supplier.s_name", "l1.l_suppkey", "l1.l_orderkey"], "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.3, "Actual Total Time": 3001.759, "Actual Rows": 922486, "Actual Loops": 1}], "Plans": [{"Node Type": "Hash Join", "Parent Relationship": "Outer", "Parallel Aware": false, "Join Type": "Inner", "Startup Cost": 1.32, "Total Cost": 3049.68, "Plan Rows": 2353, "Plan Width": 30, "Actual Startup Time": 0.111, "Actual Total Time": 19.345, "Actual Rows": 1994, "Actual Loops": 2, "Output": ["supplier.s_name", "supplier.s_suppkey"], "Hash Cond": "(supplier.s_nationkey = nation.n_nationkey)", "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.202, "Actual Total Time": 24.693, "Actual Rows": 2430, "Actual Loops": 1}], "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": true, "Relation Name": "supplier", "Schema": "public", "Alias": "supplier", "Startup Cost": 0.0, "Total Cost": 2804.24, "Plan Rows": 58824, "Plan Width": 34, "Actual Startup Time": 0.011, "Actual Total Time": 6.119, "Actual Rows": 50000, "Actual Loops": 2, "Output": ["supplier.s_suppkey", "supplier.s_name", "supplier.s_address", "supplier.s_nationkey", "supplier.s_phone", "supplier.s_acctbal", "supplier.s_comment"], "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.018, "Actual Total Time": 7.802, "Actual Rows": 61100, "Actual Loops": 1}]}, {"Node Type": "Hash", "Parent Relationship": "Inner", "Parallel Aware": false, "Startup Cost": 1.31, "Total Cost": 1.31, "Plan Rows": 1, "Plan Width": 4, "Actual Startup Time": 0.023, "Actual Total Time": 0.023, "Actual Rows": 1, "Actual Loops": 2, "Output": ["nation.n_nationkey"], "Hash Buckets": 1024, "Original Hash Buckets": 1024, "Hash Batches": 1, "Original Hash Batches": 1, "Peak Memory Usage": 9, "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.036, "Actual Total Time": 0.036, "Actual Rows": 1, "Actual Loops": 1}], "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Relation Name": "nation", "Schema": "public", "Alias": "nation", "Startup Cost": 0.0, "Total Cost": 1.31, "Plan Rows": 1, "Plan Width": 4, "Actual Startup Time": 0.018, "Actual Total Time": 0.019, "Actual Rows": 1, "Actual Loops": 2, "Output": ["nation.n_nationkey"], "Filter": "(nation.n_name = 'CHINA'::bpchar)", "Rows Removed by Filter": 24, "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.03, "Actual Total Time": 0.031, "Actual Rows": 1, "Actual Loops": 1}]}]}]}, {"Node Type": "Index Scan", "Parent Relationship": "Inner", "Parallel Aware": false, "Scan Direction": "Forward", "Index Name": "l_sk", "Relation Name": "lineitem", "Schema": "public", "Alias": "l1", "Startup Cost": 0.56, "Total Cost": 26.32, "Plan Rows": 200, "Plan Width": 8, "Actual Startup Time": 0.016, "Actual Total Time": 1.066, "Actual Rows": 379, "Actual Loops": 3988, "Output": ["l1.l_orderkey", "l1.l_partkey", "l1.l_suppkey", "l1.l_linenumber", "l1.l_quantity", "l1.l_extendedprice", "l1.l_discount", "l1.l_tax", "l1.l_returnflag", "l1.l_linestatus", "l1.l_shipdate", "l1.l_commitdate", "l1.l_receiptdate", "l1.l_shipinstruct", "l1.l_shipmode", "l1.l_comment"], "Index Cond": "(l1.l_suppkey = supplier.s_suppkey)", "Rows Removed by Index Recheck": 0, "Filter": "(l1.l_receiptdate > l1.l_commitdate)", "Rows Removed by Filter": 221, "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.018, "Actual Total Time": 1.178, "Actual Rows": 380, "Actual Loops": 2430}]}]}, {"Node Type": "Index Scan", "Parent Relationship": "Inner", "Parallel Aware": false, "Scan Direction": "Forward", "Index Name": "o_ok", "Relation Name": "orders", "Schema": "public", "Alias": "orders", "Startup Cost": 0.43, "Total Cost": 0.47, "Plan Rows": 1, "Plan Width": 4, "Actual Startup Time": 0.005, "Actual Total Time": 0.005, "Actual Rows": 0, "Actual Loops": 1512914, "Output": ["orders.o_orderkey", "orders.o_custkey", "orders.o_orderstatus", "orders.o_totalprice", "orders.o_orderdate", "orders.o_orderpriority", "orders.o_clerk", "orders.o_shippriority", "orders.o_comment"], "Index Cond": "(orders.o_orderkey = l1.l_orderkey)", "Rows Removed by Index Recheck": 0, "Filter": "(orders.o_orderstatus = 'F'::bpchar)", "Rows Removed by Filter": 1, "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.005, "Actual Total Time": 0.005, "Actual Rows": 0, "Actual Loops": 922486}]}]}, {"Node Type": "Index Scan", "Parent Relationship": "Inner", "Parallel Aware": false, "Scan Direction": "Forward", "Index Name": "l_ok", "Relation Name": "lineitem", "Schema": "public", "Alias": "l2", "Startup Cost": 0.56, "Total Cost": 1.24, "Plan Rows": 30, "Plan Width": 8, "Actual Startup Time": 0.006, "Actual Total Time": 0.006, "Actual Rows": 1, "Actual Loops": 731472, "Output": ["l2.l_orderkey", "l2.l_partkey", "l2.l_suppkey", "l2.l_linenumber", "l2.l_quantity", "l2.l_extendedprice", "l2.l_discount", "l2.l_tax", "l2.l_returnflag", "l2.l_linestatus", "l2.l_shipdate", "l2.l_commitdate", "l2.l_receiptdate", "l2.l_shipinstruct", "l2.l_shipmode", "l2.l_comment"], "Index Cond": "(l2.l_orderkey = l1.l_orderkey)", "Rows Removed by Index Recheck": 0, "Filter": "(l2.l_suppkey <> l1.l_suppkey)", "Rows Removed by Filter": 0, "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.006, "Actual Total Time": 0.006, "Actual Rows": 1, "Actual Loops": 445930}]}]}]}, {"Node Type": "Index Scan", "Parent Relationship": "Inner", "Parallel Aware": false, "Scan Direction": "Forward", "Index Name": "l_ok", "Relation Name": "lineitem", "Schema": "public", "Alias": "l3", "Startup Cost": 0.56, "Total Cost": 1.31, "Plan Rows": 10, "Plan Width": 8, "Actual Startup Time": 0.005, "Actual Total Time": 0.005, "Actual Rows": 1, "Actual Loops": 705191, "Output": ["l3.l_orderkey", "l3.l_partkey", "l3.l_suppkey", "l3.l_linenumber", "l3.l_quantity", "l3.l_extendedprice", "l3.l_discount", "l3.l_tax", "l3.l_returnflag", "l3.l_linestatus", "l3.l_shipdate", "l3.l_commitdate", "l3.l_receiptdate", "l3.l_shipinstruct", "l3.l_shipmode", "l3.l_comment"], "Index Cond": "(l3.l_orderkey = l1.l_orderkey)", "Rows Removed by Index Recheck": 0, "Filter": "((l3.l_receiptdate > l3.l_commitdate) AND (l3.l_suppkey <> l1.l_suppkey))", "Rows Removed by Filter": 1}]}]}]}]}]}, "Planning Time": 3.455, "Triggers": [], "Execution Time": 11288.358} diff --git a/dev9/pg9/tpch/sf_10/explain_analyze/15721/22-1.ok b/dev9/pg9/tpch/sf_10/explain_analyze/15721/22-1.ok new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/dev9/pg9/tpch/sf_10/explain_analyze/15721/22-1.res b/dev9/pg9/tpch/sf_10/explain_analyze/15721/22-1.res new file mode 100644 index 0000000000000000000000000000000000000000..df4e6e4210ea6db51765e6ab3b3e7d3cd4ff4e02 --- /dev/null +++ b/dev9/pg9/tpch/sf_10/explain_analyze/15721/22-1.res @@ -0,0 +1 @@ +{"Plan": {"Node Type": "Aggregate", "Strategy": "Sorted", "Partial Mode": "Simple", "Parallel Aware": false, "Startup Cost": 132053.94, "Total Cost": 132261.45, "Plan Rows": 7546, "Plan Width": 72, "Actual Startup Time": 1643.085, "Actual Total Time": 1663.25, "Actual Rows": 7, "Actual Loops": 1, "Output": ["(\"substring\"((customer.c_phone)::text, 1, 2))", "count(*)", "sum(customer.c_acctbal)"], "Group Key": ["(\"substring\"((customer.c_phone)::text, 1, 2))"], "Plans": [{"Node Type": "Aggregate", "Strategy": "Plain", "Partial Mode": "Finalize", "Parent Relationship": "InitPlan", "Subplan Name": "InitPlan 1 (returns $0)", "Parallel Aware": false, "Startup Cost": 46701.04, "Total Cost": 46701.05, "Plan Rows": 1, "Plan Width": 32, "Actual Startup Time": 275.691, "Actual Total Time": 275.692, "Actual Rows": 1, "Actual Loops": 1, "Output": ["avg(customer_1.c_acctbal)"], "Plans": [{"Node Type": "Gather", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 46700.61, "Total Cost": 46701.02, "Plan Rows": 4, "Plan Width": 32, "Actual Startup Time": 275.615, "Actual Total Time": 275.771, "Actual Rows": 5, "Actual Loops": 1, "Output": ["(PARTIAL avg(customer_1.c_acctbal))"], "Workers Planned": 4, "Workers Launched": 4, "Single Copy": false, "Plans": [{"Node Type": "Aggregate", "Strategy": "Plain", "Partial Mode": "Partial", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 45700.61, "Total Cost": 45700.62, "Plan Rows": 1, "Plan Width": 32, "Actual Startup Time": 272.353, "Actual Total Time": 272.354, "Actual Rows": 1, "Actual Loops": 5, "Output": ["PARTIAL avg(customer_1.c_acctbal)"], "Workers": [{"Worker Number": 0, "Actual Startup Time": 271.62, "Actual Total Time": 271.62, "Actual Rows": 1, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 271.612, "Actual Total Time": 271.613, "Actual Rows": 1, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 271.625, "Actual Total Time": 271.625, "Actual Rows": 1, "Actual Loops": 1}, {"Worker Number": 3, "Actual Startup Time": 271.602, "Actual Total Time": 271.603, "Actual Rows": 1, "Actual Loops": 1}], "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": true, "Relation Name": "customer", "Schema": "public", "Alias": "customer_1", "Startup Cost": 0.0, "Total Cost": 45670.75, "Plan Rows": 11942, "Plan Width": 6, "Actual Startup Time": 0.04, "Actual Total Time": 257.422, "Actual Rows": 76349, "Actual Loops": 5, "Output": ["customer_1.c_acctbal"], "Filter": "((customer_1.c_acctbal > 0.00) AND (\"substring\"((customer_1.c_phone)::text, 1, 2) = ANY ('{17,20,25,31,30,11,33}'::text[])))", "Rows Removed by Filter": 223651, "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.043, "Actual Total Time": 257.032, "Actual Rows": 74193, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 0.043, "Actual Total Time": 257.228, "Actual Rows": 73924, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 0.043, "Actual Total Time": 256.998, "Actual Rows": 74463, "Actual Loops": 1}, {"Worker Number": 3, "Actual Startup Time": 0.065, "Actual Total Time": 257.136, "Actual Rows": 74093, "Actual Loops": 1}]}]}]}]}, {"Node Type": "Sort", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 85352.89, "Total Cost": 85371.75, "Plan Rows": 7546, "Plan Width": 38, "Actual Startup Time": 1639.797, "Actual Total Time": 1645.319, "Actual Rows": 64032, "Actual Loops": 1, "Output": ["(\"substring\"((customer.c_phone)::text, 1, 2))", "customer.c_acctbal"], "Sort Key": ["(\"substring\"((customer.c_phone)::text, 1, 2))"], "Sort Method": "quicksort", "Sort Space Used": 4538, "Sort Space Type": "Memory", "Plans": [{"Node Type": "Nested Loop", "Parent Relationship": "Outer", "Parallel Aware": false, "Join Type": "Anti", "Startup Cost": 0.43, "Total Cost": 84866.87, "Plan Rows": 7546, "Plan Width": 38, "Actual Startup Time": 275.718, "Actual Total Time": 1619.192, "Actual Rows": 64032, "Actual Loops": 1, "Output": ["\"substring\"((customer.c_phone)::text, 1, 2)", "customer.c_acctbal"], "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Relation Name": "customer", "Schema": "public", "Alias": "customer", "Startup Cost": 0.0, "Total Cost": 75202.0, "Plan Rows": 17500, "Plan Width": 26, "Actual Startup Time": 275.705, "Actual Total Time": 1113.225, "Actual Rows": 190873, "Actual Loops": 1, "Output": ["customer.c_custkey", "customer.c_name", "customer.c_address", "customer.c_nationkey", "customer.c_phone", "customer.c_acctbal", "customer.c_mktsegment", "customer.c_comment"], "Filter": "((customer.c_acctbal > $0) AND (\"substring\"((customer.c_phone)::text, 1, 2) = ANY ('{17,20,25,31,30,11,33}'::text[])))", "Rows Removed by Filter": 1309127}, {"Node Type": "Index Only Scan", "Parent Relationship": "Inner", "Parallel Aware": false, "Scan Direction": "Forward", "Index Name": "o_ck", "Relation Name": "orders", "Schema": "public", "Alias": "orders", "Startup Cost": 0.43, "Total Cost": 1.66, "Plan Rows": 18, "Plan Width": 4, "Actual Startup Time": 0.002, "Actual Total Time": 0.002, "Actual Rows": 1, "Actual Loops": 190873, "Output": ["orders.o_custkey"], "Index Cond": "(orders.o_custkey = customer.c_custkey)", "Rows Removed by Index Recheck": 0, "Heap Fetches": 0}]}]}]}, "Planning Time": 0.446, "Triggers": [], "Execution Time": 1663.404} diff --git a/dev9/pg9/tpch/sf_10/explain_analyze/15721/3-1.ok b/dev9/pg9/tpch/sf_10/explain_analyze/15721/3-1.ok new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/dev9/pg9/tpch/sf_10/explain_analyze/15721/3-1.res b/dev9/pg9/tpch/sf_10/explain_analyze/15721/3-1.res new file mode 100644 index 0000000000000000000000000000000000000000..a61210368b6ede8caf7036760dd250aed4d17d47 --- /dev/null +++ b/dev9/pg9/tpch/sf_10/explain_analyze/15721/3-1.res @@ -0,0 +1 @@ +{"Plan": {"Node Type": "Limit", "Parallel Aware": false, "Startup Cost": 1609674.73, "Total Cost": 1609674.76, "Plan Rows": 10, "Plan Width": 44, "Actual Startup Time": 4305.033, "Actual Total Time": 4305.035, "Actual Rows": 10, "Actual Loops": 1, "Output": ["lineitem.l_orderkey", "(sum((lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount))))", "orders.o_orderdate", "orders.o_shippriority"], "Plans": [{"Node Type": "Sort", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 1609674.73, "Total Cost": 1617573.51, "Plan Rows": 3159509, "Plan Width": 44, "Actual Startup Time": 4305.032, "Actual Total Time": 4305.034, "Actual Rows": 10, "Actual Loops": 1, "Output": ["lineitem.l_orderkey", "(sum((lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount))))", "orders.o_orderdate", "orders.o_shippriority"], "Sort Key": ["(sum((lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount)))) DESC", "orders.o_orderdate"], "Sort Method": "top-N heapsort", "Sort Space Used": 25, "Sort Space Type": "Memory", "Plans": [{"Node Type": "Aggregate", "Strategy": "Sorted", "Partial Mode": "Simple", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 1446613.61, "Total Cost": 1541398.88, "Plan Rows": 3159509, "Plan Width": 44, "Actual Startup Time": 4024.333, "Actual Total Time": 4278.839, "Actual Rows": 113340, "Actual Loops": 1, "Output": ["lineitem.l_orderkey", "sum((lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount)))", "orders.o_orderdate", "orders.o_shippriority"], "Group Key": ["lineitem.l_orderkey", "orders.o_orderdate", "orders.o_shippriority"], "Plans": [{"Node Type": "Sort", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 1446613.61, "Total Cost": 1454512.38, "Plan Rows": 3159509, "Plan Width": 24, "Actual Startup Time": 4024.303, "Actual Total Time": 4060.799, "Actual Rows": 298749, "Actual Loops": 1, "Output": ["lineitem.l_orderkey", "orders.o_orderdate", "orders.o_shippriority", "lineitem.l_extendedprice", "lineitem.l_discount"], "Sort Key": ["lineitem.l_orderkey", "orders.o_orderdate", "orders.o_shippriority"], "Sort Method": "external merge", "Sort Space Used": 10344, "Sort Space Type": "Disk", "Plans": [{"Node Type": "Gather", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 1001.0, "Total Cost": 1067572.92, "Plan Rows": 3159509, "Plan Width": 24, "Actual Startup Time": 0.554, "Actual Total Time": 4259.185, "Actual Rows": 298749, "Actual Loops": 1, "Output": ["lineitem.l_orderkey", "orders.o_orderdate", "orders.o_shippriority", "lineitem.l_extendedprice", "lineitem.l_discount"], "Workers Planned": 4, "Workers Launched": 4, "Single Copy": false, "Plans": [{"Node Type": "Nested Loop", "Parent Relationship": "Outer", "Parallel Aware": false, "Join Type": "Inner", "Startup Cost": 1.0, "Total Cost": 750622.02, "Plan Rows": 789877, "Plan Width": 24, "Actual Startup Time": 1.016, "Actual Total Time": 3875.668, "Actual Rows": 59750, "Actual Loops": 5, "Output": ["lineitem.l_orderkey", "orders.o_orderdate", "orders.o_shippriority", "lineitem.l_extendedprice", "lineitem.l_discount"], "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.38, "Actual Total Time": 3911.885, "Actual Rows": 58240, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 0.499, "Actual Total Time": 3915.19, "Actual Rows": 58509, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 2.339, "Actual Total Time": 3914.565, "Actual Rows": 57546, "Actual Loops": 1}, {"Worker Number": 3, "Actual Startup Time": 1.733, "Actual Total Time": 3916.569, "Actual Rows": 57737, "Actual Loops": 1}], "Plans": [{"Node Type": "Nested Loop", "Parent Relationship": "Outer", "Parallel Aware": false, "Join Type": "Inner", "Startup Cost": 0.43, "Total Cost": 190367.35, "Plan Rows": 368990, "Plan Width": 12, "Actual Startup Time": 0.137, "Actual Total Time": 1260.883, "Actual Rows": 292930, "Actual Loops": 5, "Output": ["orders.o_orderdate", "orders.o_shippriority", "orders.o_orderkey"], "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.123, "Actual Total Time": 1260.327, "Actual Rows": 285591, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 0.213, "Actual Total Time": 1258.623, "Actual Rows": 286636, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 0.142, "Actual Total Time": 1254.883, "Actual Rows": 283325, "Actual Loops": 1}, {"Worker Number": 3, "Actual Startup Time": 0.182, "Actual Total Time": 1258.718, "Actual Rows": 281323, "Actual Loops": 1}], "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": true, "Relation Name": "customer", "Schema": "public", "Alias": "customer", "Startup Cost": 0.0, "Total Cost": 40514.5, "Plan Rows": 75472, "Plan Width": 4, "Actual Startup Time": 0.029, "Actual Total Time": 97.539, "Actual Rows": 59899, "Actual Loops": 5, "Output": ["customer.c_custkey", "customer.c_name", "customer.c_address", "customer.c_nationkey", "customer.c_phone", "customer.c_acctbal", "customer.c_mktsegment", "customer.c_comment"], "Filter": "(customer.c_mktsegment = 'FURNITURE'::bpchar)", "Rows Removed by Filter": 240101, "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.028, "Actual Total Time": 98.734, "Actual Rows": 58635, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 0.039, "Actual Total Time": 98.252, "Actual Rows": 58517, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 0.03, "Actual Total Time": 98.192, "Actual Rows": 57764, "Actual Loops": 1}, {"Worker Number": 3, "Actual Startup Time": 0.038, "Actual Total Time": 97.939, "Actual Rows": 57379, "Actual Loops": 1}]}, {"Node Type": "Index Scan", "Parent Relationship": "Inner", "Parallel Aware": false, "Scan Direction": "Forward", "Index Name": "o_ck", "Relation Name": "orders", "Schema": "public", "Alias": "orders", "Startup Cost": 0.43, "Total Cost": 1.9, "Plan Rows": 9, "Plan Width": 16, "Actual Startup Time": 0.005, "Actual Total Time": 0.018, "Actual Rows": 5, "Actual Loops": 299496, "Output": ["orders.o_orderkey", "orders.o_custkey", "orders.o_orderstatus", "orders.o_totalprice", "orders.o_orderdate", "orders.o_orderpriority", "orders.o_clerk", "orders.o_shippriority", "orders.o_comment"], "Index Cond": "(orders.o_custkey = customer.c_custkey)", "Rows Removed by Index Recheck": 0, "Filter": "(orders.o_orderdate < '1995-03-20'::date)", "Rows Removed by Filter": 5, "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.005, "Actual Total Time": 0.019, "Actual Rows": 5, "Actual Loops": 58635}, {"Worker Number": 1, "Actual Startup Time": 0.005, "Actual Total Time": 0.019, "Actual Rows": 5, "Actual Loops": 58517}, {"Worker Number": 2, "Actual Startup Time": 0.005, "Actual Total Time": 0.019, "Actual Rows": 5, "Actual Loops": 57764}, {"Worker Number": 3, "Actual Startup Time": 0.005, "Actual Total Time": 0.019, "Actual Rows": 5, "Actual Loops": 57379}]}]}, {"Node Type": "Index Scan", "Parent Relationship": "Inner", "Parallel Aware": false, "Scan Direction": "Forward", "Index Name": "l_ok", "Relation Name": "lineitem", "Schema": "public", "Alias": "lineitem", "Startup Cost": 0.56, "Total Cost": 1.36, "Plan Rows": 16, "Plan Width": 16, "Actual Startup Time": 0.009, "Actual Total Time": 0.009, "Actual Rows": 0, "Actual Loops": 1464651, "Output": ["lineitem.l_orderkey", "lineitem.l_partkey", "lineitem.l_suppkey", "lineitem.l_linenumber", "lineitem.l_quantity", "lineitem.l_extendedprice", "lineitem.l_discount", "lineitem.l_tax", "lineitem.l_returnflag", "lineitem.l_linestatus", "lineitem.l_shipdate", "lineitem.l_commitdate", "lineitem.l_receiptdate", "lineitem.l_shipinstruct", "lineitem.l_shipmode", "lineitem.l_comment"], "Index Cond": "(lineitem.l_orderkey = orders.o_orderkey)", "Rows Removed by Index Recheck": 0, "Filter": "(lineitem.l_shipdate > '1995-03-20'::date)", "Rows Removed by Filter": 4, "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.009, "Actual Total Time": 0.009, "Actual Rows": 0, "Actual Loops": 285591}, {"Worker Number": 1, "Actual Startup Time": 0.009, "Actual Total Time": 0.009, "Actual Rows": 0, "Actual Loops": 286636}, {"Worker Number": 2, "Actual Startup Time": 0.009, "Actual Total Time": 0.009, "Actual Rows": 0, "Actual Loops": 283325}, {"Worker Number": 3, "Actual Startup Time": 0.009, "Actual Total Time": 0.009, "Actual Rows": 0, "Actual Loops": 281323}]}]}]}]}]}]}]}, "Planning Time": 0.93, "Triggers": [], "Execution Time": 4757.609} diff --git a/dev9/pg9/tpch/sf_10/explain_analyze/15721/4-1.ok b/dev9/pg9/tpch/sf_10/explain_analyze/15721/4-1.ok new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/dev9/pg9/tpch/sf_10/explain_analyze/15721/4-1.res b/dev9/pg9/tpch/sf_10/explain_analyze/15721/4-1.res new file mode 100644 index 0000000000000000000000000000000000000000..49ee97c7b57867999b4f9104820bb330a110f581 --- /dev/null +++ b/dev9/pg9/tpch/sf_10/explain_analyze/15721/4-1.res @@ -0,0 +1 @@ +{"Plan": {"Node Type": "Aggregate", "Strategy": "Sorted", "Partial Mode": "Finalize", "Parallel Aware": false, "Startup Cost": 371775.25, "Total Cost": 371775.53, "Plan Rows": 5, "Plan Width": 24, "Actual Startup Time": 1198.575, "Actual Total Time": 1198.583, "Actual Rows": 5, "Actual Loops": 1, "Output": ["orders.o_orderpriority", "count(*)"], "Group Key": ["orders.o_orderpriority"], "Plans": [{"Node Type": "Sort", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 371775.25, "Total Cost": 371775.33, "Plan Rows": 30, "Plan Width": 24, "Actual Startup Time": 1198.571, "Actual Total Time": 1198.575, "Actual Rows": 35, "Actual Loops": 1, "Output": ["orders.o_orderpriority", "(PARTIAL count(*))"], "Sort Key": ["orders.o_orderpriority"], "Sort Method": "quicksort", "Sort Space Used": 27, "Sort Space Type": "Memory", "Plans": [{"Node Type": "Gather", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 371679.15, "Total Cost": 371774.52, "Plan Rows": 30, "Plan Width": 24, "Actual Startup Time": 1179.917, "Actual Total Time": 1396.29, "Actual Rows": 35, "Actual Loops": 1, "Output": ["orders.o_orderpriority", "(PARTIAL count(*))"], "Workers Planned": 6, "Workers Launched": 6, "Single Copy": false, "Plans": [{"Node Type": "Aggregate", "Strategy": "Sorted", "Partial Mode": "Partial", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 370679.15, "Total Cost": 370771.52, "Plan Rows": 5, "Plan Width": 24, "Actual Startup Time": 1171.484, "Actual Total Time": 1184.355, "Actual Rows": 5, "Actual Loops": 7, "Output": ["orders.o_orderpriority", "PARTIAL count(*)"], "Group Key": ["orders.o_orderpriority"], "Workers": [{"Worker Number": 0, "Actual Startup Time": 1170.194, "Actual Total Time": 1182.312, "Actual Rows": 5, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 1169.66, "Actual Total Time": 1181.937, "Actual Rows": 5, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 1169.688, "Actual Total Time": 1181.79, "Actual Rows": 5, "Actual Loops": 1}, {"Worker Number": 3, "Actual Startup Time": 1171.655, "Actual Total Time": 1184.013, "Actual Rows": 5, "Actual Loops": 1}, {"Worker Number": 4, "Actual Startup Time": 1169.55, "Actual Total Time": 1181.631, "Actual Rows": 5, "Actual Loops": 1}, {"Worker Number": 5, "Actual Startup Time": 1170.186, "Actual Total Time": 1180.742, "Actual Rows": 5, "Actual Loops": 1}], "Plans": [{"Node Type": "Sort", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 370679.15, "Total Cost": 370709.92, "Plan Rows": 12309, "Plan Width": 16, "Actual Startup Time": 1168.241, "Actual Total Time": 1174.368, "Actual Rows": 74276, "Actual Loops": 7, "Output": ["orders.o_orderpriority"], "Sort Key": ["orders.o_orderpriority"], "Sort Method": "quicksort", "Sort Space Used": 8004, "Sort Space Type": "Memory", "Workers": [{"Worker Number": 0, "Actual Startup Time": 1167.071, "Actual Total Time": 1172.847, "Actual Rows": 69885, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 1166.601, "Actual Total Time": 1172.394, "Actual Rows": 70770, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 1166.61, "Actual Total Time": 1172.261, "Actual Rows": 70858, "Actual Loops": 1}, {"Worker Number": 3, "Actual Startup Time": 1168.57, "Actual Total Time": 1174.461, "Actual Rows": 71202, "Actual Loops": 1}, {"Worker Number": 4, "Actual Startup Time": 1166.472, "Actual Total Time": 1172.262, "Actual Rows": 70015, "Actual Loops": 1}, {"Worker Number": 5, "Actual Startup Time": 1167.52, "Actual Total Time": 1172.38, "Actual Rows": 62001, "Actual Loops": 1}], "Plans": [{"Node Type": "Nested Loop", "Parent Relationship": "Outer", "Parallel Aware": false, "Join Type": "Semi", "Startup Cost": 0.56, "Total Cost": 369842.91, "Plan Rows": 12309, "Plan Width": 16, "Actual Startup Time": 0.092, "Actual Total Time": 1143.978, "Actual Rows": 74276, "Actual Loops": 7, "Output": ["orders.o_orderpriority"], "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.1, "Actual Total Time": 1143.878, "Actual Rows": 69885, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 0.103, "Actual Total Time": 1144.009, "Actual Rows": 70770, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 0.098, "Actual Total Time": 1143.942, "Actual Rows": 70858, "Actual Loops": 1}, {"Worker Number": 3, "Actual Startup Time": 0.102, "Actual Total Time": 1143.823, "Actual Rows": 71202, "Actual Loops": 1}, {"Worker Number": 4, "Actual Startup Time": 0.109, "Actual Total Time": 1144.006, "Actual Rows": 70015, "Actual Loops": 1}, {"Worker Number": 5, "Actual Startup Time": 0.115, "Actual Total Time": 1145.643, "Actual Rows": 62001, "Actual Loops": 1}], "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": true, "Relation Name": "orders", "Schema": "public", "Alias": "orders", "Startup Cost": 0.0, "Total Cost": 298410.88, "Plan Rows": 93124, "Plan Width": 20, "Actual Startup Time": 0.027, "Actual Total Time": 515.79, "Actual Rows": 81014, "Actual Loops": 7, "Output": ["orders.o_orderkey", "orders.o_custkey", "orders.o_orderstatus", "orders.o_totalprice", "orders.o_orderdate", "orders.o_orderpriority", "orders.o_clerk", "orders.o_shippriority", "orders.o_comment"], "Filter": "((orders.o_orderdate >= '1996-01-01'::date) AND (orders.o_orderdate < '1996-04-01 00:00:00'::timestamp without time zone))", "Rows Removed by Filter": 2061843, "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.029, "Actual Total Time": 510.816, "Actual Rows": 76244, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 0.033, "Actual Total Time": 509.274, "Actual Rows": 77170, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 0.025, "Actual Total Time": 509.885, "Actual Rows": 77380, "Actual Loops": 1}, {"Worker Number": 3, "Actual Startup Time": 0.032, "Actual Total Time": 509.72, "Actual Rows": 77537, "Actual Loops": 1}, {"Worker Number": 4, "Actual Startup Time": 0.033, "Actual Total Time": 509.383, "Actual Rows": 76405, "Actual Loops": 1}, {"Worker Number": 5, "Actual Startup Time": 0.032, "Actual Total Time": 501.729, "Actual Rows": 67643, "Actual Loops": 1}]}, {"Node Type": "Index Scan", "Parent Relationship": "Inner", "Parallel Aware": false, "Scan Direction": "Forward", "Index Name": "l_ok", "Relation Name": "lineitem", "Schema": "public", "Alias": "lineitem", "Startup Cost": 0.56, "Total Cost": 2.37, "Plan Rows": 10, "Plan Width": 4, "Actual Startup Time": 0.007, "Actual Total Time": 0.007, "Actual Rows": 1, "Actual Loops": 567099, "Output": ["lineitem.l_orderkey", "lineitem.l_partkey", "lineitem.l_suppkey", "lineitem.l_linenumber", "lineitem.l_quantity", "lineitem.l_extendedprice", "lineitem.l_discount", "lineitem.l_tax", "lineitem.l_returnflag", "lineitem.l_linestatus", "lineitem.l_shipdate", "lineitem.l_commitdate", "lineitem.l_receiptdate", "lineitem.l_shipinstruct", "lineitem.l_shipmode", "lineitem.l_comment"], "Index Cond": "(lineitem.l_orderkey = orders.o_orderkey)", "Rows Removed by Index Recheck": 0, "Filter": "(lineitem.l_commitdate < lineitem.l_receiptdate)", "Rows Removed by Filter": 1, "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.008, "Actual Total Time": 0.008, "Actual Rows": 1, "Actual Loops": 76244}, {"Worker Number": 1, "Actual Startup Time": 0.008, "Actual Total Time": 0.008, "Actual Rows": 1, "Actual Loops": 77170}, {"Worker Number": 2, "Actual Startup Time": 0.008, "Actual Total Time": 0.008, "Actual Rows": 1, "Actual Loops": 77380}, {"Worker Number": 3, "Actual Startup Time": 0.008, "Actual Total Time": 0.008, "Actual Rows": 1, "Actual Loops": 77537}, {"Worker Number": 4, "Actual Startup Time": 0.008, "Actual Total Time": 0.008, "Actual Rows": 1, "Actual Loops": 76405}, {"Worker Number": 5, "Actual Startup Time": 0.009, "Actual Total Time": 0.009, "Actual Rows": 1, "Actual Loops": 67643}]}]}]}]}]}]}]}, "Planning Time": 0.498, "Triggers": [], "Execution Time": 1396.394} diff --git a/dev9/pg9/tpch/sf_10/explain_analyze/15721/5-1.ok b/dev9/pg9/tpch/sf_10/explain_analyze/15721/5-1.ok new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/dev9/pg9/tpch/sf_10/explain_analyze/15721/5-1.res b/dev9/pg9/tpch/sf_10/explain_analyze/15721/5-1.res new file mode 100644 index 0000000000000000000000000000000000000000..df0b91245f552526bb2c08e40c467a448ab0697d --- /dev/null +++ b/dev9/pg9/tpch/sf_10/explain_analyze/15721/5-1.res @@ -0,0 +1 @@ +{"Plan": {"Node Type": "Sort", "Parallel Aware": false, "Startup Cost": 362404.4, "Total Cost": 362404.47, "Plan Rows": 25, "Plan Width": 58, "Actual Startup Time": 2418.99, "Actual Total Time": 2418.991, "Actual Rows": 5, "Actual Loops": 1, "Output": ["nation.n_name", "(sum((lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount))))"], "Sort Key": ["(sum((lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount)))) DESC"], "Sort Method": "quicksort", "Sort Space Used": 25, "Sort Space Type": "Memory", "Plans": [{"Node Type": "Aggregate", "Strategy": "Sorted", "Partial Mode": "Finalize", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 362402.51, "Total Cost": 362403.82, "Plan Rows": 25, "Plan Width": 58, "Actual Startup Time": 2418.966, "Actual Total Time": 2418.978, "Actual Rows": 5, "Actual Loops": 1, "Output": ["nation.n_name", "sum((lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount)))"], "Group Key": ["nation.n_name"], "Plans": [{"Node Type": "Sort", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 362402.51, "Total Cost": 362402.76, "Plan Rows": 100, "Plan Width": 58, "Actual Startup Time": 2418.958, "Actual Total Time": 2418.959, "Actual Rows": 25, "Actual Loops": 1, "Output": ["nation.n_name", "(PARTIAL sum((lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount))))"], "Sort Key": ["nation.n_name"], "Sort Method": "quicksort", "Sort Space Used": 28, "Sort Space Type": "Memory", "Plans": [{"Node Type": "Gather", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 362162.88, "Total Cost": 362399.19, "Plan Rows": 100, "Plan Width": 58, "Actual Startup Time": 2407.86, "Actual Total Time": 2704.035, "Actual Rows": 25, "Actual Loops": 1, "Output": ["nation.n_name", "(PARTIAL sum((lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount))))"], "Workers Planned": 4, "Workers Launched": 4, "Single Copy": false, "Plans": [{"Node Type": "Aggregate", "Strategy": "Sorted", "Partial Mode": "Partial", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 361162.88, "Total Cost": 361389.19, "Plan Rows": 25, "Plan Width": 58, "Actual Startup Time": 2403.332, "Actual Total Time": 2411.81, "Actual Rows": 5, "Actual Loops": 5, "Output": ["nation.n_name", "PARTIAL sum((lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount)))"], "Group Key": ["nation.n_name"], "Workers": [{"Worker Number": 0, "Actual Startup Time": 2402.929, "Actual Total Time": 2410.708, "Actual Rows": 5, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 2402.235, "Actual Total Time": 2410.351, "Actual Rows": 5, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 2401.932, "Actual Total Time": 2410.045, "Actual Rows": 5, "Actual Loops": 1}, {"Worker Number": 3, "Actual Startup Time": 2402.291, "Actual Total Time": 2409.959, "Actual Rows": 5, "Actual Loops": 1}], "Plans": [{"Node Type": "Sort", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 361162.88, "Total Cost": 361208.08, "Plan Rows": 18080, "Plan Width": 38, "Actual Startup Time": 2401.16, "Actual Total Time": 2402.457, "Actual Rows": 14545, "Actual Loops": 5, "Output": ["nation.n_name", "lineitem.l_extendedprice", "lineitem.l_discount"], "Sort Key": ["nation.n_name"], "Sort Method": "quicksort", "Sort Space Used": 2190, "Sort Space Type": "Memory", "Workers": [{"Worker Number": 0, "Actual Startup Time": 2400.966, "Actual Total Time": 2402.138, "Actual Rows": 13337, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 2400.045, "Actual Total Time": 2401.342, "Actual Rows": 14052, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 2399.768, "Actual Total Time": 2401.052, "Actual Rows": 13964, "Actual Loops": 1}, {"Worker Number": 3, "Actual Startup Time": 2400.335, "Actual Total Time": 2401.477, "Actual Rows": 13178, "Actual Loops": 1}], "Plans": [{"Node Type": "Hash Join", "Parent Relationship": "Outer", "Parallel Aware": false, "Join Type": "Inner", "Startup Cost": 4719.53, "Total Cost": 359884.43, "Plan Rows": 18080, "Plan Width": 38, "Actual Startup Time": 48.801, "Actual Total Time": 2394.433, "Actual Rows": 14545, "Actual Loops": 5, "Output": ["nation.n_name", "lineitem.l_extendedprice", "lineitem.l_discount"], "Hash Cond": "((lineitem.l_suppkey = supplier.s_suppkey) AND (customer.c_nationkey = supplier.s_nationkey))", "Workers": [{"Worker Number": 0, "Actual Startup Time": 50.871, "Actual Total Time": 2393.979, "Actual Rows": 13337, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 50.272, "Actual Total Time": 2393.797, "Actual Rows": 14052, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 50.559, "Actual Total Time": 2393.443, "Actual Rows": 13964, "Actual Loops": 1}, {"Worker Number": 3, "Actual Startup Time": 50.92, "Actual Total Time": 2393.593, "Actual Rows": 13178, "Actual Loops": 1}], "Plans": [{"Node Type": "Nested Loop", "Parent Relationship": "Outer", "Parallel Aware": false, "Join Type": "Inner", "Startup Cost": 3.53, "Total Cost": 351597.68, "Plan Rows": 451994, "Plan Width": 50, "Actual Startup Time": 0.354, "Actual Total Time": 2232.496, "Actual Rows": 363271, "Actual Loops": 5, "Output": ["customer.c_nationkey", "lineitem.l_extendedprice", "lineitem.l_discount", "lineitem.l_suppkey", "nation.n_name", "nation.n_nationkey"], "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.376, "Actual Total Time": 2233.331, "Actual Rows": 330761, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 0.392, "Actual Total Time": 2236.212, "Actual Rows": 355326, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 0.489, "Actual Total Time": 2235.691, "Actual Rows": 351337, "Actual Loops": 1}, {"Worker Number": 3, "Actual Startup Time": 0.443, "Actual Total Time": 2233.777, "Actual Rows": 327208, "Actual Loops": 1}], "Plans": [{"Node Type": "Nested Loop", "Parent Relationship": "Outer", "Parallel Aware": false, "Join Type": "Inner", "Startup Cost": 2.97, "Total Cost": 123598.15, "Plan Rows": 113024, "Plan Width": 38, "Actual Startup Time": 0.276, "Actual Total Time": 1219.788, "Actual Rows": 90894, "Actual Loops": 5, "Output": ["customer.c_nationkey", "orders.o_orderkey", "nation.n_name", "nation.n_nationkey"], "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.28, "Actual Total Time": 1188.568, "Actual Rows": 82544, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 0.294, "Actual Total Time": 1196.383, "Actual Rows": 88965, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 0.393, "Actual Total Time": 1196.896, "Actual Rows": 87790, "Actual Loops": 1}, {"Worker Number": 3, "Actual Startup Time": 0.354, "Actual Total Time": 1189.732, "Actual Rows": 82020, "Actual Loops": 1}], "Plans": [{"Node Type": "Hash Join", "Parent Relationship": "Outer", "Parallel Aware": false, "Join Type": "Inner", "Startup Cost": 2.53, "Total Cost": 41735.78, "Plan Rows": 75000, "Plan Width": 38, "Actual Startup Time": 0.149, "Actual Total Time": 118.92, "Actual Rows": 59887, "Actual Loops": 5, "Output": ["customer.c_custkey", "customer.c_nationkey", "nation.n_name", "nation.n_nationkey"], "Hash Cond": "(customer.c_nationkey = nation.n_nationkey)", "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.173, "Actual Total Time": 116.209, "Actual Rows": 54275, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 0.177, "Actual Total Time": 117.379, "Actual Rows": 58896, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 0.176, "Actual Total Time": 116.767, "Actual Rows": 57998, "Actual Loops": 1}, {"Worker Number": 3, "Actual Startup Time": 0.184, "Actual Total Time": 116.761, "Actual Rows": 54013, "Actual Loops": 1}], "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": true, "Relation Name": "customer", "Schema": "public", "Alias": "customer", "Startup Cost": 0.0, "Total Cost": 39577.0, "Plan Rows": 375000, "Plan Width": 8, "Actual Startup Time": 0.023, "Actual Total Time": 43.195, "Actual Rows": 300000, "Actual Loops": 5, "Output": ["customer.c_custkey", "customer.c_name", "customer.c_address", "customer.c_nationkey", "customer.c_phone", "customer.c_acctbal", "customer.c_mktsegment", "customer.c_comment"], "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.028, "Actual Total Time": 42.777, "Actual Rows": 269928, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 0.027, "Actual Total Time": 45.411, "Actual Rows": 294470, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 0.027, "Actual Total Time": 45.199, "Actual Rows": 291254, "Actual Loops": 1}, {"Worker Number": 3, "Actual Startup Time": 0.028, "Actual Total Time": 42.784, "Actual Rows": 271505, "Actual Loops": 1}]}, {"Node Type": "Hash", "Parent Relationship": "Inner", "Parallel Aware": false, "Startup Cost": 2.47, "Total Cost": 2.47, "Plan Rows": 5, "Plan Width": 30, "Actual Startup Time": 0.066, "Actual Total Time": 0.067, "Actual Rows": 5, "Actual Loops": 5, "Output": ["nation.n_name", "nation.n_nationkey"], "Hash Buckets": 1024, "Original Hash Buckets": 1024, "Hash Batches": 1, "Original Hash Batches": 1, "Peak Memory Usage": 9, "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.072, "Actual Total Time": 0.072, "Actual Rows": 5, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 0.076, "Actual Total Time": 0.076, "Actual Rows": 5, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 0.075, "Actual Total Time": 0.075, "Actual Rows": 5, "Actual Loops": 1}, {"Worker Number": 3, "Actual Startup Time": 0.084, "Actual Total Time": 0.084, "Actual Rows": 5, "Actual Loops": 1}], "Plans": [{"Node Type": "Hash Join", "Parent Relationship": "Outer", "Parallel Aware": false, "Join Type": "Inner", "Startup Cost": 1.07, "Total Cost": 2.47, "Plan Rows": 5, "Plan Width": 30, "Actual Startup Time": 0.056, "Actual Total Time": 0.063, "Actual Rows": 5, "Actual Loops": 5, "Output": ["nation.n_name", "nation.n_nationkey"], "Hash Cond": "(nation.n_regionkey = region.r_regionkey)", "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.061, "Actual Total Time": 0.069, "Actual Rows": 5, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 0.066, "Actual Total Time": 0.072, "Actual Rows": 5, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 0.065, "Actual Total Time": 0.072, "Actual Rows": 5, "Actual Loops": 1}, {"Worker Number": 3, "Actual Startup Time": 0.074, "Actual Total Time": 0.08, "Actual Rows": 5, "Actual Loops": 1}], "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Relation Name": "nation", "Schema": "public", "Alias": "nation", "Startup Cost": 0.0, "Total Cost": 1.25, "Plan Rows": 25, "Plan Width": 34, "Actual Startup Time": 0.028, "Actual Total Time": 0.03, "Actual Rows": 25, "Actual Loops": 5, "Output": ["nation.n_nationkey", "nation.n_name", "nation.n_regionkey", "nation.n_comment"], "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.033, "Actual Total Time": 0.035, "Actual Rows": 25, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 0.033, "Actual Total Time": 0.034, "Actual Rows": 25, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 0.032, "Actual Total Time": 0.033, "Actual Rows": 25, "Actual Loops": 1}, {"Worker Number": 3, "Actual Startup Time": 0.039, "Actual Total Time": 0.043, "Actual Rows": 25, "Actual Loops": 1}]}, {"Node Type": "Hash", "Parent Relationship": "Inner", "Parallel Aware": false, "Startup Cost": 1.06, "Total Cost": 1.06, "Plan Rows": 1, "Plan Width": 4, "Actual Startup Time": 0.016, "Actual Total Time": 0.016, "Actual Rows": 1, "Actual Loops": 5, "Output": ["region.r_regionkey"], "Hash Buckets": 1024, "Original Hash Buckets": 1024, "Hash Batches": 1, "Original Hash Batches": 1, "Peak Memory Usage": 9, "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.016, "Actual Total Time": 0.016, "Actual Rows": 1, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 0.021, "Actual Total Time": 0.021, "Actual Rows": 1, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 0.017, "Actual Total Time": 0.017, "Actual Rows": 1, "Actual Loops": 1}, {"Worker Number": 3, "Actual Startup Time": 0.017, "Actual Total Time": 0.017, "Actual Rows": 1, "Actual Loops": 1}], "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Relation Name": "region", "Schema": "public", "Alias": "region", "Startup Cost": 0.0, "Total Cost": 1.06, "Plan Rows": 1, "Plan Width": 4, "Actual Startup Time": 0.011, "Actual Total Time": 0.012, "Actual Rows": 1, "Actual Loops": 5, "Output": ["region.r_regionkey"], "Filter": "(region.r_name = 'AMERICA'::bpchar)", "Rows Removed by Filter": 4, "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.01, "Actual Total Time": 0.012, "Actual Rows": 1, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 0.017, "Actual Total Time": 0.018, "Actual Rows": 1, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 0.013, "Actual Total Time": 0.014, "Actual Rows": 1, "Actual Loops": 1}, {"Worker Number": 3, "Actual Startup Time": 0.011, "Actual Total Time": 0.012, "Actual Rows": 1, "Actual Loops": 1}]}]}]}]}]}, {"Node Type": "Index Scan", "Parent Relationship": "Inner", "Parallel Aware": false, "Scan Direction": "Forward", "Index Name": "o_ck", "Relation Name": "orders", "Schema": "public", "Alias": "orders", "Startup Cost": 0.43, "Total Cost": 1.06, "Plan Rows": 3, "Plan Width": 8, "Actual Startup Time": 0.009, "Actual Total Time": 0.018, "Actual Rows": 2, "Actual Loops": 299436, "Output": ["orders.o_orderkey", "orders.o_custkey", "orders.o_orderstatus", "orders.o_totalprice", "orders.o_orderdate", "orders.o_orderpriority", "orders.o_clerk", "orders.o_shippriority", "orders.o_comment"], "Index Cond": "(orders.o_custkey = customer.c_custkey)", "Rows Removed by Index Recheck": 0, "Filter": "((orders.o_orderdate >= '1995-01-01'::date) AND (orders.o_orderdate < '1996-01-01 00:00:00'::timestamp without time zone))", "Rows Removed by Filter": 8, "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.009, "Actual Total Time": 0.019, "Actual Rows": 2, "Actual Loops": 54275}, {"Worker Number": 1, "Actual Startup Time": 0.009, "Actual Total Time": 0.018, "Actual Rows": 2, "Actual Loops": 58896}, {"Worker Number": 2, "Actual Startup Time": 0.009, "Actual Total Time": 0.018, "Actual Rows": 2, "Actual Loops": 57998}, {"Worker Number": 3, "Actual Startup Time": 0.009, "Actual Total Time": 0.019, "Actual Rows": 2, "Actual Loops": 54013}]}]}, {"Node Type": "Index Scan", "Parent Relationship": "Inner", "Parallel Aware": false, "Scan Direction": "Forward", "Index Name": "l_ok", "Relation Name": "lineitem", "Schema": "public", "Alias": "lineitem", "Startup Cost": 0.56, "Total Cost": 1.72, "Plan Rows": 30, "Plan Width": 20, "Actual Startup Time": 0.009, "Actual Total Time": 0.01, "Actual Rows": 4, "Actual Loops": 454468, "Output": ["lineitem.l_orderkey", "lineitem.l_partkey", "lineitem.l_suppkey", "lineitem.l_linenumber", "lineitem.l_quantity", "lineitem.l_extendedprice", "lineitem.l_discount", "lineitem.l_tax", "lineitem.l_returnflag", "lineitem.l_linestatus", "lineitem.l_shipdate", "lineitem.l_commitdate", "lineitem.l_receiptdate", "lineitem.l_shipinstruct", "lineitem.l_shipmode", "lineitem.l_comment"], "Index Cond": "(lineitem.l_orderkey = orders.o_orderkey)", "Rows Removed by Index Recheck": 0, "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.01, "Actual Total Time": 0.012, "Actual Rows": 4, "Actual Loops": 82544}, {"Worker Number": 1, "Actual Startup Time": 0.01, "Actual Total Time": 0.011, "Actual Rows": 4, "Actual Loops": 88965}, {"Worker Number": 2, "Actual Startup Time": 0.01, "Actual Total Time": 0.011, "Actual Rows": 4, "Actual Loops": 87790}, {"Worker Number": 3, "Actual Startup Time": 0.011, "Actual Total Time": 0.012, "Actual Rows": 4, "Actual Loops": 82020}]}]}, {"Node Type": "Hash", "Parent Relationship": "Inner", "Parallel Aware": false, "Startup Cost": 3216.0, "Total Cost": 3216.0, "Plan Rows": 100000, "Plan Width": 8, "Actual Startup Time": 47.574, "Actual Total Time": 47.574, "Actual Rows": 100000, "Actual Loops": 5, "Output": ["supplier.s_suppkey", "supplier.s_nationkey"], "Hash Buckets": 131072, "Original Hash Buckets": 131072, "Hash Batches": 1, "Original Hash Batches": 1, "Peak Memory Usage": 4931, "Workers": [{"Worker Number": 0, "Actual Startup Time": 49.241, "Actual Total Time": 49.242, "Actual Rows": 100000, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 49.218, "Actual Total Time": 49.218, "Actual Rows": 100000, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 49.114, "Actual Total Time": 49.114, "Actual Rows": 100000, "Actual Loops": 1}, {"Worker Number": 3, "Actual Startup Time": 49.175, "Actual Total Time": 49.175, "Actual Rows": 100000, "Actual Loops": 1}], "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Relation Name": "supplier", "Schema": "public", "Alias": "supplier", "Startup Cost": 0.0, "Total Cost": 3216.0, "Plan Rows": 100000, "Plan Width": 8, "Actual Startup Time": 0.013, "Actual Total Time": 28.508, "Actual Rows": 100000, "Actual Loops": 5, "Output": ["supplier.s_suppkey", "supplier.s_nationkey"], "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.018, "Actual Total Time": 29.784, "Actual Rows": 100000, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 0.014, "Actual Total Time": 30.069, "Actual Rows": 100000, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 0.015, "Actual Total Time": 29.788, "Actual Rows": 100000, "Actual Loops": 1}, {"Worker Number": 3, "Actual Startup Time": 0.015, "Actual Total Time": 29.939, "Actual Rows": 100000, "Actual Loops": 1}]}]}]}]}]}]}]}]}]}, "Planning Time": 2.252, "Triggers": [], "Execution Time": 2704.206} diff --git a/dev9/pg9/tpch/sf_10/explain_analyze/15721/6-1.ok b/dev9/pg9/tpch/sf_10/explain_analyze/15721/6-1.ok new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/dev9/pg9/tpch/sf_10/explain_analyze/15721/6-1.res b/dev9/pg9/tpch/sf_10/explain_analyze/15721/6-1.res new file mode 100644 index 0000000000000000000000000000000000000000..d6e5f3d24da739928291dd44def25b8736d4f025 --- /dev/null +++ b/dev9/pg9/tpch/sf_10/explain_analyze/15721/6-1.res @@ -0,0 +1 @@ +{"Plan": {"Node Type": "Aggregate", "Strategy": "Plain", "Partial Mode": "Finalize", "Parallel Aware": false, "Startup Cost": 1319168.2, "Total Cost": 1319168.21, "Plan Rows": 1, "Plan Width": 32, "Actual Startup Time": 2653.742, "Actual Total Time": 2653.742, "Actual Rows": 1, "Actual Loops": 1, "Output": ["sum((l_extendedprice * l_discount))"], "Plans": [{"Node Type": "Gather", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 1319167.45, "Total Cost": 1319168.16, "Plan Rows": 7, "Plan Width": 32, "Actual Startup Time": 2653.499, "Actual Total Time": 2955.267, "Actual Rows": 8, "Actual Loops": 1, "Output": ["(PARTIAL sum((l_extendedprice * l_discount)))"], "Workers Planned": 7, "Workers Launched": 7, "Single Copy": false, "Plans": [{"Node Type": "Aggregate", "Strategy": "Plain", "Partial Mode": "Partial", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 1318167.45, "Total Cost": 1318167.46, "Plan Rows": 1, "Plan Width": 32, "Actual Startup Time": 2649.758, "Actual Total Time": 2649.759, "Actual Rows": 1, "Actual Loops": 8, "Output": ["PARTIAL sum((l_extendedprice * l_discount))"], "Workers": [{"Worker Number": 0, "Actual Startup Time": 2649.259, "Actual Total Time": 2649.259, "Actual Rows": 1, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 2649.272, "Actual Total Time": 2649.272, "Actual Rows": 1, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 2649.257, "Actual Total Time": 2649.258, "Actual Rows": 1, "Actual Loops": 1}, {"Worker Number": 3, "Actual Startup Time": 2649.288, "Actual Total Time": 2649.289, "Actual Rows": 1, "Actual Loops": 1}, {"Worker Number": 4, "Actual Startup Time": 2649.276, "Actual Total Time": 2649.276, "Actual Rows": 1, "Actual Loops": 1}, {"Worker Number": 5, "Actual Startup Time": 2649.338, "Actual Total Time": 2649.339, "Actual Rows": 1, "Actual Loops": 1}, {"Worker Number": 6, "Actual Startup Time": 2649.292, "Actual Total Time": 2649.293, "Actual Rows": 1, "Actual Loops": 1}], "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": true, "Relation Name": "lineitem", "Schema": "public", "Alias": "lineitem", "Startup Cost": 0.0, "Total Cost": 1317349.57, "Plan Rows": 163576, "Plan Width": 12, "Actual Startup Time": 0.042, "Actual Total Time": 2589.54, "Actual Rows": 143005, "Actual Loops": 8, "Output": ["l_extendedprice", "l_discount"], "Filter": "((lineitem.l_shipdate >= '1995-01-01'::date) AND (lineitem.l_shipdate < '1996-01-01 00:00:00'::timestamp without time zone) AND (lineitem.l_discount >= 0.04) AND (lineitem.l_discount <= 0.06) AND (lineitem.l_quantity < '24'::numeric))", "Rows Removed by Filter": 7355252, "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.038, "Actual Total Time": 2590.828, "Actual Rows": 137089, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 0.039, "Actual Total Time": 2591.174, "Actual Rows": 137203, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 0.061, "Actual Total Time": 2590.474, "Actual Rows": 137524, "Actual Loops": 1}, {"Worker Number": 3, "Actual Startup Time": 0.042, "Actual Total Time": 2590.775, "Actual Rows": 137776, "Actual Loops": 1}, {"Worker Number": 4, "Actual Startup Time": 0.04, "Actual Total Time": 2590.843, "Actual Rows": 136803, "Actual Loops": 1}, {"Worker Number": 5, "Actual Startup Time": 0.041, "Actual Total Time": 2592.987, "Actual Rows": 131237, "Actual Loops": 1}, {"Worker Number": 6, "Actual Startup Time": 0.05, "Actual Total Time": 2593.43, "Actual Rows": 130808, "Actual Loops": 1}]}]}]}]}, "Planning Time": 0.168, "Triggers": [], "Execution Time": 2955.326} diff --git a/dev9/pg9/tpch/sf_10/explain_analyze/15721/7-1.ok b/dev9/pg9/tpch/sf_10/explain_analyze/15721/7-1.ok new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/dev9/pg9/tpch/sf_10/explain_analyze/15721/7-1.res b/dev9/pg9/tpch/sf_10/explain_analyze/15721/7-1.res new file mode 100644 index 0000000000000000000000000000000000000000..dacadbea28c448883f1b709bd31ce0b4f615207b --- /dev/null +++ b/dev9/pg9/tpch/sf_10/explain_analyze/15721/7-1.res @@ -0,0 +1 @@ +{"Plan": {"Node Type": "Aggregate", "Strategy": "Sorted", "Partial Mode": "Finalize", "Parallel Aware": false, "Startup Cost": 379025.54, "Total Cost": 379353.66, "Plan Rows": 10096, "Plan Width": 92, "Actual Startup Time": 6680.417, "Actual Total Time": 6680.422, "Actual Rows": 4, "Actual Loops": 1, "Output": ["n1.n_name", "n2.n_name", "(date_part('year'::text, (lineitem.l_shipdate)::timestamp without time zone))", "sum((lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount)))"], "Group Key": ["n1.n_name", "n2.n_name", "(date_part('year'::text, (lineitem.l_shipdate)::timestamp without time zone))"], "Plans": [{"Node Type": "Sort", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 379025.54, "Total Cost": 379050.78, "Plan Rows": 10096, "Plan Width": 92, "Actual Startup Time": 6680.41, "Actual Total Time": 6680.411, "Actual Rows": 8, "Actual Loops": 1, "Output": ["n1.n_name", "n2.n_name", "(date_part('year'::text, (lineitem.l_shipdate)::timestamp without time zone))", "(PARTIAL sum((lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount))))"], "Sort Key": ["n1.n_name", "n2.n_name", "(date_part('year'::text, (lineitem.l_shipdate)::timestamp without time zone))"], "Sort Method": "quicksort", "Sort Space Used": 26, "Sort Space Type": "Memory", "Plans": [{"Node Type": "Gather", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 376544.01, "Total Cost": 378354.08, "Plan Rows": 10096, "Plan Width": 92, "Actual Startup Time": 6659.633, "Actual Total Time": 7054.352, "Actual Rows": 8, "Actual Loops": 1, "Output": ["n1.n_name", "n2.n_name", "(date_part('year'::text, (lineitem.l_shipdate)::timestamp without time zone))", "(PARTIAL sum((lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount))))"], "Workers Planned": 1, "Workers Launched": 1, "Single Copy": false, "Plans": [{"Node Type": "Aggregate", "Strategy": "Sorted", "Partial Mode": "Partial", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 375544.01, "Total Cost": 376344.48, "Plan Rows": 10096, "Plan Width": 92, "Actual Startup Time": 6636.1, "Actual Total Time": 6654.609, "Actual Rows": 4, "Actual Loops": 2, "Output": ["n1.n_name", "n2.n_name", "(date_part('year'::text, (lineitem.l_shipdate)::timestamp without time zone))", "PARTIAL sum((lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount)))"], "Group Key": ["n1.n_name", "n2.n_name", "(date_part('year'::text, (lineitem.l_shipdate)::timestamp without time zone))"], "Workers": [{"Worker Number": 0, "Actual Startup Time": 6613.118, "Actual Total Time": 6629.394, "Actual Rows": 4, "Actual Loops": 1}], "Plans": [{"Node Type": "Sort", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 375544.01, "Total Cost": 375633.12, "Plan Rows": 35645, "Plan Width": 72, "Actual Startup Time": 6630.09, "Actual Total Time": 6633.102, "Actual Rows": 28896, "Actual Loops": 2, "Output": ["n1.n_name", "n2.n_name", "(date_part('year'::text, (lineitem.l_shipdate)::timestamp without time zone))", "lineitem.l_extendedprice", "lineitem.l_discount"], "Sort Key": ["n1.n_name", "n2.n_name", "(date_part('year'::text, (lineitem.l_shipdate)::timestamp without time zone))"], "Sort Method": "quicksort", "Sort Space Used": 5262, "Sort Space Type": "Memory", "Workers": [{"Worker Number": 0, "Actual Startup Time": 6607.655, "Actual Total Time": 6610.162, "Actual Rows": 25836, "Actual Loops": 1}], "Plans": [{"Node Type": "Hash Join", "Parent Relationship": "Outer", "Parallel Aware": false, "Join Type": "Inner", "Startup Cost": 202243.67, "Total Cost": 372848.99, "Plan Rows": 35645, "Plan Width": 72, "Actual Startup Time": 2373.23, "Actual Total Time": 6612.184, "Actual Rows": 28896, "Actual Loops": 2, "Output": ["n1.n_name", "n2.n_name", "date_part('year'::text, (lineitem.l_shipdate)::timestamp without time zone)", "lineitem.l_extendedprice", "lineitem.l_discount"], "Hash Cond": "(lineitem.l_orderkey = orders.o_orderkey)", "Join Filter": "(((n1.n_name = 'IRAN'::bpchar) AND (n2.n_name = 'ETHIOPIA'::bpchar)) OR ((n1.n_name = 'ETHIOPIA'::bpchar) AND (n2.n_name = 'IRAN'::bpchar)))", "Rows Removed by Join Filter": 28926, "Workers": [{"Worker Number": 0, "Actual Startup Time": 2396.295, "Actual Total Time": 6591.736, "Actual Rows": 25836, "Actual Loops": 1}], "Plans": [{"Node Type": "Nested Loop", "Parent Relationship": "Outer", "Parallel Aware": false, "Join Type": "Inner", "Startup Cost": 1.96, "Total Cost": 142585.61, "Plan Rows": 856532, "Plan Width": 46, "Actual Startup Time": 0.234, "Actual Total Time": 3795.344, "Actual Rows": 725418, "Actual Loops": 2, "Output": ["lineitem.l_shipdate", "lineitem.l_extendedprice", "lineitem.l_discount", "lineitem.l_orderkey", "n1.n_name"], "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.417, "Actual Total Time": 3787.673, "Actual Rows": 647868, "Actual Loops": 1}], "Plans": [{"Node Type": "Hash Join", "Parent Relationship": "Outer", "Parallel Aware": false, "Join Type": "Inner", "Startup Cost": 1.4, "Total Cost": 3073.29, "Plan Rows": 4706, "Plan Width": 30, "Actual Startup Time": 0.072, "Actual Total Time": 18.453, "Actual Rows": 3984, "Actual Loops": 2, "Output": ["supplier.s_suppkey", "n1.n_name"], "Hash Cond": "(supplier.s_nationkey = n1.n_nationkey)", "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.122, "Actual Total Time": 18.577, "Actual Rows": 3553, "Actual Loops": 1}], "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": true, "Relation Name": "supplier", "Schema": "public", "Alias": "supplier", "Startup Cost": 0.0, "Total Cost": 2804.24, "Plan Rows": 58824, "Plan Width": 8, "Actual Startup Time": 0.015, "Actual Total Time": 6.441, "Actual Rows": 50000, "Actual Loops": 2, "Output": ["supplier.s_suppkey", "supplier.s_name", "supplier.s_address", "supplier.s_nationkey", "supplier.s_phone", "supplier.s_acctbal", "supplier.s_comment"], "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.027, "Actual Total Time": 6.396, "Actual Rows": 45314, "Actual Loops": 1}]}, {"Node Type": "Hash", "Parent Relationship": "Inner", "Parallel Aware": false, "Startup Cost": 1.38, "Total Cost": 1.38, "Plan Rows": 2, "Plan Width": 30, "Actual Startup Time": 0.025, "Actual Total Time": 0.025, "Actual Rows": 2, "Actual Loops": 2, "Output": ["n1.n_name", "n1.n_nationkey"], "Hash Buckets": 1024, "Original Hash Buckets": 1024, "Hash Batches": 1, "Original Hash Batches": 1, "Peak Memory Usage": 9, "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.036, "Actual Total Time": 0.036, "Actual Rows": 2, "Actual Loops": 1}], "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Relation Name": "nation", "Schema": "public", "Alias": "n1", "Startup Cost": 0.0, "Total Cost": 1.38, "Plan Rows": 2, "Plan Width": 30, "Actual Startup Time": 0.017, "Actual Total Time": 0.022, "Actual Rows": 2, "Actual Loops": 2, "Output": ["n1.n_name", "n1.n_nationkey"], "Filter": "((n1.n_name = 'IRAN'::bpchar) OR (n1.n_name = 'ETHIOPIA'::bpchar))", "Rows Removed by Filter": 23, "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.028, "Actual Total Time": 0.032, "Actual Rows": 2, "Actual Loops": 1}]}]}]}, {"Node Type": "Index Scan", "Parent Relationship": "Inner", "Parallel Aware": false, "Scan Direction": "Forward", "Index Name": "l_sk", "Relation Name": "lineitem", "Schema": "public", "Alias": "lineitem", "Startup Cost": 0.56, "Total Cost": 27.83, "Plan Rows": 182, "Plan Width": 24, "Actual Startup Time": 0.017, "Actual Total Time": 0.925, "Actual Rows": 182, "Actual Loops": 7968, "Output": ["lineitem.l_orderkey", "lineitem.l_partkey", "lineitem.l_suppkey", "lineitem.l_linenumber", "lineitem.l_quantity", "lineitem.l_extendedprice", "lineitem.l_discount", "lineitem.l_tax", "lineitem.l_returnflag", "lineitem.l_linestatus", "lineitem.l_shipdate", "lineitem.l_commitdate", "lineitem.l_receiptdate", "lineitem.l_shipinstruct", "lineitem.l_shipmode", "lineitem.l_comment"], "Index Cond": "(lineitem.l_suppkey = supplier.s_suppkey)", "Rows Removed by Index Recheck": 0, "Filter": "((lineitem.l_shipdate >= '1995-01-01'::date) AND (lineitem.l_shipdate <= '1996-12-31'::date))", "Rows Removed by Filter": 417, "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.02, "Actual Total Time": 1.037, "Actual Rows": 182, "Actual Loops": 3553}]}]}, {"Node Type": "Hash", "Parent Relationship": "Inner", "Parallel Aware": false, "Startup Cost": 179039.16, "Total Cost": 179039.16, "Plan Rows": 1199964, "Plan Width": 30, "Actual Startup Time": 2366.353, "Actual Total Time": 2366.353, "Actual Rows": 1203123, "Actual Loops": 2, "Output": ["orders.o_orderkey", "n2.n_name"], "Hash Buckets": 524288, "Original Hash Buckets": 524288, "Hash Batches": 8, "Original Hash Batches": 8, "Peak Memory Usage": 13199, "Workers": [{"Worker Number": 0, "Actual Startup Time": 2384.548, "Actual Total Time": 2384.548, "Actual Rows": 1203123, "Actual Loops": 1}], "Plans": [{"Node Type": "Nested Loop", "Parent Relationship": "Outer", "Parallel Aware": false, "Join Type": "Inner", "Startup Cost": 640.76, "Total Cost": 179039.16, "Plan Rows": 1199964, "Plan Width": 30, "Actual Startup Time": 16.5, "Actual Total Time": 2095.837, "Actual Rows": 1203123, "Actual Loops": 2, "Output": ["orders.o_orderkey", "n2.n_name"], "Workers": [{"Worker Number": 0, "Actual Startup Time": 17.752, "Actual Total Time": 2114.828, "Actual Rows": 1203123, "Actual Loops": 1}], "Plans": [{"Node Type": "Nested Loop", "Parent Relationship": "Outer", "Parallel Aware": false, "Join Type": "Inner", "Startup Cost": 640.33, "Total Cost": 40859.37, "Plan Rows": 120000, "Plan Width": 30, "Actual Startup Time": 16.457, "Actual Total Time": 177.862, "Actual Rows": 120572, "Actual Loops": 2, "Output": ["customer.c_custkey", "n2.n_name"], "Workers": [{"Worker Number": 0, "Actual Startup Time": 17.678, "Actual Total Time": 184.661, "Actual Rows": 120572, "Actual Loops": 1}], "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Relation Name": "nation", "Schema": "public", "Alias": "n2", "Startup Cost": 0.0, "Total Cost": 1.38, "Plan Rows": 2, "Plan Width": 30, "Actual Startup Time": 0.004, "Actual Total Time": 0.021, "Actual Rows": 2, "Actual Loops": 2, "Output": ["n2.n_nationkey", "n2.n_name", "n2.n_regionkey", "n2.n_comment"], "Filter": "((n2.n_name = 'ETHIOPIA'::bpchar) OR (n2.n_name = 'IRAN'::bpchar))", "Rows Removed by Filter": 23, "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.005, "Actual Total Time": 0.019, "Actual Rows": 2, "Actual Loops": 1}]}, {"Node Type": "Bitmap Heap Scan", "Parent Relationship": "Inner", "Parallel Aware": false, "Relation Name": "customer", "Schema": "public", "Alias": "customer", "Startup Cost": 640.33, "Total Cost": 19829.0, "Plan Rows": 60000, "Plan Width": 8, "Actual Startup Time": 16.116, "Actual Total Time": 80.104, "Actual Rows": 60286, "Actual Loops": 4, "Output": ["customer.c_custkey", "customer.c_name", "customer.c_address", "customer.c_nationkey", "customer.c_phone", "customer.c_acctbal", "customer.c_mktsegment", "customer.c_comment"], "Recheck Cond": "(customer.c_nationkey = n2.n_nationkey)", "Rows Removed by Index Recheck": 0, "Exact Heap Blocks": 58834, "Lossy Heap Blocks": 0, "Workers": [{"Worker Number": 0, "Actual Startup Time": 17.037, "Actual Total Time": 83.29, "Actual Rows": 60286, "Actual Loops": 2}], "Plans": [{"Node Type": "Bitmap Index Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Index Name": "c_nk", "Startup Cost": 0.0, "Total Cost": 625.33, "Plan Rows": 60000, "Plan Width": 0, "Actual Startup Time": 8.905, "Actual Total Time": 8.905, "Actual Rows": 60286, "Actual Loops": 4, "Index Cond": "(customer.c_nationkey = n2.n_nationkey)", "Workers": [{"Worker Number": 0, "Actual Startup Time": 9.773, "Actual Total Time": 9.773, "Actual Rows": 60286, "Actual Loops": 2}]}]}]}, {"Node Type": "Index Scan", "Parent Relationship": "Inner", "Parallel Aware": false, "Scan Direction": "Forward", "Index Name": "o_ck", "Relation Name": "orders", "Schema": "public", "Alias": "orders", "Startup Cost": 0.43, "Total Cost": 0.97, "Plan Rows": 18, "Plan Width": 8, "Actual Startup Time": 0.004, "Actual Total Time": 0.014, "Actual Rows": 10, "Actual Loops": 241144, "Output": ["orders.o_orderkey", "orders.o_custkey", "orders.o_orderstatus", "orders.o_totalprice", "orders.o_orderdate", "orders.o_orderpriority", "orders.o_clerk", "orders.o_shippriority", "orders.o_comment"], "Index Cond": "(orders.o_custkey = customer.c_custkey)", "Rows Removed by Index Recheck": 0, "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.004, "Actual Total Time": 0.014, "Actual Rows": 10, "Actual Loops": 120572}]}]}]}]}]}]}]}]}]}, "Planning Time": 1.859, "Triggers": [], "Execution Time": 7054.593} diff --git a/dev9/pg9/tpch/sf_10/explain_analyze/15721/8-1.ok b/dev9/pg9/tpch/sf_10/explain_analyze/15721/8-1.ok new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/dev9/pg9/tpch/sf_10/explain_analyze/15721/8-1.res b/dev9/pg9/tpch/sf_10/explain_analyze/15721/8-1.res new file mode 100644 index 0000000000000000000000000000000000000000..3854d92719a27764f20fede453c93655353e5051 --- /dev/null +++ b/dev9/pg9/tpch/sf_10/explain_analyze/15721/8-1.res @@ -0,0 +1 @@ +{"Plan": {"Node Type": "Aggregate", "Strategy": "Sorted", "Partial Mode": "Finalize", "Parallel Aware": false, "Startup Cost": 220762.45, "Total Cost": 220960.95, "Plan Rows": 2406, "Plan Width": 40, "Actual Startup Time": 1186.827, "Actual Total Time": 1186.833, "Actual Rows": 2, "Actual Loops": 1, "Output": ["(date_part('year'::text, (orders.o_orderdate)::timestamp without time zone))", "(sum(CASE WHEN (n2.n_name = 'ETHIOPIA'::bpchar) THEN (lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount)) ELSE '0'::numeric END) / sum((lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount))))"], "Group Key": ["(date_part('year'::text, (orders.o_orderdate)::timestamp without time zone))"], "Plans": [{"Node Type": "Sort", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 220762.45, "Total Cost": 220786.51, "Plan Rows": 9624, "Plan Width": 72, "Actual Startup Time": 1186.778, "Actual Total Time": 1186.78, "Actual Rows": 10, "Actual Loops": 1, "Output": ["(date_part('year'::text, (orders.o_orderdate)::timestamp without time zone))", "(PARTIAL sum(CASE WHEN (n2.n_name = 'ETHIOPIA'::bpchar) THEN (lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount)) ELSE '0'::numeric END))", "(PARTIAL sum((lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount))))"], "Sort Key": ["(date_part('year'::text, (orders.o_orderdate)::timestamp without time zone))"], "Sort Method": "quicksort", "Sort Space Used": 26, "Sort Space Type": "Memory", "Plans": [{"Node Type": "Gather", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 218977.26, "Total Cost": 220125.71, "Plan Rows": 9624, "Plan Width": 72, "Actual Startup Time": 1183.716, "Actual Total Time": 1455.746, "Actual Rows": 10, "Actual Loops": 1, "Output": ["(date_part('year'::text, (orders.o_orderdate)::timestamp without time zone))", "(PARTIAL sum(CASE WHEN (n2.n_name = 'ETHIOPIA'::bpchar) THEN (lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount)) ELSE '0'::numeric END))", "(PARTIAL sum((lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount))))"], "Workers Planned": 4, "Workers Launched": 4, "Single Copy": false, "Plans": [{"Node Type": "Aggregate", "Strategy": "Sorted", "Partial Mode": "Partial", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 217977.26, "Total Cost": 218163.31, "Plan Rows": 2406, "Plan Width": 72, "Actual Startup Time": 1178.258, "Actual Total Time": 1180.492, "Actual Rows": 2, "Actual Loops": 5, "Output": ["(date_part('year'::text, (orders.o_orderdate)::timestamp without time zone))", "PARTIAL sum(CASE WHEN (n2.n_name = 'ETHIOPIA'::bpchar) THEN (lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount)) ELSE '0'::numeric END)", "PARTIAL sum((lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount)))"], "Group Key": ["(date_part('year'::text, (orders.o_orderdate)::timestamp without time zone))"], "Workers": [{"Worker Number": 0, "Actual Startup Time": 1177.099, "Actual Total Time": 1179.12, "Actual Rows": 2, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 1177.407, "Actual Total Time": 1179.472, "Actual Rows": 2, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 1176.865, "Actual Total Time": 1178.903, "Actual Rows": 2, "Actual Loops": 1}, {"Worker Number": 3, "Actual Startup Time": 1176.939, "Actual Total Time": 1178.972, "Actual Rows": 2, "Actual Loops": 1}], "Plans": [{"Node Type": "Sort", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 217977.26, "Total Cost": 217992.59, "Plan Rows": 6130, "Plan Width": 46, "Actual Startup Time": 1175.888, "Actual Total Time": 1176.37, "Actual Rows": 4974, "Actual Loops": 5, "Output": ["(date_part('year'::text, (orders.o_orderdate)::timestamp without time zone))", "n2.n_name", "lineitem.l_extendedprice", "lineitem.l_discount"], "Sort Key": ["(date_part('year'::text, (orders.o_orderdate)::timestamp without time zone))"], "Sort Method": "quicksort", "Sort Space Used": 701, "Sort Space Type": "Memory", "Workers": [{"Worker Number": 0, "Actual Startup Time": 1174.965, "Actual Total Time": 1175.385, "Actual Rows": 4560, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 1175.245, "Actual Total Time": 1175.658, "Actual Rows": 4630, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 1174.729, "Actual Total Time": 1175.119, "Actual Rows": 4568, "Actual Loops": 1}, {"Worker Number": 3, "Actual Startup Time": 1174.785, "Actual Total Time": 1175.178, "Actual Rows": 4607, "Actual Loops": 1}], "Plans": [{"Node Type": "Hash Join", "Parent Relationship": "Outer", "Parallel Aware": false, "Join Type": "Inner", "Startup Cost": 5.81, "Total Cost": 217591.64, "Plan Rows": 6130, "Plan Width": 46, "Actual Startup Time": 2.25, "Actual Total Time": 1173.93, "Actual Rows": 4974, "Actual Loops": 5, "Output": ["date_part('year'::text, (orders.o_orderdate)::timestamp without time zone)", "n2.n_name", "lineitem.l_extendedprice", "lineitem.l_discount"], "Hash Cond": "(supplier.s_nationkey = n2.n_nationkey)", "Workers": [{"Worker Number": 0, "Actual Startup Time": 1.418, "Actual Total Time": 1173.308, "Actual Rows": 4560, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 5.223, "Actual Total Time": 1173.505, "Actual Rows": 4630, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 3.887, "Actual Total Time": 1172.998, "Actual Rows": 4568, "Actual Loops": 1}, {"Worker Number": 3, "Actual Startup Time": 0.598, "Actual Total Time": 1173.031, "Actual Rows": 4607, "Actual Loops": 1}], "Plans": [{"Node Type": "Nested Loop", "Parent Relationship": "Outer", "Parallel Aware": false, "Join Type": "Inner", "Startup Cost": 4.25, "Total Cost": 217475.14, "Plan Rows": 6130, "Plan Width": 20, "Actual Startup Time": 2.147, "Actual Total Time": 1170.712, "Actual Rows": 4974, "Actual Loops": 5, "Output": ["lineitem.l_extendedprice", "lineitem.l_discount", "supplier.s_nationkey", "orders.o_orderdate"], "Workers": [{"Worker Number": 0, "Actual Startup Time": 1.301, "Actual Total Time": 1170.309, "Actual Rows": 4560, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 5.096, "Actual Total Time": 1170.473, "Actual Rows": 4630, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 3.777, "Actual Total Time": 1170.028, "Actual Rows": 4568, "Actual Loops": 1}, {"Worker Number": 3, "Actual Startup Time": 0.474, "Actual Total Time": 1170.015, "Actual Rows": 4607, "Actual Loops": 1}], "Plans": [{"Node Type": "Hash Join", "Parent Relationship": "Outer", "Parallel Aware": false, "Join Type": "Inner", "Startup Cost": 3.96, "Total Cost": 215513.26, "Plan Rows": 6130, "Plan Width": 20, "Actual Startup Time": 2.099, "Actual Total Time": 1149.627, "Actual Rows": 4974, "Actual Loops": 5, "Output": ["lineitem.l_extendedprice", "lineitem.l_discount", "lineitem.l_suppkey", "orders.o_orderdate"], "Hash Cond": "(customer.c_nationkey = n1.n_nationkey)", "Workers": [{"Worker Number": 0, "Actual Startup Time": 1.244, "Actual Total Time": 1151.089, "Actual Rows": 4560, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 5.042, "Actual Total Time": 1151.002, "Actual Rows": 4630, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 3.726, "Actual Total Time": 1150.745, "Actual Rows": 4568, "Actual Loops": 1}, {"Worker Number": 3, "Actual Startup Time": 0.406, "Actual Total Time": 1150.437, "Actual Rows": 4607, "Actual Loops": 1}], "Plans": [{"Node Type": "Nested Loop", "Parent Relationship": "Outer", "Parallel Aware": false, "Join Type": "Inner", "Startup Cost": 1.43, "Total Cost": 215334.48, "Plan Rows": 30652, "Plan Width": 24, "Actual Startup Time": 0.443, "Actual Total Time": 1144.648, "Actual Rows": 24632, "Actual Loops": 5, "Output": ["lineitem.l_extendedprice", "lineitem.l_discount", "lineitem.l_suppkey", "orders.o_orderdate", "customer.c_nationkey"], "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.722, "Actual Total Time": 1146.436, "Actual Rows": 22897, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 0.572, "Actual Total Time": 1146.378, "Actual Rows": 22904, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 0.521, "Actual Total Time": 1146.135, "Actual Rows": 22557, "Actual Loops": 1}, {"Worker Number": 3, "Actual Startup Time": 0.345, "Actual Total Time": 1145.795, "Actual Rows": 22461, "Actual Loops": 1}], "Plans": [{"Node Type": "Nested Loop", "Parent Relationship": "Outer", "Parallel Aware": false, "Join Type": "Inner", "Startup Cost": 1.0, "Total Cost": 201089.99, "Plan Rows": 30652, "Plan Width": 24, "Actual Startup Time": 0.377, "Actual Total Time": 996.312, "Actual Rows": 24632, "Actual Loops": 5, "Output": ["lineitem.l_extendedprice", "lineitem.l_discount", "lineitem.l_suppkey", "orders.o_orderdate", "orders.o_custkey"], "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.661, "Actual Total Time": 1007.071, "Actual Rows": 22897, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 0.471, "Actual Total Time": 1007.329, "Actual Rows": 22904, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 0.45, "Actual Total Time": 1007.071, "Actual Rows": 22557, "Actual Loops": 1}, {"Worker Number": 3, "Actual Startup Time": 0.261, "Actual Total Time": 1007.272, "Actual Rows": 22461, "Actual Loops": 1}], "Plans": [{"Node Type": "Nested Loop", "Parent Relationship": "Outer", "Parallel Aware": false, "Join Type": "Inner", "Startup Cost": 0.56, "Total Cost": 152994.24, "Plan Rows": 101674, "Plan Width": 20, "Actual Startup Time": 0.184, "Actual Total Time": 427.31, "Actual Rows": 80815, "Actual Loops": 5, "Output": ["lineitem.l_extendedprice", "lineitem.l_discount", "lineitem.l_suppkey", "lineitem.l_orderkey"], "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.229, "Actual Total Time": 458.869, "Actual Rows": 75165, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 0.235, "Actual Total Time": 460.041, "Actual Rows": 75044, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 0.266, "Actual Total Time": 459.582, "Actual Rows": 74132, "Actual Loops": 1}, {"Worker Number": 3, "Actual Startup Time": 0.157, "Actual Total Time": 457.752, "Actual Rows": 74185, "Actual Loops": 1}], "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": true, "Relation Name": "part", "Schema": "public", "Alias": "part", "Startup Cost": 0.0, "Total Cost": 47212.0, "Plan Rows": 3390, "Plan Width": 4, "Actual Startup Time": 0.077, "Actual Total Time": 85.602, "Actual Rows": 2697, "Actual Loops": 5, "Output": ["part.p_partkey", "part.p_name", "part.p_mfgr", "part.p_brand", "part.p_type", "part.p_size", "part.p_container", "part.p_retailprice", "part.p_comment"], "Filter": "((part.p_type)::text = 'SMALL BRUSHED NICKEL'::text)", "Rows Removed by Filter": 397303, "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.104, "Actual Total Time": 77.722, "Actual Rows": 2497, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 0.104, "Actual Total Time": 80.349, "Actual Rows": 2501, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 0.134, "Actual Total Time": 79.309, "Actual Rows": 2471, "Actual Loops": 1}, {"Worker Number": 3, "Actual Startup Time": 0.032, "Actual Total Time": 77.775, "Actual Rows": 2481, "Actual Loops": 1}]}, {"Node Type": "Index Scan", "Parent Relationship": "Inner", "Parallel Aware": false, "Scan Direction": "Forward", "Index Name": "l_pk", "Relation Name": "lineitem", "Schema": "public", "Alias": "lineitem", "Startup Cost": 0.56, "Total Cost": 30.89, "Plan Rows": 31, "Plan Width": 24, "Actual Startup Time": 0.013, "Actual Total Time": 0.119, "Actual Rows": 30, "Actual Loops": 13487, "Output": ["lineitem.l_orderkey", "lineitem.l_partkey", "lineitem.l_suppkey", "lineitem.l_linenumber", "lineitem.l_quantity", "lineitem.l_extendedprice", "lineitem.l_discount", "lineitem.l_tax", "lineitem.l_returnflag", "lineitem.l_linestatus", "lineitem.l_shipdate", "lineitem.l_commitdate", "lineitem.l_receiptdate", "lineitem.l_shipinstruct", "lineitem.l_shipmode", "lineitem.l_comment"], "Index Cond": "(lineitem.l_partkey = part.p_partkey)", "Rows Removed by Index Recheck": 0, "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.015, "Actual Total Time": 0.145, "Actual Rows": 30, "Actual Loops": 2497}, {"Worker Number": 1, "Actual Startup Time": 0.015, "Actual Total Time": 0.145, "Actual Rows": 30, "Actual Loops": 2501}, {"Worker Number": 2, "Actual Startup Time": 0.015, "Actual Total Time": 0.146, "Actual Rows": 30, "Actual Loops": 2471}, {"Worker Number": 3, "Actual Startup Time": 0.015, "Actual Total Time": 0.146, "Actual Rows": 30, "Actual Loops": 2481}]}]}, {"Node Type": "Index Scan", "Parent Relationship": "Inner", "Parallel Aware": false, "Scan Direction": "Forward", "Index Name": "o_ok", "Relation Name": "orders", "Schema": "public", "Alias": "orders", "Startup Cost": 0.43, "Total Cost": 0.46, "Plan Rows": 1, "Plan Width": 12, "Actual Startup Time": 0.007, "Actual Total Time": 0.007, "Actual Rows": 0, "Actual Loops": 404076, "Output": ["orders.o_orderkey", "orders.o_custkey", "orders.o_orderstatus", "orders.o_totalprice", "orders.o_orderdate", "orders.o_orderpriority", "orders.o_clerk", "orders.o_shippriority", "orders.o_comment"], "Index Cond": "(orders.o_orderkey = lineitem.l_orderkey)", "Rows Removed by Index Recheck": 0, "Filter": "((orders.o_orderdate >= '1995-01-01'::date) AND (orders.o_orderdate <= '1996-12-31'::date))", "Rows Removed by Filter": 1, "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.007, "Actual Total Time": 0.007, "Actual Rows": 0, "Actual Loops": 75165}, {"Worker Number": 1, "Actual Startup Time": 0.007, "Actual Total Time": 0.007, "Actual Rows": 0, "Actual Loops": 75044}, {"Worker Number": 2, "Actual Startup Time": 0.007, "Actual Total Time": 0.007, "Actual Rows": 0, "Actual Loops": 74132}, {"Worker Number": 3, "Actual Startup Time": 0.007, "Actual Total Time": 0.007, "Actual Rows": 0, "Actual Loops": 74185}]}]}, {"Node Type": "Index Scan", "Parent Relationship": "Inner", "Parallel Aware": false, "Scan Direction": "Forward", "Index Name": "c_ck", "Relation Name": "customer", "Schema": "public", "Alias": "customer", "Startup Cost": 0.43, "Total Cost": 0.45, "Plan Rows": 1, "Plan Width": 8, "Actual Startup Time": 0.005, "Actual Total Time": 0.006, "Actual Rows": 1, "Actual Loops": 123159, "Output": ["customer.c_custkey", "customer.c_name", "customer.c_address", "customer.c_nationkey", "customer.c_phone", "customer.c_acctbal", "customer.c_mktsegment", "customer.c_comment"], "Index Cond": "(customer.c_custkey = orders.o_custkey)", "Rows Removed by Index Recheck": 0, "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.005, "Actual Total Time": 0.006, "Actual Rows": 1, "Actual Loops": 22897}, {"Worker Number": 1, "Actual Startup Time": 0.005, "Actual Total Time": 0.006, "Actual Rows": 1, "Actual Loops": 22904}, {"Worker Number": 2, "Actual Startup Time": 0.006, "Actual Total Time": 0.006, "Actual Rows": 1, "Actual Loops": 22557}, {"Worker Number": 3, "Actual Startup Time": 0.006, "Actual Total Time": 0.006, "Actual Rows": 1, "Actual Loops": 22461}]}]}, {"Node Type": "Hash", "Parent Relationship": "Inner", "Parallel Aware": false, "Startup Cost": 2.47, "Total Cost": 2.47, "Plan Rows": 5, "Plan Width": 4, "Actual Startup Time": 0.039, "Actual Total Time": 0.039, "Actual Rows": 5, "Actual Loops": 5, "Output": ["n1.n_nationkey"], "Hash Buckets": 1024, "Original Hash Buckets": 1024, "Hash Batches": 1, "Original Hash Batches": 1, "Peak Memory Usage": 9, "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.043, "Actual Total Time": 0.043, "Actual Rows": 5, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 0.042, "Actual Total Time": 0.042, "Actual Rows": 5, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 0.043, "Actual Total Time": 0.044, "Actual Rows": 5, "Actual Loops": 1}, {"Worker Number": 3, "Actual Startup Time": 0.048, "Actual Total Time": 0.048, "Actual Rows": 5, "Actual Loops": 1}], "Plans": [{"Node Type": "Hash Join", "Parent Relationship": "Outer", "Parallel Aware": false, "Join Type": "Inner", "Startup Cost": 1.07, "Total Cost": 2.47, "Plan Rows": 5, "Plan Width": 4, "Actual Startup Time": 0.031, "Actual Total Time": 0.037, "Actual Rows": 5, "Actual Loops": 5, "Output": ["n1.n_nationkey"], "Hash Cond": "(n1.n_regionkey = region.r_regionkey)", "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.035, "Actual Total Time": 0.039, "Actual Rows": 5, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 0.033, "Actual Total Time": 0.04, "Actual Rows": 5, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 0.034, "Actual Total Time": 0.041, "Actual Rows": 5, "Actual Loops": 1}, {"Worker Number": 3, "Actual Startup Time": 0.039, "Actual Total Time": 0.045, "Actual Rows": 5, "Actual Loops": 1}], "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Relation Name": "nation", "Schema": "public", "Alias": "n1", "Startup Cost": 0.0, "Total Cost": 1.25, "Plan Rows": 25, "Plan Width": 8, "Actual Startup Time": 0.002, "Actual Total Time": 0.003, "Actual Rows": 25, "Actual Loops": 5, "Output": ["n1.n_nationkey", "n1.n_name", "n1.n_regionkey", "n1.n_comment"], "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.002, "Actual Total Time": 0.002, "Actual Rows": 25, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 0.001, "Actual Total Time": 0.004, "Actual Rows": 25, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 0.002, "Actual Total Time": 0.002, "Actual Rows": 25, "Actual Loops": 1}, {"Worker Number": 3, "Actual Startup Time": 0.002, "Actual Total Time": 0.004, "Actual Rows": 25, "Actual Loops": 1}]}, {"Node Type": "Hash", "Parent Relationship": "Inner", "Parallel Aware": false, "Startup Cost": 1.06, "Total Cost": 1.06, "Plan Rows": 1, "Plan Width": 4, "Actual Startup Time": 0.019, "Actual Total Time": 0.019, "Actual Rows": 1, "Actual Loops": 5, "Output": ["region.r_regionkey"], "Hash Buckets": 1024, "Original Hash Buckets": 1024, "Hash Batches": 1, "Original Hash Batches": 1, "Peak Memory Usage": 9, "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.021, "Actual Total Time": 0.021, "Actual Rows": 1, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 0.021, "Actual Total Time": 0.021, "Actual Rows": 1, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 0.022, "Actual Total Time": 0.022, "Actual Rows": 1, "Actual Loops": 1}, {"Worker Number": 3, "Actual Startup Time": 0.026, "Actual Total Time": 0.026, "Actual Rows": 1, "Actual Loops": 1}], "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Relation Name": "region", "Schema": "public", "Alias": "region", "Startup Cost": 0.0, "Total Cost": 1.06, "Plan Rows": 1, "Plan Width": 4, "Actual Startup Time": 0.014, "Actual Total Time": 0.015, "Actual Rows": 1, "Actual Loops": 5, "Output": ["region.r_regionkey"], "Filter": "(region.r_name = 'AFRICA'::bpchar)", "Rows Removed by Filter": 4, "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.016, "Actual Total Time": 0.017, "Actual Rows": 1, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 0.015, "Actual Total Time": 0.017, "Actual Rows": 1, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 0.016, "Actual Total Time": 0.017, "Actual Rows": 1, "Actual Loops": 1}, {"Worker Number": 3, "Actual Startup Time": 0.02, "Actual Total Time": 0.022, "Actual Rows": 1, "Actual Loops": 1}]}]}]}]}]}, {"Node Type": "Index Scan", "Parent Relationship": "Inner", "Parallel Aware": false, "Scan Direction": "Forward", "Index Name": "s_sk", "Relation Name": "supplier", "Schema": "public", "Alias": "supplier", "Startup Cost": 0.29, "Total Cost": 0.31, "Plan Rows": 1, "Plan Width": 8, "Actual Startup Time": 0.004, "Actual Total Time": 0.004, "Actual Rows": 1, "Actual Loops": 24872, "Output": ["supplier.s_suppkey", "supplier.s_name", "supplier.s_address", "supplier.s_nationkey", "supplier.s_phone", "supplier.s_acctbal", "supplier.s_comment"], "Index Cond": "(supplier.s_suppkey = lineitem.l_suppkey)", "Rows Removed by Index Recheck": 0, "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.004, "Actual Total Time": 0.004, "Actual Rows": 1, "Actual Loops": 4560}, {"Worker Number": 1, "Actual Startup Time": 0.004, "Actual Total Time": 0.004, "Actual Rows": 1, "Actual Loops": 4630}, {"Worker Number": 2, "Actual Startup Time": 0.004, "Actual Total Time": 0.004, "Actual Rows": 1, "Actual Loops": 4568}, {"Worker Number": 3, "Actual Startup Time": 0.004, "Actual Total Time": 0.004, "Actual Rows": 1, "Actual Loops": 4607}]}]}, {"Node Type": "Hash", "Parent Relationship": "Inner", "Parallel Aware": false, "Startup Cost": 1.25, "Total Cost": 1.25, "Plan Rows": 25, "Plan Width": 30, "Actual Startup Time": 0.042, "Actual Total Time": 0.042, "Actual Rows": 25, "Actual Loops": 5, "Output": ["n2.n_name", "n2.n_nationkey"], "Hash Buckets": 1024, "Original Hash Buckets": 1024, "Hash Batches": 1, "Original Hash Batches": 1, "Peak Memory Usage": 10, "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.048, "Actual Total Time": 0.048, "Actual Rows": 25, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 0.053, "Actual Total Time": 0.053, "Actual Rows": 25, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 0.043, "Actual Total Time": 0.043, "Actual Rows": 25, "Actual Loops": 1}, {"Worker Number": 3, "Actual Startup Time": 0.049, "Actual Total Time": 0.049, "Actual Rows": 25, "Actual Loops": 1}], "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Relation Name": "nation", "Schema": "public", "Alias": "n2", "Startup Cost": 0.0, "Total Cost": 1.25, "Plan Rows": 25, "Plan Width": 30, "Actual Startup Time": 0.026, "Actual Total Time": 0.032, "Actual Rows": 25, "Actual Loops": 5, "Output": ["n2.n_name", "n2.n_nationkey"], "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.031, "Actual Total Time": 0.038, "Actual Rows": 25, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 0.033, "Actual Total Time": 0.038, "Actual Rows": 25, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 0.026, "Actual Total Time": 0.033, "Actual Rows": 25, "Actual Loops": 1}, {"Worker Number": 3, "Actual Startup Time": 0.035, "Actual Total Time": 0.038, "Actual Rows": 25, "Actual Loops": 1}]}]}]}]}]}]}]}]}, "Planning Time": 2.543, "Triggers": [], "Execution Time": 1455.963} diff --git a/dev9/pg9/tpch/sf_10/explain_analyze/15721/9-1.ok b/dev9/pg9/tpch/sf_10/explain_analyze/15721/9-1.ok new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/dev9/pg9/tpch/sf_10/explain_analyze/15721/9-1.res b/dev9/pg9/tpch/sf_10/explain_analyze/15721/9-1.res new file mode 100644 index 0000000000000000000000000000000000000000..227965f72beb639da6cb9ff9c460a059331da272 --- /dev/null +++ b/dev9/pg9/tpch/sf_10/explain_analyze/15721/9-1.res @@ -0,0 +1 @@ +{"Plan": {"Node Type": "Sort", "Parallel Aware": false, "Startup Cost": 518431.86, "Total Cost": 518582.24, "Plan Rows": 60150, "Plan Width": 66, "Actual Startup Time": 7241.385, "Actual Total Time": 7241.396, "Actual Rows": 175, "Actual Loops": 1, "Output": ["nation.n_name", "(date_part('year'::text, (orders.o_orderdate)::timestamp without time zone))", "(sum(((lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount)) - (partsupp.ps_supplycost * lineitem.l_quantity))))"], "Sort Key": ["nation.n_name", "(date_part('year'::text, (orders.o_orderdate)::timestamp without time zone)) DESC"], "Sort Method": "quicksort", "Sort Space Used": 49, "Sort Space Type": "Memory", "Plans": [{"Node Type": "Aggregate", "Strategy": "Hashed", "Partial Mode": "Finalize", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 512604.45, "Total Cost": 513657.07, "Plan Rows": 60150, "Plan Width": 66, "Actual Startup Time": 7240.936, "Actual Total Time": 7241.099, "Actual Rows": 175, "Actual Loops": 1, "Output": ["nation.n_name", "(date_part('year'::text, (orders.o_orderdate)::timestamp without time zone))", "sum(((lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount)) - (partsupp.ps_supplycost * lineitem.l_quantity)))"], "Group Key": ["nation.n_name", "(date_part('year'::text, (orders.o_orderdate)::timestamp without time zone))"], "Plans": [{"Node Type": "Gather", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 485085.82, "Total Cost": 510198.45, "Plan Rows": 240600, "Plan Width": 66, "Actual Startup Time": 7239.013, "Actual Total Time": 7855.772, "Actual Rows": 875, "Actual Loops": 1, "Output": ["nation.n_name", "(date_part('year'::text, (orders.o_orderdate)::timestamp without time zone))", "(PARTIAL sum(((lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount)) - (partsupp.ps_supplycost * lineitem.l_quantity))))"], "Workers Planned": 4, "Workers Launched": 4, "Single Copy": false, "Plans": [{"Node Type": "Aggregate", "Strategy": "Hashed", "Partial Mode": "Partial", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 484085.82, "Total Cost": 485138.45, "Plan Rows": 60150, "Plan Width": 66, "Actual Startup Time": 7234.938, "Actual Total Time": 7235.146, "Actual Rows": 175, "Actual Loops": 5, "Output": ["nation.n_name", "(date_part('year'::text, (orders.o_orderdate)::timestamp without time zone))", "PARTIAL sum(((lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount)) - (partsupp.ps_supplycost * lineitem.l_quantity)))"], "Group Key": ["nation.n_name", "date_part('year'::text, (orders.o_orderdate)::timestamp without time zone)"], "Workers": [{"Worker Number": 0, "Actual Startup Time": 7234.17, "Actual Total Time": 7234.375, "Actual Rows": 175, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 7234.712, "Actual Total Time": 7234.914, "Actual Rows": 175, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 7233.481, "Actual Total Time": 7233.695, "Actual Rows": 175, "Actual Loops": 1}, {"Worker Number": 3, "Actual Startup Time": 7234.043, "Actual Total Time": 7234.243, "Actual Rows": 175, "Actual Loops": 1}], "Plans": [{"Node Type": "Nested Loop", "Parent Relationship": "Outer", "Parallel Aware": false, "Join Type": "Inner", "Startup Cost": 4468.99, "Total Cost": 472515.7, "Plan Rows": 661150, "Plan Width": 57, "Actual Startup Time": 50.783, "Actual Total Time": 6330.946, "Actual Rows": 650972, "Actual Loops": 5, "Output": ["nation.n_name", "date_part('year'::text, (orders.o_orderdate)::timestamp without time zone)", "lineitem.l_extendedprice", "lineitem.l_discount", "partsupp.ps_supplycost", "lineitem.l_quantity"], "Workers": [{"Worker Number": 0, "Actual Startup Time": 52.564, "Actual Total Time": 6334.043, "Actual Rows": 649529, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 52.564, "Actual Total Time": 6326.339, "Actual Rows": 649800, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 52.552, "Actual Total Time": 6335.986, "Actual Rows": 644044, "Actual Loops": 1}, {"Worker Number": 3, "Actual Startup Time": 52.656, "Actual Total Time": 6343.092, "Actual Rows": 641829, "Actual Loops": 1}], "Plans": [{"Node Type": "Nested Loop", "Parent Relationship": "Outer", "Parallel Aware": false, "Join Type": "Inner", "Startup Cost": 4468.56, "Total Cost": 159766.04, "Plan Rows": 661150, "Plan Width": 53, "Actual Startup Time": 50.714, "Actual Total Time": 2451.434, "Actual Rows": 650972, "Actual Loops": 5, "Output": ["lineitem.l_extendedprice", "lineitem.l_discount", "lineitem.l_quantity", "lineitem.l_orderkey", "partsupp.ps_supplycost", "nation.n_name"], "Join Filter": "(supplier.s_suppkey = lineitem.l_suppkey)", "Rows Removed by Join Filter": 0, "Workers": [{"Worker Number": 0, "Actual Startup Time": 52.479, "Actual Total Time": 2548.037, "Actual Rows": 649529, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 52.476, "Actual Total Time": 2544.381, "Actual Rows": 649800, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 52.476, "Actual Total Time": 2545.566, "Actual Rows": 644044, "Actual Loops": 1}, {"Worker Number": 3, "Actual Startup Time": 52.575, "Actual Total Time": 2553.422, "Actual Rows": 641829, "Actual Loops": 1}], "Plans": [{"Node Type": "Hash Join", "Parent Relationship": "Outer", "Parallel Aware": false, "Join Type": "Inner", "Startup Cost": 4467.99, "Total Cost": 91451.33, "Plan Rows": 88178, "Plan Width": 48, "Actual Startup Time": 50.642, "Actual Total Time": 444.24, "Actual Rows": 86834, "Actual Loops": 5, "Output": ["part.p_partkey", "partsupp.ps_supplycost", "partsupp.ps_suppkey", "partsupp.ps_partkey", "supplier.s_suppkey", "nation.n_name"], "Hash Cond": "(supplier.s_nationkey = nation.n_nationkey)", "Workers": [{"Worker Number": 0, "Actual Startup Time": 52.399, "Actual Total Time": 449.602, "Actual Rows": 86660, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 52.393, "Actual Total Time": 450.487, "Actual Rows": 86696, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 52.385, "Actual Total Time": 448.595, "Actual Rows": 85764, "Actual Loops": 1}, {"Worker Number": 3, "Actual Startup Time": 52.49, "Actual Total Time": 449.445, "Actual Rows": 85692, "Actual Loops": 1}], "Plans": [{"Node Type": "Hash Join", "Parent Relationship": "Outer", "Parallel Aware": false, "Join Type": "Inner", "Startup Cost": 4466.43, "Total Cost": 90237.32, "Plan Rows": 88178, "Plan Width": 26, "Actual Startup Time": 50.56, "Actual Total Time": 414.431, "Actual Rows": 86834, "Actual Loops": 5, "Output": ["part.p_partkey", "partsupp.ps_supplycost", "partsupp.ps_suppkey", "partsupp.ps_partkey", "supplier.s_suppkey", "supplier.s_nationkey"], "Hash Cond": "(partsupp.ps_suppkey = supplier.s_suppkey)", "Workers": [{"Worker Number": 0, "Actual Startup Time": 52.304, "Actual Total Time": 419.766, "Actual Rows": 86660, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 52.308, "Actual Total Time": 420.984, "Actual Rows": 86696, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 52.298, "Actual Total Time": 419.087, "Actual Rows": 85764, "Actual Loops": 1}, {"Worker Number": 3, "Actual Startup Time": 52.395, "Actual Total Time": 419.575, "Actual Rows": 85692, "Actual Loops": 1}], "Plans": [{"Node Type": "Nested Loop", "Parent Relationship": "Outer", "Parallel Aware": false, "Join Type": "Inner", "Startup Cost": 0.43, "Total Cost": 84558.88, "Plan Rows": 88178, "Plan Width": 18, "Actual Startup Time": 0.095, "Actual Total Time": 306.318, "Actual Rows": 86834, "Actual Loops": 5, "Output": ["part.p_partkey", "partsupp.ps_supplycost", "partsupp.ps_suppkey", "partsupp.ps_partkey"], "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.114, "Actual Total Time": 309.095, "Actual Rows": 86660, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 0.108, "Actual Total Time": 310.89, "Actual Rows": 86696, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 0.108, "Actual Total Time": 308.939, "Actual Rows": 85764, "Actual Loops": 1}, {"Worker Number": 3, "Actual Startup Time": 0.129, "Actual Total Time": 309.35, "Actual Rows": 85692, "Actual Loops": 1}], "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": true, "Relation Name": "part", "Schema": "public", "Alias": "part", "Startup Cost": 0.0, "Total Cost": 47212.0, "Plan Rows": 22044, "Plan Width": 4, "Actual Startup Time": 0.024, "Actual Total Time": 133.897, "Actual Rows": 21709, "Actual Loops": 5, "Output": ["part.p_partkey", "part.p_name", "part.p_mfgr", "part.p_brand", "part.p_type", "part.p_size", "part.p_container", "part.p_retailprice", "part.p_comment"], "Filter": "((part.p_name)::text ~~ '%forest%'::text)", "Rows Removed by Filter": 378291, "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.029, "Actual Total Time": 134.732, "Actual Rows": 21665, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 0.024, "Actual Total Time": 135.43, "Actual Rows": 21674, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 0.027, "Actual Total Time": 134.298, "Actual Rows": 21441, "Actual Loops": 1}, {"Worker Number": 3, "Actual Startup Time": 0.034, "Actual Total Time": 134.795, "Actual Rows": 21423, "Actual Loops": 1}]}, {"Node Type": "Index Scan", "Parent Relationship": "Inner", "Parallel Aware": false, "Scan Direction": "Forward", "Index Name": "ps_pk", "Relation Name": "partsupp", "Schema": "public", "Alias": "partsupp", "Startup Cost": 0.43, "Total Cost": 1.65, "Plan Rows": 4, "Plan Width": 14, "Actual Startup Time": 0.006, "Actual Total Time": 0.007, "Actual Rows": 4, "Actual Loops": 108543, "Output": ["partsupp.ps_partkey", "partsupp.ps_suppkey", "partsupp.ps_availqty", "partsupp.ps_supplycost", "partsupp.ps_comment"], "Index Cond": "(partsupp.ps_partkey = part.p_partkey)", "Rows Removed by Index Recheck": 0, "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.006, "Actual Total Time": 0.007, "Actual Rows": 4, "Actual Loops": 21665}, {"Worker Number": 1, "Actual Startup Time": 0.006, "Actual Total Time": 0.007, "Actual Rows": 4, "Actual Loops": 21674}, {"Worker Number": 2, "Actual Startup Time": 0.006, "Actual Total Time": 0.007, "Actual Rows": 4, "Actual Loops": 21441}, {"Worker Number": 3, "Actual Startup Time": 0.006, "Actual Total Time": 0.007, "Actual Rows": 4, "Actual Loops": 21423}]}]}, {"Node Type": "Hash", "Parent Relationship": "Inner", "Parallel Aware": false, "Startup Cost": 3216.0, "Total Cost": 3216.0, "Plan Rows": 100000, "Plan Width": 8, "Actual Startup Time": 49.647, "Actual Total Time": 49.647, "Actual Rows": 100000, "Actual Loops": 5, "Output": ["supplier.s_suppkey", "supplier.s_nationkey"], "Hash Buckets": 131072, "Original Hash Buckets": 131072, "Hash Batches": 1, "Original Hash Batches": 1, "Peak Memory Usage": 4931, "Workers": [{"Worker Number": 0, "Actual Startup Time": 51.514, "Actual Total Time": 51.514, "Actual Rows": 100000, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 51.505, "Actual Total Time": 51.505, "Actual Rows": 100000, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 51.5, "Actual Total Time": 51.5, "Actual Rows": 100000, "Actual Loops": 1}, {"Worker Number": 3, "Actual Startup Time": 51.587, "Actual Total Time": 51.587, "Actual Rows": 100000, "Actual Loops": 1}], "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Relation Name": "supplier", "Schema": "public", "Alias": "supplier", "Startup Cost": 0.0, "Total Cost": 3216.0, "Plan Rows": 100000, "Plan Width": 8, "Actual Startup Time": 0.013, "Actual Total Time": 31.288, "Actual Rows": 100000, "Actual Loops": 5, "Output": ["supplier.s_suppkey", "supplier.s_nationkey"], "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.015, "Actual Total Time": 33.708, "Actual Rows": 100000, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 0.015, "Actual Total Time": 33.589, "Actual Rows": 100000, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 0.015, "Actual Total Time": 33.181, "Actual Rows": 100000, "Actual Loops": 1}, {"Worker Number": 3, "Actual Startup Time": 0.017, "Actual Total Time": 33.525, "Actual Rows": 100000, "Actual Loops": 1}]}]}]}, {"Node Type": "Hash", "Parent Relationship": "Inner", "Parallel Aware": false, "Startup Cost": 1.25, "Total Cost": 1.25, "Plan Rows": 25, "Plan Width": 30, "Actual Startup Time": 0.039, "Actual Total Time": 0.039, "Actual Rows": 25, "Actual Loops": 5, "Output": ["nation.n_name", "nation.n_nationkey"], "Hash Buckets": 1024, "Original Hash Buckets": 1024, "Hash Batches": 1, "Original Hash Batches": 1, "Peak Memory Usage": 10, "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.047, "Actual Total Time": 0.047, "Actual Rows": 25, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 0.039, "Actual Total Time": 0.039, "Actual Rows": 25, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 0.04, "Actual Total Time": 0.04, "Actual Rows": 25, "Actual Loops": 1}, {"Worker Number": 3, "Actual Startup Time": 0.046, "Actual Total Time": 0.046, "Actual Rows": 25, "Actual Loops": 1}], "Plans": [{"Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Relation Name": "nation", "Schema": "public", "Alias": "nation", "Startup Cost": 0.0, "Total Cost": 1.25, "Plan Rows": 25, "Plan Width": 30, "Actual Startup Time": 0.02, "Actual Total Time": 0.025, "Actual Rows": 25, "Actual Loops": 5, "Output": ["nation.n_name", "nation.n_nationkey"], "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.024, "Actual Total Time": 0.027, "Actual Rows": 25, "Actual Loops": 1}, {"Worker Number": 1, "Actual Startup Time": 0.023, "Actual Total Time": 0.028, "Actual Rows": 25, "Actual Loops": 1}, {"Worker Number": 2, "Actual Startup Time": 0.023, "Actual Total Time": 0.027, "Actual Rows": 25, "Actual Loops": 1}, {"Worker Number": 3, "Actual Startup Time": 0.026, "Actual Total Time": 0.033, "Actual Rows": 25, "Actual Loops": 1}]}]}]}, {"Node Type": "Index Scan", "Parent Relationship": "Inner", "Parallel Aware": false, "Scan Direction": "Forward", "Index Name": "l_sk_pk", "Relation Name": "lineitem", "Schema": "public", "Alias": "lineitem", "Startup Cost": 0.56, "Total Cost": 0.76, "Plan Rows": 1, "Plan Width": 29, "Actual Startup Time": 0.008, "Actual Total Time": 0.021, "Actual Rows": 7, "Actual Loops": 434172, "Output": ["lineitem.l_orderkey", "lineitem.l_partkey", "lineitem.l_suppkey", "lineitem.l_linenumber", "lineitem.l_quantity", "lineitem.l_extendedprice", "lineitem.l_discount", "lineitem.l_tax", "lineitem.l_returnflag", "lineitem.l_linestatus", "lineitem.l_shipdate", "lineitem.l_commitdate", "lineitem.l_receiptdate", "lineitem.l_shipinstruct", "lineitem.l_shipmode", "lineitem.l_comment"], "Index Cond": "((lineitem.l_suppkey = partsupp.ps_suppkey) AND (lineitem.l_partkey = partsupp.ps_partkey))", "Rows Removed by Index Recheck": 0, "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.008, "Actual Total Time": 0.022, "Actual Rows": 7, "Actual Loops": 86660}, {"Worker Number": 1, "Actual Startup Time": 0.008, "Actual Total Time": 0.022, "Actual Rows": 7, "Actual Loops": 86696}, {"Worker Number": 2, "Actual Startup Time": 0.008, "Actual Total Time": 0.022, "Actual Rows": 8, "Actual Loops": 85764}, {"Worker Number": 3, "Actual Startup Time": 0.008, "Actual Total Time": 0.022, "Actual Rows": 7, "Actual Loops": 85692}]}]}, {"Node Type": "Index Scan", "Parent Relationship": "Inner", "Parallel Aware": false, "Scan Direction": "Forward", "Index Name": "o_ok", "Relation Name": "orders", "Schema": "public", "Alias": "orders", "Startup Cost": 0.43, "Total Cost": 0.46, "Plan Rows": 1, "Plan Width": 8, "Actual Startup Time": 0.005, "Actual Total Time": 0.005, "Actual Rows": 1, "Actual Loops": 3254858, "Output": ["orders.o_orderkey", "orders.o_custkey", "orders.o_orderstatus", "orders.o_totalprice", "orders.o_orderdate", "orders.o_orderpriority", "orders.o_clerk", "orders.o_shippriority", "orders.o_comment"], "Index Cond": "(orders.o_orderkey = lineitem.l_orderkey)", "Rows Removed by Index Recheck": 0, "Workers": [{"Worker Number": 0, "Actual Startup Time": 0.005, "Actual Total Time": 0.005, "Actual Rows": 1, "Actual Loops": 649529}, {"Worker Number": 1, "Actual Startup Time": 0.005, "Actual Total Time": 0.005, "Actual Rows": 1, "Actual Loops": 649800}, {"Worker Number": 2, "Actual Startup Time": 0.005, "Actual Total Time": 0.005, "Actual Rows": 1, "Actual Loops": 644044}, {"Worker Number": 3, "Actual Startup Time": 0.005, "Actual Total Time": 0.005, "Actual Rows": 1, "Actual Loops": 641829}]}]}]}]}]}]}, "Planning Time": 9.047, "Triggers": [], "Execution Time": 7858.086} diff --git a/dev9/spec/cpuinfo.txt b/dev9/spec/cpuinfo.txt new file mode 100644 index 0000000000000000000000000000000000000000..d35354742d6d009064cc7553433c9b9d5117f67c --- /dev/null +++ b/dev9/spec/cpuinfo.txt @@ -0,0 +1,2240 @@ +processor : 0 +vendor_id : GenuineIntel +cpu family : 6 +model : 85 +model name : Intel(R) Xeon(R) Gold 5218R CPU @ 2.10GHz +stepping : 7 +microcode : 0x5003707 +cpu MHz : 2100.000 +cache size : 28160 KB +physical id : 0 +siblings : 40 +core id : 0 +cpu cores : 20 +apicid : 0 +initial apicid : 0 +fpu : yes +fpu_exception : yes +cpuid level : 22 +wp : yes +flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx pdpe1gb rdtscp lm constant_tsc art arch_perfmon pebs bts rep_good nopl xtopology nonstop_tsc cpuid aperfmperf pni pclmulqdq dtes64 monitor ds_cpl vmx smx est tm2 ssse3 sdbg fma cx16 xtpr pdcm pcid dca sse4_1 sse4_2 x2apic movbe popcnt tsc_deadline_timer aes xsave avx f16c rdrand lahf_lm abm 3dnowprefetch cpuid_fault epb cat_l3 cdp_l3 invpcid_single intel_ppin ssbd mba ibrs ibpb stibp ibrs_enhanced tpr_shadow vnmi flexpriority ept vpid ept_ad fsgsbase tsc_adjust bmi1 avx2 smep bmi2 erms invpcid cqm mpx rdt_a avx512f avx512dq rdseed adx smap clflushopt clwb intel_pt avx512cd avx512bw avx512vl xsaveopt xsavec xgetbv1 xsaves cqm_llc cqm_occup_llc cqm_mbm_total cqm_mbm_local dtherm ida arat pln pts pku ospke avx512_vnni md_clear flush_l1d arch_capabilities +vmx flags : vnmi preemption_timer posted_intr invvpid ept_x_only ept_ad ept_1gb flexpriority apicv tsc_offset vtpr mtf vapic ept vpid unrestricted_guest vapic_reg vid ple shadow_vmcs pml ept_mode_based_exec tsc_scaling +bugs : spectre_v1 spectre_v2 spec_store_bypass swapgs taa itlb_multihit mmio_stale_data retbleed eibrs_pbrsb gds bhi +bogomips : 4200.00 +clflush size : 64 +cache_alignment : 64 +address sizes : 46 bits physical, 48 bits virtual +power management: + +processor : 1 +vendor_id : GenuineIntel +cpu family : 6 +model : 85 +model name : Intel(R) Xeon(R) Gold 5218R CPU @ 2.10GHz +stepping : 7 +microcode : 0x5003707 +cpu MHz : 2100.000 +cache size : 28160 KB +physical id : 0 +siblings : 40 +core id : 1 +cpu cores : 20 +apicid : 2 +initial apicid : 2 +fpu : yes +fpu_exception : yes +cpuid level : 22 +wp : yes +flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx pdpe1gb rdtscp lm constant_tsc art arch_perfmon pebs bts rep_good nopl xtopology nonstop_tsc cpuid aperfmperf pni pclmulqdq dtes64 monitor ds_cpl vmx smx est tm2 ssse3 sdbg fma cx16 xtpr pdcm pcid dca sse4_1 sse4_2 x2apic movbe popcnt tsc_deadline_timer aes xsave avx f16c rdrand lahf_lm abm 3dnowprefetch cpuid_fault epb cat_l3 cdp_l3 invpcid_single intel_ppin ssbd mba ibrs ibpb stibp ibrs_enhanced tpr_shadow vnmi flexpriority ept vpid ept_ad fsgsbase tsc_adjust bmi1 avx2 smep bmi2 erms invpcid cqm mpx rdt_a avx512f avx512dq rdseed adx smap clflushopt clwb intel_pt avx512cd avx512bw avx512vl xsaveopt xsavec xgetbv1 xsaves cqm_llc cqm_occup_llc cqm_mbm_total cqm_mbm_local dtherm ida arat pln pts pku ospke avx512_vnni md_clear flush_l1d arch_capabilities +vmx flags : vnmi preemption_timer posted_intr invvpid ept_x_only ept_ad ept_1gb flexpriority apicv tsc_offset vtpr mtf vapic ept vpid unrestricted_guest vapic_reg vid ple shadow_vmcs pml ept_mode_based_exec tsc_scaling +bugs : spectre_v1 spectre_v2 spec_store_bypass swapgs taa itlb_multihit mmio_stale_data retbleed eibrs_pbrsb gds bhi +bogomips : 4200.00 +clflush size : 64 +cache_alignment : 64 +address sizes : 46 bits physical, 48 bits virtual +power management: + +processor : 2 +vendor_id : GenuineIntel +cpu family : 6 +model : 85 +model name : Intel(R) Xeon(R) Gold 5218R CPU @ 2.10GHz +stepping : 7 +microcode : 0x5003707 +cpu MHz : 2100.000 +cache size : 28160 KB +physical id : 0 +siblings : 40 +core id : 2 +cpu cores : 20 +apicid : 4 +initial apicid : 4 +fpu : yes +fpu_exception : yes +cpuid level : 22 +wp : yes +flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx pdpe1gb rdtscp lm constant_tsc art arch_perfmon pebs bts rep_good nopl xtopology nonstop_tsc cpuid aperfmperf pni pclmulqdq dtes64 monitor ds_cpl vmx smx est tm2 ssse3 sdbg fma cx16 xtpr pdcm pcid dca sse4_1 sse4_2 x2apic movbe popcnt tsc_deadline_timer aes xsave avx f16c rdrand lahf_lm abm 3dnowprefetch cpuid_fault epb cat_l3 cdp_l3 invpcid_single intel_ppin ssbd mba ibrs ibpb stibp ibrs_enhanced tpr_shadow vnmi flexpriority ept vpid ept_ad fsgsbase tsc_adjust bmi1 avx2 smep bmi2 erms invpcid cqm mpx rdt_a avx512f avx512dq rdseed adx smap clflushopt clwb intel_pt avx512cd avx512bw avx512vl xsaveopt xsavec xgetbv1 xsaves cqm_llc cqm_occup_llc cqm_mbm_total cqm_mbm_local dtherm ida arat pln pts pku ospke avx512_vnni md_clear flush_l1d arch_capabilities +vmx flags : vnmi preemption_timer posted_intr invvpid ept_x_only ept_ad ept_1gb flexpriority apicv tsc_offset vtpr mtf vapic ept vpid unrestricted_guest vapic_reg vid ple shadow_vmcs pml ept_mode_based_exec tsc_scaling +bugs : spectre_v1 spectre_v2 spec_store_bypass swapgs taa itlb_multihit mmio_stale_data retbleed eibrs_pbrsb gds bhi +bogomips : 4200.00 +clflush size : 64 +cache_alignment : 64 +address sizes : 46 bits physical, 48 bits virtual +power management: + +processor : 3 +vendor_id : GenuineIntel +cpu family : 6 +model : 85 +model name : Intel(R) Xeon(R) Gold 5218R CPU @ 2.10GHz +stepping : 7 +microcode : 0x5003707 +cpu MHz : 2100.000 +cache size : 28160 KB +physical id : 0 +siblings : 40 +core id : 3 +cpu cores : 20 +apicid : 6 +initial apicid : 6 +fpu : yes +fpu_exception : yes +cpuid level : 22 +wp : yes +flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx pdpe1gb rdtscp lm constant_tsc art arch_perfmon pebs bts rep_good nopl xtopology nonstop_tsc cpuid aperfmperf pni pclmulqdq dtes64 monitor ds_cpl vmx smx est tm2 ssse3 sdbg fma cx16 xtpr pdcm pcid dca sse4_1 sse4_2 x2apic movbe popcnt tsc_deadline_timer aes xsave avx f16c rdrand lahf_lm abm 3dnowprefetch cpuid_fault epb cat_l3 cdp_l3 invpcid_single intel_ppin ssbd mba ibrs ibpb stibp ibrs_enhanced tpr_shadow vnmi flexpriority ept vpid ept_ad fsgsbase tsc_adjust bmi1 avx2 smep bmi2 erms invpcid cqm mpx rdt_a avx512f avx512dq rdseed adx smap clflushopt clwb intel_pt avx512cd avx512bw avx512vl xsaveopt xsavec xgetbv1 xsaves cqm_llc cqm_occup_llc cqm_mbm_total cqm_mbm_local dtherm ida arat pln pts pku ospke avx512_vnni md_clear flush_l1d arch_capabilities +vmx flags : vnmi preemption_timer posted_intr invvpid ept_x_only ept_ad ept_1gb flexpriority apicv tsc_offset vtpr mtf vapic ept vpid unrestricted_guest vapic_reg vid ple shadow_vmcs pml ept_mode_based_exec tsc_scaling +bugs : spectre_v1 spectre_v2 spec_store_bypass swapgs taa itlb_multihit mmio_stale_data retbleed eibrs_pbrsb gds bhi +bogomips : 4200.00 +clflush size : 64 +cache_alignment : 64 +address sizes : 46 bits physical, 48 bits virtual +power management: + +processor : 4 +vendor_id : GenuineIntel +cpu family : 6 +model : 85 +model name : Intel(R) Xeon(R) Gold 5218R CPU @ 2.10GHz +stepping : 7 +microcode : 0x5003707 +cpu MHz : 2100.000 +cache size : 28160 KB +physical id : 0 +siblings : 40 +core id : 4 +cpu cores : 20 +apicid : 8 +initial apicid : 8 +fpu : yes +fpu_exception : yes +cpuid level : 22 +wp : yes +flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx pdpe1gb rdtscp lm constant_tsc art arch_perfmon pebs bts rep_good nopl xtopology nonstop_tsc cpuid aperfmperf pni pclmulqdq dtes64 monitor ds_cpl vmx smx est tm2 ssse3 sdbg fma cx16 xtpr pdcm pcid dca sse4_1 sse4_2 x2apic movbe popcnt tsc_deadline_timer aes xsave avx f16c rdrand lahf_lm abm 3dnowprefetch cpuid_fault epb cat_l3 cdp_l3 invpcid_single intel_ppin ssbd mba ibrs ibpb stibp ibrs_enhanced tpr_shadow vnmi flexpriority ept vpid ept_ad fsgsbase tsc_adjust bmi1 avx2 smep bmi2 erms invpcid cqm mpx rdt_a avx512f avx512dq rdseed adx smap clflushopt clwb intel_pt avx512cd avx512bw avx512vl xsaveopt xsavec xgetbv1 xsaves cqm_llc cqm_occup_llc cqm_mbm_total cqm_mbm_local dtherm ida arat pln pts pku ospke avx512_vnni md_clear flush_l1d arch_capabilities +vmx flags : vnmi preemption_timer posted_intr invvpid ept_x_only ept_ad ept_1gb flexpriority apicv tsc_offset vtpr mtf vapic ept vpid unrestricted_guest vapic_reg vid ple shadow_vmcs pml ept_mode_based_exec tsc_scaling +bugs : spectre_v1 spectre_v2 spec_store_bypass swapgs taa itlb_multihit mmio_stale_data retbleed eibrs_pbrsb gds bhi +bogomips : 4200.00 +clflush size : 64 +cache_alignment : 64 +address sizes : 46 bits physical, 48 bits virtual +power management: + +processor : 5 +vendor_id : GenuineIntel +cpu family : 6 +model : 85 +model name : Intel(R) Xeon(R) Gold 5218R CPU @ 2.10GHz +stepping : 7 +microcode : 0x5003707 +cpu MHz : 2100.000 +cache size : 28160 KB +physical id : 0 +siblings : 40 +core id : 8 +cpu cores : 20 +apicid : 16 +initial apicid : 16 +fpu : yes +fpu_exception : yes +cpuid level : 22 +wp : yes +flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx pdpe1gb rdtscp lm constant_tsc art arch_perfmon pebs bts rep_good nopl xtopology nonstop_tsc cpuid aperfmperf pni pclmulqdq dtes64 monitor ds_cpl vmx smx est tm2 ssse3 sdbg fma cx16 xtpr pdcm pcid dca sse4_1 sse4_2 x2apic movbe popcnt tsc_deadline_timer aes xsave avx f16c rdrand lahf_lm abm 3dnowprefetch cpuid_fault epb cat_l3 cdp_l3 invpcid_single intel_ppin ssbd mba ibrs ibpb stibp ibrs_enhanced tpr_shadow vnmi flexpriority ept vpid ept_ad fsgsbase tsc_adjust bmi1 avx2 smep bmi2 erms invpcid cqm mpx rdt_a avx512f avx512dq rdseed adx smap clflushopt clwb intel_pt avx512cd avx512bw avx512vl xsaveopt xsavec xgetbv1 xsaves cqm_llc cqm_occup_llc cqm_mbm_total cqm_mbm_local dtherm ida arat pln pts pku ospke avx512_vnni md_clear flush_l1d arch_capabilities +vmx flags : vnmi preemption_timer posted_intr invvpid ept_x_only ept_ad ept_1gb flexpriority apicv tsc_offset vtpr mtf vapic ept vpid unrestricted_guest vapic_reg vid ple shadow_vmcs pml ept_mode_based_exec tsc_scaling +bugs : spectre_v1 spectre_v2 spec_store_bypass swapgs taa itlb_multihit mmio_stale_data retbleed eibrs_pbrsb gds bhi +bogomips : 4200.00 +clflush size : 64 +cache_alignment : 64 +address sizes : 46 bits physical, 48 bits virtual +power management: + +processor : 6 +vendor_id : GenuineIntel +cpu family : 6 +model : 85 +model name : Intel(R) Xeon(R) Gold 5218R CPU @ 2.10GHz +stepping : 7 +microcode : 0x5003707 +cpu MHz : 2100.000 +cache size : 28160 KB +physical id : 0 +siblings : 40 +core id : 9 +cpu cores : 20 +apicid : 18 +initial apicid : 18 +fpu : yes +fpu_exception : yes +cpuid level : 22 +wp : yes +flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx pdpe1gb rdtscp lm constant_tsc art arch_perfmon pebs bts rep_good nopl xtopology nonstop_tsc cpuid aperfmperf pni pclmulqdq dtes64 monitor ds_cpl vmx smx est tm2 ssse3 sdbg fma cx16 xtpr pdcm pcid dca sse4_1 sse4_2 x2apic movbe popcnt tsc_deadline_timer aes xsave avx f16c rdrand lahf_lm abm 3dnowprefetch cpuid_fault epb cat_l3 cdp_l3 invpcid_single intel_ppin ssbd mba ibrs ibpb stibp ibrs_enhanced tpr_shadow vnmi flexpriority ept vpid ept_ad fsgsbase tsc_adjust bmi1 avx2 smep bmi2 erms invpcid cqm mpx rdt_a avx512f avx512dq rdseed adx smap clflushopt clwb intel_pt avx512cd avx512bw avx512vl xsaveopt xsavec xgetbv1 xsaves cqm_llc cqm_occup_llc cqm_mbm_total cqm_mbm_local dtherm ida arat pln pts pku ospke avx512_vnni md_clear flush_l1d arch_capabilities +vmx flags : vnmi preemption_timer posted_intr invvpid ept_x_only ept_ad ept_1gb flexpriority apicv tsc_offset vtpr mtf vapic ept vpid unrestricted_guest vapic_reg vid ple shadow_vmcs pml ept_mode_based_exec tsc_scaling +bugs : spectre_v1 spectre_v2 spec_store_bypass swapgs taa itlb_multihit mmio_stale_data retbleed eibrs_pbrsb gds bhi +bogomips : 4200.00 +clflush size : 64 +cache_alignment : 64 +address sizes : 46 bits physical, 48 bits virtual +power management: + +processor : 7 +vendor_id : GenuineIntel +cpu family : 6 +model : 85 +model name : Intel(R) Xeon(R) Gold 5218R CPU @ 2.10GHz +stepping : 7 +microcode : 0x5003707 +cpu MHz : 2100.000 +cache size : 28160 KB +physical id : 0 +siblings : 40 +core id : 10 +cpu cores : 20 +apicid : 20 +initial apicid : 20 +fpu : yes +fpu_exception : yes +cpuid level : 22 +wp : yes +flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx pdpe1gb rdtscp lm constant_tsc art arch_perfmon pebs bts rep_good nopl xtopology nonstop_tsc cpuid aperfmperf pni pclmulqdq dtes64 monitor ds_cpl vmx smx est tm2 ssse3 sdbg fma cx16 xtpr pdcm pcid dca sse4_1 sse4_2 x2apic movbe popcnt tsc_deadline_timer aes xsave avx f16c rdrand lahf_lm abm 3dnowprefetch cpuid_fault epb cat_l3 cdp_l3 invpcid_single intel_ppin ssbd mba ibrs ibpb stibp ibrs_enhanced tpr_shadow vnmi flexpriority ept vpid ept_ad fsgsbase tsc_adjust bmi1 avx2 smep bmi2 erms invpcid cqm mpx rdt_a avx512f avx512dq rdseed adx smap clflushopt clwb intel_pt avx512cd avx512bw avx512vl xsaveopt xsavec xgetbv1 xsaves cqm_llc cqm_occup_llc cqm_mbm_total cqm_mbm_local dtherm ida arat pln pts pku ospke avx512_vnni md_clear flush_l1d arch_capabilities +vmx flags : vnmi preemption_timer posted_intr invvpid ept_x_only ept_ad ept_1gb flexpriority apicv tsc_offset vtpr mtf vapic ept vpid unrestricted_guest vapic_reg vid ple shadow_vmcs pml ept_mode_based_exec tsc_scaling +bugs : spectre_v1 spectre_v2 spec_store_bypass swapgs taa itlb_multihit mmio_stale_data retbleed eibrs_pbrsb gds bhi +bogomips : 4200.00 +clflush size : 64 +cache_alignment : 64 +address sizes : 46 bits physical, 48 bits virtual +power management: + +processor : 8 +vendor_id : GenuineIntel +cpu family : 6 +model : 85 +model name : Intel(R) Xeon(R) Gold 5218R CPU @ 2.10GHz +stepping : 7 +microcode : 0x5003707 +cpu MHz : 2100.000 +cache size : 28160 KB +physical id : 0 +siblings : 40 +core id : 11 +cpu cores : 20 +apicid : 22 +initial apicid : 22 +fpu : yes +fpu_exception : yes +cpuid level : 22 +wp : yes +flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx pdpe1gb rdtscp lm constant_tsc art arch_perfmon pebs bts rep_good nopl xtopology nonstop_tsc cpuid aperfmperf pni pclmulqdq dtes64 monitor ds_cpl vmx smx est tm2 ssse3 sdbg fma cx16 xtpr pdcm pcid dca sse4_1 sse4_2 x2apic movbe popcnt tsc_deadline_timer aes xsave avx f16c rdrand lahf_lm abm 3dnowprefetch cpuid_fault epb cat_l3 cdp_l3 invpcid_single intel_ppin ssbd mba ibrs ibpb stibp ibrs_enhanced tpr_shadow vnmi flexpriority ept vpid ept_ad fsgsbase tsc_adjust bmi1 avx2 smep bmi2 erms invpcid cqm mpx rdt_a avx512f avx512dq rdseed adx smap clflushopt clwb intel_pt avx512cd avx512bw avx512vl xsaveopt xsavec xgetbv1 xsaves cqm_llc cqm_occup_llc cqm_mbm_total cqm_mbm_local dtherm ida arat pln pts pku ospke avx512_vnni md_clear flush_l1d arch_capabilities +vmx flags : vnmi preemption_timer posted_intr invvpid ept_x_only ept_ad ept_1gb flexpriority apicv tsc_offset vtpr mtf vapic ept vpid unrestricted_guest vapic_reg vid ple shadow_vmcs pml ept_mode_based_exec tsc_scaling +bugs : spectre_v1 spectre_v2 spec_store_bypass swapgs taa itlb_multihit mmio_stale_data retbleed eibrs_pbrsb gds bhi +bogomips : 4200.00 +clflush size : 64 +cache_alignment : 64 +address sizes : 46 bits physical, 48 bits virtual +power management: + +processor : 9 +vendor_id : GenuineIntel +cpu family : 6 +model : 85 +model name : Intel(R) Xeon(R) Gold 5218R CPU @ 2.10GHz +stepping : 7 +microcode : 0x5003707 +cpu MHz : 2100.000 +cache size : 28160 KB +physical id : 0 +siblings : 40 +core id : 12 +cpu cores : 20 +apicid : 24 +initial apicid : 24 +fpu : yes +fpu_exception : yes +cpuid level : 22 +wp : yes +flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx pdpe1gb rdtscp lm constant_tsc art arch_perfmon pebs bts rep_good nopl xtopology nonstop_tsc cpuid aperfmperf pni pclmulqdq dtes64 monitor ds_cpl vmx smx est tm2 ssse3 sdbg fma cx16 xtpr pdcm pcid dca sse4_1 sse4_2 x2apic movbe popcnt tsc_deadline_timer aes xsave avx f16c rdrand lahf_lm abm 3dnowprefetch cpuid_fault epb cat_l3 cdp_l3 invpcid_single intel_ppin ssbd mba ibrs ibpb stibp ibrs_enhanced tpr_shadow vnmi flexpriority ept vpid ept_ad fsgsbase tsc_adjust bmi1 avx2 smep bmi2 erms invpcid cqm mpx rdt_a avx512f avx512dq rdseed adx smap clflushopt clwb intel_pt avx512cd avx512bw avx512vl xsaveopt xsavec xgetbv1 xsaves cqm_llc cqm_occup_llc cqm_mbm_total cqm_mbm_local dtherm ida arat pln pts pku ospke avx512_vnni md_clear flush_l1d arch_capabilities +vmx flags : vnmi preemption_timer posted_intr invvpid ept_x_only ept_ad ept_1gb flexpriority apicv tsc_offset vtpr mtf vapic ept vpid unrestricted_guest vapic_reg vid ple shadow_vmcs pml ept_mode_based_exec tsc_scaling +bugs : spectre_v1 spectre_v2 spec_store_bypass swapgs taa itlb_multihit mmio_stale_data retbleed eibrs_pbrsb gds bhi +bogomips : 4200.00 +clflush size : 64 +cache_alignment : 64 +address sizes : 46 bits physical, 48 bits virtual +power management: + +processor : 10 +vendor_id : GenuineIntel +cpu family : 6 +model : 85 +model name : Intel(R) Xeon(R) Gold 5218R CPU @ 2.10GHz +stepping : 7 +microcode : 0x5003707 +cpu MHz : 2100.000 +cache size : 28160 KB +physical id : 0 +siblings : 40 +core id : 16 +cpu cores : 20 +apicid : 32 +initial apicid : 32 +fpu : yes +fpu_exception : yes +cpuid level : 22 +wp : yes +flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx pdpe1gb rdtscp lm constant_tsc art arch_perfmon pebs bts rep_good nopl xtopology nonstop_tsc cpuid aperfmperf pni pclmulqdq dtes64 monitor ds_cpl vmx smx est tm2 ssse3 sdbg fma cx16 xtpr pdcm pcid dca sse4_1 sse4_2 x2apic movbe popcnt tsc_deadline_timer aes xsave avx f16c rdrand lahf_lm abm 3dnowprefetch cpuid_fault epb cat_l3 cdp_l3 invpcid_single intel_ppin ssbd mba ibrs ibpb stibp ibrs_enhanced tpr_shadow vnmi flexpriority ept vpid ept_ad fsgsbase tsc_adjust bmi1 avx2 smep bmi2 erms invpcid cqm mpx rdt_a avx512f avx512dq rdseed adx smap clflushopt clwb intel_pt avx512cd avx512bw avx512vl xsaveopt xsavec xgetbv1 xsaves cqm_llc cqm_occup_llc cqm_mbm_total cqm_mbm_local dtherm ida arat pln pts pku ospke avx512_vnni md_clear flush_l1d arch_capabilities +vmx flags : vnmi preemption_timer posted_intr invvpid ept_x_only ept_ad ept_1gb flexpriority apicv tsc_offset vtpr mtf vapic ept vpid unrestricted_guest vapic_reg vid ple shadow_vmcs pml ept_mode_based_exec tsc_scaling +bugs : spectre_v1 spectre_v2 spec_store_bypass swapgs taa itlb_multihit mmio_stale_data retbleed eibrs_pbrsb gds bhi +bogomips : 4200.00 +clflush size : 64 +cache_alignment : 64 +address sizes : 46 bits physical, 48 bits virtual +power management: + +processor : 11 +vendor_id : GenuineIntel +cpu family : 6 +model : 85 +model name : Intel(R) Xeon(R) Gold 5218R CPU @ 2.10GHz +stepping : 7 +microcode : 0x5003707 +cpu MHz : 2100.000 +cache size : 28160 KB +physical id : 0 +siblings : 40 +core id : 17 +cpu cores : 20 +apicid : 34 +initial apicid : 34 +fpu : yes +fpu_exception : yes +cpuid level : 22 +wp : yes +flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx pdpe1gb rdtscp lm constant_tsc art arch_perfmon pebs bts rep_good nopl xtopology nonstop_tsc cpuid aperfmperf pni pclmulqdq dtes64 monitor ds_cpl vmx smx est tm2 ssse3 sdbg fma cx16 xtpr pdcm pcid dca sse4_1 sse4_2 x2apic movbe popcnt tsc_deadline_timer aes xsave avx f16c rdrand lahf_lm abm 3dnowprefetch cpuid_fault epb cat_l3 cdp_l3 invpcid_single intel_ppin ssbd mba ibrs ibpb stibp ibrs_enhanced tpr_shadow vnmi flexpriority ept vpid ept_ad fsgsbase tsc_adjust bmi1 avx2 smep bmi2 erms invpcid cqm mpx rdt_a avx512f avx512dq rdseed adx smap clflushopt clwb intel_pt avx512cd avx512bw avx512vl xsaveopt xsavec xgetbv1 xsaves cqm_llc cqm_occup_llc cqm_mbm_total cqm_mbm_local dtherm ida arat pln pts pku ospke avx512_vnni md_clear flush_l1d arch_capabilities +vmx flags : vnmi preemption_timer posted_intr invvpid ept_x_only ept_ad ept_1gb flexpriority apicv tsc_offset vtpr mtf vapic ept vpid unrestricted_guest vapic_reg vid ple shadow_vmcs pml ept_mode_based_exec tsc_scaling +bugs : spectre_v1 spectre_v2 spec_store_bypass swapgs taa itlb_multihit mmio_stale_data retbleed eibrs_pbrsb gds bhi +bogomips : 4200.00 +clflush size : 64 +cache_alignment : 64 +address sizes : 46 bits physical, 48 bits virtual +power management: + +processor : 12 +vendor_id : GenuineIntel +cpu family : 6 +model : 85 +model name : Intel(R) Xeon(R) Gold 5218R CPU @ 2.10GHz +stepping : 7 +microcode : 0x5003707 +cpu MHz : 1654.520 +cache size : 28160 KB +physical id : 0 +siblings : 40 +core id : 18 +cpu cores : 20 +apicid : 36 +initial apicid : 36 +fpu : yes +fpu_exception : yes +cpuid level : 22 +wp : yes +flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx pdpe1gb rdtscp lm constant_tsc art arch_perfmon pebs bts rep_good nopl xtopology nonstop_tsc cpuid aperfmperf pni pclmulqdq dtes64 monitor ds_cpl vmx smx est tm2 ssse3 sdbg fma cx16 xtpr pdcm pcid dca sse4_1 sse4_2 x2apic movbe popcnt tsc_deadline_timer aes xsave avx f16c rdrand lahf_lm abm 3dnowprefetch cpuid_fault epb cat_l3 cdp_l3 invpcid_single intel_ppin ssbd mba ibrs ibpb stibp ibrs_enhanced tpr_shadow vnmi flexpriority ept vpid ept_ad fsgsbase tsc_adjust bmi1 avx2 smep bmi2 erms invpcid cqm mpx rdt_a avx512f avx512dq rdseed adx smap clflushopt clwb intel_pt avx512cd avx512bw avx512vl xsaveopt xsavec xgetbv1 xsaves cqm_llc cqm_occup_llc cqm_mbm_total cqm_mbm_local dtherm ida arat pln pts pku ospke avx512_vnni md_clear flush_l1d arch_capabilities +vmx flags : vnmi preemption_timer posted_intr invvpid ept_x_only ept_ad ept_1gb flexpriority apicv tsc_offset vtpr mtf vapic ept vpid unrestricted_guest vapic_reg vid ple shadow_vmcs pml ept_mode_based_exec tsc_scaling +bugs : spectre_v1 spectre_v2 spec_store_bypass swapgs taa itlb_multihit mmio_stale_data retbleed eibrs_pbrsb gds bhi +bogomips : 4200.00 +clflush size : 64 +cache_alignment : 64 +address sizes : 46 bits physical, 48 bits virtual +power management: + +processor : 13 +vendor_id : GenuineIntel +cpu family : 6 +model : 85 +model name : Intel(R) Xeon(R) Gold 5218R CPU @ 2.10GHz +stepping : 7 +microcode : 0x5003707 +cpu MHz : 2100.000 +cache size : 28160 KB +physical id : 0 +siblings : 40 +core id : 19 +cpu cores : 20 +apicid : 38 +initial apicid : 38 +fpu : yes +fpu_exception : yes +cpuid level : 22 +wp : yes +flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx pdpe1gb rdtscp lm constant_tsc art arch_perfmon pebs bts rep_good nopl xtopology nonstop_tsc cpuid aperfmperf pni pclmulqdq dtes64 monitor ds_cpl vmx smx est tm2 ssse3 sdbg fma cx16 xtpr pdcm pcid dca sse4_1 sse4_2 x2apic movbe popcnt tsc_deadline_timer aes xsave avx f16c rdrand lahf_lm abm 3dnowprefetch cpuid_fault epb cat_l3 cdp_l3 invpcid_single intel_ppin ssbd mba ibrs ibpb stibp ibrs_enhanced tpr_shadow vnmi flexpriority ept vpid ept_ad fsgsbase tsc_adjust bmi1 avx2 smep bmi2 erms invpcid cqm mpx rdt_a avx512f avx512dq rdseed adx smap clflushopt clwb intel_pt avx512cd avx512bw avx512vl xsaveopt xsavec xgetbv1 xsaves cqm_llc cqm_occup_llc cqm_mbm_total cqm_mbm_local dtherm ida arat pln pts pku ospke avx512_vnni md_clear flush_l1d arch_capabilities +vmx flags : vnmi preemption_timer posted_intr invvpid ept_x_only ept_ad ept_1gb flexpriority apicv tsc_offset vtpr mtf vapic ept vpid unrestricted_guest vapic_reg vid ple shadow_vmcs pml ept_mode_based_exec tsc_scaling +bugs : spectre_v1 spectre_v2 spec_store_bypass swapgs taa itlb_multihit mmio_stale_data retbleed eibrs_pbrsb gds bhi +bogomips : 4200.00 +clflush size : 64 +cache_alignment : 64 +address sizes : 46 bits physical, 48 bits virtual +power management: + +processor : 14 +vendor_id : GenuineIntel +cpu family : 6 +model : 85 +model name : Intel(R) Xeon(R) Gold 5218R CPU @ 2.10GHz +stepping : 7 +microcode : 0x5003707 +cpu MHz : 2100.000 +cache size : 28160 KB +physical id : 0 +siblings : 40 +core id : 20 +cpu cores : 20 +apicid : 40 +initial apicid : 40 +fpu : yes +fpu_exception : yes +cpuid level : 22 +wp : yes +flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx pdpe1gb rdtscp lm constant_tsc art arch_perfmon pebs bts rep_good nopl xtopology nonstop_tsc cpuid aperfmperf pni pclmulqdq dtes64 monitor ds_cpl vmx smx est tm2 ssse3 sdbg fma cx16 xtpr pdcm pcid dca sse4_1 sse4_2 x2apic movbe popcnt tsc_deadline_timer aes xsave avx f16c rdrand lahf_lm abm 3dnowprefetch cpuid_fault epb cat_l3 cdp_l3 invpcid_single intel_ppin ssbd mba ibrs ibpb stibp ibrs_enhanced tpr_shadow vnmi flexpriority ept vpid ept_ad fsgsbase tsc_adjust bmi1 avx2 smep bmi2 erms invpcid cqm mpx rdt_a avx512f avx512dq rdseed adx smap clflushopt clwb intel_pt avx512cd avx512bw avx512vl xsaveopt xsavec xgetbv1 xsaves cqm_llc cqm_occup_llc cqm_mbm_total cqm_mbm_local dtherm ida arat pln pts pku ospke avx512_vnni md_clear flush_l1d arch_capabilities +vmx flags : vnmi preemption_timer posted_intr invvpid ept_x_only ept_ad ept_1gb flexpriority apicv tsc_offset vtpr mtf vapic ept vpid unrestricted_guest vapic_reg vid ple shadow_vmcs pml ept_mode_based_exec tsc_scaling +bugs : spectre_v1 spectre_v2 spec_store_bypass swapgs taa itlb_multihit mmio_stale_data retbleed eibrs_pbrsb gds bhi +bogomips : 4200.00 +clflush size : 64 +cache_alignment : 64 +address sizes : 46 bits physical, 48 bits virtual +power management: + +processor : 15 +vendor_id : GenuineIntel +cpu family : 6 +model : 85 +model name : Intel(R) Xeon(R) Gold 5218R CPU @ 2.10GHz +stepping : 7 +microcode : 0x5003707 +cpu MHz : 2100.000 +cache size : 28160 KB +physical id : 0 +siblings : 40 +core id : 24 +cpu cores : 20 +apicid : 48 +initial apicid : 48 +fpu : yes +fpu_exception : yes +cpuid level : 22 +wp : yes +flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx pdpe1gb rdtscp lm constant_tsc art arch_perfmon pebs bts rep_good nopl xtopology nonstop_tsc cpuid aperfmperf pni pclmulqdq dtes64 monitor ds_cpl vmx smx est tm2 ssse3 sdbg fma cx16 xtpr pdcm pcid dca sse4_1 sse4_2 x2apic movbe popcnt tsc_deadline_timer aes xsave avx f16c rdrand lahf_lm abm 3dnowprefetch cpuid_fault epb cat_l3 cdp_l3 invpcid_single intel_ppin ssbd mba ibrs ibpb stibp ibrs_enhanced tpr_shadow vnmi flexpriority ept vpid ept_ad fsgsbase tsc_adjust bmi1 avx2 smep bmi2 erms invpcid cqm mpx rdt_a avx512f avx512dq rdseed adx smap clflushopt clwb intel_pt avx512cd avx512bw avx512vl xsaveopt xsavec xgetbv1 xsaves cqm_llc cqm_occup_llc cqm_mbm_total cqm_mbm_local dtherm ida arat pln pts pku ospke avx512_vnni md_clear flush_l1d arch_capabilities +vmx flags : vnmi preemption_timer posted_intr invvpid ept_x_only ept_ad ept_1gb flexpriority apicv tsc_offset vtpr mtf vapic ept vpid unrestricted_guest vapic_reg vid ple shadow_vmcs pml ept_mode_based_exec tsc_scaling +bugs : spectre_v1 spectre_v2 spec_store_bypass swapgs taa itlb_multihit mmio_stale_data retbleed eibrs_pbrsb gds bhi +bogomips : 4200.00 +clflush size : 64 +cache_alignment : 64 +address sizes : 46 bits physical, 48 bits virtual +power management: + +processor : 16 +vendor_id : GenuineIntel +cpu family : 6 +model : 85 +model name : Intel(R) Xeon(R) Gold 5218R CPU @ 2.10GHz +stepping : 7 +microcode : 0x5003707 +cpu MHz : 2100.000 +cache size : 28160 KB +physical id : 0 +siblings : 40 +core id : 25 +cpu cores : 20 +apicid : 50 +initial apicid : 50 +fpu : yes +fpu_exception : yes +cpuid level : 22 +wp : yes +flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx pdpe1gb rdtscp lm constant_tsc art arch_perfmon pebs bts rep_good nopl xtopology nonstop_tsc cpuid aperfmperf pni pclmulqdq dtes64 monitor ds_cpl vmx smx est tm2 ssse3 sdbg fma cx16 xtpr pdcm pcid dca sse4_1 sse4_2 x2apic movbe popcnt tsc_deadline_timer aes xsave avx f16c rdrand lahf_lm abm 3dnowprefetch cpuid_fault epb cat_l3 cdp_l3 invpcid_single intel_ppin ssbd mba ibrs ibpb stibp ibrs_enhanced tpr_shadow vnmi flexpriority ept vpid ept_ad fsgsbase tsc_adjust bmi1 avx2 smep bmi2 erms invpcid cqm mpx rdt_a avx512f avx512dq rdseed adx smap clflushopt clwb intel_pt avx512cd avx512bw avx512vl xsaveopt xsavec xgetbv1 xsaves cqm_llc cqm_occup_llc cqm_mbm_total cqm_mbm_local dtherm ida arat pln pts pku ospke avx512_vnni md_clear flush_l1d arch_capabilities +vmx flags : vnmi preemption_timer posted_intr invvpid ept_x_only ept_ad ept_1gb flexpriority apicv tsc_offset vtpr mtf vapic ept vpid unrestricted_guest vapic_reg vid ple shadow_vmcs pml ept_mode_based_exec tsc_scaling +bugs : spectre_v1 spectre_v2 spec_store_bypass swapgs taa itlb_multihit mmio_stale_data retbleed eibrs_pbrsb gds bhi +bogomips : 4200.00 +clflush size : 64 +cache_alignment : 64 +address sizes : 46 bits physical, 48 bits virtual +power management: + +processor : 17 +vendor_id : GenuineIntel +cpu family : 6 +model : 85 +model name : Intel(R) Xeon(R) Gold 5218R CPU @ 2.10GHz +stepping : 7 +microcode : 0x5003707 +cpu MHz : 2100.000 +cache size : 28160 KB +physical id : 0 +siblings : 40 +core id : 26 +cpu cores : 20 +apicid : 52 +initial apicid : 52 +fpu : yes +fpu_exception : yes +cpuid level : 22 +wp : yes +flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx pdpe1gb rdtscp lm constant_tsc art arch_perfmon pebs bts rep_good nopl xtopology nonstop_tsc cpuid aperfmperf pni pclmulqdq dtes64 monitor ds_cpl vmx smx est tm2 ssse3 sdbg fma cx16 xtpr pdcm pcid dca sse4_1 sse4_2 x2apic movbe popcnt tsc_deadline_timer aes xsave avx f16c rdrand lahf_lm abm 3dnowprefetch cpuid_fault epb cat_l3 cdp_l3 invpcid_single intel_ppin ssbd mba ibrs ibpb stibp ibrs_enhanced tpr_shadow vnmi flexpriority ept vpid ept_ad fsgsbase tsc_adjust bmi1 avx2 smep bmi2 erms invpcid cqm mpx rdt_a avx512f avx512dq rdseed adx smap clflushopt clwb intel_pt avx512cd avx512bw avx512vl xsaveopt xsavec xgetbv1 xsaves cqm_llc cqm_occup_llc cqm_mbm_total cqm_mbm_local dtherm ida arat pln pts pku ospke avx512_vnni md_clear flush_l1d arch_capabilities +vmx flags : vnmi preemption_timer posted_intr invvpid ept_x_only ept_ad ept_1gb flexpriority apicv tsc_offset vtpr mtf vapic ept vpid unrestricted_guest vapic_reg vid ple shadow_vmcs pml ept_mode_based_exec tsc_scaling +bugs : spectre_v1 spectre_v2 spec_store_bypass swapgs taa itlb_multihit mmio_stale_data retbleed eibrs_pbrsb gds bhi +bogomips : 4200.00 +clflush size : 64 +cache_alignment : 64 +address sizes : 46 bits physical, 48 bits virtual +power management: + +processor : 18 +vendor_id : GenuineIntel +cpu family : 6 +model : 85 +model name : Intel(R) Xeon(R) Gold 5218R CPU @ 2.10GHz +stepping : 7 +microcode : 0x5003707 +cpu MHz : 2100.000 +cache size : 28160 KB +physical id : 0 +siblings : 40 +core id : 27 +cpu cores : 20 +apicid : 54 +initial apicid : 54 +fpu : yes +fpu_exception : yes +cpuid level : 22 +wp : yes +flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx pdpe1gb rdtscp lm constant_tsc art arch_perfmon pebs bts rep_good nopl xtopology nonstop_tsc cpuid aperfmperf pni pclmulqdq dtes64 monitor ds_cpl vmx smx est tm2 ssse3 sdbg fma cx16 xtpr pdcm pcid dca sse4_1 sse4_2 x2apic movbe popcnt tsc_deadline_timer aes xsave avx f16c rdrand lahf_lm abm 3dnowprefetch cpuid_fault epb cat_l3 cdp_l3 invpcid_single intel_ppin ssbd mba ibrs ibpb stibp ibrs_enhanced tpr_shadow vnmi flexpriority ept vpid ept_ad fsgsbase tsc_adjust bmi1 avx2 smep bmi2 erms invpcid cqm mpx rdt_a avx512f avx512dq rdseed adx smap clflushopt clwb intel_pt avx512cd avx512bw avx512vl xsaveopt xsavec xgetbv1 xsaves cqm_llc cqm_occup_llc cqm_mbm_total cqm_mbm_local dtherm ida arat pln pts pku ospke avx512_vnni md_clear flush_l1d arch_capabilities +vmx flags : vnmi preemption_timer posted_intr invvpid ept_x_only ept_ad ept_1gb flexpriority apicv tsc_offset vtpr mtf vapic ept vpid unrestricted_guest vapic_reg vid ple shadow_vmcs pml ept_mode_based_exec tsc_scaling +bugs : spectre_v1 spectre_v2 spec_store_bypass swapgs taa itlb_multihit mmio_stale_data retbleed eibrs_pbrsb gds bhi +bogomips : 4200.00 +clflush size : 64 +cache_alignment : 64 +address sizes : 46 bits physical, 48 bits virtual +power management: + +processor : 19 +vendor_id : GenuineIntel +cpu family : 6 +model : 85 +model name : Intel(R) Xeon(R) Gold 5218R CPU @ 2.10GHz +stepping : 7 +microcode : 0x5003707 +cpu MHz : 2100.000 +cache size : 28160 KB +physical id : 0 +siblings : 40 +core id : 28 +cpu cores : 20 +apicid : 56 +initial apicid : 56 +fpu : yes +fpu_exception : yes +cpuid level : 22 +wp : yes +flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx pdpe1gb rdtscp lm constant_tsc art arch_perfmon pebs bts rep_good nopl xtopology nonstop_tsc cpuid aperfmperf pni pclmulqdq dtes64 monitor ds_cpl vmx smx est tm2 ssse3 sdbg fma cx16 xtpr pdcm pcid dca sse4_1 sse4_2 x2apic movbe popcnt tsc_deadline_timer aes xsave avx f16c rdrand lahf_lm abm 3dnowprefetch cpuid_fault epb cat_l3 cdp_l3 invpcid_single intel_ppin ssbd mba ibrs ibpb stibp ibrs_enhanced tpr_shadow vnmi flexpriority ept vpid ept_ad fsgsbase tsc_adjust bmi1 avx2 smep bmi2 erms invpcid cqm mpx rdt_a avx512f avx512dq rdseed adx smap clflushopt clwb intel_pt avx512cd avx512bw avx512vl xsaveopt xsavec xgetbv1 xsaves cqm_llc cqm_occup_llc cqm_mbm_total cqm_mbm_local dtherm ida arat pln pts pku ospke avx512_vnni md_clear flush_l1d arch_capabilities +vmx flags : vnmi preemption_timer posted_intr invvpid ept_x_only ept_ad ept_1gb flexpriority apicv tsc_offset vtpr mtf vapic ept vpid unrestricted_guest vapic_reg vid ple shadow_vmcs pml ept_mode_based_exec tsc_scaling +bugs : spectre_v1 spectre_v2 spec_store_bypass swapgs taa itlb_multihit mmio_stale_data retbleed eibrs_pbrsb gds bhi +bogomips : 4200.00 +clflush size : 64 +cache_alignment : 64 +address sizes : 46 bits physical, 48 bits virtual +power management: + +processor : 20 +vendor_id : GenuineIntel +cpu family : 6 +model : 85 +model name : Intel(R) Xeon(R) Gold 5218R CPU @ 2.10GHz +stepping : 7 +microcode : 0x5003707 +cpu MHz : 2100.000 +cache size : 28160 KB +physical id : 1 +siblings : 40 +core id : 0 +cpu cores : 20 +apicid : 64 +initial apicid : 64 +fpu : yes +fpu_exception : yes +cpuid level : 22 +wp : yes +flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx pdpe1gb rdtscp lm constant_tsc art arch_perfmon pebs bts rep_good nopl xtopology nonstop_tsc cpuid aperfmperf pni pclmulqdq dtes64 monitor ds_cpl vmx smx est tm2 ssse3 sdbg fma cx16 xtpr pdcm pcid dca sse4_1 sse4_2 x2apic movbe popcnt tsc_deadline_timer aes xsave avx f16c rdrand lahf_lm abm 3dnowprefetch cpuid_fault epb cat_l3 cdp_l3 invpcid_single intel_ppin ssbd mba ibrs ibpb stibp ibrs_enhanced tpr_shadow vnmi flexpriority ept vpid ept_ad fsgsbase tsc_adjust bmi1 avx2 smep bmi2 erms invpcid cqm mpx rdt_a avx512f avx512dq rdseed adx smap clflushopt clwb intel_pt avx512cd avx512bw avx512vl xsaveopt xsavec xgetbv1 xsaves cqm_llc cqm_occup_llc cqm_mbm_total cqm_mbm_local dtherm ida arat pln pts pku ospke avx512_vnni md_clear flush_l1d arch_capabilities +vmx flags : vnmi preemption_timer posted_intr invvpid ept_x_only ept_ad ept_1gb flexpriority apicv tsc_offset vtpr mtf vapic ept vpid unrestricted_guest vapic_reg vid ple shadow_vmcs pml ept_mode_based_exec tsc_scaling +bugs : spectre_v1 spectre_v2 spec_store_bypass swapgs taa itlb_multihit mmio_stale_data retbleed eibrs_pbrsb gds bhi +bogomips : 4201.84 +clflush size : 64 +cache_alignment : 64 +address sizes : 46 bits physical, 48 bits virtual +power management: + +processor : 21 +vendor_id : GenuineIntel +cpu family : 6 +model : 85 +model name : Intel(R) Xeon(R) Gold 5218R CPU @ 2.10GHz +stepping : 7 +microcode : 0x5003707 +cpu MHz : 2100.000 +cache size : 28160 KB +physical id : 1 +siblings : 40 +core id : 1 +cpu cores : 20 +apicid : 66 +initial apicid : 66 +fpu : yes +fpu_exception : yes +cpuid level : 22 +wp : yes +flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx pdpe1gb rdtscp lm constant_tsc art arch_perfmon pebs bts rep_good nopl xtopology nonstop_tsc cpuid aperfmperf pni pclmulqdq dtes64 monitor ds_cpl vmx smx est tm2 ssse3 sdbg fma cx16 xtpr pdcm pcid dca sse4_1 sse4_2 x2apic movbe popcnt tsc_deadline_timer aes xsave avx f16c rdrand lahf_lm abm 3dnowprefetch cpuid_fault epb cat_l3 cdp_l3 invpcid_single intel_ppin ssbd mba ibrs ibpb stibp ibrs_enhanced tpr_shadow vnmi flexpriority ept vpid ept_ad fsgsbase tsc_adjust bmi1 avx2 smep bmi2 erms invpcid cqm mpx rdt_a avx512f avx512dq rdseed adx smap clflushopt clwb intel_pt avx512cd avx512bw avx512vl xsaveopt xsavec xgetbv1 xsaves cqm_llc cqm_occup_llc cqm_mbm_total cqm_mbm_local dtherm ida arat pln pts pku ospke avx512_vnni md_clear flush_l1d arch_capabilities +vmx flags : vnmi preemption_timer posted_intr invvpid ept_x_only ept_ad ept_1gb flexpriority apicv tsc_offset vtpr mtf vapic ept vpid unrestricted_guest vapic_reg vid ple shadow_vmcs pml ept_mode_based_exec tsc_scaling +bugs : spectre_v1 spectre_v2 spec_store_bypass swapgs taa itlb_multihit mmio_stale_data retbleed eibrs_pbrsb gds bhi +bogomips : 4201.84 +clflush size : 64 +cache_alignment : 64 +address sizes : 46 bits physical, 48 bits virtual +power management: + +processor : 22 +vendor_id : GenuineIntel +cpu family : 6 +model : 85 +model name : Intel(R) Xeon(R) Gold 5218R CPU @ 2.10GHz +stepping : 7 +microcode : 0x5003707 +cpu MHz : 2100.000 +cache size : 28160 KB +physical id : 1 +siblings : 40 +core id : 2 +cpu cores : 20 +apicid : 68 +initial apicid : 68 +fpu : yes +fpu_exception : yes +cpuid level : 22 +wp : yes +flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx pdpe1gb rdtscp lm constant_tsc art arch_perfmon pebs bts rep_good nopl xtopology nonstop_tsc cpuid aperfmperf pni pclmulqdq dtes64 monitor ds_cpl vmx smx est tm2 ssse3 sdbg fma cx16 xtpr pdcm pcid dca sse4_1 sse4_2 x2apic movbe popcnt tsc_deadline_timer aes xsave avx f16c rdrand lahf_lm abm 3dnowprefetch cpuid_fault epb cat_l3 cdp_l3 invpcid_single intel_ppin ssbd mba ibrs ibpb stibp ibrs_enhanced tpr_shadow vnmi flexpriority ept vpid ept_ad fsgsbase tsc_adjust bmi1 avx2 smep bmi2 erms invpcid cqm mpx rdt_a avx512f avx512dq rdseed adx smap clflushopt clwb intel_pt avx512cd avx512bw avx512vl xsaveopt xsavec xgetbv1 xsaves cqm_llc cqm_occup_llc cqm_mbm_total cqm_mbm_local dtherm ida arat pln pts pku ospke avx512_vnni md_clear flush_l1d arch_capabilities +vmx flags : vnmi preemption_timer posted_intr invvpid ept_x_only ept_ad ept_1gb flexpriority apicv tsc_offset vtpr mtf vapic ept vpid unrestricted_guest vapic_reg vid ple shadow_vmcs pml ept_mode_based_exec tsc_scaling +bugs : spectre_v1 spectre_v2 spec_store_bypass swapgs taa itlb_multihit mmio_stale_data retbleed eibrs_pbrsb gds bhi +bogomips : 4201.84 +clflush size : 64 +cache_alignment : 64 +address sizes : 46 bits physical, 48 bits virtual +power management: + +processor : 23 +vendor_id : GenuineIntel +cpu family : 6 +model : 85 +model name : Intel(R) Xeon(R) Gold 5218R CPU @ 2.10GHz +stepping : 7 +microcode : 0x5003707 +cpu MHz : 2100.000 +cache size : 28160 KB +physical id : 1 +siblings : 40 +core id : 3 +cpu cores : 20 +apicid : 70 +initial apicid : 70 +fpu : yes +fpu_exception : yes +cpuid level : 22 +wp : yes +flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx pdpe1gb rdtscp lm constant_tsc art arch_perfmon pebs bts rep_good nopl xtopology nonstop_tsc cpuid aperfmperf pni pclmulqdq dtes64 monitor ds_cpl vmx smx est tm2 ssse3 sdbg fma cx16 xtpr pdcm pcid dca sse4_1 sse4_2 x2apic movbe popcnt tsc_deadline_timer aes xsave avx f16c rdrand lahf_lm abm 3dnowprefetch cpuid_fault epb cat_l3 cdp_l3 invpcid_single intel_ppin ssbd mba ibrs ibpb stibp ibrs_enhanced tpr_shadow vnmi flexpriority ept vpid ept_ad fsgsbase tsc_adjust bmi1 avx2 smep bmi2 erms invpcid cqm mpx rdt_a avx512f avx512dq rdseed adx smap clflushopt clwb intel_pt avx512cd avx512bw avx512vl xsaveopt xsavec xgetbv1 xsaves cqm_llc cqm_occup_llc cqm_mbm_total cqm_mbm_local dtherm ida arat pln pts pku ospke avx512_vnni md_clear flush_l1d arch_capabilities +vmx flags : vnmi preemption_timer posted_intr invvpid ept_x_only ept_ad ept_1gb flexpriority apicv tsc_offset vtpr mtf vapic ept vpid unrestricted_guest vapic_reg vid ple shadow_vmcs pml ept_mode_based_exec tsc_scaling +bugs : spectre_v1 spectre_v2 spec_store_bypass swapgs taa itlb_multihit mmio_stale_data retbleed eibrs_pbrsb gds bhi +bogomips : 4201.84 +clflush size : 64 +cache_alignment : 64 +address sizes : 46 bits physical, 48 bits virtual +power management: + +processor : 24 +vendor_id : GenuineIntel +cpu family : 6 +model : 85 +model name : Intel(R) Xeon(R) Gold 5218R CPU @ 2.10GHz +stepping : 7 +microcode : 0x5003707 +cpu MHz : 2100.000 +cache size : 28160 KB +physical id : 1 +siblings : 40 +core id : 4 +cpu cores : 20 +apicid : 72 +initial apicid : 72 +fpu : yes +fpu_exception : yes +cpuid level : 22 +wp : yes +flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx pdpe1gb rdtscp lm constant_tsc art arch_perfmon pebs bts rep_good nopl xtopology nonstop_tsc cpuid aperfmperf pni pclmulqdq dtes64 monitor ds_cpl vmx smx est tm2 ssse3 sdbg fma cx16 xtpr pdcm pcid dca sse4_1 sse4_2 x2apic movbe popcnt tsc_deadline_timer aes xsave avx f16c rdrand lahf_lm abm 3dnowprefetch cpuid_fault epb cat_l3 cdp_l3 invpcid_single intel_ppin ssbd mba ibrs ibpb stibp ibrs_enhanced tpr_shadow vnmi flexpriority ept vpid ept_ad fsgsbase tsc_adjust bmi1 avx2 smep bmi2 erms invpcid cqm mpx rdt_a avx512f avx512dq rdseed adx smap clflushopt clwb intel_pt avx512cd avx512bw avx512vl xsaveopt xsavec xgetbv1 xsaves cqm_llc cqm_occup_llc cqm_mbm_total cqm_mbm_local dtherm ida arat pln pts pku ospke avx512_vnni md_clear flush_l1d arch_capabilities +vmx flags : vnmi preemption_timer posted_intr invvpid ept_x_only ept_ad ept_1gb flexpriority apicv tsc_offset vtpr mtf vapic ept vpid unrestricted_guest vapic_reg vid ple shadow_vmcs pml ept_mode_based_exec tsc_scaling +bugs : spectre_v1 spectre_v2 spec_store_bypass swapgs taa itlb_multihit mmio_stale_data retbleed eibrs_pbrsb gds bhi +bogomips : 4201.84 +clflush size : 64 +cache_alignment : 64 +address sizes : 46 bits physical, 48 bits virtual +power management: + +processor : 25 +vendor_id : GenuineIntel +cpu family : 6 +model : 85 +model name : Intel(R) Xeon(R) Gold 5218R CPU @ 2.10GHz +stepping : 7 +microcode : 0x5003707 +cpu MHz : 2100.000 +cache size : 28160 KB +physical id : 1 +siblings : 40 +core id : 8 +cpu cores : 20 +apicid : 80 +initial apicid : 80 +fpu : yes +fpu_exception : yes +cpuid level : 22 +wp : yes +flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx pdpe1gb rdtscp lm constant_tsc art arch_perfmon pebs bts rep_good nopl xtopology nonstop_tsc cpuid aperfmperf pni pclmulqdq dtes64 monitor ds_cpl vmx smx est tm2 ssse3 sdbg fma cx16 xtpr pdcm pcid dca sse4_1 sse4_2 x2apic movbe popcnt tsc_deadline_timer aes xsave avx f16c rdrand lahf_lm abm 3dnowprefetch cpuid_fault epb cat_l3 cdp_l3 invpcid_single intel_ppin ssbd mba ibrs ibpb stibp ibrs_enhanced tpr_shadow vnmi flexpriority ept vpid ept_ad fsgsbase tsc_adjust bmi1 avx2 smep bmi2 erms invpcid cqm mpx rdt_a avx512f avx512dq rdseed adx smap clflushopt clwb intel_pt avx512cd avx512bw avx512vl xsaveopt xsavec xgetbv1 xsaves cqm_llc cqm_occup_llc cqm_mbm_total cqm_mbm_local dtherm ida arat pln pts pku ospke avx512_vnni md_clear flush_l1d arch_capabilities +vmx flags : vnmi preemption_timer posted_intr invvpid ept_x_only ept_ad ept_1gb flexpriority apicv tsc_offset vtpr mtf vapic ept vpid unrestricted_guest vapic_reg vid ple shadow_vmcs pml ept_mode_based_exec tsc_scaling +bugs : spectre_v1 spectre_v2 spec_store_bypass swapgs taa itlb_multihit mmio_stale_data retbleed eibrs_pbrsb gds bhi +bogomips : 4201.84 +clflush size : 64 +cache_alignment : 64 +address sizes : 46 bits physical, 48 bits virtual +power management: + +processor : 26 +vendor_id : GenuineIntel +cpu family : 6 +model : 85 +model name : Intel(R) Xeon(R) Gold 5218R CPU @ 2.10GHz +stepping : 7 +microcode : 0x5003707 +cpu MHz : 2100.000 +cache size : 28160 KB +physical id : 1 +siblings : 40 +core id : 9 +cpu cores : 20 +apicid : 82 +initial apicid : 82 +fpu : yes +fpu_exception : yes +cpuid level : 22 +wp : yes +flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx pdpe1gb rdtscp lm constant_tsc art arch_perfmon pebs bts rep_good nopl xtopology nonstop_tsc cpuid aperfmperf pni pclmulqdq dtes64 monitor ds_cpl vmx smx est tm2 ssse3 sdbg fma cx16 xtpr pdcm pcid dca sse4_1 sse4_2 x2apic movbe popcnt tsc_deadline_timer aes xsave avx f16c rdrand lahf_lm abm 3dnowprefetch cpuid_fault epb cat_l3 cdp_l3 invpcid_single intel_ppin ssbd mba ibrs ibpb stibp ibrs_enhanced tpr_shadow vnmi flexpriority ept vpid ept_ad fsgsbase tsc_adjust bmi1 avx2 smep bmi2 erms invpcid cqm mpx rdt_a avx512f avx512dq rdseed adx smap clflushopt clwb intel_pt avx512cd avx512bw avx512vl xsaveopt xsavec xgetbv1 xsaves cqm_llc cqm_occup_llc cqm_mbm_total cqm_mbm_local dtherm ida arat pln pts pku ospke avx512_vnni md_clear flush_l1d arch_capabilities +vmx flags : vnmi preemption_timer posted_intr invvpid ept_x_only ept_ad ept_1gb flexpriority apicv tsc_offset vtpr mtf vapic ept vpid unrestricted_guest vapic_reg vid ple shadow_vmcs pml ept_mode_based_exec tsc_scaling +bugs : spectre_v1 spectre_v2 spec_store_bypass swapgs taa itlb_multihit mmio_stale_data retbleed eibrs_pbrsb gds bhi +bogomips : 4201.84 +clflush size : 64 +cache_alignment : 64 +address sizes : 46 bits physical, 48 bits virtual +power management: + +processor : 27 +vendor_id : GenuineIntel +cpu family : 6 +model : 85 +model name : Intel(R) Xeon(R) Gold 5218R CPU @ 2.10GHz +stepping : 7 +microcode : 0x5003707 +cpu MHz : 2100.000 +cache size : 28160 KB +physical id : 1 +siblings : 40 +core id : 10 +cpu cores : 20 +apicid : 84 +initial apicid : 84 +fpu : yes +fpu_exception : yes +cpuid level : 22 +wp : yes +flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx pdpe1gb rdtscp lm constant_tsc art arch_perfmon pebs bts rep_good nopl xtopology nonstop_tsc cpuid aperfmperf pni pclmulqdq dtes64 monitor ds_cpl vmx smx est tm2 ssse3 sdbg fma cx16 xtpr pdcm pcid dca sse4_1 sse4_2 x2apic movbe popcnt tsc_deadline_timer aes xsave avx f16c rdrand lahf_lm abm 3dnowprefetch cpuid_fault epb cat_l3 cdp_l3 invpcid_single intel_ppin ssbd mba ibrs ibpb stibp ibrs_enhanced tpr_shadow vnmi flexpriority ept vpid ept_ad fsgsbase tsc_adjust bmi1 avx2 smep bmi2 erms invpcid cqm mpx rdt_a avx512f avx512dq rdseed adx smap clflushopt clwb intel_pt avx512cd avx512bw avx512vl xsaveopt xsavec xgetbv1 xsaves cqm_llc cqm_occup_llc cqm_mbm_total cqm_mbm_local dtherm ida arat pln pts pku ospke avx512_vnni md_clear flush_l1d arch_capabilities +vmx flags : vnmi preemption_timer posted_intr invvpid ept_x_only ept_ad ept_1gb flexpriority apicv tsc_offset vtpr mtf vapic ept vpid unrestricted_guest vapic_reg vid ple shadow_vmcs pml ept_mode_based_exec tsc_scaling +bugs : spectre_v1 spectre_v2 spec_store_bypass swapgs taa itlb_multihit mmio_stale_data retbleed eibrs_pbrsb gds bhi +bogomips : 4201.84 +clflush size : 64 +cache_alignment : 64 +address sizes : 46 bits physical, 48 bits virtual +power management: + +processor : 28 +vendor_id : GenuineIntel +cpu family : 6 +model : 85 +model name : Intel(R) Xeon(R) Gold 5218R CPU @ 2.10GHz +stepping : 7 +microcode : 0x5003707 +cpu MHz : 2100.000 +cache size : 28160 KB +physical id : 1 +siblings : 40 +core id : 11 +cpu cores : 20 +apicid : 86 +initial apicid : 86 +fpu : yes +fpu_exception : yes +cpuid level : 22 +wp : yes +flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx pdpe1gb rdtscp lm constant_tsc art arch_perfmon pebs bts rep_good nopl xtopology nonstop_tsc cpuid aperfmperf pni pclmulqdq dtes64 monitor ds_cpl vmx smx est tm2 ssse3 sdbg fma cx16 xtpr pdcm pcid dca sse4_1 sse4_2 x2apic movbe popcnt tsc_deadline_timer aes xsave avx f16c rdrand lahf_lm abm 3dnowprefetch cpuid_fault epb cat_l3 cdp_l3 invpcid_single intel_ppin ssbd mba ibrs ibpb stibp ibrs_enhanced tpr_shadow vnmi flexpriority ept vpid ept_ad fsgsbase tsc_adjust bmi1 avx2 smep bmi2 erms invpcid cqm mpx rdt_a avx512f avx512dq rdseed adx smap clflushopt clwb intel_pt avx512cd avx512bw avx512vl xsaveopt xsavec xgetbv1 xsaves cqm_llc cqm_occup_llc cqm_mbm_total cqm_mbm_local dtherm ida arat pln pts pku ospke avx512_vnni md_clear flush_l1d arch_capabilities +vmx flags : vnmi preemption_timer posted_intr invvpid ept_x_only ept_ad ept_1gb flexpriority apicv tsc_offset vtpr mtf vapic ept vpid unrestricted_guest vapic_reg vid ple shadow_vmcs pml ept_mode_based_exec tsc_scaling +bugs : spectre_v1 spectre_v2 spec_store_bypass swapgs taa itlb_multihit mmio_stale_data retbleed eibrs_pbrsb gds bhi +bogomips : 4201.84 +clflush size : 64 +cache_alignment : 64 +address sizes : 46 bits physical, 48 bits virtual +power management: + +processor : 29 +vendor_id : GenuineIntel +cpu family : 6 +model : 85 +model name : Intel(R) Xeon(R) Gold 5218R CPU @ 2.10GHz +stepping : 7 +microcode : 0x5003707 +cpu MHz : 2100.000 +cache size : 28160 KB +physical id : 1 +siblings : 40 +core id : 12 +cpu cores : 20 +apicid : 88 +initial apicid : 88 +fpu : yes +fpu_exception : yes +cpuid level : 22 +wp : yes +flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx pdpe1gb rdtscp lm constant_tsc art arch_perfmon pebs bts rep_good nopl xtopology nonstop_tsc cpuid aperfmperf pni pclmulqdq dtes64 monitor ds_cpl vmx smx est tm2 ssse3 sdbg fma cx16 xtpr pdcm pcid dca sse4_1 sse4_2 x2apic movbe popcnt tsc_deadline_timer aes xsave avx f16c rdrand lahf_lm abm 3dnowprefetch cpuid_fault epb cat_l3 cdp_l3 invpcid_single intel_ppin ssbd mba ibrs ibpb stibp ibrs_enhanced tpr_shadow vnmi flexpriority ept vpid ept_ad fsgsbase tsc_adjust bmi1 avx2 smep bmi2 erms invpcid cqm mpx rdt_a avx512f avx512dq rdseed adx smap clflushopt clwb intel_pt avx512cd avx512bw avx512vl xsaveopt xsavec xgetbv1 xsaves cqm_llc cqm_occup_llc cqm_mbm_total cqm_mbm_local dtherm ida arat pln pts pku ospke avx512_vnni md_clear flush_l1d arch_capabilities +vmx flags : vnmi preemption_timer posted_intr invvpid ept_x_only ept_ad ept_1gb flexpriority apicv tsc_offset vtpr mtf vapic ept vpid unrestricted_guest vapic_reg vid ple shadow_vmcs pml ept_mode_based_exec tsc_scaling +bugs : spectre_v1 spectre_v2 spec_store_bypass swapgs taa itlb_multihit mmio_stale_data retbleed eibrs_pbrsb gds bhi +bogomips : 4201.84 +clflush size : 64 +cache_alignment : 64 +address sizes : 46 bits physical, 48 bits virtual +power management: + +processor : 30 +vendor_id : GenuineIntel +cpu family : 6 +model : 85 +model name : Intel(R) Xeon(R) Gold 5218R CPU @ 2.10GHz +stepping : 7 +microcode : 0x5003707 +cpu MHz : 2100.000 +cache size : 28160 KB +physical id : 1 +siblings : 40 +core id : 16 +cpu cores : 20 +apicid : 96 +initial apicid : 96 +fpu : yes +fpu_exception : yes +cpuid level : 22 +wp : yes +flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx pdpe1gb rdtscp lm constant_tsc art arch_perfmon pebs bts rep_good nopl xtopology nonstop_tsc cpuid aperfmperf pni pclmulqdq dtes64 monitor ds_cpl vmx smx est tm2 ssse3 sdbg fma cx16 xtpr pdcm pcid dca sse4_1 sse4_2 x2apic movbe popcnt tsc_deadline_timer aes xsave avx f16c rdrand lahf_lm abm 3dnowprefetch cpuid_fault epb cat_l3 cdp_l3 invpcid_single intel_ppin ssbd mba ibrs ibpb stibp ibrs_enhanced tpr_shadow vnmi flexpriority ept vpid ept_ad fsgsbase tsc_adjust bmi1 avx2 smep bmi2 erms invpcid cqm mpx rdt_a avx512f avx512dq rdseed adx smap clflushopt clwb intel_pt avx512cd avx512bw avx512vl xsaveopt xsavec xgetbv1 xsaves cqm_llc cqm_occup_llc cqm_mbm_total cqm_mbm_local dtherm ida arat pln pts pku ospke avx512_vnni md_clear flush_l1d arch_capabilities +vmx flags : vnmi preemption_timer posted_intr invvpid ept_x_only ept_ad ept_1gb flexpriority apicv tsc_offset vtpr mtf vapic ept vpid unrestricted_guest vapic_reg vid ple shadow_vmcs pml ept_mode_based_exec tsc_scaling +bugs : spectre_v1 spectre_v2 spec_store_bypass swapgs taa itlb_multihit mmio_stale_data retbleed eibrs_pbrsb gds bhi +bogomips : 4201.84 +clflush size : 64 +cache_alignment : 64 +address sizes : 46 bits physical, 48 bits virtual +power management: + +processor : 31 +vendor_id : GenuineIntel +cpu family : 6 +model : 85 +model name : Intel(R) Xeon(R) Gold 5218R CPU @ 2.10GHz +stepping : 7 +microcode : 0x5003707 +cpu MHz : 2100.000 +cache size : 28160 KB +physical id : 1 +siblings : 40 +core id : 17 +cpu cores : 20 +apicid : 98 +initial apicid : 98 +fpu : yes +fpu_exception : yes +cpuid level : 22 +wp : yes +flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx pdpe1gb rdtscp lm constant_tsc art arch_perfmon pebs bts rep_good nopl xtopology nonstop_tsc cpuid aperfmperf pni pclmulqdq dtes64 monitor ds_cpl vmx smx est tm2 ssse3 sdbg fma cx16 xtpr pdcm pcid dca sse4_1 sse4_2 x2apic movbe popcnt tsc_deadline_timer aes xsave avx f16c rdrand lahf_lm abm 3dnowprefetch cpuid_fault epb cat_l3 cdp_l3 invpcid_single intel_ppin ssbd mba ibrs ibpb stibp ibrs_enhanced tpr_shadow vnmi flexpriority ept vpid ept_ad fsgsbase tsc_adjust bmi1 avx2 smep bmi2 erms invpcid cqm mpx rdt_a avx512f avx512dq rdseed adx smap clflushopt clwb intel_pt avx512cd avx512bw avx512vl xsaveopt xsavec xgetbv1 xsaves cqm_llc cqm_occup_llc cqm_mbm_total cqm_mbm_local dtherm ida arat pln pts pku ospke avx512_vnni md_clear flush_l1d arch_capabilities +vmx flags : vnmi preemption_timer posted_intr invvpid ept_x_only ept_ad ept_1gb flexpriority apicv tsc_offset vtpr mtf vapic ept vpid unrestricted_guest vapic_reg vid ple shadow_vmcs pml ept_mode_based_exec tsc_scaling +bugs : spectre_v1 spectre_v2 spec_store_bypass swapgs taa itlb_multihit mmio_stale_data retbleed eibrs_pbrsb gds bhi +bogomips : 4201.84 +clflush size : 64 +cache_alignment : 64 +address sizes : 46 bits physical, 48 bits virtual +power management: + +processor : 32 +vendor_id : GenuineIntel +cpu family : 6 +model : 85 +model name : Intel(R) Xeon(R) Gold 5218R CPU @ 2.10GHz +stepping : 7 +microcode : 0x5003707 +cpu MHz : 2100.000 +cache size : 28160 KB +physical id : 1 +siblings : 40 +core id : 18 +cpu cores : 20 +apicid : 100 +initial apicid : 100 +fpu : yes +fpu_exception : yes +cpuid level : 22 +wp : yes +flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx pdpe1gb rdtscp lm constant_tsc art arch_perfmon pebs bts rep_good nopl xtopology nonstop_tsc cpuid aperfmperf pni pclmulqdq dtes64 monitor ds_cpl vmx smx est tm2 ssse3 sdbg fma cx16 xtpr pdcm pcid dca sse4_1 sse4_2 x2apic movbe popcnt tsc_deadline_timer aes xsave avx f16c rdrand lahf_lm abm 3dnowprefetch cpuid_fault epb cat_l3 cdp_l3 invpcid_single intel_ppin ssbd mba ibrs ibpb stibp ibrs_enhanced tpr_shadow vnmi flexpriority ept vpid ept_ad fsgsbase tsc_adjust bmi1 avx2 smep bmi2 erms invpcid cqm mpx rdt_a avx512f avx512dq rdseed adx smap clflushopt clwb intel_pt avx512cd avx512bw avx512vl xsaveopt xsavec xgetbv1 xsaves cqm_llc cqm_occup_llc cqm_mbm_total cqm_mbm_local dtherm ida arat pln pts pku ospke avx512_vnni md_clear flush_l1d arch_capabilities +vmx flags : vnmi preemption_timer posted_intr invvpid ept_x_only ept_ad ept_1gb flexpriority apicv tsc_offset vtpr mtf vapic ept vpid unrestricted_guest vapic_reg vid ple shadow_vmcs pml ept_mode_based_exec tsc_scaling +bugs : spectre_v1 spectre_v2 spec_store_bypass swapgs taa itlb_multihit mmio_stale_data retbleed eibrs_pbrsb gds bhi +bogomips : 4201.84 +clflush size : 64 +cache_alignment : 64 +address sizes : 46 bits physical, 48 bits virtual +power management: + +processor : 33 +vendor_id : GenuineIntel +cpu family : 6 +model : 85 +model name : Intel(R) Xeon(R) Gold 5218R CPU @ 2.10GHz +stepping : 7 +microcode : 0x5003707 +cpu MHz : 2100.000 +cache size : 28160 KB +physical id : 1 +siblings : 40 +core id : 19 +cpu cores : 20 +apicid : 102 +initial apicid : 102 +fpu : yes +fpu_exception : yes +cpuid level : 22 +wp : yes +flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx pdpe1gb rdtscp lm constant_tsc art arch_perfmon pebs bts rep_good nopl xtopology nonstop_tsc cpuid aperfmperf pni pclmulqdq dtes64 monitor ds_cpl vmx smx est tm2 ssse3 sdbg fma cx16 xtpr pdcm pcid dca sse4_1 sse4_2 x2apic movbe popcnt tsc_deadline_timer aes xsave avx f16c rdrand lahf_lm abm 3dnowprefetch cpuid_fault epb cat_l3 cdp_l3 invpcid_single intel_ppin ssbd mba ibrs ibpb stibp ibrs_enhanced tpr_shadow vnmi flexpriority ept vpid ept_ad fsgsbase tsc_adjust bmi1 avx2 smep bmi2 erms invpcid cqm mpx rdt_a avx512f avx512dq rdseed adx smap clflushopt clwb intel_pt avx512cd avx512bw avx512vl xsaveopt xsavec xgetbv1 xsaves cqm_llc cqm_occup_llc cqm_mbm_total cqm_mbm_local dtherm ida arat pln pts pku ospke avx512_vnni md_clear flush_l1d arch_capabilities +vmx flags : vnmi preemption_timer posted_intr invvpid ept_x_only ept_ad ept_1gb flexpriority apicv tsc_offset vtpr mtf vapic ept vpid unrestricted_guest vapic_reg vid ple shadow_vmcs pml ept_mode_based_exec tsc_scaling +bugs : spectre_v1 spectre_v2 spec_store_bypass swapgs taa itlb_multihit mmio_stale_data retbleed eibrs_pbrsb gds bhi +bogomips : 4201.84 +clflush size : 64 +cache_alignment : 64 +address sizes : 46 bits physical, 48 bits virtual +power management: + +processor : 34 +vendor_id : GenuineIntel +cpu family : 6 +model : 85 +model name : Intel(R) Xeon(R) Gold 5218R CPU @ 2.10GHz +stepping : 7 +microcode : 0x5003707 +cpu MHz : 2100.000 +cache size : 28160 KB +physical id : 1 +siblings : 40 +core id : 20 +cpu cores : 20 +apicid : 104 +initial apicid : 104 +fpu : yes +fpu_exception : yes +cpuid level : 22 +wp : yes +flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx pdpe1gb rdtscp lm constant_tsc art arch_perfmon pebs bts rep_good nopl xtopology nonstop_tsc cpuid aperfmperf pni pclmulqdq dtes64 monitor ds_cpl vmx smx est tm2 ssse3 sdbg fma cx16 xtpr pdcm pcid dca sse4_1 sse4_2 x2apic movbe popcnt tsc_deadline_timer aes xsave avx f16c rdrand lahf_lm abm 3dnowprefetch cpuid_fault epb cat_l3 cdp_l3 invpcid_single intel_ppin ssbd mba ibrs ibpb stibp ibrs_enhanced tpr_shadow vnmi flexpriority ept vpid ept_ad fsgsbase tsc_adjust bmi1 avx2 smep bmi2 erms invpcid cqm mpx rdt_a avx512f avx512dq rdseed adx smap clflushopt clwb intel_pt avx512cd avx512bw avx512vl xsaveopt xsavec xgetbv1 xsaves cqm_llc cqm_occup_llc cqm_mbm_total cqm_mbm_local dtherm ida arat pln pts pku ospke avx512_vnni md_clear flush_l1d arch_capabilities +vmx flags : vnmi preemption_timer posted_intr invvpid ept_x_only ept_ad ept_1gb flexpriority apicv tsc_offset vtpr mtf vapic ept vpid unrestricted_guest vapic_reg vid ple shadow_vmcs pml ept_mode_based_exec tsc_scaling +bugs : spectre_v1 spectre_v2 spec_store_bypass swapgs taa itlb_multihit mmio_stale_data retbleed eibrs_pbrsb gds bhi +bogomips : 4201.84 +clflush size : 64 +cache_alignment : 64 +address sizes : 46 bits physical, 48 bits virtual +power management: + +processor : 35 +vendor_id : GenuineIntel +cpu family : 6 +model : 85 +model name : Intel(R) Xeon(R) Gold 5218R CPU @ 2.10GHz +stepping : 7 +microcode : 0x5003707 +cpu MHz : 2100.000 +cache size : 28160 KB +physical id : 1 +siblings : 40 +core id : 24 +cpu cores : 20 +apicid : 112 +initial apicid : 112 +fpu : yes +fpu_exception : yes +cpuid level : 22 +wp : yes +flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx pdpe1gb rdtscp lm constant_tsc art arch_perfmon pebs bts rep_good nopl xtopology nonstop_tsc cpuid aperfmperf pni pclmulqdq dtes64 monitor ds_cpl vmx smx est tm2 ssse3 sdbg fma cx16 xtpr pdcm pcid dca sse4_1 sse4_2 x2apic movbe popcnt tsc_deadline_timer aes xsave avx f16c rdrand lahf_lm abm 3dnowprefetch cpuid_fault epb cat_l3 cdp_l3 invpcid_single intel_ppin ssbd mba ibrs ibpb stibp ibrs_enhanced tpr_shadow vnmi flexpriority ept vpid ept_ad fsgsbase tsc_adjust bmi1 avx2 smep bmi2 erms invpcid cqm mpx rdt_a avx512f avx512dq rdseed adx smap clflushopt clwb intel_pt avx512cd avx512bw avx512vl xsaveopt xsavec xgetbv1 xsaves cqm_llc cqm_occup_llc cqm_mbm_total cqm_mbm_local dtherm ida arat pln pts pku ospke avx512_vnni md_clear flush_l1d arch_capabilities +vmx flags : vnmi preemption_timer posted_intr invvpid ept_x_only ept_ad ept_1gb flexpriority apicv tsc_offset vtpr mtf vapic ept vpid unrestricted_guest vapic_reg vid ple shadow_vmcs pml ept_mode_based_exec tsc_scaling +bugs : spectre_v1 spectre_v2 spec_store_bypass swapgs taa itlb_multihit mmio_stale_data retbleed eibrs_pbrsb gds bhi +bogomips : 4201.84 +clflush size : 64 +cache_alignment : 64 +address sizes : 46 bits physical, 48 bits virtual +power management: + +processor : 36 +vendor_id : GenuineIntel +cpu family : 6 +model : 85 +model name : Intel(R) Xeon(R) Gold 5218R CPU @ 2.10GHz +stepping : 7 +microcode : 0x5003707 +cpu MHz : 2100.000 +cache size : 28160 KB +physical id : 1 +siblings : 40 +core id : 25 +cpu cores : 20 +apicid : 114 +initial apicid : 114 +fpu : yes +fpu_exception : yes +cpuid level : 22 +wp : yes +flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx pdpe1gb rdtscp lm constant_tsc art arch_perfmon pebs bts rep_good nopl xtopology nonstop_tsc cpuid aperfmperf pni pclmulqdq dtes64 monitor ds_cpl vmx smx est tm2 ssse3 sdbg fma cx16 xtpr pdcm pcid dca sse4_1 sse4_2 x2apic movbe popcnt tsc_deadline_timer aes xsave avx f16c rdrand lahf_lm abm 3dnowprefetch cpuid_fault epb cat_l3 cdp_l3 invpcid_single intel_ppin ssbd mba ibrs ibpb stibp ibrs_enhanced tpr_shadow vnmi flexpriority ept vpid ept_ad fsgsbase tsc_adjust bmi1 avx2 smep bmi2 erms invpcid cqm mpx rdt_a avx512f avx512dq rdseed adx smap clflushopt clwb intel_pt avx512cd avx512bw avx512vl xsaveopt xsavec xgetbv1 xsaves cqm_llc cqm_occup_llc cqm_mbm_total cqm_mbm_local dtherm ida arat pln pts pku ospke avx512_vnni md_clear flush_l1d arch_capabilities +vmx flags : vnmi preemption_timer posted_intr invvpid ept_x_only ept_ad ept_1gb flexpriority apicv tsc_offset vtpr mtf vapic ept vpid unrestricted_guest vapic_reg vid ple shadow_vmcs pml ept_mode_based_exec tsc_scaling +bugs : spectre_v1 spectre_v2 spec_store_bypass swapgs taa itlb_multihit mmio_stale_data retbleed eibrs_pbrsb gds bhi +bogomips : 4201.84 +clflush size : 64 +cache_alignment : 64 +address sizes : 46 bits physical, 48 bits virtual +power management: + +processor : 37 +vendor_id : GenuineIntel +cpu family : 6 +model : 85 +model name : Intel(R) Xeon(R) Gold 5218R CPU @ 2.10GHz +stepping : 7 +microcode : 0x5003707 +cpu MHz : 2100.000 +cache size : 28160 KB +physical id : 1 +siblings : 40 +core id : 26 +cpu cores : 20 +apicid : 116 +initial apicid : 116 +fpu : yes +fpu_exception : yes +cpuid level : 22 +wp : yes +flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx pdpe1gb rdtscp lm constant_tsc art arch_perfmon pebs bts rep_good nopl xtopology nonstop_tsc cpuid aperfmperf pni pclmulqdq dtes64 monitor ds_cpl vmx smx est tm2 ssse3 sdbg fma cx16 xtpr pdcm pcid dca sse4_1 sse4_2 x2apic movbe popcnt tsc_deadline_timer aes xsave avx f16c rdrand lahf_lm abm 3dnowprefetch cpuid_fault epb cat_l3 cdp_l3 invpcid_single intel_ppin ssbd mba ibrs ibpb stibp ibrs_enhanced tpr_shadow vnmi flexpriority ept vpid ept_ad fsgsbase tsc_adjust bmi1 avx2 smep bmi2 erms invpcid cqm mpx rdt_a avx512f avx512dq rdseed adx smap clflushopt clwb intel_pt avx512cd avx512bw avx512vl xsaveopt xsavec xgetbv1 xsaves cqm_llc cqm_occup_llc cqm_mbm_total cqm_mbm_local dtherm ida arat pln pts pku ospke avx512_vnni md_clear flush_l1d arch_capabilities +vmx flags : vnmi preemption_timer posted_intr invvpid ept_x_only ept_ad ept_1gb flexpriority apicv tsc_offset vtpr mtf vapic ept vpid unrestricted_guest vapic_reg vid ple shadow_vmcs pml ept_mode_based_exec tsc_scaling +bugs : spectre_v1 spectre_v2 spec_store_bypass swapgs taa itlb_multihit mmio_stale_data retbleed eibrs_pbrsb gds bhi +bogomips : 4201.84 +clflush size : 64 +cache_alignment : 64 +address sizes : 46 bits physical, 48 bits virtual +power management: + +processor : 38 +vendor_id : GenuineIntel +cpu family : 6 +model : 85 +model name : Intel(R) Xeon(R) Gold 5218R CPU @ 2.10GHz +stepping : 7 +microcode : 0x5003707 +cpu MHz : 2100.000 +cache size : 28160 KB +physical id : 1 +siblings : 40 +core id : 27 +cpu cores : 20 +apicid : 118 +initial apicid : 118 +fpu : yes +fpu_exception : yes +cpuid level : 22 +wp : yes +flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx pdpe1gb rdtscp lm constant_tsc art arch_perfmon pebs bts rep_good nopl xtopology nonstop_tsc cpuid aperfmperf pni pclmulqdq dtes64 monitor ds_cpl vmx smx est tm2 ssse3 sdbg fma cx16 xtpr pdcm pcid dca sse4_1 sse4_2 x2apic movbe popcnt tsc_deadline_timer aes xsave avx f16c rdrand lahf_lm abm 3dnowprefetch cpuid_fault epb cat_l3 cdp_l3 invpcid_single intel_ppin ssbd mba ibrs ibpb stibp ibrs_enhanced tpr_shadow vnmi flexpriority ept vpid ept_ad fsgsbase tsc_adjust bmi1 avx2 smep bmi2 erms invpcid cqm mpx rdt_a avx512f avx512dq rdseed adx smap clflushopt clwb intel_pt avx512cd avx512bw avx512vl xsaveopt xsavec xgetbv1 xsaves cqm_llc cqm_occup_llc cqm_mbm_total cqm_mbm_local dtherm ida arat pln pts pku ospke avx512_vnni md_clear flush_l1d arch_capabilities +vmx flags : vnmi preemption_timer posted_intr invvpid ept_x_only ept_ad ept_1gb flexpriority apicv tsc_offset vtpr mtf vapic ept vpid unrestricted_guest vapic_reg vid ple shadow_vmcs pml ept_mode_based_exec tsc_scaling +bugs : spectre_v1 spectre_v2 spec_store_bypass swapgs taa itlb_multihit mmio_stale_data retbleed eibrs_pbrsb gds bhi +bogomips : 4201.84 +clflush size : 64 +cache_alignment : 64 +address sizes : 46 bits physical, 48 bits virtual +power management: + +processor : 39 +vendor_id : GenuineIntel +cpu family : 6 +model : 85 +model name : Intel(R) Xeon(R) Gold 5218R CPU @ 2.10GHz +stepping : 7 +microcode : 0x5003707 +cpu MHz : 2100.000 +cache size : 28160 KB +physical id : 1 +siblings : 40 +core id : 28 +cpu cores : 20 +apicid : 120 +initial apicid : 120 +fpu : yes +fpu_exception : yes +cpuid level : 22 +wp : yes +flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx pdpe1gb rdtscp lm constant_tsc art arch_perfmon pebs bts rep_good nopl xtopology nonstop_tsc cpuid aperfmperf pni pclmulqdq dtes64 monitor ds_cpl vmx smx est tm2 ssse3 sdbg fma cx16 xtpr pdcm pcid dca sse4_1 sse4_2 x2apic movbe popcnt tsc_deadline_timer aes xsave avx f16c rdrand lahf_lm abm 3dnowprefetch cpuid_fault epb cat_l3 cdp_l3 invpcid_single intel_ppin ssbd mba ibrs ibpb stibp ibrs_enhanced tpr_shadow vnmi flexpriority ept vpid ept_ad fsgsbase tsc_adjust bmi1 avx2 smep bmi2 erms invpcid cqm mpx rdt_a avx512f avx512dq rdseed adx smap clflushopt clwb intel_pt avx512cd avx512bw avx512vl xsaveopt xsavec xgetbv1 xsaves cqm_llc cqm_occup_llc cqm_mbm_total cqm_mbm_local dtherm ida arat pln pts pku ospke avx512_vnni md_clear flush_l1d arch_capabilities +vmx flags : vnmi preemption_timer posted_intr invvpid ept_x_only ept_ad ept_1gb flexpriority apicv tsc_offset vtpr mtf vapic ept vpid unrestricted_guest vapic_reg vid ple shadow_vmcs pml ept_mode_based_exec tsc_scaling +bugs : spectre_v1 spectre_v2 spec_store_bypass swapgs taa itlb_multihit mmio_stale_data retbleed eibrs_pbrsb gds bhi +bogomips : 4201.84 +clflush size : 64 +cache_alignment : 64 +address sizes : 46 bits physical, 48 bits virtual +power management: + +processor : 40 +vendor_id : GenuineIntel +cpu family : 6 +model : 85 +model name : Intel(R) Xeon(R) Gold 5218R CPU @ 2.10GHz +stepping : 7 +microcode : 0x5003707 +cpu MHz : 2100.000 +cache size : 28160 KB +physical id : 0 +siblings : 40 +core id : 0 +cpu cores : 20 +apicid : 1 +initial apicid : 1 +fpu : yes +fpu_exception : yes +cpuid level : 22 +wp : yes +flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx pdpe1gb rdtscp lm constant_tsc art arch_perfmon pebs bts rep_good nopl xtopology nonstop_tsc cpuid aperfmperf pni pclmulqdq dtes64 monitor ds_cpl vmx smx est tm2 ssse3 sdbg fma cx16 xtpr pdcm pcid dca sse4_1 sse4_2 x2apic movbe popcnt tsc_deadline_timer aes xsave avx f16c rdrand lahf_lm abm 3dnowprefetch cpuid_fault epb cat_l3 cdp_l3 invpcid_single intel_ppin ssbd mba ibrs ibpb stibp ibrs_enhanced tpr_shadow vnmi flexpriority ept vpid ept_ad fsgsbase tsc_adjust bmi1 avx2 smep bmi2 erms invpcid cqm mpx rdt_a avx512f avx512dq rdseed adx smap clflushopt clwb intel_pt avx512cd avx512bw avx512vl xsaveopt xsavec xgetbv1 xsaves cqm_llc cqm_occup_llc cqm_mbm_total cqm_mbm_local dtherm ida arat pln pts pku ospke avx512_vnni md_clear flush_l1d arch_capabilities +vmx flags : vnmi preemption_timer posted_intr invvpid ept_x_only ept_ad ept_1gb flexpriority apicv tsc_offset vtpr mtf vapic ept vpid unrestricted_guest vapic_reg vid ple shadow_vmcs pml ept_mode_based_exec tsc_scaling +bugs : spectre_v1 spectre_v2 spec_store_bypass swapgs taa itlb_multihit mmio_stale_data retbleed eibrs_pbrsb gds bhi +bogomips : 4200.00 +clflush size : 64 +cache_alignment : 64 +address sizes : 46 bits physical, 48 bits virtual +power management: + +processor : 41 +vendor_id : GenuineIntel +cpu family : 6 +model : 85 +model name : Intel(R) Xeon(R) Gold 5218R CPU @ 2.10GHz +stepping : 7 +microcode : 0x5003707 +cpu MHz : 2100.000 +cache size : 28160 KB +physical id : 0 +siblings : 40 +core id : 1 +cpu cores : 20 +apicid : 3 +initial apicid : 3 +fpu : yes +fpu_exception : yes +cpuid level : 22 +wp : yes +flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx pdpe1gb rdtscp lm constant_tsc art arch_perfmon pebs bts rep_good nopl xtopology nonstop_tsc cpuid aperfmperf pni pclmulqdq dtes64 monitor ds_cpl vmx smx est tm2 ssse3 sdbg fma cx16 xtpr pdcm pcid dca sse4_1 sse4_2 x2apic movbe popcnt tsc_deadline_timer aes xsave avx f16c rdrand lahf_lm abm 3dnowprefetch cpuid_fault epb cat_l3 cdp_l3 invpcid_single intel_ppin ssbd mba ibrs ibpb stibp ibrs_enhanced tpr_shadow vnmi flexpriority ept vpid ept_ad fsgsbase tsc_adjust bmi1 avx2 smep bmi2 erms invpcid cqm mpx rdt_a avx512f avx512dq rdseed adx smap clflushopt clwb intel_pt avx512cd avx512bw avx512vl xsaveopt xsavec xgetbv1 xsaves cqm_llc cqm_occup_llc cqm_mbm_total cqm_mbm_local dtherm ida arat pln pts pku ospke avx512_vnni md_clear flush_l1d arch_capabilities +vmx flags : vnmi preemption_timer posted_intr invvpid ept_x_only ept_ad ept_1gb flexpriority apicv tsc_offset vtpr mtf vapic ept vpid unrestricted_guest vapic_reg vid ple shadow_vmcs pml ept_mode_based_exec tsc_scaling +bugs : spectre_v1 spectre_v2 spec_store_bypass swapgs taa itlb_multihit mmio_stale_data retbleed eibrs_pbrsb gds bhi +bogomips : 4200.00 +clflush size : 64 +cache_alignment : 64 +address sizes : 46 bits physical, 48 bits virtual +power management: + +processor : 42 +vendor_id : GenuineIntel +cpu family : 6 +model : 85 +model name : Intel(R) Xeon(R) Gold 5218R CPU @ 2.10GHz +stepping : 7 +microcode : 0x5003707 +cpu MHz : 2100.000 +cache size : 28160 KB +physical id : 0 +siblings : 40 +core id : 2 +cpu cores : 20 +apicid : 5 +initial apicid : 5 +fpu : yes +fpu_exception : yes +cpuid level : 22 +wp : yes +flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx pdpe1gb rdtscp lm constant_tsc art arch_perfmon pebs bts rep_good nopl xtopology nonstop_tsc cpuid aperfmperf pni pclmulqdq dtes64 monitor ds_cpl vmx smx est tm2 ssse3 sdbg fma cx16 xtpr pdcm pcid dca sse4_1 sse4_2 x2apic movbe popcnt tsc_deadline_timer aes xsave avx f16c rdrand lahf_lm abm 3dnowprefetch cpuid_fault epb cat_l3 cdp_l3 invpcid_single intel_ppin ssbd mba ibrs ibpb stibp ibrs_enhanced tpr_shadow vnmi flexpriority ept vpid ept_ad fsgsbase tsc_adjust bmi1 avx2 smep bmi2 erms invpcid cqm mpx rdt_a avx512f avx512dq rdseed adx smap clflushopt clwb intel_pt avx512cd avx512bw avx512vl xsaveopt xsavec xgetbv1 xsaves cqm_llc cqm_occup_llc cqm_mbm_total cqm_mbm_local dtherm ida arat pln pts pku ospke avx512_vnni md_clear flush_l1d arch_capabilities +vmx flags : vnmi preemption_timer posted_intr invvpid ept_x_only ept_ad ept_1gb flexpriority apicv tsc_offset vtpr mtf vapic ept vpid unrestricted_guest vapic_reg vid ple shadow_vmcs pml ept_mode_based_exec tsc_scaling +bugs : spectre_v1 spectre_v2 spec_store_bypass swapgs taa itlb_multihit mmio_stale_data retbleed eibrs_pbrsb gds bhi +bogomips : 4200.00 +clflush size : 64 +cache_alignment : 64 +address sizes : 46 bits physical, 48 bits virtual +power management: + +processor : 43 +vendor_id : GenuineIntel +cpu family : 6 +model : 85 +model name : Intel(R) Xeon(R) Gold 5218R CPU @ 2.10GHz +stepping : 7 +microcode : 0x5003707 +cpu MHz : 2100.000 +cache size : 28160 KB +physical id : 0 +siblings : 40 +core id : 3 +cpu cores : 20 +apicid : 7 +initial apicid : 7 +fpu : yes +fpu_exception : yes +cpuid level : 22 +wp : yes +flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx pdpe1gb rdtscp lm constant_tsc art arch_perfmon pebs bts rep_good nopl xtopology nonstop_tsc cpuid aperfmperf pni pclmulqdq dtes64 monitor ds_cpl vmx smx est tm2 ssse3 sdbg fma cx16 xtpr pdcm pcid dca sse4_1 sse4_2 x2apic movbe popcnt tsc_deadline_timer aes xsave avx f16c rdrand lahf_lm abm 3dnowprefetch cpuid_fault epb cat_l3 cdp_l3 invpcid_single intel_ppin ssbd mba ibrs ibpb stibp ibrs_enhanced tpr_shadow vnmi flexpriority ept vpid ept_ad fsgsbase tsc_adjust bmi1 avx2 smep bmi2 erms invpcid cqm mpx rdt_a avx512f avx512dq rdseed adx smap clflushopt clwb intel_pt avx512cd avx512bw avx512vl xsaveopt xsavec xgetbv1 xsaves cqm_llc cqm_occup_llc cqm_mbm_total cqm_mbm_local dtherm ida arat pln pts pku ospke avx512_vnni md_clear flush_l1d arch_capabilities +vmx flags : vnmi preemption_timer posted_intr invvpid ept_x_only ept_ad ept_1gb flexpriority apicv tsc_offset vtpr mtf vapic ept vpid unrestricted_guest vapic_reg vid ple shadow_vmcs pml ept_mode_based_exec tsc_scaling +bugs : spectre_v1 spectre_v2 spec_store_bypass swapgs taa itlb_multihit mmio_stale_data retbleed eibrs_pbrsb gds bhi +bogomips : 4200.00 +clflush size : 64 +cache_alignment : 64 +address sizes : 46 bits physical, 48 bits virtual +power management: + +processor : 44 +vendor_id : GenuineIntel +cpu family : 6 +model : 85 +model name : Intel(R) Xeon(R) Gold 5218R CPU @ 2.10GHz +stepping : 7 +microcode : 0x5003707 +cpu MHz : 2100.000 +cache size : 28160 KB +physical id : 0 +siblings : 40 +core id : 4 +cpu cores : 20 +apicid : 9 +initial apicid : 9 +fpu : yes +fpu_exception : yes +cpuid level : 22 +wp : yes +flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx pdpe1gb rdtscp lm constant_tsc art arch_perfmon pebs bts rep_good nopl xtopology nonstop_tsc cpuid aperfmperf pni pclmulqdq dtes64 monitor ds_cpl vmx smx est tm2 ssse3 sdbg fma cx16 xtpr pdcm pcid dca sse4_1 sse4_2 x2apic movbe popcnt tsc_deadline_timer aes xsave avx f16c rdrand lahf_lm abm 3dnowprefetch cpuid_fault epb cat_l3 cdp_l3 invpcid_single intel_ppin ssbd mba ibrs ibpb stibp ibrs_enhanced tpr_shadow vnmi flexpriority ept vpid ept_ad fsgsbase tsc_adjust bmi1 avx2 smep bmi2 erms invpcid cqm mpx rdt_a avx512f avx512dq rdseed adx smap clflushopt clwb intel_pt avx512cd avx512bw avx512vl xsaveopt xsavec xgetbv1 xsaves cqm_llc cqm_occup_llc cqm_mbm_total cqm_mbm_local dtherm ida arat pln pts pku ospke avx512_vnni md_clear flush_l1d arch_capabilities +vmx flags : vnmi preemption_timer posted_intr invvpid ept_x_only ept_ad ept_1gb flexpriority apicv tsc_offset vtpr mtf vapic ept vpid unrestricted_guest vapic_reg vid ple shadow_vmcs pml ept_mode_based_exec tsc_scaling +bugs : spectre_v1 spectre_v2 spec_store_bypass swapgs taa itlb_multihit mmio_stale_data retbleed eibrs_pbrsb gds bhi +bogomips : 4200.00 +clflush size : 64 +cache_alignment : 64 +address sizes : 46 bits physical, 48 bits virtual +power management: + +processor : 45 +vendor_id : GenuineIntel +cpu family : 6 +model : 85 +model name : Intel(R) Xeon(R) Gold 5218R CPU @ 2.10GHz +stepping : 7 +microcode : 0x5003707 +cpu MHz : 2100.000 +cache size : 28160 KB +physical id : 0 +siblings : 40 +core id : 8 +cpu cores : 20 +apicid : 17 +initial apicid : 17 +fpu : yes +fpu_exception : yes +cpuid level : 22 +wp : yes +flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx pdpe1gb rdtscp lm constant_tsc art arch_perfmon pebs bts rep_good nopl xtopology nonstop_tsc cpuid aperfmperf pni pclmulqdq dtes64 monitor ds_cpl vmx smx est tm2 ssse3 sdbg fma cx16 xtpr pdcm pcid dca sse4_1 sse4_2 x2apic movbe popcnt tsc_deadline_timer aes xsave avx f16c rdrand lahf_lm abm 3dnowprefetch cpuid_fault epb cat_l3 cdp_l3 invpcid_single intel_ppin ssbd mba ibrs ibpb stibp ibrs_enhanced tpr_shadow vnmi flexpriority ept vpid ept_ad fsgsbase tsc_adjust bmi1 avx2 smep bmi2 erms invpcid cqm mpx rdt_a avx512f avx512dq rdseed adx smap clflushopt clwb intel_pt avx512cd avx512bw avx512vl xsaveopt xsavec xgetbv1 xsaves cqm_llc cqm_occup_llc cqm_mbm_total cqm_mbm_local dtherm ida arat pln pts pku ospke avx512_vnni md_clear flush_l1d arch_capabilities +vmx flags : vnmi preemption_timer posted_intr invvpid ept_x_only ept_ad ept_1gb flexpriority apicv tsc_offset vtpr mtf vapic ept vpid unrestricted_guest vapic_reg vid ple shadow_vmcs pml ept_mode_based_exec tsc_scaling +bugs : spectre_v1 spectre_v2 spec_store_bypass swapgs taa itlb_multihit mmio_stale_data retbleed eibrs_pbrsb gds bhi +bogomips : 4200.00 +clflush size : 64 +cache_alignment : 64 +address sizes : 46 bits physical, 48 bits virtual +power management: + +processor : 46 +vendor_id : GenuineIntel +cpu family : 6 +model : 85 +model name : Intel(R) Xeon(R) Gold 5218R CPU @ 2.10GHz +stepping : 7 +microcode : 0x5003707 +cpu MHz : 2100.000 +cache size : 28160 KB +physical id : 0 +siblings : 40 +core id : 9 +cpu cores : 20 +apicid : 19 +initial apicid : 19 +fpu : yes +fpu_exception : yes +cpuid level : 22 +wp : yes +flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx pdpe1gb rdtscp lm constant_tsc art arch_perfmon pebs bts rep_good nopl xtopology nonstop_tsc cpuid aperfmperf pni pclmulqdq dtes64 monitor ds_cpl vmx smx est tm2 ssse3 sdbg fma cx16 xtpr pdcm pcid dca sse4_1 sse4_2 x2apic movbe popcnt tsc_deadline_timer aes xsave avx f16c rdrand lahf_lm abm 3dnowprefetch cpuid_fault epb cat_l3 cdp_l3 invpcid_single intel_ppin ssbd mba ibrs ibpb stibp ibrs_enhanced tpr_shadow vnmi flexpriority ept vpid ept_ad fsgsbase tsc_adjust bmi1 avx2 smep bmi2 erms invpcid cqm mpx rdt_a avx512f avx512dq rdseed adx smap clflushopt clwb intel_pt avx512cd avx512bw avx512vl xsaveopt xsavec xgetbv1 xsaves cqm_llc cqm_occup_llc cqm_mbm_total cqm_mbm_local dtherm ida arat pln pts pku ospke avx512_vnni md_clear flush_l1d arch_capabilities +vmx flags : vnmi preemption_timer posted_intr invvpid ept_x_only ept_ad ept_1gb flexpriority apicv tsc_offset vtpr mtf vapic ept vpid unrestricted_guest vapic_reg vid ple shadow_vmcs pml ept_mode_based_exec tsc_scaling +bugs : spectre_v1 spectre_v2 spec_store_bypass swapgs taa itlb_multihit mmio_stale_data retbleed eibrs_pbrsb gds bhi +bogomips : 4200.00 +clflush size : 64 +cache_alignment : 64 +address sizes : 46 bits physical, 48 bits virtual +power management: + +processor : 47 +vendor_id : GenuineIntel +cpu family : 6 +model : 85 +model name : Intel(R) Xeon(R) Gold 5218R CPU @ 2.10GHz +stepping : 7 +microcode : 0x5003707 +cpu MHz : 2100.000 +cache size : 28160 KB +physical id : 0 +siblings : 40 +core id : 10 +cpu cores : 20 +apicid : 21 +initial apicid : 21 +fpu : yes +fpu_exception : yes +cpuid level : 22 +wp : yes +flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx pdpe1gb rdtscp lm constant_tsc art arch_perfmon pebs bts rep_good nopl xtopology nonstop_tsc cpuid aperfmperf pni pclmulqdq dtes64 monitor ds_cpl vmx smx est tm2 ssse3 sdbg fma cx16 xtpr pdcm pcid dca sse4_1 sse4_2 x2apic movbe popcnt tsc_deadline_timer aes xsave avx f16c rdrand lahf_lm abm 3dnowprefetch cpuid_fault epb cat_l3 cdp_l3 invpcid_single intel_ppin ssbd mba ibrs ibpb stibp ibrs_enhanced tpr_shadow vnmi flexpriority ept vpid ept_ad fsgsbase tsc_adjust bmi1 avx2 smep bmi2 erms invpcid cqm mpx rdt_a avx512f avx512dq rdseed adx smap clflushopt clwb intel_pt avx512cd avx512bw avx512vl xsaveopt xsavec xgetbv1 xsaves cqm_llc cqm_occup_llc cqm_mbm_total cqm_mbm_local dtherm ida arat pln pts pku ospke avx512_vnni md_clear flush_l1d arch_capabilities +vmx flags : vnmi preemption_timer posted_intr invvpid ept_x_only ept_ad ept_1gb flexpriority apicv tsc_offset vtpr mtf vapic ept vpid unrestricted_guest vapic_reg vid ple shadow_vmcs pml ept_mode_based_exec tsc_scaling +bugs : spectre_v1 spectre_v2 spec_store_bypass swapgs taa itlb_multihit mmio_stale_data retbleed eibrs_pbrsb gds bhi +bogomips : 4200.00 +clflush size : 64 +cache_alignment : 64 +address sizes : 46 bits physical, 48 bits virtual +power management: + +processor : 48 +vendor_id : GenuineIntel +cpu family : 6 +model : 85 +model name : Intel(R) Xeon(R) Gold 5218R CPU @ 2.10GHz +stepping : 7 +microcode : 0x5003707 +cpu MHz : 2100.000 +cache size : 28160 KB +physical id : 0 +siblings : 40 +core id : 11 +cpu cores : 20 +apicid : 23 +initial apicid : 23 +fpu : yes +fpu_exception : yes +cpuid level : 22 +wp : yes +flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx pdpe1gb rdtscp lm constant_tsc art arch_perfmon pebs bts rep_good nopl xtopology nonstop_tsc cpuid aperfmperf pni pclmulqdq dtes64 monitor ds_cpl vmx smx est tm2 ssse3 sdbg fma cx16 xtpr pdcm pcid dca sse4_1 sse4_2 x2apic movbe popcnt tsc_deadline_timer aes xsave avx f16c rdrand lahf_lm abm 3dnowprefetch cpuid_fault epb cat_l3 cdp_l3 invpcid_single intel_ppin ssbd mba ibrs ibpb stibp ibrs_enhanced tpr_shadow vnmi flexpriority ept vpid ept_ad fsgsbase tsc_adjust bmi1 avx2 smep bmi2 erms invpcid cqm mpx rdt_a avx512f avx512dq rdseed adx smap clflushopt clwb intel_pt avx512cd avx512bw avx512vl xsaveopt xsavec xgetbv1 xsaves cqm_llc cqm_occup_llc cqm_mbm_total cqm_mbm_local dtherm ida arat pln pts pku ospke avx512_vnni md_clear flush_l1d arch_capabilities +vmx flags : vnmi preemption_timer posted_intr invvpid ept_x_only ept_ad ept_1gb flexpriority apicv tsc_offset vtpr mtf vapic ept vpid unrestricted_guest vapic_reg vid ple shadow_vmcs pml ept_mode_based_exec tsc_scaling +bugs : spectre_v1 spectre_v2 spec_store_bypass swapgs taa itlb_multihit mmio_stale_data retbleed eibrs_pbrsb gds bhi +bogomips : 4200.00 +clflush size : 64 +cache_alignment : 64 +address sizes : 46 bits physical, 48 bits virtual +power management: + +processor : 49 +vendor_id : GenuineIntel +cpu family : 6 +model : 85 +model name : Intel(R) Xeon(R) Gold 5218R CPU @ 2.10GHz +stepping : 7 +microcode : 0x5003707 +cpu MHz : 2100.000 +cache size : 28160 KB +physical id : 0 +siblings : 40 +core id : 12 +cpu cores : 20 +apicid : 25 +initial apicid : 25 +fpu : yes +fpu_exception : yes +cpuid level : 22 +wp : yes +flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx pdpe1gb rdtscp lm constant_tsc art arch_perfmon pebs bts rep_good nopl xtopology nonstop_tsc cpuid aperfmperf pni pclmulqdq dtes64 monitor ds_cpl vmx smx est tm2 ssse3 sdbg fma cx16 xtpr pdcm pcid dca sse4_1 sse4_2 x2apic movbe popcnt tsc_deadline_timer aes xsave avx f16c rdrand lahf_lm abm 3dnowprefetch cpuid_fault epb cat_l3 cdp_l3 invpcid_single intel_ppin ssbd mba ibrs ibpb stibp ibrs_enhanced tpr_shadow vnmi flexpriority ept vpid ept_ad fsgsbase tsc_adjust bmi1 avx2 smep bmi2 erms invpcid cqm mpx rdt_a avx512f avx512dq rdseed adx smap clflushopt clwb intel_pt avx512cd avx512bw avx512vl xsaveopt xsavec xgetbv1 xsaves cqm_llc cqm_occup_llc cqm_mbm_total cqm_mbm_local dtherm ida arat pln pts pku ospke avx512_vnni md_clear flush_l1d arch_capabilities +vmx flags : vnmi preemption_timer posted_intr invvpid ept_x_only ept_ad ept_1gb flexpriority apicv tsc_offset vtpr mtf vapic ept vpid unrestricted_guest vapic_reg vid ple shadow_vmcs pml ept_mode_based_exec tsc_scaling +bugs : spectre_v1 spectre_v2 spec_store_bypass swapgs taa itlb_multihit mmio_stale_data retbleed eibrs_pbrsb gds bhi +bogomips : 4200.00 +clflush size : 64 +cache_alignment : 64 +address sizes : 46 bits physical, 48 bits virtual +power management: + +processor : 50 +vendor_id : GenuineIntel +cpu family : 6 +model : 85 +model name : Intel(R) Xeon(R) Gold 5218R CPU @ 2.10GHz +stepping : 7 +microcode : 0x5003707 +cpu MHz : 2100.000 +cache size : 28160 KB +physical id : 0 +siblings : 40 +core id : 16 +cpu cores : 20 +apicid : 33 +initial apicid : 33 +fpu : yes +fpu_exception : yes +cpuid level : 22 +wp : yes +flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx pdpe1gb rdtscp lm constant_tsc art arch_perfmon pebs bts rep_good nopl xtopology nonstop_tsc cpuid aperfmperf pni pclmulqdq dtes64 monitor ds_cpl vmx smx est tm2 ssse3 sdbg fma cx16 xtpr pdcm pcid dca sse4_1 sse4_2 x2apic movbe popcnt tsc_deadline_timer aes xsave avx f16c rdrand lahf_lm abm 3dnowprefetch cpuid_fault epb cat_l3 cdp_l3 invpcid_single intel_ppin ssbd mba ibrs ibpb stibp ibrs_enhanced tpr_shadow vnmi flexpriority ept vpid ept_ad fsgsbase tsc_adjust bmi1 avx2 smep bmi2 erms invpcid cqm mpx rdt_a avx512f avx512dq rdseed adx smap clflushopt clwb intel_pt avx512cd avx512bw avx512vl xsaveopt xsavec xgetbv1 xsaves cqm_llc cqm_occup_llc cqm_mbm_total cqm_mbm_local dtherm ida arat pln pts pku ospke avx512_vnni md_clear flush_l1d arch_capabilities +vmx flags : vnmi preemption_timer posted_intr invvpid ept_x_only ept_ad ept_1gb flexpriority apicv tsc_offset vtpr mtf vapic ept vpid unrestricted_guest vapic_reg vid ple shadow_vmcs pml ept_mode_based_exec tsc_scaling +bugs : spectre_v1 spectre_v2 spec_store_bypass swapgs taa itlb_multihit mmio_stale_data retbleed eibrs_pbrsb gds bhi +bogomips : 4200.00 +clflush size : 64 +cache_alignment : 64 +address sizes : 46 bits physical, 48 bits virtual +power management: + +processor : 51 +vendor_id : GenuineIntel +cpu family : 6 +model : 85 +model name : Intel(R) Xeon(R) Gold 5218R CPU @ 2.10GHz +stepping : 7 +microcode : 0x5003707 +cpu MHz : 2100.000 +cache size : 28160 KB +physical id : 0 +siblings : 40 +core id : 17 +cpu cores : 20 +apicid : 35 +initial apicid : 35 +fpu : yes +fpu_exception : yes +cpuid level : 22 +wp : yes +flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx pdpe1gb rdtscp lm constant_tsc art arch_perfmon pebs bts rep_good nopl xtopology nonstop_tsc cpuid aperfmperf pni pclmulqdq dtes64 monitor ds_cpl vmx smx est tm2 ssse3 sdbg fma cx16 xtpr pdcm pcid dca sse4_1 sse4_2 x2apic movbe popcnt tsc_deadline_timer aes xsave avx f16c rdrand lahf_lm abm 3dnowprefetch cpuid_fault epb cat_l3 cdp_l3 invpcid_single intel_ppin ssbd mba ibrs ibpb stibp ibrs_enhanced tpr_shadow vnmi flexpriority ept vpid ept_ad fsgsbase tsc_adjust bmi1 avx2 smep bmi2 erms invpcid cqm mpx rdt_a avx512f avx512dq rdseed adx smap clflushopt clwb intel_pt avx512cd avx512bw avx512vl xsaveopt xsavec xgetbv1 xsaves cqm_llc cqm_occup_llc cqm_mbm_total cqm_mbm_local dtherm ida arat pln pts pku ospke avx512_vnni md_clear flush_l1d arch_capabilities +vmx flags : vnmi preemption_timer posted_intr invvpid ept_x_only ept_ad ept_1gb flexpriority apicv tsc_offset vtpr mtf vapic ept vpid unrestricted_guest vapic_reg vid ple shadow_vmcs pml ept_mode_based_exec tsc_scaling +bugs : spectre_v1 spectre_v2 spec_store_bypass swapgs taa itlb_multihit mmio_stale_data retbleed eibrs_pbrsb gds bhi +bogomips : 4200.00 +clflush size : 64 +cache_alignment : 64 +address sizes : 46 bits physical, 48 bits virtual +power management: + +processor : 52 +vendor_id : GenuineIntel +cpu family : 6 +model : 85 +model name : Intel(R) Xeon(R) Gold 5218R CPU @ 2.10GHz +stepping : 7 +microcode : 0x5003707 +cpu MHz : 2100.000 +cache size : 28160 KB +physical id : 0 +siblings : 40 +core id : 18 +cpu cores : 20 +apicid : 37 +initial apicid : 37 +fpu : yes +fpu_exception : yes +cpuid level : 22 +wp : yes +flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx pdpe1gb rdtscp lm constant_tsc art arch_perfmon pebs bts rep_good nopl xtopology nonstop_tsc cpuid aperfmperf pni pclmulqdq dtes64 monitor ds_cpl vmx smx est tm2 ssse3 sdbg fma cx16 xtpr pdcm pcid dca sse4_1 sse4_2 x2apic movbe popcnt tsc_deadline_timer aes xsave avx f16c rdrand lahf_lm abm 3dnowprefetch cpuid_fault epb cat_l3 cdp_l3 invpcid_single intel_ppin ssbd mba ibrs ibpb stibp ibrs_enhanced tpr_shadow vnmi flexpriority ept vpid ept_ad fsgsbase tsc_adjust bmi1 avx2 smep bmi2 erms invpcid cqm mpx rdt_a avx512f avx512dq rdseed adx smap clflushopt clwb intel_pt avx512cd avx512bw avx512vl xsaveopt xsavec xgetbv1 xsaves cqm_llc cqm_occup_llc cqm_mbm_total cqm_mbm_local dtherm ida arat pln pts pku ospke avx512_vnni md_clear flush_l1d arch_capabilities +vmx flags : vnmi preemption_timer posted_intr invvpid ept_x_only ept_ad ept_1gb flexpriority apicv tsc_offset vtpr mtf vapic ept vpid unrestricted_guest vapic_reg vid ple shadow_vmcs pml ept_mode_based_exec tsc_scaling +bugs : spectre_v1 spectre_v2 spec_store_bypass swapgs taa itlb_multihit mmio_stale_data retbleed eibrs_pbrsb gds bhi +bogomips : 4200.00 +clflush size : 64 +cache_alignment : 64 +address sizes : 46 bits physical, 48 bits virtual +power management: + +processor : 53 +vendor_id : GenuineIntel +cpu family : 6 +model : 85 +model name : Intel(R) Xeon(R) Gold 5218R CPU @ 2.10GHz +stepping : 7 +microcode : 0x5003707 +cpu MHz : 2100.000 +cache size : 28160 KB +physical id : 0 +siblings : 40 +core id : 19 +cpu cores : 20 +apicid : 39 +initial apicid : 39 +fpu : yes +fpu_exception : yes +cpuid level : 22 +wp : yes +flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx pdpe1gb rdtscp lm constant_tsc art arch_perfmon pebs bts rep_good nopl xtopology nonstop_tsc cpuid aperfmperf pni pclmulqdq dtes64 monitor ds_cpl vmx smx est tm2 ssse3 sdbg fma cx16 xtpr pdcm pcid dca sse4_1 sse4_2 x2apic movbe popcnt tsc_deadline_timer aes xsave avx f16c rdrand lahf_lm abm 3dnowprefetch cpuid_fault epb cat_l3 cdp_l3 invpcid_single intel_ppin ssbd mba ibrs ibpb stibp ibrs_enhanced tpr_shadow vnmi flexpriority ept vpid ept_ad fsgsbase tsc_adjust bmi1 avx2 smep bmi2 erms invpcid cqm mpx rdt_a avx512f avx512dq rdseed adx smap clflushopt clwb intel_pt avx512cd avx512bw avx512vl xsaveopt xsavec xgetbv1 xsaves cqm_llc cqm_occup_llc cqm_mbm_total cqm_mbm_local dtherm ida arat pln pts pku ospke avx512_vnni md_clear flush_l1d arch_capabilities +vmx flags : vnmi preemption_timer posted_intr invvpid ept_x_only ept_ad ept_1gb flexpriority apicv tsc_offset vtpr mtf vapic ept vpid unrestricted_guest vapic_reg vid ple shadow_vmcs pml ept_mode_based_exec tsc_scaling +bugs : spectre_v1 spectre_v2 spec_store_bypass swapgs taa itlb_multihit mmio_stale_data retbleed eibrs_pbrsb gds bhi +bogomips : 4200.00 +clflush size : 64 +cache_alignment : 64 +address sizes : 46 bits physical, 48 bits virtual +power management: + +processor : 54 +vendor_id : GenuineIntel +cpu family : 6 +model : 85 +model name : Intel(R) Xeon(R) Gold 5218R CPU @ 2.10GHz +stepping : 7 +microcode : 0x5003707 +cpu MHz : 2100.000 +cache size : 28160 KB +physical id : 0 +siblings : 40 +core id : 20 +cpu cores : 20 +apicid : 41 +initial apicid : 41 +fpu : yes +fpu_exception : yes +cpuid level : 22 +wp : yes +flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx pdpe1gb rdtscp lm constant_tsc art arch_perfmon pebs bts rep_good nopl xtopology nonstop_tsc cpuid aperfmperf pni pclmulqdq dtes64 monitor ds_cpl vmx smx est tm2 ssse3 sdbg fma cx16 xtpr pdcm pcid dca sse4_1 sse4_2 x2apic movbe popcnt tsc_deadline_timer aes xsave avx f16c rdrand lahf_lm abm 3dnowprefetch cpuid_fault epb cat_l3 cdp_l3 invpcid_single intel_ppin ssbd mba ibrs ibpb stibp ibrs_enhanced tpr_shadow vnmi flexpriority ept vpid ept_ad fsgsbase tsc_adjust bmi1 avx2 smep bmi2 erms invpcid cqm mpx rdt_a avx512f avx512dq rdseed adx smap clflushopt clwb intel_pt avx512cd avx512bw avx512vl xsaveopt xsavec xgetbv1 xsaves cqm_llc cqm_occup_llc cqm_mbm_total cqm_mbm_local dtherm ida arat pln pts pku ospke avx512_vnni md_clear flush_l1d arch_capabilities +vmx flags : vnmi preemption_timer posted_intr invvpid ept_x_only ept_ad ept_1gb flexpriority apicv tsc_offset vtpr mtf vapic ept vpid unrestricted_guest vapic_reg vid ple shadow_vmcs pml ept_mode_based_exec tsc_scaling +bugs : spectre_v1 spectre_v2 spec_store_bypass swapgs taa itlb_multihit mmio_stale_data retbleed eibrs_pbrsb gds bhi +bogomips : 4200.00 +clflush size : 64 +cache_alignment : 64 +address sizes : 46 bits physical, 48 bits virtual +power management: + +processor : 55 +vendor_id : GenuineIntel +cpu family : 6 +model : 85 +model name : Intel(R) Xeon(R) Gold 5218R CPU @ 2.10GHz +stepping : 7 +microcode : 0x5003707 +cpu MHz : 2100.000 +cache size : 28160 KB +physical id : 0 +siblings : 40 +core id : 24 +cpu cores : 20 +apicid : 49 +initial apicid : 49 +fpu : yes +fpu_exception : yes +cpuid level : 22 +wp : yes +flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx pdpe1gb rdtscp lm constant_tsc art arch_perfmon pebs bts rep_good nopl xtopology nonstop_tsc cpuid aperfmperf pni pclmulqdq dtes64 monitor ds_cpl vmx smx est tm2 ssse3 sdbg fma cx16 xtpr pdcm pcid dca sse4_1 sse4_2 x2apic movbe popcnt tsc_deadline_timer aes xsave avx f16c rdrand lahf_lm abm 3dnowprefetch cpuid_fault epb cat_l3 cdp_l3 invpcid_single intel_ppin ssbd mba ibrs ibpb stibp ibrs_enhanced tpr_shadow vnmi flexpriority ept vpid ept_ad fsgsbase tsc_adjust bmi1 avx2 smep bmi2 erms invpcid cqm mpx rdt_a avx512f avx512dq rdseed adx smap clflushopt clwb intel_pt avx512cd avx512bw avx512vl xsaveopt xsavec xgetbv1 xsaves cqm_llc cqm_occup_llc cqm_mbm_total cqm_mbm_local dtherm ida arat pln pts pku ospke avx512_vnni md_clear flush_l1d arch_capabilities +vmx flags : vnmi preemption_timer posted_intr invvpid ept_x_only ept_ad ept_1gb flexpriority apicv tsc_offset vtpr mtf vapic ept vpid unrestricted_guest vapic_reg vid ple shadow_vmcs pml ept_mode_based_exec tsc_scaling +bugs : spectre_v1 spectre_v2 spec_store_bypass swapgs taa itlb_multihit mmio_stale_data retbleed eibrs_pbrsb gds bhi +bogomips : 4200.00 +clflush size : 64 +cache_alignment : 64 +address sizes : 46 bits physical, 48 bits virtual +power management: + +processor : 56 +vendor_id : GenuineIntel +cpu family : 6 +model : 85 +model name : Intel(R) Xeon(R) Gold 5218R CPU @ 2.10GHz +stepping : 7 +microcode : 0x5003707 +cpu MHz : 2100.000 +cache size : 28160 KB +physical id : 0 +siblings : 40 +core id : 25 +cpu cores : 20 +apicid : 51 +initial apicid : 51 +fpu : yes +fpu_exception : yes +cpuid level : 22 +wp : yes +flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx pdpe1gb rdtscp lm constant_tsc art arch_perfmon pebs bts rep_good nopl xtopology nonstop_tsc cpuid aperfmperf pni pclmulqdq dtes64 monitor ds_cpl vmx smx est tm2 ssse3 sdbg fma cx16 xtpr pdcm pcid dca sse4_1 sse4_2 x2apic movbe popcnt tsc_deadline_timer aes xsave avx f16c rdrand lahf_lm abm 3dnowprefetch cpuid_fault epb cat_l3 cdp_l3 invpcid_single intel_ppin ssbd mba ibrs ibpb stibp ibrs_enhanced tpr_shadow vnmi flexpriority ept vpid ept_ad fsgsbase tsc_adjust bmi1 avx2 smep bmi2 erms invpcid cqm mpx rdt_a avx512f avx512dq rdseed adx smap clflushopt clwb intel_pt avx512cd avx512bw avx512vl xsaveopt xsavec xgetbv1 xsaves cqm_llc cqm_occup_llc cqm_mbm_total cqm_mbm_local dtherm ida arat pln pts pku ospke avx512_vnni md_clear flush_l1d arch_capabilities +vmx flags : vnmi preemption_timer posted_intr invvpid ept_x_only ept_ad ept_1gb flexpriority apicv tsc_offset vtpr mtf vapic ept vpid unrestricted_guest vapic_reg vid ple shadow_vmcs pml ept_mode_based_exec tsc_scaling +bugs : spectre_v1 spectre_v2 spec_store_bypass swapgs taa itlb_multihit mmio_stale_data retbleed eibrs_pbrsb gds bhi +bogomips : 4200.00 +clflush size : 64 +cache_alignment : 64 +address sizes : 46 bits physical, 48 bits virtual +power management: + +processor : 57 +vendor_id : GenuineIntel +cpu family : 6 +model : 85 +model name : Intel(R) Xeon(R) Gold 5218R CPU @ 2.10GHz +stepping : 7 +microcode : 0x5003707 +cpu MHz : 2100.000 +cache size : 28160 KB +physical id : 0 +siblings : 40 +core id : 26 +cpu cores : 20 +apicid : 53 +initial apicid : 53 +fpu : yes +fpu_exception : yes +cpuid level : 22 +wp : yes +flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx pdpe1gb rdtscp lm constant_tsc art arch_perfmon pebs bts rep_good nopl xtopology nonstop_tsc cpuid aperfmperf pni pclmulqdq dtes64 monitor ds_cpl vmx smx est tm2 ssse3 sdbg fma cx16 xtpr pdcm pcid dca sse4_1 sse4_2 x2apic movbe popcnt tsc_deadline_timer aes xsave avx f16c rdrand lahf_lm abm 3dnowprefetch cpuid_fault epb cat_l3 cdp_l3 invpcid_single intel_ppin ssbd mba ibrs ibpb stibp ibrs_enhanced tpr_shadow vnmi flexpriority ept vpid ept_ad fsgsbase tsc_adjust bmi1 avx2 smep bmi2 erms invpcid cqm mpx rdt_a avx512f avx512dq rdseed adx smap clflushopt clwb intel_pt avx512cd avx512bw avx512vl xsaveopt xsavec xgetbv1 xsaves cqm_llc cqm_occup_llc cqm_mbm_total cqm_mbm_local dtherm ida arat pln pts pku ospke avx512_vnni md_clear flush_l1d arch_capabilities +vmx flags : vnmi preemption_timer posted_intr invvpid ept_x_only ept_ad ept_1gb flexpriority apicv tsc_offset vtpr mtf vapic ept vpid unrestricted_guest vapic_reg vid ple shadow_vmcs pml ept_mode_based_exec tsc_scaling +bugs : spectre_v1 spectre_v2 spec_store_bypass swapgs taa itlb_multihit mmio_stale_data retbleed eibrs_pbrsb gds bhi +bogomips : 4200.00 +clflush size : 64 +cache_alignment : 64 +address sizes : 46 bits physical, 48 bits virtual +power management: + +processor : 58 +vendor_id : GenuineIntel +cpu family : 6 +model : 85 +model name : Intel(R) Xeon(R) Gold 5218R CPU @ 2.10GHz +stepping : 7 +microcode : 0x5003707 +cpu MHz : 2100.000 +cache size : 28160 KB +physical id : 0 +siblings : 40 +core id : 27 +cpu cores : 20 +apicid : 55 +initial apicid : 55 +fpu : yes +fpu_exception : yes +cpuid level : 22 +wp : yes +flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx pdpe1gb rdtscp lm constant_tsc art arch_perfmon pebs bts rep_good nopl xtopology nonstop_tsc cpuid aperfmperf pni pclmulqdq dtes64 monitor ds_cpl vmx smx est tm2 ssse3 sdbg fma cx16 xtpr pdcm pcid dca sse4_1 sse4_2 x2apic movbe popcnt tsc_deadline_timer aes xsave avx f16c rdrand lahf_lm abm 3dnowprefetch cpuid_fault epb cat_l3 cdp_l3 invpcid_single intel_ppin ssbd mba ibrs ibpb stibp ibrs_enhanced tpr_shadow vnmi flexpriority ept vpid ept_ad fsgsbase tsc_adjust bmi1 avx2 smep bmi2 erms invpcid cqm mpx rdt_a avx512f avx512dq rdseed adx smap clflushopt clwb intel_pt avx512cd avx512bw avx512vl xsaveopt xsavec xgetbv1 xsaves cqm_llc cqm_occup_llc cqm_mbm_total cqm_mbm_local dtherm ida arat pln pts pku ospke avx512_vnni md_clear flush_l1d arch_capabilities +vmx flags : vnmi preemption_timer posted_intr invvpid ept_x_only ept_ad ept_1gb flexpriority apicv tsc_offset vtpr mtf vapic ept vpid unrestricted_guest vapic_reg vid ple shadow_vmcs pml ept_mode_based_exec tsc_scaling +bugs : spectre_v1 spectre_v2 spec_store_bypass swapgs taa itlb_multihit mmio_stale_data retbleed eibrs_pbrsb gds bhi +bogomips : 4200.00 +clflush size : 64 +cache_alignment : 64 +address sizes : 46 bits physical, 48 bits virtual +power management: + +processor : 59 +vendor_id : GenuineIntel +cpu family : 6 +model : 85 +model name : Intel(R) Xeon(R) Gold 5218R CPU @ 2.10GHz +stepping : 7 +microcode : 0x5003707 +cpu MHz : 2100.000 +cache size : 28160 KB +physical id : 0 +siblings : 40 +core id : 28 +cpu cores : 20 +apicid : 57 +initial apicid : 57 +fpu : yes +fpu_exception : yes +cpuid level : 22 +wp : yes +flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx pdpe1gb rdtscp lm constant_tsc art arch_perfmon pebs bts rep_good nopl xtopology nonstop_tsc cpuid aperfmperf pni pclmulqdq dtes64 monitor ds_cpl vmx smx est tm2 ssse3 sdbg fma cx16 xtpr pdcm pcid dca sse4_1 sse4_2 x2apic movbe popcnt tsc_deadline_timer aes xsave avx f16c rdrand lahf_lm abm 3dnowprefetch cpuid_fault epb cat_l3 cdp_l3 invpcid_single intel_ppin ssbd mba ibrs ibpb stibp ibrs_enhanced tpr_shadow vnmi flexpriority ept vpid ept_ad fsgsbase tsc_adjust bmi1 avx2 smep bmi2 erms invpcid cqm mpx rdt_a avx512f avx512dq rdseed adx smap clflushopt clwb intel_pt avx512cd avx512bw avx512vl xsaveopt xsavec xgetbv1 xsaves cqm_llc cqm_occup_llc cqm_mbm_total cqm_mbm_local dtherm ida arat pln pts pku ospke avx512_vnni md_clear flush_l1d arch_capabilities +vmx flags : vnmi preemption_timer posted_intr invvpid ept_x_only ept_ad ept_1gb flexpriority apicv tsc_offset vtpr mtf vapic ept vpid unrestricted_guest vapic_reg vid ple shadow_vmcs pml ept_mode_based_exec tsc_scaling +bugs : spectre_v1 spectre_v2 spec_store_bypass swapgs taa itlb_multihit mmio_stale_data retbleed eibrs_pbrsb gds bhi +bogomips : 4200.00 +clflush size : 64 +cache_alignment : 64 +address sizes : 46 bits physical, 48 bits virtual +power management: + +processor : 60 +vendor_id : GenuineIntel +cpu family : 6 +model : 85 +model name : Intel(R) Xeon(R) Gold 5218R CPU @ 2.10GHz +stepping : 7 +microcode : 0x5003707 +cpu MHz : 2100.000 +cache size : 28160 KB +physical id : 1 +siblings : 40 +core id : 0 +cpu cores : 20 +apicid : 65 +initial apicid : 65 +fpu : yes +fpu_exception : yes +cpuid level : 22 +wp : yes +flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx pdpe1gb rdtscp lm constant_tsc art arch_perfmon pebs bts rep_good nopl xtopology nonstop_tsc cpuid aperfmperf pni pclmulqdq dtes64 monitor ds_cpl vmx smx est tm2 ssse3 sdbg fma cx16 xtpr pdcm pcid dca sse4_1 sse4_2 x2apic movbe popcnt tsc_deadline_timer aes xsave avx f16c rdrand lahf_lm abm 3dnowprefetch cpuid_fault epb cat_l3 cdp_l3 invpcid_single intel_ppin ssbd mba ibrs ibpb stibp ibrs_enhanced tpr_shadow vnmi flexpriority ept vpid ept_ad fsgsbase tsc_adjust bmi1 avx2 smep bmi2 erms invpcid cqm mpx rdt_a avx512f avx512dq rdseed adx smap clflushopt clwb intel_pt avx512cd avx512bw avx512vl xsaveopt xsavec xgetbv1 xsaves cqm_llc cqm_occup_llc cqm_mbm_total cqm_mbm_local dtherm ida arat pln pts pku ospke avx512_vnni md_clear flush_l1d arch_capabilities +vmx flags : vnmi preemption_timer posted_intr invvpid ept_x_only ept_ad ept_1gb flexpriority apicv tsc_offset vtpr mtf vapic ept vpid unrestricted_guest vapic_reg vid ple shadow_vmcs pml ept_mode_based_exec tsc_scaling +bugs : spectre_v1 spectre_v2 spec_store_bypass swapgs taa itlb_multihit mmio_stale_data retbleed eibrs_pbrsb gds bhi +bogomips : 4201.84 +clflush size : 64 +cache_alignment : 64 +address sizes : 46 bits physical, 48 bits virtual +power management: + +processor : 61 +vendor_id : GenuineIntel +cpu family : 6 +model : 85 +model name : Intel(R) Xeon(R) Gold 5218R CPU @ 2.10GHz +stepping : 7 +microcode : 0x5003707 +cpu MHz : 2100.000 +cache size : 28160 KB +physical id : 1 +siblings : 40 +core id : 1 +cpu cores : 20 +apicid : 67 +initial apicid : 67 +fpu : yes +fpu_exception : yes +cpuid level : 22 +wp : yes +flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx pdpe1gb rdtscp lm constant_tsc art arch_perfmon pebs bts rep_good nopl xtopology nonstop_tsc cpuid aperfmperf pni pclmulqdq dtes64 monitor ds_cpl vmx smx est tm2 ssse3 sdbg fma cx16 xtpr pdcm pcid dca sse4_1 sse4_2 x2apic movbe popcnt tsc_deadline_timer aes xsave avx f16c rdrand lahf_lm abm 3dnowprefetch cpuid_fault epb cat_l3 cdp_l3 invpcid_single intel_ppin ssbd mba ibrs ibpb stibp ibrs_enhanced tpr_shadow vnmi flexpriority ept vpid ept_ad fsgsbase tsc_adjust bmi1 avx2 smep bmi2 erms invpcid cqm mpx rdt_a avx512f avx512dq rdseed adx smap clflushopt clwb intel_pt avx512cd avx512bw avx512vl xsaveopt xsavec xgetbv1 xsaves cqm_llc cqm_occup_llc cqm_mbm_total cqm_mbm_local dtherm ida arat pln pts pku ospke avx512_vnni md_clear flush_l1d arch_capabilities +vmx flags : vnmi preemption_timer posted_intr invvpid ept_x_only ept_ad ept_1gb flexpriority apicv tsc_offset vtpr mtf vapic ept vpid unrestricted_guest vapic_reg vid ple shadow_vmcs pml ept_mode_based_exec tsc_scaling +bugs : spectre_v1 spectre_v2 spec_store_bypass swapgs taa itlb_multihit mmio_stale_data retbleed eibrs_pbrsb gds bhi +bogomips : 4201.84 +clflush size : 64 +cache_alignment : 64 +address sizes : 46 bits physical, 48 bits virtual +power management: + +processor : 62 +vendor_id : GenuineIntel +cpu family : 6 +model : 85 +model name : Intel(R) Xeon(R) Gold 5218R CPU @ 2.10GHz +stepping : 7 +microcode : 0x5003707 +cpu MHz : 2100.000 +cache size : 28160 KB +physical id : 1 +siblings : 40 +core id : 2 +cpu cores : 20 +apicid : 69 +initial apicid : 69 +fpu : yes +fpu_exception : yes +cpuid level : 22 +wp : yes +flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx pdpe1gb rdtscp lm constant_tsc art arch_perfmon pebs bts rep_good nopl xtopology nonstop_tsc cpuid aperfmperf pni pclmulqdq dtes64 monitor ds_cpl vmx smx est tm2 ssse3 sdbg fma cx16 xtpr pdcm pcid dca sse4_1 sse4_2 x2apic movbe popcnt tsc_deadline_timer aes xsave avx f16c rdrand lahf_lm abm 3dnowprefetch cpuid_fault epb cat_l3 cdp_l3 invpcid_single intel_ppin ssbd mba ibrs ibpb stibp ibrs_enhanced tpr_shadow vnmi flexpriority ept vpid ept_ad fsgsbase tsc_adjust bmi1 avx2 smep bmi2 erms invpcid cqm mpx rdt_a avx512f avx512dq rdseed adx smap clflushopt clwb intel_pt avx512cd avx512bw avx512vl xsaveopt xsavec xgetbv1 xsaves cqm_llc cqm_occup_llc cqm_mbm_total cqm_mbm_local dtherm ida arat pln pts pku ospke avx512_vnni md_clear flush_l1d arch_capabilities +vmx flags : vnmi preemption_timer posted_intr invvpid ept_x_only ept_ad ept_1gb flexpriority apicv tsc_offset vtpr mtf vapic ept vpid unrestricted_guest vapic_reg vid ple shadow_vmcs pml ept_mode_based_exec tsc_scaling +bugs : spectre_v1 spectre_v2 spec_store_bypass swapgs taa itlb_multihit mmio_stale_data retbleed eibrs_pbrsb gds bhi +bogomips : 4201.84 +clflush size : 64 +cache_alignment : 64 +address sizes : 46 bits physical, 48 bits virtual +power management: + +processor : 63 +vendor_id : GenuineIntel +cpu family : 6 +model : 85 +model name : Intel(R) Xeon(R) Gold 5218R CPU @ 2.10GHz +stepping : 7 +microcode : 0x5003707 +cpu MHz : 2100.000 +cache size : 28160 KB +physical id : 1 +siblings : 40 +core id : 3 +cpu cores : 20 +apicid : 71 +initial apicid : 71 +fpu : yes +fpu_exception : yes +cpuid level : 22 +wp : yes +flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx pdpe1gb rdtscp lm constant_tsc art arch_perfmon pebs bts rep_good nopl xtopology nonstop_tsc cpuid aperfmperf pni pclmulqdq dtes64 monitor ds_cpl vmx smx est tm2 ssse3 sdbg fma cx16 xtpr pdcm pcid dca sse4_1 sse4_2 x2apic movbe popcnt tsc_deadline_timer aes xsave avx f16c rdrand lahf_lm abm 3dnowprefetch cpuid_fault epb cat_l3 cdp_l3 invpcid_single intel_ppin ssbd mba ibrs ibpb stibp ibrs_enhanced tpr_shadow vnmi flexpriority ept vpid ept_ad fsgsbase tsc_adjust bmi1 avx2 smep bmi2 erms invpcid cqm mpx rdt_a avx512f avx512dq rdseed adx smap clflushopt clwb intel_pt avx512cd avx512bw avx512vl xsaveopt xsavec xgetbv1 xsaves cqm_llc cqm_occup_llc cqm_mbm_total cqm_mbm_local dtherm ida arat pln pts pku ospke avx512_vnni md_clear flush_l1d arch_capabilities +vmx flags : vnmi preemption_timer posted_intr invvpid ept_x_only ept_ad ept_1gb flexpriority apicv tsc_offset vtpr mtf vapic ept vpid unrestricted_guest vapic_reg vid ple shadow_vmcs pml ept_mode_based_exec tsc_scaling +bugs : spectre_v1 spectre_v2 spec_store_bypass swapgs taa itlb_multihit mmio_stale_data retbleed eibrs_pbrsb gds bhi +bogomips : 4201.84 +clflush size : 64 +cache_alignment : 64 +address sizes : 46 bits physical, 48 bits virtual +power management: + +processor : 64 +vendor_id : GenuineIntel +cpu family : 6 +model : 85 +model name : Intel(R) Xeon(R) Gold 5218R CPU @ 2.10GHz +stepping : 7 +microcode : 0x5003707 +cpu MHz : 2100.000 +cache size : 28160 KB +physical id : 1 +siblings : 40 +core id : 4 +cpu cores : 20 +apicid : 73 +initial apicid : 73 +fpu : yes +fpu_exception : yes +cpuid level : 22 +wp : yes +flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx pdpe1gb rdtscp lm constant_tsc art arch_perfmon pebs bts rep_good nopl xtopology nonstop_tsc cpuid aperfmperf pni pclmulqdq dtes64 monitor ds_cpl vmx smx est tm2 ssse3 sdbg fma cx16 xtpr pdcm pcid dca sse4_1 sse4_2 x2apic movbe popcnt tsc_deadline_timer aes xsave avx f16c rdrand lahf_lm abm 3dnowprefetch cpuid_fault epb cat_l3 cdp_l3 invpcid_single intel_ppin ssbd mba ibrs ibpb stibp ibrs_enhanced tpr_shadow vnmi flexpriority ept vpid ept_ad fsgsbase tsc_adjust bmi1 avx2 smep bmi2 erms invpcid cqm mpx rdt_a avx512f avx512dq rdseed adx smap clflushopt clwb intel_pt avx512cd avx512bw avx512vl xsaveopt xsavec xgetbv1 xsaves cqm_llc cqm_occup_llc cqm_mbm_total cqm_mbm_local dtherm ida arat pln pts pku ospke avx512_vnni md_clear flush_l1d arch_capabilities +vmx flags : vnmi preemption_timer posted_intr invvpid ept_x_only ept_ad ept_1gb flexpriority apicv tsc_offset vtpr mtf vapic ept vpid unrestricted_guest vapic_reg vid ple shadow_vmcs pml ept_mode_based_exec tsc_scaling +bugs : spectre_v1 spectre_v2 spec_store_bypass swapgs taa itlb_multihit mmio_stale_data retbleed eibrs_pbrsb gds bhi +bogomips : 4201.84 +clflush size : 64 +cache_alignment : 64 +address sizes : 46 bits physical, 48 bits virtual +power management: + +processor : 65 +vendor_id : GenuineIntel +cpu family : 6 +model : 85 +model name : Intel(R) Xeon(R) Gold 5218R CPU @ 2.10GHz +stepping : 7 +microcode : 0x5003707 +cpu MHz : 2100.000 +cache size : 28160 KB +physical id : 1 +siblings : 40 +core id : 8 +cpu cores : 20 +apicid : 81 +initial apicid : 81 +fpu : yes +fpu_exception : yes +cpuid level : 22 +wp : yes +flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx pdpe1gb rdtscp lm constant_tsc art arch_perfmon pebs bts rep_good nopl xtopology nonstop_tsc cpuid aperfmperf pni pclmulqdq dtes64 monitor ds_cpl vmx smx est tm2 ssse3 sdbg fma cx16 xtpr pdcm pcid dca sse4_1 sse4_2 x2apic movbe popcnt tsc_deadline_timer aes xsave avx f16c rdrand lahf_lm abm 3dnowprefetch cpuid_fault epb cat_l3 cdp_l3 invpcid_single intel_ppin ssbd mba ibrs ibpb stibp ibrs_enhanced tpr_shadow vnmi flexpriority ept vpid ept_ad fsgsbase tsc_adjust bmi1 avx2 smep bmi2 erms invpcid cqm mpx rdt_a avx512f avx512dq rdseed adx smap clflushopt clwb intel_pt avx512cd avx512bw avx512vl xsaveopt xsavec xgetbv1 xsaves cqm_llc cqm_occup_llc cqm_mbm_total cqm_mbm_local dtherm ida arat pln pts pku ospke avx512_vnni md_clear flush_l1d arch_capabilities +vmx flags : vnmi preemption_timer posted_intr invvpid ept_x_only ept_ad ept_1gb flexpriority apicv tsc_offset vtpr mtf vapic ept vpid unrestricted_guest vapic_reg vid ple shadow_vmcs pml ept_mode_based_exec tsc_scaling +bugs : spectre_v1 spectre_v2 spec_store_bypass swapgs taa itlb_multihit mmio_stale_data retbleed eibrs_pbrsb gds bhi +bogomips : 4201.84 +clflush size : 64 +cache_alignment : 64 +address sizes : 46 bits physical, 48 bits virtual +power management: + +processor : 66 +vendor_id : GenuineIntel +cpu family : 6 +model : 85 +model name : Intel(R) Xeon(R) Gold 5218R CPU @ 2.10GHz +stepping : 7 +microcode : 0x5003707 +cpu MHz : 2100.000 +cache size : 28160 KB +physical id : 1 +siblings : 40 +core id : 9 +cpu cores : 20 +apicid : 83 +initial apicid : 83 +fpu : yes +fpu_exception : yes +cpuid level : 22 +wp : yes +flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx pdpe1gb rdtscp lm constant_tsc art arch_perfmon pebs bts rep_good nopl xtopology nonstop_tsc cpuid aperfmperf pni pclmulqdq dtes64 monitor ds_cpl vmx smx est tm2 ssse3 sdbg fma cx16 xtpr pdcm pcid dca sse4_1 sse4_2 x2apic movbe popcnt tsc_deadline_timer aes xsave avx f16c rdrand lahf_lm abm 3dnowprefetch cpuid_fault epb cat_l3 cdp_l3 invpcid_single intel_ppin ssbd mba ibrs ibpb stibp ibrs_enhanced tpr_shadow vnmi flexpriority ept vpid ept_ad fsgsbase tsc_adjust bmi1 avx2 smep bmi2 erms invpcid cqm mpx rdt_a avx512f avx512dq rdseed adx smap clflushopt clwb intel_pt avx512cd avx512bw avx512vl xsaveopt xsavec xgetbv1 xsaves cqm_llc cqm_occup_llc cqm_mbm_total cqm_mbm_local dtherm ida arat pln pts pku ospke avx512_vnni md_clear flush_l1d arch_capabilities +vmx flags : vnmi preemption_timer posted_intr invvpid ept_x_only ept_ad ept_1gb flexpriority apicv tsc_offset vtpr mtf vapic ept vpid unrestricted_guest vapic_reg vid ple shadow_vmcs pml ept_mode_based_exec tsc_scaling +bugs : spectre_v1 spectre_v2 spec_store_bypass swapgs taa itlb_multihit mmio_stale_data retbleed eibrs_pbrsb gds bhi +bogomips : 4201.84 +clflush size : 64 +cache_alignment : 64 +address sizes : 46 bits physical, 48 bits virtual +power management: + +processor : 67 +vendor_id : GenuineIntel +cpu family : 6 +model : 85 +model name : Intel(R) Xeon(R) Gold 5218R CPU @ 2.10GHz +stepping : 7 +microcode : 0x5003707 +cpu MHz : 2100.000 +cache size : 28160 KB +physical id : 1 +siblings : 40 +core id : 10 +cpu cores : 20 +apicid : 85 +initial apicid : 85 +fpu : yes +fpu_exception : yes +cpuid level : 22 +wp : yes +flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx pdpe1gb rdtscp lm constant_tsc art arch_perfmon pebs bts rep_good nopl xtopology nonstop_tsc cpuid aperfmperf pni pclmulqdq dtes64 monitor ds_cpl vmx smx est tm2 ssse3 sdbg fma cx16 xtpr pdcm pcid dca sse4_1 sse4_2 x2apic movbe popcnt tsc_deadline_timer aes xsave avx f16c rdrand lahf_lm abm 3dnowprefetch cpuid_fault epb cat_l3 cdp_l3 invpcid_single intel_ppin ssbd mba ibrs ibpb stibp ibrs_enhanced tpr_shadow vnmi flexpriority ept vpid ept_ad fsgsbase tsc_adjust bmi1 avx2 smep bmi2 erms invpcid cqm mpx rdt_a avx512f avx512dq rdseed adx smap clflushopt clwb intel_pt avx512cd avx512bw avx512vl xsaveopt xsavec xgetbv1 xsaves cqm_llc cqm_occup_llc cqm_mbm_total cqm_mbm_local dtherm ida arat pln pts pku ospke avx512_vnni md_clear flush_l1d arch_capabilities +vmx flags : vnmi preemption_timer posted_intr invvpid ept_x_only ept_ad ept_1gb flexpriority apicv tsc_offset vtpr mtf vapic ept vpid unrestricted_guest vapic_reg vid ple shadow_vmcs pml ept_mode_based_exec tsc_scaling +bugs : spectre_v1 spectre_v2 spec_store_bypass swapgs taa itlb_multihit mmio_stale_data retbleed eibrs_pbrsb gds bhi +bogomips : 4201.84 +clflush size : 64 +cache_alignment : 64 +address sizes : 46 bits physical, 48 bits virtual +power management: + +processor : 68 +vendor_id : GenuineIntel +cpu family : 6 +model : 85 +model name : Intel(R) Xeon(R) Gold 5218R CPU @ 2.10GHz +stepping : 7 +microcode : 0x5003707 +cpu MHz : 2100.000 +cache size : 28160 KB +physical id : 1 +siblings : 40 +core id : 11 +cpu cores : 20 +apicid : 87 +initial apicid : 87 +fpu : yes +fpu_exception : yes +cpuid level : 22 +wp : yes +flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx pdpe1gb rdtscp lm constant_tsc art arch_perfmon pebs bts rep_good nopl xtopology nonstop_tsc cpuid aperfmperf pni pclmulqdq dtes64 monitor ds_cpl vmx smx est tm2 ssse3 sdbg fma cx16 xtpr pdcm pcid dca sse4_1 sse4_2 x2apic movbe popcnt tsc_deadline_timer aes xsave avx f16c rdrand lahf_lm abm 3dnowprefetch cpuid_fault epb cat_l3 cdp_l3 invpcid_single intel_ppin ssbd mba ibrs ibpb stibp ibrs_enhanced tpr_shadow vnmi flexpriority ept vpid ept_ad fsgsbase tsc_adjust bmi1 avx2 smep bmi2 erms invpcid cqm mpx rdt_a avx512f avx512dq rdseed adx smap clflushopt clwb intel_pt avx512cd avx512bw avx512vl xsaveopt xsavec xgetbv1 xsaves cqm_llc cqm_occup_llc cqm_mbm_total cqm_mbm_local dtherm ida arat pln pts pku ospke avx512_vnni md_clear flush_l1d arch_capabilities +vmx flags : vnmi preemption_timer posted_intr invvpid ept_x_only ept_ad ept_1gb flexpriority apicv tsc_offset vtpr mtf vapic ept vpid unrestricted_guest vapic_reg vid ple shadow_vmcs pml ept_mode_based_exec tsc_scaling +bugs : spectre_v1 spectre_v2 spec_store_bypass swapgs taa itlb_multihit mmio_stale_data retbleed eibrs_pbrsb gds bhi +bogomips : 4201.84 +clflush size : 64 +cache_alignment : 64 +address sizes : 46 bits physical, 48 bits virtual +power management: + +processor : 69 +vendor_id : GenuineIntel +cpu family : 6 +model : 85 +model name : Intel(R) Xeon(R) Gold 5218R CPU @ 2.10GHz +stepping : 7 +microcode : 0x5003707 +cpu MHz : 2100.000 +cache size : 28160 KB +physical id : 1 +siblings : 40 +core id : 12 +cpu cores : 20 +apicid : 89 +initial apicid : 89 +fpu : yes +fpu_exception : yes +cpuid level : 22 +wp : yes +flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx pdpe1gb rdtscp lm constant_tsc art arch_perfmon pebs bts rep_good nopl xtopology nonstop_tsc cpuid aperfmperf pni pclmulqdq dtes64 monitor ds_cpl vmx smx est tm2 ssse3 sdbg fma cx16 xtpr pdcm pcid dca sse4_1 sse4_2 x2apic movbe popcnt tsc_deadline_timer aes xsave avx f16c rdrand lahf_lm abm 3dnowprefetch cpuid_fault epb cat_l3 cdp_l3 invpcid_single intel_ppin ssbd mba ibrs ibpb stibp ibrs_enhanced tpr_shadow vnmi flexpriority ept vpid ept_ad fsgsbase tsc_adjust bmi1 avx2 smep bmi2 erms invpcid cqm mpx rdt_a avx512f avx512dq rdseed adx smap clflushopt clwb intel_pt avx512cd avx512bw avx512vl xsaveopt xsavec xgetbv1 xsaves cqm_llc cqm_occup_llc cqm_mbm_total cqm_mbm_local dtherm ida arat pln pts pku ospke avx512_vnni md_clear flush_l1d arch_capabilities +vmx flags : vnmi preemption_timer posted_intr invvpid ept_x_only ept_ad ept_1gb flexpriority apicv tsc_offset vtpr mtf vapic ept vpid unrestricted_guest vapic_reg vid ple shadow_vmcs pml ept_mode_based_exec tsc_scaling +bugs : spectre_v1 spectre_v2 spec_store_bypass swapgs taa itlb_multihit mmio_stale_data retbleed eibrs_pbrsb gds bhi +bogomips : 4201.84 +clflush size : 64 +cache_alignment : 64 +address sizes : 46 bits physical, 48 bits virtual +power management: + +processor : 70 +vendor_id : GenuineIntel +cpu family : 6 +model : 85 +model name : Intel(R) Xeon(R) Gold 5218R CPU @ 2.10GHz +stepping : 7 +microcode : 0x5003707 +cpu MHz : 2100.000 +cache size : 28160 KB +physical id : 1 +siblings : 40 +core id : 16 +cpu cores : 20 +apicid : 97 +initial apicid : 97 +fpu : yes +fpu_exception : yes +cpuid level : 22 +wp : yes +flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx pdpe1gb rdtscp lm constant_tsc art arch_perfmon pebs bts rep_good nopl xtopology nonstop_tsc cpuid aperfmperf pni pclmulqdq dtes64 monitor ds_cpl vmx smx est tm2 ssse3 sdbg fma cx16 xtpr pdcm pcid dca sse4_1 sse4_2 x2apic movbe popcnt tsc_deadline_timer aes xsave avx f16c rdrand lahf_lm abm 3dnowprefetch cpuid_fault epb cat_l3 cdp_l3 invpcid_single intel_ppin ssbd mba ibrs ibpb stibp ibrs_enhanced tpr_shadow vnmi flexpriority ept vpid ept_ad fsgsbase tsc_adjust bmi1 avx2 smep bmi2 erms invpcid cqm mpx rdt_a avx512f avx512dq rdseed adx smap clflushopt clwb intel_pt avx512cd avx512bw avx512vl xsaveopt xsavec xgetbv1 xsaves cqm_llc cqm_occup_llc cqm_mbm_total cqm_mbm_local dtherm ida arat pln pts pku ospke avx512_vnni md_clear flush_l1d arch_capabilities +vmx flags : vnmi preemption_timer posted_intr invvpid ept_x_only ept_ad ept_1gb flexpriority apicv tsc_offset vtpr mtf vapic ept vpid unrestricted_guest vapic_reg vid ple shadow_vmcs pml ept_mode_based_exec tsc_scaling +bugs : spectre_v1 spectre_v2 spec_store_bypass swapgs taa itlb_multihit mmio_stale_data retbleed eibrs_pbrsb gds bhi +bogomips : 4201.84 +clflush size : 64 +cache_alignment : 64 +address sizes : 46 bits physical, 48 bits virtual +power management: + +processor : 71 +vendor_id : GenuineIntel +cpu family : 6 +model : 85 +model name : Intel(R) Xeon(R) Gold 5218R CPU @ 2.10GHz +stepping : 7 +microcode : 0x5003707 +cpu MHz : 2100.000 +cache size : 28160 KB +physical id : 1 +siblings : 40 +core id : 17 +cpu cores : 20 +apicid : 99 +initial apicid : 99 +fpu : yes +fpu_exception : yes +cpuid level : 22 +wp : yes +flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx pdpe1gb rdtscp lm constant_tsc art arch_perfmon pebs bts rep_good nopl xtopology nonstop_tsc cpuid aperfmperf pni pclmulqdq dtes64 monitor ds_cpl vmx smx est tm2 ssse3 sdbg fma cx16 xtpr pdcm pcid dca sse4_1 sse4_2 x2apic movbe popcnt tsc_deadline_timer aes xsave avx f16c rdrand lahf_lm abm 3dnowprefetch cpuid_fault epb cat_l3 cdp_l3 invpcid_single intel_ppin ssbd mba ibrs ibpb stibp ibrs_enhanced tpr_shadow vnmi flexpriority ept vpid ept_ad fsgsbase tsc_adjust bmi1 avx2 smep bmi2 erms invpcid cqm mpx rdt_a avx512f avx512dq rdseed adx smap clflushopt clwb intel_pt avx512cd avx512bw avx512vl xsaveopt xsavec xgetbv1 xsaves cqm_llc cqm_occup_llc cqm_mbm_total cqm_mbm_local dtherm ida arat pln pts pku ospke avx512_vnni md_clear flush_l1d arch_capabilities +vmx flags : vnmi preemption_timer posted_intr invvpid ept_x_only ept_ad ept_1gb flexpriority apicv tsc_offset vtpr mtf vapic ept vpid unrestricted_guest vapic_reg vid ple shadow_vmcs pml ept_mode_based_exec tsc_scaling +bugs : spectre_v1 spectre_v2 spec_store_bypass swapgs taa itlb_multihit mmio_stale_data retbleed eibrs_pbrsb gds bhi +bogomips : 4201.84 +clflush size : 64 +cache_alignment : 64 +address sizes : 46 bits physical, 48 bits virtual +power management: + +processor : 72 +vendor_id : GenuineIntel +cpu family : 6 +model : 85 +model name : Intel(R) Xeon(R) Gold 5218R CPU @ 2.10GHz +stepping : 7 +microcode : 0x5003707 +cpu MHz : 2100.000 +cache size : 28160 KB +physical id : 1 +siblings : 40 +core id : 18 +cpu cores : 20 +apicid : 101 +initial apicid : 101 +fpu : yes +fpu_exception : yes +cpuid level : 22 +wp : yes +flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx pdpe1gb rdtscp lm constant_tsc art arch_perfmon pebs bts rep_good nopl xtopology nonstop_tsc cpuid aperfmperf pni pclmulqdq dtes64 monitor ds_cpl vmx smx est tm2 ssse3 sdbg fma cx16 xtpr pdcm pcid dca sse4_1 sse4_2 x2apic movbe popcnt tsc_deadline_timer aes xsave avx f16c rdrand lahf_lm abm 3dnowprefetch cpuid_fault epb cat_l3 cdp_l3 invpcid_single intel_ppin ssbd mba ibrs ibpb stibp ibrs_enhanced tpr_shadow vnmi flexpriority ept vpid ept_ad fsgsbase tsc_adjust bmi1 avx2 smep bmi2 erms invpcid cqm mpx rdt_a avx512f avx512dq rdseed adx smap clflushopt clwb intel_pt avx512cd avx512bw avx512vl xsaveopt xsavec xgetbv1 xsaves cqm_llc cqm_occup_llc cqm_mbm_total cqm_mbm_local dtherm ida arat pln pts pku ospke avx512_vnni md_clear flush_l1d arch_capabilities +vmx flags : vnmi preemption_timer posted_intr invvpid ept_x_only ept_ad ept_1gb flexpriority apicv tsc_offset vtpr mtf vapic ept vpid unrestricted_guest vapic_reg vid ple shadow_vmcs pml ept_mode_based_exec tsc_scaling +bugs : spectre_v1 spectre_v2 spec_store_bypass swapgs taa itlb_multihit mmio_stale_data retbleed eibrs_pbrsb gds bhi +bogomips : 4201.84 +clflush size : 64 +cache_alignment : 64 +address sizes : 46 bits physical, 48 bits virtual +power management: + +processor : 73 +vendor_id : GenuineIntel +cpu family : 6 +model : 85 +model name : Intel(R) Xeon(R) Gold 5218R CPU @ 2.10GHz +stepping : 7 +microcode : 0x5003707 +cpu MHz : 2100.000 +cache size : 28160 KB +physical id : 1 +siblings : 40 +core id : 19 +cpu cores : 20 +apicid : 103 +initial apicid : 103 +fpu : yes +fpu_exception : yes +cpuid level : 22 +wp : yes +flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx pdpe1gb rdtscp lm constant_tsc art arch_perfmon pebs bts rep_good nopl xtopology nonstop_tsc cpuid aperfmperf pni pclmulqdq dtes64 monitor ds_cpl vmx smx est tm2 ssse3 sdbg fma cx16 xtpr pdcm pcid dca sse4_1 sse4_2 x2apic movbe popcnt tsc_deadline_timer aes xsave avx f16c rdrand lahf_lm abm 3dnowprefetch cpuid_fault epb cat_l3 cdp_l3 invpcid_single intel_ppin ssbd mba ibrs ibpb stibp ibrs_enhanced tpr_shadow vnmi flexpriority ept vpid ept_ad fsgsbase tsc_adjust bmi1 avx2 smep bmi2 erms invpcid cqm mpx rdt_a avx512f avx512dq rdseed adx smap clflushopt clwb intel_pt avx512cd avx512bw avx512vl xsaveopt xsavec xgetbv1 xsaves cqm_llc cqm_occup_llc cqm_mbm_total cqm_mbm_local dtherm ida arat pln pts pku ospke avx512_vnni md_clear flush_l1d arch_capabilities +vmx flags : vnmi preemption_timer posted_intr invvpid ept_x_only ept_ad ept_1gb flexpriority apicv tsc_offset vtpr mtf vapic ept vpid unrestricted_guest vapic_reg vid ple shadow_vmcs pml ept_mode_based_exec tsc_scaling +bugs : spectre_v1 spectre_v2 spec_store_bypass swapgs taa itlb_multihit mmio_stale_data retbleed eibrs_pbrsb gds bhi +bogomips : 4201.84 +clflush size : 64 +cache_alignment : 64 +address sizes : 46 bits physical, 48 bits virtual +power management: + +processor : 74 +vendor_id : GenuineIntel +cpu family : 6 +model : 85 +model name : Intel(R) Xeon(R) Gold 5218R CPU @ 2.10GHz +stepping : 7 +microcode : 0x5003707 +cpu MHz : 2100.000 +cache size : 28160 KB +physical id : 1 +siblings : 40 +core id : 20 +cpu cores : 20 +apicid : 105 +initial apicid : 105 +fpu : yes +fpu_exception : yes +cpuid level : 22 +wp : yes +flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx pdpe1gb rdtscp lm constant_tsc art arch_perfmon pebs bts rep_good nopl xtopology nonstop_tsc cpuid aperfmperf pni pclmulqdq dtes64 monitor ds_cpl vmx smx est tm2 ssse3 sdbg fma cx16 xtpr pdcm pcid dca sse4_1 sse4_2 x2apic movbe popcnt tsc_deadline_timer aes xsave avx f16c rdrand lahf_lm abm 3dnowprefetch cpuid_fault epb cat_l3 cdp_l3 invpcid_single intel_ppin ssbd mba ibrs ibpb stibp ibrs_enhanced tpr_shadow vnmi flexpriority ept vpid ept_ad fsgsbase tsc_adjust bmi1 avx2 smep bmi2 erms invpcid cqm mpx rdt_a avx512f avx512dq rdseed adx smap clflushopt clwb intel_pt avx512cd avx512bw avx512vl xsaveopt xsavec xgetbv1 xsaves cqm_llc cqm_occup_llc cqm_mbm_total cqm_mbm_local dtherm ida arat pln pts pku ospke avx512_vnni md_clear flush_l1d arch_capabilities +vmx flags : vnmi preemption_timer posted_intr invvpid ept_x_only ept_ad ept_1gb flexpriority apicv tsc_offset vtpr mtf vapic ept vpid unrestricted_guest vapic_reg vid ple shadow_vmcs pml ept_mode_based_exec tsc_scaling +bugs : spectre_v1 spectre_v2 spec_store_bypass swapgs taa itlb_multihit mmio_stale_data retbleed eibrs_pbrsb gds bhi +bogomips : 4201.84 +clflush size : 64 +cache_alignment : 64 +address sizes : 46 bits physical, 48 bits virtual +power management: + +processor : 75 +vendor_id : GenuineIntel +cpu family : 6 +model : 85 +model name : Intel(R) Xeon(R) Gold 5218R CPU @ 2.10GHz +stepping : 7 +microcode : 0x5003707 +cpu MHz : 2100.000 +cache size : 28160 KB +physical id : 1 +siblings : 40 +core id : 24 +cpu cores : 20 +apicid : 113 +initial apicid : 113 +fpu : yes +fpu_exception : yes +cpuid level : 22 +wp : yes +flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx pdpe1gb rdtscp lm constant_tsc art arch_perfmon pebs bts rep_good nopl xtopology nonstop_tsc cpuid aperfmperf pni pclmulqdq dtes64 monitor ds_cpl vmx smx est tm2 ssse3 sdbg fma cx16 xtpr pdcm pcid dca sse4_1 sse4_2 x2apic movbe popcnt tsc_deadline_timer aes xsave avx f16c rdrand lahf_lm abm 3dnowprefetch cpuid_fault epb cat_l3 cdp_l3 invpcid_single intel_ppin ssbd mba ibrs ibpb stibp ibrs_enhanced tpr_shadow vnmi flexpriority ept vpid ept_ad fsgsbase tsc_adjust bmi1 avx2 smep bmi2 erms invpcid cqm mpx rdt_a avx512f avx512dq rdseed adx smap clflushopt clwb intel_pt avx512cd avx512bw avx512vl xsaveopt xsavec xgetbv1 xsaves cqm_llc cqm_occup_llc cqm_mbm_total cqm_mbm_local dtherm ida arat pln pts pku ospke avx512_vnni md_clear flush_l1d arch_capabilities +vmx flags : vnmi preemption_timer posted_intr invvpid ept_x_only ept_ad ept_1gb flexpriority apicv tsc_offset vtpr mtf vapic ept vpid unrestricted_guest vapic_reg vid ple shadow_vmcs pml ept_mode_based_exec tsc_scaling +bugs : spectre_v1 spectre_v2 spec_store_bypass swapgs taa itlb_multihit mmio_stale_data retbleed eibrs_pbrsb gds bhi +bogomips : 4201.84 +clflush size : 64 +cache_alignment : 64 +address sizes : 46 bits physical, 48 bits virtual +power management: + +processor : 76 +vendor_id : GenuineIntel +cpu family : 6 +model : 85 +model name : Intel(R) Xeon(R) Gold 5218R CPU @ 2.10GHz +stepping : 7 +microcode : 0x5003707 +cpu MHz : 2100.000 +cache size : 28160 KB +physical id : 1 +siblings : 40 +core id : 25 +cpu cores : 20 +apicid : 115 +initial apicid : 115 +fpu : yes +fpu_exception : yes +cpuid level : 22 +wp : yes +flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx pdpe1gb rdtscp lm constant_tsc art arch_perfmon pebs bts rep_good nopl xtopology nonstop_tsc cpuid aperfmperf pni pclmulqdq dtes64 monitor ds_cpl vmx smx est tm2 ssse3 sdbg fma cx16 xtpr pdcm pcid dca sse4_1 sse4_2 x2apic movbe popcnt tsc_deadline_timer aes xsave avx f16c rdrand lahf_lm abm 3dnowprefetch cpuid_fault epb cat_l3 cdp_l3 invpcid_single intel_ppin ssbd mba ibrs ibpb stibp ibrs_enhanced tpr_shadow vnmi flexpriority ept vpid ept_ad fsgsbase tsc_adjust bmi1 avx2 smep bmi2 erms invpcid cqm mpx rdt_a avx512f avx512dq rdseed adx smap clflushopt clwb intel_pt avx512cd avx512bw avx512vl xsaveopt xsavec xgetbv1 xsaves cqm_llc cqm_occup_llc cqm_mbm_total cqm_mbm_local dtherm ida arat pln pts pku ospke avx512_vnni md_clear flush_l1d arch_capabilities +vmx flags : vnmi preemption_timer posted_intr invvpid ept_x_only ept_ad ept_1gb flexpriority apicv tsc_offset vtpr mtf vapic ept vpid unrestricted_guest vapic_reg vid ple shadow_vmcs pml ept_mode_based_exec tsc_scaling +bugs : spectre_v1 spectre_v2 spec_store_bypass swapgs taa itlb_multihit mmio_stale_data retbleed eibrs_pbrsb gds bhi +bogomips : 4201.84 +clflush size : 64 +cache_alignment : 64 +address sizes : 46 bits physical, 48 bits virtual +power management: + +processor : 77 +vendor_id : GenuineIntel +cpu family : 6 +model : 85 +model name : Intel(R) Xeon(R) Gold 5218R CPU @ 2.10GHz +stepping : 7 +microcode : 0x5003707 +cpu MHz : 2100.000 +cache size : 28160 KB +physical id : 1 +siblings : 40 +core id : 26 +cpu cores : 20 +apicid : 117 +initial apicid : 117 +fpu : yes +fpu_exception : yes +cpuid level : 22 +wp : yes +flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx pdpe1gb rdtscp lm constant_tsc art arch_perfmon pebs bts rep_good nopl xtopology nonstop_tsc cpuid aperfmperf pni pclmulqdq dtes64 monitor ds_cpl vmx smx est tm2 ssse3 sdbg fma cx16 xtpr pdcm pcid dca sse4_1 sse4_2 x2apic movbe popcnt tsc_deadline_timer aes xsave avx f16c rdrand lahf_lm abm 3dnowprefetch cpuid_fault epb cat_l3 cdp_l3 invpcid_single intel_ppin ssbd mba ibrs ibpb stibp ibrs_enhanced tpr_shadow vnmi flexpriority ept vpid ept_ad fsgsbase tsc_adjust bmi1 avx2 smep bmi2 erms invpcid cqm mpx rdt_a avx512f avx512dq rdseed adx smap clflushopt clwb intel_pt avx512cd avx512bw avx512vl xsaveopt xsavec xgetbv1 xsaves cqm_llc cqm_occup_llc cqm_mbm_total cqm_mbm_local dtherm ida arat pln pts pku ospke avx512_vnni md_clear flush_l1d arch_capabilities +vmx flags : vnmi preemption_timer posted_intr invvpid ept_x_only ept_ad ept_1gb flexpriority apicv tsc_offset vtpr mtf vapic ept vpid unrestricted_guest vapic_reg vid ple shadow_vmcs pml ept_mode_based_exec tsc_scaling +bugs : spectre_v1 spectre_v2 spec_store_bypass swapgs taa itlb_multihit mmio_stale_data retbleed eibrs_pbrsb gds bhi +bogomips : 4201.84 +clflush size : 64 +cache_alignment : 64 +address sizes : 46 bits physical, 48 bits virtual +power management: + +processor : 78 +vendor_id : GenuineIntel +cpu family : 6 +model : 85 +model name : Intel(R) Xeon(R) Gold 5218R CPU @ 2.10GHz +stepping : 7 +microcode : 0x5003707 +cpu MHz : 2100.000 +cache size : 28160 KB +physical id : 1 +siblings : 40 +core id : 27 +cpu cores : 20 +apicid : 119 +initial apicid : 119 +fpu : yes +fpu_exception : yes +cpuid level : 22 +wp : yes +flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx pdpe1gb rdtscp lm constant_tsc art arch_perfmon pebs bts rep_good nopl xtopology nonstop_tsc cpuid aperfmperf pni pclmulqdq dtes64 monitor ds_cpl vmx smx est tm2 ssse3 sdbg fma cx16 xtpr pdcm pcid dca sse4_1 sse4_2 x2apic movbe popcnt tsc_deadline_timer aes xsave avx f16c rdrand lahf_lm abm 3dnowprefetch cpuid_fault epb cat_l3 cdp_l3 invpcid_single intel_ppin ssbd mba ibrs ibpb stibp ibrs_enhanced tpr_shadow vnmi flexpriority ept vpid ept_ad fsgsbase tsc_adjust bmi1 avx2 smep bmi2 erms invpcid cqm mpx rdt_a avx512f avx512dq rdseed adx smap clflushopt clwb intel_pt avx512cd avx512bw avx512vl xsaveopt xsavec xgetbv1 xsaves cqm_llc cqm_occup_llc cqm_mbm_total cqm_mbm_local dtherm ida arat pln pts pku ospke avx512_vnni md_clear flush_l1d arch_capabilities +vmx flags : vnmi preemption_timer posted_intr invvpid ept_x_only ept_ad ept_1gb flexpriority apicv tsc_offset vtpr mtf vapic ept vpid unrestricted_guest vapic_reg vid ple shadow_vmcs pml ept_mode_based_exec tsc_scaling +bugs : spectre_v1 spectre_v2 spec_store_bypass swapgs taa itlb_multihit mmio_stale_data retbleed eibrs_pbrsb gds bhi +bogomips : 4201.84 +clflush size : 64 +cache_alignment : 64 +address sizes : 46 bits physical, 48 bits virtual +power management: + +processor : 79 +vendor_id : GenuineIntel +cpu family : 6 +model : 85 +model name : Intel(R) Xeon(R) Gold 5218R CPU @ 2.10GHz +stepping : 7 +microcode : 0x5003707 +cpu MHz : 2100.000 +cache size : 28160 KB +physical id : 1 +siblings : 40 +core id : 28 +cpu cores : 20 +apicid : 121 +initial apicid : 121 +fpu : yes +fpu_exception : yes +cpuid level : 22 +wp : yes +flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx pdpe1gb rdtscp lm constant_tsc art arch_perfmon pebs bts rep_good nopl xtopology nonstop_tsc cpuid aperfmperf pni pclmulqdq dtes64 monitor ds_cpl vmx smx est tm2 ssse3 sdbg fma cx16 xtpr pdcm pcid dca sse4_1 sse4_2 x2apic movbe popcnt tsc_deadline_timer aes xsave avx f16c rdrand lahf_lm abm 3dnowprefetch cpuid_fault epb cat_l3 cdp_l3 invpcid_single intel_ppin ssbd mba ibrs ibpb stibp ibrs_enhanced tpr_shadow vnmi flexpriority ept vpid ept_ad fsgsbase tsc_adjust bmi1 avx2 smep bmi2 erms invpcid cqm mpx rdt_a avx512f avx512dq rdseed adx smap clflushopt clwb intel_pt avx512cd avx512bw avx512vl xsaveopt xsavec xgetbv1 xsaves cqm_llc cqm_occup_llc cqm_mbm_total cqm_mbm_local dtherm ida arat pln pts pku ospke avx512_vnni md_clear flush_l1d arch_capabilities +vmx flags : vnmi preemption_timer posted_intr invvpid ept_x_only ept_ad ept_1gb flexpriority apicv tsc_offset vtpr mtf vapic ept vpid unrestricted_guest vapic_reg vid ple shadow_vmcs pml ept_mode_based_exec tsc_scaling +bugs : spectre_v1 spectre_v2 spec_store_bypass swapgs taa itlb_multihit mmio_stale_data retbleed eibrs_pbrsb gds bhi +bogomips : 4201.84 +clflush size : 64 +cache_alignment : 64 +address sizes : 46 bits physical, 48 bits virtual +power management: + diff --git a/dev9/spec/lsblk.txt b/dev9/spec/lsblk.txt new file mode 100644 index 0000000000000000000000000000000000000000..a8282550328e00e6eeff11295c29297bfa8b4e72 --- /dev/null +++ b/dev9/spec/lsblk.txt @@ -0,0 +1,11 @@ +NAME FSTYPE ROTA MOUNTPOINT MODEL +loop0 squashfs 0 /snap/core20/2379 +loop1 squashfs 0 /snap/core20/2434 +loop2 squashfs 0 /snap/lxd/29351 +loop3 squashfs 0 /snap/lxd/31333 +loop4 squashfs 0 /snap/snapd/21759 +loop5 squashfs 0 /snap/snapd/23258 +sda 0 Micron_5300_MTFD +├─sda1 0 +└─sda2 ext4 0 / +nvme0n1 ext4 0 /mnt/nvme0n1 SAMSUNG MZQLB960HAJR-00007 diff --git a/dev9/spec/lshw_memory.txt b/dev9/spec/lshw_memory.txt new file mode 100644 index 0000000000000000000000000000000000000000..ac8060644508cb168be86595b28925049ed4a810 --- /dev/null +++ b/dev9/spec/lshw_memory.txt @@ -0,0 +1,280 @@ + *-firmware + description: BIOS + vendor: American Megatrends Inc. + physical id: 6 + version: 3.8a + date: 09/29/2022 + size: 64KiB + capacity: 32MiB + capabilities: pci upgrade shadowing cdboot bootselect socketedrom edd int13floppy1200 int13floppy720 int13floppy2880 int5printscreen int14serial int17printer acpi usb biosbootspecification uefi + *-memory + description: System Memory + physical id: 26 + slot: System board or motherboard + size: 176GiB + capacity: 2304GiB + capabilities: ecc + configuration: errordetection=ecc + *-bank:0 + description: DIMM DDR4 Synchronous Registered (Buffered) 2933 MHz (0.3 ns) + product: HMA82GR7CJR8N-WM + vendor: SK Hynix + physical id: 0 + serial: 34C7F05E + slot: P1-DIMMA1 + size: 16GiB + width: 64 bits + clock: 2933MHz (0.3ns) + *-bank:1 + description: DIMM [empty] + product: NO DIMM + vendor: NO DIMM + physical id: 1 + serial: NO DIMM + slot: P1-DIMMA2 + *-bank:2 + description: DIMM DDR4 Synchronous Registered (Buffered) 2933 MHz (0.3 ns) [empty] + product: HMA82GR7CJR8N-WM + vendor: SK Hynix + physical id: 2 + serial: 34C7F2C8 + slot: P1-DIMMB1 + width: 64 bits + clock: 2933MHz (0.3ns) + *-bank:3 + description: DIMM [empty] + product: NO DIMM + vendor: NO DIMM + physical id: 3 + serial: NO DIMM + slot: P1-DIMMB2 + *-bank:4 + description: DIMM DDR4 Synchronous Registered (Buffered) 2933 MHz (0.3 ns) + product: HMA82GR7CJR8N-WM + vendor: SK Hynix + physical id: 4 + serial: 34C7F229 + slot: P1-DIMMC1 + size: 16GiB + width: 64 bits + clock: 2933MHz (0.3ns) + *-bank:5 + description: DIMM [empty] + product: NO DIMM + vendor: NO DIMM + physical id: 5 + serial: NO DIMM + slot: P1-DIMMC2 + *-bank:6 + description: DIMM DDR4 Synchronous Registered (Buffered) 2933 MHz (0.3 ns) + product: HMA82GR7CJR8N-WM + vendor: SK Hynix + physical id: 6 + serial: 34C7F27C + slot: P1-DIMMD1 + size: 16GiB + width: 64 bits + clock: 2933MHz (0.3ns) + *-bank:7 + description: DIMM [empty] + product: NO DIMM + vendor: NO DIMM + physical id: 7 + serial: NO DIMM + slot: P1-DIMMD2 + *-bank:8 + description: DIMM DDR4 Synchronous Registered (Buffered) 2933 MHz (0.3 ns) + product: HMA82GR7CJR8N-WM + vendor: SK Hynix + physical id: 8 + serial: 34C7F250 + slot: P1-DIMME1 + size: 16GiB + width: 64 bits + clock: 2933MHz (0.3ns) + *-bank:9 + description: DIMM [empty] + product: NO DIMM + vendor: NO DIMM + physical id: 9 + serial: NO DIMM + slot: P1-DIMME2 + *-bank:10 + description: DIMM DDR4 Synchronous Registered (Buffered) 2933 MHz (0.3 ns) + product: HMA82GR7CJR8N-WM + vendor: SK Hynix + physical id: a + serial: 34C7F2D2 + slot: P1-DIMMF1 + size: 16GiB + width: 64 bits + clock: 2933MHz (0.3ns) + *-bank:11 + description: DIMM [empty] + product: NO DIMM + vendor: NO DIMM + physical id: b + serial: NO DIMM + slot: P1-DIMMF2 + *-bank:12 + description: DIMM DDR4 Synchronous Registered (Buffered) 2933 MHz (0.3 ns) + product: HMA82GR7CJR8N-WM + vendor: SK Hynix + physical id: c + serial: 34C7F266 + slot: P2-DIMMA1 + size: 16GiB + width: 64 bits + clock: 2933MHz (0.3ns) + *-bank:13 + description: DIMM [empty] + product: NO DIMM + vendor: NO DIMM + physical id: d + serial: NO DIMM + slot: P2-DIMMA2 + *-bank:14 + description: DIMM DDR4 Synchronous Registered (Buffered) 2933 MHz (0.3 ns) + product: HMA82GR7CJR8N-WM + vendor: SK Hynix + physical id: e + serial: 34C7F265 + slot: P2-DIMMB1 + size: 16GiB + width: 64 bits + clock: 2933MHz (0.3ns) + *-bank:15 + description: DIMM [empty] + product: NO DIMM + vendor: NO DIMM + physical id: f + serial: NO DIMM + slot: P2-DIMMB2 + *-bank:16 + description: DIMM DDR4 Synchronous Registered (Buffered) 2933 MHz (0.3 ns) + product: HMA82GR7CJR8N-WM + vendor: SK Hynix + physical id: 10 + serial: 34C7F214 + slot: P2-DIMMC1 + size: 16GiB + width: 64 bits + clock: 2933MHz (0.3ns) + *-bank:17 + description: DIMM [empty] + product: NO DIMM + vendor: NO DIMM + physical id: 11 + serial: NO DIMM + slot: P2-DIMMC2 + *-bank:18 + description: DIMM DDR4 Synchronous Registered (Buffered) 2933 MHz (0.3 ns) + product: HMA82GR7CJR8N-WM + vendor: SK Hynix + physical id: 12 + serial: 34C7F1CD + slot: P2-DIMMD1 + size: 16GiB + width: 64 bits + clock: 2933MHz (0.3ns) + *-bank:19 + description: DIMM [empty] + product: NO DIMM + vendor: NO DIMM + physical id: 13 + serial: NO DIMM + slot: P2-DIMMD2 + *-bank:20 + description: DIMM DDR4 Synchronous Registered (Buffered) 2933 MHz (0.3 ns) + product: HMA82GR7CJR8N-WM + vendor: SK Hynix + physical id: 14 + serial: 34C7F20D + slot: P2-DIMME1 + size: 16GiB + width: 64 bits + clock: 2933MHz (0.3ns) + *-bank:21 + description: DIMM [empty] + product: NO DIMM + vendor: NO DIMM + physical id: 15 + serial: NO DIMM + slot: P2-DIMME2 + *-bank:22 + description: DIMM DDR4 Synchronous Registered (Buffered) 2933 MHz (0.3 ns) + product: HMA82GR7CJR8N-WM + vendor: SK Hynix + physical id: 16 + serial: 34C7F226 + slot: P2-DIMMF1 + size: 16GiB + width: 64 bits + clock: 2933MHz (0.3ns) + *-bank:23 + description: DIMM [empty] + product: NO DIMM + vendor: NO DIMM + physical id: 17 + serial: NO DIMM + slot: P2-DIMMF2 + *-cache:0 + description: L1 cache + physical id: 52 + slot: L1 Cache + size: 1280KiB + capacity: 1280KiB + capabilities: synchronous internal write-back instruction + configuration: level=1 + *-cache:1 + description: L2 cache + physical id: 53 + slot: L2 Cache + size: 20MiB + capacity: 20MiB + capabilities: synchronous internal varies unified + configuration: level=2 + *-cache:2 + description: L3 cache + physical id: 54 + slot: L3 Cache + size: 27MiB + capacity: 27MiB + capabilities: synchronous internal varies unified + configuration: level=3 + *-cache:3 + description: L1 cache + physical id: 56 + slot: L1 Cache + size: 1280KiB + capacity: 1280KiB + capabilities: synchronous internal write-back instruction + configuration: level=1 + *-cache:4 + description: L2 cache + physical id: 57 + slot: L2 Cache + size: 20MiB + capacity: 20MiB + capabilities: synchronous internal varies unified + configuration: level=2 + *-cache:5 + description: L3 cache + physical id: 58 + slot: L3 Cache + size: 27MiB + capacity: 27MiB + capabilities: synchronous internal varies unified + configuration: level=3 + *-memory UNCLAIMED + description: Memory controller + product: C620 Series Chipset Family Power Management Controller + vendor: Intel Corporation + physical id: 1f.2 + bus info: pci@0000:00:1f.2 + version: 09 + width: 32 bits + clock: 33MHz (30.3ns) + capabilities: bus_master + configuration: latency=0 + resources: memory:9d210000-9d213fff diff --git a/dev9/spec/no_turbo.txt b/dev9/spec/no_turbo.txt new file mode 100644 index 0000000000000000000000000000000000000000..d00491fd7e5bb6fa28c517a0bb32b8b506539d4d --- /dev/null +++ b/dev9/spec/no_turbo.txt @@ -0,0 +1 @@ +1 diff --git a/dev9/spec/scaling_governor.txt b/dev9/spec/scaling_governor.txt new file mode 100644 index 0000000000000000000000000000000000000000..edee99890029bb1b00179037cd58c7da29739b65 --- /dev/null +++ b/dev9/spec/scaling_governor.txt @@ -0,0 +1,80 @@ +performance +performance +performance +performance +performance +performance +performance +performance +performance +performance +performance +performance +performance +performance +performance +performance +performance +performance +performance +performance +performance +performance +performance +performance +performance +performance +performance +performance +performance +performance +performance +performance +performance +performance +performance +performance +performance +performance +performance +performance +performance +performance +performance +performance +performance +performance +performance +performance +performance +performance +performance +performance +performance +performance +performance +performance +performance +performance +performance +performance +performance +performance +performance +performance +performance +performance +performance +performance +performance +performance +performance +performance +performance +performance +performance +performance +performance +performance +performance +performance diff --git a/dev9/spec/transparent_hugepage_defrag.txt b/dev9/spec/transparent_hugepage_defrag.txt new file mode 100644 index 0000000000000000000000000000000000000000..a82fefbca97380d18fd7c91149579795cc9f677f --- /dev/null +++ b/dev9/spec/transparent_hugepage_defrag.txt @@ -0,0 +1 @@ +always defer defer+madvise madvise [never] diff --git a/dev9/spec/transparent_hugepage_enabled.txt b/dev9/spec/transparent_hugepage_enabled.txt new file mode 100644 index 0000000000000000000000000000000000000000..f78f78fc39bf896ef25c6a33cc9164cf65c8e41d --- /dev/null +++ b/dev9/spec/transparent_hugepage_enabled.txt @@ -0,0 +1 @@ +always madvise [never] diff --git a/result_dev9_tpch.pq b/result_dev9_tpch.pq new file mode 100644 index 0000000000000000000000000000000000000000..186344c03aeda9b3222f569ccec62ab40263c5f3 Binary files /dev/null and b/result_dev9_tpch.pq differ