Unlock instant, AI-driven research and patent intelligence for your innovation.

Tuple sorting method, query method and device in relational database management system

A management system and sorting method technology, applied in the database field, can solve the problems of insufficient memory and low execution efficiency, and achieve the effect of improving sorting speed and execution efficiency.

Active Publication Date: 2021-04-16
YUSUR TECH CO LTD
View PDF6 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

The method of iterative mode returns a tuple each time, which requires multiple coordination between different operators, and the execution efficiency is not high; while the materialization mode processes all data at one time, when the amount of data is larger than the memory of the tuple, it will cause insufficient memory (out of memory) 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
  • Tuple sorting method, query method and device in relational database management system
  • Tuple sorting method, query method and device in relational database management system
  • Tuple sorting method, query method and device in relational database management system

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0022] In order to make the purpose, technical solutions and advantages of the embodiments of the present invention more clear, the embodiments of the present invention will be further described in detail below in conjunction with the accompanying drawings. Here, the exemplary embodiments and descriptions of the present invention are used to explain the present invention, but not to limit the present invention.

[0023] The tuple sorting methods in the existing relational database management systems are generally single-threaded sorting methods. Accelerator sorting can improve the speed of tuple sorting. However, the two execution modes of the relational database have the problem of being unable to interface with external hardware accelerator devices, therefore, the advantages of heterogeneous systems cannot be used to accelerate the query process of the relational database.

[0024] For example, when the PostgreSQL database performs query compilation, it will generate a quer...

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 present invention provides a tuple sorting method, query method and device in a relational database management system, wherein the sorting method includes: storing the data used for tuple sorting extracted from the original structure to the basis of the application in memory In the array of data types, and store the tuple copied from the original structure in the tuple array of the original relational database structure type applied in the memory; by setting the kernel function to output the stored tuple sorting data, To use the external hardware accelerator to sort the data used for tuple sorting; receive the sorting calculation result returned by setting the kernel function, and according to the sorting calculation result, use the tuples in the applied tuple array to assign values ​​to the original tuple array , to sort the tuples in the original structure. Through the above solutions, the present invention can improve the execution efficiency of the relational database management system.

Description

technical field [0001] The invention relates to the technical field of databases, in particular to a tuple sorting method, query method and device in a relational database management system. Background technique [0002] With the rapid development of the Internet and e-commerce, more and more relational databases are used on the Internet, and they assume the core responsibility of enterprise business and information systems, so they are increasingly facing the test of ultra-large-scale data volume and high-intensity instantaneous concurrency. In response to these problems, for database enterprise-level applications, database technology with higher execution efficiency is required to ensure the interests of enterprises. [0003] When a relational database executes SQL statements such as order by and group by, it will complete the SQL statement to be queried through query compilation, query optimization, and query execution. During this process, the sorting process most affect...

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/242G06F16/28
CPCG06F16/2246G06F16/2433G06F16/284
Inventor 鄢贵海江树浩申宇昂
Owner YUSUR TECH CO LTD