Query optimizer for CPU utilization and code refactoring
Abstract
Methods, systems, apparatuses, and computer program products are provided for increasing an efficiency of queries in program code. A plurality of queries is detected in program code. A laziness is extended by which the queries are evaluated in the program code. The queries are decomposed into a plurality of query components. A ruleset that includes a plurality of rules is applied to the query components to generate a functionally equivalent query set to the plurality of queries that evaluates more efficiently relative to the plurality of queries.
Interactive Citation Constellation Global Citation Ranking
Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 12 · Forward citations: 4.
Claims (1 — 1 Independent, 0 Dependent)
- Claim 1Independent Claim
A method performed by a computing device, comprising: detecting a plurality of queries in program code; extending laziness by which the queries are evaluated in the program code; determining, during runtime of the program code, runtime conditions of the computing device on which the plurality of queries is to execute; determining that the queries for which laziness has been extended are configured to retrieve a dataset, sort the dataset, and utilize at least one of a first element of the dataset or a last element of the dataset that has been sorted; and generating, during runtime of the progra
Technical Overview & Description
Full multi-page specification text is archived at the issuing office. Read complete official specification ↗
Cited By — Indexed Forward Citations (4 of 4 total)
References Cited — Backward Prior Art (12)
Non-Patent Literature (5)
- "International Search Report and Written Opinion Issued in PCT Application No. PCT/US2017/035085", dated Jul. 27, 2017, 11 Pages.
- "Office Action Issued in Indonesian Patent Application No. P00201809953", dated Sep. 25, 2019, 3 Pages.
- Malecha, et al., "Using Dependent Types and Tactics to Enable Semantic Optimization of Language-Integrated Queries", In Proceedings of the 15th Symposium on Database Programming Languages, Oct. 27, 2015, pp. 1-10.
- Murray et al., "Steno: Automatic Optimization of Declarative Queries", Jun. 4-8 2011, ACM 978-1-4503-0663-Aug. 11, 2006, 11 pages.
- Murray et al., “Steno: Automatic Optimization of Declarative Queries”, Jun. 4-8 2011, ACM 978-1-4503-0663—Aug. 11, 2006, 11 pages.