data-vault

Datavault - hard rules (rawvault) vs soft rules (businessvault)

旧时模样 提交于 2021-01-29 18:38:41
问题 I have a question on hard rules (rawvault) and soft rules (businessrules). The example I have is a source system has a denormalized table called Pets where Pets contain Cats, Dogs, and Birds where they are distinguished by a Type Code (1 – cat, 2 – dog, 3 – birds). My question is regarding hard rules vs soft rules when loading the data into the Rawvault vs business vault. When loading the Pets table, can you create a h_cat, h_dog, and h_bird hub in the rawvault and filter the source table

How to build a Multi-Active Satellite table from a table containing json query?

随声附和 提交于 2021-01-07 04:15:06
问题 I have a table like follow: id |first_active |openingtimes_json 8326cdd20459|1970-01-01 01:00:00+01 |{"openingTimes":[{"applicable_days":63,"periods":[{"startp":"06:00","endp":"22:00"}]},{"applicable_days":64,"periods":[{"startp":"07:00","endp":"21:00"}]}]} d392f7532218|1970-01-01 01:00:00+01 |{"openingTimes":[{"applicable_days":31,"periods":[{"startp":"06:00","endp":"22:00"}]},{"applicable_days":64,"periods":[{"startp":"09:00","endp":"22:00"}]},{"applicable_days":32,"periods":[{"startp":"08

Data vault model: what are hubs good for?

佐手、 提交于 2019-12-12 01:16:29
问题 I was just reading about Data Vault modeling and as far as I understand it, the hub does only contain keys (and the record source). So I was wondering why I should create those hub tables, only to store the record source? Wouldn't it be enough to have only Satellites and Links? Btw: I'm looking for simple mysql tables in a data vault form to download and play with. 回答1: The hub is where the passive integration of multiple sources is applied. You would have a column for data source and record