QUERY PLAN
Group (cost=25986.27..25986.40 rows=4 width=36)
Group Key: code
-> Sort (cost=25986.27..25986.29 rows=8 width=4)
Sort Key: code
-> Gather (cost=25985.31..25986.15 rows=8 width=4)
Workers Planned: 2
-> Partial HashAggregate (cost=24985.31..24985.35 rows=4 width=4)
Group Key: code
-> Parallel Seq Scan on tbl_api_log a (cost=0.00..24820.86 rows=65780 width=4)
Filter: (code IS NOT NULL)