Tutorials
MSAS
Tutorial 46: MSAS: Optimization Tuning Part 1
Tutorial 46: MSAS: Optimization Tuning Part 1 - Page 2
Tutorial 46: MSAS: Optimization Tuning Part 1 - Page 3Cube storage Modes influence the degree to which cube query is impacted for the end user. Since in MOLAP storage, the data is copied onto the server and not stored in the relational database, the latter has no impact on the performance of the cube query. The query is faster as it draws its data from the multidimensional structures created and stored in the server independent of the relational database. In ROLAP and HOLAP storage the impact of the relational database performance is felt because, the data is drawn from the relational database itself. Therefore, the relational database performance tuning becomes important if ROLAP or HOLAP storage modes have been selected. Cold caches do not impact on MOLAP stored cubes but definitely impact upon ROLAP and HOLAP cubes. The latter exploit warm caches better even though their performance even with heavy caching is poor.
1. The Index tuning wizard recommends the best mix of indexes for a database, given a particular workload. For this purpose it uses the Query optimizer to analyze the queries in the workload.
2. The Wizard analyzes the effects of the proposed changes on the performance of queries.
3. It recommends ways to tune the database for a set of problems
4. It allows the user customize the recommendations by specifying advanced options such as disk space constraints.
The recommendations are SQL statements that can be executed to create new and more effective indexes or drop existing indexes.
However the Index Tuning Wizard does not give any recommendations on tables referenced by cross database queries that are not present in the current database; system tables and primary key constrains and unique indexes. The maximum number of tunable queries in a work load that are considered is only 32,767 queries. Any additional queries will be ignored. Any additional queries with quoted identifiers are also ignored. Since the Wizard gathers data by sampling method, successive executions of the same workload may result in variations in the indexes recommended and also improvements on previous recommendations. When saving the SQL script if the Index Tuning Wizard encounters an error such as lack of disk space, it does not give a message. The index tuning wizard consumes a lot of CPU and memory resources during analysis. Finally if the data in the tables being sampled are insufficient or there is no improvement that can be made to the index, the Wizard does not return any report.
Working with the Index Tuning Wizard
1. On the Enterprise Manager console window expand a server group,
2. Expand the server in which to create the index.
3. On the Tools menu, click Wizards.


4. Double-click Index Tuning Wizard.

Next Page: Tutorial 46: MSAS: Optimization Tuning Part 1 - Page 3