QUERY PLAN
Group (cost=28475.37..28475.50 rows=4 width=36)
Group Key: code
-> Sort (cost=28475.37..28475.39 rows=8 width=4)
Sort Key: code
-> Gather (cost=28474.41..28475.25 rows=8 width=4)
Workers Planned: 2
-> Partial HashAggregate (cost=27474.41..27474.45 rows=4 width=4)
Group Key: code
-> Parallel Seq Scan on tbl_api_log a (cost=0.00..27262.74 rows=84666 width=4)
Filter: (code IS NOT NULL)