Enable Usage-Based Optimization in SSAS
Usage-Based Optimization is a fantastic feature in SSAS to improve the most frequently used MDX queries of any cube database. This feature is used to design aggregations based on actual user queries using Business Intelligence Development Studio. But when ever you try to design Usage-Based Optimization you might have seen all the options disabled. This uses the technique of creating aggregations on FREQUENTLY USED queries in the given time interval. We can enable the options in Usage-Based Optimization wizard.
- Connect to SSAS using SSMS (Sql Server Management Studio).
- Right click on the server and select properties as shown below.
- set CreateQueryLogTable to true.
- Set the value of QueryLogConnectionString to any database where you wish to store your queries.
- Set the value of QueryLogSampling to the appropriate value for your environment (the default value of 10 means every 10th query will be logged). The lower the value of this property, the higher the overhead of query logging will be on the system.
- Set the value of QueryLogTableName property to any TABLE NAME of your wish.
- Click OK.
This comment has been removed by the author.
ReplyDeletehttps://ak-pic.blogspot.com
ReplyDelete