explain.depesz.com

PostgreSQL's explain analyze made readable

Result: STyJ

Settings
# exclusive inclusive rows x rows loops node
1. 0.003 0.039 ↑ 1.0 1 1

Result (cost=0.74..0.75 rows=1 width=4) (actual time=0.039..0.039 rows=1 loops=1)

  • Buffers: shared hit=4
2.          

Initplan (for Result)

3. 0.002 0.036 ↑ 1.0 1 1

Limit (cost=0.43..0.74 rows=1 width=4) (actual time=0.036..0.036 rows=1 loops=1)

  • Buffers: shared hit=4
4. 0.034 0.034 ↑ 295,567.0 1 1

Index Only Scan using index_secure_ci_builds_on_user_id_created_at on public.ci_builds (cost=0.43..91,233.22 rows=295,567 width=4) (actual time=0.034..0.034 rows=1 loops=1)

  • Index Cond: ((ci_builds.user_id IS NOT NULL) AND (ci_builds.created_at >= '2020-05-27 17:51:53.319709'::timestamp without time zone) AND (ci_builds.created_at <= '2020-06-24 17:51:53.319881'::timestamp without time zone))
  • Heap Fetches: 0
  • Buffers: shared hit=4