![]() | |
![]() |
| | Thread Tools | Display Modes |
#1
| |||
| |||
|
#2
| |||
| |||
|
|
We are using AMO to dynamically create measure group partitions. The cube and fact table are partitioned weekly and approx. 1mil rows are being inserted per day. On a daily basis, using another AMO script, we would like to only process incremental updates to the current/active partition (like we can do for dimensions using the Process Update option). This option is not available for partitions. Is the Process Incremental option available using AMO? If yes, can you send a code example, or can you recommend an alternative? |
#3
| |||
| |||
|
|
Definitely. It's available. Sample: YourPartitionName.Process(ProcessType.ProcessUpdat e) Is this what you're looking for? "SandyS" <SandyS (AT) discussions (DOT) microsoft.com> wrote in message news:7B7C424B-11BF-4D69-B3FF-095DAE215BA0 (AT) microsoft (DOT) com... We are using AMO to dynamically create measure group partitions. The cube and fact table are partitioned weekly and approx. 1mil rows are being inserted per day. On a daily basis, using another AMO script, we would like to only process incremental updates to the current/active partition (like we can do for dimensions using the Process Update option). This option is not available for partitions. Is the Process Incremental option available using AMO? If yes, can you send a code example, or can you recommend an alternative? |
#4
| |||
| |||
|
|
The ProcessType.ProcessUpdate option is not available for partitions (according to books on-line, and I tried it anyway and an error was raised saying the same). Also, in SSIS using the Analysis Services Processing Task, ProcessUpdate can not be selected when the object type is Partition. "Jesse O." wrote: Definitely. It's available. Sample: YourPartitionName.Process(ProcessType.ProcessUpdat e) Is this what you're looking for? "SandyS" <SandyS (AT) discussions (DOT) microsoft.com> wrote in message news:7B7C424B-11BF-4D69-B3FF-095DAE215BA0 (AT) microsoft (DOT) com... We are using AMO to dynamically create measure group partitions. The cube and fact table are partitioned weekly and approx. 1mil rows are being inserted per day. On a daily basis, using another AMO script, we would like to only process incremental updates to the current/active partition (like we can do for dimensions using the Process Update option). This option is not available for partitions. Is the Process Incremental option available using AMO? If yes, can you send a code example, or can you recommend an alternative? |
#5
| |||
| |||
|
|
My mistake. Have you tried processtype.processadd? "SandyS" <SandyS (AT) discussions (DOT) microsoft.com> wrote in message news:43C642DA-8435-49DA-AC69-3E3106266BBA (AT) microsoft (DOT) com... The ProcessType.ProcessUpdate option is not available for partitions (according to books on-line, and I tried it anyway and an error was raised saying the same). Also, in SSIS using the Analysis Services Processing Task, ProcessUpdate can not be selected when the object type is Partition. "Jesse O." wrote: Definitely. It's available. Sample: YourPartitionName.Process(ProcessType.ProcessUpdat e) Is this what you're looking for? "SandyS" <SandyS (AT) discussions (DOT) microsoft.com> wrote in message news:7B7C424B-11BF-4D69-B3FF-095DAE215BA0 (AT) microsoft (DOT) com... We are using AMO to dynamically create measure group partitions. The cube and fact table are partitioned weekly and approx. 1mil rows are being inserted per day. On a daily basis, using another AMO script, we would like to only process incremental updates to the current/active partition (like we can do for dimensions using the Process Update option). This option is not available for partitions. Is the Process Incremental option available using AMO? If yes, can you send a code example, or can you recommend an alternative? |
#6
| |||
| |||
|
|
You can also try processtype.processdefault. This detects if a process full is required or a process incremental. I've had one or two issues with this in the past but it might work for you. Rahil "Jesse O." wrote: My mistake. Have you tried processtype.processadd? "SandyS" <SandyS (AT) discussions (DOT) microsoft.com> wrote in message news:43C642DA-8435-49DA-AC69-3E3106266BBA (AT) microsoft (DOT) com... The ProcessType.ProcessUpdate option is not available for partitions (according to books on-line, and I tried it anyway and an error was raised saying the same). Also, in SSIS using the Analysis Services Processing Task, ProcessUpdate can not be selected when the object type is Partition. "Jesse O." wrote: Definitely. It's available. Sample: YourPartitionName.Process(ProcessType.ProcessUpdat e) Is this what you're looking for? "SandyS" <SandyS (AT) discussions (DOT) microsoft.com> wrote in message news:7B7C424B-11BF-4D69-B3FF-095DAE215BA0 (AT) microsoft (DOT) com... We are using AMO to dynamically create measure group partitions. The cube and fact table are partitioned weekly and approx. 1mil rows are being inserted per day. On a daily basis, using another AMO script, we would like to only process incremental updates to the current/active partition (like we can do for dimensions using the Process Update option). This option is not available for partitions. Is the Process Incremental option available using AMO? If yes, can you send a code example, or can you recommend an alternative? |
![]() |
| Thread Tools | |
| Display Modes | |
| |