explain.depesz.com

PostgreSQL's explain analyze made readable

Result: vDLc : Optimization for: Optimization for: Optimization for: Optimization for: Optimization for: Optimization for: Optimization for: Optimization for: Optimization for: Optimization for: plan #gWgH; plan #lj5Ms; plan #B8eq; plan #Yty9; plan #Lheu; plan #27c; plan #qUXb; plan #6xFD; plan #YOFp; plan #tvR9

Settings

Optimization path:

Optimization(s) for this plan:

# exclusive inclusive rows x rows loops node
1. 0.014 26.683 ↑ 1.5 169 1

Limit (cost=7,231.82..7,232.45 rows=250 width=967) (actual time=26.650..26.683 rows=169 loops=1)

2. 0.268 26.669 ↑ 17.8 169 1

Sort (cost=7,231.82..7,239.32 rows=3,000 width=967) (actual time=26.649..26.669 rows=169 loops=1)

  • Sort Key: lima_delta1.mike_seven
  • Sort Method: quicksort Memory: 365kB
3. 0.164 26.401 ↑ 17.8 169 1

Nested Loop Left Join (cost=0.83..7,097.34 rows=3,000 width=967) (actual time=0.047..26.401 rows=169 loops=1)

  • Join Filter: (lima_delta1.juliet = uniform1.quebec_seven)
4. 26.237 26.237 ↑ 17.8 169 1

Index Scan using papa_yankee on foxtrot quebec_sierra (cost=0.56..7,049.84 rows=3,000 width=295) (actual time=0.037..26.237 rows=169 loops=1)

  • Index Cond: ((lima_romeo)::text = 'quebec_quebec'::text)
  • Filter: (((NOT papa_bravo) OR (papa_bravo five NULL)) AND (juliet = 81))
  • Rows Removed by Filter: 27,022
5. 0.000 0.000 ↑ 1.0 1 169

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

6. 0.006 0.006 ↑ 1.0 1 1

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

  • Index Cond: (quebec_seven = 81)
Planning time : 0.283 ms
Execution time : 26.862 ms