explain.depesz.com

PostgreSQL's explain analyze made readable

Result: CzuW

Settings
# exclusive inclusive rows x rows loops node
1. 0.009 41.285 ↑ 1.0 1 1

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

  • Buffers: shared read=201
  • I/O Timings: read=38.391
2.          

Initplan (for Result)

3. 0.003 41.276 ↑ 1.0 1 1

Limit (cost=0.57..2.61 rows=1 width=4) (actual time=41.275..41.276 rows=1 loops=1)

  • Buffers: shared read=201
  • I/O Timings: read=38.391
4. 41.273 41.273 ↑ 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=41.273..41.273 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 read=201
  • I/O Timings: read=38.391