QUERY PLAN
Finalize GroupAggregate (cost=4240.22..4240.66 rows=25 width=10)
Group Key: object_type
-> Sort (cost=4240.22..4240.28 rows=25 width=10)
Sort Key: object_type
-> Gather (cost=4236.89..4239.64 rows=25 width=10)
Workers Planned: 1
-> Partial HashAggregate (cost=3236.89..3237.14 rows=25 width=10)
Group Key: object_type
-> Parallel Seq Scan on tbl_unread_comments (cost=0.00..3231.58 rows=1062 width=2)
Filter: ((NOT is_read) AND (remind_user_id = 1001))