dbTalk Databases Forums  

incremantal processing of cube from DTS

microsoft.public.sqlserver.olap microsoft.public.sqlserver.olap


Discuss incremantal processing of cube from DTS in the microsoft.public.sqlserver.olap forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
Ali [Xavor]
 
Posts: n/a

Default incremantal processing of cube from DTS - 04-05-2004 , 05:00 AM






I want to incrementally process the cube from my DTS script. I already have
a script, in which I have the following code:

if (processOption = 0) then ' 0 = full process

if DEBUGMODE Then MsgBox "Full process cube: " +
dsoCube.Name

dsoCube.Process 1 '
ProcessTypes.processFull = 1

else

' 1
= incremental process

dsoCube.Process 0

end if



Right now, am just refreshing the whole cube, since I cudn't find an option
in ProcessTypes to incrementally update the cube. Can anyone send me a code
snippet, which can illustrate incremental processing? Note that I cannot
purge my fact table, since I need to have drill through functionality as
well



Regards,

Ali



Reply With Quote
  #2  
Old   
Dave Wickert [MSFT]
 
Posts: n/a

Default Re: incremantal processing of cube from DTS - 04-05-2004 , 10:16 AM






There is no direct support for incremental partition processing in DSO. What
you have to do is to clone the partition to a temporary partition (name
starts with ~), modify it's properties (for example, adding a filter
clause), process the cloned partition, and then merge the two partitions
back together.

If you want to see an example of how to do it, look at the Parallel
Processing Utility source (in particular, look at the ProcessPartition.exe
source).
http://www.microsoft.com/downloads/d...DisplayLang=en

Hope that helps.
--
Dave Wickert [MS]
dwickert (AT) online (DOT) microsoft.com
Program Manager
BI Practices Team
SQL BI Product Unit (Analysis Services)
--
This posting is provided "AS IS" with no warranties, and confers no rights.


"Ali [Xavor]" <alishahzadbutt (AT) hotmail (DOT) com> wrote

Quote:
I want to incrementally process the cube from my DTS script. I already
have
a script, in which I have the following code:

if (processOption = 0) then ' 0 = full process

if DEBUGMODE Then MsgBox "Full process cube: " +
dsoCube.Name

dsoCube.Process 1 '
ProcessTypes.processFull = 1

else

'
1
= incremental process

dsoCube.Process 0

end if



Right now, am just refreshing the whole cube, since I cudn't find an
option
in ProcessTypes to incrementally update the cube. Can anyone send me a
code
snippet, which can illustrate incremental processing? Note that I cannot
purge my fact table, since I need to have drill through functionality as
well



Regards,

Ali





Reply With Quote
  #3  
Old   
Les McPhee
 
Posts: n/a

Default Re: incremantal processing of cube from DTS - 04-05-2004 , 11:33 PM



Why not just use the Incremental Update option of the AS Processing Task
available in DTS? Or am I missing something here?

Les M


"Dave Wickert [MSFT]" <dwickert (AT) online (DOT) microsoft.com> wrote in
news:#N67IIyGEHA.3788 (AT) TK2MSFTNGP09 (DOT) phx.gbl:

Quote:
There is no direct support for incremental partition processing in
DSO. What you have to do is to clone the partition to a temporary
partition (name starts with ~), modify it's properties (for example,
adding a filter clause), process the cloned partition, and then merge
the two partitions back together.

If you want to see an example of how to do it, look at the Parallel
Processing Utility source (in particular, look at the
ProcessPartition.exe source).
http://www.microsoft.com/downloads/d...a2eef773-6df7-
4688-8211-e02cf13cbdb4&DisplayLang=en

Hope that helps.


Reply With Quote
  #4  
Old   
Dave Wickert [MSFT]
 
Posts: n/a

Default Re: incremantal processing of cube from DTS - 04-12-2004 , 10:59 AM



You can, but it does the same thing under the covers that I mentioned in my
previous post -- it creates a temporary partition, does the incremental
process; then merges the partition.
--
Dave Wickert [MS]
dwickert (AT) online (DOT) microsoft.com
Program Manager
BI Practices Team
SQL BI Product Unit (Analysis Services)
--
This posting is provided "AS IS" with no warranties, and confers no rights.


"Les McPhee" <mcphee69 (AT) hotmail (DOT) com> wrote

Quote:
Why not just use the Incremental Update option of the AS Processing Task
available in DTS? Or am I missing something here?

Les M


"Dave Wickert [MSFT]" <dwickert (AT) online (DOT) microsoft.com> wrote in
news:#N67IIyGEHA.3788 (AT) TK2MSFTNGP09 (DOT) phx.gbl:

There is no direct support for incremental partition processing in
DSO. What you have to do is to clone the partition to a temporary
partition (name starts with ~), modify it's properties (for example,
adding a filter clause), process the cloned partition, and then merge
the two partitions back together.

If you want to see an example of how to do it, look at the Parallel
Processing Utility source (in particular, look at the
ProcessPartition.exe source).
http://www.microsoft.com/downloads/d...a2eef773-6df7-
4688-8211-e02cf13cbdb4&DisplayLang=en

Hope that helps.




Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.3
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.