An intelligent index recommendation method based on word frequency analysis of MySQL slow query log
A recommendation method and slow query technology, applied in database query, energy-saving computing, structured data retrieval, etc., can solve the problems of subjective index creation, inability to match, lack of project operation data, etc., to avoid multiple single-column indexes and objective indexes Effect
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment Construction
[0023] The specific embodiments of the present invention will be described in further detail below with reference to the accompanying drawings.
[0024] The invention designs an index intelligent recommendation method based on the word frequency analysis of MySQL slow query log, which is used for obtaining the optimal index corresponding to the target table t for the target table t in MySQL that needs to recommend the index, including the following steps.
[0025] Step A. For all the SQL query statements in the preset time range in the MySQL slow query log, obtain all the SQL query statements including the target table t field, and form a set R, wherein the number of SQL query statements in the set R is N , then go to step B.
[0026] Step B. Obtain each query field in the set R, and obtain the number of times each query field appears in the set R, and obtain each field combination containing two query fields, and the two query fields in the field combination appear at the sam...
PUM

Abstract
Description
Claims
Application Information

- R&D
- Intellectual Property
- Life Sciences
- Materials
- Tech Scout
- Unparalleled Data Quality
- Higher Quality Content
- 60% Fewer Hallucinations
Browse by: Latest US Patents, China's latest patents, Technical Efficacy Thesaurus, Application Domain, Technology Topic, Popular Technical Reports.
© 2025 PatSnap. All rights reserved.Legal|Privacy policy|Modern Slavery Act Transparency Statement|Sitemap|About US| Contact US: help@patsnap.com