explain.depesz.com

PostgreSQL's explain analyze made readable

Result: fVVW

Settings
# exclusive inclusive rows x rows loops node
1. 5.171 5.292 ↓ 0.0 0 1

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

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

Sort (cost=121,069.84..121,069.88 rows=19 width=51) (actual time=0.121..0.121 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.055 0.088 ↓ 0.0 0 3 / 3

Hash Join (cost=12.00..121,069.43 rows=19 width=51) (actual time=0.088..0.088 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)

7. 0.000 0.000 ↓ 0.0 0 / 3

Index Scan using template_class_index on template t (cost=0.42..8.44 rows=1 width=4) (never executed)

  • Index Cond: (class_id = 1,379,422)
8. 0.001 0.033 ↓ 0.0 0 3 / 3

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

  • Buckets: 1,024 Batches: 1 Memory Usage: 8kB
  • Buffers: shared hit=6
9. 0.013 0.032 ↓ 0.0 0 3 / 3

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

  • Hash Cond: (tl.lang_id = l.lang_id)
  • Buffers: shared hit=6
10. 0.011 0.011 ↑ 62.0 1 3 / 3

Seq Scan on timeofday_lang tl (cost=0.00..1.62 rows=62 width=31) (actual time=0.011..0.011 rows=1 loops=3)

  • Buffers: shared hit=3
11. 0.000 0.008 ↓ 0.0 0 3 / 3

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

  • Buckets: 1,024 Batches: 1 Memory Usage: 8kB
  • Buffers: shared hit=3
12. 0.008 0.008 ↓ 0.0 0 3 / 3

Seq Scan on lang l (cost=0.00..1.02 rows=1 width=4) (actual time=0.007..0.008 rows=0 loops=3)

  • Filter: (locale = 'US_en'::text)
  • Rows Removed by Filter: 2
  • Buffers: shared hit=3
Planning time : 0.350 ms
Execution time : 5.351 ms