explain.depesz.com

A tool for finding a real cause for slow queries.

Result: 2Nor

options
exclusive inclusive rows x rows loops node
0.000 0.000 ↓ 0.0

Hash Join (cost=85.45..365.20 rows=100 width=57) (actual time=.. rows= loops=)

  • Hash Cond: (roles.id = carings.child_id)
0.000 0.000 ↓ 0.0

Seq Scan on roles (cost=0.00..241.25 rows=10000 width=57) (actual time=.. rows= loops=)

  • Filter: ((deleted_at IS NULL) AND (type = 'Child'::text))
0.000 0.000 ↓ 0.0

Hash (cost=84.20..84.20 rows=100 width=4) (actual time=.. rows= loops=)

0.000 0.000 ↓ 0.0

Bitmap Heap Scan on carings (cost=5.03..84.20 rows=100 width=4) (actual time=.. rows= loops=)

  • Recheck Cond: (caregiver_id = 1)
  • Filter: (deleted_at IS NULL)
0.000 0.000 ↓ 0.0

Bitmap Index Scan on index_carings_on_caregiver_id_and_child_id (cost=0.00..5.00 rows=100 width=0) (actual time=.. rows= loops=)

  • Index Cond: (caregiver_id = 1)