explain.depesz.com

PostgreSQL's explain analyze made readable

Result: NLxB

Settings
# exclusive inclusive rows x rows loops node
1. 16.638 49,628.182 ↑ 26.2 5 1

Gather (cost=1,001.12..622,413.21 rows=131 width=101) (actual time=3.789..49,628.182 rows=5 loops=1)

  • Workers Planned: 2
  • Workers Launched: 2
2. 293.779 49,611.544 ↑ 27.5 2 3 / 3

Nested Loop (cost=1.11..621,400.11 rows=55 width=101) (actual time=33,071.015..49,611.544 rows=2 loops=3)

3. 17,639.068 17,639.068 ↓ 3.3 344,334 3 / 3

Parallel Index Scan using pc_work_idx26e769 on js_retail_sbs_work_si "REM" (cost=0.56..443,285.84 rows=103,202 width=47) (actual time=1,224.934..17,639.068 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. 31,678.697 31,678.697 ↓ 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.73 rows=1 width=63) (actual time=0.092..0.092 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