dbTalk Databases Forums  

Issue with a cube job hanging

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


Discuss Issue with a cube job hanging in the microsoft.public.sqlserver.olap forum.



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

Default Issue with a cube job hanging - 04-28-2005 , 12:38 PM






Yesterday we had our cube server go down and reboot. Every hour there's a
processing job which runs.

After the server was rebooted, the job which was running before the reboot
hung (the jobs are executed from a different server than the cube server)
and I had to manually restart it this morning.

Basically what we need to know is the last time the cube was processed (not
the job which does the processing).

Is there any way to query this besides going straight to the cube for a max
date/time? We want to sent up an alert every hour which checks to see if the
cube has been updated within last X hours.

Thanks!



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

Default Re: Issue with a cube job hanging - 04-28-2005 , 06:23 PM






Yes, there is a DSO property which will return date/time last processed.
However, it has been my experience that look at the date/time stamps on the
MOLAP files is just as useful.
--
Dave Wickert [MSFT]
dwickert (AT) online (DOT) microsoft.com
Program Manager
BI SystemsTeam
SQL BI Product Unit (Analysis Services)
--
This posting is provided "AS IS" with no warranties, and confers no rights.

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

Quote:
Yesterday we had our cube server go down and reboot. Every hour there's a
processing job which runs.

After the server was rebooted, the job which was running before the reboot
hung (the jobs are executed from a different server than the cube server)
and I had to manually restart it this morning.

Basically what we need to know is the last time the cube was processed
(not
the job which does the processing).

Is there any way to query this besides going straight to the cube for a
max
date/time? We want to sent up an alert every hour which checks to see if
the
cube has been updated within last X hours.

Thanks!





Reply With Quote
  #3  
Old   
Nin
 
Posts: n/a

Default Re: Issue with a cube job hanging - 04-29-2005 , 12:07 AM



Yes DSO or ADOMD can be used to find out the last process date and time
please check the code which is using ADOMD

Dim adomdcat As ADOMD.Catalog
Dim adomdcd As ADOMD.CubeDef
Dim strcn As String

Private Sub cmdProcess_Click()
Set adomdcat = New ADOMD.Catalog
strcn = "Data Source=" & txtServer & ";initial catalog=" & txtDatabase &
";provider=MSOLAP"
adomdcat.ActiveConnection = strcn
Set adomdcd = adomdcat.CubeDefs(txtCube.Text)

MsgBox adomdcd.Properties(6).Value
end sub


"Dave Wickert [MSFT]" wrote:

Quote:
Yes, there is a DSO property which will return date/time last processed.
However, it has been my experience that look at the date/time stamps on the
MOLAP files is just as useful.
--
Dave Wickert [MSFT]
dwickert (AT) online (DOT) microsoft.com
Program Manager
BI SystemsTeam
SQL BI Product Unit (Analysis Services)
--
This posting is provided "AS IS" with no warranties, and confers no rights.

"Jesse O" <jesperzz (AT) hotmail (DOT) com> wrote in message
news:exDKkkBTFHA.2096 (AT) TK2MSFTNGP14 (DOT) phx.gbl...
Yesterday we had our cube server go down and reboot. Every hour there's a
processing job which runs.

After the server was rebooted, the job which was running before the reboot
hung (the jobs are executed from a different server than the cube server)
and I had to manually restart it this morning.

Basically what we need to know is the last time the cube was processed
(not
the job which does the processing).

Is there any way to query this besides going straight to the cube for a
max
date/time? We want to sent up an alert every hour which checks to see if
the
cube has been updated within last X hours.

Thanks!






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.