Usage-Based Optimization Wizard F1 Help
The Usage-Based Optimization Wizard is similar in output to the Aggregation Design Wizard, and is used to design aggregations for a partition. However, the Usage-Based Optimization Wizard designs aggregations based on the specific usage patterns of queries recorded in the query log of an Analysis Services instance. Aggregations provide performance improvements by allowing Microsoft SQL Server Analysis Services to retrieve pre-calculated totals directly from cube storage instead of having to recalculate data from an underlying data source for each query.
To open the Usage-Based Optimization Wizard from within SQL Server Data Tools (SSDT), open the cube designer for an Analysis Services project, and then click the Aggregations tab. Click the Usage Based Optimization button in the toolbar.
To open the Usage-Based Optimization Wizard from within SQL Server Management Studio, connect to an Analysis Services database and then open the Cubes folder. Select a cube and then open the Measure Groups folder and expand the measure group that you want to modify. Right-click the Partitions folder and then select Usage Based Optimization.
To design these aggregations, you can use the Aggregation Design Wizard. This wizard guides you through the following steps:
Selecting standard or custom settings for the storage and caching options of a partition, measure group, or cube.
Providing estimated or actual counts for objects referenced by the partition, measure group, or cube.
Specifying aggregation options and limits to optimize the storage and query performance delivered by designed aggregations.
Saving and optionally processing the partition, measure group, or cube to generate the defined aggregations.
Analysis Services provides the Aggregation Design Wizard to design aggregations based on statistical analysis of the structure of the partition to deliver an aggregation design that can be limited by storage size or estimated performance gain. You can use the Aggregation Design Wizard to improve the overall performance of a partition, but the aggregation design is not targeted to the specific needs of your business users. The Usage-Based Optimization Wizard can provide an aggregation design targeted to these specific needs, but the wizard can do so only if the query log for the Analysis Services instance contains enough information to construct such queries.
Typically, both wizards are used together to improve performance both upon deployment and over time. The Aggregation Design Wizard should be used first, when the partition (or the cube or measure group containing the partition) is initially deployed, to provide an overall performance benefit. After a period of time during which you have recorded the queries of business users for the partition in the query log, you can then use the Usage-Based Optimization Wizard to further focus the aggregation design to better serve the performance and query requirements of your business users.
For information about configuring the query log, see Configuring the Analysis Services Query Log.