Method of resource allocation based on SQL sentence runtime and computer equipment
A runtime and resource allocation technology, applied in resource allocation, calculation, program control design, etc., can solve problems such as inaccurate judgment, heavy user burden, and large system overhead, so as to reduce initialization overhead, improve user experience, The effect of reducing system overhead
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment Construction
[0026] The present invention is based on the method for the resource allocation of SQL statement running time, comprises the following steps:
[0027] Step 1. Collect the execution record ID, SQL statement and runtime of the SQL history;
[0028] Step 2. According to the execution record ID, obtain the resource allocated when the SQL statement is executed, form a resource vector R, parse the SQL statement to obtain the operator, table name and column name, query metadata information according to the table name and column name, and obtain data information , and correspond to the operator to form an operation vector OP, the resource vector R includes the number of Executors, the number of CPU cores of each Executor, and the size of the MEM;
[0029] Step 3. Taking runtime as the target variable, R and OP as predictor variables, using machine learning algorithms to establish a prediction module, and training the prediction model;
[0030] Step 4. Submit the SQL statement and the...
PUM
Abstract
Description
Claims
Application Information
- R&D Engineer
- R&D Manager
- IP Professional
- Industry Leading Data Capabilities
- Powerful AI technology
- Patent DNA Extraction
Browse by: Latest US Patents, China's latest patents, Technical Efficacy Thesaurus, Application Domain, Technology Topic, Popular Technical Reports.
© 2024 PatSnap. All rights reserved.Legal|Privacy policy|Modern Slavery Act Transparency Statement|Sitemap|About US| Contact US: help@patsnap.com