explain.depesz.com

PostgreSQL's explain analyze made readable

Result: IGfe

Settings
# exclusive inclusive rows x rows loops node
1. 0.000 0.000 ↓ 0.0

Unique (cost=897,764.22..897,764.30 rows=1 width=270) (actual rows= loops=)

2. 0.000 0.000 ↓ 0.0

Sort (cost=897,764.22..897,764.23 rows=1 width=270) (actual rows= loops=)

  • Sort Key: ccgs.brand_id, ccgs.summary, ccgs.platform_id, ccgs.server, ccgs.currency_id, ccgs.country_id, ccgs.game, ccgs.game_category_symb_id, ccgs.spins, ccgs.real_bet, ccgs.real_bets_usd, ccgs.real_bets_euro, ccgs.real_win, ccgs.real_wins_usd, ccgs.real_wins_euro, ccgs.real_margin, ccgs.real_margin_usd, ccgs.real_margin_euro, ccgs.bets, ccgs.bets_usd, ccgs.bets_euro, ccgs.wins, ccgs.wins_usd, ccgs.wins_euro, ccgs.margin, ccgs.margin_usd, ccgs.margin_euro, ccgs.margin_jp_usd, ccgs.margin_jp_cont_usd, ccgs.game_id
3. 0.000 0.000 ↓ 0.0

Hash Join (cost=1,010.27..897,764.21 rows=1 width=270) (actual rows= loops=)

  • Hash Cond: (((ccgs.server)::text = (rpt.server)::text) AND (ccgs.platform_id = rpt.platform_id) AND (ccgs.brand_id = rpt.brand_id))
4. 0.000 0.000 ↓ 0.0

Gather (cost=1,000.00..896,801.64 rows=84,648 width=270) (actual rows= loops=)

  • Workers Planned: 7
5. 0.000 0.000 ↓ 0.0

Parallel Seq Scan on invoice_summary ccgs (cost=0.00..887,336.83 rows=12,093 width=270) (actual rows= loops=)

  • Filter: (date_trunc('MONTH'::text, (summary)::timestamp with time zone) = date_trunc('MONTH'::text, ('2019-10-01'::date)::timestamp with time zone))
6. 0.000 0.000 ↓ 0.0

Hash (cost=10.10..10.10 rows=10 width=182) (actual rows= loops=)

7. 0.000 0.000 ↓ 0.0

Seq Scan on revenue_parameters_temp rpt (cost=0.00..10.10 rows=10 width=182) (actual rows= loops=)