QUERY PLAN ------------------------------------------------------------------------------------------------------------------------------------------------------------------ Nested Loop Left Join (cost=2.44..17.36 rows=1 width=5532) (actual time=0.441..0.466 rows=1 loops=1) Join Filter: ("outer".parent_application_id = "inner".application_id) -> Nested Loop Left Join (cost=2.44..15.73 rows=1 width=5214) (actual time=0.378..0.402 rows=1 loops=1) -> Nested Loop (cost=2.44..9.70 rows=1 width=4878) (actual time=0.365..0.388 rows=1 loops=1) -> Hash Join (cost=2.44..3.68 rows=1 width=4228) (actual time=0.315..0.334 rows=1 loops=1) Hash Cond: ("outer".application_type_id = "inner".application_type_id) -> Seq Scan on application_types t47 (cost=0.00..1.15 rows=15 width=326) (actual time=0.037..0.051 rows=15 loops=1) -> Hash (cost=2.44..2.44 rows=1 width=3906) (actual time=0.115..0.115 rows=0 loops=1) -> Hash Join (cost=1.01..2.44 rows=1 width=3906) (actual time=0.065..0.104 rows=1 loops=1) Hash Cond: ("outer".application_id = "inner".section_id) -> Seq Scan on applications t22 (cost=0.00..1.28 rows=28 width=1370) (actual time=0.006..0.027 rows=28 loops=1) -> Hash (cost=1.01..1.01 rows=1 width=2536) (actual time=0.028..0.028 rows=0 loops=1) -> Seq Scan on content_sections t0 (cost=0.00..1.01 rows=1 width=2536) (actual time=0.018..0.020 rows=1 loops=1) -> Index Scan using acs_objects_object_id_p_hhkb1 on acs_objects t7 (cost=0.00..6.01 rows=1 width=658) (actual time=0.037..0.039 rows=1 loops=1) Index Cond: ("outer".application_id = t7.object_id) -> Index Scan using acs_objects_object_id_p_hhkb1 on acs_objects t98 (cost=0.00..6.01 rows=1 width=340) (actual time=0.001..0.001 rows=0 loops=1) Index Cond: ("outer".parent_application_id = t98.object_id) -> Seq Scan on applications t116 (cost=0.00..1.28 rows=28 width=322) (actual time=0.002..0.024 rows=28 loops=1) Total runtime: 0.775 ms (19 lignes)