QUERY PLAN
Finalize GroupAggregate (cost=4353.44..4353.90 rows=26 width=10)
Group Key: object_type
-> Sort (cost=4353.44..4353.51 rows=26 width=10)
Sort Key: object_type
-> Gather (cost=4349.97..4352.83 rows=26 width=10)
Workers Planned: 1
-> Partial HashAggregate (cost=3349.97..3350.23 rows=26 width=10)
Group Key: object_type
-> Parallel Seq Scan on tbl_unread_comments (cost=0.00..3344.93 rows=1009 width=2)
Filter: ((NOT is_read) AND (remind_user_id = 1001))