explain.depesz.com

PostgreSQL's explain analyze made readable

Result: A8Yx

Settings
# exclusive inclusive rows x rows loops node
1. 0.005 3.752 ↑ 1.0 1 1

Result (cost=2.61..2.62 rows=1 width=4) (actual time=3.752..3.752 rows=1 loops=1)

  • Buffers: shared hit=1 read=4
  • I/O Timings: read=3.583
2.          

Initplan (for Result)

3. 0.003 3.747 ↑ 1.0 1 1

Limit (cost=0.57..2.61 rows=1 width=4) (actual time=3.746..3.747 rows=1 loops=1)

  • Buffers: shared hit=1 read=4
  • I/O Timings: read=3.583
4. 3.744 3.744 ↑ 30,231,586.0 1 1

Index Scan using index_ci_builds_on_user_id_and_created_at on public.ci_builds (cost=0.57..61,703,920.11 rows=30,231,586 width=4) (actual time=3.744..3.744 rows=1 loops=1)

  • Index Cond: ((ci_builds.user_id IS NOT NULL) AND (ci_builds.created_at >= '2020-02-24 07:25:33.436925'::timestamp without time zone) AND (ci_builds.created_at <= '2020-03-23 07:25:33.436996'::timestamp without time zone))
  • Filter: ((ci_builds.type)::text = 'Ci::Build'::text)
  • Rows Removed by Filter: 0
  • Buffers: shared hit=1 read=4
  • I/O Timings: read=3.583