mirror of https://github.com/citusdata/citus.git
Turn off COSTS to avoid alternative output for pg14
parent
fb8671f291
commit
dc81cae18f
|
@ -81,13 +81,11 @@ EXPLAIN (COSTS FALSE, FORMAT JSON)
|
||||||
"Node Type": "Aggregate",
|
"Node Type": "Aggregate",
|
||||||
"Strategy": "Hashed",
|
"Strategy": "Hashed",
|
||||||
"Partial Mode": "Simple",
|
"Partial Mode": "Simple",
|
||||||
"Parent Relationship": "Outer",
|
|
||||||
"Parallel Aware": false,
|
"Parallel Aware": false,
|
||||||
"Group Key": ["remote_scan.l_quantity"],
|
"Group Key": ["remote_scan.l_quantity"],
|
||||||
"Plans": [
|
"Plans": [
|
||||||
{
|
{
|
||||||
"Node Type": "Custom Scan",
|
"Node Type": "Custom Scan",
|
||||||
"Parent Relationship": "Outer",
|
|
||||||
"Custom Plan Provider": "Citus Adaptive",
|
"Custom Plan Provider": "Citus Adaptive",
|
||||||
"Parallel Aware": false,
|
"Parallel Aware": false,
|
||||||
"Distributed Query": {
|
"Distributed Query": {
|
||||||
|
@ -109,7 +107,6 @@ EXPLAIN (COSTS FALSE, FORMAT JSON)
|
||||||
"Plans": [
|
"Plans": [
|
||||||
{
|
{
|
||||||
"Node Type": "Seq Scan",
|
"Node Type": "Seq Scan",
|
||||||
"Parent Relationship": "Outer",
|
|
||||||
"Parallel Aware": false,
|
"Parallel Aware": false,
|
||||||
"Relation Name": "lineitem_290000",
|
"Relation Name": "lineitem_290000",
|
||||||
"Alias": "lineitem"
|
"Alias": "lineitem"
|
||||||
|
@ -154,7 +151,6 @@ EXPLAIN (COSTS FALSE, FORMAT XML)
|
||||||
<Node-Type>Aggregate</Node-Type>
|
<Node-Type>Aggregate</Node-Type>
|
||||||
<Strategy>Hashed</Strategy>
|
<Strategy>Hashed</Strategy>
|
||||||
<Partial-Mode>Simple</Partial-Mode>
|
<Partial-Mode>Simple</Partial-Mode>
|
||||||
<Parent-Relationship>Outer</Parent-Relationship>
|
|
||||||
<Parallel-Aware>false</Parallel-Aware>
|
<Parallel-Aware>false</Parallel-Aware>
|
||||||
<Group-Key>
|
<Group-Key>
|
||||||
<Item>remote_scan.l_quantity</Item>
|
<Item>remote_scan.l_quantity</Item>
|
||||||
|
@ -162,7 +158,6 @@ EXPLAIN (COSTS FALSE, FORMAT XML)
|
||||||
<Plans>
|
<Plans>
|
||||||
<Plan>
|
<Plan>
|
||||||
<Node-Type>Custom Scan</Node-Type>
|
<Node-Type>Custom Scan</Node-Type>
|
||||||
<Parent-Relationship>Outer</Parent-Relationship>
|
|
||||||
<Custom-Plan-Provider>Citus Adaptive</Custom-Plan-Provider>
|
<Custom-Plan-Provider>Citus Adaptive</Custom-Plan-Provider>
|
||||||
<Parallel-Aware>false</Parallel-Aware>
|
<Parallel-Aware>false</Parallel-Aware>
|
||||||
<Distributed-Query>
|
<Distributed-Query>
|
||||||
|
@ -186,7 +181,6 @@ EXPLAIN (COSTS FALSE, FORMAT XML)
|
||||||
<Plans>
|
<Plans>
|
||||||
<Plan>
|
<Plan>
|
||||||
<Node-Type>Seq Scan</Node-Type>
|
<Node-Type>Seq Scan</Node-Type>
|
||||||
<Parent-Relationship>Outer</Parent-Relationship>
|
|
||||||
<Parallel-Aware>false</Parallel-Aware>
|
<Parallel-Aware>false</Parallel-Aware>
|
||||||
<Relation-Name>lineitem_290000</Relation-Name>
|
<Relation-Name>lineitem_290000</Relation-Name>
|
||||||
<Alias>lineitem</Alias>
|
<Alias>lineitem</Alias>
|
||||||
|
@ -226,13 +220,11 @@ EXPLAIN (COSTS FALSE, FORMAT YAML)
|
||||||
- Node Type: "Aggregate"
|
- Node Type: "Aggregate"
|
||||||
Strategy: "Hashed"
|
Strategy: "Hashed"
|
||||||
Partial Mode: "Simple"
|
Partial Mode: "Simple"
|
||||||
Parent Relationship: "Outer"
|
|
||||||
Parallel Aware: false
|
Parallel Aware: false
|
||||||
Group Key:
|
Group Key:
|
||||||
- "remote_scan.l_quantity"
|
- "remote_scan.l_quantity"
|
||||||
Plans:
|
Plans:
|
||||||
- Node Type: "Custom Scan"
|
- Node Type: "Custom Scan"
|
||||||
Parent Relationship: "Outer"
|
|
||||||
Custom Plan Provider: "Citus Adaptive"
|
Custom Plan Provider: "Citus Adaptive"
|
||||||
Parallel Aware: false
|
Parallel Aware: false
|
||||||
Distributed Query:
|
Distributed Query:
|
||||||
|
@ -251,7 +243,6 @@ EXPLAIN (COSTS FALSE, FORMAT YAML)
|
||||||
- "l_quantity"
|
- "l_quantity"
|
||||||
Plans:
|
Plans:
|
||||||
- Node Type: "Seq Scan"
|
- Node Type: "Seq Scan"
|
||||||
Parent Relationship: "Outer"
|
|
||||||
Parallel Aware: false
|
Parallel Aware: false
|
||||||
Relation Name: "lineitem_290000"
|
Relation Name: "lineitem_290000"
|
||||||
Alias: "lineitem"
|
Alias: "lineitem"
|
||||||
|
@ -1093,7 +1084,6 @@ EXPLAIN (COSTS FALSE, FORMAT JSON)
|
||||||
"Plans": [
|
"Plans": [
|
||||||
{
|
{
|
||||||
"Node Type": "Custom Scan",
|
"Node Type": "Custom Scan",
|
||||||
"Parent Relationship": "Outer",
|
|
||||||
"Custom Plan Provider": "Citus Adaptive",
|
"Custom Plan Provider": "Citus Adaptive",
|
||||||
"Parallel Aware": false,
|
"Parallel Aware": false,
|
||||||
"Distributed Query": {
|
"Distributed Query": {
|
||||||
|
@ -1142,7 +1132,6 @@ EXPLAIN (COSTS FALSE, FORMAT XML)
|
||||||
<Plans>
|
<Plans>
|
||||||
<Plan>
|
<Plan>
|
||||||
<Node-Type>Custom Scan</Node-Type>
|
<Node-Type>Custom Scan</Node-Type>
|
||||||
<Parent-Relationship>Outer</Parent-Relationship>
|
|
||||||
<Custom-Plan-Provider>Citus Adaptive</Custom-Plan-Provider>
|
<Custom-Plan-Provider>Citus Adaptive</Custom-Plan-Provider>
|
||||||
<Parallel-Aware>false</Parallel-Aware>
|
<Parallel-Aware>false</Parallel-Aware>
|
||||||
<Distributed-Query>
|
<Distributed-Query>
|
||||||
|
@ -1201,7 +1190,6 @@ EXPLAIN (COSTS FALSE, FORMAT YAML)
|
||||||
Parallel Aware: false
|
Parallel Aware: false
|
||||||
Plans:
|
Plans:
|
||||||
- Node Type: "Custom Scan"
|
- Node Type: "Custom Scan"
|
||||||
Parent Relationship: "Outer"
|
|
||||||
Custom Plan Provider: "Citus Adaptive"
|
Custom Plan Provider: "Citus Adaptive"
|
||||||
Parallel Aware: false
|
Parallel Aware: false
|
||||||
Distributed Query:
|
Distributed Query:
|
||||||
|
@ -1284,14 +1272,14 @@ Custom Scan (Citus Adaptive) (actual rows=3 loops=1)
|
||||||
\set VERBOSITY TERSE
|
\set VERBOSITY TERSE
|
||||||
PREPARE multi_shard_query_param(int) AS UPDATE lineitem SET l_quantity = $1;
|
PREPARE multi_shard_query_param(int) AS UPDATE lineitem SET l_quantity = $1;
|
||||||
BEGIN;
|
BEGIN;
|
||||||
EXPLAIN EXECUTE multi_shard_query_param(5);
|
EXPLAIN (COSTS OFF) EXECUTE multi_shard_query_param(5);
|
||||||
Custom Scan (Citus Adaptive) (cost=0.00..0.00 rows=0 width=0)
|
Custom Scan (Citus Adaptive)
|
||||||
Task Count: 2
|
Task Count: 2
|
||||||
Tasks Shown: One of 2
|
Tasks Shown: One of 2
|
||||||
-> Task
|
-> Task
|
||||||
Node: host=localhost port=xxxxx dbname=regression
|
Node: host=localhost port=xxxxx dbname=regression
|
||||||
-> Update on lineitem_290000 lineitem (cost=0.00..176.00 rows=6000 width=140)
|
-> Update on lineitem_290000 lineitem
|
||||||
-> Seq Scan on lineitem_290000 lineitem (cost=0.00..176.00 rows=6000 width=140)
|
-> Seq Scan on lineitem_290000 lineitem
|
||||||
ROLLBACK;
|
ROLLBACK;
|
||||||
BEGIN;
|
BEGIN;
|
||||||
EXPLAIN (ANALYZE ON, COSTS OFF, TIMING OFF, SUMMARY OFF) EXECUTE multi_shard_query_param(5);
|
EXPLAIN (ANALYZE ON, COSTS OFF, TIMING OFF, SUMMARY OFF) EXECUTE multi_shard_query_param(5);
|
||||||
|
@ -2078,7 +2066,6 @@ EXPLAIN (COSTS off, ANALYZE on, TIMING off, SUMMARY off, FORMAT JSON) INSERT INT
|
||||||
"Plans": [
|
"Plans": [
|
||||||
{
|
{
|
||||||
"Node Type": "Result",
|
"Node Type": "Result",
|
||||||
"Parent Relationship": "Member",
|
|
||||||
"Parallel Aware": false,
|
"Parallel Aware": false,
|
||||||
"Actual Rows": 1,
|
"Actual Rows": 1,
|
||||||
"Actual Loops": 1
|
"Actual Loops": 1
|
||||||
|
@ -2176,7 +2163,6 @@ EXPLAIN (COSTS off, ANALYZE on, TIMING off, SUMMARY off, FORMAT XML) INSERT INTO
|
||||||
<Plans>
|
<Plans>
|
||||||
<Plan>
|
<Plan>
|
||||||
<Node-Type>Result</Node-Type>
|
<Node-Type>Result</Node-Type>
|
||||||
<Parent-Relationship>Member</Parent-Relationship>
|
|
||||||
<Parallel-Aware>false</Parallel-Aware>
|
<Parallel-Aware>false</Parallel-Aware>
|
||||||
<Actual-Rows>1</Actual-Rows>
|
<Actual-Rows>1</Actual-Rows>
|
||||||
<Actual-Loops>1</Actual-Loops>
|
<Actual-Loops>1</Actual-Loops>
|
||||||
|
@ -2784,14 +2770,14 @@ Custom Scan (Citus Adaptive) (actual rows=0 loops=1)
|
||||||
deallocate update_query;
|
deallocate update_query;
|
||||||
-- prepared deletes
|
-- prepared deletes
|
||||||
PREPARE delete_query AS DELETE FROM simple WHERE name=$1 OR name=$2;
|
PREPARE delete_query AS DELETE FROM simple WHERE name=$1 OR name=$2;
|
||||||
EXPLAIN EXECUTE delete_query('x', 'y');
|
EXPLAIN (COSTS OFF) EXECUTE delete_query('x', 'y');
|
||||||
Custom Scan (Citus Adaptive) (cost=0.00..0.00 rows=0 width=0)
|
Custom Scan (Citus Adaptive)
|
||||||
Task Count: 2
|
Task Count: 2
|
||||||
Tasks Shown: One of 2
|
Tasks Shown: One of 2
|
||||||
-> Task
|
-> Task
|
||||||
Node: host=localhost port=xxxxx dbname=regression
|
Node: host=localhost port=xxxxx dbname=regression
|
||||||
-> Delete on simple_570026 simple (cost=0.00..29.05 rows=13 width=6)
|
-> Delete on simple_570026 simple
|
||||||
-> Seq Scan on simple_570026 simple (cost=0.00..29.05 rows=13 width=6)
|
-> Seq Scan on simple_570026 simple
|
||||||
Filter: ((name = 'x'::text) OR (name = 'y'::text))
|
Filter: ((name = 'x'::text) OR (name = 'y'::text))
|
||||||
EXPLAIN :default_analyze_flags EXECUTE delete_query('x', 'y');
|
EXPLAIN :default_analyze_flags EXECUTE delete_query('x', 'y');
|
||||||
Custom Scan (Citus Adaptive) (actual rows=0 loops=1)
|
Custom Scan (Citus Adaptive) (actual rows=0 loops=1)
|
||||||
|
|
|
@ -539,7 +539,7 @@ EXPLAIN (ANALYZE ON, COSTS OFF, TIMING OFF, SUMMARY OFF) EXECUTE router_executor
|
||||||
\set VERBOSITY TERSE
|
\set VERBOSITY TERSE
|
||||||
PREPARE multi_shard_query_param(int) AS UPDATE lineitem SET l_quantity = $1;
|
PREPARE multi_shard_query_param(int) AS UPDATE lineitem SET l_quantity = $1;
|
||||||
BEGIN;
|
BEGIN;
|
||||||
EXPLAIN EXECUTE multi_shard_query_param(5);
|
EXPLAIN (COSTS OFF) EXECUTE multi_shard_query_param(5);
|
||||||
ROLLBACK;
|
ROLLBACK;
|
||||||
BEGIN;
|
BEGIN;
|
||||||
EXPLAIN (ANALYZE ON, COSTS OFF, TIMING OFF, SUMMARY OFF) EXECUTE multi_shard_query_param(5);
|
EXPLAIN (ANALYZE ON, COSTS OFF, TIMING OFF, SUMMARY OFF) EXECUTE multi_shard_query_param(5);
|
||||||
|
@ -990,7 +990,7 @@ deallocate update_query;
|
||||||
|
|
||||||
-- prepared deletes
|
-- prepared deletes
|
||||||
PREPARE delete_query AS DELETE FROM simple WHERE name=$1 OR name=$2;
|
PREPARE delete_query AS DELETE FROM simple WHERE name=$1 OR name=$2;
|
||||||
EXPLAIN EXECUTE delete_query('x', 'y');
|
EXPLAIN (COSTS OFF) EXECUTE delete_query('x', 'y');
|
||||||
EXPLAIN :default_analyze_flags EXECUTE delete_query('x', 'y');
|
EXPLAIN :default_analyze_flags EXECUTE delete_query('x', 'y');
|
||||||
deallocate delete_query;
|
deallocate delete_query;
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue