explain.depesz.com

PostgreSQL's explain analyze made readable

Result: Ura7

Settings
# exclusive inclusive rows x rows loops node
1. 0.250 2,149.080 ↑ 20.6 10 1

Aggregate (cost=258,206.38..258,214.29 rows=206 width=14) (actual time=2,148.848..2,149.080 rows=10 loops=1)

  • Group Key: packages_events.originator_type, packages_events.event_type, packages_events.event_scope
  • Buffers: shared hit=17 read=56,707
  • I/O Timings: read=1,278.298
2. 0.526 2,148.830 ↓ 1.2 539 1

Sort (cost=258,206.38..258,207.55 rows=468 width=14) (actual time=2,148.788..2,148.830 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=11 read=56,707
  • I/O Timings: read=1,278.298
3. 2,148.304 2,148.304 ↓ 1.2 539 1

Index Only Scan using index_packages_events_on_created_and_types_and_originator on public.packages_events (cost=0.56..258,185.62 rows=468 width=14) (actual time=0.410..2,148.304 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))
  • Heap Fetches: 47
  • Buffers: shared hit=11 read=56,707
  • I/O Timings: read=1,278.298