explain.depesz.com

PostgreSQL's explain analyze made readable

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

Settings

Optimization path:

Optimization(s) for this plan:

# exclusive inclusive rows x rows loops node
1. 0.004 24.850 ↑ 1.4 41 1

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

2. 0.076 24.846 ↑ 1.4 41 1

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

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

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

4. 0.021 24.640 ↑ 1.4 41 1

Nested Loop (cost=0.84..7,309.26 rows=57 width=1,132) (actual time=0.187..24.640 rows=41 loops=1)

5. 0.039 24.496 ↑ 1.4 41 1

Nested Loop (cost=0.56..7,210.76 rows=57 width=1,007) (actual time=0.181..24.496 rows=41 loops=1)

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

Nested Loop (cost=0.56..7,199.15 rows=57 width=959) (actual time=0.175..24.457 rows=41 loops=1)

7. 0.109 0.109 ↑ 1.0 1 1

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

  • Filter: (quebec_seven = 81)
  • Rows Removed by Filter: 396
8. 24.331 24.331 ↑ 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..24.331 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: 27,000
9. 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)

10. 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.003..0.003 rows=3 loops=1)

11. 0.123 0.123 ↑ 1.0 1 41

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

  • Index Cond: (quebec_seven = lima_delta1.two)
12. 0.082 0.082 ↑ 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.002..0.002 rows=1 loops=41)

  • Index Cond: (quebec_seven = lima_delta1.lima_echo)
Planning time : 0.963 ms
Execution time : 24.995 ms