explain.depesz.com

PostgreSQL's explain analyze made readable

Result: ScKV

Settings
# exclusive inclusive rows x rows loops node
1. 17.295 977.400 ↓ 47.5 95 1

Gather (cost=1,506.10..9,948.17 rows=2 width=125) (actual time=173.901..977.400 rows=95 loops=1)

  • Workers Planned: 2
  • Workers Launched: 2
2. 7.445 960.105 ↓ 32.0 32 3 / 3

Nested Loop (cost=506.10..8,947.97 rows=1 width=125) (actual time=145.350..960.105 rows=32 loops=3)

3. 451.897 943.492 ↑ 1.2 573 3 / 3

Hash Join (cost=505.68..7,723.11 rows=716 width=140) (actual time=50.005..943.492 rows=573 loops=3)

  • Hash Cond: ((simple1_.ws_simple_id)::text = (pricingcla0_.simple_id)::text)
4. 454.300 454.300 ↑ 1.3 71,695 3 / 3

Parallel Seq Scan on wholesale_simple simple1_ (cost=0.00..6,982.19 rows=89,619 width=32) (actual time=0.122..454.300 rows=71,695 loops=3)

5. 17.147 37.295 ↑ 1.0 1,719 3 / 3

Hash (cost=484.19..484.19 rows=1,719 width=125) (actual time=37.289..37.295 rows=1,719 loops=3)

  • Buckets: 2048 Batches: 1 Memory Usage: 287kB
6. 20.148 20.148 ↑ 1.0 1,719 3 / 3

Seq Scan on pricing_clarification pricingcla0_ (cost=0.00..484.19 rows=1,719 width=125) (actual time=0.026..20.148 rows=1,719 loops=3)

7. 9.168 9.168 ↓ 0.0 0 1,719 / 3

Index Scan using article_pkey on wholesale_config config2_ (cost=0.42..1.71 rows=1 width=35) (actual time=0.016..0.016 rows=0 loops=1,719)

  • Index Cond: ((ws_config_id)::text = (simple1_.ws_config_id)::text)
  • Filter: ((NOT deleted) AND ((season_code)::text = 'FS20'::text) AND ((brand_code)::text = ANY ('{110,230,PO9,APC,A0F,ABD,AB3,AE8,AD2,A43,AD1,AD5,AF7,AG2,AI2,A01,AH2,5AP,1AL,AC7,A24,AN3,ANQ,ANT,A0P,0AN,ANN,ANS,A18,ARA,ARJ,A15,ARS,AJ2,AR3,A22,ARH,AR1,AS2,AS1,A0H,A0I,AS3,BY8,B0U,BA7,B1E,BA2,BAK,B89,BAT,BT9,B30,B11,BER,BET,B92,B28,BE8,BE9,BE6,4BE,B21,BEP,RG6,BEO,1BS,6BI,BI3,BI7,BH5,BIA,BIQ,BI1,BI4,B58,BJ2,BL7,BLM,B36,BL1,BE0,LF0,BL8,BS9,B69,BOJ,BOD,BO7,BO6,BP8,BON,BO3,BO9,B50,BR0}'::text[])) AND ((supplier_code)::text = ANY ('{K72042,K72528,K86777,K70139,K83656,K70114,K87950,K70115,K10782,K70101,K70583,K85441,K70116,K10943,K85893,K85672,K86818,K11495,K86839,K70311,K86077,K83789,K85576,K70147,K10627,K88057,K70819,K87330,K87105,K72512,K83487,K72566,K87867,K83130,K70119,K70143,K84036,K87228,K70113,K72561,K85941,K70195,K84865,K87479,K11282,K86981,K72794,K85515,K87696,K10867,K72802,K70248,K70236,K86005,K72845,K71104,K70240,K83416,K85121,K86785,K70214,K11600,K86962,K85347,K11511,K71359,K70225,K72864,K10156,K11790,K11482,K72754,K11024,K70451,K70260,K72816,K10102,K70298,K85663,K11066,K10711,K83163,K73008,K70352,K10093,K84514,K72336,K84406,K86238,K10590,K83101,K84507,K84258,K73047,K70797,K70388,K70301,K70372,K11094}'::text[])))
  • Rows Removed by Filter: 1
Planning time : 2.134 ms
Execution time : 978.144 ms