QUERY PLAN
Finalize GroupAggregate (cost=4333.34..4334.05 rows=41 width=10)
Group Key: object_type
-> Sort (cost=4333.34..4333.44 rows=41 width=10)
Sort Key: object_type
-> Gather (cost=4327.73..4332.24 rows=41 width=10)
Workers Planned: 1
-> Partial HashAggregate (cost=3327.73..3328.14 rows=41 width=10)
Group Key: object_type
-> Parallel Seq Scan on tbl_unread_comments (cost=0.00..3322.37 rows=1072 width=2)
Filter: ((NOT is_read) AND (remind_user_id = 1001))