QUERY PLAN
Aggregate (cost=4144.80..4144.81 rows=1 width=8)
-> Seq Scan on tbl_api_log a (cost=0.00..4059.64 rows=34064 width=0)