AnalyticsCreator Docs Preview

Historization

On this page
  1. Related objects
  2. Related guidance
  3. Controls
  4. XAML preview
  5. Definition
  6. Filters
  7. Scripts
  8. Procedure
  9. Special columns
  10. Options
  11. Parsed scripts
  12. History behaviour
  13. Validity dates
  14. Empty source
  15. Missing sources
  16. Procedure generation
  17. Other controls
  18. Scope

Object reference — Historization

Edit a historization from the Historization list by opening its row. The definition needs an input table, a history target and a Historization package. Use the Definition tab to review mappings before configuring filters, dates and the generated procedure.

All windows and pages · Common controls and reading this reference

Controls

Find a control

General

Definition

Definition / Columns

Definition / DataGrid

Definition / Variables

Filters

Scripts

Procedure

Special columns

Options

History behaviour

Validity dates

Validity dates / Optional statements for calculating the validity period, usually the names of the date fields.

Empty source

Missing sources

Procedure generation

The entries include tabs, grid columns, fields and context-menu actions. Repeated captions can belong to different grids or menus. Selection-dependent and initially hidden controls are included; inclusion is not a promise that every control is visible at once. Fixed choices below are declared choices, not a platform support matrix.

XAML preview

WPF renders the compiled XAML view with the application styles and empty fields. The image variant follows the documentation color theme.

Definition

XAML illustration: Definition XAML illustration: Definition

General

Definition

Sets the package and mapped columns, including per-column SCD policy and empty-record values.

Location: General. Control: Tab.

Definition

Columns

Location: Definition. Control: Table/grid.

Definition / Columns

Column name

Source field whose change-handling rule is configured in this row.

Location: Definition / Columns. Control: Dropdown column.

Declared read-only.

SCD Type

Sets the per-column policy: SCD0 preserves the original value, SCD1 updates in place and SCD2 participates in creating a version. New mapping rows start with SCD2. Clicking the column header cycles the policy on every mapped row.

Location: Definition / Columns. Control: Dropdown column.

Declared choices: None, SCD1, SCD2.

Empty value

Value used for this field when historization adds an empty record for a missing source row.

Location: Definition / Columns. Control: Text column.

Use last value as empty value

When Add empty record is enabled for missing source records, copy this field from the closing current record into the newly inserted empty record. Otherwise the configured empty value is used.

Location: Definition / Columns. Control: Checkbox/status column.

Definition

Panel divider

Drag to resize the adjacent panels. This changes presentation, not stored data values.

Location: Definition. Control: Panel divider.

Rows

Location: Definition. Control: Table/grid.

Definition / DataGrid

Column name

Technical column name used in the generated database definition.

Location: Definition / DataGrid. Control: Text column.

Statement

Expression calculating this additional historization field.

Location: Definition / DataGrid. Control: Text column with editor.

Data Type

Data type assigned to this column.

Location: Definition / DataGrid. Control: Dropdown column.

MaxLength

Maximum length configured for this data type; applicable to types that support a length.

Location: Definition / DataGrid. Control: Text column.

NumScale

Number of digits to the right of the decimal point.

Location: Definition / DataGrid. Control: Text column.

NumPrec

Total number of digits configured for a numeric value.

Location: Definition / DataGrid. Control: Text column.

Empty value

Value used for this field when historization adds an empty record for a missing source row.

Location: Definition / DataGrid. Control: Text column.

Definition

Variables

Location: Definition. Control: Table/grid.

Definition / Variables

Variable

Variable name used by this operation.

Location: Definition / Variables. Control: Text column.

Type

Data type of this operation variable.

Location: Definition / Variables. Control: Dropdown column.

Declared choices: String, Integer, Boolean.

Description

Descriptive documentation for this object or field; it is not an executable expression.

Location: Definition / Variables. Control: Text column with editor.

Expression

Expression evaluated to obtain the variable value.

Location: Definition / Variables. Control: Text column with editor.

Initial value

Initial value assigned to this variable before evaluating any configured expression.

Location: Definition / Variables. Control: Text column.

Filters

XAML illustration: Filters XAML illustration: Filters

General

Filters

Sets independent source and destination SQL predicates for change detection and missing-record detection.

Location: General. Control: Tab.

Filters

Detect new and changed data Filter for source table Please use [I] alias like [I].[ModifyDate]

SQL predicate on source rows used to detect new and changed records. Enter the condition without WHERE and qualify source columns with I.

Location: Filters. Control: SQL editor.

Detect new and changed data Filter for historicized table Please use [S] alias like [S].[ModifyDate]

SQL predicate restricting history rows considered during change detection. Use the S alias and omit WHERE.

Location: Filters. Control: SQL editor.

Detect deleted data Filter for source table Please use [I] alias like [I].[ModifyDate]

SQL predicate restricting source rows considered during missing-record detection. Use the I alias and omit WHERE.

Location: Filters. Control: SQL editor.

Detect deleted data Filter for historicized table Please use [S] alias like [S].[ModifyDate]

SQL predicate restricting history rows eligible for missing-record handling. Use the S alias and omit WHERE.

Location: Filters. Control: SQL editor.

