explain.depesz.com

PostgreSQL's explain analyze made readable

Result: Lm5F

Settings
# exclusive inclusive rows x rows loops node
1. 0.006 5.987 ↑ 1.0 1 1

Result (cost=0.89..0.90 rows=1 width=4) (actual time=5.987..5.987 rows=1 loops=1)

  • Buffers: shared hit=3 read=3
  • I/O Timings: read=5.881
2.          

Initplan (for Result)

3. 0.001 5.981 ↑ 1.0 1 1

Limit (cost=0.57..0.89 rows=1 width=4) (actual time=5.981..5.981 rows=1 loops=1)

  • Buffers: shared hit=3 read=3
  • I/O Timings: read=5.881
4. 5.980 5.980 ↑ 30,231,586.0 1 1

Index Only Scan using index_ci_builds_on_user_id_and_created_at_for_ci_build on public.ci_builds (cost=0.57..9,524,774.89 rows=30,231,586 width=4) (actual time=5.980..5.980 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))
  • Heap Fetches: 1
  • Buffers: shared hit=3 read=3
  • I/O Timings: read=5.881