explain.depesz.com

PostgreSQL's explain analyze made readable

Result: UMiS

Settings
# exclusive inclusive rows x rows loops node
1. 117.194 794.504 ↑ 1.0 1 1

Nested Loop (cost=25,592.48..182,168.06 rows=1 width=17) (actual time=705.331..794.504 rows=1 loops=1)

  • Join Filter: (c.mid = m.id)
  • Rows Removed by Join Filter: 2251735
2. 0.000 0.949 ↓ 1.2 4,201 1

Gather (cost=1,000.00..19,869.25 rows=3,579 width=21) (actual time=0.406..0.949 rows=4,201 loops=1)

  • Workers Planned: 2
  • Workers Launched: 2
3. 44.071 44.071 ↑ 1.1 1,400 3

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

  • Filter: (year > 2010)
  • Rows Removed by Filter: 511070
4. 75.105 676.361 ↓ 89.3 536 4,201

Materialize (cost=24,592.48..161,976.72 rows=6 width=4) (actual time=0.048..0.161 rows=536 loops=4,201)

5. 4.616 601.256 ↓ 89.3 536 1

Gather (cost=24,592.48..161,976.69 rows=6 width=4) (actual time=199.945..601.256 rows=536 loops=1)

  • Workers Planned: 2
  • Workers Launched: 2
6. 261.763 596.640 ↓ 89.5 179 3

Parallel Hash Join (cost=23,592.48..160,976.09 rows=2 width=4) (actual time=195.579..596.640 rows=179 loops=3)

  • Hash Cond: (c.pid = a.id)
7. 268.158 268.158 ↑ 1.3 3,815,282 3

Parallel Seq Scan on casts c (cost=0.00..119,493.88 rows=4,770,588 width=8) (actual time=0.048..268.158 rows=3,815,282 loops=3)

8. 0.044 66.719 ↓ 0.0 0 3

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

  • Buckets: 1024 Batches: 1 Memory Usage: 40kB
9. 66.675 66.675 ↓ 0.0 0 3

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

  • Filter: (((fname)::text = 'Tom'::text) AND ((lname)::text = 'Hanks'::text))
  • Rows Removed by Filter: 621678
Planning time : 0.356 ms
Execution time : 794.747 ms