explain.depesz.com

PostgreSQL's explain analyze made readable

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

Settings

Optimization path:

Optimization(s) for this plan:

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

Limit (cost=7,427.03..7,427.17 rows=57 width=1,425) (actual time=23.225..23.238 rows=41 loops=1)

2. 0.076 23.233 ↑ 1.4 41 1

Sort (cost=7,427.03..7,427.17 rows=57 width=1,425) (actual time=23.225..23.233 rows=41 loops=1)

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

Nested Loop (cost=1.12..7,425.36 rows=57 width=1,425) (actual time=0.189..23.157 rows=41 loops=1)

4. 0.105 0.105 ↑ 1.0 1 1

Seq Scan on echo mike_quebec (cost=0.00..73.96 rows=1 width=664) (actual time=0.099..0.105 rows=1 loops=1)

  • Filter: (quebec_seven = 81)
  • Rows Removed by Filter: 396
5. 0.037 23.032 ↑ 1.4 41 1

Nested Loop (cost=1.12..7,350.83 rows=57 width=753) (actual time=0.088..23.032 rows=41 loops=1)

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

Nested Loop (cost=1.12..7,339.22 rows=57 width=705) (actual time=0.083..22.995 rows=41 loops=1)

7. 0.014 22.864 ↑ 1.4 41 1

Nested Loop (cost=0.84..7,240.72 rows=57 width=580) (actual time=0.078..22.864 rows=41 loops=1)

8. 22.727 22.727 ↑ 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.071..22.727 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,996
9. 0.123 0.123 ↑ 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.003..0.003 rows=1 loops=41)

  • Index Cond: (quebec_seven = lima_delta1.lima_echo)
10. 0.082 0.082 ↑ 1.0 1 41

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

  • Index Cond: (quebec_seven = lima_delta1.two)
11. 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)

12. 0.003 0.003 ↑ 4.3 3 1

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

Planning time : 1.005 ms
Execution time : 23.372 ms