Constraint Mode
The table reference constraint mode to apply for the Data Vault database. Allowed values are DoNotCreate, CreateAndNoCheck and CreateAndCheck.
Options: DoNotCreate, CreateAndNoCheck, CreateAndCheck
| Option | Behavior |
|---|---|
DoNotCreate (default) | No reference constraints are modeled for Data Vault tables |
CreateAndNoCheck | Reference constraints are modeled but not enforced against existing data |
CreateAndCheck | Reference constraints are modeled and enforced |
A blank or unrecognized value is treated as DoNotCreate.
When to Change This Setting
Keep the default DoNotCreate for a standard Data Vault, where load order and zero keys manage referential completeness and physical constraints would slow highly parallel loads. Use the create options when you want the table relationships expressed as constraints, for example to expose the model's relationships to tooling.
Related Settings
| Setting | Interaction |
|---|---|
| Constraint Mode STG | The equivalent control for Staging tables |
| Constraint Mode DM | The equivalent control for Data Mart tables |
Notes
- This setting is part of the Data Vault settings category.
- The default value for this setting is
DoNotCreate.