explain.depesz.com

PostgreSQL's explain analyze made readable

Result: mnDu : Optimization for: Optimization for: Optimization for: Optimization for: Optimization for: plan #t2vM; plan #JWfy; plan #h6R3; plan #eolZ; plan #PUEu

Settings

Optimization path:

Optimization(s) for this plan:

# exclusive inclusive rows x rows loops node
1. 0.097 1.483 ↓ 4.0 4 1

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

2. 0.016 1.386 ↓ 4.0 4 1

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

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

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

4. 0.006 1.351 ↓ 4.0 4 1

Nested Loop (cost=76.07..79.42 rows=1 width=235) (actual time=1.338..1.351 rows=4 loops=1)

5. 0.012 0.012 ↑ 1.0 1 1

Index Scan using hotel on sierra_three foxtrot_juliet (cost=0.28..2.50 rows=1 width=85) (actual time=0.011..0.012 rows=1 loops=1)

  • Index Cond: ((juliet)::text = 'kilo'::text)
6. 1.064 1.333 ↓ 4.0 4 1

Bitmap Heap Scan on foxtrot_romeo four (cost=75.79..76.91 rows=1 width=174) (actual time=1.323..1.333 rows=4 loops=1)

  • Recheck Cond: ((lima_echo = romeo2.quebec) AND ((golf)::text = 'seven_november'::text))
  • Filter: (((NOT papa) OR (papa five NULL)) AND (NOT seven_seven) AND (mike >= romeo2.echo_six) AND ((lima_romeo)::text = ANY ('lima_five'::text[])))
  • Rows Removed by Filter: 511
  • Heap Blocks: exact=514
7. 0.024 0.269 ↓ 0.0 0 1

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

8. 0.095 0.095 ↑ 4.0 529 1

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

  • Index Cond: (lima_echo = romeo2.quebec)
9. 0.150 0.150 ↑ 1.6 920 1

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

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

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

  • Index Cond: (romeo1.quebec = sierra_foxtrot)
Planning time : 0.500 ms
Execution time : 1.545 ms