Multidimensional online analytical processing (MOLAP)-based data processing method and apparatus
A technology of data processing and data cube, which is applied in the field of data processing, can solve problems such as delays of several seconds, tens of seconds or even tens of minutes, high server configuration requirements, and inability of non-technical personnel to query, etc., to improve query response Speed, the effect of simplifying the data query process
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0025] figure 1 It is a flow chart of a MOLAP-based data processing method provided by Embodiment 1 of the present invention. The method provided in this embodiment can be executed by a MOLAP-based data processing device, which can be implemented by means of software and / or hardware, and integrated in a server. refer to figure 1 , the method provided in this embodiment may include:
[0026] S110. Create a data cube according to the fact table and the dimension table.
[0027] Among them, the fact table and the dimension table are stored in the data warehouse of the big data platform. The dimension table stores the values of all attributes under the dimension and the ID of each record. For example, the sales region dimension includes information such as the region ID, the province to which the region belongs, the city to which it belongs, and the county to which it belongs. Taking Guangzhou Tianhe District as a value under the sales region dimension as an example, the rec...
Embodiment 2
[0041] figure 2 It is a flowchart of a MOLAP-based data processing method provided by Embodiment 2 of the present invention. The data processing method provided in this embodiment is optimized on the basis of the data processing method provided in the foregoing embodiments. refer to figure 2 , the data processing method provided in this embodiment specifically includes:
[0042] S210. Create corresponding fact tables and dimension tables according to item requirements for fact tables and dimension tables in a preset data analysis model.
[0043] Specifically, the preset data analysis model includes item requirements for fact tables and dimension tables, where the item requirements may include dimension values and dimension levels of dimension tables, and fact data attributes of fact tables (such as sales amount, etc. ). In addition, the data analysis model may also include metrics during data precomputation (such as aggregated maximum values, etc.). The specific conte...
Embodiment 3
[0130] Figure 7 It is a schematic structural diagram of a MOLAP-based data processing device provided by Embodiment 3 of the present invention. refer to Figure 7 , the data processing apparatus provided in this embodiment specifically includes: a cube creation module 701 , a precalculation module 702 and a saving module 703 .
[0131] Wherein, the cube creation module 701 is used to create a data cube according to the fact table and the dimension table; the pre-calculation module 702 is used to perform data pre-calculation on all possible combinations of dimensions based on the data recorded in the data cube; the preservation module 703 uses Save the pre-calculated results to the open source database, so that the query results can be determined according to the pre-calculated results when querying.
[0132] The technical solution provided by this embodiment creates a data cube through the fact table and the associated dimension table, performs data pre-calculation on all pos...
PUM
Abstract
Description
Claims
Application Information
- R&D Engineer
- R&D Manager
- IP Professional
- Industry Leading Data Capabilities
- Powerful AI technology
- Patent DNA Extraction
Browse by: Latest US Patents, China's latest patents, Technical Efficacy Thesaurus, Application Domain, Technology Topic, Popular Technical Reports.
© 2024 PatSnap. All rights reserved.Legal|Privacy policy|Modern Slavery Act Transparency Statement|Sitemap|About US| Contact US: help@patsnap.com