Scripts

XAML illustration: Scripts XAML illustration: Scripts

General

Scripts

Edit SQL that runs before or after historization, and inspect its macro-expanded text.

Location: General. Control: Tab.

Scripts

Panel divider

Drag to resize the adjacent panels. This changes presentation, not stored data values.

Location: Scripts. Control: Panel divider.

Original

Show the original script with macro expressions unchanged.

Location: Scripts. Control: RadioButton.

Parsed

Show a read-only preview with macros expanded. Edit the Original version to change the script.

Location: Scripts. Control: RadioButton.

Original

Show the original script with macro expressions unchanged.

Location: Scripts. Control: RadioButton.

Parsed

Show a read-only preview with macros expanded. Edit the Original version to change the script.

Location: Scripts. Control: RadioButton.

PreScript

Script executed before the associated operation.

Location: Scripts. Control: SQL editor.

PostScript

Script executed after the associated operation.

Location: Scripts. Control: SQL editor.

Procedure

XAML illustration: Procedure XAML illustration: Procedure

General

Procedure

Inspect the stored procedure SQL. Automatic and manual procedure ownership determine how it is maintained.

Location: General. Control: Tab.

Procedure

Generated procedure SQL for this operation

Generated procedure SQL for this operation.

Location: Procedure. Control: SQL editor.

Special columns

XAML illustration: Special columns XAML illustration: Special columns

General

Special columns

Configure technical validity and optional surrogate-key links between history versions.

Location: General. Control: Tab.

Special columns

Column to store technical valid from date

Names the column storing the technical start of a version in bitemporal historization.

Location: Special columns. Control: Text field.

Column to store technical valid to date

Column name used for the technical end of a record version in bitemporal historization.

Location: Special columns. Control: Text field.

Column to store root surrogate key

Column storing the surrogate key of the first record in the history chain.

Location: Special columns. Control: Text field.

Column to store previous surrogate key

Column storing the surrogate key of the preceding history version.

Location: Special columns. Control: Text field.

Column to store next surrogate key

Column storing the surrogate key of the following history version.

Location: Special columns. Control: Text field.

CommandEffect
DefaultRestores the repository default for the technical start column in the editor. Save to apply the resulting definition.
DefaultRestores the repository default for the technical end column in the editor. Save to apply the resulting definition.
DefaultRestores the repository default for the root surrogate-key column in the editor. Save to apply the resulting definition.
DefaultRestores the repository default for the previous surrogate-key column in the editor. Save to apply the resulting definition.
DefaultRestores the repository default for the next surrogate-key column in the editor. Save to apply the resulting definition.

Options

XAML illustration: Options XAML illustration: Options

General

Options

Set optional SSIS data-flow and bulk-load overrides and the HASH JOIN option.

Location: General. Control: Tab.

Options

Rows per batch

Sets the requested maximum number of rows per SSIS data-flow buffer.

Location: Options. Control: Text field.

Requested SSIS data-flow buffer size in bytes

Requested SSIS data-flow buffer size in bytes.

Location: Options. Control: Text field.

Maximum number of rows committed together during fast-load insertion

Maximum number of rows committed together during fast-load insertion. Zero requests a single batch.

Location: Options. Control: Text field.

Preserve incoming NULL values instead of replacing them with destination column defaults during bulk loading

Preserve incoming NULL values instead of replacing them with destination column defaults during bulk loading.

Location: Options. Control: Checkbox or status indicator.

Preserve incoming identity values instead of generating new identity values at the destination

Preserve incoming identity values instead of generating new identity values at the destination.

Location: Options. Control: Checkbox or status indicator.

Request a table-level lock during bulk loading

Request a table-level lock during bulk loading.

Location: Options. Control: Checkbox or status indicator.

Check destination constraints during bulk loading

Check destination constraints during bulk loading.

Location: Options. Control: Checkbox or status indicator.

Expected number of rows per bulk-load batch, supplied as a loading hint

Expected number of rows per bulk-load batch, supplied as a loading hint.

Location: Options. Control: Text field.

CommandEffect
DefaultRestores the repository default for the SSIS maximum buffer rows in the editor. Save to apply the resulting definition.
DefaultRestores the repository default for the SSIS buffer size in the editor. Save to apply the resulting definition.
DefaultRestores the repository default for the maximum insert commit size in the editor. Save to apply the resulting definition.
DefaultRestores the repository default for the Keep NULLs option in the editor. Save to apply the resulting definition.
DefaultRestores the repository default for the Keep identity option in the editor. Save to apply the resulting definition.
DefaultRestores the repository default for the Table lock option in the editor. Save to apply the resulting definition.
DefaultRestores the repository default for the Check constraints option in the editor. Save to apply the resulting definition.
DefaultRestores the repository default for the Rows per batch hint in the editor. Save to apply the resulting definition.

Use HASH JOIN

Choose whether to use the configured default, force HASH JOIN, or omit the HASH JOIN hint in generated historization SQL.

Location: Options. Control: Dropdown.

Parsed scripts

XAML illustration: Parsed scripts XAML illustration: Parsed scripts

Scripts

PreScript

