US 11,720,569 B2
Determining threshold values based on sampled data
Ran Bittmann, Tel Aviv (IL); and Lev Sigal, Karmiel (IL)
Assigned to SAP SE, Walldorf (DE)
Filed by SAP SE, Walldorf (DE)
Filed on Apr. 7, 2020, as Appl. No. 16/842,372.
Prior Publication US 2021/0311947 A1, Oct. 7, 2021
Int. Cl. G06F 16/2455 (2019.01); G06F 16/21 (2019.01)
CPC G06F 16/24553 (2019.01) [G06F 16/21 (2019.01)] 20 Claims
OG exemplary drawing
 
1. A non-transitory machine-readable medium storing a program executable by at least one processing unit of a device, the program comprising sets of instructions for:
querying a database for a subset of a plurality of records in the database, each record in the plurality of records comprising a value for a field;
sampling the subset of the plurality of records to identify a set of records in the subset of the plurality of records;
sorting the set of records based on the value for the field in each record in the set of records;
calculating a slope formed by a first value of the field of a first record in the sorted set of records and a second value of the field of a second record in the sorted set of records;
determining that the slope is greater than or equal to a defined slope; and
determining a threshold value for the subset of the plurality of records based on the first record.