Method and device for accelerating database operation

A database and data technology, applied in the database field, can solve the problem that the execution plan tree cannot well match the execution function and capability of the hardware accelerator, and achieve the effect of ensuring reliability.

Active Publication Date: 2021-09-28
HEFEI SWAYCHIP INFORMATION TECH INC
View PDF12 Cites 1 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0007] The invention provides a method for accelerating database operations to solve the technical problem that the execution plan tree generated in the prior art cannot well match the execution function and capability of the hardware accelerator. The method is applied to a computer connected to a hardware accelerator In the database, this method includes:

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 accelerating database operation
  • Method and device for accelerating database operation
  • Method and device for accelerating database operation

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0054] The following will clearly and completely describe the technical solutions in the embodiments of the application with reference to the drawings in the embodiments of the application. Apparently, the described embodiments are only some of the embodiments of the application, not all of them. Based on the embodiments in this application, all other embodiments obtained by persons of ordinary skill in the art without making creative efforts belong to the scope of protection of this application.

[0055] The embodiment of this application provides a method for accelerating database operations, which is applied to databases connected to hardware accelerators, such as figure 2 As shown, the method includes the following steps:

[0056] Step S101 , when receiving the initial execution plan tree sent by the database that needs to be accelerated, process the initial execution plan tree according to the basic operations and acceleration resources supported by the hardware accelera...

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 discloses a method and a device for accelerating database operation. The invention is applied to a database connected with a hardware accelerator and the method comprises the following steps: when an initial execution plan tree which needs to be accelerated and is sent by the database is received, processing the initial execution plan tree according to basic operation and acceleration resources supported by the hardware accelerator, and forming a new execution plan tree; if the new execution cost of the new execution plan tree is smaller than the initial execution cost of the initial execution plan tree, distributing the new execution plan tree to the hardware accelerator for execution according to the organization mode and the operation mode of the hardware accelerator; and according to the execution result returned by the hardware accelerator, determining the result data after the hardware accelerator accelerates the operation of the database, so that the execution plan tree of the database is matched with the execution function and capability of the hardware accelerator for acceleration, reasonable complexity is kept, and the acceleration capability of the hardware accelerator is fully exerted.

Description

technical field [0001] The present application relates to the technical field of databases, and more specifically, to a method and device for accelerating database operations. Background technique [0002] In the past ten years, the rapid development of the mobile Internet and the digital transformation and transformation of various industries have seen large-scale data growth in various fields, but the development of general-purpose computing capabilities is facing challenges. The improvement of semiconductor technology has almost reached the physical limit. General-purpose processing Device performance can no longer grow according to Moore's Law. With the advent of 5G, cloud computing, the Internet of Everything, and the era of artificial intelligence, the requirements for data generation, transmission, storage, and analysis and processing are getting higher and higher. bigger and bigger. [0003] In the prior art, in the field of database application, under the performa...

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): G06F16/22G06F16/2455G06F16/28
CPCG06F16/2246G06F16/24552G06F16/284G06F16/24542G06F16/2365
Inventor 向俊凌周民刘睿民
Owner HEFEI SWAYCHIP INFORMATION TECH INC
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