QUERY PLAN
Group (cost=31186.18..31186.31 rows=4 width=36)
Group Key: code
-> Sort (cost=31186.18..31186.20 rows=8 width=4)
Sort Key: code
-> Gather (cost=31185.22..31186.06 rows=8 width=4)
Workers Planned: 2
-> Partial HashAggregate (cost=30185.22..30185.26 rows=4 width=4)
Group Key: code
-> Parallel Seq Scan on tbl_api_log a (cost=0.00..29957.39 rows=91133 width=4)
Filter: (code IS NOT NULL)