QUERY PLAN
Finalize GroupAggregate (cost=4037.47..4037.91 rows=25 width=10)
Group Key: object_type
-> Sort (cost=4037.47..4037.54 rows=25 width=10)
Sort Key: object_type
-> Gather (cost=4034.14..4036.89 rows=25 width=10)
Workers Planned: 1
-> Partial HashAggregate (cost=3034.14..3034.39 rows=25 width=10)
Group Key: object_type
-> Parallel Seq Scan on tbl_unread_comments (cost=0.00..3029.02 rows=1024 width=2)
Filter: ((NOT is_read) AND (remind_user_id = 1001))