explain.depesz.com

PostgreSQL's explain analyze made readable

Result: HW7f

Settings
# exclusive inclusive rows x rows loops node
1. 0.252 366.315 ↑ 1.0 1 1

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

  • Buffers: shared hit=102 read=126 dirtied=20
  • I/O Timings: read=349.172
2. 0.293 366.063 ↓ 0.0 0 1

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

  • Buffers: shared hit=93 read=126 dirtied=20
  • I/O Timings: read=349.172
3. 43.058 43.058 ↓ 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=13.398..43.058 rows=29 loops=1)

  • Index Cond: (security_scans.scan_type = 6)
  • Buffers: shared hit=15 read=20 dirtied=4
  • I/O Timings: read=35.794
4. 322.712 322.712 ↓ 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=11.128..11.128 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=78 read=106 dirtied=16
  • I/O Timings: read=313.378