THE ILLUSTRATE OF DATA VAULT MODEL

  —The article is based on 《Building a Scalable Data Warehouse with Data Vault 2.0》,If you want this e-book, please leave a message to me,Best Regards!
  The Data Vault model is based on three basic entity types,these entity types are hubs, links,and satellites. Each entity type serves a specific purpose: the hub separates the business keys from therest of the model; the link stores relationships between business keys (and/or hubs); and satellites store the context (the attributes of a business key or relationship).

Hub Entities

  The purpose of a hub entity is to store the business keys of business objects along with some other information, which is called the metadata.

HubAirline
AirlineHashKey(PK)
LoadDate
RecordSource
AirlineID(business key)
refeshdate
table 1 Hub table schema example

Link Entities

  The Data Vault models these relationships with links that connect two or more hubs.Typical business processes are purchasing, manufacturing, advertising, marketing, and sales. Because these processes often (but not always) represent transactions, a link often represents a transaction as well.Therefore, it often provides the basis for creating the facts of the dimensional model.

在这里插入图片描述

Figure 1 Link table scema example

Satellite Entities

  Satellites add this functionality to the Data Vault model. They store the attributes that belong to either a business key (in a hub), relationship or a transaction (in a link).The satellite also stores the history of the attribute data. Every attribute change is logged to the satellite.
在这里插入图片描述

Figure 2 Satellite table scema example

在这里插入图片描述

Figure 3 Satellite table data example

  The Data vault Model as follows:

在这里插入图片描述

Figure 4 data vault model example

  If the business decides to add information about the plane, the Data Vault gets a new hub and the hub is linked to the existing Data Vault with a new set of links as follows:
在这里插入图片描述

Figure 5 adjust data vault model example

  finally,your data warehouse model will become the same as Figure 6,just like a big web.
在这里插入图片描述

Figure 6 the finally data vault model
                      
References:《Building a Scalable Data Warehouse with Data Vault 2.0》
  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 打赏
    打赏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包

打赏作者

╭⌒若隐_RowYet——大数据

谢谢小哥哥,小姐姐的巨款

¥1 ¥2 ¥4 ¥6 ¥10 ¥20
扫码支付:¥1
获取中
扫码支付

您的余额不足,请更换扫码支付或充值

打赏作者

实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值