Hello Folks,
I've started to write an AMO application to get information relevant to DBA's out of our SSAS databases.
I've successfully got the estimated sizes for Cubes, MeasureGroups and individual partitions nicely listed.
However, i'm having trouble because i can't seem to find a property of the Dimension object that will give me the size.
The reason i'm doing this is because i've read that you need to watch the size (and memory consumption) of these babies.
How do i do this in AMO? Or any other means!
Many thanks.
Kyle (DBA)
First, if you aren't already using the AMO browser, then you should start. It was designed for this purpose. Look for it in the Samples, by default located at:
C:\Program Files\Microsoft SQL Server\90\Samples\Analysis Services\Programmability\AMO\AmoBrowser
DImensions are buckets holding attributes. Dimensions themselves don't have sizes, attributes do. To figure out the # of members in a dimension, you need to navigate down to the key attribute of the dimension. The size of the *key* attribute is probably what you are looking for.
_-_-_ Dave
No comments:
Post a Comment