QUERY PLAN
Finalize GroupAggregate (cost=4035.31..4035.75 rows=25 width=10)
Group Key: object_type
-> Sort (cost=4035.31..4035.38 rows=25 width=10)
Sort Key: object_type
-> Gather (cost=4031.98..4034.73 rows=25 width=10)
Workers Planned: 1
-> Partial HashAggregate (cost=3031.98..3032.23 rows=25 width=10)
Group Key: object_type
-> Parallel Seq Scan on tbl_unread_comments (cost=0.00..3026.87 rows=1023 width=2)
Filter: ((NOT is_read) AND (remind_user_id = 1001))