Method and device for multidimensional analysis of relational database
A multi-dimensional analysis and multi-dimensional analysis model technology, applied in relational databases, multi-dimensional databases, database models, etc., can solve problems such as low efficiency of multi-dimensional analysis, long-term troubleshooting, etc., to facilitate the work of tuning and improve efficiency.
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0050] figure 1 It is a flowchart of a method for multidimensional analysis of a relational database provided in Embodiment 1 of the present invention. This embodiment is applicable to optimize the multidimensional analysis of a relational database in the prior art, and the method can be executed by a computer , including the following steps:
[0051] Step 110, building a fact table and a dimension table in the relational database, and building a multidimensional analysis model.
[0052] Organize the data stored in the relational database, and build the data that records business indicators and other facts (such as sales data) and the data of dimension foreign keys into a multi-dimensional analysis fact table. Associated with the dimension table, it represents the referenced dimensions and facts; the data recording dimension information (such as time dimension, region dimension, etc.) is built as a multidimensional analysis dimension table. For example, if the fact table rec...
Embodiment 2
[0063] figure 2 It is a flowchart of a method for multidimensional analysis of a relational database provided in Embodiment 2 of the present invention, specifically including the following steps:
[0064] Step 210, building a fact table and a dimension table in the relational database, and building a multidimensional analysis model.
[0065] Step 220, verify the structure between the fact table and the dimension table and the index relationship in the multidimensional analysis model, and output the verification result.
[0066] After receiving the verification instruction from the user, the structure (such as data type) and the index relationship between the fact table and the dimension table in the multidimensional analysis model are verified, and the specific relationship between the fact table and the dimension table can be verified. Whether the primary and foreign keys are reasonable, including whether the index is established, whether the data types are consistent, whet...
Embodiment 3
[0090] Figure 4 It is a schematic diagram of a device for multidimensional analysis of a relational database provided in Embodiment 3 of the present invention, such as Figure 4 As shown, the device for multidimensional analysis of a relational database provided in this embodiment includes: a multidimensional analysis model building module 410 , a sentence translation module 420 , an output display module 430 and a query module 440 .
[0091] Wherein, the multidimensional analysis model building module 410 is used to build fact tables and dimension tables in relational databases, and build multidimensional analysis models;
[0092] The statement translation module 420 is used to translate the MDX statement in the multidimensional analysis model into an SQL statement;
[0093] The output display module 430 is used to compile the SQL statement to determine the SQL execution steps, and output and display the MDX statement, the SQL statement and the corresponding SQL execution s...
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