explain.depesz.com

PostgreSQL's explain analyze made readable

Result: nJ8B : Secret Detection

Settings
# exclusive inclusive rows x rows loops node
1. 0.002 0.363 ↑ 1.0 1 1

Result (cost=26.23..26.24 rows=1 width=4) (actual time=0.363..0.363 rows=1 loops=1)

  • Buffers: shared read=4
  • I/O Timings: read=0.325
2.          

Initplan (for Result)

3. 0.008 0.361 ↑ 1.0 1 1

Limit (cost=0.43..26.23 rows=1 width=4) (actual time=0.361..0.361 rows=1 loops=1)

  • Buffers: shared read=4
  • I/O Timings: read=0.325
4. 0.353 0.353 ↑ 187,325.0 1 1

Index Scan using index_ci_builds_on_commit_id_and_artifacts_expireatandidpart2 on public.ci_builds (cost=0.43..4,832,555.76 rows=187,325 width=4) (actual time=0.353..0.353 rows=1 loops=1)

  • Index Cond: (ci_builds.commit_id IS NOT NULL)
  • Filter: (((ci_builds.artifacts_expire_at IS NULL) OR (ci_builds.artifacts_expire_at > '2018-08-27 16:32:37.511623'::timestamp without time zone)) AND (ci_builds.created_at >= '2020-04-16 16:27:42.074504'::timestamp without time zone) AND (ci_builds.created_at <= '2020-05-14 16:27:42.074867'::timestamp without time zone))
  • Rows Removed by Filter: 0
  • Buffers: shared read=4
  • I/O Timings: read=0.325