explain.depesz.com

PostgreSQL's explain analyze made readable

Result: peVa

Settings
# exclusive inclusive rows x rows loops node
1. 0.000 773.108 ↑ 1.0 1 1

Finalize Aggregate (cost=288,187.46..288,187.47 rows=1 width=8) (actual time=773.108..773.108 rows=1 loops=1)

2. 26.281 775.532 ↓ 1.5 3 1

Gather (cost=288,187.25..288,187.46 rows=2 width=8) (actual time=772.888..775.532 rows=3 loops=1)

  • Workers Planned: 2
  • Workers Launched: 2
3. 4.786 749.251 ↑ 1.0 1 3 / 3

Partial Aggregate (cost=287,187.25..287,187.26 rows=1 width=8) (actual time=749.251..749.251 rows=1 loops=3)

4. 261.559 744.465 ↑ 1.8 75,006 3 / 3

Hash Join (cost=25.95..286,846.39 rows=136,344 width=0) (actual time=0.512..744.465 rows=75,006 loops=3)

  • Hash Cond: (rides.rate_code = rates.rate_code)
5. 482.705 482.705 ↑ 1.3 3,635,619 3 / 3

Parallel Seq Scan on rides (cost=0.00..268,414.00 rows=4,544,800 width=4) (actual time=0.228..482.705 rows=3,635,619 loops=3)

6. 0.005 0.201 ↑ 6.0 1 3 / 3

Hash (cost=25.88..25.88 rows=6 width=4) (actual time=0.201..0.201 rows=1 loops=3)

  • Buckets: 1024 Batches: 1 Memory Usage: 9kB
7. 0.196 0.196 ↑ 6.0 1 3 / 3

Seq Scan on rates (cost=0.00..25.88 rows=6 width=4) (actual time=0.195..0.196 rows=1 loops=3)

  • Filter: (description = 'JFK'::text)
  • Rows Removed by Filter: 5
Planning time : 0.101 ms
Execution time : 775.571 ms