The patent badge is an abbreviated version of the USPTO patent document. The patent badge does contain a link to the full patent document.

The patent badge is an abbreviated version of the USPTO patent document. The patent badge covers the following: Patent number, Date patent was issued, Date patent was filed, Title of the patent, Applicant, Inventor, Assignee, Attorney firm, Primary examiner, Assistant examiner, CPCs, and Abstract. The patent badge does contain a link to the full patent document (in Adobe Acrobat format, aka pdf). To download or print any patent click here.

Date of Patent:
Jul. 12, 2022

Filed:

Aug. 30, 2018
Applicant:

International Business Machines Corporation, Armonk, NY (US);

Inventors:

Terence P. Purcell, Springfield, IL (US);

Thomas A. Beavin, Milpitas, CA (US);

Martin Dinh, San Jose, CA (US);

Brian L. Baggett, Renton, WA (US);

Attorneys:
Primary Examiner:
Int. Cl.
CPC ...
G06F 16/2453 (2019.01); G06F 16/21 (2019.01); G06N 20/00 (2019.01); G06F 16/242 (2019.01);
U.S. Cl.
CPC ...
G06F 16/24544 (2019.01); G06F 16/21 (2019.01); G06F 16/2433 (2019.01); G06N 20/00 (2019.01);
Abstract

A DBMS query-optimization module receives a corpus of training data that contains data-access requests, such as SQL queries. Each request specifies data to be accessed but does not specify a query plan that the database should use to generate the requested data. The module identifies, in each received request, parameters, such as join methods and access methods, that can vary among query plans; and variables that cannot be assigned values until the query is actually processed. The system generates a set of queries, each of which implements a distinct query plan, that specify every viable permutation of values of the parameters and of the variables. The generated queries are added to the received corpus, which is forwarded to a machine-learning module in order to train the query-optimizer to select query plans that incur the lowest resource costs when servicing a particular type of query.


Find Patent Forward Citations

Loading…