WO2024066635A1 - Method and system for intelligently optimizing database performance - Google Patents
Method and system for intelligently optimizing database performance Download PDFInfo
- Publication number
- WO2024066635A1 WO2024066635A1 PCT/CN2023/105360 CN2023105360W WO2024066635A1 WO 2024066635 A1 WO2024066635 A1 WO 2024066635A1 CN 2023105360 W CN2023105360 W CN 2023105360W WO 2024066635 A1 WO2024066635 A1 WO 2024066635A1
- Authority
- WO
- WIPO (PCT)
- Prior art keywords
- database performance
- model
- execution
- database
- performance optimization
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Ceased
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
- G06F16/20—Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
- G06F16/21—Design, administration or maintenance of databases
-
- Y—GENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
- Y02—TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
- Y02D—CLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
- Y02D10/00—Energy efficient computing, e.g. low power processors, power management or thermal management
Definitions
- the present application relates to the field of database technology, and more specifically, to a method and system for intelligently optimizing database performance.
- Database performance depends on many factors. From the operating system, it involves the number of threads executing tasks, system parameter configuration, etc.; from the database level, it involves table structure, storage method, query plan, SQL execution order, parameter setting, data storage location, etc.; from the hardware level, it involves disk throughput, seek time, memory space, CPU resources, etc. Therefore, database performance optimization can be adjusted and optimized from multiple levels: hardware system, operating system, and database itself.
- the solutions for database performance optimization cover hardware optimization, operating system optimization and database system optimization.
- Specific solutions include disk seek optimization, disk read and write optimization, CPU computing resource optimization, memory optimization, sub-library and sub-table optimization, distributed cache optimization, one master and multiple backups, storage system optimization, command query separation (CQS), data synchronization, query plan optimization, etc.
- CQS command query separation
- no matter which optimization solution is used it depends on the manual configuration or deployment of technicians.
- the optimization content is only adjusted for the part of database performance that can be optimized, making it impossible to achieve automatic intelligent optimization of database performance optimization, and unable to provide overall optimization for improving database performance.
- the so-called performance improvement is only limited to the improvement of local performance, which leads to bottlenecks in database performance optimization, difficulty in improvement, and optimization solutions that always fail to keep up with system requirements, and consumes a lot of manpower, material resources and time costs.
- the present invention provides a method and system for intelligent optimization of database performance.
- a database performance optimization model is constructed, and the database operation type and the call result of the database performance optimization model are calculated.
- the operating parameters of the database system are dynamically adjusted to complete the intelligent training and configuration optimization of the database performance optimization model, thereby realizing intelligent optimization of database performance from multiple levels of software and hardware, solving the technical problem that the current database performance optimization relies on manual configuration or deployment by technicians, improving the real-time and comprehensiveness of the database system performance optimization, as well as the performance, operation and maintenance efficiency and resource utilization of the database system, and saving a lot of manpower, material resources and time costs.
- the present invention provides a method for intelligently optimizing database performance, the method comprising:
- Step 1 Model initialization: According to the preset database performance parameters and operating environment parameters, a database performance optimization model is established and initialized;
- Step 2 Model call, monitor the task instructions executed by the database system in real time, call the database performance optimization model to execute the task instructions according to the task type, and generate the model call result after the task execution is completed;
- Step 3 Model training, adjusting the database performance optimization parameters according to the model call results, training the database performance optimization model, and obtaining an optimized database performance optimization model;
- Step 4 Model configuration optimization, automatically optimizing the configuration of the database system according to the optimized database performance optimization model
- Data preparation classify database performance parameters and operating environment parameters and mark key parameters
- Feature association Analyze database performance parameters and operating environment parameters, perform feature association based on the analysis results, and obtain a parameter feature association set;
- the initial value of the operating environment parameter is input into the database performance optimization model to obtain the initial database performance operation result
- the operation types include adding, deleting, modifying and querying, and the preset increment value is a default value set by the database administrator.
- the preset database performance parameters include: the number of concurrent transactions processed per unit time, request response time, single SQL instruction execution time, data compression ratio, and batch query speed;
- the operating environment parameters include: number of processors, cache type, cache space size, storage space size, disk read and write speed, number of core threads, memory space size, execution optimization plan, data distribution, and table query order.
- the steps of calling the database performance optimization model to execute the task instruction according to the task type are:
- the task is completed and the execution result is returned.
- the database performance optimization parameters are adjusted, and the specific steps of training the database performance optimization model are as follows:
- the database performance optimization model is preprocessed, and the preprocessing steps are:
- the corresponding database performance optimization model is initialized according to the operation type.
- the database performance parameter threshold is a parameter indicator preset by a database administrator according to the preset database performance parameter, and is used to evaluate the database operation performance.
- the operating environment parameters are tuned, and the steps of the tuning process are:
- the execution optimization scheme includes:
- the execution plan tree is decomposed according to the execution nodes, and the decomposed execution nodes are Mapping is performed according to the operating environment parameters to obtain an execution tree matching the operating environment parameters;
- the first execution cost is compared with the second execution cost. If the first execution cost is greater than the second execution cost, the first execution plan tree is selected as the execution optimization solution; if the first execution cost is less than the second execution cost, the second execution plan tree is selected as the execution optimization solution.
- the present invention also provides a system for implementing the database performance intelligent optimization method, the system comprising a model initialization module, a model calling module, a model training module and a configuration optimization module, wherein:
- the model initialization module is used to establish a database performance optimization model and initialize it according to preset database performance parameters and operating environment parameters;
- the model calling module is used to monitor the task instructions executed by the database system in real time, call the database performance optimization model to execute the task instructions according to the task type, and generate the model calling result after the task execution is completed;
- the model training module is used to adjust the database performance optimization parameters according to the model call result, train the database performance optimization model, and obtain an optimized database performance optimization model;
- the configuration optimization module is used to automatically optimize the configuration of the database system according to the optimized database performance optimization model
- Data preparation classify database performance parameters and operating environment parameters and mark key parameters
- Feature association Analyze database performance parameters and operating environment parameters, perform feature association based on the analysis results, and obtain a parameter feature association set;
- the present invention realizes the construction of a database performance optimization model through the correlation analysis of the performance parameters of the database and the operating environment parameters, and the database operation type and the call result of the database performance optimization model.
- the operating parameters of the database system are dynamically adjusted to complete the intelligent training and configuration optimization of the database performance optimization model, thereby avoiding the database performance optimization from relying on the manual configuration or deployment of technicians, or the optimization of database performance is limited to the operating parameters of some database systems, thereby realizing the intelligent optimization of database performance from multiple levels of software and hardware, and improving the real-time and comprehensiveness of the database system performance optimization.
- the performance, operation and maintenance efficiency, and resource utilization of the database system it saves a lot of manpower, material resources, and time costs.
- FIG1 is a schematic diagram showing a flow chart of a method for intelligently optimizing database performance according to an embodiment of the present invention
- FIG2 is a schematic diagram showing a flow chart of associating database performance parameters with operating environment parameter characteristics in a method for intelligently optimizing database performance proposed in an embodiment of the present invention
- FIG3 shows a schematic diagram of a process of training a database performance optimization model in a method for intelligently optimizing database performance according to an embodiment of the present invention
- FIG4 is a schematic diagram showing a flow chart of tuning the operating environment parameters of a method for intelligently optimizing database performance according to an embodiment of the present invention
- FIG5 shows a schematic diagram of the structure of a database performance intelligent optimization system proposed in an embodiment of the present invention.
- a method for intelligently optimizing database performance comprises the following steps:
- Data preparation classify database performance parameters and operating environment parameters and mark key parameters
- Feature association analyze database performance parameters and operating environment parameters, and Perform feature association to obtain a parameter feature association set
- the task is completed and the execution result is returned.
- the database performance parameters and the operating environment parameters are analyzed, and the steps of correlating features according to the analysis results are as follows:
- the operation types include adding, deleting, modifying and querying, and the preset increment value is a default value set by the database administrator.
- the preset database performance parameters include: the number of concurrent transactions processed per unit time, request response time, single SQL instruction execution time, data compression ratio, and batch query speed;
- the operating environment parameters include: number of processors, cache type, cache space size, storage space size, disk read and write speed, number of core threads, memory space size, execution optimization plan, data distribution, and table query order.
- the database performance optimization parameters are adjusted, and the specific steps of training the database performance optimization model are as follows:
- the pre-processing steps are:
- the corresponding database performance optimization model is initialized according to the operation type.
- the database performance parameter threshold is a parameter indicator preset by a database administrator based on the preset database performance parameter, and is used to evaluate the database operation performance.
- the operating environment parameters are tuned, and the steps of the tuning process are:
- the execution optimization scheme includes:
- the present invention discloses a database performance intelligent optimization system, which includes a model initialization module, a model calling module, a model training module and a configuration optimization module, wherein:
- the model initialization module is used to establish a database performance optimization model and initialize it according to preset database performance parameters and operating environment parameters;
- the model calling module is used to monitor the task instructions executed by the database system in real time, call the database performance optimization model to execute the task instructions according to the task type, and generate the model calling result after the task execution is completed;
- the model training module is used to adjust the database performance optimization parameters according to the model call results, train the database performance optimization model, and obtain the optimized database performance optimization model. type;
- the configuration optimization module is used to automatically optimize the configuration of the database system according to the optimized database performance optimization model
- Data preparation classify database performance parameters and operating environment parameters and mark key parameters
- Feature association Analyze database performance parameters and operating environment parameters, perform feature association based on the analysis results, and obtain a parameter feature association set;
Landscapes
- Engineering & Computer Science (AREA)
- Databases & Information Systems (AREA)
- Theoretical Computer Science (AREA)
- Data Mining & Analysis (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
Abstract
Description
本申请涉及数据库技术领域,更具体地,涉及一种数据库性能智能优化的方法及系统。The present application relates to the field of database technology, and more specifically, to a method and system for intelligently optimizing database performance.
数据库性能取决于诸多因素,从操作系统来说,涉及执行任务的线程数、系统参数配置等;从数据库层面来说,涉及表结构、存储方式、查询方案、SQL执行顺序、参数设置、数据存储位置等;从硬件的层面来说,涉及磁盘吞吐量、寻道时间、内存空间、CPU资源等。因此,数据库性能的优化,可以从硬件系统、操作系统和数据库本身多个层面进行调整和优化。Database performance depends on many factors. From the operating system, it involves the number of threads executing tasks, system parameter configuration, etc.; from the database level, it involves table structure, storage method, query plan, SQL execution order, parameter setting, data storage location, etc.; from the hardware level, it involves disk throughput, seek time, memory space, CPU resources, etc. Therefore, database performance optimization can be adjusted and optimized from multiple levels: hardware system, operating system, and database itself.
当前,数据库性能优化的方案涵盖了硬件层面的优化、操作系统的优化和数据库系统优化,具体方案包括磁盘寻道优化、磁盘读写优化、CPU计算资源优化、内存优化、分库分表、分布式缓存优化、一主多备、存储系统优化、命令查询分离(CQS)、数据同步、查询计划优化等,其中有单一优化方案的应用,也有多种优化方案组合的应用。但是,无论哪种优化方案都要依赖于技术人员的手动配置或部署,优化的内容也只是针对数据库性能可优化的一部分进行调整,使得数据库性能的优化无法实现自动的智能优化,且无法为数据库性能的提升提供整体的优化,所谓的性能提升也仅仅局限于局部性能的提升,导致数据库性能优化遇到瓶颈,提升困难、优化方案提出总是跟不上系统需求,且耗费了大量的人力、物力和时间成本。At present, the solutions for database performance optimization cover hardware optimization, operating system optimization and database system optimization. Specific solutions include disk seek optimization, disk read and write optimization, CPU computing resource optimization, memory optimization, sub-library and sub-table optimization, distributed cache optimization, one master and multiple backups, storage system optimization, command query separation (CQS), data synchronization, query plan optimization, etc. There are single optimization solutions and multiple optimization solutions combined. However, no matter which optimization solution is used, it depends on the manual configuration or deployment of technicians. The optimization content is only adjusted for the part of database performance that can be optimized, making it impossible to achieve automatic intelligent optimization of database performance optimization, and unable to provide overall optimization for improving database performance. The so-called performance improvement is only limited to the improvement of local performance, which leads to bottlenecks in database performance optimization, difficulty in improvement, and optimization solutions that always fail to keep up with system requirements, and consumes a lot of manpower, material resources and time costs.
基于此,有必要引入一种新的方法及系统,能够自动化综合多方面数据库性能的影响因素,快速地提供覆盖硬件系统、操作系统和数据库系统三层的整体优化方案,以解决现有技术中数据库性能优化方案的局限性、延迟性和依赖性,进而快速、全面地提升数据库系统的整体性能,实现数据库性能优化的自动化和智能化。Based on this, it is necessary to introduce a new method and system that can automatically integrate the influencing factors of various aspects of database performance and quickly provide an overall optimization solution covering the three layers of hardware system, operating system and database system to solve the limitations, delays and dependencies of database performance optimization solutions in the existing technology, thereby quickly and comprehensively improving the overall performance of the database system and realizing the automation and intelligence of database performance optimization.
发明内容 Summary of the invention
针对上面提到的技术问题,本发明提供一种数据库性能智能优化的方法及系统,通过数据库的性能参数与运行环境参数的关联分析,构建数据库性能优化模型,并数据库操作类型和数据库性能优化模型的调用结果,在数据库系统闲置时,通过动态调整数据库系统的运行参数,完成数据库性能优化模型的智能化训练和配置优化,进而实现从软件和硬件多个层面对数据库性能进行智能优化,解决了当前数据库性能优化依赖于技术人员的手动配置或部署的技术难题,提升了数据库系统性能优化的实时性和全面性,以及数据库系统运行的性能、运维效率和资源利用率,且节省了大量的人力、物力和时间成本。In response to the technical problems mentioned above, the present invention provides a method and system for intelligent optimization of database performance. Through the correlation analysis of the performance parameters of the database and the operating environment parameters, a database performance optimization model is constructed, and the database operation type and the call result of the database performance optimization model are calculated. When the database system is idle, the operating parameters of the database system are dynamically adjusted to complete the intelligent training and configuration optimization of the database performance optimization model, thereby realizing intelligent optimization of database performance from multiple levels of software and hardware, solving the technical problem that the current database performance optimization relies on manual configuration or deployment by technicians, improving the real-time and comprehensiveness of the database system performance optimization, as well as the performance, operation and maintenance efficiency and resource utilization of the database system, and saving a lot of manpower, material resources and time costs.
本发明提供一种数据库性能智能优化方法,所述方法包括:The present invention provides a method for intelligently optimizing database performance, the method comprising:
步骤1:模型初始化,根据预设数据库性能参数及运行环境参数,建立数据库性能优化模型,并对其进行初始化;Step 1: Model initialization: According to the preset database performance parameters and operating environment parameters, a database performance optimization model is established and initialized;
步骤2:模型调用,实时对数据库系统执行的任务指令进行监听,根据任务类型调用所述数据库性能优化模型执行所述任务指令,并在任务执行结束后生成模型调用结果;Step 2: Model call, monitor the task instructions executed by the database system in real time, call the database performance optimization model to execute the task instructions according to the task type, and generate the model call result after the task execution is completed;
步骤3:模型训练,根据所述模型调用结果,调整所述数据库性能优化参数,对所述数据库性能优化模型进行训练,得到优化后的数据库性能优化模型;Step 3: Model training, adjusting the database performance optimization parameters according to the model call results, training the database performance optimization model, and obtaining an optimized database performance optimization model;
步骤4:模型配置优化,根据优化后的所述数据库性能优化模型,对所述数据库系统进行自动优化配置;Step 4: Model configuration optimization, automatically optimizing the configuration of the database system according to the optimized database performance optimization model;
其中,所述建立数据库性能优化模型的步骤为:The steps of establishing a database performance optimization model are as follows:
数据准备,将数据库性能参数与运行环境参数进行分类并标记关键参数;Data preparation: classify database performance parameters and operating environment parameters and mark key parameters;
特征关联,将数据库性能参数与运行环境参数进行分析,根据分析结果进行特征关联,得到参数特征关联集合;Feature association: Analyze database performance parameters and operating environment parameters, perform feature association based on the analysis results, and obtain a parameter feature association set;
运行并确定最终优化模型。Run and determine the final optimized model.
如上所述,将数据库性能参数与运行环境参数进行分析,根据分析结果进行特征关联的步骤为:As described above, the database performance parameters and the operating environment parameters are analyzed, and the steps for feature association based on the analysis results are as follows:
1)配置所述运行环境参数,将每个所述运行环境参数的最小值作为初始值;1) configuring the operating environment parameters, taking the minimum value of each operating environment parameter as the initial value;
2)根据数据操作类型,将所述运行环境参数的初始值输入所述数据库性能优化模型,得到初始数据库性能运行结果; 2) According to the data operation type, the initial value of the operating environment parameter is input into the database performance optimization model to obtain the initial database performance operation result;
3)按照预设增量值逐一增加所述运行环境参数的初始值,得到所述运行环境参数的增量值,并将所述增量值分别输入所述数据库性能优化模型,得到增量数据库性能运行结果;3) increasing the initial values of the operating environment parameters one by one according to the preset incremental values to obtain incremental values of the operating environment parameters, and inputting the incremental values into the database performance optimization model to obtain incremental database performance operation results;
4)分析所述初始数据库性能运行结果和所述增量数据库性能运行结果,确定所述运行环境参数与所述数据库性能参数的关联特征,得到参数特征关联集合;4) analyzing the initial database performance operation result and the incremental database performance operation result, determining the correlation characteristics between the operating environment parameters and the database performance parameters, and obtaining a parameter characteristic correlation set;
其中,所述操作类型包括增加、删除、修改和查询,预设增量值为数据库管理人员设置默认值。The operation types include adding, deleting, modifying and querying, and the preset increment value is a default value set by the database administrator.
所述预设数据库性能参数包括:单位时间处理的并发事务数、请求响应时间、单条SQL指令执行时间、数据压缩比、批量查询速度;The preset database performance parameters include: the number of concurrent transactions processed per unit time, request response time, single SQL instruction execution time, data compression ratio, and batch query speed;
所述运行环境参数包括:处理器数量、缓存类型、缓存空间大小、存储空间大小、磁盘读写速度、核心线程数、内存空间大小、执行优化方案、数据分布、表查询顺序。The operating environment parameters include: number of processors, cache type, cache space size, storage space size, disk read and write speed, number of core threads, memory space size, execution optimization plan, data distribution, and table query order.
如上所述,根据任务类型调用所述数据库性能优化模型执行所述任务指令的步骤为:As described above, the steps of calling the database performance optimization model to execute the task instruction according to the task type are:
对SQL指令进行解析,得到执行计划,并判断确定所述执行计划的操作类型;Parse the SQL instruction to obtain an execution plan, and determine the operation type of the execution plan;
根据所述操作类型确定对应的数据库性能优化模型,如果存在与所述操作类型对应的数据库性能优化模型,则按照所述数据库性能优化模型执行所述执行计划,并标记所述模型调用结果为true;如果不存在与所述类型对应的数据库性能优化模型,则按照初始化的数据库性能优化模型执行所述执行计划,并标记所述模型调用结果为false;Determine a corresponding database performance optimization model according to the operation type; if a database performance optimization model corresponding to the operation type exists, execute the execution plan according to the database performance optimization model, and mark the model call result as true; if no database performance optimization model corresponding to the type exists, execute the execution plan according to the initialized database performance optimization model, and mark the model call result as false;
任务执行完成,返回执行结果。The task is completed and the execution result is returned.
如上所述,根据所述模型调用结果,调整所述数据库性能优化参数,对所述数据库性能优化模型进行训练的具体步骤为:As described above, according to the model call result, the database performance optimization parameters are adjusted, and the specific steps of training the database performance optimization model are as follows:
1)根据所述模型调用结果,对所述数据库性能优化模型进行预处理;1) Preprocessing the database performance optimization model according to the model call result;
2)数据库性能优化模型训练,根据预处理结果和所述参数特征关联集合分析影响数据库性能的所述运行环境参数,对所述运行环境参数进行调优处理,得到数据库性能优化结果;2) database performance optimization model training, analyzing the operating environment parameters that affect database performance based on the preprocessing results and the parameter feature association set, and tuning the operating environment parameters to obtain database performance optimization results;
3)分析模型训练结果,将所述数据库性能优化结果和所述模型调用结果进行比较分析,得到最优的所述参数特征关联集合;并根据所述参数特征关 联集合,确定所述运行环境参数的值;3) Analyze the model training results, compare and analyze the database performance optimization results and the model call results, and obtain the optimal parameter feature association set; and The set is connected to determine the value of the operating environment parameter;
4)确定数据库性能优化模型,将所述运行环境参数的值进行计算,得到优化后的数据库性能优化模型;4) Determine a database performance optimization model, calculate the values of the operating environment parameters, and obtain an optimized database performance optimization model;
如上所述,根据所述模型调用结果,对所述数据库性能优化模型进行预处理,所述预处理的步骤为:As described above, according to the model call result, the database performance optimization model is preprocessed, and the preprocessing steps are:
如果所述模型调用结果为true,则将调用的所述数据库性能模型的数据库性能参数值与数据库性能参数阈值进行比较;If the model calling result is true, then comparing the database performance parameter value of the called database performance model with the database performance parameter threshold;
如果所述模型调用结果为false,则根据所述操作类型初始化对应的数据库性能优化模型。If the model call result is false, the corresponding database performance optimization model is initialized according to the operation type.
其中,所述数据库性能参数阈值为数据库管理人员根据所述预设数据库性能参数预设的参数指标,用于评价数据库运行性能。The database performance parameter threshold is a parameter indicator preset by a database administrator according to the preset database performance parameter, and is used to evaluate the database operation performance.
如上所述,对所述运行环境参数进行调优处理,所述调优处理的步骤为:As described above, the operating environment parameters are tuned, and the steps of the tuning process are:
1)分别调用系统提供的每个所述执行优化方案替代数据库性能优化模型中的执行优化方案,执行所述执行计划,并对执行结果进行比较,得到第一数据库性能优化结果;1) respectively calling each of the execution optimization schemes provided by the system to replace the execution optimization scheme in the database performance optimization model, executing the execution plan, and comparing the execution results to obtain a first database performance optimization result;
2)根据所述执行计划获得任务执行中涉及的数据表,并根据数据表的从小到大的顺序重新排列所述表查询顺序,执行所述执行计划,并对执行结果进行比较,得到第二数据库性能优化结果;2) obtaining data tables involved in task execution according to the execution plan, rearranging the table query order according to the order of the data tables from small to large, executing the execution plan, and comparing the execution results to obtain the second database performance optimization result;
3)根据所述数据表中数据在数据库中的分布区域,重新调整所述数据分布,并执行所述执行计划,对执行结果进行比较,得到第三数据库性能优化结果;3) readjusting the data distribution according to the distribution area of the data in the data table in the database, executing the execution plan, comparing the execution results, and obtaining the third database performance optimization result;
4)分别调整所述处理器数量、所述缓存类型、所述缓存空间大小、所述存储空间大小、所述磁盘读写速度、所述核心线程数和所述内存空间大小,并分别得到对应的执行结果,对执行结果进行比较,得到第四数据库性能优化结果;4) respectively adjusting the number of processors, the cache type, the cache space size, the storage space size, the disk read and write speed, the number of core threads, and the memory space size, and obtaining corresponding execution results respectively, comparing the execution results, and obtaining a fourth database performance optimization result;
5)将第一数据库性能优化结果、第二数据库性能优化结果、第三数据库性能优化结果和第四数据库性能优化结果对应的所述运行环境参数进行组合,得到所述数据库性能优化结果。5) Combining the operating environment parameters corresponding to the first database performance optimization result, the second database performance optimization result, the third database performance optimization result, and the fourth database performance optimization result to obtain the database performance optimization result.
其中,所述执行优化方案包括:The execution optimization scheme includes:
对所述执行计划进行解析,得到对应第一执行计划树和第一执行代价;Parsing the execution plan to obtain a corresponding first execution plan tree and a first execution cost;
根据执行节点对所述执行计划树进行分解,并对分解后的所述执行节点 按照所述运行环境参数进行映射,得到与所述运行环境参数匹配的执行树;The execution plan tree is decomposed according to the execution nodes, and the decomposed execution nodes are Mapping is performed according to the operating environment parameters to obtain an execution tree matching the operating environment parameters;
将所述执行树的执行节点合并输出,得到第二执行计划树和第二执行代价;Merge and output the execution nodes of the execution tree to obtain a second execution plan tree and a second execution cost;
将第一执行代价与第二执行代价进行比较,如果第一执行代价大于第二执行代价,则选择第一执行计划树作为所述执行优化方案;如果第一执行代价小于第二执行代价,则选择第二执行计划树作为所述执行优化方案。The first execution cost is compared with the second execution cost. If the first execution cost is greater than the second execution cost, the first execution plan tree is selected as the execution optimization solution; if the first execution cost is less than the second execution cost, the second execution plan tree is selected as the execution optimization solution.
相应的,本发明还提供了一种实施所述数据库性能智能优化方法的系统,所述系统包括模型初始化模块、模型调用模块、模型训练模块和配置优化模块,其中,Accordingly, the present invention also provides a system for implementing the database performance intelligent optimization method, the system comprising a model initialization module, a model calling module, a model training module and a configuration optimization module, wherein:
模型初始化模块用于根据预设数据库性能参数及运行环境参数,建立数据库性能优化模型,并对其进行初始化;The model initialization module is used to establish a database performance optimization model and initialize it according to preset database performance parameters and operating environment parameters;
模型调用模块用于实时对数据库系统执行的任务指令进行监听,根据任务类型调用所述数据库性能优化模型执行所述任务指令,并在任务执行结束后生成模型调用结果;The model calling module is used to monitor the task instructions executed by the database system in real time, call the database performance optimization model to execute the task instructions according to the task type, and generate the model calling result after the task execution is completed;
模型训练模块用于根据所述模型调用结果,调整所述数据库性能优化参数,对所述数据库性能优化模型进行训练,得到优化后的数据库性能优化模型;The model training module is used to adjust the database performance optimization parameters according to the model call result, train the database performance optimization model, and obtain an optimized database performance optimization model;
配置优化模块用于根据优化后的所述数据库性能优化模型,对所述数据库系统进行自动优化配置;The configuration optimization module is used to automatically optimize the configuration of the database system according to the optimized database performance optimization model;
所述建立数据库性能优化模型的步骤为:The steps of establishing the database performance optimization model are:
数据准备,将数据库性能参数与运行环境参数进行分类并标记关键参数;Data preparation: classify database performance parameters and operating environment parameters and mark key parameters;
特征关联,将数据库性能参数与运行环境参数进行分析,根据分析结果进行特征关联,得到参数特征关联集合;Feature association: Analyze database performance parameters and operating environment parameters, perform feature association based on the analysis results, and obtain a parameter feature association set;
运行并确定最终优化模型。Run and determine the final optimized model.
本发明通过应用以上技术方案,实现了通过数据库的性能参数与运行环境参数的关联分析,构建数据库性能优化模型,并数据库操作类型和数据库性能优化模型的调用结果,在数据库系统闲置时,通过动态调整数据库系统的运行参数,完成数据库性能优化模型的智能化训练和配置优化,避免了数据库性能优化依赖于技术人员的手动配置或部署,或对数据库性能的优化仅仅局限于部分数据库系统运行的参数,进而实现了从软件和硬件多个层面对数据库性能进行智能优化,提升了数据库系统性能优化的实时性和全面性, 以及数据库系统运行的性能、运维效率和资源利用率,且节省了大量的人力、物力和时间成本。By applying the above technical scheme, the present invention realizes the construction of a database performance optimization model through the correlation analysis of the performance parameters of the database and the operating environment parameters, and the database operation type and the call result of the database performance optimization model. When the database system is idle, the operating parameters of the database system are dynamically adjusted to complete the intelligent training and configuration optimization of the database performance optimization model, thereby avoiding the database performance optimization from relying on the manual configuration or deployment of technicians, or the optimization of database performance is limited to the operating parameters of some database systems, thereby realizing the intelligent optimization of database performance from multiple levels of software and hardware, and improving the real-time and comprehensiveness of the database system performance optimization. As well as the performance, operation and maintenance efficiency, and resource utilization of the database system, it saves a lot of manpower, material resources, and time costs.
为了更清楚地说明本申请实施例中的技术方案,下面将对实施例描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本申请的一些实施例,对于本领域技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他的附图。In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings required for use in the description of the embodiments will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present application. For those skilled in the art, other drawings can be obtained based on these drawings without creative work.
图1示出了本发明实施例提出的一种数据库性能智能优化方法的流程示意图;FIG1 is a schematic diagram showing a flow chart of a method for intelligently optimizing database performance according to an embodiment of the present invention;
图2示出了本发明实施例提出的一种数据库性能智能优化方法的数据库性能参数与运行环境参数特征关联的流程示意图;FIG2 is a schematic diagram showing a flow chart of associating database performance parameters with operating environment parameter characteristics in a method for intelligently optimizing database performance proposed in an embodiment of the present invention;
图3示出了本发明实施例提出的一种数据库性能智能优化方法的数据库性能优化模型训练的流程示意图;FIG3 shows a schematic diagram of a process of training a database performance optimization model in a method for intelligently optimizing database performance according to an embodiment of the present invention;
图4示出了本发明实施例提出的一种数据库性能智能优化方法的对运行环境参数进行调优处理的流程示意图;FIG4 is a schematic diagram showing a flow chart of tuning the operating environment parameters of a method for intelligently optimizing database performance according to an embodiment of the present invention;
图5示出了本发明实施例提出的一种数据库性能智能优化系统的结构示意图。FIG5 shows a schematic diagram of the structure of a database performance intelligent optimization system proposed in an embodiment of the present invention.
下面将结合本申请实施例中的附图,对本申请实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例仅仅是本申请一部分实施例,而不是全部的实施例。基于本申请中的实施例,本领域普通技术人员在没有做出创造性劳动前提下所获得的所有其他实施例,都属于本申请保护的范围。The following will be combined with the drawings in the embodiments of the present application to clearly and completely describe the technical solutions in the embodiments of the present application. Obviously, the described embodiments are only part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of this application.
如图1所示,本发明的一种数据库性能智能优化方法,所述方法包括以下步骤:As shown in FIG1 , a method for intelligently optimizing database performance according to the present invention comprises the following steps:
S101,模型初始化,根据预设数据库性能参数及运行环境参数,建立数据库性能优化模型,并对其进行初始化;S101, model initialization, establishing a database performance optimization model according to preset database performance parameters and operating environment parameters, and initializing it;
其中,所述建立数据库性能优化模型的步骤为:The steps of establishing a database performance optimization model are as follows:
数据准备,将数据库性能参数与运行环境参数进行分类并标记关键参数;Data preparation: classify database performance parameters and operating environment parameters and mark key parameters;
特征关联,将数据库性能参数与运行环境参数进行分析,根据分析结果 进行特征关联,得到参数特征关联集合;Feature association, analyze database performance parameters and operating environment parameters, and Perform feature association to obtain a parameter feature association set;
运行并确定最终优化模型;Run and determine the final optimization model;
S102,模型调用,实时对数据库系统执行的任务指令进行监听,根据任务类型调用所述数据库性能优化模型执行所述任务指令,并在任务执行结束后生成模型调用结果;S102, model calling, monitoring the task instructions executed by the database system in real time, calling the database performance optimization model to execute the task instructions according to the task type, and generating a model calling result after the task execution is completed;
其中,根据任务类型调用所述数据库性能优化模型执行所述任务指令的步骤为:The steps of calling the database performance optimization model to execute the task instruction according to the task type are as follows:
对SQL指令进行解析,得到执行计划,并判断确定所述执行计划的操作类型;Parse the SQL instruction to obtain an execution plan, and determine the operation type of the execution plan;
根据所述操作类型确定对应的数据库性能优化模型,如果存在与所述操作类型对应的数据库性能优化模型,则按照所述数据库性能优化模型执行所述执行计划,并标记所述模型调用结果为true;如果不存在与所述类型对应的数据库性能优化模型,则按照初始化的数据库性能优化模型执行所述执行计划,并标记所述模型调用结果为false;Determine a corresponding database performance optimization model according to the operation type; if a database performance optimization model corresponding to the operation type exists, execute the execution plan according to the database performance optimization model, and mark the model call result as true; if no database performance optimization model corresponding to the type exists, execute the execution plan according to the initialized database performance optimization model, and mark the model call result as false;
任务执行完成,返回执行结果。The task is completed and the execution result is returned.
S103,模型训练,根据所述模型调用结果,调整所述数据库性能优化参数,对所述数据库性能优化模型进行训练,得到优化后的数据库性能优化模型;S103, model training, adjusting the database performance optimization parameters according to the model call result, training the database performance optimization model, and obtaining an optimized database performance optimization model;
S104,模型配置优化,根据优化后的所述数据库性能优化模型,对所述数据库系统进行自动优化配置。S104, model configuration optimization, automatically optimizing the configuration of the database system according to the optimized database performance optimization model.
如图2所示,将数据库性能参数与运行环境参数进行分析,根据分析结果进行特征关联的步骤为:As shown in FIG2 , the database performance parameters and the operating environment parameters are analyzed, and the steps of correlating features according to the analysis results are as follows:
S201,配置所述运行环境参数,将每个所述运行环境参数的最小值作为初始值;S201, configuring the operating environment parameters, taking the minimum value of each operating environment parameter as an initial value;
S202,根据数据操作类型,将所述运行环境参数的初始值输入所述数据库性能优化模型,得到初始数据库性能运行结果;S202, inputting the initial value of the operating environment parameter into the database performance optimization model according to the data operation type to obtain an initial database performance operating result;
S203,按照预设增量值逐一增加所述运行环境参数的初始值,得到所述运行环境参数的增量值,并将所述增量值分别输入所述数据库性能优化模型,得到增量数据库性能运行结果;S203, increasing the initial value of the operating environment parameter one by one according to the preset incremental value to obtain the incremental value of the operating environment parameter, and inputting the incremental value into the database performance optimization model respectively to obtain the incremental database performance operation result;
S204,分析所述初始数据库性能运行结果和所述增量数据库性能运行结果,确定所述运行环境参数与所述数据库性能参数的关联特征,得到参数特 征关联集合;S204, analyzing the initial database performance operation result and the incremental database performance operation result, determining the correlation characteristics between the operation environment parameters and the database performance parameters, and obtaining the parameter characteristics. The associated set;
其中,所述操作类型包括增加、删除、修改和查询,预设增量值为数据库管理人员设置默认值。The operation types include adding, deleting, modifying and querying, and the preset increment value is a default value set by the database administrator.
所述预设数据库性能参数包括:单位时间处理的并发事务数、请求响应时间、单条SQL指令执行时间、数据压缩比、批量查询速度;The preset database performance parameters include: the number of concurrent transactions processed per unit time, request response time, single SQL instruction execution time, data compression ratio, and batch query speed;
所述运行环境参数包括:处理器数量、缓存类型、缓存空间大小、存储空间大小、磁盘读写速度、核心线程数、内存空间大小、执行优化方案、数据分布、表查询顺序。The operating environment parameters include: number of processors, cache type, cache space size, storage space size, disk read and write speed, number of core threads, memory space size, execution optimization plan, data distribution, and table query order.
如图3所示,根据所述模型调用结果,调整所述数据库性能优化参数,对所述数据库性能优化模型进行训练的具体步骤为:As shown in FIG3 , according to the model call result, the database performance optimization parameters are adjusted, and the specific steps of training the database performance optimization model are as follows:
S301,根据所述模型调用结果,对所述数据库性能优化模型进行预处理;S301, preprocessing the database performance optimization model according to the model calling result;
其中,所述预处理的步骤为:Wherein, the pre-processing steps are:
如果所述模型调用结果为true,则将调用的所述数据库性能模型的数据库性能参数值与数据库性能参数阈值进行比较;If the model calling result is true, then comparing the database performance parameter value of the called database performance model with the database performance parameter threshold;
如果所述模型调用结果为false,则根据所述操作类型初始化对应的数据库性能优化模型。If the model call result is false, the corresponding database performance optimization model is initialized according to the operation type.
所述数据库性能参数阈值为数据库管理人员根据所述预设数据库性能参数预设的参数指标,用于评价数据库运行性能。The database performance parameter threshold is a parameter indicator preset by a database administrator based on the preset database performance parameter, and is used to evaluate the database operation performance.
S302,数据库性能优化模型训练,根据预处理结果和所述参数特征关联集合分析影响数据库性能的所述运行环境参数,对所述运行环境参数进行调优处理,得到数据库性能优化结果;S302, database performance optimization model training, analyzing the operating environment parameters that affect database performance according to the preprocessing results and the parameter feature association set, and tuning the operating environment parameters to obtain database performance optimization results;
S303,分析模型训练结果,将所述数据库性能优化结果和所述模型调用结果进行比较分析,得到最优的所述参数特征关联集合;并根据所述参数特征关联集合,确定所述运行环境参数的值;S303, analyzing the model training results, comparing and analyzing the database performance optimization results and the model call results, and obtaining the optimal parameter feature association set; and determining the value of the operating environment parameter according to the parameter feature association set;
S304,确定数据库性能优化模型,将所述运行环境参数的值进行计算,得到优化后的数据库性能优化模型;S304, determining a database performance optimization model, calculating the values of the operating environment parameters, and obtaining an optimized database performance optimization model;
如图4所示,对所述运行环境参数进行调优处理,所述调优处理的步骤为:As shown in FIG4 , the operating environment parameters are tuned, and the steps of the tuning process are:
S401,分别调用系统提供的每个所述执行优化方案替代数据库性能优化模型中的执行优化方案,执行所述执行计划,并对执行结果进行比较,得到第一数据库性能优化结果; S401, respectively calling each of the execution optimization schemes provided by the system to replace the execution optimization schemes in the database performance optimization model, executing the execution plan, and comparing the execution results to obtain a first database performance optimization result;
S402,根据所述执行计划获得任务执行中涉及的数据表,并根据数据表的从小到大的顺序重新排列所述表查询顺序,执行所述执行计划,并对执行结果进行比较,得到第二数据库性能优化结果;S402, obtaining data tables involved in task execution according to the execution plan, rearranging the table query order according to the order of the data tables from small to large, executing the execution plan, and comparing the execution results to obtain a second database performance optimization result;
其中,所述执行优化方案包括:The execution optimization scheme includes:
对所述执行计划进行解析,得到对应第一执行计划树和第一执行代价;Parsing the execution plan to obtain a corresponding first execution plan tree and a first execution cost;
根据执行节点对所述执行计划树进行分解,并对分解后的所述执行节点按照所述运行环境参数进行映射,得到与所述运行环境参数匹配的执行树;Decomposing the execution plan tree according to the execution nodes, and mapping the decomposed execution nodes according to the operating environment parameters to obtain an execution tree matching the operating environment parameters;
将所述执行树的执行节点合并输出,得到第二执行计划树和第二执行代价;Merge and output the execution nodes of the execution tree to obtain a second execution plan tree and a second execution cost;
将第一执行代价与第二执行代价进行比较,如果第一执行代价大于第二执行代价,则选择第一执行计划树作为所述执行优化方案;如果第一执行代价小于第二执行代价,则选择第二执行计划树作为所述执行优化方案;Compare the first execution cost with the second execution cost, and if the first execution cost is greater than the second execution cost, select the first execution plan tree as the execution optimization solution; if the first execution cost is less than the second execution cost, select the second execution plan tree as the execution optimization solution;
S403,根据所述数据表中数据在数据库中的分布区域,重新调整所述数据分布,并执行所述执行计划,对执行结果进行比较,得到第三数据库性能优化结果;S403, readjusting the data distribution according to the distribution area of the data in the data table in the database, executing the execution plan, comparing the execution results, and obtaining a third database performance optimization result;
S404,分别调整所述处理器数量、所述缓存类型、所述缓存空间大小、所述存储空间大小、所述磁盘读写速度、所述核心线程数和所述内存空间大小,并分别得到对应的执行结果,对执行结果进行比较,得到第四数据库性能优化结果;S404, respectively adjusting the number of processors, the cache type, the cache space size, the storage space size, the disk read and write speed, the number of core threads, and the memory space size, and respectively obtaining corresponding execution results, and comparing the execution results to obtain a fourth database performance optimization result;
S405,将第一数据库性能优化结果、第二数据库性能优化结果、第三数据库性能优化结果和第四数据库性能优化结果对应的所述运行环境参数进行组合,得到所述数据库性能优化结果。S405, combining the operating environment parameters corresponding to the first database performance optimization result, the second database performance optimization result, the third database performance optimization result, and the fourth database performance optimization result to obtain the database performance optimization result.
如图5所示,本发明公开了一种数据库性能智能优化系统,所述系统包括模型初始化模块、模型调用模块、模型训练模块和配置优化模块,其中:As shown in FIG5 , the present invention discloses a database performance intelligent optimization system, which includes a model initialization module, a model calling module, a model training module and a configuration optimization module, wherein:
模型初始化模块用于根据预设数据库性能参数及运行环境参数,建立数据库性能优化模型,并对其进行初始化;The model initialization module is used to establish a database performance optimization model and initialize it according to preset database performance parameters and operating environment parameters;
模型调用模块用于实时对数据库系统执行的任务指令进行监听,根据任务类型调用所述数据库性能优化模型执行所述任务指令,并在任务执行结束后生成模型调用结果;The model calling module is used to monitor the task instructions executed by the database system in real time, call the database performance optimization model to execute the task instructions according to the task type, and generate the model calling result after the task execution is completed;
模型训练模块用于根据所述模型调用结果,调整所述数据库性能优化参数,对所述数据库性能优化模型进行训练,得到优化后的数据库性能优化模 型;The model training module is used to adjust the database performance optimization parameters according to the model call results, train the database performance optimization model, and obtain the optimized database performance optimization model. type;
配置优化模块用于根据优化后的所述数据库性能优化模型,对所述数据库系统进行自动优化配置;The configuration optimization module is used to automatically optimize the configuration of the database system according to the optimized database performance optimization model;
所述建立数据库性能优化模型的步骤为:The steps of establishing the database performance optimization model are:
数据准备,将数据库性能参数与运行环境参数进行分类并标记关键参数;Data preparation: classify database performance parameters and operating environment parameters and mark key parameters;
特征关联,将数据库性能参数与运行环境参数进行分析,根据分析结果进行特征关联,得到参数特征关联集合;Feature association: Analyze database performance parameters and operating environment parameters, perform feature association based on the analysis results, and obtain a parameter feature association set;
运行并确定最终优化模型。Run and determine the final optimized model.
本说明书中的各个实施例均采用相关的方式描述,各个实施例之间相同相似的部分互相参见即可,每个实施例重点说明的都是与其他实施例的不同之处。Each embodiment in this specification is described in a related manner, and the same or similar parts between the embodiments can be referenced to each other, and each embodiment focuses on the differences from other embodiments.
以上所述仅为本发明的较佳实施例而已,并非用于限定本发明的保护范围。凡在本发明的精神和原则之内所作的任何修改、等同替换、改进等,均包含在本发明的保护范围内。 The above description is only a preferred embodiment of the present invention and is not intended to limit the protection scope of the present invention. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present invention are included in the protection scope of the present invention.
Claims (9)
Applications Claiming Priority (2)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN202211219319.4 | 2022-09-30 | ||
| CN202211219319.4A CN115640278B (en) | 2022-09-30 | 2022-09-30 | Method and system for intelligently optimizing database performance |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| WO2024066635A1 true WO2024066635A1 (en) | 2024-04-04 |
Family
ID=84943021
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| PCT/CN2023/105360 Ceased WO2024066635A1 (en) | 2022-09-30 | 2023-06-30 | Method and system for intelligently optimizing database performance |
Country Status (2)
| Country | Link |
|---|---|
| CN (1) | CN115640278B (en) |
| WO (1) | WO2024066635A1 (en) |
Cited By (2)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN119849643A (en) * | 2025-03-20 | 2025-04-18 | 苏州元脑智能科技有限公司 | Model environment parameter optimization method, device, medium and program product |
| WO2025246567A1 (en) * | 2024-05-27 | 2025-12-04 | 华为技术有限公司 | Parameter configuration method and apparatus for database, device and storage medium |
Families Citing this family (3)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN115640278B (en) * | 2022-09-30 | 2023-08-08 | 北京柏睿数据技术股份有限公司 | Method and system for intelligently optimizing database performance |
| CN116701342A (en) * | 2023-02-16 | 2023-09-05 | 郑州大学 | A Relational Database Parameter Optimization Method Based on Reinforcement Learning Model |
| CN118363947B (en) * | 2024-06-20 | 2024-09-17 | 西安电子科技大学 | Database Alternative Method for Electric Power Marketing Business |
Citations (6)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN103853786A (en) * | 2012-12-06 | 2014-06-11 | 中国电信股份有限公司 | Method and system for optimizing database parameters |
| US20190220535A1 (en) * | 2018-01-18 | 2019-07-18 | Electronics And Telecommunications Research Instit Ute | Database system based on jit compilation, query processing method thereof, and stored procedure optimization method thereof |
| CN112486780A (en) * | 2020-12-17 | 2021-03-12 | 中职物联(湖北)信息科技有限公司 | Database performance real-time monitoring and diagnosing method and system based on message middleware |
| CN113064879A (en) * | 2021-03-12 | 2021-07-02 | 腾讯科技(深圳)有限公司 | Database parameter adjusting method and device and computer readable storage medium |
| WO2022001965A1 (en) * | 2020-06-30 | 2022-01-06 | 中兴通讯股份有限公司 | Database configuration parameter adjustment method, and device and storage medium |
| CN115640278A (en) * | 2022-09-30 | 2023-01-24 | 北京柏睿数据技术股份有限公司 | Method and system for intelligently optimizing database performance |
Family Cites Families (2)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN102622441A (en) * | 2012-03-09 | 2012-08-01 | 山东大学 | Automatic performance identification tuning system based on Oracle database |
| CN113010547B (en) * | 2021-05-06 | 2023-04-07 | 电子科技大学 | Database query optimization method and system based on graph neural network |
-
2022
- 2022-09-30 CN CN202211219319.4A patent/CN115640278B/en active Active
-
2023
- 2023-06-30 WO PCT/CN2023/105360 patent/WO2024066635A1/en not_active Ceased
Patent Citations (6)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN103853786A (en) * | 2012-12-06 | 2014-06-11 | 中国电信股份有限公司 | Method and system for optimizing database parameters |
| US20190220535A1 (en) * | 2018-01-18 | 2019-07-18 | Electronics And Telecommunications Research Instit Ute | Database system based on jit compilation, query processing method thereof, and stored procedure optimization method thereof |
| WO2022001965A1 (en) * | 2020-06-30 | 2022-01-06 | 中兴通讯股份有限公司 | Database configuration parameter adjustment method, and device and storage medium |
| CN112486780A (en) * | 2020-12-17 | 2021-03-12 | 中职物联(湖北)信息科技有限公司 | Database performance real-time monitoring and diagnosing method and system based on message middleware |
| CN113064879A (en) * | 2021-03-12 | 2021-07-02 | 腾讯科技(深圳)有限公司 | Database parameter adjusting method and device and computer readable storage medium |
| CN115640278A (en) * | 2022-09-30 | 2023-01-24 | 北京柏睿数据技术股份有限公司 | Method and system for intelligently optimizing database performance |
Cited By (2)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| WO2025246567A1 (en) * | 2024-05-27 | 2025-12-04 | 华为技术有限公司 | Parameter configuration method and apparatus for database, device and storage medium |
| CN119849643A (en) * | 2025-03-20 | 2025-04-18 | 苏州元脑智能科技有限公司 | Model environment parameter optimization method, device, medium and program product |
Also Published As
| Publication number | Publication date |
|---|---|
| CN115640278A (en) | 2023-01-24 |
| CN115640278B (en) | 2023-08-08 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| WO2024066635A1 (en) | Method and system for intelligently optimizing database performance | |
| US20220237162A1 (en) | System and method for cardinality estimation feedback loops in query processing | |
| CN105426292B (en) | A kind of games log real time processing system and method | |
| CN115373835A (en) | Task resource adjusting method and device for Flink cluster and electronic equipment | |
| Gu et al. | Fluid-shuttle: efficient cloud data transmission based on serverless computing compression | |
| CN104007994B (en) | Updating method, upgrading method and upgrading system based on strategy library interaction | |
| CN112052082B (en) | Task attribute optimization method, device, server and storage medium | |
| CN110377519B (en) | Performance capacity test method, device and equipment of big data system and storage medium | |
| KR20040027270A (en) | Method for monitoring database system | |
| CN114579202B (en) | Task processing method, device, computer equipment and computer readable storage medium | |
| CN113568892A (en) | Method and equipment for carrying out data query on data source based on memory calculation | |
| Lian et al. | Conttune: Continuous tuning by conservative bayesian optimization for distributed stream data processing systems | |
| CN117156010A (en) | Task processing methods, devices, storage media and electronic equipment | |
| CN106843822B (en) | Execution code generation method and equipment | |
| CN112000469A (en) | Method and system for ensuring key micro-service performance quality and reducing machine power consumption | |
| CN120029637B (en) | Kubernetes cluster one-click deployment and lifecycle management method and system | |
| Gu et al. | Time and cost-efficient cloud data transmission based on serverless computing compression | |
| CN108763489A (en) | A method of optimization Spark SQL execute workflow | |
| CN116974994B (en) | High-efficiency file collaboration system based on clusters | |
| CN119961266A (en) | Index updating method and device | |
| CN118410070A (en) | A multi-path dynamic database query method and device | |
| CN119248802A (en) | Digital feature derivation method and system in model life cycle | |
| CN118733313A (en) | A method of error handling in parallel programming | |
| CN114579280B (en) | Quasi-real-time scheduling method and system | |
| CN118093644A (en) | OpenGauss database parallel optimization method based on historical load and instant load |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| 121 | Ep: the epo has been informed by wipo that ep was designated in this application |
Ref document number: 23869883 Country of ref document: EP Kind code of ref document: A1 |
|
| NENP | Non-entry into the national phase |
Ref country code: DE |
|
| 32PN | Ep: public notification in the ep bulletin as address of the adressee cannot be established |
Free format text: NOTING OF LOSS OF RIGHTS PURSUANT TO RULE 112(1) EPC (EPO FORM 1205A DATED 24.07.2025) |