Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

Database system query method, server and energy consumption test system

A technology for testing systems and databases, applied in the field of databases, can solve problems such as inability to accurately obtain physical operation power consumption, differences in actual energy consumption values, etc.

Inactive Publication Date: 2016-01-13
HUAWEI TECH CO LTD +1
View PDF0 Cites 25 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] However, the energy consumption estimation method in the prior art also has the following problems: in the prior art, it is assumed that the power consumption of each tuple or disk block is fixed, but recent studies have found that different physical operations have different power consumption, Even if the CPU utilization rates of two physical operations are the same, the power consumption difference can reach 60%. Therefore, the method in the prior art cannot accurately obtain the power consumption of each physical operation, so that the measured performance of the database system There is a big difference between the consumption value and the actual energy consumption value

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Database system query method, server and energy consumption test system
  • Database system query method, server and energy consumption test system
  • Database system query method, server and energy consumption test system

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0049] In order to make the purpose, technical solutions and advantages of the embodiments of the present invention clearer, the technical solutions in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments It is a part of embodiments of the present invention, but not all embodiments. Based on the embodiments of the present invention, all other embodiments obtained by persons of ordinary skill in the art without creative efforts fall within the protection scope of the present invention.

[0050] figure 1 It is a flowchart of a database system query method provided by an embodiment of the present invention. The method in this embodiment of the present invention can be executed by a server, such as figure 1 As shown, the method of this embodiment may include:

[0051] Step 101, acquiring CPU power consumption and disk power consump...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

PUM

No PUM Login to View More

Abstract

Embodiments of the invention provide a database system query method, a server and an energy consumption test system. The method comprises: obtaining CPU power consumption and disk power consumption of a database system within an acquisition time and a training parameter of each physical operation of the database system within the acquisition time; according to the CPU power consumption and the disk power consumption, calculating actual power consumption of each physical operation, and performing regression analysis by taking the training parameter of each physical operation as an independent variable and the actual power consumption of each physical operation as a dependent variable to obtain a power consumption prediction function of each physical operation; and calculating the energy consumption cost of each execution plan of an SQL statement according to the power consumption prediction function of each physical operation. According to the method, the power consumption prediction function of each physical operation is obtained with the regression analysis method, so that the power consumption prediction function of each physical operation is more accurate. In addition, an adjustment factor is introduced to adjust the energy consumption cost and the time cost of a database, so that the energy consumption of the database system can be flexibly adjusted.

Description

technical field [0001] The embodiment of the present invention relates to database technology, in particular to a database system query method, server and energy consumption testing system. Background technique [0002] Building a low-carbon society has become a global consensus, and how to build a new database system with low cost and low energy consumption in the database system has become a crucial issue. The traditional database system only considers the performance optimization of the database system, without estimating the energy consumption cost of the database system. With the rise of data-centric computing models and the development of concepts such as big data, how to reduce the energy consumption of database systems has become a hot topic of widespread concern in academia and industry. [0003] In the prior art, a method for estimating energy consumption of a database system is proposed, in which it is assumed that the power consumption of each tuple and each dis...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

Application Information

Patent Timeline
no application Login to View More
IPC IPC(8): G06F17/30
CPCY02D10/00
Inventor 金培权邢宝平金勇
Owner HUAWEI TECH CO LTD
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products