explain.depesz.com

PostgreSQL's explain analyze made readable

Result: ttYo : Optimization for: Optimization for: plan #HjQ0y; plan #p1v7

Settings

Optimization path:

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

WindowAgg (cost=8.74..358.27 rows=1 width=266) (actual rows= loops=)

2. 0.000 0.000 ↓ 0.0

Nested Loop Left Join (cost=8.74..358.26 rows=1 width=258) (actual rows= loops=)

3. 0.000 0.000 ↓ 0.0

Nested Loop (cost=2.75..352.24 rows=1 width=226) (actual rows= loops=)

4. 0.000 0.000 ↓ 0.0

Bitmap Heap Scan on ct_provisions xcp (cost=2.33..13.96 rows=5 width=17) (actual rows= loops=)

  • Recheck Cond: ((account_id)::bpchar = 'AC15060001813595'::bpchar)
  • Filter: ((master_account_id)::bpchar = 'AC13110000321682'::bpchar)
5. 0.000 0.000 ↓ 0.0

Bitmap Index Scan on ix_ct_provisions_account_id (cost=0.00..2.33 rows=6 width=0) (actual rows= loops=)

  • Index Cond: ((account_id)::bpchar = 'AC15060001813595'::bpchar)
6. 0.000 0.000 ↓ 0.0

Index Scan using ix_ct_call_detail_log_provision_id on ct_call_detail_log xcd (cost=0.42..67.65 rows=1 width=243) (actual rows= loops=)

  • Index Cond: ((provision_id)::bpchar = (xcp.provision_id)::bpchar)
  • Filter: ((start_time >= '2018-08-01 00:00:00-04'::timestamp with time zone) AND (start_time <= '2018-08-31 00:00:00-04'::timestamp with time zone) AND (voice_file_status = 'AVAILABLE'::text))
7. 0.000 0.000 ↓ 0.0

Aggregate (cost=5.99..6.00 rows=1 width=32) (actual rows= loops=)

8. 0.000 0.000 ↓ 0.0

Bitmap Heap Scan on ct_call_log_signals xls (cost=2.30..5.98 rows=2 width=12) (actual rows= loops=)

  • Recheck Cond: ((call_id)::bpchar = (xcd.call_id)::bpchar)
9. 0.000 0.000 ↓ 0.0

Bitmap Index Scan on pk_ct_call_log_signals (cost=0.00..2.29 rows=2 width=0) (actual rows= loops=)

  • Index Cond: ((call_id)::bpchar = (xcd.call_id)::bpchar)