To configure the aggregation job for SQL Server CMSs, you need to run a database statement to set the required parameters to their new values. You then run a second statement to go live with these values so they are used in the next aggregation.
EXEC rut_dlp_set_aggregation_values @<parameter>[,@<parameter>]
Where @<parameter> defines the new value for an aggregation parameter. Each query can include multiple parameter definitions, separated by commas. If a parameter is not explicitly specified, it retains its current value. The exception is the purge_data parameter, which is implicitly set if you change the aggregation start date or timeslot length.
The example below resets the aggregation start date to 1 July and the timeslot length to 24 hours:
EXEC rut_dlp_set_aggregation_values @start_ts='2008-07-01 00:00:00', @granularity=1440,@purge_data=1
EXEC rut_dlp_set_new_values_live <n>
Where <n> uniquely identifies the new set of aggregation parameters. This number is not specified here because it can vary due to various factors.
You now need to run this go live statement (we recommend you simply copy it from the Output pane into the query pane). This ensures that the next time the aggregation process runs, it will use the new parameter values defined in step 1.
| Copyright © 2011 CA. All rights reserved. | Email CA Technologies about this topic |