dbTalk Databases Forums  

Cube processin info

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


Discuss Cube processin info in the microsoft.public.sqlserver.olap forum.



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

Default Cube processin info - 02-18-2004 , 08:31 AM






When using AM to process cubes a lot of information is shown including :

1) Queries to build dimension
2) Queries to build cube
3) Running total of rows processe
4) On error a detailed description of the erro

I can generate 1 & 2 using DSO (although it would be nice to know how the table order is determined as this can have quite an impact on the query performance)

But as for 3 and 4 is it possible to get this information from DSO. For 4 in particular when we have a dimension which has been optimised out of the cube it is possible to get data integrity errors, I can't seem to pick these up when the process function returns.

Any suggestions

Thank

Naz

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

Default Re: Cube processin info - 02-18-2004 , 02:51 PM






I would suggest that you setup a server-wide processing log file (run AM,
right-click on the server and select "Properties..." -- then go to the
Logging tab. Then you can use some file-scanning software to look through it
and parse out what is happening. It is sometimes very difficult without
seeing the full-history and location of where an error is occurring. The
best you are going to get out of DSO is that an error occurred.
--
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.


"Naz" <anonymous (AT) discussions (DOT) microsoft.com> wrote

Quote:
When using AM to process cubes a lot of information is shown including :-

1) Queries to build dimensions
2) Queries to build cubes
3) Running total of rows processed
4) On error a detailed description of the error

I can generate 1 & 2 using DSO (although it would be nice to know how the
table order is determined as this can have quite an impact on the query
performance).
Quote:
But as for 3 and 4 is it possible to get this information from DSO. For 4
in particular when we have a dimension which has been optimised out of the
cube it is possible to get data integrity errors, I can't seem to pick these
up when the process function returns.
Quote:
Any suggestions ?

Thanks

Naz



Reply With Quote
  #3  
Old   
Sean Boon [MS]
 
Posts: n/a

Default Re: Cube processin info - 02-18-2004 , 02:53 PM



In order to get a running totals for the cube processing, your application
needs to support DSO events. There's an application that ships with the SQL
Server 2000 Resource Kit which includes source code and uses DSO events.
It's called the Parallel Process Utility.


--
Sean

--
Sean Boon
SQL Server BI Product Unit

--
This posting is provided "AS IS" with no warranties, and confers no rights.
Use of included script samples are subject to the terms specified at
http://www.microsoft.com/info/cpyright.htm.

"Naz" <anonymous (AT) discussions (DOT) microsoft.com> wrote

Quote:
When using AM to process cubes a lot of information is shown including :-

1) Queries to build dimensions
2) Queries to build cubes
3) Running total of rows processed
4) On error a detailed description of the error

I can generate 1 & 2 using DSO (although it would be nice to know how the
table order is determined as this can have quite an impact on the query
performance).
Quote:
But as for 3 and 4 is it possible to get this information from DSO. For 4
in particular when we have a dimension which has been optimised out of the
cube it is possible to get data integrity errors, I can't seem to pick these
up when the process function returns.
Quote:
Any suggestions ?

Thanks

Naz



Reply With Quote
  #4  
Old   
Naz
 
Posts: n/a

Default Re: Cube processin info - 02-19-2004 , 05:56 AM



Thanks for the Info Dave and Sean

One thing though Sean I haven't found any C# examples of DSO events. I can't quite get this setup. I'm most interested in the progress event. I have found the following delegate DSO.__Database_ReportProgressEventHandler and I have defined the following function :

public void ReportProgress(Object obj, int action, long cnt, string msg, bool cancel ) {

I would like to associate this with a DSO.CubeClass cube before calling

cube.Process()

Could someone point me in the right direction

Thank



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.