explain.depesz.com

PostgreSQL's explain analyze made readable

Result: aDT5

Settings
# exclusive inclusive rows x rows loops node
1. 0.007 0.093 ↓ 2.0 2 1

Nested Loop Anti Join (cost=0.42..6.16 rows=1 width=21) (actual time=0.061..0.093 rows=2 loops=1)

2. 0.004 0.076 ↓ 2.0 2 1

Nested Loop Left Join (cost=0.26..5.52 rows=1 width=5) (actual time=0.048..0.076 rows=2 loops=1)

  • Join Filter: (ci_builds.project_id = projects.id)
3. 0.005 0.056 ↓ 2.0 2 1

Nested Loop (cost=0.14..3.38 rows=1 width=4) (actual time=0.031..0.056 rows=2 loops=1)

4. 0.037 0.037 ↓ 2.0 2 1

Seq Scan on routes rs (cost=0.00..2.14 rows=1 width=4) (actual time=0.017..0.037 rows=2 loops=1)

  • Filter: (((path)::text ~~ 'gitlab-org/%'::text) AND ((source_type)::text = 'Project'::text))
  • Rows Removed by Filter: 79
5. 0.014 0.014 ↑ 1.0 1 2

Index Only Scan using idx_projects_on_repository_storage_last_repository_updated_at on projects (cost=0.14..1.16 rows=1 width=4) (actual time=0.006..0.007 rows=1 loops=2)

  • Index Cond: (id = rs.source_id)
  • Heap Fetches: 0
6. 0.002 0.016 ↓ 0.0 0 2

Limit (cost=0.12..2.12 rows=1 width=5) (actual time=0.007..0.008 rows=0 loops=2)

7. 0.014 0.014 ↓ 0.0 0 2

Index Only Scan using index_ci_builds_on_project_id_for_successfull_pages_deploy on ci_builds (cost=0.12..2.12 rows=1 width=5) (actual time=0.007..0.007 rows=0 loops=2)

  • Heap Fetches: 0
8. 0.010 0.010 ↓ 0.0 0 2

Index Only Scan using index_project_pages_metadata_on_project_id on project_pages_metadata (cost=0.15..0.63 rows=1 width=4) (actual time=0.005..0.005 rows=0 loops=2)

  • Index Cond: (project_id = projects.id)
  • Heap Fetches: 0