explain.depesz.com

PostgreSQL's explain analyze made readable

Result: Bws7 : Optimization for: plan #exUV

Settings

Optimization path:

Optimization(s) for this plan:

# exclusive inclusive rows x rows loops node
1. 0.000 0.000 ↓ 0.0

Limit (cost=4.37..4.44 rows=2 width=72) (actual rows= loops=)

2. 0.000 0.000 ↓ 0.0

GroupAggregate (cost=4.37..4.44 rows=2 width=72) (actual rows= loops=)

  • Group Key: teacher_id
3. 0.000 0.000 ↓ 0.0

Sort (cost=4.37..4.37 rows=2 width=40) (actual rows= loops=)

  • Sort Key: teacher_id
4. 0.000 0.000 ↓ 0.0

Bitmap Heap Scan on call_record_stat (cost=1.29..4.36 rows=2 width=40) (actual rows= loops=)

  • Recheck Cond: ((stat_date >= '2020-09-03 00:55:01+00'::timestamp with time zone) AND (stat_date <= '2020-09-10 00:55:01+00'::timestamp with time zone))
  • Filter: (teacher_id = ANY ('{111903,112137}'::bigint[]))
5. 0.000 0.000 ↓ 0.0

Bitmap Index Scan on call_record_stat_stat_date_idx (cost=0.00..1.29 rows=4 width=0) (actual rows= loops=)

  • Index Cond: ((stat_date >= '2020-09-03 00:55:01+00'::timestamp with time zone) AND (stat_date <= '2020-09-10 00:55:01+00'::timestamp with time zone))