Data Vault Pros
• ༷ʑͳσʔλιʔε͕૿͍͑ͯ͘߹Ͱ࠷খݶͷมߋͰ࣮͢Δ͜
ͱ͕ՄೳͰ͋Δ
• σʔλؒͷ͕ؔมߋ͞Εͯ༰қʹมߋ͕ՄೳͰ͋Δ
• DWHʹ͓͍ͯσʔλιʔεͷ͕ՄೳͰ͋Δ
Slide 17
Slide 17 text
Data Vault Pros
)VC6TFS 4BU6TFS
)VC
-JOL
4BUFMMJUF
4BU$3.
ҟͳΔσʔλιʔεΛՃ͢Δ߹SatelliteΛՃ͢Δ͚ͩͰྑ͍
Slide 18
Slide 18 text
Data Vault Cons
• ຊޠͷใ͕গͳ͍ͷͰӳޠΛಡΊΔඞཁ͕͋Δ
• ଞͷσʔλϞσϦϯάʹൺͯൣғ͕͍͜ͱ͋Δ͕ɺߏஙͷͨΊ
ʹඞཁͱ͢Δ͕ࣝଟ͍ (ຊൃදͰհͰ͖͍ͯΔ༰جຊతͳ෦
͚ͩͰ͢)
Slide 19
Slide 19 text
Data Vault @ 10X
dbtͱBigQueryΛ༻͍ͯData VaultΛݕূ͍ͯ͠Δ
BigQuery dbt BigQuery
Slide 20
Slide 20 text
• dbtvault
• (ৄࡉޙͷൃදΛ͝ௌߨ͍ͩ͘͞)
• ࠓճͷݕূͰௐࠪ·ͰͰ࣮ࡍʹར༻͍ͯ͠·ͤΜ
Data Vault using dbt with BigQuery
Slide 21
Slide 21 text
Data Vault using dbt with BigQuery
• dbtͰͷϑϧεΫϥον
• dbtvault͕͋ΔΑ͏ʹςϯϓϨʔτͰSQLΛੜͰ͖Δdbt૬ੑ
͕ඇৗʹྑ͍
• MaterializationͷIncrementalΛ༻͍࣮ͯ͢Δ͜ͱ͕Ͱ͖Δ
• (Incrementalʹ͍ͭͯޙͷൃදΛ͝ௌߨ͍ͩ͘͞)
Slide 22
Slide 22 text
Data Vault using dbt with BigQuery
• dbtvaultͰϑϧεΫϥονͰجຊͳ࣮͘Ͱ͖Δ
• ARRAYSTRUCTͷѻ͍ʹҙ͢Δ
• Data VaultͰଟ༻͞ΕΔhashdistinct͕ѻ͑ͳ͍
• (dbt snapshotͱ༷ͷͱͯ͠ಉ͡)
Slide 23
Slide 23 text
(ߋʹৄ͍͠ઃܭৄࡉʹ͍ͭͯԼهͷຊΛࢀߟʹ͍ͯͩ͘͠͞)
More Information about Data Vault
Slide 24
Slide 24 text
Summary
• 10Xʹ͓͚ΔDWHߏஙͷ՝
• Data Vaultͷجຊతͳ֓೦
• dbtͱBigQueryΛ༻͍ͨData Vault
Slide 25
Slide 25 text
References
• Books
• Building a Scalable Data Warehouse with Data Vault 2.0
• Articles
• A short intro to #datavault 2.0