Method and device for cost estimation

A technology of cost estimation and cost, which is applied in computing, instrumentation, electrical digital data processing, etc., and can solve problems such as the accuracy of cost estimation, the completeness of statistical information, and the inability to obtain execution plans in existing database systems.

Active Publication Date: 2020-02-14
TRANSWARP INFORMATION TECH SHANGHAI
View PDF5 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0003] One purpose of this application is to provide a method and equipment for cost estimation, which solves the problem that the existing database system cannot solve the contradiction between the accuracy of cost estimation and the completeness of statistical information and the existing database system cannot obtain global optimal execution planning problem

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
  • Method and device for cost estimation
  • Method and device for cost estimation
  • Method and device for cost estimation

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0084] The application will be described in further detail below in conjunction with the accompanying drawings.

[0085] In a typical configuration of the present application, the terminal, the device serving the network and the trusted party all include one or more processors (CPUs), input / output interfaces, network interfaces and memory.

[0086] Memory may include non-permanent storage in computer readable media, in the form of random access memory (RAM) and / or nonvolatile memory such as read only memory (ROM) or flash RAM. Memory is an example of computer readable media.

[0087] Computer-readable media, including both permanent and non-permanent, removable and non-removable media, can be implemented by any method or technology for storage of information. Information may be computer readable instructions, data structures, modules of a program, or other data. Examples of computer storage media include, but are not limited to, phase change memory (PRAM), static random acce...

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

The invention aims at providing a cost estimation method and equipment. The cost estimation method comprises the steps of determining a corresponding cost estimation mode according to an operation type of an operation tree, and based on the cost estimation mode and obtained raw statistical information, determining cost estimation of the operation type; determining cost estimation to be adjusted, based on the operation type corresponding to the cost estimation to be adjusted, determining adjustment factors, and according to the adjustment factors, adjusting the cost estimation to be adjusted; according to unadjusted cost estimation and the adjusted cost estimation, determining cumulative cost estimation of the operation tree, and resolving a contradiction, existing in a traditional cost optimizer, between integrity of the statistical information and accuracy of the cost estimation. Through corrective cost estimation, the accuracy of cost estimation of a cost optimizer is improved, and therefore an execution plan with superior properties is generated.

Description

technical field [0001] The present application relates to the field of computers, and in particular to a cost estimation method and device. Background technique [0002] Cost-based optimization (CBO) is a common structured query statement (SQL) optimization method in database systems. Among them, the estimation of SQL operation cost is the core of CBO. Accurate cost estimation requires sophisticated estimation algorithms and complete statistics. Information, if relying solely on existing estimation algorithms and statistical information models, the cost is often estimated inaccurately, and the optimization effect is not good. Existing database systems cannot solve the contradiction between the accuracy of cost estimation and the completeness of statistical information. There are errors in the statistical information itself. When the data set is extremely large, it takes huge resources to collect statistical information. Rough estimates are used to introduce errors into subs...

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
Patent Type & Authority Patents(China)
IPC IPC(8): G06F16/2453
CPCG06F16/2453
Inventor 夏立陈振强熊仲健
Owner TRANSWARP INFORMATION TECH SHANGHAI
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products