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

Method and device for querying OLAP (on-line analytical processing) in real time

A query method and technology to be queried, applied in the database field, can solve problems such as low efficiency and large storage space of Hash table

Inactive Publication Date: 2017-02-01
NORTH CHINA ELECTRIC POWER UNIV (BAODING)
View PDF5 Cites 22 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

However, real-time calculations on real-time data require the support of a high-performance computing platform
[0004] In the traditional OLAP system, the dimension table needs to be constructed as a Hash table (hash table) in the star connection. The Hash table needs to occupy a large storage space. When it is broadcast to all nodes, a large amount of communication I / O is generated. cause inefficiency

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 querying OLAP (on-line analytical processing) in real time
  • Method and device for querying OLAP (on-line analytical processing) in real time
  • Method and device for querying OLAP (on-line analytical processing) in real time

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0049] In one embodiment, such as figure 1 As shown, a real-time OLAP query system includes a server 10 and multiple clients 30 connected through a network. The client 30 sends a query request to the server 10 , and the server 10 executes a query operation according to the query request, obtains a query result, and sends the query result to the corresponding client 30 . The system adopts the B / S mode, and the user can realize the interaction with the server by opening the browser.

[0050] In another embodiment, a real-time OLAP query method runs on the server 10, such as figure 2 As shown, the method includes the following steps:

[0051] S202: Obtain dimension table information, fact table information, and query parameters of the file to be queried sent by the requesting client.

[0052] Dimension tables contain detailed information about specified attributes in the fact table, for example, a product dimension table for detailed products, or a time dimension table for an...

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 and a device for querying OLAP (on-line analytical processing) in real time. The method comprises the following steps of obtaining dimension table information, fact table information and query parameters of a to-be-queried file sent by a client; according to the query parameters and dimensional table information, filtering the corresponding dimensional table, and building a multi-dimensional Bloom filter according to the filtering results; transmitting the multi-dimensional Bloom filter to each node in a broadcasting way, and filtering cube data corresponding to the fact table information; connecting the filtered dimensional table and the filtered cube data, so as to obtain query result; sending the query result to the corresponding query request client. The method has the advantages that the algorithm is quickly found by the multi-dimensional Bloom filter, the storage space is a bit vector, and the smaller storage space requirement is met; the fact table can be filtered in the broadcasting way, the passing number of I / O (input / output) is reduced, and the query efficiency is improved.

Description

technical field [0001] The invention relates to the technical field of databases, in particular to a real-time OLAP query method and device. Background technique [0002] OLAP (On-Line Analytical Processing) is online analytical processing, which can help analysts, managers or executives to quickly, consistently and interactively access information from multiple perspectives and gain a deeper understanding of information. The goal of OLAP is to meet decision support Or meet specific query and report requirements in a multidimensional environment. [0003] Traditional OLAP systems use periodically updated data to statically calculate the entire cube or part of the cube to ensure user query performance. However, as people's demand for real-time data interactive analysis increases, such as real-time user behavior analysis on online shopping sites and product browsing and sales statistics, real-time OLAP (RTOLAP, Real Time OLAP) technology has gained widespread attention. Real-...

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 Applications(China)
IPC IPC(8): G06F17/30
CPCG06F16/2453G06F16/2471G06F16/284
Inventor 王桂兰周国亮
Owner NORTH CHINA ELECTRIC POWER UNIV (BAODING)
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