Patent · US Active

Method and apparatus for determining SQL execution plan

US10901976B2 · kind B2 · utility

0Cited by
17References
19Claims
0Family size

Assignee

Inventors

Key dates

Filing dateApr 24, 2017
Grant dateJan 26, 2021
Priority date
Expiry dateAug 28, 2037

Classification

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

Abstract

A method and an apparatus for determining a structured query language (SQL) execution plan are provided to optimize determining of the SQL execution plan and improve execution efficiency of the SQL execution plan. The SQL execution plan corresponds to at least one relation table. During an Nth iteration, the method includes obtaining a first iteration parameter generated after a first plan tree is executed on the at least one relation table during an (N−1)th iteration, where N is a natural number greater than 1, establishing a second plan tree according to the first iteration parameter, and determining the first plan tree or the second plan tree as the SQL execution plan when a difference between the second plan tree and the first plan tree is not greater than a first threshold.

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