Patent ID: 11921721
Assignee: SALESFORCE, INC.
Field: Computer technology (Electrical engineering)
Classification: CPC G | IPC G

Claim 8:
9. A system, comprising:
a memory; and
at least one processor coupled to the memory and configured to:
select a first set of tuples from an ordered index of a table, wherein the table is associated with a query, and wherein a count of the first set of tuples is less than or equal to a max row threshold;
initialize, based on the index, a last key value variable comprising a first field and a second field, the first field storing a minimum value for a first data type and the second field storing a minimum value for a second data type;
execute the query against a tuple in the first set of tuples corresponding to a next key value that is subsequent to the last key value variable;
incrementally update the last key value variable by setting the last key value variable to the next key value until the query has been executed against the first set of tuples;
receive first results comprising a first subset of the first set of tuples and from the table that satisfy one or more parameters of the query;
determine a second set of tuples selected from the index based on the most recently processed tuple, wherein a count of the second set of tuples is less than or equal to the max row threshold;
receive second results comprising a second subset of the second set of tuples from the table that satisfy at the one or more parameters of the query;
combine the first results with second results; and
return the combined results in response to the query.