|
3 | 3 | Hash Left Join |
4 | 4 | Hash Cond: ((timeline_establishment.unit_type = tpa.unit_type) AND (timeline_establishment.unit_id = tpa.unit_id)) |
5 | 5 | CTE external_idents_agg |
6 | | - -> HashAggregate |
| 6 | + -> GroupAggregate |
7 | 7 | Group Key: ('establishment'::statistical_unit_type), ei.establishment_id |
8 | | - -> Append |
9 | | - -> Hash Join |
10 | | - Hash Cond: (eit.id = ei.type_id) |
11 | | - -> Seq Scan on external_ident_type eit |
12 | | - -> Hash |
| 8 | + -> Sort |
| 9 | + Sort Key: ('establishment'::statistical_unit_type), ei.establishment_id |
| 10 | + -> Append |
| 11 | + -> Nested Loop |
13 | 12 | -> Seq Scan on external_ident ei |
14 | 13 | Filter: (establishment_id IS NOT NULL) |
15 | | - -> Hash Join |
16 | | - Hash Cond: (eit_1.id = ei_1.type_id) |
17 | | - -> Seq Scan on external_ident_type eit_1 |
18 | | - -> Hash |
| 14 | + -> Index Scan using external_ident_type_pkey on external_ident_type eit |
| 15 | + Index Cond: (id = ei.type_id) |
| 16 | + -> Nested Loop |
19 | 17 | -> Seq Scan on external_ident ei_1 |
20 | 18 | Filter: (legal_unit_id IS NOT NULL) |
21 | | - -> Hash Join |
22 | | - Hash Cond: (eit_2.id = ei_2.type_id) |
23 | | - -> Seq Scan on external_ident_type eit_2 |
24 | | - -> Hash |
| 19 | + -> Index Scan using external_ident_type_pkey on external_ident_type eit_1 |
| 20 | + Index Cond: (id = ei_1.type_id) |
| 21 | + -> Nested Loop |
25 | 22 | -> Seq Scan on external_ident ei_2 |
26 | 23 | Filter: (enterprise_id IS NOT NULL) |
27 | | - -> Hash Join |
28 | | - Hash Cond: (eit_3.id = ei_3.type_id) |
29 | | - -> Seq Scan on external_ident_type eit_3 |
30 | | - -> Hash |
| 24 | + -> Index Scan using external_ident_type_pkey on external_ident_type eit_2 |
| 25 | + Index Cond: (id = ei_2.type_id) |
| 26 | + -> Nested Loop |
31 | 27 | -> Seq Scan on external_ident ei_3 |
32 | 28 | Filter: (enterprise_group_id IS NOT NULL) |
| 29 | + -> Index Scan using external_ident_type_pkey on external_ident_type eit_3 |
| 30 | + Index Cond: (id = ei_3.type_id) |
33 | 31 | -> Hash Left Join |
34 | 32 | Hash Cond: ((NULL::integer) = eia3.unit_id) |
35 | 33 | -> Hash Left Join |
|
80 | 78 | Filter: (enterprise_group_id IS NOT NULL) |
81 | 79 | -> Hash |
82 | 80 | -> Seq Scan on tag t_3 |
83 | | -(80 rows) |
| 81 | +(78 rows) |
84 | 82 |
|
0 commit comments