explain.depesz.com

PostgreSQL's explain analyze made readable

Result: 7toO : Optimization for: blocking_analytics; plan #wGHX

Settings

Optimization path:

# exclusive inclusive rows x rows loops node
1. 0.074 2.577 ↑ 5.5 163 1

Limit (cost=0.01..105.56 rows=900 width=432) (actual time=0.106..2.577 rows=163 loops=1)

  • Buffers: shared hit=16
2. 1.814 2.503 ↑ 5.5 163 1

Nested Loop (cost=0.01..105.56 rows=900 width=432) (actual time=0.104..2.503 rows=163 loops=1)

  • Buffers: shared hit=16
3. 0.052 0.200 ↓ 18.1 163 1

Append (cost=0.00..11.05 rows=9 width=80) (actual time=0.044..0.200 rows=163 loops=1)

  • Buffers: shared hit=16
4. 0.016 0.016 ↓ 0.0 0 1

Seq Scan on blocking (cost=0.00..0.00 rows=1 width=80) (actual time=0.016..0.016 rows=0 loops=1)

  • Filter: ((endtime >= 1549178971) AND (endtime <= 1549265371))
5. 0.083 0.101 ↓ 32.5 130 1

Bitmap Heap Scan on blocking_1549144800 (cost=1.29..5.51 rows=4 width=80) (actual time=0.026..0.101 rows=130 loops=1)

  • Recheck Cond: ((endtime >= 1549178971) AND (endtime <= 1549265371))
  • Heap Blocks: exact=10
  • Buffers: shared hit=11
6. 0.018 0.018 ↓ 32.5 130 1

Bitmap Index Scan on route_blocking_1549144800_endtime_idx (cost=0.00..1.29 rows=4 width=0) (actual time=0.017..0.018 rows=130 loops=1)

  • Index Cond: ((endtime >= 1549178971) AND (endtime <= 1549265371))
  • Buffers: shared hit=1
7. 0.024 0.031 ↓ 8.2 33 1

Bitmap Heap Scan on blocking_1549231200 (cost=1.29..5.50 rows=4 width=80) (actual time=0.011..0.031 rows=33 loops=1)

  • Recheck Cond: ((endtime >= 1549178971) AND (endtime <= 1549265371))
  • Heap Blocks: exact=4
  • Buffers: shared hit=5
8. 0.007 0.007 ↓ 8.2 33 1

Bitmap Index Scan on route_blocking_1549231200_endtime_idx (cost=0.00..1.29 rows=4 width=0) (actual time=0.007..0.007 rows=33 loops=1)

  • Index Cond: ((endtime >= 1549178971) AND (endtime <= 1549265371))
  • Buffers: shared hit=1
9. 0.489 0.489 ↑ 100.0 1 163

Function Scan on jsonb_each esme (cost=0.01..1.00 rows=100 width=64) (actual time=0.003..0.003 rows=1 loops=163)