Attribute transaction logging
Attributes are a part of dimensions. Attributes are loaded and saved together with
dimension elements.
When an attribute value is entered it is stored only in memory as long as the dimension is not saved. This is like cell values that are only stored in memory if cube is not saved.
All specified attribute values are also written to an attribute transaction log. The name of this log file is <dimension name>.DRS. For example, PRODUCTS.DRS. It is used to restore attribute changes in the case a server was unable to save the dimension before shutting down.
The behavior of attribute transaction files is very similar to the cubes' transaction files (.TRS):
- When a dimension is loaded, the attribute values stored in the corresponding DRS file are loaded.
- When new attribute values are entered they are immediately written to the DRS file.
- After the dimension is successfully saved or released from memory the DRS file is deleted.