Schema

Overview

A Schema is a repository entity that groups tables and transformations within a data warehouse layer. Schemas define the database namespace, schema type, owning layer, and descriptive metadata used by generated warehouse objects.

Function

Use the Schema entity to maintain the logical areas of the warehouse, such as staging, persisted staging, transformation, core, and datamart schemas. Schemas are displayed below their layer in the navigation tree and are edited in a grid-based schema list page.

A schema stores its name, schema type, layer, optional database name, description, variable, and hash key. The schema name is unique in the repository, and the selected layer controls where the schema appears in the tree.

When schemas are saved, AnalyticsCreator checks that every schema has a layer assigned, saves the grid changes, and checks whether any schema-specific database named in the Database field must be created.

Access

Schemas can be opened from the DWH ribbon tab, from the Layers area of the repository navigation tree, or from a schema node context menu.

How to access

Navigation tree

Data warehouse -> Layers -> LAYER -> SCHEMA

Toolbar

DWH -> List -> Schemas

Diagram

SCHEMA tree item -> Set diagram filter or Add to diagram filter

Visual element

Schemas list page and schema nodes under each layer.

Screen overview

The Schemas list page contains the following visible fields and actions.

ID Property Description
1Search criteriaSearch area used to filter the schema grid.
2Filter textText field used by the search. Pressing Enter runs the same search as the Search button.
3SearchFilters schemas where the schema name, schema type ID, or description contains the entered text.
4Delete filterClears the search text and reloads the full schema list.
5NameSchema name stored as Schema_Name. The repository enforces unique schema names.
6SchemaTypeSchema type selection. The list is ordered by SchemaTypeID and displays the schema type description.
7LayerLayer selection. The list is ordered by layer sequence and displays the layer name.
8DatabaseOptional database name for schemas that use a separate database. The column is hidden in the grid but is part of the schema record.
9DescriptionEditable description for the schema. The editor supports multiline text, tab characters, and scrollbars.
10SaveValidates layer assignment, saves schema changes, checks optional database creation, and refreshes the page.
11CancelReturns to the previous page. If there are unsaved changes, AnalyticsCreator asks whether to save or cancel the navigation.

Schema types and defaults

  • The seeded schema types are IMP for Staging, HIST for Persisted staging, TRN for Transformation, DWH for Core, and DM for Datamart.
  • New repositories seed layers named Staging layer, Persisted staging layer, Transformation layer, Core layer, and Datamart layer.
  • Default schemas are created as IMP, STG, TRN, DWH, and STAR and assigned to the matching layer sequence.
  • If an existing schema has no layer, repository setup assigns it to the first layer by sequence.

Schema actions

  • List schemas opens the schema grid from the DWH ribbon or the Schemas node.
  • Add schema from a layer opens the same schema grid for schema maintenance.
  • Edit schema from a schema node opens the schema grid and selects the chosen schema row.
  • Set diagram filter and Add to diagram filter use the selected schema as a filter object for the architecture diagram.
  • Delete schema removes the selected schema after confirmation through the shared delete action.

Related topics