dbTalk Databases Forums  

Incremental Processing of a cube using VB code

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


Discuss Incremental Processing of a cube using VB code in the microsoft.public.sqlserver.olap forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
Sajith
 
Posts: n/a

Default Incremental Processing of a cube using VB code - 04-06-2005 , 05:29 AM






Hi,

As our cube database volume is big, we have created partitions in each cube.
Now we have around 18 partitions in each cube. One database have around 34
cubes. We have scheduled everything through DTS. It is taking around 3 hours
for a database.

I have read in one of the article that using DSO objects will make
processing fast. Please advice.

Also please tell me any link to article so that i can get the example VB
code for Incremental Processing of a partition using DSO objects.

Thanks in advance
With best regards
Sajith

Reply With Quote
  #2  
Old   
Arun
 
Posts: n/a

Default Re: Incremental Processing of a cube using VB code - 04-07-2005 , 04:27 AM






I haven't tested the performance between OLAP task and DSO. But I'm
sure both are the same, Anyway here is the code for incremental
update.]

sPartName = '<<name of partition>>'
Set dsoPartition = dsoCube.MDStores(sPartName)

Set dsoTmpPartition = dsoCube.MDStores.AddNew("~" &
sPartName)

dsoPartition.Clone dsoTmpPartition
dsoTmpPartition.SourceTableFilter = '<<set filter to fact
table>>'
dsoTmpPartition.Update

dsoTmpPartition.Process processFull

' dsoTmpPartition.SourceTableFilter = "" 'Uncomment if you
require
dsoTmpPartition.Update

dsoPartition.Merge "~" & sPartName


Regards,
Arun


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.