Can a reference table be collegiated to an HUB ?
In all books the reference tables are collegiated only to the Satellite....but why it's not collegiated to a HUB table?
Thanks a lot
Can a reference table be collegiated to an HUB ?
In all books the reference tables are collegiated only to the Satellite....but why it's not collegiated to a HUB table?
Thanks a lot
If your reference data is categorising a business key already stored within a hub then yes it would make sense to store it as a satellite to that hub.
Reference tables however are for situations where there are no hubs because you need more information on a piece of data that exists within a satellite but that item doesn't justify being a business key in itself. Remember there's a strict rule of no satellite to satellite joins in Data Vault and so if you find yourself in this situation normally then you need not only a new satellite but a new link table to connect the data your reference code.
A common example would be dates. It's a regular need to have some sort of reference table for dates, effectively the equivalent of a date dimension that allows you to quickly categorise dates into years, quarters, financial periods and so on. Rather than having to create a link table for every satellite that holds a date and shift date keys in to it you can instead use a reference table for direct joins.
A reference table might also lean towards storage of meta data that doesn't fit into the normal data vault format at all, to give an example if you have a source system in your hubs you may want a reference table giving a more descriptive name to those source systems.