資料倉儲架構

資料倉儲概念

Aaren Stubberfield

Data Scientist

Inmon-自上而下

Image of data warehouse icon

資料倉儲概念

Inmon-自上而下

Image of data warehouse icon

必須先決定:

  • 全部資料定義、清理與商業規則
  • 在任何資料進入倉儲之前
資料倉儲概念

Inmon-自上而下

image of two database icons with arrows pointing to an arrow labeled ETL which points to data warehouse icon

資料倉儲概念

Inmon-自上而下

image of two database icons with arrows pointing to an arrow labeled ETL which points to data warehouse icon with arrows pointing to two data mart icons with arrows pointing to an icon of a person on a computer, a reporting icon, and magnifying glass icon

資料倉儲概念

自上而下的優缺點

優點:

  • 組織單一真相來源
  • 正規化=較少儲存空間
  • 易於調整資料集市以支援報表變更

缺點:

  • 關聯更多=回應較慢
  • 前期工作冗長
    • 啟動成本較高
資料倉儲概念

Kimball-自下而上

Image of two database icons with arrows pointing to an arrow labeled ETL and arrows pointing to two data mart icon

  • 反正規化資料
  • 聚焦部門資料集市
  • 資料自 ETL 直接進入資料集市
資料倉儲概念

Kimball-自下而上

Image of two database icons with arrows pointing to an arrow labeled ETL and arrows pointing to two data mart icon with arrows pointing to a data warehouse icon with arrows pointing to an icon of a person on a computer, a reporting icon, and magnifying glass icon

資料倉儲概念

自下而上的優缺點

優點:

  • 前期開發較快
    • 啟動成本較低
  • 反正規化=較友善易用

缺點:

  • ETL 處理時間增加
  • 複製資料風險較高
  • 需持續開發維護
資料倉儲概念

一起來練習吧!

資料倉儲概念

Preparing Video For Download...