dbTalk Databases Forums  

SSAS2005 - committing transactions

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


Discuss SSAS2005 - committing transactions in the microsoft.public.sqlserver.olap forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
Jesse O.
 
Posts: n/a

Default SSAS2005 - committing transactions - 07-12-2006 , 05:50 PM






We're using AMO to process our cubes and dimensions in SSAS2005.

We'll have a job that will run from five minutes to 13 hours depending on
how much data there is to process. If the job fails ten hours into it, the
transaction rolls back and we have to start from the beginning. This is NOT
what we want.

I'd like to avoid this. How can this be done in AMO?




Reply With Quote
  #2  
Old   
Jesse O.
 
Posts: n/a

Default Re: SSAS2005 - committing transactions - 07-18-2006 , 12:08 AM






anyone?

"Jesse O." <jesperzz (AT) hotmail (DOT) com> wrote

Quote:
We're using AMO to process our cubes and dimensions in SSAS2005.

We'll have a job that will run from five minutes to 13 hours depending on
how much data there is to process. If the job fails ten hours into it, the
transaction rolls back and we have to start from the beginning. This is
NOT what we want.

I'd like to avoid this. How can this be done in AMO?






Reply With Quote
  #3  
Old   
Jesse O.
 
Posts: n/a

Default Re: SSAS2005 - committing transactions - 07-18-2006 , 03:22 PM



For instance, this processes all the dimensions in the cube. If one of the
updates fail, they all rollback. I'd like to change it to allow each
successful process before the failure to committ.


For Each oDimension In objCube.Dimensions

Try

If strKeepProcessing = "False" Then Exit Sub

oDimension.Dimension.Process(ProcessType.ProcessUp date)

Catch

strKeepProcessing = "False"

End Try

Next oDimension





"Jesse O." <jesperzz (AT) hotmail (DOT) com> wrote

Quote:
anyone?

"Jesse O." <jesperzz (AT) hotmail (DOT) com> wrote in message
news:e1toJWgpGHA.1592 (AT) TK2MSFTNGP04 (DOT) phx.gbl...
We're using AMO to process our cubes and dimensions in SSAS2005.

We'll have a job that will run from five minutes to 13 hours depending on
how much data there is to process. If the job fails ten hours into it,
the transaction rolls back and we have to start from the beginning. This
is NOT what we want.

I'd like to avoid this. How can this be done in AMO?








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.