QUERY PLAN
Finalize Aggregate (cost=27787.31..27787.32 rows=1 width=8)
-> Gather (cost=27787.10..27787.31 rows=2 width=8)
Workers Planned: 2
-> Partial Aggregate (cost=26787.10..26787.11 rows=1 width=8)
-> Parallel Seq Scan on tbl_api_log a (cost=0.00..26779.52 rows=3031 width=0)
Filter: ((device_type = '6'::smallint) AND ((schema)::text = 'a57be577deb434'::text))