explain.depesz.com

PostgreSQL's explain analyze made readable

Result: jr74

Settings
# exclusive inclusive rows x rows loops node
1. 0.072 0.628 ↑ 1.0 1 1

Aggregate (cost=77.62..77.63 rows=1 width=8) (actual time=0.627..0.628 rows=1 loops=1)

  • Buffers: shared hit=177
2. 0.019 0.556 ↓ 0.0 0 1

Nested Loop (cost=1.00..77.62 rows=1 width=4) (actual time=0.555..0.556 rows=0 loops=1)

  • Buffers: shared hit=177
3. 0.102 0.102 ↓ 1.9 29 1

Index Scan using idx_security_scans_on_scan_type on public.security_scans (cost=0.43..23.49 rows=15 width=8) (actual time=0.025..0.102 rows=29 loops=1)

  • Index Cond: (security_scans.scan_type = 6)
  • Buffers: shared hit=32
4. 0.435 0.435 ↓ 0.0 0 29

Index Scan using ci_builds_pkey on public.ci_builds (cost=0.57..3.61 rows=1 width=8) (actual time=0.015..0.015 rows=0 loops=29)

  • Index Cond: (ci_builds.id = security_scans.build_id)
  • Filter: (((NOT ci_builds.retried) OR (ci_builds.retried IS NULL)) AND (ci_builds.created_at >= '2020-06-29 07:12:50.845315'::timestamp without time zone) AND (ci_builds.created_at <= '2020-07-27 07:12:50.845435'::timestamp without time zone) AND (ci_builds.commit_id >= 1) AND (ci_builds.commit_id <= 10,000) AND ((ci_builds.type)::text = 'Ci::Build'::text) AND ((ci_builds.status)::text = 'success'::text))
  • Rows Removed by Filter: 1
  • Buffers: shared hit=145