explain.depesz.com

PostgreSQL's explain analyze made readable

Result: JWfy : Optimization for: plan #t2vM

Settings

Optimization path:

Optimization(s) for this plan:

# exclusive inclusive rows x rows loops node
1. 0.071 1.132 ↓ 4.0 4 1

Result (cost=82.08..82.35 rows=1 width=249) (actual time=1.108..1.132 rows=4 loops=1)

2. 0.012 1.061 ↓ 4.0 4 1

Sort (cost=82.08..82.09 rows=1 width=264) (actual time=1.059..1.061 rows=4 loops=1)

  • Sort Key: romeo1.lima_romeo, romeo1.foxtrot_bravo DESC, romeo1.mike DESC
  • Sort Method: quicksort Memory: 26kB
3. 0.005 1.049 ↓ 4.0 4 1

Nested Loop Left Join (cost=76.49..82.07 rows=1 width=264) (actual time=1.035..1.049 rows=4 loops=1)

4. 0.004 1.036 ↓ 4.0 4 1

Nested Loop (cost=76.07..79.43 rows=1 width=235) (actual time=1.028..1.036 rows=4 loops=1)

5. 0.010 0.010 ↑ 1.0 1 1

Index Scan using hotel on sierra_three foxtrot_juliet (cost=0.28..2.50 rows=1 width=77) (actual time=0.009..0.010 rows=1 loops=1)

  • Index Cond: ((juliet)::text = 'kilo_two'::text)
6. 0.811 1.022 ↓ 4.0 4 1

Bitmap Heap Scan on foxtrot_romeo four (cost=75.79..76.92 rows=1 width=174) (actual time=1.016..1.022 rows=4 loops=1)

  • Recheck Cond: ((lima_echo = romeo2.quebec_seven) AND ((golf_echo)::text = 'seven_november'::text))
  • Filter: ((NOT seven_seven) AND ((NOT papa) OR (papa five NULL)) AND (((lima_romeo)::text = 'quebec_quebec'::text) OR ((lima_romeo)::text = 'two'::text) OR ((lima_romeo)::text = 'golf_juliet'::text) OR ((lima_romeo)::text = 'kilo_five'::text)))
  • Rows Removed by Filter: 511
  • Heap Blocks: exact=514
7. 0.018 0.211 ↓ 0.0 0 1

BitmapAnd (cost=75.79..75.79 rows=1 width=0) (actual time=0.211..0.211 rows=0 loops=1)

8. 0.078 0.078 ↑ 4.0 529 1

Bitmap Index Scan on three (cost=0.00..35.02 rows=2,118 width=0) (actual time=0.078..0.078 rows=529 loops=1)

  • Index Cond: (lima_echo = romeo2.quebec_seven)
9. 0.115 0.115 ↑ 1.6 920 1

Bitmap Index Scan on uniform (cost=0.00..40.52 rows=1,515 width=0) (actual time=0.115..0.115 rows=920 loops=1)

  • Index Cond: ((golf_echo)::text = 'seven_november'::text)
10. 0.008 0.008 ↓ 0.0 0 4

Index Scan using whiskey on echo india (cost=0.42..2.64 rows=1 width=45) (actual time=0.002..0.002 rows=0 loops=4)

  • Index Cond: (romeo1.quebec_seven = sierra_foxtrot)
Planning time : 0.371 ms
Execution time : 1.174 ms