A resource scheduling method and device
A resource scheduling and resource technology, applied in the database field, can solve the problems of untimely resource scheduling and scheduling errors, and achieve the effect of accurate resource scheduling
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0061] The resource scheduling method of the embodiment of the present invention, such as figure 1 shown, including the following steps:
[0062] Step 101: Evaluate idle resources using the currently collected performance indicators; the performance indicators represent the usage of database resources; when it is determined that the load of the database is less than a preset value according to the evaluation results of idle resources, use the estimated periodic consumption of resources As a result, periodic estimation of idle resources is performed;
[0063] Here, the performance index may include a central processing unit (CPU, Central Processing Unit) and an input / output (I / O, Input / Output) usage index of the database; correspondingly, according to the CPU index and the IO usage index, perform Evaluation of idle resources.
[0064] When the load of the database is less than the preset value, it means that the load of the database is light. In this case, the tasks to be exe...
Embodiment 2
[0106] This embodiment describes the resource scheduling method in detail on the basis of the first embodiment.
[0107] First, estimate the periodic resource consumption of the database system, establish a queue task baseline library and an application baseline library, and correct the corresponding baselines in the baseline library.
[0108] Specifically, when estimating the periodic resource consumption of the database system, such as figure 2 As shown, the collection layer of the device applying the method of this embodiment is configured with a timing task for collecting database system performance data, so that the collection layer performs regular collection of database system performance data; the analysis layer of the device collects from the collection layer Extract the CPU and IO usage indicators from the performance data, create a system snapshot, and compare the snapshots of the CPU and IO usage on the same day of each month and at the same time every day to obta...
Embodiment 3
[0162] This embodiment is based on Embodiments 1 and 2. This embodiment provides a resource scheduling device, such as Figure 8 As shown, the device includes: a first evaluation unit 81, a second evaluation unit 82, a task matching unit 83 and a task execution unit 84; wherein,
[0163] The first evaluation unit 81 is configured to use the currently collected performance indicators to evaluate idle resources; the performance indicators represent the usage of database resources;
[0164] The second evaluation unit 82 is configured to use the estimated periodic consumption of resources to perform periodic estimation of idle resources when it is determined that the load of the database is less than a preset value according to the evaluation result of idle resources;
[0165] The task matching unit 83 is configured to match tasks to be executed from the task queue in the queue task baseline library according to the estimated periodic idle resources and the corresponding duration;...
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