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

A method and device for accelerating database operations

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: 2022-02-08
HEFEI SWAYCHIP INFORMATION TECH INC
View PDF12 Cites 0 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
  • A method and device for accelerating database operations
  • A method and device for accelerating database operations
  • A method and device for accelerating database operations

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 device for accelerating database operations, which are applied to a database connected with a hardware accelerator. The method includes: when receiving an initial execution plan tree sent by the database that needs to be accelerated, Supported basic operations and acceleration resources process the initial execution plan tree and generate a new execution plan tree; if the new execution cost of the new execution plan tree is less than the initial execution cost of the initial execution plan tree, according to the organization and operation of the hardware accelerator, the The new execution plan tree is distributed to the hardware accelerator for execution; the result data after the hardware accelerator accelerates the database operation is determined according to the execution result returned by the hardware accelerator, so that the execution plan tree of the database matches the execution function and capability of the accelerated hardware accelerator And maintain a reasonable complexity, and then give full play to the acceleration capability of the hardware accelerator.

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
Patent Type & Authority Patents(China)
IPC IPC(8): G06F16/22G06F16/2455G06F16/28
CPCG06F16/2246G06F16/24552G06F16/284
Inventor 向俊凌周民刘睿民
Owner HEFEI SWAYCHIP INFORMATION TECH INC
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