explain.depesz.com

PostgreSQL's explain analyze made readable

Result: wUgLk

Settings
# exclusive inclusive rows x rows loops node
1. 0.004 0.067 ↓ 4.0 4 1

Nested Loop (cost=10,000,000,000.56..10,000,000,033.68 rows=1 width=3,884) (actual time=0.047..0.067 rows=4 loops=1)

  • Join Filter: ((login.branch_id = job_offer.branch_id) OR (ARRAY[job_offer.branch_id] @> login_access.branch_ids) OR (ARRAY[branch.tenant_id] @> login_access.tenant_ids))
2. 0.005 0.055 ↓ 4.0 4 1

Nested Loop (cost=10,000,000,000.41..10,000,000,025.50 rows=1 width=3,964) (actual time=0.040..0.055 rows=4 loops=1)

  • Join Filter: (job_offer.job_offer_address_id = jo_address.id)
  • Rows Removed by Join Filter: 24
3. 0.002 0.038 ↓ 4.0 4 1

Nested Loop Left Join (cost=10,000,000,000.28..10,000,000,017.34 rows=1 width=3,964) (actual time=0.028..0.038 rows=4 loops=1)

  • Join Filter: (login_access.login_id = login.id)
4. 0.003 0.032 ↓ 4.0 4 1

Nested Loop (cost=10,000,000,000.14..10,000,000,009.16 rows=1 width=3,916) (actual time=0.025..0.032 rows=4 loops=1)

5. 0.013 0.013 ↓ 4.0 4 1

Seq Scan on job_offer (cost=10,000,000,000.00..10,000,000,001.00 rows=1 width=3,884) (actual time=0.011..0.013 rows=4 loops=1)

6. 0.016 0.016 ↑ 1.0 1 4

Index Scan using login_pkey on login (cost=0.14..8.15 rows=1 width=32) (actual time=0.003..0.004 rows=1 loops=4)

  • Index Cond: (id = 'bbf26ade-2515-4203-9ce7-f707317c8dc7'::uuid)
7. 0.004 0.004 ↓ 0.0 0 4

Index Scan using login_access_pkey on login_access (cost=0.15..8.17 rows=1 width=80) (actual time=0.001..0.001 rows=0 loops=4)

  • Index Cond: (login_id = 'bbf26ade-2515-4203-9ce7-f707317c8dc7'::uuid)
8. 0.012 0.012 ↓ 7.0 7 4

Index Only Scan using job_offer_address_pkey on job_offer_address jo_address (cost=0.12..8.14 rows=1 width=16) (actual time=0.002..0.003 rows=7 loops=4)

  • Heap Fetches: 28
9. 0.008 0.008 ↑ 1.0 1 4

Index Scan using branch_pkey on branch (cost=0.14..8.16 rows=1 width=32) (actual time=0.002..0.002 rows=1 loops=4)

  • Index Cond: (id = job_offer.branch_id)
Planning time : 0.483 ms
Execution time : 0.126 ms