explain.depesz.com

PostgreSQL's explain analyze made readable

Result: 2Obb

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

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

  • Buffers: shared hit=16
2.          

Initplan (for Result)

3. 0.001 0.122 ↑ 1.0 1 1

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

  • Buffers: shared hit=16
4. 0.121 0.121 ↑ 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.121..0.121 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=16