explain.depesz.com

PostgreSQL's explain analyze made readable

Result: SkDV

Settings
# exclusive inclusive rows x rows loops node
1. 0.213 1,070.532 ↑ 20.6 10 1

Aggregate (cost=258,530.84..258,538.75 rows=206 width=14) (actual time=1,070.303..1,070.532 rows=10 loops=1)

  • Group Key: packages_events.originator_type, packages_events.event_type, packages_events.event_scope
  • Buffers: shared hit=57,161
2. 0.501 1,070.319 ↓ 1.2 539 1

Sort (cost=258,530.84..258,532.01 rows=468 width=14) (actual time=1,070.280..1,070.319 rows=539 loops=1)

  • Sort Key: packages_events.originator_type, packages_events.event_type, packages_events.event_scope
  • Sort Method: quicksort Memory: 50kB
  • Buffers: shared hit=57,161
3. 1,069.818 1,069.818 ↓ 1.2 539 1

Index Scan using index_packages_events_on_created_and_types_and_originator on public.packages_events (cost=0.56..258,510.08 rows=468 width=14) (actual time=0.049..1,069.818 rows=539 loops=1)

  • Index Cond: ((packages_events.created_at >= '2020-09-15 17:34:51.086253+00'::timestamp with time zone) AND (packages_events.created_at <= '2020-10-13 17:34:51.086455+00'::timestamp with time zone) AND (packages_events.originator >= 0) AND (packages_events.originator <= 9,999))
  • Buffers: shared hit=57,161