data warehousing — where storage is cheap and compute is expensive — we’ll happily borrow and add any and all data from other concepts that are relevant to answering questions about the mart’s core entity.” 『Marts: Business-defined entities』 https://docs.getdbt.com/best-practices/how-we-structure/4-marts はじめに ( 意訳 ) ” 伝統的な Kimball のスタースキーマと違って、現代的なデータウェ アハウス —— ストレージは安く計算が高くつく —— では、データマートの中 心的要素についての質問に答えられるなら、喜んで他のテーブルからあらゆる データを持ってきて追加します。”
Source, Staging, Intermediate, Mart というレイヤーに分けてテーブルを加工するなど。 参考:『Data modeling techniques for more modularity』 https://www.getdbt.com/blog/modular-data-modeling-techniques
If something feels like it should be a fact to meet your stakeholders' needs, then it’s a fact. If it feels like a dimension, it’s a dimension. The world is your oyster. If you find that you made the wrong decision down the road, (it’s usually) no big deal. You can remodel that data. Just remember: you’re not a surgeon. No one will die if you mess up (hopefully). So, just go with what feels right because you’re the expert on your data ” 『Guide to dimensional modeling』 https://www.getdbt.com/blog/guide-to-dimensional-modeling データモデリング ( 意訳 ) ” 汎用的な経験則:自分の直感を信じましょう! ステークホルダーのニーズを満たすためにファクトと して扱うべきだと感じれば、それはファクトです。ディメンションだと感じれば、それはディメンションです。世 界はあなたの思いのままです。もしも後で間違った判断だったとわかっても(だいたいは)ささいなことです。あ なたはもう一度モデリングできます。覚えておいてください:あなたは外科医ではありません。(おそらく)あな たが間違えても誰も亡くなりません。なので、自社のデータの専門家として、直感を信じましょう 。”