| GroupAggregate (cost=5224.20..5231.95 rows=1 width=12) |
| Group Key: uc.object_id |
| -> Nested Loop (cost=5224.20..5231.93 rows=1 width=4) |
| -> Gather Merge (cost=5223.92..5224.07 rows=1 width=8) |
| Workers Planned: 1 |
| -> Merge Join (cost=4223.91..4223.95 rows=1 width=8) |
| Merge Cond: (uc.object_id = rccr.reimbursement_id) |
| -> Sort (cost=4215.21..4215.22 rows=5 width=4) |
| Sort Key: uc.object_id |
| -> Parallel Seq Scan on tbl_unread_comments uc (cost=0.00..4215.15 rows=5 width=4) |
| Filter: ((NOT is_read) AND ((object_type)::text = '20'::text) AND (remind_user_id = 5064)) |
| -> Sort (cost=8.70..8.70 rows=2 width=4) |
| Sort Key: rccr.reimbursement_id |
| -> Seq Scan on tbl_reimbursement_carbon_copy_rels rccr (cost=0.00..8.69 rows=2 width=4) |
| Filter: (user_id = 5064) |
| -> Index Scan using tbl_reimbursements_pkey on tbl_reimbursements r (cost=0.29..7.86 rows=1 width=4) |
| Index Cond: (id = uc.object_id) |
| Filter: (status <> 0) |