A query plan result dataset fast generation method
By dividing the data range in the database system and building an overhead prediction model, the problems of high cost and low accuracy in generating query plan evaluation result datasets are solved, enabling fast and accurate generation of simulated data and supporting efficient training and optimization of learning-based query optimizers.
Patent Information
- Application Number
- CN202511740589.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2025-11-25
- Publication Date
- 2026-03-17
- Estimated Expiration
- 2045-11-25
AI Technical Summary
Existing technologies suffer from high computational costs and poor estimation accuracy when generating query plan evaluation result datasets. In particular, when dealing with the nonlinear and uncertain overhead of machine learning models, traditional methods cannot quickly generate massive amounts of evaluation data, hindering the development of learning-based query optimizers.
By dividing the full dataset into multiple sample data intervals, recording the total time cost and data characteristics of each interval, constructing randomly combined data intervals, and using a cost prediction model to estimate query execution results, a simulated dataset is generated, including specific feature fitting models for text, image, and video data, adapting to different system configurations.
It enables the low-cost and efficient generation of large amounts of simulated data that can be used to evaluate query plans, improves estimation accuracy, supports rapid training and optimization of learning optimizers, and is suitable for query optimization scenarios of various machine learning models.