SSAS FAQ Management FAQ How can I prevent client submitting MDX queries to the Analysis Server 2005 that run too long
How can I prevent client submitting MDX queries to the Analysis Server 2005 that run too long
User Rating: / 2
PoorBest 
Written by Vidas Matelis   
Sunday, 29 April 2007 17:41

Q: How can I prevent client submitting queries to the Analysis Server that run too long?

A: Sometimes clients submit queries to SSAS server that uses a lot of resources. One of the things you can do is to add timeout parameter to the connection string and this way limit time query is allowed to run. After client receives timeout message, he/she could adjust query selections and re-submit smaller query. Timeout parameter is specified in seconds.

Example:

Provider=msolap.3;Datasource=MySSASServerName;Initial Catalog=MySSASDBName;Timeout=120

This query will timeout after 120 seconds.

 
Strategy Companion