Skip to content
  • There are no suggestions because the search field is empty.

Business Link

Applies to
Platform: Microsoft SQL Server · Snowflake · Snowflake dbt · Databricks · Databricks dbt · Fabric Lakehouse · Fabric Warehouse · Oracle
Architecture: Data Vault

A Business Link stores each key combination that it reads from the Raw Vault once, with its hash key Link_HK, in a table of the Business Vault layer. Use it for a relationship that a business rule derives from Raw Vault data, such as the cashier, item and loyalty card of a sales transaction. After each load, the result view shows one row per key combination and the load that first delivered it.

A Business Link works like a Link. It differs in its sources, its layer, its relationship targets and the BDV_ prefix of its objects.

Sources and relationships

A Business Link reads the result views of Raw Vault objects, in one or more dataflows: Hubs, all Link types, all satellite types, Current Views and History Views. It also reads BusinessVault Composites and Hierarchy Flattens. It has one or more relationships to Hubs or Business Hubs. The foreign-key terms of the relationships are the business keys of the Business Link.

Business Link Satellites, Record Tracking Business Link Satellites, Effectivity Business Link Satellites, Non-Historized Business Link Satellites reference a Business Link. Business Current View, Business History View, Business PIT and Vault Out can read it as a source.

Create a Business Link

A Business Link holds only foreign-key terms and Default Terms. Validation reports an error for any other term; descriptive data goes into a Business Link Satellite.

Properties

Default Terms

When all foreign-key terms of a nullable relationship are NULL, the Business Link stores the key of the Hub's unknown-member row. See Behaviour for Nulled Business Keys in Links.

Generated objects

The part flow of Business Link shows which parts it can get and under which settings; the legend explains the symbols.

Part flow of Business Driving Key Link, Business Link, Driving Key Link, Hierarchical Business Link, Hierarchical Link, Link, Same As Business Link and Same As Link, top to bottom. The main path on the left, with the default settings, runs _Source, _Hashing, _Delta, _Loader, Table, _Result. Decisions with their values, the default or main value first: Deduplication Method (None; Distinct, Partition); Before-load rule (no; yes); Load Caching (empty; Hashing); Create Result Views (true; false); Logging (yes); Use Embryo Loader (true). Detours add the other parts: _Deduplication, _DataQualityLoader, _DataQualityTable, _DataQualityResult, _DataQualityBeforeLoadAction, _DataQualityError, _HashingLoader, _HashingTable, _EmbryoLoader.

These are the names on Microsoft SQL Server for the Business Link load_blnk with one dataflow:

RoleGenerated namePurposeGenerated when
SourceBDV_LNK_load_blnk_SourceReads the sourcesAlways
DeduplicationBDV_LNK_load_blnk_DeduplicationRemoves duplicate rowsDeduplication Method Distinct or Partition
DataQualityLoaderBDV_LNK_load_blnk_DataQualityLoaderChecks the rules and fills the data quality tableAn active rule that runs before the load
DataQualityStorageBDV_LNK_load_blnk_DataQualityTableHolds the rows and their check resultsAn active rule that runs before the load
DataQualityBeforeLoadActionBDV_LNK_load_blnk_DataQualityBeforeLoadActionApplies the rule actions before the loadAn active rule that runs before the load
IntermediateResultBDV_LNK_load_blnk_DataQualityResultPasses the rows to loadAn active rule that runs before the load
ErrorBDV_LNK_load_blnk_DataQualityErrorHolds the rows that break a ruleAn active rule with Logging
HashingBDV_LNK_load_blnk_HashingCalculates the hash keysAlways
HashingStorageBDV_LNK_load_blnk_HashingTableStores the hashed rowsLoad Caching Hashing
HashingLoaderBDV_LNK_load_blnk_HashingLoaderFills the hashing tableLoad Caching Hashing
EmbryoLoaderBDV_LNK_load_blnk_EmbryoLoaderAdds missing Hub keysUse Embryo Loader on a relationship
DeltaBDV_LNK_load_blnk_DeltaSelects new key combinationsAlways
LoaderBDV_LNK_load_blnk_LoaderInserts the new rowsAlways
StorageBDV_LNK_load_blnkBusiness Link tableAlways
ResultBDV_LNK_load_blnk_ResultQuery viewCreate Result Views true
  • The table script inserts the unknown-member row with hash keys of zeros and foreign keys 0. The result view hides it.
  • With Foreign Key Mode Create Disabled, the table script adds a foreign key per relationship and disables 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 source view reads the result views of its sources. The hashing view calculates Link_HK and one Hub key per relationship. The delta view keeps the rows whose Link_HK is not in the result view, and the loader inserts them with the load timestamp. The loader never updates or deletes rows.

Example

The Business Link load_blnk on Microsoft SQL Server reads the BusinessVault Composite load_salestransaction_virtual_bcmp, a view of sales transactions. It has relationships to the Hubs common_employee, common_item and common_loyaltycard, with the roles EMPLOYEE, ITEM and LOYALTYCARD. The composite delivers these transactions:

  • Load 1 on 2026-10-28 08:00: cashier 101 sells item 2 to loyalty card 501.
  • Load 2 on 2026-10-29 08:00: the same transaction, and cashier 102 sells item 3 to card 503.
  • Loads 3 and 4 on 2026-10-30 and 2026-10-31 08:00: the same transactions as load 2.

Check the result

Query the result view, here in the schema p3b:

SELECT FK_common_employee_EMPLOYEE_EMPLOYEE_ID AS EMPLOYEE_ID,
       FK_common_item_ITEM_ITEM_ID AS ITEM_ID,
       FK_common_loyaltycard_LOYALTYCARD_LOYALTYCARD_ID
         AS LOYALTYCARD_ID,
       BG_LoadTimestamp
FROM p3b.BDV_LNK_load_blnk_Result
ORDER BY BG_LoadTimestamp;

This is the result after load 4:

EMPLOYEE_ID  ITEM_ID  LOYALTYCARD_ID  BG_LoadTimestamp
101          2        501             2026-10-28 08:00
102          3        503             2026-10-29 08:00
  • Load 2 inserted only the new combination of cashier 102, item 3 and card 503.
  • Loads 3 and 4 inserted no row.
  • The table holds a third row, the unknown-member row.

Platform differences

The rules for names, loaders, deployment, platform properties and defaults are in Model object types on each platform. The Business Link differs from them in these points:

  • Snowflake: the load control task LC_BDV_LNK_<model object name>_TASK calls the loader, and the task LC_BDV_LNK_<model object name>_EMBRYOTASK calls the embryo loader.

Limitations

  • A Business Link has at least one relationship and at least one business key, and no terms other than foreign keys and Default Terms.
  • A Business Link keeps no history and no validity. Business Link Satellites store the descriptive data and its history.
  • A dataflow that delivers the same key combination twice in one load makes the loader fail with a primary key violation. A Deduplication Method removes such duplicates before hashing.

Release differences

  • Generator 2.2: Use Embryo Loader is available.
  • Generator 2.3: Custom Singleton Values is available.

Related articles