SET QUERY PLAN ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- Merge Left Join (cost=17.48..18.03 rows=1 width=545) (actual time=0.653..0.656 rows=1 loops=1) Merge Cond: ("outer".parent_application_id = "inner".application_id) -> Merge Left Join (cost=17.48..17.81 rows=1 width=529) (actual time=0.616..0.618 rows=1 loops=1) Merge Cond: ("outer".parent_application_id = "inner".object_id) -> Sort (cost=17.48..17.49 rows=1 width=452) (actual time=0.587..0.588 rows=1 loops=1) Sort Key: t22.parent_application_id -> Nested Loop (cost=4.68..17.47 rows=1 width=452) (actual time=0.424..0.484 rows=1 loops=1) -> Nested Loop (cost=4.68..13.37 rows=1 width=428) (actual time=0.236..0.293 rows=1 loops=1) -> Hash Join (cost=4.68..8.14 rows=1 width=315) (actual time=0.176..0.229 rows=1 loops=1) Hash Cond: ("outer".application_id = "inner".section_id) -> Index Scan using applicati_parent_app_id_idx on applications t22 (cost=0.00..3.31 rows=28 width=70) (actual time=0.029..0.074 rows=28 loops=1) -> Hash (cost=4.68..4.68 rows=1 width=245) (actual time=0.045..0.045 rows=0 loops=1) -> Index Scan using content_sections_pk on content_sections t0 (cost=0.00..4.68 rows=1 width=245) (actual time=0.039..0.042 rows=1 loops=1) -> Index Scan using acs_objects_object_id_p_hhkb1 on acs_objects t7 (cost=0.00..5.22 rows=1 width=121) (actual time=0.049..0.050 rows=1 loops=1) Index Cond: ("outer".application_id = t7.object_id) -> Index Scan using appli_typ_appli_typ_id_p_r5e8o on application_types t47 (cost=0.00..4.09 rows=1 width=28) (actual time=0.175..0.177 rows=1 loops=1) Index Cond: ("outer".application_type_id = t47.application_type_id) -> Index Scan using acs_objects_object_id_p_hhkb1 on acs_objects t98 (cost=0.00..2554.07 rows=33510 width=81) (actual time=0.009..0.009 rows=1 loops=1) -> Index Scan using applicati_applicati_id_p_ogstm on applications t116 (cost=0.00..5.51 rows=28 width=20) (actual time=0.020..0.020 rows=1 loops=1) Total runtime: 1.001 ms (20 lignes)