QUERY PLAN
Aggregate (cost=8609.08..8609.09 rows=1 width=8)
-> Seq Scan on tbl_api_log a (cost=0.00..8459.26 rows=59926 width=0)