explain.depesz.com

PostgreSQL's explain analyze made readable

Result: INh9

Settings
# exclusive inclusive rows x rows loops node
1. 19.689 79,336.533 ↑ 27.8 5 1

Gather (cost=1,001.12..766,941.97 rows=139 width=101) (actual time=79,321.972..79,336.533 rows=5 loops=1)

  • Workers Planned: 2
  • Workers Launched: 2
2. 379.690 79,316.844 ↑ 29.0 2 3 / 3

Nested Loop (cost=1.11..765,928.07 rows=58 width=101) (actual time=59,556.294..79,316.844 rows=2 loops=3)

3. 31,763.442 31,763.442 ↓ 3.2 344,334 3 / 3

Parallel Index Scan using tr_rtl_sbs_si_status_idx_1 on js_retail_sbs_work_si "REM" (cost=0.56..580,639.86 rows=108,711 width=47) (actual time=3.789..31,763.442 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. 47,173.712 47,173.712 ↓ 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.70 rows=1 width=63) (actual time=0.137..0.137 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