Patent ID: 11947538
Assignee: INTERNATIONAL BUSINESS MACHINES CORPORATION
Field: Computer technology (Electrical engineering)
Classification: CPC G | IPC G

Claim 12:
13. A system for processing a plurality of queries from a database, comprising:
a memory; and
a processor communicatively coupled to the memory, wherein the processor is configured to perform a method comprising:
storing, based on a plurality of queries and an execution plan for the plurality of queries, a plurality of record identification (ID) numbers into a pool in a numerical order, wherein each of the plurality of record ID numbers identifies a data record in the database, further comprises:
during a predefined time period;
receiving, by one or more processing units, a query for the database;
determining, by one or more processing units, for the query, an execution plan comprising a record ID number;
executing, by one or more processing units, the execution plan for the query to retrieve the record ID number from an index; and
storing, by one or more processing units, the record ID number in the pool;

performing the execution plan to batch a plurality of data records corresponding to the plurality of record ID numbers in the database based on a distribution of the plurality of record ID numbers in the pool; and
performing, a model inferencing, by an inference engine based on the plurality of queries and batched data, wherein the inferencing engine is implemented by a neural network model.