explain.depesz.com

PostgreSQL's explain analyze made readable

Result: fOt4

Settings
# exclusive inclusive rows x rows loops node
1. 0.071 341.933 ↑ 1.0 1 1

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

  • Buffers: shared read=232
  • I/O Timings: read=339.075
2. 0.004 341.862 ↓ 0.0 0 1

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

  • Buffers: shared read=232
  • I/O Timings: read=339.075
3. 341.858 341.858 ↓ 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=341.858..341.858 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 read=232
  • I/O Timings: read=339.075
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 = 2))
  • Heap Fetches: 0