Method of converting query plans to native code
Abstract
Performing database queries. A method includes receiving a particular database query. The method further includes accessing a query plan based on the particular database query. The query plan has operators and specific operational parameters associated with each of the operators. The association of operators and specific operational parameters is specific to the particular database query. From the query plan, the method further includes instantiating a plurality of compiled code templates. Each code template includes executable code that when executed performs functionality of one of the operators from the query plan with the specific operational parameters applied in the compilation. The method further includes binding the code templates together using programmatic control flow to create a functioning program.
Interactive Citation Constellation Global Citation Ranking
Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 50 · Forward citations: 1.
Claims (1 — 1 Independent, 0 Dependent)
- Claim 1Independent Claim
A computer-implemented method for translating database queries into native machine code so that use of an interpreter which employs statically written code to process a given query can be eliminated, to improve efficiency of processing the given query, the computer-implemented method being performed by one or more processors executing computer-executable instructions for the computer-implemented method, and the computer-implemented method comprising: receiving a particular database query; accessing a query plan based on the particular database query, the query plan having operators and specifi
Technical Overview & Description
Full multi-page specification text is archived at the issuing office. Read complete official specification ↗
Cited By — Indexed Forward Citations (1 of 1 total)
| Patent | Title | Year | Citations |
|---|---|---|---|
| US 12,169,491 B1 | Dynamic selection of plan interpretation to perform queries | 2024 | 0 |
References Cited — Backward Prior Art (50)
Non-Patent Literature (5)
- Adhikari, et al., "D-Stampede: Distributed Programming System for Ubiquitous Computing", Jul. 2002, 8 pages.
- Amer-Yahia, et al., "A comprehensive solution to the XML-to-relational mapping problem", Nov. 2004, pp. 31-38. Available at <<http://delivery.acm.org/10.1145/1040000/1031461/p31-amer-yahia.pdf>>.
- Author Unknown, Oracle® Rdb7 for Open VMS, http://download.oracle.com/otn-hosted-doc/rdb/pdf/rdbrn-7062.pdf.
- Author Unknown, Oracle® Rdb7 for Open VMS, http://download.oracle.com/otn—hosted—doc/rdb/pdf/rdbrn—7062.pdf.
- Author Unknown, PostgreSQL 9.0.1 Documentation Chapter 13. Concurrency Control Transaction Isolation, http://www.postgresql.org/docs/9.0/static/transaction-iso.html.