dbTalk Databases Forums  

MDX Query resultset contains extraneous data - XMLA / TCP/IP

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


Discuss MDX Query resultset contains extraneous data - XMLA / TCP/IP in the microsoft.public.sqlserver.olap forum.



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

Default MDX Query resultset contains extraneous data - XMLA / TCP/IP - 02-02-2006 , 01:56 AM






Hi,

I am using ADOMD.NET to connect to a datacube over TCP/IP and am
experiencing very poor performance.

The MDX query I am running returns a single measure, however it can
take up to 4 seconds to execute.

Upon inspection of the TCP/IP packets that my web server receives, I
notice that there is extraneous data in the result set. I get
information on dimensions that I didn't ask for, as I only asked for
one result.

Can anyone offer some advice as to why this is happening and what I can
do about it?


Reply With Quote
  #2  
Old   
Vladimir Chtepa
 
Posts: n/a

Default Re: MDX Query resultset contains extraneous data - XMLA / TCP/IP - 02-02-2006 , 02:30 PM






Hi,

What a MDX query do you run?
What version do you use AS2000 or AS2005?
What shows Profiler? (If you have the AS2005)

Vladimir Chtepa.

"jsco" <jenscobie (AT) gmail (DOT) com> wrote

Quote:
Hi,

I am using ADOMD.NET to connect to a datacube over TCP/IP and am
experiencing very poor performance.

The MDX query I am running returns a single measure, however it can
take up to 4 seconds to execute.

Upon inspection of the TCP/IP packets that my web server receives, I
notice that there is extraneous data in the result set. I get
information on dimensions that I didn't ask for, as I only asked for
one result.

Can anyone offer some advice as to why this is happening and what I can
do about it?




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

Default Re: MDX Query resultset contains extraneous data - XMLA / TCP/IP - 02-02-2006 , 04:02 PM



Hi,

I am using the following query:
SELECT {[Measures].Members} ON COLUMNS FROM AgencyListing WHERE
([Agency].[<id>]), which returns the one value. Similiarly, the cellset
that I create to read out the info only contains the one measure. It's
just the packets that contain extra information about the agency.

I am running AS2000, so I just used a packet sniffer to inspect the
messages I was receiving from my analysis server

Cheers,
Jen


Reply With Quote
  #4  
Old   
Jéjé
 
Posts: n/a

Default Re: MDX Query resultset contains extraneous data - XMLA / TCP/IP - 02-02-2006 , 07:49 PM



have you some calculated measures defined? (if yes, what are the formulas)
what is your connection string?
what is your client tool?


"jsco" <jenscobie (AT) gmail (DOT) com> wrote

Quote:
Hi,

I am using the following query:
SELECT {[Measures].Members} ON COLUMNS FROM AgencyListing WHERE
([Agency].[<id>]), which returns the one value. Similiarly, the cellset
that I create to read out the info only contains the one measure. It's
just the packets that contain extra information about the agency.

I am running AS2000, so I just used a packet sniffer to inspect the
messages I was receiving from my analysis server

Cheers,
Jen




Reply With Quote
  #5  
Old   
jsco
 
Posts: n/a

Default Re: MDX Query resultset contains extraneous data - XMLA / TCP/IP - 02-02-2006 , 08:03 PM



Hi,

I don't have any calculated measures defined at the moment.

Connection string is: Provider=MSOLAP.2;Client Cache Size=0;Data
Source=<server name>;Auto Synch Period=10000;Initial Catalog=<cube
name>;ConnectTo=8.0;Transport Compression=None;Protocol
Format=XML;Execution Location=3;Default Isolation Mode=1
Everything after Transport Compression was used to allow me to inspect
the information that my AS server sends to my web server.

I am using ADOMD.NET in a C# ASP.NET web application.

Cheers,
Jen


Reply With Quote
  #6  
Old   
Jéjé
 
Posts: n/a

Default Re: MDX Query resultset contains extraneous data - XMLA / TCP/IP - 02-02-2006 , 09:41 PM



have you try different connection string?
Like:
Provider=MSOLAP.2;Client Cache Size=25;Data Source=<server name>;Auto Synch
Period=10000;Initial Catalog=<cube name>;ConnectTo=8.0;Cache Policy=7

The Compression is not used when you access an AS2000 cube, this is an
AS2005 feature.

what's appends when the query is like this:
SELECT {[Measures].Members} ON COLUMNS ,
{[Agency].[<id>]} on rows
FROM AgencyListing



"jsco" <jenscobie (AT) gmail (DOT) com> wrote

Quote:
Hi,

I don't have any calculated measures defined at the moment.

Connection string is: Provider=MSOLAP.2;Client Cache Size=0;Data
Source=<server name>;Auto Synch Period=10000;Initial Catalog=<cube
name>;ConnectTo=8.0;Transport Compression=None;Protocol
Format=XML;Execution Location=3;Default Isolation Mode=1
Everything after Transport Compression was used to allow me to inspect
the information that my AS server sends to my web server.

I am using ADOMD.NET in a C# ASP.NET web application.

Cheers,
Jen




Reply With Quote
  #7  
Old   
jsco
 
Posts: n/a

Default Re: MDX Query resultset contains extraneous data - XMLA / TCP/IP - 02-02-2006 , 10:02 PM



I tried the new connection string, but it seems the addition of Cache
Policy=7 throws an exception:

Unable to recognize the requested property ID 'DbpropMsmdCachePolicy'.

I also tried the query you suggested, but still received extra
information.


Reply With Quote
  #8  
Old   
jsco
 
Posts: n/a

Default Re: MDX Query resultset contains extraneous data - XMLA / TCP/IP - 02-04-2006 , 10:51 PM



Has no one else had performance issues using adomd.net and connecting
to an analysis server over TCP/IP?


Reply With Quote
  #9  
Old   
Jéjé
 
Posts: n/a

Default Re: MDX Query resultset contains extraneous data - XMLA / TCP/IP - 02-05-2006 , 10:49 AM



normally over TCP/IP the performance is good.
over HTTP there is an overhead (which is going through IIS)

"jsco" <jenscobie (AT) gmail (DOT) com> wrote

Quote:
Has no one else had performance issues using adomd.net and connecting
to an analysis server over TCP/IP?




Reply With Quote
  #10  
Old   
jsco
 
Posts: n/a

Default Re: MDX Query resultset contains extraneous data - XMLA / TCP/IP - 02-07-2006 , 04:01 PM



Thanks for your help - I'm going to give reporting services a go


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.