Read-only preview of the pre-script with macros expanded.

Location: Scripts. Control: SQL editor.

Initially hidden; runtime selection can change visibility. Declared read-only.

PostScript

Read-only preview of the post-script with macros expanded.

Location: Scripts. Control: SQL editor.

Initially hidden; runtime selection can change visibility. Declared read-only.

History behaviour

XAML illustration: History behaviour XAML illustration: History behaviour

History behaviour

Update Statistics

Update database statistics as part of this operation to help the query optimizer choose execution plans.

Location: History behaviour. Control: Checkbox or status indicator.

Use VAULT ID as PK

Use the VAULT ID hash key instead of the source primary key to match records during historization. Recommended for composite primary keys with multiple columns, where using a hash key may improve performance.

Location: History behaviour. Control: Checkbox or status indicator.

Insert only (no PK)

Append all source rows on every run without matching primary keys, checking for changes or closing existing history versions. Running again can insert the same data again.

Location: History behaviour. Control: Checkbox or status indicator.

Source is historicised

Use the history already present in the source, with the configured Valid from and Valid to expressions, instead of detecting changes from its current state.

Location: History behaviour. Control: Checkbox or status indicator.

Truncate historized table

Clear the historized target table when using existing source history.

Location: History behaviour. Control: Checkbox or status indicator.

Persist source

Materialize the source result in a temporary table before historization to improve performance and provide a stable source for processing.

Location: History behaviour. Control: Checkbox or status indicator.

Check source for duplicates

Check the source for duplicate keys before processing history.

Location: History behaviour. Control: Checkbox or status indicator.

Delete future history if it exists

Delete existing history versions whose Valid from is later than the new Valid from. This is useful when the historization date comes from source data and records arrive out of chronological order.

Location: History behaviour. Control: Checkbox or status indicator.

Validity dates

XAML illustration: Validity dates XAML illustration: Validity dates

Validity dates

Optional statements for calculating the validity period, usually the names of the date fields.

Location: Validity dates. Control: Group.

Validity dates / Optional statements for calculating the validity period, usually the names of the date fields.

ValidFrom new keys:

Expression used for Valid from when creating the initial history version.

Location: Validity dates / Optional statements for calculating the validity period, usually the names of the date fields.. Control: Text field.

ValidFrom existing keys:

Expression providing the historization date or source validity start.

Location: Validity dates / Optional statements for calculating the validity period, usually the names of the date fields.. Control: Text field.

ValidTo:

Expression providing the end of the source validity period.

Location: Validity dates / Optional statements for calculating the validity period, usually the names of the date fields.. Control: Text field.

Empty source

XAML illustration: Empty source XAML illustration: Empty source

Empty source

Continue

Continue historization when the source contains no rows.

Location: Empty source. Control: RadioButton.

Stop with error

Stop with an error when the source contains no rows.

Location: Empty source. Control: RadioButton.

Stop without error

Stop without reporting an error when the source contains no rows.

Location: Empty source. Control: RadioButton.

Missing sources

XAML illustration: Missing sources XAML illustration: Missing sources

Missing sources

Close

When a record is missing from the source, close its current history version by setting Valid to to the historization date.

Location: Missing sources. Control: RadioButton.

Do not close

Keep the current history version open even when the record is missing from the source.

Location: Missing sources. Control: RadioButton.

Add empty record

When a record is missing from the source, close its current history version and add a new version. Each column uses its configured empty value or the value from the version being closed, as specified in the columns grid.

Location: Missing sources. Control: RadioButton.

Procedure generation

XAML illustration: Procedure generation XAML illustration: Procedure generation

Procedure generation

Automatically created

Generate the historization procedure automatically from the configuration.

Location: Procedure generation. Control: RadioButton.

Manually created

Maintain the historization procedure manually in the Procedure editor.

Location: Procedure generation. Control: RadioButton.

Other controls

General

HISTORIZATION / DEFINITION

Shows the source and destination of this data-flow definition; these are context labels, not editable fields.

Location: General. Control: Data-flow header.

Cancel

Leaves this dialog or page through its close/navigation action. It does not undo actions already executed separately; follow any save prompt.

Location: General. Control: Button.

Save

Checks the Historization package and any mandatory empty-record values, saves the definition and requests procedure generation with execution disabled.

Location: General. Control: Button.

Package

Selects the package associated with this definition or reference endpoint. Choices are populated from repository metadata.

Location: General. Control: Dropdown.

The dropdown also accepts typed input.

Panel divider

Drag to resize the adjacent panels. This changes presentation, not stored data values.

Location: General. Control: Panel divider.

History behaviour

Choose how the load prepares, compares and validates input and whether it reuses existing history.

Location: General. Control: Expander.

Validity dates

Supply separate validity expressions for new keys and existing keys, and an end-date expression.

Location: General. Control: Expander.

Empty source

Choose how processing responds to an empty checked source.

Location: General. Control: Expander.

Missing sources

Choose what happens to a history version when its key is missing from the source.

Location: General. Control: Expander.

Procedure generation

Location: General. Control: Expander.

Scope

Options can depend on the selected object, its saved values and the current repository.

Search documentation