explain.depesz.com

PostgreSQL's explain analyze made readable

Result: tRah

Settings
# exclusive inclusive rows x rows loops node
1. 16.214 1,713.191 ↑ 8.3 85,580 1

Gather (cost=14,088.96..466,668.52 rows=706,681 width=273) (actual time=1,435.971..1,713.191 rows=85,580 loops=1)

  • Workers Planned: 4
  • Workers Launched: 4
2. 25.253 1,696.977 ↑ 10.3 17,116 5 / 5

Nested Loop Left Join (cost=13,088.96..395,000.42 rows=176,670 width=273) (actual time=1,433.306..1,696.977 rows=17,116 loops=5)

3. 754.900 1,620.376 ↑ 10.3 17,116 5 / 5

Parallel Hash Join (cost=13,088.53..281,740.40 rows=176,670 width=8) (actual time=1,433.283..1,620.376 rows=17,116 loops=5)

  • Hash Cond: (eps.id = a.id)
4. 677.529 677.529 ↑ 1.2 1,084,962 5 / 5

Parallel Seq Scan on earlypaymentsettlement eps (cost=0.00..265,095.99 rows=1,354,620 width=16) (actual time=0.007..677.529 rows=1,084,962 loops=5)

  • Filter: (creationdate >= '2019-01-01'::date)
  • Rows Removed by Filter: 189854
5. 117.010 187.947 ↑ 2.1 166,262 5 / 5

Parallel Hash (cost=8,758.79..8,758.79 rows=346,379 width=8) (actual time=187.946..187.947 rows=166,262 loops=5)

  • Buckets: 1048576 Batches: 1 Memory Usage: 40800kB
6. 70.937 70.937 ↑ 2.1 166,262 5 / 5

Parallel Seq Scan on apfearlypaymentsettlement a (cost=0.00..8,758.79 rows=346,379 width=8) (actual time=0.005..70.937 rows=166,262 loops=5)

7. 51.348 51.348 ↑ 1.0 1 85,580 / 5

Index Scan using supplierinvoice_pkey on supplierinvoice si (cost=0.43..0.64 rows=1 width=273) (actual time=0.003..0.003 rows=1 loops=85,580)

  • Index Cond: (eps.invoice_id = id)
Planning time : 0.595 ms
Execution time : 1,737.957 ms