- Microsoft SQL Server 2014 Business Intelligence Development Beginner’s Guide
- Reza Rad
- 410字
- 2021-08-13 17:55:20
Why is OLAP required?
OLAP is a data structure that provides multidimensional cubes from data and provides useful information for decision makers. While designing an OLAP system, the most important factor is reporting requirements. Compared to OnLine Transactional Processing (OLTP), OLAP provides faster reports because it reshapes data in cube structures rather than the traditional relational structure based on tables.
As an example, assume that you want to create a report in a BI system for sales based on products and dates. You might need to get the sales amount per day, per month, or per year. You might also have categories of products. So, it will be helpful if you have a graph with two dimensions, Product as one dimension and Date as another dimension:

Having two dimensions helps to achieve each granular point and each conjunction of both dimensions easier and faster. For example, point A shows the total sales amount of ProductA in August 2012. Each point in the preceding graph is a measure, and each line shows a dimension attribute.
Now, assume that the report needs another dimension, Store. Also, the Store dimension might have its own attributes and hierarchies as well, for example, types of stores and branches of stores. So, you will need a graph with three axes as shown in the following diagram:

The structure shown in the previous diagram helps you to find the junction of the three dimensions in every granular level of the defined attributes. For example, the total sales amount of ProductA in August 2012 in a New Zealand store is a point of junction of three axes of each value represented together in the cube shown in the previous diagram. This structure is also called a cube. This is how the OLAP cube is named: the dimensions are axes of the cube and the measures are connection points of it.
In real-world requirements, you might need many more than three dimensions for some reports and analytics, so the real-world structure of cubes will have more than three dimensions, but they cannot be illustrated on paper so we cannot show you a sample of cube with eleven dimensions.
The OLAP tools are utilities that provide the ability to create an OLAP cube structure, and then data will be loaded into that structure. After loading data into that structure, which is called processing, information can be easily gathered from data by querying each point or conjunction of the cube axis.
- 手機安全和可信應用開發(fā)指南:TrustZone與OP-TEE技術詳解
- .NET之美:.NET關鍵技術深入解析
- CockroachDB權威指南
- Photoshop智能手機APP UI設計之道
- DevOps入門與實踐
- 從0到1:HTML+CSS快速上手
- Learning Selenium Testing Tools(Third Edition)
- C語言程序設計實驗指導 (第2版)
- 基于SpringBoot實現(xiàn):Java分布式中間件開發(fā)入門與實戰(zhàn)
- 智能手機APP UI設計與應用任務教程
- Kubernetes源碼剖析
- 小型編譯器設計實踐
- Node.js 12實戰(zhàn)
- Java Web應用開發(fā)給力起飛
- HTML5/CSS3/JavaScript技術大全