Task: Fast Row Count with Upper Limit in PostgreSQL
Task: Fast Row Count with Upper Limit in PostgreSQL: a task in Terminal-Lego-15k (Harbor dataset). Implement a fast method to discover the row count of a PostgreSQL table that stops counting once a predefined upper limit is surpassed. The goal is to avoid a full sequential scan when only needing…
The task
Implement a fast method to discover the row count of a PostgreSQL table that stops counting once a predefined upper limit is surpassed. The goal is to avoid a full sequential scan when only needing to know if the count exceeds a threshold.
Part of PrimeIntellect/Terminal-Lego-15k.