Method for memory on-line analytical processing (OLAP) query optimization based on field programmable gate array (FPGA)

A query optimization and memory technology, applied in structured data retrieval, special data processing applications, instruments, etc., can solve the problems of high data migration cost, big data access and calculation delay, etc., to reduce transmission cost, improve execution efficiency and performance, cost reduction effect

Active Publication Date: 2016-08-17
RENMIN UNIVERSITY OF CHINA
View PDF2 Cites 18 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

The current iterative processing model widely used in databases is a strongly coupled pipeline processing model. When faced with heterogeneous computing resources, such as CPU, GPU, Xeon Phi, FPGA, and heterogeneous storage re

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 for memory on-line analytical processing (OLAP) query optimization based on field programmable gate array (FPGA)
  • Method for memory on-line analytical processing (OLAP) query optimization based on field programmable gate array (FPGA)
  • Method for memory on-line analytical processing (OLAP) query optimization based on field programmable gate array (FPGA)

Examples

Experimental program
Comparison scheme
Effect test

Example Embodiment

[0024] The present invention will be described in detail below in conjunction with the accompanying drawings and embodiments.

[0025] The present invention provides a kind of memory OLAP query optimization method based on FPGA, this method is oriented to memory-flash memory heterogeneous storage and CPU, FPGA heterogeneous computing platform, and its specific steps are as follows:

[0026] 1. Build a heterogeneous storage model for data warehouses oriented to memory-flash memory.

[0027] like figure 2 As shown, the present invention combines the data distribution characteristics of the data warehouse with the characteristics of heterogeneous storage capacity. All the tables of the data warehouse are persistently stored in large-capacity flash memory, and the metric attributes of the fact table with the largest amount of data are stored in large-capacity, low-cost The PCI-E flash memory card, the foreign key column of the fact table is resident in memory to support high-per...

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 relates to a method for memory on-line analytical processing (OLAP) query optimization based on a field programmable gate array (FPGA). The method comprises the steps of constructing a memory-memory-faced data warehouse heterogeneous storage model; performing query optimization facing a central processing unit (CPU)-FPGA heterogeneous processor based on the heterogeneous storage model: generating a grouping projection vector through subquery; performing dictionary table compression on the grouping projection vector; updating a grouping projection as a grouping projection vector based on dictionary table coding according to a projection dictionary table; performing connection operation on the grouping projection vector and a fact table foreign key, and generating a measurement vector based on measurement list aggregation computation; performing index aggregation computation based on the measurement vector; performing query optimization facing a CPU and FPGA heterogeneous computing platform based on the heterogeneous storage model: causing the FPGA and the CPU to perform shared access of an identical memory address space; when the FPGA is in PCI-E accelerator card configuration, using an FPGA acceleration connection performance and the FPGA to directly access a flash card through a PCI-E channel to perform data processing; and when the FPGA is integrated to a flash memory, accelerating data access and aggregation computation performances of the flash card through the FPGA.

Description

technical field [0001] The invention relates to an in-memory OLAP query method in the database field, in particular to an FPGA-based in-memory OLAP query optimization method. Background technique [0002] FPGA is a semi-custom circuit in the field of application-specific integrated circuit (ASIC). FPGA is a programmable device, and FPGA can be used as a full-custom or semi-custom ASIC circuit. FPGA has the characteristics of higher integration density, larger capacity, and lower power consumption. It is currently used as a hardware-level accelerator by some database manufacturers. The next-generation data center will introduce a large number of accelerator technologies to participate in the calculation of various applications, and improve the performance-to-power ratio and real-time calculation of the data center. In the development of future processors, there is also a trend of integrating FPGA into CPU's integrated heterogeneous computing architecture to improve the proce...

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
CPCG06F16/2453G06F16/283
Inventor 张延松张宇柴云鹏周烜王珊
Owner RENMIN UNIVERSITY OF CHINA
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