QUERY PLAN
Finalize Aggregate (cost=28263.28..28263.29 rows=1 width=8)
-> Gather (cost=28263.06..28263.27 rows=2 width=8)
Workers Planned: 2
-> Partial Aggregate (cost=27263.06..27263.07 rows=1 width=8)
-> Parallel Seq Scan on tbl_api_log a (cost=0.00..27255.35 rows=3085 width=0)
Filter: ((device_type = '6'::smallint) AND ((schema)::text = 'a57be577deb434'::text))