COGNOiSe.com - The IBM Cognos Community

IBM Cognos 10 Platform => Cognos 10 BI => Report Studio => Topic started by: hawaii_desperado on 11 Jul 2013 06:35:11 PM

Title: Can caching be disabled for performance testing ?
Post by: hawaii_desperado on 11 Jul 2013 06:35:11 PM
I am working on determining the cause of a very slow report.   One problem I am finding is the report takes several minutes for the first run but is instant after the first run due to caching.  This makes it impossible to test changes I am making to improve the performance.  Is there a way to force the report to run without using any cached data?

I have tried Configuration->Query Service Caching->Clear Cache to no avail.
Title: Re: Can caching be disabled for performance testing ?
Post by: Lynn on 12 Jul 2013 06:59:43 AM
There is a property associated with a query called "Use Local Cache" which can be set to No.
Title: Re: Can caching be disabled for performance testing ?
Post by: longhorndkr on 07 Aug 2013 09:56:30 AM
Make sure in Report properties you have it set to Run report as well instead of just Viewing output...  you may not be able to get around the report being cached in your database datasource tho. . .