QUERY PLAN
Finalize Aggregate (cost=27631.10..27631.11 rows=1 width=8)
-> Gather (cost=27630.89..27631.10 rows=2 width=8)
Workers Planned: 2
-> Partial Aggregate (cost=26630.89..26630.90 rows=1 width=8)
-> Parallel Seq Scan on tbl_api_log a (cost=0.00..26623.36 rows=3013 width=0)
Filter: ((device_type = '6'::smallint) AND ((schema)::text = 'a57be577deb434'::text))