![]() | |
![]() |
| | Thread Tools | Display Modes |
#1
| |||
| |||
|
#2
| |||
| |||
|
|
have anyone done this before? appreciate some tips. My AMO code does create some aggegation elements in cube partition but I'm not sure it's enough. Is this code enough if I only want to set the percentage? ag = new AggregationDesign("ad"); ag.EstimatedPerformanceGain = 42; myMeasureGroup.AggregationDesigns.Add(ag); myPartition.Annotations.Add("AggregationPercent", "42"); myPartition.AggregationDesignID = "ad"; It does create cube with XML showing <AggregationDesign> with ID of "ad" and from <Partition> a link to this with AggregationDesignID>ad</AggregationDesignID>. What is different from the XMLA created by my AMO code and the XMLA made from me manually create aggregationdesign is that these things are missing in XMLA made by AMO code: the <EstimatedCount>2</EstimatedCount> in dimensions and EstimatedRows>2385</EstimatedRows> in <partition>. IS IT STILL OK? Partitions Partition ID>...</ID Name>...</Name Annotations Annotation Name>AggregationPercent</Name Value>42</Value /Annotation /Annotations Source xsi:type="DsvTableBinding" DataSourceViewID>...</DataSourceViewID TableID>...</TableID /Source StorageMode>Molap</StorageMode ProcessingMode>Regular</ProcessingMode ProactiveCaching SilenceInterval>-PT1S</SilenceInterval Latency>-PT1S</Latency SilenceOverrideInterval>-PT1S</SilenceOverrideInterval ForceRebuildInterval>-PT1S</ForceRebuildInterval Source xsi:type="ProactiveCachingInheritedBinding" / /ProactiveCaching AggregationDesignID>ad</AggregationDesignID /Partition /Partitions AggregationDesigns AggregationDesign ID>ad</ID Name>ad</Name Dimensions Dimension CubeDimensionID>currency</CubeDimensionID Attributes Attribute AttributeID>currency-KEY</AttributeID /Attribute Attribute AttributeID>Currency</AttributeID /Attribute /Attributes /Dimension (yes I have posted this to two news groups :-) |
#3
| |||
| |||
|
|
This code create an empty aggregationdesign without any aggregation stored in. changing the estimatedperformancegain value don't create 42% of aggregations. take a look at this sample: http://msdn2.microsoft.com/en-US/library/ms345091.aspx (the latest sample code design the aggregations) vagle (AT) hsr (DOT) no> wrote in message news:1163504292.215161.199280 (AT) m73g2000cwd (DOT) googlegroups.com... have anyone done this before? appreciate some tips. My AMO code does create some aggegation elements in cube partition but I'm not sure it's enough. Is this code enough if I only want to set the percentage? ag = new AggregationDesign("ad"); ag.EstimatedPerformanceGain = 42; myMeasureGroup.AggregationDesigns.Add(ag); myPartition.Annotations.Add("AggregationPercent", "42"); myPartition.AggregationDesignID = "ad"; It does create cube with XML showing <AggregationDesign> with ID of "ad" and from <Partition> a link to this with AggregationDesignID>ad</AggregationDesignID>. What is different from the XMLA created by my AMO code and the XMLA made from me manually create aggregationdesign is that these things are missing in XMLA made by AMO code: the <EstimatedCount>2</EstimatedCount> in dimensions and EstimatedRows>2385</EstimatedRows> in <partition>. IS IT STILL OK? Partitions Partition ID>...</ID Name>...</Name Annotations Annotation Name>AggregationPercent</Name Value>42</Value /Annotation /Annotations Source xsi:type="DsvTableBinding" DataSourceViewID>...</DataSourceViewID TableID>...</TableID /Source StorageMode>Molap</StorageMode ProcessingMode>Regular</ProcessingMode ProactiveCaching SilenceInterval>-PT1S</SilenceInterval Latency>-PT1S</Latency SilenceOverrideInterval>-PT1S</SilenceOverrideInterval ForceRebuildInterval>-PT1S</ForceRebuildInterval Source xsi:type="ProactiveCachingInheritedBinding" / /ProactiveCaching AggregationDesignID>ad</AggregationDesignID /Partition /Partitions AggregationDesigns AggregationDesign ID>ad</ID Name>ad</Name Dimensions Dimension CubeDimensionID>currency</CubeDimensionID Attributes Attribute AttributeID>currency-KEY</AttributeID /Attribute Attribute AttributeID>Currency</AttributeID /Attribute /Attributes /Dimension (yes I have posted this to two news groups :-) |
#4
| |||
| |||
|
|
I'm confused. If I do something like myPartition.Annotations.Add("AggregationPercent", "42") It shows up as Molap 42% and has a size of 173 KB (obviously nothing under rows). It looks like it's worked .. how do you tell if there are really aggregations present? Thanks "Jéjé" wrote: This code create an empty aggregationdesign without any aggregation stored in. changing the estimatedperformancegain value don't create 42% of aggregations. take a look at this sample: http://msdn2.microsoft.com/en-US/library/ms345091.aspx (the latest sample code design the aggregations) vagle (AT) hsr (DOT) no> wrote in message news:1163504292.215161.199280 (AT) m73g2000cwd (DOT) googlegroups.com... have anyone done this before? appreciate some tips. My AMO code does create some aggegation elements in cube partition but I'm not sure it's enough. Is this code enough if I only want to set the percentage? ag = new AggregationDesign("ad"); ag.EstimatedPerformanceGain = 42; myMeasureGroup.AggregationDesigns.Add(ag); myPartition.Annotations.Add("AggregationPercent", "42"); myPartition.AggregationDesignID = "ad"; It does create cube with XML showing <AggregationDesign> with ID of "ad" and from <Partition> a link to this with AggregationDesignID>ad</AggregationDesignID>. What is different from the XMLA created by my AMO code and the XMLA made from me manually create aggregationdesign is that these things are missing in XMLA made by AMO code: the <EstimatedCount>2</EstimatedCount> in dimensions and EstimatedRows>2385</EstimatedRows> in <partition>. IS IT STILL OK? Partitions Partition ID>...</ID Name>...</Name Annotations Annotation Name>AggregationPercent</Name Value>42</Value /Annotation /Annotations Source xsi:type="DsvTableBinding" DataSourceViewID>...</DataSourceViewID TableID>...</TableID /Source StorageMode>Molap</StorageMode ProcessingMode>Regular</ProcessingMode ProactiveCaching SilenceInterval>-PT1S</SilenceInterval Latency>-PT1S</Latency SilenceOverrideInterval>-PT1S</SilenceOverrideInterval ForceRebuildInterval>-PT1S</ForceRebuildInterval Source xsi:type="ProactiveCachingInheritedBinding" / /ProactiveCaching AggregationDesignID>ad</AggregationDesignID /Partition /Partitions AggregationDesigns AggregationDesign ID>ad</ID Name>ad</Name Dimensions Dimension CubeDimensionID>currency</CubeDimensionID Attributes Attribute AttributeID>currency-KEY</AttributeID /Attribute Attribute AttributeID>Currency</AttributeID /Attribute /Attributes /Dimension (yes I have posted this to two news groups :-) |
#5
| |||
| |||
|
|
have anyone done this before? appreciate some tips. My AMO code does create some aggegation elements in cube partition but I'm not sure it's enough. Is this code enough if I only want to set the percentage? ag = new AggregationDesign("ad"); ag.EstimatedPerformanceGain = 42; myMeasureGroup.AggregationDesigns.Add(ag); myPartition.Annotations.Add("AggregationPercent", "42"); myPartition.AggregationDesignID = "ad"; It does create cube with XML showing <AggregationDesign> with ID of "ad" and from <Partition> a link to this with AggregationDesignID>ad</AggregationDesignID>. What is different from the XMLA created by my AMO code and the XMLA made from me manually create aggregationdesign is that these things are missing in XMLA made by AMO code: the <EstimatedCount>2</EstimatedCount> in dimensions and EstimatedRows>2385</EstimatedRows> in <partition>. IS IT STILL OK? Partitions Partition ID>...</ID Name>...</Name Annotations Annotation Name>AggregationPercent</Name Value>42</Value /Annotation /Annotations Source xsi:type="DsvTableBinding" DataSourceViewID>...</DataSourceViewID TableID>...</TableID /Source StorageMode>Molap</StorageMode ProcessingMode>Regular</ProcessingMode ProactiveCaching SilenceInterval>-PT1S</SilenceInterval Latency>-PT1S</Latency SilenceOverrideInterval>-PT1S</SilenceOverrideInterval ForceRebuildInterval>-PT1S</ForceRebuildInterval Source xsi:type="ProactiveCachingInheritedBinding" / /ProactiveCaching AggregationDesignID>ad</AggregationDesignID /Partition /Partitions AggregationDesigns AggregationDesign ID>ad</ID Name>ad</Name Dimensions Dimension CubeDimensionID>currency</CubeDimensionID Attributes Attribute AttributeID>currency-KEY</AttributeID /Attribute Attribute AttributeID>Currency</AttributeID /Attribute /Attributes /Dimension (yes I have posted this to two news groups :-) |
#6
| |||
| |||
|
|
I'm actually working on a post about this. If you can hold off to Friday I'll have it done. |
#7
| |||
| |||
|
|
I'm actually working on a post about this. If you can hold off to Friday I'll have it done. |
#8
| |||
| |||
|
|
I'm actually working on a post about this. If you can hold off to Friday I'll have it done. vagle (AT) hsr (DOT) no> wrote in message news:1163504292.215161.199280 (AT) m73g2000cwd (DOT) googlegroups.com... have anyone done this before? appreciate some tips. My AMO code does create some aggegation elements in cube partition but I'm not sure it's enough. Is this code enough if I only want to set the percentage? ag = new AggregationDesign("ad"); ag.EstimatedPerformanceGain = 42; myMeasureGroup.AggregationDesigns.Add(ag); myPartition.Annotations.Add("AggregationPercent", "42"); myPartition.AggregationDesignID = "ad"; It does create cube with XML showing <AggregationDesign> with ID of "ad" and from <Partition> a link to this with AggregationDesignID>ad</AggregationDesignID>. What is different from the XMLA created by my AMO code and the XMLA made from me manually create aggregationdesign is that these things are missing in XMLA made by AMO code: the <EstimatedCount>2</EstimatedCount> in dimensions and EstimatedRows>2385</EstimatedRows> in <partition>. IS IT STILL OK? Partitions Partition ID>...</ID Name>...</Name Annotations Annotation Name>AggregationPercent</Name Value>42</Value /Annotation /Annotations Source xsi:type="DsvTableBinding" DataSourceViewID>...</DataSourceViewID TableID>...</TableID /Source StorageMode>Molap</StorageMode ProcessingMode>Regular</ProcessingMode ProactiveCaching SilenceInterval>-PT1S</SilenceInterval Latency>-PT1S</Latency SilenceOverrideInterval>-PT1S</SilenceOverrideInterval ForceRebuildInterval>-PT1S</ForceRebuildInterval Source xsi:type="ProactiveCachingInheritedBinding" / /ProactiveCaching AggregationDesignID>ad</AggregationDesignID /Partition /Partitions AggregationDesigns AggregationDesign ID>ad</ID Name>ad</Name Dimensions Dimension CubeDimensionID>currency</CubeDimensionID Attributes Attribute AttributeID>currency-KEY</AttributeID /Attribute Attribute AttributeID>Currency</AttributeID /Attribute /Attributes /Dimension (yes I have posted this to two news groups :-) |
![]() |
| Thread Tools | |
| Display Modes | |
| |