The NextAnalysisStep method of an object of ClassType clsPartitionAnalyzer adds a set of aggregations to the DesignedAggregations collection. It calculates the improved query performance and the storage requirements for the new aggregations.
bRet = object. NextAnalysisStep(PercentageBenefit As Double, AccumulatedSize As Double, AggregationsCount As Long)
bRet
This value is True if the method completed successfully, False otherwise.
object
The object of ClassType clsPartitionAnalyzer used to perform the analysis.
PercentageBenefit
The estimated percentage performance improvement that would be realized using the current collection of DesignedAggregations, as opposed to querying against the underlying fact table. This is an output parameter.
AccumulatedSize
The estimated hard disk storage requirements (in bytes) for the current collection of DesignedAggregations. This is an output parameter.
AggregationsCount
The number of aggregations contained in the current collection of DesignedAggregations. This is an output parameter.
NextAnalysisStep analyzes the schema of a partition and generates a collection of aggregations that improves query performance. You can run the analysis without constraints. If no constraints are specified, the analysis yields a generalized optimization. For more information, see AddGoalQuery and PrepareGoalQueries.