@@ -888,23 +888,26 @@ insert into from_table select i*1.5,i*2,i*3,'xx'||i,'yy'||i, i+1 from generate_s
888
888
explain (costs off)
889
889
update into_table set d=from_table.d, e=from_table.e, f=from_table.f from from_table
890
890
where into_table.a=from_table.a and into_table.b=from_table.b and into_table.c=from_table.c;
891
- QUERY PLAN
892
- ------------------------------------------------------------------------------------------------------------------------------------------------
891
+ QUERY PLAN
892
+ ------------------------------------------------------------------------------------------------------------------------
893
893
Update on into_table
894
- -> Result
895
- -> Redistribute Motion 3:3 (slice1; segments: 3)
896
- Hash Key: into_table_1.a, into_table_1.b, into_table_1.c
897
- -> Split
898
- -> Hash Join
899
- Hash Cond: ((into_table_1.a = from_table.a) AND (into_table_1.b = from_table.b) AND (into_table_1.c = from_table.c))
900
- -> Redistribute Motion 3:3 (slice2; segments: 3)
901
- Hash Key: into_table_1.a
902
- -> Dynamic Seq Scan on into_table into_table_1
903
- Number of partitions to scan: 4 (out of 4)
904
- -> Hash
905
- -> Seq Scan on from_table
906
- Optimizer: Pivotal Optimizer (GPORCA)
907
- (14 rows)
894
+ Update on into_table_1_prt_1 into_table_1
895
+ Update on into_table_1_prt_2 into_table_2
896
+ Update on into_table_1_prt_3 into_table_3
897
+ Update on into_table_1_prt_4 into_table_4
898
+ -> Hash Join
899
+ Hash Cond: ((into_table.a = from_table.a) AND (into_table.b = from_table.b) AND (into_table.c = from_table.c))
900
+ -> Append
901
+ -> Seq Scan on into_table_1_prt_1 into_table_1
902
+ -> Seq Scan on into_table_1_prt_2 into_table_2
903
+ -> Seq Scan on into_table_1_prt_3 into_table_3
904
+ -> Seq Scan on into_table_1_prt_4 into_table_4
905
+ -> Hash
906
+ -> Redistribute Motion 3:3 (slice1; segments: 3)
907
+ Hash Key: from_table.a, from_table.b, from_table.c
908
+ -> Seq Scan on from_table
909
+ Optimizer: Postgres query optimizer
910
+ (17 rows)
908
911
909
912
update into_table set d=from_table.d, e=from_table.e, f=from_table.f from from_table
910
913
where into_table.a=from_table.a and into_table.b=from_table.b and into_table.c=from_table.c;
0 commit comments