explain.depesz.com

PostgreSQL's explain analyze made readable

Result: uPnv

Settings
# exclusive inclusive rows x rows loops node
1. 0.092 346.039 ↑ 1.0 1 1

Aggregate (cost=1,380.73..1,380.74 rows=1 width=8) (actual time=346.039..346.039 rows=1 loops=1)

  • Buffers: shared hit=9 read=232
  • I/O Timings: read=343.230
2. 0.002 345.947 ↓ 0.0 0 1

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

  • Buffers: shared read=232
  • I/O Timings: read=343.230
3. 345.945 345.945 ↓ 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..756.12 rows=308 width=8) (actual time=345.945..345.945 rows=0 loops=1)

  • Index Cond: ((ci_builds.commit_id >= 1) AND (ci_builds.commit_id <= 10,000) AND (ci_builds.created_at >= '2020-07-08 09:09:46.468435'::timestamp without time zone) AND (ci_builds.created_at <= '2020-08-05 09:09:46.468699'::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=343.230
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..2.03 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 = 1))
  • Heap Fetches: 0