Delete cubes, dimensions, and hierarchies
To efficiently maintain models and ensure that they contain only relevant structures, you can delete objects such as cubes, dimensions, and hierarchies and their related objects.
Caution: Deleting an object can result in potential data loss. Therefore, to prevent unintended deletions, confirmation dialog boxes and lists of affected objects or dependencies are displayed. Deleted objects are removed from the OLAP database when you publish the model. Deleted objects can't be recovered after publishing.
This table shows affected objects and tables when you delete an object:
| Action | Affected objects | Affected tables | Special cases |
|---|---|---|---|
| Delete a cube | These objects are deleted:
|
Objects that are related to these tables are deleted:
|
Caution: Deleting an access cube can affect data security and other cubes that are assigned to data security.
The option is disabled for system cubes such as TABACC, and implicit cubes such as DAC and simple MDAC cubes. |
| Delete a dimension | These objects are deleted:
|
Objects that are related to these tables are deleted:
|
If a dimension is used in a cube, dimension deletion is blocked until the dependencies are removed. A list of cubes that use the dimension is displayed.
Deletion of system and implicit dimensions is prevented. |
| Delete a hierarchy | All elements and subsets within a hierarchy are deleted. | Objects that are related to these tables are deleted:
|
If a deleted hierarchy is used in a perspective, the perspective becomes invalid. You must fix the perspective manually.
Deletion of system and implicit hierarchies is prevented. |