explain.depesz.com

PostgreSQL's explain analyze made readable

Result: IOmv

Settings
# exclusive inclusive rows x rows loops node
1. 0.001 0.019 ↓ 2.0 2 1

Nested Loop Anti Join (cost=0.29..6.14 rows=1 width=21) (actual time=0.014..0.019 rows=2 loops=1)

2. 0.001 0.014 ↓ 2.0 2 1

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

3. 0.009 0.009 ↓ 2.0 2 1

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

  • Filter: (((path)::text ~~ 'gitlab-org/%'::text) AND ((source_type)::text = 'Project'::text))
  • Rows Removed by Filter: 79
4. 0.004 0.004 ↑ 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.002..0.002 rows=1 loops=2)

  • Index Cond: (id = rs.source_id)
  • Heap Fetches: 0
5. 0.002 0.002 ↓ 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.001..0.001 rows=0 loops=2)

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

SubPlan (forNested Loop Anti Join)

7. 0.000 0.002 ↓ 0.0 0 2

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

8. 0.002 0.002 ↓ 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=1) (actual time=0.000..0.001 rows=0 loops=2)

  • Index Cond: (project_id = projects.id)
  • Heap Fetches: 0
Planning time : 0.471 ms
Execution time : 0.046 ms