QUERY PLAN
Aggregate (cost=4179.35..4179.36 rows=1 width=8)
-> Seq Scan on tbl_api_log a (cost=0.00..4093.48 rows=34348 width=0)