Enabling efficient machine learning model inference using adaptive sampling for autonomous database services
Abstract
Herein are approaches for self-optimization of a database management system (DBMS) such as in real time. Adaptive just-in-time sampling techniques herein estimate database content statistics that a machine learning (ML) model may use to predict configuration settings that conserve computer resources such as execution time and storage space. In an embodiment, a computer repeatedly samples database content until a dynamic convergence criterion is satisfied. In each iteration of a series of sampling iterations, a subset of rows of a database table are sampled, and estimates of content statistics of the database table are adjusted based on the sampled subset of rows. Immediately or eventually after detecting dynamic convergence, a machine learning (ML) model predicts, based on the content statistic estimates, an optimal value for a configuration setting of the DBMS.
Interactive Citation Constellation Global Citation Ranking
Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 20 · Forward citations: 0.
Claims (2 — 1 Independent, 1 Dependent)
- Claim 1Independent Claim
A method comprising: in response to initiation of query planning that generates a query plan, repeatedly until a dynamic convergence criterion is satisfied: sampling a subset of values in a database table in a database management system (DBMS), and adjusting one or more content statistic estimates of the database table based on said subset of values in the database table; predicting, by a machine learning (ML) model and based on said one or more content statistic estimates of the database table, an optimal value for a query plan configuration setting; and generating the query plan, including a
- Claim 2Depends on #1
The method of claim 1 further comprising satisfying the dynamic convergence criterion based on repeatedly predicting the optimal value for t
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 (20)
Non-Patent Literature (5)
- Bishop et al., “Adaptive Sampling with the Ensemble Transform Kalman Filter. Part I: Theoretical Aspects”, Monthly Weather Review, vol. 129, Iss. 3, dated Mar. 2001, 17 pages.
- Chavan, U.S. Appl. No. 15/146,798, filed May 4, 2016, Interview Summary, Jan. 24, 2019.
- Chavan, U.S. Appl. No. 15/146,798, filed May 4, 2016, Notice of Allowance, Mar. 27, 2019.
- Chavan, U.S. Appl. No. 15/146,798, filed May 4, 2016, Office Action, Oct. 19, 2018.
- Duan et al., “Tuning Database Configuration Parameters with iTuned”, VLDB dated 2009, 12 pages.