explain.depesz.com

PostgreSQL's explain analyze made readable

Result: hyt8

Settings
# exclusive inclusive rows x rows loops node
1. 4.134 4.227 ↓ 0.0 0 1

Gather Merge (cost=122,069.86..122,074.29 rows=38 width=51) (actual time=3.224..4.227 rows=0 loops=1)

  • Workers Planned: 2
  • Workers Launched: 2
  • Buffers: shared hit=88
2. 0.024 0.093 ↓ 0.0 0 3 / 3

Sort (cost=121,069.84..121,069.88 rows=19 width=51) (actual time=0.093..0.093 rows=0 loops=3)

  • Sort Key: ti.day_num, ti.order_num
  • Sort Method: quicksort Memory: 25kB
  • Worker 0: Sort Method: quicksort Memory: 25kB
  • Worker 1: Sort Method: quicksort Memory: 25kB
  • Buffers: shared hit=88
3. 0.037 0.069 ↓ 0.0 0 3 / 3

Hash Join (cost=12.00..121,069.43 rows=19 width=51) (actual time=0.069..0.069 rows=0 loops=3)

  • Hash Cond: (ti.timeofday_id = tl.timeofday_id)
  • Buffers: shared hit=60
4. 0.000 0.000 ↓ 0.0 0 / 3

Hash Join (cost=8.45..121,065.62 rows=19 width=35) (never executed)

  • Hash Cond: (ti.template_id = t.template_id)
5. 0.000 0.000 ↓ 0.0 0 / 3

Parallel Seq Scan on template_item ti (cost=0.00..111,831.52 rows=3,514,452 width=39) (never executed)

6. 0.000 0.000 ↓ 0.0 0 / 3

Hash (cost=8.44..8.44 rows=1 width=4) (never executed)

  • -> Index Scan using template_class_index on template t (cost=0.42..8.44 rows=1 width=4) (never ex
  • Index Cond: (class_id = 1379422)
7. 0.001 0.032 ↓ 0.0 0 3 / 3

Hash (cost=3.17..3.17 rows=31 width=27) (actual time=0.032..0.032 rows=0 loops=3)

  • Buckets: 1024 Batches: 1 Memory Usage: 8kB
  • Buffers: shared hit=6
8. 0.022 0.031 ↓ 0.0 0 3 / 3

Hash Join (cost=1.04..3.17 rows=31 width=27) (actual time=0.031..0.031 rows=0 loops=3)

  • Hash Cond: (tl.lang_id = l.lang_id)
  • Buffers: shared hit=6
  • -> Seq Scan on timeofday_lang tl (cost=0.00..1.62 rows=62 width=31) (actual time=0.012..0.012 row
  • Buffers: shared hit=3
9. 0.009 0.009 ↓ 0.0 0 3 / 3

Hash (cost=1.02..1.02 rows=1 width=4) (actual time=0.008..0.009 rows=0 loops=3)

  • Buckets: 1024 Batches: 1 Memory Usage: 8kB
  • Buffers: shared hit=3
  • -> Seq Scan on lang l (cost=0.00..1.02 rows=1 width=4) (actual time=0.008..0.008 rows=0 loo
  • Filter: (locale = 'US_en'::text)
  • Rows Removed by Filter: 2
  • Buffers: shared hit=3
Planning time : 0.354 ms
Execution time : 4.285 ms