explain.depesz.com

PostgreSQL's explain analyze made readable

Result: M4MS

Settings

Optimization(s) for this plan:

# exclusive inclusive rows x rows loops node
1. 0.001 21.189 ↓ 0.0 0 1

Result (cost=81.78..82.04 rows=1 width=249) (actual time=21.186..21.189 rows=0 loops=1)

2. 0.007 21.188 ↓ 0.0 0 1

Sort (cost=81.78..81.78 rows=1 width=264) (actual time=21.185..21.188 rows=0 loops=1)

  • Sort Key: romeo1.lima_romeo, romeo1.foxtrot_bravo DESC, romeo1.mike DESC
  • Sort Method: quicksort Memory: 25kB
3. 0.000 21.181 ↓ 0.0 0 1

Nested Loop Left Join (cost=76.19..81.77 rows=1 width=264) (actual time=21.179..21.181 rows=0 loops=1)

4. 0.003 21.181 ↓ 0.0 0 1

Nested Loop (cost=75.77..79.12 rows=1 width=235) (actual time=21.178..21.181 rows=0 loops=1)

5. 0.014 0.014 ↑ 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.012..0.014 rows=1 loops=1)

  • Index Cond: ((juliet)::text = 'foxtrot_two'::text)
6. 18.728 21.164 ↓ 0.0 0 1

Bitmap Heap Scan on foxtrot_romeo four (cost=75.48..76.61 rows=1 width=174) (actual time=21.162..21.164 rows=0 loops=1)

  • Recheck Cond: ((lima_echo = romeo2.quebec_seven) AND ((golf_echo)::text = 'delta'::text))
  • Filter: ((NOT 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'::text)))
  • Rows Removed by Filter: 6,073
  • Heap Blocks: exact=5,922
7. 0.245 2.436 ↓ 0.0 0 1

BitmapAnd (cost=75.48..75.48 rows=1 width=0) (actual time=2.434..2.436 rows=0 loops=1)

8. 0.983 0.983 ↓ 2.9 6,133 1

Bitmap Index Scan on three (cost=0.00..34.84 rows=2,094 width=0) (actual time=0.982..0.983 rows=6,133 loops=1)

  • Index Cond: (lima_echo = romeo2.quebec_seven)
9. 1.208 1.208 ↓ 4.1 6,133 1

Bitmap Index Scan on uniform (cost=0.00..40.39 rows=1,498 width=0) (actual time=1.208..1.208 rows=6,133 loops=1)

  • Index Cond: ((golf_echo)::text = 'delta'::text)
10. 0.000 0.000 ↓ 0.0 0

Index Scan using whiskey on echo india (cost=0.42..2.64 rows=1 width=45) (never executed)

  • Index Cond: (romeo1.quebec_seven = sierra_foxtrot)
Planning time : 0.492 ms
Execution time : 21.257 ms