Quantcast
Channel: SQL Server Analysis Services forum
Viewing all articles
Browse latest Browse all 14337

Excessive chatiness in Linked Server Query to Analysis Services

$
0
0

Hi,

I have set up a linked server to point at a SSAS instance exposed over http via msmdpump.dll.

I am running a very simple query , something like...

SELECT * FROM OPENQUERY(MyLinkedServer,'select [CATALOG_NAME] from $system.dbschema_catalogs')

However, this results in 25 requests and responses. The first 11 seem mostly extraneous chit chat, request 12 seems to be a test as to whether the query is supported (Execution mode = prepare), then request 14 - 25 seems to repeat the whole process all over again, this time with request 24 actually returning the results.

so the question is, how to reduce the preamble chit chat , and also the duplication. The same query run from a clr equivalent (using ADOMDCLient  takes just 2) , so there must be a way to reduce the chat to somewhere near that level?

I am happy to supply more detail as required.

regards,

Richard


Viewing all articles
Browse latest Browse all 14337