explain.depesz.com

PostgreSQL's explain analyze made readable

Result: UEnp

Settings
# exclusive inclusive rows x rows loops node
1. 20.985 42,649.127 ↑ 24.2 5 1

Gather (cost=1,001.12..740,034.84 rows=121 width=101) (actual time=9.572..42,649.127 rows=5 loops=1)

  • Workers Planned: 2
  • Workers Launched: 2
2. 278.734 42,628.142 ↑ 25.0 2 3 / 3

Nested Loop (cost=1.11..739,022.74 rows=50 width=101) (actual time=28,415.584..42,628.142 rows=2 loops=3)

3. 8,949.042 8,949.042 ↓ 3.4 344,334 3 / 3

Parallel Index Scan using extract_pxobj_1 on js_retail_sbs_work_si "REM" (cost=0.56..564,256.83 rows=100,648 width=47) (actual time=1.377..8,949.042 rows=344,334 loops=3)

  • Index Cond: ((pxobjclass)::text = 'JS-Retail-SBS-Work-SI-Remuneration'::text)
  • Filter: (totalamount >= 0.01)
  • Rows Removed by Filter: 1733
4. 33,400.366 33,400.366 ↓ 0.0 0 1,033,001 / 3

Index Scan using js_retail_sbs_work_si_pk on js_retail_sbs_work_si "PC0" (cost=0.56..1.74 rows=1 width=63) (actual time=0.097..0.097 rows=0 loops=1,033,001)

  • Index Cond: ((pzinskey)::text = ("REM".pxcoverinskey)::text)
  • Filter: (((pxobjclass)::text ~~ 'JS-Retail-SBS-Work-SI%'::text) AND ((pyid)::text !~~ 'ECM%'::text) AND ((pystatuswork)::text = 'Resolved-Completed'::text) AND (to_char(date_trunc('day'::text, pxcreatedatetime), 'YYYYMMDD'::text) >= '20200508'::text) AND (to_char(date_trunc('day'::text, pxcreatedatetime), 'YYYYMMDD'::text) <= '20200514'::text))
  • Rows Removed by Filter: 1