explain.depesz.com

PostgreSQL's explain analyze made readable

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

Settings

Optimization path:

Optimization(s) for this plan:

# exclusive inclusive rows x rows loops node
1. 0.016 1.548 ↓ 4.0 4 1

Sort (cost=82.08..82.09 rows=1 width=254) (actual time=1.545..1.548 rows=4 loops=1)

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

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

3. 0.005 1.512 ↓ 4.0 4 1

Nested Loop (cost=76.07..79.43 rows=1 width=225) (actual time=1.501..1.512 rows=4 loops=1)

4. 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=67) (actual time=0.011..0.012 rows=1 loops=1)

  • Index Cond: ((juliet)::text = 'kilo_two'::text)
5. 1.132 1.495 ↓ 4.0 4 1

Bitmap Heap Scan on foxtrot_romeo four (cost=75.79..76.92 rows=1 width=174) (actual time=1.486..1.495 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
6. 0.023 0.363 ↓ 0.0 0 1

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

7. 0.120 0.120 ↑ 4.0 529 1

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

  • Index Cond: (lima_echo = romeo2.quebec_seven)
8. 0.220 0.220 ↑ 1.6 920 1

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

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

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

  • Index Cond: (romeo1.quebec_seven = sierra_foxtrot)
Planning time : 0.646 ms
Execution time : 1.607 ms