QUERY PLAN
Aggregate (cost=3375.36..3375.37 rows=1 width=8)
-> Bitmap Heap Scan on tbl_api_log a (cost=12.03..3375.36 rows=1 width=0)
Recheck Cond: (("time" >= '2026-07-13 00:00:00'::timestamp without time zone) AND ("time" <= '2026-07-13 23:59:59'::timestamp without time zone))
-> Bitmap Index Scan on idx_api_log_time_brin (cost=0.00..12.03 rows=985 width=0)
Index Cond: (("time" >= '2026-07-13 00:00:00'::timestamp without time zone) AND ("time" <= '2026-07-13 23:59:59'::timestamp without time zone))