explain.depesz.com

PostgreSQL's explain analyze made readable

Result: mQJ2

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

Finalize Aggregate (cost=288,182.87..288,182.88 rows=1 width=8) (actual time=780.395..780.396 rows=1 loops=1)

2. 5.525 781.941 ↓ 1.5 3 1

Gather (cost=288,182.65..288,182.86 rows=2 width=8) (actual time=780.280..781.941 rows=3 loops=1)

  • Workers Planned: 2
  • Workers Launched: 2
3. 4.855 776.416 ↑ 1.0 1 3 / 3

Partial Aggregate (cost=287,182.65..287,182.66 rows=1 width=8) (actual time=776.416..776.416 rows=1 loops=3)

4. 359.385 771.561 ↑ 1.8 75,006 3 / 3

Hash Join (cost=25.95..286,841.82 rows=136,334 width=0) (actual time=0.248..771.561 rows=75,006 loops=3)

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

Parallel Seq Scan on rides (cost=0.00..268,410.75 rows=4,544,475 width=4) (actual time=0.033..412.153 rows=3,635,619 loops=3)

6. 0.008 0.023 ↑ 6.0 1 3 / 3

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

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

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

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