Slices
A slice is a specific subset of cube data defined by a combination of dimension elements. Slices help the OLAP Manager identify and retrieve the most efficient portion of data for a query, improving performance when building views. Performance can be improved by balancing the number of records across slices. For example, if most slices have around 1,000 records but one slice has 500,000 records, it indicates a significant difference in dimensions and possibly missing slices.
To make a cube self-service ready, you must create slices that cover all possible dimension combinations. This ensures that when end-users build their views, the OLAP Manager selects the most efficient slice available.
Before creating slices, you must first create dimensions.
You must create a Master Slice that includes all dimensions in the cube. The OLAP Manager automatically marks the slice with the most dimensions as the Master.
You can refresh slice data at any time by clicking Refresh Screen Data in the Options panel.
Create a slice
Make the cube editable
- In the Administration page, select OLAP Manager from the sidebar.
- In the cube list, select the cube where you want to create slices.
- Clear the In Production checkbox.
- Click Save.
Add a slice
- In the Options panel on the right, click the Navigation icon.
- Select Slices.
- In the Options panel, click the Add Slice icon.
- Enter a description.
- Drag dimensions from Dimensions Available to Dimensions Selected.
- Click Save.
The order of dimensions in a slice determines the index creation order. Arrange dimensions logically to optimize performance.
Slice column
| Column | Description |
|---|---|
| Slice | Name of the slice. |
| Master | Indicator showing the Master slice that contains all dimensions. |
| Records | Number of records in the slice. |
| Dimensions | Number of dimensions included in the slice. |
| Parent | Slice that contains all dimensions of the current slice. The Master slice does not have a parent. |
Refresh data in a slice
The parent slice must be loaded before refreshing a child slice.
- In the slice list, select the slice you want to refresh.
- In the Options panel on the right, click the Actions icon.
- Select Refresh Slice Data.
- Select an environment.
- Click Confirm.
- In the confirmation dialog, select the confirmation option, and then click Yes. If the process takes too long or needs to be canceled, click Stop
Edit a slice
- In the slice list, select the slice you want to edit.
- In the Slice Properties dialog, make your changes.
- Click Save.
Delete a slice
- In the slice list, select the slice you want to delete.
- In the Options panel on the right, click the Actions icon.
- Select Delete Slice.
- In the confirmation dialog, select the confirmation option, and then click Yes.