explain.depesz.com

PostgreSQL's explain analyze made readable

Result: wAYc : Optimization for: Optimization for: Optimization for: plan #SEPQ; plan #j3Po; plan #tV36

Settings

Optimization path:

# exclusive inclusive rows x rows loops node
1. 0.043 0.101 ↑ 4.6 5 1

GroupAggregate (cost=83.99..84.79 rows=23 width=52) (actual time=0.084..0.101 rows=5 loops=1)

  • Group Key: ((started)::date)
2. 0.012 0.058 ↑ 2.6 9 1

Sort (cost=83.99..84.05 rows=23 width=11) (actual time=0.057..0.058 rows=9 loops=1)

  • Sort Key: ((started)::date)
  • Sort Method: quicksort Memory: 25kB
3. 0.046 0.046 ↑ 2.6 9 1

Index Scan using tx_st on transaction c (cost=0.28..83.47 rows=23 width=11) (actual time=0.020..0.046 rows=9 loops=1)

  • Index Cond: ((started >= '2020-04-01 00:00:00'::timestamp without time zone) AND (started <= '2020-04-30 23:00:00'::timestamp without time zone))
  • Filter: ((tx_type_id)::text = ANY ('{2,3,14}'::text[]))
  • Rows Removed by Filter: 2