понедельник, 21 января 2019 г.

SSAS: Which change makes the cube/dimension unprocessed?

На многих проектах есть OLAP кубы с большим объемом данных, полная сборка которых занимает много времени. Поэтому важно понимать, какие изменения после обновления проекта приведут к состоянию Unprocessed и потребуют полной обработки куба. Статус обработки измерений также критичен, так как если измерение становится unprocessed, то и все кубы, в которых оно используется, тоже становятся unprocessed.



Основные правила: Изменение, затрагивающее данные, переводят куб или измерение в состояние unprocessed. Изменения структуры (новый элемент, редактирование метода агрегации и т. д.) потребуют загрузки или перезагрузки данных.

Исключение: добавление или изменение перевода приводит измерение в состояние unprocesses.

Список изменений:

Тип
Действие
Unprocess cube/dimension?
Cube
New measure group
Yes
Cube
New measure
Yes
Cube
Edit measure aggregation method
Yes
Cube
Measure format
No
Cube
Measure name
No
Cube
Measure display folder
No
Cube
ErrorConfiguration edition
No
Cube
Edit dimension usage
Yes
Cube
Calculations
No
Cube
Add, edit or delete kpi
No
Cube
Add, edit or delete action
No
Cube
Edit partition query
No, not applied till next process.
Cube
Add new partition
No, new partition unprocessed.
Cube
Edit partition storage mode
No, but data is empty.
Cube
Create,edit and assign aggregations
No, not applied till next process.
Cube
Add, edit or delete perspective
No
Cube
Add, edit or delete translation
No
Dim
Add attribute to dim
Yes
Dim
Edit attribute name
No
Dim
Order by property of attribute
Yes
Dim
AttributeHierarchyVisible property
No
Dim
Edit attribute relationship
Yes
Dim
Add or delete translation to dim
Yes
Dim
Edit translation
No
Other
Add, Edit, Delete Role
No
Other
Edit data source
No, not applied till next process.
Other
Edit DSV
No


Finally, 3 remarks:
·         BIDS Helper add-in gives you possibility to deploy MDX script or aggregations only, so you can be sure nothing else is affected.
·         Use Deployment Wizard tool when you want to deploy without overwriting Partitions or roles, in cases they were edited in the OLAP DB.
·         If your cube is down and you need to have one measure group/partition available without processing the entire cube (because of process long time), you can first process the cube with “Process structure” Process mode. It will move cube status to Processed but without any data. Then you can process the specific part you want and it will be available.

Комментариев нет:

Отправить комментарий