Upload folder using huggingface_hub
Browse filesThis view is limited to 50 files because it contains too many changes.
See raw diff
- dev9/pg10/tpch/sf_1/explain/15721/1-1.ok +0 -0
- dev9/pg10/tpch/sf_1/explain/15721/1-1.res +1 -0
- dev9/pg10/tpch/sf_1/explain/15721/10-1.ok +0 -0
- dev9/pg10/tpch/sf_1/explain/15721/10-1.res +1 -0
- dev9/pg10/tpch/sf_1/explain/15721/11-1.ok +0 -0
- dev9/pg10/tpch/sf_1/explain/15721/11-1.res +1 -0
- dev9/pg10/tpch/sf_1/explain/15721/12-1.ok +0 -0
- dev9/pg10/tpch/sf_1/explain/15721/12-1.res +1 -0
- dev9/pg10/tpch/sf_1/explain/15721/13-1.ok +0 -0
- dev9/pg10/tpch/sf_1/explain/15721/13-1.res +1 -0
- dev9/pg10/tpch/sf_1/explain/15721/14-1.ok +0 -0
- dev9/pg10/tpch/sf_1/explain/15721/14-1.res +1 -0
- dev9/pg10/tpch/sf_1/explain/15721/15-1.ok +0 -0
- dev9/pg10/tpch/sf_1/explain/15721/15-1.res +0 -0
- dev9/pg10/tpch/sf_1/explain/15721/15-2.ok +0 -0
- dev9/pg10/tpch/sf_1/explain/15721/15-2.res +1 -0
- dev9/pg10/tpch/sf_1/explain/15721/15-3.ok +0 -0
- dev9/pg10/tpch/sf_1/explain/15721/15-3.res +0 -0
- dev9/pg10/tpch/sf_1/explain/15721/16-1.ok +0 -0
- dev9/pg10/tpch/sf_1/explain/15721/16-1.res +1 -0
- dev9/pg10/tpch/sf_1/explain/15721/17-1.ok +0 -0
- dev9/pg10/tpch/sf_1/explain/15721/17-1.res +1 -0
- dev9/pg10/tpch/sf_1/explain/15721/18-1.ok +0 -0
- dev9/pg10/tpch/sf_1/explain/15721/18-1.res +1 -0
- dev9/pg10/tpch/sf_1/explain/15721/19-1.ok +0 -0
- dev9/pg10/tpch/sf_1/explain/15721/19-1.res +1 -0
- dev9/pg10/tpch/sf_1/explain/15721/2-1.ok +0 -0
- dev9/pg10/tpch/sf_1/explain/15721/2-1.res +1 -0
- dev9/pg10/tpch/sf_1/explain/15721/20-1.ok +0 -0
- dev9/pg10/tpch/sf_1/explain/15721/20-1.res +1 -0
- dev9/pg10/tpch/sf_1/explain/15721/21-1.ok +0 -0
- dev9/pg10/tpch/sf_1/explain/15721/21-1.res +1 -0
- dev9/pg10/tpch/sf_1/explain/15721/22-1.ok +0 -0
- dev9/pg10/tpch/sf_1/explain/15721/22-1.res +1 -0
- dev9/pg10/tpch/sf_1/explain/15721/3-1.ok +0 -0
- dev9/pg10/tpch/sf_1/explain/15721/3-1.res +1 -0
- dev9/pg10/tpch/sf_1/explain/15721/4-1.ok +0 -0
- dev9/pg10/tpch/sf_1/explain/15721/4-1.res +1 -0
- dev9/pg10/tpch/sf_1/explain/15721/5-1.ok +0 -0
- dev9/pg10/tpch/sf_1/explain/15721/5-1.res +1 -0
- dev9/pg10/tpch/sf_1/explain/15721/6-1.ok +0 -0
- dev9/pg10/tpch/sf_1/explain/15721/6-1.res +1 -0
- dev9/pg10/tpch/sf_1/explain/15721/7-1.ok +0 -0
- dev9/pg10/tpch/sf_1/explain/15721/7-1.res +1 -0
- dev9/pg10/tpch/sf_1/explain/15721/8-1.ok +0 -0
- dev9/pg10/tpch/sf_1/explain/15721/8-1.res +1 -0
- dev9/pg10/tpch/sf_1/explain/15721/9-1.ok +0 -0
- dev9/pg10/tpch/sf_1/explain/15721/9-1.res +1 -0
- dev9/pg10/tpch/sf_1/explain_analyze/15721/1-1.ok +0 -0
- dev9/pg10/tpch/sf_1/explain_analyze/15721/1-1.res +1 -0
dev9/pg10/tpch/sf_1/explain/15721/1-1.ok
ADDED
|
File without changes
|
dev9/pg10/tpch/sf_1/explain/15721/1-1.res
ADDED
|
@@ -0,0 +1 @@
|
|
|
|
|
|
|
| 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)"}]}]}]}]}}
|
dev9/pg10/tpch/sf_1/explain/15721/10-1.ok
ADDED
|
File without changes
|
dev9/pg10/tpch/sf_1/explain/15721/10-1.res
ADDED
|
@@ -0,0 +1 @@
|
|
|
|
|
|
|
| 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"]}]}]}]}]}]}]}}
|
dev9/pg10/tpch/sf_1/explain/15721/11-1.ok
ADDED
|
File without changes
|
dev9/pg10/tpch/sf_1/explain/15721/11-1.res
ADDED
|
@@ -0,0 +1 @@
|
|
|
|
|
|
|
| 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)"}]}]}]}}
|
dev9/pg10/tpch/sf_1/explain/15721/12-1.ok
ADDED
|
File without changes
|
dev9/pg10/tpch/sf_1/explain/15721/12-1.res
ADDED
|
@@ -0,0 +1 @@
|
|
|
|
|
|
|
| 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)"}]}]}]}]}]}}
|
dev9/pg10/tpch/sf_1/explain/15721/13-1.ok
ADDED
|
File without changes
|
dev9/pg10/tpch/sf_1/explain/15721/13-1.res
ADDED
|
@@ -0,0 +1 @@
|
|
|
|
|
|
|
| 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"]}]}]}]}]}]}}
|
dev9/pg10/tpch/sf_1/explain/15721/14-1.ok
ADDED
|
File without changes
|
dev9/pg10/tpch/sf_1/explain/15721/14-1.res
ADDED
|
@@ -0,0 +1 @@
|
|
|
|
|
|
|
| 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"]}]}]}]}]}]}}
|
dev9/pg10/tpch/sf_1/explain/15721/15-1.ok
ADDED
|
File without changes
|
dev9/pg10/tpch/sf_1/explain/15721/15-1.res
ADDED
|
File without changes
|
dev9/pg10/tpch/sf_1/explain/15721/15-2.ok
ADDED
|
File without changes
|
dev9/pg10/tpch/sf_1/explain/15721/15-2.res
ADDED
|
@@ -0,0 +1 @@
|
|
|
|
|
|
|
| 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))"}]}]}]}]}]}}
|
dev9/pg10/tpch/sf_1/explain/15721/15-3.ok
ADDED
|
File without changes
|
dev9/pg10/tpch/sf_1/explain/15721/15-3.res
ADDED
|
File without changes
|
dev9/pg10/tpch/sf_1/explain/15721/16-1.ok
ADDED
|
File without changes
|
dev9/pg10/tpch/sf_1/explain/15721/16-1.res
ADDED
|
@@ -0,0 +1 @@
|
|
|
|
|
|
|
| 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[])))"}]}]}]}]}]}]}}
|
dev9/pg10/tpch/sf_1/explain/15721/17-1.ok
ADDED
|
File without changes
|
dev9/pg10/tpch/sf_1/explain/15721/17-1.res
ADDED
|
@@ -0,0 +1 @@
|
|
|
|
|
|
|
| 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)"}]}]}]}}
|
dev9/pg10/tpch/sf_1/explain/15721/18-1.ok
ADDED
|
File without changes
|
dev9/pg10/tpch/sf_1/explain/15721/18-1.res
ADDED
|
@@ -0,0 +1 @@
|
|
|
|
|
|
|
| 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"]}]}]}]}]}]}]}]}]}}
|
dev9/pg10/tpch/sf_1/explain/15721/19-1.ok
ADDED
|
File without changes
|
dev9/pg10/tpch/sf_1/explain/15721/19-1.res
ADDED
|
@@ -0,0 +1 @@
|
|
|
|
|
|
|
| 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))))"}]}]}]}]}}
|
dev9/pg10/tpch/sf_1/explain/15721/2-1.ok
ADDED
|
File without changes
|
dev9/pg10/tpch/sf_1/explain/15721/2-1.res
ADDED
|
@@ -0,0 +1 @@
|
|
|
|
|
|
|
| 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)"}]}]}]}]}]}]}}
|
dev9/pg10/tpch/sf_1/explain/15721/20-1.ok
ADDED
|
File without changes
|
dev9/pg10/tpch/sf_1/explain/15721/20-1.res
ADDED
|
@@ -0,0 +1 @@
|
|
|
|
|
|
|
| 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))"}]}]}]}]}]}]}}
|
dev9/pg10/tpch/sf_1/explain/15721/21-1.ok
ADDED
|
File without changes
|
dev9/pg10/tpch/sf_1/explain/15721/21-1.res
ADDED
|
@@ -0,0 +1 @@
|
|
|
|
|
|
|
| 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))"}]}]}]}]}]}}
|
dev9/pg10/tpch/sf_1/explain/15721/22-1.ok
ADDED
|
File without changes
|
dev9/pg10/tpch/sf_1/explain/15721/22-1.res
ADDED
|
@@ -0,0 +1 @@
|
|
|
|
|
|
|
| 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)"}]}]}]}}
|
dev9/pg10/tpch/sf_1/explain/15721/3-1.ok
ADDED
|
File without changes
|
dev9/pg10/tpch/sf_1/explain/15721/3-1.res
ADDED
|
@@ -0,0 +1 @@
|
|
|
|
|
|
|
| 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)"}]}]}]}]}]}]}]}}
|
dev9/pg10/tpch/sf_1/explain/15721/4-1.ok
ADDED
|
File without changes
|
dev9/pg10/tpch/sf_1/explain/15721/4-1.res
ADDED
|
@@ -0,0 +1 @@
|
|
|
|
|
|
|
| 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)"}]}]}]}]}]}}
|
dev9/pg10/tpch/sf_1/explain/15721/5-1.ok
ADDED
|
File without changes
|
dev9/pg10/tpch/sf_1/explain/15721/5-1.res
ADDED
|
@@ -0,0 +1 @@
|
|
|
|
|
|
|
| 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"]}]}]}]}]}]}]}]}}
|
dev9/pg10/tpch/sf_1/explain/15721/6-1.ok
ADDED
|
File without changes
|
dev9/pg10/tpch/sf_1/explain/15721/6-1.res
ADDED
|
@@ -0,0 +1 @@
|
|
|
|
|
|
|
| 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))"}]}]}]}]}}
|
dev9/pg10/tpch/sf_1/explain/15721/7-1.ok
ADDED
|
File without changes
|
dev9/pg10/tpch/sf_1/explain/15721/7-1.res
ADDED
|
@@ -0,0 +1 @@
|
|
|
|
|
|
|
| 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))"}]}]}]}]}]}]}]}}
|
dev9/pg10/tpch/sf_1/explain/15721/8-1.ok
ADDED
|
File without changes
|
dev9/pg10/tpch/sf_1/explain/15721/8-1.res
ADDED
|
@@ -0,0 +1 @@
|
|
|
|
|
|
|
| 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"]}]}]}]}]}]}]}}
|
dev9/pg10/tpch/sf_1/explain/15721/9-1.ok
ADDED
|
File without changes
|
dev9/pg10/tpch/sf_1/explain/15721/9-1.res
ADDED
|
@@ -0,0 +1 @@
|
|
|
|
|
|
|
| 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)"}]}]}]}]}]}}
|
dev9/pg10/tpch/sf_1/explain_analyze/15721/1-1.ok
ADDED
|
File without changes
|
dev9/pg10/tpch/sf_1/explain_analyze/15721/1-1.res
ADDED
|
@@ -0,0 +1 @@
|
|
|
|
|
|
|
| 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}
|