Patent · US Active

Dynamic rebuilding of query execution trees and reselection of query execution operators

US10795887B1 · kind B1 · utility

2Cited by
6References
20Claims
0Family size

Assignee

Inventors

Key dates

Filing dateAug 18, 2017
Grant dateOct 6, 2020
Priority date
Expiry dateJan 27, 2039

Classification

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

Abstract

A database engine receives a query and parses the query to form a first intermediate query. The engine compiles the first intermediate query to form a first executable plan that includes in-memory operators that execute within memory without swapping to secondary memory. While executing a first in-memory operator in the first executable plan, the engine detects insufficient memory and aborts execution of the first executable plan. The engine optimizes the first intermediate query to form a second intermediate query, and compiles the second intermediate query to form a second executable plan. The second plan includes spooling operators that execute within fixed memory budgets and are configured to swap to the secondary memory when needed. The engine executes the second executable plan, including the spooling operators, to retrieve results from the database that are responsive to the query. The engine then returns the retrieved results.

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