QUERY PLAN
Aggregate (cost=8357.16..8357.17 rows=1 width=8)
-> Seq Scan on tbl_api_log a (cost=0.00..8211.73 rows=58173 width=0)