olap 多維分析_OLAP(在線分析處理)| OLAP多維數據集和操作

olap 多維分析

In the previous article of OLAP, we have seen various applications of OLAP, Various types of OLAP, advantages, and disadvantages of OLAP. In this article, we will learn about the,

在OLAP的上一篇文章中,我們了解了OLAP的各種應用,各種類型的OLAP,OLAP的優缺點 。 在本文中,我們將了解

  1. OLAP Cube

    OLAP多維數據集

  2. OLAP Cube Operations

    OLAP多維數據集操作

1)OLAP多維數據集 (1) OLAP Cube)

An OLAP cube may be a multi-dimensional array of knowledge. The online analytical process (OLAP) may be a computer-based technique of analyzing knowledge to appear for insights. The term cube here refers to a multi-dimensional dataset, that is additionally known as a Hypercube if the quantity of dimensions is larger than three. A cube is also thought of as a multi-dimensional generalization of a two- or three-dimensional program. For instance, a corporation may like to summarize monetary knowledge by product, by time-period, and by the town to check actual and budget expenses. Product, time, cities and situation (actual and budget) are the data's dimensions as shown in the figure. A cube isn't a "cube" within the strict mathematical sense, as all the edges aren't essentially equal.

OLAP多維數據集可以是知識的多維數組。 在線分析過程(OLAP)可能是一種基于計算機的技術,用于分析知識以獲取見解。 術語“多維數據集”在這里是指多維數據集,如果維的數量大于3,則又稱為“超多維數據集”。 多維數據集也被認為是二維或三維程序的多維概括。 例如,公司可能希望按產品,時間段和鎮來匯總貨幣知識,以檢查實際和預算支出。 產品,時間,城市和情況(實際和預算)是數據的尺寸,如圖所示。 在嚴格的數學意義上,多維數據集不是“多維數據集”,因為所有的邊實際上都不相等。

OLAP Cube


Fig 1: OLAP Cube

圖1:OLAP多維數據集

2)OLAP多維數據集操作 (2) OLAP Cube Operations)

Since OLAP servers work on data of multidimensional view, we are going to discuss OLAP operations in multidimensional information.

由于OLAP服務器可以處理多維視圖的數據,因此我們將在多維信息中討論OLAP操作。

Here is the list of OLAP operations,

這是OLAP操作的列表,

  • Roll-up

    卷起

  • Drill-down

    下鉆

  • Slice

  • Dice

    骰子

  • Pivot (rotate)

    樞軸旋轉

2.1。 卷起 (2.1. ROLL UP)

Roll-up is performed by rising up a planning hierarchy for the dimension location. Initially the conception hierarchy was "street < town < province < country". On rolling up, aggregation of data is done by ascending the hierarchy of location from the level of street to the level of the country. A roll-up involves summarizing the information on a dimension. The summarization rule may be Associate in Nursing mixture operate, like computing totals on a hierarchy or applying a collection of formulas like "profit = sales - expenses". General aggregation functions are also pricey to cipher once rolling up: if they can not be determined from the cells of the cube, they need to be computed from the bottom information, either computing them on-line (slow) or precomputing them for attainable rollouts (large space). Aggregation functions that will be determined from the cells square measure referred to as complex aggregation functions, and permit economical computation.

匯總是通過提升維度位置的計劃層次結構來執行的。 最初,概念層次是“街道<城鎮<省<國家”。 匯總時,數據的匯總是通過將位置層次結構從街道級別提升到國家/地區級別來完成的。 匯總涉及匯總有關維度的信息。 匯總規則可以是“護理中的助理人員”混合操作,例如在層次結構上計算總計或應用諸如“利潤=銷售-費用”之類的公式集合。 通用聚合函數一旦匯總就需要付出昂貴的代價:如果無法從多維數據集的單元中確定它們,則需要從底層信息中進行計算,要么在線(緩慢)計算它們,要么對其進行預先計算以實現可擴展性(大空間)。 由單元平方確定的聚合函數稱為復雜聚合函數,可以經濟地進行計算。

For example, it is easy to calculate COUNT, MAX, MIN, and SUM in OLAP, as this can be computed for each cell of the OLAP cube and then rolled up, since on overall sum (or count, etc.) is the sum of sub-sums, but it is difficult to support MEDIAN, as that must be computed for every view separately: the median of a collection isn't the median of medians of subsets.

