QUERY PLAN
Group (cost=28148.78..28148.91 rows=4 width=36)
Group Key: code
-> Sort (cost=28148.78..28148.80 rows=8 width=4)
Sort Key: code
-> Gather (cost=28147.82..28148.66 rows=8 width=4)
Workers Planned: 2
-> Partial HashAggregate (cost=27147.82..27147.86 rows=4 width=4)
Group Key: code
-> Parallel Seq Scan on tbl_api_log a (cost=0.00..26938.67 rows=83659 width=4)
Filter: (code IS NOT NULL)