Reference Table
Applies to
Platform: Microsoft SQL Server · Snowflake · Snowflake dbt · Databricks · Databricks dbt · Fabric Lakehouse · Fabric Warehouse · Oracle
Architecture: Data Vault
A Reference Table stores one row per business key of simple reference data, such as country codes and names, in a table of the Raw Vault layer, without hash key and without history. Use it for lookup data that many objects need and that does not justify a Hub and a Satellite. After each load, the result view shows the current value of each key.
Sources and relationships
A Reference Table reads Stages, RawVault Composites and Store Entities of a linked Data Store project, in one or more dataflows. It has no relationships, and no other model object has a relationship to it. Vault Out reads it as a source; in a Vault and Mart project, Mart Dimension, Mart Fact and Mart Composite can read it too. Join it in a dataflow by its business key.
Create a Reference Table
- With the wizard: open the menu of a Stage, RawVault Composite or Store Entity, choose Automate and then Create Reference Table. Its steps are Create Model Object, Create Dataflow, Map Selected Business Keys, Map Selected Terms and Add to View. See Create a Model Object with the wizard.

- Manually: create a model object of type Reference Table in the Raw Vault column, create a dataflow set, add the source model object and map the terms. Mark at least one term as business key.
Loading behavior
The loader updates and inserts:
- A business key that the table does not hold yet is inserted.
- A business key whose row hash
BG_RowHashdiffers from the stored row is updated in place, with the new load timestamp. The old values are not kept. - A business key that the source no longer delivers stays in the table.
The row hash covers the terms that are not business keys and not Default Terms. See BG_RowHash and How biGENIUS-X builds hash values.
Properties
- Implementation Type:
Permanentonly. - Load Caching: empty (default) or
Hashing. - Deduplication Method and Sort Order within Partition, per dataflow.
Foreign Key Mode, Custom Singleton Values and Use Embryo Loader do not apply.
Default Terms
BG_RowHash: hash of the terms that are not business keys, compared with the stored row.BG_LoadTimestamp: the load that inserted or last changed the row.BG_SourceSystem: the source system of the row; empty unless you map it.BG_DataQuality_ID,BG_ErrorCountandBG_ErrorDescription: hidden terms of the data quality objects.
The business keys form the primary key of the table.
Generated objects
The part flow of Reference Table shows which parts it can get and under which settings; the legend explains the symbols.

These are the names on Microsoft SQL Server for the Reference Table with_distinct_ref with one dataflow:
| Role | Generated name | Purpose | Generated when |
|---|---|---|---|
| Source | RDV_ReferenceTable_with_distinct_ref_Source | Reads the sources | Always |
| Deduplication | RDV_ReferenceTable_with_distinct_ref_Deduplication | Removes duplicates | Deduplication Method Distinct or Partition |
| DataQualityLoader | RDV_ReferenceTable_with_distinct_ref_DataQualityLoader | Checks the rules and fills the data quality table | An active rule that runs before the load |
| DataQualityStorage | RDV_ReferenceTable_with_distinct_ref_DataQualityTable | Holds the rows and their check results | An active rule that runs before the load |
| DataQualityBeforeLoadAction | RDV_ReferenceTable_with_distinct_ref_DataQualityBeforeLoadAction | Applies the rule actions before the load | An active rule that runs before the load |
| IntermediateResult | RDV_ReferenceTable_with_distinct_ref_DataQualityResult | Passes the rows to load | An active rule that runs before the load |
| Error | RDV_ReferenceTable_with_distinct_ref_DataQualityError | Holds the rows that break a rule | An active rule with Logging |
| Hashing | RDV_ReferenceTable_with_distinct_ref_Hashing | Calculates the row hash | Always |
| HashingStorage | RDV_ReferenceTable_with_distinct_ref_HashingTable | Stores the hashed rows | Load Caching Hashing |
| HashingLoader | RDV_ReferenceTable_with_distinct_ref_HashingLoader | Fills the hashing table | Load Caching Hashing |
| Delta | RDV_ReferenceTable_with_distinct_ref_Delta | Selects new and changed keys | Always |
| Loader | RDV_ReferenceTable_with_distinct_ref_Loader | Updates and inserts | Always |
| Storage | RDV_ReferenceTable_with_distinct_ref | Reference Table | Always |
| Result | RDV_ReferenceTable_with_distinct_ref_Result | Query view | Create Result Views true |
- The table has no unknown-member row.
Generated parts of model objects shows the order in which a load runs the parts and the settings that add or remove them.
The delta view keeps the source rows whose business key is not in the result view or whose BG_RowHash differs. The loader updates the changed keys and then inserts the new ones, in one transaction.
Example
The Reference Table with_distinct_ref on Microsoft SQL Server reads country codes and names from the Stage EMPLOYEE. COUNTRY_ISO_CODE is the business key and COUNTRY the name. The dataflow has Deduplication Method Distinct, because several employees share a country. The loads deliver these countries:
- Load 1 on 2026-10-28 08:00: CH Switzerland for two employees and DE Germany.
- Load 2 on 2026-10-29 08:00: the same countries and AT Austria.
- Load 3 on 2026-10-31 08:00: the source now names DE Deutschland.
Check the result
Query the result view, here in the schema rv:
SELECT COUNTRY_ISO_CODE, COUNTRY, BG_LoadTimestamp, BG_RowHash FROM rv.RDV_ReferenceTable_with_distinct_ref_Result ORDER BY COUNTRY_ISO_CODE;
This is the result after load 3, with BG_RowHash shortened to its first four bytes:
COUNTRY_ISO_CODE COUNTRY BG_LoadTimestamp BG_RowHash AT Austria 2026-10-29 08:00 0xE60F2C8A CH Switzerland 2026-10-28 08:00 0xDB1812A5 DE Deutschland 2026-10-31 08:00 0xB570D028
- The deduplication view reduced the two CH rows of load 1 to one.
- Load 3 overwrote Germany with Deutschland and set its load timestamp; the table still holds three rows.
Platform differences
The rules for names, loaders, deployment, platform properties and defaults are in Model object types on each platform. The Reference Table differs from them in these points:
- Snowflake: the load control task
LC_RDV_REFERENCETABLE_<model object name>_TASKcalls the loader.
Limitations
- A Reference Table has at least one business key and no relationships. Validation reports an error otherwise; a nullable business key raises a warning.
- A Reference Table keeps no history: changed values overwrite the stored ones.
Related articles
- Previous: Stage, RawVault Composite, Store Entity
- Next: Vault Out, Mart Dimension
- Reference: BG_RowHash, Load Caching (Model Object), Deduplication Method (Dataflow), Hash Group Size (Model Object), Create Result Views (Project), Model object types on each platform, Generated parts of model objects
- See also: Hub, Satellite, How biGENIUS-X builds hash values, Create a Model Object with the wizard, Model a Data Vault Solution