
180
LESSON 20 Administering the ssAs instAnce
To create aggregations using usage-based optimization you must first do a little setup in Management
Studio to capture your users’ queries. After connecting to your instance of Analysis Services inside
Management Studio, right-click the instance name and select Properties. The four properties you
should be concerned with are listed in Table 20-2 along with their descriptions.
TABLE 202
PROPERTY DESCRIPTION DEFAULT VALUE
Log\QueryLog\CreateQueryLog Table Determines whether the table is to
be created
False
Log\QueryLog\
QueryLogConnectionString
Connection string
Log\QueryLog\QueryLogSampling Number of queries to log (
10 means
every tenth query will be stored)
10
Log\QueryLog\QueryLogTableName Name of the table that will be
created
OLAPQueryLog
By changing these properties to create the log table you will be able to configure aggregations based
on actual user queries. On the Aggregations tab in the cube designer you can then configure usage-
based optimization as an aggregation design. Figure 20-5 shows the wizard and how you can con-
figure it to filter based on dates, users, or query frequency. The rest of the usage-based optimization
design is made in the same way as your initial design.
No matter which aggregation design you select, Analysis Services will allow you to merge a new
design into an existing design if you desire. This way you get the b ...