例如,很容易在OLAP中計算COUNT,MAX,MIN和SUM,因為可以對OLAP多維數據集的每個單元格進行計算,然后匯總,因為總和(或計數等)是總和子和,但很難支持MEDIAN,因為必須分別針對每個視圖進行計算:集合的中位數不是子集的中位數。

Let us understand it with a diagrammatic flow,

讓我們以圖解流程了解它,

OLAP Cube | Roll up


Fig 2.1 : Roll up Operation

圖2.1:匯總操作

2.2。 向下鉆取 (2.2. DRILL DOWN)

Drill-down is performed by stepping down the hierarchy for the dimension time. Initially, the conception hierarchy was "day < month < quarter < year." On drilling down, the dimension of time exists in descended from i.e. from the extent of the quarter to the extent of the month. When drill-down is performed, one or additional dimensions from the information cube are supplemental. It navigates knowledge from less elaborate information to extremely elaborate data.

通過在維度時間上降低層次結構來執行向下鉆取。 最初,概念層次結構是“天<月<季度<年”。 在向下鉆取時,時間的維數是從四分之一的范圍降到一個月的范圍。 執行向下鉆取時,信息多維數據集中的一個或其他維度是補充。 它可以將知識從不太復雜的信息導航到極其復雜的數據。

OLAP Cube | Drill Down


Fig 2.2 : Drill Down Operation

圖2.2:下鉆操作

2.3。 OLAP切片 (2.3. OLAP SLICING)

The slice operation selects one specific dimension from a given cube and provides a replacement sub-cube.

切片操作從給定的多維數據集中選擇一個特定的維度,并提供替換子多維數據集。

Slice is that the act of selecting an oblong set of a cube by selecting one worth for one in all its dimensions, making a replacement cube with one fewer dimension.

切片是指通過在其所有維度中為一個立方體選擇一個值來選擇一個長方形的立方體的動作,從而使替換的立方體的尺寸減少了一個。

The picture shows a slicing operation.

圖片顯示了切片操作。

Slicing is performed for the dimension "time" using the criteria time = "Q1".

使用標準時間=“ Q1”對維“時間”執行切片。

Subcube is formed by using or selecting one or two dimensions.

通過使用或選擇一維或二維來形成子多維數據集。

OLAP Cube | Slicing


Fig 2.3 : OLAP Slicing

圖2.3:OLAP切片

2.4。 OLAP骰子 (2.4. OLAP DICING)

Dice selects 2 or additional dimensions from a given cube and provides a brand new sub-cube. think about the subsequent diagram that shows the dice operation. The dice operation produces a subcube by permitting the analyst to choose specific values of multiple dimensions. the image shows a dicing operation. The dicing operation on the cube which involves three dimensions is based on the following selection criteria,

Dice從給定的多維數據集中選擇2個或其他維度,并提供一個全新的子多維數據集。 考慮下面顯示骰子操作的圖。 骰子操作通過允許分析人員選擇多維的特定值來生成子多維數據集。 該圖顯示了切塊操作。 涉及三個維度的多維數據集上的切塊操作基于以下選擇標準,

  • (location = "Toronto" or "Vancouver")

    (位置=“多倫多”或“溫哥華”)

  • (time = "Q1" or "Q2")

    (時間=“ Q1”或“ Q2”)

  • (item =" Mobile" or "Modem")

    (項目=“移動”或“調制解調器”)

OLAP Cube | DICING


Fig 2.4 : Cube Dicing

圖2.4:立方體切丁

2.5。 OLAP PIVOT (2.5. OLAP PIVOT)

The pivot operation is additionally referred to as rotation. It rotates the info axes seeable to produce an alternate presentation of knowledge. take into account the subsequent diagram that shows the pivot operation. Pivot permits AN analyst to rotate the cube in the area to check its varied faces. As an example, cities may well be organized vertically and product horizontally whereas viewing information for a selected quarter. Pivoting may replace the product with periods to check information across time for one product. The picture shows a pivoting operation: the full cube is turned, giving another perspective on the data.

樞轉操作另外稱為旋轉。 它旋轉可見的信息軸以產生替代的知識表示。 請考慮以下顯示樞軸操作的圖表。 Pivot允許分析人員旋轉該區域中的多維數據集以檢查其變化的面。 例如,在查看選定季度的信息時,很可能垂直組織城市,水平組織產品。 數據透視可能會用句點替換產品,以跨時間檢查一種產品的信息。 該圖顯示了樞軸操作:旋轉了整個立方體,從而為數據提供了另一個視角。

OLAP Cube | PIVOT


