explain.depesz.com

PostgreSQL's explain analyze made readable

Result: clN1

Settings
# exclusive inclusive rows x rows loops node
1. 7.809 8,574.188 ↑ 1.0 1 1

Gather (cost=161,956.59..180,474.89 rows=1 width=17) (actual time=8,570.137..8,574.188 rows=1 loops=1)

  • Workers Planned: 2
  • Workers Launched: 2
2. 1.893 8,566.379 ↓ 0.0 0 3

Parallel Hash Join (cost=160,956.59..179,474.79 rows=1 width=17) (actual time=8,552.648..8,566.379 rows=0 loops=3)

  • Hash Cond: (m.id = c.mid)
3. 62.113 62.113 ↑ 1.3 1,400 3

Parallel Seq Scan on movie m (cost=0.00..18,511.35 rows=1,824 width=21) (actual time=0.093..62.113 rows=1,400 loops=3)

  • Filter: (year > 2010)
  • Rows Removed by Filter: 511070
4. 0.528 8,502.373 ↓ 89.5 179 3

Parallel Hash (cost=160,956.56..160,956.56 rows=2 width=4) (actual time=8,502.372..8,502.373 rows=179 loops=3)

  • Buckets: 1024 Batches: 1 Memory Usage: 104kB
5. 4,196.002 8,501.845 ↓ 89.5 179 3

Parallel Hash Join (cost=23,592.48..160,956.56 rows=2 width=4) (actual time=2,107.619..8,501.845 rows=179 loops=3)

  • Hash Cond: (c.pid = a.id)
6. 4,215.499 4,215.499 ↑ 1.3 3,815,282 3

Parallel Seq Scan on casts c (cost=0.00..119,479.68 rows=4,769,168 width=8) (actual time=0.035..4,215.499 rows=3,815,282 loops=3)

7. 1.227 90.344 ↓ 0.0 0 3

Parallel Hash (cost=23,592.46..23,592.46 rows=1 width=4) (actual time=90.342..90.344 rows=0 loops=3)

  • Buckets: 1024 Batches: 1 Memory Usage: 40kB
8. 89.117 89.117 ↓ 0.0 0 3

Parallel Seq Scan on actor a (cost=0.00..23,592.46 rows=1 width=4) (actual time=68.378..89.117 rows=0 loops=3)

  • Filter: (((fname)::text = 'Tom'::text) AND ((lname)::text = 'Hanks'::text))
  • Rows Removed by Filter: 621678
Planning time : 0.303 ms
Execution time : 8,574.261 ms