explain.depesz.com

PostgreSQL's explain analyze made readable

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

Settings

Optimization path:

Optimization(s) for this plan:

# exclusive inclusive rows x rows loops node
1. 0.012 1.071 ↓ 4.0 4 1

Sort (cost=82.08..82.08 rows=1 width=254) (actual time=1.069..1.071 rows=4 loops=1)

  • Sort Key: romeo1.lima_romeo, romeo1.foxtrot_bravo DESC, romeo1.mike DESC
  • Sort Method: quicksort Memory: 26kB
2. 0.006 1.059 ↓ 4.0 4 1

Nested Loop Left Join (cost=76.49..82.07 rows=1 width=254) (actual time=1.045..1.059 rows=4 loops=1)

3. 0.003 1.045 ↓ 4.0 4 1

Nested Loop (cost=76.07..79.42 rows=1 width=225) (actual time=1.037..1.045 rows=4 loops=1)

4. 0.009 0.009 ↑ 1.0 1 1

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

  • Index Cond: ((juliet)::text = 'kilo'::text)
5. 0.823 1.033 ↓ 4.0 4 1

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

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

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

7. 0.079 0.079 ↑ 4.0 529 1

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

  • Index Cond: (lima_echo = romeo2.quebec)
8. 0.111 0.111 ↑ 1.6 920 1

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

  • Index Cond: ((golf)::text = 'seven_november'::text)
9. 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 = sierra_foxtrot)
Planning time : 0.358 ms
Execution time : 1.106 ms