Fig 2.5 : Olap Pivot

圖2.5:Olap樞軸

翻譯自: https://www.includehelp.com/basics/olap-online-analytical-processing-olap-cube-and-operations.aspx

olap 多維分析

本文來自互聯網用戶投稿,該文觀點僅代表作者本人,不代表本站立場。本站僅提供信息存儲空間服務,不擁有所有權,不承擔相關法律責任。
如若轉載,請注明出處:http://www.pswp.cn/news/542630.shtml
繁體地址,請注明出處:http://hk.pswp.cn/news/542630.shtml
英文地址,請注明出處:http://en.pswp.cn/news/542630.shtml

如若內容造成侵權/違法違規/事實不符,請聯系多彩編程網進行投訴反饋email:809451989@qq.com,一經查實,立即刪除!

相關文章

dede mysql語句_讓dede運行php代碼和mysql語句

一、dede運行php代碼舉例1&#xff1a;{dede:name runphpyes}$str "hello ";me $str;me . "world";{/dede:name}結果&#xff1a;hello world說明&#xff1a;"name"為任意定義的名字&#xff0c;me 表示當前的值&#xff0c;也就是要輸出最后…

每周一書-2016年8月28日到9月4日獲獎讀者公布

每周一書-2016年8月28日到9月4日獲獎讀者公布 上次送出的《Bootstrap基礎教程》&#xff0c;已經被幸運者收到了。我們先來回顧下《改善C程序代碼的125個建議》活動文章下的精彩留言。 這是一段高屋建瓴的評述&#xff0c;足見作者對C語言的了解和熱愛層度&#xff0c;當然也得…

c構造函數和析構函數_C ++構造函數和析構函數| 查找輸出程序| 套裝2

c構造函數和析構函數Program 1: 程序1&#xff1a; #include<iostream>using namespace std;class Sample{private:int X;int Y;public:Sample(int x, int y){X x;Y y;}void set(int x, int y){X x;Y y;}void print(){cout<<X<<" "<<Y&…

python map函數的作用_Python的map函數

map()是 Python 內置的高階函數&#xff0c;它接收一個函數 f 和一個 list&#xff0c;并通過把函數 f 依次作用在 list 的每個元素上&#xff0c;得到一個新的 list 并返回。 例如&#xff0c;對于list [1, 2, 3, 4, 5, 6, 7, 8, 9] 如果希望把list的每個元素都作平方&#xf…

idea java no sdk_java - intelliJ IDEA 13錯誤:請選擇Android SDK

java - intelliJ IDEA 13錯誤&#xff1a;請選擇Android SDK我已經在Error: Cannot find any configured Android SDK上安裝了intelliJ 12.1.2和Error: Cannot find any configured Android SDK。現在我使用intelliJ 13.0.1創建了一個空的android應用程序項目(也使用模擬器作為…

該怎樣在KeyShot中進行貼圖

2019獨角獸企業重金招聘Python工程師標準>>> 在渲染物體的時候&#xff0c;貼圖常常是不可缺少的部分&#xff0c;貼圖主要用于描述對象表面的物質形態&#xff0c;構造真實世界中自然物質表面的視覺表象。不同的貼圖能給人帶來不同的視覺感受&#xff0c;KeyShot3D…

python淘寶cookies搶購_Python實現淘寶秒殺聚劃算搶購自動提醒源碼

說明 本實例能夠監控聚劃算的搶購按鈕&#xff0c;在聚劃算整點聚的時間到達時發出提醒&#xff08;音頻文件自己定義位置&#xff09;并自動彈開頁面&#xff08;URL自己定義&#xff09;。 同時還可以通過命令行參數自定義刷新間隔時間&#xff08;默認0.1s&#xff09;和監控…

kadane算法_使用KADANE的算法求最大子陣列和

kadane算法What is a sub-array? 什么是子陣列&#xff1f; A sub-array is basically an arrays contiguous part. For example, if we have an array of integers [1,2,3] so the sub-arrays that we can form from the given array are [1], [2] , [3] , [1,2] , [2,3] , …

java汽車油耗計算_轉發一個手機油耗計算器 (java)

今天在一個汽車論壇上看見的&#xff0c;試了試&#xff0c;還真不錯。比以前那個Fuel Consumption 功能要強大,雖然都是JAVA軟件。小羅盤手機計算器是作者獨自產品策劃、美術設計、程序開發、測試發布的手機應用軟件&#xff0c;是為作者的一個朋友寫的&#xff0c;當然我們用…

