explain.depesz.com

PostgreSQL's explain analyze made readable

Result: Cb8O

Settings
# exclusive inclusive rows x rows loops node
1. 0.319 617.434 ↑ 1.0 1 1

Aggregate (cost=12,836.36..12,836.37 rows=1 width=8) (actual time=617.434..617.434 rows=1 loops=1)

  • Buffers: shared hit=10168 read=805
  • I/O Timings: read=588.432
2. 3.185 617.115 ↓ 6.5 26 1

Nested Loop (cost=0.99..12,836.35 rows=4 width=4) (actual time=570.863..617.115 rows=26 loops=1)

  • Buffers: shared hit=10165 read=805
  • I/O Timings: read=588.432
3. 602.470 602.470 ↑ 1.7 2,865 1

Index Only Scan using aa_index_notes_c1 on public.notes (cost=0.57..3,170.81 rows=4,942 width=8) (actual time=8.603..602.470 rows=2,865 loops=1)

  • Index Cond: ((notes.author_id >= 100000) AND (notes.author_id <= 101250) AND (notes.created_at >= '2020-02-10 18:14:49.508694+00'::timestamp with time zone) AND (notes.created_at <= '2020-03-09 18:14:49.508982+00'::timestamp with time zone))
  • Heap Fetches: 294
  • Buffers: shared hit=1613 read=754
  • I/O Timings: read=586.776
4. 11.460 11.460 ↓ 0.0 0 2,865

Index Only Scan using index_suggestions_on_note_id_and_relative_order on public.suggestions (cost=0.42..1.95 rows=1 width=4) (actual time=0.004..0.004 rows=0 loops=2,865)

  • Index Cond: (suggestions.note_id = notes.id)
  • Heap Fetches: 0
  • Buffers: shared hit=8552 read=51
  • I/O Timings: read=1.656