explain.depesz.com

PostgreSQL's explain analyze made readable

Result: iJCD

Settings
# exclusive inclusive rows x rows loops node
1. 0.029 1.760 ↑ 1.0 1 1

Aggregate (cost=1,439.74..1,439.75 rows=1 width=8) (actual time=1.760..1.760 rows=1 loops=1)

  • Buffers: shared hit=232
2. 0.001 1.731 ↓ 0.0 0 1

Nested Loop (cost=1.00..1,439.74 rows=1 width=4) (actual time=1.731..1.731 rows=0 loops=1)

  • Buffers: shared hit=232
3. 1.730 1.730 ↓ 0.0 0 1

Index Scan using index_ci_builds_on_commit_id_and_stage_idx_and_created_at on public.ci_builds (cost=0.57..800.74 rows=330 width=8) (actual time=1.730..1.730 rows=0 loops=1)

  • Index Cond: ((ci_builds.commit_id >= 1) AND (ci_builds.commit_id <= 10,000) 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))
  • Filter: (((NOT ci_builds.retried) OR (ci_builds.retried IS NULL)) AND ((ci_builds.type)::text = 'Ci::Build'::text) AND ((ci_builds.status)::text = 'success'::text))
  • Rows Removed by Filter: 0
  • Buffers: shared hit=232
4. 0.000 0.000 ↓ 0.0 0 0

Index Only Scan using idx_security_scans_on_build_and_scan_type on public.security_scans (cost=0.43..1.94 rows=1 width=8) (actual time=0.000..0.000 rows=0 loops=0)

  • Index Cond: ((security_scans.build_id = ci_builds.id) AND (security_scans.scan_type = 4))
  • Heap Fetches: 0