A fairly simple Excel query against the CRM periodically freezes the entire CRM system.
Approx. 1000 incident records
where owner equals a one of 10 teams and
where status reason equals one of five values.
Number of columns = 8, all from the incident entity.
Should not be a problem I would think :-/
My questions: Is are a threshold somewhere that breaks queries if they fail/timeout etc.?
MaxRecordsForExportToExcel is 20000
Version is 2013 SP1 UR3
Running the query in SQL Management studio is take 00:00:01 to return the 1068 records.
I found the below two blogs, each explaining how to increase performance, however, for the issue at hand, the entire CRM systems breaks!
Hope I have explained myself well enough for an answer to find my way.
Increasing the performance of Excel dynamic worksheets
blogs.msdn.com/.../increasing-the-performance-of-excel-dynamic-worksheets.aspx
community.dynamics.com/.../166624
The only possible quick workaround is to run the query as a System Administrator user since this by-passes any security checks on each row which often causes the slow performance in large databases.