explain.depesz.com

PostgreSQL's explain analyze made readable

Result: ewLA : Optimization for: Optimization for: plan #LaHU; plan #IaEQ

Settings

Optimization path:

Optimization(s) for this plan:

# exclusive inclusive rows x rows loops node
1. 325.800 994.728 ↑ 3.9 176 1

HashAggregate (cost=174,950.19..174,957.03 rows=684 width=20) (actual time=994.709..994.728 rows=176 loops=1)

  • Group Key: imb_id
2. 668.928 668.928 ↓ 1.3 1,772,282 1

Index Scan using widgets_date_idx on widgets (cost=0.57..164,842.78 rows=1,347,655 width=12) (actual time=0.036..668.928 rows=1,772,282 loops=1)

  • Index Cond: ((date >= '2019-04-28'::date) AND (date <= '2019-05-10'::date))
  • Filter: (source_id = 12)
  • Rows Removed by Filter: 9099
Planning time : 2.894 ms
Execution time : 994.817 ms