_Dimensions
The _Dimensions table describes metadata relating to the dimensions such as name, description, data source, and dimension type. One row contains data at dimension level for one dimension.
A single hierarchy with the same name as the dimension can be loaded by specifying Param1 and Param2. If a single hierarchy with a different name is desired, or multiple hierarchies are desired then Param1 and Param2 in _Dimensions must be NULL and the hierarchies should be defined in _Hierarchies.
This table describes _Dimensions:
Column | Type | Description |
---|---|---|
DimensionName | String(50) | Name of the dimension |
DimensionDescription | String(150) | Description of the dimension |
SourceId | Integer | Data source of the dimension. This links to the SourceId key of the _Sources table which describes the details of the source. |
Param1 | Text | First parameter.
For |
Param2 | Text | Second parameter.
For |
DimensionType | Integer | Enumerator for
the ODBC type of the dimension.
|
DefaultElement | String(71) | If an element of a dimension is not specified, take it to be this one. NULL if there is no default element. If specified default element is not present in dimension, no default element property is created and a warning is issued in the log file. |
FlatView | Boolean | Flags if the view
of the hierarchy of the members of the dimension is flat or not.
|
InvertedHierarchy | Boolean | Flags if the
hierarchy of the member is displayed inverted.
|
AccessCube | String(50) | Name of the access cube of the dimension. NULL if the dimension has no access cube. |
LoadFlags | BigInteger | Flags controlling the
dimension load. The following powers of 2 flag the action indicated:
Combinations of these can be made adding their values together. The default value is 0. A NULL value is interpreted as 0. |
ExtendedProps | Text | The extended properties of the dimension expressed as an XML document string. NULL means the dimension has no extended properties. |
Comment | Text | User defined comment. |
General information
The rows of the _Dimensions table are read into memory. The rows are those for which there is a loading operation to carry out in the _Jobs table. These _Dimensions rows are linked from the _Jobs table through the JobObject column via DimensionName in the _Dimensions table.