Patent · US Active

Elimination of query fragment duplication in complex database queries

US10795888B2 · kind B2 · utility

0Cited by
6References
20Claims
0Family size

Assignee

Inventors

Key dates

Filing dateDec 21, 2018
Grant dateOct 6, 2020
Priority date
Expiry dateApr 22, 2039

Classification

  • Technology area (CPC G)Physics
  • CPC primaryG06F16/2454
  • WIPO fieldComputer technology
  • WIPO sectorElectrical engineering

Abstract

A database engine receives a database query from a client. The database engine parses the database query to build a query operator tree that includes a plurality of query operators. The database engine performs one or more optimization passes on the query operator tree, including a deduplication optimization pass, to form an optimized execution plan. The deduplication optimization pass includes: creating a list of query operators via a first traversal of the query operator tree, determining a first query operator that is equivalent to a second query operator, based on a hash map, via a second traversal of the query operator tree, and substituting, via a third traversal of the query operator tree, the second query operator with a tree node that links to the first query operator. The database engine executes the optimized execution plan to retrieve a result set from the database, and returns the result set.

Source: USPTO / EPO open patent data. Objective bibliographic and citation counts.