日韩性视频-久久久蜜桃-www中文字幕-在线中文字幕av-亚洲欧美一区二区三区四区-撸久久-香蕉视频一区-久久无码精品丰满人妻-国产高潮av-激情福利社-日韩av网址大全-国产精品久久999-日本五十路在线-性欧美在线-久久99精品波多结衣一区-男女午夜免费视频-黑人极品ⅴideos精品欧美棵-人人妻人人澡人人爽精品欧美一区-日韩一区在线看-欧美a级在线免费观看

歡迎訪問 生活随笔!

生活随笔

當(dāng)前位置: 首頁 > 编程资源 > 编程问答 >内容正文

编程问答

olap 多维分析_OLAP(在线分析处理)| OLAP多维数据集和操作

發(fā)布時間:2025/3/11 编程问答 27 豆豆
生活随笔 收集整理的這篇文章主要介紹了 olap 多维分析_OLAP(在线分析处理)| OLAP多维数据集和操作 小編覺得挺不錯的,現(xiàn)在分享給大家,幫大家做個參考.

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的各種應(yīng)用,各種類型的OLAP,OLAP的優(yōu)缺點 。 在本文中,我們將了解

  • OLAP Cube

    OLAP多維數(shù)據(jù)集

  • OLAP Cube Operations

    OLAP多維數(shù)據(jù)集操作

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



    Fig 1: OLAP Cube

    圖1:OLAP多維數(shù)據(jù)集

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

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

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

    Here is the list of OLAP operations,

    這是OLAP操作的列表,

    • Roll-up

      卷起

    • Drill-down

      下鉆

    • Slice

    • Dice

      骰子

    • Pivot (rotate)

      樞軸旋轉(zhuǎn)

    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.

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

    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多維數(shù)據(jù)集的每個單元格進行計算,然后匯總,因為總和(或計數(shù)等)是總和子和,但很難支持MEDIAN,因為必須分別針對每個視圖進行計算:集合的中位數(shù)不是子集的中位數(shù)。

    Let us understand it with a diagrammatic flow,

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



    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.

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



    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.

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

    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".

    使用標(biāo)準(zhǔn)時間=“ Q1”對維“時間”執(zhí)行切片。

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

    通過使用或選擇一維或二維來形成子多維數(shù)據(jù)集。



    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從給定的多維數(shù)據(jù)集中選擇2個或其他維度,并提供一個全新的子多維數(shù)據(jù)集。 考慮下面顯示骰子操作的圖。 骰子操作通過允許分析人員選擇多維的特定值來生成子多維數(shù)據(jù)集。 該圖顯示了切塊操作。 涉及三個維度的多維數(shù)據(jù)集上的切塊操作基于以下選擇標(biāo)準(zhǔn),

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

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

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

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

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

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



    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.

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



    Fig 2.5 : Olap Pivot

    圖2.5:Olap樞軸

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

    olap 多維分析

    總結(jié)

    以上是生活随笔為你收集整理的olap 多维分析_OLAP(在线分析处理)| OLAP多维数据集和操作的全部內(nèi)容,希望文章能夠幫你解決所遇到的問題。

    如果覺得生活随笔網(wǎng)站內(nèi)容還不錯,歡迎將生活随笔推薦給好友。