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