explain.depesz.com

PostgreSQL's explain analyze made readable

Result: Qo7k : Secret Detection

Settings
# exclusive inclusive rows x rows loops node
1. 0.005 145.258 ↑ 1.0 1 1

Result (cost=185.45..185.46 rows=1 width=4) (actual time=145.257..145.258 rows=1 loops=1)

  • Buffers: shared hit=108 read=196 dirtied=176
  • I/O Timings: read=141.128
2.          

Initplan (for Result)

3. 0.003 145.253 ↑ 1.0 1 1

Limit (cost=0.57..185.45 rows=1 width=4) (actual time=145.252..145.253 rows=1 loops=1)

  • Buffers: shared hit=108 read=196 dirtied=176
  • I/O Timings: read=141.128
4. 145.250 145.250 ↑ 3,326,737.0 1 1

Index Scan using index_ci_builds_on_commit_id_and_status_and_type on public.ci_builds (cost=0.57..615,053,307.17 rows=3,326,737 width=4) (actual time=145.250..145.250 rows=1 loops=1)

  • Index Cond: ((ci_builds.commit_id IS NOT NULL) AND ((ci_builds.type)::text = 'Ci::Build'::text))
  • Filter: (((NOT ci_builds.retried) OR (ci_builds.retried IS NULL)) AND ((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.name)::text = ANY ('{sast,dependency_scanning,container_scanning,dast,secret_detection}'::text[])))
  • Rows Removed by Filter: 279
  • Buffers: shared hit=108 read=196 dirtied=176
  • I/O Timings: read=141.128