QUERY PLAN
Aggregate (cost=845.54..845.55 rows=1 width=8)
-> Seq Scan on tbl_api_log a (cost=0.00..825.83 rows=7883 width=0)