Query optimization for planner statistics for databases
Abstract
Computer implemented methods, systems, and computer program products include program code executing on a processor(s) that obtains a user query. The program code selects just in time (JIT) statistics relevant for use by a cost optimizer to generate a plan file for executing the user query by determining, based on JIT metadata in a JIT statistics cache, if JIT statistics generated responsive to an earlier event are these JIT statistics, and based on determining that the JIT statistics generated responsive to the earlier event are these JIT statistics, selects these JIT statistics to generate the plan file. The program code utilizes the cost optimizer to generate the plan file based on these JIT statistics. The program code executes the user query in the target database based on the plan file.
Interactive Citation Constellation Global Citation Ranking
Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 11 · Forward citations: 0.
Claims (1 — 1 Independent, 0 Dependent)
- Claim 1Independent Claim
A computer-implemented method of planning and executing queries in a target database, the method comprising: obtaining, by one or more processors, a user query; selecting, by the one or more processors, just in time (JIT) statistics relevant for use by a cost optimizer to generate a plan file for executing the user query, wherein the selecting comprises: determining, by the one or more processors, based on JIT metadata in a JIT statistics cache, if JIT statistics generated responsive to an earlier event are the JIT statistics relevant for use by the cost optimizer to generate the plan file for
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 (11)
Non-Patent Literature (4)
- “Collecting and Maintaining Just-in-Time Statistics” Amr El-Helw, et al. Conference Paper 2007. 11 pages.
- “Just In Time Indexing” Pinaki Mitra, et al. NETs 2012 International Conference on Internet Studies, Aug. 17-19, 2012. 13 pages.
- “Predicting Query Execution Time for JIT Compiled Database Engines” Kostas Chasialis, et al. 13th Annual Conference on Innovative Data Systems Research (CIDR '23). Jan. 8-11, 2023. 1 pg.
- El-Helw et al., “Collecting and Maintaining Just-in-Time Statistics”, IEEE,2007,pp. 516-525 (Year: 2007).