6.dubbo常用的xml配置有哪些_【面試篇】必須掌握的Spring 常用注解

閱讀文本大概需要5分鐘。注解本身沒有功能的&#xff0c;就和 xml 一樣。注解和 xml 都是一種元數據&#xff0c;元數據即解釋數據的數據&#xff0c;這就是所謂配置。本文主要羅列 Spring|Spring MVC相關注解的簡介。Spring部分1、聲明bean的注解Component 組件&#xff0c;沒…

Linux的iptables常用配置范例(2)

iptables -F #清除所有規則 iptables -X #清除所有自定義規則 iptables -Z #各項計數歸零 iptables -P INPUT DROP #將input鏈默認規則設置為丟棄 iptables -P OUTPUT DROP #將output鏈默認規則設置為丟棄 iptables -A INPUT -i lo -j ACCEPT iptables -A OUTPUT -o lo …

aptitude 命令_C-命令行參數Aptitude問題與解答

aptitude 命令C programming Command Line Arguments Aptitude Questions and Answers: In this section you will find C Aptitude Questions and Answers on Command Line Arguments – Passing values with running programs, separate argument values, number of argument…

文件上傳java邏輯_Java?文件上傳?實例

import java.io.*;import java.util.*;import javax.servlet.*;import javax.servlet.http.*;public class Upload {private String saveDir "."; // 要保存文件的路徑private String contentType ""; // 文檔類型private String charset "";…

matlab數值計算pdf_Gnuplot科學繪圖(九)——柵格以及方程數值解估算

Gnuplot科學繪圖系列內容Gnuplot科學繪圖(一)——從安裝到簡單函數繪圖(文末有彩蛋)Gnuplot科學繪圖(二)——坐標取值范圍及刻度(文末有彩蛋)Gnuplot科學繪圖(三)——點線風格Gnuplot科學繪圖(四)——多組數據繪圖Gnuplot科學繪圖(五)——輸出eps 圖片Gnuplot科學繪圖(六)——輸…

dda算法_計算機圖形學中的DDA(數字差分分析儀)算法

dda算法DDA(數字差分分析儀)算法 (DDA (Digital Differential Analyzer) Algorithm) In computer graphics, the DDA algorithm is the simplest algorithm among all other line generation algorithms. Here, the DDA is an abbreviation that stands for "Digital Diff…

購物商城框架java_基于jsp的購物商城-JavaEE實現購物商城 - java項目源碼

基于jspservletpojomysql實現一個javaee/javaweb的購物商城, 該項目可用各類java課程設計大作業中, 購物商城的系統架構分為前后臺兩部分, 最終實現在線上進行購物商城各項功能,實現了諸如用戶管理, 登錄注冊, 權限管理等功能, 并實現對各類購物商城相關的實體進行管理。該購物…

c語言++數組名【數字】_C ++程序在數組中打印所有非重復數字

c語言數組名【數字】Problem statement: Write a C program to print all the non-repeated numbers in an array in minimum time complexity. 問題陳述&#xff1a;編寫一個C 程序&#xff0c; 以最小的時間復雜度將所有未重復的數字打印在數組中 。 Input Example: 輸入示例…

java最接近對點及距離_最接近點對問題_分治法

一、問題描述給定平面上的n個點&#xff0c;找其中的一對點&#xff0c;使得在n個點組成的所有點對中該點對間的距離最小。二、解題思路及所選算法策略的可行性分析思路&#xff1a;利用分治法來解決問題。遞歸子結構求最接近點對總體可分為幾個步驟&#xff1a;1、當問題規模小…

python return用法_初學Python要了解什么 裝飾器知識匯總有哪些

初學Python要了解什么&#xff1f;裝飾器知識匯總有哪些&#xff1f;在Python學習過程中&#xff0c;有多種方法對函數和類進行加工&#xff0c;相對于其它方式&#xff0c;裝飾器語法簡單&#xff0c;代碼可讀性高。因此&#xff0c;裝飾器在Python項目中有廣泛的應用&#xf…

android emulator虛擬設備分析第三篇之pipe上的qemud service

一、概述 本篇和第二篇是強相關的&#xff0c;需要結合第二篇一起看。 以boot-properties為例&#xff0c;注意不需要看ANDROID-QEMUD.TXT&#xff0c;這個是和guest os中的qemud進行相關的&#xff0c;已廢棄。 啟動emulator時&#xff0c;有一個參數-prop <key><val…