Cube的主動式快取(Proactive Caching)

來源:互聯網
上載者:User

目前一般BI展現都是基於曆史資料的分析,要想做到即時性的BI並非不可實現,前一段時間,由於工作需要,專門驗證了微軟的主動式快取機制。
一、基本概念:
微軟對Cube的儲存模式包括:MOLAP、ROLAP、HOLAP。簡單介紹三種格式特點:
1、MOLAP: 量值群組資料和彙總都以多維格式檔案儲存體;
2、ROLAP: 量值群組資料和彙總都以關聯式資料庫儲存;
3、HOLAP: 量值群組資料以關聯式資料庫儲存,而彙總資料以多維格式檔案儲存體。
微軟為了平衡MOLAP(查詢效能高)和ROLAP(即時性強)優勢,提供了主動式快取。
二、主動式快取機制
如,是微軟的主動式快取處理的技術架構圖:

說明:如果開啟了主動式快取,在新的緩衝未產生之前讀的是Cube中的Cache。

如果舊版本的Cache存在,新的Cache 在構建中,任然讀舊版的Cache.

在舊版本Cache刪除,新Cache覆蓋舊版Cache同時,讀關聯式資料庫資料;

覆蓋完成後,讀新的Cache.

  • 1
  • 2
  • 下一頁

相關文章

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.