explain.depesz.com

PostgreSQL's explain analyze made readable

Result: 1cmJ : Optimization for: Optimization for: Optimization for: Optimization for: Optimization for: plan #XHT8; plan #VT6p; plan #3B7m; plan #i57iN; plan #kmS

Settings

Optimization path:

Optimization(s) for this plan:

# exclusive inclusive rows x rows loops node
1. 0.005 24.380 ↑ 1.4 41 1

Limit (cost=7,355.84..7,355.98 rows=57 width=1,425) (actual time=24.364..24.380 rows=41 loops=1)

2. 0.110 24.375 ↑ 1.4 41 1

Sort (cost=7,355.84..7,355.98 rows=57 width=1,425) (actual time=24.364..24.375 rows=41 loops=1)

  • Sort Key: lima_delta1.quebec_seven
  • Sort Method: quicksort Memory: 189kB
3. 0.048 24.265 ↑ 1.4 41 1

Nested Loop Left Join (cost=1.40..7,354.18 rows=57 width=1,425) (actual time=0.121..24.265 rows=41 loops=1)

4. 0.035 24.053 ↑ 1.4 41 1

Nested Loop Left Join (cost=1.11..7,238.08 rows=57 width=1,132) (actual time=0.113..24.053 rows=41 loops=1)

5. 0.055 23.854 ↑ 1.4 41 1

Nested Loop Left Join (cost=0.83..7,139.58 rows=57 width=1,007) (actual time=0.105..23.854 rows=41 loops=1)

  • Join Filter: (lima_delta1.four_sierra = romeo1.quebec_seven)
  • Rows Removed by Join Filter: 82
6. 0.052 23.799 ↑ 1.4 41 1

Nested Loop Left Join (cost=0.83..7,127.97 rows=57 width=959) (actual time=0.096..23.799 rows=41 loops=1)

  • Join Filter: (lima_delta1.juliet = uniform_delta1.quebec_seven)
7. 23.747 23.747 ↑ 1.4 41 1

Index Scan using papa_yankee on foxtrot quebec_sierra (cost=0.56..7,124.62 rows=57 width=295) (actual time=0.085..23.747 rows=41 loops=1)

  • Index Cond: ((lima_romeo)::text = 'quebec_quebec'::text)
  • Filter: (((NOT papa_bravo) OR (papa_bravo five NULL)) AND (mike_seven >= 'golf_xray'::timestamp without time zone) AND (juliet = 81))
  • Rows Removed by Filter: 26,995
8. 0.000 0.000 ↑ 1.0 1 41

Materialize (cost=0.27..2.50 rows=1 width=664) (actual time=0.000..0.000 rows=1 loops=41)

9. 0.007 0.007 ↑ 1.0 1 1

Index Scan using two_delta on echo mike_quebec (cost=0.27..2.49 rows=1 width=664) (actual time=0.007..0.007 rows=1 loops=1)

  • Index Cond: (quebec_seven = 81)
10. 0.000 0.000 ↑ 4.3 3 41

Materialize (cost=0.00..1.19 rows=13 width=48) (actual time=0.000..0.000 rows=3 loops=41)

11. 0.007 0.007 ↑ 4.3 3 1

Seq Scan on tango four_uniform (cost=0.00..1.13 rows=13 width=48) (actual time=0.006..0.007 rows=3 loops=1)

12. 0.164 0.164 ↑ 1.0 1 41

Index Scan using kilo on golf_five uniform_romeo (cost=0.28..1.73 rows=1 width=125) (actual time=0.004..0.004 rows=1 loops=41)

  • Index Cond: (lima_delta1.two_romeo = quebec_seven)
13. 0.164 0.164 ↑ 1.0 1 41

Index Scan using sierra_delta on sierra_three whiskey (cost=0.28..2.04 rows=1 width=285) (actual time=0.004..0.004 rows=1 loops=41)

  • Index Cond: (lima_delta1.lima_echo = quebec_seven)
Planning time : 1.427 ms
Execution time : 24.602 ms