explain.depesz.com

PostgreSQL's explain analyze made readable

Result: y4xt : Optimization for: Optimization for: 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; plan #KqxH; plan #FpgV

Settings

Optimization path:

Optimization(s) for this plan:

# exclusive inclusive rows x rows loops node
1. 0.004 31.356 ↑ 1.3 43 1

Limit (cost=7,665.51..7,665.66 rows=58 width=2,924) (actual time=31.341..31.356 rows=43 loops=1)

2. 0.127 31.352 ↑ 1.3 43 1

Sort (cost=7,665.51..7,665.66 rows=58 width=2,924) (actual time=31.340..31.352 rows=43 loops=1)

  • Sort Key: lima_delta1.quebec_seven
  • Sort Method: quicksort Memory: 197kB
3. 0.055 31.225 ↑ 1.3 43 1

Nested Loop (cost=1.83..7,663.81 rows=58 width=2,924) (actual time=0.233..31.225 rows=43 loops=1)

4. 0.051 30.998 ↑ 1.3 43 1

Nested Loop Left Join (cost=1.40..7,512.19 rows=57 width=2,860) (actual time=0.224..30.998 rows=43 loops=1)

5. 0.028 30.904 ↑ 1.3 43 1

Nested Loop (cost=1.12..7,425.36 rows=57 width=1,417) (actual time=0.217..30.904 rows=43 loops=1)

6. 0.164 0.164 ↑ 1.0 1 1

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

  • Filter: (quebec_seven = 81)
  • Rows Removed by Filter: 396
7. 0.061 30.712 ↑ 1.3 43 1

Nested Loop (cost=1.12..7,350.83 rows=57 width=753) (actual time=0.056..30.712 rows=43 loops=1)

  • Join Filter: (lima_delta1.four_sierra = romeo_three1.quebec_seven)
  • Rows Removed by Join Filter: 82
8. 0.058 30.651 ↑ 1.3 43 1

Nested Loop (cost=1.12..7,339.22 rows=57 width=705) (actual time=0.048..30.651 rows=43 loops=1)

9. 0.069 30.464 ↑ 1.3 43 1

Nested Loop (cost=0.84..7,240.72 rows=57 width=580) (actual time=0.040..30.464 rows=43 loops=1)

10. 30.266 30.266 ↑ 1.3 43 1

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

  • Index Cond: ((lima_romeo)::text = 'quebec_quebec'::text)
  • Filter: (((NOT papa_bravo) OR (papa_bravo five_romeo NULL)) AND (mike_seven >= 'golf_xray'::timestamp without time zone) AND (juliet_hotel = 81))
  • Rows Removed by Filter: 26,990
11. 0.129 0.129 ↑ 1.0 1 43

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=43)

  • Index Cond: (quebec_seven = lima_delta1.lima_echo)
12. 0.129 0.129 ↑ 1.0 1 43

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

  • Index Cond: (quebec_seven = lima_delta1.two)
13. 0.000 0.000 ↑ 4.3 3 43

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

14. 0.005 0.005 ↑ 4.3 3 1

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

15. 0.043 0.043 ↓ 0.0 0 43

Index Scan using five_oscar on juliet_november romeo_kilo (cost=0.28..1.51 rows=1 width=1,443) (actual time=0.001..0.001 rows=0 loops=43)

  • Index Cond: (lima_delta1.quebec_seven = sierra_foxtrot)
16. 0.172 0.172 ↑ 1.0 1 43

Index Scan using charlie on uniform_kilo victor (cost=0.43..2.65 rows=1 width=56) (actual time=0.004..0.004 rows=1 loops=43)

  • Index Cond: (sierra_foxtrot = lima_delta1.quebec_seven)
Planning time : 6.861 ms
Execution time : 31.621 ms