| GroupAggregate (cost=1007.90..5247.15 rows=1 width=12) |
| Group Key: uc.object_id |
| -> Nested Loop (cost=1007.90..5247.13 rows=1 width=4) |
| Join Filter: (r.id = uc.object_id) |
| -> Merge Join (cost=7.90..31.40 rows=6 width=8) |
| Merge Cond: (r.id = rccr.punch_repair_id) |
| -> Index Only Scan using tbl_punch_repairs_pkey on tbl_punch_repairs r (cost=0.15..22.73 rows=358 width=4) |
| -> Sort (cost=7.75..7.77 rows=6 width=4) |
| Sort Key: rccr.punch_repair_id |
| -> Seq Scan on tbl_punch_repair_carbon_copy_rels rccr (cost=0.00..7.67 rows=6 width=4) |
| Filter: (user_id = 1001) |
| -> Materialize (cost=1000.00..5215.47 rows=3 width=4) |
| -> Gather (cost=1000.00..5215.45 rows=3 width=4) |
| Workers Planned: 1 |
| -> Parallel Seq Scan on tbl_unread_comments uc (cost=0.00..4215.15 rows=2 width=4) |
| Filter: ((NOT is_read) AND ((object_type)::text = '38'::text) AND (remind_user_id = 1001)) |