citus/src/backend/distributed/executor
Jelte Fennema 0259815d3a
Fix EXPLAIN ANALYZE received data counter issues (#3917)
In #3901 the "Data received from worker(s)" sections were added to EXPLAIN
ANALYZE. After merging @pykello posted some review comments. This addresses
those comments as well as fixing a other issues that I found while addressing 
them. The things this does:

1. Fix `EXPLAIN ANALYZE EXECUTE p1` to not increase received data on every
   execution
2. Fix `EXPLAIN ANALYZE EXECUTE p1(1)` to not return 0 bytes as received data
   allways.
3. Move `EXPLAIN ANALYZE` specific logic to `multi_explain.c` from
   `adaptive_executor.c`
4. Change naming of new explain sections to `Tuple data received from node(s)`.
   Firstly because a task can reference the coordinator too, so "worker(s)" was
   incorrect. Secondly to indicate that this is tuple data and not all network
   traffic that was performed.
5. Rename `totalReceivedData` in our codebase to `totalReceivedTupleData` to
   make it clearer that it's a tuple data counter, not all network traffic.
6. Actually add `binary_protocol` test to `multi_schedule` (woops)
7. Fix a randomly failing test in `local_shard_execution.sql`.
2020-06-17 11:33:38 +02:00
..
adaptive_executor.c Fix EXPLAIN ANALYZE received data counter issues (#3917) 2020-06-17 11:33:38 +02:00
citus_custom_scan.c Rename FindRouterWorkerList to CreateTaskPlacementListForShardIntervals 2020-06-12 18:36:01 -07:00
directed_acyclic_graph_execution.c Replace foreach with foreach_ptr/foreach_oid (#3544) 2020-02-27 16:54:49 +01:00
distributed_execution_locks.c This prepares for routing modifying CTEs, where modLevel should not be used to infer whether a plan is a select or not 2020-05-20 17:26:12 +00:00
distributed_intermediate_results.c Remove master from file hierarchy 2020-06-16 17:49:09 +02:00
insert_select_executor.c Defer freeing CitusTableCacheEntry, as there were memory safety issues before 2020-06-15 16:20:50 +00:00
intermediate_results.c Remove master from file hierarchy 2020-06-16 17:49:09 +02:00
local_executor.c Remove master from file hierarchy 2020-06-16 17:49:09 +02:00
multi_client_executor.c Add some asserts to pass static analysis (#3805) 2020-04-29 11:19:11 +02:00
multi_executor.c Remove master from file hierarchy 2020-06-16 17:49:09 +02:00
multi_server_executor.c Remove master from file hierarchy 2020-06-16 17:49:09 +02:00
multi_task_tracker_executor.c This prepares for routing modifying CTEs, where modLevel should not be used to infer whether a plan is a select or not 2020-05-20 17:26:12 +00:00
partitioned_intermediate_results.c Remove master from file hierarchy 2020-06-16 17:49:09 +02:00
placement_access.c Replace foreach with foreach_ptr/foreach_oid (#3544) 2020-02-27 16:54:49 +01:00
query_stats.c Remove real time router executors (#3142) 2019-11-05 12:48:10 +01:00
repartition_join_execution.c use an enum for local execution status (#3733) 2020-04-09 19:11:04 +03:00
subplan_execution.c CTE statistics in EXPLAIN ANALYZE 2020-06-11 02:39:59 -07:00
tuple_destination.c Fix EXPLAIN ANALYZE received data counter issues (#3917) 2020-06-17 11:33:38 +02:00