Method and apparatus for determining SQL execution plan
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 N th 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.
Interactive Citation Constellation Global Citation Ranking
Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 50 · Forward citations: 0.
Claims (1 — 1 Independent, 0 Dependent)
- Claim 1Independent Claim
A structured query language (SQL) statement performing apparatus for determining a SQL execution plan, wherein the SQL execution plan corresponds to at least one relation table and a SQL statement, and wherein the SQL statement performing apparatus comprises: a memory configured to store instructions and data; and a processor coupled to the memory, wherein during an N th iteration, the instructions cause the processor to be configured to: obtain a first iteration parameter generated after a first plan tree is executed for the SQL statement on the at least one relation table during an (N−1) th
Technical Overview & Description
Full multi-page specification text is archived at the issuing office. Read complete official specification ↗
Cited By — Indexed Forward Citations (0 of 0 total)
No indexed citing patents in this generation yet. Ingest USPTO/PatentsView bulk citation tables via patents-ingest to expand the local forward citation graph.
References Cited — Backward Prior Art (50)
Non-Patent Literature (5)
- Foreign Communication From a Counterpart Application, Chinese Application No. 201610095091.0, Chinese Office Action dated Apr. 19, 2019, 5 pages.
- Foreign Communication From a Counterpart Application, European Application No. 16840285.7, Extended European Search Report dated Feb. 5, 2018, 12 pages.
- Foreign Communication From a Counterpart Application, Japanese Application No. 2017-518519, English Translation of Japanese Office Action dated May 28, 2018, 4 pages.
- Foreign Communication From a Counterpart Application, Japanese Application No. 2017-518519, Japanese Office Action dated May 28, 2018, 4 pages.
- Foreign Communication From a Counterpart Application, Korean Application No. 2017113685, English Translation of Korean Office Action dated Jul. 3, 2018, 6 pages.