dbTalk Databases Forums  

ADOMD: Cell.FormattedValue is extremely slow

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


Discuss ADOMD: Cell.FormattedValue is extremely slow in the microsoft.public.sqlserver.olap forum.



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

Default ADOMD: Cell.FormattedValue is extremely slow - 12-06-2005 , 08:39 AM






I've been using ADOMD from C# for some time now after we determined
that ADOMD was generally faster than ADOMD.NET. I am running Analysis
Services 2000 SP4 connecting to a SQL Server 2000 SP4 database.

However, I've come across a particular query now that causes
Cell.FormattedValue to take about a 1/2 second. This may not seem like
a long time, but when I have about 20 rows to process, it is really
hurting performance. Cell.Value is equally slow. It turns out that in
ADOMD.NET, Cell.FormattedValue returns immediately.

I am using the general algorithm described in the MS KB article to
retrieve values from ADOMD using C#.
(http://support.microsoft.com/default...b;en-us;828279)

It was my understanding that the ICellset.Open() call is what actually
executed the query and would take time to complete. After that, I
expected that retrieving the values from the Cell (using the
FormattedValue and Value properties) would be instantaneous. However,
this does not appear to be the case. The documentation does not really
lend any clues that I can see as to why this might be happening.

What is Cell.FormattedValue doing in ADOMD that would cause it to take
so long in certain circumstances? I'm hoping that a better
understanding of what this property does would lead me to a better
performing algorithm for retrieving values from a Cellset. I would like
to continue using ADOMD if possible due to the perceived general
performance characteristics, as well as because it is a known quantity
at this point since I have been using it for quite a while.

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.