Reasons for unbound result set
Learn about failure in handshaking, result set limits, power law, realistic data volume, and paginations.
Result set limits
In the abstract, an unbounded result set occurs when the caller allows the other system to dictate terms. It’s a failure in handshaking. In any API or protocol, the caller should always indicate how much of a response it’s prepared to accept. TCP does this in the “window”
header field. Search engine APIs allow the caller to specify how many results to return and what the starting offset should be. There’s no standard SQL syntax to specify result set limits. ORMs
support query parameters that can limit results returned from a query but do not usually limit results when ...