QUERY PLAN
Aggregate (cost=5052.24..5052.25 rows=1 width=8)
-> Seq Scan on tbl_api_log a (cost=0.00..4933.59 rows=47459 width=0)