Hub
Applies to
Platform: Microsoft SQL Server · Snowflake · Snowflake dbt · Databricks · Databricks dbt · Fabric Lakehouse · Fabric Warehouse · Oracle
Architecture: Data Vault
A Hub stores each business key of a business object once, with its hash key Hub_HK, in a table of the Raw Vault layer. Use it as the anchor that Links and Satellites reference. After each load, the result view shows one row per business key and the load that first delivered it.
Sources and relationships
A Hub reads Stages, RawVault Composites and Store Entities of a linked Data Store project, in one or more dataflows. It has no relationships of its own. Other model objects use it in two ways:
- Relationship to the Hub: Link, Driving Key Link, Hierarchical Link, Same As Link, Satellite, Multi-Active Satellite, Record Tracking Satellite, Effectivity Satellite and Non-Historized Satellite, and their Business Vault counterparts.
- Dataflow source: Current View, History View, PIT, BusinessVault Composite, Vault Out and the Business Vault types.
Create a Hub
- With the wizard: open the menu of a Stage, RawVault Composite or Store Entity, choose Automate and then Create Hub. Its steps are Create Model Object, Create Dataflow, Map Selected Business Keys and Add to View. See Create a Model Object with the wizard.

- Manually: create a model object of type Hub 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.
A Hub holds only business keys and Default Terms. Validation reports an error for any other term.
Properties
- Implementation Type:
Permanentonly, a table that keeps its rows from load to load. - Load Caching: empty (default) or
Hashing. - Custom Singleton Values: values of the unknown-member row. Available since Generator 2.3.
- Deduplication Method and Sort Order within Partition, per dataflow.
Platform-specific properties are listed under Platform differences.
Default Terms
Hub_HK: hash of the business keys and primary key of the table. See How biGENIUS-X builds hash values.BG_LoadTimestamp: the load that inserted the business key.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 a unique constraint of the table.
Generated objects
The part flow of Hub 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 Hub load_customer_hub with one dataflow:
| Role | Generated name | Purpose | Generated when |
|---|---|---|---|
| Source | RDV_HUB_load_customer_hub_Source | Reads the sources | Always |
| Deduplication | RDV_HUB_load_customer_hub_Deduplication | Removes duplicate rows | Deduplication Method Distinct or Partition |
| DataQualityLoader | RDV_HUB_load_customer_hub_DataQualityLoader | Checks the rules and fills the data quality table | An active rule that runs before the load |
| DataQualityStorage | RDV_HUB_load_customer_hub_DataQualityTable | Holds the rows and their check results | An active rule that runs before the load |
| DataQualityBeforeLoadAction | RDV_HUB_load_customer_hub_DataQualityBeforeLoadAction | Applies the rule actions before the load | An active rule that runs before the load |
| IntermediateResult | RDV_HUB_load_customer_hub_DataQualityResult | Passes the rows to load | An active rule that runs before the load |
| Error | RDV_HUB_load_customer_hub_DataQualityError | Holds the rows that break a rule | An active rule with Logging |
| Hashing | RDV_HUB_load_customer_hub_Hashing | Calculates Hub_HK | Always |
| HashingStorage | RDV_HUB_load_customer_hub_HashingTable | Stores the hashed rows | Load Caching Hashing |
| HashingLoader | RDV_HUB_load_customer_hub_HashingLoader | Fills the hashing table | Load Caching Hashing |
| Delta | RDV_HUB_load_customer_hub_Delta | Selects new business keys | Always |
| Loader | RDV_HUB_load_customer_hub_Loader | Inserts the new keys | Always |
| Storage | RDV_HUB_load_customer_hub | Hub table | Always |
| Result | RDV_HUB_load_customer_hub_Result | Query view | Create Result Views true |
- The table script inserts the unknown-member row: business key
0(text termsUnknown), aHub_HKof zeros,BG_SourceSystemUnknownandBG_LoadTimestamp1900-01-01. The result view hides this row. Link rows with an empty foreign key reference it.
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 rows whose Hub_HK is not in the result view. The loader inserts them with the load timestamp. A Hub loader never updates or deletes rows.
Example
The Hub load_customer_hub on Microsoft SQL Server reads the Stage CUSTOMER. CUSTOMER_ID is the business key. The loads deliver these keys:
- Load 1 on 2026-10-28 08:00: customers 1 and 2.
- Load 2 on 2026-10-29 08:00: customers 1, 2 and 3.
- Load 3 on 2026-10-30 08:00: the same keys as load 2.
Check the result
Query the result view, here in the schema rv:
SELECT CUSTOMER_ID, Hub_HK, BG_LoadTimestamp FROM rv.RDV_HUB_load_customer_hub_Result ORDER BY CUSTOMER_ID;
This is the result after load 3, with Hub_HK shortened to its first four bytes:
CUSTOMER_ID Hub_HK BG_LoadTimestamp 1 0xE91FE173 2026-10-28 08:00 2 0x21ED4C7A 2026-10-28 08:00 3 0x2064F80F 2026-10-29 08:00
- Load 2 inserted only customer 3, so customers 1 and 2 keep the timestamp of load 1.
- Load 3 inserted no row.
- The table holds a fourth row, the unknown-member row with
CUSTOMER_ID0.
With two dataflows, each dataflow loader inserts only the keys that are not yet stored. For example, when the first dataflow delivers customers 1 and 2 and the second one customers 2 and 7, the Hub stores customer 2 once.
Platform differences
The rules for names, loaders, deployment, platform properties and defaults are in Model object types on each platform. The Hub differs from them in these points:
- Snowflake: the load control task
LC_RDV_HUB_<model object name>_TASKcalls the loader.
Limitations
- A Hub has at least one business key, no relationships and no terms other than business keys and Default Terms.
- A dataflow that delivers the same business key twice in one load makes the loader fail. On Microsoft SQL Server the message is
Violation of PRIMARY KEY constraint 'PK_RDV_HUB_<model object name>'. Deduplication MethodDistinctorPartitionremoves such duplicates before hashing. - A Hub keeps no history. Satellites store the descriptive data of its keys.
Related articles
- Previous: Stage, RawVault Composite, Store Entity
- Next: Link, Satellite
- Reference: Hub_HK, Implementation Type (Model Object), Load Caching (Model Object), Custom Singleton Values (Model Object), Deduplication Method (Dataflow), Sort Order within Partition (Dataflow), Create Result Views (Project), Model object types on each platform, Generated parts of model objects
- See also: How biGENIUS-X builds hash values, Create a Model Object with the wizard, Model a Data Vault Solution