explain.depesz.com

PostgreSQL's explain analyze made readable

Result: cnAim : Secret Detection

Settings
# exclusive inclusive rows x rows loops node
1. 0.004 3.072 ↑ 1.0 1 1

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

  • Buffers: shared hit=103 read=107
  • I/O Timings: read=2.454
2.          

Initplan (for Result)

3. 0.001 3.068 ↑ 1.0 1 1

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

  • Buffers: shared hit=103 read=107
  • I/O Timings: read=2.454
4. 3.067 3.067 ↑ 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=3.067..3.067 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=103 read=107
  • I/O Timings: read=2.454